diff --git a/.gitignore b/.gitignore index e76b28a..db5710a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,8 @@ /unpackage/ /.kiro/ node_modules +node-modules /.vscode/ +/node_modules/ +**/dist/ +**/node-modules/ diff --git a/backend/src/routes/qrcodeRoutes.js b/backend/src/routes/qrcodeRoutes.js index b849a0b..bdd494e 100644 --- a/backend/src/routes/qrcodeRoutes.js +++ b/backend/src/routes/qrcodeRoutes.js @@ -91,38 +91,62 @@ router.post('/miniprogram', authenticateUser, async (req, res) => { await user.update({ invitationCode }); } - // 获取 access_token - const accessToken = await getAccessToken(); + let dataUrl = ''; - // 调用微信API生成小程序码(使用 getUnlimited 接口,无数量限制) - const wxUrl = `https://api.weixin.qq.com/wxa/getwxacodeunlimit?access_token=${accessToken}`; - const wxResponse = await axios.post(wxUrl, { - scene: `inviteCode=${invitationCode}`, // scene 参数,最长32字符 - page: 'pages/index/index', // 必须是已发布的小程序页面 - width: width, - auto_color: false, - line_color: { r: 0, g: 0, b: 0 }, - is_hyaline: false - }, { - responseType: 'arraybuffer' // 返回的是图片二进制数据 - }); - - // 检查是否返回错误(错误时返回JSON) - const contentType = wxResponse.headers['content-type']; - if (contentType && contentType.includes('application/json')) { - const errorData = JSON.parse(wxResponse.data.toString()); - console.error('微信小程序码生成失败:', errorData); + // 开发环境:尝试生成小程序码,失败则返回邀请码信息供前端生成普通二维码 + try { + // 获取 access_token + const accessToken = await getAccessToken(); + + // 调用微信API生成小程序码(使用 getUnlimited 接口,无数量限制) + const wxUrl = `https://api.weixin.qq.com/wxa/getwxacodeunlimit?access_token=${accessToken}`; + const wxResponse = await axios.post(wxUrl, { + scene: `inviteCode=${invitationCode}`, // scene 参数,最长32字符 + page: 'pages/index/index', // 必须是已发布的小程序页面 + width: width, + auto_color: false, + line_color: { r: 0, g: 0, b: 0 }, + is_hyaline: false + }, { + responseType: 'arraybuffer' // 返回的是图片二进制数据 + }); + + // 检查是否返回错误(错误时返回JSON) + const contentType = wxResponse.headers['content-type']; + if (contentType && contentType.includes('application/json')) { + const errorData = JSON.parse(wxResponse.data.toString()); + console.error('微信小程序码生成失败:', errorData); + // 小程序未发布,返回邀请码让前端生成普通二维码 + return res.status(200).json({ + code: 0, + message: 'success', + data: { + invitationCode, + qrcodeUrl: null, // 无小程序码,前端使用普通二维码 + useLocalQrcode: true, // 标记使用本地二维码 + qrcodeContent: `/pages/index/index?inviteCode=${invitationCode}` + } + }); + } + + // 转换为 base64 + const base64Image = Buffer.from(wxResponse.data).toString('base64'); + dataUrl = `data:image/png;base64,${base64Image}`; + } catch (wxError) { + console.error('生成小程序码异常:', wxError.message); + // 返回邀请码让前端生成普通二维码 return res.status(200).json({ - code: 500, - message: errorData.errmsg || '生成小程序码失败', - data: null + code: 0, + message: 'success', + data: { + invitationCode, + qrcodeUrl: null, + useLocalQrcode: true, + qrcodeContent: `/pages/index/index?inviteCode=${invitationCode}` + } }); } - // 转换为 base64 - const base64Image = Buffer.from(wxResponse.data).toString('base64'); - const dataUrl = `data:image/png;base64,${base64Image}`; - return res.status(200).json({ code: 0, message: 'success', diff --git a/miniprogram/dist/build/h5/assets/AppServer.888fd24d.js b/miniprogram/dist/build/h5/assets/AppServer.888fd24d.js deleted file mode 100644 index bac4ab6..0000000 --- a/miniprogram/dist/build/h5/assets/AppServer.888fd24d.js +++ /dev/null @@ -1 +0,0 @@ -import{C as t,z as a,v as e,r as n,D as o,a6 as i,k as r}from"./index-a09151d6.js";var p=function(){},s={},l=t.API_BASE_URL;s.apiUrl_Auth_WechatLogin=l+"/api/v1/auth/wechat-login",s.apiUrl_Auth_RefreshToken=l+"/api/v1/auth/refresh-token",s.apiUrl_Auth_Logout=l+"/api/v1/auth/logout",s.apiUrl_User_GetProfile=l+"/api/v1/users/profile",s.apiUrl_User_UpdateProfile=l+"/api/v1/users/profile",s.apiUrl_User_SetLanguage=l+"/api/v1/users/language",s.apiUrl_Service_GetCategories=l+"/api/v1/categories",s.apiUrl_Service_GetServices=l+"/api/v1/services",s.apiUrl_Service_GetServiceByKey=l+"/api/v1/services",s.apiUrl_Appointment_Create=l+"/api/v1/appointments",s.apiUrl_Appointment_GetList=l+"/api/v1/appointments",s.apiUrl_Appointment_Stats=l+"/api/v1/appointments/stats",s.apiUrl_Appointment_GetById=l+"/api/v1/appointments",s.apiUrl_Appointment_Update=l+"/api/v1/appointments",s.apiUrl_Appointment_Cancel=l+"/api/v1/appointments",s.apiUrl_Notification_GetList=l+"/api/v1/notifications",s.apiUrl_Notification_UnreadCount=l+"/api/v1/notifications/unread-count",s.apiUrl_Notification_MarkAsRead=l+"/api/v1/notifications",s.apiUrl_Notification_MarkAllAsRead=l+"/api/v1/notifications/read-all",s.apiUrl_Notification_Delete=l+"/api/v1/notifications",s.apiUrl_Invitation_Generate=l+"/api/v1/invitations/generate",s.apiUrl_Invitation_GetStats=l+"/api/v1/invitations/stats",s.apiUrl_Invitation_GetRecords=l+"/api/v1/invitations/records",s.apiUrl_Commission_GetList=l+"/api/v1/commissions",s.apiUrl_Commission_GetStats=l+"/api/v1/commissions/stats",s.apiUrl_Withdrawal_Create=l+"/api/v1/withdrawals",s.apiUrl_Withdrawal_GetList=l+"/api/v1/withdrawals",s.apiUrl_Withdrawal_GetById=l+"/api/v1/withdrawals",s.apiUrl_Upload_Image=l+"/api/v1/upload/image",s.apiUrl_QRCode_GetMiniProgram=l+"/api/v1/qrcode/miniprogram",p.prototype.getPostFormBody=function(t){Object.assign({},t)},p.prototype.getSign=function(t){let e=[];for(let a in t)"sign"!=a&&e.push(a);e.sort();let n="";for(let a in e){let o=t[e[a]];(o||0==o)&&(n+=o)}let o="";try{let t=a("token");t&&(o=t.split(".")[2])}catch(i){o=""}return n+=o,md5(n)},p.prototype.postData=async function(t,o){let i="";try{const t=e();i=t&&t.globalData&&t.globalData.token?t.globalData.token:a("token")||""}catch(r){i=a("token")||""}return n({url:t,method:"POST",header:{"Content-Type":"application/json",Authorization:i},data:JSON.stringify(o)}).then(a=>(console.log(`post,url=${t},form=${JSON.stringify(o)},response=${a.data}`),a.data)).catch(t=>(console.error(t),t))},p.prototype.getData=async function(t,o){let i="";try{const t=e();i=t&&t.globalData&&t.globalData.token?t.globalData.token:a("token")||""}catch(s){i=a("token")||""}if(null!=o){var r=(p=o,Object.keys(p).map(t=>encodeURIComponent(t)+"="+encodeURIComponent(p[t])).join("&"));t.indexOf("?")>-1?t+="&"+r:t+="?"+r}var p;return n({url:t,method:"GET",header:{Authorization:i}}).then(a=>(console.log(`GET,url=${t},response=${JSON.stringify(a.data)}`),a.data)).catch(t=>(console.error(t),t))},p.prototype.putData=async function(t,o){let i="";try{const t=e();i=t&&t.globalData&&t.globalData.token?t.globalData.token:a("token")||""}catch(r){i=a("token")||""}return n({url:t,method:"PUT",header:{"Content-Type":"application/json",Authorization:i},data:JSON.stringify(o)}).then(a=>(console.log(`PUT,url=${t},form=${JSON.stringify(o)},response=${JSON.stringify(a.data)}`),a.data)).catch(t=>(console.error(t),t))},p.prototype.deleteData=async function(t){let o="";try{const t=e();o=t&&t.globalData&&t.globalData.token?t.globalData.token:a("token")||""}catch(i){o=a("token")||""}return n({url:t,method:"DELETE",header:{Authorization:o}}).then(a=>(console.log(`DELETE,url=${t},response=${JSON.stringify(a.data)}`),a.data)).catch(t=>(console.error(t),t))},p.prototype.WechatLogin=async function(t){var a=s.apiUrl_Auth_WechatLogin;return this.postData(a,{code:t}).then(t=>t)},p.prototype.RefreshToken=async function(t){var a=s.apiUrl_Auth_RefreshToken;return this.postData(a,{refreshToken:t}).then(t=>{if(t.success&&t.data&&t.data.token){const a="Bearer "+t.data.token;e().globalData.token=a,o("token",a)}return t})},p.prototype.Logout=async function(){var t=s.apiUrl_Auth_Logout;return this.postData(t,{}).then(t=>(e().globalData.token="",o("token",""),t))},p.prototype.GetUserProfile=async function(){var t=s.apiUrl_User_GetProfile;return this.getData(t).then(t=>t)},p.prototype.UpdateUserProfile=async function(t){var a=s.apiUrl_User_UpdateProfile;return this.putData(a,t).then(t=>t)},p.prototype.SetLanguage=async function(t){var a=s.apiUrl_User_SetLanguage;return this.putData(a,{language:t}).then(t=>t)},p.prototype.GetCategories=async function(t={}){var a=s.apiUrl_Service_GetCategories;return this.getData(a,t).then(t=>t)},p.prototype.GetServices=async function(t={}){var a=s.apiUrl_Service_GetServices;return this.getData(a,t).then(t=>t)},p.prototype.GetServiceByKey=async function(t,a){var e=s.apiUrl_Service_GetServiceByKey+"/"+t,n=a?{language:a}:null;return this.getData(e,n).then(t=>t)},p.prototype.CreateAppointment=async function(t){var a=s.apiUrl_Appointment_Create;return this.postData(a,t).then(t=>t)},p.prototype.GetAppointments=async function(t={}){var a=s.apiUrl_Appointment_GetList;return this.getData(a,t).then(t=>t)},p.prototype.GetAppointmentStats=async function(){var t=s.apiUrl_Appointment_Stats;return this.getData(t,{}).then(t=>t)},p.prototype.GetAppointmentById=async function(t){var a=s.apiUrl_Appointment_GetById+"/"+t;return this.getData(a).then(t=>t)},p.prototype.UpdateAppointment=async function(t,a){var e=s.apiUrl_Appointment_Update+"/"+t;return this.putData(e,a).then(t=>t)},p.prototype.CancelAppointment=async function(t){var a=s.apiUrl_Appointment_Cancel+"/"+t;return this.deleteData(a).then(t=>t)},p.prototype.GetNotifications=async function(t={}){var a=s.apiUrl_Notification_GetList;return this.getData(a,t).then(t=>t)},p.prototype.GetNotificationUnreadCount=async function(){var t=s.apiUrl_Notification_UnreadCount;return this.getData(t,{}).then(t=>t)},p.prototype.MarkNotificationAsRead=async function(t){var a=s.apiUrl_Notification_MarkAsRead+"/"+t+"/read";return this.putData(a,{}).then(t=>t)},p.prototype.MarkAllNotificationsAsRead=async function(){var t=s.apiUrl_Notification_MarkAllAsRead;return this.putData(t,{}).then(t=>t)},p.prototype.DeleteNotification=async function(t){var a=s.apiUrl_Notification_Delete+"/"+t;return this.deleteData(a).then(t=>t)},p.prototype.GenerateInvitationCode=async function(){var t=s.apiUrl_Invitation_Generate;return this.postData(t,{}).then(t=>t)},p.prototype.GetInvitationStats=async function(){var t=s.apiUrl_Invitation_GetStats;return this.getData(t).then(t=>t)},p.prototype.GetInvitationRecords=async function(){var t=s.apiUrl_Invitation_GetRecords;return this.getData(t).then(t=>t)},p.prototype.GetCommissions=async function(t={}){var a=s.apiUrl_Commission_GetList;return this.getData(a,t).then(t=>t)},p.prototype.GetCommissionStats=async function(){var t=s.apiUrl_Commission_GetStats;return this.getData(t).then(t=>t)},p.prototype.CreateWithdrawal=async function(t){var a=s.apiUrl_Withdrawal_Create;return this.postData(a,t).then(t=>t)},p.prototype.GetWithdrawals=async function(t={}){var a=s.apiUrl_Withdrawal_GetList;return this.getData(a,t).then(t=>t)},p.prototype.GetWithdrawalById=async function(t){var a=s.apiUrl_Withdrawal_GetById+"/"+t;return this.getData(a).then(t=>t)},p.prototype.GetMiniProgramQRCode=async function(t={}){var a=s.apiUrl_QRCode_GetMiniProgram;return this.postData(a,t).then(t=>t)},p.prototype.UploadImage=async function(t){var n=s.apiUrl_Upload_Image;let o="";try{const t=e();o=t&&t.globalData&&t.globalData.token?t.globalData.token:a("token")||""}catch(r){o=a("token")||""}return new Promise((a,e)=>{i({url:n,filePath:t,name:"image",header:{Authorization:o},success:t=>{try{const e=JSON.parse(t.data);console.log("Upload image success:",e),a(e)}catch(r){console.error("Parse upload response error:",r),e(r)}},fail:t=>{console.error("Upload image failed:",t),e(t)}})})},p.prototype.GetPlatformIsAndroid=function(){let t=r().platform;switch(t){case"android":return console.log("运行Android上",t),!0;case"ios":return console.log("运行iOS上",t),!1;default:return console.log("运行在开发者工具上"),!1}};export{p as A}; diff --git a/miniprogram/dist/build/h5/assets/about-us-page-f7aed867.css b/miniprogram/dist/build/h5/assets/about-us-page-f7aed867.css deleted file mode 100644 index a02f327..0000000 --- a/miniprogram/dist/build/h5/assets/about-us-page-f7aed867.css +++ /dev/null @@ -1 +0,0 @@ -.page[data-v-b9c450e3]{min-height:100vh;background-color:#f3f4f8}.navbar[data-v-b9c450e3]{width:100%;padding-top:3.125rem;padding-bottom:.625rem;display:flex;flex-direction:row;align-items:center;justify-content:center;position:relative}.navbar .nav-back[data-v-b9c450e3]{position:absolute;left:1rem;width:2.5rem;height:1.5625rem;display:flex;align-items:center;justify-content:center}.navbar .nav-back .back-icon[data-v-b9c450e3]{width:1.5rem;height:1.5rem}.navbar .nav-title[data-v-b9c450e3]{font-size:1.0625rem;font-weight:500;color:#333}.logo-container[data-v-b9c450e3]{display:flex;flex-direction:column;align-items:center;padding:2.5rem .9375rem 1.25rem}.logo-container .logo-box[data-v-b9c450e3]{width:9.375rem;height:9.375rem;background-color:#fff;border-radius:.625rem;display:flex;align-items:center;justify-content:center;box-shadow:0 .125rem .625rem rgba(0,0,0,.08)}.logo-container .logo-box .logo-image[data-v-b9c450e3]{width:8.125rem;height:8.125rem}.logo-container .logo-box .logo-placeholder[data-v-b9c450e3]{font-size:1.5rem;color:#ccc}.logo-container .version-text[data-v-b9c450e3]{margin-top:.9375rem;font-size:1rem;color:#333;font-weight:500}.logo-container .version-number[data-v-b9c450e3]{margin-top:.3125rem;font-size:.8125rem;color:#999}.about-image-container[data-v-b9c450e3]{padding:.625rem .9375rem}.about-image-container .about-image[data-v-b9c450e3]{width:100%;border-radius:.5rem} diff --git a/miniprogram/dist/build/h5/assets/air-logistics-page-d1e8e514.css b/miniprogram/dist/build/h5/assets/air-logistics-page-d1e8e514.css deleted file mode 100644 index 3d6c8f3..0000000 --- a/miniprogram/dist/build/h5/assets/air-logistics-page-d1e8e514.css +++ /dev/null @@ -1 +0,0 @@ -.page[data-v-b194a86f]{min-height:100vh;background-color:#f3f3f3}.header[data-v-b194a86f]{display:flex;flex-direction:row;align-items:center;justify-content:space-between;width:100%;padding-top:2.75rem;padding-bottom:.625rem;background-color:#f3f3f3;position:fixed;top:0;left:0;z-index:100}.scroll-content[data-v-b194a86f]{padding-top:4.375rem;background-color:#f3f3f3;min-height:100vh}.content[data-v-b194a86f]{display:flex;flex-direction:column;align-items:center;background-color:#f3f3f3;min-height:100%}@keyframes flash-b194a86f{0%{background-color:#f3f3f3}50%{background-color:#f66}to{background-color:#f3f3f3}}.flash-animation[data-v-b194a86f]{animation:flash-b194a86f .5s ease-in-out 3} diff --git a/miniprogram/dist/build/h5/assets/airfare-info-entry-page-c7398c8d.css b/miniprogram/dist/build/h5/assets/airfare-info-entry-page-c7398c8d.css deleted file mode 100644 index 11a8732..0000000 --- a/miniprogram/dist/build/h5/assets/airfare-info-entry-page-c7398c8d.css +++ /dev/null @@ -1 +0,0 @@ -.page[data-v-f8d84083]{min-height:100vh;background-color:#f3f3f3}.header[data-v-f8d84083]{display:flex;flex-direction:row;align-items:center;justify-content:space-between;width:100%;padding-top:2.75rem;padding-bottom:.625rem;background-color:#f3f3f3;position:fixed;top:0;left:0;z-index:100}.scroll-content[data-v-f8d84083]{padding-top:4.375rem;background-color:#f3f3f3;min-height:100vh}.content[data-v-f8d84083]{display:flex;flex-direction:column;align-items:center;background-color:#f3f3f3;min-height:100%}.date-item[data-v-f8d84083]{display:flex;flex-direction:row;align-items:center;justify-content:space-between;width:100%;height:2.5rem;padding:0 .3125rem;box-sizing:border-box}.date-text[data-v-f8d84083]{font-size:.875rem;color:#333}.date-placeholder[data-v-f8d84083]{color:#c0c4cc}@keyframes flash-f8d84083{0%{background-color:#f3f3f3}50%{background-color:#f66}to{background-color:#f3f3f3}}.flash-animation[data-v-f8d84083]{animation:flash-f8d84083 .5s ease-in-out 3}.person-row[data-v-f8d84083]{display:flex;flex-direction:row;align-items:center;justify-content:space-between;width:100%;padding:.625rem .3125rem}.person-info[data-v-f8d84083]{display:flex;flex-direction:column}.person-title[data-v-f8d84083]{font-size:.875rem;color:#333;font-weight:500}.person-desc[data-v-f8d84083]{font-size:.75rem;color:#999;margin-top:.1875rem}.person-counter[data-v-f8d84083]{display:flex;flex-direction:row;align-items:center}.counter-btn[data-v-f8d84083]{width:1.5625rem;height:1.5625rem;display:flex;align-items:center;justify-content:center;background-color:#bfbfbf;border-radius:.25rem}.counter-icon[data-v-f8d84083]{font-size:.875rem;font-weight:700;line-height:1.5625rem;text-align:center;color:#fff}.counter-value[data-v-f8d84083]{font-size:.875rem;color:#333;min-width:2.5rem;text-align:center} diff --git a/miniprogram/dist/build/h5/assets/airport-transfer-page-b711a928.css b/miniprogram/dist/build/h5/assets/airport-transfer-page-b711a928.css deleted file mode 100644 index dfd35a8..0000000 --- a/miniprogram/dist/build/h5/assets/airport-transfer-page-b711a928.css +++ /dev/null @@ -1 +0,0 @@ -.page[data-v-95af1012]{min-height:100vh;background-color:#f3f3f3}.header[data-v-95af1012]{display:flex;flex-direction:row;align-items:center;justify-content:space-between;width:100%;padding-top:2.75rem;padding-bottom:.625rem;background-color:#f3f3f3;position:fixed;top:0;left:0;z-index:100}.scroll-content[data-v-95af1012]{padding-top:4.375rem;background-color:#f3f3f3;min-height:100vh}.content[data-v-95af1012]{display:flex;flex-direction:column;align-items:center;background-color:#f3f3f3;min-height:100%}.date-item[data-v-95af1012]{display:flex;flex-direction:row;align-items:center;justify-content:space-between;width:100%;height:2.5rem;padding:0 .3125rem;box-sizing:border-box}.date-text[data-v-95af1012]{font-size:.875rem;color:#333}.date-placeholder[data-v-95af1012]{color:#c0c4cc}@keyframes flash-95af1012{0%{background-color:#f3f3f3}50%{background-color:#f66}to{background-color:#f3f3f3}}.flash-animation[data-v-95af1012]{animation:flash-95af1012 .5s ease-in-out 3}.counter-row[data-v-95af1012]{display:flex;flex-direction:row;align-items:center;padding:.625rem .3125rem}.counter-btn[data-v-95af1012]{width:1.5625rem;height:1.5625rem;display:flex;align-items:center;justify-content:center;background-color:#bfbfbf;border-radius:.25rem}.counter-icon[data-v-95af1012]{font-size:.875rem;font-weight:700;line-height:1.5625rem;text-align:center;color:#fff}.counter-value[data-v-95af1012]{font-size:.875rem;color:#333;min-width:2.5rem;text-align:center} diff --git a/miniprogram/dist/build/h5/assets/appointment-page-74908b41.css b/miniprogram/dist/build/h5/assets/appointment-page-74908b41.css deleted file mode 100644 index 3f48acf..0000000 --- a/miniprogram/dist/build/h5/assets/appointment-page-74908b41.css +++ /dev/null @@ -1 +0,0 @@ -.content[data-v-d074112a]{display:flex;height:100vh;background-color:#f3f4f8;flex-direction:column;overflow:hidden}.header-title[data-v-d074112a]{width:100%;margin-top:3.75rem;font-size:.9375rem;text-align:center}.divider[data-v-d074112a]{width:100%;height:.0625rem;background-color:#e0e0e0;margin-top:1rem}.divider-vertical[data-v-d074112a]{width:.0625rem;background-color:#e0e0e0}.main-container[data-v-d074112a]{display:flex;flex-direction:row;flex:1;height:calc(100vh - 4.8125rem);overflow:hidden}.category-sidebar[data-v-d074112a]{display:flex;flex-direction:column;width:6.8125rem;min-width:6.8125rem;background-color:#f7f7f7;overflow-y:auto}.category-item[data-v-d074112a]{display:flex;flex-direction:row;align-items:center;justify-content:center;width:100%;min-height:2.75rem;padding:.5rem .375rem;position:relative;background:#F7F7F7;color:#000;transition:all .3s ease;box-sizing:border-box}.category-item-active[data-v-d074112a]{background:linear-gradient(to right,#E5FBFF,#77F6F4);color:#00a0bc}.category-indicator[data-v-d074112a]{width:.1875rem;height:.9375rem;border-radius:.625rem;background-color:#00a0bc;position:absolute;left:.375rem}.category-text[data-v-d074112a]{font-size:.875rem;text-align:center;word-break:break-word;line-height:1.4;flex:1}.service-list[data-v-d074112a]{display:flex;flex-direction:column;flex:1;overflow-y:auto;padding-bottom:2.5rem}.loading-container[data-v-d074112a],.empty-container[data-v-d074112a]{display:flex;align-items:center;justify-content:center;padding:3.125rem 0;width:100%}.loading-text[data-v-d074112a],.empty-text[data-v-d074112a]{font-size:.875rem;color:#999}.service-items[data-v-d074112a]{display:flex;flex-direction:column;width:100%}.service-item[data-v-d074112a]{display:flex;flex-direction:column;width:14.625rem;margin:1.25rem auto 0;cursor:pointer;transition:transform .2s}.service-item[data-v-d074112a]:active{transform:scale(.98)}.service-image-wrapper[data-v-d074112a]{width:100%;height:5.625rem;border-radius:.3125rem;overflow:hidden;background-color:#f0f0f0}.service-image[data-v-d074112a]{width:100%;height:100%}.service-image-placeholder[data-v-d074112a]{width:100%;height:100%;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#e0e0e0 0%,#f5f5f5 100%)}.placeholder-icon[data-v-d074112a]{font-size:1.875rem;opacity:.5}.service-title[data-v-d074112a]{font-size:.875rem;margin-top:.375rem;color:#333;font-weight:500} diff --git a/miniprogram/dist/build/h5/assets/arrow_down.807172e3.js b/miniprogram/dist/build/h5/assets/arrow_down.807172e3.js deleted file mode 100644 index 3699895..0000000 --- a/miniprogram/dist/build/h5/assets/arrow_down.807172e3.js +++ /dev/null @@ -1 +0,0 @@ -const o="/static/arrow_down.png";export{o as _}; diff --git a/miniprogram/dist/build/h5/assets/arrow_right2.8bd5bd0f.js b/miniprogram/dist/build/h5/assets/arrow_right2.8bd5bd0f.js deleted file mode 100644 index 92193e3..0000000 --- a/miniprogram/dist/build/h5/assets/arrow_right2.8bd5bd0f.js +++ /dev/null @@ -1 +0,0 @@ -const t="/static/arrow_right2.png";export{t as _}; diff --git a/miniprogram/dist/build/h5/assets/aure-country-picker-e6f92922.css b/miniprogram/dist/build/h5/assets/aure-country-picker-e6f92922.css deleted file mode 100644 index 9ccdd35..0000000 --- a/miniprogram/dist/build/h5/assets/aure-country-picker-e6f92922.css +++ /dev/null @@ -1 +0,0 @@ -.picker-display[data-v-4ff0715a]{display:flex;align-items:center;padding:.625rem 1rem;border-radius:.375rem;background:#fff;cursor:pointer}.flag[data-v-4ff0715a]{width:1.125rem;margin-right:.375rem}.code[data-v-4ff0715a]{font-size:.875rem}.arrow[data-v-4ff0715a]{margin-left:auto;color:#bbb;font-size:.9375rem}.popup-mask[data-v-4ff0715a]{position:fixed;z-index:9999;left:0;right:0;top:0;bottom:0;background:rgba(0,0,0,.45);display:flex;align-items:flex-end;justify-content:center}.popup-panel[data-v-4ff0715a]{background:#fff;box-shadow:0 -.25rem 1rem rgba(0,0,0,.1);display:flex;flex-direction:column;overflow:hidden;transform:translateY(100%);opacity:1}.popup-panel--bottom[data-v-4ff0715a]{position:relative}.popup-panel--bottom.popup-panel--show[data-v-4ff0715a]{transform:translateY(0)}.popup-panel--top[data-v-4ff0715a]{position:absolute;top:0;left:0;transform:translateY(-100%)}.popup-panel--top.popup-panel--show[data-v-4ff0715a]{transform:translateY(0)}.popup-panel--left[data-v-4ff0715a]{position:absolute;left:0;top:0;height:100vh;width:80vw;transform:translate(-100%)}.popup-panel--left.popup-panel--show[data-v-4ff0715a]{transform:translate(0)}.popup-panel--right[data-v-4ff0715a]{position:absolute;right:0;top:0;height:100vh;width:80vw;transform:translate(100%)}.popup-panel--right.popup-panel--show[data-v-4ff0715a]{transform:translate(0)}.popup-header[data-v-4ff0715a]{height:3.125rem;display:flex;align-items:center;justify-content:space-between;padding:0 1rem;border-bottom:.03125rem solid #eee;font-size:.875rem}.title[data-v-4ff0715a]{font-size:.875rem}.cancel[data-v-4ff0715a]{color:#222;font-size:.875rem}.popup-search[data-v-4ff0715a]{padding:.625rem 1rem;background:#fafafa}.search-input[data-v-4ff0715a]{height:2.125rem;padding:0 .625rem;border-radius:.375rem;font-size:.875rem;background:#eeeeee;border:none;outline:none}.popup-list[data-v-4ff0715a]{flex:1;min-height:0;background:#fff}.popup-item[data-v-4ff0715a]{display:flex;align-items:center;padding:.75rem 1rem;border-bottom:.03125rem solid #f4f4f4;font-size:.9375rem;cursor:pointer}.safe-area-bottom-height[data-v-4ff0715a]{height:env(safe-area-inset-bottom)}.popup-item .flag[data-v-4ff0715a]{width:1.5rem;margin-right:.5625rem}.popup-item .name[data-v-4ff0715a]{flex:1;font-size:.875rem;color:#222}.popup-item .code[data-v-4ff0715a]{color:#222;font-size:.875rem} diff --git a/miniprogram/dist/build/h5/assets/aure-country-picker.01cea584.js b/miniprogram/dist/build/h5/assets/aure-country-picker.01cea584.js deleted file mode 100644 index 78777b7..0000000 --- a/miniprogram/dist/build/h5/assets/aure-country-picker.01cea584.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as a,o as e,b as o,e as l,w as d,c,B as i,f as n,t as m,A as t,a1 as r,x as s,a5 as N,F as u,d as _,g as h,h as S,i as p,a2 as g,T as C}from"./index-a09151d6.js";const M=[{name:"Afghanistan",localName:"افغانستان",dial_code:"93",code:"AF"},{name:"Albania",localName:"Shqipëri",dial_code:"355",code:"AL"},{name:"Algeria",localName:"الجزائر",dial_code:"213",code:"DZ"},{name:"American Samoa",localName:"American Samoa",dial_code:"1684",code:"AS"},{name:"Andorra",localName:"Andorra",dial_code:"376",code:"AD"},{name:"Angola",localName:"Angola",dial_code:"244",code:"AO"},{name:"Anguilla",localName:"Anguilla",dial_code:"1264",code:"AI"},{name:"Antigua and Barbuda",localName:"Antigua and Barbuda",dial_code:"1268",code:"AG"},{name:"Argentina",localName:"Argentina",dial_code:"54",code:"AR"},{name:"Armenia",localName:"Հայաստան",dial_code:"374",code:"AM"},{name:"Aruba",localName:"Aruba",dial_code:"297",code:"AW"},{name:"Australia",localName:"Australia",dial_code:"61",code:"AU"},{name:"Austria",localName:"Österreich",dial_code:"43",code:"AT"},{name:"Azerbaijan",localName:"Azərbaycan",dial_code:"994",code:"AZ"},{name:"Bahamas",localName:"Bahamas",dial_code:"1242",code:"BS"},{name:"Bahrain",localName:"البحرين‎",dial_code:"973",code:"BH"},{name:"Bangladesh",localName:"বাংলাদেশ",dial_code:"880",code:"BD"},{name:"Barbados",localName:"Barbados",dial_code:"1246",code:"BB"},{name:"Belarus",localName:"Беларусь",dial_code:"375",code:"BY"},{name:"Belgium",localName:"België/Belgique/Belgien",dial_code:"32",code:"BE"},{name:"Belize",localName:"Belize",dial_code:"501",code:"BZ"},{name:"Benin",localName:"Bénin",dial_code:"229",code:"BJ"},{name:"Bermuda",localName:"Bermuda",dial_code:"1441",code:"BM"},{name:"Bhutan",localName:"འབྲུག",dial_code:"975",code:"BT"},{name:"Bolivia",localName:"Bolivia",dial_code:"591",code:"BO"},{name:"Bosnia and Herzegovina",localName:"Bosna i Hercegovina",dial_code:"387",code:"BA"},{name:"Botswana",localName:"Botswana",dial_code:"267",code:"BW"},{name:"Brazil",localName:"Brasil",dial_code:"55",code:"BR"},{name:"British Virgin Islands",localName:"British Virgin Islands",dial_code:"1284",code:"VG"},{name:"Brunei",localName:"بروني",dial_code:"673",code:"BN"},{name:"Bulgaria",localName:"България",dial_code:"359",code:"BG"},{name:"Burkina Faso",localName:"Burkina Faso",dial_code:"226",code:"BF"},{name:"Burundi",localName:"Uburundi",dial_code:"257",code:"BI"},{name:"Cabo Verde",localName:"Cabo Verde",dial_code:"238",code:"CV"},{name:"Cambodia",localName:"កម្ពុជា",dial_code:"855",code:"KH"},{name:"Cameroon",localName:"Cameroun",dial_code:"237",code:"CM"},{name:"Canada",localName:"Canada",dial_code:"1",code:"CA"},{name:"Cayman Islands",localName:"Cayman Islands",dial_code:"1345",code:"KY"},{name:"Central African Republic",localName:"République centrafricaine",dial_code:"236",code:"CF"},{name:"Chad",localName:"Tchad",dial_code:"235",code:"TD"},{name:"Chile",localName:"Chile",dial_code:"56",code:"CL"},{name:"China",localName:"中国",dial_code:"86",code:"CN"},{name:"Colombia",localName:"Colombia",dial_code:"57",code:"CO"},{name:"Comoros",localName:"جزر القمر",dial_code:"269",code:"KM"},{name:"Congo",localName:"Congo",dial_code:"242",code:"CG"},{name:"Congo (DRC)",localName:"République démocratique du Congo",dial_code:"243",code:"CD"},{name:"Cook Islands",localName:"Kūki 'Āirani",dial_code:"682",code:"CK"},{name:"Costa Rica",localName:"Costa Rica",dial_code:"506",code:"CR"},{name:"Croatia",localName:"Hrvatska",dial_code:"385",code:"HR"},{name:"Cuba",localName:"Cuba",dial_code:"53",code:"CU"},{name:"Curaçao",localName:"Curaçao",dial_code:"599",code:"CW"},{name:"Cyprus",localName:"Κύπρος",dial_code:"357",code:"CY"},{name:"Czechia",localName:"Česko",dial_code:"420",code:"CZ"},{name:"Denmark",localName:"Danmark",dial_code:"45",code:"DK"},{name:"Djibouti",localName:"جيبوتي",dial_code:"253",code:"DJ"},{name:"Dominica",localName:"Dominica",dial_code:"1767",code:"DM"},{name:"Dominican Republic",localName:"República Dominicana",dial_code:"1809",code:"DO"},{name:"Dominican Republic",localName:"República Dominicana",dial_code:"1829",code:"DO"},{name:"Dominican Republic",localName:"República Dominicana",dial_code:"1849",code:"DO"},{name:"Ecuador",localName:"Ecuador",dial_code:"593",code:"EC"},{name:"Egypt",localName:"مصر",dial_code:"20",code:"EG"},{name:"El Salvador",localName:"El Salvador",dial_code:"503",code:"SV"},{name:"Equatorial Guinea",localName:"Guinea Ecuatorial",dial_code:"240",code:"GQ"},{name:"Eritrea",localName:"ኤርትራ",dial_code:"291",code:"ER"},{name:"Estonia",localName:"Eesti",dial_code:"372",code:"EE"},{name:"Eswatini",localName:"Eswatini",dial_code:"268",code:"SZ"},{name:"Ethiopia",localName:"ኢትዮጵያ",dial_code:"251",code:"ET"},{name:"Fiji",localName:"Fiji",dial_code:"679",code:"FJ"},{name:"Finland",localName:"Suomi",dial_code:"358",code:"FI"},{name:"France",localName:"France",dial_code:"33",code:"FR"},{name:"French Guiana",localName:"Guyane française",dial_code:"594",code:"GF"},{name:"French Polynesia",localName:"Polynésie française",dial_code:"689",code:"PF"},{name:"Gabon",localName:"Gabon",dial_code:"241",code:"GA"},{name:"Gambia",localName:"Gambia",dial_code:"220",code:"GM"},{name:"Georgia",localName:"საქართველო",dial_code:"995",code:"GE"},{name:"Germany",localName:"Deutschland",dial_code:"49",code:"DE"},{name:"Ghana",localName:"Ghana",dial_code:"233",code:"GH"},{name:"Gibraltar",localName:"Gibraltar",dial_code:"350",code:"GI"},{name:"Greece",localName:"Ελλάδα",dial_code:"30",code:"GR"},{name:"Greenland",localName:"Kalaallit Nunaat",dial_code:"299",code:"GL"},{name:"Grenada",localName:"Grenada",dial_code:"1473",code:"GD"},{name:"Guadeloupe",localName:"Guadeloupe",dial_code:"590",code:"GP"},{name:"Guam",localName:"Guam",dial_code:"1671",code:"GU"},{name:"Guatemala",localName:"Guatemala",dial_code:"502",code:"GT"},{name:"Guernsey",localName:"Guernsey",dial_code:"441481",code:"GG"},{name:"Guinea",localName:"Guinée",dial_code:"224",code:"GN"},{name:"Guinea-Bissau",localName:"Guiné-Bissau",dial_code:"245",code:"GW"},{name:"Guyana",localName:"Guyana",dial_code:"592",code:"GY"},{name:"Haiti",localName:"Haïti",dial_code:"509",code:"HT"},{name:"Honduras",localName:"Honduras",dial_code:"504",code:"HN"},{name:"Hong Kong SAR China",localName:"中國香港",dial_code:"852",code:"HK"},{name:"Hungary",localName:"Magyarország",dial_code:"36",code:"HU"},{name:"Iceland",localName:"Ísland",dial_code:"354",code:"IS"},{name:"India",localName:"भारत",dial_code:"91",code:"IN"},{name:"Indonesia",localName:"Indonesia",dial_code:"62",code:"ID"},{name:"Iran",localName:"ایران‎",dial_code:"98",code:"IR"},{name:"Iraq",localName:"العراق",dial_code:"964",code:"IQ"},{name:"Ireland",localName:"Éire",dial_code:"353",code:"IE"},{name:"Isle of Man",localName:"Isle of Man",dial_code:"441624",code:"IM"},{name:"Israel",localName:"יִשְׂרָאֵל‎",dial_code:"972",code:"IL"},{name:"Italy",localName:"Italia",dial_code:"39",code:"IT"},{name:"Jamaica",localName:"Jamaica",dial_code:"1876",code:"JM"},{name:"Japan",localName:"日本",dial_code:"81",code:"JP"},{name:"Jersey",localName:"Jersey",dial_code:"441534",code:"JE"},{name:"Jordan",localName:"الأردن",dial_code:"962",code:"JO"},{name:"Kazakhstan",localName:"Қазақстан",dial_code:"7",code:"KZ"},{name:"Kenya",localName:"Kenya",dial_code:"254",code:"KE"},{name:"Kiribati",localName:"Kiribati",dial_code:"686",code:"KI"},{name:"Korea, Republic of",localName:"대한민국",dial_code:"82",code:"KR"},{name:"Kosovo",localName:"Kosovë",dial_code:"383",code:"XK"},{name:"Kuwait",localName:"الكويت‎",dial_code:"965",code:"KW"},{name:"Kyrgyzstan",localName:"Кыргызстан",dial_code:"996",code:"KG"},{name:"Laos",localName:"ລາວ",dial_code:"856",code:"LA"},{name:"Latvia",localName:"Latvija",dial_code:"371",code:"LV"},{name:"Lebanon",localName:"لبنان",dial_code:"961",code:"LB"},{name:"Lesotho",localName:"Lesotho",dial_code:"266",code:"LS"},{name:"Liberia",localName:"Liberia",dial_code:"231",code:"LR"},{name:"Libya",localName:"ليبيا‎",dial_code:"218",code:"LY"},{name:"Liechtenstein",localName:"Liechtenstein",dial_code:"423",code:"LI"},{name:"Lithuania",localName:"Lietuva",dial_code:"370",code:"LT"},{name:"Luxembourg",localName:"Lëtzebuerg",dial_code:"352",code:"LU"},{name:"Macau SAR China",localName:"中國澳門",dial_code:"853",code:"MO"},{name:"Madagascar",localName:"Madagasikara",dial_code:"261",code:"MG"},{name:"Malawi",localName:"Malawi",dial_code:"265",code:"MW"},{name:"Malaysia",localName:"Malaysia",dial_code:"60",code:"MY"},{name:"Maldives",localName:"ދިވެހި",dial_code:"960",code:"MV"},{name:"Mali",localName:"Mali",dial_code:"223",code:"ML"},{name:"Malta",localName:"Malta",dial_code:"356",code:"MT"},{name:"Marshall Islands",localName:"Aolepān Aorōkin M̧ajeļ",dial_code:"692",code:"MH"},{name:"Martinique",localName:"Martinique",dial_code:"596",code:"MQ"},{name:"Mauritania",localName:"موريتانيا",dial_code:"222",code:"MR"},{name:"Mauritius",localName:"Maurice",dial_code:"230",code:"MU"},{name:"Mayotte",localName:"Mayotte",dial_code:"262",code:"YT"},{name:"Mexico",localName:"México",dial_code:"52",code:"MX"},{name:"Micronesia",localName:"Micronesia",dial_code:"691",code:"FM"},{name:"Moldova",localName:"Moldova",dial_code:"373",code:"MD"},{name:"Monaco",localName:"Monaco",dial_code:"377",code:"MC"},{name:"Mongolia",localName:"Монгол Улс",dial_code:"976",code:"MN"},{name:"Montenegro",localName:"Crna Gora",dial_code:"382",code:"ME"},{name:"Montserrat",localName:"Montserrat",dial_code:"1664",code:"MS"},{name:"Morocco",localName:"المغرب",dial_code:"212",code:"MA"},{name:"Mozambique",localName:"Moçambique",dial_code:"258",code:"MZ"},{name:"Myanmar",localName:"မြန်မာ",dial_code:"95",code:"MM"},{name:"Namibia",localName:"Namibia",dial_code:"264",code:"NA"},{name:"Nauru",localName:"Nauru",dial_code:"674",code:"NR"},{name:"Nepal",localName:"नेपाल",dial_code:"977",code:"NP"},{name:"Netherlands",localName:"Nederland",dial_code:"31",code:"NL"},{name:"New Caledonia",localName:"Nouvelle-Calédonie",dial_code:"687",code:"NC"},{name:"New Zealand",localName:"New Zealand",dial_code:"64",code:"NZ"},{name:"Nicaragua",localName:"Nicaragua",dial_code:"505",code:"NI"},{name:"Niger",localName:"Niger",dial_code:"227",code:"NE"},{name:"Nigeria",localName:"Nigeria",dial_code:"234",code:"NG"},{name:"Niue",localName:"Niuē",dial_code:"683",code:"NU"},{name:"Norfolk Island",localName:"Norfolk Island",dial_code:"672",code:"NF"},{name:"North Macedonia",localName:"Северна Македонија",dial_code:"389",code:"MK"},{name:"Northern Mariana Islands",localName:"Northern Mariana Islands",dial_code:"1670",code:"MP"},{name:"Norway",localName:"Norge",dial_code:"47",code:"NO"},{name:"Oman",localName:"عُمان‎",dial_code:"968",code:"OM"},{name:"Pakistan",localName:"پاکستان",dial_code:"92",code:"PK"},{name:"Palau",localName:"Belau",dial_code:"680",code:"PW"},{name:"Palestine",localName:"فلسطين‎",dial_code:"970",code:"PS"},{name:"Panama",localName:"Panamá",dial_code:"507",code:"PA"},{name:"Papua New Guinea",localName:"Papua New Guinea",dial_code:"675",code:"PG"},{name:"Paraguay",localName:"Paraguay",dial_code:"595",code:"PY"},{name:"Peru",localName:"Perú",dial_code:"51",code:"PE"},{name:"Philippines",localName:"Pilipinas",dial_code:"63",code:"PH"},{name:"Poland",localName:"Polska",dial_code:"48",code:"PL"},{name:"Portugal",localName:"Portugal",dial_code:"351",code:"PT"},{name:"Puerto Rico",localName:"Puerto Rico",dial_code:"1787",code:"PR"},{name:"Puerto Rico",localName:"Puerto Rico",dial_code:"1939",code:"PR"},{name:"Qatar",localName:"قطر",dial_code:"974",code:"QA"},{name:"Romania",localName:"România",dial_code:"40",code:"RO"},{name:"Russia",localName:"Россия",dial_code:"7",code:"RU"},{name:"Rwanda",localName:"Rwanda",dial_code:"250",code:"RW"},{name:"Saint Barthélemy",localName:"Saint-Barthélemy",dial_code:"590",code:"BL"},{name:"Saint Helena",localName:"Saint Helena",dial_code:"290",code:"SH"},{name:"Saint Kitts and Nevis",localName:"Saint Kitts and Nevis",dial_code:"1869",code:"KN"},{name:"Saint Lucia",localName:"Saint Lucia",dial_code:"1758",code:"LC"},{name:"Saint Martin",localName:"Saint-Martin",dial_code:"590",code:"MF"},{name:"Saint Pierre and Miquelon",localName:"Saint-Pierre-et-Miquelon",dial_code:"508",code:"PM"},{name:"Saint Vincent and the Grenadines",localName:"Saint Vincent and the Grenadines",dial_code:"1784",code:"VC"},{name:"Samoa",localName:"Samoa",dial_code:"685",code:"WS"},{name:"San Marino",localName:"San Marino",dial_code:"378",code:"SM"},{name:"Sao Tome and Principe",localName:"São Tomé e Príncipe",dial_code:"239",code:"ST"},{name:"Saudi Arabia",localName:"المملكة العربية السعودية‎",dial_code:"966",code:"SA"},{name:"Senegal",localName:"Sénégal",dial_code:"221",code:"SN"},{name:"Serbia",localName:"Србија",dial_code:"381",code:"RS"},{name:"Seychelles",localName:"Seychelles",dial_code:"248",code:"SC"},{name:"Sierra Leone",localName:"Sierra Leone",dial_code:"232",code:"SL"},{name:"Singapore",localName:"Singapore",dial_code:"65",code:"SG"},{name:"Sint Maarten",localName:"Sint Maarten",dial_code:"1721",code:"SX"},{name:"Slovakia",localName:"Slovensko",dial_code:"421",code:"SK"},{name:"Slovenia",localName:"Slovenija",dial_code:"386",code:"SI"},{name:"Solomon Islands",localName:"Solomon Islands",dial_code:"677",code:"SB"},{name:"Somalia",localName:"Soomaaliya",dial_code:"252",code:"SO"},{name:"South Africa",localName:"South Africa",dial_code:"27",code:"ZA"},{name:"South Sudan",localName:"South Sudan",dial_code:"211",code:"SS"},{name:"Spain",localName:"España",dial_code:"34",code:"ES"},{name:"Sri Lanka",localName:"ශ්‍රී ලංකාව",dial_code:"94",code:"LK"},{name:"Sudan",localName:"السودان",dial_code:"249",code:"SD"},{name:"Suriname",localName:"Suriname",dial_code:"597",code:"SR"},{name:"Sweden",localName:"Sverige",dial_code:"46",code:"SE"},{name:"Switzerland",localName:"Schweiz/Suisse/Svizzera/Svizra",dial_code:"41",code:"CH"},{name:"Syria",localName:"سوريا",dial_code:"963",code:"SY"},{name:"Taiwan, China",localName:"中國台灣",dial_code:"886",code:"TW"},{name:"Tajikistan",localName:"Тоҷикистон",dial_code:"992",code:"TJ"},{name:"Tanzania",localName:"Tanzania",dial_code:"255",code:"TZ"},{name:"Thailand",localName:"ไทย",dial_code:"66",code:"TH"},{name:"Timor-Leste",localName:"Timor-Leste",dial_code:"670",code:"TL"},{name:"Togo",localName:"Togo",dial_code:"228",code:"TG"},{name:"Tonga",localName:"Tonga",dial_code:"676",code:"TO"},{name:"Trinidad and Tobago",localName:"Trinidad and Tobago",dial_code:"1868",code:"TT"},{name:"Tunisia",localName:"تونس",dial_code:"216",code:"TN"},{name:"Turkey",localName:"Türkiye",dial_code:"90",code:"TR"},{name:"Turkmenistan",localName:"Türkmenistan",dial_code:"993",code:"TM"},{name:"Turks and Caicos Islands",localName:"Turks and Caicos Islands",dial_code:"1649",code:"TC"},{name:"Tuvalu",localName:"Tuvalu",dial_code:"688",code:"TV"},{name:"Uganda",localName:"Uganda",dial_code:"256",code:"UG"},{name:"Ukraine",localName:"Україна",dial_code:"380",code:"UA"},{name:"United Arab Emirates",localName:"الإمارات",dial_code:"971",code:"AE"},{name:"United Kingdom",localName:"United Kingdom",dial_code:"44",code:"GB"},{name:"United States",localName:"United States",dial_code:"1",code:"US"},{name:"Uruguay",localName:"Uruguay",dial_code:"598",code:"UY"},{name:"Uzbekistan",localName:"O‘zbekiston",dial_code:"998",code:"UZ"},{name:"Vanuatu",localName:"Vanuatu",dial_code:"678",code:"VU"},{name:"Vatican City",localName:"Città del Vaticano",dial_code:"39",code:"VA"},{name:"Venezuela",localName:"Venezuela",dial_code:"58",code:"VE"},{name:"Vietnam",localName:"Việt Nam",dial_code:"84",code:"VN"},{name:"Virgin Islands (U.S.)",localName:"US Virgin Islands",dial_code:"1340",code:"VI"},{name:"Wallis and Futuna",localName:"Wallis-et-Futuna",dial_code:"681",code:"WF"},{name:"Yemen",localName:"اليمن‎",dial_code:"967",code:"YE"},{name:"Zambia",localName:"Zambia",dial_code:"260",code:"ZM"},{name:"Zimbabwe",localName:"Zimbabwe",dial_code:"263",code:"ZW"}];const y=a({name:"aure-country-picker",props:{modelValue:[String,Number],defaultCountryCode:{type:String,default:""},cancelText:{type:String,default:"取消"},searchPlaceholder:{type:String,default:"搜索国家或地区"},title:{type:String,default:"选择国家/地区"},height:{type:String,default:"80vh"},width:{type:String,default:"80vw"},duration:{type:Number,default:300},maskClosable:{type:Boolean,default:!0},round:{type:Boolean,default:!0},radius:{type:String,default:"24rpx"},position:{type:String,default:"bottom",validator:a=>["bottom","top","left","right"].includes(a)},countryList:{type:Array,default:()=>M}},emits:["update:modelValue","change"],data:()=>({currentSelectInfo:{name:"",code:"",dial_code:"",localName:""},mounted:!1,showPopup:!1,search:"",realSelected:null}),computed:{realCountryList(){return this.countryList&&this.countryList.length>0?this.countryList:M},filteredList(){const a=this.search.trim().toLowerCase();return a?this.realCountryList.filter(e=>{const o=(e.name||"").toLowerCase(),l=(e.localName||"").toLowerCase(),d=(e.code||"").toLowerCase(),c=e.dial_code||"";return o.includes(a)||l.includes(a)||d.includes(a)||c&&c.startsWith(a)}):this.realCountryList},panelStyle(){let a={transition:`transform ${this.duration}ms cubic-bezier(.4,0,.2,1)`};return"bottom"===this.position||"top"===this.position?(a.width="100vw",a.height=this.height):(a.width=this.width||"80vw",a.height="100vh"),this.round?"bottom"===this.position?a.borderRadius=`${this.radius} ${this.radius} 0 0`:"top"===this.position?a.borderRadius=`0 0 ${this.radius} ${this.radius}`:"left"===this.position?a.borderRadius=`0 ${this.radius} ${this.radius} 0`:"right"===this.position&&(a.borderRadius=`${this.radius} 0 0 ${this.radius}`):a.borderRadius="0",a}},mounted(){if(this.modelValue){const a=this.realCountryList.filter(a=>String(a.dial_code)===String(this.modelValue));if(1===a.length)this.currentSelectInfo=a[0];else if(a.length>1&&this.defaultCountryCode){const e=a.find(a=>a.code===this.defaultCountryCode.toUpperCase());this.currentSelectInfo=e||a[0]}else a.length>0&&(this.currentSelectInfo=a[0])}},methods:{open(){this.mounted=!0,this.$nextTick(()=>{setTimeout(()=>{this.showPopup=!0},20)})},close(){this.showPopup=!1},onMaskClick(){this.maskClosable&&this.close()},onAnimEnd(){this.showPopup||(this.mounted=!1,this.search="")},select(a){this.$emit("update:modelValue",a.dial_code),this.$emit("change",a),this.onSelected(a),this.close()},onSelected(a){this.currentSelectInfo=this.realCountryList.find(e=>String(e.code)===String(a.code)&&String(e.dial_code)===String(a.dial_code))},getFlagSrc:a=>`/uni_modules/aure-country-picker/static/flags/${a.toLowerCase()}.png`,clearSearch(){this.search=""}}},[["render",function(a,M,y,b,f,G){const B=h,A=S,T=p,L=g,I=C;return e(),o(u,null,[l(T,{class:"picker-display",onClick:G.open},{default:d(()=>[f.currentSelectInfo.code?(e(),c(B,{key:0,class:"flag",src:G.getFlagSrc(f.currentSelectInfo.code),mode:"widthFix"},null,8,["src"])):i("",!0),l(A,{class:"code"},{default:d(()=>[n("+"+m(f.currentSelectInfo.dial_code||"--"),1)]),_:1})]),_:1},8,["onClick"]),f.mounted?(e(),c(T,{key:0,class:"popup-mask",onTouchmove:M[2]||(M[2]=s(()=>{},["stop","prevent"])),onClick:G.onMaskClick},{default:d(()=>[l(T,{class:t(["popup-panel",[`popup-panel--${y.position}`,{"popup-panel--show":f.showPopup}]]),style:r(G.panelStyle),onTransitionend:G.onAnimEnd,onClick:M[1]||(M[1]=s(()=>{},["stop"]))},{default:d(()=>[l(T,{class:"popup-header"},{default:d(()=>[l(A,{class:"title"},{default:d(()=>[n(m(y.title),1)]),_:1}),l(A,{class:"cancel",onClick:G.close},{default:d(()=>[n(m(y.cancelText),1)]),_:1},8,["onClick"])]),_:1}),l(T,{class:"popup-search"},{default:d(()=>[l(L,{class:"search-input",modelValue:f.search,"onUpdate:modelValue":M[0]||(M[0]=a=>f.search=a),placeholder:y.searchPlaceholder,onKeyup:N(G.clearSearch,["enter","native"])},null,8,["modelValue","placeholder","onKeyup"])]),_:1}),l(I,{"scroll-y":"",class:"popup-list"},{default:d(()=>[(e(!0),o(u,null,_(G.filteredList,a=>(e(),c(T,{key:a.code+a.dial_code,class:"popup-item",onClick:e=>G.select(a)},{default:d(()=>[l(B,{class:"flag",src:G.getFlagSrc(a.code),mode:"widthFix"},null,8,["src"]),l(A,{class:"name"},{default:d(()=>[n(m(a.localName),1)]),_:2},1024),l(A,{class:"code"},{default:d(()=>[n("+"+m(a.dial_code),1)]),_:2},1024)]),_:2},1032,["onClick"]))),128)),l(T,{class:"safe-area-bottom-height"})]),_:1})]),_:1},8,["class","style","onTransitionend"])]),_:1},8,["onClick"])):i("",!0)],64)}],["__scopeId","data-v-4ff0715a"]]);export{y as _}; diff --git a/miniprogram/dist/build/h5/assets/auth.b970b80f.js b/miniprogram/dist/build/h5/assets/auth.b970b80f.js deleted file mode 100644 index e1afb2b..0000000 --- a/miniprogram/dist/build/h5/assets/auth.b970b80f.js +++ /dev/null @@ -1 +0,0 @@ -import{z as o,D as n,v as e,m as s,n as t,u as a,a3 as r}from"./index-a09151d6.js";import{A as l}from"./AppServer.888fd24d.js";function i(){return!!o("token")}function c(){try{const n=o("user");if(n)return JSON.parse(n)}catch(n){console.error("获取用户信息失败:",n)}return null}function u(){return c()}function g(o){try{if(o){const s=JSON.stringify(o);n("user",s);const t=e();t&&t.globalData&&(t.globalData.user=o)}}catch(s){throw console.error("保存用户信息失败:",s),s}}function f(o,s,t){try{if(console.log("保存认证信息:",{token:o?"exists":"missing",refreshToken:s?"exists":"missing",user:t?"exists":"missing"}),o&&(n("token",o),console.log("Token 已保存")),s&&(n("refreshToken",s),console.log("RefreshToken 已保存")),t){const o=JSON.stringify(t);n("user",o),console.log("用户信息已保存:",o)}const a=e();a&&a.globalData&&(a.globalData.token=o,a.globalData.user=t,a.globalData.loginTime=Date.now(),console.log("全局数据已更新")),console.log("认证信息保存成功")}catch(a){throw console.error("保存认证信息失败:",a),a}}function k(o=!0){return!!i()||(o&&s({title:"请先登录",icon:"none",duration:1500}),setTimeout(()=>{t({url:"/pages/login/login-page"})},o?1e3:0),!1)}async function D(){try{const o=new l;await o.Logout()}catch(o){console.error("登出接口调用失败:",o)}finally{!function(){r("token"),r("refreshToken"),r("user");const o=e();o&&o.globalData&&(o.globalData.token="",o.globalData.user=null)}(),a({url:"/pages/index/index"})}}export{g as a,u as b,c as g,i,D as l,k as r,f as s}; diff --git a/miniprogram/dist/build/h5/assets/contact-us-page-1a0f8c19.css b/miniprogram/dist/build/h5/assets/contact-us-page-1a0f8c19.css deleted file mode 100644 index be982a7..0000000 --- a/miniprogram/dist/build/h5/assets/contact-us-page-1a0f8c19.css +++ /dev/null @@ -1 +0,0 @@ -.page[data-v-28f49f3e]{min-height:100vh;background-color:#f3f4f8}.navbar[data-v-28f49f3e]{width:100%;padding-top:3.125rem;padding-bottom:.625rem;display:flex;flex-direction:row;align-items:center;justify-content:center;position:relative}.navbar .nav-back[data-v-28f49f3e]{position:absolute;left:1rem;width:2.5rem;height:1.5625rem;display:flex;align-items:center;justify-content:center}.navbar .nav-back .back-icon[data-v-28f49f3e]{width:1.5rem;height:1.5rem}.navbar .nav-title[data-v-28f49f3e]{font-size:1.0625rem;font-weight:500;color:#333}.qr-container[data-v-28f49f3e]{display:flex;justify-content:center;padding:1.875rem .9375rem}.qr-container .qr-box[data-v-28f49f3e]{width:18.75rem;height:18.75rem;background-color:#fff;border-radius:.625rem;display:flex;align-items:center;justify-content:center;padding:1.25rem;box-shadow:0 .125rem .625rem rgba(0,0,0,.08)}.qr-container .qr-box .qr-image[data-v-28f49f3e]{width:100%;height:100%}.qr-container .qr-box .qr-placeholder[data-v-28f49f3e]{display:flex;align-items:center;justify-content:center;width:100%;height:100%}.qr-container .qr-box .qr-placeholder .placeholder-text[data-v-28f49f3e]{font-size:.875rem;color:#999} diff --git a/miniprogram/dist/build/h5/assets/exhibition-service-page-994a5df4.css b/miniprogram/dist/build/h5/assets/exhibition-service-page-994a5df4.css deleted file mode 100644 index 47ea2dc..0000000 --- a/miniprogram/dist/build/h5/assets/exhibition-service-page-994a5df4.css +++ /dev/null @@ -1 +0,0 @@ -.page[data-v-346730d6]{min-height:100vh;background-color:#f3f3f3}.header[data-v-346730d6]{display:flex;flex-direction:row;align-items:center;justify-content:space-between;width:100%;padding-top:2.75rem;padding-bottom:.625rem;background-color:#f3f3f3;position:fixed;top:0;left:0;z-index:100}.scroll-content[data-v-346730d6]{padding-top:4.375rem;background-color:#f3f3f3;min-height:100vh}.content[data-v-346730d6]{display:flex;flex-direction:column;align-items:center;background-color:#f3f3f3;min-height:100%}@keyframes flash-346730d6{0%{background-color:#f3f3f3}50%{background-color:#f66}to{background-color:#f3f3f3}}.flash-animation[data-v-346730d6]{animation:flash-346730d6 .5s ease-in-out 3} diff --git a/miniprogram/dist/build/h5/assets/guide-translation-page-baab5650.css b/miniprogram/dist/build/h5/assets/guide-translation-page-baab5650.css deleted file mode 100644 index 234a8f6..0000000 --- a/miniprogram/dist/build/h5/assets/guide-translation-page-baab5650.css +++ /dev/null @@ -1 +0,0 @@ -.page[data-v-f8efa3f9]{min-height:100vh;background-color:#f3f3f3}.header[data-v-f8efa3f9]{display:flex;flex-direction:row;align-items:center;justify-content:space-between;width:100%;padding-top:2.75rem;padding-bottom:.625rem;background-color:#f3f3f3;position:fixed;top:0;left:0;z-index:100}.scroll-content[data-v-f8efa3f9]{padding-top:4.375rem;background-color:#f3f3f3;min-height:100vh}.content[data-v-f8efa3f9]{display:flex;flex-direction:column;align-items:center;background-color:#f3f3f3;min-height:100%}.date-item[data-v-f8efa3f9]{display:flex;flex-direction:row;align-items:center;justify-content:space-between;width:100%;height:2.5rem;padding:0 .3125rem;box-sizing:border-box}.date-text[data-v-f8efa3f9]{font-size:.875rem;color:#333}.date-placeholder[data-v-f8efa3f9]{color:#c0c4cc}@keyframes flash-f8efa3f9{0%{background-color:#f3f3f3}50%{background-color:#f66}to{background-color:#f3f3f3}}.flash-animation[data-v-f8efa3f9]{animation:flash-f8efa3f9 .5s ease-in-out 3} diff --git a/miniprogram/dist/build/h5/assets/hotel-reservation-page-7ef073e8.css b/miniprogram/dist/build/h5/assets/hotel-reservation-page-7ef073e8.css deleted file mode 100644 index 4b6722e..0000000 --- a/miniprogram/dist/build/h5/assets/hotel-reservation-page-7ef073e8.css +++ /dev/null @@ -1 +0,0 @@ -.page[data-v-209f5882]{min-height:100vh;background-color:#f3f3f3}.header[data-v-209f5882]{display:flex;flex-direction:row;align-items:center;justify-content:space-between;width:100%;padding-top:2.75rem;padding-bottom:.625rem;background-color:#f3f3f3;position:fixed;top:0;left:0;z-index:100}.scroll-content[data-v-209f5882]{padding-top:4.375rem;background-color:#f3f3f3;min-height:100vh}.content[data-v-209f5882]{display:flex;flex-direction:column;align-items:center;background-color:#f3f3f3;min-height:100%}.date-item[data-v-209f5882]{display:flex;flex-direction:row;align-items:center;justify-content:space-between;width:100%;height:2.5rem;padding:0 .3125rem;box-sizing:border-box}.date-text[data-v-209f5882]{font-size:.875rem;color:#333}.date-placeholder[data-v-209f5882]{color:#c0c4cc}@keyframes flash-209f5882{0%{background-color:#f3f3f3}50%{background-color:#f66}to{background-color:#f3f3f3}}.flash-animation[data-v-209f5882]{animation:flash-209f5882 .5s ease-in-out 3}.person-row[data-v-209f5882]{display:flex;flex-direction:row;align-items:center;justify-content:space-between;width:100%;padding:.625rem .3125rem}.person-info[data-v-209f5882]{display:flex;flex-direction:column}.person-title[data-v-209f5882]{font-size:.875rem;color:#333;font-weight:500}.person-desc[data-v-209f5882]{font-size:.75rem;color:#999;margin-top:.1875rem}.person-counter[data-v-209f5882]{display:flex;flex-direction:row;align-items:center}.counter-btn[data-v-209f5882]{width:1.5625rem;height:1.5625rem;display:flex;align-items:center;justify-content:center;background-color:#bfbfbf;border-radius:.25rem}.counter-icon[data-v-209f5882]{font-size:.875rem;font-weight:700;line-height:1.5625rem;text-align:center;color:#fff}.counter-value[data-v-209f5882]{font-size:.875rem;color:#333;min-width:2.5rem;text-align:center} diff --git a/miniprogram/dist/build/h5/assets/ic_back.5440bd15.js b/miniprogram/dist/build/h5/assets/ic_back.5440bd15.js deleted file mode 100644 index 2c0d0b1..0000000 --- a/miniprogram/dist/build/h5/assets/ic_back.5440bd15.js +++ /dev/null @@ -1 +0,0 @@ -const c="/static/ic_back.png";export{c as _}; diff --git a/miniprogram/dist/build/h5/assets/ic_colse.a4aecbba.js b/miniprogram/dist/build/h5/assets/ic_colse.a4aecbba.js deleted file mode 100644 index 2dbfed3..0000000 --- a/miniprogram/dist/build/h5/assets/ic_colse.a4aecbba.js +++ /dev/null @@ -1 +0,0 @@ -const c="/static/ic_colse.png";export{c as _}; diff --git a/miniprogram/dist/build/h5/assets/ic_notice.f2babaad.js b/miniprogram/dist/build/h5/assets/ic_notice.f2babaad.js deleted file mode 100644 index 01d6b57..0000000 --- a/miniprogram/dist/build/h5/assets/ic_notice.f2babaad.js +++ /dev/null @@ -1 +0,0 @@ -const t="/static/ic_notice.png";export{t as _}; diff --git a/miniprogram/dist/build/h5/assets/index-4ecd5ef5.css b/miniprogram/dist/build/h5/assets/index-4ecd5ef5.css deleted file mode 100644 index d15617c..0000000 --- a/miniprogram/dist/build/h5/assets/index-4ecd5ef5.css +++ /dev/null @@ -1 +0,0 @@ -*{margin:0;-webkit-tap-highlight-color:transparent}html,body{-webkit-user-select:none;-moz-user-select:none;user-select:none;width:100%;height:100%}body{overflow-x:hidden;font-size:16px}uni-app,uni-page,uni-page-wrapper,uni-page-body{display:block;box-sizing:border-box;width:100%}uni-page-wrapper{position:relative}#app,uni-app,uni-page,uni-page-wrapper{height:100%}.uni-mask{position:fixed;z-index:999;top:0;right:0;left:0;bottom:0;background:rgba(0,0,0,.5)}.uni-fade-enter-active,.uni-fade-leave-active{transition-duration:.25s;transition-property:opacity;transition-timing-function:ease}.uni-fade-enter-from,.uni-fade-leave-active{opacity:0}.uni-loading,uni-button[loading]:before{background-color:transparent;background-image:url(data:image/svg+xml;base64,\ PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMjAiIGhlaWdodD0iMTIwIiB2aWV3Qm94PSIwIDAgMTAwIDEwMCI+PHBhdGggZmlsbD0ibm9uZSIgZD0iTTAgMGgxMDB2MTAwSDB6Ii8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjRTlFOUU5IiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAgLTMwKSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iIzk4OTY5NyIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgzMCAxMDUuOTggNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjOUI5OTlBIiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKDYwIDc1Ljk4IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0EzQTFBMiIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSg5MCA2NSA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNBQkE5QUEiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoMTIwIDU4LjY2IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0IyQjJCMiIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgxNTAgNTQuMDIgNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjQkFCOEI5IiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKDE4MCA1MCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNDMkMwQzEiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTE1MCA0NS45OCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNDQkNCQ0IiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTEyMCA0MS4zNCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNEMkQyRDIiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTkwIDM1IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0RBREFEQSIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgtNjAgMjQuMDIgNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjRTJFMkUyIiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKC0zMCAtNS45OCA2NSkiLz48L3N2Zz4=);background-repeat:no-repeat}.uni-loading{width:20px;height:20px;display:inline-block;vertical-align:middle;animation:uni-loading 1s steps(12,end) infinite;background-size:100%}@keyframes uni-loading{0%{transform:rotate3d(0,0,1,0)}to{transform:rotate3d(0,0,1,360deg)}}html{--primary-color: #007aff;--UI-BG: #fff;--UI-BG-1: #f7f7f7;--UI-BG-2: #fff;--UI-BG-3: #f7f7f7;--UI-BG-4: #4c4c4c;--UI-BG-5: #fff;--UI-FG: #000;--UI-FG-0: rgba(0, 0, 0, .9);--UI-FG-HALF: rgba(0, 0, 0, .9);--UI-FG-1: rgba(0, 0, 0, .5);--UI-FG-2: rgba(0, 0, 0, .3);--UI-FG-3: rgba(0, 0, 0, .1)}body:after{position:fixed;content:"";left:-1000px;top:-1000px;animation:shadow-preload .1s;animation-delay:3s}@keyframes shadow-preload{0%{background-image:url(https://cdn.dcloud.net.cn/img/shadow-grey.png)}to{background-image:url(https://cdn.dcloud.net.cn/img/shadow-grey.png)}}.uni-async-error{position:absolute;left:0;right:0;top:0;bottom:0;color:#999;padding:100px 10px;text-align:center}.uni-async-loading{box-sizing:border-box;width:100%;padding:50px;text-align:center}.uni-async-loading .uni-loading{width:30px;height:30px}uni-page-head{display:block;box-sizing:border-box}.uni-page-head{position:fixed;left:var(--window-left);right:var(--window-right);height:44px;height:calc(44px + constant(safe-area-inset-top));height:calc(44px + env(safe-area-inset-top));padding:7px 3px;padding-top:calc(7px + constant(safe-area-inset-top));padding-top:calc(7px + env(safe-area-inset-top));display:flex;overflow:hidden;justify-content:space-between;box-sizing:border-box;z-index:998;color:#fff;background-color:#000;transition-property:all}.uni-page-head *{box-sizing:border-box}.uni-page-head .uni-btn-icon{overflow:hidden;min-width:1em;font-style:normal}.uni-page-head-titlePenetrate,.uni-page-head-titlePenetrate .uni-page-head-bd,.uni-page-head-titlePenetrate .uni-page-head-bd *{pointer-events:none}.uni-page-head-titlePenetrate *{pointer-events:auto}.uni-page-head.uni-page-head-transparent .uni-page-head-ft>div{justify-content:center}.uni-page-head~.uni-placeholder{width:100%;height:44px;height:calc(44px + constant(safe-area-inset-top));height:calc(44px + env(safe-area-inset-top))}.uni-placeholder-titlePenetrate{pointer-events:none}.uni-page-head-hd{display:flex;align-items:center;font-size:16px}.uni-page-head-bd{position:absolute;left:70px;right:70px;min-width:0;-webkit-user-select:auto;-moz-user-select:auto;user-select:auto}.uni-page-head-btn{position:relative;width:auto;margin:0 2px;word-break:keep-all;white-space:pre;cursor:pointer;font-size:0px}.uni-page-head-transparent .uni-page-head-btn{display:flex;align-items:center;width:32px;height:32px;border-radius:50%;background-color:rgba(0,0,0,.5)}.uni-page-head-btn-red-dot:after{content:attr(badge-text);position:absolute;right:0;top:0;background-color:red;color:#fff;width:18px;height:18px;line-height:18px;border-radius:18px;overflow:hidden;transform:scale(.5) translate(40%,-40%);transform-origin:100% 0}.uni-page-head-btn-red-dot[badge-text]:after{font-size:12px;width:auto;min-width:18px;max-width:42px;text-align:center;padding:0 3px;transform:scale(.7) translate(40%,-40%)}.uni-page-head-btn-select svg{vertical-align:middle;margin-left:2px;transform:rotate(270deg) scale(.8)}.uni-page-head-search{position:relative;display:flex;flex:1;margin:0 2px;line-height:30px;font-size:15px}.uni-page-head-search-input{width:100%;height:100%;padding-left:34px;text-align:left}.uni-page-head-search-input .uni-input-input:disabled{pointer-events:none}.uni-page-head-search-placeholder{position:absolute;max-width:100%;height:100%;padding-left:34px;overflow:hidden;word-break:keep-all;white-space:pre}.uni-page-head-search-placeholder-right{right:0}.uni-page-head-search-placeholder-center{left:50%;transform:translate(-50%)}.uni-page-head-search-icon{position:absolute;top:0;left:2px;width:30px;height:30px;display:flex;justify-content:center;align-items:center}.uni-page-head-ft{display:flex;align-items:center;flex-direction:row-reverse;font-size:13px}.uni-page-head__title{font-weight:700;font-size:16px;line-height:30px;text-align:center;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.uni-page-head__title .uni-loading{width:16px;height:16px;margin-top:-3px}.uni-page-head__title .uni-page-head__title_image{width:auto;height:26px;vertical-align:middle}.uni-page-head-shadow{overflow:visible}.uni-page-head-shadow:after{content:"";position:absolute;left:0;right:0;top:100%;height:5px;background-size:100% 100%}.uni-page-head-shadow-grey:after{background-image:url(https://cdn.dcloud.net.cn/img/shadow-grey.png)}.uni-page-head-shadow-blue:after{background-image:url(https://cdn.dcloud.net.cn/img/shadow-blue.png)}.uni-page-head-shadow-green:after{background-image:url(https://cdn.dcloud.net.cn/img/shadow-green.png)}.uni-page-head-shadow-orange:after{background-image:url(https://cdn.dcloud.net.cn/img/shadow-orange.png)}.uni-page-head-shadow-red:after{background-image:url(https://cdn.dcloud.net.cn/img/shadow-red.png)}.uni-page-head-shadow-yellow:after{background-image:url(https://cdn.dcloud.net.cn/img/shadow-yellow.png)}uni-page-head[uni-page-head-type=default]~uni-page-wrapper{height:calc(100% - 44px);height:calc(100% - 44px - constant(safe-area-inset-top));height:calc(100% - 44px - env(safe-area-inset-top))}uni-tabbar{display:block;box-sizing:border-box;width:100%;z-index:998}.uni-tabbar{display:flex;z-index:998;box-sizing:border-box}.uni-tabbar-top,.uni-tabbar-bottom,.uni-tabbar-top .uni-tabbar,.uni-tabbar-bottom .uni-tabbar{position:fixed;left:var(--window-left);right:var(--window-right)}.uni-app--showlayout+.uni-tabbar-top,.uni-app--showlayout+.uni-tabbar-bottom,.uni-app--showlayout+.uni-tabbar-top .uni-tabbar,.uni-app--showlayout+.uni-tabbar-bottom .uni-tabbar{left:var(--window-margin);right:var(--window-margin)}.uni-tabbar-bottom .uni-tabbar{bottom:0;padding-bottom:0;padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom)}.uni-tabbar~.uni-placeholder{width:100%;margin-bottom:0;margin-bottom:constant(safe-area-inset-bottom);margin-bottom:env(safe-area-inset-bottom)}.uni-tabbar *{box-sizing:border-box}.uni-tabbar__item{display:flex;justify-content:center;align-items:center;flex-direction:column;flex:1;font-size:0;text-align:center;-webkit-tap-highlight-color:rgba(0,0,0,0)}.uni-tabbar__bd{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;cursor:pointer}.uni-tabbar__icon{position:relative;display:inline-block;margin-top:5px}.uni-tabbar__icon.uni-tabbar__icon__diff{margin-top:0;width:34px;height:34px}.uni-tabbar__icon img{width:100%;height:100%}.uni-tabbar__iconfont{font-family:UniTabbarIconFont}.uni-tabbar__label{position:relative;text-align:center;font-size:10px}.uni-tabbar-border{position:absolute;left:0;top:0;width:100%;height:1px;transform:scaleY(.5)}.uni-tabbar__reddot{position:absolute;top:2px;right:0;width:12px;height:12px;border-radius:50%;background-color:#f43530;color:#fff;transform:translate(40%)}.uni-tabbar__badge{width:auto;height:16px;line-height:16px;border-radius:16px;min-width:16px;padding:0 2px;font-size:12px;text-align:center;white-space:nowrap}.uni-tabbar__mid{display:flex;justify-content:center;position:absolute;bottom:0;background-size:100% 100%}.uni-app--showtabbar uni-page-wrapper{display:block;height:calc(100% - var(--tab-bar-height));height:calc(100% - var(--tab-bar-height) - constant(safe-area-inset-bottom));height:calc(100% - var(--tab-bar-height) - env(safe-area-inset-bottom))}.uni-app--showtabbar uni-page-wrapper:after{content:"";display:block;width:100%;height:var(--tab-bar-height);height:calc(var(--tab-bar-height) + constant(safe-area-inset-bottom));height:calc(var(--tab-bar-height) + env(safe-area-inset-bottom))}.uni-app--showtabbar uni-page-head[uni-page-head-type=default]~uni-page-wrapper{height:calc(100% - 44px - var(--tab-bar-height));height:calc(100% - 44px - constant(safe-area-inset-top) - var(--tab-bar-height) - constant(safe-area-inset-bottom));height:calc(100% - 44px - env(safe-area-inset-top) - var(--tab-bar-height) - env(safe-area-inset-bottom))}.bg{background-size:cover;background-repeat:no-repeat;background-position:center}.column{display:flex;flex-direction:column}.row{display:flex;flex-direction:row}.center{display:flex;align-items:center;justify-content:center}.single-overflow{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:inline-block}.u-icon[data-v-5c5a4f0d]{display:flex;align-items:center}.u-icon--left[data-v-5c5a4f0d]{flex-direction:row-reverse;align-items:center}.u-icon--right[data-v-5c5a4f0d]{flex-direction:row;align-items:center}.u-icon--top[data-v-5c5a4f0d]{flex-direction:column-reverse;justify-content:center}.u-icon--bottom[data-v-5c5a4f0d]{flex-direction:column;justify-content:center}.u-icon__icon[data-v-5c5a4f0d]{font-family:uicon-iconfont;position:relative;display:flex;flex-direction:row;align-items:center}.u-icon__icon--primary[data-v-5c5a4f0d]{color:#3c9cff}.u-icon__icon--success[data-v-5c5a4f0d]{color:#5ac725}.u-icon__icon--error[data-v-5c5a4f0d]{color:#f56c6c}.u-icon__icon--warning[data-v-5c5a4f0d]{color:#f9ae3d}.u-icon__icon--info[data-v-5c5a4f0d]{color:#909399}.u-icon__img[data-v-5c5a4f0d]{height:auto;will-change:transform}.u-icon__label[data-v-5c5a4f0d]{line-height:1}.u-input[data-v-cff8b1b0]{display:flex;flex-direction:row;align-items:center;justify-content:space-between;flex:1}.u-input--radius[data-v-cff8b1b0],.u-input--square[data-v-cff8b1b0]{border-radius:4px}.u-input--no-radius[data-v-cff8b1b0]{border-radius:0}.u-input--circle[data-v-cff8b1b0]{border-radius:100px}.u-input__content[data-v-cff8b1b0]{flex:1;display:flex;flex-direction:row;align-items:center;justify-content:space-between}.u-input__content__field-wrapper[data-v-cff8b1b0]{position:relative;display:flex;flex-direction:row;margin:0;flex:1}.u-input__content__field-wrapper__field[data-v-cff8b1b0]{line-height:26px;text-align:left;color:#303133;height:24px;font-size:15px;flex:1}.u-input__content__clear[data-v-cff8b1b0]{width:20px;height:20px;border-radius:100px;background-color:#c6c7cb;display:flex;flex-direction:row;align-items:center;justify-content:center;transform:scale(.82);margin-left:4px}.u-input__content__subfix-icon[data-v-cff8b1b0]{margin-left:4px}.u-input__content__prefix-icon[data-v-cff8b1b0]{margin-right:4px}.u-line[data-v-c646b6a6]{vertical-align:middle}.u-loading-icon[data-v-07774087]{display:flex;flex-direction:row;align-items:center;justify-content:center;color:#c8c9cc}.u-loading-icon__text[data-v-07774087]{margin-left:4px;color:#606266;font-size:14px;line-height:20px}.u-loading-icon__spinner[data-v-07774087]{width:30px;height:30px;position:relative;box-sizing:border-box;max-width:100%;max-height:100%;animation:u-rotate-07774087 1s linear infinite}.u-loading-icon__spinner--semicircle[data-v-07774087]{border-width:2px;border-color:transparent;border-radius:100px;border-style:solid}.u-loading-icon__spinner--circle[data-v-07774087]{border-radius:100px;border-width:2px;border-top-color:#e5e5e5;border-right-color:#e5e5e5;border-bottom-color:#e5e5e5;border-left-color:#e5e5e5;border-style:solid}.u-loading-icon--vertical[data-v-07774087]{flex-direction:column}[data-v-07774087]:host{font-size:0px;line-height:1}.u-loading-icon__spinner--spinner[data-v-07774087]{animation-timing-function:steps(12)}.u-loading-icon__text[data-v-07774087]:empty{display:none}.u-loading-icon--vertical .u-loading-icon__text[data-v-07774087]{margin:6px 0 0;color:#606266}.u-loading-icon__dot[data-v-07774087]{position:absolute;top:0;left:0;width:100%;height:100%}.u-loading-icon__dot[data-v-07774087]:before{display:block;width:2px;height:25%;margin:0 auto;background-color:currentColor;border-radius:40%;content:" "}.u-loading-icon__dot[data-v-07774087]:nth-of-type(1){transform:rotate(30deg);opacity:1}.u-loading-icon__dot[data-v-07774087]:nth-of-type(2){transform:rotate(60deg);opacity:.9375}.u-loading-icon__dot[data-v-07774087]:nth-of-type(3){transform:rotate(90deg);opacity:.875}.u-loading-icon__dot[data-v-07774087]:nth-of-type(4){transform:rotate(120deg);opacity:.8125}.u-loading-icon__dot[data-v-07774087]:nth-of-type(5){transform:rotate(150deg);opacity:.75}.u-loading-icon__dot[data-v-07774087]:nth-of-type(6){transform:rotate(180deg);opacity:.6875}.u-loading-icon__dot[data-v-07774087]:nth-of-type(7){transform:rotate(210deg);opacity:.625}.u-loading-icon__dot[data-v-07774087]:nth-of-type(8){transform:rotate(240deg);opacity:.5625}.u-loading-icon__dot[data-v-07774087]:nth-of-type(9){transform:rotate(270deg);opacity:.5}.u-loading-icon__dot[data-v-07774087]:nth-of-type(10){transform:rotate(300deg);opacity:.4375}.u-loading-icon__dot[data-v-07774087]:nth-of-type(11){transform:rotate(330deg);opacity:.375}.u-loading-icon__dot[data-v-07774087]:nth-of-type(12){transform:rotate(360deg);opacity:.3125}@keyframes u-rotate-07774087{0%{transform:rotate(0)}to{transform:rotate(1turn)}}.u-fade-enter-active[data-v-66823e3c],.u-fade-leave-active[data-v-66823e3c]{transition-property:opacity}.u-fade-enter[data-v-66823e3c],.u-fade-leave-to[data-v-66823e3c]{opacity:0}.u-fade-zoom-enter[data-v-66823e3c],.u-fade-zoom-leave-to[data-v-66823e3c]{transform:scale(.95);opacity:0}.u-fade-zoom-enter-active[data-v-66823e3c],.u-fade-zoom-leave-active[data-v-66823e3c]{transition-property:transform,opacity}.u-fade-down-enter-active[data-v-66823e3c],.u-fade-down-leave-active[data-v-66823e3c],.u-fade-left-enter-active[data-v-66823e3c],.u-fade-left-leave-active[data-v-66823e3c],.u-fade-right-enter-active[data-v-66823e3c],.u-fade-right-leave-active[data-v-66823e3c],.u-fade-up-enter-active[data-v-66823e3c],.u-fade-up-leave-active[data-v-66823e3c]{transition-property:opacity,transform}.u-fade-up-enter[data-v-66823e3c],.u-fade-up-leave-to[data-v-66823e3c]{transform:translate3d(0,100%,0);opacity:0}.u-fade-down-enter[data-v-66823e3c],.u-fade-down-leave-to[data-v-66823e3c]{transform:translate3d(0,-100%,0);opacity:0}.u-fade-left-enter[data-v-66823e3c],.u-fade-left-leave-to[data-v-66823e3c]{transform:translate3d(-100%,0,0);opacity:0}.u-fade-right-enter[data-v-66823e3c],.u-fade-right-leave-to[data-v-66823e3c]{transform:translate3d(100%,0,0);opacity:0}.u-slide-down-enter-active[data-v-66823e3c],.u-slide-down-leave-active[data-v-66823e3c],.u-slide-left-enter-active[data-v-66823e3c],.u-slide-left-leave-active[data-v-66823e3c],.u-slide-right-enter-active[data-v-66823e3c],.u-slide-right-leave-active[data-v-66823e3c],.u-slide-up-enter-active[data-v-66823e3c],.u-slide-up-leave-active[data-v-66823e3c]{transition-property:transform}.u-slide-up-enter[data-v-66823e3c],.u-slide-up-leave-to[data-v-66823e3c]{transform:translate3d(0,100%,0)}.u-slide-down-enter[data-v-66823e3c],.u-slide-down-leave-to[data-v-66823e3c]{transform:translate3d(0,-100%,0)}.u-slide-left-enter[data-v-66823e3c],.u-slide-left-leave-to[data-v-66823e3c]{transform:translate3d(-100%,0,0)}.u-slide-right-enter[data-v-66823e3c],.u-slide-right-leave-to[data-v-66823e3c]{transform:translate3d(100%,0,0)}.u-zoom-enter-active[data-v-66823e3c],.u-zoom-leave-active[data-v-66823e3c]{transition-property:transform}.u-zoom-enter[data-v-66823e3c],.u-zoom-leave-to[data-v-66823e3c]{transform:scale(.95)}.u-overlay[data-v-2db51279]{position:fixed;top:0;left:0;width:100%;height:100%;background-color:rgba(0,0,0,.7)}.u-status-bar[data-v-68d19daa],.u-safe-bottom[data-v-d5896704]{width:100%}.u-popup[data-v-8b827339]{flex:1}.u-popup__trigger[data-v-8b827339]{position:relative}.u-popup__trigger__cover[data-v-8b827339]{position:absolute;top:0;left:0;right:0;bottom:0}.u-popup__content[data-v-8b827339]{background-color:#fff;position:relative}.u-popup__content--round-top[data-v-8b827339]{border-radius:0 0 10px 10px}.u-popup__content--round-left[data-v-8b827339]{border-radius:0 10px 10px 0}.u-popup__content--round-right[data-v-8b827339]{border-radius:10px 0 0 10px}.u-popup__content--round-bottom[data-v-8b827339]{border-radius:10px 10px 0 0}.u-popup__content--round-center[data-v-8b827339]{border-radius:10px}.u-popup__content__touch-area[data-v-8b827339]{top:0;left:0;right:0;height:1.3125rem;z-index:10;display:flex;justify-content:center;align-items:center}.u-popup__content__indicator[data-v-8b827339]{width:100px;height:5px;border-radius:100px;background-color:#c0c4cc}.u-popup__content__close[data-v-8b827339]{position:absolute}.u-popup__content__close--hover[data-v-8b827339]{opacity:.4}.u-popup__content__close--top-left[data-v-8b827339]{top:15px;left:15px}.u-popup__content__close--top-right[data-v-8b827339]{top:15px;right:15px}.u-popup__content__close--bottom-left[data-v-8b827339]{bottom:15px;left:15px}.u-popup__content__close--bottom-right[data-v-8b827339]{right:15px;bottom:15px}.u-reset-button[data-v-69273a66]{width:100%}.u-action-sheet[data-v-69273a66]{text-align:center}.u-action-sheet__header[data-v-69273a66]{position:relative;padding:12px 30px}.u-action-sheet__header__title[data-v-69273a66]{font-size:16px;color:#303133;font-weight:700;text-align:center}.u-action-sheet__header__icon-wrap[data-v-69273a66]{position:absolute;right:15px;top:15px}.u-action-sheet__description[data-v-69273a66]{font-size:13px;color:#909193;margin:18px 15px;text-align:center}.u-action-sheet__item-wrap__item[data-v-69273a66]{padding:17px;display:flex;flex-direction:row;align-items:center;justify-content:center;flex-direction:column}.u-action-sheet__item-wrap__item__name[data-v-69273a66]{font-size:16px;color:#303133;text-align:center}.u-action-sheet__item-wrap__item__subname[data-v-69273a66]{font-size:13px;color:#c0c4cc;margin-top:10px;text-align:center}.u-action-sheet__cancel-text[data-v-69273a66]{font-size:16px;color:#606266;text-align:center}.u-action-sheet--hover[data-v-69273a66]{background-color:#f2f3f5}.u-action-sheet-data__trigger[data-v-d87a5680]{position:relative}.u-action-sheet-data__trigger__cover[data-v-d87a5680]{position:absolute;top:0;left:0;right:0;bottom:0}.u-modal[data-v-44f289cf]{width:20.3125rem;border-radius:6px;overflow:hidden}.u-modal__title[data-v-44f289cf]{display:flex;flex-direction:column;justify-content:center;align-items:center;font-size:16px;font-weight:700;color:#606266;text-align:center;padding-top:25px}.u-modal__content[data-v-44f289cf]{padding:12px 25px 25px;display:flex;flex-direction:row;justify-content:center}.u-modal__content__text[data-v-44f289cf]{font-size:15px;color:#606266;flex:1}.u-modal__button-group[data-v-44f289cf]{display:flex;flex-direction:row}.u-modal__button-group--confirm-button[data-v-44f289cf]{flex-direction:column;padding:0 25px 15px}.u-modal__button-group__wrapper[data-v-44f289cf]{flex:1;display:flex;flex-direction:row;justify-content:center;align-items:center;height:48px}.u-modal__button-group__wrapper--confirm[data-v-44f289cf],.u-modal__button-group__wrapper--only-cancel[data-v-44f289cf]{border-bottom-right-radius:6px}.u-modal__button-group__wrapper--cancel[data-v-44f289cf],.u-modal__button-group__wrapper--only-confirm[data-v-44f289cf]{border-bottom-left-radius:6px}.u-modal__button-group__wrapper--hover[data-v-44f289cf]{background-color:#f3f4f6}.u-modal__button-group__wrapper__text[data-v-44f289cf]{color:#606266;font-size:16px;text-align:center}.agreement-content[data-v-6acbdfda]{width:100%;display:inline-block;flex-direction:column}.agreement-content .agreement-url[data-v-6acbdfda]{display:inline-block;color:#00f;cursor:pointer}.u-link[data-v-eceb4345]{line-height:1;display:flex;flex-direction:row;flex-wrap:wrap;flex:1}.u-text[data-v-e0f014b4]{display:flex;flex-direction:row;align-items:center;flex-wrap:nowrap}.u-text__price[data-v-e0f014b4]{font-size:14px;color:#606266}.u-text__value[data-v-e0f014b4]{font-size:14px;display:flex;flex-direction:row;color:#606266;flex-wrap:wrap;text-overflow:ellipsis;align-items:center}.u-text__value--primary[data-v-e0f014b4]{color:#3c9cff}.u-text__value--warning[data-v-e0f014b4]{color:#f9ae3d}.u-text__value--success[data-v-e0f014b4]{color:#5ac725}.u-text__value--info[data-v-e0f014b4]{color:#909399}.u-text__value--error[data-v-e0f014b4]{color:#f56c6c}.u-text__value--main[data-v-e0f014b4]{color:#303133}.u-text__value--content[data-v-e0f014b4]{color:#606266}.u-text__value--tips[data-v-e0f014b4]{color:#909193}.u-text__value--light[data-v-e0f014b4]{color:#c0c4cc}.u-album[data-v-46ebd53b]{display:flex;flex-direction:column}.u-album__row[data-v-46ebd53b]{display:flex;flex-direction:row}.u-album__row__wrapper[data-v-46ebd53b]{position:relative}.u-album__row__wrapper__text[data-v-46ebd53b]{position:absolute;top:0;left:0;right:0;bottom:0;background-color:rgba(0,0,0,.3);display:flex;flex-direction:row;justify-content:center;align-items:center}.u-alert[data-v-baba779c]{position:relative;background-color:#3c9cff;padding:8px 10px;display:flex;flex-direction:row;align-items:center;border-radius:4px}.u-alert--primary--dark[data-v-baba779c]{background-color:#3c9cff}.u-alert--primary--light[data-v-baba779c]{background-color:#ecf5ff}.u-alert--error--dark[data-v-baba779c]{background-color:#f56c6c}.u-alert--error--light[data-v-baba779c]{background-color:#fef0f0}.u-alert--success--dark[data-v-baba779c]{background-color:#5ac725}.u-alert--success--light[data-v-baba779c]{background-color:#f5fff0}.u-alert--warning--dark[data-v-baba779c]{background-color:#f9ae3d}.u-alert--warning--light[data-v-baba779c]{background-color:#fdf6ec}.u-alert--info--dark[data-v-baba779c]{background-color:#909399}.u-alert--info--light[data-v-baba779c]{background-color:#f4f4f5}.u-alert__icon[data-v-baba779c]{margin-right:5px}.u-alert__content[data-v-baba779c]{display:flex;flex-direction:column;flex:1}.u-alert__content__title[data-v-baba779c]{color:#303133;font-size:14px;font-weight:700;color:#fff;margin-bottom:2px}.u-alert__content__desc[data-v-baba779c]{color:#303133;font-size:14px;flex-wrap:wrap;color:#fff}.u-alert__title--dark[data-v-baba779c],.u-alert__desc--dark[data-v-baba779c]{color:#fff}.u-alert__text--primary--light[data-v-baba779c]{color:#3c9cff}.u-alert__text--success--light[data-v-baba779c]{color:#5ac725}.u-alert__text--warning--light[data-v-baba779c]{color:#f9ae3d}.u-alert__text--error--light[data-v-baba779c]{color:#f56c6c}.u-alert__text--info--light[data-v-baba779c]{color:#909399}.u-alert__close[data-v-baba779c]{position:absolute;top:11px;right:10px}.u-avatar[data-v-09f6effd]{display:flex;flex-direction:row;align-items:center;justify-content:center}.u-avatar--circle[data-v-09f6effd]{border-radius:100px}.u-avatar--square[data-v-09f6effd]{border-radius:4px}.u-avatar__image--circle[data-v-09f6effd]{border-radius:100px;overflow:hidden}.u-avatar__image--square[data-v-09f6effd]{border-radius:4px}.u-avatar-group[data-v-1fca01de]{display:flex;flex-direction:row}.u-avatar-group__item[data-v-1fca01de]{margin-left:-10px;position:relative}.u-avatar-group__item--no-indent[data-v-1fca01de]{margin-left:0}.u-avatar-group__item__show-more[data-v-1fca01de]{position:absolute;top:0;bottom:0;left:0;right:0;background-color:rgba(0,0,0,.3);display:flex;flex-direction:row;align-items:center;justify-content:center;border-radius:100px}.u-back-top[data-v-268a498f]{display:flex;flex-direction:row;flex-direction:column;align-items:center;flex:1;height:100%;justify-content:center;background-color:#e1e1e1}.u-back-top__tips[data-v-268a498f]{font-size:12px;transform:scale(.8)}.u-badge[data-v-4434d9cd]{border-radius:100px;display:flex;flex-direction:row;line-height:11px;text-align:center;font-size:11px;color:#fff}.u-badge--dot[data-v-4434d9cd]{height:8px;width:8px}.u-badge--inverted[data-v-4434d9cd]{font-size:13px}.u-badge--not-dot[data-v-4434d9cd]{padding:2px 5px}.u-badge--horn[data-v-4434d9cd]{border-bottom-left-radius:0}.u-badge--primary[data-v-4434d9cd]{background-color:#3c9cff}.u-badge--primary--inverted[data-v-4434d9cd]{color:#3c9cff}.u-badge--error[data-v-4434d9cd]{background-color:#f56c6c}.u-badge--error--inverted[data-v-4434d9cd]{color:#f56c6c}.u-badge--success[data-v-4434d9cd]{background-color:#5ac725}.u-badge--success--inverted[data-v-4434d9cd]{color:#5ac725}.u-badge--info[data-v-4434d9cd]{background-color:#909399}.u-badge--info--inverted[data-v-4434d9cd]{color:#909399}.u-badge--warning[data-v-4434d9cd]{background-color:#f9ae3d}.u-badge--warning--inverted[data-v-4434d9cd]{color:#f9ae3d}.u-barcode[data-v-a63099aa]{display:flex;flex-direction:row;justify-content:center;align-items:center}.error-container[data-v-a63099aa]{display:flex;justify-content:center;align-items:center;background-color:#f0f0f0;color:red}.error-text[data-v-a63099aa]{font-size:14px}.u-box[data-v-a1450eb3]{display:flex;flex-direction:row;flex:1}.u-box__left[data-v-a1450eb3]{display:flex;flex-direction:row;justify-content:center;align-items:center;flex:1}.u-box__gap[data-v-a1450eb3]{display:flex;flex-direction:row;flex-direction:column}.u-box__right[data-v-a1450eb3]{display:flex;flex-direction:row;flex-direction:column;flex:1}.u-box__right-top[data-v-a1450eb3],.u-box__right-bottom[data-v-a1450eb3]{display:flex;flex-direction:row;flex:1;justify-content:center;align-items:center}.u-button[data-v-8a6afb74]{width:100%;white-space:nowrap}.u-button__text[data-v-8a6afb74]{white-space:nowrap;line-height:1}.u-button[data-v-8a6afb74]:before{position:absolute;top:50%;left:50%;width:100%;height:100%;border:inherit;border-radius:inherit;transform:translate(-50%,-50%);opacity:0;content:" ";background-color:#000;border-color:#000}.u-button--active[data-v-8a6afb74]:before{opacity:.15}.u-button__icon+.u-button__text[data-v-8a6afb74]:not(:empty),.u-button__loading-text[data-v-8a6afb74]{margin-left:4px}.u-button--plain.u-button--primary[data-v-8a6afb74]{color:#3c9cff}.u-button--plain.u-button--info[data-v-8a6afb74]{color:#909399}.u-button--plain.u-button--success[data-v-8a6afb74]{color:#5ac725}.u-button--plain.u-button--error[data-v-8a6afb74]{color:#f56c6c}.u-button--plain.u-button--warning[data-v-8a6afb74]{color:#f9ae3d}.u-button[data-v-8a6afb74]{height:40px;position:relative;align-items:center;justify-content:center;display:flex;box-sizing:border-box;flex-direction:row}.u-button__text[data-v-8a6afb74]{font-size:15px}.u-button__loading-text[data-v-8a6afb74]{font-size:15px;margin-left:4px}.u-button--large[data-v-8a6afb74]{width:100%;height:50px;padding:0 15px}.u-button--normal[data-v-8a6afb74]{padding:0 12px;font-size:14px}.u-button--small[data-v-8a6afb74]{min-width:60px;height:30px;padding:0 8px;font-size:12px}.u-button--mini[data-v-8a6afb74]{height:22px;font-size:10px;min-width:50px;padding:0 8px}.u-button--disabled[data-v-8a6afb74]{opacity:.5}.u-button--info[data-v-8a6afb74]{color:#323233;background-color:#fff;border-color:#ebedf0;border-width:1px;border-style:solid}.u-button--success[data-v-8a6afb74]{color:#fff;background-color:#5ac725;border-color:#5ac725;border-width:1px;border-style:solid}.u-button--primary[data-v-8a6afb74]{color:#fff;background-color:#3c9cff;border-color:#3c9cff;border-width:1px;border-style:solid}.u-button--error[data-v-8a6afb74]{color:#fff;background-color:#f56c6c;border-color:#f56c6c;border-width:1px;border-style:solid}.u-button--warning[data-v-8a6afb74]{color:#fff;background-color:#f9ae3d;border-color:#f9ae3d;border-width:1px;border-style:solid}.u-button--block[data-v-8a6afb74]{display:flex;flex-direction:row;width:100%}.u-button--circle[data-v-8a6afb74]{border-radius:100px}.u-button--square[data-v-8a6afb74]{border-radius:3px}.u-button__icon[data-v-8a6afb74]{min-width:1em;line-height:inherit!important;vertical-align:top}.u-button--plain[data-v-8a6afb74]{background-color:#fff}.u-button--hairline[data-v-8a6afb74]{border-width:.5px!important}.u-calendar-header[data-v-631287e6]{display:flex;flex-direction:column;padding-bottom:4px}.u-calendar-header__title[data-v-631287e6]{font-size:16px;color:#303133;text-align:center;height:42px;line-height:42px;font-weight:700}.u-calendar-header__subtitle[data-v-631287e6]{font-size:14px;color:#303133;height:40px;text-align:center;line-height:40px;font-weight:700}.u-calendar-header__weekdays[data-v-631287e6]{display:flex;flex-direction:row;justify-content:space-between}.u-calendar-header__weekdays__weekday[data-v-631287e6]{font-size:13px;color:#303133;line-height:30px;flex:1;text-align:center}.u-calendar-month-wrapper[data-v-0326e5ab]{margin-top:4px}.u-calendar-month__title[data-v-0326e5ab]{display:flex;flex-direction:column;font-size:14px;line-height:42px;height:42px;color:#303133;text-align:center;font-weight:700}.u-calendar-month__days[data-v-0326e5ab]{position:relative;display:flex;flex-direction:row;flex-wrap:wrap}.u-calendar-month__days__month-mark-wrapper[data-v-0326e5ab]{position:absolute;top:0;bottom:0;left:0;right:0;display:flex;flex-direction:row;justify-content:center;align-items:center}.u-calendar-month__days__month-mark-wrapper__text[data-v-0326e5ab]{font-size:155px;color:rgba(231,232,234,.83)}.u-calendar-month__days__day[data-v-0326e5ab]{display:flex;flex-direction:row;padding:2px;width:14.2857142857%;box-sizing:border-box}.u-calendar-month__days__day__select[data-v-0326e5ab]{flex:1;display:flex;flex-direction:row;align-items:center;justify-content:center;position:relative}.u-calendar-month__days__day__select__dot[data-v-0326e5ab]{width:7px;height:7px;border-radius:100px;background-color:#f56c6c;position:absolute;top:12px;right:7px}.u-calendar-month__days__day__select__buttom-info[data-v-0326e5ab]{color:#606266;position:absolute;bottom:5px;font-size:10px;text-align:center;left:0;right:0}.u-calendar-month__days__day__select__buttom-info--selected[data-v-0326e5ab]{color:#fff}.u-calendar-month__days__day__select__buttom-info--disabled[data-v-0326e5ab]{color:#cacbcd}.u-calendar-month__days__day__select__info[data-v-0326e5ab]{text-align:center;font-size:16px}.u-calendar-month__days__day__select__info--selected[data-v-0326e5ab]{color:#fff}.u-calendar-month__days__day__select__info--disabled[data-v-0326e5ab]{color:#cacbcd}.u-calendar-month__days__day__select--selected[data-v-0326e5ab]{background-color:#3c9cff;display:flex;flex-direction:row;justify-content:center;align-items:center;flex:1;border-radius:3px}.u-calendar-month__days__day__select--range-selected[data-v-0326e5ab]{opacity:.3;border-radius:0}.u-calendar-month__days__day__select--range-start-selected[data-v-0326e5ab]{border-top-right-radius:0;border-bottom-right-radius:0}.u-calendar-month__days__day__select--range-end-selected[data-v-0326e5ab]{border-top-left-radius:0;border-bottom-left-radius:0}.u-calendar__confirm[data-v-4689b26a]{padding:7px 18px}.u-keyboard[data-v-bd8e2bb9]{display:flex;flex-direction:column;justify-content:space-around;background-color:#e0e4e6;align-items:stretch;padding:6px 0}.u-keyboard__button[data-v-bd8e2bb9]{display:flex;flex-direction:row;justify-content:center;flex:1}.u-keyboard__button__inner-wrapper[data-v-bd8e2bb9]{box-shadow:0 1px #999992;margin:.25rem .15625rem;border-radius:4px}.u-keyboard__button__inner-wrapper__inner[data-v-bd8e2bb9]{display:flex;flex-direction:row;justify-content:center;align-items:center;width:2rem;background-color:#fff;height:2.5rem;border-radius:4px}.u-keyboard__button__inner-wrapper__inner__text[data-v-bd8e2bb9]{font-size:16px;color:#303133}.u-keyboard__button__inner-wrapper__left[data-v-bd8e2bb9],.u-keyboard__button__inner-wrapper__right[data-v-bd8e2bb9]{border-radius:4px;width:4.1875rem;height:2.5rem;background-color:#bbbcc6;display:flex;flex-direction:row;justify-content:center;align-items:center;box-shadow:0 1px #999992}.u-keyboard__button__inner-wrapper__left__line[data-v-bd8e2bb9]{font-size:15px;color:#303133;margin:0 1px}.u-keyboard__button__inner-wrapper__left__lang[data-v-bd8e2bb9]{font-size:16px;color:#303133}.u-keyboard__button__inner-wrapper__left__lang--active[data-v-bd8e2bb9]{color:#3c9cff}.u-hover-class[data-v-bd8e2bb9]{background-color:#bbbcc6}.u-card[data-v-e575afb6]{position:relative;overflow:hidden;font-size:.875rem;background-color:#fff;box-sizing:border-box}.u-card-full[data-v-e575afb6]{margin-left:0!important;margin-right:0!important;width:100%}.u-card--border[data-v-e575afb6]:after{border-radius:.5rem}.u-card__head--left[data-v-e575afb6]{color:#303133}.u-card__head--left__thumb[data-v-e575afb6]{margin-right:.5rem}.u-card__head--left__title[data-v-e575afb6]{max-width:12.5rem}.u-card__head--right[data-v-e575afb6]{color:#909193;margin-left:.1875rem}.u-card__body[data-v-e575afb6]{color:#606266}.u-card__foot[data-v-e575afb6]{color:#909193}.u-steps-item[data-v-180818a8]{flex:1;display:flex;flex-direction:row}.u-steps-item--row[data-v-180818a8]{flex-direction:column;align-items:center;position:relative}.u-steps-item--column[data-v-180818a8]{position:relative;flex-direction:row;justify-content:flex-start;padding-bottom:5px}.u-steps-item__wrapper[data-v-180818a8]{display:flex;flex-direction:row;justify-content:center;align-items:center;position:relative;background-color:#fff;border-radius:50px}.u-steps-item__wrapper--column[data-v-180818a8]{width:20px;height:20px}.u-steps-item__wrapper--column--dot[data-v-180818a8]{height:20px;width:20px}.u-steps-item__wrapper--row[data-v-180818a8],.u-steps-item__wrapper--row--dot[data-v-180818a8]{width:20px;height:20px}.u-steps-item__wrapper__circle[data-v-180818a8]{width:20px;height:20px;box-sizing:border-box;flex-shrink:0;border-radius:100px;border-width:1px;border-color:#909193;border-style:solid;display:flex;flex-direction:row;align-items:center;justify-content:center;transition:background-color .3s}.u-steps-item__wrapper__circle__text[data-v-180818a8]{color:#909193;font-size:11px;display:flex;flex-direction:row;align-items:center;justify-content:center;text-align:center;line-height:11px}.u-steps-item__wrapper__dot[data-v-180818a8]{width:10px;height:10px;border-radius:100px;background-color:#606266}.u-steps-item__content[data-v-180818a8]{display:flex;flex-direction:row;flex:1}.u-steps-item__content__title[data-v-180818a8]{cursor:pointer}.u-steps-item__content--row[data-v-180818a8]{flex-direction:column;align-items:center}.u-steps-item__content--column[data-v-180818a8]{flex-direction:column;margin-left:6px}.u-steps-item__line[data-v-180818a8]{position:absolute;background:#909193}.u-steps-item__line--row[data-v-180818a8]{top:10px;height:1px}.u-steps-item__line--column[data-v-180818a8]{width:1px;left:10px}.u-steps[data-v-334eeb4c]{display:flex;flex-direction:row}.u-steps--column[data-v-334eeb4c]{flex-direction:column}.u-steps--row[data-v-334eeb4c]{flex-direction:row;flex:1}.u-tabs__wrapper[data-v-440577ec]{display:flex;flex-direction:row;align-items:center}.u-tabs__wrapper__scroll-view-wrapper[data-v-440577ec]{flex:1;overflow:auto hidden}.u-tabs__wrapper__scroll-view[data-v-440577ec]{display:flex;flex-direction:row;flex:1}.u-tabs__wrapper__nav[data-v-440577ec]{display:flex;flex-direction:row;position:relative}.u-tabs__wrapper__nav__item[data-v-440577ec]{padding:0 11px;display:flex;flex-direction:row;align-items:center;justify-content:center;cursor:pointer}.u-tabs__wrapper__nav__item--disabled[data-v-440577ec]{cursor:not-allowed}.u-tabs__wrapper__nav__item__text[data-v-440577ec]{font-size:15px;color:#606266;white-space:nowrap!important}.u-tabs__wrapper__nav__item__text--disabled[data-v-440577ec]{color:#c8c9cc!important}.u-tabs__wrapper__nav__line[data-v-440577ec]{height:3px;background:#3c9cff;width:30px;position:absolute;bottom:2px;border-radius:100px;transition-property:transform;transition-duration:.3s}.u-cell__body[data-v-96e46153]{display:flex;flex-direction:row;box-sizing:border-box;padding:13px 15px;font-size:15px;color:#303133;align-items:center}.u-cell__body__content[data-v-96e46153]{display:flex;flex-direction:row;align-items:center;flex:1}.u-cell__body--large[data-v-96e46153]{padding-top:13px;padding-bottom:13px}.u-cell__left-icon-wrap[data-v-96e46153],.u-cell__right-icon-wrap[data-v-96e46153]{display:flex;flex-direction:row;align-items:center;font-size:16px}.u-cell__left-icon-wrap[data-v-96e46153]{margin-right:4px}.u-cell__right-icon-wrap[data-v-96e46153]{margin-left:4px;transition:transform .3s}.u-cell__right-icon-wrap--up[data-v-96e46153]{transform:rotate(-90deg)}.u-cell__right-icon-wrap--down[data-v-96e46153]{transform:rotate(90deg)}.u-cell__title[data-v-96e46153]{flex:1;display:flex;flex-direction:column}.u-cell__title-text[data-v-96e46153]{font-size:15px;line-height:22px;color:#303133}.u-cell__title-text--large[data-v-96e46153]{font-size:16px}.u-cell__label[data-v-96e46153]{margin-top:5px;font-size:12px;color:#909193;line-height:18px}.u-cell__label--large[data-v-96e46153]{font-size:14px}.u-cell__value[data-v-96e46153]{text-align:right;margin-left:auto;font-size:14px;line-height:24px;color:#606266}.u-cell__value--large[data-v-96e46153]{font-size:15px}.u-cell--required[data-v-96e46153]{overflow:visible;display:flex;flex-direction:row;align-items:center}.u-cell--required[data-v-96e46153]:before{position:absolute;content:"*";left:-8px;margin-top:.125rem;font-size:14px;color:#f56c6c}.u-cell--clickable[data-v-96e46153]{background-color:#f3f4f6}.u-cell--disabled[data-v-96e46153]{color:#c8c9cc;cursor:not-allowed}.u-cell--center[data-v-96e46153]{align-items:center}.u-cell-group[data-v-30d1a1cf]{flex:1}.u-cell-group__title[data-v-30d1a1cf]{padding:16px 16px 8px}.u-cell-group__title__text[data-v-30d1a1cf]{font-size:15px;line-height:16px;color:#303133}.u-cell-group__wrapper[data-v-30d1a1cf]{position:relative}.area-box[data-v-1d16a557]{width:100%;overflow:hidden;height:25rem}.area-box>uni-view[data-v-1d16a557]{width:150%;transition:transform .3s ease-in-out 0s;transform:translate(0)}.area-box .area-item[data-v-1d16a557]{height:25rem}.u-cascader-action[data-v-1d16a557]{border-top:1px solid #eee}.u-cate-tab[data-v-4550757b]{display:flex;flex-direction:column}.u-cate-tab__wrap[data-v-4550757b]{flex:1;display:flex;flex-direction:row;overflow:hidden}.u-search-inner[data-v-4550757b]{background-color:#eaeaea;border-radius:3.125rem;display:flex;align-items:center;padding:.3125rem .5rem}.u-search-text[data-v-4550757b]{font-size:.8125rem;color:#909193;margin-left:.3125rem}.u-cate-tab__view[data-v-4550757b]{width:6.25rem;height:100%}.u-cate-tab__item[data-v-4550757b]{height:3.4375rem;background:#f6f6f6;box-sizing:border-box;display:flex;align-items:center;justify-content:center;font-size:.8125rem;color:#444;font-weight:400;line-height:1}.u-cate-tab__item-active[data-v-4550757b]{position:relative;color:#000;font-size:.9375rem;font-weight:600;background:#fff}.u-cate-tab__item-active[data-v-4550757b]:before{content:"";position:absolute;border-left:4px solid #3c9cff;height:1rem;left:0;top:1.21875rem}.u-cate-tab__view[data-v-4550757b]{height:100%}.u-cate-tab__right-box[data-v-4550757b]{flex:1;background-color:#fafafa}.u-cate-tab__page-view[data-v-4550757b]{padding:.5rem}.u-cate-tab__page-item[data-v-4550757b]{margin-bottom:.9375rem;background-color:#fff;padding:.5rem;border-radius:.25rem}.u-cate-tab__page-item[data-v-4550757b]:last-child{min-height:100vh}.item-title[data-v-4550757b]{font-size:.8125rem;color:#303133;font-weight:700}.item-menu-name[data-v-4550757b]{font-weight:400;font-size:.75rem;color:#303133}.item-container[data-v-4550757b]{display:flex;flex-wrap:wrap}.thumb-box[data-v-4550757b]{width:33.333333%;display:flex;align-items:center;justify-content:center;flex-direction:column;margin-top:.625rem}.item-menu-image[data-v-4550757b]{width:3.75rem;height:3.75rem}.u-checkbox-group--row[data-v-70f89666]{display:flex;flex-flow:row wrap}.u-checkbox-group--column[data-v-70f89666]{display:flex;flex-direction:column}.u-checkbox[data-v-131e8247]{display:flex;overflow:hidden;flex-direction:row;align-items:center;margin-bottom:5px;margin-top:5px}.u-checkbox-label--left[data-v-131e8247]{flex-direction:row}.u-checkbox-label--right[data-v-131e8247]{flex-direction:row-reverse;justify-content:space-between}.u-checkbox__icon-wrap[data-v-131e8247]{box-sizing:border-box;transition-property:border-color,background-color,color;transition-duration:.2s;color:#606266;display:flex;flex-direction:row;align-items:center;justify-content:center;color:transparent;text-align:center;margin-right:6px;font-size:6px;border-width:1px;border-color:#c8c9cc;border-style:solid}.u-checkbox__icon-wrap--circle[data-v-131e8247]{border-radius:100%}.u-checkbox__icon-wrap--square[data-v-131e8247]{border-radius:3px}.u-checkbox__icon-wrap--checked[data-v-131e8247]{color:#fff;background-color:red;border-color:#2979ff}.u-checkbox__icon-wrap--disabled[data-v-131e8247]{background-color:#ebedf0!important}.u-checkbox__icon-wrap--disabled--checked[data-v-131e8247]{color:#c8c9cc!important}.u-checkbox__label[data-v-131e8247]{word-wrap:break-word;margin-left:5px;margin-right:12px;color:#606266;font-size:15px}.u-checkbox__label--disabled[data-v-131e8247]{color:#c8c9cc}.u-tag-wrapper[data-v-3f1e1d6d]{position:relative}.u-tag[data-v-3f1e1d6d]{display:flex;flex-direction:row;align-items:center;border-style:solid}.u-tag--circle[data-v-3f1e1d6d]{border-radius:100px}.u-tag--square[data-v-3f1e1d6d]{border-radius:3px}.u-tag__icon[data-v-3f1e1d6d]{margin-right:4px}.u-tag__text--mini[data-v-3f1e1d6d]{font-size:12px;line-height:12px}.u-tag__text--medium[data-v-3f1e1d6d]{font-size:13px;line-height:13px}.u-tag__text--large[data-v-3f1e1d6d]{font-size:15px;line-height:15px}.u-tag--mini[data-v-3f1e1d6d]{height:22px;line-height:22px;padding:0 5px}.u-tag--medium[data-v-3f1e1d6d]{height:26px;line-height:22px;padding:0 10px}.u-tag--large[data-v-3f1e1d6d]{height:32px;line-height:32px;padding:0 15px}.u-tag--primary[data-v-3f1e1d6d]{background-color:#3c9cff;border-width:1px;border-color:#3c9cff}.u-tag--primary--plain[data-v-3f1e1d6d]{border-width:1px;border-color:#3c9cff}.u-tag--primary--plain--fill[data-v-3f1e1d6d]{background-color:#ecf5ff}.u-tag__text--primary[data-v-3f1e1d6d]{color:#fff}.u-tag__text--primary--plain[data-v-3f1e1d6d]{color:#3c9cff}.u-tag--error[data-v-3f1e1d6d]{background-color:#f56c6c;border-width:1px;border-color:#f56c6c}.u-tag--error--plain[data-v-3f1e1d6d]{border-width:1px;border-color:#f56c6c}.u-tag--error--plain--fill[data-v-3f1e1d6d]{background-color:#fef0f0}.u-tag__text--error[data-v-3f1e1d6d]{color:#fff}.u-tag__text--error--plain[data-v-3f1e1d6d]{color:#f56c6c}.u-tag--warning[data-v-3f1e1d6d]{background-color:#f9ae3d;border-width:1px;border-color:#f9ae3d}.u-tag--warning--plain[data-v-3f1e1d6d]{border-width:1px;border-color:#f9ae3d}.u-tag--warning--plain--fill[data-v-3f1e1d6d]{background-color:#fdf6ec}.u-tag__text--warning[data-v-3f1e1d6d]{color:#fff}.u-tag__text--warning--plain[data-v-3f1e1d6d]{color:#f9ae3d}.u-tag--success[data-v-3f1e1d6d]{background-color:#5ac725;border-width:1px;border-color:#5ac725}.u-tag--success--plain[data-v-3f1e1d6d]{border-width:1px;border-color:#5ac725}.u-tag--success--plain--fill[data-v-3f1e1d6d]{background-color:#f5fff0}.u-tag__text--success[data-v-3f1e1d6d]{color:#fff}.u-tag__text--success--plain[data-v-3f1e1d6d]{color:#5ac725}.u-tag--info[data-v-3f1e1d6d]{background-color:#909399;border-width:1px;border-color:#909399}.u-tag--info--plain[data-v-3f1e1d6d]{border-width:1px;border-color:#909399}.u-tag--info--plain--fill[data-v-3f1e1d6d]{background-color:#f4f4f5}.u-tag__text--info[data-v-3f1e1d6d]{color:#fff}.u-tag__text--info--plain[data-v-3f1e1d6d]{color:#909399}.u-tag__close[data-v-3f1e1d6d]{position:absolute;z-index:999;top:10px;right:10px;border-radius:100px;background-color:#c6c7cb;display:flex;flex-direction:row;align-items:center;justify-content:center;transform:scale(.6) translate(80%,-80%)}.u-tag__close--mini[data-v-3f1e1d6d]{width:18px;height:18px}.u-tag__close--medium[data-v-3f1e1d6d]{width:22px;height:22px}.u-tag__close--large[data-v-3f1e1d6d]{width:25px;height:25px}.up-choose[data-v-46d7cfd3] .up-tag{font-weight:600}.up-choose[data-v-46d7cfd3]:last-child{margin-right:0}.up-choose-wrap[data-v-46d7cfd3]{flex-wrap:wrap}.up-choose-nowrap[data-v-46d7cfd3]{flex-wrap:nowrap;white-space:nowrap}.u-circle-progress[data-v-786d53e9]{display:flex;flex-direction:row;position:relative;border-radius:100px;height:100px;width:100px;background-color:#c8c8c8;overflow:hidden;justify-content:space-between}.u-circle-progress__circle[data-v-786d53e9]{border-radius:100px;height:90px;width:90px;transform:translate(-50%,-50%);background-color:#fff;left:50px;top:50px;position:absolute}.u-circle-progress__left[data-v-786d53e9]{position:absolute;left:0;width:50px;height:100px;overflow:hidden;box-sizing:border-box}.u-circle-progress__left__circle[data-v-786d53e9]{box-sizing:border-box;border-left-color:transparent;border-bottom-color:transparent;border-top-left-radius:50px;border-top-right-radius:50px;border-bottom-right-radius:50px;border-top-color:#42b983;border-right-color:#42b983;border-width:5px;width:100px;height:100px;transform:rotate(225deg)}.u-circle-progress__right[data-v-786d53e9]{position:absolute;right:0;width:50px;height:100px;overflow:hidden}.u-circle-progress__right__circle[data-v-786d53e9]{position:absolute;right:0;box-sizing:border-box;border-top-color:transparent;border-right-color:transparent;border-top-left-radius:50px;border-bottom-left-radius:50px;border-bottom-right-radius:50px;border-left-color:#c8c8c8;border-bottom-color:#c8c8c8;border-width:5px;width:100px;height:100px;transform:rotate(45deg);transform-origin:center center}.u-index-anchor[data-v-758c5807]{position:sticky;top:0;display:flex;flex-direction:row;align-items:center;padding-left:15px;z-index:1}.u-index-anchor--sticky[data-v-758c5807]{position:sticky;top:0}.u-index-anchor__text[data-v-758c5807]{display:flex;flex-direction:row;align-items:center}.u-index-list__letter[data-v-d15fd6a9]{position:absolute;right:0;text-align:center;z-index:3;padding:0 6px;width:30px}.u-index-list__letter__item[data-v-d15fd6a9]{width:16px;height:16px;border-radius:100px;margin:1px 0;display:flex;flex-direction:row;align-items:center;justify-content:center}.u-index-list__letter__item--active[data-v-d15fd6a9]{background-color:#3c9cff}.u-index-list__letter__item__index[data-v-d15fd6a9]{font-size:12px;text-align:center;line-height:12px}.u-index-list__indicator[data-v-d15fd6a9]{width:50px;height:50px;border-radius:100px 100px 0;text-align:center;color:#fff;background-color:#c9c9c9;transform:rotate(-45deg);display:flex;flex-direction:row;justify-content:center;align-items:center}.u-index-list__indicator__text[data-v-d15fd6a9]{font-size:28px;line-height:28px;font-weight:700;color:#fff;transform:rotate(45deg);text-align:center}.list__item[data-v-d70381bf]{padding:8px 1px}.u-current-city-title[data-v-d70381bf]{color:gray;margin-bottom:5px}.u-current-city-item[data-v-d70381bf]{height:30px}.hot-city-list[data-v-d70381bf]{display:flex!important;flex-direction:row!important;padding:12px 0}.hot-city-list .hot-city-item[data-v-d70381bf]{padding:6px 12px;margin:5px;border:1px solid #ededed}.u-code-input[data-v-5f5a446c]{display:flex;flex-direction:row;position:relative;overflow:hidden}.u-code-input__item[data-v-5f5a446c]{display:flex;flex-direction:row;justify-content:center;align-items:center;position:relative}.u-code-input__item__text[data-v-5f5a446c]{font-size:15px;color:#606266}.u-code-input__item__dot[data-v-5f5a446c]{width:7px;height:7px;border-radius:100px;background-color:#606266}.u-code-input__item__line[data-v-5f5a446c]{position:absolute;bottom:0;height:4px;border-radius:100px;width:40px;background-color:#606266}.u-code-input__item__cursor[data-v-5f5a446c]{position:absolute;top:50%;left:50%;opacity:1;transform:translate(-50%,-50%);width:1px;height:20px;animation:1s u-cursor-flicker-5f5a446c infinite}.u-code-input__input[data-v-5f5a446c]{position:absolute;left:-23.4375rem;width:46.875rem;top:0;background-color:transparent;text-align:left}@keyframes u-cursor-flicker-5f5a446c{0%{opacity:0}50%{opacity:1}to{opacity:0}}.u-col[data-v-7f40599c]{padding:0;box-sizing:border-box}.u-col-0[data-v-7f40599c]{width:0}.u-col-1[data-v-7f40599c]{width:8.3333333333%}.u-col-2[data-v-7f40599c]{width:16.6666666667%}.u-col-3[data-v-7f40599c]{width:25%}.u-col-4[data-v-7f40599c]{width:33.3333333333%}.u-col-5[data-v-7f40599c]{width:41.6666666667%}.u-col-6[data-v-7f40599c]{width:50%}.u-col-7[data-v-7f40599c]{width:58.3333333333%}.u-col-8[data-v-7f40599c]{width:66.6666666667%}.u-col-9[data-v-7f40599c]{width:75%}.u-col-10[data-v-7f40599c]{width:83.3333333333%}.u-col-11[data-v-7f40599c]{width:91.6666666667%}.u-col-12[data-v-7f40599c]{width:100%}.u-collapse-item__content[data-v-aaead9cb]{overflow:hidden;height:0}.u-collapse-item__content__text[data-v-aaead9cb]{padding:12px 15px;color:#606266;font-size:14px;line-height:18px}.u-subsection[data-v-f0ea7e24]{display:flex;flex-direction:row;position:relative;overflow:hidden;width:100%;box-sizing:border-box}.u-subsection--button[data-v-f0ea7e24]{height:34px;background-color:#eeeeef;padding:3px;border-radius:4px;align-items:stretch}.u-subsection--button__bar[data-v-f0ea7e24]{background-color:#fff;border-radius:4px!important}.u-subsection--subsection[data-v-f0ea7e24]{height:32px}.u-subsection__bar[data-v-f0ea7e24]{position:absolute;transition-property:transform,color;transition-duration:.3s;transition-timing-function:ease-in-out}.u-subsection__bar--first[data-v-f0ea7e24]{border-radius:4px 0 0 4px/4px 0px 0px 4px}.u-subsection__bar--center[data-v-f0ea7e24]{border-radius:0/0px}.u-subsection__bar--last[data-v-f0ea7e24]{border-radius:0 4px 4px 0/0px 4px 4px 0px}.u-subsection__item[data-v-f0ea7e24]{display:flex;flex-direction:row;flex:1;justify-content:center;align-items:center;position:relative}.u-subsection__item--no-border-right[data-v-f0ea7e24]{border-right-width:0!important}.u-subsection__item--first[data-v-f0ea7e24]{border-top-left-radius:4px;border-bottom-left-radius:4px}.u-subsection__item--last[data-v-f0ea7e24]{border-top-right-radius:4px;border-bottom-right-radius:4px}.u-subsection__item__text[data-v-f0ea7e24]{font-size:12px;line-height:14px;display:flex;flex-direction:row;align-items:center;transition-property:color;transition-duration:.3s}.item-button--disabled[data-v-f0ea7e24]{cursor:no-drop;color:#bdbdbd!important;border-color:#bdbdbd!important}.item-button--disabled uni-text[data-v-f0ea7e24]{color:#bdbdbd!important}.item-subsection--disabled[data-v-f0ea7e24]{cursor:no-drop;background:#FFFFFF!important;color:#bdbdbd!important;border-color:#bdbdbd!important}.item-subsection--disabled uni-text[data-v-f0ea7e24]{color:#bdbdbd!important}.up-color-picker__content[data-v-3c013809]{width:100%;padding:20px;background-color:#fff}.up-color-picker__header[data-v-3c013809]{text-align:center;margin-bottom:20px}.up-color-picker__title[data-v-3c013809]{font-size:18px;font-weight:700;color:#333}.up-color-picker__switch[data-v-3c013809]{margin-bottom:20px}.up-color-picker__saturation[data-v-3c013809]{position:relative;width:100%;height:150px;border-radius:4px;margin-bottom:15px;overflow:hidden}.up-color-picker__saturation[data-v-3c013809]:after{content:"";position:absolute;top:0;left:0;right:0;bottom:0;background:linear-gradient(to right,#fff,rgba(255,255,255,0))}.up-color-picker__saturation[data-v-3c013809]:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;background:linear-gradient(to top,#000,rgba(0,0,0,0))}.up-color-picker__saturation-pointer[data-v-3c013809]{position:absolute;width:12px;height:12px;border:2px solid #fff;border-radius:50%;transform:translate(-50%,-50%);box-shadow:0 0 2px rgba(0,0,0,.5);pointer-events:none}.up-color-picker__hue[data-v-3c013809],.up-color-picker__alpha[data-v-3c013809]{position:relative;width:100%;height:12px;border-radius:6px;margin-bottom:15px;cursor:pointer}.up-color-picker__hue[data-v-3c013809]{background:linear-gradient(to right,#f00 0%,#ff0 16.66%,#0f0 33.33%,#0ff 50%,#00f 66.66%,#f0f 83.33%,#f00 100%)}.up-color-picker__alpha[data-v-3c013809]{position:relative;overflow:hidden}.up-color-picker__alpha-bg[data-v-3c013809]{position:absolute;top:0;left:0;right:0;bottom:0;background:linear-gradient(45deg,#ccc 25%,transparent 25%,transparent 75%,#ccc 75%),linear-gradient(45deg,#ccc 25%,transparent 25%,transparent 75%,#ccc 75%);background-size:10px 10px;background-position:0 0,5px 5px}.up-color-picker__alpha[data-v-3c013809]:after{content:"";position:absolute;top:0;left:0;right:0;bottom:0;background:linear-gradient(to right,rgba(255,255,255,0),rgb(255,255,255))}.up-color-picker__hue-pointer[data-v-3c013809],.up-color-picker__alpha-pointer[data-v-3c013809]{position:absolute;width:4px;height:16px;background:#fff;border:1px solid #ccc;border-radius:2px;transform:translate(-50%);top:-2px;box-shadow:0 0 2px rgba(0,0,0,.5);pointer-events:none}.up-color-picker__gradient-bar[data-v-3c013809]{width:100%;height:40px;border-radius:4px}.up-color-picker__gradient-track[data-v-3c013809]{position:relative;margin-top:20px;width:100%;height:32px;border-radius:4px;margin-bottom:15px;cursor:pointer}.up-color-picker__gradient-pointer[data-v-3c013809]{position:absolute;top:-10px;transform:translate(-50%);width:0;height:0;border-left:8px solid transparent;border-right:8px solid transparent;border-top:10px solid #333;z-index:10}.up-color-picker__gradient-pointer-inner[data-v-3c013809]{position:absolute;top:-25px;left:-10px;width:20px;height:20px;border-radius:50%;border:2px solid #fff;box-shadow:0 0 2px rgba(0,0,0,.5)}.up-color-picker__gradient-controls[data-v-3c013809]{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;margin-bottom:15px}.up-color-picker__gradient-item[data-v-3c013809]{display:flex;flex-direction:row;align-items:center;margin-right:10px;margin-bottom:10px}.up-color-picker__gradient-color-preview[data-v-3c013809]{width:20px;height:20px;border-radius:50%;margin-right:5px;border:1px solid #eee}.up-color-picker__gradient-percent[data-v-3c013809]{font-size:12px;color:#666;margin-right:5px}.up-color-picker__gradient-direction[data-v-3c013809]{display:flex;flex-direction:row;align-items:center;margin:10px 0}.up-color-picker__gradient__direction-circle[data-v-3c013809]{width:40px;height:40px;border-radius:50%;background:conic-gradient(#ff0000 0deg,#ffff00 60deg,#00ff00 120deg,#00ffff 180deg,#0000ff 240deg,#ff00ff 300deg,#ff0000 360deg);position:relative;margin:10px auto;cursor:pointer;border:2px solid #eee}.up-color-picker__gradient__direction-pointer[data-v-3c013809]{position:absolute;width:6px;height:6px;background:#fff;border:2px solid #333;border-radius:50%;transform:translate(-50%,-50%);box-shadow:0 0 2px rgba(0,0,0,.5);z-index:10;pointer-events:none}.up-color-picker__add-btn[data-v-3c013809]{margin-top:10px}.up-color-picker__common[data-v-3c013809]{margin-top:20px}.up-color-picker__common-title[data-v-3c013809]{display:block;margin-bottom:10px;font-size:14px;color:#666}.up-color-picker__common-list[data-v-3c013809]{display:flex;flex-direction:row;flex-wrap:wrap}.up-color-picker__common-item[data-v-3c013809]{width:24px;height:24px;border-radius:50%;margin-right:10px;margin-bottom:10px;border:1px solid #eee;cursor:pointer}.up-color-picker__footer[data-v-3c013809]{margin-top:20px}.up-color-picker__preview[data-v-3c013809]{display:flex;flex-direction:row;align-items:center;margin-bottom:15px}.up-color-picker__preview-color[data-v-3c013809]{width:40px;height:40px;border-radius:4px;border:1px solid #eee;margin-right:10px}.up-color-picker__preview-text[data-v-3c013809]{font-size:14px;color:#333;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.up-color-picker__actions[data-v-3c013809]{display:flex;flex-direction:row;justify-content:flex-end}.up-color-picker__actions .up-color-picker__btn[data-v-3c013809]{margin-left:10px}.u-notice[data-v-2431afb5]{display:flex;flex-direction:row;align-items:center;justify-content:space-between}.u-notice__left-icon[data-v-2431afb5]{align-items:center;margin-right:5px}.u-notice__right-icon[data-v-2431afb5]{margin-left:5px;align-items:center}.u-notice__swiper[data-v-2431afb5]{height:16px;display:flex;flex-direction:row;align-items:center;flex:1}.u-notice__swiper__item[data-v-2431afb5]{display:flex;flex-direction:row;align-items:center;overflow:hidden}.u-notice__swiper__item__text[data-v-2431afb5]{font-size:14px;color:#f9ae3d}.u-count-down__text[data-v-bd11c6ff]{color:#606266;font-size:15px;line-height:22px}.u-count-num[data-v-6b5d5101]{display:inline-flex;text-align:center}.up-coupon[data-v-b551a844]{position:relative;overflow:hidden;border-radius:.25rem;background:#ffebf0;color:#303133}.up-coupon--coupon[data-v-b551a844]{border-radius:.5rem;overflow:hidden}.up-coupon--coupon[data-v-b551a844]:before{content:"";position:absolute;left:-.75rem;top:50%;transform:translateY(-50%);width:1.5rem;height:1.5rem;background-color:#fff;border-radius:50%}.up-coupon--coupon[data-v-b551a844]:after{content:"";position:absolute;right:-.75rem;top:50%;transform:translateY(-50%);width:1.5rem;height:1.5rem;background-color:#fff;border-radius:50%}.up-coupon--envelope[data-v-b551a844]{border-radius:.5rem}.up-coupon--envelope[data-v-b551a844]:before{content:"";position:absolute;left:0;top:0;right:0;height:.625rem;background:repeating-linear-gradient(-45deg,#ffd000,#ffd000 .3125rem,#ffa000 .3125rem,#ffa000 .625rem)}.up-coupon--card[data-v-b551a844]{border-radius:.5rem}.up-coupon[data-v-b551a844]{width:100%}.up-coupon--small[data-v-b551a844]{height:5rem}.up-coupon--medium[data-v-b551a844]{height:5.625rem}.up-coupon--large[data-v-b551a844]{height:6.875rem}.up-coupon--disabled[data-v-b551a844]{opacity:.5}.up-coupon__content[data-v-b551a844]{display:flex;flex-direction:row;align-items:center;justify-content:space-between;height:100%;padding:0 .9375rem;position:relative;z-index:2}.up-coupon__amount[data-v-b551a844]{display:flex;flex-direction:column;align-items:flex-start;padding-left:.3125rem;padding-right:.9375rem;border-right:1px dashed #ccc}.up-coupon__amount-unit[data-v-b551a844]{font-size:.75rem;font-weight:400}.up-coupon__amount-value[data-v-b551a844]{font-size:1.75rem;font-weight:700;color:red;line-height:1;margin:.3125rem 0}.up-coupon__amount-limit[data-v-b551a844]{font-size:.75rem;opacity:.9}.up-coupon__info[data-v-b551a844]{flex:1;display:flex;flex-direction:column;align-items:flex-start;padding-left:.9375rem}.up-coupon__info-title[data-v-b551a844]{font-size:1rem;font-weight:700;margin-bottom:.3125rem}.up-coupon__info-desc[data-v-b551a844]{font-size:.75rem;opacity:.9;margin-bottom:.3125rem}.up-coupon__info-time[data-v-b551a844]{font-size:.625rem;opacity:.8}.up-coupon__action[data-v-b551a844]{display:flex;flex-direction:row;align-items:center;justify-content:center}.up-coupon__dots[data-v-b551a844]{position:absolute;left:0;top:0;bottom:0;width:100%;display:flex;flex-direction:column;justify-content:space-between;padding:.9375rem 0;z-index:1}.up-coupon__dot[data-v-b551a844]{width:1rem;height:1rem;background-color:#fff;border-radius:50%;margin:0 -.5rem;z-index:3}.up-coupon__rope[data-v-b551a844]{position:absolute;top:-1.25rem;left:50%;transform:translate(-50%);width:2.5rem;height:2.5rem;background:linear-gradient(to right,#ffd000,#ffa000);border-radius:1.25rem 1.25rem 0 0;z-index:1}.up-coupon__rope[data-v-b551a844]:before{content:"";position:absolute;top:0;left:-.625rem;width:.625rem;height:1.25rem;background:linear-gradient(to bottom,#ffd000,#ffa000);border-radius:.3125rem 0 0 .3125rem}.up-coupon__rope[data-v-b551a844]:after{content:"";position:absolute;top:0;right:-.625rem;width:.625rem;height:1.25rem;background:linear-gradient(to bottom,#ffd000,#ffa000);border-radius:0 .3125rem .3125rem 0}.up-coupon--primary[data-v-b551a844]{background:linear-gradient(90deg,#43afff,#3b8cff);color:#fff}.up-coupon--primary .up-coupon__amount[data-v-b551a844]{border-right:1px dashed #eee}.up-coupon--primary .up-coupon__amount-value[data-v-b551a844]{color:#fff}.up-coupon--success[data-v-b551a844]{background:linear-gradient(90deg,#67dda9,#19be6b);color:#fff!important}.up-coupon--success .up-coupon__amount[data-v-b551a844]{border-right:1px dashed #eee}.up-coupon--success .up-coupon__amount-value[data-v-b551a844]{color:#fff}.up-coupon--warning[data-v-b551a844]{background:linear-gradient(90deg,#ff9739,#ff6a39);color:#fff}.up-coupon--warning .up-coupon__amount[data-v-b551a844]{border-right:1px dashed #eee}.up-coupon--warning .up-coupon__amount-value[data-v-b551a844]{color:#fff}.up-coupon--error[data-v-b551a844]{background:linear-gradient(90deg,#ff7070,#ff4747);color:#fff}.up-coupon--error .up-coupon__amount[data-v-b551a844]{border-right:1px dashed #eee}.up-coupon--error .up-coupon__amount-value[data-v-b551a844]{color:#fff}.u-cropper .my-canvas[data-v-8ca3190e]{display:flex;position:fixed!important;background:#000000;left:0;z-index:100000;width:100%}.u-cropper .my-avatar[data-v-8ca3190e]{width:4.6875rem;height:4.6875rem;border-radius:100%}.u-cropper .oper-canvas[data-v-8ca3190e]{display:flex;position:fixed!important;left:0;z-index:100001;width:100%}.u-cropper .prv-canvas[data-v-8ca3190e]{display:flex;position:fixed!important;background:#000000;left:0;z-index:200000;width:100%}.u-cropper .oper-wrapper[data-v-8ca3190e]{height:50px;position:fixed!important;box-sizing:border-box;border:1px solid #F1F1F1;background:#ffffff;width:100%;left:0;bottom:0;z-index:100009;flex-direction:row}.u-cropper .oper[data-v-8ca3190e]{display:flex;flex-direction:column;justify-content:center;padding:.3125rem .625rem;width:100%;height:100%;box-sizing:border-box;align-self:center}.u-cropper .btn-wrapper[data-v-8ca3190e]{display:flex;flex-direction:row;height:50px;justify-content:space-between}.u-cropper .btn-wrapper uni-view[data-v-8ca3190e]{display:flex;align-items:center;justify-content:center;font-size:16px;color:#333;border:1px solid #f1f1f1;border-radius:6%}.u-cropper .hover[data-v-8ca3190e]{background:#f1f1f1;border-radius:6%}.u-cropper .clr-wrapper[data-v-8ca3190e]{display:flex;flex-direction:row;flex-grow:1}.u-cropper .clr-wrapper uni-view[data-v-8ca3190e]{display:flex;align-items:center;justify-content:center;font-size:16px;color:#333;border:1px solid #f1f1f1;border-radius:6%}.u-cropper .my-slider[data-v-8ca3190e]{flex-grow:1}.u-toolbar[data-v-1f211d29]{height:42px;display:flex;flex-direction:row;justify-content:space-between;align-items:center}.u-toolbar__wrapper__cancel[data-v-1f211d29]{color:#909193;font-size:15px;padding:0 15px}.u-toolbar__title[data-v-1f211d29]{color:#303133;padding:0 1.875rem;font-size:16px;font-weight:700;flex:1;text-align:center}.u-toolbar__wrapper__left[data-v-1f211d29],.u-toolbar__wrapper__right[data-v-1f211d29]{display:flex;flex-direction:row}.u-toolbar__wrapper__confirm[data-v-1f211d29]{color:#3c9cff;font-size:15px;padding:0 15px}.u-picker[data-v-dd8ac9af],.u-picker-input[data-v-dd8ac9af]{position:relative}.u-picker-input .input-cover[data-v-dd8ac9af]{opacity:0;position:absolute;top:0;bottom:0;left:0;right:0;z-index:1}.u-picker__view__column[data-v-dd8ac9af]{display:flex;flex-direction:row;flex:1;justify-content:center}.u-picker__view__column__item[data-v-dd8ac9af]{display:flex;flex-direction:row;justify-content:center;align-items:center;font-size:16px;text-align:center;display:block;color:#303133}.u-picker__view__column__item--disabled[data-v-dd8ac9af]{cursor:not-allowed;opacity:.35}.u-picker--loading[data-v-dd8ac9af]{position:absolute;top:0;right:0;left:0;bottom:0;display:flex;flex-direction:row;justify-content:center;align-items:center;background-color:rgba(255,255,255,.87);z-index:1000}.u-datetime-picker[data-v-53153830]{flex:1}.u-datetime-picker__has-input[data-v-53153830]{position:relative;display:flex;flex-direction:column;justify-content:center;width:100%}.u-datetime-picker__has-input .input-cover[data-v-53153830]{opacity:0;position:absolute;top:0;bottom:0;left:0;right:0;display:flex;flex-direction:column;justify-content:center;border-radius:4px;border:1px solid #eee;padding:0 10px}.u-divider[data-v-fb6c2f20]{display:flex;flex-direction:row;align-items:center;margin:15px 0}.u-divider__text[data-v-fb6c2f20]{margin:0 15px}.u-divider__dot[data-v-fb6c2f20]{font-size:12px;margin:0 12px;color:#c0c4cc}.u-dragsort[data-v-a075e5e7]{width:100%}.u-dragsort .u-dragsort-area[data-v-a075e5e7]{width:100%;position:relative}.u-dragsort .u-dragsort-item[data-v-a075e5e7]{position:absolute;width:100%}.u-dragsort .u-dragsort-item.dragging[data-v-a075e5e7]{z-index:1000;box-shadow:0 6px 20px rgba(0,0,0,.15)}.u-dragsort .u-dragsort-item .u-dragsort-item-content[data-v-a075e5e7]{padding:0;box-sizing:border-box}.u-dragsort.u-dragsort--vertical .u-dragsort-item[data-v-a075e5e7]{height:auto}.u-dragsort.u-dragsort--horizontal .u-dragsort-area[data-v-a075e5e7]{display:flex;white-space:nowrap;height:auto}.u-dragsort.u-dragsort--horizontal .u-dragsort-item[data-v-a075e5e7]{width:auto;height:auto}.u-dragsort.u-dragsort--all .u-dragsort-area[data-v-a075e5e7]{height:auto}.u-dragsort.u-dragsort--all .u-dragsort-item[data-v-a075e5e7]{width:auto;height:auto}.u-dropdown-item__scroll[data-v-1f607866]{background:#ffffff}.u-dropdown[data-v-056d63a5]{flex:1;width:100%;position:relative}.u-dropdown__menu[data-v-056d63a5]{display:flex;flex-direction:row;position:relative;z-index:11;height:2.5rem}.u-dropdown__menu__item[data-v-056d63a5]{flex:1;display:flex;flex-direction:row;justify-content:center;align-items:center}.u-dropdown__menu__item .u-flex-row[data-v-056d63a5]{flex-direction:row}.u-dropdown__menu__item__text[data-v-056d63a5]{font-size:.875rem;color:#606266}.u-dropdown__menu__item__arrow[data-v-056d63a5]{margin-left:.1875rem;transition:transform .3s;align-items:center;display:flex;flex-direction:row}.u-dropdown__menu__item__arrow--rotate[data-v-056d63a5]{transform:rotate(180deg)}.u-dropdown__content[data-v-056d63a5]{position:absolute;z-index:8;width:100%;left:0;bottom:0;overflow:hidden}.u-dropdown__content__mask[data-v-056d63a5]{position:absolute;z-index:9;background:rgba(0,0,0,.3);width:100%;left:0;top:0;bottom:0}.u-dropdown__content__popup[data-v-056d63a5]{position:relative;z-index:10;transition:transform .3s;transform:translate3D(0,-100%,0);overflow:hidden}.u-empty[data-v-b1d90c0b]{display:flex;flex-direction:row;flex-direction:column;justify-content:center;align-items:center}.u-empty__text[data-v-b1d90c0b],.u-slot-wrap[data-v-b1d90c0b]{display:flex;flex-direction:row;justify-content:center;align-items:center;margin-top:.625rem}.u-float-button[data-v-ea3f9851]{z-index:999}.u-float-button .show-list[data-v-ea3f9851]{transform:rotate(45deg)}.u-float-button__list[data-v-ea3f9851]{position:absolute;bottom:0;display:flex;flex-direction:column}.u-float-button__list>uni-view[data-v-ea3f9851]{margin:5px 0}.u-form-item[data-v-28df5fc3]{display:flex;flex-direction:column;font-size:14px;color:#303133}.u-form-item__body[data-v-28df5fc3]{display:flex;flex-direction:row;padding:10px 0}.u-form-item__body__left[data-v-28df5fc3]{display:flex;flex-direction:row;align-items:center}.u-form-item__body__left__content[data-v-28df5fc3]{position:relative;display:flex;flex-direction:row;align-items:center;padding-right:.3125rem;flex:1}.u-form-item__body__left__content__icon[data-v-28df5fc3]{margin-right:.25rem}.u-form-item__body__left__content__required[data-v-28df5fc3]{position:absolute;left:-9px;color:#f56c6c;line-height:20px;font-size:20px;top:3px}.u-form-item__body__left__content__label[data-v-28df5fc3]{display:flex;flex-direction:row;align-items:center;flex:1;color:#303133;font-size:15px}.u-form-item__body__right[data-v-28df5fc3]{flex:1}.u-form-item__body__right__content[data-v-28df5fc3]{display:flex;flex-direction:row;align-items:center;flex:1}.u-form-item__body__right__content__slot[data-v-28df5fc3]{flex:1;display:flex;flex-direction:row;align-items:center}.u-form-item__body__right__content__icon[data-v-28df5fc3]{margin-left:.3125rem;color:#c0c4cc;font-size:.9375rem}.u-form-item__body__right__message[data-v-28df5fc3]{font-size:12px;line-height:12px;color:#f56c6c}.u-number-box[data-v-a99b0797]{display:flex;flex-direction:row;align-items:center}.u-number-box__slot[data-v-a99b0797]{touch-action:none}.u-number-box__plus[data-v-a99b0797],.u-number-box__minus[data-v-a99b0797]{width:35px;display:flex;flex-direction:row;justify-content:center;align-items:center;touch-action:none}.u-number-box__plus--hover[data-v-a99b0797],.u-number-box__minus--hover[data-v-a99b0797]{background-color:#e6e6e6!important}.u-number-box__plus--disabled[data-v-a99b0797],.u-number-box__minus--disabled[data-v-a99b0797]{color:#c8c9cc;background-color:#f7f8fa}.u-number-box__plus[data-v-a99b0797]{border-top-right-radius:4px;border-bottom-right-radius:4px}.u-number-box__minus[data-v-a99b0797]{border-top-left-radius:4px;border-bottom-left-radius:4px}.u-number-box__input[data-v-a99b0797]{position:relative;text-align:center;font-size:15px;padding:0;margin:0 2px;display:flex;flex-direction:row;align-items:center;justify-content:center}.u-number-box__input--disabled[data-v-a99b0797]{color:#c8c9cc;background-color:#f2f3f5}.up-goods-sku[data-v-03f47ab6]{background-color:#fff;overflow:hidden}.up-goods-sku .up-goods-sku-container[data-v-03f47ab6]{padding:.125rem .9375rem}.up-goods-sku__header[data-v-03f47ab6]{display:flex;flex-direction:row;padding:.9375rem 0;position:relative}.up-goods-sku__header__image[data-v-03f47ab6]{width:5.625rem;height:5.625rem;border-radius:.3125rem;overflow:hidden;margin-right:.625rem}.up-goods-sku__header__image uni-image[data-v-03f47ab6]{width:100%;height:100%}.up-goods-sku__header__info[data-v-03f47ab6]{flex:1}.up-goods-sku__header__info__price[data-v-03f47ab6]{display:flex;flex-direction:row;align-items:baseline;margin-bottom:.625rem}.up-goods-sku__header__info__price__symbol[data-v-03f47ab6]{font-size:.75rem;color:#fa3534;margin-right:.125rem}.up-goods-sku__header__info__price__value[data-v-03f47ab6]{font-size:1.125rem;color:#fa3534;font-weight:700}.up-goods-sku__header__info__stock[data-v-03f47ab6]{font-size:.8125rem;color:#999;margin-bottom:.625rem}.up-goods-sku__header__info__selected[data-v-03f47ab6]{font-size:.8125rem;color:#333}.up-goods-sku__content[data-v-03f47ab6]{max-height:18.75rem;padding:0 .9375rem .9375rem 0}.up-goods-sku__content__item[data-v-03f47ab6]{margin-bottom:.9375rem}.up-goods-sku__content__item__title[data-v-03f47ab6]{font-size:.875rem;color:#333;margin-bottom:.625rem}.up-goods-sku__content__item__list[data-v-03f47ab6]{display:flex;flex-direction:row;flex-wrap:wrap}.up-goods-sku__content__item__list__item[data-v-03f47ab6]{padding:.3125rem .625rem;border:.0625rem solid #eee;border-radius:.3125rem;margin-right:.625rem;margin-bottom:.625rem;font-size:.8125rem;color:#333}.up-goods-sku__content__item__list__item--active[data-v-03f47ab6]{border-color:#fa3534;color:#fa3534}.up-goods-sku__content__item__list__item--disabled[data-v-03f47ab6]{color:#ccc;border-color:#eee}.up-goods-sku__content__count[data-v-03f47ab6]{display:flex;flex-direction:row;align-items:center;justify-content:space-between;margin-top:.625rem}.up-goods-sku__content__count__title[data-v-03f47ab6]{font-size:.875rem;color:#333}.up-goods-sku__footer[data-v-03f47ab6]{padding:.625rem 0 1.25rem}.u-grid-item[data-v-e3ff7c16]{align-items:center;justify-content:center;position:relative;flex-direction:column;box-sizing:border-box;display:flex}.u-grid-item--hover-class[data-v-e3ff7c16]{opacity:.5}.u-grid[data-v-7affda4b]{justify-content:center;display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;display:grid!important;grid-gap:var(--5ee80e6a);grid-template-columns:repeat(var(--5ee82916),1fr)}.u-image[data-v-fb00dbba]{position:relative;transition:opacity .5s ease-in-out}.u-image__image[data-v-fb00dbba]{width:100%;height:100%}.u-image__loading[data-v-fb00dbba],.u-image__error[data-v-fb00dbba]{position:absolute;top:0;left:0;width:100%;height:100%;display:flex;flex-direction:row;align-items:center;justify-content:center;background-color:#f3f4f6;color:#909193;font-size:1.4375rem}.u-keyboard[data-v-dca35360]{display:flex;flex-direction:row;justify-content:space-around;background-color:#e0e4e6;flex-wrap:wrap;padding:8px .3125rem}.u-keyboard__button-wrapper[data-v-dca35360]{box-shadow:0 2px #bbbcbe;margin:4px .1875rem;border-radius:4px}.u-keyboard__button-wrapper__button[data-v-dca35360]{width:6.9375rem;height:2.8125rem;background-color:#fff;display:flex;flex-direction:row;justify-content:center;align-items:center;border-radius:4px}.u-keyboard__button-wrapper__button__text[data-v-dca35360]{font-size:20px;font-weight:500;color:#303133}.u-keyboard__button-wrapper__button--gray[data-v-dca35360]{background-color:#c8cad2}.u-hover-class[data-v-dca35360]{background-color:#bbbcc6}.u-keyboard__tooltip[data-v-450e1769]{display:flex;flex-direction:row;justify-content:space-between;background-color:#fff;padding:14px 12px}.u-keyboard__tooltip__item[data-v-450e1769]{color:#333;flex:1;text-align:center;font-size:15px}.u-keyboard__tooltip__submit[data-v-450e1769]{text-align:right;color:#3c9cff}.u-keyboard__tooltip__cancel[data-v-450e1769]{text-align:left;color:#888}.u-keyboard__tooltip__tips[data-v-450e1769]{color:#909193}.u-wrap[data-v-ef410ef7]{background-color:#eee;overflow:hidden}.u-lazy-item[data-v-ef410ef7]{transform:transition3d(0,0,0);will-change:transform;display:block;width:100%}.u-line-progress[data-v-d551b804]{align-items:stretch;position:relative;display:flex;flex-direction:row;flex:1;overflow:hidden;border-radius:100px}.u-line-progress__background[data-v-d551b804]{background-color:#ececec;border-radius:100px;flex:1}.u-line-progress__line[data-v-d551b804]{position:absolute;top:0;bottom:0;align-items:center;display:flex;flex-direction:row;color:#fff;border-radius:100px;transition:width .5s ease;justify-content:flex-end}.u-line-progress__text[data-v-d551b804]{font-size:10px;align-items:center;text-align:right;color:#fff;margin-right:5px;transform:scale(.9)}.u-list[data-v-19d38be7]{display:flex;flex-direction:column}.u-loading-page[data-v-af8baba8]{display:flex;flex-direction:column;flex:1;align-items:center;justify-content:center}.u-loading-page__warpper[data-v-af8baba8]{margin-top:-150px;justify-content:center;align-items:center;color:#c8c8c8;font-size:19px;display:flex;flex-direction:column}.u-loading-page__warpper__loading-icon[data-v-af8baba8]{margin-bottom:10px}.u-loading-page__warpper__loading-icon__img[data-v-af8baba8]{width:40px;height:40px}.u-loading-page__warpper__text[data-v-af8baba8]{font-size:19px;color:#c8c8c8}.u-loadmore[data-v-4d53dbf5]{display:flex;flex-direction:row;align-items:center;justify-content:center;flex:1}.u-loadmore__content[data-v-4d53dbf5]{margin:0 15px;display:flex;flex-direction:row;align-items:center;justify-content:center}.u-loadmore__content__icon-wrap[data-v-4d53dbf5]{margin-right:8px}.u-loadmore__content__text[data-v-4d53dbf5]{font-size:14px;color:#606266}.u-loadmore__content__dot-text[data-v-4d53dbf5]{font-size:15px;color:#909193}._a[data-v-719a8991]{padding:1.5px 0;color:#366092;word-break:break-all}._hover[data-v-719a8991]{text-decoration:underline;opacity:.7}._img[data-v-719a8991]{max-width:100%;-webkit-touch-callout:none}._block[data-v-719a8991]{display:block}._b[data-v-719a8991],._strong[data-v-719a8991]{font-weight:700}._code[data-v-719a8991]{font-family:monospace}._del[data-v-719a8991]{text-decoration:line-through}._em[data-v-719a8991],._i[data-v-719a8991]{font-style:italic}._h1[data-v-719a8991]{font-size:2em}._h2[data-v-719a8991]{font-size:1.5em}._h3[data-v-719a8991]{font-size:1.17em}._h5[data-v-719a8991]{font-size:.83em}._h6[data-v-719a8991]{font-size:.67em}._h1[data-v-719a8991],._h2[data-v-719a8991],._h3[data-v-719a8991],._h4[data-v-719a8991],._h5[data-v-719a8991],._h6[data-v-719a8991]{display:block;font-weight:700}._image[data-v-719a8991]{height:1px}._ins[data-v-719a8991]{text-decoration:underline}._li[data-v-719a8991]{display:list-item}._ol[data-v-719a8991]{list-style-type:decimal}._ol[data-v-719a8991],._ul[data-v-719a8991]{display:block;padding-left:40px;margin:1em 0}._q[data-v-719a8991]:before{content:'"'}._q[data-v-719a8991]:after{content:'"'}._sub[data-v-719a8991]{font-size:smaller;vertical-align:sub}._sup[data-v-719a8991]{font-size:smaller;vertical-align:super}._thead[data-v-719a8991],._tbody[data-v-719a8991],._tfoot[data-v-719a8991]{display:table-row-group}._tr[data-v-719a8991]{display:table-row}._td[data-v-719a8991],._th[data-v-719a8991]{display:table-cell;vertical-align:middle}._th[data-v-719a8991]{font-weight:700;text-align:center}._ul[data-v-719a8991]{list-style-type:disc}._ul ._ul[data-v-719a8991]{margin:0;list-style-type:circle}._ul ._ul ._ul[data-v-719a8991]{list-style-type:square}._abbr[data-v-719a8991],._b[data-v-719a8991],._code[data-v-719a8991],._del[data-v-719a8991],._em[data-v-719a8991],._i[data-v-719a8991],._ins[data-v-719a8991],._label[data-v-719a8991],._q[data-v-719a8991],._span[data-v-719a8991],._strong[data-v-719a8991],._sub[data-v-719a8991],._sup[data-v-719a8991]{display:inline}._root[data-v-58a60068]{padding:1px 0;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch}._select[data-v-58a60068]{-webkit-user-select:text;-moz-user-select:text;user-select:text}.up-markdown[data-v-02c67532]{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif;font-size:16px;line-height:1.6;color:#333;padding:16px;word-wrap:break-word}.up-markdown[data-v-02c67532] h1{font-size:32px;margin:8px 0;font-weight:700}.up-markdown[data-v-02c67532] h2{font-size:24px;margin:8px 0;font-weight:700}.up-markdown[data-v-02c67532] h3{font-size:18px;margin:7px 0;font-weight:700}.up-markdown[data-v-02c67532] h4{font-size:16px;margin:7px 0;font-weight:700}.up-markdown[data-v-02c67532] h5{font-size:13px;margin:6px 0;font-weight:700}.up-markdown[data-v-02c67532] h6{font-size:10px;margin:5px 0;font-weight:700}.up-markdown[data-v-02c67532] p{margin:16px 0}.up-markdown[data-v-02c67532] a{color:#007aff;text-decoration:none}.up-markdown[data-v-02c67532] a:hover{text-decoration:underline}.up-markdown[data-v-02c67532] ul,.up-markdown[data-v-02c67532] ol{margin:16px 0;padding-left:32px}.up-markdown[data-v-02c67532] ul li,.up-markdown[data-v-02c67532] ol li{margin:8px 0}.up-markdown[data-v-02c67532] ul li{list-style-type:disc}.up-markdown[data-v-02c67532] ol li{list-style-type:decimal}.up-markdown[data-v-02c67532] blockquote{margin:8px 0;padding:0 10px;border-left:4px solid #ccc;color:#666}[data-v-02c67532] .up-markdown-code{font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace;font-size:14px;background-color:#f6f8fa;padding:3px 6px;border-radius:3px;display:flex}.up-markdown[data-v-02c67532] .code-lang{width:100%;overflow-x:auto}.up-markdown[data-v-02c67532] pre{font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace;font-size:14px;background-color:#f6f8fa;padding:16px;overflow:auto;border-radius:6px;margin:16px 0}.up-markdown[data-v-02c67532] pre ::v-deep code{background:none;padding:0}.up-markdown[data-v-02c67532] table{border-collapse:collapse;margin:16px 0;width:100%}.up-markdown[data-v-02c67532] table th,.up-markdown[data-v-02c67532] table td{padding:6px 13px;border:1px solid #dfe2e5}.up-markdown[data-v-02c67532] table th{font-weight:600}.up-markdown[data-v-02c67532] table tr:nth-child(2n){background-color:#f6f8fa}.up-markdown[data-v-02c67532] img{max-width:100%;box-sizing:content-box;background-color:#fff;margin:16px 0}.up-markdown[data-v-02c67532] hr{height:1px;padding:0;margin:24px 0;background-color:#e1e4e8;border:0}.up-markdown.dark[data-v-02c67532]{color:#ccc;background-color:#1e1e1e}[data-v-02c67532] .up-markdown.dark-code,.up-markdown.dark[data-v-02c67532] pre{background-color:#2d2d2d;color:#dcdcdc}.up-markdown.dark[data-v-02c67532] blockquote{margin:8px 0;padding:0 10px;border-left:4px solid #ccc;color:#bbb}.up-markdown.dark[data-v-02c67532] a{color:#4da6ff}[data-v-02c67532] .up-markdown-line-numbers{display:flex;flex-direction:column;align-items:flex-start;padding-right:10px;margin-right:10px;border-right:1px solid #ddd;-webkit-user-select:none;-moz-user-select:none;user-select:none}[data-v-02c67532] .up-markdown-line-numbers .up-markdown-line-number{color:#999;font-size:14px;line-height:1.6}@keyframes breathe-8e923d37{0%{opacity:.3}50%{opacity:1}to{opacity:.3}}.u-char-box[data-v-8e923d37]{text-align:center}.u-char-flex[data-v-8e923d37]{display:flex;flex-direction:row;justify-content:center;flex-wrap:wrap;position:relative}.u-input[data-v-8e923d37]{position:absolute;top:0;left:-100%;width:200%;height:100%;text-align:left;z-index:9;opacity:0;background:none}.u-char-item[data-v-8e923d37]{position:relative;width:2.8125rem;height:2.8125rem;margin:.3125rem;font-size:1.875rem;font-weight:700;color:#303133;line-height:2.8125rem;display:flex;flex-direction:row;justify-content:center;align-items:center}.u-middle-line[data-v-8e923d37]{border:none}.u-box[data-v-8e923d37]{box-sizing:border-box;border:.0625rem solid #cccccc;border-radius:.1875rem}.u-box-active[data-v-8e923d37]{overflow:hidden;animation-timing-function:ease-in-out;animation-duration:1.5s;animation-iteration-count:infinite;animation-direction:alternate;border:.0625rem solid #3c9cff}.u-middle-line-active[data-v-8e923d37]{background:#3c9cff}.u-breathe[data-v-8e923d37]{animation:breathe-8e923d37 2s infinite ease}.u-placeholder-line[data-v-8e923d37]{display:none;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:.0625rem;height:1.25rem;background:#333333;animation:twinkling 1.5s infinite ease}.u-animation-breathe[data-v-8e923d37]{animation-name:breathe-8e923d37}.u-dot[data-v-8e923d37]{font-size:1.0625rem;line-height:1.0625rem}.u-middle-line[data-v-8e923d37]{height:4px;background:#000000;width:80%;position:absolute;border-radius:2px;top:50%;left:50%;transform:translate(-50%,-50%)}.u-bottom-line-active[data-v-8e923d37]{background:#3c9cff}.u-bottom-line[data-v-8e923d37]{height:4px;background:#000000;width:80%;position:absolute;border-radius:2px;bottom:0;left:50%;transform:translate(-50%)}.u-navbar-mini__inner[data-v-24a015a3]{width:5.625rem;overflow:hidden}.u-navbar-mini--fixed[data-v-24a015a3]{position:fixed;left:20px;right:0;top:10px;z-index:11}.u-navbar-mini__content[data-v-24a015a3]{display:flex;flex-direction:row;padding:0 15px;border-radius:20px;align-items:center;height:36px;background-color:#9acafc;position:relative;justify-content:space-between}.u-navbar-mini__content__left[data-v-24a015a3]{display:flex;flex-direction:row;align-items:center}.u-navbar-mini__content__left--hover[data-v-24a015a3]{opacity:.7}.u-navbar--fixed[data-v-c82aef97]{position:fixed;left:0;right:0;top:0;z-index:11}.u-navbar__content[data-v-c82aef97]{display:flex;flex-direction:row;align-items:center;height:44px;background-color:#9acafc;position:relative;justify-content:center}.u-navbar__content__left[data-v-c82aef97],.u-navbar__content__right[data-v-c82aef97]{padding:0 13px;position:absolute;top:0;bottom:0;display:flex;flex-direction:row;align-items:center}.u-navbar__content__left[data-v-c82aef97]{left:0}.u-navbar__content__left--hover[data-v-c82aef97]{opacity:.7}.u-navbar__content__left__text[data-v-c82aef97]{font-size:15px;margin-left:3px}.u-navbar__content__title[data-v-c82aef97]{text-align:center;font-size:16px;color:#303133}.u-navbar__content__right[data-v-c82aef97]{right:0}.u-navbar__content__right__text[data-v-c82aef97]{font-size:15px;margin-left:3px}.u-no-network[data-v-91ae78af]{display:flex;flex-direction:column;justify-content:center;align-items:center;margin-top:-100px}.u-no-network__tips[data-v-91ae78af]{color:#909193;font-size:14px;margin-top:15px}.u-no-network__app[data-v-91ae78af]{display:flex;flex-direction:row;margin-top:6px}.u-no-network__app__setting[data-v-91ae78af]{color:#c0c4cc;font-size:13px}.u-no-network__app__to-setting[data-v-91ae78af]{font-size:13px;color:#3c9cff;margin-left:3px}.u-no-network__retry[data-v-91ae78af]{display:flex;flex-direction:row;justify-content:center;margin-top:15px}.u-notice[data-v-1b3eeab9]{display:flex;flex-direction:row;align-items:center;justify-content:space-between}.u-notice__left-icon[data-v-1b3eeab9]{align-items:center;margin-right:5px}.u-notice__right-icon[data-v-1b3eeab9]{margin-left:5px;align-items:center}.u-notice__content[data-v-1b3eeab9]{text-align:right;flex:1;display:flex;flex-direction:row;flex-wrap:nowrap;overflow:hidden}.u-notice__content__text[data-v-1b3eeab9]{font-size:14px;color:#f9ae3d;padding-left:100%;word-break:keep-all;white-space:nowrap;animation:u-loop-animation-1b3eeab9 10s linear infinite both;display:flex;flex-direction:row}@keyframes u-loop-animation-1b3eeab9{0%{transform:translateZ(0)}to{transform:translate3d(-100%,0,0)}}.u-notice-bar[data-v-2867a812]{overflow:hidden;padding:9px 12px;flex:1}.u-notify[data-v-6737e5d3]{padding:8px 10px}.u-notify__warpper[data-v-6737e5d3]{display:flex;flex-direction:row;align-items:center;text-align:center;justify-content:center}.u-notify__warpper__text[data-v-6737e5d3]{font-size:15px;text-align:center}.u-notify--primary[data-v-6737e5d3]{background-color:#3c9cff}.u-notify--success[data-v-6737e5d3]{background-color:#5ac725}.u-notify--error[data-v-6737e5d3]{background-color:#f56c6c}.u-notify--warning[data-v-6737e5d3]{background-color:#f9ae3d}.u-pagination[data-v-e1093c2b]{display:flex;flex-direction:row;align-items:center;justify-content:space-between;flex-wrap:wrap;font-size:14px;color:#606266}.u-pagination .u-pagination-total[data-v-e1093c2b]{margin-right:10px}.u-pagination .u-pagination-sizes[data-v-e1093c2b]{margin-right:10px;padding:4px;border:.03125rem solid #dcdfe6;border-radius:4px}.u-pagination .u-pagination-btn[data-v-e1093c2b]{margin:0 3px;padding:4px;border:.03125rem solid #dcdfe6;border-radius:4px;background-color:#f5f7fa}.u-pagination .u-pagination-btn.disabled[data-v-e1093c2b]{opacity:.5}.u-pagination .u-pagination-item[data-v-e1093c2b]{margin:0 2px;padding:4px 8px;border-radius:4px}.u-pagination .u-pagination-item.active[data-v-e1093c2b]{background-color:#409eff;color:#fff}.u-pagination .u-pagination-jumper[data-v-e1093c2b]{width:40px;height:28px;margin:0 5px;padding:0 5px;border:.03125rem solid #dcdfe6;border-radius:4px;font-size:14px}.u-picker-data__trigger[data-v-389db455]{position:relative}.u-picker-data__trigger__cover[data-v-389db455]{position:absolute;top:0;left:0;right:0;bottom:0;z-index:10}.u-tooltip[data-v-d173c5a5]{position:relative;display:flex;flex-direction:row}.u-tooltip__wrapper[data-v-d173c5a5]{display:flex;flex-direction:row;justify-content:center;white-space:nowrap}.u-tooltip__wrapper__text[data-v-d173c5a5]{font-size:14px}.u-tooltip__wrapper__popup[data-v-d173c5a5]{display:flex;flex-direction:row;justify-content:center}.u-tooltip__wrapper__popup__list[data-v-d173c5a5]{background-color:#060607;color:#fff;position:relative;flex:1;border-radius:5px;padding:0;display:flex;flex-direction:row;align-items:center;overflow:hidden}.u-tooltip__wrapper__popup__list__btn[data-v-d173c5a5]{padding:11px 13px}.u-tooltip__wrapper__popup__list__btn--hover[data-v-d173c5a5]{background-color:#58595b}.u-tooltip__wrapper__popup__list__btn__text[data-v-d173c5a5]{line-height:12px;font-size:13px;color:#fff}.u-tooltip__wrapper__popup__indicator[data-v-d173c5a5]{position:absolute;background-color:#060607;width:14px;height:14px;bottom:-4px;transform:rotate(45deg);border-radius:2px;z-index:-1}.u-tooltip__wrapper__popup__indicator--hover[data-v-d173c5a5]{background-color:#58595b}.up-popover__content[data-v-de70b865]{display:flex;flex-direction:row;align-items:center;padding:12px 16px}.u-qrcode__loading[data-v-71a04bd9]{display:flex;justify-content:center;align-items:center;background-color:#f7f7f7;position:absolute;top:0;bottom:0;left:0;right:0}.u-qrcode__content[data-v-71a04bd9]{position:relative}.u-qrcode__content__canvas[data-v-71a04bd9]{position:fixed;top:-3124.96875rem;left:-3124.96875rem;z-index:-99999}.up-poster[data-v-7a9b18c9]{position:relative}.up-poster__canvas[data-v-7a9b18c9]{position:relative;overflow:hidden}.up-poster__hidden-canvas[data-v-7a9b18c9],.up-poster__hidden-qrcode[data-v-7a9b18c9]{position:fixed;top:-10000px;left:-10000px;z-index:-1}.up-poster__hidden-qrcode--hidden[data-v-7a9b18c9]{display:none}.u-pull-refresh[data-v-ce9e2ded]{position:relative;height:100%;overflow:hidden}.refresh-area[data-v-ce9e2ded]{position:absolute;left:0;right:0;top:0;display:flex;align-items:flex-end;justify-content:center;overflow:hidden;transition:height .2s ease-out}.refresh-content-wrapper[data-v-ce9e2ded]{height:100%;transition:transform .2s ease-out}.scroll-wrapper[data-v-ce9e2ded]{height:100%}.refresh-content[data-v-ce9e2ded]{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;padding-bottom:10px}.spinner[data-v-ce9e2ded]{width:16px;height:16px;border:2px solid #f3f3f3;border-top:2px solid #666;border-radius:50%;animation:spin-ce9e2ded 1s linear infinite}@keyframes spin-ce9e2ded{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.refresh-text[data-v-ce9e2ded]{font-size:14px;color:#666}.u-radio-group[data-v-18ffa7d5]{flex:1}.u-radio-group--row[data-v-18ffa7d5]{display:flex;flex-flow:row wrap}.u-radio-group--column[data-v-18ffa7d5]{display:flex;flex-direction:column}.u-radio[data-v-0de11db6]{display:flex;overflow:hidden;flex-direction:row;align-items:center;margin-bottom:5px;margin-top:5px}.u-radio-label--left[data-v-0de11db6]{flex-direction:row}.u-radio-label--right[data-v-0de11db6]{flex-direction:row-reverse;justify-content:space-between}.u-radio__icon-wrap[data-v-0de11db6]{box-sizing:border-box;transition-property:border-color,background-color,color;transition-duration:.2s;color:#606266;display:flex;flex-direction:row;align-items:center;justify-content:center;color:transparent;text-align:center;margin-right:6px;font-size:20px;border-width:1px;border-color:#c8c9cc;border-style:solid}.u-radio__icon-wrap--circle[data-v-0de11db6]{border-radius:100%}.u-radio__icon-wrap--square[data-v-0de11db6]{border-radius:3px}.u-radio__icon-wrap--checked[data-v-0de11db6]{color:#fff;background-color:red;border-color:#2979ff}.u-radio__icon-wrap--disabled[data-v-0de11db6]{background-color:#ebedf0!important}.u-radio__icon-wrap--disabled--checked[data-v-0de11db6]{color:#c8c9cc!important}.u-radio__label[data-v-0de11db6]{word-wrap:break-word;margin-left:5px;margin-right:12px;color:#606266;font-size:15px}.u-radio__label--disabled[data-v-0de11db6]{color:#c8c9cc}.u-rate[data-v-170d13b0]{display:flex;flex-direction:row;align-items:center;margin:0;padding:0;touch-action:none}.u-rate__content[data-v-170d13b0]{display:flex;flex-direction:row}.u-rate__content__item[data-v-170d13b0]{position:relative}.u-rate__content__item__icon-wrap--half[data-v-170d13b0]{position:absolute;overflow:hidden;top:0;left:0}.up-icon[data-v-170d13b0]{box-sizing:border-box}.u-read-more__content[data-v-02f1b018]{overflow:hidden;color:#606266;font-size:15px;text-align:left}.u-read-more__toggle[data-v-02f1b018]{display:flex;flex-direction:row;justify-content:center;position:relative}.u-read-more__toggle__text[data-v-02f1b018]{display:flex;flex-direction:row;align-items:center;justify-content:center;margin-top:5px}.u-virtual-list[data-v-3ad5e4d9]{position:relative;overflow:hidden}.virtual-scroll-container[data-v-3ad5e4d9]{height:100%}.scroll-content[data-v-3ad5e4d9]{position:relative}.list-item[data-v-3ad5e4d9]{will-change:transform}.u-row[data-v-2c4944cc]{display:flex;flex-direction:row}.u-scroll-list[data-v-d8bc4a02]{padding-bottom:10px}.u-scroll-list__scroll-view[data-v-d8bc4a02]{display:flex;flex-direction:row;align-items:flex-start}.u-scroll-list__scroll-view__content[data-v-d8bc4a02]{display:flex;flex-direction:row}.u-scroll-list__indicator[data-v-d8bc4a02]{display:flex;flex-direction:row;justify-content:center;margin-top:15px}.u-scroll-list__indicator__line[data-v-d8bc4a02]{width:60px;height:4px;border-radius:100px;overflow:hidden}.u-scroll-list__indicator__line__bar[data-v-d8bc4a02]{width:20px;height:4px;border-radius:100px}[type=search][data-v-038cad6b]::-webkit-search-decoration{display:none}.u-search[data-v-038cad6b]{display:flex;flex-direction:row;align-items:center;flex:1}.u-search__content[data-v-038cad6b]{display:flex;flex-direction:row;align-items:center;padding:0 10px;flex:1;justify-content:space-between;border-width:1px;border-color:transparent;border-style:solid;overflow:hidden}.u-search__content__icon[data-v-038cad6b]{display:flex;flex-direction:row;align-items:center}.u-search__content__label[data-v-038cad6b]{color:#303133;font-size:14px;margin:0 4px}.u-search__content__close[data-v-038cad6b]{width:20px;height:20px;border-radius:100px;background-color:#c6c7cb;display:flex;flex-direction:row;align-items:center;justify-content:center;transform:scale(.82)}.u-search__content__input[data-v-038cad6b]{flex:1;font-size:14px;line-height:1;margin:0 5px;color:#303133}.u-search__content__input--placeholder[data-v-038cad6b]{color:#909193}.u-search__action[data-v-038cad6b]{font-size:14px;color:#303133;width:0;overflow:hidden;transition-property:width;transition-duration:.3s;white-space:nowrap;text-align:center}.u-search__action--active[data-v-038cad6b]{width:40px;margin-left:5px}.u-search__reverse .u-search__content__icon[data-v-038cad6b]{order:3}.u-search__reverse .u-search__content__close[data-v-038cad6b]{order:2}.u-select__content[data-v-fc5a6574]{position:relative}.u-select__content .u-select__label[data-v-fc5a6574]{display:flex;justify-content:space-between}.u-select__content .u-select__label[data-v-fc5a6574]:hover{cursor:pointer}.u-select__content .u-select__text[data-v-fc5a6574]{margin-right:2px}.u-select__content .u-select__options__wrap[data-v-fc5a6574]{margin-bottom:46px;position:absolute;top:20px;left:0}.u-select__content .u-select__options[data-v-fc5a6574]{min-width:100px;box-sizing:border-box;border-radius:4px;border:1px solid #f1f1f1;background-color:#fff}.u-select__content .u-select__options .u-select__options_item[data-v-fc5a6574]{padding:10px 12px;box-sizing:border-box;width:100%;height:100%}.u-select__content .u-select__options .u-select__options_item[data-v-fc5a6574]:hover{background-color:#f7f7f7}.u-select__content .u-select__options .u-select__options_item[data-v-fc5a6574]:hover,.u-select__content .u-select__options .u-select__options_item .u-select__item_text[data-v-fc5a6574]:hover{cursor:pointer}.u-slider[data-v-7ecff6a4]{position:relative;display:flex;flex-direction:row;align-items:center}.u-slider__native[data-v-7ecff6a4]{flex:1}.u-slider-inner[data-v-7ecff6a4]{flex:1;display:flex;flex-direction:column;position:relative;border-radius:999px;padding:10px 18px;justify-content:center}.u-slider__show-value[data-v-7ecff6a4]{margin:10px 18px 10px 0}.u-slider__show-range-value[data-v-7ecff6a4]{padding-top:2px;font-size:12px;line-height:12px;position:absolute;bottom:0}.u-slider__base[data-v-7ecff6a4]{background-color:#ebedf0}.u-slider-inner[data-v-7ecff6a4]:before{position:absolute;right:0;left:0;content:"";top:-8px;bottom:-8px;z-index:-1}.u-slider__gap[data-v-7ecff6a4]{position:relative;border-radius:999px;transition:width .2s;background-color:#1989fa}.u-slider__button[data-v-7ecff6a4]{width:24px;height:24px;border-radius:50%;box-shadow:0 1px 2px rgba(0,0,0,.5);background-color:#fff;transform:scale(.9);cursor:pointer}.u-slider__button-wrap[data-v-7ecff6a4]{position:absolute}.u-slider--disabled[data-v-7ecff6a4]{opacity:.5}.u-tabbar-item[data-v-822980de]{display:flex;flex-direction:column;align-items:center;justify-content:center;flex:1;width:100%;height:100%;cursor:pointer}.u-tabbar-item__icon[data-v-822980de]{display:flex;flex-direction:row;position:relative;width:4.6875rem;justify-content:center}.u-tabbar-item__text[data-v-822980de]{margin-top:2px;font-size:12px;color:#606266}.u-tabbar-item--mid-button[data-v-822980de]{transform:translateY(-10px)}.u-tabbar-item--mid-button-cover[data-v-822980de]{background-color:#fff;position:absolute;top:22px;left:-10px;width:90px;bottom:0}.u-tabbar-item__icon--mid-button[data-v-822980de]{width:70px;height:70px;border-radius:100px;background-color:#fff;box-shadow:0 0 10px rgba(0,0,0,.1);display:flex;align-items:center;justify-content:center}.u-tabbar[data-v-97f7a5f4]{display:flex;flex-direction:column;flex:1;justify-content:center}.u-tabbar__content[data-v-97f7a5f4]{display:flex;flex-direction:column;background-color:#fff}.u-tabbar__content__item-wrapper[data-v-97f7a5f4]{height:50px;display:flex;flex-direction:row;justify-content:space-around}.u-tabbar--fixed[data-v-97f7a5f4]{position:fixed;bottom:0;left:0;right:0}.u-short-video[data-v-4dd529e9]{width:100%;height:100vh;position:relative}.u-short-video__header[data-v-4dd529e9]{position:absolute;top:0;left:0;right:0;z-index:10;display:flex;flex-direction:row;align-items:center;justify-content:space-between;padding:10px 15px;background-color:rgba(255,255,255,.05);opacity:1}.u-short-video__header__menu[data-v-4dd529e9],.u-short-video__header__search[data-v-4dd529e9]{width:40px;height:40px;display:flex;align-items:center;justify-content:center;color:#fff}.u-short-video__header__tabs[data-v-4dd529e9]{flex:1;margin:0 10px}.u-short-video__content[data-v-4dd529e9]{width:100%;height:100%}.u-short-video__content__item[data-v-4dd529e9],.u-short-video__content__video[data-v-4dd529e9]{width:100%;height:100%;position:relative}.u-short-video__content__video__speed[data-v-4dd529e9]{position:absolute;top:15px;right:15px;z-index:10;background-color:rgba(0,0,0,.3);border-radius:20px;padding:5px 10px;display:flex;align-items:center}.u-short-video__content__video__speed .speed-text[data-v-4dd529e9]{color:#fff;font-size:12px;margin-right:4px}.u-short-video__content__author[data-v-4dd529e9]{position:absolute;left:15px;bottom:100px;display:flex;flex-direction:row;align-items:center;z-index:10}.u-short-video__content__author__info[data-v-4dd529e9]{margin-left:10px;display:flex;flex-direction:column;justify-content:center}.u-short-video__content__author__name[data-v-4dd529e9]{color:#eee;font-size:16px;font-weight:700;margin-bottom:5px}.u-short-video__content__author__desc[data-v-4dd529e9]{color:rgba(255,255,255,.8);font-size:14px}.u-short-video__content__author__follow[data-v-4dd529e9]{margin-left:15px}.u-short-video__content__actions[data-v-4dd529e9]{position:absolute;right:15px;bottom:100px;display:flex;flex-direction:column;align-items:center;z-index:10}.u-short-video__content__actions__item[data-v-4dd529e9]{display:flex;flex-direction:column;align-items:center;margin-bottom:20px;color:#fff}.u-short-video__content__actions__text[data-v-4dd529e9]{color:#fff;font-size:12px;margin-top:5px}.u-short-video__footer[data-v-4dd529e9]{position:absolute;bottom:0;left:0;right:0;z-index:10}.u-signature[data-v-5d5c11f4]{display:flex;flex-direction:column}.u-signature__canvas-wrap[data-v-5d5c11f4]{border:1px solid #e0e0e0;border-radius:4px;overflow:hidden}.u-signature__canvas[data-v-5d5c11f4]{width:100%;height:100%}.u-signature__toolbar[data-v-5d5c11f4]{margin-top:5px;background-color:#fff}.u-signature__toolbar-icons[data-v-5d5c11f4]{display:flex;justify-content:space-between;align-items:center;padding:1px 0;border-radius:4px}.u-signature__toolbar-icon[data-v-5d5c11f4]{padding:5px}.u-signature__brush-settings[data-v-5d5c11f4],.u-signature__color-settings[data-v-5d5c11f4]{margin-top:15px;padding:1px;border-radius:4px}.u-signature__progress-label[data-v-5d5c11f4]{display:block;margin-bottom:10px;font-size:14px;color:#999}.u-signature__color-picker[data-v-5d5c11f4]{margin-bottom:10px}.u-signature__color-label[data-v-5d5c11f4]{display:block;margin-bottom:10px;font-size:14px;color:#999}.u-signature__colors[data-v-5d5c11f4]{display:flex;flex-direction:row;flex-wrap:wrap;gap:10px}.u-signature__color-item[data-v-5d5c11f4]{width:30px;height:30px;border-radius:50%;border:2px solid #f0f0f0;cursor:pointer}.u-signature__color-item--active[data-v-5d5c11f4]{border-color:#2979ff;transform:scale(1.1)}.u-signature__actions[data-v-5d5c11f4]{display:flex;flex-direction:row;gap:10px;justify-content:center}.u-skeleton[data-v-c5e38ba4]{flex:1}.u-skeleton__wrapper[data-v-c5e38ba4]{display:flex;flex-direction:row}.u-skeleton__wrapper__avatar[data-v-c5e38ba4]{background:linear-gradient(90deg,#F1F2F4 25%,#e6e6e6 37%,#F1F2F4 50%);background-size:400% 100%;margin-right:15px}.u-skeleton__wrapper__avatar--circle[data-v-c5e38ba4]{border-radius:100px}.u-skeleton__wrapper__avatar--square[data-v-c5e38ba4]{border-radius:4px}.u-skeleton__wrapper__content[data-v-c5e38ba4]{flex:1}.u-skeleton__wrapper__content__rows[data-v-c5e38ba4],.u-skeleton__wrapper__content__title[data-v-c5e38ba4]{background:linear-gradient(90deg,#F1F2F4 25%,#e6e6e6 37%,#F1F2F4 50%);background-size:400% 100%;border-radius:3px}.animate[data-v-c5e38ba4]{animation:skeleton-c5e38ba4 1.8s ease infinite}@keyframes skeleton-c5e38ba4{0%{background-position:100% 50%}to{background-position:0 50%}}.u-swipe-action-item[data-v-30605ee9]{position:relative;overflow:hidden;touch-action:pan-y}.u-swipe-action-item__content[data-v-30605ee9]{transform:translate(0);background-color:#fff;z-index:10}.u-swipe-action-item__right[data-v-30605ee9]{position:absolute;top:0;bottom:0;right:0;display:flex;flex-direction:row}.u-swipe-action-item__right__button[data-v-30605ee9]{display:flex;flex-direction:row;justify-content:center;overflow:hidden;align-items:center}.u-swipe-action-item__right__button__wrapper[data-v-30605ee9]{display:flex;flex-direction:row;align-items:center;justify-content:center;padding:0 15px}.u-swipe-action-item__right__button__wrapper__text[data-v-30605ee9]{display:flex;flex-direction:row;align-items:center;color:#fff;font-size:15px;text-align:center;justify-content:center}.u-swiper-indicator__wrapper[data-v-d9c94103]{display:flex;flex-direction:row}.u-swiper-indicator__wrapper--line[data-v-d9c94103]{border-radius:100px;height:4px}.u-swiper-indicator__wrapper--line__bar[data-v-d9c94103]{width:22px;height:4px;border-radius:100px;background-color:#fff;transition:transform .3s}.u-swiper-indicator__wrapper__dot[data-v-d9c94103]{width:5px;height:5px;border-radius:100px;margin:0 4px}.u-swiper-indicator__wrapper__dot--active[data-v-d9c94103]{width:12px}.u-swiper__wrapper[data-v-1fc5bda9]{flex:1}.u-swiper[data-v-1fc5bda9]{display:flex;flex-direction:row;justify-content:center;align-items:center;position:relative;overflow:hidden}.u-swiper__wrapper[data-v-1fc5bda9],.u-swiper__wrapper__item[data-v-1fc5bda9]{flex:1}.u-swiper__wrapper__item__wrapper[data-v-1fc5bda9]{display:flex;flex-direction:row;position:relative;overflow:hidden;transition:transform .3s;flex:1}.u-swiper__wrapper__item__wrapper__image[data-v-1fc5bda9],.u-swiper__wrapper__item__wrapper__video[data-v-1fc5bda9]{flex:1}.u-swiper__wrapper__item__wrapper__title[data-v-1fc5bda9]{position:absolute;background-color:rgba(0,0,0,.3);bottom:0;left:0;right:0;font-size:.875rem;padding:.375rem .75rem;color:#fff;flex:1}.u-swiper__indicator[data-v-1fc5bda9]{position:absolute;bottom:10px}.u-switch[data-v-bba54bb5]{display:flex;flex-direction:row;box-sizing:border-box;position:relative;background-color:#fff;border-width:1px;border-radius:100px;transition:background-color .4s;border-color:rgba(0,0,0,.12);border-style:solid;justify-content:flex-end;align-items:center;overflow:hidden}.u-switch__node[data-v-bba54bb5]{display:flex;flex-direction:row;align-items:center;justify-content:center;background-color:#fff;border-radius:100px;box-shadow:1px 1px 1px rgba(0,0,0,.25);transition-property:transform;transition-duration:.4s;transition-timing-function:cubic-bezier(.3,1.05,.4,1.05)}.u-switch__bg[data-v-bba54bb5]{position:absolute;background-color:#fff;transition-property:transform;transition-duration:.4s;border-radius:0 100px 100px 0;transition-timing-function:ease}.u-switch--disabled[data-v-bba54bb5]{opacity:.6}.u-table-row[data-v-50013185]{display:flex;flex-direction:row;position:relative}.u-table-border[data-v-50013185]{border-top:1px solid #ebeef5;border-left:1px solid #ebeef5;border-right:1px solid #ebeef5}.u-table-border .u-table-cell[data-v-50013185]{border-right:1px solid #ebeef5}.u-table-border .u-table-cell[data-v-50013185]:last-child{border-right:none}.u-table-cell[data-v-50013185]{flex:1;display:flex;flex-direction:row;align-items:center;padding:10px 1px;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.1;border-bottom:1px solid #ebeef5}.u-table-cell.u-text-left[data-v-50013185]{justify-content:flex-start;text-align:left}.u-table-cell.u-text-center[data-v-50013185]{justify-content:center;text-align:center}.u-table-cell.u-text-right[data-v-50013185]{justify-content:flex-end;text-align:right}.u-table-row-zebra[data-v-50013185]{background-color:#fafafa}.u-table-row-highlight[data-v-50013185]{background-color:#f5f7fa}.u-table-empty[data-v-50013185]{text-align:center;padding:20px;color:#999}.u-table-cell-hidden[data-v-50013185]{opacity:0}.u-table-cell-merged[data-v-50013185]{z-index:1}.u-table2[data-v-c08c6352]{width:auto;overflow:auto;white-space:nowrap;position:relative}.u-table2 .u-table-header[data-v-c08c6352]{min-width:100%!important;width:-moz-fit-content;width:fit-content;background-color:#f5f7fa}.u-table2 .u-table-body[data-v-c08c6352]{min-width:100%!important;width:-moz-fit-content;width:fit-content;position:relative}.u-table2 .u-table-sticky[data-v-c08c6352]{position:sticky;top:0;z-index:10}.u-table2 .u-table-row[data-v-c08c6352]{display:flex;flex-direction:row;overflow:hidden;position:relative}.u-table2.u-table-border[data-v-c08c6352]{border-top:1px solid #ebeef5;border-left:1px solid #ebeef5;border-right:1px solid #ebeef5}.u-table2.u-table-border .u-table-cell[data-v-c08c6352]{border-right:1px solid #ebeef5}.u-table2.u-table-border .u-table-cell[data-v-c08c6352]:last-child{border-right:none}.u-table2 .u-table-cell[data-v-c08c6352]{flex:1;display:flex;flex-direction:row;align-items:center;padding:10px 1px;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.1;border-bottom:1px solid #ebeef5}.u-table2 .u-table-cell.u-text-left[data-v-c08c6352]{justify-content:flex-start;text-align:left}.u-table2 .u-table-cell.u-text-center[data-v-c08c6352]{justify-content:center;text-align:center}.u-table2 .u-table-cell.u-text-right[data-v-c08c6352]{justify-content:flex-end;text-align:right}.u-table2 .u-table-row-zebra[data-v-c08c6352]{background-color:#fafafa}.u-table2 .u-table-row-highlight[data-v-c08c6352]{background-color:#f5f7fa}.u-table2 .u-table-empty[data-v-c08c6352]{text-align:center;padding:20px;color:#999}.u-table-fixed-shadow[data-v-c08c6352]{position:absolute;top:0;left:0;width:auto;z-index:20;box-shadow:2px 0 5px rgba(0,0,0,.15);overflow:hidden;background-color:#fff}.u-table-fixed-shadow .u-table-border .u-table-cell[data-v-c08c6352]{border-right:.03125rem solid #ebeef5}.u-table-fixed-shadow .u-table-border .u-table-cell[data-v-c08c6352]:last-child{border-right:none}.u-td[data-v-98de8bba]{display:flex;flex-direction:row;flex-direction:column;flex:1;justify-content:center;font-size:14px;color:#606266;align-self:stretch;box-sizing:border-box;height:100%}.u-textarea[data-v-924f8e40]{border-radius:4px;background-color:#fff;position:relative;display:flex;flex-direction:row;flex:1;padding:9px}.u-textarea--radius[data-v-924f8e40]{border-radius:4px}.u-textarea--no-radius[data-v-924f8e40]{border-radius:0}.u-textarea--disabled[data-v-924f8e40]{background-color:#f5f7fa}.u-textarea__field[data-v-924f8e40]{flex:1;font-size:15px;color:#606266;width:100%}.u-textarea__count[data-v-924f8e40]{position:absolute;right:5px;bottom:2px;font-size:12px;color:#909193;background-color:#fff;padding:1px 4px}.u-th[data-v-cd11c63e]{display:flex;flex-direction:row;flex-direction:column;flex:1;justify-content:center;font-size:.875rem;color:#303133;font-weight:700;background-color:#f5f6f8}.u-title .u-title-prefix[data-v-09c9dbad]{width:4px;height:18px;border-radius:2px;background:#3c9cff;margin-right:10px}.u-toast__content[data-v-1c5db174]{display:flex;flex-direction:row;padding:12px 20px;border-radius:4px;background-color:#585858;color:#fff;align-items:center;max-width:18.75rem;position:relative}.u-toast__content--loading[data-v-1c5db174]{flex-direction:column;padding:20px}.u-toast__content__text[data-v-1c5db174]{color:#fff;font-size:15px;line-height:15px}.u-toast__content__text--default[data-v-1c5db174]{color:#fff}.u-toast__content__text--error[data-v-1c5db174]{color:#f56c6c}.u-toast__content__text--primary[data-v-1c5db174]{color:#3c9cff}.u-toast__content__text--success[data-v-1c5db174]{color:#5ac725}.u-toast__content__text--warning[data-v-1c5db174]{color:#f9ae3d}.u-type-primary[data-v-1c5db174]{color:#3c9cff;background-color:#ecf5ff;border-color:#d7eafe;border-width:1px}.u-type-success[data-v-1c5db174]{color:#5ac725;background-color:#dbf1e1;border-color:#bef5c8;border-width:1px}.u-type-error[data-v-1c5db174]{color:#f56c6c;background-color:#fef0f0;border-color:#fde2e2;border-width:1px}.u-type-warning[data-v-1c5db174]{color:#f9ae3d;background-color:#fdf6ec;border-color:#faecd8;border-width:1px}.u-type-default[data-v-1c5db174]{color:#fff;background-color:#585858}.u-tr[data-v-f38d8851]{display:flex;flex-direction:row}.u-tree-node-content[data-v-03ce30df]{display:flex;flex-direction:row;align-items:center;padding-left:20px}.u-tree-node-toggle[data-v-03ce30df]{margin-right:5px}.u-tree[data-v-9e52eefc]{font-size:.875rem}.u-upload[data-v-d5116e32]{display:flex;flex-direction:column;flex:1}.u-upload__wrap[data-v-d5116e32]{display:flex;flex-direction:row;flex-wrap:wrap;flex:1}.u-upload__wrap__preview[data-v-d5116e32]{border-radius:2px;margin:0 8px 8px 0;position:relative;overflow:hidden;display:flex;flex-direction:row}.u-upload__wrap__preview__image[data-v-d5116e32]{width:80px;height:80px}.u-upload__wrap__preview__video[data-v-d5116e32],.u-upload__wrap__preview__other[data-v-d5116e32]{width:80px;height:80px;background-color:#f2f2f2;flex:1;display:flex;flex-direction:column;justify-content:center;align-items:center}.u-upload__wrap__preview__video__text[data-v-d5116e32],.u-upload__wrap__preview__other__text[data-v-d5116e32]{font-size:11px;color:#909193;margin-top:2px}.u-upload__wrap__play[data-v-d5116e32]{position:absolute;top:0;left:0;bottom:0;right:0;display:flex;justify-content:center;align-items:center}.u-upload__wrap__play__icon[data-v-d5116e32]{background:#fff;border-radius:100px;opacity:.8}.u-upload__deletable[data-v-d5116e32]{position:absolute;top:0;right:0;background-color:#373737;height:14px;width:14px;display:flex;flex-direction:row;border-bottom-left-radius:100px;align-items:center;justify-content:center;z-index:3}.u-upload__deletable__icon[data-v-d5116e32]{position:absolute;transform:scale(.7);top:1px;right:0}.u-upload__success[data-v-d5116e32]{position:absolute;bottom:0;right:0;display:flex;flex-direction:row;border-style:solid;border-top-color:transparent;border-left-color:transparent;border-bottom-color:#5ac725;border-right-color:#5ac725;border-width:9px;align-items:center;justify-content:center}.u-upload__success__icon[data-v-d5116e32]{position:absolute;transform:scale(.7);bottom:-10px;right:-10px}.u-upload__progress[data-v-d5116e32]{background-color:#3c9cff!important;position:absolute;bottom:0;left:0}.u-upload__status[data-v-d5116e32]{position:absolute;top:0;bottom:0;left:0;right:0;background-color:rgba(0,0,0,.5);display:flex;flex-direction:column;align-items:center;justify-content:center}.u-upload__status__icon[data-v-d5116e32]{position:relative;z-index:1}.u-upload__status__message[data-v-d5116e32]{font-size:12px;color:#fff;margin-top:5px}.u-upload__button[data-v-d5116e32]{display:flex;flex-direction:column;align-items:center;justify-content:center;width:80px;height:80px;background-color:#f4f5f7;border-radius:2px;margin:0 8px 8px 0;box-sizing:border-box}.u-upload__button__text[data-v-d5116e32]{font-size:11px;color:#909193;margin-top:2px}.u-upload__button--hover[data-v-d5116e32]{background-color:#e6e7e9}.u-upload__button--disabled[data-v-d5116e32]{opacity:.5}.u-waterfall[data-v-9668b2b5]{display:flex;flex-direction:row;align-items:flex-start}.u-column[data-v-9668b2b5]{display:flex;flex-direction:row;flex:1;flex-direction:column;overflow:hidden;height:100%}.u-column[data-v-9668b2b5]:not(:first-child){margin-left:.3125rem}.u-image[data-v-9668b2b5]{max-width:100%} diff --git a/miniprogram/dist/build/h5/assets/index-9f498473.css b/miniprogram/dist/build/h5/assets/index-9f498473.css deleted file mode 100644 index 7620642..0000000 --- a/miniprogram/dist/build/h5/assets/index-9f498473.css +++ /dev/null @@ -1 +0,0 @@ -.content[data-v-d420ee0b]{display:flex;min-height:100vh;background-color:#f3f4f8;flex-direction:column;overflow-y:auto}.swiper[data-v-d420ee0b]{width:100%;height:12.46688rem}.swiper-img[data-v-d420ee0b]{width:100%;height:100%}.service-text[data-v-d420ee0b]{font-size:.81031rem;margin-top:.25rem;font-weight:500;width:100%;text-align:center;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;line-height:1.4} diff --git a/miniprogram/dist/build/h5/assets/index-a09151d6.js b/miniprogram/dist/build/h5/assets/index-a09151d6.js deleted file mode 100644 index 62197b3..0000000 --- a/miniprogram/dist/build/h5/assets/index-a09151d6.js +++ /dev/null @@ -1,40 +0,0 @@ -var e;!function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const e of document.querySelectorAll('link[rel="modulepreload"]'))t(e);new MutationObserver(e=>{for(const n of e)if("childList"===n.type)for(const e of n.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&t(e)}).observe(document,{childList:!0,subtree:!0})}function t(e){if(e.ep)return;e.ep=!0;const t=function(e){const t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),"use-credentials"===e.crossOrigin?t.credentials="include":"anonymous"===e.crossOrigin?t.credentials="omit":t.credentials="same-origin",t}(e);fetch(e.href,t)}}();const t={},n=function(e,n,o){if(!n||0===n.length)return e();const i=document.getElementsByTagName("link");return Promise.all(n.map(e=>{if((e=function(e){return"/"+e}(e))in t)return;t[e]=!0;const n=e.endsWith(".css"),r=n?'[rel="stylesheet"]':"";if(!!o)for(let t=i.length-1;t>=0;t--){const o=i[t];if(o.href===e&&(!n||"stylesheet"===o.rel))return}else if(document.querySelector(`link[href="${e}"]${r}`))return;const a=document.createElement("link");return a.rel=n?"stylesheet":"modulepreload",n||(a.as="script",a.crossOrigin=""),a.href=e,document.head.appendChild(a),n?new Promise((t,n)=>{a.addEventListener("load",t),a.addEventListener("error",()=>n(new Error(`Unable to preload CSS for ${e}`)))}):void 0})).then(()=>e()).catch(e=>{const t=new Event("vite:preloadError",{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e})}; -/** -* @vue/shared v3.4.21 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/ -function o(e,t){const n=new Set(e.split(","));return t?e=>n.has(e.toLowerCase()):e=>n.has(e)}const i={},r=[],a=()=>{},s=()=>!1,l=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),c=e=>e.startsWith("onUpdate:"),u=Object.assign,d=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},h=Object.prototype.hasOwnProperty,p=(e,t)=>h.call(e,t),f=Array.isArray,m=e=>"[object Map]"===k(e),g=e=>"[object Set]"===k(e),y=e=>"[object Date]"===k(e),b=e=>"function"==typeof e,v=e=>"string"==typeof e,_=e=>"symbol"==typeof e,w=e=>null!==e&&"object"==typeof e,x=e=>(w(e)||b(e))&&b(e.then)&&b(e.catch),S=Object.prototype.toString,k=e=>S.call(e),C=e=>"[object Object]"===k(e),A=e=>v(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,T=o(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),I=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},E=/-(\w)/g,P=I(e=>e.replace(E,(e,t)=>t?t.toUpperCase():"")),B=/\B([A-Z])/g,O=I(e=>e.replace(B,"-$1").toLowerCase()),N=I(e=>e.charAt(0).toUpperCase()+e.slice(1)),M=I(e=>e?`on${N(e)}`:""),L=(e,t)=>!Object.is(e,t),R=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},z=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let $;const F=()=>$||($="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{});function j(e){if(f(e)){const t={};for(let n=0;n{if(e){const n=e.split(V);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function q(e){let t="";if(v(e))t=e;else if(f(e))for(let n=0;nY(e,t))}const K=e=>v(e)?e:null==e?"":f(e)||w(e)&&(e.toString===S||!b(e.toString))?JSON.stringify(e,J,2):String(e),J=(e,t)=>t&&t.__v_isRef?J(e,t.value):m(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((e,[t,n],o)=>(e[Z(t,o)+" =>"]=n,e),{})}:g(t)?{[`Set(${t.size})`]:[...t.values()].map(e=>Z(e))}:_(t)?Z(t):!w(t)||f(t)||C(t)?t:String(t),Z=(e,t="")=>{var n;return _(e)?`Symbol(${null!=(n=e.description)?n:t})`:e},ee=["ad","ad-content-page","ad-draw","audio","button","camera","canvas","checkbox","checkbox-group","cover-image","cover-view","editor","form","functional-page-navigator","icon","image","input","label","live-player","live-pusher","map","movable-area","movable-view","navigator","official-account","open-data","picker","picker-view","picker-view-column","progress","radio","radio-group","rich-text","scroll-view","slider","swiper","swiper-item","switch","text","textarea","video","view","web-view"].map(e=>"uni-"+e),te=["list-view","list-item","sticky-section","sticky-header","cloud-db-element"].map(e=>"uni-"+e),ne=["list-item"].map(e=>"uni-"+e);function oe(e){if(-1!==ne.indexOf(e))return!1;const t="uni-"+e.replace("v-uni-","");return-1!==ee.indexOf(t)||-1!==te.indexOf(t)}const ie="\n",re=["%","%"],ae=/^([a-z-]+:)?\/\//i,se=/^data:.*,.*/,le="onShow",ce="onHide",ue="onError",de="onThemeChange",he="onPageNotFound",pe="onUnhandledRejection",fe="onLoad",me="onUnload",ge="onInit",ye="onSaveExitState",be="onResize",ve="onBackPress",_e="onPageScroll",we="onTabItemTap",xe="onReachBottom",Se="onPullDownRefresh",ke="onShareTimeline",Ce="onAddToFavorites",Ae="onShareAppMessage",Te="onNavigationBarButtonTap",Ie="onNavigationBarSearchInputClicked",Ee="onNavigationBarSearchInputChanged",Pe="onNavigationBarSearchInputConfirmed",Be="onNavigationBarSearchInputFocusChanged",Oe="onAppEnterForeground",Ne="onAppEnterBackground",Me="onWebInvokeAppService";function Le(e){return e&&(e.appContext?e.proxy:e)}function Re(e){if(!e)return;let t=e.type.name;for(;t&&oe(O(t));)t=(e=e.parent).type.name;return e.proxy}function De(e){return 1===e.nodeType}function ze(e){if(e instanceof Map){const t={};return e.forEach((e,n)=>{t[n]=e}),j(t)}if(v(e))return U(e);if(f(e)){const t={};for(let n=0;n{e&&(t+=n+" ")});else if(f(e))for(let n=0;n(e&&(n=e.apply(t,o),e=null),n)}function qe(e){return P(e.substring(5))}const Qe=Ue(()=>{const e=HTMLElement.prototype,t=e.setAttribute;e.setAttribute=function(e,n){if(e.startsWith("data-")&&this.tagName.startsWith("UNI-")){(this.__uniDataset||(this.__uniDataset={}))[qe(e)]=n}t.call(this,e,n)};const n=e.removeAttribute;e.removeAttribute=function(e){this.__uniDataset&&e.startsWith("data-")&&this.tagName.startsWith("UNI-")&&delete this.__uniDataset[qe(e)],n.call(this,e)}});function Ge(e){return u({},e.dataset,e.__uniDataset)}const Ye=new RegExp("\"[^\"]+\"|'[^']+'|url\\([^)]+\\)|(\\d*\\.?\\d+)[r|u]px","g");function Xe(e){return{passive:e}}function Ke(e){const{id:t,offsetTop:n,offsetLeft:o}=e;return{id:t,dataset:Ge(e),offsetTop:n,offsetLeft:o}}function Je(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}function Ze(e={}){const t={};return Object.keys(e).forEach(n=>{try{t[n]=Je(e[n])}catch(o){t[n]=e[n]}}),t}const et=/\+/g;function tt(e){const t={};if(""===e||"?"===e)return t;const n=("?"===e[0]?e.slice(1):e).split("&");for(let o=0;oe.apply(this,arguments),t)};return r.cancel=function(){n(i)},r}class ot{constructor(e,t){this.id=e,this.listener={},this.emitCache=[],t&&Object.keys(t).forEach(e=>{this.on(e,t[e])})}emit(e,...t){const n=this.listener[e];if(!n)return this.emitCache.push({eventName:e,args:t});n.forEach(e=>{e.fn.apply(e.fn,t)}),this.listener[e]=n.filter(e=>"once"!==e.type)}on(e,t){this._addListener(e,"on",t),this._clearCache(e)}once(e,t){this._addListener(e,"once",t),this._clearCache(e)}off(e,t){const n=this.listener[e];if(n)if(t)for(let o=0;o{if(b(e._component.onError))return t(e)}),lt=function(){};lt.prototype={on:function(e,t,n){var o=this.e||(this.e={});return(o[e]||(o[e]=[])).push({fn:t,ctx:n}),this},once:function(e,t,n){var o=this;function i(){o.off(e,i),t.apply(n,arguments)}return i._=t,this.on(e,i,n)},emit:function(e){for(var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),o=0,i=n.length;o=0;r--)if(o[r].fn===t||o[r].fn._===t){o.splice(r,1);break}i=o}return i.length?n[e]=i:delete n[e],this}};var ct=lt;const ut={black:"rgba(0,0,0,0.4)",white:"rgba(255,255,255,0.4)"};function dt(e,t={},n="light"){const o=t[n],i={};return o?(Object.keys(e).forEach(r=>{let a=e[r];i[r]=(()=>{if(C(a))return dt(a,t,n);if(f(a))return a.map(e=>C(e)?dt(e,t,n):e);if(v(a)&&a.startsWith("@")){const t=a.replace("@","");let n=o[t]||a;switch(r){case"titleColor":n="black"===n?"#000000":"#ffffff";break;case"borderStyle":n=(e=n)&&e in ut?ut[e]:e}return n}var e;return a})()}),i):e} -/** -* @dcloudio/uni-h5-vue v3.4.21 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/let ht,pt;class ft{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=ht,!e&&ht&&(this.index=(ht.scopes||(ht.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const t=ht;try{return ht=this,e()}finally{ht=t}}}on(){ht=this}off(){ht=this.parent}stop(e){if(this._active){let t,n;for(t=0,n=this.effects.length;t=4))break}1===this._dirtyLevel&&(this._dirtyLevel=0),Ct()}return this._dirtyLevel>=4}set dirty(e){this._dirtyLevel=e?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let e=wt,t=pt;try{return wt=!0,pt=this,this._runnings++,bt(this),this.fn()}finally{vt(this),this._runnings--,pt=t,wt=e}}stop(){var e;this.active&&(bt(this),vt(this),null==(e=this.onStop)||e.call(this),this.active=!1)}}function yt(e){return e.value}function bt(e){e._trackId++,e._depsLength=0}function vt(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t{const n=new Map;return n.cleanup=e,n.computed=t,n},Ot=new WeakMap,Nt=Symbol(""),Mt=Symbol("");function Lt(e,t,n){if(wt&&pt){let t=Ot.get(e);t||Ot.set(e,t=new Map);let o=t.get(n);o||t.set(n,o=Bt(()=>t.delete(n))),It(pt,o)}}function Rt(e,t,n,o,i,r){const a=Ot.get(e);if(!a)return;let s=[];if("clear"===t)s=[...a.values()];else if("length"===n&&f(e)){const e=Number(o);a.forEach((t,n)=>{("length"===n||!_(n)&&n>=e)&&s.push(t)})}else switch(void 0!==n&&s.push(a.get(n)),t){case"add":f(e)?A(n)&&s.push(a.get("length")):(s.push(a.get(Nt)),m(e)&&s.push(a.get(Mt)));break;case"delete":f(e)||(s.push(a.get(Nt)),m(e)&&s.push(a.get(Mt)));break;case"set":m(e)&&s.push(a.get(Nt))}At();for(const l of s)l&&Pt(l,4);Tt()}const Dt=o("__proto__,__v_isRef,__isVue"),zt=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>"arguments"!==e&&"caller"!==e).map(e=>Symbol[e]).filter(_)),$t=Ft();function Ft(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...e){const n=En(this);for(let t=0,i=this.length;t{e[t]=function(...e){kt(),At();const n=En(this)[t].apply(this,e);return Tt(),Ct(),n}}),e}function jt(e){const t=En(this);return Lt(t,0,e),t.hasOwnProperty(e)}class Ht{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,n){const o=this._isReadonly,i=this._isShallow;if("__v_isReactive"===t)return!o;if("__v_isReadonly"===t)return o;if("__v_isShallow"===t)return i;if("__v_raw"===t)return n===(o?i?vn:bn:i?yn:gn).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;const r=f(e);if(!o){if(r&&p($t,t))return Reflect.get($t,t,n);if("hasOwnProperty"===t)return jt}const a=Reflect.get(e,t,n);return(_(t)?zt.has(t):Dt(t))?a:(o||Lt(e,0,t),i?a:Rn(a)?r&&A(t)?a:a.value:w(a)?o?Sn(a):wn(a):a)}}class Vt extends Ht{constructor(e=!1){super(!1,e)}set(e,t,n,o){let i=e[t];if(!this._isShallow){const t=An(i);if(Tn(n)||An(n)||(i=En(i),n=En(n)),!f(e)&&Rn(i)&&!Rn(n))return!t&&(i.value=n,!0)}const r=f(e)&&A(t)?Number(t)e,Yt=e=>Reflect.getPrototypeOf(e);function Xt(e,t,n=!1,o=!1){const i=En(e=e.__v_raw),r=En(t);n||(L(t,r)&&Lt(i,0,t),Lt(i,0,r));const{has:a}=Yt(i),s=o?Gt:n?On:Bn;return a.call(i,t)?s(e.get(t)):a.call(i,r)?s(e.get(r)):void(e!==i&&e.get(t))}function Kt(e,t=!1){const n=this.__v_raw,o=En(n),i=En(e);return t||(L(e,i)&&Lt(o,0,e),Lt(o,0,i)),e===i?n.has(e):n.has(e)||n.has(i)}function Jt(e,t=!1){return e=e.__v_raw,!t&&Lt(En(e),0,Nt),Reflect.get(e,"size",e)}function Zt(e){e=En(e);const t=En(this);return Yt(t).has.call(t,e)||(t.add(e),Rt(t,"add",e,e)),this}function en(e,t){t=En(t);const n=En(this),{has:o,get:i}=Yt(n);let r=o.call(n,e);r||(e=En(e),r=o.call(n,e));const a=i.call(n,e);return n.set(e,t),r?L(t,a)&&Rt(n,"set",e,t):Rt(n,"add",e,t),this}function tn(e){const t=En(this),{has:n,get:o}=Yt(t);let i=n.call(t,e);i||(e=En(e),i=n.call(t,e)),o&&o.call(t,e);const r=t.delete(e);return i&&Rt(t,"delete",e,void 0),r}function nn(){const e=En(this),t=0!==e.size,n=e.clear();return t&&Rt(e,"clear",void 0,void 0),n}function on(e,t){return function(n,o){const i=this,r=i.__v_raw,a=En(r),s=t?Gt:e?On:Bn;return!e&&Lt(a,0,Nt),r.forEach((e,t)=>n.call(o,s(e),s(t),i))}}function rn(e,t,n){return function(...o){const i=this.__v_raw,r=En(i),a=m(r),s="entries"===e||e===Symbol.iterator&&a,l="keys"===e&&a,c=i[e](...o),u=n?Gt:t?On:Bn;return!t&&Lt(r,0,l?Mt:Nt),{next(){const{value:e,done:t}=c.next();return t?{value:e,done:t}:{value:s?[u(e[0]),u(e[1])]:u(e),done:t}},[Symbol.iterator](){return this}}}}function an(e){return function(...t){return"delete"!==e&&("clear"===e?void 0:this)}}function sn(){const e={get(e){return Xt(this,e)},get size(){return Jt(this)},has:Kt,add:Zt,set:en,delete:tn,clear:nn,forEach:on(!1,!1)},t={get(e){return Xt(this,e,!1,!0)},get size(){return Jt(this)},has:Kt,add:Zt,set:en,delete:tn,clear:nn,forEach:on(!1,!0)},n={get(e){return Xt(this,e,!0)},get size(){return Jt(this,!0)},has(e){return Kt.call(this,e,!0)},add:an("add"),set:an("set"),delete:an("delete"),clear:an("clear"),forEach:on(!0,!1)},o={get(e){return Xt(this,e,!0,!0)},get size(){return Jt(this,!0)},has(e){return Kt.call(this,e,!0)},add:an("add"),set:an("set"),delete:an("delete"),clear:an("clear"),forEach:on(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=rn(i,!1,!1),n[i]=rn(i,!0,!1),t[i]=rn(i,!1,!0),o[i]=rn(i,!0,!0)}),[e,n,t,o]}const[ln,cn,un,dn]=sn();function hn(e,t){const n=t?e?dn:un:e?cn:ln;return(t,o,i)=>"__v_isReactive"===o?!e:"__v_isReadonly"===o?e:"__v_raw"===o?t:Reflect.get(p(n,o)&&o in t?n:t,o,i)}const pn={get:hn(!1,!1)},fn={get:hn(!1,!0)},mn={get:hn(!0,!1)},gn=new WeakMap,yn=new WeakMap,bn=new WeakMap,vn=new WeakMap;function _n(e){return e.__v_skip||!Object.isExtensible(e)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}((e=>k(e).slice(8,-1))(e))}function wn(e){return An(e)?e:kn(e,!1,Ut,pn,gn)}function xn(e){return kn(e,!1,Qt,fn,yn)}function Sn(e){return kn(e,!0,qt,mn,bn)}function kn(e,t,n,o,i){if(!w(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const r=i.get(e);if(r)return r;const a=_n(e);if(0===a)return e;const s=new Proxy(e,2===a?o:n);return i.set(e,s),s}function Cn(e){return An(e)?Cn(e.__v_raw):!(!e||!e.__v_isReactive)}function An(e){return!(!e||!e.__v_isReadonly)}function Tn(e){return!(!e||!e.__v_isShallow)}function In(e){return Cn(e)||An(e)}function En(e){const t=e&&e.__v_raw;return t?En(t):e}function Pn(e){return Object.isExtensible(e)&&D(e,"__v_skip",!0),e}const Bn=e=>w(e)?wn(e):e,On=e=>w(e)?Sn(e):e;class Nn{constructor(e,t,n,o){this.getter=e,this._setter=t,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new gt(()=>e(this._value),()=>Ln(this,2===this.effect._dirtyLevel?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=n}get value(){const e=En(this);return e._cacheable&&!e.effect.dirty||!L(e._value,e._value=e.effect.run())||Ln(e,4),Mn(e),e.effect._dirtyLevel>=2&&Ln(e,2),e._value}set value(e){this._setter(e)}get _dirty(){return this.effect.dirty}set _dirty(e){this.effect.dirty=e}}function Mn(e){var t;wt&&pt&&(e=En(e),It(pt,null!=(t=e.dep)?t:e.dep=Bt(()=>e.dep=void 0,e instanceof Nn?e:void 0)))}function Ln(e,t=4,n){const o=(e=En(e)).dep;o&&Pt(o,t)}function Rn(e){return!(!e||!0!==e.__v_isRef)}function Dn(e){return $n(e,!1)}function zn(e){return $n(e,!0)}function $n(e,t){return Rn(e)?e:new Fn(e,t)}class Fn{constructor(e,t){this.__v_isShallow=t,this.dep=void 0,this.__v_isRef=!0,this._rawValue=t?e:En(e),this._value=t?e:Bn(e)}get value(){return Mn(this),this._value}set value(e){const t=this.__v_isShallow||Tn(e)||An(e);e=t?e:En(e),L(e,this._rawValue)&&(this._rawValue=e,this._value=t?e:Bn(e),Ln(this,4))}}function jn(e){return Rn(e)?e.value:e}const Hn={get:(e,t,n)=>jn(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const i=e[t];return Rn(i)&&!Rn(n)?(i.value=n,!0):Reflect.set(e,t,n,o)}};function Vn(e){return Cn(e)?e:new Proxy(e,Hn)}function Wn(e,t,n,o){try{return o?e(...o):e()}catch(i){qn(i,t,n)}}function Un(e,t,n,o){if(b(e)){const i=Wn(e,t,n,o);return i&&x(i)&&i.catch(e=>{qn(e,t,n)}),i}const i=[];for(let r=0;r>>1,i=Yn[o],r=so(i);rso(e)-so(t));if(Kn.length=0,Jn)return void Jn.push(...e);for(Jn=e,Zn=0;Znnull==e.id?1/0:e.id,lo=(e,t)=>{const n=so(e)-so(t);if(0===n){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function co(e){Gn=!1,Qn=!0,Yn.sort(lo);try{for(Xn=0;Xnv(e)?e.trim():e)),t&&(r=n.map(z))}let l,c=o[l=M(t)]||o[l=M(P(t))];!c&&a&&(c=o[l=M(O(t))]),c&&Un(c,e,6,ho(e,c,r));const u=o[l+"Once"];if(u){if(e.emitted){if(e.emitted[l])return}else e.emitted={};e.emitted[l]=!0,Un(u,e,6,ho(e,u,r))}}function ho(e,t,n){if(1!==n.length)return n;if(b(t)){if(t.length<2)return n}else if(!t.find(e=>e.length>=2))return n;const o=n[0];if(o&&p(o,"type")&&p(o,"timeStamp")&&p(o,"target")&&p(o,"currentTarget")&&p(o,"detail")){const t=e.proxy,o=t.$gcd(t,!0);o&&n.push(o)}return n}function po(e,t,n=!1){const o=t.emitsCache,i=o.get(e);if(void 0!==i)return i;const r=e.emits;let a={},s=!1;if(!b(e)){const o=e=>{const n=po(e,t,!0);n&&(s=!0,u(a,n))};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}return r||s?(f(r)?r.forEach(e=>a[e]=null):u(a,r),w(e)&&o.set(e,a),a):(w(e)&&o.set(e,null),null)}function fo(e,t){return!(!e||!l(t))&&(t=t.slice(2).replace(/Once$/,""),p(e,t[0].toLowerCase()+t.slice(1))||p(e,O(t))||p(e,t))}let mo=null,go=null;function yo(e){const t=mo;return mo=e,go=e&&e.type.__scopeId||null,t}function bo(e,t=mo,n){if(!t)return e;if(e._n)return e;const o=(...n)=>{o._d&&Cr(-1);const i=yo(t);let r;try{r=e(...n)}finally{yo(i),o._d&&Cr(1)}return r};return o._n=!0,o._c=!0,o._d=!0,o}function vo(e){const{type:t,vnode:n,proxy:o,withProxy:i,props:r,propsOptions:[a],slots:s,attrs:l,emit:u,render:d,renderCache:h,data:p,setupState:f,ctx:m,inheritAttrs:g}=e;let y,b;const v=yo(e);try{if(4&n.shapeFlag){const e=i||o,t=e;y=$r(d.call(t,e,h,r,f,p,m)),b=l}else{const e=t;0,y=$r(e.length>1?e(r,{attrs:l,slots:s,emit:u}):e(r,null)),b=t.props?l:_o(l)}}catch(w){wr.length=0,qn(w,e,1),y=Lr(vr)}let _=y;if(b&&!1!==g){const e=Object.keys(b),{shapeFlag:t}=_;e.length&&7&t&&(a&&e.some(c)&&(b=wo(b,a)),_=Rr(_,b))}return n.dirs&&(_=Rr(_),_.dirs=_.dirs?_.dirs.concat(n.dirs):n.dirs),n.transition&&(_.transition=n.transition),y=_,yo(v),y}const _o=e=>{let t;for(const n in e)("class"===n||"style"===n||l(n))&&((t||(t={}))[n]=e[n]);return t},wo=(e,t)=>{const n={};for(const o in e)c(o)&&o.slice(9)in t||(n[o]=e[o]);return n};function xo(e,t,n){const o=Object.keys(t);if(o.length!==Object.keys(e).length)return!0;for(let i=0;ie.__isSuspense;const Po=Symbol.for("v-scx");function Bo(e,t){return Mo(e,null,t)}const Oo={};function No(e,t,n){return Mo(e,t,n)}function Mo(e,t,{immediate:n,deep:o,flush:r,once:s,onTrack:l,onTrigger:c}=i){if(t&&s){const e=t;t=(...t)=>{e(...t),A()}}const u=qr,h=e=>!0===o?e:Do(e,!1===o?1:void 0);let p,m,g=!1,y=!1;if(Rn(e)?(p=()=>e.value,g=Tn(e)):Cn(e)?(p=()=>h(e),g=!0):f(e)?(y=!0,g=e.some(e=>Cn(e)||Tn(e)),p=()=>e.map(e=>Rn(e)?e.value:Cn(e)?h(e):b(e)?Wn(e,u,2):void 0)):p=b(e)?t?()=>Wn(e,u,2):()=>(m&&m(),Un(e,u,3,[_])):a,t&&o){const e=p;p=()=>Do(e())}let v,_=e=>{m=k.onStop=()=>{Wn(e,u,4),m=k.onStop=void 0}};if(ea){if(_=a,t?n&&Un(t,u,3,[p(),y?[]:void 0,_]):p(),"sync"!==r)return a;{const e=Ki(Po);v=e.__watcherHandles||(e.__watcherHandles=[])}}let w=y?new Array(e.length).fill(Oo):Oo;const x=()=>{if(k.active&&k.dirty)if(t){const e=k.run();(o||g||(y?e.some((e,t)=>L(e,w[t])):L(e,w)))&&(m&&m(),Un(t,u,3,[e,w===Oo?void 0:y&&w[0]===Oo?[]:w,_]),w=e)}else k.run()};let S;x.allowRecurse=!!t,"sync"===r?S=x:"post"===r?S=()=>dr(x,u&&u.suspense):(x.pre=!0,u&&(x.id=u.uid),S=()=>oo(x));const k=new gt(p,a,S),C=ht,A=()=>{k.stop(),C&&d(C.effects,k)};return t?n?x():w=k.run():"post"===r?dr(k.run.bind(k),u&&u.suspense):k.run(),v&&v.push(A),A}function Lo(e,t,n){const o=this.proxy,i=v(e)?e.includes(".")?Ro(o,e):()=>o[e]:e.bind(o,o);let r;b(t)?r=t:(r=t.handler,n=t);const a=Xr(this),s=Mo(i,r.bind(o),n);return a(),s}function Ro(e,t){const n=t.split(".");return()=>{let t=e;for(let e=0;e0){if(n>=t)return e;n++}if((o=o||new Set).has(e))return e;if(o.add(e),Rn(e))Do(e.value,t,n,o);else if(f(e))for(let i=0;i{Do(e,t,n,o)});else if(C(e))for(const i in e)Do(e[i],t,n,o);return e}function zo(e,t){if(null===mo)return e;const n=oa(mo)||mo.proxy,o=e.dirs||(e.dirs=[]);for(let r=0;r{e.isMounted=!0}),_i(()=>{e.isUnmounting=!0}),e}();return()=>{const i=t.default&&Xo(t.default(),!0);if(!i||!i.length)return;let r=i[0];if(i.length>1)for(const e of i)if(e.type!==vr){r=e;break}const a=En(e),{mode:s}=a;if(o.isLeaving)return Qo(r);const l=Go(r);if(!l)return Qo(r);const c=qo(l,a,o,n);Yo(l,c);const u=n.subTree,d=u&&Go(u);if(d&&d.type!==vr&&!Pr(l,d)){const e=qo(d,a,o,n);if(Yo(d,e),"out-in"===s)return o.isLeaving=!0,e.afterLeave=()=>{o.isLeaving=!1,!1!==n.update.active&&(n.effect.dirty=!0,n.update())},Qo(r);"in-out"===s&&l.type!==vr&&(e.delayLeave=(e,t,n)=>{Uo(o,d)[String(d.key)]=d,e[Fo]=()=>{t(),e[Fo]=void 0,delete c.delayedLeave},c.delayedLeave=n})}return r}}};function Uo(e,t){const{leavingVNodes:n}=e;let o=n.get(t.type);return o||(o=Object.create(null),n.set(t.type,o)),o}function qo(e,t,n,o){const{appear:i,mode:r,persisted:a=!1,onBeforeEnter:s,onEnter:l,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:d,onLeave:h,onAfterLeave:p,onLeaveCancelled:m,onBeforeAppear:g,onAppear:y,onAfterAppear:b,onAppearCancelled:v}=t,_=String(e.key),w=Uo(n,e),x=(e,t)=>{e&&Un(e,o,9,t)},S=(e,t)=>{const n=t[1];x(e,t),f(e)?e.every(e=>e.length<=1)&&n():e.length<=1&&n()},k={mode:r,persisted:a,beforeEnter(t){let o=s;if(!n.isMounted){if(!i)return;o=g||s}t[Fo]&&t[Fo](!0);const r=w[_];r&&Pr(e,r)&&r.el[Fo]&&r.el[Fo](),x(o,[t])},enter(e){let t=l,o=c,r=u;if(!n.isMounted){if(!i)return;t=y||l,o=b||c,r=v||u}let a=!1;const s=e[jo]=t=>{a||(a=!0,x(t?r:o,[e]),k.delayedLeave&&k.delayedLeave(),e[jo]=void 0)};t?S(t,[e,s]):s()},leave(t,o){const i=String(e.key);if(t[jo]&&t[jo](!0),n.isUnmounting)return o();x(d,[t]);let r=!1;const a=t[Fo]=n=>{r||(r=!0,o(),x(n?m:p,[t]),t[Fo]=void 0,w[i]===e&&delete w[i])};w[i]=e,h?S(h,[t,a]):a()},clone:e=>qo(e,t,n,o)};return k}function Qo(e){if(ti(e))return(e=Rr(e)).children=null,e}function Go(e){return ti(e)?e.children?e.children[0]:void 0:e}function Yo(e,t){6&e.shapeFlag&&e.component?Yo(e.component.subTree,t):128&e.shapeFlag?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Xo(e,t=!1,n){let o=[],i=0;for(let r=0;r1)for(let r=0;ru({name:e.name},t,{setup:e}))():e}const Jo=e=>!!e.type.__asyncLoader; -/*! #__NO_SIDE_EFFECTS__ */function Zo(e){b(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:o,delay:i=200,timeout:r,suspensible:a=!0,onError:s}=e;let l,c=null,u=0;const d=()=>{let e;return c||(e=c=t().catch(e=>{if(e=e instanceof Error?e:new Error(String(e)),s)return new Promise((t,n)=>{s(e,()=>t((u++,c=null,d())),()=>n(e),u+1)});throw e}).then(t=>e!==c&&c?c:(t&&(t.__esModule||"Module"===t[Symbol.toStringTag])&&(t=t.default),l=t,t)))};return Ko({name:"AsyncComponentWrapper",__asyncLoader:d,get __asyncResolved(){return l},setup(){const e=qr;if(l)return()=>ei(l,e);const t=t=>{c=null,qn(t,e,13,!o)};if(a&&e.suspense||ea)return d().then(t=>()=>ei(t,e)).catch(e=>(t(e),()=>o?Lr(o,{error:e}):null));const s=Dn(!1),u=Dn(),h=Dn(!!i);return i&&setTimeout(()=>{h.value=!1},i),null!=r&&setTimeout(()=>{if(!s.value&&!u.value){const e=new Error(`Async component timed out after ${r}ms.`);t(e),u.value=e}},r),d().then(()=>{s.value=!0,e.parent&&ti(e.parent.vnode)&&(e.parent.effect.dirty=!0,oo(e.parent.update))}).catch(e=>{t(e),u.value=e}),()=>s.value&&l?ei(l,e):u.value&&o?Lr(o,{error:u.value}):n&&!h.value?Lr(n):void 0}})}function ei(e,t){const{ref:n,props:o,children:i,ce:r}=t.vnode,a=Lr(e,o,i);return a.ref=n,a.ce=r,delete t.vnode.ce,a}const ti=e=>e.type.__isKeepAlive;class ni{constructor(e){this.max=e,this._cache=new Map,this._keys=new Set,this._max=parseInt(e,10)}get(e){const{_cache:t,_keys:n,_max:o}=this,i=t.get(e);if(i)n.delete(e),n.add(e);else if(n.add(e),o&&n.size>o){const e=n.values().next().value;this.pruneCacheEntry(t.get(e)),this.delete(e)}return i}set(e,t){this._cache.set(e,t)}delete(e){this._cache.delete(e),this._keys.delete(e)}forEach(e,t){this._cache.forEach(e.bind(t))}}const oi={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number],matchBy:{type:String,default:"name"},cache:Object},setup(e,{slots:t}){const n=Qr(),o=n.ctx;if(!o.renderer)return()=>{const e=t.default&&t.default();return e&&1===e.length?e[0]:e};const i=e.cache||new ni(e.max);i.pruneCacheEntry=a;let r=null;function a(t){var o;!r||!Pr(t,r)||"key"===e.matchBy&&t.key!==r.key?(ui(o=t),u(o,n,s,!0)):r&&ui(r)}const s=n.suspense,{renderer:{p:l,m:c,um:u,o:{createElement:d}}}=o,h=d("div");function p(t){i.forEach((n,o)=>{const r=hi(n,e.matchBy);!r||t&&t(r)||(i.delete(o),a(n))})}o.activate=(e,t,n,o,i)=>{const r=e.component;if(r.ba){const e=r.isDeactivated;r.isDeactivated=!1,R(r.ba),r.isDeactivated=e}c(e,t,n,0,s),l(r.vnode,e,t,n,r,s,o,e.slotScopeIds,i),dr(()=>{r.isDeactivated=!1,r.a&&R(r.a);const t=e.props&&e.props.onVnodeMounted;t&&Vr(t,r.parent,e)},s)},o.deactivate=e=>{const t=e.component;t.bda&&pi(t.bda),c(e,h,null,1,s),dr(()=>{t.bda&&t.bda.forEach(e=>e.__called=!1),t.da&&R(t.da);const n=e.props&&e.props.onVnodeUnmounted;n&&Vr(n,t.parent,e),t.isDeactivated=!0},s)},No(()=>[e.include,e.exclude,e.matchBy],([e,t])=>{e&&p(t=>ri(e,t)),t&&p(e=>!ri(t,e))},{flush:"post",deep:!0});let f=null;const m=()=>{null!=f&&i.set(f,di(n.subTree))};return yi(m),vi(m),_i(()=>{i.forEach((t,o)=>{i.delete(o),a(t);const{subTree:r,suspense:s}=n,l=di(r);if(t.type===l.type&&("key"!==e.matchBy||t.key===l.key)){l.component.bda&&R(l.component.bda),ui(l);const e=l.component.da;return void(e&&dr(e,s))}})}),()=>{if(f=null,!t.default)return null;const n=t.default(),o=n[0];if(n.length>1)return r=null,n;if(!Er(o)||!(4&o.shapeFlag)&&!Eo(o.type))return r=null,o;let a=di(o);const s=a.type,l=hi(a,e.matchBy),{include:c,exclude:u}=e;if(c&&(!l||!ri(c,l))||u&&l&&ri(u,l))return r=a,o;const d=null==a.key?s:a.key,h=i.get(d);return a.el&&(a=Rr(a),Eo(o.type)&&(o.ssContent=a)),f=d,h&&(a.el=h.el,a.component=h.component,a.transition&&Yo(a,a.transition),a.shapeFlag|=512),a.shapeFlag|=256,r=a,Eo(o.type)?o:a}}},ii=oi;function ri(e,t){return f(e)?e.some(e=>ri(e,t)):v(e)?e.split(",").includes(t):"[object RegExp]"===k(e)&&e.test(t)}function ai(e,t){li(e,"a",t)}function si(e,t){li(e,"da",t)}function li(e,t,n=qr){const o=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()});if(o.__called=!1,fi(t,o,n),n){let e=n.parent;for(;e&&e.parent;)ti(e.parent.vnode)&&ci(o,t,n,e),e=e.parent}}function ci(e,t,n,o){const i=fi(t,e,o,!0);wi(()=>{d(o[t],i)},n)}function ui(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function di(e){return Eo(e.type)?e.ssContent:e}function hi(e,t){if("name"===t){const t=e.type;return ia(Jo(e)?t.__asyncResolved||{}:t)}return String(e.key)}function pi(e){for(let t=0;t-1&&n.$pageInstance){if(n.type.__reserved)return;if(n!==n.$pageInstance&&(n=n.$pageInstance,function(e){return[fe,le].indexOf(e)>-1}(e))){const o=n.proxy;Un(t.bind(o),n,e,fe===e?[o.$page.options]:[])}}const r=n[e]||(n[e]=[]),a=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;kt();const i=Xr(n),r=Un(t,n,e,o);return i(),Ct(),r});return o?r.unshift(a):r.push(a),a}var i}const mi=e=>(t,n=qr)=>(!ea||"sp"===e)&&fi(e,(...e)=>t(...e),n),gi=mi("bm"),yi=mi("m"),bi=mi("bu"),vi=mi("u"),_i=mi("bum"),wi=mi("um"),xi=mi("sp"),Si=mi("rtg"),ki=mi("rtc");function Ci(e,t=qr){fi("ec",e,t)}function Ai(e,t,n,o){let i;const r=n&&n[o];if(f(e)||v(e)){i=new Array(e.length);for(let n=0,o=e.length;nt(e,n,void 0,r&&r[n]));else{const n=Object.keys(e);i=new Array(n.length);for(let o=0,a=n.length;o!Er(e)||e.type!==vr&&!(e.type===yr&&!Ii(e.children)))?e:null}const Ei=e=>{if(!e)return null;if(Jr(e)){return oa(e)||e.proxy}return Ei(e.parent)},Pi=u(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Ei(e.parent),$root:e=>Ei(e.root),$emit:e=>e.emit,$options:e=>zi(e),$forceUpdate:e=>e.f||(e.f=(e=>function(){e.effect.dirty=!0,oo(e.update)})(e)),$nextTick:e=>e.n||(e.n=no.bind(e.proxy)),$watch:e=>Lo.bind(e)}),Bi=(e,t)=>e!==i&&!e.__isScriptSetup&&p(e,t),Oi={get({_:e},t){const{ctx:n,setupState:o,data:r,props:a,accessCache:s,type:l,appContext:c}=e;let u;if("$"!==t[0]){const l=s[t];if(void 0!==l)switch(l){case 1:return o[t];case 2:return r[t];case 4:return n[t];case 3:return a[t]}else{if(Bi(o,t))return s[t]=1,o[t];if(r!==i&&p(r,t))return s[t]=2,r[t];if((u=e.propsOptions[0])&&p(u,t))return s[t]=3,a[t];if(n!==i&&p(n,t))return s[t]=4,n[t];Mi&&(s[t]=0)}}const d=Pi[t];let h,f;return d?("$attrs"===t&&Lt(e,0,t),d(e)):(h=l.__cssModules)&&(h=h[t])?h:n!==i&&p(n,t)?(s[t]=4,n[t]):(f=c.config.globalProperties,p(f,t)?f[t]:void 0)},set({_:e},t,n){const{data:o,setupState:r,ctx:a}=e;return Bi(r,t)?(r[t]=n,!0):o!==i&&p(o,t)?(o[t]=n,!0):!p(e.props,t)&&(("$"!==t[0]||!(t.slice(1)in e))&&(a[t]=n,!0))},has({_:{data:e,setupState:t,accessCache:n,ctx:o,appContext:r,propsOptions:a}},s){let l;return!!n[s]||e!==i&&p(e,s)||Bi(t,s)||(l=a[0])&&p(l,s)||p(o,s)||p(Pi,s)||p(r.config.globalProperties,s)},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:p(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Ni(e){return f(e)?e.reduce((e,t)=>(e[t]=null,e),{}):e}let Mi=!0;function Li(e){const t=zi(e),n=e.proxy,o=e.ctx;Mi=!1,t.beforeCreate&&Ri(t.beforeCreate,e,"bc");const{data:i,computed:r,methods:s,watch:l,provide:c,inject:u,created:d,beforeMount:h,mounted:p,beforeUpdate:m,updated:g,activated:y,deactivated:v,beforeDestroy:_,beforeUnmount:x,destroyed:S,unmounted:k,render:C,renderTracked:A,renderTriggered:T,errorCaptured:I,serverPrefetch:E,expose:P,inheritAttrs:B,components:O,directives:N,filters:M}=t;if(u&&function(e,t){f(e)&&(e=Hi(e));for(const n in e){const o=e[n];let i;i=w(o)?"default"in o?Ki(o.from||n,o.default,!0):Ki(o.from||n):Ki(o),Rn(i)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>i.value,set:e=>i.value=e}):t[n]=i}}(u,o,null),s)for(const a in s){const e=s[a];b(e)&&(o[a]=e.bind(n))}if(i){const t=i.call(n,n);w(t)&&(e.data=wn(t))}if(Mi=!0,r)for(const f in r){const e=r[f],t=b(e)?e.bind(n,n):b(e.get)?e.get.bind(n,n):a,i=!b(e)&&b(e.set)?e.set.bind(n):a,s=ra({get:t,set:i});Object.defineProperty(o,f,{enumerable:!0,configurable:!0,get:()=>s.value,set:e=>s.value=e})}if(l)for(const a in l)Di(l[a],o,n,a);if(c){const e=b(c)?c.call(n):c;Reflect.ownKeys(e).forEach(t=>{Xi(t,e[t])})}function L(e,t){f(t)?t.forEach(t=>e(t.bind(n))):t&&e(t.bind(n))}if(d&&Ri(d,e,"c"),L(gi,h),L(yi,p),L(bi,m),L(vi,g),L(ai,y),L(si,v),L(Ci,I),L(ki,A),L(Si,T),L(_i,x),L(wi,k),L(xi,E),f(P))if(P.length){const t=e.exposed||(e.exposed={});P.forEach(e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t})})}else e.exposed||(e.exposed={});C&&e.render===a&&(e.render=C),null!=B&&(e.inheritAttrs=B),O&&(e.components=O),N&&(e.directives=N);const R=e.appContext.config.globalProperties.$applyOptions;R&&R(t,e,n)}function Ri(e,t,n){Un(f(e)?e.map(e=>e.bind(t.proxy)):e.bind(t.proxy),t,n)}function Di(e,t,n,o){const i=o.includes(".")?Ro(n,o):()=>n[o];if(v(e)){const n=t[e];b(n)&&No(i,n)}else if(b(e))No(i,e.bind(n));else if(w(e))if(f(e))e.forEach(e=>Di(e,t,n,o));else{const o=b(e.handler)?e.handler.bind(n):t[e.handler];b(o)&&No(i,o,e)}}function zi(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:i,optionsCache:r,config:{optionMergeStrategies:a}}=e.appContext,s=r.get(t);let l;return s?l=s:i.length||n||o?(l={},i.length&&i.forEach(e=>$i(l,e,a,!0)),$i(l,t,a)):l=t,w(t)&&r.set(t,l),l}function $i(e,t,n,o=!1){const{mixins:i,extends:r}=t;r&&$i(e,r,n,!0),i&&i.forEach(t=>$i(e,t,n,!0));for(const a in t)if(o&&"expose"===a);else{const o=Fi[a]||n&&n[a];e[a]=o?o(e[a],t[a]):t[a]}return e}const Fi={data:ji,props:Ui,emits:Ui,methods:Wi,computed:Wi,beforeCreate:Vi,created:Vi,beforeMount:Vi,mounted:Vi,beforeUpdate:Vi,updated:Vi,beforeDestroy:Vi,beforeUnmount:Vi,destroyed:Vi,unmounted:Vi,activated:Vi,deactivated:Vi,errorCaptured:Vi,serverPrefetch:Vi,components:Wi,directives:Wi,watch:function(e,t){if(!e)return t;if(!t)return e;const n=u(Object.create(null),e);for(const o in t)n[o]=Vi(e[o],t[o]);return n},provide:ji,inject:function(e,t){return Wi(Hi(e),Hi(t))}};function ji(e,t){return t?e?function(){return u(b(e)?e.call(this,this):e,b(t)?t.call(this,this):t)}:t:e}function Hi(e){if(f(e)){const t={};for(let n=0;n(r.has(e)||(e&&b(e.install)?(r.add(e),e.install(s,...t)):b(e)&&(r.add(e),e(s,...t))),s),mixin:e=>(i.mixins.includes(e)||i.mixins.push(e),s),component:(e,t)=>t?(i.components[e]=t,s):i.components[e],directive:(e,t)=>t?(i.directives[e]=t,s):i.directives[e],mount(r,l,c){if(!a){const u=Lr(n,o);return u.appContext=i,!0===c?c="svg":!1===c&&(c=void 0),l&&t?t(u,r):e(u,r,c),a=!0,s._container=r,r.__vue_app__=s,s._instance=u.component,oa(u.component)||u.component.proxy}},unmount(){a&&(e(null,s._container),delete s._container.__vue_app__)},provide:(e,t)=>(i.provides[e]=t,s),runWithContext(e){const t=Yi;Yi=s;try{return e()}finally{Yi=t}}};return s}}let Yi=null;function Xi(e,t){if(qr){let n=qr.provides;const o=qr.parent&&qr.parent.provides;o===n&&(n=qr.provides=Object.create(o)),n[e]=t,"app"===qr.type.mpType&&qr.appContext.app.provide(e,t)}else;}function Ki(e,t,n=!1){const o=qr||mo;if(o||Yi){const i=o?null==o.parent?o.vnode.appContext&&o.vnode.appContext.provides:o.parent.provides:Yi._context.provides;if(i&&e in i)return i[e];if(arguments.length>1)return n&&b(t)?t.call(o&&o.proxy):t}}function Ji(e,t,n,o){const[r,a]=e.propsOptions;let s,l=!1;if(t)for(let i in t){if(T(i))continue;const c=t[i];let u;r&&p(r,u=P(i))?a&&a.includes(u)?(s||(s={}))[u]=c:n[u]=c:fo(e.emitsOptions,i)||i in o&&c===o[i]||(o[i]=c,l=!0)}if(a){const t=En(n),o=s||i;for(let i=0;i{d=!0;const[n,o]=er(e,t,!0);u(l,n),o&&c.push(...o)};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}if(!s&&!d)return w(e)&&o.set(e,r),r;if(f(s))for(let r=0;r-1,n[1]=o<0||t-1||p(n,"default"))&&c.push(e)}}}const h=[l,c];return w(e)&&o.set(e,h),h}function tr(e){return"$"!==e[0]&&!T(e)}function nr(e){if(null===e)return"null";if("function"==typeof e)return e.name||"";if("object"==typeof e){return e.constructor&&e.constructor.name||""}return""}function or(e,t){return nr(e)===nr(t)}function ir(e,t){return f(t)?t.findIndex(t=>or(t,e)):b(t)&&or(t,e)?0:-1}const rr=e=>"_"===e[0]||"$stable"===e,ar=e=>f(e)?e.map($r):[$r(e)],sr=(e,t,n)=>{if(t._n)return t;const o=bo((...e)=>ar(t(...e)),n);return o._c=!1,o},lr=(e,t,n)=>{const o=e._ctx;for(const i in e){if(rr(i))continue;const n=e[i];if(b(n))t[i]=sr(0,n,o);else if(null!=n){const e=ar(n);t[i]=()=>e}}},cr=(e,t)=>{const n=ar(t);e.slots.default=()=>n};function ur(e,t,n,o,r=!1){if(f(e))return void e.forEach((e,i)=>ur(e,t&&(f(t)?t[i]:t),n,o,r));if(Jo(o)&&!r)return;const a=4&o.shapeFlag?oa(o.component)||o.component.proxy:o.el,s=r?null:a,{i:l,r:c}=e,u=t&&t.r,h=l.refs===i?l.refs={}:l.refs,m=l.setupState;if(null!=u&&u!==c&&(v(u)?(h[u]=null,p(m,u)&&(m[u]=null)):Rn(u)&&(u.value=null)),b(c))Wn(c,l,12,[s,h]);else{const t=v(c),o=Rn(c);if(t||o){const i=()=>{if(e.f){const n=t?p(m,c)?m[c]:h[c]:c.value;r?f(n)&&d(n,a):f(n)?n.includes(a)||n.push(a):t?(h[c]=[a],p(m,c)&&(m[c]=h[c])):(c.value=[a],e.k&&(h[e.k]=c.value))}else t?(h[c]=s,p(m,c)&&(m[c]=s)):o&&(c.value=s,e.k&&(h[e.k]=s))};s?(i.id=-1,dr(i,n)):i()}}}const dr=function(e,t){var n;t&&t.pendingBranch?f(e)?t.effects.push(...e):t.effects.push(e):(f(n=e)?Kn.push(...n):Jn&&Jn.includes(n,n.allowRecurse?Zn+1:Zn)||Kn.push(n),io())};function hr(e){return function(e,t){F().__VUE__=!0;const{insert:n,remove:o,patchProp:s,forcePatchProp:l,createElement:c,createText:d,createComment:h,setText:f,setElementText:m,parentNode:g,nextSibling:y,setScopeId:b=a,insertStaticContent:v}=e,_=(e,t,n,o=null,i=null,r=null,a=void 0,s=null,l=!!t.dynamicChildren)=>{if(e===t)return;e&&!Pr(e,t)&&(o=te(e),X(e,i,r,!0),e=null),-2===t.patchFlag&&(l=!1,t.dynamicChildren=null);const{type:c,ref:u,shapeFlag:d}=t;switch(c){case br:w(e,t,n,o);break;case vr:S(e,t,n,o);break;case _r:null==e&&k(t,n,o,a);break;case yr:$(e,t,n,o,i,r,a,s,l);break;default:1&d?I(e,t,n,o,i,r,a,s,l):6&d?j(e,t,n,o,i,r,a,s,l):(64&d||128&d)&&c.process(e,t,n,o,i,r,a,s,l,ie)}null!=u&&i&&ur(u,e&&e.ref,r,t||e,!t)},w=(e,t,o,i)=>{if(null==e)n(t.el=d(t.children),o,i);else{const n=t.el=e.el;t.children!==e.children&&f(n,t.children)}},S=(e,t,o,i)=>{null==e?n(t.el=h(t.children||""),o,i):t.el=e.el},k=(e,t,n,o)=>{[e.el,e.anchor]=v(e.children,t,n,o,e.el,e.anchor)},C=({el:e,anchor:t},o,i)=>{let r;for(;e&&e!==t;)r=y(e),n(e,o,i),e=r;n(t,o,i)},A=({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=y(e),o(e),e=n;o(t)},I=(e,t,n,o,i,r,a,s,l)=>{"svg"===t.type?a="svg":"math"===t.type&&(a="mathml"),null==e?E(t,n,o,i,r,a,s,l):M(e,t,i,r,a,s,l)},E=(e,t,o,i,r,a,l,u)=>{let d,h;const{props:p,shapeFlag:f,transition:g,dirs:y}=e;if(d=e.el=c(e.type,a,p&&p.is,p),8&f?m(d,e.children):16&f&&N(e.children,d,null,i,r,pr(e,a),l,u),y&&$o(e,null,i,"created"),B(d,e,e.scopeId,l,i),p){for(const t in p)"value"===t||T(t)||s(d,t,null,p[t],a,e.children,i,r,ee);"value"in p&&s(d,"value",null,p.value,a),(h=p.onVnodeBeforeMount)&&Vr(h,i,e)}Object.defineProperty(d,"__vueParentComponent",{value:i,enumerable:!1}),y&&$o(e,null,i,"beforeMount");const b=function(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}(r,g);b&&g.beforeEnter(d),n(d,t,o),((h=p&&p.onVnodeMounted)||b||y)&&dr(()=>{h&&Vr(h,i,e),b&&g.enter(d),y&&$o(e,null,i,"mounted")},r)},B=(e,t,n,o,i)=>{if(n&&b(e,n),o)for(let r=0;r{for(let c=l;c{const u=t.el=e.el;let{patchFlag:d,dynamicChildren:h,dirs:p}=t;d|=16&e.patchFlag;const f=e.props||i,g=t.props||i;let y;if(n&&fr(n,!1),(y=g.onVnodeBeforeUpdate)&&Vr(y,n,t,e),p&&$o(t,e,n,"beforeUpdate"),n&&fr(n,!0),h?L(e.dynamicChildren,h,u,n,o,pr(t,r),a):c||q(e,t,u,null,n,o,pr(t,r),a,!1),d>0){if(16&d)z(u,t,f,g,n,o,r);else if(2&d&&f.class!==g.class&&s(u,"class",null,g.class,r),4&d&&s(u,"style",f.style,g.style,r),8&d){const i=t.dynamicProps;for(let t=0;t{y&&Vr(y,n,t,e),p&&$o(t,e,n,"updated")},o)},L=(e,t,n,o,i,r,a)=>{for(let s=0;s{if(n!==o){if(n!==i)for(const i in n)T(i)||i in o||s(e,i,n[i],null,c,t.children,r,a,ee);for(const i in o){if(T(i))continue;const u=o[i],d=n[i];(u!==d&&"value"!==i||l&&l(e,i))&&s(e,i,d,u,c,t.children,r,a,ee)}"value"in o&&s(e,"value",n.value,o.value,c)}},$=(e,t,o,i,r,a,s,l,c)=>{const u=t.el=e?e.el:d(""),h=t.anchor=e?e.anchor:d("");let{patchFlag:p,dynamicChildren:f,slotScopeIds:m}=t;m&&(l=l?l.concat(m):m),null==e?(n(u,o,i),n(h,o,i),N(t.children||[],o,h,r,a,s,l,c)):p>0&&64&p&&f&&e.dynamicChildren?(L(e.dynamicChildren,f,o,r,a,s,l),(null!=t.key||r&&t===r.subTree)&&mr(e,t,!0)):q(e,t,o,h,r,a,s,l,c)},j=(e,t,n,o,i,r,a,s,l)=>{t.slotScopeIds=s,null==e?512&t.shapeFlag?i.ctx.activate(t,n,o,a,l):H(t,n,o,i,r,a,l):V(e,t,l)},H=(e,t,n,o,r,a,s)=>{const l=e.component=function(e,t,n){const o=e.type,r=(t?t.appContext:e.appContext)||Wr,a={uid:Ur++,vnode:e,type:o,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,scope:new ft(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:er(o,r),emitsOptions:po(o,r),emit:null,emitted:null,propsDefaults:i,inheritAttrs:o.inheritAttrs,ctx:i,data:i,props:i,attrs:i,slots:i,refs:i,setupState:i,setupContext:null,attrsProxy:null,slotsProxy:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,bda:null,da:null,ba:null,a:null,rtg:null,rtc:null,ec:null,sp:null};a.ctx={_:a},a.root=t?t.root:a,a.emit=uo.bind(null,a),a.$pageInstance=t&&t.$pageInstance,e.ce&&e.ce(a);return a}(e,o,r);if(ti(e)&&(l.ctx.renderer=ie),function(e,t=!1){t&&Yr(t);const{props:n,children:o}=e.vnode,i=Jr(e);(function(e,t,n,o=!1){const i={},r={};D(r,Br,1),e.propsDefaults=Object.create(null),Ji(e,t,i,r);for(const a in e.propsOptions[0])a in i||(i[a]=void 0);n?e.props=o?i:xn(i):e.type.props?e.props=i:e.props=r,e.attrs=r})(e,n,i,t),((e,t)=>{if(32&e.vnode.shapeFlag){const n=t._;n?(e.slots=En(t),D(t,"_",n)):lr(t,e.slots={})}else e.slots={},t&&cr(e,t);D(e.slots,Br,1)})(e,o);const r=i?function(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=Pn(new Proxy(e.ctx,Oi));const{setup:o}=n;if(o){const n=e.setupContext=o.length>1?function(e){const t=t=>{e.exposed=t||{}};return{get attrs(){return function(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get:(t,n)=>(Lt(e,0,"$attrs"),t[n])}))}(e)},slots:e.slots,emit:e.emit,expose:t}}(e):null,i=Xr(e);kt();const r=Wn(o,e,0,[e.props,n]);if(Ct(),i(),x(r)){if(r.then(Kr,Kr),t)return r.then(n=>{ta(e,n,t)}).catch(t=>{qn(t,e,0)});e.asyncDep=r}else ta(e,r,t)}else na(e,t)}(e,t):void 0;t&&Yr(!1)}(l),l.asyncDep){if(r&&r.registerDep(l,W),!e.el){const e=l.subTree=Lr(vr);S(null,e,t,n)}}else W(l,e,t,n,r,a,s)},V=(e,t,n)=>{const o=t.component=e.component;if(function(e,t,n){const{props:o,children:i,component:r}=e,{props:a,children:s,patchFlag:l}=t,c=r.emitsOptions;if(t.dirs||t.transition)return!0;if(!(n&&l>=0))return!(!i&&!s||s&&s.$stable)||o!==a&&(o?!a||xo(o,a,c):!!a);if(1024&l)return!0;if(16&l)return o?xo(o,a,c):!!a;if(8&l){const e=t.dynamicProps;for(let t=0;tXn&&Yn.splice(t,1)}(o.update),o.effect.dirty=!0,o.update()}else t.el=e.el,o.vnode=t},W=(e,t,n,o,i,r,s)=>{const l=()=>{if(e.isMounted){let{next:t,bu:n,u:o,parent:a,vnode:c}=e;{const n=gr(e);if(n)return t&&(t.el=c.el,U(e,t,s)),void n.asyncDep.then(()=>{e.isUnmounted||l()})}let u,d=t;fr(e,!1),t?(t.el=c.el,U(e,t,s)):t=c,n&&R(n),(u=t.props&&t.props.onVnodeBeforeUpdate)&&Vr(u,a,t,c),fr(e,!0);const h=vo(e),p=e.subTree;e.subTree=h,_(p,h,g(p.el),te(p),e,i,r),t.el=h.el,null===d&&function({vnode:e,parent:t},n){for(;t;){const o=t.subTree;if(o.suspense&&o.suspense.activeBranch===e&&(o.el=e.el),o!==e)break;(e=t.vnode).el=n,t=t.parent}}(e,h.el),o&&dr(o,i),(u=t.props&&t.props.onVnodeUpdated)&&dr(()=>Vr(u,a,t,c),i)}else{let a;const{el:s,props:l}=t,{bm:c,m:u,parent:d}=e,h=Jo(t);if(fr(e,!1),c&&R(c),!h&&(a=l&&l.onVnodeBeforeMount)&&Vr(a,d,t),fr(e,!0),s&&ae){const n=()=>{e.subTree=vo(e),ae(s,e.subTree,e,i,null)};h?t.type.__asyncLoader().then(()=>!e.isUnmounted&&n()):n()}else{const a=e.subTree=vo(e);_(null,a,n,o,e,i,r),t.el=a.el}if(u&&dr(u,i),!h&&(a=l&&l.onVnodeMounted)){const e=t;dr(()=>Vr(a,d,e),i)}(256&t.shapeFlag||d&&Jo(d.vnode)&&256&d.vnode.shapeFlag)&&(e.ba&&pi(e.ba),e.a&&dr(e.a,i)),e.isMounted=!0,t=n=o=null}},c=e.effect=new gt(l,a,()=>oo(u),e.scope),u=e.update=()=>{c.dirty&&c.run()};u.id=e.uid,fr(e,!0),u()},U=(e,t,n)=>{t.component=e;const o=e.vnode.props;e.vnode=t,e.next=null,function(e,t,n,o){const{props:i,attrs:r,vnode:{patchFlag:a}}=e,s=En(i),[l]=e.propsOptions;let c=!1;if(!(o||a>0)||16&a){let o;Ji(e,t,i,r)&&(c=!0);for(const r in s)t&&(p(t,r)||(o=O(r))!==r&&p(t,o))||(l?!n||void 0===n[r]&&void 0===n[o]||(i[r]=Zi(l,s,r,void 0,e,!0)):delete i[r]);if(r!==s)for(const e in r)t&&p(t,e)||(delete r[e],c=!0)}else if(8&a){const n=e.vnode.dynamicProps;for(let o=0;o{const{vnode:o,slots:r}=e;let a=!0,s=i;if(32&o.shapeFlag){const e=t._;e?n&&1===e?a=!1:(u(r,t),n||1!==e||delete r._):(a=!t.$stable,lr(t,r)),s=t}else t&&(cr(e,t),s={default:1});if(a)for(const i in r)rr(i)||null!=s[i]||delete r[i]})(e,t.children,n),kt(),ro(e),Ct()},q=(e,t,n,o,i,r,a,s,l=!1)=>{const c=e&&e.children,u=e?e.shapeFlag:0,d=t.children,{patchFlag:h,shapeFlag:p}=t;if(h>0){if(128&h)return void G(c,d,n,o,i,r,a,s,l);if(256&h)return void Q(c,d,n,o,i,r,a,s,l)}8&p?(16&u&&ee(c,i,r),d!==c&&m(n,d)):16&u?16&p?G(c,d,n,o,i,r,a,s,l):ee(c,i,r,!0):(8&u&&m(n,""),16&p&&N(d,n,o,i,r,a,s,l))},Q=(e,t,n,o,i,a,s,l,c)=>{t=t||r;const u=(e=e||r).length,d=t.length,h=Math.min(u,d);let p;for(p=0;pd?ee(e,i,a,!0,!1,h):N(t,n,o,i,a,s,l,c,h)},G=(e,t,n,o,i,a,s,l,c)=>{let u=0;const d=t.length;let h=e.length-1,p=d-1;for(;u<=h&&u<=p;){const o=e[u],r=t[u]=c?Fr(t[u]):$r(t[u]);if(!Pr(o,r))break;_(o,r,n,null,i,a,s,l,c),u++}for(;u<=h&&u<=p;){const o=e[h],r=t[p]=c?Fr(t[p]):$r(t[p]);if(!Pr(o,r))break;_(o,r,n,null,i,a,s,l,c),h--,p--}if(u>h){if(u<=p){const e=p+1,r=ep)for(;u<=h;)X(e[u],i,a,!0),u++;else{const f=u,m=u,g=new Map;for(u=m;u<=p;u++){const e=t[u]=c?Fr(t[u]):$r(t[u]);null!=e.key&&g.set(e.key,u)}let y,b=0;const v=p-m+1;let w=!1,x=0;const S=new Array(v);for(u=0;u=v){X(o,i,a,!0);continue}let r;if(null!=o.key)r=g.get(o.key);else for(y=m;y<=p;y++)if(0===S[y-m]&&Pr(o,t[y])){r=y;break}void 0===r?X(o,i,a,!0):(S[r-m]=u+1,r>=x?x=r:w=!0,_(o,t[r],n,null,i,a,s,l,c),b++)}const k=w?function(e){const t=e.slice(),n=[0];let o,i,r,a,s;const l=e.length;for(o=0;o>1,e[n[s]]0&&(t[o]=n[r-1]),n[r]=o)}}r=n.length,a=n[r-1];for(;r-- >0;)n[r]=a,a=t[a];return n}(S):r;for(y=k.length-1,u=v-1;u>=0;u--){const e=m+u,r=t[e],h=e+1{const{el:a,type:s,transition:l,children:c,shapeFlag:u}=e;if(6&u)return void Y(e.component.subTree,t,o,i);if(128&u)return void e.suspense.move(t,o,i);if(64&u)return void s.move(e,t,o,ie);if(s===yr){n(a,t,o);for(let e=0;el.enter(a),r);else{const{leave:e,delayLeave:i,afterLeave:r}=l,s=()=>n(a,t,o),c=()=>{e(a,()=>{s(),r&&r()})};i?i(a,s,c):c()}else n(a,t,o)},X=(e,t,n,o=!1,i=!1)=>{const{type:r,props:a,ref:s,children:l,dynamicChildren:c,shapeFlag:u,patchFlag:d,dirs:h}=e;if(null!=s&&ur(s,null,n,e,!0),256&u)return void t.ctx.deactivate(e);const p=1&u&&h,f=!Jo(e);let m;if(f&&(m=a&&a.onVnodeBeforeUnmount)&&Vr(m,t,e),6&u)Z(e.component,n,o);else{if(128&u)return void e.suspense.unmount(n,o);p&&$o(e,null,t,"beforeUnmount"),64&u?e.type.remove(e,t,n,i,ie,o):c&&(r!==yr||d>0&&64&d)?ee(c,t,n,!1,!0):(r===yr&&384&d||!i&&16&u)&&ee(l,t,n),o&&K(e)}(f&&(m=a&&a.onVnodeUnmounted)||p)&&dr(()=>{m&&Vr(m,t,e),p&&$o(e,null,t,"unmounted")},n)},K=e=>{const{type:t,el:n,anchor:i,transition:r}=e;if(t===yr)return void J(n,i);if(t===_r)return void A(e);const a=()=>{o(n),r&&!r.persisted&&r.afterLeave&&r.afterLeave()};if(1&e.shapeFlag&&r&&!r.persisted){const{leave:t,delayLeave:o}=r,i=()=>t(n,a);o?o(e.el,a,i):i()}else a()},J=(e,t)=>{let n;for(;e!==t;)n=y(e),o(e),e=n;o(t)},Z=(e,t,n)=>{const{bum:o,scope:i,update:r,subTree:a,um:s}=e;o&&R(o),i.stop(),r&&(r.active=!1,X(a,e,t,n)),s&&dr(s,t),dr(()=>{e.isUnmounted=!0},t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve())},ee=(e,t,n,o=!1,i=!1,r=0)=>{for(let a=r;a6&e.shapeFlag?te(e.component.subTree):128&e.shapeFlag?e.suspense.next():y(e.anchor||e.el);let ne=!1;const oe=(e,t,n)=>{null==e?t._vnode&&X(t._vnode,null,null,!0):_(t._vnode||null,e,t,null,null,null,n),ne||(ne=!0,ro(),ao(),ne=!1),t._vnode=e},ie={p:_,um:X,m:Y,r:K,mt:H,mc:N,pc:q,pbc:L,n:te,o:e};let re,ae;t&&([re,ae]=t(ie));return{render:oe,hydrate:re,createApp:Gi(oe,re)}}(e)}function pr({type:e,props:t},n){return"svg"===n&&"foreignObject"===e||"mathml"===n&&"annotation-xml"===e&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function fr({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function mr(e,t,n=!1){const o=e.children,i=t.children;if(f(o)&&f(i))for(let r=0;r0?xr||r:null,wr.pop(),xr=wr[wr.length-1]||null,kr>0&&xr&&xr.push(e),e}function Tr(e,t,n,o,i,r){return Ar(Mr(e,t,n,o,i,r,!0))}function Ir(e,t,n,o,i){return Ar(Lr(e,t,n,o,i,!0))}function Er(e){return!!e&&!0===e.__v_isVNode}function Pr(e,t){return e.type===t.type&&e.key===t.key}const Br="__vInternal",Or=({key:e})=>null!=e?e:null,Nr=({ref:e,ref_key:t,ref_for:n})=>("number"==typeof e&&(e=""+e),null!=e?v(e)||Rn(e)||b(e)?{i:mo,r:e,k:t,f:!!n}:e:null);function Mr(e,t=null,n=null,o=0,i=null,r=(e===yr?0:1),a=!1,s=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Or(t),ref:t&&Nr(t),scopeId:go,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:r,patchFlag:o,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:mo};return s?(jr(l,n),128&r&&e.normalize(l)):n&&(l.shapeFlag|=v(n)?8:16),kr>0&&!a&&xr&&(l.patchFlag>0||6&r)&&32!==l.patchFlag&&xr.push(l),l}const Lr=function(e,t=null,n=null,o=0,i=null,r=!1){e&&e!==Co||(e=vr);if(Er(e)){const o=Rr(e,t,!0);return n&&jr(o,n),kr>0&&!r&&xr&&(6&o.shapeFlag?xr[xr.indexOf(e)]=o:xr.push(o)),o.patchFlag|=-2,o}a=e,b(a)&&"__vccOpts"in a&&(e=e.__vccOpts);var a;if(t){t=function(e){return e?In(e)||Br in e?u({},e):e:null}(t);let{class:e,style:n}=t;e&&!v(e)&&(t.class=$e(e)),w(n)&&(In(n)&&!f(n)&&(n=u({},n)),t.style=ze(n))}const s=v(e)?1:Eo(e)?128:(e=>e.__isTeleport)(e)?64:w(e)?4:b(e)?2:0;return Mr(e,t,n,o,i,s,r,!0)};function Rr(e,t,n=!1){const{props:o,ref:i,patchFlag:r,children:a}=e,s=t?Hr(o||{},t):o;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:s,key:s&&Or(s),ref:t&&t.ref?n&&i?f(i)?i.concat(Nr(t)):[i,Nr(t)]:Nr(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==yr?-1===r?16:16|r:r,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Rr(e.ssContent),ssFallback:e.ssFallback&&Rr(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Dr(e=" ",t=0){return Lr(br,null,e,t)}function zr(e="",t=!1){return t?(Sr(),Ir(vr,null,e)):Lr(vr,null,e)}function $r(e){return null==e||"boolean"==typeof e?Lr(vr):f(e)?Lr(yr,null,e.slice()):"object"==typeof e?Fr(e):Lr(br,null,String(e))}function Fr(e){return null===e.el&&-1!==e.patchFlag||e.memo?e:Rr(e)}function jr(e,t){let n=0;const{shapeFlag:o}=e;if(null==t)t=null;else if(f(t))n=16;else if("object"==typeof t){if(65&o){const n=t.default;return void(n&&(n._c&&(n._d=!1),jr(e,n()),n._c&&(n._d=!0)))}{n=32;const o=t._;o||Br in t?3===o&&mo&&(1===mo.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=mo}}else b(t)?(t={default:t,_ctx:mo},n=32):(t=String(t),64&o?(n=16,t=[Dr(t)]):n=8);e.children=t,e.shapeFlag|=n}function Hr(...e){const t={};for(let n=0;nqr||mo;let Gr,Yr;{const e=F(),t=(t,n)=>{let o;return(o=e[t])||(o=e[t]=[]),o.push(n),e=>{o.length>1?o.forEach(t=>t(e)):o[0](e)}};Gr=t("__VUE_INSTANCE_SETTERS__",e=>qr=e),Yr=t("__VUE_SSR_SETTERS__",e=>ea=e)}const Xr=e=>{const t=qr;return Gr(e),e.scope.on(),()=>{e.scope.off(),Gr(t)}},Kr=()=>{qr&&qr.scope.off(),Gr(null)};function Jr(e){return 4&e.vnode.shapeFlag}let Zr,ea=!1;function ta(e,t,n){b(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:w(t)&&(e.setupState=Vn(t)),na(e,n)}function na(e,t,n){const o=e.type;if(!e.render){if(!t&&Zr&&!o.render){const t=o.template||zi(e).template;if(t){const{isCustomElement:n,compilerOptions:i}=e.appContext.config,{delimiters:r,compilerOptions:a}=o,s=u(u({isCustomElement:n,delimiters:r},i),a);o.render=Zr(t,s)}}e.render=o.render||a}{const t=Xr(e);kt();try{Li(e)}finally{Ct(),t()}}}function oa(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Vn(Pn(e.exposed)),{get:(t,n)=>n in t?t[n]:n in Pi?Pi[n](e):void 0,has:(e,t)=>t in e||t in Pi}))}function ia(e,t=!0){return b(e)?e.displayName||e.name:e.name||t&&e.__name}const ra=(e,t)=>{const n=function(e,t,n=!1){let o,i;const r=b(e);return r?(o=e,i=a):(o=e.get,i=e.set),new Nn(o,i,r||!i,n)}(e,0,ea);return n};function aa(e,t,n){const o=arguments.length;return 2===o?w(t)&&!f(t)?Er(t)?Lr(e,null,[t]):Lr(e,t):Lr(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):3===o&&Er(n)&&(n=[n]),Lr(e,t,n))}const sa="3.4.21",la="undefined"!=typeof document?document:null,ca=la&&la.createElement("template"),ua={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,o)=>{const i="svg"===t?la.createElementNS("http://www.w3.org/2000/svg",e):"mathml"===t?la.createElementNS("http://www.w3.org/1998/Math/MathML",e):n?la.createElement(e,{is:n}):la.createElement(e);return"select"===e&&o&&null!=o.multiple&&i.setAttribute("multiple",o.multiple),i},createText:e=>la.createTextNode(e),createComment:e=>la.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>la.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,o,i,r){const a=n?n.previousSibling:t.lastChild;if(i&&(i===r||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),i!==r&&(i=i.nextSibling););else{ca.innerHTML="svg"===o?`${e}`:"mathml"===o?`${e}`:e;const i=ca.content;if("svg"===o||"mathml"===o){const e=i.firstChild;for(;e.firstChild;)i.appendChild(e.firstChild);i.removeChild(e)}t.insertBefore(i,n)}return[a?a.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},da="transition",ha="animation",pa=Symbol("_vtc"),fa=(e,{slots:t})=>aa(Wo,function(e){const t={};for(const u in e)u in ma||(t[u]=e[u]);if(!1===e.css)return t;const{name:n="v",type:o,duration:i,enterFromClass:r=`${n}-enter-from`,enterActiveClass:a=`${n}-enter-active`,enterToClass:s=`${n}-enter-to`,appearFromClass:l=r,appearActiveClass:c=a,appearToClass:d=s,leaveFromClass:h=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:f=`${n}-leave-to`}=e,m=function(e){if(null==e)return null;if(w(e))return[ba(e.enter),ba(e.leave)];{const t=ba(e);return[t,t]}}(i),g=m&&m[0],y=m&&m[1],{onBeforeEnter:b,onEnter:v,onEnterCancelled:_,onLeave:x,onLeaveCancelled:S,onBeforeAppear:k=b,onAppear:C=v,onAppearCancelled:A=_}=t,T=(e,t,n)=>{_a(e,t?d:s),_a(e,t?c:a),n&&n()},I=(e,t)=>{e._isLeaving=!1,_a(e,h),_a(e,f),_a(e,p),t&&t()},E=e=>(t,n)=>{const i=e?C:v,a=()=>T(t,e,n);ga(i,[t,a]),wa(()=>{_a(t,e?l:r),va(t,e?d:s),ya(i)||Sa(t,o,g,a)})};return u(t,{onBeforeEnter(e){ga(b,[e]),va(e,r),va(e,a)},onBeforeAppear(e){ga(k,[e]),va(e,l),va(e,c)},onEnter:E(!1),onAppear:E(!0),onLeave(e,t){e._isLeaving=!0;const n=()=>I(e,t);va(e,h),document.body.offsetHeight,va(e,p),wa(()=>{e._isLeaving&&(_a(e,h),va(e,f),ya(x)||Sa(e,o,y,n))}),ga(x,[e,n])},onEnterCancelled(e){T(e,!1),ga(_,[e])},onAppearCancelled(e){T(e,!0),ga(A,[e])},onLeaveCancelled(e){I(e),ga(S,[e])}})}(e),t);fa.displayName="Transition";const ma={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String};fa.props=u({},Vo,ma);const ga=(e,t=[])=>{f(e)?e.forEach(e=>e(...t)):e&&e(...t)},ya=e=>!!e&&(f(e)?e.some(e=>e.length>1):e.length>1);function ba(e){const t=(e=>{const t=v(e)?Number(e):NaN;return isNaN(t)?e:t})(e);return t}function va(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.add(t)),(e[pa]||(e[pa]=new Set)).add(t)}function _a(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.remove(t));const n=e[pa];n&&(n.delete(t),n.size||(e[pa]=void 0))}function wa(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let xa=0;function Sa(e,t,n,o){const i=e._endId=++xa,r=()=>{i===e._endId&&o()};if(n)return setTimeout(r,n);const{type:a,timeout:s,propCount:l}=function(e,t){const n=window.getComputedStyle(e),o=e=>(n[e]||"").split(", "),i=o(`${da}Delay`),r=o(`${da}Duration`),a=ka(i,r),s=o(`${ha}Delay`),l=o(`${ha}Duration`),c=ka(s,l);let u=null,d=0,h=0;t===da?a>0&&(u=da,d=a,h=r.length):t===ha?c>0&&(u=ha,d=c,h=l.length):(d=Math.max(a,c),u=d>0?a>c?da:ha:null,h=u?u===da?r.length:l.length:0);const p=u===da&&/\b(transform|all)(,|$)/.test(o(`${da}Property`).toString());return{type:u,timeout:d,propCount:h,hasTransform:p}}(e,t);if(!a)return o();const c=a+"end";let u=0;const d=()=>{e.removeEventListener(c,h),r()},h=t=>{t.target===e&&++u>=l&&d()};setTimeout(()=>{uCa(t)+Ca(e[n])))}function Ca(e){return"auto"===e?0:1e3*Number(e.slice(0,-1).replace(",","."))}const Aa=Symbol("_vod"),Ta=Symbol("_vsh"),Ia={beforeMount(e,{value:t},{transition:n}){e[Aa]="none"===e.style.display?"":e.style.display,n&&t?n.beforeEnter(e):Ea(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:o}){!t!=!n&&(o?t?(o.beforeEnter(e),Ea(e,!0),o.enter(e)):o.leave(e,()=>{Ea(e,!1)}):Ea(e,t))},beforeUnmount(e,{value:t}){Ea(e,t)}};function Ea(e,t){e.style.display=t?e[Aa]:"none",e[Ta]=!t}const Pa=Symbol("");function Ba(e){const t=Qr();if(!t)return;const n=t.ut=(n=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(e=>Na(e,n))},o=()=>{const o=e(t.proxy);Oa(t.subTree,o),n(o)};Mo(o,null,{flush:"post"}),yi(()=>{const e=new MutationObserver(o);e.observe(t.subTree.el.parentNode,{childList:!0}),wi(()=>e.disconnect())})}function Oa(e,t){if(128&e.shapeFlag){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{Oa(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(1&e.shapeFlag&&e.el)Na(e.el,t);else if(e.type===yr)e.children.forEach(e=>Oa(e,t));else if(e.type===_r){let{el:n,anchor:o}=e;for(;n&&(Na(n,t),n!==o);)n=n.nextSibling}}function Na(e,t){if(1===e.nodeType){const n=e.style;let o="";for(const e in t){const i=qa(t[e]);n.setProperty(`--${e}`,i),o+=`--${e}: ${i};`}n[Pa]=o}}const Ma=/(^|;)\s*display\s*:/;const La=/\s*!important$/;function Ra(e,t,n){if(f(n))n.forEach(n=>Ra(e,t,n));else if(null==n&&(n=""),n=qa(n),t.startsWith("--"))e.setProperty(t,n);else{const o=function(e,t){const n=za[t];if(n)return n;let o=P(t);if("filter"!==o&&o in e)return za[t]=o;o=N(o);for(let i=0;ie.replace(Ye,(e,t)=>{if(!t)return e;if(1===Wa)return`${t}${Va}`;const n=function(e,t){const n=Math.pow(10,t+1),o=Math.floor(e*n);return 10*Math.round(o/10)/n}(parseFloat(t)*Wa,Ua);return 0===n?"0":`${n}${Va}`}));var Va,Wa,Ua;const qa=e=>v(e)?Ha(e):e,Qa="http://www.w3.org/1999/xlink";function Ga(e,t,n,o){e.addEventListener(t,n,o)}const Ya=Symbol("_vei");function Xa(e,t,n,o,i=null){const r=e[Ya]||(e[Ya]={}),a=r[t];if(o&&a)a.value=o;else{const[n,s]=function(e){let t;if(Ka.test(e)){let n;for(t={};n=e.match(Ka);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}const n=":"===e[2]?e.slice(3):O(e.slice(2));return[n,t]}(t);if(o){const a=r[t]=function(e,t){const n=e=>{if(e._vts){if(e._vts<=n.attached)return}else e._vts=Date.now();const o=t&&t.proxy,i=o&&o.$nne,{value:r}=n;if(i&&f(r)){const n=ts(e,r);for(let o=0;oJa||(Za.then(()=>Ja=0),Ja=Date.now());function ts(e,t){if(f(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(e=>{const t=t=>!t._stopped&&e&&e(t);return t.__wwe=e.__wwe,t})}return t}const ns=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123;const os=e=>{const t=e.props["onUpdate:modelValue"]||!1;return f(t)?e=>R(t,e):t};function is(e){e.target.composing=!0}function rs(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const as=Symbol("_assign"),ss={created(e,{modifiers:{lazy:t,trim:n,number:o}},i){e[as]=os(i);const r=o||i.props&&"number"===i.props.type;Ga(e,t?"change":"input",t=>{if(t.target.composing)return;let o=e.value;n&&(o=o.trim()),r&&(o=z(o)),e[as](o)}),n&&Ga(e,"change",()=>{e.value=e.value.trim()}),t||(Ga(e,"compositionstart",is),Ga(e,"compositionend",rs),Ga(e,"change",rs))},mounted(e,{value:t}){e.value=null==t?"":t},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:o,number:i}},r){if(e[as]=os(r),e.composing)return;const a=null==t?"":t;if((i||"number"===e.type?z(e.value):e.value)!==a){if(document.activeElement===e&&"range"!==e.type){if(n)return;if(o&&e.value.trim()===a)return}e.value=a}}},ls={deep:!0,created(e,t,n){e[as]=os(n),Ga(e,"change",()=>{const t=e._modelValue,n=ps(e),o=e.checked,i=e[as];if(f(t)){const e=X(t,n),r=-1!==e;if(o&&!r)i(t.concat(n));else if(!o&&r){const n=[...t];n.splice(e,1),i(n)}}else if(g(t)){const e=new Set(t);o?e.add(n):e.delete(n),i(e)}else i(fs(e,o))})},mounted:cs,beforeUpdate(e,t,n){e[as]=os(n),cs(e,t,n)}};function cs(e,{value:t,oldValue:n},o){e._modelValue=t,f(t)?e.checked=X(t,o.props.value)>-1:g(t)?e.checked=t.has(o.props.value):t!==n&&(e.checked=Y(t,fs(e,!0)))}const us={created(e,{value:t},n){e.checked=Y(t,n.props.value),e[as]=os(n),Ga(e,"change",()=>{e[as](ps(e))})},beforeUpdate(e,{value:t,oldValue:n},o){e[as]=os(o),t!==n&&(e.checked=Y(t,o.props.value))}},ds={deep:!0,created(e,{value:t,modifiers:{number:n}},o){const i=g(t);Ga(e,"change",()=>{const t=Array.prototype.filter.call(e.options,e=>e.selected).map(e=>n?z(ps(e)):ps(e));e[as](e.multiple?i?new Set(t):t:t[0]),e._assigning=!0,no(()=>{e._assigning=!1})}),e[as]=os(o)},mounted(e,{value:t,modifiers:{number:n}}){hs(e,t,n)},beforeUpdate(e,t,n){e[as]=os(n)},updated(e,{value:t,modifiers:{number:n}}){e._assigning||hs(e,t,n)}};function hs(e,t,n){const o=e.multiple,i=f(t);if(!o||i||g(t)){for(let r=0,a=e.options.length;r-1}else a.selected=t.has(s);else if(Y(ps(a),t))return void(e.selectedIndex!==r&&(e.selectedIndex=r))}o||-1===e.selectedIndex||(e.selectedIndex=-1)}}function ps(e){return"_value"in e?e._value:e.value}function fs(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const ms={created(e,t,n){gs(e,t,n,null,"created")},mounted(e,t,n){gs(e,t,n,null,"mounted")},beforeUpdate(e,t,n,o){gs(e,t,n,o,"beforeUpdate")},updated(e,t,n,o){gs(e,t,n,o,"updated")}};function gs(e,t,n,o,i){const r=function(e,t){switch(e){case"SELECT":return ds;case"TEXTAREA":return ss;default:switch(t){case"checkbox":return ls;case"radio":return us;default:return ss}}}(e.tagName,n.props&&n.props.type)[i];r&&r(e,t,n,o)}const ys=["ctrl","shift","alt","meta"],bs={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&0!==e.button,middle:e=>"button"in e&&1!==e.button,right:e=>"button"in e&&2!==e.button,exact:(e,t)=>ys.some(n=>e[`${n}Key`]&&!t.includes(n))},vs=(e,t)=>{const n=e._withMods||(e._withMods={}),o=t.join(".");return n[o]||(n[o]=(n,...o)=>{for(let e=0;e{const n=e._withKeys||(e._withKeys={}),o=t.join(".");return n[o]||(n[o]=n=>{if(!("key"in n))return;const o=O(n.key);return t.some(e=>e===o||_s[e]===o)?e(n):void 0})},xs=u({patchProp:(e,t,n,o,i,r,a,s,u)=>{if(0===t.indexOf("change:"))return function(e,t,n,o=null){if(!n||!o)return;const i=t.replace("change:",""),{attrs:r}=o,a=r[i],s=(e.__wxsProps||(e.__wxsProps={}))[i];if(s===a)return;e.__wxsProps[i]=a;const l=o.proxy;no(()=>{n(a,s,l.$gcd(l,!0),l.$gcd(l,!1))})}(e,t,o,a);const d="svg"===i;"class"===t?function(e,t,n){const{__wxsAddClass:o,__wxsRemoveClass:i}=e;i&&i.length&&(t=(t||"").split(/\s+/).filter(e=>-1===i.indexOf(e)).join(" "),i.length=0),o&&o.length&&(t=(t||"")+" "+o.join(" "));const r=e[pa];r&&(t=(t?[t,...r]:[...r]).join(" ")),null==t?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}(e,o,d):"style"===t?function(e,t,n){const o=e.style,i=v(n);let r=!1;if(n&&!i){if(t)if(v(t))for(const e of t.split(";")){const t=e.slice(0,e.indexOf(":")).trim();null==n[t]&&Ra(o,t,"")}else for(const e in t)null==n[e]&&Ra(o,e,"");for(const e in n)"display"===e&&(r=!0),Ra(o,e,n[e])}else if(i){if(t!==n){const e=o[Pa];e&&(n+=";"+e),o.cssText=n,r=Ma.test(n)}}else t&&e.removeAttribute("style");Aa in e&&(e[Aa]=r?o.display:"",e[Ta]&&(o.display="none"));const{__wxsStyle:a}=e;if(a)for(const s in a)Ra(o,s,a[s])}(e,n,o):l(t)?c(t)||Xa(e,t,0,o,a):("."===t[0]?(t=t.slice(1),1):"^"===t[0]?(t=t.slice(1),0):function(e,t,n,o){if(o)return"innerHTML"===t||"textContent"===t||!!(t in e&&ns(t)&&b(n));if("spellcheck"===t||"draggable"===t||"translate"===t)return!1;if("form"===t)return!1;if("list"===t&&"INPUT"===e.tagName)return!1;if("type"===t&&"TEXTAREA"===e.tagName)return!1;if("width"===t||"height"===t){const t=e.tagName;if("IMG"===t||"VIDEO"===t||"CANVAS"===t||"SOURCE"===t)return!1}if(ns(t)&&v(n))return!1;return t in e}(e,t,o,d))?function(e,t,n,o,i,r,a){if("innerHTML"===t||"textContent"===t)return o&&a(o,i,r),void(e[t]=null==n?"":n);const s=e.tagName;if("value"===t&&"PROGRESS"!==s&&!s.includes("-")){const o=null==n?"":n;return("OPTION"===s?e.getAttribute("value")||"":e.value)===o&&"_value"in e||(e.value=o),null==n&&e.removeAttribute(t),void(e._value=n)}let l=!1;if(""===n||null==n){const o=typeof e[t];"boolean"===o?n=G(n):null==n&&"string"===o?(n="",l=!0):"number"===o&&(n=0,l=!0)}try{e[t]=n}catch(c){}l&&e.removeAttribute(t)}(e,t,o,r,a,s,u):("true-value"===t?e._trueValue=o:"false-value"===t&&(e._falseValue=o),function(e,t,n,o){if(o&&t.startsWith("xlink:"))null==n?e.removeAttributeNS(Qa,t.slice(6,t.length)):e.setAttributeNS(Qa,t,n);else{const o=Q(t);null==n||o&&!G(n)?e.removeAttribute(t):e.setAttribute(t,o?"":n)}}(e,t,o,d))},forcePatchProp:(e,t)=>0===t.indexOf("change:")||("class"===t&&e.__wxsClassChanged?(e.__wxsClassChanged=!1,!0):!("style"!==t||!e.__wxsStyleChanged)&&(e.__wxsStyleChanged=!1,!0))},ua);let Ss;const ks=(...e)=>{const t=(Ss||(Ss=hr(xs))).createApp(...e),{mount:n}=t;return t.mount=e=>{const o=function(e){if(v(e)){return document.querySelector(e)}return e}(e);if(!o)return;const i=t._component;b(i)||i.render||i.template||(i.template=o.innerHTML),o.innerHTML="";const r=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","")),r},t};const Cs=["{","}"];const As=/^(?:\d)+/,Ts=/^(?:\w)+/;const Is="zh-Hans",Es="zh-Hant",Ps="en",Bs="fr",Os="es",Ns=Object.prototype.hasOwnProperty,Ms=(e,t)=>Ns.call(e,t),Ls=new class{constructor(){this._caches=Object.create(null)}interpolate(e,t,n=Cs){if(!t)return[e];let o=this._caches[e];return o||(o=function(e,[t,n]){const o=[];let i=0,r="";for(;i-1?Is:e.indexOf("-hant")>-1?Es:(n=e,["-tw","-hk","-mo","-cht"].find(e=>-1!==n.indexOf(e))?Es:Is);var n;let o=[Ps,Bs,Os];t&&Object.keys(t).length>0&&(o=Object.keys(t));const i=function(e,t){return t.find(t=>0===e.indexOf(t))}(e,o);return i||void 0}class Ds{constructor({locale:e,fallbackLocale:t,messages:n,watcher:o,formater:i}){this.locale=Ps,this.fallbackLocale=Ps,this.message={},this.messages={},this.watchers=[],t&&(this.fallbackLocale=t),this.formater=i||Ls,this.messages=n||{},this.setLocale(e||Ps),o&&this.watchLocale(o)}setLocale(e){const t=this.locale;this.locale=Rs(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=>{Ms(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=Rs(t,this.messages))&&(o=this.messages[t]):n=t,Ms(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 zs(e,t={},n,o){"string"!=typeof e&&([e,t]=[t,e]),"string"!=typeof e&&(e="undefined"!=typeof uni&&Dp?Dp():"undefined"!=typeof global&&global.getLocale?global.getLocale():Ps),"string"!=typeof n&&(n="undefined"!=typeof __uniConfig&&__uniConfig.fallbackLocale||Ps);const i=new Ds({locale:e,fallbackLocale:n,messages:t,watcher:o});let r=(e,t)=>{{let e=!1;r=function(t,n){const o=Yy().$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,i))),i.t(t,n)}}return r(e,t)};return{i18n:i,f:(e,t,n)=>i.f(e,t,n),t:(e,t)=>r(e,t),add:(e,t,n=!0)=>i.add(e,t,n),watch:e=>i.watchLocale(e),getLocale:()=>i.getLocale(),setLocale:e=>i.setLocale(e)}}function $s(e,t){return e.indexOf(t[0])>-1} -/*! - * vue-router v4.6.4 - * (c) 2025 Eduardo San Martin Morote - * @license MIT - */const Fs="undefined"!=typeof document;function js(e){return"object"==typeof e||"displayName"in e||"props"in e||"__vccOpts"in e}const Hs=Object.assign;function Vs(e,t){const n={};for(const o in t){const i=t[o];n[o]=Us(i)?i.map(e):e(i)}return n}const Ws=()=>{},Us=Array.isArray;function qs(e,t){const n={};for(const o in e)n[o]=o in t?t[o]:e[o];return n}const Qs=/#/g,Gs=/&/g,Ys=/\//g,Xs=/=/g,Ks=/\?/g,Js=/\+/g,Zs=/%5B/g,el=/%5D/g,tl=/%5E/g,nl=/%60/g,ol=/%7B/g,il=/%7C/g,rl=/%7D/g,al=/%20/g;function sl(e){return null==e?"":encodeURI(""+e).replace(il,"|").replace(Zs,"[").replace(el,"]")}function ll(e){return sl(e).replace(Js,"%2B").replace(al,"+").replace(Qs,"%23").replace(Gs,"%26").replace(nl,"`").replace(ol,"{").replace(rl,"}").replace(tl,"^")}function cl(e){return ll(e).replace(Xs,"%3D")}function ul(e){return function(e){return sl(e).replace(Qs,"%23").replace(Ks,"%3F")}(e).replace(Ys,"%2F")}function dl(e){if(null==e)return null;try{return decodeURIComponent(""+e)}catch(t){}return""+e}const hl=/\/$/;function pl(e,t,n="/"){let o,i={},r="",a="";const s=t.indexOf("#");let l=t.indexOf("?");return l=s>=0&&l>s?-1:l,l>=0&&(o=t.slice(0,l),r=t.slice(l,s>0?s:t.length),i=e(r.slice(1))),s>=0&&(o=o||t.slice(0,s),a=t.slice(s,t.length)),o=function(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),o=e.split("/"),i=o[o.length-1];".."!==i&&"."!==i||o.push("");let r,a,s=n.length-1;for(r=0;r1&&s--}return n.slice(0,s).join("/")+"/"+o.slice(r).join("/")}(null!=o?o:t,n),{fullPath:o+r+a,path:o,query:i,hash:dl(a)}}function fl(e,t){return t&&e.toLowerCase().startsWith(t.toLowerCase())?e.slice(t.length)||"/":e}function ml(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function gl(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!yl(e[n],t[n]))return!1;return!0}function yl(e,t){return Us(e)?bl(e,t):Us(t)?bl(t,e):(null==e?void 0:e.valueOf())===(null==t?void 0:t.valueOf())}function bl(e,t){return Us(t)?e.length===t.length&&e.every((e,n)=>e===t[n]):1===e.length&&e[0]===t}const vl={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let _l=function(e){return e.pop="pop",e.push="push",e}({}),wl=function(e){return e.back="back",e.forward="forward",e.unknown="",e}({});function xl(e){if(!e)if(Fs){const t=document.querySelector("base");e=(e=t&&t.getAttribute("href")||"/").replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return"/"!==e[0]&&"#"!==e[0]&&(e="/"+e),e.replace(hl,"")}const Sl=/^[^#]+#/;function kl(e,t){return e.replace(Sl,"#")+t}const Cl=()=>({left:window.scrollX,top:window.scrollY});function Al(e){let t;if("el"in e){const n=e.el,o="string"==typeof n&&n.startsWith("#"),i="string"==typeof n?o?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!i)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)}}(i,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 Tl(e,t){return(history.state?history.state.position-t:-1)+e}const Il=new Map;function El(e){return"string"==typeof e||"symbol"==typeof e}let Pl=function(e){return e[e.MATCHER_NOT_FOUND=1]="MATCHER_NOT_FOUND",e[e.NAVIGATION_GUARD_REDIRECT=2]="NAVIGATION_GUARD_REDIRECT",e[e.NAVIGATION_ABORTED=4]="NAVIGATION_ABORTED",e[e.NAVIGATION_CANCELLED=8]="NAVIGATION_CANCELLED",e[e.NAVIGATION_DUPLICATED=16]="NAVIGATION_DUPLICATED",e}({});const Bl=Symbol("");function Ol(e,t){return Hs(new Error,{type:e,[Bl]:!0},t)}function Nl(e,t){return e instanceof Error&&Bl in e&&(null==t||!!(e.type&t))}Pl.MATCHER_NOT_FOUND,Pl.NAVIGATION_GUARD_REDIRECT,Pl.NAVIGATION_ABORTED,Pl.NAVIGATION_CANCELLED,Pl.NAVIGATION_DUPLICATED;function Ml(e){const t={};if(""===e||"?"===e)return t;const n=("?"===e[0]?e.slice(1):e).split("&");for(let o=0;oe&&ll(e)):[o&&ll(o)]).forEach(e=>{void 0!==e&&(t+=(t.length?"&":"")+n,null!=e&&(t+="="+e))}):void 0!==o&&(t+=(t.length?"&":"")+n)}return t}function Rl(e){const t={};for(const n in e){const o=e[n];void 0!==o&&(t[n]=Us(o)?o.map(e=>null==e?null:""+e):null==o?o:""+o)}return t}const Dl=Symbol(""),zl=Symbol(""),$l=Symbol(""),Fl=Symbol(""),jl=Symbol("");function Hl(){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 Vl(e,t,n,o,i,r=e=>e()){const a=o&&(o.enterCallbacks[i]=o.enterCallbacks[i]||[]);return()=>new Promise((s,l)=>{const c=e=>{var r;!1===e?l(Ol(Pl.NAVIGATION_ABORTED,{from:n,to:t})):e instanceof Error?l(e):"string"==typeof(r=e)||r&&"object"==typeof r?l(Ol(Pl.NAVIGATION_GUARD_REDIRECT,{from:t,to:e})):(a&&o.enterCallbacks[i]===a&&"function"==typeof e&&a.push(e),s())},u=r(()=>e.call(o&&o.instances[i],t,n,c));let d=Promise.resolve(u);e.length<3&&(d=d.then(c)),d.catch(e=>l(e))})}function Wl(e,t,n,o,i=e=>e()){const r=[];for(const a of e)for(const e in a.components){let s=a.components[e];if("beforeRouteEnter"===t||a.instances[e])if(js(s)){const l=(s.__vccOpts||s)[t];l&&r.push(Vl(l,n,o,a,e,i))}else{let l=s();r.push(()=>l.then(r=>{if(!r)throw new Error(`Couldn't resolve component "${e}" at "${a.path}"`);const s=(l=r).__esModule||"Module"===l[Symbol.toStringTag]||l.default&&js(l.default)?r.default:r;var l;a.mods[e]=r,a.components[e]=s;const c=(s.__vccOpts||s)[t];return c&&Vl(c,n,o,a,e,i)()}))}}return r}function Ul(e,t){const{pathname:n,search:o,hash:i}=t,r=e.indexOf("#");if(r>-1){let t=i.includes(e.slice(r))?e.slice(r).length:1,n=i.slice(t);return"/"!==n[0]&&(n="/"+n),fl(n,"")}return fl(n,e)+o+i}function ql(e,t,n,o=!1,i=!1){return{back:e,current:t,forward:n,replaced:o,position:window.history.length,scroll:i?Cl():null}}function Ql(e){const{history:t,location:n}=window,o={value:Ul(e,n)},i={value:t.state};function r(o,r,a){const s=e.indexOf("#"),l=s>-1?(n.host&&document.querySelector("base")?e:e.slice(s))+o:location.protocol+"//"+location.host+e+o;try{t[a?"replaceState":"pushState"](r,"",l),i.value=r}catch(c){console.error(c),n[a?"replace":"assign"](l)}}return i.value||r(o.value,{back:null,current:o.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0),{location:o,state:i,push:function(e,n){const a=Hs({},i.value,t.state,{forward:e,scroll:Cl()});r(a.current,a,!0),r(e,Hs({},ql(o.value,e,null),{position:a.position+1},n),!1),o.value=e},replace:function(e,n){r(e,Hs({},t.state,ql(i.value.back,e,i.value.forward,!0),n,{position:i.value.position}),!0),o.value=e}}}function Gl(e){const t=Ql(e=xl(e)),n=function(e,t,n,o){let i=[],r=[],a=null;const s=({state:r})=>{const s=Ul(e,location),l=n.value,c=t.value;let u=0;if(r){if(n.value=s,t.value=r,a&&a===l)return void(a=null);u=c?r.position-c.position:0}else o(s);i.forEach(e=>{e(n.value,l,{delta:u,type:_l.pop,direction:u?u>0?wl.forward:wl.back:wl.unknown})})};function l(){if("hidden"===document.visibilityState){const{history:e}=window;if(!e.state)return;e.replaceState(Hs({},e.state,{scroll:Cl()}),"")}}return window.addEventListener("popstate",s),window.addEventListener("pagehide",l),document.addEventListener("visibilitychange",l),{pauseListeners:function(){a=n.value},listen:function(e){i.push(e);const t=()=>{const t=i.indexOf(e);t>-1&&i.splice(t,1)};return r.push(t),t},destroy:function(){for(const e of r)e();r=[],window.removeEventListener("popstate",s),window.removeEventListener("pagehide",l),document.removeEventListener("visibilitychange",l)}}}(e,t.state,t.location,t.replace);const o=Hs({location:"",base:e,go:function(e,t=!0){t||n.pauseListeners(),history.go(e)},createHref:kl.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}let Yl=function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.Group=2]="Group",e}({});var Xl=function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.ParamRegExp=2]="ParamRegExp",e[e.ParamRegExpEnd=3]="ParamRegExpEnd",e[e.EscapeNext=4]="EscapeNext",e}(Xl||{});const Kl={type:Yl.Static,value:""},Jl=/[a-zA-Z0-9_]/;const Zl="[^/]+?",ec={sensitive:!1,strict:!1,start:!0,end:!0};var tc=function(e){return e[e._multiplier=10]="_multiplier",e[e.Root=90]="Root",e[e.Segment=40]="Segment",e[e.SubSegment=30]="SubSegment",e[e.Static=40]="Static",e[e.Dynamic=20]="Dynamic",e[e.BonusCustomRegExp=10]="BonusCustomRegExp",e[e.BonusWildcard=-50]="BonusWildcard",e[e.BonusRepeatable=-20]="BonusRepeatable",e[e.BonusOptional=-8]="BonusOptional",e[e.BonusStrict=.7000000000000001]="BonusStrict",e[e.BonusCaseSensitive=.25]="BonusCaseSensitive",e}(tc||{});const nc=/[.+*?^${}()[\]/\\]/g;function oc(e,t){let n=0;for(;nt.length?1===t.length&&t[0]===tc.Static+tc.Segment?1:-1:0}function ic(e,t){let n=0;const o=e.score,i=t.score;for(;n0&&t[t.length-1]<0}const ac={strict:!1,end:!0,sensitive:!1};function sc(e,t,n){const o=function(e,t){const n=Hs({},ec,t),o=[];let i=n.start?"^":"";const r=[];for(const s of e){const e=s.length?[]:[tc.Root];n.strict&&!s.length&&(i+="/");for(let t=0;t1&&("*"===s||"+"===s)&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),r.push({type:Yl.Param,value:c,regexp:u,repeatable:"*"===s||"+"===s,optional:"*"===s||"?"===s})):t("Invalid state to consume buffer"),c="")}function h(){c+=s}for(;l{r(h)}:Ws}function r(e){if(El(e)){const t=o.get(e);t&&(o.delete(e),n.splice(n.indexOf(t),1),t.children.forEach(r),t.alias.forEach(r))}else{const t=n.indexOf(e);t>-1&&(n.splice(t,1),e.record.name&&o.delete(e.record.name),e.children.forEach(r),e.alias.forEach(r))}}function a(e){const t=function(e,t){let n=0,o=t.length;for(;n!==o;){const i=n+o>>1;ic(e,t[i])<0?o=i:n=i+1}const i=function(e){let t=e;for(;t=t.parent;)if(fc(t)&&0===ic(e,t))return t}(e);i&&(o=t.lastIndexOf(i,o-1));return o}(e,n);n.splice(t,0,e),e.record.name&&!hc(e)&&o.set(e.record.name,e)}return t=qs(ac,t),e.forEach(e=>i(e)),{addRoute:i,resolve:function(e,t){let i,r,a,s={};if("name"in e&&e.name){if(i=o.get(e.name),!i)throw Ol(Pl.MATCHER_NOT_FOUND,{location:e});a=i.record.name,s=Hs(cc(t.params,i.keys.filter(e=>!e.optional).concat(i.parent?i.parent.keys.filter(e=>e.optional):[]).map(e=>e.name)),e.params&&cc(e.params,i.keys.map(e=>e.name))),r=i.stringify(s)}else if(null!=e.path)r=e.path,i=n.find(e=>e.re.test(r)),i&&(s=i.parse(r),a=i.record.name);else{if(i=t.name?o.get(t.name):n.find(e=>e.re.test(t.path)),!i)throw Ol(Pl.MATCHER_NOT_FOUND,{location:e,currentLocation:t});a=i.record.name,s=Hs({},t.params,e.params),r=i.stringify(s)}const l=[];let c=i;for(;c;)l.unshift(c.record),c=c.parent;return{name:a,path:r,params:s,matched:l,meta:pc(l)}},removeRoute:r,clearRoutes:function(){n.length=0,o.clear()},getRoutes:function(){return n},getRecordMatcher:function(e){return o.get(e)}}}function cc(e,t){const n={};for(const o of t)o in e&&(n[o]=e[o]);return n}function uc(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:dc(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function dc(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 hc(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function pc(e){return e.reduce((e,t)=>Hs(e,t.meta),{})}function fc({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function mc(e){const t=Ki($l),n=Ki(Fl),o=ra(()=>{const n=jn(e.to);return t.resolve(n)}),i=ra(()=>{const{matched:e}=o.value,{length:t}=e,i=e[t-1],r=n.matched;if(!i||!r.length)return-1;const a=r.findIndex(ml.bind(null,i));if(a>-1)return a;const s=yc(e[t-2]);return t>1&&yc(i)===s&&r[r.length-1].path!==s?r.findIndex(ml.bind(null,e[t-2])):a}),r=ra(()=>i.value>-1&&function(e,t){for(const n in t){const o=t[n],i=e[n];if("string"==typeof o){if(o!==i)return!1}else if(!Us(i)||i.length!==o.length||o.some((e,t)=>e.valueOf()!==i[t].valueOf()))return!1}return!0}(n.params,o.value.params)),a=ra(()=>i.value>-1&&i.value===n.matched.length-1&&gl(n.params,o.value.params));return{route:o,href:ra(()=>o.value.href),isActive:r,isExactActive:a,navigate:function(n={}){if(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)){const n=t[jn(e.replace)?"replace":"push"](jn(e.to)).catch(Ws);return e.viewTransition&&"undefined"!=typeof document&&"startViewTransition"in document&&document.startViewTransition(()=>n),n}return Promise.resolve()}}}const gc=Ko({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"},viewTransition:Boolean},useLink:mc,setup(e,{slots:t}){const n=wn(mc(e)),{options:o}=Ki($l),i=ra(()=>({[bc(e.activeClass,o.linkActiveClass,"router-link-active")]:n.isActive,[bc(e.exactActiveClass,o.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&(1===(r=t.default(n)).length?r[0]:r);var r;return e.custom?o:aa("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:i.value},o)}}});function yc(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const bc=(e,t,n)=>null!=e?e:null!=t?t:n;function vc(e,t){if(!e)return null;const n=e(t);return 1===n.length?n[0]:n}const _c=Ko({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const o=Ki(jl),i=ra(()=>e.route||o.value),r=Ki(zl,0),a=ra(()=>{let e=jn(r);const{matched:t}=i.value;let n;for(;(n=t[e])&&!n.components;)e++;return e}),s=ra(()=>i.value.matched[a.value]);Xi(zl,ra(()=>a.value+1)),Xi(Dl,s),Xi(jl,i);const l=Dn();return No(()=>[l.value,s.value,e.name],([e,t,n],[o,i,r])=>{t&&(t.instances[n]=e,i&&i!==t&&e&&e===o&&(t.leaveGuards.size||(t.leaveGuards=i.leaveGuards),t.updateGuards.size||(t.updateGuards=i.updateGuards))),!e||!t||i&&ml(t,i)&&o||(t.enterCallbacks[n]||[]).forEach(t=>t(e))},{flush:"post"}),()=>{const o=i.value,r=e.name,a=s.value,c=a&&a.components[r];if(!c)return vc(n.default,{Component:c,route:o});const u=a.props[r],d=u?!0===u?o.params:"function"==typeof u?u(o):u:null,h=aa(c,Hs({},d,t,{onVnodeUnmounted:e=>{e.component.isUnmounted&&(a.instances[r]=null)},ref:l}));return vc(n.default,{Component:h,route:o})||h}}});function wc(e){const t=lc(e.routes,e),n=e.parseQuery||Ml,o=e.stringifyQuery||Ll,i=e.history,r=Hl(),a=Hl(),s=Hl(),l=zn(vl);let c=vl;Fs&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Vs.bind(null,e=>""+e),d=Vs.bind(null,ul),h=Vs.bind(null,dl);function p(e,r){if(r=Hs({},r||l.value),"string"==typeof e){const o=pl(n,e,r.path),a=t.resolve({path:o.path},r),s=i.createHref(o.fullPath);return Hs(o,a,{params:h(a.params),hash:dl(o.hash),redirectedFrom:void 0,href:s})}let a;if(null!=e.path)a=Hs({},e,{path:pl(n,e.path,r.path).path});else{const t=Hs({},e.params);for(const e in t)null==t[e]&&delete t[e];a=Hs({},e,{params:d(t)}),r.params=d(r.params)}const s=t.resolve(a,r),c=e.hash||"";s.params=u(h(s.params));const p=function(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}(o,Hs({},e,{hash:(f=c,sl(f).replace(ol,"{").replace(rl,"}").replace(tl,"^")),path:s.path}));var f;const m=i.createHref(p);return Hs({fullPath:p,hash:c,query:o===Ll?Rl(e.query):e.query||{}},s,{redirectedFrom:void 0,href:m})}function f(e){return"string"==typeof e?pl(n,e,l.value.path):Hs({},e)}function m(e,t){if(c!==e)return Ol(Pl.NAVIGATION_CANCELLED,{from:t,to:e})}function g(e){return b(e)}function y(e,t){const n=e.matched[e.matched.length-1];if(n&&n.redirect){const{redirect:o}=n;let i="function"==typeof o?o(e,t):o;return"string"==typeof i&&(i=i.includes("?")||i.includes("#")?i=f(i):{path:i},i.params={}),Hs({query:e.query,hash:e.hash,params:null!=i.path?{}:e.params},i)}}function b(e,t){const n=c=p(e),i=l.value,r=e.state,a=e.force,s=!0===e.replace,u=y(n,i);if(u)return b(Hs(f(u),{state:"object"==typeof u?Hs({},r,u.state):r,force:a,replace:s}),t||n);const d=n;let h;return d.redirectedFrom=t,!a&&function(e,t,n){const o=t.matched.length-1,i=n.matched.length-1;return o>-1&&o===i&&ml(t.matched[o],n.matched[i])&&gl(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}(o,i,n)&&(h=Ol(Pl.NAVIGATION_DUPLICATED,{to:d,from:i}),B(i,i,!0,!1)),(h?Promise.resolve(h):w(d,i)).catch(e=>Nl(e)?Nl(e,Pl.NAVIGATION_GUARD_REDIRECT)?e:P(e):E(e,d,i)).then(e=>{if(e){if(Nl(e,Pl.NAVIGATION_GUARD_REDIRECT))return b(Hs({replace:s},f(e.to),{state:"object"==typeof e.to?Hs({},r,e.to.state):r,force:a}),t||d)}else e=S(d,i,!0,s,r);return x(d,i,e),e})}function v(e,t){const n=m(e,t);return n?Promise.reject(n):Promise.resolve()}function _(e){const t=M.values().next().value;return t&&"function"==typeof t.runWithContext?t.runWithContext(e):e()}function w(e,t){let n;const[o,i,s]=function(e,t){const n=[],o=[],i=[],r=Math.max(t.matched.length,e.matched.length);for(let a=0;aml(e,r))?o.push(r):n.push(r));const s=e.matched[a];s&&(t.matched.find(e=>ml(e,s))||i.push(s))}return[n,o,i]} -/*! - * vue-router v4.6.4 - * (c) 2025 Eduardo San Martin Morote - * @license MIT - */(e,t);n=Wl(o.reverse(),"beforeRouteLeave",e,t);for(const r of o)r.leaveGuards.forEach(o=>{n.push(Vl(o,e,t))});const l=v.bind(null,e,t);return n.push(l),R(n).then(()=>{n=[];for(const o of r.list())n.push(Vl(o,e,t));return n.push(l),R(n)}).then(()=>{n=Wl(i,"beforeRouteUpdate",e,t);for(const o of i)o.updateGuards.forEach(o=>{n.push(Vl(o,e,t))});return n.push(l),R(n)}).then(()=>{n=[];for(const o of s)if(o.beforeEnter)if(Us(o.beforeEnter))for(const i of o.beforeEnter)n.push(Vl(i,e,t));else n.push(Vl(o.beforeEnter,e,t));return n.push(l),R(n)}).then(()=>(e.matched.forEach(e=>e.enterCallbacks={}),n=Wl(s,"beforeRouteEnter",e,t,_),n.push(l),R(n))).then(()=>{n=[];for(const o of a.list())n.push(Vl(o,e,t));return n.push(l),R(n)}).catch(e=>Nl(e,Pl.NAVIGATION_CANCELLED)?e:Promise.reject(e))}function x(e,t,n){s.list().forEach(o=>_(()=>o(e,t,n)))}function S(e,t,n,o,r){const a=m(e,t);if(a)return a;const s=t===vl,c=Fs?history.state:{};n&&(o||s?i.replace(e.fullPath,Hs({scroll:s&&c&&c.scroll},r)):i.push(e.fullPath,r)),l.value=e,B(e,t,n,s),P()}let k;function C(){k||(k=i.listen((e,t,n)=>{if(!L.listening)return;const o=p(e),r=y(o,L.currentRoute.value);if(r)return void b(Hs(r,{replace:!0,force:!0}),o).catch(Ws);c=o;const a=l.value;var s,u;Fs&&(s=Tl(a.fullPath,n.delta),u=Cl(),Il.set(s,u)),w(o,a).catch(e=>Nl(e,Pl.NAVIGATION_ABORTED|Pl.NAVIGATION_CANCELLED)?e:Nl(e,Pl.NAVIGATION_GUARD_REDIRECT)?(b(Hs(f(e.to),{force:!0}),o).then(e=>{Nl(e,Pl.NAVIGATION_ABORTED|Pl.NAVIGATION_DUPLICATED)&&!n.delta&&n.type===_l.pop&&i.go(-1,!1)}).catch(Ws),Promise.reject()):(n.delta&&i.go(-n.delta,!1),E(e,o,a))).then(e=>{(e=e||S(o,a,!1))&&(n.delta&&!Nl(e,Pl.NAVIGATION_CANCELLED)?i.go(-n.delta,!1):n.type===_l.pop&&Nl(e,Pl.NAVIGATION_ABORTED|Pl.NAVIGATION_DUPLICATED)&&i.go(-1,!1)),x(o,a,e)}).catch(Ws)}))}let A,T=Hl(),I=Hl();function E(e,t,n){P(e);const o=I.list();return o.length?o.forEach(o=>o(e,t,n)):console.error(e),Promise.reject(e)}function P(e){return A||(A=!e,C(),T.list().forEach(([t,n])=>e?n(e):t()),T.reset()),e}function B(t,n,o,i){const{scrollBehavior:r}=e;if(!Fs||!r)return Promise.resolve();const a=!o&&function(e){const t=Il.get(e);return Il.delete(e),t}(Tl(t.fullPath,0))||(i||!o)&&history.state&&history.state.scroll||null;return no().then(()=>r(t,n,a)).then(e=>e&&Al(e)).catch(e=>E(e,t,n))}const O=e=>i.go(e);let N;const M=new Set,L={currentRoute:l,listening:!0,addRoute:function(e,n){let o,i;return El(e)?(o=t.getRecordMatcher(e),i=n):i=e,t.addRoute(i,o)},removeRoute:function(e){const n=t.getRecordMatcher(e);n&&t.removeRoute(n)},clearRoutes:t.clearRoutes,hasRoute:function(e){return!!t.getRecordMatcher(e)},getRoutes:function(){return t.getRoutes().map(e=>e.record)},resolve:p,options:e,push:g,replace:function(e){return g(Hs(f(e),{replace:!0}))},go:O,back:()=>O(-1),forward:()=>O(1),beforeEach:r.add,beforeResolve:a.add,afterEach:s.add,onError:I.add,isReady:function(){return A&&l.value!==vl?Promise.resolve():new Promise((e,t)=>{T.add([e,t])})},install(e){e.component("RouterLink",gc),e.component("RouterView",_c),e.config.globalProperties.$router=L,Object.defineProperty(e.config.globalProperties,"$route",{enumerable:!0,get:()=>jn(l)}),Fs&&!N&&l.value===vl&&(N=!0,g(i.location).catch(e=>{}));const t={};for(const o in vl)Object.defineProperty(t,o,{get:()=>l.value[o],enumerable:!0});e.provide($l,L),e.provide(Fl,xn(t)),e.provide(jl,l);const n=e.unmount;M.add(e),e.unmount=function(){M.delete(e),M.size<1&&(c=vl,k&&k(),k=null,l.value=vl,N=!1,A=!1),n()}}};function R(e){return e.reduce((e,t)=>e.then(()=>_(t)),Promise.resolve())}return L}function xc(e){return Ki(Fl)}console.warn("[vue-router]: importing from 'vue-router/dist/vue-router.esm-bundler.js' is deprecated. Use 'vue-router' directly.");const Sc=Ue(()=>"undefined"!=typeof __uniConfig&&__uniConfig.locales&&!!Object.keys(__uniConfig.locales).length);let kc;function Cc(e){return $s(e,re)?Ic().f(e,function(){const e=Dp(),t=__uniConfig.locales;return t[e]||t[__uniConfig.fallbackLocale]||t.en||{}}(),re):e}function Ac(e,t){if(1===t.length){if(e){const n=e=>v(e)&&$s(e,re),o=t[0];let i=[];if(f(e)&&(i=e.filter(e=>n(e[o]))).length)return i;const r=e[t[0]];if(n(r))return e}return}const n=t.shift();return Ac(e&&e[n],t)}function Tc(e,t){const n=Ac(e,t);if(!n)return!1;const o=t[t.length-1];if(f(n))n.forEach(e=>Tc(e,[o]));else{let e=n[o];Object.defineProperty(n,o,{get:()=>Cc(e),set(t){e=t}})}return!0}function Ic(){if(!kc){let e;if(e=navigator.cookieEnabled&&window.localStorage&&localStorage.UNI_LOCALE||__uniConfig.locale||navigator.language,kc=zs(e),Sc()){const t=Object.keys(__uniConfig.locales||{});t.length&&t.forEach(e=>kc.add(e,__uniConfig.locales[e])),kc.setLocale(e)}}return kc}function Ec(e,t,n){return t.reduce((t,o,i)=>(t[e+o]=n[i],t),{})}const Pc=Ue(()=>{const e="uni.async.",t=["error"];Ic().add(Ps,Ec(e,t,["The connection timed out, click the screen to try again."]),!1),Ic().add(Os,Ec(e,t,["Se agotó el tiempo de conexión, haga clic en la pantalla para volver a intentarlo."]),!1),Ic().add(Bs,Ec(e,t,["La connexion a expiré, cliquez sur l'écran pour réessayer."]),!1),Ic().add(Is,Ec(e,t,["连接服务器超时,点击屏幕重试"]),!1),Ic().add(Es,Ec(e,t,["連接服務器超時,點擊屏幕重試"]),!1)}),Bc=Ue(()=>{const e="uni.showToast.",t=["unpaired"];Ic().add(Ps,Ec(e,t,["Please note showToast must be paired with hideToast"]),!1),Ic().add(Os,Ec(e,t,["Tenga en cuenta que showToast debe estar emparejado con hideToast"]),!1),Ic().add(Bs,Ec(e,t,["Veuillez noter que showToast doit être associé à hideToast"]),!1),Ic().add(Is,Ec(e,t,["请注意 showToast 与 hideToast 必须配对使用"]),!1),Ic().add(Es,Ec(e,t,["請注意 showToast 與 hideToast 必須配對使用"]),!1)}),Oc=Ue(()=>{const e="uni.showLoading.",t=["unpaired"];Ic().add(Ps,Ec(e,t,["Please note showLoading must be paired with hideLoading"]),!1),Ic().add(Os,Ec(e,t,["Tenga en cuenta que showLoading debe estar emparejado con hideLoading"]),!1),Ic().add(Bs,Ec(e,t,["Veuillez noter que showLoading doit être associé à hideLoading"]),!1),Ic().add(Is,Ec(e,t,["请注意 showLoading 与 hideLoading 必须配对使用"]),!1),Ic().add(Es,Ec(e,t,["請注意 showLoading 與 hideLoading 必須配對使用"]),!1)}),Nc=Ue(()=>{const e="uni.showModal.",t=["cancel","confirm"];Ic().add(Ps,Ec(e,t,["Cancel","OK"]),!1),Ic().add(Os,Ec(e,t,["Cancelar","OK"]),!1),Ic().add(Bs,Ec(e,t,["Annuler","OK"]),!1),Ic().add(Is,Ec(e,t,["取消","确定"]),!1),Ic().add(Es,Ec(e,t,["取消","確定"]),!1)}),Mc=Ue(()=>{const e="uni.chooseFile.",t=["notUserActivation"];Ic().add(Ps,Ec(e,t,["File chooser dialog can only be shown with a user activation"]),!1),Ic().add(Os,Ec(e,t,["El cuadro de diálogo del selector de archivos solo se puede mostrar con la activación del usuario"]),!1),Ic().add(Bs,Ec(e,t,["La boîte de dialogue du sélecteur de fichier ne peut être affichée qu'avec une activation par l'utilisateur"]),!1),Ic().add(Is,Ec(e,t,["文件选择器对话框只能在由用户激活时显示"]),!1),Ic().add(Es,Ec(e,t,["文件選擇器對話框只能在由用戶激活時顯示"]),!1)}),Lc=Ue(()=>{const e="uni.setClipboardData.",t=["success","fail"];Ic().add(Ps,Ec(e,t,["Content copied","Copy failed, please copy manually"]),!1),Ic().add(Os,Ec(e,t,["Contenido copiado","Error al copiar, copie manualmente"]),!1),Ic().add(Bs,Ec(e,t,["Contenu copié","Échec de la copie, copiez manuellement"]),!1),Ic().add(Is,Ec(e,t,["内容已复制","复制失败,请手动复制"]),!1),Ic().add(Es,Ec(e,t,["內容已復制","復制失敗,請手動復製"]),!1)}),Rc=Ue(()=>{const e="uni.video.",t=["danmu","volume"];Ic().add(Ps,Ec(e,t,["Danmu","Volume"]),!1),Ic().add(Os,Ec(e,t,["Danmu","Volumen"]),!1),Ic().add(Bs,Ec(e,t,["Danmu","Le Volume"]),!1),Ic().add(Is,Ec(e,t,["弹幕","音量"]),!1),Ic().add(Es,Ec(e,t,["彈幕","音量"]),!1)});function Dc(e){const t=new ct;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,i=!1){t[i?"once":"on"](`${e}.${n}`,o)},unsubscribe(n,o){t.off(`${e}.${n}`,o)},subscribeHandler(n,o,i){t.emit(`${e}.${n}`,o,i)}}}const zc="invokeViewApi",$c="invokeServiceApi";let Fc=1;const jc=Object.create(null);function Hc(e,t){return e+"."+t}function Vc(e,t,n){t=Hc(e,t),jc[t]||(jc[t]=n)}function Wc({id:e,name:t,args:n},o){t=Hc(o,t);const i=t=>{e&&F_.publishHandler(zc+"."+e,t)},r=jc[t];r?r(n,i):i({})}const Uc=u(Dc("service"),{invokeServiceMethod:(e,t,n)=>{const{subscribe:o,publishHandler:i}=F_,r=n?Fc++:0;n&&o($c+"."+r,n,!0),i($c,{id:r,name:e,args:t})}}),qc=Xe(!0);let Qc;function Gc(){Qc&&(clearTimeout(Qc),Qc=null)}let Yc=0,Xc=0;function Kc(e){if(Gc(),1!==e.touches.length)return;const{pageX:t,pageY:n}=e.touches[0];Yc=t,Xc=n,Qc=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 Jc(e){if(!Qc)return;if(1!==e.touches.length)return Gc();const{pageX:t,pageY:n}=e.touches[0];return Math.abs(t-Yc)>10||Math.abs(n-Xc)>10?Gc():void 0}function Zc(e,t){const n=Number(e);return isNaN(n)?t:n}function eu(){const e=__uniConfig.globalStyle||{},t=Zc(e.rpxCalcMaxDeviceWidth,960),n=Zc(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 tu(){eu(),Qe(),window.addEventListener("touchstart",Kc,qc),window.addEventListener("touchmove",Jc,qc),window.addEventListener("touchend",Gc,qc),window.addEventListener("touchcancel",Gc,qc)}function nu(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ou,iu,ru=["top","left","right","bottom"],au={};function su(){return iu="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 lu(){if(iu="string"==typeof iu?iu:su()){var e=[],t=!1;try{var n=Object.defineProperty({},"passive",{get:function(){t={passive:!0}}});window.addEventListener("test",null,n)}catch(s){}var o=document.createElement("div");i(o,{position:"absolute",left:"0",top:"0",width:"0",height:"0",zIndex:"-1",overflow:"hidden",visibility:"hidden"}),ru.forEach(function(e){a(o,e)}),document.body.appendChild(o),r(),ou=!0}else ru.forEach(function(e){au[e]=0});function i(e,t){var n=e.style;Object.keys(t).forEach(function(e){var o=t[e];n[e]=o})}function r(t){t?e.push(t):e.forEach(function(e){e()})}function a(e,n){var o=document.createElement("div"),a=document.createElement("div"),s=document.createElement("div"),l=document.createElement("div"),c={position:"absolute",width:"100px",height:"200px",boxSizing:"border-box",overflow:"hidden",paddingBottom:iu+"(safe-area-inset-"+n+")"};i(o,c),i(a,c),i(s,{transition:"0s",animation:"none",width:"400px",height:"400px"}),i(l,{transition:"0s",animation:"none",width:"250%",height:"250%"}),o.appendChild(s),a.appendChild(l),e.appendChild(o),e.appendChild(a),r(function(){o.scrollTop=a.scrollTop=1e4;var e=o.scrollTop,i=a.scrollTop;function r(){this.scrollTop!==(this===o?e:i)&&(o.scrollTop=a.scrollTop=1e4,e=o.scrollTop,i=a.scrollTop,function(e){uu.length||setTimeout(function(){var e={};uu.forEach(function(t){e[t]=au[t]}),uu.length=0,du.forEach(function(t){t(e)})},0);uu.push(e)}(n))}o.addEventListener("scroll",r,t),a.addEventListener("scroll",r,t)});var u=getComputedStyle(o);Object.defineProperty(au,n,{configurable:!0,get:function(){return parseFloat(u.paddingBottom)}})}}function cu(e){return ou||lu(),au[e]}var uu=[];var du=[];const hu=nu({get support(){return 0!=("string"==typeof iu?iu:su()).length},get top(){return cu("top")},get left(){return cu("left")},get right(){return cu("right")},get bottom(){return cu("bottom")},onChange:function(e){su()&&(ou||lu(),"function"==typeof e&&du.push(e))},offChange:function(e){var t=du.indexOf(e);t>=0&&du.splice(t,1)}}),pu=vs(()=>{},["prevent"]),fu=vs(e=>{},["stop"]);function mu(e,t){return parseInt((e.getPropertyValue(t).match(/\d+/)||["0"])[0])}function gu(){const e=mu(document.documentElement.style,"--window-top");return e?e+hu.top:0}function yu(){const e=document.documentElement.style,t=gu(),n=mu(e,"--window-bottom"),o=mu(e,"--window-left"),i=mu(e,"--window-right"),r=mu(e,"--top-window-height");return{top:t,bottom:n?n+hu.bottom:0,left:o?o+hu.left:0,right:i?i+hu.right:0,topWindowHeight:r||0}}function bu(e){const t=document.documentElement.style;Object.keys(e).forEach(n=>{t.setProperty(n,e[n])})}function vu(e){return bu(e)}function _u(e){return Symbol(e)}function wu(e){return-1!==(e+="").indexOf("rpx")||-1!==e.indexOf("upx")}function xu(e,t=!1){if(t)return function(e){if(!wu(e))return e;return e.replace(/(\d+(\.\d+)?)[ru]px/g,(e,t)=>Dh(parseFloat(t))+"px")}(e);if(v(e)){const t=parseInt(e)||0;return wu(e)?Dh(t):t}return e}const Su="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",ku="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",Cu="M21.781 7.844l-9.063 8.594 9.063 8.594q0.25 0.25 0.25 0.609t-0.25 0.578q-0.25 0.25-0.578 0.25t-0.578-0.25l-9.625-9.125q-0.156-0.125-0.203-0.297t-0.047-0.359q0-0.156 0.047-0.328t0.203-0.297l9.625-9.125q0.25-0.25 0.578-0.25t0.578 0.25q0.25 0.219 0.25 0.578t-0.25 0.578z";function Au(e,t="#000",n=27){return Lr("svg",{width:n,height:n,viewBox:"0 0 32 32"},[Lr("path",{d:e,fill:t},null,8,["d","fill"])],8,["width","height"])}function Tu(){{const{$pageInstance:e}=Qr();return e&&e.proxy.$page.id}}function Iu(e){const t=Le(e);if(t.$page)return t.$page.id;if(t.$){const{$pageInstance:e}=t.$;return e&&e.proxy.$page.id}}function Eu(){const e=Cy(),t=e.length;if(t)return e[t-1]}function Pu(){const e=Eu();if(e)return e.$page.meta}function Bu(){const e=Pu();return e?e.id:-1}function Ou(){const e=Eu();if(e)return e.$vm}const Nu=["navigationBar","pullToRefresh"];function Mu(e,t){const n=JSON.parse(JSON.stringify(__uniConfig.globalStyle||{})),o=u({id:t},n,e);Nu.forEach(t=>{o[t]=u({},n[t],e[t])});const{navigationBar:i}=o;return i.titleText&&i.titleImage&&(i.titleText=""),o}function Lu(e,t,n){if(v(e))n=t,t=e,e=Ou();else if("number"==typeof e){const t=Cy().find(t=>t.$page.id===e);e=t?t.$vm:Ou()}if(!e)return;const o=e.$[t];return o&&((e,t)=>{let n;for(let o=0;o{function a(){if((()=>{const{scrollHeight:e}=document.documentElement,t=window.innerHeight,o=window.scrollY,r=o>0&&e>t&&o+t+n>=e,a=Math.abs(e-zu)>n;return!r||i&&!a?(!r&&i&&(i=!1),!1):(zu=e,i=!0,!0)})())return t&&t(),r=!1,setTimeout(function(){r=!0},350),!0}e&&e(window.pageYOffset),t&&r&&(a()||(Du=setTimeout(a,300))),o=!1};return function(){clearTimeout(Du),o||requestAnimationFrame(a),o=!0}}function Fu(e,t){if(0===t.indexOf("/"))return t;if(0===t.indexOf("./"))return Fu(e,t.slice(2));const n=t.split("/"),o=n.length;let i=0;for(;i0?e.split("/"):[];return r.splice(r.length-i-1,i+1),He(r.concat(n).join("/"))}function ju(e,t=!1){return t?__uniRoutes.find(t=>t.path===e||t.alias===e):__uniRoutes.find(t=>t.path===e)}class Hu{constructor(e){this.$bindClass=!1,this.$bindStyle=!1,this.$vm=e,this.$el=function(e,t=!1){const{vnode:n}=e;if(De(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&&De(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=qu(this.$el.querySelector(e));return t?Vu(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];b(n)?n(JSON.parse(JSON.stringify(t))):this.$vm.ownerId&&F_.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 Vu(e,t=!0){if(t&&e&&(e=Re(e.$)),e&&e.$el)return e.$el.__wxsComponentDescriptor||(e.$el.__wxsComponentDescriptor=new Hu(e)),e.$el.__wxsComponentDescriptor}function Wu(e,t){return Vu(e,t)}function Uu(e,t,n,o=!0){if(t){e.__instance||(e.__instance=!0,Object.defineProperty(e,"instance",{get:()=>Wu(n.proxy,!1)}));const i=function(e,t,n=!0){if(!t)return!1;if(n&&e.length<2)return!1;const o=Re(t);if(!o)return!1;const i=o.$.type;return!(!i.$wxs&&!i.$renderjs)&&o}(t,n,o);if(i)return[e,Wu(i,!1)]}}function qu(e){if(e)return e.__vueParentComponent&&e.__vueParentComponent.proxy}function Qu(e,t=!1){const{type:n,timeStamp:o,target:i,currentTarget:r}=e;let a,s;a=Ke(t?i:function(e){for(;e&&0!==e.tagName.indexOf("UNI-");)e=e.parentElement;return e}(i)),s=Ke(r);const l={type:n,timeStamp:o,target:a,detail:{},currentTarget:s};return e._stopped&&(l._stopped=!0),e.type.startsWith("touch")&&(l.touches=e.touches,l.changedTouches=e.changedTouches),function(e,t){u(e,{preventDefault:()=>t.preventDefault(),stopPropagation:()=>t.stopPropagation()})}(l,e),l}function Gu(e,t){return{force:1,identifier:0,clientX:e.clientX,clientY:e.clientY-t,pageX:e.pageX,pageY:e.pageY-t}}function Yu(e,t){const n=[];for(let o=0;o0===e.type.indexOf("mouse")||["contextmenu"].includes(e.type))(e))!function(e,t){const n=gu();e.pageX=t.pageX,e.pageY=t.pageY-n,e.clientX=t.clientX,e.clientY=t.clientY-n,e.touches=e.changedTouches=[Gu(t,n)]}(r,e);else if((e=>"undefined"!=typeof TouchEvent&&e instanceof TouchEvent||0===e.type.indexOf("touch")||["longpress"].indexOf(e.type)>=0)(e)){const t=gu();r.touches=Yu(e.touches,t),r.changedTouches=Yu(e.changedTouches,t)}else if((e=>!e.type.indexOf("key")&&e instanceof KeyboardEvent)(e)){["key","code"].forEach(t=>{Object.defineProperty(r,t,{get:()=>e[t]})})}return Uu(r,t,n)||[r]},createNativeEvent:Qu},Symbol.toStringTag,{value:"Module"});function Ku(e){!function(e){const t=e.globalProperties;u(t,Xu),t.$gcd=Wu}(e._context.config)}let Ju=1;function Zu(e){return(e||Bu())+"."+zc}const ed=u(Dc("view"),{invokeOnCallback:(e,t)=>j_.emit("api."+e,t),invokeViewMethod:(e,t,n,o)=>{const{subscribe:i,publishHandler:r}=j_,a=o?Ju++:0;o&&i(zc+"."+a,o,!0),r(Zu(n),{id:a,name:e,args:t},n)},invokeViewMethodKeepAlive:(e,t,n,o)=>{const{subscribe:i,unsubscribe:r,publishHandler:a}=j_,s=Ju++,l=zc+"."+s;return i(l,n),a(Zu(o),{id:s,name:e,args:t},o),()=>{r(l)}}});function td(e){Lu(Eu(),be,e),j_.invokeOnCallback("onWindowResize",e)}function nd(e){const t=Eu();Lu(Yy(),le,e),Lu(t,le)}function od(){Lu(Yy(),ce),Lu(Eu(),ce)}const id=[_e,xe];function rd(){id.forEach(e=>j_.subscribe(e,function(e){return(t,n)=>{Lu(parseInt(n),e,t)}}(e)))}function ad(){!function(){const{on:e}=j_;e(be,td),e(Oe,nd),e(Ne,od)}(),rd()}function sd(){if(this.$route){const e=this.$route.meta;return e.eventChannel||(e.eventChannel=new ot(this.$page.id)),e.eventChannel}}function ld(e){e._context.config.globalProperties.getOpenerEventChannel=sd}function cd(){return{path:"",query:{},scene:1001,referrerInfo:{appId:"",extraData:{}}}}function ud(e){return/^-?\d+[ur]px$/i.test(e)?e.replace(/(^-?\d+)[ur]px$/i,(e,t)=>`${Dh(parseFloat(t))}px`):/^-?[\d\.]+$/.test(e)?`${e}px`:e||""}function dd(e){const t=e.animation;if(!t||!t.actions||!t.actions.length)return;let n=0;const o=t.actions,i=t.actions.length;function r(){const t=o[n],a=t.option.transition,s=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"],i=["width","height","left","right","top","bottom"],r=e.animates,a=e.option,s=a.transition,l={},c=[];return r.forEach(e=>{let r=e.type,a=[...e.args];if(t.concat(n).includes(r))r.startsWith("rotate")||r.startsWith("skew")?a=a.map(e=>parseFloat(e)+"deg"):r.startsWith("translate")&&(a=a.map(ud)),n.indexOf(r)>=0&&(a.length=1),c.push(`${r}(${a.join(",")})`);else if(o.concat(i).includes(a[0])){r=a[0];const e=a[1];l[r]=i.includes(r)?ud(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)} ${s.duration}ms ${s.timingFunction} ${s.delay}ms`).join(","),l.transformOrigin=l.webkitTransformOrigin=a.transformOrigin,l}(t);Object.keys(s).forEach(t=>{e.$el.style[t]=s[t]}),n+=1,n{r()},0)}const hd={props:["animation"],watch:{animation:{deep:!0,handler(){dd(this)}}},mounted(){dd(this)}},pd=e=>{e.__reserved=!0;const{props:t,mixins:n}=e;return t&&t.animation||(n||(e.mixins=[])).push(hd),fd(e)},fd=e=>(e.__reserved=!0,e.compatConfig={MODE:3},Ko(e));function md(e){return e.__wwe=!0,e}function gd(e,t){return(n,o,i)=>{e.value&&t(n,function(e,t,n,o){let i;return i=Ke(n),{type:o.type||e,timeStamp:t.timeStamp||0,target:i,currentTarget:i,detail:o}}(n,o,e.value,i||{}))}}const yd={hoverClass:{type:String,default:"none"},hoverStopPropagation:{type:Boolean,default:!1},hoverStartTime:{type:[Number,String],default:50},hoverStayTime:{type:[Number,String],default:400}};function bd(e){const t=Dn(!1);let n,o,i=!1;function r(){requestAnimationFrame(()=>{clearTimeout(o),o=setTimeout(()=>{t.value=!1},parseInt(e.hoverStayTime))})}function a(o){o._hoverPropagationStopped||e.hoverClass&&"none"!==e.hoverClass&&!e.disabled&&(e.hoverStopPropagation&&(o._hoverPropagationStopped=!0),i=!0,n=setTimeout(()=>{t.value=!0,i||r()},parseInt(e.hoverStartTime)))}function s(){i=!1,t.value&&r()}function l(){s(),window.removeEventListener("mouseup",l)}return{hovering:t,binding:{onTouchstartPassive:md(function(e){e.touches.length>1||a(e)}),onMousedown:md(function(e){i||(a(e),window.addEventListener("mouseup",l))}),onTouchend:md(function(){s()}),onMouseup:md(function(){i&&l()}),onTouchcancel:md(function(){i=!1,t.value=!1,clearTimeout(n)})}}}function vd(e,t){return v(t)&&(t=[t]),t.reduce((t,n)=>(e[n]&&(t[n]=!0),t),Object.create(null))}const _d=_u("uf"),wd=_u("ul");function xd(e,t){Sd(e.id,t),No(()=>e.id,(e,n)=>{kd(n,t,!0),Sd(e,t,!0)}),wi(()=>{kd(e.id,t)})}function Sd(e,t,n){const o=Tu();n&&!e||C(t)&&Object.keys(t).forEach(i=>{n?0!==i.indexOf("@")&&0!==i.indexOf("uni-")&&F_.on(`uni-${i}-${o}-${e}`,t[i]):0===i.indexOf("uni-")?F_.on(i,t[i]):e&&F_.on(`uni-${i}-${o}-${e}`,t[i])})}function kd(e,t,n){const o=Tu();n&&!e||C(t)&&Object.keys(t).forEach(i=>{n?0!==i.indexOf("@")&&0!==i.indexOf("uni-")&&F_.off(`uni-${i}-${o}-${e}`,t[i]):0===i.indexOf("uni-")?F_.off(i,t[i]):e&&F_.off(`uni-${i}-${o}-${e}`,t[i])})}const Cd=pd({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=Dn(null),o=Ki(_d,!1),{hovering:i,binding:r}=bd(e);Ic();const a=md((t,i)=>{if(e.disabled)return t.stopImmediatePropagation();i&&n.value.click();const r=e.formType;if(r){if(!o)return;"submit"===r?o.submit(t):"reset"===r&&o.reset(t)}else;}),s=Ki(wd,!1);return s&&(s.addHandler(a),_i(()=>{s.removeHandler(a)})),xd(e,{"label-click":a}),()=>{const o=e.hoverClass,s=vd(e,"disabled"),l=vd(e,"loading"),c=vd(e,"plain"),u=o&&"none"!==o;return Lr("uni-button",Hr({ref:n,onClick:a,id:e.id,class:u&&i.value?o:""},u&&r,s,l,c),[t.default&&t.default()],16,["onClick","id"])}}});function Ad(e){return e.$el}function Td(e){const{base:t}=__uniConfig.router;return 0===He(e).indexOf(t)?He(e):t+e}function Id(e){const{base:t,assets:n}=__uniConfig.router;if("./"===t&&(0===e.indexOf("./static/")||n&&0===e.indexOf("./"+n+"/"))&&(e=e.slice(1)),0===e.indexOf("/")){if(0!==e.indexOf("//"))return Td(e.slice(1));e="https:"+e}if(ae.test(e)||se.test(e)||0===e.indexOf("blob:"))return e;const o=Cy();return o.length?Td(Fu(o[o.length-1].$page.route,e).slice(1)):e}const Ed=navigator.userAgent,Pd=/android/i.test(Ed),Bd=/iphone|ipad|ipod/i.test(Ed),Od=Ed.match(/Windows NT ([\d|\d.\d]*)/i),Nd=/Macintosh|Mac/i.test(Ed),Md=/Linux|X11/i.test(Ed),Ld=Nd&&navigator.maxTouchPoints>0;function Rd(){return/^Apple/.test(navigator.vendor)&&"number"==typeof window.orientation}function Dd(e){return e&&90===Math.abs(window.orientation)}function zd(e,t){return e?Math[t?"max":"min"](screen.width,screen.height):screen.width}function $d(e){return Math.min(window.innerWidth,document.documentElement.clientWidth,e)||e}function Fd(e,t,n,o){j_.invokeViewMethod("video."+e,{videoId:e,type:n,data:o},t)}function jd(e,t){const n={},{top:o,topWindowHeight:i}=yu();if(t.node){const t=e.tagName.split("-")[1];t&&(n.node=e.querySelector(t))}if(t.id&&(n.id=e.id),t.dataset&&(n.dataset=Ge(e)),t.rect||t.size){const r=e.getBoundingClientRect();t.rect&&(n.left=r.left,n.right=r.right,n.top=r.top-o-i,n.bottom=r.bottom-o-i),t.size&&(n.width=r.width,n.height=r.height)}if(f(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(f(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 Hd(e,t){return(e.matches||e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector||function(e){const t=this.parentElement.querySelectorAll(e);let n=t.length;for(;--n>=0&&t.item(n)!==this;);return n>-1}).call(e,t)}function Vd(e,t,n){const o=[];t.forEach(({component:t,selector:n,single:i,fields:r})=>{null===t?o.push(function(e){const t={};if(e.id&&(t.id=""),e.dataset&&(t.dataset={}),e.rect&&(t.left=0,t.right=0,t.top=0,t.bottom=0),e.size&&(t.width=document.documentElement.clientWidth,t.height=document.documentElement.clientHeight),e.scrollOffset){const e=document.documentElement,n=document.body;t.scrollLeft=e.scrollLeft||n.scrollLeft||0,t.scrollTop=e.scrollTop||n.scrollTop||0,t.scrollHeight=e.scrollHeight||n.scrollHeight||0,t.scrollWidth=e.scrollWidth||n.scrollWidth||0}return t}(r)):o.push(function(e,t,n,o,i){const r=function(e,t){return e?e.$el:t.$el}(t,e),a=r.parentElement;if(!a)return o?null:[];const{nodeType:s}=r,l=3===s||8===s;if(o){const e=l?a.querySelector(n):Hd(r,n)?r:r.querySelector(n);return e?jd(e,i):null}{let e=[];const t=(l?a:r).querySelectorAll(n);return t&&t.length&&[].forEach.call(t,t=>{e.push(jd(t,i))}),!l&&Hd(r,n)&&e.unshift(jd(r,i)),e}}(e,t,n,i,r))}),n(o)}const Wd=["original","compressed"],Ud=["album","camera"],qd=["GET","OPTIONS","HEAD","POST","PUT","DELETE","TRACE","CONNECT","PATCH"];function Qd(e,t){return e&&-1!==t.indexOf(e)?e:t[0]}function Gd(e,t){return!f(e)||0===e.length||e.find(e=>-1===t.indexOf(e))?t:e}function Yd(e){return function(){try{return e.apply(e,arguments)}catch(t){console.error(t)}}}let Xd=1;const Kd={};function Jd(e,t,n,o=!1){return Kd[e]={name:t,keepAlive:o,callback:n},e}function Zd(e,t,n){if("number"==typeof e){const o=Kd[e];if(o)return o.keepAlive||delete Kd[e],o.callback(t,n)}return t}function eh(e){for(const t in Kd)if(Kd[t].name===e)return!0;return!1}const th="success",nh="fail",oh="complete";function ih(e,t={},{beforeAll:n,beforeSuccess:o}={}){C(t)||(t={});const{success:i,fail:r,complete:a}=function(e){const t={};for(const n in e){const o=e[n];b(o)&&(t[n]=Yd(o),delete e[n])}return t}(t),s=b(i),l=b(r),c=b(a),u=Xd++;return Jd(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),b(n)&&n(u),u.errMsg===e+":ok"?(b(o)&&o(u,t),s&&i(u)):l&&r(u),c&&a(u)}),u}const rh="success",ah="fail",sh="complete",lh={},ch={};function uh(e,t){return function(n){return e(n,t)||n}}function dh(e,t,n){let o=!1;for(let i=0;ie(t),catch(){}}}function hh(e,t={}){return[rh,ah,sh].forEach(n=>{const o=e[n];if(!f(o))return;const i=t[n];t[n]=function(e){dh(o,e,t).then(e=>b(i)&&i(e)||e)}}),t}function ph(e,t){const n=[];f(lh.returnValue)&&n.push(...lh.returnValue);const o=ch[e];return o&&f(o.returnValue)&&n.push(...o.returnValue),n.forEach(e=>{t=e(t)||t}),t}function fh(e){const t=Object.create(null);Object.keys(lh).forEach(e=>{"returnValue"!==e&&(t[e]=lh[e].slice())});const n=ch[e];return n&&Object.keys(n).forEach(e=>{"returnValue"!==e&&(t[e]=(t[e]||[]).concat(n[e]))}),t}function mh(e,t,n,o){const i=fh(e);if(i&&Object.keys(i).length){if(f(i.invoke)){return dh(i.invoke,n).then(n=>t(hh(fh(e),n),...o))}return t(hh(i,n),...o)}return t(n,...o)}function gh(e,t){return(n={},...o)=>function(e){return!(!C(e)||![th,nh,oh].find(t=>b(e[t])))}(n)?ph(e,mh(e,t,n,o)):ph(e,new Promise((i,r)=>{mh(e,t,u(n,{success:i,fail:r}),o)}))}function yh(e,t,n,o={}){const i=t+":fail"+(n?" "+n:"");return delete o.errCode,Zd(e,u({errMsg:i},o))}function bh(e,t,n,o){if(o&&o.beforeInvoke){const e=o.beforeInvoke(t);if(v(e))return e}const i=function(e,t){const n=e[0];if(!t||!C(t.formatArgs)&&C(n))return;const o=t.formatArgs,i=Object.keys(o);for(let r=0;r{vh(o);const i=bh(0,[o],0,n);if(i)throw new Error(i);const r=!eh(e);!function(e,t){Jd(Xd++,e,t,!0)}(e,o),r&&(!function(e){j_.on("api."+e,t=>{for(const n in Kd){const o=Kd[n];o.name===e&&o.callback(t)}})}(e),t())}}function wh(e,t,n){return o=>{vh(o);const i=bh(0,[o],0,n);if(i)throw new Error(i);!function(e,t){for(const n in Kd){const o=Kd[n];o.callback===t&&o.name===e&&delete Kd[n]}}(e=e.replace("off","on"),o);eh(e)||(!function(e){j_.off("api."+e)}(e),t())}}function xh(e,t,n,o){return n=>{const i=ih(e,n,o),r=bh(0,[n],0,o);return r?yh(i,e,r):t(n,{resolve:t=>function(e,t,n){return Zd(e,u(n||{},{errMsg:t+":ok"}))}(i,e,t),reject:(t,n)=>yh(i,e,function(e){return!e||v(e)?e:e.stack?(console.error(e.message+ie+e.stack),e.message):e}(t),n)})}}function Sh(e,t,n){return _h(e,t,n)}function kh(e,t,n){return wh(e,t,n)}function Ch(e,t,n,o){return gh(e,xh(e,t,0,o))}function Ah(e,t,n,o){return function(e,t,n,o){return(...e)=>{const n=bh(0,e,0,o);if(n)throw new Error(n);return t.apply(null,e)}}(0,t,0,o)}function Th(e,t,n,o){return gh(e,function(e,t,n,o){return xh(e,t,0,o)}(e,t,0,o))}function Ih(e){return(t,{reject:n})=>n(function(e){return`method 'uni.${e}' not supported`}(e))}let Eh=!1,Ph=0,Bh=0,Oh=960,Nh=375,Mh=750;function Lh(){const{platform:e,pixelRatio:t,windowWidth:n}=function(){const e=Rd(),t=$d(zd(e,Dd(e)));return{platform:Bd?"ios":"other",pixelRatio:window.devicePixelRatio,windowWidth:t}}();Ph=n,Bh=t,Eh="ios"===e}function Rh(e,t){const n=Number(e);return isNaN(n)?t:n}const Dh=Ah(0,(e,t)=>{if(0===Ph&&(Lh(),function(){const e=__uniConfig.globalStyle||{};Oh=Rh(e.rpxCalcMaxDeviceWidth,960),Nh=Rh(e.rpxCalcBaseDeviceWidth,375),Mh=Rh(e.rpxCalcBaseDeviceWidth,750)}()),0===(e=Number(e)))return 0;let n=t||Ph;n=e===Mh||n<=Oh?n:Nh;let o=e/750*n;return o<0&&(o=-o),o=Math.floor(o+1e-4),0===o&&(o=1!==Bh&&Eh?.5:1),e<0?-o:o}),zh=new ct,$h=Ah(0,(e,t)=>(zh.on(e,t),()=>zh.off(e,t))),Fh=Ah(0,(e,t)=>(zh.once(e,t),()=>zh.off(e,t))),jh=Ah(0,(e,t)=>{e?(f(e)||(e=[e]),e.forEach(e=>zh.off(e,t))):zh.e={}}),Hh=Ah(0,(e,...t)=>{zh.emit(e,...t)}),Vh=[.5,.8,1,1.25,1.5,2];class Wh{constructor(e,t){this.id=e,this.pageId=t}play(){Fd(this.id,this.pageId,"play")}pause(){Fd(this.id,this.pageId,"pause")}stop(){Fd(this.id,this.pageId,"stop")}seek(e){Fd(this.id,this.pageId,"seek",{position:e})}sendDanmu(e){Fd(this.id,this.pageId,"sendDanmu",e)}playbackRate(e){~Vh.indexOf(e)||(e=1),Fd(this.id,this.pageId,"playbackRate",{rate:e})}requestFullScreen(e={}){Fd(this.id,this.pageId,"requestFullScreen",e)}exitFullScreen(){Fd(this.id,this.pageId,"exitFullScreen")}showStatusBar(){Fd(this.id,this.pageId,"showStatusBar")}hideStatusBar(){Fd(this.id,this.pageId,"hideStatusBar")}}const Uh=Ah(0,(e,t)=>new Wh(e,Iu(t||Ou()))),qh=(e,t,n,o)=>{!function(e,t,n,o,i){j_.invokeViewMethod("map."+e,{type:n,data:o},t,i)}(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)})};function Qh(e,t){return function(n,o){n?o[e]=Math.round(n):void 0!==t&&(o[e]=t)}}const Gh=Qh("width"),Yh=Qh("height"),Xh={formatArgs:{x:Qh("x"),y:Qh("y"),width:Gh,height:Yh}},Kh={canvasId:{type:String,required:!0},x:{type:Number,required:!0},y:{type:Number,required:!0},width:{type:Number,required:!0},height:{type:Number,required:!0}},Jh=Xh,Zh=(Uint8ClampedArray,{PNG:"png",JPG:"jpg",JPEG:"jpg"}),ep={formatArgs:{x:Qh("x",0),y:Qh("y",0),width:Gh,height:Yh,destWidth:Qh("destWidth"),destHeight:Qh("destHeight"),fileType(e,t){e=(e||"").toUpperCase();let n=Zh[e];n||(n=Zh.PNG),t.fileType=n},quality(e,t){t.quality=e&&e>0&&e<1?e:1}}};function tp(e,t,n,o,i){j_.invokeViewMethod(`canvas.${e}`,{type:n,data:o},t,e=>{i&&i(e)})}var np=["scale","rotate","translate","setTransform","transform"],op=["drawImage","fillText","fill","stroke","fillRect","strokeRect","clearRect","strokeText"],ip=["setFillStyle","setTextAlign","setStrokeStyle","setGlobalAlpha","setShadow","setFontSize","setLineCap","setLineJoin","setLineWidth","setMiterLimit","setTextBaseline","setLineDash"];const rp={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 ap(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(p(rp,n)){t=/^#([0-9|A-F|a-f]{6,8})$/.exec(rp[n]);const e=parseInt(t[1].slice(0,2),16),o=parseInt(t[1].slice(2,4),16),i=parseInt(t[1].slice(4,6),16);let r=parseInt(t[1].slice(6,8),16);return r=r>=0?r:255,[e,o,i,r]}return console.error("unsupported color:"+e),[0,0,0,255]}class sp{constructor(e,t){this.type=e,this.data=t,this.colorStop=[]}addColorStop(e,t){this.colorStop.push([e,ap(t)])}}class lp{constructor(e,t){this.type="pattern",this.data=e,this.colorStop=t}}class cp{constructor(e){this.width=e}}class up{constructor(e,t){this.id=e,this.pageId=t,this.actions=[],this.path=[],this.subpath=[],this.drawingState=[],this.state={lineDash:[0,0],shadowOffsetX:0,shadowOffsetY:0,shadowBlur:0,shadowColor:[0,0,0,0],font:"10px sans-serif",fontSize:10,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif"}}draw(e=!1,t){var n=[...this.actions];this.actions=[],this.path=[],tp(this.id,this.pageId,"actionsChanged",{actions:n,reserve:e},t)}createLinearGradient(e,t,n,o){return new sp("linear",[e,t,n,o])}createCircularGradient(e,t,n){return new sp("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 lp(e,t);console.error("Failed to execute 'createPattern' on 'CanvasContext': The provided type ('"+t+"') is not one of 'repeat', 'no-repeat', 'repeat-x', or 'repeat-y'.")}}measureText(e){let t=0;return t=function(e,t){const n=document.createElement("canvas").getContext("2d");return n.font=t,n.measureText(e).width||0}(e,this.state.font),new cp(t)}save(){this.actions.push({method:"save",data:[]}),this.drawingState.push(this.state)}restore(){this.actions.push({method:"restore",data:[]}),this.state=this.drawingState.pop()||{lineDash:[0,0],shadowOffsetX:0,shadowOffsetY:0,shadowBlur:0,shadowColor:[0,0,0,0],font:"10px sans-serif",fontSize:10,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif"}}beginPath(){this.path=[],this.subpath=[],this.path.push({method:"beginPath",data:[]})}moveTo(e,t){this.path.push({method:"moveTo",data:[e,t]}),this.subpath=[[e,t]]}lineTo(e,t){0===this.path.length&&0===this.subpath.length?this.path.push({method:"moveTo",data:[e,t]}):this.path.push({method:"lineTo",data:[e,t]}),this.subpath.push([e,t])}quadraticCurveTo(e,t,n,o){this.path.push({method:"quadraticCurveTo",data:[e,t,n,o]}),this.subpath.push([n,o])}bezierCurveTo(e,t,n,o,i,r){this.path.push({method:"bezierCurveTo",data:[e,t,n,o,i,r]}),this.subpath.push([i,r])}arc(e,t,n,o,i,r=!1){this.path.push({method:"arc",data:[e,t,n,o,i,r]}),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,i){this.path.push({method:"arcTo",data:[e,t,n,o,i]}),this.subpath.push([n,o])}clip(){this.actions.push({method:"clip",data:[...this.path]})}closePath(){this.path.push({method:"closePath",data:[]}),this.subpath.length&&(this.subpath=[this.subpath.shift()])}clearActions(){this.actions=[],this.path=[],this.subpath=[]}getActions(){var e=[...this.actions];return this.clearActions(),e}set lineDashOffset(e){this.actions.push({method:"setLineDashOffset",data:[e]})}set globalCompositeOperation(e){this.actions.push({method:"setGlobalCompositeOperation",data:[e]})}set shadowBlur(e){this.actions.push({method:"setShadowBlur",data:[e]})}set shadowColor(e){this.actions.push({method:"setShadowColor",data:[e]})}set shadowOffsetX(e){this.actions.push({method:"setShadowOffsetX",data:[e]})}set shadowOffsetY(e){this.actions.push({method:"setShadowOffsetY",data:[e]})}set font(e){var t=this;this.state.font=e;var n=e.match(/^(([\w\-]+\s)*)(\d+r?px)(\/(\d+\.?\d*(r?px)?))?\s+(.*)/);if(n){var o=n[1].trim().split(/\s/),i=parseFloat(n[3]),r=n[7],a=[];o.forEach(function(e,n){["italic","oblique","normal"].indexOf(e)>-1?(a.push({method:"setFontStyle",data:[e]}),t.state.fontStyle=e):["bold","normal"].indexOf(e)>-1?(a.push({method:"setFontWeight",data:[e]}),t.state.fontWeight=e):0===n?(a.push({method:"setFontStyle",data:["normal"]}),t.state.fontStyle="normal"):1===n&&s()}),1===o.length&&s(),o=a.map(function(e){return e.data[0]}).join(" "),this.state.fontSize=i,this.state.fontFamily=r,this.actions.push({method:"setFont",data:[`${o} ${i}px ${r}`]})}else console.warn("Failed to set 'font' on 'CanvasContext': invalid format.");function s(){a.push({method:"setFontWeight",data:["normal"]}),t.state.fontWeight="normal"}}get font(){return this.state.font}set fillStyle(e){this.setFillStyle(e)}set strokeStyle(e){this.setStrokeStyle(e)}set globalAlpha(e){e=Math.floor(255*parseFloat(e)),this.actions.push({method:"setGlobalAlpha",data:[e]})}set textAlign(e){this.actions.push({method:"setTextAlign",data:[e]})}set lineCap(e){this.actions.push({method:"setLineCap",data:[e]})}set lineJoin(e){this.actions.push({method:"setLineJoin",data:[e]})}set lineWidth(e){this.actions.push({method:"setLineWidth",data:[e]})}set miterLimit(e){this.actions.push({method:"setMiterLimit",data:[e]})}set textBaseline(e){this.actions.push({method:"setTextBaseline",data:[e]})}}const dp=Ue(()=>{[...np,...op].forEach(function(e){up.prototype[e]=function(e){switch(e){case"fill":case"stroke":return function(){this.actions.push({method:e+"Path",data:[...this.path]})};case"fillRect":return function(e,t,n,o){this.actions.push({method:"fillPath",data:[{method:"rect",data:[e,t,n,o]}]})};case"strokeRect":return function(e,t,n,o){this.actions.push({method:"strokePath",data:[{method:"rect",data:[e,t,n,o]}]})};case"fillText":case"strokeText":return function(t,n,o,i){var r=[t.toString(),n,o];"number"==typeof i&&r.push(i),this.actions.push({method:e,data:r})};case"drawImage":return function(t,n,o,i,r,a,s,l,c){var u;function d(e){return"number"==typeof e}void 0===c&&(a=n,s=o,l=i,c=r,n=void 0,o=void 0,i=void 0,r=void 0),u=d(n)&&d(o)&&d(i)&&d(r)?[t,a,s,l,c,n,o,i,r]:d(l)&&d(c)?[t,a,s,l,c]:[t,a,s],this.actions.push({method:e,data:u})};default:return function(...t){this.actions.push({method:e,data:t})}}}(e)}),ip.forEach(function(e){up.prototype[e]=function(e){switch(e){case"setFillStyle":case"setStrokeStyle":return function(t){"object"!=typeof t?this.actions.push({method:e,data:["normal",ap(t)]}):this.actions.push({method:e,data:[t.type,t.data,t.colorStop]})};case"setGlobalAlpha":return function(t){t=Math.floor(255*parseFloat(t)),this.actions.push({method:e,data:[t]})};case"setShadow":return function(t,n,o,i){i=ap(i),this.actions.push({method:e,data:[t,n,o,i]}),this.state.shadowBlur=o,this.state.shadowColor=i,this.state.shadowOffsetX=t,this.state.shadowOffsetY=n};case"setLineDash":return function(t,n){t=t||[0,0],n=n||0,this.actions.push({method:e,data:[t,n]}),this.state.lineDash=t};case"setFontSize":return function(t){this.state.font=this.state.font.replace(/\d+\.?\d*px/,t+"px"),this.state.fontSize=t,this.actions.push({method:e,data:[t]})};default:return function(...t){this.actions.push({method:e,data:t})}}}(e)})}),hp=Ah(0,(e,t)=>{if(dp(),t)return new up(e,Iu(t));const n=Iu(Ou());if(n)return new up(e,n);j_.emit(ue,"createCanvasContext:fail")}),pp=Th("canvasGetImageData",({canvasId:e,x:t,y:n,width:o,height:i},{resolve:r,reject:a})=>{const s=Iu(Ou());s?tp(e,s,"getImageData",{x:t,y:n,width:o,height:i},function(e){if(e.errMsg&&-1!==e.errMsg.indexOf("fail"))return void a("",e);let t=e.data;t&&t.length&&(e.data=new Uint8ClampedArray(t)),delete e.compressed,r(e)}):a()},0,Xh),fp=Th("canvasPutImageData",({canvasId:e,data:t,x:n,y:o,width:i,height:r},{resolve:a,reject:s})=>{var l=Iu(Ou());if(!l)return void s();t=Array.prototype.slice.call(t),tp(e,l,"putImageData",{data:t,x:n,y:o,width:i,height:r,compressed:void 0},e=>{e.errMsg&&-1!==e.errMsg.indexOf("fail")?s():a(e)})},0,Jh),mp=Th("canvasToTempFilePath",({x:e=0,y:t=0,width:n,height:o,destWidth:i,destHeight:r,canvasId:a,fileType:s,quality:l},{resolve:c,reject:u})=>{var d=Iu(Ou());if(!d)return void u();tp(a,d,"toTempFilePath",{x:e,y:t,width:n,height:o,destWidth:i,destHeight:r,fileType:s,quality:l,dirname:`${zf}/canvas`},e=>{e.errMsg&&-1!==e.errMsg.indexOf("fail")?u("",e):c(e)})},0,ep),gp={thresholds:[0],initialRatio:0,observeAll:!1},yp=["top","right","bottom","left"];let bp=1;function vp(e={}){return yp.map(t=>`${Number(e[t])||0}px`).join(" ")}class _p{constructor(e,t){this._pageId=Iu(e),this._component=e,this._options=u({},gp,t)}relativeTo(e,t){return this._options.relativeToSelector=e,this._options.rootMargin=vp(t),this}relativeToViewport(e){return this._options.relativeToSelector=void 0,this._options.rootMargin=vp(e),this}observe(e,t){b(t)&&(this._options.selector=e,this._reqId=bp++,function({reqId:e,component:t,options:n,callback:o}){const i=Ad(t);(i.__io||(i.__io={}))[e]=function(e,t,n){Lf();const o=t.relativeToSelector?e.querySelector(t.relativeToSelector):null,i=new IntersectionObserver(e=>{e.forEach(e=>{n({intersectionRatio:Df(e),intersectionRect:Rf(e.intersectionRect),boundingClientRect:Rf(e.boundingClientRect),relativeRect:Rf(e.rootBounds),time:Date.now(),dataset:Ge(e.target),id:e.target.id})})},{root:o,rootMargin:t.rootMargin,threshold:t.thresholds});if(t.observeAll){i.USE_MUTATION_OBSERVER=!0;const n=e.querySelectorAll(t.selector);for(let e=0;e((e=Le(e))&&!Iu(e)&&(t=e,e=null),new _p(e||Ou(),t)));let xp=0,Sp={};function kp(e,t,n,o){const i={options:o},r=o&&("success"in o||"fail"in o||"complete"in o);if(r){const e=String(xp++);i.callbackId=e,Sp[e]=o}j_.invokeViewMethod(`editor.${e}`,{type:n,data:i},t,({callbackId:e,data:t})=>{r&&(!function(e,t){e=e||{},v(t)&&(t={errMsg:t}),/:ok$/.test(t.errMsg)?b(e.success)&&e.success(t):b(e.fail)&&e.fail(t),b(e.complete)&&e.complete(t)}(Sp[e],t),delete Sp[e])})}const Cp={canvas:up,map:class{constructor(e,t){this.id=e,this.pageId=t}getCenterLocation(e){qh(this.id,this.pageId,"getCenterLocation",e)}moveToLocation(e){qh(this.id,this.pageId,"moveToLocation",e)}getScale(e){qh(this.id,this.pageId,"getScale",e)}getRegion(e){qh(this.id,this.pageId,"getRegion",e)}includePoints(e){qh(this.id,this.pageId,"includePoints",e)}translateMarker(e){qh(this.id,this.pageId,"translateMarker",e)}$getAppMap(){}addCustomLayer(e){qh(this.id,this.pageId,"addCustomLayer",e)}removeCustomLayer(e){qh(this.id,this.pageId,"removeCustomLayer",e)}addGroundOverlay(e){qh(this.id,this.pageId,"addGroundOverlay",e)}removeGroundOverlay(e){qh(this.id,this.pageId,"removeGroundOverlay",e)}updateGroundOverlay(e){qh(this.id,this.pageId,"updateGroundOverlay",e)}initMarkerCluster(e){qh(this.id,this.pageId,"initMarkerCluster",e)}addMarkers(e){qh(this.id,this.pageId,"addMarkers",e)}removeMarkers(e){qh(this.id,this.pageId,"removeMarkers",e)}moveAlong(e){qh(this.id,this.pageId,"moveAlong",e)}setLocMarkerIcon(e){qh(this.id,this.pageId,"setLocMarkerIcon",e)}openMapApp(e){qh(this.id,this.pageId,"openMapApp",e)}on(e,t){qh(this.id,this.pageId,"on",{name:e,callback:t})}},video:Wh,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){kp(this.id,this.pageId,e,t)}}};function Ap(e){if(e&&e.contextInfo){const{id:t,type:n,page:o}=e.contextInfo,i=Cp[n];e.context=new i(t,o),delete e.contextInfo}}class Tp{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 Ip{constructor(e){this._component=void 0,this._page=e,this._queue=[],this._queueCb=[]}exec(e){return Vd(this._page,this._queue,t=>{const n=this._queueCb;t.forEach((e,t)=>{f(e)?e.forEach(Ap):Ap(e);const o=n[t];b(o)&&o.call(this,e)}),b(e)&&e.call(this,t)}),this._nodesRef}in(e){return this._component=Le(e),this}select(e){return this._nodesRef=new Tp(this,this._component,e,!0)}selectAll(e){return this._nodesRef=new Tp(this,this._component,e,!1)}selectViewport(){return this._nodesRef=new Tp(this,null,"",!0)}_push(e,t,n,o,i){this._queue.push({component:t,selector:e,single:n,fields:o}),this._queueCb.push(i)}}const Ep=Ah(0,e=>((e=Le(e))&&!Iu(e)&&(e=null),new Ip(e||Ou()))),Pp={formatArgs:{}},Bp={duration:400,timingFunction:"linear",delay:0,transformOrigin:"50% 50% 0"};class Op{constructor(e){this.actions=[],this.currentTransform={},this.currentStepAnimates=[],this.option=u({},Bp,e)}_getOption(e){const t={transition:u({},this.option,e),transformOrigin:""};return t.transformOrigin=t.transition.transformOrigin,delete t.transition.transformOrigin,t}_pushAnimates(e,t){this.currentStepAnimates.push({type:e,args:t})}_converType(e){return e.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}_getValue(e){return"number"==typeof e?`${e}px`:e}export(){const e=this.actions;return this.actions=[],{actions:e}}step(e){return this.currentStepAnimates.forEach(e=>{"style"!==e.type?this.currentTransform[e.type]=e:this.currentTransform[`${e.type}.${e.args[0]}`]=e}),this.actions.push({animates:Object.values(this.currentTransform),option:this._getOption(e)}),this.currentStepAnimates=[],this}}const Np=Ue(()=>{const e=["opacity","backgroundColor"],t=["width","height","left","right","top","bottom"];["matrix","matrix3d","rotate","rotate3d","rotateX","rotateY","rotateZ","scale","scale3d","scaleX","scaleY","scaleZ","skew","skewX","skewY","translate","translate3d","translateX","translateY","translateZ"].concat(e,t).forEach(n=>{Op.prototype[n]=function(...o){return e.concat(t).includes(n)?this._pushAnimates("style",[this._converType(n),t.includes(n)?this._getValue(o[0]):o[0]]):this._pushAnimates(n,o),this}})}),Mp=Ah(0,e=>(Np(),new Op(e)),0,Pp),Lp=Sh("onWindowResize",()=>{}),Rp=kh("offWindowResize",()=>{}),Dp=Ah(0,()=>{const e=Yy();return e&&e.$vm?e.$vm.$locale:Ic().getLocale()}),zp=Sh("onLocaleChange",()=>{}),$p=Th("setPageMeta",(e,{resolve:t})=>{t(function(e,{pageStyle:t,rootFontSize:n}){t&&(document.querySelector("uni-page-body")||document.body).setAttribute("style",t);n&&document.documentElement.style.fontSize!==n&&(document.documentElement.style.fontSize=n)}(Ou(),e))}),Fp={[pe]:[],[he]:[],[ue]:[],[le]:[],[ce]:[]};const jp={formatArgs:{showToast:!0},beforeInvoke(){Lc()},beforeSuccess(e,t){if(!t.showToast)return;const{t:n}=Ic(),o=n("uni.setClipboardData.success");o&&i_({title:o,icon:"success",mask:!1})}},Hp=(Boolean,["wgs84","gcj02"]),Vp={formatArgs:{type(e,t){e=(e||"").toLowerCase(),-1===Hp.indexOf(e)?t.type=Hp[0]:t.type=e},altitude(e,t){t.altitude=e||!1}}},Wp=(Boolean,{formatArgs:{count(e,t){(!e||e<=0)&&(t.count=9)},sizeType(e,t){t.sizeType=Gd(e,Wd)},sourceType(e,t){t.sourceType=Gd(e,Ud)},extension(e,t){if(e instanceof Array&&0===e.length)return"param extension should not be empty.";e||(t.extension=["*"])}}}),Up={formatArgs:{sourceType(e,t){t.sourceType=Gd(e,Ud)},compressed:!0,maxDuration:60,camera:"back",extension(e,t){if(e instanceof Array&&0===e.length)return"param extension should not be empty.";e||(t.extension=["*"])}}},qp=(Boolean,["all","image","video"]),Qp={formatArgs:{count(e,t){(!e||e<=0)&&(t.count=100)},sourceType(e,t){t.sourceType=Gd(e,Ud)},type(e,t){t.type=Qd(e,qp)},extension(e,t){if(e instanceof Array&&0===e.length)return"param extension should not be empty.";e||(t.extension=[""])}}},Gp={formatArgs:{src(e,t){t.src=Id(e)}}},Yp={formatArgs:{urls(e,t){t.urls=e.map(e=>v(e)&&e?Id(e):"")},current(e,t){"number"==typeof e?t.current=e>0&&ee),a={};r.forEach(e=>{const t=e.split("=");a[t[0]]=t[1]});for(const s in t)if(p(t,s)){let e=t[s];null==e?e="":C(e)&&(e=JSON.stringify(e)),a[Zp(s)]=Zp(e)}return i=Object.keys(a).map(e=>`${e}=${a[e]}`).join("&"),e+(i?"?"+i:"")+(o?"#"+o:"")}(e,t.data))},header(e,t){const n=t.header=e||{};t.method!==qd[0]&&(Object.keys(n).find(e=>"content-type"===e.toLowerCase())||(n["Content-Type"]="application/json"))},dataType(e,t){t.dataType=(e||Kp).toLowerCase()},responseType(e,t){t.responseType=(e||"").toLowerCase(),-1===Jp.indexOf(t.responseType)&&(t.responseType="text")}}},tf={formatArgs:{header(e,t){t.header=e||{}}}},nf={formatArgs:{filePath(e,t){e&&(t.filePath=Id(e))},header(e,t){t.header=e||{}},formData(e,t){t.formData=e||{}}}};const of={url:{type:String,required:!0}},rf="navigateTo",af="redirectTo",sf="reLaunch",lf="switchTab",cf="preloadPage",uf=(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(rf)),df=bf(af),hf=bf(sf),pf=bf(lf),ff={formatArgs:{delta(e,t){e=parseInt(e+"")||1,t.delta=Math.min(Cy().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 gf;function yf(){gf=""}function bf(e){return{formatArgs:{url:vf(e)},beforeAll:yf}}function vf(e){return function(t,n){if(!t)return'Missing required args: "url"';const o=(t=function(e){if(0===e.indexOf("/"))return e;let t="";const n=Cy();return n.length&&(t=n[n.length-1].$page.route),Fu(t,e)}(t)).split("?")[0],i=ju(o,!0);if(!i)return"page `"+t+"` is not found";if(e===rf||e===af){if(i.meta.isTabBar)return`can not ${e} a tabbar page`}else if(e===lf&&!i.meta.isTabBar)return"can not switch to no-tabBar page";if(e!==lf&&e!==cf||!i.meta.isTabBar||"appLaunch"===n.openType||(t=o),i.meta.isEntry&&(t=t.replace(i.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(),i=t.length>0?t.join("="):"";o.push(n+"="+encodeURIComponent(i))}),o.length?e+"?"+o.join("&"):e}(t),"unPreloadPage"!==e)if(e!==cf){if(gf===t&&"appLaunch"!==n.openType)return`${gf} locked`;__uniConfig.ready&&(gf=t)}else if(i.meta.isTabBar){const e=Cy(),t=i.path.slice(1);if(e.find(e=>e.route===t))return"tabBar page `"+t+"` already exists"}}}const _f="setNavigationBarTitle",wf={formatArgs:{duration:300}},xf=(Boolean,{formatArgs:{title:"",mask:!1}}),Sf=(Boolean,{beforeInvoke(){Nc()},formatArgs:{title:"",content:"",placeholderText:"",showCancel:!0,editable:!1,cancelText(e,t){if(!p(t,"cancelText")){const{t:e}=Ic();t.cancelText=e("uni.showModal.cancel")}},cancelColor:"#000",confirmText(e,t){if(!p(t,"confirmText")){const{t:e}=Ic();t.confirmText=e("uni.showModal.confirm")}},confirmColor:"#007aff"}}),kf=["success","loading","none","error"],Cf=(Boolean,{formatArgs:{title:"",icon(e,t){t.icon=Qd(e,kf)},image(e,t){t.image=e?Id(e):""},duration:1500,mask:!1}}),Af={beforeInvoke(){const e=Pu();if(e&&!e.isTabBar)return"not TabBar page"},formatArgs:{index(e){if(!__uniConfig.tabBar.list[e])return"tabbar item not found"}}},Tf="setTabBarItem",If={beforeInvoke:Af.beforeInvoke,formatArgs:u({pagePath(e,t){e&&(t.pagePath=Ve(e))}},Af.formatArgs)},Ef="hideTabBar",Pf="showTabBar",Bf="removeTabBarBadge",Of=Af,Nf="setTabBarBadge",Mf={beforeInvoke:Af.beforeInvoke,formatArgs:u({text(e,t){(function(e=""){return(""+e).replace(/[^\x00-\xff]/g,"**").length})(e)>=4&&(t.text="...")}},Af.formatArgs)},Lf=function(){if("object"==typeof window)if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype)"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});else{var e=function(){for(var e=window.document,t=i(e);t;)t=i(e=t.ownerDocument);return e}(),t=[],n=null,o=null;a.prototype.THROTTLE_TIMEOUT=100,a.prototype.POLL_INTERVAL=null,a.prototype.USE_MUTATION_OBSERVER=!0,a._setupCrossOriginUpdater=function(){return n||(n=function(e,n){o=e&&n?h(e,n):{top:0,bottom:0,left:0,right:0,width:0,height:0},t.forEach(function(e){e._checkForIntersections()})}),n},a._resetCrossOriginUpdater=function(){n=null,o=null},a.prototype.observe=function(e){if(!this._observationTargets.some(function(t){return t.element==e})){if(!e||1!=e.nodeType)throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:e,entry:null}),this._monitorIntersections(e.ownerDocument),this._checkForIntersections()}},a.prototype.unobserve=function(e){this._observationTargets=this._observationTargets.filter(function(t){return t.element!=e}),this._unmonitorIntersections(e.ownerDocument),0==this._observationTargets.length&&this._unregisterInstance()},a.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},a.prototype.takeRecords=function(){var e=this._queuedEntries.slice();return this._queuedEntries=[],e},a.prototype._initThresholds=function(e){var t=e||[0];return Array.isArray(t)||(t=[t]),t.sort().filter(function(e,t,n){if("number"!=typeof e||isNaN(e)||e<0||e>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return e!==n[t-1]})},a.prototype._parseRootMargin=function(e){var t=(e||"0px").split(/\s+/).map(function(e){var t=/^(-?\d*\.?\d+)(px|%)$/.exec(e);if(!t)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(t[1]),unit:t[2]}});return t[1]=t[1]||t[0],t[2]=t[2]||t[0],t[3]=t[3]||t[1],t},a.prototype._monitorIntersections=function(t){var n=t.defaultView;if(n&&-1==this._monitoringDocuments.indexOf(t)){var o=this._checkForIntersections,r=null,a=null;this.POLL_INTERVAL?r=n.setInterval(o,this.POLL_INTERVAL):(s(n,"resize",o,!0),s(t,"scroll",o,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in n&&(a=new n.MutationObserver(o)).observe(t,{attributes:!0,childList:!0,characterData:!0,subtree:!0})),this._monitoringDocuments.push(t),this._monitoringUnsubscribes.push(function(){var e=t.defaultView;e&&(r&&e.clearInterval(r),l(e,"resize",o,!0)),l(t,"scroll",o,!0),a&&a.disconnect()});var c=this.root&&(this.root.ownerDocument||this.root)||e;if(t!=c){var u=i(t);u&&this._monitorIntersections(u.ownerDocument)}}},a.prototype._unmonitorIntersections=function(t){var n=this._monitoringDocuments.indexOf(t);if(-1!=n){var o=this.root&&(this.root.ownerDocument||this.root)||e;if(!this._observationTargets.some(function(e){var n=e.element.ownerDocument;if(n==t)return!0;for(;n&&n!=o;){var r=i(n);if((n=r&&r.ownerDocument)==t)return!0}return!1})){var r=this._monitoringUnsubscribes[n];if(this._monitoringDocuments.splice(n,1),this._monitoringUnsubscribes.splice(n,1),r(),t!=o){var a=i(t);a&&this._unmonitorIntersections(a.ownerDocument)}}}},a.prototype._unmonitorAllIntersections=function(){var e=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0,this._monitoringUnsubscribes.length=0;for(var t=0;t=0&&s>=0&&{top:n,bottom:o,left:i,right:r,width:a,height:s}||null}function u(e){var t;try{t=e.getBoundingClientRect()}catch(n){}return t?(t.width&&t.height||(t={top:t.top,right:t.right,bottom:t.bottom,left:t.left,width:t.right-t.left,height:t.bottom-t.top}),t):{top:0,bottom:0,left:0,right:0,width:0,height:0}}function d(e){return!e||"x"in e?e:{top:e.top,y:e.top,bottom:e.bottom,left:e.left,x:e.left,right:e.right,width:e.width,height:e.height}}function h(e,t){var n=t.top-e.top,o=t.left-e.left;return{top:n,left:o,height:t.height,width:t.width,bottom:n+t.height,right:o+t.width}}function p(e,t){for(var n=t;n;){if(n==e)return!0;n=f(n)}return!1}function f(t){var n=t.parentNode;return 9==t.nodeType&&t!=e?i(t):(n&&n.assignedSlot&&(n=n.assignedSlot.parentNode),n&&11==n.nodeType&&n.host?n.host:n)}function m(e){return e&&9===e.nodeType}};function Rf(e){const{bottom:t,height:n,left:o,right:i,top:r,width:a}=e||{};return{bottom:t,height:n,left:o,right:i,top:r,width:a}}function Df(e){const{intersectionRatio:t,boundingClientRect:{height:n,width:o},intersectionRect:{height:i,width:r}}=e;return 0!==t?t:i===n?r/o:i/n}const zf="",$f={};function Ff(e,t){const n=$f[e];return n?Promise.resolve(n):/^data:[a-z-]+\/[a-z-]+;base64,/.test(e)?Promise.resolve(function(e){const t=e.split(","),n=t[0].match(/:(.*?);/),o=n?n[1]:"",i=atob(t[1]);let r=i.length;const a=new Uint8Array(r);for(;r--;)a[r]=i.charCodeAt(r);return jf(a,o)}(e)):t?Promise.reject(new Error("not find")):new Promise((t,n)=>{const o=new XMLHttpRequest;o.open("GET",e,!0),o.responseType="blob",o.onload=function(){t(this.response)},o.onerror=n,o.send()})}function jf(e,t){let n;if(e instanceof File)n=e;else{t=t||e.type||"";const i=`${Date.now()}${function(e){const t=e.split("/")[1];return t?`.${t}`:""}(t)}`;try{n=new File([e],i,{type:t})}catch(o){n=e=e instanceof Blob?e:new Blob([e],{type:t}),n.name=n.name||i}}return n}function Hf(e){for(const n in $f)if(p($f,n)){if($f[n]===e)return n}var t=(window.URL||window.webkitURL).createObjectURL(e);return $f[t]=e,t}function Vf(e){(window.URL||window.webkitURL).revokeObjectURL(e),delete $f[e]}const Wf=cd(),Uf=cd();const qf=pd({name:"ResizeSensor",props:{initial:{type:Boolean,default:!1}},emits:["resize"],setup(e,{emit:t}){const n=Dn(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),i=function(e,t,n){const o=wn({width:-1,height:-1});return No(()=>u({},o),e=>t("resize",e)),()=>{const t=e.value;o.width=t.offsetWidth,o.height=t.offsetHeight,n()}}(n,t,o);return function(e,t,n,o){ai(o),yi(()=>{t.initial&&no(n);const i=e.value;i.offsetParent!==i.parentElement&&(i.parentElement.style.position="relative"),"AnimationEvent"in window||o()})}(n,e,i,o),()=>Lr("uni-resize-sensor",{ref:n,onAnimationstartOnce:i},[Lr("div",{onScroll:i},[Lr("div",null,null)],40,["onScroll"]),Lr("div",{onScroll:i},[Lr("div",null,null)],40,["onScroll"])],40,["onAnimationstartOnce"])}});const Qf=function(){if(navigator.userAgent.includes("jsdom"))return 1;const e=document.createElement("canvas");e.height=e.width=0;const t=e.getContext("2d"),n=t.backingStorePixelRatio||t.webkitBackingStorePixelRatio||t.mozBackingStorePixelRatio||t.msBackingStorePixelRatio||t.oBackingStorePixelRatio||t.backingStorePixelRatio||1;return(window.devicePixelRatio||1)/n}();function Gf(e,t=!0){const n=t?Qf:1;e.width=e.offsetWidth*n,e.height=e.offsetHeight*n,e.getContext("2d").__hidpi__=t}let Yf=!1;function Xf(){if(Yf)return;Yf=!0;const e={fillRect:"all",clearRect:"all",strokeRect:"all",moveTo:"all",lineTo:"all",arc:[0,1,2],arcTo:"all",bezierCurveTo:"all",isPointinPath:"all",isPointinStroke:"all",quadraticCurveTo:"all",rect:"all",translate:"all",createRadialGradient:"all",createLinearGradient:"all",transform:[4,5],setTransform:[4,5]},t=CanvasRenderingContext2D.prototype;t.drawImageByCanvas=function(e){return function(t,n,o,i,r,a,s,l,c,u){if(!this.__hidpi__)return e.apply(this,arguments);n*=Qf,o*=Qf,i*=Qf,r*=Qf,a*=Qf,s*=Qf,l=u?l*Qf:l,c=u?c*Qf:c,e.call(this,t,n,o,i,r,a,s,l,c)}}(t.drawImage),1!==Qf&&(!function(e,t){for(const n in e)p(e,n)&&t(e[n],n)}(e,function(e,n){t[n]=function(t){return function(){if(!this.__hidpi__)return t.apply(this,arguments);let n=Array.prototype.slice.call(arguments);if("all"===e)n=n.map(function(e){return e*Qf});else if(Array.isArray(e))for(let t=0;tXf());function Jf(e){return e?Id(e):e}function Zf(e){return(e=e.slice(0))[3]=e[3]/255,"rgba("+e.join(",")+")"}function em(e,t){Array.from(t).forEach(t=>{t.x=t.clientX-e.left,t.y=t.clientY-e.top})}let tm;function nm(e=0,t=0){return tm||(tm=document.createElement("canvas")),tm.width=e,tm.height=t,tm}const om=pd({inheritAttrs:!1,name:"Canvas",compatConfig:{MODE:3},props:{canvasId:{type:String,default:""},disableScroll:{type:[Boolean,String],default:!1},hidpi:{type:Boolean,default:!0}},computed:{id(){return this.canvasId}},setup(e,{emit:t,slots:n}){Kf();const o=Dn(null),i=Dn(null),r=Dn(null),a=Dn(!1),s=function(e){return(t,n)=>{e(t,Qu(n))}}(t),{$attrs:l,$excludeAttrs:c,$listeners:d}=Wm({excludeListeners:!0}),{_listeners:h}=function(e,t,n){const o=ra(()=>{let o=["onTouchstart","onTouchmove","onTouchend"],i=t.value,r=u({},(()=>{let e={};for(const t in i)if(p(i,t)){const n=i[t];e[t]=n}return e})());return o.forEach(t=>{let o=[];r[t]&&o.push(md(e=>{const o=e.currentTarget.getBoundingClientRect();em(o,e.touches),em(o,e.changedTouches),n(t.replace("on","").toLocaleLowerCase(),e)})),e.disableScroll&&"onTouchmove"===t&&o.push(pu),r[t]=o}),r});return{_listeners:o}}(e,d,s),{_handleSubscribe:f,_resize:m}=function(e,t,n){let o=[],i={};const r=ra(()=>e.hidpi?Qf:1);function a(n){let o=t.value;if(!n||o.width!==Math.floor(n.width*r.value)||o.height!==Math.floor(n.height*r.value))if(o.width>0&&o.height>0){let t=o.getContext("2d"),n=t.getImageData(0,0,o.width,o.height);Gf(o,e.hidpi),t.putImageData(n,0,0)}else Gf(o,e.hidpi)}function s({actions:e,reserve:r},a){if(!e)return;if(n.value)return void o.push([e,r]);let s=t.value,u=s.getContext("2d");r||(u.fillStyle="#000000",u.strokeStyle="#000000",u.shadowColor="#000000",u.shadowBlur=0,u.shadowOffsetX=0,u.shadowOffsetY=0,u.setTransform(1,0,0,1,0,0),u.clearRect(0,0,s.width,s.height)),l(e);for(let t=0;t{e.src=t}).catch(()=>{e.src=o})}"drawImage"===t?(o=n[0],o=Jf(o),n[0]=o):"setFillStyle"===t&&"pattern"===n[0]&&(o=n[1],o=Jf(o),n[1]=o),o&&!i[o]&&r()})}function c(e,t,r,a){let l=i[e];return l.ready?(a(l),!0):(o.unshift([t,!0]),n.value=!0,l.onload=function(){l.ready=!0,a(l),n.value=!1;let e=o.slice(0);o=[];for(let t=e.shift();t;)s({actions:t[0],reserve:t[1]},r),t=e.shift()},!1)}function d({x:e=0,y:n=0,width:o,height:i,destWidth:a,destHeight:s,hidpi:l=!0,dataType:c,quality:u=1,type:d="png"},h){const p=t.value;let f;const m=p.offsetWidth-e;o=o?Math.min(o,m):m;const g=p.offsetHeight-n;i=i?Math.min(i,g):g,l?(a=o,s=i):a||s?a?s||(s=Math.round(i/o*a)):a=Math.round(o/i*s):(a=Math.round(o*r.value),s=Math.round(i*r.value));const y=nm(a,s),b=y.getContext("2d");let v;"jpeg"!==d&&"jpg"!==d||(d="jpeg",b.fillStyle="#fff",b.fillRect(0,0,a,s)),b.__hidpi__=!0,b.drawImageByCanvas(p,e,n,o,i,0,0,a,s,!1);try{let e;if("base64"===c)f=y.toDataURL(`image/${d}`,u);else{const e=b.getImageData(0,0,a,s);f=Array.prototype.slice.call(e.data)}v={data:f,compressed:e,width:a,height:s}}catch(_){v={errMsg:`canvasGetImageData:fail ${_}`}}if(y.height=y.width=0,b.__hidpi__=!1,!h)return v;h(v)}function h({data:e,x:n,y:o,width:i,height:r,compressed:a},s){try{0,r||(r=Math.round(e.length/4/i));const a=nm(i,r);a.getContext("2d").putImageData(new ImageData(new Uint8ClampedArray(e),i,r),0,0),t.value.getContext("2d").drawImage(a,n,o,i,r),a.height=a.width=0}catch(l){return void s({errMsg:"canvasPutImageData:fail"})}s({errMsg:"canvasPutImageData:ok"})}function p({x:e=0,y:t=0,width:n,height:o,destWidth:i,destHeight:r,fileType:a,quality:s,dirname:l},c){const u=d({x:e,y:t,width:n,height:o,destWidth:i,destHeight:r,hidpi:!1,dataType:"base64",type:a,quality:s});var h;u.data&&u.data.length?(h=u.data,((e,t)=>{let n="toTempFilePath:"+(e?"fail":"ok");e&&(n+=` ${e.message}`),c({errMsg:n,tempFilePath:t})})(null,h)):c({errMsg:u.errMsg.replace("canvasPutImageData","toTempFilePath")})}const f={actionsChanged:s,getImageData:d,putImageData:h,toTempFilePath:p};function m(e,t,n){let o=f[e];0!==e.indexOf("_")&&b(o)&&o(t,n)}return u(f,{_resize:a,_handleSubscribe:m})}(e,i,a);return Kg(f,Zg(e.canvasId),!0),yi(()=>{m()}),()=>{const{canvasId:t,disableScroll:a}=e;return Lr("uni-canvas",Hr({ref:o,"canvas-id":t,"disable-scroll":a},l.value,c.value,h.value),[Lr("canvas",{ref:i,class:"uni-canvas-canvas",width:"300",height:"150"},null,512),Lr("div",{style:"position: absolute;top: 0;left: 0;width: 100%;height: 100%;overflow: hidden;"},[n.default&&n.default()]),Lr(qf,{ref:r,onResize:m},null,8,["onResize"])],16,["canvas-id","disable-scroll"])}}});const im=_u("ucg"),rm=pd({name:"Checkbox",props:{checked:{type:[Boolean,String],default:!1},id:{type:String,default:""},disabled:{type:[Boolean,String],default:!1},value:{type:String,default:""},color:{type:String,default:"#007aff"},backgroundColor:{type:String,default:""},borderColor:{type:String,default:""},activeBackgroundColor:{type:String,default:""},activeBorderColor:{type:String,default:""},iconColor:{type:String,default:""}},setup(e,{slots:t}){const n=Dn(null),o=Dn(e.checked),i=ra(()=>"true"===o.value||!0===o.value),r=Dn(e.value);const a=ra(()=>function(t){if(e.disabled)return{backgroundColor:"#E1E1E1",borderColor:"#D1D1D1"};const n={};return t?(e.activeBorderColor&&(n.borderColor=e.activeBorderColor),e.activeBackgroundColor&&(n.backgroundColor=e.activeBackgroundColor)):(e.borderColor&&(n.borderColor=e.borderColor),e.backgroundColor&&(n.backgroundColor=e.backgroundColor)),n}(i.value));No([()=>e.checked,()=>e.value],([e,t])=>{o.value=e,r.value=t});const{uniCheckGroup:s,uniLabel:l}=function(e,t,n){const o=ra(()=>({checkboxChecked:Boolean(e.value),value:t.value})),i={reset:n},r=Ki(im,!1);r&&r.addField(o);const a=Ki(_d,!1);a&&a.addField(i);const s=Ki(wd,!1);return _i(()=>{r&&r.removeField(o),a&&a.removeField(i)}),{uniCheckGroup:r,uniForm:a,uniLabel:s}}(o,r,()=>{o.value=!1}),c=t=>{e.disabled||(o.value=!o.value,s&&s.checkboxChange(t),t.stopPropagation())};return l&&(l.addHandler(c),_i(()=>{l.removeHandler(c)})),xd(e,{"label-click":c}),()=>{const i=vd(e,"disabled");let r;return r=o.value,Lr("uni-checkbox",Hr(i,{id:e.id,onClick:c,ref:n}),[Lr("div",{class:"uni-checkbox-wrapper",style:{"--HOVER-BD-COLOR":e.activeBorderColor}},[Lr("div",{class:["uni-checkbox-input",{"uni-checkbox-input-disabled":e.disabled}],style:a.value},[r?Au(Su,e.disabled?"#ADADAD":e.iconColor||e.color,22):""],6),t.default&&t.default()],4)],16,["id","onClick"])}}});function am(){}const sm={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 lm(e,t,n){function o(e){const t=ra(()=>0===String(navigator.vendor).indexOf("Apple"));e.addEventListener("focus",()=>{clearTimeout(undefined),document.addEventListener("click",am,!1)});e.addEventListener("blur",()=>{t.value&&e.blur(),document.removeEventListener("click",am,!1),t.value&&document.documentElement.scrollTo(document.documentElement.scrollLeft,document.documentElement.scrollTop)})}No(()=>t.value,e=>e&&o(e))}var cm=/^<([-A-Za-z0-9_]+)((?:\s+[a-zA-Z_:][-a-zA-Z0-9_:.]*(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)>/,um=/^<\/([-A-Za-z0-9_]+)[^>]*>/,dm=/([a-zA-Z_:][-a-zA-Z0-9_:.]*)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|([^>\s]+)))?/g,hm=bm("area,base,basefont,br,col,frame,hr,img,input,link,meta,param,embed,command,keygen,source,track,wbr"),pm=bm("a,address,article,applet,aside,audio,blockquote,button,canvas,center,dd,del,dir,div,dl,dt,fieldset,figcaption,figure,footer,form,frameset,h1,h2,h3,h4,h5,h6,header,hgroup,hr,iframe,isindex,li,map,menu,noframes,noscript,object,ol,output,p,pre,section,script,table,tbody,td,tfoot,th,thead,tr,ul,video"),fm=bm("abbr,acronym,applet,b,basefont,bdo,big,br,button,cite,code,del,dfn,em,font,i,iframe,img,input,ins,kbd,label,map,object,q,s,samp,script,select,small,span,strike,strong,sub,sup,textarea,tt,u,var"),mm=bm("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr"),gm=bm("checked,compact,declare,defer,disabled,ismap,multiple,nohref,noresize,noshade,nowrap,readonly,selected"),ym=bm("script,style");function bm(e){for(var t={},n=e.split(","),o=0;oe/t],heightFix:["offsetHeight","width",(e,t)=>e*t]},wm={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"]},xm=pd({name:"Image",props:vm,setup(e,{emit:t}){const n=Dn(null),o=function(e,t){const n=Dn(""),o=ra(()=>{let e="auto",o="";const i=wm[t.mode];return i?(i[0]&&(o=i[0]),i[1]&&(e=i[1])):(o="0% 0%",e="100% 100%"),`background-image:${n.value?'url("'+n.value+'")':"none"};background-position:${o};background-size:${e};`}),i=wn({rootEl:e,src:ra(()=>t.src?Id(t.src):""),origWidth:0,origHeight:0,origStyle:{width:"",height:""},modeStyle:o,imgSrc:n});return yi(()=>{const t=e.value.style;i.origWidth=Number(t.width)||0,i.origHeight=Number(t.height)||0}),i}(n,e),i=gd(n,t),{fixSize:r}=function(e,t,n){const o=()=>{const{mode:o}=t,i=_m[o];if(!i)return;const{origWidth:r,origHeight:a}=n,s=r&&a?r/a:0;if(!s)return;const l=e.value,c=l[i[0]];c&&(l.style[i[1]]=function(e){Sm&&e>10&&(e=2*Math.round(e/2));return e}(i[2](c,s))+"px")},i=()=>{const{style:t}=e.value,{origStyle:{width:o,height:i}}=n;t.width=o,t.height=i};return No(()=>t.mode,(e,t)=>{_m[t]&&i(),_m[e]&&o()}),{fixSize:o,resetSize:i}}(n,e,o);return function(e,t,n,o,i){let r,a;const s=(t=0,n=0,o="")=>{e.origWidth=t,e.origHeight=n,e.imgSrc=o},l=l=>{if(!l)return c(),void s();r=r||new Image,r.onload=e=>{const{width:u,height:d}=r;s(u,d,l),o(),r.draggable=t.draggable,a&&a.remove(),a=r,n.value.appendChild(r),c(),i("load",e,{width:u,height:d})},r.onerror=t=>{s(),c(),i("error",t,{errMsg:`GET ${e.src} 404 (Not Found)`})},r.src=l},c=()=>{r&&(r.onload=null,r.onerror=null,r=null)};No(()=>e.src,e=>l(e)),No(()=>e.imgSrc,e=>{!e&&a&&(a.remove(),a=null)}),yi(()=>l(e.src)),_i(()=>c())}(o,e,n,r,i),()=>Lr("uni-image",{ref:n},[Lr("div",{style:o.modeStyle},null,4),_m[e.mode]?Lr(qf,{onResize:r},null,8,["onResize"]):Lr("span",null,null)],512)}});const Sm="Google Inc."===navigator.vendor;const km=Xe(!0),Cm=[];let Am,Tm=0;const Im=e=>Cm.forEach(t=>t.userAction=e);function Em(e={userAction:!1}){if(!Am){["touchstart","touchmove","touchend","mousedown","mouseup"].forEach(e=>{document.addEventListener(e,function(){!Tm&&Im(!0),Tm++,setTimeout(()=>{! --Tm&&Im(!1)},0)},km)}),Am=!0}Cm.push(e)}const Pm=()=>!!Tm;function Bm(){const e=wn({userAction:!1});return yi(()=>{Em(e)}),_i(()=>{!function(e){const t=Cm.indexOf(e);t>=0&&Cm.splice(t,1)}(e)}),{state:e}}function Om(){const e=wn({attrs:{}});return yi(()=>{let t=Qr();for(;t;){const n=t.type.__scopeId;n&&(e.attrs[n]=""),t=t.proxy&&"page"===t.proxy.$mpType?null:t.parent}}),{state:e}}function Nm(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)}function Mm(e,t,n){"number"===t&&isNaN(Number(e))&&(e="");const o=null===e?"":String(e);return null==n?o:o.slice(0,n)}const Lm=["none","text","decimal","numeric","tel","search","email","url"],Rm=u({},{name:{type:String,default:""},modelValue:{type:[String,Number],default:""},value:{type:[String,Number],default:""},disabled:{type:[Boolean,String],default:!1},autoFocus:{type:[Boolean,String],default:!1},focus:{type:[Boolean,String],default:!1},cursor:{type:[Number,String],default:-1},selectionStart:{type:[Number,String],default:-1},selectionEnd:{type:[Number,String],default:-1},type:{type:String,default:"text"},password:{type:[Boolean,String],default:!1},placeholder:{type:String,default:""},placeholderStyle:{type:String,default:""},placeholderClass:{type:String,default:""},maxlength:{type:[Number,String],default:140},confirmType:{type:String,default:"done"},confirmHold:{type:Boolean,default:!1},ignoreCompositionEvent:{type:Boolean,default:!0},step:{type:String,default:"0.000000000000000001"},inputmode:{type:String,default:void 0,validator:e=>!!~Lm.indexOf(e)},cursorColor:{type:String,default:""}},sm),Dm=["input","focus","blur","update:value","update:modelValue","update:focus","compositionstart","compositionupdate","compositionend","keyboardheightchange"];function zm(e,t,n,o){const i=nt(n=>{t.value=Mm(n,e.type)},100,{setTimeout:setTimeout,clearTimeout:clearTimeout});No(()=>e.modelValue,i),No(()=>e.value,i);const r=function(e,t){let n,o,i=0;const r=function(...r){const a=Date.now();clearTimeout(n),o=()=>{o=null,i=a,e.apply(this,r)},a-i{i.cancel(),n("update:modelValue",t.value),n("update:value",t.value),o("input",e,t)},100);return gi(()=>{i.cancel(),r.cancel()}),{trigger:o,triggerInput:(e,t,n)=>{i.cancel(),r(e,t),n&&r.flush()}}}function $m(e,t){Bm();const n=ra(()=>e.autoFocus||e.focus);function o(){if(!n.value)return;const e=t.value;e?e.focus():setTimeout(o,100)}No(()=>e.focus,e=>{e?o():function(){const e=t.value;e&&e.blur()}()}),yi(()=>{n.value&&no(o)})}function Fm(e,t,n,o){Vc(Bu(),"getSelectedTextRange",Nm);const{fieldRef:i,state:r,trigger:a}=function(e,t,n){const o=Dn(null),i=gd(t,n),r=ra(()=>{const t=Number(e.selectionStart);return isNaN(t)?-1:t}),a=ra(()=>{const t=Number(e.selectionEnd);return isNaN(t)?-1:t}),s=ra(()=>{const t=Number(e.cursor);return isNaN(t)?-1:t}),l=ra(()=>{var t=Number(e.maxlength);return isNaN(t)?140:t}),c=Mm(e.modelValue,e.type)||Mm(e.value,e.type),u=wn({value:c,valueOrigin:c,maxlength:l,focus:e.focus,composing:!1,selectionStart:r,selectionEnd:a,cursor:s});return No(()=>u.focus,e=>n("update:focus",e)),No(()=>u.maxlength,e=>u.value=u.value.slice(0,e),{immediate:!1}),{fieldRef:o,state:u,trigger:i}}(e,t,n),{triggerInput:s}=zm(e,r,n,a);$m(e,i),lm(0,i);const{state:l}=Om();!function(e,t){const n=Ki(_d,!1);if(!n)return;const o=Qr(),i={submit(){const n=o.proxy;return[n[e],v(t)?n[t]:t.value]},reset(){v(t)?o.proxy[t]="":t.value=""}};n.addField(i),_i(()=>{n.removeField(i)})}("name",r),function(e,t,n,o,i,r){function a(){const n=e.value;n&&t.focus&&t.selectionStart>-1&&t.selectionEnd>-1&&"number"!==n.type&&(n.selectionStart=t.selectionStart,n.selectionEnd=t.selectionEnd)}function s(){const n=e.value;n&&t.focus&&t.selectionStart<0&&t.selectionEnd<0&&t.cursor>-1&&"number"!==n.type&&(n.selectionEnd=n.selectionStart=t.cursor)}function l(e){return"number"===e.type?null:e.selectionEnd}No([()=>t.selectionStart,()=>t.selectionEnd],a),No(()=>t.cursor,s),No(()=>e.value,function(){const c=e.value;if(!c)return;const u=function(e,o){e.stopPropagation(),b(r)&&!1===r(e,t)||(t.value=c.value,t.composing&&n.ignoreCompositionEvent||i(e,{value:c.value,cursor:l(c)},o))};function d(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}),a(),s()}),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,d(e)}),c.addEventListener("compositionend",e=>{e.stopPropagation(),t.composing&&(t.composing=!1,u(e)),d(e)}),c.addEventListener("compositionupdate",d)})}(i,r,e,a,s,o);return{fieldRef:i,state:r,scopedAttrsState:l,fixDisabledColor:0===String(navigator.vendor).indexOf("Apple")&&CSS.supports("image-orientation:from-image"),trigger:a}}const jm=pd({name:"Input",props:u({},Rm,{placeholderClass:{type:String,default:"input-placeholder"},textContentType:{type:String,default:""}}),emits:["confirm",...Dm],setup(e,{emit:t,expose:n}){const o=["text","number","idcard","digit","password","tel"],i=["off","one-time-code"],r=ra(()=>{let t="";switch(e.type){case"text":"search"===e.confirmType&&(t="search");break;case"idcard":t="text";break;case"digit":t="number";break;default:t=~o.includes(e.type)?e.type:"text"}return e.password?"password":t}),a=ra(()=>{const t=i.indexOf(e.textContentType),n=i.indexOf(O(e.textContentType));return i[-1!==t?t:-1!==n?n:0]});let s,l=Dn("");const c=Dn(null),{fieldRef:u,state:d,scopedAttrsState:h,fixDisabledColor:p,trigger:f}=Fm(e,c,t,(e,t)=>{const n=e.target;if("number"===r.value){if(s&&(n.removeEventListener("blur",s),s=null),n.validity&&!n.validity.valid){if((!l.value||!n.value)&&"-"===e.data||"-"===l.value[0]&&"deleteContentBackward"===e.inputType)return l.value="-",t.value="",s=()=>{l.value=n.value=""},n.addEventListener("blur",s),!1;if(l.value)if(-1!==l.value.indexOf(".")){if("."!==e.data&&"deleteContentBackward"===e.inputType){const e=l.value.indexOf(".");return l.value=n.value=t.value=l.value.slice(0,e),!0}}else if("."===e.data)return l.value+=".",s=()=>{l.value=n.value=l.value.slice(0,-1)},n.addEventListener("blur",s),!1;return l.value=t.value=n.value="-"===l.value?"":l.value,!1}l.value=n.value;const o=t.maxlength;if(o>0&&n.value.length>o)return n.value=n.value.slice(0,o),t.value=n.value,!1}});No(()=>d.value,t=>{"number"!==e.type||"-"===l.value&&""===t||(l.value=t)});const m=["number","digit"],g=ra(()=>m.includes(e.type)?e.step:"");function y(t){if("Enter"!==t.key)return;const n=t.target;t.stopPropagation(),f("confirm",t,{value:n.value}),!e.confirmHold&&n.blur()}return n({$triggerInput:e=>{t("update:modelValue",e.value),t("update:value",e.value),d.value=e.value}}),()=>{let t=e.disabled&&p?Lr("input",{key:"disabled-input",ref:u,value:d.value,tabindex:"-1",readonly:!!e.disabled,type:r.value,maxlength:d.maxlength,step:g.value,class:"uni-input-input",style:e.cursorColor?{caretColor:e.cursorColor}:{},onFocus:e=>e.target.blur()},null,44,["value","readonly","type","maxlength","step","onFocus"]):zo(Lr("input",{key:"input",ref:u,"onUpdate:modelValue":e=>d.value=e,disabled:!!e.disabled,type:r.value,maxlength:d.maxlength,step:g.value,enterkeyhint:e.confirmType,pattern:"number"===e.type?"[0-9]*":void 0,class:"uni-input-input",style:e.cursorColor?{caretColor:e.cursorColor}:{},autocomplete:a.value,onKeyup:y,inputmode:e.inputmode},null,44,["onUpdate:modelValue","disabled","type","maxlength","step","enterkeyhint","pattern","autocomplete","onKeyup","inputmode"]),[[ms,d.value]]);return Lr("uni-input",{ref:c},[Lr("div",{class:"uni-input-wrapper"},[zo(Lr("div",Hr(h.attrs,{style:e.placeholderStyle,class:["uni-input-placeholder",e.placeholderClass]}),[e.placeholder],16),[[Ia,!(d.value.length||"-"===l.value)]]),"search"===e.confirmType?Lr("form",{action:"",onSubmit:e=>e.preventDefault(),class:"uni-input-form"},[t],40,["onSubmit"]):t])],512)}}});const Hm=["class","style"],Vm=/^on[A-Z]+/,Wm=(e={})=>{const{excludeListeners:t=!1,excludeKeys:n=[]}=e,o=Qr(),i=zn({}),r=zn({}),a=zn({}),s=n.concat(Hm);return o.attrs=wn(o.attrs),Bo(()=>{const e=(n=o.attrs,Object.keys(n).map(e=>[e,n[e]])).reduce((e,[n,o])=>(s.includes(n)?e.exclude[n]=o:Vm.test(n)?(t||(e.attrs[n]=o),e.listeners[n]=o):e.attrs[n]=o,e),{exclude:{},attrs:{},listeners:{}});var n;i.value=e.attrs,r.value=e.listeners,a.value=e.exclude}),{$attrs:i,$listeners:r,$excludeAttrs:a}};function Um(e){const t=[];return f(e)&&e.forEach(e=>{Er(e)?e.type===yr?t.push(...Um(e.children)):t.push(e):f(e)&&t.push(...Um(e))}),t}const qm=pd({inheritAttrs:!1,name:"MovableArea",props:{scaleArea:{type:Boolean,default:!1}},setup(e,{slots:t}){const n=Dn(null),o=Dn(!1);let{setContexts:i,events:r}=function(e,t){const n=Dn(0),o=Dn(0),i=wn({x:null,y:null}),r=Dn(null);let a=null,s=[];function l(t){t&&1!==t&&(e.scaleArea?s.forEach(function(e){e._setScale(t)}):a&&a._setScale(t))}function c(e,n=s){let o=t.value;function i(e){for(let t=0;t{let n=t.touches;if(n&&n.length>1){let t={x:n[1].pageX-n[0].pageX,y:n[1].pageY-n[0].pageY};if(r.value=Qm(t),i.x=t.x,i.y=t.y,!e.scaleArea){let e=c(n[0].target),t=c(n[1].target);a=e&&e===t?e:null}}}),d=md(e=>{let t=e.touches;if(t&&t.length>1){e.preventDefault();let n={x:t[1].pageX-t[0].pageX,y:t[1].pageY-t[0].pageY};if(null!==i.x&&r.value&&r.value>0){l(Qm(n)/r.value)}i.x=n.x,i.y=n.y}}),h=md(t=>{let n=t.touches;n&&n.length||t.changedTouches&&(i.x=0,i.y=0,r.value=null,e.scaleArea?s.forEach(function(e){e._endScale()}):a&&a._endScale())});function p(){f(),s.forEach(function(e,t){e.setParent()})}function f(){let e=window.getComputedStyle(t.value),i=t.value.getBoundingClientRect();n.value=i.width-["Left","Right"].reduce(function(t,n){const o="padding"+n;return t+parseFloat(e["border"+n+"Width"])+parseFloat(e[o])},0),o.value=i.height-["Top","Bottom"].reduce(function(t,n){const o="padding"+n;return t+parseFloat(e["border"+n+"Width"])+parseFloat(e[o])},0)}return Xi("movableAreaWidth",n),Xi("movableAreaHeight",o),{setContexts(e){s=e},events:{_onTouchstart:u,_onTouchmove:d,_onTouchend:h,_resize:p}}}(e,n);const{$listeners:a,$attrs:s,$excludeAttrs:l}=Wm(),c=a.value;["onTouchstart","onTouchmove","onTouchend"].forEach(e=>{let t=c[e],n=r[`_${e}`];c[e]=t?[].concat(t,n):n}),yi(()=>{r._resize(),o.value=!0});let u=[];const d=[];function h(){const e=[];for(let t=0;tn===e.rootRef.value);o&&e.push(Pn(o))}i(e)}return Xi("_isMounted",o),Xi("movableAreaRootRef",n),Xi("addMovableViewContext",e=>{d.push(e),h()}),Xi("removeMovableViewContext",e=>{const t=d.indexOf(e);t>=0&&(d.splice(t,1),h())}),()=>{const e=t.default&&t.default();return u=Um(e),Lr("uni-movable-area",Hr({ref:n},s.value,l.value,c),[Lr(qf,{onResize:r._resize},null,8,["onResize"]),u],16)}}});function Qm(e){return Math.sqrt(e.x*e.x+e.y*e.y)}const Gm=function(e,t,n,o){e.addEventListener(t,e=>{b(n)&&!1===n(e)&&((void 0===e.cancelable||e.cancelable)&&e.preventDefault(),e.stopPropagation())},{passive:!1})};let Ym,Xm;function Km(e,t,n){_i(()=>{document.removeEventListener("mousemove",Ym),document.removeEventListener("mouseup",Xm)});let o=0,i=0,r=0,a=0;const s=function(e,n,s,l){if(!1===t({cancelable:e.cancelable,target:e.target,currentTarget:e.currentTarget,preventDefault:e.preventDefault.bind(e),stopPropagation:e.stopPropagation.bind(e),touches:e.touches,changedTouches:e.changedTouches,detail:{state:n,x:s,y:l,dx:s-o,dy:l-i,ddx:s-r,ddy:l-a,timeStamp:e.timeStamp}}))return!1};let l,c,u=null;Gm(e,"touchstart",function(e){if(l=!0,1===e.touches.length&&!u)return u=e,o=r=e.touches[0].pageX,i=a=e.touches[0].pageY,s(e,"start",o,i)}),Gm(e,"mousedown",function(e){if(c=!0,!l&&!u)return u=e,o=r=e.pageX,i=a=e.pageY,s(e,"start",o,i)}),Gm(e,"touchmove",function(e){if(1===e.touches.length&&u){const t=s(e,"move",e.touches[0].pageX,e.touches[0].pageY);return r=e.touches[0].pageX,a=e.touches[0].pageY,t}});const d=Ym=function(e){if(!l&&c&&u){const t=s(e,"move",e.pageX,e.pageY);return r=e.pageX,a=e.pageY,t}};document.addEventListener("mousemove",d),Gm(e,"touchend",function(e){if(0===e.touches.length&&u)return l=!1,u=null,s(e,"end",e.changedTouches[0].pageX,e.changedTouches[0].pageY)});const h=Xm=function(e){if(c=!1,!l&&u)return u=null,s(e,"end",e.pageX,e.pageY)};document.addEventListener("mouseup",h),Gm(e,"touchcancel",function(e){if(u){l=!1;const t=u;return u=null,s(e,n?"cancel":"end",t.touches[0].pageX,t.touches[0].pageY)}})}function Jm(e,t,n){return e>t-n&&ethis._t&&(e=this._t,this._lastDt=e);let t=this._x_v*e+.5*this._x_a*Math.pow(e,2)+this._x_s,n=this._y_v*e+.5*this._y_a*Math.pow(e,2)+this._y_s;return(this._x_a>0&&tthis._endPositionX)&&(t=this._endPositionX),(this._y_a>0&&nthis._endPositionY)&&(n=this._endPositionY),{x:t,y:n}},tg.prototype.ds=function(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),e>this._t&&(e=this._t),{dx:this._x_v+this._x_a*e,dy:this._y_v+this._y_a*e}},tg.prototype.delta=function(){return{x:-1.5*Math.pow(this._x_v,2)/this._x_a||0,y:-1.5*Math.pow(this._y_v,2)/this._y_a||0}},tg.prototype.dt=function(){return-this._x_v/this._x_a},tg.prototype.done=function(){const e=Jm(this.s().x,this._endPositionX)||Jm(this.s().y,this._endPositionY)||this._lastDt===this._t;return this._lastDt=null,e},tg.prototype.setEnd=function(e,t){this._endPositionX=e,this._endPositionY=t},tg.prototype.reconfigure=function(e,t){this._m=e,this._f=1e3*t},ng.prototype._solve=function(e,t){const n=this._c,o=this._m,i=this._k,r=n*n-4*o*i;if(0===r){const i=-n/(2*o),r=e,a=t/(i*e);return{x:function(e){return(r+a*e)*Math.pow(Math.E,i*e)},dx:function(e){const t=Math.pow(Math.E,i*e);return i*(r+a*e)*t+a*t}}}if(r>0){const i=(-n-Math.sqrt(r))/(2*o),a=(-n+Math.sqrt(r))/(2*o),s=(t-i*e)/(a-i),l=e-s;return{x:function(e){let t,n;return e===this._t&&(t=this._powER1T,n=this._powER2T),this._t=e,t||(t=this._powER1T=Math.pow(Math.E,i*e)),n||(n=this._powER2T=Math.pow(Math.E,a*e)),l*t+s*n},dx:function(e){let t,n;return e===this._t&&(t=this._powER1T,n=this._powER2T),this._t=e,t||(t=this._powER1T=Math.pow(Math.E,i*e)),n||(n=this._powER2T=Math.pow(Math.E,a*e)),l*i*t+s*a*n}}}const a=Math.sqrt(4*o*i-n*n)/(2*o),s=-n/2*o,l=e,c=(t-s*e)/a;return{x:function(e){return Math.pow(Math.E,s*e)*(l*Math.cos(a*e)+c*Math.sin(a*e))},dx:function(e){const t=Math.pow(Math.E,s*e),n=Math.cos(a*e),o=Math.sin(a*e);return t*(c*a*n-l*a*o)+s*t*(c*o+l*n)}}},ng.prototype.x=function(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._endPosition+this._solution.x(e):0},ng.prototype.dx=function(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._solution.dx(e):0},ng.prototype.setEnd=function(e,t,n){if(n||(n=(new Date).getTime()),e!==this._endPosition||!Zm(t,.1)){t=t||0;let o=this._endPosition;this._solution&&(Zm(t,.1)&&(t=this._solution.dx((n-this._startTime)/1e3)),o=this._solution.x((n-this._startTime)/1e3),Zm(t,.1)&&(t=0),Zm(o,.1)&&(o=0),o+=this._endPosition),this._solution&&Zm(o-e,.1)&&Zm(t,.1)||(this._endPosition=e,this._solution=this._solve(o-this._endPosition,t),this._startTime=n)}},ng.prototype.snap=function(e){this._startTime=(new Date).getTime(),this._endPosition=e,this._solution={x:function(){return 0},dx:function(){return 0}}},ng.prototype.done=function(e){return e||(e=(new Date).getTime()),Jm(this.x(),this._endPosition,.1)&&Zm(this.dx(),.1)},ng.prototype.reconfigure=function(e,t,n){this._m=e,this._k=t,this._c=n,this.done()||(this._solution=this._solve(this.x()-this._endPosition,this.dx()),this._startTime=(new Date).getTime())},ng.prototype.springConstant=function(){return this._k},ng.prototype.damping=function(){return this._c},ng.prototype.configuration=function(){return[{label:"Spring Constant",read:this.springConstant.bind(this),write:function(e,t){e.reconfigure(1,t,e.damping())}.bind(this,this),min:100,max:1e3},{label:"Damping",read:this.damping.bind(this),write:function(e,t){e.reconfigure(1,e.springConstant(),t)}.bind(this,this),min:1,max:500}]},og.prototype.setEnd=function(e,t,n,o){const i=(new Date).getTime();this._springX.setEnd(e,o,i),this._springY.setEnd(t,o,i),this._springScale.setEnd(n,o,i),this._startTime=i},og.prototype.x=function(){const e=((new Date).getTime()-this._startTime)/1e3;return{x:this._springX.x(e),y:this._springY.x(e),scale:this._springScale.x(e)}},og.prototype.done=function(){const e=(new Date).getTime();return this._springX.done(e)&&this._springY.done(e)&&this._springScale.done(e)},og.prototype.reconfigure=function(e,t,n){this._springX.reconfigure(e,t,n),this._springY.reconfigure(e,t,n),this._springScale.reconfigure(e,t,n)};function ig(e,t){return+((1e3*e-1e3*t)/1e3).toFixed(1)}const rg=pd({name:"MovableView",props:{direction:{type:String,default:"none"},inertia:{type:[Boolean,String],default:!1},outOfBounds:{type:[Boolean,String],default:!1},x:{type:[Number,String],default:0},y:{type:[Number,String],default:0},damping:{type:[Number,String],default:20},friction:{type:[Number,String],default:2},disabled:{type:[Boolean,String],default:!1},scale:{type:[Boolean,String],default:!1},scaleMin:{type:[Number,String],default:.5},scaleMax:{type:[Number,String],default:10},scaleValue:{type:[Number,String],default:1},animation:{type:[Boolean,String],default:!0}},emits:["change","scale"],setup(e,{slots:t,emit:n}){const o=Dn(null),i=gd(o,n),{setParent:r}=function(e,t,n){const o=Ki("_isMounted",Dn(!1)),i=Ki("addMovableViewContext",()=>{}),r=Ki("removeMovableViewContext",()=>{});let a,s,l=Dn(1),c=Dn(1),u=Dn(!1),d=Dn(0),h=Dn(0),p=null,f=null,m=!1,g=null,y=null;const b=new eg,v=new eg,_={historyX:[0,0],historyY:[0,0],historyT:[0,0]},w=ra(()=>{let t=Number(e.friction);return isNaN(t)||t<=0?2:t}),x=new tg(1,w.value);No(()=>e.disabled,()=>{U()});const{_updateOldScale:S,_endScale:k,_setScale:C,scaleValueSync:A,_updateBoundary:T,_updateOffset:I,_updateWH:E,_scaleOffset:P,minX:B,minY:O,maxX:N,maxY:M,FAandSFACancel:L,_getLimitXY:R,_setTransform:D,_revise:z,dampingNumber:$,xMove:F,yMove:j,xSync:H,ySync:V,_STD:W}=function(e,t,n,o,i,r,a,s,l,c){const u=ra(()=>{let t=Number(e.scaleMin);return isNaN(t)?.5:t}),d=ra(()=>{let t=Number(e.scaleMax);return isNaN(t)?10:t}),h=Dn(Number(e.scaleValue)||1);No(h,e=>{D(e)}),No(u,()=>{R()}),No(d,()=>{R()}),No(()=>e.scaleValue,e=>{h.value=Number(e)||0});const{_updateBoundary:p,_updateOffset:f,_updateWH:m,_scaleOffset:g,minX:y,minY:b,maxX:v,maxY:_}=function(e,t,n){const o=Ki("movableAreaWidth",Dn(0)),i=Ki("movableAreaHeight",Dn(0)),r=Ki("movableAreaRootRef"),a={x:0,y:0},s={x:0,y:0},l=Dn(0),c=Dn(0),u=Dn(0),d=Dn(0),h=Dn(0),p=Dn(0);function f(){let e=0-a.x+s.x,t=o.value-l.value-a.x-s.x;u.value=Math.min(e,t),h.value=Math.max(e,t);let n=0-a.y+s.y,r=i.value-c.value-a.y-s.y;d.value=Math.min(n,r),p.value=Math.max(n,r)}function m(){a.x=lg(e.value,r.value),a.y=cg(e.value,r.value)}function g(o){o=o||t.value,o=n(o);let i=e.value.getBoundingClientRect();c.value=i.height/t.value,l.value=i.width/t.value;let r=c.value*o,a=l.value*o;s.x=(a-l.value)/2,s.y=(r-c.value)/2}return{_updateBoundary:f,_updateOffset:m,_updateWH:g,_scaleOffset:s,minX:u,minY:d,maxX:h,maxY:p}}(t,o,L),{FAandSFACancel:w,_getLimitXY:x,_animationTo:S,_setTransform:k,_revise:C,dampingNumber:A,xMove:T,yMove:I,xSync:E,ySync:P,_STD:B}=function(e,t,n,o,i,r,a,s,l,c,u,d,h,p){const f=ra(()=>{let e=Number(t.damping);return isNaN(e)?20:e}),m=ra(()=>"all"===t.direction||"horizontal"===t.direction),g=ra(()=>"all"===t.direction||"vertical"===t.direction),y=Dn(dg(t.x)),b=Dn(dg(t.y));No(()=>t.x,e=>{y.value=dg(e)}),No(()=>t.y,e=>{b.value=dg(e)}),No(y,e=>{C(e)}),No(b,e=>{A(e)});const v=new og(1,9*Math.pow(f.value,2)/40,f.value);function _(e,t){let n=!1;return e>i.value?(e=i.value,n=!0):er.value?(t=r.value,n=!0):t1?"htouchmove":"vtouchmove"),F.value&&(n=t.detail.dx+a,_.historyX.shift(),_.historyX.push(n),j.value||null!==g||(g=Math.abs(t.detail.dx/t.detail.dy)<1)),j.value&&(o=t.detail.dy+s,_.historyY.shift(),_.historyY.push(o),F.value||null!==g||(g=Math.abs(t.detail.dy/t.detail.dx)<1)),_.historyT.shift(),_.historyT.push(t.detail.timeStamp),!g){t.preventDefault();let i="touch";nN.value&&(e.outOfBounds?(i="touch-out-of-bounds",n=N.value+b.x(n-N.value)):n=N.value),oM.value&&(e.outOfBounds?(i="touch-out-of-bounds",o=M.value+v.x(o-M.value)):o=M.value),sg(function(){D(n,o,l.value,i)})}}}function Q(){if(!u.value&&!e.disabled&&m&&(n.value.style.willChange="auto",m=!1,!g&&!z("out-of-bounds")&&e.inertia)){const e=1e3*(_.historyX[1]-_.historyX[0])/(_.historyT[1]-_.historyT[0]),t=1e3*(_.historyY[1]-_.historyY[0])/(_.historyT[1]-_.historyT[0]),n=d.value,o=h.value;x.setV(e,t),x.setS(n,o);const i=x.delta().x,r=x.delta().y;let a=i+n,s=r+o;aN.value&&(a=N.value,s=o+(N.value-n)*r/i),sM.value&&(s=M.value,a=n+(M.value-o)*i/r),x.setEnd(a,s),f=ug(x,function(){let e=x.s(),t=e.x,n=e.y;D(t,n,l.value,"friction")},function(){f.cancel()})}e.outOfBounds||e.inertia||L()}function G(){if(!o.value)return;L();let t=e.scale?A.value:1;I(),E(t),T();let n=R(H.value+P.x,V.value+P.y),i=n.x,r=n.y;D(i,r,t,"",!0),S(t)}return yi(()=>{Km(n.value,e=>{switch(e.detail.state){case"start":U();break;case"move":q(e);break;case"end":Q()}}),G(),x.reconfigure(1,w.value),W.reconfigure(1,9*Math.pow($.value,2)/40,$.value),n.value.style.transformOrigin="center";const e={rootRef:n,setParent:G,_endScale:k,_setScale:C};i(e),wi(()=>{r(e)})}),wi(()=>{L()}),{setParent:G}}(e,i,o);return()=>Lr("uni-movable-view",{ref:o},[Lr(qf,{onResize:r},null,8,["onResize"]),t.default&&t.default()],512)}});let ag=!1;function sg(e){ag||(ag=!0,requestAnimationFrame(function(){e(),ag=!1}))}function lg(e,t){if(e===t)return 0;let n=e.offsetLeft;return e.offsetParent?n+=lg(e.offsetParent,t):0}function cg(e,t){if(e===t)return 0;let n=e.offsetTop;return e.offsetParent?n+=cg(e.offsetParent,t):0}function ug(e,t,n){let o={id:0,cancelled:!1};return function e(t,n,o,i){if(!t||!t.cancelled){o(n);let r=n.done();r||t.cancelled||(t.id=requestAnimationFrame(e.bind(null,t,n,o,i))),r&&i&&i(n)}}(o,e,t,n),{cancel:function(e){e&&e.id&&cancelAnimationFrame(e.id),e&&(e.cancelled=!0)}.bind(null,o),model:e}}function dg(e){return/\d+[ur]px$/i.test(e)?Dh(parseFloat(e)):Number(e)||0}const hg=["navigate","redirect","switchTab","reLaunch","navigateBack"],pg=["slide-in-right","slide-in-left","slide-in-top","slide-in-bottom","fade-in","zoom-out","zoom-fade-out","pop-in","none"],fg=["slide-out-right","slide-out-left","slide-out-top","slide-out-bottom","fade-out","zoom-in","zoom-fade-in","pop-out","none"],mg={hoverClass:{type:String,default:"navigator-hover"},url:{type:String,default:""},openType:{type:String,default:"navigate",validator:e=>Boolean(~hg.indexOf(e))},delta:{type:Number,default:1},hoverStartTime:{type:[Number,String],default:50},hoverStayTime:{type:[Number,String],default:600},exists:{type:String,default:""},hoverStopPropagation:{type:Boolean,default:!1},animationType:{type:String,default:"",validator:e=>!e||pg.concat(fg).includes(e)},animationDuration:{type:[String,Number],default:300}};u({},mg,{renderLink:{type:Boolean,default:!0}});const gg=pd({name:"PickerView",props:{value:{type:Array,default:()=>[],validator:function(e){return f(e)&&e.filter(e=>"number"==typeof e).length===e.length}},indicatorStyle:{type:String,default:""},indicatorClass:{type:String,default:""},maskStyle:{type:String,default:""},maskClass:{type:String,default:""}},emits:["change","pickstart","pickend","update:value"],setup(e,{slots:t,emit:n}){const o=Dn(null),i=Dn(null),r=gd(o,n),a=function(e){const t=wn([...e.value]),n=wn({value:t,height:34});return No(()=>e.value,(e,t)=>{n.value.length=e.length,e.forEach((e,t)=>{e!==n.value[t]&&n.value.splice(t,1,e)})}),n}(e),s=Dn(null);yi(()=>{const e=s.value;e&&(a.height=e.$el.offsetHeight)});let l=Dn([]),c=Dn([]);function u(e){let t=c.value;t=t.filter(e=>e.type!==vr);let n=t.indexOf(e);return-1!==n?n:l.value.indexOf(e)}return Xi("getPickerViewColumn",function(e){return ra({get(){const t=u(e.vnode);return a.value[t]||0},set(t){const o=u(e.vnode);if(o<0)return;if(a.value[o]!==t){a.value[o]=t;const e=a.value.map(e=>e);n("update:value",e),r("change",{},{value:e})}}})}),Xi("pickerViewProps",e),Xi("pickerViewState",a),()=>{const e=t.default&&t.default();{const t=Um(e);l.value=t,no(()=>{c.value=t})}return Lr("uni-picker-view",{ref:o},[Lr(qf,{ref:s,onResize:({height:e})=>a.height=e},null,8,["onResize"]),Lr("div",{ref:i,class:"uni-picker-view-wrapper"},[e],512)],512)}}});class yg{constructor(e){this._drag=e,this._dragLog=Math.log(e),this._x=0,this._v=0,this._startTime=0}set(e,t){this._x=e,this._v=t,this._startTime=(new Date).getTime()}setVelocityByEnd(e){this._v=(e-this._x)*this._dragLog/(Math.pow(this._drag,100)-1)}x(e){void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3);const t=e===this._dt&&this._powDragDt?this._powDragDt:this._powDragDt=Math.pow(this._drag,e);return this._dt=e,this._x+this._v*t/this._dragLog-this._v/this._dragLog}dx(e){void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3);const t=e===this._dt&&this._powDragDt?this._powDragDt:this._powDragDt=Math.pow(this._drag,e);return this._dt=e,this._v*t}done(){return Math.abs(this.dx())<3}reconfigure(e){const t=this.x(),n=this.dx();this._drag=e,this._dragLog=Math.log(e),this.set(t,n)}configuration(){const e=this;return[{label:"Friction",read:function(){return e._drag},write:function(t){e.reconfigure(t)},min:.001,max:.1,step:.001}]}}function bg(e,t,n){return e>t-n&&e0){const i=(-n-Math.sqrt(r))/(2*o),a=(-n+Math.sqrt(r))/(2*o),s=(t-i*e)/(a-i),l=e-s;return{x:function(e){let t,n;return e===this._t&&(t=this._powER1T,n=this._powER2T),this._t=e,t||(t=this._powER1T=Math.pow(Math.E,i*e)),n||(n=this._powER2T=Math.pow(Math.E,a*e)),l*t+s*n},dx:function(e){let t,n;return e===this._t&&(t=this._powER1T,n=this._powER2T),this._t=e,t||(t=this._powER1T=Math.pow(Math.E,i*e)),n||(n=this._powER2T=Math.pow(Math.E,a*e)),l*i*t+s*a*n}}}const a=Math.sqrt(4*o*i-n*n)/(2*o),s=-n/2*o,l=e,c=(t-s*e)/a;return{x:function(e){return Math.pow(Math.E,s*e)*(l*Math.cos(a*e)+c*Math.sin(a*e))},dx:function(e){const t=Math.pow(Math.E,s*e),n=Math.cos(a*e),o=Math.sin(a*e);return t*(c*a*n-l*a*o)+s*t*(c*o+l*n)}}}x(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._endPosition+this._solution.x(e):0}dx(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._solution.dx(e):0}setEnd(e,t,n){if(n||(n=(new Date).getTime()),e!==this._endPosition||!vg(t,.4)){t=t||0;let o=this._endPosition;this._solution&&(vg(t,.4)&&(t=this._solution.dx((n-this._startTime)/1e3)),o=this._solution.x((n-this._startTime)/1e3),vg(t,.4)&&(t=0),vg(o,.4)&&(o=0),o+=this._endPosition),this._solution&&vg(o-e,.4)&&vg(t,.4)||(this._endPosition=e,this._solution=this._solve(o-this._endPosition,t),this._startTime=n)}}snap(e){this._startTime=(new Date).getTime(),this._endPosition=e,this._solution={x:function(){return 0},dx:function(){return 0}}}done(e){return e||(e=(new Date).getTime()),bg(this.x(),this._endPosition,.4)&&vg(this.dx(),.4)}reconfigure(e,t,n){this._m=e,this._k=t,this._c=n,this.done()||(this._solution=this._solve(this.x()-this._endPosition,this.dx()),this._startTime=(new Date).getTime())}springConstant(){return this._k}damping(){return this._c}configuration(){return[{label:"Spring Constant",read:this.springConstant.bind(this),write:function(e,t){e.reconfigure(1,t,e.damping())}.bind(this,this),min:100,max:1e3},{label:"Damping",read:this.damping.bind(this),write:function(e,t){e.reconfigure(1,e.springConstant(),t)}.bind(this,this),min:1,max:500}]}}class wg{constructor(e,t,n){this._extent=e,this._friction=t||new yg(.01),this._spring=n||new _g(1,90,20),this._startTime=0,this._springing=!1,this._springOffset=0}snap(e,t){this._springOffset=0,this._springing=!0,this._spring.snap(e),this._spring.setEnd(t)}set(e,t){this._friction.set(e,t),e>0&&t>=0?(this._springOffset=0,this._springing=!0,this._spring.snap(e),this._spring.setEnd(0)):e<-this._extent&&t<=0?(this._springOffset=0,this._springing=!0,this._spring.snap(e),this._spring.setEnd(-this._extent)):this._springing=!1,this._startTime=(new Date).getTime()}x(e){if(!this._startTime)return 0;if(e||(e=((new Date).getTime()-this._startTime)/1e3),this._springing)return this._spring.x()+this._springOffset;let t=this._friction.x(e),n=this.dx(e);return(t>0&&n>=0||t<-this._extent&&n<=0)&&(this._springing=!0,this._spring.setEnd(0,n),t<-this._extent?this._springOffset=-this._extent:this._springOffset=0,t=this._spring.x()+this._springOffset),t}dx(e){let t;return t=this._lastTime===e?this._lastDx:this._springing?this._spring.dx(e):this._friction.dx(e),this._lastTime=e,this._lastDx=t,t}done(){return this._springing?this._spring.done():this._friction.done()}setVelocityByEnd(e){this._friction.setVelocityByEnd(e)}configuration(){const e=this._friction.configuration();return e.push.apply(e,this._spring.configuration()),e}}class xg{constructor(e,t){t=t||{},this._element=e,this._options=t,this._enableSnap=t.enableSnap||!1,this._itemSize=t.itemSize||0,this._enableX=t.enableX||!1,this._enableY=t.enableY||!1,this._shouldDispatchScrollEvent=!!t.onScroll,this._enableX?(this._extent=(t.scrollWidth||this._element.offsetWidth)-this._element.parentElement.offsetWidth,this._scrollWidth=t.scrollWidth):(this._extent=(t.scrollHeight||this._element.offsetHeight)-this._element.parentElement.offsetHeight,this._scrollHeight=t.scrollHeight),this._position=0,this._scroll=new wg(this._extent,t.friction,t.spring),this._onTransitionEnd=this.onTransitionEnd.bind(this),this.updatePosition()}onTouchStart(){this._startPosition=this._position,this._lastChangePos=this._startPosition,this._startPosition>0?this._startPosition/=.5:this._startPosition<-this._extent&&(this._startPosition=(this._startPosition+this._extent)/.5-this._extent),this._animation&&(this._animation.cancel(),this._scrolling=!1),this.updatePosition()}onTouchMove(e,t){let n=this._startPosition;this._enableX?n+=e:this._enableY&&(n+=t),n>0?n*=.5:n<-this._extent&&(n=.5*(n+this._extent)-this._extent),this._position=n,this.updatePosition(),this.dispatchScroll()}onTouchEnd(e,t,n){if(this._enableSnap&&this._position>-this._extent&&this._position<0){if(this._enableY&&(Math.abs(t)this._itemSize/2?e-(this._itemSize-Math.abs(t)):e-t,o<=0&&o>=-this._extent&&this._scroll.setVelocityByEnd(o)}this._lastTime=Date.now(),this._lastDelay=0,this._scrolling=!0,this._lastChangePos=this._position,this._lastIdx=Math.floor(Math.abs(this._position/this._itemSize)),this._animation=function(e,t,n){const o={id:0,cancelled:!1};return function e(t,n,o,i){if(!t||!t.cancelled){o(n);const r=n.done();r||t.cancelled||(t.id=requestAnimationFrame(e.bind(null,t,n,o,i))),r&&i&&i(n)}}(o,e,t,n),{cancel:function(e){e&&e.id&&cancelAnimationFrame(e.id),e&&(e.cancelled=!0)}.bind(null,o),model:e}}(this._scroll,()=>{const e=Date.now(),t=(e-this._scroll._startTime)/1e3,n=this._scroll.x(t);this._position=n,this.updatePosition();const o=this._scroll.dx(t);this._shouldDispatchScrollEvent&&e-this._lastTime>this._lastDelay&&(this.dispatchScroll(),this._lastDelay=Math.abs(2e3/o),this._lastTime=e)},()=>{this._enableSnap&&(o<=0&&o>=-this._extent&&(this._position=o,this.updatePosition()),b(this._options.onSnap)&&this._options.onSnap(Math.floor(Math.abs(this._position)/this._itemSize))),this._shouldDispatchScrollEvent&&this.dispatchScroll(),this._scrolling=!1})}onTransitionEnd(){this._element.style.webkitTransition="",this._element.style.transition="",this._element.removeEventListener("transitionend",this._onTransitionEnd),this._snapping&&(this._snapping=!1),this.dispatchScroll()}snap(){const e=this._itemSize,t=this._position%e,n=Math.abs(t)>this._itemSize/2?this._position-(e-Math.abs(t)):this._position-t;this._position!==n&&(this._snapping=!0,this.scrollTo(-n),b(this._options.onSnap)&&this._options.onSnap(Math.floor(Math.abs(this._position)/this._itemSize)))}scrollTo(e,t){this._animation&&(this._animation.cancel(),this._scrolling=!1),"number"==typeof e&&(this._position=-e),this._position<-this._extent?this._position=-this._extent:this._position>0&&(this._position=0);const n="transform "+(t||.2)+"s ease-out";this._element.style.webkitTransition="-webkit-"+n,this._element.style.transition=n,this.updatePosition(),this._element.addEventListener("transitionend",this._onTransitionEnd)}dispatchScroll(){if(b(this._options.onScroll)&&Math.round(Number(this._lastPos))!==Math.round(this._position)){this._lastPos=this._position;const e={target:{scrollLeft:this._enableX?-this._position:0,scrollTop:this._enableY?-this._position:0,scrollHeight:this._scrollHeight||this._element.offsetHeight,scrollWidth:this._scrollWidth||this._element.offsetWidth,offsetHeight:this._element.parentElement.offsetHeight,offsetWidth:this._element.parentElement.offsetWidth}};this._options.onScroll(e)}}update(e,t,n){let o=0;const i=this._position;this._enableX?(o=this._element.childNodes.length?(t||this._element.offsetWidth)-this._element.parentElement.offsetWidth:0,this._scrollWidth=t):(o=this._element.childNodes.length?(t||this._element.offsetHeight)-this._element.parentElement.offsetHeight:0,this._scrollHeight=t),"number"==typeof e&&(this._position=-e),this._position<-o?this._position=-o:this._position>0&&(this._position=0),this._itemSize=n||this._itemSize,this.updatePosition(),i!==this._position&&(this.dispatchScroll(),b(this._options.onSnap)&&this._options.onSnap(Math.floor(Math.abs(this._position)/this._itemSize))),this._extent=o,this._scroll._extent=o}updatePosition(){let e="";this._enableX?e="translateX("+this._position+"px) translateZ(0)":this._enableY&&(e="translateY("+this._position+"px) translateZ(0)"),this._element.style.webkitTransform=e,this._element.style.transform=e}isScrolling(){return this._scrolling||this._snapping}}let Sg=0;const kg=pd({name:"PickerViewColumn",setup(e,{slots:t,emit:n}){const o=Dn(null),i=Dn(null),r=Ki("getPickerViewColumn"),a=Qr(),s=r?r(a):Dn(0),l=Ki("pickerViewProps"),c=Ki("pickerViewState"),u=Dn(34),d=Dn(null);yi(()=>{const e=d.value;u.value=e.$el.offsetHeight});const h=ra(()=>(c.height-u.value)/2),{state:p}=Om(),f=function(e){const t="uni-picker-view-content-"+Sg++;return No(()=>e.value,function(){const n=document.createElement("style");n.innerText=`.uni-picker-view-content.${t}>*{height: ${e.value}px;overflow: hidden;}`,document.head.appendChild(n)}),t}(u);let m;const g=wn({current:s.value,length:0});let y;function b(){m&&!y&&(y=!0,no(()=>{y=!1;let e=Math.min(g.current,g.length-1);e=Math.max(e,0),m.update(e*u.value,void 0,u.value)}))}No(()=>s.value,e=>{e!==g.current&&(g.current=e,b())}),No(()=>g.current,e=>s.value=e),No([()=>u.value,()=>g.length,()=>c.height],b);let v=0;function _(e){const t=v+e.deltaY;if(Math.abs(t)>10){v=0;let e=Math.min(g.current+(t<0?-1:1),g.length-1);g.current=e=Math.max(e,0),m.scrollTo(e*u.value)}else v=t;e.preventDefault()}function w({clientY:e}){const t=o.value;if(!m.isScrolling()){const n=e-t.getBoundingClientRect().top-c.height/2,o=u.value/2;if(!(Math.abs(n)<=o)){const e=Math.ceil((Math.abs(n)-o)/u.value),t=n<0?-e:e;let i=Math.min(g.current+t,g.length-1);g.current=i=Math.max(i,0),m.scrollTo(i*u.value)}}}const x=()=>{const e=o.value,t=i.value,{scroller:n,handleTouchStart:r,handleTouchMove:a,handleTouchEnd:s}=function(e,t){const n={trackingID:-1,maxDy:0,maxDx:0},o=new xg(e,t);function i(e){const t=e,o=e;return"move"===t.detail.state||"end"===t.detail.state?{x:t.detail.dx,y:t.detail.dy}:{x:o.screenX-n.x,y:o.screenY-n.y}}return{scroller:o,handleTouchStart:function(e){const t=e,i=e;"start"===t.detail.state?(n.trackingID="touch",n.x=t.detail.x,n.y=t.detail.y):(n.trackingID="mouse",n.x=i.screenX,n.y=i.screenY),n.maxDx=0,n.maxDy=0,n.historyX=[0],n.historyY=[0],n.historyTime=[t.detail.timeStamp||i.timeStamp],n.listener=o,o.onTouchStart&&o.onTouchStart(),("boolean"!=typeof e.cancelable||e.cancelable)&&e.preventDefault()},handleTouchMove:function(e){const t=e,o=e;if(-1!==n.trackingID){("boolean"!=typeof e.cancelable||e.cancelable)&&e.preventDefault();const r=i(e);if(r){for(n.maxDy=Math.max(n.maxDy,Math.abs(r.y)),n.maxDx=Math.max(n.maxDx,Math.abs(r.x)),n.historyX.push(r.x),n.historyY.push(r.y),n.historyTime.push(t.detail.timeStamp||o.timeStamp);n.historyTime.length>10;)n.historyTime.shift(),n.historyX.shift(),n.historyY.shift();n.listener&&n.listener.onTouchMove&&n.listener.onTouchMove(r.x,r.y)}}},handleTouchEnd:function(e){if(-1!==n.trackingID){e.preventDefault();const t=i(e);if(t){const e=n.listener;n.trackingID=-1,n.listener=null;const o={x:0,y:0};if(n.historyTime.length>2)for(let t=n.historyTime.length-1,i=n.historyTime[t],r=n.historyX[t],a=n.historyY[t];t>0;){t--;const e=i-n.historyTime[t];if(e>30&&e<50){o.x=(r-n.historyX[t])/(e/1e3),o.y=(a-n.historyY[t])/(e/1e3);break}}n.historyTime=[],n.historyX=[],n.historyY=[],e&&e.onTouchEnd&&e.onTouchEnd(t.x,t.y,o)}}}}}(t,{enableY:!0,enableX:!1,enableSnap:!0,itemSize:u.value,friction:new yg(1e-4),spring:new _g(2,90,20),onSnap:e=>{isNaN(e)||e===g.current||(g.current=e)}});m=n,Km(e,e=>{switch(e.detail.state){case"start":r(e);break;case"move":a(e),e.stopPropagation();break;case"end":case"cancel":s(e)}},!0),function(e){let t=0,n=0;e.addEventListener("touchstart",e=>{const o=e.changedTouches[0];t=o.clientX,n=o.clientY}),e.addEventListener("touchend",e=>{const o=e.changedTouches[0];if(Math.abs(o.clientX-t)<20&&Math.abs(o.clientY-n)<20){const t={bubbles:!0,cancelable:!0,target:e.target,currentTarget:e.currentTarget},n=new CustomEvent("click",t);["screenX","screenY","clientX","clientY","pageX","pageY"].forEach(e=>{n[e]=o[e]}),e.target.dispatchEvent(n)}})}(e),b()};return yi(x),()=>{const e=t.default&&t.default();g.length=Um(e).length;const n=`${h.value}px 0`;return Lr("uni-picker-view-column",{ref:o},[Lr("div",{onWheel:_,onClick:w,class:"uni-picker-view-group"},[Lr("div",Hr(p.attrs,{class:["uni-picker-view-mask",l.maskClass],style:`background-size: 100% ${h.value}px;${l.maskStyle}`}),null,16),Lr("div",Hr(p.attrs,{class:["uni-picker-view-indicator",l.indicatorClass],style:l.indicatorStyle}),[Lr(qf,{ref:d,onResize:({height:e})=>u.value=e},null,8,["onResize"])],16),Lr("div",{ref:i,class:["uni-picker-view-content",f],style:{padding:n}},[e],6)],40,["onWheel","onClick"])],512)}}}),Cg={a:"",abbr:"",address:"",article:"",aside:"",b:"",bdi:"",bdo:["dir"],big:"",blockquote:"",br:"",caption:"",center:"",cite:"",code:"",col:["span","width"],colgroup:["span","width"],dd:"",del:"",div:"",dl:"",dt:"",em:"",fieldset:"",font:"",footer:"",h1:"",h2:"",h3:"",h4:"",h5:"",h6:"",header:"",hr:"",i:"",img:["alt","src","height","width"],ins:"",label:"",legend:"",li:"",mark:"",nav:"",ol:["start","type"],p:"",pre:"",q:"",rt:"",ruby:"",s:"",section:"",small:"",span:"",strong:"",sub:"",sup:"",table:["width"],tbody:"",td:["colspan","height","rowspan","width"],tfoot:"",th:["colspan","height","rowspan","width"],thead:"",tr:["colspan","height","rowspan","width"],tt:"",u:"",ul:""},Ag={amp:"&",gt:">",lt:"<",nbsp:" ",quot:'"',apos:"'",ldquo:"“",rdquo:"”",yen:"¥",radic:"√",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",hellip:"…"};const Tg=(e,t,n)=>!n||f(n)&&!n.length?[]:n.map(n=>{var o;if(C(n)){if(!p(n,"type")||"node"===n.type){let i={[e]:""};const r=null==(o=n.name)?void 0:o.toLowerCase();if(!p(Cg,r))return;return function(e,t){if(C(t))for(const n in t)if(p(t,n)){const o=t[n];"img"===e&&"src"===n&&(t[n]=Id(o))}}(r,n.attrs),i=u(i,function(e,t){if(["a","img"].includes(e.name)&&t)return{onClick:n=>{t(n,{node:e}),n.stopPropagation(),n.preventDefault(),n.returnValue=!1}}}(n,t),n.attrs),aa(n.name,i,Tg(e,t,n.children))}return"text"===n.type&&v(n.text)&&""!==n.text?Dr((n.text||"").replace(/&(([a-zA-Z]+)|(#x{0,1}[\da-zA-Z]+));/gi,function(e,t){return p(Ag,t)&&Ag[t]?Ag[t]:/^#[0-9]{1,4}$/.test(t)?String.fromCharCode(t.slice(1)):/^#x[0-9a-f]{1,4}$/i.test(t)?String.fromCharCode(0+t.slice(1)):e})):void 0}});function Ig(e){e=function(e){return e.replace(/<\?xml.*\?>\n/,"").replace(/\n/,"").replace(/\n/,"")}(e);const t=[],n={node:"root",children:[]};return function(e,t){var n,o,i,r=[],a=e;for(r.last=function(){return this[this.length-1]};e;){if(o=!0,r.last()&&ym[r.last()])e=e.replace(new RegExp("([\\s\\S]*?)]*>"),function(e,n){return n=n.replace(/|/g,"$1$2"),t.chars&&t.chars(n),""}),c("",r.last());else if(0==e.indexOf("\x3c!--")?(n=e.indexOf("--\x3e"))>=0&&(t.comment&&t.comment(e.substring(4,n)),e=e.substring(n+3),o=!1):0==e.indexOf("=0&&r[o]!=n;o--);else var o=0;if(o>=0){for(var i=r.length-1;i>=o;i--)t.end&&t.end(r[i]);r.length=o}}c()}(e,{start:function(e,o,i){const r={name:e};if(0!==o.length&&(r.attrs=function(e){return e.reduce(function(e,t){let n=t.value;const o=t.name;return n.match(/ /)&&-1===["style","src"].indexOf(o)&&(n=n.split(" ")),e[o]?Array.isArray(e[o])?e[o].push(n):e[o]=[e[o],n]:e[o]=n,e},{})}(o)),i){const e=t[0]||n;e.children||(e.children=[]),e.children.push(r)}else t.unshift(r)},end:function(e){const o=t.shift();if(o.name!==e&&console.error("invalid state: mismatch end tag"),0===t.length)n.children.push(o);else{const e=t[0];e.children||(e.children=[]),e.children.push(o)}},chars:function(e){const o={type:"text",text:e};if(0===t.length)n.children.push(o);else{const e=t[0];e.children||(e.children=[]),e.children.push(o)}},comment:function(e){const n={node:"comment",text:e},o=t[0];o&&(o.children||(o.children=[]),o.children.push(n))}}),n.children}const Eg=pd({name:"RichText",compatConfig:{MODE:3},props:{nodes:{type:[Array,String],default:function(){return[]}}},emits:["click","touchstart","touchmove","touchcancel","touchend","longpress","itemclick"],setup(e,{emit:t}){const n=Qr(),o=n&&n.vnode.scopeId||"",i=Dn(null),r=Dn([]),a=gd(i,t);function s(e,t={}){a("itemclick",e,t)}return No(()=>e.nodes,function(){let t=e.nodes;v(t)&&(t=Ig(e.nodes)),r.value=Tg(o,s,t)},{immediate:!0}),()=>aa("uni-rich-text",{ref:i},aa("div",{},r.value))}}),Pg=pd({name:"Refresher",props:{refreshState:{type:String,default:""},refresherHeight:{type:Number,default:0},refresherThreshold:{type:Number,default:45},refresherDefaultStyle:{type:String,default:"black"},refresherBackground:{type:String,default:"#fff"}},setup(e,{slots:t}){const n=Dn(null),o=ra(()=>{const t={backgroundColor:e.refresherBackground};switch(e.refreshState){case"pulling":t.height=e.refresherHeight+"px";break;case"refreshing":t.height=e.refresherThreshold+"px",t.transition="height 0.3s";break;case"":case"refresherabort":case"restore":t.height="0px",t.transition="height 0.3s"}return t}),i=ra(()=>{const t=e.refresherHeight/e.refresherThreshold;return 360*(t>1?1:t)});return()=>{const{refreshState:r,refresherDefaultStyle:a,refresherThreshold:s}=e;return Lr("div",{ref:n,style:o.value,class:"uni-scroll-view-refresher"},["none"!==a?Lr("div",{class:"uni-scroll-view-refresh"},[Lr("div",{class:"uni-scroll-view-refresh-inner"},["pulling"==r?Lr("svg",{key:"refresh__icon",style:{transform:"rotate("+i.value+"deg)"},fill:"#2BD009",class:"uni-scroll-view-refresh__icon",width:"24",height:"24",viewBox:"0 0 24 24"},[Lr("path",{d:"M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"},null),Lr("path",{d:"M0 0h24v24H0z",fill:"none"},null)],4):null,"refreshing"==r?Lr("svg",{key:"refresh__spinner",class:"uni-scroll-view-refresh__spinner",width:"24",height:"24",viewBox:"25 25 50 50"},[Lr("circle",{cx:"50",cy:"50",r:"20",fill:"none",style:"color: #2bd009","stroke-width":"3"},null)]):null])]):null,"none"===a?Lr("div",{class:"uni-scroll-view-refresher-container",style:{height:`${s}px`}},[t.default&&t.default()]):null],4)}}}),Bg=Xe(!0),Og=pd({name:"ScrollView",compatConfig:{MODE:3},props:{direction:{type:[String],default:"vertical"},scrollX:{type:[Boolean,String],default:!1},scrollY:{type:[Boolean,String],default:!1},showScrollbar:{type:[Boolean,String],default:!0},upperThreshold:{type:[Number,String],default:50},lowerThreshold:{type:[Number,String],default:50},scrollTop:{type:[Number,String],default:0},scrollLeft:{type:[Number,String],default:0},scrollIntoView:{type:String,default:""},scrollWithAnimation:{type:[Boolean,String],default:!1},enableBackToTop:{type:[Boolean,String],default:!1},refresherEnabled:{type:[Boolean,String],default:!1},refresherThreshold:{type:Number,default:45},refresherDefaultStyle:{type:String,default:"black"},refresherBackground:{type:String,default:"#fff"},refresherTriggered:{type:[Boolean,String],default:!1}},emits:["scroll","scrolltoupper","scrolltolower","refresherrefresh","refresherrestore","refresherpulling","refresherabort","update:refresherTriggered"],setup(e,{emit:t,slots:n,expose:o}){const i=Dn(null),r=Dn(null),a=Dn(null),s=Dn(null),l=gd(i,t),{state:c,scrollTopNumber:u,scrollLeftNumber:d}=function(e){const t=ra(()=>Number(e.scrollTop)||0),n=ra(()=>Number(e.scrollLeft)||0),o=wn({lastScrollTop:t.value,lastScrollLeft:n.value,lastScrollToUpperTime:0,lastScrollToLowerTime:0,refresherHeight:0,refreshState:""});return{state:o,scrollTopNumber:t,scrollLeftNumber:n}}(e),{realScrollX:h,realScrollY:p}=function(e,t,n,o,i,r,a,s,l){let c=!1,u=0,d=!1,h=()=>{};const p=ra(()=>e.scrollX),f=ra(()=>e.scrollY),m=ra(()=>{let t=Number(e.upperThreshold);return isNaN(t)?50:t}),g=ra(()=>{let t=Number(e.lowerThreshold);return isNaN(t)?50:t});function y(e,t){const n=a.value;let o=0,i="";if(e<0?e=0:"x"===t&&e>n.scrollWidth-n.offsetWidth?e=n.scrollWidth-n.offsetWidth:"y"===t&&e>n.scrollHeight-n.offsetHeight&&(e=n.scrollHeight-n.offsetHeight),"x"===t?o=n.scrollLeft-e:"y"===t&&(o=n.scrollTop-e),0===o)return;let r=s.value;r.style.transition="transform .3s ease-out",r.style.webkitTransition="-webkit-transform .3s ease-out","x"===t?i="translateX("+o+"px) translateZ(0)":"y"===t&&(i="translateY("+o+"px) translateZ(0)"),r.removeEventListener("transitionend",h),r.removeEventListener("webkitTransitionEnd",h),h=()=>x(e,t),r.addEventListener("transitionend",h),r.addEventListener("webkitTransitionEnd",h),"x"===t?n.style.overflowX="hidden":"y"===t&&(n.style.overflowY="hidden"),r.style.transform=i,r.style.webkitTransform=i}function b(e){const n=e.target;i("scroll",e,{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop,scrollHeight:n.scrollHeight,scrollWidth:n.scrollWidth,deltaX:t.lastScrollLeft-n.scrollLeft,deltaY:t.lastScrollTop-n.scrollTop}),f.value&&(n.scrollTop<=m.value&&t.lastScrollTop-n.scrollTop>0&&e.timeStamp-t.lastScrollToUpperTime>200&&(i("scrolltoupper",e,{direction:"top"}),t.lastScrollToUpperTime=e.timeStamp),n.scrollTop+n.offsetHeight+g.value>=n.scrollHeight&&t.lastScrollTop-n.scrollTop<0&&e.timeStamp-t.lastScrollToLowerTime>200&&(i("scrolltolower",e,{direction:"bottom"}),t.lastScrollToLowerTime=e.timeStamp)),p.value&&(n.scrollLeft<=m.value&&t.lastScrollLeft-n.scrollLeft>0&&e.timeStamp-t.lastScrollToUpperTime>200&&(i("scrolltoupper",e,{direction:"left"}),t.lastScrollToUpperTime=e.timeStamp),n.scrollLeft+n.offsetWidth+g.value>=n.scrollWidth&&t.lastScrollLeft-n.scrollLeft<0&&e.timeStamp-t.lastScrollToLowerTime>200&&(i("scrolltolower",e,{direction:"right"}),t.lastScrollToLowerTime=e.timeStamp)),t.lastScrollTop=n.scrollTop,t.lastScrollLeft=n.scrollLeft}function v(t){f.value&&(e.scrollWithAnimation?y(t,"y"):a.value.scrollTop=t)}function _(t){p.value&&(e.scrollWithAnimation?y(t,"x"):a.value.scrollLeft=t)}function w(t){if(t){if(!/^[_a-zA-Z][-_a-zA-Z0-9:]*$/.test(t))return void console.error(`id error: scroll-into-view=${t}`);let n=r.value.querySelector("#"+t);if(n){let t=a.value.getBoundingClientRect(),o=n.getBoundingClientRect();if(p.value){let n=o.left-t.left,i=a.value.scrollLeft+n;e.scrollWithAnimation?y(i,"x"):a.value.scrollLeft=i}if(f.value){let n=o.top-t.top,i=a.value.scrollTop+n;e.scrollWithAnimation?y(i,"y"):a.value.scrollTop=i}}}}function x(e,t){s.value.style.transition="",s.value.style.webkitTransition="",s.value.style.transform="",s.value.style.webkitTransform="";let n=a.value;"x"===t?(n.style.overflowX=p.value?"auto":"hidden",n.scrollLeft=e):"y"===t&&(n.style.overflowY=f.value?"auto":"hidden",n.scrollTop=e),s.value.removeEventListener("transitionend",h),s.value.removeEventListener("webkitTransitionEnd",h)}function S(n){if(e.refresherEnabled){switch(n){case"refreshing":t.refresherHeight=e.refresherThreshold,c||(c=!0,i("refresherrefresh",{},{dy:C.y-k.y}),l("update:refresherTriggered",!0));break;case"restore":case"refresherabort":c=!1,t.refresherHeight=u=0,"restore"===n&&(d=!1,i("refresherrestore",{},{dy:C.y-k.y})),"refresherabort"===n&&d&&(d=!1,i("refresherabort",{},{dy:C.y-k.y}))}t.refreshState=n}}let k={x:0,y:0},C={x:0,y:e.refresherThreshold};return yi(()=>{no(()=>{v(n.value),_(o.value)}),w(e.scrollIntoView);let r=function(e){e.preventDefault(),e.stopPropagation(),b(e)},s=null,l=function(n){if(null===k)return;let o=n.touches[0].pageX,r=n.touches[0].pageY,l=a.value;if(Math.abs(o-k.x)>Math.abs(r-k.y))if(p.value){if(0===l.scrollLeft&&o>k.x)return void(s=!1);if(l.scrollWidth===l.offsetWidth+l.scrollLeft&&ok.y)s=!1,e.refresherEnabled&&!1!==n.cancelable&&n.preventDefault();else{if(l.scrollHeight===l.offsetHeight+l.scrollTop&&r0&&(d=!0,i("refresherpulling",n,{deltaY:o,dy:o})))}},h=function(e){1===e.touches.length&&(k={x:e.touches[0].pageX,y:e.touches[0].pageY})},m=function(n){C={x:n.changedTouches[0].pageX,y:n.changedTouches[0].pageY},t.refresherHeight>=e.refresherThreshold?S("refreshing"):S("refresherabort"),k={x:0,y:0},C={x:0,y:e.refresherThreshold}};a.value.addEventListener("touchstart",h,Bg),a.value.addEventListener("touchmove",l,Xe(!1)),a.value.addEventListener("scroll",r,Xe(!1)),a.value.addEventListener("touchend",m,Bg),_i(()=>{a.value.removeEventListener("touchstart",h),a.value.removeEventListener("touchmove",l),a.value.removeEventListener("scroll",r),a.value.removeEventListener("touchend",m)})}),ai(()=>{f.value&&(a.value.scrollTop=t.lastScrollTop),p.value&&(a.value.scrollLeft=t.lastScrollLeft)}),No(n,e=>{v(e)}),No(o,e=>{_(e)}),No(()=>e.scrollIntoView,e=>{w(e)}),No(()=>e.refresherTriggered,e=>{!0===e?S("refreshing"):!1===e&&S("restore")}),{realScrollX:p,realScrollY:f}}(e,c,u,d,l,i,r,s,t),f=ra(()=>{let e="";return h.value?e+="overflow-x:auto;":e+="overflow-x:hidden;",p.value?e+="overflow-y:auto;":e+="overflow-y:hidden;",e}),m=ra(()=>{let t="uni-scroll-view";return!1===e.showScrollbar&&(t+=" uni-scroll-view-scrollbar-hidden"),t});return o({$getMain:()=>r.value}),()=>{const{refresherEnabled:t,refresherBackground:o,refresherDefaultStyle:l,refresherThreshold:u}=e,{refresherHeight:d,refreshState:h}=c;return Lr("uni-scroll-view",{ref:i},[Lr("div",{ref:a,class:"uni-scroll-view"},[Lr("div",{ref:r,style:f.value,class:m.value},[t?Lr(Pg,{refreshState:h,refresherHeight:d,refresherThreshold:u,refresherDefaultStyle:l,refresherBackground:o},{default:()=>["none"==l?n.refresher&&n.refresher():null]},8,["refreshState","refresherHeight","refresherThreshold","refresherDefaultStyle","refresherBackground"]):null,Lr("div",{ref:s,class:"uni-scroll-view-content"},[n.default&&n.default()],512)],6)],512)],512)}}});const Ng=pd({name:"Slider",props:{name:{type:String,default:""},min:{type:[Number,String],default:0},max:{type:[Number,String],default:100},value:{type:[Number,String],default:0},step:{type:[Number,String],default:1},disabled:{type:[Boolean,String],default:!1},color:{type:String,default:"#e9e9e9"},backgroundColor:{type:String,default:"#e9e9e9"},activeColor:{type:String,default:"#007aff"},selectedColor:{type:String,default:"#007aff"},blockColor:{type:String,default:"#ffffff"},blockSize:{type:[Number,String],default:28},showValue:{type:[Boolean,String],default:!1}},emits:["changing","change"],setup(e,{emit:t}){const n=Dn(null),o=Dn(null),i=Dn(null),r=Dn(Number(e.value));No(()=>e.value,e=>{r.value=Number(e)});const a=gd(n,t),s=function(e,t){const n=()=>Mg(t.value,e.min,e.max),o=()=>"#e9e9e9"!==e.backgroundColor?e.backgroundColor:"#007aff"!==e.color?e.color:"#007aff",i=()=>"#007aff"!==e.activeColor?e.activeColor:"#e9e9e9"!==e.selectedColor?e.selectedColor:"#e9e9e9",r={setBgColor:ra(()=>({backgroundColor:o()})),setBlockBg:ra(()=>({left:n()})),setActiveColor:ra(()=>({backgroundColor:i(),width:n()})),setBlockStyle:ra(()=>({width:e.blockSize+"px",height:e.blockSize+"px",marginLeft:-e.blockSize/2+"px",marginTop:-e.blockSize/2+"px",left:n(),backgroundColor:e.blockColor}))};return r}(e,r),{_onClick:l,_onTrack:c}=function(e,t,n,o,i){const r=n=>{e.disabled||(s(n),i("change",n,{value:t.value}))},a=t=>{const n=Number(e.max),o=Number(e.min),i=Number(e.step);return tn?n:Lg.mul.call(Math.round((t-o)/i),i)+o},s=i=>{const r=Number(e.max),s=Number(e.min),l=o.value,c=getComputedStyle(l,null).marginLeft;let u=l.offsetWidth;u+=parseInt(c);const d=n.value,h=d.offsetWidth-(e.showValue?u:0),p=d.getBoundingClientRect().left,f=(i.x-p)*(r-s)/h+s;t.value=a(f)},l=n=>{if(!e.disabled)return"move"===n.detail.state?(s({x:n.detail.x}),i("changing",n,{value:t.value}),!1):"end"===n.detail.state&&i("change",n,{value:t.value})},c=Ki(_d,!1);if(c){const n={reset:()=>t.value=Number(e.min),submit:()=>{const n=["",null];return""!==e.name&&(n[0]=e.name,n[1]=t.value),n}};c.addField(n),_i(()=>{c.removeField(n)})}return{_onClick:r,_onTrack:l}}(e,r,n,o,a);return yi(()=>{Km(i.value,c)}),()=>{const{setBgColor:t,setBlockBg:a,setActiveColor:c,setBlockStyle:u}=s;return Lr("uni-slider",{ref:n,onClick:md(l)},[Lr("div",{class:"uni-slider-wrapper"},[Lr("div",{class:"uni-slider-tap-area"},[Lr("div",{style:t.value,class:"uni-slider-handle-wrapper"},[Lr("div",{ref:i,style:a.value,class:"uni-slider-handle"},null,4),Lr("div",{style:u.value,class:"uni-slider-thumb"},null,4),Lr("div",{style:c.value,class:"uni-slider-track"},null,4)],4)]),zo(Lr("span",{ref:o,class:"uni-slider-value"},[r.value],512),[[Ia,e.showValue]])]),Lr("slot",null,null)],8,["onClick"])}}}),Mg=(e,t,n)=>(n=Number(n),100*(e-(t=Number(t)))/(n-t)+"%");var Lg={mul:function(e){let t=0,n=this.toString(),o=e.toString();try{t+=n.split(".")[1].length}catch(i){}try{t+=o.split(".")[1].length}catch(i){}return Number(n.replace(".",""))*Number(o.replace(".",""))/Math.pow(10,t)}};function Rg(e,t,n,o,i,r){function a(){c&&(clearTimeout(c),c=null)}let s,l,c=null,u=!0,d=0,h=1,p=null,f=!1,m=0,g="";const y=ra(()=>n.value.length>t.displayMultipleItems),b=ra(()=>e.circular&&y.value);function v(i){Math.floor(2*d)===Math.floor(2*i)&&Math.ceil(2*d)===Math.ceil(2*i)||b.value&&function(o){if(!u)for(let i=n.value,r=i.length,a=o+t.displayMultipleItems,s=0;s=c.length&&(i-=c.length),i=s%1>.5||s<0?i-1:i,r("transition",{},{dx:e.vertical?0:i*l.offsetWidth,dy:e.vertical?i*l.offsetHeight:0})}function _(e){const o=n.value.length;if(!o)return-1;const i=(Math.round(e)%o+o)%o;if(b.value){if(o<=t.displayMultipleItems)return 0}else if(i>o-t.displayMultipleItems)return o-t.displayMultipleItems;return i}function w(){p=null}function x(){if(!p)return void(f=!1);const e=p,o=e.toPos,i=e.acc,a=e.endTime,c=e.source,u=a-Date.now();if(u<=0){v(o),p=null,f=!1,s=null;const e=n.value[t.current];if(e){const n=e.getItemId();r("animationfinish",{},{current:t.current,currentItemId:n,source:c})}return}v(o+i*u*u/2),l=requestAnimationFrame(x)}function S(e,o,i){w();const r=t.duration,a=n.value.length;let s=d;if(b.value)if(i<0){for(;se;)s-=a}else if(i>0){for(;s>e;)s-=a;for(;s+ae;)s-=a;s+a-ee.current,()=>e.currentItemId,()=>[...n.value]],()=>{let o=-1;if(e.currentItemId)for(let t=0,i=n.value;te.vertical,()=>b.value,()=>t.displayMultipleItems,()=>[...n.value]],function(){a(),p&&(v(p.toPos),p=null);const i=n.value;for(let t=0;t0&&h<1||(h=1)}const s=d;d=-2;const l=t.current;l>=0?(u=!1,t.userTracking?(v(s+l-m),m=l):(v(l),e.autoplay&&k())):(u=!0,v(-t.displayMultipleItems-1))}),No(()=>t.interval,()=>{c&&(a(),k())}),No(()=>t.current,(e,o)=>{!function(e,o){const i=g;g="";const a=n.value;if(!i){const t=a.length;S(e,"",b.value&&o+(t-e)%t>t/2?1:0)}const s=a[e];if(s){const e=t.currentItemId=s.getItemId();r("change",{},{current:t.current,currentItemId:e,source:i})}}(e,o),i("update:current",e)}),No(()=>t.currentItemId,e=>{i("update:currentItemId",e)}),No(()=>e.autoplay&&!t.userTracking,C),C(e.autoplay&&!t.userTracking),yi(()=>{let i=!1,r=0,s=0;function l(e){t.userTracking=!1;const n=r/Math.abs(r);let o=0;!e&&Math.abs(r)>.2&&(o=.5*n);const i=_(d+o);e?v(m):(g="touch",t.current=i,S(i,"touch",0!==o?o:0===i&&b.value&&d>=1?1:0))}Km(o.value,c=>{if(!e.disableTouch&&!u){if("start"===c.detail.state)return t.userTracking=!0,i=!1,a(),m=d,r=0,s=Date.now(),void w();if("end"===c.detail.state)return l(!1);if("cancel"===c.detail.state)return l(!0);if(t.userTracking){if(!i){i=!0;const n=Math.abs(c.detail.dx),o=Math.abs(c.detail.dy);if((n>=o&&e.vertical||n<=o&&!e.vertical)&&(t.userTracking=!1),!t.userTracking)return void(e.autoplay&&k())}return function(i){const a=s;s=Date.now();const l=n.value.length-t.displayMultipleItems;function c(e){return.5-.25/(e+.5)}function u(e,t){let n=m+e;r=.6*r+.4*t,b.value||(n<0||n>l)&&(n<0?n=-c(-n):n>l&&(n=l+c(n-l)),r=0),v(n)}const d=s-a||1,h=o.value;e.vertical?u(-i.dy/h.offsetHeight,-i.ddy/d):u(-i.dx/h.offsetWidth,-i.ddx/d)}(c.detail),!1}}})}),wi(()=>{a(),cancelAnimationFrame(l)}),{onSwiperDotClick:function(e){S(t.current=e,g="click",b.value?1:0)},circularEnabled:b,swiperEnabled:y}}const Dg=pd({name:"Swiper",props:{indicatorDots:{type:[Boolean,String],default:!1},vertical:{type:[Boolean,String],default:!1},autoplay:{type:[Boolean,String],default:!1},circular:{type:[Boolean,String],default:!1},interval:{type:[Number,String],default:5e3},duration:{type:[Number,String],default:500},current:{type:[Number,String],default:0},indicatorColor:{type:String,default:""},indicatorActiveColor:{type:String,default:""},previousMargin:{type:String,default:""},nextMargin:{type:String,default:""},currentItemId:{type:String,default:""},skipHiddenItemLayout:{type:[Boolean,String],default:!1},displayMultipleItems:{type:[Number,String],default:1},disableTouch:{type:[Boolean,String],default:!1},navigation:{type:[Boolean,String],default:!1},navigationColor:{type:String,default:"#fff"},navigationActiveColor:{type:String,default:"rgba(53, 53, 53, 0.6)"}},emits:["change","transition","animationfinish","update:current","update:currentItemId"],setup(e,{slots:t,emit:n}){const o=Dn(null),i=gd(o,n),r=Dn(null),a=Dn(null),s=function(e){return wn({interval:ra(()=>{const t=Number(e.interval);return isNaN(t)?5e3:t}),duration:ra(()=>{const t=Number(e.duration);return isNaN(t)?500:t}),displayMultipleItems:ra(()=>{const t=Math.round(e.displayMultipleItems);return isNaN(t)?1:t}),current:Math.round(e.current)||0,currentItemId:e.currentItemId,userTracking:!1})}(e),l=ra(()=>{let t={};return(e.nextMargin||e.previousMargin)&&(t=e.vertical?{left:0,right:0,top:xu(e.previousMargin,!0),bottom:xu(e.nextMargin,!0)}:{top:0,bottom:0,left:xu(e.previousMargin,!0),right:xu(e.nextMargin,!0)}),t}),c=ra(()=>{const t=Math.abs(100/s.displayMultipleItems)+"%";return{width:e.vertical?"100%":t,height:e.vertical?t:"100%"}});let u=[];const d=[],h=Dn([]);function p(){const e=[];for(let t=0;tn===e.rootRef.value);o&&e.push(Pn(o))}h.value=e}Xi("addSwiperContext",function(e){d.push(e),p()});Xi("removeSwiperContext",function(e){const t=d.indexOf(e);t>=0&&(d.splice(t,1),p())});const{onSwiperDotClick:f,circularEnabled:m,swiperEnabled:g}=Rg(e,s,h,a,n,i);let y=()=>null;return y=zg(o,e,s,f,h,m,g),()=>{const n=t.default&&t.default();return u=Um(n),Lr("uni-swiper",{ref:o},[Lr("div",{ref:r,class:"uni-swiper-wrapper"},[Lr("div",{class:"uni-swiper-slides",style:l.value},[Lr("div",{ref:a,class:"uni-swiper-slide-frame",style:c.value},[n],4)],4),e.indicatorDots&&Lr("div",{class:["uni-swiper-dots",e.vertical?"uni-swiper-dots-vertical":"uni-swiper-dots-horizontal"]},[h.value.map((t,n,o)=>Lr("div",{onClick:()=>f(n),class:{"uni-swiper-dot":!0,"uni-swiper-dot-active":n=s.current||n{let s=!1,l=!1,c=!1,d=Dn(!1);function h(e,n){const o=e.currentTarget;o&&(o.style.backgroundColor="over"===n?t.navigationActiveColor:"")}Bo(()=>{s="auto"===t.navigation,d.value=!0!==t.navigation||s,v()}),Bo(()=>{const e=i.value.length,t=!r.value;l=0===n.current&&t,c=n.current===e-1&&t||t&&n.current+n.displayMultipleItems>=e,a.value||(l=!0,c=!0,s&&(d.value=!0))});const p={onMouseover:e=>h(e,"over"),onMouseout:e=>h(e,"out")};function f(e,t,a){if(e.stopPropagation(),a)return;const s=i.value.length;let l=n.current;switch(t){case"prev":l--,l<0&&r.value&&(l=s-1);break;case"next":l++,l>=s&&r.value&&(l=0)}o(l)}const m=()=>Au(Cu,t.navigationColor,26);let g;const y=n=>{clearTimeout(g);const{clientX:o,clientY:i}=n,{left:r,right:a,top:s,bottom:l,width:c,height:u}=e.value.getBoundingClientRect();let h=!1;if(h=t.vertical?!(i-s{d.value=h},300);d.value=h},b=()=>{d.value=!0};function v(){e.value&&(e.value.removeEventListener("mousemove",y),e.value.removeEventListener("mouseleave",b),s&&(e.value.addEventListener("mousemove",y),e.value.addEventListener("mouseleave",b)))}return yi(v),function(){const e={"uni-swiper-navigation-hide":d.value,"uni-swiper-navigation-vertical":t.vertical};return t.navigation?Lr(yr,null,[Lr("div",Hr({class:["uni-swiper-navigation uni-swiper-navigation-prev",u({"uni-swiper-navigation-disabled":l},e)],onClick:e=>f(e,"prev",l)},p),[m()],16,["onClick"]),Lr("div",Hr({class:["uni-swiper-navigation uni-swiper-navigation-next",u({"uni-swiper-navigation-disabled":c},e)],onClick:e=>f(e,"next",c)},p),[m()],16,["onClick"])]):null}},$g=pd({name:"SwiperItem",props:{itemId:{type:String,default:""}},setup(e,{slots:t}){const n=Dn(null),o={rootRef:n,getItemId:()=>e.itemId,getBoundingClientRect:()=>n.value.getBoundingClientRect(),updatePosition(e,t){const o=t?"0":100*e+"%",i=t?100*e+"%":"0",r=n.value,a=`translate(${o},${i}) translateZ(0)`;r&&(r.style.webkitTransform=a,r.style.transform=a)}};return yi(()=>{const e=Ki("addSwiperContext");e&&e(o)}),wi(()=>{const e=Ki("removeSwiperContext");e&&e(o)}),()=>Lr("uni-swiper-item",{ref:n,style:{position:"absolute",width:"100%",height:"100%"}},[t.default&&t.default()],512)}}),Fg={ensp:" ",emsp:" ",nbsp:" "};function jg(e,t){return function(e,{space:t,decode:n}){let o="",i=!1;for(let r of e)t&&Fg[t]&&" "===r&&(r=Fg[t]),i?(o+="n"===r?ie:"\\"===r?"\\":"\\"+r,i=!1):"\\"===r?i=!0:o+=r;return n?o.replace(/ /g,Fg.nbsp).replace(/ /g,Fg.ensp).replace(/ /g,Fg.emsp).replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&").replace(/"/g,'"').replace(/'/g,"'"):o}(e,t).split(ie)}const Hg=pd({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=Dn(null);return()=>{const o=[];return t.default&&t.default().forEach(t=>{if(8&t.shapeFlag&&t.type!==vr){const n=jg(t.children,{space:e.space,decode:e.decode}),i=n.length-1;n.forEach((e,t)=>{(0!==t||e)&&o.push(Dr(e)),t!==i&&o.push(Lr("br"))})}else o.push(t)}),Lr("uni-text",{ref:n,selectable:!!e.selectable||null},[Lr("span",null,o)],8,["selectable"])}}}),Vg=u({},Rm,{placeholderClass:{type:String,default:"input-placeholder"},autoHeight:{type:[Boolean,String],default:!1},confirmType:{type:String,default:"return",validator:e=>Ug.concat("return").includes(e)}});let Wg=!1;const Ug=["done","go","next","search","send"];const qg=pd({name:"Textarea",props:Vg,emits:["confirm","linechange",...Dm],setup(e,{emit:t,expose:n}){const o=Dn(null),i=Dn(null),{fieldRef:r,state:a,scopedAttrsState:s,fixDisabledColor:l,trigger:c}=Fm(e,o,t),u=ra(()=>a.value.split(ie)),d=ra(()=>Ug.includes(e.confirmType)),h=Dn(0),p=Dn(null);function f({height:e}){h.value=e}function m(e){"Enter"===e.key&&d.value&&e.preventDefault()}function g(t){if("Enter"===t.key&&d.value){!function(e){c("confirm",e,{value:a.value})}(t);const n=t.target;!e.confirmHold&&n.blur()}}return No(()=>h.value,t=>{const n=o.value,r=p.value,a=i.value;let s=parseFloat(getComputedStyle(n).lineHeight);isNaN(s)&&(s=r.offsetHeight);var l=Math.round(t/s);c("linechange",{},{height:t,heightRpx:750/window.innerWidth*t,lineCount:l}),e.autoHeight&&(n.style.height="auto",a.style.height=t+"px")}),function(){const e="(prefers-color-scheme: dark)";Wg=0===String(navigator.platform).indexOf("iP")&&0===String(navigator.vendor).indexOf("Apple")&&window.matchMedia(e).media!==e}(),n({$triggerInput:e=>{t("update:modelValue",e.value),t("update:value",e.value),a.value=e.value}}),()=>{let t=e.disabled&&l?Lr("textarea",{key:"disabled-textarea",ref:r,value:a.value,tabindex:"-1",readonly:!!e.disabled,maxlength:a.maxlength,class:{"uni-textarea-textarea":!0,"uni-textarea-textarea-fix-margin":Wg},style:{overflowY:e.autoHeight?"hidden":"auto",...e.cursorColor&&{caretColor:e.cursorColor}},onFocus:e=>e.target.blur()},null,46,["value","readonly","maxlength","onFocus"]):Lr("textarea",{key:"textarea",ref:r,value:a.value,disabled:!!e.disabled,maxlength:a.maxlength,enterkeyhint:e.confirmType,inputmode:e.inputmode,class:{"uni-textarea-textarea":!0,"uni-textarea-textarea-fix-margin":Wg},style:{overflowY:e.autoHeight?"hidden":"auto",...e.cursorColor&&{caretColor:e.cursorColor}},onKeydown:m,onKeyup:g},null,46,["value","disabled","maxlength","enterkeyhint","inputmode","onKeydown","onKeyup"]);return Lr("uni-textarea",{ref:o},[Lr("div",{ref:i,class:"uni-textarea-wrapper"},[zo(Lr("div",Hr(s.attrs,{style:e.placeholderStyle,class:["uni-textarea-placeholder",e.placeholderClass]}),[e.placeholder],16),[[Ia,!a.value.length]]),Lr("div",{ref:p,class:"uni-textarea-line"},[" "],512),Lr("div",{class:"uni-textarea-compute"},[u.value.map(e=>Lr("div",null,[e.trim()?e:"."])),Lr(qf,{initial:!0,onResize:f},null,8,["initial","onResize"])]),"search"===e.confirmType?Lr("form",{action:"",onSubmit:()=>!1,class:"uni-input-form"},[t],40,["onSubmit"]):t],512)],512)}}}),Qg=pd({name:"View",props:u({},yd),setup(e,{slots:t}){const n=Dn(null),{hovering:o,binding:i}=bd(e);return()=>{const r=e.hoverClass;return r&&"none"!==r?Lr("uni-view",Hr({class:o.value?r:"",ref:n},i),[t.default&&t.default()],16):Lr("uni-view",{ref:n},[t.default&&t.default()],512)}}});function Gg(e,t){if(t||(t=e.id),t)return e.$options.name.toLowerCase()+"."+t}function Yg(e,t,n){e&&Vc(n||Bu(),e,({type:e,data:n},o)=>{t(e,n,o)})}function Xg(e,t){e&&function(e,t){t=Hc(e,t),delete jc[t]}(t||Bu(),e)}function Kg(e,t,n,o){const i=Qr().proxy;yi(()=>{Yg(t||Gg(i),e,o),!n&&t||No(()=>i.id,(t,n)=>{Yg(Gg(i,t),e,o),Xg(n&&Gg(i,n))})}),_i(()=>{Xg(t||Gg(i),o)})}let Jg=0;function Zg(e){const t=Tu(),n=Qr().proxy,o=n.$options.name.toLowerCase(),i=e||n.id||"context"+Jg++;return yi(()=>{n.$el.__uniContextInfo={id:i,type:o,page:t}}),`${o}.${i}`}function ey(e,t,n,o){b(t)&&fi(e,t.bind(n),o)}function ty(e,t,n){var o;const i=e.mpType||n.$mpType;if(i&&"component"!==i&&(Object.keys(e).forEach(o=>{if(function(e,t,n=!0){return!(n&&!b(t))&&(rt.indexOf(e)>-1||0===e.indexOf("on"))}(o,e[o],!1)){const i=e[o];f(i)?i.forEach(e=>ey(o,e,n,t)):ey(o,i,n,t)}}),"page"===i)){t.__isVisible=!0;try{const e=t.attrs.__pageQuery;0,Lu(n,fe,e),delete t.attrs.__pageQuery,"preloadPage"!==(null==(o=n.$page)?void 0:o.openType)&&Lu(n,le)}catch(r){console.error(r.message+ie+r.stack)}}}function ny(e,t,n){ty(e,t,n)}function oy(e,t,n){return e[t]=n}function iy(e,...t){const n=this[e];return n?n(...t):(console.error(`method ${e} not found`),null)}function ry(e){return function(t,n,o){if(!n)throw t;const i=e._instance;if(!i||!i.proxy)throw t;Lu(i.proxy,ue,t)}}function ay(e,t){return e?[...new Set([].concat(e,t))]:t}function sy(e){const t=e._context.config;var n;t.errorHandler=st(e,ry),n=t.optionMergeStrategies,rt.forEach(e=>{n[e]=ay});const o=t.globalProperties;o.$set=oy,o.$applyOptions=ny,o.$callMethod=iy,function(e){at.forEach(t=>t(e))}(e)}const ly=_u("upm");function cy(){return Ki(ly)}function uy(e){const t=function(e){return wn(function(e){{const{navigationBar:t}=e,{titleSize:n,titleColor:o,backgroundColor:i}=t;t.titleText=t.titleText||"",t.type=t.type||"default",t.titleSize=n||"16px",t.titleColor=o||"#000000",t.backgroundColor=i||"#F8F8F8"}if(history.state){const t=history.state.__type__;"redirectTo"!==t&&"reLaunch"!==t||0!==Cy().length||(e.isEntry=!0,e.isQuit=!0)}return e}(JSON.parse(JSON.stringify(Mu(xc().meta,e)))))}(e);return Xi(ly,t),t}function dy(){return xc()}function hy(){return history.state&&history.state.__id__||1}let py;function fy(){var e;return py||(py=__uniConfig.tabBar&&wn((e=__uniConfig.tabBar,Sc()&&e.list&&e.list.forEach(e=>{Tc(e,["text"])}),e))),py}const my=window.CSS&&window.CSS.supports;function gy(e){return my&&(my(e)||my.apply(window.CSS,e.split(":")))}const yy=gy("top:env(a)"),by=gy("top:constant(a)"),vy=gy("backdrop-filter:blur(10px)"),_y=(()=>yy?"env":by?"constant":"")();function wy(e){return _y?`calc(${e}px + ${_y}(safe-area-inset-bottom))`:`${e}px`}const xy="$$",Sy=new Map;function ky(){return Sy}function Cy(){const e=[],t=Sy.values();for(const n of t)n.$.__isTabBar?n.$.__isActive&&e.push(n):e.push(n);return e}function Ay(e,t=!0){const n=Sy.get(e);n.$.__isUnload=!0,Lu(n,me),Sy.delete(e),t&&function(e){const t=By.get(e);t&&(By.delete(e),Oy.pruneCacheEntry(t))}(e)}let Ty=hy();function Iy(e){const t=cy();let n=e.fullPath;return e.meta.isEntry&&-1===n.indexOf(e.meta.route)&&(n="/"+e.meta.route+n.replace("/","")),function(e,t,n,o,i,r){const{id:a,route:s}=o,l=dt(o.navigationBar,__uniConfig.themeConfig,r).titleColor;return{id:a,path:He(s),route:s,fullPath:t,options:n,meta:o,openType:e,eventChannel:i,statusBarStyle:"#ffffff"===l?"light":"dark"}}("navigateTo",n,{},t)}function Ey(e){const t=Iy(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),Sy.set(Py(t.path,t.id),e)}function Py(e,t){return e+xy+t}const By=new Map,Oy={get:e=>By.get(e),set(e,t){!function(e){const t=parseInt(e.split(xy)[1]);if(!t)return;Oy.forEach((e,n)=>{const o=parseInt(n.split(xy)[1]);if(o&&o>t){if(function(e){return"tabBar"===e.props.type}(e))return;Oy.delete(n),Oy.pruneCacheEntry(e),no(()=>{Sy.forEach((e,t)=>{e.$.isUnmounted&&Sy.delete(t)})})}})}(e),By.set(e,t)},delete(e){By.get(e)&&By.delete(e)},forEach(e){By.forEach(e)}};function Ny(e,t){!function(e){const t=Ly(e),{body:n}=document;Ry&&n.removeAttribute(Ry),t&&n.setAttribute(t,""),Ry=t}(e),function(e){let t=0,n=0;if("custom"!==e.navigationBar.style&&["default","float"].indexOf(e.navigationBar.type)>-1&&(t=44),e.isTabBar){const e=fy();e.shown&&(n=parseInt(e.height))}var o;vu({"--window-top":(o=t,_y?`calc(${o}px + ${_y}(safe-area-inset-top))`:`${o}px`),"--window-bottom":wy(n)})}(t),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),function(e,t){document.removeEventListener("touchmove",Ru),Dy&&document.removeEventListener("scroll",Dy);if(t.disableScroll)return document.addEventListener("touchmove",Ru);const{onPageScroll:n,onReachBottom:o}=e,i="transparent"===t.navigationBar.type;if(!n&&!o&&!i)return;const r={},a=e.proxy.$page.id;(n||i)&&(r.onPageScroll=function(e,t,n){return o=>{t&&F_.publishHandler(_e,{scrollTop:o},e),n&&F_.emit(e+"."+_e,{scrollTop:o})}}(a,n,i));o&&(r.onReachBottomDistance=t.onReachBottomDistance||50,r.onReachBottom=()=>F_.publishHandler(xe,{},a));Dy=$u(r),requestAnimationFrame(()=>document.addEventListener("scroll",Dy))}(e,t)}function My(e){const t=Ly(e);t&&function(e){const t=document.querySelector("uni-page-body");t&&t.setAttribute(e,"")}(t)}function Ly(e){return e.type.__scopeId}let Ry,Dy;function zy(e){const t=wc({history:Fy(),strict:!!__uniConfig.router.strict,routes:__uniRoutes,scrollBehavior:$y});e.router=t,e.use(t)}const $y=(e,t,n)=>{if(n)return n};function Fy(){let{routerBase:e}=__uniConfig.router;"/"===e&&(e="");const t=(n=e,(n=location.host?n||location.pathname+location.search:"").includes("#")||(n+="#"),Gl(n));var n;return t.listen((e,t,n)=>{"back"===n.direction&&function(e=1){const t=Cy(),n=t.length-1,o=n-e;for(let i=n;i>o;i--){const e=t[i].$page;Ay(Py(e.path,e.id),!1)}}(Math.abs(n.delta))}),t}const jy={install(e){sy(e),Ku(e),ld(e),e.config.warnHandler||(e.config.warnHandler=Hy),zy(e)}};function Hy(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 Vy={class:"uni-async-loading"},Wy=Lr("i",{class:"uni-loading"},null,-1),Uy=fd({name:"AsyncLoading",render:()=>(Sr(),Ir("div",Vy,[Wy]))});function qy(){window.location.reload()}const Qy=fd({name:"AsyncError",setup(){Pc();const{t:e}=Ic();return()=>Lr("div",{class:"uni-async-error",onClick:qy},[e("uni.async.error")],8,["onClick"])}});let Gy;function Yy(){return Gy}function Xy(e){Gy=e,Object.defineProperty(Gy.$.ctx,"$children",{get:()=>Cy().map(e=>e.$vm)});const t=Gy.$.appContext.app;t.component(Uy.name)||t.component(Uy.name,Uy),t.component(Qy.name)||t.component(Qy.name,Qy),function(e){e.$vm=e,e.$mpType="app";const t=Dn(Ic().getLocale());Object.defineProperty(e,"$locale",{get:()=>t.value,set(e){t.value=e}})}(Gy),function(e,t){const n=e.$options||{};n.globalData=u(n.globalData||{},t),Object.defineProperty(e,"globalData",{get:()=>n.globalData,set(e){n.globalData=e}})}(Gy),ad(),tu()}function Ky(e,{clone:t,init:n,setup:o,before:i}){t&&(e=u({},e)),i&&i(e);const r=e.setup;return e.setup=(e,t)=>{const i=Qr();n(i.proxy);const a=o(i);if(r)return r(a||e,t)},e}function Jy(e,t){return e&&(e.__esModule||"Module"===e[Symbol.toStringTag])?Ky(e.default,t):Ky(e,t)}function Zy(e){return Jy(e,{clone:!0,init:Ey,setup(e){e.$pageInstance=e;const t=dy(),n=Ze(t.query);e.attrs.__pageQuery=n,e.proxy.$page.options=n,e.proxy.options=n;const o=cy();var i,r,a;return gi(()=>{Ny(e,o)}),yi(()=>{My(e);const{onReady:n}=e;n&&R(n),ob(t)}),li(()=>{if(!e.__isVisible){Ny(e,o),e.__isVisible=!0;const{onShow:n}=e;n&&R(n),no(()=>{ob(t)})}},"ba",i),function(e,t){li(e,"bda",t)}(()=>{if(e.__isVisible&&!e.__isUnload){e.__isVisible=!1;const{onHide:t}=e;t&&R(t)}}),r=o.id,F_.subscribe(Hc(r,zc),a?a(Wc):Wc),_i(()=>{!function(e){F_.unsubscribe(Hc(e,zc)),Object.keys(jc).forEach(t=>{0===t.indexOf(e+".")&&delete jc[t]})}(o.id)}),n}})}function eb(){const{windowWidth:e,windowHeight:t,screenWidth:n,screenHeight:o}=Rb(),i=90===Math.abs(Number(window.orientation))?"landscape":"portrait";j_.emit(be,{deviceOrientation:i,size:{windowWidth:e,windowHeight:t,screenWidth:n,screenHeight:o}})}function tb(e){C(e.data)&&"WEB_INVOKE_APPSERVICE"===e.data.type&&j_.emit(Me,e.data.data,e.data.pageId)}function nb(){const{emit:e}=j_;"visible"===document.visibilityState?e(Oe,u({},Uf)):e(Ne)}function ob(e){const{tabBarText:t,tabBarIndex:n,route:o}=e.meta;t&&Lu("onTabItemTap",{index:n,text:t,pagePath:o})}function ib(e){e=e>0&&e<1/0?e:0;const t=Math.floor(e/3600),n=Math.floor(e%3600/60),o=Math.floor(e%3600%60),i=(t<10?"0":"")+t;let r=(n<10?"0":"")+n+":"+((o<10?"0":"")+o);return"00"!==i&&(r=i+":"+r),r}function rb(e,t,n){const o=wn({gestureType:"none",volumeOld:0,volumeNew:0,currentTimeOld:0,currentTimeNew:0}),i={x:0,y:0};return{state:o,onTouchstart:function(e){const t=e.targetTouches[0];i.x=t.pageX,i.y=t.pageY,o.gestureType="none",o.volumeOld=0,o.currentTimeOld=o.currentTimeNew=0},onTouchmove:function(r){function a(){r.stopPropagation(),r.preventDefault()}n.fullscreen&&a();const s=o.gestureType;if("stop"===s)return;const l=r.targetTouches[0],c=l.pageX,u=l.pageY,d=i,h=t.value;if("progress"===s?function(e){const n=t.value,i=n.duration;let r=e/600*i+o.currentTimeOld;r<0?r=0:r>i&&(r=i);o.currentTimeNew=r}(c-d.x):"volume"===s&&function(e){const n=t.value,i=o.volumeOld;let r;"number"==typeof i&&(r=i-e/200,r<0?r=0:r>1&&(r=1),n.volume=r,o.volumeNew=r)}(u-d.y),"none"===s)if(Math.abs(c-d.x)>Math.abs(u-d.y)){if(!e.enableProgressGesture)return void(o.gestureType="stop");o.gestureType="progress",o.currentTimeOld=o.currentTimeNew=h.currentTime,n.fullscreen||a()}else{if(!e.pageGesture)return void(o.gestureType="stop");o.gestureType="volume",o.volumeOld=h.volume,n.fullscreen||a()}},onTouchend:function(e){const n=t.value;"none"!==o.gestureType&&"stop"!==o.gestureType&&(e.stopPropagation(),e.preventDefault()),"progress"===o.gestureType&&o.currentTimeOld!==o.currentTimeNew&&(n.currentTime=o.currentTimeNew),o.gestureType="none"}}}const ab=pd({name:"Video",props:{id:{type:String,default:""},src:{type:String,default:""},duration:{type:[Number,String],default:""},controls:{type:[Boolean,String],default:!0},danmuList:{type:Array,default:()=>[]},danmuBtn:{type:[Boolean,String],default:!1},enableDanmu:{type:[Boolean,String],default:!1},autoplay:{type:[Boolean,String],default:!1},loop:{type:[Boolean,String],default:!1},muted:{type:[Boolean,String],default:!1},objectFit:{type:String,default:"contain"},poster:{type:String,default:""},direction:{type:[String,Number],default:""},showProgress:{type:Boolean,default:!0},initialTime:{type:[String,Number],default:0},showFullscreenBtn:{type:[Boolean,String],default:!0},pageGesture:{type:[Boolean,String],default:!1},enableProgressGesture:{type:[Boolean,String],default:!0},showPlayBtn:{type:[Boolean,String],default:!0},showCenterPlayBtn:{type:[Boolean,String],default:!0}},emits:["fullscreenchange","progress","loadedmetadata","waiting","error","play","pause","ended","timeupdate"],setup(e,{emit:t,attrs:n,slots:o}){const i=Dn(null),r=Dn(null),a=gd(i,t),{state:s}=Bm(),{$attrs:l}=Wm({excludeListeners:!0}),{t:c}=Ic();Rc();const{videoRef:u,state:d,play:h,pause:p,stop:m,seek:g,playbackRate:y,toggle:b,onDurationChange:v,onLoadedMetadata:_,onProgress:w,onWaiting:x,onVideoError:S,onPlay:k,onPause:C,onEnded:A,onTimeUpdate:T}=function(e,t,n){const o=Dn(null),i=ra(()=>Id(e.src)),r=ra(()=>"true"===e.muted||!0===e.muted),a=wn({start:!1,src:i,playing:!1,currentTime:0,duration:0,progress:0,buffered:0,muted:r});function s(e){const t=e.target,n=t.buffered;n.length&&(a.buffered=n.end(n.length-1)/t.duration*100)}function l(){o.value.pause()}function c(e){const t=o.value;"number"!=typeof(e=Number(e))||isNaN(e)||(t.currentTime=e)}return No(()=>i.value,()=>{a.playing=!1,a.currentTime=0}),No(()=>a.buffered,e=>{n("progress",{},{buffered:e})}),No(()=>r.value,e=>{o.value.muted=e}),{videoRef:o,state:a,play:function(){const e=o.value;a.start=!0,e.play()},pause:l,stop:function(){c(0),l()},seek:c,playbackRate:function(e){o.value.playbackRate=e},toggle:function(){const e=o.value;a.playing?e.pause():e.play()},onDurationChange:function({target:e}){a.duration=e.duration},onLoadedMetadata:function(t){const o=Number(e.initialTime)||0,i=t.target;o>0&&(i.currentTime=o),n("loadedmetadata",t,{width:i.videoWidth,height:i.videoHeight,duration:i.duration}),s(t)},onProgress:s,onWaiting:function(e){n("waiting",e,{})},onVideoError:function(e){a.playing=!1,n("error",e,{})},onPlay:function(e){a.start=!0,a.playing=!0,n("play",e,{})},onPause:function(e){a.playing=!1,n("pause",e,{})},onEnded:function(e){a.playing=!1,n("ended",e,{})},onTimeUpdate:function(e){const t=e.target,o=a.currentTime=t.currentTime;n("timeupdate",e,{currentTime:o,duration:t.duration})}}}(e,0,a),{state:I,danmuRef:E,updateDanmu:P,toggleDanmu:B,sendDanmu:O}=function(e,t){const n=Dn(null),o=wn({enable:Boolean(e.enableDanmu)});let i={time:0,index:-1};const r=f(e.danmuList)?JSON.parse(JSON.stringify(e.danmuList)):[];function a(e){const t=document.createElement("p");t.className="uni-video-danmu-item",t.innerText=e.text;let o=`bottom: ${100*Math.random()}%;color: ${e.color};`;t.setAttribute("style",o),n.value.appendChild(t),setTimeout(function(){o+="left: 0;-webkit-transform: translateX(-100%);transform: translateX(-100%);",t.setAttribute("style",o),setTimeout(function(){t.remove()},4e3)},17)}return r.sort(function(e,t){return(e.time||0)-(t.time||0)}),{state:o,danmuRef:n,updateDanmu:function(e){const n=e.target.currentTime,s=i,l={time:n,index:s.index};if(n>s.time)for(let i=s.index+1;i=(e.time||0)))break;l.index=i,t.playing&&o.enable&&a(e)}else if(n-1&&n<=(r[t].time||0);t--)l.index=t-1;i=l},toggleDanmu:function(){o.enable=!o.enable},sendDanmu:function(e){r.splice(i.index+1,0,{text:String(e.text),color:e.color,time:t.currentTime||0})}}}(e,d),{state:N,onFullscreenChange:M,emitFullscreenChange:L,toggleFullscreen:R,requestFullScreen:D,exitFullScreen:z}=function(e,t,n,o,i){const r=wn({fullscreen:!1}),a=/^Apple/.test(navigator.vendor);function s(t){r.fullscreen=t,e("fullscreenchange",{},{fullScreen:t,direction:"vertical"})}function l(e){const r=i.value,l=t.value,c=n.value;let u;e?!document.fullscreenEnabled&&!document.webkitFullscreenEnabled||a&&!o.userAction?c.webkitEnterFullScreen?c.webkitEnterFullScreen():(u=!0,l.remove(),l.classList.add("uni-video-type-fullscreen"),document.body.appendChild(l)):l[document.fullscreenEnabled?"requestFullscreen":"webkitRequestFullscreen"]():document.fullscreenEnabled||document.webkitFullscreenEnabled?document.fullscreenElement?document.exitFullscreen():document.webkitFullscreenElement&&document.webkitExitFullscreen():c.webkitExitFullScreen?c.webkitExitFullScreen():(u=!0,l.remove(),l.classList.remove("uni-video-type-fullscreen"),r.appendChild(l)),u&&s(e)}function c(){l(!1)}return _i(c),{state:r,onFullscreenChange:function(e,t){t&&document.fullscreenEnabled||s(!(!document.fullscreenElement&&!document.webkitFullscreenElement))},emitFullscreenChange:s,toggleFullscreen:l,requestFullScreen:function(){l(!0)},exitFullScreen:c}}(a,r,u,s,i),{state:$,onTouchstart:F,onTouchend:j,onTouchmove:H}=rb(e,u,N),{state:V,progressRef:W,ballRef:U,clickProgress:q,toggleControls:Q}=function(e,t,n){const o=Dn(null),i=Dn(null),r=ra(()=>e.showCenterPlayBtn&&!t.start),a=Dn(!0),s=ra(()=>!r.value&&e.controls&&a.value),l=wn({touching:!1,controlsTouching:!1,centerPlayBtnShow:r,controlsShow:s,controlsVisible:a});let c;function u(){c=setTimeout(()=>{l.controlsVisible=!1},3e3)}function d(){c&&(clearTimeout(c),c=null)}return _i(()=>{c&&clearTimeout(c)}),No(()=>l.controlsShow&&t.playing&&!l.controlsTouching,e=>{e?u():d()}),No([()=>t.currentTime,()=>{e.duration}],function(){l.touching||(t.progress=t.currentTime/t.duration*100)}),yi(()=>{const e=Xe(!1);let r,a,s,c=!0;const u=i.value;function d(e){const n=e.targetTouches[0],i=n.pageX,l=n.pageY;if(c&&Math.abs(i-r)100&&(d=100),t.progress=d,e.preventDefault(),e.stopPropagation()}function h(o){l.controlsTouching=!1,l.touching&&(u.removeEventListener("touchmove",d,e),c||(o.preventDefault(),o.stopPropagation(),n(t.duration*t.progress/100)),l.touching=!1)}u.addEventListener("touchstart",n=>{l.controlsTouching=!0;const o=n.targetTouches[0];r=o.pageX,a=o.pageY,s=t.progress,c=!0,l.touching=!0,u.addEventListener("touchmove",d,e)}),u.addEventListener("touchend",h),u.addEventListener("touchcancel",h)}),{state:l,progressRef:o,ballRef:i,clickProgress:function(e){const i=o.value;let r=e.target,a=e.offsetX;for(;r&&r!==i;)a+=r.offsetLeft,r=r.parentNode;const s=i.offsetWidth;let l=0;a>=0&&a<=s&&(l=a/s,n(t.duration*l))},toggleControls:function(){l.controlsVisible=!l.controlsVisible},autoHideStart:u,autoHideEnd:d}}(e,d,g);return function(e,t,n,o,i,r,a,s){const l={play:e,stop:n,pause:t,seek:o,sendDanmu:i,playbackRate:r,requestFullScreen:a,exitFullScreen:s};Kg((e,t)=>{let n;switch(e){case"seek":n=t.position;break;case"sendDanmu":n=t;break;case"playbackRate":n=t.rate}e in l&&l[e](n)},Zg(),!0)}(h,p,m,g,O,y,D,z),()=>Lr("uni-video",{ref:i,id:e.id,onClick:Q},[Lr("div",{ref:r,class:"uni-video-container",onTouchstart:F,onTouchend:j,onTouchmove:H,onFullscreenchange:vs(M,["stop"]),onWebkitfullscreenchange:vs(e=>M(e,!0),["stop"])},[Lr("video",Hr({ref:u,style:{"object-fit":e.objectFit},muted:!!e.muted,loop:!!e.loop,src:d.src,poster:e.poster,autoplay:!!e.autoplay},l.value,{class:"uni-video-video","webkit-playsinline":!0,playsinline:!0,onDurationchange:v,onLoadedmetadata:_,onProgress:w,onWaiting:x,onError:S,onPlay:k,onPause:C,onEnded:A,onTimeupdate:e=>{T(e),P(e)},onWebkitbeginfullscreen:()=>L(!0),onX5videoenterfullscreen:()=>L(!0),onWebkitendfullscreen:()=>L(!1),onX5videoexitfullscreen:()=>L(!1)}),null,16,["muted","loop","src","poster","autoplay","webkit-playsinline","playsinline","onDurationchange","onLoadedmetadata","onProgress","onWaiting","onError","onPlay","onPause","onEnded","onTimeupdate","onWebkitbeginfullscreen","onX5videoenterfullscreen","onWebkitendfullscreen","onX5videoexitfullscreen"]),zo(Lr("div",{class:"uni-video-bar uni-video-bar-full",onClick:vs(()=>{},["stop"])},[Lr("div",{class:"uni-video-controls"},[zo(Lr("div",{class:{"uni-video-control-button":!0,"uni-video-control-button-play":!d.playing,"uni-video-control-button-pause":d.playing},onClick:vs(b,["stop"])},null,10,["onClick"]),[[Ia,e.showPlayBtn]]),zo(Lr("div",{class:"uni-video-current-time"},[ib(d.currentTime)],512),[[Ia,e.showProgress]]),zo(Lr("div",{ref:W,class:"uni-video-progress-container",onClick:vs(q,["stop"])},[Lr("div",{class:"uni-video-progress"},[Lr("div",{style:{width:d.buffered+"%"},class:"uni-video-progress-buffered"},null,4),Lr("div",{ref:U,style:{left:d.progress+"%"},class:"uni-video-ball"},[Lr("div",{class:"uni-video-inner"},null)],4)])],8,["onClick"]),[[Ia,e.showProgress]]),zo(Lr("div",{class:"uni-video-duration"},[ib(Number(e.duration)||d.duration)],512),[[Ia,e.showProgress]])]),zo(Lr("div",{class:{"uni-video-danmu-button":!0,"uni-video-danmu-button-active":I.enable},onClick:vs(B,["stop"])},[c("uni.video.danmu")],10,["onClick"]),[[Ia,e.danmuBtn]]),zo(Lr("div",{class:{"uni-video-fullscreen":!0,"uni-video-type-fullscreen":N.fullscreen},onClick:vs(()=>R(!N.fullscreen),["stop"])},null,10,["onClick"]),[[Ia,e.showFullscreenBtn]])],8,["onClick"]),[[Ia,V.controlsShow]]),zo(Lr("div",{ref:E,style:"z-index: 0;",class:"uni-video-danmu"},null,512),[[Ia,d.start&&I.enable]]),V.centerPlayBtnShow&&Lr("div",{class:"uni-video-cover",onClick:vs(()=>{},["stop"])},[Lr("div",{class:"uni-video-cover-play-button",onClick:vs(h,["stop"])},null,8,["onClick"]),Lr("p",{class:"uni-video-cover-duration"},[ib(Number(e.duration)||d.duration)])],8,["onClick"]),Lr("div",{class:{"uni-video-toast":!0,"uni-video-toast-volume":"volume"===$.gestureType}},[Lr("div",{class:"uni-video-toast-title"},[c("uni.video.volume")]),Lr("svg",{class:"uni-video-toast-icon",width:"200px",height:"200px",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},[Lr("path",{d:"M475.400704 201.19552l0 621.674496q0 14.856192-10.856448 25.71264t-25.71264 10.856448-25.71264-10.856448l-190.273536-190.273536-149.704704 0q-14.856192 0-25.71264-10.856448t-10.856448-25.71264l0-219.414528q0-14.856192 10.856448-25.71264t25.71264-10.856448l149.704704 0 190.273536-190.273536q10.856448-10.856448 25.71264-10.856448t25.71264 10.856448 10.856448 25.71264zm219.414528 310.837248q0 43.425792-24.28416 80.851968t-64.2816 53.425152q-5.71392 2.85696-14.2848 2.85696-14.856192 0-25.71264-10.570752t-10.856448-25.998336q0-11.999232 6.856704-20.284416t16.570368-14.2848 19.427328-13.142016 16.570368-20.284416 6.856704-32.569344-6.856704-32.569344-16.570368-20.284416-19.427328-13.142016-16.570368-14.2848-6.856704-20.284416q0-15.427584 10.856448-25.998336t25.71264-10.570752q8.57088 0 14.2848 2.85696 39.99744 15.427584 64.2816 53.139456t24.28416 81.137664zm146.276352 0q0 87.422976-48.56832 161.41824t-128.5632 107.707392q-7.428096 2.85696-14.2848 2.85696-15.427584 0-26.284032-10.856448t-10.856448-25.71264q0-22.284288 22.284288-33.712128 31.997952-16.570368 43.425792-25.141248 42.283008-30.855168 65.995776-77.423616t23.712768-99.136512-23.712768-99.136512-65.995776-77.423616q-11.42784-8.57088-43.425792-25.141248-22.284288-11.42784-22.284288-33.712128 0-14.856192 10.856448-25.71264t25.71264-10.856448q7.428096 0 14.856192 2.85696 79.99488 33.712128 128.5632 107.707392t48.56832 161.41824zm146.276352 0q0 131.42016-72.566784 241.41312t-193.130496 161.989632q-7.428096 2.85696-14.856192 2.85696-14.856192 0-25.71264-10.856448t-10.856448-25.71264q0-20.570112 22.284288-33.712128 3.999744-2.285568 12.85632-5.999616t12.85632-5.999616q26.284032-14.2848 46.854144-29.140992 70.281216-51.996672 109.707264-129.705984t39.426048-165.132288-39.426048-165.132288-109.707264-129.705984q-20.570112-14.856192-46.854144-29.140992-3.999744-2.285568-12.85632-5.999616t-12.85632-5.999616q-22.284288-13.142016-22.284288-33.712128 0-14.856192 10.856448-25.71264t25.71264-10.856448q7.428096 0 14.856192 2.85696 120.563712 51.996672 193.130496 161.989632t72.566784 241.41312z"},null)]),Lr("div",{class:"uni-video-toast-value"},[Lr("div",{style:{width:100*$.volumeNew+"%"},class:"uni-video-toast-value-content"},[Lr("div",{class:"uni-video-toast-volume-grids"},[Ai(10,()=>Lr("div",{class:"uni-video-toast-volume-grids-item"},null))])],4)])],2),Lr("div",{class:{"uni-video-toast":!0,"uni-video-toast-progress":"progress"===$.gestureType}},[Lr("div",{class:"uni-video-toast-title"},[ib($.currentTimeNew)," / ",ib(d.duration)])],2),Lr("div",{class:"uni-video-slots"},[o.default&&o.default()])],40,["onTouchstart","onTouchend","onTouchmove","onFullscreenchange","onWebkitfullscreenchange"])],8,["id","onClick"])}}),sb=({name:e,arg:t})=>{"postMessage"===e||uni[e](t)},lb=Ue(()=>j_.on(Me,sb)),cb=pd({inheritAttrs:!1,name:"WebView",props:{src:{type:String,default:""},fullscreen:{type:Boolean,default:!0}},setup(e){lb();const t=Dn(null),n=Dn(null),{$attrs:o,$excludeAttrs:i,$listeners:r}=Wm({excludeListeners:!0});let a;return(()=>{const i=document.createElement("iframe");Bo(()=>{for(const e in o.value)if(p(o.value,e)){const t=o.value[e];i[e]=t}}),Bo(()=>{i.src=Id(e.src)}),n.value=i,a=function(e,t,n){const o=()=>{var o,i;if(n){const{top:n,left:o,width:i,height:r}=e.value.getBoundingClientRect();We(t.value,{position:"absolute",display:"block",border:"0",top:n+"px",left:o+"px",width:i+"px",height:r+"px"})}else We(t.value,{width:(null==(o=e.value)?void 0:o.style.width)||"300px",height:(null==(i=e.value)?void 0:i.style.height)||"150px"})};return o}(t,n,e.fullscreen),e.fullscreen&&document.body.appendChild(i)})(),yi(()=>{var o;a(),!e.fullscreen&&(null==(o=t.value)||o.appendChild(n.value))}),ai(()=>{e.fullscreen&&(n.value.style.display="block")}),si(()=>{e.fullscreen&&(n.value.style.display="none")}),_i(()=>{e.fullscreen&&document.body.removeChild(n.value)}),()=>Lr(yr,null,[Lr("uni-web-view",Hr({class:e.fullscreen?"uni-webview--fullscreen":""},r.value,i.value,{ref:t}),[Lr(qf,{onResize:a},null,8,["onResize"])],16)])}});let ub,db=0;function hb(e,t,n,o){var i,r=document.createElement("script"),a=t.callback||"callback",s="__uni_jsonp_callback_"+db++,l=t.timeout||3e4;function c(){clearTimeout(i),delete window[s],r.remove()}window[s]=e=>{b(n)&&n(e),c()},r.onerror=()=>{b(o)&&o(),c()},i=setTimeout(function(){b(o)&&o(),c()},l),r.src=e+(e.indexOf("?")>=0?"&":"?")+a+"="+s,document.body.appendChild(r)}function pb(e){function t(){const e=this.div;this.getPanes().floatPane.appendChild(e)}function n(){const e=this.div.parentNode;e&&e.removeChild(this.div)}function o(){const t=this.option;this.Text=new e.Text({text:t.content,anchor:"bottom-center",offset:new e.Pixel(0,t.offsetY-16),style:{padding:(t.padding||8)+"px","line-height":(t.fontSize||14)+"px","border-radius":(t.borderRadius||0)+"px","border-color":`${t.bgColor||"#fff"} transparent transparent`,"background-color":t.bgColor||"#fff","box-shadow":"0 2px 6px 0 rgba(114, 124, 245, .5)","text-align":"center","font-size":(t.fontSize||14)+"px",color:t.color||"#000"},position:t.position});(e.event||e.Event).addListener(this.Text,"click",()=>{this.callback()}),this.Text.setMap(t.map)}function i(){}function r(){this.Text&&this.option.map.remove(this.Text)}function a(){this.Text&&this.option.map.remove(this.Text)}class s{constructor(e={},s){this.createAMapText=o,this.removeAMapText=r,this.createBMapText=i,this.removeBMapText=a,this.onAdd=t,this.construct=t,this.onRemove=n,this.destroy=n,this.option=e||{};const l=this.visible=this.alwaysVisible="ALWAYS"===e.display;if(wb())this.callback=s,this.visible&&this.createAMapText();else if(xb())this.visible&&this.createBMapText();else{const t=e.map;this.position=e.position,this.index=1;const n=this.div=document.createElement("div"),o=n.style;o.position="absolute",o.whiteSpace="nowrap",o.transform="translateX(-50%) translateY(-100%)",o.zIndex="1",o.boxShadow=e.boxShadow||"none",o.display=l?"block":"none";const i=this.triangle=document.createElement("div");i.setAttribute("style","position: absolute;white-space: nowrap;border-width: 4px;border-style: solid;border-color: #fff transparent transparent;border-image: initial;font-size: 12px;padding: 0px;background-color: transparent;width: 0px;height: 0px;transform: translate(-50%, 100%);left: 50%;bottom: 0;"),this.setStyle(e),n.appendChild(i),t&&this.setMap(t)}}set onclick(e){this.div.onclick=e}get onclick(){return this.div.onclick}setOption(e){this.option=e,"ALWAYS"===e.display?this.alwaysVisible=this.visible=!0:this.alwaysVisible=!1,wb()?this.visible&&this.createAMapText():xb()?this.visible&&this.createBMapText():(this.setPosition(e.position),this.setStyle(e))}setStyle(e){const t=this.div,n=t.style;t.innerText=e.content||"",n.lineHeight=(e.fontSize||14)+"px",n.fontSize=(e.fontSize||14)+"px",n.padding=(e.padding||8)+"px",n.color=e.color||"#000",n.borderRadius=(e.borderRadius||0)+"px",n.backgroundColor=e.bgColor||"#fff",n.marginTop="-"+((e.top||0)+5)+"px",this.triangle.style.borderColor=`${e.bgColor||"#fff"} transparent transparent`}setPosition(e){this.position=e,this.draw()}draw(){const e=this.getProjection();if(!this.position||!this.div||!e)return;const t=e.fromLatLngToDivPixel(this.position),n=this.div.style;n.left=t.x+"px",n.top=t.y+"px"}changed(){this.div.style.display=this.visible?"block":"none"}}if(!wb()&&!xb()){const t=new(e.OverlayView||e.Overlay);s.prototype.setMap=t.setMap,s.prototype.getMap=t.getMap,s.prototype.getPanes=t.getPanes,s.prototype.getProjection=t.getProjection,s.prototype.map_changed=t.map_changed,s.prototype.set=t.set,s.prototype.get=t.get,s.prototype.setOptions=t.setValues,s.prototype.bindTo=t.bindTo,s.prototype.bindsTo=t.bindsTo,s.prototype.notify=t.notify,s.prototype.setValues=t.setValues,s.prototype.unbind=t.unbind,s.prototype.unbindAll=t.unbindAll,s.prototype.addListener=t.addListener}return s}const fb={};function mb(e,t){const n=bb();if(!n.key)return void console.error("Map key not configured.");const o=fb[n.type]=fb[n.type]||[];if(ub)t(ub);else if(window[n.type]&&window[n.type].maps)ub=wb()||xb()?window[n.type]:window[n.type].maps,ub.Callout=ub.Callout||pb(ub),t(ub);else if(o.length)o.push(t);else{o.push(t);const i=window,r="__map_callback__"+n.type;i[r]=function(){delete i[r],ub=wb()||xb()?window[n.type]:window[n.type].maps,ub.Callout=pb(ub),o.forEach(e=>e(ub)),o.length=0},wb()&&function(e){window._AMapSecurityConfig={securityJsCode:e.securityJsCode||"",serviceHost:e.serviceHost||""}}(n);const a=document.createElement("script");let s=gb(n.type);n.type===yb.QQ&&e.push("geometry"),e.length&&(s+=`libraries=${e.join("%2C")}&`),n.type===yb.BMAP?a.src=`${s}ak=${n.key}&callback=${r}`:a.src=`${s}key=${n.key}&callback=${r}`,a.onerror=function(){console.error("Map load failed.")},document.body.appendChild(a)}}const gb=e=>({qq:"https://map.qq.com/api/js?v=2.exp&",google:"https://maps.googleapis.com/maps/api/js?",AMap:"https://webapi.amap.com/maps?v=2.0&",BMapGL:"https://api.map.baidu.com/api?type=webgl&v=1.0&"}[e]);var yb=(e=>(e.QQ="qq",e.GOOGLE="google",e.AMAP="AMap",e.BMAP="BMapGL",e.UNKNOWN="",e))(yb||{});function bb(){return __uniConfig.bMapKey?{type:"BMapGL",key:__uniConfig.bMapKey}:__uniConfig.qqMapKey?{type:"qq",key:__uniConfig.qqMapKey}:__uniConfig.googleMapKey?{type:"google",key:__uniConfig.googleMapKey}:__uniConfig.aMapKey?{type:"AMap",key:__uniConfig.aMapKey,securityJsCode:__uniConfig.aMapSecurityJsCode,serviceHost:__uniConfig.aMapServiceHost}:{type:"",key:""}}let vb=!1,_b=!1;const wb=()=>_b?vb:(_b=!0,vb="AMap"===bb().type),xb=()=>"BMapGL"===bb().type;const Sb=Th("makePhoneCall",({phoneNumber:e},{resolve:t})=>(window.location.href=`tel:${e}`,t())),kb="__DC_STAT_UUID",Cb=navigator.cookieEnabled&&(window.localStorage||window.sessionStorage)||{};let Ab;function Tb(){if(Ab=Ab||Cb[kb],!Ab){Ab=Date.now()+""+Math.floor(1e7*Math.random());try{Cb[kb]=Ab}catch(e){}}return Ab}function Ib(){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 Eb(){let e,t="0",n="",o="phone";const i=navigator.language;if(Bd){e="iOS";const o=Ed.match(/OS\s([\w_]+)\slike/);o&&(t=o[1].replace(/_/g,"."));const i=Ed.match(/\(([a-zA-Z]+);/);i&&(n=i[1])}else if(Pd){e="Android";const o=Ed.match(/Android[\s/]([\w\.]+)[;\s]/);o&&(t=o[1]);const i=Ed.match(/\((.+?)\)/),r=i?i[1].split(";"):Ed.split(" "),a=[/\bAndroid\b/i,/\bLinux\b/i,/\bU\b/i,/^\s?[a-z][a-z]$/i,/^\s?[a-z][a-z]-[a-z][a-z]$/i,/\bwv\b/i,/\/[\d\.,]+$/,/^\s?[\d\.,]+$/,/\bBrowser\b/i,/\bMobile\b/i];for(let e=0;e0){n=t.split("Build")[0].trim();break}let o;for(let e=0;e-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)s="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=Rd(),n=Dd(t),o=zd(t,n),i=function(e,t){return e?Math[t?"min":"max"](screen.height,screen.width):screen.height}(t,n),r=$d(o);let a=window.innerHeight;const s=hu.top,l={left:hu.left,right:r-hu.right,top:hu.top,bottom:a-hu.bottom,width:r-hu.left-hu.right,height:a-hu.top-hu.bottom},{top:c,bottom:u}=yu();return a-=c,a-=u,{windowTop:c,windowBottom:u,windowWidth:r,windowHeight:a,pixelRatio:e,screenWidth:o,screenHeight:i,statusBarHeight:s,safeArea:l,safeAreaInsets:{top:hu.top,right:hu.right,bottom:hu.bottom,left:hu.left},screenTop:i-a}});let Bb,Ob=!0;function Nb(){Ob&&(Bb=Eb())}const Mb=Ah(0,()=>{Nb();const{deviceBrand:e,deviceModel:t,brand:n,model:o,platform:i,system:r,deviceOrientation:a,deviceType:s}=Bb;return{brand:n,deviceBrand:e,deviceModel:t,devicePixelRatio:window.devicePixelRatio,deviceId:Tb(),deviceOrientation:a,deviceType:s,model:o,platform:i,system:r}}),Lb=Ah(0,()=>{Nb();const{theme:e,language:t,browserName:n,browserVersion:o}=Bb;return{appId:__uniConfig.appId,appName:__uniConfig.appName,appVersion:__uniConfig.appVersion,appVersionCode:__uniConfig.appVersionCode,appLanguage:Dp?Dp():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:""}}),Rb=Ah(0,()=>{Ob=!0,Nb(),Ob=!1;const e=Pb(),t=Mb(),n=Lb();Ob=!0;const{ua:o,browserName:i,browserVersion:r,osname:a,osversion:s}=Bb,l=u(e,t,n,{ua:o,browserName:i,browserVersion:r,uniPlatform:"web",uniCompileVersion:__uniConfig.compilerVersion,uniRuntimeVersion:__uniConfig.compilerVersion,fontSizeSetting:void 0,osName:a.toLocaleLowerCase(),osVersion:s,osLanguage:void 0,osTheme:void 0});return delete l.screenTop,delete l.enableDebug,__uniConfig.darkmode||delete l.theme,function(e){let t={};return C(e)&&Object.keys(e).sort().forEach(n=>{const o=n;t[o]=e[o]}),Object.keys(t)?t:e}(l)}),Db="onNetworkStatusChange";function zb(){jb().then(({networkType:e})=>{j_.invokeOnCallback(Db,{isConnected:"none"!==e,networkType:e})})}function $b(){return navigator.connection||navigator.webkitConnection||navigator.mozConnection}const Fb=Sh(Db,()=>{const e=$b();e?e.addEventListener("change",zb):(window.addEventListener("offline",zb),window.addEventListener("online",zb))}),jb=Th("getNetworkType",(e,{resolve:t})=>{const n=$b();let o="unknown";return n?(o=n.type,"cellular"===o&&n.effectiveType?o=n.effectiveType.replace("slow-",""):!o&&n.effectiveType?o=n.effectiveType:["none","wifi"].includes(o)||(o="unknown")):!1===navigator.onLine&&(o="none"),t({networkType:o})}),Hb=!!window.navigator.vibrate,Vb=Th("vibrateShort",(e,{resolve:t,reject:n})=>{Hb&&window.navigator.vibrate(15)?t():n("vibrateLong:fail")});const Wb=Th("setClipboardData",(e,t)=>{return n=void 0,o=[e,t],i=function*({data:e},{resolve:t,reject:n}){try{yield navigator.clipboard.writeText(e),t()}catch(o){!function(e,t,n){const o=document.getElementById("#clipboard");o&&o.remove();const i=document.createElement("textarea");i.id="#clipboard",i.style.position="fixed",i.style.top="-9999px",i.style.zIndex="-9999",document.body.appendChild(i),i.value=e,i.select(),i.setSelectionRange(0,i.value.length);const r=document.execCommand("Copy",!1);i.blur(),r?t():n()}(e,t,n)}},new Promise((e,t)=>{var r=e=>{try{s(i.next(e))}catch(n){t(n)}},a=e=>{try{s(i.throw(e))}catch(n){t(n)}},s=t=>t.done?e(t.value):Promise.resolve(t.value).then(r,a);s((i=i.apply(n,o)).next())});var n,o,i},0,jp);const Ub=Ah(0,(e,t)=>{const n=typeof t,o="string"===n?t:JSON.stringify({type:n,data:t});localStorage.setItem(e,o)}),qb=Th("setStorage",({key:e,data:t},{resolve:n,reject:o})=>{try{Ub(e,t),n()}catch(i){o(i.message)}});function Qb(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 Gb=Ah(0,e=>{try{return Qb(e)}catch(t){return""}}),Yb=Ah(0,e=>{localStorage&&localStorage.removeItem(e)}),Xb=Th("hideKeyboard",(e,{resolve:t,reject:n})=>{const o=document.activeElement;!o||"TEXTAREA"!==o.tagName&&"INPUT"!==o.tagName||(o.blur(),t())});const Kb=Th("getImageInfo",({src:e},{resolve:t,reject:n})=>{const o=new Image;o.onload=function(){t({width:o.naturalWidth,height:o.naturalHeight,path:0===e.indexOf("/")?window.location.protocol+"//"+window.location.host+e:e})},o.onerror=function(){n()},o.src=e},0,Gp),Jb={image:{jpg:"jpeg",jpe:"jpeg",pbm:"x-portable-bitmap",pgm:"x-portable-graymap",pnm:"x-portable-anymap",ppm:"x-portable-pixmap",psd:"vnd.adobe.photoshop",pic:"x-pict",rgb:"x-rgb",svg:"svg+xml",svgz:"svg+xml",tif:"tiff",xif:"vnd.xiff",wbmp:"vnd.wap.wbmp",wdp:"vnd.ms-photo",xbm:"x-xbitmap",ico:"x-icon"},video:{"3g2":"3gpp2","3gp":"3gpp",avi:"x-msvideo",f4v:"x-f4v",flv:"x-flv",jpgm:"jpm",jpgv:"jpeg",m1v:"mpeg",m2v:"mpeg",mpe:"mpeg",mpg:"mpeg",mpg4:"mpeg",m4v:"x-m4v",mkv:"x-matroska",mov:"quicktime",qt:"quicktime",movie:"x-sgi-movie",mp4v:"mp4",ogv:"ogg",smv:"x-smv",wm:"x-ms-wm",wmv:"x-ms-wmv",wmx:"x-ms-wmx",wvx:"x-ms-wvx"}};function Zb({count:e,sourceType:t,type:n,extension:o}){const i=document.createElement("input");return i.type="file",We(i,{position:"absolute",visibility:"hidden",zIndex:"-999",width:"0",height:"0",top:"0",left:"0"}),i.accept=o.map(e=>{if("all"!==n){const t=e.replace(".","");return`${n}/${Jb[n][t]||t}`}return function(){const e=window.navigator.userAgent.toLowerCase().match(/MicroMessenger/i);return!(!e||"micromessenger"!==e[0])}()?".":0===e.indexOf(".")?e:`.${e}`}).join(","),e&&e>1&&(i.multiple=!0),"all"!==n&&t instanceof Array&&1===t.length&&"camera"===t[0]&&i.setAttribute("capture","camera"),i}Em();let ev=null;const tv=Th("chooseFile",({count:e,sourceType:t,type:n,extension:o},{resolve:i,reject:r})=>{Mc();const{t:a}=Ic();ev&&(document.body.removeChild(ev),ev=null),ev=Zb({count:e,sourceType:t,type:n,extension:o}),document.body.appendChild(ev),ev.addEventListener("change",function(t){const n=t.target,o=[];if(n&&n.files){const t=n.files.length;for(let i=0;i(r=r||Hf(t),r)}),ie)},tempFiles:o})}),ev.click(),Pm()||console.warn(a("uni.chooseFile.notUserActivation"))},0,Qp);let nv=null;const ov=Th("chooseImage",({count:e,sourceType:t,extension:n},{resolve:o,reject:i})=>{Mc();const{t:r}=Ic();nv&&(document.body.removeChild(nv),nv=null),nv=Zb({count:e,sourceType:t,extension:n,type:"image"}),document.body.appendChild(nv),nv.addEventListener("change",function(t){const n=t.target,i=[];if(n&&n.files){const t=n.files.length;for(let o=0;o(r=r||Hf(t),r)}),oe)},tempFiles:i})}),nv.click(),Pm()||console.warn(r("uni.chooseFile.notUserActivation"))},0,Wp),iv={esc:["Esc","Escape"],enter:["Enter"]},rv=Object.keys(iv);const av=Lr("div",{class:"uni-mask"},null,-1);function sv(e,t,n){return t.onClose=(...e)=>(t.visible=!1,n.apply(null,e)),ks(Ko({setup:()=>()=>(Sr(),Ir(e,t,null,16))}))}function lv(e){let t=document.getElementById(e);return t||(t=document.createElement("div"),t.id=e,document.body.append(t)),t}function cv(e,{onEsc:t,onEnter:n}){const o=Dn(e.visible),{key:i,disable:r}=function(){const e=Dn(""),t=Dn(!1),n=n=>{if(t.value)return;const o=rv.find(e=>-1!==iv[e].indexOf(n.key));o&&(e.value=o),no(()=>e.value="")};return yi(()=>{document.addEventListener("keyup",n)}),_i(()=>{document.removeEventListener("keyup",n)}),{key:e,disable:t}}();return No(()=>e.visible,e=>o.value=e),No(()=>o.value,e=>r.value=!e),Bo(()=>{const{value:e}=i;"esc"===e?t&&t():"enter"===e&&n&&n()}),o}let uv=0,dv="";function hv(e){let t=uv;uv+=e?1:-1,uv=Math.max(0,uv),uv>0?0===t&&(dv=document.body.style.overflow,document.body.style.overflow="hidden"):(document.body.style.overflow=dv,dv="")}const pv=fd({name:"ImageView",props:{src:{type:String,default:""}},setup(e){const t=wn({direction:"none"});let n=1,o=0,i=0,r=0,a=0;function s({detail:e}){n=e.scale}function l(e){const t=e.target.getBoundingClientRect();o=t.width,i=t.height}function c(e){const t=e.target.getBoundingClientRect();r=t.width,a=t.height,d(e)}function u(e){const s=n*o>r,l=n*i>a;t.direction=s&&l?"all":s?"horizontal":l?"vertical":"none",d(e)}function d(e){"all"!==t.direction&&"horizontal"!==t.direction||e.stopPropagation()}return()=>{const n={position:"absolute",left:"0",top:"0",width:"100%",height:"100%"};return Lr(qm,{style:n,onTouchstart:md(c),onTouchmove:md(d),onTouchend:md(u)},{default:()=>[Lr(rg,{style:n,direction:t.direction,inertia:!0,scale:!0,"scale-min":"1","scale-max":"4",onScale:s},{default:()=>[Lr("img",{src:e.src,style:{position:"absolute",left:"50%",top:"50%",transform:"translate(-50%, -50%)",maxHeight:"100%",maxWidth:"100%"},onLoad:l},null,40,["src","onLoad"])]},8,["style","direction","inertia","scale","onScale"])]},8,["style","onTouchstart","onTouchmove","onTouchend"])}}});function fv(e){let t="number"==typeof e.current?e.current:e.urls.indexOf(e.current);return t=t<0?0:t,t}const mv=fd({name:"ImagePreview",props:{urls:{type:Array,default:()=>[]},current:{type:[Number,String],default:0}},emits:["close"],setup(e,{emit:t}){yi(()=>hv(!0)),wi(()=>hv(!1));const n=Dn(null),o=Dn(fv(e));let i;function r(){i||no(()=>{t("close")})}function a(e){o.value=e.detail.current}No(()=>e.current,()=>o.value=fv(e)),yi(()=>{const e=n.value;let t=0,o=0;e.addEventListener("mousedown",e=>{i=!1,t=e.clientX,o=e.clientY}),e.addEventListener("mouseup",e=>{(Math.abs(e.clientX-t)>20||Math.abs(e.clientY-o)>20)&&(i=!0)})});const s={position:"absolute","box-sizing":"border-box",top:"0",right:"0",width:"60px",height:"44px",padding:"6px","line-height":"32px","font-size":"26px",color:"white","text-align":"center",cursor:"pointer"};return()=>{let t;return Lr("div",{ref:n,style:{display:"block",position:"fixed",left:"0",top:"0",width:"100%",height:"100%",zIndex:999,background:"rgba(0,0,0,0.8)"},onClick:r},[Lr(Dg,{navigation:"auto",current:o.value,onChange:a,"indicator-dots":!1,autoplay:!1,style:{position:"absolute",left:"0",top:"0",width:"100%",height:"100%"}},(i=t=e.urls.map(e=>Lr($g,null,{default:()=>[Lr(pv,{src:e},null,8,["src"])]})),"function"==typeof i||"[object Object]"===Object.prototype.toString.call(i)&&!Er(i)?t:{default:()=>[t],_:1}),8,["current","onChange"]),Lr("div",{style:s},[Au("M17.25 16.156l7.375-7.313q0.281-0.281 0.281-0.641t-0.281-0.641q-0.25-0.25-0.625-0.25t-0.625 0.25l-7.375 7.344-7.313-7.344q-0.25-0.25-0.625-0.25t-0.625 0.25q-0.281 0.25-0.281 0.625t0.281 0.625l7.313 7.344-7.375 7.344q-0.281 0.25-0.281 0.625t0.281 0.625q0.125 0.125 0.281 0.188t0.344 0.063q0.156 0 0.328-0.063t0.297-0.188l7.375-7.344 7.375 7.406q0.125 0.156 0.297 0.219t0.328 0.063q0.188 0 0.344-0.078t0.281-0.203q0.281-0.25 0.281-0.609t-0.281-0.641l-7.375-7.406z","#ffffff",26)],4)],8,["onClick"]);var i}}});let gv,yv=null;const bv=()=>{yv=null,no(()=>{null==gv||gv.unmount(),gv=null})},vv=Th("previewImage",(e,{resolve:t})=>{yv?u(yv,e):(yv=wn(e),no(()=>{gv=sv(mv,yv,bv),gv.mount(lv("u-a-p"))})),t()},0,Yp);let _v=null;const wv=Th("chooseVideo",({sourceType:e,extension:t},{resolve:n,reject:o})=>{Mc();const{t:i}=Ic();_v&&(document.body.removeChild(_v),_v=null),_v=Zb({sourceType:e,extension:t,type:"video"}),document.body.appendChild(_v),_v.addEventListener("change",function(e){const t=e.target.files[0];let o="";const i={tempFilePath:o,tempFile:t,size:t.size,duration:0,width:0,height:0,name:t.name};Object.defineProperty(i,"tempFilePath",{get(){return o=o||Hf(this.tempFile),o}});const r=document.createElement("video");if(void 0!==r.onloadedmetadata){const e=Hf(t);r.onloadedmetadata=function(){Vf(e),n(u(i,{duration:r.duration||0,width:r.videoWidth||0,height:r.videoHeight||0}))},setTimeout(()=>{r.onloadedmetadata=null,Vf(e),n(i)},300),r.src=e}else n(i)}),_v.click(),Pm()||console.warn(i("uni.chooseFile.notUserActivation"))},0,Up),xv=Ch("request",({url:e,data:t,header:n={},method:o,dataType:i,responseType:r,withCredentials:a,timeout:s=__uniConfig.networkTimeout.request},{resolve:l,reject:c})=>{let u=null;const d=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"===d)try{u=JSON.stringify(t)}catch(g){u=t.toString()}else if("urlencoded"===d){const e=[];for(const n in t)p(t,n)&&e.push(encodeURIComponent(n)+"="+encodeURIComponent(t[n]));u=e.join("&")}else u=t.toString();const h=new XMLHttpRequest,f=new Sv(h);h.open(o,e);for(const y in n)p(n,y)&&h.setRequestHeader(y,n[y]);const m=setTimeout(function(){h.onload=h.onabort=h.onerror=null,f.abort(),c("timeout",{errCode:5})},s);return h.responseType=r,h.onload=function(){clearTimeout(m);const e=h.status;let t="text"===r?h.responseText:h.response;if("text"===r&&"json"===i)try{t=JSON.parse(t)}catch(g){}l({data:t,statusCode:e,header:kv(h.getAllResponseHeaders()),cookies:[]})},h.onabort=function(){clearTimeout(m),c("abort",{errCode:600003})},h.onerror=function(){clearTimeout(m),c(void 0,{errCode:5})},h.withCredentials=a,h.send(u),f},0,ef);class Sv{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 kv(e){const t={};return e.split(ie).forEach(e=>{const n=e.match(/(\S+\s*):\s*(.*)/);n&&3===n.length&&(t[n[1]]=n[2])}),t}class Cv{constructor(e){this._callbacks=[],this._xhr=e}onProgressUpdate(e){b(e)&&this._callbacks.push(e)}offProgressUpdate(e){const t=this._callbacks.indexOf(e);t>=0&&this._callbacks.splice(t,1)}abort(){this._xhr&&(this._xhr.abort(),delete this._xhr)}onHeadersReceived(e){throw new Error("Method not implemented.")}offHeadersReceived(e){throw new Error("Method not implemented.")}}const Av=Ch("downloadFile",({url:e,header:t={},timeout:n=__uniConfig.networkTimeout.downloadFile},{resolve:o,reject:i})=>{var r,a=new XMLHttpRequest,s=new Cv(a);return a.open("GET",e,!0),Object.keys(t).forEach(e=>{a.setRequestHeader(e,t[e])}),a.responseType="blob",a.onload=function(){clearTimeout(r);const t=a.status,n=this.response;let i;const s=a.getResponseHeader("content-disposition");if(s){const e=s.match(/filename="?(\S+)"?\b/);e&&(i=e[1])}n.name=i||function(e){const t=(e=e.split("#")[0].split("?")[0]).split("/");return t[t.length-1]}(e),o({statusCode:t,tempFilePath:Hf(n)})},a.onabort=function(){clearTimeout(r),i("abort",{errCode:600003})},a.onerror=function(){clearTimeout(r),i("",{errCode:602001})},a.onprogress=function(e){s._callbacks.forEach(t=>{var n=e.loaded,o=e.total;t({progress:Math.round(n/o*100),totalBytesWritten:n,totalBytesExpectedToWrite:o})})},a.send(),r=setTimeout(function(){a.onprogress=a.onload=a.onabort=a.onerror=null,s.abort(),i("timeout",{errCode:5})},n),s},0,tf);class Tv{constructor(e){this._callbacks=[],this._xhr=e}onProgressUpdate(e){b(e)&&this._callbacks.push(e)}offProgressUpdate(e){const t=this._callbacks.indexOf(e);t>=0&&this._callbacks.splice(t,1)}abort(){this._isAbort=!0,this._xhr&&(this._xhr.abort(),delete this._xhr)}onHeadersReceived(e){throw new Error("Method not implemented.")}offHeadersReceived(e){throw new Error("Method not implemented.")}}const Iv=Ch("uploadFile",({url:e,file:t,filePath:n,name:o,files:i,header:r={},formData:a={},timeout:s=__uniConfig.networkTimeout.uploadFile},{resolve:l,reject:c})=>{var u=new Tv;return f(i)&&i.length||(i=[{name:o,file:t,uri:n}]),Promise.all(i.map(({file:e,uri:t})=>e instanceof Blob?Promise.resolve(jf(e)):Ff(t))).then(function(t){var n,o=new XMLHttpRequest,d=new FormData;Object.keys(a).forEach(e=>{d.append(e,a[e])}),Object.values(i).forEach(({name:e},n)=>{const o=t[n];d.append(e||"file",o,o.name||`file-${Date.now()}`)}),o.open("POST",e),Object.keys(r).forEach(e=>{o.setRequestHeader(e,r[e])}),o.upload.onprogress=function(e){u._callbacks.forEach(t=>{var n=e.loaded,o=e.total;t({progress:Math.round(n/o*100),totalBytesSent:n,totalBytesExpectedToSend:o})})},o.onerror=function(){clearTimeout(n),c("",{errCode:602001})},o.onabort=function(){clearTimeout(n),c("abort",{errCode:600003})},o.onload=function(){clearTimeout(n);const e=o.status;l({statusCode:e,data:o.responseText||o.response})},u._isAbort?c("abort",{errCode:600003}):(n=setTimeout(function(){o.upload.onprogress=o.onload=o.onabort=o.onerror=null,u.abort(),c("timeout",{errCode:5})},s),o.send(d),u._xhr=o)}).catch(()=>{setTimeout(()=>{c("file error")},0)}),u},0,nf),Ev=Th("getLocation",({type:e,altitude:t,highAccuracyExpireTime:n,isHighAccuracy:o},{resolve:i,reject:r})=>{const a=bb();new Promise((e,i)=>{navigator.geolocation?navigator.geolocation.getCurrentPosition(t=>e({coords:t.coords}),i,{enableHighAccuracy:o||t,timeout:n||1e5}):i(new Error("device nonsupport geolocation"))}).catch(e=>new Promise((t,n)=>{a.type===yb.QQ?hb(`https://apis.map.qq.com/ws/location/v1/ip?output=jsonp&key=${a.key}`,{callback:"callback"},e=>{if("result"in e&&e.result.location){const n=e.result.location;t({coords:{latitude:n.lat,longitude:n.lng},skip:!0})}else n(new Error(e.message||JSON.stringify(e)))},()=>n(new Error("network error"))):a.type===yb.GOOGLE?xv({method:"POST",url:`https://www.googleapis.com/geolocation/v1/geolocate?key=${a.key}`,success(e){const o=e.data;"location"in o?t({coords:{latitude:o.location.lat,longitude:o.location.lng,accuracy:o.accuracy},skip:!0}):n(new Error(o.error&&o.error.message||JSON.stringify(e)))},fail(){n(new Error("network error"))}}):a.type===yb.AMAP?mb([],()=>{window.AMap.plugin("AMap.Geolocation",()=>{new window.AMap.Geolocation({enableHighAccuracy:!0,timeout:1e4}).getCurrentPosition((e,o)=>{"complete"===e?t({coords:{latitude:o.position.lat,longitude:o.position.lng,accuracy:o.accuracy},skip:!0}):n(new Error(o.message))})})}):n(e)})).then(({coords:t,skip:n})=>{(function(e,t,n){const o=bb();return e&&"WGS84"===e.toUpperCase()||["google"].includes(o.type)||n?Promise.resolve(t):"qq"===o.type?new Promise(e=>{hb(`https://apis.map.qq.com/jsapi?qt=translate&type=1&points=${t.longitude},${t.latitude}&key=${o.key}&output=jsonp&pf=jsapi&ref=jsapi`,{callback:"cb"},n=>{if("detail"in n&&"points"in n.detail&&n.detail.points.length){const{lng:o,lat:i}=n.detail.points[0];e({longitude:o,latitude:i,altitude:t.altitude,accuracy:t.accuracy,altitudeAccuracy:t.altitudeAccuracy,heading:t.heading,speed:t.speed})}else e(t)},()=>e(t))}):"AMap"===o.type?new Promise(e=>{mb([],()=>{window.AMap.convertFrom([t.longitude,t.latitude],"gps",(n,o)=>{if("ok"===o.info&&o.locations.length){const{lat:n,lng:i}=o.locations[0];e({longitude:i,latitude:n,altitude:t.altitude,accuracy:t.accuracy,altitudeAccuracy:t.altitudeAccuracy,heading:t.heading,speed:t.speed})}else e(t)})})}):Promise.reject(new Error("translate coordinate system faild"))})(e,t,n).then(e=>{i({latitude:e.latitude,longitude:e.longitude,accuracy:e.accuracy,speed:e.altitude||0,altitude:e.altitude||0,verticalAccuracy:e.altitudeAccuracy||0,horizontalAccuracy:e.accuracy||0})}).catch(e=>{r(e.message)})}).catch(e=>{r(e.message||JSON.stringify(e))})},0,Vp),Pv=Th("navigateBack",(e,{resolve:t,reject:n})=>{let o=!0;return!0===Lu(ve,{from:e.from||"navigateBack"})&&(o=!1),o?(Yy().$router.go(-e.delta),t()):n(ve)},0,ff);function Bv({type:e,url:t,tabBarText:n,events:o,isAutomatedTesting:i},r){const a=Yy().$router,{path:s,query:l}=function(e){const[t,n]=e.split("?",2);return{path:t,query:tt(n||"")}}(t);return new Promise((t,c)=>{const u=function(e,t){return{__id__:t||++Ty,__type__:e}}(e,r);a["navigateTo"===e?"push":"replace"]({path:s,query:l,state:u,force:!0}).then(r=>{if(Nl(r))return c(r.message);if("switchTab"===e&&(a.currentRoute.value.meta.tabBarText=n),"navigateTo"===e){const e=a.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 ot(u.__id__,o),t(i?{__id__:u.__id__}:{eventChannel:e.eventChannel})}return i?t({__id__:u.__id__}):t()})})}const Ov=Th(rf,({url:e,events:t,isAutomatedTesting:n},{resolve:o,reject:i})=>Bv({type:rf,url:e,events:t,isAutomatedTesting:n}).then(o).catch(i),0,uf);const Nv=Th(af,({url:e,isAutomatedTesting:t},{resolve:n,reject:o})=>(function(){const e=Eu();if(!e)return;const t=e.$page;Ay(Py(t.path,t.id))}(),Bv({type:af,url:e,isAutomatedTesting:t}).then(n).catch(o)),0,df);const Mv=Th(sf,({url:e,isAutomatedTesting:t},{resolve:n,reject:o})=>(function(){const e=ky().keys();for(const t of e)Ay(t)}(),Bv({type:sf,url:e,isAutomatedTesting:t}).then(n).catch(o)),0,hf);function Lv(e,t){return e===t.fullPath||"/"===e&&t.meta.isEntry}const Rv=Th(lf,({url:e,tabBarText:t,isAutomatedTesting:n},{resolve:o,reject:i})=>(function(){const e=Ou();if(!e)return;const t=ky(),n=t.keys();for(const o of n){const e=t.get(o);e.$.__isTabBar?e.$.__isActive=!1:Ay(o)}e.$.__isTabBar&&(e.$.__isVisible=!1,Lu(e,ce))}(),Bv({type:lf,url:e,tabBarText:t,isAutomatedTesting:n},function(e){const t=ky().values();for(const n of t){const t=n.$page;if(Lv(e,t))return n.$.__isActive=!0,t.id}}(e)).then(o).catch(i)),0,pf);function Dv(e){__uniConfig.darkmode&&j_.on(de,e)}function zv(e){j_.off(de,e)}function $v(e){let t={};return __uniConfig.darkmode&&(t=dt(e,__uniConfig.themeConfig,Ib())),__uniConfig.darkmode?t:e}function Fv(e,t){const n=Cn(e),o=n?wn($v(e)):$v(e);return __uniConfig.darkmode&&n&&No(e,e=>{const t=$v(e);for(const n in t)o[n]=t[n]}),t&&Dv(t),o}const jv={light:{cancelColor:"#000000"},dark:{cancelColor:"rgb(170, 170, 170)"}},Hv=Ko({props:{title:{type:String,default:""},content:{type:String,default:""},showCancel:{type:Boolean,default:!0},cancelText:{type:String,default:"Cancel"},cancelColor:{type:String,default:"#000000"},confirmText:{type:String,default:"OK"},confirmColor:{type:String,default:"#007aff"},visible:{type:Boolean},editable:{type:Boolean,default:!1},placeholderText:{type:String,default:""}},setup(e,{emit:t}){const n=Dn(""),o=()=>a.value=!1,i=()=>(o(),t("close","cancel")),r=()=>(o(),t("close","confirm",n.value)),a=cv(e,{onEsc:i,onEnter:()=>{!e.editable&&r()}}),s=function(e){const t=Dn(e.cancelColor),n=({theme:e})=>{((e,t)=>{t.value=jv[e].cancelColor})(e,t)};return Bo(()=>{e.visible?(t.value=e.cancelColor,"#000"===e.cancelColor&&("dark"===Ib()&&n({theme:"dark"}),Dv(n))):zv(n)}),t}(e);return()=>{const{title:t,content:o,showCancel:l,confirmText:c,confirmColor:u,editable:d,placeholderText:h}=e;return n.value=o,Lr(fa,{name:"uni-fade"},{default:()=>[zo(Lr("uni-modal",{onTouchmove:pu},[av,Lr("div",{class:"uni-modal"},[t?Lr("div",{class:"uni-modal__hd"},[Lr("strong",{class:"uni-modal__title",textContent:t||""},null,8,["textContent"])]):null,d?Lr("textarea",{class:"uni-modal__textarea",rows:"1",placeholder:h,value:o,onInput:e=>n.value=e.target.value},null,40,["placeholder","value","onInput"]):Lr("div",{class:"uni-modal__bd",onTouchmovePassive:fu,textContent:o},null,40,["onTouchmovePassive","textContent"]),Lr("div",{class:"uni-modal__ft"},[l&&Lr("div",{style:{color:s.value},class:"uni-modal__btn uni-modal__btn_default",onClick:i},[e.cancelText],12,["onClick"]),Lr("div",{style:{color:u},class:"uni-modal__btn uni-modal__btn_primary",onClick:r},[c],12,["onClick"])])])],40,["onTouchmove"]),[[Ia,a.value]])]})}}});let Vv;const Wv=Ue(()=>{j_.on("onHidePopup",()=>Vv.visible=!1)});let Uv;function qv(e,t){const n="confirm"===e,o={confirm:n,cancel:"cancel"===e};n&&Vv.editable&&(o.content=t),Uv&&Uv(o)}const Qv=Th("showModal",(e,{resolve:t})=>{Wv(),Uv=t,Vv?(u(Vv,e),Vv.visible=!0):(Vv=wn(e),no(()=>(sv(Hv,Vv,qv).mount(lv("u-a-m")),no(()=>Vv.visible=!0))))},0,Sf),Gv={title:{type:String,default:""},icon:{default:"success",validator:e=>-1!==kf.indexOf(e)},image:{type:String,default:""},duration:{type:Number,default:1500},mask:{type:Boolean,default:!1},visible:{type:Boolean}},Yv="uni-toast__icon",Xv={light:"#fff",dark:"rgba(255,255,255,0.9)"},Kv=e=>Xv[e],Jv=Ko({name:"Toast",props:Gv,setup(e){Bc(),Oc();const{Icon:t}=function(e){const t=Dn(Kv(Ib())),n=({theme:e})=>t.value=Kv(e);Bo(()=>{e.visible?Dv(n):zv(n)});const o=ra(()=>{switch(e.icon){case"success":return Lr(Au(Su,t.value,38),{class:Yv});case"error":return Lr(Au(ku,t.value,38),{class:Yv});case"loading":return Lr("i",{class:[Yv,"uni-loading"]},null,2);default:return null}});return{Icon:o}}(e),n=cv(e,{});return()=>{const{mask:o,duration:i,title:r,image:a}=e;return Lr(fa,{name:"uni-fade"},{default:()=>[zo(Lr("uni-toast",{"data-duration":i},[o?Lr("div",{class:"uni-mask",style:"background: transparent;",onTouchmove:pu},null,40,["onTouchmove"]):"",a||t.value?Lr("div",{class:"uni-toast"},[a?Lr("img",{src:a,class:Yv},null,10,["src"]):t.value,Lr("p",{class:"uni-toast__content"},[r])]):Lr("div",{class:"uni-sample-toast"},[Lr("p",{class:"uni-simple-toast__text"},[r])])],8,["data-duration"]),[[Ia,n.value]])]})}}});let Zv,e_,t_="";const n_=mt();function o_(e){Zv?u(Zv,e):(Zv=wn(u(e,{visible:!1})),no(()=>{n_.run(()=>{No([()=>Zv.visible,()=>Zv.duration],([e,t])=>{if(e){if(e_&&clearTimeout(e_),"onShowLoading"===t_)return;e_=setTimeout(()=>{l_("onHideToast")},t)}else e_&&clearTimeout(e_)})}),j_.on("onHidePopup",()=>l_("onHidePopup")),sv(Jv,Zv,()=>{}).mount(lv("u-a-t"))})),setTimeout(()=>{Zv.visible=!0},10)}const i_=Th("showToast",(e,{resolve:t,reject:n})=>{o_(e),t_="onShowToast",t()},0,Cf),r_={icon:"loading",duration:1e8,image:""},a_=Th("showLoading",(e,{resolve:t,reject:n})=>{u(e,r_),o_(e),t_="onShowLoading",t()},0,xf),s_=Th("hideLoading",(e,{resolve:t,reject:n})=>{l_("onHideLoading"),t()});function l_(e){const{t:t}=Ic();if(!t_)return;let n="";if("onHideToast"===e&&"onShowToast"!==t_?n=t("uni.showToast.unpaired"):"onHideLoading"===e&&"onShowLoading"!==t_&&(n=t("uni.showLoading.unpaired")),n)return console.warn(n);t_="",setTimeout(()=>{Zv.visible=!1},10)}const c_=Th("loadFontFace",({family:e,source:t,desc:n},{resolve:o,reject:i})=>{(function(e,t,n){const o=document.fonts;if(o){const i=new FontFace(e,t,n);return i.load().then(()=>{o.add&&o.add(i)})}return new Promise(o=>{const i=document.createElement("style"),r=[];if(n){const{style:e,weight:t,stretch:o,unicodeRange:i,variant:a,featureSettings:s}=n;e&&r.push(`font-style:${e}`),t&&r.push(`font-weight:${t}`),o&&r.push(`font-stretch:${o}`),i&&r.push(`unicode-range:${i}`),a&&r.push(`font-variant:${a}`),s&&r.push(`font-feature-settings:${s}`)}i.innerText=`@font-face{font-family:"${e}";src:${t};${r.join(";")}}`,document.head.appendChild(i),o()})})(e,t=t.startsWith('url("')||t.startsWith("url('")?`url('${Id(t.substring(5,t.length-2))}')`:t.startsWith("url(")?`url('${Id(t.substring(4,t.length-1))}')`:Id(t),n).then(()=>{o()}).catch(e=>{i(`loadFontFace:fail ${e}`)})});function u_(e){function t(){var t;t=e.navigationBar.titleText,document.title=t,j_.emit("onNavigationBarChange",{titleText:t})}Bo(t),ai(t)}const d_=Th(_f,(e,{resolve:t,reject:n})=>{!function(e,t,n,o,i){if(!e)return i("page not found");const{navigationBar:r}=e;switch(t){case"setNavigationBarColor":const{frontColor:e,backgroundColor:t,animation:o}=n,{duration:i,timingFunc:a}=o;e&&(r.titleColor="#000000"===e?"#000000":"#ffffff"),t&&(r.backgroundColor=t),r.duration=i+"ms",r.timingFunc=a;break;case"showNavigationBarLoading":r.loading=!0;break;case"hideNavigationBarLoading":r.loading=!1;break;case _f:const{title:s}=n;r.titleText=s}o()}(Pu(),_f,e,t,n)}),h_=Th("pageScrollTo",({scrollTop:e,selector:t,duration:n},{resolve:o})=>{!function(e,t){if(v(e)){const t=document.querySelector(e);if(t){const{top:n}=t.getBoundingClientRect();e=n+window.pageYOffset;const o=document.querySelector("uni-page-head");o&&(e-=o.offsetHeight)}}e<0&&(e=0);const n=document.documentElement,{clientHeight:o,scrollHeight:i}=n;if(e=Math.min(e,i-o),0===t)return void(n.scrollTop=document.body.scrollTop=e);if(window.scrollY===e)return;const r=t=>{if(t<=0)return void window.scrollTo(0,e);const n=e-window.scrollY;requestAnimationFrame(function(){window.scrollTo(0,window.scrollY+n/t*10),r(t-10)})};r(t)}(t||e||0,n),o()},0,wf),p_=["text","iconPath","iconfont","selectedIconPath","visible"],f_=["color","selectedColor","backgroundColor","borderStyle","midButton"],m_=["badge","redDot"];function g_(e,t,n){t.forEach(function(t){p(n,t)&&(e[t]=n[t])})}function y_(e,t,n){const o=fy();switch(e){case Pf:o.shown=!0;break;case Ef:o.shown=!1;break;case Tf:const{index:e}=t,n=o.list[e],i=n.pagePath;g_(n,p_,t);const{pagePath:r}=t;if(r){const t=He(r);t!==i&&function(e,t,n){const o=ju(He(t));if(o){const{meta:e}=o;delete e.tabBarIndex,e.isQuit=e.isTabBar=!1}const i=ju(He(n));if(i){const{meta:t}=i;t.tabBarIndex=e,t.isQuit=t.isTabBar=!0;const o=__uniConfig.tabBar;o&&o.list&&o.list[e]&&(o.list[e].pagePath=Ve(n))}}(e,i,t)}break;case"setTabBarStyle":g_(o,f_,t);break;case"showTabBarRedDot":g_(o.list[t.index],m_,{badge:"",redDot:!0});break;case Nf:g_(o.list[t.index],m_,{badge:t.text,redDot:!0});break;case"hideTabBarRedDot":case Bf:g_(o.list[t.index],m_,{badge:"",redDot:!1})}n()}const b_=Th(Tf,(e,{resolve:t})=>{y_(Tf,e,t)},0,If),v_=Th(Ef,(e,{resolve:t})=>{y_(Ef,e||{},t)}),__=Th(Pf,(e,{resolve:t})=>{y_(Pf,e||{},t)}),w_=Th(Bf,(e,{resolve:t})=>{y_(Bf,e,t)},0,Of),x_=Th(Nf,(e,{resolve:t})=>{y_(Nf,e,t)},0,Mf),S_=fd({name:"TabBar",setup(){const e=Dn([]),t=fy(),n=Fv(t,()=>{const e=$v(t);n.backgroundColor=e.backgroundColor,n.borderStyle=e.borderStyle,n.color=e.color,n.selectedColor=e.selectedColor,n.blurEffect=e.blurEffect,e.list&&e.list.length&&e.list.forEach((e,t)=>{n.list[t].iconPath=e.iconPath,n.list[t].selectedIconPath=e.selectedIconPath})});!function(e,t){function n(){let n=[];n=e.list.filter(e=>!1!==e.visible),t.value=n}Dn(u({type:"midButton"},e.midButton)),Bo(n)}(n,e),function(e){No(()=>e.shown,t=>{vu({"--window-bottom":wy(t?parseInt(e.height):0)})})}(n);const o=function(e,t,n){return Bo(()=>{const o=e.meta;if(o.isTabBar){const e=o.route,i=n.value.findIndex(t=>t.pagePath===e);t.selectedIndex=i}}),(t,n)=>()=>{const{pagePath:o,text:i}=t;let r=He(o);r===__uniRoutes[0].alias&&(r="/"),e.path!==r?Rv({from:"tabBar",url:r,tabBarText:i}):Lu("onTabItemTap",{index:n,text:i,pagePath:o})}}(xc(),n,e),{style:i,borderStyle:r,placeholderStyle:a}=function(e){const t=ra(()=>{let t=e.backgroundColor;const n=e.blurEffect;return t||vy&&n&&"none"!==n&&(t=T_[n]),{backgroundColor:t||k_,backdropFilter:"none"!==n?"blur(10px)":n}}),n=ra(()=>{const{borderStyle:t}=e;return{backgroundColor:I_[t]||t}}),o=ra(()=>({height:e.height}));return{style:t,borderStyle:n,placeholderStyle:o}}(n);return yi(()=>{n.iconfontSrc&&c_({family:"UniTabbarIconFont",source:`url("${n.iconfontSrc}")`})}),()=>{const t=function(e,t,n){const{selectedIndex:o,selectedColor:i,color:r}=e;return n.value.map((n,a)=>{const s=o===a;return function(e,t,n,o,i,r,a,s){return Lr("div",{key:a,class:"uni-tabbar__item",onClick:s(i,a)},[E_(e,t||"",n,o,i,r)],8,["onClick"])}(s?i:r,s&&n.selectedIconPath||n.iconPath||"",n.iconfont?s&&n.iconfont.selectedText||n.iconfont.text:void 0,n.iconfont?s&&n.iconfont.selectedColor||n.iconfont.color:void 0,n,e,a,t)})}(n,o,e);return Lr("uni-tabbar",{class:"uni-tabbar-"+n.position},[Lr("div",{class:"uni-tabbar",style:i.value},[Lr("div",{class:"uni-tabbar-border",style:r.value},null,4),t],4),Lr("div",{class:"uni-placeholder",style:a.value},null,4)],2)}}});const k_="#f7f7fa",C_="rgb(0, 0, 0, 0.8)",A_="rgb(250, 250, 250, 0.8)",T_={dark:C_,light:A_,extralight:A_},I_={white:"rgba(255, 255, 255, 0.33)",black:"rgba(0, 0, 0, 0.33)"};function E_(e,t,n,o,i,r){const{height:a}=r;return Lr("div",{class:"uni-tabbar__bd",style:{height:a}},[n?B_(n,o||C_,i,r):t&&P_(t,i,r),i.text&&O_(e,i,r),i.redDot&&N_(i.badge)],4)}function P_(e,t,n){const{type:o,text:i}=t,{iconWidth:r}=n;return Lr("div",{class:"uni-tabbar__icon"+(i?" uni-tabbar__icon__diff":""),style:{width:r,height:r}},["midButton"!==o&&Lr("img",{src:Id(e)},null,8,["src"])],6)}function B_(e,t,n,o){var i;const{type:r,text:a}=n,{iconWidth:s}=o,l="uni-tabbar__icon"+(a?" uni-tabbar__icon__diff":""),c={width:s,height:s},u={fontSize:(null==(i=n.iconfont)?void 0:i.fontSize)||s,color:t};return Lr("div",{class:l,style:c},["midButton"!==r&&Lr("div",{class:"uni-tabbar__iconfont",style:u},[e],4)],6)}function O_(e,t,n){const{iconPath:o,text:i}=t,{fontSize:r,spacing:a}=n;return Lr("div",{class:"uni-tabbar__label",style:{color:e,fontSize:r,lineHeight:o?"normal":1.8,marginTop:o?a:"inherit"}},[i],4)}function N_(e){return Lr("div",{class:"uni-tabbar__reddot"+(e?" uni-tabbar__badge":"")},[e],2)}const M_="0px",L_=fd({name:"Layout",setup(e,{emit:t}){const n=Dn(null);bu({"--status-bar-height":M_,"--top-window-height":M_,"--window-left":M_,"--window-right":M_,"--window-margin":M_,"--tab-bar-height":M_});const o=function(){const e=xc();return{routeKey:ra(()=>Py("/"+e.meta.route,hy())),isTabBar:ra(()=>e.meta.isTabBar),routeCache:Oy}}(),{layoutState:i,windowState:r}=function(){dy();{const e=wn({marginWidth:0,leftWindowWidth:0,rightWindowWidth:0});return No(()=>e.marginWidth,e=>bu({"--window-margin":e+"px"})),No(()=>e.leftWindowWidth+e.marginWidth,e=>{bu({"--window-left":e+"px"})}),No(()=>e.rightWindowWidth+e.marginWidth,e=>{bu({"--window-right":e+"px"})}),{layoutState:e,windowState:ra(()=>({}))}}}();!function(e,t){const n=dy();function o(){const o=document.body.clientWidth,i=Cy();let r={};if(i.length>0){r=i[i.length-1].$page.meta}else{const e=ju(n.path,!0);e&&(r=e.meta)}const a=parseInt(String((p(r,"maxWidth")?r.maxWidth:__uniConfig.globalStyle.maxWidth)||Number.MAX_SAFE_INTEGER));let s=!1;s=o>a,s&&a?(e.marginWidth=(o-a)/2,no(()=>{const e=t.value;e&&e.setAttribute("style","max-width:"+a+"px;margin:0 auto;")})):(e.marginWidth=0,no(()=>{const e=t.value;e&&e.removeAttribute("style")}))}No([()=>n.path],o),yi(()=>{o(),window.addEventListener("resize",o)})}(i,n);const a=function(){const e=dy(),t=fy(),n=ra(()=>e.meta.isTabBar&&t.shown);return bu({"--tab-bar-height":t.height}),n}(),s=function(e){const t=Dn(!1);return ra(()=>({"uni-app--showtabbar":e&&e.value,"uni-app--maxwidth":t.value}))}(a);return()=>{const e=function(e){const t=function({routeKey:e,isTabBar:t,routeCache:n}){return Lr(_c,null,{default:bo(({Component:o})=>[(Sr(),Ir(ii,{matchBy:"key",cache:n},[(Sr(),Ir(Ao(o),{type:t.value?"tabBar":"",key:e.value}))],1032,["cache"]))]),_:1})}(e);return t}(o),t=function(e){return zo(Lr(S_,null,null,512),[[Ia,e.value]])}(a);return Lr("uni-app",{ref:n,class:s.value},[e,t],2)}}});const R_=Th(Xp,Ih(Xp)),D_="login",z_=Th(D_,Ih(D_)),$_=pd({name:"CoverView",compatConfig:{MODE:3},props:{scrollTop:{type:[String,Number],default:0}},setup(e,{slots:t}){const n=Dn(null),o=Dn(null);function i(e){let t=o.value;"scroll"===getComputedStyle(t).overflowY&&(t.scrollTop=function(e){let t=String(e);/\d+[ur]px$/i.test(t)&&t.replace(/\d+[ur]px$/i,e=>String(Dh(parseFloat(e))));return parseFloat(t)||0}(e))}return No(()=>e.scrollTop,e=>{i(e)}),yi(()=>{i(e.scrollTop)}),()=>Lr("uni-cover-view",{"scroll-top":e.scrollTop,ref:n},[Lr("div",{ref:o,class:"uni-cover-view"},[t.default&&t.default()],512)],8,["scroll-top"])}}),F_=u(Uc,{publishHandler(e,t,n){j_.subscribeHandler(e,t,n)}}),j_=u(ed,{publishHandler(e,t,n){F_.subscribeHandler(e,t,n)}}),H_=fd({name:"PageHead",setup(){const e=Dn(null),t=cy(),n=Fv(t.navigationBar,()=>{const e=$v(t.navigationBar);n.backgroundColor=e.backgroundColor,n.titleColor=e.titleColor}),{clazz:o,style:i}=function(e){const t=ra(()=>{const{type:t,titlePenetrate:n,shadowColorType:o}=e,i={"uni-page-head":!0,"uni-page-head-transparent":"transparent"===t,"uni-page-head-titlePenetrate":"YES"===n,"uni-page-head-shadow":!!o};return o&&(i[`uni-page-head-shadow-${o}`]=!0),i}),n=ra(()=>({backgroundColor:e.backgroundColor,color:e.titleColor,transitionDuration:e.duration,transitionTimingFunction:e.timingFunc}));return{clazz:t,style:n}}(n);return()=>{const r=function(e,t){if(!t)return Lr("div",{class:"uni-page-head-btn",onClick:W_},[Au(Cu,"transparent"===e.type?"#fff":e.titleColor,26)],8,["onClick"])}(n,t.isQuit),a=n.type||"default",s="transparent"!==a&&"float"!==a&&Lr("div",{class:{"uni-placeholder":!0,"uni-placeholder-titlePenetrate":n.titlePenetrate}},null,2);return Lr("uni-page-head",{"uni-page-head-type":a},[Lr("div",{ref:e,class:o.value,style:i.value},[Lr("div",{class:"uni-page-head-hd"},[r]),V_(n),Lr("div",{class:"uni-page-head-ft"},[])],6),s],8,["uni-page-head-type"])}}});function V_(e,t){return function({type:e,loading:t,titleSize:n,titleText:o,titleImage:i}){return Lr("div",{class:"uni-page-head-bd"},[Lr("div",{style:{fontSize:n,opacity:"transparent"===e?0:1},class:"uni-page-head__title"},[t?Lr("i",{class:"uni-loading"},null):i?Lr("img",{src:i,class:"uni-page-head__title_image"},null,8,["src"]):o],4)])}(e)}function W_(){1===Cy().length?Mv({url:"/"}):Pv({from:"backbutton",success(){}})}const U_=fd({name:"PageBody",setup(e,t){const n=!1,o=Dn(null);return No(()=>n.enablePullDownRefresh,()=>{o.value=null},{immediate:!0}),()=>Lr(yr,null,[!1,Lr("uni-page-wrapper",o.value,[Lr("uni-page-body",null,[Ti(t.slots,"default")])],16)])}}),q_=fd({name:"Page",setup(e,t){const n=uy(hy()),o=n.navigationBar,i={};return u_(n),()=>Lr("uni-page",{"data-page":n.route,style:i},"custom"!==o.style?[Lr(H_),Q_(t)]:[Q_(t)])}});function Q_(e){return Sr(),Ir(U_,{key:0},{default:bo(()=>[Ti(e.slots,"page")]),_:3})}const G_={loading:"AsyncLoading",error:"AsyncError",delay:200,timeout:6e4,suspensible:!0};window.uni={},window.wx={},window.rpx2px=Dh;const Y_=Object.assign({}),X_=Object.assign;window.__uniConfig=X_({easycom:{autoscan:!0,custom:{"^u--(.*)":"uview-plus/components/u-$1/u-$1.vue","^up-(.*)":"uview-plus/components/u-$1/u-$1.vue","^u-([^-].*)":"uview-plus/components/u-$1/u-$1.vue"}},globalStyle:{backgroundColor:"#F8F8F8",navigationBar:{backgroundColor:"#F8F8F8",titleText:"uni-app",type:"default",titleColor:"#000000"},isNVue:!1},uniIdRouter:{},tabBar:{position:"bottom",color:"#000000",selectedColor:"#57C9DD",borderStyle:"black",blurEffect:"none",fontSize:"10px",iconWidth:"24px",spacing:"3px",height:"133.64rpx",list:[{pagePath:"pages/index/index",iconPath:"/static/tabbar/home.png",selectedIconPath:"/static/tabbar/home_s.png"},{pagePath:"pages/appointment/appointment-page",iconPath:"/static/tabbar/appointment.png",selectedIconPath:"/static/tabbar/appointment_s.png"},{pagePath:"pages/me/me-page",iconPath:"/static/tabbar/me.png",selectedIconPath:"/static/tabbar/me_s.png"}],selectedIndex:0,shown:!0},compilerVersion:"4.15"},{appId:"__UNI__C6C43F9",appName:"appointment_system",appVersion:"1.0.0",appVersionCode:"100",async:G_,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(Y_).reduce((e,t)=>{const n=t.replace(/\.\/locale\/(uni-app.)?(.*).json/,"$2");return X_(e[n]||(e[n]={}),Y_[t].default),e},{}),router:{mode:"hash",base:"/",assets:"assets",routerBase:"/"},darkmode:!1,themeConfig:{}}),window.__uniLayout=window.__uniLayout||{};const K_={delay:G_.delay,timeout:G_.timeout,suspensible:G_.suspensible};G_.loading&&(K_.loadingComponent={name:"SystemAsyncLoading",render:()=>Lr(ko(G_.loading))}),G_.error&&(K_.errorComponent={name:"SystemAsyncError",render:()=>Lr(ko(G_.error))});const J_=()=>n(()=>import("./pages-index-index.e475d22e.js"),["assets/pages-index-index.e475d22e.js","assets/tabbar-i18n.82cae040.js","assets/auth.b970b80f.js","assets/AppServer.888fd24d.js","assets/index-9f498473.css"]).then(e=>Zy(e.default||e)),Z_=Zo(X_({loader:J_},K_)),ew=()=>n(()=>import("./pages-login-login-page.440b1f8e.js"),["assets/pages-login-login-page.440b1f8e.js","assets/AppServer.888fd24d.js","assets/auth.b970b80f.js","assets/ic_back.5440bd15.js","assets/login-page-103fc876.css"]).then(e=>Zy(e.default||e)),tw=Zo(X_({loader:ew},K_)),nw=()=>n(()=>import("./pages-appointment-appointment-page.964e02da.js"),["assets/pages-appointment-appointment-page.964e02da.js","assets/tabbar-i18n.82cae040.js","assets/AppServer.888fd24d.js","assets/auth.b970b80f.js","assets/appointment-page-74908b41.css"]).then(e=>Zy(e.default||e)),ow=Zo(X_({loader:nw},K_)),iw=()=>n(()=>import("./pages-me-me-page.d68538b6.js"),["assets/pages-me-me-page.d68538b6.js","assets/tabbar-i18n.82cae040.js","assets/auth.b970b80f.js","assets/AppServer.888fd24d.js","assets/ic_notice.f2babaad.js","assets/arrow_right2.8bd5bd0f.js","assets/me-page-26588892.css"]).then(e=>Zy(e.default||e)),rw=Zo(X_({loader:iw},K_)),aw=()=>n(()=>import("./pages-index-reserve-details-page.27657fc1.js"),["assets/pages-index-reserve-details-page.27657fc1.js","assets/ic_back.5440bd15.js","assets/reserve-details-page-81847eb9.css"]).then(e=>Zy(e.default||e)),sw=Zo(X_({loader:aw},K_)),lw=()=>n(()=>import("./pages-appointment-airfare-info-entry-page.008bdbb6.js"),["assets/pages-appointment-airfare-info-entry-page.008bdbb6.js","assets/aure-country-picker.01cea584.js","assets/aure-country-picker-e6f92922.css","assets/AppServer.888fd24d.js","assets/ic_back.5440bd15.js","assets/arrow_down.807172e3.js","assets/arrow_right2.8bd5bd0f.js","assets/airfare-info-entry-page-c7398c8d.css"]).then(e=>Zy(e.default||e)),cw=Zo(X_({loader:lw},K_)),uw=()=>n(()=>import("./pages-me-notification-page.103e4603.js"),["assets/pages-me-notification-page.103e4603.js","assets/AppServer.888fd24d.js","assets/ic_back.5440bd15.js","assets/ic_notice.f2babaad.js","assets/notification-page-a33108be.css"]).then(e=>Zy(e.default||e)),dw=Zo(X_({loader:uw},K_)),hw=()=>n(()=>import("./pages-me-contact-us-page.af455db9.js"),["assets/pages-me-contact-us-page.af455db9.js","assets/ic_back.5440bd15.js","assets/contact-us-page-1a0f8c19.css"]).then(e=>Zy(e.default||e)),pw=Zo(X_({loader:hw},K_)),fw=()=>n(()=>import("./pages-me-invite-reward-page.89752fa7.js"),["assets/pages-me-invite-reward-page.89752fa7.js","assets/AppServer.888fd24d.js","assets/ic_back.5440bd15.js","assets/ic_colse.a4aecbba.js","assets/invite-reward-page-c248d82e.css"]).then(e=>Zy(e.default||e)),mw=Zo(X_({loader:fw},K_)),gw=()=>n(()=>import("./pages-service-detail-service-detail.7ccacd63.js"),["assets/pages-service-detail-service-detail.7ccacd63.js","assets/AppServer.888fd24d.js","assets/service-detail-fa6f2108.css"]).then(e=>Zy(e.default||e)),yw=Zo(X_({loader:gw},K_)),bw=()=>n(()=>import("./pages-me-profile-edit-page.2dfd9fda.js"),["assets/pages-me-profile-edit-page.2dfd9fda.js","assets/AppServer.888fd24d.js","assets/auth.b970b80f.js","assets/profile-edit-page-f389f346.css"]).then(e=>Zy(e.default||e)),vw=Zo(X_({loader:bw},K_)),_w=()=>n(()=>import("./pages-me-my-appointments-page.c73dbf22.js"),["assets/pages-me-my-appointments-page.c73dbf22.js","assets/AppServer.888fd24d.js","assets/ic_back.5440bd15.js","assets/ic_colse.a4aecbba.js","assets/my-appointments-page-80414920.css"]).then(e=>Zy(e.default||e)),ww=Zo(X_({loader:_w},K_)),xw=()=>n(()=>import("./pages-me-about-us-page.ca5f80f5.js"),["assets/pages-me-about-us-page.ca5f80f5.js","assets/ic_back.5440bd15.js","assets/about-us-page-f7aed867.css"]).then(e=>Zy(e.default||e)),Sw=Zo(X_({loader:xw},K_)),kw=()=>n(()=>import("./pages-me-user-agreement-page.6a19be09.js"),["assets/pages-me-user-agreement-page.6a19be09.js","assets/ic_back.5440bd15.js","assets/user-agreement-page-0adf17fe.css"]).then(e=>Zy(e.default||e)),Cw=Zo(X_({loader:kw},K_)),Aw=()=>n(()=>import("./pages-me-privacy-policy-page.046daf60.js"),["assets/pages-me-privacy-policy-page.046daf60.js","assets/ic_back.5440bd15.js","assets/privacy-policy-page-53be437c.css"]).then(e=>Zy(e.default||e)),Tw=Zo(X_({loader:Aw},K_)),Iw=()=>n(()=>import("./pages-appointment-vip-lounge-page.07f6f539.js"),["assets/pages-appointment-vip-lounge-page.07f6f539.js","assets/aure-country-picker.01cea584.js","assets/aure-country-picker-e6f92922.css","assets/AppServer.888fd24d.js","assets/ic_back.5440bd15.js","assets/arrow_right2.8bd5bd0f.js","assets/vip-lounge-page-015c538c.css"]).then(e=>Zy(e.default||e)),Ew=Zo(X_({loader:Iw},K_)),Pw=()=>n(()=>import("./pages-appointment-airport-transfer-page.db65a1bb.js"),["assets/pages-appointment-airport-transfer-page.db65a1bb.js","assets/aure-country-picker.01cea584.js","assets/aure-country-picker-e6f92922.css","assets/AppServer.888fd24d.js","assets/ic_back.5440bd15.js","assets/arrow_right2.8bd5bd0f.js","assets/airport-transfer-page-b711a928.css"]).then(e=>Zy(e.default||e)),Bw=Zo(X_({loader:Pw},K_)),Ow=()=>n(()=>import("./pages-appointment-rail-ticket-page.d930e7af.js"),["assets/pages-appointment-rail-ticket-page.d930e7af.js","assets/aure-country-picker.01cea584.js","assets/aure-country-picker-e6f92922.css","assets/AppServer.888fd24d.js","assets/ic_back.5440bd15.js","assets/arrow_right2.8bd5bd0f.js","assets/arrow_down.807172e3.js","assets/rail-ticket-page-0fb583ee.css"]).then(e=>Zy(e.default||e)),Nw=Zo(X_({loader:Ow},K_)),Mw=()=>n(()=>import("./pages-appointment-hotel-reservation-page.97687d30.js"),["assets/pages-appointment-hotel-reservation-page.97687d30.js","assets/aure-country-picker.01cea584.js","assets/aure-country-picker-e6f92922.css","assets/AppServer.888fd24d.js","assets/ic_back.5440bd15.js","assets/arrow_right2.8bd5bd0f.js","assets/arrow_down.807172e3.js","assets/hotel-reservation-page-7ef073e8.css"]).then(e=>Zy(e.default||e)),Lw=Zo(X_({loader:Mw},K_)),Rw=()=>n(()=>import("./pages-appointment-unaccompanied-minor-page.8ff7a674.js"),["assets/pages-appointment-unaccompanied-minor-page.8ff7a674.js","assets/aure-country-picker.01cea584.js","assets/aure-country-picker-e6f92922.css","assets/AppServer.888fd24d.js","assets/ic_back.5440bd15.js","assets/arrow_right2.8bd5bd0f.js","assets/unaccompanied-minor-page-c1e89e12.css"]).then(e=>Zy(e.default||e)),Dw=Zo(X_({loader:Rw},K_)),zw=()=>n(()=>import("./pages-appointment-medical-consultation-page.3754f2ce.js"),["assets/pages-appointment-medical-consultation-page.3754f2ce.js","assets/aure-country-picker.01cea584.js","assets/aure-country-picker-e6f92922.css","assets/AppServer.888fd24d.js","assets/ic_back.5440bd15.js","assets/arrow_right2.8bd5bd0f.js","assets/medical-consultation-page-019fcec9.css"]).then(e=>Zy(e.default||e)),$w=Zo(X_({loader:zw},K_)),Fw=()=>n(()=>import("./pages-appointment-special-needs-page.418e8462.js"),["assets/pages-appointment-special-needs-page.418e8462.js","assets/aure-country-picker.01cea584.js","assets/aure-country-picker-e6f92922.css","assets/AppServer.888fd24d.js","assets/ic_back.5440bd15.js","assets/arrow_right2.8bd5bd0f.js","assets/special-needs-page-ce40d7ab.css"]).then(e=>Zy(e.default||e)),jw=Zo(X_({loader:Fw},K_)),Hw=()=>n(()=>import("./pages-appointment-pet-transportation-page.bd4b9540.js"),["assets/pages-appointment-pet-transportation-page.bd4b9540.js","assets/aure-country-picker.01cea584.js","assets/aure-country-picker-e6f92922.css","assets/AppServer.888fd24d.js","assets/ic_back.5440bd15.js","assets/arrow_right2.8bd5bd0f.js","assets/arrow_down.807172e3.js","assets/pet-transportation-page-d7629c3e.css"]).then(e=>Zy(e.default||e)),Vw=Zo(X_({loader:Hw},K_)),Ww=()=>n(()=>import("./pages-appointment-guide-translation-page.92bb9fdd.js"),["assets/pages-appointment-guide-translation-page.92bb9fdd.js","assets/aure-country-picker.01cea584.js","assets/aure-country-picker-e6f92922.css","assets/AppServer.888fd24d.js","assets/ic_back.5440bd15.js","assets/arrow_right2.8bd5bd0f.js","assets/guide-translation-page-baab5650.css"]).then(e=>Zy(e.default||e)),Uw=Zo(X_({loader:Ww},K_)),qw=()=>n(()=>import("./pages-appointment-visa-consultation-page.87cb2a6f.js"),["assets/pages-appointment-visa-consultation-page.87cb2a6f.js","assets/aure-country-picker.01cea584.js","assets/aure-country-picker-e6f92922.css","assets/AppServer.888fd24d.js","assets/ic_back.5440bd15.js","assets/visa-consultation-page-9b4fd51e.css"]).then(e=>Zy(e.default||e)),Qw=Zo(X_({loader:qw},K_)),Gw=()=>n(()=>import("./pages-appointment-exhibition-service-page.778f053d.js"),["assets/pages-appointment-exhibition-service-page.778f053d.js","assets/aure-country-picker.01cea584.js","assets/aure-country-picker-e6f92922.css","assets/AppServer.888fd24d.js","assets/ic_back.5440bd15.js","assets/exhibition-service-page-994a5df4.css"]).then(e=>Zy(e.default||e)),Yw=Zo(X_({loader:Gw},K_)),Xw=()=>n(()=>import("./pages-appointment-insurance-consultation-page.1495fef3.js"),["assets/pages-appointment-insurance-consultation-page.1495fef3.js","assets/aure-country-picker.01cea584.js","assets/aure-country-picker-e6f92922.css","assets/AppServer.888fd24d.js","assets/ic_back.5440bd15.js","assets/insurance-consultation-page-83a2fbb4.css"]).then(e=>Zy(e.default||e)),Kw=Zo(X_({loader:Xw},K_)),Jw=()=>n(()=>import("./pages-appointment-air-logistics-page.2de8917c.js"),["assets/pages-appointment-air-logistics-page.2de8917c.js","assets/aure-country-picker.01cea584.js","assets/aure-country-picker-e6f92922.css","assets/AppServer.888fd24d.js","assets/ic_back.5440bd15.js","assets/air-logistics-page-d1e8e514.css"]).then(e=>Zy(e.default||e)),Zw=Zo(X_({loader:Jw},K_)),ex=()=>n(()=>import("./pages-appointment-sea-freight-page.859e51fb.js"),["assets/pages-appointment-sea-freight-page.859e51fb.js","assets/aure-country-picker.01cea584.js","assets/aure-country-picker-e6f92922.css","assets/AppServer.888fd24d.js","assets/ic_back.5440bd15.js","assets/sea-freight-page-c712143a.css"]).then(e=>Zy(e.default||e)),tx=Zo(X_({loader:ex},K_)),nx=()=>n(()=>import("./pages-appointment-travel-planning-page.855c79ad.js"),["assets/pages-appointment-travel-planning-page.855c79ad.js","assets/aure-country-picker.01cea584.js","assets/aure-country-picker-e6f92922.css","assets/AppServer.888fd24d.js","assets/ic_back.5440bd15.js","assets/arrow_right2.8bd5bd0f.js","assets/travel-planning-page-749c09fc.css"]).then(e=>Zy(e.default||e)),ox=Zo(X_({loader:nx},K_));function ix(e,t){return Sr(),Ir(q_,null,{page:bo(()=>[Lr(e,X_({},t,{ref:"page"}),null,512)]),_:1})}window.__uniRoutes=[{path:"/",alias:"/pages/index/index",component:{setup(){const e=Yy(),t=e&&e.$route&&e.$route.query||{};return()=>ix(Z_,t)}},loader:J_,meta:{isQuit:!0,isEntry:!0,isTabBar:!0,tabBarIndex:0,navigationBar:{style:"custom",type:"default"},isNVue:!1}},{path:"/pages/login/login-page",component:{setup(){const e=Yy(),t=e&&e.$route&&e.$route.query||{};return()=>ix(tw,t)}},loader:ew,meta:{navigationBar:{style:"custom",type:"default"},isNVue:!1}},{path:"/pages/appointment/appointment-page",component:{setup(){const e=Yy(),t=e&&e.$route&&e.$route.query||{};return()=>ix(ow,t)}},loader:nw,meta:{isQuit:!0,isTabBar:!0,tabBarIndex:1,navigationBar:{titleText:"",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/me/me-page",component:{setup(){const e=Yy(),t=e&&e.$route&&e.$route.query||{};return()=>ix(rw,t)}},loader:iw,meta:{isQuit:!0,isTabBar:!0,tabBarIndex:2,navigationBar:{titleText:"",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/index/reserve-details-page",component:{setup(){const e=Yy(),t=e&&e.$route&&e.$route.query||{};return()=>ix(sw,t)}},loader:aw,meta:{navigationBar:{titleText:"",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/appointment/airfare-info-entry-page",component:{setup(){const e=Yy(),t=e&&e.$route&&e.$route.query||{};return()=>ix(cw,t)}},loader:lw,meta:{navigationBar:{titleText:"",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/me/notification-page",component:{setup(){const e=Yy(),t=e&&e.$route&&e.$route.query||{};return()=>ix(dw,t)}},loader:uw,meta:{navigationBar:{titleText:"",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/me/contact-us-page",component:{setup(){const e=Yy(),t=e&&e.$route&&e.$route.query||{};return()=>ix(pw,t)}},loader:hw,meta:{navigationBar:{titleText:"",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/me/invite-reward-page",component:{setup(){const e=Yy(),t=e&&e.$route&&e.$route.query||{};return()=>ix(mw,t)}},loader:fw,meta:{navigationBar:{titleText:"",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/service-detail/service-detail",component:{setup(){const e=Yy(),t=e&&e.$route&&e.$route.query||{};return()=>ix(yw,t)}},loader:gw,meta:{navigationBar:{backgroundColor:"#FFFFFF",titleText:"服务详情",type:"default"},isNVue:!1}},{path:"/pages/me/profile-edit-page",component:{setup(){const e=Yy(),t=e&&e.$route&&e.$route.query||{};return()=>ix(vw,t)}},loader:bw,meta:{navigationBar:{titleText:"",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/me/my-appointments-page",component:{setup(){const e=Yy(),t=e&&e.$route&&e.$route.query||{};return()=>ix(ww,t)}},loader:_w,meta:{navigationBar:{titleText:"",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/me/about-us-page",component:{setup(){const e=Yy(),t=e&&e.$route&&e.$route.query||{};return()=>ix(Sw,t)}},loader:xw,meta:{navigationBar:{titleText:"",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/me/user-agreement-page",component:{setup(){const e=Yy(),t=e&&e.$route&&e.$route.query||{};return()=>ix(Cw,t)}},loader:kw,meta:{navigationBar:{titleText:"",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/me/privacy-policy-page",component:{setup(){const e=Yy(),t=e&&e.$route&&e.$route.query||{};return()=>ix(Tw,t)}},loader:Aw,meta:{navigationBar:{titleText:"",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/appointment/vip-lounge-page",component:{setup(){const e=Yy(),t=e&&e.$route&&e.$route.query||{};return()=>ix(Ew,t)}},loader:Iw,meta:{navigationBar:{titleText:"",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/appointment/airport-transfer-page",component:{setup(){const e=Yy(),t=e&&e.$route&&e.$route.query||{};return()=>ix(Bw,t)}},loader:Pw,meta:{navigationBar:{titleText:"",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/appointment/rail-ticket-page",component:{setup(){const e=Yy(),t=e&&e.$route&&e.$route.query||{};return()=>ix(Nw,t)}},loader:Ow,meta:{navigationBar:{titleText:"",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/appointment/hotel-reservation-page",component:{setup(){const e=Yy(),t=e&&e.$route&&e.$route.query||{};return()=>ix(Lw,t)}},loader:Mw,meta:{navigationBar:{titleText:"",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/appointment/unaccompanied-minor-page",component:{setup(){const e=Yy(),t=e&&e.$route&&e.$route.query||{};return()=>ix(Dw,t)}},loader:Rw,meta:{navigationBar:{titleText:"",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/appointment/medical-consultation-page",component:{setup(){const e=Yy(),t=e&&e.$route&&e.$route.query||{};return()=>ix($w,t)}},loader:zw,meta:{navigationBar:{titleText:"",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/appointment/special-needs-page",component:{setup(){const e=Yy(),t=e&&e.$route&&e.$route.query||{};return()=>ix(jw,t)}},loader:Fw,meta:{navigationBar:{titleText:"",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/appointment/pet-transportation-page",component:{setup(){const e=Yy(),t=e&&e.$route&&e.$route.query||{};return()=>ix(Vw,t)}},loader:Hw,meta:{navigationBar:{titleText:"",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/appointment/guide-translation-page",component:{setup(){const e=Yy(),t=e&&e.$route&&e.$route.query||{};return()=>ix(Uw,t)}},loader:Ww,meta:{navigationBar:{titleText:"",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/appointment/visa-consultation-page",component:{setup(){const e=Yy(),t=e&&e.$route&&e.$route.query||{};return()=>ix(Qw,t)}},loader:qw,meta:{navigationBar:{titleText:"",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/appointment/exhibition-service-page",component:{setup(){const e=Yy(),t=e&&e.$route&&e.$route.query||{};return()=>ix(Yw,t)}},loader:Gw,meta:{navigationBar:{titleText:"",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/appointment/insurance-consultation-page",component:{setup(){const e=Yy(),t=e&&e.$route&&e.$route.query||{};return()=>ix(Kw,t)}},loader:Xw,meta:{navigationBar:{titleText:"",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/appointment/air-logistics-page",component:{setup(){const e=Yy(),t=e&&e.$route&&e.$route.query||{};return()=>ix(Zw,t)}},loader:Jw,meta:{navigationBar:{titleText:"",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/appointment/sea-freight-page",component:{setup(){const e=Yy(),t=e&&e.$route&&e.$route.query||{};return()=>ix(tx,t)}},loader:ex,meta:{navigationBar:{titleText:"",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/appointment/travel-planning-page",component:{setup(){const e=Yy(),t=e&&e.$route&&e.$route.query||{};return()=>ix(ox,t)}},loader:nx,meta:{navigationBar:{titleText:"",style:"custom",type:"default"},isNVue:!1}}].map(e=>(e.meta.route=(e.alias||e.path).slice(1),e));var rx=rx||{};rx.API_BASE_URL="http://192.168.1.7:3000",rx.FLOWER_SEND_INTERVAL=36e5,rx.UPLOAD_SERVICE_TYPE="server",rx.UPLOAD_CONFIG={imageQuality:80,imageMaxSize:5242880,videoMaxSize:52428800,serverUploadUrl:"http://192.168.1.7:3000/api/v1/upload/image",cosDomain:""},rx.UPLOAD_PRESETS={normal:{imageQuality:80,imageMaxSize:5242880},avatar:{imageQuality:90,imageMaxSize:2097152},qrcode:{imageQuality:85,imageMaxSize:3145728}},rx._cachedConfig=null,rx._cacheTime=0,rx._cacheExpiry=3e5,rx.getPublicConfig=function(){const e=Date.now();return rx._cachedConfig&&e-rx._cacheTime{console.log("发起配置请求:",rx.API_BASE_URL+"/api/v1/config"),xv({url:rx.API_BASE_URL+"/api/v1/config",method:"GET",timeout:1e4,success:n=>{console.log("请求成功 - 响应状态码:",n.statusCode),console.log("请求成功 - 响应数据:",n.data),200===n.statusCode&&n.data&&0===n.data.code?(rx._cachedConfig=n.data.data||{},rx._cacheTime=e,console.log("配置已缓存:",rx._cachedConfig),t(rx._cachedConfig)):(console.log("响应状态不符合预期"),t(rx._cachedConfig||{}))},fail:e=>{console.error("请求失败:",e),t(rx._cachedConfig||{})}})})},rx.getImageUrl=function(e){return e?e.startsWith("http://")||e.startsWith("https://")?e:rx.API_BASE_URL+e:""};const ax={globalData:{token:"",user:null,shouldRefresh:!1,loginTime:0,config:null},onLaunch:function(){console.log("App Launch"),this.initGlobalData(),this.loadAppConfig(),this.setTabBarText()},onShow:function(){console.log("App Show"),this.setTabBarText()},onHide:function(){console.log("App Hide")},methods:{initGlobalData(){try{const t=Gb("token");t&&(this.globalData.token=t);const n=Gb("user");if(n)try{this.globalData.user=JSON.parse(n)}catch(e){console.error("解析用户信息失败:",e)}}catch(e){console.error("初始化全局数据失败:",e)}},setTabBarText(){const e=Cy();if(e.length>0){const t=e[e.length-1],n=["pages/index/index","pages/appointment/appointment-page","pages/me/me-page"],o=t.route||"";if(!n.includes(o))return;t.$vm&&t.$vm.$t&&(b_({index:0,text:t.$vm.$t("tabbar.home")}),b_({index:1,text:t.$vm.$t("tabbar.appointment")}),b_({index:2,text:t.$vm.$t("tabbar.me")}))}},async loadAppConfig(){try{const e=await rx.getPublicConfig();e&&(this.globalData.config=e,console.log("应用配置已加载到globalData:",e))}catch(e){console.error("加载应用配置失败:",e)}},getConfig(e,t=""){return this.globalData.config&&this.globalData.config[e]?this.globalData.config[e]:t},getConfigImageUrl(e){const t=this.getConfig(e);return t?rx.getImageUrl(t):""}},watch:{"$i18n.locale"(){this.setTabBarText()}}};Jy(ax,{init:Xy,setup(e){const t=dy(),n=()=>{var n;n=e,Object.keys(Fp).forEach(e=>{Fp[e].forEach(t=>{fi(e,t,n)})});const{onLaunch:o,onShow:i,onPageNotFound:r,onError:a}=e,s=function({path:e,query:t}){return u(Wf,{path:e,query:t}),u(Uf,Wf),u({},Wf)}({path:t.path.slice(1)||__uniRoutes[0].meta.route,query:Ze(t.query)});if(o&&R(o,s),i&&R(i,s),!t.matched.length){const e={notFound:!0,openType:"appLaunch",path:t.path,query:{},scene:1001};r&&R(r,e)}a&&(e.appContext.config.errorHandler=e=>{R(a,e)})};return Ki($l).isReady().then(n),yi(()=>{window.addEventListener("resize",nt(eb,50,{setTimeout:setTimeout,clearTimeout:clearTimeout})),window.addEventListener("message",tb),document.addEventListener("visibilitychange",nb),function(){let e=null;try{e=window.matchMedia("(prefers-color-scheme: dark)")}catch(t){}if(e){let t=e=>{j_.emit(de,{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=()=>(Sr(),Ir(L_));e.setup=(e,o)=>{const i=t&&t(e,o);return b(i)?n:i},e.render=n}});const sx={"uicon-level":"","uicon-column-line":"","uicon-checkbox-mark":"","uicon-folder":"","uicon-movie":"","uicon-star-fill":"","uicon-star":"","uicon-phone-fill":"","uicon-phone":"","uicon-apple-fill":"","uicon-chrome-circle-fill":"","uicon-backspace":"","uicon-attach":"","uicon-cut":"","uicon-empty-car":"","uicon-empty-coupon":"","uicon-empty-address":"","uicon-empty-favor":"","uicon-empty-permission":"","uicon-empty-news":"","uicon-empty-search":"","uicon-github-circle-fill":"","uicon-rmb":"","uicon-person-delete-fill":"","uicon-reload":"","uicon-order":"","uicon-server-man":"","uicon-search":"","uicon-fingerprint":"","uicon-more-dot-fill":"","uicon-scan":"","uicon-share-square":"","uicon-map":"","uicon-map-fill":"","uicon-tags":"","uicon-tags-fill":"","uicon-bookmark-fill":"","uicon-bookmark":"","uicon-eye":"","uicon-eye-fill":"","uicon-mic":"","uicon-mic-off":"","uicon-calendar":"","uicon-calendar-fill":"","uicon-trash":"","uicon-trash-fill":"","uicon-play-left":"","uicon-play-right":"","uicon-minus":"","uicon-plus":"","uicon-info":"","uicon-info-circle":"","uicon-info-circle-fill":"","uicon-question":"","uicon-error":"","uicon-close":"","uicon-checkmark":"","uicon-android-circle-fill":"","uicon-android-fill":"","uicon-ie":"","uicon-IE-circle-fill":"","uicon-google":"","uicon-google-circle-fill":"","uicon-setting-fill":"","uicon-setting":"","uicon-minus-square-fill":"","uicon-plus-square-fill":"","uicon-heart":"","uicon-heart-fill":"","uicon-camera":"","uicon-camera-fill":"","uicon-more-circle":"","uicon-more-circle-fill":"","uicon-chat":"","uicon-chat-fill":"","uicon-bag-fill":"","uicon-bag":"","uicon-error-circle-fill":"","uicon-error-circle":"","uicon-close-circle":"","uicon-close-circle-fill":"","uicon-checkmark-circle":"","uicon-checkmark-circle-fill":"","uicon-question-circle-fill":"","uicon-question-circle":"","uicon-share":"","uicon-share-fill":"","uicon-shopping-cart":"","uicon-shopping-cart-fill":"","uicon-bell":"","uicon-bell-fill":"","uicon-list":"","uicon-list-dot":"","uicon-zhihu":"","uicon-zhihu-circle-fill":"","uicon-zhifubao":"","uicon-zhifubao-circle-fill":"","uicon-weixin-circle-fill":"","uicon-weixin-fill":"","uicon-twitter-circle-fill":"","uicon-twitter":"","uicon-taobao-circle-fill":"","uicon-taobao":"","uicon-weibo-circle-fill":"","uicon-weibo":"","uicon-qq-fill":"","uicon-qq-circle-fill":"","uicon-moments-circel-fill":"","uicon-moments":"","uicon-qzone":"","uicon-qzone-circle-fill":"","uicon-baidu-circle-fill":"","uicon-baidu":"","uicon-facebook-circle-fill":"","uicon-facebook":"","uicon-car":"","uicon-car-fill":"","uicon-warning-fill":"","uicon-warning":"","uicon-clock-fill":"","uicon-clock":"","uicon-edit-pen":"","uicon-edit-pen-fill":"","uicon-email":"","uicon-email-fill":"","uicon-minus-circle":"","uicon-minus-circle-fill":"","uicon-plus-circle":"","uicon-plus-circle-fill":"","uicon-file-text":"","uicon-file-text-fill":"","uicon-pushpin":"","uicon-pushpin-fill":"","uicon-grid":"","uicon-grid-fill":"","uicon-play-circle":"","uicon-play-circle-fill":"","uicon-pause-circle-fill":"","uicon-pause":"","uicon-pause-circle":"","uicon-eye-off":"","uicon-eye-off-outline":"","uicon-gift-fill":"","uicon-gift":"","uicon-rmb-circle-fill":"","uicon-rmb-circle":"","uicon-kefu-ermai":"","uicon-server-fill":"","uicon-coupon-fill":"","uicon-coupon":"","uicon-integral":"","uicon-integral-fill":"","uicon-home-fill":"","uicon-home":"","uicon-hourglass-half-fill":"","uicon-hourglass":"","uicon-account":"","uicon-plus-people-fill":"","uicon-minus-people-fill":"","uicon-account-fill":"","uicon-thumb-down-fill":"","uicon-thumb-down":"","uicon-thumb-up":"","uicon-thumb-up-fill":"","uicon-lock-fill":"","uicon-lock-open":"","uicon-lock-opened-fill":"","uicon-lock":"","uicon-red-packet-fill":"","uicon-photo-fill":"","uicon-photo":"","uicon-volume-off-fill":"","uicon-volume-off":"","uicon-volume-fill":"","uicon-volume":"","uicon-red-packet":"","uicon-download":"","uicon-arrow-up-fill":"","uicon-arrow-down-fill":"","uicon-play-left-fill":"","uicon-play-right-fill":"","uicon-rewind-left-fill":"","uicon-rewind-right-fill":"","uicon-arrow-downward":"","uicon-arrow-leftward":"","uicon-arrow-rightward":"","uicon-arrow-upward":"","uicon-arrow-down":"","uicon-arrow-right":"","uicon-arrow-left":"","uicon-arrow-up":"","uicon-skip-back-left":"","uicon-skip-forward-right":"","uicon-rewind-right":"","uicon-rewind-left":"","uicon-arrow-right-double":"","uicon-arrow-left-double":"","uicon-wifi-off":"","uicon-wifi":"","uicon-empty-data":"","uicon-empty-history":"","uicon-empty-list":"","uicon-empty-page":"","uicon-empty-order":"","uicon-empty-wifi":"","uicon-man":"","uicon-woman":"","uicon-man-add":"","uicon-man-add-fill":"","uicon-man-delete":"","uicon-man-delete-fill":"","uicon-zh":"","uicon-en":""},lx={v:"3",version:"3",type:["primary","success","info","error","warning"],color:{"u-primary":"#2979ff","u-warning":"#ff9900","u-success":"#19be6b","u-error":"#fa3534","u-info":"#909399","u-main-color":"#303133","u-content-color":"#606266","u-tips-color":"#909399","u-light-color":"#c0c4cc","up-primary":"#2979ff","up-warning":"#ff9900","up-success":"#19be6b","up-error":"#fa3534","up-info":"#909399","up-main-color":"#303133","up-content-color":"#606266","up-tips-color":"#909399","up-light-color":"#c0c4cc"},iconUrl:"https://at.alicdn.com/t/font_2225171_8kdcwk4po24.ttf",customIcon:{family:"",url:""},customIcons:{},unit:"px",interceptor:{navbarLeftClick:null},loadFontOnce:!1},cx={toast:10090,noNetwork:10080,popup:10075,mask:10070,navbar:980,topTips:975,sticky:970,indexListSticky:965},ux={primary:"#3c9cff",info:"#909399",default:"#909399",warning:"#f9ae3d",error:"#f56c6c",success:"#5ac725",mainColor:"#303133",contentColor:"#606266",tipsColor:"#909399",lightColor:"#c0c4cc",borderColor:"#e4e7ed"},{toString:dx}=Object.prototype;function hx(e){return"[object Array]"===dx.call(e)}function px(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),hx(e))for(let n=0,o=e.length;n{null!=t&&(hx(t)?n=`${n}[]`:t=[t],px(t,t=>{!function(e){return"[object Date]"===dx.call(e)}(t)?function(e){return null!==e&&"object"==typeof e}(t)&&(t=JSON.stringify(t)):t=t.toISOString(),e.push(`${gx(n)}=${gx(t)}`)}))}),n=e.join("&")}var o;if(n){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+n}return e}const bx=(e,t)=>{const n={};return e.forEach(e=>{mx(t[e])||(n[e]=t[e])}),n},vx=e=>(e=>new Promise((t,n)=>{const o=yx((i=e.baseURL,r=e.url,i&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(r)?function(e,t){return t?`${e.replace(/\/+$/,"")}/${t.replace(/^\/+/,"")}`:e}(i,r):r),e.params);var i,r;const a={url:o,header:e.header,complete:i=>{e.fullPath=o,i.config=e;try{"string"==typeof i.data&&(i.data=JSON.parse(i.data))}catch(r){}!function(e,t,n){const{validateStatus:o}=n.config,i=n.statusCode;!i||o&&!o(i)?t(n):e(n)}(t,n,i)}};let s;if("UPLOAD"===e.method){delete a.header["content-type"],delete a.header["Content-Type"];const t={filePath:e.filePath,name:e.name},n=["files","file","timeout","formData"];s=Iv({...a,...t,...bx(n,e)})}else if("DOWNLOAD"===e.method)mx(e.timeout)||(a.timeout=e.timeout),s=Av(a);else{const t=["data","method","timeout","dataType","responseType","withCredentials"];s=xv({...a,...bx(t,e)})}e.getTask&&e.getTask(s,e)}))(e);function _x(){this.handlers=[]}_x.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},_x.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},_x.prototype.forEach=function(e){this.handlers.forEach(t=>{null!==t&&e(t)})};const wx=(e,t,n)=>{const o={};return e.forEach(e=>{mx(n[e])?mx(t[e])||(o[e]=t[e]):o[e]=n[e]}),o},xx={baseURL:"",header:{},method:"GET",dataType:"json",responseType:"text",custom:{},timeout:6e4,withCredentials:!1,validateStatus:function(e){return e>=200&&e<300}};var Sx=function(){function e(e,t){return null!=t&&e instanceof t}var t,n,o;try{t=Map}catch(s){t=function(){}}try{n=Set}catch(s){n=function(){}}try{o=Promise}catch(s){o=function(){}}function i(r,s,l,c,u){"object"==typeof s&&(l=s.depth,c=s.prototype,u=s.includeNonEnumerable,s=s.circular);var d=[],h=[],p="undefined"!=typeof Buffer;return void 0===s&&(s=!0),void 0===l&&(l=1/0),function r(l,f){if(null===l)return null;if(0===f)return l;var m,g;if("object"!=typeof l)return l;if(e(l,t))m=new t;else if(e(l,n))m=new n;else if(e(l,o))m=new o(function(e,t){l.then(function(t){e(r(t,f-1))},function(e){t(r(e,f-1))})});else if(i.__isArray(l))m=[];else if(i.__isRegExp(l))m=new RegExp(l.source,a(l)),l.lastIndex&&(m.lastIndex=l.lastIndex);else if(i.__isDate(l))m=new Date(l.getTime());else{if(p&&Buffer.isBuffer(l))return Buffer.from?m=Buffer.from(l):(m=new Buffer(l.length),l.copy(m)),m;e(l,Error)?m=Object.create(l):void 0===c?(g=Object.getPrototypeOf(l),m=Object.create(g)):(m=Object.create(c),g=c)}if(s){var y=d.indexOf(l);if(-1!=y)return h[y];d.push(l),h.push(m)}for(var b in e(l,t)&&l.forEach(function(e,t){var n=r(t,f-1),o=r(e,f-1);m.set(n,o)}),e(l,n)&&l.forEach(function(e){var t=r(e,f-1);m.add(t)}),l){Object.getOwnPropertyDescriptor(l,b)&&(m[b]=r(l[b],f-1));try{if("undefined"===Object.getOwnPropertyDescriptor(l,b).set)continue;m[b]=r(l[b],f-1)}catch(k){if(k instanceof TypeError)continue;if(k instanceof ReferenceError)continue}}if(Object.getOwnPropertySymbols){var v=Object.getOwnPropertySymbols(l);for(b=0;b{const n=t.method||e.method||"GET";let o={baseURL:e.baseURL||"",method:n,url:t.url||"",params:t.params||{},custom:{...e.custom||{},...t.custom||{}},header:fx(e.header||{},t.header||{})};if(o={...o,...wx(["getTask","validateStatus"],e,t)},"DOWNLOAD"===n)mx(t.timeout)?mx(e.timeout)||(o.timeout=e.timeout):o.timeout=t.timeout;else if("UPLOAD"===n)delete o.header["content-type"],delete o.header["Content-Type"],["files","file","filePath","name","timeout","formData"].forEach(e=>{mx(t[e])||(o[e]=t[e])}),mx(o.timeout)&&!mx(e.timeout)&&(o.timeout=e.timeout);else{const n=["data","timeout","dataType","responseType","withCredentials"];o={...o,...wx(n,e,t)}}return o})(this.config,e);const t=[vx,void 0];let n=Promise.resolve(e);for(this.interceptors.request.forEach(e=>{t.unshift(e.fulfilled,e.rejected)}),this.interceptors.response.forEach(e=>{t.push(e.fulfilled,e.rejected)});t.length;)n=n.then(t.shift(),t.shift());return n}request(e={}){return this.middleware(e)}get(e,t={}){return this.middleware({url:e,method:"GET",...t})}post(e,t,n={}){return this.middleware({url:e,data:t,method:"POST",...n})}put(e,t,n={}){return this.middleware({url:e,data:t,method:"PUT",...n})}delete(e,t,n={}){return this.middleware({url:e,data:t,method:"DELETE",...n})}connect(e,t,n={}){return this.middleware({url:e,data:t,method:"CONNECT",...n})}head(e,t,n={}){return this.middleware({url:e,data:t,method:"HEAD",...n})}options(e,t,n={}){return this.middleware({url:e,data:t,method:"OPTIONS",...n})}trace(e,t,n={}){return this.middleware({url:e,data:t,method:"TRACE",...n})}upload(e,t={}){return t.url=e,t.method="UPLOAD",this.middleware(t)}download(e,t={}){return t.url=e,t.method="DOWNLOAD",this.middleware(t)}};function Cx(e){return/^[\+-]?(\d+\.?\d*|\.\d+|\d\.\d+e\+\d+)$/.test(e)}function Ax(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(const t in e)return!1;return!0}return!1}function Tx(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===Object.prototype.toString.call(e)}function Ix(e){return"function"==typeof e}const Ex={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/^((https|http|ftp|rtsp|mms):\/\/)(([0-9a-zA-Z_!~*'().&=+$%-]+: )?[0-9a-zA-Z_!~*'().&=+$%-]+@)?(([0-9]{1,3}.){3}[0-9]{1,3}|([0-9a-zA-Z_!~*'()-]+.)*([0-9a-zA-Z][0-9a-zA-Z-]{0,61})?[0-9a-zA-Z].[a-zA-Z]{2,6})(:[0-9]{1,4})?((\/?)|(\/[0-9a-zA-Z_!~*'().;?:@&=+$,%#-]+)+\/?)$/.test(e)},date:function(e){if(!e)return!1;if("number"==typeof e)return(10===e.toString().length||13===e.toString().length)&&!isNaN(new Date(e).getTime());if("string"==typeof e){const t=Number(e);if(!isNaN(t)&&(10===t.toString().length||13===t.toString().length))return!isNaN(new Date(t).getTime());if(e.length<10||e.length>19)return!1;if(!/^\d{4}[-\/]\d{2}[-\/]\d{2}( \d{1,2}:\d{2}(:\d{2})?)?$/.test(e))return!1;const n=new Date(e);return!isNaN(n.getTime())}return!1},dateISO:function(e){return/^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$/.test(e)},number:Cx,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:Ax,isEmpty:Ax,jsonString:function(e){if("string"==typeof e)try{const t=JSON.parse(e);return!("object"!=typeof t||!t)}catch(t){return!1}return!1},landline:function(e){return/^\d{3,4}-\d{7,8}(-\d{3,4})?$/.test(e)},object:function(e){return"[object Object]"===Object.prototype.toString.call(e)},array:Tx,code:function(e,t=6){return new RegExp(`^\\d{${t}}$`).test(e)},func:Ix,promise:function(e){return function(e){return"[object Promise]"===Object.prototype.toString.call(e)}(e)&&Ix(e.then)&&Ix(e.catch)},video:function(e){return/\.(mp4|mpg|mpeg|dat|asf|avi|rm|rmvb|mov|wmv|flv|mkv|m3u8)/i.test(e)},image:function(e){const t=e.split("?")[0];return/\.(jpeg|jpg|gif|png|svg|webp|jfif|bmp|dpg)/i.test(t)},regExp:function(e){return e&&"[object RegExp]"===Object.prototype.toString.call(e)},string:function(e){return"string"==typeof e}};function Px(e,t=15){return+parseFloat(Number(e).toPrecision(t))}function Bx(e){const t=e.toString().split(/[eE]/),n=(t[0].split(".")[1]||"").length-+(t[1]||0);return n>0?n:0}function Ox(e){if(-1===e.toString().indexOf("e"))return Number(e.toString().replace(".",""));const t=Bx(e);return t>0?Px(Number(e)*Math.pow(10,t)):Number(e)}function Nx(e){(e>Number.MAX_SAFE_INTEGER||e{r=t(r,e)}),r}function Lx(...e){if(e.length>2)return Mx(e,Lx);const[t,n]=e,o=Ox(t),i=Ox(n),r=Bx(t)+Bx(n),a=o*i;return Nx(a),a/Math.pow(10,r)}function Rx(...e){if(e.length>2)return Mx(e,Rx);const[t,n]=e,o=Ox(t),i=Ox(n);return Nx(o),Nx(i),Lx(o/i,Px(Math.pow(10,Bx(n)-Bx(t))))}function Dx(e=0,t=0,n=0){return Math.max(e,Math.min(t,Number(n)))}function zx(e,t=!1){return Cx(e)?t?`${e}px`:Number(e):/(rpx|upx)$/.test(e)?t?`${Dh(parseInt(e))}px`:Number(Dh(parseInt(e))):t?`${parseInt(e)}px`:parseInt(e)}function $x(e){return Dh(e)}function Fx(e=30){return new Promise(t=>{setTimeout(()=>{t()},e)})}function jx(){return Mb().platform.toLowerCase()}function Hx(){return Rb()}function Vx(){let e={};return e=Pb(),e}function Wx(){let e={};return e=Mb(),e}function Ux(e,t){if(e>=0&&t>0&&t>=e){const n=t-e+1;return Math.floor(Math.random()*n+e)}return 0}function qx(e=32,t=!0,n=null){const o="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split(""),i=[];if(n=n||o.length,e)for(let r=0;r{const o=t.replace(/([A-Z])/g,"-$1").toLowerCase();n+=`${o}:${e};`}),nS(n)}function Yx(e="auto",t=""){return t||(t=lx.unit||"px"),"rpx"==t&&Cx(String(e))&&(e*=2),Cx(e=String(e))?`${e}${t}`:e}function Xx(e){if([null,void 0,NaN,!1].includes(e))return e;if("object"!=typeof e&&"function"!=typeof e)return e;const t=Tx(e)?[]:{};for(const n in e)e.hasOwnProperty(n)&&(t[n]="object"==typeof e[n]?Xx(e[n]):e[n]);return t}function Kx(e={},t={}){let n=Xx(e);if("object"!=typeof n||"object"!=typeof t)return!1;for(const o in t)t.hasOwnProperty(o)&&(o in n?null==t[o]||"object"!=typeof n[o]||"object"!=typeof t[o]?n[o]=t[o]:n[o].concat&&t[o].concat?n[o]=n[o].concat(t[o]):n[o]=Kx(n[o],t[o]):n[o]=t[o]);return n}function Jx(e,t={}){if("object"!=typeof e||"object"!=typeof t)return!1;for(const n in t)t.hasOwnProperty(n)&&(n in e?null==t[n]||"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]=Jx(e[n],t[n]):e[n]=t[n]);return e}function Zx(e){}function eS(e=[]){return e.sort(()=>Math.random()-.5)}function tS(e=null,t="yyyy-mm-dd"){let n;n=e?/^\d{10}$/.test(e.toString().trim())?new Date(1e3*e):"string"==typeof e&&/^\d+$/.test(e.trim())?new Date(Number(e)):"string"==typeof e&&/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{3}Z$/.test(e)?new Date(e):new Date("string"==typeof e?e.replace(/-/g,"/"):e):new Date;const o={y:n.getFullYear().toString(),m:(n.getMonth()+1).toString().padStart(2,"0"),d:n.getDate().toString().padStart(2,"0"),h:n.getHours().toString().padStart(2,"0"),M:n.getMinutes().toString().padStart(2,"0"),s:n.getSeconds().toString().padStart(2,"0")};for(const i in o){const[e]=new RegExp(`${i}+`).exec(t)||[];if(e){const n="y"===i&&2===e.length?2:0;t=t.replace(e,o[i].slice(n))}}return t}function nS(e,t="both"){return e=String(e),"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}function oS(e={},t=!0,n="brackets"){const o=t?"?":"",i=[];-1==["indices","brackets","repeat","comma"].indexOf(n)&&(n="brackets");for(const r in e){const t=e[r];if(!(["",void 0,null].indexOf(t)>=0))if(t.constructor===Array)switch(n){case"indices":for(let n=0;n{i.push(`${r}[]=${e}`)});break;case"repeat":t.forEach(e=>{i.push(`${r}=${e}`)});break;case"comma":let e="";t.forEach(t=>{e+=(e?",":"")+t}),i.push(`${r}=${e}`)}else i.push(`${r}=${t}`)}return i.length?o+i.join("&"):""}function iS(e,t=2e3){i_({title:String(e),icon:"none",duration:t})}function rS(e="success",t=!1){-1==["primary","info","error","warning","success"].indexOf(e)&&(e="success");let n="";switch(e){case"primary":case"info":n="info-circle";break;case"error":n="close-circle";break;case"warning":n="error-circle";break;default:n="checkmark-circle"}return t&&(n+="-fill"),n}function aS(e,t=0,n=".",o=","){e=`${e}`.replace(/[^0-9+-Ee.]/g,"");const i=isFinite(+e)?+e:0,r=isFinite(+t)?Math.abs(t):0,a=void 0===o?",":o,s=void 0===n?".":n;let l="";l=(r?function(e,t){const n=Math.pow(10,t);let o=Rx(Math.round(Math.abs(Lx(e,n))),n);return e<0&&0!==o&&(o=Lx(o,-1)),o}(i,r)+"":`${Math.round(i)}`).split(".");const c=/(-?\d+)(\d{3})/;for(;c.test(l[0]);)l[0]=l[0].replace(c,`$1${a}$2`);return(l[1]||"").length{},t)}function cS(e,t){if("object"!=typeof e||null==e)return"";if("string"!=typeof t||""===t)return"";if(-1!==t.indexOf(".")){const n=t.split(".");let o=e[n[0]]||{};for(let e=1;e1;){const i=t[0];e[i]&&"object"==typeof e[i]||(e[i]={}),t.shift(),o(e[i],t,n)}else e[t[0]]=n};if("string"!=typeof t||""===t);else if(-1!==t.indexOf(".")){const i=t.split(".");o(e,i,n)}else e[t]=n}function dS(){const e=Cy();return`/${e[e.length-1].route||""}`}function hS(e,t=95){const n=function(e){const t=e.toLowerCase().trim();if(t.startsWith("#")){const e=t.replace("#",""),n=3===e.length?e.split("").map(e=>e+e).join(""):e;return{r:parseInt(n.substring(0,2),16),g:parseInt(n.substring(2,4),16),b:parseInt(n.substring(4,6),16)}}const n=t.match(/rgba?\((\d+),\s*(\d+),\s*(\d+)/);if(n)return{r:+n[1],g:+n[2],b:+n[3]};throw new Error("Invalid color format")}(e),o=function(e,t,n){e/=255,t/=255,n/=255;const o=Math.max(e,t,n),i=Math.min(e,t,n);let r,a,s=(o+i)/2;if(o===i)r=a=0;else{const l=o-i;switch(a=s>.5?l/(2-o-i):l/(o+i),o){case e:r=(t-n)/l+(t{const i=(t+e/30)%12,r=n-o*Math.max(Math.min(i-3,9-i,1),-1);return Math.round(255*r).toString(16).padStart(2,"0")};return`#${i(0)}${i(8)}${i(4)}`}(i.h,i.s,i.l)}String.prototype.padStart||(String.prototype.padStart=function(e,t=" "){if("[object String]"!==Object.prototype.toString.call(t))throw new TypeError("fillString must be String");const n=this;if(n.length>=e)return String(n);const o=e-n.length;let i=Math.ceil(o/t.length);for(;i>>=1;)t+=t,1===i&&(t+=t);return t.slice(0,o)+n});const pS={range:Dx,getPx:zx,sleep:Fx,os:jx,sys:Hx,getWindowInfo:Vx,random:Ux,guid:qx,$parent:Qx,addStyle:Gx,addUnit:Yx,deepClone:Xx,deepMerge:Kx,shallowMerge:Jx,error:Zx,randomArray:eS,timeFormat:tS,timeFrom:function(e=null,t="yyyy-mm-dd"){null==e&&(e=Number(new Date)),10==(e=parseInt(e)).toString().length&&(e*=1e3);let n=(new Date).getTime()-e;n=parseInt(n/1e3);let o="";switch(!0){case n<300:o="刚刚";break;case n>=300&&n<3600:o=`${parseInt(n/60)}分钟前`;break;case n>=3600&&n<86400:o=`${parseInt(n/3600)}小时前`;break;case n>=86400&&n<2592e3:o=`${parseInt(n/86400)}天前`;break;default:o=!1===t?n>=2592e3&&n<31536e3?`${parseInt(n/2592e3)}个月前`:`${parseInt(n/31536e3)}年前`:tS(e,t)}return o},trim:nS,queryParams:oS,toast:iS,type2icon:rS,priceFormat:aS,getDuration:function(e,t=!0){const n=parseInt(e);return t?/s$/.test(e)?e:e>30?`${e}ms`:`${e}s`:/ms$/.test(e)?n:/s$/.test(e)?n>30?n:1e3*n:n},padZero:sS,formValidate:lS,getProperty:cS,setProperty:uS,page:dS,pages:function(){return Cy()},getValueByPath:function(e,t){return t.split(".").reduce((e,t)=>e&&void 0!==e[t]?e[t]:void 0,e)},genLightColor:hS,rpx2px:$x};let fS={lang:Dp(),locales:{en:{"up.common.cancel":"Cancel","up.common.confirm":"Confirm","up.common.start":"Start","up.common.end":"End","up.common.stop":"Stop","up.common.copy":"Copy","up.common.none":"None","up.common.tip":"Tip","up.common.success":"Success","up.common.fail":"Fail","up.common.close":"Close","up.common.preview":"Preview","up.common.re-select":"Re-select","up.common.rotate":"Rotate","up.common.pleaseChoose":"Please choose","up.common.loading":"Loading","up.common.loading2":"Loading","up.common.inOperation":"In operation","up.common.settings":"Settings","up.common.retry":"Retry","up.common.search":"Search","up.common.more":"More","up.common.video":"Video","up.common.file":"File","up.week.one":"Mon","up.week.two":"Tue","up.week.three":"Wed","up.week.four":"Thu","up.week.five":"Fri","up.week.six":"Sat","up.week.seven":"Sun","up.barcode.error":"Failed to generate barcode","up.calendar.chooseDates":"Date selection","up.calendar.disabled":"This date is disabled","up.calendar.daysExceed":"The number of selected days cannot exceed {days} days","up.cityLocate.locateCity":"Locate city","up.cityLocate.fail":"Location failed, please click to retry.","up.cityLocate.locating":"Locating","up.code.send":"Get verification code","up.code.resendAfter":"Resend after X seconds","up.code.resend":"Resend","up.cropper.emptyWidhtOrHeight":"The width or height of the cropping box is not set","up.empty.car":"Shopping cart is empty","up.empty.page":"Page not found","up.empty.search":"No search results","up.empty.address":"No shipping address","up.empty.wifi":"No WiFi","up.empty.order":"Order is empty","up.empty.coupon":"No coupons","up.empty.favor":"No favorites","up.empty.permission":"No permission","up.empty.history":"No history","up.empty.news":"No news list","up.empty.message":"Message list is empty","up.empty.list":"List is empty","up.empty.data":"Data is empty","up.empty.comment":"No comments","up.link.copyed":"Link copied, please open in browser","up.loadmoe.loadmore":"Load more","up.loadmoe.nomore":"No more","up.noNetwork.text":"Oops, network signal lost","up.noNetwork.pleaseCheck":"Please check the network, or go to","up.noNetwork.connect":"Network connected","up.noNetwork.disconnect":"No network connection","up.pagination.previous":"Previous","up.pagination.next":"Next","up.pullRefresh.pull":"Pull to refresh","up.pullRefresh.release":"Release to refresh","up.pullRefresh.refreshing":"Refreshing","up.readMore.expand":"Expand to read more","up.readMore.fold":"Collapse","up.search.placeholder":"Please enter keywords","up.signature.penSize":"Stroke size","up.signature.penColor":"Stroke color","up.upload.sizeExceed":"Size limit exceeded","up.upload.uploading":"Uploading","up.upload.previewImageFail":"Failed to preview image","up.upload.previewVideoFail":"Failed to preview video","up.goodsSku.stock":"Stock","up.goodsSku.price":"Price","up.goodsSku.amount":"Items","up.goodsSku.choosed":"Selected","up.goodsSku.buyAmount":"Quantity"},es:{"up.common.cancel":"Cancelar","up.common.confirm":"Confirmar","up.common.start":"Iniciar","up.common.end":"Finalizar","up.common.stop":"Detener","up.common.copy":"Copiar","up.common.none":"Ninguno","up.common.tip":"Consejo","up.common.success":"Éxito","up.common.fail":"Fallido","up.common.close":"Cerrar","up.common.preview":"Vista previa","up.common.re-select":"Re seleccionar","up.common.rotate":"Rotar","up.common.pleaseChoose":"Por favor seleccione","up.common.loading":"Cargando","up.common.loading2":"Cargando","up.common.inOperation":"En operación","up.common.settings":"Configuración","up.common.retry":"Reintentar","up.common.search":"Buscar","up.common.more":"Más","up.common.video":"Vídeo","up.common.file":"Archivo","up.week.one":"Lun","up.week.two":"Mar","up.week.three":"Mié","up.week.four":"Jue","up.week.five":"Vie","up.week.six":"Sáb","up.week.seven":"Dom","up.barcode.error":"Error al generar código de barras","up.calendar.chooseDates":"Selección de fecha","up.calendar.disabled":"Esta fecha está deshabilitada","up.calendar.daysExceed":"Los días seleccionados no pueden exceder {days} días","up.cityLocate.locateCity":"Localizar ciudad","up.cityLocate.fail":"Error de localización, haga clic para reintentar.","up.cityLocate.locating":"Localizando","up.code.send":"Obtener código de verificación","up.code.resendAfter":"Reenviar en X segundos","up.code.resend":"Reenviar","up.cropper.emptyWidhtOrHeight":"El ancho o alto del recorte no está configurado","up.empty.car":"Carrito de compras vacío","up.empty.page":"Página no encontrada","up.empty.search":"Sin resultados de búsqueda","up.empty.address":"Sin dirección de envío","up.empty.wifi":"Sin WiFi","up.empty.order":"Pedido vacío","up.empty.coupon":"Sin cupones","up.empty.favor":"Sin favoritos","up.empty.permission":"Sin permisos","up.empty.history":"Sin historial","up.empty.news":"Sin noticias","up.empty.message":"Lista de mensajes vacía","up.empty.list":"Lista vacía","up.empty.data":"Datos vacíos","up.empty.comment":"Sin comentarios","up.link.copyed":"Enlace copiado, por favor abra en el navegador","up.loadmoe.loadmore":"Cargar más","up.loadmoe.nomore":"No hay más","up.noNetwork.text":"¡Ups! Se perdió la señal de red","up.noNetwork.pleaseCheck":"Por favor verifique la red, o vaya a","up.noNetwork.connect":"Red conectada","up.noNetwork.disconnect":"Sin conexión a internet","up.pagination.previous":"Página anterior","up.pagination.next":"Página siguiente","up.pullRefresh.pull":"Deslizar hacia abajo para actualizar","up.pullRefresh.release":"Soltar para actualizar","up.pullRefresh.refreshing":"Actualizando","up.readMore.expand":"Expandir para leer más","up.readMore.fold":"Contraer","up.search.placeholder":"Ingrese palabra clave","up.signature.penSize":"Tamaño del trazo","up.signature.penColor":"Color del trazo","up.upload.sizeExceed":"Excede el límite de tamaño","up.upload.uploading":"Subiendo","up.upload.previewImageFail":"Error al previsualizar imagen","up.upload.previewVideoFail":"Error al previsualizar vídeo","up.goodsSku.stock":"Inventario","up.goodsSku.price":"Precio","up.goodsSku.amount":"Piezas","up.goodsSku.choosed":"Seleccionado","up.goodsSku.buyAmount":"Cantidad"},fr:{"up.common.cancel":"Annuler","up.common.confirm":"Confirmer","up.common.start":"Démarrer","up.common.end":"Terminer","up.common.stop":"Arrêter","up.common.copy":"Copier","up.common.none":"Aucun","up.common.tip":"Conseil","up.common.success":"Succès","up.common.fail":"Échec","up.common.close":"Fermer","up.common.preview":"Aperçu","up.common.re-select":"Resélectionner","up.common.rotate":"Rotation","up.common.pleaseChoose":"Veuillez choisir","up.common.loading":"Chargement","up.common.loading2":"Chargement en cours","up.common.inOperation":"En cours d'opération","up.common.settings":"Paramètres","up.common.retry":"Réessayer","up.common.search":"Rechercher","up.common.more":"Plus","up.common.video":"Vidéo","up.common.file":"Fichier","up.week.one":"Lun","up.week.two":"Mar","up.week.three":"Mer","up.week.four":"Jeu","up.week.five":"Ven","up.week.six":"Sam","up.week.seven":"Dim","up.barcode.error":"Échec de génération du code-barres","up.calendar.chooseDates":"Sélection de dates","up.calendar.disabled":"Cette date est désactivée","up.calendar.daysExceed":"Le nombre de jours sélectionnés ne peut pas dépasser {days} jours","up.cityLocate.locateCity":"Localiser la ville","up.cityLocate.fail":"Échec de localisation, veuillez cliquer pour réessayer.","up.cityLocate.locating":"Localisation en cours","up.code.send":"Obtenir le code de vérification","up.code.resendAfter":"Renvoyer dans X secondes","up.code.resend":"Renvoyer","up.cropper.emptyWidhtOrHeight":"La largeur ou la hauteur de recadrage n'est pas définie","up.empty.car":"Panier vide","up.empty.page":"Page introuvable","up.empty.search":"Aucun résultat de recherche","up.empty.address":"Aucune adresse de livraison","up.empty.wifi":"Aucun Wi-Fi","up.empty.order":"Commande vide","up.empty.coupon":"Aucun coupon","up.empty.favor":"Aucun favori","up.empty.permission":"Aucune autorisation","up.empty.history":"Aucun historique","up.empty.news":"Aucune actualité","up.empty.message":"Liste de messages vide","up.empty.list":"Liste vide","up.empty.data":"Données vides","up.empty.comment":"Aucun commentaire","up.link.copyed":"Lien copié, veuillez ouvrir dans le navigateur","up.loadmoe.loadmore":"Charger plus","up.loadmoe.nomore":"Plus de contenu","up.noNetwork.text":"Oups, le signal réseau est perdu","up.noNetwork.pleaseCheck":"Veuillez vérifier le réseau, ou aller à","up.noNetwork.connect":"Réseau connecté","up.noNetwork.disconnect":"Aucune connexion réseau","up.pagination.previous":"Page précédente","up.pagination.next":"Page suivante","up.pullRefresh.pull":"Tirer pour actualiser","up.pullRefresh.release":"Relâcher pour actualiser","up.pullRefresh.refreshing":"Actualisation en cours","up.readMore.expand":"Développer pour lire la suite","up.readMore.fold":"Réduire","up.search.placeholder":"Veuillez saisir un mot-clé","up.signature.penSize":"Taille du trait","up.signature.penColor":"Couleur du trait","up.upload.sizeExceed":"Dépassement de la limite de taille","up.upload.uploading":"Téléchargement en cours","up.upload.previewImageFail":"Échec de l'aperçu de l'image","up.upload.previewVideoFail":"Échec de l'aperçu de la vidéo","up.goodsSku.stock":"Stock","up.goodsSku.price":"Prix","up.goodsSku.amount":"Pièces","up.goodsSku.choosed":"Sélectionné","up.goodsSku.buyAmount":"Quantité"},de:{"up.common.cancel":"Abbrechen","up.common.confirm":"Bestätigen","up.common.start":"Start","up.common.end":"Ende","up.common.stop":"Stopp","up.common.copy":"Kopieren","up.common.none":"Keine","up.common.tip":"Hinweis","up.common.success":"Erfolg","up.common.fail":"Fehlgeschlagen","up.common.close":"Schließen","up.common.preview":"Vorschau","up.common.re-select":"Erneut auswählen","up.common.rotate":"Drehen","up.common.pleaseChoose":"Bitte wählen","up.common.loading":"Laden","up.common.loading2":"Wird geladen","up.common.inOperation":"In Bearbeitung","up.common.settings":"Einstellungen","up.common.retry":"Wiederholen","up.common.search":"Suchen","up.common.more":"Mehr","up.common.video":"Video","up.common.file":"Datei","up.week.one":"Mo","up.week.two":"Di","up.week.three":"Mi","up.week.four":"Do","up.week.five":"Fr","up.week.six":"Sa","up.week.seven":"So","up.barcode.error":"Barcode-Generierung fehlgeschlagen","up.calendar.chooseDates":"Datumsauswahl","up.calendar.disabled":"Dieses Datum ist deaktiviert","up.calendar.daysExceed":"Die Anzahl der ausgewählten Tage darf {days} Tage nicht überschreiten","up.cityLocate.locateCity":"Stadt lokalisieren","up.cityLocate.fail":"Lokalisierung fehlgeschlagen, bitte klicken Sie zum Wiederholen.","up.cityLocate.locating":"Lokalisierung läuft","up.code.send":"Bestätigungscode erhalten","up.code.resendAfter":"Erneut senden in X Sekunden","up.code.resend":"Erneut senden","up.cropper.emptyWidhtOrHeight":"Breite oder Höhe des Zuschneidebereichs nicht festgelegt","up.empty.car":"Warenkorb ist leer","up.empty.page":"Seite existiert nicht","up.empty.search":"Keine Suchergebnisse","up.empty.address":"Keine Lieferadresse","up.empty.wifi":"Kein WLAN","up.empty.order":"Bestellungen sind leer","up.empty.coupon":"Keine Gutscheine","up.empty.favor":"Keine Favoriten","up.empty.permission":"Keine Berechtigung","up.empty.history":"Kein Verlauf","up.empty.news":"Keine Nachrichtenliste","up.empty.message":"Nachrichtenliste ist leer","up.empty.list":"Liste ist leer","up.empty.data":"Daten sind leer","up.empty.comment":"Keine Kommentare","up.link.copyed":"Link kopiert, bitte im Browser öffnen","up.loadmoe.loadmore":"Mehr laden","up.loadmoe.nomore":"Keine weiteren Daten","up.noNetwork.text":"Ups, Netzwerksignal verloren","up.noNetwork.pleaseCheck":"Bitte überprüfen Sie das Netzwerk oder gehen Sie zu","up.noNetwork.connect":"Netzwerk verbunden","up.noNetwork.disconnect":"Keine Netzwerkverbindung","up.pagination.previous":"Vorherige Seite","up.pagination.next":"Nächste Seite","up.pullRefresh.pull":"Zum Aktualisieren nach unten ziehen","up.pullRefresh.release":"Loslassen zum Aktualisieren","up.pullRefresh.refreshing":"Aktualisierung läuft","up.readMore.expand":"Erweitern zum vollständigen Lesen","up.readMore.fold":"Einklappen","up.search.placeholder":"Bitte Schlüsselwort eingeben","up.signature.penSize":"Strichstärke","up.signature.penColor":"Strichfarbe","up.upload.sizeExceed":"Größenbegrenzung überschritten","up.upload.uploading":"Upload läuft","up.upload.previewImageFail":"Bildvorschau fehlgeschlagen","up.upload.previewVideoFail":"Videovorschau fehlgeschlagen","up.goodsSku.stock":"Lagerbestand","up.goodsSku.price":"Preis","up.goodsSku.amount":"Stück","up.goodsSku.choosed":"Ausgewählt","up.goodsSku.buyAmount":"Anzahl"},ko:{"up.common.cancel":"취소","up.common.confirm":"확인","up.common.start":"시작","up.common.end":"종료","up.common.stop":"정지","up.common.copy":"복사","up.common.none":"없음","up.common.tip":"팁","up.common.success":"성공","up.common.fail":"실패","up.common.close":"닫기","up.common.preview":"미리보기","up.common.re-select":"재선택","up.common.rotate":"회전","up.common.pleaseChoose":"선택해주세요","up.common.loading":"로딩중","up.common.loading2":"로딩중","up.common.inOperation":"작업중","up.common.settings":"설정","up.common.retry":"재시도","up.common.search":"검색","up.common.more":"더보기","up.common.video":"비디오","up.common.file":"파일","up.week.one":"월","up.week.two":"화","up.week.three":"수","up.week.four":"목","up.week.five":"금","up.week.six":"토","up.week.seven":"일","up.barcode.error":"바코드 생성 실패","up.calendar.chooseDates":"날짜 선택","up.calendar.disabled":"해당 날짜는 사용할 수 없습니다","up.calendar.daysExceed":"선택한 날짜 수가 {days}일을 초과할 수 없습니다","up.cityLocate.locateCity":"도시 위치 찾기","up.cityLocate.fail":"위치 찾기 실패, 다시 시도하려면 클릭하세요.","up.cityLocate.locating":"위치 찾는 중","up.code.send":"인증코드 받기","up.code.resendAfter":"X초 후 재전송","up.code.resend":"재전송","up.cropper.emptyWidhtOrHeight":"자르기 영역의 너비 또는 높이가 설정되지 않았습니다","up.empty.car":"장바구니가 비어 있습니다","up.empty.page":"페이지가 존재하지 않습니다","up.empty.search":"검색 결과가 없습니다","up.empty.address":"배송 주소가 없습니다","up.empty.wifi":"Wi-Fi가 없습니다","up.empty.order":"주문이 없습니다","up.empty.coupon":"쿠폰이 없습니다","up.empty.favor":"즐겨찾기가 없습니다","up.empty.permission":"권한이 없습니다","up.empty.history":"기록이 없습니다","up.empty.news":"뉴스가 없습니다","up.empty.message":"메시지가 없습니다","up.empty.list":"목록이 비어 있습니다","up.empty.data":"데이터가 없습니다","up.empty.comment":"댓글이 없습니다","up.link.copyed":"링크가 복사되었습니다. 브라우저에서 열어주세요","up.loadmoe.loadmore":"더 불러오기","up.loadmoe.nomore":"더 이상 데이터가 없습니다","up.noNetwork.text":"네트워크 신호가 없습니다","up.noNetwork.pleaseCheck":"네트워크를 확인하거나 이동하세요","up.noNetwork.connect":"네트워크 연결됨","up.noNetwork.disconnect":"네트워크 연결 끊김","up.pagination.previous":"이전 페이지","up.pagination.next":"다음 페이지","up.pullRefresh.pull":"당겨서 새로고침","up.pullRefresh.release":"놓아서 새로고침","up.pullRefresh.refreshing":"새로고침 중","up.readMore.expand":"펼쳐서 전체 보기","up.readMore.fold":"접기","up.search.placeholder":"키워드를 입력하세요","up.signature.penSize":"선 굵기","up.signature.penColor":"선 색상","up.upload.sizeExceed":"용량 제한 초과","up.upload.uploading":"업로드 중","up.upload.previewImageFail":"이미지 미리보기 실패","up.upload.previewVideoFail":"비디오 미리보기 실패","up.goodsSku.stock":"재고","up.goodsSku.price":"가격","up.goodsSku.amount":"개","up.goodsSku.choosed":"선택됨","up.goodsSku.buyAmount":"구매 수량"},ja:{"up.common.cancel":"キャンセル","up.common.confirm":"確認","up.common.start":"開始","up.common.end":"終了","up.common.stop":"停止","up.common.copy":"コピー","up.common.none":"なし","up.common.tip":"ヒント","up.common.success":"成功","up.common.fail":"失敗","up.common.close":"閉じる","up.common.preview":"プレビュー","up.common.re-select":"再選択","up.common.rotate":"回転","up.common.pleaseChoose":"選択してください","up.common.loading":"読み込み中","up.common.loading2":"読み込み中","up.common.inOperation":"操作中","up.common.settings":"設定","up.common.retry":"再試行","up.common.search":"検索","up.common.more":"もっと見る","up.common.video":"ビデオ","up.common.file":"ファイル","up.week.one":"月","up.week.two":"火","up.week.three":"水","up.week.four":"木","up.week.five":"金","up.week.six":"土","up.week.seven":"日","up.barcode.error":"バーコードの生成に失敗しました","up.calendar.chooseDates":"日付選択","up.calendar.disabled":"この日付は無効です","up.calendar.daysExceed":"選択日数は{days}日を超えることはできません","up.cityLocate.locateCity":"都市の位置を特定","up.cityLocate.fail":"位置特定に失敗しました。再試行するにはクリックしてください。","up.cityLocate.locating":"位置特定中","up.code.send":"認証コードを取得","up.code.resendAfter":"X秒後に再送信","up.code.resend":"再送信","up.cropper.emptyWidhtOrHeight":"切り抜き枠の幅または高さが設定されていません","up.empty.car":"ショッピングカートは空です","up.empty.page":"ページが存在しません","up.empty.search":"検索結果がありません","up.empty.address":"配送先住所がありません","up.empty.wifi":"Wi-Fiがありません","up.empty.order":"注文がありません","up.empty.coupon":"クーポンがありません","up.empty.favor":"お気に入りがありません","up.empty.permission":"権限がありません","up.empty.history":"履歴がありません","up.empty.news":"ニュースがありません","up.empty.message":"メッセージがありません","up.empty.list":"リストが空です","up.empty.data":"データがありません","up.empty.comment":"コメントがありません","up.link.copyed":"リンクがコピーされました。ブラウザで開いてください","up.loadmoe.loadmore":"さらに読み込む","up.loadmoe.nomore":"これ以上データがありません","up.noNetwork.text":"ネットワーク信号が失われました","up.noNetwork.pleaseCheck":"ネットワークを確認するか、移動してください","up.noNetwork.connect":"ネットワーク接続済み","up.noNetwork.disconnect":"ネットワーク未接続","up.pagination.previous":"前へ","up.pagination.next":"次へ","up.pullRefresh.pull":"引き下げて更新","up.pullRefresh.release":"指を離して更新","up.pullRefresh.refreshing":"更新中","up.readMore.expand":"全文表示","up.readMore.fold":"折りたたむ","up.search.placeholder":"キーワードを入力してください","up.signature.penSize":"線の太さ","up.signature.penColor":"線の色","up.upload.sizeExceed":"サイズ制限を超えています","up.upload.uploading":"アップロード中","up.upload.previewImageFail":"画像プレビュー失敗","up.upload.previewVideoFail":"ビデオプレビュー失敗","up.goodsSku.stock":"在庫","up.goodsSku.price":"価格","up.goodsSku.amount":"個","up.goodsSku.choosed":"選択済み","up.goodsSku.buyAmount":"購入数量"},ru:{"up.common.cancel":"Отмена","up.common.confirm":"Подтвердить","up.common.start":"Начало","up.common.end":"Конец","up.common.stop":"Стоп","up.common.copy":"Копировать","up.common.none":"Нет","up.common.tip":"Подсказка","up.common.success":"Успех","up.common.fail":"Ошибка","up.common.close":"Закрыть","up.common.preview":"Предпросмотр","up.common.re-select":"Выбрать снова","up.common.rotate":"Повернуть","up.common.pleaseChoose":"Пожалуйста, выберите","up.common.loading":"Загрузка","up.common.loading2":"Загружается","up.common.inOperation":"В процессе","up.common.settings":"Настройки","up.common.retry":"Повторить","up.common.search":"Поиск","up.common.more":"Больше","up.common.video":"Видео","up.common.file":"Файл","up.week.one":"Пн","up.week.two":"Вт","up.week.three":"Ср","up.week.four":"Чт","up.week.five":"Пт","up.week.six":"Сб","up.week.seven":"Вс","up.barcode.error":"Ошибка генерации штрихкода","up.calendar.chooseDates":"Выбор даты","up.calendar.disabled":"Эта дата отключена","up.calendar.daysExceed":"Количество выбранных дней не может превышать {days} дней","up.cityLocate.locateCity":"Определение города","up.cityLocate.fail":"Ошибка определения местоположения, нажмите для повтора.","up.cityLocate.locating":"Определение местоположения","up.code.send":"Получить код подтверждения","up.code.resendAfter":"Повторная отправка через X секунд","up.code.resend":"Отправить снова","up.cropper.emptyWidhtOrHeight":"Ширина или высота области обрезки не задана","up.empty.car":"Корзина пуста","up.empty.page":"Страница не существует","up.empty.search":"Нет результатов поиска","up.empty.address":"Нет адреса доставки","up.empty.wifi":"Нет Wi-Fi","up.empty.order":"Заказы отсутствуют","up.empty.coupon":"Нет купонов","up.empty.favor":"Нет избранного","up.empty.permission":"Нет разрешения","up.empty.history":"Нет истории","up.empty.news":"Нет новостей","up.empty.message":"Список сообщений пуст","up.empty.list":"Список пуст","up.empty.data":"Нет данных","up.empty.comment":"Нет комментариев","up.link.copyed":"Ссылка скопирована, откройте в браузере","up.loadmoe.loadmore":"Загрузить еще","up.loadmoe.nomore":"Больше нет данных","up.noNetwork.text":"Ой, потеряно сетевое соединение","up.noNetwork.pleaseCheck":"Проверьте сеть или перейдите к","up.noNetwork.connect":"Сеть подключена","up.noNetwork.disconnect":"Нет сетевого подключения","up.pagination.previous":"Предыдущая страница","up.pagination.next":"Следующая страница","up.pullRefresh.pull":"Потяните вниз для обновления","up.pullRefresh.release":"Отпустите для обновления","up.pullRefresh.refreshing":"Обновление","up.readMore.expand":"Развернуть для полного чтения","up.readMore.fold":"Свернуть","up.search.placeholder":"Введите ключевое слово","up.signature.penSize":"Размер штриха","up.signature.penColor":"Цвет штриха","up.upload.sizeExceed":"Превышен лимит размера","up.upload.uploading":"Загрузка","up.upload.previewImageFail":"Ошибка предпросмотра изображения","up.upload.previewVideoFail":"Ошибка предпросмотра видео","up.goodsSku.stock":"Запас","up.goodsSku.price":"Цена","up.goodsSku.amount":"Штук","up.goodsSku.choosed":"Выбрано","up.goodsSku.buyAmount":"Количество"},"zh-Hant":{"up.common.cancel":"取消","up.common.confirm":"確定","up.common.start":"開始","up.common.end":"結束","up.common.stop":"停止","up.common.copy":"複製","up.common.none":"暫無","up.common.tip":"提示","up.common.success":"成功","up.common.fail":"失敗","up.common.close":"關閉","up.common.preview":"預覽","up.common.re-select":"重選","up.common.rotate":"旋轉","up.common.pleaseChoose":"請選擇","up.common.loading":"加載中","up.common.loading2":"正在加載","up.common.inOperation":"操作中","up.common.settings":"設置","up.common.retry":"重試","up.common.search":"搜索","up.common.more":"更多","up.common.video":"視頻","up.common.file":"文件","up.week.one":"一","up.week.two":"二","up.week.three":"三","up.week.four":"四","up.week.five":"五","up.week.six":"六","up.week.seven":"日","up.barcode.error":"生成條碼失敗","up.calendar.chooseDates":"日期選擇","up.calendar.disabled":"該日期已禁用","up.calendar.daysExceed":"選擇天數不能超過{days}天","up.cityLocate.locateCity":"定位城市","up.cityLocate.fail":"定位失敗,請點擊重試。","up.cityLocate.locating":"定位中","up.code.send":"獲取驗證碼","up.code.resendAfter":"X秒重新獲取","up.code.resend":"重新獲取","up.cropper.emptyWidhtOrHeight":"裁剪框的寬或高沒有設置","up.empty.car":"購物車為空","up.empty.page":"頁面不存在","up.empty.search":"沒有搜索結果","up.empty.address":"沒有收貨地址","up.empty.wifi":"沒有WiFi","up.empty.order":"訂單為空","up.empty.coupon":"沒有優惠券","up.empty.favor":"暫無收藏","up.empty.permission":"無權限","up.empty.history":"無歷史記錄","up.empty.news":"無新聞列表","up.empty.message":"消息列表為空","up.empty.list":"列表為空","up.empty.data":"數據為空","up.empty.comment":"暫無評論","up.link.copyed":"鏈接已複製,請在瀏覽器打開","up.loadmoe.loadmore":"加載更多","up.loadmoe.nomore":"沒有更多了","up.noNetwork.text":"哎呀,網絡信號丟失","up.noNetwork.pleaseCheck":"請檢查網絡,或前往","up.noNetwork.connect":"網絡已連接","up.noNetwork.disconnect":"無網絡連接","up.pagination.previous":"上一頁","up.pagination.next":"下一頁","up.pullRefresh.pull":"下拉刷新","up.pullRefresh.release":"釋放刷新","up.pullRefresh.refreshing":"正在刷新","up.readMore.expand":"展開閱讀全文","up.readMore.fold":"收起","up.search.placeholder":"請輸入關鍵字","up.signature.penSize":"筆畫大小","up.signature.penColor":"筆畫顏色","up.upload.sizeExceed":"超過大小限制","up.upload.uploading":"上傳中","up.upload.previewImageFail":"預覽圖片失敗","up.upload.previewVideoFail":"預覽視頻失敗","up.goodsSku.stock":"庫存","up.goodsSku.price":"價格","up.goodsSku.amount":"件","up.goodsSku.choosed":"已選","up.goodsSku.buyAmount":"購買數量"},"zh-Hans":{"up.common.cancel":"取消","up.common.confirm":"确定","up.common.start":"开始","up.common.end":"结束","up.common.stop":"停止","up.common.copy":"复制","up.common.none":"暂无","up.common.tip":"提示","up.common.success":"成功","up.common.fail":"失败","up.common.close":"关闭","up.common.preview":"预览","up.common.re-select":"重选","up.common.rotate":"旋转","up.common.pleaseChoose":"请选择","up.common.loading":"加载中","up.common.loading2":"正在加载","up.common.inOperation":"操作中","up.common.settings":"设置","up.common.retry":"重试","up.common.search":"搜索","up.common.more":"更多","up.common.video":"视频","up.common.file":"文件","up.week.one":"一","up.week.two":"二","up.week.three":"三","up.week.four":"四","up.week.five":"五","up.week.six":"六","up.week.seven":"日","up.barcode.error":"生成条码失败","up.calendar.chooseDates":"日期选择","up.calendar.disabled":"该日期已禁用","up.calendar.daysExceed":"选择天数不能超过{days}天","up.cityLocate.locateCity":"定位城市","up.cityLocate.fail":"定位失败,请点击重试。","up.cityLocate.locating":"定位中","up.code.send":"获取验证码","up.code.resendAfter":"X秒重新获取","up.code.resend":"重新获取","up.cropper.emptyWidhtOrHeight":"裁剪框的宽或高没有设置","up.empty.car":"购物车为空","up.empty.page":"页面不存在","up.empty.search":"没有搜索结果","up.empty.address":"没有收货地址","up.empty.wifi":"没有WiFi","up.empty.order":"订单为空","up.empty.coupon":"没有优惠券","up.empty.favor":"暂无收藏","up.empty.permission":"无权限","up.empty.history":"无历史记录","up.empty.news":"无新闻列表","up.empty.message":"消息列表为空","up.empty.list":"列表为空","up.empty.data":"数据为空","up.empty.comment":"暂无评论","up.link.copyed":"链接已复制,请在浏览器打开","up.loadmoe.loadmore":"加载更多","up.loadmoe.nomore":"没有更多了","up.noNetwork.text":"哎呀,网络信号丢失","up.noNetwork.pleaseCheck":"请检查网络,或前往","up.noNetwork.connect":"网络已连接","up.noNetwork.disconnect":"无网络连接","up.pagination.previous":"上一页","up.pagination.next":"下一页","up.pullRefresh.pull":"下拉刷新","up.pullRefresh.release":"释放刷新","up.pullRefresh.refreshing":"正在刷新","up.readMore.expand":"展开阅读全文","up.readMore.fold":"收起","up.search.placeholder":"请输入关键字","up.signature.penSize":"笔画大小","up.signature.penColor":"笔画颜色","up.upload.sizeExceed":"超过大小限制","up.upload.uploading":"上传中","up.upload.previewImageFail":"预览图片失败","up.upload.previewVideoFail":"预览视频失败","up.goodsSku.stock":"库存","up.goodsSku.price":"价格","up.goodsSku.amount":"件","up.goodsSku.choosed":"已选","up.goodsSku.buyAmount":"购买数量"}}};function mS(e,t={}){if(e){let n=fS.lang;fS.locales[fS.lang]||(n="zh-Hans");let o=fS.locales[n][e]||e;return Object.keys(t).forEach(e=>{const n=new RegExp(`{${e}}`,"g");o=o.replace(n,t[e])}),o}return e}zp(e=>{fS.lang=e});const gS={calendar:{title:mS("up.calendar.chooseDates"),showTitle:!0,showSubtitle:!0,mode:"single",startText:mS("up.common.start"),endText:mS("up.common.end"),customList:[],color:"#3c9cff",minDate:0,maxDate:0,defaultDate:null,maxCount:Number.MAX_SAFE_INTEGER,rowHeight:56,formatter:null,showLunar:!1,showMark:!0,confirmText:mS("up.common.confirm"),confirmDisabledText:mS("up.common.confirm"),show:!1,closeOnClickOverlay:!1,readonly:!1,showConfirm:!0,maxRange:Number.MAX_SAFE_INTEGER,rangePrompt:"",showRangePrompt:!0,allowSameDay:!1,round:0,monthNum:3,weekText:[mS("up.week.one"),mS("up.week.two"),mS("up.week.three"),mS("up.week.four"),mS("up.week.five"),mS("up.week.six"),mS("up.week.seven")],forbidDays:[],forbidDaysToast:mS("up.calendar.disabled"),monthFormat:"",pageInline:!1}},yS={code:{seconds:60,startText:mS("up.code.send"),changeText:mS("up.code.resendAfter"),endText:mS("up.code.resend"),keepRunning:!1,uniqueKey:""}},bS={datetimePicker:{show:!1,popupMode:"bottom",showToolbar:!0,value:"",title:"",mode:"datetime",maxDate:new Date((new Date).getFullYear()+10,0,1).getTime(),minDate:new Date((new Date).getFullYear()-10,0,1).getTime(),minHour:0,maxHour:23,minMinute:0,maxMinute:59,filter:null,formatter:null,loading:!1,itemHeight:44,cancelText:mS("up.common.cancel"),confirmText:mS("up.common.confirm"),cancelColor:"#909193",confirmColor:"#3c9cff",visibleItemCount:5,closeOnClickOverlay:!1,defaultIndex:[],inputBorder:"surround",disabled:!1,disabledColor:"",placeholder:mS("up.common.pleaseChoose"),inputProps:{},pageInline:!1}},{color:vS}=lx,_S={icon:{name:"",color:vS["u-content-color"],size:"16px",bold:!1,index:"",hoverClass:"",customPrefix:"uicon",label:"",labelPos:"right",labelSize:"15px",labelColor:vS["u-content-color"],space:"3px",imgMode:"",width:"",height:"",top:0,stop:!1}},wS={keyboard:{mode:"number",dotDisabled:!1,tooltip:!0,showTips:!0,tips:"",showCancel:!0,showConfirm:!0,random:!1,safeAreaInsetBottom:!0,closeOnClickOverlay:!0,show:!1,overlay:!0,zIndex:10075,cancelText:mS("up.common.cancel"),confirmText:mS("up.common.confirm"),autoChange:!1}},{color:xS}=lx,SS={link:{color:xS["u-primary"],fontSize:15,underLine:!1,href:"",mpTips:mS("up.link.copyed"),lineColor:"",text:""}},{color:kS}=lx,CS={actionSheet:{show:!1,title:"",description:"",actions:[],index:"",cancelText:"",closeOnClickAction:!0,safeAreaInsetBottom:!0,openType:"",closeOnClickOverlay:!0,round:0,wrapMaxHeight:"600px"},album:{urls:[],keyName:"",singleSize:180,multipleSize:70,space:6,singleMode:"scaleToFill",multipleMode:"aspectFill",maxCount:9,previewFullImage:!0,rowCount:3,showMore:!0,autoWrap:!1,unit:"px",stop:!0},alert:{title:"",type:"warning",description:"",closable:!1,showIcon:!1,effect:"light",center:!1,fontSize:14,transitionMode:"fade",duration:0,icon:"",value:!0},avatar:{src:"",shape:"circle",size:40,mode:"scaleToFill",text:"",bgColor:"#c0c4cc",color:"#ffffff",fontSize:18,icon:"",mpAvatar:!1,randomBgColor:!1,defaultUrl:"",colorIndex:"",name:""},avatarGroup:{urls:[],maxCount:5,shape:"circle",mode:"scaleToFill",showMore:!0,size:40,keyName:"",gap:.5,extraValue:0},backtop:{mode:"circle",icon:"arrow-upward",text:"",duration:100,scrollTop:0,top:400,bottom:100,right:20,zIndex:9,iconStyle:{color:"#909399",fontSize:"19px"}},badge:{isDot:!1,value:"",show:!0,max:999,type:"error",showZero:!1,bgColor:null,color:null,shape:"circle",numberType:"overflow",offset:[],inverted:!1,absolute:!1},button:{hairline:!1,type:"info",size:"normal",shape:"square",plain:!1,disabled:!1,loading:!1,loadingText:"",loadingMode:"spinner",loadingSize:15,openType:"",formType:"",appParameter:"",hoverStopPropagation:!0,lang:"en",sessionFrom:"",sendMessageTitle:"",sendMessagePath:"",sendMessageImg:"",showMessageCard:!1,dataName:"",throttleTime:0,hoverStartTime:0,hoverStayTime:200,text:"",icon:"",iconColor:"",color:"",stop:!0},...gS,carKeyboard:{random:!1},card:{full:!1,title:"",titleColor:"#303133",titleSize:"15px",subTitle:"",subTitleColor:"#909399",subTitleSize:"13px",border:!0,index:"",margin:"15px",borderRadius:"8px",headStyle:{},bodyStyle:{},footStyle:{},headBorderBottom:!0,footBorderTop:!0,thumb:"",thumbWidth:"30px",thumbCircle:!1,padding:"15px",paddingHead:"",paddingBody:"",paddingFoot:"",showHead:!0,showFoot:!0,boxShadow:"none"},cell:{customClass:"",title:"",label:"",value:"",icon:"",disabled:!1,border:!0,center:!1,url:"",linkType:"navigateTo",clickable:!1,isLink:!1,required:!1,arrowDirection:"",iconStyle:{},rightIconStyle:{},rightIcon:"arrow-right",titleStyle:{},size:"",stop:!0,name:""},cellGroup:{title:"",border:!0,customStyle:{}},checkbox:{name:"",shape:"",size:"",checkbox:!1,disabled:"",activeColor:"",inactiveColor:"",iconSize:"",iconColor:"",label:"",labelSize:"",labelColor:"",labelDisabled:""},checkboxGroup:{name:"",value:[],shape:"square",disabled:!1,activeColor:"#2979ff",inactiveColor:"#c8c9cc",size:18,placement:"row",labelSize:14,labelColor:"#303133",labelDisabled:!1,iconColor:"#ffffff",iconSize:12,iconPlacement:"left",borderBottom:!1},circleProgress:{percentage:30},...yS,codeInput:{adjustPosition:!0,maxlength:6,dot:!1,mode:"box",hairline:!1,space:10,value:"",focus:!1,bold:!1,color:"#606266",fontSize:18,size:35,disabledKeyboard:!1,borderColor:"#c9cacc",disabledDot:!0},col:{span:12,offset:0,justify:"start",align:"stretch",textAlign:"left"},collapse:{value:null,accordion:!1,border:!0},collapseItem:{title:"",value:"",label:"",disabled:!1,isLink:!0,clickable:!0,border:!0,align:"left",name:"",icon:"",duration:300,showRight:!0,titleStyle:{},iconStyle:{},rightIconStyle:{},cellCustomStyle:{},cellCustomClass:""},columnNotice:{text:"",icon:"volume",mode:"",color:"#f9ae3d",bgColor:"#fdf6ec",fontSize:14,speed:80,step:!1,duration:1500,disableTouch:!0,justifyContent:"flex-start"},countDown:{time:0,format:"HH:mm:ss",autoStart:!0,millisecond:!1},countTo:{startVal:0,endVal:0,duration:2e3,autoplay:!0,decimals:0,useEasing:!0,decimal:".",color:"#606266",fontSize:22,bold:!1,separator:""},...bS,divider:{dashed:!1,hairline:!0,dot:!1,textPosition:"center",text:"",textSize:14,textColor:"#909399",lineColor:"#dcdfe6"},empty:{icon:"",text:"",textColor:"#c0c4cc",textSize:14,iconColor:"#c0c4cc",iconSize:90,mode:"data",width:160,height:160,show:!0,marginTop:0},form:{model:{},rules:{},errorType:"message",borderBottom:!0,labelPosition:"left",labelWidth:45,labelAlign:"left",labelStyle:{}},formItem:{label:"",prop:"",rules:[],borderBottom:"",labelPosition:"",labelWidth:"",rightIcon:"",leftIcon:"",required:!1,leftIconStyle:""},gap:{bgColor:"transparent",height:20,marginTop:0,marginBottom:0,customStyle:{}},grid:{col:3,border:!1,align:"left"},gridItem:{name:null,bgColor:"transparent"},..._S,image:{src:"",mode:"aspectFill",width:"300",height:"225",shape:"square",radius:0,lazyLoad:!0,showMenuByLongpress:!0,loadingIcon:"photo",errorIcon:"error-circle",showLoading:!0,showError:!0,fade:!0,webp:!1,duration:500,bgColor:"#f3f4f6"},indexAnchor:{text:"",color:"#606266",size:14,bgColor:"#f1f1f1",height:32},indexList:{inactiveColor:"#606266",activeColor:"#5677fc",indexList:[],sticky:!0,customNavHeight:0,safeBottomFix:!1,itemMargin:"0rpx"},input:{value:"",type:"text",fixed:!1,disabled:!1,disabledColor:"#f5f7fa",clearable:!1,password:!1,maxlength:140,placeholder:null,placeholderClass:"input-placeholder",placeholderStyle:"color: #c0c4cc",showWordLimit:!1,confirmType:"done",confirmHold:!1,holdKeyboard:!1,focus:!1,autoBlur:!1,disableDefaultPadding:!1,cursor:-1,cursorSpacing:30,selectionStart:-1,selectionEnd:-1,adjustPosition:!0,inputAlign:"left",fontSize:"15px",color:"#303133",prefixIcon:"",prefixIconStyle:"",suffixIcon:"",suffixIconStyle:"",border:"surround",readonly:!1,shape:"square",formatter:null,cursorColor:"#53c21d",passwordVisibilityToggle:!0},...wS,line:{color:"#d6d7d9",length:"100%",direction:"row",hairline:!0,margin:0,dashed:!1},lineProgress:{activeColor:"#19be6b",inactiveColor:"#ececec",percentage:0,showText:!0,height:12,fromRight:!1},...SS,list:{showScrollbar:!1,lowerThreshold:50,upperThreshold:0,scrollTop:0,offsetAccuracy:10,enableFlex:!1,pagingEnabled:!1,scrollable:!0,scrollIntoView:"",scrollWithAnimation:!1,enableBackToTop:!1,height:0,width:0,preLoadScreen:1},listItem:{anchor:""},...{loadingIcon:{show:!0,color:kS["u-tips-color"],textColor:kS["u-tips-color"],vertical:!1,mode:"spinner",size:24,textSize:15,text:"",timingFunction:"ease-in-out",duration:1200,inactiveColor:""}},...{loadingPage:{loadingText:mS("up.common.loading2"),image:"",loadingMode:"circle",loading:!1,bgColor:"#ffffff",color:"#C8C8C8",fontSize:19,iconSize:28,loadingColor:"#C8C8C8",zIndex:10}},...{loadmore:{status:"loadmore",bgColor:"transparent",icon:!0,fontSize:14,iconSize:17,color:"#606266",loadingIcon:"spinner",loadmoreText:mS("up.loadmoe.loadmore"),loadingText:mS("up.common.loading2")+"...",nomoreText:mS("up.loadmoe.nomore"),isDot:!1,iconColor:"#b7b7b7",marginTop:10,marginBottom:10,height:"auto",line:!1,lineColor:"#E6E8EB",dashed:!1}},...{modal:{show:!1,title:"",content:"",confirmText:mS("up.common.confirm"),cancelText:mS("up.common.cancel"),showConfirmButton:!0,showCancelButton:!1,confirmColor:"#2979ff",cancelColor:"#606266",buttonReverse:!1,zoom:!0,asyncClose:!1,closeOnClickOverlay:!1,negativeTop:0,width:"650rpx",confirmButtonShape:"",duration:400,contentTextAlign:"left",asyncCloseTip:mS("up.common.inOperatio")+"...",asyncCancelClose:!1,contentStyle:{}}},...{navbar:{safeAreaInsetTop:!0,placeholder:!1,fixed:!0,border:!1,leftIcon:"arrow-left",leftText:"",rightText:"",rightIcon:"",title:"",titleColor:"",bgColor:"#ffffff",titleWidth:"400rpx",height:"44px",leftIconSize:20,leftIconColor:ux.mainColor,autoBack:!1,titleStyle:""}},...{noNetwork:{tips:mS("up.noNetwork.text"),zIndex:"",image:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAAEsCAYAAAB5fY51AAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAABLKADAAQAAAABAAABLAAAAADYYILnAABAAElEQVR4Ae29CZhkV3kefNeq6m2W7tn3nl0aCbHIAgmQPGB+sLCNzSID9g9PYrAf57d/+4+DiW0cy8QBJ06c2In/PLFDHJ78+MGCGNsYgyxwIwktwEijAc1ohtmnZ+2Z7p5eq6vu9r/vuXWrq25VdVV1V3dXVX9Hmj73nv285963vvOd75yraeIEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQaD8E9PbrkvRopSMwMBBYRs+5O/yJS68cPnzYXel4tFP/jXbqjPRFEAiCQNe6Bw/6gdFn9Oy9Q90LLG2DgBBW2wyldIQIPPPCte2a5q3jtR+4ff/4wuBuXotrDwSEsNpjHKUXQODppy+udYJMEUEZgbd94DvnNwlA7YGAEFZ7jOOK78Xp06eTTkq7sxwQhmXuf/754VXl4iSstRAQwmqt8ZLWlkHg0UcD49qYfUjXfLtMtOZ7npExJu4iqZWLl7DWQUAIq3XGSlpaAYHD77q8xwuCOSUoXw8Sl0eMux977DGzQjES3AIICGG1wCBJEysj8PXnz230XXdr5RQFMYbRvWnv6w8UhMhliyGwYghr4Pjg3oEXL34ey9zyC9tiD2ml5h47dr1LN7S6CMjz/A3PvHh1Z6UyJby5EVgRhKUe7Kz/JU0LfvrJo5f+Y3MPibSuFgQGBgasYSd9l6GDsup0WS/T/9RTp9fXmU2SNwECdQ92E7S57iaMeJnPQLK6ixkDLfjlb7546RfrLkQyNBcC3dsP6oHWMd9G+V3JgwPHh7rnm1/yLQ8CbU9Y33zp0j+nZFUMb/DHmB7+SHGY3LUKAk8cObtD00xlHDrfNge+Z2ozU3c9dvx4Yr5lSL6lR6CtCWvg6OAPw9z538ZhhZRl6XrwhW8du1KX/iNejtwvPQIDR8+vSRqJ/obU7GupjdNdh2gW0ZDypJBFR6BtB2rg2OVtuub9JcmpHIpBoK1xfffLzx4f7C0XL2HNiYDp6bs9z23Ypn1fC1Y/9PCFDc3ZW2lVHIG2JKzTp4Ok7nv/G6Q054MIvda+bNb74pEgKGtwGAdL7pcfAa8vOKEZ2kyjWuLr7uDh+/qvN6o8KWdxEWhLwroyeek/g4zuqwU6kNrhyZcu/UktaSXN8iNwuL9/RuvVXtJ9PbPQ1vhmcP6t9+47u9ByJP/SIdB2hDVw9MJHQFYfrQdCph84evFX68kjaZcPAZJWwjMXRFpJ2zr91tfuvrh8vZCa54NA2xGWrunvmg8QWCJ/N4ir7fCYDxatkOeBB7an501agXbygVdvv9IK/ZQ2FiPQdi9osGbH+zRNf7y4m9Xu9Me7N9nv0HXdr5ZS4psHgXpJC9P/wDRTx0Vn1TxjWG9LGrbaUm/Fi5meSvcrkxf/Cg/ow9XqAUk91v3qHT97r6471dJKfHMi8Oyzgx1Z03t1YAQVT2MwgsC3u+yXHzi0faQ5eyGtqgWBtpOw2Ol9+/TM+sTOn8L08MtzgQCy+tOHXr3jA0JWc6HU/HF5Scssr4jXcYqfP6V/T8iq+ceyWgvbUsKKOn38eJAYyl56TAuCEr2WYei//9Crd/5GlFb81kdASVopSFrerKRlaoZj9HR+700H10+0fg+lB21NWBxe2lhNHsUpDZr27mi4dV379R9+za4/iO7Fbx8ECknLCPTsTDJ17O33bJpqnx6u7J60PWFxeAcCbMV56dJfQKf1bkMLfuGh1+76zMoe9vbuPUnLsb2DtmOe5HSxvXsrvWtLBEhaTx29+Ma27Jx0ShAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQaEsEVoQdVluO3BJ06ptHL34b1XRjp4Ch6Rq24+kmjG4Nwwg+9uA9u/73EjRBqhAEihAoe3xwUQq5WTYEzp0b3ZnV/Ncf6O/9AvY9wlh/6dy3X7ncN512Zw9BVLXjuAP4np44vnQtkZoEgVkEhLBmsWiKqwsXpjbPBOn3gRfenwnc+7GBe+zsjclvonFDS9nA9Iy/u3x9+vAP3735VPk4CRUEFhcBIazFxbfm0k9fHD7k+v4nQFaPQIrx8Gmyx/GJ0J/t7ez7mw0b9MmaC2pQQgh0/ZSm4g5TwueWWtqLt0HuVy4CQljLPPYnB0depTn+b3t+8B4t0AdBUv93h2H9xc6da0aXs2m+r1WQsLRnl7NdUvfKRkAIa5nG//r1oGtsZvjTgev/kqYHF/TA+AXoqv4npJemOEiQU1Eo2l+G0movBK1UBBPU7s9E1+ILAkuNgKwSLjXiqO/khVtvARH8dxDBRkMzPrF/V+9/BlG5y9CUqlXinHv9mRPXtvuus88L9H3JPv2zD2yXExCqAicJBIFWRwAvv3Xqwq0/Pnn+lv/K+ZvfPH3p9p5W75O0fxaBp793ce3AwIDMWmYhafiVgNtwSMsXeHp4eNXJC8Nf0PAdRCiuf/XgrnWUqsqotcvnl9DmRkCdweX4b9N7+m/ih+mbMraLM14yJVwcXItKpT1VRve+ArC3Qqn+3gM7132jKEGZm6tXg86J7OhDfuA/iHwPUpfUZSfu2L59tXxEoQxeyxkEgjKeOnLxHb4RqC+NY5H3+2953d4XlrNN7Vq3ENYij+yZwbG9jpt9GkBPQ5H9zgP9607OVeWp87cOQtn9zwJf+xDMNFfj+jryPqXpxj8c2Nn7P+SXey70lidu4IXzb0DNB4tr9751+HV7zxSHyd1CERDCWiiCc+QPjUCnsaqmZ62O5IN7N/VUNP48ee7mAZDTf4Tt049iUG4Guv4ZfNLos9UIbo7qJWoJEHjy+bP7fNsoOcnW0A0/aacef8PdG28sQTNWTBVCWIs01OfPj66BpfqTmq732UnjgT1bei+Vq4pTv7HM8Ceg2/o1qLQug7T+FaaM3IqTLZdewpoHgYEjV9fphvOj+OShWa5V+CxvZtpzv/LwG/aNl4uXsPoRwI+4uEYjAJ2GmdG8L0FK2mYa+tsrkdXZy+P7x2ZuHdW14P+BLdank9q6Qwd3rf+ckFWjR6Tx5Q2cP58K9Jm3VCIr1ogt48lO237r3//96YofeG18y9q7RFklXITxPXV+5DchKb3ZDMy37Nu5tuxG4R9cHH6b42QfAzlds+3EPXu2rfrBIjRFilwkBIIR7SHoJDurFU89ZOd680Gke6JaWomvjoBIWNUxqivFD87fej0e0n8Fwvr0/t1rnyqX+QfnRz7g+8FX8Rv8vL3auF/IqhxKzR2WCPxXqKeq3krDTdj2ierpJEUtCIgOqxaUakwzNBR0D09yiqePHOjveyOkpxLr9VMXb73V97S/h3nDXx7Y2fdPkAYbncW1IgIDxy5vM7LZt/hgrnLtxyaBrJNxv/72N+6tuNhSLp+EVUZACKsyNnXHvHL+1qcgNf2KbSXu2bt9dcmS9qlzo/fARgcmCtpzB3b1/Vg5QiuslLowENyDWDn8cSjl98PgdBviu03N+rl9/WufLEwr18uDwLdevLTF1YK3xnVZ2HI1bUxrT7z5zTuXdRP78qCyeLUKYTUI25OXbm4JPO00TBj+6I7+db8ZL3ZwMOiYdG4dA1lN9HWte2iuI2NAVPapC8O/CGPR34Ip/AZIbIMo7yX8G9QMbcS09P+2b1vf5XgdrXaPfiYns9oeLLEd8D1/B7Dp0E1jGP042pXQj7RKf546cmGzp+tv1TRf6YQD35/QO3seP3xow5IfC9QqmM23naJ0ny9ysXwgq98BWc0kVhv/Nhalbqe8kd/Fr8MOSEr3zEVWrwyO3I29hl+E9LUHGf+nAXI6sGPdd8uV2YphIKnE5IyL6bLxk7cn3bdkHHefrpvJAExMZ1uBZmqeNzXtfzUzk/m/ens7LjV7Px+8d9e1579/44l0duZtge+Np5zEEw8c2pBu9na3YvtEwmrAqNE8IZvNHsep5//yjl3r/0O8yFOXbv0QCO05gP0JGIL+fjw+uj91YeRh/Dp/PtCDM7Zpfmjvjt6Xo7hW9ycmJjaYduf7Hdf/8HTGfa3rG9rYxLSWnsloPg7fijZV8oFM2Ja2a9t6EJd7bCztvHP7us4rrdD/r3/7ct9I99jEI4cOiQ3dIg2YEFYDgOUJDFj1e8TqX7cT4kImXuQr5279A4DeBEX8ayvprU4N3rovcALot/TH13T0fXDTJn0qXk4r3k9OTm4y7a6PzjjORzOOvn1kbEqbnEprPhRzwAKzwFLHk05hv6Yd6N+o3R6beG50aPSdr3qV6IJKkVp5ITIlXOCYn4Yexr0w/DO6YXymHFlR0e5r7tsM3fxgJbI6fW1ivTeT+SsYmr54cFff+5Cu5X+hb94Merp6/J/PusGvTE6724eGJ7RpSFOkKPCUZvBPBccoHBet3Rwe13rX9tw/PjXzZ5hKvr8SfhWKkeA2REAIa4GD6p0feRdWBnvxjv2PckVhVfBf4A29uG/X2i+Ui2eYn8n8NryuDr3jPfWSFV5k44UT137eshIP2K7/64cObbheqZ6lCp+Ydt8TBO7vTM5od1+/NR4SFVhoLpKKt410lnE8LTMzo3V2dLznxLkhYgQ9obiVjEDln7mVjEodfYcpw+MAsftg/7qSDbAnb97sCSb0Yei2fqOcbovVqKNnNO8HmAE9Cv3Wp+uoWjt27HpXNqH9WTKR+kBHKqEFbvo5y3N/avfu4g23R45f3WGa1k9ZicTd0zPTf/f6O7f8dT311Jp2fHzmgJlI/N70jPPe4bEZ6Kg4qw0lqlrLiNKBiLWerpTW25PUbkPXZViW62ecHz+4d8PXojTirzwEyhq8rTwYFtRjvpX/rlwJ+iSXugPbMuyKBOHo3geRJtuT7PujcmVUCuPJlhnL/9NUqvMD2eyM5sxMaIlE4n7XML907tyNjcxHQjty4sZv66Z1xEok/xNW5n4uZSf+8sT5m++vVO58wkEu5sR09pd9w/rWyET2vReujiqygrSopn/zKZN5qMeirotKeTyolm7p/+X06Wvr51ue5Gt9BISwFjiGsLl6N6SrvylXDNTK70D4mX071pwtF88w6Jd/DG/1E1u26NOV0pQL71y3/8PJVOcHMzPTWkcCH2YGOaTTaS2RTN6f1fQvvvDK1bdnbO2JZCr1SeRfn05Pa1PTU0gXJBKW+ecnzlxvCGndhFQ1NRP8bcY1/vjS9bF1V26MwHwsVKiXa3etYVw1TNhYJ3TDjQCO42jJVMcez7J+t9YyJF37ISCEtahjGjxkGDr2DJZ31D8h5vUQJL5RPkXlUMM07u3qSGidICvkzzuSlmlZb0olrK9hD9v9JCrPC196JoPMAolFg6CV+PPj54YeyWecx8Vk2v1Q0rSfhFT18LnBmzBRyNalp5qrSuq7kiAsh4SFa7oZ9M0wzI+cPHOjZPo9V1kS1z4ICGEt4lhiCvZrSa2jol7qzPXJPk6nIGbVbWfUvcr7hO9MP97ZVXpggOu6ajplYStj7l1XvbRMXbPAbp6HzSSBlkraNknrvfVCcPt2sHYi7f3pTDb47KUbYxuvKqkKpYBXKBnV869c3WgbDEixAck0FGFFfEzJzbIsO9C1TyrcymWWsLZGIHoW2rqTzdo5dXyykz0NC8l779i5vu4zwM+eHVntGP5jqVTq/6AkVc5NZ3wNH2lVxNWZNIukMSjiNd9z0+CHp5DXAdX4SAg203w8GB5IATtODHzdK8C15kEjhXvNS9rWA11dnfcMDY9prscss48RySakrOLWqODCoIKAgkuVgsS0urtD60haeV1YYVbbtjUn6/74HXvW/11huFy3PwKzT1r797Upe3jq4sib9u9Y+wxe+vh7W1N7jx49v6ZzbffnQD4/Cj1Pfjx54XiBls6GVuTUc9mQsOIO9mPQFdkIRlz4fy5JLm2ZMOqTcJaXIqpcqnixVe+rdbZ3dbc2OT0D0wZIibHSksmklslknvx+//q3PiKnXcTQae/b+LPQ3r1t0969cOL6G7o6E09qgZegdMJBpVQ1DbKCpyUt6oPKz/4NEJalCAuZFIuEVBJd+jgLh4rvAiFqUVGkhJZMWFp3Z0obGSu/d5gSnWmavuO6h+/cvYHSobgVgoAYjrb4QPMUiGtj1/79jBMkLBwiTlMASlYzTkhWCJyTrGAyMOFkst/BoYMmuIIyGJYcMXMMdNwHPhYN1qWS1t6ZLGaKZL8yzFXTr15BooLLMugHMBRNKgW+It8y9TEcJGt4rvcRFCCEVQbFdg0Swmrxkb0+cf2XOzq73kgdFieEXF2jdEUJKQH6SVWQrNjtZDKlpTPp38U58iUbthk/Ph7sN6zg/xudSGvD4xkq6otcnnjyF0XRRTflkyC0IIJE1JG0QbqGNpMNp5xFhRTcZDNoj66988SFm5vv3LX+WkGUXLYxAuXnCW3c4XbqGs9hwjv+a9lsuN+ahOJSCoLjNDAFvVUll0p1aNPp6adTweSflEszPO48oFn+4yOTmR+6enOshKyYhzWpf/jDuuf6x2aV/qNRaPG/1d0gUXWCA0uu7GhMmkqmerEc8KOVU0lMuyFQ+Ylut562YX9Sncmf7Ojo3BDZWbGLtMkiUVXSWTFNuMqWuYG530f7+/tnGFboxsfdd9mm8XdDo9O7rg6NFq0CFqZr5DWlK9qV0fZqGvZchSuPlevB2VmG/hOV4yWm3RAQwmrhEcW64qu4ykfJho52Vp3J8quBYQooqWDKADftBd6HD+5efyoKj/zR8ew/hWXY56/cnFh7a3RCTTGjuMX0SVB9qzu1qfQM+jO3dBW1g6uVSHv/qVNX10Vh4rc3AkJYLTy+WA/8ou9kJjo7bOh+DLVFZ64TEbCyBktxI5PJZj56R//Gx+NdH5vM4vuI+p8NXh9LjU1iw3EZhXc8TyPuuV9wDaaCfBjTM06N0hVWQmHBDzvSDZ5tvqYR7ZAymh8BIazmH6OKLbzv0KZvJEz3ZzEFnEolaEtV2XEaCLKadrIz//TQnk1/EU85NuH8th8Yf4j9gMZUOrNkZEVZCnsbtTU9KW18GqcKFyjh420sd2+j33pg3F8uTsLaDwEhrBYf04O7N/2t7/o/C2FoGnsIy/YGlvAwSfCvZzLOe+8oR1ZT3u/5uvHJC9dGtJlMrfqjslXVHwjpat2aLi2rjFFLjUSrFUjlO0juddXSSXx7ICCE1QbjiHO0/hofbPgwpnDTOR2V6hWNQqGUx34890noet5yaO+Gko3Y45PO7/uB/lvnrwxrWdha1absbgxo1FWtwplXqYSJY5Nn5lU3bLHQmGA/yko0plVSSjMjIITVzKNTR9sO7dv8RSeb/T9BWmMkKv4D+YzBXuljV7yxd+zfte6VeHGKrHTz4+cv38JWmyUmKzSGG5z7VndoE7kz3uPtq+Welvhwm39weVjOyaoFsBZPI4TV4gNY2Pw79mz8KyebeRIH+VEZTaX0sf27+v794TKmCxNTzr/2NOPj5wZBVjjdYSklq6jN69dyKuhqmWztivYob+RTSkPbe/xMdlMUJn77IiCE1W5jq+s4dYEO6mzsYAmvi/+CrH7LDYxPcBq4HGTFVcG1ULLT5orS1ULIkoSFI2cMHKG8obiXcteOCAhhtdmo6gaOh4EWWlkyYU9gvHswXfgV19d/7+LVkSWfBrItJJhObL/p7elQR8fUZnEV70XxPc01sM+xrzhU7toRgZIHuh07uZL6xA3LBaYB+Ar8rBsfz34YX1j+D5eu317QNGy2xPquSE4mDuXb2IujY2AgytNE67RiKFshzuwCR5s9ZSMlsK0QEMJqq+GkBKOF5yFzRoidK5BoFCeMjM/8mG+a//Xy0Li55KYLBRiTrGjwOQ1br4VMBQuKVJeQKVPxMLlvPwSEsNpsTEECmBLSgbHUpwD1YGwse59l2p+9fmuig4fiNZIowrqq/6Xeqm9Vh9JbjcOKvqFtACX7gV8kTVZvkaRoRQSEsFpx1OZoM2iKxxuHLtDcsZlgLzYZfv7m7XSv+r7fIm234XSP/8o5ktWqzqSyZr89PoXPYDTYkZvziw0NLluKayoEyq4iNVULpTF1IaDjHHZmoAW4aep9geN8fiLt998cGYdtVp7K6iqzXGJFUCAi7jdkuapsBJKcPBwgyP8YRyV7B04Q3dDbpY3jg6gupoMNla5U41BbUN9n0sr1ScKaHwEhrOYfo7paCAW0WiWknihhW/0Tabf/6tDtxpIVSIhGnz1dSXUkDL8fSHKi4/lWPId9Kp3Vxqegp8J/m9f14D6DQ/nmb281FwgkZ1Dj7bnSSFx7ICCE1R7jmO8FJJr8jCvjeNrIxFjDJBpKVaSlXhwDw384MyucBoLAGEfHI5ptO6n1YAq4FjorH9IWjUOnFlF3pj62aui3whbI33ZGQAir/UY3XCVEvzgdw/8NcSyGUhSlpVWQrFg2p39xp0JYLyIohaXxdZ2FGofG6yi85/QS32F0Asu8URgu1+2JgCjd22xcsVElPC85169Gaa1YTkRWJKpSqooBiQQzONvq9sRULKKxtzzAEJw1api2EFZjoW3K0oSwmnJY5tcoSD09HanEDztubnfO/IopyUWC6sUmZUpW5aSqkgwgK04DxxaZrFivacCaIdAuH9zaM1rSDgloOwSEsNpoSMenvU93dXb+EE5taFivKElRqd67qrNmsqIF+yjMF/i56MV2JqadYKxXMDXM6+4Wu04pf/kQEMJaPuwbWvPticwj4Il/NnTrdl7JrqaDC5wTUle1GmdWWVCw1+JotjA6PgnThsIdQrXknF8arkJi/+R355dbcrUaArU9ha3WqxXW3tHR9C5dN//T9eEJ3aGdUwP7T0V7F86Mr0VW4mF6o2NTS/ilaB2HDmb8wA2+08AuS1FNjIAQVhMPTi1NgwRkGKbxRxMz3uaJSRzVUkumOtLwo6Zc7aOkVdEhynN9NQ1cyuNqeEqD67mX9TXGyxXbJhFthYAQVosP58S0909czfqJqzdGODVqaG/IUbCWr2p0yukfp4FUtDfeir1yl8IPUGjPHFy/fqJyKolpJwSEsFp4NEfT6Z3YBvOp8MvMc0hAi9hHNQ1cBrJil5TUZxhfXsTuSdFNhoAQVpMNSD3NMTzzU1PZYAM/ProYkg3UV5rHT8lXmA7SwnwEq4FLLVkRI04HM+n0LdvzvlEPZpK2tREQwmrR8ZucCd7hePr7rw2N5PfxLUZXON1zHKz4kb0KnIttP6Njk8tyaimbwXPrsW/yq3v3bhoqaJZctjkCQlgtOMCYCnU4GedTI+NpQ32XbxH7QOmKG5nzdIWZJz8HNkKygqI9TmSL2JSiovGVn0A39c8WBcpN2yMghNWCQ4zPc0HRbr6GEs6chJFnmfl3knZO4/hmII1B6fiFG9br0s6qAeXPp2WUrhzHeXH/jr6n5pNf8rQuAkJYLTZ2kK7Wul7w6zeGx9DyUsZovOodOizosTg1TM9k1Wogpa7lIisOF+w48E/7E5B1Y/cgtdizsBKbK6c1tNioT6X9n3MDcyePOo7OoJqrC6S0+ZIYV+GSOHxvc18PJCxXG4ed13I727axqTp9yk9rX1jutkj9S4+ASFhLj/m8axwdDdbgELxfGsLpoZyqVXPVU1QugVJUV0dC27p+FaaBWWxknq6ceAljTNMiAf/BoUMbJpewWqmqSRAQCatJBqKWZpgJ731Zx9pJM4aK0hXe5vlKVFEbKFlxs3PvqpSSqpbzKztRm+gnEkktnU6/2GFMfa4wXK5XDgJCWC0y1iAR6/Z49iOjY7C5qkG6mk+3SFQGlEP8FFdnygrNFqBsn1OxP5+K5pGHbcBhqhT8fqu/v39mHkVIljZAQAirRQYx7Wj3Zj3tddQjVVJ4l50CMjHe8mqOTJCCvmoTyIrENXx7Uinbm4Gs2PZUqkObnp76i0N7N36tWl8kvn0RaGnCGhgILKPn3B3+xKVXDh8+nPseX3sOlpt13+P4uonv71WeDqLr1ampFB8S1JrulNaHc9rTMxltcpofOeWns0rTLkeIZUHRnpm5YibMf7kc9UudzYNAyyrd8ZLpWvfgQT8w+oyevXeo++bBtaEtQd9s1/ffRsV3I6eDJCp+nourgH04UZQnhIYfWm1o8xdUGCU8/E/bil89sH3dlQUVJplbHoGWJaxnXri2HTvd1nEEcCBS3z++MLi75UejQgcmJjL92ax/gNJPo6QekhVXAbdvXI3D+XQ1Bcxiu02zTAEjKFIdHTQS/S8Hd2/4YhQm/spFoCUJ6+mnL651gkwRQRmBt33gO+c3teNQYin/oG6aKX5rcKEukqqoWN+Ij5vy81v8UATDG0WGC21jlJ96K6wKPpWd8H8jChN/ZSPQcoR1+vTppJPS7iw3bIZl7n/++eFV5eJaOczX9Z2YvM1LPxWpocBHKv8qHHdMqSphGUqqahaThfj40ITBcbLnsDj6oXvu2bS4n96JVy73TYtASxHWo48GxrUx+5Cu+XY5RH3PMzLGxF0ktXLxrRoGNVPPfNtOolIrgElLGYH2wbZqcipdIFVFlDbfGhqfj9bskCaHHS/7gTt3r73Y+BqkxFZFoKUI6/C7Lu/Bl1jmlKB8PUhcHjHufuyxx/g5lbZw+BL7bX4EoiZqyS0T0uM0j1+82QSl+ua+bhxj7GjD2LicwWkLzaarigbKsmDJ7gcTmezMBw/t3ixntUfAiK8QaBmzhq8/f26j77pbaxo3w+jetPf1B5D2RE3pmzyR4/nH+Mti4Wx1dUrCHO0lSVGqskFUnakkpn6mhu086jgYHkWTW3Wbo4Tli6L5gqYHE47vfeDufVv+YflaIjU3KwItIWEdO3a9Szc0ElDNDqcLbHjmxas7a87QxAnX9ljfxcr+Mzs29ykpi1O8iJjoR/cm5o7dnUl89LRLW93dyWmVIip+Kp7pmlWqIvQ8Mga9Gslm3Efu3LX+K008HNK0ZUSgplnGMrZPGxgYsIKeXa/TA61jPu0w0+7xBx/cd3M+eZspD0wbDgWm+RXP13cODY/jWGKuGAb48jG+agNpilbqlKZoWDqDY2AyjtNUlupzYZlKpXgaxIVMNv0zd+/d+uxcaSVuZSPQ/IT13TN34QRvZW81n6HSDdMLUqmjh9tgd//Fi8OHEl3JL3Z2dh3MzGA7XU664llVWRz/QhLjNYmsmaWp/DjCjqIDdlaZTOZZ1/A+fGj7hjP5OLkQBMog0NSE9cSRszuswNhdpt31BRnazM3U9IuPHDrUuG+419eChqU+cvzqjp7u5P9KJpMPpqc51Zv9QntLkFQBEqZluVCw/7nhaP9i376+8YIouRQEyiLQtIQ1cPT8GjOw7vE8tyFtxBrb2MBXdh579FF99g0vC0nzB548ebNHT2l/aFmJj1BPBYyav9EFLaQ+jdPAVNL8/pZ13a8qiJLLOhAAjvrTRy/d0enbF+69d0tzHFhWR/vnk7Rple6mp+9uFFkRGF8LVj/08IUN8wGp2fIcPLh+4sCu9R+F3ucj0MLf4vaVVnChqYWmdaQS2jpY2vd0djh86Vqh7c3Yxm8dudTPxaW0lrn7yJEjZW0Tm7HdC2lT0xKW1xecgHE3FDWNcb7uDh6+r/96Y0prjlIO7ur7TOD5b3ayzt9ylY0Gl83qKFXZsCXrXdOlrV3djf2LBr556JOshLDmMWhPPXV6vav5O5jVxYLUhNl3iIbV8yiqpbI0bQcP85C2Xu0l3dczC0XUN4Pzb71339mFltOM+Q/0rzu5f2fvu1zH+QDOt3uZ0pbVRMRFouJK5qqeTkhVqyBdtdUmhGV5JI4cudrpd5kHiyp3tTU/8s6r+4rC2vCmaQmLWJO0Ep65INJK2tbpt75298U2HLuiLh3oX/95L+0/kHUyvwTieiUJHVEimVzy1UKeWMqv2pCoKEVFRNXT1aHawnBx80eAZj7TwcxdAc5Gi5fiaNnNT37nCk4xaV/X1IRF2B94YHt63qQVaCcfePX2K+07fMU9U7qtHev+xE/7r3cc70O+6w1gxuV0dHZiusgvJS/O7IskRXLs6KCxqj+B26t9a3uUREWi4plbQlTFYzXvu+7tB3EIUGel/L6e3TNw5NS8zYAqldss4YvzBC9C7559drAja3qvDoyg6pwCP+KBZaVOPPjazS1vMLpQKE9fuPnawDB+EqehPwzWuAuSl8LPg90WVxhJJPWQCUmPBAWTBEz1TFUGpqO3wYYvIPgr2az35a2b1/50V6f1e1NTlVcvEzB0xRekj67usu5FmS2/crvQcaol/zeeObfTSOj91dIq28PxiaOHDx9quy8LtQxhcZBqIS0Dhkl2l/3yA4e2j1Qb2JUUD1Iyz1waOQib0vsxKXsAFvH3wMB0JySwtZC+DBPTN5BOCEnhrI1BuKe9l6tIzsVCiD6E0DOabrwI2elZ09aP7N3aNxjheXvK+a1OENa0EFYEyYL9rz072Ju03ZpNQKj7Xd899cKhNrA9LASvZTY/s9GcHoK0XsrakLS8UklLxyl+/rj+/Qfu2367sJNyTS7SuZfneO7ffweBGScu3NwAqWgrTvTc5jjBZmw87tMCfRXYKQWOgula4OiBOQUZ7DZuhrAGdQXxV0zPuCaGnkv3VPGHOpPw7+QPR62OM5HhdNddGOeX2kmCbSnC4mDlSStVTFr4eLljdHV+702vWz9R66Cu5HS5h5hmHvz3QiOxwJTRo2BGgY06dm7OVhewYGAY6s75oD+ZDs4JPY9JyqSCQ7ABqftd5VFM3/j2Ja4mtsWpJQSq6ZXu5UZTKeJnsHpohiYPRqBn04nkS2+CQWW59BK2dAjwS0Y4IHDz2ERWG8Gnwm7iK9W3sFmbvrqGPzw6gW8eTmvTM07XmTPX28KYd7EQ3rjnvv1QFHbPt3zT9DcMPHd+13zzN1s+/hC2rKOo7NjeQdsxT5LEWrYjbdLw05eHtwWe9jl0542u62HZHZIVpalY/yIlP5X3MHYddLLZfy4fmYiBhNuB509vw+rG3tKY+kOwGHLi7W/cS91jS7v4s9TSnZHGLx8CICH9lXNDX+zpWfXuycnaBV2e3e567nAm4973qv0bzy1fD5qr5oEB7KXt0u7B3Loh7yhWVfypbOalh9+wr6U3mbfklLC5Hi1pDRE4ef7Wj+EEiZ+amqpvJT2bzWjJRLIPR3n9riA5i4DZg720DSIrlsrvHXSZ9p7ZGlrzSgirNcetqVp9/vz5FJTqj6JRejTdq6eBMzNpHP9s//QrF4bvrydfO6f1JrCX1mvcXlo98Kembjotr3wXwmrnp36J+pYNeh5JdqRem83O77gxkpxtW3bgOZ/g1HKJmt3U1Rw+3D+zrc89aunagnWzpq6PdxujLz388L4F78tdbtCEsJZ7BFq8/sHBoMPX/I9hyrGgnuDUUZzrnnz7yQu3HlxQQW2Ued++fZmJ1e5LoPB5k5ZpWCPXz+08du+99zrtAI0QVjuM4jL2YcIZeh+2+9wF49MFtYJSlgmHE0g/JlLWLJQPg7RmhtyXsJ18eja0tivsXhj6xy9ve/mRR5TRcG2ZmjyViN9NPkDN3Dz1FW5z9XM4i+s1ME1YcFNpUIrVLHzJzHnwjl0bn1twgW1UwPHjxxPXpztejR0HFTc+F3YXRwxdfdM9W08D0zrs4wtLaM5rkbCac1xaolWOvurhZIPIih0OdVm2haNTfqUlAFjCRnJP4HBn+iUqz6tVa2nGpTe/etsP2o2s2G8hrGqjL/FlEQC5GHghfplSUSMdvwaEA/9+4vjpa3c2stx2KIsfUek2dr+EuXNF2xEjSJx98w/tbFt7NiGsdniSl6EPp84O3W/Z1oPzXRms1GRKWdCJdeCIlJ+vlGYlh997r+70+EPH8NHJEtLCauCph+7bmj81ox1xEsJqx1Fdij4Zxi9AT2KSYBrtslgxhOD2gWOyz7AstFzx6zFHj1mGobYUYAgC9cHge3ddK5uhjQKFsNpoMJeqK6+8cm0X6noXiWUxHA8WxAdWNyQM45HFKL8dyiRpueM7jllmMGpnjO+1w9fNaxmXxiogaqlR0jQdAkeOBPjczrnOiQ6jw88ESSOA6KT7iQzOHEvavu1pZsLQg4QPP/DdZG9Xx/vWrOr+mfR03SvtNffdxleAQIgvTzjBT0w409Mpu2faufZy+vDhw5WPMa25dEnYqggIYbXqyNXY7i/jCyvdfmaVb5hdVsLp9LJGp43j1/1A7/RdvdMwPRzEboRnLVHe9vEvL3eXBOB4ZMta22H+TiqV2LJQ26u5u6Bju44Z3J7O/Lvp6cwPmBanOwQ4uNHRTWMK21bSvh1Mm642nTWCtKkH07rnTE72aOO0XZq7bIltVQSEsFp15HLthg5J/+aJE12m3tVjOPYq1/dW4cTjHnwMYhXOce8xDd3y/PJW6OpMdsTRVy4iK/rKMR/jwvz825VIHFzT3fkx13UW/dnhRy3GJyeeHEs7n1XNibUPFvY6vtGDw5vV9w0Vofn81qGhZfDhi3HX8SfQ/3HPMse9CWcCX0gel2OIFJIt+2fRH7qWRaYJG85NxldGzV4tGayFSLQ24+q9ULyu9gJfMU5ELTn6wUISTl03NHz1KzyiJLqmX657OLLdSJgoXTO7cBxyN172blier4YCvBsFdSNXV2dC35tKJrbzfPfFdjwvC/qs9MSMxxNRsSqmT6LhUDQHE+jUBE7UnATXTuLsrRn01K2l/x6+qItiR3TNG8V59KNB0DGSfNXGUXwJY2Gm+osNhpSvEBDCasIHgVLTt75/aQ0MnXpBNb2QgNYEntfr4wu/nBYpKQLtxtdwAh0SBX3VDe7nM/Ha5vf1Fb/CURS2bCTAWWuxR229qRsbQQQbUed61LfW14JVKKsTJ5sk8WUcHbtlNANyTOhgcmAGKH7p3m1FWpqtuZCu+LByVdKHVMjpKEQrBwIW9tnpXOIH+QTDSH/D9f0bmCLewDn1I4HmwtAypPDZ/oe9oXKf/aMPsWxSs/RR13FHrURiZE1gDR86tKHEdCDMKX+XCwEhrOVCvqBeHNaW6ui11/mWDtLQ1kEiWodXE4rwYgepAPssTPCMOjIdAk94TZ8pMZjch8HjDorGFUTUAwlkh64be0A9/ZCatiDZWtOyE7ClQmIdJICJFYhA+TRV4Fo5/QIHiUvrTEbkVRCxiJfsSBbfYk87OTExXxdazY5yUgiRKfpHQ1YSkONmAZY+gV4NIeVFfCXoLNA5h/Plb5LzWAyzF+IVXdNnvO/6GcsyhjC1vmWZ7s2pO3fdOqzriy9asnJxZREoerDLppDAhiIAEtCfO3F5rW0a6z1PX4/nf53nG5RqqrpieSnULEVh8cx4E7ugH78H8tG9eP/24oVezY+pkpA8b/abhPF8le75BqdsXUtaFeaTlTI2IByEoU1l8oq1mkokcZHElIRoWmpejMMCMyCvQXyy7JjjuUcgOl4tLCzCMpTHgFpcgkViX/dH/ax2Szf8m2Yqc/MN+1r7BM/C/rfCtRDWEozSkbMjq7NTY5t13dqE6dhG3wsSqlp+C9DDi0ifLrqmT1f6BgUaPjiHN0lJAGAfvpWcI4XjiHIMF6ocO/EjmMa9HeelQ1LT1PRpoce/sJwOTCQtc+kfGQp6Uxl+9JWtmL+jNEaJ0gKBgbsygR58B4sHfwV5aliVWg3vCHv6ymHcdG868IzrVsK6pnd71+/dsmXxbD3m3/W2ybn0T1/bQFe5I8euX+9ybuqbXMPbDA7ZCKV4uMOecyz+9OfmWvj9x9zEw6JW+JuOX298WhE6qtwLEV3TL1tb/AWj7sqwfqaro/sdmcyM+vBp2XzzDEzaBiQsNH+e+eeTjQ+ohwqnG0BYhfVzNYKrkOmpyauYYH8KvD8G6RPBszrC6Jq+ystl0ghzXEZjR5+O4+iZwTh+eG7Yqa5rq/3hGzzTSkXKn4YgIITVABjBP+ZzP7i8ydasrZCetuCHvIvFRs92SEdlpnCYE2LOQi12OA7RNf1yjrphHIyE9yOXPnfNMDg70DpdTf8DWDKs5rRvMVwChAWrUgh21HzllD0NrigqlxKVC7bKQuOOWeGiuI7OTkhb6T8C/Xw3xkel9cXxj6eIxiY3Hhx3X9dHsWJwDaa3l1+zd9Mt/F4tUk/ijWnP+/DBb8++LWqvnh0c7NDGta0pO7kl6zpb8AJzEUr91kYEFdeBRCt69Nm4+AsSl6jwjVGckY6VwPwUpLhLURx9xliWvxFHi/w+zB0SWCnLsVpxnoXesSI2ngp4zmRJXPgf/0IleGH51R6uwjeX5MR76qtITh7+8N9Cp4GF7Sm8Zl1s35pVXVomm/5c1vG+Wm284njHJeJq44/FjixUAld8w7uijW6+xo3MhW2S6+oIVHumqpewglJ87+LFtcFUcqur+1vxwPcZJqYPMOyhXw6GKI4+4/GwQpjCBhe+6XDIpFb06PM+np5hhS5eXzw9bLJ2pBLGv4Fe36BU4kA6IQGw8MUY6MJywVeqDs54Z69zrWdY7jI3G1ZtUiSV6zzDI3IqLLew/wu9jspl+yywrA1pEed5QceXPT3jBb/DLrA5ua5UHZ/4eMTbFx+fwvE3DJO8fANrjlctL7giJhRx9MrfR89R+VgJ1Y6currONuwd0FNsxwtV02mPlWGLy1TxlPHf6Hh8PH9xesvw9yRM+5PIRT2ZIgVKKZxWUY/PT8aTFPji0i3m4Ed1hDWV/7uY9bNGtiGqAyorJRWSqCgdkrQiR5KddrwPlsq8xfhG6efvx8dvtiQczDdmmPaldDBxSVYeZ3GJXxUMWzxq5d4fPz7Ym7X1HTAL2A7NqtJHEQ3qtCPjw3LoxB/v+OMZ5VVzR5aHWRuErYA+y4uu6fM+Xl9J/lh7bFvbY+vmv0bWos9tsXAWSLIiaSnyApHxJz6SbFSFuXTw8i86r5vVRW1m+6IHmUREAuI0lcREP5q2ztWPrO9/YK54xsXHI56+cePvj3qBfimZNS+J5FWMcrjptThsRd4dPX9+DcwEd5iQphwozfkCwJKaLv9ewHYKeicfSudwShcnJDBBOD3MTwGRO0cqLIj73jQTaejDBYaPHTBgJ/i5+HyYijd95sFhRzkzB7yL2IrCtGwezj9nOQVTUlfPwiicifnu5J0qHHd8mXHIG6ZD7JQqIk9kJK6QwAokMWRUhMaSeJ0vcfaiXNhs7PyuwpYV51Vh+EM/Pu2M9GckpyiOuZm2Wvtom+Y4me8xPbvIIujzPu6Wbvyt1ejL3U7Sv/v754ZHsORwaX3KGdwiJhO5pzY+Mivk/urVq52jTnIXlEc78LKu8qAMx/G8kHhyOicosz0ovM3IrIDKb15HSvDoOoqv+hMLYCOWI8ash0vmufryZVcqLz4u8fym3ov1xT/EVp4UDUTn4/iS0xW+sZTMojASmLqGp64iH4FRXJQ2TKj+lv7JVRTVxwQkm9APyaboGnGMzSVR6VR87ipsVT645ovOzi5tamb6zzB1/nqzjz+s9YetwLioZW5C8jq08K9+1IxS8yQsfF6ap1WL2BK8VOaJc6NbPcPrx7wJ++hmHQUPvOaQgMJ3ETtVlERDP0wVsQ19uPgcLQyt/Dc+p4jlL6k/1xa2qVyh5ApEzEoErm/DsPOTXV3de6anq36roFyRdYWVbVSshHJEMt98saIXfIu9koplYZL6m/hUz7kS/Jt0/PE8+Jj6X/Y6k+fv2tA1BKIvB/OC8WnGAmp5dpqx3XW36fjgYK/upXbhFd+BrRlqn16MfkrspkoC4hnirYjbUVWzs4rHx8uL3cerjwt0TA4RcBcsuX8Rn97q54okVsCKJJ9YkSvy1gJR4aOtnAr6OJP+L13d+BKBKMEzHhAfgDh6yzD+vqHjTDDvYpAxLqwEfVdbE9bpIEi6V27tdLP+LnzPrWS/XrRTnz5d4e79+LNY7r4kP+Z7Jv7z1LyPL0B4Tb+ci9cXLy+eJ54e8Rw//rqqcUR+HOrgYVprJbBl5E2w63oI64J7k8mUDZLGhmAXs19ucVkxP8gKQu4ptCxbMy2TW3KAGI4u1P207ztH3CDx/7bL+Cdse8h1Zy5ev7Dp8uHD7blJuy0J69TV8XW6l92Dl3cbLG6g98idbhDgdANcY1ZY9o2N4mpNr96GRf1Da3Wui0RW69F1bWslvp81LD2xDTOGu9DhQzBc7AcYfYlkAqo6A6ozqHNBYJTESGitTGShsp0qQSxT4AcoPJQw0LBlEPhBFakHDjoLvY+XgVIyg7WK77tG8n9pvpHXBbXL+OMBd7FN6KLu+uf27esbX9RHdIkLbxvCGhgYsDb3v2a7obt7YHakpKmYiqgE2ioqJbzIOszXcSov/DAzRRNehyJKvPx4+igv/ZLKEaCkoZxUFMYXE1I8f7Xyq/UHp9CkAlfbCF3NdlhS7IQguA0N2wiJYy1ktC5IISb1Okr5jSYruy2SGlYkIkKLSC3yy/WrUWGzSnjaTUX/QEhYQuNewLCdwBFKRkpOuAfr4sBnwwfDg6B0MHagORhBHNqHw5WxTwYav6lAt/42MBLfrYZXHO9w3Ftr/B0Hp0pY+tkD29ddAz5ln8NGjddSlNPyhHV8aKjbzAS7Dd3egRcvgRHJWyrHASw9Pyp+vlSxEluH0jWAGQF9VVZMpxHVRZ/xSKQU4PR5Xy0+/sLQZCFS9DN/XKtSeh5WrL2x+sMyZv+W67+vwz5eC7oDx12rm9pakNg639B68XL3Qh+2Bm94DySxHhg0daBHSQhiCbyyyMS9SDi8RhEHyYP1qD9qak0S4VGn5VYrSTRKEkKHWYYiHuQmCYb/YKYLqS+3H5LYckxJmz6qhSYJ5yNgzgtuclESpncBfN8Fj3lgJdCSGpHcGECoxrouMoHjzO+4evLLMB1VKxJV8Wyj8Q80Ix043jnTu32hlTdkh08Yn7UWcnio9Qs3pzZm0lN7LCOxIdIZxbuQ1+lAVFFxJB7aMeUIiPkiPRPjo2v6dPF4FVjHnxi/oQK0Az/bymf5uI7ayGLj6eM63nrbF5VNXzV7nv3HViQL3JAEaSV1z0iBNJIgJBCYkSKJYbdjEiSHw7a0BI5s6QBBbINUswMUsQ6E11UojZGccA9dcZDBdQY+TgyFTgkiEKYyIBvstAQzIRk8cBJ+A2j4gZFDFWAqjAp3V5IhQYYwwUJ57ByS0QINzMYK8FyrRxt3KNbXb2qG/UVNT5wDyCt6/A0boGbdqzPA4tD21SPquWihPy1FWHjQzYs3xnZkM95ePIZd8RccBx1xez/UPowp46I4+uVcLD9/8Plq0Gfy6Jp+uez5uqPyY+UtNN5DuVQc06drpv4bIDXsjtsMpdkOSC79QK4Xog3PzwF4IBNCBiIhpBSpoE8jioqWaM2KCRuOqwLXgIQItKIe0lCYD/lZjoqgGIo0+J++SsmMKA8eqQ21qHuUh2PfzQHN6vgG6vVK8GfmQhcbr3Yff+AEi3rtdCtNF8u/eIWD2ATXx4Mg0XH1Vr/hm7sDQw8PvyvTrriKWocEE0C6oM/kJRJHrAykgj6WGlq+JUifu6YfS6pu4/UVa6AgQcXKi78ApekhcWFBwMstEkTX9MvVHw+Lt2ex+4+Pg62CxgsHEwZbAdgWIJfA+ICkfDRYtyAwWWB7Ay8F8VT/KB0bOJ4Gx/CQfUKSwZGrJJs8iZHYgB0zMB+zk8hopQ8hEcEog2ERASIBAOL5fIrVIKLxXKtzKPZLgZUckvGf+/nH5HsK0+Uz3316zeAjj3D23Lwu90w0ZwNpiZ72UnvwfO/AXIFnXfLBxLOsHn6yiLqmr3oQ04LHX9hq6TFHI6txrlYWkHj98UT1lh8vryR/rIKq6aO204drdP8hRWF3itmLUw42QnW1CSTSA2IAIXkWOBYKLWw8wjVqNkEaFqjFwLQNJhWI4ZiFoiq6QX0SbsEo6HMoWVFCYprwjw6FP65BXCSoXJwiOwpnFK9A6yiWkQhRDwA9XAfpwLS/AqnqSKP7jwapquiznXFXMn6x8Yg/X/HySvLHKqiaPlZfvf0H6BloAM/v3tpzHkJwUx59Uxb4GE5Lfnt2ZGS16SX3+F5mq4llfegtwnaSR6J5EC8hPUV6IDaS6aDnoZ5DpYe6AtdgOr4pyhXLNPH0KKCo/DDP7N+S+mI6qHzbQr7AbdgW+iylWn0l5cf6E29ftfSN6L9lGl04x30tOtMHklmLhxpClW9BL4S1T+i2uNPRp+0FflD0AN9A9LHnmHGBBfJCE3QL9ALiguoJqiu+64gDzWGIIAlhzhaSDsMV/yjJi3BxyY9khP9BXBSzEMY/AFORGMmM1yyKZfmm+ZKuJf4uMHV1THEj+o+S864E7zYd/8Dliqp2MamvPbt9uw4dY/M4DnXTuMuXx/scK9iHLcbryzfKwvOJBSGNPl10Tb8WV0xYyMFymDdXXv46Kq+ueChJQI4WlSUqf8StOf5CNdXqr9afxe8/Gm6AoLAqGKyCGLSG350ACFzKM2FvaeOseEhFOsjItdQ2S6wYYmkOdl2+CfLBvmpIV55vYY2Qn6uAxAWC40zbhxSmWArcQj0TSIiSU37mx0kgVesgLereOSz8E5EWJa6Qzyh1hZEcO7xY4Ct9WLfNvwa+5xA2h6uGP6vMPxMsZ8WNf0Gf+cOCw9usq51a5+kNG9Sn1IjJsjoO0LI7EpVra/vxhPdFs7JyjYriohlbTAKGxO1C6oJEljseOLqmTxfPX66OucJK66OUNzuDjK7p05UIbGwX25I/vrj4BYrnD0uZ/Rtvfzz9fPsPIkgkbL0DZNMFRVEHFEY2ZCBTcwMLdfCsCCVN4SwpE9YG+ARNgD24IDHYSYB1yNCYDkLRFoC8oOUG40AKQx5IYyAmlQ6SF7dDoSof0hbJiApzqLs43aPc5UG+AvVQ/4T7nGQFQiJ5kdbAkmgH2Sz0FaWB4gLrad22v4nmuvPt/yzCc1+V4t0e4z93r8PYwDCvNANxLSthkai0jmCf5+jq6y6Y4SkjTfoKprgWufj9Dg3AozBmiK7pl3H8WDH3u0YfLY6u6c/HVS2vSvsxoygyTF2q/qNenEyjJ5NJPYGPRidME1M1/JYqwyoNq32Ihu4J0z5M+WA2DoqwEI9wfmEaEhQJzPNsKNOh0jJwrfRVJqbnNOrC6IGwQFzgHiKrpCuq2kE+FizrMXWE7IWCEKemg7hSiimOQchNIC3EchqpHlBO95TshQThkwF5TL9k+Mm/MZLGzVo3AlQdLzagDle1vCYd/wU9/5Z5ZcyZPnNow/J8ZHZZCGtsbKw3rdn7nIzTx42o0WfP1cPKuYJ6XPFs5q7p8zmKx5v8cdcxDeMPOR1fj+gh4X10TV/dukiC+nJPeLy8eH1hrtm/UVvpKxcrP2oL/dlcs1eQ9PCeo73wGcp+R2Xyvlp74vH19B9EkoA2CYKUlcQqJCQj6vkoyBjh/IurcJiy4Zxy2FMptRBO7sK3kClR0UYUZAX+wMqfC1ICiYHMYBsKSQsSFKaAUEqZLoiK00ASFsgpN0UEUWE6yOkiiArE6NmUb91OWwAAEuNJREFUszCNxA0c/uBoF04W86YOarWQAYjGmHBBEIkUiXEqib025hNmInWknv6zKo77Sh3/RvcfSx5Xl4O4yr5Y7NxiuEEQFT4uvs8yrF5VvosX28LLS185vsiRHkc9YPiJtrCbJIzHyx3gJdfpl80flZWPR6qIxJghus7xjSqj4E9UNn2VvN76Csqq6XIR+48OYEeGlcAaXhLfQwxNQcgQEI9IErOOxBUuCuDLz9Arm5iyOTaYy7Jty8hAb2VCm43ZmwnwQTbgFpAWyA4SGEKhaMdgYNpngKAcpeMCAfFjYGE4yAqco3RZ0LorUqOkxVkf6AgzvFBPFbISSsOUD+WRrWijpcwbmI4Gomj4yxAIv4bPVU+q9sfxk/EP36UlfP49N3vNWr/m9CZdX/zzjDDofAoW3XHVr9NPHdB8p2+uORl/mjFLUktMbBTtkSJbpLCRxYyD5OpJps/4+DJuvq5IIgoLqfi3pLzcRuloM7QSzKImsBSWG80LVKkxkSvOkFHaCjL5QvrPN9rwvaSVtEg2ICmQCNRQkGjwnlOpNktMxdds+GxcRFrIyCmhTQMEUJjl4qwtzPbAOVC8o0DUZroGiMmBpEUfRBZ4DvRUJC4/1GOpij1ML9XU0PJdFxIZGsOpJkkOQ0YdFh5CPodKl0WfRqQkVUhTIEf1iN4GkdJU4Rx/xsJfHkpfMv4cd+IAUJb1+YdkfSU7NXp6+/bti7qquKiEdfVq0Gl2TO2DonYzAcUTCv0slCB8FuGia/q8j7iAPl30aNIPHVKq55w+00MvjFLo05WmV8H5P9XLzydVF/H0xbGl9UGfjm226B98po2u6fO+0f3H9M7SbT1h+FoS00ybSmm+5/RZHxzbwWvVHtSvNuLRR4BKl0vPtHRhWh1SESUsNBkH0qjvNiAx4MA1JDBc4yBmTPmwJArJCFM+dA1SE5XsmFIqRTzKUrZYkMio78IUkauFoW6Mcbin1GWrOR8nqOEUEUQFmuK3ZdEw6NFg92s9j3XLp0CIsAuS8VdPkcKhCZ9/KAc81x/c3NdzFjy6KHZc0YPNh7VhDg9jYnh4co9n2dvx1nLalys7Rimx2xLGigfEJBQ0Xr149FkBVb04BQiTlPAFbTiDxRGKM1pJf5AgarPKG0sQu413N07hkCANO5m0fSebtCwziW5DqMISHTRMJCDF23inYbmsauNCHq+Vn1ta5dErzKN8psP/RiIXVpAegKJQ30Y06AQSEXdAIpdL0wbTNsLpoSIeCwRJHZYBpTusIFAIlPC0iqL5AxoCcmLPQkkLdITRCc0dSFqQD1A51g4pLOXmhZCwDMO2BpH9q6ZtDoU4oKQIy5yEynFnv+mzw+0+/q3Sf5yT4aYs89zq1alLIK7wYeQANcCpgW5AOaqIARzxcudrXrMTz+cuFAxBI1Rw06eLKz3xsnDikt+Mmr9mWBlXrbySeJAlTt8MXJImXHRNv0zx2GpWZ3r0KKqzXHlRHH26+fQf+mkbg56ADjppUuihMJl7BEhGtmnj+4Phj1lEUAzjaQcgJkzcqPPmlI/yjdJV8Trf/+hbeYyP0uMS0zSVF8SEaSELxkhR6a7IC1IVHkNMBWEkCljxYQ7YXgWKrDCHw2ohJDDKSkr5Tst3TANBp7DdgkTFKSOpxYMtV2i3hXQoJjwbBo3L4oibAajdXmSbCl01PEvi6x3PetMvwfi3cv+xHpPRk8GZvo6Oq5y5FvZlvtfqQZ5v5igfH7iRdHqrn/H24McyEb6ejCUxkCwqEATi8JDNKtWRIxI6wrLj+aOyQgIqLT/KTZ+OLYnCFGHE60PdSgzIgVmcfrbt5evjYkB97VeNyv8plx/UYoChElhYgB7KtD3PAUWRpejIVNzNAjNzyDuYRqnrMF5dIx4CkTrlAJQRps2FhZIX5lqYwfFLOygTBeSmkUhDEgNvIC7MR5ML6JhozoCpn+858G1utbH4j7BRT0Z9VlZzbTyOKJCKeCjkqYbkFBJh+DXCPVcKuXKIFURlm8WBoZSFOBCYmk6i33ioT+Kw1CegEMspcFfe+M8+rRySNum/YUwm9I7TPT04NWOBDg/nwtz16xMbEp3mPswIOuI6G7wBSlynz1pQWZEIP0smIcEEWN3QsfJDn+nj9FFSPh73wilgdE2f+eOumo4pPqWI2kI/LKu4RVXLq7H/kJopRUFhnkj4joNT9KC/BlZgAIVD1I+cwASVUBgCIsF1KEQxJLpGPKHGP5LYrAs5ikREnmJ61KF4K5cG1+REVS6HC1JauGroYYcOrLWUEp6MSF0UpoZgK5hV2dgEzeNLYbMBnRQZEUPnOwGMT6GOp57Kg/0WTCMYjnsQHpDmlJFTR5IcNt/alvV1PdF5NsKcLSpGG03L6QcjnWDpeIXqgFYb//A9wGi1+fMPDeqY7nae6uvT530KKp+JebkhHJyX6Fqz33X83tCgRr1d6gXBH+XnFtEwDmEVMBfAtbK7UvHxVTb1gGLQokbFVBZMDtUJHmT+dsPxmqSRU2nkrxkWxhfbOfEVwLov4sIaonSRr1qZy6vy8xliPbn+qPjYHxSm6mJwdB357DfaVtJ/BMLeW0/ayVQSR6TA5AB7h8kwmFeRrFBUSFYkJk7GsM+F5SuiCQmFBEriCskHYcxfEM9ozBjBS/yaKD//rBzndjD3BHswAcmqwFdhOWGugCw5owwpEt9sxMlVGWQEK4GlcAOi1XAcL6eLICfdcMFmNDnH7xdO/YTCHTkxM2B6EiSPbuXmHrZO5eJy4Iu6lfo2Gu8orFfA+PM9UMjnHpBIx9v+/Q9Wm8nMfcMTE1d7u7vP4Ec6fzy1wqOGP3xI63JHjgT2/rsy/boTbMP0pe78dVUWS5wjK0VUjIqNN3kA62ZYeIcfxofXDFNFUZBTT4W6m71mWBlXrb4yWSoEYWh0jVIUdJEmzA6o18mRDN7dCplCEkK8IiP4WRAU9OO8j5wimZB3SAhKYlJEphLkJCaSEP7PEdxsfVG5UWFxP6qPPngTlvBED6IWLN8dTPmg8ocFPPRXWBdlFWqqCEmLlhAgLRtKdLaAkpQNfRUM6DUQGOUiTimNEaT7FvRVw/F6K91XG4/mHf9KPaovvJ36jzfSS1mpc6mUdhnvhZL4a0GjZsKBKK+n0+kt0AHvztCAsIzjeeAeUKVPF1l101cBWCICxcGmcPalUeHRnyguIsJYej79fFnpKxdjrKhu+spVK69Ke+OW6SXlh7Xk/8b7D5umJKY6nUiQAEmp5ZKoD5Ay8kTFzcAsJIrL+ZREYCWAaU4ubXRNP8wfpuSuGubHMwCJhSuGPCiYJIMw5GV6xkfY0Wd+WoPiBAlEhvnzNluw3SKZYTkQHIQ5J1RQDg7Lw/QQGUIdFp4wcC9KgQ/7KkxjucEHROVmc3ZaCFfEjMxUvlPvBZ0WhT1Q1zG06hQKyGPA9qEh4bPRJuO/0p//WvoPyXpa77BPr9L1mn64QiJRT0vlP3jg1oyn0/th1dnN6VOkQyh8wVRuPpLUH9GHi+sckD4vLaj43NSHLwfv8cKjbGxdgc97JUpFpIRbpovKYHTUltkpHYkyEqNYf1gWfZU+Vn+JiMZERS4qKyTAMv1hmwoItLT/aL6OL9cn8A4mknhDkR5CUuh43ExhAXjnIQVxRQ9UwnU1JM73meHISINzlY/1Ir3jwNQBtui5IpU3K2mFZbEUEhgJiHlZhkqI8rws7hPFxBHlZ5romu1CGRSv2HyQEQiLPkwefJcSk2o0mU+F8Z46KswbKd8qvRUWiq7BsuoYlF/q+Jd839p4/KNnFHhw+Fbc819r/y3dHO7qsk9D2lLPBvEq59SLXC6CYSCq1OTk5F48g+FxLyQSvvyzhFK8taaYL1ACiYdkkSOg/HVO4irmAySLlR8+yHy5wnaWysTF7YmnRxdyecMXFDcxx3KjNCUEGUtb2r4Iixwh5qebxEG58v2Hkh0ERqlLp5kClNLkngLSyF8XExrZi089SYbFm9DRg1FCbEKyoxQE8sqFkTOgTwrDVIPCP/k8qpRcGrxMEXmxnpwjUeXbhjpgA2bBNsp0HPQWOiwNOnddw5YcNIdSFyzTlUKehEbrLDxDNn7osjCXPw5FO22qgPfKHn/pf8XxxxetvSvYlX8BxBVKCdGDmPPDhz0W+Oijjxof//jHt+Hh2oko/qKqFx4l0BJQmQIwS3RNn/fxZXqGFbq4nQzimI9tKFs+S1S1KJ9XoQkEfUQwtKg98fSzefMMwmx5F28/IqK2RLjM2b54/gX0H0v6+IiDZSVgHJogfYWNzDMUpCtsUkKg4pKIUJAsnNTlkjNWzfBCPMOhi8JAiCSqPBmyMFVQ1OdctQwLywNZ5cPCpDl80D6IhjzBASQF0sUeREpSJCyE4ceSpJXbEO2612AHepaTSRn/YrtEAD3n8xV/ntv4+S96nyGRO9gccQZmEPiBK3bRi5kPHcG+v2T32n2+53bxNY8oQyWIB0SR9OmqxMeTh5lm/8azx8srEbCQNSqTpUTX+eagwCiPqiWeQAXO/olHV2tPaYUFjWCxsQJjt7MV564K6iOB2Xj1adNGa3PqDMFl4XwSSnAQCUIibqFPlwtTwbiOkoSR+JvLx3KYv9BXaSrlLyifSegQBNMFTAWhiIeFArRZnoX+8Y2EzKhbnuNlYO9wFpZXkwoH5Kmj/6qOFTz+0n8+Y4Y/2pVIcJqY35+YJ6wjEN33ZzL9kPY3hWjx6Sv+RcByLIQAZZYQJSn2C944FRF/QkvjQ31XZDcV04GVPOGl+WdJEhVGbaNPV3d7Va7ZP83U/1ACgzTjkg4gjUFvHhGWkrPAPnnBLNeFSEKKfAbzOu9yBAUdVj6cZURpZuU3XOUILioD93x2IEnxxFGc9c6M+M93cHSNZVzHquBQDeMn4x898wQ2us7pgGvAbyU8/z5e5EupVEqtJirCgp4KHxVI7sbrQIYKHyKF3+yvIvEEX8FsQNk9qXwgBpgQwNo7p9OKrukzfdzF08+WTmYrV35YF+tU8bEpYImInGtLVH+8PkzZ8iQcVpjrawXCLOHH5uo/9JmWjbXHJMQcNhVW8bOklbsumnJw7Q+cgtVK2mJxAUNNKKncp54KHuzAwnjCE01B1UIHA1A80ik/IkdIfTj6mE8MXh2sSKZhdHUd+IcDykwFLj4eMv7Fv+il75c8/xEmeHaojD+jZ4LgbsPVVvO5iutg4oSAFCCiAqVp/jrUKRU8mzVexsube05ff3tiD0Q1wkP/ojrYgeiaftiheHsjLKL4GrudTxYvb0H9h94bpzeAwCD4cAqJf5SmlBjFH5D8ChVC1Q8KyIkrjtgbE64y4lqtINJHel5Hq4q4ZdsYzsWBWaU+rkFWtFzQbiNNnWciNbT/qD4+Hitq/FdE/3mWzmvQU+W4hZZPenQuRHRNfylcvfVjpUqz0Tj6dNE1/fm4euufTx1z5am3/hr6z6lj9A9ElneKwPJ3IYEVEpqKys0YFeUhoDBP4TV/+bjVIkfqKuu8/ixC/+tqR73111V4DYnrrb+G8a+h1tkk9dY/m7MxV7XUzwdP3ApBgCYG6Co+L6/+kcB4X0g0ERFFzwXjojBc5q8ZhqOKtWEoROmLEwSWBIHowVySyqSS5kIABEYhisRFEov8SgRWGD6K9OMgq8IwBIkTBBYXASGsxcW3pUoHgfF5iIiLPv9x+03kuLxMqaqsUj1KJL4gsFgICGEtFrJtUG6OwDhtJHHhqLOl+dBAG0AnXRAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBIGVhMD/D0fV/fpMMM+gAAAAAElFTkSuQmCC"}},noticeBar:{text:[],direction:"row",step:!1,icon:"volume",mode:"",color:"#f9ae3d",bgColor:"#fdf6ec",speed:80,fontSize:14,duration:2e3,disableTouch:!0,url:"",linkType:"navigateTo",justifyContent:"flex-start"},notify:{top:0,type:"primary",color:"#ffffff",bgColor:"",message:"",duration:3e3,fontSize:15,safeAreaInsetTop:!1},...{numberBox:{name:"",value:0,min:1,max:Number.MAX_SAFE_INTEGER,step:1,integer:!1,disabled:!1,disabledInput:!1,asyncChange:!1,inputWidth:35,showMinus:!0,showPlus:!0,decimalLength:null,longPress:!0,color:"#323233",buttonWidth:30,buttonSize:30,buttonRadius:"0px",bgColor:"#EBECEE",disabledBgColor:"#f7f8fa",inputBgColor:"#EBECEE",cursorSpacing:100,disableMinus:!1,disablePlus:!1,iconStyle:"",miniMode:!1}},numberKeyboard:{mode:"number",dotDisabled:!1,random:!1},overlay:{show:!1,zIndex:10070,duration:300,opacity:.5},parse:{copyLink:!0,errorImg:"",lazyLoad:!1,loadingImg:"",pauseVideo:!0,previewImg:!0,setTitle:!0,showImgMenu:!0},...{picker:{show:!1,popupMode:"bottom",showToolbar:!0,title:"",columns:[],loading:!1,itemHeight:44,cancelText:mS("up.common.cancel"),confirmText:mS("up.common.confirm"),cancelColor:"#909193",confirmColor:"",visibleItemCount:5,keyName:"text",valueName:"value",closeOnClickOverlay:!1,defaultIndex:[],immediateChange:!0,zIndex:10076,disabled:!1,disabledColor:"",placeholder:mS("up.common.pleaseChoose"),inputProps:{},bgColor:"",round:0,duration:300,overlayOpacity:.5,pageInline:!1}},popup:{show:!1,overlay:!0,mode:"bottom",duration:300,closeable:!1,overlayStyle:{},closeOnClickOverlay:!0,zIndex:10075,safeAreaInsetBottom:!0,safeAreaInsetTop:!1,closeIconPos:"top-right",round:"20px",zoom:!0,bgColor:"",overlayOpacity:.5,pageInline:!1,touchable:!1,minHeight:"200px",maxHeight:"600px"},radio:{name:"",shape:"",disabled:"",labelDisabled:"",activeColor:"",inactiveColor:"",iconSize:"",labelSize:"",label:"",labelColor:"",size:"",iconColor:"",placement:""},radioGroup:{value:"",disabled:!1,shape:"circle",activeColor:"#2979ff",inactiveColor:"#c8c9cc",name:"",size:18,placement:"row",label:"",labelColor:"#303133",labelSize:14,labelDisabled:!1,iconColor:"#ffffff",iconSize:12,borderBottom:!1,iconPlacement:"left",gap:"10px"},rate:{value:1,count:5,disabled:!1,size:18,inactiveColor:"#b2b2b2",activeColor:"#FA3534",gutter:4,minCount:1,allowHalf:!1,activeIcon:"star-fill",inactiveIcon:"star",touchable:!0},...{readMore:{showHeight:400,toggle:!1,closeText:mS("up.readMore.expand"),openText:mS("up.readMore.fold"),color:"#2979ff",fontSize:14,textIndent:"2em",name:""}},row:{gutter:0,justify:"start",align:"center"},rowNotice:{text:"",icon:"volume",mode:"",color:"#f9ae3d",bgColor:"#fdf6ec",fontSize:14,speed:80},scrollList:{indicatorWidth:50,indicatorBarWidth:20,indicator:!0,indicatorColor:"#f2f2f2",indicatorActiveColor:"#3c9cff",indicatorStyle:""},...{search:{shape:"round",bgColor:"#f2f2f2",placeholder:mS("up.search.placeholder"),clearabled:!0,focus:!1,showAction:!0,actionStyle:{},actionText:mS("up.common.search"),inputAlign:"left",inputStyle:{},disabled:!1,borderColor:"transparent",searchIconColor:"#909399",searchIconSize:22,color:"#606266",placeholderColor:"#909399",searchIcon:"search",iconPosition:"left",margin:"0",animation:!1,value:"",maxlength:"-1",height:32,label:null}},...{section:{title:"",subTitle:mS("up.common.more"),right:!0,fontSize:15,bold:!0,color:"#303133",subColor:"#909399",showLine:!0,lineColor:"",arrow:!0}},skeleton:{loading:!0,animate:!0,rows:0,rowsWidth:"100%",rowsHeight:18,title:!0,titleWidth:"50%",titleHeight:18,avatar:!1,avatarSize:32,avatarShape:"circle"},slider:{value:0,blockSize:18,min:0,max:100,step:1,activeColor:"#2979ff",inactiveColor:"#c0c4cc",blockColor:"#ffffff",showValue:!1,disabled:!1,blockStyle:{},useNative:!1,height:"2px",innerStyle:{}},statusBar:{bgColor:"transparent",height:0},steps:{direction:"row",current:0,activeColor:"#3c9cff",inactiveColor:"#969799",activeIcon:"",inactiveIcon:"",dot:!1},stepsItem:{title:"",desc:"",iconSize:17,error:!1},sticky:{offsetTop:0,customNavHeight:0,disabled:!1,bgColor:"transparent",zIndex:"",index:""},subsection:{list:[],current:0,activeColor:"#3c9cff",inactiveColor:"#303133",mode:"button",fontSize:12,bold:!0,bgColor:"#eeeeef",keyName:"name",activeColorKeyName:"activeColorKey",inactiveColorKeyName:"inactiveColorKey",disabled:!1},swipeAction:{autoClose:!0},swipeActionItem:{show:!1,closeOnClick:!0,name:"",disabled:!1,threshold:20,autoClose:!0,options:[],duration:300},swiper:{list:[],indicator:!1,indicatorActiveColor:"#FFFFFF",indicatorInactiveColor:"rgba(255, 255, 255, 0.35)",indicatorStyle:"",indicatorMode:"line",autoplay:!0,current:0,currentItemId:"",interval:3e3,duration:300,circular:!1,previousMargin:0,nextMargin:0,acceleration:!1,displayMultipleItems:1,easingFunction:"default",keyName:"url",imgMode:"aspectFill",height:130,bgColor:"#f3f4f6",radius:4,loading:!1,showTitle:!1},swiperIndicator:{length:0,current:0,indicatorActiveColor:"",indicatorInactiveColor:"",indicatorMode:"line"},switch:{loading:!1,disabled:!1,size:25,activeColor:"#2979ff",inactiveColor:"#ffffff",value:!1,activeValue:!0,inactiveValue:!1,asyncChange:!1,space:0},tabbar:{value:null,safeAreaInsetBottom:!0,border:!0,zIndex:1,activeColor:"#1989fa",inactiveColor:"#7d7e80",fixed:!0,placeholder:!0,borderColor:"",backgroundColor:""},tabbarItem:{name:null,icon:"",badge:null,dot:!1,text:"",badgeStyle:"top: 6px;right:2px;",mode:""},tabs:{duration:300,list:[],lineColor:"",activeStyle:{color:"#303133"},inactiveStyle:{color:"#606266"},lineWidth:20,lineHeight:3,lineBgSize:"cover",itemStyle:{height:"44px"},scrollable:!0,current:0,keyName:"name",iconStyle:{}},tag:{type:"primary",disabled:!1,size:"medium",shape:"square",text:"",bgColor:"",color:"",borderColor:"",closeColor:"#C6C7CB",name:"",plainFill:!1,plain:!1,closable:!1,show:!0,icon:"",iconColor:"",textSize:"",height:"",padding:"",borderRadius:"",autoBgColor:0},text:{type:"",show:!0,text:"",prefixIcon:"",suffixIcon:"",mode:"",href:"",format:"",call:!1,openType:"",bold:!1,block:!1,lines:"",color:"#303133",size:15,iconStyle:{fontSize:"15px"},decoration:"none",margin:0,lineHeight:"",align:"left",wordWrap:"normal",flex1:!0},textarea:{value:"",placeholder:"",placeholderClass:"textarea-placeholder",placeholderStyle:"color: #c0c4cc",height:70,confirmType:"done",disabled:!1,count:!1,focus:!1,autoHeight:!1,fixed:!1,cursorSpacing:0,cursor:"",showConfirmBar:!0,selectionStart:-1,selectionEnd:-1,adjustPosition:!0,disableDefaultPadding:!1,holdKeyboard:!1,maxlength:140,border:"surround",formatter:null},toast:{zIndex:10090,loading:!1,message:"",icon:"",type:"",loadingMode:"",show:"",overlay:!1,position:"center",params:{},duration:2e3,isTab:!1,url:"",callback:null,back:!1},...{toolbar:{show:!0,cancelText:mS("up.common.cancel"),confirmText:mS("up.common.confirm"),cancelColor:"#909193",confirmColor:"",title:""}},tooltip:{text:"",copyText:"",size:14,color:"#606266",bgColor:"transparent",direction:"top",zIndex:10071,showCopy:!0,buttons:[],overlay:!0,showToast:!0,popupBgColor:"",triggerMode:"longpress",forcePosition:{}},transition:{show:!1,mode:"fade",duration:"300",timingFunction:"ease-out"},...{upload:{accept:"image",extension:[],capture:["album","camera"],compressed:!0,camera:"back",maxDuration:60,uploadIcon:"camera-fill",uploadIconColor:"#D3D4D6",useBeforeRead:!1,previewFullImage:!0,maxCount:52,disabled:!1,imageMode:"aspectFill",name:"",sizeType:["original","compressed"],multiple:!1,deletable:!0,maxSize:Number.MAX_VALUE,fileList:[],uploadText:"",width:80,height:80,previewImage:!0,autoDelete:!1,autoUpload:!1,autoUploadApi:"",autoUploadAuthUrl:"",autoUploadDriver:"",autoUploadHeader:{},getVideoThumb:!1,customAfterAutoUpload:!1,videoPreviewObjectFit:"cover"}}};if(uni&&uni.upuiParams){console.log("setting uview-plus");let e=uni.upuiParams();e.httpIns&&e.httpIns(kx),e.options&&(AS=e.options,Jx(lx,AS.config||{}),Jx(CS,AS.props||{}),Jx(ux,AS.color||{}),Jx(cx,AS.zIndex||{}))}var AS;const TS={props:{name:{type:String,default:()=>CS.icon.name},color:{type:String,default:()=>CS.icon.color},size:{type:[String,Number],default:()=>CS.icon.size},bold:{type:Boolean,default:()=>CS.icon.bold},index:{type:[String,Number],default:()=>CS.icon.index},hoverClass:{type:String,default:()=>CS.icon.hoverClass},customPrefix:{type:String,default:()=>CS.icon.customPrefix},label:{type:[String,Number],default:()=>CS.icon.label},labelPos:{type:String,default:()=>CS.icon.labelPos},labelSize:{type:[String,Number],default:()=>CS.icon.labelSize},labelColor:{type:String,default:()=>CS.icon.labelColor},space:{type:[String,Number],default:()=>CS.icon.space},imgMode:{type:String,default:()=>CS.icon.imgMode},width:{type:[String,Number],default:()=>CS.icon.width},height:{type:[String,Number],default:()=>CS.icon.height},top:{type:[String,Number],default:()=>CS.icon.top},stop:{type:Boolean,default:()=>CS.icon.stop}}},IS={};const ES=(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=oS(t,!1),e+`&${n}`):(n=oS(t),e+n)}async route(e={},t={}){let n={};if("string"==typeof e?(n.url=this.mixinParam(e,t),n.type="navigateTo"):(n=Kx(this.config,e),n.url=this.mixinParam(e.url,e.params)),n.url!==dS())if(t.intercept&&(this.config.intercept=t.intercept),n.params=t,n=Kx(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:i,animationDuration:r}=e;"navigateTo"!=e.type&&"to"!=e.type||Ov({url:t,animationType:i,animationDuration:r}),"redirectTo"!=e.type&&"redirect"!=e.type||Nv({url:t}),"switchTab"!=e.type&&"tab"!=e.type||Rv({url:t}),"reLaunch"!=e.type&&"launch"!=e.type||Mv({url:t}),"navigateBack"!=e.type&&"back"!=e.type||Pv({delta:o})}}).route,PS={props:{customStyle:{type:[Object,String],default:()=>({})},customClass:{type:String,default:""},url:{type:String,default:""},linkType:{type:String,default:"navigateTo"}},data:()=>({}),onLoad(){this.$u.getRect=this.$uGetRect},created(){this.$u.getRect=this.$uGetRect},computed:{$u:()=>Kx(uni.$u,{props:void 0,http:void 0,mixin:void 0}),bem:()=>function(e,t,n){const o=`u-${e}--`,i={};return t&&t.map(e=>{i[o+this[e]]=!0}),n&&n.map(e=>{this[e]?i[o+e]=this[e]:delete i[o+e]}),Object.keys(i)}},methods:{openPage(e="url"){const t=this[e];t&&ES({type:this.linkType,url:t})},navTo(e="",t="navigateTo"){ES({type:this.linkType,url:e})},$uGetRect(e,t){return new Promise(n=>{Ep().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={}),this.parent=Qx.call(this,e),this.parent.children&&-1===this.parent.children.indexOf(this)&&this.parent.children.push(this),this.parent&&this.parentData&&Object.keys(this.parentData).map(e=>{this.parentData[e]=this.parent[e]})},preventEvent(e){e&&"function"==typeof e.stopPropagation&&e.stopPropagation()},noop(e){this.preventEvent(e)}},onReachBottom(){Hh("uOnReachBottom")},beforeUnmount(){if(this.parent&&Ex.array(this.parent.children)){const e=this.parent.children;e.map((t,n)=>{t===this&&e.splice(n,1)})}}};let BS={loaded:!1};const OS=BS,NS=()=>(lx.loadFontOnce&&(BS.loaded=!0),c_({global:!0,family:"uicon-iconfont",source:'url("'+lx.iconUrl+'")',success(){},fail(){}}),lx.customIcon.family&&c_({global:!0,family:lx.customIcon.family,source:'url("'+lx.customIcon.url+'")',success(){},fail(){}}),!0),MS=(e,t)=>{const n=e.__vccOpts||e;for(const[o,i]of t)n[o]=i;return n};const LS=MS({name:"u-icon",beforeCreate(){OS.loaded||NS()},data:()=>({}),emits:["click"],mixins:[IS,PS,TS],computed:{uClasses(){let e=[];return e.push(this.customPrefix+"-"+this.name),"uicon"==this.customPrefix?e.push("u-iconfont"):e.push(this.customPrefix),this.color&&lx.type.includes(this.color)&&e.push("u-icon__icon--"+this.color),e},iconStyle(){let e={};return e={fontSize:Yx(this.size),lineHeight:Yx(this.size),fontWeight:this.bold?"bold":"normal",top:Yx(this.top)},"uicon"!==this.customPrefix&&(e.fontFamily=this.customPrefix),this.color&&!lx.type.includes(this.color)&&(e.color=this.color),e},isImg(){return-1!==this.name.indexOf("/")},imgStyle(){let e={};return e.width=this.width?Yx(this.width):Yx(this.size),e.height=this.height?Yx(this.height):Yx(this.size),e},icon(){return"uicon"!==this.customPrefix?lx.customIcons[this.name]||this.name:sx["uicon-"+this.name]||this.name}},methods:{addStyle:Gx,addUnit:Yx,clickHandler(e){this.$emit("click",this.index,e),this.stop&&this.preventEvent(e)}}},[["render",function(e,t,n,o,i,r){const a=xm,s=Hg,l=Qg;return Sr(),Ir(l,{class:$e(["u-icon",["u-icon--"+e.labelPos]]),onClick:r.clickHandler},{default:bo(()=>[r.isImg?(Sr(),Ir(a,{key:0,class:"u-icon__img",src:e.name,mode:e.imgMode,style:ze([r.imgStyle,r.addStyle(e.customStyle)])},null,8,["src","mode","style"])):(Sr(),Ir(s,{key:1,class:$e(["u-icon__icon",r.uClasses]),style:ze([r.iconStyle,r.addStyle(e.customStyle)]),"hover-class":e.hoverClass},{default:bo(()=>[Dr(K(r.icon),1)]),_:1},8,["class","style","hover-class"])),""!==e.label?(Sr(),Ir(s,{key:2,class:"u-icon__label",style:ze({color:e.labelColor,fontSize:r.addUnit(e.labelSize),marginLeft:"right"==e.labelPos?r.addUnit(e.space):0,marginTop:"bottom"==e.labelPos?r.addUnit(e.space):0,marginRight:"left"==e.labelPos?r.addUnit(e.space):0,marginBottom:"top"==e.labelPos?r.addUnit(e.space):0})},{default:bo(()=>[Dr(K(e.label),1)]),_:1},8,["style"])):zr("",!0)]),_:1},8,["onClick","class"])}],["__scopeId","data-v-5c5a4f0d"]]),RS=Object.freeze(Object.defineProperty({__proto__:null,default:LS},Symbol.toStringTag,{value:"Module"}));function DS(e,t){return"string"==typeof e?t:e}const zS={props:{modelValue:{type:[String,Number],default:()=>CS.input.value},type:{type:String,default:()=>CS.input.type},fixed:{type:Boolean,default:()=>CS.input.fixed},disabled:{type:Boolean,default:()=>CS.input.disabled},disabledColor:{type:String,default:()=>CS.input.disabledColor},clearable:{type:Boolean,default:!1},onlyClearableOnFocused:{type:Boolean,default:!0},password:{type:Boolean,default:()=>CS.input.password},maxlength:{type:[String,Number],default:()=>CS.input.maxlength},placeholder:{type:String,default:()=>CS.input.placeholder},placeholderClass:{type:String,default:()=>CS.input.placeholderClass},placeholderStyle:{type:[String,Object],default:()=>CS.input.placeholderStyle},showWordLimit:{type:Boolean,default:()=>CS.input.showWordLimit},confirmType:{type:String,default:()=>CS.input.confirmType},confirmHold:{type:Boolean,default:()=>CS.input.confirmHold},holdKeyboard:{type:Boolean,default:()=>CS.input.holdKeyboard},focus:{type:Boolean,default:()=>CS.input.focus},autoBlur:{type:Boolean,default:()=>CS.input.autoBlur},disableDefaultPadding:{type:Boolean,default:()=>CS.input.disableDefaultPadding},cursor:{type:[String,Number],default:()=>CS.input.cursor},cursorSpacing:{type:[String,Number],default:()=>CS.input.cursorSpacing},selectionStart:{type:[String,Number],default:()=>CS.input.selectionStart},selectionEnd:{type:[String,Number],default:()=>CS.input.selectionEnd},adjustPosition:{type:Boolean,default:()=>CS.input.adjustPosition},inputAlign:{type:String,default:()=>CS.input.inputAlign},fontSize:{type:[String,Number],default:()=>CS.input.fontSize},color:{type:String,default:()=>CS.input.color},prefixIcon:{type:String,default:()=>CS.input.prefixIcon},prefixIconStyle:{type:[String,Object],default:()=>CS.input.prefixIconStyle},suffixIcon:{type:String,default:()=>CS.input.suffixIcon},suffixIconStyle:{type:[String,Object],default:()=>CS.input.suffixIconStyle},border:{type:String,default:()=>CS.input.border},readonly:{type:Boolean,default:()=>CS.input.readonly},shape:{type:String,default:()=>CS.input.shape},formatter:{type:[Function,null],default:()=>CS.input.formatter},ignoreCompositionEvent:{type:Boolean,default:!0},cursorColor:{type:String,default:()=>CS.input.cursorColor},passwordVisibilityToggle:{type:Boolean,default:()=>CS.input.passwordVisibilityToggle}}};let $S=null;const FS=MS({name:"u-input",mixins:[IS,PS,zS],data:()=>({clearInput:!1,innerValue:"",focused:!1,firstChange:!0,changeFromInner:!1,innerFormatter:e=>e,showPassword:!1}),created(){this.formatter&&(this.innerFormatter=this.formatter)},watch:{modelValue:{immediate:!0,handler(e,t){this.changeFromInner||this.innerValue===e||(this.innerValue=e,!1===this.firstChange&&!1===this.changeFromInner?this.valueChange(this.innerValue,!0):this.firstChange||lS(this,"change"),this.firstChange=!1),this.changeFromInner=!1}}},computed:{isPassword(){let e=!1;return e=!!this.password||"password"==this.type,this.showPassword&&(e=!1),e},isShowClear(){const{clearable:e,readonly:t,focused:n,innerValue:o,onlyClearableOnFocused:i}=this;return!(!e||t)&&(i?!!n&&""!==o:""!==o)},inputClass(){let e=[],{border:t,disabled:n,shape:o}=this;return"surround"===t&&(e=e.concat(["u-border","u-input--radius"])),e.push(`u-input--${o}`),"bottom"===t&&(e=e.concat(["u-border-bottom","u-input--no-radius"])),e.join(" ")},wrapperStyle(){const e={};return this.disabled&&(e.backgroundColor=this.disabledColor),"none"===this.border?e.padding="0":(e.paddingTop="6px",e.paddingBottom="6px",e.paddingLeft="9px",e.paddingRight="9px"),Kx(e,Gx(this.customStyle))},inputStyle(){return{color:this.color,fontSize:Yx(this.fontSize),textAlign:this.inputAlign}}},emits:["update:modelValue","focus","blur","change","confirm","clear","keyboardheightchange","nicknamereview"],methods:{setFormatter(e){this.innerFormatter=e},onInput(e){let{value:t=""}=e.detail||{};this.innerValue=t,this.$nextTick(()=>{let e=this.innerFormatter(t);this.innerValue=e,this.valueChange(e)})},onBlur(e){this.$emit("blur",e.detail.value),Fx(150).then(()=>{this.focused=!1}),lS(this,"blur")},onFocus(e){this.focused=!0,this.$emit("focus")},doFocus(){this.$refs["input-native"].focus()},doBlur(){this.$refs["input-native"].blur()},onConfirm(e){this.$emit("confirm",this.innerValue)},onkeyboardheightchange(e){this.$emit("keyboardheightchange",e)},onnicknamereview(e){this.$emit("nicknamereview",e)},valueChange(e,t=!1){this.clearInput&&(this.innerValue="",this.clearInput=!1),this.$nextTick(()=>{t&&!this.clearInput||(this.changeFromInner=!0,this.$emit("change",e),this.$emit("update:modelValue",e)),lS(this,"change")})},onClear(){this.clearInput=!0,this.innerValue="",this.$nextTick(()=>{this.valueChange(""),this.$emit("clear")})},clickHandler(){(this.disabled||this.readonly)&&Xb()}}},[["render",function(e,t,n,o,i,r){const a=DS(Ao("up-icon"),LS),s=Qg,l=jm;return Sr(),Ir(s,{class:$e(["u-input",r.inputClass]),style:ze([r.wrapperStyle])},{default:bo(()=>[Lr(s,{class:"u-input__content"},{default:bo(()=>[e.prefixIcon||e.$slots.prefix?(Sr(),Ir(s,{key:0,class:"u-input__content__prefix-icon"},{default:bo(()=>[Ti(e.$slots,"prefix",{},()=>[Lr(a,{name:e.prefixIcon,size:"18",customStyle:e.prefixIconStyle},null,8,["name","customStyle"])],!0)]),_:3})):zr("",!0),Lr(s,{class:"u-input__content__field-wrapper",onClick:r.clickHandler},{default:bo(()=>[Lr(l,{ref:"input-native",class:"u-input__content__field-wrapper__field",style:ze([r.inputStyle]),type:i.showPassword&&"password"==e.type?"text":e.type,focus:e.focus,cursor:e.cursor,value:i.innerValue,"auto-blur":e.autoBlur,disabled:e.disabled||e.readonly,maxlength:e.maxlength,placeholder:e.placeholder,"placeholder-style":e.placeholderStyle,"placeholder-class":e.placeholderClass,"confirm-type":e.confirmType,"confirm-hold":e.confirmHold,"hold-keyboard":e.holdKeyboard,"cursor-color":e.cursorColor,"cursor-spacing":e.cursorSpacing,"adjust-position":e.adjustPosition,"selection-end":e.selectionEnd,"selection-start":e.selectionStart,password:r.isPassword,ignoreCompositionEvent:e.ignoreCompositionEvent,onInput:r.onInput,onBlur:r.onBlur,onFocus:r.onFocus,onConfirm:r.onConfirm,onKeyboardheightchange:r.onkeyboardheightchange,onNicknamereview:r.onnicknamereview},null,8,["style","type","focus","cursor","value","auto-blur","disabled","maxlength","placeholder","placeholder-style","placeholder-class","confirm-type","confirm-hold","hold-keyboard","cursor-color","cursor-spacing","adjust-position","selection-end","selection-start","password","ignoreCompositionEvent","onInput","onBlur","onFocus","onConfirm","onKeyboardheightchange","onNicknamereview"])]),_:1},8,["onClick"]),r.isShowClear?(Sr(),Ir(s,{key:1,class:"u-input__content__clear",onClick:r.onClear},{default:bo(()=>[Lr(a,{name:"close",size:"11",color:"#ffffff",customStyle:"line-height: 12px"})]),_:1},8,["onClick"])):zr("",!0),("password"==e.type||e.password)&&e.passwordVisibilityToggle?(Sr(),Ir(s,{key:2,class:"u-input__content__subfix-password-shower"},{default:bo(()=>[Lr(a,{onClick:t[0]||(t[0]=e=>i.showPassword=!i.showPassword),name:i.showPassword?"eye-off":"eye-fill",size:"18"},null,8,["name"])]),_:1})):zr("",!0),e.suffixIcon||e.$slots.suffix?(Sr(),Ir(s,{key:3,class:"u-input__content__subfix-icon"},{default:bo(()=>[Ti(e.$slots,"suffix",{},()=>[Lr(a,{name:e.suffixIcon,size:"18",customStyle:e.suffixIconStyle},null,8,["name","customStyle"])],!0)]),_:3})):zr("",!0)]),_:3})]),_:3},8,["class","style"])}],["__scopeId","data-v-cff8b1b0"]]),jS=Object.freeze(Object.defineProperty({__proto__:null,default:FS},Symbol.toStringTag,{value:"Module"})),HS={props:{color:{type:String,default:()=>CS.line.color},length:{type:[String,Number],default:()=>CS.line.length},direction:{type:String,default:()=>CS.line.direction},hairline:{type:Boolean,default:()=>CS.line.hairline},margin:{type:[String,Number],default:()=>CS.line.margin},dashed:{type:Boolean,default:()=>CS.line.dashed}}};const VS=MS({name:"u-line",mixins:[IS,PS,HS],computed:{lineStyle(){const e={};return e.margin=this.margin,"row"===this.direction?(e.borderBottomWidth="1px",e.borderBottomStyle=this.dashed?"dashed":"solid",e.width=Yx(this.length),this.hairline&&(e.transform="scaleY(0.5)")):(e.borderLeftWidth="1px",e.borderLeftStyle=this.dashed?"dashed":"solid",e.height=Yx(this.length),this.hairline&&(e.transform="scaleX(0.5)")),e.borderColor=this.color,Kx(e,Gx(this.customStyle))}}},[["render",function(e,t,n,o,i,r){const a=Qg;return Sr(),Ir(a,{class:"u-line",style:ze([r.lineStyle])},null,8,["style"])}],["__scopeId","data-v-c646b6a6"]]),WS=Object.freeze(Object.defineProperty({__proto__:null,default:VS},Symbol.toStringTag,{value:"Module"})),US={props:{show:{type:Boolean,default:()=>CS.loadingIcon.show},color:{type:String,default:()=>CS.loadingIcon.color},textColor:{type:String,default:()=>CS.loadingIcon.textColor},vertical:{type:Boolean,default:()=>CS.loadingIcon.vertical},mode:{type:String,default:()=>CS.loadingIcon.mode},size:{type:[String,Number],default:()=>CS.loadingIcon.size},textSize:{type:[String,Number],default:()=>CS.loadingIcon.textSize},text:{type:[String,Number],default:()=>CS.loadingIcon.text},timingFunction:{type:String,default:()=>CS.loadingIcon.timingFunction},duration:{type:[String,Number],default:()=>CS.loadingIcon.duration},inactiveColor:{type:String,default:()=>CS.loadingIcon.inactiveColor}}};function qS(e="rgb(0, 0, 0)",t="rgb(255, 255, 255)",n=10){const o=QS(e,!1),i=o[0],r=o[1],a=o[2],s=QS(t,!1),l=(s[0]-i)/n,c=(s[1]-r)/n,u=(s[2]-a)/n,d=[];for(let h=0;hNumber(e))}return e}function GS(e){const t=e;if(/^(rgb|RGB)/.test(t)){const e=t.replace(/(?:\(|\)|rgb|RGB)*/g,"").split(",");let n="#";for(let t=0;t({array12:Array.from({length:12}),aniAngel:360,webviewHide:!1,loading:!1}),computed:{otherBorderColor(){const e=qS(this.color,"#ffffff",100)[80];return"circle"===this.mode?this.inactiveColor?this.inactiveColor:e:"transparent"}},watch:{show(e){}},mounted(){this.init()},methods:{addUnit:Yx,addStyle:Gx,init(){setTimeout(()=>{},20)},addEventListenerToWebview(){const e=Cy(),t=e[e.length-1].$getAppWebview();t.addEventListener("hide",()=>{this.webviewHide=!0}),t.addEventListener("show",()=>{this.webviewHide=!1})}}},[["render",function(e,t,n,o,i,r){const a=Qg,s=Hg;return e.show?(Sr(),Ir(a,{key:0,class:$e(["u-loading-icon",[e.vertical&&"u-loading-icon--vertical"]]),style:ze([r.addStyle(e.customStyle)])},{default:bo(()=>[i.webviewHide?zr("",!0):(Sr(),Ir(a,{key:0,class:$e(["u-loading-icon__spinner",[`u-loading-icon__spinner--${e.mode}`]]),ref:"ani",style:ze({color:e.color,width:r.addUnit(e.size),height:r.addUnit(e.size),borderTopColor:e.color,borderBottomColor:r.otherBorderColor,borderLeftColor:r.otherBorderColor,borderRightColor:r.otherBorderColor,"animation-duration":`${e.duration}ms`,"animation-timing-function":"semicircle"===e.mode||"circle"===e.mode?e.timingFunction:""})},{default:bo(()=>["spinner"===e.mode?(Sr(!0),Tr(yr,{key:0},Ai(i.array12,(e,t)=>(Sr(),Ir(a,{key:t,class:"u-loading-icon__dot"}))),128)):zr("",!0)]),_:1},8,["class","style"])),e.text?(Sr(),Ir(s,{key:1,class:"u-loading-icon__text",style:ze({fontSize:r.addUnit(e.textSize),color:e.textColor})},{default:bo(()=>[Dr(K(e.text),1)]),_:1},8,["style"])):zr("",!0)]),_:1},8,["style","class"])):zr("",!0)}],["__scopeId","data-v-07774087"]]),KS=Object.freeze(Object.defineProperty({__proto__:null,default:XS},Symbol.toStringTag,{value:"Module"}));const JS=MS({name:"u-gap",mixins:[IS,PS,{props:{bgColor:{type:String,default:()=>CS.gap.bgColor},height:{type:[String,Number],default:()=>CS.gap.height},marginTop:{type:[String,Number],default:()=>CS.gap.marginTop},marginBottom:{type:[String,Number],default:()=>CS.gap.marginBottom}}}],computed:{gapStyle(){return Kx({backgroundColor:this.bgColor,height:Yx(this.height),marginTop:Yx(this.marginTop),marginBottom:Yx(this.marginBottom)},Gx(this.customStyle))}}},[["render",function(e,t,n,o,i,r){const a=Qg;return Sr(),Ir(a,{class:"u-gap",style:ze([r.gapStyle])},null,8,["style"])}]]),ZS=Object.freeze(Object.defineProperty({__proto__:null,default:JS},Symbol.toStringTag,{value:"Module"})),ek={props:{show:{type:Boolean,default:()=>CS.transition.show},mode:{type:String,default:()=>CS.transition.mode},duration:{type:[String,Number],default:()=>CS.transition.duration},timingFunction:{type:String,default:()=>CS.transition.timingFunction}}},tk=e=>({enter:`u-${e}-enter u-${e}-enter-active`,"enter-to":`u-${e}-enter-to u-${e}-enter-active`,leave:`u-${e}-leave u-${e}-leave-active`,"leave-to":`u-${e}-leave-to u-${e}-leave-active`}),nk={methods:{clickHandler(){this.$emit("click")},async vueEnter(){const e=tk(this.mode);this.status="enter",this.$emit("beforeEnter"),this.inited=!0,this.display=!0,this.classes=e.enter,await no(),await Fx(20),this.$emit("enter"),this.transitionEnded=!1,this.$emit("afterEnter"),this.classes=e["enter-to"]},async vueLeave(){if(!this.display)return;const e=tk(this.mode);this.status="leave",this.$emit("beforeLeave"),this.classes=e.leave,await no(),this.transitionEnded=!1,this.$emit("leave"),setTimeout(this.onTransitionEnd,this.duration),this.classes=e["leave-to"]},onTransitionEnd(){this.transitionEnded||(this.transitionEnded=!0,this.$emit("leave"===this.status?"afterLeave":"afterEnter"),!this.show&&this.display&&(this.display=!1,this.inited=!1))}}};const ok=MS({name:"u-transition",data:()=>({inited:!1,viewStyle:{},status:"",transitionEnded:!1,display:!1,classes:""}),emits:["click","beforeEnter","enter","afterEnter","beforeLeave","leave","afterLeave"],computed:{mergeStyle(){const{viewStyle:e,customStyle:t}=this;return{transitionDuration:`${this.duration}ms`,transitionTimingFunction:this.timingFunction,...Gx(t),...e}}},mixins:[IS,PS,nk,ek],watch:{show:{handler(e){e?this.vueEnter():this.vueLeave()},immediate:!0}}},[["render",function(e,t,n,o,i,r){const a=Qg;return i.inited?(Sr(),Ir(a,{key:0,class:$e(["u-transition",i.classes]),ref:"u-transition",onClick:e.clickHandler,style:ze([r.mergeStyle]),onTouchmove:e.noop},{default:bo(()=>[Ti(e.$slots,"default",{},void 0,!0)]),_:3},8,["onClick","class","style","onTouchmove"])):zr("",!0)}],["__scopeId","data-v-66823e3c"]]),ik=Object.freeze(Object.defineProperty({__proto__:null,default:ok},Symbol.toStringTag,{value:"Module"})),rk={props:{show:{type:Boolean,default:()=>CS.overlay.show},zIndex:{type:[String,Number],default:()=>CS.overlay.zIndex},duration:{type:[String,Number],default:()=>CS.overlay.duration},opacity:{type:[String,Number],default:()=>CS.overlay.opacity}}};const ak=MS({name:"u-overlay",mixins:[IS,PS,rk],computed:{overlayStyle(){return Kx({position:"fixed",top:0,left:0,right:0,zIndex:this.zIndex,bottom:0,"background-color":`rgba(0, 0, 0, ${this.opacity})`},Gx(this.customStyle))}},emits:["click"],methods:{clickHandler(){this.$emit("click")}}},[["render",function(e,t,n,o,i,r){const a=DS(Ao("u-transition"),ok);return Sr(),Ir(a,{show:e.show,"custom-class":"u-overlay",duration:e.duration,"custom-style":r.overlayStyle,onClick:r.clickHandler,onTouchmove:vs(e.noop,["stop","prevent"])},{default:bo(()=>[Ti(e.$slots,"default",{},void 0,!0)]),_:3},8,["show","duration","custom-style","onClick","onTouchmove"])}],["__scopeId","data-v-2db51279"]]),sk=Object.freeze(Object.defineProperty({__proto__:null,default:ak},Symbol.toStringTag,{value:"Module"}));const lk=MS({name:"u-status-bar",mixins:[IS,PS,{props:{bgColor:{type:String,default:()=>CS.statusBar.bgColor},height:{type:Number,default:()=>CS.statusBar.height}}}],data:()=>({isH5:!1}),created(){this.isH5=!0},emits:["update:height"],computed:{style(){const e={};let t=Vx().statusBarHeight;return this.$emit("update:height",t),0==t?this.isH5=!0:e.height=Yx(t,"px"),e.backgroundColor=this.bgColor,Kx(e,Gx(this.customStyle))}}},[["render",function(e,t,n,o,i,r){const a=Qg;return Sr(),Ir(a,{style:ze([r.style]),class:$e(["u-status-bar",[i.isH5&&"u-safe-area-inset-top"]])},{default:bo(()=>[Ti(e.$slots,"default",{},void 0,!0)]),_:3},8,["style","class"])}],["__scopeId","data-v-68d19daa"]]),ck=Object.freeze(Object.defineProperty({__proto__:null,default:lk},Symbol.toStringTag,{value:"Module"}));const uk=MS({name:"u-safe-bottom",mixins:[IS,PS,{props:{}}],data:()=>({safeAreaBottomHeight:0,isNvue:!1}),computed:{style(){return Kx({},Gx(this.customStyle))}},mounted(){}},[["render",function(e,t,n,o,i,r){const a=Qg;return Sr(),Ir(a,{class:$e(["u-safe-bottom",[!i.isNvue&&"u-safe-area-inset-bottom"]]),style:ze([r.style])},null,8,["style","class"])}],["__scopeId","data-v-d5896704"]]),dk=Object.freeze(Object.defineProperty({__proto__:null,default:uk},Symbol.toStringTag,{value:"Module"})),hk={props:{show:{type:Boolean,default:()=>CS.popup.show},overlay:{type:Boolean,default:()=>CS.popup.overlay},mode:{type:String,default:()=>CS.popup.mode},duration:{type:[String,Number],default:()=>CS.popup.duration},closeable:{type:Boolean,default:()=>CS.popup.closeable},overlayStyle:{type:[Object,String],default:()=>CS.popup.overlayStyle},closeOnClickOverlay:{type:Boolean,default:()=>CS.popup.closeOnClickOverlay},zIndex:{type:[String,Number],default:()=>CS.popup.zIndex},safeAreaInsetBottom:{type:Boolean,default:()=>CS.popup.safeAreaInsetBottom},safeAreaInsetTop:{type:Boolean,default:()=>CS.popup.safeAreaInsetTop},closeIconPos:{type:String,default:()=>CS.popup.closeIconPos},round:{type:[Boolean,String,Number],default:()=>CS.popup.round},zoom:{type:Boolean,default:()=>CS.popup.zoom},bgColor:{type:String,default:()=>CS.popup.bgColor},overlayOpacity:{type:[Number,String],default:()=>CS.popup.overlayOpacity},pageInline:{type:Boolean,default:()=>CS.popup.pageInline},touchable:{type:Boolean,default:()=>CS.popup.touchable},minHeight:{type:[String],default:()=>CS.popup.minHeight},maxHeight:{type:[String],default:()=>CS.popup.maxHeight}}};const pk=MS({name:"u-popup",mixins:[IS,PS,hk],data(){return{overlayDuration:this.duration+50,touchStartY:0,touchStartHeight:0,isTouching:!1,currentHeight:"auto"}},watch:{show(e,t){}},computed:{transitionStyle(){const e={display:"flex"};return this.pageInline||(e.zIndex=this.zIndex,e.position="fixed"),e[this.mode]=0,"left"===this.mode||"right"===this.mode?Kx(e,{bottom:0,top:0}):"top"===this.mode||"bottom"===this.mode?Kx(e,{left:0,right:0}):"center"===this.mode?Kx(e,{alignItems:"center","justify-content":"center",top:0,left:0,right:0,bottom:0}):void 0},contentStyleWrap(){const e={};return"bottom"===this.mode&&this.touchable&&("auto"!==this.currentHeight&&(e.height=this.currentHeight),this.maxHeight&&(e.maxHeight=Yx(this.maxHeight)),this.minHeight&&(e.minHeight=Yx(this.minHeight))),e},contentStyle(){const e={};if(Vx(),"center"!==this.mode&&(e.flex=1),this.bgColor&&(e.backgroundColor=this.bgColor),this.round){const t=Yx(this.round);"top"===this.mode?(e.borderBottomLeftRadius=t,e.borderBottomRightRadius=t):"bottom"===this.mode?(e.borderTopLeftRadius=t,e.borderTopRightRadius=t):"center"===this.mode&&(e.borderRadius=t)}return Kx(e,Gx(this.customStyle))},position(){return"center"===this.mode?this.zoom?"fade-zoom":"fade":"left"===this.mode?"slide-left":"right"===this.mode?"slide-right":"bottom"===this.mode?"slide-up":"top"===this.mode?"slide-down":void 0}},emits:["open","close","click","update:show"],methods:{overlayClick(){this.closeOnClickOverlay&&(this.$emit("update:show",!1),this.$emit("close"))},open(e){this.$emit("update:show",!0)},close(e){this.$emit("update:show",!1),this.$emit("close")},afterEnter(){this.$emit("open")},clickHandler(){"center"===this.mode&&this.overlayClick(),this.$emit("click")},onTouchStart(e){this.touchable&&"bottom"===this.mode&&(this.isTouching=!0,this.touchStartY=e.touches[0].clientY,this.touchStartHeight=this.$el.querySelector(".u-popup__content—transition").offsetHeight)},onTouchMove(e){if(!this.isTouching||!this.touchable||"bottom"!==this.mode)return;const t=e.touches[0].clientY-this.touchStartY;if(0!==t){const e=this.touchStartHeight-t,n=parseFloat(Yx(this.minHeight))||200,o=this.maxHeight?this.maxHeight.toString().includes("%")?Vx().windowHeight*(parseFloat(this.maxHeight)/100):parseFloat(Yx(this.maxHeight)):.8*Vx().windowHeight;e>=n&&e<=o&&(this.currentHeight=e+"px")}e.preventDefault()},onTouchEnd(e){if(!this.isTouching||!this.touchable||"bottom"!==this.mode)return;this.isTouching=!1;const t=e.changedTouches[0].clientY-this.touchStartY,n=Math.abs(t)/(e.timeStamp-e.changedTouches[0].timestamp);(t>100||t>30&&n>.5)&&this.close()}}},[["render",function(e,t,n,o,i,r){const a=Qg,s=DS(Ao("u-overlay"),ak),l=DS(Ao("u-status-bar"),lk),c=DS(Ao("up-icon"),LS),u=DS(Ao("u-safe-bottom"),uk),d=DS(Ao("u-transition"),ok);return Sr(),Ir(a,{class:$e(["u-popup",[e.customClass]]),style:ze({width:0==e.show?"0px":"",height:0==e.show?"0px":""})},{default:bo(()=>[Lr(a,{class:"u-popup__trigger"},{default:bo(()=>[Ti(e.$slots,"trigger",{},void 0,!0),Lr(a,{onClick:r.open,class:"u-popup__trigger__cover"},null,8,["onClick"])]),_:3}),e.overlay?(Sr(),Ir(s,{key:0,show:e.show&&0==e.pageInline,onClick:r.overlayClick,zIndex:e.zIndex,duration:i.overlayDuration,customStyle:e.overlayStyle,opacity:e.overlayOpacity},null,8,["show","onClick","zIndex","duration","customStyle","opacity"])):zr("",!0),Lr(d,{class:"u-popup__content—transition",style:ze(r.contentStyleWrap),show:!!e.pageInline||e.show,customStyle:r.transitionStyle,mode:e.pageInline?"none":r.position,duration:e.duration,onAfterEnter:r.afterEnter,onClick:r.clickHandler},{default:bo(()=>[Lr(a,{class:"u-popup__content",style:ze([r.contentStyle]),onClick:vs(e.noop,["stop"]),onTouchmove:vs(e.noop,["stop","prevent"])},{default:bo(()=>[e.safeAreaInsetTop?(Sr(),Ir(l,{key:0})):zr("",!0),e.touchable&&"bottom"===e.mode?(Sr(),Ir(a,{key:1,class:"u-popup__content__touch-area",onTouchstart:r.onTouchStart,onTouchmove:r.onTouchMove,onTouchend:r.onTouchEnd,onTouchcancel:r.onTouchEnd},{default:bo(()=>[Lr(a,{class:"u-popup__content__indicator"})]),_:1},8,["onTouchstart","onTouchmove","onTouchend","onTouchcancel"])):zr("",!0),Ti(e.$slots,"default",{},void 0,!0),e.closeable?(Sr(),Ir(a,{key:2,onClick:vs(r.close,["stop"]),class:$e(["u-popup__content__close",["u-popup__content__close--"+e.closeIconPos]]),"hover-class":"u-popup__content__close--hover","hover-stay-time":"150"},{default:bo(()=>[Lr(c,{name:"close",color:"#909399",size:"18",bold:""})]),_:1},8,["onClick","class"])):zr("",!0),e.safeAreaInsetBottom?(Sr(),Ir(u,{key:3})):zr("",!0)]),_:3},8,["style","onClick","onTouchmove"]),Ti(e.$slots,"bottom",{},void 0,!0)]),_:3},8,["style","show","customStyle","mode","duration","onAfterEnter","onClick"])]),_:3},8,["class","style"])}],["__scopeId","data-v-8b827339"]]),fk=Object.freeze(Object.defineProperty({__proto__:null,default:pk},Symbol.toStringTag,{value:"Module"})),mk={props:{lang:String,sessionFrom:String,sendMessageTitle:String,sendMessagePath:String,sendMessageImg:String,showMessageCard:Boolean,appParameter:String,formType:String,openType:String}},gk={props:{show:{type:Boolean,default:()=>CS.actionSheet.show},title:{type:String,default:()=>CS.actionSheet.title},description:{type:String,default:()=>CS.actionSheet.description},actions:{type:Array,default:()=>CS.actionSheet.actions},cancelText:{type:String,default:()=>CS.actionSheet.cancelText},closeOnClickAction:{type:Boolean,default:()=>CS.actionSheet.closeOnClickAction},safeAreaInsetBottom:{type:Boolean,default:()=>CS.actionSheet.safeAreaInsetBottom},openType:{type:String,default:()=>CS.actionSheet.openType},closeOnClickOverlay:{type:Boolean,default:()=>CS.actionSheet.closeOnClickOverlay},round:{type:[Boolean,String,Number],default:()=>CS.actionSheet.round},wrapMaxHeight:{type:[String],default:()=>CS.actionSheet.wrapMaxHeight}}};const yk=MS({name:"u-action-sheet",mixins:[{props:{openType:String},methods:{onGetUserInfo(e){this.$emit("getuserinfo",e.detail)},onContact(e){this.$emit("contact",e.detail)},onGetPhoneNumber(e){this.$emit("getphonenumber",e.detail)},onError(e){this.$emit("error",e.detail)},onLaunchApp(e){this.$emit("launchapp",e.detail)},onOpenSetting(e){this.$emit("opensetting",e.detail)}}},mk,PS,gk],data:()=>({}),computed:{itemStyle(){return e=>{let t={};return this.actions[e].color&&(t.color=this.actions[e].color),this.actions[e].fontSize&&(t.fontSize=Yx(this.actions[e].fontSize)),this.actions[e].disabled&&(t.color="#c0c4cc"),t}}},emits:["close","select","update:show"],methods:{closeHandler(){this.closeOnClickOverlay&&(this.$emit("update:show",!1),this.$emit("close"))},cancel(){this.$emit("update:show",!1),this.$emit("close")},selectHandler(e){const t=this.actions[e];!t||t.disabled||t.loading||(this.$emit("select",t),this.closeOnClickAction&&(this.$emit("update:show",!1),this.$emit("close")))},getItemHoverStyle(e){return 0!==e||!this.round||this.title||this.description?{}:{borderTopLeftRadius:`${this.round}px`,borderTopRightRadius:`${this.round}px`}}}},[["render",function(e,t,n,o,i,r){const a=Hg,s=DS(Ao("up-icon"),LS),l=Qg,c=DS(Ao("u-line"),VS),u=DS(Ao("u-loading-icon"),XS),d=Og,h=DS(Ao("u-gap"),JS),p=DS(Ao("u-popup"),pk);return Sr(),Ir(p,{show:e.show,mode:"bottom",onClose:r.closeHandler,safeAreaInsetBottom:e.safeAreaInsetBottom,round:e.round},{default:bo(()=>[Lr(l,{class:"u-action-sheet"},{default:bo(()=>[e.title?(Sr(),Ir(l,{key:0,class:"u-action-sheet__header"},{default:bo(()=>[Lr(a,{class:"u-action-sheet__header__title u-line-1"},{default:bo(()=>[Dr(K(e.title),1)]),_:1}),Lr(l,{class:"u-action-sheet__header__icon-wrap",onClick:vs(r.cancel,["stop"])},{default:bo(()=>[Lr(s,{name:"close",size:"17",color:"#c8c9cc",bold:""})]),_:1},8,["onClick"])]),_:1})):zr("",!0),e.description?(Sr(),Ir(a,{key:1,class:"u-action-sheet__description",style:ze([{marginTop:`${e.title&&e.description?0:"18px"}`}])},{default:bo(()=>[Dr(K(e.description),1)]),_:1},8,["style"])):zr("",!0),Ti(e.$slots,"default",{},()=>[e.description?(Sr(),Ir(c,{key:0})):zr("",!0),Lr(d,{"scroll-y":"",class:"u-action-sheet__item-wrap",style:ze({maxHeight:e.wrapMaxHeight})},{default:bo(()=>[(Sr(!0),Tr(yr,null,Ai(e.actions,(t,n)=>(Sr(),Ir(l,{key:n},{default:bo(()=>[Lr(l,{class:"u-action-sheet__item-wrap__item",onClick:vs(e=>r.selectHandler(n),["stop"]),"hover-class":t.disabled||t.loading?"":"u-action-sheet--hover","hover-stay-time":150,style:ze(r.getItemHoverStyle(n))},{default:bo(()=>[t.loading?(Sr(),Ir(u,{key:1,"custom-class":"van-action-sheet__loading",size:"18",mode:"circle"})):(Sr(),Tr(yr,{key:0},[Lr(a,{class:"u-action-sheet__item-wrap__item__name",style:ze([r.itemStyle(n)])},{default:bo(()=>[Dr(K(t.name),1)]),_:2},1032,["style"]),t.subname?(Sr(),Ir(a,{key:0,class:"u-action-sheet__item-wrap__item__subname"},{default:bo(()=>[Dr(K(t.subname),1)]),_:2},1024)):zr("",!0)],64))]),_:2},1032,["onClick","hover-class","style"]),n!==e.actions.length-1?(Sr(),Ir(c,{key:0})):zr("",!0)]),_:2},1024))),128))]),_:1},8,["style"])],!0),e.cancelText?(Sr(),Ir(h,{key:2,bgColor:"#eaeaec",height:"6"})):zr("",!0),e.cancelText?(Sr(),Ir(l,{key:3,class:"u-action-sheet__item-wrap__item u-action-sheet__cancel","hover-class":"u-action-sheet--hover",onClick:r.cancel},{default:bo(()=>[Lr(a,{onTouchmove:t[0]||(t[0]=vs(()=>{},["stop","prevent"])),"hover-stay-time":150,class:"u-action-sheet__cancel-text"},{default:bo(()=>[Dr(K(e.cancelText),1)]),_:1})]),_:1},8,["onClick"])):zr("",!0)]),_:3})]),_:3},8,["show","onClose","safeAreaInsetBottom","round"])}],["__scopeId","data-v-69273a66"]]),bk=Object.freeze(Object.defineProperty({__proto__:null,default:yk},Symbol.toStringTag,{value:"Module"}));const vk=MS({props:{modelValue:{type:[String,Number],default:""},title:{type:String,default:""},description:{type:String,default:""},options:{type:Array,default:()=>[]},valueKey:{type:String,default:"value"},labelKey:{type:String,default:"name"}},data:()=>({show:!1,current:""}),created(){this.modelValue&&this.options.forEach(e=>{e[this.valueKey]==this.modelValue&&(this.current=e[this.labelKey])})},emits:["update:modelValue"],watch:{modelValue(){this.options.forEach(e=>{e[this.valueKey]==this.modelValue&&(this.current=e[this.labelKey])})}},methods:{hideKeyboard(){Xb()},select(e){this.$emit("update:modelValue",e[this.valueKey]),this.current=e[this.labelKey]}}},[["render",function(e,t,n,o,i,r){const a=DS(Ao("up-input"),FS),s=Qg,l=DS(Ao("up-action-sheet"),yk);return Sr(),Ir(s,{class:"u-action-sheet-data"},{default:bo(()=>[Lr(s,{class:"u-action-sheet-data__trigger"},{default:bo(()=>[Ti(e.$slots,"trigger",{},void 0,!0),e.$slots.trigger?zr("",!0):(Sr(),Ir(a,{key:0,modelValue:i.current,disabled:"",disabledColor:"#ffffff",placeholder:n.title,border:"none"},null,8,["modelValue","placeholder"])),Lr(s,{onClick:t[0]||(t[0]=e=>i.show=!0),class:"u-action-sheet-data__trigger__cover"})]),_:3}),Lr(l,{show:i.show,actions:n.options,title:n.title,safeAreaInsetBottom:"",description:n.description,onClose:t[1]||(t[1]=e=>i.show=!1),onSelect:r.select},null,8,["show","actions","title","description","onSelect"])]),_:3})}],["__scopeId","data-v-d87a5680"]]),_k=Object.freeze(Object.defineProperty({__proto__:null,default:vk},Symbol.toStringTag,{value:"Module"})),wk={props:{show:{type:Boolean,default:()=>CS.modal.show},title:{type:[String],default:()=>CS.modal.title},content:{type:String,default:()=>CS.modal.content},confirmText:{type:String,default:()=>CS.modal.confirmText},cancelText:{type:String,default:()=>CS.modal.cancelText},showConfirmButton:{type:Boolean,default:()=>CS.modal.showConfirmButton},showCancelButton:{type:Boolean,default:()=>CS.modal.showCancelButton},confirmColor:{type:String,default:()=>CS.modal.confirmColor},cancelColor:{type:String,default:()=>CS.modal.cancelColor},buttonReverse:{type:Boolean,default:()=>CS.modal.buttonReverse},zoom:{type:Boolean,default:()=>CS.modal.zoom},asyncClose:{type:Boolean,default:()=>CS.modal.asyncClose},closeOnClickOverlay:{type:Boolean,default:()=>CS.modal.closeOnClickOverlay},negativeTop:{type:[String,Number],default:()=>CS.modal.negativeTop},width:{type:[String,Number],default:()=>CS.modal.width},confirmButtonShape:{type:String,default:()=>CS.modal.confirmButtonShape},duration:{type:[Number],default:CS.modal.duration},contentTextAlign:{type:String,default:()=>CS.modal.contentTextAlign},asyncCloseTip:{type:String,default:()=>CS.modal.asyncCloseTip},asyncCancelClose:{type:Boolean,default:()=>CS.modal.asyncCancelClose},contentStyle:{type:Object,default:()=>CS.modal.contentStyle}}};const xk=MS({name:"u-modal",mixins:[IS,PS,wk],data:()=>({loading:!1}),watch:{show(e){e&&this.loading&&(this.loading=!1)}},emits:["confirm","cancel","close","update:show","cancelOnAsync"],computed:{contentStyleCpu(){let e=this.contentStyle;return e.paddingTop=(this.title?12:25)+"px",e}},methods:{addUnit:Yx,confirmHandler(){this.asyncClose?this.loading=!0:this.$emit("update:show",!1),this.$emit("confirm")},cancelHandler(){this.asyncClose&&this.loading?(this.asyncCloseTip&&i_({title:this.asyncCloseTip,icon:"none"}),this.$emit("cancelOnAsync")):this.asyncCancelClose||this.$emit("update:show",!1),this.$emit("cancel")},clickHandler(){this.closeOnClickOverlay&&(this.$emit("update:show",!1),this.$emit("close"))}}},[["render",function(e,t,n,o,i,r){const a=Qg,s=Hg,l=DS(Ao("u-line"),VS),c=DS(Ao("u-loading-icon"),XS),u=DS(Ao("u-popup"),pk);return Sr(),Ir(u,{mode:"center",zoom:e.zoom,show:e.show,class:$e([e.customClass]),customStyle:{borderRadius:"6px",overflow:"hidden",marginTop:`-${r.addUnit(e.negativeTop)}`},closeOnClickOverlay:e.closeOnClickOverlay,safeAreaInsetBottom:!1,duration:e.duration,onClick:r.clickHandler},{bottom:bo(()=>[Ti(e.$slots,"popupBottom",{},void 0,!0)]),default:bo(()=>[Lr(a,{class:"u-modal",style:ze({width:r.addUnit(e.width)})},{default:bo(()=>[e.title?(Sr(),Ir(a,{key:0,class:"u-modal__title"},{default:bo(()=>[Dr(K(e.title),1)]),_:1})):zr("",!0),Lr(a,{class:"u-modal__content",style:ze(r.contentStyleCpu)},{default:bo(()=>[Ti(e.$slots,"default",{},()=>[Lr(s,{class:"u-modal__content__text",style:ze({textAlign:e.contentTextAlign})},{default:bo(()=>[Dr(K(e.content),1)]),_:1},8,["style"])],!0)]),_:3},8,["style"]),e.$slots.confirmButton?(Sr(),Ir(a,{key:1,class:"u-modal__button-group--confirm-button"},{default:bo(()=>[Ti(e.$slots,"confirmButton",{},void 0,!0)]),_:3})):(Sr(),Tr(yr,{key:2},[Lr(l),Lr(a,{class:"u-modal__button-group",style:ze({flexDirection:e.buttonReverse?"row-reverse":"row"})},{default:bo(()=>[e.showCancelButton?(Sr(),Ir(a,{key:0,class:$e(["u-modal__button-group__wrapper u-modal__button-group__wrapper--cancel",[e.showCancelButton&&!e.showConfirmButton&&"u-modal__button-group__wrapper--only-cancel"]]),"hover-stay-time":150,"hover-class":"u-modal__button-group__wrapper--hover",onClick:r.cancelHandler},{default:bo(()=>[Lr(s,{class:"u-modal__button-group__wrapper__text",style:ze({color:e.cancelColor})},{default:bo(()=>[Dr(K(e.cancelText),1)]),_:1},8,["style"])]),_:1},8,["class","onClick"])):zr("",!0),e.showConfirmButton&&e.showCancelButton?(Sr(),Ir(l,{key:1,direction:"column"})):zr("",!0),e.showConfirmButton?(Sr(),Ir(a,{key:2,class:$e(["u-modal__button-group__wrapper u-modal__button-group__wrapper--confirm",[!e.showCancelButton&&e.showConfirmButton&&"u-modal__button-group__wrapper--only-confirm"]]),"hover-stay-time":150,"hover-class":"u-modal__button-group__wrapper--hover",onClick:r.confirmHandler},{default:bo(()=>[i.loading?(Sr(),Ir(c,{key:0})):(Sr(),Ir(s,{key:1,class:"u-modal__button-group__wrapper__text",style:ze({color:e.confirmColor})},{default:bo(()=>[Dr(K(e.confirmText),1)]),_:1},8,["style"]))]),_:1},8,["class","onClick"])):zr("",!0)]),_:1},8,["style"])],64))]),_:3},8,["style"])]),_:3},8,["zoom","show","class","customStyle","closeOnClickOverlay","duration","onClick"])}],["__scopeId","data-v-44f289cf"]]),Sk=Object.freeze(Object.defineProperty({__proto__:null,default:xk},Symbol.toStringTag,{value:"Module"}));const kk=MS({name:"up-agreement",props:{urlProtocol:{type:String,default:"/pages/user_agreement/agreement/info?title=用户协议"},urlPrivacy:{type:String,default:"/pages/user_agreement/agreement/info?title=隐私政策"}},emits:["confirm"],data:()=>({show:!1}),methods:{close(){window.opener=null,window.close()},confirm(){this.show=!1,this.$emit("confirm",1)},showModal(){this.show=!0},urlClick(e){Ov({url:this[e]})}}},[["render",function(e,t,n,o,i,r){const a=Hg,s=Qg,l=DS(Ao("up-modal"),xk);return Sr(),Ir(s,{class:"up-agreement"},{default:bo(()=>[Lr(l,{show:i.show,"onUpdate:show":t[2]||(t[2]=e=>i.show=e),showCancelButton:"",onConfirm:r.confirm,onCancel:r.close,confirmText:"阅读并同意"},{default:bo(()=>[Lr(s,{class:"agreement-content"},{default:bo(()=>[Ti(e.$slots,"default",{},()=>[Dr(" 我们非常重视您的个人信息和隐私保护。为了更好地保障您的个人权益,在您使用我们的产品前, 请务必审慎阅读《"),Lr(a,{class:"agreement-url",onClick:t[0]||(t[0]=e=>r.urlClick("urlProtocol"))},{default:bo(()=>[Dr("用户协议")]),_:1}),Dr("》 和《"),Lr(a,{class:"agreement-url",onClick:t[1]||(t[1]=e=>r.urlClick("urlPrivacy"))},{default:bo(()=>[Dr("隐私政策")]),_:1}),Dr("》内的所有条款, 尤其是:1.我们对您的个人信息的收集/保存/使用/对外提供/保护等规则条款,以及您的用户权利等条款;2. 约定我们的限制责任、免责 条款;3.其他以颜色或加粗进行标识的重要条款。如您对以上协议有任何疑问,请先不要同意,您点击“同意并继续”的行为即表示您已阅读 完毕并同意以上协议的全部内容。 ")],!0)]),_:3})]),_:3},8,["show","onConfirm","onCancel"])]),_:3})}],["__scopeId","data-v-6acbdfda"]]),Ck=Object.freeze(Object.defineProperty({__proto__:null,default:kk},Symbol.toStringTag,{value:"Module"})),Ak={props:{color:{type:String,default:()=>CS.link.color},fontSize:{type:[String,Number],default:()=>CS.link.fontSize},underLine:{type:Boolean,default:()=>CS.link.underLine},href:{type:String,default:()=>CS.link.href},mpTips:{type:String,default:()=>CS.link.mpTips},lineColor:{type:String,default:()=>CS.link.lineColor},text:{type:String,default:()=>CS.link.text}}};const Tk=MS({name:"u-link",mixins:[IS,PS,Ak],computed:{linkStyle(){return{color:this.color,fontSize:Yx(this.fontSize),lineHeight:Yx(zx(this.fontSize)+2),textDecoration:this.underLine?"underline":"none"}}},emits:["click"],methods:{addStyle:Gx,openLink(){window.open(this.href),this.$emit("click")}}},[["render",function(e,t,n,o,i,r){const a=Hg;return Sr(),Ir(a,{class:"u-link",onClick:vs(r.openLink,["stop"]),style:ze([r.linkStyle,r.addStyle(e.customStyle)])},{default:bo(()=>[Dr(K(e.text),1)]),_:1},8,["onClick","style"])}],["__scopeId","data-v-eceb4345"]]),Ik=Object.freeze(Object.defineProperty({__proto__:null,default:Tk},Symbol.toStringTag,{value:"Module"})),Ek={props:{type:{type:String,default:()=>CS.text.type},show:{type:Boolean,default:()=>CS.text.show},text:{type:[String,Number],default:()=>CS.text.text},prefixIcon:{type:String,default:()=>CS.text.prefixIcon},suffixIcon:{type:String,default:()=>CS.text.suffixIcon},mode:{type:String,default:()=>CS.text.mode},href:{type:String,default:()=>CS.text.href},format:{type:[String,Function],default:()=>CS.text.format},call:{type:Boolean,default:()=>CS.text.call},openType:{type:String,default:()=>CS.text.openType},bold:{type:Boolean,default:()=>CS.text.bold},block:{type:Boolean,default:()=>CS.text.block},lines:{type:[String,Number],default:()=>CS.text.lines},color:{type:String,default:()=>CS.text.color},size:{type:[String,Number],default:()=>CS.text.size},iconStyle:{type:[Object,String],default:()=>CS.text.iconStyle},decoration:{tepe:String,default:()=>CS.text.decoration},margin:{type:[Object,String,Number],default:()=>CS.text.margin},lineHeight:{type:[String,Number],default:()=>CS.text.lineHeight},align:{type:String,default:()=>CS.text.align},wordWrap:{type:String,default:()=>CS.text.wordWrap},flex1:{type:Boolean,default:()=>CS.text.flex1}}};const Pk=MS({name:"up-text",mixins:[IS,PS,{computed:{value(){const{text:e,mode:t,format:n,href:o}=this;return"price"===t?Ex.func(n)?n(e):aS(e,2):"date"===t?(Ex.date(e),Ex.func(n)?n(e):tS(e,n||"yyyy-mm-dd")):"phone"===t?Ex.func(n)?n(e):"encrypt"===n?`${e.substr(0,3)}****${e.substr(7)}`:e:"name"===t?Ex.func(n)?n(e):"encrypt"===n?this.formatName(e):e:"link"===t?(Ex.url(o),e):e}},methods:{formatName(e){let t="";if(2===e.length)t=e.substr(0,1)+"*";else if(e.length>2){let n="";for(let t=0,o=e.length-2;t!1,isMp:()=>!1},data:()=>({}),methods:{addStyle:Gx,clickHandler(e){this.call&&"phone"===this.mode&&Sb({phoneNumber:this.text}),this.$emit("click",e)}}},[["render",function(e,t,n,o,i,r){const a=Hg,s=DS(Ao("up-icon"),LS),l=Qg,c=DS(Ao("u-link"),Tk),u=Cd;return e.show?(Sr(),Ir(l,{key:0,class:$e(["u-text",[e.customClass]]),style:ze(r.wrapStyle),onClick:r.clickHandler},{default:bo(()=>["price"===e.mode?(Sr(),Ir(a,{key:0,class:$e(["u-text__price",e.type&&`u-text__value--${e.type}`]),style:ze([r.valueStyle])},{default:bo(()=>[Dr("¥")]),_:1},8,["class","style"])):zr("",!0),e.prefixIcon?(Sr(),Ir(l,{key:1,class:"u-text__prefix-icon"},{default:bo(()=>[Lr(s,{name:e.prefixIcon,customStyle:r.addStyle(e.iconStyle)},null,8,["name","customStyle"])]),_:1})):zr("",!0),"link"===e.mode?(Sr(),Ir(c,{key:2,class:$e(["u-text__value",[e.type&&`u-text__value--${e.type}`,e.lines&&`u-line-${e.lines}`]]),style:ze({fontWeight:r.valueStyle.fontWeight,wordWrap:r.valueStyle.wordWrap,fontSize:r.valueStyle.fontSize}),text:e.value,href:e.href,underLine:""},null,8,["style","class","text","href"])):e.openType&&r.isMp?(Sr(),Ir(u,{key:3,class:"u-reset-button u-text__value",style:ze([r.valueStyle]),"data-index":e.index,openType:e.openType,onGetuserinfo:e.onGetUserInfo,onContact:e.onContact,onGetphonenumber:e.onGetPhoneNumber,onError:e.onError,onLaunchapp:e.onLaunchApp,onOpensetting:e.onOpenSetting,lang:e.lang,"session-from":e.sessionFrom,"send-message-title":e.sendMessageTitle,"send-message-path":e.sendMessagePath,"send-message-img":e.sendMessageImg,"show-message-card":e.showMessageCard,"app-parameter":e.appParameter},{default:bo(()=>[Dr(K(e.value),1)]),_:1},8,["style","data-index","openType","onGetuserinfo","onContact","onGetphonenumber","onError","onLaunchapp","onOpensetting","lang","session-from","send-message-title","send-message-path","send-message-img","show-message-card","app-parameter"])):(Sr(),Ir(a,{key:4,class:$e(["u-text__value",[e.type&&`u-text__value--${e.type}`,e.lines&&`u-line-${e.lines}`]]),style:ze([r.valueStyle])},{default:bo(()=>[Dr(K(e.value),1)]),_:1},8,["style","class"])),e.suffixIcon?(Sr(),Ir(l,{key:5,class:"u-text__suffix-icon"},{default:bo(()=>[Lr(s,{name:e.suffixIcon,customStyle:r.addStyle(e.iconStyle)},null,8,["name","customStyle"])]),_:1})):zr("",!0)]),_:1},8,["class","style","onClick"])):zr("",!0)}],["__scopeId","data-v-e0f014b4"]]),Bk=Object.freeze(Object.defineProperty({__proto__:null,default:Pk},Symbol.toStringTag,{value:"Module"})),Ok={props:{urls:{type:Array,default:()=>CS.album.urls},keyName:{type:String,default:()=>CS.album.keyName},singleSize:{type:[String,Number],default:()=>CS.album.singleSize},multipleSize:{type:[String,Number],default:()=>CS.album.multipleSize},space:{type:[String,Number],default:()=>CS.album.space},singleMode:{type:String,default:()=>CS.album.singleMode},multipleMode:{type:String,default:()=>CS.album.multipleMode},maxCount:{type:[String,Number],default:()=>CS.album.maxCount},previewFullImage:{type:Boolean,default:()=>CS.album.previewFullImage},rowCount:{type:[String,Number],default:()=>CS.album.rowCount},showMore:{type:Boolean,default:()=>CS.album.showMore},shape:{type:String,default:()=>CS.image.shape},radius:{type:[String,Number],default:()=>CS.image.radius},autoWrap:{type:Boolean,default:()=>CS.album.autoWrap},unit:{type:[String],default:()=>CS.album.unit},stop:{type:Boolean,default:()=>CS.album.stop}}},Nk={name:"u-album",mixins:[IS,PS,Ok],data:()=>({singleWidth:0,singleHeight:0,singlePercent:.6}),watch:{urls:{immediate:!0,handler(e){1===e.length&&this.getImageRect()}}},computed:{imageStyle(){return(e,t)=>{const{space:n,rowCount:o,multipleSize:i,urls:r}=this,a=this.showUrls.length;this.urls.length;const s={marginRight:Yx(n),marginBottom:Yx(n)};return e!==a||this.autoWrap||(s.marginBottom=0),this.autoWrap||(t===o||e===a&&t===this.showUrls[e-1].length)&&(s.marginRight=0),s}},showUrls(){if(this.autoWrap)return[this.urls.slice(0,this.maxCount)];{const e=[];return this.urls.map((t,n)=>{if(n+1<=this.maxCount){const o=Math.floor(n/this.rowCount);e[o]||(e[o]=[]),e[o].push(t)}}),e}},imageWidth(){return Yx(1===this.urls.length?this.singleWidth:this.multipleSize,this.unit)},imageHeight(){return Yx(1===this.urls.length?this.singleHeight:this.multipleSize,this.unit)},albumWidth(){let e=0;return e=1===this.urls.length?this.singleWidth:this.showUrls[0].length*this.multipleSize+this.space*(this.showUrls[0].length-1),this.$emit("albumWidth",e),e}},emits:["preview","albumWidth"],methods:{addUnit:Yx,onPreviewTap(e,t){const n=this.urls.map(e=>this.getSrc(e));this.previewFullImage?(vv({current:t,urls:n}),this.stop&&this.preventEvent(e)):this.$emit("preview",{urls:n,currentIndex:n.indexOf(t)})},getSrc(e){return Ex.object(e)?this.keyName&&e[this.keyName]||e.src:e},getImageRect(){const e=this.getSrc(this.urls[0]);Kb({src:e,success:e=>{let t=this.singleSize,n="";Number.isNaN(Number(this.singleSize))&&(n=this.singleSize.replace(/\d+/g,""),t=Number(this.singleSize.replace(/\D+/g,""),10));const o=e.width>=e.height;this.singleWidth=o?t:e.width/e.height*t,this.singleHeight=o?e.height/e.width*this.singleWidth:t,null!=n&&""!==n&&(this.singleWidth=this.singleWidth+n,this.singleHeight=this.singleHeight+n)},fail:()=>{this.getComponentWidth()}})},async getComponentWidth(){await Fx(30),this.$uGetRect(".u-album__row").then(e=>{this.singleWidth=e.width*this.singlePercent})}}};const Mk=MS(Nk,[["render",function(e,t,n,o,i,r){const a=xm,s=DS(Ao("up-text"),Pk),l=Qg;return Sr(),Ir(l,{class:"u-album"},{default:bo(()=>[(Sr(!0),Tr(yr,null,Ai(r.showUrls,(t,n)=>(Sr(),Ir(l,{class:"u-album__row",ref_for:!0,ref:"u-album__row",forComputedUse:r.albumWidth,key:n,style:ze({flexWrap:e.autoWrap?"wrap":"nowrap"})},{default:bo(()=>[(Sr(!0),Tr(yr,null,Ai(t,(t,o)=>(Sr(),Ir(l,{class:"u-album__row__wrapper",key:o,style:ze([r.imageStyle(n+1,o+1)]),onClick:e=>r.onPreviewTap(e,r.getSrc(t))},{default:bo(()=>[Lr(a,{src:r.getSrc(t),mode:1===e.urls.length?r.imageHeight>0?e.singleMode:"widthFix":e.multipleMode,style:ze([{width:r.imageWidth,height:r.imageHeight,borderRadius:"circle"==e.shape?"10000px":r.addUnit(e.radius)}])},null,8,["src","mode","style"]),e.showMore&&e.urls.length>e.rowCount*r.showUrls.length&&n===r.showUrls.length-1&&o===r.showUrls[r.showUrls.length-1].length-1?(Sr(),Ir(l,{key:0,class:"u-album__row__wrapper__text",style:ze({borderRadius:"circle"==e.shape?"50%":r.addUnit(e.radius)})},{default:bo(()=>[Lr(s,{text:"+"+(e.urls.length-e.maxCount),color:"#fff",size:.3*e.multipleSize,align:"center",customStyle:"justify-content: center"},null,8,["text","size"])]),_:1},8,["style"])):zr("",!0)]),_:2},1032,["style","onClick"]))),128))]),_:2},1032,["forComputedUse","style"]))),128))]),_:1})}],["__scopeId","data-v-46ebd53b"]]),Lk=Object.freeze(Object.defineProperty({__proto__:null,default:Mk},Symbol.toStringTag,{value:"Module"})),Rk={props:{title:{type:String,default:()=>CS.alert.title},type:{type:String,default:()=>CS.alert.type},description:{type:String,default:()=>CS.alert.description},closable:{type:Boolean,default:()=>CS.alert.closable},showIcon:{type:Boolean,default:()=>CS.alert.showIcon},effect:{type:String,default:()=>CS.alert.effect},center:{type:Boolean,default:()=>CS.alert.center},fontSize:{type:[String,Number],default:()=>CS.alert.fontSize},transitionMode:{type:[String],default:()=>CS.alert.transitionMode},duration:{type:[Number],default:()=>CS.alert.duration},icon:{type:[String],default:()=>CS.alert.icon},modelValue:{type:[Boolean],default:()=>CS.alert.value}}};const Dk=MS({name:"u-alert",mixins:[IS,PS,Rk],data:()=>({show:!0}),computed:{iconColor(){return"light"===this.effect?this.type:"#fff"},iconName(){if(this.icon)return this.icon;switch(this.type){case"success":return"checkmark-circle-fill";case"error":return"close-circle-fill";case"warning":default:return"error-circle-fill";case"info":return"info-circle-fill";case"primary":return"more-circle-fill"}}},emits:["click","close","closed","update:modelValue"],watch:{modelValue:{handler(e){this.show=e},immediate:!0},show:{handler(e){this.$emit("update:modelValue",e),!e&&this.duration>0&&this.$emit("closed")}}},mounted(){this.duration>0&&setTimeout(()=>{this.closeHandler()},this.duration)},methods:{addUnit:Yx,addStyle:Gx,clickHandler(){this.$emit("click")},closeHandler(){this.show=!1,this.$emit("close")}}},[["render",function(e,t,n,o,i,r){const a=DS(Ao("up-icon"),LS),s=Qg,l=Hg,c=DS(Ao("up-transition"),ok);return Sr(),Ir(c,{mode:e.transitionMode,show:i.show},{default:bo(()=>[Lr(s,{class:$e(["u-alert",[`u-alert--${e.type}--${e.effect}`]]),onClick:vs(r.clickHandler,["stop"]),style:ze([r.addStyle(e.customStyle)])},{default:bo(()=>[e.showIcon?(Sr(),Ir(s,{key:0,class:"u-alert__icon"},{default:bo(()=>[Lr(a,{name:r.iconName,size:"18",color:r.iconColor},null,8,["name","color"])]),_:1})):zr("",!0),Lr(s,{class:"u-alert__content",style:ze([{paddingRight:e.closable?"20px":0}])},{default:bo(()=>[e.title?(Sr(),Ir(l,{key:0,class:$e(["u-alert__content__title",["dark"===e.effect?"u-alert__text--dark":`u-alert__text--${e.type}--light`]]),style:ze([{fontSize:r.addUnit(e.fontSize),textAlign:e.center?"center":"left"}])},{default:bo(()=>[Dr(K(e.title),1)]),_:1},8,["style","class"])):zr("",!0),e.description?(Sr(),Ir(l,{key:1,class:$e(["u-alert__content__desc",["dark"===e.effect?"u-alert__text--dark":`u-alert__text--${e.type}--light`]]),style:ze([{fontSize:r.addUnit(e.fontSize),textAlign:e.center?"center":"left"}])},{default:bo(()=>[Dr(K(e.description),1)]),_:1},8,["style","class"])):zr("",!0)]),_:1},8,["style"]),e.closable?(Sr(),Ir(s,{key:1,class:"u-alert__close",onClick:vs(r.closeHandler,["stop"])},{default:bo(()=>[Ti(e.$slots,"close",{},()=>[Lr(a,{name:"close",color:r.iconColor,size:"15"},null,8,["color"])],!0)]),_:3},8,["onClick"])):zr("",!0)]),_:3},8,["class","onClick","style"])]),_:3},8,["mode","show"])}],["__scopeId","data-v-baba779c"]]),zk=Object.freeze(Object.defineProperty({__proto__:null,default:Dk},Symbol.toStringTag,{value:"Module"})),$k={props:{src:{type:String,default:()=>CS.avatar.src},shape:{type:String,default:()=>CS.avatar.shape},size:{type:[String,Number],default:()=>CS.avatar.size},mode:{type:String,default:()=>CS.avatar.mode},text:{type:String,default:()=>CS.avatar.text},bgColor:{type:String,default:()=>CS.avatar.bgColor},color:{type:String,default:()=>CS.avatar.color},fontSize:{type:[String,Number],default:()=>CS.avatar.fontSize},icon:{type:String,default:()=>CS.avatar.icon},mpAvatar:{type:Boolean,default:()=>CS.avatar.mpAvatar},randomBgColor:{type:Boolean,default:()=>CS.avatar.randomBgColor},defaultUrl:{type:String,default:()=>CS.avatar.defaultUrl},colorIndex:{type:[String,Number],validator:e=>Ex.range(e,[0,19])||""===e,default:()=>CS.avatar.colorIndex},name:{type:String,default:()=>CS.avatar.name}}};const Fk=MS({name:"u-avatar",mixins:[IS,PS,$k],data(){return{colors:["#ffb34b","#f2bba9","#f7a196","#f18080","#88a867","#bfbf39","#89c152","#94d554","#f19ec2","#afaae4","#e1b0df","#c38cc1","#72dcdc","#9acdcb","#77b1cc","#448aca","#86cefa","#98d1ee","#73d1f1","#80a7dc"],avatarUrl:this.src,allowMp:!1}},watch:{src:{immediate:!0,handler(e){this.avatarUrl=e,e||this.errorHandler()}}},computed:{imageStyle:()=>({})},created(){this.init()},emits:["click"],methods:{addStyle:Gx,addUnit:Yx,random:Ux,init(){},isImg(){return-1!==this.src.indexOf("/")},errorHandler(){this.avatarUrl=this.defaultUrl||"data:image/jpg;base64,/9j/4QAYRXhpZgAASUkqAAgAAAAAAAAAAAAAAP/sABFEdWNreQABAAQAAAA8AAD/4QMraHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLwA8P3hwYWNrZXQgYmVnaW49Iu+7vyIgaWQ9Ilc1TTBNcENlaGlIenJlU3pOVGN6a2M5ZCI/PiA8eDp4bXBtZXRhIHhtbG5zOng9ImFkb2JlOm5zOm1ldGEvIiB4OnhtcHRrPSJBZG9iZSBYTVAgQ29yZSA1LjMtYzAxMSA2Ni4xNDU2NjEsIDIwMTIvMDIvMDYtMTQ6NTY6MjcgICAgICAgICI+IDxyZGY6UkRGIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyI+IDxyZGY6RGVzY3JpcHRpb24gcmRmOmFib3V0PSIiIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bXA6Q3JlYXRvclRvb2w9IkFkb2JlIFBob3Rvc2hvcCBDUzYgKFdpbmRvd3MpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjREMEQwRkY0RjgwNDExRUE5OTY2RDgxODY3NkJFODMxIiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOjREMEQwRkY1RjgwNDExRUE5OTY2RDgxODY3NkJFODMxIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6NEQwRDBGRjJGODA0MTFFQTk5NjZEODE4Njc2QkU4MzEiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6NEQwRDBGRjNGODA0MTFFQTk5NjZEODE4Njc2QkU4MzEiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz7/7gAOQWRvYmUAZMAAAAAB/9sAhAAGBAQEBQQGBQUGCQYFBgkLCAYGCAsMCgoLCgoMEAwMDAwMDBAMDg8QDw4MExMUFBMTHBsbGxwfHx8fHx8fHx8fAQcHBw0MDRgQEBgaFREVGh8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx//wAARCADIAMgDAREAAhEBAxEB/8QAcQABAQEAAwEBAAAAAAAAAAAAAAUEAQMGAgcBAQAAAAAAAAAAAAAAAAAAAAAQAAIBAwICBgkDBQAAAAAAAAABAhEDBCEFMVFBYXGREiKBscHRMkJSEyOh4XLxYjNDFBEBAAAAAAAAAAAAAAAAAAAAAP/aAAwDAQACEQMRAD8A/fAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHbHFyZ/Dam+yLA+Z2L0Pjtyj2poD4AAAAAAAAAAAAAAAAAAAAAAAAKWFs9y6lcvvwQeqj8z9wFaziY1n/HbUX9XF97A7QAGXI23EvJ1goyfzR0YEfN269jeZ+a03pNe0DIAAAAAAAAAAAAAAAAAAAACvtO3RcVkXlWutuL9YFYAAAAAOJRjKLjJVi9GmB5/csH/mu1h/in8PU+QGMAAAAAAAAAAAAAAAAAAaMDG/6MmMH8C80+xAelSSVFolwQAAAAAAAHVlWI37ErUulaPk+hgeYnCUJuElSUXRrrQHAAAAAAAAAAAAAAAAABa2Oz4bM7r4zdF2ICmAAAAAAAAAg7zZ8GX41wuJP0rRgYAAAAAAAAAAAAAAAAAD0m2R8ODaXU33tsDSAAAAAAAAAlb9HyWZcnJd9PcBHAAAAAAAAAAAAAAAAAPS7e64Vn+KA0AAAAAAAAAJm+v8Ftf3ewCKAAAAAAAAAAAAAAAAAX9muqeGo9NttP06+0DcAAAAAAAAAjb7dTu2ra+VOT9P8AQCWAAAAAAAAAAAAAAAAAUNmyPt5Ltv4bui/kuAF0AAAAAAADiUlGLlJ0SVW+oDzOXfd/Ind6JPRdS0QHSAAAAAAAAAAAAAAAAAE2nVaNcGB6Lbs6OTao9LsF51z60BrAAAAAABJ3jOVHjW3r/sa9QEgAAAAAAAAAAAAAAAAAAAPu1duWriuW34ZR4MC9hbnZyEoy8l36XwfYBsAAADaSq9EuLAlZ+7xSdrGdW9Hc5dgEdtt1erfFgAAAAAAAAAAAAAAAAADVjbblX6NR8MH80tEBRs7HYivyzlN8lovaBPzduvY0m6eK10TXtAyAarO55lpJK54orolr+4GqO/Xaea1FvqbXvA+Z77kNeW3GPbV+4DJfzcm/pcm3H6Vou5AdAFLC2ed2Pjv1txa8sV8T6wOL+yZEKu1JXFy4MDBOE4ScZxcZLinoB8gAAAAAAAAAAAB242LeyJ+C3GvN9C7QLmJtePYpKS+5c+p8F2IDYAANJqj1T4oCfk7Nj3G5Wn9qXJax7gJ93Z82D8sVNc4v30A6Xg5i42Z+iLfqARwcyT0sz9MWvWBps7LlTf5Grce9/oBTxdtxseklHxT+uWr9AGoAB138ezfj4bsFJdD6V2MCPm7RdtJzs1uW1xXzL3gTgAAAAAAAAADRhYc8q74I6RWs5ckB6GxYtWLat21SK731sDsAAAAAAAAAAAAAAAASt021NO/YjrxuQXT1oCOAAAAAAABzGLlJRSq26JAelwsWONYjbXxcZvmwO8AAAAAAAAAAAAAAAAAAef3TEWPkVivx3NY9T6UBiAAAAAABo2+VmGXblddIJ8eivRUD0oAAAAAAAAAAAAAAAAAAAYt4tKeFKVNYNSXfRgefAAAAAAAAr7VuSSWPedKaW5v1MCsAAAAAAAAAAAAAAAAAAIe6bj96Ts2n+JPzSXzP3ATgAAAAAAAAFbbt1UUrOQ9FpC4/UwK6aaqtU+DAAAAAAAAAAAAAAA4lKMIuUmoxWrb4ARNx3R3q2rLpa4Sl0y/YCcAAAAAAAAAAANmFud7G8r89r6X0dgFvGzLGRGtuWvTF6NAdwAAAAAAAAAAAy5W442PVN+K59EePp5ARMvOv5MvO6QXCC4AZwAAAAAAAAAAAAAcxlKLUotprg1owN+PvORborq+7Hnwl3gUbO74VzRydt8pKn68ANcJwmqwkpLmnUDkAAAAfNy9atqtyagut0AxXt5xIV8Fbj6lRd7Am5G65V6qUvtwfyx94GMAAAAAAAAAAAAAAAAAAAOU2nVOj5gdsc3LiqRvTpyqwOxbnnrhdfpSfrQB7pnv/AGvuS9gHXPMy5/Fem1yq0v0A6W29XqwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAf//Z"},clickHandler(e){this.$emit("click",this.name,e)}}},[["render",function(e,t,n,o,i,r){const a=DS(Ao("up-icon"),LS),s=DS(Ao("up-text"),Pk),l=xm,c=Qg;return Sr(),Ir(c,{class:$e(["u-avatar",[`u-avatar--${e.shape}`]]),style:ze([{backgroundColor:e.text||e.icon?e.randomBgColor?i.colors[""!==e.colorIndex?e.colorIndex:r.random(0,19)]:e.bgColor:"transparent",width:r.addUnit(e.size),height:r.addUnit(e.size)},r.addStyle(e.customStyle)]),onClick:r.clickHandler},{default:bo(()=>[Ti(e.$slots,"default",{},()=>[e.mpAvatar&&i.allowMp?(Sr(),Tr(yr,{key:0},[],64)):e.icon?(Sr(),Ir(a,{key:1,name:e.icon,size:e.fontSize,color:e.color},null,8,["name","size","color"])):e.text?(Sr(),Ir(s,{key:2,text:e.text,size:e.fontSize,color:e.color,align:"center",customStyle:"justify-content: center"},null,8,["text","size","color"])):(Sr(),Ir(l,{key:3,class:$e(["u-avatar__image",[`u-avatar__image--${e.shape}`]]),src:i.avatarUrl||e.defaultUrl,mode:e.mode,onError:r.errorHandler,style:ze([{width:r.addUnit(e.size),height:r.addUnit(e.size)}])},null,8,["class","src","mode","onError","style"]))],!0)]),_:3},8,["class","style","onClick"])}],["__scopeId","data-v-09f6effd"]]),jk=Object.freeze(Object.defineProperty({__proto__:null,default:Fk},Symbol.toStringTag,{value:"Module"})),Hk={props:{urls:{type:Array,default:()=>CS.avatarGroup.urls},maxCount:{type:[String,Number],default:()=>CS.avatarGroup.maxCount},shape:{type:String,default:()=>CS.avatarGroup.shape},mode:{type:String,default:()=>CS.avatarGroup.mode},showMore:{type:Boolean,default:()=>CS.avatarGroup.showMore},size:{type:[String,Number],default:()=>CS.avatarGroup.size},keyName:{type:String,default:()=>CS.avatarGroup.keyName},gap:{type:[String,Number],validator:e=>e>=0&&e<=1,default:()=>CS.avatarGroup.gap},extraValue:{type:[Number,String],default:()=>CS.avatarGroup.extraValue}}};const Vk=MS({name:"u-avatar-group",mixins:[IS,PS,Hk],data:()=>({}),computed:{showUrl(){return this.urls.slice(0,this.maxCount)}},emits:["showMore"],methods:{addUnit:Yx,testObject:Ex.object,clickHandler(){this.$emit("showMore")}}},[["render",function(e,t,n,o,i,r){const a=DS(Ao("u-avatar"),Fk),s=DS(Ao("up-text"),Pk),l=Qg;return Sr(),Ir(l,{class:"u-avatar-group"},{default:bo(()=>[(Sr(!0),Tr(yr,null,Ai(r.showUrl,(t,n)=>(Sr(),Ir(l,{class:"u-avatar-group__item",key:n,style:ze({marginLeft:0===n?0:r.addUnit(-e.size*e.gap)})},{default:bo(()=>[Lr(a,{size:e.size,shape:e.shape,mode:e.mode,src:r.testObject(t)?e.keyName&&t[e.keyName]||t.url:t},null,8,["size","shape","mode","src"]),e.showMore&&n===r.showUrl.length-1&&(e.urls.length>e.maxCount||e.extraValue>0)?(Sr(),Ir(l,{key:0,class:"u-avatar-group__item__show-more",onClick:r.clickHandler},{default:bo(()=>[Lr(s,{color:"#ffffff",size:.4*e.size,text:`+${e.extraValue||e.urls.length-r.showUrl.length}`,align:"center",customStyle:"justify-content: center"},null,8,["size","text"])]),_:1},8,["onClick"])):zr("",!0)]),_:2},1032,["style"]))),128))]),_:1})}],["__scopeId","data-v-1fca01de"]]),Wk=Object.freeze(Object.defineProperty({__proto__:null,default:Vk},Symbol.toStringTag,{value:"Module"}));const Uk=MS({name:"u-back-top",mixins:[IS,PS,{props:{mode:{type:String,default:()=>CS.backtop.mode},icon:{type:String,default:()=>CS.backtop.icon},text:{type:String,default:()=>CS.backtop.text},duration:{type:[String,Number],default:()=>CS.backtop.duration},scrollTop:{type:[String,Number],default:()=>CS.backtop.scrollTop},top:{type:[String,Number],default:()=>CS.backtop.top},bottom:{type:[String,Number],default:()=>CS.backtop.bottom},right:{type:[String,Number],default:()=>CS.backtop.right},zIndex:{type:[String,Number],default:()=>CS.backtop.zIndex},iconStyle:{type:Object,default:()=>CS.backtop.iconStyle}}}],computed:{backTopStyle(){return{bottom:Yx(this.bottom),right:Yx(this.right),width:"40px",height:"40px",position:"fixed",zIndex:10}},show(){return zx(this.scrollTop)>zx(this.top)},contentStyle(){const e={};let t=0;return t="circle"===this.mode?"100px":"4px",e.borderTopLeftRadius=t,e.borderTopRightRadius=t,e.borderBottomLeftRadius=t,e.borderBottomRightRadius=t,Kx(e,Gx(this.customStyle))}},emits:["click"],methods:{backToTop(){h_({scrollTop:0,duration:this.duration}),this.$emit("click")}}},[["render",function(e,t,n,o,i,r){const a=DS(Ao("up-icon"),LS),s=Hg,l=Qg,c=DS(Ao("u-transition"),ok);return Sr(),Ir(c,{mode:"fade",customStyle:r.backTopStyle,show:r.show},{default:bo(()=>[e.$slots.default||e.$slots.$default?Ti(e.$slots,"default",{key:1},void 0,!0):(Sr(),Ir(l,{key:0,class:"u-back-top",style:ze([r.contentStyle]),onClick:r.backToTop},{default:bo(()=>[Lr(a,{name:e.icon,"custom-style":e.iconStyle},null,8,["name","custom-style"]),e.text?(Sr(),Ir(s,{key:0,class:"u-back-top__text"},{default:bo(()=>[Dr(K(e.text),1)]),_:1})):zr("",!0)]),_:1},8,["style","onClick"]))]),_:3},8,["customStyle","show"])}],["__scopeId","data-v-268a498f"]]),qk=Object.freeze(Object.defineProperty({__proto__:null,default:Uk},Symbol.toStringTag,{value:"Module"}));const Qk=MS({name:"u-badge",mixins:[IS,{props:{isDot:{type:Boolean,default:()=>CS.badge.isDot},value:{type:[Number,String],default:()=>CS.badge.value},modelValue:{type:[Number,String],default:()=>CS.badge.modelValue},show:{type:Boolean,default:()=>CS.badge.show},max:{type:[Number,String],default:()=>CS.badge.max},type:{type:String,default:()=>CS.badge.type},showZero:{type:Boolean,default:()=>CS.badge.showZero},bgColor:{type:[String,null],default:()=>CS.badge.bgColor},color:{type:[String,null],default:()=>CS.badge.color},shape:{type:String,default:()=>CS.badge.shape},numberType:{type:String,default:()=>CS.badge.numberType},offset:{type:Array,default:()=>CS.badge.offset},inverted:{type:Boolean,default:()=>CS.badge.inverted},absolute:{type:Boolean,default:()=>CS.badge.absolute}}},PS],computed:{boxStyle:()=>({}),badgeStyle(){const e={};if(this.color&&(e.color=this.color),this.bgColor&&!this.inverted&&(e.backgroundColor=this.bgColor),this.absolute&&(e.position="absolute",this.offset.length)){const t=this.offset[0],n=this.offset[1]||t;e.top=Yx(t),e.right=Yx(n)}return e},showValue(){switch(this.numberType){case"overflow":return Number(this.value)>Number(this.max)?this.max+"+":this.value;case"ellipsis":return Number(this.value)>Number(this.max)?"...":this.value;case"limit":return Number(this.value)>999?Number(this.value)>=9999?Math.floor(this.value/1e4*100)/100+"w":Math.floor(this.value/1e3*100)/100+"k":this.value;default:return Number(this.value)}}},methods:{addStyle:Gx}},[["render",function(e,t,n,o,i,r){const a=Hg;return e.show&&(0!==Number(e.value)||e.showZero||e.isDot)?(Sr(),Ir(a,{key:0,class:$e([[e.isDot?"u-badge--dot":"u-badge--not-dot",e.inverted&&"u-badge--inverted","horn"===e.shape&&"u-badge--horn",`u-badge--${e.type}${e.inverted?"--inverted":""}`],"u-badge"]),style:ze([r.addStyle(e.customStyle),r.badgeStyle])},{default:bo(()=>[Dr(K(e.isDot?"":r.showValue),1)]),_:1},8,["class","style"])):zr("",!0)}],["__scopeId","data-v-4434d9cd"]]),Gk=Object.freeze(Object.defineProperty({__proto__:null,default:Qk},Symbol.toStringTag,{value:"Module"}));const Yk=MS({name:"u-barcode",props:{value:{type:[String,Number],required:!0},format:{type:String,default:"auto",validator:function(e){return["auto","CODE128","CODE128A","CODE128B","CODE128C","EAN13","EAN8","EAN5","EAN2","UPC","UPCA","UPCE","CODE39","ITF","ITF14","MSI","MSI10","MSI11","MSI1010","MSI1110","pharmacode","codabar"].includes(e)}},width:{type:Number,default:200},height:{type:Number,default:80},displayValue:{type:Boolean,default:!0},text:{type:String,default:void 0},fontOptions:{type:String,default:""},font:{type:String,default:"monospace"},textAlign:{type:String,default:"center"},textPosition:{type:String,default:"bottom"},textMargin:{type:Number,default:2},fontSize:{type:Number,default:14},background:{type:String,default:"#ffffff"},lineColor:{type:String,default:"#000000"},margin:{type:Number,default:10},marginTop:{type:Number,default:void 0},marginBottom:{type:Number,default:void 0},marginLeft:{type:Number,default:void 0},marginRight:{type:Number,default:void 0},useCanvas:{type:Boolean,default:!0}},data:()=>({canvasId:"barcode-"+Math.random().toString(36).substr(2,9),barcodeImage:"",showCanvas:!1,canvasWidth:0,canvasHeight:0,calcSizeDone:!1,error:""}),watch:{value(){this.generateBarcode()},format(){this.generateBarcode()},width(){this.generateBarcode()},height(){this.generateBarcode()},displayValue(){this.generateBarcode()},text(){this.generateBarcode()},font(){this.generateBarcode()},textAlign(){this.generateBarcode()},textPosition(){this.generateBarcode()},textMargin(){this.generateBarcode()},fontSize(){this.generateBarcode()},background(){this.generateBarcode()},lineColor(){this.generateBarcode()},margin(){this.generateBarcode()}},mounted(){this.$nextTick(()=>{this.generateBarcode()})},methods:{generateBarcode(){const e=this.margin,t={format:this.format||"auto",width:this.width,height:this.height,displayValue:this.displayValue,text:this.text,fontOptions:this.fontOptions||"",font:this.font||"monospace",textAlign:this.textAlign||"center",textPosition:this.textPosition||"bottom",textMargin:void 0!==this.textMargin?this.textMargin:2,fontSize:this.fontSize||20,background:this.background||"#ffffff",lineColor:this.lineColor||"#000000",margin:e,marginTop:void 0!==this.marginTop?this.marginTop:e,marginBottom:void 0!==this.marginBottom?this.marginBottom:e,marginLeft:void 0!==this.marginLeft?this.marginLeft:e,marginRight:void 0!==this.marginRight?this.marginRight:e};Object.keys(t).forEach(e=>{void 0===t[e]&&delete t[e]}),this.useCanvas?(this.showCanvas=!0,this.$nextTick(()=>{this.renderToCanvas(t)})):(this.showCanvas=!1,this.renderToImage(t))},async renderToCanvas(e){try{this.calculateCanvasSize(e),await no();const t=hp(this.canvasId,this);t.setFillStyle(e.background),t.fillRect(0,0,this.canvasWidth,this.canvasHeight);const n=this.encodeBarcode(this.value,e.format);n&&this.drawBarcode(t,n,e),t.draw(!1,()=>{this.$emit("rendered",{type:"canvas",id:this.canvasId})})}catch(t){console.error("生成条码失败:",t),this.error=t.message||mS("up.barcode.error"),this.$emit("error",t)}},renderToImage(e){try{this.calculateCanvasSize(e);const t="temp-"+this.canvasId,n=hp(t,this);n.setFillStyle(e.background),n.fillRect(0,0,this.canvasWidth,this.canvasHeight);const o=this.encodeBarcode(this.value,e.format);o&&this.drawBarcode(n,o,e),n.draw(!1,()=>{setTimeout(()=>{mp({canvasId:t,success:e=>{this.barcodeImage=e.tempFilePath,this.$emit("rendered",{type:"image",value:this.value,path:e.tempFilePath})},fail:e=>{console.error("生成条码图片失败:",e),this.$emit("error",e)}},this)},100)})}catch(t){console.error("生成条码图片失败:",t),this.$emit("error",t)}},calculateCanvasSize(e){let t=e.width,n=e.height;const o=e.marginLeft,i=e.marginRight,r=e.marginTop,a=e.marginBottom;let s=0;!1!==e.displayValue&&(s=e.fontSize+e.textMargin),"top"!==e.textPosition&&"bottom"!==e.textPosition||(n+=s),t+=o+i,n+=r+a,this.canvasWidth=Math.max(t,100),this.canvasHeight=Math.max(n,60+s),this.calcSizeDone=!0},encodeBarcode(e,t){try{switch(t){case"CODE128":case"auto":default:return this.encodeCode128(e);case"CODE39":return this.encodeCode39(e);case"EAN13":return this.encodeEAN13(e);case"EAN8":return this.encodeEAN8(e);case"EAN5":case"EAN2":return this.encodeEAN52(e,t);case"UPC":case"UPCA":return this.encodeUPCA(e);case"UPCE":return this.encodeUPCE(e)}}catch(n){throw console.error("条码编码失败:",n),n}},encodeCode128(e){const t=[];let n=104;t.push(104);for(let i=0;i?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~".indexOf(o);if(-1===r)throw new Error("Invalid character in CODE128: "+o);t.push(r),n+=r*(i+1)}t.push(n%103),t.push(106);let o="";for(let i=0;i["11011001100","11001101100","11001100110","10010011000","10010001100","10001001100","10011001000","10011000100","10001100100","11001001000","11001000100","11000100100","10110011100","10011011100","10011001110","10111001100","10011101100","10011100110","11001110010","11001011100","11001001110","11011100100","11001110100","11101101110","11101001100","11100101100","11100100110","11101100100","11100110100","11100110010","11011011000","11011000110","11000110110","10100011000","10001011000","10001000110","10110001000","10001101000","10001100010","11010001000","11000101000","11000100010","10110111000","10110001110","10001101110","10111011000","10111000110","10001110110","11101110110","11010001110","11000101110","11011101000","11011100010","11011101110","11101011000","11101000110","11100010110","11101101000","11101100010","11100011010","11101111010","11001000010","11110001010","10100110000","10100001100","10010110000","10010000110","10000101100","10000100110","10110010000","10110000100","10011010000","10011000010","10000110100","10000110010","11000010010","11001010000","11110111010","11000010100","10001111010","10100111100","10010111100","10010011110","10111100100","10011110100","10011110010","11110100100","11110010100","11110010010","11011011110","11011110110","11110110110","10101111000","10100011110","10001011110","10111101000","10111100010","11110101000","11110100010","10111011110","10111101110","11101011110","11110101110","11010000100","11010010000","11010011100","11000111010"][e]||"",encodeCode39(e){const t={0:"101000111011101",1:"111010001010111",2:"101110001010111",3:"111011100010101",4:"101000111010111",5:"111010001110101",6:"101110001110101",7:"101000101110111",8:"111010001011101",9:"101110001011101",A:"111010100010111",B:"101110100010111",C:"111011101000101",D:"101011100010111",E:"111010111000101",F:"101110111000101",G:"101010001110111",H:"111010100011101",I:"101110100011101",J:"101011100011101",K:"111010101000111",L:"101110101000111",M:"111011101010001",N:"101011101000111",O:"111010111010001",P:"101110111010001",Q:"101010111000111",R:"111010101110001",S:"101110101110001",T:"101011101110001",U:"111000101010111",V:"100011101010111",W:"111000111010101",X:"100010111010111",Y:"111000101110101",Z:"100011101110101","-":"100010101110111",".":"111000101011101"," ":"100011101011101","*":"100010111011101",$:"100010001000101","/":"100010001010001","+":"100010100010001","%":"101000100010001"};e=e.toUpperCase();let n=t["*"];for(let o=0;o0&&(r+="01");r+=o[parseInt(e[a])]}return r},encodeUPCA(e){if(/^\d{11}$/.test(e)){let t=0;for(let n=0;n<11;n++){const o=parseInt(e[n]);t+=n%2==0?3*o:o}e+=(10-t%10)%10}if(!/^\d{12}$/.test(e))throw new Error("UPC-A must be 11 or 12 digits");return this.encodeEAN13("0"+e)},encodeUPCE(e){if(/^\d{7}$/.test(e)){let t=0;for(let n=0;n<7;n++){const o=parseInt(e[n]);t+=n%2==0?3*o:o}e+=(10-t%10)%10}if(!/^\d{8}$/.test(e))throw new Error("UPC-E must be 7 or 8 digits");if("0"!==e[0]&&"1"!==e[0])throw new Error("UPC-E must start with 0 or 1");const t=["0001101","0011001","0010011","0111101","0100011","0110001","0101111","0111011","0110111","0001011"],n=["0100111","0110011","0011011","0100001","0011101","0111001","0000101","0010001","0001001","0010111"];e[0];const o=e[7],i=e.substring(1,7);let r;r="0"===o||"1"===o||"2"===o||"3"===o?"EEEEOO":"4"===o?"EEEOOO":"EEOOOO";let a="101";for(let s=0;sthis.canvasHeight-r&&(a=this.canvasHeight-r-2)),e.fillText(t,l,a)}}}},[["render",function(e,t,n,o,i,r){const a=om,s=xm,l=Hg,c=Qg;return i.calcSizeDone?(Sr(),Ir(c,{key:0,class:"u-barcode"},{default:bo(()=>[i.showCanvas&&!i.error?(Sr(),Ir(a,{key:0,id:i.canvasId,"canvas-id":i.canvasId,style:ze({width:i.canvasWidth+"px",height:i.canvasHeight+"px"})},null,8,["id","canvas-id","style"])):i.showCanvas||i.error?(Sr(),Ir(c,{key:2,class:"error-container",style:ze({width:i.canvasWidth+"px",height:i.canvasHeight+"px"})},{default:bo(()=>[Lr(l,{class:"error-text"},{default:bo(()=>[Dr(K(i.error),1)]),_:1})]),_:1},8,["style"])):(Sr(),Ir(s,{key:1,src:i.barcodeImage,style:ze({width:i.canvasWidth+"px",height:i.canvasHeight+"px"}),mode:"aspectFit"},null,8,["src","style"]))]),_:1})):zr("",!0)}],["__scopeId","data-v-a63099aa"]]),Xk=Object.freeze(Object.defineProperty({__proto__:null,default:Yk},Symbol.toStringTag,{value:"Module"}));const Kk=MS({name:"up-box",data:()=>({}),mixins:[IS,PS,{props:{bgColors:{type:[Array],default:["#EEFCFF","#FCF8FF","#FDF8F2"]},height:{type:[String],default:"160px"},borderRadius:{type:[String],default:"6px"},gap:{type:[String],default:"15px"}}}],computed:{},emits:[],methods:{addStyle:Gx}},[["render",function(e,t,n,o,i,r){const a=Qg;return Sr(),Ir(a,{class:"u-box",style:ze([{height:e.height},r.addStyle(e.customStyle)])},{default:bo(()=>[Lr(a,{class:"u-box__left",style:ze({borderRadius:e.borderRadius,backgroundColor:e.bgColors[0]})},{default:bo(()=>[Ti(e.$slots,"left",{},()=>[Dr("左")],!0)]),_:3},8,["style"]),Lr(a,{class:"u-box__gap",style:ze({width:e.gap,height:e.height})},null,8,["style"]),Lr(a,{class:"u-box__right"},{default:bo(()=>[Lr(a,{class:"u-box__right-top",style:ze({borderRadius:e.borderRadius,backgroundColor:e.bgColors[1]})},{default:bo(()=>[Ti(e.$slots,"rightTop",{},()=>[Dr("右上")],!0)]),_:3},8,["style"]),Lr(a,{class:"u-box__right-gap",style:ze({height:e.gap})},null,8,["style"]),Lr(a,{class:"u-box__right-bottom",style:ze({borderRadius:e.borderRadius,backgroundColor:e.bgColors[2]})},{default:bo(()=>[Ti(e.$slots,"rightBottom",{},()=>[Dr("右下")],!0)]),_:3},8,["style"])]),_:3})]),_:3},8,["style"])}],["__scopeId","data-v-a1450eb3"]]),Jk=Object.freeze(Object.defineProperty({__proto__:null,default:Kk},Symbol.toStringTag,{value:"Module"})),Zk={props:{hairline:{type:Boolean,default:()=>CS.button.hairline},type:{type:String,default:()=>CS.button.type},size:{type:String,default:()=>CS.button.size},shape:{type:String,default:()=>CS.button.shape},plain:{type:Boolean,default:()=>CS.button.plain},disabled:{type:Boolean,default:()=>CS.button.disabled},loading:{type:Boolean,default:()=>CS.button.loading},loadingText:{type:[String,Number],default:()=>CS.button.loadingText},loadingMode:{type:String,default:()=>CS.button.loadingMode},loadingSize:{type:[String,Number],default:()=>CS.button.loadingSize},openType:{type:String,default:()=>CS.button.openType},formType:{type:String,default:()=>CS.button.formType},appParameter:{type:String,default:()=>CS.button.appParameter},hoverStopPropagation:{type:Boolean,default:()=>CS.button.hoverStopPropagation},lang:{type:String,default:()=>CS.button.lang},sessionFrom:{type:String,default:()=>CS.button.sessionFrom},sendMessageTitle:{type:String,default:()=>CS.button.sendMessageTitle},sendMessagePath:{type:String,default:()=>CS.button.sendMessagePath},sendMessageImg:{type:String,default:()=>CS.button.sendMessageImg},showMessageCard:{type:Boolean,default:()=>CS.button.showMessageCard},dataName:{type:String,default:()=>CS.button.dataName},throttleTime:{type:[String,Number],default:()=>CS.button.throttleTime},hoverStartTime:{type:[String,Number],default:()=>CS.button.hoverStartTime},hoverStayTime:{type:[String,Number],default:()=>CS.button.hoverStayTime},text:{type:[String,Number],default:()=>CS.button.text},icon:{type:String,default:()=>CS.button.icon},iconColor:{type:String,default:()=>CS.button.icon},color:{type:String,default:()=>CS.button.color},stop:{type:Boolean,default:()=>CS.button.stop}}};let eC;function tC(e,t=500,n=!0){n?eC||(eC=!0,"function"==typeof e&&e(),setTimeout(()=>{eC=!1},t)):eC||(eC=!0,setTimeout(()=>{eC=!1,"function"==typeof e&&e()},t))}const nC=MS({name:"u-button",mixins:[IS,PS,Zk],data:()=>({}),computed:{bemClass(){return this.color?this.bem("button",["shape","size"],["disabled","plain","hairline"]):this.bem("button",["type","shape","size"],["disabled","plain","hairline"])},loadingColor(){return this.plain?this.color?this.color:ux[`u-${this.type}`]:"info"===this.type?"#c9c9c9":"rgb(200, 200, 200)"},iconColorCom(){return this.iconColor?this.iconColor:this.plain?this.color?this.color:this.type:"info"===this.type?"#000000":"#ffffff"},baseColor(){let e={};return this.color&&(e.color=this.plain?this.color:"white",this.plain||(e["background-color"]=this.color),-1!==this.color.indexOf("gradient")?(e.borderTopWidth=0,e.borderRightWidth=0,e.borderBottomWidth=0,e.borderLeftWidth=0,this.plain||(e.backgroundImage=this.color)):(e.borderColor=this.color,e.borderWidth="1px",e.borderStyle="solid")),e},nvueTextStyle(){let e={};return"info"===this.type&&(e.color="#323233"),this.color&&(e.color=this.plain?this.color:"white"),e.fontSize=this.textSize+"px",e},textSize(){let e=14,{size:t}=this;return"large"===t&&(e=16),"normal"===t&&(e=14),"small"===t&&(e=12),"mini"===t&&(e=10),e}},emits:["click","getphonenumber","getuserinfo","error","opensetting","launchapp","agreeprivacyauthorization"],methods:{addStyle:Gx,clickHandler(e){this.disabled||this.loading||tC(()=>{this.$emit("click",e)},this.throttleTime),this.stop&&this.preventEvent(e)},getphonenumber(e){this.$emit("getphonenumber",e)},getuserinfo(e){this.$emit("getuserinfo",e)},error(e){this.$emit("error",e)},opensetting(e){this.$emit("opensetting",e)},launchapp(e){this.$emit("launchapp",e)},agreeprivacyauthorization(e){this.$emit("agreeprivacyauthorization",e)}}},[["render",function(e,t,n,o,i,r){const a=DS(Ao("u-loading-icon"),XS),s=Hg,l=DS(Ao("up-icon"),LS),c=Cd;return Sr(),Ir(c,{"hover-start-time":Number(e.hoverStartTime),"hover-stay-time":Number(e.hoverStayTime),"form-type":e.formType,"open-type":e.openType,"app-parameter":e.appParameter,"hover-stop-propagation":e.hoverStopPropagation,"send-message-title":e.sendMessageTitle,"send-message-path":e.sendMessagePath,lang:e.lang,"data-name":e.dataName,"session-from":e.sessionFrom,"send-message-img":e.sendMessageImg,"show-message-card":e.showMessageCard,onGetphonenumber:r.getphonenumber,onGetuserinfo:r.getuserinfo,onError:r.error,onOpensetting:r.opensetting,onLaunchapp:r.launchapp,onAgreeprivacyauthorization:r.agreeprivacyauthorization,"hover-class":e.disabled||e.loading?"":"u-button--active",class:$e(["u-button u-reset-button",r.bemClass]),style:ze([r.baseColor,r.addStyle(e.customStyle)]),onClick:r.clickHandler},{default:bo(()=>[e.loading?(Sr(),Tr(yr,{key:0},[Lr(a,{mode:e.loadingMode,size:1.15*e.loadingSize,color:r.loadingColor},null,8,["mode","size","color"]),Lr(s,{class:"u-button__loading-text",style:ze([{fontSize:r.textSize+"px"}])},{default:bo(()=>[Dr(K(e.loadingText||e.text),1)]),_:1},8,["style"])],64)):(Sr(),Tr(yr,{key:1},[e.icon?(Sr(),Ir(l,{key:0,name:e.icon,color:r.iconColorCom,size:1.35*r.textSize,customStyle:{marginRight:"2px"}},null,8,["name","color","size"])):zr("",!0),Ti(e.$slots,"default",{},()=>[Lr(s,{class:"u-button__text",style:ze([{fontSize:r.textSize+"px"}])},{default:bo(()=>[Dr(K(e.text),1)]),_:1},8,["style"])],!0)],64))]),_:3},8,["hover-start-time","hover-stay-time","form-type","open-type","app-parameter","hover-stop-propagation","send-message-title","send-message-path","lang","data-name","session-from","send-message-img","show-message-card","onGetphonenumber","onGetuserinfo","onError","onOpensetting","onLaunchapp","onAgreeprivacyauthorization","hover-class","style","onClick","class"])}],["__scopeId","data-v-8a6afb74"]]),oC=Object.freeze(Object.defineProperty({__proto__:null,default:nC},Symbol.toStringTag,{value:"Module"}));const iC=MS({name:"u-calendar-header",mixins:[IS,PS],props:{title:{type:String,default:""},subtitle:{type:String,default:""},showTitle:{type:Boolean,default:!0},showSubtitle:{type:Boolean,default:!0},weekText:{type:Array,default:()=>[]}},data:()=>({}),methods:{name(){}}},[["render",function(e,t,n,o,i,r){const a=Hg,s=Qg;return Sr(),Ir(s,{class:"u-calendar-header u-border-bottom"},{default:bo(()=>[n.showTitle?(Sr(),Ir(a,{key:0,class:"u-calendar-header__title"},{default:bo(()=>[Dr(K(n.title),1)]),_:1})):zr("",!0),n.showSubtitle?(Sr(),Ir(a,{key:1,class:"u-calendar-header__subtitle"},{default:bo(()=>[Dr(K(n.subtitle),1)]),_:1})):zr("",!0),Lr(s,{class:"u-calendar-header__weekdays"},{default:bo(()=>[Lr(a,{class:"u-calendar-header__weekdays__weekday"},{default:bo(()=>[Dr(K(n.weekText[0]),1)]),_:1}),Lr(a,{class:"u-calendar-header__weekdays__weekday"},{default:bo(()=>[Dr(K(n.weekText[1]),1)]),_:1}),Lr(a,{class:"u-calendar-header__weekdays__weekday"},{default:bo(()=>[Dr(K(n.weekText[2]),1)]),_:1}),Lr(a,{class:"u-calendar-header__weekdays__weekday"},{default:bo(()=>[Dr(K(n.weekText[3]),1)]),_:1}),Lr(a,{class:"u-calendar-header__weekdays__weekday"},{default:bo(()=>[Dr(K(n.weekText[4]),1)]),_:1}),Lr(a,{class:"u-calendar-header__weekdays__weekday"},{default:bo(()=>[Dr(K(n.weekText[5]),1)]),_:1}),Lr(a,{class:"u-calendar-header__weekdays__weekday"},{default:bo(()=>[Dr(K(n.weekText[6]),1)]),_:1})]),_:1})]),_:1})}],["__scopeId","data-v-631287e6"]]);var rC=function(){var e=6e4,t=36e5,n="millisecond",o="second",i="minute",r="hour",a="day",s="week",l="month",c="quarter",u="year",d="date",h="Invalid Date",p=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,f=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,m={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],n=e%100;return"["+e+(t[(n-20)%10]||t[n]||t[0])+"]"}},g=function(e,t,n){var o=String(e);return!o||o.length>=t?e:""+Array(t+1-o.length).join(n)+e},y={s:g,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),o=Math.floor(n/60),i=n%60;return(t<=0?"+":"-")+g(o,2,"0")+":"+g(i,2,"0")},m:function e(t,n){if(t.date()1)return e(a[0])}else{var s=t.name;v[s]=t,i=s}return!o&&i&&(b=i),i||!o&&b},S=function(e,t){if(w(e))return e.clone();var n="object"==typeof t?t:{};return n.date=e,n.args=arguments,new C(n)},k=y;k.l=x,k.i=w,k.w=function(e,t){return S(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var C=function(){function m(e){this.$L=x(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[_]=!0}var g=m.prototype;return g.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(null===t)return new Date(NaN);if(k.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var o=t.match(p);if(o){var i=o[2]-1||0,r=(o[7]||"0").substring(0,3);return n?new Date(Date.UTC(o[1],i,o[3]||1,o[4]||0,o[5]||0,o[6]||0,r)):new Date(o[1],i,o[3]||1,o[4]||0,o[5]||0,o[6]||0,r)}}return new Date(t)}(e),this.init()},g.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},g.$utils=function(){return k},g.isValid=function(){return!(this.$d.toString()===h)},g.isSame=function(e,t){var n=S(e);return this.startOf(t)<=n&&n<=this.endOf(t)},g.isAfter=function(e,t){return S(e)[]},mode:{type:String,default:"single"},rowHeight:{type:[String,Number],default:58},maxCount:{type:[String,Number],default:1/0},startText:{type:String,default:"开始"},endText:{type:String,default:"结束"},defaultDate:{type:[Array,String,Date],default:null},minDate:{type:[String,Number],default:0},maxDate:{type:[String,Number],default:0},maxMonth:{type:[String,Number],default:2},readonly:{type:Boolean,default:()=>CS.calendar.readonly},maxRange:{type:[Number,String],default:1/0},rangePrompt:{type:String,default:""},showRangePrompt:{type:Boolean,default:!0},allowSameDay:{type:Boolean,default:!1},forbidDays:{type:Array,default:()=>[]},forbidDaysToast:{type:String,default:""}},data:()=>({width:0,item:{},selected:[]}),watch:{selectedChange:{immediate:!0,handler(e){this.setDefaultDate()}}},computed:{selectedChange(){return[this.minDate,this.maxDate,this.defaultDate]},dayStyle(e,t,n){return(e,t,n)=>{const o={};let i=n.week;const r=Number(parseFloat(this.width/7).toFixed(3).slice(0,-1));return o.height=Yx(this.rowHeight,"px"),0===t&&(i=(0===i?7:i)-1,o.marginLeft=Yx(i*r,"px")),"range"===this.mode&&(o.paddingLeft=0,o.paddingRight=0,o.paddingBottom=0,o.paddingTop=0),o}},daySelectStyle(){return(e,t,n)=>{let o=rC(n.date).format("YYYY-MM-DD"),i={};if(this.selected.some(e=>this.dateSame(e,o))&&(i.backgroundColor=this.color),"single"===this.mode)o===this.selected[0]&&(i.borderTopLeftRadius="3px",i.borderBottomLeftRadius="3px",i.borderTopRightRadius="3px",i.borderBottomRightRadius="3px");else if("range"===this.mode)if(this.selected.length>=2){const e=this.selected.length-1;this.dateSame(o,this.selected[0])&&(i.borderTopLeftRadius="3px",i.borderBottomLeftRadius="3px"),this.dateSame(o,this.selected[e])&&(i.borderTopRightRadius="3px",i.borderBottomRightRadius="3px"),rC(o).isAfter(rC(this.selected[0]))&&rC(o).isBefore(rC(this.selected[e]))&&(i.backgroundColor=qS(this.color,"#ffffff",100)[90],i.opacity=.7)}else 1===this.selected.length&&(i.borderTopLeftRadius="3px",i.borderBottomLeftRadius="3px");else this.selected.some(e=>this.dateSame(e,o))&&(i.borderTopLeftRadius="3px",i.borderBottomLeftRadius="3px",i.borderTopRightRadius="3px",i.borderBottomRightRadius="3px");return i}},textStyle(){return e=>{const t=rC(e.date).format("YYYY-MM-DD"),n={};if(this.selected.some(e=>this.dateSame(e,t))&&(n.color="#ffffff"),"range"===this.mode){const e=this.selected.length-1;rC(t).isAfter(rC(this.selected[0]))&&rC(t).isBefore(rC(this.selected[e]))&&(n.color=this.color)}return n}},getBottomInfo(){return(e,t,n)=>{const o=rC(n.date).format("YYYY-MM-DD"),i=n.bottomInfo;if("range"===this.mode&&this.selected.length>0){if(1===this.selected.length)return this.dateSame(o,this.selected[0])?this.startText:i;{const e=this.selected.length-1;return this.dateSame(o,this.selected[0])&&this.dateSame(o,this.selected[1])&&1===e?`${this.startText}/${this.endText}`:this.dateSame(o,this.selected[0])?this.startText:this.dateSame(o,this.selected[e])?this.endText:i}}return i}}},mounted(){this.init()},emits:["monthSelected","updateMonthTop"],methods:{init(){this.$emit("monthSelected",this.selected),this.$nextTick(()=>{Fx(10).then(()=>{this.getWrapperWidth(),this.getMonthRect()})})},monthTitle:e=>"zh-Hans"==Dp()||"zh-Hant"==Dp()?e.year+"年"+(e.month<10?"0"+e.month:e.month)+"月":(e.month<10?"0"+e.month:e.month)+"/"+e.year,isForbid(e){let t=rC(e.date).format("YYYY-MM-DD");return!("range"===this.mode||!this.forbidDays.includes(t))},dateSame:(e,t)=>rC(e).isSame(rC(t)),getWrapperWidth(){this.$uGetRect(".u-calendar-month-wrapper").then(e=>{this.width=e.width})},getMonthRect(){const e=this.months.map((e,t)=>this.getMonthRectByPromise(`u-calendar-month-${t}`));Promise.all(e).then(e=>{let t=1;const n=[];for(let o=0;o{this.$uGetRect(`.${e}`).then(e=>{t(e)})})},clickHandler(e,t,n){if(this.readonly)return;this.item=n;const o=rC(n.date).format("YYYY-MM-DD");if(n.disabled)return;if(this.isForbid(n))return void i_({title:this.forbidDaysToast});let i=Xx(this.selected);if("single"===this.mode)i=[o];else if("multiple"===this.mode)if(i.some(e=>this.dateSame(e,o))){const e=i.findIndex(e=>e===o);i.splice(e,1)}else i.length=2)i=[o];else if(1===i.length){const e=i[0];if(rC(o).isBefore(e))i=[o];else if(rC(o).isAfter(e)){if(rC(rC(o).subtract(this.maxRange,"day")).isAfter(rC(i[0]))&&this.showRangePrompt)return void(this.rangePrompt?iS(this.rangePrompt):iS(mS("up.calendar.daysExceed",{days:this.maxRange})));i.push(o);const e=i[0],t=i[1],n=[];let r=0;do{n.push(rC(e).add(r,"day").format("YYYY-MM-DD")),r++}while(rC(e).add(r,"day").isBefore(rC(t)));n.push(t),i=n}else{if(i[0]===o&&!this.allowSameDay)return;i.push(o)}}this.setSelected(i)},setDefaultDate(){if(!this.defaultDate){const e=[rC().format("YYYY-MM-DD")];return this.setSelected(e,!1)}let e=[];const t=this.minDate||rC().format("YYYY-MM-DD"),n=this.maxDate||rC(t).add(this.maxMonth-1,"month").format("YYYY-MM-DD");if("single"===this.mode)e=Ex.array(this.defaultDate)?[this.defaultDate[0]]:[rC(this.defaultDate).format("YYYY-MM-DD")];else{if(!Ex.array(this.defaultDate))return;e=this.defaultDate}e=e.filter(e=>rC(e).isAfter(rC(t).subtract(1,"day"))&&rC(e).isBefore(rC(n).add(1,"day"))),this.setSelected(e,!1)},setSelected(e,t=!0){this.selected=e,t&&this.$emit("monthSelected",this.selected,"tap")}}},[["render",function(e,t,n,o,i,r){const a=Hg,s=Qg;return Sr(),Ir(s,{class:"u-calendar-month-wrapper",ref:"u-calendar-month-wrapper"},{default:bo(()=>[(Sr(!0),Tr(yr,null,Ai(n.months,(e,t)=>(Sr(),Ir(s,{key:t,class:$e([`u-calendar-month-${t}`]),ref_for:!0,ref:`u-calendar-month-${t}`,id:`month-${t}`},{default:bo(()=>[0!==t?(Sr(),Ir(a,{key:0,class:"u-calendar-month__title"},{default:bo(()=>[Dr(K(r.monthTitle(e)),1)]),_:2},1024)):zr("",!0),Lr(s,{class:"u-calendar-month__days"},{default:bo(()=>[n.showMark?(Sr(),Ir(s,{key:0,class:"u-calendar-month__days__month-mark-wrapper"},{default:bo(()=>[Lr(a,{class:"u-calendar-month__days__month-mark-wrapper__text"},{default:bo(()=>[Dr(K(e.month),1)]),_:2},1024)]),_:2},1024)):zr("",!0),(Sr(!0),Tr(yr,null,Ai(e.date,(e,n)=>(Sr(),Ir(s,{class:$e(["u-calendar-month__days__day",[e.selected&&"u-calendar-month__days__day__select--selected"]]),key:n,style:ze([r.dayStyle(t,n,e)]),onClick:o=>r.clickHandler(t,n,e)},{default:bo(()=>[Lr(s,{class:"u-calendar-month__days__day__select",style:ze([r.daySelectStyle(t,n,e)])},{default:bo(()=>[Lr(a,{class:$e(["u-calendar-month__days__day__select__info",[e.disabled||r.isForbid(e)?"u-calendar-month__days__day__select__info--disabled":""]]),style:ze([r.textStyle(e)])},{default:bo(()=>[Dr(K(e.day),1)]),_:2},1032,["class","style"]),r.getBottomInfo(t,n,e)?(Sr(),Ir(a,{key:0,class:$e(["u-calendar-month__days__day__select__buttom-info",[e.disabled||r.isForbid(e)?"u-calendar-month__days__day__select__buttom-info--disabled":""]]),style:ze([r.textStyle(e)])},{default:bo(()=>[Dr(K(r.getBottomInfo(t,n,e)),1)]),_:2},1032,["class","style"])):zr("",!0),e.dot?(Sr(),Ir(a,{key:1,class:"u-calendar-month__days__day__select__dot"})):zr("",!0)]),_:2},1032,["style"])]),_:2},1032,["style","onClick","class"]))),128))]),_:2},1024)]),_:2},1032,["class","id"]))),128))]),_:1},512)}],["__scopeId","data-v-0326e5ab"]]),sC={props:{title:{type:String,default:()=>CS.calendar.title},showTitle:{type:Boolean,default:()=>CS.calendar.showTitle},showSubtitle:{type:Boolean,default:()=>CS.calendar.showSubtitle},mode:{type:String,default:()=>CS.calendar.mode},startText:{type:String,default:()=>CS.calendar.startText},endText:{type:String,default:()=>CS.calendar.endText},customList:{type:Array,default:()=>CS.calendar.customList},color:{type:String,default:()=>CS.calendar.color},minDate:{type:[String,Number],default:()=>CS.calendar.minDate},maxDate:{type:[String,Number],default:()=>CS.calendar.maxDate},defaultDate:{type:[Array,String,Date,null],default:()=>CS.calendar.defaultDate},maxCount:{type:[String,Number],default:()=>CS.calendar.maxCount},rowHeight:{type:[String,Number],default:()=>CS.calendar.rowHeight},formatter:{type:[Function,null],default:()=>CS.calendar.formatter},showLunar:{type:Boolean,default:()=>CS.calendar.showLunar},showMark:{type:Boolean,default:()=>CS.calendar.showMark},confirmText:{type:String,default:()=>CS.calendar.confirmText},confirmDisabledText:{type:String,default:()=>CS.calendar.confirmDisabledText},show:{type:Boolean,default:()=>CS.calendar.show},closeOnClickOverlay:{type:Boolean,default:()=>CS.calendar.closeOnClickOverlay},readonly:{type:Boolean,default:()=>CS.calendar.readonly},showConfirm:{type:Boolean,default:()=>CS.calendar.showConfirm},maxRange:{type:[Number,String],default:()=>CS.calendar.maxRange},rangePrompt:{type:String,default:()=>CS.calendar.rangePrompt},showRangePrompt:{type:Boolean,default:()=>CS.calendar.showRangePrompt},allowSameDay:{type:Boolean,default:()=>CS.calendar.allowSameDay},round:{type:[Boolean,String,Number],default:()=>CS.calendar.round},monthNum:{type:[Number,String],default:3},weekText:{type:Array,default:CS.calendar.weekText},forbidDays:{type:Array,default:CS.calendar.forbidDays},forbidDaysToast:{type:String,default:CS.calendar.forbidDaysToast},monthFormat:{type:String,default:CS.calendar.monthFormat},pageInline:{type:Boolean,default:CS.calendar.pageInline}}};var lC={lunarInfo:[19416,19168,42352,21717,53856,55632,91476,22176,39632,21970,19168,42422,42192,53840,119381,46400,54944,44450,38320,84343,18800,42160,46261,27216,27968,109396,11104,38256,21234,18800,25958,54432,59984,28309,23248,11104,100067,37600,116951,51536,54432,120998,46416,22176,107956,9680,37584,53938,43344,46423,27808,46416,86869,19872,42416,83315,21168,43432,59728,27296,44710,43856,19296,43748,42352,21088,62051,55632,23383,22176,38608,19925,19152,42192,54484,53840,54616,46400,46752,103846,38320,18864,43380,42160,45690,27216,27968,44870,43872,38256,19189,18800,25776,29859,59984,27480,23232,43872,38613,37600,51552,55636,54432,55888,30034,22176,43959,9680,37584,51893,43344,46240,47780,44368,21977,19360,42416,86390,21168,43312,31060,27296,44368,23378,19296,42726,42208,53856,60005,54576,23200,30371,38608,19195,19152,42192,118966,53840,54560,56645,46496,22224,21938,18864,42359,42160,43600,111189,27936,44448,84835,37744,18936,18800,25776,92326,59984,27424,108228,43744,41696,53987,51552,54615,54432,55888,23893,22176,42704,21972,21200,43448,43344,46240,46758,44368,21920,43940,42416,21168,45683,26928,29495,27296,44368,84821,19296,42352,21732,53600,59752,54560,55968,92838,22224,19168,43476,41680,53584,62034,54560],solarMonth:[31,28,31,30,31,30,31,31,30,31,30,31],Gan:["甲","乙","丙","丁","戊","己","庚","辛","壬","癸"],Zhi:["子","丑","寅","卯","辰","巳","午","未","申","酉","戌","亥"],Animals:["鼠","牛","虎","兔","龙","蛇","马","羊","猴","鸡","狗","猪"],solarTerm:["小寒","大寒","立春","雨水","惊蛰","春分","清明","谷雨","立夏","小满","芒种","夏至","小暑","大暑","立秋","处暑","白露","秋分","寒露","霜降","立冬","小雪","大雪","冬至"],sTermInfo:["9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c3598082c95f8c965cc920f","97bd0b06bdb0722c965ce1cfcc920f","b027097bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c359801ec95f8c965cc920f","97bd0b06bdb0722c965ce1cfcc920f","b027097bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c359801ec95f8c965cc920f","97bd0b06bdb0722c965ce1cfcc920f","b027097bd097c36b0b6fc9274c91aa","9778397bd19801ec9210c965cc920e","97b6b97bd19801ec95f8c965cc920f","97bd09801d98082c95f8e1cfcc920f","97bd097bd097c36b0b6fc9210c8dc2","9778397bd197c36c9210c9274c91aa","97b6b97bd19801ec95f8c965cc920e","97bd09801d98082c95f8e1cfcc920f","97bd097bd097c36b0b6fc9210c8dc2","9778397bd097c36c9210c9274c91aa","97b6b97bd19801ec95f8c965cc920e","97bcf97c3598082c95f8e1cfcc920f","97bd097bd097c36b0b6fc9210c8dc2","9778397bd097c36c9210c9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c3598082c95f8c965cc920f","97bd097bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c3598082c95f8c965cc920f","97bd097bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c359801ec95f8c965cc920f","97bd097bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c359801ec95f8c965cc920f","97bd097bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c359801ec95f8c965cc920f","97bd097bd07f595b0b6fc920fb0722","9778397bd097c36b0b6fc9210c8dc2","9778397bd19801ec9210c9274c920e","97b6b97bd19801ec95f8c965cc920f","97bd07f5307f595b0b0bc920fb0722","7f0e397bd097c36b0b6fc9210c8dc2","9778397bd097c36c9210c9274c920e","97b6b97bd19801ec95f8c965cc920f","97bd07f5307f595b0b0bc920fb0722","7f0e397bd097c36b0b6fc9210c8dc2","9778397bd097c36c9210c9274c91aa","97b6b97bd19801ec9210c965cc920e","97bd07f1487f595b0b0bc920fb0722","7f0e397bd097c36b0b6fc9210c8dc2","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf7f1487f595b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf7f1487f595b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf7f1487f531b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf7f1487f531b0b0bb0b6fb0722","7f0e397bd07f595b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c9274c920e","97bcf7f0e47f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","9778397bd097c36b0b6fc9210c91aa","97b6b97bd197c36c9210c9274c920e","97bcf7f0e47f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","9778397bd097c36b0b6fc9210c8dc2","9778397bd097c36c9210c9274c920e","97b6b7f0e47f531b0723b0b6fb0722","7f0e37f5307f595b0b0bc920fb0722","7f0e397bd097c36b0b6fc9210c8dc2","9778397bd097c36b0b70c9274c91aa","97b6b7f0e47f531b0723b0b6fb0721","7f0e37f1487f595b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc9210c8dc2","9778397bd097c36b0b6fc9274c91aa","97b6b7f0e47f531b0723b0b6fb0721","7f0e27f1487f595b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b7f0e47f531b0723b0787b0721","7f0e27f0e47f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","9778397bd097c36b0b6fc9210c91aa","97b6b7f0e47f149b0723b0787b0721","7f0e27f0e47f531b0723b0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","9778397bd097c36b0b6fc9210c8dc2","977837f0e37f149b0723b0787b0721","7f07e7f0e47f531b0723b0b6fb0722","7f0e37f5307f595b0b0bc920fb0722","7f0e397bd097c35b0b6fc9210c8dc2","977837f0e37f14998082b0787b0721","7f07e7f0e47f531b0723b0b6fb0721","7f0e37f1487f595b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc9210c8dc2","977837f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","977837f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","977837f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","977837f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","977837f0e37f14998082b0787b06bd","7f07e7f0e47f149b0723b0787b0721","7f0e27f0e47f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","977837f0e37f14998082b0723b06bd","7f07e7f0e37f149b0723b0787b0721","7f0e27f0e47f531b0723b0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","977837f0e37f14898082b0723b02d5","7ec967f0e37f14998082b0787b0721","7f07e7f0e47f531b0723b0b6fb0722","7f0e37f1487f595b0b0bb0b6fb0722","7f0e37f0e37f14898082b0723b02d5","7ec967f0e37f14998082b0787b0721","7f07e7f0e47f531b0723b0b6fb0722","7f0e37f1487f531b0b0bb0b6fb0722","7f0e37f0e37f14898082b0723b02d5","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e37f1487f531b0b0bb0b6fb0722","7f0e37f0e37f14898082b072297c35","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e37f0e37f14898082b072297c35","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e37f0e366aa89801eb072297c35","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f149b0723b0787b0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e37f0e366aa89801eb072297c35","7ec967f0e37f14998082b0723b06bd","7f07e7f0e47f149b0723b0787b0721","7f0e27f0e47f531b0723b0b6fb0722","7f0e37f0e366aa89801eb072297c35","7ec967f0e37f14998082b0723b06bd","7f07e7f0e37f14998083b0787b0721","7f0e27f0e47f531b0723b0b6fb0722","7f0e37f0e366aa89801eb072297c35","7ec967f0e37f14898082b0723b02d5","7f07e7f0e37f14998082b0787b0721","7f07e7f0e47f531b0723b0b6fb0722","7f0e36665b66aa89801e9808297c35","665f67f0e37f14898082b0723b02d5","7ec967f0e37f14998082b0787b0721","7f07e7f0e47f531b0723b0b6fb0722","7f0e36665b66a449801e9808297c35","665f67f0e37f14898082b0723b02d5","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e36665b66a449801e9808297c35","665f67f0e37f14898082b072297c35","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e26665b66a449801e9808297c35","665f67f0e37f1489801eb072297c35","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722"],nStr1:["日","一","二","三","四","五","六","七","八","九","十"],nStr2:["初","十","廿","卅"],nStr3:["正","二","三","四","五","六","七","八","九","十","冬","腊"],lYearDays:function(e){var t,n=348;for(t=32768;t>8;t>>=1)n+=this.lunarInfo[e-1900]&t?1:0;return n+this.leapDays(e)},leapMonth:function(e){return 15&this.lunarInfo[e-1900]},leapDays:function(e){return this.leapMonth(e)?65536&this.lunarInfo[e-1900]?30:29:0},monthDays:function(e,t){return t>12||t<1?-1:this.lunarInfo[e-1900]&65536>>t?30:29},solarDays:function(e,t){if(t>12||t<1)return-1;var n=t-1;return 1==n?e%4==0&&e%100!=0||e%400==0?29:28:this.solarMonth[n]},toGanZhiYear:function(e){var t=(e-3)%10,n=(e-3)%12;return 0==t&&(t=10),0==n&&(n=12),this.Gan[t-1]+this.Zhi[n-1]},toAstro:function(e,t){return"魔羯水瓶双鱼白羊金牛双子巨蟹狮子处女天秤天蝎射手魔羯".substr(2*e-(t<[20,19,21,21,21,22,23,23,23,23,22,22][e-1]?2:0),2)+"座"},toGanZhi:function(e){return this.Gan[e%10]+this.Zhi[e%12]},getTerm:function(e,t){if(e<1900||e>2100)return-1;if(t<1||t>24)return-1;var n=this.sTermInfo[e-1900],o=[parseInt("0x"+n.substr(0,5)).toString(),parseInt("0x"+n.substr(5,5)).toString(),parseInt("0x"+n.substr(10,5)).toString(),parseInt("0x"+n.substr(15,5)).toString(),parseInt("0x"+n.substr(20,5)).toString(),parseInt("0x"+n.substr(25,5)).toString()],i=[o[0].substr(0,1),o[0].substr(1,2),o[0].substr(3,1),o[0].substr(4,2),o[1].substr(0,1),o[1].substr(1,2),o[1].substr(3,1),o[1].substr(4,2),o[2].substr(0,1),o[2].substr(1,2),o[2].substr(3,1),o[2].substr(4,2),o[3].substr(0,1),o[3].substr(1,2),o[3].substr(3,1),o[3].substr(4,2),o[4].substr(0,1),o[4].substr(1,2),o[4].substr(3,1),o[4].substr(4,2),o[5].substr(0,1),o[5].substr(1,2),o[5].substr(3,1),o[5].substr(4,2)];return parseInt(i[t-1])},toChinaMonth:function(e){if(e>12||e<1)return-1;var t=this.nStr3[e-1];return t+="月"},toChinaDay:function(e){var t;switch(e){case 10:t="初十";break;case 20:t="二十";break;case 30:t="三十";break;default:t=this.nStr2[Math.floor(e/10)],t+=this.nStr1[e%10]}return t},getAnimal:function(e){return this.Animals[(e-4)%12]},solar2lunar:function(e,t,n){if(e<1900||e>2100)return-1;if(1900==e&&1==t&&n<31)return-1;if(e)o=new Date(e,parseInt(t)-1,n);else var o=new Date;var i,r=0,a=(e=o.getFullYear(),t=o.getMonth()+1,n=o.getDate(),(Date.UTC(o.getFullYear(),o.getMonth(),o.getDate())-Date.UTC(1900,0,31))/864e5);for(i=1900;i<2101&&a>0;i++)a-=r=this.lYearDays(i);a<0&&(a+=r,i--);var s=new Date,l=!1;s.getFullYear()==e&&s.getMonth()+1==t&&s.getDate()==n&&(l=!0);var c=o.getDay(),u=this.nStr1[c];0==c&&(c=7);var d=i,h=this.leapMonth(i),p=!1;for(i=1;i<13&&a>0;i++)h>0&&i==h+1&&0==p?(--i,p=!0,r=this.leapDays(d)):r=this.monthDays(d,i),1==p&&i==h+1&&(p=!1),a-=r;0==a&&h>0&&i==h+1&&(p?p=!1:(p=!0,--i)),a<0&&(a+=r,--i);var f=i,m=a+1,g=t-1,y=this.toGanZhiYear(d),b=this.getTerm(e,2*t-1),v=this.getTerm(e,2*t),_=this.toGanZhi(12*(e-1900)+t+11);n>=b&&(_=this.toGanZhi(12*(e-1900)+t+12));var w=!1,x=null;b==n&&(w=!0,x=this.solarTerm[2*t-2]),v==n&&(w=!0,x=this.solarTerm[2*t-1]);var S=Date.UTC(e,g,1,0,0,0,0)/864e5+25567+10,k=this.toGanZhi(S+n-1),C=this.toAstro(t,n);return{lYear:d,lMonth:f,lDay:m,Animal:this.getAnimal(d),IMonthCn:(p?"闰":"")+this.toChinaMonth(f),IDayCn:this.toChinaDay(m),cYear:e,cMonth:t,cDay:n,gzYear:y,gzMonth:_,gzDay:k,isToday:l,isLeap:p,nWeek:c,ncWeek:"星期"+u,isTerm:w,Term:x,astro:C}},lunar2solar:function(e,t,n,o){o=!!o;var i=this.leapMonth(e);if(this.leapDays(e),o&&i!=t)return-1;if(2100==e&&12==t&&n>1||1900==e&&1==t&&n<31)return-1;var r=this.monthDays(e,t),a=r;if(o&&(a=this.leapDays(e,t)),e<1900||e>2100||n>a)return-1;for(var s=0,l=1900;l0&&(s+=this.leapDays(e),u=!0),s+=this.monthDays(e,l);o&&(s+=r);var d=Date.UTC(1900,1,30,0,0,0),h=new Date(864e5*(s+n-31)+d),p=h.getUTCFullYear(),f=h.getUTCMonth()+1,m=h.getUTCDate();return this.solar2lunar(p,f,m)}};const cC=MS({name:"u-calendar",mixins:[IS,PS,sC],components:{uHeader:iC,uMonth:aC},data:()=>({months:[],monthIndex:0,listHeight:0,selected:[],scrollIntoView:"",scrollIntoViewScroll:"",scrollTop:0,innerFormatter:e=>e}),watch:{scrollIntoView:{immediate:!0,handler(e){}},selectedChange:{immediate:!0,handler(e){this.setMonth()}},show:{immediate:!0,handler(e){e?this.setMonth():this.scrollIntoView=""}}},computed:{innerMaxDate(){return Ex.number(this.maxDate)?Number(this.maxDate):this.maxDate},innerMinDate(){return Ex.number(this.minDate)?Number(this.minDate):this.minDate},selectedChange(){return[this.innerMinDate,this.innerMaxDate,this.defaultDate]},subtitle(){return this.months.length?"zh-Hans"==Dp()||"zh-Hant"==Dp()?this.months[this.monthIndex].year+"年"+(this.months[this.monthIndex].month<10?"0"+this.months[this.monthIndex].month:this.months[this.monthIndex].month)+"月":(this.months[this.monthIndex].month<10?"0"+this.months[this.monthIndex].month:this.months[this.monthIndex].month)+"/"+this.months[this.monthIndex].year:""},buttonDisabled(){return"range"===this.mode&&this.selected.length<=1}},mounted(){this.start=Date.now(),this.init()},emits:["confirm","close"],methods:{addUnit:Yx,setFormatter(e){this.innerFormatter=e},monthSelected(e,t="init"){if(this.selected=e,!this.showConfirm&&("multiple"===this.mode||"single"===this.mode||"range"===this.mode&&this.selected.length>=2)){if("init"===t)return;"tap"===t&&this.$emit("confirm",this.selected)}},init(){if(this.innerMaxDate&&this.innerMinDate&&new Date(this.innerMaxDate).getTime(){let r=i+1;const a=rC(e).add(o,"month").date(r).day(),s=rC(e).add(o,"month").date(r).format("YYYY-MM-DD");let l="";if(this.showLunar){l=lC.solar2lunar(rC(s).year(),rC(s).month()+1,rC(s).date()).IDayCn}let c={day:r,week:a,disabled:rC(s).isBefore(rC(e).format("YYYY-MM-DD"))||rC(s).isAfter(rC(t).format("YYYY-MM-DD")),date:new Date(s),bottomInfo:l,dot:!1,month:rC(e).add(o,"month").month()+1};return(this.formatter||this.innerFormatter)(c)}),month:rC(e).add(o,"month").month()+1,year:rC(e).add(o,"month").year()})},scrollIntoDefaultMonth(e){const t=this.months.findIndex(({year:t,month:n})=>`${t}-${n=sS(n)}`===e);-1!==t&&this.$nextTick(()=>{this.scrollIntoView=`month-${t}`,this.scrollIntoViewScroll=this.scrollIntoView})},onScroll(e){const t=Math.max(0,e.detail.scrollTop);for(let n=0;n=(this.months[n].top||this.listHeight)&&(this.monthIndex=n,this.scrollIntoViewScroll=`month-${n}`)},updateMonthTop(e=[]){if(e.map((e,t)=>{this.months[t].top=e}),!this.defaultDate){const e=rC().format("YYYY-MM");return void this.scrollIntoDefaultMonth(e)}let t=rC().format("YYYY-MM");t=Ex.array(this.defaultDate)?rC(this.defaultDate[0]).format("YYYY-MM"):rC(this.defaultDate).format("YYYY-MM"),this.scrollIntoDefaultMonth(t)}}},[["render",function(e,t,n,o,i,r){const a=ko("uHeader"),s=ko("uMonth"),l=Og,c=DS(Ao("u-button"),nC),u=Qg,d=DS(Ao("u-popup"),pk);return Sr(),Ir(d,{show:e.show,mode:"bottom",closeable:!e.pageInline,onClose:r.close,round:e.round,pageInline:e.pageInline,closeOnClickOverlay:e.closeOnClickOverlay},{default:bo(()=>[Lr(u,{class:"u-calendar"},{default:bo(()=>[Lr(a,{title:e.title,subtitle:r.subtitle,showSubtitle:e.showSubtitle,showTitle:e.showTitle,weekText:e.weekText},null,8,["title","subtitle","showSubtitle","showTitle","weekText"]),Lr(l,{style:ze({height:r.addUnit(i.listHeight,"px")}),"scroll-y":"",onScroll:r.onScroll,"scroll-top":i.scrollTop,scrollIntoView:i.scrollIntoView},{default:bo(()=>[Lr(s,{color:e.color,rowHeight:e.rowHeight,showMark:e.showMark,months:i.months,mode:e.mode,maxCount:e.maxCount,startText:e.startText,endText:e.endText,defaultDate:e.defaultDate,minDate:r.innerMinDate,maxDate:r.innerMaxDate,maxMonth:e.monthNum,readonly:e.readonly,maxRange:e.maxRange,rangePrompt:e.rangePrompt,showRangePrompt:e.showRangePrompt,allowSameDay:e.allowSameDay,forbidDays:e.forbidDays,forbidDaysToast:e.forbidDaysToast,monthFormat:e.monthFormat,ref:"month",onMonthSelected:r.monthSelected,onUpdateMonthTop:r.updateMonthTop},null,8,["color","rowHeight","showMark","months","mode","maxCount","startText","endText","defaultDate","minDate","maxDate","maxMonth","readonly","maxRange","rangePrompt","showRangePrompt","allowSameDay","forbidDays","forbidDaysToast","monthFormat","onMonthSelected","onUpdateMonthTop"])]),_:1},8,["style","onScroll","scroll-top","scrollIntoView"]),e.showConfirm?Ti(e.$slots,"footer",{key:0},()=>[Lr(u,{class:"u-calendar__confirm"},{default:bo(()=>[Lr(c,{shape:"circle",text:r.buttonDisabled?e.confirmDisabledText:e.confirmText,color:e.color,onClick:r.confirm,disabled:r.buttonDisabled},null,8,["text","color","onClick","disabled"])]),_:1})],!0):zr("",!0)]),_:3})]),_:3},8,["show","closeable","onClose","round","pageInline","closeOnClickOverlay"])}],["__scopeId","data-v-4689b26a"]]),uC=Object.freeze(Object.defineProperty({__proto__:null,default:cC},Symbol.toStringTag,{value:"Module"})),dC={props:{random:{type:Boolean,default:!1},autoChange:{type:Boolean,default:!1}}};const hC=MS({name:"u-car-keyboard",mixins:[IS,PS,dC],data:()=>({abc:!1}),computed:{areaList(){let e=["京","沪","粤","津","冀","豫","云","辽","黑","湘","皖","鲁","苏","浙","赣","鄂","桂","甘","晋","陕","蒙","吉","闽","贵","渝","川","青","琼","宁","挂","藏","港","澳","新","使","学"],t=[];return this.random&&(e=eS(e)),t[0]=e.slice(0,10),t[1]=e.slice(10,20),t[2]=e.slice(20,30),t[3]=e.slice(30,36),t},engKeyBoardList(){let e=[1,2,3,4,5,6,7,8,9,0,"Q","W","E","R","T","Y","U","I","O","P","A","S","D","F","G","H","J","K","L","Z","X","C","V","B","N","M"],t=[];return this.random&&(e=eS(e)),t[0]=e.slice(0,10),t[1]=e.slice(10,20),t[2]=e.slice(20,30),t[3]=e.slice(30,36),t}},emits:["change","backspace"],methods:{carInputClick(e,t){let n="";n=this.abc?this.engKeyBoardList[e][t]:this.areaList[e][t],!this.abc&&this.autoChange&&Fx(200).then(()=>this.abc=!0),this.$emit("change",n)},changeCarInputMode(){this.abc=!this.abc},backspaceClick(){this.$emit("backspace"),clearInterval(this.timer),this.timer=null,this.timer=setInterval(()=>{this.$emit("backspace")},250)},clearTimer(){clearInterval(this.timer),this.timer=null}}},[["render",function(e,t,n,o,i,r){const a=Hg,s=Qg,l=DS(Ao("up-icon"),LS);return Sr(),Ir(s,{class:"u-keyboard",onTouchmove:vs(e.noop,["stop","prevent"])},{default:bo(()=>[(Sr(!0),Tr(yr,null,Ai(i.abc?r.engKeyBoardList:r.areaList,(e,t)=>(Sr(),Ir(s,{key:t,class:$e(["u-keyboard__button",[t+1===4&&"u-keyboard__button--center"]]),index:t},{default:bo(()=>[3===t?(Sr(),Ir(s,{key:0,class:"u-keyboard__button__inner-wrapper"},{default:bo(()=>[Lr(s,{class:"u-keyboard__button__inner-wrapper__left","hover-class":"u-hover-class","hover-stay-time":200,onClick:r.changeCarInputMode},{default:bo(()=>[Lr(a,{class:$e(["u-keyboard__button__inner-wrapper__left__lang",[!i.abc&&"u-keyboard__button__inner-wrapper__left__lang--active"]])},{default:bo(()=>[Dr("中")]),_:1},8,["class"]),Lr(a,{class:"u-keyboard__button__inner-wrapper__left__line"},{default:bo(()=>[Dr("/")]),_:1}),Lr(a,{class:$e(["u-keyboard__button__inner-wrapper__left__lang",[i.abc&&"u-keyboard__button__inner-wrapper__left__lang--active"]])},{default:bo(()=>[Dr("英")]),_:1},8,["class"])]),_:1},8,["onClick"])]),_:1})):zr("",!0),(Sr(!0),Tr(yr,null,Ai(e,(e,n)=>(Sr(),Ir(s,{class:"u-keyboard__button__inner-wrapper",key:n},{default:bo(()=>[Lr(s,{class:"u-keyboard__button__inner-wrapper__inner","hover-stay-time":200,onClick:e=>r.carInputClick(t,n),"hover-class":"u-hover-class"},{default:bo(()=>[Lr(a,{class:"u-keyboard__button__inner-wrapper__inner__text"},{default:bo(()=>[Dr(K(e),1)]),_:2},1024)]),_:2},1032,["onClick"])]),_:2},1024))),128)),3===t?(Sr(),Ir(s,{key:1,onTouchstart:r.backspaceClick,onTouchend:r.clearTimer,class:"u-keyboard__button__inner-wrapper"},{default:bo(()=>[Lr(s,{class:"u-keyboard__button__inner-wrapper__right","hover-class":"u-hover-class","hover-stay-time":200},{default:bo(()=>[Lr(l,{size:"28",name:"backspace",color:"#303133"})]),_:1})]),_:1},8,["onTouchstart","onTouchend"])):zr("",!0)]),_:2},1032,["index","class"]))),128))]),_:1},8,["onTouchmove"])}],["__scopeId","data-v-bd8e2bb9"]]),pC=Object.freeze(Object.defineProperty({__proto__:null,default:hC},Symbol.toStringTag,{value:"Module"})),fC={props:{full:{type:Boolean,default:()=>CS.card.full},title:{type:String,default:()=>CS.card.title},titleColor:{type:String,default:()=>CS.card.titleColor},titleSize:{type:[Number,String],default:()=>CS.card.titleSize},subTitle:{type:String,default:()=>CS.card.subTitle},subTitleColor:{type:String,default:()=>CS.card.subTitleColor},subTitleSize:{type:[Number,String],default:()=>CS.card.subTitleSize},border:{type:Boolean,default:()=>CS.card.border},index:{type:[Number,String,Object],default:()=>CS.card.index},margin:{type:String,default:()=>CS.card.margin},borderRadius:{type:[Number,String],default:()=>CS.card.borderRadius},headStyle:{type:Object,default:()=>CS.card.headStyle},bodyStyle:{type:Object,default:()=>CS.card.bodyStyle},footStyle:{type:Object,default:()=>CS.card.footStyle},headBorderBottom:{type:Boolean,default:()=>CS.card.headBorderBottom},footBorderTop:{type:Boolean,default:()=>CS.card.footBorderTop},thumb:{type:String,default:()=>CS.card.thumb},thumbWidth:{type:[String,Number],default:()=>CS.card.thumbWidth},thumbCircle:{type:Boolean,default:()=>CS.card.thumbCircle},padding:{type:[String,Number],default:()=>CS.card.padding},paddingHead:{type:[String,Number],default:()=>CS.card.paddingHead},paddingBody:{type:[String,Number],default:()=>CS.card.paddingBody},paddingFoot:{type:[String,Number],default:()=>CS.card.paddingFoot},showHead:{type:Boolean,default:()=>CS.card.showHead},showFoot:{type:Boolean,default:()=>CS.card.showFoot},boxShadow:{type:String,default:()=>CS.card.boxShadow}}};const mC=MS({name:"up-card",data:()=>({}),mixins:[IS,PS,fC],emits:["click","head-click","body-click","foot-click"],methods:{addStyle:Gx,addUnit:Yx,getPx:zx,click(){this.$emit("click",this.index)},headClick(){this.$emit("head-click",this.index)},bodyClick(){this.$emit("body-click",this.index)},footClick(){this.$emit("foot-click",this.index)}}},[["render",function(e,t,n,o,i,r){const a=xm,s=Hg,l=Qg;return Sr(),Ir(l,{class:$e(["u-card",{"u-border":e.border,"u-card-full":e.full,"u-card--border":r.getPx(e.borderRadius)>0}]),onClick:vs(r.click,["stop"]),style:ze({borderRadius:r.addUnit(e.borderRadius),margin:e.margin,boxShadow:e.boxShadow})},{default:bo(()=>[e.showHead?(Sr(),Ir(l,{key:0,class:$e(["u-card__head",{"u-border-bottom":e.headBorderBottom}]),style:ze([{padding:r.addUnit(e.paddingHead||e.padding)},e.headStyle]),onClick:r.headClick},{default:bo(()=>[e.$slots.head?Ti(e.$slots,"head",{key:1},void 0,!0):(Sr(),Ir(l,{key:0,class:"u-flex u-flex-between"},{default:bo(()=>[e.title?(Sr(),Ir(l,{key:0,class:"u-card__head--left u-flex u-line-1"},{default:bo(()=>[e.thumb?(Sr(),Ir(a,{key:0,src:e.thumb,class:"u-card__head--left__thumb",mode:"aspectFill",style:ze({height:r.addUnit(e.thumbWidth),width:r.addUnit(e.thumbWidth),borderRadius:e.thumbCircle?"50px":"4px"})},null,8,["src","style"])):zr("",!0),Lr(s,{class:"u-card__head--left__title u-line-1",style:ze({fontSize:r.addUnit(e.titleSize),color:e.titleColor})},{default:bo(()=>[Dr(K(e.title),1)]),_:1},8,["style"])]),_:1})):zr("",!0),e.subTitle?(Sr(),Ir(l,{key:1,class:"u-card__head--right u-line-1"},{default:bo(()=>[Lr(s,{class:"u-card__head__title__text",style:ze({fontSize:r.addUnit(e.subTitleSize),color:e.subTitleColor})},{default:bo(()=>[Dr(K(e.subTitle),1)]),_:1},8,["style"])]),_:1})):zr("",!0)]),_:1}))]),_:3},8,["style","class","onClick"])):zr("",!0),Lr(l,{onClick:r.bodyClick,class:"u-card__body",style:ze([{padding:r.addUnit(e.paddingBody||e.padding)},e.bodyStyle])},{default:bo(()=>[Ti(e.$slots,"body",{},void 0,!0)]),_:3},8,["onClick","style"]),e.showFoot?(Sr(),Ir(l,{key:1,class:$e(["u-card__foot",{"u-border-top":e.footBorderTop}]),onClick:r.footClick,style:ze([{padding:e.$slots.foot?r.addUnit(e.paddingFoot||e.padding):0},e.footStyle])},{default:bo(()=>[Ti(e.$slots,"foot",{},void 0,!0)]),_:3},8,["onClick","style","class"])):zr("",!0)]),_:3},8,["onClick","class","style"])}],["__scopeId","data-v-e575afb6"]]),gC=Object.freeze(Object.defineProperty({__proto__:null,default:mC},Symbol.toStringTag,{value:"Module"})),yC={props:{title:{type:[String,Number],default:()=>CS.stepsItem.title},desc:{type:[String,Number],default:()=>CS.stepsItem.desc},iconSize:{type:[String,Number],default:()=>CS.stepsItem.iconSize},error:{type:Boolean,default:()=>CS.stepsItem.error},itemStyle:{type:[Object],default:{}}}};const bC=MS({name:"u-steps-item",mixins:[IS,PS,yC],data:()=>({index:0,childLength:0,showLine:!1,size:{height:0,width:0},parentData:{direction:"row",current:0,activeColor:"",inactiveColor:"",activeIcon:"",inactiveIcon:"",dot:!1}}),watch:{parentData(e,t){}},created(){this.init()},computed:{lineStyle(){var e,t;const n={};return"row"===this.parentData.direction?(n.width=this.size.width+"px",n.left=this.size.width/2+"px"):n.height=this.size.height+"px",n.backgroundColor=(null==(t=null==(e=this.parent.children)?void 0:e[this.index+1])?void 0:t.error)?ux.error:this.indexe?"finish":"wait"},statusColor(){let e="";switch(this.statusClass){case"finish":e=this.parentData.activeColor;break;case"error":e=ux.error;break;case"process":e=this.parentData.dot?this.parentData.activeColor:"transparent";break;default:e=this.parentData.inactiveColor}return e},contentStyle(){const e={};return"column"===this.parentData.direction?(e.marginLeft=this.parentData.dot?"2px":"6px",e.marginTop=this.parentData.dot?"0px":"6px"):(e.marginTop=this.parentData.dot?"2px":"6px",e.marginLeft=this.parentData.dot?"2px":"6px"),e}},mounted(){this.parent&&this.parent.updateFromChild(),Fx().then(()=>{this.getStepsItemRect()})},methods:{init(){this.updateParentData(),this.parent&&(this.index=this.parent.children.indexOf(this),this.childLength=this.parent.children.length)},updateParentData(){this.getParentData("u-steps")},updateFromParent(){this.init()},getStepsItemRect(){this.$uGetRect(".u-steps-item").then(e=>{this.size=e})}}},[["render",function(e,t,n,o,i,r){const a=Qg,s=DS(Ao("up-icon"),LS),l=Hg,c=DS(Ao("up-text"),Pk);return Sr(),Ir(a,{class:$e(["u-steps-item",[`u-steps-item--${i.parentData.direction}`]]),ref:"u-steps-item"},{default:bo(()=>[i.index+1[Ti(e.$slots,"icon",{},()=>[i.parentData.dot?(Sr(),Ir(a,{key:0,class:"u-steps-item__wrapper__dot",style:ze({backgroundColor:r.statusColor})},null,8,["style"])):i.parentData.activeIcon||i.parentData.inactiveIcon?(Sr(),Ir(a,{key:1,class:"u-steps-item__wrapper__icon"},{default:bo(()=>[Lr(s,{name:i.index<=i.parentData.current?i.parentData.activeIcon:i.parentData.inactiveIcon,size:e.iconSize,color:i.index<=i.parentData.current?i.parentData.activeColor:i.parentData.inactiveColor},null,8,["name","size","color"])]),_:1})):(Sr(),Ir(a,{key:2,style:ze({backgroundColor:"process"===r.statusClass?i.parentData.activeColor:"transparent",borderColor:r.statusColor}),class:"u-steps-item__wrapper__circle"},{default:bo(()=>["process"===r.statusClass||"wait"===r.statusClass?(Sr(),Ir(l,{key:0,class:"u-steps-item__wrapper__circle__text",style:ze({color:i.index==i.parentData.current?"#ffffff":i.parentData.inactiveColor})},{default:bo(()=>[Dr(K(i.index+1),1)]),_:1},8,["style"])):(Sr(),Ir(s,{key:1,color:"error"===r.statusClass?"error":i.parentData.activeColor,size:"12",name:"error"===r.statusClass?"close":"checkmark"},null,8,["color","name"]))]),_:1},8,["style"]))],!0)]),_:3},8,["class","style"]),Lr(a,{class:$e(["u-steps-item__content",[`u-steps-item__content--${i.parentData.direction}`,i.parentData.current==i.index?"u-steps-item__content--current":""]]),style:ze([r.contentStyle])},{default:bo(()=>[Ti(e.$slots,"content",{index:i.index},void 0,!0),e.$slots.content?zr("",!0):(Sr(),Tr(yr,{key:0},[Lr(a,{class:"u-steps-item__content__title"},{default:bo(()=>[Ti(e.$slots,"title",{},void 0,!0),e.$slots.title?zr("",!0):(Sr(),Ir(c,{key:0,text:e.title,lineHeight:"20px",type:i.parentData.current==i.index?"main":"content",size:i.parentData.current==i.index?14:13},null,8,["text","type","size"]))]),_:3}),Lr(a,{class:"u-steps-item__content__desc"},{default:bo(()=>[Ti(e.$slots,"desc",{},void 0,!0),e.$slots.desc?zr("",!0):(Sr(),Ir(c,{key:0,text:e.desc,type:"tips",size:"12"},null,8,["text"]))]),_:3})],64))]),_:3},8,["class","style"])]),_:3},8,["class"])}],["__scopeId","data-v-180818a8"]]),vC=Object.freeze(Object.defineProperty({__proto__:null,default:bC},Symbol.toStringTag,{value:"Module"})),_C={props:{direction:{type:String,default:()=>CS.steps.direction},current:{type:[String,Number],default:()=>CS.steps.current},activeColor:{type:String,default:()=>CS.steps.activeColor},inactiveColor:{type:String,default:()=>CS.steps.inactiveColor},activeIcon:{type:String,default:()=>CS.steps.activeIcon},inactiveIcon:{type:String,default:()=>CS.steps.inactiveIcon},dot:{type:Boolean,default:()=>CS.steps.dot}}};const wC=MS({name:"u-steps",mixins:[IS,PS,_C],data:()=>({}),watch:{children(){this.updateChildData()},parentData(){this.updateChildData()}},computed:{parentData(){return[this.current,this.direction,this.activeColor,this.inactiveColor,this.activeIcon,this.inactiveIcon,this.dot]}},methods:{updateChildData(){this.children.map(e=>{Ex.func((e||{}).updateFromParent())&&e.updateFromParent()})},updateFromChild(){this.updateChildData()}},created(){this.children=[]},options:{virtualHost:!1}},[["render",function(e,t,n,o,i,r){const a=Qg;return Sr(),Ir(a,{class:$e(["u-steps",[`u-steps--${e.direction}`]])},{default:bo(()=>[Ti(e.$slots,"default",{},void 0,!0)]),_:3},8,["class"])}],["__scopeId","data-v-334eeb4c"]]),xC=Object.freeze(Object.defineProperty({__proto__:null,default:wC},Symbol.toStringTag,{value:"Module"})),SC={props:{duration:{type:Number,default:()=>CS.tabs.duration},list:{type:Array,default:()=>CS.tabs.list},lineColor:{type:String,default:()=>CS.tabs.lineColor},activeStyle:{type:[String,Object],default:()=>CS.tabs.activeStyle},inactiveStyle:{type:[String,Object],default:()=>CS.tabs.inactiveStyle},lineWidth:{type:[String,Number],default:()=>CS.tabs.lineWidth},lineHeight:{type:[String,Number],default:()=>CS.tabs.lineHeight},lineBgSize:{type:String,default:()=>CS.tabs.lineBgSize},itemStyle:{type:[String,Object],default:()=>CS.tabs.itemStyle},scrollable:{type:Boolean,default:()=>CS.tabs.scrollable},current:{type:[Number,String],default:()=>CS.tabs.current},keyName:{type:String,default:()=>CS.tabs.keyName},iconStyle:{type:[String,Object],default:()=>CS.tabs.iconStyle}}};const kC=MS({name:"u-tabs",mixins:[IS,PS,SC],data:()=>({firstTime:!0,scrollLeft:0,scrollViewWidth:0,lineOffsetLeft:0,tabsRect:{left:0},innerCurrent:0,moving:!1}),watch:{current:{immediate:!0,handler(e,t){e!==this.innerCurrent&&(this.innerCurrent="string"==typeof e?parseInt(e):e,this.$nextTick(()=>{this.resize()}))}},list(){this.$nextTick(()=>{this.resize()})}},computed:{textStyle(){return e=>{const t={},n=e==this.innerCurrent?Gx(this.activeStyle):Gx(this.inactiveStyle);return this.list[e].disabled&&(t.color="#c8c9cc"),Kx(n,t)}},propsBadge:()=>CS.badge},async mounted(){this.init(),this.windowResizeCallback=e=>{this.init()},Lp(this.windowResizeCallback)},beforeUnmount(){Rp(this.windowResizeCallback)},emits:["click","longPress","change","update:current"],methods:{addStyle:Gx,addUnit:Yx,setLineLeft(){const e=this.list[this.innerCurrent];if(!e)return;let t=this.list.slice(0,this.innerCurrent).reduce((e,t)=>e+t.rect.width,0);const n=zx(this.lineWidth);this.lineOffsetLeft=t+(e.rect.width-n)/2,this.firstTime&&setTimeout(()=>{this.firstTime=!1},10)},animation(e,t=0){},clickHandler(e,t){this.$emit("click",{...e,index:t},t),e.disabled||this.innerCurrent!=t&&(this.innerCurrent=t,this.$nextTick(()=>{this.resize()}),this.$emit("update:current",t),this.$emit("change",{...e,index:t},t))},longPressHandler(e,t){this.$emit("longPress",{...e,index:t})},init(){Fx().then(()=>{this.resize()})},setScrollLeft(){this.innerCurrent<0&&(this.innerCurrent=0);const e=this.list[this.innerCurrent],t=this.list.slice(0,this.innerCurrent).reduce((e,t)=>e+t.rect.width,0),n=Vx().windowWidth;let o=t-(this.tabsRect.width-e.rect.width)/2-(n-this.tabsRect.right)/2+this.tabsRect.left/2;o=Math.min(o,this.scrollViewWidth-this.tabsRect.width),this.scrollLeft=Math.max(0,o)},resize(){0!==this.list.length&&Promise.all([this.getTabsRect(),this.getAllItemRect()]).then(([e,t=[]])=>{e.left>e.width&&(e.right=e.right-Math.floor(e.left/e.width)*e.width,e.left=e.left%e.width),this.tabsRect=e,this.scrollViewWidth=0,t.map((e,t)=>{this.scrollViewWidth+=e.width,this.list[t].rect=e}),this.setLineLeft(),this.setScrollLeft()})},getTabsRect(){return new Promise(e=>{this.queryRect("u-tabs__wrapper__scroll-view").then(t=>e(t))})},getAllItemRect(){return new Promise(e=>{const t=this.list.map((e,t)=>this.queryRect(`u-tabs__wrapper__nav__item-${t}`,!0));Promise.all(t).then(t=>e(t))})},queryRect(e,t){return new Promise(t=>{this.$uGetRect(`.${e}`).then(e=>{t(e)})})}}},[["render",function(e,t,n,o,i,r){const a=DS(Ao("up-icon"),LS),s=Qg,l=Hg,c=DS(Ao("u-badge"),Qk),u=Og;return Sr(),Ir(s,{class:$e(["u-tabs",[e.customClass]])},{default:bo(()=>[Lr(s,{class:"u-tabs__wrapper"},{default:bo(()=>[Ti(e.$slots,"left",{},void 0,!0),Lr(s,{class:"u-tabs__wrapper__scroll-view-wrapper"},{default:bo(()=>[Lr(u,{"scroll-x":e.scrollable,"scroll-left":i.scrollLeft,"scroll-with-animation":"",class:"u-tabs__wrapper__scroll-view","show-scrollbar":!1,ref:"u-tabs__wrapper__scroll-view"},{default:bo(()=>[Lr(s,{class:"u-tabs__wrapper__nav",ref:"u-tabs__wrapper__nav"},{default:bo(()=>[(Sr(!0),Tr(yr,null,Ai(e.list,(t,n)=>(Sr(),Ir(s,{class:$e(["u-tabs__wrapper__nav__item",[`u-tabs__wrapper__nav__item-${n}`,t.disabled&&"u-tabs__wrapper__nav__item--disabled",i.innerCurrent==n?"u-tabs__wrapper__nav__item-active":""]]),key:n,onClick:e=>r.clickHandler(t,n),onLongpress:e=>r.longPressHandler(t,n),ref_for:!0,ref:`u-tabs__wrapper__nav__item-${n}`,style:ze([r.addStyle(e.itemStyle),{flex:e.scrollable?"":1}])},{default:bo(()=>[e.$slots.icon?Ti(e.$slots,"icon",{key:0,item:t,keyName:e.keyName,index:n},void 0,!0):(Sr(),Tr(yr,{key:1},[t.icon?(Sr(),Ir(s,{key:0,class:"u-tabs__wrapper__nav__item__prefix-icon"},{default:bo(()=>[Lr(a,{name:t.icon,customStyle:r.addStyle(e.iconStyle)},null,8,["name","customStyle"])]),_:2},1024)):zr("",!0)],64)),e.$slots.content?Ti(e.$slots,"content",{key:2,item:t,keyName:e.keyName,index:n},void 0,!0):e.$slots.content||!e.$slots.default&&!e.$slots.$default?(Sr(),Ir(l,{key:4,class:$e([[t.disabled&&"u-tabs__wrapper__nav__item__text--disabled"],"u-tabs__wrapper__nav__item__text"]),style:ze([r.textStyle(n)])},{default:bo(()=>[Dr(K(t[e.keyName]),1)]),_:2},1032,["class","style"])):Ti(e.$slots,"default",{key:3,item:t,keyName:e.keyName,index:n},void 0,!0),Lr(c,{show:!(!t.badge||!(t.badge.show||t.badge.isDot||t.badge.value)),isDot:t.badge&&t.badge.isDot||r.propsBadge.isDot,value:t.badge&&t.badge.value||r.propsBadge.value,max:t.badge&&t.badge.max||r.propsBadge.max,type:t.badge&&t.badge.type||r.propsBadge.type,showZero:t.badge&&t.badge.showZero||r.propsBadge.showZero,bgColor:t.badge&&t.badge.bgColor||r.propsBadge.bgColor,color:t.badge&&t.badge.color||r.propsBadge.color,shape:t.badge&&t.badge.shape||r.propsBadge.shape,numberType:t.badge&&t.badge.numberType||r.propsBadge.numberType,inverted:t.badge&&t.badge.inverted||r.propsBadge.inverted,customStyle:"margin-left: 4px;"},null,8,["show","isDot","value","max","type","showZero","bgColor","color","shape","numberType","inverted"])]),_:2},1032,["onClick","onLongpress","style","class"]))),128)),Lr(s,{class:"u-tabs__wrapper__nav__line",ref:"u-tabs__wrapper__nav__line",style:ze([{width:r.addUnit(e.lineWidth),transform:`translate(${i.lineOffsetLeft}px)`,transitionDuration:`${i.firstTime?0:e.duration}ms`,height:r.addUnit(e.lineHeight),background:e.lineColor,backgroundSize:e.lineBgSize}])},null,8,["style"])]),_:3},512)]),_:3},8,["scroll-x","scroll-left"])]),_:3}),Ti(e.$slots,"right",{},void 0,!0)]),_:3})]),_:3},8,["class"])}],["__scopeId","data-v-440577ec"]]),CC=Object.freeze(Object.defineProperty({__proto__:null,default:kC},Symbol.toStringTag,{value:"Module"})),AC={props:{title:{type:[String,Number],default:()=>CS.cell.title},label:{type:[String,Number],default:()=>CS.cell.label},value:{type:[String,Number],default:()=>CS.cell.value},icon:{type:String,default:()=>CS.cell.icon},disabled:{type:Boolean,default:()=>CS.cell.disabled},border:{type:Boolean,default:()=>CS.cell.border},center:{type:Boolean,default:()=>CS.cell.center},url:{type:String,default:()=>CS.cell.url},linkType:{type:String,default:()=>CS.cell.linkType},clickable:{type:Boolean,default:()=>CS.cell.clickable},isLink:{type:Boolean,default:()=>CS.cell.isLink},required:{type:Boolean,default:()=>CS.cell.required},rightIcon:{type:String,default:()=>CS.cell.rightIcon},arrowDirection:{type:String,default:()=>CS.cell.arrowDirection},iconStyle:{type:[Object,String],default:()=>CS.cell.iconStyle},rightIconStyle:{type:[Object,String],default:()=>CS.cell.rightIconStyle},titleStyle:{type:[Object,String],default:()=>CS.cell.titleStyle},size:{type:String,default:()=>CS.cell.size},stop:{type:Boolean,default:()=>CS.cell.stop},name:{type:[Number,String],default:()=>CS.cell.name}}};const TC=MS({name:"u-cell",data:()=>({}),mixins:[IS,PS,AC],computed:{titleTextStyle(){return Gx(this.titleStyle)}},emits:["click"],methods:{addStyle:Gx,testEmpty:Ex.empty,clickHandler(e){this.disabled||(this.$emit("click",{name:this.name}),this.openPage(),this.stop&&this.preventEvent(e))}}},[["render",function(e,t,n,o,i,r){const a=DS(Ao("up-icon"),LS),s=Qg,l=Hg,c=DS(Ao("u-line"),VS);return Sr(),Ir(s,{class:$e(["u-cell",[e.customClass]]),style:ze([r.addStyle(e.customStyle)]),"hover-class":e.disabled||!e.clickable&&!e.isLink?"":"u-cell--clickable","hover-stay-time":250,onClick:r.clickHandler},{default:bo(()=>[Lr(s,{class:$e(["u-cell__body",[e.center&&"u-cell--center","large"===e.size&&"u-cell__body--large"]])},{default:bo(()=>[Lr(s,{class:"u-cell__body__content"},{default:bo(()=>[e.$slots.icon||e.icon?(Sr(),Ir(s,{key:0,class:"u-cell__left-icon-wrap"},{default:bo(()=>[e.$slots.icon?Ti(e.$slots,"icon",{key:0},void 0,!0):(Sr(),Ir(a,{key:1,name:e.icon,"custom-style":e.iconStyle,size:"large"===e.size?22:18},null,8,["name","custom-style","size"]))]),_:3})):zr("",!0),Lr(s,{class:"u-cell__title"},{default:bo(()=>[e.$slots.title||!e.title?Ti(e.$slots,"title",{key:0},void 0,!0):(Sr(),Ir(l,{key:1,class:$e(["u-cell__title-text",[e.required&&"u-cell--required",e.disabled&&"u-cell--disabled","large"===e.size&&"u-cell__title-text--large"]]),style:ze([r.titleTextStyle])},{default:bo(()=>[Dr(K(e.title),1)]),_:1},8,["style","class"])),Ti(e.$slots,"label",{},()=>[e.label?(Sr(),Ir(l,{key:0,class:$e(["u-cell__label",[e.disabled&&"u-cell--disabled","large"===e.size&&"u-cell__label--large"]])},{default:bo(()=>[Dr(K(e.label),1)]),_:1},8,["class"])):zr("",!0)],!0)]),_:3})]),_:3}),Ti(e.$slots,"value",{},()=>[r.testEmpty(e.value)?zr("",!0):(Sr(),Ir(l,{key:0,class:$e(["u-cell__value",[e.disabled&&"u-cell--disabled","large"===e.size&&"u-cell__value--large"]])},{default:bo(()=>[Dr(K(e.value),1)]),_:1},8,["class"]))],!0),e.$slots["right-icon"]||e.isLink?(Sr(),Ir(s,{key:0,class:$e(["u-cell__right-icon-wrap",[`u-cell__right-icon-wrap--${e.arrowDirection}`]])},{default:bo(()=>[e.rightIcon&&!e.$slots["right-icon"]?(Sr(),Ir(a,{key:0,name:e.rightIcon,"custom-style":e.rightIconStyle,color:e.disabled?"#c8c9cc":"info",size:"large"===e.size?18:16},null,8,["name","custom-style","color","size"])):Ti(e.$slots,"right-icon",{key:1},void 0,!0)]),_:3},8,["class"])):zr("",!0),e.$slots.righticon?(Sr(),Ir(s,{key:1,class:$e(["u-cell__right-icon-wrap",[`u-cell__right-icon-wrap--${e.arrowDirection}`]])},{default:bo(()=>[Ti(e.$slots,"righticon",{},void 0,!0)]),_:3},8,["class"])):zr("",!0)]),_:3},8,["class"]),e.border?(Sr(),Ir(c,{key:0})):zr("",!0)]),_:3},8,["class","style","hover-class","onClick"])}],["__scopeId","data-v-96e46153"]]),IC=Object.freeze(Object.defineProperty({__proto__:null,default:TC},Symbol.toStringTag,{value:"Module"})),EC={props:{title:{type:String,default:()=>CS.cellGroup.title},border:{type:Boolean,default:()=>CS.cellGroup.border}}};const PC=MS({name:"u-cell-group",mixins:[IS,PS,EC],methods:{addStyle:Gx}},[["render",function(e,t,n,o,i,r){const a=Hg,s=Qg,l=DS(Ao("u-line"),VS);return Sr(),Ir(s,{style:ze([r.addStyle(e.customStyle)]),class:$e([[e.customClass],"u-cell-group"])},{default:bo(()=>[e.title?(Sr(),Ir(s,{key:0,class:"u-cell-group__title"},{default:bo(()=>[Ti(e.$slots,"title",{},()=>[Lr(a,{class:"u-cell-group__title__text"},{default:bo(()=>[Dr(K(e.title),1)]),_:1})],!0)]),_:3})):zr("",!0),Lr(s,{class:"u-cell-group__wrapper"},{default:bo(()=>[e.border?(Sr(),Ir(l,{key:0})):zr("",!0),Ti(e.$slots,"default",{},void 0,!0)]),_:3})]),_:3},8,["style","class"])}],["__scopeId","data-v-30d1a1cf"]]),BC=Object.freeze(Object.defineProperty({__proto__:null,default:PC},Symbol.toStringTag,{value:"Module"}));const OC=MS({name:"up-cascader",props:{show:{type:Boolean,default:!1},data:{type:Array,default:()=>[]},modelValue:{type:Array,default:()=>[]},valueKey:{type:String,default:"value"},labelKey:{type:String,default:"label"},childrenKey:{type:String,default:"children"},maskCloseAble:{type:Boolean,default:!0},zIndex:{type:[String,Number],default:0},autoClose:{type:Boolean,default:!1},headerDirection:{type:String,default:"row"},optionsCols:{type:[Number],default:2}},data:()=>({levelList:[],selectedValueIndexs:[],tabsIndex:0,popupShow:!1,confirmValues:[]}),watch:{data:{handler(){this.initLevelList()},immediate:!0},show(){this.popupShow=this.show},modelValue:{handler(){this.init()},immediate:!0}},computed:{isChange(){return this.tabsIndex>1},genTabsList(){let e=[{name:"请选择"}];for(let t=0;t0&&e.push({name:"请选择"}))}return e},uZIndex(){return this.zIndex?this.zIndex:this.$u.zIndex.popup}},emits:["update:modelValue","change","confirm"],methods:{t:mS,init(){this.modelValue&&this.modelValue.length>0&&this.setDefaultValue()},initLevelList(){this.data&&this.data.length>0&&(this.levelList=[this.data],this.selectedValueIndexs=[])},setDefaultValue(){this.selectedValueIndexs=[];let e=this.data;for(let t=0;te[this.valueKey]===n);if(-1===o)break;if(this.selectedValueIndexs.push(o),!e[o][this.childrenKey])break;e=e[o][this.childrenKey]}},close(){this.$emit("update:show",!1)},tabsChange(e){},levelChange(e,t){this.$set(this.selectedValueIndexs,e,t),this.selectedValueIndexs.splice(e+1),this.tabsIndex=Math.min(this.tabsIndex,e),this.levelList.splice(e+1);const n=this.levelList[e][t];n&&n[this.childrenKey]&&n[this.childrenKey].length>0?(this.levelList.length<=e+1?this.levelList.push(n[this.childrenKey]):this.$set(this.levelList,e+1,n[this.childrenKey]),this.tabsIndex=e+1):this.autoClose?this.emitChange():this.emitChange(!1)},emitChange(e=!0){const t=[];for(let n=0;n["column"==n.headerDirection?(Sr(),Ir(l,{key:0,class:"up-p-t-30 up-p-l-20 up-m-b-10"},{default:bo(()=>[i.popupShow?(Sr(),Ir(s,{key:0,dot:"",direction:"column",current:i.tabsIndex,"onUpdate:current":t[0]||(t[0]=e=>i.tabsIndex=e)},{default:bo(()=>[(Sr(!0),Tr(yr,null,Ai(r.genTabsList,(e,t)=>(Sr(),Ir(a,{onClick:e=>i.tabsIndex=t,title:e.name},null,8,["onClick","title"]))),256))]),_:1},8,["current"])):zr("",!0)]),_:1})):(Sr(),Ir(l,{key:1,class:"up-p-t-20 up-m-b-10"},{default:bo(()=>[i.popupShow?(Sr(),Ir(c,{key:0,list:r.genTabsList,scrollable:!0,current:i.tabsIndex,"onUpdate:current":t[1]||(t[1]=e=>i.tabsIndex=e),onChange:r.tabsChange,ref:"tabs"},null,8,["list","current","onChange"])):zr("",!0)]),_:1})),Lr(l,{class:"area-box"},{default:bo(()=>[Lr(l,{class:$e(["u-flex",{change:r.isChange}]),style:ze({transform:2==n.optionsCols&&r.isChange?"translateX(-33.3333333%)":""})},{default:bo(()=>[(Sr(!0),Tr(yr,null,Ai(i.levelList,(e,t)=>(Sr(),Tr(yr,{key:t},[2==n.optionsCols||t==i.tabsIndex?(Sr(),Ir(l,{key:0,class:"area-item",style:ze({width:2==n.optionsCols?"33.33333%":"750rpx"})},{default:bo(()=>[Lr(l,{class:"u-padding-10 u-bg-gray",style:{height:"100%"}},{default:bo(()=>[Lr(p,{"scroll-y":!0,style:{height:"100%"}},{default:bo(()=>[0===t||void 0!==i.selectedValueIndexs[t-1]?(Sr(),Ir(h,{key:0},{default:bo(()=>[(Sr(!0),Tr(yr,null,Ai(e,(e,o)=>(Sr(),Ir(d,{title:e[n.labelKey],arrow:!1,index:o,key:o,onClick:e=>r.levelChange(t,o)},{"right-icon":bo(()=>[i.selectedValueIndexs[t]===o?(Sr(),Ir(u,{key:0,size:"17",name:"checkbox-mark"})):zr("",!0)]),_:2},1032,["title","index","onClick"]))),128))]),_:2},1024)):zr("",!0)]),_:2},1024)]),_:2},1024)]),_:2},1032,["style"])):zr("",!0)],64))),128))]),_:1},8,["class","style"])]),_:1}),Lr(l,{class:"u-cascader-action up-flex up-flex-between"},{default:bo(()=>[Lr(l,{class:"u-padding-20 up-flex-fill"},{default:bo(()=>[Lr(f,{onClick:r.handleCancel,type:"default"},{default:bo(()=>[Dr(K(r.t("up.common.cancel")),1)]),_:1},8,["onClick"])]),_:1}),Lr(l,{class:"u-padding-20 up-flex-fill"},{default:bo(()=>[Lr(f,{onClick:r.handleConfirm,type:"primary"},{default:bo(()=>[Dr(K(r.t("up.common.confirm")),1)]),_:1},8,["onClick"])]),_:1})]),_:1})]),_:1},8,["show","z-index","maskCloseAble","onClose"])}],["__scopeId","data-v-1d16a557"]]),NC=Object.freeze(Object.defineProperty({__proto__:null,default:OC},Symbol.toStringTag,{value:"Module"}));const MC=MS({name:"up-cate-tab",props:{mode:{type:String,default:"follow"},height:{type:String,default:"100%"},tabList:{type:Array,default:()=>[]},tabKeyName:{type:String,default:"name"},itemKeyName:{type:String,default:"name"},current:{type:Number,default:0}},watch:{tabList:{deep:!0,handler(e,t){Fx(30),this.getMenuItemTop(),this.leftMenuStatus(this.innerCurrent)}},current(e){this.innerCurrent=e,this.leftMenuStatus(this.innerCurrent)},height(){this.getMenuItemTop(),this.leftMenuStatus(this.innerCurrent)}},emits:["update:current"],data:()=>({scrollTop:0,scrollIntoView:"",oldScrollTop:0,innerCurrent:0,menuHeight:0,menuItemHeight:0,itemId:"",menuItemPos:[],rects:[],arr:[],scrollRightTop:0,timer:null}),mounted(){this.innerCurrent=this.current,this.leftMenuStatus(this.innerCurrent),this.getMenuItemTop()},methods:{addUnit:Yx,async swichMenu(e){"follow"==this.mode&&(0==this.arr.length&&await this.getMenuItemTop(),this.scrollIntoView="item"+e),e!=this.innerCurrent&&this.$nextTick(function(){this.innerCurrent=e,this.$emit("update:current",e)})},getElRect(e,t){return new Promise((n,o)=>{Ep().in(this).select("."+e).fields({size:!0},o=>{o?(this[t]=o.height,n()):setTimeout(()=>{this.getElRect(e)},10)}).exec()})},async observer(){await this.$nextTick(),this._observerList&&this._observerList.forEach(e=>{e.disconnect()}),this._observerList=[],this.tabList.map((e,t)=>{let n=wp(this);this._observerList.push(n),n.relativeTo(".u-cate-tab__right-box",{top:10}).observe("#item"+t,e=>{if(e.intersectionRatio>0){console.log("res",e);let n=e.id?e.id.substring(4):t;this.leftMenuStatus(parseInt(n))}})})},async leftMenuStatus(e){this.innerCurrent=e,this.$emit("update:current",e),0!=this.menuHeight&&0!=this.menuItemHeight||(await this.getElRect("u-cate-tab__menu-scroll-view","menuHeight"),await this.getElRect("u-cate-tab__item","menuItemHeight")),this.scrollTop=e*this.menuItemHeight+this.menuItemHeight/2-this.menuHeight/2},async getMenuItemTop(){return new Promise(e=>{Ep().in(this).selectAll(".u-cate-tab__page-item").boundingClientRect(t=>{t.length?(this.rects=t,this.arr=[],t.forEach(e=>{this.arr.push(e.top-t[0].top)}),e()):setTimeout(()=>{this.getMenuItemTop()},100)}).exec()})},async rightScroll(e){"follow"===this.mode&&(this.oldScrollTop=e.detail.scrollTop,0==this.arr.length&&await this.getMenuItemTop(),this.timer||(this.menuHeight||await this.getElRect("u-cate-tab__menu-scroll-view","menuHeight"),setTimeout(()=>{this.timer=null;let t=e.detail.scrollTop+1;for(let e=0;e=n&&t<=o)return void this.leftMenuStatus(e)}},100)))}}},[["render",function(e,t,n,o,i,r){const a=Hg,s=Qg,l=Og,c=xm;return Sr(),Ir(s,{class:"u-cate-tab",style:ze({height:r.addUnit(n.height)})},{default:bo(()=>[Lr(s,{class:"u-cate-tab__wrap"},{default:bo(()=>[Lr(l,{class:"u-cate-tab__view u-cate-tab__menu-scroll-view","scroll-y":"","scroll-with-animation":"","scroll-top":i.scrollTop,"scroll-into-view":i.itemId},{default:bo(()=>[(Sr(!0),Tr(yr,null,Ai(n.tabList,(t,o)=>(Sr(),Ir(s,{key:o,class:$e(["u-cate-tab__item",[i.innerCurrent==o?"u-cate-tab__item-active":""]]),onClick:vs(e=>r.swichMenu(o),["stop"])},{default:bo(()=>[Ti(e.$slots,"tabItem",{item:t},void 0,!0),e.$slots.tabItem?zr("",!0):(Sr(),Ir(a,{key:0,class:"u-line-1"},{default:bo(()=>[Dr(K(t[n.tabKeyName]),1)]),_:2},1024))]),_:2},1032,["class","onClick"]))),128))]),_:3},8,["scroll-top","scroll-into-view"]),Lr(l,{"scroll-top":i.scrollRightTop,"scroll-with-animation":"","scroll-into-view":i.scrollIntoView,"scroll-y":"",class:"u-cate-tab__right-box",onScroll:r.rightScroll},{default:bo(()=>[Lr(s,{class:"u-cate-tab__right-top"},{default:bo(()=>[Ti(e.$slots,"rightTop",{tabList:n.tabList},void 0,!0)]),_:3}),Lr(s,{class:"u-cate-tab__page-view"},{default:bo(()=>[(Sr(!0),Tr(yr,null,Ai(n.tabList,(t,o)=>(Sr(),Tr(yr,{key:o},["follow"==n.mode||"tab"==n.mode&&o==i.innerCurrent?(Sr(),Ir(s,{key:0,class:"u-cate-tab__page-item",id:"item"+o},{default:bo(()=>[Ti(e.$slots,"itemList",{item:t},void 0,!0),e.$slots.itemList?zr("",!0):(Sr(),Tr(yr,{key:0},[Lr(s,{class:"item-title"},{default:bo(()=>[Lr(a,null,{default:bo(()=>[Dr(K(t[n.tabKeyName]),1)]),_:2},1024)]),_:2},1024),Lr(s,{class:"item-container"},{default:bo(()=>[(Sr(!0),Tr(yr,null,Ai(t.children,(t,o)=>Ti(e.$slots,"pageItem",{key:o,pageItem:t},()=>[Lr(s,{class:"thumb-box"},{default:bo(()=>[Lr(c,{class:"item-menu-image",src:t.icon,mode:""},null,8,["src"]),Lr(s,{class:"item-menu-name"},{default:bo(()=>[Dr(K(t[n.itemKeyName]),1)]),_:2},1024)]),_:2},1024)],!0)),128))]),_:2},1024)],64))]),_:2},1032,["id"])):zr("",!0)],64))),128))]),_:3})]),_:3},8,["scroll-top","scroll-into-view","onScroll"])]),_:3})]),_:3},8,["style"])}],["__scopeId","data-v-4550757b"]]),LC=Object.freeze(Object.defineProperty({__proto__:null,default:MC},Symbol.toStringTag,{value:"Module"})),RC={props:{name:{type:String,default:()=>CS.checkboxGroup.name},modelValue:{type:Array,default:()=>CS.checkboxGroup.value},shape:{type:String,default:()=>CS.checkboxGroup.shape},disabled:{type:Boolean,default:()=>CS.checkboxGroup.disabled},activeColor:{type:String,default:()=>CS.checkboxGroup.activeColor},inactiveColor:{type:String,default:()=>CS.checkboxGroup.inactiveColor},size:{type:[String,Number],default:()=>CS.checkboxGroup.size},placement:{type:String,default:()=>CS.checkboxGroup.placement},labelSize:{type:[String,Number],default:()=>CS.checkboxGroup.labelSize},labelColor:{type:[String],default:()=>CS.checkboxGroup.labelColor},labelDisabled:{type:Boolean,default:()=>CS.checkboxGroup.labelDisabled},iconColor:{type:String,default:()=>CS.checkboxGroup.iconColor},iconSize:{type:[String,Number],default:()=>CS.checkboxGroup.iconSize},iconPlacement:{type:String,default:()=>CS.checkboxGroup.iconPlacement},borderBottom:{type:Boolean,default:()=>CS.checkboxGroup.borderBottom}}};const DC=MS({name:"u-checkbox-group",mixins:[IS,PS,RC],computed:{parentData(){return[this.modelValue,this.disabled,this.inactiveColor,this.activeColor,this.size,this.labelDisabled,this.shape,this.iconSize,this.borderBottom,this.placement]},bemClass(){return this.bem("checkbox-group",["placement"])}},watch:{parentData:{handler(){this.children.length&&this.children.map(e=>{"function"==typeof e.init&&e.init()})},deep:!0}},data:()=>({}),created(){this.children=[]},emits:["update:modelValue","change"],methods:{unCheckedOther(e){const t=[];this.children.map(e=>{e.isChecked&&t.push(e.name)}),this.$emit("update:modelValue",t),this.$emit("change",t)}}},[["render",function(e,t,n,o,i,r){const a=Qg;return Sr(),Ir(a,{class:$e(["u-checkbox-group",r.bemClass])},{default:bo(()=>[Ti(e.$slots,"default",{},void 0,!0)]),_:3},8,["class"])}],["__scopeId","data-v-70f89666"]]),zC=Object.freeze(Object.defineProperty({__proto__:null,default:DC},Symbol.toStringTag,{value:"Module"})),$C={props:{name:{type:[String,Number,Boolean],default:()=>CS.checkbox.name},shape:{type:String,default:()=>CS.checkbox.shape},size:{type:[String,Number],default:()=>CS.checkbox.size},checked:{type:Boolean,default:()=>CS.checkbox.checked},disabled:{type:[String,Boolean],default:()=>CS.checkbox.disabled},activeColor:{type:String,default:()=>CS.checkbox.activeColor},inactiveColor:{type:String,default:()=>CS.checkbox.inactiveColor},iconSize:{type:[String,Number],default:()=>CS.checkbox.iconSize},iconColor:{type:String,default:()=>CS.checkbox.iconColor},label:{type:[String,Number],default:()=>CS.checkbox.label},labelSize:{type:[String,Number],default:()=>CS.checkbox.labelSize},labelColor:{type:String,default:()=>CS.checkbox.labelColor},labelDisabled:{type:[String,Boolean],default:()=>CS.checkbox.labelDisabled},usedAlone:{type:[Boolean],default:()=>!1}}};const FC=MS({name:"u-checkbox",mixins:[IS,PS,$C],data:()=>({isChecked:!1,parentData:{iconSize:12,labelDisabled:null,disabled:null,shape:"square",activeColor:null,inactiveColor:null,size:18,modelValue:null,iconColor:null,placement:"row",borderBottom:!1,iconPlacement:"left"}}),computed:{elDisabled(){return""!==this.disabled?this.disabled:null!==this.parentData.disabled&&this.parentData.disabled},elLabelDisabled(){return""!==this.labelDisabled?this.labelDisabled:null!==this.parentData.labelDisabled&&this.parentData.labelDisabled},elSize(){return this.size?this.size:this.parentData.size?this.parentData.size:21},elIconSize(){return this.iconSize?this.iconSize:this.parentData.iconSize?this.parentData.iconSize:12},elActiveColor(){return this.activeColor?this.activeColor:this.parentData.activeColor?this.parentData.activeColor:"#2979ff"},elInactiveColor(){return this.inactiveColor?this.inactiveColor:this.parentData.inactiveColor?this.parentData.inactiveColor:"#c8c9cc"},elLabelColor(){return this.labelColor?this.labelColor:this.parentData.labelColor?this.parentData.labelColor:"#606266"},elShape(){return this.shape?this.shape:this.parentData.shape?this.parentData.shape:"circle"},elLabelSize(){return Yx(this.labelSize?this.labelSize:this.parentData.labelSize?this.parentData.labelSize:"15")},elIconColor(){const e=this.iconColor?this.iconColor:this.parentData.iconColor?this.parentData.iconColor:"#ffffff";return this.elDisabled?this.isChecked?this.elInactiveColor:"transparent":this.isChecked?e:"transparent"},iconClasses(){let e=[];return e.push("u-checkbox__icon-wrap--"+this.elShape),this.elDisabled&&e.push("u-checkbox__icon-wrap--disabled"),this.isChecked&&this.elDisabled&&e.push("u-checkbox__icon-wrap--disabled--checked"),e},iconWrapStyle(){const e={};return e.backgroundColor=this.isChecked&&!this.elDisabled?this.elActiveColor:"#ffffff",e.borderColor=this.isChecked&&!this.elDisabled?this.elActiveColor:this.elInactiveColor,e.width=Yx(this.elSize),e.height=Yx(this.elSize),this.usedAlone||"right"===this.parentData.iconPlacement&&(e.marginRight=0),e},checkboxStyle(){const e={};return this.usedAlone||(this.parentData.borderBottom&&this.parentData.placement,this.parentData.borderBottom&&"column"===this.parentData.placement&&(e.paddingBottom="8px")),Kx(e,Gx(this.customStyle))}},mounted(){this.init()},emits:["change","update:checked"],methods:{init(){if(this.usedAlone)this.checked&&(this.isChecked=!0);else{this.updateParentData(),this.parent;let e="";e=this.parentData.modelValue,this.checked?this.isChecked=!0:!this.usedAlone&&Ex.array(e)&&(this.isChecked=e.some(e=>e===this.name))}},updateParentData(){this.getParentData("u-checkbox-group")},wrapperClickHandler(e){(this.usedAlone||"right"===this.parentData.iconPlacement)&&this.iconClickHandler(e)},iconClickHandler(e){this.preventEvent(e),this.elDisabled||this.setRadioCheckedStatus()},labelClickHandler(e){this.preventEvent(e),this.elLabelDisabled||this.elDisabled||this.setRadioCheckedStatus()},emitEvent(){this.$emit("change",this.isChecked,{name:this.name}),this.usedAlone&&this.$emit("update:checked",this.isChecked),this.$nextTick(()=>{lS(this,"change")})},setRadioCheckedStatus(){this.isChecked=!this.isChecked,this.emitEvent(),this.usedAlone||"function"==typeof this.parent.unCheckedOther&&this.parent.unCheckedOther(this)}},watch:{checked(e,t){e!==this.isChecked&&(this.isChecked=e)}}},[["render",function(e,t,n,o,i,r){const a=DS(Ao("up-icon"),LS),s=Qg,l=Hg;return Sr(),Ir(s,{class:$e(["u-checkbox cursor-pointer",[`u-checkbox-label--${i.parentData.iconPlacement}`,i.parentData.borderBottom&&"column"===i.parentData.placement&&"u-border-bottom"]]),style:ze([r.checkboxStyle]),onClick:vs(r.wrapperClickHandler,["stop"])},{default:bo(()=>[Lr(s,{class:$e(["u-checkbox__icon-wrap cursor-pointer",r.iconClasses]),onClick:vs(r.iconClickHandler,["stop"]),style:ze([r.iconWrapStyle])},{default:bo(()=>[Ti(e.$slots,"icon",{elIconSize:r.elIconSize,elIconColor:r.elIconColor},()=>[Lr(a,{class:"u-checkbox__icon-wrap__icon",name:"checkbox-mark",size:r.elIconSize,color:r.elIconColor},null,8,["size","color"])],!0)]),_:3},8,["onClick","class","style"]),Lr(s,{class:"u-checkbox__label-wrap cursor-pointer",onClick:vs(r.labelClickHandler,["stop"])},{default:bo(()=>[Ti(e.$slots,"label",{label:e.label,elDisabled:r.elDisabled},()=>[Lr(l,{style:ze({color:r.elDisabled?r.elInactiveColor:r.elLabelColor,fontSize:r.elLabelSize,lineHeight:r.elLabelSize})},{default:bo(()=>[Dr(K(e.label),1)]),_:1},8,["style"])],!0)]),_:3},8,["onClick"])]),_:3},8,["style","onClick","class"])}],["__scopeId","data-v-131e8247"]]),jC=Object.freeze(Object.defineProperty({__proto__:null,default:FC},Symbol.toStringTag,{value:"Module"})),HC={props:{type:{type:String,default:()=>CS.tag.type},disabled:{type:[Boolean,String],default:()=>CS.tag.disabled},size:{type:String,default:()=>CS.tag.size},shape:{type:String,default:()=>CS.tag.shape},text:{type:[String,Number],default:()=>CS.tag.text},bgColor:{type:String,default:()=>CS.tag.bgColor},color:{type:String,default:()=>CS.tag.color},borderColor:{type:String,default:()=>CS.tag.borderColor},closeColor:{type:String,default:()=>CS.tag.closeColor},name:{type:[String,Number],default:()=>CS.tag.name},plainFill:{type:Boolean,default:()=>CS.tag.plainFill},plain:{type:Boolean,default:()=>CS.tag.plain},closable:{type:Boolean,default:()=>CS.tag.closable},show:{type:Boolean,default:()=>CS.tag.show},icon:{type:String,default:()=>CS.tag.icon},iconColor:{type:String,default:()=>CS.tag.iconColor},textSize:{type:String,default:()=>CS.tag.textSize},height:{type:String,default:()=>CS.tag.height},padding:{type:String,default:()=>CS.tag.padding},borderRadius:{type:String,default:()=>CS.tag.borderRadius},autoBgColor:{type:Number,default:()=>CS.tag.autoBgColor}}};const VC=MS({name:"u-tag",mixins:[IS,PS,HC],data:()=>({}),computed:{style(){const e={};return this.bgColor&&(e.backgroundColor=this.bgColor),this.color&&(e.color=this.color),this.borderColor&&(e.borderColor=this.borderColor),this.height&&(e.height=Yx(this.height),e.lineHeight=Yx(this.height)),this.padding&&(e.padding=this.padding),this.borderRadius&&(e.borderRadius=Yx(this.borderRadius)),this.autoBgColor>0&&this.color&&(e.backgroundColor=this.getBagColor(this.color)),e},textColor(){const e={};return this.color&&(e.color=this.color),this.textSize&&(e.textSize=Yx(this.textSize)),e},imgStyle(){const e="large"===this.size?"17px":"medium"===this.size?"15px":"13px";return{width:e,height:e}},closeSize(){return"large"===this.size?15:"medium"===this.size?13:12},iconSize(){return"large"===this.size?21:"medium"===this.size?19:16},elIconColor(){return this.iconColor?this.iconColor:this.plain?this.type:"#ffffff"}},emits:["click","close"],methods:{testImage:Ex.image,closeHandler(){this.$emit("close",this.name)},clickHandler(){this.$emit("click",this.name)},getBagColor(e){return hS(e,this.autoBgColor)}}},[["render",function(e,t,n,o,i,r){const a=xm,s=DS(Ao("up-icon"),LS),l=Qg,c=Hg,u=DS(Ao("u-transition"),ok);return Sr(),Ir(u,{mode:"fade",show:e.show,style:{display:"inline-flex"}},{default:bo(()=>[Lr(l,{class:"u-tag-wrapper cursor-pointer"},{default:bo(()=>[Lr(l,{class:$e(["u-tag",[`u-tag--${e.shape}`,!e.plain&&`u-tag--${e.type}`,e.plain&&`u-tag--${e.type}--plain`,`u-tag--${e.size}`,e.plain&&e.plainFill&&`u-tag--${e.type}--plain--fill`]]),onClick:vs(r.clickHandler,["stop"]),style:ze([{marginRight:e.closable?"10px":0,marginTop:e.closable?"10px":0},r.style])},{default:bo(()=>[Ti(e.$slots,"icon",{},()=>[e.icon?(Sr(),Ir(l,{key:0,class:"u-tag__icon"},{default:bo(()=>[r.testImage(e.icon)?(Sr(),Ir(a,{key:0,src:e.icon,style:ze([r.imgStyle])},null,8,["src","style"])):(Sr(),Ir(s,{key:1,color:r.elIconColor,name:e.icon,size:r.iconSize},null,8,["color","name","size"]))]),_:1})):zr("",!0)],!0),Lr(l,{class:"u-tag__content"},{default:bo(()=>[Ti(e.$slots,"content",{},void 0,!0),e.$slots.content?zr("",!0):(Sr(),Tr(yr,{key:0},[e.$slots.default||e.$slots.$default?(Sr(),Ir(c,{key:1,class:$e(["u-tag__text",[`u-tag__text--${e.type}`,e.plain&&`u-tag__text--${e.type}--plain`,`u-tag__text--${e.size}`]]),style:ze([r.textColor])},{default:bo(()=>[Ti(e.$slots,"default",{},void 0,!0)]),_:3},8,["style","class"])):(Sr(),Ir(c,{key:0,class:$e(["u-tag__text",[`u-tag__text--${e.type}`,e.plain&&`u-tag__text--${e.type}--plain`,`u-tag__text--${e.size}`]]),style:ze([r.textColor])},{default:bo(()=>[Dr(K(e.text),1)]),_:1},8,["style","class"]))],64))]),_:3})]),_:3},8,["class","onClick","style"]),e.closable?(Sr(),Ir(l,{key:0,class:$e(["u-tag__close",[`u-tag__close--${e.size}`]]),onClick:vs(r.closeHandler,["stop"]),style:ze({backgroundColor:e.closeColor})},{default:bo(()=>[Lr(s,{name:"close",size:r.closeSize,color:"#ffffff"},null,8,["size"])]),_:1},8,["class","onClick","style"])):zr("",!0)]),_:3})]),_:3},8,["show"])}],["__scopeId","data-v-3f1e1d6d"]]),WC=Object.freeze(Object.defineProperty({__proto__:null,default:VC},Symbol.toStringTag,{value:"Module"}));const UC=MS({name:"up-choose",props:{options:{type:Array,default:()=>[]},modelValue:{type:[Number,String,Array],default:!1},type:{type:[String],default:"radio"},itemWidth:{type:[String],default:"auto"},itemHeight:{type:[String],default:"50px"},itemPadding:{type:[String],default:"8px"},labelName:{type:String,default:"title"},valueName:{type:String,default:"value"},customClick:{type:Boolean,default:!1},wrap:{type:Boolean,default:!0}},data:()=>({currentIndex:""}),created:function(){this.currentIndex=this.modelValue},emits:["update:modelValue","custom-click"],methods:{change(e){this.customClick?this.$emit("custom-click",e):(this.currentIndex=e,this.$emit("update:modelValue",e))}}},[["render",function(e,t,n,o,i,r){const a=DS(Ao("up-tag"),VC),s=Qg,l=Og;return Sr(),Ir(l,{"scroll-x":!1===n.wrap,class:$e(["up-choose",n.wrap?"up-choose-wrap":"up-choose-nowrap"])},{default:bo(()=>[(Sr(!0),Tr(yr,null,Ai(n.options,(t,o)=>(Sr(),Ir(s,{key:t.id,style:ze({width:n.itemWidth,display:"inline-block"})},{default:bo(()=>[Ti(e.$slots,"default",{item:t,index:o},()=>[Lr(a,{type:o==i.currentIndex?"primary":"info",size:"large",plain:o!=i.currentIndex,class:$e(i.currentIndex===o?"active":""),height:n.itemHeight,style:ze({width:n.itemWidth,padding:n.itemPadding}),onClick:e=>r.change(o)},{default:bo(()=>[Dr(K(t[n.labelName]),1)]),_:2},1032,["type","plain","class","height","style","onClick"])],!0)]),_:2},1032,["style"]))),128))]),_:3},8,["scroll-x","class"])}],["__scopeId","data-v-46d7cfd3"]]),qC=Object.freeze(Object.defineProperty({__proto__:null,default:UC},Symbol.toStringTag,{value:"Module"}));const QC=MS({name:"u-circle-progress",mixins:[IS,PS,{props:{percentage:{type:[String,Number],default:()=>CS.circleProgress.percentage}}}],data:()=>({leftBorderColor:"rgb(200, 200, 200)",rightBorderColor:"rgb(200, 200, 200)"}),computed:{leftSyle(){const e={};return e.borderTopColor=this.leftBorderColor,e.borderRightColor=this.leftBorderColor,e},rightSyle(){const e={};return e.borderLeftColor=this.rightBorderColor,e.borderBottomColor=this.rightBorderColor,e}},mounted(){Fx().then(()=>{this.rightBorderColor="rgb(66, 185, 131)"})},methods:{init(){animation.transition(this.$refs["right-circle"].ref,{styles:{transform:"rotate(45deg)",transformOrigin:"center center"}},()=>{this.rightBorderColor="rgb(66, 185, 131)"})}}},[["render",function(e,t,n,o,i,r){const a=Qg;return Sr(),Ir(a,{class:"u-circle-progress"},{default:bo(()=>[Lr(a,{class:"u-circle-progress__left"},{default:bo(()=>[Lr(a,{class:"u-circle-progress__left__circle",style:ze([r.leftSyle]),ref:"left-circle"},null,8,["style"])]),_:1}),Lr(a,{class:"u-circle-progress__right"},{default:bo(()=>[Lr(a,{class:"u-circle-progress__right__circle",ref:"right-circle",style:ze([r.rightSyle])},null,8,["style"])]),_:1}),Lr(a,{class:"u-circle-progress__circle"})]),_:1})}],["__scopeId","data-v-786d53e9"]]),GC=Object.freeze(Object.defineProperty({__proto__:null,default:QC},Symbol.toStringTag,{value:"Module"}));const YC=MS({name:"u-index-anchor",mixins:[IS,PS,{props:{text:{type:[String,Number],default:()=>CS.indexAnchor.text},color:{type:String,default:()=>CS.indexAnchor.color},size:{type:[String,Number],default:()=>CS.indexAnchor.size},bgColor:{type:String,default:()=>CS.indexAnchor.bgColor},height:{type:[String,Number],default:()=>CS.indexAnchor.height}}}],data:()=>({}),mounted(){this.init()},methods:{addUnit:Yx,init(){const e=Qx.call(this,"u-index-list");if(!e)return;e.anchors.push(this);const t=Qx.call(this,"u-index-item");t&&("string"==typeof this.text?t.id=this.text.charCodeAt(0):t.id=this.text.name.charCodeAt(0))}},computed:{parentSticky(){const e=Qx.call(this,"u-index-list");return!e||e.sticky}}},[["render",function(e,t,n,o,i,r){const a=Hg,s=Qg;return Sr(),Ir(s,{class:$e(["u-index-anchor u-border-bottom",{"u-index-anchor--sticky":r.parentSticky}]),ref:`u-index-anchor-${e.text}`,style:ze({height:r.addUnit(e.height),backgroundColor:e.bgColor})},{default:bo(()=>[Lr(a,{class:"u-index-anchor__text",style:ze({fontSize:r.addUnit(e.size),color:e.color})},{default:bo(()=>[Dr(K(e.text.name||e.text),1)]),_:1},8,["style"])]),_:1},8,["class","style"])}],["__scopeId","data-v-758c5807"]]),XC=Object.freeze(Object.defineProperty({__proto__:null,default:YC},Symbol.toStringTag,{value:"Module"}));const KC=MS({name:"u-index-item",mixins:[IS,PS,{props:{}}],data:()=>({top:0,height:0,id:""}),created(){this.anchor={}},mounted(){this.init()},methods:{init(){this.getParentData("u-index-list"),this.parent&&Fx().then(()=>{this.getIndexItemRect().then(e=>{this.top=Math.ceil(e.top),this.height=Math.ceil(e.height)})})},getIndexItemRect(){return new Promise(e=>{this.$uGetRect(".u-index-item").then(t=>{e(t)})})}}},[["render",function(e,t,n,o,i,r){const a=Qg;return Sr(),Ir(a,{class:$e(["u-index-item",[`u-index-item-${i.id}`]]),id:`u-index-item-${i.id}`},{default:bo(()=>[Ti(e.$slots,"default")]),_:3},8,["id","class"])}]]),JC=Object.freeze(Object.defineProperty({__proto__:null,default:KC},Symbol.toStringTag,{value:"Module"})),ZC={props:{inactiveColor:{type:String,default:()=>CS.indexList.inactiveColor},activeColor:{type:String,default:()=>CS.indexList.activeColor},indexList:{type:Array,default:()=>CS.indexList.indexList},sticky:{type:Boolean,default:()=>CS.indexList.sticky},customNavHeight:{type:[String,Number],default:()=>CS.indexList.customNavHeight},safeBottomFix:{type:Boolean,default:()=>CS.indexList.safeBottomFix},itemMargin:{type:String,default:()=>CS.indexList.itemMargin}}};const eA=MS({name:"u-index-list",mixins:[IS,PS,ZC],data:()=>({activeIndex:-1,touchmoveIndex:1,letterInfo:{height:0,itemHeight:0,top:0},indicatorHeight:50,touching:!1,scrollTop:0,scrollViewHeight:0,sys:{},scrolling:!1,scrollIntoView:"",pageY:0,topOffset:0}),computed:{uIndexList(){return this.indexList.length?this.indexList:(()=>{const e=[],t="A".charCodeAt(0);for(let n=0;n<26;n++)e.push(String.fromCharCode(t+n));return e})()},indicatorTop(){const{top:e,height:t,itemHeight:n}=this.letterInfo;return Math.floor(e-t/2+n*this.activeIndex+n-35)}},watch:{uIndexList:{immediate:!1,handler(){Fx(30).then(()=>{this.setIndexListLetterInfo()})}}},created(){this.children=[],this.anchors=[],this.sys=Vx()},mounted(){this.init(),Fx(50).then(()=>{this.setIndexListLetterInfo()})},methods:{addUnit:Yx,init(){let e=zx(this.customNavHeight);this.getIndexListRect().then(async t=>{this.scrollViewHeight=t.height?t.height:this.sys.windowHeight-e,this.topOffset=this.sys.windowHeight-this.scrollViewHeight})},touchStart(e){const t=e.changedTouches[0];if(!t)return;this.touching=!0;const{pageY:n,screenY:o}=t,i=this.getIndexListLetter(n);this.setValueForTouch(i)},touchMove(e){let t=e.changedTouches[0];if(!t)return;this.touching||(this.touching=!0);const{pageY:n,screenY:o}=t,i=this.getIndexListLetter(n);this.setValueForTouch(i)},touchEnd(e){Fx(300).then(()=>{this.touching=!1})},getIndexListLetterRect(){return new Promise(e=>{this.$uGetRect(".u-index-list__letter").then(t=>{e(t)})})},getIndexListScrollViewRect(){return new Promise(e=>{this.$nextTick(()=>{this.$uGetRect(".u-index-list__scroll-view").then(t=>{e(t)})})})},getIndexListRect(){return new Promise(e=>{this.$uGetRect(".u-index-list").then(t=>{e(t)})})},setIndexListLetterInfo(){this.getIndexListLetterRect().then(e=>{const{height:t}=e,n=Vx();n.windowHeight,0==this.customNavHeight?n.windowTop:zx(this.customNavHeight),this.getIndexListScrollViewRect().then(e=>{this.letterInfo={height:t,top:e.height/2,itemHeight:Math.floor(t/this.uIndexList.length)}})})},getIndexListLetter(e){this.pageY=e;let{top:t,height:n,itemHeight:o}=this.letterInfo,i=this.currentIndex;return t-=n/2,i=(e-=this.topOffset)=t+n?this.uIndexList.length-1:Math.floor((e-t)/o),i},async setValueForTouch(e){e!==this.activeIndex&&(this.activeIndex=e,this.$emit("select",this.uIndexList[e]),"string"==typeof this.uIndexList[e]?this.scrollIntoView=`u-index-item-${this.uIndexList[e].charCodeAt(0)}`:this.scrollIntoView=`u-index-item-${this.uIndexList[e].name.charCodeAt(0)}`)},getHeaderRect(){return new Promise(e=>{this.$slots.header||e({width:0,height:0}),this.$uGetRect(".u-index-list__header").then(t=>{e(t)})})},async scrollHandler(e){if(this.touching||this.scrolling)return;this.scrolling=!0,Fx(10).then(()=>{this.scrolling=!1});let t=0;const n=this.children.length;let o=this.children;let i=(await this.getHeaderRect()).height;this.anchors,o=this.children.map((e,t)=>{const n=e.height+zx(this.itemMargin),o={height:n,top:i};return i+=n,o}),t=e.detail.scrollTop,t+=zx(this.customNavHeight);for(let r=0;r=o[n-1].top+o[n-1].height){this.activeIndex=-1;break}if(!i){this.activeIndex=n-1;break}if(t>e.top&&t[Lr(s,{scrollTop:i.scrollTop,scrollIntoView:i.scrollIntoView,"offset-accuracy":1,style:ze({maxHeight:r.addUnit(i.scrollViewHeight)}),"scroll-y":"",onScroll:r.scrollHandler,ref:"u-index-list__scroll-view",class:"u-index-list__scroll-view"},{default:bo(()=>[e.$slots.header?(Sr(),Ir(a,{key:0,class:"u-index-list__header"},{default:bo(()=>[Ti(e.$slots,"header",{},void 0,!0)]),_:3})):zr("",!0),Ti(e.$slots,"default",{},void 0,!0),e.$slots.footer?(Sr(),Ir(a,{key:1,class:"u-index-list__footer"},{default:bo(()=>[Ti(e.$slots,"footer",{},void 0,!0)]),_:3})):zr("",!0)]),_:3},8,["scrollTop","scrollIntoView","style","onScroll"]),Lr(a,{class:"u-index-list__letter",ref:"u-index-list__letter",style:ze({top:r.addUnit(i.letterInfo.top),transform:"translateY(-50%)"}),onTouchstart:vs(r.touchStart,["prevent"]),onTouchmove:vs(r.touchMove,["prevent"]),onTouchend:vs(r.touchEnd,["prevent"]),onTouchcancel:vs(r.touchEnd,["prevent"])},{default:bo(()=>[(Sr(!0),Tr(yr,null,Ai(r.uIndexList,(t,n)=>(Sr(),Ir(a,{class:"u-index-list__letter__item",key:n,style:ze({backgroundColor:i.activeIndex===n?e.activeColor:"transparent"})},{default:bo(()=>[Lr(l,{class:"u-index-list__letter__item__index",style:ze({color:i.activeIndex===n?"#fff":e.inactiveColor})},{default:bo(()=>[Dr(K(t.key||t),1)]),_:2},1032,["style"])]),_:2},1032,["style"]))),128))]),_:1},8,["style","onTouchstart","onTouchmove","onTouchend","onTouchcancel"]),Lr(c,{mode:"fade",show:i.touching,customStyle:{position:"absolute",right:"50px",top:r.addUnit(r.indicatorTop,"px"),zIndex:3}},{default:bo(()=>[Lr(a,{class:$e(["u-index-list__indicator",["u-index-list__indicator--show"]]),style:ze({height:r.addUnit(i.indicatorHeight),width:r.addUnit(i.indicatorHeight)})},{default:bo(()=>[Lr(l,{class:"u-index-list__indicator__text"},{default:bo(()=>{var e;return[Dr(K((null==(e=r.uIndexList[i.activeIndex])?void 0:e.key)||r.uIndexList[i.activeIndex]),1)]}),_:1})]),_:1},8,["style"])]),_:1},8,["show","customStyle"])]),_:3},512)}],["__scopeId","data-v-d15fd6a9"]]),tA=Object.freeze(Object.defineProperty({__proto__:null,default:eA},Symbol.toStringTag,{value:"Module"}));const nA=MS({name:"u-city-locate",props:{indexList:{type:Array,default:["🔥"]},cityList:{type:Array,default:()=>[[{name:"北京",value:"beijing"},{name:"上海",value:"shanghai"},{name:"广州",value:"guangzhou"},{name:"深圳",value:"shenzhen"},{name:"杭州",value:"hangzhou"}]]},locationType:{type:String,default:"wgs84"},currentCity:{type:String,default:""},nameKey:{type:String,default:"name"}},computed:{},watch:{currentCity(e){this.locationCity=e}},data:()=>({locationCity:mS("up.cityLocate.locating")+"...."}),emits:["location-success","select-city"],methods:{t:mS,selectedCity(e){this.locationCity=e[this.nameKey],this.$emit("select-city",{locationCity:this.locationCity})},location(){let e=this;Ev({type:this.locationType,geocode:!0,success(t){console.log(t),e.locationCity=t.address&&t.address.city,e.$emit("location-success",{...t,locationCity:e.locationCity})},fail(){e.locationCity=mS("up.cityLocate.fail")}})}},created(){},mounted(){this.location()}},[["render",function(e,t,n,o,i,r){const a=Qg,s=DS(Ao("up-index-anchor"),YC),l=Hg,c=DS(Ao("up-line"),VS),u=DS(Ao("up-index-item"),KC),d=DS(Ao("up-index-list"),eA);return Sr(),Ir(a,{class:"u-city-locate"},{default:bo(()=>[Lr(d,{indexList:n.indexList},{header:bo(()=>[Lr(a,{class:"u-current-city-wrap"},{default:bo(()=>[Lr(a,{class:"u-current-city-title"},{default:bo(()=>[Dr(K(r.t("up.cityLocate.locateCity")),1)]),_:1}),Lr(a,{class:"u-current-city-item",onClick:r.location},{default:bo(()=>[Lr(a,{class:"u-location-city"},{default:bo(()=>[Dr(K(i.locationCity),1)]),_:1})]),_:1},8,["onClick"])]),_:1})]),footer:bo(()=>[Lr(a,{class:"u-safe-area-inset--bottom"},{default:bo(()=>[Lr(l,{class:"list__footer"})]),_:1})]),default:bo(()=>[(Sr(!0),Tr(yr,null,Ai(n.cityList,(e,t)=>(Sr(),Ir(u,{key:t},{default:bo(()=>[Lr(s,{text:n.indexList[t]},null,8,["text"]),0==t?(Sr(),Ir(a,{key:0,class:"hot-city-list"},{default:bo(()=>[(Sr(!0),Tr(yr,null,Ai(e,(e,t)=>(Sr(),Ir(a,{class:"",onClick:t=>r.selectedCity(e)},{default:bo(()=>[Lr(a,{class:"hot-city-item"},{default:bo(()=>[Dr(K(e[n.nameKey]),1)]),_:2},1024)]),_:2},1032,["onClick"]))),256))]),_:2},1024)):(Sr(!0),Tr(yr,{key:1},Ai(e,(e,t)=>(Sr(),Ir(a,{class:"item-list",key:t},{default:bo(()=>[Lr(a,{class:"list__item",onClick:t=>r.selectedCity(e)},{default:bo(()=>[Lr(l,{class:"list__item__city-name"},{default:bo(()=>[Dr(K(e[n.nameKey]),1)]),_:2},1024)]),_:2},1032,["onClick"]),Lr(c)]),_:2},1024))),128))]),_:2},1024))),128))]),_:1},8,["indexList"])]),_:1})}],["__scopeId","data-v-d70381bf"]]),oA=Object.freeze(Object.defineProperty({__proto__:null,default:nA},Symbol.toStringTag,{value:"Module"})),iA={props:{adjustPosition:{type:Boolean,default:()=>CS.codeInput.adjustPosition},maxlength:{type:[String,Number],default:()=>CS.codeInput.maxlength},dot:{type:Boolean,default:()=>CS.codeInput.dot},mode:{type:String,default:()=>CS.codeInput.mode},hairline:{type:Boolean,default:()=>CS.codeInput.hairline},space:{type:[String,Number],default:()=>CS.codeInput.space},modelValue:{type:[String,Number],default:()=>CS.codeInput.value},focus:{type:Boolean,default:()=>CS.codeInput.focus},bold:{type:Boolean,default:()=>CS.codeInput.bold},color:{type:String,default:()=>CS.codeInput.color},fontSize:{type:[String,Number],default:()=>CS.codeInput.fontSize},size:{type:[String,Number],default:()=>CS.codeInput.size},disabledKeyboard:{type:Boolean,default:()=>CS.codeInput.disabledKeyboard},borderColor:{type:String,default:()=>CS.codeInput.borderColor},disabledDot:{type:Boolean,default:()=>CS.codeInput.disabledDot}}};const rA=MS({name:"u-code-input",mixins:[IS,PS,iA],data(){return{inputValue:"",isFocus:this.focus,timer:null,opacity:1}},watch:{modelValue:{immediate:!0,handler(e){this.inputValue=String(e).substring(0,this.maxlength)}},isFocus:{handler(e){}}},created(){},beforeUnmount(){},computed:{codeLength(){return new Array(Number(this.maxlength))},itemStyle(){return e=>{const t={width:Yx(this.size),height:Yx(this.size)};return"box"===this.mode&&(t.border=`${this.hairline?.5:1}px solid ${this.borderColor}`,0===zx(this.space)&&(0===e&&(t.borderTopLeftRadius="3px",t.borderBottomLeftRadius="3px"),e===this.codeLength.length-1&&(t.borderTopRightRadius="3px",t.borderBottomRightRadius="3px"),e!==this.codeLength.length-1&&(t.borderRight="none"))),e!==this.codeLength.length-1?t.marginRight=Yx(this.space):t.marginRight=0,t}},codeArray(){return String(this.inputValue).split("")},lineStyle(){const e={};return e.height=this.hairline?"2px":"4px",e.width=Yx(this.size),e.backgroundColor=this.borderColor,e}},emits:["change","finish","update:modelValue"],methods:{addUnit:Yx,inputHandler(e){const t=e.detail.value;this.inputValue=t,this.disabledDot&&this.$nextTick(()=>{this.inputValue=t.replace(".","")}),this.$emit("change",t),this.$emit("update:modelValue",t),String(t).length>=Number(this.maxlength)&&this.$emit("finish",t)}}},[["render",function(e,t,n,o,i,r){const a=Qg,s=Hg,l=jm;return Sr(),Ir(a,{class:"u-code-input"},{default:bo(()=>[(Sr(!0),Tr(yr,null,Ai(r.codeLength,(t,n)=>(Sr(),Ir(a,{class:"u-code-input__item",style:ze([r.itemStyle(n)]),key:n},{default:bo(()=>[e.dot&&r.codeArray.length>n?(Sr(),Ir(a,{key:0,class:"u-code-input__item__dot"})):(Sr(),Ir(s,{key:1,style:ze({fontSize:r.addUnit(e.fontSize),fontWeight:e.bold?"bold":"normal",color:e.color})},{default:bo(()=>[Dr(K(r.codeArray[n]),1)]),_:2},1032,["style"])),"line"===e.mode?(Sr(),Ir(a,{key:2,class:"u-code-input__item__line",style:ze([r.lineStyle])},null,8,["style"])):zr("",!0),i.isFocus&&r.codeArray.length===n?(Sr(),Ir(a,{key:3,style:ze({backgroundColor:e.color}),class:"u-code-input__item__cursor"},null,8,["style"])):zr("",!0)]),_:2},1032,["style"]))),128)),Lr(l,{disabled:e.disabledKeyboard,type:"number",focus:e.focus,value:i.inputValue,maxlength:e.maxlength,adjustPosition:e.adjustPosition,class:"u-code-input__input",onInput:r.inputHandler,style:ze({height:r.addUnit(e.size)}),onFocus:t[0]||(t[0]=e=>i.isFocus=!0),onBlur:t[1]||(t[1]=e=>i.isFocus=!1)},null,8,["disabled","focus","value","maxlength","adjustPosition","onInput","style"])]),_:1})}],["__scopeId","data-v-5f5a446c"]]),aA=Object.freeze(Object.defineProperty({__proto__:null,default:rA},Symbol.toStringTag,{value:"Module"})),sA={props:{seconds:{type:[String,Number],default:()=>CS.code.seconds},startText:{type:String,default:()=>CS.code.startText},changeText:{type:String,default:()=>CS.code.changeText},endText:{type:String,default:()=>CS.code.endText},keepRunning:{type:Boolean,default:()=>CS.code.keepRunning},uniqueKey:{type:String,default:()=>CS.code.uniqueKey}}};const lA=MS({name:"u-code",mixins:[IS,PS,sA],data(){return{secNum:this.seconds,timer:null,canGetCode:!0}},mounted(){this.checkKeepRunning()},watch:{seconds:{immediate:!0,handler(e){this.secNum=e}}},emits:["start","end","change"],methods:{checkKeepRunning(){let e=Number(Gb(this.uniqueKey+"_$uCountDownTimestamp"));if(!e)return this.changeEvent(this.startText);let t=Math.floor(+new Date/1e3);this.keepRunning&&e&&e>t?(this.secNum=e-t,Yb(this.uniqueKey+"_$uCountDownTimestamp"),this.start()):this.changeEvent(this.startText)},start(){this.timer&&(clearInterval(this.timer),this.timer=null),this.$emit("start"),this.canGetCode=!1,this.changeEvent(this.changeText.replace(/x|X/,this.secNum)),this.timer=setInterval(()=>{--this.secNum?this.changeEvent(this.changeText.replace(/x|X/,this.secNum)):(clearInterval(this.timer),this.timer=null,this.changeEvent(this.endText),this.secNum=this.seconds,this.$emit("end"),this.canGetCode=!0)},1e3),this.setTimeToStorage()},reset(){this.canGetCode=!0,clearInterval(this.timer),this.secNum=this.seconds,this.changeEvent(this.endText)},changeEvent(e){this.$emit("change",e)},setTimeToStorage(){if(this.keepRunning&&this.timer&&this.secNum>0&&this.secNum<=this.seconds){let e=Math.floor(+new Date/1e3);qb({key:this.uniqueKey+"_$uCountDownTimestamp",data:e+Number(this.secNum)})}}},beforeUnmount(){this.setTimeToStorage(),clearTimeout(this.timer),this.timer=null}},[["render",function(e,t,n,o,i,r){const a=Qg;return Sr(),Ir(a,{class:"u-code"})}]]),cA=Object.freeze(Object.defineProperty({__proto__:null,default:lA},Symbol.toStringTag,{value:"Module"}));const uA=MS({name:"u-col",mixins:[IS,PS,{props:{span:{type:[String,Number],default:()=>CS.col.span},offset:{type:[String,Number],default:()=>CS.col.offset},justify:{type:String,default:()=>CS.col.justify},align:{type:String,default:()=>CS.col.align},textAlign:{type:String,default:()=>CS.col.textAlign}}}],data:()=>({width:0,parentData:{gutter:0},gridNum:12}),options:{virtualHost:!0},computed:{uJustify(){return"end"==this.justify||"start"==this.justify?"flex-"+this.justify:"around"==this.justify||"between"==this.justify?"space-"+this.justify:this.justify},uAlignItem(){return"top"==this.align?"flex-start":"bottom"==this.align?"flex-end":this.align},colStyle(){return Kx({paddingLeft:Yx(zx(this.parentData.gutter)/2),paddingRight:Yx(zx(this.parentData.gutter)/2),alignItems:this.uAlignItem,justifyContent:this.uJustify,textAlign:this.textAlign,flex:`0 0 ${100/this.gridNum*this.span}%`,marginLeft:100/12*this.offset+"%"},Gx(this.customStyle))}},mounted(){this.init()},emits:["click"],methods:{async init(){this.updateParentData(),this.width=await this.parent.getComponentWidth()},updateParentData(){this.getParentData("u-row")},clickHandler(e){this.$emit("click")}}},[["render",function(e,t,n,o,i,r){const a=Qg;return Sr(),Ir(a,{class:$e(["u-col",["u-col-"+e.span]]),ref:"u-col",style:ze([r.colStyle]),onClick:r.clickHandler},{default:bo(()=>[Ti(e.$slots,"default",{},void 0,!0)]),_:3},8,["class","style","onClick"])}],["__scopeId","data-v-7f40599c"]]),dA=Object.freeze(Object.defineProperty({__proto__:null,default:uA},Symbol.toStringTag,{value:"Module"})),hA={props:{title:{type:String,default:()=>CS.collapseItem.title},titleStyle:{type:[Object,String],default:()=>CS.collapseItem.titleStyle},value:{type:String,default:()=>CS.collapseItem.value},label:{type:String,default:()=>CS.collapseItem.label},disabled:{type:Boolean,default:()=>CS.collapseItem.disabled},isLink:{type:Boolean,default:()=>CS.collapseItem.isLink},clickable:{type:Boolean,default:()=>CS.collapseItem.clickable},border:{type:Boolean,default:()=>CS.collapseItem.border},align:{type:String,default:()=>CS.collapseItem.align},name:{type:[String,Number],default:()=>CS.collapseItem.name},icon:{type:String,default:()=>CS.collapseItem.icon},duration:{type:Number,default:()=>CS.collapseItem.duration},showRight:{type:Boolean,default:()=>CS.collapseItem.showRight},iconStyle:{type:[Object,String],default:()=>CS.collapseItem.iconStyle},rightIconStyle:{type:[Object,String],default:()=>CS.collapseItem.rightIconStyle},cellCustomStyle:{type:[Object,String],default:()=>CS.collapseItem.cellCustomStyle},cellCustomClass:{type:String,default:()=>CS.collapseItem.cellCustomClass}}};const pA=MS({name:"u-collapse-item",mixins:[IS,PS,hA],data:()=>({elId:qx(),animationData:{},expanded:!1,showBorder:!1,animating:!1,parentData:{accordion:!1,border:!1}}),watch:{expanded(e){clearTimeout(this.timer),this.timer=null,this.timer=setTimeout(()=>{this.showBorder=e},e?10:290)}},mounted(){this.init()},methods:{async init(){if(this.updateParentData(),!this.parent)return;const{value:e,accordion:t,children:n=[]}=this.parent;if(t){if(Ex.array(e))return;this.expanded=this.name==e}else{if(!Ex.array(e)&&null!==e)return;this.expanded=(e||[]).some(e=>e==this.name)}await no(),this.setContentAnimate()},updateParentData(){this.getParentData("u-collapse")},async setContentAnimate(){const e=await this.queryRect(),t=this.expanded?e.height:0;this.animating=!0;const n=Mp({timingFunction:"ease-in-out"});n.height(t).step({duration:this.duration}).step(),this.animationData=n.export(),Fx(this.duration).then(()=>{this.animating=!1})},clickHandler(){this.disabled&&this.animating||this.parent&&this.parent.onChange(this)},queryRect(){return new Promise(e=>{this.$uGetRect(`#${this.elId}`).then(t=>{e(t)})})}}},[["render",function(e,t,n,o,i,r){const a=Hg,s=DS(Ao("up-icon"),LS),l=DS(Ao("u-cell"),TC),c=Qg,u=DS(Ao("u-line"),VS);return Sr(),Ir(c,{class:"u-collapse-item"},{default:bo(()=>[Lr(l,{title:e.$slots.title?"":e.title,value:e.value,label:e.label,icon:e.icon,isLink:e.isLink,clickable:e.clickable,border:i.parentData.border&&i.showBorder,onClick:r.clickHandler,arrowDirection:i.expanded?"up":"down",disabled:e.disabled,customClass:e.cellCustomClass,customStyle:e.cellCustomStyle},{title:bo(()=>[Ti(e.$slots,"title",{},()=>[!e.$slots.title&&e.title?(Sr(),Ir(a,{key:0},{default:bo(()=>[Dr(K(e.title),1)]),_:1})):zr("",!0)],!0)]),icon:bo(()=>[Ti(e.$slots,"icon",{},()=>[!e.$slots.icon&&e.icon?(Sr(),Ir(s,{key:0,size:22,name:e.icon},null,8,["name"])):zr("",!0)],!0)]),value:bo(()=>[Ti(e.$slots,"value",{},()=>[!e.$slots.value&&e.value?(Sr(),Ir(a,{key:0},{default:bo(()=>[Dr(K(e.value),1)]),_:1})):zr("",!0)],!0)]),"right-icon":bo(()=>[e.showRight?(Sr(),Tr(yr,{key:0},[e.$slots["right-icon"]?zr("",!0):(Sr(),Ir(s,{key:0,size:16,name:"arrow-right"})),Ti(e.$slots,"right-icon",{},void 0,!0)],64)):zr("",!0)]),_:3},8,["title","value","label","icon","isLink","clickable","border","onClick","arrowDirection","disabled","customClass","customStyle"]),Lr(c,{class:"u-collapse-item__content",animation:i.animationData,ref:"animation"},{default:bo(()=>[Lr(c,{class:"u-collapse-item__content__text content-class",id:i.elId,ref:i.elId},{default:bo(()=>[Ti(e.$slots,"default",{},void 0,!0)]),_:3},8,["id"])]),_:3},8,["animation"]),i.parentData.border?(Sr(),Ir(u,{key:0})):zr("",!0)]),_:3})}],["__scopeId","data-v-aaead9cb"]]),fA=Object.freeze(Object.defineProperty({__proto__:null,default:pA},Symbol.toStringTag,{value:"Module"})),mA={props:{value:{type:[String,Number,Array,null],default:()=>CS.collapse.value},accordion:{type:Boolean,default:()=>CS.collapse.accordion},border:{type:Boolean,default:()=>CS.collapse.border}}};const gA=MS({name:"u-collapse",mixins:[IS,PS,mA],watch:{needInit(){this.init()},parentData(){this.children.length&&this.children.map(e=>{"function"==typeof e.updateParentData&&e.updateParentData()})}},created(){this.children=[]},computed:{needInit(){return[this.accordion,this.value]}},emits:["open","close","change"],methods:{init(){this.children.map(e=>{e.init()})},onChange(e){let t=[];this.children.map((n,o)=>{this.accordion?(n.expanded=n===e&&!e.expanded,n.setContentAnimate()):n===e&&(n.expanded=!n.expanded,n.setContentAnimate()),t.push({name:n.name||o,status:n.expanded?"open":"close"})}),this.$emit("change",t),this.$emit(e.expanded?"open":"close",e.name)}}},[["render",function(e,t,n,o,i,r){const a=DS(Ao("u-line"),VS),s=Qg;return Sr(),Ir(s,{class:"u-collapse"},{default:bo(()=>[e.border?(Sr(),Ir(a,{key:0})):zr("",!0),Ti(e.$slots,"default")]),_:3})}]]),yA=Object.freeze(Object.defineProperty({__proto__:null,default:gA},Symbol.toStringTag,{value:"Module"})),bA={props:{list:{type:Array,default:()=>CS.subsection.list},current:{type:[String,Number],default:()=>CS.subsection.current},activeColor:{type:String,default:()=>CS.subsection.activeColor},inactiveColor:{type:String,default:()=>CS.subsection.inactiveColor},mode:{type:String,default:()=>CS.subsection.mode},fontSize:{type:[String,Number],default:()=>CS.subsection.fontSize},bold:{type:Boolean,default:()=>CS.subsection.bold},bgColor:{type:String,default:()=>CS.subsection.bgColor},keyName:{type:String,default:()=>CS.subsection.keyName},activeColorKeyName:{type:String,default:()=>CS.subsection.activeColorKeyName},inactiveColorKeyName:{type:String,default:()=>CS.subsection.inactiveColorKeyName},disabled:{type:Boolean,default:()=>CS.subsection.disabled}}};const vA=MS({name:"u-subsection",mixins:[IS,PS,bA],data:()=>({itemRect:{width:0,height:0},innerCurrent:"",windowResizeCallback:{}}),watch:{list(e,t){this.init()},current:{immediate:!0,handler(e){e!==this.innerCurrent&&(this.innerCurrent=Number(e))}}},computed:{wrapperStyle(){const e={};return"button"===this.mode&&(e.backgroundColor=this.bgColor),e},barStyle(){const e={};return e.width=`${this.itemRect.width}px`,e.height=`${this.itemRect.height}px`,e.transform=`translateX(${this.innerCurrent*this.itemRect.width}px)`,"subsection"===this.mode&&(e.backgroundColor=this.activeColor),e},itemStyle(e){return e=>{const t={};return"subsection"===this.mode&&(t.borderColor=this.activeColor,t.borderWidth="1px",t.borderStyle="solid"),t}},textStyle(e,t){return(e,t)=>{const n={};n.fontWeight=this.bold&&this.innerCurrent===e?"bold":"normal",n.fontSize=Yx(this.fontSize);let o=null,i=null;return"object"==typeof t&&t[this.activeColorKeyName]&&(o=t[this.activeColorKeyName]),"object"==typeof t&&t[this.inactiveColorKeyName]&&(i=t[this.inactiveColorKeyName]),"subsection"===this.mode?this.innerCurrent===e?n.color=o||"#FFF":n.color=i||this.inactiveColor:this.innerCurrent===e?n.color=o||this.activeColor:n.color=i||this.inactiveColor,n}}},mounted(){this.init()},beforeUnmount(){},emits:["change","update:current"],methods:{addStyle:Gx,init(){this.innerCurrent=this.current,Fx().then(()=>this.getRect())},getText(e){return"object"==typeof e?e[this.keyName]:e},getRect(){this.$uGetRect(".u-subsection__item--0").then(e=>{this.itemRect=e})},clickHandler(e){this.disabled||(this.innerCurrent=e,this.$emit("update:current",e),this.$emit("change",e))},getTextViewDisableClass(e){return this.disabled?"button"===this.mode?"item-button--disabled":"item-subsection--disabled":""}}},[["render",function(e,t,n,o,i,r){const a=Qg,s=Hg;return Sr(),Ir(a,{class:$e(["u-subsection",[`u-subsection--${e.mode}`]]),ref:"u-subsection",style:ze([r.addStyle(e.customStyle),r.wrapperStyle])},{default:bo(()=>[Lr(a,{class:$e(["u-subsection__bar cursor-pointer",["button"===e.mode&&"u-subsection--button__bar",0===i.innerCurrent&&"subsection"===e.mode&&"u-subsection__bar--first",i.innerCurrent>0&&i.innerCurrent(Sr(),Ir(a,{class:$e(["u-subsection__item cursor-pointer",[`u-subsection__item--${n}`,nr.clickHandler(n),key:n},{default:bo(()=>[Lr(s,{class:$e(["u-subsection__item__text",[e.disabled?"u-subsection--disabled":""]]),style:ze([r.textStyle(n,t)])},{default:bo(()=>[Dr(K(r.getText(t)),1)]),_:2},1032,["class","style"])]),_:2},1032,["class","style","onClick"]))),128))]),_:1},8,["class","style"])}],["__scopeId","data-v-f0ea7e24"]]),_A=Object.freeze(Object.defineProperty({__proto__:null,default:vA},Symbol.toStringTag,{value:"Module"}));const wA=MS({name:"up-color-picker",props:{modelValue:{type:String,default:"#ff0000"},commonColors:{type:Array,default:()=>[]}},data:()=>({show:!1,colorTypeIndex:0,hue:0,saturation:100,lightness:50,alpha:1,saturationPosition:{x:150,y:0},huePosition:0,alphaPosition:0,gradientColors:[{color:"#ff0000",percent:0},{color:"#0000ff",percent:1}],gradientDirections:[{label:"从左到右",value:"to right"},{label:"从上到下",value:"to bottom"},{label:"从左上到右下",value:"to bottom right"},{label:"从右上到左下",value:"to bottom left"}],currentDirection:{label:"从左到右",value:"to right"},showDirectionPicker:!1,currentColor:"#ff0000",draggingPointerIndex:-1,directionPointer:{x:20,y:20},editingGradientIndex:-1,solidColorState:{hue:0,saturation:100,lightness:50,alpha:1,saturationPosition:{x:150,y:0},huePosition:0,alphaPosition:0,currentColor:"#ff0000"},gradientColorState:{gradientColors:[{color:"#ff0000",percent:0},{color:"#0000ff",percent:1}],currentDirection:{label:"从左到右",value:"to right"},directionPointer:{x:100,y:0}},previewType:"solid"}),computed:{gradientStyle(){const e=this.gradientColors.map(e=>`${e.color} ${Math.round(100*e.percent)}%`).join(", ");return`linear-gradient(${this.currentDirection.value}, ${e})`},displayColor(){return"gradient-point"===this.previewType&&this.editingGradientIndex>=0?this.gradientColors[this.editingGradientIndex].color:(console.log(this.editingGradientIndex),this.currentColor)}},watch:{show(e){e&&this.initColor()},colorTypeIndex(e){0==e&&(this.editingGradientIndex=-1)}},mounted(){this.initColor()},emits:["update:modelValue","confirm","close"],methods:{initColor(){this.modelValue&&(this.currentColor=this.modelValue,this.modelValue.includes("linear-gradient")?(this.colorTypeIndex=1,this.parseGradientColor(this.modelValue),this.previewType="gradient"):(this.colorTypeIndex=0,this.parseSolidColor(this.modelValue),this.previewType="solid")),this.initDirectionPointer(),this.initAlphaPosition()},async initAlphaPosition(){const e=Ep().in(this);e.select(".up-color-picker__alpha").boundingClientRect(),await this.$nextTick(),e.exec(e=>{const t=e[0];this.alphaPosition=t&&t.width||150,this.solidColorState.alphaPosition=this.alphaPosition,this.updateSolidColor()})},initDirectionPointer(){const e=this.getDirectionAngle(this.currentDirection.value);this.setDirectionPointerByAngle(e)},getDirectionAngle(e){switch(e){case"to right":default:return 0;case"to bottom":return 90;case"to left":return 180;case"to top":return 270;case"to bottom right":return 45;case"to bottom left":return 135;case"to top left":return 225;case"to top right":return 315}},setDirectionPointerByAngle(e){const t=e*Math.PI/180;this.directionPointer={x:20*Math.cos(t)+20,y:20*Math.sin(t)+20}},openColorPickerForGradient(e){this.editingGradientIndex=e;const t=this.gradientColors[e].color;this.currentColor=t,this.previewType="gradient-point",t.includes("linear-gradient")||(this.colorTypeIndex=0,this.parseSolidColor(t),this.gradientColorState={gradientColors:[...this.gradientColors],currentDirection:{...this.currentDirection},directionPointer:{...this.directionPointer}})},parseSolidColor(e){this.currentColor=e,this.editingGradientIndex>=0?(this.gradientColors[this.editingGradientIndex].color=e,this.colorTypeIndex=1,Object.assign(this,this.solidColorState),this.previewType="gradient-point"):this.previewType="solid"},parseGradientColor(e){this.currentColor=e},changeColorType(e){0===this.colorTypeIndex?this.solidColorState={hue:this.hue,saturation:this.saturation,lightness:this.lightness,alpha:this.alpha,saturationPosition:{...this.saturationPosition},huePosition:this.huePosition,alphaPosition:this.alphaPosition,currentColor:this.currentColor}:this.gradientColorState={gradientColors:[...this.gradientColors],currentDirection:{...this.currentDirection},directionPointer:{...this.directionPointer}},this.colorTypeIndex=e,0===e?(Object.assign(this,this.solidColorState),this.previewType="solid"):(Object.assign(this,this.gradientColorState),this.gradientColors=[...this.gradientColorState.gradientColors],this.previewType="gradient")},onSaturationTouchStart(e){this.updateSaturationPosition(e)},onSaturationTouchMove(e){this.updateSaturationPosition(e)},onSaturationTouchEnd(e){this.updateSaturationPosition(e)},updateSaturationPosition(e){const t=e.touches[0]||e.changedTouches[0];e.currentTarget;const n=Ep().in(this);n.select(".up-color-picker__saturation").boundingClientRect(),n.exec(e=>{const n=e[0];if(n){let e=t.clientX-n.left,o=t.clientY-n.top;e=Math.max(0,Math.min(e,n.width)),o=Math.max(0,Math.min(o,n.height)),this.saturationPosition={x:e,y:o},this.updateSolidColor()}})},onHueTouchStart(e){this.updateHuePosition(e)},onHueTouchMove(e){this.updateHuePosition(e)},onHueTouchEnd(e){this.updateHuePosition(e)},updateHuePosition(e){const t=e.touches[0]||e.changedTouches[0];e.currentTarget;const n=Ep().in(this);n.select(".up-color-picker__hue").boundingClientRect(),n.exec(e=>{const n=e[0];if(n){let e=t.clientX-n.left;e=Math.max(0,Math.min(e,n.width)),this.huePosition=e,this.hue=Math.round(e/n.width*360),this.updateSolidColor()}})},onAlphaTouchStart(e){this.updateAlphaPosition(e)},onAlphaTouchMove(e){this.updateAlphaPosition(e)},onAlphaTouchEnd(e){this.updateAlphaPosition(e)},updateAlphaPosition(e){const t=e.touches[0]||e.changedTouches[0];e.currentTarget;const n=Ep().in(this);n.select(".up-color-picker__alpha").boundingClientRect(),n.exec(e=>{const n=e[0];if(n){let e=t.clientX-n.left;e=Math.max(0,Math.min(e,n.width)),this.alphaPosition=e,this.alpha=e/n.width,this.updateSolidColor()}})},updateSolidColor(){const e=Ep().in(this);e.select(".up-color-picker__saturation").boundingClientRect(),e.exec(e=>{const t=e[0],n=t?Math.min(t.width,t.height):150,o=this.saturationPosition.x/n*100,i=100-this.saturationPosition.y/n*100;this.saturation=o,this.lightness=i,0==this.colorTypeIndex?this.currentColor=this.hslToRgb(this.hue,this.saturation,this.lightness,this.alpha):1==this.colorTypeIndex&&(this.gradientColors[this.editingGradientIndex].color=this.hslToRgb(this.hue,this.saturation,this.lightness,this.alpha))})},addGradientColor(){this.gradientColors.length<5&&this.gradientColors.push({color:"#ffffff",percent:1})},removeGradientColor(e){this.gradientColors.length>2&&this.gradientColors.splice(e,1)},getGradientPointerPosition(e){return 280*this.gradientColors[e].percent},updateGradientColor(e){const t=e.touches[0]||e.changedTouches[0],n=Ep().in(this);n.select(".up-color-picker__gradient-track").boundingClientRect(),n.exec(e=>{const n=e[0];if(n){let e=t.clientX-n.left;e=Math.max(0,Math.min(e,n.width));const o=e/n.width;this.draggingPointerIndex>=0&&(this.gradientColors[this.draggingPointerIndex].percent=o,this.gradientColors.sort((e,t)=>e.percent-t.percent))}})},onPointerTouchStart(e,t){this.draggingPointerIndex=t,this.currentColor=this.gradientColors[t].color,this.previewType="gradient-point",this.editingGradientIndex=t,e.stopPropagation()},onPointerTouchMove(e){if(-1===this.draggingPointerIndex)return;const t=e.touches[0]||e.changedTouches[0],n=Ep().in(this);n.select(".up-color-picker__gradient-track").boundingClientRect(),n.exec(e=>{const n=e[0];if(n){let e=t.clientX-n.left;e=Math.max(0,Math.min(e,n.width));let o=e/n.width;0===e&&(o=0),e===n.width&&(o=1),this.gradientColors[this.draggingPointerIndex].percent=o,this.gradientColors.sort((e,t)=>e.percent-t.percent),this.draggingPointerIndex=this.gradientColors.findIndex((e,t)=>Math.abs(e.percent-o)<1e-4)}})},onPointerTouchEnd(){this.draggingPointerIndex=-1},onDirectionTouchStart(e){this.updateDirection(e)},onDirectionTouchMove(e){this.updateDirection(e)},onDirectionTouchEnd(e){this.updateDirection(e)},updateDirection(e){const t=e.touches[0]||e.changedTouches[0],n=Ep().in(this);n.select(".up-color-picker__gradient__direction-circle").boundingClientRect(),n.exec(e=>{const n=e[0];if(n){const e=n.left+n.width/2,o=n.top+n.height/2,i=t.clientX-e,r=t.clientY-o,a=Math.sqrt(i*i+r*r),s=n.width/2;if(a<=s)this.directionPointer={x:i+n.width/2,y:r+n.height/2};else{const e=s/a;this.directionPointer={x:i*e+n.width/2,y:r*e+n.height/2}}const l=180*Math.atan2(r,i)/Math.PI;console.log(l),this.updateGradientDirection(l)}})},updateGradientDirection(e){e<0&&(e+=360),this.currentDirection=e>=315||e<45?{label:"从左到右",value:"to right"}:e>=45&&e<135?{label:"从上到下",value:"to bottom"}:e>=135&&e<225?{label:"从右到左",value:"to left"}:{label:"从下到上",value:"to top"}},confirmDirection(e){this.currentDirection=this.gradientDirections[e.index],this.showDirectionPicker=!1},selectCommonColor(e){this.currentColor=e,0===this.colorTypeIndex?this.parseSolidColor(e):this.gradientColors[this.editingGradientIndex].color=e},confirm(){let e=this.currentColor;1===this.colorTypeIndex&&(e=this.gradientStyle),this.$emit("update:modelValue",e),this.show=!1,this.$emit("confirm",e),this.editingGradientIndex=-1,this.previewType=0===this.colorTypeIndex?"solid":"gradient",this.close()},close(){this.show=!1,this.$emit("close")},hslToRgb(e,t,n,o=1){let i,r,a;if(e/=360,n/=100,0===(t/=100))i=r=a=n;else{const o=(e,t,n)=>(n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e),s=n<.5?n*(1+t):n+t-n*t,l=2*n-s;i=o(l,s,e+1/3),r=o(l,s,e),a=o(l,s,e-1/3)}const s=e=>Math.round(255*e);return`rgba(${s(i)}, ${s(r)}, ${s(a)}, ${o.toFixed(2)})`}}},[["render",function(e,t,n,o,i,r){const a=Qg,s=Hg,l=DS(Ao("up-subsection"),vA),c=DS(Ao("up-button"),nC),u=DS(Ao("up-popup"),pk);return Sr(),Ir(a,{class:"up-color-picker"},{default:bo(()=>[Lr(a,{clas:"up-color-picker__trigger",onClick:t[0]||(t[0]=e=>i.show=!0),style:ze({backgroundColor:e.value})},{default:bo(()=>[Ti(e.$slots,"default",{},void 0,!0)]),_:3},8,["style"]),Lr(u,{show:i.show,mode:"bottom",round:"10",onClose:r.close,closeOnClickOverlay:!0},{default:bo(()=>[Lr(a,{class:"up-color-picker__content"},{default:bo(()=>[Lr(a,{class:"up-color-picker__header"},{default:bo(()=>[Lr(s,{class:"up-color-picker__title"},{default:bo(()=>[Dr("选择颜色")]),_:1})]),_:1}),Lr(a,{class:"up-color-picker__switch"},{default:bo(()=>[Lr(l,{list:[{name:"纯色"},{name:"渐变"}],current:i.colorTypeIndex,onChange:r.changeColorType,fontSize:"14"},null,8,["current","onChange"])]),_:1}),1==i.colorTypeIndex?(Sr(),Ir(a,{key:0,class:"up-color-picker__gradient"},{default:bo(()=>[Lr(a,{class:"up-color-picker__gradient-track",style:ze({background:r.gradientStyle})},{default:bo(()=>[(Sr(!0),Tr(yr,null,Ai(i.gradientColors,(e,t)=>(Sr(),Ir(a,{class:"up-color-picker__gradient-pointer",key:t,style:ze({left:r.getGradientPointerPosition(t)+"px"}),onClick:e=>r.openColorPickerForGradient(t),onTouchstart:e=>r.onPointerTouchStart(e,t),onTouchmove:vs(r.onPointerTouchMove,["stop"]),onTouchend:vs(r.onPointerTouchEnd,["stop"])},{default:bo(()=>[Lr(a,{class:"up-color-picker__gradient-pointer-inner",style:ze({backgroundColor:e.color})},null,8,["style"])]),_:2},1032,["style","onClick","onTouchstart","onTouchmove","onTouchend"]))),128))]),_:1},8,["style"]),Lr(a,{class:"up-color-picker__gradient-controls"},{default:bo(()=>[Lr(c,{type:"primary",size:"mini",plain:"",onClick:r.addGradientColor,class:"up-color-picker__add-btn"},{default:bo(()=>[Dr(" 添加颜色 ")]),_:1},8,["onClick"])]),_:1}),Lr(a,{class:"up-color-picker__gradient-direction"},{default:bo(()=>[Lr(s,null,{default:bo(()=>[Dr("方向:")]),_:1}),Lr(a,{class:"up-color-picker__gradient__direction-circle",onTouchstart:r.onDirectionTouchStart,onTouchmove:r.onDirectionTouchMove,onTouchend:r.onDirectionTouchEnd},{default:bo(()=>[Lr(a,{class:"up-color-picker__direction-pointer",style:ze({left:i.directionPointer.x+"px",top:i.directionPointer.y+"px"})},null,8,["style"])]),_:1},8,["onTouchstart","onTouchmove","onTouchend"])]),_:1})]),_:1})):zr("",!0),Lr(a,{class:"up-color-picker__solid"},{default:bo(()=>[Lr(a,{class:"up-color-picker__saturation",style:ze({backgroundColor:`hsl(${i.hue}, 100%, 50%)`}),onTouchstart:r.onSaturationTouchStart,onTouchmove:r.onSaturationTouchMove,onTouchend:r.onSaturationTouchEnd},{default:bo(()=>[Lr(a,{class:"up-color-picker__saturation-pointer",style:ze({left:i.saturationPosition.x+"px",top:i.saturationPosition.y+"px"})},null,8,["style"])]),_:1},8,["style","onTouchstart","onTouchmove","onTouchend"]),Lr(a,{class:"up-color-picker__hue",onTouchstart:r.onHueTouchStart,onTouchmove:r.onHueTouchMove,onTouchend:r.onHueTouchEnd},{default:bo(()=>[Lr(a,{class:"up-color-picker__hue-pointer",style:ze({left:i.huePosition+"px"})},null,8,["style"])]),_:1},8,["onTouchstart","onTouchmove","onTouchend"]),0==i.colorTypeIndex?(Sr(),Ir(a,{key:0,class:"up-color-picker__alpha",onTouchstart:r.onAlphaTouchStart,onTouchmove:r.onAlphaTouchMove,onTouchend:r.onAlphaTouchEnd},{default:bo(()=>[Lr(a,{class:"up-color-picker__alpha-bg"}),Lr(a,{class:"up-color-picker__alpha-pointer",style:ze({left:i.alphaPosition+"px"})},null,8,["style"])]),_:1},8,["onTouchstart","onTouchmove","onTouchend"])):zr("",!0)]),_:1}),n.commonColors&&n.commonColors.length?(Sr(),Ir(a,{key:1,class:"up-color-picker__common"},{default:bo(()=>[Lr(s,{class:"up-color-picker__common-title"},{default:bo(()=>[Dr("常用颜色")]),_:1}),Lr(a,{class:"up-color-picker__common-list"},{default:bo(()=>[(Sr(!0),Tr(yr,null,Ai(n.commonColors,(e,t)=>(Sr(),Ir(a,{key:t,class:"up-color-picker__common-item",style:ze({backgroundColor:e}),onClick:t=>r.selectCommonColor(e)},null,8,["style","onClick"]))),128))]),_:1})]),_:1})):zr("",!0),Lr(a,{class:"up-color-picker__footer"},{default:bo(()=>[Lr(a,{class:"up-color-picker__preview"},{default:bo(()=>[Lr(a,{class:"up-color-picker__preview-color",style:ze({backgroundColor:r.displayColor})},null,8,["style"]),Lr(s,{class:"up-color-picker__preview-text"},{default:bo(()=>[Dr(K(r.displayColor),1)]),_:1})]),_:1}),Lr(a,{class:"up-color-picker__actions"},{default:bo(()=>[Lr(c,{type:"primary",size:"small",onClick:r.confirm,class:"up-color-picker__btn"},{default:bo(()=>[Dr(" 确定 ")]),_:1},8,["onClick"]),Lr(c,{type:"info",size:"small",onClick:r.close,class:"up-color-picker__btn"},{default:bo(()=>[Dr(" 取消 ")]),_:1},8,["onClick"])]),_:1})]),_:1})]),_:1})]),_:1},8,["show","onClose"])]),_:3})}],["__scopeId","data-v-3c013809"]]),xA=Object.freeze(Object.defineProperty({__proto__:null,default:wA},Symbol.toStringTag,{value:"Module"})),SA={props:{text:{type:[Array],default:()=>CS.columnNotice.text},icon:{type:String,default:()=>CS.columnNotice.icon},mode:{type:String,default:()=>CS.columnNotice.mode},color:{type:String,default:()=>CS.columnNotice.color},bgColor:{type:String,default:()=>CS.columnNotice.bgColor},fontSize:{type:[String,Number],default:()=>CS.columnNotice.fontSize},speed:{type:[String,Number],default:()=>CS.columnNotice.speed},step:{type:Boolean,default:()=>CS.columnNotice.step},duration:{type:[String,Number],default:()=>CS.columnNotice.duration},disableTouch:{type:Boolean,default:()=>CS.columnNotice.disableTouch},justifyContent:{type:String,default:()=>CS.columnNotice.justifyContent}}};const kA=MS({mixins:[IS,PS,SA],watch:{text:{immediate:!0,handler(e,t){Ex.array(e)}}},computed:{textStyle(){let e={};return e.color=this.color,e.fontSize=Yx(this.fontSize),e},vertical(){return"horizontal"!=this.mode}},data:()=>({index:0}),emits:["click","close"],methods:{noticeChange(e){this.index=e.detail.current},clickHandler(){this.$emit("click",this.index)},close(){this.$emit("close")}}},[["render",function(e,t,n,o,i,r){const a=DS(Ao("up-icon"),LS),s=Qg,l=Hg,c=$g,u=Dg;return Sr(),Ir(s,{class:"u-notice",onClick:r.clickHandler},{default:bo(()=>[Ti(e.$slots,"icon",{},()=>[e.icon?(Sr(),Ir(s,{key:0,class:"u-notice__left-icon"},{default:bo(()=>[Lr(a,{name:e.icon,color:e.color,size:"19"},null,8,["name","color"])]),_:1})):zr("",!0)],!0),Lr(u,{"disable-touch":e.disableTouch,vertical:!e.step,circular:"",interval:e.duration,autoplay:!0,class:"u-notice__swiper",onChange:r.noticeChange},{default:bo(()=>[(Sr(!0),Tr(yr,null,Ai(e.text,(t,n)=>(Sr(),Ir(c,{key:n,class:"u-notice__swiper__item",style:ze({justifyContent:e.justifyContent})},{default:bo(()=>[Lr(l,{class:"u-notice__swiper__item__text u-line-1",style:ze([r.textStyle])},{default:bo(()=>[Dr(K(t),1)]),_:2},1032,["style"])]),_:2},1032,["style"]))),128))]),_:1},8,["disable-touch","vertical","interval","onChange"]),["link","closable"].includes(e.mode)?(Sr(),Ir(s,{key:0,class:"u-notice__right-icon"},{default:bo(()=>["link"===e.mode?(Sr(),Ir(a,{key:0,name:"arrow-right",size:17,color:e.color},null,8,["color"])):zr("",!0),"closable"===e.mode?(Sr(),Ir(a,{key:1,name:"close",size:16,color:e.color,onClick:r.close},null,8,["color","onClick"])):zr("",!0)]),_:1})):zr("",!0)]),_:3},8,["onClick"])}],["__scopeId","data-v-2431afb5"]]),CA=Object.freeze(Object.defineProperty({__proto__:null,default:kA},Symbol.toStringTag,{value:"Module"}));const AA=MS({name:"up-copy",props:{content:{type:String,default:""},alertStyle:{type:String,default:"toast"},notice:{type:String,default:mS("up.common.copy")+mS("up.common.success")}},emits:["success"],methods:{t:mS,handleClick(){let e=this.content;if(!e)return i_({title:mS("up.common.none"),icon:"none",duration:2e3}),!1;e="string"==typeof e?e:e.toString();let t=this;Wb({data:e,success:function(){"modal"==t.alertStyle?Qv({title:"up.common.tip",content:t.notice}):i_({title:t.notice,icon:"none"}),t.$emit("success")},fail:function(){i_({title:mS("up.common.copy")+mS("up.common.fail"),icon:"none",duration:3e3})}})}}},[["render",function(e,t,n,o,i,r){const a=Qg;return Sr(),Ir(a,{onClick:r.handleClick},{default:bo(()=>[Ti(e.$slots,"default",{},()=>[Dr(K(r.t("up.common.copy")),1)])]),_:3},8,["onClick"])}]]),TA=Object.freeze(Object.defineProperty({__proto__:null,default:AA},Symbol.toStringTag,{value:"Module"})),IA={props:{time:{type:[String,Number],default:()=>CS.countDown.time},format:{type:String,default:()=>CS.countDown.format},autoStart:{type:Boolean,default:()=>CS.countDown.autoStart},millisecond:{type:Boolean,default:()=>CS.countDown.millisecond}}};function EA(e,t=2){let n=`${e}`;for(;n.length({timer:null,timeData:MA(0),formattedTime:"0",runing:!1,endTime:0,remainTime:0}),watch:{time(e){this.reset()}},mounted(){this.init()},emits:["change","finish"],methods:{init(){this.reset()},start(){this.runing||(this.runing=!0,this.endTime=Date.now()+this.remainTime,this.toTick())},toTick(){this.millisecond?this.microTick():this.macroTick()},macroTick(){this.clearTimeout(),this.timer=setTimeout(()=>{const e=this.getRemainTime();var t,n;t=e,n=this.remainTime,(Math.floor(t/1e3)!==Math.floor(n/1e3)||0===e)&&this.setRemainTime(e),0!==this.remainTime&&this.macroTick()},30)},microTick(){this.clearTimeout(),this.timer=setTimeout(()=>{this.setRemainTime(this.getRemainTime()),0!==this.remainTime&&this.microTick()},50)},getRemainTime(){return Math.max(this.endTime-Date.now(),0)},setRemainTime(e){this.remainTime=e;const t=MA(e);this.timeData=t,this.$emit("change",t),this.formattedTime=function(e,t){let{days:n,hours:o,minutes:i,seconds:r,milliseconds:a}=t;return-1===e.indexOf("DD")?o+=24*n:e=e.replace("DD",EA(n)),-1===e.indexOf("HH")?i+=60*o:e=e.replace("HH",EA(o)),-1===e.indexOf("mm")?r+=60*i:e=e.replace("mm",EA(i)),-1===e.indexOf("ss")?a+=1e3*r:e=e.replace("ss",EA(r)),e.replace("SSS",EA(a,3))}(this.format,t),e<=0&&(this.pause(),this.$emit("finish"))},reset(){this.pause(),this.remainTime=this.time,this.setRemainTime(this.remainTime),this.autoStart&&this.start()},pause(){this.runing=!1,this.clearTimeout()},clearTimeout(){clearTimeout(this.timer),this.timer=null}},beforeUnmount(){this.clearTimeout()}},[["render",function(e,t,n,o,i,r){const a=Hg,s=Qg;return Sr(),Ir(s,{class:"u-count-down"},{default:bo(()=>[Ti(e.$slots,"default",{days:i.timeData.days,hours:i.timeData.hours,minutes:i.timeData.minutes,seconds:i.timeData.seconds},()=>[Lr(a,{class:"u-count-down__text"},{default:bo(()=>[Dr(K(i.formattedTime),1)]),_:1})],!0)]),_:3})}],["__scopeId","data-v-bd11c6ff"]]),RA=Object.freeze(Object.defineProperty({__proto__:null,default:LA},Symbol.toStringTag,{value:"Module"})),DA={props:{startVal:{type:[String,Number],default:()=>CS.countTo.startVal},endVal:{type:[String,Number],default:()=>CS.countTo.endVal},duration:{type:[String,Number],default:()=>CS.countTo.duration},autoplay:{type:Boolean,default:()=>CS.countTo.autoplay},decimals:{type:[String,Number],default:()=>CS.countTo.decimals},useEasing:{type:Boolean,default:()=>CS.countTo.useEasing},decimal:{type:[String,Number],default:()=>CS.countTo.decimal},color:{type:String,default:()=>CS.countTo.color},fontSize:{type:[String,Number],default:()=>CS.countTo.fontSize},bold:{type:Boolean,default:()=>CS.countTo.bold},separator:{type:String,default:()=>CS.countTo.separator}}};const zA=MS({name:"u-count-to",data(){return{localStartVal:this.startVal,displayValue:this.formatNumber(this.startVal),printVal:null,paused:!1,localDuration:Number(this.duration),startTime:null,timestamp:null,remaining:null,rAF:null,lastTime:0}},mixins:[IS,PS,DA],computed:{countDown(){return this.startVal>this.endVal}},watch:{startVal(){this.autoplay&&this.start()},endVal(){this.autoplay&&this.start()}},mounted(){this.autoplay&&this.start()},emits:["end"],methods:{addUnit:Yx,easingFn:(e,t,n,o)=>n*(1-Math.pow(2,-10*e/o))*1024/1023+t,requestAnimationFrame(e){const t=(new Date).getTime(),n=Math.max(0,16-(t-this.lastTime)),o=setTimeout(()=>{e(t+n)},n);return this.lastTime=t+n,o},cancelAnimationFrame(e){clearTimeout(e)},start(){this.localStartVal=this.startVal,this.startTime=null,this.localDuration=this.duration,this.paused=!1,this.rAF=this.requestAnimationFrame(this.count)},reStart(){this.paused?(this.resume(),this.paused=!1):(this.stop(),this.paused=!0)},stop(){this.cancelAnimationFrame(this.rAF)},resume(){this.remaining&&(this.startTime=0,this.localDuration=this.remaining,this.localStartVal=this.printVal,this.requestAnimationFrame(this.count))},reset(){this.startTime=null,this.cancelAnimationFrame(this.rAF),this.displayValue=this.formatNumber(this.startVal)},count(e){this.startTime||(this.startTime=e),this.timestamp=e;const t=e-this.startTime;this.remaining=this.localDuration-t,this.useEasing?this.countDown?this.printVal=this.localStartVal-this.easingFn(t,0,this.localStartVal-this.endVal,this.localDuration):this.printVal=this.easingFn(t,this.localStartVal,this.endVal-this.localStartVal,this.localDuration):this.countDown?this.printVal=this.localStartVal-(this.localStartVal-this.endVal)*(t/this.localDuration):this.printVal=this.localStartVal+(this.endVal-this.localStartVal)*(t/this.localDuration),this.countDown?this.printVal=this.printValthis.endVal?this.endVal:this.printVal,this.displayValue=this.formatNumber(this.printVal)||0,t!isNaN(parseFloat(e)),formatNumber(e){e=(e=Number(e)).toFixed(Number(this.decimals));const t=(e+="").split(".");let n=t[0];const o=t.length>1?this.decimal+t[1]:"",i=/(\d+)(\d{3})/;if(this.separator&&!this.isNumber(this.separator))for(;i.test(n);)n=n.replace(i,"$1"+this.separator+"$2");return n+o},destroyed(){this.cancelAnimationFrame(this.rAF)}}},[["render",function(e,t,n,o,i,r){const a=Hg;return Sr(),Ir(a,{class:"u-count-num",style:ze({fontSize:r.addUnit(e.fontSize),fontWeight:e.bold?"bold":"normal",color:e.color})},{default:bo(()=>[Dr(K(i.displayValue),1)]),_:1},8,["style"])}],["__scopeId","data-v-6b5d5101"]]),$A=Object.freeze(Object.defineProperty({__proto__:null,default:zA},Symbol.toStringTag,{value:"Module"}));const FA=MS({name:"up-coupon",props:{amount:{type:[String,Number],default:""},unit:{type:String,default:"¥"},unitPosition:{type:String,default:"left"},limit:{type:String,default:""},title:{type:String,default:"优惠券"},desc:{type:String,default:""},time:{type:String,default:""},actionText:{type:String,default:"使用"},shape:{type:String,default:"coupon"},size:{type:String,default:"medium"},circle:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},bgColor:{type:String,default:""},color:{type:String,default:""},type:{type:String,default:""}},computed:{couponStyle(){const e={};return this.bgColor&&(e.background=this.bgColor),this.color&&(e.color=this.color),e},dotCount(){return{small:8,medium:10,large:12}[this.size]||10}},methods:{handleClick(){this.disabled||this.$emit("click")}}},[["render",function(e,t,n,o,i,r){const a=Hg,s=Qg,l=DS(Ao("up-tag"),VC);return Sr(),Ir(s,{class:$e(["up-coupon",[`up-coupon--${n.shape}`,`up-coupon--${n.type}`,`up-coupon--${n.size}`,{"up-coupon--disabled":n.disabled}]]),style:ze([r.couponStyle]),onClick:r.handleClick},{default:bo(()=>[Lr(s,{class:"up-coupon__content"},{default:bo(()=>[Lr(s,{class:"up-coupon__amount"},{default:bo(()=>["left"===n.unitPosition?Ti(e.$slots,"unit",{key:0,unit:n.unit,unitPosition:n.unitPosition},()=>["left"===n.unitPosition?(Sr(),Ir(a,{key:0,class:"up-coupon__amount-unit"},{default:bo(()=>[Dr(K(n.unit),1)]),_:1})):zr("",!0)],!0):zr("",!0),Ti(e.$slots,"amount",{amount:n.amount},()=>[Lr(a,{class:"up-coupon__amount-value"},{default:bo(()=>[Dr(K(n.amount),1)]),_:1})],!0),"right"===n.unitPosition?Ti(e.$slots,"unit",{key:1,unit:n.unit,unitPosition:n.unitPosition},()=>["right"===n.unitPosition?(Sr(),Ir(a,{key:0,class:"up-coupon__amount-unit"},{default:bo(()=>[Dr(K(n.unit),1)]),_:1})):zr("",!0)],!0):zr("",!0),Ti(e.$slots,"limit",{limit:n.limit},()=>[n.limit?(Sr(),Ir(a,{key:0,class:"up-coupon__amount-limit"},{default:bo(()=>[Dr(K(n.limit),1)]),_:1})):zr("",!0)],!0)]),_:3}),Lr(s,{class:"up-coupon__info"},{default:bo(()=>[Ti(e.$slots,"title",{title:n.title},()=>[Lr(a,{class:"up-coupon__info-title"},{default:bo(()=>[Dr(K(n.title),1)]),_:1})],!0),Ti(e.$slots,"desc",{desc:n.desc},()=>[n.desc?(Sr(),Ir(a,{key:0,class:"up-coupon__info-desc"},{default:bo(()=>[Dr(K(n.desc),1)]),_:1})):zr("",!0)],!0),Ti(e.$slots,"time",{time:n.time},()=>[n.time?(Sr(),Ir(a,{key:0,class:"up-coupon__info-time"},{default:bo(()=>[Dr(K(n.time),1)]),_:1})):zr("",!0)],!0)]),_:3}),Lr(s,{class:"up-coupon__action u-padding-right-20"},{default:bo(()=>[Ti(e.$slots,"action",{actionText:n.actionText,circle:n.circle},()=>[Lr(l,{type:"error",bgColor:n.type?"transparent":"#eb433d",borderColor:n.type?"#eee":"#eb433d",borderRadius:"6px",size:"medium",class:"up-coupon__action-text",shape:(n.circle,"circle")},{default:bo(()=>[Dr(K(n.actionText),1)]),_:1},8,["bgColor","borderColor","shape"])],!0)]),_:3})]),_:3}),"envelope"===n.shape?(Sr(),Ir(s,{key:0,class:"up-coupon__rope"})):zr("",!0),Ti(e.$slots,"default",{},void 0,!0)]),_:3},8,["class","style","onClick"])}],["__scopeId","data-v-b551a844"]]),jA=Object.freeze(Object.defineProperty({__proto__:null,default:FA},Symbol.toStringTag,{value:"Module"})),HA=50;const VA=MS({name:"u-cropper",data:()=>({instanceId:Date.now()+"-"+Math.random().toString(36).substr(2,9),cvsStyleHeight:"0px",styleDisplay:"none",styleTop:"-10000px",prvTop:"-10000px",imgStyle:{},selStyle:{},showOper:!0,imgSrc:{imgSrc:""},btnWidth:"19%",btnDsp:"flex",arWidth:"",arHeight:"",expWidth:"",expHeight:"",letChangeSize:!1}),watch:{avatarSrc(){this.imgSrc.imgSrc=this.avatarSrc}},emits:["avtinit","confirm"],props:{minScale:"",maxScale:"",canScale:!0,canRotate:!0,lockWidth:"",lockHeight:"",stretch:"",lock:"",noTab:!0,inner:!1,quality:"",index:"",canChangeSize:!1,areaWidth:"300rpx",areaHeight:"300rpx",exportWidth:"260rpx",exportHeight:"260rpx"},created(){this.ctxCanvas=hp("avatar-canvas-"+this.instanceId,this),this.ctxCanvasOper=hp("oper-canvas-"+this.instanceId,this),this.ctxCanvasPrv=hp("prv-canvas-"+this.instanceId,this),this.qlty=parseInt(this.quality)||.9,this.imgSrc.imgSrc=this.imageSrc,this.letRotate=!1===this.canRotate||!0===this.inner?0:1,this.letScale=!1===this.canScale?0:1,this.letChangeSize=this.canChangeSize,this.isin=!0===this.inner?1:0,this.indx=this.index||void 0,this.mnScale=this.minScale||.3,this.mxScale=this.maxScale||4,this.noBar=!0===this.noTab?1:0,this.stc=this.stretch,this.lck=this.lock,this.isin?(this.btnWidth="24%",this.btnDsp="none"):(this.btnWidth="19%",this.btnDsp="flex"),this.noBar?(this.moreHeight=0,this.windowResize()):__({complete:e=>{this.moreHeight="showTabBar:ok"===e.errMsg?50:0,this.windowResize()}})},methods:{t:mS,windowResize(){let e=Rb();this.platform=e.platform,this.pixelRatio=e.pixelRatio,this.windowWidth=e.windowWidth,this.drawTop=e.windowTop,this.windowHeight=e.windowHeight+e.windowBottom,this.cvsStyleHeight=this.windowHeight-HA+"px",this.pxRatio=this.windowWidth/750;let t=this.avatarStyle;if(t&&!0!==t&&(t=t.trim())){t=t.split(";");let e={};for(let n of t)if(n){if(n=n.trim().split(":"),n[1].indexOf("rpx")>=0){let e=n[1].trim().split(" ");for(let t in e)e[t]&&e[t].indexOf("rpx")>=0&&(e[t]=parseFloat(e[t])*this.pxRatio+"px");n[1]=e.join(" ")}e[n[0].trim()]=n[1].trim()}this.imgStyle=e}this.expWidth&&(this.expWidth=this.expWidth.indexOf("rpx")>=0?parseInt(this.expWidth)*this.pxRatio:parseInt(this.expWidth)),this.expHeight&&(this.expHeight=this.expHeight.indexOf("rpx")>=0?parseInt(this.expHeight)*this.pxRatio:parseInt(this.expHeight)),"flex"===this.styleDisplay&&this.drawInit(!0),this.hideImg()},select(){this.fSelecting||(this.fSelecting=!0,setTimeout(()=>{this.fSelecting=!1},500),ov({count:1,sizeType:["original","compressed"],sourceType:["album","camera"],success:e=>{a_({mask:!0});let t=this.imgPath=e.tempFilePaths[0];Kb({src:t,success:e=>{if(this.imgWidth=e.width,this.imgHeight=e.height,this.path=t,!this.hasSel){let e=this.selStyle||{};if(!this.arWidth||!this.arHeight)return void Qv({title:mS("up.cropper.emptyWidhtOrHeight"),showCancel:!1});{let t=this.arWidth.indexOf("rpx")>=0?parseInt(this.arWidth)*this.pxRatio:parseInt(this.arWidth),n=this.arHeight.indexOf("rpx")>=0?parseInt(this.arHeight)*this.pxRatio:parseInt(this.arHeight);e.width=t+"px",e.height=n+"px",e.top=(this.windowHeight-n-HA)/2+"px",e.left=(this.windowWidth-t)/2+"px"}this.selStyle=e}this.noBar?this.drawInit(!0):v_({complete:()=>{this.drawInit(!0)}})},fail:()=>{i_({title:"error3",duration:2e3})},complete(){s_()}})}}))},confirm(){if(this.fUploading)return;this.fUploading=!0,setTimeout(()=>{this.fUploading=!1},1e3);let e=this.selStyle,t=parseInt(e.left),n=parseInt(e.top),o=parseInt(e.width),i=parseInt(e.height),r=this.expWidth||o,a=this.expHeight||i;r=o,a=i,a_({mask:!0}),this.styleDisplay="none",this.styleTop="-10000px",this.hasSel=!1,this.hideImg(),mp({x:t,y:n,width:o,height:i,destWidth:r,destHeight:a,canvasId:"avatar-canvas-"+this.instanceId,fileType:"png",quality:this.qlty,success:e=>{e=e.tempFilePath,this.btop(e).then(e=>{if(this.expWidth&&this.expHeight){let t=this.ctxCanvas;r=this.expWidth,a=this.expHeight,t.drawImage(e,0,0,r,a),t.draw(!1,()=>{mp({x:0,y:0,width:r,height:a,destWidth:r,destHeight:a,canvasId:"avatar-canvas-"+this.instanceId,fileType:"png",quality:this.qlty,success:e=>{e=e.tempFilePath,this.btop(e).then(e=>{this.$emit("confirm",{avatar:this.imgSrc,path:e,index:this.indx,data:this.rtn})})},fail:()=>{i_({title:"error0",duration:2e3})}})})}else this.$emit("confirm",{avatar:this.imgSrc,path:e,index:this.indx,data:this.rtn})})},fail:e=>{i_({title:"error1",duration:2e3})},complete:()=>{s_(),this.noBar||__()}},this)},prvUpload(){if(this.fPrvUploading)return;this.fPrvUploading=!0,setTimeout(()=>{this.fPrvUploading=!1},1e3);let e=this.selStyle;parseInt(e.width),parseInt(e.height);let t=this.prvX,n=this.prvY,o=this.prvWidth,i=this.prvHeight,r=this.expWidth||o,a=this.expHeight||i;r=o,a=i,a_({mask:!0}),this.styleDisplay="none",this.styleTop="-10000px",this.hasSel=!1,this.hideImg(),mp({x:t,y:n,width:o,height:i,destWidth:r,destHeight:a,canvasId:"prv-canvas-"+this.instanceId,fileType:"png",quality:this.qlty,success:e=>{e=e.tempFilePath,this.btop(e).then(e=>{if(this.expWidth&&this.expHeight){let t=this.ctxCanvas;r=this.expWidth,a=this.expHeight,t.drawImage(e,0,0,r,a),t.draw(!1,()=>{mp({x:0,y:0,width:r,height:a,destWidth:r,destHeight:a,canvasId:"avatar-canvas-"+this.instanceId,fileType:"png",quality:this.qlty,success:e=>{e=e.tempFilePath,this.btop(e).then(e=>{this.$emit("confirm",{avatar:this.imgSrc,path:e,index:this.indx,data:this.rtn})})},fail:()=>{i_({title:"error0",duration:2e3})}})})}else this.$emit("confirm",{avatar:this.imgSrc,path:e,index:this.indx,data:this.rtn})})},fail:()=>{i_({title:"error_prv",duration:2e3})},complete:()=>{s_(),this.noBar||__()}},this)},drawInit(e=!1){let t=this.windowWidth,n=this.windowHeight,o=this.imgWidth,i=this.imgHeight,r=o/i,a=t-40,s=n-HA-80;this.pixelRatio;let l=parseInt(this.selStyle.width),c=parseInt(this.selStyle.height);switch(this.fixWidth=0,this.fixHeight=0,this.lckWidth=0,this.lckHeight=0,this.stc){case"x":this.fixWidth=1;break;case"y":this.fixHeight=1;break;case"long":r>1?this.fixWidth=1:this.fixHeight=1;break;case"short":r>1?this.fixHeight=1:this.fixWidth=1;break;case"longSel":l>c?this.fixWidth=1:this.fixHeight=1;break;case"shortSel":l>c?this.fixHeight=1:this.fixWidth=1}switch(this.lck){case"x":this.lckWidth=1;break;case"y":this.lckHeight=1;break;case"long":r>1?this.lckWidth=1:this.lckHeight=1;break;case"short":r>1?this.lckHeight=1:this.lckWidth=1;break;case"longSel":l>c?this.lckWidth=1:this.lckHeight=1;break;case"shortSel":l>c?this.lckHeight=1:this.lckWidth=1}this.fixWidth?(a=l,s=a/r):this.fixHeight?(s=c,a=s*r):r<1?i{e&&(this.styleDisplay="flex",this.styleTop=this.drawTop+"px",m.setFillStyle("black"),this.drawImage())}),this.$emit("avtinit")},drawImage(){let e=Date.now();if(e-this.drawTm<20)return;this.drawTm=e;let t=this.ctxCanvas;t.fillRect(0,0,this.windowWidth,this.windowHeight-HA),t.translate(this.posWidth+this.useWidth/2,this.posHeight+this.useHeight/2),t.scale(this.scaleSize,this.scaleSize),t.rotate(this.rotateDeg*Math.PI/180),t.drawImage(this.imgPath,-this.useWidth/2,-this.useHeight/2,this.useWidth,this.useHeight),t.draw(!1)},hideImg(){this.prvImg="",this.prvTop="-10000px",this.showOper=!0,this.prvImgData=null,this.target=null},close(){this.styleDisplay="none",this.styleTop="-10000px",this.hasSel=!1,this.hideImg(),this.noBar||__()},preview(){if(this.fPreviewing)return;this.fPreviewing=!0,setTimeout(()=>{this.fPreviewing=!1},1e3);let e=this.selStyle,t=parseInt(e.left),n=parseInt(e.top),o=parseInt(e.width),i=parseInt(e.height);a_({mask:!0}),mp({x:t,y:n,width:o,height:i,canvasId:"avatar-canvas-"+this.instanceId,fileType:"png",quality:this.qlty,success:e=>{this.prvImgTmp=e=e.tempFilePath;let r=this.ctxCanvasPrv,a=this.windowWidth,s=parseInt(this.cvsStyleHeight),l=parseInt(this.selStyle.width),c=parseInt(this.selStyle.height),u=a-40,d=s-80,h=u/l,p=c*h;p{this.btop(this.prvImgTmp).then(e=>{this.showOper=!1,this.prvTop=this.drawTop+"px"})})},fail:()=>{i_({title:"error2",duration:2e3})},complete:()=>{s_()}},this)},chooseImage(e=void 0,t=void 0,n=void 0){if(t){console.log(t);let e=t.areaWidth||this.areaWidth,n=t.areaHeight||this.areaHeight,o=t.exportWidth||this.exportWidth,i=t.exportHeight||this.exportHeight,r=t.quality,a=t.canRotate,s=t.canScale,l=t.canChangeSize,c=t.minScale,u=t.maxScale,d=t.stretch,h=t.inner,p=t.lock;console.log("areaWidth",this.areaWidth),o&&(this.expWidth=o.indexOf("rpx")>=0?parseInt(o)*this.pxRatio:parseInt(o)),i&&(this.expHeight=i.indexOf("rpx")>=0?parseInt(i)*this.pxRatio:parseInt(i)),this.letRotate=!1===a?0:1,this.letScale=!1===s?0:1,this.letChangeSize=l||!1,this.qlty=parseInt(r)||.9,this.mnScale=c||.3,this.mxScale=u||4,this.stc=d,this.isin=!0===h?1:0,this.lck=p,this.isin?(this.btnWidth="24%",this.btnDsp="none"):(this.btnWidth="19%",this.btnDsp="flex"),e&&n&&(e=e.indexOf("rpx")>=0?parseInt(e)*this.pxRatio:parseInt(e),n=n.indexOf("rpx")>=0?parseInt(n)*this.pxRatio:parseInt(n),this.selStyle.width=e+"px",this.selStyle.height=n+"px",this.selStyle.top=(this.windowHeight-n-HA)/2+"px",this.selStyle.left=(this.windowWidth-e)/2+"px",this.hasSel=!0)}this.rtn=n,this.indx=e,this.select()},rotate(){this.rotateDeg+=90-this.rotateDeg%90,this.drawImage()},start(e){let t=e.touches,n=t[0],o=t[1];if(this.touch0=n,this.touch1=o,o){let e=o.x-n.x,t=o.y-n.y;this.fgDistance=Math.sqrt(e*e+t*t)}else if(this.letChangeSize){const e=20,t=n.x,o=n.y,i=this.selStyle,r=parseInt(i.left),a=parseInt(i.top),s=parseInt(i.width),l=parseInt(i.height);Math.abs(t-r)this.mxScale)break;if(this.isin){let e=this.useWidth*a,t=this.useHeight*a,n=this.posWidth+this.useWidth/2-e/2,o=this.posHeight+this.useHeight/2-t/2,i=n+e,r=o+t,s=parseInt(this.selStyle.left),l=parseInt(this.selStyle.top),c=parseInt(this.selStyle.width),u=parseInt(this.selStyle.height);if(si||lr)break;this.scaleWidth=(this.useWidth-e)/2,this.scaleHeight=(this.useHeight-t)/2}this.scaleSize=a}while(0);this.fgDistance=i,o.x!==n.x&&this.letRotate&&(e=(this.touch1.y-this.touch0.y)/(this.touch1.x-this.touch0.x),t=(o.y-n.y)/(o.x-n.x),this.rotateDeg+=180*Math.atan((t-e)/(1+e*t))/Math.PI,this.touch0=n,this.touch1=o),this.drawImage()}else if(this.touch0)if(this.resizeHandle&&this.letChangeSize){const e={...this.selStyle},t=parseInt(e.left),o=parseInt(e.top),i=parseInt(e.width),r=parseInt(e.height),a=50,s=50;switch(this.resizeHandle){case"top-left":e.left=n.x+"px",e.top=n.y+"px",e.width=t+i-n.x+"px",e.height=o+r-n.y+"px";break;case"top-right":e.top=n.y+"px",e.width=n.x-t+"px",e.height=o+r-n.y+"px";break;case"bottom-left":e.left=n.x+"px",e.width=t+i-n.x+"px",e.height=n.y-o+"px";break;case"bottom-right":e.width=n.x-t+"px",e.height=n.y-o+"px"}parseInt(e.width)>=a&&parseInt(e.height)>=s&&parseInt(e.left)>=0&&parseInt(e.top)>=0&&parseInt(e.left)+parseInt(e.width)<=this.windowWidth&&parseInt(e.top)+parseInt(e.height)<=this.windowHeight-HA&&(this.selStyle=e,this.drawInit())}else{let e=n.x-this.touch0.x,t=n.y-this.touch0.y,o=this.posWidth+e,i=this.posHeight+t;if(this.isin){let n=this.useWidth*this.scaleSize,r=this.useHeight*this.scaleSize,a=o+this.useWidth/2-n/2,s=i+this.useHeight/2-r/2,l=a+n,c=s+r,u=parseInt(this.selStyle.left),d=parseInt(this.selStyle.top),h=parseInt(this.selStyle.width),p=parseInt(this.selStyle.height);!this.lckWidth&&Math.abs(e)<100&&(u>=a&&u+h<=l?this.posWidth=o:ul&&(this.posWidth=u-(n-h)-this.scaleWidth)),!this.lckHeight&&Math.abs(t)<100&&(d>=s&&d+p<=c?this.posHeight=i:dc&&(this.posHeight=d-(r-p)-this.scaleHeight))}else Math.abs(e)<100&&!this.lckWidth&&(this.posWidth=o),Math.abs(t)<100&&!this.lckHeight&&(this.posHeight=i);this.touch0=n,this.drawImage()}},end(e){let t=e.touches,n=t&&t[0];t&&t[1],n?this.touch0=n:(this.touch0=null,this.touch1=null,this.resizeHandle=null)},getImgData(){return new Promise((e,t)=>{let n=this.prvX,o=this.prvY,i=this.prvWidth,r=this.prvHeight;n*=this.pixelRatio,o*=this.pixelRatio,i*=this.pixelRatio,r*=this.pixelRatio,pp({canvasId:"prv-canvas-"+this.instanceId,x:n,y:o,width:i,height:r,success(t){e(t.data)},fail(e){t(e)}},this)})},async colorChange(e){let t=Date.now();if(t-this.prvTm<100)return;if(this.prvTm=t,a_({mask:!0}),!this.prvImgData){if(!(this.prvImgData=await this.getImgData().catch(e=>{i_({title:"error_read",duration:2e3})})))return;this.target=new Uint8ClampedArray(this.prvImgData.length)}let n,o,i,r,a,s,l,c,u,d,h,p,f,m,g,y,b=this.prvImgData,v=this.target,_=e.detail.value;if(0===_)v=b;else{_=(_+100)/200,_<.005&&(_=0),_>.995&&(_=1);for(let e=b.length-1;e>=0;e-=4){if(n=b[e-3]/255,o=b[e-2]/255,i=b[e-1]/255,p=Math.max(n,o,i),h=Math.min(n,o,i),c=p-h,p===h?a=0:p===n&&o>=i?a=(o-i)/c*60:p===n&&o.5&&(s=c/(2-2*l)),b[e]&&(r=b[e]),_<.5?s=s*_/.5:_>.5&&(s=2*s+2*_-s*_/.5-1),0===s)n=o=i=Math.round(255*l);else{l<.5?d=l*(1+s):l>=.5&&(d=l+s-l*s),u=2*l-d,f=a/360,m=f+1/3,g=f,y=f-1/3;let e=e=>e<0?e+1:e>1?e-1:e,t=e=>e<1/6?u+6*(d-u)*e:e>=1/6&&e<.5?d:e>=.5&&e<2/3?u+6*(d-u)*(2/3-e):u;n=m=Math.round(255*t(e(m))),o=g=Math.round(255*t(e(g))),i=y=Math.round(255*t(e(y)))}r&&(v[e]=r),v[e-3]=n,v[e-2]=o,v[e-1]=i}}let w=this.prvX,x=this.prvY,S=this.prvWidth,k=this.prvHeight;this.ctxCanvasPrv.setFillStyle("black"),this.ctxCanvasPrv.fillRect(w,x,S,k),this.ctxCanvasPrv.draw(!0),w*=this.pixelRatio,x*=this.pixelRatio,S*=this.pixelRatio,k*=this.pixelRatio,fp({canvasId:"prv-canvas-"+this.instanceId,x:w,y:x,width:S,height:k,data:v,fail(){i_({title:"error_put",duration:2e3})},complete(){s_()}},this)},btop:e=>new Promise(function(t,n){for(var o=e.split(","),i=o[0].match(/:(.*?);/)[1],r=atob(o[1]),a=r.length,s=new Uint8Array(a);a--;)s[a]=r.charCodeAt(a);return t((window.URL||window.webkitURL).createObjectURL(new Blob([s],{type:i})))})}},[["render",function(e,t,n,o,i,r){const a=om,s=Hg,l=Qg,c=Ng;return Sr(),Ir(l,{class:"u-cropper"},{default:bo(()=>[Lr(a,{"canvas-id":"avatar-canvas-"+i.instanceId,id:"avatar-canvas-"+i.instanceId,class:"my-canvas",style:ze({top:i.styleTop,height:i.cvsStyleHeight}),"disable-scroll":"false"},null,8,["canvas-id","id","style"]),Lr(a,{"canvas-id":"oper-canvas-"+i.instanceId,id:"oper-canvas-"+i.instanceId,class:"oper-canvas",style:ze({top:i.styleTop,height:i.cvsStyleHeight}),"disable-scroll":"false",onTouchstart:r.start,onTouchmove:r.move,onTouchend:r.end},null,8,["canvas-id","id","style","onTouchstart","onTouchmove","onTouchend"]),Lr(a,{"canvas-id":"prv-canvas-"+i.instanceId,id:"prv-canvas-"+i.instanceId,class:"prv-canvas","disable-scroll":"false",onTouchstart:r.hideImg,style:ze({height:i.cvsStyleHeight,top:i.prvTop})},null,8,["canvas-id","id","onTouchstart","style"]),Lr(l,{class:"oper-wrapper",style:ze({display:i.styleDisplay})},{default:bo(()=>[Lr(l,{class:"oper"},{default:bo(()=>[i.showOper?(Sr(),Ir(l,{key:0,class:"btn-wrapper"},{default:bo(()=>[Lr(l,{onClick:r.select,"hover-class":"hover",style:ze({width:i.btnWidth})},{default:bo(()=>[Lr(s,null,{default:bo(()=>[Dr(K(r.t("up.common.re-select")),1)]),_:1})]),_:1},8,["onClick","style"]),Lr(l,{onClick:r.close,"hover-class":"hover",style:ze({width:i.btnWidth})},{default:bo(()=>[Lr(s,null,{default:bo(()=>[Dr(K(r.t("up.common.close")),1)]),_:1})]),_:1},8,["onClick","style"]),Lr(l,{onClick:r.rotate,"hover-class":"hover",style:ze({width:i.btnWidth,display:i.btnDsp})},{default:bo(()=>[Lr(s,null,{default:bo(()=>[Dr(K(r.t("up.common.rotate")),1)]),_:1})]),_:1},8,["onClick","style"]),Lr(l,{onClick:r.preview,"hover-class":"hover",style:ze({width:i.btnWidth})},{default:bo(()=>[Lr(s,null,{default:bo(()=>[Dr(K(r.t("up.common.preview")),1)]),_:1})]),_:1},8,["onClick","style"]),Lr(l,{onClick:r.confirm,"hover-class":"hover",style:ze({width:i.btnWidth})},{default:bo(()=>[Lr(s,null,{default:bo(()=>[Dr(K(r.t("up.common.confirm")),1)]),_:1})]),_:1},8,["onClick","style"])]),_:1})):(Sr(),Ir(l,{key:1,class:"clr-wrapper"},{default:bo(()=>[Lr(c,{class:"my-slider",onChange:r.colorChange,"block-size":"25",value:"0",min:"-100",max:"100",activeColor:"red",backgroundColor:"green","block-color":"grey","show-value":""},null,8,["onChange"]),Lr(l,{onClick:r.prvUpload,"hover-class":"hover",style:ze({width:i.btnWidth})},{default:bo(()=>[Lr(s,null,{default:bo(()=>[Dr(K(r.t("up.common.confirm")),1)]),_:1})]),_:1},8,["onClick","style"])]),_:1}))]),_:1})]),_:1},8,["style"]),"none"==i.styleDisplay?(Sr(),Ir(l,{key:0,onClick:t[0]||(t[0]=e=>r.chooseImage(0,{}))},{default:bo(()=>[Ti(e.$slots,"default",{},void 0,!0)]),_:3})):zr("",!0)]),_:3})}],["__scopeId","data-v-8ca3190e"]]),WA=Object.freeze(Object.defineProperty({__proto__:null,default:VA},Symbol.toStringTag,{value:"Module"})),UA={props:{show:{type:Boolean,default:()=>CS.toolbar.show},cancelText:{type:String,default:()=>CS.toolbar.cancelText},confirmText:{type:String,default:()=>CS.toolbar.confirmText},cancelColor:{type:String,default:()=>CS.toolbar.cancelColor},confirmColor:{type:String,default:()=>CS.toolbar.confirmColor},title:{type:String,default:()=>CS.toolbar.title},rightSlot:{type:Boolean,default:!1}}};const qA=MS({name:"u-toolbar",mixins:[IS,PS,UA],emits:["confirm","cancel"],created(){},methods:{cancel(){this.$emit("cancel")},confirm(){this.$emit("confirm")}}},[["render",function(e,t,n,o,i,r){const a=Hg,s=Qg;return e.show?(Sr(),Ir(s,{key:0,class:"u-toolbar",onTouchmove:vs(e.noop,["stop","prevent"])},{default:bo(()=>[Lr(s,{class:"u-toolbar__left"},{default:bo(()=>[Lr(s,{class:"u-toolbar__cancel__wrapper","hover-class":"u-hover-class"},{default:bo(()=>[Lr(a,{class:"u-toolbar__wrapper__cancel",onClick:r.cancel,style:ze({color:e.cancelColor})},{default:bo(()=>[Dr(K(e.cancelText),1)]),_:1},8,["onClick","style"])]),_:1})]),_:1}),e.title?(Sr(),Ir(a,{key:0,class:"u-toolbar__title u-line-1"},{default:bo(()=>[Dr(K(e.title),1)]),_:1})):zr("",!0),Lr(s,{class:"u-toolbar__right"},{default:bo(()=>[e.rightSlot?Ti(e.$slots,"right",{key:1},void 0,!0):(Sr(),Ir(s,{key:0,class:"u-toolbar__confirm__wrapper","hover-class":"u-hover-class"},{default:bo(()=>[Lr(a,{class:"u-toolbar__wrapper__confirm",onClick:r.confirm,style:ze({color:e.confirmColor})},{default:bo(()=>[Dr(K(e.confirmText),1)]),_:1},8,["onClick","style"])]),_:1}))]),_:3})]),_:3},8,["onTouchmove"])):zr("",!0)}],["__scopeId","data-v-1f211d29"]]),QA=Object.freeze(Object.defineProperty({__proto__:null,default:qA},Symbol.toStringTag,{value:"Module"})),GA={props:{modelValue:{type:Array,default:()=>[]},hasInput:{type:Boolean,default:!1},inputProps:{type:Object,default:()=>({})},disabled:{type:Boolean,default:()=>CS.picker.disabled},disabledColor:{type:String,default:()=>CS.picker.disabledColor},placeholder:{type:String,default:()=>CS.picker.placeholder},show:{type:Boolean,default:()=>CS.picker.show},popupMode:{type:String,default:()=>CS.picker.popupMode},showToolbar:{type:Boolean,default:()=>CS.picker.showToolbar},title:{type:String,default:()=>CS.picker.title},columns:{type:Array,default:()=>CS.picker.columns},loading:{type:Boolean,default:()=>CS.picker.loading},itemHeight:{type:[String,Number],default:()=>CS.picker.itemHeight},cancelText:{type:String,default:()=>CS.picker.cancelText},confirmText:{type:String,default:()=>CS.picker.confirmText},cancelColor:{type:String,default:()=>CS.picker.cancelColor},confirmColor:{type:String,default:()=>CS.picker.confirmColor},visibleItemCount:{type:[String,Number],default:()=>CS.picker.visibleItemCount},keyName:{type:String,default:()=>CS.picker.keyName},valueName:{type:String,default:()=>CS.picker.valueName},closeOnClickOverlay:{type:Boolean,default:()=>CS.picker.closeOnClickOverlay},defaultIndex:{type:Array,default:()=>CS.picker.defaultIndex},immediateChange:{type:Boolean,default:()=>CS.picker.immediateChange},toolbarRightSlot:{type:Boolean,default:!1},zIndex:{type:[String,Number],default:()=>CS.picker.zIndex},bgColor:{type:String,default:()=>CS.picker.bgColor},round:{type:[Boolean,String,Number],default:()=>CS.picker.round},duration:{type:[String,Number],default:()=>CS.picker.duration},overlayOpacity:{type:[Number,String],default:()=>CS.picker.overlayOpacity},pageInline:{type:Boolean,default:()=>CS.picker.pageInline},maskClass:{type:String,defualt:""},maskStyle:{type:String,defualt:""}}};const YA=MS({name:"u-picker",mixins:[IS,PS,GA],data:()=>({lastIndex:[],innerIndex:[],innerColumns:[],columnIndex:0,showByClickInput:!1,currentActiveValue:[]}),watch:{columns:{immediate:!0,deep:!0,handler(e){this.setColumns(e)}},defaultIndex:{immediate:!0,deep:!0,handler(e,t){t&&e.join("/")==t.join("/")||this.setIndexs(e,!0)}},modelValue:{immediate:!0,deep:!0,handler(e,t){if(!t||e.join("/")!=t.join("/")){let t=[];null!=e&&(e.forEach((e,n)=>{let o=this.getColumnValues(n);(Array.isArray(o)||0!==o.length)&&("object"==typeof o[0]?o.forEach((n,o)=>{n[this.valueName]==e&&t.push(o)}):o.forEach((n,o)=>{n==e&&t.push(o)}))}),0==t.length&&this.defaultIndex||this.setIndexs(t,!0))}}}},emits:["close","cancel","confirm","change","update:modelValue","update:show"],computed:{inputPropsInner(){return{border:this.inputBorder,placeholder:this.placeholder,disabled:this.disabled,disabledColor:this.disabledColor,...this.inputProps}},inputLabel(){let e=this.innerColumns[0]&&this.innerColumns[0][0];if(e&&"[object Object]"===Object.prototype.toString.call(e)){let e=this.innerColumns[0].filter(e=>this.modelValue.includes(e.id));return e=e.map(e=>e[this.keyName]),e.join("/")}return this.modelValue.join("/")},inputValue(){let e=this.innerColumns.map((e,t)=>e[this.innerIndex[t]]),t=[];return e[0]&&"[object Object]"===Object.prototype.toString.call(e[0])?e.forEach(e=>{t.push(e&&e[this.valueName])}):e.forEach((e,n)=>{t.push(e)}),t}},methods:{addUnit:Yx,testArray:Ex.array,onShowByClickInput(){this.disabled||(this.showByClickInput=!this.showByClickInput)},getItemText(e){return Ex.object(e)?e[this.keyName]:e},closeHandler(){this.closeOnClickOverlay&&(this.hasInput&&(this.showByClickInput=!1),this.setDefault(),this.$emit("update:show",!1),this.$emit("close"))},cancel(){this.hasInput&&(this.showByClickInput=!1),this.setDefault(),this.$emit("update:show",!1),this.$emit("cancel")},setDefault(){let e=[0];e=0==this.lastIndex.length?Array.isArray(this.defaultIndex)&&this.defaultIndex.length==this.innerColumns.length?[...this.defaultIndex]:Array(this.innerColumns.length).fill(0):Xx(this.lastIndex),this.setLastIndex(e),this.setIndexs(e)},confirm(){this.currentActiveValue.length||this.setDefault(),this.$emit("update:modelValue",this.inputValue),this.hasInput&&(this.showByClickInput=!1),this.setLastIndex(this.innerIndex),this.$emit("update:show",!1),this.$emit("confirm",{indexs:this.innerIndex,value:this.innerColumns.map((e,t)=>e[this.innerIndex[t]]),values:this.innerColumns})},changeHandler(e){const{value:t}=e.detail;let n=0,o=0;this.currentActiveValue=t;for(let r=0;re[t[n]]),index:n,indexs:t,values:i,columnIndex:o})},setIndexs(e,t){this.innerIndex=Xx(e),t&&this.setLastIndex(e)},setLastIndex(e){this.lastIndex=Xx(e)},setColumnValues(e,t){this.innerColumns.splice(e,1,t),this.setLastIndex(this.innerIndex.slice(0,e));let n=Xx(this.innerIndex);for(let o=0;othis.columnIndex&&(n[o]=0);this.setIndexs(n)},getColumnValues(e){return(async()=>{await Fx()})(),this.innerColumns[e]},setColumns(e){this.innerColumns=Xx(e),0===this.innerIndex.length&&(this.innerIndex=new Array(e.length).fill(0))},getIndexs(){return this.innerIndex},getValues(){return(async()=>{await Fx()})(),this.innerColumns.map((e,t)=>e[this.innerIndex[t]])}}},[["render",function(e,t,n,o,i,r){const a=DS(Ao("up-input"),FS),s=$_,l=Qg,c=DS(Ao("u-toolbar"),qA),u=kg,d=gg,h=DS(Ao("u-loading-icon"),XS),p=DS(Ao("u-popup"),pk);return Sr(),Ir(l,{class:"u-picker-wraper"},{default:bo(()=>[e.hasInput?(Sr(),Ir(l,{key:0,class:"u-picker-input cursor-pointer",onClick:r.onShowByClickInput},{default:bo(()=>[Ti(e.$slots,"default",{value:r.inputLabel},void 0,!0),Ti(e.$slots,"trigger",{value:r.inputLabel},void 0,!0),e.$slots.default||e.$slots.$default||e.$slots.trigger?zr("",!0):(Sr(),Ir(a,Hr({key:0,readonly:!0,modelValue:r.inputLabel,"onUpdate:modelValue":t[0]||(t[0]=e=>r.inputLabel=e)},r.inputPropsInner),null,16,["modelValue"])),Lr(s,{class:"input-cover"})]),_:3},8,["onClick"])):zr("",!0),Lr(p,{show:e.show||e.hasInput&&i.showByClickInput,mode:e.popupMode,zIndex:e.zIndex,bgColor:e.bgColor,round:e.round,duration:e.duration,pageInline:e.pageInline,overlayOpacity:e.overlayOpacity,onClose:r.closeHandler},{default:bo(()=>[Lr(l,{class:"u-picker"},{default:bo(()=>[e.showToolbar?(Sr(),Ir(c,{key:0,cancelColor:e.cancelColor,confirmColor:e.confirmColor,cancelText:e.cancelText,confirmText:e.confirmText,title:e.title,rightSlot:!!e.toolbarRightSlot,onCancel:r.cancel,onConfirm:r.confirm},{right:bo(()=>[Ti(e.$slots,"toolbar-right",{},void 0,!0)]),_:3},8,["cancelColor","confirmColor","cancelText","confirmText","title","rightSlot","onCancel","onConfirm"])):zr("",!0),Ti(e.$slots,"toolbar-bottom",{},void 0,!0),Lr(d,{class:"u-picker__view","mask-class":e.maskClass,"mask-style":e.maskStyle,indicatorStyle:`height: ${r.addUnit(e.itemHeight,"px")}`,value:i.innerIndex,immediateChange:e.immediateChange,style:ze({height:`${r.addUnit(e.visibleItemCount*e.itemHeight,"px")}`}),onChange:r.changeHandler},{default:bo(()=>[(Sr(!0),Tr(yr,null,Ai(i.innerColumns,(t,n)=>(Sr(),Ir(u,{key:n,class:"u-picker__view__column"},{default:bo(()=>[r.testArray(t)?(Sr(!0),Tr(yr,{key:0},Ai(t,(t,o)=>(Sr(),Ir(l,{class:$e(["u-picker__view__column__item u-line-1",[o===i.innerIndex[n]&&"u-picker__view__column__item--selected"]]),key:o,style:ze({height:r.addUnit(e.itemHeight,"px"),lineHeight:r.addUnit(e.itemHeight,"px"),fontWeight:o===i.innerIndex[n]?"bold":"normal",display:"block"})},{default:bo(()=>[Dr(K(r.getItemText(t)),1)]),_:2},1032,["class","style"]))),128)):zr("",!0)]),_:2},1024))),128))]),_:1},8,["mask-class","mask-style","indicatorStyle","value","immediateChange","style","onChange"]),e.loading?(Sr(),Ir(l,{key:1,class:"u-picker--loading"},{default:bo(()=>[Lr(h,{mode:"circle"})]),_:1})):zr("",!0)]),_:3})]),_:3},8,["show","mode","zIndex","bgColor","round","duration","pageInline","overlayOpacity","onClose"])]),_:3})}],["__scopeId","data-v-dd8ac9af"]]),XA=Object.freeze(Object.defineProperty({__proto__:null,default:YA},Symbol.toStringTag,{value:"Module"})),KA={props:{hasInput:{type:Boolean,default:!1},inputProps:{type:Object,default:()=>({})},inputBorder:{type:String,default:()=>CS.input.inputBorder},disabled:{type:Boolean,default:()=>CS.input.disabled},disabledColor:{type:String,default:()=>CS.input.disabledColor},placeholder:{type:String,default:()=>CS.input.placeholder},format:{type:String,default:()=>""},show:{type:Boolean,default:()=>CS.datetimePicker.show},popupMode:{type:String,default:()=>CS.picker.popupMode},showToolbar:{type:Boolean,default:()=>CS.datetimePicker.showToolbar},toolbarRightSlot:{type:Boolean,default:!1},modelValue:{type:[String,Number],default:()=>CS.datetimePicker.value},title:{type:String,default:()=>CS.datetimePicker.title},mode:{type:String,default:()=>CS.datetimePicker.mode},maxDate:{type:Number,default:()=>CS.datetimePicker.maxDate},minDate:{type:Number,default:()=>CS.datetimePicker.minDate},minHour:{type:Number,default:()=>CS.datetimePicker.minHour},maxHour:{type:Number,default:()=>CS.datetimePicker.maxHour},minMinute:{type:Number,default:()=>CS.datetimePicker.minMinute},maxMinute:{type:Number,default:()=>CS.datetimePicker.maxMinute},filter:{type:[Function,null],default:()=>CS.datetimePicker.filter},formatter:{type:[Function,null],default:()=>CS.datetimePicker.formatter},loading:{type:Boolean,default:()=>CS.datetimePicker.loading},itemHeight:{type:[String,Number],default:()=>CS.datetimePicker.itemHeight},cancelText:{type:String,default:()=>CS.datetimePicker.cancelText},confirmText:{type:String,default:()=>CS.datetimePicker.confirmText},cancelColor:{type:String,default:()=>CS.datetimePicker.cancelColor},confirmColor:{type:String,default:()=>CS.datetimePicker.confirmColor},visibleItemCount:{type:[String,Number],default:()=>CS.datetimePicker.visibleItemCount},closeOnClickOverlay:{type:Boolean,default:()=>CS.datetimePicker.closeOnClickOverlay},defaultIndex:{type:Array,default:()=>CS.datetimePicker.defaultIndex},pageInline:{type:Boolean,default:()=>CS.datetimePicker.pageInline},maskClass:{type:String,defualt:""},maskStyle:{type:String,defualt:""}}};const JA=MS({name:"up-datetime-picker",mixins:[IS,PS,KA],data:()=>({inputValue:"",showByClickInput:!1,columns:[],innerDefaultIndex:[],innerFormatter:(e,t)=>t}),watch:{show(e,t){e&&(this.innerValue=this.correctValue(this.modelValue),this.updateColumnValue(this.innerValue))},modelValue(e){this.init()},propsChange(){this.init()}},computed:{propsChange(){return[this.mode,this.maxDate,this.minDate,this.minHour,this.maxHour,this.minMinute,this.maxMinute,this.filter,this.modelValue]},inputPropsInner(){return{border:this.inputBorder,placeholder:this.placeholder,disabled:this.disabled,disabledColor:this.disabledColor,...this.inputProps}}},mounted(){this.init()},emits:["close","cancel","confirm","change","update:modelValue"],methods:{getInputValue(e){if(""!=e&&e&&null!=e)if("time"==this.mode)this.inputValue=e;else if(this.format)this.inputValue=rC(e).format(this.format);else{let t="";switch(this.mode){case"date":t="YYYY-MM-DD";break;case"year-month":t="YYYY-MM";break;case"datehour":t="YYYY-MM-DD HH";break;case"datetime":t="YYYY-MM-DD HH:mm";break;case"time":t="HH:mm"}this.inputValue=rC(e).format(t)}else this.inputValue=""},init(){this.innerValue=this.correctValue(this.modelValue),this.updateColumnValue(this.innerValue),this.getInputValue(this.innerValue)},setFormatter(e){this.innerFormatter=e},close(){this.closeOnClickOverlay&&this.$emit("close")},cancel(){this.hasInput&&(this.showByClickInput=!1),this.$emit("cancel")},confirm(){this.$emit("update:modelValue",this.innerValue),this.hasInput&&(this.getInputValue(this.innerValue),this.showByClickInput=!1),this.$emit("confirm",{value:this.innerValue,mode:this.mode})},intercept(e,t){let n=e.match(/\d+/g);return n.length>1?0:t&&4==n[0].length?n[0]:n[0].length>2?0:n[0]},change(e){const{indexs:t,values:n}=e;let o="";if("time"===this.mode)o=`${this.intercept(n[0][t[0]])}:${this.intercept(n[1][t[1]])}`;else{const e=parseInt(this.intercept(n[0][t[0]],"year")),i=parseInt(this.intercept(n[1][t[1]]));let r=parseInt(n[2]?this.intercept(n[2][t[2]]):1),a=0,s=0;const l=rC(`${e}-${i}`).daysInMonth();"year-month"===this.mode&&(r=1),r=Math.min(l,r),"datetime"===this.mode&&(a=parseInt(this.intercept(n[3][t[3]])),s=parseInt(this.intercept(n[4][t[4]]))),o=Number(new Date(e,i-1,r,a,s))}o=this.correctValue(o),this.innerValue=o,this.updateColumnValue(o),this.$emit("change",{value:o,mode:this.mode})},updateColumnValue(e){this.innerValue=e,this.updateColumns(),setTimeout(()=>{this.updateIndexs(e)},0)},updateIndexs(e){let t=[];const n=this.formatter||this.innerFormatter;if("time"===this.mode){const o=e.split(":");t=[n("hour",o[0]),n("minute",o[1])]}else t=[n("year",`${rC(e).year()}`),n("month",sS(rC(e).month()+1))],"date"===this.mode&&t.push(n("day",sS(rC(e).date()))),"datetime"===this.mode&&t.push(n("day",sS(rC(e).date())),n("hour",sS(rC(e).hour())),n("minute",sS(rC(e).minute())));const o=this.columns.map((e,n)=>Math.max(0,e.findIndex(e=>e===t[n])));this.innerDefaultIndex=o},updateColumns(){const e=this.formatter||this.innerFormatter,t=this.getOriginColumns().map(t=>t.values.map(n=>e(t.type,n)));this.columns=t},getOriginColumns(){return this.getRanges().map(({type:e,range:t})=>{let n=function(e,t){let n=-1;const o=Array(e<0?0:e);for(;++n{let o=t[0]+n;return o="year"===e?`${o}`:sS(o),o});return this.filter&&(n=this.filter(e,n),(!n||n&&0==n.length)&&console.log("日期filter结果不能为空")),{type:e,values:n}})},generateArray:(e,t)=>Array.from(new Array(t+1).keys()).slice(e),correctValue(e){const t="time"!==this.mode;if(t&&!rC.unix(e).isValid()?e=this.minDate:t||e||(e=`${sS(this.minHour)}:${sS(this.minMinute)}`),t)return e=rC(e).isBefore(rC(this.minDate))?this.minDate:e,e=rC(e).isAfter(rC(this.maxDate))?this.maxDate:e;{if(-1===String(e).indexOf(":"))return;let[t,n]=e.split(":");return t=sS(Dx(this.minHour,this.maxHour,Number(t))),n=sS(Dx(this.minMinute,this.maxMinute,Number(n))),`${t}:${n}`}},getRanges(){if("time"===this.mode)return[{type:"hour",range:[this.minHour,this.maxHour]},{type:"minute",range:[this.minMinute,this.maxMinute]}];const{maxYear:e,maxDate:t,maxMonth:n,maxHour:o,maxMinute:i}=this.getBoundary("max",this.innerValue),{minYear:r,minDate:a,minMonth:s,minHour:l,minMinute:c}=this.getBoundary("min",this.innerValue),u=[{type:"year",range:[r,e]},{type:"month",range:[s,n]},{type:"day",range:[a,t]},{type:"hour",range:[l,o]},{type:"minute",range:[c,i]}];return"date"===this.mode&&u.splice(3,2),"year-month"===this.mode&&u.splice(2,3),u},getBoundary(e,t){let n=new Date(t);isNaN(n.getTime())&&(n=new Date);const o=new Date(this[`${e}Date`]),i=rC(o).year();let r=1,a=1,s=0,l=0;return"max"===e&&(r=12,a=rC(n).daysInMonth(),s=23,l=59),rC(n).year()===i&&(r=rC(o).month()+1,rC(n).month()+1===r&&(a=rC(o).date(),rC(n).date()===a&&(s=rC(o).hour(),rC(n).hour()===s&&(l=rC(o).minute())))),{[`${e}Year`]:i,[`${e}Month`]:r,[`${e}Date`]:a,[`${e}Hour`]:s,[`${e}Minute`]:l}},onShowByClickInput(){this.disabled||(this.showByClickInput=!this.showByClickInput)}}},[["render",function(e,t,n,o,i,r){const a=DS(Ao("up-input"),FS),s=$_,l=Qg,c=DS(Ao("u-picker"),YA);return Sr(),Ir(l,{class:"u-datetime-picker"},{default:bo(()=>[e.hasInput?(Sr(),Ir(l,{key:0,class:"u-datetime-picker__has-input",onClick:r.onShowByClickInput},{default:bo(()=>[Ti(e.$slots,"trigger",{value:i.inputValue},()=>[Lr(a,Hr({readonly:!!i.showByClickInput,modelValue:i.inputValue,"onUpdate:modelValue":t[0]||(t[0]=e=>i.inputValue=e)},r.inputPropsInner),null,16,["readonly","modelValue"]),Lr(s,{class:"input-cover"})],!0)]),_:3},8,["onClick"])):zr("",!0),Lr(c,{ref:"picker",show:e.pageInline||e.show||e.hasInput&&i.showByClickInput,popupMode:e.popupMode,closeOnClickOverlay:e.closeOnClickOverlay,columns:i.columns,title:e.title,itemHeight:e.itemHeight,showToolbar:e.showToolbar,visibleItemCount:e.visibleItemCount,defaultIndex:i.innerDefaultIndex,cancelText:e.cancelText,confirmText:e.confirmText,cancelColor:e.cancelColor,confirmColor:e.confirmColor,toolbarRightSlot:e.toolbarRightSlot,pageInline:e.pageInline,maskClass:e.maskClass,maskStyle:e.maskStyle,onClose:r.close,onCancel:r.cancel,onConfirm:r.confirm,onChange:r.change},{"toolbar-right":bo(()=>[Ti(e.$slots,"toolbar-right",{},void 0,!0)]),"toolbar-bottom":bo(()=>[Ti(e.$slots,"toolbar-bottom",{},void 0,!0)]),_:3},8,["show","popupMode","closeOnClickOverlay","columns","title","itemHeight","showToolbar","visibleItemCount","defaultIndex","cancelText","confirmText","cancelColor","confirmColor","toolbarRightSlot","pageInline","maskClass","maskStyle","onClose","onCancel","onConfirm","onChange"])]),_:3})}],["__scopeId","data-v-53153830"]]),ZA=Object.freeze(Object.defineProperty({__proto__:null,default:JA},Symbol.toStringTag,{value:"Module"})),eT={props:{dashed:{type:Boolean,default:()=>CS.divider.dashed},hairline:{type:Boolean,default:()=>CS.divider.hairline},dot:{type:Boolean,default:()=>CS.divider.dot},textPosition:{type:String,default:()=>CS.divider.textPosition},text:{type:[String,Number],default:()=>CS.divider.text},textSize:{type:[String,Number],default:()=>CS.divider.textSize},textColor:{type:String,default:()=>CS.divider.textColor},lineColor:{type:String,default:()=>CS.divider.lineColor}}};const tT=MS({name:"u-divider",mixins:[IS,PS,eT],computed:{textStyle(){const e={};return e.fontSize=Yx(this.textSize),e.color=this.textColor,e},leftLineStyle(){const e={};return"left"===this.textPosition?e.width="80rpx":e.flex=1,e},rightLineStyle(){const e={};return"right"===this.textPosition?e.width="80rpx":e.flex=1,e}},emits:["click"],methods:{addStyle:Gx,click(){this.$emit("click")}}},[["render",function(e,t,n,o,i,r){const a=DS(Ao("u-line"),VS),s=Hg,l=Qg;return Sr(),Ir(l,{class:"u-divider",style:ze([r.addStyle(e.customStyle)]),onClick:r.click},{default:bo(()=>[Lr(a,{color:e.lineColor,customStyle:r.leftLineStyle,hairline:e.hairline,dashed:e.dashed},null,8,["color","customStyle","hairline","dashed"]),e.dot?(Sr(),Ir(s,{key:0,class:"u-divider__dot"},{default:bo(()=>[Dr("●")]),_:1})):zr("",!0),Ti(e.$slots,"default",{},()=>[!e.dot&&e.text?(Sr(),Ir(s,{key:0,class:"u-divider__text",style:ze([r.textStyle])},{default:bo(()=>[Dr(K(e.text),1)]),_:1},8,["style"])):zr("",!0)],!0),Lr(a,{color:e.lineColor,customStyle:r.rightLineStyle,hairline:e.hairline,dashed:e.dashed},null,8,["color","customStyle","hairline","dashed"])]),_:3},8,["style","onClick"])}],["__scopeId","data-v-fb6c2f20"]]),nT=Object.freeze(Object.defineProperty({__proto__:null,default:tT},Symbol.toStringTag,{value:"Module"}));const oT=MS({name:"u-dragsort",mixins:[PS],props:{initialList:{type:Array,required:!0,default:()=>[]},draggable:{type:Boolean,default:!0},direction:{type:String,default:"vertical",validator:e=>["vertical","horizontal","all"].includes(e)},columns:{type:Number,default:3}},data:()=>({list:[],dragIndex:-1,itemHeight:40,itemWidth:80,areaWidth:0,areaHeight:0,originalPositions:[],currentPosition:{x:0,y:0}}),computed:{movableAreaStyle(){if("vertical"===this.direction)return{height:this.list.length*this.itemHeight+"px",width:"100%"};if("horizontal"===this.direction)return{height:`${this.itemHeight}px`,width:this.list.length*this.itemWidth+"px"};return{height:Math.ceil(this.list.length/this.columns)*this.itemHeight+"px",width:"100%"}}},emits:["drag-end"],async mounted(){await this.$nextTick(),this.initList(),this.calculateItemSize(),this.calculateAreaSize()},methods:{initList(){this.list=this.initialList.map((e,t)=>{let n=0,o=0;if("horizontal"===this.direction)n=t*this.itemWidth,o=0;else if("vertical"===this.direction)n=0,o=t*this.itemHeight;else{const e=t%this.columns,i=Math.floor(t/this.columns);n=e*this.itemWidth,o=i*this.itemHeight}return{...e,x:n,y:o}}),this.saveOriginalPositions()},saveOriginalPositions(){this.originalPositions=this.list.map(e=>({x:e.x,y:e.y}))},async calculateItemSize(){return await Fx(30),new Promise(e=>{Ep().in(this).select(".u-dragsort-item-content").boundingClientRect(t=>{t&&(this.itemHeight=t.height||40,this.itemWidth=t.width||80,this.updatePositions(),this.saveOriginalPositions()),e(t)}).exec()})},async calculateAreaSize(){return await Fx(30),new Promise(e=>{Ep().in(this).select(".u-dragsort-area").boundingClientRect(t=>{t&&(this.areaWidth=t.width||300,this.areaHeight=t.height||300),e(t)}).exec()})},updatePositions(){this.list=this.list.map((e,t)=>{if(this.dragIndex===t)return{...e,x:this.currentPosition.x,y:this.currentPosition.y};if("vertical"===this.direction)return{...e,x:0,y:t*this.itemHeight};if("horizontal"===this.direction)return{...e,x:t*this.itemWidth,y:0};const n=t%this.columns,o=Math.floor(t/this.columns);return{...e,x:n*this.itemWidth,y:o*this.itemHeight}})},onTouchStart(e){this.dragIndex=e,this.saveOriginalPositions()},onChange(e,t){if(t.detail.source&&"touch"===t.detail.source)if(this.currentPosition.x=t.detail.x,this.currentPosition.y=t.detail.y,"all"===this.direction)this.handleAllModeChange(e);else{let t=0,n=-1;"vertical"===this.direction?(t=this.itemHeight,n=Math.max(0,Math.min(Math.round(this.currentPosition.y/t),this.list.length-1))):"horizontal"===this.direction&&(t=this.itemWidth,n=Math.max(0,Math.min(Math.round(this.currentPosition.x/t),this.list.length-1))),n!==e&&this.reorderItems(e,n)}},handleAllModeChange(e){const t=Math.max(0,Math.min(Math.round(this.currentPosition.x/this.itemWidth),this.columns-1));let n=Math.max(0,Math.round(this.currentPosition.y/this.itemHeight))*this.columns+t;n=Math.max(0,Math.min(n,this.list.length-1)),n!==e&&this.reorderItems(e,n)},reorderItems(e,t){const n=this.list.splice(e,1)[0];this.list.splice(t,0,n),Vb&&Vb(),this.dragIndex=t,this.updatePositions(),this.saveOriginalPositions()},onTouchEnd(){"horizontal"===this.direction?this.list[this.dragIndex].x=this.currentPosition.x+.001:"vertical"!==this.direction&&"all"!==this.direction||(this.list[this.dragIndex].y=this.currentPosition.y+.001,this.list[this.dragIndex].x=this.currentPosition.x+.001),Fx(50).then(()=>{this.list.forEach((e,t)=>{e.x=this.originalPositions[t].x,e.y=this.originalPositions[t].y}),this.dragIndex=-1,this.$emit("drag-end",[...this.list])})}},watch:{initialList:{handler(){this.$nextTick(()=>{this.initList()})},deep:!0},direction:{handler(){this.$nextTick(()=>{this.initList(),this.calculateItemSize(),this.calculateAreaSize()})}},columns:{handler(){"all"===this.direction&&this.$nextTick(()=>{this.initList(),this.updatePositions(),this.saveOriginalPositions()})}}}},[["render",function(e,t,n,o,i,r){const a=Qg,s=rg,l=qm;return Sr(),Ir(a,{class:$e(["u-dragsort",["horizontal"==n.direction?"u-dragsort--horizontal":"","vertical"==n.direction?"u-dragsort--vertical":"","all"==n.direction?"u-dragsort--all":""]])},{default:bo(()=>[Lr(l,{class:"u-dragsort-area",style:ze(r.movableAreaStyle)},{default:bo(()=>[(Sr(!0),Tr(yr,null,Ai(i.list,(t,o)=>(Sr(),Ir(s,{key:t.id,id:`u-dragsort-item-${o}`,class:$e(["u-dragsort-item",{dragging:i.dragIndex===o}]),direction:"all"===n.direction?"all":n.direction,x:t.x,y:t.y,inertia:!1,disabled:!n.draggable||!1===t.draggable,onChange:e=>r.onChange(o,e),onTouchstart:e=>r.onTouchStart(o),onTouchend:r.onTouchEnd,onTouchcancel:r.onTouchEnd},{default:bo(()=>[Lr(a,{class:"u-dragsort-item-content"},{default:bo(()=>[Ti(e.$slots,"default",{item:t,index:o},()=>[Dr(K(t.label),1)],!0)]),_:2},1024)]),_:2},1032,["id","class","direction","x","y","disabled","onChange","onTouchstart","onTouchend","onTouchcancel"]))),128))]),_:3},8,["style"])]),_:3},8,["class"])}],["__scopeId","data-v-a075e5e7"]]),iT=Object.freeze(Object.defineProperty({__proto__:null,default:oT},Symbol.toStringTag,{value:"Module"})),rT={props:{modelValue:{type:[Number,String,Array],default:""},title:{type:[String,Number],default:""},options:{type:Array,default:()=>[]},disabled:{type:Boolean,default:!1},height:{type:[Number,String],default:"auto"},closeOnClickOverlay:{type:Boolean,default:!0}}};const aT=MS({name:"u-dropdown-item",mixins:[IS,PS,rT],options:{styleIsolation:"shared"},data:()=>({active:!1,activeColor:"#2979ff",inactiveColor:"#606266"}),computed:{propsChange(){return`${this.title}-${this.disabled}`}},watch:{propsChange(e){this.parent&&this.parent.init()}},created(){this.parent=!1},emits:["update:modelValue","change"],methods:{addUnit:Yx,init(){let e=Qx.call(this,"u-dropdown");if(e){this.parent=e,this.activeColor=e.activeColor,this.inactiveColor=e.inactiveColor,e.children.find(e=>this===e)||e.children.push(this),1==e.children.length&&(this.active=!0),e.menuList.push({title:this.title,disabled:this.disabled})}},cellClick(e){this.$emit("update:modelValue",e),this.parent.close(),this.$emit("change",e)}},mounted(){this.init()}},[["render",function(e,t,n,o,i,r){const a=DS(Ao("up-icon"),LS),s=DS(Ao("up-cell"),TC),l=DS(Ao("up-cell-group"),PC),c=Qg,u=Og;return i.active?(Sr(),Ir(c,{key:0,class:"u-dropdown-item",onTouchmove:vs(()=>{},["stop","prevent"]),onClick:vs(()=>{},["stop","prevent"])},{default:bo(()=>[e.$slots.default||e.$slots.$default?Ti(e.$slots,"default",{key:1},void 0,!0):(Sr(),Ir(u,{key:0,class:"u-dropdown-item__scroll","scroll-y":"true",style:ze({height:r.addUnit(e.height)})},{default:bo(()=>[Lr(c,{class:"u-dropdown-item__options"},{default:bo(()=>[Lr(l,null,{default:bo(()=>[(Sr(!0),Tr(yr,null,Ai(e.options,(t,n)=>(Sr(),Ir(s,{onClick:e=>r.cellClick(t.value),arrow:!1,title:t.label,key:n,"title-style":{color:e.modelValue==t.value?i.activeColor:i.inactiveColor}},{default:bo(()=>[e.modelValue==t.value?(Sr(),Ir(a,{key:0,name:"checkbox-mark",color:i.activeColor,size:"32"},null,8,["color"])):zr("",!0)]),_:2},1032,["onClick","title","title-style"]))),128))]),_:1})]),_:1})]),_:1},8,["style"]))]),_:3})):zr("",!0)}],["__scopeId","data-v-1f607866"]]),sT=Object.freeze(Object.defineProperty({__proto__:null,default:aT},Symbol.toStringTag,{value:"Module"})),lT={props:{activeColor:{type:String,default:"#2979ff"},inactiveColor:{type:String,default:"#606266"},closeOnClickMask:{type:Boolean,default:!0},closeOnClickSelf:{type:Boolean,default:!0},duration:{type:[Number,String],default:300},height:{type:[Number,String],default:40},borderBottom:{type:Boolean,default:!1},titleSize:{type:[Number,String],default:14},borderRadius:{type:[Number,String],default:0},menuIcon:{type:String,default:"arrow-down"},menuIconSize:{type:[Number,String],default:14}}};const cT=MS({name:"u-dropdown",mixins:[IS,PS,lT],data:()=>({showDropdown:!0,menuList:[],active:!1,current:99999,contentStyle:{zIndex:-1,opacity:0},highlightIndexList:[],contentHeight:0}),computed:{popupStyle(){let e={};return e.transform=`translateY(${this.active?0:"-100%"})`,e["transition-duration"]=this.duration/1e3+"s",e.borderRadius=`0 0 ${Yx(this.borderRadius)} ${Yx(this.borderRadius)}`,e}},created(){this.children=[]},mounted(){this.getContentHeight()},emits:["open","close"],methods:{addUnit:Yx,init(){this.menuList=[],this.children.map(e=>{e.init()})},menuClick(e){if(!this.menuList[e].disabled)return e===this.current&&this.closeOnClickSelf?(this.close(),void setTimeout(()=>{this.children[e].active=!1},this.duration)):void this.open(e)},open(e){this.contentHeight<1&&this.getContentHeight(),this.contentStyle={zIndex:11,height:this.contentHeight+"px"},this.active=!0,this.current=e,this.children.map((t,n)=>{t.active=e==n}),this.$emit("open",this.current)},close(){this.$emit("close",this.current),this.active=!1,this.current=99999,this.contentStyle.zIndex=-1,this.contentStyle.opacity=0,setTimeout(()=>{this.contentStyle.height=0},this.duration)},maskClick(){this.closeOnClickMask&&this.close()},highlight(e=void 0){Array.isArray(e)?this.highlightIndexList=[...e]:this.highlightIndexList=void 0!==e?[e]:[]},getContentHeight(){let e=Vx().windowHeight;this.$uGetRect(".u-dropdown__menu").then(t=>{this.contentHeight=e-t.bottom})}}},[["render",function(e,t,n,o,i,r){const a=Hg,s=DS(Ao("up-icon"),LS),l=Qg;return Sr(),Ir(l,{class:"u-dropdown"},{default:bo(()=>[Lr(l,{class:$e(["u-dropdown__menu",{"u-border-bottom":e.borderBottom}]),style:ze({height:r.addUnit(e.height)})},{default:bo(()=>[(Sr(!0),Tr(yr,null,Ai(i.menuList,(t,n)=>(Sr(),Ir(l,{class:"u-dropdown__menu__item",key:n,onClick:vs(e=>r.menuClick(n),["stop"])},{default:bo(()=>[Lr(l,{class:"u-flex u-flex-row"},{default:bo(()=>[Lr(a,{class:"u-dropdown__menu__item__text",style:ze({color:t.disabled?"#c0c4cc":n===i.current||i.highlightIndexList.includes(n)?e.activeColor:e.inactiveColor,fontSize:r.addUnit(e.titleSize)})},{default:bo(()=>[Dr(K(t.title),1)]),_:2},1032,["style"]),Lr(l,{class:$e(["u-dropdown__menu__item__arrow",{"u-dropdown__menu__item__arrow--rotate":n===i.current}])},{default:bo(()=>[Lr(s,{"custom-style":{display:"flex"},name:e.menuIcon,size:r.addUnit(e.menuIconSize),color:n===i.current||i.highlightIndexList.includes(n)?e.activeColor:"#c0c4cc"},null,8,["name","size","color"])]),_:2},1032,["class"])]),_:2},1024)]),_:2},1032,["onClick"]))),128))]),_:1},8,["style","class"]),Lr(l,{class:"u-dropdown__content",style:ze([i.contentStyle,{transition:`opacity ${e.duration/1e3}s, z-index ${e.duration/1e3}s linear`,top:r.addUnit(e.height)}]),onClick:r.maskClick,onTouchmove:t[1]||(t[1]=vs(()=>{},["stop","prevent"]))},{default:bo(()=>[Lr(l,{onClick:t[0]||(t[0]=vs(()=>{},["stop","prevent"])),class:"u-dropdown__content__popup",style:ze([r.popupStyle,{}])},{default:bo(()=>[Ti(e.$slots,"default",{},void 0,!0)]),_:3},8,["style"]),Lr(l,{class:"u-dropdown__content__mask"})]),_:3},8,["style","onClick"])]),_:3})}],["__scopeId","data-v-056d63a5"]]),uT=Object.freeze(Object.defineProperty({__proto__:null,default:cT},Symbol.toStringTag,{value:"Module"})),dT={props:{icon:{type:String,default:()=>CS.empty.icon},text:{type:String,default:()=>CS.empty.text},textColor:{type:String,default:()=>CS.empty.textColor},textSize:{type:[String,Number],default:()=>CS.empty.textSize},iconColor:{type:String,default:()=>CS.empty.iconColor},iconSize:{type:[String,Number],default:()=>CS.empty.iconSize},mode:{type:String,default:()=>CS.empty.mode},width:{type:[String,Number],default:()=>CS.empty.width},height:{type:[String,Number],default:()=>CS.empty.height},show:{type:Boolean,default:()=>CS.empty.show},marginTop:{type:[String,Number],default:()=>CS.empty.marginTop}}};const hT=MS({name:"u-empty",mixins:[IS,PS,dT],data:()=>({icons:{car:mS("up.empty.car"),page:mS("up.empty.page"),search:mS("up.empty.search"),address:mS("up.empty.address"),wifi:mS("up.empty.wifi"),order:mS("up.empty.order"),coupon:mS("up.empty.coupon"),favor:mS("up.empty.favor"),permission:mS("up.empty.permission"),history:mS("up.empty.history"),news:mS("up.empty.news"),message:mS("up.empty.message"),list:mS("up.empty.list"),data:mS("up.empty.data"),comment:mS("up.empty.comment")}}),computed:{emptyStyle(){const e={};return e.marginTop=Yx(this.marginTop),Kx(Gx(this.customStyle),e)},textStyle(){const e={};return e.color=this.textColor,e.fontSize=Yx(this.textSize),e},isSrc(){return this.icon.indexOf("/")>=0}},methods:{addUnit:Yx}},[["render",function(e,t,n,o,i,r){const a=DS(Ao("up-icon"),LS),s=xm,l=Hg,c=Qg;return e.show?(Sr(),Ir(c,{key:0,class:"u-empty",style:ze([r.emptyStyle])},{default:bo(()=>[r.isSrc?(Sr(),Ir(s,{key:1,style:ze({width:r.addUnit(e.width),height:r.addUnit(e.height)}),src:e.icon,mode:"widthFix"},null,8,["style","src"])):(Sr(),Ir(a,{key:0,name:"message"===e.mode?"chat":`empty-${e.mode}`,size:e.iconSize,color:e.iconColor,"margin-top":"14"},null,8,["name","size","color"])),Lr(l,{class:"u-empty__text",style:ze([r.textStyle])},{default:bo(()=>[Dr(K(e.text?e.text:i.icons[e.mode]),1)]),_:1},8,["style"]),e.$slots.default||e.$slots.$default?(Sr(),Ir(c,{key:2,class:"u-empty__wrap"},{default:bo(()=>[Ti(e.$slots,"default",{},void 0,!0)]),_:3})):zr("",!0)]),_:3},8,["style"])):zr("",!0)}],["__scopeId","data-v-b1d90c0b"]]),pT=Object.freeze(Object.defineProperty({__proto__:null,default:hT},Symbol.toStringTag,{value:"Module"}));const fT=MS({name:"u-float-button",mixins:[IS,PS],emits:["click","item-click"],computed:{},props:{backgroundColor:{type:String,default:"#2979ff"},color:{type:String,default:"#fff"},width:{type:String,default:"50px"},height:{type:String,default:"50px"},borderColor:{type:String,default:""},right:{type:[String,Number],default:"30px"},top:{type:[String,Number],default:""},bottom:{type:String,default:""},isMenu:{type:Boolean,default:!1},list:{type:Array,default:()=>[]}},data:()=>({showList:!1}),methods:{addStyle:Gx,clickHandler(e){this.isMenu?(this.showList=!this.showList,this.$emit("click",e)):this.$emit("click",e)},itemClick(e,t){this.$emit("item-click",{...e,index:t})}}},[["render",function(e,t,n,o,i,r){const a=DS(Ao("up-icon"),LS),s=Qg;return Sr(),Ir(s,{class:"u-float-button",style:ze({position:"fixed",top:n.top,bottom:n.bottom,right:n.right})},{default:bo(()=>[Lr(s,{class:"u-float-button__main",onClick:r.clickHandler,style:ze({backgroundColor:n.backgroundColor,color:n.color,display:"flex",flexDirection:"row",justifyContent:"center",alignItems:"center",width:n.width,height:n.height,borderRadius:"50%",borderColor:n.borderColor})},{default:bo(()=>[Ti(e.$slots,"default",{showList:i.showList},()=>[Lr(a,{class:$e(["cursor-pointer",{"show-list":i.showList}]),name:"plus",color:n.color},null,8,["class","color"])],!0),i.showList?(Sr(),Ir(s,{key:0,class:"u-float-button__list",style:ze({bottom:n.height})},{default:bo(()=>[Ti(e.$slots,"list",{},()=>[(Sr(!0),Tr(yr,null,Ai(n.list,(e,t)=>(Sr(),Ir(s,{key:t,class:"u-float-button__item",style:ze({backgroundColor:(null==e?void 0:e.backgroundColor)?null==e?void 0:e.backgroundColor:n.backgroundColor,color:(null==e?void 0:e.color)?null==e?void 0:e.color:n.color,display:"flex",flexDirection:"row",justifyContent:"center",alignItems:"center",width:n.width,height:n.height,borderRadius:"50%",borderColor:(null==e?void 0:e.borderColor)?null==e?void 0:e.borderColor:n.borderColor}),onClick:n=>r.itemClick(e,t)},{default:bo(()=>[Lr(a,{name:e.name,color:(null==e?void 0:e.color)?null==e?void 0:e.color:n.color},null,8,["name","color"])]),_:2},1032,["style","onClick"]))),128))],!0)]),_:3},8,["style"])):zr("",!0)]),_:3},8,["onClick","style"])]),_:3},8,["style"])}],["__scopeId","data-v-ea3f9851"]]),mT=Object.freeze(Object.defineProperty({__proto__:null,default:fT},Symbol.toStringTag,{value:"Module"})),gT={props:{label:{type:String,default:()=>CS.formItem.label},prop:{type:String,default:()=>CS.formItem.prop},rules:{type:Array,default:()=>CS.formItem.rules},borderBottom:{type:[String,Boolean],default:()=>CS.formItem.borderBottom},labelPosition:{type:String,default:()=>CS.formItem.labelPosition},labelWidth:{type:[String,Number],default:()=>CS.formItem.labelWidth},rightIcon:{type:String,default:()=>CS.formItem.rightIcon},leftIcon:{type:String,default:()=>CS.formItem.leftIcon},required:{type:Boolean,default:()=>CS.formItem.required},leftIconStyle:{type:[String,Object],default:()=>CS.formItem.leftIconStyle}}};const yT=MS({name:"up-form-item",mixins:[IS,PS,gT],data:()=>({message:"",parentData:{labelPosition:"left",labelAlign:"left",labelStyle:{},labelWidth:45,errorType:"message"},color:ux,itemRules:[]}),computed:{propsLine:()=>CS.line},mounted(){this.$nextTick(()=>{this.init()})},emits:["click"],watch:{rules:{immediate:!0,handler(e){this.setRules(e)}}},methods:{addStyle:Gx,addUnit:Yx,init(){this.updateParentData(),this.parent},setRules(e){0!==e.length?this.itemRules=e:this.itemRules=[]},updateParentData(){this.getParentData("up-form")},clearValidate(){this.message=null},resetField(){const e=cS(this.parent.$data.originalModel,this.prop);uS(this.parent.$props.model,this.prop,e),this.message=null},clickHandler(){this.$emit("click")}}},[["render",function(e,t,n,o,i,r){const a=Hg,s=DS(Ao("up-icon"),LS),l=Qg,c=DS(Ao("u-line"),VS);return Sr(),Ir(l,{class:$e(["u-form-item",{"u-form-item--error":!!i.message&&"message"===i.parentData.errorType}])},{default:bo(()=>[Lr(l,{class:"u-form-item__body",onClick:r.clickHandler,style:ze([r.addStyle(e.customStyle),{flexDirection:"left"===(e.labelPosition||i.parentData.labelPosition)?"row":"column"}])},{default:bo(()=>[Ti(e.$slots,"label",{},()=>[e.required||""!=e.leftIcon||""!=e.label?(Sr(),Ir(l,{key:0,class:"u-form-item__body__left",style:ze({width:r.addUnit(e.labelWidth||i.parentData.labelWidth),marginBottom:"left"===(e.labelPosition||i.parentData.labelPosition)?0:"5px"})},{default:bo(()=>[Lr(l,{class:"u-form-item__body__left__content"},{default:bo(()=>[e.required?(Sr(),Ir(a,{key:0,class:"u-form-item__body__left__content__required"},{default:bo(()=>[Dr("*")]),_:1})):zr("",!0),e.leftIcon?(Sr(),Ir(l,{key:1,class:"u-form-item__body__left__content__icon"},{default:bo(()=>[Lr(s,{name:e.leftIcon,"custom-style":e.leftIconStyle},null,8,["name","custom-style"])]),_:1})):zr("",!0),Lr(a,{class:"u-form-item__body__left__content__label",style:ze([i.parentData.labelStyle,{justifyContent:"left"===i.parentData.labelAlign?"flex-start":"center"===i.parentData.labelAlign?"center":"flex-end"}])},{default:bo(()=>[Dr(K(e.label),1)]),_:1},8,["style"])]),_:1})]),_:1},8,["style"])):zr("",!0)],!0),Lr(l,{class:"u-form-item__body__right"},{default:bo(()=>[Lr(l,{class:"u-form-item__body__right__content"},{default:bo(()=>[Lr(l,{class:"u-form-item__body__right__content__slot"},{default:bo(()=>[Ti(e.$slots,"default",{},void 0,!0)]),_:3}),e.$slots.right?(Sr(),Ir(l,{key:0,class:"item__body__right__content__icon"},{default:bo(()=>[Ti(e.$slots,"right",{},void 0,!0)]),_:3})):zr("",!0)]),_:3})]),_:3})]),_:3},8,["onClick","style"]),Ti(e.$slots,"error",{},()=>[i.message&&"message"===i.parentData.errorType?(Sr(),Ir(a,{key:0,class:"u-form-item__body__right__message",style:ze({marginLeft:r.addUnit("top"===(e.labelPosition||i.parentData.labelPosition)?0:e.labelWidth||i.parentData.labelWidth)})},{default:bo(()=>[Dr(K(i.message),1)]),_:1},8,["style"])):zr("",!0)],!0),e.borderBottom?(Sr(),Ir(c,{key:0,color:i.message&&"border-bottom"===i.parentData.errorType?i.color.error:r.propsLine.color,customStyle:`margin-top: ${i.message&&"message"===i.parentData.errorType?"5px":0}`},null,8,["color","customStyle"])):zr("",!0)]),_:3},8,["class"])}],["__scopeId","data-v-28df5fc3"]]),bT=Object.freeze(Object.defineProperty({__proto__:null,default:yT},Symbol.toStringTag,{value:"Module"})),vT={props:{model:{type:Object,default:()=>CS.form.model},rules:{type:[Object,Function,Array],default:()=>CS.form.rules},errorType:{type:String,default:()=>CS.form.errorType},borderBottom:{type:Boolean,default:()=>CS.form.borderBottom},labelPosition:{type:String,default:()=>CS.form.labelPosition},labelWidth:{type:[String,Number],default:()=>CS.form.labelWidth},labelAlign:{type:String,default:()=>CS.form.labelAlign},labelStyle:{type:Object,default:()=>CS.form.labelStyle}}},_T=/%[sdj%]/g;let wT=function(){};function xT(e){if(!e||!e.length)return null;const t={};return e.forEach(e=>{const{field:n}=e;t[n]=t[n]||[],t[n].push(e)}),t}function ST(){for(var e=arguments.length,t=new Array(e),n=0;n{if("%%"===e)return"%";if(o>=r)return e;switch(e){case"%s":return String(t[o++]);case"%d":return Number(t[o++]);case"%j":try{return JSON.stringify(t[o++])}catch(n){return"[Circular]"}break;default:return e}});for(let n=t[o];o{const r=function(e){const t=[];return Object.keys(e).forEach(n=>{t.push.apply(t,e[n])}),t}(e);CT(r,n,function(e){return o(e),e.length?i({errors:e,fields:xT(e)}):t()})});return t.catch(e=>e),t}let i=t.firstFields||[];!0===i&&(i=Object.keys(e));const r=Object.keys(e),a=r.length;let s=0;const l=[],c=new Promise((t,c)=>{const u=function(e){if(l.push.apply(l,e),s++,s===a)return o(l),l.length?c({errors:l,fields:xT(l)}):t()};r.length||(o(l),t()),r.forEach(t=>{const o=e[t];-1!==i.indexOf(t)?CT(o,n,u):function(e,t,n){const o=[];let i=0;const r=e.length;function a(e){o.push.apply(o,e),i++,i===r&&n(o)}e.forEach(e=>{t(e,a)})}(o,n,u)})});return c.catch(e=>e),c}function TT(e){return function(t){return t&&t.message?(t.field=t.field||e.fullField,t):{message:"function"==typeof t?t():t,field:t.field||e.fullField}}}function IT(e,t){if(t)for(const n in t)if(t.hasOwnProperty(n)){const o=t[n];"object"==typeof o&&"object"==typeof e[n]?e[n]={...e[n],...o}:e[n]=o}return e}function ET(e,t,n,o,i,r){!e.required||n.hasOwnProperty(e.field)&&!kT(t,r||e.type)||o.push(ST(i.messages.required,e.fullField))}"undefined"!=typeof process&&process.env;const PT={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i};var BT={integer:function(e){return/^(-)?\d+$/.test(e)},float:function(e){return/^(-)?\d+(\.\d+)?$/.test(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch(t){return!1}},date:function(e){return"function"==typeof e.getTime&&"function"==typeof e.getMonth&&"function"==typeof e.getYear},number:function(e){return!isNaN(e)&&"number"==typeof+e},object:function(e){return"object"==typeof e&&!BT.array(e)},method:function(e){return"function"==typeof e},email:function(e){return"string"==typeof e&&!!e.match(PT.email)&&e.length<255},url:function(e){return"string"==typeof e&&!!e.match(PT.url)},hex:function(e){return"string"==typeof e&&!!e.match(PT.hex)}};const OT="enum";const NT={required:ET,whitespace:function(e,t,n,o,i){(/^\s+$/.test(t)||""===t)&&o.push(ST(i.messages.whitespace,e.fullField))},type:function(e,t,n,o,i){if(e.required&&void 0===t)return void ET(e,t,n,o,i);const r=e.type;["integer","float","array","regexp","object","method","email","number","date","url","hex"].indexOf(r)>-1?BT[r](t)||o.push(ST(i.messages.types[r],e.fullField,e.type)):r&&typeof t!==e.type&&o.push(ST(i.messages.types[r],e.fullField,e.type))},range:function(e,t,n,o,i){const r="number"==typeof e.len,a="number"==typeof e.min,s="number"==typeof e.max,l=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g;let c=t,u=null;const d="number"==typeof t,h="string"==typeof t,p=Array.isArray(t);if(d?u="number":h?u="string":p&&(u="array"),!u)return!1;p&&(c=t.length),h&&(c=t.replace(l,"_").length),r?c!==e.len&&o.push(ST(i.messages[u].len,e.fullField,e.len)):a&&!s&&ce.max?o.push(ST(i.messages[u].max,e.fullField,e.max)):a&&s&&(ce.max)&&o.push(ST(i.messages[u].range,e.fullField,e.min,e.max))},enum:function(e,t,n,o,i){e[OT]=Array.isArray(e[OT])?e[OT]:[],-1===e[OT].indexOf(t)&&o.push(ST(i.messages[OT],e.fullField,e[OT].join(", ")))},pattern:function(e,t,n,o,i){if(e.pattern)if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||o.push(ST(i.messages.pattern.mismatch,e.fullField,t,e.pattern));else if("string"==typeof e.pattern){new RegExp(e.pattern).test(t)||o.push(ST(i.messages.pattern.mismatch,e.fullField,t,e.pattern))}}};function MT(e,t,n,o,i){const r=e.type,a=[];if(e.required||!e.required&&o.hasOwnProperty(e.field)){if(kT(t,r)&&!e.required)return n();NT.required(e,t,o,a,i,r),kT(t,r)||NT.type(e,t,o,a,i)}n(a)}const LT={string:function(e,t,n,o,i){const r=[];if(e.required||!e.required&&o.hasOwnProperty(e.field)){if(kT(t,"string")&&!e.required)return n();NT.required(e,t,o,r,i,"string"),kT(t,"string")||(NT.type(e,t,o,r,i),NT.range(e,t,o,r,i),NT.pattern(e,t,o,r,i),!0===e.whitespace&&NT.whitespace(e,t,o,r,i))}n(r)},method:function(e,t,n,o,i){const r=[];if(e.required||!e.required&&o.hasOwnProperty(e.field)){if(kT(t)&&!e.required)return n();NT.required(e,t,o,r,i),void 0!==t&&NT.type(e,t,o,r,i)}n(r)},number:function(e,t,n,o,i){const r=[];if(e.required||!e.required&&o.hasOwnProperty(e.field)){if(""===t&&(t=void 0),kT(t)&&!e.required)return n();NT.required(e,t,o,r,i),void 0!==t&&(NT.type(e,t,o,r,i),NT.range(e,t,o,r,i))}n(r)},boolean:function(e,t,n,o,i){const r=[];if(e.required||!e.required&&o.hasOwnProperty(e.field)){if(kT(t)&&!e.required)return n();NT.required(e,t,o,r,i),void 0!==t&&NT.type(e,t,o,r,i)}n(r)},regexp:function(e,t,n,o,i){const r=[];if(e.required||!e.required&&o.hasOwnProperty(e.field)){if(kT(t)&&!e.required)return n();NT.required(e,t,o,r,i),kT(t)||NT.type(e,t,o,r,i)}n(r)},integer:function(e,t,n,o,i){const r=[];if(e.required||!e.required&&o.hasOwnProperty(e.field)){if(kT(t)&&!e.required)return n();NT.required(e,t,o,r,i),void 0!==t&&(NT.type(e,t,o,r,i),NT.range(e,t,o,r,i))}n(r)},float:function(e,t,n,o,i){const r=[];if(e.required||!e.required&&o.hasOwnProperty(e.field)){if(kT(t)&&!e.required)return n();NT.required(e,t,o,r,i),void 0!==t&&(NT.type(e,t,o,r,i),NT.range(e,t,o,r,i))}n(r)},array:function(e,t,n,o,i){const r=[];if(e.required||!e.required&&o.hasOwnProperty(e.field)){if(kT(t,"array")&&!e.required)return n();NT.required(e,t,o,r,i,"array"),kT(t,"array")||(NT.type(e,t,o,r,i),NT.range(e,t,o,r,i))}n(r)},object:function(e,t,n,o,i){const r=[];if(e.required||!e.required&&o.hasOwnProperty(e.field)){if(kT(t)&&!e.required)return n();NT.required(e,t,o,r,i),void 0!==t&&NT.type(e,t,o,r,i)}n(r)},enum:function(e,t,n,o,i){const r=[];if(e.required||!e.required&&o.hasOwnProperty(e.field)){if(kT(t)&&!e.required)return n();NT.required(e,t,o,r,i),void 0!==t&&NT.enum(e,t,o,r,i)}n(r)},pattern:function(e,t,n,o,i){const r=[];if(e.required||!e.required&&o.hasOwnProperty(e.field)){if(kT(t,"string")&&!e.required)return n();NT.required(e,t,o,r,i),kT(t,"string")||NT.pattern(e,t,o,r,i)}n(r)},date:function(e,t,n,o,i){const r=[];if(e.required||!e.required&&o.hasOwnProperty(e.field)){if(kT(t)&&!e.required)return n();if(NT.required(e,t,o,r,i),!kT(t)){let n;n="number"==typeof t?new Date(t):t,NT.type(e,n,o,r,i),n&&NT.range(e,n.getTime(),o,r,i)}}n(r)},url:MT,hex:MT,email:MT,required:function(e,t,n,o,i){const r=[],a=Array.isArray(t)?"array":typeof t;NT.required(e,t,o,r,i,a),n(r)},any:function(e,t,n,o,i){const r=[];if(e.required||!e.required&&o.hasOwnProperty(e.field)){if(kT(t)&&!e.required)return n();NT.required(e,t,o,r,i)}n(r)}};function RT(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){const e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}const DT=RT();function zT(e){this.rules=null,this._messages=DT,this.define(e)}zT.prototype={messages:function(e){return e&&(this._messages=IT(RT(),e)),this._messages},define:function(e){if(!e)throw new Error("Cannot configure a schema with no rules");if("object"!=typeof e||Array.isArray(e))throw new Error("Rules must be an object");let t,n;for(t in this.rules={},e)e.hasOwnProperty(t)&&(n=e[t],this.rules[t]=Array.isArray(n)?n:[n])},validate:function(e,t,n){const o=this;void 0===t&&(t={}),void 0===n&&(n=function(){});let i,r,a=e,s=t,l=n;if("function"==typeof s&&(l=s,s={}),!this.rules||0===Object.keys(this.rules).length)return l&&l(),Promise.resolve();if(s.messages){let e=this.messages();e===DT&&(e=RT()),IT(e,s.messages),s.messages=e}else s.messages=this.messages();const c={};(s.keys||Object.keys(this.rules)).forEach(t=>{i=o.rules[t],r=a[t],i.forEach(n=>{let i=n;"function"==typeof i.transform&&(a===e&&(a={...a}),r=a[t]=i.transform(r)),i="function"==typeof i?{validator:i}:{...i},i.validator=o.getValidationMethod(i),i.field=t,i.fullField=i.fullField||t,i.type=o.getType(i),i.validator&&(c[t]=c[t]||[],c[t].push({rule:i,value:r,source:a,field:t}))})});const u={};return AT(c,s,(e,t)=>{const{rule:n}=e;let o,i=!("object"!==n.type&&"array"!==n.type||"object"!=typeof n.fields&&"object"!=typeof n.defaultField);function r(e,t){return{...t,fullField:`${n.fullField}.${e}`}}function a(o){void 0===o&&(o=[]);let a=o;if(Array.isArray(a)||(a=[a]),!s.suppressWarning&&a.length&&zT.warning("async-validator:",a),a.length&&n.message&&(a=[].concat(n.message)),a=a.map(TT(n)),s.first&&a.length)return u[n.field]=1,t(a);if(i){if(n.required&&!e.value)return a=n.message?[].concat(n.message).map(TT(n)):s.error?[s.error(n,ST(s.messages.required,n.field))]:[],t(a);let o={};if(n.defaultField)for(const t in e.value)e.value.hasOwnProperty(t)&&(o[t]=n.defaultField);o={...o,...e.rule.fields};for(const e in o)if(o.hasOwnProperty(e)){const t=Array.isArray(o[e])?o[e]:[o[e]];o[e]=t.map(r.bind(null,e))}const i=new zT(o);i.messages(s.messages),e.rule.options&&(e.rule.options.messages=s.messages,e.rule.options.error=s.error),i.validate(e.value,e.rule.options||s,e=>{const n=[];a&&a.length&&n.push.apply(n,a),e&&e.length&&n.push.apply(n,e),t(n.length?n:null)})}else t(a)}i=i&&(n.required||!n.required&&e.value),n.field=e.field,n.asyncValidator?o=n.asyncValidator(n,e.value,a,e.source,s):n.validator&&(o=n.validator(n,e.value,a,e.source,s),!0===o?a():!1===o?a(n.message||`${n.field} fails`):o instanceof Array?a(o):o instanceof Error&&a(o.message)),o&&o.then&&o.then(()=>a(),e=>a(e))},e=>{!function(e){let t,n=[],o={};function i(e){if(Array.isArray(e)){let t;n=(t=n).concat.apply(t,e)}else n.push(e)}for(t=0;t({formRules:{},validator:{},originalModel:null}),watch:{rules:{immediate:!0,handler(e){this.setRules(e)}},propsChange(e){var t;(null==(t=this.children)?void 0:t.length)&&this.children.map(e=>{"function"==typeof e.updateParentData&&e.updateParentData()})},model:{immediate:!0,handler(e){this.originalModel||(this.originalModel=Xx(e))}}},computed:{propsChange(){return[this.errorType,this.borderBottom,this.labelPosition,this.labelWidth,this.labelAlign,this.labelStyle]}},created(){this.children=[]},methods:{setRules(e){0!==Object.keys(e).length&&(this.formRules=e,this.validator=new zT(e))},resetFields(){this.resetModel()},resetModel(e){this.children.map(e=>{const t=null==e?void 0:e.prop,n=cS(this.originalModel,t);uS(this.model,t,n)})},clearValidate(e){e=[].concat(e),this.children.map(t=>{(void 0===e[0]||e.includes(t.prop))&&(t.message=null)})},async validateField(e,t,n=null,o){this.$nextTick(()=>{const i=[];e=[].concat(e);let r=this.children.map(t=>new Promise((r,a)=>{const s=[];if(e.includes(t.prop)){const e=cS(this.model,t.prop),a=t.prop.split("."),l=a[a.length-1];let c=[];if(c=t.itemRules&&t.itemRules.length>0?t.itemRules:this.formRules[t.prop],!c)return void r();const u=[].concat(c);u.length||r();for(let d=0;d{var a;Ex.array(e)&&(e.forEach(e=>{e.prop=t.prop}),i.push(...e),s.push(...e)),o&&1!=(null==o?void 0:o.showErrorMsg)||(t.message=(null==(a=s[0])?void 0:a.message)?s[0].message:null),d==u.length-1&&r(i)})}}else r({})}));Promise.all(r).then(e=>{"function"==typeof t&&t(i)}).catch(e=>{console.error("An error occurred:",e)})})},validate(e){return new Promise((t,n)=>{this.$nextTick(()=>{const o=this.children.map(e=>e.prop);this.validateField(o,e=>{e.length?("toast"===this.errorType&&iS(e[0].message),n(e)):t(!0)},null,e)})})}}},[["render",function(e,t,n,o,i,r){const a=Qg;return Sr(),Ir(a,{class:"u-form"},{default:bo(()=>[Ti(e.$slots,"default")]),_:3})}]]),FT=Object.freeze(Object.defineProperty({__proto__:null,default:$T},Symbol.toStringTag,{value:"Module"})),jT={props:{name:{type:[String,Number],default:()=>CS.numberBox.name},modelValue:{type:[String,Number],default:()=>CS.numberBox.value},min:{type:[String,Number],default:()=>CS.numberBox.min},max:{type:[String,Number],default:()=>CS.numberBox.max},step:{type:[String,Number],default:()=>CS.numberBox.step},integer:{type:Boolean,default:()=>CS.numberBox.integer},disabled:{type:Boolean,default:()=>CS.numberBox.disabled},disabledInput:{type:Boolean,default:()=>CS.numberBox.disabledInput},asyncChange:{type:Boolean,default:()=>CS.numberBox.asyncChange},inputWidth:{type:[String,Number],default:()=>CS.numberBox.inputWidth},showMinus:{type:Boolean,default:()=>CS.numberBox.showMinus},showPlus:{type:Boolean,default:()=>CS.numberBox.showPlus},decimalLength:{type:[String,Number,null],default:()=>CS.numberBox.decimalLength},longPress:{type:Boolean,default:()=>CS.numberBox.longPress},color:{type:String,default:()=>CS.numberBox.color},buttonWidth:{type:[String,Number],default:()=>CS.numberBox.buttonWidth},buttonSize:{type:[String,Number],default:()=>CS.numberBox.buttonSize},buttonRadius:{type:[String],default:()=>CS.numberBox.buttonRadius},bgColor:{type:String,default:()=>CS.numberBox.bgColor},disabledBgColor:{type:String,default:()=>CS.numberBox.disabledBgColor},inputBgColor:{type:String,default:()=>CS.numberBox.inputBgColor},cursorSpacing:{type:[String,Number],default:()=>CS.numberBox.cursorSpacing},disablePlus:{type:Boolean,default:()=>CS.numberBox.disablePlus},disableMinus:{type:Boolean,default:()=>CS.numberBox.disableMinus},iconStyle:{type:[Object,String],default:()=>CS.numberBox.iconStyle},miniMode:{type:Boolean,default:()=>CS.numberBox.miniMode}}};const HT=MS({name:"u-number-box",mixins:[IS,PS,jT],data:()=>({currentValue:"",longPressTimer:null}),watch:{watchChange(e){this.check()},modelValue:{handler:function(e,t){e!==this.currentValue&&(this.currentValue=this.format(this.modelValue))},immediate:!0}},computed:{hideMinus(){return 0==this.currentValue&&1==this.miniMode},getCursorSpacing(){return zx(this.cursorSpacing)},buttonStyle(){return e=>{const t={backgroundColor:this.bgColor,width:Yx(this.buttonWidth),height:Yx(this.buttonSize),color:this.color,borderRadius:this.buttonRadius};return this.isDisabled(e)&&(t.backgroundColor=this.disabledBgColor),t}},inputStyle(){this.disabled||this.disabledInput;return{color:this.color,backgroundColor:this.inputBgColor||this.bgColor,height:Yx(this.buttonSize),width:Yx(this.inputWidth)}},watchChange(){return[this.integer,this.decimalLength,this.min,this.max]},isDisabled(){return e=>"plus"===e?this.disabled||this.disablePlus||this.currentValue>=this.max:this.disabled||this.disableMinus||this.currentValue<=this.min}},mounted(){this.init()},emits:["update:modelValue","focus","blur","overlimit","change","plus","minus"],methods:{init(){this.currentValue=this.format(this.modelValue)},format(e){return e=""===(e=this.filter(e))?0:+e,e=Math.max(Math.min(this.max,e),this.min),null!==this.decimalLength&&(e=e.toFixed(this.decimalLength)),e},filter(e){return e=String(e).replace(/[^0-9.-]/g,""),this.integer&&-1!==e.indexOf(".")&&(e=e.split(".")[0]),e},check(){const e=this.format(this.currentValue);e!==this.currentValue&&(this.currentValue=e,this.emitChange(e))},onFocus(e){this.$emit("focus",{...e.detail,name:this.name})},onBlur(e){this.format(e.detail.value),this.$emit("blur",{...e.detail,name:this.name})},onInput(e){const{value:t=""}=e.detail||{};if(""===t)return void this.emitChange(this.min);let n=this.filter(t);if(this.emitChange(t),null!==this.decimalLength&&-1!==n.indexOf(".")){const e=n.split(".");n=`${e[0]}.${e[1].slice(0,this.decimalLength)}`}n=this.format(n),this.emitChange(n)},emitChange(e,t=""){this.asyncChange||this.$nextTick(()=>{this.$emit("update:modelValue",e),this.currentValue=e,this.$forceUpdate()}),this.$emit("change",{value:e,name:this.name,type:t})},onChange(){const{type:e}=this;if(this.isDisabled(e))return this.$emit("overlimit",e);const t="minus"===e?-this.step:+this.step,n=this.format(this.add(+this.currentValue,t));this.emitChange(n,e),this.$emit(e)},add(e,t){const n=Math.pow(10,10);return Math.round((e+t)*n)/n},clickHandler(e){this.type=e,this.onChange()},longPressStep(){this.clearTimeout(),this.longPressTimer=setTimeout(()=>{this.onChange(),this.longPressStep()},250)},onTouchStart(e){this.longPress&&(this.clearTimeout(),this.type=e,this.longPressTimer=setTimeout(()=>{this.onChange(),this.longPressStep()},600))},onTouchEnd(){this.longPress&&this.clearTimeout()},clearTimeout(){clearTimeout(this.longPressTimer),this.longPressTimer=null}}},[["render",function(e,t,n,o,i,r){const a=Qg,s=DS(Ao("up-icon"),LS),l=jm;return Sr(),Ir(a,{class:"u-number-box"},{default:bo(()=>[e.showMinus&&!r.hideMinus&&e.$slots.minus?(Sr(),Ir(a,{key:0,class:"u-number-box__slot cursor-pointer",onClick:t[0]||(t[0]=vs(e=>r.clickHandler("minus"),["stop"])),onTouchstart:t[1]||(t[1]=e=>r.onTouchStart("minus")),onTouchend:vs(r.clearTimeout,["stop"])},{default:bo(()=>[Ti(e.$slots,"minus",{},void 0,!0)]),_:3},8,["onTouchend"])):e.showMinus&&!r.hideMinus?(Sr(),Ir(a,{key:1,class:$e(["u-number-box__minus cursor-pointer",{"u-number-box__minus--disabled":r.isDisabled("minus")}]),onClick:t[2]||(t[2]=vs(e=>r.clickHandler("minus"),["stop"])),onTouchstart:t[3]||(t[3]=e=>r.onTouchStart("minus")),onTouchend:vs(r.clearTimeout,["stop"]),"hover-class":"u-number-box__minus--hover","hover-stay-time":"150",style:ze([r.buttonStyle("minus")])},{default:bo(()=>[Lr(s,{name:"minus",color:r.isDisabled("minus")?"#c8c9cc":"#323233",size:"15",bold:"",customStyle:e.iconStyle},null,8,["color","customStyle"])]),_:1},8,["onTouchend","class","style"])):zr("",!0),r.hideMinus?zr("",!0):Ti(e.$slots,"input",{key:2},()=>[Lr(l,{disabled:e.disabledInput||e.disabled,"cursor-spacing":r.getCursorSpacing,class:$e([{"u-number-box__input--disabled":e.disabled||e.disabledInput},"u-number-box__input"]),modelValue:i.currentValue,"onUpdate:modelValue":t[4]||(t[4]=e=>i.currentValue=e),onBlur:r.onBlur,onFocus:r.onFocus,onInput:r.onInput,type:"number",style:ze([r.inputStyle])},null,8,["disabled","cursor-spacing","class","modelValue","onBlur","onFocus","onInput","style"])],!0),e.showPlus&&e.$slots.plus?(Sr(),Ir(a,{key:3,class:"u-number-box__slot cursor-pointer",onClick:t[5]||(t[5]=vs(e=>r.clickHandler("plus"),["stop"])),onTouchstart:t[6]||(t[6]=e=>r.onTouchStart("plus")),onTouchend:vs(r.clearTimeout,["stop"])},{default:bo(()=>[Ti(e.$slots,"plus",{},void 0,!0)]),_:3},8,["onTouchend"])):e.showPlus?(Sr(),Ir(a,{key:4,class:$e(["u-number-box__plus cursor-pointer",{"u-number-box__minus--disabled":r.isDisabled("plus")}]),onClick:t[7]||(t[7]=vs(e=>r.clickHandler("plus"),["stop"])),onTouchstart:t[8]||(t[8]=e=>r.onTouchStart("plus")),onTouchend:vs(r.clearTimeout,["stop"]),"hover-class":"u-number-box__plus--hover","hover-stay-time":"150",style:ze([r.buttonStyle("plus")])},{default:bo(()=>[Lr(s,{name:"plus",color:r.isDisabled("plus")?"#c8c9cc":"#323233",size:"15",bold:"",customStyle:e.iconStyle},null,8,["color","customStyle"])]),_:1},8,["onTouchend","class","style"])):zr("",!0)]),_:3})}],["__scopeId","data-v-a99b0797"]]),VT=Object.freeze(Object.defineProperty({__proto__:null,default:HT},Symbol.toStringTag,{value:"Module"}));const WT=MS({name:"up-goods-sku",props:{goodsInfo:{type:Object,default:()=>({})},skuTree:{type:Array,default:()=>[]},skuList:{type:Array,default:()=>[]},maxBuy:{type:Number,default:999},confirmText:{type:String,default:"确定"},closeable:{type:Boolean,default:!0},pageInline:{type:Boolean,default:!1}},data:()=>({show:!1,selectedSku:{},buyNum:1}),computed:{price(){const e=this.getSelectedSkuComb();return e?e.price||e.price_fee:this.goodsInfo.price||this.goodsInfo.price_fee||0},stock(){const e=this.getSelectedSkuComb();return e?e.stock||e.quantity:this.goodsInfo.stock||this.goodsInfo.quantity||0},maxBuyNum(){const e=this.stock;return e>this.maxBuy?this.maxBuy:e},canBuy(){return Object.keys(this.selectedSku).length===this.skuTree.length&&this.buyNum>0&&this.stock>0},selectedSkuText(){const e=[];return Object.keys(this.selectedSku).forEach(t=>{const n=this.selectedSku[t];n&&this.skuTree.forEach(o=>{o.name===t&&o.children.forEach(t=>{t.id===n&&e.push(t.name)})})}),e.join(", ")}},watch:{},emits:["open","confirm","close"],created(){this.pageInline&&(this.show=!0)},methods:{t:mS,isSelected(e,t){return this.selectedSku[e]===t},isDisabled(e,t){const n={...this.selectedSku,[e]:t};if(Object.keys(n).filter(e=>n[e]).length===this.skuTree.length)return!this.getSkuComb(n);for(let o=0;o{t[e]||delete t[e]}),Object.keys(t).length!==this.skuTree.length)return null;for(let n=0;n[Lr(a,{onClick:r.open},{default:bo(()=>[Ti(e.$slots,"trigger",{},void 0,!0)]),_:3},8,["onClick"]),Lr(h,{show:i.show,"onUpdate:show":t[1]||(t[1]=e=>i.show=e),mode:"bottom",closeable:!n.pageInline&&n.closeable,pageInline:n.pageInline,"border-radius":20,onClose:r.close},{default:bo(()=>[Lr(a,{class:"up-goods-sku-container",style:ze({padding:n.pageInline?"0px":""})},{default:bo(()=>[Lr(a,{class:"up-goods-sku__header"},{default:bo(()=>[Ti(e.$slots,"header",{},()=>[Lr(a,{class:"up-goods-sku__header__image"},{default:bo(()=>[Lr(s,{src:n.goodsInfo.image||n.goodsInfo.picture,mode:"aspectFill"},null,8,["src"])]),_:1}),Lr(a,{class:"up-goods-sku__header__info"},{default:bo(()=>[Lr(a,{class:"up-goods-sku__header__info__price"},{default:bo(()=>[Lr(l,{class:"up-goods-sku__header__info__price__symbol"},{default:bo(()=>[Dr("¥")]),_:1}),Lr(l,{class:"up-goods-sku__header__info__price__value"},{default:bo(()=>[Dr(K(r.price),1)]),_:1})]),_:1}),Lr(a,{class:"up-goods-sku__header__info__stock"},{default:bo(()=>[Dr(K(r.t("up.goodsSku.stock"))+" "+K(r.stock)+" "+K(r.t("up.goodsSku.amount")),1)]),_:1}),Lr(a,{class:"up-goods-sku__header__info__selected"},{default:bo(()=>[Dr(K(r.t("up.goodsSku.choosed"))+": "+K(r.selectedSkuText),1)]),_:1})]),_:1})],!0)]),_:3}),Lr(u,{class:"up-goods-sku__content","scroll-y":""},{default:bo(()=>[(Sr(!0),Tr(yr,null,Ai(n.skuTree,(e,t)=>(Sr(),Ir(a,{key:t,class:"up-goods-sku__content__item"},{default:bo(()=>[Lr(a,{class:"up-goods-sku__content__item__title"},{default:bo(()=>[Dr(K(e.label),1)]),_:2},1024),Lr(a,{class:"up-goods-sku__content__item__list"},{default:bo(()=>[(Sr(!0),Tr(yr,null,Ai(e.children,(t,n)=>(Sr(),Ir(a,{key:n,class:$e(["up-goods-sku__content__item__list__item",{"up-goods-sku__content__item__list__item--active":r.isSelected(e.name,t.id),"up-goods-sku__content__item__list__item--disabled":r.isDisabled(e.name,t.id)}]),onClick:n=>r.onSkuClick(e.name,t)},{default:bo(()=>[Lr(l,null,{default:bo(()=>[Dr(K(t.name),1)]),_:2},1024)]),_:2},1032,["class","onClick"]))),128))]),_:2},1024)]),_:2},1024))),128)),Lr(a,{class:"up-goods-sku__content__count"},{default:bo(()=>[Lr(a,{class:"up-goods-sku__content__count__title"},{default:bo(()=>[Dr(K(r.t("up.goodsSku.buyAmount")),1)]),_:1}),Lr(a,{class:"up-goods-sku__content__count__control"},{default:bo(()=>[Lr(c,{modelValue:i.buyNum,"onUpdate:modelValue":t[0]||(t[0]=e=>i.buyNum=e),min:1,max:r.maxBuyNum,disabled:!r.canBuy,onChange:r.onNumChange},null,8,["modelValue","max","disabled","onChange"])]),_:1})]),_:1})]),_:1}),Lr(a,{class:"up-goods-sku__footer"},{default:bo(()=>[Lr(d,{type:"primary",disabled:!r.canBuy,onClick:r.onConfirm},{default:bo(()=>[Dr(K(n.confirmText),1)]),_:1},8,["disabled","onClick"])]),_:1})]),_:3},8,["style"])]),_:3},8,["show","closeable","pageInline","onClose"])]),_:3})}],["__scopeId","data-v-03f47ab6"]]),UT=Object.freeze(Object.defineProperty({__proto__:null,default:WT},Symbol.toStringTag,{value:"Module"}));const qT=MS({name:"u-grid-item",mixins:[IS,PS,{props:{name:{type:[String,Number,null],default:()=>CS.gridItem.name},bgColor:{type:String,default:()=>CS.gridItem.bgColor}}}],data:()=>({parentData:{col:0,border:!0},classes:[]}),mounted(){this.init()},emits:["click"],computed:{itemStyle(){const e={background:this.bgColor,width:"100%"};return Kx(e,Gx(this.customStyle))}},methods:{init(){$h("$uGridItem",()=>{this.gridItemClasses()}),this.updateParentData(),Hh("$uGridItem"),this.gridItemClasses()},updateParentData(){this.getParentData("u-grid")},clickHandler(){var e;let t=this.name;const n=null==(e=this.parent)?void 0:e.children;n&&null===this.name&&(t=n.findIndex(e=>e===this)),this.parent&&this.parent.childClick(t),this.$emit("click",t)},async getItemWidth(){let e=0;if(this.parent){e=await this.getParentWidth()/Number(this.parentData.col)+"px"}this.width=e},getParentWidth(){},gridItemClasses(){if(this.parentData.border){let e=[];this.parent.children.map((t,n)=>{if(this===t){const t=this.parent.children.length;(n+1)%this.parentData.col!==0&&n+1!==t&&e.push("u-border-right");n0?(Sr(),Ir(a,{key:0,class:$e(["u-grid-item",i.classes]),"hover-class":"u-grid-item--hover-class","hover-stay-time":200,onClick:r.clickHandler,style:ze([r.itemStyle])},{default:bo(()=>[Ti(e.$slots,"default",{},void 0,!0)]),_:3},8,["onClick","class","style"])):zr("",!0)}],["__scopeId","data-v-e3ff7c16"]]),QT=Object.freeze(Object.defineProperty({__proto__:null,default:qT},Symbol.toStringTag,{value:"Module"})),GT={props:{col:{type:[String,Number],default:()=>CS.grid.col},border:{type:Boolean,default:()=>CS.grid.border},align:{type:String,default:()=>CS.grid.align},gap:{type:String,default:"0px"}}},YT={name:"u-grid",mixins:[IS,PS,GT],data:()=>({index:0,width:0}),watch:{parentData(){this.children.length&&this.children.map(e=>{"function"==typeof e.updateParentData&&e.updateParentData()})}},created(){this.children=[]},computed:{parentData(){return[this.hoverClass,this.col,this.size,this.border]},gridStyle(){let e={};switch(this.align){case"left":default:e.justifyContent="flex-start";break;case"center":e.justifyContent="center";break;case"right":e.justifyContent="flex-end"}return Kx(e,Gx(this.customStyle))}},emits:["click"],methods:{childClick(e){this.$emit("click",e)}}},XT=()=>{Ba(e=>({"5ee80e6a":e.gap,"5ee82916":e.col}))},KT=YT.setup;YT.setup=KT?(e,t)=>(XT(),KT(e,t)):XT;const JT=MS(YT,[["render",function(e,t,n,o,i,r){const a=Qg;return Sr(),Ir(a,{class:"u-grid",ref:"u-grid",style:ze([r.gridStyle])},{default:bo(()=>[Ti(e.$slots,"default",{},void 0,!0)]),_:3},8,["style"])}],["__scopeId","data-v-7affda4b"]]),ZT=Object.freeze(Object.defineProperty({__proto__:null,default:JT},Symbol.toStringTag,{value:"Module"})),eI={props:{src:{type:String,default:()=>CS.image.src},mode:{type:String,default:()=>CS.image.mode},width:{type:[String,Number],default:()=>CS.image.width},height:{type:[String,Number],default:()=>CS.image.height},shape:{type:String,default:()=>CS.image.shape},radius:{type:[String,Number],default:()=>CS.image.radius},lazyLoad:{type:Boolean,default:()=>CS.image.lazyLoad},showMenuByLongpress:{type:Boolean,default:()=>CS.image.showMenuByLongpress},loadingIcon:{type:String,default:()=>CS.image.loadingIcon},errorIcon:{type:String,default:()=>CS.image.errorIcon},showLoading:{type:Boolean,default:()=>CS.image.showLoading},showError:{type:Boolean,default:()=>CS.image.showError},fade:{type:Boolean,default:()=>CS.image.fade},webp:{type:Boolean,default:()=>CS.image.webp},duration:{type:[String,Number],default:()=>CS.image.duration},bgColor:{type:String,default:()=>CS.image.bgColor}}};const tI=MS({name:"u-image",mixins:[IS,PS,eI],data(){return{isError:!1,loading:!0,opacity:1,durationTime:this.duration,backgroundStyle:{},show:!1}},watch:{src:{immediate:!0,handler(e){e?(this.isError=!1,this.loading=!0):this.isError=!0}}},computed:{transStyle(){let e={};return this.loading||this.isError||"100%"==this.width||"heightFix"!=this.mode?e.width=Yx(this.width):e.width="fit-content",this.loading||this.isError||"100%"==this.height||"widthFix"!=this.mode?e.height=Yx(this.height):e.height="fit-content",e},wrapStyle(){let e={};return this.loading||this.isError||"100%"==this.width||"heightFix"!=this.mode?e.width=Yx(this.width):e.width="fit-content",this.loading||this.isError||"100%"==this.height||"widthFix"!=this.mode?e.height=Yx(this.height):e.height="fit-content",e.borderRadius="circle"==this.shape?"10000px":Yx(this.radius),e.overflow=this.radius>0?"hidden":"visible",Kx(e,Gx(this.customStyle))}},mounted(){this.show=!0},emits:["click","error","load"],methods:{addUnit:Yx,onClick(e){this.$emit("click",e)},onErrorHandler(e){this.loading=!1,this.isError=!0,this.$emit("error",e)},onLoadHandler(e){this.loading=!1,this.isError=!1,this.$emit("load",e),this.removeBgColor()},removeBgColor(){}}},[["render",function(e,t,n,o,i,r){const a=xm,s=DS(Ao("up-icon"),LS),l=Qg,c=DS(Ao("u-transition"),ok);return Sr(),Ir(c,{mode:"fade",show:i.show,style:ze(r.transStyle),duration:e.fade?1e3:0},{default:bo(()=>[Lr(l,{class:"u-image box-border",onClick:r.onClick,style:ze([r.wrapStyle,i.backgroundStyle])},{default:bo(()=>[i.isError?zr("",!0):(Sr(),Ir(a,{key:0,src:e.src,mode:e.mode,onError:r.onErrorHandler,onLoad:r.onLoadHandler,"show-menu-by-longpress":e.showMenuByLongpress,"lazy-load":e.lazyLoad,class:"u-image__image",style:ze({width:r.addUnit(e.width),height:r.addUnit(e.height),borderRadius:"circle"==e.shape?"10000px":r.addUnit(e.radius)})},null,8,["src","mode","onError","onLoad","show-menu-by-longpress","lazy-load","style"])),e.showLoading&&i.loading?(Sr(),Ir(l,{key:1,class:"u-image__loading",style:ze({borderRadius:"circle"==e.shape?"50%":r.addUnit(e.radius),backgroundColor:this.bgColor,width:r.addUnit(e.width),height:r.addUnit(e.height)})},{default:bo(()=>[Ti(e.$slots,"loading",{},()=>[Lr(s,{name:e.loadingIcon},null,8,["name"])],!0)]),_:3},8,["style"])):zr("",!0),e.showError&&i.isError&&!i.loading?(Sr(),Ir(l,{key:2,class:"u-image__error",style:ze({borderRadius:"circle"==e.shape?"50%":r.addUnit(e.radius),backgroundColor:this.bgColor,width:r.addUnit(e.width),height:r.addUnit(e.height)})},{default:bo(()=>[Ti(e.$slots,"error",{},()=>[Lr(s,{name:e.errorIcon},null,8,["name"])],!0)]),_:3},8,["style"])):zr("",!0)]),_:3},8,["onClick","style"])]),_:3},8,["show","style","duration"])}],["__scopeId","data-v-fb00dbba"]]),nI=Object.freeze(Object.defineProperty({__proto__:null,default:tI},Symbol.toStringTag,{value:"Module"})),oI={props:{mode:{type:String,default:()=>CS.numberKeyboard.value},dotDisabled:{type:Boolean,default:()=>CS.numberKeyboard.dotDisabled},random:{type:Boolean,default:()=>CS.numberKeyboard.random}}};const iI=MS({name:"u-number-keyboard",mixins:[IS,PS,oI],data:()=>({backspace:"backspace",dot:".",timer:null,cardX:"X"}),computed:{numList(){return this.dotDisabled&&"number"==this.mode?this.random?eS([1,2,3,4,5,6,7,8,9,0]):[1,2,3,4,5,6,7,8,9,0]:this.dotDisabled||"number"!=this.mode?"card"==this.mode?this.random?eS([1,2,3,4,5,6,7,8,9,this.cardX,0]):[1,2,3,4,5,6,7,8,9,this.cardX,0]:void 0:this.random?eS([1,2,3,4,5,6,7,8,9,this.dot,0]):[1,2,3,4,5,6,7,8,9,this.dot,0]},itemStyle(){return e=>{let t={};return"number"==this.mode&&this.dotDisabled&&9==e&&(t.width="464rpx"),t}},btnBgGray(){return e=>!this.random&&9==e&&("number"!=this.mode||"number"==this.mode&&!this.dotDisabled)}},created(){},emits:["backspace","change"],methods:{backspaceClick(){this.$emit("backspace"),clearInterval(this.timer),this.timer=null,this.timer=setInterval(()=>{this.$emit("backspace")},250)},clearTimer(){clearInterval(this.timer),this.timer=null},keyboardClick(e){this.dotDisabled||e==this.dot||e==this.cardX||(e=Number(e)),this.$emit("change",e)}}},[["render",function(e,t,n,o,i,r){const a=Hg,s=Qg,l=DS(Ao("up-icon"),LS);return Sr(),Ir(s,{class:"u-keyboard",onTouchmove:vs(e.noop,["stop","prevent"])},{default:bo(()=>[(Sr(!0),Tr(yr,null,Ai(r.numList,(e,t)=>(Sr(),Ir(s,{class:"u-keyboard__button-wrapper",key:t},{default:bo(()=>[Lr(s,{class:"u-keyboard__button-wrapper__button",style:ze([r.itemStyle(t)]),onClick:t=>r.keyboardClick(e),"hover-class":"u-hover-class","hover-stay-time":200},{default:bo(()=>[Lr(a,{class:"u-keyboard__button-wrapper__button__text"},{default:bo(()=>[Dr(K(e),1)]),_:2},1024)]),_:2},1032,["style","onClick"])]),_:2},1024))),128)),Lr(s,{class:"u-keyboard__button-wrapper"},{default:bo(()=>[Lr(s,{class:"u-keyboard__button-wrapper__button u-keyboard__button-wrapper__button--gray","hover-class":"u-hover-class","hover-stay-time":200,onTouchstart:vs(r.backspaceClick,["stop"]),onTouchend:r.clearTimer},{default:bo(()=>[Lr(l,{name:"backspace",color:"#303133",size:"28"})]),_:1},8,["onTouchstart","onTouchend"])]),_:1})]),_:1},8,["onTouchmove"])}],["__scopeId","data-v-dca35360"]]),rI=Object.freeze(Object.defineProperty({__proto__:null,default:iI},Symbol.toStringTag,{value:"Module"})),aI={props:{mode:{type:String,default:()=>CS.keyboard.mode},dotDisabled:{type:Boolean,default:()=>CS.keyboard.dotDisabled},tooltip:{type:Boolean,default:()=>CS.keyboard.tooltip},showTips:{type:Boolean,default:()=>CS.keyboard.showTips},tips:{type:String,default:()=>CS.keyboard.tips},showCancel:{type:Boolean,default:()=>CS.keyboard.showCancel},showConfirm:{type:Boolean,default:()=>CS.keyboard.showConfirm},random:{type:Boolean,default:()=>CS.keyboard.random},safeAreaInsetBottom:{type:Boolean,default:()=>CS.keyboard.safeAreaInsetBottom},closeOnClickOverlay:{type:Boolean,default:()=>CS.keyboard.closeOnClickOverlay},show:{type:Boolean,default:()=>CS.keyboard.show},overlay:{type:Boolean,default:()=>CS.keyboard.overlay},zIndex:{type:[String,Number],default:()=>CS.keyboard.zIndex},cancelText:{type:String,default:()=>CS.keyboard.cancelText},confirmText:{type:String,default:()=>CS.keyboard.confirmText},autoChange:{type:Boolean,default:()=>CS.keyboard.autoChange}}};const sI=MS({name:"u-keyboard",data:()=>({}),mixins:[IS,PS,aI],emits:["change","close","confirm","cancel","backspace"],methods:{change(e){this.$emit("change",e)},popupClose(){this.$emit("close")},onConfirm(){this.$emit("confirm")},onCancel(){this.$emit("cancel")},backspace(){this.$emit("backspace")}}},[["render",function(e,t,n,o,i,r){const a=Hg,s=Qg,l=DS(Ao("u-number-keyboard"),iI),c=DS(Ao("u-car-keyboard"),hC),u=DS(Ao("u-popup"),pk);return Sr(),Ir(u,{overlay:e.overlay,closeOnClickOverlay:e.closeOnClickOverlay,mode:"bottom",popup:!1,show:e.show,safeAreaInsetBottom:e.safeAreaInsetBottom,onClose:r.popupClose,zIndex:e.zIndex,customStyle:{backgroundColor:"rgb(214, 218, 220)"}},{default:bo(()=>[Lr(s,{class:"u-keyboard"},{default:bo(()=>[Ti(e.$slots,"default",{},void 0,!0),e.tooltip?(Sr(),Ir(s,{key:0,class:"u-keyboard__tooltip"},{default:bo(()=>[Lr(s,{"hover-class":"u-hover-class","hover-stay-time":100},{default:bo(()=>[e.showCancel?(Sr(),Ir(a,{key:0,class:"u-keyboard__tooltip__item u-keyboard__tooltip__cancel",onClick:r.onCancel},{default:bo(()=>[Dr(K(e.showCancel&&e.cancelText),1)]),_:1},8,["onClick"])):zr("",!0)]),_:1}),Lr(s,null,{default:bo(()=>[e.showTips?(Sr(),Ir(a,{key:0,class:"u-keyboard__tooltip__item u-keyboard__tooltip__tips"},{default:bo(()=>[Dr(K(e.tips?e.tips:"number"==e.mode?"数字键盘":"card"==e.mode?"身份证键盘":"车牌号键盘"),1)]),_:1})):zr("",!0)]),_:1}),Lr(s,{"hover-class":"u-hover-class","hover-stay-time":100},{default:bo(()=>[e.showConfirm?(Sr(),Ir(a,{key:0,onClick:r.onConfirm,class:"u-keyboard__tooltip__item u-keyboard__tooltip__submit","hover-class":"u-hover-class"},{default:bo(()=>[Dr(K(e.showConfirm&&e.confirmText),1)]),_:1},8,["onClick"])):zr("",!0)]),_:1})]),_:1})):zr("",!0),"number"==e.mode||"card"==e.mode?(Sr(),Ir(l,{key:1,random:e.random,onBackspace:r.backspace,onChange:r.change,mode:e.mode,dotDisabled:e.dotDisabled},null,8,["random","onBackspace","onChange","mode","dotDisabled"])):(Sr(),Ir(c,{key:2,random:e.random,autoChange:e.autoChange,onBackspace:r.backspace,onChange:r.change},null,8,["random","autoChange","onBackspace","onChange"]))]),_:3})]),_:3},8,["overlay","closeOnClickOverlay","show","safeAreaInsetBottom","onClose","zIndex","customStyle"])}],["__scopeId","data-v-450e1769"]]),lI=Object.freeze(Object.defineProperty({__proto__:null,default:sI},Symbol.toStringTag,{value:"Module"}));const cI=MS({name:"u-lazy-load",props:{index:{type:[Number,String]},image:{type:String,default:""},imgMode:{type:String,default:"widthFix"},loadingImg:{type:String,default:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAGQCAMAAAC3Ycb+AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6OUM0QjNBQjkyQUQ2MTFFQTlCNUQ4RTIzNDE5RUIxNjciIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6OUM0QjNBQkEyQUQ2MTFFQTlCNUQ4RTIzNDE5RUIxNjciPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo5QzRCM0FCNzJBRDYxMUVBOUI1RDhFMjM0MTlFQjE2NyIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo5QzRCM0FCODJBRDYxMUVBOUI1RDhFMjM0MTlFQjE2NyIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PtRHfPcAAAAzUExURZWVldfX18PDw62trZubm9zc3Li4uKGhoebm5tLS0uHh4c3Nzaenp729vcjIyLKysuvr6141L40AAAcXSURBVHja7NzZlqpGAEBR5lG0//9rIw7IJKJi4or7PGTdtN10wr5SVAEGf/qqArsAiIAAERAgAgJEQIAIiIAAERAgAgJEQIAIiIAAERAgAgJEQIAIiIAAERAgAgJEQIAIiIAAERAgAgJEQIAIiIAAERAgAgJEQIAIiIAAERAgAgJEQIAIiIAAERAgAgJEQIAIiIAAERAgAgJEQIAIiIAAERAgAgJEQIAICBABERAgAgJEQIAICBABERAgAgJEQIAICBABERAgAgJEQIAICBABERAgAgJEQIAICBABERAgAgJEQIAICBABERAgAgJEQIAICBABERAgAgJEQIAICBABERAgAgJEQIAICBABERAg+nmQFMi5Jis+sIniED23jSzIgLTtg2D//iYme/8QBM/9lQ+CAEhbNLM3N9hEHAThX7GPCiBfAxK1b51kD+R7QMLjXg7iCsgWIPUh7pfVozG791oeBPngm48G583uW5GkBvI+SBaM2xXDn1oqum423bX/mgF5FySc2cv93Voug9TdZotsggnkBZB2NzbhrSY5HnoG07jei8dvzsJB/c3W60SALILE46+WCztsbhPR7R2VJq0ukEcT49nyy8QhaKcRa3fYHZD4+ufqOJAcgDz8/59vtw1I3QP5K6JsOG0vm3hce4I8LQp/BaRZGJC3AAn7IKOKXbC+7EdA5vdmmVwOLksgRThqOqiH4XEGsht+peoPUE8U/jJIO5OLH4GEwUslV5G0PTBG5Uiw/Y2jyigO3l9HAHKv9PYb82LloH74dZBoBUgar+l48NsNvtD0fkez9iwrAvIYZDRCl+Xs149Hm/KZmQ+QjUCiO1ei4ru7EsgnQYrkznlQb7thCuRfAzlOAPN72427P4VA/i2Q/DKT/Ls/VR8fvIBsDZIuz7TPF6TCbnk4GJkB2RokejTjuE7/unlgCuSTIO0Cy+Plp6vDfnQlBchy8QtjSHVd3EgmK1bHLm+H6+nXYbz2DuQRSPnqoL7vvq0u70on4zvxgCyWD3b9UyDVdW24PaWaiGTnFZJwPIQAebDpIKheBIm7n124ZthMJipAlkqHO+IZkP1tbfzOJark/A7MgKyvvl60fRqkvXfhuow+t9+q00+0/yyBrK8ZngOtBzldhw2X9tvpNGty0gvkmbPeJ0Cy/r09s/stbmfo0yMWkEdjevgKyOn2t2pxv7UXoibTdCDLje9/Ww1ymqzn87dbp92242ZmMRjI8hASvwKSLq4udqN6ksw8nxXN3tszD9L8Gkg+2mFrQYql5az4tvFj5xOx4VwnSdeBtGdyPwUytxK77pBVlNHdO7OK3rh/eTPUvdutT3fO52tuHMqD4N7llv8pyOQQ//w19YVDfX27+Sfuby9/6nau4pdA8vEdOZuChEH/quHt0Jg+IRJ/5+PrHwKZXfjbDiS73Zo7mu5UkzX7uTsXe0e/7nC3ePf1O69+BUg2XDfZCqSqOu7rGVf8cHBe8zhC2b61dtUHXv0OkGo6ZL4JkpbRYXdUaFevivx2M/1GIOctNh949TtAoumQ+TpIHMX54CJu+8BDd8FkE5BqcZh/59XvAClmTvKfB0nDqIlHo3T70SftyW1eX9dXtgQJqs1f/Q6QaOa/7wmQKtxH8eiGoCRuovODIO3VxOMmruZbHrLyD7z6DSDtGyT7ew1kf9hNn07c986JTovzzem0Id9wUG+Vk/IDr34DSNR7huZJkMFT6vEhqrPx/j5cnlZML8N6/PAzh9Y99Flm5Yde/c9BquDOkvkKkMP58dA4qi9vivE8JOvGz/j8FokfPpr288+pH2ZPOZrLmeGD+7KOh6dqYWJ48ki7yUg0tz0go/fv/LLddfV3sgOLJyaGPY/zrSlh1a36Arkzoue9CyG35ze6E6/dzO2Ga0EGHqdRJIkfn9/8OEjTW8Vq91ZWh39FeehWA7Nu9ft8CpUEk1WWOyDF0OPyEU2Pnzf/bZC0P6IPzmAvu7KauQBVrgKpJ0tG2arHzX8e5Pb3PezNs/PrX+3JMyCLn9XXf37tPFHvt09WfCDDjx+yyn1/p1V11j7GnB/q3leLuVva79S/tzed+db08YpF4uOZtmz/9oXWMq6BCAgQAQEiIEAERECACAgQAQEiIEAERECACAgQAQEiIEAERECACAgQAQEiIEAERECACAgQAQEiIEAERECACAgQAQEiIEAERECACAgQAQEiIEAERECACAgQAQEiIEAERECACAgQAQEiIEAERECACAgQAQEiIEAEBIiACAgQAQEiIEAEBIiACAgQAQEiIEAEBIiACAgQAQEiIEAEBIiACAgQAQEiIEAEBIiACAgQAQEiIEAEBIiACAgQAQEiIEAEBIiACAgQAQEiIEAEBIiACAgQAQEiIEAEBIiACAgQAQEiIEAEBIiAALELvqt/BBgACqVeUBXxcCkAAAAASUVORK5CYII="},errorImg:{type:String,default:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAGQCAMAAAC3Ycb+AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6ODdDMjhENDYyQUQ2MTFFQTlDQ0VBODgxQjFFOEEyMEMiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6ODdDMjhENDcyQUQ2MTFFQTlDQ0VBODgxQjFFOEEyMEMiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo4N0MyOEQ0NDJBRDYxMUVBOUNDRUE4ODFCMUU4QTIwQyIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo4N0MyOEQ0NTJBRDYxMUVBOUNDRUE4ODFCMUU4QTIwQyIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PhLwhikAAAAzUExURZWVldfX162trcPDw5ubm7i4uNzc3Obm5s3NzaGhoeHh4cjIyKenp9LS0r29vbKysuvr67sDMEkAAAlpSURBVHja7NzpYqMgAIVRUVHc8/5PO66R1WAbOzX97q+ZtDEpR0AWTR7kVyWhCAAhgABCAAGEAAIIAQQQAggBBBACCCAEEEAIIIAQQAgggBBAACGAAEIAAYQAQgABhAACCAEEEAIIIAQQAgggBBBACCCAEEAAIYAQQAAhgABCAAGEAAIIAYQAAggBBBACCCAEEEAIIAQQQAgggBBAACGAAEIAIYAAQgABhAACCAEEEAIIAQQQAgggBBBACCCAEEAAIYAQQAAhgABCAAGEAAIIAYQAAggBBBACCCAEEEAIIAQQQAgggBBAACGAAEIAIYAAQgABhAACCAEEEAIIAQQQAgggBBBACCCAEEAIIIAQQAAhgABCAAGEAEIAAYQAAggBBBACCCAEEAIIIAQQQAgggBBAACGAEEAAIYAAsqeX5QWHKIcs/Ptl03lfL4zDFPWfBGmSpPn+IZzSH5KkCL5B+n+oklwz6Iz//R2QzFOabzhEmiRirAmZt/bl0w/dpMbLqeeo4wEdpC7zR5WAPKziHKtO7ql+ReKvIa9BxgNaL5ZtEkpeAGIVp5jKJa09xVo9vgSSzQcszdYvmOqjQNSQ6pHK6rO1n1Xj32788miwHLaZz1Tl9i/yayDlYJ/60/+lp8GSY7OY1B8E4p55bWmfquFk22GLuUUxi78cX+m+BjL2GLkhMrV+/muS6Sfic0CEp5T1Yu2OQdTzsKV0MJV73KVjroyTffxfuv5Tf3fd6iLT9wz8YdVHgUzF2Is9/Xhi5sYJqP1w/GUpjOiHVbaI0w2L+pg3GZzvtokcgHxWDXHaiy78l3sPke01qphamT5c+dqyeAGSumdL/mkggauTam0e3L/mPEiqtzKDbl0Z1Wn8xOa4ySo8X/7TQIJnY/seEKWf12UmC72CKP9xYjr19RPT7NNA+oMO+R0gwmlotAry+C6I0f59ch8yXVQOr0BKYcXt1IUYRyCt+Ur9HGsrQKI79WY9sY9ARPKlzFOFdb41ioD8b5Bp+mqeeRKAxINkESBFGpOpKhgv9OuYpH8A8l4Qa3qp60Kl2/k+rG2sWafuuyCBafb2j4JkgZUob3nWcmicpkxEgmTLLGejTxnWSWCi8lPmsk6DlIHFJv24ojiYyYoGacwL8zXTLEAVaDI/Ybb3NIgKDSv2oXpmHkvNs+PTpMASEdlk7fOZeRk37fwJ6yGnQarQsGIfqqcvx43rTOXY6jf7uKXdRzdLDRPbjIrx1cIj3Kr4KyBFezzgUGuR5893qkOQ19fR2uVBaU+r16LphJNOiatK7PeBZK/Kb+tUn71rcQjSvARpghfH/yG/D2RetTuI3N5QrMWdP46brP7FmKZ//CGQ9At9SL01DLkzY/Vs8Z97fQZ7gelw7jHqCz+/Wile5J4g3Vc79eb5a6oLSue+Ve83gaSv2jp5PxCzjzwFUm9zw9MllSMil1kS4d2E9SaQ1xNo9wMxx0+nQNLnew/WDHvveMAHYm08mofl3TFI/8pD3Q6kMAv6DIi2jTCwRJUvNdDYrrJum9oHhusCbWALonwxBRk1vXMnEGWuT5wAmfYuVGUYpJ7fUZujCN92hvzwWlrFgxSfANKb10DxIMbShnfrynyZZV30imA7P43ArXXHbvBVkTCIuGy25AdBrHmNeBCpL214QdLp9LZarG3IMWrmW0ehtuO7F2PS09UcgqS3B7FKPhpknrStD0HGF/vQRne37LwLG8EbHT4WxN7/Fg0yD9Yr/3br4nnstA+0Il6QxzdBmg8A6a2/IRbkcK9h/uzV8zywF/oSkOyageCPglRWgcWClHnEzs9q/t/SENVXgFijlsq3VtXdCsRp4qObrLLLgjuzSq3fX89ZZW6AfxNIzF6X9FYgThN/fk093KkvHX/hbWd+DqS/FUhlf+G3gohEXzVs3g9iDluWoaW8fL73QhB34u+tIHIf19nLuF4Q98a09Eynnl56q+ePgEhnX+dbQOp6H5XnJ0ACd8dFgkwf12nTOTcEqd2pom+CFF02TIPw6dKmrLS5qOtBpo8b5quUtrwrSGbuqPkeSJqllTFHO02NPxdMrm+y5LKdWyWXjw4vA5nGEtnjuyCFyHqNYvEolzmASm3zK1Eg5zr13lhqV1tlksnVw8Pkwgri7O07AVKLJkutRYw87bPlRpBpNXE8xGb+fhBlvEGrGPLqViu5sILIx9dAmqF1705sxF4M8+R8P5dOdQwi12fMnATpjJ2JSt/POIvU9wPJEs/jduJAjLvU0yFT0i64Yb1bsVi79dA4pEy3TzoHMq2O7Re4vXm5O9+l290NpE4CU+YRIMNye2iaqbVS2AUnn2fsekthYKReVNutVedA5juttyIXrT38mOds+ps9DWhwL7GWc61/DVKPzVN9UHDarf1icU98IOU8tm6L031Iq63t1tKzj3fe/FCpO4F0/i0Z2+yvA1KeGBjqj1qYx8/zoxpKZ1Yl367I1k+sfcft/QPy9csXy/32qX1qLZsrryG5BGQaRj0vc/b7N54XXq293TCLB5HO42Fy517obW19b+qjl3CHp0fdLJcWvmdy1etESi/uAdJrs1hTaUklHuW8qSDdC3UfXVR5cnD3rAFSSqtFb7z7eapErx7rC739jCXfbK3aWiipjXo8UbmxXPa7QQq9R289j2Gr88N7Ag5AlHPRKc37pNZv0CZtX1tVMG6rm8qW1/KlCgQvcMss933ybwXZz3dReW5yce4ByZtHFIhwT9kmjxg8BzbKDUe1PB9edBJqSN7/KM1LmqyuMZ5BpeTUw1aD/uDI0relPfSHa/Wn8Pxq1BNfxy/h3IdwOJqIKumb9CHvTqMefyY82RoQAgggBBBACCCAEEAAIYAQQAAhgABCAAGEAAIIAYQAAggBBBACCCAEEEAIIAQQQAgggBBAACGAAEIAIYAAQgABhAACCAEEEAIIAQQQAgggBBBACCCAEEAIIIAQQAAhgABCAAGEAEIAAYQAAggBBBACCCAEEAIIIAQQQAgggBBAACGAEEAAIYAAQgABhAACCAEEEAIIAQQQAgggBBBACCCAEEAIIIAQQAAhgABCAAGEAEIAAYQAAggBBBACCCAEEAIIIAQQQAgggBBAACGAEEAAIYAAQgABhAACCAGEAAIIAQQQAgggBBBACCAEEEAIIIAQQAAhgABCACGAAEIAAYQAAggBBBACCAEEEAIIIAQQQAggfyL/BBgA8PgLdH0TBtkAAAAASUVORK5CYII="},threshold:{type:[Number,String],default:100},duration:{type:[Number,String],default:500},effect:{type:String,default:"ease-in-out"},isEffect:{type:Boolean,default:!0},borderRadius:{type:[Number,String],default:0},height:{type:[Number,String],default:"200"}},data(){return{isShow:!1,opacity:1,time:this.duration,loadStatus:"",isError:!1,elIndex:qx()}},computed:{getThreshold(){let e=$x(Math.abs(this.threshold));return this.threshold<0?-e:e},imgHeight(){return Yx(this.height)}},created(){this.observer={}},watch:{isShow(e){this.isEffect&&(this.time=0,this.opacity=0,setTimeout(()=>{this.time=this.duration,this.opacity=1},30))},image(e){e?(this.init(),this.isError=!1):this.isError=!0}},emits:["click","load","error"],methods:{init(){this.isError=!1,this.loadStatus=""},clickImg(){0==this.isShow||this.isError,this.$emit("click",this.index)},imgLoaded(){""==this.loadStatus?this.loadStatus="lazyed":"lazyed"==this.loadStatus&&(this.loadStatus="loaded",this.$emit("load",this.index))},errorImgLoaded(){this.$emit("error",this.index)},loadError(){this.isError=!0},disconnectObserver(e){const t=this[e];t&&t.disconnect()}},beforeUnmount(){},mounted(){this.$nextTick(()=>{Fh("uOnReachBottom",()=>{this.isShow||(this.isShow=!0)})}),setTimeout(()=>{const e=wp(this);e.relativeToViewport({bottom:this.getThreshold}).observe(".u-lazy-item-"+this.elIndex,e=>{e.intersectionRatio>0&&(this.isShow=!0,this.image||this.loadError(),this.disconnectObserver("contentObserver"))}),this.contentObserver=e},30)}},[["render",function(e,t,n,o,i,r){const a=xm,s=Qg;return Sr(),Ir(s,{class:$e(["u-wrap","u-lazy-item-"+i.elIndex]),style:ze({opacity:Number(i.opacity),borderRadius:n.borderRadius+"rpx",transition:`opacity ${i.time/1e3}s ease-in-out`})},{default:bo(()=>[Lr(s,{class:$e("u-lazy-item-"+i.elIndex)},{default:bo(()=>[i.isError?(Sr(),Ir(a,{key:1,style:ze({borderRadius:n.borderRadius+"rpx",height:r.imgHeight}),class:"u-lazy-item error",src:n.errorImg,mode:n.imgMode,onLoad:r.errorImgLoaded,onClick:r.clickImg},null,8,["style","src","mode","onLoad","onClick"])):(Sr(),Ir(a,{key:0,style:ze({borderRadius:n.borderRadius+"rpx",height:r.imgHeight}),class:"u-lazy-item",src:i.isShow?n.image:n.loadingImg,mode:n.imgMode,onLoad:r.imgLoaded,onError:r.loadError,onClick:r.clickImg},null,8,["style","src","mode","onLoad","onError","onClick"]))]),_:1},8,["class"])]),_:1},8,["style","class"])}],["__scopeId","data-v-ef410ef7"]]),uI=Object.freeze(Object.defineProperty({__proto__:null,default:cI},Symbol.toStringTag,{value:"Module"})),dI={props:{activeColor:{type:String,default:()=>CS.lineProgress.activeColor},inactiveColor:{type:String,default:()=>CS.lineProgress.color},percentage:{type:[String,Number],default:()=>CS.lineProgress.inactiveColor},showText:{type:Boolean,default:()=>CS.lineProgress.showText},height:{type:[String,Number],default:()=>CS.lineProgress.height},fromRight:{type:Boolean,default:()=>CS.lineProgress.fromRight}}};const hI=MS({name:"u-line-progress",mixins:[IS,PS,dI],data:()=>({lineWidth:0}),watch:{percentage(e){this.resizeProgressWidth()}},computed:{progressStyle(){let e={};return e.width=this.lineWidth,e.backgroundColor=this.activeColor,e.height=Yx(this.height),this.fromRight?e.right=0:e.left=0,e},innserPercentage(){return Dx(0,100,this.percentage)}},mounted(){this.init()},methods:{addStyle:Gx,addUnit:Yx,init(){Fx(20).then(()=>{this.resizeProgressWidth()})},getProgressWidth(){return this.$uGetRect(".u-line-progress__background")},resizeProgressWidth(){this.getProgressWidth().then(e=>{const{width:t}=e;this.lineWidth=t*this.innserPercentage/100+"px"})}}},[["render",function(e,t,n,o,i,r){const a=Qg,s=Hg;return Sr(),Ir(a,{class:"u-line-progress",style:ze([r.addStyle(e.customStyle)])},{default:bo(()=>[Lr(a,{class:"u-line-progress__background",ref:"u-line-progress__background",style:ze([{backgroundColor:e.inactiveColor,height:r.addUnit(e.height)}])},null,8,["style"]),Lr(a,{class:"u-line-progress__line",style:ze([r.progressStyle])},{default:bo(()=>[Ti(e.$slots,"default",{},()=>[e.showText&&e.percentage>=10?(Sr(),Ir(s,{key:0,class:"u-line-progress__text"},{default:bo(()=>[Dr(K(r.innserPercentage+"%"),1)]),_:1})):zr("",!0)],!0)]),_:3},8,["style"])]),_:3},8,["style"])}],["__scopeId","data-v-d551b804"]]),pI=Object.freeze(Object.defineProperty({__proto__:null,default:hI},Symbol.toStringTag,{value:"Module"}));const fI=MS({name:"u-list-item",mixins:[IS,PS,{props:{anchor:{type:[String,Number],default:()=>CS.listItem.anchor}}}],data:()=>({rect:{},index:0,show:!0,sys:Vx()}),computed:{},inject:["uList"],watch:{"uList.innerScrollTop"(e){const t=this.uList.preLoadScreen,n=this.sys.windowHeight;e<=n*t?this.parent.updateOffsetFromChild(0):this.rect.top<=e-n*t&&this.parent.updateOffsetFromChild(this.rect.top)}},created(){this.parent={}},mounted(){this.init()},methods:{init(){this.updateParentData(),this.index=this.parent.children.indexOf(this),this.resize()},updateParentData(){this.getParentData("u-list")},resize(){this.queryRect(`u-list-item-${this.anchor}`).then(e=>{const t=this.parent.children[this.index-1];this.rect=e;const n=this.uList.preLoadScreen,o=this.sys.windowHeight;t&&(this.rect.top=t.rect.top+t.rect.height),e.top>=this.uList.innerScrollTop+(1+n)*o&&(this.show=!1)})},queryRect(e){return new Promise(t=>{this.$uGetRect(`.${e}`).then(e=>{t(e)})})}}},[["render",function(e,t,n,o,i,r){const a=Qg;return Sr(),Ir(a,{class:$e(["u-list-item",[`u-list-item-${e.anchor}`]]),ref:`u-list-item-${e.anchor}`,anchor:`u-list-item-${e.anchor}`},{default:bo(()=>[Ti(e.$slots,"default",{},void 0,!0)]),_:3},8,["anchor","class"])}],["__scopeId","data-v-20e08054"]]),mI=Object.freeze(Object.defineProperty({__proto__:null,default:fI},Symbol.toStringTag,{value:"Module"})),gI={props:{showScrollbar:{type:Boolean,default:()=>CS.list.showScrollbar},lowerThreshold:{type:[String,Number],default:()=>CS.list.lowerThreshold},upperThreshold:{type:[String,Number],default:()=>CS.list.upperThreshold},scrollTop:{type:[String,Number],default:()=>CS.list.scrollTop},offsetAccuracy:{type:[String,Number],default:()=>CS.list.offsetAccuracy},enableFlex:{type:Boolean,default:()=>CS.list.enableFlex},pagingEnabled:{type:Boolean,default:()=>CS.list.pagingEnabled},scrollable:{type:Boolean,default:()=>CS.list.scrollable},scrollIntoView:{type:String,default:()=>CS.list.scrollIntoView},scrollWithAnimation:{type:Boolean,default:()=>CS.list.scrollWithAnimation},enableBackToTop:{type:Boolean,default:()=>CS.list.enableBackToTop},height:{type:[String,Number],default:()=>CS.list.height},width:{type:[String,Number],default:()=>CS.list.width},preLoadScreen:{type:[String,Number],default:()=>CS.list.preLoadScreen},refresherEnabled:{type:Boolean,default:()=>!1},refresherThreshold:{type:Number,default:()=>45},refresherDefaultStyle:{type:String,default:()=>"black"},refresherBackground:{type:String,default:()=>"#FFF"},refresherTriggered:{type:Boolean,default:()=>!1}}};const yI=MS({name:"u-list",mixins:[IS,PS,gI],watch:{scrollIntoView(e){this.scrollIntoViewById(e)}},data:()=>({innerScrollTop:0,offset:0,sys:Vx()}),computed:{listStyle(){const e={};return 0!=this.width&&(e.width=Yx(this.width)),0!=this.height&&(e.height=Yx(this.height)),e.height||(e.height=Yx(this.sys.windowHeight,"px")),Kx(e,Gx(this.customStyle))}},provide(){return{uList:this}},created(){this.refs=[],this.children=[],this.anchors=[]},mounted(){},emits:["scroll","scrolltolower","scrolltoupper","refresherpulling","refresherrefresh","refresherrestore","refresherabort"],methods:{updateOffsetFromChild(e){this.offset=e},onScroll(e){let t=0;t=e.detail.scrollTop,this.innerScrollTop=t,this.$emit("scroll",t)},scrollIntoViewById(e){},scrolltolower(e){Fx(30).then(()=>{this.$emit("scrolltolower")})},scrolltoupper(e){Fx(30).then(()=>{this.$emit("scrolltoupper"),this.offset=0})},refresherpulling(e){this.$emit("refresherpulling",e)},refresherrefresh(e){this.$emit("refresherrefresh",e)},refresherrestore(e){this.$emit("refresherrestore",e)},refresherabort(e){this.$emit("refresherabort",e)}}},[["render",function(e,t,n,o,i,r){const a=Qg,s=Og;return Sr(),Ir(s,{class:"u-list","scroll-into-view":e.scrollIntoView,style:ze([r.listStyle]),"scroll-y":e.scrollable,"scroll-top":Number(e.scrollTop),"lower-threshold":Number(e.lowerThreshold),"upper-threshold":Number(e.upperThreshold),"show-scrollbar":e.showScrollbar,"enable-back-to-top":e.enableBackToTop,"scroll-with-animation":e.scrollWithAnimation,onScroll:r.onScroll,onScrolltolower:r.scrolltolower,onScrolltoupper:r.scrolltoupper,"refresher-enabled":e.refresherEnabled,"refresher-threshold":e.refresherThreshold,"refresher-default-style":e.refresherDefaultStyle,"refresher-background":e.refresherBackground,"refresher-triggered":e.refresherTriggered,onRefresherpulling:r.refresherpulling,onRefresherrefresh:r.refresherrefresh,onRefresherrestore:r.refresherrestore,onRefresherabort:r.refresherabort,"scroll-anchoring":!0},{default:bo(()=>[Lr(a,null,{default:bo(()=>[Ti(e.$slots,"default",{},void 0,!0)]),_:3})]),_:3},8,["scroll-into-view","style","scroll-y","scroll-top","lower-threshold","upper-threshold","show-scrollbar","enable-back-to-top","scroll-with-animation","onScroll","onScrolltolower","onScrolltoupper","refresher-enabled","refresher-threshold","refresher-default-style","refresher-background","refresher-triggered","onRefresherpulling","onRefresherrefresh","onRefresherrestore","onRefresherabort"])}],["__scopeId","data-v-19d38be7"]]),bI=Object.freeze(Object.defineProperty({__proto__:null,default:yI},Symbol.toStringTag,{value:"Module"})),vI={props:{loadingText:{type:[String,Number],default:()=>CS.loadingPage.loadingText},image:{type:String,default:()=>CS.loadingPage.image},loadingMode:{type:String,default:()=>CS.loadingPage.loadingMode},loading:{type:Boolean,default:()=>CS.loadingPage.loading},bgColor:{type:String,default:()=>CS.loadingPage.bgColor},color:{type:String,default:()=>CS.loadingPage.color},fontSize:{type:[String,Number],default:()=>CS.loadingPage.fontSize},iconSize:{type:[String,Number],default:()=>CS.loadingPage.fontSize},loadingColor:{type:String,default:()=>CS.loadingPage.loadingColor},zIndex:{type:[Number],default:()=>CS.loadingPage.zIndex}}};const _I=MS({name:"u-loading-page",mixins:[IS,PS,vI],data:()=>({}),methods:{addUnit:Yx}},[["render",function(e,t,n,o,i,r){const a=xm,s=DS(Ao("u-loading-icon"),XS),l=Qg,c=Hg,u=DS(Ao("u-transition"),ok);return Sr(),Ir(u,{show:e.loading,"custom-style":{position:"fixed",top:0,left:0,right:0,bottom:0,backgroundColor:e.bgColor,display:"flex",zIndex:e.zIndex,...e.customStyle}},{default:bo(()=>[Lr(l,{class:"u-loading-page"},{default:bo(()=>[Lr(l,{class:"u-loading-page__warpper"},{default:bo(()=>[Lr(l,{class:"u-loading-page__warpper__loading-icon"},{default:bo(()=>[e.image?(Sr(),Ir(a,{key:0,src:e.image,class:"u-loading-page__warpper__loading-icon__img",mode:"widthFit",style:ze({width:r.addUnit(e.iconSize),height:r.addUnit(e.iconSize)})},null,8,["src","style"])):(Sr(),Ir(s,{key:1,mode:e.loadingMode,size:r.addUnit(e.iconSize),color:e.loadingColor},null,8,["mode","size","color"]))]),_:1}),Ti(e.$slots,"default",{},()=>[Lr(c,{class:"u-loading-page__warpper__text",style:ze({fontSize:r.addUnit(e.fontSize),color:e.color})},{default:bo(()=>[Dr(K(e.loadingText),1)]),_:1},8,["style"])],!0)]),_:3})]),_:3})]),_:3},8,["show","custom-style"])}],["__scopeId","data-v-af8baba8"]]),wI=Object.freeze(Object.defineProperty({__proto__:null,default:_I},Symbol.toStringTag,{value:"Module"})),xI={props:{status:{type:String,default:()=>CS.loadmore.status},bgColor:{type:String,default:()=>CS.loadmore.bgColor},icon:{type:Boolean,default:()=>CS.loadmore.icon},fontSize:{type:[String,Number],default:()=>CS.loadmore.fontSize},iconSize:{type:[String,Number],default:()=>CS.loadmore.iconSize},color:{type:String,default:()=>CS.loadmore.color},loadingIcon:{type:String,default:()=>CS.loadmore.loadingIcon},loadmoreText:{type:String,default:()=>CS.loadmore.loadmoreText},loadingText:{type:String,default:()=>CS.loadmore.loadingText},nomoreText:{type:String,default:()=>CS.loadmore.nomoreText},isDot:{type:Boolean,default:()=>CS.loadmore.isDot},iconColor:{type:String,default:()=>CS.loadmore.iconColor},marginTop:{type:[String,Number],default:()=>CS.loadmore.marginTop},marginBottom:{type:[String,Number],default:()=>CS.loadmore.marginBottom},height:{type:[String,Number],default:()=>CS.loadmore.height},line:{type:Boolean,default:()=>CS.loadmore.line},lineColor:{type:String,default:()=>CS.loadmore.lineColor},dashed:{type:Boolean,default:()=>CS.loadmore.dashed}}};const SI=MS({name:"u-loadmore",mixins:[IS,PS,xI],data:()=>({dotText:"●"}),computed:{loadTextStyle(){return{color:this.color,fontSize:Yx(this.fontSize),lineHeight:Yx(this.fontSize),backgroundColor:this.bgColor}},showText(){let e="";return e="loadmore"==this.status?this.loadmoreText:"loading"==this.status?this.loadingText:"nomore"==this.status&&this.isDot?this.dotText:this.nomoreText,e}},emits:["loadmore"],methods:{addStyle:Gx,addUnit:Yx,loadMore(){"loadmore"==this.status&&this.$emit("loadmore")}}},[["render",function(e,t,n,o,i,r){const a=DS(Ao("u-line"),VS),s=DS(Ao("u-loading-icon"),XS),l=Qg,c=Hg;return Sr(),Ir(l,{class:"u-loadmore",style:ze([r.addStyle(e.customStyle),{backgroundColor:e.bgColor,marginBottom:r.addUnit(e.marginBottom),marginTop:r.addUnit(e.marginTop),height:r.addUnit(e.height)}])},{default:bo(()=>[e.line?(Sr(),Ir(a,{key:0,length:"140rpx",color:e.lineColor,hairline:!1,dashed:e.dashed},null,8,["color","dashed"])):zr("",!0),Lr(l,{class:$e(["loadmore"==e.status||"nomore"==e.status?"u-more":"","u-loadmore__content"])},{default:bo(()=>["loading"===e.status&&e.icon?(Sr(),Ir(l,{key:0,class:"u-loadmore__content__icon-wrap"},{default:bo(()=>[Lr(s,{color:e.iconColor,size:e.iconSize,mode:e.loadingIcon},null,8,["color","size","mode"])]),_:1})):zr("",!0),Lr(c,{class:$e(["u-line-1",["nomore"==e.status&&1==e.isDot?"u-loadmore__content__dot-text":"u-loadmore__content__text"]]),style:ze([r.loadTextStyle]),onClick:r.loadMore},{default:bo(()=>[Dr(K(r.showText),1)]),_:1},8,["style","class","onClick"])]),_:1},8,["class"]),e.line?(Sr(),Ir(a,{key:1,length:"140rpx",color:e.lineColor,hairline:!1,dashed:e.dashed},null,8,["color","dashed"])):zr("",!0)]),_:1},8,["style"])}],["__scopeId","data-v-4d53dbf5"]]),kI=Object.freeze(Object.defineProperty({__proto__:null,default:SI},Symbol.toStringTag,{value:"Module"}));var CI={abbr:!0,b:!0,big:!0,code:!0,del:!0,em:!0,i:!0,ins:!0,label:!0,q:!0,small:!0,span:!0,strong:!0,sub:!0,sup:!0};const AI={isInline:function(e,t){return CI[e]||-1!==(t||"").indexOf("display:inline")}},TI=e=>{e.$wxs||(e.$wxs=[]),e.$wxs.push("handler"),e.mixins||(e.mixins=[]),e.mixins.push({beforeCreate(){this.handler=AI}})},II={name:"node",options:{},data:()=>({ctrl:{}}),props:{name:String,attrs:{type:Object,default:()=>({})},childs:Array,opts:Array},components:{},mounted(){if(this.$nextTick(()=>{var e,t;for(this.root=null==this?void 0:this.$parent;this.root&&"up-parse"!==(null==(e=this.root)?void 0:e.$options.name);this.root=null==(t=this.root)?void 0:t.$parent);}),this.opts[0]){let e;for(e=this.childs.length;e--&&"img"!==this.childs[e].name;);-1!==e&&(this.observer=wp(this).relativeToViewport({top:500,bottom:500}),this.observer.observe("._img",e=>{e.intersectionRatio&&(this.$set(this.ctrl,"load",1),this.observer.disconnect())}))}},beforeDestroy(){this.observer&&this.observer.disconnect()},emits:["linktap","imgtap","play","ready","error"],methods:{play(e){const t=e.currentTarget.dataset.i,n=this.childs[t];if(this.root.$emit("play",{source:n.name,attrs:{...n.attrs,src:n.src[this.ctrl[t]||0]}}),this.root.pauseVideo){let t=!1;const n=e.target.id;for(let e=this.root._videos.length;e--;)this.root._videos[e].id===n?t=!0:this.root._videos[e].pause();if(!t){const e=Uh(n,this);e.id=n,this.root.playbackRate&&e.playbackRate(this.root.playbackRate),this.root._videos.push(e)}}},imgTap(e){const t=this.childs[e.currentTarget.dataset.i];t.a?this.linkTap(t.a):t.attrs.ignore||(t.attrs.src=t.attrs.src||t.attrs["data-src"],this.root.$emit("imgtap",t.attrs),this.root.previewImg&&vv({current:parseInt(t.attrs.i),urls:this.root.imgList}))},imgLongTap(e){},imgLoad(e){const t=e.currentTarget.dataset.i;(this.opts[1]&&!this.ctrl[t]||-1===this.ctrl[t])&&this.$set(this.ctrl,t,1),this.checkReady()},checkReady(){this.root&&!this.root.lazyLoad&&(this.root._unloadimgs-=1,this.root._unloadimgs||setTimeout(()=>{this.root.getRect().then(e=>{this.root.$emit("ready",e)}).catch(()=>{this.root.$emit("ready",{})})},350))},linkTap(e){const t=e.currentTarget?this.childs[e.currentTarget.dataset.i]:{},n=t.attrs||e,o=n.href;this.root.$emit("linktap",Object.assign({innerText:this.root.getText(t.children||[])},n)),o&&("#"===o[0]?this.root.navigateTo(o.substring(1)).catch(()=>{}):o.split("?")[0].includes("://")?this.root.copyLink&&window.open(o):Ov({url:o,fail(){Rv({url:o,fail(){}})}}))},mediaError(e){const t=e.currentTarget.dataset.i,n=this.childs[t];if("video"===n.name||"audio"===n.name){let e=(this.ctrl[t]||0)+1;if(e>n.src.length&&(e=0),e[(Sr(!0),Tr(yr,null,Ai(n.childs,(o,h)=>(Sr(),Tr(yr,{key:h},["img"===o.name&&!o.t&&(n.opts[1]&&!i.ctrl[h]||i.ctrl[h]<0)?(Sr(),Ir(a,{key:0,class:"_img",style:ze(o.attrs.style),src:i.ctrl[h]<0?n.opts[2]:n.opts[1],mode:"widthFix"},null,8,["style","src"])):zr("",!0),"img"===o.name?(Sr(),Tr("img",{key:1,id:o.attrs.id,class:$e("_img "+o.attrs.class),style:ze((-1===i.ctrl[h]?"display:none;":"")+o.attrs.style),src:o.attrs.src||(i.ctrl.load?o.attrs["data-src"]:""),"data-i":h,onLoad:t[0]||(t[0]=(...e)=>r.imgLoad&&r.imgLoad(...e)),onError:t[1]||(t[1]=(...e)=>r.mediaError&&r.mediaError(...e)),onClick:t[2]||(t[2]=vs((...e)=>r.imgTap&&r.imgTap(...e),["stop"])),onLongpress:t[3]||(t[3]=(...e)=>r.imgLongTap&&r.imgLongTap(...e))},null,46,["id","src","data-i"])):o.text?(Sr(),Ir(s,{key:2,decode:""},{default:bo(()=>[Dr(K(o.text),1)]),_:2},1024)):"br"===o.name?(Sr(),Ir(s,{key:3},{default:bo(()=>[Dr(K("\n"))]),_:1})):"a"===o.name?(Sr(),Ir(c,{key:4,id:o.attrs.id,class:$e((o.attrs.href?"_a ":"")+o.attrs.class),"hover-class":"_hover",style:ze("display:inline;"+o.attrs.style),"data-i":h,onClick:vs(r.linkTap,["stop"])},{default:bo(()=>[Lr(l,{name:"span",childs:o.children,opts:n.opts,style:{display:"inherit"}},null,8,["childs","opts"])]),_:2},1032,["id","class","style","data-i","onClick"])):"video"===o.name?(Sr(),Ir(u,{key:5,id:o.attrs.id,class:$e(o.attrs.class),style:ze(o.attrs.style),autoplay:o.attrs.autoplay,controls:o.attrs.controls,loop:o.attrs.loop,muted:o.attrs.muted,"object-fit":o.attrs["object-fit"],poster:o.attrs.poster,src:o.src[i.ctrl[h]||0],"data-i":h,onPlay:r.play,onError:r.mediaError},null,8,["id","class","style","autoplay","controls","loop","muted","object-fit","poster","src","data-i","onPlay","onError"])):"iframe"===o.name?(Sr(),Tr("iframe",{key:6,style:ze(o.attrs.style),allowfullscreen:o.attrs.allowfullscreen,frameborder:o.attrs.frameborder,src:o.attrs.src},null,12,["allowfullscreen","frameborder","src"])):"embed"===o.name?(Sr(),Tr("embed",{key:7,style:ze(o.attrs.style),src:o.attrs.src},null,12,["src"])):"table"===o.name&&o.c||"li"===o.name?(Sr(),Ir(c,{key:8,id:o.attrs.id,class:$e("_"+o.name+" "+o.attrs.class),style:ze(o.attrs.style)},{default:bo(()=>["li"===o.name?(Sr(),Ir(l,{key:0,childs:o.children,opts:n.opts},null,8,["childs","opts"])):(Sr(!0),Tr(yr,{key:1},Ai(o.children,(e,t)=>(Sr(),Ir(c,{key:t,class:$e("_"+e.name+" "+e.attrs.class),style:ze(e.attrs.style)},{default:bo(()=>["td"===e.name||"th"===e.name?(Sr(),Ir(l,{key:0,childs:e.children,opts:n.opts},null,8,["childs","opts"])):(Sr(!0),Tr(yr,{key:1},Ai(e.children,(e,t)=>(Sr(),Tr(yr,{key:t},["td"===e.name||"th"===e.name?(Sr(),Ir(c,{key:0,class:$e("_"+e.name+" "+e.attrs.class),style:ze(e.attrs.style)},{default:bo(()=>[Lr(l,{childs:e.children,opts:n.opts},null,8,["childs","opts"])]),_:2},1032,["class","style"])):(Sr(),Ir(c,{key:1,class:$e("_"+e.name+" "+e.attrs.class),style:ze(e.attrs.style)},{default:bo(()=>[(Sr(!0),Tr(yr,null,Ai(e.children,(e,t)=>(Sr(),Ir(c,{key:t,class:$e("_"+e.name+" "+e.attrs.class),style:ze(e.attrs.style)},{default:bo(()=>[Lr(l,{childs:e.children,opts:n.opts},null,8,["childs","opts"])]),_:2},1032,["class","style"]))),128))]),_:2},1032,["class","style"]))],64))),128))]),_:2},1032,["class","style"]))),128))]),_:2},1032,["id","class","style"])):o.c||e.handler.isInline(o.name,o.attrs.style)?2===o.c?(Sr(),Ir(c,{key:10,id:o.attrs.id,class:$e("_block _"+o.name+" "+o.attrs.class),style:ze(o.f+";"+o.attrs.style)},{default:bo(()=>[(Sr(!0),Tr(yr,null,Ai(o.children,(e,t)=>(Sr(),Ir(l,{key:t,style:ze(e.f),name:e.name,attrs:e.attrs,childs:e.children,opts:n.opts},null,8,["style","name","attrs","childs","opts"]))),128))]),_:2},1032,["id","class","style"])):(Sr(),Ir(l,{key:11,style:ze(o.f),name:o.name,attrs:o.attrs,childs:o.children,opts:n.opts},null,8,["style","name","attrs","childs","opts"])):(Sr(),Ir(d,{key:9,id:o.attrs.id,style:ze(o.f),"user-select":n.opts[4],nodes:[o]},null,8,["id","style","user-select","nodes"]))],64))),128))]),_:1},8,["id","class","style"])}],["__scopeId","data-v-719a8991"]]),PI={trustTags:RI("a,abbr,ad,audio,b,blockquote,br,code,col,colgroup,dd,del,dl,dt,div,em,fieldset,h1,h2,h3,h4,h5,h6,hr,i,img,ins,label,legend,li,ol,p,q,ruby,rt,source,span,strong,sub,sup,table,tbody,td,tfoot,th,thead,tr,title,ul,video"),blockTags:RI("address,article,aside,body,caption,center,cite,footer,header,html,nav,pre,section"),ignoreTags:RI("area,base,canvas,embed,frame,head,iframe,input,link,map,meta,param,rp,script,source,style,textarea,title,track,wbr"),voidTags:RI("area,base,br,col,circle,ellipse,embed,frame,hr,img,input,line,link,meta,param,path,polygon,rect,source,track,use,wbr"),entities:{lt:"<",gt:">",quot:'"',apos:"'",ensp:" ",emsp:" ",nbsp:" ",semi:";",ndash:"–",mdash:"—",middot:"·",lsquo:"‘",rsquo:"’",ldquo:"“",rdquo:"”",bull:"•",hellip:"…",larr:"←",uarr:"↑",rarr:"→",darr:"↓"},tagStyle:{address:"font-style:italic",big:"display:inline;font-size:1.2em",caption:"display:table-caption;text-align:center",center:"text-align:center",cite:"font-style:italic",dd:"margin-left:40px",mark:"background-color:yellow",pre:"font-family:monospace;white-space:pre",s:"text-decoration:line-through",small:"display:inline;font-size:0.8em",strike:"text-decoration:line-through",u:"text-decoration:underline"},svgDict:{animatetransform:"animateTransform",lineargradient:"linearGradient",viewbox:"viewBox",attributename:"attributeName",repeatcount:"repeatCount",repeatdur:"repeatDur",foreignobject:"foreignObject"}},BI={};let OI;const NI=Rb();OI=NI.windowWidth;const MI=RI(" ,\r,\n,\t,\f");let LI=0;function RI(e){const t=Object.create(null),n=e.split(",");for(let o=n.length;o--;)t[n[o]]=!0;return t}function DI(e,t){let n=e.indexOf("&");for(;-1!==n;){const o=e.indexOf(";",n+3);let i;if(-1===o)break;"#"===e[n+1]?(i=parseInt(("x"===e[n+2]?"0":"")+e.substring(n+2,o)),isNaN(i)||(e=e.substr(0,n)+String.fromCharCode(i)+e.substr(o+1))):(i=e.substring(n+1,o),(PI.entities[i]||"amp"===i&&t)&&(e=e.substr(0,n)+(PI.entities[i]||"&")+e.substr(o+1))),n=e.indexOf("&",n+1)}return e}function zI(e){let t=e.length-1;for(let n=t;n>=-1;n--)(-1===n||e[n].c||!e[n].name||"div"!==e[n].name&&"p"!==e[n].name&&"h"!==e[n].name[0]||(e[n].attrs.style||"").includes("inline"))&&(t-n>=5&&e.splice(n+1,t-n,{name:"div",attrs:{},children:e.slice(n+1,t+1)}),t=n-1)}function $I(e){this.options=e||{},this.tagStyle=Object.assign({},PI.tagStyle,this.options.tagStyle),this.imgList=e.imgList||[],this.imgList._unloadimgs=0,this.plugins=e.plugins||[],this.attrs=Object.create(null),this.stack=[],this.nodes=[],this.pre=(this.options.containerStyle||"").includes("white-space")&&this.options.containerStyle.includes("pre")?2:0}function FI(e){this.handler=e}PI.ignoreTags.iframe=void 0,PI.trustTags.iframe=!0,PI.ignoreTags.embed=void 0,PI.trustTags.embed=!0,$I.prototype.parse=function(e){for(let t=this.plugins.length;t--;)this.plugins[t].onUpdate&&(e=this.plugins[t].onUpdate(e,PI)||e);for(new FI(this).parse(e);this.stack.length;)this.popNode();return this.nodes.length>50&&zI(this.nodes),this.nodes},$I.prototype.expose=function(){for(let e=this.stack.length;e--;){const t=this.stack[e];if(t.c||"a"===t.name||"video"===t.name||"audio"===t.name)return;t.c=1}},$I.prototype.hook=function(e){for(let t=this.plugins.length;t--;)if(this.plugins[t].onParse&&!1===this.plugins[t].onParse(e,this))return!1;return!0},$I.prototype.getUrl=function(e){const t=this.options.domain;return"/"===e[0]?"/"===e[1]?e=(t?t.split("://")[0]:"http")+":"+e:t&&(e=t+e):e.includes("data:")||e.includes("://")||t&&(e=t+"/"+e),e},$I.prototype.parseStyle=function(e){const t=e.attrs,n=(this.tagStyle[e.name]||"").split(";").concat((t.style||"").split(";")),o={};let i="";t.id&&!this.xml&&(this.options.useAnchor?this.expose():"img"!==e.name&&"a"!==e.name&&"video"!==e.name&&"audio"!==e.name&&(t.id=void 0)),t.width&&(o.width=parseFloat(t.width)+(t.width.includes("%")?"%":"px"),t.width=void 0),t.height&&(o.height=parseFloat(t.height)+(t.height.includes("%")?"%":"px"),t.height=void 0);for(let r=0,a=n.length;r0||a.includes("safe"))i+=`;${t}:${a}`;else if(!o[t]||a.includes("import")||!o[t].includes("import")){if(a.includes("url")){let e=a.indexOf("(")+1;if(e){for(;'"'===a[e]||"'"===a[e]||MI[a[e]];)e++;a=a.substr(0,e)+this.getUrl(a.substr(e))}}else a.includes("rpx")&&(a=a.replace(/[0-9.]+\s*rpx/g,e=>parseFloat(e)*OI/750+"px"));o[t]=a}}return e.attrs.style=i,o},$I.prototype.onTagName=function(e){this.tagName=this.xml?e:e.toLowerCase(),"svg"===this.tagName&&(this.xml=(this.xml||0)+1,PI.ignoreTags.style=void 0)},$I.prototype.onAttrName=function(e){(e=this.xml?e:e.toLowerCase()).includes("?")||e.includes(";")?this.attrName=void 0:"data-"===e.substr(0,5)?"data-src"!==e||this.attrs.src?"img"===this.tagName||"a"===this.tagName?this.attrName=e:this.attrName=void 0:this.attrName="src":(this.attrName=e,this.attrs[e]="T")},$I.prototype.onAttrVal=function(e){const t=this.attrName||"";"style"===t||"href"===t?this.attrs[t]=DI(e,!0):t.includes("src")?this.attrs[t]=this.getUrl(DI(e,!0)):t&&(this.attrs[t]=e)},$I.prototype.onOpenTag=function(e){const t=Object.create(null);t.name=this.tagName,t.attrs=this.attrs,this.options.nodes.length&&(t.type="node"),this.attrs=Object.create(null);const n=t.attrs,o=this.stack[this.stack.length-1],i=o?o.children:this.nodes,r=this.xml?e:PI.voidTags[t.name];if(BI[t.name]&&(n.class=BI[t.name]+(n.class?" "+n.class:"")),"embed"===t.name&&this.expose(),"video"!==t.name&&"audio"!==t.name||("video"!==t.name||n.id||(n.id="v"+LI++),n.controls||n.autoplay||(n.controls="T"),t.src=[],n.src&&(t.src.push(n.src),n.src=void 0),this.expose()),r){if(!this.hook(t)||PI.ignoreTags[t.name])return void("base"!==t.name||this.options.domain?"source"===t.name&&o&&("video"===o.name||"audio"===o.name)&&n.src&&o.src.push(n.src):this.options.domain=n.href);const e=this.parseStyle(t);if("img"===t.name){if(n.src&&(n.src.includes("webp")&&(t.webp="T"),n.src.includes("data:")&&"all"!==this.options.previewImg&&!n["original-src"]&&(n.ignore="T"),!n.ignore||t.webp||n.src.includes("cloud://"))){for(let i=this.stack.length;i--;){const o=this.stack[i];"a"===o.name&&(t.a=o.attrs),"table"!==o.name||t.webp||n.src.includes("cloud://")||(!e.display||e.display.includes("inline")?t.t="inline-block":t.t=e.display,e.display=void 0),o.c=1}n.i=this.imgList.length.toString();let o=n["original-src"]||n.src;this.imgList.push(o),t.t||(this.imgList._unloadimgs+=1),this.options.lazyLoad&&(n["data-src"]=n.src,n.src=void 0)}"inline"===e.display&&(e.display=""),n.ignore&&(e["max-width"]=e["max-width"]||"100%",n.style+=";-webkit-touch-callout:none"),parseInt(e.width)>OI&&(e.height=void 0),isNaN(parseInt(e.width))||(t.w="T"),!isNaN(parseInt(e.height))&&(!e.height.includes("%")||o&&(o.attrs.style||"").includes("height"))&&(t.h="T"),t.w&&t.h&&e["object-fit"]&&("contain"===e["object-fit"]?t.m="aspectFit":"cover"===e["object-fit"]&&(t.m="aspectFill"))}else if("svg"===t.name)return i.push(t),this.stack.push(t),void this.popNode();for(const t in e)e[t]&&(n.style+=`;${t}:${e[t].replace(" !important","")}`);n.style=n.style.substr(1)||void 0}else("pre"===t.name||(n.style||"").includes("white-space")&&n.style.includes("pre"))&&2!==this.pre&&(this.pre=t.pre=1),t.children=[],this.stack.push(t);i.push(t)},$I.prototype.onCloseTag=function(e){let t;for(e=this.xml?e:e.toLowerCase(),t=this.stack.length;t--&&this.stack[t].name!==e;);if(-1!==t)for(;this.stack.length>t;)this.popNode();else if("p"===e||"br"===e){(this.stack.length?this.stack[this.stack.length-1].children:this.nodes).push({name:e,attrs:{class:BI[e]||"",style:this.tagStyle[e]||""}})}},$I.prototype.popNode=function(){const e=this.stack.pop();let t=e.attrs;const n=e.children,o=this.stack[this.stack.length-1],i=o?o.children:this.nodes;if(!this.hook(e)||PI.ignoreTags[e.name])return"title"===e.name&&n.length&&"text"===n[0].type&&this.options.setTitle&&d_({title:n[0].text}),void i.pop();if(e.pre&&2!==this.pre){this.pre=e.pre=void 0;for(let e=this.stack.length;e--;)this.stack[e].pre&&(this.pre=1)}const r={};if("svg"===e.name){if(this.xml>1)return void this.xml--;let n="";const o=t.style;return t.style="",t.xmlns="http://www.w3.org/2000/svg",function e(t){if("text"===t.type)return void(n+=t.text);const o=PI.svgDict[t.name]||t.name;if("foreignObject"===o)for(const n of t.children||[])if(n.attrs&&!n.attrs.xmlns){n.attrs.xmlns="http://www.w3.org/1999/xhtml";break}n+="<"+o;for(const i in t.attrs){const e=t.attrs[i];e&&(n+=` ${PI.svgDict[i]||i}="${e.replace(/"/g,"")}"`)}if(t.children){n+=">";for(let n=0;n"}else n+="/>"}(e),e.name="img",e.attrs={src:"data:image/svg+xml;utf8,"+n.replace(/#/g,"%23"),style:o,ignore:"T"},e.children=void 0,this.xml=!1,void(PI.ignoreTags.style=!0)}if(t.align&&("table"===e.name?"center"===t.align?r["margin-inline-start"]=r["margin-inline-end"]="auto":r.float=t.align:r["text-align"]=t.align,t.align=void 0),t.dir&&(r.direction=t.dir,t.dir=void 0),"font"===e.name&&(t.color&&(r.color=t.color,t.color=void 0),t.face&&(r["font-family"]=t.face,t.face=void 0),t.size)){let e=parseInt(t.size);isNaN(e)||(e<1?e=1:e>7&&(e=7),r["font-size"]=["x-small","small","medium","large","x-large","xx-large","xxx-large"][e-1]),t.size=void 0}if((t.class||"").includes("align-center")&&(r["text-align"]="center"),Object.assign(r,this.parseStyle(e)),"table"!==e.name&&parseInt(r.width)>OI&&(r["max-width"]="100%",r["box-sizing"]="border-box"),PI.blockTags[e.name]?e.name="div":PI.trustTags[e.name]||this.xml||(e.name="span"),"a"===e.name||"ad"===e.name||"iframe"===e.name)this.expose();else if("video"===e.name)(r.height||"").includes("auto")&&(r.height=void 0);else if("ul"!==e.name&&"ol"!==e.name||!e.c)if("table"===e.name){let o=parseFloat(t.cellpadding),i=parseFloat(t.cellspacing);const a=parseFloat(t.border),s=r["border-color"],l=r["border-style"];if(e.c&&(isNaN(o)&&(o=2),isNaN(i)&&(i=2)),a&&(t.style+=`;border:${a}px ${l||"solid"} ${s||"gray"}`),e.flag&&e.c){r.display="grid","collapse"===r["border-collapse"]&&(r["border-collapse"]=void 0,i=0),i?(r["grid-gap"]=i+"px",r.padding=i+"px"):a&&(t.style+=";border-left:0;border-top:0");const c=[],u=[],d=[],h={};!function e(t){for(let n=0;n=50&&e.c&&!(r.display||"").includes("flex")&&zI(n);for(const s in r)if(r[s]){const n=`;${s}:${r[s].replace(" !important","")}`;a&&(s.includes("flex")&&"flex-direction"!==s||"align-self"===s||s.includes("grid")||"-"===r[s][0]||s.includes("width")&&n.includes("%"))?(e.f+=n,"width"===s&&(t.style+=";width:100%")):t.style+=n}t.style=t.style.substr(1)||void 0},$I.prototype.onText=function(e){if(!this.pre){let t,n="";for(let o=0,i=e.length;o"===this.content[this.i]||t&&">"===this.content[this.i+1])&&(e&&this.handler[e](this.content.substring(this.start,this.i)),this.i+=t?2:1,this.start=this.i,this.handler.onOpenTag(t),"script"===this.handler.tagName?(this.i=this.content.indexOf("="a"&&e<="z"||e>="A"&&e<="Z")this.start!==this.i&&this.handler.onText(this.content.substring(this.start,this.i)),this.start=++this.i,this.state=this.tagName;else if("/"===e||"!"===e||"?"===e){this.start!==this.i&&this.handler.onText(this.content.substring(this.start,this.i));const t=this.content[this.i+2];if("/"===e&&(t>="a"&&t<="z"||t>="A"&&t<="Z"))return this.i+=2,this.start=this.i,void(this.state=this.endTag);let n="--\x3e";"!"===e&&"-"===this.content[this.i+2]&&"-"===this.content[this.i+3]||(n=">"),this.i=this.content.indexOf(n,this.i),-1!==this.i&&(this.i+=n.length,this.start=this.i)}else this.i++},FI.prototype.tagName=function(){if(MI[this.content[this.i]]){for(this.handler.onTagName(this.content.substring(this.start,this.i));MI[this.content[++this.i]];);this.i"===e||"/"===e){if(this.handler.onCloseTag(this.content.substring(this.start,this.i)),">"!==e&&(this.i=this.content.indexOf(">",this.i),-1===this.i))return;this.start=++this.i,this.state=this.text}else this.i++};const jI=[];const HI=MS({name:"up-parse",data:()=>({nodes:[]}),props:{containerStyle:{type:String,default:""},content:{type:String,default:""},copyLink:{type:[Boolean,String],default:!0},domain:String,errorImg:{type:String,default:""},lazyLoad:{type:[Boolean,String],default:!1},loadingImg:{type:String,default:""},pauseVideo:{type:[Boolean,String],default:!0},previewImg:{type:[Boolean,String],default:!0},scrollTable:[Boolean,String],selectable:[Boolean,String],setTitle:{type:[Boolean,String],default:!0},showImgMenu:{type:[Boolean,String],default:!0},tagStyle:Object,useAnchor:[Boolean,Number]},emits:["load","ready","imgtap","linktap","play","error"],components:{node:EI},watch:{content(e){this.setContent(e)}},created(){this.plugins=[];for(let e=jI.length;e--;)this.plugins.push(new jI[e](this))},mounted(){this.content&&!this.nodes.length&&this.setContent(this.content)},beforeUnmount(){this._hook("onDetached")},methods:{in(e,t,n){e&&t&&n&&(this._in={page:e,selector:t,scrollTop:n})},navigateTo(e,t){return new Promise((n,o)=>{if(!this.useAnchor)return void o(Error("Anchor is disabled"));t=t||parseInt(this.useAnchor)||0;const i=Ep().in(this._in?this._in.page:this).select((this._in?this._in.selector:"._root")+(e?` #${e}`:"")).boundingClientRect();this._in?i.select(this._in.selector).scrollOffset().select(this._in.selector).boundingClientRect():i.selectViewport().scrollOffset(),i.exec(e=>{if(!e[0])return void o(Error("Label not found"));const i=e[1].scrollTop+e[0].top-(e[2]?e[2].top:0)+t;this._in?this._in.page[this._in.scrollTop]=i:h_({scrollTop:i,duration:300}),n()})})},getText(e){let t="";return function e(n){for(let o=0;o"0"&&i.name[1]<"7";n&&t&&"\n"!==t[t.length-1]&&(t+="\n"),i.children&&e(i.children),n&&"\n"!==t[t.length-1]?t+="\n":"td"!==i.name&&"th"!==i.name||(t+="\t")}}}(e||this.nodes),t},getRect(){return new Promise((e,t)=>{Ep().in(this).select("#_root").boundingClientRect().exec(n=>n[0]?e(n[0]):t(Error("Root label not found")))})},pauseMedia(){for(let e=(this._videos||[]).length;e--;)this._videos[e].pause()},setPlaybackRate(e){this.playbackRate=e;for(let t=(this._videos||[]).length;t--;)this._videos[t].playbackRate(e)},setContent(e,t){t&&this.imgList||(this.imgList=[]);const n=new $I(this).parse(e);if(this.$set(this,"nodes",t?(this.nodes||[]).concat(n):n),this._videos=[],this.$nextTick(()=>{this._hook("onLoad"),this.$emit("load")}),this.lazyLoad||this.imgList._unloadimgs{n&&n.height||(n={}),n.height===e?this.$emit("ready",n):(e=n.height,setTimeout(()=>{this.getRect().then(t).catch(t)},350))};this.getRect().then(t).catch(t)}else this.imgList._unloadimgs||this.getRect().then(e=>{this.$emit("ready",e)}).catch(()=>{this.$emit("ready",{})})},_hook(e){for(let t=jI.length;t--;)this.plugins[t][e]&&this.plugins[t][e]()}}},[["render",function(e,t,n,o,i,r){const a=ko("node"),s=Qg;return Sr(),Ir(s,{id:"_root",class:$e((n.selectable?"_select ":"")+"_root"),style:ze(n.containerStyle)},{default:bo(()=>[i.nodes[0]?(Sr(),Ir(a,{key:1,childs:i.nodes,opts:[n.lazyLoad,n.loadingImg,n.errorImg,n.showImgMenu,n.selectable],name:"span"},null,8,["childs","opts"])):Ti(e.$slots,"default",{key:0},void 0,!0)]),_:3},8,["class","style"])}],["__scopeId","data-v-58a60068"]]),VI=Object.freeze(Object.defineProperty({__proto__:null,default:HI},Symbol.toStringTag,{value:"Module"}));var WI={async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null};function UI(e){WI=e}var qI={exec:()=>null};function QI(e,t=""){let n="string"==typeof e?e:e.source,o={replace:(e,t)=>{let i="string"==typeof t?t:t.source;return i=i.replace(GI.caret,"$1"),n=n.replace(e,i),o},getRegex:()=>new RegExp(n,t)};return o}var GI={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceTabs:/^\t+/,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] /,listReplaceTask:/^\[[ xX]\] +/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[a-zA-Z0-9\u00C0-\u02AF\u0300-\u036F\u0400-\u04FF\u0500-\u052F\u1E00-\u1EFF]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,unescapeTest:/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:e=>new RegExp(`^( {0,3}${e})((?:[\t ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ \t][^\\n]*)?(?:\\n|$))`),hrRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}#`),htmlBeginRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}<(?:[a-z].*>|!--)`,"i")},YI=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,XI=/(?:[*+-]|\d{1,9}[.)])/,KI=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,JI=QI(KI).replace(/bull/g,XI).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),ZI=QI(KI).replace(/bull/g,XI).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),eE=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,tE=/(?!\s*\])(?:\\.|[^\[\]\\])+/,nE=QI(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",tE).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),oE=QI(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,XI).getRegex(),iE="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",rE=/|$))/,aE=QI("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|)[\\s\\S]*?(?:(?:\\n[ \t]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ \t]*)+\\n|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ \t]*)+\\n|$))","i").replace("comment",rE).replace("tag",iE).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),sE=QI(eE).replace("hr",YI).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",iE).getRegex(),lE={blockquote:QI(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",sE).getRegex(),code:/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,def:nE,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,hr:YI,html:aE,lheading:JI,list:oE,newline:/^(?:[ \t]*(?:\n|$))+/,paragraph:sE,table:qI,text:/^[^\n]+/},cE=QI("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",YI).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3}\t)[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",iE).getRegex(),uE={...lE,lheading:ZI,table:cE,paragraph:QI(eE).replace("hr",YI).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",cE).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",iE).getRegex()},dE={...lE,html:QI("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",rE).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:qI,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:QI(eE).replace("hr",YI).replace("heading"," *#{1,6} *[^\n]").replace("lheading",JI).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},hE=/^( {2,}|\\)\n(?!\s*$)/,pE=/[!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~·!¥……()——《》「」『』【】、;:‘’“”,。、]/u,fE=/[\s!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~·!¥……()——《》「」『』【】、;:‘’“”,。、]/,mE=/[^a-zA-Z0-9\u4e00-\u9fa5\s!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~·!¥……()——《》「」『』【】、;:‘’“”,。、]/,gE=QI(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,fE).getRegex(),yE=/[!"#$%&'()*+,-./:;<=>?@[\]^_`{|}·!¥……()——《》「」『』【】、;:‘’“”,。、]/,bE=/^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/,vE=QI(bE,"u").replace(/punct/g,pE).getRegex(),_E=QI(bE,"u").replace(/punct/g,yE).getRegex(),wE="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",xE=QI(wE,"gu").replace(/notPunctSpace/g,mE).replace(/punctSpace/g,fE).replace(/punct/g,pE).getRegex(),SE=QI(wE,"gu").replace(/notPunctSpace/g,/[a-zA-Z0-9\u4e00-\u9fa5~]/).replace(/punctSpace/g,/[\s!"#$%&'()*+,-./:;<=>?@[\]^_`{|}·!¥……()——《》「」『』【】、;:‘’“”,。、]/).replace(/punct/g,yE).getRegex(),kE=QI("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,mE).replace(/punctSpace/g,fE).replace(/punct/g,pE).getRegex(),CE=QI(/\\(punct)/,"gu").replace(/punct/g,pE).getRegex(),AE=QI(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),TE=QI(rE).replace("(?:--\x3e|$)","--\x3e").getRegex(),IE=QI("^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^").replace("comment",TE).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),EE=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,PE=QI(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label",EE).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),BE=QI(/^!?\[(label)\]\[(ref)\]/).replace("label",EE).replace("ref",tE).getRegex(),OE=QI(/^!?\[(ref)\](?:\[\])?/).replace("ref",tE).getRegex(),NE={_backpedal:qI,anyPunctuation:CE,autolink:AE,blockSkip:/\[[^[\]]*?\]\((?:\\.|[^\\\(\)]|\((?:\\.|[^\\\(\)])*\))*\)|`[^`]*?`|<(?! )[^<>]*?>/g,br:hE,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,del:qI,emStrongLDelim:vE,emStrongRDelimAst:xE,emStrongRDelimUnd:kE,escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,link:PE,nolink:OE,punctuation:gE,reflink:BE,reflinkSearch:QI("reflink|nolink(?!\\()","g").replace("reflink",BE).replace("nolink",OE).getRegex(),tag:IE,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\":">",'"':""","'":"'"},FE=e=>$E[e];function jE(e,t){if(t){if(GI.escapeTest.test(e))return e.replace(GI.escapeReplace,FE)}else if(GI.escapeTestNoEncode.test(e))return e.replace(GI.escapeReplaceNoEncode,FE);return e}function HE(e){try{e=encodeURI(e).replace(GI.percentDecode,"%")}catch{return null}return e}function VE(e,t){var n;let o=e.replace(GI.findPipe,(e,t,n)=>{let o=!1,i=t;for(;--i>=0&&"\\"===n[i];)o=!o;return o?"|":" |"}).split(GI.splitPipe),i=0;if(o[0].trim()||o.shift(),o.length>0&&!(null==(n=o.at(-1))?void 0:n.trim())&&o.pop(),t)if(o.length>t)o.splice(t);else for(;o.length0)return{type:"space",raw:t[0]}}code(e){let t=this.rules.block.code.exec(e);if(t){let e=t[0].replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?e:WE(e,"\n")}}}fences(e){let t=this.rules.block.fences.exec(e);if(t){let e=t[0],n=function(e,t,n){let o=e.match(n.other.indentCodeCompensation);if(null===o)return t;let i=o[1];return t.split("\n").map(e=>{let t=e.match(n.other.beginningSpace);if(null===t)return e;let[o]=t;return o.length>=i.length?e.slice(i.length):e}).join("\n")}(e,t[3]||"",this.rules);return{type:"code",raw:e,lang:t[2]?t[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):t[2],text:n}}}heading(e){let t=this.rules.block.heading.exec(e);if(t){let e=t[2].trim();if(this.rules.other.endingHash.test(e)){let t=WE(e,"#");(this.options.pedantic||!t||this.rules.other.endingSpaceChar.test(t))&&(e=t.trim())}return{type:"heading",raw:t[0],depth:t[1].length,text:e,tokens:this.lexer.inline(e)}}}hr(e){let t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:WE(t[0],"\n")}}blockquote(e){let t=this.rules.block.blockquote.exec(e);if(t){let e=WE(t[0],"\n").split("\n"),n="",o="",i=[];for(;e.length>0;){let t,r=!1,a=[];for(t=0;t1,i={type:"list",raw:"",ordered:o,start:o?+n.slice(0,-1):"",loose:!1,items:[]};n=o?`\\d{1,9}\\${n.slice(-1)}`:`\\${n}`,this.options.pedantic&&(n=o?n:"[*+-]");let r=this.rules.other.listItemRegex(n),a=!1;for(;e;){let n=!1,o="",s="";if(!(t=r.exec(e))||this.rules.block.hr.test(e))break;o=t[0],e=e.substring(o.length);let l=t[2].split("\n",1)[0].replace(this.rules.other.listReplaceTabs,e=>" ".repeat(3*e.length)),c=e.split("\n",1)[0],u=!l.trim(),d=0;if(this.options.pedantic?(d=2,s=l.trimStart()):u?d=t[1].length+1:(d=t[2].search(this.rules.other.nonSpaceChar),d=d>4?1:d,s=l.slice(d),d+=t[1].length),u&&this.rules.other.blankLine.test(c)&&(o+=c+"\n",e=e.substring(c.length+1),n=!0),!n){let t=this.rules.other.nextBulletRegex(d),n=this.rules.other.hrRegex(d),i=this.rules.other.fencesBeginRegex(d),r=this.rules.other.headingBeginRegex(d),a=this.rules.other.htmlBeginRegex(d);for(;e;){let h,p=e.split("\n",1)[0];if(c=p,this.options.pedantic?(c=c.replace(this.rules.other.listReplaceNesting," "),h=c):h=c.replace(this.rules.other.tabCharGlobal," "),i.test(c)||r.test(c)||a.test(c)||t.test(c)||n.test(c))break;if(h.search(this.rules.other.nonSpaceChar)>=d||!c.trim())s+="\n"+h.slice(d);else{if(u||l.replace(this.rules.other.tabCharGlobal," ").search(this.rules.other.nonSpaceChar)>=4||i.test(l)||r.test(l)||n.test(l))break;s+="\n"+c}!u&&!c.trim()&&(u=!0),o+=p+"\n",e=e.substring(p.length+1),l=h.slice(d)}}i.loose||(a?i.loose=!0:this.rules.other.doubleBlankLine.test(o)&&(a=!0));let h,p=null;this.options.gfm&&(p=this.rules.other.listIsTask.exec(s),p&&(h="[ ] "!==p[0],s=s.replace(this.rules.other.listReplaceTask,""))),i.items.push({type:"list_item",raw:o,task:!!p,checked:h,loose:!1,text:s,tokens:[]}),i.raw+=o}let s=i.items.at(-1);if(!s)return;s.raw=s.raw.trimEnd(),s.text=s.text.trimEnd(),i.raw=i.raw.trimEnd();for(let e=0;e"space"===e.type),n=t.length>0&&t.some(e=>this.rules.other.anyLine.test(e.raw));i.loose=n}if(i.loose)for(let e=0;e({text:e,tokens:this.lexer.inline(e),header:!1,align:a.align[t]})));return a}}lheading(e){let t=this.rules.block.lheading.exec(e);if(t)return{type:"heading",raw:t[0],depth:"="===t[2].charAt(0)?1:2,text:t[1],tokens:this.lexer.inline(t[1])}}paragraph(e){let t=this.rules.block.paragraph.exec(e);if(t){let e="\n"===t[1].charAt(t[1].length-1)?t[1].slice(0,-1):t[1];return{type:"paragraph",raw:t[0],text:e,tokens:this.lexer.inline(e)}}}text(e){let t=this.rules.block.text.exec(e);if(t)return{type:"text",raw:t[0],text:t[0],tokens:this.lexer.inline(t[0])}}escape(e){let t=this.rules.inline.escape.exec(e);if(t)return{type:"escape",raw:t[0],text:t[1]}}tag(e){let t=this.rules.inline.tag.exec(e);if(t)return!this.lexer.state.inLink&&this.rules.other.startATag.test(t[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&this.rules.other.endATag.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&this.rules.other.startPreScriptTag.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&this.rules.other.endPreScriptTag.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:t[0]}}link(e){let t=this.rules.inline.link.exec(e);if(t){let e=t[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(e)){if(!this.rules.other.endAngleBracket.test(e))return;let t=WE(e.slice(0,-1),"\\");if((e.length-t.length)%2==0)return}else{let e=function(e,t){if(-1===e.indexOf(t[1]))return-1;let n=0;for(let o=0;o0?-2:-1}(t[2],"()");if(-2===e)return;if(e>-1){let n=(0===t[0].indexOf("!")?5:4)+t[1].length+e;t[2]=t[2].substring(0,e),t[0]=t[0].substring(0,n).trim(),t[3]=""}}let n=t[2],o="";if(this.options.pedantic){let e=this.rules.other.pedanticHrefTitle.exec(n);e&&(n=e[1],o=e[3])}else o=t[3]?t[3].slice(1,-1):"";return n=n.trim(),this.rules.other.startAngleBracket.test(n)&&(n=this.options.pedantic&&!this.rules.other.endAngleBracket.test(e)?n.slice(1):n.slice(1,-1)),UE(t,{href:n&&n.replace(this.rules.inline.anyPunctuation,"$1"),title:o&&o.replace(this.rules.inline.anyPunctuation,"$1")},t[0],this.lexer,this.rules)}}reflink(e,t){let n;if((n=this.rules.inline.reflink.exec(e))||(n=this.rules.inline.nolink.exec(e))){let e=t[(n[2]||n[1]).replace(this.rules.other.multipleSpaceGlobal," ").toLowerCase()];if(!e){let e=n[0].charAt(0);return{type:"text",raw:e,text:e}}return UE(n,e,n[0],this.lexer,this.rules)}}emStrong(e,t,n=""){let o=this.rules.inline.emStrongLDelim.exec(e);if(!(!o||o[3]&&n.match(this.rules.other.unicodeAlphaNumeric))&&(!o[1]&&!o[2]||!n||this.rules.inline.punctuation.exec(n))){let n,i,r=[...o[0]].length-1,a=r,s=0,l="*"===o[0][0]?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(l.lastIndex=0,t=t.slice(-1*e.length+r);null!=(o=l.exec(t));){if(n=o[1]||o[2]||o[3]||o[4]||o[5]||o[6],!n)continue;if(i=[...n].length,o[3]||o[4]){a+=i;continue}if((o[5]||o[6])&&r%3&&!((r+i)%3)){s+=i;continue}if(a-=i,a>0)continue;i=Math.min(i,i+a+s);let t=[...o[0]][0].length,l=e.slice(0,r+o.index+t+i);if(Math.min(r,i)%2){let e=l.slice(1,-1);return{type:"em",raw:l,text:e,tokens:this.lexer.inlineTokens(e)}}let c=l.slice(2,-2);return{type:"strong",raw:l,text:c,tokens:this.lexer.inlineTokens(c)}}}}codespan(e){let t=this.rules.inline.code.exec(e);if(t){let e=t[2].replace(this.rules.other.newLineCharGlobal," "),n=this.rules.other.nonSpaceChar.test(e),o=this.rules.other.startingSpaceChar.test(e)&&this.rules.other.endingSpaceChar.test(e);return n&&o&&(e=e.substring(1,e.length-1)),{type:"codespan",raw:t[0],text:e}}}br(e){let t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}}del(e){let t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[2],tokens:this.lexer.inlineTokens(t[2])}}autolink(e){let t=this.rules.inline.autolink.exec(e);if(t){let e,n;return"@"===t[2]?(e=t[1],n="mailto:"+e):(e=t[1],n=e),{type:"link",raw:t[0],text:e,href:n,tokens:[{type:"text",raw:e,text:e}]}}}url(e){var t;let n;if(n=this.rules.inline.url.exec(e)){let e,o;if("@"===n[2])e=n[0],o="mailto:"+e;else{let i;do{i=n[0],n[0]=(null==(t=this.rules.inline._backpedal.exec(n[0]))?void 0:t[0])??""}while(i!==n[0]);e=n[0],o="www."===n[1]?"http://"+n[0]:n[0]}return{type:"link",raw:n[0],text:e,href:o,tokens:[{type:"text",raw:e,text:e}]}}}inlineText(e){let t=this.rules.inline.text.exec(e);if(t){let e=this.lexer.state.inRawBlock;return{type:"text",raw:t[0],text:t[0],escaped:e}}}},QE=class e{constructor(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||WI,this.options.tokenizer=this.options.tokenizer||new qE,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};let t={other:GI,block:DE.normal,inline:zE.normal};this.options.pedantic?(t.block=DE.pedantic,t.inline=zE.pedantic):this.options.gfm&&(t.block=DE.gfm,this.options.breaks?t.inline=zE.breaks:t.inline=zE.gfm),this.tokenizer.rules=t}static get rules(){return{block:DE,inline:zE}}static lex(t,n){return new e(n).lex(t)}static lexInline(t,n){return new e(n).inlineTokens(t)}lex(e){e=e.replace(GI.carriageReturn,"\n"),this.blockTokens(e,this.tokens);for(let t=0;t!!(a=n.call({lexer:this},e,t))&&(e=e.substring(a.raw.length),t.push(a),!0)))continue;if(a=this.tokenizer.space(e)){e=e.substring(a.raw.length);let n=t.at(-1);1===a.raw.length&&void 0!==n?n.raw+="\n":t.push(a);continue}if(a=this.tokenizer.code(e)){e=e.substring(a.raw.length);let n=t.at(-1);"paragraph"===(null==n?void 0:n.type)||"text"===(null==n?void 0:n.type)?(n.raw+=(n.raw.endsWith("\n")?"":"\n")+a.raw,n.text+="\n"+a.text,this.inlineQueue.at(-1).src=n.text):t.push(a);continue}if(a=this.tokenizer.fences(e)){e=e.substring(a.raw.length),t.push(a);continue}if(a=this.tokenizer.heading(e)){e=e.substring(a.raw.length),t.push(a);continue}if(a=this.tokenizer.hr(e)){e=e.substring(a.raw.length),t.push(a);continue}if(a=this.tokenizer.blockquote(e)){e=e.substring(a.raw.length),t.push(a);continue}if(a=this.tokenizer.list(e)){e=e.substring(a.raw.length),t.push(a);continue}if(a=this.tokenizer.html(e)){e=e.substring(a.raw.length),t.push(a);continue}if(a=this.tokenizer.def(e)){e=e.substring(a.raw.length);let n=t.at(-1);"paragraph"===(null==n?void 0:n.type)||"text"===(null==n?void 0:n.type)?(n.raw+=(n.raw.endsWith("\n")?"":"\n")+a.raw,n.text+="\n"+a.raw,this.inlineQueue.at(-1).src=n.text):this.tokens.links[a.tag]||(this.tokens.links[a.tag]={href:a.href,title:a.title});continue}if(a=this.tokenizer.table(e)){e=e.substring(a.raw.length),t.push(a);continue}if(a=this.tokenizer.lheading(e)){e=e.substring(a.raw.length),t.push(a);continue}let s=e;if(null==(r=this.options.extensions)?void 0:r.startBlock){let t,n=1/0,o=e.slice(1);this.options.extensions.startBlock.forEach(e=>{t=e.call({lexer:this},o),"number"==typeof t&&t>=0&&(n=Math.min(n,t))}),n<1/0&&n>=0&&(s=e.substring(0,n+1))}if(this.state.top&&(a=this.tokenizer.paragraph(s))){let o=t.at(-1);n&&"paragraph"===(null==o?void 0:o.type)?(o.raw+=(o.raw.endsWith("\n")?"":"\n")+a.raw,o.text+="\n"+a.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=o.text):t.push(a),n=s.length!==e.length,e=e.substring(a.raw.length)}else if(a=this.tokenizer.text(e)){e=e.substring(a.raw.length);let n=t.at(-1);"text"===(null==n?void 0:n.type)?(n.raw+=(n.raw.endsWith("\n")?"":"\n")+a.raw,n.text+="\n"+a.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=n.text):t.push(a)}else if(e){let t="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(t);break}throw new Error(t)}}return this.state.top=!0,t}inline(e,t=[]){return this.inlineQueue.push({src:e,tokens:t}),t}inlineTokens(e,t=[]){var n,o,i;let r=e,a=null;if(this.tokens.links){let e=Object.keys(this.tokens.links);if(e.length>0)for(;null!=(a=this.tokenizer.rules.inline.reflinkSearch.exec(r));)e.includes(a[0].slice(a[0].lastIndexOf("[")+1,-1))&&(r=r.slice(0,a.index)+"["+"a".repeat(a[0].length-2)+"]"+r.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(a=this.tokenizer.rules.inline.anyPunctuation.exec(r));)r=r.slice(0,a.index)+"++"+r.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;null!=(a=this.tokenizer.rules.inline.blockSkip.exec(r));)r=r.slice(0,a.index)+"["+"a".repeat(a[0].length-2)+"]"+r.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);let s=!1,l="";for(;e;){let a;if(s||(l=""),s=!1,null==(o=null==(n=this.options.extensions)?void 0:n.inline)?void 0:o.some(n=>!!(a=n.call({lexer:this},e,t))&&(e=e.substring(a.raw.length),t.push(a),!0)))continue;if(a=this.tokenizer.escape(e)){e=e.substring(a.raw.length),t.push(a);continue}if(a=this.tokenizer.tag(e)){e=e.substring(a.raw.length),t.push(a);continue}if(a=this.tokenizer.link(e)){e=e.substring(a.raw.length),t.push(a);continue}if(a=this.tokenizer.reflink(e,this.tokens.links)){e=e.substring(a.raw.length);let n=t.at(-1);"text"===a.type&&"text"===(null==n?void 0:n.type)?(n.raw+=a.raw,n.text+=a.text):t.push(a);continue}if(a=this.tokenizer.emStrong(e,r,l)){e=e.substring(a.raw.length),t.push(a);continue}if(a=this.tokenizer.codespan(e)){e=e.substring(a.raw.length),t.push(a);continue}if(a=this.tokenizer.br(e)){e=e.substring(a.raw.length),t.push(a);continue}if(a=this.tokenizer.del(e)){e=e.substring(a.raw.length),t.push(a);continue}if(a=this.tokenizer.autolink(e)){e=e.substring(a.raw.length),t.push(a);continue}if(!this.state.inLink&&(a=this.tokenizer.url(e))){e=e.substring(a.raw.length),t.push(a);continue}let c=e;if(null==(i=this.options.extensions)?void 0:i.startInline){let t,n=1/0,o=e.slice(1);this.options.extensions.startInline.forEach(e=>{t=e.call({lexer:this},o),"number"==typeof t&&t>=0&&(n=Math.min(n,t))}),n<1/0&&n>=0&&(c=e.substring(0,n+1))}if(a=this.tokenizer.inlineText(c)){e=e.substring(a.raw.length),"_"!==a.raw.slice(-1)&&(l=a.raw.slice(-1)),s=!0;let n=t.at(-1);"text"===(null==n?void 0:n.type)?(n.raw+=a.raw,n.text+=a.text):t.push(a)}else if(e){let t="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(t);break}throw new Error(t)}}return t}},GE=class{constructor(e){this.options=e||WI}space(e){return""}code({text:e,lang:t,escaped:n}){var o;let i=null==(o=(t||"").match(GI.notSpaceStart))?void 0:o[0],r=e.replace(GI.endingNewline,"")+"\n";return i?'
'+(n?r:jE(r,!0))+"
\n":"
"+(n?r:jE(r,!0))+"
\n"}blockquote({tokens:e}){return`
\n${this.parser.parse(e)}
\n`}html({text:e}){return e}heading({tokens:e,depth:t}){return`${this.parser.parseInline(e)}\n`}hr(e){return"
\n"}list(e){let t=e.ordered,n=e.start,o="";for(let r=0;r\n"+o+"\n"}listitem(e){var t;let n="";if(e.task){let o=this.checkbox({checked:!!e.checked});e.loose?"paragraph"===(null==(t=e.tokens[0])?void 0:t.type)?(e.tokens[0].text=o+" "+e.tokens[0].text,e.tokens[0].tokens&&e.tokens[0].tokens.length>0&&"text"===e.tokens[0].tokens[0].type&&(e.tokens[0].tokens[0].text=o+" "+jE(e.tokens[0].tokens[0].text),e.tokens[0].tokens[0].escaped=!0)):e.tokens.unshift({type:"text",raw:o+" ",text:o+" ",escaped:!0}):n+=o+" "}return n+=this.parser.parse(e.tokens,!!e.loose),`
  • ${n}
  • \n`}checkbox({checked:e}){return"'}paragraph({tokens:e}){return`

    ${this.parser.parseInline(e)}

    \n`}table(e){let t="",n="";for(let i=0;i${o}`),"\n\n"+t+"\n"+o+"
    \n"}tablerow({text:e}){return`\n${e}\n`}tablecell(e){let t=this.parser.parseInline(e.tokens),n=e.header?"th":"td";return(e.align?`<${n} align="${e.align}">`:`<${n}>`)+t+`\n`}strong({tokens:e}){return`${this.parser.parseInline(e)}`}em({tokens:e}){return`${this.parser.parseInline(e)}`}codespan({text:e}){return`${jE(e,!0)}`}br(e){return"
    "}del({tokens:e}){return`${this.parser.parseInline(e)}`}link({href:e,title:t,tokens:n}){let o=this.parser.parseInline(n),i=HE(e);if(null===i)return o;let r='
    ",r}image({href:e,title:t,text:n,tokens:o}){o&&(n=this.parser.parseInline(o,this.parser.textRenderer));let i=HE(e);if(null===i)return jE(n);let r=`${n}{let o=e[n].flat(1/0);i=i.concat(this.walkTokens(o,t))}):e.tokens&&(i=i.concat(this.walkTokens(e.tokens,t)))}}return i}use(...e){let t=this.defaults.extensions||{renderers:{},childTokens:{}};return e.forEach(e=>{let n={...e};if(n.async=this.defaults.async||n.async||!1,e.extensions&&(e.extensions.forEach(e=>{if(!e.name)throw new Error("extension name required");if("renderer"in e){let n=t.renderers[e.name];t.renderers[e.name]=n?function(...t){let o=e.renderer.apply(this,t);return!1===o&&(o=n.apply(this,t)),o}:e.renderer}if("tokenizer"in e){if(!e.level||"block"!==e.level&&"inline"!==e.level)throw new Error("extension level must be 'block' or 'inline'");let n=t[e.level];n?n.unshift(e.tokenizer):t[e.level]=[e.tokenizer],e.start&&("block"===e.level?t.startBlock?t.startBlock.push(e.start):t.startBlock=[e.start]:"inline"===e.level&&(t.startInline?t.startInline.push(e.start):t.startInline=[e.start]))}"childTokens"in e&&e.childTokens&&(t.childTokens[e.name]=e.childTokens)}),n.extensions=t),e.renderer){let t=this.defaults.renderer||new GE(this.defaults);for(let n in e.renderer){if(!(n in t))throw new Error(`renderer '${n}' does not exist`);if(["options","parser"].includes(n))continue;let o=n,i=e.renderer[o],r=t[o];t[o]=(...e)=>{let n=i.apply(t,e);return!1===n&&(n=r.apply(t,e)),n||""}}n.renderer=t}if(e.tokenizer){let t=this.defaults.tokenizer||new qE(this.defaults);for(let n in e.tokenizer){if(!(n in t))throw new Error(`tokenizer '${n}' does not exist`);if(["options","rules","lexer"].includes(n))continue;let o=n,i=e.tokenizer[o],r=t[o];t[o]=(...e)=>{let n=i.apply(t,e);return!1===n&&(n=r.apply(t,e)),n}}n.tokenizer=t}if(e.hooks){let t=this.defaults.hooks||new KE;for(let n in e.hooks){if(!(n in t))throw new Error(`hook '${n}' does not exist`);if(["options","block"].includes(n))continue;let o=n,i=e.hooks[o],r=t[o];KE.passThroughHooks.has(n)?t[o]=e=>{if(this.defaults.async)return Promise.resolve(i.call(t,e)).then(e=>r.call(t,e));let n=i.call(t,e);return r.call(t,n)}:t[o]=(...e)=>{let n=i.apply(t,e);return!1===n&&(n=r.apply(t,e)),n}}n.hooks=t}if(e.walkTokens){let t=this.defaults.walkTokens,o=e.walkTokens;n.walkTokens=function(e){let n=[];return n.push(o.call(this,e)),t&&(n=n.concat(t.call(this,e))),n}}this.defaults={...this.defaults,...n}}),this}setOptions(e){return this.defaults={...this.defaults,...e},this}lexer(e,t){return QE.lex(e,t??this.defaults)}parser(e,t){return XE.parse(e,t??this.defaults)}parseMarkdown(e){return(t,n)=>{let o={...n},i={...this.defaults,...o},r=this.onError(!!i.silent,!!i.async);if(!0===this.defaults.async&&!1===o.async)return r(new Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if(typeof t>"u"||null===t)return r(new Error("marked(): input parameter is undefined or null"));if("string"!=typeof t)return r(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(t)+", string expected"));i.hooks&&(i.hooks.options=i,i.hooks.block=e);let a=i.hooks?i.hooks.provideLexer():e?QE.lex:QE.lexInline,s=i.hooks?i.hooks.provideParser():e?XE.parse:XE.parseInline;if(i.async)return Promise.resolve(i.hooks?i.hooks.preprocess(t):t).then(e=>a(e,i)).then(e=>i.hooks?i.hooks.processAllTokens(e):e).then(e=>i.walkTokens?Promise.all(this.walkTokens(e,i.walkTokens)).then(()=>e):e).then(e=>s(e,i)).then(e=>i.hooks?i.hooks.postprocess(e):e).catch(r);try{i.hooks&&(t=i.hooks.preprocess(t));let e=a(t,i);i.hooks&&(e=i.hooks.processAllTokens(e)),i.walkTokens&&this.walkTokens(e,i.walkTokens);let n=s(e,i);return i.hooks&&(n=i.hooks.postprocess(n)),n}catch(l){return r(l)}}}onError(e,t){return n=>{if(n.message+="\nPlease report this to https://github.com/markedjs/marked.",e){let e="

    An error occurred:

    "+jE(n.message+"",!0)+"
    ";return t?Promise.resolve(e):e}if(t)return Promise.reject(n);throw n}}};function ZE(e,t){return JE.parse(e,t)}ZE.options=ZE.setOptions=function(e){return JE.setOptions(e),ZE.defaults=JE.defaults,UI(ZE.defaults),ZE},ZE.getDefaults=function(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}},ZE.defaults=WI,ZE.use=function(...e){return JE.use(...e),ZE.defaults=JE.defaults,UI(ZE.defaults),ZE},ZE.walkTokens=function(e,t){return JE.walkTokens(e,t)},ZE.parseInline=JE.parseInline,ZE.Parser=XE,ZE.parser=XE.parse,ZE.Renderer=GE,ZE.TextRenderer=YE,ZE.Lexer=QE,ZE.lexer=QE.lex,ZE.Tokenizer=qE,ZE.Hooks=KE,ZE.parse=ZE,ZE.options,ZE.setOptions,ZE.use,ZE.walkTokens,ZE.parseInline,XE.parse,QE.lex;const eP=MS({name:"up-markdown",props:{content:{type:String,default:""},previewImg:{type:Boolean,default:!0},showLineNumber:{type:Boolean,default:!1},theme:{type:String,default:"light"}},data:()=>({parsedContent:""}),watch:{content:{handler(e){this.parseMarkdown(e)},immediate:!0}},methods:{parseMarkdown(e){if(!e)return void(this.parsedContent="");let t=ZE(e);t=this.handleCodeBlock(t),t=this.applyTheme(t),this.parsedContent=t},handleCodeBlock(e){return e.replace(/
    ]*)>([^<]+)<\/code><\/pre>/g,(e,t,n)=>{const o=t.match(/class="language-([^"]+)"/),i=o?`language-${o[1]}`:"";let r=`
    `;if(this.showLineNumber){const e=n.split("\n").filter(e=>""!==e.trim());r+='',e.push(""),e.forEach((e,t)=>{r+=`${t+1}`}),r+=""}return r+=`${n}
    `,r})},applyTheme:e=>e}},[["render",function(e,t,n,o,i,r){const a=DS(Ao("up-parse"),HI),s=Qg;return Sr(),Ir(s,{class:$e(["up-markdown",n.theme])},{default:bo(()=>[Lr(a,{content:i.parsedContent,previewImg:n.previewImg},null,8,["content","previewImg"])]),_:1},8,["class"])}],["__scopeId","data-v-02c67532"]]),tP=Object.freeze(Object.defineProperty({__proto__:null,default:eP},Symbol.toStringTag,{value:"Module"}));const nP=MS({name:"u-message-input",props:{maxlength:{type:[Number,String],default:4},dotFill:{type:Boolean,default:!1},mode:{type:String,default:"box"},modelValue:{type:[String,Number],default:""},breathe:{type:Boolean,default:!0},focus:{type:Boolean,default:!1},bold:{type:Boolean,default:!1},fontSize:{type:[String,Number],default:60},activeColor:{type:String,default:"#2979ff"},inactiveColor:{type:String,default:"#606266"},width:{type:[Number,String],default:"80"},disabledKeyboard:{type:Boolean,default:!1}},watch:{modelValue:{immediate:!0,handler(e){e=String(e),this.valueModel=e.substring(0,this.maxlength)}}},data:()=>({valueModel:""}),emits:["change","finish"],computed:{animationClass(){return e=>this.breathe&&this.charArr.length==e?"u-breathe":""},charArr(){return this.valueModel.split("")},charArrLength(){return this.charArr.length},loopCharArr(){return new Array(this.maxlength)}},methods:{getVal(e){let{value:t}=e.detail;this.valueModel=t,String(t).length>this.maxlength||(this.$emit("change",t),String(t).length==this.maxlength&&this.$emit("finish",t))}}},[["render",function(e,t,n,o,i,r){const a=jm,s=Qg,l=Hg;return Sr(),Ir(s,{class:"u-char-box"},{default:bo(()=>[Lr(s,{class:"u-char-flex"},{default:bo(()=>[Lr(a,{disabled:n.disabledKeyboard,value:i.valueModel,type:"number",focus:n.focus,maxlength:n.maxlength,class:"u-input",onInput:r.getVal},null,8,["disabled","value","focus","maxlength","onInput"]),(Sr(!0),Tr(yr,null,Ai(r.loopCharArr,(e,t)=>(Sr(),Ir(s,{key:t},{default:bo(()=>[Lr(s,{class:$e([n.breathe&&r.charArrLength==t?"u-breathe":"","u-char-item",r.charArrLength===t&&"box"==n.mode?"u-box-active":"","box"===n.mode?"u-box":""]),style:ze({fontWeight:n.bold?"bold":"normal",fontSize:n.fontSize+"rpx",width:n.width+"rpx",height:n.width+"rpx",color:n.inactiveColor,borderColor:r.charArrLength===t&&"box"==n.mode?n.activeColor:n.inactiveColor})},{default:bo(()=>["middleLine"!==n.mode?(Sr(),Ir(s,{key:0,class:"u-placeholder-line",style:ze({display:r.charArrLength===t?"block":"none",height:.5*n.width+"rpx"})},null,8,["style"])):zr("",!0),"middleLine"===n.mode&&r.charArrLength<=t?(Sr(),Ir(s,{key:1,class:$e([[n.breathe&&r.charArrLength==t?"u-breathe":"",r.charArrLength===t?"u-middle-line-active":""],"u-middle-line"]),style:ze({height:n.bold?"4px":"2px",background:r.charArrLength===t?n.activeColor:n.inactiveColor})},null,8,["class","style"])):zr("",!0),"bottomLine"===n.mode?(Sr(),Ir(s,{key:2,class:$e([[n.breathe&&r.charArrLength==t?"u-breathe":"",r.charArrLength===t?"u-bottom-line-active":""],"u-bottom-line"]),style:ze({height:n.bold?"4px":"2px",background:r.charArrLength===t?n.activeColor:n.inactiveColor})},null,8,["class","style"])):zr("",!0),n.dotFill?(Sr(),Ir(l,{key:4,class:"u-dot"},{default:bo(()=>[Dr(K(r.charArr[t]?"●":""),1)]),_:2},1024)):(Sr(),Tr(yr,{key:3},[Dr(K(r.charArr[t]?r.charArr[t]:""),1)],64))]),_:2},1032,["class","style"])]),_:2},1024))),128))]),_:1})]),_:1})}],["__scopeId","data-v-8e923d37"]]),oP=Object.freeze(Object.defineProperty({__proto__:null,default:nP},Symbol.toStringTag,{value:"Module"})),iP={props:{safeAreaInsetTop:{type:Boolean,default:()=>!0},fixed:{type:Boolean,default:()=>!0},leftIcon:{type:String,default:"arrow-leftward"},bgColor:{type:String,default:()=>"rgba(0,0,0,.15)"},height:{type:[String,Number],default:()=>"32px"},iconSize:{type:[String,Number],default:"20px"},iconColor:{type:String,default:"#fff"},autoBack:{type:Boolean,default:()=>!0},homeUrl:{type:[String],default:""}}};const rP=MS({name:"u-navbar-mini",mixins:[IS,PS,iP],data:()=>({}),emits:["leftClick","homeClick"],created(){},methods:{addStyle:Gx,addUnit:Yx,sys:Hx,getPx:zx,leftClick(){this.$emit("leftClick"),this.autoBack&&Pv()},homeClick(){this.homeUrl&&Mv({url:this.homeUrl})}}},[["render",function(e,t,n,o,i,r){const a=DS(Ao("u-status-bar"),lk),s=DS(Ao("up-icon"),LS),l=Qg,c=DS(Ao("up-line"),VS);return Sr(),Ir(l,{class:$e(["u-navbar-mini",[e.customClass]])},{default:bo(()=>[Lr(l,{class:$e(["u-navbar-mini__inner",[e.fixed&&"u-navbar-mini--fixed"]])},{default:bo(()=>[e.safeAreaInsetTop?(Sr(),Ir(a,{key:0})):zr("",!0),Lr(l,{class:"u-navbar-mini__content",style:ze({height:r.addUnit(e.height),backgroundColor:e.bgColor})},{default:bo(()=>[Lr(l,{class:"u-navbar-mini__content__left","hover-class":"u-navbar-mini__content__left--hover","hover-start-time":"150",onClick:r.leftClick},{default:bo(()=>[Ti(e.$slots,"left",{},()=>[Lr(s,{name:e.leftIcon,size:e.iconSize,color:e.iconColor},null,8,["name","size","color"])],!0)]),_:3},8,["onClick"]),Lr(l,{style:{padding:"10px 10px"}},{default:bo(()=>[Lr(c,{direction:"col",color:"#fff",length:"16px"})]),_:1}),Lr(l,{class:"u-navbar-mini__content__center",onClick:r.homeClick},{default:bo(()=>[Ti(e.$slots,"center",{},()=>[Lr(s,{name:"home",size:e.iconSize,color:e.iconColor},null,8,["size","color"])],!0)]),_:3},8,["onClick"])]),_:3},8,["style"])]),_:3},8,["class"])]),_:3},8,["class"])}],["__scopeId","data-v-24a015a3"]]),aP=Object.freeze(Object.defineProperty({__proto__:null,default:rP},Symbol.toStringTag,{value:"Module"})),sP={props:{safeAreaInsetTop:{type:Boolean,default:()=>CS.navbar.safeAreaInsetTop},placeholder:{type:Boolean,default:()=>CS.navbar.placeholder},fixed:{type:Boolean,default:()=>CS.navbar.fixed},border:{type:Boolean,default:()=>CS.navbar.border},leftIcon:{type:String,default:()=>CS.navbar.leftIcon},leftText:{type:String,default:()=>CS.navbar.leftText},rightText:{type:String,default:()=>CS.navbar.rightText},rightIcon:{type:String,default:()=>CS.navbar.rightIcon},title:{type:[String,Number],default:()=>CS.navbar.title},titleColor:{type:String,default:()=>CS.navbar.titleColor},bgColor:{type:String,default:()=>CS.navbar.bgColor},statusBarBgColor:{type:String,default:()=>""},titleWidth:{type:[String,Number],default:()=>CS.navbar.titleWidth},height:{type:[String,Number],default:()=>CS.navbar.height},leftIconSize:{type:[String,Number],default:()=>CS.navbar.leftIconSize},leftIconColor:{type:String,default:()=>CS.navbar.leftIconColor},autoBack:{type:Boolean,default:()=>CS.navbar.autoBack},titleStyle:{type:[String,Object],default:()=>CS.navbar.titleStyle}}};const lP=MS({name:"u-navbar",mixins:[IS,PS,sP],data:()=>({}),emits:["leftClick","rightClick"],methods:{addStyle:Gx,addUnit:Yx,getWindowInfo:Vx,getPx:zx,leftClick(){this.$emit("leftClick"),null!=lx.interceptor.navbarLeftClick?lx.interceptor.navbarLeftClick():this.autoBack&&Pv()},rightClick(){this.$emit("rightClick")}}},[["render",function(e,t,n,o,i,r){const a=Qg,s=DS(Ao("u-status-bar"),lk),l=DS(Ao("up-icon"),LS),c=Hg;return Sr(),Ir(a,{class:$e(["u-navbar",[e.customClass]])},{default:bo(()=>[e.fixed&&e.placeholder?(Sr(),Ir(a,{key:0,class:"u-navbar__placeholder",style:ze({height:r.addUnit(r.getPx(e.height)+r.getWindowInfo().statusBarHeight,"px")})},null,8,["style"])):zr("",!0),Lr(a,{class:$e([e.fixed&&"u-navbar--fixed"])},{default:bo(()=>[e.safeAreaInsetTop?(Sr(),Ir(s,{key:0,bgColor:e.statusBarBgColor?e.statusBarBgColor:e.bgColor},null,8,["bgColor"])):zr("",!0),Lr(a,{class:$e(["u-navbar__content",[e.border&&"u-border-bottom"]]),style:ze({height:r.addUnit(e.height),backgroundColor:e.bgColor})},{default:bo(()=>[Lr(a,{class:"u-navbar__content__left","hover-class":"u-navbar__content__left--hover","hover-start-time":"150",onClick:r.leftClick},{default:bo(()=>[Ti(e.$slots,"left",{},()=>[e.leftIcon?(Sr(),Ir(l,{key:0,name:e.leftIcon,size:e.leftIconSize,color:e.leftIconColor},null,8,["name","size","color"])):zr("",!0),e.leftText?(Sr(),Ir(c,{key:1,style:ze({color:e.leftIconColor}),class:"u-navbar__content__left__text"},{default:bo(()=>[Dr(K(e.leftText),1)]),_:1},8,["style"])):zr("",!0)],!0)]),_:3},8,["onClick"]),Ti(e.$slots,"center",{},()=>[Lr(c,{class:"u-line-1 u-navbar__content__title",style:ze([{width:r.addUnit(e.titleWidth),color:e.titleColor},r.addStyle(e.titleStyle)])},{default:bo(()=>[Dr(K(e.title),1)]),_:1},8,["style"])],!0),e.$slots.right||e.rightIcon||e.rightText?(Sr(),Ir(a,{key:0,class:"u-navbar__content__right",onClick:r.rightClick},{default:bo(()=>[Ti(e.$slots,"right",{},()=>[e.rightIcon?(Sr(),Ir(l,{key:0,name:e.rightIcon,size:"20"},null,8,["name"])):zr("",!0),e.rightText?(Sr(),Ir(c,{key:1,class:"u-navbar__content__right__text"},{default:bo(()=>[Dr(K(e.rightText),1)]),_:1})):zr("",!0)],!0)]),_:3},8,["onClick"])):zr("",!0)]),_:3},8,["class","style"])]),_:3},8,["class"])]),_:3},8,["class"])}],["__scopeId","data-v-c82aef97"]]),cP=Object.freeze(Object.defineProperty({__proto__:null,default:lP},Symbol.toStringTag,{value:"Module"}));const uP=MS({name:"u-no-network",mixins:[IS,PS,{props:{tips:{type:String,default:()=>CS.noNetwork.tips},zIndex:{type:[String,Number],default:()=>CS.noNetwork.zIndex},image:{type:String,default:()=>CS.noNetwork.image}}}],data:()=>({isConnected:!0,networkType:"none"}),mounted(){this.isIOS="ios"===Wx().platform,Fb(e=>{this.isConnected=e.isConnected,this.networkType=e.networkType,this.emitEvent(this.networkType)}),jb({success:e=>{this.networkType=e.networkType,this.emitEvent(this.networkType),"none"==e.networkType?this.isConnected=!1:this.isConnected=!0}})},emits:["disconnected","connected"],methods:{t:mS,retry(){jb({success:e=>{this.networkType=e.networkType,this.emitEvent(this.networkType),"none"==e.networkType?(iS(mS("up.noNetwork.disconnect")),this.isConnected=!1):(iS(mS("up.noNetwork.connect")),this.isConnected=!0)}}),this.$emit("retry")},emitEvent(e){this.$emit("none"===e?"disconnected":"connected")},async openSettings(){"none"!=this.networkType||this.openSystemSettings()},openAppSettings(){this.gotoAppSetting()},openSystemSettings(){this.isIOS?this.gotoiOSSetting():this.gotoAndroidSetting()},network(){var e=null,t=plus.ios.newObject("CTCellularData"),n=t.plusGetAttribute("restrictedState");return 0==n?e=null:2==n?e=1:1==n&&(e=2),plus.ios.deleteObject(t),e},gotoAppSetting(){if(this.isIOS){var e=plus.ios.import("UIApplication").sharedApplication(),t=plus.ios.import("NSURL"),n=t.URLWithString("app-settings:");e.openURL(n),plus.ios.deleteObject(n),plus.ios.deleteObject(t),plus.ios.deleteObject(e)}else{var o=plus.android.importClass("android.content.Intent"),i=plus.android.importClass("android.provider.Settings"),r=plus.android.importClass("android.net.Uri"),a=plus.android.runtimeMainActivity(),s=new o;s.setAction(i.ACTION_APPLICATION_DETAILS_SETTINGS);var l=r.fromParts("package",a.getPackageName(),null);s.setData(l),a.startActivity(s)}},gotoiOSSetting(){var e=plus.ios.import("UIApplication").sharedApplication(),t=plus.ios.import("NSURL"),n=t.URLWithString("App-prefs:root=General");e.openURL(n),plus.ios.deleteObject(n),plus.ios.deleteObject(t),plus.ios.deleteObject(e)},gotoAndroidSetting(){var e=plus.android.importClass("android.content.Intent"),t=plus.android.importClass("android.provider.Settings"),n=plus.android.runtimeMainActivity(),o=new e(t.ACTION_SETTINGS);n.startActivity(o)}}},[["render",function(e,t,n,o,i,r){const a=DS(Ao("up-icon"),LS),s=Hg,l=DS(Ao("u-button"),nC),c=Qg,u=DS(Ao("u-overlay"),ak);return Sr(),Ir(u,{show:!i.isConnected,zIndex:e.zIndex,onTouchmove:vs(e.noop,["stop","prevent"]),customStyle:{backgroundColor:"#fff",display:"flex",justifyContent:"center"}},{default:bo(()=>[Lr(c,{class:"u-no-network"},{default:bo(()=>[Lr(a,{name:e.image,size:"150",imgMode:"widthFit",class:"u-no-network__error-icon"},null,8,["name"]),Lr(s,{class:"u-no-network__tips"},{default:bo(()=>[Dr(K(e.tips),1)]),_:1}),Lr(c,{class:"u-no-network__retry"},{default:bo(()=>[Lr(l,{size:"mini",text:r.t("up.common.retry"),type:"primary",plain:"",onClick:r.retry},null,8,["text","onClick"])]),_:1})]),_:1})]),_:1},8,["show","zIndex","onTouchmove"])}],["__scopeId","data-v-91ae78af"]]),dP=Object.freeze(Object.defineProperty({__proto__:null,default:uP},Symbol.toStringTag,{value:"Module"}));const hP=MS({name:"u-row-notice",mixins:[IS,PS,{props:{text:{type:String,default:()=>CS.rowNotice.text},icon:{type:String,default:()=>CS.rowNotice.icon},mode:{type:String,default:()=>CS.rowNotice.mode},color:{type:String,default:()=>CS.rowNotice.color},bgColor:{type:String,default:()=>CS.rowNotice.bgColor},fontSize:{type:[String,Number],default:()=>CS.rowNotice.fontSize},speed:{type:[String,Number],default:()=>CS.rowNotice.speed}}}],data:()=>({animationDuration:"0",animationPlayState:"paused",nvueInit:!0,show:!0}),watch:{text:{immediate:!0,handler(e,t){this.vue(),Ex.string(e)}},fontSize(){this.vue()},speed(){this.vue()}},computed:{textStyle(){let e={whiteSpace:"nowrap !important"};return e.color=this.color,e.fontSize=Yx(this.fontSize),e},animationStyle(){let e={};return e.animationDuration=this.animationDuration,e.animationPlayState=this.animationPlayState,e},innerText(){let e=[];const t=this.text.split("");for(let n=0;n{this.animationPlayState="running"},10)},async nvue(){},loopAnimation(e,t){},getNvueRect(e){},clickHandler(e){this.$emit("click")},close(){this.$emit("close")}},beforeUnmount(){this.stopAnimation=!0}},[["render",function(e,t,n,o,i,r){const a=DS(Ao("up-icon"),LS),s=Qg,l=Hg;return Sr(),Ir(s,{class:"u-notice",onClick:r.clickHandler},{default:bo(()=>[Ti(e.$slots,"icon",{},()=>[e.icon?(Sr(),Ir(s,{key:0,class:"u-notice__left-icon"},{default:bo(()=>[Lr(a,{name:e.icon,color:e.color,size:"19"},null,8,["name","color"])]),_:1})):zr("",!0)],!0),Lr(s,{class:"u-notice__content",ref:"u-notice__content"},{default:bo(()=>[Lr(s,{ref:"u-notice__content__text",class:"u-notice__content__text",style:ze([r.animationStyle])},{default:bo(()=>[(Sr(!0),Tr(yr,null,Ai(r.innerText,(e,t)=>(Sr(),Ir(l,{key:t,style:ze([r.textStyle])},{default:bo(()=>[Dr(K(e),1)]),_:2},1032,["style"]))),128))]),_:1},8,["style"])]),_:1},512),["link","closable"].includes(e.mode)?(Sr(),Ir(s,{key:0,class:"u-notice__right-icon"},{default:bo(()=>["link"===e.mode?(Sr(),Ir(a,{key:0,name:"arrow-right",size:17,color:e.color},null,8,["color"])):zr("",!0),"closable"===e.mode?(Sr(),Ir(a,{key:1,onClick:r.close,name:"close",size:16,color:e.color},null,8,["onClick","color"])):zr("",!0)]),_:1})):zr("",!0)]),_:3},8,["onClick"])}],["__scopeId","data-v-1b3eeab9"]]),pP=Object.freeze(Object.defineProperty({__proto__:null,default:hP},Symbol.toStringTag,{value:"Module"})),fP={props:{text:{type:[Array,String],default:()=>CS.noticeBar.text},direction:{type:String,default:()=>CS.noticeBar.direction},step:{type:Boolean,default:()=>CS.noticeBar.step},icon:{type:String,default:()=>CS.noticeBar.icon},mode:{type:String,default:()=>CS.noticeBar.mode},color:{type:String,default:()=>CS.noticeBar.color},bgColor:{type:String,default:()=>CS.noticeBar.bgColor},speed:{type:[String,Number],default:()=>CS.noticeBar.speed},fontSize:{type:[String,Number],default:()=>CS.noticeBar.fontSize},duration:{type:[String,Number],default:()=>CS.noticeBar.duration},disableTouch:{type:Boolean,default:()=>CS.noticeBar.disableTouch},url:{type:String,default:()=>CS.noticeBar.url},linkType:{type:String,default:()=>CS.noticeBar.linkType},justifyContent:{type:String,default:()=>CS.noticeBar.justifyContent}}};const mP=MS({name:"u-notice-bar",mixins:[IS,PS,fP],data:()=>({show:!0}),emits:["click","close"],methods:{addStyle:Gx,click(e){this.$emit("click",e),this.url&&this.linkType&&this.openPage()},close(){this.show=!1,this.$emit("close")}}},[["render",function(e,t,n,o,i,r){const a=DS(Ao("u-column-notice"),kA),s=DS(Ao("u-row-notice"),hP),l=Qg;return i.show?(Sr(),Ir(l,{key:0,class:"u-notice-bar",style:ze([{backgroundColor:e.bgColor},r.addStyle(e.customStyle)])},{default:bo(()=>["column"===e.direction||"row"===e.direction&&e.step?(Sr(),Ir(a,{key:0,color:e.color,bgColor:e.bgColor,text:e.text,mode:e.mode,step:e.step,icon:e.icon,"disable-touch":e.disableTouch,fontSize:e.fontSize,duration:e.duration,justifyContent:e.justifyContent,onClose:r.close,onClick:r.click},null,8,["color","bgColor","text","mode","step","icon","disable-touch","fontSize","duration","justifyContent","onClose","onClick"])):(Sr(),Ir(s,{key:1,color:e.color,bgColor:e.bgColor,text:e.text,mode:e.mode,fontSize:e.fontSize,speed:e.speed,url:e.url,linkType:e.linkType,icon:e.icon,onClose:r.close,onClick:r.click},null,8,["color","bgColor","text","mode","fontSize","speed","url","linkType","icon","onClose","onClick"]))]),_:1},8,["style"])):zr("",!0)}],["__scopeId","data-v-2867a812"]]),gP=Object.freeze(Object.defineProperty({__proto__:null,default:mP},Symbol.toStringTag,{value:"Module"})),yP={props:{top:{type:[String,Number],default:()=>CS.notify.top},type:{type:String,default:()=>CS.notify.type},color:{type:String,default:()=>CS.notify.color},bgColor:{type:String,default:()=>CS.notify.bgColor},message:{type:String,default:()=>CS.notify.message},duration:{type:[String,Number],default:()=>CS.notify.duration},fontSize:{type:[String,Number],default:()=>CS.notify.fontSize},safeAreaInsetTop:{type:Boolean,default:()=>CS.notify.safeAreaInsetTop}}};const bP=MS({name:"u-notify",mixins:[IS,PS,yP],data:()=>({open:!1,timer:null,config:{top:CS.notify.top,type:CS.notify.type,color:CS.notify.color,bgColor:CS.notify.bgColor,message:CS.notify.message,duration:CS.notify.duration,fontSize:CS.notify.fontSize,safeAreaInsetTop:CS.notify.safeAreaInsetTop},tmpConfig:{}}),computed:{containerStyle(){let e=0;0===this.tmpConfig.top&&(e=44);return{top:Yx(0===this.tmpConfig.top?e:this.tmpConfig.top),position:"fixed",left:0,right:0,zIndex:10076}},backgroundColor(){const e={};return this.tmpConfig.bgColor&&(e.backgroundColor=this.tmpConfig.bgColor),e},icon(){let e;return"success"===this.tmpConfig.type?e="checkmark-circle":"error"===this.tmpConfig.type?e="close-circle":"warning"===this.tmpConfig.type&&(e="error-circle"),e}},created(){["primary","success","error","warning"].map(e=>{this[e]=t=>this.show({type:e,message:t})})},methods:{addStyle:Gx,addUnit:Yx,show(e){this.tmpConfig=Kx(this.config,e),this.clearTimer(),this.open=!0,this.tmpConfig.duration>0&&(this.timer=setTimeout(()=>{this.open=!1,this.clearTimer(),"function"==typeof this.tmpConfig.complete&&this.tmpConfig.complete()},this.tmpConfig.duration))},close(){this.clearTimer()},clearTimer(){this.open=!1,clearTimeout(this.timer),this.timer=null}},beforeUnmount(){this.clearTimer()}},[["render",function(e,t,n,o,i,r){const a=DS(Ao("u-status-bar"),lk),s=DS(Ao("up-icon"),LS),l=Hg,c=Qg,u=DS(Ao("u-transition"),ok);return Sr(),Ir(u,{mode:"slide-down",customStyle:r.containerStyle,show:i.open},{default:bo(()=>[Lr(c,{class:$e(["u-notify",[`u-notify--${i.tmpConfig.type}`]]),style:ze([r.backgroundColor,r.addStyle(e.customStyle)])},{default:bo(()=>[i.tmpConfig.safeAreaInsetTop?(Sr(),Ir(a,{key:0})):zr("",!0),Lr(c,{class:"u-notify__warpper"},{default:bo(()=>[Ti(e.$slots,"icon",{},()=>[["success","warning","error"].includes(i.tmpConfig.type)?(Sr(),Ir(s,{key:0,name:i.tmpConfig.icon,color:i.tmpConfig.color,size:1.3*i.tmpConfig.fontSize,customStyle:{marginRight:"4px"}},null,8,["name","color","size"])):zr("",!0)],!0),Lr(l,{class:"u-notify__warpper__text",style:ze({fontSize:r.addUnit(i.tmpConfig.fontSize),color:i.tmpConfig.color})},{default:bo(()=>[Dr(K(i.tmpConfig.message),1)]),_:1},8,["style"])]),_:3})]),_:3},8,["class","style"])]),_:3},8,["customStyle","show"])}],["__scopeId","data-v-6737e5d3"]]),vP=Object.freeze(Object.defineProperty({__proto__:null,default:bP},Symbol.toStringTag,{value:"Module"}));const _P=MS({name:"u-pagination",props:{currentPage:{type:Number,default:1},pageSize:{type:Number,default:10},total:{type:Number,default:0},prevText:{type:String,default:""},nextText:{type:String,default:""},buttonBgColor:{type:String,default:"#f5f7fa"},buttonBorderColor:{type:String,default:"#dcdfe6"},pageSizes:{type:Array,default:()=>[10,20,30,40,50]},layout:{type:String,default:"prev, pager, next"},hideOnSinglePage:{type:Boolean,default:!1}},emits:["update:currentPage","update:pageSize","current-change","size-change"],data(){return{currentPageInput:this.currentPage+""}},computed:{totalPages(){return Math.max(1,Math.ceil(this.total/this.pageSize))},pageSizeIndex(){const e=this.pageSizes.findIndex(e=>e.value===this.pageSize);return e>=0?e:0},pageSizeLabel(){const e=this.pageSizes.find(e=>e.value===this.pageSize);return(null==e?void 0:e.label)||this.pageSize},displayedPages(){const e=this.totalPages,t=this.currentPage;if(e<=4)return Array.from({length:e},(e,t)=>t+1);const n=[];if(t<=2){for(let e=1;e<=4;e++)n.push(e);n.push("..."),n.push(e)}else if(t>=e-1){n.push(1),n.push("...");for(let t=e-3;t<=e;t++)n.push(t)}else n.push(1),n.push("..."),n.push(t-1),n.push(t),n.push(t+1),n.push("..."),n.push(e);return n}},watch:{currentPage(e){this.currentPageInput=e+""}},methods:{t:mS,handleSizeChange(e){var t;const n=e.detail.value,o=(null==(t=this.pageSizes[n])?void 0:t.value)||this.pageSizes[0].value;this.$emit("update:pageSize",o),this.$emit("size-change",o)},prev(){this.currentPage>1&&this.goTo(this.currentPage-1)},next(){this.currentPage=1&&t<=this.totalPages&&this.goTo(t)}}},[["render",function(e,t,n,o,i,r){const a=DS(Ao("up-icon"),LS),s=Qg;return Sr(),Ir(s,{class:"u-pagination"},{default:bo(()=>[Lr(s,{class:$e(["u-pagination-btn",{disabled:1===n.currentPage}]),style:ze({backgroundColor:n.buttonBgColor,borderColor:n.buttonBorderColor}),onClick:r.prev},{default:bo(()=>[n.prevText?(Sr(),Tr(yr,{key:0},[Dr(K(n.prevText),1)],64)):(Sr(),Ir(a,{key:1,name:"arrow-left"}))]),_:1},8,["class","style","onClick"]),n.layout.includes("pager")?(Sr(!0),Tr(yr,{key:0},Ai(r.displayedPages,e=>(Sr(),Ir(s,{key:e,class:$e(["u-pagination-item",{active:e===n.currentPage}]),onClick:t=>r.goTo(e)},{default:bo(()=>[Dr(K(e),1)]),_:2},1032,["class","onClick"]))),128)):zr("",!0),n.total>0&&n.layout.includes("total")?(Sr(),Ir(s,{key:1,class:"u-pagination-total"},{default:bo(()=>[Dr(K(n.currentPage)+" / "+K(r.totalPages),1)]),_:1})):zr("",!0),Lr(s,{class:$e(["u-pagination-btn",{disabled:n.currentPage===r.totalPages}]),style:ze({backgroundColor:n.buttonBgColor,borderColor:n.buttonBorderColor}),onClick:r.next},{default:bo(()=>[n.nextText?(Sr(),Tr(yr,{key:0},[Dr(K(n.nextText),1)],64)):(Sr(),Ir(a,{key:1,name:"arrow-right"}))]),_:1},8,["class","style","onClick"])]),_:1})}],["__scopeId","data-v-e1093c2b"]]),wP=Object.freeze(Object.defineProperty({__proto__:null,default:_P},Symbol.toStringTag,{value:"Module"}));const xP=MS({name:"up-pdf-reader",mixins:[{props:{src:{type:String,default:""},height:{type:String,default:"500px"},baseUrl:{type:String,default:"https://uview-plus.jiangruyi.com/h5"}}}],data:()=>({baseUrlInner:"https://uview-plus.jiangruyi.com/h5",viewerUrl:""}),watch:{baseUrl:function(e){this.baseUrl=e},src:function(e){this.viewerUrl=`${this.baseUrlInner}/static/pdfjs/web/viewer.html?file=`+encodeURIComponent(e)}},mounted(){this.baseUrl&&(this.baseUrlInner=this.baseUrl),this.viewerUrl=`${this.baseUrlInner}/static/pdfjs/web/viewer.html?file=`+encodeURIComponent(this.src)}},[["render",function(e,t,n,o,i,r){const a=cb,s=Qg;return Sr(),Ir(s,{class:"up-pdf-reader",style:ze({height:e.height})},{default:bo(()=>[Lr(a,{fullscreen:!1,src:i.viewerUrl,style:ze({width:"750rpx",height:e.height}),"webview-styles":{width:"750rpx",height:e.height},frameborder:"0"},null,8,["src","style","webview-styles"])]),_:1},8,["style"])}],["__scopeId","data-v-7f0ab58c"]]),SP=Object.freeze(Object.defineProperty({__proto__:null,default:xP},Symbol.toStringTag,{value:"Module"}));const kP=MS({name:"u-picker-column",mixins:[IS,PS,{props:{}}]},[["render",function(e,t,n,o,i,r){const a=Qg,s=kg;return Sr(),Ir(s,null,{default:bo(()=>[Lr(a,{class:"u-picker-column"})]),_:1})}]]),CP=Object.freeze(Object.defineProperty({__proto__:null,default:kP},Symbol.toStringTag,{value:"Module"}));const AP=MS({name:"u-picker-data",props:{modelValue:{type:[String,Number],default:""},title:{type:String,default:""},description:{type:String,default:""},options:{type:Array,default:()=>[]},valueKey:{type:String,default:"id"},labelKey:{type:String,default:"name"}},data:()=>({show:!1,current:"",defaultIndex:[]}),created(){this.modelValue?this.options.forEach((e,t)=>{e[this.valueKey]==this.modelValue&&(this.current=e[this.labelKey],this.defaultIndex=[t])}):this.clear()},watch:{modelValue(){this.modelValue?this.options.forEach((e,t)=>{e[this.valueKey]==this.modelValue&&(this.current=e[this.labelKey],this.defaultIndex=[t])}):this.clear()}},computed:{optionsInner(){return[this.options]}},emits:["update:modelValue","cancel","close","confirm"],methods:{hideKeyboard(){Xb()},cancel(){this.show=!1,this.$emit("cancel")},close(){this.$emit("close")},clear(){this.current="",this.defaultIndex=[]},confirm(e){const{columnIndex:t,index:n,value:o}=e;this.show=!1,this.$emit("update:modelValue",o[0][this.valueKey]),this.defaultIndex=t,this.current=o[0][this.labelKey],this.$emit("confirm"),lS(this,"change")}}},[["render",function(e,t,n,o,i,r){const a=DS(Ao("up-input"),FS),s=Qg,l=DS(Ao("up-picker"),YA);return Sr(),Ir(s,{class:"u-picker-data"},{default:bo(()=>[Lr(s,{class:"u-picker-data__trigger"},{default:bo(()=>[Ti(e.$slots,"trigger",{current:i.current},void 0,!0),e.$slots.trigger?zr("",!0):(Sr(),Ir(a,{key:0,modelValue:i.current,disabled:"",disabledColor:"#ffffff",placeholder:n.title,border:"none"},null,8,["modelValue","placeholder"])),Lr(s,{onClick:t[0]||(t[0]=e=>i.show=!0),class:"u-picker-data__trigger__cover"})]),_:3}),Lr(l,{show:i.show,columns:r.optionsInner,keyName:n.labelKey,defaultIndex:i.defaultIndex,onConfirm:r.confirm,onCancel:r.cancel,onClose:r.close},null,8,["show","columns","keyName","defaultIndex","onConfirm","onCancel","onClose"])]),_:3})}],["__scopeId","data-v-389db455"]]),TP=Object.freeze(Object.defineProperty({__proto__:null,default:AP},Symbol.toStringTag,{value:"Module"})),IP={props:{text:{type:[String,Number],default:()=>CS.tooltip.text},copyText:{type:[String,Number],default:()=>CS.tooltip.copyText},size:{type:[String,Number],default:()=>CS.tooltip.size},color:{type:String,default:()=>CS.tooltip.color},bgColor:{type:String,default:()=>CS.tooltip.bgColor},popupBgColor:{type:String,default:()=>CS.tooltip.popupBgColor},direction:{type:String,default:()=>CS.tooltip.direction},zIndex:{type:[String,Number],default:()=>CS.tooltip.zIndex},showCopy:{type:Boolean,default:()=>CS.tooltip.showCopy},buttons:{type:Array,default:()=>CS.tooltip.buttons},overlay:{type:Boolean,default:()=>CS.tooltip.overlay},showToast:{type:Boolean,default:()=>CS.tooltip.showToast},triggerMode:{type:String,default:()=>CS.tooltip.triggerMode},forcePosition:{type:Object,default:()=>CS.tooltip.forcePosition}}};const EP=MS({name:"u-tooltip",mixins:[IS,PS,IP],data:()=>({showTooltip:!0,textId:qx(),tooltipId:qx(),tooltipTop:-1e4,tooltipInfo:{width:0,left:0},triggerInfo:{width:0,left:0},indicatorStyle:{},screenGap:12,indicatorWidth:14,tooltipStyle:{},calcReacted:!1}),watch:{async propsChange(){await this.getElRect()}},computed:{propsChange(){return[this.text,this.buttons]},tooltipStyleCpu(){if(!this.calcReacted)return{};const e={},t=Vx();if("left"===this.direction)e.transform="",e.top="-"+Yx((this.triggerInfo.height-this.tooltipInfo.height)/2,"px"),e.right=Yx(this.triggerInfo.width+this.indicatorWidth,"px"),this.indicatorStyle={},this.indicatorStyle.right="-4px",this.indicatorStyle.top=Yx((this.tooltipInfo.height-this.indicatorWidth)/2,"px");else if("right"===this.direction)e.transform="",e.top="-"+Yx((this.triggerInfo.height-this.tooltipInfo.height)/2,"px"),e.left=Yx(this.triggerInfo.width+this.indicatorWidth,"px"),this.indicatorStyle={},this.indicatorStyle.left="-4px",this.indicatorStyle.top=Yx((this.triggerInfo.height-this.indicatorWidth)/2,"px");else if("top"===this.direction||"bottom"===this.direction){if(e.transform=`translateY(${"top"===this.direction?"-100%":"100%"})`,this.tooltipInfo.width/2>this.triggerInfo.left+this.triggerInfo.width/2-this.screenGap)this.indicatorStyle={},e.left=`-${Yx(this.triggerInfo.left-this.screenGap)}`,this.indicatorStyle.left=Yx(this.triggerInfo.width/2-zx(e.left)-this.indicatorWidth/2,"px");else if(this.tooltipInfo.width/2>t.windowWidth-this.triggerInfo.right+this.triggerInfo.width/2-this.screenGap)this.indicatorStyle={},e.right=`-${Yx(t.windowWidth-this.triggerInfo.right-this.screenGap)}`,this.indicatorStyle.right=Yx(this.triggerInfo.width/2-zx(e.right)-this.indicatorWidth/2);else{const t=Math.abs(this.triggerInfo.width/2-this.tooltipInfo.width/2);e.left=this.triggerInfo.width>this.tooltipInfo.width?Yx(t):-Yx(t),this.indicatorStyle={}}"top"===this.direction?(e.marginTop="-10px",this.indicatorStyle.bottom="-4px"):(e.marginBottom="-10px",this.indicatorStyle.top="-4px")}let n={...e,...this.forcePosition};return this.tooltipStyle=n,n}},mounted(){this.init()},emits:["click"],methods:{addStyle:Gx,addUnit:Yx,async init(){await this.getElRect()},async clickHander(){"click"==this.triggerMode&&(this.tooltipTop=0,this.showTooltip=!0)},async longpressHandler(){"longpress"==this.triggerMode&&(this.tooltipTop=0,this.showTooltip=!0)},overlayClickHandler(){this.showTooltip=!1},btnClickHandler(e){this.showTooltip=!1,this.$emit("click",this.showCopy?e+1:e)},queryRect(e){return new Promise(t=>{this.$uGetRect(`#${e}`).then(e=>{t(e)})})},getElRect(){return new Promise(async e=>{this.showTooltip=!0,this.tooltipTop=-1e4,Fx(500).then(async()=>{this.tooltipInfo=await this.queryRect(this.tooltipId),this.showTooltip=!1,this.triggerInfo=await this.queryRect(this.textId),Fx(500).then(()=>{this.calcReacted=!0}),e()})})},setClipboardData(){this.showTooltip=!1,this.$emit("click",0),Wb({data:this.copyText||this.text,success:()=>{this.showToast&&iS("复制成功")},fail:()=>{this.showToast&&iS("复制失败")},complete:()=>{this.showTooltip=!1}})}}},[["render",function(e,t,n,o,i,r){const a=DS(Ao("u-overlay"),ak),s=Hg,l=Qg,c=DS(Ao("u-line"),VS),u=DS(Ao("u-transition"),ok);return Sr(),Ir(l,{class:"u-tooltip",style:ze([r.addStyle(e.customStyle)])},{default:bo(()=>[Lr(a,{show:i.showTooltip&&-1e4!==i.tooltipTop&&e.overlay,customStyle:"backgroundColor: rgba(0, 0, 0, 0)",onClick:r.overlayClickHandler},null,8,["show","onClick"]),Lr(l,{class:"u-tooltip__wrapper"},{default:bo(()=>[Lr(l,{class:"u-tooltip__trigger",id:i.textId,ref:i.textId,onClick:vs(r.clickHander,["stop"]),onLongpress:vs(r.longpressHandler,["stop"])},{default:bo(()=>[Ti(e.$slots,"trigger",{},void 0,!0),e.$slots.trigger?zr("",!0):(Sr(),Ir(s,{key:0,class:"u-tooltip__wrapper__text",userSelect:!1,selectable:!1,style:ze({color:e.color,backgroundColor:e.bgColor&&i.showTooltip&&-1e4!==i.tooltipTop?e.bgColor:"transparent"})},{default:bo(()=>[Dr(K(e.text),1)]),_:1},8,["style"]))]),_:3},8,["id","onClick","onLongpress"]),Lr(u,{mode:"fade",show:i.showTooltip,duration:"300",customStyle:{position:"absolute",top:r.addUnit(i.tooltipTop,"px"),zIndex:e.zIndex,...r.tooltipStyleCpu}},{default:bo(()=>[Lr(l,{class:"u-tooltip__wrapper__popup",id:i.tooltipId,ref:i.tooltipId},{default:bo(()=>[e.showCopy||e.buttons.length?(Sr(),Ir(l,{key:0,class:"u-tooltip__wrapper__popup__indicator","hover-class":"u-tooltip__wrapper__popup__indicator--hover",style:ze([i.indicatorStyle,{width:r.addUnit(i.indicatorWidth),height:r.addUnit(i.indicatorWidth),backgroundColor:e.popupBgColor}])},null,8,["style"])):zr("",!0),Lr(l,{class:"u-tooltip__wrapper__popup__list",style:ze({backgroundColor:e.popupBgColor,color:e.color})},{default:bo(()=>[Ti(e.$slots,"content",{},void 0,!0),e.$slots.content?zr("",!0):(Sr(),Tr(yr,{key:0},[e.showCopy?(Sr(),Ir(l,{key:0,class:"u-tooltip__wrapper__popup__list__btn","hover-class":"u-tooltip__wrapper__popup__list__btn--hover",style:ze({backgroundColor:e.popupBgColor}),onClick:r.setClipboardData},{default:bo(()=>[Lr(s,{class:"u-tooltip__wrapper__popup__list__btn__text"},{default:bo(()=>[Dr("复制")]),_:1})]),_:1},8,["style","onClick"])):zr("",!0),e.showCopy&&e.buttons.length>0?(Sr(),Ir(c,{key:1,direction:"column",color:"#8d8e90",length:"18"})):zr("",!0),(Sr(!0),Tr(yr,null,Ai(e.buttons,(t,n)=>(Sr(),Tr(yr,{key:n},[Lr(l,{class:"u-tooltip__wrapper__popup__list__btn","hover-class":"u-tooltip__wrapper__popup__list__btn--hover"},{default:bo(()=>[Lr(s,{class:"u-tooltip__wrapper__popup__list__btn__text",onClick:e=>r.btnClickHandler(n)},{default:bo(()=>[Dr(K(t),1)]),_:2},1032,["onClick"])]),_:2},1024),n({})},direction:{type:String,default:"top"}}};const OP=MS({name:"up-popover",mixins:[IS,PS,BP],data:()=>({}),methods:{onOpen(){this.$emit("open")},onClose(){this.$emit("close")},onClick(){this.$emit("click")},open(){this.$refs.tooltip&&this.$refs.tooltip.open()},close(){this.$refs.tooltip&&this.$refs.tooltip.close()}}},[["render",function(e,t,n,o,i,r){const a=Hg,s=Qg,l=DS(Ao("up-tooltip"),EP);return Sr(),Ir(s,{class:"up-popover"},{default:bo(()=>[Lr(l,{ref:"tooltip",text:e.text,color:e.color,"bg-color":e.bgColor,"popup-bg-color":e.popupBgColor,placement:e.placement,"trigger-mode":e.triggerMode,show:e.show,"z-index":e.zIndex,"force-position":e.forcePosition,direction:e.direction,onOpen:r.onOpen,onClose:r.onClose,onClick:r.onClick},{trigger:bo(()=>[Ti(e.$slots,"trigger",{},void 0,!0)]),content:bo(()=>[Lr(s,{class:"up-popover__content"},{default:bo(()=>[Ti(e.$slots,"content",{},()=>[Lr(a,null,{default:bo(()=>[Dr(K(e.text),1)]),_:1})],!0)]),_:3})]),_:3},8,["text","color","bg-color","popup-bg-color","placement","trigger-mode","show","z-index","force-position","direction","onOpen","onClose","onClick"])]),_:3})}],["__scopeId","data-v-de70b865"]]),NP=Object.freeze(Object.defineProperty({__proto__:null,default:OP},Symbol.toStringTag,{value:"Module"}));let MP={};!function(){function e(e){return e<128?[e]:e<2048?[192+(e>>6),128+(63&e)]:[224+(e>>12),128+(e>>6&63),128+(63&e)]}function t(t,n){this.typeNumber=-1,this.errorCorrectLevel=n,this.modules=null,this.moduleCount=0,this.dataCache=null,this.rsBlocks=null,this.totalDataCount=-1,this.data=t,this.utf8bytes=function(t){for(var n=[],o=0;o=7&&this.setupTypeNumber(!0),this.mapData(this.dataCache,e)},setupPositionProbePattern:function(e,t){for(var n=-1;n<=7;n++)if(!(e+n<=-1||this.moduleCount<=e+n))for(var o=-1;o<=7;o++)t+o<=-1||this.moduleCount<=t+o||(this.modules[e+n][t+o]=0<=n&&n<=6&&(0==o||6==o)||0<=o&&o<=6&&(0==n||6==n)||2<=n&&n<=4&&2<=o&&o<=4)},createQrcode:function(){for(var e=0,t=0,n=null,o=0;o<8;o++){this.makeImpl(o);var i=d.getLostPoint(this);(0==o||e>i)&&(e=i,t=o,n=this.modules)}this.modules=n,this.setupTypeInfo(!1,t),this.typeNumber>=7&&this.setupTypeNumber(!1)},setupTimingPattern:function(){for(var e=8;e>n&1);this.modules[Math.floor(n/3)][n%3+this.moduleCount-8-3]=o,this.modules[n%3+this.moduleCount-8-3][Math.floor(n/3)]=o}},setupTypeInfo:function(e,t){for(var o=n[this.errorCorrectLevel]<<3|t,i=d.getBCHTypeInfo(o),r=0;r<15;r++){var a=!e&&1==(i>>r&1);r<6?this.modules[r][8]=a:r<8?this.modules[r+1][8]=a:this.modules[this.moduleCount-15+r][8]=a;a=!e&&1==(i>>r&1);r<8?this.modules[8][this.moduleCount-r-1]=a:r<9?this.modules[8][15-r-1+1]=a:this.modules[8][15-r-1]=a}this.modules[this.moduleCount-8][8]=!e},createData:function(){var e=new g,n=this.typeNumber>9?16:8;e.put(4,4),e.put(this.utf8bytes.length,n);for(var o=0,i=this.utf8bytes.length;o=8*this.totalDataCount||(e.put(t.PAD0,8),e.length>=8*this.totalDataCount));)e.put(t.PAD1,8);return this.createBytes(e)},createBytes:function(e){for(var t=0,n=0,o=0,i=this.rsBlock.length/3,r=new Array,a=0;a=0?v.get(_):0}}var w=new Array(this.totalDataCount),x=0;for(a=0;a0;a-=2)for(6==a&&a--;;){for(var s=0;s<2;s++)if(null==this.modules[o][a-s]){var l=!1;r>>i&1)),d.getMask(t,o,a-s)&&(l=!l),this.modules[o][a-s]=l,-1==--i&&(r++,i=7)}if((o+=n)<0||this.moduleCount<=o){o-=n,n=-n;break}}}},t.PAD0=236,t.PAD1=17;for(var n=[1,0,3,2],o=0,i=1,r=2,a=3,s=4,l=5,c=6,u=7,d={PATTERN_POSITION_TABLE:[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],G15:1335,G18:7973,G15_MASK:21522,getBCHTypeInfo:function(e){for(var t=e<<10;d.getBCHDigit(t)-d.getBCHDigit(d.G15)>=0;)t^=d.G15<=0;)t^=d.G18<>>=1;return t},getPatternPosition:function(e){return d.PATTERN_POSITION_TABLE[e-1]},getMask:function(e,t,n){switch(e){case o:return(t+n)%2==0;case i:return t%2==0;case r:return n%3==0;case a:return(t+n)%3==0;case s:return(Math.floor(t/2)+Math.floor(n/3))%2==0;case l:return t*n%2+t*n%3==0;case c:return(t*n%2+t*n%3)%2==0;case u:return(t*n%3+(t+n)%2)%2==0;default:throw new Error("bad maskPattern:"+e)}},getErrorCorrectPolynomial:function(e){for(var t=new f([1],0),n=0;n3&&e.modules[i][s-1]&&e.modules[i][s-2]&&e.modules[i][s-3]&&e.modules[i][s-4]&&(n+=40)),i=5&&(n+=3+r-5),r=1),l&&o++}for(s=0;s3&&e.modules[i-1][s]&&e.modules[i-2][s]&&e.modules[i-3][s]&&e.modules[i-4][s]&&(n+=40)),a^l?r++:(a=l,r>=5&&(n+=3+r-5),r=1)}return n+=10*(Math.abs(100*o/t/t-50)/5)}},h={glog:function(e){if(e<1)throw new Error("glog("+e+")");return h.LOG_TABLE[e]},gexp:function(e){for(;e<0;)e+=255;for(;e>=256;)e-=255;return h.EXP_TABLE[e]},EXP_TABLE:new Array(256),LOG_TABLE:new Array(256)},p=0;p<8;p++)h.EXP_TABLE[p]=1<=n;){var r=h.glog(o[0])-h.glog(e.get(0));for(i=0;i9?2:1;if(this.utf8bytes.length+a>>7-e%8&1},put:function(e,t){for(var n=0;n>>t-n-1&1)},putBit:function(e){var t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),e&&(this.buffer[t]|=128>>>this.length%8),this.length++}};let y=[];MP=function(e){this.options={text:"",size:256,correctLevel:3,background:"#ffffff",foreground:"#000000",pdground:"#000000",image:"",imageSize:30,canvasId:e.canvasId,nvueContext:e.nvueContext,context:e.context,usingComponents:e.usingComponents,showLoading:e.showLoading,loadingText:e.loadingText};let n=null;if("string"==typeof e&&(e={text:e}),e)for(var o in e)this.options[o]=e[o];for(var i=null,r=(o=0,y.length);o1&&e.row<5&&e.col>1&&e.col<5||e.row>e.count-6&&e.row1&&e.col<5||e.row>1&&e.row<5&&e.col>e.count-6&&e.colnew Promise((t,n)=>{try{Ep().in(this.options.context).select(`#${e}`).fields({node:!0,size:!0}).exec(e=>{t(e[0].node)})}catch(o){console.error("createCanvasContextFail",o)}});!async function(e){e.showLoading&&a_({title:e.loadingText,mask:!0});var t="";e.nvueContext?t=e.nvueContext:(n=await s(e.canvasId),t=n.getContext("2d")),e.context.ctx=t,e.context.canvas=n;for(var o=i.getModuleCount(),r=e.size,c=e.imageSize,u=(r/o).toPrecision(4),d=(r/o).toPrecision(4),h=0;h{t.drawImage(n,y,b,c,c)},n.src=e.image}}setTimeout(()=>{e.nvueContext?t.draw(!0,()=>{setTimeout(()=>{e.nvueContext?t.toTempFilePath(0,0,e.width,e.height,e.width,e.height,"",1,function(t){e.cbResult&&e.cbResult(t.tempFilePath)}):mp({width:e.width,height:e.height,destWidth:e.width,destHeight:e.height,canvasId:e.canvasId,quality:Number(1),success:function(t){e.cbResult&&(l(t.tempFilePath)?l(t.apFilePath)?e.cbResult(t.tempFilePath):e.cbResult(t.apFilePath):e.cbResult(t.tempFilePath))},fail:function(t){e.cbResult&&e.cbResult(t)},complete:function(){s_()}},e.context)},e.text.length+100)}):e.cbResult("")},e.usingComponents?0:150)}(this.options);let l=function(e){let t=typeof e,n=!1;return"number"==t&&""==String(e)||"undefined"==t?n=!0:"object"==t?"{}"!=JSON.stringify(e)&&"[]"!=JSON.stringify(e)&&null!=e||(n=!0):"string"==t?""!=e&&"undefined"!=e&&"null"!=e&&"{}"!=e&&"[]"!=e||(n=!0):"function"==t&&(n=!1),n}},MP.prototype.clear=function(e){var t="";options.nvueContext?t=options.nvueContext:hp(this.options.canvasId,this.options.context),t.clearRect(0,0,this.options.size,this.options.size),t.draw(!1,()=>{e&&e()})}}();const LP=MP;let RP;const DP=MS({name:"u-qrcode",props:{cid:{type:String,default:()=>`u-qrcode-canvas${Math.floor(1e6*Math.random())}`},size:{type:Number,default:200},unit:{type:String,default:"px"},show:{type:Boolean,default:!0},val:{type:String,default:""},background:{type:String,default:"#ffffff"},foreground:{type:String,default:"#000000"},pdground:{type:String,default:"#000000"},icon:{type:String,default:""},iconSize:{type:Number,default:40},lv:{type:Number,default:3},onval:{type:Boolean,default:!0},loadMake:{type:Boolean,default:!0},usingComponents:{type:Boolean,default:!0},showLoading:{type:Boolean,default:!0},loadingText:{type:String,default:"生成中"},allowPreview:{type:Boolean,default:!1},useRootHeightAndWidth:{type:Boolean,default:()=>!1}},emits:["result","longpressCallback"],data(){return{loading:!1,result:"",popupShow:!1,list:[{name:"保存二维码"}],rootId:`rootId${Number(100*Math.random()).toFixed(0)}`,ganvas:null,context:"",canvasObj:{},sizeLocal:this.size,ctx:null,canvas:null}},async mounted(){this.useRootHeightAndWidth&&await this.setNewSize(),this.loadMake&&(this._empty(this.val)||setTimeout(()=>{setTimeout(()=>{this._makeCode()})},0))},methods:{_makeCode(){let e=this;this._empty(this.val)?i_({title:"二维码内容不能为空",icon:"none",duration:2e3}):(this.loading=!0,RP=new LP({context:e,canvasId:e.cid,nvueContext:e.context,usingComponents:e.usingComponents,showLoading:!1,loadingText:e.loadingText,text:e.val,size:e.sizeLocal,background:e.background,foreground:e.foreground,pdground:e.pdground,correctLevel:e.lv,image:e.icon,imageSize:e.iconSize,cbResult:function(t){e._result(t)}}))},_clearCode(){this._result(""),RP.clear()},_saveCode(){let e=this;""!=this.result&&R_({filePath:e.result,success:function(){i_({title:"二维码保存成功",icon:"success",duration:2e3})}})},preview(e){this.allowPreview&&vv({urls:[this.result],longPressActions:{itemList:["保存二维码图片"],success:function(e){if(0===e.tapIndex)that._saveCode()},fail:function(e){console.log(e.errMsg)}}}),this.$emit("preview",{url:this.result},e)},async toTempFilePath({success:e,fail:t}){this.context?this.ctx.toTempFilePath(0,0,this.sizeLocal,this.sizeLocal,this.sizeLocal,this.sizeLocal,"",1,t=>{e(t)}):e({tempFilePath:this.ctx.canvas.toDataURL("image/png",1)})},async longpress(){this.toTempFilePath({success:e=>{this.$emit("longpressCallback",e.tempFilePath)},fail:e=>{}})},async setNewSize(){const e=await this.getNode(this.rootId,!1),{width:t,height:n}=e;this.sizeLocal=t>n?n:t},async getNode(e,t){return new Promise((n,o)=>{try{Ep().in(this).select(`#${e}`).fields({node:!0,size:!0}).exec(e=>{n(t?e[0].node:e[0])})}catch(i){console.error("获取节点失败",i)}})},selectClick(e){if(0===e)alert("保存二维码"),this._saveCode()},_result(e){this.loading=!1,this.result=e,this.$emit("result",e)},_empty(e){let t=typeof e,n=!1;return"number"==t&&""==String(e)||"undefined"==t?n=!0:"object"==t?"{}"!=JSON.stringify(e)&&"[]"!=JSON.stringify(e)&&null!=e||(n=!0):"string"==t?""!=e&&"undefined"!=e&&"null"!=e&&"{}"!=e&&"[]"!=e||(n=!0):"function"==t&&(n=!1),n}},watch:{size:function(e,t){e==t||this._empty(e)||(this.cSize=e,this._empty(this.val)||setTimeout(()=>{this._makeCode()},100))},val:function(e,t){this.onval&&(e==t||this._empty(e)||setTimeout(()=>{this._makeCode()},0))}},computed:{}},[["render",function(e,t,n,o,i,r){const a=om,s=DS(Ao("up-loading-icon"),XS),l=Qg;return Sr(),Ir(l,{class:"u-qrcode",id:i.rootId,style:ze({width:n.useRootHeightAndWidth?"100%":"auto",height:n.useRootHeightAndWidth?"100%":"auto"}),onLongpress:r.longpress},{default:bo(()=>[Lr(l,{class:"u-qrcode__content",onClick:r.preview},{default:bo(()=>[Lr(a,{class:"u-qrcode__canvas",id:n.cid,"canvas-id":n.cid,type:"2d",style:ze({width:i.sizeLocal+n.unit,height:i.sizeLocal+n.unit})},null,8,["id","canvas-id","style"]),n.showLoading&&i.loading?(Sr(),Ir(l,{key:0,class:"u-qrcode__loading",style:ze({width:i.sizeLocal+n.unit,height:i.sizeLocal+n.unit})},{default:bo(()=>[Lr(s,{vertical:"",text:n.loadingText,textSize:"14px"},null,8,["text"])]),_:1},8,["style"])):zr("",!0)]),_:1},8,["onClick"])]),_:1},8,["id","style","onLongpress"])}],["__scopeId","data-v-71a04bd9"]]),zP=Object.freeze(Object.defineProperty({__proto__:null,default:DP},Symbol.toStringTag,{value:"Module"}));const $P=MS({name:"up-poster",props:{json:{type:Object,default:()=>({})}},data:()=>({canvasId:"u-poster-canvas-"+Date.now(),showCanvas:!1,canvasWidth:0,canvasHeight:0,qrCodeValue:"",qrCodeSize:200,qrCodeShow:!1,qrCodeMap:new Map}),computed:{getTextStyle:()=>e=>{const t={};return e.color&&(t.color=e.color),e.fontSize&&(t.fontSize=e.fontSize),e.fontWeight&&(t.fontWeight=e.fontWeight),e.lineHeight&&(t.lineHeight=e.lineHeight),e.textAlign&&(t.textAlign=e.textAlign),t}},methods:{async exportImage(){return new Promise(async(e,t)=>{try{const n=this.json.css,o=this.convertRpxToPx(n.width||"750rpx"),i=this.convertRpxToPx(n.height||"1114rpx");this.canvasWidth=o,this.canvasHeight=i,this.showCanvas=!0,await this.$nextTick();const r=hp(this.canvasId,this);n.background&&(n.background.includes("linear-gradient")||n.background.includes("radial-gradient")?this.drawGradientBackground(r,n,0,0,o,i):(r.setFillStyle(n.background),r.fillRect(0,0,o,i)));for(const e of this.json.views)await this.drawItem(r,e,o,i);r.draw(!1,()=>{setTimeout(()=>{mp({canvasId:this.canvasId,success:t=>{this.showCanvas=!1,e({width:o,height:i,path:t.tempFilePath,blob:this.dataURLToBlob(t.tempFilePath)})},fail:e=>{this.showCanvas=!1,t(new Error("导出图片失败: "+JSON.stringify(e)))}},this)},300)}),setTimeout(()=>{this.showCanvas=!1,t(new Error("导出图片超时"))},1e4)}catch(n){this.showCanvas=!1,t(n)}})},async drawItem(e,t,n,o){const i=t.css||{},r=this.convertRpxToPx(i.left||"0rpx"),a=this.convertRpxToPx(i.top||"0rpx"),s=this.convertRpxToPx(i.width||"0rpx"),l=this.convertRpxToPx(i.height||"0rpx");switch(t.type){case"view":if(i.background)if(i.background.includes("linear-gradient")||i.background.includes("radial-gradient"))this.drawGradientBackground(e,i,r,a,s,l);else if(e.setFillStyle(i.background),i.radius){const t=this.convertRpxToPx(i.radius);this.drawRoundRect(e,r,a,s,l,t,i.background)}else e.fillRect(r,a,s,l);break;case"text":if(i.color&&e.setFillStyle(i.color),i.fontSize){const t=this.convertRpxToPx(i.fontSize);e.setFontSize(t)}if(i.fontWeight&&e.setLineWidth("bold"===i.fontWeight?2:1),i.lineClamp)this.drawTextWithLineClamp(e,t.text,r,a,s,i);else{const n=i.fontSize?this.convertRpxToPx(i.fontSize)/2:10;e.fillText(t.text,r,a+n)}break;case"image":return new Promise(n=>{Kb({src:t.src,success:t=>{if(i.radius){const t=this.convertRpxToPx(i.radius);this.clipRoundRect(e,r,a,s,l,t)}e.drawImage(t.path,r,a,s,l),e.restore(),n()},fail:o=>{e.setFillStyle("#f5f5f5"),e.fillRect(r,a,s,l),console.log("图片加载失败: "+t.src,o),n()}})});case"qrcode":if(t.text){const n=await this.generateQRCode(t.text,s,l);return new Promise(t=>{Kb({src:n,success:n=>{e.drawImage(n.path,r,a,s,l),t()},fail:()=>{e.setFillStyle("#f5f5f5"),e.fillRect(r,a,s,l),e.setFillStyle("#999"),e.setFontSize(12),e.setTextAlign("center"),e.fillText("QR",r+s/2,a+l/2),e.setTextAlign("left"),t()}})})}e.setFillStyle("#f5f5f5"),e.fillRect(r,a,s,l),e.setFillStyle("#999"),e.setFontSize(12),e.setTextAlign("center"),e.fillText("QR",r+s/2,a+l/2),e.setTextAlign("left")}},drawRoundRect(e,t,n,o,i,r,a){e.save(),e.beginPath(),e.moveTo(t+r,n),e.lineTo(t+o-r,n),e.quadraticCurveTo(t+o,n,t+o,n+r),e.lineTo(t+o,n+i-r),e.quadraticCurveTo(t+o,n+i,t+o-r,n+i),e.lineTo(t+r,n+i),e.quadraticCurveTo(t,n+i,t,n+i-r),e.lineTo(t,n+r),e.quadraticCurveTo(t,n,t+r,n),e.closePath(),a&&(e.setFillStyle(a),e.fill()),e.restore()},clipRoundRect(e,t,n,o,i,r){e.save(),e.beginPath(),e.arc(t+r,n+r,r,Math.PI,1.5*Math.PI),e.lineTo(t+o-r,n),e.arc(t+o-r,n+r,r,1.5*Math.PI,2*Math.PI),e.lineTo(t+o,n+i-r),e.arc(t+o-r,n+i-r,r,0,.5*Math.PI),e.lineTo(t+r,n+i),e.arc(t+r,n+i-r,r,.5*Math.PI,Math.PI),e.closePath(),e.clip()},drawTextWithLineClamp(e,t,n,o,i,r){const a=parseInt(r.lineClamp)||1,s=r.lineHeight?this.convertRpxToPx(r.lineHeight):20,l=[];let c="";for(let u=0;ui&&""!==c){if(l.push(c),c=n,l.length===a){if(r.width>i){let t=c.substring(0,c.length-1);for(;e.measureText(t+"...").width>i&&t.length>0;)t=t.substring(0,t.length-1);l[l.length-1]=t+"..."}break}}else c=o;u===t.length-1&&l.length{const i=`${e}_${t}_${n}`;if(this.qrCodeMap.has(i))o(this.qrCodeMap.get(i));else try{this.qrCodeValue=e,this.qrCodeSize=Math.max(t,n),this.qrCodeShow=!0,this.$nextTick(()=>{this.$refs.qrCode?setTimeout(()=>{this.$refs.qrCode.toTempFilePath({success:e=>{this.qrCodeMap.set(i,e.tempFilePath),this.qrCodeShow=!1,o(e.tempFilePath)},fail:e=>{console.error("二维码生成失败:",e),this.qrCodeShow=!1}})},300):this.qrCodeShow=!1})}catch(r){console.error("生成二维码出错:",r),this.qrCodeShow=!1}})},convertRpxToPx(e){if("number"==typeof e)return e;if("string"==typeof e&&e.endsWith("rpx")){return $x(parseFloat(e))}return parseFloat(e)||0},drawGradientBackground(e,t,n,o,i,r){const a=t.background;let s=null;if(a.includes("linear-gradient")){const t=a.match(/linear-gradient\((\d+)deg/),l=t?parseInt(t[1]):135;let c=n,u=o,d=n+i,h=o+r;0===l?(c=n,u=o+r,d=n,h=o):90===l?(c=n,u=o,d=n+i,h=o):180===l?(c=n,u=o,d=n,h=o+r):270===l&&(c=n+i,u=o,d=n,h=o),s=e.createLinearGradient(c,u,d,h);const p=a.match(/#[0-9a-fA-F]+|rgba?\([^)]+\)/g);p&&p.length>=2&&p.forEach((e,t)=>{const n=t/(p.length-1);s.addColorStop(n,e)})}else if(a.includes("radial-gradient")){const t=n+i/2,l=o+r/2,c=Math.min(i,r)/2;s=e.createRadialGradient(t,l,0,t,l,c);const u=a.match(/#[0-9a-fA-F]+|rgba?\([^)]+\)/g);u&&u.length>=2&&u.forEach((e,t)=>{const n=t/(u.length-1);s.addColorStop(n,e)})}if(s)if(e.setFillStyle(s),t.radius){const a=this.convertRpxToPx(t.radius);this.drawRoundRect(e,n,o,i,r,a,s)}else e.fillRect(n,o,i,r)},dataURLToBlob(e){if(e&&e.startsWith("data:image")){const t=e.split(";base64,"),n=t[0].split(":")[1],o=window.atob(t[1]),i=o.length,r=new Uint8Array(i);for(let e=0;e[i.showCanvas?(Sr(),Ir(a,{key:0,class:"up-poster__hidden-canvas","canvas-id":i.canvasId,id:i.canvasId,style:ze({width:i.canvasWidth+"px",height:i.canvasHeight+"px"})},null,8,["canvas-id","id","style"])):zr("",!0),Lr(s,{ref:"qrCode",val:i.qrCodeValue,size:i.qrCodeSize,margin:0,loadMake:!1,background:"#ffffff",foreground:"#000000",class:$e(["up-poster__hidden-qrcode",i.qrCodeShow?"":"up-poster__hidden-qrcode--hidden"])},null,8,["val","size","class"])]),_:1})}],["__scopeId","data-v-7a9b18c9"]]),FP=Object.freeze(Object.defineProperty({__proto__:null,default:$P},Symbol.toStringTag,{value:"Module"}));const jP=MS({name:"u-pull-refresh",props:{refreshing:{type:Boolean,default:!1},threshold:{type:Number,default:80},damping:{type:Number,default:.4},maxDistance:{type:Number,default:120},showLoadmore:{type:Boolean,default:!1},loadmoreProps:{type:Object,default:()=>({status:"loadmore"})},useScrollView:{type:Boolean,default:!0},enableBackToTop:{type:Boolean,default:!1},lowerThreshold:{type:[Number,String],default:50},scrollTop:{type:[Number,String],default:0}},data:()=>({isRefreshing:!1,refreshStatus:"pull",refreshDistance:0,startY:0,currentY:0,touching:!1,contentTranslateY:0}),emits:["refresh","loadmore","scroll"],watch:{refreshing:{handler(e){e?this.startRefresh():this.finishRefresh()}}},methods:{t:mS,onTouchStart(e){this.isRefreshing||(this.touching=!0,this.startY=e.touches[0].pageY,this.currentY=this.startY,this.refreshStatus="pull")},onTouchMove(e){if(!this.touching||this.isRefreshing)return;this.currentY=e.touches[0].pageY;const t=this.currentY-this.startY;t>0&&this.isScrollViewAtTop()&&(this.refreshDistance=Math.min(t*this.damping,this.maxDistance),this.contentTranslateY=this.refreshDistance,this.refreshDistance>=this.threshold?this.refreshStatus="release":this.refreshStatus="pull",e.preventDefault(),e.stopPropagation())},onTouchEnd(){this.touching&&(this.touching=!1,this.refreshDistance>=this.threshold&&!this.isRefreshing?(this.startRefresh(),this.$emit("refresh")):this.resetRefresh())},startRefresh(){this.isRefreshing=!0,this.refreshStatus="refreshing",this.refreshDistance=this.threshold,this.contentTranslateY=this.threshold},finishRefresh(){this.isRefreshing=!1,this.refreshStatus="pull",this.resetRefresh()},resetRefresh(){this.refreshDistance=0,this.contentTranslateY=0},isScrollViewAtTop:()=>!0,handleScroll(e){this.$emit("scroll",e)},handleScrollToLower(e){this.showLoadmore&&"loadmore"===this.loadmoreProps.status&&this.$emit("loadmore")}}},[["render",function(e,t,n,o,i,r){const a=DS(Ao("up-icon"),LS),s=Qg,l=Hg,c=DS(Ao("u-loadmore"),SI),u=Og;return Sr(),Ir(s,{class:"u-pull-refresh",onTouchstart:r.onTouchStart,onTouchmove:r.onTouchMove,onTouchend:r.onTouchEnd,onTouchcancel:r.onTouchEnd},{default:bo(()=>[Lr(s,{class:$e(["refresh-area",{refreshing:i.isRefreshing}]),style:ze({height:i.refreshDistance+"px"})},{default:bo(()=>["pull"===i.refreshStatus?Ti(e.$slots,"pull",{key:0,distance:i.refreshDistance,threshold:n.threshold},()=>[Lr(s,{class:"refresh-content"},{default:bo(()=>[Lr(s,{class:"refresh-indicator"},{default:bo(()=>[Lr(a,{name:"arrow-downward",size:"26px"})]),_:1}),Lr(l,{class:"refresh-text"},{default:bo(()=>[Dr(K(r.t("up.pullRefresh.pull")),1)]),_:1})]),_:1})],!0):"release"===i.refreshStatus?Ti(e.$slots,"release",{key:1,distance:i.refreshDistance,threshold:n.threshold},()=>[Lr(s,{class:"refresh-content"},{default:bo(()=>[Lr(s,{class:"refresh-indicator"},{default:bo(()=>[Lr(a,{name:"arrow-upward",size:"26px"})]),_:1}),Lr(l,{class:"refresh-text"},{default:bo(()=>[Dr(K(r.t("up.pullRefresh.release")),1)]),_:1})]),_:1})],!0):"refreshing"===i.refreshStatus?Ti(e.$slots,"refreshing",{key:2},()=>[Lr(s,{class:"refresh-content"},{default:bo(()=>[Lr(s,{class:"refresh-indicator"},{default:bo(()=>[Lr(s,{class:"spinner"})]),_:1}),Lr(l,{class:"refresh-text"},{default:bo(()=>[Dr(K(r.t("up.pullRefresh.refreshing"))+"...",1)]),_:1})]),_:1})],!0):zr("",!0)]),_:3},8,["style","class"]),Lr(s,{class:"refresh-content-wrapper",style:ze({transform:`translateY(${i.contentTranslateY}px)`})},{default:bo(()=>[n.useScrollView?(Sr(),Ir(u,{key:0,class:"scroll-wrapper","scroll-y":!0,"enable-back-to-top":n.enableBackToTop,"scroll-top":n.scrollTop,"lower-threshold":n.lowerThreshold,onScroll:r.handleScroll,onScrolltolower:r.handleScrollToLower},{default:bo(()=>[Ti(e.$slots,"default",{},void 0,!0),n.showLoadmore?(Sr(),Ir(c,Fe(Hr({key:0},n.loadmoreProps)),null,16)):zr("",!0)]),_:3},8,["enable-back-to-top","scroll-top","lower-threshold","onScroll","onScrolltolower"])):(Sr(),Ir(s,{key:1},{default:bo(()=>[Ti(e.$slots,"default",{},void 0,!0),n.showLoadmore?(Sr(),Ir(c,Fe(Hr({key:0},n.loadmoreProps)),null,16)):zr("",!0)]),_:3}))]),_:3},8,["style"])]),_:3},8,["onTouchstart","onTouchmove","onTouchend","onTouchcancel"])}],["__scopeId","data-v-ce9e2ded"]]),HP=Object.freeze(Object.defineProperty({__proto__:null,default:jP},Symbol.toStringTag,{value:"Module"})),VP={props:{modelValue:{type:[String,Number,Boolean],default:()=>CS.radioGroup.value},disabled:{type:Boolean,default:()=>CS.radioGroup.disabled},shape:{type:String,default:()=>CS.radioGroup.shape},activeColor:{type:String,default:()=>CS.radioGroup.activeColor},inactiveColor:{type:String,default:()=>CS.radioGroup.inactiveColor},name:{type:String,default:()=>CS.radioGroup.name},size:{type:[String,Number],default:()=>CS.radioGroup.size},placement:{type:String,default:()=>CS.radioGroup.placement},label:{type:[String],default:()=>CS.radioGroup.label},labelColor:{type:[String],default:()=>CS.radioGroup.labelColor},labelSize:{type:[String,Number],default:()=>CS.radioGroup.labelSize},labelDisabled:{type:Boolean,default:()=>CS.radioGroup.labelDisabled},iconColor:{type:String,default:()=>CS.radioGroup.iconColor},iconSize:{type:[String,Number],default:()=>CS.radioGroup.iconSize},borderBottom:{type:Boolean,default:()=>CS.radioGroup.borderBottom},iconPlacement:{type:String,default:()=>CS.radio.iconPlacement},gap:{type:[String,Number],default:()=>CS.radioGroup.gap}}};const WP=MS({name:"u-radio-group",mixins:[IS,PS,VP],computed:{parentData(){return[this.modelValue,this.disabled,this.inactiveColor,this.activeColor,this.size,this.labelDisabled,this.shape,this.iconSize,this.borderBottom,this.placement]},bemClass(){return this.bem("radio-group",["placement"])},radioGroupStyle(){return Kx({gap:Yx(this.gap)},Gx(this.customStyle))}},watch:{parentData(){this.children.length&&this.children.map(e=>{"function"==typeof e.init&&e.init()})}},data:()=>({}),created(){this.children=[]},emits:["update:modelValue","change"],methods:{unCheckedOther(e){this.children.map(t=>{e!==t&&(t.checked=!1)});const{name:t}=e;this.$emit("update:modelValue",t),this.$emit("change",t)}}},[["render",function(e,t,n,o,i,r){const a=Qg;return Sr(),Ir(a,{class:$e(["u-radio-group",r.bemClass]),style:ze(r.radioGroupStyle)},{default:bo(()=>[Ti(e.$slots,"default",{},void 0,!0)]),_:3},8,["class","style"])}],["__scopeId","data-v-18ffa7d5"]]),UP=Object.freeze(Object.defineProperty({__proto__:null,default:WP},Symbol.toStringTag,{value:"Module"})),qP={props:{name:{type:[String,Number,Boolean],default:()=>CS.radio.name},shape:{type:String,default:()=>CS.radio.shape},disabled:{type:[String,Boolean],default:()=>CS.radio.disabled},labelDisabled:{type:[String,Boolean],default:()=>CS.radio.labelDisabled},activeColor:{type:String,default:()=>CS.radio.activeColor},inactiveColor:{type:String,default:()=>CS.radio.inactiveColor},iconSize:{type:[String,Number],default:()=>CS.radio.iconSize},labelSize:{type:[String,Number],default:()=>CS.radio.labelSize},label:{type:[String,Number],default:()=>CS.radio.label},size:{type:[String,Number],default:()=>CS.radio.size},color:{type:String,default:()=>CS.radio.color},labelColor:{type:String,default:()=>CS.radio.labelColor},iconColor:{type:String,default:()=>CS.radio.iconColor}}};const QP=MS({name:"u-radio",mixins:[IS,PS,qP],data:()=>({checked:!1,parentData:{iconSize:12,labelDisabled:null,disabled:null,shape:null,activeColor:null,inactiveColor:null,size:18,value:null,modelValue:null,iconColor:null,placement:"row",borderBottom:!1,iconPlacement:"left"}}),computed:{elDisabled(){return""!==this.disabled?this.disabled:null!==this.parentData.disabled&&this.parentData.disabled},elLabelDisabled(){return""!==this.labelDisabled?this.labelDisabled:null!==this.parentData.labelDisabled&&this.parentData.labelDisabled},elSize(){return this.size?this.size:this.parentData.size?this.parentData.size:21},elIconSize(){return this.iconSize?this.iconSize:this.parentData.iconSize?this.parentData.iconSize:12},elActiveColor(){return this.activeColor?this.activeColor:this.parentData.activeColor?this.parentData.activeColor:"#2979ff"},elInactiveColor(){return this.inactiveColor?this.inactiveColor:this.parentData.inactiveColor?this.parentData.inactiveColor:"#c8c9cc"},elLabelColor(){return this.labelColor?this.labelColor:this.parentData.labelColor?this.parentData.labelColor:"#606266"},elShape(){return this.shape?this.shape:this.parentData.shape?this.parentData.shape:"circle"},elLabelSize(){return Yx(this.labelSize?this.labelSize:this.parentData.labelSize?this.parentData.labelSize:"15")},elIconColor(){const e=this.iconColor?this.iconColor:this.parentData.iconColor?this.parentData.iconColor:"#ffffff";return this.elDisabled?this.checked?this.elInactiveColor:"transparent":this.checked?e:"transparent"},iconClasses(){let e=[];return e.push("u-radio__icon-wrap--"+this.elShape),this.elDisabled&&e.push("u-radio__icon-wrap--disabled"),this.checked&&this.elDisabled&&e.push("u-radio__icon-wrap--disabled--checked"),e},iconWrapStyle(){const e={};return e.backgroundColor=this.checked&&!this.elDisabled?this.elActiveColor:"#ffffff",e.borderColor=this.checked&&!this.elDisabled?this.elActiveColor:this.elInactiveColor,e.width=Yx(this.elSize),e.height=Yx(this.elSize),"right"===this.parentData.iconPlacement&&(e.marginRight=0),e},radioStyle(){const e={};return this.parentData.borderBottom&&this.parentData.placement,this.parentData.borderBottom&&"column"===this.parentData.placement&&(e.paddingBottom="ios"===jx()?"12px":"8px"),Kx(e,Gx(this.customStyle))}},mounted(){this.init()},emits:["change"],methods:{init(){this.updateParentData(),this.parent,this.checked=this.name===this.parentData.modelValue},updateParentData(){this.getParentData("u-radio-group")},iconClickHandler(e){this.preventEvent(e),this.elDisabled||this.setRadioCheckedStatus()},wrapperClickHandler(e){"right"===this.parentData.iconPlacement&&this.iconClickHandler(e)},labelClickHandler(e){this.preventEvent(e),this.elLabelDisabled||this.elDisabled||this.setRadioCheckedStatus()},emitEvent(){this.checked||(this.$emit("change",this.name),this.$nextTick(()=>{lS(this,"change")}))},setRadioCheckedStatus(){this.emitEvent(),this.checked=!0,"function"==typeof this.parent.unCheckedOther&&this.parent.unCheckedOther(this)}}},[["render",function(e,t,n,o,i,r){const a=DS(Ao("up-icon"),LS),s=Qg,l=Hg;return Sr(),Ir(s,{class:$e(["u-radio cursor-pointer",[`u-radio-label--${i.parentData.iconPlacement}`,i.parentData.borderBottom&&"column"===i.parentData.placement&&"u-border-bottom"]]),onClick:vs(r.wrapperClickHandler,["stop"]),style:ze([r.radioStyle])},{default:bo(()=>[Lr(s,{class:$e(["u-radio__icon-wrap cursor-pointer",r.iconClasses]),onClick:vs(r.iconClickHandler,["stop"]),style:ze([r.iconWrapStyle])},{default:bo(()=>[Ti(e.$slots,"icon",{elIconSize:r.elIconSize,elIconColor:r.elIconColor},()=>[Lr(a,{class:"u-radio__icon-wrap__icon",name:"checkbox-mark",size:r.elIconSize,color:r.elIconColor},null,8,["size","color"])],!0)]),_:3},8,["onClick","class","style"]),Lr(s,{class:"u-radio__label-wrap cursor-pointer",onClick:vs(r.labelClickHandler,["stop"])},{default:bo(()=>[Ti(e.$slots,"label",{label:e.label,elDisabled:r.elDisabled},()=>[Lr(l,{class:"u-radio__text",style:ze({color:r.elDisabled?r.elInactiveColor:r.elLabelColor,fontSize:r.elLabelSize,lineHeight:r.elLabelSize})},{default:bo(()=>[Dr(K(e.label),1)]),_:1},8,["style"])],!0)]),_:3},8,["onClick"])]),_:3},8,["onClick","style","class"])}],["__scopeId","data-v-0de11db6"]]),GP=Object.freeze(Object.defineProperty({__proto__:null,default:QP},Symbol.toStringTag,{value:"Module"})),YP={props:{modelValue:{type:[String,Number],default:()=>CS.rate.value},count:{type:[String,Number],default:()=>CS.rate.count},disabled:{type:Boolean,default:()=>CS.rate.disabled},readonly:{type:Boolean,default:()=>CS.rate.readonly},size:{type:[String,Number],default:()=>CS.rate.size},inactiveColor:{type:String,default:()=>CS.rate.inactiveColor},activeColor:{type:String,default:()=>CS.rate.activeColor},gutter:{type:[String,Number],default:()=>CS.rate.gutter},minCount:{type:[String,Number],default:()=>CS.rate.minCount},allowHalf:{type:Boolean,default:()=>CS.rate.allowHalf},activeIcon:{type:String,default:()=>CS.rate.activeIcon},inactiveIcon:{type:String,default:()=>CS.rate.inactiveIcon},touchable:{type:Boolean,default:()=>CS.rate.touchable}}};const XP=MS({name:"u-rate",mixins:[IS,PS,YP],data(){return{elId:qx(),elClass:qx(),rateBoxLeft:0,activeIndex:this.modelValue,rateWidth:0,moving:!1}},watch:{modelValue(e){this.activeIndex=e},activeIndex:"emitEvent"},emits:["update:modelValue","change"],methods:{addStyle:Gx,addUnit:Yx,init(){Fx().then(()=>{this.getRateItemRect(),this.getRateIconWrapRect()})},async getRateItemRect(){await Fx(),this.$uGetRect("#"+this.elId).then(e=>{this.rateBoxLeft=e.left})},getRateIconWrapRect(){this.$uGetRect("."+this.elClass).then(e=>{this.rateWidth=e.width})},touchMove(e){if(!this.touchable)return;this.preventEvent(e);const t=e.changedTouches[0].pageX;this.getActiveIndex(t)},touchEnd(e){if(!this.touchable)return;this.preventEvent(e);const t=e.changedTouches[0].pageX;this.getActiveIndex(t)},clickHandler(e,t){if("ios"===jx()&&this.moving)return;this.preventEvent(e);let n=0;n=e.changedTouches[0].pageX,this.getActiveIndex(n,!0)},emitEvent(){this.$emit("change",this.activeIndex),this.$emit("update:modelValue",this.activeIndex)},getActiveIndex(e,t=!1){if(this.disabled||this.readonly)return;const n=this.rateWidth*this.count+this.rateBoxLeft,o=e=Dx(this.rateBoxLeft,n,e)-this.rateBoxLeft;let i;if(this.allowHalf){i=Math.floor(o/this.rateWidth);const e=o%this.rateWidth;e<=this.rateWidth/2&&e>0?i+=.5:e>this.rateWidth/2&&i++}else{i=Math.floor(o/this.rateWidth);const e=o%this.rateWidth;t?e>0&&i++:e>this.rateWidth/2&&i++}this.activeIndex=Math.min(i,this.count),this.activeIndex{this.moving=!0},10),setTimeout(()=>{this.moving=!1},10)}},mounted(){this.init()}},[["render",function(e,t,n,o,i,r){const a=DS(Ao("up-icon"),LS),s=Qg;return Sr(),Ir(s,{class:"u-rate",id:i.elId,ref:"u-rate",style:ze([r.addStyle(e.customStyle)])},{default:bo(()=>[Lr(s,{class:"u-rate__content",onTouchmove:vs(r.touchMove,["stop"]),onTouchend:vs(r.touchEnd,["stop"])},{default:bo(()=>[(Sr(!0),Tr(yr,null,Ai(Number(e.count),(t,n)=>(Sr(),Ir(s,{class:$e(["u-rate__content__item cursor-pointer",[i.elClass]]),key:n},{default:bo(()=>[Lr(s,{class:"u-rate__content__item__icon-wrap",ref_for:!0,ref:"u-rate__content__item__icon-wrap",onClick:vs(e=>r.clickHandler(e,n+1),["stop"])},{default:bo(()=>[Lr(a,{name:Math.floor(i.activeIndex)>n?e.activeIcon:e.inactiveIcon,color:e.disabled?"#c8c9cc":Math.floor(i.activeIndex)>n?e.activeColor:e.inactiveColor,"custom-style":{padding:`0 ${r.addUnit(e.gutter/2)}`},size:e.size},null,8,["name","color","custom-style","size"])]),_:2},1032,["onClick"]),e.allowHalf?(Sr(),Ir(s,{key:0,onClick:vs(e=>r.clickHandler(e,n+1),["stop"]),class:"u-rate__content__item__icon-wrap u-rate__content__item__icon-wrap--half",style:ze([{width:r.addUnit(i.rateWidth/2)}]),ref_for:!0,ref:"u-rate__content__item__icon-wrap"},{default:bo(()=>[Lr(a,{name:Math.ceil(i.activeIndex)>n?e.activeIcon:e.inactiveIcon,color:e.disabled?"#c8c9cc":Math.ceil(i.activeIndex)>n?e.activeColor:e.inactiveColor,"custom-style":{padding:`0 ${r.addUnit(e.gutter/2)}`},size:e.size},null,8,["name","color","custom-style","size"])]),_:2},1032,["onClick","style"])):zr("",!0)]),_:2},1032,["class"]))),128))]),_:1},8,["onTouchmove","onTouchend"])]),_:1},8,["id","style"])}],["__scopeId","data-v-170d13b0"]]),KP=Object.freeze(Object.defineProperty({__proto__:null,default:XP},Symbol.toStringTag,{value:"Module"})),JP={props:{showHeight:{type:[String,Number],default:()=>CS.readMore.showHeight},toggle:{type:Boolean,default:()=>CS.readMore.toggle},closeText:{type:String,default:()=>CS.readMore.closeText},openText:{type:String,default:()=>CS.readMore.openText},color:{type:String,default:()=>CS.readMore.color},fontSize:{type:[String,Number],default:()=>CS.readMore.fontSize},shadowStyle:{type:Object,default:()=>({backgroundImage:"linear-gradient(-180deg, rgba(255, 255, 255, 0) 0%, #fff 80%)",paddingTop:"100px",marginTop:"-100px"})},textIndent:{type:String,default:()=>CS.readMore.textIndent},name:{type:[String,Number],default:()=>CS.readMore.name}}};const ZP=MS({name:"u-read-more",mixins:[IS,PS,JP],data:()=>({isLongContent:!1,status:"close",elId:qx(),contentHeight:100}),computed:{innerShadowStyle(){return"open"===this.status?{}:this.shadowStyle}},mounted(){this.init()},emits:["open","close"],methods:{addUnit:Yx,async init(){this.getContentHeight().then(e=>{this.contentHeight=e,e>zx(this.showHeight)?(this.isLongContent=!0,this.status="close"):(this.isLongContent=!1,this.status="close")})},async getContentHeight(){return await Fx(30),new Promise(e=>{this.$uGetRect("."+this.elId).then(t=>{e(t.height)})})},toggleReadMore(){this.status="close"===this.status?"open":"close",0==this.toggle&&(this.isLongContent=!1),this.$emit(this.status,this.name)}}},[["render",function(e,t,n,o,i,r){const a=Qg,s=DS(Ao("up-text"),Pk),l=DS(Ao("up-icon"),LS);return Sr(),Ir(a,{class:"u-read-more"},{default:bo(()=>[Lr(a,{class:"u-read-more__content",style:ze({height:i.isLongContent&&"close"===i.status?r.addUnit(e.showHeight):r.addUnit(i.contentHeight),textIndent:e.textIndent})},{default:bo(()=>[Lr(a,{class:$e(["u-read-more__content__inner",[i.elId]]),ref:"u-read-more__content__inner"},{default:bo(()=>[Ti(e.$slots,"default",{},void 0,!0)]),_:3},8,["class"])]),_:3},8,["style"]),i.isLongContent?(Sr(),Ir(a,{key:0,class:"u-read-more__toggle",style:ze([r.innerShadowStyle])},{default:bo(()=>[Ti(e.$slots,"toggle",{},()=>[Lr(a,{class:"u-read-more__toggle__text",onClick:r.toggleReadMore},{default:bo(()=>[Lr(s,{text:"close"===i.status?e.closeText:e.openText,color:e.color,size:e.fontSize,lineHeight:e.fontSize,margin:"0 5px 0 0"},null,8,["text","color","size","lineHeight"]),Lr(a,{class:"u-read-more__toggle__icon"},{default:bo(()=>[Lr(l,{color:e.color,size:e.fontSize+2,name:"close"===i.status?"arrow-down":"arrow-up"},null,8,["color","size","name"])]),_:1})]),_:1},8,["onClick"])],!0)]),_:3},8,["style"])):zr("",!0)]),_:3})}],["__scopeId","data-v-02f1b018"]]),eB=Object.freeze(Object.defineProperty({__proto__:null,default:ZP},Symbol.toStringTag,{value:"Module"}));const tB=MS({name:"u-virtual-list",props:{listData:{type:Array,default:()=>[]},itemHeight:{type:Number,default:50},height:{type:[String,Number],default:"100%"},buffer:{type:Number,default:4},keyField:{type:String,default:"id"},scrollTop:{type:Number,default:0}},data:()=>({startIndex:0,containerHeight:0}),computed:{remain(){if(this.containerHeight<=0)return Math.ceil(500/this.itemHeight)||10;const e=Math.ceil(this.containerHeight/this.itemHeight);return Math.max(1,e)},visibleCount(){return this.remain+this.buffer},visibleItems(){const e=Math.max(0,this.startIndex-Math.floor(this.buffer/2)),t=Math.min(this.listData.length,e+this.visibleCount);return this.listData.slice(e,t).map((t,n)=>({...t,_virtualIndex:e+n}))},topPlaceholderHeight(){return Math.max(0,this.startIndex-Math.floor(this.buffer/2))*this.itemHeight},bottomPlaceholderHeight(){const e=Math.max(0,this.startIndex-Math.floor(this.buffer/2)),t=Math.min(this.listData.length,e+this.visibleCount);return(this.listData.length-t)*this.itemHeight}},emits:["update:scrollTop","scroll"],watch:{listData:{handler(){this.updateVisibleItems()},immediate:!0},scrollTop:{handler(e){this.updateVisibleItems()}}},mounted(){this.measureContainerHeight()},methods:{addUnit:Yx,measureContainerHeight(){this.$nextTick(()=>{if(this.$refs.container){const e=this.$refs.container.$el||this.$refs.container;this.containerHeight=e.offsetHeight||500}})},calculateDefaultHeight(){const e=this.height;if("number"==typeof e)return e;if("string"==typeof e){if(e.includes("px"))return parseInt(e)||500;if(e.includes("vh")){const t=parseInt(e);return isNaN(t)?500:t/100*this.getViewportHeight()}if(e.includes("%"))return 500;{const t=parseInt(e);return isNaN(t)?500:t}}return 500},getViewportHeight:()=>window.innerHeight,getItemKey(e){return void 0!==e[this.keyField]?e[this.keyField]:e._virtualIndex},updateVisibleItems(){const e=Math.floor(this.scrollTop/this.itemHeight);this.startIndex=Math.max(0,e)},handleScroll(e){const t=e.detail.scrollTop;this.$emit("update:scrollTop",t),this.$emit("scroll",t)},handleTouchMove(e){e.stopPropagation()},getVisibleRange(){const e=Math.max(0,this.startIndex-Math.floor(this.buffer/2));return{start:e,end:Math.min(this.listData.length,e+this.visibleCount)}}}},[["render",function(e,t,n,o,i,r){const a=Qg,s=Og;return Sr(),Ir(a,{class:"u-virtual-list",style:ze({height:r.addUnit(n.height)}),ref:"container"},{default:bo(()=>[Lr(s,{class:"virtual-scroll-container","scroll-y":!0,"scroll-top":n.scrollTop,style:{height:"100%"},onScroll:r.handleScroll},{default:bo(()=>[Lr(a,{class:"scroll-content"},{default:bo(()=>[Lr(a,{style:ze({height:r.topPlaceholderHeight+"px"})},null,8,["style"]),(Sr(!0),Tr(yr,null,Ai(r.visibleItems,t=>(Sr(),Ir(a,{key:r.getItemKey(t),class:"list-item",style:ze({height:n.itemHeight+"px"})},{default:bo(()=>[Ti(e.$slots,"default",{item:t,index:t._virtualIndex},void 0,!0)]),_:2},1032,["style"]))),128)),Lr(a,{style:ze({height:r.bottomPlaceholderHeight+"px"})},null,8,["style"])]),_:3})]),_:3},8,["scroll-top","onScroll"])]),_:3},8,["style"])}],["__scopeId","data-v-3ad5e4d9"]]),nB=Object.freeze(Object.defineProperty({__proto__:null,default:tB},Symbol.toStringTag,{value:"Module"}));const oB=MS({name:"u-refresh-virtual-list",props:{listData:{type:Array,default:()=>[]},itemHeight:{type:Number,default:50},height:{type:[String,Number],default:"100%"},buffer:{type:Number,default:4},keyField:{type:String,default:"id"}},data:()=>({refreshing:!1,scrollTop:0}),methods:{handleRefresh(){this.refreshing=!0,this.$emit("refresh")},handleScroll(e){this.scrollTop=e,this.$emit("scroll",e)},finishRefresh(){this.refreshing=!1},scrollTo(e){this.scrollTop=e},scrollToTop(){this.scrollTo(0)}}},[["render",function(e,t,n,o,i,r){const a=DS(Ao("u-virtual-list"),tB),s=DS(Ao("u-pull-refresh"),jP);return Sr(),Ir(s,{refreshing:i.refreshing,threshold:50,onRefresh:r.handleRefresh},{default:bo(()=>[Lr(a,{ref:"virtualList","list-data":n.listData,"item-height":n.itemHeight,height:n.height,buffer:n.buffer,"key-field":n.keyField,"scroll-top":i.scrollTop,onScroll:r.handleScroll},{default:bo(({item:t,index:n})=>[Ti(e.$slots,"default",{item:t,index:n})]),_:3},8,["list-data","item-height","height","buffer","key-field","scroll-top","onScroll"])]),_:3},8,["refreshing","onRefresh"])}]]),iB=Object.freeze(Object.defineProperty({__proto__:null,default:oB},Symbol.toStringTag,{value:"Module"}));const rB=MS({name:"u-row",mixins:[IS,PS,{props:{gutter:{type:[String,Number],default:()=>CS.row.gutter},justify:{type:String,default:()=>CS.row.justify},align:{type:String,default:()=>CS.row.align}}}],data:()=>({}),computed:{uJustify(){return"end"==this.justify||"start"==this.justify?"flex-"+this.justify:"around"==this.justify||"between"==this.justify?"space-"+this.justify:this.justify},uAlignItem(){return"top"==this.align?"flex-start":"bottom"==this.align?"flex-end":this.align},rowStyle(){const e={alignItems:this.uAlignItem,justifyContent:this.uJustify};return this.gutter&&(e.marginLeft=Yx(-Number(this.gutter)/2),e.marginRight=Yx(-Number(this.gutter)/2)),Kx(e,Gx(this.customStyle))}},emits:["click"],methods:{clickHandler(e){this.$emit("click")},async getComponentWidth(){return await Fx(),new Promise(e=>{this.$uGetRect(".u-row").then(t=>{e(t.width)})})}}},[["render",function(e,t,n,o,i,r){const a=Qg;return Sr(),Ir(a,{class:"u-row",ref:"u-row",style:ze([r.rowStyle]),onClick:r.clickHandler},{default:bo(()=>[Ti(e.$slots,"default",{},void 0,!0)]),_:3},8,["style","onClick"])}],["__scopeId","data-v-2c4944cc"]]),aB=Object.freeze(Object.defineProperty({__proto__:null,default:rB},Symbol.toStringTag,{value:"Module"})),sB={props:{indicatorWidth:{type:[String,Number],default:()=>CS.scrollList.indicatorWidth},indicatorBarWidth:{type:[String,Number],default:()=>CS.scrollList.indicatorBarWidth},indicator:{type:Boolean,default:()=>CS.scrollList.indicator},indicatorColor:{type:String,default:()=>CS.scrollList.indicatorColor},indicatorActiveColor:{type:String,default:()=>CS.scrollList.indicatorActiveColor},indicatorStyle:{type:[String,Object],default:()=>CS.scrollList.indicatorStyle}}};function lB(e,t){e.selectComponent(".u-scroll-list__indicator__line__bar")&&e.selectComponent(".u-scroll-list__indicator__line__bar").setStyle({transform:"translateX("+t+"px)"})}const cB={scroll:function(e,t){var n=e.detail,o=n.scrollWidth,i=n.scrollLeft,r=e.currentTarget.dataset;lB(t,i/(o-(r.scrollWidth||r.scrollwidth||0))*((r.indicatorWidth||r.indicatorwidth||0)-(r.barWidth||r.barwidth||0)))},scrolltolower:function(e,t){t.callMethod("scrollEvent","right");var n=e.currentTarget.dataset;lB(t,(n.indicatorWidth||n.indicatorwidth||0)-(n.barWidth||n.barwidth||0))},scrolltoupper:function(e,t){t.callMethod("scrollEvent","left"),lB(t,0)}},uB=e=>{e.$wxs||(e.$wxs=[]),e.$wxs.push("wxs"),e.mixins||(e.mixins=[]),e.mixins.push({beforeCreate(){this.wxs=cB}})},dB={name:"u-scroll-list",mixins:[IS,PS,sB],data:()=>({scrollInfo:{scrollLeft:0,scrollWidth:0},scrollWidth:0}),computed:{barStyle(){const e={};return e.width=Yx(this.indicatorBarWidth),e.backgroundColor=this.indicatorActiveColor,e},lineStyle(){const e={};return e.width=Yx(this.indicatorWidth),e.backgroundColor=this.indicatorColor,e}},mounted(){this.init()},emits:["left","right"],methods:{addStyle:Gx,getPx:zx,init(){this.getComponentWidth()},scrollEvent(e){this.$emit(e)},async getComponentWidth(){await Fx(30),this.$uGetRect(".u-scroll-list").then(e=>{this.scrollWidth=e.width})}}};uB(dB);const hB=MS(dB,[["render",function(e,t,n,o,i,r){const a=Qg,s=Og;return Sr(),Ir(a,{class:"u-scroll-list",ref:"u-scroll-list"},{default:bo(()=>[Lr(s,{class:"u-scroll-list__scroll-view scroll-view-native","scroll-x":"","enable-flex":"",onScroll:e.wxs.scroll,onScrolltoupper:e.wxs.scrolltoupper,onScrolltolower:e.wxs.scrolltolower,"data-scrollWidth":i.scrollWidth,"data-barWidth":r.getPx(e.indicatorBarWidth),"data-indicatorWidth":r.getPx(e.indicatorWidth),"show-scrollbar":!1,"upper-threshold":0,"lower-threshold":0},{default:bo(()=>[Lr(a,{class:"u-scroll-list__scroll-view__content"},{default:bo(()=>[Ti(e.$slots,"default",{},void 0,!0)]),_:3})]),_:3},8,["onScroll","onScrolltoupper","onScrolltolower","data-scrollWidth","data-barWidth","data-indicatorWidth"]),e.indicator?(Sr(),Ir(a,{key:0,class:"u-scroll-list__indicator",style:ze([r.addStyle(e.indicatorStyle)])},{default:bo(()=>[Lr(a,{class:"u-scroll-list__indicator__line",style:ze([r.lineStyle])},{default:bo(()=>[Lr(a,{class:"u-scroll-list__indicator__line__bar",style:ze([r.barStyle]),ref:"u-scroll-list__indicator__line__bar"},null,8,["style"])]),_:1},8,["style"])]),_:1},8,["style"])):zr("",!0)]),_:3},512)}],["__scopeId","data-v-d8bc4a02"]]),pB=Object.freeze(Object.defineProperty({__proto__:null,default:hB},Symbol.toStringTag,{value:"Module"})),fB={props:{modelValue:{type:[String,Number],default:()=>CS.search.value},shape:{type:String,default:()=>CS.search.shape},bgColor:{type:String,default:()=>CS.search.bgColor},placeholder:{type:String,default:()=>CS.search.placeholder},clearabled:{type:Boolean,default:()=>CS.search.clearabled},onlyClearableOnFocused:{type:Boolean,default:!0},focus:{type:Boolean,default:()=>CS.search.focus},showAction:{type:Boolean,default:()=>CS.search.showAction},actionText:{type:String,default:()=>CS.search.actionText},label:{type:[String,Number,null],default:()=>CS.search.label},inputAlign:{type:String,default:()=>CS.search.inputAlign},disabled:{type:Boolean,default:()=>CS.search.disabled},animation:{type:Boolean,default:()=>CS.search.animation},borderColor:{type:String,default:()=>CS.search.borderColor},searchIconColor:{type:String,default:()=>CS.search.searchIconColor},searchIconSize:{type:[Number,String],default:()=>CS.search.searchIconSize},color:{type:String,default:()=>CS.search.color},placeholderColor:{type:String,default:()=>CS.search.placeholderColor},searchIcon:{type:String,default:()=>CS.search.searchIcon},margin:{type:String,default:()=>CS.search.margin},iconPosition:{type:String,default:()=>CS.search.iconPosition},maxlength:{type:[String,Number],default:()=>CS.search.maxlength},height:{type:[String,Number],default:()=>CS.search.height},adjustPosition:{type:Boolean,default:()=>CS.search.adjustPosition},autoBlur:{type:Boolean,default:()=>CS.search.autoBlur},inputStyle:{type:Object,default:()=>CS.search.inputStyle},actionStyle:{type:Object,default:()=>CS.search.actionStyle},customStyle:{type:Object,default:()=>CS.search.customStyle}}};const mB=MS({name:"u-search",mixins:[IS,PS,fB],data(){return{keyword:"",show:!1,focused:this.focus}},watch:{keyword(e){this.$emit("update:modelValue",e),this.$emit("change",e)},modelValue:{immediate:!0,handler(e){this.keyword=e}}},computed:{showActionBtn(){return!this.animation&&this.showAction},isShowClear(){const{clearabled:e,focused:t,keyword:n,onlyClearableOnFocused:o}=this;return!!e&&(o?!!t&&""!==n:""!==n)}},emits:["clear","search","custom","focus","blur","click","clickIcon","update:modelValue","change"],methods:{addStyle:Gx,addUnit:Yx,inputChange(e){this.keyword=e.detail.value},clear(){this.keyword="",this.$nextTick(()=>{this.$emit("clear")})},search(e){this.$emit("search",e.detail.value);try{Xb()}catch(t){}},custom(){this.$emit("custom",this.keyword);try{Xb()}catch(e){}},getFocus(){this.focused=!0,this.animation&&this.showAction&&(this.show=!0),this.$emit("focus",this.keyword)},blur(){setTimeout(()=>{this.focused=!1},100),this.show=!1,this.$emit("blur",this.keyword)},clickHandler(){this.disabled&&this.$emit("click")},clickIcon(e){this.$emit("clickIcon",this.keyword);try{Xb()}catch(t){}}}},[["render",function(e,t,n,o,i,r){const a=Hg,s=DS(Ao("up-icon"),LS),l=Qg,c=jm;return Sr(),Ir(l,{class:$e(["u-search",["right"===e.iconPosition&&"u-search__reverse"]]),onClick:r.clickHandler,style:ze([{margin:e.margin},r.addStyle(e.customStyle)])},{default:bo(()=>[Lr(l,{class:"u-search__content",style:ze({backgroundColor:e.bgColor,borderRadius:"round"==e.shape?"100px":"4px",borderColor:e.borderColor})},{default:bo(()=>[e.$slots.label||null!==e.label?Ti(e.$slots,"label",{key:0},()=>[Lr(a,{class:"u-search__content__label"},{default:bo(()=>[Dr(K(e.label),1)]),_:1})],!0):zr("",!0),Lr(l,{class:"u-search__content__icon"},{default:bo(()=>[Lr(s,{onClick:r.clickIcon,size:e.searchIconSize,name:e.searchIcon,color:e.searchIconColor?e.searchIconColor:e.color},null,8,["onClick","size","name","color"])]),_:1}),Lr(c,{"confirm-type":"search",onBlur:r.blur,value:i.keyword,onConfirm:r.search,onInput:r.inputChange,disabled:e.disabled,onFocus:r.getFocus,focus:e.focus,maxlength:e.maxlength,"adjust-position":e.adjustPosition,"auto-blur":e.autoBlur,"placeholder-class":"u-search__content__input--placeholder",placeholder:e.placeholder,"placeholder-style":`color: ${e.placeholderColor}`,class:"u-search__content__input",type:"text",style:ze([{pointerEvents:e.disabled?"none":"auto",textAlign:e.inputAlign,color:e.color,backgroundColor:e.bgColor,height:r.addUnit(e.height)},e.inputStyle])},null,8,["onBlur","value","onConfirm","onInput","disabled","onFocus","focus","maxlength","adjust-position","auto-blur","placeholder","placeholder-style","style"]),r.isShowClear?(Sr(),Ir(l,{key:1,class:"u-search__content__icon u-search__content__close",onClick:r.clear},{default:bo(()=>[Lr(s,{name:"close",size:"11",color:"#ffffff",customStyle:"line-height: 12px"})]),_:1},8,["onClick"])):zr("",!0),Ti(e.$slots,"inputRight",{},void 0,!0)]),_:3},8,["style"]),Lr(a,{style:ze([e.actionStyle]),class:$e(["u-search__action",[(r.showActionBtn||i.show)&&"u-search__action--active"]]),onClick:vs(r.custom,["stop","prevent"])},{default:bo(()=>[Dr(K(e.actionText),1)]),_:1},8,["style","class","onClick"])]),_:3},8,["class","onClick","style"])}],["__scopeId","data-v-038cad6b"]]),gB=Object.freeze(Object.defineProperty({__proto__:null,default:mB},Symbol.toStringTag,{value:"Module"}));const yB=MS({name:"up-select",emits:["update:current","select"],props:{maxHeight:{type:String,default:"90vh"},overlay:{type:Boolean,default:!0},overlayOpacity:{type:Number,default:.01},overlayStyle:{type:Object,default:()=>({})},duration:{type:Number,default:300},label:{type:String,default:"选项"},options:{type:Array,default:()=>[]},keyName:{type:String,default:"id"},labelName:{type:String,default:"name"},showOptionsLabel:{type:Boolean,default:!1},current:{type:[String,Number],default:""},zIndex:{type:Number,default:11e3},itemColor:{type:String,default:"#333333"},iconColor:{type:String,default:""},iconSize:{type:[String],default:"13px"}},data:()=>({isOpen:!1,optionsWrapLeft:"auto",optionsWrapRight:"auto"}),computed:{currentLabel(){let e="";return this.options.forEach(t=>{t[this.keyName]===this.current&&(e=t[this.labelName])}),e}},methods:{openSelect(){this.isOpen=!0,this.$nextTick(()=>{this.isOpen&&this.adjustOptionsWrapPosition()})},overlayClick(){this.isOpen=!1},selectItem(e){this.isOpen=!1,this.$emit("update:current",e[this.keyName]),this.$emit("select",e)},adjustOptionsWrapPosition(){let e=Vx().windowWidth;this.$uGetRect(".u-select__options__wrap").then(t=>{console.log(t),t.left+t.width>e&&(this.optionsWrapLeft="auto",this.optionsWrapRight="0px")})}}},[["render",function(e,t,n,o,i,r){const a=Hg,s=DS(Ao("up-icon"),LS),l=Qg,c=DS(Ao("u-overlay"),ak);return Sr(),Ir(l,{class:"u-select"},{default:bo(()=>[Lr(l,{class:"u-select__content"},{default:bo(()=>[Lr(l,{class:"u-select__label",onClick:r.openSelect},{default:bo(()=>[Ti(e.$slots,"text",{currentLabel:r.currentLabel},()=>[n.showOptionsLabel?(Sr(),Ir(a,{key:0,class:"u-select__text"},{default:bo(()=>[Dr(K(r.currentLabel),1)]),_:1})):(Sr(),Ir(a,{key:1,class:"u-select__text"},{default:bo(()=>[Dr(K(n.label),1)]),_:1}))],!0),Ti(e.$slots,"icon",{},()=>[Lr(s,{name:"arrow-down",size:n.iconSize,color:n.iconColor},null,8,["size","color"])],!0)]),_:3},8,["onClick"]),n.overlay?(Sr(),Ir(c,{key:0,show:i.isOpen,onClick:r.overlayClick,zIndex:n.zIndex,duration:n.duration+50,customStyle:n.overlayStyle,opacity:n.overlayOpacity,onTouchmove:vs(e.noop,["stop","prevent"])},null,8,["show","onClick","zIndex","duration","customStyle","opacity","onTouchmove"])):zr("",!0),Lr(l,{class:"u-select__options__wrap",style:ze({overflowY:"auto",zIndex:n.zIndex+1,left:i.optionsWrapLeft,right:i.optionsWrapRight,maxHeight:n.maxHeight})},{default:bo(()=>[i.isOpen?(Sr(),Ir(l,{key:0,class:"u-select__options"},{default:bo(()=>[Ti(e.$slots,"options",{},()=>[(Sr(!0),Tr(yr,null,Ai(n.options,(t,o)=>(Sr(),Ir(l,{class:$e(["u-select__options_item",n.current==t[n.keyName]?"active":""]),key:o,onClick:e=>r.selectItem(t)},{default:bo(()=>[Ti(e.$slots,"optionItem",{item:t},()=>[Lr(a,{class:"u-select__item_text",style:ze({color:n.itemColor})},{default:bo(()=>[Dr(K(t[n.labelName]),1)]),_:2},1032,["style"])],!0)]),_:2},1032,["class","onClick"]))),128))],!0)]),_:3})):zr("",!0)]),_:3},8,["style"])]),_:3})]),_:3})}],["__scopeId","data-v-fc5a6574"]]),bB=Object.freeze(Object.defineProperty({__proto__:null,default:yB},Symbol.toStringTag,{value:"Module"})),vB={props:{min:{type:[Number,String],default:()=>CS.slider.min},max:{type:[Number,String],default:()=>CS.slider.max},step:{type:[Number,String],default:()=>CS.slider.step},modelValue:{type:[String,Number],default:()=>CS.slider.value},isRange:{type:Boolean,default:!1},rangeValue:{type:[Array],default:[0,0]},activeColor:{type:String,default:()=>CS.slider.activeColor},inactiveColor:{type:String,default:()=>CS.slider.inactiveColor},blockSize:{type:[Number,String],default:()=>CS.slider.blockSize},blockColor:{type:String,default:()=>CS.slider.blockColor},blockStyle:{type:Object,default:()=>CS.slider.blockStyle},disabled:{type:Boolean,default:()=>CS.slider.disabled},showValue:{type:Boolean,default:()=>CS.slider.showValue},useNative:{type:Boolean,default:()=>CS.slider.useNative},height:{type:String,default:()=>CS.slider.height},innerStyle:{type:Object,default:()=>CS.slider.innerStyle}}};const _B=MS({name:"u-slider",mixins:[IS,PS,vB],emits:["start","changing","change","update:modelValue"],data:()=>({startX:0,status:"end",newValue:0,distanceX:0,startValue0:0,startValue:0,barStyle0:{},barStyle:{},sliderRect:{left:0,width:0}}),watch:{modelValue(e){if("end"==this.status){const e=this.updateValue(this.modelValue,!1);this.$emit("change",e)}},rangeValue:{handler(e){"end"==this.status&&(this.updateValue(this.rangeValue[0],!1,0),this.updateValue(this.rangeValue[1],!1,1),this.$emit("change",this.rangeValue))},deep:!0}},created(){},computed:{innerStyleCpu(){let e=this.innerStyle;return e.height=this.isRange&&this.showValue?zx(this.blockSize)+24+"px":zx(this.blockSize)+"px",e}},async mounted(){this.useNative||this.$uGetRect(".u-slider__base").then(e=>{this.sliderRect=e,0==this.sliderRect.width&&console.info("如在弹窗等元素中使用,请使用v-if来显示滑块,否则无法计算长度。"),this.init()})},methods:{addStyle:Gx,getPx:zx,init(){this.isRange?(this.updateValue(this.rangeValue[0],!1,0),this.updateValue(this.rangeValue[1],!1,1)):this.updateValue(this.modelValue,!1)},changingHandler(e){const{value:t}=e.detail;this.$emit("update:modelValue",t),this.$emit("changing",t)},changeHandler(e){const{value:t}=e.detail;this.$emit("update:modelValue",t),this.$emit("change",t)},onTouchStart(e,t=1){if(this.disabled)return;this.startX=0;let n=e.touches[0];this.startX=n.clientX,this.isRange?(this.startValue0=this.format(this.rangeValue[0],0),this.startValue=this.format(this.rangeValue[1],1)):this.startValue=this.format(this.modelValue),this.status="start";let o=0;o=n.clientX,this.distanceX=o-this.sliderRect.left,this.newValue=this.distanceX/this.sliderRect.width*(this.max-this.min)+parseFloat(this.min),this.status="moving";let i=this.updateValue(this.newValue,!0,t);this.$emit("changing",i)},onTouchMove(e,t=1){if(this.disabled)return;"start"==this.status&&this.$emit("start");let n=0;n=e.touches[0].clientX,this.distanceX=n-this.sliderRect.left,this.newValue=this.distanceX/this.sliderRect.width*(this.max-this.min)+parseFloat(this.min),this.status="moving";let o=this.updateValue(this.newValue,!0,t);this.$emit("changing",o)},onTouchEnd(e,t=1){if(!this.disabled){if("moving"===this.status){let e=this.updateValue(this.newValue,!1,t);this.$emit("change",e)}this.status="end"}},onTouchStart2(e,t=1){this.isRange},onTouchMove2(e,t=1){this.isRange},onTouchEnd2(e,t=1){this.isRange},onClick(e){if(this.disabled)return;let t=e.detail.x-this.sliderRect.left;this.newValue=t/this.sliderRect.width*(this.max-this.min)+parseFloat(this.min),this.updateValue(this.newValue,!1,1)},updateValue(e,t,n=1){let o=this.format(e,n);o>this.max&&(o=this.max);let i={width:Math.min((o-this.min)/(this.max-this.min)*this.sliderRect.width,this.sliderRect.width)+"px"};switch(1==t?i.transition="none":delete i.transition,this.isRange?(this.rangeValue[n]=o,this.$emit("update:modelValue",this.rangeValue)):this.$emit("update:modelValue",o),n){case 0:this.barStyle0={...i};break;case 1:this.barStyle={...i}}return this.isRange?this.rangeValue:o},format(e,t=1){if(!this.isRange)return Math.round(Math.max(this.min,Math.min(e,this.max))/parseInt(this.step))*parseInt(this.step);switch(t){case 0:return Math.round(Math.max(this.min,Math.min(e,this.rangeValue[1]-parseInt(this.step),this.max))/parseInt(this.step))*parseInt(this.step);case 1:return Math.round(Math.max(this.min,this.rangeValue[0]+parseInt(this.step),Math.min(e,this.max))/parseInt(this.step))*parseInt(this.step)}}}},[["render",function(e,t,n,o,i,r){const a=Qg,s=Hg,l=Ng;return Sr(),Ir(a,{class:"u-slider",style:ze([r.addStyle(e.customStyle)])},{default:bo(()=>[!e.useNative||e.isRange?(Sr(),Tr(yr,{key:0},[Lr(a,{ref:"u-slider-inner",class:$e(["u-slider-inner",[e.disabled?"u-slider--disabled":""]]),onClick:r.onClick,onOnTouchStart:t[4]||(t[4]=e=>r.onTouchStart2(e,1)),onTouchmove:t[5]||(t[5]=e=>r.onTouchMove2(e,1)),onTouchend:t[6]||(t[6]=e=>r.onTouchEnd2(e,1)),onTouchcancel:t[7]||(t[7]=e=>r.onTouchEnd2(e,1)),style:ze(r.innerStyleCpu)},{default:bo(()=>[Lr(a,{ref:"u-slider__base",class:"u-slider__base",style:ze([{height:e.height,backgroundColor:e.inactiveColor}])},null,8,["style"]),Lr(a,{onClick:r.onClick,class:"u-slider__gap",style:ze([i.barStyle,{height:e.height,marginTop:"-"+e.height,backgroundColor:e.activeColor}])},null,8,["onClick","style"]),e.isRange?(Sr(),Ir(a,{key:0,class:"u-slider__gap u-slider__gap-0",style:ze([i.barStyle0,{height:e.height,marginTop:"-"+e.height,backgroundColor:e.inactiveColor}])},null,8,["style"])):zr("",!0),e.isRange&&e.showValue?(Sr(),Ir(s,{key:1,class:"u-slider__show-range-value",style:ze({left:r.getPx(i.barStyle0.width)+r.getPx(e.blockSize)/2+"px"})},{default:bo(()=>[Dr(K(this.rangeValue[0]),1)]),_:1},8,["style"])):zr("",!0),e.isRange&&e.showValue?(Sr(),Ir(s,{key:2,class:"u-slider__show-range-value",style:ze({left:r.getPx(i.barStyle.width)+r.getPx(e.blockSize)/2+"px"})},{default:bo(()=>[Dr(K(this.rangeValue[1]),1)]),_:1},8,["style"])):zr("",!0),e.isRange?(Sr(),Ir(a,{key:3,class:"u-slider__button-wrap u-slider__button-wrap-0",onTouchstart:t[0]||(t[0]=e=>r.onTouchStart(e,0)),onTouchmove:t[1]||(t[1]=e=>r.onTouchMove(e,0)),onTouchend:t[2]||(t[2]=e=>r.onTouchEnd(e,0)),onTouchcancel:t[3]||(t[3]=e=>r.onTouchEnd(e,0)),style:ze({left:r.getPx(i.barStyle0.width)+r.getPx(e.blockSize)/2+"px"})},{default:bo(()=>[e.$slots.min||e.$slots.$min?Ti(e.$slots,"min",{key:0},void 0,!0):(Sr(),Ir(a,{key:1,class:"u-slider__button",style:ze([e.blockStyle,{height:r.getPx(e.blockSize,!0),width:r.getPx(e.blockSize,!0),backgroundColor:e.blockColor}])},null,8,["style"]))]),_:3},8,["style"])):zr("",!0),Lr(a,{class:"u-slider__button-wrap",onTouchstart:r.onTouchStart,onTouchmove:r.onTouchMove,onTouchend:r.onTouchEnd,onTouchcancel:r.onTouchEnd,style:ze({left:r.getPx(i.barStyle.width)+r.getPx(e.blockSize)/2+"px"})},{default:bo(()=>[e.isRange&&(e.$slots.max||e.$slots.$max)?Ti(e.$slots,"max",{key:0},void 0,!0):e.$slots.default||e.$slots.$default?Ti(e.$slots,"default",{key:1},void 0,!0):(Sr(),Ir(a,{key:2,class:"u-slider__button",style:ze([e.blockStyle,{height:r.getPx(e.blockSize,!0),width:r.getPx(e.blockSize,!0),backgroundColor:e.blockColor}])},null,8,["style"]))]),_:3},8,["onTouchstart","onTouchmove","onTouchend","onTouchcancel","style"])]),_:3},8,["onClick","class","style"]),e.showValue&&!e.isRange?(Sr(),Ir(a,{key:0,class:"u-slider__show-value"},{default:bo(()=>[Dr(K(e.modelValue),1)]),_:1})):zr("",!0)],64)):(Sr(),Ir(l,{key:1,class:"u-slider__native",min:e.min,max:e.max,step:e.step,value:e.modelValue,activeColor:e.activeColor,backgroundColor:e.inactiveColor,blockSize:r.getPx(e.blockSize),blockColor:e.blockColor,showValue:e.showValue,disabled:e.disabled,onChanging:r.changingHandler,onChange:r.changeHandler},null,8,["min","max","step","value","activeColor","backgroundColor","blockSize","blockColor","showValue","disabled","onChanging","onChange"]))]),_:3},8,["style"])}],["__scopeId","data-v-7ecff6a4"]]),wB=Object.freeze(Object.defineProperty({__proto__:null,default:_B},Symbol.toStringTag,{value:"Module"})),xB={props:{name:{type:[String,Number,null],default:()=>CS.tabbarItem.name},icon:{icon:String,default:()=>CS.tabbarItem.icon},badge:{type:[String,Number,null],default:()=>CS.tabbarItem.badge},dot:{type:Boolean,default:()=>CS.tabbarItem.dot},text:{type:String,default:()=>CS.tabbarItem.text},badgeStyle:{type:[Object,String],default:()=>CS.tabbarItem.badgeStyle},mode:{type:String,default:()=>CS.tabbarItem.mode}}};const SB=MS({name:"u-tabbar-item",mixins:[IS,PS,xB],data:()=>({isActive:!1,parentData:{value:null,activeColor:"",inactiveColor:""}}),options:{virtualHost:!0},computed:{isMidButton(){return"midButton"===this.mode}},created(){this.init()},emits:["click","change"],methods:{addStyle:Gx,init(){this.updateParentData(),this.parent;const e=this.parent.children.indexOf(this);this.isActive=(this.name||e)===this.parentData.value},updateParentData(){this.getParentData("u-tabbar")},updateFromParent(){this.init()},clickHandler(){this.$nextTick(()=>{const e=this.parent.children.indexOf(this),t=this.name||e;t!==this.parent.value&&this.parent.$emit("change",t),this.$emit("click",t)})}}},[["render",function(e,t,n,o,i,r){const a=Qg,s=DS(Ao("up-icon"),LS),l=DS(Ao("u-badge"),Qk),c=Hg;return Sr(),Ir(a,{class:$e(["u-tabbar-item",[r.isMidButton?"u-tabbar-item--mid-button":""]]),style:ze([r.addStyle(e.customStyle)]),onClick:r.clickHandler},{default:bo(()=>[Lr(a,{class:$e(["u-tabbar-item__icon",[r.isMidButton?"u-tabbar-item__icon--mid-button":""]])},{default:bo(()=>[r.isMidButton?(Sr(),Ir(a,{key:0,class:"u-tabbar-item--mid-button-cover"})):zr("",!0),e.icon?(Sr(),Ir(s,{key:1,name:e.icon,color:i.isActive?i.parentData.activeColor:i.parentData.inactiveColor,size:r.isMidButton?26:20},null,8,["name","color","size"])):(Sr(),Tr(yr,{key:2},[i.isActive?Ti(e.$slots,"active-icon",{key:0},void 0,!0):Ti(e.$slots,"inactive-icon",{key:1},void 0,!0)],64)),Lr(l,{absolute:"",offset:[0,e.dot?"34rpx":e.badge>9?"14rpx":"20rpx"],customStyle:e.badgeStyle,isDot:e.dot,value:e.badge||(e.dot?1:null),show:e.dot||e.badge>0},null,8,["offset","customStyle","isDot","value","show"])]),_:3},8,["class"]),Ti(e.$slots,"text",{},()=>[Lr(c,{class:"u-tabbar-item__text",style:ze({color:i.isActive?i.parentData.activeColor:i.parentData.inactiveColor})},{default:bo(()=>[Dr(K(e.text),1)]),_:1},8,["style"])],!0)]),_:3},8,["style","class","onClick"])}],["__scopeId","data-v-822980de"]]),kB=Object.freeze(Object.defineProperty({__proto__:null,default:SB},Symbol.toStringTag,{value:"Module"})),CB={props:{value:{type:[String,Number,null],default:()=>CS.tabbar.value},safeAreaInsetBottom:{type:Boolean,default:()=>CS.tabbar.safeAreaInsetBottom},border:{type:Boolean,default:()=>CS.tabbar.border},borderColor:{type:String,default:()=>CS.tabbar.borderColor},zIndex:{type:[String,Number],default:()=>CS.tabbar.zIndex},activeColor:{type:String,default:()=>CS.tabbar.activeColor},inactiveColor:{type:String,default:()=>CS.tabbar.inactiveColor},fixed:{type:Boolean,default:()=>CS.tabbar.fixed},placeholder:{type:Boolean,default:()=>CS.tabbar.placeholder},backgroundColor:{type:String,default:()=>CS.tabbar.backgroundColor}}};const AB=MS({name:"u-tabbar",mixins:[IS,PS,CB],data:()=>({placeholderHeight:0}),computed:{tabbarStyle(){const e={zIndex:this.zIndex};return this.borderColor&&(e.borderColor=this.borderColor+" !important"),this.backgroundColor&&(e.backgroundColor=this.backgroundColor),Kx(e,Gx(this.customStyle))},updateChild(){return[this.value,this.activeColor,this.inactiveColor]},updatePlaceholder(){return[this.fixed,this.placeholder]}},watch:{updateChild(){this.updateChildren()},updatePlaceholder(){this.setPlaceholderHeight()}},created(){this.children=[]},mounted(){this.setPlaceholderHeight()},methods:{updateChildren(){this.children.length&&this.children.map(e=>e.updateFromParent())},async setPlaceholderHeight(){this.fixed&&this.placeholder&&(await Fx(20),this.$uGetRect(".u-tabbar__content").then(({height:e=50})=>{this.placeholderHeight=e}))}}},[["render",function(e,t,n,o,i,r){const a=Qg,s=DS(Ao("u-safe-bottom"),uk);return Sr(),Ir(a,{class:"u-tabbar"},{default:bo(()=>[Lr(a,{class:$e(["u-tabbar__content",[e.border&&"u-border-top",e.fixed&&"u-tabbar--fixed"]]),ref:"u-tabbar__content",onTouchmove:vs(e.noop,["stop","prevent"]),style:ze([r.tabbarStyle])},{default:bo(()=>[Lr(a,{class:"u-tabbar__content__item-wrapper"},{default:bo(()=>[Ti(e.$slots,"default",{},void 0,!0)]),_:3}),e.safeAreaInsetBottom?(Sr(),Ir(s,{key:0})):zr("",!0)]),_:3},8,["onTouchmove","class","style"]),e.placeholder?(Sr(),Ir(a,{key:0,class:"u-tabbar__placeholder",style:ze({height:i.placeholderHeight+"px"})},null,8,["style"])):zr("",!0)]),_:3})}],["__scopeId","data-v-97f7a5f4"]]),TB=Object.freeze(Object.defineProperty({__proto__:null,default:AB},Symbol.toStringTag,{value:"Module"}));const IB=MS({name:"u-short-video",props:{tabsList:{type:Array,default:()=>[{name:"推荐"},{name:"关注"},{name:"朋友"},{name:"本地"}]},videoList:{type:Array,default:()=>[]},currentTab:{type:Number,default:0},currentVideo:{type:Number,default:0}},data:()=>({progressValue:0,showSpeedSheet:!1,currentSpeedVideoIndex:0,speedOptions:[{name:"0.5x",value:.5},{name:"0.75x",value:.75},{name:"1.0x",value:1},{name:"1.25x",value:1.25},{name:"1.5x",value:1.5},{name:"2.0x",value:2}]}),methods:{handleTabChange(e){this.$emit("tabChange",e)},handleSwiperChange(e){const t=e.detail.current;this.pauseCurrentVideo(),this.$nextTick(()=>{this.playVideo(t)}),this.$emit("videoChange",t)},handleLike(e,t){this.$emit("like",{item:e,index:t})},handleComment(e,t){this.$emit("comment",{item:e,index:t})},handleShare(e,t){this.$emit("share",{item:e,index:t})},handleCollect(e,t){this.$emit("collect",{item:e,index:t})},onProgressChanging(e){this.videoList[this.currentVideo]&&(this.videoList[this.currentVideo].progressValue=e.detail.value),this.$emit("progressChanging",{progress:e.detail.value,index:this.currentVideo})},onProgressChange(e){this.videoList[this.currentVideo]&&this.$set(this.videoList[this.currentVideo],"progressValue",e.detail.value),this.$emit("progressChange",{progress:e.detail.value,index:this.currentVideo})},showSpeedOptions(e){this.currentSpeedVideoIndex=e,this.showSpeedSheet=!0},selectSpeed(e){Uh("video-"+this.currentSpeedVideoIndex,this).playbackRate(e.value),this.$set(this.videoList[this.currentSpeedVideoIndex],"playbackRate",e.value),this.showSpeedSheet=!1},playVideo(e){Uh("video-"+e,this).play()},pauseCurrentVideo(){Uh("video-"+this.currentVideo,this).pause()},onVideoPlay(e){this.$emit("videoPlay",{index:this.currentVideo,event:e})},onVideoPause(e){this.$emit("videoPause",{index:this.currentVideo,event:e})},onVideoEnded(e){this.$emit("videoEnded",{index:this.currentVideo,event:e})},onTimeUpdate(e){const t=e.detail.currentTime/e.detail.duration*100;this.videoList[this.currentVideo]&&this.$set(this.videoList[this.currentVideo],"progress",t),this.$emit("timeUpdate",{index:this.currentVideo,event:e})},onLoadedMetadata(e){this.$emit("loadedMetadata",{index:this.currentVideo,event:e})}}},[["render",function(e,t,n,o,i,r){const a=DS(Ao("up-icon"),LS),s=Qg,l=DS(Ao("up-tabs"),kC),c=ab,u=DS(Ao("u-avatar"),Fk),d=Hg,h=DS(Ao("up-button"),nC),p=$g,f=Dg,m=DS(Ao("up-action-sheet"),yk),g=DS(Ao("up-slider"),_B),y=DS(Ao("up-tabbar-item"),SB),b=DS(Ao("up-tabbar"),AB);return Sr(),Ir(s,{class:"u-short-video"},{default:bo(()=>[Lr(s,{class:"u-short-video__header"},{default:bo(()=>[Ti(e.$slots,"menu",{},()=>[Lr(s,{class:"u-short-video__header__menu"},{default:bo(()=>[Lr(a,{name:"grid",size:"24"})]),_:1})],!0),Lr(l,{list:n.tabsList,current:n.currentTab,lineColor:"#ddd",activeStyle:{color:"#ddd",fontWeight:400,transform:"scale(1)"},inactiveStyle:{color:"#bbb",transform:"scale(1)"},onChange:r.handleTabChange,class:"u-short-video__header__tabs"},null,8,["list","current","activeStyle","inactiveStyle","onChange"]),Ti(e.$slots,"search",{},()=>[Lr(s,{class:"u-short-video__header__search"},{default:bo(()=>[Lr(a,{name:"search",size:"24"})]),_:1})],!0)]),_:3}),Lr(f,{vertical:!0,autoplay:!1,onChange:r.handleSwiperChange,current:n.currentVideo,class:"u-short-video__content"},{default:bo(()=>[(Sr(!0),Tr(yr,null,Ai(n.videoList,(t,o)=>(Sr(),Ir(p,{key:o},{default:bo(()=>[Lr(s,{class:"u-short-video__content__item"},{default:bo(()=>[Lr(s,{class:"u-short-video__content__video"},{default:bo(()=>[Lr(c,{id:"video-"+o,src:t.videoUrl,autoplay:o===n.currentVideo,controls:!1,"show-fullscreen-btn":!1,"show-play-btn":!1,"show-center-play-btn":!1,"enable-progress-gesture":!0,loop:!0,"playback-rate":t.playbackRate||1,onPlay:r.onVideoPlay,onPause:r.onVideoPause,onEnded:r.onVideoEnded,onTimeupdate:r.onTimeUpdate,onLoadedmetadata:r.onLoadedMetadata,style:{width:"100%",height:"100%"}},null,8,["id","src","autoplay","playback-rate","onPlay","onPause","onEnded","onTimeupdate","onLoadedmetadata"])]),_:2},1024),Lr(s,{class:"u-short-video__content__author"},{default:bo(()=>[Lr(s,{class:"u-short-video__content__author__avatar"},{default:bo(()=>[Lr(u,{src:t.author.avatar,size:"50px"},null,8,["src"])]),_:2},1024),Lr(s,{class:"u-short-video__content__author__info"},{default:bo(()=>[Lr(d,{class:"u-short-video__content__author__name"},{default:bo(()=>[Dr(K(t.author.name),1)]),_:2},1024),Lr(d,{class:"u-short-video__content__author__desc"},{default:bo(()=>[Dr(K(t.author.desc),1)]),_:2},1024)]),_:2},1024),Lr(s,{class:"u-short-video__content__author__follow"},{default:bo(()=>[Lr(h,{type:"primary",size:"mini"},{default:bo(()=>[Dr("关注")]),_:1})]),_:1})]),_:2},1024),Lr(s,{class:"u-short-video__content__actions"},{default:bo(()=>[Ti(e.$slots,"actions",{item:t,index:o},()=>[Lr(s,{class:"u-short-video__content__actions__item",onClick:e=>r.handleLike(t,o)},{default:bo(()=>[Lr(a,{color:"#eee",name:t.isLiked?"thumb-up-fill":"thumb-up",size:"32px"},null,8,["name"]),Lr(d,{class:"u-short-video__content__actions__text"},{default:bo(()=>[Dr(K(t.likeCount),1)]),_:2},1024)]),_:2},1032,["onClick"]),Lr(s,{class:"u-short-video__content__actions__item",onClick:e=>r.handleComment(t,o)},{default:bo(()=>[Lr(a,{color:"#eee",name:"chat",size:"32px"}),Lr(d,{class:"u-short-video__content__actions__text"},{default:bo(()=>[Dr(K(t.commentCount),1)]),_:2},1024)]),_:2},1032,["onClick"]),Lr(s,{class:"u-short-video__content__actions__item",onClick:e=>r.handleShare(t,o)},{default:bo(()=>[Lr(a,{color:"#eee",name:"share",size:"32px"}),Lr(d,{class:"u-short-video__content__actions__text"},{default:bo(()=>[Dr(K(t.shareCount),1)]),_:2},1024)]),_:2},1032,["onClick"]),Lr(s,{class:"u-short-video__content__actions__item",onClick:e=>r.handleCollect(t,o)},{default:bo(()=>[Lr(a,{color:"#eee",name:t.isCollected?"bookmark-fill":"bookmark",size:"32px"},null,8,["name"]),Lr(d,{class:"u-short-video__content__actions__text"},{default:bo(()=>[Dr(K(t.collectCount),1)]),_:2},1024)]),_:2},1032,["onClick"])],!0)]),_:2},1024)]),_:2},1024)]),_:2},1024))),128))]),_:3},8,["onChange","current"]),Lr(m,{show:i.showSpeedSheet,actions:i.speedOptions,title:"播放速度",onClose:t[0]||(t[0]=e=>i.showSpeedSheet=!1),onSelect:r.selectSpeed},null,8,["show","actions","onSelect"]),Lr(s,{class:"u-short-video__footer"},{default:bo(()=>[Lr(s,{class:"u-short-video__progress",style:{"z-index":"999"}},{default:bo(()=>{var e;return[Lr(g,{value:null==(e=n.videoList[n.currentVideo])?void 0:e.progress,min:0,max:100,step:1,"show-value":!1,innerStyle:{padding:0},activeColor:"rgba(255,255,255,0.32)","inactive-color":"rgba(255,255,255,0.3)","block-size":"6px","block-color":"rgba(255,255,255,0.5)",height:"1px",onChanging:r.onProgressChanging,onChange:r.onProgressChange},null,8,["value","onChanging","onChange"])]}),_:1}),Ti(e.$slots,"tabbar",{},()=>[Lr(b,{fixed:!0,placeholder:!0,safeAreaInsetBottom:!0,borderColor:"rgba(255,255,255,0.25) !important",backgroundColor:"rgba(255,255,255,0.05)"},{default:bo(()=>[Lr(y,{onClick:e.goNext,text:"首页",icon:"home"},null,8,["onClick"]),Lr(y,{text:"放映厅",icon:"photo"}),Lr(y,{text:"直播",icon:"play-right"}),Lr(y,{text:"我的",icon:"account"})]),_:1})],!0)]),_:3})]),_:3})}],["__scopeId","data-v-4dd529e9"]]),EB=Object.freeze(Object.defineProperty({__proto__:null,default:IB},Symbol.toStringTag,{value:"Module"}));const PB=MS({name:"u-signature",props:{width:{type:[String,Number],default:300},height:{type:[String,Number],default:200},bgColor:{type:String,default:"#ffffff"},color:{type:String,default:"#000000"},thickness:{type:[String,Number],default:3},showToolbar:{type:Boolean,default:!0}},data:()=>({canvasId:"u-signature-"+Math.random().toString(36).substr(2,9),canvasWidth:300,canvasHeight:200,lineColor:"#000000",lineWidth:3,isDrawing:!1,pathStack:[],currentPath:[],ctx:null,isEmpty:!0,presetColors:["#000000","#ff0000","#00ff00","#0000ff","#ffff00","#00ffff","#ff00ff","#ffffff"],showBrushSettings:!1,showColorSettings:!1,lastPoint:null}),mounted(){this.initCanvas()},watch:{width:{handler(e){this.canvasWidth=Number(e)},immediate:!0},height:{handler(e){this.canvasHeight=Number(e)},immediate:!0},color:{handler(e){this.lineColor=e},immediate:!0},thickness:{handler(e){this.lineWidth=Number(e)},immediate:!0}},methods:{initCanvas(){const e=hp(this.canvasId,this);this.ctx=e,this.clearCanvas()},touchStart(e){if(!this.ctx)return;this.isDrawing=!0,this.isEmpty=!1,this.currentPath=[];const{x:t,y:n}=this.getCanvasPoint(e);this.ctx.beginPath(),this.ctx.moveTo(t,n),this.ctx.setLineCap("round"),this.ctx.setLineJoin("round"),this.ctx.setStrokeStyle(this.lineColor),this.ctx.setLineWidth(this.lineWidth),this.currentPath.push({x:t,y:n,type:"start",color:this.lineColor,width:this.lineWidth}),this.lastPoint={x:t,y:n},e.preventDefault()},touchMove(e){if(!this.isDrawing||!this.ctx)return;e.preventDefault();const{x:t,y:n}=this.getCanvasPoint(e);if(this.lastPoint){const e=Math.sqrt(Math.pow(t-this.lastPoint.x,2)+Math.pow(n-this.lastPoint.y,2)),o=Math.max(1,Math.floor(e/1));for(let i=1;i<=o;i++){const e=i/o,r=this.lastPoint.x+(t-this.lastPoint.x)*e,a=this.lastPoint.y+(n-this.lastPoint.y)*e;this.ctx.lineTo(r,a),this.ctx.stroke(),this.currentPath.push({x:r,y:a,type:"move"})}}else this.ctx.lineTo(t,n),this.ctx.stroke(),this.currentPath.push({x:t,y:n,type:"move"});this.ctx.draw(!0),this.lastPoint={x:t,y:n}},touchEnd(e){this.isDrawing&&this.ctx&&(this.isDrawing=!1,this.ctx.closePath(),this.lastPoint=null,this.currentPath.length>0&&this.pathStack.push([...this.currentPath]))},getCanvasPoint(e){const t=e.touches[0];return Ep().in(this).select(".u-signature__canvas"),{x:t.x,y:t.y}},selectColor(e){this.lineColor=e},undo(){0!==this.pathStack.length&&(this.pathStack.pop(),this.redraw())},redraw(){this.clearCanvas(),0!==this.pathStack.length?(this.isEmpty=!1,this.pathStack.forEach(e=>{0!==e.length&&(this.ctx.beginPath(),this.ctx.setLineCap("round"),this.ctx.setLineJoin("round"),e.forEach((e,t)=>{0===t&&"start"===e.type?(this.ctx.setStrokeStyle(e.color),this.ctx.setLineWidth(e.width),this.ctx.moveTo(e.x,e.y),e.x,e.y):"move"===e.type&&(this.ctx.lineTo(e.x,e.y),e.x,e.y)}),this.ctx.stroke(),this.ctx.draw(!0))})):this.isEmpty=!0},clear(){this.pathStack=[],this.currentPath=[],this.isEmpty=!0,this.lastPoint=null,this.clearCanvas()},clearCanvas(){this.ctx&&(this.ctx.setFillStyle(this.bgColor),this.ctx.fillRect(0,0,this.canvasWidth,this.canvasHeight),this.ctx.draw())},exportSignature(){this.isEmpty||mp({canvasId:this.canvasId,fileType:"png",quality:1,success:e=>{this.$emit("confirm",e.tempFilePath)},fail:e=>{this.$emit("error",e)}},this)},toggleBrushSettings(){this.showBrushSettings=!this.showBrushSettings,this.showBrushSettings&&(this.showColorSettings=!1)},toggleColorSettings(){this.showColorSettings=!this.showColorSettings,this.showColorSettings&&(this.showBrushSettings=!1)}}},[["render",function(e,t,n,o,i,r){const a=om,s=Qg,l=DS(Ao("up-icon"),LS),c=Hg,u=DS(Ao("up-slider"),_B);return Sr(),Ir(s,{class:"u-signature"},{default:bo(()=>[Lr(s,{class:"u-signature__canvas-wrap"},{default:bo(()=>[Lr(a,{class:"u-signature__canvas","canvas-id":i.canvasId,"disable-scroll":!0,onTouchstart:r.touchStart,onTouchmove:r.touchMove,onTouchend:r.touchEnd,style:ze({width:i.canvasWidth+"px",height:i.canvasHeight+"px",background:n.bgColor})},null,8,["canvas-id","onTouchstart","onTouchmove","onTouchend","style"])]),_:1}),n.showToolbar?(Sr(),Ir(s,{key:0,class:"u-signature__toolbar"},{default:bo(()=>[Lr(s,{class:"u-signature__toolbar-icons u-flex u-flex-x"},{default:bo(()=>[Lr(s,{class:"u-signature__toolbar-icon",onClick:r.undo},{default:bo(()=>[Lr(l,{name:"arrow-left",size:"22",color:0===i.pathStack.length?"#ccc":"#999"},null,8,["color"])]),_:1},8,["onClick"]),Lr(s,{class:"u-signature__toolbar-icon",onClick:r.clear},{default:bo(()=>[Lr(l,{name:"trash",size:"25",color:"#999"})]),_:1},8,["onClick"]),Lr(s,{class:"u-signature__toolbar-icon",onClick:r.toggleBrushSettings},{default:bo(()=>[Lr(l,{name:"edit-pen",size:"25",color:"#999"})]),_:1},8,["onClick"]),Lr(s,{class:"u-signature__toolbar-icon",onClick:r.toggleColorSettings},{default:bo(()=>[Lr(l,{name:"grid",size:"24",color:"#999"})]),_:1},8,["onClick"]),Lr(s,{class:"u-signature__toolbar-icon",onClick:r.exportSignature},{default:bo(()=>[Lr(l,{name:"checkmark",size:"25",color:i.isEmpty?"#ccc":"#999"},null,8,["color"])]),_:1},8,["onClick"])]),_:1}),i.showBrushSettings?(Sr(),Ir(s,{key:0,class:"u-signature__brush-settings"},{default:bo(()=>[Lr(s,{class:"u-signature__progress"},{default:bo(()=>[Lr(c,{class:"u-signature__progress-label"},{default:bo(()=>[Dr(K(e.t("up.signature.penSize"))+":",1)]),_:1}),Lr(u,{modelValue:i.lineWidth,"onUpdate:modelValue":t[0]||(t[0]=e=>i.lineWidth=e),min:1,max:20,step:1,onShowValue:e=>!0,"value-show":i.lineWidth},null,8,["modelValue","value-show"])]),_:1})]),_:1})):zr("",!0),i.showColorSettings?(Sr(),Ir(s,{key:1,class:"u-signature__color-settings"},{default:bo(()=>[Lr(s,{class:"u-signature__color-picker"},{default:bo(()=>[Lr(c,{class:"u-signature__color-label"},{default:bo(()=>[Dr(K(e.t("up.signature.penColor"))+":",1)]),_:1}),Lr(s,{class:"u-signature__colors"},{default:bo(()=>[(Sr(!0),Tr(yr,null,Ai(i.presetColors,(e,t)=>(Sr(),Ir(s,{key:t,class:$e(["u-signature__color-item",{"u-signature__color-item--active":i.lineColor===e}]),style:ze({backgroundColor:e}),onClick:t=>r.selectColor(e)},null,8,["class","style","onClick"]))),128))]),_:1})]),_:1})]),_:1})):zr("",!0)]),_:1})):zr("",!0)]),_:1})}],["__scopeId","data-v-5d5c11f4"]]),BB=Object.freeze(Object.defineProperty({__proto__:null,default:PB},Symbol.toStringTag,{value:"Module"})),OB={props:{loading:{type:Boolean,default:()=>CS.skeleton.loading},animate:{type:Boolean,default:()=>CS.skeleton.animate},rows:{type:[String,Number],default:()=>CS.skeleton.rows},rowsWidth:{type:[String,Number,Array],default:()=>CS.skeleton.rowsWidth},rowsHeight:{type:[String,Number,Array],default:()=>CS.skeleton.rowsHeight},title:{type:Boolean,default:()=>CS.skeleton.title},titleWidth:{type:[String,Number],default:()=>CS.skeleton.titleWidth},titleHeight:{type:[String,Number],default:()=>CS.skeleton.titleHeight},avatar:{type:Boolean,default:()=>CS.skeleton.avatar},avatarSize:{type:[String,Number],default:()=>CS.skeleton.avatarSize},avatarShape:{type:String,default:()=>CS.skeleton.avatarShape}}};const NB=MS({name:"u-skeleton",mixins:[IS,PS,OB],data:()=>({width:0}),watch:{loading(){this.getComponentWidth()}},computed:{rowsArray(){/%$/.test(this.rowsHeight);const e=[];for(let t=0;t{this.width=e.width})}}},[["render",function(e,t,n,o,i,r){const a=Qg;return Sr(),Ir(a,{class:"u-skeleton"},{default:bo(()=>[e.loading?(Sr(),Ir(a,{key:0,class:"u-skeleton__wrapper",ref:"u-skeleton__wrapper",style:{display:"flex","flex-direction":"row"}},{default:bo(()=>[e.avatar?(Sr(),Ir(a,{key:0,class:$e(["u-skeleton__wrapper__avatar",[`u-skeleton__wrapper__avatar--${e.avatarShape}`,e.animate&&"animate"]]),style:ze({height:r.addUnit(e.avatarSize),width:r.addUnit(e.avatarSize)})},null,8,["class","style"])):zr("",!0),Lr(a,{class:"u-skeleton__wrapper__content",ref:"u-skeleton__wrapper__content",style:{flex:"1"}},{default:bo(()=>[e.title?(Sr(),Ir(a,{key:0,class:$e(["u-skeleton__wrapper__content__title",[e.animate&&"animate"]]),style:ze({width:r.uTitleWidth,height:r.addUnit(e.titleHeight)})},null,8,["style","class"])):zr("",!0),(Sr(!0),Tr(yr,null,Ai(r.rowsArray,(t,n)=>(Sr(),Ir(a,{class:$e(["u-skeleton__wrapper__content__rows",[e.animate&&"animate"]]),key:n,style:ze({width:t.width,height:t.height,marginTop:t.marginTop})},null,8,["class","style"]))),128))]),_:1},512)]),_:1},512)):Ti(e.$slots,"default",{key:1},void 0,!0)]),_:3})}],["__scopeId","data-v-c5e38ba4"]]),MB=Object.freeze(Object.defineProperty({__proto__:null,default:NB},Symbol.toStringTag,{value:"Module"})),LB={props:{offsetTop:{type:[String,Number],default:()=>CS.sticky.offsetTop},customNavHeight:{type:[String,Number],default:44},disabled:{type:Boolean,default:()=>CS.sticky.disabled},bgColor:{type:String,default:()=>CS.sticky.bgColor},zIndex:{type:[String,Number],default:()=>CS.sticky.zIndex},index:{type:[String,Number],default:()=>CS.sticky.index}}};const RB=MS({name:"u-sticky",mixins:[IS,PS,LB],data:()=>({cssSticky:!1,stickyTop:0,elId:qx(),left:0,width:"auto",height:"auto",fixed:!1}),computed:{style(){const e={};return this.disabled?e.position="static":this.cssSticky?(e.position="sticky",e.zIndex=this.uZindex,e.top=Yx(this.stickyTop)):e.height=this.fixed?this.height+"px":"auto",e.backgroundColor=this.bgColor,Kx(Gx(this.customStyle),e)},stickyContent(){const e={};return this.cssSticky||(e.position=this.fixed?"fixed":"static",e.top=this.stickyTop+"px",e.left=this.left+"px",e.width="auto"==this.width?"auto":this.width+"px",e.zIndex=this.uZindex),e},uZindex(){return this.zIndex?this.zIndex:cx.sticky}},mounted(){this.init()},watch:{offsetTop(e){this.getStickyTop()}},methods:{init(){this.getStickyTop(),this.checkSupportCssSticky(),this.cssSticky||!this.disabled&&this.initObserveContent()},initObserveContent(){this.$uGetRect("#"+this.elId).then(e=>{this.height=e.height,this.left=e.left,this.width=e.width,this.$nextTick(()=>{this.observeContent()})})},observeContent(){this.disconnectObserver("contentObserver");const e=wp(this,{thresholds:[.95,.98,1]});e.relativeToViewport({top:-this.stickyTop}),e.observe(`#${this.elId}`,e=>{this.setFixed(e.boundingClientRect.top)}),this.contentObserver=e},setFixed(e){const t=e<=this.stickyTop;this.fixed=t},disconnectObserver(e){const t=this[e];t&&t.disconnect()},getStickyTop(){this.stickyTop=zx(this.offsetTop)+zx(this.customNavHeight)},async checkSupportCssSticky(){this.checkCssStickyForH5()&&(this.cssSticky=!0),"android"===jx()&&Number(Wx().system)>8&&(this.cssSticky=!0),"ios"===jx()&&(this.cssSticky=!0)},checkComputedStyle(){},checkCssStickyForH5(){const e=["","-webkit-","-ms-","-moz-","-o-"],t=e.length,n=document.createElement("div");for(let o=0;o[Lr(a,{id:i.elId,style:ze([r.stickyContent]),class:"u-sticky__content"},{default:bo(()=>[Ti(e.$slots,"default",{},void 0,!0)]),_:3},8,["id","style"])]),_:3},8,["style"])}],["__scopeId","data-v-fd39efb0"]]),DB=Object.freeze(Object.defineProperty({__proto__:null,default:RB},Symbol.toStringTag,{value:"Module"}));const zB={props:{show:{type:Boolean,default:()=>CS.swipeActionItem.show},closeOnClick:{type:Boolean,default:()=>CS.swipeActionItem.closeOnClick},name:{type:[String,Number],default:()=>CS.swipeActionItem.name},disabled:{type:Boolean,default:()=>CS.swipeActionItem.disabled},autoClose:{type:Boolean,default:()=>CS.swipeActionItem.autoClose},threshold:{type:Number,default:()=>CS.swipeActionItem.threshold},options:{type:Array,default:()=>CS.swipeActionItem.rightOptions},duration:{type:[String,Number],default:()=>CS.swipeActionItem.duration}}};function $B(e){return e.toString().indexOf("s")>=0?e:e>30?e+"ms":e+"s"}function FB(e,t,n){t.getState(),n.selectAllComponents(".u-swipe-action-item__right__button"),t.requestAnimationFrame(function(){t.setStyle({transition:"none",transform:"translateX("+e+"px)","-webkit-transform":"translateX("+e+"px)"})})}function jB(e,t){var n=e.getState();t.selectAllComponents(".u-swipe-action-item__right__button");var o=$B(n.duration),i=-n.buttonsWidth;e.requestAnimationFrame(function(){e.setStyle({transition:"transform "+o,transform:"translateX("+i+"px)","-webkit-transform":"translateX("+i+"px)"})}),HB("open",e,t)}function HB(e,t,n){t.getState().status=e,n.callMethod("setState",e)}function VB(e,t){var n=e.getState(),o=t.selectAllComponents(".u-swipe-action-item__right__button"),i=o.length,r=$B(n.duration);e.requestAnimationFrame(function(){e.setStyle({transition:"transform "+r,transform:"translateX(0px)","-webkit-transform":"translateX(0px)"});for(var t=i-1;t>=0;t--)o[t].setStyle({transition:"transform "+r,transform:"translateX(0px)","-webkit-transform":"translateX(0px)"})}),HB("close",e,t)}const WB={touchstart:function(e,t){var n=e.instance.getState();if(!n.disabled){var o=e.touches;o&&o.length>1||(n.moving=!0,n.startX=o[0].pageX,n.startY=o[0].pageY,t.callMethod("closeOther"))}},touchmove:function(e,t){var n=e.instance,o=n.getState();if(!o.disabled&&o.moving){var i=e.touches,r=i[0].pageX,a=i[0].pageY,s=r-o.startX,l=a-o.startY,c=o.buttonsWidth;(Math.abs(s)>Math.abs(l)||Math.abs(s)>o.threshold)&&(e.preventDefault&&e.preventDefault(),e.stopPropagation&&e.stopPropagation()),Math.abs(s)c&&(s=c),FB(-c+s,n,t)):(s>0&&(s=0),Math.abs(s)>c&&(s=-c),FB(s,n,t)))}},touchend:function(e,t){var n=e.instance,o=n.getState();if(o.moving&&!o.disabled){var i=e.changedTouches?e.changedTouches[0]:{},r=i.pageX;i.pageY;var a=r-o.startX;if("open"===o.status){if(a<0)return;if(0===a)return VB(n,t);Math.abs(a)0)return;Math.abs(a){e.$wxs||(e.$wxs=[]),e.$wxs.push("wxs"),e.mixins||(e.mixins=[]),e.mixins.push({beforeCreate(){this.wxs=WB}})},qB={name:"u-swipe-action-item",emits:["click","update:show"],mixins:[IS,PS,{methods:{getTouchPoint:e=>e?e.touches&&e.touches[0]?{x:e.touches[0].pageX,y:e.touches[0].pageY}:e.changedTouches&&e.changedTouches[0]?{x:e.changedTouches[0].pageX,y:e.changedTouches[0].pageY}:{x:e.clientX||0,y:e.clientY||0}:{x:0,y:0},resetTouchStatus(){this.direction="",this.deltaX=0,this.deltaY=0,this.offsetX=0,this.offsetY=0},touchStart(e){this.resetTouchStatus();const t=this.getTouchPoint(e);this.startX=t.x,this.startY=t.y},touchMove(e){const t=this.getTouchPoint(e);var n,o;this.deltaX=t.x-this.startX,this.deltaY=t.y-this.startY,this.offsetX=Math.abs(this.deltaX),this.offsetY=Math.abs(this.deltaY),this.direction=this.direction||(n=this.offsetX,o=this.offsetY,n>o&&n>10?"horizontal":o>n&&o>10?"vertical":"")}}},{methods:{closeHandler(){this.status="close"},setState(e){this.status=e},closeOther(){this.parent&&this.parent.closeOther(this)}}},zB],data:()=>({size:{},parentData:{autoClose:!0},status:"",sliderStyle:{}}),watch:{wxsInit(e,t){this.queryRect()},status(e){"open"===e?(this.$emit("update:show",!0),this.parent&&this.parent.setOpendItem(this)):this.$emit("update:show",!1)},show(e){this.status=e?"open":"close"}},computed:{wxsInit(){return[this.disabled,this.autoClose,this.threshold,this.options,this.duration]}},mounted(){this.init()},beforeUmount(){this.closeHandler()},methods:{addUnit:Yx,getPx:zx,init(){this.updateParentData(),Fx().then(()=>{this.queryRect()})},updateParentData(){this.getParentData("u-swipe-action")},queryRect(){this.$uGetRect(".u-swipe-action-item__right__button",!0).then(e=>{this.size={buttons:e,show:this.show,disabled:this.disabled,threshold:this.threshold,duration:this.duration}})},buttonClickHandler(e,t){this.$emit("click",{index:t,name:this.name},()=>{}),this.closeOnClick&&this.closeHandler()}}};UB(qB);const QB=MS(qB,[["render",function(e,t,n,o,i,r){const a=DS(Ao("up-icon"),LS),s=Hg,l=Qg;return Sr(),Ir(l,{class:"u-swipe-action-item",ref:"u-swipe-action-item"},{default:bo(()=>[Lr(l,{class:"u-swipe-action-item__right"},{default:bo(()=>[Ti(e.$slots,"button",{},()=>[(Sr(!0),Tr(yr,null,Ai(e.options,(e,t)=>(Sr(),Ir(l,{key:t,class:"u-swipe-action-item__right__button",ref_for:!0,ref:`u-swipe-action-item__right__button-${t}`,style:ze([{alignItems:e.style&&e.style.borderRadius?"center":"stretch"}]),onClick:n=>r.buttonClickHandler(e,t)},{default:bo(()=>[Lr(l,{class:"u-swipe-action-item__right__button__wrapper",style:ze([{backgroundColor:e.style&&e.style.backgroundColor?e.style.backgroundColor:"#C7C6CD",borderRadius:e.style&&e.style.borderRadius?e.style.borderRadius:"0",padding:e.style&&e.style.borderRadius?"0":"0 15px"},e.style])},{default:bo(()=>[e.icon?(Sr(),Ir(a,{key:0,name:e.icon,color:e.style&&e.style.color?e.style.color:"#ffffff",size:e.iconSize?r.addUnit(e.iconSize):e.style&&e.style.fontSize?1.2*r.getPx(e.style.fontSize):17,customStyle:{marginRight:e.text?"2px":0}},null,8,["name","color","size","customStyle"])):zr("",!0),e.text?(Sr(),Ir(s,{key:1,class:"u-swipe-action-item__right__button__wrapper__text u-line-1",style:ze([{color:e.style&&e.style.color?e.style.color:"#ffffff",fontSize:e.style&&e.style.fontSize?e.style.fontSize:"16px",lineHeight:e.style&&e.style.fontSize?e.style.fontSize:"16px"}])},{default:bo(()=>[Dr(K(e.text),1)]),_:2},1032,["style"])):zr("",!0)]),_:2},1032,["style"])]),_:2},1032,["style","onClick"]))),128))],!0)]),_:3}),Lr(l,{class:"u-swipe-action-item__content",onTouchstart:e.wxs.touchstart,onTouchmove:e.wxs.touchmove,onTouchend:e.wxs.touchend,status:i.status,"change:status":e.wxs.statusChange,size:i.size,"change:size":e.wxs.sizeChange},{default:bo(()=>[Ti(e.$slots,"default",{},void 0,!0)]),_:3},8,["onTouchstart","onTouchmove","onTouchend","status","change:status","size","change:size"])]),_:3},512)}],["__scopeId","data-v-30605ee9"]]),GB=Object.freeze(Object.defineProperty({__proto__:null,default:QB},Symbol.toStringTag,{value:"Module"})),YB={props:{autoClose:{type:Boolean,default:()=>CS.swipeAction.autoClose},opendItem:{type:Boolean,default:!1}}};const XB=MS({name:"u-swipe-action",mixins:[IS,PS,YB],data:()=>({}),provide(){return{swipeAction:this}},computed:{parentData(){return[this.autoClose]}},emits:["opendItem:update"],watch:{parentData(){this.children.length&&this.children.map(e=>{"function"==typeof e.updateParentData&&e.updateParentData()})},opendItem(e){0==e&&this.closeAll()}},created(){this.children=[]},methods:{closeOther(e){this.autoClose&&this.children.map((t,n)=>{e!==t&&t.closeHandler()})},closeAll(){this.children.map((e,t)=>{e.closeHandler()})},setOpendItem(e){this.$emit("opendItem:update",!0)}}},[["render",function(e,t,n,o,i,r){const a=Qg;return Sr(),Ir(a,{class:"u-swipe-action"},{default:bo(()=>[Ti(e.$slots,"default")]),_:3})}]]),KB=Object.freeze(Object.defineProperty({__proto__:null,default:XB},Symbol.toStringTag,{value:"Module"}));const JB=MS({name:"u-swiper-indicator",mixins:[IS,PS,{props:{length:{type:[String,Number],default:()=>CS.swiperIndicator.length},current:{type:[String,Number],default:()=>CS.swiperIndicator.current},indicatorActiveColor:{type:String,default:()=>CS.swiperIndicator.indicatorActiveColor},indicatorInactiveColor:{type:String,default:()=>CS.swiperIndicator.indicatorInactiveColor},indicatorMode:{type:String,default:()=>CS.swiperIndicator.indicatorMode}}}],data:()=>({lineWidth:22}),computed:{lineStyle(){let e={};return e.width=Yx(this.lineWidth),e.transform=`translateX(${Yx(this.current*this.lineWidth)})`,e.backgroundColor=this.indicatorActiveColor,e},dotStyle(){return e=>{let t={};return t.backgroundColor=e===this.current?this.indicatorActiveColor:this.indicatorInactiveColor,t}}},methods:{addUnit:Yx}},[["render",function(e,t,n,o,i,r){const a=Qg;return Sr(),Ir(a,{class:"u-swiper-indicator"},{default:bo(()=>["line"===e.indicatorMode?(Sr(),Ir(a,{key:0,class:$e(["u-swiper-indicator__wrapper",[`u-swiper-indicator__wrapper--${e.indicatorMode}`]]),style:ze({width:r.addUnit(i.lineWidth*e.length),backgroundColor:e.indicatorInactiveColor})},{default:bo(()=>[Lr(a,{class:"u-swiper-indicator__wrapper--line__bar",style:ze([r.lineStyle])},null,8,["style"])]),_:1},8,["class","style"])):zr("",!0),"dot"===e.indicatorMode?(Sr(),Ir(a,{key:1,class:"u-swiper-indicator__wrapper"},{default:bo(()=>[(Sr(!0),Tr(yr,null,Ai(e.length,(t,n)=>(Sr(),Ir(a,{class:$e(["u-swiper-indicator__wrapper__dot",[n===e.current&&"u-swiper-indicator__wrapper__dot--active"]]),key:n,style:ze([r.dotStyle(n)])},null,8,["class","style"]))),128))]),_:1})):zr("",!0)]),_:1})}],["__scopeId","data-v-d9c94103"]]),ZB=Object.freeze(Object.defineProperty({__proto__:null,default:JB},Symbol.toStringTag,{value:"Module"})),eO={props:{list:{type:Array,default:()=>CS.swiper.list},indicator:{type:Boolean,default:()=>CS.swiper.indicator},indicatorActiveColor:{type:String,default:()=>CS.swiper.indicatorActiveColor},indicatorInactiveColor:{type:String,default:()=>CS.swiper.indicatorInactiveColor},indicatorStyle:{type:[String,Object],default:()=>CS.swiper.indicatorStyle},indicatorMode:{type:String,default:()=>CS.swiper.indicatorMode},autoplay:{type:Boolean,default:()=>CS.swiper.autoplay},current:{type:[String,Number],default:()=>CS.swiper.current},currentItemId:{type:String,default:()=>CS.swiper.currentItemId},interval:{type:[String,Number],default:()=>CS.swiper.interval},duration:{type:[String,Number],default:()=>CS.swiper.duration},circular:{type:Boolean,default:()=>CS.swiper.circular},previousMargin:{type:[String,Number],default:()=>CS.swiper.previousMargin},nextMargin:{type:[String,Number],default:()=>CS.swiper.nextMargin},acceleration:{type:Boolean,default:()=>CS.swiper.acceleration},displayMultipleItems:{type:Number,default:()=>CS.swiper.displayMultipleItems},easingFunction:{type:String,default:()=>CS.swiper.easingFunction},keyName:{type:String,default:()=>CS.swiper.keyName},imgMode:{type:String,default:()=>CS.swiper.imgMode},height:{type:[String,Number],default:()=>CS.swiper.height},bgColor:{type:String,default:()=>CS.swiper.bgColor},radius:{type:[String,Number],default:()=>CS.swiper.radius},loading:{type:Boolean,default:()=>CS.swiper.loading},showTitle:{type:Boolean,default:()=>CS.swiper.showTitle}}};const tO=MS({name:"u-swiper",mixins:[IS,PS,eO],data:()=>({currentIndex:0}),watch:{current(e,t){e!==t&&(this.currentIndex=e)}},emits:["click","change","update:current"],computed:{itemStyle(){return e=>{const t={};return this.nextMargin&&this.previousMargin&&(t.borderRadius=Yx(this.radius),e!==this.currentIndex&&(t.transform="scale(0.92)")),t}}},methods:{addStyle:Gx,addUnit:Yx,testObject:Ex.object,testImage:Ex.image,getItemType(e){return"string"==typeof e?Ex.video(this.getSource(e))?"video":"image":"object"==typeof e&&this.keyName?e.type?"image"===e.type?"image":"video"===e.type?"video":"image":Ex.video(this.getSource(e))?"video":"image":void 0},getSource(e){return"string"==typeof e?e:"object"==typeof e&&this.keyName?e[this.keyName]:""},change(e){const{current:t}=e.detail;this.pauseVideo(this.currentIndex),this.currentIndex=t,this.$emit("update:current",this.currentIndex),this.$emit("change",e.detail)},pauseVideo(e){const t=this.getSource(this.list[e]);if(Ex.video(t)){Uh(`video-${e}`,this).pause()}},getPoster:e=>"object"==typeof e&&e.poster?e.poster:"",clickHandler(e){this.$emit("click",e)}}},[["render",function(e,t,n,o,i,r){const a=DS(Ao("up-loading-icon"),XS),s=Qg,l=xm,c=ab,u=Hg,d=$g,h=Dg,p=DS(Ao("up-swiper-indicator"),JB);return Sr(),Ir(s,{class:"u-swiper",style:ze({backgroundColor:e.bgColor,height:r.addUnit(e.height),borderRadius:r.addUnit(e.radius)})},{default:bo(()=>[e.loading?(Sr(),Ir(s,{key:0,class:"u-swiper__loading"},{default:bo(()=>[Lr(a,{mode:"circle"})]),_:1})):(Sr(),Ir(h,{key:1,class:"u-swiper__wrapper",style:ze({flex:"1",height:r.addUnit(e.height)}),onChange:r.change,circular:e.circular,interval:e.interval,duration:e.duration,autoplay:e.autoplay,current:e.current,currentItemId:e.currentItemId,previousMargin:r.addUnit(e.previousMargin),nextMargin:r.addUnit(e.nextMargin),acceleration:e.acceleration,displayMultipleItems:e.list.length>0?e.displayMultipleItems:0,easingFunction:e.easingFunction},{default:bo(()=>[(Sr(!0),Tr(yr,null,Ai(e.list,(t,n)=>(Sr(),Ir(d,{class:"u-swiper__wrapper__item",key:n},{default:bo(()=>[Ti(e.$slots,"default",{item:t,index:n},()=>[Lr(s,{class:"u-swiper__wrapper__item__wrapper",style:ze([r.itemStyle(n)])},{default:bo(()=>["image"===r.getItemType(t)?(Sr(),Ir(l,{key:0,class:"u-swiper__wrapper__item__wrapper__image",src:r.getSource(t),mode:e.imgMode,onClick:e=>r.clickHandler(n),style:ze({height:r.addUnit(e.height),borderRadius:r.addUnit(e.radius)})},null,8,["src","mode","onClick","style"])):zr("",!0),"video"===r.getItemType(t)?(Sr(),Ir(c,{key:1,class:"u-swiper__wrapper__item__wrapper__video",id:`video-${n}`,"enable-progress-gesture":!1,src:r.getSource(t),poster:r.getPoster(t),title:e.showTitle&&r.testObject(t)&&t.title?t.title:"",style:ze({height:r.addUnit(e.height)}),controls:"",onClick:e=>r.clickHandler(n)},null,8,["id","src","poster","title","style","onClick"])):zr("",!0),e.showTitle&&r.testObject(t)&&t.title&&r.testImage(r.getSource(t))?(Sr(),Ir(s,{key:2,class:"u-swiper__wrapper__item__wrapper__title"},{default:bo(()=>[Lr(u,{class:"u-line-1"},{default:bo(()=>[Dr(K(t.title),1)]),_:2},1024)]),_:2},1024)):zr("",!0)]),_:2},1032,["style"])],!0)]),_:2},1024))),128))]),_:3},8,["style","onChange","circular","interval","duration","autoplay","current","currentItemId","previousMargin","nextMargin","acceleration","displayMultipleItems","easingFunction"])),Lr(s,{class:"u-swiper__indicator",style:ze([r.addStyle(e.indicatorStyle)])},{default:bo(()=>[Ti(e.$slots,"indicator",{},()=>[e.loading||!e.indicator||e.showTitle?zr("",!0):(Sr(),Ir(p,{key:0,indicatorActiveColor:e.indicatorActiveColor,indicatorInactiveColor:e.indicatorInactiveColor,length:e.list.length,current:i.currentIndex,indicatorMode:e.indicatorMode},null,8,["indicatorActiveColor","indicatorInactiveColor","length","current","indicatorMode"]))],!0)]),_:3},8,["style"])]),_:3},8,["style"])}],["__scopeId","data-v-1fc5bda9"]]),nO=Object.freeze(Object.defineProperty({__proto__:null,default:tO},Symbol.toStringTag,{value:"Module"})),oO={props:{loading:{type:Boolean,default:()=>CS.switch.loading},disabled:{type:Boolean,default:()=>CS.switch.disabled},size:{type:[String,Number],default:()=>CS.switch.size},activeColor:{type:String,default:()=>CS.switch.activeColor},inactiveColor:{type:String,default:()=>CS.switch.inactiveColor},modelValue:{type:[Boolean,String,Number],default:()=>CS.switch.value},activeValue:{type:[String,Number,Boolean],default:()=>CS.switch.activeValue},inactiveValue:{type:[String,Number,Boolean],default:()=>CS.switch.inactiveValue},asyncChange:{type:Boolean,default:()=>CS.switch.asyncChange},space:{type:[String,Number],default:()=>CS.switch.space}}};const iO=MS({name:"u-switch",mixins:[IS,PS,oO],watch:{modelValue:{immediate:!0,handler(e){e!==this.inactiveValue&&this.activeValue}}},data:()=>({bgColor:"#ffffff"}),computed:{isActive(){return this.modelValue===this.activeValue},switchStyle(){let e={};return e.width=Yx(2*this.size+2),e.height=Yx(Number(this.size)+2),this.customInactiveColor&&(e.borderColor="rgba(0, 0, 0, 0)"),e.backgroundColor=this.isActive?this.activeColor:this.inactiveColor,e},nodeStyle(){let e={};e.width=Yx(this.size-this.space),e.height=Yx(this.size-this.space);const t=this.isActive?Yx(this.space):Yx(this.size);return e.transform=`translateX(-${t})`,e},bgStyle(){let e={};return e.width=Yx(2*Number(this.size)-this.size/2),e.height=Yx(this.size),e.backgroundColor=this.inactiveColor,e.transform=`scale(${this.isActive?0:1})`,e},customInactiveColor(){return"#fff"!==this.inactiveColor&&"#ffffff"!==this.inactiveColor}},emits:["update:modelValue","change"],methods:{addStyle:Gx,clickHandler(){if(!this.disabled&&!this.loading){const e=this.isActive?this.inactiveValue:this.activeValue;this.asyncChange||this.$emit("update:modelValue",e),this.$nextTick(()=>{this.$emit("change",e)})}}}},[["render",function(e,t,n,o,i,r){const a=Qg,s=DS(Ao("u-loading-icon"),XS);return Sr(),Ir(a,{class:$e(["u-switch cursor-pointer",[e.disabled&&"u-switch--disabled"]]),style:ze([r.switchStyle,r.addStyle(e.customStyle)]),onClick:r.clickHandler},{default:bo(()=>[Lr(a,{class:"u-switch__bg",style:ze([r.bgStyle])},null,8,["style"]),Lr(a,{class:$e(["u-switch__node",[e.modelValue&&"u-switch__node--on"]]),style:ze([r.nodeStyle]),ref:"u-switch__node"},{default:bo(()=>[Lr(s,{show:e.loading,mode:"circle",timingFunction:"linear",color:e.modelValue?e.activeColor:"#AAABAD",size:.6*e.size},null,8,["show","color","size"])]),_:1},8,["class","style"])]),_:1},8,["class","style","onClick"])}],["__scopeId","data-v-bba54bb5"]]),rO=Object.freeze(Object.defineProperty({__proto__:null,default:iO},Symbol.toStringTag,{value:"Module"}));const aO=MS({name:"u-table",mixins:[IS,PS,{props:{}}],props:{borderColor:{type:String,default:"#e4e7ed"},align:{type:String,default:"center"},padding:{type:String,default:"5px 3px"},fontSize:{type:[String],default:"14px"},color:{type:String,default:"#606266"},thStyle:{type:Object,default:()=>({})},bgColor:{type:String,default:"#ffffff"}},data:()=>({show:!0}),watch:{align(){this.change()},borderColor(){this.change()}},computed:{tableStyle(){let e={};return e.borderLeft=`solid 1px ${this.borderColor}`,e.borderTop=`solid 1px ${this.borderColor}`,e.backgroundColor=this.bgColor,e}},methods:{change(){this.show=!1,this.$nextTick(()=>{this.show=!0})}}},[["render",function(e,t,n,o,i,r){const a=Qg;return Sr(),Ir(a,{class:"u-table",style:ze([r.tableStyle])},{default:bo(()=>[i.show?Ti(e.$slots,"default",{key:0}):zr("",!0)]),_:3},8,["style"])}]]),sO=Object.freeze(Object.defineProperty({__proto__:null,default:aO},Symbol.toStringTag,{value:"Module"}));const lO=MS({name:"u-table2",components:{tableRow:MS({name:"tableRow",props:{row:{type:Object,required:!0},rowIndex:{type:Number,required:!0},parentRow:{type:Object,default:null},columns:{type:Array,required:!0},treeProps:{type:Object,required:!0},rowKey:{type:String,required:!0},expandedKeys:{type:Array,required:!0},cellStyleInner:{type:Function,required:!0},isExpanded:{type:Function,required:!0},rowClassName:{type:Function,default:null},stripe:{type:Boolean,default:!1},cellClassName:{type:Function,default:null},getFixedClass:{type:Function,required:!0},highlightCurrentRow:{type:Boolean,default:!1},currentRow:{type:Object,default:null},handleRowClick:{type:Function,required:!0},toggleExpand:{type:Function,required:!0},level:{type:Number,required:!0},computedMainCol:{type:String,required:!0},expandWidth:{type:String,required:!0},hasTree:{type:Boolean,required:!1},selectedRows:{type:Array,required:!1},rowHeight:{type:String,required:!0},spanMethod:{type:Function,default:null}},emits:["rowClick","toggleExpand","toggleSelect"],methods:{isSelected(e){return this.selectedRows.some(t=>t[this.rowKey]===e[this.rowKey])},getCellSpan(e,t){if("function"!=typeof this.spanMethod)return{rowspan:1,colspan:1};const n=this.row,o=this.columns[t],i=this.spanMethod({row:n,column:o,rowIndex:e,columnIndex:t});if(Array.isArray(i)){const[e,t]=i;return{rowspan:null!=e?e:1,colspan:null!=t?t:1}}return"object"==typeof i?{rowspan:null!=rowspan?rowspan:1,colspan:null!=colspan?colspan:1}:{rowspan:1,colspan:1}},getCellSpanClass(e,t){const n=this.getCellSpan(e,t);return 0===n.rowspan||0===n.colspan?"u-table-cell-hidden":n.rowspan>1||n.colspan>1?"u-table-cell-merged":""},getCellSpanStyle(e,t){const n=this.getCellSpan(e,t),o={};if(n.rowspan>1){const e=parseInt(this.rowHeight);isNaN(e)||(o.height=n.rowspan*e+"px")}return n.colspan>1&&(o.flex=n.colspan),0!==n.rowspan&&0!==n.colspan||(o.display="none"),o}}},[["render",function(e,t,n,o,i,r){const a=rm,s=Qg,l=ko("table-row",!0);return Sr(),Tr(yr,null,[Lr(s,{class:$e(["u-table-row u-table-row-child",[n.highlightCurrentRow&&n.currentRow===n.row?"u-table-row-highlight":"",n.rowClassName?n.rowClassName(n.row,n.rowIndex):"",n.stripe&&n.rowIndex%2==1?"u-table-row-zebra":""]]),style:ze({height:n.rowHeight}),onClick:t[2]||(t[2]=e=>n.handleRowClick(n.row))},{default:bo(()=>[(Sr(!0),Tr(yr,null,Ai(n.columns,(o,i)=>(Sr(),Ir(s,{key:o.key,class:$e(["u-table-cell",[o.align?"u-text-"+o.align:"",n.cellClassName?n.cellClassName(n.row,o):"",n.getFixedClass(o),r.getCellSpanClass(n.rowIndex,i)]]),style:ze([n.cellStyleInner({row:n.row,column:o,rowIndex:n.rowIndex,columnIndex:i,level:n.level}),r.getCellSpanStyle(n.rowIndex,i)])},{default:bo(()=>["selection"===o.type?(Sr(),Ir(s,{key:0},{default:bo(()=>[Lr(a,{checked:r.isSelected(n.row),onClick:t[0]||(t[0]=vs(t=>e.$emit("toggleSelect",n.row),["stop"]))},null,8,["checked"])]),_:1})):(Sr(),Tr(yr,{key:1},[o.key===n.computedMainCol&&n.hasTree?(Sr(),Ir(s,{key:0,onClick:t[1]||(t[1]=vs(e=>n.toggleExpand(n.row),["stop"])),style:ze({width:n.expandWidth})},{default:bo(()=>[n.row.children&&n.row.children.length>0?(Sr(),Ir(s,{key:0},{default:bo(()=>[Dr(K(n.isExpanded(n.row)?"▼":"▶"),1)]),_:1})):zr("",!0)]),_:1},8,["style"])):zr("",!0),Ti(e.$slots,"cellChild",{row:n.row,column:o,prow:n.parentRow,rowIndex:n.rowIndex,columnIndex:i,level:n.level},()=>[Lr(s,{class:"u-table-cell_content"},{default:bo(()=>[Dr(K(n.row[o.key]),1)]),_:2},1024)],!0)],64))]),_:2},1032,["class","style"]))),128))]),_:3},8,["class","style"]),n.isExpanded(n.row)&&n.row[n.treeProps.children]&&n.row[n.treeProps.children].length?(Sr(!0),Tr(yr,{key:0},Ai(n.row[n.treeProps.children],(o,i)=>(Sr(),Ir(l,{key:o[n.rowKey]||i,row:o,rowIndex:i,"parent-row":n.row,columns:n.columns,"tree-props":n.treeProps,"row-key":n.rowKey,"expanded-keys":n.expandedKeys,"cell-style-inner":n.cellStyleInner,"is-expanded":n.isExpanded,"row-class-name":n.rowClassName,stripe:n.stripe,"cell-class-name":n.cellClassName,"get-fixed-class":n.getFixedClass,"highlight-current-row":n.highlightCurrentRow,"current-row":n.currentRow,"handle-row-click":n.handleRowClick,"toggle-expand":n.toggleExpand,level:n.level+1,rowHeight:n.rowHeight,hasTree:n.hasTree,selectedRows:n.selectedRows,expandWidth:n.expandWidth,"computed-main-col":n.computedMainCol,"span-method":n.spanMethod,onToggleSelect:t[3]||(t[3]=t=>e.$emit("toggleSelect",t)),onRowClick:t[4]||(t[4]=t=>e.$emit("rowClick",t)),onToggleExpand:t[5]||(t[5]=t=>e.$emit("toggleExpand",t))},{cellChild:bo(t=>[Ti(e.$slots,"cellChild",{row:t.row,column:t.column,prow:t.prow,rowIndex:t.rowIndex,columnIndex:t.columnIndex,level:n.level},void 0,!0)]),_:2},1032,["row","rowIndex","parent-row","columns","tree-props","row-key","expanded-keys","cell-style-inner","is-expanded","row-class-name","stripe","cell-class-name","get-fixed-class","highlight-current-row","current-row","handle-row-click","toggle-expand","level","rowHeight","hasTree","selectedRows","expandWidth","computed-main-col","span-method"]))),128)):zr("",!0)],64)}],["__scopeId","data-v-50013185"]])},props:{data:{type:Array,required:!0,default:()=>[]},columns:{type:Array,required:!0,default:()=>[],validator:e=>e.every(e=>["default","selection","expand"].includes(e.type||"default"))},stripe:{type:Boolean,default:!1},border:{type:Boolean,default:!1},height:{type:[String,Number],default:null},maxHeight:{type:[String,Number],default:null},showHeader:{type:Boolean,default:!0},highlightCurrentRow:{type:Boolean,default:!1},rowKey:{type:String,default:"id"},currentRowKey:{type:[String,Number],default:null},rowStyle:{type:Object,default:()=>({})},cellClassName:{type:Function,default:null},cellStyle:{type:Function,default:null},headerCellClassName:{type:Function,default:null},rowClassName:{type:Function,default:null},context:{type:Object,default:null},showOverflowTooltip:{type:Boolean,default:!1},lazy:{type:Boolean,default:!1},load:{type:Function,default:null},treeProps:{type:Object,default:()=>({children:"children",hasChildren:"hasChildren"})},defaultExpandAll:{type:Boolean,default:!1},expandRowKeys:{type:Array,default:()=>[]},sortOrders:{type:Array,default:()=>["ascending","descending"]},sortable:{type:[Boolean,String],default:!1},multiSort:{type:Boolean,default:!1},sortBy:{type:String,default:null},sortMethod:{type:Function,default:null},filters:{type:Object,default:()=>({})},fixedHeader:{type:Boolean,default:!0},emptyText:{type:String,default:"暂无数据"},mainCol:{type:String,default:""},expandWidth:{type:String,default:"25px"},rowHeight:{type:String,default:"36px"},spanMethod:{type:Function,default:null}},emits:["select","select-all","selection-change","cell-click","row-click","row-dblclick","header-click","sort-change","filter-change","current-change","expand-change"],data(){return{scrollWidth:"auto",expandedKeys:[...this.expandRowKeys],selectedRows:[],sortConditions:[],currentRow:null,scrollLeft:0,showFixedColumnShadow:!1,fixedLeftColumns:[],tableHeight:"auto",headerHeight:"auto",hasTree:!1}},mounted(){if(this.getComponentWidth(),null!==this.currentRowKey){const e=this.data.find(e=>e[this.rowKey]===this.currentRowKey);e&&(this.currentRow=e)}this.fixedLeftColumns=this.columns.filter(e=>"left"===e.fixed)},computed:{filteredData(){return this.data.filter(e=>Object.keys(this.filters).every(t=>{var n;const o=this.filters[t];return!o||(null==(n=e[t])?void 0:n.toString().includes(o.toString()))}))},sortedData(){if(!this.sortConditions.length)return this.filteredData;return[...this.filteredData].sort((e,t)=>{for(const n of this.sortConditions){const{field:o,order:i}=n;let r=e[o],a=t[o];if(this.sortMethod){const n=this.sortMethod(e,t,o);if(0!==n)return n*("ascending"===i?1:-1)}if(ra)return"ascending"===i?1:-1}return 0})},visibleFixedLeftColumns(){if(this.scrollLeft<=0)return[];let e=0,t=0;const n=[];for(let o=0;oe-t&&(n.push(i),t+=r),e+=r}return n},computedMainCol(){if(this.mainCol)return this.mainCol;const e=this.columns.filter(e=>!e.type);return e&&e.length>0?e[0].key:""}},watch:{expandRowKeys:{handler(e){this.expandedKeys=[...e]},immediate:!0},currentRowKey:{handler(e){const t=this.data.find(t=>t[this.rowKey]===e);t&&(this.currentRow=t)},immediate:!0},columns:{handler(){},deep:!0,immediate:!1}},methods:{addUnit:Yx,onScroll(e){this.scrollLeft=e.detail.scrollLeft,this.fixedLeftColumns=this.columns.filter(e=>"left"===e.fixed),this.fixedLeftColumns.length>0&&(this.showFixedColumnShadow=this.scrollLeft>0)},getFixedShadowStyle(e,t){let n={width:e.width?Yx(e.width):"auto"};return(null==e?void 0:e.style)&&(n={...n,...null==e?void 0:e.style}),n},getFixedClass:e=>"",headerColStyle(e){let t={width:e.width?Yx(e.width):"auto",flex:e.width?"none":1};return(null==e?void 0:e.style)&&(t={...t,...null==e?void 0:e.style}),t},setCellStyle(e){this.cellStyle=e},cellStyleInner(e){var t,n;let o={width:(null==(t=e.column)?void 0:t.width)?Yx(e.column.width):"auto",flex:(null==(n=e.column)?void 0:n.width)?"none":1};if(e.column.key==this.computedMainCol&&(o.paddingLeft=16*(e.level-1)+2+"px"),null!=this.cellStyle){let t=this.cellStyle(e);null!=t&&(o={...o,...t})}return o},async getComponentWidth(){await Fx(30),this.$uGetRect(".u-table-row").then(e=>{this.scrollWidth=e.width+"px"}),this.$uGetRect(".u-table-header").then(e=>{e.height&&(this.headerHeight=e.height+"px")}),this.hasTree=this.sortedData.some(e=>e[this.treeProps.children]&&e[this.treeProps.children].length>0)},handleRowClick(e){if(this.highlightCurrentRow){const t=this.currentRow;this.currentRow=e,this.$emit("current-change",e,t)}this.$emit("row-click",e)},handleHeaderClick(e){if(!e.sortable)return;const t=this.sortConditions.findIndex(t=>t.field===e.key);let n="ascending";if(t>=0){if("ascending"!==this.sortConditions[t].order)return this.sortConditions.splice(t,1),void this.$emit("sort-change",this.sortConditions);n="descending"}this.multiSort?t>=0?this.sortConditions[t].order=n:this.sortConditions.push({field:e.key,order:n}):this.sortConditions=[{field:e.key,order:n}],this.$emit("sort-change",this.sortConditions)},getSortIcon(e){const t=this.sortConditions.find(t=>t.field===e);return t?"ascending"===t.order?"↑":"↓":""},getSortValue(e){const t=this.sortConditions.find(t=>t.field===e);return t?"ascending"===t.order:""},toggleSelect(e){const t=this.selectedRows.findIndex(t=>t[this.rowKey]===e[this.rowKey]);t>=0?(this.selectedRows.splice(t,1),this.unselectChildren(e)):(this.selectedRows.push(e),this.selectChildren(e)),console.log(this.selectedRows),this.$emit("selection-change",this.selectedRows),this.$emit("select",e)},toggleExpand(e){const t=e[this.rowKey],n=this.expandedKeys.indexOf(t);-1===n?this.expandedKeys.push(t):this.expandedKeys.splice(n,1),this.$emit("expand-change",this.expandedKeys)},isExpanded(e){return!!e&&this.expandedKeys.includes(e[this.rowKey])},selectChildren(e){const t=e[this.treeProps.children];t&&t.length>0&&t.forEach(e=>{-1===this.selectedRows.findIndex(t=>t[this.rowKey]===e[this.rowKey])&&this.selectedRows.push(e),this.selectChildren(e)})},unselectChildren(e){const t=e[this.treeProps.children];t&&t.length>0&&t.forEach(e=>{const t=this.selectedRows.findIndex(t=>t[this.rowKey]===e[this.rowKey]);t>=0&&this.selectedRows.splice(t,1),this.unselectChildren(e)})}}},[["render",function(e,t,n,o,i,r){const a=Hg,s=Qg,l=ko("table-row"),c=Og;return Sr(),Ir(s,{class:$e(["u-table2",{"u-table-border":n.border}])},{default:bo(()=>[Lr(c,{"scroll-x":"","scroll-y":"",class:"u-table2-content",style:ze({height:n.height?r.addUnit(n.height):"auto"}),onScroll:r.onScroll},{default:bo(()=>[n.showHeader?(Sr(),Ir(s,{key:0,class:$e(["u-table-header",{"u-table-sticky":n.fixedHeader}]),style:ze({minWidth:i.scrollWidth})},{default:bo(()=>[Lr(s,{class:"u-table-row"},{default:bo(()=>[(Sr(!0),Tr(yr,null,Ai(n.columns,(t,o)=>(Sr(),Ir(s,{key:t.key,class:$e(["u-table-cell",[t.headerAlign?"u-text-"+t.headerAlign:t.align?"u-text-"+t.align:"",n.headerCellClassName?n.headerCellClassName(t):"",r.getFixedClass(t)]]),style:ze(r.headerColStyle(t)),onClick:e=>r.handleHeaderClick(t)},{default:bo(()=>[Ti(e.$slots,"header",{column:t,columnIndex:o,level:1},void 0,!0),e.$slots.header?zr("",!0):(Sr(),Ir(a,{key:0},{default:bo(()=>[Dr(K(t.title),1)]),_:2},1024)),t.sortable?(Sr(),Tr(yr,{key:1},[Ti(e.$slots,"headerSort",{sortStatus:r.getSortValue(t.key),column:t,columnIndex:o,level:1},void 0,!0),e.$slots.headerSort?zr("",!0):(Sr(),Ir(s,{key:0},{default:bo(()=>[Dr(K(r.getSortIcon(t.key)),1)]),_:2},1024))],64)):zr("",!0)]),_:2},1032,["class","style","onClick"]))),128))]),_:3})]),_:3},8,["class","style"])):zr("",!0),Lr(s,{class:"u-table-body",style:ze({minWidth:i.scrollWidth,maxHeight:n.maxHeight?n.maxHeight+"px":"none"})},{default:bo(()=>[n.data&&n.data.length>0?(Sr(!0),Tr(yr,{key:0},Ai(r.sortedData,(t,o)=>(Sr(),Ir(l,{key:t[n.rowKey]||o,row:t,rowIndex:o,"parent-row":null,columns:n.columns,"tree-props":n.treeProps,"row-key":n.rowKey,"expanded-keys":i.expandedKeys,"cell-style-inner":r.cellStyleInner,"is-expanded":r.isExpanded,"row-class-name":n.rowClassName,stripe:n.stripe,"cell-class-name":n.cellClassName,"get-fixed-class":r.getFixedClass,"highlight-current-row":n.highlightCurrentRow,"current-row":i.currentRow,"handle-row-click":r.handleRowClick,"toggle-expand":r.toggleExpand,level:1,rowHeight:n.rowHeight,hasTree:i.hasTree,selectedRows:i.selectedRows,expandWidth:n.expandWidth,computedMainCol:r.computedMainCol,"span-method":n.spanMethod,onToggleSelect:r.toggleSelect,onRowClick:r.handleRowClick,onToggleExpand:r.toggleExpand},{cellChild:bo(t=>[Ti(e.$slots,"cell",{row:t.row,column:t.column,prow:t.prow,rowIndex:t.rowIndex,columnIndex:t.columnIndex,level:t.level},void 0,!0)]),_:2},1032,["row","rowIndex","columns","tree-props","row-key","expanded-keys","cell-style-inner","is-expanded","row-class-name","stripe","cell-class-name","get-fixed-class","highlight-current-row","current-row","handle-row-click","toggle-expand","rowHeight","hasTree","selectedRows","expandWidth","computedMainCol","span-method","onToggleSelect","onRowClick","onToggleExpand"]))),128)):(Sr(),Tr(yr,{key:1},[Ti(e.$slots,"empty",{},void 0,!0),e.$slots.empty?zr("",!0):(Sr(),Ir(s,{key:0,class:"u-table-empty"},{default:bo(()=>[Dr(K(n.emptyText),1)]),_:1}))],64))]),_:3},8,["style"])]),_:3},8,["style","onScroll"]),i.showFixedColumnShadow?(Sr(),Ir(s,{key:0,class:"u-table-fixed-shadow",style:ze({height:i.tableHeight})},{default:bo(()=>[n.showHeader?(Sr(),Ir(s,{key:0,class:$e(["u-table-header",{"u-table-sticky":n.fixedHeader}]),style:ze({minWidth:i.scrollWidth})},{default:bo(()=>[Lr(s,{class:"u-table-row",style:ze({height:i.headerHeight})},{default:bo(()=>[(Sr(!0),Tr(yr,null,Ai(r.visibleFixedLeftColumns,(t,o)=>(Sr(),Ir(s,{key:t.key,class:$e(["u-table-cell",[t.align?"u-text-"+t.align:"",n.headerCellClassName?n.headerCellClassName(t):"",r.getFixedClass(t)]]),style:ze(r.headerColStyle(t)),onClick:e=>r.handleHeaderClick(t)},{default:bo(()=>[Ti(e.$slots,"header",{column:t,columnIndex:o,level:1},void 0,!0),e.$slots.header?zr("",!0):(Sr(),Ir(a,{key:0},{default:bo(()=>[Dr(K(t.title),1)]),_:2},1024)),t.sortable?(Sr(),Tr(yr,{key:1},[Ti(e.$slots,"headerSort",{sortStatus:r.getSortValue(t.key),column:t,columnIndex:o,level:1},void 0,!0),e.$slots.headerSort?zr("",!0):(Sr(),Ir(s,{key:0},{default:bo(()=>[Dr(K(r.getSortIcon(t.key)),1)]),_:2},1024))],64)):zr("",!0)]),_:2},1032,["style","class","onClick"]))),128))]),_:3},8,["style"])]),_:3},8,["class","style"])):zr("",!0),Lr(s,{class:"u-table-body",style:ze({minWidth:i.scrollWidth,maxHeight:n.maxHeight?n.maxHeight+"px":"none"})},{default:bo(()=>[n.data&&n.data.length>0?(Sr(!0),Tr(yr,{key:0},Ai(r.sortedData,(t,o)=>(Sr(),Ir(l,{key:t[n.rowKey]||o,row:t,rowIndex:o,"parent-row":null,columns:r.visibleFixedLeftColumns,"tree-props":n.treeProps,"row-key":n.rowKey,"expanded-keys":i.expandedKeys,"cell-style-inner":r.cellStyleInner,"is-expanded":r.isExpanded,"row-class-name":n.rowClassName,stripe:n.stripe,"cell-class-name":n.cellClassName,"get-fixed-class":r.getFixedClass,"highlight-current-row":n.highlightCurrentRow,"current-row":i.currentRow,"handle-row-click":r.handleRowClick,"toggle-expand":r.toggleExpand,level:1,rowHeight:n.rowHeight,hasTree:i.hasTree,selectedRows:i.selectedRows,expandWidth:n.expandWidth,computedMainCol:r.computedMainCol,"span-method":n.spanMethod,onToggleSelect:r.toggleSelect,onRowClick:r.handleRowClick,onToggleExpand:r.toggleExpand},{cellChild:bo(t=>[Ti(e.$slots,"cell",{row:t.row,column:t.column,prow:t.prow,rowIndex:t.rowIndex,columnIndex:t.columnIndex,level:t.level},void 0,!0)]),_:2},1032,["row","rowIndex","columns","tree-props","row-key","expanded-keys","cell-style-inner","is-expanded","row-class-name","stripe","cell-class-name","get-fixed-class","highlight-current-row","current-row","handle-row-click","toggle-expand","rowHeight","hasTree","selectedRows","expandWidth","computedMainCol","span-method","onToggleSelect","onRowClick","onToggleExpand"]))),128)):zr("",!0)]),_:3},8,["style"])]),_:3},8,["style"])):zr("",!0)]),_:3},8,["class"])}],["__scopeId","data-v-c08c6352"]]),cO=Object.freeze(Object.defineProperty({__proto__:null,default:lO},Symbol.toStringTag,{value:"Module"}));const uO=MS({name:"u-tabs-item",mixins:[IS,PS,{props:{}}],data:()=>({})},[["render",function(e,t,n,o,i,r){const a=$g;return Sr(),Ir(a,null,{default:bo(()=>[Ti(e.$slots,"default")]),_:3})}]]),dO=Object.freeze(Object.defineProperty({__proto__:null,default:uO},Symbol.toStringTag,{value:"Module"}));const hO=MS({name:"u-td",mixins:[IS,PS,{props:{}}],props:{width:{type:[String],default:"auto"},textAlign:{type:String,default:""},fontSize:{type:String,default:""},borderColor:{type:String,default:""},color:{type:String,default:""}},data:()=>({tdStyle:{}}),created(){this.parent=!1},mounted(){if(this.parent=Qx.call(this,"u-table"),this.parent){let e={};"auto"!=this.width&&(e.flex=`0 0 ${this.width}`),e.textAlign=this.parent.align,e.fontSize=Yx(this.parent.fontSize),e.padding=this.parent.padding,e.borderBottom=`solid 1px ${this.parent.borderColor}`,e.borderRight=`solid 1px ${this.parent.borderColor}`,e.color=this.parent.color,""!=this.textAlign&&(e.textAlign=this.textAlign),""!=this.fontSize&&(e.fontSize=this.fontSize),""!=this.borderColor&&(e.borderColor=this.borderColor),""!=this.color&&(e.color=this.color),this.tdStyle=e}}},[["render",function(e,t,n,o,i,r){const a=Qg;return Sr(),Ir(a,{class:"u-td",style:ze([i.tdStyle])},{default:bo(()=>[Ti(e.$slots,"default",{},void 0,!0)]),_:3},8,["style"])}],["__scopeId","data-v-98de8bba"]]),pO=Object.freeze(Object.defineProperty({__proto__:null,default:hO},Symbol.toStringTag,{value:"Module"})),fO={props:{value:{type:[String,Number],default:()=>CS.textarea.value},modelValue:{type:[String,Number],default:()=>CS.textarea.value},placeholder:{type:[String,Number],default:()=>CS.textarea.placeholder},placeholderClass:{type:String,default:()=>CS.input.placeholderClass},placeholderStyle:{type:[String,Object],default:()=>CS.input.placeholderStyle},height:{type:[String,Number],default:()=>CS.textarea.height},confirmType:{type:String,default:()=>CS.textarea.confirmType},disabled:{type:Boolean,default:()=>CS.textarea.disabled},count:{type:Boolean,default:()=>CS.textarea.count},focus:{type:Boolean,default:()=>CS.textarea.focus},autoHeight:{type:Boolean,default:()=>CS.textarea.autoHeight},fixed:{type:Boolean,default:()=>CS.textarea.fixed},cursorSpacing:{type:Number,default:()=>CS.textarea.cursorSpacing},cursor:{type:[String,Number],default:()=>CS.textarea.cursor},showConfirmBar:{type:Boolean,default:()=>CS.textarea.showConfirmBar},selectionStart:{type:Number,default:()=>CS.textarea.selectionStart},selectionEnd:{type:Number,default:()=>CS.textarea.selectionEnd},adjustPosition:{type:Boolean,default:()=>CS.textarea.adjustPosition},disableDefaultPadding:{type:Boolean,default:()=>CS.textarea.disableDefaultPadding},holdKeyboard:{type:Boolean,default:()=>CS.textarea.holdKeyboard},maxlength:{type:[String,Number],default:()=>CS.textarea.maxlength},border:{type:String,default:()=>CS.textarea.border},formatter:{type:[Function,null],default:()=>CS.textarea.formatter},ignoreCompositionEvent:{type:Boolean,default:!0}}};const mO=MS({name:"u-textarea",mixins:[IS,PS,fO],data:()=>({innerValue:"",focused:!1,firstChange:!0,changeFromInner:!1,innerFormatter:e=>e}),created(){},watch:{modelValue:{immediate:!0,handler(e,t){this.innerValue=e,!1===this.firstChange&&!1===this.changeFromInner&&this.valueChange(),this.firstChange=!1,this.changeFromInner=!1}}},computed:{fieldStyle(){let e={};return e.height=Yx(this.height),this.autoHeight&&(e.height="auto",e.minHeight=Yx(this.height)),e},textareaClass(){let e=[],{border:t,disabled:n}=this;return"surround"===t&&(e=e.concat(["u-border","u-textarea--radius"])),"bottom"===t&&(e=e.concat(["u-border-bottom","u-textarea--no-radius"])),n&&e.push("u-textarea--disabled"),e.join(" ")},textareaStyle(){return Kx({},Gx(this.customStyle))}},emits:["update:modelValue","linechange","focus","blur","change","confirm","keyboardheightchange"],methods:{addStyle:Gx,addUnit:Yx,setFormatter(e){this.innerFormatter=e},onFocus(e){this.$emit("focus",e)},onBlur(e){this.$emit("blur",e),lS(this,"blur")},onLinechange(e){this.$emit("linechange",e)},onInput(e){let{value:t=""}=e.detail||{};const n=(this.formatter||this.innerFormatter)(t);this.innerValue=t,this.$nextTick(()=>{this.innerValue=n,this.valueChange()})},valueChange(){const e=this.innerValue;this.$nextTick(()=>{this.$emit("update:modelValue",e),this.changeFromInner=!0,this.$emit("change",e),lS(this,"change")})},onConfirm(e){this.$emit("confirm",e)},onKeyboardheightchange(e){this.$emit("keyboardheightchange",e)}}},[["render",function(e,t,n,o,i,r){const a=qg,s=Hg,l=Qg;return Sr(),Ir(l,{class:$e(["u-textarea",r.textareaClass]),style:ze([r.textareaStyle])},{default:bo(()=>[Lr(a,{class:"u-textarea__field",value:i.innerValue,style:ze(r.fieldStyle),placeholder:e.placeholder,"placeholder-style":r.addStyle(e.placeholderStyle,"string"==typeof e.placeholderStyle?"string":"object"),"placeholder-class":e.placeholderClass,disabled:e.disabled,focus:e.focus,autoHeight:e.autoHeight,fixed:e.fixed,cursorSpacing:e.cursorSpacing,cursor:e.cursor,showConfirmBar:e.showConfirmBar,selectionStart:e.selectionStart,selectionEnd:e.selectionEnd,adjustPosition:e.adjustPosition,disableDefaultPadding:e.disableDefaultPadding,holdKeyboard:e.holdKeyboard,maxlength:e.maxlength,"confirm-type":e.confirmType,ignoreCompositionEvent:e.ignoreCompositionEvent,onFocus:r.onFocus,onBlur:r.onBlur,onLinechange:r.onLinechange,onInput:r.onInput,onConfirm:r.onConfirm,onKeyboardheightchange:r.onKeyboardheightchange},null,8,["value","style","placeholder","placeholder-style","placeholder-class","disabled","focus","autoHeight","fixed","cursorSpacing","cursor","showConfirmBar","selectionStart","selectionEnd","adjustPosition","disableDefaultPadding","holdKeyboard","maxlength","confirm-type","ignoreCompositionEvent","onFocus","onBlur","onLinechange","onInput","onConfirm","onKeyboardheightchange"]),e.count?(Sr(),Ir(s,{key:0,class:"u-textarea__count",style:ze({"background-color":e.disabled?"transparent":"#fff"})},{default:bo(()=>[Dr(K(i.innerValue.length)+"/"+K(e.maxlength),1)]),_:1},8,["style"])):zr("",!0)]),_:1},8,["class","style"])}],["__scopeId","data-v-924f8e40"]]),gO=Object.freeze(Object.defineProperty({__proto__:null,default:mO},Symbol.toStringTag,{value:"Module"}));const yO=MS({name:"u-th",mixins:[IS,PS,{props:{}}],props:{width:{type:[String],default:""}},data:()=>({thStyle:{}}),created(){this.parent=!1},mounted(){if(this.parent=Qx.call(this,"u-table"),this.parent){let e={};this.width&&(e.flex=`0 0 ${this.width}`),e.textAlign=this.parent.align,e.padding=this.parent.padding,e.borderBottom=`solid 1px ${this.parent.borderColor}`,e.borderRight=`solid 1px ${this.parent.borderColor}`,Object.assign(e,this.parent.thStyle),this.thStyle=e}}},[["render",function(e,t,n,o,i,r){const a=Qg;return Sr(),Ir(a,{class:"u-th",style:ze([i.thStyle])},{default:bo(()=>[Ti(e.$slots,"default",{},void 0,!0)]),_:3},8,["style"])}],["__scopeId","data-v-cd11c63e"]]),bO=Object.freeze(Object.defineProperty({__proto__:null,default:yO},Symbol.toStringTag,{value:"Module"}));const vO=MS({name:"u-title",props:{},data:()=>({}),created:function(){},methods:{}},[["render",function(e,t,n,o,i,r){const a=Qg;return Sr(),Ir(a,{class:"u-title u-flex-row u-flex-y-center"},{default:bo(()=>[Ti(e.$slots,"prefix",{},()=>[Lr(a,{class:"u-title-prefix"})],!0),Ti(e.$slots,"default",{},void 0,!0)]),_:3})}],["__scopeId","data-v-09c9dbad"]]),_O=Object.freeze(Object.defineProperty({__proto__:null,default:vO},Symbol.toStringTag,{value:"Module"}));const wO=MS({name:"u-toast",mixins:[IS,PS],data:()=>({isShow:!1,timer:null,config:{message:"",type:"",zIndex:10090,duration:2e3,icon:!0,position:"center",complete:null,overlay:!0,loading:!1},tmpConfig:{}}),computed:{iconName(){return this.tmpConfig.icon&&"none"!=this.tmpConfig.icon?!0===this.tmpConfig.icon?["error","warning","success","primary"].includes(this.tmpConfig.type)?rS(this.tmpConfig.type):"":this.tmpConfig.icon:""},overlayStyle(){const e={justifyContent:"center",alignItems:"center",display:"flex",backgroundColor:"rgba(0, 0, 0, 0)"};return e},iconStyle(){const e={marginRight:"4px"};return e},loadingIconColor(){let e="rgb(255, 255, 255)";return["error","warning","success","primary"].includes(this.tmpConfig.type)&&(e=QS(ux[this.tmpConfig.type])),e},contentStyle(){const e=Vx().windowHeight,t={};let n=0;return"top"===this.tmpConfig.position?n=.25*-e:"bottom"===this.tmpConfig.position&&(n=.25*e),t.transform=`translateY(${n}px)`,t}},created(){["primary","success","error","warning","default","loading"].map(e=>{this[e]=t=>this.show({type:e,message:t})})},methods:{show(e){this.tmpConfig=Kx(this.config,e),this.clearTimer(),this.isShow=!0,-1!==this.tmpConfig.duration&&(this.timer=setTimeout(()=>{this.clearTimer(),"function"==typeof this.tmpConfig.complete&&this.tmpConfig.complete()},this.tmpConfig.duration))},hide(){this.clearTimer()},clearTimer(){this.isShow=!1,clearTimeout(this.timer),this.timer=null}},beforeUnmount(){this.clearTimer()}},[["render",function(e,t,n,o,i,r){const a=DS(Ao("u-loading-icon"),XS),s=DS(Ao("up-icon"),LS),l=DS(Ao("u-gap"),JS),c=Hg,u=Qg,d=DS(Ao("u-overlay"),ak);return Sr(),Ir(u,{class:"u-toast"},{default:bo(()=>[Lr(d,{show:i.isShow,zIndex:i.tmpConfig.overlay?i.tmpConfig.zIndex:-1,"custom-style":r.overlayStyle},{default:bo(()=>[Lr(u,{class:$e(["u-toast__content",["u-type-"+i.tmpConfig.type,"loading"===i.tmpConfig.type||i.tmpConfig.loading?"u-toast__content--loading":""]]),style:ze([r.contentStyle])},{default:bo(()=>["loading"===i.tmpConfig.type?(Sr(),Ir(a,{key:0,mode:"circle",color:"rgb(255, 255, 255)",inactiveColor:"rgb(120, 120, 120)",size:"25"})):"defalut"!==i.tmpConfig.type&&r.iconName?(Sr(),Ir(s,{key:1,name:r.iconName,size:"17",color:i.tmpConfig.type,customStyle:r.iconStyle},null,8,["name","color","customStyle"])):zr("",!0),"loading"===i.tmpConfig.type||i.tmpConfig.loading?(Sr(),Ir(l,{key:2,height:"12",bgColor:"transparent"})):zr("",!0),Lr(c,{class:$e(["u-toast__content__text",["u-toast__content__text--"+i.tmpConfig.type]]),style:{"max-width":"400rpx"}},{default:bo(()=>[Dr(K(i.tmpConfig.message),1)]),_:1},8,["class"])]),_:1},8,["style","class"])]),_:1},8,["show","zIndex","custom-style"])]),_:1})}],["__scopeId","data-v-1c5db174"]]),xO=Object.freeze(Object.defineProperty({__proto__:null,default:wO},Symbol.toStringTag,{value:"Module"}));const SO=MS({name:"u-tr",mixins:[IS,PS,{props:{}}],data:()=>({})},[["render",function(e,t,n,o,i,r){const a=Qg;return Sr(),Ir(a,{class:"u-tr"},{default:bo(()=>[Ti(e.$slots,"default",{},void 0,!0)]),_:3})}],["__scopeId","data-v-f38d8851"]]),kO=Object.freeze(Object.defineProperty({__proto__:null,default:SO},Symbol.toStringTag,{value:"Module"}));const CO=MS({name:"u-tree",components:{TreeNode:MS({name:"tree-node",props:{node:{type:Object,required:!0},props:{type:Object,required:!0},showCheckbox:{type:Boolean,default:!1},checkStrictly:{type:Boolean,default:!1},expandOnClickNode:{type:Boolean,default:!0},depth:{type:Number,default:0}},computed:{hasChildren(){return this.node[this.props.children]&&this.node[this.props.children].length>0},isExpanded(){return void 0!==this.node.expanded&&this.node.expanded}},emits:["node-click","check-change"],methods:{toggle(){this.expandOnClickNode&&this.hasChildren&&(this.node.expanded=!this.node.expanded),this.$emit("node-click",this.node)},toggleCheck(e){this.node.checked=e,this.checkStrictly||(this.updateChildCheckStatus(this.node,e),this.updateParentCheckStatus(this.node)),this.$emit("check-change",this.node)},updateChildCheckStatus(e,t){e[this.props.children]&&e[this.props.children].forEach(e=>{e.checked=t,this.updateChildCheckStatus(e,t)})},updateParentCheckStatus(e){let t=this.$parent;for(;t&&t.node;){const e=t.node[this.props.children].every(e=>e.checked);t.node.checked=e,t=t.$parent}}}},[["render",function(e,t,n,o,i,r){const a=DS(Ao("up-icon"),LS),s=DS(Ao("up-checkbox"),FC),l=Qg,c=ko("tree-node",!0);return Sr(),Ir(l,{class:"u-tree-node",style:ze({paddingLeft:20*n.depth+"px"})},{default:bo(()=>[Lr(l,{class:"u-tree-node-content",onClick:r.toggle},{default:bo(()=>[r.hasChildren?(Sr(),Ir(a,{key:0,class:"u-tree-node-toggle",name:n.node.expanded?"arrow-down-fill":"play-right-fill",size:"12"},null,8,["name"])):zr("",!0),n.showCheckbox?(Sr(),Ir(s,{key:1,usedAlone:"",size:12,checked:n.node.checked,onChange:r.toggleCheck,style:{"margin-right":"10px"}},null,8,["checked","onChange"])):zr("",!0),Ti(e.$slots,"default",{nodeData:n.node,level:n.depth+1},()=>[Dr(K(n.node[n.props.label]),1)],!0)]),_:3},8,["onClick"]),r.hasChildren&&(void 0===n.node.expanded||n.node.expanded)?(Sr(),Ir(l,{key:0,class:"u-tree-node-children",style:ze({paddingLeft:20*(n.depth+1)+"px"})},{default:bo(()=>[(Sr(!0),Tr(yr,null,Ai(n.node[n.props.children],o=>(Sr(),Ir(c,{key:o[n.props.nodeKey],node:o,props:n.props,"show-checkbox":n.showCheckbox,"check-strictly":n.checkStrictly,"expand-on-click-node":n.expandOnClickNode,depth:n.depth+1,onNodeClick:t[0]||(t[0]=t=>e.$emit("node-click",t)),onCheckChange:t[1]||(t[1]=t=>e.$emit("check-change",t))},{default:bo(({nodeData:t,level:n})=>[Ti(e.$slots,"default",{nodeData:t,level:n},void 0,!0)]),_:2},1032,["node","props","show-checkbox","check-strictly","expand-on-click-node","depth"]))),128))]),_:3},8,["style"])):zr("",!0)]),_:3},8,["style"])}],["__scopeId","data-v-03ce30df"]])},props:{data:{type:Array,required:!0},props:{type:Object,default:()=>({label:"label",children:"children",nodeKey:"id"})},showCheckbox:{type:Boolean,default:!1},defaultExpandAll:{type:Boolean,default:!1},expandOnClickNode:{type:Boolean,default:!0},checkStrictly:{type:Boolean,default:!1}},data:()=>({treeData:[]}),created(){this.initTree()},watch:{data:{handler(e){this.treeData=JSON.parse(JSON.stringify(e)),this.initExpandedState(this.treeData,this.defaultExpandAll)},deep:!0,immediate:!0}},emits:["node-click","check-change"],methods:{initTree(){this.treeData=JSON.parse(JSON.stringify(this.data)),this.initExpandedState(this.treeData,this.defaultExpandAll)},initExpandedState(e,t){e.forEach(e=>{e.expanded=t,e[this.props.children]&&this.initExpandedState(e[this.props.children],t)})},handleNodeClick(e){this.$emit("node-click",e)},getCheckedNodes(){const e=t=>{let n=[];return t.forEach(t=>{t.checked&&n.push(t),t[this.props.children]&&t[this.props.children].length>0&&(n=n.concat(e(t[this.props.children])))}),n};return e(this.treeData)}}},[["render",function(e,t,n,o,i,r){const a=ko("tree-node"),s=Qg;return Sr(),Ir(s,{class:"u-tree"},{default:bo(()=>[(Sr(!0),Tr(yr,null,Ai(i.treeData,o=>(Sr(),Ir(a,{key:o[n.props.nodeKey],node:o,props:n.props,"show-checkbox":n.showCheckbox,"check-strictly":n.checkStrictly,"expand-on-click-node":n.expandOnClickNode,onNodeClick:r.handleNodeClick,onCheckChange:t[0]||(t[0]=t=>e.$emit("check-change",t))},{default:bo(({nodeData:t,level:n})=>[Ti(e.$slots,"default",{node:t,level:n},void 0,!0)]),_:2},1032,["node","props","show-checkbox","check-strictly","expand-on-click-node","onNodeClick"]))),128))]),_:3})}],["__scopeId","data-v-9e52eefc"]]),AO=Object.freeze(Object.defineProperty({__proto__:null,default:CO},Symbol.toStringTag,{value:"Module"}));function TO(e,t){return["[object Object]","[object File]"].includes(Object.prototype.toString.call(e))?Object.keys(e).reduce((n,o)=>(t.includes(o)||(n[o]=e[o]),n),{}):{}}function IO(e){return e.tempFiles.map(e=>({...TO(e,["path"]),url:e.path,size:e.size,name:e.name,type:e.type,file:e}))}function EO({accept:e,multiple:t,capture:n,compressed:o,maxDuration:i,sizeType:r,camera:a,maxCount:s,extension:l}){try{n=Ex.array(n)?n:n.split(",")}catch(c){n=[]}return new Promise((c,u)=>{switch(e){case"image":ov({count:t?Math.min(s,9):1,sourceType:n,sizeType:r,success:e=>c(function(e){return e.tempFiles.map(e=>({...TO(e,["path"]),type:"image",url:e.path,thumb:e.path,size:e.size,name:e.name,file:e}))}(e)),fail:u});break;case"video":wv({sourceType:n,compressed:o,maxDuration:i,camera:a,success:e=>c(function(e){return[{...TO(e,["tempFilePath","thumbTempFilePath","errMsg"]),type:"video",url:e.tempFilePath,thumb:e.thumbTempFilePath,size:e.size,width:e.width||0,height:e.height||0,name:e.name,file:e}]}(e)),fail:u});break;case"file":let d={count:t?s:1,type:e,success:e=>c(IO(e)),fail:u};l.length&&l.length>0&&(d.extension=l),tv(d);break;default:let h={count:t?s:1,type:"all",success:e=>c(IO(e)),fail:u};l.length&&l.length>0&&(h.extension=l),tv(h)}})}const PO={props:{accept:{type:String,default:()=>CS.upload.accept},extension:{type:Array,default:()=>CS.upload.extension},capture:{type:[String,Array],default:()=>CS.upload.capture},compressed:{type:Boolean,default:()=>CS.upload.compressed},camera:{type:String,default:()=>CS.upload.camera},maxDuration:{type:Number,default:()=>CS.upload.maxDuration},uploadIcon:{type:String,default:()=>CS.upload.uploadIcon},uploadIconColor:{type:String,default:()=>CS.upload.uploadIconColor},useBeforeRead:{type:Boolean,default:()=>CS.upload.useBeforeRead},afterRead:{type:Function,default:null},beforeRead:{type:Function,default:null},previewFullImage:{type:Boolean,default:()=>CS.upload.previewFullImage},maxCount:{type:[String,Number],default:()=>CS.upload.maxCount},disabled:{type:Boolean,default:()=>CS.upload.disabled},imageMode:{type:String,default:()=>CS.upload.imageMode},name:{type:String,default:()=>CS.upload.name},sizeType:{type:Array,default:()=>CS.upload.sizeType},multiple:{type:Boolean,default:()=>CS.upload.multiple},deletable:{type:Boolean,default:()=>CS.upload.deletable},maxSize:{type:[String,Number],default:()=>CS.upload.maxSize},fileList:{type:Array,default:()=>CS.upload.fileList},uploadText:{type:String,default:()=>CS.upload.uploadText},width:{type:[String,Number],default:()=>CS.upload.width},height:{type:[String,Number],default:()=>CS.upload.height},previewImage:{type:Boolean,default:()=>CS.upload.previewImage},autoDelete:{type:Boolean,default:()=>CS.upload.autoDelete},autoUpload:{type:Boolean,default:()=>CS.upload.autoUpload},autoUploadApi:{type:String,default:()=>CS.upload.autoUploadApi},autoUploadDriver:{type:String,default:()=>CS.upload.autoUploadDriver},autoUploadAuthUrl:{type:String,default:()=>CS.upload.autoUploadAuthUrl},autoUploadHeader:{type:Object,default:()=>CS.upload.autoUploadHeader},getVideoThumb:{type:Boolean,default:()=>CS.upload.getVideoThumb},customAfterAutoUpload:{type:Boolean,default:()=>CS.upload.customAfterAutoUpload},videoPreviewObjectFit:{type:String,default:()=>CS.upload.videoPreviewObjectFit}}};const BO=MS({name:"u-upload",mixins:[IS,PS,{watch:{accept:{immediate:!0,handler(e){}}}},PO],data:()=>({lists:[],isInCount:!0,popupShow:!1,currentItemIndex:-1}),watch:{fileList:{handler(){this.formatFileList()},immediate:!0,deep:!0},deletable(e){this.formatFileList()},maxCount(e){this.formatFileList()},accept(e){this.formatFileList()},popupShow(e){e||(this.currentItemIndex=-1)}},emits:["error","beforeRead","oversize","afterRead","delete","clickPreview","update:fileList","afterAutoUpload"],methods:{t:mS,addUnit:Yx,addStyle:Gx,videoErrorCallback(){},loadedVideoMetadata(e){if(this.currentItemIndex<0)return;if("local"!=this.autoUploadDriver)return;if(!this.getVideoThumb)return;let t=this.lists[this.currentItemIndex].width,n=this.lists[this.currentItemIndex].height;const o=Rb().pixelRatio;Ep().select("#myVideo").context(e=>{console.log("select video",e);const i=e.context;Ep().select("#myCanvas").fields({node:!0,size:!0}).exec(([e])=>{console.log("select canvas",e);const r=e[0].node.getContext("2d");e[0].node.width=t*o,e[0].node.height=n*o,setTimeout(()=>{a()},500);const a=()=>{r.drawImage(i,0,0,t*o,n*o),mp({canvas:e[0].node,success:e=>{console.log("First frame image path:",e.tempFilePath),this.fileList.currentItemIndex.thumb=e.tempFilePath},fail:e=>{console.error("Failed to export image:",e)}})};setInterval(()=>{r.drawImage(i,0,0,t*o,n*o)},1e3/24)}).exec()}).exec()},formatFileList(){const{fileList:e=[],maxCount:t}=this,n=e.map(e=>{const t=e.name||e.url||e.thumb;return Object.assign(Object.assign({},e),{isImage:e.name?Ex.image(e.name):"image"===this.accept||Ex.image(t),isVideo:e.name?Ex.video(e.name):"video"===this.accept||Ex.video(t),deletable:"boolean"==typeof e.deletable?e.deletable:this.deletable})});this.lists=n,this.isInCount=n.length{const t=r.multiple?e:e[0];return this.onBeforeRead(t),t}).catch(e=>{this.$emit("error",e)})},onBeforeRead(e){const{beforeRead:t,useBeforeRead:n}=this;let o=e;Ex.func(t)&&(o=t(e,this.getDetail())),n&&(o=new Promise((t,n)=>{this.$emit("beforeRead",Object.assign(Object.assign({file:e},this.getDetail()),{callback:e=>{e?t():n()}}))})),Ex.promise(o)?o.then(t=>this.onAfterRead(t||e)):this.onAfterRead(o||e)},getDetail(e){return{name:this.name,index:null==e?this.fileList.length:e}},async onAfterRead(e){const{maxSize:t,afterRead:n}=this;if(Array.isArray(e)?e.some(e=>e.size>t):e.size>t)return i_({title:mS("up.upload.sizeExceed")}),void this.$emit("oversize",Object.assign({file:e},this.getDetail()));let o=this.fileList.length;if(this.autoUpload){let t=[].concat(e);this.fileList.length,t.map(e=>{this.fileList.push({...e,status:"uploading",message:mS("up.upload.uploading"),progress:0})});let n=this;this.$emit("update:fileList",this.fileList);for(let e=0;e{let t="",s="";n.customAfterAutoUpload&&(s=new Promise((e,t)=>{n.$emit("afterAutoUpload",Object.assign(a,{callback:n=>{n.url?e(n):t()}}))})),Ex.promise(s)?s.then(e=>n.succcessUpload(o+i,e.url,e.thumb)):(r=a.data.params.host+"/"+a.data.params.key,("video"===n.accept||Ex.video(r))&&(t=r+"?x-oss-process=video/snapshot,t_10000,m_fast"),n.succcessUpload(o+i,r,t))}}).onProgressUpdate(e=>{n.updateUpload(o+i,{progress:e.progress})});break;default:Iv({url:this.autoUploadApi,filePath:t[i].url,name:"file",header:this.autoUploadHeader,success:e=>{let t=e.data,a="";n.customAfterAutoUpload&&(a=new Promise((e,o)=>{n.$emit("afterAutoUpload",Object.assign(t,{callback:t=>{t.url?e(t):o()}}))})),Ex.promise(a)?a.then(e=>n.succcessUpload(o+i,e.url)):200!=t.code?i_({title:t.msg}):(r=t.data.url,n.succcessUpload(o+i,r))}}).onProgressUpdate(e=>{n.updateUpload(o+i,{progress:e.progress})})}}}else"function"==typeof n&&n(e,this.getDetail()),this.$emit("afterRead",Object.assign({file:e},this.getDetail()))},updateUpload(e,t){let n=this.fileList[e];this.fileList.splice(e,1,{...n,status:100==t.progress?"success":"uploading",message:"",progress:t.progress}),this.$emit("update:fileList",this.fileList)},succcessUpload(e,t,n=""){let o=this.fileList[e];this.fileList.splice(e,1,{...o,status:"success",message:"",url:t,progress:100,thumb:n}),this.$emit("update:fileList",this.fileList)},deleteItem(e){this.autoDelete?(this.fileList.splice(e,1),this.$emit("update:fileList",this.fileList)):this.$emit("delete",Object.assign(Object.assign({},this.getDetail(e)),{file:this.fileList[e]}))},onPreviewImage(e,t){if(!e.isImage||!this.previewFullImage)return;let n=0;const o=[];let i=0;for(var r=0;r[Lr(l,{class:"u-upload__wrap"},{default:bo(()=>[e.previewImage?(Sr(!0),Tr(yr,{key:0},Ai(i.lists,(t,n)=>(Sr(),Ir(l,{class:"u-upload__wrap__preview",key:n},{default:bo(()=>[t.isImage||t.type&&"image"===t.type?(Sr(),Ir(a,{key:0,src:t.thumb||t.url,mode:e.imageMode,class:"u-upload__wrap__preview__image",onClick:e=>r.onClickPreview(t,n),style:ze([{width:r.addUnit(e.width),height:r.addUnit(e.height)}])},null,8,["src","mode","onClick","style"])):(t.isVideo||t.type&&"video"===t.type)&&e.getVideoThumb?(Sr(),Ir(l,{key:1,class:"u-upload__wrap__preview__video",style:ze({width:r.addUnit(e.width),height:r.addUnit(e.height)})},{default:bo(()=>[t.thumb?(Sr(),Ir(a,{key:0,src:t.thumb,mode:e.imageMode,class:"u-upload__wrap__preview__image",onClick:e=>r.onClickPreview(t,n),style:ze([{width:r.addUnit(e.width),height:r.addUnit(e.height)}])},null,8,["src","mode","onClick","style"])):(Sr(),Ir(s,{key:1,color:"#80CBF9",size:"26",name:t.isVideo||t.type&&"video"===t.type?"movie":"file-text"},null,8,["name"])),"success"===t.status?(Sr(),Ir(l,{key:2,class:"u-upload__wrap__play",onClick:e=>r.onClickPreview(t,n)},{default:bo(()=>[Ti(e.$slots,"playIcon",{},void 0,!0),e.$slots.playIcon?zr("",!0):(Sr(),Ir(s,{key:0,class:"u-upload__wrap__play__icon",name:"play-right",size:"22px"}))]),_:2},1032,["onClick"])):zr("",!0)]),_:2},1032,["style"])):(Sr(),Ir(l,{key:2,class:"u-upload__wrap__preview__other",onClick:e=>r.onClickPreview(t,n),style:ze([{width:r.addUnit(e.width),height:r.addUnit(e.height)}])},{default:bo(()=>[Lr(s,{color:"#80CBF9",size:"26",name:t.isVideo||t.type&&"video"===t.type?"movie":"folder"},null,8,["name"]),Lr(c,{class:"u-upload__wrap__preview__other__text"},{default:bo(()=>[Dr(K(t.isVideo||t.type&&"video"===t.type?t.name||r.t("up.common.video"):t.name||r.t("up.common.file")),1)]),_:2},1024)]),_:2},1032,["onClick","style"])),"uploading"===t.status||"failed"===t.status?(Sr(),Ir(l,{key:3,class:"u-upload__status"},{default:bo(()=>[Lr(l,{class:"u-upload__status__icon"},{default:bo(()=>["failed"===t.status?(Sr(),Ir(s,{key:0,name:"close-circle",color:"#ffffff",size:"25"})):(Sr(),Ir(u,{key:1,size:"22",mode:"circle"}))]),_:2},1024),t.message?(Sr(),Ir(c,{key:0,class:"u-upload__status__message"},{default:bo(()=>[Dr(K(t.message),1)]),_:2},1024)):zr("",!0),Lr(d,{class:"u-upload__progress",height:"3px",style:ze({width:t.progress+"%"})},null,8,["style"])]),_:2},1024)):zr("",!0),"uploading"!==t.status&&(e.deletable||t.deletable)?(Sr(),Ir(l,{key:4,class:"u-upload__deletable",onClick:vs(e=>r.deleteItem(n),["stop"])},{default:bo(()=>[Lr(l,{class:"u-upload__deletable__icon"},{default:bo(()=>[Lr(s,{name:"close",color:"#ffffff",size:"10"})]),_:1})]),_:2},1032,["onClick"])):zr("",!0),Ti(e.$slots,"success",{},()=>["success"===t.status?(Sr(),Ir(l,{key:0,class:"u-upload__success"},{default:bo(()=>[Lr(l,{class:"u-upload__success__icon"},{default:bo(()=>[Lr(s,{name:"checkmark",color:"#ffffff",size:"12"})]),_:1})]),_:1})):zr("",!0)],!0)]),_:2},1024))),128)):zr("",!0),Lr(h,{id:"myCanvas",type:"2d",style:{width:"100px",height:"150px",display:"none"}}),i.isInCount?(Sr(),Tr(yr,{key:1},[e.$slots.trigger?(Sr(),Ir(l,{key:0,onClick:r.chooseFile},{default:bo(()=>[Ti(e.$slots,"trigger",{},void 0,!0)]),_:3},8,["onClick"])):e.$slots.trigger||!e.$slots.default&&!e.$slots.$default?(Sr(),Ir(l,{key:2,class:$e(["u-upload__button",[e.disabled&&"u-upload__button--disabled"]]),"hover-class":e.disabled?"":"u-upload__button--hover","hover-stay-time":"150",onClick:r.chooseFile,style:ze([{width:r.addUnit(e.width),height:r.addUnit(e.height)}])},{default:bo(()=>[Lr(s,{name:e.uploadIcon,size:"26",color:e.uploadIconColor},null,8,["name","color"]),e.uploadText?(Sr(),Ir(c,{key:0,class:"u-upload__button__text"},{default:bo(()=>[Dr(K(e.uploadText),1)]),_:1})):zr("",!0)]),_:1},8,["hover-class","onClick","class","style"])):(Sr(),Ir(l,{key:1,onClick:r.chooseFile},{default:bo(()=>[Ti(e.$slots,"default",{},void 0,!0)]),_:3},8,["onClick"]))],64)):zr("",!0)]),_:3}),Lr(f,{mode:"center",show:i.popupShow,"onUpdate:show":t[0]||(t[0]=e=>i.popupShow=e)},{default:bo(()=>[i.popupShow?(Sr(),Ir(p,{key:0,id:"myVideo",src:i.currentItemIndex>=0?i.lists[i.currentItemIndex].url:"",onError:r.videoErrorCallback,"show-center-play-btn":"","object-fit":e.videoPreviewObjectFit,"show-fullscreen-btn":"true","enable-play-gesture":"",controls:"",autoplay:!0,"auto-pause-if-open-native":"",onLoadedmetadata:r.loadedVideoMetadata,"initial-time":.1},null,8,["src","onError","object-fit","onLoadedmetadata"])):zr("",!0)]),_:1},8,["show"])]),_:3},8,["style"])}],["__scopeId","data-v-d5116e32"]]),OO=Object.freeze(Object.defineProperty({__proto__:null,default:BO},Symbol.toStringTag,{value:"Module"}));const NO=MS({name:"up-view",mixins:[IS,PS],emits:["click"],computed:{valueStyle(){}},props:{backgroundColor:"",color:"",flexDirection:"",justifyContent:"",alignItems:"",flex1:"",width:"",height:"",padding:"",margin:"",borderColor:""},data:()=>({}),methods:{addStyle:Gx,clickHandler(){this.$emit("click")}}},[["render",function(e,t,n,o,i,r){const a=Qg;return Sr(),Ir(a,{class:$e(["u-view",e.class]),style:ze({backgroundColor:n.backgroundColor,color:n.color,flexDirection:n.flexDirection,justifyContent:n.justifyContent,alignItems:n.alignItems,flex1:n.flex1,width:n.width,height:n.height,padding:n.padding,margin:n.margin,borderColor:n.borderColor})},null,8,["class","style"])}],["__scopeId","data-v-fecd93f3"]]),MO=Object.freeze(Object.defineProperty({__proto__:null,default:NO},Symbol.toStringTag,{value:"Module"}));const LO=MS({name:"u-waterfall",props:{modelValue:{type:Array,required:!0,default:function(){return[]}},addTime:{type:[Number,String],default:200},idKey:{type:String,default:"id"},columns:{type:[Number,String],default:2},columnsMin:{type:[Number,String],default:2},minColumnWidth:{type:Number,default:230}},mixins:[IS,PS],data:()=>({columnList:[[]],children:[],initialized:!1,windowWidth:375,windowHeight:0}),watch:{copyFlowList:{handler(e,t){if(e&&0!=e.length){1==this.columnList.length&&this.initColumnList();let n=Array.isArray(t)&&t.length>0?t.length:0;this.handleData(e.slice(n))}else this.clear(!1)},immediate:!0},columns:{handler(){this.initColumnList(),this.copyFlowList.length>0&&this.redistributeData()},immediate:!1}},created(){this.initColumnList()},mounted(){this.initialized=!0,"auto"===this.columns&&Lp(this.handleWindowResize)},beforeUnmount(){"auto"===this.columns&&Rp(this.handleWindowResize)},computed:{copyFlowList(){return this.modelValue&&0!=this.modelValue.length?this.cloneData(this.modelValue):[]}},emits:["update:modelValue","after-add-one","after-add-all"],methods:{initColumnList(){this.windowWidth=Rb().windowWidth;const e=this.getColumnsCount();this.columnList=Array.from({length:e},()=>[])},getColumnsCount(){if("auto"===this.columns){const e=7;let t=Math.max(1,Math.floor(this.windowWidth/(this.minColumnWidth+e)));return t{this.getColumnsCount()!==this.columnList.length&&this.redistributeData()},300)},async redistributeData(){this.initColumnList();const e=this.cloneData(this.copyFlowList);this.handleData(e)},async handleData(e){if(!e||0===e.length)return;const t=new Array(this.columnList.length).fill(0);for(let o=0;o{try{const n=await this.$uGetRect(`#u-column-${e}`);n.height&&(t[e]=n.height,this.$emit("after-add-one",{...o,height:n.height}))}catch(n){}})}this.$emit("after-add-all",{columnHeights:t,newData:e})},cloneData:e=>JSON.parse(JSON.stringify(e)),clear(e=!0){this.initColumnList(),e&&this.$emit("update:modelValue",[])},remove(e){for(let n=0;nt[this.idKey]==e);if(-1!==t){this.columnList[n].splice(t,1);break}}const t=this.modelValue.findIndex(t=>t[this.idKey]==e);if(-1!==t){const e=this.cloneData(this.modelValue);e.splice(t,1),this.$emit("update:modelValue",e)}},modify(e,t,n){let o=!1,i=null;for(let r=0;rt[this.idKey]==e);if(-1!==a){this.columnList[r][a][t]=n,i=this.columnList[r][a],o=!0;break}}if(o&&i){const o=this.modelValue.findIndex(t=>t[this.idKey]==e);if(-1!==o){let e=this.cloneData(this.modelValue);e[o][t]=n,this.$emit("update:modelValue",e)}}}}},[["render",function(e,t,n,o,i,r){const a=Qg;return Sr(),Ir(a,{class:"u-waterfall"},{default:bo(()=>[(Sr(!0),Tr(yr,null,Ai(i.columnList,(t,n)=>(Sr(),Ir(a,{key:n,ref_for:!0,ref:`u-column-${n}`,id:`u-column-${n}`,class:"u-column"},{default:bo(()=>[Ti(e.$slots,"column",{colIndex:n,colList:t},void 0,!0),Ti(e.$slots,"left",{colIndex:n,leftList:t},void 0,!0),e.$slots.left||e.$slots.column?zr("",!0):(Sr(!0),Tr(yr,{key:0},Ai(t,(t,n)=>Ti(e.$slots,"default",{key:n,item:t,itemIndex:n},void 0,!0)),128))]),_:2},1032,["id"]))),128))]),_:3})}],["__scopeId","data-v-9668b2b5"]]),RO=Object.freeze(Object.defineProperty({__proto__:null,default:LO},Symbol.toStringTag,{value:"Module"}));const DO={add:function(e,t){var n,o,i;try{n=e.toString().split(".")[1].length}catch(r){n=0}try{o=t.toString().split(".")[1].length}catch(r){o=0}return(e*(i=Math.pow(10,Math.max(n,o)))+t*i)/i},sub:function(e,t){var n,o,i,r;try{n=e.toString().split(".")[1].length}catch(a){n=0}try{o=t.toString().split(".")[1].length}catch(a){o=0}return i=Math.pow(10,Math.max(n,o)),r=n>=o?n:o,Math.abs(((e*i-t*i)/i).toFixed(r))},mul:function(e,t){var n=0,o=e.toString(),i=t.toString();try{n+=o.split(".")[1].length}catch(r){}try{n+=i.split(".")[1].length}catch(r){}return Number(o.replace(".",""))*Number(i.replace(".",""))/Math.pow(10,n)},div:function(e,t){var n,o,i=0,r=0;try{i=e.toString().split(".")[1].length}catch(a){}try{r=t.toString().split(".")[1].length}catch(a){}return n=Number(e.toString().replace(".","")),o=Number(t.toString().replace(".","")),xyutil.mul(n/o,Math.pow(10,r-i))}};let zO="none";zO="vue3",zO="h5";function $O(e){pS.shallowMerge(lx,e.config||{}),pS.shallowMerge(CS,e.props||{}),pS.shallowMerge(ux,e.color||{}),pS.shallowMerge(cx,e.zIndex||{})}pS.setConfig=$O;const FO={route:ES,date:pS.timeFormat,colorGradient:YS.colorGradient,hexToRgb:YS.hexToRgb,rgbToHex:YS.rgbToHex,colorToRgba:YS.colorToRgba,test:Ex,type:["primary","success","error","warning","info"],http:kx,config:lx,zIndex:cx,debounce:function(e,t=500,n=!1){if(null!==$S&&clearTimeout($S),n){const n=!$S;$S=setTimeout(()=>{$S=null},t),n&&"function"==typeof e&&e()}else $S=setTimeout(()=>{"function"==typeof e&&e()},t)},throttle:tC,calc:DO,mixin:PS,mpMixin:IS,...pS,color:ux,platform:"h5"},jO=Object.assign({"./components/u-action-sheet-data/u-action-sheet-data.vue":_k,"./components/u-action-sheet/u-action-sheet.vue":bk,"./components/u-agreement/u-agreement.vue":Ck,"./components/u-album/u-album.vue":Lk,"./components/u-alert/u-alert.vue":zk,"./components/u-avatar-group/u-avatar-group.vue":Wk,"./components/u-avatar/u-avatar.vue":jk,"./components/u-back-top/u-back-top.vue":qk,"./components/u-badge/u-badge.vue":Gk,"./components/u-barcode/u-barcode.vue":Xk,"./components/u-box/u-box.vue":Jk,"./components/u-button/u-button.vue":oC,"./components/u-calendar/u-calendar.vue":uC,"./components/u-car-keyboard/u-car-keyboard.vue":pC,"./components/u-card/u-card.vue":gC,"./components/u-cascader/u-cascader.vue":NC,"./components/u-cate-tab/u-cate-tab.vue":LC,"./components/u-cell-group/u-cell-group.vue":BC,"./components/u-cell/u-cell.vue":IC,"./components/u-checkbox-group/u-checkbox-group.vue":zC,"./components/u-checkbox/u-checkbox.vue":jC,"./components/u-choose/u-choose.vue":qC,"./components/u-circle-progress/u-circle-progress.vue":GC,"./components/u-city-locate/u-city-locate.vue":oA,"./components/u-code-input/u-code-input.vue":aA,"./components/u-code/u-code.vue":cA,"./components/u-col/u-col.vue":dA,"./components/u-collapse-item/u-collapse-item.vue":fA,"./components/u-collapse/u-collapse.vue":yA,"./components/u-color-picker/u-color-picker.vue":xA,"./components/u-column-notice/u-column-notice.vue":CA,"./components/u-copy/u-copy.vue":TA,"./components/u-count-down/u-count-down.vue":RA,"./components/u-count-to/u-count-to.vue":$A,"./components/u-coupon/u-coupon.vue":jA,"./components/u-cropper/u-cropper.vue":WA,"./components/u-datetime-picker/u-datetime-picker.vue":ZA,"./components/u-divider/u-divider.vue":nT,"./components/u-dragsort/u-dragsort.vue":iT,"./components/u-dropdown-item/u-dropdown-item.vue":sT,"./components/u-dropdown/u-dropdown.vue":uT,"./components/u-empty/u-empty.vue":pT,"./components/u-float-button/u-float-button.vue":mT,"./components/u-form-item/u-form-item.vue":bT,"./components/u-form/u-form.vue":FT,"./components/u-gap/u-gap.vue":ZS,"./components/u-goods-sku/u-goods-sku.vue":UT,"./components/u-grid-item/u-grid-item.vue":QT,"./components/u-grid/u-grid.vue":ZT,"./components/u-icon/u-icon.vue":RS,"./components/u-image/u-image.vue":nI,"./components/u-index-anchor/u-index-anchor.vue":XC,"./components/u-index-item/u-index-item.vue":JC,"./components/u-index-list/u-index-list.vue":tA,"./components/u-input/u-input.vue":jS,"./components/u-keyboard/u-keyboard.vue":lI,"./components/u-lazy-load/u-lazy-load.vue":uI,"./components/u-line-progress/u-line-progress.vue":pI,"./components/u-line/u-line.vue":WS,"./components/u-link/u-link.vue":Ik,"./components/u-list-item/u-list-item.vue":mI,"./components/u-list/u-list.vue":bI,"./components/u-loading-icon/u-loading-icon.vue":KS,"./components/u-loading-page/u-loading-page.vue":wI,"./components/u-loadmore/u-loadmore.vue":kI,"./components/u-markdown/u-markdown.vue":tP,"./components/u-message-input/u-message-input.vue":oP,"./components/u-modal/u-modal.vue":Sk,"./components/u-navbar-mini/u-navbar-mini.vue":aP,"./components/u-navbar/u-navbar.vue":cP,"./components/u-no-network/u-no-network.vue":dP,"./components/u-notice-bar/u-notice-bar.vue":gP,"./components/u-notify/u-notify.vue":vP,"./components/u-number-box/u-number-box.vue":VT,"./components/u-number-keyboard/u-number-keyboard.vue":rI,"./components/u-overlay/u-overlay.vue":sk,"./components/u-pagination/u-pagination.vue":wP,"./components/u-parse/u-parse.vue":VI,"./components/u-pdf-reader/u-pdf-reader.vue":SP,"./components/u-picker-column/u-picker-column.vue":CP,"./components/u-picker-data/u-picker-data.vue":TP,"./components/u-picker/u-picker.vue":XA,"./components/u-popover/u-popover.vue":NP,"./components/u-popup/u-popup.vue":fk,"./components/u-poster/u-poster.vue":FP,"./components/u-pull-refresh/u-pull-refresh.vue":HP,"./components/u-qrcode/u-qrcode.vue":zP,"./components/u-radio-group/u-radio-group.vue":UP,"./components/u-radio/u-radio.vue":GP,"./components/u-rate/u-rate.vue":KP,"./components/u-read-more/u-read-more.vue":eB,"./components/u-refresh-virtual-list/u-refresh-virtual-list.vue":iB,"./components/u-row-notice/u-row-notice.vue":pP,"./components/u-row/u-row.vue":aB,"./components/u-safe-bottom/u-safe-bottom.vue":dk,"./components/u-scroll-list/u-scroll-list.vue":pB,"./components/u-search/u-search.vue":gB,"./components/u-select/u-select.vue":bB,"./components/u-short-video/u-short-video.vue":EB,"./components/u-signature/u-signature.vue":BB,"./components/u-skeleton/u-skeleton.vue":MB,"./components/u-slider/u-slider.vue":wB,"./components/u-status-bar/u-status-bar.vue":ck,"./components/u-steps-item/u-steps-item.vue":vC,"./components/u-steps/u-steps.vue":xC,"./components/u-sticky/u-sticky.vue":DB,"./components/u-subsection/u-subsection.vue":_A,"./components/u-swipe-action-item/u-swipe-action-item.vue":GB,"./components/u-swipe-action/u-swipe-action.vue":KB,"./components/u-swiper-indicator/u-swiper-indicator.vue":ZB,"./components/u-swiper/u-swiper.vue":nO,"./components/u-switch/u-switch.vue":rO,"./components/u-tabbar-item/u-tabbar-item.vue":kB,"./components/u-tabbar/u-tabbar.vue":TB,"./components/u-table/u-table.vue":sO,"./components/u-table2/u-table2.vue":cO,"./components/u-tabs-item/u-tabs-item.vue":dO,"./components/u-tabs/u-tabs.vue":CC,"./components/u-tag/u-tag.vue":WC,"./components/u-td/u-td.vue":pO,"./components/u-text/u-text.vue":Bk,"./components/u-textarea/u-textarea.vue":gO,"./components/u-th/u-th.vue":bO,"./components/u-title/u-title.vue":_O,"./components/u-toast/u-toast.vue":xO,"./components/u-toolbar/u-toolbar.vue":QA,"./components/u-tooltip/u-tooltip.vue":PP,"./components/u-tr/u-tr.vue":kO,"./components/u-transition/u-transition.vue":ik,"./components/u-tree/u-tree.vue":AO,"./components/u-upload/u-upload.vue":OO,"./components/u-view/u-view.vue":MO,"./components/u-virtual-list/u-virtual-list.vue":nB,"./components/u-waterfall/u-waterfall.vue":RO});let HO=[];for(const xR in jO){let e=jO[xR].default;e.name&&0!==e.name.indexOf("u--")&&(e.install=function(t){t.component(name,e)},HO.push(e))}const VO={install:(e,t="")=>{if(HO.forEach(function(t){const n=t.name.replace(/u-([a-zA-Z0-9-_]+)/g,"up-$1");n!=t.name&&e.component(t.name,t),e.component(n,t)}),t){uni.upuiParams=t;let e=t();e.httpIns&&e.httpIns(kx),e.options&&$O(e.options)}uni.$u=FO,e.config.globalProperties.$u=FO,e.mixin(PS)}}; -/*! - * shared v9.14.5 - * (c) 2025 kazuya kawaguchi - * Released under the MIT License. - */ -function WO(e,t){"undefined"!=typeof console&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const UO="undefined"!=typeof window,qO=(e,t=!1)=>t?Symbol.for(e):Symbol(e),QO=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),GO=e=>"number"==typeof e&&isFinite(e),YO=e=>"[object RegExp]"===hN(e),XO=e=>pN(e)&&0===Object.keys(e).length,KO=Object.assign,JO=Object.create,ZO=(e=null)=>JO(e);let eN;const tN=()=>eN||(eN="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:ZO());function nN(e){return e.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'").replace(/\//g,"/").replace(/=/g,"=")}function oN(e){return e.replace(/&(?![a-zA-Z0-9#]{2,6};)/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}const iN=Object.prototype.hasOwnProperty;function rN(e,t){return iN.call(e,t)}const aN=Array.isArray,sN=e=>"function"==typeof e,lN=e=>"string"==typeof e,cN=e=>"boolean"==typeof e,uN=e=>null!==e&&"object"==typeof e,dN=Object.prototype.toString,hN=e=>dN.call(e),pN=e=>{if(!uN(e))return!1;const t=Object.getPrototypeOf(e);return null===t||t.constructor===Object};function fN(e){let t=e;return()=>++t}const mN=e=>!uN(e)||aN(e);function gN(e,t){if(mN(e)||mN(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:e,des:t}=n.pop();Object.keys(e).forEach(o=>{"__proto__"!==o&&(uN(e[o])&&!uN(t[o])&&(t[o]=Array.isArray(e[o])?[]:ZO()),mN(t[o])||mN(e[o])?t[o]=e[o]:n.push({src:e[o],des:t[o]}))})}} -/*! - * message-compiler v9.14.5 - * (c) 2025 kazuya kawaguchi - * Released under the MIT License. - */function yN(e,t,n){const o={start:e,end:t};return null!=n&&(o.source=n),o}const bN=/\{([0-9a-zA-Z]+)\}/g;function vN(e,...t){return 1===t.length&&xN(t[0])&&(t=t[0]),t&&t.hasOwnProperty||(t={}),e.replace(bN,(e,n)=>t.hasOwnProperty(n)?t[n]:"")}const _N=Object.assign,wN=e=>"string"==typeof e,xN=e=>null!==e&&"object"==typeof e;function SN(e,t=""){return e.reduce((e,n,o)=>0===o?e+n:e+t+n,"")}const kN=1,CN=2,AN={[kN]:"Use modulo before '{{0}}'."};const TN=1,IN=2,EN=3,PN=4,BN=5,ON=6,NN=7,MN=8,LN=9,RN=10,DN=11,zN=12,$N=13,FN=14,jN=15,HN=16,VN=17,WN={[TN]:"Expected token: '{0}'",[IN]:"Invalid token in placeholder: '{0}'",[EN]:"Unterminated single quote in placeholder",[PN]:"Unknown escape sequence: \\{0}",[BN]:"Invalid unicode escape sequence: {0}",[ON]:"Unbalanced closing brace",[NN]:"Unterminated closing brace",[MN]:"Empty placeholder",[LN]:"Not allowed nest placeholder",[RN]:"Invalid linked format",[DN]:"Plural must have messages",[zN]:"Unexpected empty linked modifier",[$N]:"Unexpected empty linked key",[FN]:"Unexpected lexical analysis in token: '{0}'",[jN]:"unhandled codegen node type: '{0}'",[HN]:"unhandled mimifier node type: '{0}'"};function UN(e,t,n={}){const{domain:o,messages:i,args:r}=n,a=vN((i||WN)[e]||"",...r||[]),s=new SyntaxError(String(a));return s.code=e,t&&(s.location=t),s.domain=o,s}function qN(e){throw e}const QN=" ",GN="\n",YN=String.fromCharCode(8232),XN=String.fromCharCode(8233);function KN(e){const t=e;let n=0,o=1,i=1,r=0;const a=e=>"\r"===t[e]&&t[e+1]===GN,s=e=>t[e]===XN,l=e=>t[e]===YN,c=e=>a(e)||(e=>t[e]===GN)(e)||s(e)||l(e),u=e=>a(e)||s(e)||l(e)?GN:t[e];function d(){return r=0,c(n)&&(o++,i=0),a(n)&&n++,n++,i++,t[n]}return{index:()=>n,line:()=>o,column:()=>i,peekOffset:()=>r,charAt:u,currentChar:()=>u(n),currentPeek:()=>u(n+r),next:d,peek:function(){return a(n+r)&&r++,r++,t[n+r]},reset:function(){n=0,o=1,i=1,r=0},resetPeek:function(e=0){r=e},skipToPeek:function(){const e=n+r;for(;e!==n;)d();r=0}}}const JN=void 0;function ZN(e,t={}){const n=!1!==t.location,o=KN(e),i=()=>o.index(),r=()=>{return e=o.line(),t=o.column(),n=o.index(),{line:e,column:t,offset:n};var e,t,n},a=r(),s=i(),l={currentType:14,offset:s,startLoc:a,endLoc:a,lastType:14,lastOffset:s,lastStartLoc:a,lastEndLoc:a,braceNest:0,inLinked:!1,text:""},c=()=>l,{onError:u}=t;function d(e,t,o,...i){const r=c();if(t.column+=o,t.offset+=o,u){const o=UN(e,n?yN(r.startLoc,t):null,{domain:"tokenizer",args:i});u(o)}}function h(e,t,o){e.endLoc=r(),e.currentType=t;const i={type:t};return n&&(i.loc=yN(e.startLoc,e.endLoc)),null!=o&&(i.value=o),i}const p=e=>h(e,14);function f(e,t){return e.currentChar()===t?(e.next(),t):(d(TN,r(),0,t),"")}function m(e){let t="";for(;e.currentPeek()===QN||e.currentPeek()===GN;)t+=e.currentPeek(),e.peek();return t}function g(e){const t=m(e);return e.skipToPeek(),t}function y(e){if(e===JN)return!1;const t=e.charCodeAt(0);return t>=97&&t<=122||t>=65&&t<=90||95===t}function b(e,t){const{currentType:n}=t;if(2!==n)return!1;m(e);const o=function(e){if(e===JN)return!1;const t=e.charCodeAt(0);return t>=48&&t<=57}("-"===e.currentPeek()?e.peek():e.currentPeek());return e.resetPeek(),o}function v(e){m(e);const t="|"===e.currentPeek();return e.resetPeek(),t}function _(e,t=!0){const n=(t=!1,o="",i=!1)=>{const r=e.currentPeek();return"{"===r?"%"!==o&&t:"@"!==r&&r?"%"===r?(e.peek(),n(t,"%",!0)):"|"===r?!("%"!==o&&!i)||!(o===QN||o===GN):r===QN?(e.peek(),n(!0,QN,i)):r!==GN||(e.peek(),n(!0,GN,i)):"%"===o||t},o=n();return t&&e.resetPeek(),o}function w(e,t){const n=e.currentChar();return n===JN?JN:t(n)?(e.next(),n):null}function x(e){const t=e.charCodeAt(0);return t>=97&&t<=122||t>=65&&t<=90||t>=48&&t<=57||95===t||36===t}function S(e){return w(e,x)}function k(e){const t=e.charCodeAt(0);return t>=97&&t<=122||t>=65&&t<=90||t>=48&&t<=57||95===t||36===t||45===t}function C(e){return w(e,k)}function A(e){const t=e.charCodeAt(0);return t>=48&&t<=57}function T(e){return w(e,A)}function I(e){const t=e.charCodeAt(0);return t>=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102}function E(e){return w(e,I)}function P(e){let t="",n="";for(;t=T(e);)n+=t;return n}function B(e){let t="";for(;;){const n=e.currentChar();if("{"===n||"}"===n||"@"===n||"|"===n||!n)break;if("%"===n){if(!_(e))break;t+=n,e.next()}else if(n===QN||n===GN)if(_(e))t+=n,e.next();else{if(v(e))break;t+=n,e.next()}else t+=n,e.next()}return t}function O(e){return"'"!==e&&e!==GN}function N(e){const t=e.currentChar();switch(t){case"\\":case"'":return e.next(),`\\${t}`;case"u":return M(e,t,4);case"U":return M(e,t,6);default:return d(PN,r(),0,t),""}}function M(e,t,n){f(e,t);let o="";for(let i=0;i=1&&d(LN,r(),0),e.next(),n=h(t,2,"{"),g(e),t.braceNest++,n;case"}":return t.braceNest>0&&2===t.currentType&&d(MN,r(),0),e.next(),n=h(t,3,"}"),t.braceNest--,t.braceNest>0&&g(e),t.inLinked&&0===t.braceNest&&(t.inLinked=!1),n;case"@":return t.braceNest>0&&d(NN,r(),0),n=z(e,t)||p(t),t.braceNest=0,n;default:{let o=!0,i=!0,a=!0;if(v(e))return t.braceNest>0&&d(NN,r(),0),n=h(t,1,R(e)),t.braceNest=0,t.inLinked=!1,n;if(t.braceNest>0&&(5===t.currentType||6===t.currentType||7===t.currentType))return d(NN,r(),0),t.braceNest=0,$(e,t);if(o=function(e,t){const{currentType:n}=t;if(2!==n)return!1;m(e);const o=y(e.currentPeek());return e.resetPeek(),o}(e,t))return n=h(t,5,function(e){g(e);let t="",n="";for(;t=C(e);)n+=t;return e.currentChar()===JN&&d(NN,r(),0),n}(e)),g(e),n;if(i=b(e,t))return n=h(t,6,function(e){g(e);let t="";return"-"===e.currentChar()?(e.next(),t+=`-${P(e)}`):t+=P(e),e.currentChar()===JN&&d(NN,r(),0),t}(e)),g(e),n;if(a=function(e,t){const{currentType:n}=t;if(2!==n)return!1;m(e);const o="'"===e.currentPeek();return e.resetPeek(),o}(e,t))return n=h(t,7,function(e){g(e),f(e,"'");let t="",n="";for(;t=w(e,O);)n+="\\"===t?N(e):t;const o=e.currentChar();return o===GN||o===JN?(d(EN,r(),0),o===GN&&(e.next(),f(e,"'")),n):(f(e,"'"),n)}(e)),g(e),n;if(!o&&!i&&!a)return n=h(t,13,function(e){g(e);let t="",n="";for(;t=w(e,L);)n+=t;return n}(e)),d(IN,r(),0,n.value),g(e),n;break}}return n}function z(e,t){const{currentType:n}=t;let o=null;const i=e.currentChar();switch(8!==n&&9!==n&&12!==n&&10!==n||i!==GN&&i!==QN||d(RN,r(),0),i){case"@":return e.next(),o=h(t,8,"@"),t.inLinked=!0,o;case".":return g(e),e.next(),h(t,9,".");case":":return g(e),e.next(),h(t,10,":");default:return v(e)?(o=h(t,1,R(e)),t.braceNest=0,t.inLinked=!1,o):function(e,t){const{currentType:n}=t;if(8!==n)return!1;m(e);const o="."===e.currentPeek();return e.resetPeek(),o}(e,t)||function(e,t){const{currentType:n}=t;if(8!==n&&12!==n)return!1;m(e);const o=":"===e.currentPeek();return e.resetPeek(),o}(e,t)?(g(e),z(e,t)):function(e,t){const{currentType:n}=t;if(9!==n)return!1;m(e);const o=y(e.currentPeek());return e.resetPeek(),o}(e,t)?(g(e),h(t,12,function(e){let t="",n="";for(;t=S(e);)n+=t;return n}(e))):function(e,t){const{currentType:n}=t;if(10!==n)return!1;const o=()=>{const t=e.currentPeek();return"{"===t?y(e.peek()):!("@"===t||"%"===t||"|"===t||":"===t||"."===t||t===QN||!t)&&(t===GN?(e.peek(),o()):_(e,!1))},i=o();return e.resetPeek(),i}(e,t)?(g(e),"{"===i?D(e,t)||o:h(t,11,function(e){const t=n=>{const o=e.currentChar();return"{"!==o&&"%"!==o&&"@"!==o&&"|"!==o&&"("!==o&&")"!==o&&o?o===QN?n:(n+=o,e.next(),t(n)):n};return t("")}(e))):(8===n&&d(RN,r(),0),t.braceNest=0,t.inLinked=!1,$(e,t))}}function $(e,t){let n={type:14};if(t.braceNest>0)return D(e,t)||p(t);if(t.inLinked)return z(e,t)||p(t);switch(e.currentChar()){case"{":return D(e,t)||p(t);case"}":return d(ON,r(),0),e.next(),h(t,3,"}");case"@":return z(e,t)||p(t);default:{if(v(e))return n=h(t,1,R(e)),t.braceNest=0,t.inLinked=!1,n;const{isModulo:o,hasSpace:i}=function(e){const t=m(e),n="%"===e.currentPeek()&&"{"===e.peek();return e.resetPeek(),{isModulo:n,hasSpace:t.length>0}}(e);if(o)return i?h(t,0,B(e)):h(t,4,function(e){g(e);const t=e.currentChar();return"%"!==t&&d(TN,r(),0,t),e.next(),"%"}(e));if(_(e))return h(t,0,B(e));break}}return n}return{nextToken:function(){const{currentType:e,offset:t,startLoc:n,endLoc:a}=l;return l.lastType=e,l.lastOffset=t,l.lastStartLoc=n,l.lastEndLoc=a,l.offset=i(),l.startLoc=r(),o.currentChar()===JN?h(l,14):$(o,l)},currentOffset:i,currentPosition:r,context:c}}const eM=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function tM(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const e=parseInt(t||n,16);return e<=55295||e>=57344?String.fromCodePoint(e):"�"}}}function nM(e={}){const t=!1!==e.location,{onError:n,onWarn:o}=e;function i(e,o,i,r,...a){const s=e.currentPosition();if(s.offset+=r,s.column+=r,n){const e=UN(o,t?yN(i,s):null,{domain:"parser",args:a});n(e)}}function r(e,n,i,r,...a){const s=e.currentPosition();if(s.offset+=r,s.column+=r,o){const e=t?yN(i,s):null;o(function(e,t,...n){const o=vN(AN[e]||"",...n||[]),i={message:String(o),code:e};return t&&(i.location=t),i}(n,e,a))}}function a(e,n,o){const i={type:e};return t&&(i.start=n,i.end=n,i.loc={start:o,end:o}),i}function s(e,n,o,i){i&&(e.type=i),t&&(e.end=n,e.loc&&(e.loc.end=o))}function l(e,t){const n=e.context(),o=a(3,n.offset,n.startLoc);return o.value=t,s(o,e.currentOffset(),e.currentPosition()),o}function c(e,t){const n=e.context(),{lastOffset:o,lastStartLoc:i}=n,r=a(5,o,i);return r.index=parseInt(t,10),e.nextToken(),s(r,e.currentOffset(),e.currentPosition()),r}function u(e,t,n){const o=e.context(),{lastOffset:i,lastStartLoc:r}=o,l=a(4,i,r);return l.key=t,!0===n&&(l.modulo=!0),e.nextToken(),s(l,e.currentOffset(),e.currentPosition()),l}function d(e,t){const n=e.context(),{lastOffset:o,lastStartLoc:i}=n,r=a(9,o,i);return r.value=t.replace(eM,tM),e.nextToken(),s(r,e.currentOffset(),e.currentPosition()),r}function h(e){const t=e.context(),n=a(6,t.offset,t.startLoc);let o=e.nextToken();if(9===o.type){const t=function(e){const t=e.nextToken(),n=e.context(),{lastOffset:o,lastStartLoc:r}=n,l=a(8,o,r);return 12!==t.type?(i(e,zN,n.lastStartLoc,0),l.value="",s(l,o,r),{nextConsumeToken:t,node:l}):(null==t.value&&i(e,FN,n.lastStartLoc,0,oM(t)),l.value=t.value||"",s(l,e.currentOffset(),e.currentPosition()),{node:l})}(e);n.modifier=t.node,o=t.nextConsumeToken||e.nextToken()}switch(10!==o.type&&i(e,FN,t.lastStartLoc,0,oM(o)),o=e.nextToken(),2===o.type&&(o=e.nextToken()),o.type){case 11:null==o.value&&i(e,FN,t.lastStartLoc,0,oM(o)),n.key=function(e,t){const n=e.context(),o=a(7,n.offset,n.startLoc);return o.value=t,s(o,e.currentOffset(),e.currentPosition()),o}(e,o.value||"");break;case 5:null==o.value&&i(e,FN,t.lastStartLoc,0,oM(o)),n.key=u(e,o.value||"");break;case 6:null==o.value&&i(e,FN,t.lastStartLoc,0,oM(o)),n.key=c(e,o.value||"");break;case 7:null==o.value&&i(e,FN,t.lastStartLoc,0,oM(o)),n.key=d(e,o.value||"");break;default:{i(e,$N,t.lastStartLoc,0);const r=e.context(),l=a(7,r.offset,r.startLoc);return l.value="",s(l,r.offset,r.startLoc),n.key=l,s(n,r.offset,r.startLoc),{nextConsumeToken:o,node:n}}}return s(n,e.currentOffset(),e.currentPosition()),{node:n}}function p(e){const t=e.context(),n=a(2,1===t.currentType?e.currentOffset():t.offset,1===t.currentType?t.endLoc:t.startLoc);n.items=[];let o=null,p=null;do{const a=o||e.nextToken();switch(o=null,a.type){case 0:null==a.value&&i(e,FN,t.lastStartLoc,0,oM(a)),n.items.push(l(e,a.value||""));break;case 6:null==a.value&&i(e,FN,t.lastStartLoc,0,oM(a)),n.items.push(c(e,a.value||""));break;case 4:p=!0;break;case 5:null==a.value&&i(e,FN,t.lastStartLoc,0,oM(a)),n.items.push(u(e,a.value||"",!!p)),p&&(r(e,kN,t.lastStartLoc,0,oM(a)),p=null);break;case 7:null==a.value&&i(e,FN,t.lastStartLoc,0,oM(a)),n.items.push(d(e,a.value||""));break;case 8:{const t=h(e);n.items.push(t.node),o=t.nextConsumeToken||null;break}}}while(14!==t.currentType&&1!==t.currentType);return s(n,1===t.currentType?t.lastOffset:e.currentOffset(),1===t.currentType?t.lastEndLoc:e.currentPosition()),n}function f(e){const t=e.context(),{offset:n,startLoc:o}=t,r=p(e);return 14===t.currentType?r:function(e,t,n,o){const r=e.context();let l=0===o.items.length;const c=a(1,t,n);c.cases=[],c.cases.push(o);do{const t=p(e);l||(l=0===t.items.length),c.cases.push(t)}while(14!==r.currentType);return l&&i(e,DN,n,0),s(c,e.currentOffset(),e.currentPosition()),c}(e,n,o,r)}return{parse:function(n){const o=ZN(n,_N({},e)),r=o.context(),l=a(0,r.offset,r.startLoc);return t&&l.loc&&(l.loc.source=n),l.body=f(o),e.onCacheKey&&(l.cacheKey=e.onCacheKey(n)),14!==r.currentType&&i(o,FN,r.lastStartLoc,0,n[r.offset]||""),s(l,o.currentOffset(),o.currentPosition()),l}}}function oM(e){if(14===e.type)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function iM(e,t){for(let n=0;nt,helper:e=>(t.helpers.add(e),e)}}(e);n.helper("normalize"),e.body&&rM(e.body,n);const o=n.context();e.helpers=Array.from(o.helpers)}function sM(e){if(1===e.items.length){const t=e.items[0];3!==t.type&&9!==t.type||(e.static=t.value,delete t.value)}else{const t=[];for(let n=0;n1){e.push(`${n("plural")}([`),e.indent(o());const i=t.cases.length;for(let n=0;nsM(e))}(a),i&&lM(a),{ast:a,code:""}):(aM(a,n),((e,t={})=>{const n=wN(t.mode)?t.mode:"normal",o=wN(t.filename)?t.filename:"message.intl",i=!!t.sourceMap,r=null!=t.breakLineCode?t.breakLineCode:"arrow"===n?";":"\n",a=t.needIndent?t.needIndent:"arrow"!==n,s=e.helpers||[],l=function(e,t){const{sourceMap:n,filename:o,breakLineCode:i,needIndent:r}=t,a=!1!==t.location,s={filename:o,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:i,needIndent:r,indentLevel:0};function l(e,t){s.code+=e}function c(e,t=!0){const n=t?i:"";l(r?n+" ".repeat(e):n)}return a&&e.loc&&(s.source=e.loc.source),{context:()=>s,push:l,indent:function(e=!0){const t=++s.indentLevel;e&&c(t)},deindent:function(e=!0){const t=--s.indentLevel;e&&c(t)},newline:function(){c(s.indentLevel)},helper:e=>`_${e}`,needIndent:()=>s.needIndent}}(e,{mode:n,filename:o,sourceMap:i,breakLineCode:r,needIndent:a});l.push("normal"===n?"function __msg__ (ctx) {":"(ctx) => {"),l.indent(a),s.length>0&&(l.push(`const { ${SN(s.map(e=>`${e}: _${e}`),", ")} } = ctx`),l.newline()),l.push("return "),cM(l,e),l.deindent(a),l.push("}"),delete e.helpers;const{code:c,map:u}=l.context();return{ast:e,code:c,map:u?u.toJSON():void 0}})(a,n))} -/*! - * core-base v9.14.5 - * (c) 2025 kazuya kawaguchi - * Released under the MIT License. - */function dM(e){return uN(e)&&0===yM(e)&&(rN(e,"b")||rN(e,"body"))}const hM=["b","body"];const pM=["c","cases"];const fM=["s","static"];const mM=["i","items"];const gM=["t","type"];function yM(e){return xM(e,gM)}const bM=["v","value"];function vM(e,t){const n=xM(e,bM);if(null!=n)return n;throw kM(t)}const _M=["m","modifier"];const wM=["k","key"];function xM(e,t,n){for(let o=0;oe,OM=e=>"",NM=e=>0===e.length?"":function(e,t=""){return e.reduce((e,n,o)=>0===o?e+n:e+t+n,"")}(e),MM=e=>null==e?"":aN(e)||pN(e)&&e.toString===dN?JSON.stringify(e,null,2):String(e);function LM(e,t){return e=Math.abs(e),2===t?e?e>1?1:0:1:e?Math.min(e,2):0}function RM(e={}){const t=e.locale,n=function(e){const t=GO(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(GO(e.named.count)||GO(e.named.n))?GO(e.named.count)?e.named.count:GO(e.named.n)?e.named.n:t:t}(e),o=uN(e.pluralRules)&&lN(t)&&sN(e.pluralRules[t])?e.pluralRules[t]:LM,i=uN(e.pluralRules)&&lN(t)&&sN(e.pluralRules[t])?LM:void 0,r=e.list||[],a=e.named||ZO();GO(e.pluralIndex)&&function(e,t){t.count||(t.count=e),t.n||(t.n=e)}(n,a);function s(t){const n=sN(e.messages)?e.messages(t):!!uN(e.messages)&&e.messages[t];return n||(e.parent?e.parent.message(t):OM)}const l=pN(e.processor)&&sN(e.processor.normalize)?e.processor.normalize:NM,c=pN(e.processor)&&sN(e.processor.interpolate)?e.processor.interpolate:MM,u={list:e=>r[e],named:e=>a[e],plural:e=>e[o(n,e.length,i)],linked:(t,...n)=>{const[o,i]=n;let r="text",a="";1===n.length?uN(o)?(a=o.modifier||a,r=o.type||r):lN(o)&&(a=o||a):2===n.length&&(lN(o)&&(a=o||a),lN(i)&&(r=i||r));const l=s(t)(u),c="vnode"===r&&aN(l)&&a?l[0]:l;return a?(d=a,e.modifiers?e.modifiers[d]:BM)(c,r):c;var d},message:s,type:pN(e.processor)&&lN(e.processor.type)?e.processor.type:"text",interpolate:c,normalize:l,values:KO(ZO(),r,a)};return u}const DM=CN,zM=fN(DM),$M={NOT_FOUND_KEY:DM,FALLBACK_TO_TRANSLATE:zM(),CANNOT_FORMAT_NUMBER:zM(),FALLBACK_TO_NUMBER_FORMAT:zM(),CANNOT_FORMAT_DATE:zM(),FALLBACK_TO_DATE_FORMAT:zM(),EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:zM(),__EXTEND_POINT__:zM()},FM=VN,jM=fN(FM),HM={INVALID_ARGUMENT:FM,INVALID_DATE_ARGUMENT:jM(),INVALID_ISO_DATE_ARGUMENT:jM(),NOT_SUPPORT_NON_STRING_MESSAGE:jM(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:jM(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:jM(),NOT_SUPPORT_LOCALE_TYPE:jM(),__EXTEND_POINT__:jM()};function VM(e){return UN(e,null,void 0)}function WM(e,t){return null!=t.locale?qM(t.locale):qM(e.locale)}let UM;function qM(e){if(lN(e))return e;if(sN(e)){if(e.resolvedOnce&&null!=UM)return UM;if("Function"===e.constructor.name){const n=e();if(uN(t=n)&&sN(t.then)&&sN(t.catch))throw VM(HM.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return UM=n}throw VM(HM.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}throw VM(HM.NOT_SUPPORT_LOCALE_TYPE);var t}function QM(e,t,n){return[...new Set([n,...aN(t)?t:uN(t)?Object.keys(t):lN(t)?[t]:[n]])]}function GM(e,t,n){const o=lN(n)?n:JM,i=e;i.__localeChainCache||(i.__localeChainCache=new Map);let r=i.__localeChainCache.get(o);if(!r){r=[];let e=[n];for(;aN(e);)e=YM(r,e,t);const a=aN(t)||!pN(t)?t:t.default?t.default:null;e=lN(a)?[a]:a,aN(e)&&YM(r,e,!1),i.__localeChainCache.set(o,r)}return r}function YM(e,t,n){let o=!0;for(let i=0;i`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;let eL,tL,nL;function oL(e){eL=e}let iL=null;const rL=e=>{iL=e};let aL=0;function sL(e={}){const t=sN(e.onWarn)?e.onWarn:WO,n=lN(e.version)?e.version:"9.14.5",o=lN(e.locale)||sN(e.locale)?e.locale:JM,i=sN(o)?JM:o,r=aN(e.fallbackLocale)||pN(e.fallbackLocale)||lN(e.fallbackLocale)||!1===e.fallbackLocale?e.fallbackLocale:i,a=pN(e.messages)?e.messages:lL(i),s=pN(e.datetimeFormats)?e.datetimeFormats:lL(i),l=pN(e.numberFormats)?e.numberFormats:lL(i),c=KO(ZO(),e.modifiers,{upper:(e,t)=>"text"===t&&lN(e)?e.toUpperCase():"vnode"===t&&uN(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>"text"===t&&lN(e)?e.toLowerCase():"vnode"===t&&uN(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>"text"===t&&lN(e)?ZM(e):"vnode"===t&&uN(e)&&"__v_isVNode"in e?ZM(e.children):e}),u=e.pluralRules||ZO(),d=sN(e.missing)?e.missing:null,h=!cN(e.missingWarn)&&!YO(e.missingWarn)||e.missingWarn,p=!cN(e.fallbackWarn)&&!YO(e.fallbackWarn)||e.fallbackWarn,f=!!e.fallbackFormat,m=!!e.unresolving,g=sN(e.postTranslation)?e.postTranslation:null,y=pN(e.processor)?e.processor:null,b=!cN(e.warnHtmlMessage)||e.warnHtmlMessage,v=!!e.escapeParameter,_=sN(e.messageCompiler)?e.messageCompiler:eL,w=sN(e.messageResolver)?e.messageResolver:tL||PM,x=sN(e.localeFallbacker)?e.localeFallbacker:nL||QM,S=uN(e.fallbackContext)?e.fallbackContext:void 0,k=e,C=uN(k.__datetimeFormatters)?k.__datetimeFormatters:new Map,A=uN(k.__numberFormatters)?k.__numberFormatters:new Map,T=uN(k.__meta)?k.__meta:{};aL++;const I={version:n,cid:aL,locale:o,fallbackLocale:r,messages:a,modifiers:c,pluralRules:u,missing:d,missingWarn:h,fallbackWarn:p,fallbackFormat:f,unresolving:m,postTranslation:g,processor:y,warnHtmlMessage:b,escapeParameter:v,messageCompiler:_,messageResolver:w,localeFallbacker:x,fallbackContext:S,onWarn:t,__meta:T};return I.datetimeFormats=s,I.numberFormats=l,I.__datetimeFormatters=C,I.__numberFormatters=A,I}const lL=e=>({[e]:ZO()});function cL(e,t,n,o,i){const{missing:r,onWarn:a}=e;if(null!==r){const o=r(e,n,t,i);return lN(o)?o:t}return t}function uL(e,t,n){e.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function dL(e,t){return e!==t&&e.split("-")[0]===t.split("-")[0]}function hL(e,t){const n=t.indexOf(e);if(-1===n)return!1;for(let o=n+1;ofunction(e,t){const n=(o=t,xM(o,hM));var o;if(null==n)throw kM(0);if(1===yM(n)){const t=function(e){return xM(e,pM,[])}(n);return e.plural(t.reduce((t,n)=>[...t,fL(e,n)],[]))}return fL(e,n)}(t,e)}function fL(e,t){const n=function(e){return xM(e,fM)}(t);if(null!=n)return"text"===e.type?n:e.normalize([n]);{const n=function(e){return xM(e,mM,[])}(t).reduce((t,n)=>[...t,mL(e,n)],[]);return e.normalize(n)}}function mL(e,t){const n=yM(t);switch(n){case 3:case 9:case 7:case 8:return vM(t,n);case 4:{const o=t;if(rN(o,"k")&&o.k)return e.interpolate(e.named(o.k));if(rN(o,"key")&&o.key)return e.interpolate(e.named(o.key));throw kM(n)}case 5:{const o=t;if(rN(o,"i")&&GO(o.i))return e.interpolate(e.list(o.i));if(rN(o,"index")&&GO(o.index))return e.interpolate(e.list(o.index));throw kM(n)}case 6:{const n=t,o=function(e){return xM(e,_M)}(n),i=function(e){const t=xM(e,wM);if(t)return t;throw kM(6)}(n);return e.linked(mL(e,i),o?mL(e,o):void 0,e.type)}default:throw new Error(`unhandled node on format message part: ${n}`)}}const gL=e=>e;let yL=ZO();function bL(e,t={}){let n=!1;const o=t.onError||qN;return t.onError=e=>{n=!0,o(e)},{...uM(e,t),detectError:n}}const vL=(e,t)=>{if(!lN(e))throw VM(HM.NOT_SUPPORT_NON_STRING_MESSAGE);{!cN(t.warnHtmlMessage)||t.warnHtmlMessage;const n=(t.onCacheKey||gL)(e),o=yL[n];if(o)return o;const{code:i,detectError:r}=bL(e,t),a=new Function(`return ${i}`)();return r?a:yL[n]=a}};const _L=()=>"",wL=e=>sN(e);function xL(e,...t){const{fallbackFormat:n,postTranslation:o,unresolving:i,messageCompiler:r,fallbackLocale:a,messages:s}=e,[l,c]=CL(...t),u=cN(c.missingWarn)?c.missingWarn:e.missingWarn,d=cN(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,h=cN(c.escapeParameter)?c.escapeParameter:e.escapeParameter,p=!!c.resolvedMessage,f=lN(c.default)||cN(c.default)?cN(c.default)?r?l:()=>l:c.default:n?r?l:()=>l:"",m=n||""!==f,g=WM(e,c);h&&function(e){aN(e.list)?e.list=e.list.map(e=>lN(e)?nN(e):e):uN(e.named)&&Object.keys(e.named).forEach(t=>{lN(e.named[t])&&(e.named[t]=nN(e.named[t]))})}(c);let[y,b,v]=p?[l,g,s[g]||ZO()]:SL(e,l,g,a,d,u),_=y,w=l;if(p||lN(_)||dM(_)||wL(_)||m&&(_=f,w=_),!(p||(lN(_)||dM(_)||wL(_))&&lN(b)))return i?-1:l;let x=!1;const S=wL(_)?_:kL(e,l,b,_,w,()=>{x=!0});if(x)return _;const k=function(e,t,n,o){const{modifiers:i,pluralRules:r,messageResolver:a,fallbackLocale:s,fallbackWarn:l,missingWarn:c,fallbackContext:u}=e,d=o=>{let i=a(n,o);if(null==i&&u){const[,,e]=SL(u,o,t,s,l,c);i=a(e,o)}if(lN(i)||dM(i)){let n=!1;const r=kL(e,o,t,i,o,()=>{n=!0});return n?_L:r}return wL(i)?i:_L},h={locale:t,modifiers:i,pluralRules:r,messages:d};e.processor&&(h.processor=e.processor);o.list&&(h.list=o.list);o.named&&(h.named=o.named);GO(o.plural)&&(h.pluralIndex=o.plural);return h}(e,b,v,c),C=function(e,t,n){const o=t(n);return o}(0,S,RM(k));let A=o?o(C,l):C;var T;return h&&lN(A)&&(T=(T=(T=A).replace(/(\w+)\s*=\s*"([^"]*)"/g,(e,t,n)=>`${t}="${oN(n)}"`)).replace(/(\w+)\s*=\s*'([^']*)'/g,(e,t,n)=>`${t}='${oN(n)}'`),/\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi.test(T)&&(T=T.replace(/(\s+)(on)(\w+\s*=)/gi,"$1on$3")),[/(\s+(?:href|src|action|formaction)\s*=\s*["']?)\s*javascript:/gi,/(style\s*=\s*["'][^"']*url\s*\(\s*)javascript:/gi].forEach(e=>{T=T.replace(e,"$1javascript:")}),A=T),A}function SL(e,t,n,o,i,r){const{messages:a,onWarn:s,messageResolver:l,localeFallbacker:c}=e,u=c(e,o,n);let d,h=ZO(),p=null;for(let f=0;fo;return e.locale=n,e.key=t,e}const l=a(o,function(e,t,n,o,i,r){return{locale:t,key:n,warnHtmlMessage:i,onError:e=>{throw r&&r(e),e},onCacheKey:e=>((e,t,n)=>QO({l:e,k:t,s:n}))(t,n,e)}}(0,n,i,0,s,r));return l.locale=n,l.key=t,l.source=o,l}function CL(...e){const[t,n,o]=e,i=ZO();if(!(lN(t)||GO(t)||wL(t)||dM(t)))throw VM(HM.INVALID_ARGUMENT);const r=GO(t)?String(t):(wL(t),t);return GO(n)?i.plural=n:lN(n)?i.default=n:pN(n)&&!XO(n)?i.named=n:aN(n)&&(i.list=n),GO(o)?i.plural=o:lN(o)?i.default=o:pN(o)&&KO(i,o),[r,i]}function AL(e,...t){const{datetimeFormats:n,unresolving:o,fallbackLocale:i,onWarn:r,localeFallbacker:a}=e,{__datetimeFormatters:s}=e,[l,c,u,d]=IL(...t);cN(u.missingWarn)?u.missingWarn:e.missingWarn;cN(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const h=!!u.part,p=WM(e,u),f=a(e,i,p);if(!lN(l)||""===l)return new Intl.DateTimeFormat(p,d).format(c);let m,g={},y=null;for(let _=0;_{TL.includes(e)?s[e]=n[e]:r[e]=n[e]}),lN(o)?r.locale=o:pN(o)&&(s=o),pN(i)&&(s=i),[r.key||"",a,r,s]}function EL(e,t,n){const o=e;for(const i in n){const e=`${t}__${i}`;o.__datetimeFormatters.has(e)&&o.__datetimeFormatters.delete(e)}}function PL(e,...t){const{numberFormats:n,unresolving:o,fallbackLocale:i,onWarn:r,localeFallbacker:a}=e,{__numberFormatters:s}=e,[l,c,u,d]=OL(...t);cN(u.missingWarn)?u.missingWarn:e.missingWarn;cN(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const h=!!u.part,p=WM(e,u),f=a(e,i,p);if(!lN(l)||""===l)return new Intl.NumberFormat(p,d).format(c);let m,g={},y=null;for(let _=0;_{BL.includes(e)?a[e]=n[e]:r[e]=n[e]}),lN(o)?r.locale=o:pN(o)&&(a=o),pN(i)&&(a=i),[r.key||"",s,r,a]}function NL(e,t,n){const o=e;for(const i in n){const e=`${t}__${i}`;o.__numberFormatters.has(e)&&o.__numberFormatters.delete(e)}}"boolean"!=typeof __INTLIFY_JIT_COMPILATION__&&(tN().__INTLIFY_JIT_COMPILATION__=!1),"boolean"!=typeof __INTLIFY_DROP_MESSAGE_COMPILER__&&(tN().__INTLIFY_DROP_MESSAGE_COMPILER__=!1);const ML=$M.__EXTEND_POINT__,LL=fN(ML);LL(),LL(),LL(),LL(),LL(),LL(),LL(),LL(),LL();const RL=HM.__EXTEND_POINT__,DL=fN(RL),zL={UNEXPECTED_RETURN_TYPE:RL,INVALID_ARGUMENT:DL(),MUST_BE_CALL_SETUP_TOP:DL(),NOT_INSTALLED:DL(),NOT_AVAILABLE_IN_LEGACY_MODE:DL(),REQUIRED_VALUE:DL(),INVALID_VALUE:DL(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:DL(),NOT_INSTALLED_WITH_PROVIDE:DL(),UNEXPECTED_ERROR:DL(),NOT_COMPATIBLE_LEGACY_VUE_I18N:DL(),BRIDGE_SUPPORT_VUE_2_ONLY:DL(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:DL(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:DL(),__EXTEND_POINT__:DL()};function $L(e,...t){return UN(e,null,void 0)}const FL=qO("__translateVNode"),jL=qO("__datetimeParts"),HL=qO("__numberParts"),VL=qO("__setPluralRules"),WL=qO("__injectWithOption"),UL=qO("__dispose");function qL(e){if(!uN(e))return e;if(dM(e))return e;for(const t in e)if(rN(e,t))if(t.includes(".")){const n=t.split("."),o=n.length-1;let i=e,r=!1;for(let e=0;e{if("locale"in e&&"resource"in e){const{locale:t,resource:n}=e;t?(a[t]=a[t]||ZO(),gN(n,a[t])):gN(n,a)}else lN(e)&&gN(JSON.parse(e),a)}),null==i&&r)for(const s in a)rN(a,s)&&qL(a[s]);return a}function GL(e){return e.type}function YL(e,t,n){let o=uN(t.messages)?t.messages:ZO();"__i18nGlobal"in n&&(o=QL(e.locale.value,{messages:o,__i18n:n.__i18nGlobal}));const i=Object.keys(o);if(i.length&&i.forEach(t=>{e.mergeLocaleMessage(t,o[t])}),uN(t.datetimeFormats)){const n=Object.keys(t.datetimeFormats);n.length&&n.forEach(n=>{e.mergeDateTimeFormat(n,t.datetimeFormats[n])})}if(uN(t.numberFormats)){const n=Object.keys(t.numberFormats);n.length&&n.forEach(n=>{e.mergeNumberFormat(n,t.numberFormats[n])})}}function XL(e){return Lr(br,null,e,0)}const KL=()=>[],JL=()=>!1;let ZL=0;function eR(e){return(t,n,o,i)=>e(n,o,Qr()||void 0,i)}function tR(e={},t){const{__root:n,__injectWithOption:o}=e,i=void 0===n,r=e.flatJson,a=UO?Dn:zn,s=!!e.translateExistCompatible;let l=!cN(e.inheritLocale)||e.inheritLocale;const c=a(n&&l?n.locale.value:lN(e.locale)?e.locale:JM),u=a(n&&l?n.fallbackLocale.value:lN(e.fallbackLocale)||aN(e.fallbackLocale)||pN(e.fallbackLocale)||!1===e.fallbackLocale?e.fallbackLocale:c.value),d=a(QL(c.value,e)),h=a(pN(e.datetimeFormats)?e.datetimeFormats:{[c.value]:{}}),p=a(pN(e.numberFormats)?e.numberFormats:{[c.value]:{}});let f=n?n.missingWarn:!cN(e.missingWarn)&&!YO(e.missingWarn)||e.missingWarn,m=n?n.fallbackWarn:!cN(e.fallbackWarn)&&!YO(e.fallbackWarn)||e.fallbackWarn,g=n?n.fallbackRoot:!cN(e.fallbackRoot)||e.fallbackRoot,y=!!e.fallbackFormat,b=sN(e.missing)?e.missing:null,v=sN(e.missing)?eR(e.missing):null,_=sN(e.postTranslation)?e.postTranslation:null,w=n?n.warnHtmlMessage:!cN(e.warnHtmlMessage)||e.warnHtmlMessage,x=!!e.escapeParameter;const S=n?n.modifiers:pN(e.modifiers)?e.modifiers:{};let k,C=e.pluralRules||n&&n.pluralRules;k=(()=>{i&&rL(null);const t={version:"9.14.5",locale:c.value,fallbackLocale:u.value,messages:d.value,modifiers:S,pluralRules:C,missing:null===v?void 0:v,missingWarn:f,fallbackWarn:m,fallbackFormat:y,unresolving:!0,postTranslation:null===_?void 0:_,warnHtmlMessage:w,escapeParameter:x,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};t.datetimeFormats=h.value,t.numberFormats=p.value,t.__datetimeFormatters=pN(k)?k.__datetimeFormatters:void 0,t.__numberFormatters=pN(k)?k.__numberFormatters:void 0;const n=sL(t);return i&&rL(n),n})(),uL(k,c.value,u.value);const A=ra({get:()=>c.value,set:e=>{c.value=e,k.locale=c.value}}),T=ra({get:()=>u.value,set:e=>{u.value=e,k.fallbackLocale=u.value,uL(k,c.value,e)}}),I=ra(()=>d.value),E=ra(()=>h.value),P=ra(()=>p.value);const B=(e,t,o,r,a,s)=>{let l;c.value,u.value,d.value,h.value,p.value;try{0,i||(k.fallbackContext=n?iL:void 0),l=e(k)}finally{i||(k.fallbackContext=void 0)}if("translate exists"!==o&&GO(l)&&-1===l||"translate exists"===o&&!l){const[e,o]=t();return n&&g?r(n):a(e)}if(s(l))return l;throw $L(zL.UNEXPECTED_RETURN_TYPE)};function O(...e){return B(t=>Reflect.apply(xL,null,[t,...e]),()=>CL(...e),"translate",t=>Reflect.apply(t.t,t,[...e]),e=>e,e=>lN(e))}const N={normalize:function(e){return e.map(e=>lN(e)||GO(e)||cN(e)?XL(String(e)):e)},interpolate:e=>e,type:"vnode"};function M(e){return d.value[e]||{}}ZL++,n&&UO&&(No(n.locale,e=>{l&&(c.value=e,k.locale=e,uL(k,c.value,u.value))}),No(n.fallbackLocale,e=>{l&&(u.value=e,k.fallbackLocale=e,uL(k,c.value,u.value))}));const L={id:ZL,locale:A,fallbackLocale:T,get inheritLocale(){return l},set inheritLocale(e){l=e,e&&n&&(c.value=n.locale.value,u.value=n.fallbackLocale.value,uL(k,c.value,u.value))},get availableLocales(){return Object.keys(d.value).sort()},messages:I,get modifiers(){return S},get pluralRules(){return C||{}},get isGlobal(){return i},get missingWarn(){return f},set missingWarn(e){f=e,k.missingWarn=f},get fallbackWarn(){return m},set fallbackWarn(e){m=e,k.fallbackWarn=m},get fallbackRoot(){return g},set fallbackRoot(e){g=e},get fallbackFormat(){return y},set fallbackFormat(e){y=e,k.fallbackFormat=y},get warnHtmlMessage(){return w},set warnHtmlMessage(e){w=e,k.warnHtmlMessage=e},get escapeParameter(){return x},set escapeParameter(e){x=e,k.escapeParameter=e},t:O,getLocaleMessage:M,setLocaleMessage:function(e,t){if(r){const n={[e]:t};for(const e in n)rN(n,e)&&qL(n[e]);t=n[e]}d.value[e]=t,k.messages=d.value},mergeLocaleMessage:function(e,t){d.value[e]=d.value[e]||{};const n={[e]:t};if(r)for(const o in n)rN(n,o)&&qL(n[o]);gN(t=n[e],d.value[e]),k.messages=d.value},getPostTranslationHandler:function(){return sN(_)?_:null},setPostTranslationHandler:function(e){_=e,k.postTranslation=e},getMissingHandler:function(){return b},setMissingHandler:function(e){null!==e&&(v=eR(e)),b=e,k.missing=v},[VL]:function(e){C=e,k.pluralRules=C}};return L.datetimeFormats=E,L.numberFormats=P,L.rt=function(...e){const[t,n,o]=e;if(o&&!uN(o))throw $L(zL.INVALID_ARGUMENT);return O(t,n,KO({resolvedMessage:!0},o||{}))},L.te=function(e,t){return B(()=>{if(!e)return!1;const n=M(lN(t)?t:c.value),o=k.messageResolver(n,e);return s?null!=o:dM(o)||wL(o)||lN(o)},()=>[e],"translate exists",n=>Reflect.apply(n.te,n,[e,t]),JL,e=>cN(e))},L.tm=function(e){const t=function(e){let t=null;const n=GM(k,u.value,c.value);for(let o=0;oReflect.apply(AL,null,[t,...e]),()=>IL(...e),"datetime format",t=>Reflect.apply(t.d,t,[...e]),()=>"",e=>lN(e))},L.n=function(...e){return B(t=>Reflect.apply(PL,null,[t,...e]),()=>OL(...e),"number format",t=>Reflect.apply(t.n,t,[...e]),()=>"",e=>lN(e))},L.getDateTimeFormat=function(e){return h.value[e]||{}},L.setDateTimeFormat=function(e,t){h.value[e]=t,k.datetimeFormats=h.value,EL(k,e,t)},L.mergeDateTimeFormat=function(e,t){h.value[e]=KO(h.value[e]||{},t),k.datetimeFormats=h.value,EL(k,e,t)},L.getNumberFormat=function(e){return p.value[e]||{}},L.setNumberFormat=function(e,t){p.value[e]=t,k.numberFormats=p.value,NL(k,e,t)},L.mergeNumberFormat=function(e,t){p.value[e]=KO(p.value[e]||{},t),k.numberFormats=p.value,NL(k,e,t)},L[WL]=o,L[FL]=function(...e){return B(t=>{let n;const o=t;try{o.processor=N,n=Reflect.apply(xL,null,[o,...e])}finally{o.processor=null}return n},()=>CL(...e),"translate",t=>t[FL](...e),e=>[XL(e)],e=>aN(e))},L[jL]=function(...e){return B(t=>Reflect.apply(AL,null,[t,...e]),()=>IL(...e),"datetime format",t=>t[jL](...e),KL,e=>lN(e)||aN(e))},L[HL]=function(...e){return B(t=>Reflect.apply(PL,null,[t,...e]),()=>OL(...e),"number format",t=>t[HL](...e),KL,e=>lN(e)||aN(e))},L}function nR(e={},t){{const t=tR(function(e){const t=lN(e.locale)?e.locale:JM,n=lN(e.fallbackLocale)||aN(e.fallbackLocale)||pN(e.fallbackLocale)||!1===e.fallbackLocale?e.fallbackLocale:t,o=sN(e.missing)?e.missing:void 0,i=!cN(e.silentTranslationWarn)&&!YO(e.silentTranslationWarn)||!e.silentTranslationWarn,r=!cN(e.silentFallbackWarn)&&!YO(e.silentFallbackWarn)||!e.silentFallbackWarn,a=!cN(e.fallbackRoot)||e.fallbackRoot,s=!!e.formatFallbackMessages,l=pN(e.modifiers)?e.modifiers:{},c=e.pluralizationRules,u=sN(e.postTranslation)?e.postTranslation:void 0,d=!lN(e.warnHtmlInMessage)||"off"!==e.warnHtmlInMessage,h=!!e.escapeParameterHtml,p=!cN(e.sync)||e.sync;let f=e.messages;if(pN(e.sharedMessages)){const t=e.sharedMessages;f=Object.keys(t).reduce((e,n)=>{const o=e[n]||(e[n]={});return KO(o,t[n]),e},f||{})}const{__i18n:m,__root:g,__injectWithOption:y}=e,b=e.datetimeFormats,v=e.numberFormats,_=e.flatJson,w=e.translateExistCompatible;return{locale:t,fallbackLocale:n,messages:f,flatJson:_,datetimeFormats:b,numberFormats:v,missing:o,missingWarn:i,fallbackWarn:r,fallbackRoot:a,fallbackFormat:s,modifiers:l,pluralRules:c,postTranslation:u,warnHtmlMessage:d,escapeParameter:h,messageResolver:e.messageResolver,inheritLocale:p,translateExistCompatible:w,__i18n:m,__root:g,__injectWithOption:y}}(e)),{__extender:n}=e,o={id:t.id,get locale(){return t.locale.value},set locale(e){t.locale.value=e},get fallbackLocale(){return t.fallbackLocale.value},set fallbackLocale(e){t.fallbackLocale.value=e},get messages(){return t.messages.value},get datetimeFormats(){return t.datetimeFormats.value},get numberFormats(){return t.numberFormats.value},get availableLocales(){return t.availableLocales},get formatter(){return{interpolate:()=>[]}},set formatter(e){},get missing(){return t.getMissingHandler()},set missing(e){t.setMissingHandler(e)},get silentTranslationWarn(){return cN(t.missingWarn)?!t.missingWarn:t.missingWarn},set silentTranslationWarn(e){t.missingWarn=cN(e)?!e:e},get silentFallbackWarn(){return cN(t.fallbackWarn)?!t.fallbackWarn:t.fallbackWarn},set silentFallbackWarn(e){t.fallbackWarn=cN(e)?!e:e},get modifiers(){return t.modifiers},get formatFallbackMessages(){return t.fallbackFormat},set formatFallbackMessages(e){t.fallbackFormat=e},get postTranslation(){return t.getPostTranslationHandler()},set postTranslation(e){t.setPostTranslationHandler(e)},get sync(){return t.inheritLocale},set sync(e){t.inheritLocale=e},get warnHtmlInMessage(){return t.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(e){t.warnHtmlMessage="off"!==e},get escapeParameterHtml(){return t.escapeParameter},set escapeParameterHtml(e){t.escapeParameter=e},get preserveDirectiveContent(){return!0},set preserveDirectiveContent(e){},get pluralizationRules(){return t.pluralRules||{}},__composer:t,t(...e){const[n,o,i]=e,r={};let a=null,s=null;if(!lN(n))throw $L(zL.INVALID_ARGUMENT);const l=n;return lN(o)?r.locale=o:aN(o)?a=o:pN(o)&&(s=o),aN(i)?a=i:pN(i)&&(s=i),Reflect.apply(t.t,t,[l,a||s||{},r])},rt:(...e)=>Reflect.apply(t.rt,t,[...e]),tc(...e){const[n,o,i]=e,r={plural:1};let a=null,s=null;if(!lN(n))throw $L(zL.INVALID_ARGUMENT);const l=n;return lN(o)?r.locale=o:GO(o)?r.plural=o:aN(o)?a=o:pN(o)&&(s=o),lN(i)?r.locale=i:aN(i)?a=i:pN(i)&&(s=i),Reflect.apply(t.t,t,[l,a||s||{},r])},te:(e,n)=>t.te(e,n),tm:e=>t.tm(e),getLocaleMessage:e=>t.getLocaleMessage(e),setLocaleMessage(e,n){t.setLocaleMessage(e,n)},mergeLocaleMessage(e,n){t.mergeLocaleMessage(e,n)},d:(...e)=>Reflect.apply(t.d,t,[...e]),getDateTimeFormat:e=>t.getDateTimeFormat(e),setDateTimeFormat(e,n){t.setDateTimeFormat(e,n)},mergeDateTimeFormat(e,n){t.mergeDateTimeFormat(e,n)},n:(...e)=>Reflect.apply(t.n,t,[...e]),getNumberFormat:e=>t.getNumberFormat(e),setNumberFormat(e,n){t.setNumberFormat(e,n)},mergeNumberFormat(e,n){t.mergeNumberFormat(e,n)},getChoiceIndex:(e,t)=>-1};return o.__extender=n,o}}const oR={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>"parent"===e||"global"===e,default:"parent"},i18n:{type:Object}};function iR(e){return yr}const rR=Ko({name:"i18n-t",props:KO({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>GO(e)||!isNaN(e)}},oR),setup(e,t){const{slots:n,attrs:o}=t,i=e.i18n||fR({useScope:e.scope,__useComponent:!0});return()=>{const r=Object.keys(n).filter(e=>"_"!==e),a=ZO();e.locale&&(a.locale=e.locale),void 0!==e.plural&&(a.plural=lN(e.plural)?+e.plural:e.plural);const s=function({slots:e},t){if(1===t.length&&"default"===t[0])return(e.default?e.default():[]).reduce((e,t)=>[...e,...t.type===yr?t.children:[t]],[]);return t.reduce((t,n)=>{const o=e[n];return o&&(t[n]=o()),t},ZO())}(t,r),l=i[FL](e.keypath,s,a),c=KO(ZO(),o);return aa(lN(e.tag)||uN(e.tag)?e.tag:iR(),c,l)}}});function aR(e,t,n,o){const{slots:i,attrs:r}=t;return()=>{const t={part:!0};let a=ZO();e.locale&&(t.locale=e.locale),lN(e.format)?t.key=e.format:uN(e.format)&&(lN(e.format.key)&&(t.key=e.format.key),a=Object.keys(e.format).reduce((t,o)=>n.includes(o)?KO(ZO(),t,{[o]:e.format[o]}):t,ZO()));const s=o(e.value,t,a);let l=[t.key];aN(s)?l=s.map((e,t)=>{const n=i[e.type],o=n?n({[e.type]:e.value,index:t,parts:s}):[e.value];var r;return aN(r=o)&&!lN(r[0])&&(o[0].key=`${e.type}-${t}`),o}):lN(s)&&(l=[s]);const c=KO(ZO(),r);return aa(lN(e.tag)||uN(e.tag)?e.tag:iR(),c,l)}}const sR=Ko({name:"i18n-n",props:KO({value:{type:Number,required:!0},format:{type:[String,Object]}},oR),setup(e,t){const n=e.i18n||fR({useScope:e.scope,__useComponent:!0});return aR(e,t,BL,(...e)=>n[HL](...e))}}),lR=Ko({name:"i18n-d",props:KO({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},oR),setup(e,t){const n=e.i18n||fR({useScope:e.scope,__useComponent:!0});return aR(e,t,TL,(...e)=>n[jL](...e))}});function cR(e){if(lN(e))return{path:e};if(pN(e)){if(!("path"in e))throw $L(zL.REQUIRED_VALUE);return e}throw $L(zL.INVALID_VALUE)}function uR(e){const{path:t,locale:n,args:o,choice:i,plural:r}=e,a={},s=o||{};return lN(n)&&(a.locale=n),GO(i)&&(a.plural=i),GO(r)&&(a.plural=r),[t,s,a]}function dR(e,t,...n){const o=pN(n[0])?n[0]:{},i=!!o.useI18nComponentName;(!cN(o.globalInstall)||o.globalInstall)&&([i?"i18n":rR.name,"I18nT"].forEach(t=>e.component(t,rR)),[sR.name,"I18nN"].forEach(t=>e.component(t,sR)),[lR.name,"I18nD"].forEach(t=>e.component(t,lR))),e.directive("t",function(e){const t=t=>{const{instance:n,modifiers:o,value:i}=t;if(!n||!n.$)throw $L(zL.UNEXPECTED_ERROR);const r=function(e,t){const n=e;if("composition"===e.mode)return n.__getInstance(t)||e.global;{const o=n.__getInstance(t);return null!=o?o.__composer:e.global.__composer}}(e,n.$),a=cR(i);return[Reflect.apply(r.t,r,[...uR(a)]),r]};return{created:(n,o)=>{const[i,r]=t(o);UO&&e.global===r&&(n.__i18nWatcher=No(r.locale,()=>{o.instance&&o.instance.$forceUpdate()})),n.__composer=r,n.textContent=i},unmounted:e=>{UO&&e.__i18nWatcher&&(e.__i18nWatcher(),e.__i18nWatcher=void 0,delete e.__i18nWatcher),e.__composer&&(e.__composer=void 0,delete e.__composer)},beforeUpdate:(e,{value:t})=>{if(e.__composer){const n=e.__composer,o=cR(t);e.textContent=Reflect.apply(n.t,n,[...uR(o)])}},getSSRProps:e=>{const[n]=t(e);return{textContent:n}}}}(t))}function hR(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[VL](t.pluralizationRules||e.pluralizationRules);const n=QL(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(n).forEach(t=>e.mergeLocaleMessage(t,n[t])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(n=>e.mergeDateTimeFormat(n,t.datetimeFormats[n])),t.numberFormats&&Object.keys(t.numberFormats).forEach(n=>e.mergeNumberFormat(n,t.numberFormats[n])),e}const pR=qO("global-vue-i18n");function fR(e={}){const t=Qr();if(null==t)throw $L(zL.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&null!=t.appContext.app&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw $L(zL.NOT_INSTALLED);const n=function(e){{const t=Ki(e.isCE?pR:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw $L(e.isCE?zL.NOT_INSTALLED_WITH_PROVIDE:zL.UNEXPECTED_ERROR);return t}}(t),o=function(e){return"composition"===e.mode?e.global:e.global.__composer}(n),i=GL(t),r=function(e,t){return XO(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}(e,i);if("legacy"===n.mode&&!e.__useComponent){if(!n.allowComposition)throw $L(zL.NOT_AVAILABLE_IN_LEGACY_MODE);return function(e,t,n,o={}){const i="local"===t,r=zn(null);if(i&&e.proxy&&!e.proxy.$options.i18n&&!e.proxy.$options.__i18n)throw $L(zL.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const a=cN(o.inheritLocale)?o.inheritLocale:!lN(o.locale),s=Dn(!i||a?n.locale.value:lN(o.locale)?o.locale:JM),l=Dn(!i||a?n.fallbackLocale.value:lN(o.fallbackLocale)||aN(o.fallbackLocale)||pN(o.fallbackLocale)||!1===o.fallbackLocale?o.fallbackLocale:s.value),c=Dn(QL(s.value,o)),u=Dn(pN(o.datetimeFormats)?o.datetimeFormats:{[s.value]:{}}),d=Dn(pN(o.numberFormats)?o.numberFormats:{[s.value]:{}}),h=i?n.missingWarn:!cN(o.missingWarn)&&!YO(o.missingWarn)||o.missingWarn,p=i?n.fallbackWarn:!cN(o.fallbackWarn)&&!YO(o.fallbackWarn)||o.fallbackWarn,f=i?n.fallbackRoot:!cN(o.fallbackRoot)||o.fallbackRoot,m=!!o.fallbackFormat,g=sN(o.missing)?o.missing:null,y=sN(o.postTranslation)?o.postTranslation:null,b=i?n.warnHtmlMessage:!cN(o.warnHtmlMessage)||o.warnHtmlMessage,v=!!o.escapeParameter,_=i?n.modifiers:pN(o.modifiers)?o.modifiers:{},w=o.pluralRules||i&&n.pluralRules;function x(){return[s.value,l.value,c.value,u.value,d.value]}const S=ra({get:()=>r.value?r.value.locale.value:s.value,set:e=>{r.value&&(r.value.locale.value=e),s.value=e}}),k=ra({get:()=>r.value?r.value.fallbackLocale.value:l.value,set:e=>{r.value&&(r.value.fallbackLocale.value=e),l.value=e}}),C=ra(()=>r.value?r.value.messages.value:c.value),A=ra(()=>u.value),T=ra(()=>d.value);function I(){return r.value?r.value.getPostTranslationHandler():y}function E(e){r.value&&r.value.setPostTranslationHandler(e)}function P(){return r.value?r.value.getMissingHandler():g}function B(e){r.value&&r.value.setMissingHandler(e)}function O(e){return x(),e()}function N(...e){return r.value?O(()=>Reflect.apply(r.value.t,null,[...e])):O(()=>"")}function M(...e){return r.value?Reflect.apply(r.value.rt,null,[...e]):""}function L(...e){return r.value?O(()=>Reflect.apply(r.value.d,null,[...e])):O(()=>"")}function R(...e){return r.value?O(()=>Reflect.apply(r.value.n,null,[...e])):O(()=>"")}function D(e){return r.value?r.value.tm(e):{}}function z(e,t){return!!r.value&&r.value.te(e,t)}function $(e){return r.value?r.value.getLocaleMessage(e):{}}function F(e,t){r.value&&(r.value.setLocaleMessage(e,t),c.value[e]=t)}function j(e,t){r.value&&r.value.mergeLocaleMessage(e,t)}function H(e){return r.value?r.value.getDateTimeFormat(e):{}}function V(e,t){r.value&&(r.value.setDateTimeFormat(e,t),u.value[e]=t)}function W(e,t){r.value&&r.value.mergeDateTimeFormat(e,t)}function U(e){return r.value?r.value.getNumberFormat(e):{}}function q(e,t){r.value&&(r.value.setNumberFormat(e,t),d.value[e]=t)}function Q(e,t){r.value&&r.value.mergeNumberFormat(e,t)}const G={get id(){return r.value?r.value.id:-1},locale:S,fallbackLocale:k,messages:C,datetimeFormats:A,numberFormats:T,get inheritLocale(){return r.value?r.value.inheritLocale:a},set inheritLocale(e){r.value&&(r.value.inheritLocale=e)},get availableLocales(){return r.value?r.value.availableLocales:Object.keys(c.value)},get modifiers(){return r.value?r.value.modifiers:_},get pluralRules(){return r.value?r.value.pluralRules:w},get isGlobal(){return!!r.value&&r.value.isGlobal},get missingWarn(){return r.value?r.value.missingWarn:h},set missingWarn(e){r.value&&(r.value.missingWarn=e)},get fallbackWarn(){return r.value?r.value.fallbackWarn:p},set fallbackWarn(e){r.value&&(r.value.missingWarn=e)},get fallbackRoot(){return r.value?r.value.fallbackRoot:f},set fallbackRoot(e){r.value&&(r.value.fallbackRoot=e)},get fallbackFormat(){return r.value?r.value.fallbackFormat:m},set fallbackFormat(e){r.value&&(r.value.fallbackFormat=e)},get warnHtmlMessage(){return r.value?r.value.warnHtmlMessage:b},set warnHtmlMessage(e){r.value&&(r.value.warnHtmlMessage=e)},get escapeParameter(){return r.value?r.value.escapeParameter:v},set escapeParameter(e){r.value&&(r.value.escapeParameter=e)},t:N,getPostTranslationHandler:I,setPostTranslationHandler:E,getMissingHandler:P,setMissingHandler:B,rt:M,d:L,n:R,tm:D,te:z,getLocaleMessage:$,setLocaleMessage:F,mergeLocaleMessage:j,getDateTimeFormat:H,setDateTimeFormat:V,mergeDateTimeFormat:W,getNumberFormat:U,setNumberFormat:q,mergeNumberFormat:Q};function Y(e){e.locale.value=s.value,e.fallbackLocale.value=l.value,Object.keys(c.value).forEach(t=>{e.mergeLocaleMessage(t,c.value[t])}),Object.keys(u.value).forEach(t=>{e.mergeDateTimeFormat(t,u.value[t])}),Object.keys(d.value).forEach(t=>{e.mergeNumberFormat(t,d.value[t])}),e.escapeParameter=v,e.fallbackFormat=m,e.fallbackRoot=f,e.fallbackWarn=p,e.missingWarn=h,e.warnHtmlMessage=b}return gi(()=>{if(null==e.proxy||null==e.proxy.$i18n)throw $L(zL.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const n=r.value=e.proxy.$i18n.__composer;"global"===t?(s.value=n.locale.value,l.value=n.fallbackLocale.value,c.value=n.messages.value,u.value=n.datetimeFormats.value,d.value=n.numberFormats.value):i&&Y(n)}),G}(t,r,o,e)}if("global"===r)return YL(o,e,i),o;if("parent"===r){let i=function(e,t,n=!1){let o=null;const i=t.root;let r=function(e,t=!1){if(null==e)return null;return t&&e.vnode.ctx||e.parent}(t,n);for(;null!=r;){const t=e;if("composition"===e.mode)o=t.__getInstance(r);else{const e=t.__getInstance(r);null!=e&&(o=e.__composer,n&&o&&!o[WL]&&(o=null))}if(null!=o)break;if(i===r)break;r=r.parent}return o}(n,t,e.__useComponent);return null==i&&(i=o),i}const a=n;let s=a.__getInstance(t);if(null==s){const n=KO({},e);"__i18n"in i&&(n.__i18n=i.__i18n),o&&(n.__root=o),s=tR(n),a.__composerExtend&&(s[UL]=a.__composerExtend(s)),function(e,t,n){yi(()=>{},t),wi(()=>{const o=n;e.__deleteInstance(t);const i=o[UL];i&&(i(),delete o[UL])},t)}(a,t,s),a.__setInstance(t,s)}return s}const mR=["locale","fallbackLocale","availableLocales"],gR=["t","rt","d","n","tm","te"];"boolean"!=typeof __INTLIFY_JIT_COMPILATION__&&(tN().__INTLIFY_JIT_COMPILATION__=!1),"boolean"!=typeof __INTLIFY_DROP_MESSAGE_COMPILER__&&(tN().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),__INTLIFY_JIT_COMPILATION__?oL(function(e,t){if(__INTLIFY_JIT_COMPILATION__&&!__INTLIFY_DROP_MESSAGE_COMPILER__&&lN(e)){!cN(t.warnHtmlMessage)||t.warnHtmlMessage;const n=(t.onCacheKey||gL)(e),o=yL[n];if(o)return o;const{ast:i,detectError:r}=bL(e,{...t,location:!1,jit:!0}),a=pL(i);return r?a:yL[n]=a}{const t=e.cacheKey;if(t){return yL[t]||(yL[t]=pL(e))}return pL(e)}}):oL(vL),tL=function(e,t){if(!uN(e))return null;let n=EM.get(t);if(n||(n=function(e){const t=[];let n,o,i,r,a,s,l,c=-1,u=0,d=0;const h=[];function p(){const t=e[c+1];if(5===u&&"'"===t||6===u&&'"'===t)return c++,i="\\"+t,h[0](),!0}for(h[0]=()=>{void 0===o?o=i:o+=i},h[1]=()=>{void 0!==o&&(t.push(o),o=void 0)},h[2]=()=>{h[0](),d++},h[3]=()=>{if(d>0)d--,u=4,h[0]();else{if(d=0,void 0===o)return!1;if(o=IM(o),!1===o)return!1;h[1]()}};null!==u;)if(c++,n=e[c],"\\"!==n||!p()){if(r=TM(n),l=CM[u],a=l[r]||l.l||8,8===a)return;if(u=a[0],void 0!==a[1]&&(s=h[a[1]],s&&(i=n,!1===s())))return;if(7===u)return t}}(t),n&&EM.set(t,n)),!n)return null;const o=n.length;let i=e,r=0;for(;r{let e="zh";return e=Rb().language,e=-1!==e.indexOf("zh")?"zh":-1!==e.indexOf("en")?"en":-1!==e.indexOf("pt")?"pt":"zh",e},wR=function(e={}){const t=!cN(e.legacy)||e.legacy,n=!cN(e.globalInjection)||e.globalInjection,o=!t||!!e.allowComposition,i=new Map,[r,a]=function(e,t){const n=mt();{const o=t?n.run(()=>nR(e)):n.run(()=>tR(e));if(null==o)throw $L(zL.UNEXPECTED_ERROR);return[n,o]}}(e,t),s=qO("");{const e={get mode(){return t?"legacy":"composition"},get allowComposition(){return o},async install(o,...i){if(o.__VUE_I18N_SYMBOL__=s,o.provide(o.__VUE_I18N_SYMBOL__,e),pN(i[0])){const t=i[0];e.__composerExtend=t.__composerExtend,e.__vueI18nExtend=t.__vueI18nExtend}let r=null;!t&&n&&(r=function(e,t){const n=Object.create(null);mR.forEach(e=>{const o=Object.getOwnPropertyDescriptor(t,e);if(!o)throw $L(zL.UNEXPECTED_ERROR);const i=Rn(o.value)?{get:()=>o.value.value,set(e){o.value.value=e}}:{get:()=>o.get&&o.get()};Object.defineProperty(n,e,i)}),e.config.globalProperties.$i18n=n,gR.forEach(n=>{const o=Object.getOwnPropertyDescriptor(t,n);if(!o||!o.value)throw $L(zL.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${n}`,o)});const o=()=>{delete e.config.globalProperties.$i18n,gR.forEach(t=>{delete e.config.globalProperties[`$${t}`]})};return o}(o,e.global)),dR(o,e,...i),t&&o.mixin(function(e,t,n){return{beforeCreate(){const o=Qr();if(!o)throw $L(zL.UNEXPECTED_ERROR);const i=this.$options;if(i.i18n){const o=i.i18n;if(i.__i18n&&(o.__i18n=i.__i18n),o.__root=t,this===this.$root)this.$i18n=hR(e,o);else{o.__injectWithOption=!0,o.__extender=n.__vueI18nExtend,this.$i18n=nR(o);const e=this.$i18n;e.__extender&&(e.__disposer=e.__extender(this.$i18n))}}else if(i.__i18n)if(this===this.$root)this.$i18n=hR(e,i);else{this.$i18n=nR({__i18n:i.__i18n,__injectWithOption:!0,__extender:n.__vueI18nExtend,__root:t});const e=this.$i18n;e.__extender&&(e.__disposer=e.__extender(this.$i18n))}else this.$i18n=e;i.__i18nGlobal&&YL(t,i,i),this.$t=(...e)=>this.$i18n.t(...e),this.$rt=(...e)=>this.$i18n.rt(...e),this.$tc=(...e)=>this.$i18n.tc(...e),this.$te=(e,t)=>this.$i18n.te(e,t),this.$d=(...e)=>this.$i18n.d(...e),this.$n=(...e)=>this.$i18n.n(...e),this.$tm=e=>this.$i18n.tm(e),n.__setInstance(o,this.$i18n)},mounted(){},unmounted(){const e=Qr();if(!e)throw $L(zL.UNEXPECTED_ERROR);const t=this.$i18n;delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,t.__disposer&&(t.__disposer(),delete t.__disposer,delete t.__extender),n.__deleteInstance(e),delete this.$i18n}}}(a,a.__composer,e));const l=o.unmount;o.unmount=()=>{r&&r(),e.dispose(),l()}},get global(){return a},dispose(){r.stop()},__instances:i,__getInstance:function(e){return i.get(e)||null},__setInstance:function(e,t){i.set(e,t)},__deleteInstance:function(e){i.delete(e)}};return e}}({locale:(()=>{try{return Gb("language")||_R()}catch(e){return _R()}})(),fallbackLocale:"zh",messages:{zh:yR,en:bR,pt:vR}});(function(){const e=ks(ax);return e.use(VO),e.use(wR),{app:e}})().app.use(jy).mount("#app");export{ov as $,$e as A,zr as B,rx as C,Ub as D,Qv as E,yr as F,DS as G,Ao as H,pk as I,b_ as J,Cy as K,a_ as L,s_ as M,Ep as N,h_ as O,FS as P,YA as Q,cC as R,Dg as S,Og as T,yi as U,Lp as V,$p as W,Dh as X,Ti as Y,R_ as Z,MS as _,w_ as a,DP as a0,ze as a1,jm as a2,Yb as a3,mO as a4,ws as a5,Iv as a6,Tr as b,Ir as c,Ai as d,Lr as e,Dr as f,xm as g,Hg as h,Qg as i,$g as j,Rb as k,Pv as l,i_ as m,Ov as n,Sr as o,z_ as p,Rv as q,xv as r,x_ as s,K as t,Mv as u,Yy as v,bo as w,vs as x,Cd as y,Gb as z}; diff --git a/miniprogram/dist/build/h5/assets/insurance-consultation-page-83a2fbb4.css b/miniprogram/dist/build/h5/assets/insurance-consultation-page-83a2fbb4.css deleted file mode 100644 index 6ad00b0..0000000 --- a/miniprogram/dist/build/h5/assets/insurance-consultation-page-83a2fbb4.css +++ /dev/null @@ -1 +0,0 @@ -.page[data-v-82efdc94]{min-height:100vh;background-color:#f3f3f3}.header[data-v-82efdc94]{display:flex;flex-direction:row;align-items:center;justify-content:space-between;width:100%;padding-top:2.75rem;padding-bottom:.625rem;background-color:#f3f3f3;position:fixed;top:0;left:0;z-index:100}.scroll-content[data-v-82efdc94]{padding-top:4.375rem;background-color:#f3f3f3;min-height:100vh}.content[data-v-82efdc94]{display:flex;flex-direction:column;align-items:center;background-color:#f3f3f3;min-height:100%}@keyframes flash-82efdc94{0%{background-color:#f3f3f3}50%{background-color:#f66}to{background-color:#f3f3f3}}.flash-animation[data-v-82efdc94]{animation:flash-82efdc94 .5s ease-in-out 3} diff --git a/miniprogram/dist/build/h5/assets/invite-reward-page-c248d82e.css b/miniprogram/dist/build/h5/assets/invite-reward-page-c248d82e.css deleted file mode 100644 index 0ade2ac..0000000 --- a/miniprogram/dist/build/h5/assets/invite-reward-page-c248d82e.css +++ /dev/null @@ -1 +0,0 @@ -.page[data-v-efb0bc1d]{min-height:100vh;background-color:#f3f4f8}.navbar-fixed[data-v-efb0bc1d]{position:fixed;top:0;left:0;right:0;z-index:100;display:flex;align-items:center;justify-content:center;padding-top:44px;height:2.75rem;transition:background .3s ease}.navbar-fixed .back-btn[data-v-efb0bc1d]{position:absolute;left:.9375rem;width:1.5rem;height:1.5rem;filter:brightness(0) invert(1)}.navbar-fixed .navbar-title[data-v-efb0bc1d]{font-size:1.125rem;font-weight:500;color:#fff}.reward-header[data-v-efb0bc1d]{position:relative;height:17.1875rem;background-color:#ff3b4e;overflow:hidden}.reward-header .bg-image[data-v-efb0bc1d]{position:absolute;top:0;left:0;width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.reward-header .reward-content[data-v-efb0bc1d]{position:relative;z-index:5;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:17.1875rem;padding:2.5rem .9375rem 0}.reward-header .reward-content .reward-title[data-v-efb0bc1d]{font-size:1.875rem;font-weight:700;color:#fff;text-shadow:0 .125rem .375rem rgba(0,0,0,.3);margin-bottom:1.875rem;letter-spacing:.0625rem;text-align:center;word-break:break-word;max-width:100%;line-height:1.3}.reward-header .reward-content .reward-desc-box[data-v-efb0bc1d]{background-color:rgba(255,255,255,.98);border-radius:1.875rem;padding:.75rem 1.5625rem;box-shadow:0 .25rem .75rem rgba(0,0,0,.1);max-width:90%}.reward-header .reward-content .reward-desc-box .reward-desc[data-v-efb0bc1d]{font-size:.8125rem;color:#333;line-height:1.8;text-align:center;word-break:break-word}.steps-section[data-v-efb0bc1d]{background-color:#fff;margin:.9375rem;border-radius:.625rem;padding:1.25rem .9375rem}.steps-section .section-title-row[data-v-efb0bc1d]{display:flex;align-items:center;justify-content:center;margin-bottom:1.25rem}.steps-section .section-title-row .title-line[data-v-efb0bc1d]{width:1.875rem;height:.0625rem;background-color:#333;flex-shrink:0}.steps-section .section-title-row .section-title[data-v-efb0bc1d]{font-size:.9375rem;font-weight:700;color:#333;margin:0 .625rem;white-space:nowrap}.steps-section .step-item[data-v-efb0bc1d]{display:flex;align-items:flex-start;margin-left:1.875rem;margin-bottom:.9375rem}.steps-section .step-item .step-icon[data-v-efb0bc1d]{width:2.3125rem;height:2.3125rem;border-radius:50%;display:flex;align-items:center;justify-content:center;margin-right:.75rem;flex-shrink:0}.steps-section .step-item .step-icon .step-img[data-v-efb0bc1d]{width:2.3125rem;height:2.3125rem}.steps-section .step-item .step-text[data-v-efb0bc1d]{font-size:.8125rem;color:#333;flex:1;line-height:1.6;word-break:break-word;padding-top:.3125rem}.steps-section .detail-link[data-v-efb0bc1d]{text-align:center;margin-top:.625rem}.steps-section .detail-link .detail-text[data-v-efb0bc1d]{font-size:.8125rem;color:#007aff;text-decoration:underline}.action-buttons[data-v-efb0bc1d]{display:flex;justify-content:space-between;padding:0 .9375rem;margin-bottom:.9375rem;gap:.625rem}.action-buttons .action-btn[data-v-efb0bc1d]{flex:1;min-height:1.5625rem;border-radius:1.375rem;display:flex;align-items:center;justify-content:center;padding:.625rem .3125rem}.action-buttons .action-btn.qrcode-btn[data-v-efb0bc1d]{background:linear-gradient(135deg,#FF3B4E 0%,#FF6B7A 100%)}.action-buttons .action-btn.share-btn[data-v-efb0bc1d]{background:linear-gradient(135deg,#FF6B7A 0%,#FF3B4E 100%)}.action-buttons .action-btn.share-btn-native[data-v-efb0bc1d]{border:none;margin:0;line-height:normal}.action-buttons .action-btn.share-btn-native[data-v-efb0bc1d]:after{border:none}.action-buttons .action-btn .btn-text[data-v-efb0bc1d]{font-size:.875rem;font-weight:700;color:#fff;text-align:center;word-break:break-word;line-height:1.4}.record-section[data-v-efb0bc1d]{margin:0 .9375rem .9375rem;border-radius:.625rem;overflow:hidden}.record-section .record-header[data-v-efb0bc1d]{display:flex;align-items:center;justify-content:space-between;background:linear-gradient(135deg,#FF3B4E 0%,#FF6B7A 100%);padding:.75rem .9375rem}.record-section .record-header .record-title[data-v-efb0bc1d]{font-size:1rem;font-weight:700;color:#fff}.record-section .record-header .record-more[data-v-efb0bc1d]{display:flex;align-items:center}.record-section .record-header .record-more .more-text[data-v-efb0bc1d]{font-size:.75rem;color:#fff;margin-right:.25rem}.record-section .record-header .record-more .arrow-icon[data-v-efb0bc1d]{width:.75rem;height:.75rem;filter:brightness(0) invert(1)}.record-section .record-content[data-v-efb0bc1d]{background-color:#fff;padding:1.5625rem .9375rem 1.25rem;border:.125rem solid #FF3B4E;border-top:none;border-radius:0 0 .625rem .625rem;position:relative;overflow:hidden}.record-section .record-content .record-bg-image[data-v-efb0bc1d]{position:absolute;top:0;left:0;width:100%;height:100%;opacity:1;pointer-events:none;z-index:0}.record-section .record-content .reward-cards[data-v-efb0bc1d]{z-index:1;display:flex;justify-content:space-around;margin-bottom:1.25rem;position:relative}.record-section .record-content .reward-cards .reward-card[data-v-efb0bc1d]{flex:1;display:flex;flex-direction:column;align-items:center;position:relative}.record-section .record-content .reward-cards .reward-card[data-v-efb0bc1d]:not(:last-child):after{content:"";position:absolute;right:0;top:50%;transform:translateY(-50%);width:.03125rem;height:2.5rem;background-color:#e5e5e5}.record-section .record-content .reward-cards .reward-card .reward-amount[data-v-efb0bc1d]{font-size:1.5rem;font-weight:700;color:#ff3b4e;margin-bottom:.5rem}.record-section .record-content .reward-cards .reward-card .reward-status[data-v-efb0bc1d]{font-size:.8125rem;color:#333}.record-section .record-content .apply-withdraw-btn[data-v-efb0bc1d]{background:linear-gradient(135deg,#FF3B4E 0%,#FF6B7A 100%);height:2.75rem;border-radius:1.375rem;display:flex;align-items:center;justify-content:center;position:relative;z-index:1;width:70%;margin:0 auto}.record-section .record-content .apply-withdraw-btn .apply-text[data-v-efb0bc1d]{font-size:1rem;font-weight:700;color:#fff}.invite-record-section[data-v-efb0bc1d]{margin:0 .9375rem 1.5625rem;border-radius:.625rem;overflow:hidden;padding-bottom:1.5625rem}.invite-record-section .invite-record-header[data-v-efb0bc1d]{background:linear-gradient(135deg,#FF3B4E 0%,#FF6B7A 100%);padding:.75rem .9375rem}.invite-record-section .invite-record-header .record-title[data-v-efb0bc1d]{font-size:1rem;font-weight:700;color:#fff}.invite-record-section .invite-record-content[data-v-efb0bc1d]{background-color:#fff;border:.125rem solid #FF3B4E;border-top:none;border-radius:0 0 .625rem .625rem;position:relative;overflow:hidden}.invite-record-section .invite-record-content .content-bg-stamp[data-v-efb0bc1d]{position:absolute;right:.9375rem;bottom:.9375rem;width:6.25rem;height:6.25rem;opacity:.85;pointer-events:none;z-index:0}.invite-record-section .table-header[data-v-efb0bc1d]{display:flex;background-color:#fff;padding:.75rem .5rem;border-bottom:.0625rem solid #F0F0F0;position:relative;z-index:1}.invite-record-section .table-header .table-col[data-v-efb0bc1d]{flex:1;font-size:.875rem;font-weight:700;color:#333;text-align:center}.invite-record-section .table-body[data-v-efb0bc1d]{position:relative;z-index:1}.invite-record-section .table-body .table-row[data-v-efb0bc1d]{display:flex;padding:.75rem .5rem;border-bottom:.03125rem solid #F0F0F0;align-items:center}.invite-record-section .table-body .table-row[data-v-efb0bc1d]:last-child{border-bottom:none}.invite-record-section .table-body .table-row .table-cell[data-v-efb0bc1d]{flex:1;font-size:.8125rem;color:#999;text-align:center}.invite-record-section .table-body .table-row .table-cell.status-cell[data-v-efb0bc1d]{display:flex;align-items:center;justify-content:center}.invite-record-section .table-body .table-row .table-cell.status-cell .paid-amount[data-v-efb0bc1d]{font-size:.875rem;font-weight:700;color:#333}.invite-record-section .table-body .table-row .table-cell.status-cell .unpaid-text[data-v-efb0bc1d]{font-size:.875rem;font-weight:700;color:#999}.invite-record-section .empty-state[data-v-efb0bc1d]{padding:2.5rem 0;text-align:center}.invite-record-section .empty-state .empty-text[data-v-efb0bc1d]{font-size:.875rem;color:#999}.modal-content[data-v-efb0bc1d]{width:18.75rem;max-height:70vh;display:flex;flex-direction:column;box-sizing:border-box}.modal-content .modal-header[data-v-efb0bc1d]{display:flex;align-items:center;justify-content:center;padding:.9375rem;border-bottom:.03125rem solid #F0F0F0;position:relative}.modal-content .modal-header .modal-title[data-v-efb0bc1d]{font-size:1rem;font-weight:700;color:#333}.modal-content .modal-header .close-icon[data-v-efb0bc1d]{position:absolute;right:.9375rem;width:1.25rem;height:1.25rem}.modal-content .modal-table[data-v-efb0bc1d]{flex:1;overflow-y:auto}.modal-content .modal-table .modal-table-header[data-v-efb0bc1d]{display:flex;padding:.75rem .625rem;background-color:#f8f8f8;border-bottom:.03125rem solid #E5E5E5}.modal-content .modal-table .modal-table-header .modal-table-col[data-v-efb0bc1d]{flex:1;font-size:.875rem;font-weight:700;color:#333;text-align:center}.modal-content .modal-table .modal-table-body .modal-table-row[data-v-efb0bc1d]{display:flex;padding:.75rem .625rem;border-bottom:.03125rem solid #F0F0F0}.modal-content .modal-table .modal-table-body .modal-table-row[data-v-efb0bc1d]:last-child{border-bottom:none}.modal-content .modal-table .modal-table-body .modal-table-row .modal-table-cell[data-v-efb0bc1d]{flex:1;font-size:.8125rem;color:#666;text-align:center}.qrcode-modal-content[data-v-efb0bc1d]{width:18.75rem;padding:1.25rem .9375rem;display:flex;flex-direction:column;align-items:center;box-sizing:border-box;position:relative;overflow:hidden}.qrcode-modal-content .qrcode-modal-title[data-v-efb0bc1d]{font-size:1rem;font-weight:700;color:#333;margin-bottom:.9375rem;text-align:center}.qrcode-modal-content .qrcode-box[data-v-efb0bc1d]{width:13.75rem;height:13.75rem;background-color:#fff;border-radius:.5rem;display:flex;align-items:center;justify-content:center;margin-bottom:.9375rem;box-shadow:0 .125rem .625rem rgba(0,0,0,.1);position:relative;overflow:visible}.qrcode-modal-content .qrcode-box[data-v-efb0bc1d] .u-qrcode,.qrcode-modal-content .qrcode-box[data-v-efb0bc1d] .u-qrcode__content{position:static!important;display:flex;align-items:center;justify-content:center}.qrcode-modal-content .qrcode-box[data-v-efb0bc1d] .u-qrcode__canvas{position:static!important;left:auto!important;top:auto!important;z-index:1!important}.qrcode-modal-content .qrcode-box[data-v-efb0bc1d] uni-canvas{position:static!important;left:auto!important;top:auto!important}.qrcode-modal-content .qrcode-actions[data-v-efb0bc1d]{display:flex;gap:.9375rem;width:100%}.qrcode-modal-content .qrcode-actions .qrcode-action-btn[data-v-efb0bc1d]{flex:1;height:2.5rem;border-radius:1.25rem;display:flex;align-items:center;justify-content:center}.qrcode-modal-content .qrcode-actions .qrcode-action-btn.share-action-btn[data-v-efb0bc1d],.qrcode-modal-content .qrcode-actions .qrcode-action-btn.save-action-btn[data-v-efb0bc1d]{background:linear-gradient(135deg,#4ECDC4 0%,#44A08D 100%)}.qrcode-modal-content .qrcode-actions .qrcode-action-btn.share-btn-native[data-v-efb0bc1d]{border:none;padding:0;margin:0;line-height:2.5rem}.qrcode-modal-content .qrcode-actions .qrcode-action-btn.share-btn-native[data-v-efb0bc1d]:after{border:none}.qrcode-modal-content .qrcode-actions .qrcode-action-btn .action-btn-text[data-v-efb0bc1d]{font-size:.875rem;font-weight:700;color:#fff}.apply-modal-overlay[data-v-efb0bc1d]{position:fixed;top:0;left:0;right:0;bottom:0;background-color:rgba(0,0,0,.5);z-index:999;display:flex;align-items:center;justify-content:center}.apply-modal-wrapper[data-v-efb0bc1d]{width:20.3125rem;max-width:90vw;max-height:80vh;background-color:#fff;border-radius:.625rem;overflow:hidden}.apply-modal-content[data-v-efb0bc1d]{width:100%;display:flex;flex-direction:column;box-sizing:border-box}.apply-modal-content .apply-modal-header[data-v-efb0bc1d]{background:linear-gradient(135deg,#FF3B4E 0%,#FF6B7A 100%);padding:.9375rem .625rem;text-align:center;flex-shrink:0}.apply-modal-content .apply-modal-header .apply-modal-title[data-v-efb0bc1d]{font-size:.9375rem;font-weight:700;color:#fff;word-break:keep-all}.apply-modal-content .apply-step-content[data-v-efb0bc1d]{padding:1.25rem .9375rem;position:relative;background-color:#fff;overflow:hidden;flex:1}.apply-modal-content .apply-step-content .step-bg-image[data-v-efb0bc1d]{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;opacity:.85;pointer-events:none;z-index:0}.apply-modal-content .apply-step-content .step-label[data-v-efb0bc1d]{font-size:.8125rem;color:#333;font-weight:700;display:block;margin-bottom:.625rem;position:relative;z-index:1;line-height:1.5;word-break:break-word}.apply-modal-content .apply-step-content .amount-input-row[data-v-efb0bc1d]{display:flex;align-items:center;justify-content:center;margin-bottom:.5rem;position:relative;z-index:1}.apply-modal-content .apply-step-content .amount-input-row .amount-input[data-v-efb0bc1d]{flex:1;height:2.5rem;background-color:#fff;border:.03125rem solid #E5E5E5;border-radius:.375rem;padding:0 .625rem;font-size:1rem;text-align:center}.apply-modal-content .apply-step-content .amount-input-row .currency-text[data-v-efb0bc1d]{font-size:1rem;color:#333;margin-left:.5rem}.apply-modal-content .apply-step-content .amount-hint[data-v-efb0bc1d]{font-size:.75rem;color:#999;text-align:center;display:block;margin-bottom:1.25rem;position:relative;z-index:1}.apply-modal-content .apply-step-content .payment-methods[data-v-efb0bc1d]{display:flex;gap:.5rem;margin-bottom:.9375rem;position:relative;z-index:1}.apply-modal-content .apply-step-content .payment-methods .payment-method[data-v-efb0bc1d]{flex:1;height:2.75rem;background-color:#e8e8e8;border-radius:.375rem;display:flex;align-items:center;justify-content:center;padding:0 .375rem}.apply-modal-content .apply-step-content .payment-methods .payment-method.active[data-v-efb0bc1d]{background:linear-gradient(135deg,#4ECDC4 0%,#44A08D 100%)}.apply-modal-content .apply-step-content .payment-methods .payment-method.active .method-text[data-v-efb0bc1d]{color:#fff}.apply-modal-content .apply-step-content .payment-methods .payment-method .method-text[data-v-efb0bc1d]{font-size:.875rem;color:#666;font-weight:500;text-align:center;line-height:1.2}.apply-modal-content .apply-step-content .upload-area[data-v-efb0bc1d]{width:6.25rem;height:6.25rem;border:.0625rem dashed #CCCCCC;border-radius:.375rem;display:flex;align-items:center;justify-content:center;margin:0 auto 1.25rem;background-color:#fff;position:relative;z-index:1}.apply-modal-content .apply-step-content .upload-area .upload-icon[data-v-efb0bc1d]{font-size:2.5rem;color:#ccc}.apply-modal-content .apply-step-content .upload-area .uploaded-image[data-v-efb0bc1d]{width:100%;height:100%;border-radius:.375rem}.apply-modal-content .apply-step-content .form-item[data-v-efb0bc1d]{margin-bottom:.625rem;position:relative;z-index:1}.apply-modal-content .apply-step-content .form-item .form-label[data-v-efb0bc1d]{font-size:.75rem;color:#666;display:block;margin-bottom:.3125rem;line-height:1.5;word-break:break-word}.apply-modal-content .apply-step-content .form-item .form-input[data-v-efb0bc1d]{width:100%;height:2.5rem;background-color:#fff;border:.03125rem solid #E5E5E5;border-radius:.375rem;padding:0 .625rem;font-size:.8125rem;box-sizing:border-box}.apply-modal-content .apply-step-content .apply-btn[data-v-efb0bc1d]{background:linear-gradient(135deg,#FF3B4E 0%,#FF6B7A 100%);height:2.75rem;border-radius:1.375rem;display:flex;align-items:center;justify-content:center;position:relative;z-index:1;margin-top:.625rem}.apply-modal-content .apply-step-content .apply-btn .apply-btn-text[data-v-efb0bc1d]{font-size:1rem;font-weight:700;color:#fff;text-align:center} diff --git a/miniprogram/dist/build/h5/assets/login-page-103fc876.css b/miniprogram/dist/build/h5/assets/login-page-103fc876.css deleted file mode 100644 index 2bf832d..0000000 --- a/miniprogram/dist/build/h5/assets/login-page-103fc876.css +++ /dev/null @@ -1 +0,0 @@ -.login-container[data-v-f67ad6c1]{display:flex;flex-direction:column;height:100vh;background-color:#f5f5f5}.header-row[data-v-f67ad6c1]{width:100%;margin-top:3.125rem;padding-bottom:.625rem;display:flex;flex-direction:row;align-items:center;justify-content:space-between}.back-button[data-v-f67ad6c1]{width:2.5rem;height:1.5625rem;margin-left:1rem;display:flex;align-items:center;justify-content:center}.back-icon[data-v-f67ad6c1]{width:1.5rem;height:1.5rem}.logo-section[data-v-f67ad6c1]{display:flex;justify-content:center;padding:30px 20px 20px;flex:0 0 auto}.logo-section .logo-box[data-v-f67ad6c1]{width:140px;height:140px;border:2px solid #17a2b8;border-radius:16px;display:flex;align-items:center;justify-content:center;background-color:#fff;box-shadow:0 2px 8px rgba(23,162,184,.1);overflow:hidden}.logo-section .logo-box .logo-image[data-v-f67ad6c1]{width:100%;height:100%}.logo-section .logo-box .logo-text[data-v-f67ad6c1]{font-size:36px;color:#17a2b8;font-weight:600}.main-content[data-v-f67ad6c1]{flex:1;display:flex;flex-direction:column;justify-content:flex-end;padding:0 20px 40px}.login-button[data-v-f67ad6c1]{width:100%;height:50px;background-color:#17a2b8;color:#fff;border-radius:10px;font-size:16px;font-weight:600;border:none;margin-bottom:20px;box-shadow:0 3px 10px rgba(23,162,184,.2);transition:all .3s ease;display:flex;align-items:center;justify-content:center;line-height:50px;padding:0;text-align:center}.login-button[data-v-f67ad6c1]:active{background-color:#138496;box-shadow:0 2px 6px rgba(23,162,184,.15)}.login-button[data-v-f67ad6c1]:after{border:none}.agreement-section[data-v-f67ad6c1]{display:flex;align-items:center;justify-content:center}.agreement-section .agreement-label[data-v-f67ad6c1]{display:flex;align-items:center;font-size:13px;color:#666;line-height:1.8}.agreement-section .agreement-label .check-icon[data-v-f67ad6c1]{width:1.125rem;height:1.125rem;margin-right:.375rem;flex-shrink:0}.agreement-section .agreement-label .agreement-text[data-v-f67ad6c1]{padding-top:1px}.agreement-section .agreement-label .link-text[data-v-f67ad6c1]{color:#17a2b8;text-decoration:underline;font-weight:500} diff --git a/miniprogram/dist/build/h5/assets/me-page-26588892.css b/miniprogram/dist/build/h5/assets/me-page-26588892.css deleted file mode 100644 index 6024e58..0000000 --- a/miniprogram/dist/build/h5/assets/me-page-26588892.css +++ /dev/null @@ -1 +0,0 @@ -.content[data-v-147d367c]{display:flex;height:100vh;background-color:#f3f4f8;flex-direction:column}.stats-row[data-v-147d367c]{display:flex;flex-direction:row;width:90%;margin:1.40625rem auto 0;justify-content:space-between;align-items:flex-start;min-height:3.125rem}.stats-item[data-v-147d367c]{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;flex:1;min-width:0;padding:0 .375rem}.stats-number[data-v-147d367c]{font-size:1.5rem;font-weight:700;color:#333;line-height:1.2}.stats-label[data-v-147d367c]{font-size:.75rem;color:#767676;margin-top:.375rem;text-align:center;word-wrap:break-word;word-break:break-word;white-space:normal;line-height:1.4;max-width:100%;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:visible}.stats-divider[data-v-147d367c]{width:.03125rem;height:1.875rem;background-color:#e0e0e0;flex-shrink:0;margin:.25rem .5rem 0}.unread-badge[data-v-147d367c]{min-width:1.125rem;height:1.125rem;padding:0 .375rem;background-color:#ff3b30;border-radius:.5625rem;font-size:.6875rem;color:#fff;display:flex;align-items:center;justify-content:center;margin-left:auto;margin-right:.625rem}.language-picker[data-v-147d367c]{background:white;border-radius:.625rem .625rem 0 0}.language-picker .picker-header[data-v-147d367c]{display:flex;align-items:center;justify-content:space-between;padding:1.25rem .9375rem .625rem;border-bottom:1px solid #f0f0f0}.language-picker .picker-header .picker-title[data-v-147d367c]{font-size:1.125rem;font-weight:700;color:#333}.language-picker .language-list[data-v-147d367c]{padding:.625rem 0}.language-picker .language-list .language-item[data-v-147d367c]{display:flex;align-items:center;justify-content:space-between;padding:.9375rem}.language-picker .language-list .language-item.active[data-v-147d367c]{background-color:#f8f9fa}.language-picker .language-list .language-item.active .language-name[data-v-147d367c]{color:#007aff;font-weight:500}.language-picker .language-list .language-item .language-name[data-v-147d367c]{font-size:1rem;color:#333} diff --git a/miniprogram/dist/build/h5/assets/medical-consultation-page-019fcec9.css b/miniprogram/dist/build/h5/assets/medical-consultation-page-019fcec9.css deleted file mode 100644 index 00b0319..0000000 --- a/miniprogram/dist/build/h5/assets/medical-consultation-page-019fcec9.css +++ /dev/null @@ -1 +0,0 @@ -.page[data-v-cffcea11]{min-height:100vh;background-color:#f3f3f3}.header[data-v-cffcea11]{display:flex;flex-direction:row;align-items:center;justify-content:space-between;width:100%;padding-top:2.75rem;padding-bottom:.625rem;background-color:#f3f3f3;position:fixed;top:0;left:0;z-index:100}.scroll-content[data-v-cffcea11]{padding-top:4.375rem;background-color:#f3f3f3;min-height:100vh}.content[data-v-cffcea11]{display:flex;flex-direction:column;align-items:center;background-color:#f3f3f3;min-height:100%}.date-item[data-v-cffcea11]{display:flex;flex-direction:row;align-items:center;justify-content:space-between;width:100%;height:2.5rem;padding:0 .3125rem;box-sizing:border-box}.date-text[data-v-cffcea11]{font-size:.875rem;color:#333}.date-placeholder[data-v-cffcea11]{color:#c0c4cc}@keyframes flash-cffcea11{0%{background-color:#f3f3f3}50%{background-color:#f66}to{background-color:#f3f3f3}}.flash-animation[data-v-cffcea11]{animation:flash-cffcea11 .5s ease-in-out 3} diff --git a/miniprogram/dist/build/h5/assets/my-appointments-page-80414920.css b/miniprogram/dist/build/h5/assets/my-appointments-page-80414920.css deleted file mode 100644 index ee9e11a..0000000 --- a/miniprogram/dist/build/h5/assets/my-appointments-page-80414920.css +++ /dev/null @@ -1 +0,0 @@ -.content[data-v-ba9e0216]{height:100vh;display:flex;flex-direction:column;background-color:#f5f7fa}.header[data-v-ba9e0216]{background-color:#fff}.header .status-bar[data-v-ba9e0216]{width:100%;background-color:#fff}.header .header-content[data-v-ba9e0216]{display:flex;align-items:center;justify-content:space-between;padding:.625rem 1rem}.header .back-button[data-v-ba9e0216]{width:1.875rem;height:1.875rem;display:flex;align-items:center;justify-content:center}.header .back-icon[data-v-ba9e0216]{width:1.25rem;height:1.25rem}.header .header-title[data-v-ba9e0216]{font-size:1.0625rem;font-weight:600;color:#333;flex:1;text-align:center}.header .header-placeholder[data-v-ba9e0216]{width:1.875rem}.tab-container[data-v-ba9e0216]{display:flex;flex-direction:row;padding:.75rem 1rem;background-color:#fff}.tab-item[data-v-ba9e0216]{padding:.4375rem 1.125rem;margin-right:.75rem;border-radius:1.125rem;border:.0625rem solid #E0E0E0;background-color:#fff}.tab-item.active[data-v-ba9e0216]{background-color:#e5fbff;border-color:#00a0bc}.tab-text[data-v-ba9e0216]{font-size:.875rem;color:#666}.tab-text.active[data-v-ba9e0216]{color:#00a0bc;font-weight:500}.appointment-list[data-v-ba9e0216]{flex:1;height:0;width:21.4375rem;margin:.75rem auto}.appointment-item[data-v-ba9e0216]{background-color:#fff;border-radius:.75rem;padding:1rem;margin-bottom:.75rem;box-shadow:0 .125rem .625rem rgba(0,0,0,.05)}.item-title[data-v-ba9e0216]{font-size:1rem;font-weight:600;color:#333;margin-bottom:.75rem}.item-row[data-v-ba9e0216]{display:flex;align-items:center;margin-bottom:.5rem}.item-icon[data-v-ba9e0216]{width:1.125rem;height:1.125rem;margin-right:.625rem}.item-text[data-v-ba9e0216]{font-size:.875rem;color:#666}.item-footer[data-v-ba9e0216]{display:flex;justify-content:space-between;align-items:center;margin-top:.75rem;padding-top:.75rem;border-top:.03125rem solid #F0F0F0}.view-detail[data-v-ba9e0216]{font-size:.875rem;color:#00a0bc}.status-text[data-v-ba9e0216]{font-size:.875rem;font-weight:500}.status-in-progress[data-v-ba9e0216]{color:#00a0bc}.status-completed[data-v-ba9e0216]{color:#ff6b6b}.status-cancelled[data-v-ba9e0216]{color:#999}.loading-more[data-v-ba9e0216]{padding:1.25rem;display:flex;justify-content:center}.loading-text[data-v-ba9e0216]{font-size:.8125rem;color:#999}.empty-state[data-v-ba9e0216]{display:flex;flex-direction:column;align-items:center;justify-content:center;padding-top:6.25rem}.empty-icon[data-v-ba9e0216]{font-size:3.75rem;opacity:.3;margin-bottom:.9375rem}.no-data[data-v-ba9e0216]{font-size:.875rem;color:#999}.detail-mask[data-v-ba9e0216]{position:fixed;top:0;left:0;right:0;bottom:0;background-color:rgba(0,0,0,.5);display:flex;align-items:center;justify-content:center;z-index:999}.detail-popup[data-v-ba9e0216]{width:85%;max-height:70vh;background-color:#fff;border-radius:.75rem;overflow:hidden}.popup-header[data-v-ba9e0216]{display:flex;align-items:center;justify-content:center;padding:1.125rem 1rem;border-bottom:.03125rem solid #F0F0F0;background-color:#fff;position:relative}.popup-title[data-v-ba9e0216]{font-size:1.0625rem;font-weight:600;color:#333}.popup-close[data-v-ba9e0216]{position:absolute;right:1rem;width:1.5rem;height:1.5rem;display:flex;align-items:center;justify-content:center}.close-icon[data-v-ba9e0216]{width:1.125rem;height:1.125rem}.popup-content[data-v-ba9e0216]{max-height:60vh;padding:0 1.25rem 1.25rem}.detail-item[data-v-ba9e0216]{padding:.875rem 0;border-bottom:.03125rem solid #F5F5F5}.detail-item[data-v-ba9e0216]:last-child{border-bottom:none}.detail-label[data-v-ba9e0216]{font-size:.9375rem;font-weight:600;color:#333;display:block;margin-bottom:.375rem}.detail-value[data-v-ba9e0216]{font-size:.875rem;color:#666;display:block;line-height:1.6;word-break:break-all;white-space:pre-wrap} diff --git a/miniprogram/dist/build/h5/assets/notification-page-a33108be.css b/miniprogram/dist/build/h5/assets/notification-page-a33108be.css deleted file mode 100644 index 554a0e3..0000000 --- a/miniprogram/dist/build/h5/assets/notification-page-a33108be.css +++ /dev/null @@ -1 +0,0 @@ -.content[data-v-a192f984]{height:100vh;display:flex;flex-direction:column;background-color:#f3f3f3}.header-row[data-v-a192f984]{width:100%;margin-top:3.125rem;padding-bottom:.625rem;display:flex;flex-direction:row;align-items:center;justify-content:space-between}.back-button[data-v-a192f984]{width:2.5rem;height:1.5625rem;margin-left:1rem;display:flex;align-items:center;justify-content:center}.back-icon[data-v-a192f984]{width:1.5rem;height:1.5rem}.title[data-v-a192f984]{font-size:1.125rem;font-weight:500;color:#333}.mark-read-btn[data-v-a192f984]{width:2.5rem;margin-right:1rem;display:flex;justify-content:flex-end}.mark-read-text[data-v-a192f984]{font-size:.75rem;color:#00a0bc}.tab-container[data-v-a192f984]{display:flex;flex-direction:row;padding:0 .75rem .75rem}.tab-item[data-v-a192f984]{flex:1;display:flex;align-items:center;justify-content:center;padding:.5rem 0;position:relative;margin:0 .25rem;border-radius:1.5625rem;border:.0625rem solid transparent}.tab-item.active[data-v-a192f984]{background-color:#e5fbff;border-color:#00a0bc}.tab-text[data-v-a192f984]{font-size:.8125rem;color:#666}.tab-text.active[data-v-a192f984]{color:#00a0bc;font-weight:500}.badge[data-v-a192f984]{position:absolute;top:.25rem;right:.125rem;min-width:1rem;height:1rem;padding:0 .25rem;background-color:#ff3b30;border-radius:.5rem;font-size:.625rem;color:#fff;display:flex;align-items:center;justify-content:center}.notification-list[data-v-a192f984]{flex:1;height:0}.notification-item[data-v-a192f984]{width:21.4375rem;background-color:#fff;border-radius:.625rem;padding:1.125rem 1rem;margin:0 auto .75rem;box-shadow:0 .0625rem .5rem rgba(0,0,0,.08);box-sizing:border-box}.notification-item.unread[data-v-a192f984]{background-color:#fff}.item-header[data-v-a192f984]{display:flex;flex-direction:row;align-items:center;margin-bottom:.5rem}.item-title[data-v-a192f984]{font-size:1rem;font-weight:500;color:#333;flex:1}.unread-dot[data-v-a192f984]{width:.375rem;height:.375rem;background-color:#ff3b30;border-radius:50%;margin-left:.5rem;flex-shrink:0}.item-content[data-v-a192f984]{font-size:.875rem;color:#666;line-height:1.7;display:block;margin-bottom:.5rem}.item-time[data-v-a192f984]{font-size:.75rem;color:#999;display:block}.loading-more[data-v-a192f984]{padding:1.25rem;display:flex;justify-content:center}.loading-text[data-v-a192f984]{font-size:.8125rem;color:#999}.empty-state[data-v-a192f984]{display:flex;flex-direction:column;align-items:center;justify-content:center;padding-top:6.25rem}.empty-icon[data-v-a192f984]{width:6.25rem;height:6.25rem;opacity:.3;margin-bottom:1.25rem}.no-data[data-v-a192f984]{font-size:.875rem;color:#999} diff --git a/miniprogram/dist/build/h5/assets/pages-appointment-air-logistics-page.2de8917c.js b/miniprogram/dist/build/h5/assets/pages-appointment-air-logistics-page.2de8917c.js deleted file mode 100644 index 0548913..0000000 --- a/miniprogram/dist/build/h5/assets/pages-appointment-air-logistics-page.2de8917c.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as e,m as t,L as l,M as a,l as i,k as s,N as r,O as o,G as n,H as d,o as c,c as u,w as h,i as m,P as p,e as f,f as g,t as y,A as x,g as E,h as b}from"./index-a09151d6.js";import{_}from"./aure-country-picker.01cea584.js";import{A as w}from"./AppServer.888fd24d.js";import{_ as k}from"./ic_back.5440bd15.js";const A=new w;const V=e({data:()=>({serviceId:"",serviceTitle:"",userName:"",userWechat:"",userPhone:"",userWhats:"",remark:"",origin:"",destination:"",itemName:"",itemQuantity:"",submitting:!1,flashingField:"",selectedDialCode:"86"}),onLoad(e){e.id&&(this.serviceId=e.id),e.title&&(this.serviceTitle=decodeURIComponent(e.title))},methods:{checkData(){const e=[{field:"userName",selector:"#fieldUserName",check:()=>!this.userName.trim(),message:"请输入真实姓名"},{field:"contact",selector:"#fieldContact",check:()=>!this.userWechat.trim()&&!this.userPhone.trim()&&!this.userWhats.trim(),message:"请至少填写一种联系方式(微信号/手机号/WhatsApp)"},{field:"origin",selector:"#fieldOrigin",check:()=>!this.origin.trim(),message:"请输入发货地"},{field:"destination",selector:"#fieldDestination",check:()=>!this.destination.trim(),message:"请输入目的地"},{field:"itemName",selector:"#fieldItemName",check:()=>!this.itemName.trim(),message:"请输入物品名称"},{field:"itemQuantity",selector:"#fieldItemQuantity",check:()=>!this.itemQuantity||parseInt(this.itemQuantity)<=0,message:"请输入有效的物品数量"}];for(const l of e)if(l.check())return t({title:l.message,icon:"none"}),this.scrollToElement(l.selector),this.flashingField=l.field,void setTimeout(()=>{this.flashingField=""},1500);this.submitAppointment()},async submitAppointment(){var e;if(!this.submitting){this.submitting=!0,l({title:"提交中...",mask:!0});try{const l={hotServiceId:parseInt(this.serviceId)||null,serviceType:"air_logistics",realName:this.userName.trim(),wechatId:this.userWechat.trim()||null,phone:this.userPhone.trim()||null,phoneCountryCode:this.userPhone.trim()?this.selectedDialCode:null,whatsapp:this.userWhats.trim()||null,notes:this.remark.trim()||null,origin:this.origin.trim(),destination:this.destination.trim(),itemName:this.itemName.trim(),itemQuantity:parseInt(this.itemQuantity)||0},s=await A.CreateAppointment(l);a(),s.success||0===s.code?(t({title:"预约提交成功",icon:"success"}),setTimeout(()=>{i({delta:1})},1500)):t({title:(null==(e=s.error)?void 0:e.message)||"提交失败,请重试",icon:"none"})}catch(s){a(),console.error("提交预约失败:",s),t({title:"网络错误,请重试",icon:"none"})}finally{this.submitting=!1}}},scrollToElement(e){const t=s().windowHeight,l=r().in(this);l.select(e).boundingClientRect(),l.selectViewport().scrollOffset(),l.exec(e=>{if(e[0]&&e[1]){const l=e[0],a=e[1].scrollTop+l.top-t/2+l.height/2;o({scrollTop:Math.max(0,a),duration:300})}})},back(){i({delta:1})}}},[["render",function(e,t,l,a,i,s){const r=E,o=m,w=b,A=n(d("up-input"),p),V=n(d("aure-country-picker"),_);return c(),u(o,{class:"page"},{default:h(()=>[f(o,{class:"header"},{default:h(()=>[f(o,{class:"center",style:{width:"50rpx",height:"50rpx","margin-left":"32rpx"}},{default:h(()=>[f(r,{src:k,onClick:s.back,style:{width:"48rpx",height:"48rpx"},mode:""},null,8,["onClick"])]),_:1}),f(w,{style:{"font-size":"30rpx"}},{default:h(()=>[g(y(e.$t("infoEntry.title")),1)]),_:1}),f(o,{style:{width:"50rpx","margin-right":"32rpx"}})]),_:1}),f(o,{class:"scroll-content"},{default:h(()=>[f(o,{class:"content"},{default:h(()=>[f(o,{class:"",style:{width:"680rpx",height:"396rpx","background-image":"linear-gradient(-45deg, #60D7FF, #68BBD7)","margin-top":"32rpx","border-radius":"20rpx","box-shadow":"0 0 10rpx 10rpx rgba(0, 0, 0, 0.1)"}}),f(o,{class:"",style:{width:"100%","font-size":"40rpx","padding-left":"54rpx","margin-top":"38rpx"}},{default:h(()=>[g(y(e.$t("infoEntry.personalInfo")),1)]),_:1}),f(o,{class:x(["column",{"flash-animation":"userName"===i.flashingField}]),style:{width:"680rpx","margin-top":"38rpx"},id:"fieldUserName"},{default:h(()=>[f(w,{style:{"font-size":"30rpx"}},{default:h(()=>[f(w,{style:{color:"#FF0000"}},{default:h(()=>[g("*")]),_:1}),g(y(e.$t("infoEntry.realName")),1)]),_:1}),f(A,{placeholder:e.$t("infoEntry.realNamePlaceholder"),border:"surround",modelValue:i.userName,"onUpdate:modelValue":t[0]||(t[0]=e=>i.userName=e)},null,8,["placeholder","modelValue"])]),_:1},8,["class"]),f(o,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),f(o,{class:x(["column",{"flash-animation":"contact"===i.flashingField}]),style:{width:"680rpx","margin-top":"14rpx"},id:"fieldContact"},{default:h(()=>[f(w,{style:{"font-size":"30rpx"}},{default:h(()=>[f(w,{style:{color:"#FF0000"}},{default:h(()=>[g("*")]),_:1}),g(y(e.$t("infoEntry.wechat"))+" ("+y(e.$t("infoEntry.contactMethod"))+")",1)]),_:1}),f(A,{placeholder:e.$t("infoEntry.wechatPlaceholder"),border:"surround",modelValue:i.userWechat,"onUpdate:modelValue":t[1]||(t[1]=e=>i.userWechat=e)},null,8,["placeholder","modelValue"])]),_:1},8,["class"]),f(o,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),f(o,{class:x(["column",{"flash-animation":"contact"===i.flashingField}]),style:{width:"680rpx","margin-top":"14rpx"}},{default:h(()=>[f(w,{style:{"font-size":"30rpx"}},{default:h(()=>[f(w,{style:{color:"#FF0000"}},{default:h(()=>[g("*")]),_:1}),g(y(e.$t("infoEntry.phone"))+" ("+y(e.$t("infoEntry.contactMethod"))+")",1)]),_:1}),f(o,{class:"row",style:{"margin-top":"10rpx","margin-bottom":"10rpx"}},{default:h(()=>[f(V,{modelValue:i.selectedDialCode,"onUpdate:modelValue":t[2]||(t[2]=e=>i.selectedDialCode=e),title:e.$t("infoEntry.selectCountry"),height:"70%",width:"60vw",duration:350,position:"bottom",round:!0,radius:"24rpx","mask-closable":!0},null,8,["modelValue","title"]),f(A,{placeholder:e.$t("infoEntry.phonePlaceholder"),border:"surround",modelValue:i.userPhone,"onUpdate:modelValue":t[3]||(t[3]=e=>i.userPhone=e)},null,8,["placeholder","modelValue"])]),_:1})]),_:1},8,["class"]),f(o,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),f(o,{class:x(["column",{"flash-animation":"contact"===i.flashingField}]),style:{width:"680rpx","margin-top":"14rpx"}},{default:h(()=>[f(w,{style:{"font-size":"30rpx"}},{default:h(()=>[f(w,{style:{color:"#FF0000"}},{default:h(()=>[g("*")]),_:1}),g(y(e.$t("infoEntry.whatsapp"))+" ("+y(e.$t("infoEntry.contactMethod"))+")",1)]),_:1}),f(A,{placeholder:e.$t("infoEntry.whatsappPlaceholder"),border:"surround",modelValue:i.userWhats,"onUpdate:modelValue":t[4]||(t[4]=e=>i.userWhats=e)},null,8,["placeholder","modelValue"])]),_:1},8,["class"]),f(o,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),f(o,{class:"column",style:{width:"680rpx","margin-top":"14rpx"}},{default:h(()=>[f(w,{style:{"font-size":"30rpx"}},{default:h(()=>[g(y(e.$t("infoEntry.remark")),1)]),_:1}),f(A,{placeholder:e.$t("infoEntry.remarkPlaceholder"),border:"surround",modelValue:i.remark,"onUpdate:modelValue":t[5]||(t[5]=e=>i.remark=e)},null,8,["placeholder","modelValue"])]),_:1}),f(o,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),f(o,{class:"",style:{width:"100%","font-size":"40rpx","padding-left":"54rpx","margin-top":"38rpx"}},{default:h(()=>[g(y(e.$t("infoEntry.serviceInfo")),1)]),_:1}),f(o,{class:x(["column",{"flash-animation":"origin"===i.flashingField}]),style:{width:"680rpx","margin-top":"14rpx"},id:"fieldOrigin"},{default:h(()=>[f(w,{style:{"font-size":"30rpx"}},{default:h(()=>[f(w,{style:{color:"#FF0000"}},{default:h(()=>[g("*")]),_:1}),g("发货地")]),_:1}),f(A,{placeholder:"请输入发货地址",border:"surround",modelValue:i.origin,"onUpdate:modelValue":t[6]||(t[6]=e=>i.origin=e)},null,8,["modelValue"])]),_:1},8,["class"]),f(o,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),f(o,{class:x(["column",{"flash-animation":"destination"===i.flashingField}]),style:{width:"680rpx","margin-top":"14rpx"},id:"fieldDestination"},{default:h(()=>[f(w,{style:{"font-size":"30rpx"}},{default:h(()=>[f(w,{style:{color:"#FF0000"}},{default:h(()=>[g("*")]),_:1}),g("目的地")]),_:1}),f(A,{placeholder:"请输入目的地址",border:"surround",modelValue:i.destination,"onUpdate:modelValue":t[7]||(t[7]=e=>i.destination=e)},null,8,["modelValue"])]),_:1},8,["class"]),f(o,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),f(o,{class:x(["column",{"flash-animation":"itemName"===i.flashingField}]),style:{width:"680rpx","margin-top":"14rpx"},id:"fieldItemName"},{default:h(()=>[f(w,{style:{"font-size":"30rpx"}},{default:h(()=>[f(w,{style:{color:"#FF0000"}},{default:h(()=>[g("*")]),_:1}),g("物品名称")]),_:1}),f(A,{placeholder:"请输入物品名称",border:"surround",modelValue:i.itemName,"onUpdate:modelValue":t[8]||(t[8]=e=>i.itemName=e)},null,8,["modelValue"])]),_:1},8,["class"]),f(o,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),f(o,{class:x(["column",{"flash-animation":"itemQuantity"===i.flashingField}]),style:{width:"680rpx","margin-top":"14rpx"},id:"fieldItemQuantity"},{default:h(()=>[f(w,{style:{"font-size":"30rpx"}},{default:h(()=>[f(w,{style:{color:"#FF0000"}},{default:h(()=>[g("*")]),_:1}),g("物品数量")]),_:1}),f(A,{placeholder:"请输入物品数量",border:"surround",modelValue:i.itemQuantity,"onUpdate:modelValue":t[9]||(t[9]=e=>i.itemQuantity=e),type:"number"},null,8,["modelValue"])]),_:1},8,["class"]),f(o,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),f(o,{class:"center",onClick:t[10]||(t[10]=e=>s.checkData()),style:{width:"642rpx",height:"72rpx","background-color":"#57C9DD","border-radius":"16rpx","box-shadow":"0 0 10rpx 10rpx rgba(0, 0, 0, 0.1)","margin-top":"50rpx","margin-bottom":"100rpx"}},{default:h(()=>[g(y(e.$t("common.submit")),1)]),_:1})]),_:1})]),_:1})]),_:1})}],["__scopeId","data-v-b194a86f"]]);export{V as default}; diff --git a/miniprogram/dist/build/h5/assets/pages-appointment-airfare-info-entry-page.008bdbb6.js b/miniprogram/dist/build/h5/assets/pages-appointment-airfare-info-entry-page.008bdbb6.js deleted file mode 100644 index c6aa6a4..0000000 --- a/miniprogram/dist/build/h5/assets/pages-appointment-airfare-info-entry-page.008bdbb6.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as e,m as t,L as a,M as l,l as r,k as s,N as i,O as n,G as o,H as d,o as u,c,w as p,i as h,P as f,Q as m,R as y,e as g,f as C,t as x,A as _,B as w,g as b,h as k}from"./index-a09151d6.js";import{_ as D}from"./aure-country-picker.01cea584.js";import{A as T}from"./AppServer.888fd24d.js";import{_ as E}from"./ic_back.5440bd15.js";import{_ as A}from"./arrow_down.807172e3.js";import{_ as F}from"./arrow_right2.8bd5bd0f.js";const v=new T;const V=e({data:()=>({serviceId:"",serviceTitle:"",userName:"",userWechat:"",userPhone:"",userWhats:"",remark:"",departureDate:"",returnDate:"",departureCity:"",arrivalCity:"",luggageCount:"",adultCount:0,childCount:0,infantCount:0,calendarType:"departure",tripType:"single",tripTypeIndex:0,submitting:!1,tripTypeColumns:[[{label:"单程",value:"single"},{label:"往返",value:"round"}]],cabinType:"economy",cabinTypeIndex:0,cabinTypeColumns:[[{label:"经济舱",value:"economy"},{label:"超级经济舱",value:"premium_economy"},{label:"商务舱",value:"business"}]],flashingField:"",selectedDialCode:"86",showCalendar:!1,showTripPicker:!1,showCabinPicker:!1,minDate:"",maxDate:""}),computed:{tripTypeText(){const e=this.tripTypeColumns[0].find(e=>e.value===this.tripType);return e?e.label:"单程"},cabinTypeText(){const e=this.cabinTypeColumns[0].find(e=>e.value===this.cabinType);return e?e.label:"经济舱"}},onLoad(e){this.initDateRange(),e.id&&(this.serviceId=e.id),e.title&&(this.serviceTitle=decodeURIComponent(e.title))},methods:{initDateRange(){const e=new Date,t=e.getFullYear(),a=String(e.getMonth()+1).padStart(2,"0"),l=String(e.getDate()).padStart(2,"0");this.minDate=`${t}-${a}-${l}`,this.maxDate=`${t+2}-12-31`},openDepartureCalendar(){console.log("打开出发日期选择器"),this.calendarType="departure",this.initDateRange(),this.$nextTick(()=>{this.showCalendar=!0})},openReturnCalendar(){console.log("打开返程日期选择器"),this.calendarType="return",this.departureDate?this.minDate=this.departureDate:this.initDateRange(),this.$nextTick(()=>{this.showCalendar=!0})},closeCalendar(){this.showCalendar=!1,this.initDateRange()},onCalendarConfirm(e){console.log("日历确认:",e),e&&e.length>0&&("departure"===this.calendarType?(this.departureDate=e[0],this.returnDate&&this.returnDatee.value===t.value),this.showTripPicker=!1},onCabinTypeConfirm(e){const t=e.value[0];this.cabinType=t.value,this.cabinTypeIndex=this.cabinTypeColumns[0].findIndex(e=>e.value===t.value),this.showCabinPicker=!1},checkData(){const e=[{field:"userName",selector:"#fieldUserName",check:()=>!this.userName.trim(),message:"请输入真实姓名"},{field:"contact",selector:"#fieldContact",check:()=>!this.userWechat.trim()&&!this.userPhone.trim()&&!this.userWhats.trim(),message:"请至少填写一种联系方式(微信号/手机号/WhatsApp)"},{field:"departureDate",selector:"#fieldDepartureDate",check:()=>!this.departureDate,message:"请选择出发日期"},{field:"returnDate",selector:"#fieldReturnDate",check:()=>"round"===this.tripType&&!this.returnDate,message:"请选择返程日期"},{field:"departureCity",selector:"#fieldDepartureCity",check:()=>!this.departureCity.trim(),message:"请输入出发城市"},{field:"arrivalCity",selector:"#fieldArrivalCity",check:()=>!this.arrivalCity.trim(),message:"请输入到达城市"},{field:"personCount",selector:"#fieldPersonCount",check:()=>0===this.adultCount&&0===this.childCount&&0===this.infantCount,message:"请至少选择一位乘客"},{field:"luggageCount",selector:"#fieldLuggageCount",check:()=>!this.luggageCount||""===this.luggageCount,message:"请输入行李件数"}];for(const a of e)if(a.check())return t({title:a.message,icon:"none"}),this.scrollToElement(a.selector),this.flashingField=a.field,void setTimeout(()=>{this.flashingField=""},1500);this.submitAppointment()},async submitAppointment(){var e;if(!this.submitting){this.submitting=!0,a({title:"提交中...",mask:!0});try{const a={hotServiceId:parseInt(this.serviceId)||null,serviceType:"travel",realName:this.userName.trim(),wechatId:this.userWechat.trim()||null,phone:this.userPhone.trim()||null,phoneCountryCode:this.userPhone.trim()?this.selectedDialCode:null,whatsapp:this.userWhats.trim()||null,notes:this.remark.trim()||null,tripType:this.tripType,departureDate:this.departureDate,returnDate:"round"===this.tripType?this.returnDate:null,departureCity:this.departureCity.trim(),arrivalCity:this.arrivalCity.trim(),adultCount:this.adultCount,childCount:this.childCount,infantCount:this.infantCount,cabinType:this.cabinType,luggageCount:parseInt(this.luggageCount)||0},s=await v.CreateAppointment(a);l(),s.success||0===s.code?(t({title:"预约提交成功",icon:"success"}),setTimeout(()=>{r({delta:1})},1500)):t({title:(null==(e=s.error)?void 0:e.message)||"提交失败,请重试",icon:"none"})}catch(s){l(),console.error("提交预约失败:",s),t({title:"网络错误,请重试",icon:"none"})}finally{this.submitting=!1}}},scrollToElement(e){const t=s().windowHeight,a=i().in(this);a.select(e).boundingClientRect(),a.selectViewport().scrollOffset(),a.exec(e=>{if(e[0]&&e[1]){const a=e[0],l=e[1].scrollTop+a.top-t/2+a.height/2;n({scrollTop:Math.max(0,l),duration:300})}})},back(){r({delta:1})},increaseCount(e){"adult"===e?this.adultCount++:"child"===e?this.childCount++:"infant"===e&&this.infantCount++},decreaseCount(e){"adult"===e&&this.adultCount>0?this.adultCount--:"child"===e&&this.childCount>0?this.childCount--:"infant"===e&&this.infantCount>0&&this.infantCount--}}},[["render",function(e,t,a,l,r,s){const i=b,n=h,T=k,v=o(d("up-input"),f),V=o(d("aure-country-picker"),D),P=o(d("up-picker"),m),$=o(d("up-calendar"),y);return u(),c(n,{class:"page"},{default:p(()=>[g(n,{class:"header"},{default:p(()=>[g(n,{class:"center",style:{width:"50rpx",height:"50rpx","margin-left":"32rpx"}},{default:p(()=>[g(i,{src:E,onClick:s.back,style:{width:"48rpx",height:"48rpx"},mode:""},null,8,["onClick"])]),_:1}),g(T,{style:{"font-size":"30rpx"}},{default:p(()=>[C(x(e.$t("infoEntry.title")),1)]),_:1}),g(n,{style:{width:"50rpx","margin-right":"32rpx"}})]),_:1}),g(n,{class:"scroll-content"},{default:p(()=>[g(n,{class:"content"},{default:p(()=>[g(n,{class:"",style:{width:"680rpx",height:"396rpx","background-image":"linear-gradient(-45deg, #60D7FF, #68BBD7)","margin-top":"32rpx","border-radius":"20rpx","box-shadow":"0 0 10rpx 10rpx rgba(0, 0, 0, 0.1)"}}),g(n,{class:"",style:{width:"100%","font-size":"40rpx","padding-left":"54rpx","margin-top":"38rpx"}},{default:p(()=>[C(x(e.$t("infoEntry.personalInfo")),1)]),_:1}),g(n,{class:_(["column",{"flash-animation":"userName"===r.flashingField}]),style:{width:"680rpx","margin-top":"38rpx"},id:"fieldUserName"},{default:p(()=>[g(T,{style:{"font-size":"30rpx"}},{default:p(()=>[g(T,{style:{color:"#FF0000"}},{default:p(()=>[C("*")]),_:1}),C(x(e.$t("infoEntry.realName")),1)]),_:1}),g(v,{placeholder:e.$t("infoEntry.realNamePlaceholder"),border:"surround",modelValue:r.userName,"onUpdate:modelValue":t[0]||(t[0]=e=>r.userName=e)},null,8,["placeholder","modelValue"])]),_:1},8,["class"]),g(n,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),g(n,{class:_(["column",{"flash-animation":"contact"===r.flashingField}]),style:{width:"680rpx","margin-top":"14rpx"},id:"fieldContact"},{default:p(()=>[g(T,{style:{"font-size":"30rpx"}},{default:p(()=>[g(T,{style:{color:"#FF0000"}},{default:p(()=>[C("*")]),_:1}),C(x(e.$t("infoEntry.wechat"))+" ("+x(e.$t("infoEntry.contactMethod"))+")",1)]),_:1}),g(v,{placeholder:e.$t("infoEntry.wechatPlaceholder"),border:"surround",modelValue:r.userWechat,"onUpdate:modelValue":t[1]||(t[1]=e=>r.userWechat=e)},null,8,["placeholder","modelValue"])]),_:1},8,["class"]),g(n,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),g(n,{class:_(["column",{"flash-animation":"contact"===r.flashingField}]),style:{width:"680rpx","margin-top":"14rpx"}},{default:p(()=>[g(T,{style:{"font-size":"30rpx"}},{default:p(()=>[g(T,{style:{color:"#FF0000"}},{default:p(()=>[C("*")]),_:1}),C(x(e.$t("infoEntry.phone"))+" ("+x(e.$t("infoEntry.contactMethod"))+")",1)]),_:1}),g(n,{class:"row",style:{"margin-top":"10rpx","margin-bottom":"10rpx"}},{default:p(()=>[g(V,{modelValue:r.selectedDialCode,"onUpdate:modelValue":t[2]||(t[2]=e=>r.selectedDialCode=e),title:e.$t("infoEntry.selectCountry"),height:"70%",width:"60vw",duration:350,position:"bottom",round:!0,radius:"24rpx","mask-closable":!0},null,8,["modelValue","title"]),g(v,{placeholder:e.$t("infoEntry.phonePlaceholder"),border:"surround",modelValue:r.userPhone,"onUpdate:modelValue":t[3]||(t[3]=e=>r.userPhone=e)},null,8,["placeholder","modelValue"])]),_:1})]),_:1},8,["class"]),g(n,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),g(n,{class:_(["column",{"flash-animation":"contact"===r.flashingField}]),style:{width:"680rpx","margin-top":"14rpx"}},{default:p(()=>[g(T,{style:{"font-size":"30rpx"}},{default:p(()=>[g(T,{style:{color:"#FF0000"}},{default:p(()=>[C("*")]),_:1}),C(x(e.$t("infoEntry.whatsapp"))+" ("+x(e.$t("infoEntry.contactMethod"))+")",1)]),_:1}),g(v,{placeholder:e.$t("infoEntry.whatsappPlaceholder"),border:"surround",modelValue:r.userWhats,"onUpdate:modelValue":t[4]||(t[4]=e=>r.userWhats=e)},null,8,["placeholder","modelValue"])]),_:1},8,["class"]),g(n,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),g(n,{class:"column",style:{width:"680rpx","margin-top":"14rpx"}},{default:p(()=>[g(T,{style:{"font-size":"30rpx"}},{default:p(()=>[C(x(e.$t("infoEntry.remark")),1)]),_:1}),g(v,{placeholder:e.$t("infoEntry.remarkPlaceholder"),border:"surround",modelValue:r.remark,"onUpdate:modelValue":t[5]||(t[5]=e=>r.remark=e)},null,8,["placeholder","modelValue"])]),_:1}),g(n,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),g(n,{class:"",style:{width:"100%","font-size":"40rpx","padding-left":"54rpx","margin-top":"38rpx"}},{default:p(()=>[C(x(e.$t("infoEntry.serviceInfo")),1)]),_:1}),g(n,{class:"column",style:{width:"680rpx","margin-top":"14rpx"}},{default:p(()=>[g(T,{style:{"font-size":"30rpx"}},{default:p(()=>[g(T,{style:{color:"#FF0000"}},{default:p(()=>[C("*")]),_:1}),C("单程 / 往返")]),_:1}),g(n,{class:"date-item",onClick:t[6]||(t[6]=e=>r.showTripPicker=!0)},{default:p(()=>[g(T,{class:"date-text"},{default:p(()=>[C(x(s.tripTypeText),1)]),_:1}),g(i,{src:A,style:{width:"32rpx",height:"32rpx"},mode:"aspectFit"})]),_:1})]),_:1}),g(n,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),g(n,{class:_(["column",{"flash-animation":"departureDate"===r.flashingField}]),style:{width:"680rpx","margin-top":"14rpx"},id:"fieldDepartureDate"},{default:p(()=>[g(T,{style:{"font-size":"30rpx"}},{default:p(()=>[g(T,{style:{color:"#FF0000"}},{default:p(()=>[C("*")]),_:1}),C(x(e.$t("infoEntry.departureDate")),1)]),_:1}),g(n,{class:"date-item",onClick:s.openDepartureCalendar},{default:p(()=>[g(T,{class:_(["date-text",{"date-placeholder":!r.departureDate}])},{default:p(()=>[C(x(r.departureDate||e.$t("infoEntry.departureDatePlaceholder")),1)]),_:1},8,["class"]),g(i,{src:F,style:{width:"32rpx",height:"32rpx"},mode:"aspectFit"})]),_:1},8,["onClick"])]),_:1},8,["class"]),g(n,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),"round"===r.tripType?(u(),c(n,{key:0,class:_(["column",{"flash-animation":"returnDate"===r.flashingField}]),style:{width:"680rpx","margin-top":"14rpx"},id:"fieldReturnDate"},{default:p(()=>[g(T,{style:{"font-size":"30rpx"}},{default:p(()=>[g(T,{style:{color:"#FF0000"}},{default:p(()=>[C("*")]),_:1}),C("返程日期")]),_:1}),g(n,{class:"date-item",onClick:s.openReturnCalendar},{default:p(()=>[g(T,{class:_(["date-text",{"date-placeholder":!r.returnDate}])},{default:p(()=>[C(x(r.returnDate||"请选择返程日期"),1)]),_:1},8,["class"]),g(i,{src:F,style:{width:"32rpx",height:"32rpx"},mode:"aspectFit"})]),_:1},8,["onClick"])]),_:1},8,["class"])):w("",!0),"round"===r.tripType?(u(),c(n,{key:1,class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}})):w("",!0),g(n,{class:_(["column",{"flash-animation":"departureCity"===r.flashingField}]),style:{width:"680rpx","margin-top":"14rpx"},id:"fieldDepartureCity"},{default:p(()=>[g(T,{style:{"font-size":"30rpx"}},{default:p(()=>[g(T,{style:{color:"#FF0000"}},{default:p(()=>[C("*")]),_:1}),C("出发城市")]),_:1}),g(v,{placeholder:"请输入出发城市",border:"surround",modelValue:r.departureCity,"onUpdate:modelValue":t[7]||(t[7]=e=>r.departureCity=e)},null,8,["modelValue"])]),_:1},8,["class"]),g(n,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),g(n,{class:_(["column",{"flash-animation":"arrivalCity"===r.flashingField}]),style:{width:"680rpx","margin-top":"14rpx"},id:"fieldArrivalCity"},{default:p(()=>[g(T,{style:{"font-size":"30rpx"}},{default:p(()=>[g(T,{style:{color:"#FF0000"}},{default:p(()=>[C("*")]),_:1}),C("到达城市")]),_:1}),g(v,{placeholder:"请输入到达城市",border:"surround",modelValue:r.arrivalCity,"onUpdate:modelValue":t[8]||(t[8]=e=>r.arrivalCity=e)},null,8,["modelValue"])]),_:1},8,["class"]),g(n,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),g(n,{class:_(["column",{"flash-animation":"personCount"===r.flashingField}]),style:{width:"680rpx","margin-top":"14rpx"},id:"fieldPersonCount"},{default:p(()=>[g(T,{style:{"font-size":"30rpx"}},{default:p(()=>[g(T,{style:{color:"#FF0000"}},{default:p(()=>[C("*")]),_:1}),C("人数")]),_:1}),g(n,{class:"person-row"},{default:p(()=>[g(n,{class:"person-info"},{default:p(()=>[g(T,{class:"person-title"},{default:p(()=>[C("成人")]),_:1}),g(T,{class:"person-desc"},{default:p(()=>[C("13岁或以上")]),_:1})]),_:1}),g(n,{class:"person-counter"},{default:p(()=>[g(n,{class:"counter-btn",onClick:t[9]||(t[9]=e=>s.decreaseCount("adult"))},{default:p(()=>[g(T,{class:"counter-icon"},{default:p(()=>[C("-")]),_:1})]),_:1}),g(T,{class:"counter-value"},{default:p(()=>[C(x(r.adultCount)+"人",1)]),_:1}),g(n,{class:"counter-btn",onClick:t[10]||(t[10]=e=>s.increaseCount("adult"))},{default:p(()=>[g(T,{class:"counter-icon"},{default:p(()=>[C("+")]),_:1})]),_:1})]),_:1})]),_:1}),g(n,{class:"person-row"},{default:p(()=>[g(n,{class:"person-info"},{default:p(()=>[g(T,{class:"person-title"},{default:p(()=>[C("儿童")]),_:1}),g(T,{class:"person-desc"},{default:p(()=>[C("2~12岁")]),_:1})]),_:1}),g(n,{class:"person-counter"},{default:p(()=>[g(n,{class:"counter-btn",onClick:t[11]||(t[11]=e=>s.decreaseCount("child"))},{default:p(()=>[g(T,{class:"counter-icon"},{default:p(()=>[C("-")]),_:1})]),_:1}),g(T,{class:"counter-value"},{default:p(()=>[C(x(r.childCount)+"人",1)]),_:1}),g(n,{class:"counter-btn",onClick:t[12]||(t[12]=e=>s.increaseCount("child"))},{default:p(()=>[g(T,{class:"counter-icon"},{default:p(()=>[C("+")]),_:1})]),_:1})]),_:1})]),_:1}),g(n,{class:"person-row"},{default:p(()=>[g(n,{class:"person-info"},{default:p(()=>[g(T,{class:"person-title"},{default:p(()=>[C("婴儿")]),_:1}),g(T,{class:"person-desc"},{default:p(()=>[C("2岁以下")]),_:1})]),_:1}),g(n,{class:"person-counter"},{default:p(()=>[g(n,{class:"counter-btn",onClick:t[13]||(t[13]=e=>s.decreaseCount("infant"))},{default:p(()=>[g(T,{class:"counter-icon"},{default:p(()=>[C("-")]),_:1})]),_:1}),g(T,{class:"counter-value"},{default:p(()=>[C(x(r.infantCount)+"人",1)]),_:1}),g(n,{class:"counter-btn",onClick:t[14]||(t[14]=e=>s.increaseCount("infant"))},{default:p(()=>[g(T,{class:"counter-icon"},{default:p(()=>[C("+")]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["class"]),g(n,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),g(n,{class:"column",style:{width:"680rpx","margin-top":"14rpx"}},{default:p(()=>[g(T,{style:{"font-size":"30rpx"}},{default:p(()=>[g(T,{style:{color:"#FF0000"}},{default:p(()=>[C("*")]),_:1}),C("舱位选择")]),_:1}),g(n,{class:"date-item",onClick:t[15]||(t[15]=e=>r.showCabinPicker=!0)},{default:p(()=>[g(T,{class:"date-text"},{default:p(()=>[C(x(s.cabinTypeText),1)]),_:1}),g(i,{src:A,style:{width:"32rpx",height:"32rpx"},mode:"aspectFit"})]),_:1})]),_:1}),g(n,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),g(n,{class:_(["column",{"flash-animation":"luggageCount"===r.flashingField}]),style:{width:"680rpx","margin-top":"14rpx"},id:"fieldLuggageCount"},{default:p(()=>[g(T,{style:{"font-size":"30rpx"}},{default:p(()=>[g(T,{style:{color:"#FF0000"}},{default:p(()=>[C("*")]),_:1}),C("行李件数")]),_:1}),g(v,{placeholder:"请输入行李件数",border:"surround",modelValue:r.luggageCount,"onUpdate:modelValue":t[16]||(t[16]=e=>r.luggageCount=e),type:"number"},null,8,["modelValue"])]),_:1},8,["class"]),g(n,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),g(n,{class:"center",onClick:t[17]||(t[17]=e=>s.checkData()),style:{width:"642rpx",height:"72rpx","background-color":"#57C9DD","border-radius":"16rpx","box-shadow":"0 0 10rpx 10rpx rgba(0, 0, 0, 0.1)","margin-top":"50rpx","margin-bottom":"100rpx"}},{default:p(()=>[C(x(e.$t("common.submit")),1)]),_:1})]),_:1})]),_:1}),g(P,{show:r.showTripPicker,columns:r.tripTypeColumns,onConfirm:s.onTripTypeConfirm,onCancel:t[18]||(t[18]=e=>r.showTripPicker=!1),onClose:t[19]||(t[19]=e=>r.showTripPicker=!1),defaultIndex:[r.tripTypeIndex],keyName:"label"},null,8,["show","columns","onConfirm","defaultIndex"]),g(P,{show:r.showCabinPicker,columns:r.cabinTypeColumns,onConfirm:s.onCabinTypeConfirm,onCancel:t[20]||(t[20]=e=>r.showCabinPicker=!1),onClose:t[21]||(t[21]=e=>r.showCabinPicker=!1),defaultIndex:[r.cabinTypeIndex],keyName:"label"},null,8,["show","columns","onConfirm","defaultIndex"]),g($,{show:r.showCalendar,mode:"single",minDate:r.minDate,maxDate:r.maxDate,onConfirm:s.onCalendarConfirm,onClose:s.closeCalendar,confirmText:e.$t("common.confirm"),color:"#57C9DD"},null,8,["show","minDate","maxDate","onConfirm","onClose","confirmText"])]),_:1})}],["__scopeId","data-v-f8d84083"]]);export{V as default}; diff --git a/miniprogram/dist/build/h5/assets/pages-appointment-airport-transfer-page.db65a1bb.js b/miniprogram/dist/build/h5/assets/pages-appointment-airport-transfer-page.db65a1bb.js deleted file mode 100644 index a1760fc..0000000 --- a/miniprogram/dist/build/h5/assets/pages-appointment-airport-transfer-page.db65a1bb.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as e,m as t,L as a,M as l,l as s,k as r,N as o,O as i,G as n,H as d,o as c,c as u,w as h,i as p,P as m,R as f,e as g,f as x,t as y,A as C,g as _,h as w}from"./index-a09151d6.js";import{_ as A}from"./aure-country-picker.01cea584.js";import{A as E}from"./AppServer.888fd24d.js";import{_ as b}from"./ic_back.5440bd15.js";import{_ as k}from"./arrow_right2.8bd5bd0f.js";const D=new E;const v=e({data:()=>({serviceId:"",serviceTitle:"",userName:"",userWechat:"",userPhone:"",userWhats:"",remark:"",reservationDate:"",airportName:"",deliveryAddress:"",passengerCount:0,luggageCount:"",submitting:!1,flashingField:"",selectedDialCode:"86",showCalendar:!1,minDate:"",maxDate:""}),onLoad(e){this.initDateRange(),e.id&&(this.serviceId=e.id),e.title&&(this.serviceTitle=decodeURIComponent(e.title))},methods:{initDateRange(){const e=new Date,t=e.getFullYear(),a=String(e.getMonth()+1).padStart(2,"0"),l=String(e.getDate()).padStart(2,"0");this.minDate=`${t}-${a}-${l}`,this.maxDate=`${t+2}-12-31`},openCalendar(){this.initDateRange(),this.$nextTick(()=>{this.showCalendar=!0})},closeCalendar(){this.showCalendar=!1},onCalendarConfirm(e){e&&e.length>0&&(this.reservationDate=e[0]),this.showCalendar=!1},checkData(){const e=[{field:"userName",selector:"#fieldUserName",check:()=>!this.userName.trim(),message:"请输入真实姓名"},{field:"contact",selector:"#fieldContact",check:()=>!this.userWechat.trim()&&!this.userPhone.trim()&&!this.userWhats.trim(),message:"请至少填写一种联系方式(微信号/手机号/WhatsApp)"},{field:"reservationDate",selector:"#fieldReservationDate",check:()=>!this.reservationDate,message:"请选择预约日期"},{field:"airportName",selector:"#fieldAirportName",check:()=>!this.airportName.trim(),message:"请输入机场名称"},{field:"deliveryAddress",selector:"#fieldDeliveryAddress",check:()=>!this.deliveryAddress.trim(),message:"请输入送达地址"},{field:"passengerCount",selector:"#fieldPassengerCount",check:()=>0===this.passengerCount,message:"请至少选择一位乘客"},{field:"luggageCount",selector:"#fieldLuggageCount",check:()=>!this.luggageCount||""===this.luggageCount,message:"请输入行李件数"}];for(const a of e)if(a.check())return t({title:a.message,icon:"none"}),this.scrollToElement(a.selector),this.flashingField=a.field,void setTimeout(()=>{this.flashingField=""},1500);this.submitAppointment()},async submitAppointment(){var e;if(!this.submitting){this.submitting=!0,a({title:"提交中...",mask:!0});try{const a={hotServiceId:parseInt(this.serviceId)||null,serviceType:"airport_transfer",realName:this.userName.trim(),wechatId:this.userWechat.trim()||null,phone:this.userPhone.trim()||null,phoneCountryCode:this.userPhone.trim()?this.selectedDialCode:null,whatsapp:this.userWhats.trim()||null,notes:this.remark.trim()||null,appointmentDate:this.reservationDate,airportTerminal:this.airportName.trim(),deliveryAddress:this.deliveryAddress.trim(),passengerCount:this.passengerCount,luggageCount:parseInt(this.luggageCount)||0},r=await D.CreateAppointment(a);l(),r.success||0===r.code?(t({title:"预约提交成功",icon:"success"}),setTimeout(()=>{s({delta:1})},1500)):t({title:(null==(e=r.error)?void 0:e.message)||"提交失败,请重试",icon:"none"})}catch(r){l(),console.error("提交预约失败:",r),t({title:"网络错误,请重试",icon:"none"})}finally{this.submitting=!1}}},scrollToElement(e){const t=r().windowHeight,a=o().in(this);a.select(e).boundingClientRect(),a.selectViewport().scrollOffset(),a.exec(e=>{if(e[0]&&e[1]){const a=e[0],l=e[1].scrollTop+a.top-t/2+a.height/2;i({scrollTop:Math.max(0,l),duration:300})}})},back(){s({delta:1})},increaseCount(e){"passenger"===e&&this.passengerCount++},decreaseCount(e){"passenger"===e&&this.passengerCount>0&&this.passengerCount--}}},[["render",function(e,t,a,l,s,r){const o=_,i=p,E=w,D=n(d("up-input"),m),v=n(d("aure-country-picker"),A),F=n(d("up-calendar"),f);return c(),u(i,{class:"page"},{default:h(()=>[g(i,{class:"header"},{default:h(()=>[g(i,{class:"center",style:{width:"50rpx",height:"50rpx","margin-left":"32rpx"}},{default:h(()=>[g(o,{src:b,onClick:r.back,style:{width:"48rpx",height:"48rpx"},mode:""},null,8,["onClick"])]),_:1}),g(E,{style:{"font-size":"30rpx"}},{default:h(()=>[x(y(e.$t("infoEntry.title")),1)]),_:1}),g(i,{style:{width:"50rpx","margin-right":"32rpx"}})]),_:1}),g(i,{class:"scroll-content"},{default:h(()=>[g(i,{class:"content"},{default:h(()=>[g(i,{class:"",style:{width:"680rpx",height:"396rpx","background-image":"linear-gradient(-45deg, #60D7FF, #68BBD7)","margin-top":"32rpx","border-radius":"20rpx","box-shadow":"0 0 10rpx 10rpx rgba(0, 0, 0, 0.1)"}}),g(i,{class:"",style:{width:"100%","font-size":"40rpx","padding-left":"54rpx","margin-top":"38rpx"}},{default:h(()=>[x(y(e.$t("infoEntry.personalInfo")),1)]),_:1}),g(i,{class:C(["column",{"flash-animation":"userName"===s.flashingField}]),style:{width:"680rpx","margin-top":"38rpx"},id:"fieldUserName"},{default:h(()=>[g(E,{style:{"font-size":"30rpx"}},{default:h(()=>[g(E,{style:{color:"#FF0000"}},{default:h(()=>[x("*")]),_:1}),x(y(e.$t("infoEntry.realName")),1)]),_:1}),g(D,{placeholder:e.$t("infoEntry.realNamePlaceholder"),border:"surround",modelValue:s.userName,"onUpdate:modelValue":t[0]||(t[0]=e=>s.userName=e)},null,8,["placeholder","modelValue"])]),_:1},8,["class"]),g(i,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),g(i,{class:C(["column",{"flash-animation":"contact"===s.flashingField}]),style:{width:"680rpx","margin-top":"14rpx"},id:"fieldContact"},{default:h(()=>[g(E,{style:{"font-size":"30rpx"}},{default:h(()=>[g(E,{style:{color:"#FF0000"}},{default:h(()=>[x("*")]),_:1}),x(y(e.$t("infoEntry.wechat"))+" ("+y(e.$t("infoEntry.contactMethod"))+")",1)]),_:1}),g(D,{placeholder:e.$t("infoEntry.wechatPlaceholder"),border:"surround",modelValue:s.userWechat,"onUpdate:modelValue":t[1]||(t[1]=e=>s.userWechat=e)},null,8,["placeholder","modelValue"])]),_:1},8,["class"]),g(i,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),g(i,{class:C(["column",{"flash-animation":"contact"===s.flashingField}]),style:{width:"680rpx","margin-top":"14rpx"}},{default:h(()=>[g(E,{style:{"font-size":"30rpx"}},{default:h(()=>[g(E,{style:{color:"#FF0000"}},{default:h(()=>[x("*")]),_:1}),x(y(e.$t("infoEntry.phone"))+" ("+y(e.$t("infoEntry.contactMethod"))+")",1)]),_:1}),g(i,{class:"row",style:{"margin-top":"10rpx","margin-bottom":"10rpx"}},{default:h(()=>[g(v,{modelValue:s.selectedDialCode,"onUpdate:modelValue":t[2]||(t[2]=e=>s.selectedDialCode=e),title:e.$t("infoEntry.selectCountry"),height:"70%",width:"60vw",duration:350,position:"bottom",round:!0,radius:"24rpx","mask-closable":!0},null,8,["modelValue","title"]),g(D,{placeholder:e.$t("infoEntry.phonePlaceholder"),border:"surround",modelValue:s.userPhone,"onUpdate:modelValue":t[3]||(t[3]=e=>s.userPhone=e)},null,8,["placeholder","modelValue"])]),_:1})]),_:1},8,["class"]),g(i,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),g(i,{class:C(["column",{"flash-animation":"contact"===s.flashingField}]),style:{width:"680rpx","margin-top":"14rpx"}},{default:h(()=>[g(E,{style:{"font-size":"30rpx"}},{default:h(()=>[g(E,{style:{color:"#FF0000"}},{default:h(()=>[x("*")]),_:1}),x(y(e.$t("infoEntry.whatsapp"))+" ("+y(e.$t("infoEntry.contactMethod"))+")",1)]),_:1}),g(D,{placeholder:e.$t("infoEntry.whatsappPlaceholder"),border:"surround",modelValue:s.userWhats,"onUpdate:modelValue":t[4]||(t[4]=e=>s.userWhats=e)},null,8,["placeholder","modelValue"])]),_:1},8,["class"]),g(i,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),g(i,{class:"column",style:{width:"680rpx","margin-top":"14rpx"}},{default:h(()=>[g(E,{style:{"font-size":"30rpx"}},{default:h(()=>[x(y(e.$t("infoEntry.remark")),1)]),_:1}),g(D,{placeholder:e.$t("infoEntry.remarkPlaceholder"),border:"surround",modelValue:s.remark,"onUpdate:modelValue":t[5]||(t[5]=e=>s.remark=e)},null,8,["placeholder","modelValue"])]),_:1}),g(i,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),g(i,{class:"",style:{width:"100%","font-size":"40rpx","padding-left":"54rpx","margin-top":"38rpx"}},{default:h(()=>[x(y(e.$t("infoEntry.serviceInfo")),1)]),_:1}),g(i,{class:C(["column",{"flash-animation":"reservationDate"===s.flashingField}]),style:{width:"680rpx","margin-top":"14rpx"},id:"fieldReservationDate"},{default:h(()=>[g(E,{style:{"font-size":"30rpx"}},{default:h(()=>[g(E,{style:{color:"#FF0000"}},{default:h(()=>[x("*")]),_:1}),x("预约日期")]),_:1}),g(i,{class:"date-item",onClick:r.openCalendar},{default:h(()=>[g(E,{class:C(["date-text",{"date-placeholder":!s.reservationDate}])},{default:h(()=>[x(y(s.reservationDate||"请选择预约日期"),1)]),_:1},8,["class"]),g(o,{src:k,style:{width:"32rpx",height:"32rpx"},mode:"aspectFit"})]),_:1},8,["onClick"])]),_:1},8,["class"]),g(i,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),g(i,{class:C(["column",{"flash-animation":"airportName"===s.flashingField}]),style:{width:"680rpx","margin-top":"14rpx"},id:"fieldAirportName"},{default:h(()=>[g(E,{style:{"font-size":"30rpx"}},{default:h(()=>[g(E,{style:{color:"#FF0000"}},{default:h(()=>[x("*")]),_:1}),x("机场名称")]),_:1}),g(D,{placeholder:"请输入机场名称",border:"surround",modelValue:s.airportName,"onUpdate:modelValue":t[6]||(t[6]=e=>s.airportName=e)},null,8,["modelValue"])]),_:1},8,["class"]),g(i,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),g(i,{class:C(["column",{"flash-animation":"deliveryAddress"===s.flashingField}]),style:{width:"680rpx","margin-top":"14rpx"},id:"fieldDeliveryAddress"},{default:h(()=>[g(E,{style:{"font-size":"30rpx"}},{default:h(()=>[g(E,{style:{color:"#FF0000"}},{default:h(()=>[x("*")]),_:1}),x("送达地址")]),_:1}),g(D,{placeholder:"请输入送达地址",border:"surround",modelValue:s.deliveryAddress,"onUpdate:modelValue":t[7]||(t[7]=e=>s.deliveryAddress=e)},null,8,["modelValue"])]),_:1},8,["class"]),g(i,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),g(i,{class:C(["column",{"flash-animation":"passengerCount"===s.flashingField}]),style:{width:"680rpx","margin-top":"14rpx"},id:"fieldPassengerCount"},{default:h(()=>[g(E,{style:{"font-size":"30rpx"}},{default:h(()=>[g(E,{style:{color:"#FF0000"}},{default:h(()=>[x("*")]),_:1}),x("乘客人数")]),_:1}),g(i,{class:"counter-row"},{default:h(()=>[g(i,{class:"counter-btn",onClick:t[8]||(t[8]=e=>r.decreaseCount("passenger"))},{default:h(()=>[g(E,{class:"counter-icon"},{default:h(()=>[x("-")]),_:1})]),_:1}),g(E,{class:"counter-value"},{default:h(()=>[x(y(s.passengerCount)+"人",1)]),_:1}),g(i,{class:"counter-btn",onClick:t[9]||(t[9]=e=>r.increaseCount("passenger"))},{default:h(()=>[g(E,{class:"counter-icon"},{default:h(()=>[x("+")]),_:1})]),_:1})]),_:1})]),_:1},8,["class"]),g(i,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),g(i,{class:C(["column",{"flash-animation":"luggageCount"===s.flashingField}]),style:{width:"680rpx","margin-top":"14rpx"},id:"fieldLuggageCount"},{default:h(()=>[g(E,{style:{"font-size":"30rpx"}},{default:h(()=>[g(E,{style:{color:"#FF0000"}},{default:h(()=>[x("*")]),_:1}),x("行李件数")]),_:1}),g(D,{placeholder:"请输入行李件数",border:"surround",modelValue:s.luggageCount,"onUpdate:modelValue":t[10]||(t[10]=e=>s.luggageCount=e),type:"number"},null,8,["modelValue"])]),_:1},8,["class"]),g(i,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),g(i,{class:"center",onClick:t[11]||(t[11]=e=>r.checkData()),style:{width:"642rpx",height:"72rpx","background-color":"#57C9DD","border-radius":"16rpx","box-shadow":"0 0 10rpx 10rpx rgba(0, 0, 0, 0.1)","margin-top":"50rpx","margin-bottom":"100rpx"}},{default:h(()=>[x(y(e.$t("common.submit")),1)]),_:1})]),_:1})]),_:1}),g(F,{show:s.showCalendar,mode:"single",minDate:s.minDate,maxDate:s.maxDate,onConfirm:r.onCalendarConfirm,onClose:r.closeCalendar,confirmText:e.$t("common.confirm"),color:"#57C9DD"},null,8,["show","minDate","maxDate","onConfirm","onClose","confirmText"])]),_:1})}],["__scopeId","data-v-95af1012"]]);export{v as default}; diff --git a/miniprogram/dist/build/h5/assets/pages-appointment-appointment-page.964e02da.js b/miniprogram/dist/build/h5/assets/pages-appointment-appointment-page.964e02da.js deleted file mode 100644 index f0ad8e4..0000000 --- a/miniprogram/dist/build/h5/assets/pages-appointment-appointment-page.964e02da.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as e,z as a,m as t,C as s,n as i,a as r,s as n,o,c,w as l,i as g,e as d,f as u,t as p,b as m,d as h,F as y,h as v,A as f,B as _,g as k}from"./index-a09151d6.js";import{u as x}from"./tabbar-i18n.82cae040.js";import{A as C}from"./AppServer.888fd24d.js";import{i as S}from"./auth.b970b80f.js";const I=e({data:()=>({currentIndex:0,currentCategoryKey:null,categories:[],services:[],loading:!1,currentLanguage:"zh"}),onLoad(){this.currentLanguage=a("language")||"zh",this.loadCategories()},onShow(){x(this),this.checkUnreadNotifications()},methods:{async loadCategories(){try{const e=new C,a=await e.GetCategories({language:this.currentLanguage});console.log("分类列表响应:",a),0===a.code&&a.data?(this.categories=a.data.categories||a.data||[],this.categories.length>0&&(this.currentIndex=0,this.currentCategoryKey=this.categories[0].key,this.loadServices(this.currentCategoryKey))):(console.error("获取分类失败:",a.message),t({title:a.message||"获取分类失败",icon:"none"}))}catch(e){console.error("加载分类异常:",e),t({title:"加载分类失败",icon:"none"})}},async loadServices(e){this.loading=!0;try{const a=new C,t={language:this.currentLanguage};e&&(t.categoryKey=e);const s=await a.GetServices(t);console.log("服务列表响应:",s),0===s.code&&s.data?this.services=s.data.services||s.data||[]:(console.error("获取服务失败:",s.message),this.services=[])}catch(a){console.error("加载服务异常:",a),this.services=[]}finally{this.loading=!1}},clickType(e,a){this.currentIndex=e,this.currentCategoryKey=a,this.loadServices(a)},getCategoryName:e=>e&&e.name||"",getServiceName:e=>e&&e.title||"",getImageUrl(e){if(!e)return"";if(e.startsWith("http"))return e;return`${s.API_BASE_URL||"http://localhost:3000"}${e}`},goToServiceDetail(e){const a={flight:"airfare-info-entry-page",hotel:"hotel-reservation-page",lounge:"vip-lounge-page",airport_transfer:"airport-transfer-page",unaccompanied_minor:"unaccompanied-minor-page",rail_ticket:"rail-ticket-page",medical_consultation:"medical-consultation-page",special_passenger:"special-needs-page",pet_transportation:"pet-transportation-page",guide_translation:"guide-translation-page",visa_consultation:"visa-consultation-page",exhibition_service:"exhibition-service-page",air_logistics:"air-logistics-page",sea_freight:"sea-freight-page",travel_planning:"travel-planning-page",insurance_consultation:"insurance-consultation-page"}[e.serviceType];if(a){const t=this.getServiceName(e);i({url:`/pages/appointment/${a}?id=${e.id}&title=${encodeURIComponent(t)}`})}else t({title:this.$t("common.serviceNotAvailable")||"该服务暂未开放预约",icon:"none"})},handleImageError(e){console.error("图片加载失败:",e.image),e.image=null},async checkUnreadNotifications(){if(S())try{const e=new C,a=await e.GetNotificationUnreadCount();if(0===a.code&&a.data){const e=a.data.all||0;e>0?n({index:2,text:e>99?"99+":String(e)}):r({index:2})}}catch(e){console.error("检查未读通知失败:",e)}else r({index:2})}}},[["render",function(e,a,t,s,i,r){const n=g,x=v,C=k;return o(),c(n,{class:"content"},{default:l(()=>[d(n,{class:"header-title"},{default:l(()=>[u(p(e.$t("appointment.allServices")),1)]),_:1}),d(n,{class:"divider"}),d(n,{class:"main-container"},{default:l(()=>[d(n,{class:"category-sidebar"},{default:l(()=>[(o(!0),m(y,null,h(i.categories,(e,a)=>(o(),c(n,{class:f(["category-item",{"category-item-active":i.currentIndex===a}]),key:e.key,onClick:t=>r.clickType(a,e.key)},{default:l(()=>[i.currentIndex===a?(o(),c(n,{key:0,class:"category-indicator"})):_("",!0),d(x,{class:"category-text"},{default:l(()=>[u(p(r.getCategoryName(e)),1)]),_:2},1024)]),_:2},1032,["onClick","class"]))),128))]),_:1}),d(n,{class:"divider-vertical"}),d(n,{class:"service-list"},{default:l(()=>[i.loading?(o(),c(n,{key:0,class:"loading-container"},{default:l(()=>[d(x,{class:"loading-text"},{default:l(()=>[u(p(e.$t("common.loading")||"加载中..."),1)]),_:1})]),_:1})):i.services.length>0?(o(),c(n,{key:1,class:"service-items"},{default:l(()=>[(o(!0),m(y,null,h(i.services,e=>(o(),c(n,{class:"service-item",key:e.key,onClick:a=>r.goToServiceDetail(e)},{default:l(()=>[d(n,{class:"service-image-wrapper"},{default:l(()=>[e.image?(o(),c(C,{key:0,src:r.getImageUrl(e.image),class:"service-image",mode:"aspectFill",onError:a=>r.handleImageError(e)},null,8,["src","onError"])):(o(),c(n,{key:1,class:"service-image-placeholder"},{default:l(()=>[d(x,{class:"placeholder-icon"},{default:l(()=>[u("📷")]),_:1})]),_:1}))]),_:2},1024),d(x,{class:"service-title"},{default:l(()=>[u(p(r.getServiceName(e)),1)]),_:2},1024)]),_:2},1032,["onClick"]))),128))]),_:1})):(o(),c(n,{key:2,class:"empty-container"},{default:l(()=>[d(x,{class:"empty-text"},{default:l(()=>[u(p(e.$t("common.noData")||"暂无服务"),1)]),_:1})]),_:1}))]),_:1})]),_:1})]),_:1})}],["__scopeId","data-v-d074112a"]]);export{I as default}; diff --git a/miniprogram/dist/build/h5/assets/pages-appointment-exhibition-service-page.778f053d.js b/miniprogram/dist/build/h5/assets/pages-appointment-exhibition-service-page.778f053d.js deleted file mode 100644 index 22a60ac..0000000 --- a/miniprogram/dist/build/h5/assets/pages-appointment-exhibition-service-page.778f053d.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as e,m as t,L as l,M as s,l as r,k as a,N as i,O as o,G as n,H as c,o as d,c as u,w as h,i as p,P as m,a4 as f,e as x,f as g,t as y,A as E,g as b,h as w}from"./index-a09151d6.js";import{_}from"./aure-country-picker.01cea584.js";import{A as k}from"./AppServer.888fd24d.js";import{_ as A}from"./ic_back.5440bd15.js";const V=new k;const F=e({data:()=>({serviceId:"",serviceTitle:"",userName:"",userWechat:"",userPhone:"",userWhats:"",remark:"",specificRequirements:"",submitting:!1,flashingField:"",selectedDialCode:"86"}),onLoad(e){e.id&&(this.serviceId=e.id),e.title&&(this.serviceTitle=decodeURIComponent(e.title))},methods:{checkData(){const e=[{field:"userName",selector:"#fieldUserName",check:()=>!this.userName.trim(),message:"请输入真实姓名"},{field:"contact",selector:"#fieldContact",check:()=>!this.userWechat.trim()&&!this.userPhone.trim()&&!this.userWhats.trim(),message:"请至少填写一种联系方式(微信号/手机号/WhatsApp)"},{field:"specificRequirements",selector:"#fieldSpecificRequirements",check:()=>!this.specificRequirements.trim(),message:"请输入具体需求"}];for(const l of e)if(l.check())return t({title:l.message,icon:"none"}),this.scrollToElement(l.selector),this.flashingField=l.field,void setTimeout(()=>{this.flashingField=""},1500);this.submitAppointment()},async submitAppointment(){var e;if(!this.submitting){this.submitting=!0,l({title:"提交中...",mask:!0});try{const l={hotServiceId:parseInt(this.serviceId)||null,serviceType:"exhibition_service",realName:this.userName.trim(),wechatId:this.userWechat.trim()||null,phone:this.userPhone.trim()||null,phoneCountryCode:this.userPhone.trim()?this.selectedDialCode:null,whatsapp:this.userWhats.trim()||null,notes:this.remark.trim()||null,specificRequirements:this.specificRequirements.trim()},a=await V.CreateAppointment(l);s(),a.success||0===a.code?(t({title:"预约提交成功",icon:"success"}),setTimeout(()=>{r({delta:1})},1500)):t({title:(null==(e=a.error)?void 0:e.message)||"提交失败,请重试",icon:"none"})}catch(a){s(),console.error("提交预约失败:",a),t({title:"网络错误,请重试",icon:"none"})}finally{this.submitting=!1}}},scrollToElement(e){const t=a().windowHeight,l=i().in(this);l.select(e).boundingClientRect(),l.selectViewport().scrollOffset(),l.exec(e=>{if(e[0]&&e[1]){const l=e[0],s=e[1].scrollTop+l.top-t/2+l.height/2;o({scrollTop:Math.max(0,s),duration:300})}})},back(){r({delta:1})}}},[["render",function(e,t,l,s,r,a){const i=b,o=p,k=w,V=n(c("up-input"),m),F=n(c("aure-country-picker"),_),$=n(c("up-textarea"),f);return d(),u(o,{class:"page"},{default:h(()=>[x(o,{class:"header"},{default:h(()=>[x(o,{class:"center",style:{width:"50rpx",height:"50rpx","margin-left":"32rpx"}},{default:h(()=>[x(i,{src:A,onClick:a.back,style:{width:"48rpx",height:"48rpx"},mode:""},null,8,["onClick"])]),_:1}),x(k,{style:{"font-size":"30rpx"}},{default:h(()=>[g(y(e.$t("infoEntry.title")),1)]),_:1}),x(o,{style:{width:"50rpx","margin-right":"32rpx"}})]),_:1}),x(o,{class:"scroll-content"},{default:h(()=>[x(o,{class:"content"},{default:h(()=>[x(o,{class:"",style:{width:"680rpx",height:"396rpx","background-image":"linear-gradient(-45deg, #60D7FF, #68BBD7)","margin-top":"32rpx","border-radius":"20rpx","box-shadow":"0 0 10rpx 10rpx rgba(0, 0, 0, 0.1)"}}),x(o,{class:"",style:{width:"100%","font-size":"40rpx","padding-left":"54rpx","margin-top":"38rpx"}},{default:h(()=>[g(y(e.$t("infoEntry.personalInfo")),1)]),_:1}),x(o,{class:E(["column",{"flash-animation":"userName"===r.flashingField}]),style:{width:"680rpx","margin-top":"38rpx"},id:"fieldUserName"},{default:h(()=>[x(k,{style:{"font-size":"30rpx"}},{default:h(()=>[x(k,{style:{color:"#FF0000"}},{default:h(()=>[g("*")]),_:1}),g(y(e.$t("infoEntry.realName")),1)]),_:1}),x(V,{placeholder:e.$t("infoEntry.realNamePlaceholder"),border:"surround",modelValue:r.userName,"onUpdate:modelValue":t[0]||(t[0]=e=>r.userName=e)},null,8,["placeholder","modelValue"])]),_:1},8,["class"]),x(o,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),x(o,{class:E(["column",{"flash-animation":"contact"===r.flashingField}]),style:{width:"680rpx","margin-top":"14rpx"},id:"fieldContact"},{default:h(()=>[x(k,{style:{"font-size":"30rpx"}},{default:h(()=>[x(k,{style:{color:"#FF0000"}},{default:h(()=>[g("*")]),_:1}),g(y(e.$t("infoEntry.wechat"))+" ("+y(e.$t("infoEntry.contactMethod"))+")",1)]),_:1}),x(V,{placeholder:e.$t("infoEntry.wechatPlaceholder"),border:"surround",modelValue:r.userWechat,"onUpdate:modelValue":t[1]||(t[1]=e=>r.userWechat=e)},null,8,["placeholder","modelValue"])]),_:1},8,["class"]),x(o,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),x(o,{class:E(["column",{"flash-animation":"contact"===r.flashingField}]),style:{width:"680rpx","margin-top":"14rpx"}},{default:h(()=>[x(k,{style:{"font-size":"30rpx"}},{default:h(()=>[x(k,{style:{color:"#FF0000"}},{default:h(()=>[g("*")]),_:1}),g(y(e.$t("infoEntry.phone"))+" ("+y(e.$t("infoEntry.contactMethod"))+")",1)]),_:1}),x(o,{class:"row",style:{"margin-top":"10rpx","margin-bottom":"10rpx"}},{default:h(()=>[x(F,{modelValue:r.selectedDialCode,"onUpdate:modelValue":t[2]||(t[2]=e=>r.selectedDialCode=e),title:e.$t("infoEntry.selectCountry"),height:"70%",width:"60vw",duration:350,position:"bottom",round:!0,radius:"24rpx","mask-closable":!0},null,8,["modelValue","title"]),x(V,{placeholder:e.$t("infoEntry.phonePlaceholder"),border:"surround",modelValue:r.userPhone,"onUpdate:modelValue":t[3]||(t[3]=e=>r.userPhone=e)},null,8,["placeholder","modelValue"])]),_:1})]),_:1},8,["class"]),x(o,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),x(o,{class:E(["column",{"flash-animation":"contact"===r.flashingField}]),style:{width:"680rpx","margin-top":"14rpx"}},{default:h(()=>[x(k,{style:{"font-size":"30rpx"}},{default:h(()=>[x(k,{style:{color:"#FF0000"}},{default:h(()=>[g("*")]),_:1}),g(y(e.$t("infoEntry.whatsapp"))+" ("+y(e.$t("infoEntry.contactMethod"))+")",1)]),_:1}),x(V,{placeholder:e.$t("infoEntry.whatsappPlaceholder"),border:"surround",modelValue:r.userWhats,"onUpdate:modelValue":t[4]||(t[4]=e=>r.userWhats=e)},null,8,["placeholder","modelValue"])]),_:1},8,["class"]),x(o,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),x(o,{class:"column",style:{width:"680rpx","margin-top":"14rpx"}},{default:h(()=>[x(k,{style:{"font-size":"30rpx"}},{default:h(()=>[g(y(e.$t("infoEntry.remark")),1)]),_:1}),x(V,{placeholder:e.$t("infoEntry.remarkPlaceholder"),border:"surround",modelValue:r.remark,"onUpdate:modelValue":t[5]||(t[5]=e=>r.remark=e)},null,8,["placeholder","modelValue"])]),_:1}),x(o,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),x(o,{class:"",style:{width:"100%","font-size":"40rpx","padding-left":"54rpx","margin-top":"38rpx"}},{default:h(()=>[g(y(e.$t("infoEntry.serviceInfo")),1)]),_:1}),x(o,{class:E(["column",{"flash-animation":"specificRequirements"===r.flashingField}]),style:{width:"680rpx","margin-top":"14rpx"},id:"fieldSpecificRequirements"},{default:h(()=>[x(k,{style:{"font-size":"30rpx"}},{default:h(()=>[x(k,{style:{color:"#FF0000"}},{default:h(()=>[g("*")]),_:1}),g("具体需求")]),_:1}),x($,{modelValue:r.specificRequirements,"onUpdate:modelValue":t[6]||(t[6]=e=>r.specificRequirements=e),placeholder:"请详细描述您的展会咨询需求,如:展会名称、参展时间、展位需求、协办服务等",maxlength:1e3,count:!0,height:"200",border:"surround"},null,8,["modelValue"])]),_:1},8,["class"]),x(o,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),x(o,{class:"center",onClick:t[7]||(t[7]=e=>a.checkData()),style:{width:"642rpx",height:"72rpx","background-color":"#57C9DD","border-radius":"16rpx","box-shadow":"0 0 10rpx 10rpx rgba(0, 0, 0, 0.1)","margin-top":"50rpx","margin-bottom":"100rpx"}},{default:h(()=>[g(y(e.$t("common.submit")),1)]),_:1})]),_:1})]),_:1})]),_:1})}],["__scopeId","data-v-346730d6"]]);export{F as default}; diff --git a/miniprogram/dist/build/h5/assets/pages-appointment-guide-translation-page.92bb9fdd.js b/miniprogram/dist/build/h5/assets/pages-appointment-guide-translation-page.92bb9fdd.js deleted file mode 100644 index ce8faf5..0000000 --- a/miniprogram/dist/build/h5/assets/pages-appointment-guide-translation-page.92bb9fdd.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as e,m as t,L as a,M as s,l,k as r,N as o,O as i,G as n,H as d,o as c,c as h,w as u,i as p,P as m,R as f,e as g,f as x,t as y,A as D,g as w,h as _}from"./index-a09151d6.js";import{_ as E}from"./aure-country-picker.01cea584.js";import{A as b}from"./AppServer.888fd24d.js";import{_ as C}from"./ic_back.5440bd15.js";import{_ as k}from"./arrow_right2.8bd5bd0f.js";const v=new b;const A=e({data:()=>({serviceId:"",serviceTitle:"",userName:"",userWechat:"",userPhone:"",userWhats:"",remark:"",reservationDate:"",serviceDays:"",submitting:!1,flashingField:"",selectedDialCode:"86",showCalendar:!1,minDate:"",maxDate:""}),onLoad(e){this.initDateRange(),e.id&&(this.serviceId=e.id),e.title&&(this.serviceTitle=decodeURIComponent(e.title))},methods:{initDateRange(){const e=new Date,t=e.getFullYear(),a=String(e.getMonth()+1).padStart(2,"0"),s=String(e.getDate()).padStart(2,"0");this.minDate=`${t}-${a}-${s}`,this.maxDate=`${t+2}-12-31`},openCalendar(){this.initDateRange(),this.$nextTick(()=>{this.showCalendar=!0})},closeCalendar(){this.showCalendar=!1},onCalendarConfirm(e){e&&e.length>0&&(this.reservationDate=e[0]),this.showCalendar=!1},checkData(){const e=[{field:"userName",selector:"#fieldUserName",check:()=>!this.userName.trim(),message:"请输入真实姓名"},{field:"contact",selector:"#fieldContact",check:()=>!this.userWechat.trim()&&!this.userPhone.trim()&&!this.userWhats.trim(),message:"请至少填写一种联系方式(微信号/手机号/WhatsApp)"},{field:"reservationDate",selector:"#fieldReservationDate",check:()=>!this.reservationDate,message:"请选择预约日期"},{field:"serviceDays",selector:"#fieldServiceDays",check:()=>!this.serviceDays||parseInt(this.serviceDays)<=0,message:"请输入有效的服务天数"}];for(const a of e)if(a.check())return t({title:a.message,icon:"none"}),this.scrollToElement(a.selector),this.flashingField=a.field,void setTimeout(()=>{this.flashingField=""},1500);this.submitAppointment()},async submitAppointment(){var e;if(!this.submitting){this.submitting=!0,a({title:"提交中...",mask:!0});try{const a={hotServiceId:parseInt(this.serviceId)||null,serviceType:"guide_translation",realName:this.userName.trim(),wechatId:this.userWechat.trim()||null,phone:this.userPhone.trim()||null,phoneCountryCode:this.userPhone.trim()?this.selectedDialCode:null,whatsapp:this.userWhats.trim()||null,notes:this.remark.trim()||null,appointmentDate:this.reservationDate,serviceDays:parseInt(this.serviceDays)||0},r=await v.CreateAppointment(a);s(),r.success||0===r.code?(t({title:"预约提交成功",icon:"success"}),setTimeout(()=>{l({delta:1})},1500)):t({title:(null==(e=r.error)?void 0:e.message)||"提交失败,请重试",icon:"none"})}catch(r){s(),console.error("提交预约失败:",r),t({title:"网络错误,请重试",icon:"none"})}finally{this.submitting=!1}}},scrollToElement(e){const t=r().windowHeight,a=o().in(this);a.select(e).boundingClientRect(),a.selectViewport().scrollOffset(),a.exec(e=>{if(e[0]&&e[1]){const a=e[0],s=e[1].scrollTop+a.top-t/2+a.height/2;i({scrollTop:Math.max(0,s),duration:300})}})},back(){l({delta:1})}}},[["render",function(e,t,a,s,l,r){const o=w,i=p,b=_,v=n(d("up-input"),m),A=n(d("aure-country-picker"),E),F=n(d("up-calendar"),f);return c(),h(i,{class:"page"},{default:u(()=>[g(i,{class:"header"},{default:u(()=>[g(i,{class:"center",style:{width:"50rpx",height:"50rpx","margin-left":"32rpx"}},{default:u(()=>[g(o,{src:C,onClick:r.back,style:{width:"48rpx",height:"48rpx"},mode:""},null,8,["onClick"])]),_:1}),g(b,{style:{"font-size":"30rpx"}},{default:u(()=>[x(y(e.$t("infoEntry.title")),1)]),_:1}),g(i,{style:{width:"50rpx","margin-right":"32rpx"}})]),_:1}),g(i,{class:"scroll-content"},{default:u(()=>[g(i,{class:"content"},{default:u(()=>[g(i,{class:"",style:{width:"680rpx",height:"396rpx","background-image":"linear-gradient(-45deg, #60D7FF, #68BBD7)","margin-top":"32rpx","border-radius":"20rpx","box-shadow":"0 0 10rpx 10rpx rgba(0, 0, 0, 0.1)"}}),g(i,{class:"",style:{width:"100%","font-size":"40rpx","padding-left":"54rpx","margin-top":"38rpx"}},{default:u(()=>[x(y(e.$t("infoEntry.personalInfo")),1)]),_:1}),g(i,{class:D(["column",{"flash-animation":"userName"===l.flashingField}]),style:{width:"680rpx","margin-top":"38rpx"},id:"fieldUserName"},{default:u(()=>[g(b,{style:{"font-size":"30rpx"}},{default:u(()=>[g(b,{style:{color:"#FF0000"}},{default:u(()=>[x("*")]),_:1}),x(y(e.$t("infoEntry.realName")),1)]),_:1}),g(v,{placeholder:e.$t("infoEntry.realNamePlaceholder"),border:"surround",modelValue:l.userName,"onUpdate:modelValue":t[0]||(t[0]=e=>l.userName=e)},null,8,["placeholder","modelValue"])]),_:1},8,["class"]),g(i,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),g(i,{class:D(["column",{"flash-animation":"contact"===l.flashingField}]),style:{width:"680rpx","margin-top":"14rpx"},id:"fieldContact"},{default:u(()=>[g(b,{style:{"font-size":"30rpx"}},{default:u(()=>[g(b,{style:{color:"#FF0000"}},{default:u(()=>[x("*")]),_:1}),x(y(e.$t("infoEntry.wechat"))+" ("+y(e.$t("infoEntry.contactMethod"))+")",1)]),_:1}),g(v,{placeholder:e.$t("infoEntry.wechatPlaceholder"),border:"surround",modelValue:l.userWechat,"onUpdate:modelValue":t[1]||(t[1]=e=>l.userWechat=e)},null,8,["placeholder","modelValue"])]),_:1},8,["class"]),g(i,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),g(i,{class:D(["column",{"flash-animation":"contact"===l.flashingField}]),style:{width:"680rpx","margin-top":"14rpx"}},{default:u(()=>[g(b,{style:{"font-size":"30rpx"}},{default:u(()=>[g(b,{style:{color:"#FF0000"}},{default:u(()=>[x("*")]),_:1}),x(y(e.$t("infoEntry.phone"))+" ("+y(e.$t("infoEntry.contactMethod"))+")",1)]),_:1}),g(i,{class:"row",style:{"margin-top":"10rpx","margin-bottom":"10rpx"}},{default:u(()=>[g(A,{modelValue:l.selectedDialCode,"onUpdate:modelValue":t[2]||(t[2]=e=>l.selectedDialCode=e),title:e.$t("infoEntry.selectCountry"),height:"70%",width:"60vw",duration:350,position:"bottom",round:!0,radius:"24rpx","mask-closable":!0},null,8,["modelValue","title"]),g(v,{placeholder:e.$t("infoEntry.phonePlaceholder"),border:"surround",modelValue:l.userPhone,"onUpdate:modelValue":t[3]||(t[3]=e=>l.userPhone=e)},null,8,["placeholder","modelValue"])]),_:1})]),_:1},8,["class"]),g(i,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),g(i,{class:D(["column",{"flash-animation":"contact"===l.flashingField}]),style:{width:"680rpx","margin-top":"14rpx"}},{default:u(()=>[g(b,{style:{"font-size":"30rpx"}},{default:u(()=>[g(b,{style:{color:"#FF0000"}},{default:u(()=>[x("*")]),_:1}),x(y(e.$t("infoEntry.whatsapp"))+" ("+y(e.$t("infoEntry.contactMethod"))+")",1)]),_:1}),g(v,{placeholder:e.$t("infoEntry.whatsappPlaceholder"),border:"surround",modelValue:l.userWhats,"onUpdate:modelValue":t[4]||(t[4]=e=>l.userWhats=e)},null,8,["placeholder","modelValue"])]),_:1},8,["class"]),g(i,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),g(i,{class:"column",style:{width:"680rpx","margin-top":"14rpx"}},{default:u(()=>[g(b,{style:{"font-size":"30rpx"}},{default:u(()=>[x(y(e.$t("infoEntry.remark")),1)]),_:1}),g(v,{placeholder:e.$t("infoEntry.remarkPlaceholder"),border:"surround",modelValue:l.remark,"onUpdate:modelValue":t[5]||(t[5]=e=>l.remark=e)},null,8,["placeholder","modelValue"])]),_:1}),g(i,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),g(i,{class:"",style:{width:"100%","font-size":"40rpx","padding-left":"54rpx","margin-top":"38rpx"}},{default:u(()=>[x(y(e.$t("infoEntry.serviceInfo")),1)]),_:1}),g(i,{class:D(["column",{"flash-animation":"reservationDate"===l.flashingField}]),style:{width:"680rpx","margin-top":"14rpx"},id:"fieldReservationDate"},{default:u(()=>[g(b,{style:{"font-size":"30rpx"}},{default:u(()=>[g(b,{style:{color:"#FF0000"}},{default:u(()=>[x("*")]),_:1}),x("预约日期")]),_:1}),g(i,{class:"date-item",onClick:r.openCalendar},{default:u(()=>[g(b,{class:D(["date-text",{"date-placeholder":!l.reservationDate}])},{default:u(()=>[x(y(l.reservationDate||"请选择预约日期"),1)]),_:1},8,["class"]),g(o,{src:k,style:{width:"32rpx",height:"32rpx"},mode:"aspectFit"})]),_:1},8,["onClick"])]),_:1},8,["class"]),g(i,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),g(i,{class:D(["column",{"flash-animation":"serviceDays"===l.flashingField}]),style:{width:"680rpx","margin-top":"14rpx"},id:"fieldServiceDays"},{default:u(()=>[g(b,{style:{"font-size":"30rpx"}},{default:u(()=>[g(b,{style:{color:"#FF0000"}},{default:u(()=>[x("*")]),_:1}),x("服务天数")]),_:1}),g(v,{placeholder:"请输入服务天数",border:"surround",modelValue:l.serviceDays,"onUpdate:modelValue":t[6]||(t[6]=e=>l.serviceDays=e),type:"number"},null,8,["modelValue"])]),_:1},8,["class"]),g(i,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),g(i,{class:"center",onClick:t[7]||(t[7]=e=>r.checkData()),style:{width:"642rpx",height:"72rpx","background-color":"#57C9DD","border-radius":"16rpx","box-shadow":"0 0 10rpx 10rpx rgba(0, 0, 0, 0.1)","margin-top":"50rpx","margin-bottom":"100rpx"}},{default:u(()=>[x(y(e.$t("common.submit")),1)]),_:1})]),_:1})]),_:1}),g(F,{show:l.showCalendar,mode:"single",minDate:l.minDate,maxDate:l.maxDate,onConfirm:r.onCalendarConfirm,onClose:r.closeCalendar,confirmText:e.$t("common.confirm"),color:"#57C9DD"},null,8,["show","minDate","maxDate","onConfirm","onClose","confirmText"])]),_:1})}],["__scopeId","data-v-f8efa3f9"]]);export{A as default}; diff --git a/miniprogram/dist/build/h5/assets/pages-appointment-hotel-reservation-page.97687d30.js b/miniprogram/dist/build/h5/assets/pages-appointment-hotel-reservation-page.97687d30.js deleted file mode 100644 index 7385a0f..0000000 --- a/miniprogram/dist/build/h5/assets/pages-appointment-hotel-reservation-page.97687d30.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as e,m as t,L as l,M as a,l as o,k as s,N as n,O as r,G as i,H as c,o as d,c as h,w as u,i as m,P as p,Q as f,R as x,e as y,f as k,t as g,A as C,B as w,g as _,h as D}from"./index-a09151d6.js";import{_ as b}from"./aure-country-picker.01cea584.js";import{A as E}from"./AppServer.888fd24d.js";import{_ as P}from"./ic_back.5440bd15.js";import{_ as T}from"./arrow_right2.8bd5bd0f.js";import{_ as A}from"./arrow_down.807172e3.js";const F=new E;const I=e({data:()=>({serviceId:"",serviceTitle:"",userName:"",userWechat:"",userPhone:"",userWhats:"",remark:"",checkInDate:"",checkOutDate:"",countryCity:"",hotelName:"",roomCount:1,roomType:"standard",roomTypeIndex:0,needMeal:!1,mealPlan:"breakfast",mealPlanIndex:0,submitting:!1,flashingField:"",selectedDialCode:"86",showCalendar:!1,calendarType:"checkIn",showRoomTypePicker:!1,showMealRequirementPicker:!1,showMealPlanPicker:!1,minDate:"",maxDate:"",roomTypeColumns:[[{label:"标准间",value:"standard"},{label:"大床房",value:"king"},{label:"双床房",value:"twin"},{label:"套房",value:"suite"},{label:"家庭房",value:"family"}]],mealRequirementColumns:[[{label:"是",value:!0},{label:"否",value:!1}]],mealPlanColumns:[[{label:"早餐",value:"breakfast"},{label:"三餐",value:"three_meals"},{label:"全包",value:"all_inclusive"}]]}),computed:{roomTypeText(){const e=this.roomTypeColumns[0].find(e=>e.value===this.roomType);return e?e.label:"标准间"},needMealText(){return this.needMeal?"是":"否"},mealPlanText(){const e=this.mealPlanColumns[0].find(e=>e.value===this.mealPlan);return e?e.label:"早餐"}},onLoad(e){this.initDateRange(),e.id&&(this.serviceId=e.id),e.title&&(this.serviceTitle=decodeURIComponent(e.title))},methods:{initDateRange(){const e=new Date,t=e.getFullYear(),l=String(e.getMonth()+1).padStart(2,"0"),a=String(e.getDate()).padStart(2,"0");this.minDate=`${t}-${l}-${a}`,this.maxDate=`${t+2}-12-31`},openCheckInCalendar(){this.calendarType="checkIn",this.initDateRange(),this.$nextTick(()=>{this.showCalendar=!0})},openCheckOutCalendar(){this.calendarType="checkOut",this.checkInDate?this.minDate=this.checkInDate:this.initDateRange(),this.$nextTick(()=>{this.showCalendar=!0})},closeCalendar(){this.showCalendar=!1,this.initDateRange()},onCalendarConfirm(e){e&&e.length>0&&("checkIn"===this.calendarType?(this.checkInDate=e[0],this.checkOutDate&&this.checkOutDatee.value===t.value),this.showRoomTypePicker=!1},onMealRequirementConfirm(e){const t=e.value[0];this.needMeal=t.value,this.showMealRequirementPicker=!1},onMealPlanConfirm(e){const t=e.value[0];this.mealPlan=t.value,this.mealPlanIndex=this.mealPlanColumns[0].findIndex(e=>e.value===t.value),this.showMealPlanPicker=!1},increaseRoomCount(){this.roomCount++},decreaseRoomCount(){this.roomCount>1&&this.roomCount--},checkData(){const e=[{field:"userName",selector:"#fieldUserName",check:()=>!this.userName.trim(),message:"请输入真实姓名"},{field:"contact",selector:"#fieldContact",check:()=>!this.userWechat.trim()&&!this.userPhone.trim()&&!this.userWhats.trim(),message:"请至少填写一种联系方式(微信号/手机号/WhatsApp)"},{field:"checkInDate",selector:"#fieldCheckInDate",check:()=>!this.checkInDate,message:"请选择入住日期"},{field:"checkOutDate",selector:"#fieldCheckOutDate",check:()=>!this.checkOutDate,message:"请选择退房日期"},{field:"checkOutDate",selector:"#fieldCheckOutDate",check:()=>this.checkInDate&&this.checkOutDate&&this.checkOutDate!this.countryCity.trim(),message:"请输入国家/城市"},{field:"hotelName",selector:"#fieldHotelName",check:()=>!this.hotelName.trim(),message:"请输入酒店名称"},{field:"roomCount",selector:"#fieldRoomCount",check:()=>this.roomCount<1,message:"房间数量至少为1"},{field:"mealPlan",selector:"#fieldMealPlan",check:()=>this.needMeal&&!this.mealPlan,message:"请选择用餐方案"}];for(const l of e)if(l.check())return t({title:l.message,icon:"none"}),this.scrollToElement(l.selector),this.flashingField=l.field,void setTimeout(()=>{this.flashingField=""},1500);this.submitAppointment()},async submitAppointment(){var e;if(!this.submitting){this.submitting=!0,l({title:"提交中...",mask:!0});try{const l={hotServiceId:parseInt(this.serviceId)||null,serviceType:"hotel",realName:this.userName.trim(),wechatId:this.userWechat.trim()||null,phone:this.userPhone.trim()||null,phoneCountryCode:this.userPhone.trim()?this.selectedDialCode:null,whatsapp:this.userWhats.trim()||null,notes:this.remark.trim()||null,checkInDate:this.checkInDate,checkOutDate:this.checkOutDate,countryCity:this.countryCity.trim(),hotelName:this.hotelName.trim(),roomCount:this.roomCount,roomType:this.roomType,needMeal:this.needMeal,mealPlan:this.needMeal?this.mealPlan:null},s=await F.CreateAppointment(l);a(),s.success||0===s.code?(t({title:"预约提交成功",icon:"success"}),setTimeout(()=>{o({delta:1})},1500)):t({title:(null==(e=s.error)?void 0:e.message)||"提交失败,请重试",icon:"none"})}catch(s){a(),console.error("提交预约失败:",s),t({title:"网络错误,请重试",icon:"none"})}finally{this.submitting=!1}}},scrollToElement(e){const t=s().windowHeight,l=n().in(this);l.select(e).boundingClientRect(),l.selectViewport().scrollOffset(),l.exec(e=>{if(e[0]&&e[1]){const l=e[0],a=e[1].scrollTop+l.top-t/2+l.height/2;r({scrollTop:Math.max(0,a),duration:300})}})},back(){o({delta:1})}}},[["render",function(e,t,l,a,o,s){const n=_,r=m,E=D,F=i(c("up-input"),p),I=i(c("aure-country-picker"),b),v=i(c("up-picker"),f),M=i(c("up-calendar"),x);return d(),h(r,{class:"page"},{default:u(()=>[y(r,{class:"header"},{default:u(()=>[y(r,{class:"center",style:{width:"50rpx",height:"50rpx","margin-left":"32rpx"}},{default:u(()=>[y(n,{src:P,onClick:s.back,style:{width:"48rpx",height:"48rpx"},mode:""},null,8,["onClick"])]),_:1}),y(E,{style:{"font-size":"30rpx"}},{default:u(()=>[k(g(e.$t("infoEntry.title")),1)]),_:1}),y(r,{style:{width:"50rpx","margin-right":"32rpx"}})]),_:1}),y(r,{class:"scroll-content"},{default:u(()=>[y(r,{class:"content"},{default:u(()=>[y(r,{class:"",style:{width:"680rpx",height:"396rpx","background-image":"linear-gradient(-45deg, #60D7FF, #68BBD7)","margin-top":"32rpx","border-radius":"20rpx","box-shadow":"0 0 10rpx 10rpx rgba(0, 0, 0, 0.1)"}}),y(r,{class:"",style:{width:"100%","font-size":"40rpx","padding-left":"54rpx","margin-top":"38rpx"}},{default:u(()=>[k(g(e.$t("infoEntry.personalInfo")),1)]),_:1}),y(r,{class:C(["column",{"flash-animation":"userName"===o.flashingField}]),style:{width:"680rpx","margin-top":"38rpx"},id:"fieldUserName"},{default:u(()=>[y(E,{style:{"font-size":"30rpx"}},{default:u(()=>[y(E,{style:{color:"#FF0000"}},{default:u(()=>[k("*")]),_:1}),k(g(e.$t("infoEntry.realName")),1)]),_:1}),y(F,{placeholder:e.$t("infoEntry.realNamePlaceholder"),border:"surround",modelValue:o.userName,"onUpdate:modelValue":t[0]||(t[0]=e=>o.userName=e)},null,8,["placeholder","modelValue"])]),_:1},8,["class"]),y(r,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),y(r,{class:C(["column",{"flash-animation":"contact"===o.flashingField}]),style:{width:"680rpx","margin-top":"14rpx"},id:"fieldContact"},{default:u(()=>[y(E,{style:{"font-size":"30rpx"}},{default:u(()=>[y(E,{style:{color:"#FF0000"}},{default:u(()=>[k("*")]),_:1}),k(g(e.$t("infoEntry.wechat"))+" ("+g(e.$t("infoEntry.contactMethod"))+")",1)]),_:1}),y(F,{placeholder:e.$t("infoEntry.wechatPlaceholder"),border:"surround",modelValue:o.userWechat,"onUpdate:modelValue":t[1]||(t[1]=e=>o.userWechat=e)},null,8,["placeholder","modelValue"])]),_:1},8,["class"]),y(r,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),y(r,{class:C(["column",{"flash-animation":"contact"===o.flashingField}]),style:{width:"680rpx","margin-top":"14rpx"}},{default:u(()=>[y(E,{style:{"font-size":"30rpx"}},{default:u(()=>[y(E,{style:{color:"#FF0000"}},{default:u(()=>[k("*")]),_:1}),k(g(e.$t("infoEntry.phone"))+" ("+g(e.$t("infoEntry.contactMethod"))+")",1)]),_:1}),y(r,{class:"row",style:{"margin-top":"10rpx","margin-bottom":"10rpx"}},{default:u(()=>[y(I,{modelValue:o.selectedDialCode,"onUpdate:modelValue":t[2]||(t[2]=e=>o.selectedDialCode=e),title:e.$t("infoEntry.selectCountry"),height:"70%",width:"60vw",duration:350,position:"bottom",round:!0,radius:"24rpx","mask-closable":!0},null,8,["modelValue","title"]),y(F,{placeholder:e.$t("infoEntry.phonePlaceholder"),border:"surround",modelValue:o.userPhone,"onUpdate:modelValue":t[3]||(t[3]=e=>o.userPhone=e)},null,8,["placeholder","modelValue"])]),_:1})]),_:1},8,["class"]),y(r,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),y(r,{class:C(["column",{"flash-animation":"contact"===o.flashingField}]),style:{width:"680rpx","margin-top":"14rpx"}},{default:u(()=>[y(E,{style:{"font-size":"30rpx"}},{default:u(()=>[y(E,{style:{color:"#FF0000"}},{default:u(()=>[k("*")]),_:1}),k(g(e.$t("infoEntry.whatsapp"))+" ("+g(e.$t("infoEntry.contactMethod"))+")",1)]),_:1}),y(F,{placeholder:e.$t("infoEntry.whatsappPlaceholder"),border:"surround",modelValue:o.userWhats,"onUpdate:modelValue":t[4]||(t[4]=e=>o.userWhats=e)},null,8,["placeholder","modelValue"])]),_:1},8,["class"]),y(r,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),y(r,{class:"column",style:{width:"680rpx","margin-top":"14rpx"}},{default:u(()=>[y(E,{style:{"font-size":"30rpx"}},{default:u(()=>[k(g(e.$t("infoEntry.remark")),1)]),_:1}),y(F,{placeholder:e.$t("infoEntry.remarkPlaceholder"),border:"surround",modelValue:o.remark,"onUpdate:modelValue":t[5]||(t[5]=e=>o.remark=e)},null,8,["placeholder","modelValue"])]),_:1}),y(r,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),y(r,{class:"",style:{width:"100%","font-size":"40rpx","padding-left":"54rpx","margin-top":"38rpx"}},{default:u(()=>[k(g(e.$t("infoEntry.serviceInfo")),1)]),_:1}),y(r,{class:C(["column",{"flash-animation":"checkInDate"===o.flashingField}]),style:{width:"680rpx","margin-top":"14rpx"},id:"fieldCheckInDate"},{default:u(()=>[y(E,{style:{"font-size":"30rpx"}},{default:u(()=>[y(E,{style:{color:"#FF0000"}},{default:u(()=>[k("*")]),_:1}),k("入住日期")]),_:1}),y(r,{class:"date-item",onClick:s.openCheckInCalendar},{default:u(()=>[y(E,{class:C(["date-text",{"date-placeholder":!o.checkInDate}])},{default:u(()=>[k(g(o.checkInDate||"请选择入住日期"),1)]),_:1},8,["class"]),y(n,{src:T,style:{width:"32rpx",height:"32rpx"},mode:"aspectFit"})]),_:1},8,["onClick"])]),_:1},8,["class"]),y(r,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),y(r,{class:C(["column",{"flash-animation":"checkOutDate"===o.flashingField}]),style:{width:"680rpx","margin-top":"14rpx"},id:"fieldCheckOutDate"},{default:u(()=>[y(E,{style:{"font-size":"30rpx"}},{default:u(()=>[y(E,{style:{color:"#FF0000"}},{default:u(()=>[k("*")]),_:1}),k("退房日期")]),_:1}),y(r,{class:"date-item",onClick:s.openCheckOutCalendar},{default:u(()=>[y(E,{class:C(["date-text",{"date-placeholder":!o.checkOutDate}])},{default:u(()=>[k(g(o.checkOutDate||"请选择退房日期"),1)]),_:1},8,["class"]),y(n,{src:T,style:{width:"32rpx",height:"32rpx"},mode:"aspectFit"})]),_:1},8,["onClick"])]),_:1},8,["class"]),y(r,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),y(r,{class:C(["column",{"flash-animation":"countryCity"===o.flashingField}]),style:{width:"680rpx","margin-top":"14rpx"},id:"fieldCountryCity"},{default:u(()=>[y(E,{style:{"font-size":"30rpx"}},{default:u(()=>[y(E,{style:{color:"#FF0000"}},{default:u(()=>[k("*")]),_:1}),k("国家/城市")]),_:1}),y(F,{placeholder:"请输入国家/城市",border:"surround",modelValue:o.countryCity,"onUpdate:modelValue":t[6]||(t[6]=e=>o.countryCity=e)},null,8,["modelValue"])]),_:1},8,["class"]),y(r,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),y(r,{class:C(["column",{"flash-animation":"hotelName"===o.flashingField}]),style:{width:"680rpx","margin-top":"14rpx"},id:"fieldHotelName"},{default:u(()=>[y(E,{style:{"font-size":"30rpx"}},{default:u(()=>[y(E,{style:{color:"#FF0000"}},{default:u(()=>[k("*")]),_:1}),k("酒店名称")]),_:1}),y(F,{placeholder:"请输入酒店名称",border:"surround",modelValue:o.hotelName,"onUpdate:modelValue":t[7]||(t[7]=e=>o.hotelName=e)},null,8,["modelValue"])]),_:1},8,["class"]),y(r,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),y(r,{class:C(["column",{"flash-animation":"roomCount"===o.flashingField}]),style:{width:"680rpx","margin-top":"14rpx"},id:"fieldRoomCount"},{default:u(()=>[y(E,{style:{"font-size":"30rpx"}},{default:u(()=>[y(E,{style:{color:"#FF0000"}},{default:u(()=>[k("*")]),_:1}),k("房间数量")]),_:1}),y(r,{class:"person-row"},{default:u(()=>[y(r,{class:"person-info"},{default:u(()=>[y(E,{class:"person-title"},{default:u(()=>[k("房间")]),_:1})]),_:1}),y(r,{class:"person-counter"},{default:u(()=>[y(r,{class:"counter-btn",onClick:s.decreaseRoomCount},{default:u(()=>[y(E,{class:"counter-icon"},{default:u(()=>[k("-")]),_:1})]),_:1},8,["onClick"]),y(E,{class:"counter-value"},{default:u(()=>[k(g(o.roomCount)+"间",1)]),_:1}),y(r,{class:"counter-btn",onClick:s.increaseRoomCount},{default:u(()=>[y(E,{class:"counter-icon"},{default:u(()=>[k("+")]),_:1})]),_:1},8,["onClick"])]),_:1})]),_:1})]),_:1},8,["class"]),y(r,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),y(r,{class:C(["column",{"flash-animation":"roomType"===o.flashingField}]),style:{width:"680rpx","margin-top":"14rpx"},id:"fieldRoomType"},{default:u(()=>[y(E,{style:{"font-size":"30rpx"}},{default:u(()=>[y(E,{style:{color:"#FF0000"}},{default:u(()=>[k("*")]),_:1}),k("房型")]),_:1}),y(r,{class:"date-item",onClick:t[8]||(t[8]=e=>o.showRoomTypePicker=!0)},{default:u(()=>[y(E,{class:"date-text"},{default:u(()=>[k(g(s.roomTypeText),1)]),_:1}),y(n,{src:A,style:{width:"32rpx",height:"32rpx"},mode:"aspectFit"})]),_:1})]),_:1},8,["class"]),y(r,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),y(r,{class:"column",style:{width:"680rpx","margin-top":"14rpx"},id:"fieldNeedMeal"},{default:u(()=>[y(E,{style:{"font-size":"30rpx"}},{default:u(()=>[k("是否需要用餐")]),_:1}),y(r,{class:"date-item",onClick:t[9]||(t[9]=e=>o.showMealRequirementPicker=!0)},{default:u(()=>[y(E,{class:"date-text"},{default:u(()=>[k(g(s.needMealText),1)]),_:1}),y(n,{src:A,style:{width:"32rpx",height:"32rpx"},mode:"aspectFit"})]),_:1})]),_:1}),y(r,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),o.needMeal?(d(),h(r,{key:0,class:C(["column",{"flash-animation":"mealPlan"===o.flashingField}]),style:{width:"680rpx","margin-top":"14rpx"},id:"fieldMealPlan"},{default:u(()=>[y(E,{style:{"font-size":"30rpx"}},{default:u(()=>[y(E,{style:{color:"#FF0000"}},{default:u(()=>[k("*")]),_:1}),k("用餐方案")]),_:1}),y(r,{class:"date-item",onClick:t[10]||(t[10]=e=>o.showMealPlanPicker=!0)},{default:u(()=>[y(E,{class:"date-text"},{default:u(()=>[k(g(s.mealPlanText),1)]),_:1}),y(n,{src:A,style:{width:"32rpx",height:"32rpx"},mode:"aspectFit"})]),_:1})]),_:1},8,["class"])):w("",!0),o.needMeal?(d(),h(r,{key:1,class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}})):w("",!0),y(r,{class:"center",onClick:t[11]||(t[11]=e=>s.checkData()),style:{width:"642rpx",height:"72rpx","background-color":"#57C9DD","border-radius":"16rpx","box-shadow":"0 0 10rpx 10rpx rgba(0, 0, 0, 0.1)","margin-top":"50rpx","margin-bottom":"100rpx"}},{default:u(()=>[k(g(e.$t("common.submit")),1)]),_:1})]),_:1})]),_:1}),y(v,{show:o.showRoomTypePicker,columns:o.roomTypeColumns,onConfirm:s.onRoomTypeConfirm,onCancel:t[12]||(t[12]=e=>o.showRoomTypePicker=!1),onClose:t[13]||(t[13]=e=>o.showRoomTypePicker=!1),defaultIndex:[o.roomTypeIndex],keyName:"label"},null,8,["show","columns","onConfirm","defaultIndex"]),y(v,{show:o.showMealRequirementPicker,columns:o.mealRequirementColumns,onConfirm:s.onMealRequirementConfirm,onCancel:t[14]||(t[14]=e=>o.showMealRequirementPicker=!1),onClose:t[15]||(t[15]=e=>o.showMealRequirementPicker=!1),defaultIndex:[o.needMeal?0:1],keyName:"label"},null,8,["show","columns","onConfirm","defaultIndex"]),y(v,{show:o.showMealPlanPicker,columns:o.mealPlanColumns,onConfirm:s.onMealPlanConfirm,onCancel:t[16]||(t[16]=e=>o.showMealPlanPicker=!1),onClose:t[17]||(t[17]=e=>o.showMealPlanPicker=!1),defaultIndex:[o.mealPlanIndex],keyName:"label"},null,8,["show","columns","onConfirm","defaultIndex"]),y(M,{show:o.showCalendar,mode:"single",minDate:o.minDate,maxDate:o.maxDate,onConfirm:s.onCalendarConfirm,onClose:s.closeCalendar,confirmText:e.$t("common.confirm"),color:"#57C9DD"},null,8,["show","minDate","maxDate","onConfirm","onClose","confirmText"])]),_:1})}],["__scopeId","data-v-209f5882"]]);export{I as default}; diff --git a/miniprogram/dist/build/h5/assets/pages-appointment-insurance-consultation-page.1495fef3.js b/miniprogram/dist/build/h5/assets/pages-appointment-insurance-consultation-page.1495fef3.js deleted file mode 100644 index f5b155b..0000000 --- a/miniprogram/dist/build/h5/assets/pages-appointment-insurance-consultation-page.1495fef3.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as e,m as t,L as l,M as s,l as r,k as a,N as i,O as o,G as n,H as c,o as d,c as u,w as h,i as p,P as m,a4 as f,e as x,f as g,t as y,A as E,g as w,h as b}from"./index-a09151d6.js";import{_}from"./aure-country-picker.01cea584.js";import{A as k}from"./AppServer.888fd24d.js";import{_ as A}from"./ic_back.5440bd15.js";const V=new k;const F=e({data:()=>({serviceId:"",serviceTitle:"",userName:"",userWechat:"",userPhone:"",userWhats:"",remark:"",specificRequirements:"",submitting:!1,flashingField:"",selectedDialCode:"86"}),onLoad(e){e.id&&(this.serviceId=e.id),e.title&&(this.serviceTitle=decodeURIComponent(e.title))},methods:{checkData(){const e=[{field:"userName",selector:"#fieldUserName",check:()=>!this.userName.trim(),message:"请输入真实姓名"},{field:"contact",selector:"#fieldContact",check:()=>!this.userWechat.trim()&&!this.userPhone.trim()&&!this.userWhats.trim(),message:"请至少填写一种联系方式(微信号/手机号/WhatsApp)"},{field:"specificRequirements",selector:"#fieldSpecificRequirements",check:()=>!this.specificRequirements.trim(),message:"请输入具体需求"}];for(const l of e)if(l.check())return t({title:l.message,icon:"none"}),this.scrollToElement(l.selector),this.flashingField=l.field,void setTimeout(()=>{this.flashingField=""},1500);this.submitAppointment()},async submitAppointment(){var e;if(!this.submitting){this.submitting=!0,l({title:"提交中...",mask:!0});try{const l={hotServiceId:parseInt(this.serviceId)||null,serviceType:"insurance_consultation",realName:this.userName.trim(),wechatId:this.userWechat.trim()||null,phone:this.userPhone.trim()||null,phoneCountryCode:this.userPhone.trim()?this.selectedDialCode:null,whatsapp:this.userWhats.trim()||null,notes:this.remark.trim()||null,specificRequirements:this.specificRequirements.trim()},a=await V.CreateAppointment(l);s(),a.success||0===a.code?(t({title:"预约提交成功",icon:"success"}),setTimeout(()=>{r({delta:1})},1500)):t({title:(null==(e=a.error)?void 0:e.message)||"提交失败,请重试",icon:"none"})}catch(a){s(),console.error("提交预约失败:",a),t({title:"网络错误,请重试",icon:"none"})}finally{this.submitting=!1}}},scrollToElement(e){const t=a().windowHeight,l=i().in(this);l.select(e).boundingClientRect(),l.selectViewport().scrollOffset(),l.exec(e=>{if(e[0]&&e[1]){const l=e[0],s=e[1].scrollTop+l.top-t/2+l.height/2;o({scrollTop:Math.max(0,s),duration:300})}})},back(){r({delta:1})}}},[["render",function(e,t,l,s,r,a){const i=w,o=p,k=b,V=n(c("up-input"),m),F=n(c("aure-country-picker"),_),$=n(c("up-textarea"),f);return d(),u(o,{class:"page"},{default:h(()=>[x(o,{class:"header"},{default:h(()=>[x(o,{class:"center",style:{width:"50rpx",height:"50rpx","margin-left":"32rpx"}},{default:h(()=>[x(i,{src:A,onClick:a.back,style:{width:"48rpx",height:"48rpx"},mode:""},null,8,["onClick"])]),_:1}),x(k,{style:{"font-size":"30rpx"}},{default:h(()=>[g(y(e.$t("infoEntry.title")),1)]),_:1}),x(o,{style:{width:"50rpx","margin-right":"32rpx"}})]),_:1}),x(o,{class:"scroll-content"},{default:h(()=>[x(o,{class:"content"},{default:h(()=>[x(o,{class:"",style:{width:"680rpx",height:"396rpx","background-image":"linear-gradient(-45deg, #60D7FF, #68BBD7)","margin-top":"32rpx","border-radius":"20rpx","box-shadow":"0 0 10rpx 10rpx rgba(0, 0, 0, 0.1)"}}),x(o,{class:"",style:{width:"100%","font-size":"40rpx","padding-left":"54rpx","margin-top":"38rpx"}},{default:h(()=>[g(y(e.$t("infoEntry.personalInfo")),1)]),_:1}),x(o,{class:E(["column",{"flash-animation":"userName"===r.flashingField}]),style:{width:"680rpx","margin-top":"38rpx"},id:"fieldUserName"},{default:h(()=>[x(k,{style:{"font-size":"30rpx"}},{default:h(()=>[x(k,{style:{color:"#FF0000"}},{default:h(()=>[g("*")]),_:1}),g(y(e.$t("infoEntry.realName")),1)]),_:1}),x(V,{placeholder:e.$t("infoEntry.realNamePlaceholder"),border:"surround",modelValue:r.userName,"onUpdate:modelValue":t[0]||(t[0]=e=>r.userName=e)},null,8,["placeholder","modelValue"])]),_:1},8,["class"]),x(o,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),x(o,{class:E(["column",{"flash-animation":"contact"===r.flashingField}]),style:{width:"680rpx","margin-top":"14rpx"},id:"fieldContact"},{default:h(()=>[x(k,{style:{"font-size":"30rpx"}},{default:h(()=>[x(k,{style:{color:"#FF0000"}},{default:h(()=>[g("*")]),_:1}),g(y(e.$t("infoEntry.wechat"))+" ("+y(e.$t("infoEntry.contactMethod"))+")",1)]),_:1}),x(V,{placeholder:e.$t("infoEntry.wechatPlaceholder"),border:"surround",modelValue:r.userWechat,"onUpdate:modelValue":t[1]||(t[1]=e=>r.userWechat=e)},null,8,["placeholder","modelValue"])]),_:1},8,["class"]),x(o,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),x(o,{class:E(["column",{"flash-animation":"contact"===r.flashingField}]),style:{width:"680rpx","margin-top":"14rpx"}},{default:h(()=>[x(k,{style:{"font-size":"30rpx"}},{default:h(()=>[x(k,{style:{color:"#FF0000"}},{default:h(()=>[g("*")]),_:1}),g(y(e.$t("infoEntry.phone"))+" ("+y(e.$t("infoEntry.contactMethod"))+")",1)]),_:1}),x(o,{class:"row",style:{"margin-top":"10rpx","margin-bottom":"10rpx"}},{default:h(()=>[x(F,{modelValue:r.selectedDialCode,"onUpdate:modelValue":t[2]||(t[2]=e=>r.selectedDialCode=e),title:e.$t("infoEntry.selectCountry"),height:"70%",width:"60vw",duration:350,position:"bottom",round:!0,radius:"24rpx","mask-closable":!0},null,8,["modelValue","title"]),x(V,{placeholder:e.$t("infoEntry.phonePlaceholder"),border:"surround",modelValue:r.userPhone,"onUpdate:modelValue":t[3]||(t[3]=e=>r.userPhone=e)},null,8,["placeholder","modelValue"])]),_:1})]),_:1},8,["class"]),x(o,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),x(o,{class:E(["column",{"flash-animation":"contact"===r.flashingField}]),style:{width:"680rpx","margin-top":"14rpx"}},{default:h(()=>[x(k,{style:{"font-size":"30rpx"}},{default:h(()=>[x(k,{style:{color:"#FF0000"}},{default:h(()=>[g("*")]),_:1}),g(y(e.$t("infoEntry.whatsapp"))+" ("+y(e.$t("infoEntry.contactMethod"))+")",1)]),_:1}),x(V,{placeholder:e.$t("infoEntry.whatsappPlaceholder"),border:"surround",modelValue:r.userWhats,"onUpdate:modelValue":t[4]||(t[4]=e=>r.userWhats=e)},null,8,["placeholder","modelValue"])]),_:1},8,["class"]),x(o,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),x(o,{class:"column",style:{width:"680rpx","margin-top":"14rpx"}},{default:h(()=>[x(k,{style:{"font-size":"30rpx"}},{default:h(()=>[g(y(e.$t("infoEntry.remark")),1)]),_:1}),x(V,{placeholder:e.$t("infoEntry.remarkPlaceholder"),border:"surround",modelValue:r.remark,"onUpdate:modelValue":t[5]||(t[5]=e=>r.remark=e)},null,8,["placeholder","modelValue"])]),_:1}),x(o,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),x(o,{class:"",style:{width:"100%","font-size":"40rpx","padding-left":"54rpx","margin-top":"38rpx"}},{default:h(()=>[g(y(e.$t("infoEntry.serviceInfo")),1)]),_:1}),x(o,{class:E(["column",{"flash-animation":"specificRequirements"===r.flashingField}]),style:{width:"680rpx","margin-top":"14rpx"},id:"fieldSpecificRequirements"},{default:h(()=>[x(k,{style:{"font-size":"30rpx"}},{default:h(()=>[x(k,{style:{color:"#FF0000"}},{default:h(()=>[g("*")]),_:1}),g("具体需求")]),_:1}),x($,{modelValue:r.specificRequirements,"onUpdate:modelValue":t[6]||(t[6]=e=>r.specificRequirements=e),placeholder:"请详细描述您的保险咨询需求,如:保险类型、出行目的地、保障范围、出行时间等",maxlength:1e3,count:!0,height:"200",border:"surround"},null,8,["modelValue"])]),_:1},8,["class"]),x(o,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),x(o,{class:"center",onClick:t[7]||(t[7]=e=>a.checkData()),style:{width:"642rpx",height:"72rpx","background-color":"#57C9DD","border-radius":"16rpx","box-shadow":"0 0 10rpx 10rpx rgba(0, 0, 0, 0.1)","margin-top":"50rpx","margin-bottom":"100rpx"}},{default:h(()=>[g(y(e.$t("common.submit")),1)]),_:1})]),_:1})]),_:1})]),_:1})}],["__scopeId","data-v-82efdc94"]]);export{F as default}; diff --git a/miniprogram/dist/build/h5/assets/pages-appointment-medical-consultation-page.3754f2ce.js b/miniprogram/dist/build/h5/assets/pages-appointment-medical-consultation-page.3754f2ce.js deleted file mode 100644 index b95c202..0000000 --- a/miniprogram/dist/build/h5/assets/pages-appointment-medical-consultation-page.3754f2ce.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as e,m as t,L as a,M as l,l as r,k as i,N as o,O as s,G as n,H as d,o as c,c as h,w as p,i as u,P as m,a4 as f,R as x,e as g,f as y,t as w,A as D,g as _,h as E}from"./index-a09151d6.js";import{_ as b}from"./aure-country-picker.01cea584.js";import{A as k}from"./AppServer.888fd24d.js";import{_ as C}from"./ic_back.5440bd15.js";import{_ as A}from"./arrow_right2.8bd5bd0f.js";const F=new k;const V=e({data:()=>({serviceId:"",serviceTitle:"",userName:"",userWechat:"",userPhone:"",userWhats:"",remark:"",reservationDate:"",itinerary:"",hospitalName:"",conditionDescription:"",submitting:!1,flashingField:"",selectedDialCode:"86",showCalendar:!1,minDate:"",maxDate:""}),onLoad(e){this.initDateRange(),e.id&&(this.serviceId=e.id),e.title&&(this.serviceTitle=decodeURIComponent(e.title))},methods:{initDateRange(){const e=new Date,t=e.getFullYear(),a=String(e.getMonth()+1).padStart(2,"0"),l=String(e.getDate()).padStart(2,"0");this.minDate=`${t}-${a}-${l}`,this.maxDate=`${t+2}-12-31`},openCalendar(){this.initDateRange(),this.$nextTick(()=>{this.showCalendar=!0})},closeCalendar(){this.showCalendar=!1},onCalendarConfirm(e){e&&e.length>0&&(this.reservationDate=e[0]),this.showCalendar=!1},checkData(){const e=[{field:"userName",selector:"#fieldUserName",check:()=>!this.userName.trim(),message:"请输入真实姓名"},{field:"contact",selector:"#fieldContact",check:()=>!this.userWechat.trim()&&!this.userPhone.trim()&&!this.userWhats.trim(),message:"请至少填写一种联系方式(微信号/手机号/WhatsApp)"},{field:"reservationDate",selector:"#fieldReservationDate",check:()=>!this.reservationDate,message:"请选择预约日期"},{field:"itinerary",selector:"#fieldItinerary",check:()=>!this.itinerary.trim(),message:"请输入行程信息"},{field:"hospitalName",selector:"#fieldHospitalName",check:()=>!this.hospitalName.trim(),message:"请输入医院名称"},{field:"conditionDescription",selector:"#fieldConditionDescription",check:()=>!this.conditionDescription.trim(),message:"请输入病情描述"}];for(const a of e)if(a.check())return t({title:a.message,icon:"none"}),this.scrollToElement(a.selector),this.flashingField=a.field,void setTimeout(()=>{this.flashingField=""},1500);this.submitAppointment()},async submitAppointment(){var e;if(!this.submitting){this.submitting=!0,a({title:"提交中...",mask:!0});try{const a={hotServiceId:parseInt(this.serviceId)||null,serviceType:"medical_consultation",realName:this.userName.trim(),wechatId:this.userWechat.trim()||null,phone:this.userPhone.trim()||null,phoneCountryCode:this.userPhone.trim()?this.selectedDialCode:null,whatsapp:this.userWhats.trim()||null,notes:this.remark.trim()||null,appointmentDate:this.reservationDate,itinerary:this.itinerary.trim(),hospitalName:this.hospitalName.trim(),conditionDescription:this.conditionDescription.trim()},i=await F.CreateAppointment(a);l(),i.success||0===i.code?(t({title:"预约提交成功",icon:"success"}),setTimeout(()=>{r({delta:1})},1500)):t({title:(null==(e=i.error)?void 0:e.message)||"提交失败,请重试",icon:"none"})}catch(i){l(),console.error("提交预约失败:",i),t({title:"网络错误,请重试",icon:"none"})}finally{this.submitting=!1}}},scrollToElement(e){const t=i().windowHeight,a=o().in(this);a.select(e).boundingClientRect(),a.selectViewport().scrollOffset(),a.exec(e=>{if(e[0]&&e[1]){const a=e[0],l=e[1].scrollTop+a.top-t/2+a.height/2;s({scrollTop:Math.max(0,l),duration:300})}})},back(){r({delta:1})}}},[["render",function(e,t,a,l,r,i){const o=_,s=u,k=E,F=n(d("up-input"),m),V=n(d("aure-country-picker"),b),v=n(d("up-textarea"),f),$=n(d("up-calendar"),x);return c(),h(s,{class:"page"},{default:p(()=>[g(s,{class:"header"},{default:p(()=>[g(s,{class:"center",style:{width:"50rpx",height:"50rpx","margin-left":"32rpx"}},{default:p(()=>[g(o,{src:C,onClick:i.back,style:{width:"48rpx",height:"48rpx"},mode:""},null,8,["onClick"])]),_:1}),g(k,{style:{"font-size":"30rpx"}},{default:p(()=>[y(w(e.$t("infoEntry.title")),1)]),_:1}),g(s,{style:{width:"50rpx","margin-right":"32rpx"}})]),_:1}),g(s,{class:"scroll-content"},{default:p(()=>[g(s,{class:"content"},{default:p(()=>[g(s,{class:"",style:{width:"680rpx",height:"396rpx","background-image":"linear-gradient(-45deg, #60D7FF, #68BBD7)","margin-top":"32rpx","border-radius":"20rpx","box-shadow":"0 0 10rpx 10rpx rgba(0, 0, 0, 0.1)"}}),g(s,{class:"",style:{width:"100%","font-size":"40rpx","padding-left":"54rpx","margin-top":"38rpx"}},{default:p(()=>[y(w(e.$t("infoEntry.personalInfo")),1)]),_:1}),g(s,{class:D(["column",{"flash-animation":"userName"===r.flashingField}]),style:{width:"680rpx","margin-top":"38rpx"},id:"fieldUserName"},{default:p(()=>[g(k,{style:{"font-size":"30rpx"}},{default:p(()=>[g(k,{style:{color:"#FF0000"}},{default:p(()=>[y("*")]),_:1}),y(w(e.$t("infoEntry.realName")),1)]),_:1}),g(F,{placeholder:e.$t("infoEntry.realNamePlaceholder"),border:"surround",modelValue:r.userName,"onUpdate:modelValue":t[0]||(t[0]=e=>r.userName=e)},null,8,["placeholder","modelValue"])]),_:1},8,["class"]),g(s,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),g(s,{class:D(["column",{"flash-animation":"contact"===r.flashingField}]),style:{width:"680rpx","margin-top":"14rpx"},id:"fieldContact"},{default:p(()=>[g(k,{style:{"font-size":"30rpx"}},{default:p(()=>[g(k,{style:{color:"#FF0000"}},{default:p(()=>[y("*")]),_:1}),y(w(e.$t("infoEntry.wechat"))+" ("+w(e.$t("infoEntry.contactMethod"))+")",1)]),_:1}),g(F,{placeholder:e.$t("infoEntry.wechatPlaceholder"),border:"surround",modelValue:r.userWechat,"onUpdate:modelValue":t[1]||(t[1]=e=>r.userWechat=e)},null,8,["placeholder","modelValue"])]),_:1},8,["class"]),g(s,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),g(s,{class:D(["column",{"flash-animation":"contact"===r.flashingField}]),style:{width:"680rpx","margin-top":"14rpx"}},{default:p(()=>[g(k,{style:{"font-size":"30rpx"}},{default:p(()=>[g(k,{style:{color:"#FF0000"}},{default:p(()=>[y("*")]),_:1}),y(w(e.$t("infoEntry.phone"))+" ("+w(e.$t("infoEntry.contactMethod"))+")",1)]),_:1}),g(s,{class:"row",style:{"margin-top":"10rpx","margin-bottom":"10rpx"}},{default:p(()=>[g(V,{modelValue:r.selectedDialCode,"onUpdate:modelValue":t[2]||(t[2]=e=>r.selectedDialCode=e),title:e.$t("infoEntry.selectCountry"),height:"70%",width:"60vw",duration:350,position:"bottom",round:!0,radius:"24rpx","mask-closable":!0},null,8,["modelValue","title"]),g(F,{placeholder:e.$t("infoEntry.phonePlaceholder"),border:"surround",modelValue:r.userPhone,"onUpdate:modelValue":t[3]||(t[3]=e=>r.userPhone=e)},null,8,["placeholder","modelValue"])]),_:1})]),_:1},8,["class"]),g(s,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),g(s,{class:D(["column",{"flash-animation":"contact"===r.flashingField}]),style:{width:"680rpx","margin-top":"14rpx"}},{default:p(()=>[g(k,{style:{"font-size":"30rpx"}},{default:p(()=>[g(k,{style:{color:"#FF0000"}},{default:p(()=>[y("*")]),_:1}),y(w(e.$t("infoEntry.whatsapp"))+" ("+w(e.$t("infoEntry.contactMethod"))+")",1)]),_:1}),g(F,{placeholder:e.$t("infoEntry.whatsappPlaceholder"),border:"surround",modelValue:r.userWhats,"onUpdate:modelValue":t[4]||(t[4]=e=>r.userWhats=e)},null,8,["placeholder","modelValue"])]),_:1},8,["class"]),g(s,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),g(s,{class:"column",style:{width:"680rpx","margin-top":"14rpx"}},{default:p(()=>[g(k,{style:{"font-size":"30rpx"}},{default:p(()=>[y(w(e.$t("infoEntry.remark")),1)]),_:1}),g(F,{placeholder:e.$t("infoEntry.remarkPlaceholder"),border:"surround",modelValue:r.remark,"onUpdate:modelValue":t[5]||(t[5]=e=>r.remark=e)},null,8,["placeholder","modelValue"])]),_:1}),g(s,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),g(s,{class:"",style:{width:"100%","font-size":"40rpx","padding-left":"54rpx","margin-top":"38rpx"}},{default:p(()=>[y(w(e.$t("infoEntry.serviceInfo")),1)]),_:1}),g(s,{class:D(["column",{"flash-animation":"reservationDate"===r.flashingField}]),style:{width:"680rpx","margin-top":"14rpx"},id:"fieldReservationDate"},{default:p(()=>[g(k,{style:{"font-size":"30rpx"}},{default:p(()=>[g(k,{style:{color:"#FF0000"}},{default:p(()=>[y("*")]),_:1}),y("预约日期")]),_:1}),g(s,{class:"date-item",onClick:i.openCalendar},{default:p(()=>[g(k,{class:D(["date-text",{"date-placeholder":!r.reservationDate}])},{default:p(()=>[y(w(r.reservationDate||"请选择预约日期"),1)]),_:1},8,["class"]),g(o,{src:A,style:{width:"32rpx",height:"32rpx"},mode:"aspectFit"})]),_:1},8,["onClick"])]),_:1},8,["class"]),g(s,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),g(s,{class:D(["column",{"flash-animation":"itinerary"===r.flashingField}]),style:{width:"680rpx","margin-top":"14rpx"},id:"fieldItinerary"},{default:p(()=>[g(k,{style:{"font-size":"30rpx"}},{default:p(()=>[g(k,{style:{color:"#FF0000"}},{default:p(()=>[y("*")]),_:1}),y("行程")]),_:1}),g(F,{placeholder:"请输入行程信息(如:北京-上海)",border:"surround",modelValue:r.itinerary,"onUpdate:modelValue":t[6]||(t[6]=e=>r.itinerary=e)},null,8,["modelValue"])]),_:1},8,["class"]),g(s,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),g(s,{class:D(["column",{"flash-animation":"hospitalName"===r.flashingField}]),style:{width:"680rpx","margin-top":"14rpx"},id:"fieldHospitalName"},{default:p(()=>[g(k,{style:{"font-size":"30rpx"}},{default:p(()=>[g(k,{style:{color:"#FF0000"}},{default:p(()=>[y("*")]),_:1}),y("医院名称")]),_:1}),g(F,{placeholder:"请输入医院名称",border:"surround",modelValue:r.hospitalName,"onUpdate:modelValue":t[7]||(t[7]=e=>r.hospitalName=e)},null,8,["modelValue"])]),_:1},8,["class"]),g(s,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),g(s,{class:D(["column",{"flash-animation":"conditionDescription"===r.flashingField}]),style:{width:"680rpx","margin-top":"14rpx"},id:"fieldConditionDescription"},{default:p(()=>[g(k,{style:{"font-size":"30rpx"}},{default:p(()=>[g(k,{style:{color:"#FF0000"}},{default:p(()=>[y("*")]),_:1}),y("病情描述")]),_:1}),g(v,{modelValue:r.conditionDescription,"onUpdate:modelValue":t[8]||(t[8]=e=>r.conditionDescription=e),placeholder:"请详细描述您的病情或咨询需求",maxlength:1e3,count:!0,height:"200",border:"surround"},null,8,["modelValue"])]),_:1},8,["class"]),g(s,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),g(s,{class:"center",onClick:t[9]||(t[9]=e=>i.checkData()),style:{width:"642rpx",height:"72rpx","background-color":"#57C9DD","border-radius":"16rpx","box-shadow":"0 0 10rpx 10rpx rgba(0, 0, 0, 0.1)","margin-top":"50rpx","margin-bottom":"100rpx"}},{default:p(()=>[y(w(e.$t("common.submit")),1)]),_:1})]),_:1})]),_:1}),g($,{show:r.showCalendar,mode:"single",minDate:r.minDate,maxDate:r.maxDate,onConfirm:i.onCalendarConfirm,onClose:i.closeCalendar,confirmText:e.$t("common.confirm"),color:"#57C9DD"},null,8,["show","minDate","maxDate","onConfirm","onClose","confirmText"])]),_:1})}],["__scopeId","data-v-cffcea11"]]);export{V as default}; diff --git a/miniprogram/dist/build/h5/assets/pages-appointment-pet-transportation-page.bd4b9540.js b/miniprogram/dist/build/h5/assets/pages-appointment-pet-transportation-page.bd4b9540.js deleted file mode 100644 index 529ce2e..0000000 --- a/miniprogram/dist/build/h5/assets/pages-appointment-pet-transportation-page.bd4b9540.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as e,m as t,L as a,M as l,l as r,k as s,N as i,O as o,G as n,H as d,o as c,c as u,w as h,i as p,P as m,Q as f,R as g,e as x,f as y,t as w,A as _,g as C,h as E}from"./index-a09151d6.js";import{_ as k}from"./aure-country-picker.01cea584.js";import{A as b}from"./AppServer.888fd24d.js";import{_ as A}from"./ic_back.5440bd15.js";import{_ as D}from"./arrow_right2.8bd5bd0f.js";import{_ as F}from"./arrow_down.807172e3.js";const N=new b;const V=e({data:()=>({serviceId:"",serviceTitle:"",userName:"",userWechat:"",userPhone:"",userWhats:"",remark:"",origin:"",destination:"",flightNo:"",departureDate:"",petType:"",petName:"",hasQuarantineCert:!0,quarantineIndex:0,quarantineColumns:[[{label:"是",value:!0},{label:"否",value:!1}]],submitting:!1,flashingField:"",selectedDialCode:"86",showCalendar:!1,showQuarantinePicker:!1,minDate:"",maxDate:""}),computed:{quarantineCertText(){const e=this.quarantineColumns[0].find(e=>e.value===this.hasQuarantineCert);return e?e.label:"是"}},onLoad(e){this.initDateRange(),e.id&&(this.serviceId=e.id),e.title&&(this.serviceTitle=decodeURIComponent(e.title))},methods:{initDateRange(){const e=new Date,t=e.getFullYear(),a=String(e.getMonth()+1).padStart(2,"0"),l=String(e.getDate()).padStart(2,"0");this.minDate=`${t}-${a}-${l}`,this.maxDate=`${t+2}-12-31`},openCalendar(){this.initDateRange(),this.$nextTick(()=>{this.showCalendar=!0})},closeCalendar(){this.showCalendar=!1},onCalendarConfirm(e){e&&e.length>0&&(this.departureDate=e[0]),this.showCalendar=!1},onQuarantineConfirm(e){const t=e.value[0];this.hasQuarantineCert=t.value,this.quarantineIndex=this.quarantineColumns[0].findIndex(e=>e.value===t.value),this.showQuarantinePicker=!1},checkData(){const e=[{field:"userName",selector:"#fieldUserName",check:()=>!this.userName.trim(),message:"请输入真实姓名"},{field:"contact",selector:"#fieldContact",check:()=>!this.userWechat.trim()&&!this.userPhone.trim()&&!this.userWhats.trim(),message:"请至少填写一种联系方式(微信号/手机号/WhatsApp)"},{field:"origin",selector:"#fieldOrigin",check:()=>!this.origin.trim(),message:"请输入出发地"},{field:"destination",selector:"#fieldDestination",check:()=>!this.destination.trim(),message:"请输入目的地"},{field:"flightNo",selector:"#fieldFlightNo",check:()=>!this.flightNo.trim(),message:"请输入航班号"},{field:"departureDate",selector:"#fieldDepartureDate",check:()=>!this.departureDate,message:"请选择出发日期"},{field:"petType",selector:"#fieldPetType",check:()=>!this.petType.trim(),message:"请输入宠物类型"},{field:"petName",selector:"#fieldPetName",check:()=>!this.petName.trim(),message:"请输入宠物名称"}];for(const a of e)if(a.check())return t({title:a.message,icon:"none"}),this.scrollToElement(a.selector),this.flashingField=a.field,void setTimeout(()=>{this.flashingField=""},1500);this.submitAppointment()},async submitAppointment(){var e;if(!this.submitting){this.submitting=!0,a({title:"提交中...",mask:!0});try{const a={hotServiceId:parseInt(this.serviceId)||null,serviceType:"pet_transportation",realName:this.userName.trim(),wechatId:this.userWechat.trim()||null,phone:this.userPhone.trim()||null,phoneCountryCode:this.userPhone.trim()?this.selectedDialCode:null,whatsapp:this.userWhats.trim()||null,notes:this.remark.trim()||null,origin:this.origin.trim(),destination:this.destination.trim(),flightNo:this.flightNo.trim(),departureDate:this.departureDate,petType:this.petType.trim(),petName:this.petName.trim(),hasQuarantineCert:this.hasQuarantineCert},s=await N.CreateAppointment(a);l(),s.success||0===s.code?(t({title:"预约提交成功",icon:"success"}),setTimeout(()=>{r({delta:1})},1500)):t({title:(null==(e=s.error)?void 0:e.message)||"提交失败,请重试",icon:"none"})}catch(s){l(),console.error("提交预约失败:",s),t({title:"网络错误,请重试",icon:"none"})}finally{this.submitting=!1}}},scrollToElement(e){const t=s().windowHeight,a=i().in(this);a.select(e).boundingClientRect(),a.selectViewport().scrollOffset(),a.exec(e=>{if(e[0]&&e[1]){const a=e[0],l=e[1].scrollTop+a.top-t/2+a.height/2;o({scrollTop:Math.max(0,l),duration:300})}})},back(){r({delta:1})}}},[["render",function(e,t,a,l,r,s){const i=C,o=p,b=E,N=n(d("up-input"),m),V=n(d("aure-country-picker"),k),T=n(d("up-picker"),f),$=n(d("up-calendar"),g);return c(),u(o,{class:"page"},{default:h(()=>[x(o,{class:"header"},{default:h(()=>[x(o,{class:"center",style:{width:"50rpx",height:"50rpx","margin-left":"32rpx"}},{default:h(()=>[x(i,{src:A,onClick:s.back,style:{width:"48rpx",height:"48rpx"},mode:""},null,8,["onClick"])]),_:1}),x(b,{style:{"font-size":"30rpx"}},{default:h(()=>[y(w(e.$t("infoEntry.title")),1)]),_:1}),x(o,{style:{width:"50rpx","margin-right":"32rpx"}})]),_:1}),x(o,{class:"scroll-content"},{default:h(()=>[x(o,{class:"content"},{default:h(()=>[x(o,{class:"",style:{width:"680rpx",height:"396rpx","background-image":"linear-gradient(-45deg, #60D7FF, #68BBD7)","margin-top":"32rpx","border-radius":"20rpx","box-shadow":"0 0 10rpx 10rpx rgba(0, 0, 0, 0.1)"}}),x(o,{class:"",style:{width:"100%","font-size":"40rpx","padding-left":"54rpx","margin-top":"38rpx"}},{default:h(()=>[y(w(e.$t("infoEntry.personalInfo")),1)]),_:1}),x(o,{class:_(["column",{"flash-animation":"userName"===r.flashingField}]),style:{width:"680rpx","margin-top":"38rpx"},id:"fieldUserName"},{default:h(()=>[x(b,{style:{"font-size":"30rpx"}},{default:h(()=>[x(b,{style:{color:"#FF0000"}},{default:h(()=>[y("*")]),_:1}),y(w(e.$t("infoEntry.realName")),1)]),_:1}),x(N,{placeholder:e.$t("infoEntry.realNamePlaceholder"),border:"surround",modelValue:r.userName,"onUpdate:modelValue":t[0]||(t[0]=e=>r.userName=e)},null,8,["placeholder","modelValue"])]),_:1},8,["class"]),x(o,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),x(o,{class:_(["column",{"flash-animation":"contact"===r.flashingField}]),style:{width:"680rpx","margin-top":"14rpx"},id:"fieldContact"},{default:h(()=>[x(b,{style:{"font-size":"30rpx"}},{default:h(()=>[x(b,{style:{color:"#FF0000"}},{default:h(()=>[y("*")]),_:1}),y(w(e.$t("infoEntry.wechat"))+" ("+w(e.$t("infoEntry.contactMethod"))+")",1)]),_:1}),x(N,{placeholder:e.$t("infoEntry.wechatPlaceholder"),border:"surround",modelValue:r.userWechat,"onUpdate:modelValue":t[1]||(t[1]=e=>r.userWechat=e)},null,8,["placeholder","modelValue"])]),_:1},8,["class"]),x(o,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),x(o,{class:_(["column",{"flash-animation":"contact"===r.flashingField}]),style:{width:"680rpx","margin-top":"14rpx"}},{default:h(()=>[x(b,{style:{"font-size":"30rpx"}},{default:h(()=>[x(b,{style:{color:"#FF0000"}},{default:h(()=>[y("*")]),_:1}),y(w(e.$t("infoEntry.phone"))+" ("+w(e.$t("infoEntry.contactMethod"))+")",1)]),_:1}),x(o,{class:"row",style:{"margin-top":"10rpx","margin-bottom":"10rpx"}},{default:h(()=>[x(V,{modelValue:r.selectedDialCode,"onUpdate:modelValue":t[2]||(t[2]=e=>r.selectedDialCode=e),title:e.$t("infoEntry.selectCountry"),height:"70%",width:"60vw",duration:350,position:"bottom",round:!0,radius:"24rpx","mask-closable":!0},null,8,["modelValue","title"]),x(N,{placeholder:e.$t("infoEntry.phonePlaceholder"),border:"surround",modelValue:r.userPhone,"onUpdate:modelValue":t[3]||(t[3]=e=>r.userPhone=e)},null,8,["placeholder","modelValue"])]),_:1})]),_:1},8,["class"]),x(o,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),x(o,{class:_(["column",{"flash-animation":"contact"===r.flashingField}]),style:{width:"680rpx","margin-top":"14rpx"}},{default:h(()=>[x(b,{style:{"font-size":"30rpx"}},{default:h(()=>[x(b,{style:{color:"#FF0000"}},{default:h(()=>[y("*")]),_:1}),y(w(e.$t("infoEntry.whatsapp"))+" ("+w(e.$t("infoEntry.contactMethod"))+")",1)]),_:1}),x(N,{placeholder:e.$t("infoEntry.whatsappPlaceholder"),border:"surround",modelValue:r.userWhats,"onUpdate:modelValue":t[4]||(t[4]=e=>r.userWhats=e)},null,8,["placeholder","modelValue"])]),_:1},8,["class"]),x(o,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),x(o,{class:"column",style:{width:"680rpx","margin-top":"14rpx"}},{default:h(()=>[x(b,{style:{"font-size":"30rpx"}},{default:h(()=>[y(w(e.$t("infoEntry.remark")),1)]),_:1}),x(N,{placeholder:e.$t("infoEntry.remarkPlaceholder"),border:"surround",modelValue:r.remark,"onUpdate:modelValue":t[5]||(t[5]=e=>r.remark=e)},null,8,["placeholder","modelValue"])]),_:1}),x(o,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),x(o,{class:"",style:{width:"100%","font-size":"40rpx","padding-left":"54rpx","margin-top":"38rpx"}},{default:h(()=>[y(w(e.$t("infoEntry.serviceInfo")),1)]),_:1}),x(o,{class:_(["column",{"flash-animation":"origin"===r.flashingField}]),style:{width:"680rpx","margin-top":"14rpx"},id:"fieldOrigin"},{default:h(()=>[x(b,{style:{"font-size":"30rpx"}},{default:h(()=>[x(b,{style:{color:"#FF0000"}},{default:h(()=>[y("*")]),_:1}),y("出发地")]),_:1}),x(N,{placeholder:"请输入出发地",border:"surround",modelValue:r.origin,"onUpdate:modelValue":t[6]||(t[6]=e=>r.origin=e)},null,8,["modelValue"])]),_:1},8,["class"]),x(o,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),x(o,{class:_(["column",{"flash-animation":"destination"===r.flashingField}]),style:{width:"680rpx","margin-top":"14rpx"},id:"fieldDestination"},{default:h(()=>[x(b,{style:{"font-size":"30rpx"}},{default:h(()=>[x(b,{style:{color:"#FF0000"}},{default:h(()=>[y("*")]),_:1}),y("目的地")]),_:1}),x(N,{placeholder:"请输入目的地",border:"surround",modelValue:r.destination,"onUpdate:modelValue":t[7]||(t[7]=e=>r.destination=e)},null,8,["modelValue"])]),_:1},8,["class"]),x(o,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),x(o,{class:_(["column",{"flash-animation":"flightNo"===r.flashingField}]),style:{width:"680rpx","margin-top":"14rpx"},id:"fieldFlightNo"},{default:h(()=>[x(b,{style:{"font-size":"30rpx"}},{default:h(()=>[x(b,{style:{color:"#FF0000"}},{default:h(()=>[y("*")]),_:1}),y("航班号")]),_:1}),x(N,{placeholder:"请输入航班号",border:"surround",modelValue:r.flightNo,"onUpdate:modelValue":t[8]||(t[8]=e=>r.flightNo=e)},null,8,["modelValue"])]),_:1},8,["class"]),x(o,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),x(o,{class:_(["column",{"flash-animation":"departureDate"===r.flashingField}]),style:{width:"680rpx","margin-top":"14rpx"},id:"fieldDepartureDate"},{default:h(()=>[x(b,{style:{"font-size":"30rpx"}},{default:h(()=>[x(b,{style:{color:"#FF0000"}},{default:h(()=>[y("*")]),_:1}),y("出发日期")]),_:1}),x(o,{class:"date-item",onClick:s.openCalendar},{default:h(()=>[x(b,{class:_(["date-text",{"date-placeholder":!r.departureDate}])},{default:h(()=>[y(w(r.departureDate||"请选择出发日期"),1)]),_:1},8,["class"]),x(i,{src:D,style:{width:"32rpx",height:"32rpx"},mode:"aspectFit"})]),_:1},8,["onClick"])]),_:1},8,["class"]),x(o,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),x(o,{class:_(["column",{"flash-animation":"petType"===r.flashingField}]),style:{width:"680rpx","margin-top":"14rpx"},id:"fieldPetType"},{default:h(()=>[x(b,{style:{"font-size":"30rpx"}},{default:h(()=>[x(b,{style:{color:"#FF0000"}},{default:h(()=>[y("*")]),_:1}),y("宠物类型")]),_:1}),x(N,{placeholder:"请输入宠物类型(如:狗、猫等)",border:"surround",modelValue:r.petType,"onUpdate:modelValue":t[9]||(t[9]=e=>r.petType=e)},null,8,["modelValue"])]),_:1},8,["class"]),x(o,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),x(o,{class:_(["column",{"flash-animation":"petName"===r.flashingField}]),style:{width:"680rpx","margin-top":"14rpx"},id:"fieldPetName"},{default:h(()=>[x(b,{style:{"font-size":"30rpx"}},{default:h(()=>[x(b,{style:{color:"#FF0000"}},{default:h(()=>[y("*")]),_:1}),y("宠物名称")]),_:1}),x(N,{placeholder:"请输入宠物名称",border:"surround",modelValue:r.petName,"onUpdate:modelValue":t[10]||(t[10]=e=>r.petName=e)},null,8,["modelValue"])]),_:1},8,["class"]),x(o,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),x(o,{class:_(["column",{"flash-animation":"hasQuarantineCert"===r.flashingField}]),style:{width:"680rpx","margin-top":"14rpx"},id:"fieldHasQuarantineCert"},{default:h(()=>[x(b,{style:{"font-size":"30rpx"}},{default:h(()=>[x(b,{style:{color:"#FF0000"}},{default:h(()=>[y("*")]),_:1}),y("是否有检疫证明")]),_:1}),x(o,{class:"date-item",onClick:t[11]||(t[11]=e=>r.showQuarantinePicker=!0)},{default:h(()=>[x(b,{class:"date-text"},{default:h(()=>[y(w(s.quarantineCertText),1)]),_:1}),x(i,{src:F,style:{width:"32rpx",height:"32rpx"},mode:"aspectFit"})]),_:1})]),_:1},8,["class"]),x(o,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),x(o,{class:"center",onClick:t[12]||(t[12]=e=>s.checkData()),style:{width:"642rpx",height:"72rpx","background-color":"#57C9DD","border-radius":"16rpx","box-shadow":"0 0 10rpx 10rpx rgba(0, 0, 0, 0.1)","margin-top":"50rpx","margin-bottom":"100rpx"}},{default:h(()=>[y(w(e.$t("common.submit")),1)]),_:1})]),_:1})]),_:1}),x(T,{show:r.showQuarantinePicker,columns:r.quarantineColumns,onConfirm:s.onQuarantineConfirm,onCancel:t[13]||(t[13]=e=>r.showQuarantinePicker=!1),onClose:t[14]||(t[14]=e=>r.showQuarantinePicker=!1),defaultIndex:[r.quarantineIndex],keyName:"label"},null,8,["show","columns","onConfirm","defaultIndex"]),x($,{show:r.showCalendar,mode:"single",minDate:r.minDate,maxDate:r.maxDate,onConfirm:s.onCalendarConfirm,onClose:s.closeCalendar,confirmText:e.$t("common.confirm"),color:"#57C9DD"},null,8,["show","minDate","maxDate","onConfirm","onClose","confirmText"])]),_:1})}],["__scopeId","data-v-5b1bc6dd"]]);export{V as default}; diff --git a/miniprogram/dist/build/h5/assets/pages-appointment-rail-ticket-page.d930e7af.js b/miniprogram/dist/build/h5/assets/pages-appointment-rail-ticket-page.d930e7af.js deleted file mode 100644 index 318d5f7..0000000 --- a/miniprogram/dist/build/h5/assets/pages-appointment-rail-ticket-page.d930e7af.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as e,m as t,L as a,M as s,l,k as o,N as r,O as i,G as n,H as d,o as c,c as u,w as h,i as p,P as m,Q as f,R as g,e as x,f as C,t as y,A as w,g as _,h as k}from"./index-a09151d6.js";import{_ as b}from"./aure-country-picker.01cea584.js";import{A as E}from"./AppServer.888fd24d.js";import{_ as D}from"./ic_back.5440bd15.js";import{_ as A}from"./arrow_right2.8bd5bd0f.js";import{_ as F}from"./arrow_down.807172e3.js";const S=new E;const V=e({data:()=>({serviceId:"",serviceTitle:"",userName:"",userWechat:"",userPhone:"",userWhats:"",remark:"",departureDate:"",originStation:"",destinationStation:"",passengerCount:1,seatClass:"second",seatClassIndex:1,seatClassColumns:[[{label:"一等座",value:"first"},{label:"二等座",value:"second"},{label:"三等座",value:"third"}]],submitting:!1,flashingField:"",selectedDialCode:"86",showCalendar:!1,showSeatClassPicker:!1,minDate:"",maxDate:""}),computed:{seatClassText(){const e=this.seatClassColumns[0].find(e=>e.value===this.seatClass);return e?e.label:"二等座"}},onLoad(e){this.initDateRange(),e.id&&(this.serviceId=e.id),e.title&&(this.serviceTitle=decodeURIComponent(e.title))},methods:{initDateRange(){const e=new Date,t=e.getFullYear(),a=String(e.getMonth()+1).padStart(2,"0"),s=String(e.getDate()).padStart(2,"0");this.minDate=`${t}-${a}-${s}`,this.maxDate=`${t+2}-12-31`},openCalendar(){this.initDateRange(),this.$nextTick(()=>{this.showCalendar=!0})},closeCalendar(){this.showCalendar=!1},onCalendarConfirm(e){e&&e.length>0&&(this.departureDate=e[0]),this.showCalendar=!1},onSeatClassConfirm(e){const t=e.value[0];this.seatClass=t.value,this.seatClassIndex=this.seatClassColumns[0].findIndex(e=>e.value===t.value),this.showSeatClassPicker=!1},checkData(){const e=[{field:"userName",selector:"#fieldUserName",check:()=>!this.userName.trim(),message:"请输入真实姓名"},{field:"contact",selector:"#fieldContact",check:()=>!this.userWechat.trim()&&!this.userPhone.trim()&&!this.userWhats.trim(),message:"请至少填写一种联系方式(微信号/手机号/WhatsApp)"},{field:"departureDate",selector:"#fieldDepartureDate",check:()=>!this.departureDate,message:"请选择出发日期"},{field:"originStation",selector:"#fieldOriginStation",check:()=>!this.originStation.trim(),message:"请输入出发站"},{field:"destinationStation",selector:"#fieldDestinationStation",check:()=>!this.destinationStation.trim(),message:"请输入到达站"},{field:"passengerCount",selector:"#fieldPassengerCount",check:()=>0===this.passengerCount,message:"请至少选择一位乘客"}];for(const a of e)if(a.check())return t({title:a.message,icon:"none"}),this.scrollToElement(a.selector),this.flashingField=a.field,void setTimeout(()=>{this.flashingField=""},1500);this.submitAppointment()},async submitAppointment(){var e;if(!this.submitting){this.submitting=!0,a({title:"提交中...",mask:!0});try{const a={hotServiceId:parseInt(this.serviceId)||null,serviceType:"rail_ticket",realName:this.userName.trim(),wechatId:this.userWechat.trim()||null,phone:this.userPhone.trim()||null,phoneCountryCode:this.userPhone.trim()?this.selectedDialCode:null,whatsapp:this.userWhats.trim()||null,notes:this.remark.trim()||null,departureDate:this.departureDate,originStation:this.originStation.trim(),destinationStation:this.destinationStation.trim(),seatClass:this.seatClass,passengerCount:this.passengerCount},o=await S.CreateAppointment(a);s(),o.success||0===o.code?(t({title:"预约提交成功",icon:"success"}),setTimeout(()=>{l({delta:1})},1500)):t({title:(null==(e=o.error)?void 0:e.message)||"提交失败,请重试",icon:"none"})}catch(o){s(),console.error("提交预约失败:",o),t({title:"网络错误,请重试",icon:"none"})}finally{this.submitting=!1}}},scrollToElement(e){const t=o().windowHeight,a=r().in(this);a.select(e).boundingClientRect(),a.selectViewport().scrollOffset(),a.exec(e=>{if(e[0]&&e[1]){const a=e[0],s=e[1].scrollTop+a.top-t/2+a.height/2;i({scrollTop:Math.max(0,s),duration:300})}})},back(){l({delta:1})},increaseCount(){this.passengerCount++},decreaseCount(){this.passengerCount>0&&this.passengerCount--}}},[["render",function(e,t,a,s,l,o){const r=_,i=p,E=k,S=n(d("up-input"),m),V=n(d("aure-country-picker"),b),$=n(d("up-picker"),f),v=n(d("up-calendar"),g);return c(),u(i,{class:"page"},{default:h(()=>[x(i,{class:"header"},{default:h(()=>[x(i,{class:"center",style:{width:"50rpx",height:"50rpx","margin-left":"32rpx"}},{default:h(()=>[x(r,{src:D,onClick:o.back,style:{width:"48rpx",height:"48rpx"},mode:""},null,8,["onClick"])]),_:1}),x(E,{style:{"font-size":"30rpx"}},{default:h(()=>[C(y(e.$t("infoEntry.title")),1)]),_:1}),x(i,{style:{width:"50rpx","margin-right":"32rpx"}})]),_:1}),x(i,{class:"scroll-content"},{default:h(()=>[x(i,{class:"content"},{default:h(()=>[x(i,{class:"",style:{width:"680rpx",height:"396rpx","background-image":"linear-gradient(-45deg, #60D7FF, #68BBD7)","margin-top":"32rpx","border-radius":"20rpx","box-shadow":"0 0 10rpx 10rpx rgba(0, 0, 0, 0.1)"}}),x(i,{class:"",style:{width:"100%","font-size":"40rpx","padding-left":"54rpx","margin-top":"38rpx"}},{default:h(()=>[C(y(e.$t("infoEntry.personalInfo")),1)]),_:1}),x(i,{class:w(["column",{"flash-animation":"userName"===l.flashingField}]),style:{width:"680rpx","margin-top":"38rpx"},id:"fieldUserName"},{default:h(()=>[x(E,{style:{"font-size":"30rpx"}},{default:h(()=>[x(E,{style:{color:"#FF0000"}},{default:h(()=>[C("*")]),_:1}),C(y(e.$t("infoEntry.realName")),1)]),_:1}),x(S,{placeholder:e.$t("infoEntry.realNamePlaceholder"),border:"surround",modelValue:l.userName,"onUpdate:modelValue":t[0]||(t[0]=e=>l.userName=e)},null,8,["placeholder","modelValue"])]),_:1},8,["class"]),x(i,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),x(i,{class:w(["column",{"flash-animation":"contact"===l.flashingField}]),style:{width:"680rpx","margin-top":"14rpx"},id:"fieldContact"},{default:h(()=>[x(E,{style:{"font-size":"30rpx"}},{default:h(()=>[x(E,{style:{color:"#FF0000"}},{default:h(()=>[C("*")]),_:1}),C(y(e.$t("infoEntry.wechat"))+" ("+y(e.$t("infoEntry.contactMethod"))+")",1)]),_:1}),x(S,{placeholder:e.$t("infoEntry.wechatPlaceholder"),border:"surround",modelValue:l.userWechat,"onUpdate:modelValue":t[1]||(t[1]=e=>l.userWechat=e)},null,8,["placeholder","modelValue"])]),_:1},8,["class"]),x(i,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),x(i,{class:w(["column",{"flash-animation":"contact"===l.flashingField}]),style:{width:"680rpx","margin-top":"14rpx"}},{default:h(()=>[x(E,{style:{"font-size":"30rpx"}},{default:h(()=>[x(E,{style:{color:"#FF0000"}},{default:h(()=>[C("*")]),_:1}),C(y(e.$t("infoEntry.phone"))+" ("+y(e.$t("infoEntry.contactMethod"))+")",1)]),_:1}),x(i,{class:"row",style:{"margin-top":"10rpx","margin-bottom":"10rpx"}},{default:h(()=>[x(V,{modelValue:l.selectedDialCode,"onUpdate:modelValue":t[2]||(t[2]=e=>l.selectedDialCode=e),title:e.$t("infoEntry.selectCountry"),height:"70%",width:"60vw",duration:350,position:"bottom",round:!0,radius:"24rpx","mask-closable":!0},null,8,["modelValue","title"]),x(S,{placeholder:e.$t("infoEntry.phonePlaceholder"),border:"surround",modelValue:l.userPhone,"onUpdate:modelValue":t[3]||(t[3]=e=>l.userPhone=e)},null,8,["placeholder","modelValue"])]),_:1})]),_:1},8,["class"]),x(i,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),x(i,{class:w(["column",{"flash-animation":"contact"===l.flashingField}]),style:{width:"680rpx","margin-top":"14rpx"}},{default:h(()=>[x(E,{style:{"font-size":"30rpx"}},{default:h(()=>[x(E,{style:{color:"#FF0000"}},{default:h(()=>[C("*")]),_:1}),C(y(e.$t("infoEntry.whatsapp"))+" ("+y(e.$t("infoEntry.contactMethod"))+")",1)]),_:1}),x(S,{placeholder:e.$t("infoEntry.whatsappPlaceholder"),border:"surround",modelValue:l.userWhats,"onUpdate:modelValue":t[4]||(t[4]=e=>l.userWhats=e)},null,8,["placeholder","modelValue"])]),_:1},8,["class"]),x(i,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),x(i,{class:"column",style:{width:"680rpx","margin-top":"14rpx"}},{default:h(()=>[x(E,{style:{"font-size":"30rpx"}},{default:h(()=>[C(y(e.$t("infoEntry.remark")),1)]),_:1}),x(S,{placeholder:e.$t("infoEntry.remarkPlaceholder"),border:"surround",modelValue:l.remark,"onUpdate:modelValue":t[5]||(t[5]=e=>l.remark=e)},null,8,["placeholder","modelValue"])]),_:1}),x(i,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),x(i,{class:"",style:{width:"100%","font-size":"40rpx","padding-left":"54rpx","margin-top":"38rpx"}},{default:h(()=>[C(y(e.$t("infoEntry.serviceInfo")),1)]),_:1}),x(i,{class:w(["column",{"flash-animation":"departureDate"===l.flashingField}]),style:{width:"680rpx","margin-top":"14rpx"},id:"fieldDepartureDate"},{default:h(()=>[x(E,{style:{"font-size":"30rpx"}},{default:h(()=>[x(E,{style:{color:"#FF0000"}},{default:h(()=>[C("*")]),_:1}),C("出发日期")]),_:1}),x(i,{class:"date-item",onClick:o.openCalendar},{default:h(()=>[x(E,{class:w(["date-text",{"date-placeholder":!l.departureDate}])},{default:h(()=>[C(y(l.departureDate||"请选择出发日期"),1)]),_:1},8,["class"]),x(r,{src:A,style:{width:"32rpx",height:"32rpx"},mode:"aspectFit"})]),_:1},8,["onClick"])]),_:1},8,["class"]),x(i,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),x(i,{class:w(["column",{"flash-animation":"originStation"===l.flashingField}]),style:{width:"680rpx","margin-top":"14rpx"},id:"fieldOriginStation"},{default:h(()=>[x(E,{style:{"font-size":"30rpx"}},{default:h(()=>[x(E,{style:{color:"#FF0000"}},{default:h(()=>[C("*")]),_:1}),C("出发站")]),_:1}),x(S,{placeholder:"请输入出发站",border:"surround",modelValue:l.originStation,"onUpdate:modelValue":t[6]||(t[6]=e=>l.originStation=e)},null,8,["modelValue"])]),_:1},8,["class"]),x(i,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),x(i,{class:w(["column",{"flash-animation":"destinationStation"===l.flashingField}]),style:{width:"680rpx","margin-top":"14rpx"},id:"fieldDestinationStation"},{default:h(()=>[x(E,{style:{"font-size":"30rpx"}},{default:h(()=>[x(E,{style:{color:"#FF0000"}},{default:h(()=>[C("*")]),_:1}),C("到达站")]),_:1}),x(S,{placeholder:"请输入到达站",border:"surround",modelValue:l.destinationStation,"onUpdate:modelValue":t[7]||(t[7]=e=>l.destinationStation=e)},null,8,["modelValue"])]),_:1},8,["class"]),x(i,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),x(i,{class:"column",style:{width:"680rpx","margin-top":"14rpx"}},{default:h(()=>[x(E,{style:{"font-size":"30rpx"}},{default:h(()=>[x(E,{style:{color:"#FF0000"}},{default:h(()=>[C("*")]),_:1}),C("座位等级")]),_:1}),x(i,{class:"date-item",onClick:t[8]||(t[8]=e=>l.showSeatClassPicker=!0)},{default:h(()=>[x(E,{class:"date-text"},{default:h(()=>[C(y(o.seatClassText),1)]),_:1}),x(r,{src:F,style:{width:"32rpx",height:"32rpx"},mode:"aspectFit"})]),_:1})]),_:1}),x(i,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),x(i,{class:w(["column",{"flash-animation":"passengerCount"===l.flashingField}]),style:{width:"680rpx","margin-top":"14rpx"},id:"fieldPassengerCount"},{default:h(()=>[x(E,{style:{"font-size":"30rpx"}},{default:h(()=>[x(E,{style:{color:"#FF0000"}},{default:h(()=>[C("*")]),_:1}),C("乘客人数")]),_:1}),x(i,{class:"person-row"},{default:h(()=>[x(i,{class:"person-info"},{default:h(()=>[x(E,{class:"person-title"},{default:h(()=>[C("乘客")]),_:1})]),_:1}),x(i,{class:"person-counter"},{default:h(()=>[x(i,{class:"counter-btn",onClick:o.decreaseCount},{default:h(()=>[x(E,{class:"counter-icon"},{default:h(()=>[C("-")]),_:1})]),_:1},8,["onClick"]),x(E,{class:"counter-value"},{default:h(()=>[C(y(l.passengerCount)+"人",1)]),_:1}),x(i,{class:"counter-btn",onClick:o.increaseCount},{default:h(()=>[x(E,{class:"counter-icon"},{default:h(()=>[C("+")]),_:1})]),_:1},8,["onClick"])]),_:1})]),_:1})]),_:1},8,["class"]),x(i,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),x(i,{class:"center",onClick:t[9]||(t[9]=e=>o.checkData()),style:{width:"642rpx",height:"72rpx","background-color":"#57C9DD","border-radius":"16rpx","box-shadow":"0 0 10rpx 10rpx rgba(0, 0, 0, 0.1)","margin-top":"50rpx","margin-bottom":"100rpx"}},{default:h(()=>[C(y(e.$t("common.submit")),1)]),_:1})]),_:1})]),_:1}),x($,{show:l.showSeatClassPicker,columns:l.seatClassColumns,onConfirm:o.onSeatClassConfirm,onCancel:t[10]||(t[10]=e=>l.showSeatClassPicker=!1),onClose:t[11]||(t[11]=e=>l.showSeatClassPicker=!1),defaultIndex:[l.seatClassIndex],keyName:"label"},null,8,["show","columns","onConfirm","defaultIndex"]),x(v,{show:l.showCalendar,mode:"single",minDate:l.minDate,maxDate:l.maxDate,onConfirm:o.onCalendarConfirm,onClose:o.closeCalendar,confirmText:e.$t("common.confirm"),color:"#57C9DD"},null,8,["show","minDate","maxDate","onConfirm","onClose","confirmText"])]),_:1})}],["__scopeId","data-v-909bb00e"]]);export{V as default}; diff --git a/miniprogram/dist/build/h5/assets/pages-appointment-sea-freight-page.859e51fb.js b/miniprogram/dist/build/h5/assets/pages-appointment-sea-freight-page.859e51fb.js deleted file mode 100644 index e1e01c6..0000000 --- a/miniprogram/dist/build/h5/assets/pages-appointment-sea-freight-page.859e51fb.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as e,m as t,L as l,M as a,l as r,k as o,N as s,O as i,G as n,H as d,o as c,c as u,w as h,i as p,P as m,e as f,f as g,t as y,A as x,g as E,h as _}from"./index-a09151d6.js";import{_ as b}from"./aure-country-picker.01cea584.js";import{A as w}from"./AppServer.888fd24d.js";import{_ as k}from"./ic_back.5440bd15.js";const A=new w;const P=e({data:()=>({serviceId:"",serviceTitle:"",userName:"",userWechat:"",userPhone:"",userWhats:"",remark:"",originPort:"",destinationPort:"",cargoName:"",cargoQuantity:"",submitting:!1,flashingField:"",selectedDialCode:"86"}),onLoad(e){e.id&&(this.serviceId=e.id),e.title&&(this.serviceTitle=decodeURIComponent(e.title))},methods:{checkData(){const e=[{field:"userName",selector:"#fieldUserName",check:()=>!this.userName.trim(),message:"请输入真实姓名"},{field:"contact",selector:"#fieldContact",check:()=>!this.userWechat.trim()&&!this.userPhone.trim()&&!this.userWhats.trim(),message:"请至少填写一种联系方式(微信号/手机号/WhatsApp)"},{field:"originPort",selector:"#fieldOriginPort",check:()=>!this.originPort.trim(),message:"请输入起运港"},{field:"destinationPort",selector:"#fieldDestinationPort",check:()=>!this.destinationPort.trim(),message:"请输入目的港"},{field:"cargoName",selector:"#fieldCargoName",check:()=>!this.cargoName.trim(),message:"请输入货物名称"},{field:"cargoQuantity",selector:"#fieldCargoQuantity",check:()=>!this.cargoQuantity||parseInt(this.cargoQuantity)<=0,message:"请输入有效的货物数量"}];for(const l of e)if(l.check())return t({title:l.message,icon:"none"}),this.scrollToElement(l.selector),this.flashingField=l.field,void setTimeout(()=>{this.flashingField=""},1500);this.submitAppointment()},async submitAppointment(){var e;if(!this.submitting){this.submitting=!0,l({title:"提交中...",mask:!0});try{const l={hotServiceId:parseInt(this.serviceId)||null,serviceType:"sea_freight",realName:this.userName.trim(),wechatId:this.userWechat.trim()||null,phone:this.userPhone.trim()||null,phoneCountryCode:this.userPhone.trim()?this.selectedDialCode:null,whatsapp:this.userWhats.trim()||null,notes:this.remark.trim()||null,originPort:this.originPort.trim(),destinationPort:this.destinationPort.trim(),cargoName:this.cargoName.trim(),cargoQuantity:parseInt(this.cargoQuantity)||0},o=await A.CreateAppointment(l);a(),o.success||0===o.code?(t({title:"预约提交成功",icon:"success"}),setTimeout(()=>{r({delta:1})},1500)):t({title:(null==(e=o.error)?void 0:e.message)||"提交失败,请重试",icon:"none"})}catch(o){a(),console.error("提交预约失败:",o),t({title:"网络错误,请重试",icon:"none"})}finally{this.submitting=!1}}},scrollToElement(e){const t=o().windowHeight,l=s().in(this);l.select(e).boundingClientRect(),l.selectViewport().scrollOffset(),l.exec(e=>{if(e[0]&&e[1]){const l=e[0],a=e[1].scrollTop+l.top-t/2+l.height/2;i({scrollTop:Math.max(0,a),duration:300})}})},back(){r({delta:1})}}},[["render",function(e,t,l,a,r,o){const s=E,i=p,w=_,A=n(d("up-input"),m),P=n(d("aure-country-picker"),b);return c(),u(i,{class:"page"},{default:h(()=>[f(i,{class:"header"},{default:h(()=>[f(i,{class:"center",style:{width:"50rpx",height:"50rpx","margin-left":"32rpx"}},{default:h(()=>[f(s,{src:k,onClick:o.back,style:{width:"48rpx",height:"48rpx"},mode:""},null,8,["onClick"])]),_:1}),f(w,{style:{"font-size":"30rpx"}},{default:h(()=>[g(y(e.$t("infoEntry.title")),1)]),_:1}),f(i,{style:{width:"50rpx","margin-right":"32rpx"}})]),_:1}),f(i,{class:"scroll-content"},{default:h(()=>[f(i,{class:"content"},{default:h(()=>[f(i,{class:"",style:{width:"680rpx",height:"396rpx","background-image":"linear-gradient(-45deg, #60D7FF, #68BBD7)","margin-top":"32rpx","border-radius":"20rpx","box-shadow":"0 0 10rpx 10rpx rgba(0, 0, 0, 0.1)"}}),f(i,{class:"",style:{width:"100%","font-size":"40rpx","padding-left":"54rpx","margin-top":"38rpx"}},{default:h(()=>[g(y(e.$t("infoEntry.personalInfo")),1)]),_:1}),f(i,{class:x(["column",{"flash-animation":"userName"===r.flashingField}]),style:{width:"680rpx","margin-top":"38rpx"},id:"fieldUserName"},{default:h(()=>[f(w,{style:{"font-size":"30rpx"}},{default:h(()=>[f(w,{style:{color:"#FF0000"}},{default:h(()=>[g("*")]),_:1}),g(y(e.$t("infoEntry.realName")),1)]),_:1}),f(A,{placeholder:e.$t("infoEntry.realNamePlaceholder"),border:"surround",modelValue:r.userName,"onUpdate:modelValue":t[0]||(t[0]=e=>r.userName=e)},null,8,["placeholder","modelValue"])]),_:1},8,["class"]),f(i,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),f(i,{class:x(["column",{"flash-animation":"contact"===r.flashingField}]),style:{width:"680rpx","margin-top":"14rpx"},id:"fieldContact"},{default:h(()=>[f(w,{style:{"font-size":"30rpx"}},{default:h(()=>[f(w,{style:{color:"#FF0000"}},{default:h(()=>[g("*")]),_:1}),g(y(e.$t("infoEntry.wechat"))+" ("+y(e.$t("infoEntry.contactMethod"))+")",1)]),_:1}),f(A,{placeholder:e.$t("infoEntry.wechatPlaceholder"),border:"surround",modelValue:r.userWechat,"onUpdate:modelValue":t[1]||(t[1]=e=>r.userWechat=e)},null,8,["placeholder","modelValue"])]),_:1},8,["class"]),f(i,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),f(i,{class:x(["column",{"flash-animation":"contact"===r.flashingField}]),style:{width:"680rpx","margin-top":"14rpx"}},{default:h(()=>[f(w,{style:{"font-size":"30rpx"}},{default:h(()=>[f(w,{style:{color:"#FF0000"}},{default:h(()=>[g("*")]),_:1}),g(y(e.$t("infoEntry.phone"))+" ("+y(e.$t("infoEntry.contactMethod"))+")",1)]),_:1}),f(i,{class:"row",style:{"margin-top":"10rpx","margin-bottom":"10rpx"}},{default:h(()=>[f(P,{modelValue:r.selectedDialCode,"onUpdate:modelValue":t[2]||(t[2]=e=>r.selectedDialCode=e),title:e.$t("infoEntry.selectCountry"),height:"70%",width:"60vw",duration:350,position:"bottom",round:!0,radius:"24rpx","mask-closable":!0},null,8,["modelValue","title"]),f(A,{placeholder:e.$t("infoEntry.phonePlaceholder"),border:"surround",modelValue:r.userPhone,"onUpdate:modelValue":t[3]||(t[3]=e=>r.userPhone=e)},null,8,["placeholder","modelValue"])]),_:1})]),_:1},8,["class"]),f(i,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),f(i,{class:x(["column",{"flash-animation":"contact"===r.flashingField}]),style:{width:"680rpx","margin-top":"14rpx"}},{default:h(()=>[f(w,{style:{"font-size":"30rpx"}},{default:h(()=>[f(w,{style:{color:"#FF0000"}},{default:h(()=>[g("*")]),_:1}),g(y(e.$t("infoEntry.whatsapp"))+" ("+y(e.$t("infoEntry.contactMethod"))+")",1)]),_:1}),f(A,{placeholder:e.$t("infoEntry.whatsappPlaceholder"),border:"surround",modelValue:r.userWhats,"onUpdate:modelValue":t[4]||(t[4]=e=>r.userWhats=e)},null,8,["placeholder","modelValue"])]),_:1},8,["class"]),f(i,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),f(i,{class:"column",style:{width:"680rpx","margin-top":"14rpx"}},{default:h(()=>[f(w,{style:{"font-size":"30rpx"}},{default:h(()=>[g(y(e.$t("infoEntry.remark")),1)]),_:1}),f(A,{placeholder:e.$t("infoEntry.remarkPlaceholder"),border:"surround",modelValue:r.remark,"onUpdate:modelValue":t[5]||(t[5]=e=>r.remark=e)},null,8,["placeholder","modelValue"])]),_:1}),f(i,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),f(i,{class:"",style:{width:"100%","font-size":"40rpx","padding-left":"54rpx","margin-top":"38rpx"}},{default:h(()=>[g(y(e.$t("infoEntry.serviceInfo")),1)]),_:1}),f(i,{class:x(["column",{"flash-animation":"originPort"===r.flashingField}]),style:{width:"680rpx","margin-top":"14rpx"},id:"fieldOriginPort"},{default:h(()=>[f(w,{style:{"font-size":"30rpx"}},{default:h(()=>[f(w,{style:{color:"#FF0000"}},{default:h(()=>[g("*")]),_:1}),g("起运港")]),_:1}),f(A,{placeholder:"请输入起运港",border:"surround",modelValue:r.originPort,"onUpdate:modelValue":t[6]||(t[6]=e=>r.originPort=e)},null,8,["modelValue"])]),_:1},8,["class"]),f(i,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),f(i,{class:x(["column",{"flash-animation":"destinationPort"===r.flashingField}]),style:{width:"680rpx","margin-top":"14rpx"},id:"fieldDestinationPort"},{default:h(()=>[f(w,{style:{"font-size":"30rpx"}},{default:h(()=>[f(w,{style:{color:"#FF0000"}},{default:h(()=>[g("*")]),_:1}),g("目的港")]),_:1}),f(A,{placeholder:"请输入目的港",border:"surround",modelValue:r.destinationPort,"onUpdate:modelValue":t[7]||(t[7]=e=>r.destinationPort=e)},null,8,["modelValue"])]),_:1},8,["class"]),f(i,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),f(i,{class:x(["column",{"flash-animation":"cargoName"===r.flashingField}]),style:{width:"680rpx","margin-top":"14rpx"},id:"fieldCargoName"},{default:h(()=>[f(w,{style:{"font-size":"30rpx"}},{default:h(()=>[f(w,{style:{color:"#FF0000"}},{default:h(()=>[g("*")]),_:1}),g("货物名称")]),_:1}),f(A,{placeholder:"请输入货物名称",border:"surround",modelValue:r.cargoName,"onUpdate:modelValue":t[8]||(t[8]=e=>r.cargoName=e)},null,8,["modelValue"])]),_:1},8,["class"]),f(i,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),f(i,{class:x(["column",{"flash-animation":"cargoQuantity"===r.flashingField}]),style:{width:"680rpx","margin-top":"14rpx"},id:"fieldCargoQuantity"},{default:h(()=>[f(w,{style:{"font-size":"30rpx"}},{default:h(()=>[f(w,{style:{color:"#FF0000"}},{default:h(()=>[g("*")]),_:1}),g("货物数量")]),_:1}),f(A,{placeholder:"请输入货物数量",border:"surround",modelValue:r.cargoQuantity,"onUpdate:modelValue":t[9]||(t[9]=e=>r.cargoQuantity=e),type:"number"},null,8,["modelValue"])]),_:1},8,["class"]),f(i,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),f(i,{class:"center",onClick:t[10]||(t[10]=e=>o.checkData()),style:{width:"642rpx",height:"72rpx","background-color":"#57C9DD","border-radius":"16rpx","box-shadow":"0 0 10rpx 10rpx rgba(0, 0, 0, 0.1)","margin-top":"50rpx","margin-bottom":"100rpx"}},{default:h(()=>[g(y(e.$t("common.submit")),1)]),_:1})]),_:1})]),_:1})]),_:1})}],["__scopeId","data-v-575f8784"]]);export{P as default}; diff --git a/miniprogram/dist/build/h5/assets/pages-appointment-special-needs-page.418e8462.js b/miniprogram/dist/build/h5/assets/pages-appointment-special-needs-page.418e8462.js deleted file mode 100644 index 8793396..0000000 --- a/miniprogram/dist/build/h5/assets/pages-appointment-special-needs-page.418e8462.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as e,m as t,L as a,M as s,l,k as r,N as i,O as o,G as n,H as d,o as c,c as h,w as p,i as u,P as m,a4 as f,R as x,e as g,f as y,t as w,A as _,g as E,h as A}from"./index-a09151d6.js";import{_ as b}from"./aure-country-picker.01cea584.js";import{A as k}from"./AppServer.888fd24d.js";import{_ as D}from"./ic_back.5440bd15.js";import{_ as C}from"./arrow_right2.8bd5bd0f.js";const F=new k;const V=e({data:()=>({serviceId:"",serviceTitle:"",userName:"",userWechat:"",userPhone:"",userWhats:"",remark:"",reservationDate:"",itinerary:"",specialAssistanceReason:"",submitting:!1,flashingField:"",selectedDialCode:"86",showCalendar:!1,minDate:"",maxDate:""}),onLoad(e){this.initDateRange(),e.id&&(this.serviceId=e.id),e.title&&(this.serviceTitle=decodeURIComponent(e.title))},methods:{initDateRange(){const e=new Date,t=e.getFullYear(),a=String(e.getMonth()+1).padStart(2,"0"),s=String(e.getDate()).padStart(2,"0");this.minDate=`${t}-${a}-${s}`,this.maxDate=`${t+2}-12-31`},openCalendar(){this.initDateRange(),this.$nextTick(()=>{this.showCalendar=!0})},closeCalendar(){this.showCalendar=!1},onCalendarConfirm(e){e&&e.length>0&&(this.reservationDate=e[0]),this.showCalendar=!1},checkData(){const e=[{field:"userName",selector:"#fieldUserName",check:()=>!this.userName.trim(),message:"请输入真实姓名"},{field:"contact",selector:"#fieldContact",check:()=>!this.userWechat.trim()&&!this.userPhone.trim()&&!this.userWhats.trim(),message:"请至少填写一种联系方式(微信号/手机号/WhatsApp)"},{field:"reservationDate",selector:"#fieldReservationDate",check:()=>!this.reservationDate,message:"请选择预约日期"},{field:"itinerary",selector:"#fieldItinerary",check:()=>!this.itinerary.trim(),message:"请输入行程信息"},{field:"specialAssistanceReason",selector:"#fieldSpecialAssistanceReason",check:()=>!this.specialAssistanceReason.trim(),message:"请输入特殊协助原因"}];for(const a of e)if(a.check())return t({title:a.message,icon:"none"}),this.scrollToElement(a.selector),this.flashingField=a.field,void setTimeout(()=>{this.flashingField=""},1500);this.submitAppointment()},async submitAppointment(){var e;if(!this.submitting){this.submitting=!0,a({title:"提交中...",mask:!0});try{const a={hotServiceId:parseInt(this.serviceId)||null,serviceType:"special_needs",realName:this.userName.trim(),wechatId:this.userWechat.trim()||null,phone:this.userPhone.trim()||null,phoneCountryCode:this.userPhone.trim()?this.selectedDialCode:null,whatsapp:this.userWhats.trim()||null,notes:this.remark.trim()||null,appointmentDate:this.reservationDate,itinerary:this.itinerary.trim(),specialAssistanceReason:this.specialAssistanceReason.trim()},r=await F.CreateAppointment(a);s(),r.success||0===r.code?(t({title:"预约提交成功",icon:"success"}),setTimeout(()=>{l({delta:1})},1500)):t({title:(null==(e=r.error)?void 0:e.message)||"提交失败,请重试",icon:"none"})}catch(r){s(),console.error("提交预约失败:",r),t({title:"网络错误,请重试",icon:"none"})}finally{this.submitting=!1}}},scrollToElement(e){const t=r().windowHeight,a=i().in(this);a.select(e).boundingClientRect(),a.selectViewport().scrollOffset(),a.exec(e=>{if(e[0]&&e[1]){const a=e[0],s=e[1].scrollTop+a.top-t/2+a.height/2;o({scrollTop:Math.max(0,s),duration:300})}})},back(){l({delta:1})}}},[["render",function(e,t,a,s,l,r){const i=E,o=u,k=A,F=n(d("up-input"),m),V=n(d("aure-country-picker"),b),v=n(d("up-textarea"),f),$=n(d("up-calendar"),x);return c(),h(o,{class:"page"},{default:p(()=>[g(o,{class:"header"},{default:p(()=>[g(o,{class:"center",style:{width:"50rpx",height:"50rpx","margin-left":"32rpx"}},{default:p(()=>[g(i,{src:D,onClick:r.back,style:{width:"48rpx",height:"48rpx"},mode:""},null,8,["onClick"])]),_:1}),g(k,{style:{"font-size":"30rpx"}},{default:p(()=>[y(w(e.$t("infoEntry.title")),1)]),_:1}),g(o,{style:{width:"50rpx","margin-right":"32rpx"}})]),_:1}),g(o,{class:"scroll-content"},{default:p(()=>[g(o,{class:"content"},{default:p(()=>[g(o,{class:"",style:{width:"680rpx",height:"396rpx","background-image":"linear-gradient(-45deg, #60D7FF, #68BBD7)","margin-top":"32rpx","border-radius":"20rpx","box-shadow":"0 0 10rpx 10rpx rgba(0, 0, 0, 0.1)"}}),g(o,{class:"",style:{width:"100%","font-size":"40rpx","padding-left":"54rpx","margin-top":"38rpx"}},{default:p(()=>[y(w(e.$t("infoEntry.personalInfo")),1)]),_:1}),g(o,{class:_(["column",{"flash-animation":"userName"===l.flashingField}]),style:{width:"680rpx","margin-top":"38rpx"},id:"fieldUserName"},{default:p(()=>[g(k,{style:{"font-size":"30rpx"}},{default:p(()=>[g(k,{style:{color:"#FF0000"}},{default:p(()=>[y("*")]),_:1}),y(w(e.$t("infoEntry.realName")),1)]),_:1}),g(F,{placeholder:e.$t("infoEntry.realNamePlaceholder"),border:"surround",modelValue:l.userName,"onUpdate:modelValue":t[0]||(t[0]=e=>l.userName=e)},null,8,["placeholder","modelValue"])]),_:1},8,["class"]),g(o,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),g(o,{class:_(["column",{"flash-animation":"contact"===l.flashingField}]),style:{width:"680rpx","margin-top":"14rpx"},id:"fieldContact"},{default:p(()=>[g(k,{style:{"font-size":"30rpx"}},{default:p(()=>[g(k,{style:{color:"#FF0000"}},{default:p(()=>[y("*")]),_:1}),y(w(e.$t("infoEntry.wechat"))+" ("+w(e.$t("infoEntry.contactMethod"))+")",1)]),_:1}),g(F,{placeholder:e.$t("infoEntry.wechatPlaceholder"),border:"surround",modelValue:l.userWechat,"onUpdate:modelValue":t[1]||(t[1]=e=>l.userWechat=e)},null,8,["placeholder","modelValue"])]),_:1},8,["class"]),g(o,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),g(o,{class:_(["column",{"flash-animation":"contact"===l.flashingField}]),style:{width:"680rpx","margin-top":"14rpx"}},{default:p(()=>[g(k,{style:{"font-size":"30rpx"}},{default:p(()=>[g(k,{style:{color:"#FF0000"}},{default:p(()=>[y("*")]),_:1}),y(w(e.$t("infoEntry.phone"))+" ("+w(e.$t("infoEntry.contactMethod"))+")",1)]),_:1}),g(o,{class:"row",style:{"margin-top":"10rpx","margin-bottom":"10rpx"}},{default:p(()=>[g(V,{modelValue:l.selectedDialCode,"onUpdate:modelValue":t[2]||(t[2]=e=>l.selectedDialCode=e),title:e.$t("infoEntry.selectCountry"),height:"70%",width:"60vw",duration:350,position:"bottom",round:!0,radius:"24rpx","mask-closable":!0},null,8,["modelValue","title"]),g(F,{placeholder:e.$t("infoEntry.phonePlaceholder"),border:"surround",modelValue:l.userPhone,"onUpdate:modelValue":t[3]||(t[3]=e=>l.userPhone=e)},null,8,["placeholder","modelValue"])]),_:1})]),_:1},8,["class"]),g(o,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),g(o,{class:_(["column",{"flash-animation":"contact"===l.flashingField}]),style:{width:"680rpx","margin-top":"14rpx"}},{default:p(()=>[g(k,{style:{"font-size":"30rpx"}},{default:p(()=>[g(k,{style:{color:"#FF0000"}},{default:p(()=>[y("*")]),_:1}),y(w(e.$t("infoEntry.whatsapp"))+" ("+w(e.$t("infoEntry.contactMethod"))+")",1)]),_:1}),g(F,{placeholder:e.$t("infoEntry.whatsappPlaceholder"),border:"surround",modelValue:l.userWhats,"onUpdate:modelValue":t[4]||(t[4]=e=>l.userWhats=e)},null,8,["placeholder","modelValue"])]),_:1},8,["class"]),g(o,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),g(o,{class:"column",style:{width:"680rpx","margin-top":"14rpx"}},{default:p(()=>[g(k,{style:{"font-size":"30rpx"}},{default:p(()=>[y(w(e.$t("infoEntry.remark")),1)]),_:1}),g(F,{placeholder:e.$t("infoEntry.remarkPlaceholder"),border:"surround",modelValue:l.remark,"onUpdate:modelValue":t[5]||(t[5]=e=>l.remark=e)},null,8,["placeholder","modelValue"])]),_:1}),g(o,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),g(o,{class:"",style:{width:"100%","font-size":"40rpx","padding-left":"54rpx","margin-top":"38rpx"}},{default:p(()=>[y(w(e.$t("infoEntry.serviceInfo")),1)]),_:1}),g(o,{class:_(["column",{"flash-animation":"reservationDate"===l.flashingField}]),style:{width:"680rpx","margin-top":"14rpx"},id:"fieldReservationDate"},{default:p(()=>[g(k,{style:{"font-size":"30rpx"}},{default:p(()=>[g(k,{style:{color:"#FF0000"}},{default:p(()=>[y("*")]),_:1}),y("预约日期")]),_:1}),g(o,{class:"date-item",onClick:r.openCalendar},{default:p(()=>[g(k,{class:_(["date-text",{"date-placeholder":!l.reservationDate}])},{default:p(()=>[y(w(l.reservationDate||"请选择预约日期"),1)]),_:1},8,["class"]),g(i,{src:C,style:{width:"32rpx",height:"32rpx"},mode:"aspectFit"})]),_:1},8,["onClick"])]),_:1},8,["class"]),g(o,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),g(o,{class:_(["column",{"flash-animation":"itinerary"===l.flashingField}]),style:{width:"680rpx","margin-top":"14rpx"},id:"fieldItinerary"},{default:p(()=>[g(k,{style:{"font-size":"30rpx"}},{default:p(()=>[g(k,{style:{color:"#FF0000"}},{default:p(()=>[y("*")]),_:1}),y("行程")]),_:1}),g(F,{placeholder:"请输入行程信息(如:北京-上海)",border:"surround",modelValue:l.itinerary,"onUpdate:modelValue":t[6]||(t[6]=e=>l.itinerary=e)},null,8,["modelValue"])]),_:1},8,["class"]),g(o,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),g(o,{class:_(["column",{"flash-animation":"specialAssistanceReason"===l.flashingField}]),style:{width:"680rpx","margin-top":"14rpx"},id:"fieldSpecialAssistanceReason"},{default:p(()=>[g(k,{style:{"font-size":"30rpx"}},{default:p(()=>[g(k,{style:{color:"#FF0000"}},{default:p(()=>[y("*")]),_:1}),y("特殊协助原因")]),_:1}),g(v,{modelValue:l.specialAssistanceReason,"onUpdate:modelValue":t[7]||(t[7]=e=>l.specialAssistanceReason=e),placeholder:"请详细描述需要特殊协助的原因",maxlength:1e3,count:!0,height:"200",border:"surround"},null,8,["modelValue"])]),_:1},8,["class"]),g(o,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),g(o,{class:"center",onClick:t[8]||(t[8]=e=>r.checkData()),style:{width:"642rpx",height:"72rpx","background-color":"#57C9DD","border-radius":"16rpx","box-shadow":"0 0 10rpx 10rpx rgba(0, 0, 0, 0.1)","margin-top":"50rpx","margin-bottom":"100rpx"}},{default:p(()=>[y(w(e.$t("common.submit")),1)]),_:1})]),_:1})]),_:1}),g($,{show:l.showCalendar,mode:"single",minDate:l.minDate,maxDate:l.maxDate,onConfirm:r.onCalendarConfirm,onClose:r.closeCalendar,confirmText:e.$t("common.confirm"),color:"#57C9DD"},null,8,["show","minDate","maxDate","onConfirm","onClose","confirmText"])]),_:1})}],["__scopeId","data-v-e68dfe5e"]]);export{V as default}; diff --git a/miniprogram/dist/build/h5/assets/pages-appointment-travel-planning-page.855c79ad.js b/miniprogram/dist/build/h5/assets/pages-appointment-travel-planning-page.855c79ad.js deleted file mode 100644 index 942890d..0000000 --- a/miniprogram/dist/build/h5/assets/pages-appointment-travel-planning-page.855c79ad.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as e,m as t,L as a,M as l,l as s,k as o,N as n,O as r,G as i,H as d,o as c,c as u,w as h,i as p,P as f,R as m,e as g,f as x,t as y,A as _,g as C,h as w}from"./index-a09151d6.js";import{_ as D}from"./aure-country-picker.01cea584.js";import{A as b}from"./AppServer.888fd24d.js";import{_ as E}from"./ic_back.5440bd15.js";import{_ as k}from"./arrow_right2.8bd5bd0f.js";const v=new b;const A=e({data:()=>({serviceId:"",serviceTitle:"",userName:"",userWechat:"",userPhone:"",userWhats:"",remark:"",travelDate:"",origin:"",destination:"",travelDays:"",adultCount:0,childCount:0,infantCount:0,submitting:!1,flashingField:"",selectedDialCode:"86",showCalendar:!1,minDate:"",maxDate:""}),onLoad(e){this.initDateRange(),e.id&&(this.serviceId=e.id),e.title&&(this.serviceTitle=decodeURIComponent(e.title))},methods:{initDateRange(){const e=new Date,t=e.getFullYear(),a=String(e.getMonth()+1).padStart(2,"0"),l=String(e.getDate()).padStart(2,"0");this.minDate=`${t}-${a}-${l}`,this.maxDate=`${t+2}-12-31`},openCalendar(){this.initDateRange(),this.$nextTick(()=>{this.showCalendar=!0})},closeCalendar(){this.showCalendar=!1},onCalendarConfirm(e){e&&e.length>0&&(this.travelDate=e[0]),this.showCalendar=!1},increaseCount(e){"adult"===e?this.adultCount++:"child"===e?this.childCount++:"infant"===e&&this.infantCount++},decreaseCount(e){"adult"===e&&this.adultCount>0?this.adultCount--:"child"===e&&this.childCount>0?this.childCount--:"infant"===e&&this.infantCount>0&&this.infantCount--},checkData(){const e=[{field:"userName",selector:"#fieldUserName",check:()=>!this.userName.trim(),message:"请输入真实姓名"},{field:"contact",selector:"#fieldContact",check:()=>!this.userWechat.trim()&&!this.userPhone.trim()&&!this.userWhats.trim(),message:"请至少填写一种联系方式(微信号/手机号/WhatsApp)"},{field:"travelDate",selector:"#fieldTravelDate",check:()=>!this.travelDate,message:"请选择出行日期"},{field:"origin",selector:"#fieldOrigin",check:()=>!this.origin.trim(),message:"请输入出发地"},{field:"destination",selector:"#fieldDestination",check:()=>!this.destination.trim(),message:"请输入目的地"},{field:"travelDays",selector:"#fieldTravelDays",check:()=>!this.travelDays||parseInt(this.travelDays)<=0,message:"请输入有效的出行天数"},{field:"personCount",selector:"#fieldPersonCount",check:()=>0===this.adultCount&&0===this.childCount&&0===this.infantCount,message:"请至少选择一位出行人员"}];for(const a of e)if(a.check())return t({title:a.message,icon:"none"}),this.scrollToElement(a.selector),this.flashingField=a.field,void setTimeout(()=>{this.flashingField=""},1500);this.submitAppointment()},async submitAppointment(){var e;if(!this.submitting){this.submitting=!0,a({title:"提交中...",mask:!0});try{const a={hotServiceId:parseInt(this.serviceId)||null,serviceType:"travel_planning",realName:this.userName.trim(),wechatId:this.userWechat.trim()||null,phone:this.userPhone.trim()||null,phoneCountryCode:this.userPhone.trim()?this.selectedDialCode:null,whatsapp:this.userWhats.trim()||null,notes:this.remark.trim()||null,travelDate:this.travelDate,origin:this.origin.trim(),travelDestination:this.destination.trim(),travelDays:parseInt(this.travelDays)||0,adultCount:this.adultCount,childCount:this.childCount,infantCount:this.infantCount},o=await v.CreateAppointment(a);l(),o.success||0===o.code?(t({title:"预约提交成功",icon:"success"}),setTimeout(()=>{s({delta:1})},1500)):t({title:(null==(e=o.error)?void 0:e.message)||"提交失败,请重试",icon:"none"})}catch(o){l(),console.error("提交预约失败:",o),t({title:"网络错误,请重试",icon:"none"})}finally{this.submitting=!1}}},scrollToElement(e){const t=o().windowHeight,a=n().in(this);a.select(e).boundingClientRect(),a.selectViewport().scrollOffset(),a.exec(e=>{if(e[0]&&e[1]){const a=e[0],l=e[1].scrollTop+a.top-t/2+a.height/2;r({scrollTop:Math.max(0,l),duration:300})}})},back(){s({delta:1})}}},[["render",function(e,t,a,l,s,o){const n=C,r=p,b=w,v=i(d("up-input"),f),A=i(d("aure-country-picker"),D),F=i(d("up-calendar"),m);return c(),u(r,{class:"page"},{default:h(()=>[g(r,{class:"header"},{default:h(()=>[g(r,{class:"center",style:{width:"50rpx",height:"50rpx","margin-left":"32rpx"}},{default:h(()=>[g(n,{src:E,onClick:o.back,style:{width:"48rpx",height:"48rpx"},mode:""},null,8,["onClick"])]),_:1}),g(b,{style:{"font-size":"30rpx"}},{default:h(()=>[x(y(e.$t("infoEntry.title")),1)]),_:1}),g(r,{style:{width:"50rpx","margin-right":"32rpx"}})]),_:1}),g(r,{class:"scroll-content"},{default:h(()=>[g(r,{class:"content"},{default:h(()=>[g(r,{class:"",style:{width:"680rpx",height:"396rpx","background-image":"linear-gradient(-45deg, #60D7FF, #68BBD7)","margin-top":"32rpx","border-radius":"20rpx","box-shadow":"0 0 10rpx 10rpx rgba(0, 0, 0, 0.1)"}}),g(r,{class:"",style:{width:"100%","font-size":"40rpx","padding-left":"54rpx","margin-top":"38rpx"}},{default:h(()=>[x(y(e.$t("infoEntry.personalInfo")),1)]),_:1}),g(r,{class:_(["column",{"flash-animation":"userName"===s.flashingField}]),style:{width:"680rpx","margin-top":"38rpx"},id:"fieldUserName"},{default:h(()=>[g(b,{style:{"font-size":"30rpx"}},{default:h(()=>[g(b,{style:{color:"#FF0000"}},{default:h(()=>[x("*")]),_:1}),x(y(e.$t("infoEntry.realName")),1)]),_:1}),g(v,{placeholder:e.$t("infoEntry.realNamePlaceholder"),border:"surround",modelValue:s.userName,"onUpdate:modelValue":t[0]||(t[0]=e=>s.userName=e)},null,8,["placeholder","modelValue"])]),_:1},8,["class"]),g(r,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),g(r,{class:_(["column",{"flash-animation":"contact"===s.flashingField}]),style:{width:"680rpx","margin-top":"14rpx"},id:"fieldContact"},{default:h(()=>[g(b,{style:{"font-size":"30rpx"}},{default:h(()=>[g(b,{style:{color:"#FF0000"}},{default:h(()=>[x("*")]),_:1}),x(y(e.$t("infoEntry.wechat"))+" ("+y(e.$t("infoEntry.contactMethod"))+")",1)]),_:1}),g(v,{placeholder:e.$t("infoEntry.wechatPlaceholder"),border:"surround",modelValue:s.userWechat,"onUpdate:modelValue":t[1]||(t[1]=e=>s.userWechat=e)},null,8,["placeholder","modelValue"])]),_:1},8,["class"]),g(r,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),g(r,{class:_(["column",{"flash-animation":"contact"===s.flashingField}]),style:{width:"680rpx","margin-top":"14rpx"}},{default:h(()=>[g(b,{style:{"font-size":"30rpx"}},{default:h(()=>[g(b,{style:{color:"#FF0000"}},{default:h(()=>[x("*")]),_:1}),x(y(e.$t("infoEntry.phone"))+" ("+y(e.$t("infoEntry.contactMethod"))+")",1)]),_:1}),g(r,{class:"row",style:{"margin-top":"10rpx","margin-bottom":"10rpx"}},{default:h(()=>[g(A,{modelValue:s.selectedDialCode,"onUpdate:modelValue":t[2]||(t[2]=e=>s.selectedDialCode=e),title:e.$t("infoEntry.selectCountry"),height:"70%",width:"60vw",duration:350,position:"bottom",round:!0,radius:"24rpx","mask-closable":!0},null,8,["modelValue","title"]),g(v,{placeholder:e.$t("infoEntry.phonePlaceholder"),border:"surround",modelValue:s.userPhone,"onUpdate:modelValue":t[3]||(t[3]=e=>s.userPhone=e)},null,8,["placeholder","modelValue"])]),_:1})]),_:1},8,["class"]),g(r,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),g(r,{class:_(["column",{"flash-animation":"contact"===s.flashingField}]),style:{width:"680rpx","margin-top":"14rpx"}},{default:h(()=>[g(b,{style:{"font-size":"30rpx"}},{default:h(()=>[g(b,{style:{color:"#FF0000"}},{default:h(()=>[x("*")]),_:1}),x(y(e.$t("infoEntry.whatsapp"))+" ("+y(e.$t("infoEntry.contactMethod"))+")",1)]),_:1}),g(v,{placeholder:e.$t("infoEntry.whatsappPlaceholder"),border:"surround",modelValue:s.userWhats,"onUpdate:modelValue":t[4]||(t[4]=e=>s.userWhats=e)},null,8,["placeholder","modelValue"])]),_:1},8,["class"]),g(r,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),g(r,{class:"column",style:{width:"680rpx","margin-top":"14rpx"}},{default:h(()=>[g(b,{style:{"font-size":"30rpx"}},{default:h(()=>[x(y(e.$t("infoEntry.remark")),1)]),_:1}),g(v,{placeholder:e.$t("infoEntry.remarkPlaceholder"),border:"surround",modelValue:s.remark,"onUpdate:modelValue":t[5]||(t[5]=e=>s.remark=e)},null,8,["placeholder","modelValue"])]),_:1}),g(r,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),g(r,{class:"",style:{width:"100%","font-size":"40rpx","padding-left":"54rpx","margin-top":"38rpx"}},{default:h(()=>[x(y(e.$t("infoEntry.serviceInfo")),1)]),_:1}),g(r,{class:_(["column",{"flash-animation":"travelDate"===s.flashingField}]),style:{width:"680rpx","margin-top":"14rpx"},id:"fieldTravelDate"},{default:h(()=>[g(b,{style:{"font-size":"30rpx"}},{default:h(()=>[g(b,{style:{color:"#FF0000"}},{default:h(()=>[x("*")]),_:1}),x("出行日期")]),_:1}),g(r,{class:"date-item",onClick:o.openCalendar},{default:h(()=>[g(b,{class:_(["date-text",{"date-placeholder":!s.travelDate}])},{default:h(()=>[x(y(s.travelDate||"请选择出行日期"),1)]),_:1},8,["class"]),g(n,{src:k,style:{width:"32rpx",height:"32rpx"},mode:"aspectFit"})]),_:1},8,["onClick"])]),_:1},8,["class"]),g(r,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),g(r,{class:_(["column",{"flash-animation":"origin"===s.flashingField}]),style:{width:"680rpx","margin-top":"14rpx"},id:"fieldOrigin"},{default:h(()=>[g(b,{style:{"font-size":"30rpx"}},{default:h(()=>[g(b,{style:{color:"#FF0000"}},{default:h(()=>[x("*")]),_:1}),x("出发地")]),_:1}),g(v,{placeholder:"请输入出发地",border:"surround",modelValue:s.origin,"onUpdate:modelValue":t[6]||(t[6]=e=>s.origin=e)},null,8,["modelValue"])]),_:1},8,["class"]),g(r,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),g(r,{class:_(["column",{"flash-animation":"destination"===s.flashingField}]),style:{width:"680rpx","margin-top":"14rpx"},id:"fieldDestination"},{default:h(()=>[g(b,{style:{"font-size":"30rpx"}},{default:h(()=>[g(b,{style:{color:"#FF0000"}},{default:h(()=>[x("*")]),_:1}),x("目的地")]),_:1}),g(v,{placeholder:"请输入目的地",border:"surround",modelValue:s.destination,"onUpdate:modelValue":t[7]||(t[7]=e=>s.destination=e)},null,8,["modelValue"])]),_:1},8,["class"]),g(r,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),g(r,{class:_(["column",{"flash-animation":"travelDays"===s.flashingField}]),style:{width:"680rpx","margin-top":"14rpx"},id:"fieldTravelDays"},{default:h(()=>[g(b,{style:{"font-size":"30rpx"}},{default:h(()=>[g(b,{style:{color:"#FF0000"}},{default:h(()=>[x("*")]),_:1}),x("出行天数")]),_:1}),g(v,{placeholder:"请输入出行天数",border:"surround",modelValue:s.travelDays,"onUpdate:modelValue":t[8]||(t[8]=e=>s.travelDays=e),type:"number"},null,8,["modelValue"])]),_:1},8,["class"]),g(r,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),g(r,{class:_(["column",{"flash-animation":"personCount"===s.flashingField}]),style:{width:"680rpx","margin-top":"14rpx"},id:"fieldPersonCount"},{default:h(()=>[g(b,{style:{"font-size":"30rpx"}},{default:h(()=>[g(b,{style:{color:"#FF0000"}},{default:h(()=>[x("*")]),_:1}),x("人数")]),_:1}),g(r,{class:"person-row"},{default:h(()=>[g(r,{class:"person-info"},{default:h(()=>[g(b,{class:"person-title"},{default:h(()=>[x("成人")]),_:1}),g(b,{class:"person-desc"},{default:h(()=>[x("13岁或以上")]),_:1})]),_:1}),g(r,{class:"person-counter"},{default:h(()=>[g(r,{class:"counter-btn",onClick:t[9]||(t[9]=e=>o.decreaseCount("adult"))},{default:h(()=>[g(b,{class:"counter-icon"},{default:h(()=>[x("-")]),_:1})]),_:1}),g(b,{class:"counter-value"},{default:h(()=>[x(y(s.adultCount)+"人",1)]),_:1}),g(r,{class:"counter-btn",onClick:t[10]||(t[10]=e=>o.increaseCount("adult"))},{default:h(()=>[g(b,{class:"counter-icon"},{default:h(()=>[x("+")]),_:1})]),_:1})]),_:1})]),_:1}),g(r,{class:"person-row"},{default:h(()=>[g(r,{class:"person-info"},{default:h(()=>[g(b,{class:"person-title"},{default:h(()=>[x("儿童")]),_:1}),g(b,{class:"person-desc"},{default:h(()=>[x("2~12岁")]),_:1})]),_:1}),g(r,{class:"person-counter"},{default:h(()=>[g(r,{class:"counter-btn",onClick:t[11]||(t[11]=e=>o.decreaseCount("child"))},{default:h(()=>[g(b,{class:"counter-icon"},{default:h(()=>[x("-")]),_:1})]),_:1}),g(b,{class:"counter-value"},{default:h(()=>[x(y(s.childCount)+"人",1)]),_:1}),g(r,{class:"counter-btn",onClick:t[12]||(t[12]=e=>o.increaseCount("child"))},{default:h(()=>[g(b,{class:"counter-icon"},{default:h(()=>[x("+")]),_:1})]),_:1})]),_:1})]),_:1}),g(r,{class:"person-row"},{default:h(()=>[g(r,{class:"person-info"},{default:h(()=>[g(b,{class:"person-title"},{default:h(()=>[x("婴儿")]),_:1}),g(b,{class:"person-desc"},{default:h(()=>[x("2岁以下")]),_:1})]),_:1}),g(r,{class:"person-counter"},{default:h(()=>[g(r,{class:"counter-btn",onClick:t[13]||(t[13]=e=>o.decreaseCount("infant"))},{default:h(()=>[g(b,{class:"counter-icon"},{default:h(()=>[x("-")]),_:1})]),_:1}),g(b,{class:"counter-value"},{default:h(()=>[x(y(s.infantCount)+"人",1)]),_:1}),g(r,{class:"counter-btn",onClick:t[14]||(t[14]=e=>o.increaseCount("infant"))},{default:h(()=>[g(b,{class:"counter-icon"},{default:h(()=>[x("+")]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["class"]),g(r,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),g(r,{class:"center",onClick:t[15]||(t[15]=e=>o.checkData()),style:{width:"642rpx",height:"72rpx","background-color":"#57C9DD","border-radius":"16rpx","box-shadow":"0 0 10rpx 10rpx rgba(0, 0, 0, 0.1)","margin-top":"50rpx","margin-bottom":"100rpx"}},{default:h(()=>[x(y(e.$t("common.submit")),1)]),_:1})]),_:1})]),_:1}),g(F,{show:s.showCalendar,mode:"single",minDate:s.minDate,maxDate:s.maxDate,onConfirm:o.onCalendarConfirm,onClose:o.closeCalendar,confirmText:e.$t("common.confirm"),color:"#57C9DD"},null,8,["show","minDate","maxDate","onConfirm","onClose","confirmText"])]),_:1})}],["__scopeId","data-v-4336bb8e"]]);export{A as default}; diff --git a/miniprogram/dist/build/h5/assets/pages-appointment-unaccompanied-minor-page.8ff7a674.js b/miniprogram/dist/build/h5/assets/pages-appointment-unaccompanied-minor-page.8ff7a674.js deleted file mode 100644 index ec1e9ee..0000000 --- a/miniprogram/dist/build/h5/assets/pages-appointment-unaccompanied-minor-page.8ff7a674.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as e,m as t,L as l,M as a,l as s,k as r,N as o,O as i,G as n,H as d,o as c,c as u,w as h,i as p,P as m,R as f,e as g,f as y,t as x,A as C,g as _,h as b}from"./index-a09151d6.js";import{_ as w}from"./aure-country-picker.01cea584.js";import{A as E}from"./AppServer.888fd24d.js";import{_ as A}from"./ic_back.5440bd15.js";import{_ as k}from"./arrow_right2.8bd5bd0f.js";const D=new E;const F=e({data:()=>({serviceId:"",serviceTitle:"",userName:"",userWechat:"",userPhone:"",userWhats:"",remark:"",reservationDate:"",itinerary:"",childAge:"",boyCount:0,girlCount:0,submitting:!1,flashingField:"",selectedDialCode:"86",showCalendar:!1,minDate:"",maxDate:""}),onLoad(e){this.initDateRange(),e.id&&(this.serviceId=e.id),e.title&&(this.serviceTitle=decodeURIComponent(e.title))},methods:{initDateRange(){const e=new Date,t=e.getFullYear(),l=String(e.getMonth()+1).padStart(2,"0"),a=String(e.getDate()).padStart(2,"0");this.minDate=`${t}-${l}-${a}`,this.maxDate=`${t+2}-12-31`},openCalendar(){this.initDateRange(),this.$nextTick(()=>{this.showCalendar=!0})},closeCalendar(){this.showCalendar=!1},onCalendarConfirm(e){e&&e.length>0&&(this.reservationDate=e[0]),this.showCalendar=!1},checkData(){const e=[{field:"userName",selector:"#fieldUserName",check:()=>!this.userName.trim(),message:"请输入真实姓名"},{field:"contact",selector:"#fieldContact",check:()=>!this.userWechat.trim()&&!this.userPhone.trim()&&!this.userWhats.trim(),message:"请至少填写一种联系方式(微信号/手机号/WhatsApp)"},{field:"reservationDate",selector:"#fieldReservationDate",check:()=>!this.reservationDate,message:"请选择预约日期"},{field:"itinerary",selector:"#fieldItinerary",check:()=>!this.itinerary.trim(),message:"请输入行程信息"},{field:"childAge",selector:"#fieldChildAge",check:()=>!this.childAge||parseInt(this.childAge)<=0,message:"请输入有效的儿童年龄"},{field:"childCount",selector:"#fieldChildCount",check:()=>0===this.boyCount&&0===this.girlCount,message:"请至少选择一位儿童"}];for(const l of e)if(l.check())return t({title:l.message,icon:"none"}),this.scrollToElement(l.selector),this.flashingField=l.field,void setTimeout(()=>{this.flashingField=""},1500);this.submitAppointment()},async submitAppointment(){var e;if(!this.submitting){this.submitting=!0,l({title:"提交中...",mask:!0});try{const l={hotServiceId:parseInt(this.serviceId)||null,serviceType:"unaccompanied_minor",realName:this.userName.trim(),wechatId:this.userWechat.trim()||null,phone:this.userPhone.trim()||null,phoneCountryCode:this.userPhone.trim()?this.selectedDialCode:null,whatsapp:this.userWhats.trim()||null,notes:this.remark.trim()||null,appointmentDate:this.reservationDate,itinerary:this.itinerary.trim(),childAge:parseInt(this.childAge)||0,boyCount:this.boyCount,girlCount:this.girlCount},r=await D.CreateAppointment(l);a(),r.success||0===r.code?(t({title:"预约提交成功",icon:"success"}),setTimeout(()=>{s({delta:1})},1500)):t({title:(null==(e=r.error)?void 0:e.message)||"提交失败,请重试",icon:"none"})}catch(r){a(),console.error("提交预约失败:",r),t({title:"网络错误,请重试",icon:"none"})}finally{this.submitting=!1}}},scrollToElement(e){const t=r().windowHeight,l=o().in(this);l.select(e).boundingClientRect(),l.selectViewport().scrollOffset(),l.exec(e=>{if(e[0]&&e[1]){const l=e[0],a=e[1].scrollTop+l.top-t/2+l.height/2;i({scrollTop:Math.max(0,a),duration:300})}})},back(){s({delta:1})},increaseCount(e){"boy"===e?this.boyCount++:"girl"===e&&this.girlCount++},decreaseCount(e){"boy"===e&&this.boyCount>0?this.boyCount--:"girl"===e&&this.girlCount>0&&this.girlCount--}}},[["render",function(e,t,l,a,s,r){const o=_,i=p,E=b,D=n(d("up-input"),m),F=n(d("aure-country-picker"),w),v=n(d("up-calendar"),f);return c(),u(i,{class:"page"},{default:h(()=>[g(i,{class:"header"},{default:h(()=>[g(i,{class:"center",style:{width:"50rpx",height:"50rpx","margin-left":"32rpx"}},{default:h(()=>[g(o,{src:A,onClick:r.back,style:{width:"48rpx",height:"48rpx"},mode:""},null,8,["onClick"])]),_:1}),g(E,{style:{"font-size":"30rpx"}},{default:h(()=>[y(x(e.$t("infoEntry.title")),1)]),_:1}),g(i,{style:{width:"50rpx","margin-right":"32rpx"}})]),_:1}),g(i,{class:"scroll-content"},{default:h(()=>[g(i,{class:"content"},{default:h(()=>[g(i,{class:"",style:{width:"680rpx",height:"396rpx","background-image":"linear-gradient(-45deg, #60D7FF, #68BBD7)","margin-top":"32rpx","border-radius":"20rpx","box-shadow":"0 0 10rpx 10rpx rgba(0, 0, 0, 0.1)"}}),g(i,{class:"",style:{width:"100%","font-size":"40rpx","padding-left":"54rpx","margin-top":"38rpx"}},{default:h(()=>[y(x(e.$t("infoEntry.personalInfo")),1)]),_:1}),g(i,{class:C(["column",{"flash-animation":"userName"===s.flashingField}]),style:{width:"680rpx","margin-top":"38rpx"},id:"fieldUserName"},{default:h(()=>[g(E,{style:{"font-size":"30rpx"}},{default:h(()=>[g(E,{style:{color:"#FF0000"}},{default:h(()=>[y("*")]),_:1}),y(x(e.$t("infoEntry.realName")),1)]),_:1}),g(D,{placeholder:e.$t("infoEntry.realNamePlaceholder"),border:"surround",modelValue:s.userName,"onUpdate:modelValue":t[0]||(t[0]=e=>s.userName=e)},null,8,["placeholder","modelValue"])]),_:1},8,["class"]),g(i,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),g(i,{class:C(["column",{"flash-animation":"contact"===s.flashingField}]),style:{width:"680rpx","margin-top":"14rpx"},id:"fieldContact"},{default:h(()=>[g(E,{style:{"font-size":"30rpx"}},{default:h(()=>[g(E,{style:{color:"#FF0000"}},{default:h(()=>[y("*")]),_:1}),y(x(e.$t("infoEntry.wechat"))+" ("+x(e.$t("infoEntry.contactMethod"))+")",1)]),_:1}),g(D,{placeholder:e.$t("infoEntry.wechatPlaceholder"),border:"surround",modelValue:s.userWechat,"onUpdate:modelValue":t[1]||(t[1]=e=>s.userWechat=e)},null,8,["placeholder","modelValue"])]),_:1},8,["class"]),g(i,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),g(i,{class:C(["column",{"flash-animation":"contact"===s.flashingField}]),style:{width:"680rpx","margin-top":"14rpx"}},{default:h(()=>[g(E,{style:{"font-size":"30rpx"}},{default:h(()=>[g(E,{style:{color:"#FF0000"}},{default:h(()=>[y("*")]),_:1}),y(x(e.$t("infoEntry.phone"))+" ("+x(e.$t("infoEntry.contactMethod"))+")",1)]),_:1}),g(i,{class:"row",style:{"margin-top":"10rpx","margin-bottom":"10rpx"}},{default:h(()=>[g(F,{modelValue:s.selectedDialCode,"onUpdate:modelValue":t[2]||(t[2]=e=>s.selectedDialCode=e),title:e.$t("infoEntry.selectCountry"),height:"70%",width:"60vw",duration:350,position:"bottom",round:!0,radius:"24rpx","mask-closable":!0},null,8,["modelValue","title"]),g(D,{placeholder:e.$t("infoEntry.phonePlaceholder"),border:"surround",modelValue:s.userPhone,"onUpdate:modelValue":t[3]||(t[3]=e=>s.userPhone=e)},null,8,["placeholder","modelValue"])]),_:1})]),_:1},8,["class"]),g(i,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),g(i,{class:C(["column",{"flash-animation":"contact"===s.flashingField}]),style:{width:"680rpx","margin-top":"14rpx"}},{default:h(()=>[g(E,{style:{"font-size":"30rpx"}},{default:h(()=>[g(E,{style:{color:"#FF0000"}},{default:h(()=>[y("*")]),_:1}),y(x(e.$t("infoEntry.whatsapp"))+" ("+x(e.$t("infoEntry.contactMethod"))+")",1)]),_:1}),g(D,{placeholder:e.$t("infoEntry.whatsappPlaceholder"),border:"surround",modelValue:s.userWhats,"onUpdate:modelValue":t[4]||(t[4]=e=>s.userWhats=e)},null,8,["placeholder","modelValue"])]),_:1},8,["class"]),g(i,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),g(i,{class:"column",style:{width:"680rpx","margin-top":"14rpx"}},{default:h(()=>[g(E,{style:{"font-size":"30rpx"}},{default:h(()=>[y(x(e.$t("infoEntry.remark")),1)]),_:1}),g(D,{placeholder:e.$t("infoEntry.remarkPlaceholder"),border:"surround",modelValue:s.remark,"onUpdate:modelValue":t[5]||(t[5]=e=>s.remark=e)},null,8,["placeholder","modelValue"])]),_:1}),g(i,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),g(i,{class:"",style:{width:"100%","font-size":"40rpx","padding-left":"54rpx","margin-top":"38rpx"}},{default:h(()=>[y(x(e.$t("infoEntry.serviceInfo")),1)]),_:1}),g(i,{class:C(["column",{"flash-animation":"reservationDate"===s.flashingField}]),style:{width:"680rpx","margin-top":"14rpx"},id:"fieldReservationDate"},{default:h(()=>[g(E,{style:{"font-size":"30rpx"}},{default:h(()=>[g(E,{style:{color:"#FF0000"}},{default:h(()=>[y("*")]),_:1}),y("预约日期")]),_:1}),g(i,{class:"date-item",onClick:r.openCalendar},{default:h(()=>[g(E,{class:C(["date-text",{"date-placeholder":!s.reservationDate}])},{default:h(()=>[y(x(s.reservationDate||"请选择预约日期"),1)]),_:1},8,["class"]),g(o,{src:k,style:{width:"32rpx",height:"32rpx"},mode:"aspectFit"})]),_:1},8,["onClick"])]),_:1},8,["class"]),g(i,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),g(i,{class:C(["column",{"flash-animation":"itinerary"===s.flashingField}]),style:{width:"680rpx","margin-top":"14rpx"},id:"fieldItinerary"},{default:h(()=>[g(E,{style:{"font-size":"30rpx"}},{default:h(()=>[g(E,{style:{color:"#FF0000"}},{default:h(()=>[y("*")]),_:1}),y("行程")]),_:1}),g(D,{placeholder:"请输入行程信息(如:北京-上海)",border:"surround",modelValue:s.itinerary,"onUpdate:modelValue":t[6]||(t[6]=e=>s.itinerary=e)},null,8,["modelValue"])]),_:1},8,["class"]),g(i,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),g(i,{class:C(["column",{"flash-animation":"childAge"===s.flashingField}]),style:{width:"680rpx","margin-top":"14rpx"},id:"fieldChildAge"},{default:h(()=>[g(E,{style:{"font-size":"30rpx"}},{default:h(()=>[g(E,{style:{color:"#FF0000"}},{default:h(()=>[y("*")]),_:1}),y("儿童年龄")]),_:1}),g(D,{placeholder:"请输入儿童年龄",border:"surround",modelValue:s.childAge,"onUpdate:modelValue":t[7]||(t[7]=e=>s.childAge=e),type:"number"},null,8,["modelValue"])]),_:1},8,["class"]),g(i,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),g(i,{class:C(["column",{"flash-animation":"childCount"===s.flashingField}]),style:{width:"680rpx","margin-top":"14rpx"},id:"fieldChildCount"},{default:h(()=>[g(E,{style:{"font-size":"30rpx"}},{default:h(()=>[g(E,{style:{color:"#FF0000"}},{default:h(()=>[y("*")]),_:1}),y("儿童人数")]),_:1}),g(i,{class:"person-row"},{default:h(()=>[g(i,{class:"person-info"},{default:h(()=>[g(E,{class:"person-title"},{default:h(()=>[y("男孩")]),_:1}),g(E,{class:"person-desc"},{default:h(()=>[y("Boys")]),_:1})]),_:1}),g(i,{class:"person-counter"},{default:h(()=>[g(i,{class:"counter-btn",onClick:t[8]||(t[8]=e=>r.decreaseCount("boy"))},{default:h(()=>[g(E,{class:"counter-icon"},{default:h(()=>[y("-")]),_:1})]),_:1}),g(E,{class:"counter-value"},{default:h(()=>[y(x(s.boyCount)+"人",1)]),_:1}),g(i,{class:"counter-btn",onClick:t[9]||(t[9]=e=>r.increaseCount("boy"))},{default:h(()=>[g(E,{class:"counter-icon"},{default:h(()=>[y("+")]),_:1})]),_:1})]),_:1})]),_:1}),g(i,{class:"person-row"},{default:h(()=>[g(i,{class:"person-info"},{default:h(()=>[g(E,{class:"person-title"},{default:h(()=>[y("女孩")]),_:1}),g(E,{class:"person-desc"},{default:h(()=>[y("Girls")]),_:1})]),_:1}),g(i,{class:"person-counter"},{default:h(()=>[g(i,{class:"counter-btn",onClick:t[10]||(t[10]=e=>r.decreaseCount("girl"))},{default:h(()=>[g(E,{class:"counter-icon"},{default:h(()=>[y("-")]),_:1})]),_:1}),g(E,{class:"counter-value"},{default:h(()=>[y(x(s.girlCount)+"人",1)]),_:1}),g(i,{class:"counter-btn",onClick:t[11]||(t[11]=e=>r.increaseCount("girl"))},{default:h(()=>[g(E,{class:"counter-icon"},{default:h(()=>[y("+")]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["class"]),g(i,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),g(i,{class:"center",onClick:t[12]||(t[12]=e=>r.checkData()),style:{width:"642rpx",height:"72rpx","background-color":"#57C9DD","border-radius":"16rpx","box-shadow":"0 0 10rpx 10rpx rgba(0, 0, 0, 0.1)","margin-top":"50rpx","margin-bottom":"100rpx"}},{default:h(()=>[y(x(e.$t("common.submit")),1)]),_:1})]),_:1})]),_:1}),g(v,{show:s.showCalendar,mode:"single",minDate:s.minDate,maxDate:s.maxDate,onConfirm:r.onCalendarConfirm,onClose:r.closeCalendar,confirmText:e.$t("common.confirm"),color:"#57C9DD"},null,8,["show","minDate","maxDate","onConfirm","onClose","confirmText"])]),_:1})}],["__scopeId","data-v-3d5b1747"]]);export{F as default}; diff --git a/miniprogram/dist/build/h5/assets/pages-appointment-vip-lounge-page.07f6f539.js b/miniprogram/dist/build/h5/assets/pages-appointment-vip-lounge-page.07f6f539.js deleted file mode 100644 index 1aafe88..0000000 --- a/miniprogram/dist/build/h5/assets/pages-appointment-vip-lounge-page.07f6f539.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as e,m as t,L as l,M as a,l as r,k as o,N as s,O as i,G as n,H as d,o as c,c as u,w as h,i as p,P as m,R as f,e as g,f as x,t as y,A as _,g as C,h as w}from"./index-a09151d6.js";import{_ as E}from"./aure-country-picker.01cea584.js";import{A as b}from"./AppServer.888fd24d.js";import{_ as k}from"./ic_back.5440bd15.js";import{_ as A}from"./arrow_right2.8bd5bd0f.js";const F=new b;const D=e({data:()=>({serviceId:"",serviceTitle:"",userName:"",userWechat:"",userPhone:"",userWhats:"",remark:"",reservationDate:"",arrivalFlightNo:"",departureFlightNo:"",airportTerminal:"",adultCount:0,childCount:0,submitting:!1,flashingField:"",selectedDialCode:"86",showCalendar:!1,minDate:"",maxDate:""}),onLoad(e){this.initDateRange(),e.id&&(this.serviceId=e.id),e.title&&(this.serviceTitle=decodeURIComponent(e.title))},methods:{initDateRange(){const e=new Date,t=e.getFullYear(),l=String(e.getMonth()+1).padStart(2,"0"),a=String(e.getDate()).padStart(2,"0");this.minDate=`${t}-${l}-${a}`,this.maxDate=`${t+2}-12-31`},openCalendar(){this.initDateRange(),this.$nextTick(()=>{this.showCalendar=!0})},closeCalendar(){this.showCalendar=!1},onCalendarConfirm(e){e&&e.length>0&&(this.reservationDate=e[0]),this.showCalendar=!1},checkData(){const e=[{field:"userName",selector:"#fieldUserName",check:()=>!this.userName.trim(),message:"请输入真实姓名"},{field:"contact",selector:"#fieldContact",check:()=>!this.userWechat.trim()&&!this.userPhone.trim()&&!this.userWhats.trim(),message:"请至少填写一种联系方式(微信号/手机号/WhatsApp)"},{field:"reservationDate",selector:"#fieldReservationDate",check:()=>!this.reservationDate,message:"请选择预约日期"},{field:"airportTerminal",selector:"#fieldAirportTerminal",check:()=>!this.airportTerminal.trim(),message:"请输入机场及航站楼"},{field:"personCount",selector:"#fieldPersonCount",check:()=>0===this.adultCount&&0===this.childCount,message:"请至少选择一位乘客"}];for(const l of e)if(l.check())return t({title:l.message,icon:"none"}),this.scrollToElement(l.selector),this.flashingField=l.field,void setTimeout(()=>{this.flashingField=""},1500);this.submitAppointment()},async submitAppointment(){var e;if(!this.submitting){this.submitting=!0,l({title:"提交中...",mask:!0});try{const l={hotServiceId:parseInt(this.serviceId)||null,serviceType:"vip_lounge",realName:this.userName.trim(),wechatId:this.userWechat.trim()||null,phone:this.userPhone.trim()||null,phoneCountryCode:this.userPhone.trim()?this.selectedDialCode:null,whatsapp:this.userWhats.trim()||null,notes:this.remark.trim()||null,appointmentDate:this.reservationDate,arrivalFlightNo:this.arrivalFlightNo.trim()||null,departureFlightNo:this.departureFlightNo.trim()||null,airportTerminal:this.airportTerminal.trim(),adultCount:this.adultCount,childCount:this.childCount},o=await F.CreateAppointment(l);a(),o.success||0===o.code?(t({title:"预约提交成功",icon:"success"}),setTimeout(()=>{r({delta:1})},1500)):t({title:(null==(e=o.error)?void 0:e.message)||"提交失败,请重试",icon:"none"})}catch(o){a(),console.error("提交预约失败:",o),t({title:"网络错误,请重试",icon:"none"})}finally{this.submitting=!1}}},scrollToElement(e){const t=o().windowHeight,l=s().in(this);l.select(e).boundingClientRect(),l.selectViewport().scrollOffset(),l.exec(e=>{if(e[0]&&e[1]){const l=e[0],a=e[1].scrollTop+l.top-t/2+l.height/2;i({scrollTop:Math.max(0,a),duration:300})}})},back(){r({delta:1})},increaseCount(e){"adult"===e?this.adultCount++:"child"===e&&this.childCount++},decreaseCount(e){"adult"===e&&this.adultCount>0?this.adultCount--:"child"===e&&this.childCount>0&&this.childCount--}}},[["render",function(e,t,l,a,r,o){const s=C,i=p,b=w,F=n(d("up-input"),m),D=n(d("aure-country-picker"),E),v=n(d("up-calendar"),f);return c(),u(i,{class:"page"},{default:h(()=>[g(i,{class:"header"},{default:h(()=>[g(i,{class:"center",style:{width:"50rpx",height:"50rpx","margin-left":"32rpx"}},{default:h(()=>[g(s,{src:k,onClick:o.back,style:{width:"48rpx",height:"48rpx"},mode:""},null,8,["onClick"])]),_:1}),g(b,{style:{"font-size":"30rpx"}},{default:h(()=>[x(y(e.$t("infoEntry.title")),1)]),_:1}),g(i,{style:{width:"50rpx","margin-right":"32rpx"}})]),_:1}),g(i,{class:"scroll-content"},{default:h(()=>[g(i,{class:"content"},{default:h(()=>[g(i,{class:"",style:{width:"680rpx",height:"396rpx","background-image":"linear-gradient(-45deg, #60D7FF, #68BBD7)","margin-top":"32rpx","border-radius":"20rpx","box-shadow":"0 0 10rpx 10rpx rgba(0, 0, 0, 0.1)"}}),g(i,{class:"",style:{width:"100%","font-size":"40rpx","padding-left":"54rpx","margin-top":"38rpx"}},{default:h(()=>[x(y(e.$t("infoEntry.personalInfo")),1)]),_:1}),g(i,{class:_(["column",{"flash-animation":"userName"===r.flashingField}]),style:{width:"680rpx","margin-top":"38rpx"},id:"fieldUserName"},{default:h(()=>[g(b,{style:{"font-size":"30rpx"}},{default:h(()=>[g(b,{style:{color:"#FF0000"}},{default:h(()=>[x("*")]),_:1}),x(y(e.$t("infoEntry.realName")),1)]),_:1}),g(F,{placeholder:e.$t("infoEntry.realNamePlaceholder"),border:"surround",modelValue:r.userName,"onUpdate:modelValue":t[0]||(t[0]=e=>r.userName=e)},null,8,["placeholder","modelValue"])]),_:1},8,["class"]),g(i,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),g(i,{class:_(["column",{"flash-animation":"contact"===r.flashingField}]),style:{width:"680rpx","margin-top":"14rpx"},id:"fieldContact"},{default:h(()=>[g(b,{style:{"font-size":"30rpx"}},{default:h(()=>[g(b,{style:{color:"#FF0000"}},{default:h(()=>[x("*")]),_:1}),x(y(e.$t("infoEntry.wechat"))+" ("+y(e.$t("infoEntry.contactMethod"))+")",1)]),_:1}),g(F,{placeholder:e.$t("infoEntry.wechatPlaceholder"),border:"surround",modelValue:r.userWechat,"onUpdate:modelValue":t[1]||(t[1]=e=>r.userWechat=e)},null,8,["placeholder","modelValue"])]),_:1},8,["class"]),g(i,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),g(i,{class:_(["column",{"flash-animation":"contact"===r.flashingField}]),style:{width:"680rpx","margin-top":"14rpx"}},{default:h(()=>[g(b,{style:{"font-size":"30rpx"}},{default:h(()=>[g(b,{style:{color:"#FF0000"}},{default:h(()=>[x("*")]),_:1}),x(y(e.$t("infoEntry.phone"))+" ("+y(e.$t("infoEntry.contactMethod"))+")",1)]),_:1}),g(i,{class:"row",style:{"margin-top":"10rpx","margin-bottom":"10rpx"}},{default:h(()=>[g(D,{modelValue:r.selectedDialCode,"onUpdate:modelValue":t[2]||(t[2]=e=>r.selectedDialCode=e),title:e.$t("infoEntry.selectCountry"),height:"70%",width:"60vw",duration:350,position:"bottom",round:!0,radius:"24rpx","mask-closable":!0},null,8,["modelValue","title"]),g(F,{placeholder:e.$t("infoEntry.phonePlaceholder"),border:"surround",modelValue:r.userPhone,"onUpdate:modelValue":t[3]||(t[3]=e=>r.userPhone=e)},null,8,["placeholder","modelValue"])]),_:1})]),_:1},8,["class"]),g(i,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),g(i,{class:_(["column",{"flash-animation":"contact"===r.flashingField}]),style:{width:"680rpx","margin-top":"14rpx"}},{default:h(()=>[g(b,{style:{"font-size":"30rpx"}},{default:h(()=>[g(b,{style:{color:"#FF0000"}},{default:h(()=>[x("*")]),_:1}),x(y(e.$t("infoEntry.whatsapp"))+" ("+y(e.$t("infoEntry.contactMethod"))+")",1)]),_:1}),g(F,{placeholder:e.$t("infoEntry.whatsappPlaceholder"),border:"surround",modelValue:r.userWhats,"onUpdate:modelValue":t[4]||(t[4]=e=>r.userWhats=e)},null,8,["placeholder","modelValue"])]),_:1},8,["class"]),g(i,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),g(i,{class:"column",style:{width:"680rpx","margin-top":"14rpx"}},{default:h(()=>[g(b,{style:{"font-size":"30rpx"}},{default:h(()=>[x(y(e.$t("infoEntry.remark")),1)]),_:1}),g(F,{placeholder:e.$t("infoEntry.remarkPlaceholder"),border:"surround",modelValue:r.remark,"onUpdate:modelValue":t[5]||(t[5]=e=>r.remark=e)},null,8,["placeholder","modelValue"])]),_:1}),g(i,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),g(i,{class:"",style:{width:"100%","font-size":"40rpx","padding-left":"54rpx","margin-top":"38rpx"}},{default:h(()=>[x(y(e.$t("infoEntry.serviceInfo")),1)]),_:1}),g(i,{class:_(["column",{"flash-animation":"reservationDate"===r.flashingField}]),style:{width:"680rpx","margin-top":"14rpx"},id:"fieldReservationDate"},{default:h(()=>[g(b,{style:{"font-size":"30rpx"}},{default:h(()=>[g(b,{style:{color:"#FF0000"}},{default:h(()=>[x("*")]),_:1}),x("预约日期")]),_:1}),g(i,{class:"date-item",onClick:o.openCalendar},{default:h(()=>[g(b,{class:_(["date-text",{"date-placeholder":!r.reservationDate}])},{default:h(()=>[x(y(r.reservationDate||"请选择预约日期"),1)]),_:1},8,["class"]),g(s,{src:A,style:{width:"32rpx",height:"32rpx"},mode:"aspectFit"})]),_:1},8,["onClick"])]),_:1},8,["class"]),g(i,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),g(i,{class:"column",style:{width:"680rpx","margin-top":"14rpx"},id:"fieldArrivalFlightNo"},{default:h(()=>[g(b,{style:{"font-size":"30rpx"}},{default:h(()=>[x("到达航班号")]),_:1}),g(F,{placeholder:"请输入到达航班号(如有)",border:"surround",modelValue:r.arrivalFlightNo,"onUpdate:modelValue":t[6]||(t[6]=e=>r.arrivalFlightNo=e)},null,8,["modelValue"])]),_:1}),g(i,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),g(i,{class:"column",style:{width:"680rpx","margin-top":"14rpx"},id:"fieldDepartureFlightNo"},{default:h(()=>[g(b,{style:{"font-size":"30rpx"}},{default:h(()=>[x("出发航班号")]),_:1}),g(F,{placeholder:"请输入出发航班号(如有)",border:"surround",modelValue:r.departureFlightNo,"onUpdate:modelValue":t[7]||(t[7]=e=>r.departureFlightNo=e)},null,8,["modelValue"])]),_:1}),g(i,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),g(i,{class:_(["column",{"flash-animation":"airportTerminal"===r.flashingField}]),style:{width:"680rpx","margin-top":"14rpx"},id:"fieldAirportTerminal"},{default:h(()=>[g(b,{style:{"font-size":"30rpx"}},{default:h(()=>[g(b,{style:{color:"#FF0000"}},{default:h(()=>[x("*")]),_:1}),x("机场/航站楼")]),_:1}),g(F,{placeholder:"请输入机场及航站楼",border:"surround",modelValue:r.airportTerminal,"onUpdate:modelValue":t[8]||(t[8]=e=>r.airportTerminal=e)},null,8,["modelValue"])]),_:1},8,["class"]),g(i,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),g(i,{class:_(["column",{"flash-animation":"personCount"===r.flashingField}]),style:{width:"680rpx","margin-top":"14rpx"},id:"fieldPersonCount"},{default:h(()=>[g(b,{style:{"font-size":"30rpx"}},{default:h(()=>[g(b,{style:{color:"#FF0000"}},{default:h(()=>[x("*")]),_:1}),x("人数")]),_:1}),g(i,{class:"person-row"},{default:h(()=>[g(i,{class:"person-info"},{default:h(()=>[g(b,{class:"person-title"},{default:h(()=>[x("成人")]),_:1}),g(b,{class:"person-desc"},{default:h(()=>[x("13岁或以上")]),_:1})]),_:1}),g(i,{class:"person-counter"},{default:h(()=>[g(i,{class:"counter-btn",onClick:t[9]||(t[9]=e=>o.decreaseCount("adult"))},{default:h(()=>[g(b,{class:"counter-icon"},{default:h(()=>[x("-")]),_:1})]),_:1}),g(b,{class:"counter-value"},{default:h(()=>[x(y(r.adultCount)+"人",1)]),_:1}),g(i,{class:"counter-btn",onClick:t[10]||(t[10]=e=>o.increaseCount("adult"))},{default:h(()=>[g(b,{class:"counter-icon"},{default:h(()=>[x("+")]),_:1})]),_:1})]),_:1})]),_:1}),g(i,{class:"person-row"},{default:h(()=>[g(i,{class:"person-info"},{default:h(()=>[g(b,{class:"person-title"},{default:h(()=>[x("儿童")]),_:1}),g(b,{class:"person-desc"},{default:h(()=>[x("2~12岁")]),_:1})]),_:1}),g(i,{class:"person-counter"},{default:h(()=>[g(i,{class:"counter-btn",onClick:t[11]||(t[11]=e=>o.decreaseCount("child"))},{default:h(()=>[g(b,{class:"counter-icon"},{default:h(()=>[x("-")]),_:1})]),_:1}),g(b,{class:"counter-value"},{default:h(()=>[x(y(r.childCount)+"人",1)]),_:1}),g(i,{class:"counter-btn",onClick:t[12]||(t[12]=e=>o.increaseCount("child"))},{default:h(()=>[g(b,{class:"counter-icon"},{default:h(()=>[x("+")]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["class"]),g(i,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),g(i,{class:"center",onClick:t[13]||(t[13]=e=>o.checkData()),style:{width:"642rpx",height:"72rpx","background-color":"#57C9DD","border-radius":"16rpx","box-shadow":"0 0 10rpx 10rpx rgba(0, 0, 0, 0.1)","margin-top":"50rpx","margin-bottom":"100rpx"}},{default:h(()=>[x(y(e.$t("common.submit")),1)]),_:1})]),_:1})]),_:1}),g(v,{show:r.showCalendar,mode:"single",minDate:r.minDate,maxDate:r.maxDate,onConfirm:o.onCalendarConfirm,onClose:o.closeCalendar,confirmText:e.$t("common.confirm"),color:"#57C9DD"},null,8,["show","minDate","maxDate","onConfirm","onClose","confirmText"])]),_:1})}],["__scopeId","data-v-1868c1b3"]]);export{D as default}; diff --git a/miniprogram/dist/build/h5/assets/pages-appointment-visa-consultation-page.87cb2a6f.js b/miniprogram/dist/build/h5/assets/pages-appointment-visa-consultation-page.87cb2a6f.js deleted file mode 100644 index 56538bc..0000000 --- a/miniprogram/dist/build/h5/assets/pages-appointment-visa-consultation-page.87cb2a6f.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as e,m as t,L as l,M as s,l as r,k as a,N as i,O as o,G as n,H as c,o as d,c as u,w as h,i as p,P as m,a4 as f,e as x,f as g,t as y,A as E,g as w,h as b}from"./index-a09151d6.js";import{_}from"./aure-country-picker.01cea584.js";import{A as k}from"./AppServer.888fd24d.js";import{_ as A}from"./ic_back.5440bd15.js";const V=new k;const F=e({data:()=>({serviceId:"",serviceTitle:"",userName:"",userWechat:"",userPhone:"",userWhats:"",remark:"",specificRequirements:"",submitting:!1,flashingField:"",selectedDialCode:"86"}),onLoad(e){e.id&&(this.serviceId=e.id),e.title&&(this.serviceTitle=decodeURIComponent(e.title))},methods:{checkData(){const e=[{field:"userName",selector:"#fieldUserName",check:()=>!this.userName.trim(),message:"请输入真实姓名"},{field:"contact",selector:"#fieldContact",check:()=>!this.userWechat.trim()&&!this.userPhone.trim()&&!this.userWhats.trim(),message:"请至少填写一种联系方式(微信号/手机号/WhatsApp)"},{field:"specificRequirements",selector:"#fieldSpecificRequirements",check:()=>!this.specificRequirements.trim(),message:"请输入具体需求"}];for(const l of e)if(l.check())return t({title:l.message,icon:"none"}),this.scrollToElement(l.selector),this.flashingField=l.field,void setTimeout(()=>{this.flashingField=""},1500);this.submitAppointment()},async submitAppointment(){var e;if(!this.submitting){this.submitting=!0,l({title:"提交中...",mask:!0});try{const l={hotServiceId:parseInt(this.serviceId)||null,serviceType:"visa_consultation",realName:this.userName.trim(),wechatId:this.userWechat.trim()||null,phone:this.userPhone.trim()||null,phoneCountryCode:this.userPhone.trim()?this.selectedDialCode:null,whatsapp:this.userWhats.trim()||null,notes:this.remark.trim()||null,specificRequirements:this.specificRequirements.trim()},a=await V.CreateAppointment(l);s(),a.success||0===a.code?(t({title:"预约提交成功",icon:"success"}),setTimeout(()=>{r({delta:1})},1500)):t({title:(null==(e=a.error)?void 0:e.message)||"提交失败,请重试",icon:"none"})}catch(a){s(),console.error("提交预约失败:",a),t({title:"网络错误,请重试",icon:"none"})}finally{this.submitting=!1}}},scrollToElement(e){const t=a().windowHeight,l=i().in(this);l.select(e).boundingClientRect(),l.selectViewport().scrollOffset(),l.exec(e=>{if(e[0]&&e[1]){const l=e[0],s=e[1].scrollTop+l.top-t/2+l.height/2;o({scrollTop:Math.max(0,s),duration:300})}})},back(){r({delta:1})}}},[["render",function(e,t,l,s,r,a){const i=w,o=p,k=b,V=n(c("up-input"),m),F=n(c("aure-country-picker"),_),$=n(c("up-textarea"),f);return d(),u(o,{class:"page"},{default:h(()=>[x(o,{class:"header"},{default:h(()=>[x(o,{class:"center",style:{width:"50rpx",height:"50rpx","margin-left":"32rpx"}},{default:h(()=>[x(i,{src:A,onClick:a.back,style:{width:"48rpx",height:"48rpx"},mode:""},null,8,["onClick"])]),_:1}),x(k,{style:{"font-size":"30rpx"}},{default:h(()=>[g(y(e.$t("infoEntry.title")),1)]),_:1}),x(o,{style:{width:"50rpx","margin-right":"32rpx"}})]),_:1}),x(o,{class:"scroll-content"},{default:h(()=>[x(o,{class:"content"},{default:h(()=>[x(o,{class:"",style:{width:"680rpx",height:"396rpx","background-image":"linear-gradient(-45deg, #60D7FF, #68BBD7)","margin-top":"32rpx","border-radius":"20rpx","box-shadow":"0 0 10rpx 10rpx rgba(0, 0, 0, 0.1)"}}),x(o,{class:"",style:{width:"100%","font-size":"40rpx","padding-left":"54rpx","margin-top":"38rpx"}},{default:h(()=>[g(y(e.$t("infoEntry.personalInfo")),1)]),_:1}),x(o,{class:E(["column",{"flash-animation":"userName"===r.flashingField}]),style:{width:"680rpx","margin-top":"38rpx"},id:"fieldUserName"},{default:h(()=>[x(k,{style:{"font-size":"30rpx"}},{default:h(()=>[x(k,{style:{color:"#FF0000"}},{default:h(()=>[g("*")]),_:1}),g(y(e.$t("infoEntry.realName")),1)]),_:1}),x(V,{placeholder:e.$t("infoEntry.realNamePlaceholder"),border:"surround",modelValue:r.userName,"onUpdate:modelValue":t[0]||(t[0]=e=>r.userName=e)},null,8,["placeholder","modelValue"])]),_:1},8,["class"]),x(o,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),x(o,{class:E(["column",{"flash-animation":"contact"===r.flashingField}]),style:{width:"680rpx","margin-top":"14rpx"},id:"fieldContact"},{default:h(()=>[x(k,{style:{"font-size":"30rpx"}},{default:h(()=>[x(k,{style:{color:"#FF0000"}},{default:h(()=>[g("*")]),_:1}),g(y(e.$t("infoEntry.wechat"))+" ("+y(e.$t("infoEntry.contactMethod"))+")",1)]),_:1}),x(V,{placeholder:e.$t("infoEntry.wechatPlaceholder"),border:"surround",modelValue:r.userWechat,"onUpdate:modelValue":t[1]||(t[1]=e=>r.userWechat=e)},null,8,["placeholder","modelValue"])]),_:1},8,["class"]),x(o,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),x(o,{class:E(["column",{"flash-animation":"contact"===r.flashingField}]),style:{width:"680rpx","margin-top":"14rpx"}},{default:h(()=>[x(k,{style:{"font-size":"30rpx"}},{default:h(()=>[x(k,{style:{color:"#FF0000"}},{default:h(()=>[g("*")]),_:1}),g(y(e.$t("infoEntry.phone"))+" ("+y(e.$t("infoEntry.contactMethod"))+")",1)]),_:1}),x(o,{class:"row",style:{"margin-top":"10rpx","margin-bottom":"10rpx"}},{default:h(()=>[x(F,{modelValue:r.selectedDialCode,"onUpdate:modelValue":t[2]||(t[2]=e=>r.selectedDialCode=e),title:e.$t("infoEntry.selectCountry"),height:"70%",width:"60vw",duration:350,position:"bottom",round:!0,radius:"24rpx","mask-closable":!0},null,8,["modelValue","title"]),x(V,{placeholder:e.$t("infoEntry.phonePlaceholder"),border:"surround",modelValue:r.userPhone,"onUpdate:modelValue":t[3]||(t[3]=e=>r.userPhone=e)},null,8,["placeholder","modelValue"])]),_:1})]),_:1},8,["class"]),x(o,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),x(o,{class:E(["column",{"flash-animation":"contact"===r.flashingField}]),style:{width:"680rpx","margin-top":"14rpx"}},{default:h(()=>[x(k,{style:{"font-size":"30rpx"}},{default:h(()=>[x(k,{style:{color:"#FF0000"}},{default:h(()=>[g("*")]),_:1}),g(y(e.$t("infoEntry.whatsapp"))+" ("+y(e.$t("infoEntry.contactMethod"))+")",1)]),_:1}),x(V,{placeholder:e.$t("infoEntry.whatsappPlaceholder"),border:"surround",modelValue:r.userWhats,"onUpdate:modelValue":t[4]||(t[4]=e=>r.userWhats=e)},null,8,["placeholder","modelValue"])]),_:1},8,["class"]),x(o,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),x(o,{class:"column",style:{width:"680rpx","margin-top":"14rpx"}},{default:h(()=>[x(k,{style:{"font-size":"30rpx"}},{default:h(()=>[g(y(e.$t("infoEntry.remark")),1)]),_:1}),x(V,{placeholder:e.$t("infoEntry.remarkPlaceholder"),border:"surround",modelValue:r.remark,"onUpdate:modelValue":t[5]||(t[5]=e=>r.remark=e)},null,8,["placeholder","modelValue"])]),_:1}),x(o,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),x(o,{class:"",style:{width:"100%","font-size":"40rpx","padding-left":"54rpx","margin-top":"38rpx"}},{default:h(()=>[g(y(e.$t("infoEntry.serviceInfo")),1)]),_:1}),x(o,{class:E(["column",{"flash-animation":"specificRequirements"===r.flashingField}]),style:{width:"680rpx","margin-top":"14rpx"},id:"fieldSpecificRequirements"},{default:h(()=>[x(k,{style:{"font-size":"30rpx"}},{default:h(()=>[x(k,{style:{color:"#FF0000"}},{default:h(()=>[g("*")]),_:1}),g("具体需求")]),_:1}),x($,{modelValue:r.specificRequirements,"onUpdate:modelValue":t[6]||(t[6]=e=>r.specificRequirements=e),placeholder:"请详细描述您的签证咨询需求,如:签证类型、目的国家、出行时间等",maxlength:1e3,count:!0,height:"200",border:"surround"},null,8,["modelValue"])]),_:1},8,["class"]),x(o,{class:"",style:{width:"680rpx",height:"2rpx","background-color":"#EAEAEA"}}),x(o,{class:"center",onClick:t[7]||(t[7]=e=>a.checkData()),style:{width:"642rpx",height:"72rpx","background-color":"#57C9DD","border-radius":"16rpx","box-shadow":"0 0 10rpx 10rpx rgba(0, 0, 0, 0.1)","margin-top":"50rpx","margin-bottom":"100rpx"}},{default:h(()=>[g(y(e.$t("common.submit")),1)]),_:1})]),_:1})]),_:1})]),_:1})}],["__scopeId","data-v-749747de"]]);export{F as default}; diff --git a/miniprogram/dist/build/h5/assets/pages-index-index.e475d22e.js b/miniprogram/dist/build/h5/assets/pages-index-index.e475d22e.js deleted file mode 100644 index 0dfdfa6..0000000 --- a/miniprogram/dist/build/h5/assets/pages-index-index.e475d22e.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as e,C as o,r as a,a as t,s,n as r,o as l,c as n,w as i,i as c,b as d,d as g,F as p,e as u,f as m,t as h,g as f,S as b,h as x,j as _}from"./index-a09151d6.js";import{u as y}from"./tabbar-i18n.82cae040.js";import{i as L,r as w}from"./auth.b970b80f.js";import{A as U}from"./AppServer.888fd24d.js";const I=e({data:()=>({bannerList:[],hotList:[],aboutUsImage:"",appLogo:"",appName:""}),onLoad(){this.loadConfig(),this.loadBanners(),this.loadHotServices()},onShow(){y(this),this.checkUnreadNotifications()},methods:{async loadConfig(){try{console.log("开始加载配置...");const e=await o.getPublicConfig();console.log("获取到的配置:",JSON.stringify(e)),console.log("配置类型:",typeof e),console.log("about_us_image值:",e.about_us_image),e.about_us_image?(this.aboutUsImage=o.getImageUrl(e.about_us_image),console.log("关于我们图片URL:",this.aboutUsImage)):console.log("配置中没有about_us_image"),e.app_logo&&(this.appLogo=o.getImageUrl(e.app_logo),console.log("应用Logo URL:",this.appLogo)),e.app_name&&(this.appName=e.app_name)}catch(e){console.error("加载配置失败:",e)}},async loadBanners(){try{console.log("开始加载Banner..."),console.log("API URL:",o.API_BASE_URL+"/api/v1/home/banners"),a({url:o.API_BASE_URL+"/api/v1/home/banners",method:"GET",success:e=>{var a;console.log("Banner请求成功 - res:",e),200===e.statusCode&&0===e.data.code?(this.bannerList=e.data.data.map(e=>({...e,image_url:o.getImageUrl(e.image_url)})),console.log("Banner列表:",this.bannerList),console.log("Banner数量:",this.bannerList.length)):(console.log("Banner加载条件不满足"),console.log("statusCode:",e.statusCode),console.log("code:",null==(a=e.data)?void 0:a.code))},fail:e=>{console.error("Banner请求失败:",e)}})}catch(e){console.error("加载Banner失败:",e)}},async loadHotServices(){try{a({url:o.API_BASE_URL+"/api/v1/home/hot-services",method:"GET",header:{"Accept-Language":this.$i18n.locale||"zh"},success:e=>{200===e.statusCode&&0===e.data.code&&(this.hotList=e.data.data.map(e=>({...e,image_url:e.image_url?o.getImageUrl(e.image_url):null})),console.log("热门服务列表:",this.hotList))},fail:e=>{console.error("加载热门服务失败:",e)}})}catch(e){console.error("加载热门服务失败:",e)}},handleImageLoad(e){console.log("图片加载成功:",e)},handleImageError(e){console.error("图片加载失败:",e),console.error("图片URL:",this.aboutUsImage),this.aboutUsImage=""},async checkUnreadNotifications(){if(L())try{const e=new U,o=await e.GetNotificationUnreadCount();if(0===o.code&&o.data){const e=o.data.all||0;e>0?s({index:2,text:e>99?"99+":String(e)}):t({index:2})}}catch(e){console.error("检查未读通知失败:",e)}else t({index:2})},toDetails(e){w(!0)&&r({url:"/pages/index/reserve-details-page?id="+e.id+"&title="+encodeURIComponent(e.name)+"&serviceType="+encodeURIComponent(e.service_type)})}}},[["render",function(e,o,a,t,s,r){const y=f,L=_,w=b,U=x,I=c;return l(),n(I,{class:"content"},{default:i(()=>[s.bannerList.length>0?(l(),n(w,{key:0,class:"swiper",autoplay:"",interval:"3000",duration:"500",circular:""},{default:i(()=>[(l(!0),d(p,null,g(s.bannerList,(e,o)=>(l(),n(L,{key:e.id},{default:i(()=>[u(y,{class:"swiper-img",src:e.image_url,mode:"aspectFill"},null,8,["src"])]),_:2},1024))),128))]),_:1})):(l(),n(I,{key:1,class:"swiper center",style:{"background-color":"#f5f5f5"}},{default:i(()=>[u(U,{style:{color:"#999"}},{default:i(()=>[m("暂无Banner")]),_:1})]),_:1})),u(I,{class:"column",style:{width:"100%","background-color":"white","border-radius":"27rpx","margin-top":"-32rpx","z-index":"999","box-shadow":"0 15rpx 15rpx -3rpx rgba(0, 0, 0, 0.1)"}},{default:i(()=>[u(I,{class:"hot-services-title",style:{"margin-top":"21rpx","margin-left":"25rpx"}},{default:i(()=>[u(U,{style:{"font-size":"32rpx","font-weight":"bold",color:"#333"}},{default:i(()=>[m(h(e.$t("home.hotServices")),1)]),_:1})]),_:1}),u(I,{class:"",style:{display:"flex","flex-wrap":"wrap","margin-top":"22rpx","margin-left":"11rpx"}},{default:i(()=>[(l(!0),d(p,null,g(s.hotList,(e,o)=>(l(),n(I,{class:"column",key:e.id,style:{"margin-left":"22rpx",width:"331.12rpx","margin-bottom":"25rpx"},onClick:o=>r.toDetails(e)},{default:i(()=>[u(y,{src:e.image_url||"/static/placeholder.png",style:{width:"331.12rpx",height:"159.57rpx","border-radius":"16rpx","background-color":"#f5f5f5","box-shadow":"0 0 10rpx 5rpx rgba(0, 0, 0, 0.1)"},mode:"aspectFill"},null,8,["src"]),u(I,{class:"service-text"},{default:i(()=>[m(h(e.name),1)]),_:2},1024)]),_:2},1032,["onClick"]))),128))]),_:1})]),_:1}),u(I,{class:"about-title",style:{"margin-top":"22rpx","margin-left":"28rpx"}},{default:i(()=>[u(U,{style:{"font-size":"32rpx","font-weight":"bold",color:"#333"}},{default:i(()=>[m(h(e.$t("home.aboutMe")),1)]),_:1})]),_:1}),s.aboutUsImage?(l(),n(y,{key:2,src:s.aboutUsImage,style:{width:"100%",height:"759.97rpx","box-shadow":"0 0 10rpx 5rpx rgba(0, 0, 0, 0.1)","margin-top":"26rpx","margin-bottom":"30rpx","border-radius":"28rpx","background-color":"white"},mode:"aspectFill",onError:r.handleImageError,onLoad:r.handleImageLoad},null,8,["src","onError","onLoad"])):(l(),n(I,{key:3,style:{width:"100%",height:"759.97rpx","box-shadow":"0 0 10rpx 5rpx rgba(0, 0, 0, 0.1)","margin-top":"26rpx","margin-bottom":"30rpx","border-radius":"28rpx","background-color":"white",display:"flex","align-items":"center","justify-content":"center"}},{default:i(()=>[u(U,{style:{color:"#999"}},{default:i(()=>[m(h(e.$t("home.aboutMe")),1)]),_:1})]),_:1}))]),_:1})}],["__scopeId","data-v-d420ee0b"]]);export{I as default}; diff --git a/miniprogram/dist/build/h5/assets/pages-index-reserve-details-page.27657fc1.js b/miniprogram/dist/build/h5/assets/pages-index-reserve-details-page.27657fc1.js deleted file mode 100644 index 72cbf53..0000000 --- a/miniprogram/dist/build/h5/assets/pages-index-reserve-details-page.27657fc1.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as e,r as t,C as a,l as i,n as o,m as r,o as s,c as n,w as l,i as c,e as d,f as p,t as g,g as h,h as m}from"./index-a09151d6.js";import{_ as u}from"./ic_back.5440bd15.js";const f=e({data:()=>({id:"",title:"",detailImage:"",serviceType:"",loading:!0}),onLoad(e){this.id=e.id||"",this.title=decodeURIComponent(e.title||""),this.serviceType=decodeURIComponent(e.serviceType||""),this.id?this.loadHotServiceDetail():this.loading=!1},methods:{async loadHotServiceDetail(){var e;try{t({url:a.API_BASE_URL+"/api/v1/home/hot-services",method:"GET",header:{"Accept-Language":(null==(e=this.$i18n)?void 0:e.locale)||"zh"},success:e=>{if(200===e.statusCode&&0===e.data.code){const t=e.data.data.find(e=>e.id==this.id);t&&t.detail_image&&(this.detailImage=a.getImageUrl(t.detail_image))}this.loading=!1},fail:e=>{console.error("加载热门服务详情失败:",e),this.loading=!1}})}catch(i){console.error("加载热门服务详情失败:",i),this.loading=!1}},handleImageError(e){console.error("详情图片加载失败:",e),this.detailImage=""},back(){i({delta:1,animationType:"slide-out-right",animationDuration:300})},toEntry(){const e={flight:"airfare-info-entry-page",hotel:"hotel-reservation-page",lounge:"vip-lounge-page",airport_transfer:"airport-transfer-page",unaccompanied_minor:"unaccompanied-minor-page",rail_ticket:"rail-ticket-page",medical_consultation:"medical-consultation-page",special_passenger:"special-needs-page",pet_transportation:"pet-transportation-page",guide_translation:"guide-translation-page",visa_consultation:"visa-consultation-page",exhibition_service:"exhibition-service-page",air_logistics:"air-logistics-page",sea_freight:"sea-freight-page",travel_planning:"travel-planning-page",insurance_consultation:"insurance-consultation-page"}[this.serviceType];e?o({url:"/pages/appointment/"+e+"?id="+this.id+"&title="+encodeURIComponent(this.title)}):r({title:"该服务暂未开放预约",icon:"none"})}}},[["render",function(e,t,a,i,o,r){const f=h,_=c,y=m;return s(),n(_,{class:"content"},{default:l(()=>[d(_,{class:"row",style:{width:"100%","margin-top":"100rpx","align-items":"center","justify-content":"space-between"}},{default:l(()=>[d(_,{class:"center",style:{width:"50rpx",height:"50rpx","margin-left":"32rpx"}},{default:l(()=>[d(f,{src:u,onClick:r.back,style:{width:"48rpx",height:"48rpx"},mode:""},null,8,["onClick"])]),_:1}),d(y,{style:{"font-size":"30rpx"}},{default:l(()=>[p(g(o.title),1)]),_:1}),d(_,{style:{width:"50rpx","margin-right":"32rpx"}})]),_:1}),d(_,{class:"",style:{width:"100%",flex:"1","overflow-y":"auto","margin-top":"28rpx"}},{default:l(()=>[o.detailImage?(s(),n(f,{key:0,src:o.detailImage,style:{width:"100%"},mode:"widthFix",onError:r.handleImageError},null,8,["src","onError"])):(s(),n(_,{key:1,class:"center",style:{width:"100%",height:"400rpx","background-color":"#f5f5f5"}},{default:l(()=>[d(y,{style:{color:"#999"}},{default:l(()=>[p(g(o.loading?e.$t("common.loading"):"暂无详情图片"),1)]),_:1})]),_:1}))]),_:1}),d(_,{class:"center",onClick:t[0]||(t[0]=e=>r.toEntry()),style:{width:"600rpx",height:"92rpx","background-color":"#1DB6D1",position:"fixed",bottom:"54rpx","border-radius":"10rpx","font-size":"32rpx",color:"white"}},{default:l(()=>[p(g(e.$t("reserveDetails.reserve")),1)]),_:1})]),_:1})}],["__scopeId","data-v-24733327"]]);export{f as default}; diff --git a/miniprogram/dist/build/h5/assets/pages-login-login-page.440b1f8e.js b/miniprogram/dist/build/h5/assets/pages-login-login-page.440b1f8e.js deleted file mode 100644 index bcb8044..0000000 --- a/miniprogram/dist/build/h5/assets/pages-login-login-page.440b1f8e.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as e,k as o,l as a,m as s,p as t,q as i,u as n,n as l,C as c,o as r,c as g,w as d,v as u,i as h,e as m,f,t as p,x as k,g as T,h as _,y as L}from"./index-a09151d6.js";import{A as C}from"./AppServer.888fd24d.js";import{s as y}from"./auth.b970b80f.js";import{_ as b}from"./ic_back.5440bd15.js";const x=e({data:()=>({isLoading:!1,agreeToTerms:!1,statusBarHeight:0,appLogo:""}),onLoad(){const e=o();this.statusBarHeight=e.statusBarHeight||0,this.loadConfig()},methods:{back(){a({delta:1})},async handleWechatLogin(){if(!this.isLoading)if(this.agreeToTerms){this.isLoading=!0;try{const e=await this.getWechatLoginCode();if(console.log("微信登录 code:",e),!e||!e.code)return s({title:this.$t("login.wechatLoginFailed"),icon:"none"}),void(this.isLoading=!1);const o=new C,a=await o.WechatLogin(e.code);if(console.log("登录接口返回:",a),!a)return console.error("登录接口无响应"),s({title:this.$t("login.loginFailed"),icon:"none"}),void(this.isLoading=!1);if(0!==a.code)return console.error("登录失败,code:",a.code,"message:",a.message),s({title:a.message||this.$t("login.loginFailed"),icon:"none"}),void(this.isLoading=!1);if(!a.data||!a.data.token)return console.error("Token 数据缺失:",a.data),s({title:this.$t("login.loginFailed"),icon:"none"}),void(this.isLoading=!1);console.log("登录成功,保存认证信息");const t="Bearer "+a.data.token;y(t,a.data.refreshToken,a.data.user),s({title:this.$t("login.loginSuccess")||"登录成功",icon:"success",duration:1500}),setTimeout(()=>{this.redirectToHome()},500)}catch(e){console.error("登录异常:",e),console.error("错误堆栈:",e.stack),s({title:this.$t("login.loginError")+": "+(e.message||""),icon:"none",duration:3e3})}finally{this.isLoading=!1}}else s({title:this.$t("login.mustAgreeToTerms"),icon:"none"})},getWechatLoginCode:()=>new Promise((e,o)=>{t({provider:"weixin",success:o=>{e(o)},fail:e=>{console.error("uni.login 失败:",e),o(e)}})}),redirectToHome(){const e=u();e.globalData&&(e.globalData.shouldRefresh=!0,e.globalData.loginTime=Date.now()),i({url:"/pages/index/index",success:()=>{console.log("登录成功,已跳转到首页")},fail:e=>{console.error("跳转首页失败:",e),n({url:"/pages/index/index"})}})},toggleAgreement(){this.agreeToTerms=!this.agreeToTerms},goToUserAgreement(){l({url:"/pages/me/user-agreement-page"})},goToPrivacyPolicy(){l({url:"/pages/me/privacy-policy-page"})},async loadConfig(){try{const e=await c.getPublicConfig();e.app_logo&&(this.appLogo=c.getImageUrl(e.app_logo))}catch(e){console.error("加载配置失败:",e)}}}},[["render",function(e,o,a,s,t,i){const n=T,l=h,c=_,u=L;return r(),g(l,{class:"login-container"},{default:d(()=>[m(l,{class:"header-row"},{default:d(()=>[m(l,{class:"back-button",onClick:i.back},{default:d(()=>[m(n,{src:b,class:"back-icon"})]),_:1},8,["onClick"]),m(c,{class:"title"},{default:d(()=>[f(p(e.$t("login.title")),1)]),_:1}),m(l,{class:"back-button",onClick:e.markAllRead},null,8,["onClick"])]),_:1}),m(l,{class:"logo-section"},{default:d(()=>[m(l,{class:"logo-box"},{default:d(()=>[t.appLogo?(r(),g(n,{key:0,src:t.appLogo,class:"logo-image",mode:"aspectFit"},null,8,["src"])):(r(),g(c,{key:1,class:"logo-text"},{default:d(()=>[f("LOGO")]),_:1}))]),_:1})]),_:1}),m(l,{class:"main-content"},{default:d(()=>[m(u,{class:"login-button",onClick:i.handleWechatLogin,loading:t.isLoading},{default:d(()=>[f(p(e.$t("login.oneClickLogin")),1)]),_:1},8,["onClick","loading"]),m(l,{class:"agreement-section"},{default:d(()=>[m(l,{class:"agreement-label",onClick:i.toggleAgreement},{default:d(()=>[m(n,{src:t.agreeToTerms?"/static/ic_checked.png":"/static/ic_check.png",class:"check-icon"},null,8,["src"]),m(c,{class:"agreement-text"},{default:d(()=>[f(p(e.$t("login.agreeToTerms"))+" ",1),m(c,{class:"link-text",onClick:k(i.goToUserAgreement,["stop"])},{default:d(()=>[f(p(e.$t("login.userAgreement")),1)]),_:1},8,["onClick"]),f(" "+p(e.$t("login.and"))+" ",1),m(c,{class:"link-text",onClick:k(i.goToPrivacyPolicy,["stop"])},{default:d(()=>[f(p(e.$t("login.privacyPolicy")),1)]),_:1},8,["onClick"])]),_:1})]),_:1},8,["onClick"])]),_:1})]),_:1})]),_:1})}],["__scopeId","data-v-f67ad6c1"]]);export{x as default}; diff --git a/miniprogram/dist/build/h5/assets/pages-me-about-us-page.ca5f80f5.js b/miniprogram/dist/build/h5/assets/pages-me-about-us-page.ca5f80f5.js deleted file mode 100644 index bf07f1b..0000000 --- a/miniprogram/dist/build/h5/assets/pages-me-about-us-page.ca5f80f5.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as a,l as s,C as o,o as e,c as t,w as l,i as c,e as i,f as n,t as g,B as p,g as r,h as d}from"./index-a09151d6.js";import{_ as u}from"./ic_back.5440bd15.js";const m=a({data:()=>({appLogo:"",appName:"",aboutUsImage:"",version:"1.0.0",loading:!0}),onLoad(){this.loadConfig()},methods:{goBack(){s()},async loadConfig(){try{this.loading=!0;const a=await o.getPublicConfig();a.app_logo&&(this.appLogo=o.getImageUrl(a.app_logo)),a.app_name&&(this.appName=a.app_name),a.about_us_image&&(this.aboutUsImage=o.getImageUrl(a.about_us_image))}catch(a){console.error("加载配置失败:",a)}finally{this.loading=!1}}}},[["render",function(a,s,o,m,_,f){const b=r,h=c,k=d;return e(),t(h,{class:"page"},{default:l(()=>[i(h,{class:"navbar"},{default:l(()=>[i(h,{class:"nav-back",onClick:f.goBack},{default:l(()=>[i(b,{src:u,class:"back-icon",mode:"aspectFit"})]),_:1},8,["onClick"]),i(k,{class:"nav-title"},{default:l(()=>[n(g(a.$t("me.about")),1)]),_:1})]),_:1}),i(h,{class:"logo-container"},{default:l(()=>[i(h,{class:"logo-box"},{default:l(()=>[_.appLogo?(e(),t(b,{key:0,src:_.appLogo,class:"logo-image",mode:"aspectFit"},null,8,["src"])):(e(),t(k,{key:1,class:"logo-placeholder"},{default:l(()=>[n("LOGO")]),_:1}))]),_:1}),i(k,{class:"version-text"},{default:l(()=>[n(g(_.appName),1)]),_:1}),i(k,{class:"version-number"},{default:l(()=>[n("v"+g(_.version),1)]),_:1})]),_:1}),_.aboutUsImage?(e(),t(h,{key:0,class:"about-image-container"},{default:l(()=>[i(b,{src:_.aboutUsImage,class:"about-image",mode:"widthFix"},null,8,["src"])]),_:1})):p("",!0)]),_:1})}],["__scopeId","data-v-b9c450e3"]]);export{m as default}; diff --git a/miniprogram/dist/build/h5/assets/pages-me-contact-us-page.af455db9.js b/miniprogram/dist/build/h5/assets/pages-me-contact-us-page.af455db9.js deleted file mode 100644 index a44b5eb..0000000 --- a/miniprogram/dist/build/h5/assets/pages-me-contact-us-page.af455db9.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as a,l as s,C as e,o as t,c,w as l,i as o,e as r,f as n,t as i,g as d,h as g}from"./index-a09151d6.js";import{_ as m}from"./ic_back.5440bd15.js";const f=a({data:()=>({qrImageUrl:"",loading:!0}),onLoad(){this.loadQrImage()},methods:{goBack(){s()},async loadQrImage(){try{this.loading=!0;const a=await e.getPublicConfig();a.contact_qr_image&&(this.qrImageUrl=e.getImageUrl(a.contact_qr_image))}catch(a){console.error("加载二维码失败:",a)}finally{this.loading=!1}}}},[["render",function(a,s,e,f,_,u){const q=d,h=o,k=g;return t(),c(h,{class:"page"},{default:l(()=>[r(h,{class:"navbar"},{default:l(()=>[r(h,{class:"nav-back",onClick:u.goBack},{default:l(()=>[r(q,{src:m,class:"back-icon",mode:"aspectFit"})]),_:1},8,["onClick"]),r(k,{class:"nav-title"},{default:l(()=>[n(i(a.$t("me.contactUs")),1)]),_:1})]),_:1}),r(h,{class:"qr-container"},{default:l(()=>[r(h,{class:"qr-box"},{default:l(()=>[_.qrImageUrl?(t(),c(q,{key:0,src:_.qrImageUrl,class:"qr-image",mode:"aspectFit"},null,8,["src"])):(t(),c(h,{key:1,class:"qr-placeholder"},{default:l(()=>[r(k,{class:"placeholder-text"},{default:l(()=>[n(i(_.loading?"加载中...":"暂无二维码"),1)]),_:1})]),_:1}))]),_:1})]),_:1})]),_:1})}],["__scopeId","data-v-28f49f3e"]]);export{f as default}; diff --git a/miniprogram/dist/build/h5/assets/pages-me-invite-reward-page.89752fa7.js b/miniprogram/dist/build/h5/assets/pages-me-invite-reward-page.89752fa7.js deleted file mode 100644 index 7410ec7..0000000 --- a/miniprogram/dist/build/h5/assets/pages-me-invite-reward-page.89752fa7.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as t,U as e,V as a,K as s,W as l,X as o,O as i,o as n,c as d,w as c,Y as r,i as u,v as p,l as h,E as m,m as f,Z as g,$ as w,G as _,H as y,b as v,e as b,F as C,I as k,a0 as $,a1 as S,f as M,t as x,d as R,B as T,x as F,A as D,g as N,h as A,a2 as W}from"./index-a09151d6.js";import{A as Q}from"./AppServer.888fd24d.js";import{_ as B}from"./ic_back.5440bd15.js";import{_ as q}from"./ic_colse.a4aecbba.js";const P=t({name:"PageMeta",setup(t,{emit:s}){e(()=>{a(t=>{s("resize",t)})})},props:{backgroundTextStyle:{type:String,default:"dark",validator:t=>-1!==["dark","light"].indexOf(t)},backgroundColor:{type:String,default:"#ffffff"},backgroundColorTop:{type:String,default:"#ffffff"},backgroundColorBottom:{type:String,default:"#ffffff"},scrollTop:{type:String,default:""},scrollDuration:{type:Number,default:300},pageStyle:{type:String,default:""},enablePullDownRefresh:{type:[Boolean,String],default:!1},rootFontSize:{type:String,default:""}},created(){const t=s()[0];this.$pageVm=t.$vm||t,this.$watch("backgroundTextStyle",()=>{this.setBackgroundTextStyle()}),this.$watch(()=>[this.rootFontSize,this.pageStyle],()=>{this.setPageMeta()}),this.$watch(()=>[this.backgroundColor,this.backgroundColorTop,this.backgroundColorBottom],()=>{this.setBackgroundColor()}),this.$watch(()=>[this.scrollTop,this.scrollDuration],()=>{this.pageScrollTo()})},beforeMount(){this.setBackgroundColor(),(this.rootFontSize||this.pageStyle)&&this.setPageMeta(),this.backgroundTextStyle&&this.setBackgroundTextStyle()},mounted(){this.scrollTop&&this.pageScrollTo()},methods:{setPullDownRefresh(t,e){t.setStyle({pullToRefresh:{support:e,style:"Android"===plus.os.name?"circle":"default"}})},setPageMeta(){l({pageStyle:this.pageStyle,rootFontSize:this.rootFontSize})},setBackgroundTextStyle(){},setBackgroundColor(){},pageScrollTo(){let t=String(this.scrollTop);-1!==t.indexOf("rpx")&&(t=o(t.replace("rpx",""))),t=parseFloat(t),isNaN(t)||i({scrollTop:t,duration:this.scrollDuration,success:()=>{}})}}},[["render",function(t,e,a,s,l,o){const i=u;return n(),d(i,{style:{display:"none"}},{default:c(()=>[r(t.$slots,"default")]),_:3})}]]),V="/static/new_bg2.png",I=new Q;const L=t({data:()=>({navbarBgColor:"transparent",scrollTop:0,showWithdrawModal:!1,showApplyModal:!1,showQRCodeModal:!1,showQRCodeContent:!1,qrcodeDataUrl:"",qrcodeValue:"",appLogo:"",applyStep:1,withdrawAmount:"",paymentMethod:"wechat",qrcodeImage:"",bankCardNumber:"",cardholderName:"",bankName:"",swiftCode:"",withdrawRecords:[],withdrawDetailList:[],inviteRecords:[],commissionStats:{totalInvites:0,paidInvites:0,totalCommission:"0.00",availableBalance:"0.00",invitationCode:""},loading:!1,inviteRules:""}),computed:{pageStyle(){return this.showQRCodeModal||this.showWithdrawModal||this.showApplyModal?"overflow: hidden;":""}},onLoad(){this.loadData()},onShareAppMessage(){const t=this.commissionStats.invitationCode||"";let e="/static/new_bg1.png";return this.appLogo&&this.appLogo.startsWith("http")&&(e=this.appLogo),console.log("分享图片路径:",e,"appLogo:",this.appLogo),{title:"邀请你加入,一起赚佣金!",path:`/pages/index/index?inviteCode=${t}`,imageUrl:e}},onShareTimeline(){const t=this.commissionStats.invitationCode||"";let e="/static/new_bg1.png";return this.appLogo&&this.appLogo.startsWith("http")&&(e=this.appLogo),{title:"邀请你加入,一起赚佣金!",query:`inviteCode=${t}`,imageUrl:e}},methods:{async loadData(){this.loading=!0;try{await Promise.all([this.loadCommissionStats(),this.loadCommissionRecords(),this.loadWithdrawRecords(),this.loadAppConfig()])}catch(t){console.error("加载数据失败:",t)}finally{this.loading=!1}},loadAppConfig(){try{const t=p();if(t&&t.globalData&&t.globalData.config){const e=t.globalData.config;e.app_logo&&(this.appLogo=t.getConfigImageUrl("app_logo"),console.log("从globalData获取到应用logo:",this.appLogo)),e.invite_rules&&(this.inviteRules=e.invite_rules)}}catch(t){console.error("获取应用配置失败:",t)}},async loadCommissionStats(){try{const t=await I.GetCommissionStats();if(t&&0===t.code&&t.data){this.commissionStats=t.data,this.updateWithdrawDisplay();const e=t.data.invitationCode||"";this.qrcodeValue=`https://your-domain.com/invite?code=${e}`}}catch(t){console.error("获取佣金统计失败:",t)}},async loadCommissionRecords(){try{const t=await I.GetCommissions({page:1,limit:50});t&&0===t.code&&t.data&&t.data.records&&(this.inviteRecords=t.data.records.map(t=>{var e,a;return{username:(null==(e=t.invitee)?void 0:e.nickname)||"-",uid:(null==(a=t.invitee)?void 0:a.uid)||"-",time:this.formatDate(t.createdAt),paid:!0,amount:parseFloat(t.commissionAmount)}}))}catch(t){console.error("获取佣金记录失败:",t)}},async loadWithdrawRecords(){try{const t=await I.GetWithdrawals({page:1,limit:10});t&&0===t.code&&t.data&&t.data.records&&(this.withdrawDetailList=t.data.records.map(t=>({time:this.formatDate(t.createdAt),amount:t.amount,status:this.getWithdrawStatusText(t.status)})))}catch(t){console.error("获取提现记录失败:",t)}},updateWithdrawDisplay(){this.withdrawRecords=[{amount:this.commissionStats.availableBalance||"0",status:this.$t("invite.statusWaiting")}]},formatDate(t){if(!t)return"-";const e=new Date(t);return`${e.getFullYear()}/${e.getMonth()+1}/${e.getDate()}`},getWithdrawStatusText(t){return{waiting:this.$t("invite.statusWaiting"),processing:this.$t("invite.statusProcessing"),completed:this.$t("invite.statusCompleted"),rejected:this.$t("invite.statusRejected")||"已拒绝"}[t]||t},goBack(){h()},showDetail(){m({title:"规则说明",content:this.inviteRules||this.$t("invite.ruleContent"),showCancel:!1})},generateQRCode(){const t=this.commissionStats.invitationCode||"";this.qrcodeValue=`https://your-domain.com/invite?code=${t}`,this.showQRCodeContent=!1,this.showQRCodeModal=!0},onQRCodePopupOpen(){setTimeout(()=>{this.showQRCodeContent=!0},100)},closeQRCodeModal(){this.showQRCodeContent=!1,this.showQRCodeModal=!1,this.qrcodeDataUrl=""},shareQRCodeToFriend(){f({title:this.$t("invite.shareSuccess")||"请使用右上角分享",icon:"none"})},saveQRCodeImage(){this.$refs.uQrcode?this.$refs.uQrcode.toTempFilePath({success:t=>{g({filePath:t.tempFilePath,success:()=>{f({title:this.$t("invite.saveSuccess")||"保存成功",icon:"success"})},fail:t=>{console.error("保存图片失败:",t),t.errMsg&&t.errMsg.includes("auth deny")?m({title:"提示",content:"需要您授权保存图片到相册",success:t=>{t.confirm&&uni.openSetting()}}):f({title:"保存失败",icon:"none"})}})},fail:t=>{console.error("获取二维码图片失败:",t),f({title:"获取二维码失败",icon:"none"})}}):f({title:"二维码生成中,请稍候",icon:"none"})},shareToFriend(){uni.share({provider:"weixin",scene:"WXSceneSession",type:0,title:this.$t("invite.shareTitle"),success:()=>{f({title:this.$t("invite.shareSuccess"),icon:"success"})}})},goToWithdrawDetail(){this.showWithdrawModal=!0},closeWithdrawModal(){this.showWithdrawModal=!1},applyWithdraw(){this.applyStep=1,this.withdrawAmount="",this.paymentMethod="wechat",this.qrcodeImage="",this.bankCardNumber="",this.cardholderName="",this.bankName="",this.swiftCode="",this.showApplyModal=!0},closeApplyModal(){this.showApplyModal=!1},nextStep(){const t=parseFloat(this.withdrawAmount);if(!this.withdrawAmount||isNaN(t))return void f({title:this.$t("invite.enterAmountError"),icon:"none"});if(t<1)return void f({title:this.$t("invite.amountTooLow")||"低于1元,无法申请提现",icon:"none"});if(t>parseFloat(this.commissionStats.availableBalance||"0"))return void f({title:this.$t("invite.amountExceedsBalance")||"超出可提现金额",icon:"none"});const e=Math.floor(100*t)/100;this.withdrawAmount=e.toString(),this.applyStep=2},selectPaymentMethod(t){this.paymentMethod=t},uploadQRCode(){w({count:1,success:t=>{this.qrcodeImage=t.tempFilePaths[0]}})},async submitWithdraw(){var t;if("bank"!==this.paymentMethod&&!this.qrcodeImage)return void f({title:this.$t("invite.uploadQRCodeError"),icon:"none"});if(!("bank"!==this.paymentMethod||this.bankCardNumber&&this.cardholderName&&this.bankName))return void f({title:this.$t("invite.bankInfoError"),icon:"none"});let e={};if("bank"===this.paymentMethod)e={bankCardNumber:this.bankCardNumber,cardholderName:this.cardholderName,bankName:this.bankName,swiftCode:this.swiftCode||void 0};else try{const t=await I.UploadImage(this.qrcodeImage);if(!t||0!==t.code||!t.data)return void f({title:"上传收款码失败",icon:"none"});e={qrcodeUrl:t.data.url}}catch(a){return console.error("上传收款码失败:",a),void f({title:"上传收款码失败",icon:"none"})}try{const a=await I.CreateWithdrawal({amount:parseFloat(this.withdrawAmount),paymentMethod:this.paymentMethod,paymentDetails:e});a&&0===a.code?(f({title:this.$t("invite.applySuccess"),icon:"success"}),this.closeApplyModal(),this.loadData()):f({title:(null==(t=a.error)?void 0:t.message)||"提现申请失败",icon:"none"})}catch(a){console.error("提现申请失败:",a),f({title:"提现申请失败",icon:"none"})}},handleScroll(t){}},onPageScroll(t){const e=t.scrollTop;if(e>100)this.navbarBgColor="linear-gradient(135deg, #FF3B4E 0%, #FF6B7A 100%)";else{const t=e/100;this.navbarBgColor=`rgba(255, 59, 78, ${t})`}}},[["render",function(t,e,a,s,l,o){const i=_(y("page-meta"),P),r=N,p=A,h=u,m=_(y("up-popup"),k),f=_(y("u-qrcode"),$),g=W;return n(),v(C,null,[b(i,{"page-style":o.pageStyle},null,8,["page-style"]),b(h,{class:"page"},{default:c(()=>[b(h,{class:"navbar-fixed",style:S({background:l.navbarBgColor})},{default:c(()=>[b(r,{src:B,class:"back-btn",onClick:o.goBack,mode:""},null,8,["onClick"]),b(p,{class:"navbar-title"},{default:c(()=>[M(x(t.$t("invite.title")),1)]),_:1})]),_:1},8,["style"]),b(h,{class:"reward-header"},{default:c(()=>[b(r,{src:"/static/new_bg1.png",class:"bg-image",mode:"scaleToFill"}),b(h,{class:"reward-content"},{default:c(()=>[b(p,{class:"reward-title"},{default:c(()=>[M(x(t.$t("invite.rewardTitle")),1)]),_:1}),b(h,{class:"reward-desc-box"},{default:c(()=>[b(p,{class:"reward-desc"},{default:c(()=>[M(x(t.$t("invite.rewardDesc")),1)]),_:1})]),_:1})]),_:1})]),_:1}),b(h,{class:"steps-section"},{default:c(()=>[b(h,{class:"section-title-row"},{default:c(()=>[b(h,{class:"title-line"}),b(p,{class:"section-title"},{default:c(()=>[M(x(t.$t("invite.stepsTitle")),1)]),_:1}),b(h,{class:"title-line"})]),_:1}),b(h,{class:"step-item"},{default:c(()=>[b(h,{class:"step-icon step-icon-1"},{default:c(()=>[b(r,{src:"/static/new_user.png",class:"step-img",mode:"widthFix"})]),_:1}),b(p,{class:"step-text"},{default:c(()=>[M(x(t.$t("invite.step1")),1)]),_:1})]),_:1}),b(h,{class:"step-item"},{default:c(()=>[b(h,{class:"step-icon step-icon-2"},{default:c(()=>[b(r,{src:"/static/red_box.png",class:"step-img",mode:"widthFix"})]),_:1}),b(p,{class:"step-text"},{default:c(()=>[M(x(t.$t("invite.step2")),1)]),_:1})]),_:1}),b(h,{class:"step-item"},{default:c(()=>[b(h,{class:"step-icon step-icon-3"},{default:c(()=>[b(r,{src:"/static/ic_wallet.png",class:"step-img",mode:"widthFix"})]),_:1}),b(p,{class:"step-text"},{default:c(()=>[M(x(t.$t("invite.step3")),1)]),_:1})]),_:1}),b(h,{class:"detail-link",onClick:o.showDetail},{default:c(()=>[b(p,{class:"detail-text"},{default:c(()=>[M(x(t.$t("invite.viewDetail")),1)]),_:1})]),_:1},8,["onClick"])]),_:1}),b(h,{class:"action-buttons"},{default:c(()=>[b(h,{class:"action-btn qrcode-btn",onClick:o.generateQRCode},{default:c(()=>[b(p,{class:"btn-text"},{default:c(()=>[M(x(t.$t("invite.generateQRCode")),1)]),_:1})]),_:1},8,["onClick"]),b(h,{class:"action-btn share-btn",onClick:o.shareToFriend},{default:c(()=>[b(p,{class:"btn-text"},{default:c(()=>[M(x(t.$t("invite.shareToFriend")),1)]),_:1})]),_:1},8,["onClick"])]),_:1}),b(h,{class:"record-section"},{default:c(()=>[b(h,{class:"record-header",onClick:o.goToWithdrawDetail},{default:c(()=>[b(p,{class:"record-title"},{default:c(()=>[M(x(t.$t("invite.withdrawRecord")),1)]),_:1}),b(h,{class:"record-more"},{default:c(()=>[b(p,{class:"more-text"},{default:c(()=>[M(x(t.$t("invite.withdrawPeriod")),1)]),_:1}),b(r,{src:"/static/arrow_right3.png",class:"arrow-icon",mode:""})]),_:1})]),_:1},8,["onClick"]),b(h,{class:"record-content"},{default:c(()=>[b(r,{src:V,class:"record-bg-image",mode:"scaleToFill"}),b(h,{class:"reward-cards"},{default:c(()=>[(n(!0),v(C,null,R(l.withdrawRecords,(e,a)=>(n(),d(h,{class:"reward-card",key:a},{default:c(()=>[b(p,{class:"reward-amount"},{default:c(()=>[M(x(e.amount)+x(t.$t("common.currency")),1)]),_:2},1024),b(p,{class:"reward-status"},{default:c(()=>[M(x(e.status),1)]),_:2},1024)]),_:2},1024))),128))]),_:1}),b(h,{class:"apply-withdraw-btn",onClick:o.applyWithdraw},{default:c(()=>[b(p,{class:"apply-text"},{default:c(()=>[M(x(t.$t("invite.applyWithdraw")),1)]),_:1})]),_:1},8,["onClick"])]),_:1})]),_:1}),b(h,{class:"invite-record-section"},{default:c(()=>[b(h,{class:"invite-record-header"},{default:c(()=>[b(p,{class:"record-title"},{default:c(()=>[M(x(t.$t("invite.inviteRecord")),1)]),_:1})]),_:1}),b(h,{class:"invite-record-content"},{default:c(()=>[b(r,{src:"/static/approved.png",class:"content-bg-stamp",mode:"aspectFit"}),b(h,{class:"table-header"},{default:c(()=>[b(p,{class:"table-col"},{default:c(()=>[M(x(t.$t("invite.username")),1)]),_:1}),b(p,{class:"table-col"},{default:c(()=>[M(x(t.$t("invite.uid")),1)]),_:1}),b(p,{class:"table-col"},{default:c(()=>[M(x(t.$t("invite.inviteTime")),1)]),_:1}),b(p,{class:"table-col"},{default:c(()=>[M(x(t.$t("invite.paid")),1)]),_:1})]),_:1}),b(h,{class:"table-body"},{default:c(()=>[(n(!0),v(C,null,R(l.inviteRecords,(t,e)=>(n(),d(h,{class:"table-row",key:e},{default:c(()=>[b(p,{class:"table-cell"},{default:c(()=>[M(x(t.username),1)]),_:2},1024),b(p,{class:"table-cell"},{default:c(()=>[M(x(t.uid),1)]),_:2},1024),b(p,{class:"table-cell"},{default:c(()=>[M(x(t.time),1)]),_:2},1024),b(h,{class:"table-cell status-cell"},{default:c(()=>[t.paid&&t.amount?(n(),d(p,{key:0,class:"paid-amount"},{default:c(()=>[M("¥"+x(t.amount),1)]),_:2},1024)):(n(),d(p,{key:1,class:"unpaid-text"},{default:c(()=>[M("¥0")]),_:1}))]),_:2},1024)]),_:2},1024))),128))]),_:1}),0===l.inviteRecords.length?(n(),d(h,{key:0,class:"empty-state"},{default:c(()=>[b(p,{class:"empty-text"},{default:c(()=>[M(x(t.$t("common.noData")),1)]),_:1})]),_:1})):T("",!0)]),_:1})]),_:1}),b(m,{show:l.showWithdrawModal,mode:"center",round:20,overlay:!0,closeOnClickOverlay:!0,bgColor:"#ffffff",onClose:o.closeWithdrawModal},{default:c(()=>[b(h,{class:"modal-content"},{default:c(()=>[b(h,{class:"modal-header"},{default:c(()=>[b(p,{class:"modal-title"},{default:c(()=>[M(x(t.$t("invite.withdrawDetail")),1)]),_:1}),b(r,{src:q,class:"close-icon",onClick:o.closeWithdrawModal,mode:""},null,8,["onClick"])]),_:1}),b(h,{class:"modal-table"},{default:c(()=>[b(h,{class:"modal-table-header"},{default:c(()=>[b(p,{class:"modal-table-col"},{default:c(()=>[M(x(t.$t("invite.time")),1)]),_:1}),b(p,{class:"modal-table-col"},{default:c(()=>[M(x(t.$t("invite.amount")),1)]),_:1}),b(p,{class:"modal-table-col"},{default:c(()=>[M(x(t.$t("invite.status")),1)]),_:1})]),_:1}),b(h,{class:"modal-table-body"},{default:c(()=>[(n(!0),v(C,null,R(l.withdrawDetailList,(t,e)=>(n(),d(h,{class:"modal-table-row",key:e},{default:c(()=>[b(p,{class:"modal-table-cell"},{default:c(()=>[M(x(t.time),1)]),_:2},1024),b(p,{class:"modal-table-cell"},{default:c(()=>[M("¥"+x(t.amount),1)]),_:2},1024),b(p,{class:"modal-table-cell"},{default:c(()=>[M(x(t.status),1)]),_:2},1024)]),_:2},1024))),128))]),_:1})]),_:1})]),_:1})]),_:1},8,["show","onClose"]),b(m,{show:l.showQRCodeModal,mode:"center",round:20,overlay:!0,closeOnClickOverlay:!0,bgColor:"#ffffff",onClose:o.closeQRCodeModal,onOpen:o.onQRCodePopupOpen},{default:c(()=>[b(h,{class:"qrcode-modal-content"},{default:c(()=>[b(p,{class:"qrcode-modal-title"},{default:c(()=>[M(x(t.$t("invite.qrcodeTitle")||"邀请好友,赢现金"),1)]),_:1}),b(h,{class:"qrcode-box"},{default:c(()=>[l.showQRCodeContent?(n(),d(f,{key:0,ref:"uQrcode",val:l.qrcodeValue,size:200,unit:"px","load-make":!0,"using-components":!0},null,8,["val"])):T("",!0)]),_:1}),b(h,{class:"qrcode-actions"},{default:c(()=>[b(h,{class:"qrcode-action-btn share-action-btn",onClick:o.shareQRCodeToFriend},{default:c(()=>[b(p,{class:"action-btn-text"},{default:c(()=>[M(x(t.$t("invite.shareToFriend")||"分享给好友"),1)]),_:1})]),_:1},8,["onClick"]),b(h,{class:"qrcode-action-btn save-action-btn",onClick:o.saveQRCodeImage},{default:c(()=>[b(p,{class:"action-btn-text"},{default:c(()=>[M(x(t.$t("invite.saveImage")||"保存图片"),1)]),_:1})]),_:1},8,["onClick"])]),_:1})]),_:1})]),_:1},8,["show","onClose","onOpen"]),l.showApplyModal?(n(),d(h,{key:0,class:"apply-modal-overlay",onClick:o.closeApplyModal},{default:c(()=>[b(h,{class:"apply-modal-wrapper",onClick:e[8]||(e[8]=F(()=>{},["stop"]))},{default:c(()=>[b(h,{class:"apply-modal-content"},{default:c(()=>[b(h,{class:"apply-modal-header"},{default:c(()=>[b(p,{class:"apply-modal-title"},{default:c(()=>[M(x(t.$t("invite.withdrawApplication"))+" "+x(l.applyStep)+"/2",1)]),_:1})]),_:1}),1===l.applyStep?(n(),d(h,{key:0,class:"apply-step-content"},{default:c(()=>[b(r,{src:V,class:"step-bg-image",mode:"aspectFill"}),b(p,{class:"step-label"},{default:c(()=>[M(x(t.$t("invite.enterAmount")),1)]),_:1}),b(h,{class:"amount-input-row"},{default:c(()=>[b(g,{class:"amount-input",type:"number",modelValue:l.withdrawAmount,"onUpdate:modelValue":e[0]||(e[0]=t=>l.withdrawAmount=t),placeholder:t.$t("invite.enterPlaceholder")},null,8,["modelValue","placeholder"]),b(p,{class:"currency-text"},{default:c(()=>[M(x(t.$t("common.currency")),1)]),_:1})]),_:1}),b(p,{class:"amount-hint"},{default:c(()=>[M(x(t.$t("invite.amountHint")),1)]),_:1}),b(h,{class:"apply-btn",onClick:o.nextStep},{default:c(()=>[b(p,{class:"apply-btn-text"},{default:c(()=>[M(x(t.$t("invite.nextStep")),1)]),_:1})]),_:1},8,["onClick"])]),_:1})):T("",!0),2===l.applyStep?(n(),d(h,{key:1,class:"apply-step-content"},{default:c(()=>[b(r,{src:V,class:"step-bg-image",mode:"aspectFill"}),b(p,{class:"step-label"},{default:c(()=>[M("1."+x(t.$t("invite.selectPaymentMethod")),1)]),_:1}),b(h,{class:"payment-methods"},{default:c(()=>[b(h,{class:D(["payment-method",{active:"wechat"===l.paymentMethod}]),onClick:e[1]||(e[1]=t=>o.selectPaymentMethod("wechat"))},{default:c(()=>[b(p,{class:"method-text"},{default:c(()=>[M(x(t.$t("invite.wechat")),1)]),_:1})]),_:1},8,["class"]),b(h,{class:D(["payment-method",{active:"alipay"===l.paymentMethod}]),onClick:e[2]||(e[2]=t=>o.selectPaymentMethod("alipay"))},{default:c(()=>[b(p,{class:"method-text"},{default:c(()=>[M(x(t.$t("invite.alipay")),1)]),_:1})]),_:1},8,["class"]),b(h,{class:D(["payment-method",{active:"bank"===l.paymentMethod}]),onClick:e[3]||(e[3]=t=>o.selectPaymentMethod("bank"))},{default:c(()=>[b(p,{class:"method-text"},{default:c(()=>[M(x(t.$t("invite.bankCard")),1)]),_:1})]),_:1},8,["class"])]),_:1}),"bank"!==l.paymentMethod?(n(),d(h,{key:0},{default:c(()=>[b(p,{class:"step-label"},{default:c(()=>[M("2."+x(t.$t("invite.uploadQRCode")),1)]),_:1}),b(h,{class:"upload-area",onClick:o.uploadQRCode},{default:c(()=>[l.qrcodeImage?(n(),d(r,{key:0,src:l.qrcodeImage,class:"uploaded-image",mode:"aspectFit"},null,8,["src"])):(n(),d(p,{key:1,class:"upload-icon"},{default:c(()=>[M("+")]),_:1}))]),_:1},8,["onClick"])]),_:1})):T("",!0),"bank"===l.paymentMethod?(n(),d(h,{key:1},{default:c(()=>[b(p,{class:"step-label"},{default:c(()=>[M("2."+x(t.$t("invite.enterBankInfo")),1)]),_:1}),b(h,{class:"form-item"},{default:c(()=>[b(p,{class:"form-label"},{default:c(()=>[M(x(t.$t("invite.bankCardNumber")),1)]),_:1}),b(g,{class:"form-input",modelValue:l.bankCardNumber,"onUpdate:modelValue":e[4]||(e[4]=t=>l.bankCardNumber=t),placeholder:t.$t("invite.enterBankCardNumber")},null,8,["modelValue","placeholder"])]),_:1}),b(h,{class:"form-item"},{default:c(()=>[b(p,{class:"form-label"},{default:c(()=>[M(x(t.$t("invite.cardholderName")),1)]),_:1}),b(g,{class:"form-input",modelValue:l.cardholderName,"onUpdate:modelValue":e[5]||(e[5]=t=>l.cardholderName=t),placeholder:t.$t("invite.enterCardholderName")},null,8,["modelValue","placeholder"])]),_:1}),b(h,{class:"form-item"},{default:c(()=>[b(p,{class:"form-label"},{default:c(()=>[M(x(t.$t("invite.bankName")),1)]),_:1}),b(g,{class:"form-input",modelValue:l.bankName,"onUpdate:modelValue":e[6]||(e[6]=t=>l.bankName=t),placeholder:t.$t("invite.enterBankName")},null,8,["modelValue","placeholder"])]),_:1}),b(h,{class:"form-item"},{default:c(()=>[b(p,{class:"form-label"},{default:c(()=>[M(x(t.$t("invite.swiftCode"))+" ("+x(t.$t("invite.optional"))+")",1)]),_:1}),b(g,{class:"form-input",modelValue:l.swiftCode,"onUpdate:modelValue":e[7]||(e[7]=t=>l.swiftCode=t),placeholder:t.$t("invite.enterSwiftCode")},null,8,["modelValue","placeholder"])]),_:1})]),_:1})):T("",!0),b(h,{class:"apply-btn",onClick:o.submitWithdraw},{default:c(()=>[b(p,{class:"apply-btn-text"},{default:c(()=>[M(x(t.$t("invite.applyWithdraw")),1)]),_:1})]),_:1},8,["onClick"])]),_:1})):T("",!0)]),_:1})]),_:1})]),_:1},8,["onClick"])):T("",!0)]),_:1})],64)}],["__scopeId","data-v-efb0bc1d"]]);export{L as default}; diff --git a/miniprogram/dist/build/h5/assets/pages-me-me-page.d68538b6.js b/miniprogram/dist/build/h5/assets/pages-me-me-page.d68538b6.js deleted file mode 100644 index b149df0..0000000 --- a/miniprogram/dist/build/h5/assets/pages-me-me-page.d68538b6.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as t,s as e,a,D as r,m as s,u as i,n as o,E as n,G as l,H as g,o as c,c as p,w as d,i as u,I as m,e as h,f as x,t as f,B as y,b as w,d as _,F as k,g as A,h as E,A as C}from"./index-a09151d6.js";import{u as b}from"./tabbar-i18n.82cae040.js";import{i as L,g as P,a as T,r as v,l as $}from"./auth.b970b80f.js";import{A as z}from"./AppServer.888fd24d.js";import{_ as S}from"./ic_notice.f2babaad.js";import{_ as U}from"./arrow_right2.8bd5bd0f.js";const F="/static/arrow_right.png";const I=t({data:()=>({showLanguagePicker:!1,languages:[{code:"zh",name:"中文"},{code:"en",name:"English"},{code:"pt",name:"Português"}],user:null,isLogin:!1,appointmentStats:{pending:0,inProgress:0,completed:0},unreadCount:0}),computed:{currentLanguage(){return this.$i18n.locale}},onLoad(){this.checkLoginStatus()},onShow(){b(this),this.checkLoginStatus(),this.isLogin&&(this.refreshUserInfo(),this.fetchAppointmentStats(),this.fetchUnreadCount())},methods:{checkLoginStatus(){this.isLogin=L(),this.isLogin&&(this.user=P())},async refreshUserInfo(){try{const t=new z,e=await t.GetUserProfile();0===e.code&&e.data&&(this.user=e.data,T(e.data))}catch(t){console.error("刷新用户信息失败:",t)}},async fetchAppointmentStats(){try{const t=new z,e=await t.GetAppointmentStats();0===e.code&&e.data&&(this.appointmentStats={pending:e.data.pending||0,inProgress:e.data.inProgress||0,completed:e.data.completed||0})}catch(t){console.error("获取预约统计失败:",t)}},async fetchUnreadCount(){try{const t=new z,e=await t.GetNotificationUnreadCount();0===e.code&&e.data&&(this.unreadCount=e.data.all||0,this.updateTabBarBadge())}catch(t){console.error("获取未读通知数量失败:",t)}},updateTabBarBadge(){this.unreadCount>0?e({index:2,text:this.unreadCount>99?"99+":String(this.unreadCount)}):a({index:2})},getCurrentLanguageName(){const t=this.languages.find(t=>t.code===this.currentLanguage);return t?t.name:"中文"},changeLanguage(t){t!==this.$i18n.locale?(this.$i18n.locale=t,r("language",t),this.showLanguagePicker=!1,s({title:this.$t("common.success"),icon:"success",duration:1e3}),setTimeout(()=>{i({url:"/pages/index/index"})},1e3)):this.showLanguagePicker=!1},goToProfileEdit(){v()&&o({url:"/pages/me/profile-edit-page"})},goToNotification(){v()&&o({url:"/pages/me/notification-page"})},goToMyAppointments(t="all"){v()&&o({url:"/pages/me/my-appointments-page?tab="+t})},goToContactUs(){o({url:"/pages/me/contact-us-page"})},goToInviteReward(){v()&&o({url:"/pages/me/invite-reward-page"})},goToAboutUs(){o({url:"/pages/me/about-us-page"})},goToUserAgreement(){o({url:"/pages/me/user-agreement-page"})},goToPrivacyPolicy(){o({url:"/pages/me/privacy-policy-page"})},handleLogout(){this.isLogin?n({title:this.$t("common.confirm"),content:"确定要退出登录吗?",success:async t=>{t.confirm&&await $()}}):o({url:"/pages/login/login-page"})}}},[["render",function(t,e,a,r,s,i){const o=u,n=A,b=E,L=l(g("up-popup"),m);return c(),p(o,{class:"content"},{default:d(()=>[h(o,{class:"",style:{width:"100%",height:"394.95rpx","background-color":"aquamarine"}}),h(o,{class:"column",style:{width:"684.18rpx",height:"373.01rpx","border-radius":"28rpx","background-color":"#F7F7F7","box-shadow":"0 15rpx 15rpx -3rpx rgba(0, 0, 0, 0.1)",margin:"-195.48rpx auto 0"}},{default:d(()=>[s.isLogin&&s.user?(c(),p(o,{key:0,class:"row",style:{"align-items":"center","margin-top":"35rpx"},onClick:i.goToProfileEdit},{default:d(()=>[h(n,{src:s.user.avatar||"/static/default_avatar.png",style:{width:"129.65rpx",height:"129.65rpx","border-radius":"50%","background-color":"#E0E0E0","margin-left":"33rpx"},mode:"aspectFill"},null,8,["src"]),h(o,{class:"column",style:{"margin-left":"30rpx"}},{default:d(()=>[h(b,{style:{"font-size":"33.91rpx"}},{default:d(()=>[x(f(s.user.nickname||"用户"),1)]),_:1}),h(b,{style:{"font-size":"27.93rpx",color:"#4E4E4E"}},{default:d(()=>[x("UID:"+f(s.user.uid||""),1)]),_:1})]),_:1}),h(n,{src:F,style:{width:"43.88rpx",height:"43.88rpx","margin-left":"auto","margin-right":"12rpx"},mode:""})]),_:1},8,["onClick"])):(c(),p(o,{key:1,class:"row",style:{"align-items":"center","margin-top":"35rpx"},onClick:i.handleLogout},{default:d(()=>[h(n,{src:"/static/default_avatar.png",style:{width:"129.65rpx",height:"129.65rpx","border-radius":"50%","background-color":"#E0E0E0","margin-left":"33rpx"},mode:"aspectFill"}),h(o,{class:"column",style:{"margin-left":"30rpx"}},{default:d(()=>[h(b,{style:{"font-size":"33.91rpx"}},{default:d(()=>[x("点击登录")]),_:1}),h(b,{style:{"font-size":"27.93rpx",color:"#4E4E4E"}},{default:d(()=>[x("登录后查看更多功能")]),_:1})]),_:1}),h(n,{src:F,style:{width:"43.88rpx",height:"43.88rpx","margin-left":"auto","margin-right":"12rpx"},mode:""})]),_:1},8,["onClick"])),h(o,{class:"stats-row"},{default:d(()=>[h(o,{class:"stats-item",onClick:e[0]||(e[0]=t=>i.goToMyAppointments("all"))},{default:d(()=>[h(b,{class:"stats-number"},{default:d(()=>[x(f(s.isLogin?s.appointmentStats.pending:"-"),1)]),_:1}),h(b,{class:"stats-label"},{default:d(()=>[x(f(t.$t("me.appointment")),1)]),_:1})]),_:1}),h(o,{class:"stats-divider"}),h(o,{class:"stats-item",onClick:e[1]||(e[1]=t=>i.goToMyAppointments("inProgress"))},{default:d(()=>[h(b,{class:"stats-number"},{default:d(()=>[x(f(s.isLogin?s.appointmentStats.inProgress:"-"),1)]),_:1}),h(b,{class:"stats-label"},{default:d(()=>[x(f(t.$t("me.inProgress")),1)]),_:1})]),_:1}),h(o,{class:"stats-divider"}),h(o,{class:"stats-item",onClick:e[2]||(e[2]=t=>i.goToMyAppointments("completed"))},{default:d(()=>[h(b,{class:"stats-number"},{default:d(()=>[x(f(s.isLogin?s.appointmentStats.completed:"-"),1)]),_:1}),h(b,{class:"stats-label"},{default:d(()=>[x(f(t.$t("me.completed")),1)]),_:1})]),_:1})]),_:1})]),_:1}),h(n,{src:"/static/ic_general.png",style:{width:"123.67rpx",height:"29.92rpx","margin-left":"32rpx","margin-top":"36rpx"},mode:""}),h(o,{class:"row",style:{width:"684.18rpx","align-items":"center",margin:"30rpx auto 0"},onClick:i.goToNotification},{default:d(()=>[h(n,{src:S,style:{width:"55.85rpx",height:"55.85rpx"},mode:""}),h(b,{style:{"font-size":"27.93rpx","margin-left":"36rpx",flex:"1"}},{default:d(()=>[x(f(t.$t("me.notification")),1)]),_:1}),s.unreadCount>0?(c(),p(o,{key:0,class:"unread-badge"},{default:d(()=>[x(f(s.unreadCount>99?"99+":s.unreadCount),1)]),_:1})):y("",!0),h(n,{src:U,style:{width:"31.91rpx",height:"31.91rpx","margin-left":"20rpx"},mode:""})]),_:1},8,["onClick"]),h(o,{class:"",style:{width:"590.46rpx",height:"2rpx","background-color":"#EAEAEA","margin-left":"auto","margin-right":"36rpx","margin-top":"8rpx"}}),h(o,{class:"row",style:{width:"684.18rpx","align-items":"center",margin:"22rpx auto 0"}},{default:d(()=>[h(n,{src:"/static/customer_service.png",style:{width:"55.85rpx",height:"55.85rpx"},mode:""}),h(b,{style:{"font-size":"27.93rpx","margin-left":"36rpx"}},{default:d(()=>[x(f(t.$t("me.customerService")),1)]),_:1}),h(n,{src:U,style:{width:"31.91rpx",height:"31.91rpx","margin-left":"auto"},mode:""})]),_:1}),h(o,{class:"",style:{width:"590.46rpx",height:"2rpx","background-color":"#EAEAEA","margin-left":"auto","margin-right":"36rpx","margin-top":"8rpx"}}),h(o,{class:"row",style:{width:"684.18rpx","align-items":"center",margin:"22rpx auto 0"},onClick:i.goToContactUs},{default:d(()=>[h(n,{src:"/static/contact_us.png",style:{width:"55.85rpx",height:"55.85rpx"},mode:""}),h(b,{style:{"font-size":"27.93rpx","margin-left":"36rpx"}},{default:d(()=>[x(f(t.$t("me.contactUs")),1)]),_:1}),h(n,{src:U,style:{width:"31.91rpx",height:"31.91rpx","margin-left":"auto"},mode:""})]),_:1},8,["onClick"]),h(o,{class:"",style:{width:"590.46rpx",height:"2rpx","background-color":"#EAEAEA","margin-left":"auto","margin-right":"36rpx","margin-top":"8rpx"}}),h(o,{class:"row",style:{width:"684.18rpx","align-items":"center",margin:"22rpx auto 0"},onClick:i.goToInviteReward},{default:d(()=>[h(n,{src:"/static/invite_new.png",style:{width:"55.85rpx",height:"55.85rpx"},mode:""}),h(b,{style:{"font-size":"27.93rpx","margin-left":"36rpx"}},{default:d(()=>[x(f(t.$t("me.inviteReward")),1)]),_:1}),h(n,{src:U,style:{width:"31.91rpx",height:"31.91rpx","margin-left":"auto"},mode:""})]),_:1},8,["onClick"]),h(o,{class:"",style:{width:"590.46rpx",height:"2rpx","background-color":"#EAEAEA","margin-left":"auto","margin-right":"36rpx","margin-top":"8rpx"}}),h(n,{src:"/static/ic_other.png",style:{width:"123.67rpx",height:"29.92rpx","margin-left":"32rpx","margin-top":"36rpx"},mode:""}),h(o,{class:"row",style:{width:"684.18rpx","align-items":"center",margin:"32rpx auto 0"},onClick:e[3]||(e[3]=t=>s.showLanguagePicker=!0)},{default:d(()=>[h(n,{src:"/static/ic_inter.png",style:{width:"55.85rpx",height:"55.85rpx"},mode:""}),h(b,{style:{"font-size":"27.93rpx","margin-left":"36rpx"}},{default:d(()=>[x(f(t.$t("me.language")),1)]),_:1}),h(b,{style:{"font-size":"24rpx",color:"#999","margin-left":"auto","margin-right":"20rpx"}},{default:d(()=>[x(f(i.getCurrentLanguageName()),1)]),_:1}),h(n,{src:U,style:{width:"31.91rpx",height:"31.91rpx"},mode:""})]),_:1}),h(o,{class:"",style:{width:"590.46rpx",height:"2rpx","background-color":"#EAEAEA","margin-left":"auto","margin-right":"36rpx","margin-top":"8rpx"}}),h(o,{class:"row",style:{width:"684.18rpx","align-items":"center",margin:"32rpx auto 0"},onClick:i.goToAboutUs},{default:d(()=>[h(n,{src:"/static/ic_about.png",style:{width:"55.85rpx",height:"55.85rpx"},mode:""}),h(b,{style:{"font-size":"27.93rpx","margin-left":"36rpx"}},{default:d(()=>[x(f(t.$t("me.about")),1)]),_:1}),h(n,{src:U,style:{width:"31.91rpx",height:"31.91rpx","margin-left":"auto"},mode:""})]),_:1},8,["onClick"]),h(o,{class:"",style:{width:"590.46rpx",height:"2rpx","background-color":"#EAEAEA","margin-left":"auto","margin-right":"36rpx","margin-top":"8rpx"}}),h(o,{class:"row",style:{width:"684.18rpx","align-items":"center",margin:"22rpx auto 0"},onClick:i.goToUserAgreement},{default:d(()=>[h(n,{src:"/static/ic_agreement2.png",style:{width:"55.85rpx",height:"55.85rpx"},mode:""}),h(b,{style:{"font-size":"27.93rpx","margin-left":"36rpx"}},{default:d(()=>[x(f(t.$t("me.userAgreement")),1)]),_:1}),h(n,{src:U,style:{width:"31.91rpx",height:"31.91rpx","margin-left":"auto"},mode:""})]),_:1},8,["onClick"]),h(o,{class:"",style:{width:"590.46rpx",height:"2rpx","background-color":"#EAEAEA","margin-left":"auto","margin-right":"36rpx","margin-top":"8rpx"}}),h(o,{class:"row",style:{width:"684.18rpx","align-items":"center",margin:"22rpx auto 0"},onClick:i.goToPrivacyPolicy},{default:d(()=>[h(n,{src:"/static/ic_agreement.png",style:{width:"55.85rpx",height:"55.85rpx"},mode:""}),h(b,{style:{"font-size":"27.93rpx","margin-left":"36rpx"}},{default:d(()=>[x(f(t.$t("me.privacyPolicy")),1)]),_:1}),h(n,{src:U,style:{width:"31.91rpx",height:"31.91rpx","margin-left":"auto"},mode:""})]),_:1},8,["onClick"]),h(o,{class:"",style:{width:"590.46rpx",height:"2rpx","background-color":"#EAEAEA","margin-left":"auto","margin-right":"36rpx","margin-top":"8rpx"}}),h(o,{class:"row",style:{width:"684.18rpx","align-items":"center",margin:"22rpx auto 0"},onClick:i.handleLogout},{default:d(()=>[h(n,{src:"/static/ic_exit.png",style:{width:"55.85rpx",height:"55.85rpx"},mode:""}),h(b,{style:{"font-size":"27.93rpx","margin-left":"36rpx"}},{default:d(()=>[x(f(s.isLogin?t.$t("me.logout"):"登录"),1)]),_:1}),h(n,{src:U,style:{width:"31.91rpx",height:"31.91rpx","margin-left":"auto"},mode:""})]),_:1},8,["onClick"]),h(o,{class:"",style:{width:"590.46rpx",height:"2rpx","background-color":"#EAEAEA","margin-left":"auto","margin-right":"36rpx","margin-top":"8rpx"}}),h(L,{show:s.showLanguagePicker,onClose:e[5]||(e[5]=t=>s.showLanguagePicker=!1),mode:"bottom","border-radius":"20"},{default:d(()=>[h(o,{class:"language-picker"},{default:d(()=>[h(o,{class:"picker-header"},{default:d(()=>[h(b,{class:"picker-title"},{default:d(()=>[x(f(t.$t("me.language")),1)]),_:1}),h(o,{onClick:e[4]||(e[4]=t=>s.showLanguagePicker=!1),style:{padding:"10rpx"}},{default:d(()=>[h(b,{style:{"font-size":"28rpx",color:"#666"}},{default:d(()=>[x("✕")]),_:1})]),_:1})]),_:1}),h(o,{class:"language-list"},{default:d(()=>[(c(!0),w(k,null,_(s.languages,t=>(c(),p(o,{class:C(["language-item",{active:i.currentLanguage===t.code}]),key:t.code,onClick:e=>i.changeLanguage(t.code)},{default:d(()=>[h(b,{class:"language-name"},{default:d(()=>[x(f(t.name),1)]),_:2},1024),i.currentLanguage===t.code?(c(),p(b,{key:0,style:{color:"#007AFF","font-size":"32rpx"}},{default:d(()=>[x("✓")]),_:1})):y("",!0)]),_:2},1032,["onClick","class"]))),128))]),_:1})]),_:1})]),_:1},8,["show"])]),_:1})}],["__scopeId","data-v-147d367c"]]);export{I as default}; diff --git a/miniprogram/dist/build/h5/assets/pages-me-my-appointments-page.c73dbf22.js b/miniprogram/dist/build/h5/assets/pages-me-my-appointments-page.c73dbf22.js deleted file mode 100644 index d3affcb..0000000 --- a/miniprogram/dist/build/h5/assets/pages-me-my-appointments-page.c73dbf22.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as e,k as t,l as a,o as l,c as i,w as s,i as c,e as u,a1 as d,f as n,t as r,A as o,b as f,d as _,F as p,B as m,x as D,g as h,h as v,T as y}from"./index-a09151d6.js";import{A as g}from"./AppServer.888fd24d.js";import{_ as b}from"./ic_back.5440bd15.js";import{_ as k}from"./ic_colse.a4aecbba.js";const C=e({data:()=>({statusBarHeight:0,activeTab:"all",loading:!1,appointmentList:[],pagination:{page:1,limit:10,total:0},hasMore:!0,showDetailPopup:!1,currentDetail:{}}),onLoad(e){const a=t();this.statusBarHeight=a.statusBarHeight||0,e.tab&&(this.activeTab=e.tab),this.fetchAppointments()},methods:{goBack(){a({delta:1})},switchTab(e){this.activeTab!==e&&(this.activeTab=e,this.pagination.page=1,this.appointmentList=[],this.hasMore=!0,this.fetchAppointments())},async fetchAppointments(){var e;if(!this.loading){this.loading=!0;try{const t=new g,a={page:this.pagination.page,limit:this.pagination.limit};"inProgress"===this.activeTab?a.status="in-progress":"completed"===this.activeTab&&(a.status="completed");const l=await t.GetAppointments(a);if(l.success||0===l.code){const t=l.data||[];1===this.pagination.page?this.appointmentList=t:this.appointmentList=[...this.appointmentList,...t],this.pagination.total=(null==(e=l.pagination)?void 0:e.total)||0,this.hasMore=t.length>=this.pagination.limit}}catch(t){console.error("获取预约列表失败:",t)}finally{this.loading=!1}}},loadMore(){this.hasMore&&!this.loading&&(this.pagination.page++,this.fetchAppointments())},showDetail(e){this.currentDetail=e,this.showDetailPopup=!0},closeDetail(){this.showDetailPopup=!1},getServiceTitle(e){if(!e)return"-";const t=this.$i18n.locale;return e.service?"zh"===t?e.service.titleZh||e.service.titleEn||"-":"pt"===t?e.service.titlePt||e.service.titleEn||"-":e.service.titleEn||e.service.titleZh||"-":e.hotService?"zh"===t?e.hotService.name_zh||e.hotService.name_en||"-":"pt"===t?e.hotService.name_pt||e.hotService.name_en||"-":e.hotService.name_en||e.hotService.name_zh||"-":this.getServiceTypeText(e.serviceType)||"-"},getServiceTypeText:e=>({travel:"全球机票代理",flight:"全球机票代理",hotel:"全球酒店预定",vip_lounge:"全球机场贵宾室服务",lounge:"全球机场贵宾室服务",airport_transfer:"机场接/送机服务",unaccompanied_minor:"无成人陪伴儿童代办",rail_ticket:"高铁票代订",train:"高铁票代订",medical_consultation:"远程医疗问诊代理服务",telemedicine:"远程医疗问诊代理服务",special_needs:"特殊旅客定制服务代办",special_passenger:"特殊旅客定制服务代办",pet_transportation:"宠物托运代理",pet_transport:"宠物托运代理",guide_translation:"西班牙语专业导游/翻译服务",visa_consultation:"签证咨询",visa:"签证咨询",exhibition_service:"墨西哥展会咨询与协办服务",exhibition:"墨西哥展会咨询与协办服务",air_logistics:"跨境航空物流/快递一站式服务",sea_freight:"海运/清关一站式服务",travel_planning:"旅游线路规划/咨询",insurance_consultation:"跨境出行意外保险/国际财产保险咨询",insurance:"跨境出行意外保险/国际财产保险咨询"}[e]||e),getContactInfo:e=>e&&(e.phone||e.wechatId||e.whatsapp||e.contactValue)||"-",getAllContactInfo(e){if(!e)return"-";const t=[];return e.phone&&t.push((e.phoneCountryCode||"")+" "+e.phone),e.wechatId&&t.push("微信: "+e.wechatId),e.whatsapp&&t.push("WhatsApp: "+e.whatsapp),t.length>0?t.join("\n"):"-"},formatDate(e){if(!e)return"-";const t=new Date(e);return`${t.getFullYear()}/${t.getMonth()+1}/${t.getDate()}`},getStatusText(e){return{pending:this.$t("myAppointment.statusPending")||"待处理",confirmed:this.$t("myAppointment.statusConfirmed")||"已确认","in-progress":this.$t("myAppointment.statusInProgress")||"进行中",completed:this.$t("myAppointment.statusCompleted")||"已结束",cancelled:this.$t("myAppointment.statusCancelled")||"已取消"}[e]||e},getStatusClass:e=>({"status-in-progress":"in-progress"===e||"pending"===e||"confirmed"===e,"status-completed":"completed"===e,"status-cancelled":"cancelled"===e}),getCabinTypeText:e=>({economy:"经济舱",premium_economy:"超级经济舱",business:"商务舱"}[e]||e),getMealPlanText:e=>({breakfast:"早餐",three_meals:"三餐",all_inclusive:"全包"}[e]||e),getSeatClassText:e=>({first:"一等座",second:"二等座",third:"三等座"}[e]||e)}},[["render",function(e,t,a,g,C,T){const A=c,w=h,x=v,S=y;return l(),i(A,{class:"content"},{default:s(()=>[u(A,{class:"header"},{default:s(()=>[u(A,{class:"status-bar",style:d({height:C.statusBarHeight+"px"})},null,8,["style"]),u(A,{class:"header-content"},{default:s(()=>[u(A,{class:"back-button",onClick:T.goBack},{default:s(()=>[u(w,{src:b,class:"back-icon"})]),_:1},8,["onClick"]),u(x,{class:"header-title"},{default:s(()=>[n(r(e.$t("myAppointment.title")||"我的预约单"),1)]),_:1}),u(A,{class:"header-placeholder"})]),_:1})]),_:1}),u(A,{class:"tab-container"},{default:s(()=>[u(A,{class:o(["tab-item",{active:"all"===C.activeTab}]),onClick:t[0]||(t[0]=e=>T.switchTab("all"))},{default:s(()=>[u(x,{class:o(["tab-text",{active:"all"===C.activeTab}])},{default:s(()=>[n(r(e.$t("myAppointment.all")||"全部"),1)]),_:1},8,["class"])]),_:1},8,["class"]),u(A,{class:o(["tab-item",{active:"inProgress"===C.activeTab}]),onClick:t[1]||(t[1]=e=>T.switchTab("inProgress"))},{default:s(()=>[u(x,{class:o(["tab-text",{active:"inProgress"===C.activeTab}])},{default:s(()=>[n(r(e.$t("myAppointment.inProgress")||"进行中"),1)]),_:1},8,["class"])]),_:1},8,["class"]),u(A,{class:o(["tab-item",{active:"completed"===C.activeTab}]),onClick:t[2]||(t[2]=e=>T.switchTab("completed"))},{default:s(()=>[u(x,{class:o(["tab-text",{active:"completed"===C.activeTab}])},{default:s(()=>[n(r(e.$t("myAppointment.completed")||"已结束"),1)]),_:1},8,["class"])]),_:1},8,["class"])]),_:1}),u(S,{class:"appointment-list","scroll-y":"",onScrolltolower:T.loadMore,"show-scrollbar":!1},{default:s(()=>[(l(!0),f(p,null,_(C.appointmentList,t=>(l(),i(A,{class:"appointment-item",key:t.id,onClick:e=>T.showDetail(t)},{default:s(()=>[u(A,{class:"item-title"},{default:s(()=>[n(r(T.getServiceTitle(t)),1)]),_:2},1024),u(A,{class:"item-row"},{default:s(()=>[u(w,{src:"/static/me_tiem.png",class:"item-icon"}),u(x,{class:"item-text"},{default:s(()=>[n(r(T.formatDate(t.createdAt)),1)]),_:2},1024)]),_:2},1024),u(A,{class:"item-row"},{default:s(()=>[u(w,{src:"/static/me_name.png",class:"item-icon"}),u(x,{class:"item-text"},{default:s(()=>[n(r(t.realName||"-"),1)]),_:2},1024)]),_:2},1024),u(A,{class:"item-row"},{default:s(()=>[u(w,{src:"/static/me_phone.png",class:"item-icon"}),u(x,{class:"item-text"},{default:s(()=>[n(r(T.getContactInfo(t)),1)]),_:2},1024)]),_:2},1024),u(A,{class:"item-footer"},{default:s(()=>[u(x,{class:"view-detail",onClick:D(e=>T.showDetail(t),["stop"])},{default:s(()=>[n(r(e.$t("myAppointment.viewDetail")||"查看详情"),1)]),_:2},1032,["onClick"]),u(x,{class:o(["status-text",T.getStatusClass(t.status)])},{default:s(()=>[n(r(T.getStatusText(t.status)),1)]),_:2},1032,["class"])]),_:2},1024)]),_:2},1032,["onClick"]))),128)),C.loading?(l(),i(A,{key:0,class:"loading-more"},{default:s(()=>[u(x,{class:"loading-text"},{default:s(()=>[n(r(e.$t("common.loading")),1)]),_:1})]),_:1})):m("",!0),!C.loading&&!C.hasMore&&C.appointmentList.length>0?(l(),i(A,{key:1,class:"loading-more"},{default:s(()=>[u(x,{class:"loading-text"},{default:s(()=>[n(r(e.$t("common.noMore")||"没有更多了"),1)]),_:1})]),_:1})):m("",!0),0!==C.appointmentList.length||C.loading?m("",!0):(l(),i(A,{key:2,class:"empty-state"},{default:s(()=>[u(x,{class:"empty-icon"},{default:s(()=>[n("📋")]),_:1}),u(x,{class:"no-data"},{default:s(()=>[n(r(e.$t("myAppointment.noAppointment")||"暂无预约记录"),1)]),_:1})]),_:1}))]),_:1},8,["onScrolltolower"]),C.showDetailPopup?(l(),i(A,{key:0,class:"detail-mask",onClick:T.closeDetail},{default:s(()=>[u(A,{class:"detail-popup",onClick:t[3]||(t[3]=D(()=>{},["stop"]))},{default:s(()=>[u(A,{class:"popup-header"},{default:s(()=>[u(x,{class:"popup-title"},{default:s(()=>[n(r(e.$t("myAppointment.serviceDetail")||"服务详情"),1)]),_:1}),u(A,{class:"popup-close",onClick:T.closeDetail},{default:s(()=>[u(w,{src:k,class:"close-icon"})]),_:1},8,["onClick"])]),_:1}),u(S,{class:"popup-content","scroll-y":""},{default:s(()=>[u(A,{class:"detail-item"},{default:s(()=>[u(x,{class:"detail-label"},{default:s(()=>[n("服务类型")]),_:1}),u(x,{class:"detail-value"},{default:s(()=>[n(r(T.getServiceTitle(C.currentDetail)),1)]),_:1})]),_:1}),u(A,{class:"detail-item"},{default:s(()=>[u(x,{class:"detail-label"},{default:s(()=>[n("姓名")]),_:1}),u(x,{class:"detail-value"},{default:s(()=>[n(r(C.currentDetail.realName||"-"),1)]),_:1})]),_:1}),u(A,{class:"detail-item"},{default:s(()=>[u(x,{class:"detail-label"},{default:s(()=>[n("提交时间")]),_:1}),u(x,{class:"detail-value"},{default:s(()=>[n(r(T.formatDate(C.currentDetail.createdAt)),1)]),_:1})]),_:1}),u(A,{class:"detail-item"},{default:s(()=>[u(x,{class:"detail-label"},{default:s(()=>[n("联系方式")]),_:1}),u(x,{class:"detail-value"},{default:s(()=>[n(r(T.getAllContactInfo(C.currentDetail)),1)]),_:1})]),_:1}),C.currentDetail.appointmentDate?(l(),i(A,{key:0,class:"detail-item"},{default:s(()=>[u(x,{class:"detail-label"},{default:s(()=>[n("预约日期")]),_:1}),u(x,{class:"detail-value"},{default:s(()=>[n(r(C.currentDetail.appointmentDate),1)]),_:1})]),_:1})):m("",!0),C.currentDetail.tripType?(l(),i(A,{key:1,class:"detail-item"},{default:s(()=>[u(x,{class:"detail-label"},{default:s(()=>[n("行程类型")]),_:1}),u(x,{class:"detail-value"},{default:s(()=>[n(r("single"===C.currentDetail.tripType?"单程":"往返"),1)]),_:1})]),_:1})):m("",!0),C.currentDetail.departureCity?(l(),i(A,{key:2,class:"detail-item"},{default:s(()=>[u(x,{class:"detail-label"},{default:s(()=>[n("出发城市")]),_:1}),u(x,{class:"detail-value"},{default:s(()=>[n(r(C.currentDetail.departureCity),1)]),_:1})]),_:1})):m("",!0),C.currentDetail.arrivalCity?(l(),i(A,{key:3,class:"detail-item"},{default:s(()=>[u(x,{class:"detail-label"},{default:s(()=>[n("到达城市")]),_:1}),u(x,{class:"detail-value"},{default:s(()=>[n(r(C.currentDetail.arrivalCity),1)]),_:1})]),_:1})):m("",!0),C.currentDetail.departureDate?(l(),i(A,{key:4,class:"detail-item"},{default:s(()=>[u(x,{class:"detail-label"},{default:s(()=>[n("出发日期")]),_:1}),u(x,{class:"detail-value"},{default:s(()=>[n(r(C.currentDetail.departureDate),1)]),_:1})]),_:1})):m("",!0),C.currentDetail.returnDate?(l(),i(A,{key:5,class:"detail-item"},{default:s(()=>[u(x,{class:"detail-label"},{default:s(()=>[n("返程日期")]),_:1}),u(x,{class:"detail-value"},{default:s(()=>[n(r(C.currentDetail.returnDate),1)]),_:1})]),_:1})):m("",!0),C.currentDetail.cabinType?(l(),i(A,{key:6,class:"detail-item"},{default:s(()=>[u(x,{class:"detail-label"},{default:s(()=>[n("舱位类型")]),_:1}),u(x,{class:"detail-value"},{default:s(()=>[n(r(T.getCabinTypeText(C.currentDetail.cabinType)),1)]),_:1})]),_:1})):m("",!0),C.currentDetail.luggageCount?(l(),i(A,{key:7,class:"detail-item"},{default:s(()=>[u(x,{class:"detail-label"},{default:s(()=>[n("行李件数")]),_:1}),u(x,{class:"detail-value"},{default:s(()=>[n(r(C.currentDetail.luggageCount)+"件",1)]),_:1})]),_:1})):m("",!0),C.currentDetail.countryCity?(l(),i(A,{key:8,class:"detail-item"},{default:s(()=>[u(x,{class:"detail-label"},{default:s(()=>[n("国家/城市")]),_:1}),u(x,{class:"detail-value"},{default:s(()=>[n(r(C.currentDetail.countryCity),1)]),_:1})]),_:1})):m("",!0),C.currentDetail.hotelName?(l(),i(A,{key:9,class:"detail-item"},{default:s(()=>[u(x,{class:"detail-label"},{default:s(()=>[n("酒店名称")]),_:1}),u(x,{class:"detail-value"},{default:s(()=>[n(r(C.currentDetail.hotelName),1)]),_:1})]),_:1})):m("",!0),C.currentDetail.checkInDate?(l(),i(A,{key:10,class:"detail-item"},{default:s(()=>[u(x,{class:"detail-label"},{default:s(()=>[n("入住日期")]),_:1}),u(x,{class:"detail-value"},{default:s(()=>[n(r(C.currentDetail.checkInDate),1)]),_:1})]),_:1})):m("",!0),C.currentDetail.checkOutDate?(l(),i(A,{key:11,class:"detail-item"},{default:s(()=>[u(x,{class:"detail-label"},{default:s(()=>[n("退房日期")]),_:1}),u(x,{class:"detail-value"},{default:s(()=>[n(r(C.currentDetail.checkOutDate),1)]),_:1})]),_:1})):m("",!0),C.currentDetail.roomCount?(l(),i(A,{key:12,class:"detail-item"},{default:s(()=>[u(x,{class:"detail-label"},{default:s(()=>[n("房间数量")]),_:1}),u(x,{class:"detail-value"},{default:s(()=>[n(r(C.currentDetail.roomCount)+"间",1)]),_:1})]),_:1})):m("",!0),C.currentDetail.roomType?(l(),i(A,{key:13,class:"detail-item"},{default:s(()=>[u(x,{class:"detail-label"},{default:s(()=>[n("房间类型")]),_:1}),u(x,{class:"detail-value"},{default:s(()=>[n(r(C.currentDetail.roomType),1)]),_:1})]),_:1})):m("",!0),null!==C.currentDetail.needMeal&&void 0!==C.currentDetail.needMeal?(l(),i(A,{key:14,class:"detail-item"},{default:s(()=>[u(x,{class:"detail-label"},{default:s(()=>[n("是否需要餐食")]),_:1}),u(x,{class:"detail-value"},{default:s(()=>[n(r(C.currentDetail.needMeal?"是":"否"),1)]),_:1})]),_:1})):m("",!0),C.currentDetail.mealPlan?(l(),i(A,{key:15,class:"detail-item"},{default:s(()=>[u(x,{class:"detail-label"},{default:s(()=>[n("餐食计划")]),_:1}),u(x,{class:"detail-value"},{default:s(()=>[n(r(T.getMealPlanText(C.currentDetail.mealPlan)),1)]),_:1})]),_:1})):m("",!0),C.currentDetail.adultCount?(l(),i(A,{key:16,class:"detail-item"},{default:s(()=>[u(x,{class:"detail-label"},{default:s(()=>[n("成人人数")]),_:1}),u(x,{class:"detail-value"},{default:s(()=>[n(r(C.currentDetail.adultCount)+"人",1)]),_:1})]),_:1})):m("",!0),C.currentDetail.childCount?(l(),i(A,{key:17,class:"detail-item"},{default:s(()=>[u(x,{class:"detail-label"},{default:s(()=>[n("儿童人数")]),_:1}),u(x,{class:"detail-value"},{default:s(()=>[n(r(C.currentDetail.childCount)+"人",1)]),_:1})]),_:1})):m("",!0),C.currentDetail.infantCount?(l(),i(A,{key:18,class:"detail-item"},{default:s(()=>[u(x,{class:"detail-label"},{default:s(()=>[n("婴儿人数")]),_:1}),u(x,{class:"detail-value"},{default:s(()=>[n(r(C.currentDetail.infantCount)+"人",1)]),_:1})]),_:1})):m("",!0),C.currentDetail.passengerCount?(l(),i(A,{key:19,class:"detail-item"},{default:s(()=>[u(x,{class:"detail-label"},{default:s(()=>[n("乘客数量")]),_:1}),u(x,{class:"detail-value"},{default:s(()=>[n(r(C.currentDetail.passengerCount)+"人",1)]),_:1})]),_:1})):m("",!0),C.currentDetail.airportTerminal?(l(),i(A,{key:20,class:"detail-item"},{default:s(()=>[u(x,{class:"detail-label"},{default:s(()=>[n("机场/航站楼")]),_:1}),u(x,{class:"detail-value"},{default:s(()=>[n(r(C.currentDetail.airportTerminal),1)]),_:1})]),_:1})):m("",!0),C.currentDetail.arrivalFlightNo?(l(),i(A,{key:21,class:"detail-item"},{default:s(()=>[u(x,{class:"detail-label"},{default:s(()=>[n("到达航班号")]),_:1}),u(x,{class:"detail-value"},{default:s(()=>[n(r(C.currentDetail.arrivalFlightNo),1)]),_:1})]),_:1})):m("",!0),C.currentDetail.departureFlightNo?(l(),i(A,{key:22,class:"detail-item"},{default:s(()=>[u(x,{class:"detail-label"},{default:s(()=>[n("出发航班号")]),_:1}),u(x,{class:"detail-value"},{default:s(()=>[n(r(C.currentDetail.departureFlightNo),1)]),_:1})]),_:1})):m("",!0),C.currentDetail.flightNo?(l(),i(A,{key:23,class:"detail-item"},{default:s(()=>[u(x,{class:"detail-label"},{default:s(()=>[n("航班号")]),_:1}),u(x,{class:"detail-value"},{default:s(()=>[n(r(C.currentDetail.flightNo),1)]),_:1})]),_:1})):m("",!0),C.currentDetail.deliveryAddress?(l(),i(A,{key:24,class:"detail-item"},{default:s(()=>[u(x,{class:"detail-label"},{default:s(()=>[n("送达地址")]),_:1}),u(x,{class:"detail-value"},{default:s(()=>[n(r(C.currentDetail.deliveryAddress),1)]),_:1})]),_:1})):m("",!0),C.currentDetail.originStation?(l(),i(A,{key:25,class:"detail-item"},{default:s(()=>[u(x,{class:"detail-label"},{default:s(()=>[n("出发站")]),_:1}),u(x,{class:"detail-value"},{default:s(()=>[n(r(C.currentDetail.originStation),1)]),_:1})]),_:1})):m("",!0),C.currentDetail.destinationStation?(l(),i(A,{key:26,class:"detail-item"},{default:s(()=>[u(x,{class:"detail-label"},{default:s(()=>[n("到达站")]),_:1}),u(x,{class:"detail-value"},{default:s(()=>[n(r(C.currentDetail.destinationStation),1)]),_:1})]),_:1})):m("",!0),C.currentDetail.seatClass?(l(),i(A,{key:27,class:"detail-item"},{default:s(()=>[u(x,{class:"detail-label"},{default:s(()=>[n("座位等级")]),_:1}),u(x,{class:"detail-value"},{default:s(()=>[n(r(T.getSeatClassText(C.currentDetail.seatClass)),1)]),_:1})]),_:1})):m("",!0),C.currentDetail.itinerary?(l(),i(A,{key:28,class:"detail-item"},{default:s(()=>[u(x,{class:"detail-label"},{default:s(()=>[n("行程")]),_:1}),u(x,{class:"detail-value"},{default:s(()=>[n(r(C.currentDetail.itinerary),1)]),_:1})]),_:1})):m("",!0),C.currentDetail.childAge?(l(),i(A,{key:29,class:"detail-item"},{default:s(()=>[u(x,{class:"detail-label"},{default:s(()=>[n("儿童年龄")]),_:1}),u(x,{class:"detail-value"},{default:s(()=>[n(r(C.currentDetail.childAge)+"岁",1)]),_:1})]),_:1})):m("",!0),C.currentDetail.boyCount?(l(),i(A,{key:30,class:"detail-item"},{default:s(()=>[u(x,{class:"detail-label"},{default:s(()=>[n("男孩数量")]),_:1}),u(x,{class:"detail-value"},{default:s(()=>[n(r(C.currentDetail.boyCount)+"人",1)]),_:1})]),_:1})):m("",!0),C.currentDetail.girlCount?(l(),i(A,{key:31,class:"detail-item"},{default:s(()=>[u(x,{class:"detail-label"},{default:s(()=>[n("女孩数量")]),_:1}),u(x,{class:"detail-value"},{default:s(()=>[n(r(C.currentDetail.girlCount)+"人",1)]),_:1})]),_:1})):m("",!0),C.currentDetail.hospitalName?(l(),i(A,{key:32,class:"detail-item"},{default:s(()=>[u(x,{class:"detail-label"},{default:s(()=>[n("医院名称")]),_:1}),u(x,{class:"detail-value"},{default:s(()=>[n(r(C.currentDetail.hospitalName),1)]),_:1})]),_:1})):m("",!0),C.currentDetail.conditionDescription?(l(),i(A,{key:33,class:"detail-item"},{default:s(()=>[u(x,{class:"detail-label"},{default:s(()=>[n("病情描述")]),_:1}),u(x,{class:"detail-value"},{default:s(()=>[n(r(C.currentDetail.conditionDescription),1)]),_:1})]),_:1})):m("",!0),C.currentDetail.specialAssistanceReason?(l(),i(A,{key:34,class:"detail-item"},{default:s(()=>[u(x,{class:"detail-label"},{default:s(()=>[n("特殊协助原因")]),_:1}),u(x,{class:"detail-value"},{default:s(()=>[n(r(C.currentDetail.specialAssistanceReason),1)]),_:1})]),_:1})):m("",!0),C.currentDetail.origin?(l(),i(A,{key:35,class:"detail-item"},{default:s(()=>[u(x,{class:"detail-label"},{default:s(()=>[n("出发地")]),_:1}),u(x,{class:"detail-value"},{default:s(()=>[n(r(C.currentDetail.origin),1)]),_:1})]),_:1})):m("",!0),C.currentDetail.destination?(l(),i(A,{key:36,class:"detail-item"},{default:s(()=>[u(x,{class:"detail-label"},{default:s(()=>[n("目的地")]),_:1}),u(x,{class:"detail-value"},{default:s(()=>[n(r(C.currentDetail.destination),1)]),_:1})]),_:1})):m("",!0),C.currentDetail.petType?(l(),i(A,{key:37,class:"detail-item"},{default:s(()=>[u(x,{class:"detail-label"},{default:s(()=>[n("宠物类型")]),_:1}),u(x,{class:"detail-value"},{default:s(()=>[n(r(C.currentDetail.petType),1)]),_:1})]),_:1})):m("",!0),C.currentDetail.petName?(l(),i(A,{key:38,class:"detail-item"},{default:s(()=>[u(x,{class:"detail-label"},{default:s(()=>[n("宠物名称")]),_:1}),u(x,{class:"detail-value"},{default:s(()=>[n(r(C.currentDetail.petName),1)]),_:1})]),_:1})):m("",!0),null!==C.currentDetail.hasQuarantineCert&&void 0!==C.currentDetail.hasQuarantineCert?(l(),i(A,{key:39,class:"detail-item"},{default:s(()=>[u(x,{class:"detail-label"},{default:s(()=>[n("检疫证明")]),_:1}),u(x,{class:"detail-value"},{default:s(()=>[n(r(C.currentDetail.hasQuarantineCert?"有":"无"),1)]),_:1})]),_:1})):m("",!0),C.currentDetail.serviceDays?(l(),i(A,{key:40,class:"detail-item"},{default:s(()=>[u(x,{class:"detail-label"},{default:s(()=>[n("服务天数")]),_:1}),u(x,{class:"detail-value"},{default:s(()=>[n(r(C.currentDetail.serviceDays)+"天",1)]),_:1})]),_:1})):m("",!0),C.currentDetail.originPort?(l(),i(A,{key:41,class:"detail-item"},{default:s(()=>[u(x,{class:"detail-label"},{default:s(()=>[n("起运港")]),_:1}),u(x,{class:"detail-value"},{default:s(()=>[n(r(C.currentDetail.originPort),1)]),_:1})]),_:1})):m("",!0),C.currentDetail.destinationPort?(l(),i(A,{key:42,class:"detail-item"},{default:s(()=>[u(x,{class:"detail-label"},{default:s(()=>[n("目的港")]),_:1}),u(x,{class:"detail-value"},{default:s(()=>[n(r(C.currentDetail.destinationPort),1)]),_:1})]),_:1})):m("",!0),C.currentDetail.itemName?(l(),i(A,{key:43,class:"detail-item"},{default:s(()=>[u(x,{class:"detail-label"},{default:s(()=>[n("物品名称")]),_:1}),u(x,{class:"detail-value"},{default:s(()=>[n(r(C.currentDetail.itemName),1)]),_:1})]),_:1})):m("",!0),C.currentDetail.itemQuantity?(l(),i(A,{key:44,class:"detail-item"},{default:s(()=>[u(x,{class:"detail-label"},{default:s(()=>[n("物品数量")]),_:1}),u(x,{class:"detail-value"},{default:s(()=>[n(r(C.currentDetail.itemQuantity),1)]),_:1})]),_:1})):m("",!0),C.currentDetail.cargoName?(l(),i(A,{key:45,class:"detail-item"},{default:s(()=>[u(x,{class:"detail-label"},{default:s(()=>[n("货物名称")]),_:1}),u(x,{class:"detail-value"},{default:s(()=>[n(r(C.currentDetail.cargoName),1)]),_:1})]),_:1})):m("",!0),C.currentDetail.cargoQuantity?(l(),i(A,{key:46,class:"detail-item"},{default:s(()=>[u(x,{class:"detail-label"},{default:s(()=>[n("货物数量")]),_:1}),u(x,{class:"detail-value"},{default:s(()=>[n(r(C.currentDetail.cargoQuantity),1)]),_:1})]),_:1})):m("",!0),C.currentDetail.travelDestination?(l(),i(A,{key:47,class:"detail-item"},{default:s(()=>[u(x,{class:"detail-label"},{default:s(()=>[n("旅游目的地")]),_:1}),u(x,{class:"detail-value"},{default:s(()=>[n(r(C.currentDetail.travelDestination),1)]),_:1})]),_:1})):m("",!0),C.currentDetail.travelDate?(l(),i(A,{key:48,class:"detail-item"},{default:s(()=>[u(x,{class:"detail-label"},{default:s(()=>[n("出行日期")]),_:1}),u(x,{class:"detail-value"},{default:s(()=>[n(r(C.currentDetail.travelDate),1)]),_:1})]),_:1})):m("",!0),C.currentDetail.travelDays?(l(),i(A,{key:49,class:"detail-item"},{default:s(()=>[u(x,{class:"detail-label"},{default:s(()=>[n("旅游天数")]),_:1}),u(x,{class:"detail-value"},{default:s(()=>[n(r(C.currentDetail.travelDays)+"天",1)]),_:1})]),_:1})):m("",!0),C.currentDetail.specificRequirements?(l(),i(A,{key:50,class:"detail-item"},{default:s(()=>[u(x,{class:"detail-label"},{default:s(()=>[n("具体需求")]),_:1}),u(x,{class:"detail-value"},{default:s(()=>[n(r(C.currentDetail.specificRequirements),1)]),_:1})]),_:1})):m("",!0),C.currentDetail.notes?(l(),i(A,{key:51,class:"detail-item"},{default:s(()=>[u(x,{class:"detail-label"},{default:s(()=>[n("备注")]),_:1}),u(x,{class:"detail-value"},{default:s(()=>[n(r(C.currentDetail.notes),1)]),_:1})]),_:1})):m("",!0)]),_:1})]),_:1})]),_:1},8,["onClick"])):m("",!0)]),_:1})}],["__scopeId","data-v-ba9e0216"]]);export{C as default}; diff --git a/miniprogram/dist/build/h5/assets/pages-me-notification-page.103e4603.js b/miniprogram/dist/build/h5/assets/pages-me-notification-page.103e4603.js deleted file mode 100644 index f640664..0000000 --- a/miniprogram/dist/build/h5/assets/pages-me-notification-page.103e4603.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as t,l as a,m as i,o as e,c as s,w as o,i as n,e as c,f as l,t as d,A as r,B as f,b as u,d as h,F as m,g as y,h as v,T as b}from"./index-a09151d6.js";import{A as g}from"./AppServer.888fd24d.js";import{_}from"./ic_back.5440bd15.js";import{_ as p}from"./ic_notice.f2babaad.js";const k=t({data:()=>({activeTab:"all",loading:!1,notificationList:[],unreadCount:{all:0,system:0,activity:0,service:0},pagination:{page:1,limit:10,total:0},hasMore:!0}),onLoad(){this.fetchUnreadCount(),this.fetchNotifications()},methods:{back(){a({delta:1})},switchTab(t){this.activeTab!==t&&(this.activeTab=t,this.pagination.page=1,this.notificationList=[],this.hasMore=!0,this.fetchNotifications())},async fetchUnreadCount(){try{const t=new g,a=await t.GetNotificationUnreadCount();0===a.code&&a.data&&(this.unreadCount=a.data)}catch(t){console.error("获取未读数量失败:",t)}},async fetchNotifications(){var t;if(!this.loading){this.loading=!0;try{const a=new g,i={page:this.pagination.page,limit:this.pagination.limit};"all"!==this.activeTab&&(i.type=this.activeTab);const e=await a.GetNotifications(i);if(0===e.code){const a=e.data||[];1===this.pagination.page?this.notificationList=a:this.notificationList=[...this.notificationList,...a],this.pagination.total=(null==(t=e.pagination)?void 0:t.total)||0,this.hasMore=a.length>=this.pagination.limit}}catch(a){console.error("获取通知列表失败:",a)}finally{this.loading=!1}}},loadMore(){this.hasMore&&!this.loading&&(this.pagination.page++,this.fetchNotifications())},async readNotification(t){if(!t.isRead)try{const a=new g;await a.MarkNotificationAsRead(t.id),t.isRead=!0,this.unreadCount.all=Math.max(0,this.unreadCount.all-1),this.unreadCount[t.type]=Math.max(0,this.unreadCount[t.type]-1)}catch(a){console.error("标记已读失败:",a)}},async markAllRead(){if(0!==this.unreadCount.all)try{const t=new g;await t.MarkAllNotificationsAsRead(),this.notificationList.forEach(t=>{t.isRead=!0}),this.unreadCount={all:0,system:0,activity:0,service:0},i({title:this.$t("common.success"),icon:"success"})}catch(t){console.error("标记全部已读失败:",t),i({title:this.$t("common.failed")||"操作失败",icon:"none"})}else i({title:this.$t("notification.allRead")||"已全部已读",icon:"none"})},formatTime(t){if(!t)return"";const a=Date.now()-new Date(t).getTime(),i=Math.floor(a/6e4),e=Math.floor(a/36e5),s=Math.floor(a/864e5);return i<1?this.$t("notification.justNow")||"刚刚":i<60?(this.$t("notification.minutesAgo")||"{n}分钟前").replace("{n}",i):e<24?(this.$t("notification.hoursAgo")||"{n}小时前").replace("{n}",e):(this.$t("notification.daysAgo")||"{n}天前").replace("{n}",s)}}},[["render",function(t,a,i,g,k,C){const T=y,w=n,$=v,M=b;return e(),s(w,{class:"content"},{default:o(()=>[c(w,{class:"header-row"},{default:o(()=>[c(w,{class:"back-button",onClick:C.back},{default:o(()=>[c(T,{src:_,class:"back-icon"})]),_:1},8,["onClick"]),c($,{class:"title"},{default:o(()=>[l(d(t.$t("me.notification")),1)]),_:1}),c(w,{class:"mark-read-btn",onClick:C.markAllRead},{default:o(()=>[c($,{class:"mark-read-text"},{default:o(()=>[l(d(t.$t("notification.markAllRead")),1)]),_:1})]),_:1},8,["onClick"])]),_:1}),c(w,{class:"tab-container"},{default:o(()=>[c(w,{class:r(["tab-item",{active:"all"===k.activeTab}]),onClick:a[0]||(a[0]=t=>C.switchTab("all"))},{default:o(()=>[c($,{class:r(["tab-text",{active:"all"===k.activeTab}])},{default:o(()=>[l(d(t.$t("notification.all")),1)]),_:1},8,["class"]),k.unreadCount.all>0?(e(),s(w,{key:0,class:"badge"},{default:o(()=>[l(d(k.unreadCount.all),1)]),_:1})):f("",!0)]),_:1},8,["class"]),c(w,{class:r(["tab-item",{active:"system"===k.activeTab}]),onClick:a[1]||(a[1]=t=>C.switchTab("system"))},{default:o(()=>[c($,{class:r(["tab-text",{active:"system"===k.activeTab}])},{default:o(()=>[l(d(t.$t("notification.system")),1)]),_:1},8,["class"]),k.unreadCount.system>0?(e(),s(w,{key:0,class:"badge"},{default:o(()=>[l(d(k.unreadCount.system),1)]),_:1})):f("",!0)]),_:1},8,["class"]),c(w,{class:r(["tab-item",{active:"activity"===k.activeTab}]),onClick:a[2]||(a[2]=t=>C.switchTab("activity"))},{default:o(()=>[c($,{class:r(["tab-text",{active:"activity"===k.activeTab}])},{default:o(()=>[l(d(t.$t("notification.activity")),1)]),_:1},8,["class"]),k.unreadCount.activity>0?(e(),s(w,{key:0,class:"badge"},{default:o(()=>[l(d(k.unreadCount.activity),1)]),_:1})):f("",!0)]),_:1},8,["class"]),c(w,{class:r(["tab-item",{active:"service"===k.activeTab}]),onClick:a[3]||(a[3]=t=>C.switchTab("service"))},{default:o(()=>[c($,{class:r(["tab-text",{active:"service"===k.activeTab}])},{default:o(()=>[l(d(t.$t("notification.service")),1)]),_:1},8,["class"]),k.unreadCount.service>0?(e(),s(w,{key:0,class:"badge"},{default:o(()=>[l(d(k.unreadCount.service),1)]),_:1})):f("",!0)]),_:1},8,["class"])]),_:1}),c(M,{class:"notification-list","scroll-y":"",onScrolltolower:C.loadMore,"show-scrollbar":!1},{default:o(()=>[(e(!0),u(m,null,h(k.notificationList,t=>(e(),s(w,{class:r(["notification-item",{unread:!t.isRead}]),key:t.id,onClick:a=>C.readNotification(t)},{default:o(()=>[c(w,{class:"item-header"},{default:o(()=>[c($,{class:"item-title"},{default:o(()=>[l(d(t.title),1)]),_:2},1024),t.isRead?f("",!0):(e(),s(w,{key:0,class:"unread-dot"}))]),_:2},1024),c($,{class:"item-content"},{default:o(()=>[l(d(t.content),1)]),_:2},1024),c($,{class:"item-time"},{default:o(()=>[l(d(C.formatTime(t.createdAt)),1)]),_:2},1024)]),_:2},1032,["class","onClick"]))),128)),k.loading?(e(),s(w,{key:0,class:"loading-more"},{default:o(()=>[c($,{class:"loading-text"},{default:o(()=>[l(d(t.$t("common.loading")),1)]),_:1})]),_:1})):f("",!0),!k.loading&&!k.hasMore&&k.notificationList.length>0?(e(),s(w,{key:1,class:"loading-more"},{default:o(()=>[c($,{class:"loading-text"},{default:o(()=>[l(d(t.$t("common.noMore")||"没有更多了"),1)]),_:1})]),_:1})):f("",!0),0!==k.notificationList.length||k.loading?f("",!0):(e(),s(w,{key:2,class:"empty-state"},{default:o(()=>[c(T,{src:p,class:"empty-icon",mode:"aspectFit"}),c($,{class:"no-data"},{default:o(()=>[l(d(t.$t("notification.noNotification")),1)]),_:1})]),_:1}))]),_:1},8,["onScrolltolower"])]),_:1})}],["__scopeId","data-v-a192f984"]]);export{k as default}; diff --git a/miniprogram/dist/build/h5/assets/pages-me-privacy-policy-page.046daf60.js b/miniprogram/dist/build/h5/assets/pages-me-privacy-policy-page.046daf60.js deleted file mode 100644 index 9f224c6..0000000 --- a/miniprogram/dist/build/h5/assets/pages-me-privacy-policy-page.046daf60.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as a,l as t,C as s,o as c,c as n,w as o,i as e,e as l,f as i,t as d,g as r,h as f}from"./index-a09151d6.js";import{_}from"./ic_back.5440bd15.js";const u=a({data:()=>({content:"",loading:!0}),onLoad(){this.loadContent()},methods:{goBack(){t()},async loadContent(){try{this.loading=!0;const a=await s.getPublicConfig();this.content=a.privacy_policy||""}catch(a){console.error("加载隐私政策失败:",a)}finally{this.loading=!1}}}},[["render",function(a,t,s,u,g,y){const k=r,p=e,m=f;return c(),n(p,{class:"page"},{default:o(()=>[l(p,{class:"navbar"},{default:o(()=>[l(p,{class:"nav-back",onClick:y.goBack},{default:o(()=>[l(k,{src:_,class:"back-icon",mode:"aspectFit"})]),_:1},8,["onClick"]),l(m,{class:"nav-title"},{default:o(()=>[i(d(a.$t("me.privacyPolicy")),1)]),_:1})]),_:1}),l(p,{class:"content-container"},{default:o(()=>[l(p,{class:"content-box"},{default:o(()=>[g.loading?(c(),n(m,{key:0,class:"loading-text"},{default:o(()=>[i("加载中...")]),_:1})):g.content?(c(),n(m,{key:2,class:"content-text"},{default:o(()=>[i(d(g.content),1)]),_:1})):(c(),n(m,{key:1,class:"empty-text"},{default:o(()=>[i("暂无内容")]),_:1}))]),_:1})]),_:1})]),_:1})}],["__scopeId","data-v-177ac736"]]);export{u as default}; diff --git a/miniprogram/dist/build/h5/assets/pages-me-profile-edit-page.2dfd9fda.js b/miniprogram/dist/build/h5/assets/pages-me-profile-edit-page.2dfd9fda.js deleted file mode 100644 index ea0e351..0000000 --- a/miniprogram/dist/build/h5/assets/pages-me-profile-edit-page.2dfd9fda.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as a,k as e,C as s,$ as t,L as o,m as l,M as r,l as n,o as c,c as i,w as d,i as f,e as m,a1 as u,f as h,t as v,h as g,g as p,a2 as k,y as _}from"./index-a09151d6.js";import{A as y}from"./AppServer.888fd24d.js";import{b as I,a as U}from"./auth.b970b80f.js";const b=a({data:()=>({statusBarHeight:0,userInfo:{},form:{avatar:"",nickname:""},saving:!1}),onLoad(){const a=e();this.statusBarHeight=a.statusBarHeight||0,this.loadUserInfo()},methods:{loadUserInfo(){const a=I();a&&(this.userInfo=a,this.form={avatar:s.getImageUrl(a.avatar)||"",nickname:a.nickname||""}),this.fetchUserProfile()},async fetchUserProfile(){try{const a=new y,e=await a.GetUserProfile();0===e.code&&e.data&&(this.userInfo=e.data,this.form={avatar:s.getImageUrl(e.data.avatar)||"",nickname:e.data.nickname||""},U(e.data))}catch(a){console.error("获取用户信息失败:",a)}},chooseAvatar(){t({count:1,sizeType:["compressed"],sourceType:["album","camera"],success:a=>{const e=a.tempFilePaths[0];this.uploadAvatar(e)}})},async uploadAvatar(a){o({title:"上传中...",mask:!0});try{const e=new y,t=await e.UploadImage(a);if(0!==t.code||!t.data)throw new Error(t.message||"上传失败");this.form.avatar=s.getImageUrl(t.data.url),l({title:"头像上传成功",icon:"success"})}catch(e){console.error("上传头像失败:",e),l({title:"上传失败",icon:"none"})}finally{r()}},async handleSave(){if(this.form.nickname&&this.form.nickname.trim()){this.saving=!0;try{const a=new y,e={nickname:this.form.nickname.trim(),avatar:this.form.avatar},s=await a.UpdateUserProfile(e);if(0!==s.code)throw new Error(s.message||"保存失败");{const a={...this.userInfo,...e};U(a),l({title:"保存成功",icon:"success"}),setTimeout(()=>{this.goBack()},1e3)}}catch(a){console.error("保存失败:",a),l({title:a.message||"保存失败",icon:"none"})}finally{this.saving=!1}}else l({title:"请输入昵称",icon:"none"})},goBack(){n()}}},[["render",function(a,e,s,t,o,l){const r=f,n=g,y=p,I=k,U=_;return c(),i(r,{class:"container"},{default:d(()=>[m(r,{class:"header"},{default:d(()=>[m(r,{class:"status-bar",style:u({height:o.statusBarHeight+"px"})},null,8,["style"]),m(r,{class:"header-content"},{default:d(()=>[m(r,{class:"back-button",onClick:l.goBack},{default:d(()=>[m(n,{class:"back-icon"},{default:d(()=>[h("‹")]),_:1})]),_:1},8,["onClick"]),m(n,{class:"header-title"},{default:d(()=>[h(v(a.$t("profile.title")||"个人资料"),1)]),_:1}),m(r,{class:"header-placeholder"})]),_:1})]),_:1}),m(r,{class:"content"},{default:d(()=>[m(r,{class:"avatar-section"},{default:d(()=>[m(r,{class:"avatar-wrapper"},{default:d(()=>[m(y,{src:o.form.avatar||"/static/default-avatar.png",class:"avatar",mode:"aspectFill",onClick:l.chooseAvatar},null,8,["src","onClick"]),m(r,{class:"avatar-edit-icon"},{default:d(()=>[m(n,{class:"edit-icon"},{default:d(()=>[h("✏️")]),_:1})]),_:1})]),_:1})]),_:1}),m(r,{class:"form-section"},{default:d(()=>[m(r,{class:"form-item"},{default:d(()=>[m(n,{class:"form-label"},{default:d(()=>[h(v(a.$t("profile.nickname")||"昵称"),1)]),_:1}),m(I,{modelValue:o.form.nickname,"onUpdate:modelValue":e[0]||(e[0]=a=>o.form.nickname=a),class:"form-input",placeholder:a.$t("profile.nicknamePlaceholder")||"请输入昵称",maxlength:"20"},null,8,["modelValue","placeholder"])]),_:1}),m(r,{class:"form-item readonly"},{default:d(()=>[m(n,{class:"form-label"},{default:d(()=>[h("UID")]),_:1}),m(n,{class:"form-value"},{default:d(()=>[h(v(o.userInfo.uid||"-"),1)]),_:1})]),_:1})]),_:1}),m(r,{class:"button-section"},{default:d(()=>[m(U,{class:"save-button",onClick:l.handleSave,loading:o.saving,disabled:o.saving},{default:d(()=>[h(v(a.$t("common.save")||"保存"),1)]),_:1},8,["onClick","loading","disabled"])]),_:1})]),_:1})]),_:1})}],["__scopeId","data-v-9ea70e68"]]);export{b as default}; diff --git a/miniprogram/dist/build/h5/assets/pages-me-user-agreement-page.6a19be09.js b/miniprogram/dist/build/h5/assets/pages-me-user-agreement-page.6a19be09.js deleted file mode 100644 index 0101d30..0000000 --- a/miniprogram/dist/build/h5/assets/pages-me-user-agreement-page.6a19be09.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as a,l as t,C as e,o as s,c as n,w as o,i as c,e as l,f as d,t as i,g as r,h as f}from"./index-a09151d6.js";import{_ as u}from"./ic_back.5440bd15.js";const _=a({data:()=>({content:"",loading:!0}),onLoad(){this.loadContent()},methods:{goBack(){t()},async loadContent(){try{this.loading=!0;const a=await e.getPublicConfig();this.content=a.user_agreement||""}catch(a){console.error("加载用户协议失败:",a)}finally{this.loading=!1}}}},[["render",function(a,t,e,_,g,k){const m=r,b=c,h=f;return s(),n(b,{class:"page"},{default:o(()=>[l(b,{class:"navbar"},{default:o(()=>[l(b,{class:"nav-back",onClick:k.goBack},{default:o(()=>[l(m,{src:u,class:"back-icon",mode:"aspectFit"})]),_:1},8,["onClick"]),l(h,{class:"nav-title"},{default:o(()=>[d(i(a.$t("me.userAgreement")),1)]),_:1})]),_:1}),l(b,{class:"content-container"},{default:o(()=>[l(b,{class:"content-box"},{default:o(()=>[g.loading?(s(),n(h,{key:0,class:"loading-text"},{default:o(()=>[d("加载中...")]),_:1})):g.content?(s(),n(h,{key:2,class:"content-text"},{default:o(()=>[d(i(g.content),1)]),_:1})):(s(),n(h,{key:1,class:"empty-text"},{default:o(()=>[d("暂无内容")]),_:1}))]),_:1})]),_:1})]),_:1})}],["__scopeId","data-v-fd3ffbc1"]]);export{_ as default}; diff --git a/miniprogram/dist/build/h5/assets/pages-service-detail-service-detail.7ccacd63.js b/miniprogram/dist/build/h5/assets/pages-service-detail-service-detail.7ccacd63.js deleted file mode 100644 index 87e71ed..0000000 --- a/miniprogram/dist/build/h5/assets/pages-service-detail-service-detail.7ccacd63.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as e,z as a,m as s,l as t,C as r,n as i,o,c as l,w as c,i as n,e as d,f as g,t as u,h as m,g as v,y as h}from"./index-a09151d6.js";import{A as f}from"./AppServer.888fd24d.js";const p=e({data:()=>({serviceKey:"",service:null,loading:!1,currentLanguage:"zh"}),onLoad(e){e.key?(this.serviceKey=e.key,this.currentLanguage=a("language")||"zh",this.loadServiceDetail()):(s({title:"服务Key缺失",icon:"none"}),setTimeout(()=>{t()},1500))},methods:{async loadServiceDetail(){this.loading=!0;try{const e=new f,a=await e.GetServiceByKey(this.serviceKey,this.currentLanguage);console.log("服务详情响应:",a),0===a.code&&a.data?this.service=a.data:(console.error("获取服务详情失败:",a.message),s({title:a.message||"获取服务详情失败",icon:"none"}),this.service=null)}catch(e){console.error("加载服务详情异常:",e),s({title:"加载失败",icon:"none"}),this.service=null}finally{this.loading=!1}},getServiceName:e=>e&&e.title||"",getServiceDescription:e=>e&&e.description||"",getImageUrl(e){if(!e)return"";if(e.startsWith("http"))return e;return`${r.API_BASE_URL||"http://localhost:3000"}${e}`},handleBook(){this.service&&i({url:`/pages/booking-form/booking-form?serviceId=${this.serviceId}`})},handleImageError(){console.error("图片加载失败:",this.service.image),this.service.image=null}}},[["render",function(e,a,s,t,r,i){const f=m,p=n,_=v,y=h;return o(),l(p,{class:"container"},{default:c(()=>[r.loading?(o(),l(p,{key:0,class:"loading-container"},{default:c(()=>[d(f,{class:"loading-text"},{default:c(()=>[g(u(e.$t("common.loading")||"加载中..."),1)]),_:1})]),_:1})):r.service?(o(),l(p,{key:1,class:"content"},{default:c(()=>[d(p,{class:"service-image-wrapper"},{default:c(()=>[r.service.image?(o(),l(_,{key:0,src:i.getImageUrl(r.service.image),class:"service-image",mode:"aspectFill",onError:i.handleImageError},null,8,["src","onError"])):(o(),l(p,{key:1,class:"service-image-placeholder"},{default:c(()=>[d(f,{class:"placeholder-icon"},{default:c(()=>[g("📷")]),_:1}),d(f,{class:"placeholder-text"},{default:c(()=>[g("暂无图片")]),_:1})]),_:1}))]),_:1}),d(p,{class:"service-info"},{default:c(()=>[d(f,{class:"service-name"},{default:c(()=>[g(u(i.getServiceName(r.service)),1)]),_:1}),d(f,{class:"service-description"},{default:c(()=>[g(u(i.getServiceDescription(r.service)),1)]),_:1})]),_:1}),d(p,{class:"action-bar"},{default:c(()=>[d(y,{class:"book-button",onClick:i.handleBook},{default:c(()=>[g(u(e.$t("appointment.bookNow")||"立即预约"),1)]),_:1},8,["onClick"])]),_:1})]),_:1})):(o(),l(p,{key:2,class:"error-container"},{default:c(()=>[d(f,{class:"error-text"},{default:c(()=>[g(u(e.$t("common.loadFailed")||"加载失败"),1)]),_:1}),d(y,{class:"retry-button",onClick:i.loadServiceDetail},{default:c(()=>[g(u(e.$t("common.retry")||"重试"),1)]),_:1},8,["onClick"])]),_:1}))]),_:1})}],["__scopeId","data-v-851e2374"]]);export{p as default}; diff --git a/miniprogram/dist/build/h5/assets/pet-transportation-page-d7629c3e.css b/miniprogram/dist/build/h5/assets/pet-transportation-page-d7629c3e.css deleted file mode 100644 index c038239..0000000 --- a/miniprogram/dist/build/h5/assets/pet-transportation-page-d7629c3e.css +++ /dev/null @@ -1 +0,0 @@ -.page[data-v-5b1bc6dd]{min-height:100vh;background-color:#f3f3f3}.header[data-v-5b1bc6dd]{display:flex;flex-direction:row;align-items:center;justify-content:space-between;width:100%;padding-top:2.75rem;padding-bottom:.625rem;background-color:#f3f3f3;position:fixed;top:0;left:0;z-index:100}.scroll-content[data-v-5b1bc6dd]{padding-top:4.375rem;background-color:#f3f3f3;min-height:100vh}.content[data-v-5b1bc6dd]{display:flex;flex-direction:column;align-items:center;background-color:#f3f3f3;min-height:100%}.date-item[data-v-5b1bc6dd]{display:flex;flex-direction:row;align-items:center;justify-content:space-between;width:100%;height:2.5rem;padding:0 .3125rem;box-sizing:border-box}.date-text[data-v-5b1bc6dd]{font-size:.875rem;color:#333}.date-placeholder[data-v-5b1bc6dd]{color:#c0c4cc}@keyframes flash-5b1bc6dd{0%{background-color:#f3f3f3}50%{background-color:#f66}to{background-color:#f3f3f3}}.flash-animation[data-v-5b1bc6dd]{animation:flash-5b1bc6dd .5s ease-in-out 3} diff --git a/miniprogram/dist/build/h5/assets/privacy-policy-page-53be437c.css b/miniprogram/dist/build/h5/assets/privacy-policy-page-53be437c.css deleted file mode 100644 index 92f7097..0000000 --- a/miniprogram/dist/build/h5/assets/privacy-policy-page-53be437c.css +++ /dev/null @@ -1 +0,0 @@ -.page[data-v-177ac736]{height:100vh;background-color:#f3f4f8;display:flex;flex-direction:column;overflow:hidden}.navbar[data-v-177ac736]{width:100%;padding-top:3.125rem;padding-bottom:.625rem;display:flex;flex-direction:row;align-items:center;justify-content:center;position:relative;background-color:#fff;flex-shrink:0}.navbar .nav-back[data-v-177ac736]{position:absolute;left:1rem;width:2.5rem;height:1.5625rem;display:flex;align-items:center;justify-content:center}.navbar .nav-back .back-icon[data-v-177ac736]{width:1.5rem;height:1.5rem}.navbar .nav-title[data-v-177ac736]{font-size:1.0625rem;font-weight:500;color:#333}.content-container[data-v-177ac736]{flex:1;overflow-y:auto;-webkit-overflow-scrolling:touch}.content-box[data-v-177ac736]{padding:.9375rem;background-color:#fff;margin:.625rem;border-radius:.5rem;min-height:6.25rem}.content-text[data-v-177ac736]{font-size:.875rem;color:#333;line-height:1.8;white-space:pre-wrap;word-break:break-all}.loading-text[data-v-177ac736],.empty-text[data-v-177ac736]{font-size:.875rem;color:#999;text-align:center;display:block;padding:1.875rem 0} diff --git a/miniprogram/dist/build/h5/assets/profile-edit-page-f389f346.css b/miniprogram/dist/build/h5/assets/profile-edit-page-f389f346.css deleted file mode 100644 index 9d2ee37..0000000 --- a/miniprogram/dist/build/h5/assets/profile-edit-page-f389f346.css +++ /dev/null @@ -1 +0,0 @@ -.container[data-v-9ea70e68]{min-height:100vh;background-color:#f5f5f5}.header[data-v-9ea70e68]{background-color:#fff;border-bottom:1px solid #eee}.header .status-bar[data-v-9ea70e68]{width:100%;background-color:#fff}.header .header-content[data-v-9ea70e68]{display:flex;align-items:center;justify-content:space-between;padding:0 16px}.header .back-button[data-v-9ea70e68]{width:40px;height:40px;display:flex;align-items:center;justify-content:center}.header .back-icon[data-v-9ea70e68]{font-size:44px;color:#333;font-weight:300}.header .header-title[data-v-9ea70e68]{font-size:18px;font-weight:600;color:#333;flex:1;text-align:center}.header .header-placeholder[data-v-9ea70e68]{width:40px}.content[data-v-9ea70e68]{padding-bottom:1.25rem}.avatar-section[data-v-9ea70e68]{display:flex;justify-content:center;padding:1.875rem 0;background-color:#fff;margin-bottom:.625rem}.avatar-section .avatar-wrapper[data-v-9ea70e68]{position:relative;width:5rem;height:5rem}.avatar-section .avatar[data-v-9ea70e68]{width:100%;height:100%;border-radius:50%;background-color:#e0e0e0}.avatar-section .avatar-edit-icon[data-v-9ea70e68]{position:absolute;bottom:0;right:0;width:1.5rem;height:1.5rem;background-color:#17a2b8;border-radius:50%;display:flex;align-items:center;justify-content:center;border:3px solid #fff}.avatar-section .avatar-edit-icon .edit-icon[data-v-9ea70e68]{font-size:.625rem}.form-section[data-v-9ea70e68]{background-color:#fff;margin-bottom:.625rem}.form-item[data-v-9ea70e68]{display:flex;align-items:center;padding:.875rem 1rem;border-bottom:1px solid #f0f0f0}.form-item[data-v-9ea70e68]:last-child{border-bottom:none}.form-item.readonly .form-value[data-v-9ea70e68]{color:#999}.form-item .form-label[data-v-9ea70e68]{width:5rem;font-size:.875rem;color:#333;flex-shrink:0}.form-item .form-input[data-v-9ea70e68],.form-item .form-value[data-v-9ea70e68]{flex:1;font-size:.875rem;color:#333;text-align:right}.button-section[data-v-9ea70e68]{padding:1.25rem 1rem}.save-button[data-v-9ea70e68]{width:100%;height:2.75rem;line-height:2.75rem;background:linear-gradient(135deg,#17a2b8 0%,#138496 100%);color:#fff;border-radius:1.375rem;font-size:1rem;font-weight:600;text-align:center;border:none;box-shadow:0 4px 12px rgba(23,162,184,.3)}.save-button[data-v-9ea70e68]:after{border:none}.save-button[disabled][data-v-9ea70e68]{opacity:.6} diff --git a/miniprogram/dist/build/h5/assets/rail-ticket-page-0fb583ee.css b/miniprogram/dist/build/h5/assets/rail-ticket-page-0fb583ee.css deleted file mode 100644 index 4332b06..0000000 --- a/miniprogram/dist/build/h5/assets/rail-ticket-page-0fb583ee.css +++ /dev/null @@ -1 +0,0 @@ -.page[data-v-909bb00e]{min-height:100vh;background-color:#f3f3f3}.header[data-v-909bb00e]{display:flex;flex-direction:row;align-items:center;justify-content:space-between;width:100%;padding-top:2.75rem;padding-bottom:.625rem;background-color:#f3f3f3;position:fixed;top:0;left:0;z-index:100}.scroll-content[data-v-909bb00e]{padding-top:4.375rem;background-color:#f3f3f3;min-height:100vh}.content[data-v-909bb00e]{display:flex;flex-direction:column;align-items:center;background-color:#f3f3f3;min-height:100%}.date-item[data-v-909bb00e]{display:flex;flex-direction:row;align-items:center;justify-content:space-between;width:100%;height:2.5rem;padding:0 .3125rem;box-sizing:border-box}.date-text[data-v-909bb00e]{font-size:.875rem;color:#333}.date-placeholder[data-v-909bb00e]{color:#c0c4cc}@keyframes flash-909bb00e{0%{background-color:#f3f3f3}50%{background-color:#f66}to{background-color:#f3f3f3}}.flash-animation[data-v-909bb00e]{animation:flash-909bb00e .5s ease-in-out 3}.person-row[data-v-909bb00e]{display:flex;flex-direction:row;align-items:center;justify-content:space-between;width:100%;padding:.625rem .3125rem}.person-info[data-v-909bb00e]{display:flex;flex-direction:column}.person-title[data-v-909bb00e]{font-size:.875rem;color:#333;font-weight:500}.person-counter[data-v-909bb00e]{display:flex;flex-direction:row;align-items:center}.counter-btn[data-v-909bb00e]{width:1.5625rem;height:1.5625rem;display:flex;align-items:center;justify-content:center;background-color:#bfbfbf;border-radius:.25rem}.counter-icon[data-v-909bb00e]{font-size:.875rem;font-weight:700;line-height:1.5625rem;text-align:center;color:#fff}.counter-value[data-v-909bb00e]{font-size:.875rem;color:#333;min-width:2.5rem;text-align:center} diff --git a/miniprogram/dist/build/h5/assets/reserve-details-page-81847eb9.css b/miniprogram/dist/build/h5/assets/reserve-details-page-81847eb9.css deleted file mode 100644 index db97ead..0000000 --- a/miniprogram/dist/build/h5/assets/reserve-details-page-81847eb9.css +++ /dev/null @@ -1 +0,0 @@ -.content[data-v-24733327]{height:100vh;display:flex;flex-direction:column;align-items:center;background-color:#f7f7f7} diff --git a/miniprogram/dist/build/h5/assets/sea-freight-page-c712143a.css b/miniprogram/dist/build/h5/assets/sea-freight-page-c712143a.css deleted file mode 100644 index 59aee37..0000000 --- a/miniprogram/dist/build/h5/assets/sea-freight-page-c712143a.css +++ /dev/null @@ -1 +0,0 @@ -.page[data-v-575f8784]{min-height:100vh;background-color:#f3f3f3}.header[data-v-575f8784]{display:flex;flex-direction:row;align-items:center;justify-content:space-between;width:100%;padding-top:2.75rem;padding-bottom:.625rem;background-color:#f3f3f3;position:fixed;top:0;left:0;z-index:100}.scroll-content[data-v-575f8784]{padding-top:4.375rem;background-color:#f3f3f3;min-height:100vh}.content[data-v-575f8784]{display:flex;flex-direction:column;align-items:center;background-color:#f3f3f3;min-height:100%}@keyframes flash-575f8784{0%{background-color:#f3f3f3}50%{background-color:#f66}to{background-color:#f3f3f3}}.flash-animation[data-v-575f8784]{animation:flash-575f8784 .5s ease-in-out 3} diff --git a/miniprogram/dist/build/h5/assets/service-detail-fa6f2108.css b/miniprogram/dist/build/h5/assets/service-detail-fa6f2108.css deleted file mode 100644 index 5efb04e..0000000 --- a/miniprogram/dist/build/h5/assets/service-detail-fa6f2108.css +++ /dev/null @@ -1 +0,0 @@ -.container[data-v-851e2374]{display:flex;flex-direction:column;min-height:100vh;background-color:#f5f5f5}.loading-container[data-v-851e2374],.error-container[data-v-851e2374]{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:6.25rem 1.25rem}.loading-text[data-v-851e2374],.error-text[data-v-851e2374]{font-size:.875rem;color:#999;margin-bottom:1.25rem}.retry-button[data-v-851e2374]{width:6.25rem;height:2.1875rem;line-height:2.1875rem;background-color:#17a2b8;color:#fff;border-radius:1.09375rem;font-size:.875rem;text-align:center}.content[data-v-851e2374]{display:flex;flex-direction:column;flex:1;padding-bottom:3.75rem}.service-image-wrapper[data-v-851e2374]{width:100%;height:12.5rem;background-color:#f0f0f0;position:relative}.service-image[data-v-851e2374]{width:100%;height:100%}.service-image-placeholder[data-v-851e2374]{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;background:linear-gradient(135deg,#e0e0e0 0%,#f5f5f5 100%)}.placeholder-icon[data-v-851e2374]{font-size:3.125rem;opacity:.5;margin-bottom:.625rem}.placeholder-text[data-v-851e2374]{font-size:.875rem;color:#999}.service-info[data-v-851e2374]{display:flex;flex-direction:column;padding:1.25rem;background-color:#fff}.service-name[data-v-851e2374]{font-size:1.125rem;font-weight:600;color:#333;margin-bottom:.9375rem}.service-description[data-v-851e2374]{font-size:.875rem;color:#666;line-height:1.6}.action-bar[data-v-851e2374]{position:fixed;bottom:0;left:0;right:0;padding:.625rem 1.25rem;background-color:#fff;box-shadow:0 -.0625rem .3125rem rgba(0,0,0,.05);z-index:100}.book-button[data-v-851e2374]{width:100%;height:2.5rem;line-height:2.5rem;background:linear-gradient(135deg,#17a2b8 0%,#138496 100%);color:#fff;border-radius:1.25rem;font-size:1rem;font-weight:600;text-align:center;border:none}.book-button[data-v-851e2374]:after{border:none} diff --git a/miniprogram/dist/build/h5/assets/special-needs-page-ce40d7ab.css b/miniprogram/dist/build/h5/assets/special-needs-page-ce40d7ab.css deleted file mode 100644 index bc668b0..0000000 --- a/miniprogram/dist/build/h5/assets/special-needs-page-ce40d7ab.css +++ /dev/null @@ -1 +0,0 @@ -.page[data-v-e68dfe5e]{min-height:100vh;background-color:#f3f3f3}.header[data-v-e68dfe5e]{display:flex;flex-direction:row;align-items:center;justify-content:space-between;width:100%;padding-top:2.75rem;padding-bottom:.625rem;background-color:#f3f3f3;position:fixed;top:0;left:0;z-index:100}.scroll-content[data-v-e68dfe5e]{padding-top:4.375rem;background-color:#f3f3f3;min-height:100vh}.content[data-v-e68dfe5e]{display:flex;flex-direction:column;align-items:center;background-color:#f3f3f3;min-height:100%}.date-item[data-v-e68dfe5e]{display:flex;flex-direction:row;align-items:center;justify-content:space-between;width:100%;height:2.5rem;padding:0 .3125rem;box-sizing:border-box}.date-text[data-v-e68dfe5e]{font-size:.875rem;color:#333}.date-placeholder[data-v-e68dfe5e]{color:#c0c4cc}@keyframes flash-e68dfe5e{0%{background-color:#f3f3f3}50%{background-color:#f66}to{background-color:#f3f3f3}}.flash-animation[data-v-e68dfe5e]{animation:flash-e68dfe5e .5s ease-in-out 3} diff --git a/miniprogram/dist/build/h5/assets/tabbar-i18n.82cae040.js b/miniprogram/dist/build/h5/assets/tabbar-i18n.82cae040.js deleted file mode 100644 index da20a9a..0000000 --- a/miniprogram/dist/build/h5/assets/tabbar-i18n.82cae040.js +++ /dev/null @@ -1 +0,0 @@ -import{J as t,K as e}from"./index-a09151d6.js";const n=["pages/index/index","pages/appointment/appointment-page","pages/me/me-page"],a=a=>{if(a&&a.$t&&(()=>{const t=e();if(0===t.length)return!1;const a=t[t.length-1].route||"";return n.includes(a)})())try{t({index:0,text:a.$t("tabbar.home")}),t({index:1,text:a.$t("tabbar.appointment")}),t({index:2,text:a.$t("tabbar.me")})}catch(r){console.error("更新 TabBar 国际化失败:",r)}};export{a as u}; diff --git a/miniprogram/dist/build/h5/assets/travel-planning-page-749c09fc.css b/miniprogram/dist/build/h5/assets/travel-planning-page-749c09fc.css deleted file mode 100644 index a0cb41d..0000000 --- a/miniprogram/dist/build/h5/assets/travel-planning-page-749c09fc.css +++ /dev/null @@ -1 +0,0 @@ -.page[data-v-4336bb8e]{min-height:100vh;background-color:#f3f3f3}.header[data-v-4336bb8e]{display:flex;flex-direction:row;align-items:center;justify-content:space-between;width:100%;padding-top:2.75rem;padding-bottom:.625rem;background-color:#f3f3f3;position:fixed;top:0;left:0;z-index:100}.scroll-content[data-v-4336bb8e]{padding-top:4.375rem;background-color:#f3f3f3;min-height:100vh}.content[data-v-4336bb8e]{display:flex;flex-direction:column;align-items:center;background-color:#f3f3f3;min-height:100%}.date-item[data-v-4336bb8e]{display:flex;flex-direction:row;align-items:center;justify-content:space-between;width:100%;height:2.5rem;padding:0 .3125rem;box-sizing:border-box}.date-text[data-v-4336bb8e]{font-size:.875rem;color:#333}.date-placeholder[data-v-4336bb8e]{color:#c0c4cc}@keyframes flash-4336bb8e{0%{background-color:#f3f3f3}50%{background-color:#f66}to{background-color:#f3f3f3}}.flash-animation[data-v-4336bb8e]{animation:flash-4336bb8e .5s ease-in-out 3}.person-row[data-v-4336bb8e]{display:flex;flex-direction:row;align-items:center;justify-content:space-between;width:100%;padding:.625rem .3125rem}.person-info[data-v-4336bb8e]{display:flex;flex-direction:column}.person-title[data-v-4336bb8e]{font-size:.875rem;color:#333;font-weight:500}.person-desc[data-v-4336bb8e]{font-size:.75rem;color:#999;margin-top:.1875rem}.person-counter[data-v-4336bb8e]{display:flex;flex-direction:row;align-items:center}.counter-btn[data-v-4336bb8e]{width:1.5625rem;height:1.5625rem;display:flex;align-items:center;justify-content:center;background-color:#bfbfbf;border-radius:.25rem}.counter-icon[data-v-4336bb8e]{font-size:.875rem;font-weight:700;line-height:1.5625rem;text-align:center;color:#fff}.counter-value[data-v-4336bb8e]{font-size:.875rem;color:#333;min-width:2.5rem;text-align:center} diff --git a/miniprogram/dist/build/h5/assets/unaccompanied-minor-page-c1e89e12.css b/miniprogram/dist/build/h5/assets/unaccompanied-minor-page-c1e89e12.css deleted file mode 100644 index 07abda2..0000000 --- a/miniprogram/dist/build/h5/assets/unaccompanied-minor-page-c1e89e12.css +++ /dev/null @@ -1 +0,0 @@ -.page[data-v-3d5b1747]{min-height:100vh;background-color:#f3f3f3}.header[data-v-3d5b1747]{display:flex;flex-direction:row;align-items:center;justify-content:space-between;width:100%;padding-top:2.75rem;padding-bottom:.625rem;background-color:#f3f3f3;position:fixed;top:0;left:0;z-index:100}.scroll-content[data-v-3d5b1747]{padding-top:4.375rem;background-color:#f3f3f3;min-height:100vh}.content[data-v-3d5b1747]{display:flex;flex-direction:column;align-items:center;background-color:#f3f3f3;min-height:100%}.date-item[data-v-3d5b1747]{display:flex;flex-direction:row;align-items:center;justify-content:space-between;width:100%;height:2.5rem;padding:0 .3125rem;box-sizing:border-box}.date-text[data-v-3d5b1747]{font-size:.875rem;color:#333}.date-placeholder[data-v-3d5b1747]{color:#c0c4cc}@keyframes flash-3d5b1747{0%{background-color:#f3f3f3}50%{background-color:#f66}to{background-color:#f3f3f3}}.flash-animation[data-v-3d5b1747]{animation:flash-3d5b1747 .5s ease-in-out 3}.person-row[data-v-3d5b1747]{display:flex;flex-direction:row;align-items:center;justify-content:space-between;width:100%;padding:.625rem .3125rem}.person-info[data-v-3d5b1747]{display:flex;flex-direction:column}.person-title[data-v-3d5b1747]{font-size:.875rem;color:#333;font-weight:500}.person-desc[data-v-3d5b1747]{font-size:.75rem;color:#999;margin-top:.1875rem}.person-counter[data-v-3d5b1747]{display:flex;flex-direction:row;align-items:center}.counter-btn[data-v-3d5b1747]{width:1.5625rem;height:1.5625rem;display:flex;align-items:center;justify-content:center;background-color:#bfbfbf;border-radius:.25rem}.counter-icon[data-v-3d5b1747]{font-size:.875rem;font-weight:700;line-height:1.5625rem;text-align:center;color:#fff}.counter-value[data-v-3d5b1747]{font-size:.875rem;color:#333;min-width:2.5rem;text-align:center} diff --git a/miniprogram/dist/build/h5/assets/uni.438c65d9.css b/miniprogram/dist/build/h5/assets/uni.438c65d9.css deleted file mode 100644 index 0832f3f..0000000 --- a/miniprogram/dist/build/h5/assets/uni.438c65d9.css +++ /dev/null @@ -1 +0,0 @@ -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-canvas{width:300px;height:150px;display:block;position:relative}uni-canvas>.uni-canvas-canvas{position:absolute;top:0;left:0;width:100%;height:100%}uni-checkbox{-webkit-tap-highlight-color:transparent;display:inline-block;cursor:pointer}uni-checkbox[hidden]{display:none}uni-checkbox[disabled]{cursor:not-allowed}.uni-checkbox-wrapper{display:inline-flex;align-items:center;vertical-align:middle}.uni-checkbox-input{margin-right:5px;-webkit-appearance:none;appearance:none;outline:0;border:1px solid #d1d1d1;background-color:#fff;border-radius:3px;width:22px;height:22px;position:relative}.uni-checkbox-input svg{color:#007aff;font-size:22px;position:absolute;top:50%;left:50%;transform:translate(-50%,-48%) scale(.73)}@media (hover: hover){uni-checkbox:not([disabled]) .uni-checkbox-input:hover{border-color:var(--HOVER-BD-COLOR, #007aff)!important}}.uni-checkbox-input.uni-checkbox-input-disabled{background-color:#e1e1e1}.uni-checkbox-input.uni-checkbox-input-disabled:before{color:#adadad}uni-checkbox-group{display:block}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}uni-movable-area{display:block;position:relative;width:10px;height:10px}uni-movable-area[hidden]{display:none}uni-movable-view{display:inline-block;width:10px;height:10px;top:0;left:0;position:absolute;cursor:grab}uni-movable-view[hidden]{display:none}uni-picker-view-column{flex:1;position:relative;height:100%;overflow:hidden}uni-picker-view-column[hidden]{display:none}.uni-picker-view-group{height:100%;overflow:hidden}.uni-picker-view-mask{transform:translateZ(0)}.uni-picker-view-indicator,.uni-picker-view-mask{position:absolute;left:0;width:100%;z-index:3;pointer-events:none}.uni-picker-view-mask{top:0;height:100%;margin:0 auto;background-image:linear-gradient(180deg,rgba(255,255,255,.95),rgba(255,255,255,.6)),linear-gradient(0deg,rgba(255,255,255,.95),rgba(255,255,255,.6));background-position:top,bottom;background-size:100% 102px;background-repeat:no-repeat;transform:translateZ(0)}.uni-picker-view-indicator{height:34px;top:50%;transform:translateY(-50%)}.uni-picker-view-content{position:absolute;top:0;left:0;width:100%;will-change:transform;padding:102px 0;cursor:pointer}.uni-picker-view-content>*{height:34px;overflow:hidden}.uni-picker-view-indicator:before{top:0;border-top:1px solid #e5e5e5;transform-origin:0 0;transform:scaleY(.5)}.uni-picker-view-indicator:after{bottom:0;border-bottom:1px solid #e5e5e5;transform-origin:0 100%;transform:scaleY(.5)}.uni-picker-view-indicator:after,.uni-picker-view-indicator:before{content:" ";position:absolute;left:0;right:0;height:1px;color:#e5e5e5}uni-picker-view{display:block}.uni-picker-view-wrapper{display:flex;position:relative;overflow:hidden;height:100%}uni-picker-view[hidden]{display:none}.uni-scroll-view-refresher{position:relative;overflow:hidden;flex-shrink:0}.uni-scroll-view-refresher-container{position:absolute;width:100%;bottom:0;display:flex;flex-direction:column-reverse}.uni-scroll-view-refresh{position:absolute;top:0;left:0;right:0;bottom:0;display:flex;flex-direction:row;justify-content:center;align-items:center}.uni-scroll-view-refresh-inner{display:flex;align-items:center;justify-content:center;line-height:0;width:40px;height:40px;border-radius:50%;background-color:#fff;box-shadow:0 1px 6px rgba(0,0,0,.118),0 1px 4px rgba(0,0,0,.118)}.uni-scroll-view-refresh__spinner{transform-origin:center center;animation:uni-scroll-view-refresh-rotate 2s linear infinite}.uni-scroll-view-refresh__spinner>circle{stroke:currentColor;stroke-linecap:round;animation:uni-scroll-view-refresh-dash 2s linear infinite}@keyframes uni-scroll-view-refresh-rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes uni-scroll-view-refresh-dash{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:89,200;stroke-dashoffset:-35px}to{stroke-dasharray:89,200;stroke-dashoffset:-124px}}@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-scroll-view{display:block;width:100%}uni-scroll-view[hidden]{display:none}.uni-scroll-view{position:relative;-webkit-overflow-scrolling:touch;width:100%;height:100%;max-height:inherit}.uni-scroll-view-scrollbar-hidden::-webkit-scrollbar{display:none}.uni-scroll-view-scrollbar-hidden{-moz-scrollbars:none;scrollbar-width:none}.uni-scroll-view-content{width:100%;height:100%}uni-slider{margin:10px 18px;padding:0;display:block}uni-slider[hidden]{display:none}uni-slider .uni-slider-wrapper{display:-webkit-flex;display:flex;-webkit-align-items:center;align-items:center;min-height:16px}uni-slider .uni-slider-tap-area{-webkit-flex:1;flex:1;padding:8px 0}uni-slider .uni-slider-handle-wrapper{position:relative;height:2px;border-radius:5px;background-color:#e9e9e9;cursor:pointer;transition:background-color .3s ease;-webkit-tap-highlight-color:transparent}uni-slider .uni-slider-track{height:100%;border-radius:6px;background-color:#007aff;transition:background-color .3s ease}uni-slider .uni-slider-handle,uni-slider .uni-slider-thumb{position:absolute;left:50%;top:50%;cursor:pointer;border-radius:50%;transition:border-color .3s ease}uni-slider .uni-slider-handle{width:28px;height:28px;margin-top:-14px;margin-left:-14px;background-color:transparent;z-index:3;cursor:grab}uni-slider .uni-slider-thumb{z-index:2;box-shadow:0 0 4px rgba(0,0,0,.2)}uni-slider .uni-slider-step{position:absolute;width:100%;height:2px;background:transparent;z-index:1}uni-slider .uni-slider-value{width:3ch;color:#888;font-size:14px;margin-left:1em}uni-slider .uni-slider-disabled .uni-slider-track{background-color:#ccc}uni-slider .uni-slider-disabled .uni-slider-thumb{background-color:#fff;border-color:#ccc}uni-swiper-item{display:block;overflow:hidden;will-change:transform;position:absolute;width:100%;height:100%;cursor:grab}uni-swiper-item[hidden]{display:none}uni-swiper{display:block;height:150px}uni-swiper[hidden]{display:none}.uni-swiper-wrapper{overflow:hidden;position:relative;width:100%;height:100%;transform:translateZ(0)}.uni-swiper-slides{position:absolute;left:0;top:0;right:0;bottom:0}.uni-swiper-slide-frame{position:absolute;left:0;top:0;width:100%;height:100%;will-change:transform}.uni-swiper-dots{position:absolute;font-size:0}.uni-swiper-dots-horizontal{left:50%;bottom:10px;text-align:center;white-space:nowrap;transform:translate(-50%)}.uni-swiper-dots-horizontal .uni-swiper-dot{margin-right:8px}.uni-swiper-dots-horizontal .uni-swiper-dot:last-child{margin-right:0}.uni-swiper-dots-vertical{right:10px;top:50%;text-align:right;transform:translateY(-50%)}.uni-swiper-dots-vertical .uni-swiper-dot{display:block;margin-bottom:9px}.uni-swiper-dots-vertical .uni-swiper-dot:last-child{margin-bottom:0}.uni-swiper-dot{display:inline-block;width:8px;height:8px;cursor:pointer;transition-property:background-color;transition-timing-function:ease;background:rgba(0,0,0,.3);border-radius:50%}.uni-swiper-dot-active{background-color:#000}.uni-swiper-navigation{width:26px;height:26px;cursor:pointer;position:absolute;top:50%;margin-top:-13px;display:flex;align-items:center;transition:all .2s;border-radius:50%;opacity:1}.uni-swiper-navigation-disabled{opacity:.35;cursor:not-allowed}.uni-swiper-navigation-hide{opacity:0;cursor:auto;pointer-events:none}.uni-swiper-navigation-prev{left:10px}.uni-swiper-navigation-prev svg{margin-left:-1px;left:10px}.uni-swiper-navigation-prev.uni-swiper-navigation-vertical{top:18px;left:50%;margin-left:-13px}.uni-swiper-navigation-prev.uni-swiper-navigation-vertical svg{transform:rotate(90deg);margin-left:auto;margin-top:-2px}.uni-swiper-navigation-next{right:10px}.uni-swiper-navigation-next svg{transform:rotate(180deg)}.uni-swiper-navigation-next.uni-swiper-navigation-vertical{top:auto;bottom:5px;left:50%;margin-left:-13px}.uni-swiper-navigation-next.uni-swiper-navigation-vertical svg{margin-top:2px;transform:rotate(270deg)}uni-text[selectable]{cursor:auto;-webkit-user-select:text;user-select:text}uni-text{white-space:pre-line}uni-textarea{width:300px;height:150px;display:block;position:relative;font-size:16px;line-height:normal;white-space:pre-wrap;word-break:break-all}uni-textarea[hidden]{display:none}.uni-textarea-wrapper,.uni-textarea-placeholder,.uni-textarea-line,.uni-textarea-compute,.uni-textarea-textarea{outline:none;border:none;padding:0;margin:0;text-decoration:inherit}.uni-textarea-wrapper{display:block;position:relative;width:100%;height:100%;min-height:inherit;overflow-y:hidden}.uni-textarea-placeholder,.uni-textarea-line,.uni-textarea-compute,.uni-textarea-textarea{position:absolute;width:100%;height:100%;left:0;top:0;white-space:inherit;word-break:inherit}.uni-textarea-placeholder{color:gray;overflow:hidden}.uni-textarea-line,.uni-textarea-compute{visibility:hidden;height:auto}.uni-textarea-line{width:1em}.uni-textarea-textarea{resize:none;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-textarea-textarea-fix-margin{width:auto;right:0;margin:0 -3px}.uni-textarea-textarea:disabled{-webkit-text-fill-color:currentcolor}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-cover-view{display:block;line-height:1.2;overflow:hidden;white-space:nowrap;pointer-events:auto}uni-cover-view[hidden]{display:none}uni-cover-view .uni-cover-view{width:100%;height:100%;text-overflow:inherit;overflow:hidden;white-space:inherit;-webkit-align-items:inherit;align-items:inherit;-webkit-justify-content:inherit;justify-content:inherit;-webkit-flex-direction:inherit;flex-direction:inherit;-webkit-flex-wrap:inherit;flex-wrap:inherit;display:inherit;overflow:inherit}uni-video{width:300px;height:225px;display:inline-block;line-height:0;overflow:hidden;position:relative}uni-video[hidden]{display:none}.uni-video-container{width:100%;height:100%;background-color:#000;display:inline-block;position:absolute;top:0;left:0;overflow:hidden;object-position:inherit}.uni-video-container.uni-video-type-fullscreen{position:fixed;z-index:999}.uni-video-video{width:100%;height:100%;object-position:inherit}.uni-video-cover{position:absolute;top:0;left:0;bottom:0;width:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;background-color:rgba(1,1,1,.5);z-index:1}.uni-video-slots{position:absolute;left:0;top:0;width:100%;height:100%;overflow:hidden;pointer-events:none}.uni-video-cover-play-button{width:40px;height:40px;background-size:50%;background-repeat:no-repeat;background-position:50% 50%;cursor:pointer}.uni-video-cover-duration{color:#fff;font-size:16px;line-height:1;margin-top:10px}.uni-video-bar{height:44px;background-color:rgba(0,0,0,.5);overflow:hidden;position:absolute;bottom:0;right:0;display:flex;align-items:center;padding:0 10px;z-index:0;transform:translateZ(0)}.uni-video-bar.uni-video-bar-full{left:0}.uni-video-controls{display:flex;flex-grow:1;margin:0 8.5px}.uni-video-control-button{width:13px;height:15px;padding:14.5px 12.5px;margin-left:-8.5px;box-sizing:content-box;cursor:pointer}.uni-video-control-button:after{content:"";display:block;width:100%;height:100%;background-size:100%;background-position:50% 50%;background-repeat:no-repeat}.uni-video-control-button.uni-video-control-button-play:after,.uni-video-cover-play-button{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAeCAYAAAAy2w7YAAAAAXNSR0IArs4c6QAAAWhJREFUSA1j+P///0cgBoHjQGzCQCsAtgJB/AMy5wCxGNXtQ9iBwvoA5BUCMQvVLEQxHpNzDSjkRhXLMM3GKrIeKKpEkYVYjcUu+AMo3ALE3GRZiN1MvKKPgbIRJFuG10j8koeA0gZEW4jfLIKyf4EqpgOxMEELCRpFnIJ3QGU5QMyM00LizCFa1SWgSkeslhFtBGkKVwGVy6FYSJp+klR/A6quB2JOkIWMIK0oNlOf8xBoZDE9LAI7nYn6HsBq4l96WHQEaLUpAyiOaASeAM2NgvuPBpaACt82IEYtfKls0UagecpwXyAzqGTRdaA57sjmYrAptAjUsCkGYlYMg9EFyLQI1IiZB8Ti6Obh5JNh0QmgHlOcBuKSIMGi50C18UDMiMssvOJEWPQLqKYbiHnxGkRIkoBF24DyaoTMIEoeh0W3geI+RBlArCI0iz4D+RVAzEasfqLVAQ19AcSg5LoYiKWI1kiiQgCMBLnEEcfDSgAAAABJRU5ErkJggg==)}.uni-video-control-button.uni-video-control-button-pause:after{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAAgCAYAAAAffCjxAAAAAXNSR0IArs4c6QAAAFlJREFUSA3tksEKACAIQ7X//5zq98wOgQayum8QaGweHhMzG/6OujzKAymn+0LMqivu1XznWmX8/echTIyMyAgTwA72iIwwAexgj8gIE8CO3aMRbDPMaEy5BRGaKcZv8YxRAAAAAElFTkSuQmCC)}.uni-video-current-time,.uni-video-duration{height:14.5px;line-height:14.5px;margin-top:15px;margin-bottom:14.5px;font-size:12px;color:#cbcbcb}.uni-video-progress-container{flex-grow:2;position:relative}.uni-video-progress{height:2px;margin:21px 12px;background-color:rgba(255,255,255,.4);position:relative;cursor:pointer}.uni-video-progress-buffered{position:absolute;left:0;top:0;width:0;height:100%;transition:width .1s;background-color:rgba(255,255,255,.8)}.uni-video-ball{width:16px;height:16px;padding:14px;position:absolute;top:-21px;box-sizing:content-box;left:0%;margin-left:-22px}.uni-video-inner{width:100%;height:100%;background-color:#fff;border-radius:50%}.uni-video-danmu-button{white-space:nowrap;line-height:1;padding:2px 10px;border:1px solid #fff;border-radius:5px;font-size:13px;color:#fff;margin:0 8.5px;cursor:pointer}.uni-video-danmu-button.uni-video-danmu-button-active{border-color:#48c23d;color:#48c23d}.uni-video-fullscreen{width:17px;height:17px;padding:8.5px;box-sizing:content-box;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACIAAAAiCAYAAAA6RwvCAAAAAXNSR0IArs4c6QAAAQRJREFUWAnt1d0NwiAQB/CmS7hHX5zFxLF0Ah2hE/lg7BT4PyMJUj6Oyt299BIioZT7ARYG59wLpTXmoXOMGO/QecxtwyWW4o42AupGALkFdX1MkHxE3Q7jIbQPqNthQogpJoZkMLRlsn/gFMQEk4OoY0oQVUwNoobhQFQwgMxUKFkt0C8+Zy61d8SeR5iHWCLOwF/MCb8Tp//ex3QFsE1HlCfKFUX2OijNFMnPKD7k76YcBoL402Zh8B77+MjlXrVvwfglXA32b0MrRgxCE2nBiEJaMOIQLkYFwsGoQWoYVUgJow4pYD4Weq4ayBqfwDYQmnUK0301kITujuawu65/l2B5A4z3Qe+Ut7EBAAAAAElFTkSuQmCC);background-size:50%;background-position:50% 50%;background-repeat:no-repeat;cursor:pointer}.uni-video-fullscreen.uni-video-type-fullscreen{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACIAAAAiCAYAAAA6RwvCAAABBElEQVRYhcXWwQ3CMAwF0O+qOzAKQzAAl0pMxQQwQhmGKwcERxbgc4lEVdHUbm3zJR8qJemTo6YByS3JO8kjyQbGkHQpkOz4zcmK8YQ0BWDCkOxL+UDKombMYKwfZAkmDGLFhEIsmHCIFpMC0WDSIHOYVEgNkw6pYPIhE5j/QCoYF0g7eEkPYGej+cX82x/l6aIAIOb9CcrajrjFE/IAQGP1IgIRcYVsVs32+vx+nC9nWq6dAZDhOaPHBEDGh54O4w0pa9oxEZBFmCjIBGb6Qh4JMWGiIWpMBkSFyYLMYjIhNUw7N9GQi2aQiLxJHspjV+rl1hFrRp25uV2MRGQRBsAewPUD/HhJVOOuCzwAAAAASUVORK5CYII=)}.uni-video-danmu{position:absolute;top:0;left:0;bottom:0;width:100%;margin-top:14px;margin-bottom:44px;font-size:14px;line-height:14px;overflow:visible}.uni-video-danmu-item{line-height:1;position:absolute;color:#fff;white-space:nowrap;left:100%;transform:translate(0);transition-property:left,transform;transition-duration:3s;transition-timing-function:linear}.uni-video-toast{pointer-events:none;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);border-radius:5px;background-color:rgba(255,255,255,.8);color:#000;display:none}.uni-video-toast.uni-video-toast-volume{width:100px;height:100px;display:block}.uni-video-toast-volume .uni-video-toast-title{width:100%;font-size:12px;line-height:16px;text-align:center;margin-top:10px;display:block}.uni-video-toast-volume .uni-video-toast-icon{fill:#000;width:50%;height:50%;margin-left:25%;display:block}.uni-video-toast-volume .uni-video-toast-value{width:80px;height:5px;margin-top:5px;margin-left:10px}.uni-video-toast-volume .uni-video-toast-value>.uni-video-toast-value-content{overflow:hidden}.uni-video-toast-volume-grids{width:80px;height:5px}.uni-video-toast-volume-grids-item{float:left;width:7.1px;height:5px;background-color:#000}.uni-video-toast-volume-grids-item:not(:first-child){margin-left:1px}.uni-video-toast.uni-video-toast-progress{display:block;background-color:rgba(0,0,0,.8);color:#fff;font-size:14px;line-height:18px;padding:6px}uni-web-view{display:flex}uni-web-view.uni-webview--fullscreen{position:absolute;left:0;right:0;top:0;bottom:0}uni-web-view.uni-webview{flex:1}uni-web-view.uni-webview>iframe{width:100%;height:100%;border:none} diff --git a/miniprogram/dist/build/h5/assets/user-agreement-page-0adf17fe.css b/miniprogram/dist/build/h5/assets/user-agreement-page-0adf17fe.css deleted file mode 100644 index 2e1e09f..0000000 --- a/miniprogram/dist/build/h5/assets/user-agreement-page-0adf17fe.css +++ /dev/null @@ -1 +0,0 @@ -.page[data-v-fd3ffbc1]{height:100vh;background-color:#f3f4f8;display:flex;flex-direction:column;overflow:hidden}.navbar[data-v-fd3ffbc1]{width:100%;padding-top:3.125rem;padding-bottom:.625rem;display:flex;flex-direction:row;align-items:center;justify-content:center;position:relative;background-color:#fff;flex-shrink:0}.navbar .nav-back[data-v-fd3ffbc1]{position:absolute;left:1rem;width:2.5rem;height:1.5625rem;display:flex;align-items:center;justify-content:center}.navbar .nav-back .back-icon[data-v-fd3ffbc1]{width:1.5rem;height:1.5rem}.navbar .nav-title[data-v-fd3ffbc1]{font-size:1.0625rem;font-weight:500;color:#333}.content-container[data-v-fd3ffbc1]{flex:1;overflow-y:auto;-webkit-overflow-scrolling:touch}.content-box[data-v-fd3ffbc1]{padding:.9375rem;background-color:#fff;margin:.625rem;border-radius:.5rem;min-height:6.25rem}.content-text[data-v-fd3ffbc1]{font-size:.875rem;color:#333;line-height:1.8;white-space:pre-wrap;word-break:break-all}.loading-text[data-v-fd3ffbc1],.empty-text[data-v-fd3ffbc1]{font-size:.875rem;color:#999;text-align:center;display:block;padding:1.875rem 0} diff --git a/miniprogram/dist/build/h5/assets/vip-lounge-page-015c538c.css b/miniprogram/dist/build/h5/assets/vip-lounge-page-015c538c.css deleted file mode 100644 index abd9345..0000000 --- a/miniprogram/dist/build/h5/assets/vip-lounge-page-015c538c.css +++ /dev/null @@ -1 +0,0 @@ -.page[data-v-1868c1b3]{min-height:100vh;background-color:#f3f3f3}.header[data-v-1868c1b3]{display:flex;flex-direction:row;align-items:center;justify-content:space-between;width:100%;padding-top:2.75rem;padding-bottom:.625rem;background-color:#f3f3f3;position:fixed;top:0;left:0;z-index:100}.scroll-content[data-v-1868c1b3]{padding-top:4.375rem;background-color:#f3f3f3;min-height:100vh}.content[data-v-1868c1b3]{display:flex;flex-direction:column;align-items:center;background-color:#f3f3f3;min-height:100%}.date-item[data-v-1868c1b3]{display:flex;flex-direction:row;align-items:center;justify-content:space-between;width:100%;height:2.5rem;padding:0 .3125rem;box-sizing:border-box}.date-text[data-v-1868c1b3]{font-size:.875rem;color:#333}.date-placeholder[data-v-1868c1b3]{color:#c0c4cc}@keyframes flash-1868c1b3{0%{background-color:#f3f3f3}50%{background-color:#f66}to{background-color:#f3f3f3}}.flash-animation[data-v-1868c1b3]{animation:flash-1868c1b3 .5s ease-in-out 3}.person-row[data-v-1868c1b3]{display:flex;flex-direction:row;align-items:center;justify-content:space-between;width:100%;padding:.625rem .3125rem}.person-info[data-v-1868c1b3]{display:flex;flex-direction:column}.person-title[data-v-1868c1b3]{font-size:.875rem;color:#333;font-weight:500}.person-desc[data-v-1868c1b3]{font-size:.75rem;color:#999;margin-top:.1875rem}.person-counter[data-v-1868c1b3]{display:flex;flex-direction:row;align-items:center}.counter-btn[data-v-1868c1b3]{width:1.5625rem;height:1.5625rem;display:flex;align-items:center;justify-content:center;background-color:#bfbfbf;border-radius:.25rem}.counter-icon[data-v-1868c1b3]{font-size:.875rem;font-weight:700;line-height:1.5625rem;text-align:center;color:#fff}.counter-value[data-v-1868c1b3]{font-size:.875rem;color:#333;min-width:2.5rem;text-align:center} diff --git a/miniprogram/dist/build/h5/assets/visa-consultation-page-9b4fd51e.css b/miniprogram/dist/build/h5/assets/visa-consultation-page-9b4fd51e.css deleted file mode 100644 index 1ca5a17..0000000 --- a/miniprogram/dist/build/h5/assets/visa-consultation-page-9b4fd51e.css +++ /dev/null @@ -1 +0,0 @@ -.page[data-v-749747de]{min-height:100vh;background-color:#f3f3f3}.header[data-v-749747de]{display:flex;flex-direction:row;align-items:center;justify-content:space-between;width:100%;padding-top:2.75rem;padding-bottom:.625rem;background-color:#f3f3f3;position:fixed;top:0;left:0;z-index:100}.scroll-content[data-v-749747de]{padding-top:4.375rem;background-color:#f3f3f3;min-height:100vh}.content[data-v-749747de]{display:flex;flex-direction:column;align-items:center;background-color:#f3f3f3;min-height:100%}@keyframes flash-749747de{0%{background-color:#f3f3f3}50%{background-color:#f66}to{background-color:#f3f3f3}}.flash-animation[data-v-749747de]{animation:flash-749747de .5s ease-in-out 3} diff --git a/miniprogram/dist/build/h5/index.html b/miniprogram/dist/build/h5/index.html deleted file mode 100644 index 7b84b1a..0000000 --- a/miniprogram/dist/build/h5/index.html +++ /dev/null @@ -1,24 +0,0 @@ - - - - - - - - appointment_system - - - - - - -
    - - - diff --git a/miniprogram/dist/build/h5/static/Frame 19@2x.png b/miniprogram/dist/build/h5/static/Frame 19@2x.png deleted file mode 100644 index e4025a7..0000000 Binary files a/miniprogram/dist/build/h5/static/Frame 19@2x.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/static/Frame 2@2x (1).png b/miniprogram/dist/build/h5/static/Frame 2@2x (1).png deleted file mode 100644 index 0b12110..0000000 Binary files a/miniprogram/dist/build/h5/static/Frame 2@2x (1).png and /dev/null differ diff --git a/miniprogram/dist/build/h5/static/Frame 3@2x (1).png b/miniprogram/dist/build/h5/static/Frame 3@2x (1).png deleted file mode 100644 index 6a45dbe..0000000 Binary files a/miniprogram/dist/build/h5/static/Frame 3@2x (1).png and /dev/null differ diff --git a/miniprogram/dist/build/h5/static/Frame 4@2x (1).png b/miniprogram/dist/build/h5/static/Frame 4@2x (1).png deleted file mode 100644 index 9de357d..0000000 Binary files a/miniprogram/dist/build/h5/static/Frame 4@2x (1).png and /dev/null differ diff --git a/miniprogram/dist/build/h5/static/about_me.png b/miniprogram/dist/build/h5/static/about_me.png deleted file mode 100644 index 10c97a0..0000000 Binary files a/miniprogram/dist/build/h5/static/about_me.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/static/approved.png b/miniprogram/dist/build/h5/static/approved.png deleted file mode 100644 index ef4f568..0000000 Binary files a/miniprogram/dist/build/h5/static/approved.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/static/arrow_down.png b/miniprogram/dist/build/h5/static/arrow_down.png deleted file mode 100644 index 78c962a..0000000 Binary files a/miniprogram/dist/build/h5/static/arrow_down.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/static/arrow_right.png b/miniprogram/dist/build/h5/static/arrow_right.png deleted file mode 100644 index bc8708e..0000000 Binary files a/miniprogram/dist/build/h5/static/arrow_right.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/static/arrow_right2.png b/miniprogram/dist/build/h5/static/arrow_right2.png deleted file mode 100644 index 463c877..0000000 Binary files a/miniprogram/dist/build/h5/static/arrow_right2.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/static/arrow_right3.png b/miniprogram/dist/build/h5/static/arrow_right3.png deleted file mode 100644 index 7c3e031..0000000 Binary files a/miniprogram/dist/build/h5/static/arrow_right3.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/static/contact_us.png b/miniprogram/dist/build/h5/static/contact_us.png deleted file mode 100644 index ff0be74..0000000 Binary files a/miniprogram/dist/build/h5/static/contact_us.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/static/customer_service.png b/miniprogram/dist/build/h5/static/customer_service.png deleted file mode 100644 index 39b1078..0000000 Binary files a/miniprogram/dist/build/h5/static/customer_service.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/static/hot_server.png b/miniprogram/dist/build/h5/static/hot_server.png deleted file mode 100644 index 6095a62..0000000 Binary files a/miniprogram/dist/build/h5/static/hot_server.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/static/ic_about.png b/miniprogram/dist/build/h5/static/ic_about.png deleted file mode 100644 index f5620d0..0000000 Binary files a/miniprogram/dist/build/h5/static/ic_about.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/static/ic_agreement.png b/miniprogram/dist/build/h5/static/ic_agreement.png deleted file mode 100644 index 178ca5a..0000000 Binary files a/miniprogram/dist/build/h5/static/ic_agreement.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/static/ic_agreement2.png b/miniprogram/dist/build/h5/static/ic_agreement2.png deleted file mode 100644 index cc976d1..0000000 Binary files a/miniprogram/dist/build/h5/static/ic_agreement2.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/static/ic_back.png b/miniprogram/dist/build/h5/static/ic_back.png deleted file mode 100644 index 7cc4a60..0000000 Binary files a/miniprogram/dist/build/h5/static/ic_back.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/static/ic_check.png b/miniprogram/dist/build/h5/static/ic_check.png deleted file mode 100644 index 05751e4..0000000 Binary files a/miniprogram/dist/build/h5/static/ic_check.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/static/ic_checked.png b/miniprogram/dist/build/h5/static/ic_checked.png deleted file mode 100644 index ba64420..0000000 Binary files a/miniprogram/dist/build/h5/static/ic_checked.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/static/ic_colse.png b/miniprogram/dist/build/h5/static/ic_colse.png deleted file mode 100644 index 0d43e83..0000000 Binary files a/miniprogram/dist/build/h5/static/ic_colse.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/static/ic_exit.png b/miniprogram/dist/build/h5/static/ic_exit.png deleted file mode 100644 index b94404b..0000000 Binary files a/miniprogram/dist/build/h5/static/ic_exit.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/static/ic_general.png b/miniprogram/dist/build/h5/static/ic_general.png deleted file mode 100644 index 57718d2..0000000 Binary files a/miniprogram/dist/build/h5/static/ic_general.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/static/ic_inter.png b/miniprogram/dist/build/h5/static/ic_inter.png deleted file mode 100644 index b4a4aac..0000000 Binary files a/miniprogram/dist/build/h5/static/ic_inter.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/static/ic_notice.png b/miniprogram/dist/build/h5/static/ic_notice.png deleted file mode 100644 index 608ec96..0000000 Binary files a/miniprogram/dist/build/h5/static/ic_notice.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/static/ic_other.png b/miniprogram/dist/build/h5/static/ic_other.png deleted file mode 100644 index b9c268a..0000000 Binary files a/miniprogram/dist/build/h5/static/ic_other.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/static/ic_wallet.png b/miniprogram/dist/build/h5/static/ic_wallet.png deleted file mode 100644 index 2f7b772..0000000 Binary files a/miniprogram/dist/build/h5/static/ic_wallet.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/static/invite_new.png b/miniprogram/dist/build/h5/static/invite_new.png deleted file mode 100644 index 8ef894c..0000000 Binary files a/miniprogram/dist/build/h5/static/invite_new.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/static/me_name.png b/miniprogram/dist/build/h5/static/me_name.png deleted file mode 100644 index 8c1d44c..0000000 Binary files a/miniprogram/dist/build/h5/static/me_name.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/static/me_phone.png b/miniprogram/dist/build/h5/static/me_phone.png deleted file mode 100644 index 3edfb8e..0000000 Binary files a/miniprogram/dist/build/h5/static/me_phone.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/static/me_tiem.png b/miniprogram/dist/build/h5/static/me_tiem.png deleted file mode 100644 index 9d3be19..0000000 Binary files a/miniprogram/dist/build/h5/static/me_tiem.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/static/new_bg1.png b/miniprogram/dist/build/h5/static/new_bg1.png deleted file mode 100644 index 41258b0..0000000 Binary files a/miniprogram/dist/build/h5/static/new_bg1.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/static/new_bg2.png b/miniprogram/dist/build/h5/static/new_bg2.png deleted file mode 100644 index caf2f0f..0000000 Binary files a/miniprogram/dist/build/h5/static/new_bg2.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/static/new_user.png b/miniprogram/dist/build/h5/static/new_user.png deleted file mode 100644 index 57fab01..0000000 Binary files a/miniprogram/dist/build/h5/static/new_user.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/static/red_box.png b/miniprogram/dist/build/h5/static/red_box.png deleted file mode 100644 index f4d9789..0000000 Binary files a/miniprogram/dist/build/h5/static/red_box.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/static/tabbar/appointment.png b/miniprogram/dist/build/h5/static/tabbar/appointment.png deleted file mode 100644 index 81dc021..0000000 Binary files a/miniprogram/dist/build/h5/static/tabbar/appointment.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/static/tabbar/appointment_s.png b/miniprogram/dist/build/h5/static/tabbar/appointment_s.png deleted file mode 100644 index dcd3b94..0000000 Binary files a/miniprogram/dist/build/h5/static/tabbar/appointment_s.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/static/tabbar/home.png b/miniprogram/dist/build/h5/static/tabbar/home.png deleted file mode 100644 index e679414..0000000 Binary files a/miniprogram/dist/build/h5/static/tabbar/home.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/static/tabbar/home_s.png b/miniprogram/dist/build/h5/static/tabbar/home_s.png deleted file mode 100644 index dfd8f4f..0000000 Binary files a/miniprogram/dist/build/h5/static/tabbar/home_s.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/static/tabbar/me.png b/miniprogram/dist/build/h5/static/tabbar/me.png deleted file mode 100644 index fb95935..0000000 Binary files a/miniprogram/dist/build/h5/static/tabbar/me.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/static/tabbar/me_s.png b/miniprogram/dist/build/h5/static/tabbar/me_s.png deleted file mode 100644 index 58798ce..0000000 Binary files a/miniprogram/dist/build/h5/static/tabbar/me_s.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ad.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ad.png deleted file mode 100644 index fdc41f6..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ad.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ae.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ae.png deleted file mode 100644 index 95f7c07..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ae.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/af.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/af.png deleted file mode 100644 index 9b068a9..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/af.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ag.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ag.png deleted file mode 100644 index 4b4522a..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ag.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ai.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ai.png deleted file mode 100644 index 9bf45e1..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ai.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/al.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/al.png deleted file mode 100644 index d5e8397..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/al.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/am.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/am.png deleted file mode 100644 index 9dd35f0..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/am.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ao.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ao.png deleted file mode 100644 index 8d15715..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ao.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/aq.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/aq.png deleted file mode 100644 index b1f6ab9..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/aq.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ar.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ar.png deleted file mode 100644 index 846a2bc..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ar.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/as.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/as.png deleted file mode 100644 index 60730af..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/as.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/at.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/at.png deleted file mode 100644 index 05dbd1d..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/at.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/au.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/au.png deleted file mode 100644 index d524c94..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/au.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/aw.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/aw.png deleted file mode 100644 index 3f547cd..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/aw.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ax.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ax.png deleted file mode 100644 index 47ef641..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ax.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/az.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/az.png deleted file mode 100644 index 5bc4a0f..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/az.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ba.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ba.png deleted file mode 100644 index 09cec0d..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ba.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/bb.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/bb.png deleted file mode 100644 index ed7731e..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/bb.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/bd.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/bd.png deleted file mode 100644 index c24170c..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/bd.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/be.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/be.png deleted file mode 100644 index 202c489..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/be.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/bf.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/bf.png deleted file mode 100644 index 9a3d8d1..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/bf.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/bg.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/bg.png deleted file mode 100644 index ab3eb4f..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/bg.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/bh.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/bh.png deleted file mode 100644 index aa7b10b..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/bh.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/bi.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/bi.png deleted file mode 100644 index f4de108..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/bi.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/bj.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/bj.png deleted file mode 100644 index 83c9474..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/bj.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/bl.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/bl.png deleted file mode 100644 index 9bc48ab..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/bl.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/bm.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/bm.png deleted file mode 100644 index 6ab2479..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/bm.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/bn.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/bn.png deleted file mode 100644 index 1006d68..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/bn.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/bo.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/bo.png deleted file mode 100644 index 83db6b8..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/bo.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/bq.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/bq.png deleted file mode 100644 index f545dc8..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/bq.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/br.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/br.png deleted file mode 100644 index 8b18eb2..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/br.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/bs.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/bs.png deleted file mode 100644 index 063b3a6..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/bs.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/bt.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/bt.png deleted file mode 100644 index 013a6a3..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/bt.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/bv.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/bv.png deleted file mode 100644 index b7a42f4..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/bv.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/bw.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/bw.png deleted file mode 100644 index 389f367..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/bw.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/by.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/by.png deleted file mode 100644 index 7ad7392..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/by.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/bz.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/bz.png deleted file mode 100644 index 1f1b57b..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/bz.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ca.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ca.png deleted file mode 100644 index 3757402..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ca.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/cc.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/cc.png deleted file mode 100644 index 9191430..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/cc.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/cd.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/cd.png deleted file mode 100644 index 7e85a3d..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/cd.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/cf.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/cf.png deleted file mode 100644 index 6be2d37..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/cf.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/cg.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/cg.png deleted file mode 100644 index 79d62cf..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/cg.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ch.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ch.png deleted file mode 100644 index df9a5cc..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ch.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ci.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ci.png deleted file mode 100644 index 97a79e2..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ci.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ck.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ck.png deleted file mode 100644 index 3c42e56..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ck.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/cl.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/cl.png deleted file mode 100644 index 2bd971d..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/cl.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/cm.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/cm.png deleted file mode 100644 index fa35a32..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/cm.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/cn.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/cn.png deleted file mode 100644 index 5e09030..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/cn.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/co.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/co.png deleted file mode 100644 index 6fcfd96..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/co.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/cr.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/cr.png deleted file mode 100644 index c49ff7b..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/cr.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/cu.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/cu.png deleted file mode 100644 index 000b773..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/cu.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/cv.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/cv.png deleted file mode 100644 index 1684576..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/cv.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/cw.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/cw.png deleted file mode 100644 index aa7b8c8..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/cw.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/cx.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/cx.png deleted file mode 100644 index 826b230..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/cx.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/cy.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/cy.png deleted file mode 100644 index 0d77400..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/cy.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/cz.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/cz.png deleted file mode 100644 index 8c679f2..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/cz.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/de.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/de.png deleted file mode 100644 index f078fdf..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/de.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/dj.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/dj.png deleted file mode 100644 index 64ab04e..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/dj.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/dk.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/dk.png deleted file mode 100644 index 5f907ce..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/dk.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/dm.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/dm.png deleted file mode 100644 index c41bcb7..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/dm.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/do.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/do.png deleted file mode 100644 index bf840bd..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/do.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/dz.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/dz.png deleted file mode 100644 index 0de1256..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/dz.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ec.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ec.png deleted file mode 100644 index 96d84f7..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ec.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ee.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ee.png deleted file mode 100644 index 73933e3..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ee.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/eg.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/eg.png deleted file mode 100644 index a5320a6..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/eg.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/eh.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/eh.png deleted file mode 100644 index 24bdb35..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/eh.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/er.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/er.png deleted file mode 100644 index bd47590..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/er.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/es.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/es.png deleted file mode 100644 index 23e7141..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/es.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/et.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/et.png deleted file mode 100644 index 258e32d..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/et.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/eu.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/eu.png deleted file mode 100644 index 0018b6c..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/eu.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/fi.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/fi.png deleted file mode 100644 index 7c1f908..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/fi.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/fj.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/fj.png deleted file mode 100644 index 5ef73c6..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/fj.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/fk.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/fk.png deleted file mode 100644 index 6011eb8..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/fk.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/fm.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/fm.png deleted file mode 100644 index 8f5b150..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/fm.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/fo.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/fo.png deleted file mode 100644 index 6a1e048..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/fo.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/fr.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/fr.png deleted file mode 100644 index 9bc48ab..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/fr.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ga.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ga.png deleted file mode 100644 index dcade00..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ga.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/gb-eng.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/gb-eng.png deleted file mode 100644 index b534e62..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/gb-eng.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/gb-nir.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/gb-nir.png deleted file mode 100644 index cc7cb3d..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/gb-nir.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/gb-sct.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/gb-sct.png deleted file mode 100644 index 746b3c9..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/gb-sct.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/gb-wls.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/gb-wls.png deleted file mode 100644 index 9571ac5..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/gb-wls.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/gb.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/gb.png deleted file mode 100644 index cc7cb3d..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/gb.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/gd.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/gd.png deleted file mode 100644 index 2c070dd..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/gd.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ge.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ge.png deleted file mode 100644 index 1cc5204..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ge.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/gf.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/gf.png deleted file mode 100644 index 9bc48ab..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/gf.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/gg.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/gg.png deleted file mode 100644 index e734304..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/gg.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/gh.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/gh.png deleted file mode 100644 index a8ef8c4..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/gh.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/gi.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/gi.png deleted file mode 100644 index ca2b8da..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/gi.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/gl.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/gl.png deleted file mode 100644 index 3a8ce02..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/gl.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/gm.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/gm.png deleted file mode 100644 index 2a70b15..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/gm.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/gn.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/gn.png deleted file mode 100644 index 609fd66..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/gn.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/gp.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/gp.png deleted file mode 100644 index 9bc48ab..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/gp.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/gq.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/gq.png deleted file mode 100644 index 60a82d9..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/gq.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/gr.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/gr.png deleted file mode 100644 index ac2f75c..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/gr.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/gs.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/gs.png deleted file mode 100644 index eb65121..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/gs.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/gt.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/gt.png deleted file mode 100644 index 4971a58..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/gt.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/gu.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/gu.png deleted file mode 100644 index 8c00cc3..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/gu.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/gw.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/gw.png deleted file mode 100644 index 1472f23..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/gw.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/gy.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/gy.png deleted file mode 100644 index 36279ec..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/gy.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/hk.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/hk.png deleted file mode 100644 index 36f6043..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/hk.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/hm.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/hm.png deleted file mode 100644 index d524c94..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/hm.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/hn.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/hn.png deleted file mode 100644 index 887394f..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/hn.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/hr.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/hr.png deleted file mode 100644 index 66647d5..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/hr.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ht.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ht.png deleted file mode 100644 index d4c8a69..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ht.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/hu.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/hu.png deleted file mode 100644 index 315eede..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/hu.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/id.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/id.png deleted file mode 100644 index 3e4d02c..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/id.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ie.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ie.png deleted file mode 100644 index 67f2822..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ie.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/il.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/il.png deleted file mode 100644 index 32aba13..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/il.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/im.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/im.png deleted file mode 100644 index f02398e..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/im.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/in.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/in.png deleted file mode 100644 index f30d401..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/in.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/io.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/io.png deleted file mode 100644 index 469a8f3..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/io.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/iq.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/iq.png deleted file mode 100644 index ba6ac0e..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/iq.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ir.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ir.png deleted file mode 100644 index e218c83..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ir.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/is.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/is.png deleted file mode 100644 index 5cbb8b8..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/is.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/it.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/it.png deleted file mode 100644 index e9c1a9a..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/it.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/je.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/je.png deleted file mode 100644 index 0e26cb9..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/je.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/jm.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/jm.png deleted file mode 100644 index 105c539..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/jm.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/jo.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/jo.png deleted file mode 100644 index d5b39da..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/jo.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/jp.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/jp.png deleted file mode 100644 index 253e485..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/jp.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ke.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ke.png deleted file mode 100644 index 3017b3b..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ke.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/kg.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/kg.png deleted file mode 100644 index 756a8c7..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/kg.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/kh.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/kh.png deleted file mode 100644 index 74106c5..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/kh.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ki.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ki.png deleted file mode 100644 index 571ea1a..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ki.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/km.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/km.png deleted file mode 100644 index 22d9760..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/km.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/kn.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/kn.png deleted file mode 100644 index be0a586..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/kn.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/kp.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/kp.png deleted file mode 100644 index 1d9ca5e..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/kp.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/kr.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/kr.png deleted file mode 100644 index a2a27dc..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/kr.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/kw.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/kw.png deleted file mode 100644 index a939061..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/kw.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ky.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ky.png deleted file mode 100644 index 9342240..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ky.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/kz.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/kz.png deleted file mode 100644 index b3bb7f0..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/kz.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/la.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/la.png deleted file mode 100644 index 006e38f..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/la.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/lb.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/lb.png deleted file mode 100644 index a2d62a8..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/lb.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/lc.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/lc.png deleted file mode 100644 index 40948b6..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/lc.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/li.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/li.png deleted file mode 100644 index 8d73ed8..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/li.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/lk.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/lk.png deleted file mode 100644 index d7ccd47..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/lk.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/lr.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/lr.png deleted file mode 100644 index b20d7f0..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/lr.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ls.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ls.png deleted file mode 100644 index 75d9ce3..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ls.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/lt.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/lt.png deleted file mode 100644 index ccedae7..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/lt.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/lu.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/lu.png deleted file mode 100644 index 07c0f75..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/lu.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/lv.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/lv.png deleted file mode 100644 index 2e3cf81..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/lv.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ly.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ly.png deleted file mode 100644 index d898e49..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ly.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ma.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ma.png deleted file mode 100644 index 6d44983..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ma.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/mc.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/mc.png deleted file mode 100644 index f40ca3e..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/mc.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/md.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/md.png deleted file mode 100644 index b571178..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/md.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/me.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/me.png deleted file mode 100644 index 1d56855..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/me.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/mf.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/mf.png deleted file mode 100644 index 9bc48ab..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/mf.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/mg.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/mg.png deleted file mode 100644 index 21ccba3..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/mg.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/mh.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/mh.png deleted file mode 100644 index bb78d47..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/mh.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/mk.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/mk.png deleted file mode 100644 index d8c3b4c..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/mk.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ml.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ml.png deleted file mode 100644 index f0e9990..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ml.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/mm.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/mm.png deleted file mode 100644 index 09363b3..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/mm.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/mn.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/mn.png deleted file mode 100644 index 7f8ab85..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/mn.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/mo.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/mo.png deleted file mode 100644 index 4a731ce..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/mo.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/mp.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/mp.png deleted file mode 100644 index 8542468..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/mp.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/mq.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/mq.png deleted file mode 100644 index 9bc48ab..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/mq.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/mr.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/mr.png deleted file mode 100644 index 66a6a14..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/mr.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ms.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ms.png deleted file mode 100644 index 3cd7c7e..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ms.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/mt.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/mt.png deleted file mode 100644 index 3c29e3a..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/mt.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/mu.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/mu.png deleted file mode 100644 index b416546..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/mu.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/mv.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/mv.png deleted file mode 100644 index a011b78..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/mv.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/mw.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/mw.png deleted file mode 100644 index 5821977..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/mw.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/mx.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/mx.png deleted file mode 100644 index 94f4813..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/mx.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/my.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/my.png deleted file mode 100644 index fca5994..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/my.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/mz.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/mz.png deleted file mode 100644 index 81c587d..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/mz.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/na.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/na.png deleted file mode 100644 index 1a4f709..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/na.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/nc.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/nc.png deleted file mode 100644 index 9bc48ab..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/nc.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ne.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ne.png deleted file mode 100644 index fa8859a..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ne.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/nf.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/nf.png deleted file mode 100644 index 3c94505..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/nf.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ng.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ng.png deleted file mode 100644 index fd111eb..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ng.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ni.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ni.png deleted file mode 100644 index fa96478..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ni.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/nl.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/nl.png deleted file mode 100644 index f545dc8..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/nl.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/no.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/no.png deleted file mode 100644 index b7a42f4..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/no.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/np.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/np.png deleted file mode 100644 index 7f2ffbe..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/np.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/nr.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/nr.png deleted file mode 100644 index abaae23..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/nr.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/nu.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/nu.png deleted file mode 100644 index ee6da25..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/nu.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/nz.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/nz.png deleted file mode 100644 index 93501eb..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/nz.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/om.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/om.png deleted file mode 100644 index fcfd302..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/om.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/pa.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/pa.png deleted file mode 100644 index 175310c..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/pa.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/pe.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/pe.png deleted file mode 100644 index 2bed96a..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/pe.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/pf.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/pf.png deleted file mode 100644 index fed09f9..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/pf.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/pg.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/pg.png deleted file mode 100644 index c18cc5c..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/pg.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ph.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ph.png deleted file mode 100644 index 6f73a4f..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ph.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/pk.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/pk.png deleted file mode 100644 index b2355db..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/pk.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/pl.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/pl.png deleted file mode 100644 index e335edb..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/pl.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/pm.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/pm.png deleted file mode 100644 index 9bc48ab..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/pm.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/pn.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/pn.png deleted file mode 100644 index 15e9ce6..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/pn.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/pr.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/pr.png deleted file mode 100644 index 4a870a1..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/pr.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ps.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ps.png deleted file mode 100644 index cac9ec7..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ps.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/pt.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/pt.png deleted file mode 100644 index 75f8777..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/pt.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/pw.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/pw.png deleted file mode 100644 index 2866217..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/pw.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/py.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/py.png deleted file mode 100644 index 16cc30d..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/py.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/qa.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/qa.png deleted file mode 100644 index be7986d..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/qa.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/re.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/re.png deleted file mode 100644 index 9bc48ab..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/re.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ro.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ro.png deleted file mode 100644 index b8c25ce..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ro.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/rs.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/rs.png deleted file mode 100644 index dc1e1a3..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/rs.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ru.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ru.png deleted file mode 100644 index 6418bf8..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ru.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/rw.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/rw.png deleted file mode 100644 index c01b9a6..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/rw.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/sa.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/sa.png deleted file mode 100644 index e5743f5..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/sa.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/sb.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/sb.png deleted file mode 100644 index ef529e1..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/sb.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/sc.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/sc.png deleted file mode 100644 index a743a48..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/sc.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/sd.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/sd.png deleted file mode 100644 index 117ad21..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/sd.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/se.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/se.png deleted file mode 100644 index b6fcc62..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/se.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/sg.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/sg.png deleted file mode 100644 index 65a0422..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/sg.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/sh.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/sh.png deleted file mode 100644 index cc7cb3d..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/sh.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/si.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/si.png deleted file mode 100644 index e1a4c01..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/si.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/sj.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/sj.png deleted file mode 100644 index b7a42f4..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/sj.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/sk.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/sk.png deleted file mode 100644 index d5e8f1e..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/sk.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/sl.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/sl.png deleted file mode 100644 index 3762e24..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/sl.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/sm.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/sm.png deleted file mode 100644 index 0734639..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/sm.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/sn.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/sn.png deleted file mode 100644 index 719c1ef..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/sn.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/so.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/so.png deleted file mode 100644 index 6e784b1..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/so.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/sr.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/sr.png deleted file mode 100644 index 336ab87..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/sr.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ss.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ss.png deleted file mode 100644 index dde5ad1..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ss.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/st.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/st.png deleted file mode 100644 index 133edbc..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/st.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/sv.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/sv.png deleted file mode 100644 index 8b8927a..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/sv.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/sx.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/sx.png deleted file mode 100644 index 3e347b0..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/sx.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/sy.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/sy.png deleted file mode 100644 index 367a15a..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/sy.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/sz.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/sz.png deleted file mode 100644 index 5b413eb..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/sz.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/tc.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/tc.png deleted file mode 100644 index f593c2a..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/tc.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/td.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/td.png deleted file mode 100644 index e94b939..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/td.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/tf.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/tf.png deleted file mode 100644 index 5189a18..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/tf.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/tg.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/tg.png deleted file mode 100644 index 028167a..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/tg.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/th.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/th.png deleted file mode 100644 index cd0af74..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/th.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/tj.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/tj.png deleted file mode 100644 index 6cb3339..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/tj.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/tk.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/tk.png deleted file mode 100644 index 7c71400..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/tk.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/tl.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/tl.png deleted file mode 100644 index 91d1e1e..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/tl.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/tm.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/tm.png deleted file mode 100644 index 966e388..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/tm.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/tn.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/tn.png deleted file mode 100644 index 0d6a976..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/tn.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/to.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/to.png deleted file mode 100644 index ab11e51..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/to.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/tr.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/tr.png deleted file mode 100644 index 2b0614c..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/tr.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/tt.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/tt.png deleted file mode 100644 index 9b4575f..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/tt.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/tv.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/tv.png deleted file mode 100644 index 306b9ac..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/tv.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/tw.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/tw.png deleted file mode 100644 index c319e3e..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/tw.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/tz.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/tz.png deleted file mode 100644 index 0c67a2a..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/tz.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ua.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ua.png deleted file mode 100644 index 0462a1f..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ua.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ug.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ug.png deleted file mode 100644 index 4d040f8..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ug.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/um.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/um.png deleted file mode 100644 index ed2d8d0..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/um.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/us.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/us.png deleted file mode 100644 index 4e47eaa..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/us.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/uy.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/uy.png deleted file mode 100644 index 1ed575d..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/uy.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/uz.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/uz.png deleted file mode 100644 index 97b1a53..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/uz.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/va.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/va.png deleted file mode 100644 index dcdc3a7..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/va.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/vc.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/vc.png deleted file mode 100644 index c6acb93..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/vc.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ve.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ve.png deleted file mode 100644 index cc80484..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ve.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/vg.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/vg.png deleted file mode 100644 index 9a93f26..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/vg.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/vi.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/vi.png deleted file mode 100644 index e9127a8..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/vi.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/vn.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/vn.png deleted file mode 100644 index cbf65d4..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/vn.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/vu.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/vu.png deleted file mode 100644 index 5876456..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/vu.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/wf.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/wf.png deleted file mode 100644 index ffd56d4..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/wf.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ws.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ws.png deleted file mode 100644 index 18c5b86..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ws.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/xk.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/xk.png deleted file mode 100644 index bfe33b1..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/xk.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ye.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ye.png deleted file mode 100644 index c094f80..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/ye.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/yt.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/yt.png deleted file mode 100644 index 9bc48ab..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/yt.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/za.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/za.png deleted file mode 100644 index 3e71096..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/za.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/zm.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/zm.png deleted file mode 100644 index b647058..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/zm.png and /dev/null differ diff --git a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/zw.png b/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/zw.png deleted file mode 100644 index d9d5cd4..0000000 Binary files a/miniprogram/dist/build/h5/uni_modules/aure-country-picker/static/flags/zw.png and /dev/null differ diff --git a/miniprogram/dist/dev/mp-weixin/app.js b/miniprogram/dist/dev/mp-weixin/app.js deleted file mode 100644 index 430d85f..0000000 --- a/miniprogram/dist/dev/mp-weixin/app.js +++ /dev/null @@ -1,165 +0,0 @@ -"use strict"; -Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" }); -const common_vendor = require("./common/vendor.js"); -const modules_Config = require("./modules/Config.js"); -const locale_index = require("./locale/index.js"); -require("./locale/zh.js"); -require("./locale/en.js"); -require("./locale/pt.js"); -if (!Math) { - "./pages/index/index.js"; - "./pages/login/login-page.js"; - "./pages/appointment/appointment-page.js"; - "./pages/me/me-page.js"; - "./pages/index/reserve-details-page.js"; - "./pages/appointment/airfare-info-entry-page.js"; - "./pages/me/notification-page.js"; - "./pages/me/contact-us-page.js"; - "./pages/me/invite-reward-page.js"; - "./pages/service-detail/service-detail.js"; - "./pages/me/profile-edit-page.js"; - "./pages/me/my-appointments-page.js"; - "./pages/me/about-us-page.js"; - "./pages/me/user-agreement-page.js"; - "./pages/me/privacy-policy-page.js"; - "./pages/appointment/vip-lounge-page.js"; - "./pages/appointment/airport-transfer-page.js"; - "./pages/appointment/rail-ticket-page.js"; - "./pages/appointment/hotel-reservation-page.js"; - "./pages/appointment/unaccompanied-minor-page.js"; - "./pages/appointment/medical-consultation-page.js"; - "./pages/appointment/special-needs-page.js"; - "./pages/appointment/pet-transportation-page.js"; - "./pages/appointment/guide-translation-page.js"; - "./pages/appointment/visa-consultation-page.js"; - "./pages/appointment/exhibition-service-page.js"; - "./pages/appointment/insurance-consultation-page.js"; - "./pages/appointment/air-logistics-page.js"; - "./pages/appointment/sea-freight-page.js"; - "./pages/appointment/travel-planning-page.js"; -} -const _sfc_main = { - globalData: { - token: "", - user: null, - shouldRefresh: false, - loginTime: 0, - config: null, - // 应用配置(从后端获取) - inviteCode: "" - // 邀请码(从分享链接获取) - }, - onLaunch: function() { - console.log("App Launch"); - this.initGlobalData(); - this.loadAppConfig(); - this.setTabBarText(); - }, - onShow: function() { - console.log("App Show"); - this.setTabBarText(); - }, - onHide: function() { - console.log("App Hide"); - }, - methods: { - /** - * 初始化全局数据 - */ - initGlobalData() { - try { - const token = common_vendor.index.getStorageSync("token"); - if (token) { - this.globalData.token = token; - } - const userStr = common_vendor.index.getStorageSync("user"); - if (userStr) { - try { - this.globalData.user = JSON.parse(userStr); - } catch (e) { - console.error("解析用户信息失败:", e); - } - } - } catch (e) { - console.error("初始化全局数据失败:", e); - } - }, - setTabBarText() { - const pages = getCurrentPages(); - if (pages.length > 0) { - const currentPage = pages[pages.length - 1]; - const tabBarPages = ["pages/index/index", "pages/appointment/appointment-page", "pages/me/me-page"]; - const currentRoute = currentPage.route || ""; - if (!tabBarPages.includes(currentRoute)) { - return; - } - if (currentPage.$vm && currentPage.$vm.$t) { - common_vendor.index.setTabBarItem({ - index: 0, - text: currentPage.$vm.$t("tabbar.home") - }); - common_vendor.index.setTabBarItem({ - index: 1, - text: currentPage.$vm.$t("tabbar.appointment") - }); - common_vendor.index.setTabBarItem({ - index: 2, - text: currentPage.$vm.$t("tabbar.me") - }); - } - } - }, - /** - * 加载应用配置 - */ - async loadAppConfig() { - try { - const config = await modules_Config.Config.getPublicConfig(); - if (config) { - this.globalData.config = config; - console.log("应用配置已加载到globalData:", config); - } - } catch (error) { - console.error("加载应用配置失败:", error); - } - }, - /** - * 获取配置项 - * @param {String} key 配置键名 - * @param {*} defaultValue 默认值 - */ - getConfig(key, defaultValue = "") { - if (this.globalData.config && this.globalData.config[key]) { - return this.globalData.config[key]; - } - return defaultValue; - }, - /** - * 获取配置图片的完整URL - * @param {String} key 配置键名 - */ - getConfigImageUrl(key) { - const value = this.getConfig(key); - if (value) { - return modules_Config.Config.getImageUrl(value); - } - return ""; - } - }, - watch: { - "$i18n.locale"() { - this.setTabBarText(); - } - } -}; -const App = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__file", "F:/gitCode/uniapp/appointment_system/miniprogram/src/App.vue"]]); -function createApp() { - const app = common_vendor.createSSRApp(App); - app.use(common_vendor.uviewPlus); - app.use(locale_index.i18n); - return { - app - }; -} -createApp().app.mount("#app"); -exports.createApp = createApp; diff --git a/miniprogram/dist/dev/mp-weixin/app.json b/miniprogram/dist/dev/mp-weixin/app.json deleted file mode 100644 index dd996f0..0000000 --- a/miniprogram/dist/dev/mp-weixin/app.json +++ /dev/null @@ -1,68 +0,0 @@ -{ - "pages": [ - "pages/index/index", - "pages/login/login-page", - "pages/appointment/appointment-page", - "pages/me/me-page", - "pages/index/reserve-details-page", - "pages/appointment/airfare-info-entry-page", - "pages/me/notification-page", - "pages/me/contact-us-page", - "pages/me/invite-reward-page", - "pages/service-detail/service-detail", - "pages/me/profile-edit-page", - "pages/me/my-appointments-page", - "pages/me/about-us-page", - "pages/me/user-agreement-page", - "pages/me/privacy-policy-page", - "pages/appointment/vip-lounge-page", - "pages/appointment/airport-transfer-page", - "pages/appointment/rail-ticket-page", - "pages/appointment/hotel-reservation-page", - "pages/appointment/unaccompanied-minor-page", - "pages/appointment/medical-consultation-page", - "pages/appointment/special-needs-page", - "pages/appointment/pet-transportation-page", - "pages/appointment/guide-translation-page", - "pages/appointment/visa-consultation-page", - "pages/appointment/exhibition-service-page", - "pages/appointment/insurance-consultation-page", - "pages/appointment/air-logistics-page", - "pages/appointment/sea-freight-page", - "pages/appointment/travel-planning-page" - ], - "window": { - "navigationBarTextStyle": "black", - "navigationBarTitleText": "uni-app", - "navigationBarBackgroundColor": "#F8F8F8", - "backgroundColor": "#F8F8F8" - }, - "tabBar": { - "color": "#000000", - "selectedColor": "#57C9DD", - "borderStyle": "black", - "list": [ - { - "pagePath": "pages/index/index", - "iconPath": "/static/tabbar/home.png", - "selectedIconPath": "/static/tabbar/home_s.png" - }, - { - "pagePath": "pages/appointment/appointment-page", - "iconPath": "/static/tabbar/appointment.png", - "selectedIconPath": "/static/tabbar/appointment_s.png" - }, - { - "pagePath": "pages/me/me-page", - "iconPath": "/static/tabbar/me.png", - "selectedIconPath": "/static/tabbar/me_s.png" - } - ] - }, - "permission": { - "scope.userLocation": { - "desc": "你的位置信息将用于小程序位置接口的效果展示" - } - }, - "usingComponents": {} -} \ No newline at end of file diff --git a/miniprogram/dist/dev/mp-weixin/app.wxss b/miniprogram/dist/dev/mp-weixin/app.wxss deleted file mode 100644 index d20b40a..0000000 --- a/miniprogram/dist/dev/mp-weixin/app.wxss +++ /dev/null @@ -1,27 +0,0 @@ - - /*每个页面公共css */ -.bg { - background-size: cover; - background-repeat: no-repeat; - background-position: center; -} -.column { - display: flex; - flex-direction: column; -} -.row { - display: flex; - flex-direction: row; -} -.center { - display: flex; - align-items: center; - justify-content: center; -} -.single-overflow { - white-space: nowrap; - overflow: hidden; - text-overflow: ellipsis; - display: inline-block; -} -page{--status-bar-height:25px;--top-window-height:0px;--window-top:0px;--window-bottom:0px;--window-left:0px;--window-right:0px;--window-magin:0px}[data-c-h="true"]{display: none !important;} \ No newline at end of file diff --git a/miniprogram/dist/dev/mp-weixin/common/vendor.js b/miniprogram/dist/dev/mp-weixin/common/vendor.js deleted file mode 100644 index 3a35e39..0000000 --- a/miniprogram/dist/dev/mp-weixin/common/vendor.js +++ /dev/null @@ -1,18196 +0,0 @@ -"use strict"; -const _export_sfc = (sfc, props2) => { - const target = sfc.__vccOpts || sfc; - for (const [key, val] of props2) { - target[key] = val; - } - return target; -}; -/** -* @vue/shared v3.4.21 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/ -function makeMap(str, expectsLowerCase) { - const set2 = new Set(str.split(",")); - return expectsLowerCase ? (val) => set2.has(val.toLowerCase()) : (val) => set2.has(val); -} -const EMPTY_OBJ = Object.freeze({}); -const EMPTY_ARR = Object.freeze([]); -const NOOP = () => { -}; -const NO = () => false; -const isOn = (key) => key.charCodeAt(0) === 111 && key.charCodeAt(1) === 110 && // uppercase letter -(key.charCodeAt(2) > 122 || key.charCodeAt(2) < 97); -const isModelListener = (key) => key.startsWith("onUpdate:"); -const extend = Object.assign; -const remove = (arr, el) => { - const i = arr.indexOf(el); - if (i > -1) { - arr.splice(i, 1); - } -}; -const hasOwnProperty$3 = Object.prototype.hasOwnProperty; -const hasOwn$2 = (val, key) => hasOwnProperty$3.call(val, key); -const isArray$2 = Array.isArray; -const isMap = (val) => toTypeString$1(val) === "[object Map]"; -const isSet = (val) => toTypeString$1(val) === "[object Set]"; -const isFunction$1 = (val) => typeof val === "function"; -const isString$1 = (val) => typeof val === "string"; -const isSymbol = (val) => typeof val === "symbol"; -const isObject$3 = (val) => val !== null && typeof val === "object"; -const isPromise = (val) => { - return (isObject$3(val) || isFunction$1(val)) && isFunction$1(val.then) && isFunction$1(val.catch); -}; -const objectToString$1 = Object.prototype.toString; -const toTypeString$1 = (value) => objectToString$1.call(value); -const toRawType = (value) => { - return toTypeString$1(value).slice(8, -1); -}; -const isPlainObject$2 = (val) => toTypeString$1(val) === "[object Object]"; -const isIntegerKey = (key) => isString$1(key) && key !== "NaN" && key[0] !== "-" && "" + parseInt(key, 10) === key; -const isReservedProp = /* @__PURE__ */ makeMap( - // the leading comma is intentional so empty string "" is also included - ",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted" -); -const isBuiltInDirective = /* @__PURE__ */ makeMap( - "bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo" -); -const cacheStringFunction = (fn) => { - const cache2 = /* @__PURE__ */ Object.create(null); - return (str) => { - const hit = cache2[str]; - return hit || (cache2[str] = fn(str)); - }; -}; -const camelizeRE = /-(\w)/g; -const camelize = cacheStringFunction((str) => { - return str.replace(camelizeRE, (_, c) => c ? c.toUpperCase() : ""); -}); -const hyphenateRE = /\B([A-Z])/g; -const hyphenate = cacheStringFunction( - (str) => str.replace(hyphenateRE, "-$1").toLowerCase() -); -const capitalize = cacheStringFunction((str) => { - return str.charAt(0).toUpperCase() + str.slice(1); -}); -const toHandlerKey = cacheStringFunction((str) => { - const s2 = str ? `on${capitalize(str)}` : ``; - return s2; -}); -const hasChanged = (value, oldValue) => !Object.is(value, oldValue); -const invokeArrayFns$1 = (fns, arg) => { - for (let i = 0; i < fns.length; i++) { - fns[i](arg); - } -}; -const def = (obj, key, value) => { - Object.defineProperty(obj, key, { - configurable: true, - enumerable: false, - value - }); -}; -const looseToNumber = (val) => { - const n2 = parseFloat(val); - return isNaN(n2) ? val : n2; -}; -let _globalThis$1; -const getGlobalThis$1 = () => { - return _globalThis$1 || (_globalThis$1 = typeof globalThis !== "undefined" ? globalThis : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : {}); -}; -function normalizeStyle(value) { - if (isArray$2(value)) { - const res = {}; - for (let i = 0; i < value.length; i++) { - const item = value[i]; - const normalized = isString$1(item) ? parseStringStyle(item) : normalizeStyle(item); - if (normalized) { - for (const key in normalized) { - res[key] = normalized[key]; - } - } - } - return res; - } else if (isString$1(value) || isObject$3(value)) { - return value; - } -} -const listDelimiterRE = /;(?![^(]*\))/g; -const propertyDelimiterRE = /:([^]+)/; -const styleCommentRE = /\/\*[^]*?\*\//g; -function parseStringStyle(cssText) { - const ret = {}; - cssText.replace(styleCommentRE, "").split(listDelimiterRE).forEach((item) => { - if (item) { - const tmp = item.split(propertyDelimiterRE); - tmp.length > 1 && (ret[tmp[0].trim()] = tmp[1].trim()); - } - }); - return ret; -} -function normalizeClass(value) { - let res = ""; - if (isString$1(value)) { - res = value; - } else if (isArray$2(value)) { - for (let i = 0; i < value.length; i++) { - const normalized = normalizeClass(value[i]); - if (normalized) { - res += normalized + " "; - } - } - } else if (isObject$3(value)) { - for (const name in value) { - if (value[name]) { - res += name + " "; - } - } - } - return res.trim(); -} -const toDisplayString$1 = (val) => { - return isString$1(val) ? val : val == null ? "" : isArray$2(val) || isObject$3(val) && (val.toString === objectToString$1 || !isFunction$1(val.toString)) ? JSON.stringify(val, replacer, 2) : String(val); -}; -const replacer = (_key, val) => { - if (val && val.__v_isRef) { - return replacer(_key, val.value); - } else if (isMap(val)) { - return { - [`Map(${val.size})`]: [...val.entries()].reduce( - (entries, [key, val2], i) => { - entries[stringifySymbol(key, i) + " =>"] = val2; - return entries; - }, - {} - ) - }; - } else if (isSet(val)) { - return { - [`Set(${val.size})`]: [...val.values()].map((v) => stringifySymbol(v)) - }; - } else if (isSymbol(val)) { - return stringifySymbol(val); - } else if (isObject$3(val) && !isArray$2(val) && !isPlainObject$2(val)) { - return String(val); - } - return val; -}; -const stringifySymbol = (v, i = "") => { - var _a; - return isSymbol(v) ? `Symbol(${(_a = v.description) != null ? _a : i})` : v; -}; -const LINEFEED = "\n"; -const SLOT_DEFAULT_NAME = "d"; -const ON_SHOW = "onShow"; -const ON_HIDE = "onHide"; -const ON_LAUNCH = "onLaunch"; -const ON_ERROR = "onError"; -const ON_THEME_CHANGE = "onThemeChange"; -const ON_PAGE_NOT_FOUND = "onPageNotFound"; -const ON_UNHANDLE_REJECTION = "onUnhandledRejection"; -const ON_EXIT = "onExit"; -const ON_LOAD = "onLoad"; -const ON_READY = "onReady"; -const ON_UNLOAD = "onUnload"; -const ON_INIT = "onInit"; -const ON_SAVE_EXIT_STATE = "onSaveExitState"; -const ON_RESIZE = "onResize"; -const ON_BACK_PRESS = "onBackPress"; -const ON_PAGE_SCROLL = "onPageScroll"; -const ON_TAB_ITEM_TAP = "onTabItemTap"; -const ON_REACH_BOTTOM = "onReachBottom"; -const ON_PULL_DOWN_REFRESH = "onPullDownRefresh"; -const ON_SHARE_TIMELINE = "onShareTimeline"; -const ON_ADD_TO_FAVORITES = "onAddToFavorites"; -const ON_SHARE_APP_MESSAGE = "onShareAppMessage"; -const ON_NAVIGATION_BAR_BUTTON_TAP = "onNavigationBarButtonTap"; -const ON_NAVIGATION_BAR_SEARCH_INPUT_CLICKED = "onNavigationBarSearchInputClicked"; -const ON_NAVIGATION_BAR_SEARCH_INPUT_CHANGED = "onNavigationBarSearchInputChanged"; -const ON_NAVIGATION_BAR_SEARCH_INPUT_CONFIRMED = "onNavigationBarSearchInputConfirmed"; -const ON_NAVIGATION_BAR_SEARCH_INPUT_FOCUS_CHANGED = "onNavigationBarSearchInputFocusChanged"; -const customizeRE = /:/g; -function customizeEvent(str) { - return camelize(str.replace(customizeRE, "-")); -} -function hasLeadingSlash(str) { - return str.indexOf("/") === 0; -} -function addLeadingSlash(str) { - return hasLeadingSlash(str) ? str : "/" + str; -} -const invokeArrayFns = (fns, arg) => { - let ret; - for (let i = 0; i < fns.length; i++) { - ret = fns[i](arg); - } - return ret; -}; -function once(fn, ctx = null) { - let res; - return (...args) => { - if (fn) { - res = fn.apply(ctx, args); - fn = null; - } - return res; - }; -} -function getValueByDataPath(obj, path) { - if (!isString$1(path)) { - return; - } - path = path.replace(/\[(\d+)\]/g, ".$1"); - const parts = path.split("."); - let key = parts[0]; - if (!obj) { - obj = {}; - } - if (parts.length === 1) { - return obj[key]; - } - return getValueByDataPath(obj[key], parts.slice(1).join(".")); -} -function sortObject(obj) { - let sortObj = {}; - if (isPlainObject$2(obj)) { - Object.keys(obj).sort().forEach((key) => { - const _key = key; - sortObj[_key] = obj[_key]; - }); - } - return !Object.keys(sortObj) ? obj : sortObj; -} -const encode$1 = encodeURIComponent; -function stringifyQuery(obj, encodeStr = encode$1) { - const res = obj ? Object.keys(obj).map((key) => { - let val = obj[key]; - if (typeof val === void 0 || val === null) { - val = ""; - } else if (isPlainObject$2(val)) { - val = JSON.stringify(val); - } - return encodeStr(key) + "=" + encodeStr(val); - }).filter((x) => x.length > 0).join("&") : null; - return res ? `?${res}` : ""; -} -const PAGE_HOOKS = [ - ON_INIT, - ON_LOAD, - ON_SHOW, - ON_HIDE, - ON_UNLOAD, - ON_BACK_PRESS, - ON_PAGE_SCROLL, - ON_TAB_ITEM_TAP, - ON_REACH_BOTTOM, - ON_PULL_DOWN_REFRESH, - ON_SHARE_TIMELINE, - ON_SHARE_APP_MESSAGE, - ON_ADD_TO_FAVORITES, - ON_SAVE_EXIT_STATE, - ON_NAVIGATION_BAR_BUTTON_TAP, - ON_NAVIGATION_BAR_SEARCH_INPUT_CLICKED, - ON_NAVIGATION_BAR_SEARCH_INPUT_CHANGED, - ON_NAVIGATION_BAR_SEARCH_INPUT_CONFIRMED, - ON_NAVIGATION_BAR_SEARCH_INPUT_FOCUS_CHANGED -]; -function isRootHook(name) { - return PAGE_HOOKS.indexOf(name) > -1; -} -const UniLifecycleHooks = [ - ON_SHOW, - ON_HIDE, - ON_LAUNCH, - ON_ERROR, - ON_THEME_CHANGE, - ON_PAGE_NOT_FOUND, - ON_UNHANDLE_REJECTION, - ON_EXIT, - ON_INIT, - ON_LOAD, - ON_READY, - ON_UNLOAD, - ON_RESIZE, - ON_BACK_PRESS, - ON_PAGE_SCROLL, - ON_TAB_ITEM_TAP, - ON_REACH_BOTTOM, - ON_PULL_DOWN_REFRESH, - ON_SHARE_TIMELINE, - ON_ADD_TO_FAVORITES, - ON_SHARE_APP_MESSAGE, - ON_SAVE_EXIT_STATE, - ON_NAVIGATION_BAR_BUTTON_TAP, - ON_NAVIGATION_BAR_SEARCH_INPUT_CLICKED, - ON_NAVIGATION_BAR_SEARCH_INPUT_CHANGED, - ON_NAVIGATION_BAR_SEARCH_INPUT_CONFIRMED, - ON_NAVIGATION_BAR_SEARCH_INPUT_FOCUS_CHANGED -]; -const MINI_PROGRAM_PAGE_RUNTIME_HOOKS = /* @__PURE__ */ (() => { - return { - onPageScroll: 1, - onShareAppMessage: 1 << 1, - onShareTimeline: 1 << 2 - }; -})(); -function isUniLifecycleHook(name, value, checkType = true) { - if (checkType && !isFunction$1(value)) { - return false; - } - if (UniLifecycleHooks.indexOf(name) > -1) { - return true; - } else if (name.indexOf("on") === 0) { - return true; - } - return false; -} -let vueApp; -const createVueAppHooks = []; -function onCreateVueApp(hook) { - if (vueApp) { - return hook(vueApp); - } - createVueAppHooks.push(hook); -} -function invokeCreateVueAppHook(app) { - vueApp = app; - createVueAppHooks.forEach((hook) => hook(app)); -} -const invokeCreateErrorHandler = once((app, createErrorHandler2) => { - if (isFunction$1(app._component.onError)) { - return createErrorHandler2(app); - } -}); -const E = function() { -}; -E.prototype = { - on: function(name, callback, ctx) { - var e2 = this.e || (this.e = {}); - (e2[name] || (e2[name] = [])).push({ - fn: callback, - ctx - }); - return this; - }, - once: function(name, callback, ctx) { - var self2 = this; - function listener() { - self2.off(name, listener); - callback.apply(ctx, arguments); - } - listener._ = callback; - return this.on(name, listener, ctx); - }, - emit: function(name) { - var data = [].slice.call(arguments, 1); - var evtArr = ((this.e || (this.e = {}))[name] || []).slice(); - var i = 0; - var len = evtArr.length; - for (i; i < len; i++) { - evtArr[i].fn.apply(evtArr[i].ctx, data); - } - return this; - }, - off: function(name, callback) { - var e2 = this.e || (this.e = {}); - var evts = e2[name]; - var liveEvents = []; - if (evts && callback) { - for (var i = evts.length - 1; i >= 0; i--) { - if (evts[i].fn === callback || evts[i].fn._ === callback) { - evts.splice(i, 1); - break; - } - } - liveEvents = evts; - } - liveEvents.length ? e2[name] = liveEvents : delete e2[name]; - return this; - } -}; -var E$1 = E; -const LOCALE_ZH_HANS = "zh-Hans"; -const LOCALE_ZH_HANT = "zh-Hant"; -const LOCALE_EN = "en"; -const LOCALE_FR = "fr"; -const LOCALE_ES = "es"; -function include(str, parts) { - return !!parts.find((part) => str.indexOf(part) !== -1); -} -function startsWith(str, parts) { - return parts.find((part) => str.indexOf(part) === 0); -} -function normalizeLocale(locale, messages) { - if (!locale) { - return; - } - locale = locale.trim().replace(/_/g, "-"); - if (messages && messages[locale]) { - return locale; - } - locale = locale.toLowerCase(); - if (locale === "chinese") { - return LOCALE_ZH_HANS; - } - if (locale.indexOf("zh") === 0) { - if (locale.indexOf("-hans") > -1) { - return LOCALE_ZH_HANS; - } - if (locale.indexOf("-hant") > -1) { - return LOCALE_ZH_HANT; - } - if (include(locale, ["-tw", "-hk", "-mo", "-cht"])) { - return LOCALE_ZH_HANT; - } - return LOCALE_ZH_HANS; - } - let locales = [LOCALE_EN, LOCALE_FR, LOCALE_ES]; - if (messages && Object.keys(messages).length > 0) { - locales = Object.keys(messages); - } - const lang = startsWith(locale, locales); - if (lang) { - return lang; - } -} -function getBaseSystemInfo() { - return wx.getSystemInfoSync(); -} -function validateProtocolFail(name, msg) { - console.warn(`${name}: ${msg}`); -} -function validateProtocol(name, data, protocol, onFail) { - if (!onFail) { - onFail = validateProtocolFail; - } - for (const key in protocol) { - const errMsg = validateProp$1(key, data[key], protocol[key], !hasOwn$2(data, key)); - if (isString$1(errMsg)) { - onFail(name, errMsg); - } - } -} -function validateProtocols(name, args, protocol, onFail) { - if (!protocol) { - return; - } - if (!isArray$2(protocol)) { - return validateProtocol(name, args[0] || /* @__PURE__ */ Object.create(null), protocol, onFail); - } - const len = protocol.length; - const argsLen = args.length; - for (let i = 0; i < len; i++) { - const opts = protocol[i]; - const data = /* @__PURE__ */ Object.create(null); - if (argsLen > i) { - data[opts.name] = args[i]; - } - validateProtocol(name, data, { [opts.name]: opts }, onFail); - } -} -function validateProp$1(name, value, prop, isAbsent) { - if (!isPlainObject$2(prop)) { - prop = { type: prop }; - } - const { type, required, validator } = prop; - if (required && isAbsent) { - return 'Missing required args: "' + name + '"'; - } - if (value == null && !required) { - return; - } - if (type != null) { - let isValid = false; - const types = isArray$2(type) ? type : [type]; - const expectedTypes = []; - for (let i = 0; i < types.length && !isValid; i++) { - const { valid, expectedType } = assertType$1(value, types[i]); - expectedTypes.push(expectedType || ""); - isValid = valid; - } - if (!isValid) { - return getInvalidTypeMessage$1(name, value, expectedTypes); - } - } - if (validator) { - return validator(value); - } -} -const isSimpleType$1 = /* @__PURE__ */ makeMap("String,Number,Boolean,Function,Symbol"); -function assertType$1(value, type) { - let valid; - const expectedType = getType$1(type); - if (isSimpleType$1(expectedType)) { - const t2 = typeof value; - valid = t2 === expectedType.toLowerCase(); - if (!valid && t2 === "object") { - valid = value instanceof type; - } - } else if (expectedType === "Object") { - valid = isObject$3(value); - } else if (expectedType === "Array") { - valid = isArray$2(value); - } else { - { - valid = value instanceof type; - } - } - return { - valid, - expectedType - }; -} -function getInvalidTypeMessage$1(name, value, expectedTypes) { - let message = `Invalid args: type check failed for args "${name}". Expected ${expectedTypes.map(capitalize).join(", ")}`; - const expectedType = expectedTypes[0]; - const receivedType = toRawType(value); - const expectedValue = styleValue$1(value, expectedType); - const receivedValue = styleValue$1(value, receivedType); - if (expectedTypes.length === 1 && isExplicable$1(expectedType) && !isBoolean$2(expectedType, receivedType)) { - message += ` with value ${expectedValue}`; - } - message += `, got ${receivedType} `; - if (isExplicable$1(receivedType)) { - message += `with value ${receivedValue}.`; - } - return message; -} -function getType$1(ctor) { - const match = ctor && ctor.toString().match(/^\s*function (\w+)/); - return match ? match[1] : ""; -} -function styleValue$1(value, type) { - if (type === "String") { - return `"${value}"`; - } else if (type === "Number") { - return `${Number(value)}`; - } else { - return `${value}`; - } -} -function isExplicable$1(type) { - const explicitTypes = ["string", "number", "boolean"]; - return explicitTypes.some((elem) => type.toLowerCase() === elem); -} -function isBoolean$2(...args) { - return args.some((elem) => elem.toLowerCase() === "boolean"); -} -function tryCatch(fn) { - return function() { - try { - return fn.apply(fn, arguments); - } catch (e2) { - console.error(e2); - } - }; -} -let invokeCallbackId = 1; -const invokeCallbacks = {}; -function addInvokeCallback(id, name, callback, keepAlive = false) { - invokeCallbacks[id] = { - name, - keepAlive, - callback - }; - return id; -} -function invokeCallback(id, res, extras) { - if (typeof id === "number") { - const opts = invokeCallbacks[id]; - if (opts) { - if (!opts.keepAlive) { - delete invokeCallbacks[id]; - } - return opts.callback(res, extras); - } - } - return res; -} -const API_SUCCESS = "success"; -const API_FAIL = "fail"; -const API_COMPLETE = "complete"; -function getApiCallbacks(args) { - const apiCallbacks = {}; - for (const name in args) { - const fn = args[name]; - if (isFunction$1(fn)) { - apiCallbacks[name] = tryCatch(fn); - delete args[name]; - } - } - return apiCallbacks; -} -function normalizeErrMsg$1(errMsg, name) { - if (!errMsg || errMsg.indexOf(":fail") === -1) { - return name + ":ok"; - } - return name + errMsg.substring(errMsg.indexOf(":fail")); -} -function createAsyncApiCallback(name, args = {}, { beforeAll, beforeSuccess } = {}) { - if (!isPlainObject$2(args)) { - args = {}; - } - const { success, fail, complete } = getApiCallbacks(args); - const hasSuccess = isFunction$1(success); - const hasFail = isFunction$1(fail); - const hasComplete = isFunction$1(complete); - const callbackId = invokeCallbackId++; - addInvokeCallback(callbackId, name, (res) => { - res = res || {}; - res.errMsg = normalizeErrMsg$1(res.errMsg, name); - isFunction$1(beforeAll) && beforeAll(res); - if (res.errMsg === name + ":ok") { - isFunction$1(beforeSuccess) && beforeSuccess(res, args); - hasSuccess && success(res); - } else { - hasFail && fail(res); - } - hasComplete && complete(res); - }); - return callbackId; -} -const HOOK_SUCCESS = "success"; -const HOOK_FAIL = "fail"; -const HOOK_COMPLETE = "complete"; -const globalInterceptors = {}; -const scopedInterceptors = {}; -function wrapperHook(hook, params2) { - return function(data) { - return hook(data, params2) || data; - }; -} -function queue$2(hooks, data, params2) { - let promise2 = false; - for (let i = 0; i < hooks.length; i++) { - const hook = hooks[i]; - if (promise2) { - promise2 = Promise.resolve(wrapperHook(hook, params2)); - } else { - const res = hook(data, params2); - if (isPromise(res)) { - promise2 = Promise.resolve(res); - } - if (res === false) { - return { - then() { - }, - catch() { - } - }; - } - } - } - return promise2 || { - then(callback) { - return callback(data); - }, - catch() { - } - }; -} -function wrapperOptions(interceptors2, options = {}) { - [HOOK_SUCCESS, HOOK_FAIL, HOOK_COMPLETE].forEach((name) => { - const hooks = interceptors2[name]; - if (!isArray$2(hooks)) { - return; - } - const oldCallback = options[name]; - options[name] = function callbackInterceptor(res) { - queue$2(hooks, res, options).then((res2) => { - return isFunction$1(oldCallback) && oldCallback(res2) || res2; - }); - }; - }); - return options; -} -function wrapperReturnValue(method, returnValue) { - const returnValueHooks = []; - if (isArray$2(globalInterceptors.returnValue)) { - returnValueHooks.push(...globalInterceptors.returnValue); - } - const interceptor = scopedInterceptors[method]; - if (interceptor && isArray$2(interceptor.returnValue)) { - returnValueHooks.push(...interceptor.returnValue); - } - returnValueHooks.forEach((hook) => { - returnValue = hook(returnValue) || returnValue; - }); - return returnValue; -} -function getApiInterceptorHooks(method) { - const interceptor = /* @__PURE__ */ Object.create(null); - Object.keys(globalInterceptors).forEach((hook) => { - if (hook !== "returnValue") { - interceptor[hook] = globalInterceptors[hook].slice(); - } - }); - const scopedInterceptor = scopedInterceptors[method]; - if (scopedInterceptor) { - Object.keys(scopedInterceptor).forEach((hook) => { - if (hook !== "returnValue") { - interceptor[hook] = (interceptor[hook] || []).concat(scopedInterceptor[hook]); - } - }); - } - return interceptor; -} -function invokeApi(method, api, options, params2) { - const interceptor = getApiInterceptorHooks(method); - if (interceptor && Object.keys(interceptor).length) { - if (isArray$2(interceptor.invoke)) { - const res = queue$2(interceptor.invoke, options); - return res.then((options2) => { - return api(wrapperOptions(getApiInterceptorHooks(method), options2), ...params2); - }); - } else { - return api(wrapperOptions(interceptor, options), ...params2); - } - } - return api(options, ...params2); -} -function hasCallback(args) { - if (isPlainObject$2(args) && [API_SUCCESS, API_FAIL, API_COMPLETE].find((cb) => isFunction$1(args[cb]))) { - return true; - } - return false; -} -function handlePromise(promise2) { - return promise2; -} -function promisify$1(name, fn) { - return (args = {}, ...rest) => { - if (hasCallback(args)) { - return wrapperReturnValue(name, invokeApi(name, fn, args, rest)); - } - return wrapperReturnValue(name, handlePromise(new Promise((resolve2, reject) => { - invokeApi(name, fn, extend(args, { success: resolve2, fail: reject }), rest); - }))); - }; -} -function formatApiArgs(args, options) { - const params2 = args[0]; - if (!options || !isPlainObject$2(options.formatArgs) && isPlainObject$2(params2)) { - return; - } - const formatArgs = options.formatArgs; - const keys = Object.keys(formatArgs); - for (let i = 0; i < keys.length; i++) { - const name = keys[i]; - const formatterOrDefaultValue = formatArgs[name]; - if (isFunction$1(formatterOrDefaultValue)) { - const errMsg = formatterOrDefaultValue(args[0][name], params2); - if (isString$1(errMsg)) { - return errMsg; - } - } else { - if (!hasOwn$2(params2, name)) { - params2[name] = formatterOrDefaultValue; - } - } - } -} -function invokeSuccess(id, name, res) { - const result = { - errMsg: name + ":ok" - }; - return invokeCallback(id, extend(res || {}, result)); -} -function invokeFail(id, name, errMsg, errRes = {}) { - const apiErrMsg = name + ":fail" + (errMsg ? " " + errMsg : ""); - delete errRes.errCode; - let res = extend({ errMsg: apiErrMsg }, errRes); - return invokeCallback(id, res); -} -function beforeInvokeApi(name, args, protocol, options) { - { - validateProtocols(name, args, protocol); - } - if (options && options.beforeInvoke) { - const errMsg2 = options.beforeInvoke(args); - if (isString$1(errMsg2)) { - return errMsg2; - } - } - const errMsg = formatApiArgs(args, options); - if (errMsg) { - return errMsg; - } -} -function normalizeErrMsg(errMsg) { - if (!errMsg || isString$1(errMsg)) { - return errMsg; - } - if (errMsg.stack) { - console.error(errMsg.message + LINEFEED + errMsg.stack); - return errMsg.message; - } - return errMsg; -} -function wrapperTaskApi(name, fn, protocol, options) { - return (args) => { - const id = createAsyncApiCallback(name, args, options); - const errMsg = beforeInvokeApi(name, [args], protocol, options); - if (errMsg) { - return invokeFail(id, name, errMsg); - } - return fn(args, { - resolve: (res) => invokeSuccess(id, name, res), - reject: (errMsg2, errRes) => invokeFail(id, name, normalizeErrMsg(errMsg2), errRes) - }); - }; -} -function wrapperSyncApi(name, fn, protocol, options) { - return (...args) => { - const errMsg = beforeInvokeApi(name, args, protocol, options); - if (errMsg) { - throw new Error(errMsg); - } - return fn.apply(null, args); - }; -} -function wrapperAsyncApi(name, fn, protocol, options) { - return wrapperTaskApi(name, fn, protocol, options); -} -function defineSyncApi(name, fn, protocol, options) { - return wrapperSyncApi(name, fn, protocol, options); -} -function defineAsyncApi(name, fn, protocol, options) { - return promisify$1(name, wrapperAsyncApi(name, fn, protocol, options)); -} -const API_UPX2PX = "upx2px"; -const Upx2pxProtocol = [ - { - name: "upx", - type: [Number, String], - required: true - } -]; -const EPS = 1e-4; -const BASE_DEVICE_WIDTH = 750; -let isIOS = false; -let deviceWidth = 0; -let deviceDPR = 0; -function checkDeviceWidth() { - const { platform: platform2, pixelRatio, windowWidth } = getBaseSystemInfo(); - deviceWidth = windowWidth; - deviceDPR = pixelRatio; - isIOS = platform2 === "ios"; -} -const upx2px = defineSyncApi(API_UPX2PX, (number2, newDeviceWidth) => { - if (deviceWidth === 0) { - checkDeviceWidth(); - } - number2 = Number(number2); - if (number2 === 0) { - return 0; - } - let width = newDeviceWidth || deviceWidth; - let result = number2 / BASE_DEVICE_WIDTH * width; - if (result < 0) { - result = -result; - } - result = Math.floor(result + EPS); - if (result === 0) { - if (deviceDPR === 1 || !isIOS) { - result = 1; - } else { - result = 0.5; - } - } - return number2 < 0 ? -result : result; -}, Upx2pxProtocol); -const API_ADD_INTERCEPTOR = "addInterceptor"; -const API_REMOVE_INTERCEPTOR = "removeInterceptor"; -const AddInterceptorProtocol = [ - { - name: "method", - type: [String, Object], - required: true - } -]; -const RemoveInterceptorProtocol = AddInterceptorProtocol; -function mergeInterceptorHook(interceptors2, interceptor) { - Object.keys(interceptor).forEach((hook) => { - if (isFunction$1(interceptor[hook])) { - interceptors2[hook] = mergeHook(interceptors2[hook], interceptor[hook]); - } - }); -} -function removeInterceptorHook(interceptors2, interceptor) { - if (!interceptors2 || !interceptor) { - return; - } - Object.keys(interceptor).forEach((name) => { - const hooks = interceptors2[name]; - const hook = interceptor[name]; - if (isArray$2(hooks) && isFunction$1(hook)) { - remove(hooks, hook); - } - }); -} -function mergeHook(parentVal, childVal) { - const res = childVal ? parentVal ? parentVal.concat(childVal) : isArray$2(childVal) ? childVal : [childVal] : parentVal; - return res ? dedupeHooks(res) : res; -} -function dedupeHooks(hooks) { - const res = []; - for (let i = 0; i < hooks.length; i++) { - if (res.indexOf(hooks[i]) === -1) { - res.push(hooks[i]); - } - } - return res; -} -const addInterceptor = defineSyncApi(API_ADD_INTERCEPTOR, (method, interceptor) => { - if (isString$1(method) && isPlainObject$2(interceptor)) { - mergeInterceptorHook(scopedInterceptors[method] || (scopedInterceptors[method] = {}), interceptor); - } else if (isPlainObject$2(method)) { - mergeInterceptorHook(globalInterceptors, method); - } -}, AddInterceptorProtocol); -const removeInterceptor = defineSyncApi(API_REMOVE_INTERCEPTOR, (method, interceptor) => { - if (isString$1(method)) { - if (isPlainObject$2(interceptor)) { - removeInterceptorHook(scopedInterceptors[method], interceptor); - } else { - delete scopedInterceptors[method]; - } - } else if (isPlainObject$2(method)) { - removeInterceptorHook(globalInterceptors, method); - } -}, RemoveInterceptorProtocol); -const interceptors = {}; -const API_ON = "$on"; -const OnProtocol = [ - { - name: "event", - type: String, - required: true - }, - { - name: "callback", - type: Function, - required: true - } -]; -const API_ONCE = "$once"; -const OnceProtocol = OnProtocol; -const API_OFF = "$off"; -const OffProtocol = [ - { - name: "event", - type: [String, Array] - }, - { - name: "callback", - type: Function - } -]; -const API_EMIT = "$emit"; -const EmitProtocol = [ - { - name: "event", - type: String, - required: true - } -]; -const emitter = new E$1(); -const $on = defineSyncApi(API_ON, (name, callback) => { - emitter.on(name, callback); - return () => emitter.off(name, callback); -}, OnProtocol); -const $once = defineSyncApi(API_ONCE, (name, callback) => { - emitter.once(name, callback); - return () => emitter.off(name, callback); -}, OnceProtocol); -const $off = defineSyncApi(API_OFF, (name, callback) => { - if (!name) { - emitter.e = {}; - return; - } - if (!isArray$2(name)) - name = [name]; - name.forEach((n2) => emitter.off(n2, callback)); -}, OffProtocol); -const $emit = defineSyncApi(API_EMIT, (name, ...args) => { - emitter.emit(name, ...args); -}, EmitProtocol); -let cid; -let cidErrMsg; -let enabled; -function normalizePushMessage(message) { - try { - return JSON.parse(message); - } catch (e2) { - } - return message; -} -function invokePushCallback(args) { - if (args.type === "enabled") { - enabled = true; - } else if (args.type === "clientId") { - cid = args.cid; - cidErrMsg = args.errMsg; - invokeGetPushCidCallbacks(cid, args.errMsg); - } else if (args.type === "pushMsg") { - const message = { - type: "receive", - data: normalizePushMessage(args.message) - }; - for (let i = 0; i < onPushMessageCallbacks.length; i++) { - const callback = onPushMessageCallbacks[i]; - callback(message); - if (message.stopped) { - break; - } - } - } else if (args.type === "click") { - onPushMessageCallbacks.forEach((callback) => { - callback({ - type: "click", - data: normalizePushMessage(args.message) - }); - }); - } -} -const getPushCidCallbacks = []; -function invokeGetPushCidCallbacks(cid2, errMsg) { - getPushCidCallbacks.forEach((callback) => { - callback(cid2, errMsg); - }); - getPushCidCallbacks.length = 0; -} -const API_GET_PUSH_CLIENT_ID = "getPushClientId"; -const getPushClientId = defineAsyncApi(API_GET_PUSH_CLIENT_ID, (_, { resolve: resolve2, reject }) => { - Promise.resolve().then(() => { - if (typeof enabled === "undefined") { - enabled = false; - cid = ""; - cidErrMsg = "uniPush is not enabled"; - } - getPushCidCallbacks.push((cid2, errMsg) => { - if (cid2) { - resolve2({ cid: cid2 }); - } else { - reject(errMsg); - } - }); - if (typeof cid !== "undefined") { - invokeGetPushCidCallbacks(cid, cidErrMsg); - } - }); -}); -const onPushMessageCallbacks = []; -const onPushMessage = (fn) => { - if (onPushMessageCallbacks.indexOf(fn) === -1) { - onPushMessageCallbacks.push(fn); - } -}; -const offPushMessage = (fn) => { - if (!fn) { - onPushMessageCallbacks.length = 0; - } else { - const index2 = onPushMessageCallbacks.indexOf(fn); - if (index2 > -1) { - onPushMessageCallbacks.splice(index2, 1); - } - } -}; -const SYNC_API_RE = /^\$|getLocale|setLocale|sendNativeEvent|restoreGlobal|requireGlobal|getCurrentSubNVue|getMenuButtonBoundingClientRect|^report|interceptors|Interceptor$|getSubNVueById|requireNativePlugin|upx2px|hideKeyboard|canIUse|^create|Sync$|Manager$|base64ToArrayBuffer|arrayBufferToBase64|getDeviceInfo|getAppBaseInfo|getWindowInfo|getSystemSetting|getAppAuthorizeSetting/; -const CONTEXT_API_RE = /^create|Manager$/; -const CONTEXT_API_RE_EXC = ["createBLEConnection"]; -const ASYNC_API = ["createBLEConnection"]; -const CALLBACK_API_RE = /^on|^off/; -function isContextApi(name) { - return CONTEXT_API_RE.test(name) && CONTEXT_API_RE_EXC.indexOf(name) === -1; -} -function isSyncApi(name) { - return SYNC_API_RE.test(name) && ASYNC_API.indexOf(name) === -1; -} -function isCallbackApi(name) { - return CALLBACK_API_RE.test(name) && name !== "onPush"; -} -function shouldPromise(name) { - if (isContextApi(name) || isSyncApi(name) || isCallbackApi(name)) { - return false; - } - return true; -} -if (!Promise.prototype.finally) { - Promise.prototype.finally = function(onfinally) { - const promise2 = this.constructor; - return this.then((value) => promise2.resolve(onfinally && onfinally()).then(() => value), (reason) => promise2.resolve(onfinally && onfinally()).then(() => { - throw reason; - })); - }; -} -function promisify(name, api) { - if (!shouldPromise(name)) { - return api; - } - if (!isFunction$1(api)) { - return api; - } - return function promiseApi(options = {}, ...rest) { - if (isFunction$1(options.success) || isFunction$1(options.fail) || isFunction$1(options.complete)) { - return wrapperReturnValue(name, invokeApi(name, api, options, rest)); - } - return wrapperReturnValue(name, handlePromise(new Promise((resolve2, reject) => { - invokeApi(name, api, extend({}, options, { - success: resolve2, - fail: reject - }), rest); - }))); - }; -} -const CALLBACKS = ["success", "fail", "cancel", "complete"]; -function initWrapper(protocols2) { - function processCallback(methodName, method, returnValue) { - return function(res) { - return method(processReturnValue(methodName, res, returnValue)); - }; - } - function processArgs(methodName, fromArgs, argsOption = {}, returnValue = {}, keepFromArgs = false) { - if (isPlainObject$2(fromArgs)) { - const toArgs = keepFromArgs === true ? fromArgs : {}; - if (isFunction$1(argsOption)) { - argsOption = argsOption(fromArgs, toArgs) || {}; - } - for (const key in fromArgs) { - if (hasOwn$2(argsOption, key)) { - let keyOption = argsOption[key]; - if (isFunction$1(keyOption)) { - keyOption = keyOption(fromArgs[key], fromArgs, toArgs); - } - if (!keyOption) { - console.warn(`微信小程序 ${methodName} 暂不支持 ${key}`); - } else if (isString$1(keyOption)) { - toArgs[keyOption] = fromArgs[key]; - } else if (isPlainObject$2(keyOption)) { - toArgs[keyOption.name ? keyOption.name : key] = keyOption.value; - } - } else if (CALLBACKS.indexOf(key) !== -1) { - const callback = fromArgs[key]; - if (isFunction$1(callback)) { - toArgs[key] = processCallback(methodName, callback, returnValue); - } - } else { - if (!keepFromArgs && !hasOwn$2(toArgs, key)) { - toArgs[key] = fromArgs[key]; - } - } - } - return toArgs; - } else if (isFunction$1(fromArgs)) { - fromArgs = processCallback(methodName, fromArgs, returnValue); - } - return fromArgs; - } - function processReturnValue(methodName, res, returnValue, keepReturnValue = false) { - if (isFunction$1(protocols2.returnValue)) { - res = protocols2.returnValue(methodName, res); - } - return processArgs(methodName, res, returnValue, {}, keepReturnValue); - } - return function wrapper(methodName, method) { - if (!hasOwn$2(protocols2, methodName)) { - return method; - } - const protocol = protocols2[methodName]; - if (!protocol) { - return function() { - console.error(`微信小程序 暂不支持${methodName}`); - }; - } - return function(arg1, arg2) { - let options = protocol; - if (isFunction$1(protocol)) { - options = protocol(arg1); - } - arg1 = processArgs(methodName, arg1, options.args, options.returnValue); - const args = [arg1]; - if (typeof arg2 !== "undefined") { - args.push(arg2); - } - const returnValue = wx[options.name || methodName].apply(wx, args); - if (isSyncApi(methodName)) { - return processReturnValue(methodName, returnValue, options.returnValue, isContextApi(methodName)); - } - return returnValue; - }; - }; -} -const getLocale = () => { - const app = isFunction$1(getApp) && getApp({ allowDefault: true }); - if (app && app.$vm) { - return app.$vm.$locale; - } - return normalizeLocale(wx.getSystemInfoSync().language) || LOCALE_EN; -}; -const setLocale = (locale) => { - const app = isFunction$1(getApp) && getApp(); - if (!app) { - return false; - } - const oldLocale = app.$vm.$locale; - if (oldLocale !== locale) { - app.$vm.$locale = locale; - onLocaleChangeCallbacks.forEach((fn) => fn({ locale })); - return true; - } - return false; -}; -const onLocaleChangeCallbacks = []; -const onLocaleChange = (fn) => { - if (onLocaleChangeCallbacks.indexOf(fn) === -1) { - onLocaleChangeCallbacks.push(fn); - } -}; -if (typeof global !== "undefined") { - global.getLocale = getLocale; -} -const UUID_KEY = "__DC_STAT_UUID"; -let deviceId; -function useDeviceId(global2 = wx) { - return function addDeviceId(_, toRes) { - deviceId = deviceId || global2.getStorageSync(UUID_KEY); - if (!deviceId) { - deviceId = Date.now() + "" + Math.floor(Math.random() * 1e7); - wx.setStorage({ - key: UUID_KEY, - data: deviceId - }); - } - toRes.deviceId = deviceId; - }; -} -function addSafeAreaInsets(fromRes, toRes) { - if (fromRes.safeArea) { - const safeArea = fromRes.safeArea; - toRes.safeAreaInsets = { - top: safeArea.top, - left: safeArea.left, - right: fromRes.windowWidth - safeArea.right, - bottom: fromRes.screenHeight - safeArea.bottom - }; - } -} -function populateParameters(fromRes, toRes) { - const { brand = "", model = "", system = "", language = "", theme, version: version2, platform: platform2, fontSizeSetting, SDKVersion, pixelRatio, deviceOrientation } = fromRes; - let osName = ""; - let osVersion = ""; - { - osName = system.split(" ")[0] || ""; - osVersion = system.split(" ")[1] || ""; - } - let hostVersion = version2; - let deviceType = getGetDeviceType(fromRes, model); - let deviceBrand = getDeviceBrand(brand); - let _hostName = getHostName(fromRes); - let _deviceOrientation = deviceOrientation; - let _devicePixelRatio = pixelRatio; - let _SDKVersion = SDKVersion; - const hostLanguage = language.replace(/_/g, "-"); - const parameters = { - appId: "__UNI__C6C43F9", - appName: "一起飞Go Mundo", - appVersion: "1.0.0", - appVersionCode: "100", - appLanguage: getAppLanguage(hostLanguage), - uniCompileVersion: "4.15", - uniRuntimeVersion: "4.15", - uniPlatform: "mp-weixin", - deviceBrand, - deviceModel: model, - deviceType, - devicePixelRatio: _devicePixelRatio, - deviceOrientation: _deviceOrientation, - osName: osName.toLocaleLowerCase(), - osVersion, - hostTheme: theme, - hostVersion, - hostLanguage, - hostName: _hostName, - hostSDKVersion: _SDKVersion, - hostFontSizeSetting: fontSizeSetting, - windowTop: 0, - windowBottom: 0, - // TODO - osLanguage: void 0, - osTheme: void 0, - ua: void 0, - hostPackageName: void 0, - browserName: void 0, - browserVersion: void 0 - }; - extend(toRes, parameters); -} -function getGetDeviceType(fromRes, model) { - let deviceType = fromRes.deviceType || "phone"; - { - const deviceTypeMaps = { - ipad: "pad", - windows: "pc", - mac: "pc" - }; - const deviceTypeMapsKeys = Object.keys(deviceTypeMaps); - const _model = model.toLocaleLowerCase(); - for (let index2 = 0; index2 < deviceTypeMapsKeys.length; index2++) { - const _m = deviceTypeMapsKeys[index2]; - if (_model.indexOf(_m) !== -1) { - deviceType = deviceTypeMaps[_m]; - break; - } - } - } - return deviceType; -} -function getDeviceBrand(brand) { - let deviceBrand = brand; - if (deviceBrand) { - deviceBrand = deviceBrand.toLocaleLowerCase(); - } - return deviceBrand; -} -function getAppLanguage(defaultLanguage) { - return getLocale ? getLocale() : defaultLanguage; -} -function getHostName(fromRes) { - const _platform = "WeChat"; - let _hostName = fromRes.hostName || _platform; - { - if (fromRes.environment) { - _hostName = fromRes.environment; - } else if (fromRes.host && fromRes.host.env) { - _hostName = fromRes.host.env; - } - } - return _hostName; -} -const getSystemInfo = { - returnValue: (fromRes, toRes) => { - addSafeAreaInsets(fromRes, toRes); - useDeviceId()(fromRes, toRes); - populateParameters(fromRes, toRes); - } -}; -const getSystemInfoSync = getSystemInfo; -const redirectTo = {}; -const previewImage = { - args(fromArgs, toArgs) { - let currentIndex = parseInt(fromArgs.current); - if (isNaN(currentIndex)) { - return; - } - const urls = fromArgs.urls; - if (!isArray$2(urls)) { - return; - } - const len = urls.length; - if (!len) { - return; - } - if (currentIndex < 0) { - currentIndex = 0; - } else if (currentIndex >= len) { - currentIndex = len - 1; - } - if (currentIndex > 0) { - toArgs.current = urls[currentIndex]; - toArgs.urls = urls.filter((item, index2) => index2 < currentIndex ? item !== urls[currentIndex] : true); - } else { - toArgs.current = urls[0]; - } - return { - indicator: false, - loop: false - }; - } -}; -const showActionSheet = { - args(fromArgs, toArgs) { - toArgs.alertText = fromArgs.title; - } -}; -const getDeviceInfo = { - returnValue: (fromRes, toRes) => { - const { brand, model } = fromRes; - let deviceType = getGetDeviceType(fromRes, model); - let deviceBrand = getDeviceBrand(brand); - useDeviceId()(fromRes, toRes); - toRes = sortObject(extend(toRes, { - deviceType, - deviceBrand, - deviceModel: model - })); - } -}; -const getAppBaseInfo = { - returnValue: (fromRes, toRes) => { - const { version: version2, language, SDKVersion, theme } = fromRes; - let _hostName = getHostName(fromRes); - let hostLanguage = language.replace(/_/g, "-"); - toRes = sortObject(extend(toRes, { - hostVersion: version2, - hostLanguage, - hostName: _hostName, - hostSDKVersion: SDKVersion, - hostTheme: theme, - appId: "__UNI__C6C43F9", - appName: "一起飞Go Mundo", - appVersion: "1.0.0", - appVersionCode: "100", - appLanguage: getAppLanguage(hostLanguage) - })); - } -}; -const getWindowInfo$1 = { - returnValue: (fromRes, toRes) => { - addSafeAreaInsets(fromRes, toRes); - toRes = sortObject(extend(toRes, { - windowTop: 0, - windowBottom: 0 - })); - } -}; -const getAppAuthorizeSetting = { - returnValue: function(fromRes, toRes) { - const { locationReducedAccuracy } = fromRes; - toRes.locationAccuracy = "unsupported"; - if (locationReducedAccuracy === true) { - toRes.locationAccuracy = "reduced"; - } else if (locationReducedAccuracy === false) { - toRes.locationAccuracy = "full"; - } - } -}; -const baseApis = { - $on, - $off, - $once, - $emit, - upx2px, - interceptors, - addInterceptor, - removeInterceptor, - onCreateVueApp, - invokeCreateVueAppHook, - getLocale, - setLocale, - onLocaleChange, - getPushClientId, - onPushMessage, - offPushMessage, - invokePushCallback -}; -function initUni(api, protocols2, platform2 = wx) { - const wrapper = initWrapper(protocols2); - const UniProxyHandlers = { - get(target, key) { - if (hasOwn$2(target, key)) { - return target[key]; - } - if (hasOwn$2(api, key)) { - return promisify(key, api[key]); - } - if (hasOwn$2(baseApis, key)) { - return promisify(key, baseApis[key]); - } - return promisify(key, wrapper(key, platform2[key])); - } - }; - return new Proxy({}, UniProxyHandlers); -} -function initGetProvider(providers) { - return function getProvider2({ service, success, fail, complete }) { - let res; - if (providers[service]) { - res = { - errMsg: "getProvider:ok", - service, - provider: providers[service] - }; - isFunction$1(success) && success(res); - } else { - res = { - errMsg: "getProvider:fail:服务[" + service + "]不存在" - }; - isFunction$1(fail) && fail(res); - } - isFunction$1(complete) && complete(res); - }; -} -const objectKeys = [ - "qy", - "env", - "error", - "version", - "lanDebug", - "cloud", - "serviceMarket", - "router", - "worklet", - "__webpack_require_UNI_MP_PLUGIN__" -]; -const singlePageDisableKey = ["lanDebug", "router", "worklet"]; -const launchOption = wx.getLaunchOptionsSync ? wx.getLaunchOptionsSync() : null; -function isWxKey(key) { - if (launchOption && launchOption.scene === 1154 && singlePageDisableKey.includes(key)) { - return false; - } - return objectKeys.indexOf(key) > -1 || typeof wx[key] === "function"; -} -function initWx() { - const newWx = {}; - for (const key in wx) { - if (isWxKey(key)) { - newWx[key] = wx[key]; - } - } - if (typeof globalThis !== "undefined" && typeof requireMiniProgram === "undefined") { - globalThis.wx = newWx; - } - return newWx; -} -const mocks$1 = ["__route__", "__wxExparserNodeId__", "__wxWebviewId__"]; -const getProvider = initGetProvider({ - oauth: ["weixin"], - share: ["weixin"], - payment: ["wxpay"], - push: ["weixin"] -}); -function initComponentMocks(component) { - const res = /* @__PURE__ */ Object.create(null); - mocks$1.forEach((name) => { - res[name] = component[name]; - }); - return res; -} -function createSelectorQuery() { - const query = wx$2.createSelectorQuery(); - const oldIn = query.in; - query.in = function newIn(component) { - return oldIn.call(this, initComponentMocks(component)); - }; - return query; -} -const wx$2 = initWx(); -let baseInfo = wx$2.getAppBaseInfo && wx$2.getAppBaseInfo(); -if (!baseInfo) { - baseInfo = wx$2.getSystemInfoSync(); -} -const host = baseInfo ? baseInfo.host : null; -const shareVideoMessage = host && host.env === "SAAASDK" ? wx$2.miniapp.shareVideoMessage : wx$2.shareVideoMessage; -var shims = /* @__PURE__ */ Object.freeze({ - __proto__: null, - createSelectorQuery, - getProvider, - shareVideoMessage -}); -const compressImage = { - args(fromArgs, toArgs) { - if (fromArgs.compressedHeight && !toArgs.compressHeight) { - toArgs.compressHeight = fromArgs.compressedHeight; - } - if (fromArgs.compressedWidth && !toArgs.compressWidth) { - toArgs.compressWidth = fromArgs.compressedWidth; - } - } -}; -var protocols = /* @__PURE__ */ Object.freeze({ - __proto__: null, - compressImage, - getAppAuthorizeSetting, - getAppBaseInfo, - getDeviceInfo, - getSystemInfo, - getSystemInfoSync, - getWindowInfo: getWindowInfo$1, - previewImage, - redirectTo, - showActionSheet -}); -const wx$1 = initWx(); -var index$1 = initUni(shims, protocols, wx$1); -new Set( - /* @__PURE__ */ Object.getOwnPropertyNames(Symbol).filter((key) => key !== "arguments" && key !== "caller").map((key) => Symbol[key]).filter(isSymbol) -); -function toRaw$1(observed) { - const raw = observed && observed["__v_raw"]; - return raw ? toRaw$1(raw) : observed; -} -function isRef$1(r2) { - return !!(r2 && r2.__v_isRef === true); -} -/** -* @vue/runtime-core v3.4.21 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/ -const stack$1 = []; -function pushWarningContext$1(vnode) { - stack$1.push(vnode); -} -function popWarningContext$1() { - stack$1.pop(); -} -function warn$1$1(msg, ...args) { - const instance = stack$1.length ? stack$1[stack$1.length - 1].component : null; - const appWarnHandler = instance && instance.appContext.config.warnHandler; - const trace = getComponentTrace$1(); - if (appWarnHandler) { - callWithErrorHandling$1( - appWarnHandler, - instance, - 11, - [ - msg + args.map((a) => { - var _a, _b; - return (_b = (_a = a.toString) == null ? void 0 : _a.call(a)) != null ? _b : JSON.stringify(a); - }).join(""), - instance && instance.proxy, - trace.map( - ({ vnode }) => `at <${formatComponentName$1(instance, vnode.type)}>` - ).join("\n"), - trace - ] - ); - } else { - const warnArgs = [`[Vue warn]: ${msg}`, ...args]; - if (trace.length && // avoid spamming console during tests - true) { - warnArgs.push(` -`, ...formatTrace$1(trace)); - } - console.warn(...warnArgs); - } -} -function getComponentTrace$1() { - let currentVNode = stack$1[stack$1.length - 1]; - if (!currentVNode) { - return []; - } - const normalizedStack = []; - while (currentVNode) { - const last = normalizedStack[0]; - if (last && last.vnode === currentVNode) { - last.recurseCount++; - } else { - normalizedStack.push({ - vnode: currentVNode, - recurseCount: 0 - }); - } - const parentInstance = currentVNode.component && currentVNode.component.parent; - currentVNode = parentInstance && parentInstance.vnode; - } - return normalizedStack; -} -function formatTrace$1(trace) { - const logs = []; - trace.forEach((entry, i) => { - logs.push(...i === 0 ? [] : [` -`], ...formatTraceEntry$1(entry)); - }); - return logs; -} -function formatTraceEntry$1({ vnode, recurseCount }) { - const postfix = recurseCount > 0 ? `... (${recurseCount} recursive calls)` : ``; - const isRoot = vnode.component ? vnode.component.parent == null : false; - const open = ` at <${formatComponentName$1( - vnode.component, - vnode.type, - isRoot - )}`; - const close = `>` + postfix; - return vnode.props ? [open, ...formatProps$1(vnode.props), close] : [open + close]; -} -function formatProps$1(props2) { - const res = []; - const keys = Object.keys(props2); - keys.slice(0, 3).forEach((key) => { - res.push(...formatProp$1(key, props2[key])); - }); - if (keys.length > 3) { - res.push(` ...`); - } - return res; -} -function formatProp$1(key, value, raw) { - if (isString$1(value)) { - value = JSON.stringify(value); - return raw ? value : [`${key}=${value}`]; - } else if (typeof value === "number" || typeof value === "boolean" || value == null) { - return raw ? value : [`${key}=${value}`]; - } else if (isRef$1(value)) { - value = formatProp$1(key, toRaw$1(value.value), true); - return raw ? value : [`${key}=Ref<`, value, `>`]; - } else if (isFunction$1(value)) { - return [`${key}=fn${value.name ? `<${value.name}>` : ``}`]; - } else { - value = toRaw$1(value); - return raw ? value : [`${key}=`, value]; - } -} -const ErrorTypeStrings$1 = { - ["sp"]: "serverPrefetch hook", - ["bc"]: "beforeCreate hook", - ["c"]: "created hook", - ["bm"]: "beforeMount hook", - ["m"]: "mounted hook", - ["bu"]: "beforeUpdate hook", - ["u"]: "updated", - ["bum"]: "beforeUnmount hook", - ["um"]: "unmounted hook", - ["a"]: "activated hook", - ["da"]: "deactivated hook", - ["ec"]: "errorCaptured hook", - ["rtc"]: "renderTracked hook", - ["rtg"]: "renderTriggered hook", - [0]: "setup function", - [1]: "render function", - [2]: "watcher getter", - [3]: "watcher callback", - [4]: "watcher cleanup function", - [5]: "native event handler", - [6]: "component event handler", - [7]: "vnode hook", - [8]: "directive hook", - [9]: "transition hook", - [10]: "app errorHandler", - [11]: "app warnHandler", - [12]: "ref function", - [13]: "async component loader", - [14]: "scheduler flush. This is likely a Vue internals bug. Please open an issue at https://github.com/vuejs/core ." -}; -function callWithErrorHandling$1(fn, instance, type, args) { - try { - return args ? fn(...args) : fn(); - } catch (err) { - handleError$1(err, instance, type); - } -} -function handleError$1(err, instance, type, throwInDev = true) { - const contextVNode = instance ? instance.vnode : null; - if (instance) { - let cur = instance.parent; - const exposedInstance = instance.proxy; - const errorInfo = ErrorTypeStrings$1[type]; - while (cur) { - const errorCapturedHooks = cur.ec; - if (errorCapturedHooks) { - for (let i = 0; i < errorCapturedHooks.length; i++) { - if (errorCapturedHooks[i](err, exposedInstance, errorInfo) === false) { - return; - } - } - } - cur = cur.parent; - } - const appErrorHandler = instance.appContext.config.errorHandler; - if (appErrorHandler) { - callWithErrorHandling$1( - appErrorHandler, - null, - 10, - [err, exposedInstance, errorInfo] - ); - return; - } - } - logError$1(err, type, contextVNode, throwInDev); -} -function logError$1(err, type, contextVNode, throwInDev = true) { - { - const info = ErrorTypeStrings$1[type]; - if (contextVNode) { - pushWarningContext$1(contextVNode); - } - warn$1$1(`Unhandled error${info ? ` during execution of ${info}` : ``}`); - if (contextVNode) { - popWarningContext$1(); - } - if (throwInDev) { - throw err; - } else { - console.error(err); - } - } -} -let isFlushing$1 = false; -let isFlushPending$1 = false; -const queue$1 = []; -let flushIndex$1 = 0; -const pendingPostFlushCbs$1 = []; -let activePostFlushCbs$1 = null; -let postFlushIndex$1 = 0; -const resolvedPromise$1 = /* @__PURE__ */ Promise.resolve(); -const RECURSION_LIMIT$1 = 100; -function findInsertionIndex$1(id) { - let start = flushIndex$1 + 1; - let end = queue$1.length; - while (start < end) { - const middle = start + end >>> 1; - const middleJob = queue$1[middle]; - const middleJobId = getId$1(middleJob); - if (middleJobId < id || middleJobId === id && middleJob.pre) { - start = middle + 1; - } else { - end = middle; - } - } - return start; -} -function queueJob$1(job) { - if (!queue$1.length || !queue$1.includes( - job, - isFlushing$1 && job.allowRecurse ? flushIndex$1 + 1 : flushIndex$1 - )) { - if (job.id == null) { - queue$1.push(job); - } else { - queue$1.splice(findInsertionIndex$1(job.id), 0, job); - } - queueFlush$1(); - } -} -function queueFlush$1() { - if (!isFlushing$1 && !isFlushPending$1) { - isFlushPending$1 = true; - resolvedPromise$1.then(flushJobs$1); - } -} -function queuePostFlushCb$1(cb) { - if (!isArray$2(cb)) { - if (!activePostFlushCbs$1 || !activePostFlushCbs$1.includes( - cb, - cb.allowRecurse ? postFlushIndex$1 + 1 : postFlushIndex$1 - )) { - pendingPostFlushCbs$1.push(cb); - } - } else { - pendingPostFlushCbs$1.push(...cb); - } - queueFlush$1(); -} -function flushPostFlushCbs$1(seen) { - if (pendingPostFlushCbs$1.length) { - const deduped = [...new Set(pendingPostFlushCbs$1)].sort( - (a, b) => getId$1(a) - getId$1(b) - ); - pendingPostFlushCbs$1.length = 0; - if (activePostFlushCbs$1) { - activePostFlushCbs$1.push(...deduped); - return; - } - activePostFlushCbs$1 = deduped; - { - seen = seen || /* @__PURE__ */ new Map(); - } - for (postFlushIndex$1 = 0; postFlushIndex$1 < activePostFlushCbs$1.length; postFlushIndex$1++) { - if (checkRecursiveUpdates$1(seen, activePostFlushCbs$1[postFlushIndex$1])) { - continue; - } - activePostFlushCbs$1[postFlushIndex$1](); - } - activePostFlushCbs$1 = null; - postFlushIndex$1 = 0; - } -} -const getId$1 = (job) => job.id == null ? Infinity : job.id; -const comparator$1 = (a, b) => { - const diff2 = getId$1(a) - getId$1(b); - if (diff2 === 0) { - if (a.pre && !b.pre) - return -1; - if (b.pre && !a.pre) - return 1; - } - return diff2; -}; -function flushJobs$1(seen) { - isFlushPending$1 = false; - isFlushing$1 = true; - { - seen = seen || /* @__PURE__ */ new Map(); - } - queue$1.sort(comparator$1); - const check = (job) => checkRecursiveUpdates$1(seen, job); - try { - for (flushIndex$1 = 0; flushIndex$1 < queue$1.length; flushIndex$1++) { - const job = queue$1[flushIndex$1]; - if (job && job.active !== false) { - if (check(job)) { - continue; - } - callWithErrorHandling$1(job, null, 14); - } - } - } finally { - flushIndex$1 = 0; - queue$1.length = 0; - flushPostFlushCbs$1(seen); - isFlushing$1 = false; - if (queue$1.length || pendingPostFlushCbs$1.length) { - flushJobs$1(seen); - } - } -} -function checkRecursiveUpdates$1(seen, fn) { - if (!seen.has(fn)) { - seen.set(fn, 1); - } else { - const count = seen.get(fn); - if (count > RECURSION_LIMIT$1) { - const instance = fn.ownerInstance; - const componentName = instance && getComponentName$1(instance.type); - handleError$1( - `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.`, - null, - 10 - ); - return true; - } else { - seen.set(fn, count + 1); - } - } -} -const hmrDirtyComponents = /* @__PURE__ */ new Set(); -{ - getGlobalThis$1().__VUE_HMR_RUNTIME__ = { - createRecord: tryWrap(createRecord), - rerender: tryWrap(rerender), - reload: tryWrap(reload) - }; -} -const map = /* @__PURE__ */ new Map(); -function createRecord(id, initialDef) { - if (map.has(id)) { - return false; - } - map.set(id, { - initialDef: normalizeClassComponent(initialDef), - instances: /* @__PURE__ */ new Set() - }); - return true; -} -function normalizeClassComponent(component) { - return isClassComponent$1(component) ? component.__vccOpts : component; -} -function rerender(id, newRender) { - const record = map.get(id); - if (!record) { - return; - } - record.initialDef.render = newRender; - [...record.instances].forEach((instance) => { - if (newRender) { - instance.render = newRender; - normalizeClassComponent(instance.type).render = newRender; - } - instance.renderCache = []; - instance.effect.dirty = true; - instance.update(); - }); -} -function reload(id, newComp) { - const record = map.get(id); - if (!record) - return; - newComp = normalizeClassComponent(newComp); - updateComponentDef(record.initialDef, newComp); - const instances = [...record.instances]; - for (const instance of instances) { - const oldComp = normalizeClassComponent(instance.type); - if (!hmrDirtyComponents.has(oldComp)) { - if (oldComp !== record.initialDef) { - updateComponentDef(oldComp, newComp); - } - hmrDirtyComponents.add(oldComp); - } - instance.appContext.propsCache.delete(instance.type); - instance.appContext.emitsCache.delete(instance.type); - instance.appContext.optionsCache.delete(instance.type); - if (instance.ceReload) { - hmrDirtyComponents.add(oldComp); - instance.ceReload(newComp.styles); - hmrDirtyComponents.delete(oldComp); - } else if (instance.parent) { - instance.parent.effect.dirty = true; - queueJob$1(instance.parent.update); - } else if (instance.appContext.reload) { - instance.appContext.reload(); - } else if (typeof window !== "undefined") { - window.location.reload(); - } else { - console.warn( - "[HMR] Root or manually mounted instance modified. Full reload required." - ); - } - } - queuePostFlushCb$1(() => { - for (const instance of instances) { - hmrDirtyComponents.delete( - normalizeClassComponent(instance.type) - ); - } - }); -} -function updateComponentDef(oldComp, newComp) { - extend(oldComp, newComp); - for (const key in oldComp) { - if (key !== "__file" && !(key in newComp)) { - delete oldComp[key]; - } - } -} -function tryWrap(fn) { - return (id, arg) => { - try { - return fn(id, arg); - } catch (e2) { - console.error(e2); - console.warn( - `[HMR] Something went wrong during Vue component hot-reload. Full reload required.` - ); - } - }; -} -{ - const g = getGlobalThis$1(); - const registerGlobalSetter = (key, setter) => { - let setters; - if (!(setters = g[key])) - setters = g[key] = []; - setters.push(setter); - return (v) => { - if (setters.length > 1) - setters.forEach((set2) => set2(v)); - else - setters[0](v); - }; - }; - registerGlobalSetter( - `__VUE_INSTANCE_SETTERS__`, - (v) => v - ); - registerGlobalSetter( - `__VUE_SSR_SETTERS__`, - (v) => v - ); -} -const classifyRE$1 = /(?:^|[-_])(\w)/g; -const classify$1 = (str) => str.replace(classifyRE$1, (c) => c.toUpperCase()).replace(/[-_]/g, ""); -function getComponentName$1(Component2, includeInferred = true) { - return isFunction$1(Component2) ? Component2.displayName || Component2.name : Component2.name || includeInferred && Component2.__name; -} -function formatComponentName$1(instance, Component2, isRoot = false) { - let name = getComponentName$1(Component2); - if (!name && Component2.__file) { - const match = Component2.__file.match(/([^/\\]+)\.\w+$/); - if (match) { - name = match[1]; - } - } - if (!name && instance && instance.parent) { - const inferFromRegistry = (registry) => { - for (const key in registry) { - if (registry[key] === Component2) { - return key; - } - } - }; - name = inferFromRegistry( - instance.components || instance.parent.type.components - ) || inferFromRegistry(instance.appContext.components); - } - return name ? classify$1(name) : isRoot ? `App` : `Anonymous`; -} -function isClassComponent$1(value) { - return isFunction$1(value) && "__vccOpts" in value; -} -/** -* @dcloudio/uni-mp-vue v3.4.21 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/ -function warn$2(msg, ...args) { - console.warn(`[Vue warn] ${msg}`, ...args); -} -let activeEffectScope; -class EffectScope { - constructor(detached = false) { - this.detached = detached; - this._active = true; - this.effects = []; - this.cleanups = []; - this.parent = activeEffectScope; - if (!detached && activeEffectScope) { - this.index = (activeEffectScope.scopes || (activeEffectScope.scopes = [])).push( - this - ) - 1; - } - } - get active() { - return this._active; - } - run(fn) { - if (this._active) { - const currentEffectScope = activeEffectScope; - try { - activeEffectScope = this; - return fn(); - } finally { - activeEffectScope = currentEffectScope; - } - } else { - warn$2(`cannot run an inactive effect scope.`); - } - } - /** - * This should only be called on non-detached scopes - * @internal - */ - on() { - activeEffectScope = this; - } - /** - * This should only be called on non-detached scopes - * @internal - */ - off() { - activeEffectScope = this.parent; - } - stop(fromParent) { - if (this._active) { - let i, l; - for (i = 0, l = this.effects.length; i < l; i++) { - this.effects[i].stop(); - } - for (i = 0, l = this.cleanups.length; i < l; i++) { - this.cleanups[i](); - } - if (this.scopes) { - for (i = 0, l = this.scopes.length; i < l; i++) { - this.scopes[i].stop(true); - } - } - if (!this.detached && this.parent && !fromParent) { - const last = this.parent.scopes.pop(); - if (last && last !== this) { - this.parent.scopes[this.index] = last; - last.index = this.index; - } - } - this.parent = void 0; - this._active = false; - } - } -} -function recordEffectScope(effect, scope = activeEffectScope) { - if (scope && scope.active) { - scope.effects.push(effect); - } -} -function getCurrentScope() { - return activeEffectScope; -} -let activeEffect; -class ReactiveEffect { - constructor(fn, trigger2, scheduler, scope) { - this.fn = fn; - this.trigger = trigger2; - this.scheduler = scheduler; - this.active = true; - this.deps = []; - this._dirtyLevel = 4; - this._trackId = 0; - this._runnings = 0; - this._shouldSchedule = false; - this._depsLength = 0; - recordEffectScope(this, scope); - } - get dirty() { - if (this._dirtyLevel === 2 || this._dirtyLevel === 3) { - this._dirtyLevel = 1; - pauseTracking(); - for (let i = 0; i < this._depsLength; i++) { - const dep = this.deps[i]; - if (dep.computed) { - triggerComputed(dep.computed); - if (this._dirtyLevel >= 4) { - break; - } - } - } - if (this._dirtyLevel === 1) { - this._dirtyLevel = 0; - } - resetTracking(); - } - return this._dirtyLevel >= 4; - } - set dirty(v) { - this._dirtyLevel = v ? 4 : 0; - } - run() { - this._dirtyLevel = 0; - if (!this.active) { - return this.fn(); - } - let lastShouldTrack = shouldTrack; - let lastEffect = activeEffect; - try { - shouldTrack = true; - activeEffect = this; - this._runnings++; - preCleanupEffect(this); - return this.fn(); - } finally { - postCleanupEffect(this); - this._runnings--; - activeEffect = lastEffect; - shouldTrack = lastShouldTrack; - } - } - stop() { - var _a; - if (this.active) { - preCleanupEffect(this); - postCleanupEffect(this); - (_a = this.onStop) == null ? void 0 : _a.call(this); - this.active = false; - } - } -} -function triggerComputed(computed2) { - return computed2.value; -} -function preCleanupEffect(effect2) { - effect2._trackId++; - effect2._depsLength = 0; -} -function postCleanupEffect(effect2) { - if (effect2.deps.length > effect2._depsLength) { - for (let i = effect2._depsLength; i < effect2.deps.length; i++) { - cleanupDepEffect(effect2.deps[i], effect2); - } - effect2.deps.length = effect2._depsLength; - } -} -function cleanupDepEffect(dep, effect2) { - const trackId = dep.get(effect2); - if (trackId !== void 0 && effect2._trackId !== trackId) { - dep.delete(effect2); - if (dep.size === 0) { - dep.cleanup(); - } - } -} -let shouldTrack = true; -let pauseScheduleStack = 0; -const trackStack = []; -function pauseTracking() { - trackStack.push(shouldTrack); - shouldTrack = false; -} -function resetTracking() { - const last = trackStack.pop(); - shouldTrack = last === void 0 ? true : last; -} -function pauseScheduling() { - pauseScheduleStack++; -} -function resetScheduling() { - pauseScheduleStack--; - while (!pauseScheduleStack && queueEffectSchedulers.length) { - queueEffectSchedulers.shift()(); - } -} -function trackEffect(effect2, dep, debuggerEventExtraInfo) { - var _a; - if (dep.get(effect2) !== effect2._trackId) { - dep.set(effect2, effect2._trackId); - const oldDep = effect2.deps[effect2._depsLength]; - if (oldDep !== dep) { - if (oldDep) { - cleanupDepEffect(oldDep, effect2); - } - effect2.deps[effect2._depsLength++] = dep; - } else { - effect2._depsLength++; - } - { - (_a = effect2.onTrack) == null ? void 0 : _a.call(effect2, extend({ effect: effect2 }, debuggerEventExtraInfo)); - } - } -} -const queueEffectSchedulers = []; -function triggerEffects(dep, dirtyLevel, debuggerEventExtraInfo) { - var _a; - pauseScheduling(); - for (const effect2 of dep.keys()) { - let tracking; - if (effect2._dirtyLevel < dirtyLevel && (tracking != null ? tracking : tracking = dep.get(effect2) === effect2._trackId)) { - effect2._shouldSchedule || (effect2._shouldSchedule = effect2._dirtyLevel === 0); - effect2._dirtyLevel = dirtyLevel; - } - if (effect2._shouldSchedule && (tracking != null ? tracking : tracking = dep.get(effect2) === effect2._trackId)) { - { - (_a = effect2.onTrigger) == null ? void 0 : _a.call(effect2, extend({ effect: effect2 }, debuggerEventExtraInfo)); - } - effect2.trigger(); - if ((!effect2._runnings || effect2.allowRecurse) && effect2._dirtyLevel !== 2) { - effect2._shouldSchedule = false; - if (effect2.scheduler) { - queueEffectSchedulers.push(effect2.scheduler); - } - } - } - } - resetScheduling(); -} -const createDep = (cleanup, computed2) => { - const dep = /* @__PURE__ */ new Map(); - dep.cleanup = cleanup; - dep.computed = computed2; - return dep; -}; -const targetMap = /* @__PURE__ */ new WeakMap(); -const ITERATE_KEY = Symbol("iterate"); -const MAP_KEY_ITERATE_KEY = Symbol("Map key iterate"); -function track(target, type, key) { - if (shouldTrack && activeEffect) { - let depsMap = targetMap.get(target); - if (!depsMap) { - targetMap.set(target, depsMap = /* @__PURE__ */ new Map()); - } - let dep = depsMap.get(key); - if (!dep) { - depsMap.set(key, dep = createDep(() => depsMap.delete(key))); - } - trackEffect( - activeEffect, - dep, - { - target, - type, - key - } - ); - } -} -function trigger(target, type, key, newValue, oldValue, oldTarget) { - const depsMap = targetMap.get(target); - if (!depsMap) { - return; - } - let deps = []; - if (type === "clear") { - deps = [...depsMap.values()]; - } else if (key === "length" && isArray$2(target)) { - const newLength = Number(newValue); - depsMap.forEach((dep, key2) => { - if (key2 === "length" || !isSymbol(key2) && key2 >= newLength) { - deps.push(dep); - } - }); - } else { - if (key !== void 0) { - deps.push(depsMap.get(key)); - } - switch (type) { - case "add": - if (!isArray$2(target)) { - deps.push(depsMap.get(ITERATE_KEY)); - if (isMap(target)) { - deps.push(depsMap.get(MAP_KEY_ITERATE_KEY)); - } - } else if (isIntegerKey(key)) { - deps.push(depsMap.get("length")); - } - break; - case "delete": - if (!isArray$2(target)) { - deps.push(depsMap.get(ITERATE_KEY)); - if (isMap(target)) { - deps.push(depsMap.get(MAP_KEY_ITERATE_KEY)); - } - } - break; - case "set": - if (isMap(target)) { - deps.push(depsMap.get(ITERATE_KEY)); - } - break; - } - } - pauseScheduling(); - for (const dep of deps) { - if (dep) { - triggerEffects( - dep, - 4, - { - target, - type, - key, - newValue, - oldValue, - oldTarget - } - ); - } - } - resetScheduling(); -} -const isNonTrackableKeys = /* @__PURE__ */ makeMap(`__proto__,__v_isRef,__isVue`); -const builtInSymbols = new Set( - /* @__PURE__ */ Object.getOwnPropertyNames(Symbol).filter((key) => key !== "arguments" && key !== "caller").map((key) => Symbol[key]).filter(isSymbol) -); -const arrayInstrumentations = /* @__PURE__ */ createArrayInstrumentations(); -function createArrayInstrumentations() { - const instrumentations = {}; - ["includes", "indexOf", "lastIndexOf"].forEach((key) => { - instrumentations[key] = function(...args) { - const arr = toRaw(this); - for (let i = 0, l = this.length; i < l; i++) { - track(arr, "get", i + ""); - } - const res = arr[key](...args); - if (res === -1 || res === false) { - return arr[key](...args.map(toRaw)); - } else { - return res; - } - }; - }); - ["push", "pop", "shift", "unshift", "splice"].forEach((key) => { - instrumentations[key] = function(...args) { - pauseTracking(); - pauseScheduling(); - const res = toRaw(this)[key].apply(this, args); - resetScheduling(); - resetTracking(); - return res; - }; - }); - return instrumentations; -} -function hasOwnProperty$2(key) { - const obj = toRaw(this); - track(obj, "has", key); - return obj.hasOwnProperty(key); -} -class BaseReactiveHandler { - constructor(_isReadonly = false, _isShallow = false) { - this._isReadonly = _isReadonly; - this._isShallow = _isShallow; - } - get(target, key, receiver) { - const isReadonly2 = this._isReadonly, isShallow2 = this._isShallow; - if (key === "__v_isReactive") { - return !isReadonly2; - } else if (key === "__v_isReadonly") { - return isReadonly2; - } else if (key === "__v_isShallow") { - return isShallow2; - } else if (key === "__v_raw") { - if (receiver === (isReadonly2 ? isShallow2 ? shallowReadonlyMap : readonlyMap : isShallow2 ? shallowReactiveMap : reactiveMap).get(target) || // receiver is not the reactive proxy, but has the same prototype - // this means the reciever is a user proxy of the reactive proxy - Object.getPrototypeOf(target) === Object.getPrototypeOf(receiver)) { - return target; - } - return; - } - const targetIsArray = isArray$2(target); - if (!isReadonly2) { - if (targetIsArray && hasOwn$2(arrayInstrumentations, key)) { - return Reflect.get(arrayInstrumentations, key, receiver); - } - if (key === "hasOwnProperty") { - return hasOwnProperty$2; - } - } - const res = Reflect.get(target, key, receiver); - if (isSymbol(key) ? builtInSymbols.has(key) : isNonTrackableKeys(key)) { - return res; - } - if (!isReadonly2) { - track(target, "get", key); - } - if (isShallow2) { - return res; - } - if (isRef(res)) { - return targetIsArray && isIntegerKey(key) ? res : res.value; - } - if (isObject$3(res)) { - return isReadonly2 ? readonly(res) : reactive(res); - } - return res; - } -} -class MutableReactiveHandler extends BaseReactiveHandler { - constructor(isShallow2 = false) { - super(false, isShallow2); - } - set(target, key, value, receiver) { - let oldValue = target[key]; - if (!this._isShallow) { - const isOldValueReadonly = isReadonly(oldValue); - if (!isShallow(value) && !isReadonly(value)) { - oldValue = toRaw(oldValue); - value = toRaw(value); - } - if (!isArray$2(target) && isRef(oldValue) && !isRef(value)) { - if (isOldValueReadonly) { - return false; - } else { - oldValue.value = value; - return true; - } - } - } - const hadKey = isArray$2(target) && isIntegerKey(key) ? Number(key) < target.length : hasOwn$2(target, key); - const result = Reflect.set(target, key, value, receiver); - if (target === toRaw(receiver)) { - if (!hadKey) { - trigger(target, "add", key, value); - } else if (hasChanged(value, oldValue)) { - trigger(target, "set", key, value, oldValue); - } - } - return result; - } - deleteProperty(target, key) { - const hadKey = hasOwn$2(target, key); - const oldValue = target[key]; - const result = Reflect.deleteProperty(target, key); - if (result && hadKey) { - trigger(target, "delete", key, void 0, oldValue); - } - return result; - } - has(target, key) { - const result = Reflect.has(target, key); - if (!isSymbol(key) || !builtInSymbols.has(key)) { - track(target, "has", key); - } - return result; - } - ownKeys(target) { - track( - target, - "iterate", - isArray$2(target) ? "length" : ITERATE_KEY - ); - return Reflect.ownKeys(target); - } -} -class ReadonlyReactiveHandler extends BaseReactiveHandler { - constructor(isShallow2 = false) { - super(true, isShallow2); - } - set(target, key) { - { - warn$2( - `Set operation on key "${String(key)}" failed: target is readonly.`, - target - ); - } - return true; - } - deleteProperty(target, key) { - { - warn$2( - `Delete operation on key "${String(key)}" failed: target is readonly.`, - target - ); - } - return true; - } -} -const mutableHandlers = /* @__PURE__ */ new MutableReactiveHandler(); -const readonlyHandlers = /* @__PURE__ */ new ReadonlyReactiveHandler(); -const shallowReactiveHandlers = /* @__PURE__ */ new MutableReactiveHandler( - true -); -const shallowReadonlyHandlers = /* @__PURE__ */ new ReadonlyReactiveHandler(true); -const toShallow = (value) => value; -const getProto = (v) => Reflect.getPrototypeOf(v); -function get(target, key, isReadonly2 = false, isShallow2 = false) { - target = target["__v_raw"]; - const rawTarget = toRaw(target); - const rawKey = toRaw(key); - if (!isReadonly2) { - if (hasChanged(key, rawKey)) { - track(rawTarget, "get", key); - } - track(rawTarget, "get", rawKey); - } - const { has: has2 } = getProto(rawTarget); - const wrap = isShallow2 ? toShallow : isReadonly2 ? toReadonly : toReactive; - if (has2.call(rawTarget, key)) { - return wrap(target.get(key)); - } else if (has2.call(rawTarget, rawKey)) { - return wrap(target.get(rawKey)); - } else if (target !== rawTarget) { - target.get(key); - } -} -function has(key, isReadonly2 = false) { - const target = this["__v_raw"]; - const rawTarget = toRaw(target); - const rawKey = toRaw(key); - if (!isReadonly2) { - if (hasChanged(key, rawKey)) { - track(rawTarget, "has", key); - } - track(rawTarget, "has", rawKey); - } - return key === rawKey ? target.has(key) : target.has(key) || target.has(rawKey); -} -function size(target, isReadonly2 = false) { - target = target["__v_raw"]; - !isReadonly2 && track(toRaw(target), "iterate", ITERATE_KEY); - return Reflect.get(target, "size", target); -} -function add$1(value) { - value = toRaw(value); - const target = toRaw(this); - const proto = getProto(target); - const hadKey = proto.has.call(target, value); - if (!hadKey) { - target.add(value); - trigger(target, "add", value, value); - } - return this; -} -function set$1(key, value) { - value = toRaw(value); - const target = toRaw(this); - const { has: has2, get: get2 } = getProto(target); - let hadKey = has2.call(target, key); - if (!hadKey) { - key = toRaw(key); - hadKey = has2.call(target, key); - } else { - checkIdentityKeys(target, has2, key); - } - const oldValue = get2.call(target, key); - target.set(key, value); - if (!hadKey) { - trigger(target, "add", key, value); - } else if (hasChanged(value, oldValue)) { - trigger(target, "set", key, value, oldValue); - } - return this; -} -function deleteEntry(key) { - const target = toRaw(this); - const { has: has2, get: get2 } = getProto(target); - let hadKey = has2.call(target, key); - if (!hadKey) { - key = toRaw(key); - hadKey = has2.call(target, key); - } else { - checkIdentityKeys(target, has2, key); - } - const oldValue = get2 ? get2.call(target, key) : void 0; - const result = target.delete(key); - if (hadKey) { - trigger(target, "delete", key, void 0, oldValue); - } - return result; -} -function clear() { - const target = toRaw(this); - const hadItems = target.size !== 0; - const oldTarget = isMap(target) ? new Map(target) : new Set(target); - const result = target.clear(); - if (hadItems) { - trigger(target, "clear", void 0, void 0, oldTarget); - } - return result; -} -function createForEach(isReadonly2, isShallow2) { - return function forEach3(callback, thisArg) { - const observed = this; - const target = observed["__v_raw"]; - const rawTarget = toRaw(target); - const wrap = isShallow2 ? toShallow : isReadonly2 ? toReadonly : toReactive; - !isReadonly2 && track(rawTarget, "iterate", ITERATE_KEY); - return target.forEach((value, key) => { - return callback.call(thisArg, wrap(value), wrap(key), observed); - }); - }; -} -function createIterableMethod(method, isReadonly2, isShallow2) { - return function(...args) { - const target = this["__v_raw"]; - const rawTarget = toRaw(target); - const targetIsMap = isMap(rawTarget); - const isPair = method === "entries" || method === Symbol.iterator && targetIsMap; - const isKeyOnly = method === "keys" && targetIsMap; - const innerIterator = target[method](...args); - const wrap = isShallow2 ? toShallow : isReadonly2 ? toReadonly : toReactive; - !isReadonly2 && track( - rawTarget, - "iterate", - isKeyOnly ? MAP_KEY_ITERATE_KEY : ITERATE_KEY - ); - return { - // iterator protocol - next() { - const { value, done } = innerIterator.next(); - return done ? { value, done } : { - value: isPair ? [wrap(value[0]), wrap(value[1])] : wrap(value), - done - }; - }, - // iterable protocol - [Symbol.iterator]() { - return this; - } - }; - }; -} -function createReadonlyMethod(type) { - return function(...args) { - { - const key = args[0] ? `on key "${args[0]}" ` : ``; - warn$2( - `${capitalize(type)} operation ${key}failed: target is readonly.`, - toRaw(this) - ); - } - return type === "delete" ? false : type === "clear" ? void 0 : this; - }; -} -function createInstrumentations() { - const mutableInstrumentations2 = { - get(key) { - return get(this, key); - }, - get size() { - return size(this); - }, - has, - add: add$1, - set: set$1, - delete: deleteEntry, - clear, - forEach: createForEach(false, false) - }; - const shallowInstrumentations2 = { - get(key) { - return get(this, key, false, true); - }, - get size() { - return size(this); - }, - has, - add: add$1, - set: set$1, - delete: deleteEntry, - clear, - forEach: createForEach(false, true) - }; - const readonlyInstrumentations2 = { - get(key) { - return get(this, key, true); - }, - get size() { - return size(this, true); - }, - has(key) { - return has.call(this, key, true); - }, - add: createReadonlyMethod("add"), - set: createReadonlyMethod("set"), - delete: createReadonlyMethod("delete"), - clear: createReadonlyMethod("clear"), - forEach: createForEach(true, false) - }; - const shallowReadonlyInstrumentations2 = { - get(key) { - return get(this, key, true, true); - }, - get size() { - return size(this, true); - }, - has(key) { - return has.call(this, key, true); - }, - add: createReadonlyMethod("add"), - set: createReadonlyMethod("set"), - delete: createReadonlyMethod("delete"), - clear: createReadonlyMethod("clear"), - forEach: createForEach(true, true) - }; - const iteratorMethods = [ - "keys", - "values", - "entries", - Symbol.iterator - ]; - iteratorMethods.forEach((method) => { - mutableInstrumentations2[method] = createIterableMethod(method, false, false); - readonlyInstrumentations2[method] = createIterableMethod(method, true, false); - shallowInstrumentations2[method] = createIterableMethod(method, false, true); - shallowReadonlyInstrumentations2[method] = createIterableMethod( - method, - true, - true - ); - }); - return [ - mutableInstrumentations2, - readonlyInstrumentations2, - shallowInstrumentations2, - shallowReadonlyInstrumentations2 - ]; -} -const [ - mutableInstrumentations, - readonlyInstrumentations, - shallowInstrumentations, - shallowReadonlyInstrumentations -] = /* @__PURE__ */ createInstrumentations(); -function createInstrumentationGetter(isReadonly2, shallow) { - const instrumentations = shallow ? isReadonly2 ? shallowReadonlyInstrumentations : shallowInstrumentations : isReadonly2 ? readonlyInstrumentations : mutableInstrumentations; - return (target, key, receiver) => { - if (key === "__v_isReactive") { - return !isReadonly2; - } else if (key === "__v_isReadonly") { - return isReadonly2; - } else if (key === "__v_raw") { - return target; - } - return Reflect.get( - hasOwn$2(instrumentations, key) && key in target ? instrumentations : target, - key, - receiver - ); - }; -} -const mutableCollectionHandlers = { - get: /* @__PURE__ */ createInstrumentationGetter(false, false) -}; -const shallowCollectionHandlers = { - get: /* @__PURE__ */ createInstrumentationGetter(false, true) -}; -const readonlyCollectionHandlers = { - get: /* @__PURE__ */ createInstrumentationGetter(true, false) -}; -const shallowReadonlyCollectionHandlers = { - get: /* @__PURE__ */ createInstrumentationGetter(true, true) -}; -function checkIdentityKeys(target, has2, key) { - const rawKey = toRaw(key); - if (rawKey !== key && has2.call(target, rawKey)) { - const type = toRawType(target); - warn$2( - `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.` - ); - } -} -const reactiveMap = /* @__PURE__ */ new WeakMap(); -const shallowReactiveMap = /* @__PURE__ */ new WeakMap(); -const readonlyMap = /* @__PURE__ */ new WeakMap(); -const shallowReadonlyMap = /* @__PURE__ */ new WeakMap(); -function targetTypeMap(rawType) { - switch (rawType) { - case "Object": - case "Array": - return 1; - case "Map": - case "Set": - case "WeakMap": - case "WeakSet": - return 2; - default: - return 0; - } -} -function getTargetType(value) { - return value["__v_skip"] || !Object.isExtensible(value) ? 0 : targetTypeMap(toRawType(value)); -} -function reactive(target) { - if (isReadonly(target)) { - return target; - } - return createReactiveObject( - target, - false, - mutableHandlers, - mutableCollectionHandlers, - reactiveMap - ); -} -function shallowReactive(target) { - return createReactiveObject( - target, - false, - shallowReactiveHandlers, - shallowCollectionHandlers, - shallowReactiveMap - ); -} -function readonly(target) { - return createReactiveObject( - target, - true, - readonlyHandlers, - readonlyCollectionHandlers, - readonlyMap - ); -} -function shallowReadonly(target) { - return createReactiveObject( - target, - true, - shallowReadonlyHandlers, - shallowReadonlyCollectionHandlers, - shallowReadonlyMap - ); -} -function createReactiveObject(target, isReadonly2, baseHandlers, collectionHandlers, proxyMap) { - if (!isObject$3(target)) { - { - warn$2(`value cannot be made reactive: ${String(target)}`); - } - return target; - } - if (target["__v_raw"] && !(isReadonly2 && target["__v_isReactive"])) { - return target; - } - const existingProxy = proxyMap.get(target); - if (existingProxy) { - return existingProxy; - } - const targetType = getTargetType(target); - if (targetType === 0) { - return target; - } - const proxy = new Proxy( - target, - targetType === 2 ? collectionHandlers : baseHandlers - ); - proxyMap.set(target, proxy); - return proxy; -} -function isReactive(value) { - if (isReadonly(value)) { - return isReactive(value["__v_raw"]); - } - return !!(value && value["__v_isReactive"]); -} -function isReadonly(value) { - return !!(value && value["__v_isReadonly"]); -} -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; -} -function markRaw(value) { - if (Object.isExtensible(value)) { - def(value, "__v_skip", true); - } - return value; -} -const toReactive = (value) => isObject$3(value) ? reactive(value) : value; -const toReadonly = (value) => isObject$3(value) ? readonly(value) : value; -const 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`; -class ComputedRefImpl { - constructor(getter, _setter, isReadonly2, isSSR) { - this.getter = getter; - this._setter = _setter; - this.dep = void 0; - this.__v_isRef = true; - this["__v_isReadonly"] = false; - this.effect = new ReactiveEffect( - () => getter(this._value), - () => triggerRefValue( - this, - this.effect._dirtyLevel === 2 ? 2 : 3 - ) - ); - this.effect.computed = this; - this.effect.active = this._cacheable = !isSSR; - this["__v_isReadonly"] = isReadonly2; - } - get value() { - const self2 = toRaw(this); - if ((!self2._cacheable || self2.effect.dirty) && hasChanged(self2._value, self2._value = self2.effect.run())) { - triggerRefValue(self2, 4); - } - trackRefValue(self2); - if (self2.effect._dirtyLevel >= 2) { - if (this._warnRecursive) { - warn$2(COMPUTED_SIDE_EFFECT_WARN, ` - -getter: `, this.getter); - } - triggerRefValue(self2, 2); - } - return self2._value; - } - set value(newValue) { - this._setter(newValue); - } - // #region polyfill _dirty for backward compatibility third party code for Vue <= 3.3.x - get _dirty() { - return this.effect.dirty; - } - set _dirty(v) { - this.effect.dirty = v; - } - // #endregion -} -function computed$1(getterOrOptions, debugOptions, isSSR = false) { - let getter; - let setter; - const onlyGetter = isFunction$1(getterOrOptions); - if (onlyGetter) { - getter = getterOrOptions; - setter = () => { - warn$2("Write operation failed: computed value is readonly"); - }; - } else { - getter = getterOrOptions.get; - setter = getterOrOptions.set; - } - const cRef = new ComputedRefImpl(getter, setter, onlyGetter || !setter, isSSR); - if (debugOptions && !isSSR) { - cRef.effect.onTrack = debugOptions.onTrack; - cRef.effect.onTrigger = debugOptions.onTrigger; - } - return cRef; -} -function trackRefValue(ref2) { - var _a; - if (shouldTrack && activeEffect) { - ref2 = toRaw(ref2); - trackEffect( - activeEffect, - (_a = ref2.dep) != null ? _a : ref2.dep = createDep( - () => ref2.dep = void 0, - ref2 instanceof ComputedRefImpl ? ref2 : void 0 - ), - { - target: ref2, - type: "get", - key: "value" - } - ); - } -} -function triggerRefValue(ref2, dirtyLevel = 4, newVal) { - ref2 = toRaw(ref2); - const dep = ref2.dep; - if (dep) { - triggerEffects( - dep, - dirtyLevel, - { - target: ref2, - type: "set", - key: "value", - newValue: newVal - } - ); - } -} -function isRef(r2) { - return !!(r2 && r2.__v_isRef === true); -} -function ref(value) { - return createRef(value, false); -} -function createRef(rawValue, shallow) { - if (isRef(rawValue)) { - return rawValue; - } - return new RefImpl(rawValue, shallow); -} -class RefImpl { - constructor(value, __v_isShallow) { - this.__v_isShallow = __v_isShallow; - this.dep = void 0; - this.__v_isRef = true; - this._rawValue = __v_isShallow ? value : toRaw(value); - this._value = __v_isShallow ? value : toReactive(value); - } - get value() { - trackRefValue(this); - return this._value; - } - set value(newVal) { - const useDirectValue = this.__v_isShallow || isShallow(newVal) || isReadonly(newVal); - newVal = useDirectValue ? newVal : toRaw(newVal); - if (hasChanged(newVal, this._rawValue)) { - this._rawValue = newVal; - this._value = useDirectValue ? newVal : toReactive(newVal); - triggerRefValue(this, 4, newVal); - } - } -} -function unref(ref2) { - return isRef(ref2) ? ref2.value : ref2; -} -const shallowUnwrapHandlers = { - get: (target, key, receiver) => unref(Reflect.get(target, key, receiver)), - set: (target, key, value, receiver) => { - const oldValue = target[key]; - if (isRef(oldValue) && !isRef(value)) { - oldValue.value = value; - return true; - } else { - return Reflect.set(target, key, value, receiver); - } - } -}; -function proxyRefs(objectWithRefs) { - return isReactive(objectWithRefs) ? objectWithRefs : new Proxy(objectWithRefs, shallowUnwrapHandlers); -} -const stack = []; -function pushWarningContext(vnode) { - stack.push(vnode); -} -function popWarningContext() { - stack.pop(); -} -function warn$1(msg, ...args) { - pauseTracking(); - const instance = stack.length ? stack[stack.length - 1].component : null; - const appWarnHandler = instance && instance.appContext.config.warnHandler; - const trace = getComponentTrace(); - if (appWarnHandler) { - callWithErrorHandling( - appWarnHandler, - instance, - 11, - [ - msg + args.map((a) => { - var _a, _b; - return (_b = (_a = a.toString) == null ? void 0 : _a.call(a)) != null ? _b : JSON.stringify(a); - }).join(""), - instance && instance.proxy, - trace.map( - ({ vnode }) => `at <${formatComponentName(instance, vnode.type)}>` - ).join("\n"), - trace - ] - ); - } else { - const warnArgs = [`[Vue warn]: ${msg}`, ...args]; - if (trace.length && // avoid spamming console during tests - true) { - warnArgs.push(` -`, ...formatTrace(trace)); - } - console.warn(...warnArgs); - } - resetTracking(); -} -function getComponentTrace() { - let currentVNode = stack[stack.length - 1]; - if (!currentVNode) { - return []; - } - const normalizedStack = []; - while (currentVNode) { - const last = normalizedStack[0]; - if (last && last.vnode === currentVNode) { - last.recurseCount++; - } else { - normalizedStack.push({ - vnode: currentVNode, - recurseCount: 0 - }); - } - const parentInstance = currentVNode.component && currentVNode.component.parent; - currentVNode = parentInstance && parentInstance.vnode; - } - return normalizedStack; -} -function formatTrace(trace) { - const logs = []; - trace.forEach((entry, i) => { - logs.push(...i === 0 ? [] : [` -`], ...formatTraceEntry(entry)); - }); - return logs; -} -function formatTraceEntry({ vnode, recurseCount }) { - const postfix = recurseCount > 0 ? `... (${recurseCount} recursive calls)` : ``; - const isRoot = vnode.component ? vnode.component.parent == null : false; - const open = ` at <${formatComponentName( - vnode.component, - vnode.type, - isRoot - )}`; - const close = `>` + postfix; - return vnode.props ? [open, ...formatProps(vnode.props), close] : [open + close]; -} -function formatProps(props2) { - const res = []; - const keys = Object.keys(props2); - keys.slice(0, 3).forEach((key) => { - res.push(...formatProp(key, props2[key])); - }); - if (keys.length > 3) { - res.push(` ...`); - } - return res; -} -function formatProp(key, value, raw) { - if (isString$1(value)) { - value = JSON.stringify(value); - return raw ? value : [`${key}=${value}`]; - } else if (typeof value === "number" || typeof value === "boolean" || value == null) { - return raw ? value : [`${key}=${value}`]; - } else if (isRef(value)) { - value = formatProp(key, toRaw(value.value), true); - return raw ? value : [`${key}=Ref<`, value, `>`]; - } else if (isFunction$1(value)) { - return [`${key}=fn${value.name ? `<${value.name}>` : ``}`]; - } else { - value = toRaw(value); - return raw ? value : [`${key}=`, value]; - } -} -const ErrorTypeStrings = { - ["sp"]: "serverPrefetch hook", - ["bc"]: "beforeCreate hook", - ["c"]: "created hook", - ["bm"]: "beforeMount hook", - ["m"]: "mounted hook", - ["bu"]: "beforeUpdate hook", - ["u"]: "updated", - ["bum"]: "beforeUnmount hook", - ["um"]: "unmounted hook", - ["a"]: "activated hook", - ["da"]: "deactivated hook", - ["ec"]: "errorCaptured hook", - ["rtc"]: "renderTracked hook", - ["rtg"]: "renderTriggered hook", - [0]: "setup function", - [1]: "render function", - [2]: "watcher getter", - [3]: "watcher callback", - [4]: "watcher cleanup function", - [5]: "native event handler", - [6]: "component event handler", - [7]: "vnode hook", - [8]: "directive hook", - [9]: "transition hook", - [10]: "app errorHandler", - [11]: "app warnHandler", - [12]: "ref function", - [13]: "async component loader", - [14]: "scheduler flush. This is likely a Vue internals bug. Please open an issue at https://github.com/vuejs/core ." -}; -function callWithErrorHandling(fn, instance, type, args) { - try { - return args ? fn(...args) : fn(); - } catch (err) { - handleError(err, instance, type); - } -} -function callWithAsyncErrorHandling(fn, instance, type, args) { - if (isFunction$1(fn)) { - const res = callWithErrorHandling(fn, instance, type, args); - if (res && isPromise(res)) { - res.catch((err) => { - handleError(err, instance, type); - }); - } - return res; - } - const values = []; - for (let i = 0; i < fn.length; i++) { - values.push(callWithAsyncErrorHandling(fn[i], instance, type, args)); - } - return values; -} -function handleError(err, instance, type, throwInDev = true) { - const contextVNode = instance ? instance.vnode : null; - if (instance) { - let cur = instance.parent; - const exposedInstance = instance.proxy; - const errorInfo = ErrorTypeStrings[type] || type; - while (cur) { - const errorCapturedHooks = cur.ec; - if (errorCapturedHooks) { - for (let i = 0; i < errorCapturedHooks.length; i++) { - if (errorCapturedHooks[i](err, exposedInstance, errorInfo) === false) { - return; - } - } - } - cur = cur.parent; - } - const appErrorHandler = instance.appContext.config.errorHandler; - if (appErrorHandler) { - callWithErrorHandling( - appErrorHandler, - null, - 10, - [err, exposedInstance, errorInfo] - ); - return; - } - } - logError(err, type, contextVNode, throwInDev); -} -function logError(err, type, contextVNode, throwInDev = true) { - { - const info = ErrorTypeStrings[type] || type; - if (contextVNode) { - pushWarningContext(contextVNode); - } - warn$1(`Unhandled error${info ? ` during execution of ${info}` : ``}`); - if (contextVNode) { - popWarningContext(); - } - if (throwInDev) { - console.error(err); - } else { - console.error(err); - } - } -} -let isFlushing = false; -let isFlushPending = false; -const queue = []; -let flushIndex = 0; -const pendingPostFlushCbs = []; -let activePostFlushCbs = null; -let postFlushIndex = 0; -const resolvedPromise = /* @__PURE__ */ Promise.resolve(); -let currentFlushPromise = null; -const RECURSION_LIMIT = 100; -function nextTick$1(fn) { - const p2 = currentFlushPromise || resolvedPromise; - return fn ? p2.then(this ? fn.bind(this) : fn) : p2; -} -function findInsertionIndex(id) { - let start = flushIndex + 1; - let end = queue.length; - while (start < end) { - const middle = start + end >>> 1; - const middleJob = queue[middle]; - const middleJobId = getId(middleJob); - if (middleJobId < id || middleJobId === id && middleJob.pre) { - start = middle + 1; - } else { - end = middle; - } - } - return start; -} -function queueJob(job) { - if (!queue.length || !queue.includes( - job, - isFlushing && job.allowRecurse ? flushIndex + 1 : flushIndex - )) { - if (job.id == null) { - queue.push(job); - } else { - queue.splice(findInsertionIndex(job.id), 0, job); - } - queueFlush(); - } -} -function queueFlush() { - if (!isFlushing && !isFlushPending) { - isFlushPending = true; - currentFlushPromise = resolvedPromise.then(flushJobs); - } -} -function hasQueueJob(job) { - return queue.indexOf(job) > -1; -} -function invalidateJob(job) { - const i = queue.indexOf(job); - if (i > flushIndex) { - queue.splice(i, 1); - } -} -function queuePostFlushCb(cb) { - if (!isArray$2(cb)) { - if (!activePostFlushCbs || !activePostFlushCbs.includes( - cb, - cb.allowRecurse ? postFlushIndex + 1 : postFlushIndex - )) { - pendingPostFlushCbs.push(cb); - } - } else { - pendingPostFlushCbs.push(...cb); - } - queueFlush(); -} -function flushPreFlushCbs(instance, seen, i = isFlushing ? flushIndex + 1 : 0) { - { - seen = seen || /* @__PURE__ */ new Map(); - } - for (; i < queue.length; i++) { - const cb = queue[i]; - if (cb && cb.pre) { - if (instance && cb.id !== instance.uid) { - continue; - } - if (checkRecursiveUpdates(seen, cb)) { - continue; - } - queue.splice(i, 1); - i--; - cb(); - } - } -} -function flushPostFlushCbs(seen) { - if (pendingPostFlushCbs.length) { - const deduped = [...new Set(pendingPostFlushCbs)].sort( - (a, b) => getId(a) - getId(b) - ); - pendingPostFlushCbs.length = 0; - if (activePostFlushCbs) { - activePostFlushCbs.push(...deduped); - return; - } - activePostFlushCbs = deduped; - { - seen = seen || /* @__PURE__ */ new Map(); - } - for (postFlushIndex = 0; postFlushIndex < activePostFlushCbs.length; postFlushIndex++) { - if (checkRecursiveUpdates(seen, activePostFlushCbs[postFlushIndex])) { - continue; - } - activePostFlushCbs[postFlushIndex](); - } - activePostFlushCbs = null; - postFlushIndex = 0; - } -} -const getId = (job) => job.id == null ? Infinity : job.id; -const comparator = (a, b) => { - const diff2 = getId(a) - getId(b); - if (diff2 === 0) { - if (a.pre && !b.pre) - return -1; - if (b.pre && !a.pre) - return 1; - } - return diff2; -}; -function flushJobs(seen) { - isFlushPending = false; - isFlushing = true; - { - seen = seen || /* @__PURE__ */ new Map(); - } - queue.sort(comparator); - const check = (job) => checkRecursiveUpdates(seen, job); - try { - for (flushIndex = 0; flushIndex < queue.length; flushIndex++) { - const job = queue[flushIndex]; - if (job && job.active !== false) { - if (check(job)) { - continue; - } - callWithErrorHandling(job, null, 14); - } - } - } finally { - flushIndex = 0; - queue.length = 0; - flushPostFlushCbs(seen); - isFlushing = false; - currentFlushPromise = null; - if (queue.length || pendingPostFlushCbs.length) { - flushJobs(seen); - } - } -} -function checkRecursiveUpdates(seen, fn) { - if (!seen.has(fn)) { - seen.set(fn, 1); - } else { - const count = seen.get(fn); - if (count > RECURSION_LIMIT) { - const instance = fn.ownerInstance; - const componentName = instance && getComponentName(instance.type); - handleError( - `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.`, - null, - 10 - ); - return true; - } else { - seen.set(fn, count + 1); - } - } -} -let devtools$1; -let buffer = []; -let devtoolsNotInstalled = false; -function emit$1(event, ...args) { - if (devtools$1) { - devtools$1.emit(event, ...args); - } else if (!devtoolsNotInstalled) { - buffer.push({ event, args }); - } -} -function setDevtoolsHook(hook, target) { - var _a, _b; - devtools$1 = hook; - if (devtools$1) { - devtools$1.enabled = true; - buffer.forEach(({ event, args }) => devtools$1.emit(event, ...args)); - buffer = []; - } else if ( - // handle late devtools injection - only do this if we are in an actual - // browser environment to avoid the timer handle stalling test runner exit - // (#4815) - typeof window !== "undefined" && // some envs mock window but not fully - window.HTMLElement && // also exclude jsdom - !((_b = (_a = window.navigator) == null ? void 0 : _a.userAgent) == null ? void 0 : _b.includes("jsdom")) - ) { - const replay = target.__VUE_DEVTOOLS_HOOK_REPLAY__ = target.__VUE_DEVTOOLS_HOOK_REPLAY__ || []; - replay.push((newHook) => { - setDevtoolsHook(newHook, target); - }); - setTimeout(() => { - if (!devtools$1) { - target.__VUE_DEVTOOLS_HOOK_REPLAY__ = null; - devtoolsNotInstalled = true; - buffer = []; - } - }, 3e3); - } else { - devtoolsNotInstalled = true; - buffer = []; - } -} -function devtoolsInitApp(app, version2) { - emit$1("app:init", app, version2, { - Fragment, - Text: Text$1, - Comment, - Static - }); -} -const devtoolsComponentAdded = /* @__PURE__ */ createDevtoolsComponentHook( - "component:added" - /* COMPONENT_ADDED */ -); -const devtoolsComponentUpdated = /* @__PURE__ */ createDevtoolsComponentHook( - "component:updated" - /* COMPONENT_UPDATED */ -); -const _devtoolsComponentRemoved = /* @__PURE__ */ createDevtoolsComponentHook( - "component:removed" - /* COMPONENT_REMOVED */ -); -const devtoolsComponentRemoved = (component) => { - if (devtools$1 && typeof devtools$1.cleanupBuffer === "function" && // remove the component if it wasn't buffered - !devtools$1.cleanupBuffer(component)) { - _devtoolsComponentRemoved(component); - } -}; -/*! #__NO_SIDE_EFFECTS__ */ -// @__NO_SIDE_EFFECTS__ -function createDevtoolsComponentHook(hook) { - return (component) => { - emit$1( - hook, - component.appContext.app, - component.uid, - // fixed by xxxxxx - // 为 0 是 App,无 parent 是 Page 指向 App - component.uid === 0 ? void 0 : component.parent ? component.parent.uid : 0, - component - ); - }; -} -const devtoolsPerfStart = /* @__PURE__ */ createDevtoolsPerformanceHook( - "perf:start" - /* PERFORMANCE_START */ -); -const devtoolsPerfEnd = /* @__PURE__ */ createDevtoolsPerformanceHook( - "perf:end" - /* PERFORMANCE_END */ -); -function createDevtoolsPerformanceHook(hook) { - return (component, type, time) => { - emit$1(hook, component.appContext.app, component.uid, component, type, time); - }; -} -function devtoolsComponentEmit(component, event, params2) { - emit$1( - "component:emit", - component.appContext.app, - component, - event, - params2 - ); -} -function emit(instance, event, ...rawArgs) { - if (instance.isUnmounted) - return; - const props2 = instance.vnode.props || EMPTY_OBJ; - { - const { - emitsOptions, - propsOptions: [propsOptions] - } = instance; - if (emitsOptions) { - if (!(event in emitsOptions) && true) { - if (!propsOptions || !(toHandlerKey(event) in propsOptions)) { - warn$1( - `Component emitted event "${event}" but it is neither declared in the emits option nor as an "${toHandlerKey(event)}" prop.` - ); - } - } else { - const validator = emitsOptions[event]; - if (isFunction$1(validator)) { - const isValid = validator(...rawArgs); - if (!isValid) { - warn$1( - `Invalid event arguments: event validation failed for event "${event}".` - ); - } - } - } - } - } - let args = rawArgs; - const isModelListener2 = event.startsWith("update:"); - const modelArg = isModelListener2 && event.slice(7); - if (modelArg && modelArg in props2) { - const modifiersKey = `${modelArg === "modelValue" ? "model" : modelArg}Modifiers`; - const { number: number2, trim: trim2 } = props2[modifiersKey] || EMPTY_OBJ; - if (trim2) { - args = rawArgs.map((a) => isString$1(a) ? a.trim() : a); - } - if (number2) { - args = rawArgs.map(looseToNumber); - } - } - { - devtoolsComponentEmit(instance, event, args); - } - { - const lowerCaseEvent = event.toLowerCase(); - if (lowerCaseEvent !== event && props2[toHandlerKey(lowerCaseEvent)]) { - warn$1( - `Event "${lowerCaseEvent}" is emitted in component ${formatComponentName( - instance, - instance.type - )} 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( - event - )}" instead of "${event}".` - ); - } - } - let handlerName; - let handler = props2[handlerName = toHandlerKey(event)] || // also try camelCase event handler (#2249) - props2[handlerName = toHandlerKey(camelize(event))]; - if (!handler && isModelListener2) { - handler = props2[handlerName = toHandlerKey(hyphenate(event))]; - } - if (handler) { - callWithAsyncErrorHandling( - handler, - instance, - 6, - args - ); - } - const onceHandler = props2[handlerName + `Once`]; - if (onceHandler) { - if (!instance.emitted) { - instance.emitted = {}; - } else if (instance.emitted[handlerName]) { - return; - } - instance.emitted[handlerName] = true; - callWithAsyncErrorHandling( - onceHandler, - instance, - 6, - args - ); - } -} -function normalizeEmitsOptions(comp, appContext, asMixin = false) { - const cache2 = appContext.emitsCache; - const cached = cache2.get(comp); - if (cached !== void 0) { - return cached; - } - const raw = comp.emits; - let normalized = {}; - let hasExtends = false; - if (!isFunction$1(comp)) { - const extendEmits = (raw2) => { - const normalizedFromExtend = normalizeEmitsOptions(raw2, appContext, true); - if (normalizedFromExtend) { - hasExtends = true; - extend(normalized, normalizedFromExtend); - } - }; - if (!asMixin && appContext.mixins.length) { - appContext.mixins.forEach(extendEmits); - } - if (comp.extends) { - extendEmits(comp.extends); - } - if (comp.mixins) { - comp.mixins.forEach(extendEmits); - } - } - if (!raw && !hasExtends) { - if (isObject$3(comp)) { - cache2.set(comp, null); - } - return null; - } - if (isArray$2(raw)) { - raw.forEach((key) => normalized[key] = null); - } else { - extend(normalized, raw); - } - if (isObject$3(comp)) { - cache2.set(comp, normalized); - } - return normalized; -} -function isEmitListener(options, key) { - if (!options || !isOn(key)) { - return false; - } - key = key.slice(2).replace(/Once$/, ""); - return hasOwn$2(options, key[0].toLowerCase() + key.slice(1)) || hasOwn$2(options, hyphenate(key)) || hasOwn$2(options, key); -} -let currentRenderingInstance = null; -function setCurrentRenderingInstance(instance) { - const prev = currentRenderingInstance; - currentRenderingInstance = 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$1(cb)) { - warn$1( - `\`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.` - ); - } - return doWatch(source, cb, options); -} -function doWatch(source, cb, { - immediate, - deep, - flush, - once: once2, - onTrack, - onTrigger -} = EMPTY_OBJ) { - if (cb && once2) { - const _cb = cb; - cb = (...args) => { - _cb(...args); - unwatch(); - }; - } - if (deep !== void 0 && typeof deep === "number") { - warn$1( - `watch() "deep" option with number value will be used as watch depth in future versions. Please use a boolean instead to avoid potential breakage.` - ); - } - if (!cb) { - if (immediate !== void 0) { - warn$1( - `watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.` - ); - } - if (deep !== void 0) { - warn$1( - `watch() "deep" option is only respected when using the watch(source, callback, options?) signature.` - ); - } - if (once2 !== void 0) { - warn$1( - `watch() "once" option is only respected when using the watch(source, callback, options?) signature.` - ); - } - } - const warnInvalidSource = (s2) => { - warn$1( - `Invalid watch source: `, - s2, - `A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.` - ); - }; - const instance = currentInstance; - const reactiveGetter = (source2) => deep === true ? source2 : ( - // for deep: false, only traverse root-level properties - traverse(source2, deep === false ? 1 : void 0) - ); - let getter; - let forceTrigger = false; - let isMultiSource = false; - if (isRef(source)) { - getter = () => source.value; - forceTrigger = isShallow(source); - } else if (isReactive(source)) { - getter = () => reactiveGetter(source); - forceTrigger = true; - } else if (isArray$2(source)) { - isMultiSource = true; - forceTrigger = source.some((s2) => isReactive(s2) || isShallow(s2)); - getter = () => source.map((s2) => { - if (isRef(s2)) { - return s2.value; - } else if (isReactive(s2)) { - return reactiveGetter(s2); - } else if (isFunction$1(s2)) { - return callWithErrorHandling(s2, instance, 2); - } else { - warnInvalidSource(s2); - } - }); - } else if (isFunction$1(source)) { - if (cb) { - getter = () => callWithErrorHandling(source, instance, 2); - } else { - getter = () => { - if (cleanup) { - cleanup(); - } - return callWithAsyncErrorHandling( - source, - instance, - 3, - [onCleanup] - ); - }; - } - } else { - getter = NOOP; - warnInvalidSource(source); - } - if (cb && deep) { - const baseGetter = getter; - getter = () => traverse(baseGetter()); - } - let cleanup; - let onCleanup = (fn) => { - cleanup = effect.onStop = () => { - callWithErrorHandling(fn, instance, 4); - cleanup = effect.onStop = void 0; - }; - }; - let oldValue = isMultiSource ? new Array(source.length).fill(INITIAL_WATCHER_VALUE) : INITIAL_WATCHER_VALUE; - const job = () => { - if (!effect.active || !effect.dirty) { - return; - } - if (cb) { - const newValue = effect.run(); - if (deep || forceTrigger || (isMultiSource ? newValue.some((v, i) => hasChanged(v, oldValue[i])) : hasChanged(newValue, oldValue)) || false) { - if (cleanup) { - cleanup(); - } - callWithAsyncErrorHandling(cb, instance, 3, [ - newValue, - // pass undefined as the old value when it's changed for the first time - oldValue === INITIAL_WATCHER_VALUE ? void 0 : isMultiSource && oldValue[0] === INITIAL_WATCHER_VALUE ? [] : oldValue, - onCleanup - ]); - oldValue = newValue; - } - } else { - effect.run(); - } - }; - job.allowRecurse = !!cb; - let scheduler; - if (flush === "sync") { - scheduler = job; - } else if (flush === "post") { - scheduler = () => queuePostRenderEffect$1(job, instance && instance.suspense); - } else { - job.pre = true; - if (instance) - job.id = instance.uid; - scheduler = () => queueJob(job); - } - const effect = new ReactiveEffect(getter, NOOP, scheduler); - const scope = getCurrentScope(); - const unwatch = () => { - effect.stop(); - if (scope) { - remove(scope.effects, effect); - } - }; - { - effect.onTrack = onTrack; - effect.onTrigger = onTrigger; - } - if (cb) { - if (immediate) { - job(); - } else { - oldValue = effect.run(); - } - } else if (flush === "post") { - queuePostRenderEffect$1( - effect.run.bind(effect), - instance && instance.suspense - ); - } else { - effect.run(); - } - return unwatch; -} -function instanceWatch(source, value, options) { - const publicThis = this.proxy; - const getter = isString$1(source) ? source.includes(".") ? createPathGetter(publicThis, source) : () => publicThis[source] : source.bind(publicThis, publicThis); - let cb; - if (isFunction$1(value)) { - cb = value; - } else { - cb = value.handler; - options = value; - } - const reset = setCurrentInstance(this); - const res = doWatch(getter, cb.bind(publicThis), options); - reset(); - return res; -} -function createPathGetter(ctx, path) { - const segments = path.split("."); - return () => { - let cur = ctx; - for (let i = 0; i < segments.length && cur; i++) { - cur = cur[segments[i]]; - } - return cur; - }; -} -function traverse(value, depth, currentDepth = 0, seen) { - if (!isObject$3(value) || value["__v_skip"]) { - return value; - } - if (depth && depth > 0) { - if (currentDepth >= depth) { - return value; - } - currentDepth++; - } - seen = seen || /* @__PURE__ */ new Set(); - if (seen.has(value)) { - return value; - } - seen.add(value); - if (isRef(value)) { - traverse(value.value, depth, currentDepth, seen); - } else if (isArray$2(value)) { - for (let i = 0; i < value.length; i++) { - traverse(value[i], depth, currentDepth, seen); - } - } else if (isSet(value) || isMap(value)) { - value.forEach((v) => { - traverse(v, depth, currentDepth, seen); - }); - } else if (isPlainObject$2(value)) { - for (const key in value) { - traverse(value[key], depth, currentDepth, seen); - } - } - return value; -} -function validateDirectiveName(name) { - if (isBuiltInDirective(name)) { - warn$1("Do not use built-in directive ids as custom directive id: " + name); - } -} -function createAppContext() { - return { - app: null, - config: { - isNativeTag: NO, - performance: false, - globalProperties: {}, - optionMergeStrategies: {}, - errorHandler: void 0, - warnHandler: void 0, - compilerOptions: {} - }, - mixins: [], - components: {}, - directives: {}, - provides: /* @__PURE__ */ Object.create(null), - optionsCache: /* @__PURE__ */ new WeakMap(), - propsCache: /* @__PURE__ */ new WeakMap(), - emitsCache: /* @__PURE__ */ new WeakMap() - }; -} -let uid$1 = 0; -function createAppAPI(render, hydrate) { - return function createApp2(rootComponent, rootProps = null) { - if (!isFunction$1(rootComponent)) { - rootComponent = extend({}, rootComponent); - } - if (rootProps != null && !isObject$3(rootProps)) { - warn$1(`root props passed to app.mount() must be an object.`); - rootProps = null; - } - const context = createAppContext(); - const installedPlugins = /* @__PURE__ */ new WeakSet(); - const app = context.app = { - _uid: uid$1++, - _component: rootComponent, - _props: rootProps, - _container: null, - _context: context, - _instance: null, - version: version$1, - get config() { - return context.config; - }, - set config(v) { - { - warn$1( - `app.config cannot be replaced. Modify individual options instead.` - ); - } - }, - use(plugin2, ...options) { - if (installedPlugins.has(plugin2)) { - warn$1(`Plugin has already been applied to target app.`); - } else if (plugin2 && isFunction$1(plugin2.install)) { - installedPlugins.add(plugin2); - plugin2.install(app, ...options); - } else if (isFunction$1(plugin2)) { - installedPlugins.add(plugin2); - plugin2(app, ...options); - } else { - warn$1( - `A plugin must either be a function or an object with an "install" function.` - ); - } - return app; - }, - mixin(mixin2) { - { - if (!context.mixins.includes(mixin2)) { - context.mixins.push(mixin2); - } else { - warn$1( - "Mixin has already been applied to target app" + (mixin2.name ? `: ${mixin2.name}` : "") - ); - } - } - return app; - }, - component(name, component) { - { - validateComponentName(name, context.config); - } - if (!component) { - return context.components[name]; - } - if (context.components[name]) { - warn$1(`Component "${name}" has already been registered in target app.`); - } - context.components[name] = component; - return app; - }, - directive(name, directive) { - { - validateDirectiveName(name); - } - if (!directive) { - return context.directives[name]; - } - if (context.directives[name]) { - warn$1(`Directive "${name}" has already been registered in target app.`); - } - context.directives[name] = directive; - return app; - }, - // fixed by xxxxxx - mount() { - }, - // fixed by xxxxxx - unmount() { - }, - provide(key, value) { - if (key in context.provides) { - warn$1( - `App already provides property with key "${String(key)}". It will be overwritten with the new value.` - ); - } - context.provides[key] = value; - return app; - }, - runWithContext(fn) { - const lastApp = currentApp; - currentApp = app; - try { - return fn(); - } finally { - currentApp = lastApp; - } - } - }; - return app; - }; -} -let currentApp = null; -function provide(key, value) { - if (!currentInstance) { - { - warn$1(`provide() can only be used inside setup().`); - } - } else { - let provides = currentInstance.provides; - const parentProvides = currentInstance.parent && currentInstance.parent.provides; - if (parentProvides === provides) { - provides = currentInstance.provides = Object.create(parentProvides); - } - provides[key] = value; - if (currentInstance.type.mpType === "app") { - currentInstance.appContext.app.provide(key, value); - } - } -} -function inject(key, defaultValue, treatDefaultAsFactory = false) { - const instance = currentInstance || currentRenderingInstance; - if (instance || currentApp) { - const provides = instance ? instance.parent == null ? instance.vnode.appContext && instance.vnode.appContext.provides : instance.parent.provides : currentApp._context.provides; - if (provides && key in provides) { - return provides[key]; - } else if (arguments.length > 1) { - return treatDefaultAsFactory && isFunction$1(defaultValue) ? defaultValue.call(instance && instance.proxy) : defaultValue; - } else { - warn$1(`injection "${String(key)}" not found.`); - } - } else { - warn$1(`inject() can only be used inside setup() or functional components.`); - } -} -const isKeepAlive = (vnode) => vnode.type.__isKeepAlive; -function onActivated(hook, target) { - registerKeepAliveHook(hook, "a", target); -} -function onDeactivated(hook, target) { - registerKeepAliveHook(hook, "da", target); -} -function registerKeepAliveHook(hook, type, target = currentInstance) { - const wrappedHook = hook.__wdc || (hook.__wdc = () => { - let current = target; - while (current) { - if (current.isDeactivated) { - return; - } - current = current.parent; - } - return hook(); - }); - injectHook(type, wrappedHook, target); - if (target) { - let current = target.parent; - while (current && current.parent) { - if (isKeepAlive(current.parent.vnode)) { - injectToKeepAliveRoot(wrappedHook, type, target, current); - } - current = current.parent; - } - } -} -function injectToKeepAliveRoot(hook, type, target, keepAliveRoot) { - const injected = injectHook( - type, - hook, - keepAliveRoot, - true - /* prepend */ - ); - onUnmounted(() => { - remove(keepAliveRoot[type], injected); - }, target); -} -function injectHook(type, hook, target = currentInstance, prepend = false) { - if (target) { - if (isRootHook(type)) { - target = target.root; - } - const hooks = target[type] || (target[type] = []); - const wrappedHook = hook.__weh || (hook.__weh = (...args) => { - if (target.isUnmounted) { - return; - } - pauseTracking(); - const reset = setCurrentInstance(target); - const res = callWithAsyncErrorHandling(hook, target, type, args); - reset(); - resetTracking(); - return res; - }); - if (prepend) { - hooks.unshift(wrappedHook); - } else { - hooks.push(wrappedHook); - } - return wrappedHook; - } else { - const apiName = toHandlerKey( - (ErrorTypeStrings[type] || type.replace(/^on/, "")).replace(/ hook$/, "") - ); - warn$1( - `${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().` - ); - } -} -const createHook = (lifecycle) => (hook, target = currentInstance) => ( - // post-create lifecycle registrations are noops during SSR (except for serverPrefetch) - (!isInSSRComponentSetup || lifecycle === "sp") && injectHook(lifecycle, (...args) => hook(...args), target) -); -const onBeforeMount = createHook("bm"); -const onMounted = createHook("m"); -const onBeforeUpdate = createHook("bu"); -const onUpdated = createHook("u"); -const onBeforeUnmount = createHook("bum"); -const onUnmounted = createHook("um"); -const onServerPrefetch = createHook("sp"); -const onRenderTriggered = createHook( - "rtg" -); -const onRenderTracked = createHook( - "rtc" -); -function onErrorCaptured(hook, target = currentInstance) { - injectHook("ec", hook, target); -} -const getPublicInstance = (i) => { - if (!i) - return null; - if (isStatefulComponent(i)) - return getExposeProxy(i) || i.proxy; - return getPublicInstance(i.parent); -}; -const publicPropertiesMap = ( - // Move PURE marker to new line to workaround compiler discarding it - // due to type annotation - /* @__PURE__ */ extend(/* @__PURE__ */ Object.create(null), { - $: (i) => i, - // fixed by xxxxxx vue-i18n 在 dev 模式,访问了 $el,故模拟一个假的 - // $el: i => i.vnode.el, - $el: (i) => i.__$el || (i.__$el = {}), - $data: (i) => i.data, - $props: (i) => shallowReadonly(i.props), - $attrs: (i) => shallowReadonly(i.attrs), - $slots: (i) => shallowReadonly(i.slots), - $refs: (i) => shallowReadonly(i.refs), - $parent: (i) => getPublicInstance(i.parent), - $root: (i) => getPublicInstance(i.root), - $emit: (i) => i.emit, - $options: (i) => resolveMergedOptions(i), - $forceUpdate: (i) => i.f || (i.f = () => { - i.effect.dirty = true; - queueJob(i.update); - }), - // $nextTick: i => i.n || (i.n = nextTick.bind(i.proxy!)),// fixed by xxxxxx - $watch: (i) => instanceWatch.bind(i) - }) -); -const isReservedPrefix = (key) => key === "_" || key === "$"; -const hasSetupBinding = (state, key) => state !== EMPTY_OBJ && !state.__isScriptSetup && hasOwn$2(state, key); -const PublicInstanceProxyHandlers = { - get({ _: instance }, key) { - const { ctx, setupState, data, props: props2, accessCache, type, appContext } = instance; - if (key === "__isVue") { - return true; - } - let normalizedProps; - if (key[0] !== "$") { - const n2 = accessCache[key]; - if (n2 !== void 0) { - switch (n2) { - case 1: - return setupState[key]; - case 2: - return data[key]; - case 4: - return ctx[key]; - case 3: - return props2[key]; - } - } else if (hasSetupBinding(setupState, key)) { - accessCache[key] = 1; - return setupState[key]; - } else if (data !== EMPTY_OBJ && hasOwn$2(data, key)) { - accessCache[key] = 2; - return data[key]; - } else if ( - // only cache other properties when instance has declared (thus stable) - // props - (normalizedProps = instance.propsOptions[0]) && hasOwn$2(normalizedProps, key) - ) { - accessCache[key] = 3; - return props2[key]; - } else if (ctx !== EMPTY_OBJ && hasOwn$2(ctx, key)) { - accessCache[key] = 4; - return ctx[key]; - } else if (shouldCacheAccess) { - accessCache[key] = 0; - } - } - const publicGetter = publicPropertiesMap[key]; - let cssModule, globalProperties; - if (publicGetter) { - if (key === "$attrs") { - track(instance, "get", key); - } else if (key === "$slots") { - track(instance, "get", key); - } - return publicGetter(instance); - } else if ( - // css module (injected by vue-loader) - (cssModule = type.__cssModules) && (cssModule = cssModule[key]) - ) { - return cssModule; - } else if (ctx !== EMPTY_OBJ && hasOwn$2(ctx, key)) { - accessCache[key] = 4; - return ctx[key]; - } else if ( - // global properties - globalProperties = appContext.config.globalProperties, hasOwn$2(globalProperties, key) - ) { - { - return globalProperties[key]; - } - } else if (currentRenderingInstance && (!isString$1(key) || // #1091 avoid internal isRef/isVNode checks on component instance leading - // to infinite warning loop - key.indexOf("__v") !== 0)) { - if (data !== EMPTY_OBJ && isReservedPrefix(key[0]) && hasOwn$2(data, key)) { - warn$1( - `Property ${JSON.stringify( - key - )} must be accessed via $data because it starts with a reserved character ("$" or "_") and is not proxied on the render context.` - ); - } else if (instance === currentRenderingInstance) { - warn$1( - `Property ${JSON.stringify(key)} was accessed during render but is not defined on instance.` - ); - } - } - }, - set({ _: instance }, key, value) { - const { data, setupState, ctx } = instance; - if (hasSetupBinding(setupState, key)) { - setupState[key] = value; - return true; - } else if (setupState.__isScriptSetup && hasOwn$2(setupState, key)) { - warn$1(`Cannot mutate