From a281b5fa8e45bdcdbc06b18fbeeb0b8663f8b576 Mon Sep 17 00:00:00 2001 From: hajimi Date: Wed, 24 Jun 2026 16:53:33 +0800 Subject: [PATCH] deploy: auto commit repo-root changes 2026-06-24 16:53:33 --- server/public/mobile/assets/index-D6lS2uZ9.js | 20 +++++++++++-------- .../assets/pages-index-index.Du1ij_VW.js | 2 +- .../assets/pages-search-search.PHgCDRt1.js | 2 +- uniapp/src/pages/index/index.vue | 2 +- uniapp/src/pages/search/search.vue | 6 +++--- 5 files changed, 18 insertions(+), 14 deletions(-) diff --git a/server/public/mobile/assets/index-D6lS2uZ9.js b/server/public/mobile/assets/index-D6lS2uZ9.js index 986b76d..b059030 100644 --- a/server/public/mobile/assets/index-D6lS2uZ9.js +++ b/server/public/mobile/assets/index-D6lS2uZ9.js @@ -1,31 +1,35 @@ function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/pages-index-index.Du1ij_VW.js","assets/logo.DIuJXRKy.js","assets/news.pig5l0m2.js","assets/share.CPj3dbHI.js","assets/ai-assistant-entry.BsT6MDaC.js","assets/ai-assistant-entry-Sl16822m.css","assets/translated-article-card.B0arwmCc.js","assets/translated-article-card-Dv6mdfuV.css","assets/global-popup.B14ONG8j.js","assets/global-popup-BhzM6Bnr.css","assets/index-CqLulTOV.css","assets/pages-match-match.jKb-UeZz.js","assets/MatchShellPage.grHkYrSl.js","assets/match.CS5pfxMV.js","assets/MatchShellPage-DfIk5jcM.css","assets/pages-user-user.BtKRciRJ.js","assets/user-7k-2M7ec.css","assets/pages-channel-channel-manage.BkPO8nWD.js","assets/channel-manage-Dkr8GVf1.css","assets/pages-login-login.BPapqatG.js","assets/useLockFn.BUrsY-Xj.js","assets/login-CaOThuUj.css","assets/pages-register-register.DPVkHwau.js","assets/register-Dx3qMCn-.css","assets/pages-forget_pwd-forget_pwd.BnsQX5tV.js","assets/forget_pwd-BWUIjrO5.css","assets/pages-news_detail-news_detail.CJ7z_ydv.js","assets/share-popup.Dx47A3ns.js","assets/share-popup-B7u5G1Mx.css","assets/news_detail-DHu_UpiC.css","assets/pages-match_detail-match_detail.d07AlYX6.js","assets/ai.Bd7rxsTh.js","assets/aiRequest.br0QglYY.js","assets/match_detail-DZslVkrh.css","assets/pages-my_posts-my_posts.BTfwUMxv.js","assets/community.ekQ2NsLp.js","assets/my_posts-BWI3t6MR.css","assets/pages-my_follow-my_follow.DTBWW7hu.js","assets/chat.vyuWyC87.js","assets/my_follow-BotJH9Dm.css","assets/pages-vip-vip.CxI_eolm.js","assets/vip-Dsm2ZrAW.css","assets/pages-distribution-distribution.DLbvX2u6.js","assets/distribution-T4fLm4_n.css","assets/pages-ai_analysis-ai_analysis.BKffiJRn.js","assets/ai_analysis-B7seIsZl.css","assets/pages-ai_assistant-ai_assistant.BQbpY0R3.js","assets/ai_assistant-CxECtuNo.css","assets/pages-private_chat-list.B0I3rB3j.js","assets/list-D70P4we8.css","assets/pages-private_chat-room.CZ1aAxj4.js","assets/room-DSmwlgkv.css","assets/pages-crypto-crypto.b9SeqND-.js","assets/crypto.GSvHYZdI.js","assets/crypto-Bhte18AQ.css","assets/pages-crypto-crypto_detail.Bmqb9n8b.js","assets/crypto_detail-DWrLCUCI.css","assets/pages-lottery_analysis-lottery_analysis.BmXX_hKT.js","assets/lottery.DM37NQnO.js","assets/lottery_analysis-RjMSbh7M.css","assets/pages-user_set-user_set.BRSXvJKG.js","assets/manifest.BSi_CY3g.js","assets/user_set-BQX3iPhX.css","assets/pages-collection-collection.DZUy-oxM.js","assets/pages-as_us-as_us.CllxwSFI.js","assets/as_us-CEAj9sjW.css","assets/pages-article_view-article_view.BHpdHcmw.js","assets/article_view-ITZD8yRi.css","assets/pages-change_password-change_password.CESnw1VZ.js","assets/change_password-_O4lvKt2.css","assets/pages-user_data-user_data.CNZJLoWF.js","assets/user_data-B78C7cOZ.css","assets/pages-search-search.PHgCDRt1.js","assets/search-BsL_dVKG.css","assets/pages-bind_mobile-bind_mobile.9yeRHuTG.js","assets/bind_mobile-CRSz17MF.css","assets/pages-empty-empty.CfxUPaJ2.js","assets/post-card.CS2bpYlv.js","assets/post-card-CS8uWUQq.css","assets/empty-Ctl22uvz.css","assets/pages-web_closed-web_closed.DKnmowvq.js","assets/web_closed-4ujZgSgv.css","assets/pages-payment_result-payment_result.BzH2SbWC.js","assets/payment_result-DkoHApf9.css","assets/uni_modules-vk-uview-ui-components-u-avatar-cropper-u-avatar-cropper.BBgxW4Kz.js","assets/u-avatar-cropper-DAtU5vch.css","assets/uni_modules-uni-upgrade-center-app-pages-upgrade-popup.DK2ZpSVW.js","assets/upgrade-popup-CgLVJDOH.css","assets/packages-pages-user_wallet-user_wallet.C-y0IdFJ.js","assets/recharge.B2aE43IK.js","assets/user_wallet-LYwe-8Za.css","assets/packages-pages-recharge-recharge.CD9lT4XY.js","assets/packages-pages-recharge_record-recharge_record.CHpE1qUo.js","assets/packages-pages-points_products-points_products.BP7wuHb9.js","assets/points.BxYQh2kO.js","assets/points_products-Dj4xGBsi.css","assets/packages-pages-points_order-points_order.Dbo1VCaC.js","assets/points_order-oM-OQmtZ.css","assets/packages-pages-points_order_detail-points_order_detail.D0JMvvUa.js","assets/points_order_detail-CGVgPen4.css","assets/packages_match-pages-index.Bq2epqBg.js","assets/packages_match-pages-worldcup.BOFHrDWj.js","assets/packages_community-pages-index.18EGeTam.js","assets/index-jwxbbN4f.css","assets/packages_community-pages-publish.BsWkijpW.js","assets/publish-BJ-Fb-82.css","assets/packages_community-pages-post_detail.rot_qgxL.js","assets/post_detail-b7spfGZ6.css","assets/packages_community-pages-user_profile.CCKJkMSL.js","assets/user_profile-BEAElNQG.css","assets/packages_lottery-pages-index.DefpppUH.js","assets/index-CQ25pXqf.css","assets/packages_lottery-pages-draw_list.D935EDz2.js","assets/draw_list-DWeQGP8l.css","assets/packages_lottery-pages-detail.BiN4XyXZ.js","assets/detail-0F8Lm4mO.css","assets/packages_lottery-pages-ai_predict.mcO1FDIT.js","assets/ai_predict-CAPIfmVJ.css"] + __vite__mapDeps.viteFileDeps = ["assets/pages-index-index.Du1ij_VW.js", "assets/logo.DIuJXRKy.js", "assets/news.pig5l0m2.js", "assets/share.CPj3dbHI.js", "assets/ai-assistant-entry.BsT6MDaC.js", "assets/ai-assistant-entry-Sl16822m.css", "assets/translated-article-card.B0arwmCc.js", "assets/translated-article-card-Dv6mdfuV.css", "assets/global-popup.B14ONG8j.js", "assets/global-popup-BhzM6Bnr.css", "assets/index-CqLulTOV.css", "assets/pages-match-match.jKb-UeZz.js", "assets/MatchShellPage.grHkYrSl.js", "assets/match.CS5pfxMV.js", "assets/MatchShellPage-DfIk5jcM.css", "assets/pages-user-user.BtKRciRJ.js", "assets/user-7k-2M7ec.css", "assets/pages-channel-channel-manage.BkPO8nWD.js", "assets/channel-manage-Dkr8GVf1.css", "assets/pages-login-login.BPapqatG.js", "assets/useLockFn.BUrsY-Xj.js", "assets/login-CaOThuUj.css", "assets/pages-register-register.DPVkHwau.js", "assets/register-Dx3qMCn-.css", "assets/pages-forget_pwd-forget_pwd.BnsQX5tV.js", "assets/forget_pwd-BWUIjrO5.css", "assets/pages-news_detail-news_detail.CJ7z_ydv.js", "assets/share-popup.Dx47A3ns.js", "assets/share-popup-B7u5G1Mx.css", "assets/news_detail-DHu_UpiC.css", "assets/pages-match_detail-match_detail.d07AlYX6.js", "assets/ai.Bd7rxsTh.js", "assets/aiRequest.br0QglYY.js", "assets/match_detail-DZslVkrh.css", "assets/pages-my_posts-my_posts.BTfwUMxv.js", "assets/community.ekQ2NsLp.js", "assets/my_posts-BWI3t6MR.css", "assets/pages-my_follow-my_follow.DTBWW7hu.js", "assets/chat.vyuWyC87.js", "assets/my_follow-BotJH9Dm.css", "assets/pages-vip-vip.CxI_eolm.js", "assets/vip-Dsm2ZrAW.css", "assets/pages-distribution-distribution.DLbvX2u6.js", "assets/distribution-T4fLm4_n.css", "assets/pages-ai_analysis-ai_analysis.BKffiJRn.js", "assets/ai_analysis-B7seIsZl.css", "assets/pages-ai_assistant-ai_assistant.BQbpY0R3.js", "assets/ai_assistant-CxECtuNo.css", "assets/pages-private_chat-list.B0I3rB3j.js", "assets/list-D70P4we8.css", "assets/pages-private_chat-room.CZ1aAxj4.js", "assets/room-DSmwlgkv.css", "assets/pages-crypto-crypto.b9SeqND-.js", "assets/crypto.GSvHYZdI.js", "assets/crypto-Bhte18AQ.css", "assets/pages-crypto-crypto_detail.Bmqb9n8b.js", "assets/crypto_detail-DWrLCUCI.css", "assets/pages-lottery_analysis-lottery_analysis.BmXX_hKT.js", "assets/lottery.DM37NQnO.js", "assets/lottery_analysis-RjMSbh7M.css", "assets/pages-user_set-user_set.BRSXvJKG.js", "assets/manifest.BSi_CY3g.js", "assets/user_set-BQX3iPhX.css", "assets/pages-collection-collection.DZUy-oxM.js", "assets/pages-as_us-as_us.CllxwSFI.js", "assets/as_us-CEAj9sjW.css", "assets/pages-article_view-article_view.BHpdHcmw.js", "assets/article_view-ITZD8yRi.css", "assets/pages-change_password-change_password.CESnw1VZ.js", "assets/change_password-_O4lvKt2.css", "assets/pages-user_data-user_data.CNZJLoWF.js", "assets/user_data-B78C7cOZ.css", "assets/pages-search-search.PHgCDRt1.js", "assets/search-BsL_dVKG.css", "assets/pages-bind_mobile-bind_mobile.9yeRHuTG.js", "assets/bind_mobile-CRSz17MF.css", "assets/pages-empty-empty.CfxUPaJ2.js", "assets/post-card.CS2bpYlv.js", "assets/post-card-CS8uWUQq.css", "assets/empty-Ctl22uvz.css", "assets/pages-web_closed-web_closed.DKnmowvq.js", "assets/web_closed-4ujZgSgv.css", "assets/pages-payment_result-payment_result.BzH2SbWC.js", "assets/payment_result-DkoHApf9.css", "assets/uni_modules-vk-uview-ui-components-u-avatar-cropper-u-avatar-cropper.BBgxW4Kz.js", "assets/u-avatar-cropper-DAtU5vch.css", "assets/uni_modules-uni-upgrade-center-app-pages-upgrade-popup.DK2ZpSVW.js", "assets/upgrade-popup-CgLVJDOH.css", "assets/packages-pages-user_wallet-user_wallet.C-y0IdFJ.js", "assets/recharge.B2aE43IK.js", "assets/user_wallet-LYwe-8Za.css", "assets/packages-pages-recharge-recharge.CD9lT4XY.js", "assets/packages-pages-recharge_record-recharge_record.CHpE1qUo.js", "assets/packages-pages-points_products-points_products.BP7wuHb9.js", "assets/points.BxYQh2kO.js", "assets/points_products-Dj4xGBsi.css", "assets/packages-pages-points_order-points_order.Dbo1VCaC.js", "assets/points_order-oM-OQmtZ.css", "assets/packages-pages-points_order_detail-points_order_detail.D0JMvvUa.js", "assets/points_order_detail-CGVgPen4.css", "assets/packages_match-pages-index.Bq2epqBg.js", "assets/packages_match-pages-worldcup.BOFHrDWj.js", "assets/packages_community-pages-index.18EGeTam.js", "assets/index-jwxbbN4f.css", "assets/packages_community-pages-publish.BsWkijpW.js", "assets/publish-BJ-Fb-82.css", "assets/packages_community-pages-post_detail.rot_qgxL.js", "assets/post_detail-b7spfGZ6.css", "assets/packages_community-pages-user_profile.CCKJkMSL.js", "assets/user_profile-BEAElNQG.css", "assets/packages_lottery-pages-index.DefpppUH.js", "assets/index-CQ25pXqf.css", "assets/packages_lottery-pages-draw_list.D935EDz2.js", "assets/draw_list-DWeQGP8l.css", "assets/packages_lottery-pages-detail.BiN4XyXZ.js", "assets/detail-0F8Lm4mO.css", "assets/packages_lottery-pages-ai_predict.mcO1FDIT.js", "assets/ai_predict-CAPIfmVJ.css"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } -var e=Object.defineProperty,t=(t,n,o)=>(((t,n,o)=>{n in t?e(t,n,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[n]=o})(t,"symbol"!=typeof n?n+"":n,o),o);!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 n={},o=function(e,t,o){let a=Promise.resolve();if(t&&t.length>0){document.getElementsByTagName("link");const e=document.querySelector("meta[property=csp-nonce]"),o=(null==e?void 0:e.nonce)||(null==e?void 0:e.getAttribute("nonce"));a=Promise.all(t.map(e=>{if((e=function(e){return"/"+e}(e))in n)return;n[e]=!0;const t=e.endsWith(".css"),a=t?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${e}"]${a}`))return;const r=document.createElement("link");return r.rel=t?"stylesheet":"modulepreload",t||(r.as="script",r.crossOrigin=""),r.href=e,o&&r.setAttribute("nonce",o),document.head.appendChild(r),t?new Promise((t,n)=>{r.addEventListener("load",t),r.addEventListener("error",()=>n(new Error(`Unable to preload CSS for ${e}`)))}):void 0}))}return a.then(()=>e()).catch(e=>{const t=new Event("vite:preloadError",{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e})}; +var e = Object.defineProperty, t = (t, n, o) => (((t, n, o) => { n in t ? e(t, n, { enumerable: !0, configurable: !0, writable: !0, value: o }) : t[n] = o })(t, "symbol" != typeof n ? n + "" : n, o), o); !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 n = {}, o = function (e, t, o) { let a = Promise.resolve(); if (t && t.length > 0) { document.getElementsByTagName("link"); const e = document.querySelector("meta[property=csp-nonce]"), o = (null == e ? void 0 : e.nonce) || (null == e ? void 0 : e.getAttribute("nonce")); a = Promise.all(t.map(e => { if ((e = function (e) { return "/" + e }(e)) in n) return; n[e] = !0; const t = e.endsWith(".css"), a = t ? '[rel="stylesheet"]' : ""; if (document.querySelector(`link[href="${e}"]${a}`)) return; const r = document.createElement("link"); return r.rel = t ? "stylesheet" : "modulepreload", t || (r.as = "script", r.crossOrigin = ""), r.href = e, o && r.setAttribute("nonce", o), document.head.appendChild(r), t ? new Promise((t, n) => { r.addEventListener("load", t), r.addEventListener("error", () => n(new Error(`Unable to preload CSS for ${e}`))) }) : void 0 })) } return a.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 a(e,t){const n=new Set(e.split(","));return e=>n.has(e)}const r={},i=[],s=()=>{},l=()=>!1,c=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),d=e=>e.startsWith("onUpdate:"),u=Object.assign,h=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},m=Object.prototype.hasOwnProperty,p=(e,t)=>m.call(e,t),f=Array.isArray,g=e=>"[object Map]"===S(e),y=e=>"[object Set]"===S(e),v=e=>"function"==typeof e,b=e=>"string"==typeof e,_=e=>"symbol"==typeof e,w=e=>null!==e&&"object"==typeof e,T=e=>(w(e)||v(e))&&v(e.then)&&v(e.catch),x=Object.prototype.toString,S=e=>x.call(e),C=e=>"[object Object]"===S(e),k=e=>b(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,M=a(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),A=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},I=/-(\w)/g,R=A(e=>e.replace(I,(e,t)=>t?t.toUpperCase():"")),E=/\B([A-Z])/g,P=A(e=>e.replace(E,"-$1").toLowerCase()),L=A(e=>e.charAt(0).toUpperCase()+e.slice(1)),O=A(e=>e?`on${L(e)}`:""),B=(e,t)=>!Object.is(e,t),N=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},V=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let $;const j=()=>$||($="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{});function z(e){if(f(e)){const t={};for(let n=0;n{if(e){const n=e.split(W);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function q(e){let t="";if(b(e))t=e;else if(f(e))for(let n=0;nb(e)?e:null==e?"":f(e)||w(e)&&(e.toString===x||!v(e.toString))?JSON.stringify(e,Q,2):String(e),Q=(e,t)=>t&&t.__v_isRef?Q(e,t.value):g(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((e,[t,n],o)=>(e[J(t,o)+" =>"]=n,e),{})}:y(t)?{[`Set(${t.size})`]:[...t.values()].map(e=>J(e))}:_(t)?J(t):!w(t)||f(t)||C(t)?t:String(t),J=(e,t="")=>{var n;return _(e)?`Symbol(${null!=(n=e.description)?n:t})`:e},X=["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","location-picker","location-view"].map(e=>"uni-"+e),K=["page-container","list-view","list-item","sticky-section","sticky-header","cloud-db-element","loading-element","loading"].map(e=>"uni-"+e),ee=["list-item"].map(e=>"uni-"+e);function te(e){if(-1!==ee.indexOf(e))return!1;const t="uni-"+e.replace("v-uni-","");return-1!==X.indexOf(t)||-1!==K.indexOf(t)}const ne="\n",oe=["%","%"],ae="#007aff",re=/^([a-z-]+:)?\/\//i,ie=/^data:.*,.*/,se="onShow",le="onHide",ce="onLaunch",de="onError",ue="onThemeChange",he="onPageNotFound",me="onUnhandledRejection",pe="onLoad",fe="onUnload",ge="onInit",ye="onSaveExitState",ve="onUploadDouyinVideo",be="onLiveMount",_e="onTitleClick",we="onResize",Te="onBackPress",xe="onPageScroll",Se="onTabItemTap",Ce="onReachBottom",ke="onPullDownRefresh",Me="onShareTimeline",Ae="onShareChat",Ie="onCopyUrl",Re="onAddToFavorites",Ee="onShareAppMessage",Pe="onNavigationBarButtonTap",Le="onNavigationBarSearchInputClicked",Oe="onNavigationBarSearchInputChanged",Be="onNavigationBarSearchInputConfirmed",Ne="onNavigationBarSearchInputFocusChanged",De="onAppEnterForeground",Ve="onAppEnterBackground",$e="onWebInvokeAppService";function je(e){return void 0===e?null:e}class ze{static keys(e){return Object.keys(e)}static assign(e,...t){for(let n=0;n{this[t]=e});else for(const t in e)Object.prototype.hasOwnProperty.call(e,t)&&(this[t]=e[t]);!function(e){const t=["_resolveKeyPath","_getValue","toJSON","get","set","getAny","getString","getNumber","getBoolean","getJSON","getArray","toMap","forEach"],n={};for(let o=0;o0&&(n.push(t),t="");break;case"[":o=!0,t.length>0&&(n.push(t),t="");break;case"]":if(!o)return[];if(!(t.length>0))return[];{const e=t[0],o=t[t.length-1];if('"'===e&&'"'===o||"'"===e&&"'"===o||"`"===e&&"`"===o){if(!(t.length>2))return[];t=t.slice(1,-1)}else if(!/^\d+$/.test(t))return[];n.push(t),t=""}o=!1;break;default:t+=r}a===e.length-1&&t.length>0&&(n.push(t),t="")}return n}_getValue(e,t){const n=this._resolveKeyPath(e),o=je(t);if(0===n.length)return o;let a=this;for(let r=0;r{t[n]=e[n]}),z(t)}if(e instanceof Map){const t={};return e.forEach((e,n)=>{t[n]=e}),z(t)}if(b(e))return U(e);if(f(e)){const t={};for(let n=0;n{e[n]&&(t+=n+" ")});else if(e instanceof Map)e.forEach((e,n)=>{e&&(t+=n+" ")});else if(f(e))for(let n=0;n(e&&(n=e.apply(t,o),e=null),n)}function Je(e){return R(e.substring(5))}const Xe=Qe(e=>{e=e||(e=>e.tagName.startsWith("UNI-"));const t=HTMLElement.prototype,n=t.setAttribute;t.setAttribute=function(t,o){if(t.startsWith("data-")&&e(this)){(this.__uniDataset||(this.__uniDataset={}))[Je(t)]=o}/^\d/.test(t)||n.call(this,t,o)};const o=t.removeAttribute;t.removeAttribute=function(t){this.__uniDataset&&t.startsWith("data-")&&e(this)&&delete this.__uniDataset[Je(t)],o.call(this,t)}});function Ke(e){return u({},e.dataset,e.__uniDataset)}const et=new RegExp("\"[^\"]+\"|'[^']+'|url\\([^)]+\\)|(\\d*\\.?\\d+)[r|u]px","g");function tt(e){return{passive:e}}function nt(e){const{id:t,offsetTop:n,offsetLeft:o}=e;return{id:t,dataset:Ke(e),offsetTop:n,offsetLeft:o}}function ot(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}function at(e={}){const t={};return Object.keys(e).forEach(n=>{try{t[n]=ot(e[n])}catch(VR){t[n]=e[n]}}),t}const rt=/\+/g;function it(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(a)},r}class lt{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;ot(e)),mt=function(){};mt.prototype={_id:1,on:function(e,t,n){var o=this.e||(this.e={});return(o[e]||(o[e]=[])).push({fn:t,ctx:n,_id:this._id}),this._id++},once:function(e,t,n){var o=this;function a(){o.off(e,a),t.apply(n,arguments)}return a._=t,this.on(e,a,n)},emit:function(e){for(var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),o=0,a=n.length;o=0;r--)if(o[r].fn===t||o[r].fn._===t||o[r]._id===t){o.splice(r,1);break}a=o}return a.length?n[e]=a:delete n[e],this}};var pt=mt;const ft={black:"rgba(0,0,0,0.4)",white:"rgba(255,255,255,0.4)"};function gt(e,t,n){if(b(t)&&t.startsWith("@")){let a=e[t.replace("@","")]||t;switch(n){case"titleColor":a="black"===a?"#000000":"#ffffff";break;case"borderStyle":a=(o=a)&&o in ft?ft[o]:o}return a}var o;return t}function yt(e,t={},n="light"){const o=t[n],a={};return void 0!==o&&e?(Object.keys(e).forEach(r=>{const i=e[r];a[r]=C(i)?yt(i,t,n):f(i)?i.map(e=>C(e)?yt(e,t,n):gt(o,e)):gt(o,i,r)}),a):e} +function a(e, t) { const n = new Set(e.split(",")); return e => n.has(e) } const r = {}, i = [], s = () => { }, l = () => !1, c = e => 111 === e.charCodeAt(0) && 110 === e.charCodeAt(1) && (e.charCodeAt(2) > 122 || e.charCodeAt(2) < 97), d = e => e.startsWith("onUpdate:"), u = Object.assign, h = (e, t) => { const n = e.indexOf(t); n > -1 && e.splice(n, 1) }, m = Object.prototype.hasOwnProperty, p = (e, t) => m.call(e, t), f = Array.isArray, g = e => "[object Map]" === S(e), y = e => "[object Set]" === S(e), v = e => "function" == typeof e, b = e => "string" == typeof e, _ = e => "symbol" == typeof e, w = e => null !== e && "object" == typeof e, T = e => (w(e) || v(e)) && v(e.then) && v(e.catch), x = Object.prototype.toString, S = e => x.call(e), C = e => "[object Object]" === S(e), k = e => b(e) && "NaN" !== e && "-" !== e[0] && "" + parseInt(e, 10) === e, M = a(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"), A = e => { const t = Object.create(null); return n => t[n] || (t[n] = e(n)) }, I = /-(\w)/g, R = A(e => e.replace(I, (e, t) => t ? t.toUpperCase() : "")), E = /\B([A-Z])/g, P = A(e => e.replace(E, "-$1").toLowerCase()), L = A(e => e.charAt(0).toUpperCase() + e.slice(1)), O = A(e => e ? `on${L(e)}` : ""), B = (e, t) => !Object.is(e, t), N = (e, t) => { for (let n = 0; n < e.length; n++)e[n](t) }, D = (e, t, n) => { Object.defineProperty(e, t, { configurable: !0, enumerable: !1, value: n }) }, V = e => { const t = parseFloat(e); return isNaN(t) ? e : t }; let $; const j = () => $ || ($ = "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : "undefined" != typeof window ? window : "undefined" != typeof global ? global : {}); function z(e) { if (f(e)) { const t = {}; for (let n = 0; n < e.length; n++) { const o = e[n], a = b(o) ? U(o) : z(o); if (a) for (const e in a) t[e] = a[e] } return t } if (b(e) || w(e)) return e } const F = /;(?![^(]*\))/g, W = /:([^]+)/, H = /\/\*[^]*?\*\//g; function U(e) { const t = {}; return e.replace(H, "").split(F).forEach(e => { if (e) { const n = e.split(W); n.length > 1 && (t[n[0].trim()] = n[1].trim()) } }), t } function q(e) { let t = ""; if (b(e)) t = e; else if (f(e)) for (let n = 0; n < e.length; n++) { const o = q(e[n]); o && (t += o + " ") } else if (w(e)) for (const n in e) e[n] && (t += n + " "); return t.trim() } const Y = a("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly"); function Z(e) { return !!e || "" === e } const G = e => b(e) ? e : null == e ? "" : f(e) || w(e) && (e.toString === x || !v(e.toString)) ? JSON.stringify(e, Q, 2) : String(e), Q = (e, t) => t && t.__v_isRef ? Q(e, t.value) : g(t) ? { [`Map(${t.size})`]: [...t.entries()].reduce((e, [t, n], o) => (e[J(t, o) + " =>"] = n, e), {}) } : y(t) ? { [`Set(${t.size})`]: [...t.values()].map(e => J(e)) } : _(t) ? J(t) : !w(t) || f(t) || C(t) ? t : String(t), J = (e, t = "") => { var n; return _(e) ? `Symbol(${null != (n = e.description) ? n : t})` : e }, X = ["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", "location-picker", "location-view"].map(e => "uni-" + e), K = ["page-container", "list-view", "list-item", "sticky-section", "sticky-header", "cloud-db-element", "loading-element", "loading"].map(e => "uni-" + e), ee = ["list-item"].map(e => "uni-" + e); function te(e) { if (-1 !== ee.indexOf(e)) return !1; const t = "uni-" + e.replace("v-uni-", ""); return -1 !== X.indexOf(t) || -1 !== K.indexOf(t) } const ne = "\n", oe = ["%", "%"], ae = "#007aff", re = /^([a-z-]+:)?\/\//i, ie = /^data:.*,.*/, se = "onShow", le = "onHide", ce = "onLaunch", de = "onError", ue = "onThemeChange", he = "onPageNotFound", me = "onUnhandledRejection", pe = "onLoad", fe = "onUnload", ge = "onInit", ye = "onSaveExitState", ve = "onUploadDouyinVideo", be = "onLiveMount", _e = "onTitleClick", we = "onResize", Te = "onBackPress", xe = "onPageScroll", Se = "onTabItemTap", Ce = "onReachBottom", ke = "onPullDownRefresh", Me = "onShareTimeline", Ae = "onShareChat", Ie = "onCopyUrl", Re = "onAddToFavorites", Ee = "onShareAppMessage", Pe = "onNavigationBarButtonTap", Le = "onNavigationBarSearchInputClicked", Oe = "onNavigationBarSearchInputChanged", Be = "onNavigationBarSearchInputConfirmed", Ne = "onNavigationBarSearchInputFocusChanged", De = "onAppEnterForeground", Ve = "onAppEnterBackground", $e = "onWebInvokeAppService"; function je(e) { return void 0 === e ? null : e } class ze { static keys(e) { return Object.keys(e) } static assign(e, ...t) { for (let n = 0; n < t.length; n++) { const o = t[n]; for (let t in o) e[t] = o[t] } return e } constructor(e = {}) { if (e instanceof Map) e.forEach((e, t) => { this[t] = e }); else for (const t in e) Object.prototype.hasOwnProperty.call(e, t) && (this[t] = e[t]); !function (e) { const t = ["_resolveKeyPath", "_getValue", "toJSON", "get", "set", "getAny", "getString", "getNumber", "getBoolean", "getJSON", "getArray", "toMap", "forEach"], n = {}; for (let o = 0; o < t.length; o++) { const a = t[o]; n[a] = { enumerable: !1, value: e[a] } } Object.defineProperties(e, n) }(this) } _resolveKeyPath(e) { let t = ""; const n = []; let o = !1; for (let a = 0; a < e.length; a++) { const r = e[a]; switch (r) { case ".": t.length > 0 && (n.push(t), t = ""); break; case "[": o = !0, t.length > 0 && (n.push(t), t = ""); break; case "]": if (!o) return []; if (!(t.length > 0)) return []; { const e = t[0], o = t[t.length - 1]; if ('"' === e && '"' === o || "'" === e && "'" === o || "`" === e && "`" === o) { if (!(t.length > 2)) return []; t = t.slice(1, -1) } else if (!/^\d+$/.test(t)) return []; n.push(t), t = "" } o = !1; break; default: t += r }a === e.length - 1 && t.length > 0 && (n.push(t), t = "") } return n } _getValue(e, t) { const n = this._resolveKeyPath(e), o = je(t); if (0 === n.length) return o; let a = this; for (let r = 0; r < n.length; r++) { const e = n[r]; if (!(a instanceof Object)) return o; if (!(e in a)) return o; a = a[e] } return a } get(e) { return this._getValue(e) } set(e, t) { this[e] = t } getAny(e, t) { const n = je(t); return this._getValue(e, n) } getString(e, t) { const n = je(t), o = this._getValue(e, n); return "string" == typeof o ? o : n } getNumber(e, t) { const n = je(t), o = this._getValue(e, n); return "number" == typeof o ? o : n } getBoolean(e, t) { const n = je(t), o = this._getValue(e, n); return "boolean" == typeof o ? o : n } getJSON(e, t) { const n = je(t); let o = this._getValue(e, n); return o instanceof Object ? o : n } getArray(e, t) { const n = je(t); let o = this._getValue(e, n); return o instanceof Array ? o : n } toMap() { let e = new Map; for (let t in this) e.set(t, this[t]); return e } forEach(e) { for (let t in this) e(this[t], t) } } function Fe(e) { return e && (e.appContext ? e.proxy : e) } function We(e) { if (!e) return; let t = e.type.name; for (; t && te(P(t));)t = (e = e.parent).type.name; return e.proxy } function He(e) { return 1 === e.nodeType } function Ue(e) { if (e instanceof ze) { const t = {}; return ze.keys(e).forEach(n => { t[n] = e[n] }), z(t) } if (e instanceof Map) { const t = {}; return e.forEach((e, n) => { t[n] = e }), z(t) } if (b(e)) return U(e); if (f(e)) { const t = {}; for (let n = 0; n < e.length; n++) { const o = e[n], a = b(o) ? U(o) : Ue(o); if (a) for (const e in a) t[e] = a[e] } return t } return z(e) } function qe(e) { let t = ""; if (e instanceof ze) ze.keys(e).forEach(n => { e[n] && (t += n + " ") }); else if (e instanceof Map) e.forEach((e, n) => { e && (t += n + " ") }); else if (f(e)) for (let n = 0; n < e.length; n++) { const o = qe(e[n]); o && (t += o + " ") } else t = q(e); return t.trim() } function Ye(e) { return 0 === e.indexOf("/") } function Ze(e) { return Ye(e) ? e : "/" + e } function Ge(e, t) { for (const n in t) e.style[n] = t[n] } function Qe(e, t = null) { let n; return (...o) => (e && (n = e.apply(t, o), e = null), n) } function Je(e) { return R(e.substring(5)) } const Xe = Qe(e => { e = e || (e => e.tagName.startsWith("UNI-")); const t = HTMLElement.prototype, n = t.setAttribute; t.setAttribute = function (t, o) { if (t.startsWith("data-") && e(this)) { (this.__uniDataset || (this.__uniDataset = {}))[Je(t)] = o } /^\d/.test(t) || n.call(this, t, o) }; const o = t.removeAttribute; t.removeAttribute = function (t) { this.__uniDataset && t.startsWith("data-") && e(this) && delete this.__uniDataset[Je(t)], o.call(this, t) } }); function Ke(e) { return u({}, e.dataset, e.__uniDataset) } const et = new RegExp("\"[^\"]+\"|'[^']+'|url\\([^)]+\\)|(\\d*\\.?\\d+)[r|u]px", "g"); function tt(e) { return { passive: e } } function nt(e) { const { id: t, offsetTop: n, offsetLeft: o } = e; return { id: t, dataset: Ke(e), offsetTop: n, offsetLeft: o } } function ot(e) { try { return decodeURIComponent("" + e) } catch (t) { } return "" + e } function at(e = {}) { const t = {}; return Object.keys(e).forEach(n => { try { t[n] = ot(e[n]) } catch (VR) { t[n] = e[n] } }), t } const rt = /\+/g; function it(e) { const t = {}; if ("" === e || "?" === e) return t; const n = ("?" === e[0] ? e.slice(1) : e).split("&"); for (let o = 0; o < n.length; ++o) { const e = n[o].replace(rt, " "); let a = e.indexOf("="), r = ot(a < 0 ? e : e.slice(0, a)), i = a < 0 ? null : ot(e.slice(a + 1)); if (r in t) { let e = t[r]; f(e) || (e = t[r] = [e]), e.push(i) } else t[r] = i } return t } function st(e, t, { clearTimeout: n, setTimeout: o }) { let a; const r = function () { n(a); a = o(() => e.apply(this, arguments), t) }; return r.cancel = function () { n(a) }, r } class lt { 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 < n.length;)n[o].fn === t && (n.splice(o, 1), o--), o++; else delete this.listener[e] } _clearCache(e) { for (let t = 0; t < this.emitCache.length; t++) { const n = this.emitCache[t], o = e ? n.eventName === e ? e : null : n.eventName; if (!o) continue; "number" != typeof this.emit.apply(this, [o, ...n.args]) ? (this.emitCache.splice(t, 1), t--) : this.emitCache.pop() } } _addListener(e, t, n) { (this.listener[e] || (this.listener[e] = [])).push({ fn: n, type: t }) } } const ct = [ge, pe, se, le, fe, we, Te, xe, Se, Ce, ke, Me, Ee, Ae, Ie, ve, be, _e, Re, ye, Pe, Le, Oe, Be, Ne]; const dt = [se, le, ce, de, ue, he, me, "onExit", ge, pe, "onReady", fe, we, Te, xe, Se, Ce, ke, Me, Re, Ee, Ae, Ie, ve, be, _e, ye, Pe, Le, Oe, Be, Ne, "onLastPageBackPress"]; const ut = []; const ht = Qe((e, t) => t(e)), mt = function () { }; mt.prototype = { _id: 1, on: function (e, t, n) { var o = this.e || (this.e = {}); return (o[e] || (o[e] = [])).push({ fn: t, ctx: n, _id: this._id }), this._id++ }, once: function (e, t, n) { var o = this; function a() { o.off(e, a), t.apply(n, arguments) } return a._ = t, this.on(e, a, n) }, emit: function (e) { for (var t = [].slice.call(arguments, 1), n = ((this.e || (this.e = {}))[e] || []).slice(), o = 0, a = n.length; o < a; o++)n[o].fn.apply(n[o].ctx, t); return this }, off: function (e, t) { var n = this.e || (this.e = {}), o = n[e], a = []; if (o && t) { for (var r = o.length - 1; r >= 0; r--)if (o[r].fn === t || o[r].fn._ === t || o[r]._id === t) { o.splice(r, 1); break } a = o } return a.length ? n[e] = a : delete n[e], this } }; var pt = mt; const ft = { black: "rgba(0,0,0,0.4)", white: "rgba(255,255,255,0.4)" }; function gt(e, t, n) { if (b(t) && t.startsWith("@")) { let a = e[t.replace("@", "")] || t; switch (n) { case "titleColor": a = "black" === a ? "#000000" : "#ffffff"; break; case "borderStyle": a = (o = a) && o in ft ? ft[o] : o }return a } var o; return t } function yt(e, t = {}, n = "light") { const o = t[n], a = {}; return void 0 !== o && e ? (Object.keys(e).forEach(r => { const i = e[r]; a[r] = C(i) ? yt(i, t, n) : f(i) ? i.map(e => C(e) ? yt(e, t, n) : gt(o, e)) : gt(o, i, r) }), a) : e } /** * @dcloudio/uni-h5-vue v3.4.21 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/let vt,bt;class _t{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=vt,!e&&vt&&(this.index=(vt.scopes||(vt.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const t=vt;try{return vt=this,e()}finally{vt=t}}}on(){vt=this}off(){vt=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),Et()}return this._dirtyLevel>=4}set dirty(e){this._dirtyLevel=e?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let e=Mt,t=bt;try{return Mt=!0,bt=this,this._runnings++,St(this),this.fn()}finally{Ct(this),this._runnings--,bt=t,Mt=e}}stop(){var e;this.active&&(St(this),Ct(this),null==(e=this.onStop)||e.call(this),this.active=!1)}}function xt(e){return e.value}function St(e){e._trackId++,e._depsLength=0}function Ct(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},Vt=new WeakMap,$t=Symbol(""),jt=Symbol("");function zt(e,t,n){if(Mt&&bt){let t=Vt.get(e);t||Vt.set(e,t=new Map);let o=t.get(n);o||t.set(n,o=Dt(()=>t.delete(n))),Ot(bt,o)}}function Ft(e,t,n,o,a,r){const i=Vt.get(e);if(!i)return;let s=[];if("clear"===t)s=[...i.values()];else if("length"===n&&f(e)){const e=Number(o);i.forEach((t,n)=>{("length"===n||!_(n)&&n>=e)&&s.push(t)})}else switch(void 0!==n&&s.push(i.get(n)),t){case"add":f(e)?k(n)&&s.push(i.get("length")):(s.push(i.get($t)),g(e)&&s.push(i.get(jt)));break;case"delete":f(e)||(s.push(i.get($t)),g(e)&&s.push(i.get(jt)));break;case"set":g(e)&&s.push(i.get($t))}Pt();for(const l of s)l&&Nt(l,4);Lt()}const Wt=a("__proto__,__v_isRef,__isVue"),Ht=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>"arguments"!==e&&"caller"!==e).map(e=>Symbol[e]).filter(_)),Ut=qt();function qt(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...e){const n=Bn(this);for(let t=0,a=this.length;t{e[t]=function(...e){Rt(),Pt();const n=Bn(this)[t].apply(this,e);return Lt(),Et(),n}}),e}function Yt(e){const t=Bn(this);return zt(t,0,e),t.hasOwnProperty(e)}class Zt{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,n){const o=this._isReadonly,a=this._isShallow;if("__v_isReactive"===t)return!o;if("__v_isReadonly"===t)return o;if("__v_isShallow"===t)return a;if("__v_raw"===t)return n===(o?a?Cn:Sn:a?xn:Tn).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;const r=f(e);if(!o){if(r&&p(Ut,t))return Reflect.get(Ut,t,n);if("hasOwnProperty"===t)return Yt}const i=Reflect.get(e,t,n);return(_(t)?Ht.has(t):Wt(t))?i:(o||zt(e,0,t),a?i:Fn(i)?r&&k(t)?i:i.value:w(i)?o?In(i):Mn(i):i)}}class Gt extends Zt{constructor(e=!1){super(!1,e)}set(e,t,n,o){let a=e[t];if(!this._isShallow){const t=Pn(a);if(Ln(n)||Pn(n)||(a=Bn(a),n=Bn(n)),!f(e)&&Fn(a)&&!Fn(n))return!t&&(a.value=n,!0)}const r=f(e)&&k(t)?Number(t)e,tn=e=>Reflect.getPrototypeOf(e);function nn(e,t,n=!1,o=!1){const a=Bn(e=e.__v_raw),r=Bn(t);n||(B(t,r)&&zt(a,0,t),zt(a,0,r));const{has:i}=tn(a),s=o?en:n?Vn:Dn;return i.call(a,t)?s(e.get(t)):i.call(a,r)?s(e.get(r)):void(e!==a&&e.get(t))}function on(e,t=!1){const n=this.__v_raw,o=Bn(n),a=Bn(e);return t||(B(e,a)&&zt(o,0,e),zt(o,0,a)),e===a?n.has(e):n.has(e)||n.has(a)}function an(e,t=!1){return e=e.__v_raw,!t&&zt(Bn(e),0,$t),Reflect.get(e,"size",e)}function rn(e){e=Bn(e);const t=Bn(this);return tn(t).has.call(t,e)||(t.add(e),Ft(t,"add",e,e)),this}function sn(e,t){t=Bn(t);const n=Bn(this),{has:o,get:a}=tn(n);let r=o.call(n,e);r||(e=Bn(e),r=o.call(n,e));const i=a.call(n,e);return n.set(e,t),r?B(t,i)&&Ft(n,"set",e,t):Ft(n,"add",e,t),this}function ln(e){const t=Bn(this),{has:n,get:o}=tn(t);let a=n.call(t,e);a||(e=Bn(e),a=n.call(t,e)),o&&o.call(t,e);const r=t.delete(e);return a&&Ft(t,"delete",e,void 0),r}function cn(){const e=Bn(this),t=0!==e.size,n=e.clear();return t&&Ft(e,"clear",void 0,void 0),n}function dn(e,t){return function(n,o){const a=this,r=a.__v_raw,i=Bn(r),s=t?en:e?Vn:Dn;return!e&&zt(i,0,$t),r.forEach((e,t)=>n.call(o,s(e),s(t),a))}}function un(e,t,n){return function(...o){const a=this.__v_raw,r=Bn(a),i=g(r),s="entries"===e||e===Symbol.iterator&&i,l="keys"===e&&i,c=a[e](...o),d=n?en:t?Vn:Dn;return!t&&zt(r,0,l?jt:$t),{next(){const{value:e,done:t}=c.next();return t?{value:e,done:t}:{value:s?[d(e[0]),d(e[1])]:d(e),done:t}},[Symbol.iterator](){return this}}}}function hn(e){return function(...t){return"delete"!==e&&("clear"===e?void 0:this)}}function mn(){const e={get(e){return nn(this,e)},get size(){return an(this)},has:on,add:rn,set:sn,delete:ln,clear:cn,forEach:dn(!1,!1)},t={get(e){return nn(this,e,!1,!0)},get size(){return an(this)},has:on,add:rn,set:sn,delete:ln,clear:cn,forEach:dn(!1,!0)},n={get(e){return nn(this,e,!0)},get size(){return an(this,!0)},has(e){return on.call(this,e,!0)},add:hn("add"),set:hn("set"),delete:hn("delete"),clear:hn("clear"),forEach:dn(!0,!1)},o={get(e){return nn(this,e,!0,!0)},get size(){return an(this,!0)},has(e){return on.call(this,e,!0)},add:hn("add"),set:hn("set"),delete:hn("delete"),clear:hn("clear"),forEach:dn(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(a=>{e[a]=un(a,!1,!1),n[a]=un(a,!0,!1),t[a]=un(a,!1,!0),o[a]=un(a,!0,!0)}),[e,n,t,o]}const[pn,fn,gn,yn]=mn();function vn(e,t){const n=t?e?yn:gn:e?fn:pn;return(t,o,a)=>"__v_isReactive"===o?!e:"__v_isReadonly"===o?e:"__v_raw"===o?t:Reflect.get(p(n,o)&&o in t?n:t,o,a)}const bn={get:vn(!1,!1)},_n={get:vn(!1,!0)},wn={get:vn(!0,!1)},Tn=new WeakMap,xn=new WeakMap,Sn=new WeakMap,Cn=new WeakMap;function kn(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=>S(e).slice(8,-1))(e))}function Mn(e){return Pn(e)?e:Rn(e,!1,Jt,bn,Tn)}function An(e){return Rn(e,!1,Kt,_n,xn)}function In(e){return Rn(e,!0,Xt,wn,Sn)}function Rn(e,t,n,o,a){if(!w(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const r=a.get(e);if(r)return r;const i=kn(e);if(0===i)return e;const s=new Proxy(e,2===i?o:n);return a.set(e,s),s}function En(e){return Pn(e)?En(e.__v_raw):!(!e||!e.__v_isReactive)}function Pn(e){return!(!e||!e.__v_isReadonly)}function Ln(e){return!(!e||!e.__v_isShallow)}function On(e){return En(e)||Pn(e)}function Bn(e){const t=e&&e.__v_raw;return t?Bn(t):e}function Nn(e){return Object.isExtensible(e)&&D(e,"__v_skip",!0),e}const Dn=e=>w(e)?Mn(e):e,Vn=e=>w(e)?In(e):e;class $n{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 Tt(()=>e(this._value),()=>zn(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=Bn(this);return e._cacheable&&!e.effect.dirty||!B(e._value,e._value=e.effect.run())||zn(e,4),jn(e),e.effect._dirtyLevel>=2&&zn(e,2),e._value}set value(e){this._setter(e)}get _dirty(){return this.effect.dirty}set _dirty(e){this.effect.dirty=e}}function jn(e){var t;Mt&&bt&&(e=Bn(e),Ot(bt,null!=(t=e.dep)?t:e.dep=Dt(()=>e.dep=void 0,e instanceof $n?e:void 0)))}function zn(e,t=4,n){const o=(e=Bn(e)).dep;o&&Nt(o,t)}function Fn(e){return!(!e||!0!==e.__v_isRef)}function Wn(e){return Un(e,!1)}function Hn(e){return Un(e,!0)}function Un(e,t){return Fn(e)?e:new qn(e,t)}class qn{constructor(e,t){this.__v_isShallow=t,this.dep=void 0,this.__v_isRef=!0,this._rawValue=t?e:Bn(e),this._value=t?e:Dn(e)}get value(){return jn(this),this._value}set value(e){const t=this.__v_isShallow||Ln(e)||Pn(e);e=t?e:Bn(e),B(e,this._rawValue)&&(this._rawValue=e,this._value=t?e:Dn(e),zn(this,4))}}function Yn(e){return Fn(e)?e.value:e}const Zn={get:(e,t,n)=>Yn(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const a=e[t];return Fn(a)&&!Fn(n)?(a.value=n,!0):Reflect.set(e,t,n,o)}};function Gn(e){return En(e)?e:new Proxy(e,Zn)}class Qn{constructor(e,t,n){this._object=e,this._key=t,this._defaultValue=n,this.__v_isRef=!0}get value(){const e=this._object[this._key];return void 0===e?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){return function(e,t){var n;return null==(n=Vt.get(e))?void 0:n.get(t)}(Bn(this._object),this._key)}}class Jn{constructor(e){this._getter=e,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function Xn(e,t,n){return Fn(e)?e:v(e)?new Jn(e):w(e)&&arguments.length>1?Kn(e,t,n):Wn(e)}function Kn(e,t,n){const o=e[t];return Fn(o)?o:new Qn(e,t,n)}function eo(e,t,n,o){try{return o?e(...o):e()}catch(a){no(a,t,n)}}function to(e,t,n,o){if(v(e)){const a=eo(e,t,n,o);return a&&T(a)&&a.catch(e=>{no(e,t,n)}),a}const a=[];for(let r=0;r>>1,a=io[o],r=bo(a);rbo(e)-bo(t));if(lo.length=0,co)return void co.push(...e);for(co=e,uo=0;uonull==e.id?1/0:e.id,_o=(e,t)=>{const n=bo(e)-bo(t);if(0===n){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function wo(e){ro=!1,ao=!0,io.sort(_o);try{for(so=0;sob(e)?e.trim():e)),t&&(a=n.map(V))}let l,c=o[l=O(t)]||o[l=O(R(t))];!c&&i&&(c=o[l=O(P(t))]),c&&to(c,e,6,xo(e,c,a));const d=o[l+"Once"];if(d){if(e.emitted){if(e.emitted[l])return}else e.emitted={};e.emitted[l]=!0,to(d,e,6,xo(e,d,a))}}function xo(e,t,n){if(1!==n.length)return n;if(v(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 So(e,t,n=!1){const o=t.emitsCache,a=o.get(e);if(void 0!==a)return a;const r=e.emits;let i={},s=!1;if(!v(e)){const o=e=>{const n=So(e,t,!0);n&&(s=!0,u(i,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=>i[e]=null):u(i,r),w(e)&&o.set(e,i),i):(w(e)&&o.set(e,null),null)}function Co(e,t){return!(!e||!c(t))&&(t=t.slice(2).replace(/Once$/,""),p(e,t[0].toLowerCase()+t.slice(1))||p(e,P(t))||p(e,t))}let ko=null,Mo=null;function Ao(e){const t=ko;return ko=e,Mo=e&&e.type.__scopeId||null,t}function Io(e,t=ko,n){if(!t)return e;if(e._n)return e;const o=(...n)=>{o._d&&Dr(-1);const a=Ao(t);let r;try{r=e(...n)}finally{Ao(a),o._d&&Dr(1)}return r};return o._n=!0,o._c=!0,o._d=!0,o}function Ro(e){const{type:t,vnode:n,proxy:o,withProxy:a,props:r,propsOptions:[i],slots:s,attrs:l,emit:c,render:u,renderCache:h,data:m,setupState:p,ctx:f,inheritAttrs:g}=e;let y,v;const b=Ao(e);try{if(4&n.shapeFlag){const e=a||o,t=e;y=Jr(u.call(t,e,h,r,p,m,f)),v=l}else{const e=t;0,y=Jr(e.length>1?e(r,{attrs:l,slots:s,emit:c}):e(r,null)),v=t.props?l:Eo(l)}}catch(w){Lr.length=0,no(w,e,1),y=Yr(Er)}let _=y;if(v&&!1!==g){const e=Object.keys(v),{shapeFlag:t}=_;e.length&&7&t&&(i&&e.some(d)&&(v=Po(v,i)),_=Zr(_,v))}return n.dirs&&(_=Zr(_),_.dirs=_.dirs?_.dirs.concat(n.dirs):n.dirs),n.transition&&(_.transition=n.transition),y=_,Ao(b),y}const Eo=e=>{let t;for(const n in e)("class"===n||"style"===n||c(n))&&((t||(t={}))[n]=e[n]);return t},Po=(e,t)=>{const n={};for(const o in e)d(o)&&o.slice(9)in t||(n[o]=e[o]);return n};function Lo(e,t,n){const o=Object.keys(t);if(o.length!==Object.keys(e).length)return!0;for(let a=0;ae.__isSuspense;const zo=Symbol.for("v-scx");function Fo(e,t){return Uo(e,null,t)}const Wo={};function Ho(e,t,n){return Uo(e,t,n)}function Uo(e,t,{immediate:n,deep:o,flush:a,once:i,onTrack:l,onTrigger:c}=r){if(t&&i){const e=t;t=(...t)=>{e(...t),k()}}const d=ai,u=e=>!0===o?e:Zo(e,!1===o?1:void 0);let m,p,g=!1,y=!1;if(Fn(e)?(m=()=>e.value,g=Ln(e)):En(e)?(m=()=>u(e),g=!0):f(e)?(y=!0,g=e.some(e=>En(e)||Ln(e)),m=()=>e.map(e=>Fn(e)?e.value:En(e)?u(e):v(e)?eo(e,d,2):void 0)):m=v(e)?t?()=>eo(e,d,2):()=>(p&&p(),to(e,d,3,[_])):s,t&&o){const e=m;m=()=>Zo(e())}let b,_=e=>{p=S.onStop=()=>{eo(e,d,4),p=S.onStop=void 0}};if(ui){if(_=s,t?n&&to(t,d,3,[m(),y?[]:void 0,_]):m(),"sync"!==a)return s;{const e=lr(zo);b=e.__watcherHandles||(e.__watcherHandles=[])}}let w=y?new Array(e.length).fill(Wo):Wo;const T=()=>{if(S.active&&S.dirty)if(t){const e=S.run();(o||g||(y?e.some((e,t)=>B(e,w[t])):B(e,w)))&&(p&&p(),to(t,d,3,[e,w===Wo?void 0:y&&w[0]===Wo?[]:w,_]),w=e)}else S.run()};let x;T.allowRecurse=!!t,"sync"===a?x=T:"post"===a?x=()=>xr(T,d&&d.suspense):(T.pre=!0,d&&(T.id=d.uid),x=()=>fo(T));const S=new Tt(m,s,x),C=vt,k=()=>{S.stop(),C&&h(C.effects,S)};return t?n?T():w=S.run():"post"===a?xr(S.run.bind(S),d&&d.suspense):S.run(),b&&b.push(k),k}function qo(e,t,n){const o=this.proxy,a=b(e)?e.includes(".")?Yo(o,e):()=>o[e]:e.bind(o,o);let r;v(t)?r=t:(r=t.handler,n=t);const i=li(this),s=Uo(a,r.bind(o),n);return i(),s}function Yo(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),Fn(e))Zo(e.value,t,n,o);else if(f(e))for(let a=0;a{Zo(e,t,n,o)});else if(C(e))for(const a in e)Zo(e[a],t,n,o);return e}function Go(e,t){if(null===ko)return e;const n=pi(ko)||ko.proxy,o=e.dirs||(e.dirs=[]);for(let a=0;a{e.isMounted=!0}),Ea(()=>{e.isUnmounting=!0}),e}();return()=>{const a=t.default&&sa(t.default(),!0);if(!a||!a.length)return;let r=a[0];if(a.length>1)for(const e of a)if(e.type!==Er){r=e;break}const i=Bn(e),{mode:s}=i;if(o.isLeaving)return aa(r);const l=ra(r);if(!l)return aa(r);const c=oa(l,i,o,n);ia(l,c);const d=n.subTree,u=d&&ra(d);if(u&&u.type!==Er&&!Fr(l,u)){const e=oa(u,i,o,n);if(ia(u,e),"out-in"===s)return o.isLeaving=!0,e.afterLeave=()=>{o.isLeaving=!1,!1!==n.update.active&&(n.effect.dirty=!0,n.update())},aa(r);"in-out"===s&&l.type!==Er&&(e.delayLeave=(e,t,n)=>{na(o,u)[String(u.key)]=u,e[Jo]=()=>{t(),e[Jo]=void 0,delete c.delayedLeave},c.delayedLeave=n})}return r}}};function na(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 oa(e,t,n,o){const{appear:a,mode:r,persisted:i=!1,onBeforeEnter:s,onEnter:l,onAfterEnter:c,onEnterCancelled:d,onBeforeLeave:u,onLeave:h,onAfterLeave:m,onLeaveCancelled:p,onBeforeAppear:g,onAppear:y,onAfterAppear:v,onAppearCancelled:b}=t,_=String(e.key),w=na(n,e),T=(e,t)=>{e&&to(e,o,9,t)},x=(e,t)=>{const n=t[1];T(e,t),f(e)?e.every(e=>e.length<=1)&&n():e.length<=1&&n()},S={mode:r,persisted:i,beforeEnter(t){let o=s;if(!n.isMounted){if(!a)return;o=g||s}t[Jo]&&t[Jo](!0);const r=w[_];r&&Fr(e,r)&&r.el[Jo]&&r.el[Jo](),T(o,[t])},enter(e){let t=l,o=c,r=d;if(!n.isMounted){if(!a)return;t=y||l,o=v||c,r=b||d}let i=!1;const s=e[Xo]=t=>{i||(i=!0,T(t?r:o,[e]),S.delayedLeave&&S.delayedLeave(),e[Xo]=void 0)};t?x(t,[e,s]):s()},leave(t,o){const a=String(e.key);if(t[Xo]&&t[Xo](!0),n.isUnmounting)return o();T(u,[t]);let r=!1;const i=t[Jo]=n=>{r||(r=!0,o(),T(n?p:m,[t]),t[Jo]=void 0,w[a]===e&&delete w[a])};w[a]=e,h?x(h,[t,i]):i()},clone:e=>oa(e,t,n,o)};return S}function aa(e){if(ha(e))return(e=Zr(e)).children=null,e}function ra(e){return ha(e)?e.children?e.children[0]:void 0:e}function ia(e,t){6&e.shapeFlag&&e.component?ia(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 sa(e,t=!1,n){let o=[],a=0;for(let r=0;r1)for(let r=0;ru({name:e.name},t,{setup:e}))():e}const ca=e=>!!e.type.__asyncLoader; -/*! #__NO_SIDE_EFFECTS__ */function da(e){v(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:o,delay:a=200,timeout:r,suspensible:i=!0,onError:s}=e;let l,c=null,d=0;const u=()=>{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((d++,c=null,u())),()=>n(e),d+1)});throw e}).then(t=>e!==c&&c?c:(t&&(t.__esModule||"Module"===t[Symbol.toStringTag])&&(t=t.default),l=t,t)))};return la({name:"AsyncComponentWrapper",__asyncLoader:u,get __asyncResolved(){return l},setup(){const e=ai;if(l)return()=>ua(l,e);const t=t=>{c=null,no(t,e,13,!o)};if(i&&e.suspense||ui)return u().then(t=>()=>ua(t,e)).catch(e=>(t(e),()=>o?Yr(o,{error:e}):null));const s=Wn(!1),d=Wn(),h=Wn(!!a);return a&&setTimeout(()=>{h.value=!1},a),null!=r&&setTimeout(()=>{if(!s.value&&!d.value){const e=new Error(`Async component timed out after ${r}ms.`);t(e),d.value=e}},r),u().then(()=>{s.value=!0,e.parent&&ha(e.parent.vnode)&&(e.parent.effect.dirty=!0,fo(e.parent.update))}).catch(e=>{t(e),d.value=e}),()=>s.value&&l?ua(l,e):d.value&&o?Yr(o,{error:d.value}):n&&!h.value?Yr(n):void 0}})}function ua(e,t){const{ref:n,props:o,children:a,ce:r}=t.vnode,i=Yr(e,o,a);return i.ref=n,i.ce=r,delete t.vnode.ce,i}const ha=e=>e.type.__isKeepAlive;class ma{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,a=t.get(e);if(a)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 a}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 pa={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=ri(),o=n.ctx;if(!o.renderer)return()=>{const e=t.default&&t.default();return e&&1===e.length?e[0]:e};const a=e.cache||new ma(e.max);a.pruneCacheEntry=i;let r=null;function i(t){var o;!r||!Fr(t,r)||"key"===e.matchBy&&t.key!==r.key?(wa(o=t),d(o,n,s,!0)):r&&wa(r)}const s=n.suspense,{renderer:{p:l,m:c,um:d,o:{createElement:u}}}=o,h=u("div");function m(t){a.forEach((n,o)=>{const r=xa(n,e.matchBy);!r||t&&t(r)||(a.delete(o),i(n))})}o.activate=(e,t,n,o,a)=>{const r=e.component;if(r.ba){const e=r.isDeactivated;r.isDeactivated=!1,N(r.ba),r.isDeactivated=e}c(e,t,n,0,s),l(r.vnode,e,t,n,r,s,o,e.slotScopeIds,a),xr(()=>{r.isDeactivated=!1,r.a&&N(r.a);const t=e.props&&e.props.onVnodeMounted;t&&ti(t,r.parent,e)},s)},o.deactivate=e=>{const t=e.component;t.bda&&Sa(t.bda),c(e,h,null,1,s),xr(()=>{t.bda&&t.bda.forEach(e=>e.__called=!1),t.da&&N(t.da);const n=e.props&&e.props.onVnodeUnmounted;n&&ti(n,t.parent,e),t.isDeactivated=!0},s)},Ho(()=>[e.include,e.exclude,e.matchBy],([e,t])=>{e&&m(t=>ga(e,t)),t&&m(e=>!ga(t,e))},{flush:"post",deep:!0});let p=null;const f=()=>{null!=p&&a.set(p,Ta(n.subTree))};return Aa(f),Ra(f),Ea(()=>{a.forEach((t,o)=>{a.delete(o),i(t);const{subTree:r,suspense:s}=n,l=Ta(r);if(t.type===l.type&&("key"!==e.matchBy||t.key===l.key)){l.component.bda&&N(l.component.bda),wa(l);const e=l.component.da;return void(e&&xr(e,s))}})}),()=>{if(p=null,!t.default)return null;const n=t.default(),o=n[0];if(n.length>1)return r=null,n;if(!zr(o)||!(4&o.shapeFlag)&&!jo(o.type))return r=null,o;let i=Ta(o);const s=i.type,l=xa(i,e.matchBy),{include:c,exclude:d}=e;if(c&&(!l||!ga(c,l))||d&&l&&ga(d,l))return r=i,o;const u=null==i.key?s:i.key,h=a.get(u);return i.el&&(i=Zr(i),jo(o.type)&&(o.ssContent=i)),p=u,h&&(i.el=h.el,i.component=h.component,i.transition&&ia(i,i.transition),i.shapeFlag|=512),i.shapeFlag|=256,r=i,jo(o.type)?o:i}}},fa=pa;function ga(e,t){return f(e)?e.some(e=>ga(e,t)):b(e)?e.split(",").includes(t):"[object RegExp]"===S(e)&&e.test(t)}function ya(e,t){ba(e,"a",t)}function va(e,t){ba(e,"da",t)}function ba(e,t,n=ai){const o=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()});if(o.__called=!1,Ca(t,o,n),n){let e=n.parent;for(;e&&e.parent;)ha(e.parent.vnode)&&_a(o,t,n,e),e=e.parent}}function _a(e,t,n,o){const a=Ca(t,e,o,!0);Pa(()=>{h(o[t],a)},n)}function wa(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function Ta(e){return jo(e.type)?e.ssContent:e}function xa(e,t){if("name"===t){const t=e.type;return fi(ca(e)?t.__asyncResolved||{}:t)}return String(e.key)}function Sa(e){for(let t=0;t-1}(e)&&n.$pageInstance){if(n.type.__reserved)return;if(n!==n.$pageInstance&&(n=n.$pageInstance,function(e){return[pe,se].indexOf(e)>-1}(e))){const o=n.proxy;to(t.bind(o),n,e,pe===e?[o.$page.options]:[])}}const a=n[e]||(n[e]=[]),r=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;Rt();const a=li(n),r=to(t,n,e,o);return a(),Et(),r});return o?a.unshift(r):a.push(r),r}}const ka=e=>(t,n=ai)=>(!ui||"sp"===e)&&Ca(e,(...e)=>t(...e),n),Ma=ka("bm"),Aa=ka("m"),Ia=ka("bu"),Ra=ka("u"),Ea=ka("bum"),Pa=ka("um"),La=ka("sp"),Oa=ka("rtg"),Ba=ka("rtc");function Na(e,t=ai){Ca("ec",e,t)}function Da(e,t,n,o){let a;const r=n;if(f(e)||b(e)){a=new Array(e.length);for(let n=0,o=e.length;nt(e,n,void 0,r));else{const n=Object.keys(e);a=new Array(n.length);for(let o=0,i=n.length;o!zr(e)||e.type!==Er&&!(e.type===Ir&&!$a(e.children)))?e:null}const ja=e=>{if(!e)return null;if(di(e)){return pi(e)||e.proxy}return ja(e.parent)},za=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=>ja(e.parent),$root:e=>ja(e.root),$emit:e=>e.emit,$options:e=>Ga(e),$forceUpdate:e=>e.f||(e.f=(e=>function(){e.effect.dirty=!0,fo(e.update)})(e)),$nextTick:e=>e.n||(e.n=po.bind(e.proxy)),$watch:e=>qo.bind(e)}),Fa=(e,t)=>e!==r&&!e.__isScriptSetup&&p(e,t),Wa={get({_:e},t){const{ctx:n,setupState:o,data:a,props:i,accessCache:s,type:l,appContext:c}=e;let d;if("$"!==t[0]){const l=s[t];if(void 0!==l)switch(l){case 1:return o[t];case 2:return a[t];case 4:return n[t];case 3:return i[t]}else{if(Fa(o,t))return s[t]=1,o[t];if(a!==r&&p(a,t))return s[t]=2,a[t];if((d=e.propsOptions[0])&&p(d,t))return s[t]=3,i[t];if(n!==r&&p(n,t))return s[t]=4,n[t];Ua&&(s[t]=0)}}const u=za[t];let h,m;return u?("$attrs"===t&&zt(e,0,t),u(e)):(h=l.__cssModules)&&(h=h[t])?h:n!==r&&p(n,t)?(s[t]=4,n[t]):(m=c.config.globalProperties,p(m,t)?m[t]:void 0)},set({_:e},t,n){const{data:o,setupState:a,ctx:i}=e;return Fa(a,t)?(a[t]=n,!0):o!==r&&p(o,t)?(o[t]=n,!0):!p(e.props,t)&&(("$"!==t[0]||!(t.slice(1)in e))&&(i[t]=n,!0))},has({_:{data:e,setupState:t,accessCache:n,ctx:o,appContext:a,propsOptions:i}},s){let l;return!!n[s]||e!==r&&p(e,s)||Fa(t,s)||(l=i[0])&&p(l,s)||p(o,s)||p(za,s)||p(a.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 Ha(e){return f(e)?e.reduce((e,t)=>(e[t]=null,e),{}):e}let Ua=!0;function qa(e){const t=Ga(e),n=e.proxy,o=e.ctx;Ua=!1,t.beforeCreate&&Ya(t.beforeCreate,e,"bc");const{data:a,computed:r,methods:i,watch:l,provide:c,inject:d,created:u,beforeMount:h,mounted:m,beforeUpdate:p,updated:g,activated:y,deactivated:b,beforeDestroy:_,beforeUnmount:T,destroyed:x,unmounted:S,render:C,renderTracked:k,renderTriggered:M,errorCaptured:A,serverPrefetch:I,expose:R,inheritAttrs:E,components:P,directives:L,filters:O}=t;if(d&&function(e,t){f(e)&&(e=Ka(e));for(const n in e){const o=e[n];let a;a=w(o)?"default"in o?lr(o.from||n,o.default,!0):lr(o.from||n):lr(o),Fn(a)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>a.value,set:e=>a.value=e}):t[n]=a}}(d,o,null),i)for(const s in i){const e=i[s];v(e)&&(o[s]=e.bind(n))}if(a){const t=a.call(n,n);w(t)&&(e.data=Mn(t))}if(Ua=!0,r)for(const f in r){const e=r[f],t=v(e)?e.bind(n,n):v(e.get)?e.get.bind(n,n):s,a=!v(e)&&v(e.set)?e.set.bind(n):s,i=gi({get:t,set:a});Object.defineProperty(o,f,{enumerable:!0,configurable:!0,get:()=>i.value,set:e=>i.value=e})}if(l)for(const s in l)Za(l[s],o,n,s);if(c){const e=v(c)?c.call(n):c;Reflect.ownKeys(e).forEach(t=>{sr(t,e[t])})}function B(e,t){f(t)?t.forEach(t=>e(t.bind(n))):t&&e(t.bind(n))}if(u&&Ya(u,e,"c"),B(Ma,h),B(Aa,m),B(Ia,p),B(Ra,g),B(ya,y),B(va,b),B(Na,A),B(Ba,k),B(Oa,M),B(Ea,T),B(Pa,S),B(La,I),f(R))if(R.length){const t=e.exposed||(e.exposed={});R.forEach(e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t})})}else e.exposed||(e.exposed={});C&&e.render===s&&(e.render=C),null!=E&&(e.inheritAttrs=E),P&&(e.components=P),L&&(e.directives=L);const N=e.appContext.config.globalProperties.$applyOptions;N&&N(t,e,n)}function Ya(e,t,n){to(f(e)?e.map(e=>e.bind(t.proxy)):e.bind(t.proxy),t,n)}function Za(e,t,n,o){const a=o.includes(".")?Yo(n,o):()=>n[o];if(b(e)){const n=t[e];v(n)&&Ho(a,n)}else if(v(e))Ho(a,e.bind(n));else if(w(e))if(f(e))e.forEach(e=>Za(e,t,n,o));else{const o=v(e.handler)?e.handler.bind(n):t[e.handler];v(o)&&Ho(a,o,e)}}function Ga(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:a,optionsCache:r,config:{optionMergeStrategies:i}}=e.appContext,s=r.get(t);let l;return s?l=s:a.length||n||o?(l={},a.length&&a.forEach(e=>Qa(l,e,i,!0)),Qa(l,t,i)):l=t,w(t)&&r.set(t,l),l}function Qa(e,t,n,o=!1){const{mixins:a,extends:r}=t;r&&Qa(e,r,n,!0),a&&a.forEach(t=>Qa(e,t,n,!0));for(const i in t)if(o&&"expose"===i);else{const o=Ja[i]||n&&n[i];e[i]=o?o(e[i],t[i]):t[i]}return e}const Ja={data:Xa,props:nr,emits:nr,methods:tr,computed:tr,beforeCreate:er,created:er,beforeMount:er,mounted:er,beforeUpdate:er,updated:er,beforeDestroy:er,beforeUnmount:er,destroyed:er,unmounted:er,activated:er,deactivated:er,errorCaptured:er,serverPrefetch:er,components:tr,directives:tr,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]=er(e[o],t[o]);return n},provide:Xa,inject:function(e,t){return tr(Ka(e),Ka(t))}};function Xa(e,t){return t?e?function(){return u(v(e)?e.call(this,this):e,v(t)?t.call(this,this):t)}:t:e}function Ka(e){if(f(e)){const t={};for(let n=0;n(a.has(e)||(e&&v(e.install)?(a.add(e),e.install(i,...t)):v(e)&&(a.add(e),e(i,...t))),i),mixin:e=>(o.mixins.includes(e)||o.mixins.push(e),i),component:(e,t)=>t?(o.components[e]=t,i):o.components[e],directive:(e,t)=>t?(o.directives[e]=t,i):o.directives[e],mount(a,s,l){if(!r){const s=Yr(t,n);return s.appContext=o,!0===l?l="svg":!1===l&&(l=void 0),e(s,a,l),r=!0,i._container=a,a.__vue_app__=i,i._instance=s.component,pi(s.component)||s.component.proxy}},unmount(){r&&(e(null,i._container),delete i._container.__vue_app__)},provide:(e,t)=>(o.provides[e]=t,i),runWithContext(e){const t=ir;ir=i;try{return e()}finally{ir=t}}};return i}}let ir=null;function sr(e,t){if(ai){let n=ai.provides;const o=ai.parent&&ai.parent.provides;o===n&&(n=ai.provides=Object.create(o)),n[e]=t,"app"===ai.type.mpType&&ai.appContext.app.provide(e,t)}else;}function lr(e,t,n=!1){const o=ai||ko;if(o||ir){const a=o?null==o.parent?o.vnode.appContext&&o.vnode.appContext.provides:o.parent.provides:ir._context.provides;if(a&&e in a)return a[e];if(arguments.length>1)return n&&v(t)?t.call(o&&o.proxy):t}}function cr(e,t,n,o){const[a,i]=e.propsOptions;let s,l=!1;if(t)for(let r in t){if(M(r))continue;const c=t[r];let d;a&&p(a,d=R(r))?i&&i.includes(d)?(s||(s={}))[d]=c:n[d]=c:Co(e.emitsOptions,r)||r in o&&c===o[r]||(o[r]=dr(e,r,c),l=!0)}if(i){const t=Bn(n),o=s||r;for(let r=0;r{d=!0;const[n,o]=hr(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,i),i;if(f(s))for(let i=0;i-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 mr(e){return"$"!==e[0]&&!M(e)}function pr(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 fr(e,t){return pr(e)===pr(t)}function gr(e,t){return f(t)?t.findIndex(t=>fr(t,e)):v(t)&&fr(t,e)?0:-1}const yr=e=>"_"===e[0]||"$stable"===e,vr=e=>f(e)?e.map(Jr):[Jr(e)],br=(e,t,n)=>{if(t._n)return t;const o=Io((...e)=>vr(t(...e)),n);return o._c=!1,o},_r=(e,t,n)=>{const o=e._ctx;for(const a in e){if(yr(a))continue;const n=e[a];if(v(n))t[a]=br(0,n,o);else if(null!=n){const e=vr(n);t[a]=()=>e}}},wr=(e,t)=>{const n=vr(t);e.slots.default=()=>n};function Tr(e,t,n,o,a=!1){if(f(e))return void e.forEach((e,r)=>Tr(e,t&&(f(t)?t[r]:t),n,o,a));if(ca(o)&&!a)return;const i=4&o.shapeFlag?pi(o.component)||o.component.proxy:o.el,s=a?null:i,{i:l,r:c}=e,d=t&&t.r,u=l.refs===r?l.refs={}:l.refs,m=l.setupState;if(null!=d&&d!==c&&(b(d)?(u[d]=null,p(m,d)&&(m[d]=null)):Fn(d)&&(d.value=null)),v(c))eo(c,l,12,[s,u]);else{const t=b(c),o=Fn(c);if(t||o){const r=()=>{if(e.f){const n=t?p(m,c)?m[c]:u[c]:c.value;a?f(n)&&h(n,i):f(n)?n.includes(i)||n.push(i):t?(u[c]=[i],p(m,c)&&(m[c]=u[c])):(c.value=[i],e.k&&(u[e.k]=c.value))}else t?(u[c]=s,p(m,c)&&(m[c]=s)):o&&(c.value=s,e.k&&(u[e.k]=s))};s?(r.id=-1,xr(r,n)):r()}}}const xr=function(e,t){var n;t&&t.pendingBranch?f(e)?t.effects.push(...e):t.effects.push(e):(f(n=e)?lo.push(...n):co&&co.includes(n,n.allowRecurse?uo+1:uo)||lo.push(n),go())};function Sr(e){return function(e){j().__VUE__=!0;const{insert:t,remove:n,patchProp:o,forcePatchProp:a,createElement:l,createText:c,createComment:d,setText:h,setElementText:m,parentNode:f,nextSibling:g,setScopeId:y=s,insertStaticContent:v}=e,b=(e,t,n,o=null,a=null,r=null,i=void 0,s=null,l=!!t.dynamicChildren)=>{if(e===t)return;e&&!Fr(e,t)&&(o=ee(e),G(e,a,r,!0),e=null),-2===t.patchFlag&&(l=!1,t.dynamicChildren=null);const{type:c,ref:d,shapeFlag:u}=t;switch(c){case Rr:_(e,t,n,o);break;case Er:w(e,t,n,o);break;case Pr:null==e&&x(t,n,o,i);break;case Ir:V(e,t,n,o,a,r,i,s,l);break;default:1&u?k(e,t,n,o,a,r,i,s,l):6&u?$(e,t,n,o,a,r,i,s,l):(64&u||128&u)&&c.process(e,t,n,o,a,r,i,s,l,oe)}null!=d&&a&&Tr(d,e&&e.ref,r,t||e,!t)},_=(e,n,o,a)=>{if(null==e)t(n.el=c(n.children),o,a);else{const t=n.el=e.el;n.children!==e.children&&h(t,n.children)}},w=(e,n,o,a)=>{null==e?t(n.el=d(n.children||""),o,a):n.el=e.el},x=(e,t,n,o)=>{[e.el,e.anchor]=v(e.children,t,n,o,e.el,e.anchor)},S=({el:e,anchor:n},o,a)=>{let r;for(;e&&e!==n;)r=g(e),t(e,o,a),e=r;t(n,o,a)},C=({el:e,anchor:t})=>{let o;for(;e&&e!==t;)o=g(e),n(e),e=o;n(t)},k=(e,t,n,o,a,r,i,s,l)=>{"svg"===t.type?i="svg":"math"===t.type&&(i="mathml"),null==e?A(t,n,o,a,r,i,s,l):L(e,t,a,r,i,s,l)},A=(e,n,a,r,i,s,c,d)=>{let u,h;const{props:p,shapeFlag:f,transition:g,dirs:y}=e;if(u=e.el=l(e.type,s,p&&p.is,p),8&f?m(u,e.children):16&f&&E(e.children,u,null,r,i,Cr(e,s),c,d),y&&Qo(e,null,r,"created"),I(u,e,e.scopeId,c,r),p){for(const t in p)"value"===t||M(t)||o(u,t,null,p[t],s,e.children,r,i,K);"value"in p&&o(u,"value",null,p.value,s),(h=p.onVnodeBeforeMount)&&ti(h,r,e)}Object.defineProperty(u,"__vueParentComponent",{value:r,enumerable:!1}),y&&Qo(e,null,r,"beforeMount");const v=function(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}(i,g);v&&g.beforeEnter(u),t(u,n,a),((h=p&&p.onVnodeMounted)||v||y)&&xr(()=>{h&&ti(h,r,e),v&&g.enter(u),y&&Qo(e,null,r,"mounted")},i)},I=(e,t,n,o,a)=>{if(n&&y(e,n),o)for(let r=0;r{for(let c=l;c{const d=t.el=e.el;let{patchFlag:u,dynamicChildren:h,dirs:p}=t;u|=16&e.patchFlag;const f=e.props||r,g=t.props||r;let y;if(n&&kr(n,!1),(y=g.onVnodeBeforeUpdate)&&ti(y,n,t,e),p&&Qo(t,e,n,"beforeUpdate"),n&&kr(n,!0),h?O(e.dynamicChildren,h,d,n,i,Cr(t,s),l):c||U(e,t,d,null,n,i,Cr(t,s),l,!1),u>0){if(16&u)B(d,t,f,g,n,i,s);else if(2&u&&f.class!==g.class&&o(d,"class",null,g.class,s),4&u&&o(d,"style",f.style,g.style,s),8&u){const r=t.dynamicProps;for(let t=0;t{y&&ti(y,n,t,e),p&&Qo(t,e,n,"updated")},i)},O=(e,t,n,o,a,r,i)=>{for(let s=0;s{if(n!==i){if(n!==r)for(const a in n)M(a)||a in i||o(e,a,n[a],null,c,t.children,s,l,K);for(const r in i){if(M(r))continue;const d=i[r],u=n[r];(d!==u&&"value"!==r||a&&a(e,r))&&o(e,r,u,d,c,t.children,s,l,K)}"value"in i&&o(e,"value",n.value,i.value,c)}},V=(e,n,o,a,r,i,s,l,d)=>{const u=n.el=e?e.el:c(""),h=n.anchor=e?e.anchor:c("");let{patchFlag:m,dynamicChildren:p,slotScopeIds:f}=n;f&&(l=l?l.concat(f):f),null==e?(t(u,o,a),t(h,o,a),E(n.children||[],o,h,r,i,s,l,d)):m>0&&64&m&&p&&e.dynamicChildren?(O(e.dynamicChildren,p,o,r,i,s,l),(null!=n.key||r&&n===r.subTree)&&Mr(e,n,!0)):U(e,n,o,h,r,i,s,l,d)},$=(e,t,n,o,a,r,i,s,l)=>{t.slotScopeIds=s,null==e?512&t.shapeFlag?a.ctx.activate(t,n,o,i,l):z(t,n,o,a,r,i,l):F(e,t,l)},z=(e,t,n,o,a,i,s)=>{const l=e.component=function(e,t,n){const o=e.type,a=(t?t.appContext:e.appContext)||ni,i={uid:oi++,vnode:e,type:o,parent:t,appContext:a,get renderer(){return"app"===o.mpType?"app":this.$pageInstance&&this.$pageInstance==i?"page":"component"},root:null,next:null,subTree:null,effect:null,update:null,scope:new _t(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(a.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:hr(o,a),emitsOptions:So(o,a),emit:null,emitted:null,propsDefaults:r,inheritAttrs:o.inheritAttrs,ctx:r,data:r,props:r,attrs:r,slots:r,refs:r,setupState:r,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};i.ctx={_:i},i.root=t?t.root:i,i.emit=To.bind(null,i),i.$pageInstance=t&&t.$pageInstance,e.ce&&e.ce(i);return i}(e,o,a);if(ha(e)&&(l.ctx.renderer=oe),function(e,t=!1){t&&si(t);const{props:n,children:o}=e.vnode,a=di(e);(function(e,t,n,o=!1){const a={},r={};D(r,Wr,1),e.propsDefaults=Object.create(null),cr(e,t,a,r);for(const i in e.propsOptions[0])i in a||(a[i]=void 0);n?e.props=o?a:An(a):e.type.props?e.props=a:e.props=r,e.attrs=r})(e,n,a,t),((e,t)=>{if(32&e.vnode.shapeFlag){const n=t._;n?(e.slots=Bn(t),D(t,"_",n)):_r(t,e.slots={})}else e.slots={},t&&wr(e,t);D(e.slots,Wr,1)})(e,o);const r=a?function(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=Nn(new Proxy(e.ctx,Wa));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)=>(zt(e,0,"$attrs"),t[n])}))}(e)},slots:e.slots,emit:e.emit,expose:t}}(e):null,a=li(e);Rt();const r=eo(o,e,0,[e.props,n]);if(Et(),a(),T(r)){if(r.then(ci,ci),t)return r.then(t=>{hi(e,t)}).catch(t=>{no(t,e,0)});e.asyncDep=r}else hi(e,r)}else mi(e)}(e,t):void 0;t&&si(!1)}(l),l.asyncDep){if(a&&a.registerDep(l,W),!e.el){const e=l.subTree=Yr(Er);w(null,e,t,n)}}else W(l,e,t,n,a,i,s)},F=(e,t,n)=>{const o=t.component=e.component;if(function(e,t,n){const{props:o,children:a,component:r}=e,{props:i,children:s,patchFlag:l}=t,c=r.emitsOptions;if(t.dirs||t.transition)return!0;if(!(n&&l>=0))return!(!a&&!s||s&&s.$stable)||o!==i&&(o?!i||Lo(o,i,c):!!i);if(1024&l)return!0;if(16&l)return o?Lo(o,i,c):!!i;if(8&l){const e=t.dynamicProps;for(let t=0;tso&&io.splice(t,1)}(o.update),o.effect.dirty=!0,o.update()}else t.el=e.el,o.vnode=t},W=(e,t,n,o,a,r,i)=>{const l=()=>{if(e.isMounted){let{next:t,bu:n,u:o,parent:s,vnode:c}=e;{const n=Ar(e);if(n)return t&&(t.el=c.el,H(e,t,i)),void n.asyncDep.then(()=>{e.isUnmounted||l()})}let d,u=t;kr(e,!1),t?(t.el=c.el,H(e,t,i)):t=c,n&&N(n),(d=t.props&&t.props.onVnodeBeforeUpdate)&&ti(d,s,t,c),kr(e,!0);const h=Ro(e),m=e.subTree;e.subTree=h,b(m,h,f(m.el),ee(m),e,a,r),t.el=h.el,null===u&&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&&xr(o,a),(d=t.props&&t.props.onVnodeUpdated)&&xr(()=>ti(d,s,t,c),a)}else{let i;const{el:s,props:l}=t,{bm:c,m:d,parent:u}=e,h=ca(t);kr(e,!1),c&&N(c),!h&&(i=l&&l.onVnodeBeforeMount)&&ti(i,u,t),kr(e,!0);{const i=e.subTree=Ro(e);b(null,i,n,o,e,a,r),t.el=i.el}if(d&&xr(d,a),!h&&(i=l&&l.onVnodeMounted)){const e=t;xr(()=>ti(i,u,e),a)}(256&t.shapeFlag||u&&ca(u.vnode)&&256&u.vnode.shapeFlag)&&(e.ba&&Sa(e.ba),e.a&&xr(e.a,a)),e.isMounted=!0,t=n=o=null}},c=e.effect=new Tt(l,s,()=>fo(d),e.scope),d=e.update=()=>{c.dirty&&c.run()};d.id=e.uid,kr(e,!0),d()},H=(e,t,n)=>{t.component=e;const o=e.vnode.props;e.vnode=t,e.next=null,function(e,t,n,o){const{props:a,attrs:r,vnode:{patchFlag:i}}=e,s=Bn(a),[l]=e.propsOptions;let c=!1;if(!(o||i>0)||16&i){let o;cr(e,t,a,r)&&(c=!0);for(const r in s)t&&(p(t,r)||(o=P(r))!==r&&p(t,o))||(l?!n||void 0===n[r]&&void 0===n[o]||(a[r]=ur(l,s,r,void 0,e,!0)):delete a[r]);if(r!==s)for(const e in r)t&&p(t,e)||(delete r[e],c=!0)}else if(8&i){const n=e.vnode.dynamicProps;for(let o=0;o{const{vnode:o,slots:a}=e;let i=!0,s=r;if(32&o.shapeFlag){const e=t._;e?n&&1===e?i=!1:(u(a,t),n||1!==e||delete a._):(i=!t.$stable,_r(t,a)),s=t}else t&&(wr(e,t),s={default:1});if(i)for(const r in a)yr(r)||null!=s[r]||delete a[r]})(e,t.children,n),Rt(),yo(e),Et()},U=(e,t,n,o,a,r,i,s,l=!1)=>{const c=e&&e.children,d=e?e.shapeFlag:0,u=t.children,{patchFlag:h,shapeFlag:p}=t;if(h>0){if(128&h)return void Y(c,u,n,o,a,r,i,s,l);if(256&h)return void q(c,u,n,o,a,r,i,s,l)}8&p?(16&d&&K(c,a,r),u!==c&&m(n,u)):16&d?16&p?Y(c,u,n,o,a,r,i,s,l):K(c,a,r,!0):(8&d&&m(n,""),16&p&&E(u,n,o,a,r,i,s,l))},q=(e,t,n,o,a,r,s,l,c)=>{t=t||i;const d=(e=e||i).length,u=t.length,h=Math.min(d,u);let m;for(m=0;mu?K(e,a,r,!0,!1,h):E(t,n,o,a,r,s,l,c,h)},Y=(e,t,n,o,a,r,s,l,c)=>{let d=0;const u=t.length;let h=e.length-1,m=u-1;for(;d<=h&&d<=m;){const o=e[d],i=t[d]=c?Xr(t[d]):Jr(t[d]);if(!Fr(o,i))break;b(o,i,n,null,a,r,s,l,c),d++}for(;d<=h&&d<=m;){const o=e[h],i=t[m]=c?Xr(t[m]):Jr(t[m]);if(!Fr(o,i))break;b(o,i,n,null,a,r,s,l,c),h--,m--}if(d>h){if(d<=m){const e=m+1,i=em)for(;d<=h;)G(e[d],a,r,!0),d++;else{const p=d,f=d,g=new Map;for(d=f;d<=m;d++){const e=t[d]=c?Xr(t[d]):Jr(t[d]);null!=e.key&&g.set(e.key,d)}let y,v=0;const _=m-f+1;let w=!1,T=0;const x=new Array(_);for(d=0;d<_;d++)x[d]=0;for(d=p;d<=h;d++){const o=e[d];if(v>=_){G(o,a,r,!0);continue}let i;if(null!=o.key)i=g.get(o.key);else for(y=f;y<=m;y++)if(0===x[y-f]&&Fr(o,t[y])){i=y;break}void 0===i?G(o,a,r,!0):(x[i-f]=d+1,i>=T?T=i:w=!0,b(o,t[i],n,null,a,r,s,l,c),v++)}const S=w?function(e){const t=e.slice(),n=[0];let o,a,r,i,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,i=n[r-1];for(;r-- >0;)n[r]=i,i=t[i];return n}(x):i;for(y=S.length-1,d=_-1;d>=0;d--){const e=f+d,i=t[e],h=e+1{const{el:i,type:s,transition:l,children:c,shapeFlag:d}=e;if(6&d)return void Z(e.component.subTree,n,o,a);if(128&d)return void e.suspense.move(n,o,a);if(64&d)return void s.move(e,n,o,oe);if(s===Ir){t(i,n,o);for(let e=0;el.enter(i),r);else{const{leave:e,delayLeave:a,afterLeave:r}=l,s=()=>t(i,n,o),c=()=>{e(i,()=>{s(),r&&r()})};a?a(i,s,c):c()}else t(i,n,o)},G=(e,t,n,o=!1,a=!1)=>{const{type:r,props:i,ref:s,children:l,dynamicChildren:c,shapeFlag:d,patchFlag:u,dirs:h}=e;if(null!=s&&Tr(s,null,n,e,!0),256&d)return void t.ctx.deactivate(e);const m=1&d&&h,p=!ca(e);let f;if(p&&(f=i&&i.onVnodeBeforeUnmount)&&ti(f,t,e),6&d)X(e.component,n,o);else{if(128&d)return void e.suspense.unmount(n,o);m&&Qo(e,null,t,"beforeUnmount"),64&d?e.type.remove(e,t,n,a,oe,o):c&&(r!==Ir||u>0&&64&u)?K(c,t,n,!1,!0):(r===Ir&&384&u||!a&&16&d)&&K(l,t,n),o&&Q(e)}(p&&(f=i&&i.onVnodeUnmounted)||m)&&xr(()=>{f&&ti(f,t,e),m&&Qo(e,null,t,"unmounted")},n)},Q=e=>{const{type:t,el:o,anchor:a,transition:r}=e;if(t===Ir)return void J(o,a);if(t===Pr)return void C(e);const i=()=>{n(o),r&&!r.persisted&&r.afterLeave&&r.afterLeave()};if(1&e.shapeFlag&&r&&!r.persisted){const{leave:t,delayLeave:n}=r,a=()=>t(o,i);n?n(e.el,i,a):a()}else i()},J=(e,t)=>{let o;for(;e!==t;)o=g(e),n(e),e=o;n(t)},X=(e,t,n)=>{const{bum:o,scope:a,update:r,subTree:i,um:s}=e;o&&N(o),a.stop(),r&&(r.active=!1,G(i,e,t,n)),s&&xr(s,t),xr(()=>{e.isUnmounted=!0},t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve())},K=(e,t,n,o=!1,a=!1,r=0)=>{for(let i=r;i6&e.shapeFlag?ee(e.component.subTree):128&e.shapeFlag?e.suspense.next():g(e.anchor||e.el);let te=!1;const ne=(e,t,n)=>{null==e?t._vnode&&G(t._vnode,null,null,!0):b(t._vnode||null,e,t,null,null,null,n),te||(te=!0,yo(),vo(),te=!1),t._vnode=e},oe={p:b,um:G,m:Z,r:Q,mt:z,mc:E,pc:U,pbc:O,n:ee,o:e};let ae;return{render:ne,hydrate:ae,createApp:rr(ne)}}(e)}function Cr({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 kr({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Mr(e,t,n=!1){const o=e.children,a=t.children;if(f(o)&&f(a))for(let r=0;r0?Or||i:null,Lr.pop(),Or=Lr[Lr.length-1]||null,Nr>0&&Or&&Or.push(e),e}function $r(e,t,n,o,a,r){return Vr(qr(e,t,n,o,a,r,!0))}function jr(e,t,n,o,a){return Vr(Yr(e,t,n,o,a,!0))}function zr(e){return!!e&&!0===e.__v_isVNode}function Fr(e,t){return e.type===t.type&&e.key===t.key}const Wr="__vInternal",Hr=({key:e})=>null!=e?e:null,Ur=({ref:e,ref_key:t,ref_for:n})=>("number"==typeof e&&(e=""+e),null!=e?b(e)||Fn(e)||v(e)?{i:ko,r:e,k:t,f:!!n}:e:null);function qr(e,t=null,n=null,o=0,a=null,r=(e===Ir?0:1),i=!1,s=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Hr(t),ref:t&&Ur(t),scopeId:Mo,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:a,dynamicChildren:null,appContext:null,ctx:ko};return s?(Kr(l,n),128&r&&e.normalize(l)):n&&(l.shapeFlag|=b(n)?8:16),Nr>0&&!i&&Or&&(l.patchFlag>0||6&r)&&32!==l.patchFlag&&Or.push(l),l}const Yr=function(e,t=null,n=null,o=0,a=null,r=!1){e&&e!==No||(e=Er);if(zr(e)){const o=Zr(e,t,!0);return n&&Kr(o,n),Nr>0&&!r&&Or&&(6&o.shapeFlag?Or[Or.indexOf(e)]=o:Or.push(o)),o.patchFlag|=-2,o}i=e,v(i)&&"__vccOpts"in i&&(e=e.__vccOpts);var i;if(t){t=function(e){return e?On(e)||Wr in e?u({},e):e:null}(t);let{class:e,style:n}=t;e&&!b(e)&&(t.class=qe(e)),w(n)&&(On(n)&&!f(n)&&(n=u({},n)),t.style=Ue(n))}const s=b(e)?1:jo(e)?128:(e=>e.__isTeleport)(e)?64:w(e)?4:v(e)?2:0;return qr(e,t,n,o,a,s,r,!0)};function Zr(e,t,n=!1){const{props:o,ref:a,patchFlag:r,children:i}=e,s=t?ei(o||{},t):o;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:s,key:s&&Hr(s),ref:t&&t.ref?n&&a?f(a)?a.concat(Ur(t)):[a,Ur(t)]:Ur(t):a,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ir?-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&&Zr(e.ssContent),ssFallback:e.ssFallback&&Zr(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Gr(e=" ",t=0){return Yr(Rr,null,e,t)}function Qr(e="",t=!1){return t?(Br(),jr(Er,null,e)):Yr(Er,null,e)}function Jr(e){return null==e||"boolean"==typeof e?Yr(Er):f(e)?Yr(Ir,null,e.slice()):"object"==typeof e?Xr(e):Yr(Rr,null,String(e))}function Xr(e){return null===e.el&&-1!==e.patchFlag||e.memo?e:Zr(e)}function Kr(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),Kr(e,n()),n._c&&(n._d=!0)))}{n=32;const o=t._;o||Wr in t?3===o&&ko&&(1===ko.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=ko}}else v(t)?(t={default:t,_ctx:ko},n=32):(t=String(t),64&o?(n=16,t=[Gr(t)]):n=8);e.children=t,e.shapeFlag|=n}function ei(...e){const t={};for(let n=0;nai||ko;let ii,si;{const e=j(),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)}};ii=t("__VUE_INSTANCE_SETTERS__",e=>ai=e),si=t("__VUE_SSR_SETTERS__",e=>ui=e)}const li=e=>{const t=ai;return ii(e),e.scope.on(),()=>{e.scope.off(),ii(t)}},ci=()=>{ai&&ai.scope.off(),ii(null)};function di(e){return 4&e.vnode.shapeFlag}let ui=!1;function hi(e,t,n){v(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:w(t)&&(e.setupState=Gn(t)),mi(e)}function mi(e,t,n){const o=e.type;e.render||(e.render=o.render||s);{const t=li(e);Rt();try{qa(e)}finally{Et(),t()}}}function pi(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Gn(Nn(e.exposed)),{get:(t,n)=>n in t?t[n]:n in za?za[n](e):void 0,has:(e,t)=>t in e||t in za}))}function fi(e,t=!0){return v(e)?e.displayName||e.name:e.name||t&&e.__name}const gi=(e,t)=>{const n=function(e,t,n=!1){let o,a;const r=v(e);return r?(o=e,a=s):(o=e.get,a=e.set),new $n(o,a,r||!a,n)}(e,0,ui);return n};function yi(e,t,n){const o=arguments.length;return 2===o?w(t)&&!f(t)?zr(t)?Yr(e,null,[t]):Yr(e,t):Yr(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):3===o&&zr(n)&&(n=[n]),Yr(e,t,n))}const vi="3.4.21",bi=s,_i="undefined"!=typeof document?document:null,wi=_i&&_i.createElement("template"),Ti={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 a="svg"===t?_i.createElementNS("http://www.w3.org/2000/svg",e):"mathml"===t?_i.createElementNS("http://www.w3.org/1998/Math/MathML",e):n?_i.createElement(e,{is:n}):_i.createElement(e);return"select"===e&&o&&null!=o.multiple&&a.setAttribute("multiple",o.multiple),a},createText:e=>_i.createTextNode(e),createComment:e=>_i.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>_i.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,o,a,r){const i=n?n.previousSibling:t.lastChild;if(a&&(a===r||a.nextSibling))for(;t.insertBefore(a.cloneNode(!0),n),a!==r&&(a=a.nextSibling););else{wi.innerHTML="svg"===o?`${e}`:"mathml"===o?`${e}`:e;const a=wi.content;if("svg"===o||"mathml"===o){const e=a.firstChild;for(;e.firstChild;)a.appendChild(e.firstChild);a.removeChild(e)}t.insertBefore(a,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},xi="transition",Si="animation",Ci=Symbol("_vtc"),ki=(e,{slots:t})=>yi(ta,function(e){const t={};for(const u in e)u in Mi||(t[u]=e[u]);if(!1===e.css)return t;const{name:n="v",type:o,duration:a,enterFromClass:r=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:s=`${n}-enter-to`,appearFromClass:l=r,appearActiveClass:c=i,appearToClass:d=s,leaveFromClass:h=`${n}-leave-from`,leaveActiveClass:m=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=e,f=function(e){if(null==e)return null;if(w(e))return[Ri(e.enter),Ri(e.leave)];{const t=Ri(e);return[t,t]}}(a),g=f&&f[0],y=f&&f[1],{onBeforeEnter:v,onEnter:b,onEnterCancelled:_,onLeave:T,onLeaveCancelled:x,onBeforeAppear:S=v,onAppear:C=b,onAppearCancelled:k=_}=t,M=(e,t,n)=>{Pi(e,t?d:s),Pi(e,t?c:i),n&&n()},A=(e,t)=>{e._isLeaving=!1,Pi(e,h),Pi(e,p),Pi(e,m),t&&t()},I=e=>(t,n)=>{const a=e?C:b,i=()=>M(t,e,n);Ai(a,[t,i]),Li(()=>{Pi(t,e?l:r),Ei(t,e?d:s),Ii(a)||Bi(t,o,g,i)})};return u(t,{onBeforeEnter(e){Ai(v,[e]),Ei(e,r),Ei(e,i)},onBeforeAppear(e){Ai(S,[e]),Ei(e,l),Ei(e,c)},onEnter:I(!1),onAppear:I(!0),onLeave(e,t){e._isLeaving=!0;const n=()=>A(e,t);Ei(e,h),document.body.offsetHeight,Ei(e,m),Li(()=>{e._isLeaving&&(Pi(e,h),Ei(e,p),Ii(T)||Bi(e,o,y,n))}),Ai(T,[e,n])},onEnterCancelled(e){M(e,!1),Ai(_,[e])},onAppearCancelled(e){M(e,!0),Ai(k,[e])},onLeaveCancelled(e){A(e),Ai(x,[e])}})}(e),t);ki.displayName="Transition";const Mi={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};ki.props=u({},ea,Mi);const Ai=(e,t=[])=>{f(e)?e.forEach(e=>e(...t)):e&&e(...t)},Ii=e=>!!e&&(f(e)?e.some(e=>e.length>1):e.length>1);function Ri(e){const t=(e=>{const t=b(e)?Number(e):NaN;return isNaN(t)?e:t})(e);return t}function Ei(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.add(t)),(e[Ci]||(e[Ci]=new Set)).add(t)}function Pi(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.remove(t));const n=e[Ci];n&&(n.delete(t),n.size||(e[Ci]=void 0))}function Li(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Oi=0;function Bi(e,t,n,o){const a=e._endId=++Oi,r=()=>{a===e._endId&&o()};if(n)return setTimeout(r,n);const{type:i,timeout:s,propCount:l}=function(e,t){const n=window.getComputedStyle(e),o=e=>(n[e]||"").split(", "),a=o(`${xi}Delay`),r=o(`${xi}Duration`),i=Ni(a,r),s=o(`${Si}Delay`),l=o(`${Si}Duration`),c=Ni(s,l);let d=null,u=0,h=0;t===xi?i>0&&(d=xi,u=i,h=r.length):t===Si?c>0&&(d=Si,u=c,h=l.length):(u=Math.max(i,c),d=u>0?i>c?xi:Si:null,h=d?d===xi?r.length:l.length:0);const m=d===xi&&/\b(transform|all)(,|$)/.test(o(`${xi}Property`).toString());return{type:d,timeout:u,propCount:h,hasTransform:m}}(e,t);if(!i)return o();const c=i+"end";let d=0;const u=()=>{e.removeEventListener(c,h),r()},h=t=>{t.target===e&&++d>=l&&u()};setTimeout(()=>{dDi(t)+Di(e[n])))}function Di(e){return"auto"===e?0:1e3*Number(e.slice(0,-1).replace(",","."))}const Vi=Symbol("_vod"),$i=Symbol("_vsh"),ji={beforeMount(e,{value:t},{transition:n}){e[Vi]="none"===e.style.display?"":e.style.display,n&&t?n.beforeEnter(e):zi(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),zi(e,!0),o.enter(e)):o.leave(e,()=>{zi(e,!1)}):zi(e,t))},beforeUnmount(e,{value:t}){zi(e,t)}};function zi(e,t){e.style.display=t?e[Vi]:"none",e[$i]=!t}const Fi=Symbol(""),Wi=/(^|;)\s*display\s*:/;const Hi=/\s*!important$/;function Ui(e,t,n){if(f(n))n.forEach(n=>Ui(e,t,n));else if(null==n&&(n=""),n=ts(n),t.startsWith("--"))e.setProperty(t,n);else{const o=function(e,t){const n=Yi[t];if(n)return n;let o=R(t);if("filter"!==o&&o in e)return Yi[t]=o;o=L(o);for(let a=0;ae.replace(et,(e,t)=>{if(!t)return e;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)*Ki,es);return 0===n?"0":`${n}${Xi}`}));var Xi,Ki,es;const ts=e=>b(e)?Ji(e):e,ns="http://www.w3.org/1999/xlink";const os=Symbol("_vei");function as(e,t,n,o,a=null){const r=e[os]||(e[os]={}),i=r[t];if(o&&i)i.value=o;else{const[n,s]=function(e){let t;if(rs.test(e)){let n;for(t={};n=e.match(rs);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}const n=":"===e[2]?e.slice(3):P(e.slice(2));return[n,t]}(t);if(o){const i=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,a=o&&o.$nne,{value:r}=n;if(a&&f(r)){const n=cs(e,r);for(let o=0;ois||(ss.then(()=>is=0),is=Date.now());function cs(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 ds=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123;const us=["ctrl","shift","alt","meta"],hs={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)=>us.some(n=>e[`${n}Key`]&&!t.includes(n))},ms=(e,t)=>{const n=e._withMods||(e._withMods={}),o=t.join(".");return n[o]||(n[o]=(n,...o)=>{for(let e=0;e{if(0===t.indexOf("change:"))return function(e,t,n,o=null){if(!n||!o)return;const a=t.replace("change:",""),{attrs:r}=o,i=r[a],s=(e.__wxsProps||(e.__wxsProps={}))[a];if(s===i)return;e.__wxsProps[a]=i;const l=o.proxy;po(()=>{n(i,s,l.$gcd(l,!0),l.$gcd(l,!1))})}(e,t,o,i);const u="svg"===a;"class"===t?function(e,t,n){const{__wxsAddClass:o,__wxsRemoveClass:a}=e;a&&a.length&&(t=(t||"").split(/\s+/).filter(e=>-1===a.indexOf(e)).join(" "),a.length=0),o&&o.length&&(t=(t||"")+" "+o.join(" "));const r=e[Ci];r&&(t=(t?[t,...r]:[...r]).join(" ")),null==t?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}(e,o,u):"style"===t?function(e,t,n){const o=e.style,a=b(n);let r=!1;if(n&&!a){if(t)if(b(t))for(const e of t.split(";")){const t=e.slice(0,e.indexOf(":")).trim();null==n[t]&&Ui(o,t,"")}else for(const e in t)null==n[e]&&Ui(o,e,"");for(const e in n)"display"===e&&(r=!0),Ui(o,e,n[e])}else if(a){if(t!==n){const e=o[Fi];e&&(n+=";"+e),o.cssText=n,r=Wi.test(n)}}else t&&e.removeAttribute("style");Vi in e&&(e[Vi]=r?o.display:"",e[$i]&&(o.display="none"));const{__wxsStyle:i}=e;if(i)for(const s in i)Ui(o,s,i[s])}(e,n,o):c(t)?d(t)||as(e,t,0,o,i):("."===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&&ds(t)&&v(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(ds(t)&&b(n))return!1;return t in e}(e,t,o,u))?function(e,t,n,o,a,r,i){if("innerHTML"===t||"textContent"===t)return o&&i(o,a,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=Z(n):null==n&&"string"===o?(n="",l=!0):"number"===o&&(n=0,l=!0)}try{e[t]=n}catch(VR){}l&&e.removeAttribute(t)}(e,t,o,r,i,s,l):("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(ns,t.slice(6,t.length)):e.setAttributeNS(ns,t,n);else{const o=Y(t);null==n||o&&!Z(n)?e.removeAttribute(t):e.setAttribute(t,o?"":n)}}(e,t,o,u))},forcePatchProp:(e,t)=>0===t.indexOf("change:")||("class"===t&&e.__wxsClassChanged?(e.__wxsClassChanged=!1,!0):!("style"!==t||!e.__wxsStyleChanged)&&(e.__wxsStyleChanged=!1,!0))},Ti);let fs;const gs=(...e)=>{const t=(fs||(fs=Sr(ps))).createApp(...e),{mount:n}=t;return t.mount=e=>{const o=function(e){if(b(e)){return document.querySelector(e)}return e} +**/let vt, bt; class _t { constructor(e = !1) { this.detached = e, this._active = !0, this.effects = [], this.cleanups = [], this.parent = vt, !e && vt && (this.index = (vt.scopes || (vt.scopes = [])).push(this) - 1) } get active() { return this._active } run(e) { if (this._active) { const t = vt; try { return vt = this, e() } finally { vt = t } } } on() { vt = this } off() { vt = this.parent } stop(e) { if (this._active) { let t, n; for (t = 0, n = this.effects.length; t < n; t++)this.effects[t].stop(); for (t = 0, n = this.cleanups.length; t < n; t++)this.cleanups[t](); if (this.scopes) for (t = 0, n = this.scopes.length; t < n; t++)this.scopes[t].stop(!0); if (!this.detached && this.parent && !e) { const e = this.parent.scopes.pop(); e && e !== this && (this.parent.scopes[this.index] = e, e.index = this.index) } this.parent = void 0, this._active = !1 } } } function wt(e) { return new _t(e) } class Tt { constructor(e, t, n, o) { this.fn = e, this.trigger = t, this.scheduler = n, this.active = !0, this.deps = [], this._dirtyLevel = 4, this._trackId = 0, this._runnings = 0, this._shouldSchedule = !1, this._depsLength = 0, function (e, t = vt) { t && t.active && t.effects.push(e) }(this, o) } get dirty() { if (2 === this._dirtyLevel || 3 === this._dirtyLevel) { this._dirtyLevel = 1, Rt(); for (let e = 0; e < this._depsLength; e++) { const t = this.deps[e]; if (t.computed && (xt(t.computed), this._dirtyLevel >= 4)) break } 1 === this._dirtyLevel && (this._dirtyLevel = 0), Et() } return this._dirtyLevel >= 4 } set dirty(e) { this._dirtyLevel = e ? 4 : 0 } run() { if (this._dirtyLevel = 0, !this.active) return this.fn(); let e = Mt, t = bt; try { return Mt = !0, bt = this, this._runnings++, St(this), this.fn() } finally { Ct(this), this._runnings--, bt = t, Mt = e } } stop() { var e; this.active && (St(this), Ct(this), null == (e = this.onStop) || e.call(this), this.active = !1) } } function xt(e) { return e.value } function St(e) { e._trackId++, e._depsLength = 0 } function Ct(e) { if (e.deps.length > e._depsLength) { for (let t = e._depsLength; t < e.deps.length; t++)kt(e.deps[t], e); e.deps.length = e._depsLength } } function kt(e, t) { const n = e.get(t); void 0 !== n && t._trackId !== n && (e.delete(t), 0 === e.size && e.cleanup()) } let Mt = !0, At = 0; const It = []; function Rt() { It.push(Mt), Mt = !1 } function Et() { const e = It.pop(); Mt = void 0 === e || e } function Pt() { At++ } function Lt() { for (At--; !At && Bt.length;)Bt.shift()() } function Ot(e, t, n) { if (t.get(e) !== e._trackId) { t.set(e, e._trackId); const n = e.deps[e._depsLength]; n !== t ? (n && kt(n, e), e.deps[e._depsLength++] = t) : e._depsLength++ } } const Bt = []; function Nt(e, t, n) { Pt(); for (const o of e.keys()) { let n; o._dirtyLevel < t && (null != n ? n : n = e.get(o) === o._trackId) && (o._shouldSchedule || (o._shouldSchedule = 0 === o._dirtyLevel), o._dirtyLevel = t), o._shouldSchedule && (null != n ? n : n = e.get(o) === o._trackId) && (o.trigger(), o._runnings && !o.allowRecurse || 2 === o._dirtyLevel || (o._shouldSchedule = !1, o.scheduler && Bt.push(o.scheduler))) } Lt() } const Dt = (e, t) => { const n = new Map; return n.cleanup = e, n.computed = t, n }, Vt = new WeakMap, $t = Symbol(""), jt = Symbol(""); function zt(e, t, n) { if (Mt && bt) { let t = Vt.get(e); t || Vt.set(e, t = new Map); let o = t.get(n); o || t.set(n, o = Dt(() => t.delete(n))), Ot(bt, o) } } function Ft(e, t, n, o, a, r) { const i = Vt.get(e); if (!i) return; let s = []; if ("clear" === t) s = [...i.values()]; else if ("length" === n && f(e)) { const e = Number(o); i.forEach((t, n) => { ("length" === n || !_(n) && n >= e) && s.push(t) }) } else switch (void 0 !== n && s.push(i.get(n)), t) { case "add": f(e) ? k(n) && s.push(i.get("length")) : (s.push(i.get($t)), g(e) && s.push(i.get(jt))); break; case "delete": f(e) || (s.push(i.get($t)), g(e) && s.push(i.get(jt))); break; case "set": g(e) && s.push(i.get($t)) }Pt(); for (const l of s) l && Nt(l, 4); Lt() } const Wt = a("__proto__,__v_isRef,__isVue"), Ht = new Set(Object.getOwnPropertyNames(Symbol).filter(e => "arguments" !== e && "caller" !== e).map(e => Symbol[e]).filter(_)), Ut = qt(); function qt() { const e = {}; return ["includes", "indexOf", "lastIndexOf"].forEach(t => { e[t] = function (...e) { const n = Bn(this); for (let t = 0, a = this.length; t < a; t++)zt(n, 0, t + ""); const o = n[t](...e); return -1 === o || !1 === o ? n[t](...e.map(Bn)) : o } }), ["push", "pop", "shift", "unshift", "splice"].forEach(t => { e[t] = function (...e) { Rt(), Pt(); const n = Bn(this)[t].apply(this, e); return Lt(), Et(), n } }), e } function Yt(e) { const t = Bn(this); return zt(t, 0, e), t.hasOwnProperty(e) } class Zt { constructor(e = !1, t = !1) { this._isReadonly = e, this._isShallow = t } get(e, t, n) { const o = this._isReadonly, a = this._isShallow; if ("__v_isReactive" === t) return !o; if ("__v_isReadonly" === t) return o; if ("__v_isShallow" === t) return a; if ("__v_raw" === t) return n === (o ? a ? Cn : Sn : a ? xn : Tn).get(e) || Object.getPrototypeOf(e) === Object.getPrototypeOf(n) ? e : void 0; const r = f(e); if (!o) { if (r && p(Ut, t)) return Reflect.get(Ut, t, n); if ("hasOwnProperty" === t) return Yt } const i = Reflect.get(e, t, n); return (_(t) ? Ht.has(t) : Wt(t)) ? i : (o || zt(e, 0, t), a ? i : Fn(i) ? r && k(t) ? i : i.value : w(i) ? o ? In(i) : Mn(i) : i) } } class Gt extends Zt { constructor(e = !1) { super(!1, e) } set(e, t, n, o) { let a = e[t]; if (!this._isShallow) { const t = Pn(a); if (Ln(n) || Pn(n) || (a = Bn(a), n = Bn(n)), !f(e) && Fn(a) && !Fn(n)) return !t && (a.value = n, !0) } const r = f(e) && k(t) ? Number(t) < e.length : p(e, t), i = Reflect.set(e, t, n, o); return e === Bn(o) && (r ? B(n, a) && Ft(e, "set", t, n) : Ft(e, "add", t, n)), i } deleteProperty(e, t) { const n = p(e, t); e[t]; const o = Reflect.deleteProperty(e, t); return o && n && Ft(e, "delete", t, void 0), o } has(e, t) { const n = Reflect.has(e, t); return _(t) && Ht.has(t) || zt(e, 0, t), n } ownKeys(e) { return zt(e, 0, f(e) ? "length" : $t), Reflect.ownKeys(e) } } class Qt extends Zt { constructor(e = !1) { super(!0, e) } set(e, t) { return !0 } deleteProperty(e, t) { return !0 } } const Jt = new Gt, Xt = new Qt, Kt = new Gt(!0), en = e => e, tn = e => Reflect.getPrototypeOf(e); function nn(e, t, n = !1, o = !1) { const a = Bn(e = e.__v_raw), r = Bn(t); n || (B(t, r) && zt(a, 0, t), zt(a, 0, r)); const { has: i } = tn(a), s = o ? en : n ? Vn : Dn; return i.call(a, t) ? s(e.get(t)) : i.call(a, r) ? s(e.get(r)) : void (e !== a && e.get(t)) } function on(e, t = !1) { const n = this.__v_raw, o = Bn(n), a = Bn(e); return t || (B(e, a) && zt(o, 0, e), zt(o, 0, a)), e === a ? n.has(e) : n.has(e) || n.has(a) } function an(e, t = !1) { return e = e.__v_raw, !t && zt(Bn(e), 0, $t), Reflect.get(e, "size", e) } function rn(e) { e = Bn(e); const t = Bn(this); return tn(t).has.call(t, e) || (t.add(e), Ft(t, "add", e, e)), this } function sn(e, t) { t = Bn(t); const n = Bn(this), { has: o, get: a } = tn(n); let r = o.call(n, e); r || (e = Bn(e), r = o.call(n, e)); const i = a.call(n, e); return n.set(e, t), r ? B(t, i) && Ft(n, "set", e, t) : Ft(n, "add", e, t), this } function ln(e) { const t = Bn(this), { has: n, get: o } = tn(t); let a = n.call(t, e); a || (e = Bn(e), a = n.call(t, e)), o && o.call(t, e); const r = t.delete(e); return a && Ft(t, "delete", e, void 0), r } function cn() { const e = Bn(this), t = 0 !== e.size, n = e.clear(); return t && Ft(e, "clear", void 0, void 0), n } function dn(e, t) { return function (n, o) { const a = this, r = a.__v_raw, i = Bn(r), s = t ? en : e ? Vn : Dn; return !e && zt(i, 0, $t), r.forEach((e, t) => n.call(o, s(e), s(t), a)) } } function un(e, t, n) { return function (...o) { const a = this.__v_raw, r = Bn(a), i = g(r), s = "entries" === e || e === Symbol.iterator && i, l = "keys" === e && i, c = a[e](...o), d = n ? en : t ? Vn : Dn; return !t && zt(r, 0, l ? jt : $t), { next() { const { value: e, done: t } = c.next(); return t ? { value: e, done: t } : { value: s ? [d(e[0]), d(e[1])] : d(e), done: t } }, [Symbol.iterator]() { return this } } } } function hn(e) { return function (...t) { return "delete" !== e && ("clear" === e ? void 0 : this) } } function mn() { const e = { get(e) { return nn(this, e) }, get size() { return an(this) }, has: on, add: rn, set: sn, delete: ln, clear: cn, forEach: dn(!1, !1) }, t = { get(e) { return nn(this, e, !1, !0) }, get size() { return an(this) }, has: on, add: rn, set: sn, delete: ln, clear: cn, forEach: dn(!1, !0) }, n = { get(e) { return nn(this, e, !0) }, get size() { return an(this, !0) }, has(e) { return on.call(this, e, !0) }, add: hn("add"), set: hn("set"), delete: hn("delete"), clear: hn("clear"), forEach: dn(!0, !1) }, o = { get(e) { return nn(this, e, !0, !0) }, get size() { return an(this, !0) }, has(e) { return on.call(this, e, !0) }, add: hn("add"), set: hn("set"), delete: hn("delete"), clear: hn("clear"), forEach: dn(!0, !0) }; return ["keys", "values", "entries", Symbol.iterator].forEach(a => { e[a] = un(a, !1, !1), n[a] = un(a, !0, !1), t[a] = un(a, !1, !0), o[a] = un(a, !0, !0) }), [e, n, t, o] } const [pn, fn, gn, yn] = mn(); function vn(e, t) { const n = t ? e ? yn : gn : e ? fn : pn; return (t, o, a) => "__v_isReactive" === o ? !e : "__v_isReadonly" === o ? e : "__v_raw" === o ? t : Reflect.get(p(n, o) && o in t ? n : t, o, a) } const bn = { get: vn(!1, !1) }, _n = { get: vn(!1, !0) }, wn = { get: vn(!0, !1) }, Tn = new WeakMap, xn = new WeakMap, Sn = new WeakMap, Cn = new WeakMap; function kn(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 => S(e).slice(8, -1))(e)) } function Mn(e) { return Pn(e) ? e : Rn(e, !1, Jt, bn, Tn) } function An(e) { return Rn(e, !1, Kt, _n, xn) } function In(e) { return Rn(e, !0, Xt, wn, Sn) } function Rn(e, t, n, o, a) { if (!w(e)) return e; if (e.__v_raw && (!t || !e.__v_isReactive)) return e; const r = a.get(e); if (r) return r; const i = kn(e); if (0 === i) return e; const s = new Proxy(e, 2 === i ? o : n); return a.set(e, s), s } function En(e) { return Pn(e) ? En(e.__v_raw) : !(!e || !e.__v_isReactive) } function Pn(e) { return !(!e || !e.__v_isReadonly) } function Ln(e) { return !(!e || !e.__v_isShallow) } function On(e) { return En(e) || Pn(e) } function Bn(e) { const t = e && e.__v_raw; return t ? Bn(t) : e } function Nn(e) { return Object.isExtensible(e) && D(e, "__v_skip", !0), e } const Dn = e => w(e) ? Mn(e) : e, Vn = e => w(e) ? In(e) : e; class $n { 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 Tt(() => e(this._value), () => zn(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 = Bn(this); return e._cacheable && !e.effect.dirty || !B(e._value, e._value = e.effect.run()) || zn(e, 4), jn(e), e.effect._dirtyLevel >= 2 && zn(e, 2), e._value } set value(e) { this._setter(e) } get _dirty() { return this.effect.dirty } set _dirty(e) { this.effect.dirty = e } } function jn(e) { var t; Mt && bt && (e = Bn(e), Ot(bt, null != (t = e.dep) ? t : e.dep = Dt(() => e.dep = void 0, e instanceof $n ? e : void 0))) } function zn(e, t = 4, n) { const o = (e = Bn(e)).dep; o && Nt(o, t) } function Fn(e) { return !(!e || !0 !== e.__v_isRef) } function Wn(e) { return Un(e, !1) } function Hn(e) { return Un(e, !0) } function Un(e, t) { return Fn(e) ? e : new qn(e, t) } class qn { constructor(e, t) { this.__v_isShallow = t, this.dep = void 0, this.__v_isRef = !0, this._rawValue = t ? e : Bn(e), this._value = t ? e : Dn(e) } get value() { return jn(this), this._value } set value(e) { const t = this.__v_isShallow || Ln(e) || Pn(e); e = t ? e : Bn(e), B(e, this._rawValue) && (this._rawValue = e, this._value = t ? e : Dn(e), zn(this, 4)) } } function Yn(e) { return Fn(e) ? e.value : e } const Zn = { get: (e, t, n) => Yn(Reflect.get(e, t, n)), set: (e, t, n, o) => { const a = e[t]; return Fn(a) && !Fn(n) ? (a.value = n, !0) : Reflect.set(e, t, n, o) } }; function Gn(e) { return En(e) ? e : new Proxy(e, Zn) } class Qn { constructor(e, t, n) { this._object = e, this._key = t, this._defaultValue = n, this.__v_isRef = !0 } get value() { const e = this._object[this._key]; return void 0 === e ? this._defaultValue : e } set value(e) { this._object[this._key] = e } get dep() { return function (e, t) { var n; return null == (n = Vt.get(e)) ? void 0 : n.get(t) }(Bn(this._object), this._key) } } class Jn { constructor(e) { this._getter = e, this.__v_isRef = !0, this.__v_isReadonly = !0 } get value() { return this._getter() } } function Xn(e, t, n) { return Fn(e) ? e : v(e) ? new Jn(e) : w(e) && arguments.length > 1 ? Kn(e, t, n) : Wn(e) } function Kn(e, t, n) { const o = e[t]; return Fn(o) ? o : new Qn(e, t, n) } function eo(e, t, n, o) { try { return o ? e(...o) : e() } catch (a) { no(a, t, n) } } function to(e, t, n, o) { if (v(e)) { const a = eo(e, t, n, o); return a && T(a) && a.catch(e => { no(e, t, n) }), a } const a = []; for (let r = 0; r < e.length; r++)a.push(to(e[r], t, n, o)); return a } function no(e, t, n, o = !0) { const a = t ? t.vnode : null; if (t) { let o = t.parent; const a = t.proxy, r = `https://vuejs.org/error-reference/#runtime-${n}`; for (; o;) { const t = o.ec; if (t) for (let n = 0; n < t.length; n++)if (!1 === t[n](e, a, r)) return; o = o.parent } const i = t.appContext.config.errorHandler; if (i) return void eo(i, null, 10, [e, a, r]) } oo(e, n, a, o) } function oo(e, t, n, o = !0) { console.error(e) } let ao = !1, ro = !1; const io = []; let so = 0; const lo = []; let co = null, uo = 0; const ho = Promise.resolve(); let mo = null; function po(e) { const t = mo || ho; return e ? t.then(this ? e.bind(this) : e) : t } function fo(e) { io.length && io.includes(e, ao && e.allowRecurse ? so + 1 : so) || (null == e.id ? io.push(e) : io.splice(function (e) { let t = so + 1, n = io.length; for (; t < n;) { const o = t + n >>> 1, a = io[o], r = bo(a); r < e || r === e && a.pre ? t = o + 1 : n = o } return t }(e.id), 0, e), go()) } function go() { ao || ro || (ro = !0, mo = ho.then(wo)) } function yo(e, t, n = (ao ? so + 1 : 0)) { for (; n < io.length; n++) { const t = io[n]; if (t && t.pre) { if (e && t.id !== e.uid) continue; io.splice(n, 1), n--, t() } } } function vo(e) { if (lo.length) { const e = [...new Set(lo)].sort((e, t) => bo(e) - bo(t)); if (lo.length = 0, co) return void co.push(...e); for (co = e, uo = 0; uo < co.length; uo++)co[uo](); co = null, uo = 0 } } const bo = e => null == e.id ? 1 / 0 : e.id, _o = (e, t) => { const n = bo(e) - bo(t); if (0 === n) { if (e.pre && !t.pre) return -1; if (t.pre && !e.pre) return 1 } return n }; function wo(e) { ro = !1, ao = !0, io.sort(_o); try { for (so = 0; so < io.length; so++) { const e = io[so]; e && !1 !== e.active && eo(e, null, 14) } } finally { so = 0, io.length = 0, vo(), ao = !1, mo = null, (io.length || lo.length) && wo() } } function To(e, t, ...n) { if (e.isUnmounted) return; const o = e.vnode.props || r; let a = n; const i = t.startsWith("update:"), s = i && t.slice(7); if (s && s in o) { const e = `${"modelValue" === s ? "model" : s}Modifiers`, { number: t, trim: i } = o[e] || r; i && (a = n.map(e => b(e) ? e.trim() : e)), t && (a = n.map(V)) } let l, c = o[l = O(t)] || o[l = O(R(t))]; !c && i && (c = o[l = O(P(t))]), c && to(c, e, 6, xo(e, c, a)); const d = o[l + "Once"]; if (d) { if (e.emitted) { if (e.emitted[l]) return } else e.emitted = {}; e.emitted[l] = !0, to(d, e, 6, xo(e, d, a)) } } function xo(e, t, n) { if (1 !== n.length) return n; if (v(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 So(e, t, n = !1) { const o = t.emitsCache, a = o.get(e); if (void 0 !== a) return a; const r = e.emits; let i = {}, s = !1; if (!v(e)) { const o = e => { const n = So(e, t, !0); n && (s = !0, u(i, 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 => i[e] = null) : u(i, r), w(e) && o.set(e, i), i) : (w(e) && o.set(e, null), null) } function Co(e, t) { return !(!e || !c(t)) && (t = t.slice(2).replace(/Once$/, ""), p(e, t[0].toLowerCase() + t.slice(1)) || p(e, P(t)) || p(e, t)) } let ko = null, Mo = null; function Ao(e) { const t = ko; return ko = e, Mo = e && e.type.__scopeId || null, t } function Io(e, t = ko, n) { if (!t) return e; if (e._n) return e; const o = (...n) => { o._d && Dr(-1); const a = Ao(t); let r; try { r = e(...n) } finally { Ao(a), o._d && Dr(1) } return r }; return o._n = !0, o._c = !0, o._d = !0, o } function Ro(e) { const { type: t, vnode: n, proxy: o, withProxy: a, props: r, propsOptions: [i], slots: s, attrs: l, emit: c, render: u, renderCache: h, data: m, setupState: p, ctx: f, inheritAttrs: g } = e; let y, v; const b = Ao(e); try { if (4 & n.shapeFlag) { const e = a || o, t = e; y = Jr(u.call(t, e, h, r, p, m, f)), v = l } else { const e = t; 0, y = Jr(e.length > 1 ? e(r, { attrs: l, slots: s, emit: c }) : e(r, null)), v = t.props ? l : Eo(l) } } catch (w) { Lr.length = 0, no(w, e, 1), y = Yr(Er) } let _ = y; if (v && !1 !== g) { const e = Object.keys(v), { shapeFlag: t } = _; e.length && 7 & t && (i && e.some(d) && (v = Po(v, i)), _ = Zr(_, v)) } return n.dirs && (_ = Zr(_), _.dirs = _.dirs ? _.dirs.concat(n.dirs) : n.dirs), n.transition && (_.transition = n.transition), y = _, Ao(b), y } const Eo = e => { let t; for (const n in e) ("class" === n || "style" === n || c(n)) && ((t || (t = {}))[n] = e[n]); return t }, Po = (e, t) => { const n = {}; for (const o in e) d(o) && o.slice(9) in t || (n[o] = e[o]); return n }; function Lo(e, t, n) { const o = Object.keys(t); if (o.length !== Object.keys(e).length) return !0; for (let a = 0; a < o.length; a++) { const r = o[a]; if (t[r] !== e[r] && !Co(n, r)) return !0 } return !1 } const Oo = "components"; function Bo(e, t) { return Vo(Oo, e, !0, t) || e } const No = Symbol.for("v-ndc"); function Do(e) { return b(e) ? Vo(Oo, e, !1) || e : e || No } function Vo(e, t, n = !0, o = !1) { const a = ko || ai; if (a) { const n = a.type; { const e = fi(n, !1); if (e && (e === t || e === R(t) || e === L(R(t)))) return n } const r = $o(a[e] || n[e], t) || $o(a.appContext[e], t); return !r && o ? n : r } } function $o(e, t) { return e && (e[t] || e[R(t)] || e[L(R(t))]) } const jo = e => e.__isSuspense; const zo = Symbol.for("v-scx"); function Fo(e, t) { return Uo(e, null, t) } const Wo = {}; function Ho(e, t, n) { return Uo(e, t, n) } function Uo(e, t, { immediate: n, deep: o, flush: a, once: i, onTrack: l, onTrigger: c } = r) { if (t && i) { const e = t; t = (...t) => { e(...t), k() } } const d = ai, u = e => !0 === o ? e : Zo(e, !1 === o ? 1 : void 0); let m, p, g = !1, y = !1; if (Fn(e) ? (m = () => e.value, g = Ln(e)) : En(e) ? (m = () => u(e), g = !0) : f(e) ? (y = !0, g = e.some(e => En(e) || Ln(e)), m = () => e.map(e => Fn(e) ? e.value : En(e) ? u(e) : v(e) ? eo(e, d, 2) : void 0)) : m = v(e) ? t ? () => eo(e, d, 2) : () => (p && p(), to(e, d, 3, [_])) : s, t && o) { const e = m; m = () => Zo(e()) } let b, _ = e => { p = S.onStop = () => { eo(e, d, 4), p = S.onStop = void 0 } }; if (ui) { if (_ = s, t ? n && to(t, d, 3, [m(), y ? [] : void 0, _]) : m(), "sync" !== a) return s; { const e = lr(zo); b = e.__watcherHandles || (e.__watcherHandles = []) } } let w = y ? new Array(e.length).fill(Wo) : Wo; const T = () => { if (S.active && S.dirty) if (t) { const e = S.run(); (o || g || (y ? e.some((e, t) => B(e, w[t])) : B(e, w))) && (p && p(), to(t, d, 3, [e, w === Wo ? void 0 : y && w[0] === Wo ? [] : w, _]), w = e) } else S.run() }; let x; T.allowRecurse = !!t, "sync" === a ? x = T : "post" === a ? x = () => xr(T, d && d.suspense) : (T.pre = !0, d && (T.id = d.uid), x = () => fo(T)); const S = new Tt(m, s, x), C = vt, k = () => { S.stop(), C && h(C.effects, S) }; return t ? n ? T() : w = S.run() : "post" === a ? xr(S.run.bind(S), d && d.suspense) : S.run(), b && b.push(k), k } function qo(e, t, n) { const o = this.proxy, a = b(e) ? e.includes(".") ? Yo(o, e) : () => o[e] : e.bind(o, o); let r; v(t) ? r = t : (r = t.handler, n = t); const i = li(this), s = Uo(a, r.bind(o), n); return i(), s } function Yo(e, t) { const n = t.split("."); return () => { let t = e; for (let e = 0; e < n.length && t; e++)t = t[n[e]]; return t } } function Zo(e, t, n = 0, o) { if (!w(e) || e.__v_skip) return e; if (t && t > 0) { if (n >= t) return e; n++ } if ((o = o || new Set).has(e)) return e; if (o.add(e), Fn(e)) Zo(e.value, t, n, o); else if (f(e)) for (let a = 0; a < e.length; a++)Zo(e[a], t, n, o); else if (y(e) || g(e)) e.forEach(e => { Zo(e, t, n, o) }); else if (C(e)) for (const a in e) Zo(e[a], t, n, o); return e } function Go(e, t) { if (null === ko) return e; const n = pi(ko) || ko.proxy, o = e.dirs || (e.dirs = []); for (let a = 0; a < t.length; a++) { let [e, i, s, l = r] = t[a]; e && (v(e) && (e = { mounted: e, updated: e }), e.deep && Zo(i), o.push({ dir: e, instance: n, value: i, oldValue: void 0, arg: s, modifiers: l })) } return e } function Qo(e, t, n, o) { const a = e.dirs, r = t && t.dirs; for (let i = 0; i < a.length; i++) { const s = a[i]; r && (s.oldValue = r[i].value); let l = s.dir[o]; l && (Rt(), to(l, n, 8, [e.el, s, e, t]), Et()) } } const Jo = Symbol("_leaveCb"), Xo = Symbol("_enterCb"); const Ko = [Function, Array], ea = { mode: String, appear: Boolean, persisted: Boolean, onBeforeEnter: Ko, onEnter: Ko, onAfterEnter: Ko, onEnterCancelled: Ko, onBeforeLeave: Ko, onLeave: Ko, onAfterLeave: Ko, onLeaveCancelled: Ko, onBeforeAppear: Ko, onAppear: Ko, onAfterAppear: Ko, onAppearCancelled: Ko }, ta = { name: "BaseTransition", props: ea, setup(e, { slots: t }) { const n = ri(), o = function () { const e = { isMounted: !1, isLeaving: !1, isUnmounting: !1, leavingVNodes: new Map }; return Aa(() => { e.isMounted = !0 }), Ea(() => { e.isUnmounting = !0 }), e }(); return () => { const a = t.default && sa(t.default(), !0); if (!a || !a.length) return; let r = a[0]; if (a.length > 1) for (const e of a) if (e.type !== Er) { r = e; break } const i = Bn(e), { mode: s } = i; if (o.isLeaving) return aa(r); const l = ra(r); if (!l) return aa(r); const c = oa(l, i, o, n); ia(l, c); const d = n.subTree, u = d && ra(d); if (u && u.type !== Er && !Fr(l, u)) { const e = oa(u, i, o, n); if (ia(u, e), "out-in" === s) return o.isLeaving = !0, e.afterLeave = () => { o.isLeaving = !1, !1 !== n.update.active && (n.effect.dirty = !0, n.update()) }, aa(r); "in-out" === s && l.type !== Er && (e.delayLeave = (e, t, n) => { na(o, u)[String(u.key)] = u, e[Jo] = () => { t(), e[Jo] = void 0, delete c.delayedLeave }, c.delayedLeave = n }) } return r } } }; function na(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 oa(e, t, n, o) { const { appear: a, mode: r, persisted: i = !1, onBeforeEnter: s, onEnter: l, onAfterEnter: c, onEnterCancelled: d, onBeforeLeave: u, onLeave: h, onAfterLeave: m, onLeaveCancelled: p, onBeforeAppear: g, onAppear: y, onAfterAppear: v, onAppearCancelled: b } = t, _ = String(e.key), w = na(n, e), T = (e, t) => { e && to(e, o, 9, t) }, x = (e, t) => { const n = t[1]; T(e, t), f(e) ? e.every(e => e.length <= 1) && n() : e.length <= 1 && n() }, S = { mode: r, persisted: i, beforeEnter(t) { let o = s; if (!n.isMounted) { if (!a) return; o = g || s } t[Jo] && t[Jo](!0); const r = w[_]; r && Fr(e, r) && r.el[Jo] && r.el[Jo](), T(o, [t]) }, enter(e) { let t = l, o = c, r = d; if (!n.isMounted) { if (!a) return; t = y || l, o = v || c, r = b || d } let i = !1; const s = e[Xo] = t => { i || (i = !0, T(t ? r : o, [e]), S.delayedLeave && S.delayedLeave(), e[Xo] = void 0) }; t ? x(t, [e, s]) : s() }, leave(t, o) { const a = String(e.key); if (t[Xo] && t[Xo](!0), n.isUnmounting) return o(); T(u, [t]); let r = !1; const i = t[Jo] = n => { r || (r = !0, o(), T(n ? p : m, [t]), t[Jo] = void 0, w[a] === e && delete w[a]) }; w[a] = e, h ? x(h, [t, i]) : i() }, clone: e => oa(e, t, n, o) }; return S } function aa(e) { if (ha(e)) return (e = Zr(e)).children = null, e } function ra(e) { return ha(e) ? e.children ? e.children[0] : void 0 : e } function ia(e, t) { 6 & e.shapeFlag && e.component ? ia(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 sa(e, t = !1, n) { let o = [], a = 0; for (let r = 0; r < e.length; r++) { let i = e[r]; const s = null == n ? i.key : String(n) + String(null != i.key ? i.key : r); i.type === Ir ? (128 & i.patchFlag && a++, o = o.concat(sa(i.children, t, s))) : (t || i.type !== Er) && o.push(null != s ? Zr(i, { key: s }) : i) } if (a > 1) for (let r = 0; r < o.length; r++)o[r].patchFlag = -2; return o } +/*! #__NO_SIDE_EFFECTS__ */function la(e, t) { return v(e) ? (() => u({ name: e.name }, t, { setup: e }))() : e } const ca = e => !!e.type.__asyncLoader; +/*! #__NO_SIDE_EFFECTS__ */function da(e) { v(e) && (e = { loader: e }); const { loader: t, loadingComponent: n, errorComponent: o, delay: a = 200, timeout: r, suspensible: i = !0, onError: s } = e; let l, c = null, d = 0; const u = () => { 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((d++, c = null, u())), () => n(e), d + 1) }); throw e }).then(t => e !== c && c ? c : (t && (t.__esModule || "Module" === t[Symbol.toStringTag]) && (t = t.default), l = t, t))) }; return la({ name: "AsyncComponentWrapper", __asyncLoader: u, get __asyncResolved() { return l }, setup() { const e = ai; if (l) return () => ua(l, e); const t = t => { c = null, no(t, e, 13, !o) }; if (i && e.suspense || ui) return u().then(t => () => ua(t, e)).catch(e => (t(e), () => o ? Yr(o, { error: e }) : null)); const s = Wn(!1), d = Wn(), h = Wn(!!a); return a && setTimeout(() => { h.value = !1 }, a), null != r && setTimeout(() => { if (!s.value && !d.value) { const e = new Error(`Async component timed out after ${r}ms.`); t(e), d.value = e } }, r), u().then(() => { s.value = !0, e.parent && ha(e.parent.vnode) && (e.parent.effect.dirty = !0, fo(e.parent.update)) }).catch(e => { t(e), d.value = e }), () => s.value && l ? ua(l, e) : d.value && o ? Yr(o, { error: d.value }) : n && !h.value ? Yr(n) : void 0 } }) } function ua(e, t) { const { ref: n, props: o, children: a, ce: r } = t.vnode, i = Yr(e, o, a); return i.ref = n, i.ce = r, delete t.vnode.ce, i } const ha = e => e.type.__isKeepAlive; class ma { 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, a = t.get(e); if (a) 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 a } 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 pa = { 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 = ri(), o = n.ctx; if (!o.renderer) return () => { const e = t.default && t.default(); return e && 1 === e.length ? e[0] : e }; const a = e.cache || new ma(e.max); a.pruneCacheEntry = i; let r = null; function i(t) { var o; !r || !Fr(t, r) || "key" === e.matchBy && t.key !== r.key ? (wa(o = t), d(o, n, s, !0)) : r && wa(r) } const s = n.suspense, { renderer: { p: l, m: c, um: d, o: { createElement: u } } } = o, h = u("div"); function m(t) { a.forEach((n, o) => { const r = xa(n, e.matchBy); !r || t && t(r) || (a.delete(o), i(n)) }) } o.activate = (e, t, n, o, a) => { const r = e.component; if (r.ba) { const e = r.isDeactivated; r.isDeactivated = !1, N(r.ba), r.isDeactivated = e } c(e, t, n, 0, s), l(r.vnode, e, t, n, r, s, o, e.slotScopeIds, a), xr(() => { r.isDeactivated = !1, r.a && N(r.a); const t = e.props && e.props.onVnodeMounted; t && ti(t, r.parent, e) }, s) }, o.deactivate = e => { const t = e.component; t.bda && Sa(t.bda), c(e, h, null, 1, s), xr(() => { t.bda && t.bda.forEach(e => e.__called = !1), t.da && N(t.da); const n = e.props && e.props.onVnodeUnmounted; n && ti(n, t.parent, e), t.isDeactivated = !0 }, s) }, Ho(() => [e.include, e.exclude, e.matchBy], ([e, t]) => { e && m(t => ga(e, t)), t && m(e => !ga(t, e)) }, { flush: "post", deep: !0 }); let p = null; const f = () => { null != p && a.set(p, Ta(n.subTree)) }; return Aa(f), Ra(f), Ea(() => { a.forEach((t, o) => { a.delete(o), i(t); const { subTree: r, suspense: s } = n, l = Ta(r); if (t.type === l.type && ("key" !== e.matchBy || t.key === l.key)) { l.component.bda && N(l.component.bda), wa(l); const e = l.component.da; return void (e && xr(e, s)) } }) }), () => { if (p = null, !t.default) return null; const n = t.default(), o = n[0]; if (n.length > 1) return r = null, n; if (!zr(o) || !(4 & o.shapeFlag) && !jo(o.type)) return r = null, o; let i = Ta(o); const s = i.type, l = xa(i, e.matchBy), { include: c, exclude: d } = e; if (c && (!l || !ga(c, l)) || d && l && ga(d, l)) return r = i, o; const u = null == i.key ? s : i.key, h = a.get(u); return i.el && (i = Zr(i), jo(o.type) && (o.ssContent = i)), p = u, h && (i.el = h.el, i.component = h.component, i.transition && ia(i, i.transition), i.shapeFlag |= 512), i.shapeFlag |= 256, r = i, jo(o.type) ? o : i } } }, fa = pa; function ga(e, t) { return f(e) ? e.some(e => ga(e, t)) : b(e) ? e.split(",").includes(t) : "[object RegExp]" === S(e) && e.test(t) } function ya(e, t) { ba(e, "a", t) } function va(e, t) { ba(e, "da", t) } function ba(e, t, n = ai) { const o = e.__wdc || (e.__wdc = () => { let t = n; for (; t;) { if (t.isDeactivated) return; t = t.parent } return e() }); if (o.__called = !1, Ca(t, o, n), n) { let e = n.parent; for (; e && e.parent;)ha(e.parent.vnode) && _a(o, t, n, e), e = e.parent } } function _a(e, t, n, o) { const a = Ca(t, e, o, !0); Pa(() => { h(o[t], a) }, n) } function wa(e) { e.shapeFlag &= -257, e.shapeFlag &= -513 } function Ta(e) { return jo(e.type) ? e.ssContent : e } function xa(e, t) { if ("name" === t) { const t = e.type; return fi(ca(e) ? t.__asyncResolved || {} : t) } return String(e.key) } function Sa(e) { for (let t = 0; t < e.length; t++) { const n = e[t]; n.__called || (n(), n.__called = !0) } } function Ca(e, t, n = ai, o = !1) { if (n) { if (function (e) { return ct.indexOf(e) > -1 }(e) && n.$pageInstance) { if (n.type.__reserved) return; if (n !== n.$pageInstance && (n = n.$pageInstance, function (e) { return [pe, se].indexOf(e) > -1 }(e))) { const o = n.proxy; to(t.bind(o), n, e, pe === e ? [o.$page.options] : []) } } const a = n[e] || (n[e] = []), r = t.__weh || (t.__weh = (...o) => { if (n.isUnmounted) return; Rt(); const a = li(n), r = to(t, n, e, o); return a(), Et(), r }); return o ? a.unshift(r) : a.push(r), r } } const ka = e => (t, n = ai) => (!ui || "sp" === e) && Ca(e, (...e) => t(...e), n), Ma = ka("bm"), Aa = ka("m"), Ia = ka("bu"), Ra = ka("u"), Ea = ka("bum"), Pa = ka("um"), La = ka("sp"), Oa = ka("rtg"), Ba = ka("rtc"); function Na(e, t = ai) { Ca("ec", e, t) } function Da(e, t, n, o) { let a; const r = n; if (f(e) || b(e)) { a = new Array(e.length); for (let n = 0, o = e.length; n < o; n++)a[n] = t(e[n], n, void 0, r) } else if ("number" == typeof e) { a = new Array(e); for (let n = 0; n < e; n++)a[n] = t(n + 1, n, void 0, r) } else if (w(e)) if (e[Symbol.iterator]) a = Array.from(e, (e, n) => t(e, n, void 0, r)); else { const n = Object.keys(e); a = new Array(n.length); for (let o = 0, i = n.length; o < i; o++) { const i = n[o]; a[o] = t(e[i], i, o, r) } } else a = []; return a } function Va(e, t, n = {}, o, a) { if (ko.isCE || ko.parent && ca(ko.parent) && ko.parent.isCE) return "default" !== t && (n.name = t), Yr("slot", n, o); let r = e[t]; r && r._c && (r._d = !1), Br(); const i = r && $a(r(n)), s = jr(Ir, { key: n.key || i && i.key || `_${t}` }, i || [], i && 1 === e._ ? 64 : -2); return !a && s.scopeId && (s.slotScopeIds = [s.scopeId + "-s"]), r && r._c && (r._d = !0), s } function $a(e) { return e.some(e => !zr(e) || e.type !== Er && !(e.type === Ir && !$a(e.children))) ? e : null } const ja = e => { if (!e) return null; if (di(e)) { return pi(e) || e.proxy } return ja(e.parent) }, za = 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 => ja(e.parent), $root: e => ja(e.root), $emit: e => e.emit, $options: e => Ga(e), $forceUpdate: e => e.f || (e.f = (e => function () { e.effect.dirty = !0, fo(e.update) })(e)), $nextTick: e => e.n || (e.n = po.bind(e.proxy)), $watch: e => qo.bind(e) }), Fa = (e, t) => e !== r && !e.__isScriptSetup && p(e, t), Wa = { get({ _: e }, t) { const { ctx: n, setupState: o, data: a, props: i, accessCache: s, type: l, appContext: c } = e; let d; if ("$" !== t[0]) { const l = s[t]; if (void 0 !== l) switch (l) { case 1: return o[t]; case 2: return a[t]; case 4: return n[t]; case 3: return i[t] } else { if (Fa(o, t)) return s[t] = 1, o[t]; if (a !== r && p(a, t)) return s[t] = 2, a[t]; if ((d = e.propsOptions[0]) && p(d, t)) return s[t] = 3, i[t]; if (n !== r && p(n, t)) return s[t] = 4, n[t]; Ua && (s[t] = 0) } } const u = za[t]; let h, m; return u ? ("$attrs" === t && zt(e, 0, t), u(e)) : (h = l.__cssModules) && (h = h[t]) ? h : n !== r && p(n, t) ? (s[t] = 4, n[t]) : (m = c.config.globalProperties, p(m, t) ? m[t] : void 0) }, set({ _: e }, t, n) { const { data: o, setupState: a, ctx: i } = e; return Fa(a, t) ? (a[t] = n, !0) : o !== r && p(o, t) ? (o[t] = n, !0) : !p(e.props, t) && (("$" !== t[0] || !(t.slice(1) in e)) && (i[t] = n, !0)) }, has({ _: { data: e, setupState: t, accessCache: n, ctx: o, appContext: a, propsOptions: i } }, s) { let l; return !!n[s] || e !== r && p(e, s) || Fa(t, s) || (l = i[0]) && p(l, s) || p(o, s) || p(za, s) || p(a.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 Ha(e) { return f(e) ? e.reduce((e, t) => (e[t] = null, e), {}) : e } let Ua = !0; function qa(e) { const t = Ga(e), n = e.proxy, o = e.ctx; Ua = !1, t.beforeCreate && Ya(t.beforeCreate, e, "bc"); const { data: a, computed: r, methods: i, watch: l, provide: c, inject: d, created: u, beforeMount: h, mounted: m, beforeUpdate: p, updated: g, activated: y, deactivated: b, beforeDestroy: _, beforeUnmount: T, destroyed: x, unmounted: S, render: C, renderTracked: k, renderTriggered: M, errorCaptured: A, serverPrefetch: I, expose: R, inheritAttrs: E, components: P, directives: L, filters: O } = t; if (d && function (e, t) { f(e) && (e = Ka(e)); for (const n in e) { const o = e[n]; let a; a = w(o) ? "default" in o ? lr(o.from || n, o.default, !0) : lr(o.from || n) : lr(o), Fn(a) ? Object.defineProperty(t, n, { enumerable: !0, configurable: !0, get: () => a.value, set: e => a.value = e }) : t[n] = a } }(d, o, null), i) for (const s in i) { const e = i[s]; v(e) && (o[s] = e.bind(n)) } if (a) { const t = a.call(n, n); w(t) && (e.data = Mn(t)) } if (Ua = !0, r) for (const f in r) { const e = r[f], t = v(e) ? e.bind(n, n) : v(e.get) ? e.get.bind(n, n) : s, a = !v(e) && v(e.set) ? e.set.bind(n) : s, i = gi({ get: t, set: a }); Object.defineProperty(o, f, { enumerable: !0, configurable: !0, get: () => i.value, set: e => i.value = e }) } if (l) for (const s in l) Za(l[s], o, n, s); if (c) { const e = v(c) ? c.call(n) : c; Reflect.ownKeys(e).forEach(t => { sr(t, e[t]) }) } function B(e, t) { f(t) ? t.forEach(t => e(t.bind(n))) : t && e(t.bind(n)) } if (u && Ya(u, e, "c"), B(Ma, h), B(Aa, m), B(Ia, p), B(Ra, g), B(ya, y), B(va, b), B(Na, A), B(Ba, k), B(Oa, M), B(Ea, T), B(Pa, S), B(La, I), f(R)) if (R.length) { const t = e.exposed || (e.exposed = {}); R.forEach(e => { Object.defineProperty(t, e, { get: () => n[e], set: t => n[e] = t }) }) } else e.exposed || (e.exposed = {}); C && e.render === s && (e.render = C), null != E && (e.inheritAttrs = E), P && (e.components = P), L && (e.directives = L); const N = e.appContext.config.globalProperties.$applyOptions; N && N(t, e, n) } function Ya(e, t, n) { to(f(e) ? e.map(e => e.bind(t.proxy)) : e.bind(t.proxy), t, n) } function Za(e, t, n, o) { const a = o.includes(".") ? Yo(n, o) : () => n[o]; if (b(e)) { const n = t[e]; v(n) && Ho(a, n) } else if (v(e)) Ho(a, e.bind(n)); else if (w(e)) if (f(e)) e.forEach(e => Za(e, t, n, o)); else { const o = v(e.handler) ? e.handler.bind(n) : t[e.handler]; v(o) && Ho(a, o, e) } } function Ga(e) { const t = e.type, { mixins: n, extends: o } = t, { mixins: a, optionsCache: r, config: { optionMergeStrategies: i } } = e.appContext, s = r.get(t); let l; return s ? l = s : a.length || n || o ? (l = {}, a.length && a.forEach(e => Qa(l, e, i, !0)), Qa(l, t, i)) : l = t, w(t) && r.set(t, l), l } function Qa(e, t, n, o = !1) { const { mixins: a, extends: r } = t; r && Qa(e, r, n, !0), a && a.forEach(t => Qa(e, t, n, !0)); for (const i in t) if (o && "expose" === i); else { const o = Ja[i] || n && n[i]; e[i] = o ? o(e[i], t[i]) : t[i] } return e } const Ja = { data: Xa, props: nr, emits: nr, methods: tr, computed: tr, beforeCreate: er, created: er, beforeMount: er, mounted: er, beforeUpdate: er, updated: er, beforeDestroy: er, beforeUnmount: er, destroyed: er, unmounted: er, activated: er, deactivated: er, errorCaptured: er, serverPrefetch: er, components: tr, directives: tr, 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] = er(e[o], t[o]); return n }, provide: Xa, inject: function (e, t) { return tr(Ka(e), Ka(t)) } }; function Xa(e, t) { return t ? e ? function () { return u(v(e) ? e.call(this, this) : e, v(t) ? t.call(this, this) : t) } : t : e } function Ka(e) { if (f(e)) { const t = {}; for (let n = 0; n < e.length; n++)t[e[n]] = e[n]; return t } return e } function er(e, t) { return e ? [...new Set([].concat(e, t))] : t } function tr(e, t) { return e ? u(Object.create(null), e, t) : t } function nr(e, t) { return e ? f(e) && f(t) ? [...new Set([...e, ...t])] : u(Object.create(null), Ha(e), Ha(null != t ? t : {})) : t } function or() { return { app: null, config: { isNativeTag: l, performance: !1, globalProperties: {}, optionMergeStrategies: {}, errorHandler: void 0, warnHandler: void 0, compilerOptions: {} }, mixins: [], components: {}, directives: {}, provides: Object.create(null), optionsCache: new WeakMap, propsCache: new WeakMap, emitsCache: new WeakMap } } let ar = 0; function rr(e, t) { return function (t, n = null) { v(t) || (t = u({}, t)), null == n || w(n) || (n = null); const o = or(), a = new WeakSet; let r = !1; const i = o.app = { _uid: ar++, _component: t, _props: n, _container: null, _context: o, _instance: null, version: vi, get config() { return o.config }, set config(e) { }, use: (e, ...t) => (a.has(e) || (e && v(e.install) ? (a.add(e), e.install(i, ...t)) : v(e) && (a.add(e), e(i, ...t))), i), mixin: e => (o.mixins.includes(e) || o.mixins.push(e), i), component: (e, t) => t ? (o.components[e] = t, i) : o.components[e], directive: (e, t) => t ? (o.directives[e] = t, i) : o.directives[e], mount(a, s, l) { if (!r) { const s = Yr(t, n); return s.appContext = o, !0 === l ? l = "svg" : !1 === l && (l = void 0), e(s, a, l), r = !0, i._container = a, a.__vue_app__ = i, i._instance = s.component, pi(s.component) || s.component.proxy } }, unmount() { r && (e(null, i._container), delete i._container.__vue_app__) }, provide: (e, t) => (o.provides[e] = t, i), runWithContext(e) { const t = ir; ir = i; try { return e() } finally { ir = t } } }; return i } } let ir = null; function sr(e, t) { if (ai) { let n = ai.provides; const o = ai.parent && ai.parent.provides; o === n && (n = ai.provides = Object.create(o)), n[e] = t, "app" === ai.type.mpType && ai.appContext.app.provide(e, t) } else; } function lr(e, t, n = !1) { const o = ai || ko; if (o || ir) { const a = o ? null == o.parent ? o.vnode.appContext && o.vnode.appContext.provides : o.parent.provides : ir._context.provides; if (a && e in a) return a[e]; if (arguments.length > 1) return n && v(t) ? t.call(o && o.proxy) : t } } function cr(e, t, n, o) { const [a, i] = e.propsOptions; let s, l = !1; if (t) for (let r in t) { if (M(r)) continue; const c = t[r]; let d; a && p(a, d = R(r)) ? i && i.includes(d) ? (s || (s = {}))[d] = c : n[d] = c : Co(e.emitsOptions, r) || r in o && c === o[r] || (o[r] = dr(e, r, c), l = !0) } if (i) { const t = Bn(n), o = s || r; for (let r = 0; r < i.length; r++) { const s = i[r]; n[s] = ur(a, t, s, o[s], e, !p(o, s)) } } return l } function dr(e, t, n) { return n } function ur(e, t, n, o, a, r) { const i = function (e, t, n, o, a, r) { const i = e[n]; if (null != i) { const e = p(i, "default"); if (e && void 0 === o) { const e = i.default; if (i.type !== Function && !i.skipFactory && v(e)) { const { propsDefaults: r } = a; if (n in r) o = r[n]; else { const i = li(a); o = r[n] = e.call(null, t), i() } } else o = e } i[0] && (r && !e ? o = !1 : !i[1] || "" !== o && o !== P(n) || (o = !0)) } return o }(e, t, n, o, a, r); return i } function hr(e, t, n = !1) { const o = t.propsCache, a = o.get(e); if (a) return a; const s = e.props, l = {}, c = []; let d = !1; if (!v(e)) { const o = e => { d = !0; const [n, o] = hr(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, i), i; if (f(s)) for (let i = 0; i < s.length; i++) { const e = R(s[i]); mr(e) && (l[e] = r) } else if (s) for (const r in s) { const e = R(r); if (mr(e)) { const t = s[r], n = l[e] = f(t) || v(t) ? { type: t } : u({}, t); if (n) { const t = gr(Boolean, n.type), o = gr(String, n.type); n[0] = t > -1, n[1] = o < 0 || t < o, (t > -1 || p(n, "default")) && c.push(e) } } } const h = [l, c]; return w(e) && o.set(e, h), h } function mr(e) { return "$" !== e[0] && !M(e) } function pr(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 fr(e, t) { return pr(e) === pr(t) } function gr(e, t) { return f(t) ? t.findIndex(t => fr(t, e)) : v(t) && fr(t, e) ? 0 : -1 } const yr = e => "_" === e[0] || "$stable" === e, vr = e => f(e) ? e.map(Jr) : [Jr(e)], br = (e, t, n) => { if (t._n) return t; const o = Io((...e) => vr(t(...e)), n); return o._c = !1, o }, _r = (e, t, n) => { const o = e._ctx; for (const a in e) { if (yr(a)) continue; const n = e[a]; if (v(n)) t[a] = br(0, n, o); else if (null != n) { const e = vr(n); t[a] = () => e } } }, wr = (e, t) => { const n = vr(t); e.slots.default = () => n }; function Tr(e, t, n, o, a = !1) { if (f(e)) return void e.forEach((e, r) => Tr(e, t && (f(t) ? t[r] : t), n, o, a)); if (ca(o) && !a) return; const i = 4 & o.shapeFlag ? pi(o.component) || o.component.proxy : o.el, s = a ? null : i, { i: l, r: c } = e, d = t && t.r, u = l.refs === r ? l.refs = {} : l.refs, m = l.setupState; if (null != d && d !== c && (b(d) ? (u[d] = null, p(m, d) && (m[d] = null)) : Fn(d) && (d.value = null)), v(c)) eo(c, l, 12, [s, u]); else { const t = b(c), o = Fn(c); if (t || o) { const r = () => { if (e.f) { const n = t ? p(m, c) ? m[c] : u[c] : c.value; a ? f(n) && h(n, i) : f(n) ? n.includes(i) || n.push(i) : t ? (u[c] = [i], p(m, c) && (m[c] = u[c])) : (c.value = [i], e.k && (u[e.k] = c.value)) } else t ? (u[c] = s, p(m, c) && (m[c] = s)) : o && (c.value = s, e.k && (u[e.k] = s)) }; s ? (r.id = -1, xr(r, n)) : r() } } } const xr = function (e, t) { var n; t && t.pendingBranch ? f(e) ? t.effects.push(...e) : t.effects.push(e) : (f(n = e) ? lo.push(...n) : co && co.includes(n, n.allowRecurse ? uo + 1 : uo) || lo.push(n), go()) }; function Sr(e) { return function (e) { j().__VUE__ = !0; const { insert: t, remove: n, patchProp: o, forcePatchProp: a, createElement: l, createText: c, createComment: d, setText: h, setElementText: m, parentNode: f, nextSibling: g, setScopeId: y = s, insertStaticContent: v } = e, b = (e, t, n, o = null, a = null, r = null, i = void 0, s = null, l = !!t.dynamicChildren) => { if (e === t) return; e && !Fr(e, t) && (o = ee(e), G(e, a, r, !0), e = null), -2 === t.patchFlag && (l = !1, t.dynamicChildren = null); const { type: c, ref: d, shapeFlag: u } = t; switch (c) { case Rr: _(e, t, n, o); break; case Er: w(e, t, n, o); break; case Pr: null == e && x(t, n, o, i); break; case Ir: V(e, t, n, o, a, r, i, s, l); break; default: 1 & u ? k(e, t, n, o, a, r, i, s, l) : 6 & u ? $(e, t, n, o, a, r, i, s, l) : (64 & u || 128 & u) && c.process(e, t, n, o, a, r, i, s, l, oe) }null != d && a && Tr(d, e && e.ref, r, t || e, !t) }, _ = (e, n, o, a) => { if (null == e) t(n.el = c(n.children), o, a); else { const t = n.el = e.el; n.children !== e.children && h(t, n.children) } }, w = (e, n, o, a) => { null == e ? t(n.el = d(n.children || ""), o, a) : n.el = e.el }, x = (e, t, n, o) => { [e.el, e.anchor] = v(e.children, t, n, o, e.el, e.anchor) }, S = ({ el: e, anchor: n }, o, a) => { let r; for (; e && e !== n;)r = g(e), t(e, o, a), e = r; t(n, o, a) }, C = ({ el: e, anchor: t }) => { let o; for (; e && e !== t;)o = g(e), n(e), e = o; n(t) }, k = (e, t, n, o, a, r, i, s, l) => { "svg" === t.type ? i = "svg" : "math" === t.type && (i = "mathml"), null == e ? A(t, n, o, a, r, i, s, l) : L(e, t, a, r, i, s, l) }, A = (e, n, a, r, i, s, c, d) => { let u, h; const { props: p, shapeFlag: f, transition: g, dirs: y } = e; if (u = e.el = l(e.type, s, p && p.is, p), 8 & f ? m(u, e.children) : 16 & f && E(e.children, u, null, r, i, Cr(e, s), c, d), y && Qo(e, null, r, "created"), I(u, e, e.scopeId, c, r), p) { for (const t in p) "value" === t || M(t) || o(u, t, null, p[t], s, e.children, r, i, K); "value" in p && o(u, "value", null, p.value, s), (h = p.onVnodeBeforeMount) && ti(h, r, e) } Object.defineProperty(u, "__vueParentComponent", { value: r, enumerable: !1 }), y && Qo(e, null, r, "beforeMount"); const v = function (e, t) { return (!e || e && !e.pendingBranch) && t && !t.persisted }(i, g); v && g.beforeEnter(u), t(u, n, a), ((h = p && p.onVnodeMounted) || v || y) && xr(() => { h && ti(h, r, e), v && g.enter(u), y && Qo(e, null, r, "mounted") }, i) }, I = (e, t, n, o, a) => { if (n && y(e, n), o) for (let r = 0; r < o.length; r++)y(e, o[r]); if (a) { if (t === a.subTree) { const t = a.vnode; I(e, t, t.scopeId, t.slotScopeIds, a.parent) } } }, E = (e, t, n, o, a, r, i, s, l = 0) => { for (let c = l; c < e.length; c++) { const l = e[c] = s ? Xr(e[c]) : Jr(e[c]); b(null, l, t, n, o, a, r, i, s) } }, L = (e, t, n, i, s, l, c) => { const d = t.el = e.el; let { patchFlag: u, dynamicChildren: h, dirs: p } = t; u |= 16 & e.patchFlag; const f = e.props || r, g = t.props || r; let y; if (n && kr(n, !1), (y = g.onVnodeBeforeUpdate) && ti(y, n, t, e), p && Qo(t, e, n, "beforeUpdate"), n && kr(n, !0), h ? O(e.dynamicChildren, h, d, n, i, Cr(t, s), l) : c || U(e, t, d, null, n, i, Cr(t, s), l, !1), u > 0) { if (16 & u) B(d, t, f, g, n, i, s); else if (2 & u && f.class !== g.class && o(d, "class", null, g.class, s), 4 & u && o(d, "style", f.style, g.style, s), 8 & u) { const r = t.dynamicProps; for (let t = 0; t < r.length; t++) { const l = r[t], c = f[l], u = g[l]; (u !== c || "value" === l || a && a(d, l)) && o(d, l, c, u, s, e.children, n, i, K) } } 1 & u && e.children !== t.children && m(d, t.children) } else c || null != h || B(d, t, f, g, n, i, s); ((y = g.onVnodeUpdated) || p) && xr(() => { y && ti(y, n, t, e), p && Qo(t, e, n, "updated") }, i) }, O = (e, t, n, o, a, r, i) => { for (let s = 0; s < t.length; s++) { const l = e[s], c = t[s], d = l.el && (l.type === Ir || !Fr(l, c) || 70 & l.shapeFlag) ? f(l.el) : n; b(l, c, d, null, o, a, r, i, !0) } }, B = (e, t, n, i, s, l, c) => { if (n !== i) { if (n !== r) for (const a in n) M(a) || a in i || o(e, a, n[a], null, c, t.children, s, l, K); for (const r in i) { if (M(r)) continue; const d = i[r], u = n[r]; (d !== u && "value" !== r || a && a(e, r)) && o(e, r, u, d, c, t.children, s, l, K) } "value" in i && o(e, "value", n.value, i.value, c) } }, V = (e, n, o, a, r, i, s, l, d) => { const u = n.el = e ? e.el : c(""), h = n.anchor = e ? e.anchor : c(""); let { patchFlag: m, dynamicChildren: p, slotScopeIds: f } = n; f && (l = l ? l.concat(f) : f), null == e ? (t(u, o, a), t(h, o, a), E(n.children || [], o, h, r, i, s, l, d)) : m > 0 && 64 & m && p && e.dynamicChildren ? (O(e.dynamicChildren, p, o, r, i, s, l), (null != n.key || r && n === r.subTree) && Mr(e, n, !0)) : U(e, n, o, h, r, i, s, l, d) }, $ = (e, t, n, o, a, r, i, s, l) => { t.slotScopeIds = s, null == e ? 512 & t.shapeFlag ? a.ctx.activate(t, n, o, i, l) : z(t, n, o, a, r, i, l) : F(e, t, l) }, z = (e, t, n, o, a, i, s) => { const l = e.component = function (e, t, n) { const o = e.type, a = (t ? t.appContext : e.appContext) || ni, i = { uid: oi++, vnode: e, type: o, parent: t, appContext: a, get renderer() { return "app" === o.mpType ? "app" : this.$pageInstance && this.$pageInstance == i ? "page" : "component" }, root: null, next: null, subTree: null, effect: null, update: null, scope: new _t(!0), render: null, proxy: null, exposed: null, exposeProxy: null, withProxy: null, provides: t ? t.provides : Object.create(a.provides), accessCache: null, renderCache: [], components: null, directives: null, propsOptions: hr(o, a), emitsOptions: So(o, a), emit: null, emitted: null, propsDefaults: r, inheritAttrs: o.inheritAttrs, ctx: r, data: r, props: r, attrs: r, slots: r, refs: r, setupState: r, 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 }; i.ctx = { _: i }, i.root = t ? t.root : i, i.emit = To.bind(null, i), i.$pageInstance = t && t.$pageInstance, e.ce && e.ce(i); return i }(e, o, a); if (ha(e) && (l.ctx.renderer = oe), function (e, t = !1) { t && si(t); const { props: n, children: o } = e.vnode, a = di(e); (function (e, t, n, o = !1) { const a = {}, r = {}; D(r, Wr, 1), e.propsDefaults = Object.create(null), cr(e, t, a, r); for (const i in e.propsOptions[0]) i in a || (a[i] = void 0); n ? e.props = o ? a : An(a) : e.type.props ? e.props = a : e.props = r, e.attrs = r })(e, n, a, t), ((e, t) => { if (32 & e.vnode.shapeFlag) { const n = t._; n ? (e.slots = Bn(t), D(t, "_", n)) : _r(t, e.slots = {}) } else e.slots = {}, t && wr(e, t); D(e.slots, Wr, 1) })(e, o); const r = a ? function (e, t) { const n = e.type; e.accessCache = Object.create(null), e.proxy = Nn(new Proxy(e.ctx, Wa)); 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) => (zt(e, 0, "$attrs"), t[n]) })) }(e) }, slots: e.slots, emit: e.emit, expose: t } }(e) : null, a = li(e); Rt(); const r = eo(o, e, 0, [e.props, n]); if (Et(), a(), T(r)) { if (r.then(ci, ci), t) return r.then(t => { hi(e, t) }).catch(t => { no(t, e, 0) }); e.asyncDep = r } else hi(e, r) } else mi(e) }(e, t) : void 0; t && si(!1) }(l), l.asyncDep) { if (a && a.registerDep(l, W), !e.el) { const e = l.subTree = Yr(Er); w(null, e, t, n) } } else W(l, e, t, n, a, i, s) }, F = (e, t, n) => { const o = t.component = e.component; if (function (e, t, n) { const { props: o, children: a, component: r } = e, { props: i, children: s, patchFlag: l } = t, c = r.emitsOptions; if (t.dirs || t.transition) return !0; if (!(n && l >= 0)) return !(!a && !s || s && s.$stable) || o !== i && (o ? !i || Lo(o, i, c) : !!i); if (1024 & l) return !0; if (16 & l) return o ? Lo(o, i, c) : !!i; if (8 & l) { const e = t.dynamicProps; for (let t = 0; t < e.length; t++) { const n = e[t]; if (i[n] !== o[n] && !Co(c, n)) return !0 } } return !1 }(e, t, n)) { if (o.asyncDep && !o.asyncResolved) return void H(o, t, n); o.next = t, function (e) { const t = io.indexOf(e); t > so && io.splice(t, 1) }(o.update), o.effect.dirty = !0, o.update() } else t.el = e.el, o.vnode = t }, W = (e, t, n, o, a, r, i) => { const l = () => { if (e.isMounted) { let { next: t, bu: n, u: o, parent: s, vnode: c } = e; { const n = Ar(e); if (n) return t && (t.el = c.el, H(e, t, i)), void n.asyncDep.then(() => { e.isUnmounted || l() }) } let d, u = t; kr(e, !1), t ? (t.el = c.el, H(e, t, i)) : t = c, n && N(n), (d = t.props && t.props.onVnodeBeforeUpdate) && ti(d, s, t, c), kr(e, !0); const h = Ro(e), m = e.subTree; e.subTree = h, b(m, h, f(m.el), ee(m), e, a, r), t.el = h.el, null === u && 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 && xr(o, a), (d = t.props && t.props.onVnodeUpdated) && xr(() => ti(d, s, t, c), a) } else { let i; const { el: s, props: l } = t, { bm: c, m: d, parent: u } = e, h = ca(t); kr(e, !1), c && N(c), !h && (i = l && l.onVnodeBeforeMount) && ti(i, u, t), kr(e, !0); { const i = e.subTree = Ro(e); b(null, i, n, o, e, a, r), t.el = i.el } if (d && xr(d, a), !h && (i = l && l.onVnodeMounted)) { const e = t; xr(() => ti(i, u, e), a) } (256 & t.shapeFlag || u && ca(u.vnode) && 256 & u.vnode.shapeFlag) && (e.ba && Sa(e.ba), e.a && xr(e.a, a)), e.isMounted = !0, t = n = o = null } }, c = e.effect = new Tt(l, s, () => fo(d), e.scope), d = e.update = () => { c.dirty && c.run() }; d.id = e.uid, kr(e, !0), d() }, H = (e, t, n) => { t.component = e; const o = e.vnode.props; e.vnode = t, e.next = null, function (e, t, n, o) { const { props: a, attrs: r, vnode: { patchFlag: i } } = e, s = Bn(a), [l] = e.propsOptions; let c = !1; if (!(o || i > 0) || 16 & i) { let o; cr(e, t, a, r) && (c = !0); for (const r in s) t && (p(t, r) || (o = P(r)) !== r && p(t, o)) || (l ? !n || void 0 === n[r] && void 0 === n[o] || (a[r] = ur(l, s, r, void 0, e, !0)) : delete a[r]); if (r !== s) for (const e in r) t && p(t, e) || (delete r[e], c = !0) } else if (8 & i) { const n = e.vnode.dynamicProps; for (let o = 0; o < n.length; o++) { let i = n[o]; if (Co(e.emitsOptions, i)) continue; const d = t[i]; if (l) if (p(r, i)) d !== r[i] && (r[i] = dr(0, 0, d), c = !0); else { const t = R(i); a[t] = ur(l, s, t, d, e, !1) } else d !== r[i] && (r[i] = dr(0, 0, d), c = !0) } } c && Ft(e, "set", "$attrs") }(e, t.props, o, n), ((e, t, n) => { const { vnode: o, slots: a } = e; let i = !0, s = r; if (32 & o.shapeFlag) { const e = t._; e ? n && 1 === e ? i = !1 : (u(a, t), n || 1 !== e || delete a._) : (i = !t.$stable, _r(t, a)), s = t } else t && (wr(e, t), s = { default: 1 }); if (i) for (const r in a) yr(r) || null != s[r] || delete a[r] })(e, t.children, n), Rt(), yo(e), Et() }, U = (e, t, n, o, a, r, i, s, l = !1) => { const c = e && e.children, d = e ? e.shapeFlag : 0, u = t.children, { patchFlag: h, shapeFlag: p } = t; if (h > 0) { if (128 & h) return void Y(c, u, n, o, a, r, i, s, l); if (256 & h) return void q(c, u, n, o, a, r, i, s, l) } 8 & p ? (16 & d && K(c, a, r), u !== c && m(n, u)) : 16 & d ? 16 & p ? Y(c, u, n, o, a, r, i, s, l) : K(c, a, r, !0) : (8 & d && m(n, ""), 16 & p && E(u, n, o, a, r, i, s, l)) }, q = (e, t, n, o, a, r, s, l, c) => { t = t || i; const d = (e = e || i).length, u = t.length, h = Math.min(d, u); let m; for (m = 0; m < h; m++) { const o = t[m] = c ? Xr(t[m]) : Jr(t[m]); b(e[m], o, n, null, a, r, s, l, c) } d > u ? K(e, a, r, !0, !1, h) : E(t, n, o, a, r, s, l, c, h) }, Y = (e, t, n, o, a, r, s, l, c) => { let d = 0; const u = t.length; let h = e.length - 1, m = u - 1; for (; d <= h && d <= m;) { const o = e[d], i = t[d] = c ? Xr(t[d]) : Jr(t[d]); if (!Fr(o, i)) break; b(o, i, n, null, a, r, s, l, c), d++ } for (; d <= h && d <= m;) { const o = e[h], i = t[m] = c ? Xr(t[m]) : Jr(t[m]); if (!Fr(o, i)) break; b(o, i, n, null, a, r, s, l, c), h--, m-- } if (d > h) { if (d <= m) { const e = m + 1, i = e < u ? t[e].el : o; for (; d <= m;)b(null, t[d] = c ? Xr(t[d]) : Jr(t[d]), n, i, a, r, s, l, c), d++ } } else if (d > m) for (; d <= h;)G(e[d], a, r, !0), d++; else { const p = d, f = d, g = new Map; for (d = f; d <= m; d++) { const e = t[d] = c ? Xr(t[d]) : Jr(t[d]); null != e.key && g.set(e.key, d) } let y, v = 0; const _ = m - f + 1; let w = !1, T = 0; const x = new Array(_); for (d = 0; d < _; d++)x[d] = 0; for (d = p; d <= h; d++) { const o = e[d]; if (v >= _) { G(o, a, r, !0); continue } let i; if (null != o.key) i = g.get(o.key); else for (y = f; y <= m; y++)if (0 === x[y - f] && Fr(o, t[y])) { i = y; break } void 0 === i ? G(o, a, r, !0) : (x[i - f] = d + 1, i >= T ? T = i : w = !0, b(o, t[i], n, null, a, r, s, l, c), v++) } const S = w ? function (e) { const t = e.slice(), n = [0]; let o, a, r, i, s; const l = e.length; for (o = 0; o < l; o++) { const l = e[o]; if (0 !== l) { if (a = n[n.length - 1], e[a] < l) { t[o] = a, n.push(o); continue } for (r = 0, i = n.length - 1; r < i;)s = r + i >> 1, e[n[s]] < l ? r = s + 1 : i = s; l < e[n[r]] && (r > 0 && (t[o] = n[r - 1]), n[r] = o) } } r = n.length, i = n[r - 1]; for (; r-- > 0;)n[r] = i, i = t[i]; return n }(x) : i; for (y = S.length - 1, d = _ - 1; d >= 0; d--) { const e = f + d, i = t[e], h = e + 1 < u ? t[e + 1].el : o; 0 === x[d] ? b(null, i, n, h, a, r, s, l, c) : w && (y < 0 || d !== S[y] ? Z(i, n, h, 2) : y--) } } }, Z = (e, n, o, a, r = null) => { const { el: i, type: s, transition: l, children: c, shapeFlag: d } = e; if (6 & d) return void Z(e.component.subTree, n, o, a); if (128 & d) return void e.suspense.move(n, o, a); if (64 & d) return void s.move(e, n, o, oe); if (s === Ir) { t(i, n, o); for (let e = 0; e < c.length; e++)Z(c[e], n, o, a); return void t(e.anchor, n, o) } if (s === Pr) return void S(e, n, o); if (2 !== a && 1 & d && l) if (0 === a) l.beforeEnter(i), t(i, n, o), xr(() => l.enter(i), r); else { const { leave: e, delayLeave: a, afterLeave: r } = l, s = () => t(i, n, o), c = () => { e(i, () => { s(), r && r() }) }; a ? a(i, s, c) : c() } else t(i, n, o) }, G = (e, t, n, o = !1, a = !1) => { const { type: r, props: i, ref: s, children: l, dynamicChildren: c, shapeFlag: d, patchFlag: u, dirs: h } = e; if (null != s && Tr(s, null, n, e, !0), 256 & d) return void t.ctx.deactivate(e); const m = 1 & d && h, p = !ca(e); let f; if (p && (f = i && i.onVnodeBeforeUnmount) && ti(f, t, e), 6 & d) X(e.component, n, o); else { if (128 & d) return void e.suspense.unmount(n, o); m && Qo(e, null, t, "beforeUnmount"), 64 & d ? e.type.remove(e, t, n, a, oe, o) : c && (r !== Ir || u > 0 && 64 & u) ? K(c, t, n, !1, !0) : (r === Ir && 384 & u || !a && 16 & d) && K(l, t, n), o && Q(e) } (p && (f = i && i.onVnodeUnmounted) || m) && xr(() => { f && ti(f, t, e), m && Qo(e, null, t, "unmounted") }, n) }, Q = e => { const { type: t, el: o, anchor: a, transition: r } = e; if (t === Ir) return void J(o, a); if (t === Pr) return void C(e); const i = () => { n(o), r && !r.persisted && r.afterLeave && r.afterLeave() }; if (1 & e.shapeFlag && r && !r.persisted) { const { leave: t, delayLeave: n } = r, a = () => t(o, i); n ? n(e.el, i, a) : a() } else i() }, J = (e, t) => { let o; for (; e !== t;)o = g(e), n(e), e = o; n(t) }, X = (e, t, n) => { const { bum: o, scope: a, update: r, subTree: i, um: s } = e; o && N(o), a.stop(), r && (r.active = !1, G(i, e, t, n)), s && xr(s, t), xr(() => { e.isUnmounted = !0 }, t), t && t.pendingBranch && !t.isUnmounted && e.asyncDep && !e.asyncResolved && e.suspenseId === t.pendingId && (t.deps--, 0 === t.deps && t.resolve()) }, K = (e, t, n, o = !1, a = !1, r = 0) => { for (let i = r; i < e.length; i++)G(e[i], t, n, o, a) }, ee = e => 6 & e.shapeFlag ? ee(e.component.subTree) : 128 & e.shapeFlag ? e.suspense.next() : g(e.anchor || e.el); let te = !1; const ne = (e, t, n) => { null == e ? t._vnode && G(t._vnode, null, null, !0) : b(t._vnode || null, e, t, null, null, null, n), te || (te = !0, yo(), vo(), te = !1), t._vnode = e }, oe = { p: b, um: G, m: Z, r: Q, mt: z, mc: E, pc: U, pbc: O, n: ee, o: e }; let ae; return { render: ne, hydrate: ae, createApp: rr(ne) } }(e) } function Cr({ 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 kr({ effect: e, update: t }, n) { e.allowRecurse = t.allowRecurse = n } function Mr(e, t, n = !1) { const o = e.children, a = t.children; if (f(o) && f(a)) for (let r = 0; r < o.length; r++) { const e = o[r]; let t = a[r]; 1 & t.shapeFlag && !t.dynamicChildren && ((t.patchFlag <= 0 || 32 === t.patchFlag) && (t = a[r] = Xr(a[r]), t.el = e.el), n || Mr(e, t)), t.type === Rr && (t.el = e.el) } } function Ar(e) { const t = e.subTree.component; if (t) return t.asyncDep && !t.asyncResolved ? t : Ar(t) } const Ir = Symbol.for("v-fgt"), Rr = Symbol.for("v-txt"), Er = Symbol.for("v-cmt"), Pr = Symbol.for("v-stc"), Lr = []; let Or = null; function Br(e = !1) { Lr.push(Or = e ? null : []) } let Nr = 1; function Dr(e) { Nr += e } function Vr(e) { return e.dynamicChildren = Nr > 0 ? Or || i : null, Lr.pop(), Or = Lr[Lr.length - 1] || null, Nr > 0 && Or && Or.push(e), e } function $r(e, t, n, o, a, r) { return Vr(qr(e, t, n, o, a, r, !0)) } function jr(e, t, n, o, a) { return Vr(Yr(e, t, n, o, a, !0)) } function zr(e) { return !!e && !0 === e.__v_isVNode } function Fr(e, t) { return e.type === t.type && e.key === t.key } const Wr = "__vInternal", Hr = ({ key: e }) => null != e ? e : null, Ur = ({ ref: e, ref_key: t, ref_for: n }) => ("number" == typeof e && (e = "" + e), null != e ? b(e) || Fn(e) || v(e) ? { i: ko, r: e, k: t, f: !!n } : e : null); function qr(e, t = null, n = null, o = 0, a = null, r = (e === Ir ? 0 : 1), i = !1, s = !1) { const l = { __v_isVNode: !0, __v_skip: !0, type: e, props: t, key: t && Hr(t), ref: t && Ur(t), scopeId: Mo, 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: a, dynamicChildren: null, appContext: null, ctx: ko }; return s ? (Kr(l, n), 128 & r && e.normalize(l)) : n && (l.shapeFlag |= b(n) ? 8 : 16), Nr > 0 && !i && Or && (l.patchFlag > 0 || 6 & r) && 32 !== l.patchFlag && Or.push(l), l } const Yr = function (e, t = null, n = null, o = 0, a = null, r = !1) { e && e !== No || (e = Er); if (zr(e)) { const o = Zr(e, t, !0); return n && Kr(o, n), Nr > 0 && !r && Or && (6 & o.shapeFlag ? Or[Or.indexOf(e)] = o : Or.push(o)), o.patchFlag |= -2, o } i = e, v(i) && "__vccOpts" in i && (e = e.__vccOpts); var i; if (t) { t = function (e) { return e ? On(e) || Wr in e ? u({}, e) : e : null }(t); let { class: e, style: n } = t; e && !b(e) && (t.class = qe(e)), w(n) && (On(n) && !f(n) && (n = u({}, n)), t.style = Ue(n)) } const s = b(e) ? 1 : jo(e) ? 128 : (e => e.__isTeleport)(e) ? 64 : w(e) ? 4 : v(e) ? 2 : 0; return qr(e, t, n, o, a, s, r, !0) }; function Zr(e, t, n = !1) { const { props: o, ref: a, patchFlag: r, children: i } = e, s = t ? ei(o || {}, t) : o; return { __v_isVNode: !0, __v_skip: !0, type: e.type, props: s, key: s && Hr(s), ref: t && t.ref ? n && a ? f(a) ? a.concat(Ur(t)) : [a, Ur(t)] : Ur(t) : a, scopeId: e.scopeId, slotScopeIds: e.slotScopeIds, children: i, target: e.target, targetAnchor: e.targetAnchor, staticCount: e.staticCount, shapeFlag: e.shapeFlag, patchFlag: t && e.type !== Ir ? -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 && Zr(e.ssContent), ssFallback: e.ssFallback && Zr(e.ssFallback), el: e.el, anchor: e.anchor, ctx: e.ctx, ce: e.ce } } function Gr(e = " ", t = 0) { return Yr(Rr, null, e, t) } function Qr(e = "", t = !1) { return t ? (Br(), jr(Er, null, e)) : Yr(Er, null, e) } function Jr(e) { return null == e || "boolean" == typeof e ? Yr(Er) : f(e) ? Yr(Ir, null, e.slice()) : "object" == typeof e ? Xr(e) : Yr(Rr, null, String(e)) } function Xr(e) { return null === e.el && -1 !== e.patchFlag || e.memo ? e : Zr(e) } function Kr(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), Kr(e, n()), n._c && (n._d = !0))) } { n = 32; const o = t._; o || Wr in t ? 3 === o && ko && (1 === ko.slots._ ? t._ = 1 : (t._ = 2, e.patchFlag |= 1024)) : t._ctx = ko } } else v(t) ? (t = { default: t, _ctx: ko }, n = 32) : (t = String(t), 64 & o ? (n = 16, t = [Gr(t)]) : n = 8); e.children = t, e.shapeFlag |= n } function ei(...e) { const t = {}; for (let n = 0; n < e.length; n++) { const o = e[n]; for (const e in o) if ("class" === e) t.class !== o.class && (t.class = qe([t.class, o.class])); else if ("style" === e) t.style = Ue([t.style, o.style]); else if (c(e)) { const n = t[e], a = o[e]; !a || n === a || f(n) && n.includes(a) || (t[e] = n ? [].concat(n, a) : a) } else "" !== e && (t[e] = o[e]) } return t } function ti(e, t, n, o = null) { to(e, t, 7, [n, o]) } const ni = or(); let oi = 0; let ai = null; const ri = () => ai || ko; let ii, si; { const e = j(), 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) } }; ii = t("__VUE_INSTANCE_SETTERS__", e => ai = e), si = t("__VUE_SSR_SETTERS__", e => ui = e) } const li = e => { const t = ai; return ii(e), e.scope.on(), () => { e.scope.off(), ii(t) } }, ci = () => { ai && ai.scope.off(), ii(null) }; function di(e) { return 4 & e.vnode.shapeFlag } let ui = !1; function hi(e, t, n) { v(t) ? e.type.__ssrInlineRender ? e.ssrRender = t : e.render = t : w(t) && (e.setupState = Gn(t)), mi(e) } function mi(e, t, n) { const o = e.type; e.render || (e.render = o.render || s); { const t = li(e); Rt(); try { qa(e) } finally { Et(), t() } } } function pi(e) { if (e.exposed) return e.exposeProxy || (e.exposeProxy = new Proxy(Gn(Nn(e.exposed)), { get: (t, n) => n in t ? t[n] : n in za ? za[n](e) : void 0, has: (e, t) => t in e || t in za })) } function fi(e, t = !0) { return v(e) ? e.displayName || e.name : e.name || t && e.__name } const gi = (e, t) => { const n = function (e, t, n = !1) { let o, a; const r = v(e); return r ? (o = e, a = s) : (o = e.get, a = e.set), new $n(o, a, r || !a, n) }(e, 0, ui); return n }; function yi(e, t, n) { const o = arguments.length; return 2 === o ? w(t) && !f(t) ? zr(t) ? Yr(e, null, [t]) : Yr(e, t) : Yr(e, null, t) : (o > 3 ? n = Array.prototype.slice.call(arguments, 2) : 3 === o && zr(n) && (n = [n]), Yr(e, t, n)) } const vi = "3.4.21", bi = s, _i = "undefined" != typeof document ? document : null, wi = _i && _i.createElement("template"), Ti = { 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 a = "svg" === t ? _i.createElementNS("http://www.w3.org/2000/svg", e) : "mathml" === t ? _i.createElementNS("http://www.w3.org/1998/Math/MathML", e) : n ? _i.createElement(e, { is: n }) : _i.createElement(e); return "select" === e && o && null != o.multiple && a.setAttribute("multiple", o.multiple), a }, createText: e => _i.createTextNode(e), createComment: e => _i.createComment(e), setText: (e, t) => { e.nodeValue = t }, setElementText: (e, t) => { e.textContent = t }, parentNode: e => e.parentNode, nextSibling: e => e.nextSibling, querySelector: e => _i.querySelector(e), setScopeId(e, t) { e.setAttribute(t, "") }, insertStaticContent(e, t, n, o, a, r) { const i = n ? n.previousSibling : t.lastChild; if (a && (a === r || a.nextSibling)) for (; t.insertBefore(a.cloneNode(!0), n), a !== r && (a = a.nextSibling);); else { wi.innerHTML = "svg" === o ? `${e}` : "mathml" === o ? `${e}` : e; const a = wi.content; if ("svg" === o || "mathml" === o) { const e = a.firstChild; for (; e.firstChild;)a.appendChild(e.firstChild); a.removeChild(e) } t.insertBefore(a, n) } return [i ? i.nextSibling : t.firstChild, n ? n.previousSibling : t.lastChild] } }, xi = "transition", Si = "animation", Ci = Symbol("_vtc"), ki = (e, { slots: t }) => yi(ta, function (e) { const t = {}; for (const u in e) u in Mi || (t[u] = e[u]); if (!1 === e.css) return t; const { name: n = "v", type: o, duration: a, enterFromClass: r = `${n}-enter-from`, enterActiveClass: i = `${n}-enter-active`, enterToClass: s = `${n}-enter-to`, appearFromClass: l = r, appearActiveClass: c = i, appearToClass: d = s, leaveFromClass: h = `${n}-leave-from`, leaveActiveClass: m = `${n}-leave-active`, leaveToClass: p = `${n}-leave-to` } = e, f = function (e) { if (null == e) return null; if (w(e)) return [Ri(e.enter), Ri(e.leave)]; { const t = Ri(e); return [t, t] } }(a), g = f && f[0], y = f && f[1], { onBeforeEnter: v, onEnter: b, onEnterCancelled: _, onLeave: T, onLeaveCancelled: x, onBeforeAppear: S = v, onAppear: C = b, onAppearCancelled: k = _ } = t, M = (e, t, n) => { Pi(e, t ? d : s), Pi(e, t ? c : i), n && n() }, A = (e, t) => { e._isLeaving = !1, Pi(e, h), Pi(e, p), Pi(e, m), t && t() }, I = e => (t, n) => { const a = e ? C : b, i = () => M(t, e, n); Ai(a, [t, i]), Li(() => { Pi(t, e ? l : r), Ei(t, e ? d : s), Ii(a) || Bi(t, o, g, i) }) }; return u(t, { onBeforeEnter(e) { Ai(v, [e]), Ei(e, r), Ei(e, i) }, onBeforeAppear(e) { Ai(S, [e]), Ei(e, l), Ei(e, c) }, onEnter: I(!1), onAppear: I(!0), onLeave(e, t) { e._isLeaving = !0; const n = () => A(e, t); Ei(e, h), document.body.offsetHeight, Ei(e, m), Li(() => { e._isLeaving && (Pi(e, h), Ei(e, p), Ii(T) || Bi(e, o, y, n)) }), Ai(T, [e, n]) }, onEnterCancelled(e) { M(e, !1), Ai(_, [e]) }, onAppearCancelled(e) { M(e, !0), Ai(k, [e]) }, onLeaveCancelled(e) { A(e), Ai(x, [e]) } }) }(e), t); ki.displayName = "Transition"; const Mi = { 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 }; ki.props = u({}, ea, Mi); const Ai = (e, t = []) => { f(e) ? e.forEach(e => e(...t)) : e && e(...t) }, Ii = e => !!e && (f(e) ? e.some(e => e.length > 1) : e.length > 1); function Ri(e) { const t = (e => { const t = b(e) ? Number(e) : NaN; return isNaN(t) ? e : t })(e); return t } function Ei(e, t) { t.split(/\s+/).forEach(t => t && e.classList.add(t)), (e[Ci] || (e[Ci] = new Set)).add(t) } function Pi(e, t) { t.split(/\s+/).forEach(t => t && e.classList.remove(t)); const n = e[Ci]; n && (n.delete(t), n.size || (e[Ci] = void 0)) } function Li(e) { requestAnimationFrame(() => { requestAnimationFrame(e) }) } let Oi = 0; function Bi(e, t, n, o) { const a = e._endId = ++Oi, r = () => { a === e._endId && o() }; if (n) return setTimeout(r, n); const { type: i, timeout: s, propCount: l } = function (e, t) { const n = window.getComputedStyle(e), o = e => (n[e] || "").split(", "), a = o(`${xi}Delay`), r = o(`${xi}Duration`), i = Ni(a, r), s = o(`${Si}Delay`), l = o(`${Si}Duration`), c = Ni(s, l); let d = null, u = 0, h = 0; t === xi ? i > 0 && (d = xi, u = i, h = r.length) : t === Si ? c > 0 && (d = Si, u = c, h = l.length) : (u = Math.max(i, c), d = u > 0 ? i > c ? xi : Si : null, h = d ? d === xi ? r.length : l.length : 0); const m = d === xi && /\b(transform|all)(,|$)/.test(o(`${xi}Property`).toString()); return { type: d, timeout: u, propCount: h, hasTransform: m } }(e, t); if (!i) return o(); const c = i + "end"; let d = 0; const u = () => { e.removeEventListener(c, h), r() }, h = t => { t.target === e && ++d >= l && u() }; setTimeout(() => { d < l && u() }, s + 1), e.addEventListener(c, h) } function Ni(e, t) { for (; e.length < t.length;)e = e.concat(e); return Math.max(...t.map((t, n) => Di(t) + Di(e[n]))) } function Di(e) { return "auto" === e ? 0 : 1e3 * Number(e.slice(0, -1).replace(",", ".")) } const Vi = Symbol("_vod"), $i = Symbol("_vsh"), ji = { beforeMount(e, { value: t }, { transition: n }) { e[Vi] = "none" === e.style.display ? "" : e.style.display, n && t ? n.beforeEnter(e) : zi(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), zi(e, !0), o.enter(e)) : o.leave(e, () => { zi(e, !1) }) : zi(e, t)) }, beforeUnmount(e, { value: t }) { zi(e, t) } }; function zi(e, t) { e.style.display = t ? e[Vi] : "none", e[$i] = !t } const Fi = Symbol(""), Wi = /(^|;)\s*display\s*:/; const Hi = /\s*!important$/; function Ui(e, t, n) { if (f(n)) n.forEach(n => Ui(e, t, n)); else if (null == n && (n = ""), n = ts(n), t.startsWith("--")) e.setProperty(t, n); else { const o = function (e, t) { const n = Yi[t]; if (n) return n; let o = R(t); if ("filter" !== o && o in e) return Yi[t] = o; o = L(o); for (let a = 0; a < qi.length; a++) { const n = qi[a] + o; if (n in e) return Yi[t] = n } return t }(e, t); Hi.test(n) ? e.setProperty(P(o), n.replace(Hi, ""), "important") : e[o] = n } } const qi = ["Webkit", "Moz", "ms"], Yi = {}; const { unit: Zi, unitRatio: Gi, unitPrecision: Qi } = { unit: "rem", unitRatio: 10 / 320, unitPrecision: 5 }, Ji = (Xi = Zi, Ki = Gi, es = Qi, e => e.replace(et, (e, t) => { if (!t) return e; 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) * Ki, es); return 0 === n ? "0" : `${n}${Xi}` })); var Xi, Ki, es; const ts = e => b(e) ? Ji(e) : e, ns = "http://www.w3.org/1999/xlink"; const os = Symbol("_vei"); function as(e, t, n, o, a = null) { const r = e[os] || (e[os] = {}), i = r[t]; if (o && i) i.value = o; else { const [n, s] = function (e) { let t; if (rs.test(e)) { let n; for (t = {}; n = e.match(rs);)e = e.slice(0, e.length - n[0].length), t[n[0].toLowerCase()] = !0 } const n = ":" === e[2] ? e.slice(3) : P(e.slice(2)); return [n, t] }(t); if (o) { const i = 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, a = o && o.$nne, { value: r } = n; if (a && f(r)) { const n = cs(e, r); for (let o = 0; o < n.length; o++) { const r = n[o]; to(r, t, 5, r.__wwe ? [e] : a(e)) } return } to(cs(e, n.value), t, 5, a && !r.__wwe ? a(e, r, t) : [e]) }; return n.value = e, n.attached = ls(), n }(o, a); !function (e, t, n, o) { e.addEventListener(t, n, o) }(e, n, i, s) } else i && (!function (e, t, n, o) { e.removeEventListener(t, n, o) }(e, n, i, s), r[t] = void 0) } } const rs = /(?:Once|Passive|Capture)$/; let is = 0; const ss = Promise.resolve(), ls = () => is || (ss.then(() => is = 0), is = Date.now()); function cs(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 ds = e => 111 === e.charCodeAt(0) && 110 === e.charCodeAt(1) && e.charCodeAt(2) > 96 && e.charCodeAt(2) < 123; const us = ["ctrl", "shift", "alt", "meta"], hs = { 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) => us.some(n => e[`${n}Key`] && !t.includes(n)) }, ms = (e, t) => { const n = e._withMods || (e._withMods = {}), o = t.join("."); return n[o] || (n[o] = (n, ...o) => { for (let e = 0; e < t.length; e++) { const o = hs[t[e]]; if (o && o(n, t)) return } return e(n, ...o) }) }, ps = u({ patchProp: (e, t, n, o, a, r, i, s, l) => { if (0 === t.indexOf("change:")) return function (e, t, n, o = null) { if (!n || !o) return; const a = t.replace("change:", ""), { attrs: r } = o, i = r[a], s = (e.__wxsProps || (e.__wxsProps = {}))[a]; if (s === i) return; e.__wxsProps[a] = i; const l = o.proxy; po(() => { n(i, s, l.$gcd(l, !0), l.$gcd(l, !1)) }) }(e, t, o, i); const u = "svg" === a; "class" === t ? function (e, t, n) { const { __wxsAddClass: o, __wxsRemoveClass: a } = e; a && a.length && (t = (t || "").split(/\s+/).filter(e => -1 === a.indexOf(e)).join(" "), a.length = 0), o && o.length && (t = (t || "") + " " + o.join(" ")); const r = e[Ci]; r && (t = (t ? [t, ...r] : [...r]).join(" ")), null == t ? e.removeAttribute("class") : n ? e.setAttribute("class", t) : e.className = t }(e, o, u) : "style" === t ? function (e, t, n) { const o = e.style, a = b(n); let r = !1; if (n && !a) { if (t) if (b(t)) for (const e of t.split(";")) { const t = e.slice(0, e.indexOf(":")).trim(); null == n[t] && Ui(o, t, "") } else for (const e in t) null == n[e] && Ui(o, e, ""); for (const e in n) "display" === e && (r = !0), Ui(o, e, n[e]) } else if (a) { if (t !== n) { const e = o[Fi]; e && (n += ";" + e), o.cssText = n, r = Wi.test(n) } } else t && e.removeAttribute("style"); Vi in e && (e[Vi] = r ? o.display : "", e[$i] && (o.display = "none")); const { __wxsStyle: i } = e; if (i) for (const s in i) Ui(o, s, i[s]) }(e, n, o) : c(t) ? d(t) || as(e, t, 0, o, i) : ("." === 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 && ds(t) && v(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 (ds(t) && b(n)) return !1; return t in e }(e, t, o, u)) ? function (e, t, n, o, a, r, i) { if ("innerHTML" === t || "textContent" === t) return o && i(o, a, 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 = Z(n) : null == n && "string" === o ? (n = "", l = !0) : "number" === o && (n = 0, l = !0) } try { e[t] = n } catch (VR) { } l && e.removeAttribute(t) }(e, t, o, r, i, s, l) : ("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(ns, t.slice(6, t.length)) : e.setAttributeNS(ns, t, n); else { const o = Y(t); null == n || o && !Z(n) ? e.removeAttribute(t) : e.setAttribute(t, o ? "" : n) } }(e, t, o, u)) }, forcePatchProp: (e, t) => 0 === t.indexOf("change:") || ("class" === t && e.__wxsClassChanged ? (e.__wxsClassChanged = !1, !0) : !("style" !== t || !e.__wxsStyleChanged) && (e.__wxsStyleChanged = !1, !0)) }, Ti); let fs; const gs = (...e) => { + const t = (fs || (fs = Sr(ps))).createApp(...e), { mount: n } = t; return t.mount = e => { + const o = function (e) { if (b(e)) { return document.querySelector(e) } return e } /*! * vue-router v4.4.4 * (c) 2024 Eduardo San Martin Morote * @license MIT - */(e);if(!o)return;const a=t._component;v(a)||a.render||a.template||(a.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 ys="undefined"!=typeof document;function vs(e){return"object"==typeof e||"displayName"in e||"props"in e||"__vccOpts"in e}const bs=Object.assign;function _s(e,t){const n={};for(const o in t){const a=t[o];n[o]=Ts(a)?a.map(e):e(a)}return n}const ws=()=>{},Ts=Array.isArray,xs=/#/g,Ss=/&/g,Cs=/\//g,ks=/=/g,Ms=/\?/g,As=/\+/g,Is=/%5B/g,Rs=/%5D/g,Es=/%5E/g,Ps=/%60/g,Ls=/%7B/g,Os=/%7C/g,Bs=/%7D/g,Ns=/%20/g;function Ds(e){return encodeURI(""+e).replace(Os,"|").replace(Is,"[").replace(Rs,"]")}function Vs(e){return Ds(e).replace(As,"%2B").replace(Ns,"+").replace(xs,"%23").replace(Ss,"%26").replace(Ps,"`").replace(Ls,"{").replace(Bs,"}").replace(Es,"^")}function $s(e){return Vs(e).replace(ks,"%3D")}function js(e){return null==e?"":function(e){return Ds(e).replace(xs,"%23").replace(Ms,"%3F")}(e).replace(Cs,"%2F")}function zs(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}const Fs=/\/$/;function Ws(e,t,n="/"){let o,a={},r="",i="";const s=t.indexOf("#");let l=t.indexOf("?");return s=0&&(l=-1),l>-1&&(o=t.slice(0,l),r=t.slice(l+1,s>-1?s:t.length),a=e(r)),s>-1&&(o=o||t.slice(0,s),i=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("/"),a=o[o.length-1];".."!==a&&"."!==a||o.push("");let r,i,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&&"?")+r+i,path:o,query:a,hash:zs(i)}}function Hs(e,t){return t&&e.toLowerCase().startsWith(t.toLowerCase())?e.slice(t.length)||"/":e}function Us(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function qs(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Ys(e[n],t[n]))return!1;return!0}function Ys(e,t){return Ts(e)?Zs(e,t):Ts(t)?Zs(t,e):e===t}function Zs(e,t){return Ts(t)?e.length===t.length&&e.every((e,n)=>e===t[n]):1===e.length&&e[0]===t}const Gs={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var Qs,Js,Xs,Ks;function el(e){if(!e)if(ys){const t=document.querySelector("base");e=(e=t&&t.getAttribute("href")||"/").replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return"/"!==e[0]&&"#"!==e[0]&&(e="/"+e),e.replace(Fs,"")}(Js=Qs||(Qs={})).pop="pop",Js.push="push",(Ks=Xs||(Xs={})).back="back",Ks.forward="forward",Ks.unknown="";const tl=/^[^#]+#/;function nl(e,t){return e.replace(tl,"#")+t}const ol=()=>({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("#"),a="string"==typeof n?o?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!a)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)}}(a,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 rl(e,t){return(history.state?history.state.position-t:-1)+e}const il=new Map;function sl(e,t){const{pathname:n,search:o,hash:a}=t,r=e.indexOf("#");if(r>-1){let t=a.includes(e.slice(r))?e.slice(r).length:1,n=a.slice(t);return"/"!==n[0]&&(n="/"+n),Hs(n,"")}return Hs(n,e)+o+a}function ll(e,t,n,o=!1,a=!1){return{back:e,current:t,forward:n,replaced:o,position:window.history.length,scroll:a?ol():null}}function cl(e){const{history:t,location:n}=window,o={value:sl(e,n)},a={value:t.state};function r(o,r,i){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[i?"replaceState":"pushState"](r,"",l),a.value=r}catch(c){console.error(c),n[i?"replace":"assign"](l)}}return a.value||r(o.value,{back:null,current:o.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0),{location:o,state:a,push:function(e,n){const i=bs({},a.value,t.state,{forward:e,scroll:ol()});r(i.current,i,!0),r(e,bs({},ll(o.value,e,null),{position:i.position+1},n),!1),o.value=e},replace:function(e,n){r(e,bs({},t.state,ll(a.value.back,e,a.value.forward,!0),n,{position:a.value.position}),!0),o.value=e}}}function dl(e){const t=cl(e=el(e)),n=function(e,t,n,o){let a=[],r=[],i=null;const s=({state:r})=>{const s=sl(e,location),l=n.value,c=t.value;let d=0;if(r){if(n.value=s,t.value=r,i&&i===l)return void(i=null);d=c?r.position-c.position:0}else o(s);a.forEach(e=>{e(n.value,l,{delta:d,type:Qs.pop,direction:d?d>0?Xs.forward:Xs.back:Xs.unknown})})};function l(){const{history:e}=window;e.state&&e.replaceState(bs({},e.state,{scroll:ol()}),"")}return window.addEventListener("popstate",s),window.addEventListener("beforeunload",l,{passive:!0}),{pauseListeners:function(){i=n.value},listen:function(e){a.push(e);const t=()=>{const t=a.indexOf(e);t>-1&&a.splice(t,1)};return r.push(t),t},destroy:function(){for(const e of r)e();r=[],window.removeEventListener("popstate",s),window.removeEventListener("beforeunload",l)}}}(e,t.state,t.location,t.replace);const o=bs({location:"",base:e,go:function(e,t=!0){t||n.pauseListeners(),history.go(e)},createHref:nl.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}function ul(e){return"string"==typeof e||"symbol"==typeof e}const hl=Symbol("");var ml,pl;function fl(e,t){return bs(new Error,{type:e,[hl]:!0},t)}function gl(e,t){return e instanceof Error&&hl in e&&(null==t||!!(e.type&t))}(pl=ml||(ml={}))[pl.aborted=4]="aborted",pl[pl.cancelled=8]="cancelled",pl[pl.duplicated=16]="duplicated";const yl="[^/]+?",vl={sensitive:!1,strict:!1,start:!0,end:!0},bl=/[.+*?^${}()[\]/\\]/g;function _l(e,t){let n=0;for(;nt.length?1===t.length&&80===t[0]?1:-1:0}function wl(e,t){let n=0;const o=e.score,a=t.score;for(;n0&&t[t.length-1]<0}const xl={type:0,value:""},Sl=/[a-zA-Z0-9_]/;function Cl(e,t,n){const o=function(e,t){const n=bs({},vl,t),o=[];let a=n.start?"^":"";const r=[];for(const l of e){const e=l.length?[]:[90];n.strict&&!l.length&&(a+="/");for(let t=0;t1&&("*"===s||"+"===s)&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),r.push({type:1,value:c,regexp:d,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(ul(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 i(e){const t=function(e,t){let n=0,o=t.length;for(;n!==o;){const a=n+o>>1;wl(e,t[a])<0?o=a:n=a+1}const a=function(e){let t=e;for(;t=t.parent;)if(Pl(t)&&0===wl(e,t))return t;return}(e);a&&(o=t.lastIndexOf(a,o-1));return o}(e,n);n.splice(t,0,e),e.record.name&&!Il(e)&&o.set(e.record.name,e)}return t=El({strict:!1,end:!0,sensitive:!1},t),e.forEach(e=>a(e)),{addRoute:a,resolve:function(e,t){let a,r,i,s={};if("name"in e&&e.name){if(a=o.get(e.name),!a)throw fl(1,{location:e});i=a.record.name,s=bs(Ml(t.params,a.keys.filter(e=>!e.optional).concat(a.parent?a.parent.keys.filter(e=>e.optional):[]).map(e=>e.name)),e.params&&Ml(e.params,a.keys.map(e=>e.name))),r=a.stringify(s)}else if(null!=e.path)r=e.path,a=n.find(e=>e.re.test(r)),a&&(s=a.parse(r),i=a.record.name);else{if(a=t.name?o.get(t.name):n.find(e=>e.re.test(t.path)),!a)throw fl(1,{location:e,currentLocation:t});i=a.record.name,s=bs({},t.params,e.params),r=a.stringify(s)}const l=[];let c=a;for(;c;)l.unshift(c.record),c=c.parent;return{name:i,path:r,params:s,matched:l,meta:Rl(l)}},removeRoute:r,clearRoutes:function(){n.length=0,o.clear()},getRoutes:function(){return n},getRecordMatcher:function(e){return o.get(e)}}}function Ml(e,t){const n={};for(const o of t)o in e&&(n[o]=e[o]);return n}function Al(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 Il(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Rl(e){return e.reduce((e,t)=>bs(e,t.meta),{})}function El(e,t){const n={};for(const o in e)n[o]=o in t?t[o]:e[o];return n}function Pl({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function Ll(e){const t={};if(""===e||"?"===e)return t;const n=("?"===e[0]?e.slice(1):e).split("&");for(let o=0;oe&&Vs(e)):[o&&Vs(o)]).forEach(e=>{void 0!==e&&(t+=(t.length?"&":"")+n,null!=e&&(t+="="+e))})}return t}function Bl(e){const t={};for(const n in e){const o=e[n];void 0!==o&&(t[n]=Ts(o)?o.map(e=>null==e?null:""+e):null==o?o:""+o)}return t}const Nl=Symbol(""),Dl=Symbol(""),Vl=Symbol(""),$l=Symbol(""),jl=Symbol("");function zl(){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 Fl(e,t,n,o,a,r=e=>e()){const i=o&&(o.enterCallbacks[a]=o.enterCallbacks[a]||[]);return()=>new Promise((s,l)=>{const c=e=>{var r;!1===e?l(fl(4,{from:n,to:t})):e instanceof Error?l(e):"string"==typeof(r=e)||r&&"object"==typeof r?l(fl(2,{from:t,to:e})):(i&&o.enterCallbacks[a]===i&&"function"==typeof e&&i.push(e),s())},d=r(()=>e.call(o&&o.instances[a],t,n,c));let u=Promise.resolve(d);e.length<3&&(u=u.then(c)),u.catch(e=>l(e))})}function Wl(e,t,n,o,a=e=>e()){const r=[];for(const i of e)for(const e in i.components){let s=i.components[e];if("beforeRouteEnter"===t||i.instances[e])if(vs(s)){const l=(s.__vccOpts||s)[t];l&&r.push(Fl(l,n,o,i,e,a))}else{let l=s();r.push(()=>l.then(r=>{if(!r)throw new Error(`Couldn't resolve component "${e}" at "${i.path}"`);const s=(l=r).__esModule||"Module"===l[Symbol.toStringTag]||l.default&&vs(l.default)?r.default:r;var l;i.mods[e]=r,i.components[e]=s;const c=(s.__vccOpts||s)[t];return c&&Fl(c,n,o,i,e,a)()}))}}return r}function Hl(e){const t=lr(Vl),n=lr($l),o=gi(()=>{const n=Yn(e.to);return t.resolve(n)}),a=gi(()=>{const{matched:e}=o.value,{length:t}=e,a=e[t-1],r=n.matched;if(!a||!r.length)return-1;const i=r.findIndex(Us.bind(null,a));if(i>-1)return i;const s=ql(e[t-2]);return t>1&&ql(a)===s&&r[r.length-1].path!==s?r.findIndex(Us.bind(null,e[t-2])):i}),r=gi(()=>a.value>-1&&function(e,t){for(const n in t){const o=t[n],a=e[n];if("string"==typeof o){if(o!==a)return!1}else if(!Ts(a)||a.length!==o.length||o.some((e,t)=>e!==a[t]))return!1}return!0}(n.params,o.value.params)),i=gi(()=>a.value>-1&&a.value===n.matched.length-1&&qs(n.params,o.value.params));return{route:o,href:gi(()=>o.value.href),isActive:r,isExactActive:i,navigate:function(n={}){return function(e){if(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)return;if(e.defaultPrevented)return;if(void 0!==e.button&&0!==e.button)return;if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}e.preventDefault&&e.preventDefault();return!0}(n)?t[Yn(e.replace)?"replace":"push"](Yn(e.to)).catch(ws):Promise.resolve()}}}const Ul=la({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Hl,setup(e,{slots:t}){const n=Mn(Hl(e)),{options:o}=lr(Vl),a=gi(()=>({[Yl(e.activeClass,o.linkActiveClass,"router-link-active")]:n.isActive,[Yl(e.exactActiveClass,o.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&t.default(n);return e.custom?o:yi("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:a.value},o)}}});function ql(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Yl=(e,t,n)=>null!=e?e:null!=t?t:n,Zl=la({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const o=lr(jl),a=gi(()=>e.route||o.value),r=lr(Dl,0),i=gi(()=>{let e=Yn(r);const{matched:t}=a.value;let n;for(;(n=t[e])&&!n.components;)e++;return e}),s=gi(()=>a.value.matched[i.value]);sr(Dl,gi(()=>i.value+1)),sr(Nl,s),sr(jl,a);const l=Wn();return Ho(()=>[l.value,s.value,e.name],([e,t,n],[o,a,r])=>{t&&(t.instances[n]=e,a&&a!==t&&e&&e===o&&(t.leaveGuards.size||(t.leaveGuards=a.leaveGuards),t.updateGuards.size||(t.updateGuards=a.updateGuards))),!e||!t||a&&Us(t,a)&&o||(t.enterCallbacks[n]||[]).forEach(t=>t(e))},{flush:"post"}),()=>{const o=a.value,r=e.name,i=s.value,c=i&&i.components[r];if(!c)return Gl(n.default,{Component:c,route:o});const d=i.props[r],u=d?!0===d?o.params:"function"==typeof d?d(o):d:null,h=yi(c,bs({},u,t,{onVnodeUnmounted:e=>{e.component.isUnmounted&&(i.instances[r]=null)},ref:l}));return Gl(n.default,{Component:h,route:o})||h}}});function Gl(e,t){if(!e)return null;const n=e(t);return 1===n.length?n[0]:n}const Ql=Zl;function Jl(e){const t=kl(e.routes,e),n=e.parseQuery||Ll,o=e.stringifyQuery||Ol,a=e.history,r=zl(),i=zl(),s=zl(),l=Hn(Gs);let c=Gs;ys&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const d=_s.bind(null,e=>""+e),u=_s.bind(null,js),h=_s.bind(null,zs);function m(e,r){if(r=bs({},r||l.value),"string"==typeof e){const o=Ws(n,e,r.path),i=t.resolve({path:o.path},r),s=a.createHref(o.fullPath);return bs(o,i,{params:h(i.params),hash:zs(o.hash),redirectedFrom:void 0,href:s})}let i;if(null!=e.path)i=bs({},e,{path:Ws(n,e.path,r.path).path});else{const t=bs({},e.params);for(const e in t)null==t[e]&&delete t[e];i=bs({},e,{params:u(t)}),r.params=u(r.params)}const s=t.resolve(i,r),c=e.hash||"";s.params=d(h(s.params));const m=function(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}(o,bs({},e,{hash:(p=c,Ds(p).replace(Ls,"{").replace(Bs,"}").replace(Es,"^")),path:s.path}));var p;const f=a.createHref(m);return bs({fullPath:m,hash:c,query:o===Ol?Bl(e.query):e.query||{}},s,{redirectedFrom:void 0,href:f})}function p(e){return"string"==typeof e?Ws(n,e,l.value.path):bs({},e)}function f(e,t){if(c!==e)return fl(8,{from:t,to:e})}function g(e){return v(e)}function y(e){const t=e.matched[e.matched.length-1];if(t&&t.redirect){const{redirect:n}=t;let o="function"==typeof n?n(e):n;return"string"==typeof o&&(o=o.includes("?")||o.includes("#")?o=p(o):{path:o},o.params={}),bs({query:e.query,hash:e.hash,params:null!=o.path?{}:e.params},o)}}function v(e,t){const n=c=m(e),a=l.value,r=e.state,i=e.force,s=!0===e.replace,d=y(n);if(d)return v(bs(p(d),{state:"object"==typeof d?bs({},r,d.state):r,force:i,replace:s}),t||n);const u=n;let h;return u.redirectedFrom=t,!i&&function(e,t,n){const o=t.matched.length-1,a=n.matched.length-1;return o>-1&&o===a&&Us(t.matched[o],n.matched[a])&&qs(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}(o,a,n)&&(h=fl(16,{to:u,from:a}),E(a,a,!0,!1)),(h?Promise.resolve(h):w(u,a)).catch(e=>gl(e)?gl(e,2)?e:R(e):I(e,u,a)).then(e=>{if(e){if(gl(e,2))return v(bs({replace:s},p(e.to),{state:"object"==typeof e.to?bs({},r,e.to.state):r,force:i}),t||u)}else e=x(u,a,!0,s,r);return T(u,a,e),e})}function b(e,t){const n=f(e,t);return n?Promise.reject(n):Promise.resolve()}function _(e){const t=O.values().next().value;return t&&"function"==typeof t.runWithContext?t.runWithContext(e):e()}function w(e,t){let n;const[o,a,s]=function(e,t){const n=[],o=[],a=[],r=Math.max(t.matched.length,e.matched.length);for(let i=0;iUs(e,r))?o.push(r):n.push(r));const s=e.matched[i];s&&(t.matched.find(e=>Us(e,s))||a.push(s))}return[n,o,a]}(e,t);n=Wl(o.reverse(),"beforeRouteLeave",e,t);for(const r of o)r.leaveGuards.forEach(o=>{n.push(Fl(o,e,t))});const l=b.bind(null,e,t);return n.push(l),N(n).then(()=>{n=[];for(const o of r.list())n.push(Fl(o,e,t));return n.push(l),N(n)}).then(()=>{n=Wl(a,"beforeRouteUpdate",e,t);for(const o of a)o.updateGuards.forEach(o=>{n.push(Fl(o,e,t))});return n.push(l),N(n)}).then(()=>{n=[];for(const o of s)if(o.beforeEnter)if(Ts(o.beforeEnter))for(const a of o.beforeEnter)n.push(Fl(a,e,t));else n.push(Fl(o.beforeEnter,e,t));return n.push(l),N(n)}).then(()=>(e.matched.forEach(e=>e.enterCallbacks={}),n=Wl(s,"beforeRouteEnter",e,t,_),n.push(l),N(n))).then(()=>{n=[];for(const o of i.list())n.push(Fl(o,e,t));return n.push(l),N(n)}).catch(e=>gl(e,8)?e:Promise.reject(e))}function T(e,t,n){s.list().forEach(o=>_(()=>o(e,t,n)))}function x(e,t,n,o,r){const i=f(e,t);if(i)return i;const s=t===Gs,c=ys?history.state:{};n&&(o||s?a.replace(e.fullPath,bs({scroll:s&&c&&c.scroll},r)):a.push(e.fullPath,r)),l.value=e,E(e,t,n,s),R()}let S;function C(){S||(S=a.listen((e,t,n)=>{if(!B.listening)return;const o=m(e),r=y(o);if(r)return void v(bs(r,{replace:!0}),o).catch(ws);c=o;const i=l.value;ys&&function(e,t){il.set(e,t)}(rl(i.fullPath,n.delta),ol()),w(o,i).catch(e=>gl(e,12)?e:gl(e,2)?(v(e.to,o).then(e=>{gl(e,20)&&!n.delta&&n.type===Qs.pop&&a.go(-1,!1)}).catch(ws),Promise.reject()):(n.delta&&a.go(-n.delta,!1),I(e,o,i))).then(e=>{(e=e||x(o,i,!1))&&(n.delta&&!gl(e,8)?a.go(-n.delta,!1):n.type===Qs.pop&&gl(e,20)&&a.go(-1,!1)),T(o,i,e)}).catch(ws)}))}let k,M=zl(),A=zl();function I(e,t,n){R(e);const o=A.list();return o.length?o.forEach(o=>o(e,t,n)):console.error(e),Promise.reject(e)}function R(e){return k||(k=!e,C(),M.list().forEach(([t,n])=>e?n(e):t()),M.reset()),e}function E(t,n,o,a){const{scrollBehavior:r}=e;if(!ys||!r)return Promise.resolve();const i=!o&&function(e){const t=il.get(e);return il.delete(e),t}(rl(t.fullPath,0))||(a||!o)&&history.state&&history.state.scroll||null;return po().then(()=>r(t,n,i)).then(e=>e&&al(e)).catch(e=>I(e,t,n))}const P=e=>a.go(e);let L;const O=new Set,B={currentRoute:l,listening:!0,addRoute:function(e,n){let o,a;return ul(e)?(o=t.getRecordMatcher(e),a=n):a=e,t.addRoute(a,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:m,options:e,push:g,replace:function(e){return g(bs(p(e),{replace:!0}))},go:P,back:()=>P(-1),forward:()=>P(1),beforeEach:r.add,beforeResolve:i.add,afterEach:s.add,onError:A.add,isReady:function(){return k&&l.value!==Gs?Promise.resolve():new Promise((e,t)=>{M.add([e,t])})},install(e){e.component("RouterLink",Ul),e.component("RouterView",Ql),e.config.globalProperties.$router=this,Object.defineProperty(e.config.globalProperties,"$route",{enumerable:!0,get:()=>Yn(l)}),ys&&!L&&l.value===Gs&&(L=!0,g(a.location).catch(e=>{}));const t={};for(const o in Gs)Object.defineProperty(t,o,{get:()=>l.value[o],enumerable:!0});e.provide(Vl,this),e.provide($l,An(t)),e.provide(jl,l);const n=e.unmount;O.add(e),e.unmount=function(){O.delete(e),O.size<1&&(c=Gs,S&&S(),S=null,l.value=Gs,L=!1,k=!1),n()}}};function N(e){return e.reduce((e,t)=>e.then(()=>_(t)),Promise.resolve())}return B}function Xl(e){return lr($l)}const Kl=["{","}"];const ec=/^(?:\d)+/,tc=/^(?:\w)+/;const nc="zh-Hans",oc="zh-Hant",ac="en",rc="fr",ic="es",sc=Object.prototype.hasOwnProperty,lc=(e,t)=>sc.call(e,t),cc=new class{constructor(){this._caches=Object.create(null)}interpolate(e,t,n=Kl){if(!t)return[e];let o=this._caches[e];return o||(o=function(e,[t,n]){const o=[];let a=0,r="";for(;a-1?nc:e.indexOf("-hant")>-1?oc:(n=e,["-tw","-hk","-mo","-cht"].find(e=>-1!==n.indexOf(e))?oc:nc);var n;let o=[ac,rc,ic];t&&Object.keys(t).length>0&&(o=Object.keys(t));const a=function(e,t){return t.find(t=>0===e.indexOf(t))}(e,o);return a||void 0}class uc{constructor({locale:e,fallbackLocale:t,messages:n,watcher:o,formater:a}){this.locale=ac,this.fallbackLocale=ac,this.message={},this.messages={},this.watchers=[],t&&(this.fallbackLocale=t),this.formater=a||cc,this.messages=n||{},this.setLocale(e||ac),o&&this.watchLocale(o)}setLocale(e){const t=this.locale;this.locale=dc(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=>{lc(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=dc(t,this.messages))&&(o=this.messages[t]):n=t,lc(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 hc(e,t={},n,o){if("string"!=typeof e){const n=[t,e];e=n[0],t=n[1]}"string"!=typeof e&&(e="undefined"!=typeof uni&&em?em():"undefined"!=typeof global&&global.getLocale?global.getLocale():ac),"string"!=typeof n&&(n="undefined"!=typeof __uniConfig&&__uniConfig.fallbackLocale||ac);const a=new uc({locale:e,fallbackLocale:n,messages:t,watcher:o});let r=(e,t)=>{{let e=!1;r=function(t,n){const o=Iy().$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,a))),a.t(t,n)}}return r(e,t)};return{i18n:a,f:(e,t,n)=>a.f(e,t,n),t:(e,t)=>r(e,t),add:(e,t,n=!0)=>a.add(e,t,n),watch:e=>a.watchLocale(e),getLocale:()=>a.getLocale(),setLocale:e=>a.setLocale(e)}}function mc(e,t){return e.indexOf(t[0])>-1}const pc=Qe(()=>"undefined"!=typeof __uniConfig&&__uniConfig.locales&&!!Object.keys(__uniConfig.locales).length);let fc;function gc(e){return mc(e,oe)?bc().f(e,function(){const e=em(),t=__uniConfig.locales;return t[e]||t[__uniConfig.fallbackLocale]||t.en||{}}(),oe):e}function yc(e,t){if(1===t.length){if(e){const n=e=>b(e)&&mc(e,oe),o=t[0];let a=[];if(f(e)&&(a=e.filter(e=>n(e[o]))).length)return a;const r=e[t[0]];if(n(r))return e}return}const n=t.shift();return yc(e&&e[n],t)}function vc(e,t){const n=yc(e,t);if(!n)return!1;const o=t[t.length-1];if(f(n))n.forEach(e=>vc(e,[o]));else{let e=n[o];Object.defineProperty(n,o,{get:()=>gc(e),set(t){e=t}})}return!0}function bc(){if(!fc){let e;if(e=navigator.cookieEnabled&&window.localStorage&&localStorage.UNI_LOCALE||__uniConfig.locale||navigator.language,fc=hc(e),pc()){const t=Object.keys(__uniConfig.locales||{});t.length&&t.forEach(e=>fc.add(e,__uniConfig.locales[e])),fc.setLocale(e)}}return fc}function _c(e,t,n){return t.reduce((t,o,a)=>(t[e+o]=n[a],t),{})}const wc=Qe(()=>{const e="uni.async.",t=["error"];bc().add(ac,_c(e,t,["The connection timed out, click the screen to try again."]),!1),bc().add(ic,_c(e,t,["Se agotó el tiempo de conexión, haga clic en la pantalla para volver a intentarlo."]),!1),bc().add(rc,_c(e,t,["La connexion a expiré, cliquez sur l'écran pour réessayer."]),!1),bc().add(nc,_c(e,t,["连接服务器超时,点击屏幕重试"]),!1),bc().add(oc,_c(e,t,["連接服務器超時,點擊屏幕重試"]),!1)}),Tc=Qe(()=>{const e="uni.showToast.",t=["unpaired"];bc().add(ac,_c(e,t,["Please note showToast must be paired with hideToast"]),!1),bc().add(ic,_c(e,t,["Tenga en cuenta que showToast debe estar emparejado con hideToast"]),!1),bc().add(rc,_c(e,t,["Veuillez noter que showToast doit être associé à hideToast"]),!1),bc().add(nc,_c(e,t,["请注意 showToast 与 hideToast 必须配对使用"]),!1),bc().add(oc,_c(e,t,["請注意 showToast 與 hideToast 必須配對使用"]),!1)}),xc=Qe(()=>{const e="uni.showLoading.",t=["unpaired"];bc().add(ac,_c(e,t,["Please note showLoading must be paired with hideLoading"]),!1),bc().add(ic,_c(e,t,["Tenga en cuenta que showLoading debe estar emparejado con hideLoading"]),!1),bc().add(rc,_c(e,t,["Veuillez noter que showLoading doit être associé à hideLoading"]),!1),bc().add(nc,_c(e,t,["请注意 showLoading 与 hideLoading 必须配对使用"]),!1),bc().add(oc,_c(e,t,["請注意 showLoading 與 hideLoading 必須配對使用"]),!1)}),Sc=Qe(()=>{const e="uni.showModal.",t=["cancel","confirm"];bc().add(ac,_c(e,t,["Cancel","OK"]),!1),bc().add(ic,_c(e,t,["Cancelar","OK"]),!1),bc().add(rc,_c(e,t,["Annuler","OK"]),!1),bc().add(nc,_c(e,t,["取消","确定"]),!1),bc().add(oc,_c(e,t,["取消","確定"]),!1)}),Cc=Qe(()=>{const e="uni.chooseFile.",t=["notUserActivation"];bc().add(ac,_c(e,t,["File chooser dialog can only be shown with a user activation"]),!1),bc().add(ic,_c(e,t,["El cuadro de diálogo del selector de archivos solo se puede mostrar con la activación del usuario"]),!1),bc().add(rc,_c(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),bc().add(nc,_c(e,t,["文件选择器对话框只能在由用户激活时显示"]),!1),bc().add(oc,_c(e,t,["文件選擇器對話框只能在由用戶激活時顯示"]),!1)}),kc=Qe(()=>{const e="uni.setClipboardData.",t=["success","fail"];bc().add(ac,_c(e,t,["Content copied","Copy failed, please copy manually"]),!1),bc().add(ic,_c(e,t,["Contenido copiado","Error al copiar, copie manualmente"]),!1),bc().add(rc,_c(e,t,["Contenu copié","Échec de la copie, copiez manuellement"]),!1),bc().add(nc,_c(e,t,["内容已复制","复制失败,请手动复制"]),!1),bc().add(oc,_c(e,t,["內容已復制","復制失敗,請手動復製"]),!1)}),Mc=Qe(()=>{const e="uni.video.",t=["danmu","volume"];bc().add(ac,_c(e,t,["Danmu","Volume"]),!1),bc().add(ic,_c(e,t,["Danmu","Volumen"]),!1),bc().add(rc,_c(e,t,["Danmu","Le Volume"]),!1),bc().add(nc,_c(e,t,["弹幕","音量"]),!1),bc().add(oc,_c(e,t,["彈幕","音量"]),!1)});function Ac(e){const t=new pt;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,a=!1){t[a?"once":"on"](`${e}.${n}`,o)},unsubscribe(n,o){t.off(`${e}.${n}`,o)},subscribeHandler(n,o,a){t.emit(`${e}.${n}`,o,a)}}}const Ic="invokeViewApi",Rc="invokeServiceApi";let Ec=1;const Pc=Object.create(null);function Lc(e,t){return e+"."+t}function Oc(e,t,n){t=Lc(e,t),Pc[t]||(Pc[t]=n)}function Bc({id:e,name:t,args:n},o){t=Lc(o,t);const a=t=>{e&&Wb.publishHandler(Ic+"."+e,t)},r=Pc[t];r?r(n,a):a({})}const Nc=u(Ac("service"),{invokeServiceMethod:(e,t,n)=>{const{subscribe:o,publishHandler:a}=Wb,r=n?Ec++:0;n&&o(Rc+"."+r,n,!0),a(Rc,{id:r,name:e,args:t})}}),Dc=tt(!0);let Vc;function $c(){Vc&&(clearTimeout(Vc),Vc=null)}let jc=0,zc=0;function Fc(e){if($c(),1!==e.touches.length)return;const{pageX:t,pageY:n}=e.touches[0];jc=t,zc=n,Vc=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 Wc(e){if(!Vc)return;if(1!==e.touches.length)return $c();const{pageX:t,pageY:n}=e.touches[0];return Math.abs(t-jc)>10||Math.abs(n-zc)>10?$c():void 0}function Hc(e,t){const n=Number(e);return isNaN(n)?t:n}const Uc=()=>/^Apple/.test(navigator.vendor);function qc(){const e=__uniConfig.globalStyle||{},t=Hc(e.rpxCalcMaxDeviceWidth,960),n=Hc(e.rpxCalcBaseDeviceWidth,375);function o(){let e=function(){const e=Uc()&&"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 e?Math.min(window.innerWidth,document.documentElement.clientWidth,n)||n:Math.min(window.innerWidth,document.documentElement.clientWidth)}();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),Uc()&&window.addEventListener("orientationchange",()=>{o(),setTimeout(o,50)})}function Yc(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Zc,Gc,Qc=["top","left","right","bottom"],Jc={};function Xc(){return Gc="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 Kc(){if(Gc="string"==typeof Gc?Gc:Xc()){var e=[],t=!1;try{var n=Object.defineProperty({},"passive",{get:function(){t={passive:!0}}});window.addEventListener("test",null,n)}catch(VR){}var o=document.createElement("div");a(o,{position:"absolute",left:"0",top:"0",width:"0",height:"0",zIndex:"-1",overflow:"hidden",visibility:"hidden"}),Qc.forEach(function(e){i(o,e)}),document.body.appendChild(o),r(),Zc=!0}else Qc.forEach(function(e){Jc[e]=0});function a(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 i(e,n){var o=document.createElement("div"),i=document.createElement("div"),s=document.createElement("div"),l=document.createElement("div"),c={position:"absolute",width:"100px",height:"200px",boxSizing:"border-box",overflow:"hidden",paddingBottom:Gc+"(safe-area-inset-"+n+")"};a(o,c),a(i,c),a(s,{transition:"0s",animation:"none",width:"400px",height:"400px"}),a(l,{transition:"0s",animation:"none",width:"250%",height:"250%"}),o.appendChild(s),i.appendChild(l),e.appendChild(o),e.appendChild(i),r(function(){o.scrollTop=i.scrollTop=1e4;var e=o.scrollTop,a=i.scrollTop;function r(){this.scrollTop!==(this===o?e:a)&&(o.scrollTop=i.scrollTop=1e4,e=o.scrollTop,a=i.scrollTop,function(e){td.length||setTimeout(function(){var e={};td.forEach(function(t){e[t]=Jc[t]}),td.length=0,nd.forEach(function(t){t(e)})},0);td.push(e)}(n))}o.addEventListener("scroll",r,t),i.addEventListener("scroll",r,t)});var d=getComputedStyle(o);Object.defineProperty(Jc,n,{configurable:!0,get:function(){return parseFloat(d.paddingBottom)}})}}function ed(e){return Zc||Kc(),Jc[e]}var td=[];var nd=[];const od=Yc({get support(){return 0!=("string"==typeof Gc?Gc:Xc()).length},get top(){return ed("top")},get left(){return ed("left")},get right(){return ed("right")},get bottom(){return ed("bottom")},onChange:function(e){Xc()&&(Zc||Kc(),"function"==typeof e&&nd.push(e))},offChange:function(e){var t=nd.indexOf(e);t>=0&&nd.splice(t,1)}}),ad=ms(()=>{},["prevent"]),rd=ms(e=>{},["stop"]);function id(e,t){return parseInt((e.getPropertyValue(t).match(/\d+/)||["0"])[0])}function sd(){const e=id(document.documentElement.style,"--window-top");return e?e+od.top:0}function ld(){const e=document.documentElement.style,t=sd(),n=id(e,"--window-bottom"),o=id(e,"--window-left"),a=id(e,"--window-right"),r=id(e,"--top-window-height");return{top:t,bottom:n?n+od.bottom:0,left:o?o+od.left:0,right:a?a+od.right:0,topWindowHeight:r||0}}function cd(e){const t=document.documentElement.style;Object.keys(e).forEach(n=>{t.setProperty(n,e[n])})}function dd(e){return cd(e)}function ud(e){return Symbol(e)}function hd(e){return-1!==(e+="").indexOf("rpx")||-1!==e.indexOf("upx")}function md(e,t=!1){if(t)return function(e){if(!hd(e))return e;return e.replace(/(\d+(\.\d+)?)[ru]px/g,(e,t)=>gh(parseFloat(t))+"px")}(e);if(b(e)){const t=parseInt(e)||0;return hd(e)?gh(t):t}return e}function pd(e){return e.$page}function fd(e){return 0===e.tagName.indexOf("UNI-")}const gd="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",yd="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",vd="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 bd(e,t="#000",n=27){return Yr("svg",{width:n,height:n,viewBox:"0 0 32 32"},[Yr("path",{d:e,fill:t},null,8,["d","fill"])],8,["width","height"])}function _d(){{const{$pageInstance:e}=ri();return e&&Ad(e.proxy)}}function wd(e){const t=Fe(e);if(t.$page)return Ad(t);if(!t.$)return;{const{$pageInstance:e}=t.$;if(e)return Ad(e.proxy)}const n=t.$.root.proxy;return n&&n.$page?Ad(n):void 0}function Td(){const e=mp(),t=e.length;if(t)return e[t-1]}function xd(){var e;const t=null==(e=Td())?void 0:e.$page;if(t)return t.meta}function Sd(){const e=xd();return e?e.id:-1}function Cd(){const e=Td();if(e)return e.$vm}const kd=["navigationBar","pullToRefresh"];function Md(e,t){const n=JSON.parse(JSON.stringify(__uniConfig.globalStyle||{})),o=u({id:t},n,e);kd.forEach(t=>{o[t]=u({},n[t],e[t])});const{navigationBar:a}=o;return a.titleText&&a.titleImage&&(a.titleText=""),o}function Ad(e){var t,n;return(null==(t=e.$page)?void 0:t.id)||(null==(n=e.$basePage)?void 0:n.id)}function Id(e,t,n){if(b(e))n=t,t=e,e=Cd();else if("number"==typeof e){const t=mp().find(t=>pd(t).id===e);e=t?t.$vm:Cd()}if(!e)return;const o=e.$[t];return t===Te?o&&(a=o,r=n,a.map(e=>e(r))).some(e=>!0===e):o&&((e,t)=>{let n;for(let o=0;o{function i(){if((()=>{const{scrollHeight:e}=document.documentElement,t=window.innerHeight,o=window.scrollY,r=o>0&&e>t&&o+t+n>=e,i=Math.abs(e-Pd)>n;return!r||a&&!i?(!r&&a&&(a=!1),!1):(Pd=e,a=!0,!0)})())return t&&t(),r=!1,setTimeout(function(){r=!0},350),!0}e&&e(window.pageYOffset),t&&r&&(i()||(Ed=setTimeout(i,300))),o=!1};return function(){clearTimeout(Ed),o||requestAnimationFrame(i),o=!0}}function Od(e,t){if(0===t.indexOf("/"))return t;if(0===t.indexOf("./"))return Od(e,t.slice(2));const n=t.split("/"),o=n.length;let a=0;for(;a0?e.split("/"):[];return r.splice(r.length-a-1,a+1),Ze(r.concat(n).join("/"))}function Bd(e,t=!1){return t?__uniRoutes.find(t=>t.path===e||t.alias===e):__uniRoutes.find(t=>t.path===e)}function Nd(){qc(),Xe(fd),window.addEventListener("touchstart",Fc,Dc),window.addEventListener("touchmove",Wc,Dc),window.addEventListener("touchend",$c,Dc),window.addEventListener("touchcancel",$c,Dc)}class Dd{constructor(e){this.$bindClass=!1,this.$bindStyle=!1,this.$vm=e,this.$el=function(e,t=!1){const{vnode:n}=e;if(He(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&&He(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=zd(this.$el.querySelector(e));return t?Vd(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];v(n)?n(JSON.parse(JSON.stringify(t))):this.$vm.ownerId&&Wb.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 Vd(e,t=!0){if(t&&e&&(e=We(e.$)),e&&e.$el)return e.$el.__wxsComponentDescriptor||(e.$el.__wxsComponentDescriptor=new Dd(e)),e.$el.__wxsComponentDescriptor}function $d(e,t){return Vd(e,t)}function jd(e,t,n,o=!0){if(t){e.__instance||(e.__instance=!0,Object.defineProperty(e,"instance",{get:()=>$d(n.proxy,!1)}));const a=function(e,t,n=!0){if(!t)return!1;if(n&&e.length<2)return!1;const o=We(t);if(!o)return!1;const a=o.$.type;return!(!a.$wxs&&!a.$renderjs)&&o}(t,n,o);if(a)return[e,$d(a,!1)]}}function zd(e){if(e)return e.__vueParentComponent&&e.__vueParentComponent.proxy}function Fd(e,t=!1){const{type:n,timeStamp:o,target:a,currentTarget:r}=e;let i,s;i=nt(t?a:function(e){for(;!fd(e);)e=e.parentElement;return e}(a)),s=nt(r);const l={type:n,timeStamp:o,target:i,detail:{},currentTarget:s};return e instanceof CustomEvent&&C(e.detail)&&(l.detail=e.detail),e._stopped&&(l._stopped=!0),e.type.startsWith("touch")&&(l.touches=e.touches,l.changedTouches=e.changedTouches),function(e,t){u(e,{preventDefault:()=>t.preventDefault(),stopPropagation:()=>t.stopPropagation()})}(l,e),l}function Wd(e,t){return{force:1,identifier:0,clientX:e.clientX,clientY:e.clientY-t,pageX:e.pageX,pageY:e.pageY-t}}function Hd(e,t){const n=[];for(let o=0;o0===e.type.indexOf("mouse")||["contextmenu"].includes(e.type))(e))!function(e,t){const n=sd();e.pageX=t.pageX,e.pageY=t.pageY-n,e.clientX=t.clientX,e.clientY=t.clientY-n,e.touches=e.changedTouches=[Wd(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=sd();r.touches=Hd(e.touches,t),r.changedTouches=Hd(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 jd(r,t,n)||[r]},createNativeEvent:Fd},Symbol.toStringTag,{value:"Module"});function qd(e){!function(e){const t=e.globalProperties;u(t,Ud),t.$gcd=$d}(e._context.config)}let Yd=1;function Zd(e){return(e||Sd())+"."+Ic}const Gd=u(Ac("view"),{invokeOnCallback:(e,t)=>Hb.emit("api."+e,t),invokeViewMethod:(e,t,n,o)=>{const{subscribe:a,publishHandler:r}=Hb,i=o?Yd++:0;o&&a(Ic+"."+i,o,!0),r(Zd(n),{id:i,name:e,args:t},n)},invokeViewMethodKeepAlive:(e,t,n,o)=>{const{subscribe:a,unsubscribe:r,publishHandler:i}=Hb,s=Yd++,l=Ic+"."+s;return a(l,n),i(Zd(o),{id:s,name:e,args:t},o),()=>{r(l)}}});function Qd(e){Id(Td(),we,e),Hb.invokeOnCallback("onWindowResize",e)}function Jd(e){const t=Td();Id(Iy(),se,e),Id(t,se)}function Xd(){Id(Iy(),le),Id(Td(),le)}const Kd=[xe,Ce];function eu(){Kd.forEach(e=>Hb.subscribe(e,function(e){return(t,n)=>{Id(parseInt(n),e,t)}}(e)))}function tu(){!function(){const{on:e}=Hb;e(we,Qd),e(De,Jd),e(Ve,Xd)}(),eu()}function nu(){if(this.$route){const e=this.$route.meta;return e.eventChannel||(e.eventChannel=new lt(this.$page.id)),e.eventChannel}}function ou(e){e._context.config.globalProperties.getOpenerEventChannel=nu}function au(){return{path:"",query:{},scene:1001,referrerInfo:{appId:"",extraData:{}}}}function ru(e){return/^-?\d+[ur]px$/i.test(e)?e.replace(/(^-?\d+)[ur]px$/i,(e,t)=>`${gh(parseFloat(t))}px`):/^-?[\d\.]+$/.test(e)?`${e}px`:e||""}function iu(e){const t=e.animation;if(!t||!t.actions||!t.actions.length)return;let n=0;const o=t.actions,a=t.actions.length;function r(){const t=o[n],i=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"],a=["width","height","left","right","top","bottom"],r=e.animates,i=e.option,s=i.transition,l={},c=[];return r.forEach(e=>{let r=e.type,i=[...e.args];if(t.concat(n).includes(r))r.startsWith("rotate")||r.startsWith("skew")?i=i.map(e=>parseFloat(e)+"deg"):r.startsWith("translate")&&(i=i.map(ru)),n.indexOf(r)>=0&&(i.length=1),c.push(`${r}(${i.join(",")})`);else if(o.concat(a).includes(i[0])){r=i[0];const e=i[1];l[r]=a.includes(r)?ru(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=i.transformOrigin,l}(t);Object.keys(s).forEach(t=>{e.$el.style[t]=s[t]}),n+=1,n{r()},0)}const su={props:["animation"],watch:{animation:{deep:!0,handler(){iu(this)}}},mounted(){iu(this)}},lu=e=>{e.__reserved=!0;const{props:t,mixins:n}=e;return t&&t.animation||(n||(e.mixins=[])).push(su),cu(e)},cu=e=>(e.__reserved=!0,e.compatConfig={MODE:3},la(e));function du(e){return e.__wwe=!0,e}function uu(e,t){return(n,o,a)=>{e.value&&t(n,function(e,t,n,o){let a;return a=nt(n),{type:t.__evName||o.type||e,timeStamp:t.timeStamp||0,target:a,currentTarget:a,detail:o}}(n,o,e.value,a||{}))}}const hu={hoverClass:{type:String,default:"none"},hoverStopPropagation:{type:Boolean,default:!1},hoverStartTime:{type:[Number,String],default:50},hoverStayTime:{type:[Number,String],default:400}};function mu(e){const t=Wn(!1);let n,o,a=!1;function r(){requestAnimationFrame(()=>{clearTimeout(o),o=setTimeout(()=>{t.value=!1},parseInt(e.hoverStayTime))})}function i(o){o._hoverPropagationStopped||e.hoverClass&&"none"!==e.hoverClass&&!e.disabled&&(e.hoverStopPropagation&&(o._hoverPropagationStopped=!0),a=!0,n=setTimeout(()=>{t.value=!0,a||r()},parseInt(e.hoverStartTime)))}function s(){a=!1,t.value&&r()}function l(){s(),window.removeEventListener("mouseup",l)}return{hovering:t,binding:{onTouchstartPassive:du(function(e){e.touches.length>1||i(e)}),onMousedown:du(function(e){a||(i(e),window.addEventListener("mouseup",l))}),onTouchend:du(function(){s()}),onMouseup:du(function(){a&&l()}),onTouchcancel:du(function(){a=!1,t.value=!1,clearTimeout(n)})}}}function pu(e,t){return b(t)&&(t=[t]),t.reduce((t,n)=>(e[n]&&(t[n]=!0),t),Object.create(null))}const fu=ud("uf"),gu=lu({name:"Form",emits:["submit","reset"],setup(e,{slots:t,emit:n}){const o=Wn(null);return function(e){const t=[];sr(fu,{addField(e){t.push(e)},removeField(e){t.splice(t.indexOf(e),1)},submit(n){e("submit",n,{value:t.reduce((e,t)=>{if(t.submit){const[n,o]=t.submit();n&&(e[n]=o)}return e},Object.create(null))})},reset(n){t.forEach(e=>e.reset&&e.reset()),e("reset",n)}})}(uu(o,n)),()=>Yr("uni-form",{ref:o},[Yr("span",null,[t.default&&t.default()])],512)}});const yu=ud("ul");function vu(e,t){bu(e.id,t),Ho(()=>e.id,(e,n)=>{_u(n,t,!0),bu(e,t,!0)}),Pa(()=>{_u(e.id,t)})}function bu(e,t,n){const o=_d();n&&!e||C(t)&&Object.keys(t).forEach(a=>{n?0!==a.indexOf("@")&&0!==a.indexOf("uni-")&&Wb.on(`uni-${a}-${o}-${e}`,t[a]):0===a.indexOf("uni-")?Wb.on(a,t[a]):e&&Wb.on(`uni-${a}-${o}-${e}`,t[a])})}function _u(e,t,n){const o=_d();n&&!e||C(t)&&Object.keys(t).forEach(a=>{n?0!==a.indexOf("@")&&0!==a.indexOf("uni-")&&Wb.off(`uni-${a}-${o}-${e}`,t[a]):0===a.indexOf("uni-")?Wb.off(a,t[a]):e&&Wb.off(`uni-${a}-${o}-${e}`,t[a])})}const wu=lu({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=Wn(null),o=lr(fu,!1),{hovering:a,binding:r}=mu(e),i=du((t,a)=>{if(e.disabled)return t.stopImmediatePropagation();a&&n.value.click();const r=e.formType;if(r){if(!o)return;"submit"===r?o.submit(t):"reset"===r&&o.reset(t)}else;}),s=lr(yu,!1);return s&&(s.addHandler(i),Ea(()=>{s.removeHandler(i)})),vu(e,{"label-click":i}),()=>{const o=e.hoverClass,s=pu(e,"disabled"),l=pu(e,"loading"),c=pu(e,"plain"),d=o&&"none"!==o;return Yr("uni-button",ei({ref:n,onClick:i,id:e.id,class:d&&a.value?o:""},d&&r,s,l,c),[t.default&&t.default()],16,["onClick","id"])}}}),Tu=ud("upm");function xu(){return lr(Tu)}function Su(e){const t=function(e){return Mn(function(e){{const{navigationBar:t}=e,{titleSize:n,titleColor:o,backgroundColor:a}=t;t.titleText=t.titleText||"",t.type=t.type||"default",t.titleSize=n||"16px",t.titleColor=o||"#000000",t.backgroundColor=a||"#F8F8F8"}if(history.state){const t=history.state.__type__;"redirectTo"!==t&&"reLaunch"!==t||0!==mp().length||(e.isEntry=!0,e.isQuit=!0)}return e}(JSON.parse(JSON.stringify(Md(Xl().meta,e)))))}(e);return sr(Tu,t),t}function Cu(){return Xl()}function ku(){return history.state&&history.state.__id__||1}const Mu=["original","compressed"],Au=["album","camera"],Iu=["GET","OPTIONS","HEAD","POST","PUT","DELETE","TRACE","CONNECT","PATCH"];function Ru(e,t){return e&&-1!==t.indexOf(e)?e:t[0]}function Eu(e,t){return!f(e)||0===e.length||e.find(e=>-1===t.indexOf(e))?t:e}function Pu(e){return function(){try{return e.apply(e,arguments)}catch(VR){console.error(VR)}}}let Lu=1;const Ou={};function Bu(e,t,n,o=!1){return Ou[e]={name:t,keepAlive:o,callback:n},e}function Nu(e,t,n){if("number"==typeof e){const o=Ou[e];if(o)return o.keepAlive||delete Ou[e],o.callback(t,n)}return t}const Du="success",Vu="fail",$u="complete";function ju(e,t={},{beforeAll:n,beforeSuccess:o}={}){C(t)||(t={});const{success:a,fail:r,complete:i}=function(e){const t={};for(const n in e){const o=e[n];v(o)&&(t[n]=Pu(o),delete e[n])}return t}(t),s=v(a),l=v(r),c=v(i),d=Lu++;return Bu(d,e,d=>{(d=d||{}).errMsg=function(e,t){return e&&-1!==e.indexOf(":fail")?t+e.substring(e.indexOf(":fail")):t+":ok"}(d.errMsg,e),v(n)&&n(d),d.errMsg===e+":ok"?(v(o)&&o(d,t),s&&a(d)):l&&r(d),c&&i(d)}),d}const zu="success",Fu="fail",Wu="complete",Hu={},Uu={};function qu(e,t){return function(n){return e(n,t)||n}}function Yu(e,t,n){let o=!1;for(let a=0;ae(t),catch(){}}}function Zu(e,t={}){return[zu,Fu,Wu].forEach(n=>{const o=e[n];if(!f(o))return;const a=t[n];t[n]=function(e){Yu(o,e,t).then(e=>v(a)&&a(e)||e)}}),t}function Gu(e,t){const n=[];f(Hu.returnValue)&&n.push(...Hu.returnValue);const o=Uu[e];return o&&f(o.returnValue)&&n.push(...o.returnValue),n.forEach(e=>{t=e(t)||t}),t}function Qu(e){const t=Object.create(null);Object.keys(Hu).forEach(e=>{"returnValue"!==e&&(t[e]=Hu[e].slice())});const n=Uu[e];return n&&Object.keys(n).forEach(e=>{"returnValue"!==e&&(t[e]=(t[e]||[]).concat(n[e]))}),t}function Ju(e,t,n,o){const a=Qu(e);if(a&&Object.keys(a).length){if(f(a.invoke)){return Yu(a.invoke,n).then(n=>t(Zu(Qu(e),n),...o))}return t(Zu(a,n),...o)}return t(n,...o)}function Xu(e,t){return(n={},...o)=>function(e){return!(!C(e)||![Du,Vu,$u].find(t=>v(e[t])))}(n)?Gu(e,Ju(e,t,u({},n),o)):Gu(e,new Promise((a,r)=>{Ju(e,t,u({},n,{success:a,fail:r}),o)}))}function Ku(e,t,n,o={}){const a=t+":fail";let r="";return r=n?0===n.indexOf(a)?n:a+" "+n:a,delete o.errCode,Nu(e,u({errMsg:r},o))}function eh(e,t,n,o){if(o&&o.beforeInvoke){const e=o.beforeInvoke(t);if(b(e))return e}const a=function(e,t){const n=e[0];if(!t||!t.formatArgs||!C(t.formatArgs)&&C(n))return;const o=t.formatArgs,a=Object.keys(o);for(let r=0;r{!function(e){if(!v(e))throw new Error('Invalid args: type check failed for args "callback". Expected Function')}(o);const a=eh(0,[o],0,n);if(a)throw new Error(a);const r=!function(e){for(const t in Ou)if(Ou[t].name===e)return!0;return!1}(e);!function(e,t){Bu(Lu++,e,t,!0)}(e,o),r&&(!function(e){Hb.on("api."+e,t=>{for(const n in Ou){const o=Ou[n];o.name===e&&o.callback(t)}})}(e),t())}}function nh(e,t,n,o){return n=>{const a=ju(e,n,o),r=eh(0,[n],0,o);return r?Ku(a,e,r):t(n,{resolve:t=>function(e,t,n){return Nu(e,u(n||{},{errMsg:t+":ok"}))}(a,e,t),reject:(t,n)=>Ku(a,e,function(e){return!e||b(e)?e:e.stack?("undefined"!=typeof globalThis&&globalThis.harmonyChannel||console.error(e.message+"\n"+e.stack),e.message):e}(t),n)})}}function oh(e,t,n){return th(e,t,n)}function ah(e,t,n,o){return Xu(e,nh(e,t,0,o))}function rh(e,t,n,o){return function(e,t,n,o){return(...e)=>{const n=eh(0,e,0,o);if(n)throw new Error(n);return t.apply(null,e)}}(0,t,0,o)}function ih(e,t,n,o){return Xu(e,function(e,t,n,o){return nh(e,t,0,o)}(e,t,0,o))}function sh(e){return(t,{reject:n})=>n(function(e){return`method 'uni.${e}' not supported`}(e))}let lh=!1,ch=0,dh=0,uh=960,hh=375,mh=750;function ph(){let e,t,n;{const{windowWidth:o,pixelRatio:a,platform:r}=function(){const e=Fp();return{platform:Lp?"ios":"other",pixelRatio:window.devicePixelRatio,windowWidth:e}}();e=o,t=a,n=r}ch=e,dh=t,lh="ios"===n}function fh(e,t){const n=Number(e);return isNaN(n)?t:n}const gh=rh(0,(e,t)=>{if(0===ch&&(ph(),function(){const e=__uniConfig.globalStyle||{};uh=fh(e.rpxCalcMaxDeviceWidth,960),hh=fh(e.rpxCalcBaseDeviceWidth,375),mh=fh(e.rpxCalcBaseDeviceWidth,750)}()),0===(e=Number(e)))return 0;let n=t||ch;n=e===mh||n<=uh?n:hh;let o=e/750*n;return o<0&&(o=-o),o=Math.floor(o+1e-4),0===o&&(o=1!==dh&&lh?.5:1),e<0?-o:o});const yh=new class{constructor(){this.$emitter=new pt}on(e,t){return this.$emitter.on(e,t)}once(e,t){return this.$emitter.once(e,t)}off(e,t){e?this.$emitter.off(e,t):this.$emitter.e={}}emit(e,...t){this.$emitter.emit(e,...t)}},vh=rh(0,(e,t)=>(yh.on(e,t),()=>yh.off(e,t))),bh=rh(0,(e,t)=>{f(e)||(e=e?[e]:[]),e.forEach(e=>{yh.off(e,t)})}),_h=rh(0,(e,...t)=>{yh.emit(e,...t)}),wh=[.5,.8,1,1.25,1.5,2];class Th{constructor(e,t){this.id=e,this.pageId=t}play(){Wp(this.id,this.pageId,"play")}pause(){Wp(this.id,this.pageId,"pause")}stop(){Wp(this.id,this.pageId,"stop")}seek(e){Wp(this.id,this.pageId,"seek",{position:e})}sendDanmu(e){Wp(this.id,this.pageId,"sendDanmu",e)}playbackRate(e){~wh.indexOf(e)||(e=1),Wp(this.id,this.pageId,"playbackRate",{rate:e})}requestFullScreen(e={}){Wp(this.id,this.pageId,"requestFullScreen",e)}exitFullScreen(){Wp(this.id,this.pageId,"exitFullScreen")}showStatusBar(){Wp(this.id,this.pageId,"showStatusBar")}hideStatusBar(){Wp(this.id,this.pageId,"hideStatusBar")}}const xh=rh(0,(e,t)=>new Th(e,wd(t||Cd()))),Sh=(e,t,n,o)=>{!function(e,t,n,o,a){Hb.invokeViewMethod("map."+e,{type:n,data:o},t,a)}(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 Ch(e,t){return function(n,o){n?o[e]=Math.round(n):void 0!==t&&(o[e]=t)}}const kh=Ch("width"),Mh=Ch("height"),Ah={formatArgs:{x:Ch("x"),y:Ch("y"),width:kh,height:Mh}},Ih={PNG:"png",JPG:"jpg",JPEG:"jpg"},Rh={formatArgs:{x:Ch("x",0),y:Ch("y",0),width:kh,height:Mh,destWidth:Ch("destWidth"),destHeight:Ch("destHeight"),fileType(e,t){e=(e||"").toUpperCase();let n=Ih[e];n||(n=Ih.PNG),t.fileType=n},quality(e,t){t.quality=e&&e>0&&e<1?e:1}}};function Eh(e,t,n,o,a){Hb.invokeViewMethod(`canvas.${e}`,{type:n,data:o},t,e=>{a&&a(e)})}var Ph=["scale","rotate","translate","setTransform","transform"],Lh=["drawImage","fillText","fill","stroke","fillRect","strokeRect","clearRect","strokeText"],Oh=["setFillStyle","setTextAlign","setStrokeStyle","setGlobalAlpha","setShadow","setFontSize","setLineCap","setLineJoin","setLineWidth","setMiterLimit","setTextBaseline","setLineDash"];const Bh={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 Nh(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(Bh,n)){t=/^#([0-9|A-F|a-f]{6,8})$/.exec(Bh[n]);const e=parseInt(t[1].slice(0,2),16),o=parseInt(t[1].slice(2,4),16),a=parseInt(t[1].slice(4,6),16);let r=parseInt(t[1].slice(6,8),16);return r=r>=0?r:255,[e,o,a,r]}return console.error("unsupported color:"+e),[0,0,0,255]}class Dh{constructor(e,t){this.type=e,this.data=t,this.colorStop=[]}addColorStop(e,t){this.colorStop.push([e,Nh(t)])}}class Vh{constructor(e,t){this.type="pattern",this.data=e,this.colorStop=t}}class $h{constructor(e){this.width=e}}class jh{constructor(e,t){this.id=e,this.pageId=t,this.actions=[],this.path=[],this.subpath=[],this.drawingState=[],this.state={lineDash:[0,0],shadowOffsetX:0,shadowOffsetY:0,shadowBlur:0,shadowColor:[0,0,0,0],font:"10px sans-serif",fontSize:10,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif"}}setFillStyle(e){console.log("initCanvasContextProperty implemented.")}setStrokeStyle(e){console.log("initCanvasContextProperty implemented.")}setShadow(e,t,n,o){console.log("initCanvasContextProperty implemented.")}addColorStop(e,t){console.log("initCanvasContextProperty implemented.")}setLineWidth(e){console.log("initCanvasContextProperty implemented.")}setLineCap(e){console.log("initCanvasContextProperty implemented.")}setLineJoin(e){console.log("initCanvasContextProperty implemented.")}setLineDash(e,t){console.log("initCanvasContextProperty implemented.")}setMiterLimit(e){console.log("initCanvasContextProperty implemented.")}fillRect(e,t,n,o){console.log("initCanvasContextProperty implemented.")}strokeRect(e,t,n,o){console.log("initCanvasContextProperty implemented.")}clearRect(e,t,n,o){console.log("initCanvasContextProperty implemented.")}fill(){console.log("initCanvasContextProperty implemented.")}stroke(){console.log("initCanvasContextProperty implemented.")}scale(e,t){console.log("initCanvasContextProperty implemented.")}rotate(e){console.log("initCanvasContextProperty implemented.")}translate(e,t){console.log("initCanvasContextProperty implemented.")}setFontSize(e){console.log("initCanvasContextProperty implemented.")}fillText(e,t,n,o){console.log("initCanvasContextProperty implemented.")}setTextAlign(e){console.log("initCanvasContextProperty implemented.")}setTextBaseline(e){console.log("initCanvasContextProperty implemented.")}drawImage(e,t,n,o,a,r,i,s,l){console.log("initCanvasContextProperty implemented.")}setGlobalAlpha(e){console.log("initCanvasContextProperty implemented.")}strokeText(e,t,n,o){console.log("initCanvasContextProperty implemented.")}setTransform(e,t,n,o,a,r){console.log("initCanvasContextProperty implemented.")}draw(e=!1,t){var n=[...this.actions];this.actions=[],this.path=[],Eh(this.id,this.pageId,"actionsChanged",{actions:n,reserve:e},t)}createLinearGradient(e,t,n,o){return new Dh("linear",[e,t,n,o])}createCircularGradient(e,t,n){return new Dh("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 Vh(e,t);console.error("Failed to execute 'createPattern' on 'CanvasContext': The provided type ('"+t+"') is not one of 'repeat', 'no-repeat', 'repeat-x', or 'repeat-y'.")}}measureText(e,t){let n=0;return n=function(e,t){const n=document.createElement("canvas").getContext("2d");return n.font=t,n.measureText(e).width||0}(e,this.state.font),new $h(n)}save(){this.actions.push({method:"save",data:[]}),this.drawingState.push(this.state)}restore(){this.actions.push({method:"restore",data:[]}),this.state=this.drawingState.pop()||{lineDash:[0,0],shadowOffsetX:0,shadowOffsetY:0,shadowBlur:0,shadowColor:[0,0,0,0],font:"10px sans-serif",fontSize:10,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif"}}beginPath(){this.path=[],this.subpath=[],this.path.push({method:"beginPath",data:[]})}moveTo(e,t){this.path.push({method:"moveTo",data:[e,t]}),this.subpath=[[e,t]]}lineTo(e,t){0===this.path.length&&0===this.subpath.length?this.path.push({method:"moveTo",data:[e,t]}):this.path.push({method:"lineTo",data:[e,t]}),this.subpath.push([e,t])}quadraticCurveTo(e,t,n,o){this.path.push({method:"quadraticCurveTo",data:[e,t,n,o]}),this.subpath.push([n,o])}bezierCurveTo(e,t,n,o,a,r){this.path.push({method:"bezierCurveTo",data:[e,t,n,o,a,r]}),this.subpath.push([a,r])}arc(e,t,n,o,a,r=!1){this.path.push({method:"arc",data:[e,t,n,o,a,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,a){this.path.push({method:"arcTo",data:[e,t,n,o,a]}),this.subpath.push([n,o])}clip(){this.actions.push({method:"clip",data:[...this.path]})}closePath(){this.path.push({method:"closePath",data:[]}),this.subpath.length&&(this.subpath=[this.subpath.shift()])}clearActions(){this.actions=[],this.path=[],this.subpath=[]}getActions(){var e=[...this.actions];return this.clearActions(),e}set lineDashOffset(e){this.actions.push({method:"setLineDashOffset",data:[e]})}set globalCompositeOperation(e){this.actions.push({method:"setGlobalCompositeOperation",data:[e]})}set shadowBlur(e){this.actions.push({method:"setShadowBlur",data:[e]})}set shadowColor(e){this.actions.push({method:"setShadowColor",data:[e]})}set shadowOffsetX(e){this.actions.push({method:"setShadowOffsetX",data:[e]})}set shadowOffsetY(e){this.actions.push({method:"setShadowOffsetY",data:[e]})}set font(e){var t=this;this.state.font=e;var n=e.match(/^(([\w\-]+\s)*)(\d+\.?\d*r?px)(\/(\d+\.?\d*(r?px)?))?\s+(.*)/);if(n){var o=n[1].trim().split(/\s/),a=parseFloat(n[3]),r=n[7],i=[];o.forEach(function(e,n){["italic","oblique","normal"].indexOf(e)>-1?(i.push({method:"setFontStyle",data:[e]}),t.state.fontStyle=e):["bold","normal","lighter","bolder"].indexOf(e)>-1||/^\d+$/.test(e)?(i.push({method:"setFontWeight",data:[e]}),t.state.fontWeight=e):0===n?(i.push({method:"setFontStyle",data:["normal"]}),t.state.fontStyle="normal"):1===n&&s()}),1===o.length&&s(),o=i.map(function(e){return e.data[0]}).join(" "),this.state.fontSize=a,this.state.fontFamily=r,this.actions.push({method:"setFont",data:[`${o} ${a}px ${r}`]})}else console.warn("Failed to set 'font' on 'CanvasContext': invalid format.");function s(){i.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 zh=Qe(()=>{[...Ph,...Lh].forEach(function(e){jh.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,a){var r=[t.toString(),n,o];"number"==typeof a&&r.push(a),this.actions.push({method:e,data:r})};case"drawImage":return function(t,n,o,a,r,i,s,l,c){var d;function u(e){return"number"==typeof e}void 0===c&&(i=n,s=o,l=a,c=r,n=void 0,o=void 0,a=void 0,r=void 0),d=u(n)&&u(o)&&u(a)&&u(r)?[t,i,s,l,c,n,o,a,r]:u(l)&&u(c)?[t,i,s,l,c]:[t,i,s],this.actions.push({method:e,data:d})};default:return function(...t){this.actions.push({method:e,data:t})}}}(e)}),Oh.forEach(function(e){jh.prototype[e]=function(e){switch(e){case"setFillStyle":case"setStrokeStyle":return function(t){"object"!=typeof t?this.actions.push({method:e,data:["normal",Nh(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,a){a=Nh(a),this.actions.push({method:e,data:[t,n,o,a]}),this.state.shadowBlur=o,this.state.shadowColor=a,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)})}),Fh=rh(0,(e,t)=>{if(zh(),t)return new jh(e,wd(t));const n=wd(Cd());if(n)return new jh(e,n);Hb.emit(de,"createCanvasContext:fail")}),Wh=ih("canvasGetImageData",({canvasId:e,x:t,y:n,width:o,height:a},{resolve:r,reject:i})=>{const s=wd(Cd());s?Eh(e,s,"getImageData",{x:t,y:n,width:o,height:a},function(e){if(e.errMsg&&-1!==e.errMsg.indexOf("fail"))return void i("",e);let t=e.data;t&&t.length&&(e.data=new Uint8ClampedArray(t)),delete e.compressed,r(e)}):i()},0,Ah),Hh=ih("canvasToTempFilePath",({x:e=0,y:t=0,width:n,height:o,destWidth:a,destHeight:r,canvasId:i,fileType:s,quality:l},{resolve:c,reject:d})=>{var u=wd(Cd());if(!u)return void d();Eh(i,u,"toTempFilePath",{x:e,y:t,width:n,height:o,destWidth:a,destHeight:r,fileType:s,quality:l,dirname:"/canvas"},e=>{e.errMsg&&-1!==e.errMsg.indexOf("fail")?d("",e):c(e)})},0,Rh);let Uh=0,qh={};function Yh(e,t,n,o){const a={options:o},r=o&&("success"in o||"fail"in o||"complete"in o);if(r){const e=String(Uh++);a.callbackId=e,qh[e]=o}Hb.invokeViewMethod(`editor.${e}`,{type:n,data:a},t,({callbackId:e,data:t})=>{r&&(!function(e,t){e=e||{},b(t)&&(t={errMsg:t}),/:ok$/.test(t.errMsg)?v(e.success)&&e.success(t):v(e.fail)&&e.fail(t),v(e.complete)&&e.complete(t)}(qh[e],t),delete qh[e])})}const Zh={canvas:jh,map:class{constructor(e,t){this.id=e,this.pageId=t}getCenterLocation(e){Sh(this.id,this.pageId,"getCenterLocation",e)}moveToLocation(e){Sh(this.id,this.pageId,"moveToLocation",e)}getScale(e){Sh(this.id,this.pageId,"getScale",e)}getRegion(e){Sh(this.id,this.pageId,"getRegion",e)}includePoints(e){Sh(this.id,this.pageId,"includePoints",e)}translateMarker(e){Sh(this.id,this.pageId,"translateMarker",e)}$getAppMap(){}addCustomLayer(e){Sh(this.id,this.pageId,"addCustomLayer",e)}removeCustomLayer(e){Sh(this.id,this.pageId,"removeCustomLayer",e)}addGroundOverlay(e){Sh(this.id,this.pageId,"addGroundOverlay",e)}removeGroundOverlay(e){Sh(this.id,this.pageId,"removeGroundOverlay",e)}updateGroundOverlay(e){Sh(this.id,this.pageId,"updateGroundOverlay",e)}initMarkerCluster(e){Sh(this.id,this.pageId,"initMarkerCluster",e)}addMarkers(e){Sh(this.id,this.pageId,"addMarkers",e)}removeMarkers(e){Sh(this.id,this.pageId,"removeMarkers",e)}moveAlong(e){Sh(this.id,this.pageId,"moveAlong",e)}setLocMarkerIcon(e){Sh(this.id,this.pageId,"setLocMarkerIcon",e)}openMapApp(e){Sh(this.id,this.pageId,"openMapApp",e)}on(e,t){Sh(this.id,this.pageId,"on",{name:e,callback:t})}},video:Th,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){Yh(this.id,this.pageId,e,t)}}};function Gh(e){if(e&&e.contextInfo){const{id:t,type:n,page:o}=e.contextInfo,a=Zh[n];e.context=new a(t,o),delete e.contextInfo}}class Qh{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 Jh{constructor(e){this._component=void 0,this._page=e,this._queue=[],this._queueCb=[]}exec(e){return function(e,t,n){const o=[];t.forEach(({component:t,selector:n,single:a,fields:r})=>{null===t?o.push(function(e){const t={};e.id&&(t.id="");e.dataset&&(t.dataset={});e.rect&&(t.left=0,t.right=0,t.top=0,t.bottom=0);e.size&&(t.width=document.documentElement.clientWidth,t.height=document.documentElement.clientHeight);if(e.scrollOffset){const e=document.documentElement,n=document.body;t.scrollLeft=e.scrollLeft||n.scrollLeft||0,t.scrollTop=e.scrollTop||n.scrollTop||0,t.scrollHeight=e.scrollHeight||n.scrollHeight||0,t.scrollWidth=e.scrollWidth||n.scrollWidth||0}return t}(r)):o.push(function(e,t,n,o,a){const r=function(e,t){if(!e)return t.$el;return e.$el}(t,e),i=r.parentElement;if(!i)return o?null:[];const{nodeType:s}=r,l=3===s||8===s;if(o){const e=l?i.querySelector(n):Up(r,n)?r:r.querySelector(n);return e?Hp(e,a):null}{let e=[];const t=(l?i:r).querySelectorAll(n);return t&&t.length&&[].forEach.call(t,t=>{e.push(Hp(t,a))}),!l&&Up(r,n)&&e.unshift(Hp(r,a)),e}}(e,t,n,a,r))}),n(o)}(this._page,this._queue,t=>{const n=this._queueCb;t.forEach((e,t)=>{f(e)?e.forEach(Gh):Gh(e);const o=n[t];v(o)&&o.call(this,e)}),v(e)&&e.call(this,t)}),this._nodesRef}in(e){return this._component=Fe(e),this}select(e){return this._nodesRef=new Qh(this,this._component,e,!0)}selectAll(e){return this._nodesRef=new Qh(this,this._component,e,!1)}selectViewport(){return this._nodesRef=new Qh(this,null,"",!0)}_push(e,t,n,o,a){this._queue.push({component:t,selector:e,single:n,fields:o}),this._queueCb.push(a)}}const Xh=rh(0,e=>((e=Fe(e))&&!wd(e)&&(e=null),new Jh(e||Cd()))),Kh=oh("onWindowResize",()=>{}),em=rh(0,()=>{const e=Iy();return e&&e.$vm?e.$vm.$locale:bc().getLocale()}),tm=ih("setPageMeta",(e,{resolve:t})=>{t(function(e,{pageStyle:t,rootFontSize:n}){if(t){(document.querySelector("uni-page-body")||document.body).setAttribute("style",t)}n&&document.documentElement.style.fontSize!==n&&(document.documentElement.style.fontSize=n)}(Cd(),e))}),nm={[me]:[],[he]:[],[de]:[],[se]:[],[le]:[]};const om=rh(0,()=>u({},Qp)),am={formatArgs:{showToast:!0},beforeInvoke(){kc()},beforeSuccess(e,t){if(!t.showToast)return;const{t:n}=bc(),o=n("uni.setClipboardData.success");o&&mb({title:o,icon:"success",mask:!1})}},rm={formatArgs:{count(e,t){(!e||e<=0)&&(t.count=9)},sizeType(e,t){t.sizeType=Eu(e,Mu)},sourceType(e,t){t.sourceType=Eu(e,Au)},extension(e,t){if(e instanceof Array&&0===e.length)return"param extension should not be empty.";e||(t.extension=["*"])}}},im={formatArgs:{src(e,t){t.src=Rp(e)}}},sm={formatArgs:{urls(e,t){t.urls=e.map(e=>b(e)&&e?Rp(e):"")},current(e,t){"number"==typeof e?t.current=e>0&&ee),i={};r.forEach(e=>{const t=e.split("=");i[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)),i[dm(s)]=dm(e)}return a=Object.keys(i).map(e=>`${e}=${i[e]}`).join("&"),e+(a?"?"+a:"")+(o?"#"+o:"")}(e,t.data))},header(e,t){const n=t.header=e||{};t.method!==Iu[0]&&(Object.keys(n).find(e=>"content-type"===e.toLowerCase())||(n["Content-Type"]="application/json"))},dataType(e,t){t.dataType=(e||lm).toLowerCase()},responseType(e,t){t.responseType=(e||"").toLowerCase(),-1===cm.indexOf(t.responseType)&&(t.responseType="text")}}},hm={formatArgs:{header(e,t){t.header=e||{}}}},mm={formatArgs:{filePath(e,t){e&&(t.filePath=Rp(e))},header(e,t){t.header=e||{}},formData(e,t){t.formData=e||{}}}};const pm={url:{type:String,required:!0}},fm="navigateTo",gm="redirectTo",ym="reLaunch",vm="switchTab",bm="preloadPage",_m=(Cm(["slide-in-right","slide-in-left","slide-in-top","slide-in-bottom","fade-in","zoom-out","zoom-fade-out","pop-in","none"]),Cm(["slide-out-right","slide-out-left","slide-out-top","slide-out-bottom","fade-out","zoom-in","zoom-fade-in","pop-out","none"]),Am(fm)),wm=Am(gm),Tm=Am(ym),xm=Am(vm),Sm={formatArgs:{delta(e,t){e=parseInt(e+"")||1,t.delta=Math.min(mp().length-1,e)}}};function Cm(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 km;function Mm(){km=""}function Am(e){return{formatArgs:{url:Im(e)},beforeAll:Mm}}function Im(e){return function(t,n){if(!t)return'Missing required args: "url"';const o=(t=function(e){if(0===e.indexOf("/")||0===e.indexOf("uni:"))return e;let t="";const n=mp();return n.length&&(t=pd(n[n.length-1]).route),Od(t,e)}(t)).split("?")[0],a=Bd(o,!0);if(!a)return"page `"+t+"` is not found";if(e===fm||e===gm){if(a.meta.isTabBar)return`can not ${e} a tabbar page`}else if(e===vm&&!a.meta.isTabBar)return"can not switch to no-tabBar page";if(e!==vm&&e!==bm||!a.meta.isTabBar||"appLaunch"===n.openType||(t=o),a.meta.isEntry&&(t=t.replace(a.alias,"/")),n.url=function(e){if(!b(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(),a=t.length>0?t.join("="):"";o.push(n+"="+encodeURIComponent(a))}),o.length?e+"?"+o.join("&"):e}(t),"unPreloadPage"!==e)if(e!==bm){if(km===t&&"appLaunch"!==n.openType)return`${km} locked`;__uniConfig.ready&&(km=t)}else if(a.meta.isTabBar){const e=mp(),t=a.path.slice(1);if(e.find(e=>e.route===t))return"tabBar page `"+t+"` already exists"}}}const Rm="setNavigationBarColor",Em={formatArgs:{animation(e,t){e||(e={duration:0,timingFunc:"linear"}),t.animation={duration:e.duration||0,timingFunc:e.timingFunc||"linear"}}}},Pm="setNavigationBarTitle",Lm={formatArgs:{duration:300}},Om={formatArgs:{title:"",mask:!1}},Bm={beforeInvoke(){Sc()},formatArgs:{title:"",content:"",placeholderText:"",showCancel:!0,editable:!1,cancelText(e,t){if(!p(t,"cancelText")){const{t:e}=bc();t.cancelText=e("uni.showModal.cancel")}},cancelColor:"#000",confirmText(e,t){if(!p(t,"confirmText")){const{t:e}=bc();t.confirmText=e("uni.showModal.confirm")}},confirmColor:ae}},Nm=["success","loading","none","error"],Dm={formatArgs:{title:"",icon(e,t){t.icon=Ru(e,Nm)},image(e,t){t.image=e?Rp(e):""},duration:1500,mask:!1}},Vm="stopPullDownRefresh";function $m(){const e=Cd();if(!e)return;const t=hp(),n=t.keys();for(const o of n){const e=t.get(o);e.$.__isTabBar?e.$.__isActive=!1:fp(o)}e.$.__isTabBar&&(e.$.__isVisible=!1,Id(e,le))}function jm(e,t){return e===t.fullPath||"/"===e&&t.meta.isEntry}function zm(e){const t=hp().values();for(const n of t){const t=ip(n);if(jm(e,t))return n.$.__isActive=!0,t.id}}const Fm=ih(vm,({url:e,tabBarText:t,isAutomatedTesting:n},{resolve:o,reject:a})=>{if(sp.handledBeforeEntryPageRoutes)return $m(),Ym({type:vm,url:e,tabBarText:t,isAutomatedTesting:n},zm(e)).then(o).catch(a);cp.push({args:{type:vm,url:e,tabBarText:t,isAutomatedTesting:n},resolve:o,reject:a})},0,xm);function Wm(){const e=Td();if(!e)return;const t=ip(e);fp(bp(t.path,t.id))}const Hm=ih(gm,({url:e,isAutomatedTesting:t},{resolve:n,reject:o})=>{if(sp.handledBeforeEntryPageRoutes)return Wm(),Ym({type:gm,url:e,isAutomatedTesting:t}).then(n).catch(o);dp.push({args:{type:gm,url:e,isAutomatedTesting:t},resolve:n,reject:o})},0,wm);function Um(){const e=hp().keys();for(const t of e)fp(t)}const qm=ih(ym,({url:e,isAutomatedTesting:t},{resolve:n,reject:o})=>{if(sp.handledBeforeEntryPageRoutes)return Um(),Ym({type:ym,url:e,isAutomatedTesting:t}).then(n).catch(o);up.push({args:{type:ym,url:e,isAutomatedTesting:t},resolve:n,reject:o})},0,Tm);function Ym({type:e,url:t,tabBarText:n,events:o,isAutomatedTesting:a},r){const i=Iy().$router,{path:s,query:l}=function(e){const[t,n]=e.split("?",2);return{path:t,query:it(n||"")}}(t);return new Promise((t,c)=>{const d=function(e,t){return{__id__:t||++gp,__type__:e}}(e,r);i["navigateTo"===e?"push":"replace"]({path:s,query:l,state:d,force:!0}).then(r=>{if(gl(r))return c(r.message);if("switchTab"===e&&(i.currentRoute.value.meta.tabBarText=n),"navigateTo"===e){const e=i.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 lt(d.__id__,o),t(a?{__id__:d.__id__}:{eventChannel:e.eventChannel})}return a?t({__id__:d.__id__}):t()})})}function Zm(){if(sp.handledBeforeEntryPageRoutes)return;sp.handledBeforeEntryPageRoutes=!0;const e=[...lp];lp.length=0,e.forEach(({args:e,resolve:t,reject:n})=>Ym(e).then(t).catch(n));const t=[...cp];cp.length=0,t.forEach(({args:e,resolve:t,reject:n})=>($m(),Ym(e,zm(e.url)).then(t).catch(n)));const n=[...dp];dp.length=0,n.forEach(({args:e,resolve:t,reject:n})=>(Wm(),Ym(e).then(t).catch(n)));const o=[...up];up.length=0,o.forEach(({args:e,resolve:t,reject:n})=>(Um(),Ym(e).then(t).catch(n)))}let Gm;function Qm(){var e;return Gm||(Gm=__uniConfig.tabBar&&Mn((e=__uniConfig.tabBar,pc()&&e.list&&e.list.forEach(e=>{vc(e,["text"])}),pc()&&e.midButton&&vc(e.midButton,["text"]),e))),Gm}function Jm(e){const t=window.CSS&&window.CSS.supports;return t&&(t(e)||t.apply(window.CSS,e.split(":")))}const Xm=Jm("top:env(a)"),Km=Jm("top:constant(a)"),ep=Jm("backdrop-filter:blur(10px)"),tp=(()=>Xm?"env":Km?"constant":"")();function np(e){let t=0,n=0;if("custom"!==e.navigationBar.style&&["default","float"].indexOf(e.navigationBar.type)>-1&&(t=44),e.isTabBar){const e=Qm();e.shown&&(n=parseInt(e.height))}var o;dd({"--window-top":(o=t,tp?`calc(${o}px + ${tp}(safe-area-inset-top))`:`${o}px`),"--window-bottom":op(n)})}function op(e){return tp?`calc(${e}px + ${tp}(safe-area-inset-bottom))`:`${e}px`}const ap="$$",rp=new Map;function ip(e){return e.$page}const sp={handledBeforeEntryPageRoutes:!1},lp=[],cp=[],dp=[],up=[];function hp(){return rp}function mp(){return pp()}function pp(){const e=[],t=rp.values();for(const n of t)n.$.__isTabBar?n.$.__isActive&&e.push(n):e.push(n);return e}function fp(e,t=!0){const n=rp.get(e);n.$.__isUnload=!0,Id(n,fe),rp.delete(e),t&&function(e){const t=_p.get(e);t&&(_p.delete(e),wp.pruneCacheEntry(t))}(e)}let gp=ku();function yp(e){const t=xu();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,a,r){const{id:i,route:s}=o,l=yt(o.navigationBar,__uniConfig.themeConfig,r).titleColor;return{id:i,path:Ze(s),route:s,fullPath:t,options:n,meta:o,openType:e,eventChannel:a,statusBarStyle:"#ffffff"===l?"light":"dark"}}("navigateTo",n,{},t)}function vp(e){const t=yp(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),rp.set(bp(t.path,t.id),e),1===rp.size&&setTimeout(()=>{Zm()},0)}function bp(e,t){return e+ap+t}const _p=new Map,wp={get:e=>_p.get(e),set(e,t){!function(e){const t=parseInt(e.split(ap)[1]);if(!t)return;wp.forEach((e,n)=>{const o=parseInt(n.split(ap)[1]);if(o&&o>t){if(function(e){return"tabBar"===e.props.type}(e))return;wp.delete(n),wp.pruneCacheEntry(e),po(()=>{rp.forEach((e,t)=>{e.$.isUnmounted&&rp.delete(t)})})}})}(e),_p.set(e,t)},delete(e){_p.get(e)&&_p.delete(e)},forEach(e){_p.forEach(e)}};function Tp(e,t){!function(e){const t=Sp(e),{body:n}=document;Cp&&n.removeAttribute(Cp),t&&n.setAttribute(t,""),Cp=t}(e),np(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),Ap(e,t)}function xp(e){const t=Sp(e);t&&function(e){const t=document.querySelector("uni-page-body");t&&t.setAttribute(e,"")}(t)}function Sp(e){return e.type.__scopeId}let Cp;const kp=!!(()=>{let e=!1;try{const t={};Object.defineProperty(t,"passive",{get(){e=!0}}),window.addEventListener("test-passive",()=>{},t)}catch(VR){}return e})()&&{passive:!1};let Mp;function Ap(e,t){if(document.removeEventListener("touchmove",Rd),Mp&&document.removeEventListener("scroll",Mp),t.disableScroll)return document.addEventListener("touchmove",Rd,kp);const{onPageScroll:n,onReachBottom:o}=e,a="transparent"===t.navigationBar.type;if(!(null==n?void 0:n.length)&&!(null==o?void 0:o.length)&&!a)return;const r={},i=ip(e.proxy).id;(n||a)&&(r.onPageScroll=function(e,t,n){return o=>{t&&Wb.publishHandler(xe,{scrollTop:o},e),n&&Wb.emit(e+"."+xe,{scrollTop:o})}}(i,n,a)),(null==o?void 0:o.length)&&(r.onReachBottomDistance=t.onReachBottomDistance||50,r.onReachBottom=()=>Wb.publishHandler(Ce,{},i)),Mp=Ld(r),requestAnimationFrame(()=>document.addEventListener("scroll",Mp))}function Ip(e){const{base:t}=__uniConfig.router;return 0===Ze(e).indexOf(t)?Ze(e):t+e}function Rp(e){const{base:t,assets:n}=__uniConfig.router;if("./"===t&&(0!==e.indexOf("./")||!e.includes("/static/")&&0!==e.indexOf("./"+(n||"assets")+"/")||(e=e.slice(1))),0===e.indexOf("/")){if(0!==e.indexOf("//"))return Ip(e.slice(1));e="https:"+e}if(re.test(e)||ie.test(e)||0===e.indexOf("blob:"))return e;const o=pp();return o.length?Ip(Od(ip(o[o.length-1]).route,e).slice(1)):e}const Ep=navigator.userAgent,Pp=/android/i.test(Ep),Lp=/iphone|ipad|ipod/i.test(Ep),Op=Ep.match(/Windows NT ([\d|\d.\d]*)/i),Bp=/Macintosh|Mac/i.test(Ep),Np=/Linux|X11/i.test(Ep),Dp=Bp&&navigator.maxTouchPoints>0,Vp=/OpenHarmony/i.test(Ep);function $p(){return/^Apple/.test(navigator.vendor)&&"number"==typeof window.orientation}function jp(e){return e&&90===Math.abs(window.orientation)}function zp(e,t){return e?Math[t?"max":"min"](screen.width,screen.height):screen.width}function Fp(){const e=$p();if(e){const t=zp(e,jp(e));return Math.min(window.innerWidth,document.documentElement.clientWidth,t)||t}return Math.min(window.innerWidth,document.documentElement.clientWidth)}function Wp(e,t,n,o){Hb.invokeViewMethod("video."+e,{videoId:e,type:n,data:o},t)}function Hp(e,t){const n={},{top:o,topWindowHeight:a}=ld();if(t.node){const t=e.tagName.split("-")[1]||e.tagName;t&&(n.node=e.querySelector(t))}if(t.id&&(n.id=e.id),t.dataset&&(n.dataset=Ke(e)),t.rect||t.size){const r=e.getBoundingClientRect();t.rect&&(n.left=r.left,n.right=r.right,n.top=r.top-o-a,n.bottom=r.bottom-o-a),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 Up(e,t){return(e.matches||e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector||function(e){const t=this.parentElement.querySelectorAll(e);let n=t.length;for(;--n>=0&&t.item(n)!==this;);return n>-1}).call(e,t)}const qp={};function Yp(e,t){const n=qp[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]:"",a=atob(t[1]);let r=a.length;const i=new Uint8Array(r);for(;r--;)i[r]=a.charCodeAt(r);return Zp(i,o)}(e)):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 Zp(e,t){let n;if(e instanceof File)n=e;else{t=t||e.type||"";const a=`${Date.now()}${function(e){const t=e.split("/")[1];return t?`.${t}`:""}(t)}`;try{n=new File([e],a,{type:t})}catch(o){n=e=e instanceof Blob?e:new Blob([e],{type:t}),n.name=n.name||a}}return n}function Gp(e){for(const n in qp)if(p(qp,n)){if(qp[n]===e)return n}var t=(window.URL||window.webkitURL).createObjectURL(e);return qp[t]=e,t}const Qp=au(),Jp=au();const Xp=lu({name:"ResizeSensor",props:{initial:{type:Boolean,default:!1}},emits:["resize"],setup(e,{emit:t}){const n=Wn(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),a=function(e,t,n){const o=Mn({width:-1,height:-1});return Ho(()=>u({},o),e=>t("resize",e)),()=>{const t=e.value;t&&(o.width=t.offsetWidth,o.height=t.offsetHeight,n())}}(n,t,o);return function(e,t,n,o){ya(o),Aa(()=>{t.initial&&po(n);const a=e.value;a.offsetParent!==a.parentElement&&(a.parentElement.style.position="relative"),"AnimationEvent"in window||o()})}(n,e,a,o),()=>Yr("uni-resize-sensor",{ref:n,onAnimationstartOnce:a},[Yr("div",{onScroll:a},[Yr("div",null,null)],40,["onScroll"]),Yr("div",{onScroll:a},[Yr("div",null,null)],40,["onScroll"])],40,["onAnimationstartOnce"])}});const Kp=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 ef(e,t=!0){const n=t?Kp:1;e.width=e.offsetWidth*n,e.height=e.offsetHeight*n,e.getContext("2d").__hidpi__=t}let tf=!1;function nf(){if(tf)return;tf=!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,a,r,i,s,l,c,d){if(!this.__hidpi__)return e.apply(this,arguments);n*=Kp,o*=Kp,a*=Kp,r*=Kp,i*=Kp,s*=Kp,l=d?l*Kp:l,c=d?c*Kp:c,e.call(this,t,n,o,a,r,i,s,l,c)}}(t.drawImage),1!==Kp&&(!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*Kp});else if(Array.isArray(e))for(let t=0;tnf());function af(e){return e?Rp(e):e}function rf(e){return(e=e.slice(0))[3]=e[3]/255,"rgba("+e.join(",")+")"}function sf(e,t){Array.from(t).forEach(t=>{t.x=t.clientX-e.left,t.y=t.clientY-e.top})}let lf;function cf(e=0,t=0){return lf||(lf=document.createElement("canvas")),lf.width=e,lf.height=t,lf}const df=lu({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}){of();const o=Wn(null),a=Wn(null),r=Wn(null),i=Wn(!1),s=function(e){return(t,n)=>{e(t,Fd(n))}}(t),{$attrs:l,$excludeAttrs:c,$listeners:d}=Jf({excludeListeners:!0}),{_listeners:h}=function(e,t,n){const o=gi(()=>{let o=["onTouchstart","onTouchmove","onTouchend"],a=t.value,r=u({},(()=>{let e={};for(const t in a)if(p(a,t)){const n=a[t];e[t]=n}return e})());return o.forEach(t=>{let o=[];r[t]&&o.push(du(e=>{const o=e.currentTarget.getBoundingClientRect();sf(o,e.touches),sf(o,e.changedTouches),n(t.replace("on","").toLocaleLowerCase(),e)})),e.disableScroll&&"onTouchmove"===t&&o.push(ad),r[t]=o}),r});return{_listeners:o}}(e,d,s),{_handleSubscribe:m,_resize:f}=function(e,t,n){let o=[],a={};const r=gi(()=>e.hidpi?Kp:1);function i(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);ef(o,e.hidpi),t.putImageData(n,0,0)}else ef(o,e.hidpi)}function s({actions:e,reserve:r},i){if(!e)return;if(n.value)return void o.push([e,r]);let s=t.value,d=s.getContext("2d");r||(d.fillStyle="#000000",d.strokeStyle="#000000",d.shadowColor="#000000",d.shadowBlur=0,d.shadowOffsetX=0,d.shadowOffsetY=0,d.setTransform(1,0,0,1,0,0),d.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=af(o),n[0]=o):"setFillStyle"===t&&"pattern"===n[0]&&(o=n[1],o=af(o),n[1]=o),o&&!a[o]&&r()})}function c(e,t,r,i){let l=a[e];return l.ready?(i(l),!0):(o.unshift([t,!0]),n.value=!0,l.onload=function(){l.ready=!0,i(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:a,destWidth:i,destHeight:s,hidpi:l=!0,dataType:c,quality:d=1,type:u="png"},h){const m=t.value;let p;const f=m.offsetWidth-e;o=o?Math.min(o,f):f;const g=m.offsetHeight-n;a=a?Math.min(a,g):g,l?(i=o,s=a):i||s?i?s||(s=Math.round(a/o*i)):(s||(s=Math.round(a*r.value)),i=Math.round(o/a*s)):(i=Math.round(o*r.value),s=Math.round(a*r.value));const y=cf(i,s),v=y.getContext("2d");let b;"jpeg"!==u&&"jpg"!==u||(u="jpeg",v.fillStyle="#fff",v.fillRect(0,0,i,s)),v.__hidpi__=!0,v.drawImageByCanvas(m,e,n,o,a,0,0,i,s,!1);try{let e;if("base64"===c)p=y.toDataURL(`image/${u}`,d);else{const e=v.getImageData(0,0,i,s);p=Array.prototype.slice.call(e.data)}b={data:p,compressed:e,width:i,height:s}}catch(_){b={errMsg:`canvasGetImageData:fail ${_}`}}if(y.height=y.width=0,v.__hidpi__=!1,!h)return b;h(b)}function h({data:e,x:n,y:o,width:a,height:r,compressed:i},s){try{0,r||(r=Math.round(e.length/4/a));const i=cf(a,r);i.getContext("2d").putImageData(new ImageData(new Uint8ClampedArray(e),a,r),0,0),t.value.getContext("2d").drawImage(i,n,o,a,r),i.height=i.width=0}catch(l){return void s({errMsg:"canvasPutImageData:fail"})}s({errMsg:"canvasPutImageData:ok"})}function m({x:e=0,y:t=0,width:n,height:o,destWidth:a,destHeight:r,fileType:i,quality:s,dirname:l},c){const u=d({x:e,y:t,width:n,height:o,destWidth:a,destHeight:r,hidpi:!1,dataType:"base64",type:i,quality:s});var h;u.errMsg?c({errMsg:u.errMsg.replace("canvasPutImageData","toTempFilePath")}):(h=u.data,((e,t)=>{let n="toTempFilePath:"+(e?"fail":"ok");e&&(n+=` ${e.message}`),c({errMsg:n,tempFilePath:t})})(null,h))}const p={actionsChanged:s,getImageData:d,putImageData:h,toTempFilePath:m};function f(e,t,n){let o=p[e];0!==e.indexOf("_")&&v(o)&&o(t,n)}return u(p,{_resize:i,_handleSubscribe:f})}(e,a,i);return iy(m,ly(e.canvasId)),Aa(()=>{f()}),()=>{const{canvasId:t,disableScroll:i}=e;return Yr("uni-canvas",ei({ref:o,"canvas-id":t,"disable-scroll":i},l.value,c.value,h.value),[Yr("canvas",{ref:a,class:"uni-canvas-canvas",width:"300",height:"150"},null,512),Yr("div",{style:"position: absolute;top: 0;left: 0;width: 100%;height: 100%;overflow: hidden;"},[n.default&&n.default()]),Yr(Xp,{ref:r,onResize:f},null,8,["onResize"])],16,["canvas-id","disable-scroll"])}}});function uf(){}const hf={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 mf(e,t,n){function o(e){const t=gi(()=>0===String(navigator.vendor).indexOf("Apple"));e.addEventListener("focus",()=>{clearTimeout(void 0),document.addEventListener("click",uf,!1)});e.addEventListener("blur",()=>{t.value&&e.blur(),document.removeEventListener("click",uf,!1),t.value&&document.documentElement.scrollTo(document.documentElement.scrollLeft,document.documentElement.scrollTop)})}Ho(()=>t.value,e=>e&&o(e))}var pf=/^<([-A-Za-z0-9_]+)((?:\s+[a-zA-Z_:][-a-zA-Z0-9_:.]*(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)>/,ff=/^<\/([-A-Za-z0-9_]+)[^>]*>/,gf=/([a-zA-Z_:][-a-zA-Z0-9_:.]*)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|([^>\s]+)))?/g,yf=xf("area,base,basefont,br,col,frame,hr,img,input,link,meta,param,embed,command,keygen,source,track,wbr"),vf=xf("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"),bf=xf("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"),_f=xf("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr"),wf=xf("checked,compact,declare,defer,disabled,ismap,multiple,nohref,noresize,noshade,nowrap,readonly,selected"),Tf=xf("script,style");function xf(e){for(var t={},n=e.split(","),o=0;oe/t],heightFix:["offsetHeight","width",(e,t)=>e*t]},kf={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"]},Mf=lu({name:"Image",props:Sf,setup(e,{emit:t}){const n=Wn(null),o=function(e,t){const n=Wn(""),o=gi(()=>{let e="auto",o="";const a=kf[t.mode];return a?(a[0]&&(o=a[0]),a[1]&&(e=a[1])):(o="0% 0%",e="100% 100%"),`background-image:${n.value?'url("'+n.value+'")':"none"};background-position:${o};background-size:${e};`}),a=Mn({rootEl:e,src:gi(()=>t.src?Rp(t.src):""),origWidth:0,origHeight:0,origStyle:{width:"",height:""},modeStyle:o,imgSrc:n});return Aa(()=>{const t=e.value;a.origWidth=t.clientWidth||0,a.origHeight=t.clientHeight||0}),a}(n,e),a=uu(n,t),{fixSize:r}=function(e,t,n){const o=()=>{const{mode:o}=t,a=Cf[o];if(!a)return;const{origWidth:r,origHeight:i}=n,s=r&&i?r/i:0;if(!s)return;const l=e.value,c=l[a[0]];c&&(l.style[a[1]]=function(e){Af&&e>10&&(e=2*Math.round(e/2));return e}(a[2](c,s))+"px")},a=()=>{const{style:t}=e.value,{origStyle:{width:o,height:a}}=n;t.width=o,t.height=a};return Ho(()=>t.mode,(e,t)=>{Cf[t]&&a(),Cf[e]&&o()}),{fixSize:o,resetSize:a}}(n,e,o);return function(e,t,n,o,a){let r,i;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:d,height:u}=r;s(d,u,l),po(()=>{o()}),r.draggable=t.draggable,i&&i.remove(),i=r,n.value.appendChild(r),c(),a("load",e,{width:d,height:u})},r.onerror=t=>{s(),c(),a("error",t,{errMsg:`GET ${e.src} 404 (Not Found)`})},r.src=l},c=()=>{r&&(r.onload=null,r.onerror=null,r=null)};Ho(()=>e.src,e=>l(e)),Ho(()=>e.imgSrc,e=>{!e&&i&&(i.remove(),i=null)}),Aa(()=>l(e.src)),Ea(()=>c())}(o,e,n,r,a),()=>Yr("uni-image",{ref:n},[Yr("div",{style:o.modeStyle},null,4),Cf[e.mode]?Yr(Xp,{onResize:r},null,8,["onResize"]):Yr("span",null,null)],512)}});const Af="Google Inc."===navigator.vendor;const If=tt(!0),Rf=[];let Ef=0,Pf=!1;const Lf=e=>Rf.forEach(t=>t.userAction=e);function Of(e={userAction:!1}){if(!Pf){["touchstart","touchmove","touchend","mousedown","mouseup"].forEach(e=>{document.addEventListener(e,function(){!Ef&&Lf(!0),Ef++,setTimeout(()=>{! --Ef&&Lf(!1)},0)},If)}),Pf=!0}Rf.push(e)}function Bf(){const e=Mn({userAction:!1});return Aa(()=>{Of(e)}),Ea(()=>{!function(e){const t=Rf.indexOf(e);t>=0&&Rf.splice(t,1)}(e)}),{state:e}}function Nf(){const e=Mn({attrs:{}});return Aa(()=>{let t=ri();for(;t;){const n=t.type.__scopeId;n&&(e.attrs[n]=""),t=t.proxy&&"page"===t.proxy.$mpType?null:t.parent}}),{state:e}}function Df(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 Vf(e,t,n){"number"===t&&isNaN(Number(e))&&(e="");return null==e?"":String(e)}const $f=["none","text","decimal","numeric","tel","search","email","url"],jf=u({},{name:{type:String,default:""},modelValue:{type:[String,Number]},value:{type:[String,Number]},disabled:{type:[Boolean,String],default:!1},autoFocus:{type:[Boolean,String],default:!1},focus:{type:[Boolean,String],default:!1},cursor:{type:[Number,String],default:-1},selectionStart:{type:[Number,String],default:-1},selectionEnd:{type:[Number,String],default:-1},type:{type:String,default:"text"},password:{type:[Boolean,String],default:!1},placeholder:{type:String,default:""},placeholderStyle:{type:String,default:""},placeholderClass:{type:String,default:""},maxlength:{type:[Number,String],default:140},confirmType:{type:String,default:"done"},confirmHold:{type:Boolean,default:!1},ignoreCompositionEvent:{type:Boolean,default:!0},step:{type:String,default:"0.000000000000000001"},inputmode:{type:String,default:void 0,validator:e=>!!~$f.indexOf(e)},cursorColor:{type:String,default:""}},hf),zf=["input","focus","blur","update:value","update:modelValue","update:focus","compositionstart","compositionupdate","compositionend","keyboardheightchange"];function Ff(e,t,n,o,a){let r=null,i=null;i=st(n=>{const o=a.value,i=Vf(n,e.type);o&&document.activeElement===o&&i===r||(t.value=i)},100,{setTimeout:setTimeout,clearTimeout:clearTimeout}),Ho(()=>e.modelValue,i),Ho(()=>e.value,i);const s=function(e,t){let n,o,a=0;const r=function(...r){const i=Date.now();clearTimeout(n),o=()=>{o=null,a=i,e.apply(this,r)},i-a{i.cancel(),n("update:modelValue",t.value),n("update:value",t.value),o("input",e,t)},100);return Ma(()=>{i.cancel(),s.cancel()}),{trigger:o,triggerInput:(e,t,n)=>{i.cancel(),r=t.value,s(e,t),n&&s.flush()}}}function Wf(e,t){Bf();const n=gi(()=>e.autoFocus||e.focus);function o(){if(!n.value)return;const e=t.value;e?e.focus():setTimeout(o,100)}Ho(()=>e.focus,e=>{e?o():function(){const e=t.value;e&&e.blur()}()}),Aa(()=>{n.value&&po(o)})}function Hf(e,t,n,o){Oc(Sd(),"getSelectedTextRange",Df);const{fieldRef:a,state:r,trigger:i}=function(e,t,n){const o=Wn(null),a=uu(t,n),r=gi(()=>{const t=Number(e.selectionStart);return isNaN(t)?-1:t}),i=gi(()=>{const t=Number(e.selectionEnd);return isNaN(t)?-1:t}),s=gi(()=>{const t=Number(e.cursor);return isNaN(t)?-1:t}),l=gi(()=>{var t=Number(e.maxlength);return isNaN(t)?140:t});let c="";c=Vf(e.modelValue,e.type)||Vf(e.value,e.type);const d=Mn({value:c,valueOrigin:c,maxlength:l,focus:e.focus,composing:!1,selectionStart:r,selectionEnd:i,cursor:s});return Ho(()=>d.focus,e=>n("update:focus",e)),Ho(()=>d.maxlength,e=>d.value=d.value.slice(0,e),{immediate:!1}),{fieldRef:o,state:d,trigger:a}}(e,t,n),{triggerInput:s}=Ff(e,r,n,i,a);Wf(e,a),mf(0,a);const{state:l}=Nf();!function(e,t){const n=lr(fu,!1);if(!n)return;const o=ri(),a={submit(){const n=o.proxy;return[n[e],b(t)?n[t]:t.value]},reset(){b(t)?o.proxy[t]="":t.value=""}};n.addField(a),Ea(()=>{n.removeField(a)})}("name",r),function(e,t,n,o,a,r){function i(){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}Ho([()=>t.selectionStart,()=>t.selectionEnd],i),Ho(()=>t.cursor,s),Ho(()=>e.value,function(){const c=e.value;if(!c)return;const d=function(e,o){e.stopPropagation(),v(r)&&!1===r(e,t)||(t.value=c.value,t.composing&&n.ignoreCompositionEvent||a(e,{value:c.value,cursor:l(c)},o))};function u(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}),i(),s()}),c.addEventListener("blur",function(e){t.composing&&(t.composing=!1,d(e,!0)),t.focus=!1,o("blur",e,{value:t.value,cursor:l(e.target)})}),c.addEventListener("input",d),c.addEventListener("compositionstart",e=>{e.stopPropagation(),t.composing=!0,u(e)}),c.addEventListener("compositionend",e=>{e.stopPropagation(),t.composing&&(t.composing=!1,d(e)),u(e)}),c.addEventListener("compositionupdate",u)})}(a,r,e,i,s,o);return{fieldRef:a,state:r,scopedAttrsState:l,fixDisabledColor:0===String(navigator.vendor).indexOf("Apple")&&CSS.supports("image-orientation:from-image"),trigger:i}}const Uf=Qe(()=>{{const e=navigator.userAgent;let t="";const n=e.match(/OS\s([\w_]+)\slike/);if(n)t=n[1].replace(/_/g,".");else if(/Macintosh|Mac/i.test(e)&&navigator.maxTouchPoints>0){const n=e.match(/Version\/(\S*)\b/);n&&(t=n[1])}return!!t&&parseInt(t)>=16&&parseFloat(t)<17.2}});function qf(e,t,n,o,a){if(t.value)if("."===e.data){if("."===t.value.slice(-1))return n.value=o.value=t.value=t.value.slice(0,-1),!1;if(t.value&&!t.value.includes(".")&&t.value===o.value)return t.value+=".",a&&(a.fn=()=>{n.value=o.value=t.value=t.value.slice(0,-1),o.removeEventListener("blur",a.fn)},o.addEventListener("blur",a.fn)),!1}else if("deleteContentBackward"===e.inputType&&Uf()&&"."===t.value.slice(-2,-1))return t.value=n.value=o.value=t.value.slice(0,-2),!0}function Yf(e){return"insertFromPaste"===e.inputType}const Zf=lu({name:"Input",props:u({},jf,{placeholderClass:{type:String,default:"input-placeholder"},textContentType:{type:String,default:""}}),emits:["confirm",...zf],setup(e,{emit:t,expose:n}){const o=["text","number","idcard","digit","password","tel"],a=["off","one-time-code"],r=gi(()=>{let t="";switch(e.type){case"text":t="text","search"===e.confirmType&&(t="search");break;case"idcard":case"none":t="text";break;case"digit":t="number";break;default:t=o.includes(e.type)?e.type:"text"}return e.password?"password":t}),i=gi(()=>{const t=a.indexOf(e.textContentType),n=a.indexOf(P(e.textContentType));return a[-1!==t?t:-1!==n?n:0]}),s=gi(()=>{if(void 0!==e.inputmode)return e.inputmode;if($f.includes(e.type))return e.type;return{number:"numeric",digit:"decimal",idcard:"text"}[e.type]});let l=function(e,t){if("number"===t.value){const t=void 0===e.modelValue?e.value:e.modelValue,n=Wn(null!=t?t.toLocaleString():"");return Ho(()=>e.modelValue,e=>{n.value=null!=e?e.toLocaleString():""}),Ho(()=>e.value,e=>{n.value=null!=e?e.toLocaleString():""}),n}return Wn("")}(e,r),c={fn:null};const d=Wn(null),{fieldRef:u,state:h,scopedAttrsState:m,fixDisabledColor:p,trigger:f}=Hf(e,d,t,(e,t)=>{const n=e.target;if("number"===r.value){if(c.fn&&(n.removeEventListener("blur",c.fn),c.fn=null),n.validity&&!n.validity.valid){if((!l.value||!n.value)&&"-"===e.data||"-"===l.value[0]&&"deleteContentBackward"===e.inputType)return l.value="-",t.value="",c.fn=()=>{l.value=n.value=""},n.addEventListener("blur",c.fn),!1;const o=qf(e,l,t,n,c);return"boolean"==typeof o?o:(l.value=t.value=n.value="-"===l.value?"":l.value,!1)}{const o=qf(e,l,t,n,c);if("boolean"==typeof o)return o;l.value=n.value}if(t.maxlength>0&&n.value.length>t.maxlength&&!Yf(e))return n.value=l.value=t.value,!1}});Ho(()=>h.value,t=>{"number"!==e.type||"-"===l.value&&""===t||(l.value=t.toString())}),Ho(()=>e.maxlength,e=>{e=parseInt(e,10);const t=h.value.slice(0,e);t!==h.value&&(h.value=t)});const g=["number","digit"],y=gi(()=>g.includes(e.type)?e.step:"");function v(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),h.value=e.value}}),()=>{let t=e.disabled&&p?Yr("input",{key:"disabled-input",ref:u,value:h.value,tabindex:"-1",readonly:!!e.disabled,type:r.value,maxlength:h.maxlength,step:y.value,class:"uni-input-input",style:e.cursorColor?{caretColor:e.cursorColor}:{},inputmode:s.value,onFocus:e=>e.target.blur()},null,44,["value","readonly","type","maxlength","step","inputmode","onFocus"]):Yr("input",{key:"input",ref:u,value:h.value,onInput:ms(e=>{const t=e.target.value.toString();"number"===r.value&&h.maxlength>0&&t.length>h.maxlength?Yf(e)&&(h.value=t.slice(0,h.maxlength)):0===t.length&&"insertText"===e.inputType&&"."===e.data||(h.value=t)},["stop"]),disabled:!!e.disabled,type:r.value,maxlength:h.maxlength,step:y.value,enterkeyhint:e.confirmType,pattern:"number"===e.type?"[0-9]*":void 0,class:"uni-input-input",style:e.cursorColor?{caretColor:e.cursorColor}:{},autocomplete:i.value,onKeyup:v,inputmode:s.value},null,44,["value","onInput","disabled","type","maxlength","step","enterkeyhint","pattern","autocomplete","onKeyup","inputmode"]);return Yr("uni-input",{ref:d},[Yr("div",{class:"uni-input-wrapper"},[Go(Yr("div",ei(m.attrs,{style:e.placeholderStyle,class:["uni-input-placeholder",e.placeholderClass]}),[e.placeholder],16),[[ji,!(h.value.length||"-"===l.value||l.value.includes("."))]]),"search"===e.confirmType?Yr("form",{action:"",onSubmit:e=>e.preventDefault(),class:"uni-input-form"},[t],40,["onSubmit"]):t])],512)}}});const Gf=["class","style"],Qf=/^on[A-Z]+/,Jf=(e={})=>{const{excludeListeners:t=!1,excludeKeys:n=[]}=e,o=ri(),a=Hn({}),r=Hn({}),i=Hn({}),s=n.concat(Gf);return o.attrs=Mn(o.attrs),Fo(()=>{const e=(n=o.attrs,Object.keys(n).map(e=>[e,n[e]])).reduce((e,[n,o])=>(s.includes(n)?e.exclude[n]=o:Qf.test(n)?(t||(e.attrs[n]=o),e.listeners[n]=o):e.attrs[n]=o,e),{exclude:{},attrs:{},listeners:{}});var n;a.value=e.attrs,r.value=e.listeners,i.value=e.exclude}),{$attrs:a,$listeners:r,$excludeAttrs:i}};function Xf(e){const t=[];return f(e)&&e.forEach(e=>{zr(e)?e.type===Ir?t.push(...Xf(e.children)):t.push(e):f(e)&&t.push(...Xf(e))}),t}const Kf=lu({inheritAttrs:!1,name:"MovableArea",props:{scaleArea:{type:Boolean,default:!1}},setup(e,{slots:t}){const n=Wn(null),o=Wn(!1);let{setContexts:a,events:r}=function(e,t){const n=Wn(0),o=Wn(0),a=Mn({x:null,y:null}),r=Wn(null);let i=null,s=[];function l(t){t&&1!==t&&(e.scaleArea?s.forEach(function(e){e._setScale(t)}):i&&i._setScale(t))}function c(e,n=s){let o=t.value;function a(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=eg(t),a.x=t.x,a.y=t.y,!e.scaleArea){let e=c(n[0].target),t=c(n[1].target);i=e&&e===t?e:null}}}),u=du(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!==a.x&&r.value&&r.value>0){l(eg(n)/r.value)}a.x=n.x,a.y=n.y}}),h=du(t=>{let n=t.touches;n&&n.length||t.changedTouches&&(a.x=0,a.y=0,r.value=null,e.scaleArea?s.forEach(function(e){e._endScale()}):i&&i._endScale())});function m(){p(),s.forEach(function(e,t){e.setParent()})}function p(){let e=window.getComputedStyle(t.value),a=t.value.getBoundingClientRect();n.value=a.width-["Left","Right"].reduce(function(t,n){const o="padding"+n;return t+parseFloat(e["border"+n+"Width"])+parseFloat(e[o])},0),o.value=a.height-["Top","Bottom"].reduce(function(t,n){const o="padding"+n;return t+parseFloat(e["border"+n+"Width"])+parseFloat(e[o])},0)}return sr("movableAreaWidth",n),sr("movableAreaHeight",o),{setContexts(e){s=e},events:{_onTouchstart:d,_onTouchmove:u,_onTouchend:h,_resize:m}}}(e,n);const{$listeners:i,$attrs:s,$excludeAttrs:l}=Jf(),c=i.value;["onTouchstart","onTouchmove","onTouchend"].forEach(e=>{let t=c[e],n=r[`_${e}`];c[e]=t?[].concat(t,n):n}),Aa(()=>{r._resize(),o.value=!0});let d=[];const u=[];function h(){const e=[];for(let t=0;tn===e.rootRef.value);o&&e.push(Nn(o))}a(e)}return sr("_isMounted",o),sr("movableAreaRootRef",n),sr("addMovableViewContext",e=>{u.push(e),h()}),sr("removeMovableViewContext",e=>{const t=u.indexOf(e);t>=0&&(u.splice(t,1),h())}),()=>{const e=t.default&&t.default();return d=Xf(e),Yr("uni-movable-area",ei({ref:n},s.value,l.value,c),[Yr(Xp,{onResize:r._resize},null,8,["onResize"]),d],16)}}});function eg(e){return Math.sqrt(e.x*e.x+e.y*e.y)}const tg=function(e,t,n,o){e.addEventListener(t,e=>{v(n)&&!1===n(e)&&((void 0===e.cancelable||e.cancelable)&&e.preventDefault(),e.stopPropagation())},{passive:!1})};let ng,og;function ag(e,t,n){Ea(()=>{document.removeEventListener("mousemove",ng),document.removeEventListener("mouseup",og)});let o=0,a=0,r=0,i=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-a,ddx:s-r,ddy:l-i,timeStamp:e.timeStamp}}))return!1};let l,c,d=null;tg(e,"touchstart",function(e){if(l=!0,1===e.touches.length&&!d)return d=e,o=r=e.touches[0].pageX,a=i=e.touches[0].pageY,s(e,"start",o,a)}),tg(e,"mousedown",function(e){if(c=!0,!l&&!d)return d=e,o=r=e.pageX,a=i=e.pageY,s(e,"start",o,a)}),tg(e,"touchmove",function(e){if(1===e.touches.length&&d){const t=s(e,"move",e.touches[0].pageX,e.touches[0].pageY);return r=e.touches[0].pageX,i=e.touches[0].pageY,t}});const u=ng=function(e){if(!l&&c&&d){const t=s(e,"move",e.pageX,e.pageY);return r=e.pageX,i=e.pageY,t}};document.addEventListener("mousemove",u),tg(e,"touchend",function(e){if(0===e.touches.length&&d)return l=!1,d=null,s(e,"end",e.changedTouches[0].pageX,e.changedTouches[0].pageY)});const h=og=function(e){if(c=!1,!l&&d)return d=null,s(e,"end",e.pageX,e.pageY)};document.addEventListener("mouseup",h),tg(e,"touchcancel",function(e){if(d){l=!1;const t=d;return d=null,s(e,n?"cancel":"end",t.touches[0].pageX,t.touches[0].pageY)}})}function rg(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}},lg.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}},lg.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}},lg.prototype.dt=function(){return-this._x_v/this._x_a},lg.prototype.done=function(){const e=rg(this.s().x,this._endPositionX)||rg(this.s().y,this._endPositionY)||this._lastDt===this._t;return this._lastDt=null,e},lg.prototype.setEnd=function(e,t){this._endPositionX=e,this._endPositionY=t},lg.prototype.reconfigure=function(e,t){this._m=e,this._f=1e3*t},cg.prototype._solve=function(e,t){const n=this._c,o=this._m,a=this._k,r=n*n-4*o*a;if(0===r){const a=-n/(2*o),r=e,i=t/(a*e);return{x:function(e){return(r+i*e)*Math.pow(Math.E,a*e)},dx:function(e){const t=Math.pow(Math.E,a*e);return a*(r+i*e)*t+i*t}}}if(r>0){const a=(-n-Math.sqrt(r))/(2*o),i=(-n+Math.sqrt(r))/(2*o),s=(t-a*e)/(i-a),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,a*e)),n||(n=this._powER2T=Math.pow(Math.E,i*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,a*e)),n||(n=this._powER2T=Math.pow(Math.E,i*e)),l*a*t+s*i*n}}}const i=Math.sqrt(4*o*a-n*n)/(2*o),s=-n/2*o,l=e,c=(t-s*e)/i;return{x:function(e){return Math.pow(Math.E,s*e)*(l*Math.cos(i*e)+c*Math.sin(i*e))},dx:function(e){const t=Math.pow(Math.E,s*e),n=Math.cos(i*e),o=Math.sin(i*e);return t*(c*i*n-l*i*o)+s*t*(c*o+l*n)}}},cg.prototype.x=function(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._endPosition+this._solution.x(e):0},cg.prototype.dx=function(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._solution.dx(e):0},cg.prototype.setEnd=function(e,t,n){if(n||(n=(new Date).getTime()),e!==this._endPosition||!ig(t,.1)){t=t||0;let o=this._endPosition;this._solution&&(ig(t,.1)&&(t=this._solution.dx((n-this._startTime)/1e3)),o=this._solution.x((n-this._startTime)/1e3),ig(t,.1)&&(t=0),ig(o,.1)&&(o=0),o+=this._endPosition),this._solution&&ig(o-e,.1)&&ig(t,.1)||(this._endPosition=e,this._solution=this._solve(o-this._endPosition,t),this._startTime=n)}},cg.prototype.snap=function(e){this._startTime=(new Date).getTime(),this._endPosition=e,this._solution={x:function(){return 0},dx:function(){return 0}}},cg.prototype.done=function(e){return e||(e=(new Date).getTime()),rg(this.x(),this._endPosition,.1)&&ig(this.dx(),.1)},cg.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())},cg.prototype.springConstant=function(){return this._k},cg.prototype.damping=function(){return this._c},cg.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}]},dg.prototype.setEnd=function(e,t,n,o){const a=(new Date).getTime();this._springX.setEnd(e,o,a),this._springY.setEnd(t,o,a),this._springScale.setEnd(n,o,a),this._startTime=a},dg.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)}},dg.prototype.done=function(){const e=(new Date).getTime();return this._springX.done(e)&&this._springY.done(e)&&this._springScale.done(e)},dg.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 ug(e,t){return+((1e3*e-1e3*t)/1e3).toFixed(1)}const hg=lu({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:.1},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=Wn(null),a=uu(o,n),{setParent:r}=function(e,t,n){const o=lr("_isMounted",Wn(!1)),a=lr("addMovableViewContext",()=>{}),r=lr("removeMovableViewContext",()=>{});let i,s,l=Wn(1),c=Wn(1),d=Wn(!1),u=Wn(0),h=Wn(0),m=null,p=null,f=!1,g=null,y=null;const v=new sg,b=new sg,_={historyX:[0,0],historyY:[0,0],historyT:[0,0]},w=gi(()=>{let t=Number(e.friction);return isNaN(t)||t<=0?2:t}),T=new lg(1,w.value);Ho(()=>e.disabled,()=>{U()});const{_updateOldScale:x,_endScale:S,_setScale:C,scaleValueSync:k,_updateBoundary:M,_updateOffset:A,_updateWH:I,_scaleOffset:R,minX:E,minY:P,maxX:L,maxY:O,FAandSFACancel:B,_getLimitXY:N,_setTransform:D,_revise:V,dampingNumber:$,xMove:j,yMove:z,xSync:F,ySync:W,_STD:H}=function(e,t,n,o,a,r,i,s,l,c){const d=gi(()=>{let t=Number(e.scaleMin);return isNaN(t)?.1:t}),u=gi(()=>{let t=Number(e.scaleMax);return isNaN(t)?10:t}),h=Wn(Number(e.scaleValue)||1);Ho(h,e=>{D(e)}),Ho(d,()=>{N()}),Ho(u,()=>{N()}),Ho(()=>e.scaleValue,e=>{h.value=Number(e)||0});const{_updateBoundary:m,_updateOffset:p,_updateWH:f,_scaleOffset:g,minX:y,minY:v,maxX:b,maxY:_}=function(e,t,n){const o=lr("movableAreaWidth",Wn(0)),a=lr("movableAreaHeight",Wn(0)),r=lr("movableAreaRootRef"),i={x:0,y:0},s={x:0,y:0},l=Wn(0),c=Wn(0),d=Wn(0),u=Wn(0),h=Wn(0),m=Wn(0);function p(){let e=0-i.x+s.x,t=o.value-l.value-i.x-s.x;d.value=Math.min(e,t),h.value=Math.max(e,t);let n=0-i.y+s.y,r=a.value-c.value-i.y-s.y;u.value=Math.min(n,r),m.value=Math.max(n,r)}function f(){i.x=fg(e.value,r.value),i.y=gg(e.value,r.value)}function g(o){o=o||t.value,o=n(o);let a=e.value.getBoundingClientRect();c.value=a.height/t.value,l.value=a.width/t.value;let r=c.value*o,i=l.value*o;s.x=(i-l.value)/2,s.y=(r-c.value)/2}return{_updateBoundary:p,_updateOffset:f,_updateWH:g,_scaleOffset:s,minX:d,minY:u,maxX:h,maxY:m}}(t,o,B),{FAandSFACancel:w,_getLimitXY:T,_animationTo:x,_setTransform:S,_revise:C,dampingNumber:k,xMove:M,yMove:A,xSync:I,ySync:R,_STD:E}=function(e,t,n,o,a,r,i,s,l,c,d,u,h,m){const p=gi(()=>{let e=Number(t.damping);return isNaN(e)?20:e}),f=gi(()=>"all"===t.direction||"horizontal"===t.direction),g=gi(()=>"all"===t.direction||"vertical"===t.direction),y=Wn(vg(t.x)),v=Wn(vg(t.y));Ho(()=>t.x,e=>{y.value=vg(e)}),Ho(()=>t.y,e=>{v.value=vg(e)}),Ho(y,e=>{C(e)}),Ho(v,e=>{k(e)});const b=new dg(1,9*Math.pow(p.value,2)/40,p.value);function _(e,t){let n=!1;return e>a.value?(e=a.value,n=!0):er.value?(t=r.value,n=!0):t1?"htouchmove":"vtouchmove"),j.value&&(n=t.detail.dx+i,_.historyX.shift(),_.historyX.push(n),z.value||null!==g||(g=Math.abs(t.detail.dx/t.detail.dy)<1)),z.value&&(o=t.detail.dy+s,_.historyY.shift(),_.historyY.push(o),j.value||null!==g||(g=Math.abs(t.detail.dy/t.detail.dx)<1)),_.historyT.shift(),_.historyT.push(t.detail.timeStamp),!g){t.preventDefault();let a="touch";nL.value&&(e.outOfBounds?(a="touch-out-of-bounds",n=L.value+v.x(n-L.value)):n=L.value),oO.value&&(e.outOfBounds?(a="touch-out-of-bounds",o=O.value+b.x(o-O.value)):o=O.value),pg(function(){D(n,o,l.value,a)})}}}function Y(){if(!d.value&&!e.disabled&&f&&(n.value.style.willChange="auto",f=!1,!g&&!V("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=u.value,o=h.value;T.setV(e,t),T.setS(n,o);const a=T.delta().x,r=T.delta().y;let i=a+n,s=r+o;iL.value&&(i=L.value,s=o+(L.value-n)*r/a),sO.value&&(s=O.value,i=n+(O.value-o)*a/r),T.setEnd(i,s),p=yg(T,function(){let e=T.s(),t=e.x,n=e.y;D(t,n,l.value,"friction")},function(){p.cancel()})}e.outOfBounds||e.inertia||B()}function Z(){if(!o.value)return;B();let t=e.scale?k.value:1;A(),I(t),M();let n=N(F.value+R.x,W.value+R.y),a=n.x,r=n.y;D(a,r,t,"",!0),x(t)}return Aa(()=>{ag(n.value,e=>{switch(e.detail.state){case"start":U();break;case"move":q(e);break;case"end":Y()}}),Z(),T.reconfigure(1,w.value),H.reconfigure(1,9*Math.pow($.value,2)/40,$.value),n.value.style.transformOrigin="center";const e={rootRef:n,setParent:Z,_endScale:S,_setScale:C};a(e),Pa(()=>{r(e)})}),Pa(()=>{B()}),{setParent:Z}}(e,a,o);return()=>Yr("uni-movable-view",{ref:o},[Yr(Xp,{onResize:r},null,8,["onResize"]),t.default&&t.default()],512)}});let mg=!1;function pg(e){mg||(mg=!0,requestAnimationFrame(function(){e(),mg=!1}))}function fg(e,t){if(e===t)return 0;let n=e.offsetLeft;return e.offsetParent?n+=fg(e.offsetParent,t):0}function gg(e,t){if(e===t)return 0;let n=e.offsetTop;return e.offsetParent?n+=gg(e.offsetParent,t):0}function yg(e,t,n){let o={id:0,cancelled:!1};return function e(t,n,o,a){if(!t||!t.cancelled){o(n);let r=n.done();r||t.cancelled||(t.id=requestAnimationFrame(e.bind(null,t,n,o,a))),r&&a&&a(n)}}(o,e,t,n),{cancel:function(e){e&&e.id&&cancelAnimationFrame(e.id),e&&(e.cancelled=!0)}.bind(null,o),model:e}}function vg(e){return/\d+[ur]px$/i.test(e)?gh(parseFloat(e)):Number(e)||0}const bg=["navigate","redirect","switchTab","reLaunch","navigateBack"],_g=["slide-in-right","slide-in-left","slide-in-top","slide-in-bottom","fade-in","zoom-out","zoom-fade-out","pop-in","none"],wg=["slide-out-right","slide-out-left","slide-out-top","slide-out-bottom","fade-out","zoom-in","zoom-fade-in","pop-out","none"],Tg={hoverClass:{type:String,default:"navigator-hover"},url:{type:String,default:""},openType:{type:String,default:"navigate",validator:e=>Boolean(~bg.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||_g.concat(wg).includes(e)},animationDuration:{type:[String,Number],default:300}};const xg=lu({name:"Navigator",inheritAttrs:!1,compatConfig:{MODE:3},props:u({},Tg,{renderLink:{type:Boolean,default:!0}}),setup(e,{slots:t}){const n=Wn(null),o=ri(),a=o&&o.vnode.scopeId||"",{hovering:r,binding:i}=mu(e),s=function(e){return()=>{if("navigateBack"!==e.openType&&!e.url)return void console.error(" should have url attribute when using navigateTo, redirectTo, reLaunch or switchTab");const t=parseInt(e.animationDuration);switch(e.openType){case"navigate":Uv({url:e.url,animationType:e.animationType||"pop-in",animationDuration:t});break;case"redirect":Hm({url:e.url,exists:e.exists});break;case"switchTab":Fm({url:e.url});break;case"reLaunch":qm({url:e.url});break;case"navigateBack":Hv({delta:e.delta,animationType:e.animationType||"pop-out",animationDuration:t})}}}(e);return()=>{const{hoverClass:l,url:c}=e,d=e.hoverClass&&"none"!==e.hoverClass,u=e.renderLink?Yr("a",{class:"navigator-wrap",href:c,onClick:ad,onMousedown:ad},[t.default&&t.default()],40,["href","onClick","onMousedown"]):t.default&&t.default();return Yr("uni-navigator",ei({class:d&&r.value?l:"",ref:n},d&&i,o?o.attrs:{},{[a]:""},{onClick:s}),[u],16,["onClick"])}}});const Sg=lu({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=Wn(null),a=Wn(null),r=uu(o,n),i=function(e){const t=Mn([...e.value]),n=Mn({value:t,height:34});return Ho(()=>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=Wn(null);Aa(()=>{const e=s.value;e&&(i.height=e.$el.offsetHeight)});let l=Wn([]),c=Wn([]);function d(e){let t=c.value;t=t.filter(e=>e.type!==Er);let n=t.indexOf(e);return-1!==n?n:l.value.indexOf(e)}return sr("getPickerViewColumn",function(e){return gi({get(){const t=d(e.vnode);return i.value[t]||0},set(t){const o=d(e.vnode);if(o<0)return;if(i.value[o]!==t){i.value[o]=t;const e=i.value.map(e=>e);n("update:value",e),r("change",{},{value:e})}}})}),sr("pickerViewProps",e),sr("pickerViewState",i),()=>{const e=t.default&&t.default();{const t=Xf(e);l.value=t,po(()=>{c.value=t})}return Yr("uni-picker-view",{ref:o},[Yr(Xp,{ref:s,onResize:({height:e})=>i.height=e},null,8,["onResize"]),Yr("div",{ref:a,class:"uni-picker-view-wrapper"},[e],512)],512)}}});class Cg{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 kg(e,t,n){return e>t-n&&e0){const a=(-n-Math.sqrt(r))/(2*o),i=(-n+Math.sqrt(r))/(2*o),s=(t-a*e)/(i-a),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,a*e)),n||(n=this._powER2T=Math.pow(Math.E,i*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,a*e)),n||(n=this._powER2T=Math.pow(Math.E,i*e)),l*a*t+s*i*n}}}const i=Math.sqrt(4*o*a-n*n)/(2*o),s=-n/2*o,l=e,c=(t-s*e)/i;return{x:function(e){return Math.pow(Math.E,s*e)*(l*Math.cos(i*e)+c*Math.sin(i*e))},dx:function(e){const t=Math.pow(Math.E,s*e),n=Math.cos(i*e),o=Math.sin(i*e);return t*(c*i*n-l*i*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||!Mg(t,.4)){t=t||0;let o=this._endPosition;this._solution&&(Mg(t,.4)&&(t=this._solution.dx((n-this._startTime)/1e3)),o=this._solution.x((n-this._startTime)/1e3),Mg(t,.4)&&(t=0),Mg(o,.4)&&(o=0),o+=this._endPosition),this._solution&&Mg(o-e,.4)&&Mg(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()),kg(this.x(),this._endPosition,.4)&&Mg(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 Ig{constructor(e,t,n){this._extent=e,this._friction=t||new Cg(.01),this._spring=n||new Ag(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 Rg{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 Ig(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,a){if(!t||!t.cancelled){o(n);const r=n.done();r||t.cancelled||(t.id=requestAnimationFrame(e.bind(null,t,n,o,a))),r&&a&&a(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()),v(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),v(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(v(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 a=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(),a!==this._position&&(this.dispatchScroll(),v(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}}const Eg=lu({name:"PickerViewColumn",setup(e,{slots:t,emit:n}){const o=Wn(null),a=Wn(null),r=lr("getPickerViewColumn"),i=ri(),s=r?r(i):Wn(0),l=lr("pickerViewProps"),c=lr("pickerViewState"),d=Wn(34),u=Wn(null);Aa(()=>{const e=u.value;d.value=e.$el.offsetHeight});const h=gi(()=>(c.height-d.value)/2),{state:m}=Nf();let p;const f=Mn({current:s.value,length:0});let g;function y(){p&&!g&&(g=!0,po(()=>{g=!1;let e=Math.min(f.current,f.length-1);e=Math.max(e,0),p.update(e*d.value,void 0,d.value)}))}Ho(()=>s.value,e=>{e!==f.current&&(f.current=e,y())}),Ho(()=>f.current,e=>s.value=e),Ho([()=>d.value,()=>f.length,()=>c.height],y);let v=0;function b(e){const t=v+e.deltaY;if(Math.abs(t)>10){v=0;let e=Math.min(f.current+(t<0?-1:1),f.length-1);f.current=e=Math.max(e,0),p.scrollTo(e*d.value)}else v=t;e.preventDefault()}function _({clientY:e}){const t=o.value;if(!p.isScrolling()){const n=e-t.getBoundingClientRect().top-c.height/2,o=d.value/2;if(!(Math.abs(n)<=o)){const e=Math.ceil((Math.abs(n)-o)/d.value),t=n<0?-e:e;let a=Math.min(f.current+t,f.length-1);f.current=a=Math.max(a,0),p.scrollTo(a*d.value)}}}const w=()=>{const e=o.value,t=a.value,{scroller:n,handleTouchStart:r,handleTouchMove:i,handleTouchEnd:s}=function(e,t){const n={trackingID:-1,maxDy:0,maxDx:0},o=new Rg(e,t);function a(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,a=e;"start"===t.detail.state?(n.trackingID="touch",n.x=t.detail.x,n.y=t.detail.y):(n.trackingID="mouse",n.x=a.screenX,n.y=a.screenY),n.maxDx=0,n.maxDy=0,n.historyX=[0],n.historyY=[0],n.historyTime=[t.detail.timeStamp||a.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=a(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=a(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,a=n.historyTime[t],r=n.historyX[t],i=n.historyY[t];t>0;){t--;const e=a-n.historyTime[t];if(e>30&&e<50){o.x=(r-n.historyX[t])/(e/1e3),o.y=(i-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:d.value,friction:new Cg(1e-4),spring:new Ag(2,90,20),onSnap:e=>{isNaN(e)||e===f.current||(f.current=e)}});p=n,ag(e,e=>{switch(e.detail.state){case"start":r(e);break;case"move":i(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),y()};return Aa(w),()=>{const e=t.default&&t.default();f.length=Xf(e).length;const n=`${h.value}px 0`;return Yr("uni-picker-view-column",{ref:o},[Yr("div",{onWheel:b,onClick:_,class:"uni-picker-view-group"},[Yr("div",ei(m.attrs,{class:["uni-picker-view-mask",l.maskClass],style:`background-size: 100% ${h.value}px;${l.maskStyle}`}),null,16),Yr("div",ei(m.attrs,{class:["uni-picker-view-indicator",l.indicatorClass],style:l.indicatorStyle}),[Yr(Xp,{ref:u,onResize:({height:e})=>d.value=e},null,8,["onResize"])],16),Yr("div",{ref:a,class:["uni-picker-view-content"],style:{padding:n,"--picker-view-column-indicator-height":`${d.value}px`}},[e],4)],40,["onWheel","onClick"])],512)}}}),Pg=ae,Lg="backwards",Og=lu({name:"Progress",props:{percent:{type:[Number,String],default:0,validator:e=>!isNaN(parseFloat(e))},fontSize:{type:[String,Number],default:16},showInfo:{type:[Boolean,String],default:!1},strokeWidth:{type:[Number,String],default:6,validator:e=>!isNaN(parseFloat(e))},color:{type:String,default:Pg},activeColor:{type:String,default:Pg},backgroundColor:{type:String,default:"#EBEBEB"},active:{type:[Boolean,String],default:!1},activeMode:{type:String,default:Lg},duration:{type:[Number,String],default:30,validator:e=>!isNaN(parseFloat(e))},borderRadius:{type:[Number,String],default:0}},setup(e){const t=Wn(null),n=function(e){const t=Wn(0),n=gi(()=>`background-color: ${e.backgroundColor}; height: ${md(e.strokeWidth)}px;`),o=gi(()=>{const n=e.color!==Pg&&e.activeColor===Pg?e.color:e.activeColor;return`width: ${t.value}%;background-color: ${n}`}),a=gi(()=>{if("string"==typeof e.percent&&!/^-?\d*\.?\d*$/.test(e.percent))return 0;let t=parseFloat(e.percent);return Number.isNaN(t)||t<0?t=0:t>100&&(t=100),t}),r=Mn({outerBarStyle:n,innerBarStyle:o,realPercent:a,currentPercent:t,strokeTimer:0,lastPercent:0});return r}(e);return Bg(n,e),Ho(()=>n.realPercent,(t,o)=>{n.strokeTimer&&clearInterval(n.strokeTimer),n.lastPercent=o||0,Bg(n,e)}),()=>{const{showInfo:o}=e,{outerBarStyle:a,innerBarStyle:r,currentPercent:i}=n;return Yr("uni-progress",{class:"uni-progress",ref:t},[Yr("div",{style:a,class:"uni-progress-bar"},[Yr("div",{style:r,class:"uni-progress-inner-bar"},null,4)],4),o?Yr("p",{class:"uni-progress-info"},[i+"%"]):""],512)}}});function Bg(e,t){t.active?(e.currentPercent=t.activeMode===Lg?0:e.lastPercent,e.strokeTimer=setInterval(()=>{e.currentPercent+1>e.realPercent?(e.currentPercent=e.realPercent,e.strokeTimer&&clearInterval(e.strokeTimer)):e.currentPercent+=1},parseFloat(t.duration))):e.currentPercent=e.realPercent}const Ng={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:""},Dg={amp:"&",gt:">",lt:"<",nbsp:" ",quot:'"',apos:"'",ldquo:"“",rdquo:"”",yen:"¥",radic:"√",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",hellip:"…"};const Vg=(e,t,n)=>!n||f(n)&&!n.length?[]:n.map(n=>{var o;if(C(n)){if(!p(n,"type")||"node"===n.type){let a={[e]:""};const r=null==(o=n.name)?void 0:o.toLowerCase();if(!p(Ng,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]=Rp(o))}}(r,n.attrs),a=u(a,function(e,t){if(["a","img"].includes(e.name)&&t)return{onClickCapture:n=>{t(n,{node:e}),n.stopPropagation(),n.preventDefault(),n.returnValue=!1}}}(n,t),n.attrs),yi(n.name,a,Vg(e,t,n.children))}return"text"===n.type&&b(n.text)&&""!==n.text?Gr((n.text||"").replace(/&(([a-zA-Z]+)|(#x{0,1}[\da-zA-Z]+));/gi,function(e,t){return p(Dg,t)&&Dg[t]?Dg[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 $g(e){e=function(e){return e.replace(/<\?xml.*\?>\n/,"").replace(/\n/,"").replace(/\n/,"")}(e);const t=[],n={children:[]};return function(e,t){var n,o,a,r=[],i=e;for(r.last=function(){return this[this.length-1]};e;){if(o=!0,r.last()&&Tf[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 a=r.length-1;a>=o;a--)t.end&&t.end(r[a]);r.length=o}}c()}(e,{start:function(e,o,a){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)),a){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 jg=lu({name:"RichText",compatConfig:{MODE:3},props:{nodes:{type:[Array,String],default:function(){return[]}}},emits:["itemclick"],setup(e,{emit:t}){const n=ri(),o=n&&n.vnode.scopeId||"",a=Wn(null),r=Wn([]),i=uu(a,t);function s(e,t={}){i("itemclick",e,t)}return Ho(()=>e.nodes,function(){let t=e.nodes;b(t)&&(t=$g(e.nodes)),r.value=Vg(o,s,t)},{immediate:!0,deep:!0}),()=>yi("uni-rich-text",{ref:a},yi("div",{},r.value))}}),zg=lu({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=Wn(null),o=gi(()=>{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}),a=gi(()=>{const t=e.refresherHeight/e.refresherThreshold;return 360*(t>1?1:t)});return()=>{const{refreshState:r,refresherDefaultStyle:i,refresherThreshold:s}=e;return Yr("div",{ref:n,style:o.value,class:"uni-scroll-view-refresher"},["none"!==i?Yr("div",{class:"uni-scroll-view-refresh"},[Yr("div",{class:"uni-scroll-view-refresh-inner"},["pulling"==r?Yr("svg",{key:"refresh__icon",style:{transform:"rotate("+a.value+"deg)"},fill:"#2BD009",class:"uni-scroll-view-refresh__icon",width:"24",height:"24",viewBox:"0 0 24 24"},[Yr("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),Yr("path",{d:"M0 0h24v24H0z",fill:"none"},null)],4):null,"refreshing"==r?Yr("svg",{key:"refresh__spinner",class:"uni-scroll-view-refresh__spinner",width:"24",height:"24",viewBox:"25 25 50 50"},[Yr("circle",{cx:"50",cy:"50",r:"20",fill:"none",style:"color: #2bd009","stroke-width":"3"},null)]):null])]):null,"none"===i?Yr("div",{class:"uni-scroll-view-refresher-container",style:{height:`${s}px`}},[t.default&&t.default()]):null],4)}}}),Fg=tt(!0),Wg=lu({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 a=Wn(null),r=Wn(null),i=Wn(null),s=Wn(null),l=uu(a,t),{state:c,scrollTopNumber:d,scrollLeftNumber:u}=function(e){const t=gi(()=>Number(e.scrollTop)||0),n=gi(()=>Number(e.scrollLeft)||0),o=Mn({lastScrollTop:t.value,lastScrollLeft:n.value,lastScrollToUpperTime:0,lastScrollToLowerTime:0,refresherHeight:0,refreshState:""});return{state:o,scrollTopNumber:t,scrollLeftNumber:n}}(e),{realScrollX:h,realScrollY:m}=function(e,t,n,o,a,r,i,s,l){let c=!1,d=0,u=!1,h=()=>{};const m=gi(()=>e.scrollX),p=gi(()=>e.scrollY),f=gi(()=>{let t=Number(e.upperThreshold);return isNaN(t)?50:t}),g=gi(()=>{let t=Number(e.lowerThreshold);return isNaN(t)?50:t});function y(e,t){const n=i.value;let o=0,a="";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?a="translateX("+o+"px) translateZ(0)":"y"===t&&(a="translateY("+o+"px) translateZ(0)"),r.removeEventListener("transitionend",h),r.removeEventListener("webkitTransitionEnd",h),h=()=>T(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=a,r.style.webkitTransform=a}function v(e){const n=e.target;a("scroll",e,{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop,scrollHeight:n.scrollHeight,scrollWidth:n.scrollWidth,deltaX:t.lastScrollLeft-n.scrollLeft,deltaY:t.lastScrollTop-n.scrollTop}),p.value&&(n.scrollTop<=f.value&&t.lastScrollTop-n.scrollTop>0&&e.timeStamp-t.lastScrollToUpperTime>200&&(a("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&&(a("scrolltolower",e,{direction:"bottom"}),t.lastScrollToLowerTime=e.timeStamp)),m.value&&(n.scrollLeft<=f.value&&t.lastScrollLeft-n.scrollLeft>0&&e.timeStamp-t.lastScrollToUpperTime>200&&(a("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&&(a("scrolltolower",e,{direction:"right"}),t.lastScrollToLowerTime=e.timeStamp)),t.lastScrollTop=n.scrollTop,t.lastScrollLeft=n.scrollLeft}function b(t){p.value&&(e.scrollWithAnimation?y(t,"y"):i.value.scrollTop=t)}function _(t){m.value&&(e.scrollWithAnimation?y(t,"x"):i.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=i.value.getBoundingClientRect(),o=n.getBoundingClientRect();if(m.value){let n=o.left-t.left,a=i.value.scrollLeft+n;e.scrollWithAnimation?y(a,"x"):i.value.scrollLeft=a}if(p.value){let n=o.top-t.top,a=i.value.scrollTop+n;e.scrollWithAnimation?y(a,"y"):i.value.scrollTop=a}}}}function T(e,t){s.value.style.transition="",s.value.style.webkitTransition="",s.value.style.transform="",s.value.style.webkitTransform="";let n=i.value;"x"===t?(n.style.overflowX=m.value?"auto":"hidden",n.scrollLeft=e):"y"===t&&(n.style.overflowY=p.value?"auto":"hidden",n.scrollTop=e),s.value.removeEventListener("transitionend",h),s.value.removeEventListener("webkitTransitionEnd",h)}function x(n){if(e.refresherEnabled){switch(n){case"refreshing":t.refresherHeight=e.refresherThreshold,c||(c=!0,a("refresherpulling",{},{deltaY:t.refresherHeight,dy:t.refresherHeight}),a("refresherrefresh",{},{dy:C.y-S.y}),l("update:refresherTriggered",!0));break;case"restore":case"refresherabort":c=!1,t.refresherHeight=d=0,"restore"===n&&(u=!1,a("refresherrestore",{},{dy:C.y-S.y})),"refresherabort"===n&&u&&(u=!1,a("refresherabort",{},{dy:C.y-S.y}))}t.refreshState=n}}let S={x:0,y:0},C={y:e.refresherThreshold};return Aa(()=>{po(()=>{b(n.value),_(o.value)}),w(e.scrollIntoView);let r=function(e){e.preventDefault(),e.stopPropagation(),v(e)},s=null,l=function(n){if(null===S)return;let o=n.touches[0].pageX,r=n.touches[0].pageY,l=i.value;if(Math.abs(o-S.x)>Math.abs(r-S.y))if(m.value){if(0===l.scrollLeft&&o>S.x)return void(s=!1);if(l.scrollWidth===l.offsetWidth+l.scrollLeft&&oS.y)s=!1,e.refresherEnabled&&!1!==n.cancelable&&n.preventDefault();else{if(l.scrollHeight===l.offsetHeight+l.scrollTop&&r0&&(u=!0,a("refresherpulling",n,{deltaY:o,dy:o})))}},h=function(e){1===e.touches.length&&(S={x:e.touches[0].pageX,y:e.touches[0].pageY})},f=function(n){C={x:n.changedTouches[0].pageX,y:n.changedTouches[0].pageY},t.refresherHeight>=e.refresherThreshold?x("refreshing"):x("refresherabort"),S={x:0,y:0},C={x:0,y:e.refresherThreshold}};i.value.addEventListener("touchstart",h,Fg),i.value.addEventListener("touchmove",l,tt(!1)),i.value.addEventListener("scroll",r,tt(!1)),i.value.addEventListener("touchend",f,Fg),Ea(()=>{i.value.removeEventListener("touchstart",h),i.value.removeEventListener("touchmove",l),i.value.removeEventListener("scroll",r),i.value.removeEventListener("touchend",f)})}),ya(()=>{p.value&&(i.value.scrollTop=t.lastScrollTop),m.value&&(i.value.scrollLeft=t.lastScrollLeft)}),Ho(n,e=>{b(e)}),Ho(o,e=>{_(e)}),Ho(()=>e.scrollIntoView,e=>{w(e)}),Ho(()=>e.refresherTriggered,e=>{!0===e?x("refreshing"):!1===e&&x("restore")}),{realScrollX:m,realScrollY:p,_scrollTopChanged:b,_scrollLeftChanged:_}}(e,c,d,u,l,a,r,s,t),p=gi(()=>{let e="";return h.value?e+="overflow-x:auto;":e+="overflow-x:hidden;",m.value?e+="overflow-y:auto;":e+="overflow-y:hidden;",e}),f=gi(()=>{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:d}=e,{refresherHeight:u,refreshState:h}=c;return Yr("uni-scroll-view",{ref:a},[Yr("div",{ref:i,class:"uni-scroll-view"},[Yr("div",{ref:r,style:p.value,class:f.value},[t?Yr(zg,{refreshState:h,refresherHeight:u,refresherThreshold:d,refresherDefaultStyle:l,refresherBackground:o},{default:()=>["none"==l?n.refresher&&n.refresher():null]},8,["refreshState","refresherHeight","refresherThreshold","refresherDefaultStyle","refresherBackground"]):null,Yr("div",{ref:s,class:"uni-scroll-view-content"},[n.default&&n.default()],512)],6)],512)],512)}}});function Hg(e,t,n,o,a,r){function i(){c&&(clearTimeout(c),c=null)}let s,l,c=null,d=!0,u=0,h=1,m=null,p=!1,f=0,g="";const y=gi(()=>n.value.length>t.displayMultipleItems),v=gi(()=>e.circular&&y.value);function b(a){Math.floor(2*u)===Math.floor(2*a)&&Math.ceil(2*u)===Math.ceil(2*a)||v.value&&function(o){if(!d)for(let a=n.value,r=a.length,i=o+t.displayMultipleItems,s=0;s=c.length&&(a-=c.length),a=s%1>.5||s<0?a-1:a,r("transition",{},{dx:e.vertical?0:a*l.offsetWidth,dy:e.vertical?a*l.offsetHeight:0})}function _(e){const o=n.value.length;if(!o)return-1;const a=(Math.round(e)%o+o)%o;if(v.value){if(o<=t.displayMultipleItems)return 0}else if(a>o-t.displayMultipleItems)return o-t.displayMultipleItems;return a}function w(){m=null}function T(){if(!m)return void(p=!1);const e=m,o=e.toPos,a=e.acc,i=e.endTime,c=e.source,d=i-Date.now();if(d<=0){b(o),m=null,p=!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}b(o+a*d*d/2),l=requestAnimationFrame(T)}function x(e,o,a){w();const r=t.duration,i=n.value.length;let s=u;if(v.value)if(a<0){for(;se;)s-=i}else if(a>0){for(;s>e;)s-=i;for(;s+ie;)s-=i;s+i-ee.current,()=>e.currentItemId,()=>[...n.value]],()=>{let o=-1;if(e.currentItemId)for(let t=0,a=n.value;te.vertical,()=>v.value,()=>t.displayMultipleItems,()=>[...n.value]],function(){i(),m&&(b(m.toPos),m=null);const a=n.value;for(let t=0;t0&&h<1||(h=1)}const s=u;u=-2;const l=t.current;l>=0?(d=!1,t.userTracking?(b(s+l-f),f=l):(b(l),e.autoplay&&S())):(d=!0,b(-t.displayMultipleItems-1))}),Ho(()=>t.interval,()=>{c&&(i(),S())}),Ho(()=>t.current,(e,o)=>{!function(e,o){const a=g;g="";const i=n.value;if(!a){const t=i.length;x(e,"",v.value&&o+(t-e)%t>t/2?1:0)}const s=i[e];if(s){const e=t.currentItemId=s.getItemId();r("change",{},{current:t.current,currentItemId:e,source:a})}}(e,o),a("update:current",e)}),Ho(()=>t.currentItemId,e=>{a("update:currentItemId",e)}),Ho(()=>e.autoplay&&!t.userTracking,C),C(e.autoplay&&!t.userTracking),Aa(()=>{let a=!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 a=_(u+o);e?x(t.current,"",0):(g="touch",t.current=a,x(a,"touch",0!==o?o:0===a&&v.value&&u>=1?1:0))}ag(o.value,c=>{if(!e.disableTouch&&!d){if("start"===c.detail.state)return t.userTracking=!0,a=!1,i(),f=u,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(!a){a=!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&&S())}return function(a){const i=s;s=Date.now();const l=n.value.length-t.displayMultipleItems;function c(e){return.5-.25/(e+.5)}function d(e,t){let n=f+e;r=.6*r+.4*t,v.value||(n<0||n>l)&&(n<0?n=-c(-n):n>l&&(n=l+c(n-l)),r=0),b(n)}const u=s-i||1,h=o.value;e.vertical?d(-a.dy/h.offsetHeight,-a.ddy/u):d(-a.dx/h.offsetWidth,-a.ddx/u)}(c.detail),!1}}},!0)}),Pa(()=>{i(),cancelAnimationFrame(l)}),{onSwiperDotClick:function(e){x(t.current=e,g="click",v.value?1:0)},circularEnabled:v,swiperEnabled:y}}const Ug=lu({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=Wn(null),a=uu(o,n),r=Wn(null),i=Wn(null),s=function(e){return Mn({interval:gi(()=>{const t=Number(e.interval);return isNaN(t)?5e3:t}),duration:gi(()=>{const t=Number(e.duration);return isNaN(t)?500:t}),displayMultipleItems:gi(()=>{const t=Math.round(e.displayMultipleItems);return isNaN(t)?1:t}),current:Math.round(e.current)||0,currentItemId:e.currentItemId,userTracking:!1})}(e),l=gi(()=>{let t={};return(e.nextMargin||e.previousMargin)&&(t=e.vertical?{left:0,right:0,top:md(e.previousMargin,!0),bottom:md(e.nextMargin,!0)}:{top:0,bottom:0,left:md(e.previousMargin,!0),right:md(e.nextMargin,!0)}),t}),c=gi(()=>{const t=Math.abs(100/s.displayMultipleItems)+"%";return{width:e.vertical?"100%":t,height:e.vertical?t:"100%"}});let d=[];const u=[],h=Wn([]);function m(){const e=[];for(let t=0;tn===e.rootRef.value);o&&e.push(Nn(o))}h.value=e}sr("addSwiperContext",function(e){u.push(e),m()});sr("removeSwiperContext",function(e){const t=u.indexOf(e);t>=0&&(u.splice(t,1),m())});const{onSwiperDotClick:p,circularEnabled:f,swiperEnabled:g}=Hg(e,s,h,i,n,a);let y=()=>null;return y=qg(o,e,s,p,h,f,g),()=>{const n=t.default&&t.default();return d=Xf(n),Yr("uni-swiper",{ref:o},[Yr("div",{ref:r,class:"uni-swiper-wrapper"},[Yr("div",{class:"uni-swiper-slides",style:l.value},[Yr("div",{ref:i,class:"uni-swiper-slide-frame",style:c.value},[n],4)],4),e.indicatorDots&&Yr("div",{class:["uni-swiper-dots",e.vertical?"uni-swiper-dots-vertical":"uni-swiper-dots-horizontal"]},[h.value.map((t,n,o)=>Yr("div",{onClick:()=>p(n),class:{"uni-swiper-dot":!0,"uni-swiper-dot-active":n=s.current||n{let s=!1,l=!1,c=!1,d=Wn(!1);function h(e,n){const o=e.currentTarget;o&&(o.style.backgroundColor="over"===n?t.navigationActiveColor:"")}Fo(()=>{s="auto"===t.navigation,d.value=!0!==t.navigation||s,b()}),Fo(()=>{const e=a.value.length,t=!r.value;l=0===n.current&&t,c=n.current===e-1&&t||t&&n.current+n.displayMultipleItems>=e,i.value||(l=!0,c=!0,s&&(d.value=!0))});const m={onMouseover:e=>h(e,"over"),onMouseout:e=>h(e,"out")};function p(e,t,i){if(e.stopPropagation(),i)return;const s=a.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 f=()=>bd(vd,t.navigationColor,26);let g;const y=n=>{clearTimeout(g);const{clientX:o,clientY:a}=n,{left:r,right:i,top:s,bottom:l,width:c,height:u}=e.value.getBoundingClientRect();let h=!1;if(h=t.vertical?!(a-s{d.value=h},300);d.value=h},v=()=>{d.value=!0};function b(){e.value&&(e.value.removeEventListener("mousemove",y),e.value.removeEventListener("mouseleave",v),s&&(e.value.addEventListener("mousemove",y),e.value.addEventListener("mouseleave",v)))}return Aa(b),function(){const e={"uni-swiper-navigation-hide":d.value,"uni-swiper-navigation-vertical":t.vertical};return t.navigation?Yr(Ir,null,[Yr("div",ei({class:["uni-swiper-navigation uni-swiper-navigation-prev",u({"uni-swiper-navigation-disabled":l},e)],onClick:e=>p(e,"prev",l)},m),[f()],16,["onClick"]),Yr("div",ei({class:["uni-swiper-navigation uni-swiper-navigation-next",u({"uni-swiper-navigation-disabled":c},e)],onClick:e=>p(e,"next",c)},m),[f()],16,["onClick"])]):null}},Yg=lu({name:"SwiperItem",props:{itemId:{type:String,default:""}},setup(e,{slots:t}){const n=Wn(null),o={rootRef:n,getItemId:()=>e.itemId,getBoundingClientRect:()=>n.value.getBoundingClientRect(),updatePosition(e,t){const o=t?"0":100*e+"%",a=t?100*e+"%":"0",r=n.value,i=`translate(${o},${a}) translateZ(0)`;r&&(r.style.webkitTransform=i,r.style.transform=i)}};return Aa(()=>{const e=lr("addSwiperContext");e&&e(o)}),Pa(()=>{const e=lr("removeSwiperContext");e&&e(o)}),()=>Yr("uni-swiper-item",{ref:n,style:{position:"absolute",width:"100%",height:"100%"}},[t.default&&t.default()],512)}}),Zg=lu({name:"Switch",props:{name:{type:String,default:""},checked:{type:[Boolean,String],default:!1},type:{type:String,default:"switch"},id:{type:String,default:""},disabled:{type:[Boolean,String],default:!1},color:{type:String,default:""}},emits:["change"],setup(e,{emit:t}){const n=Wn(null),o=Wn(e.checked),a=function(e,t){const n=lr(fu,!1),o=lr(yu,!1),a={submit:()=>{const n=["",null];return e.name&&(n[0]=e.name,n[1]=t.value),n},reset:()=>{t.value=!1}};n&&(n.addField(a),Pa(()=>{n.removeField(a)}));return o}(e,o),r=uu(n,t);Ho(()=>e.checked,e=>{o.value=e});const i=t=>{e.disabled||(o.value=!o.value,r("change",t,{value:o.value}))};return a&&(a.addHandler(i),Ea(()=>{a.removeHandler(i)})),vu(e,{"label-click":i}),()=>{const{color:t,type:a}=e,r=pu(e,"disabled"),s={};let l;return t&&o.value&&(s.backgroundColor=t,s.borderColor=t),l=o.value,Yr("uni-switch",ei({id:e.id,ref:n},r,{onClick:i}),[Yr("div",{class:"uni-switch-wrapper"},[Go(Yr("div",{class:["uni-switch-input",[o.value?"uni-switch-input-checked":""]],style:s},null,6),[[ji,"switch"===a]]),Go(Yr("div",{class:"uni-checkbox-input"},[l?bd(gd,e.color,22):""],512),[[ji,"checkbox"===a]])])],16,["id","onClick"])}}});const Gg={ensp:" ",emsp:" ",nbsp:" "};function Qg(e,t){return function(e,{space:t,decode:n}){let o="",a=!1;for(let r of e)t&&Gg[t]&&" "===r&&(r=Gg[t]),a?(o+="n"===r?ne:"\\"===r?"\\":"\\"+r,a=!1):"\\"===r?a=!0:o+=r;return n?o.replace(/ /g,Gg.nbsp).replace(/ /g,Gg.ensp).replace(/ /g,Gg.emsp).replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&").replace(/"/g,'"').replace(/'/g,"'"):o}(e,t).split(ne)}const Jg=lu({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=Wn(null);return()=>{const o=[];return t.default&&t.default().forEach(t=>{if(8&t.shapeFlag&&t.type!==Er){let n=[];n=Qg(t.children,{space:e.space,decode:e.decode});const a=n.length-1;n.forEach((e,t)=>{(0!==t||e)&&o.push(Gr(e)),t!==a&&o.push(Yr("br"))})}else o.push(t)}),Yr("uni-text",{ref:n,selectable:!!e.selectable||null},[Yr("span",null,o)],8,["selectable"])}}}),Xg=u({},jf,{placeholderClass:{type:String,default:"input-placeholder"},autoHeight:{type:[Boolean,String],default:!1},confirmType:{type:String,default:"return",validator:e=>ey.concat("return").includes(e)}});let Kg=!1;const ey=["done","go","next","search","send"];const ty=lu({name:"Textarea",props:Xg,emits:["confirm","change","linechange",...zf],setup(e,{emit:t,expose:n}){const o=Wn(null),a=Wn(null),{fieldRef:r,state:i,scopedAttrsState:s,fixDisabledColor:l,trigger:c}=Hf(e,o,t),d=gi(()=>i.value.split(ne)),u=gi(()=>ey.includes(e.confirmType)),h=Wn(0),m=Wn(null);function p({height:e}){h.value=e}function f(e){}function g(e){"Enter"===e.key&&u.value&&e.preventDefault()}function y(t){if("Enter"===t.key&&u.value){!function(e){c("confirm",e,{value:i.value})}(t);const n=t.target;!e.confirmHold&&n.blur()}}return Ho(()=>h.value,t=>{const n=o.value,r=m.value,i=a.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&&(i.style.height=t+"px")}),function(){const e="(prefers-color-scheme: dark)";Kg=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),i.value=e.value}}),()=>{let t=e.disabled&&l?Yr("textarea",{key:"disabled-textarea",ref:r,value:i.value,tabindex:"-1",readonly:!!e.disabled,maxlength:i.maxlength,class:{"uni-textarea-textarea":!0,"uni-textarea-textarea-fix-margin":Kg},style:{overflowY:e.autoHeight?"hidden":"auto",...e.cursorColor&&{caretColor:e.cursorColor}},onFocus:e=>e.target.blur()},null,46,["value","readonly","maxlength","onFocus"]):Yr("textarea",{key:"textarea",ref:r,value:i.value,disabled:!!e.disabled,maxlength:i.maxlength,enterkeyhint:e.confirmType,inputmode:e.inputmode,class:{"uni-textarea-textarea":!0,"uni-textarea-textarea-fix-margin":Kg},style:{overflowY:e.autoHeight?"hidden":"auto",...e.cursorColor&&{caretColor:e.cursorColor}},onKeydown:g,onKeyup:y,onChange:f},null,46,["value","disabled","maxlength","enterkeyhint","inputmode","onKeydown","onKeyup","onChange"]);return Yr("uni-textarea",{ref:o,"auto-height":e.autoHeight},[Yr("div",{ref:a,class:"uni-textarea-wrapper"},[Go(Yr("div",ei(s.attrs,{style:e.placeholderStyle,class:["uni-textarea-placeholder",e.placeholderClass]}),[e.placeholder],16),[[ji,!i.value.length]]),Yr("div",{ref:m,class:"uni-textarea-line"},[" "],512),Yr("div",{class:{"uni-textarea-compute":!0,"uni-textarea-compute-auto-height":e.autoHeight}},[d.value.map(e=>Yr("div",null,[e.trim()?e:"."])),Yr(Xp,{initial:!0,onResize:p},null,8,["initial","onResize"])],2),"search"===e.confirmType?Yr("form",{action:"",onSubmit:()=>!1,class:"uni-input-form"},[t],40,["onSubmit"]):t],512)],8,["auto-height"])}}}),ny=lu({name:"View",props:u({},hu),setup(e,{slots:t}){const n=Wn(null),{hovering:o,binding:a}=mu(e);return()=>{const r=e.hoverClass;return r&&"none"!==r?Yr("uni-view",ei({class:o.value?r:"",ref:n},a),[Va(t,"default")],16):Yr("uni-view",{ref:n},[Va(t,"default")],512)}}});function oy(e,t){if(t||(t=e.id),t)return e.$options.name.toLowerCase()+"."+t}function ay(e,t,n){e&&Oc(n||Sd(),e,({type:e,data:n},o)=>{t(e,n,o)})}function ry(e,t){e&&function(e,t){t=Lc(e,t),delete Pc[t]}(t||Sd(),e)}function iy(e,t,n,o){const a=ri().proxy;o=null==o?_d():o,Aa(()=>{ay(t||oy(a),e,o),Ho(()=>a.id,(t,n)=>{ay(oy(a,t),e,o),ry(n&&oy(a,n))})}),Ea(()=>{ry(t||oy(a),o)})}let sy=0;function ly(e){const t=_d(),n=ri().proxy,o=n.$options.name.toLowerCase(),a=e||n.id||"context"+sy++;return Aa(()=>{n.$el.__uniContextInfo={id:a,type:o,page:t}}),`${o}.${a}`}function cy(e,t,n,o){v(t)&&Ca(e,t.bind(n),o)}function dy(e,t,n){const o=e.mpType||n.$mpType;if(o&&"component"!==o&&("page"!==o||"component"!==t.renderer)&&(Object.keys(e).forEach(o=>{if(function(e,t,n=!0){return!(n&&!v(t))&&(dt.indexOf(e)>-1||0===e.indexOf("on"))}(o,e[o],!1)){const a=e[o];f(a)?a.forEach(e=>cy(o,e,n,t)):cy(o,a,n,t)}}),"page"===o)){t.__isVisible=!0;try{let e=t.attrs.__pageQuery;0,Id(n,pe,e),t.vapor||delete t.attrs.__pageQuery;const o=n.$page;"preloadPage"!==(null==o?void 0:o.openType)&&Id(n,se)}catch(VR){console.error(VR.message+ne+VR.stack)}}}function uy(e,t,n){dy(e,t,n)}function hy(e,t,n){return e[t]=n}function my(e,...t){const n=this[e];return n?n(...t):(console.error(`method ${e} not found`),null)}function py(e){const t=e.config.errorHandler;return function(n,o,a){t&&t(n,o,a);const r=e._instance;if(!r||!r.proxy)throw n;r[de]?Id(r.proxy,de,n):oo(n,0,o&&o.$.vnode,!1)}}function fy(e,t){return e?[...new Set([].concat(e,t))]:t}function gy(e){const t=e.config;var n;t.errorHandler=ht(e,py),n=t.optionMergeStrategies,dt.forEach(e=>{n[e]=fy});const o=t.globalProperties;o.$set=hy,o.$applyOptions=uy,o.$callMethod=my,function(e){ut.forEach(t=>t(e))}(e)}function yy(e){const t=Jl({history:_y(),strict:!!__uniConfig.router.strict,routes:__uniRoutes,scrollBehavior:by});t.beforeEach((e,t)=>{var n;e&&t&&e.meta.isTabBar&&t.meta.isTabBar&&(n=t.meta.tabBarIndex,"undefined"!=typeof window&&(vy[n]={left:window.pageXOffset,top:window.pageYOffset}))}),e.router=t,e.use(t)}let vy=Object.create(null);const by=(e,t,n)=>{if(n)return n;if(e&&t&&e.meta.isTabBar&&t.meta.isTabBar){const t=(o=e.meta.tabBarIndex,vy[o]);if(t)return t}return{left:0,top:0};var o};function _y(){let{routerBase:e}=__uniConfig.router;"/"===e&&(e="");const t=dl(e);return t.listen((e,t,n)=>{"back"===n.direction&&function(e=1){const t=pp(),n=t.length-1,o=n-e;for(let a=n;a>o;a--){const e=ip(t[a]);fp(bp(e.path,e.id),!1)}}(Math.abs(n.delta))}),t}const wy={install(e){gy(e),qd(e),ou(e),e.config.warnHandler||(e.config.warnHandler=Ty),yy(e)}};function Ty(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 xy={class:"uni-async-loading"},Sy=Yr("i",{class:"uni-loading"},null,-1),Cy=cu({name:"AsyncLoading",render:()=>(Br(),jr("div",xy,[Sy]))});function ky(){window.location.reload()}const My=cu({name:"AsyncError",props:["error"],setup(){wc();const{t:e}=bc();return()=>Yr("div",{class:"uni-async-error",onClick:ky},[e("uni.async.error")],8,["onClick"])}});let Ay;function Iy(){return Ay}function Ry(e){Ay=e,Object.defineProperty(Ay.$.ctx,"$children",{get:()=>pp().map(e=>e.$vm)});const t=Ay.$.appContext.app;t.component(Cy.name)||t.component(Cy.name,Cy),t.component(My.name)||t.component(My.name,My),function(e){e.$vm=e,e.$mpType="app";const t=Wn(bc().getLocale());Object.defineProperty(e,"$locale",{get:()=>t.value,set(e){t.value=e}})}(Ay),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}})}(Ay),tu(),Nd()}function Ey(e,{type:t,clone:n,init:o,setup:a,before:r,options:i}){n&&(e=u({},e)),r&&r(e);const s=e.setup;return e.setup=(e,t)=>{const n=ri();if(o(n.proxy),a(n),s)return s(e,t)},e}function Py(e,t){return e&&(e.__esModule||"Module"===e[Symbol.toStringTag])?Ey(e.default,t):Ey(e,t)}function Ly(e,t){return Py(e,{type:"page",clone:!0,init:vp,setup(e){e.$pageInstance=e;const t=Cu(),n=at(t.query);e.attrs.__pageQuery=n,ip(e.proxy).options=n,e.proxy.options=n;const o=xu();var a;np(o),e.onReachBottom=Mn([]),e.onPageScroll=Mn([]),Ho([e.onReachBottom,e.onPageScroll],()=>{const t=Td();e.proxy===t&&Ap(e,o)},{once:!0}),Ma(()=>{Tp(e,o)}),Aa(()=>{xp(e);const{onReady:n}=e;n&&N(n),Dy(t)}),ba(()=>{if(!e.__isVisible){Tp(e,o),e.__isVisible=!0;const{onShow:n}=e;n&&N(n),po(()=>{Dy(t)})}},"ba",a),function(e,t){ba(e,"bda",t)}(()=>{if(e.__isVisible&&!e.__isUnload){e.__isVisible=!1;{const{onHide:t}=e;t&&N(t)}}});const r=Ad(e.proxy);return function(e){Wb.subscribe(Lc(e,Ic),Bc)}(r),Ea(()=>{!function(e){Wb.unsubscribe(Lc(e,Ic)),Object.keys(Pc).forEach(t=>{0===t.indexOf(e+".")&&delete Pc[t]})}(r)}),n}})}function Oy(){const{windowWidth:e,windowHeight:t,screenWidth:n,screenHeight:o}=ov(),a=90===Math.abs(Number(window.orientation))?"landscape":"portrait";Hb.emit(we,{deviceOrientation:a,size:{windowWidth:e,windowHeight:t,screenWidth:n,screenHeight:o}})}function By(e){C(e.data)&&"WEB_INVOKE_APPSERVICE"===e.data.type&&Hb.emit($e,e.data.data,e.data.pageId)}function Ny(){const{emit:e}=Hb;"visible"===document.visibilityState?e(De,u({},Jp)):e(Ve)}function Dy(e){const{tabBarText:t,tabBarIndex:n,route:o}=e.meta;t&&Id("onTabItemTap",{index:n,text:t,pagePath:o})}function Vy(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),a=(t<10?"0":"")+t;let r=(n<10?"0":"")+n+":"+((o<10?"0":"")+o);return"00"!==a&&(r=a+":"+r),r}function $y(e,t,n,o){const a=Mn({seeking:!1,gestureType:"none",volumeOld:0,volumeNew:0,currentTimeOld:0,currentTimeNew:0,toastThin:!1}),r={x:0,y:0};let i=null;let s;return{state:a,onTouchstart:function(e){const t=e.targetTouches[0];r.x=t.pageX,r.y=t.pageY,a.gestureType="none",a.volumeOld=0},onTouchmove:function(l){function c(){l.stopPropagation(),l.preventDefault()}o.fullscreen&&c();const d=a.gestureType;if("stop"===d)return;const u=l.targetTouches[0],h=u.pageX,m=u.pageY,p=r,f=n.value;if("progress"===d?(!function(e){const n=t.currentDuration;let o=e/600*n+a.currentTimeOld;o<0?o=0:o>n&&(o=n);a.currentTimeNew=o}(h-p.x),a.seeking=!0):"volume"===d&&function(e){const t=n.value,o=a.volumeOld;let r;"number"==typeof o&&(r=o-e/200,r<0?r=0:r>1&&(r=1),clearTimeout(s),s=void 0,null==s&&(s=setTimeout(()=>{a.toastThin=!1,s=void 0},1e3)),t.volume=r,a.volumeNew=r)}(m-p.y),"none"===d)if(Math.abs(h-p.x)>Math.abs(m-p.y)){if(!e.enableProgressGesture)return void(a.gestureType="stop");a.gestureType="progress",a.currentTimeOld=a.currentTimeNew=f.currentTime,o.fullscreen||c()}else{if(!e.pageGesture&&!e.vslideGesture)return void(a.gestureType="stop");"none"!==a.gestureType&&null!=i||(i=setTimeout(()=>{a.toastThin=!0},500)),a.gestureType="volume",a.volumeOld=f.volume,o.fullscreen||c()}},onTouchend:function(e){const t=n.value;"none"!==a.gestureType&&"stop"!==a.gestureType&&(e.stopPropagation(),e.preventDefault()),"progress"===a.gestureType&&a.currentTimeOld!==a.currentTimeNew&&(t.currentTime=a.currentTimeNew),a.gestureType="none"}}}const jy=lu({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},vslideGesture:{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 a=Wn(null),r=Wn(null),i=uu(a,t),{state:s}=Bf(),{$attrs:l}=Jf({excludeListeners:!0});Mc();const{videoRef:c,state:d,play:u,pause:h,stop:m,seek:p,playbackRate:g,toggle:y,onDurationChange:v,onLoadedMetadata:b,onProgress:_,onWaiting:w,onVideoError:T,onPlay:x,onPause:S,onEnded:C,onTimeUpdate:k}=function(e,t,n){const o=Wn(null),a=gi(()=>Rp(e.src)),r=gi(()=>"true"===e.muted||!0===e.muted),i=Mn({start:!1,src:a,playing:!1,currentTime:0,duration:0,currentDuration:0,progress:0,buffered:0,muted:r,pauseUpdatingCurrentTime:!1});function s(e){const t=e.target,n=t.buffered;n.length&&(i.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 Ho(()=>a.value,()=>{i.playing=!1,i.currentTime=0}),Ho(()=>i.buffered,e=>{n("progress",{},{buffered:e})}),Ho(()=>r.value,e=>{o.value.muted=e}),Ho([()=>i.duration,()=>e.duration],()=>{let t=Number(e.duration);isNaN(t)&&(t=0),i.currentDuration=t>0?t:i.duration}),{videoRef:o,state:i,play:function(){const e=o.value;i.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;i.playing?e.pause():e.play()},onDurationChange:function({target:e}){i.duration=e.duration},onLoadedMetadata:function(t){const o=Number(e.initialTime)||0,a=t.target;o>0&&(a.currentTime=o),n("loadedmetadata",t,{width:a.videoWidth,height:a.videoHeight,duration:a.duration}),s(t)},onProgress:s,onWaiting:function(e){n("waiting",e,{})},onVideoError:function(e){i.playing=!1,n("error",e,{})},onPlay:function(e){i.start=!0,i.playing=!0,n("play",e,{})},onPause:function(e){i.playing=!1,n("pause",e,{})},onEnded:function(e){i.playing=!1,n("ended",e,{})},onTimeUpdate:function(e){const t=e.target;i.pauseUpdatingCurrentTime||(i.currentTime=t.currentTime);const o=t.currentTime;n("timeupdate",e,{currentTime:o,duration:t.duration})}}}(e,0,i),{state:M,danmuRef:A,updateDanmu:I,toggleDanmu:R,sendDanmu:E}=function(e,t){const n=Wn(null),o=Mn({enable:Boolean(e.enableDanmu)});let a={time:0,index:-1};const r=f(e.danmuList)?JSON.parse(JSON.stringify(e.danmuList)):[];function i(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=a,l={time:n,index:s.index};if(n>s.time)for(let a=s.index+1;a=(e.time||0)))break;l.index=a,t.playing&&o.enable&&i(e)}else if(n-1&&n<=(r[t].time||0);t--)l.index=t-1;a=l},toggleDanmu:function(){o.enable=!o.enable},sendDanmu:function(e){r.splice(a.index+1,0,{text:String(e.text),color:e.color,time:t.currentTime||0})}}}(e,d),{state:P,onFullscreenChange:L,emitFullscreenChange:O,toggleFullscreen:B,requestFullScreen:N,exitFullScreen:D}=function(e,t,n,o,a){const r=Mn({fullscreen:!1}),i=/^Apple/.test(navigator.vendor);function s(t){r.fullscreen=t,e("fullscreenchange",{},{fullScreen:t,direction:"vertical"})}function l(e){const r=a.value,l=t.value,c=n.value;let d;e?!document.fullscreenEnabled&&!document.webkitFullscreenEnabled||i&&!o.userAction?c.webkitEnterFullScreen?c.webkitEnterFullScreen():(d=!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():(d=!0,l.remove(),l.classList.remove("uni-video-type-fullscreen"),r.appendChild(l)),d&&s(e)}function c(){l(!1)}return Ea(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}}(i,r,c,s,a),{state:V,onTouchstart:$,onTouchend:j,onTouchmove:z}=$y(e,d,c,P),{state:F,progressRef:W,ballRef:H,clickProgress:U,toggleControls:q}=function(e,t,n,o){const a=Wn(null),r=Wn(null),i=gi(()=>e.showCenterPlayBtn&&!t.start),s=Wn(!0),l=gi(()=>!i.value&&e.controls&&s.value),c=Mn({seeking:!1,touching:!1,controlsTouching:!1,centerPlayBtnShow:i,controlsShow:l,controlsVisible:s});let d;function u(){d=setTimeout(()=>{c.controlsVisible=!1},3e3)}function h(){d&&(clearTimeout(d),d=null)}return Ea(()=>{d&&clearTimeout(d)}),Ho(()=>c.controlsShow&&t.playing&&!c.controlsTouching,e=>{e?u():h()}),Aa(()=>{const e=tt(!1);let i,s,l,d=!0;const u=r.value;function h(e){const n=e.targetTouches[0],r=n.pageX,u=n.pageY;if(d&&Math.abs(r-i)100&&(p=100),t.progress=p,null==o||o(t.currentDuration*p/100),c.seeking=!0,e.preventDefault(),e.stopPropagation()}function m(o){c.controlsTouching=!1,c.touching&&(u.removeEventListener("touchmove",h,e),d||(o.preventDefault(),o.stopPropagation(),n(t.currentDuration*t.progress/100)),c.touching=!1)}u.addEventListener("touchstart",n=>{c.controlsTouching=!0;const o=n.targetTouches[0];i=o.pageX,s=o.pageY,l=t.progress,d=!0,c.touching=!0,u.addEventListener("touchmove",h,e)}),u.addEventListener("touchend",m),u.addEventListener("touchcancel",m)}),{state:c,progressRef:a,ballRef:r,clickProgress:function(e){const o=a.value;let r=e.target,i=e.offsetX;for(;r&&r!==o;)i+=r.offsetLeft,r=r.parentNode;const s=o.offsetWidth;let l=0;i>=0&&i<=s&&(l=i/s,n(t.currentDuration*l))},toggleControls:function(){c.controlsVisible=!c.controlsVisible},autoHideStart:u,autoHideEnd:h}}(e,d,p,e=>{V.currentTimeNew=e});!function(e,t,n,o,a,r,i,s){const l={play:e,stop:n,pause:t,seek:o,sendDanmu:a,playbackRate:r,requestFullScreen:i,exitFullScreen:s};iy((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)},ly())}(u,h,m,p,E,g,N,D);const Y=function(e,t,n){const o=gi(()=>"progress"===t.gestureType||n.touching);return Ho(o,o=>{e.pauseUpdatingCurrentTime=o,n.controlsTouching=o,"progress"===t.gestureType&&o&&(n.controlsVisible=o)}),Ho([()=>e.currentTime,()=>e.currentDuration],()=>{e.currentDuration>0?e.progress=e.currentTime/e.currentDuration*100:e.progress=0,e.progress>100&&(e.progress=100)},{immediate:!0}),Ho(()=>t.currentTimeNew,t=>{e.currentTime=t}),o}(d,V,F);return()=>Yr("uni-video",{ref:a,id:e.id,onClick:q},[Yr("div",{ref:r,class:"uni-video-container",onTouchstart:$,onTouchend:j,onTouchmove:z,onFullscreenchange:ms(L,["stop"]),onWebkitfullscreenchange:ms(e=>L(e,!0),["stop"])},[Yr("video",ei({ref:c,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":!0,"uni-video-video-fullscreen":P.fullscreen},"webkit-playsinline":!0,playsinline:!0,onDurationchange:v,onLoadedmetadata:b,onProgress:_,onWaiting:w,onError:T,onPlay:x,onPause:S,onEnded:C,onTimeupdate:e=>{k(e),I(e)},onWebkitbeginfullscreen:()=>O(!0),onX5videoenterfullscreen:()=>O(!0),onWebkitendfullscreen:()=>O(!1),onX5videoexitfullscreen:()=>O(!1)}),null,16,["muted","loop","src","poster","autoplay","webkit-playsinline","playsinline","onDurationchange","onLoadedmetadata","onProgress","onWaiting","onError","onPlay","onPause","onEnded","onTimeupdate","onWebkitbeginfullscreen","onX5videoenterfullscreen","onWebkitendfullscreen","onX5videoexitfullscreen"]),Go(Yr("div",{class:"uni-video-bar uni-video-bar-full",onClick:ms(()=>{},["stop"])},[Yr("div",{class:"uni-video-controls"},[Go(Yr("div",{class:{"uni-video-icon":!0,"uni-video-control-button":!0,"uni-video-control-button-play":!d.playing,"uni-video-control-button-pause":d.playing},onClick:ms(y,["stop"])},null,10,["onClick"]),[[ji,e.showPlayBtn]]),Go(Yr("div",{class:"uni-video-current-time"},[Vy(d.currentTime)],512),[[ji,e.showProgress]]),Go(Yr("div",{ref:W,class:"uni-video-progress-container",onClick:ms(U,["stop"])},[Yr("div",{class:{"uni-video-progress":!0,"uni-video-progress-progressing":Y.value}},[Yr("div",{style:{width:d.buffered-d.progress+"%",left:d.progress+"%"},class:"uni-video-progress-buffered"},null,4),Yr("div",{style:{width:d.progress+"%"},class:"uni-video-progress-played"},null,4),Yr("div",{ref:H,style:{left:d.progress+"%"},class:{"uni-video-ball":!0,"uni-video-ball-progressing":Y.value}},[Yr("div",{class:"uni-video-inner"},null)],6)],2)],8,["onClick"]),[[ji,e.showProgress]]),Go(Yr("div",{class:"uni-video-duration"},[Vy(d.currentDuration)],512),[[ji,e.showProgress]])]),Go(Yr("div",{class:{"uni-video-icon":!0,"uni-video-danmu-button":!0,"uni-video-danmu-button-active":M.enable},onClick:ms(R,["stop"])},null,10,["onClick"]),[[ji,e.danmuBtn]]),Go(Yr("div",{class:{"uni-video-icon":!0,"uni-video-fullscreen":!0,"uni-video-type-fullscreen":P.fullscreen},onClick:ms(()=>B(!P.fullscreen),["stop"])},null,10,["onClick"]),[[ji,e.showFullscreenBtn]])],8,["onClick"]),[[ji,F.controlsShow]]),Go(Yr("div",{ref:A,style:"z-index: 0;",class:"uni-video-danmu"},null,512),[[ji,d.start&&M.enable]]),F.centerPlayBtnShow&&Yr("div",{class:"uni-video-cover",onClick:ms(()=>{},["stop"])},[Yr("div",{class:"uni-video-cover-play-button uni-video-icon",onClick:ms(u,["stop"])},null,8,["onClick"])],8,["onClick"]),Yr("div",{class:"uni-video-loading"},["volume"===V.gestureType?Yr("div",{class:{"uni-video-toast-container":!0,"uni-video-toast-container-thin":V.toastThin},style:{marginTop:"5px"}},[!V.toastThin&&V.volumeNew>0&&"volume"===V.gestureType?Yr("text",{class:"uni-video-icon uni-video-toast-icon"},[""]):!V.toastThin&&Yr("text",{class:"uni-video-icon uni-video-toast-icon"},[""]),Yr("div",{class:"uni-video-toast-draw",style:{width:100*V.volumeNew+"%"}},null)],2):null]),Yr("div",{class:{"uni-video-toast":!0,"uni-video-toast-progress":Y.value}},[Yr("div",{class:"uni-video-toast-title"},[Yr("span",{class:"uni-video-toast-title-current-time"},[Vy(V.currentTimeNew)])," / ",Vy(d.currentDuration)])],2),Yr("div",{class:"uni-video-slots"},[o.default&&o.default()])],40,["onTouchstart","onTouchend","onTouchmove","onFullscreenchange","onWebkitfullscreenchange"])],8,["id","onClick"])}}),zy=({name:e,arg:t})=>{if("postMessage"===e);else switch(e){case"navigateTo":Uv(t);break;case"navigateBack":Hv(t);break;case"switchTab":Fm(t);break;case"reLaunch":qm(t);break;case"redirectTo":Hm(t)}},Fy=Qe(()=>Hb.on($e,zy)),Wy=lu({inheritAttrs:!1,name:"WebView",props:{src:{type:String,default:""},fullscreen:{type:Boolean,default:!0}},emits:["load"],setup(e,{emit:t}){Fy();const n=Wn(null),o=Wn(null),{$attrs:a,$excludeAttrs:r,$listeners:i}=Jf({excludeListeners:!0}),s=uu(n,t);let l;return(()=>{const t=document.createElement("iframe");t.onload=function(t){s("load",t,{src:e.src})},Fo(()=>{for(const e in a.value)if(p(a.value,e)){const n=a.value[e];t[e]=n}}),Fo(()=>{t.src=Rp(e.src)}),o.value=t,l=function(e,t,n){const o=()=>{var o,a;if(n){const{top:n,left:o,width:a,height:r}=e.value.getBoundingClientRect();Ge(t.value,{position:"absolute",display:"block",border:"0",top:n+"px",left:o+"px",width:a+"px",height:r+"px"})}else Ge(t.value,{width:(null==(o=e.value)?void 0:o.style.width)||"300px",height:(null==(a=e.value)?void 0:a.style.height)||"150px"})};return o}(n,o,e.fullscreen),e.fullscreen&&document.body.appendChild(t)})(),Aa(()=>{var t;l(),!e.fullscreen&&(null==(t=n.value)||t.appendChild(o.value))}),ya(()=>{e.fullscreen&&(o.value.style.display="block")}),va(()=>{e.fullscreen&&(o.value.style.display="none")}),Ea(()=>{e.fullscreen&&document.body.removeChild(o.value)}),()=>Yr(Ir,null,[Yr("uni-web-view",ei({class:e.fullscreen?"uni-webview--fullscreen":""},i.value,r.value,{ref:n}),[Yr(Xp,{onResize:l},null,8,["onResize"])],16)])}});const Hy=ih("makePhoneCall",({phoneNumber:e},{resolve:t})=>(window.location.href=`tel:${e}`,t())),Uy="__DC_STAT_UUID",qy=navigator.cookieEnabled&&(window.localStorage||window.sessionStorage)||{};let Yy;function Zy(){if(Yy=Yy||qy[Uy],!Yy){Yy=Date.now()+""+Math.floor(1e7*Math.random());try{qy[Uy]=Yy}catch(e){}}return Yy}function Gy(){if(!0!==__uniConfig.darkmode)return b(__uniConfig.darkmode)?__uniConfig.darkmode:"light";try{return window.matchMedia("(prefers-color-scheme: light)").matches?"light":"dark"}catch(e){return"light"}}function Qy(){let e,t="0",n="",o="phone";const a=navigator.language;if(Lp){e="iOS";const o=Ep.match(/OS\s([\w_]+)\slike/);o&&(t=o[1].replace(/_/g,"."));const a=t.split(".")[0];if(Number(a)>=18){const e=Ep.match(/Version\/([\d\.]+)/);e&&(t=e[1])}const r=Ep.match(/\(([a-zA-Z]+);/);r&&(n=r[1])}else if(Pp){e="Android";const o=Ep.match(/Android[\s/]([\w\.]+)[;\s]/);o&&(t=o[1]);const a=Ep.match(/\((.+?)\)/),r=a?a[1].split(";"):Ep.split(" "),i=[/\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=$p(),n=jp(t),o=zp(t,n),a=function(e,t){return e?Math[t?"min":"max"](screen.height,screen.width):screen.height}(t,n),r=Fp();let i=window.innerHeight;const s=od.top,l={left:od.left,right:r-od.right,top:od.top,bottom:i-od.bottom,width:r-od.left-od.right,height:i-od.top-od.bottom},{top:c,bottom:d}=ld();return i-=c,i-=d,{windowTop:c,windowBottom:d,windowWidth:r,windowHeight:i,pixelRatio:e,screenWidth:o,screenHeight:a,statusBarHeight:s,safeArea:l,safeAreaInsets:{top:od.top,right:od.right,bottom:od.bottom,left:od.left},screenTop:a-i}});let Xy,Ky=!0;function ev(){Ky&&(Xy=Qy())}const tv=rh(0,()=>{ev();const{deviceBrand:e,deviceModel:t,brand:n,model:o,platform:a,system:r,deviceOrientation:i,deviceType:s,osname:l,osversion:c}=Xy;return u({brand:n,deviceBrand:e,deviceModel:t,devicePixelRatio:window.devicePixelRatio,deviceId:Zy(),deviceOrientation:i,deviceType:s,model:o,osName:l?l.toLowerCase():void 0,osVersion:c,platform:a,system:r})}),nv=rh(0,()=>{ev();const{theme:e,language:t,browserName:n,browserVersion:o}=Xy;return u({appId:__uniConfig.appId,appName:__uniConfig.appName,appVersion:__uniConfig.appVersion,appVersionCode:__uniConfig.appVersionCode,appLanguage:em?em():t,enableDebug:!1,hostSDKVersion:void 0,hostPackageName:void 0,hostFontSizeSetting:void 0,hostName:n,hostVersion:o,hostTheme:e,hostLanguage:t,isUniAppX:!1,language:t,SDKVersion:"",theme:e,uniPlatform:"web",uniCompileVersion:__uniConfig.compilerVersion,uniCompilerVersion:__uniConfig.compilerVersion,uniRuntimeVersion:__uniConfig.compilerVersion,version:""},{})}),ov=rh(0,()=>{Ky=!0,ev(),Ky=!1;const e=Jy(),t=tv(),n=nv();Ky=!0;const{ua:o,browserName:a,browserVersion:r,osname:i,osversion:s}=Xy,l=u(e,t,n,{browserName:a,browserVersion:r,fontSizeSetting:void 0,osName:i.toLowerCase(),osVersion:s,osLanguage:void 0,osTheme:void 0,ua:o,uniPlatform:"web",uniCompileVersion:__uniConfig.compilerVersion,uniRuntimeVersion:__uniConfig.compilerVersion});return delete l.screenTop,delete l.enableDebug,__uniConfig.darkmode||delete l.theme,l}),av=ih("getSystemInfo",(e,{resolve:t})=>t(ov())),rv="none";const iv=ih("getNetworkType",(e,{resolve:t})=>{const n=navigator.connection||navigator.webkitConnection||navigator.mozConnection;let o="unknown";if(n){const e=n.effectiveType;o=n.type,"cellular"===o&&e?o=e.replace("slow-",""):o&&o!==rv||!e?[rv,"wifi"].includes(o)||(o="unknown"):o=e}else!1===navigator.onLine&&(o=rv);return t({networkType:o})});const sv=ih("setClipboardData",(e,t)=>{return n=void 0,o=[e,t],a=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 a=document.createElement("textarea");a.setAttribute("inputmode","none"),a.id="#clipboard",a.style.position="fixed",a.style.top="-9999px",a.style.zIndex="-9999",document.body.appendChild(a),a.value=e,a.select(),a.setSelectionRange(0,a.value.length);const r=document.execCommand("Copy",!1);a.blur(),r?t():n()}(e,t,n)}},new Promise((e,t)=>{var r=e=>{try{s(a.next(e))}catch(VR){t(VR)}},i=e=>{try{s(a.throw(e))}catch(VR){t(VR)}},s=t=>t.done?e(t.value):Promise.resolve(t.value).then(r,i);s((a=a.apply(n,o)).next())});var n,o,a},0,am);const lv=rh(0,(e,t)=>{const n=typeof t,o="string"===n?t:JSON.stringify({type:n,data:t});localStorage.setItem(e,o)}),cv=ih("setStorage",({key:e,data:t},{resolve:n,reject:o})=>{try{lv(e,t),n()}catch(a){o(a.message)}});function dv(e){const t=localStorage&&localStorage.getItem(e);if(!b(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=b(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 uv=rh(0,e=>{try{return dv(e)}catch(t){return""}}),hv=rh(0,e=>{localStorage&&localStorage.removeItem(e)}),mv=ih("hideKeyboard",(e,{resolve:t,reject:n})=>{const o=document.activeElement;!o||"TEXTAREA"!==o.tagName&&"INPUT"!==o.tagName||(o.blur(),t())});const pv=ih("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,im),fv={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"}};let gv=null;const yv=ih("chooseImage",({count:e,sourceType:t,extension:n},{resolve:o,reject:a})=>{Cc();const{t:r}=bc();gv&&(document.body.removeChild(gv),gv=null),gv=function({count:e,sourceType:t,type:n,extension:o}){Of();const a=document.createElement("input");return a.type="file",Ge(a,{position:"absolute",visibility:"hidden",zIndex:"-999",width:"0",height:"0",top:"0",left:"0"}),a.accept=o.map(e=>{{const t=e.replace(".","");return`${n}/${fv[n][t]||t}`}}).join(","),e&&e>1&&(a.multiple=!0),t instanceof Array&&1===t.length&&"camera"===t[0]&&a.setAttribute("capture","camera"),a}({count:e,sourceType:t,extension:n,type:"image"}),document.body.appendChild(gv),gv.addEventListener("cancel",()=>{a("chooseImage:fail cancel")}),gv.addEventListener("change",function(t){const n=t.target,a=[];if(n&&n.files){const t=n.files.length;for(let o=0;o(r=r||Gp(t),r)}),oe)},tempFiles:a})}),gv.click(),Ef||console.warn(r("uni.chooseFile.notUserActivation"))},0,rm),vv={esc:["Esc","Escape"],enter:["Enter"]},bv=Object.keys(vv);function _v(){const e=Wn(""),t=Wn(!1),n=n=>{if(t.value)return;const o=bv.find(e=>-1!==vv[e].indexOf(n.key));o&&(e.value=o),po(()=>e.value="")};return Aa(()=>{document.addEventListener("keyup",n)}),Ea(()=>{document.removeEventListener("keyup",n)}),{key:e,disable:t}}const wv=Yr("div",{class:"uni-mask"},null,-1);function Tv(e,t,n){return t.onClose=(...e)=>(t.visible=!1,n.apply(null,e)),gs(la({setup:()=>()=>(Br(),jr(e,t,null,16))}))}function xv(e){let t=document.getElementById(e);return t||(t=document.createElement("div"),t.id=e,document.body.append(t)),t}function Sv(e,{onEsc:t,onEnter:n}){const o=Wn(e.visible),{key:a,disable:r}=_v();return Ho(()=>e.visible,e=>o.value=e),Ho(()=>o.value,e=>r.value=!e),Fo(()=>{const{value:e}=a;"esc"===e?t&&t():"enter"===e&&n&&n()}),o}let Cv=0,kv="";function Mv(e){let t=Cv;Cv+=e?1:-1,Cv=Math.max(0,Cv),Cv>0?0===t&&(kv=document.body.style.overflow,document.body.style.overflow="hidden"):(document.body.style.overflow=kv,kv="")}const Av=cu({name:"ImageView",props:{src:{type:String,default:""}},setup(e){const t=Mn({direction:"none"});let n=1,o=0,a=0,r=0,i=0;function s({detail:e}){n=e.scale}function l(e){const t=e.target.getBoundingClientRect();o=t.width,a=t.height}function c(e){const t=e.target.getBoundingClientRect();r=t.width,i=t.height,u(e)}function d(e){const s=n*o>r,l=n*a>i;t.direction=s&&l?"all":s?"horizontal":l?"vertical":"none",u(e)}function u(e){"all"!==t.direction&&"horizontal"!==t.direction||e.stopPropagation()}return()=>{const n={position:"absolute",left:"0",top:"0",width:"100%",height:"100%"};return Yr(Kf,{style:n,onTouchstart:du(c),onTouchmove:du(u),onTouchend:du(d)},{default:()=>[Yr(hg,{style:n,direction:t.direction,inertia:!0,scale:!0,"scale-min":"1","scale-max":"4",onScale:s},{default:()=>[Yr("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 Iv(e){let t="number"==typeof e.current?e.current:e.urls.indexOf(e.current);return t=t<0?0:t,t}const Rv=cu({name:"ImagePreview",props:{urls:{type:Array,default:()=>[]},current:{type:[Number,String],default:0}},emits:["close"],setup(e,{emit:t}){Aa(()=>Mv(!0)),Pa(()=>Mv(!1));const{key:n}=_v(),o=Wn(null),a=Wn(Iv(e));let r;function i(){r||po(()=>{t("close")})}function s(e){a.value=e.detail.current}Ho(()=>e.current,()=>a.value=Iv(e)),Ho(()=>n.value,e=>{"esc"===e&&i()}),Aa(()=>{const e=o.value;let t=0,n=0;e.addEventListener("mousedown",e=>{r=!1,t=e.clientX,n=e.clientY}),e.addEventListener("mouseup",e=>{(Math.abs(e.clientX-t)>20||Math.abs(e.clientY-n)>20)&&(r=!0)})});const l={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 Yr("div",{ref:o,style:{display:"block",position:"fixed",left:"0",top:"0",width:"100%",height:"100%",zIndex:999,background:"rgba(0,0,0,0.8)"},onClick:i},[Yr(Ug,{navigation:"auto",current:a.value,onChange:s,"indicator-dots":!1,autoplay:!1,style:{position:"absolute",left:"0",top:"0",width:"100%",height:"100%"}},(n=t=e.urls.map(e=>Yr(Yg,null,{default:()=>[Yr(Av,{src:e},null,8,["src"])]})),"function"==typeof n||"[object Object]"===Object.prototype.toString.call(n)&&!zr(n)?t:{default:()=>[t],_:1}),8,["current","onChange"]),Yr("div",{style:l},[bd("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 n}}});let Ev,Pv=null;const Lv=()=>{Pv=null,po(()=>{null==Ev||Ev.unmount(),Ev=null})},Ov=ih("previewImage",(e,{resolve:t})=>{Pv?u(Pv,e):(Pv=Mn(e),po(()=>{Ev=Tv(Rv,Pv,Lv),Ev.mount(xv("u-a-p"))})),t()},0,sm),Bv=ah("request",({url:e,data:t,header:n={},method:o,dataType:a,responseType:r,enableChunked:i,withCredentials:s,timeout:l=__uniConfig.networkTimeout.request},{resolve:c,reject:d})=>{let u=null;const h=function(e){const t=Object.keys(e).find(e=>"content-type"===e.toLowerCase());if(!t)return;const n=e[t];if(!n)return"string";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(b(t)||t instanceof ArrayBuffer)u=t;else if("json"===h)try{u=JSON.stringify(t)}catch(f){u=t.toString()}else if("urlencoded"===h){const e=[];for(const n in t)p(t,n)&&e.push(encodeURIComponent(n)+"="+encodeURIComponent(t[n]));u=e.join("&")}else u=t.toString();let m;if(i){if(void 0===typeof window.fetch||void 0===typeof window.AbortController)throw new Error("fetch or AbortController is not supported in this environment");const t=new AbortController,i=t.signal;m=new Dv(t);const h={method:o,headers:n,body:u,signal:i,credentials:s?"include":"same-origin"},p=setTimeout(function(){m.abort(),d("timeout",{errCode:5})},l);h.signal.addEventListener("abort",function(){clearTimeout(p),d("abort",{errCode:600003})}),window.fetch(e,h).then(e=>{const t=e.status,n=e.headers,o=e.body,i={};n.forEach((e,t)=>{i[t]=e});const s=Nv(i);if(m._emitter.emit("headersReceived",{header:i,statusCode:t,cookies:s}),!o)return void c({data:"",statusCode:t,header:i,cookies:s});const l=o.getReader(),d=[],u=()=>{l.read().then(({done:e,value:n})=>{if(e){const e=function(e){const t=e.reduce((e,t)=>e+t.byteLength,0),n=new Uint8Array(t);let o=0;for(const a of e)n.set(new Uint8Array(a),o),o+=a.byteLength;return n.buffer}(d);let n="text"===r?(new TextDecoder).decode(e):e;return"text"===r&&(n=$v(n,r,a)),void c({data:n,statusCode:t,header:i,cookies:s})}const o=n;d.push(o),m._emitter.emit("chunkReceived",{data:o}),u()})};u()},e=>{d(e,{errCode:5})})}else{const t=new XMLHttpRequest;m=new Dv(t),t.open(o,e);for(const e in n)p(n,e)&&t.setRequestHeader(e,n[e]);const i=setTimeout(function(){t.onload=t.onabort=t.onerror=null,m.abort(),d("timeout",{errCode:5})},l);t.responseType=r,t.onload=function(){clearTimeout(i);const e=t.status;let n="text"===r?t.responseText:t.response;"text"===r&&(n=$v(n,r,a)),c({data:n,statusCode:e,header:Vv(t.getAllResponseHeaders()),cookies:[]})},t.onabort=function(){clearTimeout(i),d("abort",{errCode:600003})},t.onerror=function(){clearTimeout(i),d(void 0,{errCode:5})},t.withCredentials=s,t.send(u)}return m},0,um),Nv=e=>{let t=e["Set-Cookie"]||e["set-cookie"],n=[];if(!t)return[];"["===t[0]&&"]"===t[t.length-1]&&(t=t.slice(1,-1));const o=t.split(";");for(let a=0;a{t===e&&(this._requestOnHeadersReceiveCallbacks.delete(n),this._emitter.off("headersReceived",e))});const t=this._requestOnHeadersReceiveCallbacks.get(e);t&&(this._requestOnHeadersReceiveCallbacks.delete(e),this._emitter.off("headersReceived",t))}onChunkReceived(e){return this._emitter.on("chunkReceived",e),this._requestOnChunkReceiveCallbackId++,this._requestOnChunkReceiveCallbacks.set(this._requestOnChunkReceiveCallbackId,e),this._requestOnChunkReceiveCallbackId}offChunkReceived(e){if(null==e)return void this._emitter.off("chunkReceived");if("function"==typeof e)return void this._requestOnChunkReceiveCallbacks.forEach((t,n)=>{t===e&&(this._requestOnChunkReceiveCallbacks.delete(n),this._emitter.off("chunkReceived",e))});const t=this._requestOnChunkReceiveCallbacks.get(e);t&&(this._requestOnChunkReceiveCallbacks.delete(e),this._emitter.off("chunkReceived",t))}}function Vv(e){const t={};return e.split(ne).forEach(e=>{const n=e.match(/(\S+\s*):\s*(.*)/);n&&3===n.length&&(t[n[1]]=n[2])}),t}function $v(e,t,n){let o=e;if("text"===t&&"json"===n)try{o=JSON.parse(o)}catch(a){}return o}class jv{constructor(e){this._callbacks=[],this._xhr=e}onProgressUpdate(e){v(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 zv=ah("downloadFile",({url:e,header:t={},timeout:n=__uniConfig.networkTimeout.downloadFile},{resolve:o,reject:a})=>{var r,i=new XMLHttpRequest,s=new jv(i);return i.open("GET",e,!0),Object.keys(t).forEach(e=>{i.setRequestHeader(e,t[e])}),i.responseType="blob",i.onload=function(){clearTimeout(r);const t=i.status,n=this.response;let a;const s=i.getResponseHeader("content-disposition");if(s){const e=s.match(/filename="?(\S+)"?\b/);e&&(a=e[1])}n.name=a||function(e){const t=(e=e.split("#")[0].split("?")[0]).split("/");return t[t.length-1]}(e),o({statusCode:t,tempFilePath:Gp(n)})},i.onabort=function(){clearTimeout(r),a("abort",{errCode:600003})},i.onerror=function(){clearTimeout(r),a("",{errCode:602001})},i.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})})},i.send(),r=setTimeout(function(){i.onprogress=i.onload=i.onabort=i.onerror=null,s.abort(),a("timeout",{errCode:5})},n),s},0,hm);class Fv{constructor(e){this._callbacks=[],this._xhr=e}onProgressUpdate(e){v(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 Wv=ah("uploadFile",({url:e,file:t,filePath:n,name:o,files:a,header:r={},formData:i={},timeout:s=__uniConfig.networkTimeout.uploadFile},{resolve:l,reject:c})=>{var d=new Fv;return f(a)&&a.length||(n||c("file error"),a=[{name:o,file:t,uri:n}]),Promise.all(a.map(({file:e,uri:t})=>e instanceof Blob?Promise.resolve(Zp(e)):Yp(t))).then(function(t){var n,o=new XMLHttpRequest,u=new FormData;Object.keys(i).forEach(e=>{u.append(e,i[e])}),Object.values(a).forEach(({name:e},n)=>{const o=t[n];u.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){d._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,t=o.getAllResponseHeaders(),a=t?t.trim().split(/[\r\n]+/).reduce((e,t)=>{const n=t.split(": "),o=n.shift(),a=n.join(": ");return e[o]=a,e},{}):{};l({statusCode:e,data:o.responseText||o.response,header:a})},d._isAbort?c("abort",{errCode:600003}):(n=setTimeout(function(){o.upload.onprogress=o.onload=o.onabort=o.onerror=null,d.abort(),c("timeout",{errCode:5})},s),o.send(u),d._xhr=o)}).catch(()=>{setTimeout(()=>{c("file error")},0)}),d},0,mm),Hv=ih("navigateBack",(e,{resolve:t,reject:n})=>{let o=!0;return!0===Id(Te,{from:e.from||"navigateBack"})&&(o=!1),o?(Iy().$router.go(-e.delta),t()):n(Te)},0,Sm),Uv=ih(fm,({url:e,events:t,isAutomatedTesting:n},{resolve:o,reject:a})=>{if(sp.handledBeforeEntryPageRoutes)return Ym({type:fm,url:e,events:t,isAutomatedTesting:n}).then(o).catch(a);lp.push({args:{type:fm,url:e,events:t,isAutomatedTesting:n},resolve:o,reject:a})},0,_m);function qv(e){__uniConfig.darkmode&&Hb.on(ue,e)}function Yv(e){Hb.off(ue,e)}function Zv(e){let t={};return __uniConfig.darkmode&&(t=yt(e,__uniConfig.themeConfig,Gy())),__uniConfig.darkmode?t:e}function Gv(e,t){const n=En(e),o=n?Mn(Zv(e)):Zv(e);return __uniConfig.darkmode&&n&&Ho(e,e=>{const t=Zv(e);for(const n in t)o[n]=t[n]}),t&&qv(t),o}const Qv={light:{cancelColor:"#000000"},dark:{cancelColor:"rgb(170, 170, 170)"}},Jv=la({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=Wn(""),o=()=>i.value=!1,a=()=>(o(),t("close","cancel")),r=()=>(o(),t("close","confirm",n.value)),i=Sv(e,{onEsc:a,onEnter:()=>{!e.editable&&r()}}),s=function(e){const t=Wn(e.cancelColor),n=({theme:e})=>{((e,t)=>{t.value=Qv[e].cancelColor})(e,t)};return Fo(()=>{e.visible?(t.value=e.cancelColor,"#000"===e.cancelColor&&("dark"===Gy()&&n({theme:"dark"}),qv(n))):Yv(n)}),t}(e);return()=>{const{title:t,content:o,showCancel:l,confirmText:c,confirmColor:d,editable:u,placeholderText:h}=e;return n.value=o,Yr(ki,{name:"uni-fade"},{default:()=>[Go(Yr("uni-modal",{onTouchmove:ad},[wv,Yr("div",{class:"uni-modal"},[t?Yr("div",{class:"uni-modal__hd"},[Yr("strong",{class:"uni-modal__title",textContent:t||""},null,8,["textContent"])]):null,u?Yr("textarea",{class:"uni-modal__textarea",rows:"1",placeholder:h,value:o,onInput:e=>n.value=e.target.value},null,40,["placeholder","value","onInput"]):Yr("div",{class:"uni-modal__bd",onTouchmovePassive:rd,textContent:o},null,40,["onTouchmovePassive","textContent"]),Yr("div",{class:"uni-modal__ft"},[l&&Yr("div",{style:{color:s.value},class:"uni-modal__btn uni-modal__btn_default",onClick:a},[e.cancelText],12,["onClick"]),Yr("div",{style:{color:d},class:"uni-modal__btn uni-modal__btn_primary",onClick:r},[c],12,["onClick"])])])],40,["onTouchmove"]),[[ji,i.value]])]})}}});let Xv;const Kv=Qe(()=>{Hb.on("onHidePopup",()=>Xv.visible=!1)});let eb;function tb(e,t){const n="confirm"===e,o={confirm:n,cancel:"cancel"===e};n&&Xv.editable&&(o.content=t),eb&&eb(o)}const nb=ih("showModal",(e,{resolve:t})=>{Kv(),eb=t,Xv?(u(Xv,e),Xv.visible=!0):(Xv=Mn(e),po(()=>(Tv(Jv,Xv,tb).mount(xv("u-a-m")),po(()=>Xv.visible=!0))))},0,Bm),ob={title:{type:String,default:""},icon:{default:"success",validator:e=>-1!==Nm.indexOf(e)},image:{type:String,default:""},duration:{type:Number,default:1500},mask:{type:Boolean,default:!1},visible:{type:Boolean}},ab="uni-toast__icon",rb={light:"#fff",dark:"rgba(255,255,255,0.9)"},ib=e=>rb[e],sb=la({name:"Toast",props:ob,setup(e){Tc(),xc();const{Icon:t}=function(e){const t=Wn(ib(Gy())),n=({theme:e})=>t.value=ib(e);Fo(()=>{e.visible?qv(n):Yv(n)});const o=gi(()=>{switch(e.icon){case"success":return Yr(bd(gd,t.value,38),{class:ab});case"error":return Yr(bd(yd,t.value,38),{class:ab});case"loading":return Yr("i",{class:[ab,"uni-loading"]},null,2);default:return null}});return{Icon:o}}(e),n=Sv(e,{});return()=>{const{mask:o,duration:a,title:r,image:i}=e;return Yr(ki,{name:"uni-fade"},{default:()=>[Go(Yr("uni-toast",{"data-duration":a},[o?Yr("div",{class:"uni-mask",style:"background: transparent;",onTouchmove:ad},null,40,["onTouchmove"]):"",i||t.value?Yr("div",{class:"uni-toast"},[i?Yr("img",{src:i,class:ab},null,10,["src"]):t.value,Yr("p",{class:"uni-toast__content"},[r])]):Yr("div",{class:"uni-sample-toast"},[Yr("p",{class:"uni-simple-toast__text"},[r])])],8,["data-duration"]),[[ji,n.value]])]})}}});let lb,cb,db="";const ub=wt();function hb(e){lb?u(lb,e):(lb=Mn(u(e,{visible:!1})),po(()=>{ub.run(()=>{Ho([()=>lb.visible,()=>lb.duration],([e,t])=>{if(e){if(cb&&clearTimeout(cb),"onShowLoading"===db)return;cb=setTimeout(()=>{vb("onHideToast")},t)}else cb&&clearTimeout(cb)})}),Hb.on("onHidePopup",()=>vb("onHidePopup")),Tv(sb,lb,()=>{}).mount(xv("u-a-t"))})),setTimeout(()=>{lb.visible=!0},10)}const mb=ih("showToast",(e,{resolve:t,reject:n})=>{hb(e),db="onShowToast",t()},0,Dm),pb={icon:"loading",duration:1e8,image:""},fb=ih("showLoading",(e,{resolve:t,reject:n})=>{u(e,pb),hb(e),db="onShowLoading",t()},0,Om),gb=ih("hideToast",(e,{resolve:t,reject:n})=>{vb("onHideToast"),t()}),yb=ih("hideLoading",(e,{resolve:t,reject:n})=>{vb("onHideLoading"),t()});function vb(e){const{t:t}=bc();if(!db)return;let n="";if("onHideToast"===e&&"onShowToast"!==db?n=t("uni.showToast.unpaired"):"onHideLoading"===e&&"onShowLoading"!==db&&(n=t("uni.showLoading.unpaired")),n)return console.warn(n);db="",setTimeout(()=>{lb.visible=!1},10)}const bb=ih("loadFontFace",({family:e,source:t,desc:n},{resolve:o,reject:a})=>{(function(e,t,n){const o=document.fonts;if(o){const a=new FontFace(e,t,n);return a.load().then(()=>{o.add&&o.add(a)})}return new Promise(o=>{const a=document.createElement("style"),r=[];if(n){const{style:e,weight:t,stretch:o,unicodeRange:a,variant:i,featureSettings:s}=n;e&&r.push(`font-style:${e}`),t&&r.push(`font-weight:${t}`),o&&r.push(`font-stretch:${o}`),a&&r.push(`unicode-range:${a}`),i&&r.push(`font-variant:${i}`),s&&r.push(`font-feature-settings:${s}`)}a.innerText=`@font-face{font-family:"${e}";src:${t};${r.join(";")}}`,document.head.appendChild(a),o()})})(e,t=t.startsWith('url("')||t.startsWith("url('")?`url('${Rp(t.substring(5,t.length-2))}')`:t.startsWith("url(")?`url('${Rp(t.substring(4,t.length-1))}')`:Rp(t),n).then(()=>{o()}).catch(e=>{a(`loadFontFace:fail ${e}`)})});function _b(e){function t(){var t;(t=e.navigationBar.titleText)&&t!==document.title&&(document.title=t),Hb.emit("onNavigationBarChange",{titleText:t})}Fo(t),ya(t)}function wb(e,t,n,o,a){if(!e)return a("page not found");const{navigationBar:r}=e;switch(t){case Rm:const{frontColor:e,backgroundColor:t,animation:o}=n,{duration:a,timingFunc:i}=o;e&&(r.titleColor="#000000"===e?"#000000":"#ffffff"),t&&(r.backgroundColor=t),r.duration=a+"ms",r.timingFunc=i;break;case"showNavigationBarLoading":r.loading=!0;break;case"hideNavigationBarLoading":r.loading=!1;break;case Pm:const{title:s}=n;r.titleText=s}o()}const Tb=ih(Rm,(e,{resolve:t,reject:n})=>{wb(xd(),Rm,e,t,n)},0,Em),xb=ih(Pm,(e,{resolve:t,reject:n})=>{wb(xd(),Pm,e,t,n)}),Sb=ih("pageScrollTo",({scrollTop:e,selector:t,duration:n},{resolve:o})=>{!function(e,t){if(b(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:a}=n;if(e=Math.min(e,a-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,Lm),Cb=ih(Vm,(e,{resolve:t})=>{Hb.invokeViewMethod(Vm,{},Sd()),t()}),kb=cu({name:"TabBar",setup(){const e=Wn([]),t=Qm(),n=Gv(t,()=>{const e=Zv(t);n.backgroundColor=e.backgroundColor,n.borderStyle=e.borderStyle,n.color=e.color,n.selectedColor=e.selectedColor,n.blurEffect=e.blurEffect,n.midButton=e.midButton,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}Wn(u({type:"midButton"},e.midButton)),Fo(n)}(n,e),function(e){Ho(()=>e.shown,t=>{dd({"--window-bottom":op(t?parseInt(e.height):0)})})}(n);const o=function(e,t,n){return Fo(()=>{const o=e.meta;if(o.isTabBar){const e=o.route,a=n.value.findIndex(t=>t.pagePath===e);t.selectedIndex=a}}),(t,n)=>{const{type:o}=t;return()=>{const{pagePath:o,text:a}=t;let r=Ze(o);r===__uniRoutes[0].alias&&(r="/"),e.path!==r?Fm({from:"tabBar",url:r,tabBarText:a}):Id("onTabItemTap",{index:n,text:a,pagePath:o})}}}(Xl(),n,e),{style:a,borderStyle:r,placeholderStyle:i}=function(e){const t=gi(()=>{let t=e.backgroundColor;const n=e.blurEffect;return t||ep&&n&&"none"!==n&&(t=Rb[n]),{backgroundColor:t||Mb,backdropFilter:"none"!==n?"blur(10px)":n}}),n=gi(()=>{const{borderStyle:t,borderColor:n}=e;return n&&b(n)?{backgroundColor:n}:{backgroundColor:Eb[t]||Eb.black}}),o=gi(()=>({height:e.height}));return{style:t,borderStyle:n,placeholderStyle:o}}(n);return Aa(()=>{n.iconfontSrc&&bb({family:"UniTabbarIconFont",source:`url("${n.iconfontSrc}")`})}),()=>{const t=function(e,t,n){const{selectedIndex:o,selectedColor:a,color:r}=e;return n.value.map((n,i)=>{const s=o===i;return function(e,t,n,o,a,r,i,s){return Yr("div",{key:i,class:"uni-tabbar__item",onClick:s(a,i)},[Pb(e,t||"",n,o,a,r)],8,["onClick"])}(s?a: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,i,t)})}(n,o,e);return Yr("uni-tabbar",{class:"uni-tabbar-"+n.position},[Yr("div",{class:"uni-tabbar",style:a.value},[Yr("div",{class:"uni-tabbar-border",style:r.value},null,4),t],4),Yr("div",{class:"uni-placeholder",style:i.value},null,4)],2)}}});const Mb="#f7f7fa",Ab="rgb(0, 0, 0, 0.8)",Ib="rgb(250, 250, 250, 0.8)",Rb={dark:Ab,light:Ib,extralight:Ib},Eb={white:"rgba(255, 255, 255, 0.33)",black:"rgba(0, 0, 0, 0.33)"};function Pb(e,t,n,o,a,r){const{height:i}=r;return Yr("div",{class:"uni-tabbar__bd",style:{height:i}},[n?Ob(n,o||Ab,a,r):t&&Lb(t,a,r),a.text&&Bb(e,a,r),a.redDot&&Nb(a.badge)],4)}function Lb(e,t,n){const{type:o,text:a}=t,{iconWidth:r}=n;return Yr("div",{class:"uni-tabbar__icon"+(a?" uni-tabbar__icon__diff":""),style:{width:r,height:r}},["midButton"!==o&&Yr("img",{src:Rp(e)},null,8,["src"])],6)}function Ob(e,t,n,o){var a;const{type:r,text:i}=n,{iconWidth:s}=o,l="uni-tabbar__icon"+(i?" uni-tabbar__icon__diff":""),c={width:s,height:s},d={fontSize:(null==(a=n.iconfont)?void 0:a.fontSize)||s,color:t};return Yr("div",{class:l,style:c},["midButton"!==r&&Yr("div",{class:"uni-tabbar__iconfont",style:d},[e],4)],6)}function Bb(e,t,n){const{iconPath:o,text:a}=t,{fontSize:r,spacing:i}=n;return Yr("div",{class:"uni-tabbar__label",style:{color:e,fontSize:r,lineHeight:o?"normal":1.8,marginTop:o?i:"inherit"}},[a],4)}function Nb(e){return Yr("div",{class:"uni-tabbar__reddot"+(e?" uni-tabbar__badge":"")},[e],2)}const Db="0px",Vb=cu({name:"Layout",setup(e,{emit:t}){const n=Wn(null);cd({"--status-bar-height":Db,"--top-window-height":Db,"--window-left":Db,"--window-right":Db,"--window-margin":Db,"--tab-bar-height":Db});const o=function(){const e=Xl();return{routeKey:gi(()=>bp("/"+e.meta.route,ku())),isTabBar:gi(()=>e.meta.isTabBar),routeCache:wp}}(),{layoutState:a,windowState:r}=function(){Cu();{const e=Mn({marginWidth:0,leftWindowWidth:0,rightWindowWidth:0});return Ho(()=>e.marginWidth,e=>cd({"--window-margin":e+"px"})),Ho(()=>e.leftWindowWidth+e.marginWidth,e=>{cd({"--window-left":e+"px"})}),Ho(()=>e.rightWindowWidth+e.marginWidth,e=>{cd({"--window-right":e+"px"})}),{layoutState:e,windowState:gi(()=>({}))}}}();!function(e,t){const n=Cu();function o(){const o=document.body.clientWidth,a=pp();let r={};if(a.length>0){r=ip(a[a.length-1]).meta}else{const e=Bd(n.path,!0);e&&(r=e.meta)}const i=parseInt(String((p(r,"maxWidth")?r.maxWidth:__uniConfig.globalStyle.maxWidth)||Number.MAX_SAFE_INTEGER));let s=!1;s=o>i,s&&i?(e.marginWidth=(o-i)/2,po(()=>{const e=t.value;e&&e.setAttribute("style","max-width:"+i+"px;margin:0 auto;")})):(e.marginWidth=0,po(()=>{const e=t.value;e&&e.removeAttribute("style")}))}Ho([()=>n.path],o),Aa(()=>{o(),window.addEventListener("resize",o)})}(a,n);const i=function(){const e=Cu(),t=Qm(),n=gi(()=>e.meta.isTabBar&&t.shown);return cd({"--tab-bar-height":t.height}),n}(),s=function(e){const t=Wn(!1);return gi(()=>({"uni-app--showtabbar":e&&e.value,"uni-app--maxwidth":t.value}))}(i);return()=>{const e=function(e){const t=function({routeKey:e,isTabBar:t,routeCache:n}){return Yr(Ql,null,{default:Io(({Component:o})=>[(Br(),jr(fa,{matchBy:"key",cache:n},[(Br(),jr(Do(o),{type:t.value?"tabBar":"",key:e.value}))],1032,["cache"]))]),_:1})}(e);return t}(o),t=function(e){return Go(Yr(kb,null,null,512),[[ji,e.value]])}(i);return Yr("uni-app",{ref:n,class:s.value},[e,t],2)}}});const $b="saveFile",jb=ih($b,sh($b)),zb="removeSavedFile",Fb=ih(zb,sh(zb)),Wb=u(Nc,{publishHandler(e,t,n){Hb.subscribeHandler(e,t,n)}}),Hb=u(Gd,{publishHandler(e,t,n){Wb.subscribeHandler(e,t,n)}}),Ub=cu({name:"PageHead",setup(){const e=Wn(null),t=xu(),n=Gv(t.navigationBar,()=>{const e=Zv(t.navigationBar);n.backgroundColor=e.backgroundColor,n.titleColor=e.titleColor}),{clazz:o,style:a}=function(e){const t=gi(()=>{const{type:t,titlePenetrate:n,shadowColorType:o}=e,a={"uni-page-head":!0,"uni-page-head-transparent":"transparent"===t,"uni-page-head-titlePenetrate":"YES"===n,"uni-page-head-shadow":!!o};return o&&(a[`uni-page-head-shadow-${o}`]=!0),a}),n=gi(()=>({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 Yr("div",{class:"uni-page-head-btn",onClick:Yb},[bd(vd,"transparent"===e.type?"#fff":e.titleColor,26)],8,["onClick"])}(n,t.isQuit),i=n.type||"default",s="transparent"!==i&&"float"!==i&&Yr("div",{class:{"uni-placeholder":!0,"uni-placeholder-titlePenetrate":n.titlePenetrate}},null,2);return Yr("uni-page-head",{"uni-page-head-type":i},[Yr("div",{ref:e,class:o.value,style:a.value},[Yr("div",{class:"uni-page-head-hd"},[r]),qb(n),Yr("div",{class:"uni-page-head-ft"},[])],6),s],8,["uni-page-head-type"])}}});function qb(e,t){return function({type:e,loading:t,titleSize:n,titleText:o,titleImage:a}){return Yr("div",{class:"uni-page-head-bd"},[Yr("div",{style:{fontSize:n,opacity:"transparent"===e?0:1},class:"uni-page-head__title"},[t?Yr("i",{class:"uni-loading"},null):a?Yr("img",{src:a,class:"uni-page-head__title_image"},null,8,["src"]):o],4)])}(e)}function Yb(){1===mp().length?qm({url:"/"}):Hv({from:"backbutton",success(){}})}const Zb=cu({name:"PageBody",setup(e,t){const n=!1,o=Wn(null),a=Wn(null);return Ho(()=>n.enablePullDownRefresh,()=>{a.value=null},{immediate:!0}),()=>Yr(Ir,null,[!1,Yr("uni-page-wrapper",ei({ref:o},a.value),[Yr("uni-page-body",null,[Va(t.slots,"default")]),null],16)])}}),Gb=cu({name:"Page",setup(e,t){let n=Su(ku());const o=n.navigationBar,a={};return _b(n),()=>Yr("uni-page",{"data-page":n.route,style:a},"custom"!==o.style?[Yr(Ub),Qb(t),null]:[Qb(t),null])}});function Qb(e){return Br(),jr(Zb,{key:0},{default:Io(()=>[Va(e.slots,"page")]),_:3})}const Jb={loading:"AsyncLoading",error:"AsyncError",delay:200,timeout:6e4,suspensible:!0};window.uni={},window.wx={},window.rpx2px=gh;const Xb=Object.assign({}),Kb=Object.assign;window.__uniConfig=Kb({globalStyle:{backgroundColor:"#F8F8F8",navigationBar:{backgroundColor:"#FFFFFF",titleText:"乐博头条",type:"default",titleColor:"#000000"},isNVue:!1},tabBar:{position:"bottom",color:"#999999",selectedColor:"#0B55EB",borderStyle:"black",blurEffect:"none",fontSize:"10px",iconWidth:"20px",spacing:"3px",height:"50px",list:[{iconPath:"/static/images/tabbar/home.png",selectedIconPath:"/static/images/tabbar/home_s.png",pagePath:"pages/index/index",text:"首页"},{iconPath:"/static/images/tabbar/match.png",selectedIconPath:"/static/images/tabbar/match_s.png",pagePath:"packages_match/pages/worldcup",text:"赛事"},{iconPath:"/static/images/tabbar/crypto.png",selectedIconPath:"/static/images/tabbar/crypto_s.png",pagePath:"pages/crypto/crypto",text:"加密行情"},{iconPath:"/static/images/tabbar/lottery.png",selectedIconPath:"/static/images/tabbar/lottery_s.png",pagePath:"pages/lottery_analysis/lottery_analysis",text:"彩票"},{iconPath:"/static/images/tabbar/community.png",selectedIconPath:"/static/images/tabbar/community_s.png",pagePath:"pages/empty/empty",text:"社区"},{iconPath:"/static/images/tabbar/user.png",selectedIconPath:"/static/images/tabbar/user_s.png",pagePath:"pages/user/user",text:"我的"}],custom:!1,backgroundColor:"#FFFFFF",selectedIndex:0,shown:!0},easycom:{autoscan:!0,custom:{"^u-(.*)":"@/uni_modules/vk-uview-ui/components/u-$1/u-$1.vue","^(feed-card|feed-video-card|tabbar)$":"@/components/$1/$1.vue","router-navigate":"uniapp-router-next/components/router-navigate/router-navigate.vue","^(?!z-paging-refresh|z-paging-load-more)z-paging(.*)":"z-paging/components/z-paging$1/z-paging$1.vue","^w-(.*)":"@/components/widgets/$1/$1.vue","^(GlobalPopup|global-popup)$":"@/components/global-popup/global-popup.vue"}},compilerVersion:"5.07"},{appId:"__UNI__90671D8",appName:"世博头条",appVersion:"1.0.8",appVersionCode:108,async:Jb,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(Xb).reduce((e,t)=>{const n=t.replace(/\.\/locale\/(uni-app.)?(.*).json/,"$2");return Kb(e[n]||(e[n]={}),Xb[t].default),e},{}),router:{mode:"history",base:"/",assets:"assets",routerBase:"/"},darkmode:!1,themeConfig:{}}),window.__uniLayout=window.__uniLayout||{};const e_={delay:Jb.delay,timeout:Jb.timeout,suspensible:Jb.suspensible};Jb.loading&&(e_.loadingComponent={name:"SystemAsyncLoading",render:()=>Yr(Bo(Jb.loading))}),Jb.error&&(e_.errorComponent={name:"SystemAsyncError",props:["error"],render(){return Yr(Bo(Jb.error),{error:this.error})}});const t_=()=>o(()=>import("./pages-index-index.Du1ij_VW.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10])).then(e=>Ly(e.default||e)),n_=da(Kb({loader:t_},e_)),o_=()=>o(()=>import("./pages-match-match.jKb-UeZz.js"),__vite__mapDeps([11,12,4,5,13,2,6,7,14])).then(e=>Ly(e.default||e)),a_=da(Kb({loader:o_},e_)),r_=()=>o(()=>import("./pages-user-user.BtKRciRJ.js"),__vite__mapDeps([15,16])).then(e=>Ly(e.default||e)),i_=da(Kb({loader:r_},e_)),s_=()=>o(()=>import("./pages-channel-channel-manage.BkPO8nWD.js"),__vite__mapDeps([17,2,18])).then(e=>Ly(e.default||e)),l_=da(Kb({loader:s_},e_)),c_=()=>o(()=>import("./pages-login-login.BPapqatG.js"),__vite__mapDeps([19,20,21])).then(e=>Ly(e.default||e)),d_=da(Kb({loader:c_},e_)),u_=()=>o(()=>import("./pages-register-register.DPVkHwau.js"),__vite__mapDeps([22,23])).then(e=>Ly(e.default||e)),h_=da(Kb({loader:u_},e_)),m_=()=>o(()=>import("./pages-forget_pwd-forget_pwd.BnsQX5tV.js"),__vite__mapDeps([24,25])).then(e=>Ly(e.default||e)),p_=da(Kb({loader:m_},e_)),f_=()=>o(()=>import("./pages-customer_service-customer_service.BpNrx6bq.js"),[]).then(e=>Ly(e.default||e)),g_=da(Kb({loader:f_},e_)),y_=()=>o(()=>import("./pages-news_detail-news_detail.CJ7z_ydv.js"),__vite__mapDeps([26,27,3,28,8,9,2,29])).then(e=>Ly(e.default||e)),v_=da(Kb({loader:y_},e_)),b_=()=>o(()=>import("./pages-match_detail-match_detail.d07AlYX6.js"),__vite__mapDeps([30,27,3,28,8,9,13,31,32,33])).then(e=>Ly(e.default||e)),__=da(Kb({loader:b_},e_)),w_=()=>o(()=>import("./pages-my_posts-my_posts.BTfwUMxv.js"),__vite__mapDeps([34,35,32,36])).then(e=>Ly(e.default||e)),T_=da(Kb({loader:w_},e_)),x_=()=>o(()=>import("./pages-my_follow-my_follow.DTBWW7hu.js"),__vite__mapDeps([37,35,32,38,39])).then(e=>Ly(e.default||e)),S_=da(Kb({loader:x_},e_)),C_=()=>o(()=>import("./pages-vip-vip.CxI_eolm.js"),__vite__mapDeps([40,41])).then(e=>Ly(e.default||e)),k_=da(Kb({loader:C_},e_)),M_=()=>o(()=>import("./pages-distribution-distribution.DLbvX2u6.js"),__vite__mapDeps([42,27,3,28,43])).then(e=>Ly(e.default||e)),A_=da(Kb({loader:M_},e_)),I_=()=>o(()=>import("./pages-ai_analysis-ai_analysis.BKffiJRn.js"),__vite__mapDeps([44,31,32,35,45])).then(e=>Ly(e.default||e)),R_=da(Kb({loader:I_},e_)),E_=()=>o(()=>import("./pages-ai_assistant-ai_assistant.BQbpY0R3.js"),__vite__mapDeps([46,32,47])).then(e=>Ly(e.default||e)),P_=da(Kb({loader:E_},e_)),L_=()=>o(()=>import("./pages-private_chat-list.B0I3rB3j.js"),__vite__mapDeps([48,38,49])).then(e=>Ly(e.default||e)),O_=da(Kb({loader:L_},e_)),B_=()=>o(()=>import("./pages-private_chat-room.CZ1aAxj4.js"),__vite__mapDeps([50,38,35,32,51])).then(e=>Ly(e.default||e)),N_=da(Kb({loader:B_},e_)),D_=()=>o(()=>import("./pages-crypto-crypto.b9SeqND-.js"),__vite__mapDeps([52,4,5,53,54])).then(e=>Ly(e.default||e)),V_=da(Kb({loader:D_},e_)),$_=()=>o(()=>import("./pages-crypto-crypto_detail.Bmqb9n8b.js"),__vite__mapDeps([55,27,3,28,53,56])).then(e=>Ly(e.default||e)),j_=da(Kb({loader:$_},e_)),z_=()=>o(()=>import("./pages-lottery_analysis-lottery_analysis.BmXX_hKT.js"),__vite__mapDeps([57,58,32,4,5,27,3,28,59])).then(e=>Ly(e.default||e)),F_=da(Kb({loader:z_},e_)),W_=()=>o(()=>import("./pages-user_set-user_set.BRSXvJKG.js"),__vite__mapDeps([60,20,61,62])).then(e=>Ly(e.default||e)),H_=da(Kb({loader:W_},e_)),U_=()=>o(()=>import("./pages-collection-collection.DZUy-oxM.js"),__vite__mapDeps([63,2])).then(e=>Ly(e.default||e)),q_=da(Kb({loader:U_},e_)),Y_=()=>o(()=>import("./pages-as_us-as_us.CllxwSFI.js"),__vite__mapDeps([64,61,65])).then(e=>Ly(e.default||e)),Z_=da(Kb({loader:Y_},e_)),G_=()=>o(()=>import("./pages-agreement-agreement.CYVFD6O5.js"),[]).then(e=>Ly(e.default||e)),Q_=da(Kb({loader:G_},e_)),J_=()=>o(()=>import("./pages-article_view-article_view.BHpdHcmw.js"),__vite__mapDeps([66,67])).then(e=>Ly(e.default||e)),X_=da(Kb({loader:J_},e_)),K_=()=>o(()=>import("./pages-change_password-change_password.CESnw1VZ.js"),__vite__mapDeps([68,69])).then(e=>Ly(e.default||e)),ew=da(Kb({loader:K_},e_)),tw=()=>o(()=>import("./pages-user_data-user_data.CNZJLoWF.js"),__vite__mapDeps([70,71])).then(e=>Ly(e.default||e)),nw=da(Kb({loader:tw},e_)),ow=()=>o(()=>import("./pages-search-search.PHgCDRt1.js"),__vite__mapDeps([72,1,2,73])).then(e=>Ly(e.default||e)),aw=da(Kb({loader:ow},e_)),rw=()=>o(()=>import("./pages-webview-webview.BCP9yIPv.js"),[]).then(e=>Ly(e.default||e)),iw=da(Kb({loader:rw},e_)),sw=()=>o(()=>import("./pages-bind_mobile-bind_mobile.9yeRHuTG.js"),__vite__mapDeps([74,75])).then(e=>Ly(e.default||e)),lw=da(Kb({loader:sw},e_)),cw=()=>o(()=>import("./pages-empty-empty.CfxUPaJ2.js"),__vite__mapDeps([76,35,32,4,5,77,27,3,28,78,79])).then(e=>Ly(e.default||e)),dw=da(Kb({loader:cw},e_)),uw=()=>o(()=>import("./pages-web_closed-web_closed.DKnmowvq.js"),__vite__mapDeps([80,81])).then(e=>Ly(e.default||e)),hw=da(Kb({loader:uw},e_)),mw=()=>o(()=>import("./pages-payment_result-payment_result.BzH2SbWC.js"),__vite__mapDeps([82,83])).then(e=>Ly(e.default||e)),pw=da(Kb({loader:mw},e_)),fw=()=>o(()=>import("./uni_modules-vk-uview-ui-components-u-avatar-cropper-u-avatar-cropper.BBgxW4Kz.js"),__vite__mapDeps([84,85])).then(e=>Ly(e.default||e)),gw=da(Kb({loader:fw},e_)),yw=()=>o(()=>import("./uni_modules-uni-upgrade-center-app-pages-upgrade-popup.DK2ZpSVW.js"),__vite__mapDeps([86,87])).then(e=>Ly(e.default||e)),vw=da(Kb({loader:yw},e_)),bw=()=>o(()=>import("./packages-pages-404-404.Ds48gJG_.js"),[]).then(e=>Ly(e.default||e)),_w=da(Kb({loader:bw},e_)),ww=()=>o(()=>import("./packages-pages-user_wallet-user_wallet.C-y0IdFJ.js"),__vite__mapDeps([88,89,90])).then(e=>Ly(e.default||e)),Tw=da(Kb({loader:ww},e_)),xw=()=>o(()=>import("./packages-pages-points_log-points_log.5xNHMVvp.js"),[]).then(e=>Ly(e.default||e)),Sw=da(Kb({loader:xw},e_)),Cw=()=>o(()=>import("./packages-pages-recharge-recharge.CD9lT4XY.js"),__vite__mapDeps([91,89,20])).then(e=>Ly(e.default||e)),kw=da(Kb({loader:Cw},e_)),Mw=()=>o(()=>import("./packages-pages-recharge_record-recharge_record.CHpE1qUo.js"),__vite__mapDeps([92,89])).then(e=>Ly(e.default||e)),Aw=da(Kb({loader:Mw},e_)),Iw=()=>o(()=>import("./packages-pages-points_products-points_products.BP7wuHb9.js"),__vite__mapDeps([93,94,95])).then(e=>Ly(e.default||e)),Rw=da(Kb({loader:Iw},e_)),Ew=()=>o(()=>import("./packages-pages-points_order-points_order.Dbo1VCaC.js"),__vite__mapDeps([96,94,97])).then(e=>Ly(e.default||e)),Pw=da(Kb({loader:Ew},e_)),Lw=()=>o(()=>import("./packages-pages-points_order_detail-points_order_detail.D0JMvvUa.js"),__vite__mapDeps([98,94,99])).then(e=>Ly(e.default||e)),Ow=da(Kb({loader:Lw},e_)),Bw=()=>o(()=>import("./packages_match-pages-index.Bq2epqBg.js"),__vite__mapDeps([100,12,4,5,13,2,6,7,14])).then(e=>Ly(e.default||e)),Nw=da(Kb({loader:Bw},e_)),Dw=()=>o(()=>import("./packages_match-pages-worldcup.BOFHrDWj.js"),__vite__mapDeps([101,12,4,5,13,2,6,7,14])).then(e=>Ly(e.default||e)),Vw=da(Kb({loader:Dw},e_)),$w=()=>o(()=>import("./packages_community-pages-index.18EGeTam.js"),__vite__mapDeps([102,35,32,77,27,3,28,78,103])).then(e=>Ly(e.default||e)),jw=da(Kb({loader:$w},e_)),zw=()=>o(()=>import("./packages_community-pages-publish.BsWkijpW.js"),__vite__mapDeps([104,35,32,105])).then(e=>Ly(e.default||e)),Fw=da(Kb({loader:zw},e_)),Ww=()=>o(()=>import("./packages_community-pages-post_detail.rot_qgxL.js"),__vite__mapDeps([106,27,3,28,35,32,38,107])).then(e=>Ly(e.default||e)),Hw=da(Kb({loader:Ww},e_)),Uw=()=>o(()=>import("./packages_community-pages-user_profile.CCKJkMSL.js"),__vite__mapDeps([108,35,32,38,109])).then(e=>Ly(e.default||e)),qw=da(Kb({loader:Uw},e_)),Yw=()=>o(()=>import("./packages_lottery-pages-index.DefpppUH.js"),__vite__mapDeps([110,58,32,27,3,28,111])).then(e=>Ly(e.default||e)),Zw=da(Kb({loader:Yw},e_)),Gw=()=>o(()=>import("./packages_lottery-pages-draw_list.D935EDz2.js"),__vite__mapDeps([112,58,32,113])).then(e=>Ly(e.default||e)),Qw=da(Kb({loader:Gw},e_)),Jw=()=>o(()=>import("./packages_lottery-pages-detail.BiN4XyXZ.js"),__vite__mapDeps([114,58,32,115])).then(e=>Ly(e.default||e)),Xw=da(Kb({loader:Jw},e_)),Kw=()=>o(()=>import("./packages_lottery-pages-ai_predict.mcO1FDIT.js"),__vite__mapDeps([116,58,32,117])).then(e=>Ly(e.default||e)),eT=da(Kb({loader:Kw},e_));function tT(e,t){return Br(),jr(Gb,null,{page:Io(()=>[Yr(e,Kb({},t,{ref:"page"}),null,512)]),_:1})}window.__uniRoutes=[{path:"/",alias:"/pages/index/index",component:{setup(){const e=Iy(),t=e&&e.$route&&e.$route.query||{};return()=>tT(n_,t)}},loader:t_,meta:{isQuit:!0,isEntry:!0,isTabBar:!0,tabBarIndex:0,titleNView:!1,navigationBar:{style:"custom",type:"default"},isNVue:!1}},{path:"/pages/match/match",component:{setup(){const e=Iy(),t=e&&e.$route&&e.$route.query||{};return()=>tT(a_,t)}},loader:o_,meta:{disableScroll:!0,titleNView:!1,navigationBar:{style:"custom",type:"default"},isNVue:!1}},{path:"/pages/user/user",component:{setup(){const e=Iy(),t=e&&e.$route&&e.$route.query||{};return()=>tT(i_,t)}},loader:r_,meta:{isQuit:!0,isTabBar:!0,tabBarIndex:5,titleNView:!1,navigationBar:{style:"custom",type:"default"},isNVue:!1}},{path:"/pages/channel/channel-manage",component:{setup(){const e=Iy(),t=e&&e.$route&&e.$route.query||{};return()=>tT(l_,t)}},loader:s_,meta:{titleNView:!1,navigationBar:{style:"custom",type:"default"},isNVue:!1}},{path:"/pages/login/login",component:{setup(){const e=Iy(),t=e&&e.$route&&e.$route.query||{};return()=>tT(d_,t)}},loader:c_,meta:{navigationBar:{titleText:"登录",style:"default",type:"default"},isNVue:!1}},{path:"/pages/register/register",component:{setup(){const e=Iy(),t=e&&e.$route&&e.$route.query||{};return()=>tT(h_,t)}},loader:u_,meta:{navigationBar:{titleText:"注册",style:"default",type:"default"},isNVue:!1}},{path:"/pages/forget_pwd/forget_pwd",component:{setup(){const e=Iy(),t=e&&e.$route&&e.$route.query||{};return()=>tT(p_,t)}},loader:m_,meta:{navigationBar:{titleText:"忘记密码",style:"default",type:"default"},isNVue:!1}},{path:"/pages/customer_service/customer_service",component:{setup(){const e=Iy(),t=e&&e.$route&&e.$route.query||{};return()=>tT(g_,t)}},loader:f_,meta:{navigationBar:{titleText:"联系客服",style:"default",type:"default"},isNVue:!1}},{path:"/pages/news_detail/news_detail",component:{setup(){const e=Iy(),t=e&&e.$route&&e.$route.query||{};return()=>tT(v_,t)}},loader:y_,meta:{navigationBar:{titleText:"详情",style:"default",type:"default"},isNVue:!1}},{path:"/pages/match_detail/match_detail",component:{setup(){const e=Iy(),t=e&&e.$route&&e.$route.query||{};return()=>tT(__,t)}},loader:b_,meta:{titleNView:!1,navigationBar:{titleText:"赛事详情",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/my_posts/my_posts",component:{setup(){const e=Iy(),t=e&&e.$route&&e.$route.query||{};return()=>tT(T_,t)}},loader:w_,meta:{navigationBar:{titleText:"我的帖子",style:"default",type:"default"},isNVue:!1}},{path:"/pages/my_follow/my_follow",component:{setup(){const e=Iy(),t=e&&e.$route&&e.$route.query||{};return()=>tT(S_,t)}},loader:x_,meta:{navigationBar:{titleText:"我的关注",style:"default",type:"default"},isNVue:!1}},{path:"/pages/vip/vip",component:{setup(){const e=Iy(),t=e&&e.$route&&e.$route.query||{};return()=>tT(k_,t)}},loader:C_,meta:{navigationBar:{style:"custom",type:"default"},isNVue:!1}},{path:"/pages/distribution/distribution",component:{setup(){const e=Iy(),t=e&&e.$route&&e.$route.query||{};return()=>tT(A_,t)}},loader:M_,meta:{navigationBar:{style:"custom",type:"default"},isNVue:!1}},{path:"/pages/ai_analysis/ai_analysis",component:{setup(){const e=Iy(),t=e&&e.$route&&e.$route.query||{};return()=>tT(R_,t)}},loader:I_,meta:{navigationBar:{style:"custom",type:"default"},isNVue:!1}},{path:"/pages/ai_assistant/ai_assistant",component:{setup(){const e=Iy(),t=e&&e.$route&&e.$route.query||{};return()=>tT(P_,t)}},loader:E_,meta:{navigationBar:{style:"custom",type:"default"},isNVue:!1}},{path:"/pages/private_chat/list",component:{setup(){const e=Iy(),t=e&&e.$route&&e.$route.query||{};return()=>tT(O_,t)}},loader:L_,meta:{navigationBar:{style:"custom",type:"default"},isNVue:!1}},{path:"/pages/private_chat/room",component:{setup(){const e=Iy(),t=e&&e.$route&&e.$route.query||{};return()=>tT(N_,t)}},loader:B_,meta:{navigationBar:{style:"custom",type:"default"},isNVue:!1}},{path:"/pages/crypto/crypto",component:{setup(){const e=Iy(),t=e&&e.$route&&e.$route.query||{};return()=>tT(V_,t)}},loader:D_,meta:{isQuit:!0,isTabBar:!0,tabBarIndex:2,titleNView:!1,navigationBar:{style:"custom",type:"default"},isNVue:!1}},{path:"/pages/crypto/crypto_detail",component:{setup(){const e=Iy(),t=e&&e.$route&&e.$route.query||{};return()=>tT(j_,t)}},loader:$_,meta:{titleNView:!1,navigationBar:{style:"custom",type:"default"},isNVue:!1}},{path:"/pages/lottery_analysis/lottery_analysis",component:{setup(){const e=Iy(),t=e&&e.$route&&e.$route.query||{};return()=>tT(F_,t)}},loader:z_,meta:{isQuit:!0,isTabBar:!0,tabBarIndex:3,navigationBar:{style:"custom",type:"default"},isNVue:!1}},{path:"/pages/user_set/user_set",component:{setup(){const e=Iy(),t=e&&e.$route&&e.$route.query||{};return()=>tT(H_,t)}},loader:W_,meta:{navigationBar:{titleText:"个人设置",style:"default",type:"default"},isNVue:!1}},{path:"/pages/collection/collection",component:{setup(){const e=Iy(),t=e&&e.$route&&e.$route.query||{};return()=>tT(q_,t)}},loader:U_,meta:{navigationBar:{titleText:"我的收藏",style:"default",type:"default"},isNVue:!1}},{path:"/pages/as_us/as_us",component:{setup(){const e=Iy(),t=e&&e.$route&&e.$route.query||{};return()=>tT(Z_,t)}},loader:Y_,meta:{navigationBar:{titleText:"关于我们",style:"default",type:"default"},isNVue:!1}},{path:"/pages/agreement/agreement",component:{setup(){const e=Iy(),t=e&&e.$route&&e.$route.query||{};return()=>tT(Q_,t)}},loader:G_,meta:{navigationBar:{titleText:"协议",style:"default",type:"default"},isNVue:!1}},{path:"/pages/article_view/article_view",component:{setup(){const e=Iy(),t=e&&e.$route&&e.$route.query||{};return()=>tT(X_,t)}},loader:J_,meta:{navigationBar:{titleText:"详情",style:"default",type:"default"},isNVue:!1}},{path:"/pages/change_password/change_password",component:{setup(){const e=Iy(),t=e&&e.$route&&e.$route.query||{};return()=>tT(ew,t)}},loader:K_,meta:{navigationBar:{titleText:"修改密码",style:"default",type:"default"},isNVue:!1}},{path:"/pages/user_data/user_data",component:{setup(){const e=Iy(),t=e&&e.$route&&e.$route.query||{};return()=>tT(nw,t)}},loader:tw,meta:{navigationBar:{titleText:"个人资料",style:"default",type:"default"},isNVue:!1}},{path:"/pages/search/search",component:{setup(){const e=Iy(),t=e&&e.$route&&e.$route.query||{};return()=>tT(aw,t)}},loader:ow,meta:{navigationBar:{style:"custom",type:"default"},isNVue:!1}},{path:"/pages/webview/webview",component:{setup(){const e=Iy(),t=e&&e.$route&&e.$route.query||{};return()=>tT(iw,t)}},loader:rw,meta:{navigationBar:{},isNVue:!1}},{path:"/pages/bind_mobile/bind_mobile",component:{setup(){const e=Iy(),t=e&&e.$route&&e.$route.query||{};return()=>tT(lw,t)}},loader:sw,meta:{navigationBar:{titleText:"绑定手机号",style:"default",type:"default"},isNVue:!1}},{path:"/pages/empty/empty",component:{setup(){const e=Iy(),t=e&&e.$route&&e.$route.query||{};return()=>tT(dw,t)}},loader:cw,meta:{isQuit:!0,isTabBar:!0,tabBarIndex:4,navigationBar:{style:"custom",type:"default"},isNVue:!1}},{path:"/pages/web_closed/web_closed",component:{setup(){const e=Iy(),t=e&&e.$route&&e.$route.query||{};return()=>tT(hw,t)}},loader:uw,meta:{navigationBar:{style:"custom",type:"default"},isNVue:!1}},{path:"/pages/payment_result/payment_result",component:{setup(){const e=Iy(),t=e&&e.$route&&e.$route.query||{};return()=>tT(pw,t)}},loader:mw,meta:{navigationBar:{titleText:"支付结果",style:"default",type:"default"},isNVue:!1}},{path:"/uni_modules/vk-uview-ui/components/u-avatar-cropper/u-avatar-cropper",component:{setup(){const e=Iy(),t=e&&e.$route&&e.$route.query||{};return()=>tT(gw,t)}},loader:fw,meta:{navigationBar:{backgroundColor:"#000000",titleText:"头像裁剪",style:"default",type:"default"},isNVue:!1}},{path:"/uni_modules/uni-upgrade-center-app/pages/upgrade-popup",component:{setup(){const e=Iy(),t=e&&e.$route&&e.$route.query||{};return()=>tT(vw,t)}},loader:yw,meta:{disableScroll:!0,backgroundColorTop:"transparent",background:"transparent",titleNView:!1,scrollIndicator:!1,popGesture:"none",animationType:"fade-in",animationDuration:200,navigationBar:{type:"default",style:"custom"},isNVue:!1}},{path:"/packages/pages/404/404",component:{setup(){const e=Iy(),t=e&&e.$route&&e.$route.query||{};return()=>tT(_w,t)}},loader:bw,meta:{navigationBar:{titleText:"404",style:"default",type:"default"},isNVue:!1}},{path:"/packages/pages/user_wallet/user_wallet",component:{setup(){const e=Iy(),t=e&&e.$route&&e.$route.query||{};return()=>tT(Tw,t)}},loader:ww,meta:{navigationBar:{backgroundColor:"#005fff",titleText:"我的钱包",type:"default",titleColor:"#ffffff"},isNVue:!1}},{path:"/packages/pages/points_log/points_log",component:{setup(){const e=Iy(),t=e&&e.$route&&e.$route.query||{};return()=>tT(Sw,t)}},loader:xw,meta:{navigationBar:{titleText:"积分明细",style:"default",type:"default"},isNVue:!1}},{path:"/packages/pages/recharge/recharge",component:{setup(){const e=Iy(),t=e&&e.$route&&e.$route.query||{};return()=>tT(kw,t)}},loader:Cw,meta:{navigationBar:{titleText:"充值",style:"default",type:"default"},isNVue:!1}},{path:"/packages/pages/recharge_record/recharge_record",component:{setup(){const e=Iy(),t=e&&e.$route&&e.$route.query||{};return()=>tT(Aw,t)}},loader:Mw,meta:{navigationBar:{titleText:"充值记录",style:"default",type:"default"},isNVue:!1}},{path:"/packages/pages/points_products/points_products",component:{setup(){const e=Iy(),t=e&&e.$route&&e.$route.query||{};return()=>tT(Rw,t)}},loader:Iw,meta:{navigationBar:{titleText:"购买积分",style:"default",type:"default"},isNVue:!1}},{path:"/packages/pages/points_order/points_order",component:{setup(){const e=Iy(),t=e&&e.$route&&e.$route.query||{};return()=>tT(Pw,t)}},loader:Ew,meta:{navigationBar:{titleText:"积分下单",style:"default",type:"default"},isNVue:!1}},{path:"/packages/pages/points_order_detail/points_order_detail",component:{setup(){const e=Iy(),t=e&&e.$route&&e.$route.query||{};return()=>tT(Ow,t)}},loader:Lw,meta:{navigationBar:{titleText:"订单详情",style:"default",type:"default"},isNVue:!1}},{path:"/packages_match/pages/index",component:{setup(){const e=Iy(),t=e&&e.$route&&e.$route.query||{};return()=>tT(Nw,t)}},loader:Bw,meta:{navigationBar:{style:"custom",type:"default"},isNVue:!1}},{path:"/packages_match/pages/worldcup",component:{setup(){const e=Iy(),t=e&&e.$route&&e.$route.query||{};return()=>tT(Vw,t)}},loader:Dw,meta:{isQuit:!0,isTabBar:!0,tabBarIndex:1,disableScroll:!0,titleNView:!1,navigationBar:{titleText:"世界杯专题",style:"custom",type:"default"},isNVue:!1}},{path:"/packages_community/pages/index",component:{setup(){const e=Iy(),t=e&&e.$route&&e.$route.query||{};return()=>tT(jw,t)}},loader:$w,meta:{navigationBar:{style:"custom",type:"default"},isNVue:!1}},{path:"/packages_community/pages/publish",component:{setup(){const e=Iy(),t=e&&e.$route&&e.$route.query||{};return()=>tT(Fw,t)}},loader:zw,meta:{navigationBar:{style:"custom",type:"default"},isNVue:!1}},{path:"/packages_community/pages/post_detail",component:{setup(){const e=Iy(),t=e&&e.$route&&e.$route.query||{};return()=>tT(Hw,t)}},loader:Ww,meta:{navigationBar:{style:"custom",type:"default"},isNVue:!1}},{path:"/packages_community/pages/user_profile",component:{setup(){const e=Iy(),t=e&&e.$route&&e.$route.query||{};return()=>tT(qw,t)}},loader:Uw,meta:{navigationBar:{style:"custom",type:"default"},isNVue:!1}},{path:"/packages_lottery/pages/index",component:{setup(){const e=Iy(),t=e&&e.$route&&e.$route.query||{};return()=>tT(Zw,t)}},loader:Yw,meta:{navigationBar:{style:"custom",type:"default"},isNVue:!1}},{path:"/packages_lottery/pages/draw_list",component:{setup(){const e=Iy(),t=e&&e.$route&&e.$route.query||{};return()=>tT(Qw,t)}},loader:Gw,meta:{navigationBar:{style:"custom",type:"default"},isNVue:!1}},{path:"/packages_lottery/pages/detail",component:{setup(){const e=Iy(),t=e&&e.$route&&e.$route.query||{};return()=>tT(Xw,t)}},loader:Jw,meta:{navigationBar:{style:"custom",type:"default"},isNVue:!1}},{path:"/packages_lottery/pages/ai_predict",component:{setup(){const e=Iy(),t=e&&e.$route&&e.$route.query||{};return()=>tT(eT,t)}},loader:Kw,meta:{navigationBar:{style:"custom",type:"default"},isNVue:!1}}].map(e=>(e.meta.route=(e.alias||e.path).slice(1),e));const nT=(e,t=0)=>(t,n=ri())=>{!ui&&Ca(e,t,n)},oT=nT(se,3),aT=nT(le,3),rT=nT(ce,1),iT=nT(pe,2),sT=nT(fe,2),lT=nT(Ce,2); + */(e); if (!o) return; const a = t._component; v(a) || a.render || a.template || (a.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 ys = "undefined" != typeof document; function vs(e) { return "object" == typeof e || "displayName" in e || "props" in e || "__vccOpts" in e } const bs = Object.assign; function _s(e, t) { const n = {}; for (const o in t) { const a = t[o]; n[o] = Ts(a) ? a.map(e) : e(a) } return n } const ws = () => { }, Ts = Array.isArray, xs = /#/g, Ss = /&/g, Cs = /\//g, ks = /=/g, Ms = /\?/g, As = /\+/g, Is = /%5B/g, Rs = /%5D/g, Es = /%5E/g, Ps = /%60/g, Ls = /%7B/g, Os = /%7C/g, Bs = /%7D/g, Ns = /%20/g; function Ds(e) { return encodeURI("" + e).replace(Os, "|").replace(Is, "[").replace(Rs, "]") } function Vs(e) { return Ds(e).replace(As, "%2B").replace(Ns, "+").replace(xs, "%23").replace(Ss, "%26").replace(Ps, "`").replace(Ls, "{").replace(Bs, "}").replace(Es, "^") } function $s(e) { return Vs(e).replace(ks, "%3D") } function js(e) { return null == e ? "" : function (e) { return Ds(e).replace(xs, "%23").replace(Ms, "%3F") }(e).replace(Cs, "%2F") } function zs(e) { try { return decodeURIComponent("" + e) } catch (t) { } return "" + e } const Fs = /\/$/; function Ws(e, t, n = "/") { let o, a = {}, r = "", i = ""; const s = t.indexOf("#"); let l = t.indexOf("?"); return s < l && s >= 0 && (l = -1), l > -1 && (o = t.slice(0, l), r = t.slice(l + 1, s > -1 ? s : t.length), a = e(r)), s > -1 && (o = o || t.slice(0, s), i = 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("/"), a = o[o.length - 1]; ".." !== a && "." !== a || o.push(""); let r, i, s = n.length - 1; for (r = 0; r < o.length; r++)if (i = o[r], "." !== i) { if (".." !== i) break; s > 1 && s-- } return n.slice(0, s).join("/") + "/" + o.slice(r).join("/") }(null != o ? o : t, n), { fullPath: o + (r && "?") + r + i, path: o, query: a, hash: zs(i) } } function Hs(e, t) { return t && e.toLowerCase().startsWith(t.toLowerCase()) ? e.slice(t.length) || "/" : e } function Us(e, t) { return (e.aliasOf || e) === (t.aliasOf || t) } function qs(e, t) { if (Object.keys(e).length !== Object.keys(t).length) return !1; for (const n in e) if (!Ys(e[n], t[n])) return !1; return !0 } function Ys(e, t) { return Ts(e) ? Zs(e, t) : Ts(t) ? Zs(t, e) : e === t } function Zs(e, t) { return Ts(t) ? e.length === t.length && e.every((e, n) => e === t[n]) : 1 === e.length && e[0] === t } const Gs = { path: "/", name: void 0, params: {}, query: {}, hash: "", fullPath: "/", matched: [], meta: {}, redirectedFrom: void 0 }; var Qs, Js, Xs, Ks; function el(e) { if (!e) if (ys) { const t = document.querySelector("base"); e = (e = t && t.getAttribute("href") || "/").replace(/^\w+:\/\/[^\/]+/, "") } else e = "/"; return "/" !== e[0] && "#" !== e[0] && (e = "/" + e), e.replace(Fs, "") } (Js = Qs || (Qs = {})).pop = "pop", Js.push = "push", (Ks = Xs || (Xs = {})).back = "back", Ks.forward = "forward", Ks.unknown = ""; const tl = /^[^#]+#/; function nl(e, t) { return e.replace(tl, "#") + t } const ol = () => ({ 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("#"), a = "string" == typeof n ? o ? document.getElementById(n.slice(1)) : document.querySelector(n) : n; if (!a) 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) } }(a, 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 rl(e, t) { return (history.state ? history.state.position - t : -1) + e } const il = new Map; function sl(e, t) { const { pathname: n, search: o, hash: a } = t, r = e.indexOf("#"); if (r > -1) { let t = a.includes(e.slice(r)) ? e.slice(r).length : 1, n = a.slice(t); return "/" !== n[0] && (n = "/" + n), Hs(n, "") } return Hs(n, e) + o + a } function ll(e, t, n, o = !1, a = !1) { return { back: e, current: t, forward: n, replaced: o, position: window.history.length, scroll: a ? ol() : null } } function cl(e) { const { history: t, location: n } = window, o = { value: sl(e, n) }, a = { value: t.state }; function r(o, r, i) { 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[i ? "replaceState" : "pushState"](r, "", l), a.value = r } catch (c) { console.error(c), n[i ? "replace" : "assign"](l) } } return a.value || r(o.value, { back: null, current: o.value, forward: null, position: t.length - 1, replaced: !0, scroll: null }, !0), { location: o, state: a, push: function (e, n) { const i = bs({}, a.value, t.state, { forward: e, scroll: ol() }); r(i.current, i, !0), r(e, bs({}, ll(o.value, e, null), { position: i.position + 1 }, n), !1), o.value = e }, replace: function (e, n) { r(e, bs({}, t.state, ll(a.value.back, e, a.value.forward, !0), n, { position: a.value.position }), !0), o.value = e } } } function dl(e) { const t = cl(e = el(e)), n = function (e, t, n, o) { let a = [], r = [], i = null; const s = ({ state: r }) => { const s = sl(e, location), l = n.value, c = t.value; let d = 0; if (r) { if (n.value = s, t.value = r, i && i === l) return void (i = null); d = c ? r.position - c.position : 0 } else o(s); a.forEach(e => { e(n.value, l, { delta: d, type: Qs.pop, direction: d ? d > 0 ? Xs.forward : Xs.back : Xs.unknown }) }) }; function l() { const { history: e } = window; e.state && e.replaceState(bs({}, e.state, { scroll: ol() }), "") } return window.addEventListener("popstate", s), window.addEventListener("beforeunload", l, { passive: !0 }), { pauseListeners: function () { i = n.value }, listen: function (e) { a.push(e); const t = () => { const t = a.indexOf(e); t > -1 && a.splice(t, 1) }; return r.push(t), t }, destroy: function () { for (const e of r) e(); r = [], window.removeEventListener("popstate", s), window.removeEventListener("beforeunload", l) } } }(e, t.state, t.location, t.replace); const o = bs({ location: "", base: e, go: function (e, t = !0) { t || n.pauseListeners(), history.go(e) }, createHref: nl.bind(null, e) }, t, n); return Object.defineProperty(o, "location", { enumerable: !0, get: () => t.location.value }), Object.defineProperty(o, "state", { enumerable: !0, get: () => t.state.value }), o } function ul(e) { return "string" == typeof e || "symbol" == typeof e } const hl = Symbol(""); var ml, pl; function fl(e, t) { return bs(new Error, { type: e, [hl]: !0 }, t) } function gl(e, t) { return e instanceof Error && hl in e && (null == t || !!(e.type & t)) } (pl = ml || (ml = {}))[pl.aborted = 4] = "aborted", pl[pl.cancelled = 8] = "cancelled", pl[pl.duplicated = 16] = "duplicated"; const yl = "[^/]+?", vl = { sensitive: !1, strict: !1, start: !0, end: !0 }, bl = /[.+*?^${}()[\]/\\]/g; function _l(e, t) { let n = 0; for (; n < e.length && n < t.length;) { const o = t[n] - e[n]; if (o) return o; n++ } return e.length < t.length ? 1 === e.length && 80 === e[0] ? -1 : 1 : e.length > t.length ? 1 === t.length && 80 === t[0] ? 1 : -1 : 0 } function wl(e, t) { let n = 0; const o = e.score, a = t.score; for (; n < o.length && n < a.length;) { const e = _l(o[n], a[n]); if (e) return e; n++ } if (1 === Math.abs(a.length - o.length)) { if (Tl(o)) return 1; if (Tl(a)) return -1 } return a.length - o.length } function Tl(e) { const t = e[e.length - 1]; return e.length > 0 && t[t.length - 1] < 0 } const xl = { type: 0, value: "" }, Sl = /[a-zA-Z0-9_]/; function Cl(e, t, n) { const o = function (e, t) { const n = bs({}, vl, t), o = []; let a = n.start ? "^" : ""; const r = []; for (const l of e) { const e = l.length ? [] : [90]; n.strict && !l.length && (a += "/"); for (let t = 0; t < l.length; t++) { const o = l[t]; let i = 40 + (n.sensitive ? .25 : 0); if (0 === o.type) t || (a += "/"), a += o.value.replace(bl, "\\$&"), i += 40; else if (1 === o.type) { const { value: e, repeatable: n, optional: c, regexp: d } = o; r.push({ name: e, repeatable: n, optional: c }); const u = d || yl; if (u !== yl) { i += 10; try { new RegExp(`(${u})`) } catch (s) { throw new Error(`Invalid custom RegExp for param "${e}" (${u}): ` + s.message) } } let h = n ? `((?:${u})(?:/(?:${u}))*)` : `(${u})`; t || (h = c && l.length < 2 ? `(?:/${h})` : "/" + h), c && (h += "?"), a += h, i += 20, c && (i += -8), n && (i += -20), ".*" === u && (i += -50) } e.push(i) } o.push(e) } if (n.strict && n.end) { const e = o.length - 1; o[e][o[e].length - 1] += .7000000000000001 } n.strict || (a += "/?"), n.end ? a += "$" : n.strict && (a += "(?:/|$)"); const i = new RegExp(a, n.sensitive ? "" : "i"); return { re: i, score: o, keys: r, parse: function (e) { const t = e.match(i), n = {}; if (!t) return null; for (let o = 1; o < t.length; o++) { const e = t[o] || "", a = r[o - 1]; n[a.name] = e && a.repeatable ? e.split("/") : e } return n }, stringify: function (t) { let n = "", o = !1; for (const a of e) { o && n.endsWith("/") || (n += "/"), o = !1; for (const e of a) if (0 === e.type) n += e.value; else if (1 === e.type) { const { value: r, repeatable: i, optional: s } = e, l = r in t ? t[r] : ""; if (Ts(l) && !i) throw new Error(`Provided param "${r}" is an array but it is not repeatable (* or + modifiers)`); const c = Ts(l) ? l.join("/") : l; if (!c) { if (!s) throw new Error(`Missing required param "${r}"`); a.length < 2 && (n.endsWith("/") ? n = n.slice(0, -1) : o = !0) } n += c } } return n || "/" } } }(function (e) { if (!e) return [[]]; if ("/" === e) return [[xl]]; if (!e.startsWith("/")) throw new Error(`Invalid path "${e}"`); function t(e) { throw new Error(`ERR (${n})/"${c}": ${e}`) } let n = 0, o = n; const a = []; let r; function i() { r && a.push(r), r = [] } let s, l = 0, c = "", d = ""; function u() { c && (0 === n ? r.push({ type: 0, value: c }) : 1 === n || 2 === n || 3 === n ? (r.length > 1 && ("*" === s || "+" === s) && t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`), r.push({ type: 1, value: c, regexp: d, repeatable: "*" === s || "+" === s, optional: "*" === s || "?" === s })) : t("Invalid state to consume buffer"), c = "") } function h() { c += s } for (; l < e.length;)if (s = e[l++], "\\" !== s || 2 === n) switch (n) { case 0: "/" === s ? (c && u(), i()) : ":" === s ? (u(), n = 1) : h(); break; case 4: h(), n = o; break; case 1: "(" === s ? n = 2 : Sl.test(s) ? h() : (u(), n = 0, "*" !== s && "?" !== s && "+" !== s && l--); break; case 2: ")" === s ? "\\" == d[d.length - 1] ? d = d.slice(0, -1) + s : n = 3 : d += s; break; case 3: u(), n = 0, "*" !== s && "?" !== s && "+" !== s && l--, d = ""; break; default: t("Unknown state") } else o = n, n = 4; return 2 === n && t(`Unfinished custom RegExp for param "${c}"`), u(), i(), a }(e.path), n), a = bs(o, { record: e, parent: t, children: [], alias: [] }); return t && !a.record.aliasOf == !t.record.aliasOf && t.children.push(a), a } function kl(e, t) { const n = [], o = new Map; function a(e, n, o) { const s = !o, l = function (e) { return { path: e.path, redirect: e.redirect, name: e.name, meta: e.meta || {}, aliasOf: void 0, beforeEnter: e.beforeEnter, props: Al(e), children: e.children || [], instances: {}, leaveGuards: new Set, updateGuards: new Set, enterCallbacks: {}, mods: {}, components: "components" in e ? e.components || null : e.component && { default: e.component } } }(e); l.aliasOf = o && o.record; const c = El(t, e), d = [l]; if ("alias" in e) { const t = "string" == typeof e.alias ? [e.alias] : e.alias; for (const e of t) d.push(bs({}, l, { components: o ? o.record.components : l.components, path: e, aliasOf: o ? o.record : l })) } let u, h; for (const t of d) { const { path: d } = t; if (n && "/" !== d[0]) { const e = n.record.path, o = "/" === e[e.length - 1] ? "" : "/"; t.path = n.record.path + (d && o + d) } if (u = Cl(t, n, c), o ? o.alias.push(u) : (h = h || u, h !== u && h.alias.push(u), s && e.name && !Il(u) && r(e.name)), Pl(u) && i(u), l.children) { const e = l.children; for (let t = 0; t < e.length; t++)a(e[t], u, o && o.children[t]) } o = o || u } return h ? () => { r(h) } : ws } function r(e) { if (ul(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 i(e) { const t = function (e, t) { let n = 0, o = t.length; for (; n !== o;) { const a = n + o >> 1; wl(e, t[a]) < 0 ? o = a : n = a + 1 } const a = function (e) { let t = e; for (; t = t.parent;)if (Pl(t) && 0 === wl(e, t)) return t; return }(e); a && (o = t.lastIndexOf(a, o - 1)); return o }(e, n); n.splice(t, 0, e), e.record.name && !Il(e) && o.set(e.record.name, e) } return t = El({ strict: !1, end: !0, sensitive: !1 }, t), e.forEach(e => a(e)), { addRoute: a, resolve: function (e, t) { let a, r, i, s = {}; if ("name" in e && e.name) { if (a = o.get(e.name), !a) throw fl(1, { location: e }); i = a.record.name, s = bs(Ml(t.params, a.keys.filter(e => !e.optional).concat(a.parent ? a.parent.keys.filter(e => e.optional) : []).map(e => e.name)), e.params && Ml(e.params, a.keys.map(e => e.name))), r = a.stringify(s) } else if (null != e.path) r = e.path, a = n.find(e => e.re.test(r)), a && (s = a.parse(r), i = a.record.name); else { if (a = t.name ? o.get(t.name) : n.find(e => e.re.test(t.path)), !a) throw fl(1, { location: e, currentLocation: t }); i = a.record.name, s = bs({}, t.params, e.params), r = a.stringify(s) } const l = []; let c = a; for (; c;)l.unshift(c.record), c = c.parent; return { name: i, path: r, params: s, matched: l, meta: Rl(l) } }, removeRoute: r, clearRoutes: function () { n.length = 0, o.clear() }, getRoutes: function () { return n }, getRecordMatcher: function (e) { return o.get(e) } } } function Ml(e, t) { const n = {}; for (const o of t) o in e && (n[o] = e[o]); return n } function Al(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 Il(e) { for (; e;) { if (e.record.aliasOf) return !0; e = e.parent } return !1 } function Rl(e) { return e.reduce((e, t) => bs(e, t.meta), {}) } function El(e, t) { const n = {}; for (const o in e) n[o] = o in t ? t[o] : e[o]; return n } function Pl({ record: e }) { return !!(e.name || e.components && Object.keys(e.components).length || e.redirect) } function Ll(e) { const t = {}; if ("" === e || "?" === e) return t; const n = ("?" === e[0] ? e.slice(1) : e).split("&"); for (let o = 0; o < n.length; ++o) { const e = n[o].replace(As, " "), a = e.indexOf("="), r = zs(a < 0 ? e : e.slice(0, a)), i = a < 0 ? null : zs(e.slice(a + 1)); if (r in t) { let e = t[r]; Ts(e) || (e = t[r] = [e]), e.push(i) } else t[r] = i } return t } function Ol(e) { let t = ""; for (let n in e) { const o = e[n]; if (n = $s(n), null == o) { void 0 !== o && (t += (t.length ? "&" : "") + n); continue } (Ts(o) ? o.map(e => e && Vs(e)) : [o && Vs(o)]).forEach(e => { void 0 !== e && (t += (t.length ? "&" : "") + n, null != e && (t += "=" + e)) }) } return t } function Bl(e) { const t = {}; for (const n in e) { const o = e[n]; void 0 !== o && (t[n] = Ts(o) ? o.map(e => null == e ? null : "" + e) : null == o ? o : "" + o) } return t } const Nl = Symbol(""), Dl = Symbol(""), Vl = Symbol(""), $l = Symbol(""), jl = Symbol(""); function zl() { 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 Fl(e, t, n, o, a, r = e => e()) { const i = o && (o.enterCallbacks[a] = o.enterCallbacks[a] || []); return () => new Promise((s, l) => { const c = e => { var r; !1 === e ? l(fl(4, { from: n, to: t })) : e instanceof Error ? l(e) : "string" == typeof (r = e) || r && "object" == typeof r ? l(fl(2, { from: t, to: e })) : (i && o.enterCallbacks[a] === i && "function" == typeof e && i.push(e), s()) }, d = r(() => e.call(o && o.instances[a], t, n, c)); let u = Promise.resolve(d); e.length < 3 && (u = u.then(c)), u.catch(e => l(e)) }) } function Wl(e, t, n, o, a = e => e()) { const r = []; for (const i of e) for (const e in i.components) { let s = i.components[e]; if ("beforeRouteEnter" === t || i.instances[e]) if (vs(s)) { const l = (s.__vccOpts || s)[t]; l && r.push(Fl(l, n, o, i, e, a)) } else { let l = s(); r.push(() => l.then(r => { if (!r) throw new Error(`Couldn't resolve component "${e}" at "${i.path}"`); const s = (l = r).__esModule || "Module" === l[Symbol.toStringTag] || l.default && vs(l.default) ? r.default : r; var l; i.mods[e] = r, i.components[e] = s; const c = (s.__vccOpts || s)[t]; return c && Fl(c, n, o, i, e, a)() })) } } return r } function Hl(e) { const t = lr(Vl), n = lr($l), o = gi(() => { const n = Yn(e.to); return t.resolve(n) }), a = gi(() => { const { matched: e } = o.value, { length: t } = e, a = e[t - 1], r = n.matched; if (!a || !r.length) return -1; const i = r.findIndex(Us.bind(null, a)); if (i > -1) return i; const s = ql(e[t - 2]); return t > 1 && ql(a) === s && r[r.length - 1].path !== s ? r.findIndex(Us.bind(null, e[t - 2])) : i }), r = gi(() => a.value > -1 && function (e, t) { for (const n in t) { const o = t[n], a = e[n]; if ("string" == typeof o) { if (o !== a) return !1 } else if (!Ts(a) || a.length !== o.length || o.some((e, t) => e !== a[t])) return !1 } return !0 }(n.params, o.value.params)), i = gi(() => a.value > -1 && a.value === n.matched.length - 1 && qs(n.params, o.value.params)); return { route: o, href: gi(() => o.value.href), isActive: r, isExactActive: i, navigate: function (n = {}) { return function (e) { if (e.metaKey || e.altKey || e.ctrlKey || e.shiftKey) return; if (e.defaultPrevented) return; if (void 0 !== e.button && 0 !== e.button) return; if (e.currentTarget && e.currentTarget.getAttribute) { const t = e.currentTarget.getAttribute("target"); if (/\b_blank\b/i.test(t)) return } e.preventDefault && e.preventDefault(); return !0 }(n) ? t[Yn(e.replace) ? "replace" : "push"](Yn(e.to)).catch(ws) : Promise.resolve() } } } const Ul = la({ name: "RouterLink", compatConfig: { MODE: 3 }, props: { to: { type: [String, Object], required: !0 }, replace: Boolean, activeClass: String, exactActiveClass: String, custom: Boolean, ariaCurrentValue: { type: String, default: "page" } }, useLink: Hl, setup(e, { slots: t }) { const n = Mn(Hl(e)), { options: o } = lr(Vl), a = gi(() => ({ [Yl(e.activeClass, o.linkActiveClass, "router-link-active")]: n.isActive, [Yl(e.exactActiveClass, o.linkExactActiveClass, "router-link-exact-active")]: n.isExactActive })); return () => { const o = t.default && t.default(n); return e.custom ? o : yi("a", { "aria-current": n.isExactActive ? e.ariaCurrentValue : null, href: n.href, onClick: n.navigate, class: a.value }, o) } } }); function ql(e) { return e ? e.aliasOf ? e.aliasOf.path : e.path : "" } const Yl = (e, t, n) => null != e ? e : null != t ? t : n, Zl = la({ name: "RouterView", inheritAttrs: !1, props: { name: { type: String, default: "default" }, route: Object }, compatConfig: { MODE: 3 }, setup(e, { attrs: t, slots: n }) { const o = lr(jl), a = gi(() => e.route || o.value), r = lr(Dl, 0), i = gi(() => { let e = Yn(r); const { matched: t } = a.value; let n; for (; (n = t[e]) && !n.components;)e++; return e }), s = gi(() => a.value.matched[i.value]); sr(Dl, gi(() => i.value + 1)), sr(Nl, s), sr(jl, a); const l = Wn(); return Ho(() => [l.value, s.value, e.name], ([e, t, n], [o, a, r]) => { t && (t.instances[n] = e, a && a !== t && e && e === o && (t.leaveGuards.size || (t.leaveGuards = a.leaveGuards), t.updateGuards.size || (t.updateGuards = a.updateGuards))), !e || !t || a && Us(t, a) && o || (t.enterCallbacks[n] || []).forEach(t => t(e)) }, { flush: "post" }), () => { const o = a.value, r = e.name, i = s.value, c = i && i.components[r]; if (!c) return Gl(n.default, { Component: c, route: o }); const d = i.props[r], u = d ? !0 === d ? o.params : "function" == typeof d ? d(o) : d : null, h = yi(c, bs({}, u, t, { onVnodeUnmounted: e => { e.component.isUnmounted && (i.instances[r] = null) }, ref: l })); return Gl(n.default, { Component: h, route: o }) || h } } }); function Gl(e, t) { if (!e) return null; const n = e(t); return 1 === n.length ? n[0] : n } const Ql = Zl; function Jl(e) { const t = kl(e.routes, e), n = e.parseQuery || Ll, o = e.stringifyQuery || Ol, a = e.history, r = zl(), i = zl(), s = zl(), l = Hn(Gs); let c = Gs; ys && e.scrollBehavior && "scrollRestoration" in history && (history.scrollRestoration = "manual"); const d = _s.bind(null, e => "" + e), u = _s.bind(null, js), h = _s.bind(null, zs); function m(e, r) { if (r = bs({}, r || l.value), "string" == typeof e) { const o = Ws(n, e, r.path), i = t.resolve({ path: o.path }, r), s = a.createHref(o.fullPath); return bs(o, i, { params: h(i.params), hash: zs(o.hash), redirectedFrom: void 0, href: s }) } let i; if (null != e.path) i = bs({}, e, { path: Ws(n, e.path, r.path).path }); else { const t = bs({}, e.params); for (const e in t) null == t[e] && delete t[e]; i = bs({}, e, { params: u(t) }), r.params = u(r.params) } const s = t.resolve(i, r), c = e.hash || ""; s.params = d(h(s.params)); const m = function (e, t) { const n = t.query ? e(t.query) : ""; return t.path + (n && "?") + n + (t.hash || "") }(o, bs({}, e, { hash: (p = c, Ds(p).replace(Ls, "{").replace(Bs, "}").replace(Es, "^")), path: s.path })); var p; const f = a.createHref(m); return bs({ fullPath: m, hash: c, query: o === Ol ? Bl(e.query) : e.query || {} }, s, { redirectedFrom: void 0, href: f }) } function p(e) { return "string" == typeof e ? Ws(n, e, l.value.path) : bs({}, e) } function f(e, t) { if (c !== e) return fl(8, { from: t, to: e }) } function g(e) { return v(e) } function y(e) { const t = e.matched[e.matched.length - 1]; if (t && t.redirect) { const { redirect: n } = t; let o = "function" == typeof n ? n(e) : n; return "string" == typeof o && (o = o.includes("?") || o.includes("#") ? o = p(o) : { path: o }, o.params = {}), bs({ query: e.query, hash: e.hash, params: null != o.path ? {} : e.params }, o) } } function v(e, t) { const n = c = m(e), a = l.value, r = e.state, i = e.force, s = !0 === e.replace, d = y(n); if (d) return v(bs(p(d), { state: "object" == typeof d ? bs({}, r, d.state) : r, force: i, replace: s }), t || n); const u = n; let h; return u.redirectedFrom = t, !i && function (e, t, n) { const o = t.matched.length - 1, a = n.matched.length - 1; return o > -1 && o === a && Us(t.matched[o], n.matched[a]) && qs(t.params, n.params) && e(t.query) === e(n.query) && t.hash === n.hash }(o, a, n) && (h = fl(16, { to: u, from: a }), E(a, a, !0, !1)), (h ? Promise.resolve(h) : w(u, a)).catch(e => gl(e) ? gl(e, 2) ? e : R(e) : I(e, u, a)).then(e => { if (e) { if (gl(e, 2)) return v(bs({ replace: s }, p(e.to), { state: "object" == typeof e.to ? bs({}, r, e.to.state) : r, force: i }), t || u) } else e = x(u, a, !0, s, r); return T(u, a, e), e }) } function b(e, t) { const n = f(e, t); return n ? Promise.reject(n) : Promise.resolve() } function _(e) { const t = O.values().next().value; return t && "function" == typeof t.runWithContext ? t.runWithContext(e) : e() } function w(e, t) { let n; const [o, a, s] = function (e, t) { const n = [], o = [], a = [], r = Math.max(t.matched.length, e.matched.length); for (let i = 0; i < r; i++) { const r = t.matched[i]; r && (e.matched.find(e => Us(e, r)) ? o.push(r) : n.push(r)); const s = e.matched[i]; s && (t.matched.find(e => Us(e, s)) || a.push(s)) } return [n, o, a] }(e, t); n = Wl(o.reverse(), "beforeRouteLeave", e, t); for (const r of o) r.leaveGuards.forEach(o => { n.push(Fl(o, e, t)) }); const l = b.bind(null, e, t); return n.push(l), N(n).then(() => { n = []; for (const o of r.list()) n.push(Fl(o, e, t)); return n.push(l), N(n) }).then(() => { n = Wl(a, "beforeRouteUpdate", e, t); for (const o of a) o.updateGuards.forEach(o => { n.push(Fl(o, e, t)) }); return n.push(l), N(n) }).then(() => { n = []; for (const o of s) if (o.beforeEnter) if (Ts(o.beforeEnter)) for (const a of o.beforeEnter) n.push(Fl(a, e, t)); else n.push(Fl(o.beforeEnter, e, t)); return n.push(l), N(n) }).then(() => (e.matched.forEach(e => e.enterCallbacks = {}), n = Wl(s, "beforeRouteEnter", e, t, _), n.push(l), N(n))).then(() => { n = []; for (const o of i.list()) n.push(Fl(o, e, t)); return n.push(l), N(n) }).catch(e => gl(e, 8) ? e : Promise.reject(e)) } function T(e, t, n) { s.list().forEach(o => _(() => o(e, t, n))) } function x(e, t, n, o, r) { const i = f(e, t); if (i) return i; const s = t === Gs, c = ys ? history.state : {}; n && (o || s ? a.replace(e.fullPath, bs({ scroll: s && c && c.scroll }, r)) : a.push(e.fullPath, r)), l.value = e, E(e, t, n, s), R() } let S; function C() { S || (S = a.listen((e, t, n) => { if (!B.listening) return; const o = m(e), r = y(o); if (r) return void v(bs(r, { replace: !0 }), o).catch(ws); c = o; const i = l.value; ys && function (e, t) { il.set(e, t) }(rl(i.fullPath, n.delta), ol()), w(o, i).catch(e => gl(e, 12) ? e : gl(e, 2) ? (v(e.to, o).then(e => { gl(e, 20) && !n.delta && n.type === Qs.pop && a.go(-1, !1) }).catch(ws), Promise.reject()) : (n.delta && a.go(-n.delta, !1), I(e, o, i))).then(e => { (e = e || x(o, i, !1)) && (n.delta && !gl(e, 8) ? a.go(-n.delta, !1) : n.type === Qs.pop && gl(e, 20) && a.go(-1, !1)), T(o, i, e) }).catch(ws) })) } let k, M = zl(), A = zl(); function I(e, t, n) { R(e); const o = A.list(); return o.length ? o.forEach(o => o(e, t, n)) : console.error(e), Promise.reject(e) } function R(e) { return k || (k = !e, C(), M.list().forEach(([t, n]) => e ? n(e) : t()), M.reset()), e } function E(t, n, o, a) { const { scrollBehavior: r } = e; if (!ys || !r) return Promise.resolve(); const i = !o && function (e) { const t = il.get(e); return il.delete(e), t }(rl(t.fullPath, 0)) || (a || !o) && history.state && history.state.scroll || null; return po().then(() => r(t, n, i)).then(e => e && al(e)).catch(e => I(e, t, n)) } const P = e => a.go(e); let L; const O = new Set, B = { currentRoute: l, listening: !0, addRoute: function (e, n) { let o, a; return ul(e) ? (o = t.getRecordMatcher(e), a = n) : a = e, t.addRoute(a, 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: m, options: e, push: g, replace: function (e) { return g(bs(p(e), { replace: !0 })) }, go: P, back: () => P(-1), forward: () => P(1), beforeEach: r.add, beforeResolve: i.add, afterEach: s.add, onError: A.add, isReady: function () { return k && l.value !== Gs ? Promise.resolve() : new Promise((e, t) => { M.add([e, t]) }) }, install(e) { e.component("RouterLink", Ul), e.component("RouterView", Ql), e.config.globalProperties.$router = this, Object.defineProperty(e.config.globalProperties, "$route", { enumerable: !0, get: () => Yn(l) }), ys && !L && l.value === Gs && (L = !0, g(a.location).catch(e => { })); const t = {}; for (const o in Gs) Object.defineProperty(t, o, { get: () => l.value[o], enumerable: !0 }); e.provide(Vl, this), e.provide($l, An(t)), e.provide(jl, l); const n = e.unmount; O.add(e), e.unmount = function () { O.delete(e), O.size < 1 && (c = Gs, S && S(), S = null, l.value = Gs, L = !1, k = !1), n() } } }; function N(e) { return e.reduce((e, t) => e.then(() => _(t)), Promise.resolve()) } return B } function Xl(e) { return lr($l) } const Kl = ["{", "}"]; const ec = /^(?:\d)+/, tc = /^(?:\w)+/; const nc = "zh-Hans", oc = "zh-Hant", ac = "en", rc = "fr", ic = "es", sc = Object.prototype.hasOwnProperty, lc = (e, t) => sc.call(e, t), cc = new class { constructor() { this._caches = Object.create(null) } interpolate(e, t, n = Kl) { if (!t) return [e]; let o = this._caches[e]; return o || (o = function (e, [t, n]) { const o = []; let a = 0, r = ""; for (; a < e.length;) { let i = e[a++]; if (i === t) { r && o.push({ type: "text", value: r }), r = ""; let t = ""; for (i = e[a++]; void 0 !== i && i !== n;)t += i, i = e[a++]; const s = i === n, l = ec.test(t) ? "list" : s && tc.test(t) ? "named" : "unknown"; o.push({ value: t, type: l }) } else r += i } return r && o.push({ type: "text", value: r }), o }(e, n), this._caches[e] = o), function (e, t) { const n = []; let o = 0; const a = Array.isArray(t) ? "list" : (r = t, null !== r && "object" == typeof r ? "named" : "unknown"); var r; if ("unknown" === a) return n; for (; o < e.length;) { const r = e[o]; switch (r.type) { case "text": n.push(r.value); break; case "list": n.push(t[parseInt(r.value, 10)]); break; case "named": "named" === a && n.push(t[r.value]) }o++ } return n }(o, t) } }; function dc(e, t) { if (!e) return; if (e = e.trim().replace(/_/g, "-"), t && t[e]) return e; if ("chinese" === (e = e.toLowerCase())) return nc; if (0 === e.indexOf("zh")) return e.indexOf("-hans") > -1 ? nc : e.indexOf("-hant") > -1 ? oc : (n = e, ["-tw", "-hk", "-mo", "-cht"].find(e => -1 !== n.indexOf(e)) ? oc : nc); var n; let o = [ac, rc, ic]; t && Object.keys(t).length > 0 && (o = Object.keys(t)); const a = function (e, t) { return t.find(t => 0 === e.indexOf(t)) }(e, o); return a || void 0 } class uc { constructor({ locale: e, fallbackLocale: t, messages: n, watcher: o, formater: a }) { this.locale = ac, this.fallbackLocale = ac, this.message = {}, this.messages = {}, this.watchers = [], t && (this.fallbackLocale = t), this.formater = a || cc, this.messages = n || {}, this.setLocale(e || ac), o && this.watchLocale(o) } setLocale(e) { const t = this.locale; this.locale = dc(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 => { lc(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 = dc(t, this.messages)) && (o = this.messages[t]) : n = t, lc(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 hc(e, t = {}, n, o) { if ("string" != typeof e) { const n = [t, e]; e = n[0], t = n[1] } "string" != typeof e && (e = "undefined" != typeof uni && em ? em() : "undefined" != typeof global && global.getLocale ? global.getLocale() : ac), "string" != typeof n && (n = "undefined" != typeof __uniConfig && __uniConfig.fallbackLocale || ac); const a = new uc({ locale: e, fallbackLocale: n, messages: t, watcher: o }); let r = (e, t) => { { let e = !1; r = function (t, n) { const o = Iy().$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, a))), a.t(t, n) } } return r(e, t) }; return { i18n: a, f: (e, t, n) => a.f(e, t, n), t: (e, t) => r(e, t), add: (e, t, n = !0) => a.add(e, t, n), watch: e => a.watchLocale(e), getLocale: () => a.getLocale(), setLocale: e => a.setLocale(e) } } function mc(e, t) { return e.indexOf(t[0]) > -1 } const pc = Qe(() => "undefined" != typeof __uniConfig && __uniConfig.locales && !!Object.keys(__uniConfig.locales).length); let fc; function gc(e) { return mc(e, oe) ? bc().f(e, function () { const e = em(), t = __uniConfig.locales; return t[e] || t[__uniConfig.fallbackLocale] || t.en || {} }(), oe) : e } function yc(e, t) { if (1 === t.length) { if (e) { const n = e => b(e) && mc(e, oe), o = t[0]; let a = []; if (f(e) && (a = e.filter(e => n(e[o]))).length) return a; const r = e[t[0]]; if (n(r)) return e } return } const n = t.shift(); return yc(e && e[n], t) } function vc(e, t) { const n = yc(e, t); if (!n) return !1; const o = t[t.length - 1]; if (f(n)) n.forEach(e => vc(e, [o])); else { let e = n[o]; Object.defineProperty(n, o, { get: () => gc(e), set(t) { e = t } }) } return !0 } function bc() { if (!fc) { let e; if (e = navigator.cookieEnabled && window.localStorage && localStorage.UNI_LOCALE || __uniConfig.locale || navigator.language, fc = hc(e), pc()) { const t = Object.keys(__uniConfig.locales || {}); t.length && t.forEach(e => fc.add(e, __uniConfig.locales[e])), fc.setLocale(e) } } return fc } function _c(e, t, n) { return t.reduce((t, o, a) => (t[e + o] = n[a], t), {}) } const wc = Qe(() => { const e = "uni.async.", t = ["error"]; bc().add(ac, _c(e, t, ["The connection timed out, click the screen to try again."]), !1), bc().add(ic, _c(e, t, ["Se agotó el tiempo de conexión, haga clic en la pantalla para volver a intentarlo."]), !1), bc().add(rc, _c(e, t, ["La connexion a expiré, cliquez sur l'écran pour réessayer."]), !1), bc().add(nc, _c(e, t, ["连接服务器超时,点击屏幕重试"]), !1), bc().add(oc, _c(e, t, ["連接服務器超時,點擊屏幕重試"]), !1) }), Tc = Qe(() => { const e = "uni.showToast.", t = ["unpaired"]; bc().add(ac, _c(e, t, ["Please note showToast must be paired with hideToast"]), !1), bc().add(ic, _c(e, t, ["Tenga en cuenta que showToast debe estar emparejado con hideToast"]), !1), bc().add(rc, _c(e, t, ["Veuillez noter que showToast doit être associé à hideToast"]), !1), bc().add(nc, _c(e, t, ["请注意 showToast 与 hideToast 必须配对使用"]), !1), bc().add(oc, _c(e, t, ["請注意 showToast 與 hideToast 必須配對使用"]), !1) }), xc = Qe(() => { const e = "uni.showLoading.", t = ["unpaired"]; bc().add(ac, _c(e, t, ["Please note showLoading must be paired with hideLoading"]), !1), bc().add(ic, _c(e, t, ["Tenga en cuenta que showLoading debe estar emparejado con hideLoading"]), !1), bc().add(rc, _c(e, t, ["Veuillez noter que showLoading doit être associé à hideLoading"]), !1), bc().add(nc, _c(e, t, ["请注意 showLoading 与 hideLoading 必须配对使用"]), !1), bc().add(oc, _c(e, t, ["請注意 showLoading 與 hideLoading 必須配對使用"]), !1) }), Sc = Qe(() => { const e = "uni.showModal.", t = ["cancel", "confirm"]; bc().add(ac, _c(e, t, ["Cancel", "OK"]), !1), bc().add(ic, _c(e, t, ["Cancelar", "OK"]), !1), bc().add(rc, _c(e, t, ["Annuler", "OK"]), !1), bc().add(nc, _c(e, t, ["取消", "确定"]), !1), bc().add(oc, _c(e, t, ["取消", "確定"]), !1) }), Cc = Qe(() => { const e = "uni.chooseFile.", t = ["notUserActivation"]; bc().add(ac, _c(e, t, ["File chooser dialog can only be shown with a user activation"]), !1), bc().add(ic, _c(e, t, ["El cuadro de diálogo del selector de archivos solo se puede mostrar con la activación del usuario"]), !1), bc().add(rc, _c(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), bc().add(nc, _c(e, t, ["文件选择器对话框只能在由用户激活时显示"]), !1), bc().add(oc, _c(e, t, ["文件選擇器對話框只能在由用戶激活時顯示"]), !1) }), kc = Qe(() => { const e = "uni.setClipboardData.", t = ["success", "fail"]; bc().add(ac, _c(e, t, ["Content copied", "Copy failed, please copy manually"]), !1), bc().add(ic, _c(e, t, ["Contenido copiado", "Error al copiar, copie manualmente"]), !1), bc().add(rc, _c(e, t, ["Contenu copié", "Échec de la copie, copiez manuellement"]), !1), bc().add(nc, _c(e, t, ["内容已复制", "复制失败,请手动复制"]), !1), bc().add(oc, _c(e, t, ["內容已復制", "復制失敗,請手動復製"]), !1) }), Mc = Qe(() => { const e = "uni.video.", t = ["danmu", "volume"]; bc().add(ac, _c(e, t, ["Danmu", "Volume"]), !1), bc().add(ic, _c(e, t, ["Danmu", "Volumen"]), !1), bc().add(rc, _c(e, t, ["Danmu", "Le Volume"]), !1), bc().add(nc, _c(e, t, ["弹幕", "音量"]), !1), bc().add(oc, _c(e, t, ["彈幕", "音量"]), !1) }); function Ac(e) { const t = new pt; 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, a = !1) { t[a ? "once" : "on"](`${e}.${n}`, o) }, unsubscribe(n, o) { t.off(`${e}.${n}`, o) }, subscribeHandler(n, o, a) { t.emit(`${e}.${n}`, o, a) } } } const Ic = "invokeViewApi", Rc = "invokeServiceApi"; let Ec = 1; const Pc = Object.create(null); function Lc(e, t) { return e + "." + t } function Oc(e, t, n) { t = Lc(e, t), Pc[t] || (Pc[t] = n) } function Bc({ id: e, name: t, args: n }, o) { t = Lc(o, t); const a = t => { e && Wb.publishHandler(Ic + "." + e, t) }, r = Pc[t]; r ? r(n, a) : a({}) } const Nc = u(Ac("service"), { invokeServiceMethod: (e, t, n) => { const { subscribe: o, publishHandler: a } = Wb, r = n ? Ec++ : 0; n && o(Rc + "." + r, n, !0), a(Rc, { id: r, name: e, args: t }) } }), Dc = tt(!0); let Vc; function $c() { Vc && (clearTimeout(Vc), Vc = null) } let jc = 0, zc = 0; function Fc(e) { if ($c(), 1 !== e.touches.length) return; const { pageX: t, pageY: n } = e.touches[0]; jc = t, zc = n, Vc = 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 Wc(e) { if (!Vc) return; if (1 !== e.touches.length) return $c(); const { pageX: t, pageY: n } = e.touches[0]; return Math.abs(t - jc) > 10 || Math.abs(n - zc) > 10 ? $c() : void 0 } function Hc(e, t) { const n = Number(e); return isNaN(n) ? t : n } const Uc = () => /^Apple/.test(navigator.vendor); function qc() { const e = __uniConfig.globalStyle || {}, t = Hc(e.rpxCalcMaxDeviceWidth, 960), n = Hc(e.rpxCalcBaseDeviceWidth, 375); function o() { let e = function () { const e = Uc() && "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 e ? Math.min(window.innerWidth, document.documentElement.clientWidth, n) || n : Math.min(window.innerWidth, document.documentElement.clientWidth) }(); 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), Uc() && window.addEventListener("orientationchange", () => { o(), setTimeout(o, 50) }) } function Yc(e) { return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e } var Zc, Gc, Qc = ["top", "left", "right", "bottom"], Jc = {}; function Xc() { return Gc = "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 Kc() { if (Gc = "string" == typeof Gc ? Gc : Xc()) { var e = [], t = !1; try { var n = Object.defineProperty({}, "passive", { get: function () { t = { passive: !0 } } }); window.addEventListener("test", null, n) } catch (VR) { } var o = document.createElement("div"); a(o, { position: "absolute", left: "0", top: "0", width: "0", height: "0", zIndex: "-1", overflow: "hidden", visibility: "hidden" }), Qc.forEach(function (e) { i(o, e) }), document.body.appendChild(o), r(), Zc = !0 } else Qc.forEach(function (e) { Jc[e] = 0 }); function a(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 i(e, n) { var o = document.createElement("div"), i = document.createElement("div"), s = document.createElement("div"), l = document.createElement("div"), c = { position: "absolute", width: "100px", height: "200px", boxSizing: "border-box", overflow: "hidden", paddingBottom: Gc + "(safe-area-inset-" + n + ")" }; a(o, c), a(i, c), a(s, { transition: "0s", animation: "none", width: "400px", height: "400px" }), a(l, { transition: "0s", animation: "none", width: "250%", height: "250%" }), o.appendChild(s), i.appendChild(l), e.appendChild(o), e.appendChild(i), r(function () { o.scrollTop = i.scrollTop = 1e4; var e = o.scrollTop, a = i.scrollTop; function r() { this.scrollTop !== (this === o ? e : a) && (o.scrollTop = i.scrollTop = 1e4, e = o.scrollTop, a = i.scrollTop, function (e) { td.length || setTimeout(function () { var e = {}; td.forEach(function (t) { e[t] = Jc[t] }), td.length = 0, nd.forEach(function (t) { t(e) }) }, 0); td.push(e) }(n)) } o.addEventListener("scroll", r, t), i.addEventListener("scroll", r, t) }); var d = getComputedStyle(o); Object.defineProperty(Jc, n, { configurable: !0, get: function () { return parseFloat(d.paddingBottom) } }) } } function ed(e) { return Zc || Kc(), Jc[e] } var td = []; var nd = []; const od = Yc({ get support() { return 0 != ("string" == typeof Gc ? Gc : Xc()).length }, get top() { return ed("top") }, get left() { return ed("left") }, get right() { return ed("right") }, get bottom() { return ed("bottom") }, onChange: function (e) { Xc() && (Zc || Kc(), "function" == typeof e && nd.push(e)) }, offChange: function (e) { var t = nd.indexOf(e); t >= 0 && nd.splice(t, 1) } }), ad = ms(() => { }, ["prevent"]), rd = ms(e => { }, ["stop"]); function id(e, t) { return parseInt((e.getPropertyValue(t).match(/\d+/) || ["0"])[0]) } function sd() { const e = id(document.documentElement.style, "--window-top"); return e ? e + od.top : 0 } function ld() { const e = document.documentElement.style, t = sd(), n = id(e, "--window-bottom"), o = id(e, "--window-left"), a = id(e, "--window-right"), r = id(e, "--top-window-height"); return { top: t, bottom: n ? n + od.bottom : 0, left: o ? o + od.left : 0, right: a ? a + od.right : 0, topWindowHeight: r || 0 } } function cd(e) { const t = document.documentElement.style; Object.keys(e).forEach(n => { t.setProperty(n, e[n]) }) } function dd(e) { return cd(e) } function ud(e) { return Symbol(e) } function hd(e) { return -1 !== (e += "").indexOf("rpx") || -1 !== e.indexOf("upx") } function md(e, t = !1) { if (t) return function (e) { if (!hd(e)) return e; return e.replace(/(\d+(\.\d+)?)[ru]px/g, (e, t) => gh(parseFloat(t)) + "px") }(e); if (b(e)) { const t = parseInt(e) || 0; return hd(e) ? gh(t) : t } return e } function pd(e) { return e.$page } function fd(e) { return 0 === e.tagName.indexOf("UNI-") } const gd = "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", yd = "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", vd = "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 bd(e, t = "#000", n = 27) { return Yr("svg", { width: n, height: n, viewBox: "0 0 32 32" }, [Yr("path", { d: e, fill: t }, null, 8, ["d", "fill"])], 8, ["width", "height"]) } function _d() { { const { $pageInstance: e } = ri(); return e && Ad(e.proxy) } } function wd(e) { const t = Fe(e); if (t.$page) return Ad(t); if (!t.$) return; { const { $pageInstance: e } = t.$; if (e) return Ad(e.proxy) } const n = t.$.root.proxy; return n && n.$page ? Ad(n) : void 0 } function Td() { const e = mp(), t = e.length; if (t) return e[t - 1] } function xd() { var e; const t = null == (e = Td()) ? void 0 : e.$page; if (t) return t.meta } function Sd() { const e = xd(); return e ? e.id : -1 } function Cd() { const e = Td(); if (e) return e.$vm } const kd = ["navigationBar", "pullToRefresh"]; function Md(e, t) { const n = JSON.parse(JSON.stringify(__uniConfig.globalStyle || {})), o = u({ id: t }, n, e); kd.forEach(t => { o[t] = u({}, n[t], e[t]) }); const { navigationBar: a } = o; return a.titleText && a.titleImage && (a.titleText = ""), o } function Ad(e) { var t, n; return (null == (t = e.$page) ? void 0 : t.id) || (null == (n = e.$basePage) ? void 0 : n.id) } function Id(e, t, n) { if (b(e)) n = t, t = e, e = Cd(); else if ("number" == typeof e) { const t = mp().find(t => pd(t).id === e); e = t ? t.$vm : Cd() } if (!e) return; const o = e.$[t]; return t === Te ? o && (a = o, r = n, a.map(e => e(r))).some(e => !0 === e) : o && ((e, t) => { let n; for (let o = 0; o < e.length; o++)n = e[o](t); return n })(o, n); var a, r } function Rd(e) { e.preventDefault() } let Ed, Pd = 0; function Ld({ onPageScroll: e, onReachBottom: t, onReachBottomDistance: n }) { let o = !1, a = !1, r = !0; const i = () => { function i() { if ((() => { const { scrollHeight: e } = document.documentElement, t = window.innerHeight, o = window.scrollY, r = o > 0 && e > t && o + t + n >= e, i = Math.abs(e - Pd) > n; return !r || a && !i ? (!r && a && (a = !1), !1) : (Pd = e, a = !0, !0) })()) return t && t(), r = !1, setTimeout(function () { r = !0 }, 350), !0 } e && e(window.pageYOffset), t && r && (i() || (Ed = setTimeout(i, 300))), o = !1 }; return function () { clearTimeout(Ed), o || requestAnimationFrame(i), o = !0 } } function Od(e, t) { if (0 === t.indexOf("/")) return t; if (0 === t.indexOf("./")) return Od(e, t.slice(2)); const n = t.split("/"), o = n.length; let a = 0; for (; a < o && ".." === n[a]; a++); n.splice(0, a), t = n.join("/"); const r = e.length > 0 ? e.split("/") : []; return r.splice(r.length - a - 1, a + 1), Ze(r.concat(n).join("/")) } function Bd(e, t = !1) { return t ? __uniRoutes.find(t => t.path === e || t.alias === e) : __uniRoutes.find(t => t.path === e) } function Nd() { qc(), Xe(fd), window.addEventListener("touchstart", Fc, Dc), window.addEventListener("touchmove", Wc, Dc), window.addEventListener("touchend", $c, Dc), window.addEventListener("touchcancel", $c, Dc) } class Dd { constructor(e) { this.$bindClass = !1, this.$bindStyle = !1, this.$vm = e, this.$el = function (e, t = !1) { const { vnode: n } = e; if (He(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 && He(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 = zd(this.$el.querySelector(e)); return t ? Vd(t, !1) : void 0 } selectAllComponents(e) { if (!this.$el || !e) return []; const t = [], n = this.$el.querySelectorAll(e); for (let o = 0; o < n.length; o++) { const e = zd(n[o]); e && t.push(Vd(e, !1)) } return t } forceUpdate(e) { "class" === e ? this.$bindClass ? (this.$el.__wxsClassChanged = !0, this.$vm.$forceUpdate()) : this.updateWxsClass() : "style" === e && (this.$bindStyle ? (this.$el.__wxsStyleChanged = !0, this.$vm.$forceUpdate()) : this.updateWxsStyle()) } updateWxsClass() { const { __wxsAddClass: e } = this.$el; e.length && (this.$el.className = e.join(" ")) } updateWxsStyle() { const { __wxsStyle: e } = this.$el; e && this.$el.setAttribute("style", function (e) { let t = ""; if (!e || b(e)) return t; for (const n in e) { const o = e[n], a = n.startsWith("--") ? n : P(n); (b(o) || "number" == typeof o) && (t += `${a}:${o};`) } return t }(e)) } setStyle(e) { return this.$el && e ? (b(e) && (e = U(e)), C(e) && (this.$el.__wxsStyle = e, this.forceUpdate("style")), this) : this } addClass(e) { if (!this.$el || !e) return this; const t = this.$el.__wxsAddClass || (this.$el.__wxsAddClass = []); return -1 === t.indexOf(e) && (t.push(e), this.forceUpdate("class")), this } removeClass(e) { if (!this.$el || !e) return this; const { __wxsAddClass: t } = this.$el; if (t) { const n = t.indexOf(e); n > -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]; v(n) ? n(JSON.parse(JSON.stringify(t))) : this.$vm.ownerId && Wb.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 Vd(e, t = !0) { if (t && e && (e = We(e.$)), e && e.$el) return e.$el.__wxsComponentDescriptor || (e.$el.__wxsComponentDescriptor = new Dd(e)), e.$el.__wxsComponentDescriptor } function $d(e, t) { return Vd(e, t) } function jd(e, t, n, o = !0) { if (t) { e.__instance || (e.__instance = !0, Object.defineProperty(e, "instance", { get: () => $d(n.proxy, !1) })); const a = function (e, t, n = !0) { if (!t) return !1; if (n && e.length < 2) return !1; const o = We(t); if (!o) return !1; const a = o.$.type; return !(!a.$wxs && !a.$renderjs) && o }(t, n, o); if (a) return [e, $d(a, !1)] } } function zd(e) { if (e) return e.__vueParentComponent && e.__vueParentComponent.proxy } function Fd(e, t = !1) { const { type: n, timeStamp: o, target: a, currentTarget: r } = e; let i, s; i = nt(t ? a : function (e) { for (; !fd(e);)e = e.parentElement; return e }(a)), s = nt(r); const l = { type: n, timeStamp: o, target: i, detail: {}, currentTarget: s }; return e instanceof CustomEvent && C(e.detail) && (l.detail = e.detail), e._stopped && (l._stopped = !0), e.type.startsWith("touch") && (l.touches = e.touches, l.changedTouches = e.changedTouches), function (e, t) { u(e, { preventDefault: () => t.preventDefault(), stopPropagation: () => t.stopPropagation() }) }(l, e), l } function Wd(e, t) { return { force: 1, identifier: 0, clientX: e.clientX, clientY: e.clientY - t, pageX: e.pageX, pageY: e.pageY - t } } function Hd(e, t) { const n = []; for (let o = 0; o < e.length; o++) { const { identifier: a, pageX: r, pageY: i, clientX: s, clientY: l, force: c } = e[o]; n.push({ identifier: a, pageX: r, pageY: i - t, clientX: s, clientY: l - t, force: c || 0 }) } return n } const Ud = Object.defineProperty({ __proto__: null, $nne: function (e, t, n) { const { currentTarget: o } = e; if (!(e instanceof Event && o instanceof HTMLElement)) return [e]; const a = !fd(o); if (a) return jd(e, t, n, !1) || [e]; const r = Fd(e, a); if ("click" === e.type) !function (e, t) { const { x: n, y: o } = t, a = sd(); e.detail = { x: n, y: o - a }, e.touches = e.changedTouches = [Wd(t, a)] }(r, e); else if ((e => 0 === e.type.indexOf("mouse") || ["contextmenu"].includes(e.type))(e)) !function (e, t) { const n = sd(); e.pageX = t.pageX, e.pageY = t.pageY - n, e.clientX = t.clientX, e.clientY = t.clientY - n, e.touches = e.changedTouches = [Wd(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 = sd(); r.touches = Hd(e.touches, t), r.changedTouches = Hd(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 jd(r, t, n) || [r] }, createNativeEvent: Fd }, Symbol.toStringTag, { value: "Module" }); function qd(e) { !function (e) { const t = e.globalProperties; u(t, Ud), t.$gcd = $d }(e._context.config) } let Yd = 1; function Zd(e) { return (e || Sd()) + "." + Ic } const Gd = u(Ac("view"), { invokeOnCallback: (e, t) => Hb.emit("api." + e, t), invokeViewMethod: (e, t, n, o) => { const { subscribe: a, publishHandler: r } = Hb, i = o ? Yd++ : 0; o && a(Ic + "." + i, o, !0), r(Zd(n), { id: i, name: e, args: t }, n) }, invokeViewMethodKeepAlive: (e, t, n, o) => { const { subscribe: a, unsubscribe: r, publishHandler: i } = Hb, s = Yd++, l = Ic + "." + s; return a(l, n), i(Zd(o), { id: s, name: e, args: t }, o), () => { r(l) } } }); function Qd(e) { Id(Td(), we, e), Hb.invokeOnCallback("onWindowResize", e) } function Jd(e) { const t = Td(); Id(Iy(), se, e), Id(t, se) } function Xd() { Id(Iy(), le), Id(Td(), le) } const Kd = [xe, Ce]; function eu() { Kd.forEach(e => Hb.subscribe(e, function (e) { return (t, n) => { Id(parseInt(n), e, t) } }(e))) } function tu() { !function () { const { on: e } = Hb; e(we, Qd), e(De, Jd), e(Ve, Xd) }(), eu() } function nu() { if (this.$route) { const e = this.$route.meta; return e.eventChannel || (e.eventChannel = new lt(this.$page.id)), e.eventChannel } } function ou(e) { e._context.config.globalProperties.getOpenerEventChannel = nu } function au() { return { path: "", query: {}, scene: 1001, referrerInfo: { appId: "", extraData: {} } } } function ru(e) { return /^-?\d+[ur]px$/i.test(e) ? e.replace(/(^-?\d+)[ur]px$/i, (e, t) => `${gh(parseFloat(t))}px`) : /^-?[\d\.]+$/.test(e) ? `${e}px` : e || "" } function iu(e) { const t = e.animation; if (!t || !t.actions || !t.actions.length) return; let n = 0; const o = t.actions, a = t.actions.length; function r() { const t = o[n], i = 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"], a = ["width", "height", "left", "right", "top", "bottom"], r = e.animates, i = e.option, s = i.transition, l = {}, c = []; return r.forEach(e => { let r = e.type, i = [...e.args]; if (t.concat(n).includes(r)) r.startsWith("rotate") || r.startsWith("skew") ? i = i.map(e => parseFloat(e) + "deg") : r.startsWith("translate") && (i = i.map(ru)), n.indexOf(r) >= 0 && (i.length = 1), c.push(`${r}(${i.join(",")})`); else if (o.concat(a).includes(i[0])) { r = i[0]; const e = i[1]; l[r] = a.includes(r) ? ru(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 = i.transformOrigin, l }(t); Object.keys(s).forEach(t => { e.$el.style[t] = s[t] }), n += 1, n < a && setTimeout(r, i.duration + i.delay) } setTimeout(() => { r() }, 0) } const su = { props: ["animation"], watch: { animation: { deep: !0, handler() { iu(this) } } }, mounted() { iu(this) } }, lu = e => { e.__reserved = !0; const { props: t, mixins: n } = e; return t && t.animation || (n || (e.mixins = [])).push(su), cu(e) }, cu = e => (e.__reserved = !0, e.compatConfig = { MODE: 3 }, la(e)); function du(e) { return e.__wwe = !0, e } function uu(e, t) { return (n, o, a) => { e.value && t(n, function (e, t, n, o) { let a; return a = nt(n), { type: t.__evName || o.type || e, timeStamp: t.timeStamp || 0, target: a, currentTarget: a, detail: o } }(n, o, e.value, a || {})) } } const hu = { hoverClass: { type: String, default: "none" }, hoverStopPropagation: { type: Boolean, default: !1 }, hoverStartTime: { type: [Number, String], default: 50 }, hoverStayTime: { type: [Number, String], default: 400 } }; function mu(e) { const t = Wn(!1); let n, o, a = !1; function r() { requestAnimationFrame(() => { clearTimeout(o), o = setTimeout(() => { t.value = !1 }, parseInt(e.hoverStayTime)) }) } function i(o) { o._hoverPropagationStopped || e.hoverClass && "none" !== e.hoverClass && !e.disabled && (e.hoverStopPropagation && (o._hoverPropagationStopped = !0), a = !0, n = setTimeout(() => { t.value = !0, a || r() }, parseInt(e.hoverStartTime))) } function s() { a = !1, t.value && r() } function l() { s(), window.removeEventListener("mouseup", l) } return { hovering: t, binding: { onTouchstartPassive: du(function (e) { e.touches.length > 1 || i(e) }), onMousedown: du(function (e) { a || (i(e), window.addEventListener("mouseup", l)) }), onTouchend: du(function () { s() }), onMouseup: du(function () { a && l() }), onTouchcancel: du(function () { a = !1, t.value = !1, clearTimeout(n) }) } } } function pu(e, t) { return b(t) && (t = [t]), t.reduce((t, n) => (e[n] && (t[n] = !0), t), Object.create(null)) } const fu = ud("uf"), gu = lu({ name: "Form", emits: ["submit", "reset"], setup(e, { slots: t, emit: n }) { const o = Wn(null); return function (e) { const t = []; sr(fu, { addField(e) { t.push(e) }, removeField(e) { t.splice(t.indexOf(e), 1) }, submit(n) { e("submit", n, { value: t.reduce((e, t) => { if (t.submit) { const [n, o] = t.submit(); n && (e[n] = o) } return e }, Object.create(null)) }) }, reset(n) { t.forEach(e => e.reset && e.reset()), e("reset", n) } }) }(uu(o, n)), () => Yr("uni-form", { ref: o }, [Yr("span", null, [t.default && t.default()])], 512) } }); const yu = ud("ul"); function vu(e, t) { bu(e.id, t), Ho(() => e.id, (e, n) => { _u(n, t, !0), bu(e, t, !0) }), Pa(() => { _u(e.id, t) }) } function bu(e, t, n) { const o = _d(); n && !e || C(t) && Object.keys(t).forEach(a => { n ? 0 !== a.indexOf("@") && 0 !== a.indexOf("uni-") && Wb.on(`uni-${a}-${o}-${e}`, t[a]) : 0 === a.indexOf("uni-") ? Wb.on(a, t[a]) : e && Wb.on(`uni-${a}-${o}-${e}`, t[a]) }) } function _u(e, t, n) { const o = _d(); n && !e || C(t) && Object.keys(t).forEach(a => { n ? 0 !== a.indexOf("@") && 0 !== a.indexOf("uni-") && Wb.off(`uni-${a}-${o}-${e}`, t[a]) : 0 === a.indexOf("uni-") ? Wb.off(a, t[a]) : e && Wb.off(`uni-${a}-${o}-${e}`, t[a]) }) } const wu = lu({ 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 = Wn(null), o = lr(fu, !1), { hovering: a, binding: r } = mu(e), i = du((t, a) => { if (e.disabled) return t.stopImmediatePropagation(); a && n.value.click(); const r = e.formType; if (r) { if (!o) return; "submit" === r ? o.submit(t) : "reset" === r && o.reset(t) } else; }), s = lr(yu, !1); return s && (s.addHandler(i), Ea(() => { s.removeHandler(i) })), vu(e, { "label-click": i }), () => { const o = e.hoverClass, s = pu(e, "disabled"), l = pu(e, "loading"), c = pu(e, "plain"), d = o && "none" !== o; return Yr("uni-button", ei({ ref: n, onClick: i, id: e.id, class: d && a.value ? o : "" }, d && r, s, l, c), [t.default && t.default()], 16, ["onClick", "id"]) } } }), Tu = ud("upm"); function xu() { return lr(Tu) } function Su(e) { const t = function (e) { return Mn(function (e) { { const { navigationBar: t } = e, { titleSize: n, titleColor: o, backgroundColor: a } = t; t.titleText = t.titleText || "", t.type = t.type || "default", t.titleSize = n || "16px", t.titleColor = o || "#000000", t.backgroundColor = a || "#F8F8F8" } if (history.state) { const t = history.state.__type__; "redirectTo" !== t && "reLaunch" !== t || 0 !== mp().length || (e.isEntry = !0, e.isQuit = !0) } return e }(JSON.parse(JSON.stringify(Md(Xl().meta, e))))) }(e); return sr(Tu, t), t } function Cu() { return Xl() } function ku() { return history.state && history.state.__id__ || 1 } const Mu = ["original", "compressed"], Au = ["album", "camera"], Iu = ["GET", "OPTIONS", "HEAD", "POST", "PUT", "DELETE", "TRACE", "CONNECT", "PATCH"]; function Ru(e, t) { return e && -1 !== t.indexOf(e) ? e : t[0] } function Eu(e, t) { return !f(e) || 0 === e.length || e.find(e => -1 === t.indexOf(e)) ? t : e } function Pu(e) { return function () { try { return e.apply(e, arguments) } catch (VR) { console.error(VR) } } } let Lu = 1; const Ou = {}; function Bu(e, t, n, o = !1) { return Ou[e] = { name: t, keepAlive: o, callback: n }, e } function Nu(e, t, n) { if ("number" == typeof e) { const o = Ou[e]; if (o) return o.keepAlive || delete Ou[e], o.callback(t, n) } return t } const Du = "success", Vu = "fail", $u = "complete"; function ju(e, t = {}, { beforeAll: n, beforeSuccess: o } = {}) { C(t) || (t = {}); const { success: a, fail: r, complete: i } = function (e) { const t = {}; for (const n in e) { const o = e[n]; v(o) && (t[n] = Pu(o), delete e[n]) } return t }(t), s = v(a), l = v(r), c = v(i), d = Lu++; return Bu(d, e, d => { (d = d || {}).errMsg = function (e, t) { return e && -1 !== e.indexOf(":fail") ? t + e.substring(e.indexOf(":fail")) : t + ":ok" }(d.errMsg, e), v(n) && n(d), d.errMsg === e + ":ok" ? (v(o) && o(d, t), s && a(d)) : l && r(d), c && i(d) }), d } const zu = "success", Fu = "fail", Wu = "complete", Hu = {}, Uu = {}; function qu(e, t) { return function (n) { return e(n, t) || n } } function Yu(e, t, n) { let o = !1; for (let a = 0; a < e.length; a++) { const r = e[a]; if (o) o = Promise.resolve(qu(r, n)); else { const e = r(t, n); if (T(e) && (o = Promise.resolve(e)), !1 === e) return { then() { }, catch() { } } } } return o || { then: e => e(t), catch() { } } } function Zu(e, t = {}) { return [zu, Fu, Wu].forEach(n => { const o = e[n]; if (!f(o)) return; const a = t[n]; t[n] = function (e) { Yu(o, e, t).then(e => v(a) && a(e) || e) } }), t } function Gu(e, t) { const n = []; f(Hu.returnValue) && n.push(...Hu.returnValue); const o = Uu[e]; return o && f(o.returnValue) && n.push(...o.returnValue), n.forEach(e => { t = e(t) || t }), t } function Qu(e) { const t = Object.create(null); Object.keys(Hu).forEach(e => { "returnValue" !== e && (t[e] = Hu[e].slice()) }); const n = Uu[e]; return n && Object.keys(n).forEach(e => { "returnValue" !== e && (t[e] = (t[e] || []).concat(n[e])) }), t } function Ju(e, t, n, o) { const a = Qu(e); if (a && Object.keys(a).length) { if (f(a.invoke)) { return Yu(a.invoke, n).then(n => t(Zu(Qu(e), n), ...o)) } return t(Zu(a, n), ...o) } return t(n, ...o) } function Xu(e, t) { return (n = {}, ...o) => function (e) { return !(!C(e) || ![Du, Vu, $u].find(t => v(e[t]))) }(n) ? Gu(e, Ju(e, t, u({}, n), o)) : Gu(e, new Promise((a, r) => { Ju(e, t, u({}, n, { success: a, fail: r }), o) })) } function Ku(e, t, n, o = {}) { const a = t + ":fail"; let r = ""; return r = n ? 0 === n.indexOf(a) ? n : a + " " + n : a, delete o.errCode, Nu(e, u({ errMsg: r }, o)) } function eh(e, t, n, o) { if (o && o.beforeInvoke) { const e = o.beforeInvoke(t); if (b(e)) return e } const a = function (e, t) { const n = e[0]; if (!t || !t.formatArgs || !C(t.formatArgs) && C(n)) return; const o = t.formatArgs, a = Object.keys(o); for (let r = 0; r < a.length; r++) { const t = a[r], i = o[t]; if (v(i)) { const o = i(e[0][t], n); if (b(o)) return o } else p(n, t) || (n[t] = i) } }(t, o); if (a) return a } function th(e, t, n) { return o => { !function (e) { if (!v(e)) throw new Error('Invalid args: type check failed for args "callback". Expected Function') }(o); const a = eh(0, [o], 0, n); if (a) throw new Error(a); const r = !function (e) { for (const t in Ou) if (Ou[t].name === e) return !0; return !1 }(e); !function (e, t) { Bu(Lu++, e, t, !0) }(e, o), r && (!function (e) { Hb.on("api." + e, t => { for (const n in Ou) { const o = Ou[n]; o.name === e && o.callback(t) } }) }(e), t()) } } function nh(e, t, n, o) { return n => { const a = ju(e, n, o), r = eh(0, [n], 0, o); return r ? Ku(a, e, r) : t(n, { resolve: t => function (e, t, n) { return Nu(e, u(n || {}, { errMsg: t + ":ok" })) }(a, e, t), reject: (t, n) => Ku(a, e, function (e) { return !e || b(e) ? e : e.stack ? ("undefined" != typeof globalThis && globalThis.harmonyChannel || console.error(e.message + "\n" + e.stack), e.message) : e }(t), n) }) } } function oh(e, t, n) { return th(e, t, n) } function ah(e, t, n, o) { return Xu(e, nh(e, t, 0, o)) } function rh(e, t, n, o) { return function (e, t, n, o) { return (...e) => { const n = eh(0, e, 0, o); if (n) throw new Error(n); return t.apply(null, e) } }(0, t, 0, o) } function ih(e, t, n, o) { return Xu(e, function (e, t, n, o) { return nh(e, t, 0, o) }(e, t, 0, o)) } function sh(e) { return (t, { reject: n }) => n(function (e) { return `method 'uni.${e}' not supported` }(e)) } let lh = !1, ch = 0, dh = 0, uh = 960, hh = 375, mh = 750; function ph() { let e, t, n; { const { windowWidth: o, pixelRatio: a, platform: r } = function () { const e = Fp(); return { platform: Lp ? "ios" : "other", pixelRatio: window.devicePixelRatio, windowWidth: e } }(); e = o, t = a, n = r } ch = e, dh = t, lh = "ios" === n } function fh(e, t) { const n = Number(e); return isNaN(n) ? t : n } const gh = rh(0, (e, t) => { if (0 === ch && (ph(), function () { const e = __uniConfig.globalStyle || {}; uh = fh(e.rpxCalcMaxDeviceWidth, 960), hh = fh(e.rpxCalcBaseDeviceWidth, 375), mh = fh(e.rpxCalcBaseDeviceWidth, 750) }()), 0 === (e = Number(e))) return 0; let n = t || ch; n = e === mh || n <= uh ? n : hh; let o = e / 750 * n; return o < 0 && (o = -o), o = Math.floor(o + 1e-4), 0 === o && (o = 1 !== dh && lh ? .5 : 1), e < 0 ? -o : o }); const yh = new class { constructor() { this.$emitter = new pt } on(e, t) { return this.$emitter.on(e, t) } once(e, t) { return this.$emitter.once(e, t) } off(e, t) { e ? this.$emitter.off(e, t) : this.$emitter.e = {} } emit(e, ...t) { this.$emitter.emit(e, ...t) } }, vh = rh(0, (e, t) => (yh.on(e, t), () => yh.off(e, t))), bh = rh(0, (e, t) => { f(e) || (e = e ? [e] : []), e.forEach(e => { yh.off(e, t) }) }), _h = rh(0, (e, ...t) => { yh.emit(e, ...t) }), wh = [.5, .8, 1, 1.25, 1.5, 2]; class Th { constructor(e, t) { this.id = e, this.pageId = t } play() { Wp(this.id, this.pageId, "play") } pause() { Wp(this.id, this.pageId, "pause") } stop() { Wp(this.id, this.pageId, "stop") } seek(e) { Wp(this.id, this.pageId, "seek", { position: e }) } sendDanmu(e) { Wp(this.id, this.pageId, "sendDanmu", e) } playbackRate(e) { ~wh.indexOf(e) || (e = 1), Wp(this.id, this.pageId, "playbackRate", { rate: e }) } requestFullScreen(e = {}) { Wp(this.id, this.pageId, "requestFullScreen", e) } exitFullScreen() { Wp(this.id, this.pageId, "exitFullScreen") } showStatusBar() { Wp(this.id, this.pageId, "showStatusBar") } hideStatusBar() { Wp(this.id, this.pageId, "hideStatusBar") } } const xh = rh(0, (e, t) => new Th(e, wd(t || Cd()))), Sh = (e, t, n, o) => { !function (e, t, n, o, a) { Hb.invokeViewMethod("map." + e, { type: n, data: o }, t, a) }(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 Ch(e, t) { return function (n, o) { n ? o[e] = Math.round(n) : void 0 !== t && (o[e] = t) } } const kh = Ch("width"), Mh = Ch("height"), Ah = { formatArgs: { x: Ch("x"), y: Ch("y"), width: kh, height: Mh } }, Ih = { PNG: "png", JPG: "jpg", JPEG: "jpg" }, Rh = { formatArgs: { x: Ch("x", 0), y: Ch("y", 0), width: kh, height: Mh, destWidth: Ch("destWidth"), destHeight: Ch("destHeight"), fileType(e, t) { e = (e || "").toUpperCase(); let n = Ih[e]; n || (n = Ih.PNG), t.fileType = n }, quality(e, t) { t.quality = e && e > 0 && e < 1 ? e : 1 } } }; function Eh(e, t, n, o, a) { Hb.invokeViewMethod(`canvas.${e}`, { type: n, data: o }, t, e => { a && a(e) }) } var Ph = ["scale", "rotate", "translate", "setTransform", "transform"], Lh = ["drawImage", "fillText", "fill", "stroke", "fillRect", "strokeRect", "clearRect", "strokeText"], Oh = ["setFillStyle", "setTextAlign", "setStrokeStyle", "setGlobalAlpha", "setShadow", "setFontSize", "setLineCap", "setLineJoin", "setLineWidth", "setMiterLimit", "setTextBaseline", "setLineDash"]; const Bh = { 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 Nh(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(Bh, n)) { t = /^#([0-9|A-F|a-f]{6,8})$/.exec(Bh[n]); const e = parseInt(t[1].slice(0, 2), 16), o = parseInt(t[1].slice(2, 4), 16), a = parseInt(t[1].slice(4, 6), 16); let r = parseInt(t[1].slice(6, 8), 16); return r = r >= 0 ? r : 255, [e, o, a, r] } return console.error("unsupported color:" + e), [0, 0, 0, 255] } class Dh { constructor(e, t) { this.type = e, this.data = t, this.colorStop = [] } addColorStop(e, t) { this.colorStop.push([e, Nh(t)]) } } class Vh { constructor(e, t) { this.type = "pattern", this.data = e, this.colorStop = t } } class $h { constructor(e) { this.width = e } } class jh { constructor(e, t) { this.id = e, this.pageId = t, this.actions = [], this.path = [], this.subpath = [], this.drawingState = [], this.state = { lineDash: [0, 0], shadowOffsetX: 0, shadowOffsetY: 0, shadowBlur: 0, shadowColor: [0, 0, 0, 0], font: "10px sans-serif", fontSize: 10, fontWeight: "normal", fontStyle: "normal", fontFamily: "sans-serif" } } setFillStyle(e) { console.log("initCanvasContextProperty implemented.") } setStrokeStyle(e) { console.log("initCanvasContextProperty implemented.") } setShadow(e, t, n, o) { console.log("initCanvasContextProperty implemented.") } addColorStop(e, t) { console.log("initCanvasContextProperty implemented.") } setLineWidth(e) { console.log("initCanvasContextProperty implemented.") } setLineCap(e) { console.log("initCanvasContextProperty implemented.") } setLineJoin(e) { console.log("initCanvasContextProperty implemented.") } setLineDash(e, t) { console.log("initCanvasContextProperty implemented.") } setMiterLimit(e) { console.log("initCanvasContextProperty implemented.") } fillRect(e, t, n, o) { console.log("initCanvasContextProperty implemented.") } strokeRect(e, t, n, o) { console.log("initCanvasContextProperty implemented.") } clearRect(e, t, n, o) { console.log("initCanvasContextProperty implemented.") } fill() { console.log("initCanvasContextProperty implemented.") } stroke() { console.log("initCanvasContextProperty implemented.") } scale(e, t) { console.log("initCanvasContextProperty implemented.") } rotate(e) { console.log("initCanvasContextProperty implemented.") } translate(e, t) { console.log("initCanvasContextProperty implemented.") } setFontSize(e) { console.log("initCanvasContextProperty implemented.") } fillText(e, t, n, o) { console.log("initCanvasContextProperty implemented.") } setTextAlign(e) { console.log("initCanvasContextProperty implemented.") } setTextBaseline(e) { console.log("initCanvasContextProperty implemented.") } drawImage(e, t, n, o, a, r, i, s, l) { console.log("initCanvasContextProperty implemented.") } setGlobalAlpha(e) { console.log("initCanvasContextProperty implemented.") } strokeText(e, t, n, o) { console.log("initCanvasContextProperty implemented.") } setTransform(e, t, n, o, a, r) { console.log("initCanvasContextProperty implemented.") } draw(e = !1, t) { var n = [...this.actions]; this.actions = [], this.path = [], Eh(this.id, this.pageId, "actionsChanged", { actions: n, reserve: e }, t) } createLinearGradient(e, t, n, o) { return new Dh("linear", [e, t, n, o]) } createCircularGradient(e, t, n) { return new Dh("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 Vh(e, t); console.error("Failed to execute 'createPattern' on 'CanvasContext': The provided type ('" + t + "') is not one of 'repeat', 'no-repeat', 'repeat-x', or 'repeat-y'.") } } measureText(e, t) { let n = 0; return n = function (e, t) { const n = document.createElement("canvas").getContext("2d"); return n.font = t, n.measureText(e).width || 0 }(e, this.state.font), new $h(n) } save() { this.actions.push({ method: "save", data: [] }), this.drawingState.push(this.state) } restore() { this.actions.push({ method: "restore", data: [] }), this.state = this.drawingState.pop() || { lineDash: [0, 0], shadowOffsetX: 0, shadowOffsetY: 0, shadowBlur: 0, shadowColor: [0, 0, 0, 0], font: "10px sans-serif", fontSize: 10, fontWeight: "normal", fontStyle: "normal", fontFamily: "sans-serif" } } beginPath() { this.path = [], this.subpath = [], this.path.push({ method: "beginPath", data: [] }) } moveTo(e, t) { this.path.push({ method: "moveTo", data: [e, t] }), this.subpath = [[e, t]] } lineTo(e, t) { 0 === this.path.length && 0 === this.subpath.length ? this.path.push({ method: "moveTo", data: [e, t] }) : this.path.push({ method: "lineTo", data: [e, t] }), this.subpath.push([e, t]) } quadraticCurveTo(e, t, n, o) { this.path.push({ method: "quadraticCurveTo", data: [e, t, n, o] }), this.subpath.push([n, o]) } bezierCurveTo(e, t, n, o, a, r) { this.path.push({ method: "bezierCurveTo", data: [e, t, n, o, a, r] }), this.subpath.push([a, r]) } arc(e, t, n, o, a, r = !1) { this.path.push({ method: "arc", data: [e, t, n, o, a, 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, a) { this.path.push({ method: "arcTo", data: [e, t, n, o, a] }), this.subpath.push([n, o]) } clip() { this.actions.push({ method: "clip", data: [...this.path] }) } closePath() { this.path.push({ method: "closePath", data: [] }), this.subpath.length && (this.subpath = [this.subpath.shift()]) } clearActions() { this.actions = [], this.path = [], this.subpath = [] } getActions() { var e = [...this.actions]; return this.clearActions(), e } set lineDashOffset(e) { this.actions.push({ method: "setLineDashOffset", data: [e] }) } set globalCompositeOperation(e) { this.actions.push({ method: "setGlobalCompositeOperation", data: [e] }) } set shadowBlur(e) { this.actions.push({ method: "setShadowBlur", data: [e] }) } set shadowColor(e) { this.actions.push({ method: "setShadowColor", data: [e] }) } set shadowOffsetX(e) { this.actions.push({ method: "setShadowOffsetX", data: [e] }) } set shadowOffsetY(e) { this.actions.push({ method: "setShadowOffsetY", data: [e] }) } set font(e) { var t = this; this.state.font = e; var n = e.match(/^(([\w\-]+\s)*)(\d+\.?\d*r?px)(\/(\d+\.?\d*(r?px)?))?\s+(.*)/); if (n) { var o = n[1].trim().split(/\s/), a = parseFloat(n[3]), r = n[7], i = []; o.forEach(function (e, n) { ["italic", "oblique", "normal"].indexOf(e) > -1 ? (i.push({ method: "setFontStyle", data: [e] }), t.state.fontStyle = e) : ["bold", "normal", "lighter", "bolder"].indexOf(e) > -1 || /^\d+$/.test(e) ? (i.push({ method: "setFontWeight", data: [e] }), t.state.fontWeight = e) : 0 === n ? (i.push({ method: "setFontStyle", data: ["normal"] }), t.state.fontStyle = "normal") : 1 === n && s() }), 1 === o.length && s(), o = i.map(function (e) { return e.data[0] }).join(" "), this.state.fontSize = a, this.state.fontFamily = r, this.actions.push({ method: "setFont", data: [`${o} ${a}px ${r}`] }) } else console.warn("Failed to set 'font' on 'CanvasContext': invalid format."); function s() { i.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 zh = Qe(() => { [...Ph, ...Lh].forEach(function (e) { jh.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, a) { var r = [t.toString(), n, o]; "number" == typeof a && r.push(a), this.actions.push({ method: e, data: r }) }; case "drawImage": return function (t, n, o, a, r, i, s, l, c) { var d; function u(e) { return "number" == typeof e } void 0 === c && (i = n, s = o, l = a, c = r, n = void 0, o = void 0, a = void 0, r = void 0), d = u(n) && u(o) && u(a) && u(r) ? [t, i, s, l, c, n, o, a, r] : u(l) && u(c) ? [t, i, s, l, c] : [t, i, s], this.actions.push({ method: e, data: d }) }; default: return function (...t) { this.actions.push({ method: e, data: t }) } } }(e) }), Oh.forEach(function (e) { jh.prototype[e] = function (e) { switch (e) { case "setFillStyle": case "setStrokeStyle": return function (t) { "object" != typeof t ? this.actions.push({ method: e, data: ["normal", Nh(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, a) { a = Nh(a), this.actions.push({ method: e, data: [t, n, o, a] }), this.state.shadowBlur = o, this.state.shadowColor = a, 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) }) }), Fh = rh(0, (e, t) => { if (zh(), t) return new jh(e, wd(t)); const n = wd(Cd()); if (n) return new jh(e, n); Hb.emit(de, "createCanvasContext:fail") }), Wh = ih("canvasGetImageData", ({ canvasId: e, x: t, y: n, width: o, height: a }, { resolve: r, reject: i }) => { const s = wd(Cd()); s ? Eh(e, s, "getImageData", { x: t, y: n, width: o, height: a }, function (e) { if (e.errMsg && -1 !== e.errMsg.indexOf("fail")) return void i("", e); let t = e.data; t && t.length && (e.data = new Uint8ClampedArray(t)), delete e.compressed, r(e) }) : i() }, 0, Ah), Hh = ih("canvasToTempFilePath", ({ x: e = 0, y: t = 0, width: n, height: o, destWidth: a, destHeight: r, canvasId: i, fileType: s, quality: l }, { resolve: c, reject: d }) => { var u = wd(Cd()); if (!u) return void d(); Eh(i, u, "toTempFilePath", { x: e, y: t, width: n, height: o, destWidth: a, destHeight: r, fileType: s, quality: l, dirname: "/canvas" }, e => { e.errMsg && -1 !== e.errMsg.indexOf("fail") ? d("", e) : c(e) }) }, 0, Rh); let Uh = 0, qh = {}; function Yh(e, t, n, o) { const a = { options: o }, r = o && ("success" in o || "fail" in o || "complete" in o); if (r) { const e = String(Uh++); a.callbackId = e, qh[e] = o } Hb.invokeViewMethod(`editor.${e}`, { type: n, data: a }, t, ({ callbackId: e, data: t }) => { r && (!function (e, t) { e = e || {}, b(t) && (t = { errMsg: t }), /:ok$/.test(t.errMsg) ? v(e.success) && e.success(t) : v(e.fail) && e.fail(t), v(e.complete) && e.complete(t) }(qh[e], t), delete qh[e]) }) } const Zh = { canvas: jh, map: class { constructor(e, t) { this.id = e, this.pageId = t } getCenterLocation(e) { Sh(this.id, this.pageId, "getCenterLocation", e) } moveToLocation(e) { Sh(this.id, this.pageId, "moveToLocation", e) } getScale(e) { Sh(this.id, this.pageId, "getScale", e) } getRegion(e) { Sh(this.id, this.pageId, "getRegion", e) } includePoints(e) { Sh(this.id, this.pageId, "includePoints", e) } translateMarker(e) { Sh(this.id, this.pageId, "translateMarker", e) } $getAppMap() { } addCustomLayer(e) { Sh(this.id, this.pageId, "addCustomLayer", e) } removeCustomLayer(e) { Sh(this.id, this.pageId, "removeCustomLayer", e) } addGroundOverlay(e) { Sh(this.id, this.pageId, "addGroundOverlay", e) } removeGroundOverlay(e) { Sh(this.id, this.pageId, "removeGroundOverlay", e) } updateGroundOverlay(e) { Sh(this.id, this.pageId, "updateGroundOverlay", e) } initMarkerCluster(e) { Sh(this.id, this.pageId, "initMarkerCluster", e) } addMarkers(e) { Sh(this.id, this.pageId, "addMarkers", e) } removeMarkers(e) { Sh(this.id, this.pageId, "removeMarkers", e) } moveAlong(e) { Sh(this.id, this.pageId, "moveAlong", e) } setLocMarkerIcon(e) { Sh(this.id, this.pageId, "setLocMarkerIcon", e) } openMapApp(e) { Sh(this.id, this.pageId, "openMapApp", e) } on(e, t) { Sh(this.id, this.pageId, "on", { name: e, callback: t }) } }, video: Th, 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) { Yh(this.id, this.pageId, e, t) } } }; function Gh(e) { if (e && e.contextInfo) { const { id: t, type: n, page: o } = e.contextInfo, a = Zh[n]; e.context = new a(t, o), delete e.contextInfo } } class Qh { 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 Jh { constructor(e) { this._component = void 0, this._page = e, this._queue = [], this._queueCb = [] } exec(e) { return function (e, t, n) { const o = []; t.forEach(({ component: t, selector: n, single: a, fields: r }) => { null === t ? o.push(function (e) { const t = {}; e.id && (t.id = ""); e.dataset && (t.dataset = {}); e.rect && (t.left = 0, t.right = 0, t.top = 0, t.bottom = 0); e.size && (t.width = document.documentElement.clientWidth, t.height = document.documentElement.clientHeight); if (e.scrollOffset) { const e = document.documentElement, n = document.body; t.scrollLeft = e.scrollLeft || n.scrollLeft || 0, t.scrollTop = e.scrollTop || n.scrollTop || 0, t.scrollHeight = e.scrollHeight || n.scrollHeight || 0, t.scrollWidth = e.scrollWidth || n.scrollWidth || 0 } return t }(r)) : o.push(function (e, t, n, o, a) { const r = function (e, t) { if (!e) return t.$el; return e.$el }(t, e), i = r.parentElement; if (!i) return o ? null : []; const { nodeType: s } = r, l = 3 === s || 8 === s; if (o) { const e = l ? i.querySelector(n) : Up(r, n) ? r : r.querySelector(n); return e ? Hp(e, a) : null } { let e = []; const t = (l ? i : r).querySelectorAll(n); return t && t.length && [].forEach.call(t, t => { e.push(Hp(t, a)) }), !l && Up(r, n) && e.unshift(Hp(r, a)), e } }(e, t, n, a, r)) }), n(o) }(this._page, this._queue, t => { const n = this._queueCb; t.forEach((e, t) => { f(e) ? e.forEach(Gh) : Gh(e); const o = n[t]; v(o) && o.call(this, e) }), v(e) && e.call(this, t) }), this._nodesRef } in(e) { return this._component = Fe(e), this } select(e) { return this._nodesRef = new Qh(this, this._component, e, !0) } selectAll(e) { return this._nodesRef = new Qh(this, this._component, e, !1) } selectViewport() { return this._nodesRef = new Qh(this, null, "", !0) } _push(e, t, n, o, a) { this._queue.push({ component: t, selector: e, single: n, fields: o }), this._queueCb.push(a) } } const Xh = rh(0, e => ((e = Fe(e)) && !wd(e) && (e = null), new Jh(e || Cd()))), Kh = oh("onWindowResize", () => { }), em = rh(0, () => { const e = Iy(); return e && e.$vm ? e.$vm.$locale : bc().getLocale() }), tm = ih("setPageMeta", (e, { resolve: t }) => { t(function (e, { pageStyle: t, rootFontSize: n }) { if (t) { (document.querySelector("uni-page-body") || document.body).setAttribute("style", t) } n && document.documentElement.style.fontSize !== n && (document.documentElement.style.fontSize = n) }(Cd(), e)) }), nm = { [me]: [], [he]: [], [de]: [], [se]: [], [le]: [] }; const om = rh(0, () => u({}, Qp)), am = { formatArgs: { showToast: !0 }, beforeInvoke() { kc() }, beforeSuccess(e, t) { if (!t.showToast) return; const { t: n } = bc(), o = n("uni.setClipboardData.success"); o && mb({ title: o, icon: "success", mask: !1 }) } }, rm = { formatArgs: { count(e, t) { (!e || e <= 0) && (t.count = 9) }, sizeType(e, t) { t.sizeType = Eu(e, Mu) }, sourceType(e, t) { t.sourceType = Eu(e, Au) }, extension(e, t) { if (e instanceof Array && 0 === e.length) return "param extension should not be empty."; e || (t.extension = ["*"]) } } }, im = { formatArgs: { src(e, t) { t.src = Rp(e) } } }, sm = { formatArgs: { urls(e, t) { t.urls = e.map(e => b(e) && e ? Rp(e) : "") }, current(e, t) { "number" == typeof e ? t.current = e > 0 && e < t.urls.length ? e : 0 : b(e) && e && (t.current = Rp(e)) } } }, lm = "json", cm = ["text", "arraybuffer"], dm = encodeURIComponent; const um = { formatArgs: { method(e, t) { t.method = Ru((e || "").toUpperCase(), Iu) }, data(e, t) { t.data = e || "" }, url(e, t) { t.method === Iu[0] && C(t.data) && Object.keys(t.data).length && (t.url = function (e, t) { let n = e.split("#"); const o = n[1] || ""; n = n[0].split("?"); let a = n[1] || ""; e = n[0]; const r = a.split("&").filter(e => e), i = {}; r.forEach(e => { const t = e.split("="); i[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)), i[dm(s)] = dm(e) } return a = Object.keys(i).map(e => `${e}=${i[e]}`).join("&"), e + (a ? "?" + a : "") + (o ? "#" + o : "") }(e, t.data)) }, header(e, t) { const n = t.header = e || {}; t.method !== Iu[0] && (Object.keys(n).find(e => "content-type" === e.toLowerCase()) || (n["Content-Type"] = "application/json")) }, dataType(e, t) { t.dataType = (e || lm).toLowerCase() }, responseType(e, t) { t.responseType = (e || "").toLowerCase(), -1 === cm.indexOf(t.responseType) && (t.responseType = "text") } } }, hm = { formatArgs: { header(e, t) { t.header = e || {} } } }, mm = { formatArgs: { filePath(e, t) { e && (t.filePath = Rp(e)) }, header(e, t) { t.header = e || {} }, formData(e, t) { t.formData = e || {} } } }; const pm = { url: { type: String, required: !0 } }, fm = "navigateTo", gm = "redirectTo", ym = "reLaunch", vm = "switchTab", bm = "preloadPage", _m = (Cm(["slide-in-right", "slide-in-left", "slide-in-top", "slide-in-bottom", "fade-in", "zoom-out", "zoom-fade-out", "pop-in", "none"]), Cm(["slide-out-right", "slide-out-left", "slide-out-top", "slide-out-bottom", "fade-out", "zoom-in", "zoom-fade-in", "pop-out", "none"]), Am(fm)), wm = Am(gm), Tm = Am(ym), xm = Am(vm), Sm = { formatArgs: { delta(e, t) { e = parseInt(e + "") || 1, t.delta = Math.min(mp().length - 1, e) } } }; function Cm(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 km; function Mm() { km = "" } function Am(e) { return { formatArgs: { url: Im(e) }, beforeAll: Mm } } function Im(e) { return function (t, n) { if (!t) return 'Missing required args: "url"'; const o = (t = function (e) { if (0 === e.indexOf("/") || 0 === e.indexOf("uni:")) return e; let t = ""; const n = mp(); return n.length && (t = pd(n[n.length - 1]).route), Od(t, e) }(t)).split("?")[0], a = Bd(o, !0); if (!a) return "page `" + t + "` is not found"; if (e === fm || e === gm) { if (a.meta.isTabBar) return `can not ${e} a tabbar page` } else if (e === vm && !a.meta.isTabBar) return "can not switch to no-tabBar page"; if (e !== vm && e !== bm || !a.meta.isTabBar || "appLaunch" === n.openType || (t = o), a.meta.isEntry && (t = t.replace(a.alias, "/")), n.url = function (e) { if (!b(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(), a = t.length > 0 ? t.join("=") : ""; o.push(n + "=" + encodeURIComponent(a)) }), o.length ? e + "?" + o.join("&") : e }(t), "unPreloadPage" !== e) if (e !== bm) { if (km === t && "appLaunch" !== n.openType) return `${km} locked`; __uniConfig.ready && (km = t) } else if (a.meta.isTabBar) { const e = mp(), t = a.path.slice(1); if (e.find(e => e.route === t)) return "tabBar page `" + t + "` already exists" } } } const Rm = "setNavigationBarColor", Em = { formatArgs: { animation(e, t) { e || (e = { duration: 0, timingFunc: "linear" }), t.animation = { duration: e.duration || 0, timingFunc: e.timingFunc || "linear" } } } }, Pm = "setNavigationBarTitle", Lm = { formatArgs: { duration: 300 } }, Om = { formatArgs: { title: "", mask: !1 } }, Bm = { beforeInvoke() { Sc() }, formatArgs: { title: "", content: "", placeholderText: "", showCancel: !0, editable: !1, cancelText(e, t) { if (!p(t, "cancelText")) { const { t: e } = bc(); t.cancelText = e("uni.showModal.cancel") } }, cancelColor: "#000", confirmText(e, t) { if (!p(t, "confirmText")) { const { t: e } = bc(); t.confirmText = e("uni.showModal.confirm") } }, confirmColor: ae } }, Nm = ["success", "loading", "none", "error"], Dm = { formatArgs: { title: "", icon(e, t) { t.icon = Ru(e, Nm) }, image(e, t) { t.image = e ? Rp(e) : "" }, duration: 1500, mask: !1 } }, Vm = "stopPullDownRefresh"; function $m() { const e = Cd(); if (!e) return; const t = hp(), n = t.keys(); for (const o of n) { const e = t.get(o); e.$.__isTabBar ? e.$.__isActive = !1 : fp(o) } e.$.__isTabBar && (e.$.__isVisible = !1, Id(e, le)) } function jm(e, t) { return e === t.fullPath || "/" === e && t.meta.isEntry } function zm(e) { const t = hp().values(); for (const n of t) { const t = ip(n); if (jm(e, t)) return n.$.__isActive = !0, t.id } } const Fm = ih(vm, ({ url: e, tabBarText: t, isAutomatedTesting: n }, { resolve: o, reject: a }) => { if (sp.handledBeforeEntryPageRoutes) return $m(), Ym({ type: vm, url: e, tabBarText: t, isAutomatedTesting: n }, zm(e)).then(o).catch(a); cp.push({ args: { type: vm, url: e, tabBarText: t, isAutomatedTesting: n }, resolve: o, reject: a }) }, 0, xm); function Wm() { const e = Td(); if (!e) return; const t = ip(e); fp(bp(t.path, t.id)) } const Hm = ih(gm, ({ url: e, isAutomatedTesting: t }, { resolve: n, reject: o }) => { if (sp.handledBeforeEntryPageRoutes) return Wm(), Ym({ type: gm, url: e, isAutomatedTesting: t }).then(n).catch(o); dp.push({ args: { type: gm, url: e, isAutomatedTesting: t }, resolve: n, reject: o }) }, 0, wm); function Um() { const e = hp().keys(); for (const t of e) fp(t) } const qm = ih(ym, ({ url: e, isAutomatedTesting: t }, { resolve: n, reject: o }) => { if (sp.handledBeforeEntryPageRoutes) return Um(), Ym({ type: ym, url: e, isAutomatedTesting: t }).then(n).catch(o); up.push({ args: { type: ym, url: e, isAutomatedTesting: t }, resolve: n, reject: o }) }, 0, Tm); function Ym({ type: e, url: t, tabBarText: n, events: o, isAutomatedTesting: a }, r) { const i = Iy().$router, { path: s, query: l } = function (e) { const [t, n] = e.split("?", 2); return { path: t, query: it(n || "") } }(t); return new Promise((t, c) => { const d = function (e, t) { return { __id__: t || ++gp, __type__: e } }(e, r); i["navigateTo" === e ? "push" : "replace"]({ path: s, query: l, state: d, force: !0 }).then(r => { if (gl(r)) return c(r.message); if ("switchTab" === e && (i.currentRoute.value.meta.tabBarText = n), "navigateTo" === e) { const e = i.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 lt(d.__id__, o), t(a ? { __id__: d.__id__ } : { eventChannel: e.eventChannel }) } return a ? t({ __id__: d.__id__ }) : t() }) }) } function Zm() { if (sp.handledBeforeEntryPageRoutes) return; sp.handledBeforeEntryPageRoutes = !0; const e = [...lp]; lp.length = 0, e.forEach(({ args: e, resolve: t, reject: n }) => Ym(e).then(t).catch(n)); const t = [...cp]; cp.length = 0, t.forEach(({ args: e, resolve: t, reject: n }) => ($m(), Ym(e, zm(e.url)).then(t).catch(n))); const n = [...dp]; dp.length = 0, n.forEach(({ args: e, resolve: t, reject: n }) => (Wm(), Ym(e).then(t).catch(n))); const o = [...up]; up.length = 0, o.forEach(({ args: e, resolve: t, reject: n }) => (Um(), Ym(e).then(t).catch(n))) } let Gm; function Qm() { var e; return Gm || (Gm = __uniConfig.tabBar && Mn((e = __uniConfig.tabBar, pc() && e.list && e.list.forEach(e => { vc(e, ["text"]) }), pc() && e.midButton && vc(e.midButton, ["text"]), e))), Gm } function Jm(e) { const t = window.CSS && window.CSS.supports; return t && (t(e) || t.apply(window.CSS, e.split(":"))) } const Xm = Jm("top:env(a)"), Km = Jm("top:constant(a)"), ep = Jm("backdrop-filter:blur(10px)"), tp = (() => Xm ? "env" : Km ? "constant" : "")(); function np(e) { let t = 0, n = 0; if ("custom" !== e.navigationBar.style && ["default", "float"].indexOf(e.navigationBar.type) > -1 && (t = 44), e.isTabBar) { const e = Qm(); e.shown && (n = parseInt(e.height)) } var o; dd({ "--window-top": (o = t, tp ? `calc(${o}px + ${tp}(safe-area-inset-top))` : `${o}px`), "--window-bottom": op(n) }) } function op(e) { return tp ? `calc(${e}px + ${tp}(safe-area-inset-bottom))` : `${e}px` } const ap = "$$", rp = new Map; function ip(e) { return e.$page } const sp = { handledBeforeEntryPageRoutes: !1 }, lp = [], cp = [], dp = [], up = []; function hp() { return rp } function mp() { return pp() } function pp() { const e = [], t = rp.values(); for (const n of t) n.$.__isTabBar ? n.$.__isActive && e.push(n) : e.push(n); return e } function fp(e, t = !0) { const n = rp.get(e); n.$.__isUnload = !0, Id(n, fe), rp.delete(e), t && function (e) { const t = _p.get(e); t && (_p.delete(e), wp.pruneCacheEntry(t)) }(e) } let gp = ku(); function yp(e) { const t = xu(); 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, a, r) { const { id: i, route: s } = o, l = yt(o.navigationBar, __uniConfig.themeConfig, r).titleColor; return { id: i, path: Ze(s), route: s, fullPath: t, options: n, meta: o, openType: e, eventChannel: a, statusBarStyle: "#ffffff" === l ? "light" : "dark" } }("navigateTo", n, {}, t) } function vp(e) { const t = yp(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), rp.set(bp(t.path, t.id), e), 1 === rp.size && setTimeout(() => { Zm() }, 0) } function bp(e, t) { return e + ap + t } const _p = new Map, wp = { get: e => _p.get(e), set(e, t) { !function (e) { const t = parseInt(e.split(ap)[1]); if (!t) return; wp.forEach((e, n) => { const o = parseInt(n.split(ap)[1]); if (o && o > t) { if (function (e) { return "tabBar" === e.props.type }(e)) return; wp.delete(n), wp.pruneCacheEntry(e), po(() => { rp.forEach((e, t) => { e.$.isUnmounted && rp.delete(t) }) }) } }) }(e), _p.set(e, t) }, delete(e) { _p.get(e) && _p.delete(e) }, forEach(e) { _p.forEach(e) } }; function Tp(e, t) { !function (e) { const t = Sp(e), { body: n } = document; Cp && n.removeAttribute(Cp), t && n.setAttribute(t, ""), Cp = t }(e), np(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), Ap(e, t) } function xp(e) { const t = Sp(e); t && function (e) { const t = document.querySelector("uni-page-body"); t && t.setAttribute(e, "") }(t) } function Sp(e) { return e.type.__scopeId } let Cp; const kp = !!(() => { let e = !1; try { const t = {}; Object.defineProperty(t, "passive", { get() { e = !0 } }), window.addEventListener("test-passive", () => { }, t) } catch (VR) { } return e })() && { passive: !1 }; let Mp; function Ap(e, t) { if (document.removeEventListener("touchmove", Rd), Mp && document.removeEventListener("scroll", Mp), t.disableScroll) return document.addEventListener("touchmove", Rd, kp); const { onPageScroll: n, onReachBottom: o } = e, a = "transparent" === t.navigationBar.type; if (!(null == n ? void 0 : n.length) && !(null == o ? void 0 : o.length) && !a) return; const r = {}, i = ip(e.proxy).id; (n || a) && (r.onPageScroll = function (e, t, n) { return o => { t && Wb.publishHandler(xe, { scrollTop: o }, e), n && Wb.emit(e + "." + xe, { scrollTop: o }) } }(i, n, a)), (null == o ? void 0 : o.length) && (r.onReachBottomDistance = t.onReachBottomDistance || 50, r.onReachBottom = () => Wb.publishHandler(Ce, {}, i)), Mp = Ld(r), requestAnimationFrame(() => document.addEventListener("scroll", Mp)) } function Ip(e) { const { base: t } = __uniConfig.router; return 0 === Ze(e).indexOf(t) ? Ze(e) : t + e } function Rp(e) { const { base: t, assets: n } = __uniConfig.router; if ("./" === t && (0 !== e.indexOf("./") || !e.includes("/static/") && 0 !== e.indexOf("./" + (n || "assets") + "/") || (e = e.slice(1))), 0 === e.indexOf("/")) { if (0 !== e.indexOf("//")) return Ip(e.slice(1)); e = "https:" + e } if (re.test(e) || ie.test(e) || 0 === e.indexOf("blob:")) return e; const o = pp(); return o.length ? Ip(Od(ip(o[o.length - 1]).route, e).slice(1)) : e } const Ep = navigator.userAgent, Pp = /android/i.test(Ep), Lp = /iphone|ipad|ipod/i.test(Ep), Op = Ep.match(/Windows NT ([\d|\d.\d]*)/i), Bp = /Macintosh|Mac/i.test(Ep), Np = /Linux|X11/i.test(Ep), Dp = Bp && navigator.maxTouchPoints > 0, Vp = /OpenHarmony/i.test(Ep); function $p() { return /^Apple/.test(navigator.vendor) && "number" == typeof window.orientation } function jp(e) { return e && 90 === Math.abs(window.orientation) } function zp(e, t) { return e ? Math[t ? "max" : "min"](screen.width, screen.height) : screen.width } function Fp() { const e = $p(); if (e) { const t = zp(e, jp(e)); return Math.min(window.innerWidth, document.documentElement.clientWidth, t) || t } return Math.min(window.innerWidth, document.documentElement.clientWidth) } function Wp(e, t, n, o) { Hb.invokeViewMethod("video." + e, { videoId: e, type: n, data: o }, t) } function Hp(e, t) { const n = {}, { top: o, topWindowHeight: a } = ld(); if (t.node) { const t = e.tagName.split("-")[1] || e.tagName; t && (n.node = e.querySelector(t)) } if (t.id && (n.id = e.id), t.dataset && (n.dataset = Ke(e)), t.rect || t.size) { const r = e.getBoundingClientRect(); t.rect && (n.left = r.left, n.right = r.right, n.top = r.top - o - a, n.bottom = r.bottom - o - a), 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 Up(e, t) { return (e.matches || e.matchesSelector || e.mozMatchesSelector || e.msMatchesSelector || e.oMatchesSelector || e.webkitMatchesSelector || function (e) { const t = this.parentElement.querySelectorAll(e); let n = t.length; for (; --n >= 0 && t.item(n) !== this;); return n > -1 }).call(e, t) } const qp = {}; function Yp(e, t) { const n = qp[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] : "", a = atob(t[1]); let r = a.length; const i = new Uint8Array(r); for (; r--;)i[r] = a.charCodeAt(r); return Zp(i, o) }(e)) : 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 Zp(e, t) { let n; if (e instanceof File) n = e; else { t = t || e.type || ""; const a = `${Date.now()}${function (e) { const t = e.split("/")[1]; return t ? `.${t}` : "" }(t)}`; try { n = new File([e], a, { type: t }) } catch (o) { n = e = e instanceof Blob ? e : new Blob([e], { type: t }), n.name = n.name || a } } return n } function Gp(e) { for (const n in qp) if (p(qp, n)) { if (qp[n] === e) return n } var t = (window.URL || window.webkitURL).createObjectURL(e); return qp[t] = e, t } const Qp = au(), Jp = au(); const Xp = lu({ name: "ResizeSensor", props: { initial: { type: Boolean, default: !1 } }, emits: ["resize"], setup(e, { emit: t }) { const n = Wn(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), a = function (e, t, n) { const o = Mn({ width: -1, height: -1 }); return Ho(() => u({}, o), e => t("resize", e)), () => { const t = e.value; t && (o.width = t.offsetWidth, o.height = t.offsetHeight, n()) } }(n, t, o); return function (e, t, n, o) { ya(o), Aa(() => { t.initial && po(n); const a = e.value; a.offsetParent !== a.parentElement && (a.parentElement.style.position = "relative"), "AnimationEvent" in window || o() }) }(n, e, a, o), () => Yr("uni-resize-sensor", { ref: n, onAnimationstartOnce: a }, [Yr("div", { onScroll: a }, [Yr("div", null, null)], 40, ["onScroll"]), Yr("div", { onScroll: a }, [Yr("div", null, null)], 40, ["onScroll"])], 40, ["onAnimationstartOnce"]) } }); const Kp = 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 ef(e, t = !0) { const n = t ? Kp : 1; e.width = e.offsetWidth * n, e.height = e.offsetHeight * n, e.getContext("2d").__hidpi__ = t } let tf = !1; function nf() { if (tf) return; tf = !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, a, r, i, s, l, c, d) { if (!this.__hidpi__) return e.apply(this, arguments); n *= Kp, o *= Kp, a *= Kp, r *= Kp, i *= Kp, s *= Kp, l = d ? l * Kp : l, c = d ? c * Kp : c, e.call(this, t, n, o, a, r, i, s, l, c) } }(t.drawImage), 1 !== Kp && (!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 * Kp }); else if (Array.isArray(e)) for (let t = 0; t < e.length; t++)n[e[t]] *= Kp; return t.apply(this, n) } }(t[n]) }), t.stroke = function (e) { return function () { if (!this.__hidpi__) return e.apply(this, arguments); this.lineWidth *= Kp, e.apply(this, arguments), this.lineWidth /= Kp } }(t.stroke), t.fillText = function (e) { return function () { if (!this.__hidpi__) return e.apply(this, arguments); const t = Array.prototype.slice.call(arguments); t[1] *= Kp, t[2] *= Kp, t[3] && "number" == typeof t[3] && (t[3] *= Kp); var n = this.__font__ || this.font; this.font = n.replace(/(\d+\.?\d*)(px|em|rem|pt)/g, function (e, t, n) { return t * Kp + n }), e.apply(this, t), this.font = n } }(t.fillText), t.strokeText = function (e) { return function () { if (!this.__hidpi__) return e.apply(this, arguments); var t = Array.prototype.slice.call(arguments); t[1] *= Kp, t[2] *= Kp, t[3] && "number" == typeof t[3] && (t[3] *= Kp); var n = this.__font__ || this.font; this.font = n.replace(/(\d+\.?\d*)(px|em|rem|pt)/g, function (e, t, n) { return t * Kp + n }), e.apply(this, t), this.font = n } }(t.strokeText), t.drawImage = function (e) { return function () { if (!this.__hidpi__) return e.apply(this, arguments); this.scale(Kp, Kp), e.apply(this, arguments), this.scale(1 / Kp, 1 / Kp) } }(t.drawImage)) } const of = Qe(() => nf()); function af(e) { return e ? Rp(e) : e } function rf(e) { return (e = e.slice(0))[3] = e[3] / 255, "rgba(" + e.join(",") + ")" } function sf(e, t) { Array.from(t).forEach(t => { t.x = t.clientX - e.left, t.y = t.clientY - e.top }) } let lf; function cf(e = 0, t = 0) { return lf || (lf = document.createElement("canvas")), lf.width = e, lf.height = t, lf } const df = lu({ 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 }) { of(); const o = Wn(null), a = Wn(null), r = Wn(null), i = Wn(!1), s = function (e) { return (t, n) => { e(t, Fd(n)) } }(t), { $attrs: l, $excludeAttrs: c, $listeners: d } = Jf({ excludeListeners: !0 }), { _listeners: h } = function (e, t, n) { const o = gi(() => { let o = ["onTouchstart", "onTouchmove", "onTouchend"], a = t.value, r = u({}, (() => { let e = {}; for (const t in a) if (p(a, t)) { const n = a[t]; e[t] = n } return e })()); return o.forEach(t => { let o = []; r[t] && o.push(du(e => { const o = e.currentTarget.getBoundingClientRect(); sf(o, e.touches), sf(o, e.changedTouches), n(t.replace("on", "").toLocaleLowerCase(), e) })), e.disableScroll && "onTouchmove" === t && o.push(ad), r[t] = o }), r }); return { _listeners: o } }(e, d, s), { _handleSubscribe: m, _resize: f } = function (e, t, n) { let o = [], a = {}; const r = gi(() => e.hidpi ? Kp : 1); function i(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); ef(o, e.hidpi), t.putImageData(n, 0, 0) } else ef(o, e.hidpi) } function s({ actions: e, reserve: r }, i) { if (!e) return; if (n.value) return void o.push([e, r]); let s = t.value, d = s.getContext("2d"); r || (d.fillStyle = "#000000", d.strokeStyle = "#000000", d.shadowColor = "#000000", d.shadowBlur = 0, d.shadowOffsetX = 0, d.shadowOffsetY = 0, d.setTransform(1, 0, 0, 1, 0, 0), d.clearRect(0, 0, s.width, s.height)), l(e); for (let t = 0; t < e.length; t++) { const n = e[t]; let o = n.method; const r = n.data, s = r[0]; if (/^set/.test(o) && "setTransform" !== o) { const n = o[3].toLowerCase() + o.slice(4); let a; if ("fillStyle" === n || "strokeStyle" === n) { if ("normal" === s) a = rf(r[1]); else if ("linear" === s) { const e = d.createLinearGradient(...r[1]); r[2].forEach(function (t) { const n = t[0], o = rf(t[1]); e.addColorStop(n, o) }), a = e } else if ("radial" === s) { let e = r[1]; const t = e[0], n = e[1], o = e[2], i = d.createRadialGradient(t, n, 0, t, n, o); r[2].forEach(function (e) { const t = e[0], n = rf(e[1]); i.addColorStop(t, n) }), a = i } else if ("pattern" === s) { if (!c(r[1], e.slice(t + 1), i, function (e) { e && (d[n] = d.createPattern(e, r[2])) })) break; continue } d[n] = a } else if ("globalAlpha" === n) d[n] = Number(s) / 255; else if ("shadow" === n) { let e = ["shadowOffsetX", "shadowOffsetY", "shadowBlur", "shadowColor"]; r.forEach(function (t, n) { d[e[n]] = "shadowColor" === e[n] ? rf(t) : t }) } else if ("fontSize" === n) { const e = d.__font__ || d.font; d.__font__ = d.font = e.replace(/\d+\.?\d*px/, s + "px") } else "lineDash" === n ? (d.setLineDash(s), d.lineDashOffset = r[1] || 0) : "textBaseline" === n ? ("normal" === s && (r[0] = "alphabetic"), d[n] = s) : "font" === n ? d.__font__ = d.font = s : d[n] = s } else if ("fillPath" === o || "strokePath" === o) o = o.replace(/Path/, ""), d.beginPath(), r.forEach(function (e) { d[e.method].apply(d, e.data) }), d[o](); else if ("fillText" === o) d.fillText.apply(d, r); else if ("drawImage" === o) { if ("break" === function () { let n = [...r], o = n[0], s = n.slice(1); if (a = a || {}, !c(o, e.slice(t + 1), i, function (e) { e && d.drawImage.apply(d, [e].concat([...s.slice(4, 8)], [...s.slice(0, 4)])) })) return "break" }()) break } else "clip" === o ? (r.forEach(function (e) { d[e.method].apply(d, e.data) }), d.clip()) : d[o].apply(d, r) } n.value || i({ errMsg: "drawCanvas:ok" }) } function l(e) { e.forEach(function (e) { let t = e.method, n = e.data, o = ""; function r() { const e = a[o] = new Image; e.onload = function () { e.ready = !0 }, function (e) { const t = document.createElement("a"); return t.href = e, t.origin === location.origin ? Promise.resolve(e) : Yp(e).then(Gp) }(o).then(t => { e.src = t }).catch(() => { e.src = o }) } "drawImage" === t ? (o = n[0], o = af(o), n[0] = o) : "setFillStyle" === t && "pattern" === n[0] && (o = n[1], o = af(o), n[1] = o), o && !a[o] && r() }) } function c(e, t, r, i) { let l = a[e]; return l.ready ? (i(l), !0) : (o.unshift([t, !0]), n.value = !0, l.onload = function () { l.ready = !0, i(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: a, destWidth: i, destHeight: s, hidpi: l = !0, dataType: c, quality: d = 1, type: u = "png" }, h) { const m = t.value; let p; const f = m.offsetWidth - e; o = o ? Math.min(o, f) : f; const g = m.offsetHeight - n; a = a ? Math.min(a, g) : g, l ? (i = o, s = a) : i || s ? i ? s || (s = Math.round(a / o * i)) : (s || (s = Math.round(a * r.value)), i = Math.round(o / a * s)) : (i = Math.round(o * r.value), s = Math.round(a * r.value)); const y = cf(i, s), v = y.getContext("2d"); let b; "jpeg" !== u && "jpg" !== u || (u = "jpeg", v.fillStyle = "#fff", v.fillRect(0, 0, i, s)), v.__hidpi__ = !0, v.drawImageByCanvas(m, e, n, o, a, 0, 0, i, s, !1); try { let e; if ("base64" === c) p = y.toDataURL(`image/${u}`, d); else { const e = v.getImageData(0, 0, i, s); p = Array.prototype.slice.call(e.data) } b = { data: p, compressed: e, width: i, height: s } } catch (_) { b = { errMsg: `canvasGetImageData:fail ${_}` } } if (y.height = y.width = 0, v.__hidpi__ = !1, !h) return b; h(b) } function h({ data: e, x: n, y: o, width: a, height: r, compressed: i }, s) { try { 0, r || (r = Math.round(e.length / 4 / a)); const i = cf(a, r); i.getContext("2d").putImageData(new ImageData(new Uint8ClampedArray(e), a, r), 0, 0), t.value.getContext("2d").drawImage(i, n, o, a, r), i.height = i.width = 0 } catch (l) { return void s({ errMsg: "canvasPutImageData:fail" }) } s({ errMsg: "canvasPutImageData:ok" }) } function m({ x: e = 0, y: t = 0, width: n, height: o, destWidth: a, destHeight: r, fileType: i, quality: s, dirname: l }, c) { const u = d({ x: e, y: t, width: n, height: o, destWidth: a, destHeight: r, hidpi: !1, dataType: "base64", type: i, quality: s }); var h; u.errMsg ? c({ errMsg: u.errMsg.replace("canvasPutImageData", "toTempFilePath") }) : (h = u.data, ((e, t) => { let n = "toTempFilePath:" + (e ? "fail" : "ok"); e && (n += ` ${e.message}`), c({ errMsg: n, tempFilePath: t }) })(null, h)) } const p = { actionsChanged: s, getImageData: d, putImageData: h, toTempFilePath: m }; function f(e, t, n) { let o = p[e]; 0 !== e.indexOf("_") && v(o) && o(t, n) } return u(p, { _resize: i, _handleSubscribe: f }) }(e, a, i); return iy(m, ly(e.canvasId)), Aa(() => { f() }), () => { const { canvasId: t, disableScroll: i } = e; return Yr("uni-canvas", ei({ ref: o, "canvas-id": t, "disable-scroll": i }, l.value, c.value, h.value), [Yr("canvas", { ref: a, class: "uni-canvas-canvas", width: "300", height: "150" }, null, 512), Yr("div", { style: "position: absolute;top: 0;left: 0;width: 100%;height: 100%;overflow: hidden;" }, [n.default && n.default()]), Yr(Xp, { ref: r, onResize: f }, null, 8, ["onResize"])], 16, ["canvas-id", "disable-scroll"]) } } }); function uf() { } const hf = { 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 mf(e, t, n) { function o(e) { const t = gi(() => 0 === String(navigator.vendor).indexOf("Apple")); e.addEventListener("focus", () => { clearTimeout(void 0), document.addEventListener("click", uf, !1) }); e.addEventListener("blur", () => { t.value && e.blur(), document.removeEventListener("click", uf, !1), t.value && document.documentElement.scrollTo(document.documentElement.scrollLeft, document.documentElement.scrollTop) }) } Ho(() => t.value, e => e && o(e)) } var pf = /^<([-A-Za-z0-9_]+)((?:\s+[a-zA-Z_:][-a-zA-Z0-9_:.]*(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)>/, ff = /^<\/([-A-Za-z0-9_]+)[^>]*>/, gf = /([a-zA-Z_:][-a-zA-Z0-9_:.]*)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|([^>\s]+)))?/g, yf = xf("area,base,basefont,br,col,frame,hr,img,input,link,meta,param,embed,command,keygen,source,track,wbr"), vf = xf("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"), bf = xf("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"), _f = xf("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr"), wf = xf("checked,compact,declare,defer,disabled,ismap,multiple,nohref,noresize,noshade,nowrap,readonly,selected"), Tf = xf("script,style"); function xf(e) { for (var t = {}, n = e.split(","), o = 0; o < n.length; o++)t[n[o]] = !0; return t } const Sf = { src: { type: String, default: "" }, mode: { type: String, default: "scaleToFill" }, lazyLoad: { type: [Boolean, String], default: !1 }, draggable: { type: Boolean, default: !1 } }, Cf = { widthFix: ["offsetWidth", "height", (e, t) => e / t], heightFix: ["offsetHeight", "width", (e, t) => e * t] }, kf = { 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"] }, Mf = lu({ name: "Image", props: Sf, setup(e, { emit: t }) { const n = Wn(null), o = function (e, t) { const n = Wn(""), o = gi(() => { let e = "auto", o = ""; const a = kf[t.mode]; return a ? (a[0] && (o = a[0]), a[1] && (e = a[1])) : (o = "0% 0%", e = "100% 100%"), `background-image:${n.value ? 'url("' + n.value + '")' : "none"};background-position:${o};background-size:${e};` }), a = Mn({ rootEl: e, src: gi(() => t.src ? Rp(t.src) : ""), origWidth: 0, origHeight: 0, origStyle: { width: "", height: "" }, modeStyle: o, imgSrc: n }); return Aa(() => { const t = e.value; a.origWidth = t.clientWidth || 0, a.origHeight = t.clientHeight || 0 }), a }(n, e), a = uu(n, t), { fixSize: r } = function (e, t, n) { const o = () => { const { mode: o } = t, a = Cf[o]; if (!a) return; const { origWidth: r, origHeight: i } = n, s = r && i ? r / i : 0; if (!s) return; const l = e.value, c = l[a[0]]; c && (l.style[a[1]] = function (e) { Af && e > 10 && (e = 2 * Math.round(e / 2)); return e }(a[2](c, s)) + "px") }, a = () => { const { style: t } = e.value, { origStyle: { width: o, height: a } } = n; t.width = o, t.height = a }; return Ho(() => t.mode, (e, t) => { Cf[t] && a(), Cf[e] && o() }), { fixSize: o, resetSize: a } }(n, e, o); return function (e, t, n, o, a) { let r, i; 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: d, height: u } = r; s(d, u, l), po(() => { o() }), r.draggable = t.draggable, i && i.remove(), i = r, n.value.appendChild(r), c(), a("load", e, { width: d, height: u }) }, r.onerror = t => { s(), c(), a("error", t, { errMsg: `GET ${e.src} 404 (Not Found)` }) }, r.src = l }, c = () => { r && (r.onload = null, r.onerror = null, r = null) }; Ho(() => e.src, e => l(e)), Ho(() => e.imgSrc, e => { !e && i && (i.remove(), i = null) }), Aa(() => l(e.src)), Ea(() => c()) }(o, e, n, r, a), () => Yr("uni-image", { ref: n }, [Yr("div", { style: o.modeStyle }, null, 4), Cf[e.mode] ? Yr(Xp, { onResize: r }, null, 8, ["onResize"]) : Yr("span", null, null)], 512) } }); const Af = "Google Inc." === navigator.vendor; const If = tt(!0), Rf = []; let Ef = 0, Pf = !1; const Lf = e => Rf.forEach(t => t.userAction = e); function Of(e = { userAction: !1 }) { if (!Pf) { ["touchstart", "touchmove", "touchend", "mousedown", "mouseup"].forEach(e => { document.addEventListener(e, function () { !Ef && Lf(!0), Ef++, setTimeout(() => { ! --Ef && Lf(!1) }, 0) }, If) }), Pf = !0 } Rf.push(e) } function Bf() { const e = Mn({ userAction: !1 }); return Aa(() => { Of(e) }), Ea(() => { !function (e) { const t = Rf.indexOf(e); t >= 0 && Rf.splice(t, 1) }(e) }), { state: e } } function Nf() { const e = Mn({ attrs: {} }); return Aa(() => { let t = ri(); for (; t;) { const n = t.type.__scopeId; n && (e.attrs[n] = ""), t = t.proxy && "page" === t.proxy.$mpType ? null : t.parent } }), { state: e } } function Df(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 Vf(e, t, n) { "number" === t && isNaN(Number(e)) && (e = ""); return null == e ? "" : String(e) } const $f = ["none", "text", "decimal", "numeric", "tel", "search", "email", "url"], jf = u({}, { name: { type: String, default: "" }, modelValue: { type: [String, Number] }, value: { type: [String, Number] }, disabled: { type: [Boolean, String], default: !1 }, autoFocus: { type: [Boolean, String], default: !1 }, focus: { type: [Boolean, String], default: !1 }, cursor: { type: [Number, String], default: -1 }, selectionStart: { type: [Number, String], default: -1 }, selectionEnd: { type: [Number, String], default: -1 }, type: { type: String, default: "text" }, password: { type: [Boolean, String], default: !1 }, placeholder: { type: String, default: "" }, placeholderStyle: { type: String, default: "" }, placeholderClass: { type: String, default: "" }, maxlength: { type: [Number, String], default: 140 }, confirmType: { type: String, default: "done" }, confirmHold: { type: Boolean, default: !1 }, ignoreCompositionEvent: { type: Boolean, default: !0 }, step: { type: String, default: "0.000000000000000001" }, inputmode: { type: String, default: void 0, validator: e => !!~$f.indexOf(e) }, cursorColor: { type: String, default: "" } }, hf), zf = ["input", "focus", "blur", "update:value", "update:modelValue", "update:focus", "compositionstart", "compositionupdate", "compositionend", "keyboardheightchange"]; function Ff(e, t, n, o, a) { let r = null, i = null; i = st(n => { const o = a.value, i = Vf(n, e.type); o && document.activeElement === o && i === r || (t.value = i) }, 100, { setTimeout: setTimeout, clearTimeout: clearTimeout }), Ho(() => e.modelValue, i), Ho(() => e.value, i); const s = function (e, t) { let n, o, a = 0; const r = function (...r) { const i = Date.now(); clearTimeout(n), o = () => { o = null, a = i, e.apply(this, r) }, i - a < t ? n = setTimeout(o, t - (i - a)) : o() }; return r.cancel = function () { clearTimeout(n), o = null }, r.flush = function () { clearTimeout(n), o && o() }, r }((e, t) => { i.cancel(), n("update:modelValue", t.value), n("update:value", t.value), o("input", e, t) }, 100); return Ma(() => { i.cancel(), s.cancel() }), { trigger: o, triggerInput: (e, t, n) => { i.cancel(), r = t.value, s(e, t), n && s.flush() } } } function Wf(e, t) { Bf(); const n = gi(() => e.autoFocus || e.focus); function o() { if (!n.value) return; const e = t.value; e ? e.focus() : setTimeout(o, 100) } Ho(() => e.focus, e => { e ? o() : function () { const e = t.value; e && e.blur() }() }), Aa(() => { n.value && po(o) }) } function Hf(e, t, n, o) { Oc(Sd(), "getSelectedTextRange", Df); const { fieldRef: a, state: r, trigger: i } = function (e, t, n) { const o = Wn(null), a = uu(t, n), r = gi(() => { const t = Number(e.selectionStart); return isNaN(t) ? -1 : t }), i = gi(() => { const t = Number(e.selectionEnd); return isNaN(t) ? -1 : t }), s = gi(() => { const t = Number(e.cursor); return isNaN(t) ? -1 : t }), l = gi(() => { var t = Number(e.maxlength); return isNaN(t) ? 140 : t }); let c = ""; c = Vf(e.modelValue, e.type) || Vf(e.value, e.type); const d = Mn({ value: c, valueOrigin: c, maxlength: l, focus: e.focus, composing: !1, selectionStart: r, selectionEnd: i, cursor: s }); return Ho(() => d.focus, e => n("update:focus", e)), Ho(() => d.maxlength, e => d.value = d.value.slice(0, e), { immediate: !1 }), { fieldRef: o, state: d, trigger: a } }(e, t, n), { triggerInput: s } = Ff(e, r, n, i, a); Wf(e, a), mf(0, a); const { state: l } = Nf(); !function (e, t) { const n = lr(fu, !1); if (!n) return; const o = ri(), a = { submit() { const n = o.proxy; return [n[e], b(t) ? n[t] : t.value] }, reset() { b(t) ? o.proxy[t] = "" : t.value = "" } }; n.addField(a), Ea(() => { n.removeField(a) }) }("name", r), function (e, t, n, o, a, r) { function i() { 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 } Ho([() => t.selectionStart, () => t.selectionEnd], i), Ho(() => t.cursor, s), Ho(() => e.value, function () { const c = e.value; if (!c) return; const d = function (e, o) { e.stopPropagation(), v(r) && !1 === r(e, t) || (t.value = c.value, t.composing && n.ignoreCompositionEvent || a(e, { value: c.value, cursor: l(c) }, o)) }; function u(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 }), i(), s() }), c.addEventListener("blur", function (e) { t.composing && (t.composing = !1, d(e, !0)), t.focus = !1, o("blur", e, { value: t.value, cursor: l(e.target) }) }), c.addEventListener("input", d), c.addEventListener("compositionstart", e => { e.stopPropagation(), t.composing = !0, u(e) }), c.addEventListener("compositionend", e => { e.stopPropagation(), t.composing && (t.composing = !1, d(e)), u(e) }), c.addEventListener("compositionupdate", u) }) }(a, r, e, i, s, o); return { fieldRef: a, state: r, scopedAttrsState: l, fixDisabledColor: 0 === String(navigator.vendor).indexOf("Apple") && CSS.supports("image-orientation:from-image"), trigger: i } } const Uf = Qe(() => { { const e = navigator.userAgent; let t = ""; const n = e.match(/OS\s([\w_]+)\slike/); if (n) t = n[1].replace(/_/g, "."); else if (/Macintosh|Mac/i.test(e) && navigator.maxTouchPoints > 0) { const n = e.match(/Version\/(\S*)\b/); n && (t = n[1]) } return !!t && parseInt(t) >= 16 && parseFloat(t) < 17.2 } }); function qf(e, t, n, o, a) { if (t.value) if ("." === e.data) { if ("." === t.value.slice(-1)) return n.value = o.value = t.value = t.value.slice(0, -1), !1; if (t.value && !t.value.includes(".") && t.value === o.value) return t.value += ".", a && (a.fn = () => { n.value = o.value = t.value = t.value.slice(0, -1), o.removeEventListener("blur", a.fn) }, o.addEventListener("blur", a.fn)), !1 } else if ("deleteContentBackward" === e.inputType && Uf() && "." === t.value.slice(-2, -1)) return t.value = n.value = o.value = t.value.slice(0, -2), !0 } function Yf(e) { return "insertFromPaste" === e.inputType } const Zf = lu({ name: "Input", props: u({}, jf, { placeholderClass: { type: String, default: "input-placeholder" }, textContentType: { type: String, default: "" } }), emits: ["confirm", ...zf], setup(e, { emit: t, expose: n }) { const o = ["text", "number", "idcard", "digit", "password", "tel"], a = ["off", "one-time-code"], r = gi(() => { let t = ""; switch (e.type) { case "text": t = "text", "search" === e.confirmType && (t = "search"); break; case "idcard": case "none": t = "text"; break; case "digit": t = "number"; break; default: t = o.includes(e.type) ? e.type : "text" }return e.password ? "password" : t }), i = gi(() => { const t = a.indexOf(e.textContentType), n = a.indexOf(P(e.textContentType)); return a[-1 !== t ? t : -1 !== n ? n : 0] }), s = gi(() => { if (void 0 !== e.inputmode) return e.inputmode; if ($f.includes(e.type)) return e.type; return { number: "numeric", digit: "decimal", idcard: "text" }[e.type] }); let l = function (e, t) { if ("number" === t.value) { const t = void 0 === e.modelValue ? e.value : e.modelValue, n = Wn(null != t ? t.toLocaleString() : ""); return Ho(() => e.modelValue, e => { n.value = null != e ? e.toLocaleString() : "" }), Ho(() => e.value, e => { n.value = null != e ? e.toLocaleString() : "" }), n } return Wn("") }(e, r), c = { fn: null }; const d = Wn(null), { fieldRef: u, state: h, scopedAttrsState: m, fixDisabledColor: p, trigger: f } = Hf(e, d, t, (e, t) => { const n = e.target; if ("number" === r.value) { if (c.fn && (n.removeEventListener("blur", c.fn), c.fn = null), n.validity && !n.validity.valid) { if ((!l.value || !n.value) && "-" === e.data || "-" === l.value[0] && "deleteContentBackward" === e.inputType) return l.value = "-", t.value = "", c.fn = () => { l.value = n.value = "" }, n.addEventListener("blur", c.fn), !1; const o = qf(e, l, t, n, c); return "boolean" == typeof o ? o : (l.value = t.value = n.value = "-" === l.value ? "" : l.value, !1) } { const o = qf(e, l, t, n, c); if ("boolean" == typeof o) return o; l.value = n.value } if (t.maxlength > 0 && n.value.length > t.maxlength && !Yf(e)) return n.value = l.value = t.value, !1 } }); Ho(() => h.value, t => { "number" !== e.type || "-" === l.value && "" === t || (l.value = t.toString()) }), Ho(() => e.maxlength, e => { e = parseInt(e, 10); const t = h.value.slice(0, e); t !== h.value && (h.value = t) }); const g = ["number", "digit"], y = gi(() => g.includes(e.type) ? e.step : ""); function v(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), h.value = e.value } }), () => { let t = e.disabled && p ? Yr("input", { key: "disabled-input", ref: u, value: h.value, tabindex: "-1", readonly: !!e.disabled, type: r.value, maxlength: h.maxlength, step: y.value, class: "uni-input-input", style: e.cursorColor ? { caretColor: e.cursorColor } : {}, inputmode: s.value, onFocus: e => e.target.blur() }, null, 44, ["value", "readonly", "type", "maxlength", "step", "inputmode", "onFocus"]) : Yr("input", { key: "input", ref: u, value: h.value, onInput: ms(e => { const t = e.target.value.toString(); "number" === r.value && h.maxlength > 0 && t.length > h.maxlength ? Yf(e) && (h.value = t.slice(0, h.maxlength)) : 0 === t.length && "insertText" === e.inputType && "." === e.data || (h.value = t) }, ["stop"]), disabled: !!e.disabled, type: r.value, maxlength: h.maxlength, step: y.value, enterkeyhint: e.confirmType, pattern: "number" === e.type ? "[0-9]*" : void 0, class: "uni-input-input", style: e.cursorColor ? { caretColor: e.cursorColor } : {}, autocomplete: i.value, onKeyup: v, inputmode: s.value }, null, 44, ["value", "onInput", "disabled", "type", "maxlength", "step", "enterkeyhint", "pattern", "autocomplete", "onKeyup", "inputmode"]); return Yr("uni-input", { ref: d }, [Yr("div", { class: "uni-input-wrapper" }, [Go(Yr("div", ei(m.attrs, { style: e.placeholderStyle, class: ["uni-input-placeholder", e.placeholderClass] }), [e.placeholder], 16), [[ji, !(h.value.length || "-" === l.value || l.value.includes("."))]]), "search" === e.confirmType ? Yr("form", { action: "", onSubmit: e => e.preventDefault(), class: "uni-input-form" }, [t], 40, ["onSubmit"]) : t])], 512) } } }); const Gf = ["class", "style"], Qf = /^on[A-Z]+/, Jf = (e = {}) => { const { excludeListeners: t = !1, excludeKeys: n = [] } = e, o = ri(), a = Hn({}), r = Hn({}), i = Hn({}), s = n.concat(Gf); return o.attrs = Mn(o.attrs), Fo(() => { const e = (n = o.attrs, Object.keys(n).map(e => [e, n[e]])).reduce((e, [n, o]) => (s.includes(n) ? e.exclude[n] = o : Qf.test(n) ? (t || (e.attrs[n] = o), e.listeners[n] = o) : e.attrs[n] = o, e), { exclude: {}, attrs: {}, listeners: {} }); var n; a.value = e.attrs, r.value = e.listeners, i.value = e.exclude }), { $attrs: a, $listeners: r, $excludeAttrs: i } }; function Xf(e) { const t = []; return f(e) && e.forEach(e => { zr(e) ? e.type === Ir ? t.push(...Xf(e.children)) : t.push(e) : f(e) && t.push(...Xf(e)) }), t } const Kf = lu({ inheritAttrs: !1, name: "MovableArea", props: { scaleArea: { type: Boolean, default: !1 } }, setup(e, { slots: t }) { const n = Wn(null), o = Wn(!1); let { setContexts: a, events: r } = function (e, t) { const n = Wn(0), o = Wn(0), a = Mn({ x: null, y: null }), r = Wn(null); let i = null, s = []; function l(t) { t && 1 !== t && (e.scaleArea ? s.forEach(function (e) { e._setScale(t) }) : i && i._setScale(t)) } function c(e, n = s) { let o = t.value; function a(e) { for (let t = 0; t < n.length; t++) { const o = n[t]; if (e === o.rootRef.value) return o } return e === o || e === document.body || e === document ? null : a(e.parentNode) } return a(e) } const d = du(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 = eg(t), a.x = t.x, a.y = t.y, !e.scaleArea) { let e = c(n[0].target), t = c(n[1].target); i = e && e === t ? e : null } } }), u = du(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 !== a.x && r.value && r.value > 0) { l(eg(n) / r.value) } a.x = n.x, a.y = n.y } }), h = du(t => { let n = t.touches; n && n.length || t.changedTouches && (a.x = 0, a.y = 0, r.value = null, e.scaleArea ? s.forEach(function (e) { e._endScale() }) : i && i._endScale()) }); function m() { p(), s.forEach(function (e, t) { e.setParent() }) } function p() { let e = window.getComputedStyle(t.value), a = t.value.getBoundingClientRect(); n.value = a.width - ["Left", "Right"].reduce(function (t, n) { const o = "padding" + n; return t + parseFloat(e["border" + n + "Width"]) + parseFloat(e[o]) }, 0), o.value = a.height - ["Top", "Bottom"].reduce(function (t, n) { const o = "padding" + n; return t + parseFloat(e["border" + n + "Width"]) + parseFloat(e[o]) }, 0) } return sr("movableAreaWidth", n), sr("movableAreaHeight", o), { setContexts(e) { s = e }, events: { _onTouchstart: d, _onTouchmove: u, _onTouchend: h, _resize: m } } }(e, n); const { $listeners: i, $attrs: s, $excludeAttrs: l } = Jf(), c = i.value;["onTouchstart", "onTouchmove", "onTouchend"].forEach(e => { let t = c[e], n = r[`_${e}`]; c[e] = t ? [].concat(t, n) : n }), Aa(() => { r._resize(), o.value = !0 }); let d = []; const u = []; function h() { const e = []; for (let t = 0; t < d.length; t++) { let n = d[t]; n = n.el; const o = u.find(e => n === e.rootRef.value); o && e.push(Nn(o)) } a(e) } return sr("_isMounted", o), sr("movableAreaRootRef", n), sr("addMovableViewContext", e => { u.push(e), h() }), sr("removeMovableViewContext", e => { const t = u.indexOf(e); t >= 0 && (u.splice(t, 1), h()) }), () => { const e = t.default && t.default(); return d = Xf(e), Yr("uni-movable-area", ei({ ref: n }, s.value, l.value, c), [Yr(Xp, { onResize: r._resize }, null, 8, ["onResize"]), d], 16) } } }); function eg(e) { return Math.sqrt(e.x * e.x + e.y * e.y) } const tg = function (e, t, n, o) { e.addEventListener(t, e => { v(n) && !1 === n(e) && ((void 0 === e.cancelable || e.cancelable) && e.preventDefault(), e.stopPropagation()) }, { passive: !1 }) }; let ng, og; function ag(e, t, n) { Ea(() => { document.removeEventListener("mousemove", ng), document.removeEventListener("mouseup", og) }); let o = 0, a = 0, r = 0, i = 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 - a, ddx: s - r, ddy: l - i, timeStamp: e.timeStamp } })) return !1 }; let l, c, d = null; tg(e, "touchstart", function (e) { if (l = !0, 1 === e.touches.length && !d) return d = e, o = r = e.touches[0].pageX, a = i = e.touches[0].pageY, s(e, "start", o, a) }), tg(e, "mousedown", function (e) { if (c = !0, !l && !d) return d = e, o = r = e.pageX, a = i = e.pageY, s(e, "start", o, a) }), tg(e, "touchmove", function (e) { if (1 === e.touches.length && d) { const t = s(e, "move", e.touches[0].pageX, e.touches[0].pageY); return r = e.touches[0].pageX, i = e.touches[0].pageY, t } }); const u = ng = function (e) { if (!l && c && d) { const t = s(e, "move", e.pageX, e.pageY); return r = e.pageX, i = e.pageY, t } }; document.addEventListener("mousemove", u), tg(e, "touchend", function (e) { if (0 === e.touches.length && d) return l = !1, d = null, s(e, "end", e.changedTouches[0].pageX, e.changedTouches[0].pageY) }); const h = og = function (e) { if (c = !1, !l && d) return d = null, s(e, "end", e.pageX, e.pageY) }; document.addEventListener("mouseup", h), tg(e, "touchcancel", function (e) { if (d) { l = !1; const t = d; return d = null, s(e, n ? "cancel" : "end", t.touches[0].pageX, t.touches[0].pageY) } }) } function rg(e, t, n) { return e > t - n && e < t + n } function ig(e, t) { return rg(e, 0, t) } function sg() { } function lg(e, t) { this._m = e, this._f = 1e3 * t, this._startTime = 0, this._v = 0 } function cg(e, t, n) { this._m = e, this._k = t, this._c = n, this._solution = null, this._endPosition = 0, this._startTime = 0 } function dg(e, t, n) { this._springX = new cg(e, t, n), this._springY = new cg(e, t, n), this._springScale = new cg(e, t, n), this._startTime = 0 } sg.prototype.x = function (e) { return Math.sqrt(e) }, lg.prototype.setV = function (e, t) { const n = Math.pow(Math.pow(e, 2) + Math.pow(t, 2), .5); this._x_v = e, this._y_v = t, this._x_a = -this._f * this._x_v / n, this._y_a = -this._f * this._y_v / n, this._t = Math.abs(e / this._x_a) || Math.abs(t / this._y_a), this._lastDt = null, this._startTime = (new Date).getTime() }, lg.prototype.setS = function (e, t) { this._x_s = e, this._y_s = t }, lg.prototype.s = function (e) { void 0 === e && (e = ((new Date).getTime() - this._startTime) / 1e3), e > this._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 && t < this._endPositionX || this._x_a < 0 && t > this._endPositionX) && (t = this._endPositionX), (this._y_a > 0 && n < this._endPositionY || this._y_a < 0 && n > this._endPositionY) && (n = this._endPositionY), { x: t, y: n } }, lg.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 } }, lg.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 } }, lg.prototype.dt = function () { return -this._x_v / this._x_a }, lg.prototype.done = function () { const e = rg(this.s().x, this._endPositionX) || rg(this.s().y, this._endPositionY) || this._lastDt === this._t; return this._lastDt = null, e }, lg.prototype.setEnd = function (e, t) { this._endPositionX = e, this._endPositionY = t }, lg.prototype.reconfigure = function (e, t) { this._m = e, this._f = 1e3 * t }, cg.prototype._solve = function (e, t) { const n = this._c, o = this._m, a = this._k, r = n * n - 4 * o * a; if (0 === r) { const a = -n / (2 * o), r = e, i = t / (a * e); return { x: function (e) { return (r + i * e) * Math.pow(Math.E, a * e) }, dx: function (e) { const t = Math.pow(Math.E, a * e); return a * (r + i * e) * t + i * t } } } if (r > 0) { const a = (-n - Math.sqrt(r)) / (2 * o), i = (-n + Math.sqrt(r)) / (2 * o), s = (t - a * e) / (i - a), 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, a * e)), n || (n = this._powER2T = Math.pow(Math.E, i * 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, a * e)), n || (n = this._powER2T = Math.pow(Math.E, i * e)), l * a * t + s * i * n } } } const i = Math.sqrt(4 * o * a - n * n) / (2 * o), s = -n / 2 * o, l = e, c = (t - s * e) / i; return { x: function (e) { return Math.pow(Math.E, s * e) * (l * Math.cos(i * e) + c * Math.sin(i * e)) }, dx: function (e) { const t = Math.pow(Math.E, s * e), n = Math.cos(i * e), o = Math.sin(i * e); return t * (c * i * n - l * i * o) + s * t * (c * o + l * n) } } }, cg.prototype.x = function (e) { return void 0 === e && (e = ((new Date).getTime() - this._startTime) / 1e3), this._solution ? this._endPosition + this._solution.x(e) : 0 }, cg.prototype.dx = function (e) { return void 0 === e && (e = ((new Date).getTime() - this._startTime) / 1e3), this._solution ? this._solution.dx(e) : 0 }, cg.prototype.setEnd = function (e, t, n) { if (n || (n = (new Date).getTime()), e !== this._endPosition || !ig(t, .1)) { t = t || 0; let o = this._endPosition; this._solution && (ig(t, .1) && (t = this._solution.dx((n - this._startTime) / 1e3)), o = this._solution.x((n - this._startTime) / 1e3), ig(t, .1) && (t = 0), ig(o, .1) && (o = 0), o += this._endPosition), this._solution && ig(o - e, .1) && ig(t, .1) || (this._endPosition = e, this._solution = this._solve(o - this._endPosition, t), this._startTime = n) } }, cg.prototype.snap = function (e) { this._startTime = (new Date).getTime(), this._endPosition = e, this._solution = { x: function () { return 0 }, dx: function () { return 0 } } }, cg.prototype.done = function (e) { return e || (e = (new Date).getTime()), rg(this.x(), this._endPosition, .1) && ig(this.dx(), .1) }, cg.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()) }, cg.prototype.springConstant = function () { return this._k }, cg.prototype.damping = function () { return this._c }, cg.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 }] }, dg.prototype.setEnd = function (e, t, n, o) { const a = (new Date).getTime(); this._springX.setEnd(e, o, a), this._springY.setEnd(t, o, a), this._springScale.setEnd(n, o, a), this._startTime = a }, dg.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) } }, dg.prototype.done = function () { const e = (new Date).getTime(); return this._springX.done(e) && this._springY.done(e) && this._springScale.done(e) }, dg.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 ug(e, t) { return +((1e3 * e - 1e3 * t) / 1e3).toFixed(1) } const hg = lu({ 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: .1 }, 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 = Wn(null), a = uu(o, n), { setParent: r } = function (e, t, n) { const o = lr("_isMounted", Wn(!1)), a = lr("addMovableViewContext", () => { }), r = lr("removeMovableViewContext", () => { }); let i, s, l = Wn(1), c = Wn(1), d = Wn(!1), u = Wn(0), h = Wn(0), m = null, p = null, f = !1, g = null, y = null; const v = new sg, b = new sg, _ = { historyX: [0, 0], historyY: [0, 0], historyT: [0, 0] }, w = gi(() => { let t = Number(e.friction); return isNaN(t) || t <= 0 ? 2 : t }), T = new lg(1, w.value); Ho(() => e.disabled, () => { U() }); const { _updateOldScale: x, _endScale: S, _setScale: C, scaleValueSync: k, _updateBoundary: M, _updateOffset: A, _updateWH: I, _scaleOffset: R, minX: E, minY: P, maxX: L, maxY: O, FAandSFACancel: B, _getLimitXY: N, _setTransform: D, _revise: V, dampingNumber: $, xMove: j, yMove: z, xSync: F, ySync: W, _STD: H } = function (e, t, n, o, a, r, i, s, l, c) { const d = gi(() => { let t = Number(e.scaleMin); return isNaN(t) ? .1 : t }), u = gi(() => { let t = Number(e.scaleMax); return isNaN(t) ? 10 : t }), h = Wn(Number(e.scaleValue) || 1); Ho(h, e => { D(e) }), Ho(d, () => { N() }), Ho(u, () => { N() }), Ho(() => e.scaleValue, e => { h.value = Number(e) || 0 }); const { _updateBoundary: m, _updateOffset: p, _updateWH: f, _scaleOffset: g, minX: y, minY: v, maxX: b, maxY: _ } = function (e, t, n) { const o = lr("movableAreaWidth", Wn(0)), a = lr("movableAreaHeight", Wn(0)), r = lr("movableAreaRootRef"), i = { x: 0, y: 0 }, s = { x: 0, y: 0 }, l = Wn(0), c = Wn(0), d = Wn(0), u = Wn(0), h = Wn(0), m = Wn(0); function p() { let e = 0 - i.x + s.x, t = o.value - l.value - i.x - s.x; d.value = Math.min(e, t), h.value = Math.max(e, t); let n = 0 - i.y + s.y, r = a.value - c.value - i.y - s.y; u.value = Math.min(n, r), m.value = Math.max(n, r) } function f() { i.x = fg(e.value, r.value), i.y = gg(e.value, r.value) } function g(o) { o = o || t.value, o = n(o); let a = e.value.getBoundingClientRect(); c.value = a.height / t.value, l.value = a.width / t.value; let r = c.value * o, i = l.value * o; s.x = (i - l.value) / 2, s.y = (r - c.value) / 2 } return { _updateBoundary: p, _updateOffset: f, _updateWH: g, _scaleOffset: s, minX: d, minY: u, maxX: h, maxY: m } }(t, o, B), { FAandSFACancel: w, _getLimitXY: T, _animationTo: x, _setTransform: S, _revise: C, dampingNumber: k, xMove: M, yMove: A, xSync: I, ySync: R, _STD: E } = function (e, t, n, o, a, r, i, s, l, c, d, u, h, m) { const p = gi(() => { let e = Number(t.damping); return isNaN(e) ? 20 : e }), f = gi(() => "all" === t.direction || "horizontal" === t.direction), g = gi(() => "all" === t.direction || "vertical" === t.direction), y = Wn(vg(t.x)), v = Wn(vg(t.y)); Ho(() => t.x, e => { y.value = vg(e) }), Ho(() => t.y, e => { v.value = vg(e) }), Ho(y, e => { C(e) }), Ho(v, e => { k(e) }); const b = new dg(1, 9 * Math.pow(p.value, 2) / 40, p.value); function _(e, t) { let n = !1; return e > a.value ? (e = a.value, n = !0) : e < i.value && (e = i.value, n = !0), t > r.value ? (t = r.value, n = !0) : t < s.value && (t = s.value, n = !0), { x: e, y: t, outOfBounds: n } } function w() { u && u.cancel(), d && d.cancel() } function T(e, n, a, r, i, s) { w(), f.value || (e = l.value), g.value || (n = c.value), t.scale || (a = o.value); let u = _(e, n); e = u.x, n = u.y, t.animation ? (b._springX._solution = null, b._springY._solution = null, b._springScale._solution = null, b._springX._endPosition = l.value, b._springY._endPosition = c.value, b._springScale._endPosition = o.value, b.setEnd(e, n, a, 1), d = yg(b, function () { let e = b.x(); x(e.x, e.y, e.scale, r, i, s) }, function () { d.cancel() })) : x(e, n, a, r, i, s) } function x(a, r, i, s = "", d, u) { null !== a && "NaN" !== a.toString() && "number" == typeof a || (a = l.value || 0), null !== r && "NaN" !== r.toString() && "number" == typeof r || (r = c.value || 0), a = Number(a.toFixed(1)), r = Number(r.toFixed(1)), i = Number(i.toFixed(1)), l.value === a && c.value === r || d || m("change", {}, { x: ug(a, n.x), y: ug(r, n.y), source: s }), t.scale || (i = o.value), i = +(i = h(i)).toFixed(3), u && i !== o.value && m("scale", {}, { x: a, y: r, scale: i }); let p = "translateX(" + a + "px) translateY(" + r + "px) translateZ(0px) scale(" + i + ")"; e.value && (e.value.style.transform = p, e.value.style.webkitTransform = p, l.value = a, c.value = r, o.value = i) } function S(e) { let t = _(l.value, c.value), n = t.x, a = t.y, r = t.outOfBounds; return r && T(n, a, o.value, e), r } function C(e) { if (f.value) { if (e + n.x === l.value) return l; d && d.cancel(), T(e + n.x, v.value + n.y, o.value) } return e } function k(e) { if (g.value) { if (e + n.y === c.value) return c; d && d.cancel(), T(y.value + n.x, e + n.y, o.value) } return e } return { FAandSFACancel: w, _getLimitXY: _, _animationTo: T, _setTransform: x, _revise: S, dampingNumber: p, xMove: f, yMove: g, xSync: y, ySync: v, _STD: b } }(t, e, g, o, b, _, y, v, i, s, l, c, B, n); function P(t, n) { if (e.scale) { t = B(t), f(t), m(); const e = T(i.value, s.value), o = e.x, a = e.y; n ? x(o, a, t, "", !0, !0) : pg(function () { S(o, a, t, "", !0, !0) }) } } function L() { r.value = !0 } function O(e) { a.value = e } function B(e) { return e = Math.max(.1, d.value, e), e = Math.min(10, u.value, e) } function N() { if (!e.scale) return !1; P(o.value, !0), O(o.value) } function D(t) { return !!e.scale && (P(t = B(t), !0), O(t), t) } function V() { r.value = !1, O(o.value) } function $(e) { e && (e = a.value * e, L(), P(e)) } return { _updateOldScale: O, _endScale: V, _setScale: $, scaleValueSync: h, _updateBoundary: m, _updateOffset: p, _updateWH: f, _scaleOffset: g, minX: y, minY: v, maxX: b, maxY: _, FAandSFACancel: w, _getLimitXY: T, _animationTo: x, _setTransform: S, _revise: C, dampingNumber: k, xMove: M, yMove: A, xSync: I, ySync: R, _STD: E } }(e, n, t, l, c, d, u, h, m, p); function U() { d.value || e.disabled || (B(), _.historyX = [0, 0], _.historyY = [0, 0], _.historyT = [0, 0], j.value && (i = u.value), z.value && (s = h.value), n.value.style.willChange = "transform", g = null, y = null, f = !0) } function q(t) { if (!d.value && !e.disabled && f) { let n = u.value, o = h.value; if (null === y && (y = Math.abs(t.detail.dx / t.detail.dy) > 1 ? "htouchmove" : "vtouchmove"), j.value && (n = t.detail.dx + i, _.historyX.shift(), _.historyX.push(n), z.value || null !== g || (g = Math.abs(t.detail.dx / t.detail.dy) < 1)), z.value && (o = t.detail.dy + s, _.historyY.shift(), _.historyY.push(o), j.value || null !== g || (g = Math.abs(t.detail.dy / t.detail.dx) < 1)), _.historyT.shift(), _.historyT.push(t.detail.timeStamp), !g) { t.preventDefault(); let a = "touch"; n < E.value ? e.outOfBounds ? (a = "touch-out-of-bounds", n = E.value - v.x(E.value - n)) : n = E.value : n > L.value && (e.outOfBounds ? (a = "touch-out-of-bounds", n = L.value + v.x(n - L.value)) : n = L.value), o < P.value ? e.outOfBounds ? (a = "touch-out-of-bounds", o = P.value - b.x(P.value - o)) : o = P.value : o > O.value && (e.outOfBounds ? (a = "touch-out-of-bounds", o = O.value + b.x(o - O.value)) : o = O.value), pg(function () { D(n, o, l.value, a) }) } } } function Y() { if (!d.value && !e.disabled && f && (n.value.style.willChange = "auto", f = !1, !g && !V("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 = u.value, o = h.value; T.setV(e, t), T.setS(n, o); const a = T.delta().x, r = T.delta().y; let i = a + n, s = r + o; i < E.value ? (i = E.value, s = o + (E.value - n) * r / a) : i > L.value && (i = L.value, s = o + (L.value - n) * r / a), s < P.value ? (s = P.value, i = n + (P.value - o) * a / r) : s > O.value && (s = O.value, i = n + (O.value - o) * a / r), T.setEnd(i, s), p = yg(T, function () { let e = T.s(), t = e.x, n = e.y; D(t, n, l.value, "friction") }, function () { p.cancel() }) } e.outOfBounds || e.inertia || B() } function Z() { if (!o.value) return; B(); let t = e.scale ? k.value : 1; A(), I(t), M(); let n = N(F.value + R.x, W.value + R.y), a = n.x, r = n.y; D(a, r, t, "", !0), x(t) } return Aa(() => { ag(n.value, e => { switch (e.detail.state) { case "start": U(); break; case "move": q(e); break; case "end": Y() } }), Z(), T.reconfigure(1, w.value), H.reconfigure(1, 9 * Math.pow($.value, 2) / 40, $.value), n.value.style.transformOrigin = "center"; const e = { rootRef: n, setParent: Z, _endScale: S, _setScale: C }; a(e), Pa(() => { r(e) }) }), Pa(() => { B() }), { setParent: Z } }(e, a, o); return () => Yr("uni-movable-view", { ref: o }, [Yr(Xp, { onResize: r }, null, 8, ["onResize"]), t.default && t.default()], 512) } }); let mg = !1; function pg(e) { mg || (mg = !0, requestAnimationFrame(function () { e(), mg = !1 })) } function fg(e, t) { if (e === t) return 0; let n = e.offsetLeft; return e.offsetParent ? n += fg(e.offsetParent, t) : 0 } function gg(e, t) { if (e === t) return 0; let n = e.offsetTop; return e.offsetParent ? n += gg(e.offsetParent, t) : 0 } function yg(e, t, n) { let o = { id: 0, cancelled: !1 }; return function e(t, n, o, a) { if (!t || !t.cancelled) { o(n); let r = n.done(); r || t.cancelled || (t.id = requestAnimationFrame(e.bind(null, t, n, o, a))), r && a && a(n) } }(o, e, t, n), { cancel: function (e) { e && e.id && cancelAnimationFrame(e.id), e && (e.cancelled = !0) }.bind(null, o), model: e } } function vg(e) { return /\d+[ur]px$/i.test(e) ? gh(parseFloat(e)) : Number(e) || 0 } const bg = ["navigate", "redirect", "switchTab", "reLaunch", "navigateBack"], _g = ["slide-in-right", "slide-in-left", "slide-in-top", "slide-in-bottom", "fade-in", "zoom-out", "zoom-fade-out", "pop-in", "none"], wg = ["slide-out-right", "slide-out-left", "slide-out-top", "slide-out-bottom", "fade-out", "zoom-in", "zoom-fade-in", "pop-out", "none"], Tg = { hoverClass: { type: String, default: "navigator-hover" }, url: { type: String, default: "" }, openType: { type: String, default: "navigate", validator: e => Boolean(~bg.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 || _g.concat(wg).includes(e) }, animationDuration: { type: [String, Number], default: 300 } }; const xg = lu({ name: "Navigator", inheritAttrs: !1, compatConfig: { MODE: 3 }, props: u({}, Tg, { renderLink: { type: Boolean, default: !0 } }), setup(e, { slots: t }) { const n = Wn(null), o = ri(), a = o && o.vnode.scopeId || "", { hovering: r, binding: i } = mu(e), s = function (e) { return () => { if ("navigateBack" !== e.openType && !e.url) return void console.error(" should have url attribute when using navigateTo, redirectTo, reLaunch or switchTab"); const t = parseInt(e.animationDuration); switch (e.openType) { case "navigate": Uv({ url: e.url, animationType: e.animationType || "pop-in", animationDuration: t }); break; case "redirect": Hm({ url: e.url, exists: e.exists }); break; case "switchTab": Fm({ url: e.url }); break; case "reLaunch": qm({ url: e.url }); break; case "navigateBack": Hv({ delta: e.delta, animationType: e.animationType || "pop-out", animationDuration: t }) } } }(e); return () => { const { hoverClass: l, url: c } = e, d = e.hoverClass && "none" !== e.hoverClass, u = e.renderLink ? Yr("a", { class: "navigator-wrap", href: c, onClick: ad, onMousedown: ad }, [t.default && t.default()], 40, ["href", "onClick", "onMousedown"]) : t.default && t.default(); return Yr("uni-navigator", ei({ class: d && r.value ? l : "", ref: n }, d && i, o ? o.attrs : {}, { [a]: "" }, { onClick: s }), [u], 16, ["onClick"]) } } }); const Sg = lu({ 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 = Wn(null), a = Wn(null), r = uu(o, n), i = function (e) { const t = Mn([...e.value]), n = Mn({ value: t, height: 34 }); return Ho(() => 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 = Wn(null); Aa(() => { const e = s.value; e && (i.height = e.$el.offsetHeight) }); let l = Wn([]), c = Wn([]); function d(e) { let t = c.value; t = t.filter(e => e.type !== Er); let n = t.indexOf(e); return -1 !== n ? n : l.value.indexOf(e) } return sr("getPickerViewColumn", function (e) { return gi({ get() { const t = d(e.vnode); return i.value[t] || 0 }, set(t) { const o = d(e.vnode); if (o < 0) return; if (i.value[o] !== t) { i.value[o] = t; const e = i.value.map(e => e); n("update:value", e), r("change", {}, { value: e }) } } }) }), sr("pickerViewProps", e), sr("pickerViewState", i), () => { const e = t.default && t.default(); { const t = Xf(e); l.value = t, po(() => { c.value = t }) } return Yr("uni-picker-view", { ref: o }, [Yr(Xp, { ref: s, onResize: ({ height: e }) => i.height = e }, null, 8, ["onResize"]), Yr("div", { ref: a, class: "uni-picker-view-wrapper" }, [e], 512)], 512) } } }); class Cg { 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 kg(e, t, n) { return e > t - n && e < t + n } function Mg(e, t) { return kg(e, 0, t) } class Ag { constructor(e, t, n) { this._m = e, this._k = t, this._c = n, this._solution = null, this._endPosition = 0, this._startTime = 0 } _solve(e, t) { const n = this._c, o = this._m, a = this._k, r = n * n - 4 * o * a; if (0 === r) { const a = -n / (2 * o), r = e, i = t / (a * e); return { x: function (e) { return (r + i * e) * Math.pow(Math.E, a * e) }, dx: function (e) { const t = Math.pow(Math.E, a * e); return a * (r + i * e) * t + i * t } } } if (r > 0) { const a = (-n - Math.sqrt(r)) / (2 * o), i = (-n + Math.sqrt(r)) / (2 * o), s = (t - a * e) / (i - a), 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, a * e)), n || (n = this._powER2T = Math.pow(Math.E, i * 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, a * e)), n || (n = this._powER2T = Math.pow(Math.E, i * e)), l * a * t + s * i * n } } } const i = Math.sqrt(4 * o * a - n * n) / (2 * o), s = -n / 2 * o, l = e, c = (t - s * e) / i; return { x: function (e) { return Math.pow(Math.E, s * e) * (l * Math.cos(i * e) + c * Math.sin(i * e)) }, dx: function (e) { const t = Math.pow(Math.E, s * e), n = Math.cos(i * e), o = Math.sin(i * e); return t * (c * i * n - l * i * 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 || !Mg(t, .4)) { t = t || 0; let o = this._endPosition; this._solution && (Mg(t, .4) && (t = this._solution.dx((n - this._startTime) / 1e3)), o = this._solution.x((n - this._startTime) / 1e3), Mg(t, .4) && (t = 0), Mg(o, .4) && (o = 0), o += this._endPosition), this._solution && Mg(o - e, .4) && Mg(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()), kg(this.x(), this._endPosition, .4) && Mg(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 Ig { constructor(e, t, n) { this._extent = e, this._friction = t || new Cg(.01), this._spring = n || new Ag(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 Rg { 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 Ig(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 && Math.abs(n.y) < 300 || Math.abs(n.y) < 150)) return void this.snap(); if (this._enableX && (Math.abs(e) < this._itemSize && Math.abs(n.x) < 300 || Math.abs(n.x) < 150)) return void this.snap() } let o; if (this._enableX ? this._scroll.set(this._position, n.x) : this._enableY && this._scroll.set(this._position, n.y), this._enableSnap) { const e = this._scroll._friction.x(100), t = e % this._itemSize; o = 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, a) { if (!t || !t.cancelled) { o(n); const r = n.done(); r || t.cancelled || (t.id = requestAnimationFrame(e.bind(null, t, n, o, a))), r && a && a(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()), v(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), v(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 (v(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 a = 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(), a !== this._position && (this.dispatchScroll(), v(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 } } const Eg = lu({ name: "PickerViewColumn", setup(e, { slots: t, emit: n }) { const o = Wn(null), a = Wn(null), r = lr("getPickerViewColumn"), i = ri(), s = r ? r(i) : Wn(0), l = lr("pickerViewProps"), c = lr("pickerViewState"), d = Wn(34), u = Wn(null); Aa(() => { const e = u.value; d.value = e.$el.offsetHeight }); const h = gi(() => (c.height - d.value) / 2), { state: m } = Nf(); let p; const f = Mn({ current: s.value, length: 0 }); let g; function y() { p && !g && (g = !0, po(() => { g = !1; let e = Math.min(f.current, f.length - 1); e = Math.max(e, 0), p.update(e * d.value, void 0, d.value) })) } Ho(() => s.value, e => { e !== f.current && (f.current = e, y()) }), Ho(() => f.current, e => s.value = e), Ho([() => d.value, () => f.length, () => c.height], y); let v = 0; function b(e) { const t = v + e.deltaY; if (Math.abs(t) > 10) { v = 0; let e = Math.min(f.current + (t < 0 ? -1 : 1), f.length - 1); f.current = e = Math.max(e, 0), p.scrollTo(e * d.value) } else v = t; e.preventDefault() } function _({ clientY: e }) { const t = o.value; if (!p.isScrolling()) { const n = e - t.getBoundingClientRect().top - c.height / 2, o = d.value / 2; if (!(Math.abs(n) <= o)) { const e = Math.ceil((Math.abs(n) - o) / d.value), t = n < 0 ? -e : e; let a = Math.min(f.current + t, f.length - 1); f.current = a = Math.max(a, 0), p.scrollTo(a * d.value) } } } const w = () => { const e = o.value, t = a.value, { scroller: n, handleTouchStart: r, handleTouchMove: i, handleTouchEnd: s } = function (e, t) { const n = { trackingID: -1, maxDy: 0, maxDx: 0 }, o = new Rg(e, t); function a(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, a = e; "start" === t.detail.state ? (n.trackingID = "touch", n.x = t.detail.x, n.y = t.detail.y) : (n.trackingID = "mouse", n.x = a.screenX, n.y = a.screenY), n.maxDx = 0, n.maxDy = 0, n.historyX = [0], n.historyY = [0], n.historyTime = [t.detail.timeStamp || a.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 = a(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 = a(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, a = n.historyTime[t], r = n.historyX[t], i = n.historyY[t]; t > 0;) { t--; const e = a - n.historyTime[t]; if (e > 30 && e < 50) { o.x = (r - n.historyX[t]) / (e / 1e3), o.y = (i - 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: d.value, friction: new Cg(1e-4), spring: new Ag(2, 90, 20), onSnap: e => { isNaN(e) || e === f.current || (f.current = e) } }); p = n, ag(e, e => { switch (e.detail.state) { case "start": r(e); break; case "move": i(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), y() }; return Aa(w), () => { const e = t.default && t.default(); f.length = Xf(e).length; const n = `${h.value}px 0`; return Yr("uni-picker-view-column", { ref: o }, [Yr("div", { onWheel: b, onClick: _, class: "uni-picker-view-group" }, [Yr("div", ei(m.attrs, { class: ["uni-picker-view-mask", l.maskClass], style: `background-size: 100% ${h.value}px;${l.maskStyle}` }), null, 16), Yr("div", ei(m.attrs, { class: ["uni-picker-view-indicator", l.indicatorClass], style: l.indicatorStyle }), [Yr(Xp, { ref: u, onResize: ({ height: e }) => d.value = e }, null, 8, ["onResize"])], 16), Yr("div", { ref: a, class: ["uni-picker-view-content"], style: { padding: n, "--picker-view-column-indicator-height": `${d.value}px` } }, [e], 4)], 40, ["onWheel", "onClick"])], 512) } } }), Pg = ae, Lg = "backwards", Og = lu({ name: "Progress", props: { percent: { type: [Number, String], default: 0, validator: e => !isNaN(parseFloat(e)) }, fontSize: { type: [String, Number], default: 16 }, showInfo: { type: [Boolean, String], default: !1 }, strokeWidth: { type: [Number, String], default: 6, validator: e => !isNaN(parseFloat(e)) }, color: { type: String, default: Pg }, activeColor: { type: String, default: Pg }, backgroundColor: { type: String, default: "#EBEBEB" }, active: { type: [Boolean, String], default: !1 }, activeMode: { type: String, default: Lg }, duration: { type: [Number, String], default: 30, validator: e => !isNaN(parseFloat(e)) }, borderRadius: { type: [Number, String], default: 0 } }, setup(e) { const t = Wn(null), n = function (e) { const t = Wn(0), n = gi(() => `background-color: ${e.backgroundColor}; height: ${md(e.strokeWidth)}px;`), o = gi(() => { const n = e.color !== Pg && e.activeColor === Pg ? e.color : e.activeColor; return `width: ${t.value}%;background-color: ${n}` }), a = gi(() => { if ("string" == typeof e.percent && !/^-?\d*\.?\d*$/.test(e.percent)) return 0; let t = parseFloat(e.percent); return Number.isNaN(t) || t < 0 ? t = 0 : t > 100 && (t = 100), t }), r = Mn({ outerBarStyle: n, innerBarStyle: o, realPercent: a, currentPercent: t, strokeTimer: 0, lastPercent: 0 }); return r }(e); return Bg(n, e), Ho(() => n.realPercent, (t, o) => { n.strokeTimer && clearInterval(n.strokeTimer), n.lastPercent = o || 0, Bg(n, e) }), () => { const { showInfo: o } = e, { outerBarStyle: a, innerBarStyle: r, currentPercent: i } = n; return Yr("uni-progress", { class: "uni-progress", ref: t }, [Yr("div", { style: a, class: "uni-progress-bar" }, [Yr("div", { style: r, class: "uni-progress-inner-bar" }, null, 4)], 4), o ? Yr("p", { class: "uni-progress-info" }, [i + "%"]) : ""], 512) } } }); function Bg(e, t) { t.active ? (e.currentPercent = t.activeMode === Lg ? 0 : e.lastPercent, e.strokeTimer = setInterval(() => { e.currentPercent + 1 > e.realPercent ? (e.currentPercent = e.realPercent, e.strokeTimer && clearInterval(e.strokeTimer)) : e.currentPercent += 1 }, parseFloat(t.duration))) : e.currentPercent = e.realPercent } const Ng = { 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: "" }, Dg = { amp: "&", gt: ">", lt: "<", nbsp: " ", quot: '"', apos: "'", ldquo: "“", rdquo: "”", yen: "¥", radic: "√", lceil: "⌈", rceil: "⌉", lfloor: "⌊", rfloor: "⌋", hellip: "…" }; const Vg = (e, t, n) => !n || f(n) && !n.length ? [] : n.map(n => { var o; if (C(n)) { if (!p(n, "type") || "node" === n.type) { let a = { [e]: "" }; const r = null == (o = n.name) ? void 0 : o.toLowerCase(); if (!p(Ng, 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] = Rp(o)) } }(r, n.attrs), a = u(a, function (e, t) { if (["a", "img"].includes(e.name) && t) return { onClickCapture: n => { t(n, { node: e }), n.stopPropagation(), n.preventDefault(), n.returnValue = !1 } } }(n, t), n.attrs), yi(n.name, a, Vg(e, t, n.children)) } return "text" === n.type && b(n.text) && "" !== n.text ? Gr((n.text || "").replace(/&(([a-zA-Z]+)|(#x{0,1}[\da-zA-Z]+));/gi, function (e, t) { return p(Dg, t) && Dg[t] ? Dg[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 $g(e) { e = function (e) { return e.replace(/<\?xml.*\?>\n/, "").replace(/\n/, "").replace(/\n/, "") }(e); const t = [], n = { children: [] }; return function (e, t) { var n, o, a, r = [], i = e; for (r.last = function () { return this[this.length - 1] }; e;) { if (o = !0, r.last() && Tf[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 a = r.length - 1; a >= o; a--)t.end && t.end(r[a]); r.length = o } } c() }(e, { start: function (e, o, a) { 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)), a) { 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 jg = lu({ name: "RichText", compatConfig: { MODE: 3 }, props: { nodes: { type: [Array, String], default: function () { return [] } } }, emits: ["itemclick"], setup(e, { emit: t }) { const n = ri(), o = n && n.vnode.scopeId || "", a = Wn(null), r = Wn([]), i = uu(a, t); function s(e, t = {}) { i("itemclick", e, t) } return Ho(() => e.nodes, function () { let t = e.nodes; b(t) && (t = $g(e.nodes)), r.value = Vg(o, s, t) }, { immediate: !0, deep: !0 }), () => yi("uni-rich-text", { ref: a }, yi("div", {}, r.value)) } }), zg = lu({ 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 = Wn(null), o = gi(() => { 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 }), a = gi(() => { const t = e.refresherHeight / e.refresherThreshold; return 360 * (t > 1 ? 1 : t) }); return () => { const { refreshState: r, refresherDefaultStyle: i, refresherThreshold: s } = e; return Yr("div", { ref: n, style: o.value, class: "uni-scroll-view-refresher" }, ["none" !== i ? Yr("div", { class: "uni-scroll-view-refresh" }, [Yr("div", { class: "uni-scroll-view-refresh-inner" }, ["pulling" == r ? Yr("svg", { key: "refresh__icon", style: { transform: "rotate(" + a.value + "deg)" }, fill: "#2BD009", class: "uni-scroll-view-refresh__icon", width: "24", height: "24", viewBox: "0 0 24 24" }, [Yr("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), Yr("path", { d: "M0 0h24v24H0z", fill: "none" }, null)], 4) : null, "refreshing" == r ? Yr("svg", { key: "refresh__spinner", class: "uni-scroll-view-refresh__spinner", width: "24", height: "24", viewBox: "25 25 50 50" }, [Yr("circle", { cx: "50", cy: "50", r: "20", fill: "none", style: "color: #2bd009", "stroke-width": "3" }, null)]) : null])]) : null, "none" === i ? Yr("div", { class: "uni-scroll-view-refresher-container", style: { height: `${s}px` } }, [t.default && t.default()]) : null], 4) } } }), Fg = tt(!0), Wg = lu({ 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 a = Wn(null), r = Wn(null), i = Wn(null), s = Wn(null), l = uu(a, t), { state: c, scrollTopNumber: d, scrollLeftNumber: u } = function (e) { const t = gi(() => Number(e.scrollTop) || 0), n = gi(() => Number(e.scrollLeft) || 0), o = Mn({ lastScrollTop: t.value, lastScrollLeft: n.value, lastScrollToUpperTime: 0, lastScrollToLowerTime: 0, refresherHeight: 0, refreshState: "" }); return { state: o, scrollTopNumber: t, scrollLeftNumber: n } }(e), { realScrollX: h, realScrollY: m } = function (e, t, n, o, a, r, i, s, l) { let c = !1, d = 0, u = !1, h = () => { }; const m = gi(() => e.scrollX), p = gi(() => e.scrollY), f = gi(() => { let t = Number(e.upperThreshold); return isNaN(t) ? 50 : t }), g = gi(() => { let t = Number(e.lowerThreshold); return isNaN(t) ? 50 : t }); function y(e, t) { const n = i.value; let o = 0, a = ""; 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 ? a = "translateX(" + o + "px) translateZ(0)" : "y" === t && (a = "translateY(" + o + "px) translateZ(0)"), r.removeEventListener("transitionend", h), r.removeEventListener("webkitTransitionEnd", h), h = () => T(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 = a, r.style.webkitTransform = a } function v(e) { const n = e.target; a("scroll", e, { scrollLeft: n.scrollLeft, scrollTop: n.scrollTop, scrollHeight: n.scrollHeight, scrollWidth: n.scrollWidth, deltaX: t.lastScrollLeft - n.scrollLeft, deltaY: t.lastScrollTop - n.scrollTop }), p.value && (n.scrollTop <= f.value && t.lastScrollTop - n.scrollTop > 0 && e.timeStamp - t.lastScrollToUpperTime > 200 && (a("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 && (a("scrolltolower", e, { direction: "bottom" }), t.lastScrollToLowerTime = e.timeStamp)), m.value && (n.scrollLeft <= f.value && t.lastScrollLeft - n.scrollLeft > 0 && e.timeStamp - t.lastScrollToUpperTime > 200 && (a("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 && (a("scrolltolower", e, { direction: "right" }), t.lastScrollToLowerTime = e.timeStamp)), t.lastScrollTop = n.scrollTop, t.lastScrollLeft = n.scrollLeft } function b(t) { p.value && (e.scrollWithAnimation ? y(t, "y") : i.value.scrollTop = t) } function _(t) { m.value && (e.scrollWithAnimation ? y(t, "x") : i.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 = i.value.getBoundingClientRect(), o = n.getBoundingClientRect(); if (m.value) { let n = o.left - t.left, a = i.value.scrollLeft + n; e.scrollWithAnimation ? y(a, "x") : i.value.scrollLeft = a } if (p.value) { let n = o.top - t.top, a = i.value.scrollTop + n; e.scrollWithAnimation ? y(a, "y") : i.value.scrollTop = a } } } } function T(e, t) { s.value.style.transition = "", s.value.style.webkitTransition = "", s.value.style.transform = "", s.value.style.webkitTransform = ""; let n = i.value; "x" === t ? (n.style.overflowX = m.value ? "auto" : "hidden", n.scrollLeft = e) : "y" === t && (n.style.overflowY = p.value ? "auto" : "hidden", n.scrollTop = e), s.value.removeEventListener("transitionend", h), s.value.removeEventListener("webkitTransitionEnd", h) } function x(n) { if (e.refresherEnabled) { switch (n) { case "refreshing": t.refresherHeight = e.refresherThreshold, c || (c = !0, a("refresherpulling", {}, { deltaY: t.refresherHeight, dy: t.refresherHeight }), a("refresherrefresh", {}, { dy: C.y - S.y }), l("update:refresherTriggered", !0)); break; case "restore": case "refresherabort": c = !1, t.refresherHeight = d = 0, "restore" === n && (u = !1, a("refresherrestore", {}, { dy: C.y - S.y })), "refresherabort" === n && u && (u = !1, a("refresherabort", {}, { dy: C.y - S.y })) }t.refreshState = n } } let S = { x: 0, y: 0 }, C = { y: e.refresherThreshold }; return Aa(() => { po(() => { b(n.value), _(o.value) }), w(e.scrollIntoView); let r = function (e) { e.preventDefault(), e.stopPropagation(), v(e) }, s = null, l = function (n) { if (null === S) return; let o = n.touches[0].pageX, r = n.touches[0].pageY, l = i.value; if (Math.abs(o - S.x) > Math.abs(r - S.y)) if (m.value) { if (0 === l.scrollLeft && o > S.x) return void (s = !1); if (l.scrollWidth === l.offsetWidth + l.scrollLeft && o < S.x) return void (s = !1); s = !0 } else s = !1; else if (p.value) if (0 === l.scrollTop && r > S.y) s = !1, e.refresherEnabled && !1 !== n.cancelable && n.preventDefault(); else { if (l.scrollHeight === l.offsetHeight + l.scrollTop && r < S.y) return void (s = !1); s = !0 } else s = !1; if (s && n.stopPropagation(), 0 === l.scrollTop && 1 === n.touches.length && x("pulling"), e.refresherEnabled && "pulling" === t.refreshState) { const o = r - S.y; 0 === d && (d = r), c ? (t.refresherHeight = o + e.refresherThreshold, u = !1) : (t.refresherHeight = r - d, t.refresherHeight > 0 && (u = !0, a("refresherpulling", n, { deltaY: o, dy: o }))) } }, h = function (e) { 1 === e.touches.length && (S = { x: e.touches[0].pageX, y: e.touches[0].pageY }) }, f = function (n) { C = { x: n.changedTouches[0].pageX, y: n.changedTouches[0].pageY }, t.refresherHeight >= e.refresherThreshold ? x("refreshing") : x("refresherabort"), S = { x: 0, y: 0 }, C = { x: 0, y: e.refresherThreshold } }; i.value.addEventListener("touchstart", h, Fg), i.value.addEventListener("touchmove", l, tt(!1)), i.value.addEventListener("scroll", r, tt(!1)), i.value.addEventListener("touchend", f, Fg), Ea(() => { i.value.removeEventListener("touchstart", h), i.value.removeEventListener("touchmove", l), i.value.removeEventListener("scroll", r), i.value.removeEventListener("touchend", f) }) }), ya(() => { p.value && (i.value.scrollTop = t.lastScrollTop), m.value && (i.value.scrollLeft = t.lastScrollLeft) }), Ho(n, e => { b(e) }), Ho(o, e => { _(e) }), Ho(() => e.scrollIntoView, e => { w(e) }), Ho(() => e.refresherTriggered, e => { !0 === e ? x("refreshing") : !1 === e && x("restore") }), { realScrollX: m, realScrollY: p, _scrollTopChanged: b, _scrollLeftChanged: _ } }(e, c, d, u, l, a, r, s, t), p = gi(() => { let e = ""; return h.value ? e += "overflow-x:auto;" : e += "overflow-x:hidden;", m.value ? e += "overflow-y:auto;" : e += "overflow-y:hidden;", e }), f = gi(() => { 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: d } = e, { refresherHeight: u, refreshState: h } = c; return Yr("uni-scroll-view", { ref: a }, [Yr("div", { ref: i, class: "uni-scroll-view" }, [Yr("div", { ref: r, style: p.value, class: f.value }, [t ? Yr(zg, { refreshState: h, refresherHeight: u, refresherThreshold: d, refresherDefaultStyle: l, refresherBackground: o }, { default: () => ["none" == l ? n.refresher && n.refresher() : null] }, 8, ["refreshState", "refresherHeight", "refresherThreshold", "refresherDefaultStyle", "refresherBackground"]) : null, Yr("div", { ref: s, class: "uni-scroll-view-content" }, [n.default && n.default()], 512)], 6)], 512)], 512) } } }); function Hg(e, t, n, o, a, r) { function i() { c && (clearTimeout(c), c = null) } let s, l, c = null, d = !0, u = 0, h = 1, m = null, p = !1, f = 0, g = ""; const y = gi(() => n.value.length > t.displayMultipleItems), v = gi(() => e.circular && y.value); function b(a) { Math.floor(2 * u) === Math.floor(2 * a) && Math.ceil(2 * u) === Math.ceil(2 * a) || v.value && function (o) { if (!d) for (let a = n.value, r = a.length, i = o + t.displayMultipleItems, s = 0; s < r; s++) { const t = a[s], n = Math.floor(o / r) * r + s, l = n + r, c = n - r, d = Math.max(o - (n + 1), n - i, 0), u = Math.max(o - (l + 1), l - i, 0), h = Math.max(o - (c + 1), c - i, 0), m = Math.min(d, u, h), p = [n, l, c][[d, u, h].indexOf(m)]; t.updatePosition(p, e.vertical) } }(a); const i = "translate(" + (e.vertical ? "0" : 100 * -a * h + "%") + ", " + (e.vertical ? 100 * -a * h + "%" : "0") + ") translateZ(0)", l = o.value; if (l && (l.style.webkitTransform = i, l.style.transform = i), u = a, !s) { if (a % 1 == 0) return; s = a } a -= Math.floor(s); const c = n.value; a <= -(c.length - 1) ? a += c.length : a >= c.length && (a -= c.length), a = s % 1 > .5 || s < 0 ? a - 1 : a, r("transition", {}, { dx: e.vertical ? 0 : a * l.offsetWidth, dy: e.vertical ? a * l.offsetHeight : 0 }) } function _(e) { const o = n.value.length; if (!o) return -1; const a = (Math.round(e) % o + o) % o; if (v.value) { if (o <= t.displayMultipleItems) return 0 } else if (a > o - t.displayMultipleItems) return o - t.displayMultipleItems; return a } function w() { m = null } function T() { if (!m) return void (p = !1); const e = m, o = e.toPos, a = e.acc, i = e.endTime, c = e.source, d = i - Date.now(); if (d <= 0) { b(o), m = null, p = !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 } b(o + a * d * d / 2), l = requestAnimationFrame(T) } function x(e, o, a) { w(); const r = t.duration, i = n.value.length; let s = u; if (v.value) if (a < 0) { for (; s < e;)s += i; for (; s - i > e;)s -= i } else if (a > 0) { for (; s > e;)s -= i; for (; s + i < e;)s += i; s + i - e < e - s && (s += i) } else { for (; s + i < e;)s += i; for (; s - i > e;)s -= i; s + i - e < e - s && (s += i) } else "click" === o && (e = e + t.displayMultipleItems - 1 < i ? e : 0); m = { toPos: e, acc: 2 * (s - e) / (r * r), endTime: Date.now() + r, source: o }, p || (p = !0, l = requestAnimationFrame(T)) } function S() { i(); const e = n.value, o = function () { c = null, g = "autoplay", v.value ? t.current = _(t.current + 1) : t.current = t.current + t.displayMultipleItems < e.length ? t.current + 1 : 0, x(t.current, "autoplay", v.value ? 1 : 0), c = setTimeout(o, t.interval) }; d || e.length <= t.displayMultipleItems || (c = setTimeout(o, t.interval)) } function C(e) { e ? S() : i() } return Ho([() => e.current, () => e.currentItemId, () => [...n.value]], () => { let o = -1; if (e.currentItemId) for (let t = 0, a = n.value; t < a.length; t++) { if (a[t].getItemId() === e.currentItemId) { o = t; break } } o < 0 && (o = Math.round(e.current) || 0), o = o < 0 ? 0 : o, t.current !== o && (g = "", t.current = o) }), Ho([() => e.vertical, () => v.value, () => t.displayMultipleItems, () => [...n.value]], function () { i(), m && (b(m.toPos), m = null); const a = n.value; for (let t = 0; t < a.length; t++)a[t].updatePosition(t, e.vertical); h = 1; const r = o.value; if (1 === t.displayMultipleItems && a.length) { const e = a[0].getBoundingClientRect(), t = r.getBoundingClientRect(); h = e.width / t.width, h > 0 && h < 1 || (h = 1) } const s = u; u = -2; const l = t.current; l >= 0 ? (d = !1, t.userTracking ? (b(s + l - f), f = l) : (b(l), e.autoplay && S())) : (d = !0, b(-t.displayMultipleItems - 1)) }), Ho(() => t.interval, () => { c && (i(), S()) }), Ho(() => t.current, (e, o) => { !function (e, o) { const a = g; g = ""; const i = n.value; if (!a) { const t = i.length; x(e, "", v.value && o + (t - e) % t > t / 2 ? 1 : 0) } const s = i[e]; if (s) { const e = t.currentItemId = s.getItemId(); r("change", {}, { current: t.current, currentItemId: e, source: a }) } }(e, o), a("update:current", e) }), Ho(() => t.currentItemId, e => { a("update:currentItemId", e) }), Ho(() => e.autoplay && !t.userTracking, C), C(e.autoplay && !t.userTracking), Aa(() => { let a = !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 a = _(u + o); e ? x(t.current, "", 0) : (g = "touch", t.current = a, x(a, "touch", 0 !== o ? o : 0 === a && v.value && u >= 1 ? 1 : 0)) } ag(o.value, c => { if (!e.disableTouch && !d) { if ("start" === c.detail.state) return t.userTracking = !0, a = !1, i(), f = u, 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 (!a) { a = !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 && S()) } return function (a) { const i = s; s = Date.now(); const l = n.value.length - t.displayMultipleItems; function c(e) { return .5 - .25 / (e + .5) } function d(e, t) { let n = f + e; r = .6 * r + .4 * t, v.value || (n < 0 || n > l) && (n < 0 ? n = -c(-n) : n > l && (n = l + c(n - l)), r = 0), b(n) } const u = s - i || 1, h = o.value; e.vertical ? d(-a.dy / h.offsetHeight, -a.ddy / u) : d(-a.dx / h.offsetWidth, -a.ddx / u) }(c.detail), !1 } } }, !0) }), Pa(() => { i(), cancelAnimationFrame(l) }), { onSwiperDotClick: function (e) { x(t.current = e, g = "click", v.value ? 1 : 0) }, circularEnabled: v, swiperEnabled: y } } const Ug = lu({ 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 = Wn(null), a = uu(o, n), r = Wn(null), i = Wn(null), s = function (e) { return Mn({ interval: gi(() => { const t = Number(e.interval); return isNaN(t) ? 5e3 : t }), duration: gi(() => { const t = Number(e.duration); return isNaN(t) ? 500 : t }), displayMultipleItems: gi(() => { const t = Math.round(e.displayMultipleItems); return isNaN(t) ? 1 : t }), current: Math.round(e.current) || 0, currentItemId: e.currentItemId, userTracking: !1 }) }(e), l = gi(() => { let t = {}; return (e.nextMargin || e.previousMargin) && (t = e.vertical ? { left: 0, right: 0, top: md(e.previousMargin, !0), bottom: md(e.nextMargin, !0) } : { top: 0, bottom: 0, left: md(e.previousMargin, !0), right: md(e.nextMargin, !0) }), t }), c = gi(() => { const t = Math.abs(100 / s.displayMultipleItems) + "%"; return { width: e.vertical ? "100%" : t, height: e.vertical ? t : "100%" } }); let d = []; const u = [], h = Wn([]); function m() { const e = []; for (let t = 0; t < d.length; t++) { let n = d[t]; n instanceof Element || (n = n.el); const o = u.find(e => n === e.rootRef.value); o && e.push(Nn(o)) } h.value = e } sr("addSwiperContext", function (e) { u.push(e), m() }); sr("removeSwiperContext", function (e) { const t = u.indexOf(e); t >= 0 && (u.splice(t, 1), m()) }); const { onSwiperDotClick: p, circularEnabled: f, swiperEnabled: g } = Hg(e, s, h, i, n, a); let y = () => null; return y = qg(o, e, s, p, h, f, g), () => { const n = t.default && t.default(); return d = Xf(n), Yr("uni-swiper", { ref: o }, [Yr("div", { ref: r, class: "uni-swiper-wrapper" }, [Yr("div", { class: "uni-swiper-slides", style: l.value }, [Yr("div", { ref: i, class: "uni-swiper-slide-frame", style: c.value }, [n], 4)], 4), e.indicatorDots && Yr("div", { class: ["uni-swiper-dots", e.vertical ? "uni-swiper-dots-vertical" : "uni-swiper-dots-horizontal"] }, [h.value.map((t, n, o) => Yr("div", { onClick: () => p(n), class: { "uni-swiper-dot": !0, "uni-swiper-dot-active": n < s.current + s.displayMultipleItems && n >= s.current || n < s.current + s.displayMultipleItems - o.length }, style: { background: n === s.current ? e.indicatorActiveColor : e.indicatorColor } }, null, 14, ["onClick"]))], 2), y()], 512)], 512) } } }), qg = (e, t, n, o, a, r, i) => { let s = !1, l = !1, c = !1, d = Wn(!1); function h(e, n) { const o = e.currentTarget; o && (o.style.backgroundColor = "over" === n ? t.navigationActiveColor : "") } Fo(() => { s = "auto" === t.navigation, d.value = !0 !== t.navigation || s, b() }), Fo(() => { const e = a.value.length, t = !r.value; l = 0 === n.current && t, c = n.current === e - 1 && t || t && n.current + n.displayMultipleItems >= e, i.value || (l = !0, c = !0, s && (d.value = !0)) }); const m = { onMouseover: e => h(e, "over"), onMouseout: e => h(e, "out") }; function p(e, t, i) { if (e.stopPropagation(), i) return; const s = a.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 f = () => bd(vd, t.navigationColor, 26); let g; const y = n => { clearTimeout(g); const { clientX: o, clientY: a } = n, { left: r, right: i, top: s, bottom: l, width: c, height: u } = e.value.getBoundingClientRect(); let h = !1; if (h = t.vertical ? !(a - s < u / 3 || l - a < u / 3) : !(o - r < c / 3 || i - o < c / 3), h) return g = setTimeout(() => { d.value = h }, 300); d.value = h }, v = () => { d.value = !0 }; function b() { e.value && (e.value.removeEventListener("mousemove", y), e.value.removeEventListener("mouseleave", v), s && (e.value.addEventListener("mousemove", y), e.value.addEventListener("mouseleave", v))) } return Aa(b), function () { const e = { "uni-swiper-navigation-hide": d.value, "uni-swiper-navigation-vertical": t.vertical }; return t.navigation ? Yr(Ir, null, [Yr("div", ei({ class: ["uni-swiper-navigation uni-swiper-navigation-prev", u({ "uni-swiper-navigation-disabled": l }, e)], onClick: e => p(e, "prev", l) }, m), [f()], 16, ["onClick"]), Yr("div", ei({ class: ["uni-swiper-navigation uni-swiper-navigation-next", u({ "uni-swiper-navigation-disabled": c }, e)], onClick: e => p(e, "next", c) }, m), [f()], 16, ["onClick"])]) : null } }, Yg = lu({ name: "SwiperItem", props: { itemId: { type: String, default: "" } }, setup(e, { slots: t }) { const n = Wn(null), o = { rootRef: n, getItemId: () => e.itemId, getBoundingClientRect: () => n.value.getBoundingClientRect(), updatePosition(e, t) { const o = t ? "0" : 100 * e + "%", a = t ? 100 * e + "%" : "0", r = n.value, i = `translate(${o},${a}) translateZ(0)`; r && (r.style.webkitTransform = i, r.style.transform = i) } }; return Aa(() => { const e = lr("addSwiperContext"); e && e(o) }), Pa(() => { const e = lr("removeSwiperContext"); e && e(o) }), () => Yr("uni-swiper-item", { ref: n, style: { position: "absolute", width: "100%", height: "100%" } }, [t.default && t.default()], 512) } }), Zg = lu({ name: "Switch", props: { name: { type: String, default: "" }, checked: { type: [Boolean, String], default: !1 }, type: { type: String, default: "switch" }, id: { type: String, default: "" }, disabled: { type: [Boolean, String], default: !1 }, color: { type: String, default: "" } }, emits: ["change"], setup(e, { emit: t }) { const n = Wn(null), o = Wn(e.checked), a = function (e, t) { const n = lr(fu, !1), o = lr(yu, !1), a = { submit: () => { const n = ["", null]; return e.name && (n[0] = e.name, n[1] = t.value), n }, reset: () => { t.value = !1 } }; n && (n.addField(a), Pa(() => { n.removeField(a) })); return o }(e, o), r = uu(n, t); Ho(() => e.checked, e => { o.value = e }); const i = t => { e.disabled || (o.value = !o.value, r("change", t, { value: o.value })) }; return a && (a.addHandler(i), Ea(() => { a.removeHandler(i) })), vu(e, { "label-click": i }), () => { const { color: t, type: a } = e, r = pu(e, "disabled"), s = {}; let l; return t && o.value && (s.backgroundColor = t, s.borderColor = t), l = o.value, Yr("uni-switch", ei({ id: e.id, ref: n }, r, { onClick: i }), [Yr("div", { class: "uni-switch-wrapper" }, [Go(Yr("div", { class: ["uni-switch-input", [o.value ? "uni-switch-input-checked" : ""]], style: s }, null, 6), [[ji, "switch" === a]]), Go(Yr("div", { class: "uni-checkbox-input" }, [l ? bd(gd, e.color, 22) : ""], 512), [[ji, "checkbox" === a]])])], 16, ["id", "onClick"]) } } }); const Gg = { ensp: " ", emsp: " ", nbsp: " " }; function Qg(e, t) { return function (e, { space: t, decode: n }) { let o = "", a = !1; for (let r of e) t && Gg[t] && " " === r && (r = Gg[t]), a ? (o += "n" === r ? ne : "\\" === r ? "\\" : "\\" + r, a = !1) : "\\" === r ? a = !0 : o += r; return n ? o.replace(/ /g, Gg.nbsp).replace(/ /g, Gg.ensp).replace(/ /g, Gg.emsp).replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&").replace(/"/g, '"').replace(/'/g, "'") : o }(e, t).split(ne) } const Jg = lu({ 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 = Wn(null); return () => { const o = []; return t.default && t.default().forEach(t => { if (8 & t.shapeFlag && t.type !== Er) { let n = []; n = Qg(t.children, { space: e.space, decode: e.decode }); const a = n.length - 1; n.forEach((e, t) => { (0 !== t || e) && o.push(Gr(e)), t !== a && o.push(Yr("br")) }) } else o.push(t) }), Yr("uni-text", { ref: n, selectable: !!e.selectable || null }, [Yr("span", null, o)], 8, ["selectable"]) } } }), Xg = u({}, jf, { placeholderClass: { type: String, default: "input-placeholder" }, autoHeight: { type: [Boolean, String], default: !1 }, confirmType: { type: String, default: "return", validator: e => ey.concat("return").includes(e) } }); let Kg = !1; const ey = ["done", "go", "next", "search", "send"]; const ty = lu({ name: "Textarea", props: Xg, emits: ["confirm", "change", "linechange", ...zf], setup(e, { emit: t, expose: n }) { const o = Wn(null), a = Wn(null), { fieldRef: r, state: i, scopedAttrsState: s, fixDisabledColor: l, trigger: c } = Hf(e, o, t), d = gi(() => i.value.split(ne)), u = gi(() => ey.includes(e.confirmType)), h = Wn(0), m = Wn(null); function p({ height: e }) { h.value = e } function f(e) { } function g(e) { "Enter" === e.key && u.value && e.preventDefault() } function y(t) { if ("Enter" === t.key && u.value) { !function (e) { c("confirm", e, { value: i.value }) }(t); const n = t.target; !e.confirmHold && n.blur() } } return Ho(() => h.value, t => { const n = o.value, r = m.value, i = a.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 && (i.style.height = t + "px") }), function () { const e = "(prefers-color-scheme: dark)"; Kg = 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), i.value = e.value } }), () => { let t = e.disabled && l ? Yr("textarea", { key: "disabled-textarea", ref: r, value: i.value, tabindex: "-1", readonly: !!e.disabled, maxlength: i.maxlength, class: { "uni-textarea-textarea": !0, "uni-textarea-textarea-fix-margin": Kg }, style: { overflowY: e.autoHeight ? "hidden" : "auto", ...e.cursorColor && { caretColor: e.cursorColor } }, onFocus: e => e.target.blur() }, null, 46, ["value", "readonly", "maxlength", "onFocus"]) : Yr("textarea", { key: "textarea", ref: r, value: i.value, disabled: !!e.disabled, maxlength: i.maxlength, enterkeyhint: e.confirmType, inputmode: e.inputmode, class: { "uni-textarea-textarea": !0, "uni-textarea-textarea-fix-margin": Kg }, style: { overflowY: e.autoHeight ? "hidden" : "auto", ...e.cursorColor && { caretColor: e.cursorColor } }, onKeydown: g, onKeyup: y, onChange: f }, null, 46, ["value", "disabled", "maxlength", "enterkeyhint", "inputmode", "onKeydown", "onKeyup", "onChange"]); return Yr("uni-textarea", { ref: o, "auto-height": e.autoHeight }, [Yr("div", { ref: a, class: "uni-textarea-wrapper" }, [Go(Yr("div", ei(s.attrs, { style: e.placeholderStyle, class: ["uni-textarea-placeholder", e.placeholderClass] }), [e.placeholder], 16), [[ji, !i.value.length]]), Yr("div", { ref: m, class: "uni-textarea-line" }, [" "], 512), Yr("div", { class: { "uni-textarea-compute": !0, "uni-textarea-compute-auto-height": e.autoHeight } }, [d.value.map(e => Yr("div", null, [e.trim() ? e : "."])), Yr(Xp, { initial: !0, onResize: p }, null, 8, ["initial", "onResize"])], 2), "search" === e.confirmType ? Yr("form", { action: "", onSubmit: () => !1, class: "uni-input-form" }, [t], 40, ["onSubmit"]) : t], 512)], 8, ["auto-height"]) } } }), ny = lu({ name: "View", props: u({}, hu), setup(e, { slots: t }) { const n = Wn(null), { hovering: o, binding: a } = mu(e); return () => { const r = e.hoverClass; return r && "none" !== r ? Yr("uni-view", ei({ class: o.value ? r : "", ref: n }, a), [Va(t, "default")], 16) : Yr("uni-view", { ref: n }, [Va(t, "default")], 512) } } }); function oy(e, t) { if (t || (t = e.id), t) return e.$options.name.toLowerCase() + "." + t } function ay(e, t, n) { e && Oc(n || Sd(), e, ({ type: e, data: n }, o) => { t(e, n, o) }) } function ry(e, t) { e && function (e, t) { t = Lc(e, t), delete Pc[t] }(t || Sd(), e) } function iy(e, t, n, o) { const a = ri().proxy; o = null == o ? _d() : o, Aa(() => { ay(t || oy(a), e, o), Ho(() => a.id, (t, n) => { ay(oy(a, t), e, o), ry(n && oy(a, n)) }) }), Ea(() => { ry(t || oy(a), o) }) } let sy = 0; function ly(e) { const t = _d(), n = ri().proxy, o = n.$options.name.toLowerCase(), a = e || n.id || "context" + sy++; return Aa(() => { n.$el.__uniContextInfo = { id: a, type: o, page: t } }), `${o}.${a}` } function cy(e, t, n, o) { v(t) && Ca(e, t.bind(n), o) } function dy(e, t, n) { const o = e.mpType || n.$mpType; if (o && "component" !== o && ("page" !== o || "component" !== t.renderer) && (Object.keys(e).forEach(o => { if (function (e, t, n = !0) { return !(n && !v(t)) && (dt.indexOf(e) > -1 || 0 === e.indexOf("on")) }(o, e[o], !1)) { const a = e[o]; f(a) ? a.forEach(e => cy(o, e, n, t)) : cy(o, a, n, t) } }), "page" === o)) { t.__isVisible = !0; try { let e = t.attrs.__pageQuery; 0, Id(n, pe, e), t.vapor || delete t.attrs.__pageQuery; const o = n.$page; "preloadPage" !== (null == o ? void 0 : o.openType) && Id(n, se) } catch (VR) { console.error(VR.message + ne + VR.stack) } } } function uy(e, t, n) { dy(e, t, n) } function hy(e, t, n) { return e[t] = n } function my(e, ...t) { const n = this[e]; return n ? n(...t) : (console.error(`method ${e} not found`), null) } function py(e) { const t = e.config.errorHandler; return function (n, o, a) { t && t(n, o, a); const r = e._instance; if (!r || !r.proxy) throw n; r[de] ? Id(r.proxy, de, n) : oo(n, 0, o && o.$.vnode, !1) } } function fy(e, t) { return e ? [...new Set([].concat(e, t))] : t } function gy(e) { const t = e.config; var n; t.errorHandler = ht(e, py), n = t.optionMergeStrategies, dt.forEach(e => { n[e] = fy }); const o = t.globalProperties; o.$set = hy, o.$applyOptions = uy, o.$callMethod = my, function (e) { ut.forEach(t => t(e)) }(e) } function yy(e) { const t = Jl({ history: _y(), strict: !!__uniConfig.router.strict, routes: __uniRoutes, scrollBehavior: by }); t.beforeEach((e, t) => { var n; e && t && e.meta.isTabBar && t.meta.isTabBar && (n = t.meta.tabBarIndex, "undefined" != typeof window && (vy[n] = { left: window.pageXOffset, top: window.pageYOffset })) }), e.router = t, e.use(t) } let vy = Object.create(null); const by = (e, t, n) => { if (n) return n; if (e && t && e.meta.isTabBar && t.meta.isTabBar) { const t = (o = e.meta.tabBarIndex, vy[o]); if (t) return t } return { left: 0, top: 0 }; var o }; function _y() { let { routerBase: e } = __uniConfig.router; "/" === e && (e = ""); const t = dl(e); return t.listen((e, t, n) => { "back" === n.direction && function (e = 1) { const t = pp(), n = t.length - 1, o = n - e; for (let a = n; a > o; a--) { const e = ip(t[a]); fp(bp(e.path, e.id), !1) } }(Math.abs(n.delta)) }), t } const wy = { install(e) { gy(e), qd(e), ou(e), e.config.warnHandler || (e.config.warnHandler = Ty), yy(e) } }; function Ty(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 xy = { class: "uni-async-loading" }, Sy = Yr("i", { class: "uni-loading" }, null, -1), Cy = cu({ name: "AsyncLoading", render: () => (Br(), jr("div", xy, [Sy])) }); function ky() { window.location.reload() } const My = cu({ name: "AsyncError", props: ["error"], setup() { wc(); const { t: e } = bc(); return () => Yr("div", { class: "uni-async-error", onClick: ky }, [e("uni.async.error")], 8, ["onClick"]) } }); let Ay; function Iy() { return Ay } function Ry(e) { Ay = e, Object.defineProperty(Ay.$.ctx, "$children", { get: () => pp().map(e => e.$vm) }); const t = Ay.$.appContext.app; t.component(Cy.name) || t.component(Cy.name, Cy), t.component(My.name) || t.component(My.name, My), function (e) { e.$vm = e, e.$mpType = "app"; const t = Wn(bc().getLocale()); Object.defineProperty(e, "$locale", { get: () => t.value, set(e) { t.value = e } }) }(Ay), 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 } }) }(Ay), tu(), Nd() } function Ey(e, { type: t, clone: n, init: o, setup: a, before: r, options: i }) { n && (e = u({}, e)), r && r(e); const s = e.setup; return e.setup = (e, t) => { const n = ri(); if (o(n.proxy), a(n), s) return s(e, t) }, e } function Py(e, t) { return e && (e.__esModule || "Module" === e[Symbol.toStringTag]) ? Ey(e.default, t) : Ey(e, t) } function Ly(e, t) { return Py(e, { type: "page", clone: !0, init: vp, setup(e) { e.$pageInstance = e; const t = Cu(), n = at(t.query); e.attrs.__pageQuery = n, ip(e.proxy).options = n, e.proxy.options = n; const o = xu(); var a; np(o), e.onReachBottom = Mn([]), e.onPageScroll = Mn([]), Ho([e.onReachBottom, e.onPageScroll], () => { const t = Td(); e.proxy === t && Ap(e, o) }, { once: !0 }), Ma(() => { Tp(e, o) }), Aa(() => { xp(e); const { onReady: n } = e; n && N(n), Dy(t) }), ba(() => { if (!e.__isVisible) { Tp(e, o), e.__isVisible = !0; const { onShow: n } = e; n && N(n), po(() => { Dy(t) }) } }, "ba", a), function (e, t) { ba(e, "bda", t) }(() => { if (e.__isVisible && !e.__isUnload) { e.__isVisible = !1; { const { onHide: t } = e; t && N(t) } } }); const r = Ad(e.proxy); return function (e) { Wb.subscribe(Lc(e, Ic), Bc) }(r), Ea(() => { !function (e) { Wb.unsubscribe(Lc(e, Ic)), Object.keys(Pc).forEach(t => { 0 === t.indexOf(e + ".") && delete Pc[t] }) }(r) }), n } }) } function Oy() { const { windowWidth: e, windowHeight: t, screenWidth: n, screenHeight: o } = ov(), a = 90 === Math.abs(Number(window.orientation)) ? "landscape" : "portrait"; Hb.emit(we, { deviceOrientation: a, size: { windowWidth: e, windowHeight: t, screenWidth: n, screenHeight: o } }) } function By(e) { C(e.data) && "WEB_INVOKE_APPSERVICE" === e.data.type && Hb.emit($e, e.data.data, e.data.pageId) } function Ny() { const { emit: e } = Hb; "visible" === document.visibilityState ? e(De, u({}, Jp)) : e(Ve) } function Dy(e) { const { tabBarText: t, tabBarIndex: n, route: o } = e.meta; t && Id("onTabItemTap", { index: n, text: t, pagePath: o }) } function Vy(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), a = (t < 10 ? "0" : "") + t; let r = (n < 10 ? "0" : "") + n + ":" + ((o < 10 ? "0" : "") + o); return "00" !== a && (r = a + ":" + r), r } function $y(e, t, n, o) { const a = Mn({ seeking: !1, gestureType: "none", volumeOld: 0, volumeNew: 0, currentTimeOld: 0, currentTimeNew: 0, toastThin: !1 }), r = { x: 0, y: 0 }; let i = null; let s; return { state: a, onTouchstart: function (e) { const t = e.targetTouches[0]; r.x = t.pageX, r.y = t.pageY, a.gestureType = "none", a.volumeOld = 0 }, onTouchmove: function (l) { function c() { l.stopPropagation(), l.preventDefault() } o.fullscreen && c(); const d = a.gestureType; if ("stop" === d) return; const u = l.targetTouches[0], h = u.pageX, m = u.pageY, p = r, f = n.value; if ("progress" === d ? (!function (e) { const n = t.currentDuration; let o = e / 600 * n + a.currentTimeOld; o < 0 ? o = 0 : o > n && (o = n); a.currentTimeNew = o }(h - p.x), a.seeking = !0) : "volume" === d && function (e) { const t = n.value, o = a.volumeOld; let r; "number" == typeof o && (r = o - e / 200, r < 0 ? r = 0 : r > 1 && (r = 1), clearTimeout(s), s = void 0, null == s && (s = setTimeout(() => { a.toastThin = !1, s = void 0 }, 1e3)), t.volume = r, a.volumeNew = r) }(m - p.y), "none" === d) if (Math.abs(h - p.x) > Math.abs(m - p.y)) { if (!e.enableProgressGesture) return void (a.gestureType = "stop"); a.gestureType = "progress", a.currentTimeOld = a.currentTimeNew = f.currentTime, o.fullscreen || c() } else { if (!e.pageGesture && !e.vslideGesture) return void (a.gestureType = "stop"); "none" !== a.gestureType && null != i || (i = setTimeout(() => { a.toastThin = !0 }, 500)), a.gestureType = "volume", a.volumeOld = f.volume, o.fullscreen || c() } }, onTouchend: function (e) { const t = n.value; "none" !== a.gestureType && "stop" !== a.gestureType && (e.stopPropagation(), e.preventDefault()), "progress" === a.gestureType && a.currentTimeOld !== a.currentTimeNew && (t.currentTime = a.currentTimeNew), a.gestureType = "none" } } } const jy = lu({ 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 }, vslideGesture: { 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 a = Wn(null), r = Wn(null), i = uu(a, t), { state: s } = Bf(), { $attrs: l } = Jf({ excludeListeners: !0 }); Mc(); const { videoRef: c, state: d, play: u, pause: h, stop: m, seek: p, playbackRate: g, toggle: y, onDurationChange: v, onLoadedMetadata: b, onProgress: _, onWaiting: w, onVideoError: T, onPlay: x, onPause: S, onEnded: C, onTimeUpdate: k } = function (e, t, n) { const o = Wn(null), a = gi(() => Rp(e.src)), r = gi(() => "true" === e.muted || !0 === e.muted), i = Mn({ start: !1, src: a, playing: !1, currentTime: 0, duration: 0, currentDuration: 0, progress: 0, buffered: 0, muted: r, pauseUpdatingCurrentTime: !1 }); function s(e) { const t = e.target, n = t.buffered; n.length && (i.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 Ho(() => a.value, () => { i.playing = !1, i.currentTime = 0 }), Ho(() => i.buffered, e => { n("progress", {}, { buffered: e }) }), Ho(() => r.value, e => { o.value.muted = e }), Ho([() => i.duration, () => e.duration], () => { let t = Number(e.duration); isNaN(t) && (t = 0), i.currentDuration = t > 0 ? t : i.duration }), { videoRef: o, state: i, play: function () { const e = o.value; i.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; i.playing ? e.pause() : e.play() }, onDurationChange: function ({ target: e }) { i.duration = e.duration }, onLoadedMetadata: function (t) { const o = Number(e.initialTime) || 0, a = t.target; o > 0 && (a.currentTime = o), n("loadedmetadata", t, { width: a.videoWidth, height: a.videoHeight, duration: a.duration }), s(t) }, onProgress: s, onWaiting: function (e) { n("waiting", e, {}) }, onVideoError: function (e) { i.playing = !1, n("error", e, {}) }, onPlay: function (e) { i.start = !0, i.playing = !0, n("play", e, {}) }, onPause: function (e) { i.playing = !1, n("pause", e, {}) }, onEnded: function (e) { i.playing = !1, n("ended", e, {}) }, onTimeUpdate: function (e) { const t = e.target; i.pauseUpdatingCurrentTime || (i.currentTime = t.currentTime); const o = t.currentTime; n("timeupdate", e, { currentTime: o, duration: t.duration }) } } }(e, 0, i), { state: M, danmuRef: A, updateDanmu: I, toggleDanmu: R, sendDanmu: E } = function (e, t) { const n = Wn(null), o = Mn({ enable: Boolean(e.enableDanmu) }); let a = { time: 0, index: -1 }; const r = f(e.danmuList) ? JSON.parse(JSON.stringify(e.danmuList)) : []; function i(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 = a, l = { time: n, index: s.index }; if (n > s.time) for (let a = s.index + 1; a < r.length; a++) { const e = r[a]; if (!(n >= (e.time || 0))) break; l.index = a, t.playing && o.enable && i(e) } else if (n < s.time) for (let t = s.index - 1; t > -1 && n <= (r[t].time || 0); t--)l.index = t - 1; a = l }, toggleDanmu: function () { o.enable = !o.enable }, sendDanmu: function (e) { r.splice(a.index + 1, 0, { text: String(e.text), color: e.color, time: t.currentTime || 0 }) } } }(e, d), { state: P, onFullscreenChange: L, emitFullscreenChange: O, toggleFullscreen: B, requestFullScreen: N, exitFullScreen: D } = function (e, t, n, o, a) { const r = Mn({ fullscreen: !1 }), i = /^Apple/.test(navigator.vendor); function s(t) { r.fullscreen = t, e("fullscreenchange", {}, { fullScreen: t, direction: "vertical" }) } function l(e) { const r = a.value, l = t.value, c = n.value; let d; e ? !document.fullscreenEnabled && !document.webkitFullscreenEnabled || i && !o.userAction ? c.webkitEnterFullScreen ? c.webkitEnterFullScreen() : (d = !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() : (d = !0, l.remove(), l.classList.remove("uni-video-type-fullscreen"), r.appendChild(l)), d && s(e) } function c() { l(!1) } return Ea(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 } }(i, r, c, s, a), { state: V, onTouchstart: $, onTouchend: j, onTouchmove: z } = $y(e, d, c, P), { state: F, progressRef: W, ballRef: H, clickProgress: U, toggleControls: q } = function (e, t, n, o) { const a = Wn(null), r = Wn(null), i = gi(() => e.showCenterPlayBtn && !t.start), s = Wn(!0), l = gi(() => !i.value && e.controls && s.value), c = Mn({ seeking: !1, touching: !1, controlsTouching: !1, centerPlayBtnShow: i, controlsShow: l, controlsVisible: s }); let d; function u() { d = setTimeout(() => { c.controlsVisible = !1 }, 3e3) } function h() { d && (clearTimeout(d), d = null) } return Ea(() => { d && clearTimeout(d) }), Ho(() => c.controlsShow && t.playing && !c.controlsTouching, e => { e ? u() : h() }), Aa(() => { const e = tt(!1); let i, s, l, d = !0; const u = r.value; function h(e) { const n = e.targetTouches[0], r = n.pageX, u = n.pageY; if (d && Math.abs(r - i) < Math.abs(u - s)) return void m(e); d = !1; const h = a.value.offsetWidth; let p = l + (r - i) / h * 100; p < 0 ? p = 0 : p > 100 && (p = 100), t.progress = p, null == o || o(t.currentDuration * p / 100), c.seeking = !0, e.preventDefault(), e.stopPropagation() } function m(o) { c.controlsTouching = !1, c.touching && (u.removeEventListener("touchmove", h, e), d || (o.preventDefault(), o.stopPropagation(), n(t.currentDuration * t.progress / 100)), c.touching = !1) } u.addEventListener("touchstart", n => { c.controlsTouching = !0; const o = n.targetTouches[0]; i = o.pageX, s = o.pageY, l = t.progress, d = !0, c.touching = !0, u.addEventListener("touchmove", h, e) }), u.addEventListener("touchend", m), u.addEventListener("touchcancel", m) }), { state: c, progressRef: a, ballRef: r, clickProgress: function (e) { const o = a.value; let r = e.target, i = e.offsetX; for (; r && r !== o;)i += r.offsetLeft, r = r.parentNode; const s = o.offsetWidth; let l = 0; i >= 0 && i <= s && (l = i / s, n(t.currentDuration * l)) }, toggleControls: function () { c.controlsVisible = !c.controlsVisible }, autoHideStart: u, autoHideEnd: h } }(e, d, p, e => { V.currentTimeNew = e }); !function (e, t, n, o, a, r, i, s) { const l = { play: e, stop: n, pause: t, seek: o, sendDanmu: a, playbackRate: r, requestFullScreen: i, exitFullScreen: s }; iy((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) }, ly()) }(u, h, m, p, E, g, N, D); const Y = function (e, t, n) { const o = gi(() => "progress" === t.gestureType || n.touching); return Ho(o, o => { e.pauseUpdatingCurrentTime = o, n.controlsTouching = o, "progress" === t.gestureType && o && (n.controlsVisible = o) }), Ho([() => e.currentTime, () => e.currentDuration], () => { e.currentDuration > 0 ? e.progress = e.currentTime / e.currentDuration * 100 : e.progress = 0, e.progress > 100 && (e.progress = 100) }, { immediate: !0 }), Ho(() => t.currentTimeNew, t => { e.currentTime = t }), o }(d, V, F); return () => Yr("uni-video", { ref: a, id: e.id, onClick: q }, [Yr("div", { ref: r, class: "uni-video-container", onTouchstart: $, onTouchend: j, onTouchmove: z, onFullscreenchange: ms(L, ["stop"]), onWebkitfullscreenchange: ms(e => L(e, !0), ["stop"]) }, [Yr("video", ei({ ref: c, 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": !0, "uni-video-video-fullscreen": P.fullscreen }, "webkit-playsinline": !0, playsinline: !0, onDurationchange: v, onLoadedmetadata: b, onProgress: _, onWaiting: w, onError: T, onPlay: x, onPause: S, onEnded: C, onTimeupdate: e => { k(e), I(e) }, onWebkitbeginfullscreen: () => O(!0), onX5videoenterfullscreen: () => O(!0), onWebkitendfullscreen: () => O(!1), onX5videoexitfullscreen: () => O(!1) }), null, 16, ["muted", "loop", "src", "poster", "autoplay", "webkit-playsinline", "playsinline", "onDurationchange", "onLoadedmetadata", "onProgress", "onWaiting", "onError", "onPlay", "onPause", "onEnded", "onTimeupdate", "onWebkitbeginfullscreen", "onX5videoenterfullscreen", "onWebkitendfullscreen", "onX5videoexitfullscreen"]), Go(Yr("div", { class: "uni-video-bar uni-video-bar-full", onClick: ms(() => { }, ["stop"]) }, [Yr("div", { class: "uni-video-controls" }, [Go(Yr("div", { class: { "uni-video-icon": !0, "uni-video-control-button": !0, "uni-video-control-button-play": !d.playing, "uni-video-control-button-pause": d.playing }, onClick: ms(y, ["stop"]) }, null, 10, ["onClick"]), [[ji, e.showPlayBtn]]), Go(Yr("div", { class: "uni-video-current-time" }, [Vy(d.currentTime)], 512), [[ji, e.showProgress]]), Go(Yr("div", { ref: W, class: "uni-video-progress-container", onClick: ms(U, ["stop"]) }, [Yr("div", { class: { "uni-video-progress": !0, "uni-video-progress-progressing": Y.value } }, [Yr("div", { style: { width: d.buffered - d.progress + "%", left: d.progress + "%" }, class: "uni-video-progress-buffered" }, null, 4), Yr("div", { style: { width: d.progress + "%" }, class: "uni-video-progress-played" }, null, 4), Yr("div", { ref: H, style: { left: d.progress + "%" }, class: { "uni-video-ball": !0, "uni-video-ball-progressing": Y.value } }, [Yr("div", { class: "uni-video-inner" }, null)], 6)], 2)], 8, ["onClick"]), [[ji, e.showProgress]]), Go(Yr("div", { class: "uni-video-duration" }, [Vy(d.currentDuration)], 512), [[ji, e.showProgress]])]), Go(Yr("div", { class: { "uni-video-icon": !0, "uni-video-danmu-button": !0, "uni-video-danmu-button-active": M.enable }, onClick: ms(R, ["stop"]) }, null, 10, ["onClick"]), [[ji, e.danmuBtn]]), Go(Yr("div", { class: { "uni-video-icon": !0, "uni-video-fullscreen": !0, "uni-video-type-fullscreen": P.fullscreen }, onClick: ms(() => B(!P.fullscreen), ["stop"]) }, null, 10, ["onClick"]), [[ji, e.showFullscreenBtn]])], 8, ["onClick"]), [[ji, F.controlsShow]]), Go(Yr("div", { ref: A, style: "z-index: 0;", class: "uni-video-danmu" }, null, 512), [[ji, d.start && M.enable]]), F.centerPlayBtnShow && Yr("div", { class: "uni-video-cover", onClick: ms(() => { }, ["stop"]) }, [Yr("div", { class: "uni-video-cover-play-button uni-video-icon", onClick: ms(u, ["stop"]) }, null, 8, ["onClick"])], 8, ["onClick"]), Yr("div", { class: "uni-video-loading" }, ["volume" === V.gestureType ? Yr("div", { class: { "uni-video-toast-container": !0, "uni-video-toast-container-thin": V.toastThin }, style: { marginTop: "5px" } }, [!V.toastThin && V.volumeNew > 0 && "volume" === V.gestureType ? Yr("text", { class: "uni-video-icon uni-video-toast-icon" }, [""]) : !V.toastThin && Yr("text", { class: "uni-video-icon uni-video-toast-icon" }, [""]), Yr("div", { class: "uni-video-toast-draw", style: { width: 100 * V.volumeNew + "%" } }, null)], 2) : null]), Yr("div", { class: { "uni-video-toast": !0, "uni-video-toast-progress": Y.value } }, [Yr("div", { class: "uni-video-toast-title" }, [Yr("span", { class: "uni-video-toast-title-current-time" }, [Vy(V.currentTimeNew)]), " / ", Vy(d.currentDuration)])], 2), Yr("div", { class: "uni-video-slots" }, [o.default && o.default()])], 40, ["onTouchstart", "onTouchend", "onTouchmove", "onFullscreenchange", "onWebkitfullscreenchange"])], 8, ["id", "onClick"]) } }), zy = ({ name: e, arg: t }) => { if ("postMessage" === e); else switch (e) { case "navigateTo": Uv(t); break; case "navigateBack": Hv(t); break; case "switchTab": Fm(t); break; case "reLaunch": qm(t); break; case "redirectTo": Hm(t) } }, Fy = Qe(() => Hb.on($e, zy)), Wy = lu({ inheritAttrs: !1, name: "WebView", props: { src: { type: String, default: "" }, fullscreen: { type: Boolean, default: !0 } }, emits: ["load"], setup(e, { emit: t }) { Fy(); const n = Wn(null), o = Wn(null), { $attrs: a, $excludeAttrs: r, $listeners: i } = Jf({ excludeListeners: !0 }), s = uu(n, t); let l; return (() => { const t = document.createElement("iframe"); t.onload = function (t) { s("load", t, { src: e.src }) }, Fo(() => { for (const e in a.value) if (p(a.value, e)) { const n = a.value[e]; t[e] = n } }), Fo(() => { t.src = Rp(e.src) }), o.value = t, l = function (e, t, n) { const o = () => { var o, a; if (n) { const { top: n, left: o, width: a, height: r } = e.value.getBoundingClientRect(); Ge(t.value, { position: "absolute", display: "block", border: "0", top: n + "px", left: o + "px", width: a + "px", height: r + "px" }) } else Ge(t.value, { width: (null == (o = e.value) ? void 0 : o.style.width) || "300px", height: (null == (a = e.value) ? void 0 : a.style.height) || "150px" }) }; return o }(n, o, e.fullscreen), e.fullscreen && document.body.appendChild(t) })(), Aa(() => { var t; l(), !e.fullscreen && (null == (t = n.value) || t.appendChild(o.value)) }), ya(() => { e.fullscreen && (o.value.style.display = "block") }), va(() => { e.fullscreen && (o.value.style.display = "none") }), Ea(() => { e.fullscreen && document.body.removeChild(o.value) }), () => Yr(Ir, null, [Yr("uni-web-view", ei({ class: e.fullscreen ? "uni-webview--fullscreen" : "" }, i.value, r.value, { ref: n }), [Yr(Xp, { onResize: l }, null, 8, ["onResize"])], 16)]) } }); const Hy = ih("makePhoneCall", ({ phoneNumber: e }, { resolve: t }) => (window.location.href = `tel:${e}`, t())), Uy = "__DC_STAT_UUID", qy = navigator.cookieEnabled && (window.localStorage || window.sessionStorage) || {}; let Yy; function Zy() { if (Yy = Yy || qy[Uy], !Yy) { Yy = Date.now() + "" + Math.floor(1e7 * Math.random()); try { qy[Uy] = Yy } catch (e) { } } return Yy } function Gy() { if (!0 !== __uniConfig.darkmode) return b(__uniConfig.darkmode) ? __uniConfig.darkmode : "light"; try { return window.matchMedia("(prefers-color-scheme: light)").matches ? "light" : "dark" } catch (e) { return "light" } } function Qy() { let e, t = "0", n = "", o = "phone"; const a = navigator.language; if (Lp) { e = "iOS"; const o = Ep.match(/OS\s([\w_]+)\slike/); o && (t = o[1].replace(/_/g, ".")); const a = t.split(".")[0]; if (Number(a) >= 18) { const e = Ep.match(/Version\/([\d\.]+)/); e && (t = e[1]) } const r = Ep.match(/\(([a-zA-Z]+);/); r && (n = r[1]) } else if (Pp) { e = "Android"; const o = Ep.match(/Android[\s/]([\w\.]+)[;\s]/); o && (t = o[1]); const a = Ep.match(/\((.+?)\)/), r = a ? a[1].split(";") : Ep.split(" "), i = [/\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; e < r.length; e++) { const t = r[e]; if (t.indexOf("Build") > 0) { n = t.split("Build")[0].trim(); break } let o; for (let e = 0; e < i.length; e++)if (i[e].test(t)) { o = !0; break } if (!o) { n = t.trim(); break } } } else if (Dp) { if (n = "iPad", e = "iOS", o = "pad", t = v(window.BigInt) ? "14.0" : "13.0", 14 === parseInt(t)) { const e = Ep.match(/Version\/(\S*)\b/); e && (t = e[1]) } } else if (Op || Bp || Np) { n = "PC", e = "PC", o = "pc", t = "0"; let a = Ep.match(/\((.+?)\)/)[1]; if (Op) { switch (e = "Windows", Op[1]) { case "5.1": t = "XP"; break; case "6.0": t = "Vista"; break; case "6.1": t = "7"; break; case "6.2": t = "8"; break; case "6.3": t = "8.1"; break; case "10.0": t = "10" }const n = a && a.match(/[Win|WOW]([\d]+)/); n && (t += ` x${n[1]}`) } else if (Bp) { e = "macOS"; const n = a && a.match(/Mac OS X (.+)/) || ""; t && (t = n[1].replace(/_/g, "."), -1 !== t.indexOf(";") && (t = t.split(";")[0])) } else if (Np) { e = "Linux"; const n = a && a.match(/Linux (.*)/) || ""; n && (t = n[1], -1 !== t.indexOf(";") && (t = t.split(";")[0])) } } else if (Vp) { e = "Harmony", o = "phone"; const a = Ep.match(/OpenHarmony\s([\d\.]+)/); a && (t = a[1]), n = "" } else e = "Other", t = "0", o = "unknown"; const r = `${e} ${t}`, i = e.toLowerCase(); let s = "", l = String(function () { const e = navigator.userAgent, t = e.indexOf("compatible") > -1 && e.indexOf("MSIE") > -1, n = e.indexOf("Edge") > -1 && !t, o = e.indexOf("Trident") > -1 && e.indexOf("rv:11.0") > -1; if (t) { new RegExp("MSIE (\\d+\\.\\d+);").test(e); const t = parseFloat(RegExp.$1); return t > 6 ? t : 6 } return n ? -1 : o ? 11 : -1 }()); if ("-1" !== l) s = "IE"; else { const e = ["Version", "Firefox", "Chrome", "Edge{0,1}"], t = ["Safari", "Firefox", "Chrome", "Edge"]; for (let n = 0; n < e.length; n++) { const o = e[n], a = new RegExp(`(${o})/(\\S*)\\b`); a.test(Ep) && (s = t[n], l = Ep.match(a)[2]) } } let c = "portrait"; const d = void 0 === window.screen.orientation ? window.orientation : window.screen.orientation.angle; return c = 90 === Math.abs(d) ? "landscape" : "portrait", { deviceBrand: void 0, brand: void 0, deviceModel: n, deviceOrientation: c, model: n, system: r, platform: i, browserName: s.toLowerCase(), browserVersion: l, language: a, deviceType: o, ua: Ep, osname: e, osversion: t, theme: Gy() } } const Jy = rh(0, () => { const e = window.devicePixelRatio, t = $p(), n = jp(t), o = zp(t, n), a = function (e, t) { return e ? Math[t ? "min" : "max"](screen.height, screen.width) : screen.height }(t, n), r = Fp(); let i = window.innerHeight; const s = od.top, l = { left: od.left, right: r - od.right, top: od.top, bottom: i - od.bottom, width: r - od.left - od.right, height: i - od.top - od.bottom }, { top: c, bottom: d } = ld(); return i -= c, i -= d, { windowTop: c, windowBottom: d, windowWidth: r, windowHeight: i, pixelRatio: e, screenWidth: o, screenHeight: a, statusBarHeight: s, safeArea: l, safeAreaInsets: { top: od.top, right: od.right, bottom: od.bottom, left: od.left }, screenTop: a - i } }); let Xy, Ky = !0; function ev() { Ky && (Xy = Qy()) } const tv = rh(0, () => { ev(); const { deviceBrand: e, deviceModel: t, brand: n, model: o, platform: a, system: r, deviceOrientation: i, deviceType: s, osname: l, osversion: c } = Xy; return u({ brand: n, deviceBrand: e, deviceModel: t, devicePixelRatio: window.devicePixelRatio, deviceId: Zy(), deviceOrientation: i, deviceType: s, model: o, osName: l ? l.toLowerCase() : void 0, osVersion: c, platform: a, system: r }) }), nv = rh(0, () => { ev(); const { theme: e, language: t, browserName: n, browserVersion: o } = Xy; return u({ appId: __uniConfig.appId, appName: __uniConfig.appName, appVersion: __uniConfig.appVersion, appVersionCode: __uniConfig.appVersionCode, appLanguage: em ? em() : t, enableDebug: !1, hostSDKVersion: void 0, hostPackageName: void 0, hostFontSizeSetting: void 0, hostName: n, hostVersion: o, hostTheme: e, hostLanguage: t, isUniAppX: !1, language: t, SDKVersion: "", theme: e, uniPlatform: "web", uniCompileVersion: __uniConfig.compilerVersion, uniCompilerVersion: __uniConfig.compilerVersion, uniRuntimeVersion: __uniConfig.compilerVersion, version: "" }, {}) }), ov = rh(0, () => { Ky = !0, ev(), Ky = !1; const e = Jy(), t = tv(), n = nv(); Ky = !0; const { ua: o, browserName: a, browserVersion: r, osname: i, osversion: s } = Xy, l = u(e, t, n, { browserName: a, browserVersion: r, fontSizeSetting: void 0, osName: i.toLowerCase(), osVersion: s, osLanguage: void 0, osTheme: void 0, ua: o, uniPlatform: "web", uniCompileVersion: __uniConfig.compilerVersion, uniRuntimeVersion: __uniConfig.compilerVersion }); return delete l.screenTop, delete l.enableDebug, __uniConfig.darkmode || delete l.theme, l }), av = ih("getSystemInfo", (e, { resolve: t }) => t(ov())), rv = "none"; const iv = ih("getNetworkType", (e, { resolve: t }) => { const n = navigator.connection || navigator.webkitConnection || navigator.mozConnection; let o = "unknown"; if (n) { const e = n.effectiveType; o = n.type, "cellular" === o && e ? o = e.replace("slow-", "") : o && o !== rv || !e ? [rv, "wifi"].includes(o) || (o = "unknown") : o = e } else !1 === navigator.onLine && (o = rv); return t({ networkType: o }) }); const sv = ih("setClipboardData", (e, t) => { return n = void 0, o = [e, t], a = 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 a = document.createElement("textarea"); a.setAttribute("inputmode", "none"), a.id = "#clipboard", a.style.position = "fixed", a.style.top = "-9999px", a.style.zIndex = "-9999", document.body.appendChild(a), a.value = e, a.select(), a.setSelectionRange(0, a.value.length); const r = document.execCommand("Copy", !1); a.blur(), r ? t() : n() }(e, t, n) } }, new Promise((e, t) => { var r = e => { try { s(a.next(e)) } catch (VR) { t(VR) } }, i = e => { try { s(a.throw(e)) } catch (VR) { t(VR) } }, s = t => t.done ? e(t.value) : Promise.resolve(t.value).then(r, i); s((a = a.apply(n, o)).next()) }); var n, o, a }, 0, am); const lv = rh(0, (e, t) => { const n = typeof t, o = "string" === n ? t : JSON.stringify({ type: n, data: t }); localStorage.setItem(e, o) }), cv = ih("setStorage", ({ key: e, data: t }, { resolve: n, reject: o }) => { try { lv(e, t), n() } catch (a) { o(a.message) } }); function dv(e) { const t = localStorage && localStorage.getItem(e); if (!b(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 = b(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 uv = rh(0, e => { try { return dv(e) } catch (t) { return "" } }), hv = rh(0, e => { localStorage && localStorage.removeItem(e) }), mv = ih("hideKeyboard", (e, { resolve: t, reject: n }) => { const o = document.activeElement; !o || "TEXTAREA" !== o.tagName && "INPUT" !== o.tagName || (o.blur(), t()) }); const pv = ih("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, im), fv = { 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" } }; let gv = null; const yv = ih("chooseImage", ({ count: e, sourceType: t, extension: n }, { resolve: o, reject: a }) => { Cc(); const { t: r } = bc(); gv && (document.body.removeChild(gv), gv = null), gv = function ({ count: e, sourceType: t, type: n, extension: o }) { Of(); const a = document.createElement("input"); return a.type = "file", Ge(a, { position: "absolute", visibility: "hidden", zIndex: "-999", width: "0", height: "0", top: "0", left: "0" }), a.accept = o.map(e => { { const t = e.replace(".", ""); return `${n}/${fv[n][t] || t}` } }).join(","), e && e > 1 && (a.multiple = !0), t instanceof Array && 1 === t.length && "camera" === t[0] && a.setAttribute("capture", "camera"), a }({ count: e, sourceType: t, extension: n, type: "image" }), document.body.appendChild(gv), gv.addEventListener("cancel", () => { a("chooseImage:fail cancel") }), gv.addEventListener("change", function (t) { const n = t.target, a = []; if (n && n.files) { const t = n.files.length; for (let o = 0; o < t; o++) { const t = n.files[o]; let r; Object.defineProperty(t, "path", { get: () => (r = r || Gp(t), r) }), o < e && a.push(t) } } o({ get tempFilePaths() { return a.map(({ path: e }) => e) }, tempFiles: a }) }), gv.click(), Ef || console.warn(r("uni.chooseFile.notUserActivation")) }, 0, rm), vv = { esc: ["Esc", "Escape"], enter: ["Enter"] }, bv = Object.keys(vv); function _v() { const e = Wn(""), t = Wn(!1), n = n => { if (t.value) return; const o = bv.find(e => -1 !== vv[e].indexOf(n.key)); o && (e.value = o), po(() => e.value = "") }; return Aa(() => { document.addEventListener("keyup", n) }), Ea(() => { document.removeEventListener("keyup", n) }), { key: e, disable: t } } const wv = Yr("div", { class: "uni-mask" }, null, -1); function Tv(e, t, n) { return t.onClose = (...e) => (t.visible = !1, n.apply(null, e)), gs(la({ setup: () => () => (Br(), jr(e, t, null, 16)) })) } function xv(e) { let t = document.getElementById(e); return t || (t = document.createElement("div"), t.id = e, document.body.append(t)), t } function Sv(e, { onEsc: t, onEnter: n }) { const o = Wn(e.visible), { key: a, disable: r } = _v(); return Ho(() => e.visible, e => o.value = e), Ho(() => o.value, e => r.value = !e), Fo(() => { const { value: e } = a; "esc" === e ? t && t() : "enter" === e && n && n() }), o } let Cv = 0, kv = ""; function Mv(e) { let t = Cv; Cv += e ? 1 : -1, Cv = Math.max(0, Cv), Cv > 0 ? 0 === t && (kv = document.body.style.overflow, document.body.style.overflow = "hidden") : (document.body.style.overflow = kv, kv = "") } const Av = cu({ name: "ImageView", props: { src: { type: String, default: "" } }, setup(e) { const t = Mn({ direction: "none" }); let n = 1, o = 0, a = 0, r = 0, i = 0; function s({ detail: e }) { n = e.scale } function l(e) { const t = e.target.getBoundingClientRect(); o = t.width, a = t.height } function c(e) { const t = e.target.getBoundingClientRect(); r = t.width, i = t.height, u(e) } function d(e) { const s = n * o > r, l = n * a > i; t.direction = s && l ? "all" : s ? "horizontal" : l ? "vertical" : "none", u(e) } function u(e) { "all" !== t.direction && "horizontal" !== t.direction || e.stopPropagation() } return () => { const n = { position: "absolute", left: "0", top: "0", width: "100%", height: "100%" }; return Yr(Kf, { style: n, onTouchstart: du(c), onTouchmove: du(u), onTouchend: du(d) }, { default: () => [Yr(hg, { style: n, direction: t.direction, inertia: !0, scale: !0, "scale-min": "1", "scale-max": "4", onScale: s }, { default: () => [Yr("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 Iv(e) { let t = "number" == typeof e.current ? e.current : e.urls.indexOf(e.current); return t = t < 0 ? 0 : t, t } const Rv = cu({ name: "ImagePreview", props: { urls: { type: Array, default: () => [] }, current: { type: [Number, String], default: 0 } }, emits: ["close"], setup(e, { emit: t }) { Aa(() => Mv(!0)), Pa(() => Mv(!1)); const { key: n } = _v(), o = Wn(null), a = Wn(Iv(e)); let r; function i() { r || po(() => { t("close") }) } function s(e) { a.value = e.detail.current } Ho(() => e.current, () => a.value = Iv(e)), Ho(() => n.value, e => { "esc" === e && i() }), Aa(() => { const e = o.value; let t = 0, n = 0; e.addEventListener("mousedown", e => { r = !1, t = e.clientX, n = e.clientY }), e.addEventListener("mouseup", e => { (Math.abs(e.clientX - t) > 20 || Math.abs(e.clientY - n) > 20) && (r = !0) }) }); const l = { 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 Yr("div", { ref: o, style: { display: "block", position: "fixed", left: "0", top: "0", width: "100%", height: "100%", zIndex: 999, background: "rgba(0,0,0,0.8)" }, onClick: i }, [Yr(Ug, { navigation: "auto", current: a.value, onChange: s, "indicator-dots": !1, autoplay: !1, style: { position: "absolute", left: "0", top: "0", width: "100%", height: "100%" } }, (n = t = e.urls.map(e => Yr(Yg, null, { default: () => [Yr(Av, { src: e }, null, 8, ["src"])] })), "function" == typeof n || "[object Object]" === Object.prototype.toString.call(n) && !zr(n) ? t : { default: () => [t], _: 1 }), 8, ["current", "onChange"]), Yr("div", { style: l }, [bd("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 n } } }); let Ev, Pv = null; const Lv = () => { Pv = null, po(() => { null == Ev || Ev.unmount(), Ev = null }) }, Ov = ih("previewImage", (e, { resolve: t }) => { Pv ? u(Pv, e) : (Pv = Mn(e), po(() => { Ev = Tv(Rv, Pv, Lv), Ev.mount(xv("u-a-p")) })), t() }, 0, sm), Bv = ah("request", ({ url: e, data: t, header: n = {}, method: o, dataType: a, responseType: r, enableChunked: i, withCredentials: s, timeout: l = __uniConfig.networkTimeout.request }, { resolve: c, reject: d }) => { let u = null; const h = function (e) { const t = Object.keys(e).find(e => "content-type" === e.toLowerCase()); if (!t) return; const n = e[t]; if (!n) return "string"; 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 (b(t) || t instanceof ArrayBuffer) u = t; else if ("json" === h) try { u = JSON.stringify(t) } catch (f) { u = t.toString() } else if ("urlencoded" === h) { const e = []; for (const n in t) p(t, n) && e.push(encodeURIComponent(n) + "=" + encodeURIComponent(t[n])); u = e.join("&") } else u = t.toString(); let m; if (i) { if (void 0 === typeof window.fetch || void 0 === typeof window.AbortController) throw new Error("fetch or AbortController is not supported in this environment"); const t = new AbortController, i = t.signal; m = new Dv(t); const h = { method: o, headers: n, body: u, signal: i, credentials: s ? "include" : "same-origin" }, p = setTimeout(function () { m.abort(), d("timeout", { errCode: 5 }) }, l); h.signal.addEventListener("abort", function () { clearTimeout(p), d("abort", { errCode: 600003 }) }), window.fetch(e, h).then(e => { const t = e.status, n = e.headers, o = e.body, i = {}; n.forEach((e, t) => { i[t] = e }); const s = Nv(i); if (m._emitter.emit("headersReceived", { header: i, statusCode: t, cookies: s }), !o) return void c({ data: "", statusCode: t, header: i, cookies: s }); const l = o.getReader(), d = [], u = () => { l.read().then(({ done: e, value: n }) => { if (e) { const e = function (e) { const t = e.reduce((e, t) => e + t.byteLength, 0), n = new Uint8Array(t); let o = 0; for (const a of e) n.set(new Uint8Array(a), o), o += a.byteLength; return n.buffer }(d); let n = "text" === r ? (new TextDecoder).decode(e) : e; return "text" === r && (n = $v(n, r, a)), void c({ data: n, statusCode: t, header: i, cookies: s }) } const o = n; d.push(o), m._emitter.emit("chunkReceived", { data: o }), u() }) }; u() }, e => { d(e, { errCode: 5 }) }) } else { const t = new XMLHttpRequest; m = new Dv(t), t.open(o, e); for (const e in n) p(n, e) && t.setRequestHeader(e, n[e]); const i = setTimeout(function () { t.onload = t.onabort = t.onerror = null, m.abort(), d("timeout", { errCode: 5 }) }, l); t.responseType = r, t.onload = function () { clearTimeout(i); const e = t.status; let n = "text" === r ? t.responseText : t.response; "text" === r && (n = $v(n, r, a)), c({ data: n, statusCode: e, header: Vv(t.getAllResponseHeaders()), cookies: [] }) }, t.onabort = function () { clearTimeout(i), d("abort", { errCode: 600003 }) }, t.onerror = function () { clearTimeout(i), d(void 0, { errCode: 5 }) }, t.withCredentials = s, t.send(u) } return m }, 0, um), Nv = e => { let t = e["Set-Cookie"] || e["set-cookie"], n = []; if (!t) return []; "[" === t[0] && "]" === t[t.length - 1] && (t = t.slice(1, -1)); const o = t.split(";"); for (let a = 0; a < o.length; a++)-1 !== o[a].indexOf("Expires=") || -1 !== o[a].indexOf("expires=") ? n.push(o[a].replace(",", "")) : n.push(o[a]); return n = n.join(";").split(","), n }; class Dv { constructor(e) { this._requestOnChunkReceiveCallbackId = 0, this._requestOnChunkReceiveCallbacks = new Map, this._requestOnHeadersReceiveCallbackId = 0, this._requestOnHeadersReceiveCallbacks = new Map, this._emitter = new pt, this._controller = e } abort() { this._controller && (this._controller.abort(), delete this._controller) } onHeadersReceived(e) { return this._emitter.on("headersReceived", e), this._requestOnHeadersReceiveCallbackId++, this._requestOnHeadersReceiveCallbacks.set(this._requestOnHeadersReceiveCallbackId, e), this._requestOnHeadersReceiveCallbackId } offHeadersReceived(e) { if (null == e) return void this._emitter.off("headersReceived"); if ("function" == typeof e) return void this._requestOnHeadersReceiveCallbacks.forEach((t, n) => { t === e && (this._requestOnHeadersReceiveCallbacks.delete(n), this._emitter.off("headersReceived", e)) }); const t = this._requestOnHeadersReceiveCallbacks.get(e); t && (this._requestOnHeadersReceiveCallbacks.delete(e), this._emitter.off("headersReceived", t)) } onChunkReceived(e) { return this._emitter.on("chunkReceived", e), this._requestOnChunkReceiveCallbackId++, this._requestOnChunkReceiveCallbacks.set(this._requestOnChunkReceiveCallbackId, e), this._requestOnChunkReceiveCallbackId } offChunkReceived(e) { if (null == e) return void this._emitter.off("chunkReceived"); if ("function" == typeof e) return void this._requestOnChunkReceiveCallbacks.forEach((t, n) => { t === e && (this._requestOnChunkReceiveCallbacks.delete(n), this._emitter.off("chunkReceived", e)) }); const t = this._requestOnChunkReceiveCallbacks.get(e); t && (this._requestOnChunkReceiveCallbacks.delete(e), this._emitter.off("chunkReceived", t)) } } function Vv(e) { const t = {}; return e.split(ne).forEach(e => { const n = e.match(/(\S+\s*):\s*(.*)/); n && 3 === n.length && (t[n[1]] = n[2]) }), t } function $v(e, t, n) { let o = e; if ("text" === t && "json" === n) try { o = JSON.parse(o) } catch (a) { } return o } class jv { constructor(e) { this._callbacks = [], this._xhr = e } onProgressUpdate(e) { v(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 zv = ah("downloadFile", ({ url: e, header: t = {}, timeout: n = __uniConfig.networkTimeout.downloadFile }, { resolve: o, reject: a }) => { var r, i = new XMLHttpRequest, s = new jv(i); return i.open("GET", e, !0), Object.keys(t).forEach(e => { i.setRequestHeader(e, t[e]) }), i.responseType = "blob", i.onload = function () { clearTimeout(r); const t = i.status, n = this.response; let a; const s = i.getResponseHeader("content-disposition"); if (s) { const e = s.match(/filename="?(\S+)"?\b/); e && (a = e[1]) } n.name = a || function (e) { const t = (e = e.split("#")[0].split("?")[0]).split("/"); return t[t.length - 1] }(e), o({ statusCode: t, tempFilePath: Gp(n) }) }, i.onabort = function () { clearTimeout(r), a("abort", { errCode: 600003 }) }, i.onerror = function () { clearTimeout(r), a("", { errCode: 602001 }) }, i.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 }) }) }, i.send(), r = setTimeout(function () { i.onprogress = i.onload = i.onabort = i.onerror = null, s.abort(), a("timeout", { errCode: 5 }) }, n), s }, 0, hm); class Fv { constructor(e) { this._callbacks = [], this._xhr = e } onProgressUpdate(e) { v(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 Wv = ah("uploadFile", ({ url: e, file: t, filePath: n, name: o, files: a, header: r = {}, formData: i = {}, timeout: s = __uniConfig.networkTimeout.uploadFile }, { resolve: l, reject: c }) => { var d = new Fv; return f(a) && a.length || (n || c("file error"), a = [{ name: o, file: t, uri: n }]), Promise.all(a.map(({ file: e, uri: t }) => e instanceof Blob ? Promise.resolve(Zp(e)) : Yp(t))).then(function (t) { var n, o = new XMLHttpRequest, u = new FormData; Object.keys(i).forEach(e => { u.append(e, i[e]) }), Object.values(a).forEach(({ name: e }, n) => { const o = t[n]; u.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) { d._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, t = o.getAllResponseHeaders(), a = t ? t.trim().split(/[\r\n]+/).reduce((e, t) => { const n = t.split(": "), o = n.shift(), a = n.join(": "); return e[o] = a, e }, {}) : {}; l({ statusCode: e, data: o.responseText || o.response, header: a }) }, d._isAbort ? c("abort", { errCode: 600003 }) : (n = setTimeout(function () { o.upload.onprogress = o.onload = o.onabort = o.onerror = null, d.abort(), c("timeout", { errCode: 5 }) }, s), o.send(u), d._xhr = o) }).catch(() => { setTimeout(() => { c("file error") }, 0) }), d }, 0, mm), Hv = ih("navigateBack", (e, { resolve: t, reject: n }) => { let o = !0; return !0 === Id(Te, { from: e.from || "navigateBack" }) && (o = !1), o ? (Iy().$router.go(-e.delta), t()) : n(Te) }, 0, Sm), Uv = ih(fm, ({ url: e, events: t, isAutomatedTesting: n }, { resolve: o, reject: a }) => { if (sp.handledBeforeEntryPageRoutes) return Ym({ type: fm, url: e, events: t, isAutomatedTesting: n }).then(o).catch(a); lp.push({ args: { type: fm, url: e, events: t, isAutomatedTesting: n }, resolve: o, reject: a }) }, 0, _m); function qv(e) { __uniConfig.darkmode && Hb.on(ue, e) } function Yv(e) { Hb.off(ue, e) } function Zv(e) { let t = {}; return __uniConfig.darkmode && (t = yt(e, __uniConfig.themeConfig, Gy())), __uniConfig.darkmode ? t : e } function Gv(e, t) { const n = En(e), o = n ? Mn(Zv(e)) : Zv(e); return __uniConfig.darkmode && n && Ho(e, e => { const t = Zv(e); for (const n in t) o[n] = t[n] }), t && qv(t), o } const Qv = { light: { cancelColor: "#000000" }, dark: { cancelColor: "rgb(170, 170, 170)" } }, Jv = la({ 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 = Wn(""), o = () => i.value = !1, a = () => (o(), t("close", "cancel")), r = () => (o(), t("close", "confirm", n.value)), i = Sv(e, { onEsc: a, onEnter: () => { !e.editable && r() } }), s = function (e) { const t = Wn(e.cancelColor), n = ({ theme: e }) => { ((e, t) => { t.value = Qv[e].cancelColor })(e, t) }; return Fo(() => { e.visible ? (t.value = e.cancelColor, "#000" === e.cancelColor && ("dark" === Gy() && n({ theme: "dark" }), qv(n))) : Yv(n) }), t }(e); return () => { const { title: t, content: o, showCancel: l, confirmText: c, confirmColor: d, editable: u, placeholderText: h } = e; return n.value = o, Yr(ki, { name: "uni-fade" }, { default: () => [Go(Yr("uni-modal", { onTouchmove: ad }, [wv, Yr("div", { class: "uni-modal" }, [t ? Yr("div", { class: "uni-modal__hd" }, [Yr("strong", { class: "uni-modal__title", textContent: t || "" }, null, 8, ["textContent"])]) : null, u ? Yr("textarea", { class: "uni-modal__textarea", rows: "1", placeholder: h, value: o, onInput: e => n.value = e.target.value }, null, 40, ["placeholder", "value", "onInput"]) : Yr("div", { class: "uni-modal__bd", onTouchmovePassive: rd, textContent: o }, null, 40, ["onTouchmovePassive", "textContent"]), Yr("div", { class: "uni-modal__ft" }, [l && Yr("div", { style: { color: s.value }, class: "uni-modal__btn uni-modal__btn_default", onClick: a }, [e.cancelText], 12, ["onClick"]), Yr("div", { style: { color: d }, class: "uni-modal__btn uni-modal__btn_primary", onClick: r }, [c], 12, ["onClick"])])])], 40, ["onTouchmove"]), [[ji, i.value]])] }) } } }); let Xv; const Kv = Qe(() => { Hb.on("onHidePopup", () => Xv.visible = !1) }); let eb; function tb(e, t) { const n = "confirm" === e, o = { confirm: n, cancel: "cancel" === e }; n && Xv.editable && (o.content = t), eb && eb(o) } const nb = ih("showModal", (e, { resolve: t }) => { Kv(), eb = t, Xv ? (u(Xv, e), Xv.visible = !0) : (Xv = Mn(e), po(() => (Tv(Jv, Xv, tb).mount(xv("u-a-m")), po(() => Xv.visible = !0)))) }, 0, Bm), ob = { title: { type: String, default: "" }, icon: { default: "success", validator: e => -1 !== Nm.indexOf(e) }, image: { type: String, default: "" }, duration: { type: Number, default: 1500 }, mask: { type: Boolean, default: !1 }, visible: { type: Boolean } }, ab = "uni-toast__icon", rb = { light: "#fff", dark: "rgba(255,255,255,0.9)" }, ib = e => rb[e], sb = la({ name: "Toast", props: ob, setup(e) { Tc(), xc(); const { Icon: t } = function (e) { const t = Wn(ib(Gy())), n = ({ theme: e }) => t.value = ib(e); Fo(() => { e.visible ? qv(n) : Yv(n) }); const o = gi(() => { switch (e.icon) { case "success": return Yr(bd(gd, t.value, 38), { class: ab }); case "error": return Yr(bd(yd, t.value, 38), { class: ab }); case "loading": return Yr("i", { class: [ab, "uni-loading"] }, null, 2); default: return null } }); return { Icon: o } }(e), n = Sv(e, {}); return () => { const { mask: o, duration: a, title: r, image: i } = e; return Yr(ki, { name: "uni-fade" }, { default: () => [Go(Yr("uni-toast", { "data-duration": a }, [o ? Yr("div", { class: "uni-mask", style: "background: transparent;", onTouchmove: ad }, null, 40, ["onTouchmove"]) : "", i || t.value ? Yr("div", { class: "uni-toast" }, [i ? Yr("img", { src: i, class: ab }, null, 10, ["src"]) : t.value, Yr("p", { class: "uni-toast__content" }, [r])]) : Yr("div", { class: "uni-sample-toast" }, [Yr("p", { class: "uni-simple-toast__text" }, [r])])], 8, ["data-duration"]), [[ji, n.value]])] }) } } }); let lb, cb, db = ""; const ub = wt(); function hb(e) { lb ? u(lb, e) : (lb = Mn(u(e, { visible: !1 })), po(() => { ub.run(() => { Ho([() => lb.visible, () => lb.duration], ([e, t]) => { if (e) { if (cb && clearTimeout(cb), "onShowLoading" === db) return; cb = setTimeout(() => { vb("onHideToast") }, t) } else cb && clearTimeout(cb) }) }), Hb.on("onHidePopup", () => vb("onHidePopup")), Tv(sb, lb, () => { }).mount(xv("u-a-t")) })), setTimeout(() => { lb.visible = !0 }, 10) } const mb = ih("showToast", (e, { resolve: t, reject: n }) => { hb(e), db = "onShowToast", t() }, 0, Dm), pb = { icon: "loading", duration: 1e8, image: "" }, fb = ih("showLoading", (e, { resolve: t, reject: n }) => { u(e, pb), hb(e), db = "onShowLoading", t() }, 0, Om), gb = ih("hideToast", (e, { resolve: t, reject: n }) => { vb("onHideToast"), t() }), yb = ih("hideLoading", (e, { resolve: t, reject: n }) => { vb("onHideLoading"), t() }); function vb(e) { const { t: t } = bc(); if (!db) return; let n = ""; if ("onHideToast" === e && "onShowToast" !== db ? n = t("uni.showToast.unpaired") : "onHideLoading" === e && "onShowLoading" !== db && (n = t("uni.showLoading.unpaired")), n) return console.warn(n); db = "", setTimeout(() => { lb.visible = !1 }, 10) } const bb = ih("loadFontFace", ({ family: e, source: t, desc: n }, { resolve: o, reject: a }) => { (function (e, t, n) { const o = document.fonts; if (o) { const a = new FontFace(e, t, n); return a.load().then(() => { o.add && o.add(a) }) } return new Promise(o => { const a = document.createElement("style"), r = []; if (n) { const { style: e, weight: t, stretch: o, unicodeRange: a, variant: i, featureSettings: s } = n; e && r.push(`font-style:${e}`), t && r.push(`font-weight:${t}`), o && r.push(`font-stretch:${o}`), a && r.push(`unicode-range:${a}`), i && r.push(`font-variant:${i}`), s && r.push(`font-feature-settings:${s}`) } a.innerText = `@font-face{font-family:"${e}";src:${t};${r.join(";")}}`, document.head.appendChild(a), o() }) })(e, t = t.startsWith('url("') || t.startsWith("url('") ? `url('${Rp(t.substring(5, t.length - 2))}')` : t.startsWith("url(") ? `url('${Rp(t.substring(4, t.length - 1))}')` : Rp(t), n).then(() => { o() }).catch(e => { a(`loadFontFace:fail ${e}`) }) }); function _b(e) { function t() { var t; (t = e.navigationBar.titleText) && t !== document.title && (document.title = t), Hb.emit("onNavigationBarChange", { titleText: t }) } Fo(t), ya(t) } function wb(e, t, n, o, a) { if (!e) return a("page not found"); const { navigationBar: r } = e; switch (t) { case Rm: const { frontColor: e, backgroundColor: t, animation: o } = n, { duration: a, timingFunc: i } = o; e && (r.titleColor = "#000000" === e ? "#000000" : "#ffffff"), t && (r.backgroundColor = t), r.duration = a + "ms", r.timingFunc = i; break; case "showNavigationBarLoading": r.loading = !0; break; case "hideNavigationBarLoading": r.loading = !1; break; case Pm: const { title: s } = n; r.titleText = s }o() } const Tb = ih(Rm, (e, { resolve: t, reject: n }) => { wb(xd(), Rm, e, t, n) }, 0, Em), xb = ih(Pm, (e, { resolve: t, reject: n }) => { wb(xd(), Pm, e, t, n) }), Sb = ih("pageScrollTo", ({ scrollTop: e, selector: t, duration: n }, { resolve: o }) => { !function (e, t) { if (b(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: a } = n; if (e = Math.min(e, a - 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, Lm), Cb = ih(Vm, (e, { resolve: t }) => { Hb.invokeViewMethod(Vm, {}, Sd()), t() }), kb = cu({ name: "TabBar", setup() { const e = Wn([]), t = Qm(), n = Gv(t, () => { const e = Zv(t); n.backgroundColor = e.backgroundColor, n.borderStyle = e.borderStyle, n.color = e.color, n.selectedColor = e.selectedColor, n.blurEffect = e.blurEffect, n.midButton = e.midButton, 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 } Wn(u({ type: "midButton" }, e.midButton)), Fo(n) }(n, e), function (e) { Ho(() => e.shown, t => { dd({ "--window-bottom": op(t ? parseInt(e.height) : 0) }) }) }(n); const o = function (e, t, n) { return Fo(() => { const o = e.meta; if (o.isTabBar) { const e = o.route, a = n.value.findIndex(t => t.pagePath === e); t.selectedIndex = a } }), (t, n) => { const { type: o } = t; return () => { const { pagePath: o, text: a } = t; let r = Ze(o); r === __uniRoutes[0].alias && (r = "/"), e.path !== r ? Fm({ from: "tabBar", url: r, tabBarText: a }) : Id("onTabItemTap", { index: n, text: a, pagePath: o }) } } }(Xl(), n, e), { style: a, borderStyle: r, placeholderStyle: i } = function (e) { const t = gi(() => { let t = e.backgroundColor; const n = e.blurEffect; return t || ep && n && "none" !== n && (t = Rb[n]), { backgroundColor: t || Mb, backdropFilter: "none" !== n ? "blur(10px)" : n } }), n = gi(() => { const { borderStyle: t, borderColor: n } = e; return n && b(n) ? { backgroundColor: n } : { backgroundColor: Eb[t] || Eb.black } }), o = gi(() => ({ height: e.height })); return { style: t, borderStyle: n, placeholderStyle: o } }(n); return Aa(() => { n.iconfontSrc && bb({ family: "UniTabbarIconFont", source: `url("${n.iconfontSrc}")` }) }), () => { const t = function (e, t, n) { const { selectedIndex: o, selectedColor: a, color: r } = e; return n.value.map((n, i) => { const s = o === i; return function (e, t, n, o, a, r, i, s) { return Yr("div", { key: i, class: "uni-tabbar__item", onClick: s(a, i) }, [Pb(e, t || "", n, o, a, r)], 8, ["onClick"]) }(s ? a : 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, i, t) }) }(n, o, e); return Yr("uni-tabbar", { class: "uni-tabbar-" + n.position }, [Yr("div", { class: "uni-tabbar", style: a.value }, [Yr("div", { class: "uni-tabbar-border", style: r.value }, null, 4), t], 4), Yr("div", { class: "uni-placeholder", style: i.value }, null, 4)], 2) } } }); const Mb = "#f7f7fa", Ab = "rgb(0, 0, 0, 0.8)", Ib = "rgb(250, 250, 250, 0.8)", Rb = { dark: Ab, light: Ib, extralight: Ib }, Eb = { white: "rgba(255, 255, 255, 0.33)", black: "rgba(0, 0, 0, 0.33)" }; function Pb(e, t, n, o, a, r) { const { height: i } = r; return Yr("div", { class: "uni-tabbar__bd", style: { height: i } }, [n ? Ob(n, o || Ab, a, r) : t && Lb(t, a, r), a.text && Bb(e, a, r), a.redDot && Nb(a.badge)], 4) } function Lb(e, t, n) { const { type: o, text: a } = t, { iconWidth: r } = n; return Yr("div", { class: "uni-tabbar__icon" + (a ? " uni-tabbar__icon__diff" : ""), style: { width: r, height: r } }, ["midButton" !== o && Yr("img", { src: Rp(e) }, null, 8, ["src"])], 6) } function Ob(e, t, n, o) { var a; const { type: r, text: i } = n, { iconWidth: s } = o, l = "uni-tabbar__icon" + (i ? " uni-tabbar__icon__diff" : ""), c = { width: s, height: s }, d = { fontSize: (null == (a = n.iconfont) ? void 0 : a.fontSize) || s, color: t }; return Yr("div", { class: l, style: c }, ["midButton" !== r && Yr("div", { class: "uni-tabbar__iconfont", style: d }, [e], 4)], 6) } function Bb(e, t, n) { const { iconPath: o, text: a } = t, { fontSize: r, spacing: i } = n; return Yr("div", { class: "uni-tabbar__label", style: { color: e, fontSize: r, lineHeight: o ? "normal" : 1.8, marginTop: o ? i : "inherit" } }, [a], 4) } function Nb(e) { return Yr("div", { class: "uni-tabbar__reddot" + (e ? " uni-tabbar__badge" : "") }, [e], 2) } const Db = "0px", Vb = cu({ name: "Layout", setup(e, { emit: t }) { const n = Wn(null); cd({ "--status-bar-height": Db, "--top-window-height": Db, "--window-left": Db, "--window-right": Db, "--window-margin": Db, "--tab-bar-height": Db }); const o = function () { const e = Xl(); return { routeKey: gi(() => bp("/" + e.meta.route, ku())), isTabBar: gi(() => e.meta.isTabBar), routeCache: wp } }(), { layoutState: a, windowState: r } = function () { Cu(); { const e = Mn({ marginWidth: 0, leftWindowWidth: 0, rightWindowWidth: 0 }); return Ho(() => e.marginWidth, e => cd({ "--window-margin": e + "px" })), Ho(() => e.leftWindowWidth + e.marginWidth, e => { cd({ "--window-left": e + "px" }) }), Ho(() => e.rightWindowWidth + e.marginWidth, e => { cd({ "--window-right": e + "px" }) }), { layoutState: e, windowState: gi(() => ({})) } } }(); !function (e, t) { const n = Cu(); function o() { const o = document.body.clientWidth, a = pp(); let r = {}; if (a.length > 0) { r = ip(a[a.length - 1]).meta } else { const e = Bd(n.path, !0); e && (r = e.meta) } const i = parseInt(String((p(r, "maxWidth") ? r.maxWidth : __uniConfig.globalStyle.maxWidth) || Number.MAX_SAFE_INTEGER)); let s = !1; s = o > i, s && i ? (e.marginWidth = (o - i) / 2, po(() => { const e = t.value; e && e.setAttribute("style", "max-width:" + i + "px;margin:0 auto;") })) : (e.marginWidth = 0, po(() => { const e = t.value; e && e.removeAttribute("style") })) } Ho([() => n.path], o), Aa(() => { o(), window.addEventListener("resize", o) }) }(a, n); const i = function () { const e = Cu(), t = Qm(), n = gi(() => e.meta.isTabBar && t.shown); return cd({ "--tab-bar-height": t.height }), n }(), s = function (e) { const t = Wn(!1); return gi(() => ({ "uni-app--showtabbar": e && e.value, "uni-app--maxwidth": t.value })) }(i); return () => { const e = function (e) { const t = function ({ routeKey: e, isTabBar: t, routeCache: n }) { return Yr(Ql, null, { default: Io(({ Component: o }) => [(Br(), jr(fa, { matchBy: "key", cache: n }, [(Br(), jr(Do(o), { type: t.value ? "tabBar" : "", key: e.value }))], 1032, ["cache"]))]), _: 1 }) }(e); return t }(o), t = function (e) { return Go(Yr(kb, null, null, 512), [[ji, e.value]]) }(i); return Yr("uni-app", { ref: n, class: s.value }, [e, t], 2) } } }); const $b = "saveFile", jb = ih($b, sh($b)), zb = "removeSavedFile", Fb = ih(zb, sh(zb)), Wb = u(Nc, { publishHandler(e, t, n) { Hb.subscribeHandler(e, t, n) } }), Hb = u(Gd, { publishHandler(e, t, n) { Wb.subscribeHandler(e, t, n) } }), Ub = cu({ name: "PageHead", setup() { const e = Wn(null), t = xu(), n = Gv(t.navigationBar, () => { const e = Zv(t.navigationBar); n.backgroundColor = e.backgroundColor, n.titleColor = e.titleColor }), { clazz: o, style: a } = function (e) { const t = gi(() => { const { type: t, titlePenetrate: n, shadowColorType: o } = e, a = { "uni-page-head": !0, "uni-page-head-transparent": "transparent" === t, "uni-page-head-titlePenetrate": "YES" === n, "uni-page-head-shadow": !!o }; return o && (a[`uni-page-head-shadow-${o}`] = !0), a }), n = gi(() => ({ 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 Yr("div", { class: "uni-page-head-btn", onClick: Yb }, [bd(vd, "transparent" === e.type ? "#fff" : e.titleColor, 26)], 8, ["onClick"]) }(n, t.isQuit), i = n.type || "default", s = "transparent" !== i && "float" !== i && Yr("div", { class: { "uni-placeholder": !0, "uni-placeholder-titlePenetrate": n.titlePenetrate } }, null, 2); return Yr("uni-page-head", { "uni-page-head-type": i }, [Yr("div", { ref: e, class: o.value, style: a.value }, [Yr("div", { class: "uni-page-head-hd" }, [r]), qb(n), Yr("div", { class: "uni-page-head-ft" }, [])], 6), s], 8, ["uni-page-head-type"]) } } }); function qb(e, t) { return function ({ type: e, loading: t, titleSize: n, titleText: o, titleImage: a }) { return Yr("div", { class: "uni-page-head-bd" }, [Yr("div", { style: { fontSize: n, opacity: "transparent" === e ? 0 : 1 }, class: "uni-page-head__title" }, [t ? Yr("i", { class: "uni-loading" }, null) : a ? Yr("img", { src: a, class: "uni-page-head__title_image" }, null, 8, ["src"]) : o], 4)]) }(e) } function Yb() { 1 === mp().length ? qm({ url: "/" }) : Hv({ from: "backbutton", success() { } }) } const Zb = cu({ name: "PageBody", setup(e, t) { const n = !1, o = Wn(null), a = Wn(null); return Ho(() => n.enablePullDownRefresh, () => { a.value = null }, { immediate: !0 }), () => Yr(Ir, null, [!1, Yr("uni-page-wrapper", ei({ ref: o }, a.value), [Yr("uni-page-body", null, [Va(t.slots, "default")]), null], 16)]) } }), Gb = cu({ name: "Page", setup(e, t) { let n = Su(ku()); const o = n.navigationBar, a = {}; return _b(n), () => Yr("uni-page", { "data-page": n.route, style: a }, "custom" !== o.style ? [Yr(Ub), Qb(t), null] : [Qb(t), null]) } }); function Qb(e) { return Br(), jr(Zb, { key: 0 }, { default: Io(() => [Va(e.slots, "page")]), _: 3 }) } const Jb = { loading: "AsyncLoading", error: "AsyncError", delay: 200, timeout: 6e4, suspensible: !0 }; window.uni = {}, window.wx = {}, window.rpx2px = gh; const Xb = Object.assign({}), Kb = Object.assign; window.__uniConfig = Kb({ globalStyle: { backgroundColor: "#F8F8F8", navigationBar: { backgroundColor: "#FFFFFF", titleText: "世博头条", type: "default", titleColor: "#000000" }, isNVue: !1 }, tabBar: { position: "bottom", color: "#999999", selectedColor: "#0B55EB", borderStyle: "black", blurEffect: "none", fontSize: "10px", iconWidth: "20px", spacing: "3px", height: "50px", list: [{ iconPath: "/static/images/tabbar/home.png", selectedIconPath: "/static/images/tabbar/home_s.png", pagePath: "pages/index/index", text: "首页" }, { iconPath: "/static/images/tabbar/match.png", selectedIconPath: "/static/images/tabbar/match_s.png", pagePath: "packages_match/pages/worldcup", text: "赛事" }, { iconPath: "/static/images/tabbar/crypto.png", selectedIconPath: "/static/images/tabbar/crypto_s.png", pagePath: "pages/crypto/crypto", text: "加密行情" }, { iconPath: "/static/images/tabbar/lottery.png", selectedIconPath: "/static/images/tabbar/lottery_s.png", pagePath: "pages/lottery_analysis/lottery_analysis", text: "彩票" }, { iconPath: "/static/images/tabbar/community.png", selectedIconPath: "/static/images/tabbar/community_s.png", pagePath: "pages/empty/empty", text: "社区" }, { iconPath: "/static/images/tabbar/user.png", selectedIconPath: "/static/images/tabbar/user_s.png", pagePath: "pages/user/user", text: "我的" }], custom: !1, backgroundColor: "#FFFFFF", selectedIndex: 0, shown: !0 }, easycom: { autoscan: !0, custom: { "^u-(.*)": "@/uni_modules/vk-uview-ui/components/u-$1/u-$1.vue", "^(feed-card|feed-video-card|tabbar)$": "@/components/$1/$1.vue", "router-navigate": "uniapp-router-next/components/router-navigate/router-navigate.vue", "^(?!z-paging-refresh|z-paging-load-more)z-paging(.*)": "z-paging/components/z-paging$1/z-paging$1.vue", "^w-(.*)": "@/components/widgets/$1/$1.vue", "^(GlobalPopup|global-popup)$": "@/components/global-popup/global-popup.vue" } }, compilerVersion: "5.07" }, { appId: "__UNI__90671D8", appName: "世博头条", appVersion: "1.0.8", appVersionCode: 108, async: Jb, 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(Xb).reduce((e, t) => { const n = t.replace(/\.\/locale\/(uni-app.)?(.*).json/, "$2"); return Kb(e[n] || (e[n] = {}), Xb[t].default), e }, {}), router: { mode: "history", base: "/", assets: "assets", routerBase: "/" }, darkmode: !1, themeConfig: {} }), window.__uniLayout = window.__uniLayout || {}; const e_ = { delay: Jb.delay, timeout: Jb.timeout, suspensible: Jb.suspensible }; Jb.loading && (e_.loadingComponent = { name: "SystemAsyncLoading", render: () => Yr(Bo(Jb.loading)) }), Jb.error && (e_.errorComponent = { name: "SystemAsyncError", props: ["error"], render() { return Yr(Bo(Jb.error), { error: this.error }) } }); const t_ = () => o(() => import("./pages-index-index.Du1ij_VW.js"), __vite__mapDeps([0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10])).then(e => Ly(e.default || e)), n_ = da(Kb({ loader: t_ }, e_)), o_ = () => o(() => import("./pages-match-match.jKb-UeZz.js"), __vite__mapDeps([11, 12, 4, 5, 13, 2, 6, 7, 14])).then(e => Ly(e.default || e)), a_ = da(Kb({ loader: o_ }, e_)), r_ = () => o(() => import("./pages-user-user.BtKRciRJ.js"), __vite__mapDeps([15, 16])).then(e => Ly(e.default || e)), i_ = da(Kb({ loader: r_ }, e_)), s_ = () => o(() => import("./pages-channel-channel-manage.BkPO8nWD.js"), __vite__mapDeps([17, 2, 18])).then(e => Ly(e.default || e)), l_ = da(Kb({ loader: s_ }, e_)), c_ = () => o(() => import("./pages-login-login.BPapqatG.js"), __vite__mapDeps([19, 20, 21])).then(e => Ly(e.default || e)), d_ = da(Kb({ loader: c_ }, e_)), u_ = () => o(() => import("./pages-register-register.DPVkHwau.js"), __vite__mapDeps([22, 23])).then(e => Ly(e.default || e)), h_ = da(Kb({ loader: u_ }, e_)), m_ = () => o(() => import("./pages-forget_pwd-forget_pwd.BnsQX5tV.js"), __vite__mapDeps([24, 25])).then(e => Ly(e.default || e)), p_ = da(Kb({ loader: m_ }, e_)), f_ = () => o(() => import("./pages-customer_service-customer_service.BpNrx6bq.js"), []).then(e => Ly(e.default || e)), g_ = da(Kb({ loader: f_ }, e_)), y_ = () => o(() => import("./pages-news_detail-news_detail.CJ7z_ydv.js"), __vite__mapDeps([26, 27, 3, 28, 8, 9, 2, 29])).then(e => Ly(e.default || e)), v_ = da(Kb({ loader: y_ }, e_)), b_ = () => o(() => import("./pages-match_detail-match_detail.d07AlYX6.js"), __vite__mapDeps([30, 27, 3, 28, 8, 9, 13, 31, 32, 33])).then(e => Ly(e.default || e)), __ = da(Kb({ loader: b_ }, e_)), w_ = () => o(() => import("./pages-my_posts-my_posts.BTfwUMxv.js"), __vite__mapDeps([34, 35, 32, 36])).then(e => Ly(e.default || e)), T_ = da(Kb({ loader: w_ }, e_)), x_ = () => o(() => import("./pages-my_follow-my_follow.DTBWW7hu.js"), __vite__mapDeps([37, 35, 32, 38, 39])).then(e => Ly(e.default || e)), S_ = da(Kb({ loader: x_ }, e_)), C_ = () => o(() => import("./pages-vip-vip.CxI_eolm.js"), __vite__mapDeps([40, 41])).then(e => Ly(e.default || e)), k_ = da(Kb({ loader: C_ }, e_)), M_ = () => o(() => import("./pages-distribution-distribution.DLbvX2u6.js"), __vite__mapDeps([42, 27, 3, 28, 43])).then(e => Ly(e.default || e)), A_ = da(Kb({ loader: M_ }, e_)), I_ = () => o(() => import("./pages-ai_analysis-ai_analysis.BKffiJRn.js"), __vite__mapDeps([44, 31, 32, 35, 45])).then(e => Ly(e.default || e)), R_ = da(Kb({ loader: I_ }, e_)), E_ = () => o(() => import("./pages-ai_assistant-ai_assistant.BQbpY0R3.js"), __vite__mapDeps([46, 32, 47])).then(e => Ly(e.default || e)), P_ = da(Kb({ loader: E_ }, e_)), L_ = () => o(() => import("./pages-private_chat-list.B0I3rB3j.js"), __vite__mapDeps([48, 38, 49])).then(e => Ly(e.default || e)), O_ = da(Kb({ loader: L_ }, e_)), B_ = () => o(() => import("./pages-private_chat-room.CZ1aAxj4.js"), __vite__mapDeps([50, 38, 35, 32, 51])).then(e => Ly(e.default || e)), N_ = da(Kb({ loader: B_ }, e_)), D_ = () => o(() => import("./pages-crypto-crypto.b9SeqND-.js"), __vite__mapDeps([52, 4, 5, 53, 54])).then(e => Ly(e.default || e)), V_ = da(Kb({ loader: D_ }, e_)), $_ = () => o(() => import("./pages-crypto-crypto_detail.Bmqb9n8b.js"), __vite__mapDeps([55, 27, 3, 28, 53, 56])).then(e => Ly(e.default || e)), j_ = da(Kb({ loader: $_ }, e_)), z_ = () => o(() => import("./pages-lottery_analysis-lottery_analysis.BmXX_hKT.js"), __vite__mapDeps([57, 58, 32, 4, 5, 27, 3, 28, 59])).then(e => Ly(e.default || e)), F_ = da(Kb({ loader: z_ }, e_)), W_ = () => o(() => import("./pages-user_set-user_set.BRSXvJKG.js"), __vite__mapDeps([60, 20, 61, 62])).then(e => Ly(e.default || e)), H_ = da(Kb({ loader: W_ }, e_)), U_ = () => o(() => import("./pages-collection-collection.DZUy-oxM.js"), __vite__mapDeps([63, 2])).then(e => Ly(e.default || e)), q_ = da(Kb({ loader: U_ }, e_)), Y_ = () => o(() => import("./pages-as_us-as_us.CllxwSFI.js"), __vite__mapDeps([64, 61, 65])).then(e => Ly(e.default || e)), Z_ = da(Kb({ loader: Y_ }, e_)), G_ = () => o(() => import("./pages-agreement-agreement.CYVFD6O5.js"), []).then(e => Ly(e.default || e)), Q_ = da(Kb({ loader: G_ }, e_)), J_ = () => o(() => import("./pages-article_view-article_view.BHpdHcmw.js"), __vite__mapDeps([66, 67])).then(e => Ly(e.default || e)), X_ = da(Kb({ loader: J_ }, e_)), K_ = () => o(() => import("./pages-change_password-change_password.CESnw1VZ.js"), __vite__mapDeps([68, 69])).then(e => Ly(e.default || e)), ew = da(Kb({ loader: K_ }, e_)), tw = () => o(() => import("./pages-user_data-user_data.CNZJLoWF.js"), __vite__mapDeps([70, 71])).then(e => Ly(e.default || e)), nw = da(Kb({ loader: tw }, e_)), ow = () => o(() => import("./pages-search-search.PHgCDRt1.js"), __vite__mapDeps([72, 1, 2, 73])).then(e => Ly(e.default || e)), aw = da(Kb({ loader: ow }, e_)), rw = () => o(() => import("./pages-webview-webview.BCP9yIPv.js"), []).then(e => Ly(e.default || e)), iw = da(Kb({ loader: rw }, e_)), sw = () => o(() => import("./pages-bind_mobile-bind_mobile.9yeRHuTG.js"), __vite__mapDeps([74, 75])).then(e => Ly(e.default || e)), lw = da(Kb({ loader: sw }, e_)), cw = () => o(() => import("./pages-empty-empty.CfxUPaJ2.js"), __vite__mapDeps([76, 35, 32, 4, 5, 77, 27, 3, 28, 78, 79])).then(e => Ly(e.default || e)), dw = da(Kb({ loader: cw }, e_)), uw = () => o(() => import("./pages-web_closed-web_closed.DKnmowvq.js"), __vite__mapDeps([80, 81])).then(e => Ly(e.default || e)), hw = da(Kb({ loader: uw }, e_)), mw = () => o(() => import("./pages-payment_result-payment_result.BzH2SbWC.js"), __vite__mapDeps([82, 83])).then(e => Ly(e.default || e)), pw = da(Kb({ loader: mw }, e_)), fw = () => o(() => import("./uni_modules-vk-uview-ui-components-u-avatar-cropper-u-avatar-cropper.BBgxW4Kz.js"), __vite__mapDeps([84, 85])).then(e => Ly(e.default || e)), gw = da(Kb({ loader: fw }, e_)), yw = () => o(() => import("./uni_modules-uni-upgrade-center-app-pages-upgrade-popup.DK2ZpSVW.js"), __vite__mapDeps([86, 87])).then(e => Ly(e.default || e)), vw = da(Kb({ loader: yw }, e_)), bw = () => o(() => import("./packages-pages-404-404.Ds48gJG_.js"), []).then(e => Ly(e.default || e)), _w = da(Kb({ loader: bw }, e_)), ww = () => o(() => import("./packages-pages-user_wallet-user_wallet.C-y0IdFJ.js"), __vite__mapDeps([88, 89, 90])).then(e => Ly(e.default || e)), Tw = da(Kb({ loader: ww }, e_)), xw = () => o(() => import("./packages-pages-points_log-points_log.5xNHMVvp.js"), []).then(e => Ly(e.default || e)), Sw = da(Kb({ loader: xw }, e_)), Cw = () => o(() => import("./packages-pages-recharge-recharge.CD9lT4XY.js"), __vite__mapDeps([91, 89, 20])).then(e => Ly(e.default || e)), kw = da(Kb({ loader: Cw }, e_)), Mw = () => o(() => import("./packages-pages-recharge_record-recharge_record.CHpE1qUo.js"), __vite__mapDeps([92, 89])).then(e => Ly(e.default || e)), Aw = da(Kb({ loader: Mw }, e_)), Iw = () => o(() => import("./packages-pages-points_products-points_products.BP7wuHb9.js"), __vite__mapDeps([93, 94, 95])).then(e => Ly(e.default || e)), Rw = da(Kb({ loader: Iw }, e_)), Ew = () => o(() => import("./packages-pages-points_order-points_order.Dbo1VCaC.js"), __vite__mapDeps([96, 94, 97])).then(e => Ly(e.default || e)), Pw = da(Kb({ loader: Ew }, e_)), Lw = () => o(() => import("./packages-pages-points_order_detail-points_order_detail.D0JMvvUa.js"), __vite__mapDeps([98, 94, 99])).then(e => Ly(e.default || e)), Ow = da(Kb({ loader: Lw }, e_)), Bw = () => o(() => import("./packages_match-pages-index.Bq2epqBg.js"), __vite__mapDeps([100, 12, 4, 5, 13, 2, 6, 7, 14])).then(e => Ly(e.default || e)), Nw = da(Kb({ loader: Bw }, e_)), Dw = () => o(() => import("./packages_match-pages-worldcup.BOFHrDWj.js"), __vite__mapDeps([101, 12, 4, 5, 13, 2, 6, 7, 14])).then(e => Ly(e.default || e)), Vw = da(Kb({ loader: Dw }, e_)), $w = () => o(() => import("./packages_community-pages-index.18EGeTam.js"), __vite__mapDeps([102, 35, 32, 77, 27, 3, 28, 78, 103])).then(e => Ly(e.default || e)), jw = da(Kb({ loader: $w }, e_)), zw = () => o(() => import("./packages_community-pages-publish.BsWkijpW.js"), __vite__mapDeps([104, 35, 32, 105])).then(e => Ly(e.default || e)), Fw = da(Kb({ loader: zw }, e_)), Ww = () => o(() => import("./packages_community-pages-post_detail.rot_qgxL.js"), __vite__mapDeps([106, 27, 3, 28, 35, 32, 38, 107])).then(e => Ly(e.default || e)), Hw = da(Kb({ loader: Ww }, e_)), Uw = () => o(() => import("./packages_community-pages-user_profile.CCKJkMSL.js"), __vite__mapDeps([108, 35, 32, 38, 109])).then(e => Ly(e.default || e)), qw = da(Kb({ loader: Uw }, e_)), Yw = () => o(() => import("./packages_lottery-pages-index.DefpppUH.js"), __vite__mapDeps([110, 58, 32, 27, 3, 28, 111])).then(e => Ly(e.default || e)), Zw = da(Kb({ loader: Yw }, e_)), Gw = () => o(() => import("./packages_lottery-pages-draw_list.D935EDz2.js"), __vite__mapDeps([112, 58, 32, 113])).then(e => Ly(e.default || e)), Qw = da(Kb({ loader: Gw }, e_)), Jw = () => o(() => import("./packages_lottery-pages-detail.BiN4XyXZ.js"), __vite__mapDeps([114, 58, 32, 115])).then(e => Ly(e.default || e)), Xw = da(Kb({ loader: Jw }, e_)), Kw = () => o(() => import("./packages_lottery-pages-ai_predict.mcO1FDIT.js"), __vite__mapDeps([116, 58, 32, 117])).then(e => Ly(e.default || e)), eT = da(Kb({ loader: Kw }, e_)); function tT(e, t) { return Br(), jr(Gb, null, { page: Io(() => [Yr(e, Kb({}, t, { ref: "page" }), null, 512)]), _: 1 }) } window.__uniRoutes = [{ path: "/", alias: "/pages/index/index", component: { setup() { const e = Iy(), t = e && e.$route && e.$route.query || {}; return () => tT(n_, t) } }, loader: t_, meta: { isQuit: !0, isEntry: !0, isTabBar: !0, tabBarIndex: 0, titleNView: !1, navigationBar: { style: "custom", type: "default" }, isNVue: !1 } }, { path: "/pages/match/match", component: { setup() { const e = Iy(), t = e && e.$route && e.$route.query || {}; return () => tT(a_, t) } }, loader: o_, meta: { disableScroll: !0, titleNView: !1, navigationBar: { style: "custom", type: "default" }, isNVue: !1 } }, { path: "/pages/user/user", component: { setup() { const e = Iy(), t = e && e.$route && e.$route.query || {}; return () => tT(i_, t) } }, loader: r_, meta: { isQuit: !0, isTabBar: !0, tabBarIndex: 5, titleNView: !1, navigationBar: { style: "custom", type: "default" }, isNVue: !1 } }, { path: "/pages/channel/channel-manage", component: { setup() { const e = Iy(), t = e && e.$route && e.$route.query || {}; return () => tT(l_, t) } }, loader: s_, meta: { titleNView: !1, navigationBar: { style: "custom", type: "default" }, isNVue: !1 } }, { path: "/pages/login/login", component: { setup() { const e = Iy(), t = e && e.$route && e.$route.query || {}; return () => tT(d_, t) } }, loader: c_, meta: { navigationBar: { titleText: "登录", style: "default", type: "default" }, isNVue: !1 } }, { path: "/pages/register/register", component: { setup() { const e = Iy(), t = e && e.$route && e.$route.query || {}; return () => tT(h_, t) } }, loader: u_, meta: { navigationBar: { titleText: "注册", style: "default", type: "default" }, isNVue: !1 } }, { path: "/pages/forget_pwd/forget_pwd", component: { setup() { const e = Iy(), t = e && e.$route && e.$route.query || {}; return () => tT(p_, t) } }, loader: m_, meta: { navigationBar: { titleText: "忘记密码", style: "default", type: "default" }, isNVue: !1 } }, { path: "/pages/customer_service/customer_service", component: { setup() { const e = Iy(), t = e && e.$route && e.$route.query || {}; return () => tT(g_, t) } }, loader: f_, meta: { navigationBar: { titleText: "联系客服", style: "default", type: "default" }, isNVue: !1 } }, { path: "/pages/news_detail/news_detail", component: { setup() { const e = Iy(), t = e && e.$route && e.$route.query || {}; return () => tT(v_, t) } }, loader: y_, meta: { navigationBar: { titleText: "详情", style: "default", type: "default" }, isNVue: !1 } }, { path: "/pages/match_detail/match_detail", component: { setup() { const e = Iy(), t = e && e.$route && e.$route.query || {}; return () => tT(__, t) } }, loader: b_, meta: { titleNView: !1, navigationBar: { titleText: "赛事详情", style: "custom", type: "default" }, isNVue: !1 } }, { path: "/pages/my_posts/my_posts", component: { setup() { const e = Iy(), t = e && e.$route && e.$route.query || {}; return () => tT(T_, t) } }, loader: w_, meta: { navigationBar: { titleText: "我的帖子", style: "default", type: "default" }, isNVue: !1 } }, { path: "/pages/my_follow/my_follow", component: { setup() { const e = Iy(), t = e && e.$route && e.$route.query || {}; return () => tT(S_, t) } }, loader: x_, meta: { navigationBar: { titleText: "我的关注", style: "default", type: "default" }, isNVue: !1 } }, { path: "/pages/vip/vip", component: { setup() { const e = Iy(), t = e && e.$route && e.$route.query || {}; return () => tT(k_, t) } }, loader: C_, meta: { navigationBar: { style: "custom", type: "default" }, isNVue: !1 } }, { path: "/pages/distribution/distribution", component: { setup() { const e = Iy(), t = e && e.$route && e.$route.query || {}; return () => tT(A_, t) } }, loader: M_, meta: { navigationBar: { style: "custom", type: "default" }, isNVue: !1 } }, { path: "/pages/ai_analysis/ai_analysis", component: { setup() { const e = Iy(), t = e && e.$route && e.$route.query || {}; return () => tT(R_, t) } }, loader: I_, meta: { navigationBar: { style: "custom", type: "default" }, isNVue: !1 } }, { path: "/pages/ai_assistant/ai_assistant", component: { setup() { const e = Iy(), t = e && e.$route && e.$route.query || {}; return () => tT(P_, t) } }, loader: E_, meta: { navigationBar: { style: "custom", type: "default" }, isNVue: !1 } }, { path: "/pages/private_chat/list", component: { setup() { const e = Iy(), t = e && e.$route && e.$route.query || {}; return () => tT(O_, t) } }, loader: L_, meta: { navigationBar: { style: "custom", type: "default" }, isNVue: !1 } }, { path: "/pages/private_chat/room", component: { setup() { const e = Iy(), t = e && e.$route && e.$route.query || {}; return () => tT(N_, t) } }, loader: B_, meta: { navigationBar: { style: "custom", type: "default" }, isNVue: !1 } }, { path: "/pages/crypto/crypto", component: { setup() { const e = Iy(), t = e && e.$route && e.$route.query || {}; return () => tT(V_, t) } }, loader: D_, meta: { isQuit: !0, isTabBar: !0, tabBarIndex: 2, titleNView: !1, navigationBar: { style: "custom", type: "default" }, isNVue: !1 } }, { path: "/pages/crypto/crypto_detail", component: { setup() { const e = Iy(), t = e && e.$route && e.$route.query || {}; return () => tT(j_, t) } }, loader: $_, meta: { titleNView: !1, navigationBar: { style: "custom", type: "default" }, isNVue: !1 } }, { path: "/pages/lottery_analysis/lottery_analysis", component: { setup() { const e = Iy(), t = e && e.$route && e.$route.query || {}; return () => tT(F_, t) } }, loader: z_, meta: { isQuit: !0, isTabBar: !0, tabBarIndex: 3, navigationBar: { style: "custom", type: "default" }, isNVue: !1 } }, { path: "/pages/user_set/user_set", component: { setup() { const e = Iy(), t = e && e.$route && e.$route.query || {}; return () => tT(H_, t) } }, loader: W_, meta: { navigationBar: { titleText: "个人设置", style: "default", type: "default" }, isNVue: !1 } }, { path: "/pages/collection/collection", component: { setup() { const e = Iy(), t = e && e.$route && e.$route.query || {}; return () => tT(q_, t) } }, loader: U_, meta: { navigationBar: { titleText: "我的收藏", style: "default", type: "default" }, isNVue: !1 } }, { path: "/pages/as_us/as_us", component: { setup() { const e = Iy(), t = e && e.$route && e.$route.query || {}; return () => tT(Z_, t) } }, loader: Y_, meta: { navigationBar: { titleText: "关于我们", style: "default", type: "default" }, isNVue: !1 } }, { path: "/pages/agreement/agreement", component: { setup() { const e = Iy(), t = e && e.$route && e.$route.query || {}; return () => tT(Q_, t) } }, loader: G_, meta: { navigationBar: { titleText: "协议", style: "default", type: "default" }, isNVue: !1 } }, { path: "/pages/article_view/article_view", component: { setup() { const e = Iy(), t = e && e.$route && e.$route.query || {}; return () => tT(X_, t) } }, loader: J_, meta: { navigationBar: { titleText: "详情", style: "default", type: "default" }, isNVue: !1 } }, { path: "/pages/change_password/change_password", component: { setup() { const e = Iy(), t = e && e.$route && e.$route.query || {}; return () => tT(ew, t) } }, loader: K_, meta: { navigationBar: { titleText: "修改密码", style: "default", type: "default" }, isNVue: !1 } }, { path: "/pages/user_data/user_data", component: { setup() { const e = Iy(), t = e && e.$route && e.$route.query || {}; return () => tT(nw, t) } }, loader: tw, meta: { navigationBar: { titleText: "个人资料", style: "default", type: "default" }, isNVue: !1 } }, { path: "/pages/search/search", component: { setup() { const e = Iy(), t = e && e.$route && e.$route.query || {}; return () => tT(aw, t) } }, loader: ow, meta: { navigationBar: { style: "custom", type: "default" }, isNVue: !1 } }, { path: "/pages/webview/webview", component: { setup() { const e = Iy(), t = e && e.$route && e.$route.query || {}; return () => tT(iw, t) } }, loader: rw, meta: { navigationBar: {}, isNVue: !1 } }, { path: "/pages/bind_mobile/bind_mobile", component: { setup() { const e = Iy(), t = e && e.$route && e.$route.query || {}; return () => tT(lw, t) } }, loader: sw, meta: { navigationBar: { titleText: "绑定手机号", style: "default", type: "default" }, isNVue: !1 } }, { path: "/pages/empty/empty", component: { setup() { const e = Iy(), t = e && e.$route && e.$route.query || {}; return () => tT(dw, t) } }, loader: cw, meta: { isQuit: !0, isTabBar: !0, tabBarIndex: 4, navigationBar: { style: "custom", type: "default" }, isNVue: !1 } }, { path: "/pages/web_closed/web_closed", component: { setup() { const e = Iy(), t = e && e.$route && e.$route.query || {}; return () => tT(hw, t) } }, loader: uw, meta: { navigationBar: { style: "custom", type: "default" }, isNVue: !1 } }, { path: "/pages/payment_result/payment_result", component: { setup() { const e = Iy(), t = e && e.$route && e.$route.query || {}; return () => tT(pw, t) } }, loader: mw, meta: { navigationBar: { titleText: "支付结果", style: "default", type: "default" }, isNVue: !1 } }, { path: "/uni_modules/vk-uview-ui/components/u-avatar-cropper/u-avatar-cropper", component: { setup() { const e = Iy(), t = e && e.$route && e.$route.query || {}; return () => tT(gw, t) } }, loader: fw, meta: { navigationBar: { backgroundColor: "#000000", titleText: "头像裁剪", style: "default", type: "default" }, isNVue: !1 } }, { path: "/uni_modules/uni-upgrade-center-app/pages/upgrade-popup", component: { setup() { const e = Iy(), t = e && e.$route && e.$route.query || {}; return () => tT(vw, t) } }, loader: yw, meta: { disableScroll: !0, backgroundColorTop: "transparent", background: "transparent", titleNView: !1, scrollIndicator: !1, popGesture: "none", animationType: "fade-in", animationDuration: 200, navigationBar: { type: "default", style: "custom" }, isNVue: !1 } }, { path: "/packages/pages/404/404", component: { setup() { const e = Iy(), t = e && e.$route && e.$route.query || {}; return () => tT(_w, t) } }, loader: bw, meta: { navigationBar: { titleText: "404", style: "default", type: "default" }, isNVue: !1 } }, { path: "/packages/pages/user_wallet/user_wallet", component: { setup() { const e = Iy(), t = e && e.$route && e.$route.query || {}; return () => tT(Tw, t) } }, loader: ww, meta: { navigationBar: { backgroundColor: "#005fff", titleText: "我的钱包", type: "default", titleColor: "#ffffff" }, isNVue: !1 } }, { path: "/packages/pages/points_log/points_log", component: { setup() { const e = Iy(), t = e && e.$route && e.$route.query || {}; return () => tT(Sw, t) } }, loader: xw, meta: { navigationBar: { titleText: "积分明细", style: "default", type: "default" }, isNVue: !1 } }, { path: "/packages/pages/recharge/recharge", component: { setup() { const e = Iy(), t = e && e.$route && e.$route.query || {}; return () => tT(kw, t) } }, loader: Cw, meta: { navigationBar: { titleText: "充值", style: "default", type: "default" }, isNVue: !1 } }, { path: "/packages/pages/recharge_record/recharge_record", component: { setup() { const e = Iy(), t = e && e.$route && e.$route.query || {}; return () => tT(Aw, t) } }, loader: Mw, meta: { navigationBar: { titleText: "充值记录", style: "default", type: "default" }, isNVue: !1 } }, { path: "/packages/pages/points_products/points_products", component: { setup() { const e = Iy(), t = e && e.$route && e.$route.query || {}; return () => tT(Rw, t) } }, loader: Iw, meta: { navigationBar: { titleText: "购买积分", style: "default", type: "default" }, isNVue: !1 } }, { path: "/packages/pages/points_order/points_order", component: { setup() { const e = Iy(), t = e && e.$route && e.$route.query || {}; return () => tT(Pw, t) } }, loader: Ew, meta: { navigationBar: { titleText: "积分下单", style: "default", type: "default" }, isNVue: !1 } }, { path: "/packages/pages/points_order_detail/points_order_detail", component: { setup() { const e = Iy(), t = e && e.$route && e.$route.query || {}; return () => tT(Ow, t) } }, loader: Lw, meta: { navigationBar: { titleText: "订单详情", style: "default", type: "default" }, isNVue: !1 } }, { path: "/packages_match/pages/index", component: { setup() { const e = Iy(), t = e && e.$route && e.$route.query || {}; return () => tT(Nw, t) } }, loader: Bw, meta: { navigationBar: { style: "custom", type: "default" }, isNVue: !1 } }, { path: "/packages_match/pages/worldcup", component: { setup() { const e = Iy(), t = e && e.$route && e.$route.query || {}; return () => tT(Vw, t) } }, loader: Dw, meta: { isQuit: !0, isTabBar: !0, tabBarIndex: 1, disableScroll: !0, titleNView: !1, navigationBar: { titleText: "世界杯专题", style: "custom", type: "default" }, isNVue: !1 } }, { path: "/packages_community/pages/index", component: { setup() { const e = Iy(), t = e && e.$route && e.$route.query || {}; return () => tT(jw, t) } }, loader: $w, meta: { navigationBar: { style: "custom", type: "default" }, isNVue: !1 } }, { path: "/packages_community/pages/publish", component: { setup() { const e = Iy(), t = e && e.$route && e.$route.query || {}; return () => tT(Fw, t) } }, loader: zw, meta: { navigationBar: { style: "custom", type: "default" }, isNVue: !1 } }, { path: "/packages_community/pages/post_detail", component: { setup() { const e = Iy(), t = e && e.$route && e.$route.query || {}; return () => tT(Hw, t) } }, loader: Ww, meta: { navigationBar: { style: "custom", type: "default" }, isNVue: !1 } }, { path: "/packages_community/pages/user_profile", component: { setup() { const e = Iy(), t = e && e.$route && e.$route.query || {}; return () => tT(qw, t) } }, loader: Uw, meta: { navigationBar: { style: "custom", type: "default" }, isNVue: !1 } }, { path: "/packages_lottery/pages/index", component: { setup() { const e = Iy(), t = e && e.$route && e.$route.query || {}; return () => tT(Zw, t) } }, loader: Yw, meta: { navigationBar: { style: "custom", type: "default" }, isNVue: !1 } }, { path: "/packages_lottery/pages/draw_list", component: { setup() { const e = Iy(), t = e && e.$route && e.$route.query || {}; return () => tT(Qw, t) } }, loader: Gw, meta: { navigationBar: { style: "custom", type: "default" }, isNVue: !1 } }, { path: "/packages_lottery/pages/detail", component: { setup() { const e = Iy(), t = e && e.$route && e.$route.query || {}; return () => tT(Xw, t) } }, loader: Jw, meta: { navigationBar: { style: "custom", type: "default" }, isNVue: !1 } }, { path: "/packages_lottery/pages/ai_predict", component: { setup() { const e = Iy(), t = e && e.$route && e.$route.query || {}; return () => tT(eT, t) } }, loader: Kw, meta: { navigationBar: { style: "custom", type: "default" }, isNVue: !1 } }].map(e => (e.meta.route = (e.alias || e.path).slice(1), e)); const nT = (e, t = 0) => (t, n = ri()) => { !ui && Ca(e, t, n) }, oT = nT(se, 3), aT = nT(le, 3), rT = nT(ce, 1), iT = nT(pe, 2), sT = nT(fe, 2), lT = nT(Ce, 2); /*! * pinia v2.0.20 * (c) 2022 Eduardo San Martin Morote * @license MIT */ -let cT;const dT=e=>cT=e,uT=Symbol();function hT(e){return e&&"object"==typeof e&&"[object Object]"===Object.prototype.toString.call(e)&&"function"!=typeof e.toJSON}var mT,pT;(pT=mT||(mT={})).direct="direct",pT.patchObject="patch object",pT.patchFunction="patch function";const fT=()=>{};function gT(e,t,n,o=fT){e.push(t);const a=()=>{const n=e.indexOf(t);n>-1&&(e.splice(n,1),o())};return!n&&ri()&&Pa(a),a}function yT(e,...t){e.slice().forEach(e=>{e(...t)})}function vT(e,t){for(const n in t){if(!t.hasOwnProperty(n))continue;const o=t[n],a=e[n];hT(a)&&hT(o)&&e.hasOwnProperty(n)&&!Fn(o)&&!En(o)?e[n]=vT(a,o):e[n]=o}return e}const{assign:bT}=Object;function _T(e){return!(!Fn(e)||!e.effect)}function wT(e,t,n,o){const{state:a,actions:r,getters:i}=t,s=n.state.value[e];let l;return l=function(e,t,n={},o,a,r){let i;const s=bT({actions:{}},n),l={deep:!0};let c,d,u,h=Nn([]),m=Nn([]);const p=o.state.value[e];let f;function g(t){let n;c=d=!1,"function"==typeof t?(t(o.state.value[e]),n={type:mT.patchFunction,storeId:e,events:u}):(vT(o.state.value[e],t),n={type:mT.patchObject,payload:t,storeId:e,events:u});const a=f=Symbol();po().then(()=>{f===a&&(c=!0)}),d=!0,yT(h,n,o.state.value[e])}Wn({});const y=fT;function v(){i.stop(),h=[],m=[],o._s.delete(e)}function b(t,n){return function(){dT(o);const a=Array.from(arguments),r=[],i=[];function s(e){r.push(e)}function l(e){i.push(e)}let c;yT(m,{args:a,name:t,store:w,after:s,onError:l});try{c=n.apply(this&&this.$id===e?this:w,a)}catch(d){throw yT(i,d),d}return c instanceof Promise?c.then(e=>(yT(r,e),e)).catch(e=>(yT(i,e),Promise.reject(e))):(yT(r,c),c)}}const _={_p:o,$id:e,$onAction:gT.bind(null,m),$patch:g,$reset:y,$subscribe(t,n={}){const a=gT(h,t,n.detached,()=>r()),r=i.run(()=>Ho(()=>o.state.value[e],o=>{("sync"===n.flush?d:c)&&t({storeId:e,type:mT.direct,events:u},o)},bT({},l,n)));return a},$dispose:v},w=Mn(bT({},_));o._s.set(e,w);const T=o._e.run(()=>(i=wt(),i.run(()=>t())));for(const x in T){const e=T[x];if(Fn(e)&&!_T(e)||En(e));else if("function"==typeof e){const t=b(x,e);T[x]=t,s.actions[x]=e}}bT(w,T),bT(Bn(w),T),Object.defineProperty(w,"$state",{get:()=>o.state.value[e],set:e=>{g(t=>{bT(t,e)})}}),o._p.forEach(e=>{bT(w,i.run(()=>e({store:w,app:o._a,pinia:o,options:s})))}),p&&r&&n.hydrate&&n.hydrate(w.$state,p);return c=!0,d=!0,w}(e,function(){s||(n.state.value[e]=a?a():{});const t=function(e){const t=f(e)?new Array(e.length):{};for(const n in e)t[n]=Kn(e,n);return t}(n.state.value[e]);return bT(t,r,Object.keys(i||{}).reduce((t,o)=>(t[o]=Nn(gi(()=>{dT(n);const t=n._s.get(e);return i[o].call(t,t)})),t),{}))},t,n,0,!0),l.$reset=function(){const e=a?a():{};this.$patch(t=>{bT(t,e)})},l}function TT(e,t,n){let o,a;function r(e,t){const n=ri();(e=e||n&&lr(uT))&&dT(e),(e=cT)._s.has(o)||wT(o,a,e);return e._s.get(o)}return"string"==typeof e?(o=e,a=t):(a=e,o=e.id),r.$id=o,r}function xT(e){{e=Bn(e);const t={};for(const n in e){const o=e[n];(Fn(o)||En(o))&&(t[n]=Xn(e,n))}return t}}var ST="object"==typeof global&&global&&global.Object===Object&&global,CT="object"==typeof self&&self&&self.Object===Object&&self,kT=ST||CT||Function("return this")(),MT=kT.Symbol,AT=Object.prototype,IT=AT.hasOwnProperty,RT=AT.toString,ET=MT?MT.toStringTag:void 0;var PT=Object.prototype.toString;var LT=MT?MT.toStringTag:void 0;function OT(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":LT&< in Object(e)?function(e){var t=IT.call(e,ET),n=e[ET];try{e[ET]=void 0;var o=!0}catch(VR){}var a=RT.call(e);return o&&(t?e[ET]=n:delete e[ET]),a}(e):function(e){return PT.call(e)}(e)}function BT(e){return null!=e&&"object"==typeof e}var NT=Array.isArray;function DT(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function VT(e){return e}function $T(e){if(!DT(e))return!1;var t=OT(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}var jT,zT=kT["__core-js_shared__"],FT=(jT=/[^.]+$/.exec(zT&&zT.keys&&zT.keys.IE_PROTO||""))?"Symbol(src)_1."+jT:"";var WT=Function.prototype.toString;var HT=/^\[object .+?Constructor\]$/,UT=Function.prototype,qT=Object.prototype,YT=UT.toString,ZT=qT.hasOwnProperty,GT=RegExp("^"+YT.call(ZT).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function QT(e){return!(!DT(e)||(t=e,FT&&FT in t))&&($T(e)?GT:HT).test(function(e){if(null!=e){try{return WT.call(e)}catch(VR){}try{return e+""}catch(VR){}}return""}(e));var t}function JT(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return QT(n)?n:void 0}var XT=Object.create,KT=function(){function e(){}return function(t){if(!DT(t))return{};if(XT)return XT(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();var ex=Date.now;var tx,nx,ox,ax=function(){try{var e=JT(Object,"defineProperty");return e({},"",{}),e}catch(VR){}}(),rx=ax?function(e,t){return ax(e,"toString",{configurable:!0,enumerable:!1,value:(n=t,function(){return n}),writable:!0});var n}:VT,ix=(tx=rx,nx=0,ox=0,function(){var e=ex(),t=16-(e-ox);if(ox=e,t>0){if(++nx>=800)return arguments[0]}else nx=0;return tx.apply(void 0,arguments)}),sx=/^(?:0|[1-9]\d*)$/;function lx(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&sx.test(e))&&e>-1&&e%1==0&&e-1&&e%1==0&&e<=9007199254740991}function gx(e){return null!=e&&fx(e.length)&&!$T(e)}var yx=Object.prototype;function vx(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||yx)}function bx(e){return BT(e)&&"[object Arguments]"==OT(e)}var _x=Object.prototype,Tx=_x.hasOwnProperty,xx=_x.propertyIsEnumerable,Sx=bx(function(){return arguments}())?bx:function(e){return BT(e)&&Tx.call(e,"callee")&&!xx.call(e,"callee")};var Cx="object"==typeof exports&&exports&&!exports.nodeType&&exports,kx=Cx&&"object"==typeof module&&module&&!module.nodeType&&module,Mx=kx&&kx.exports===Cx?kT.Buffer:void 0,Ax=(Mx?Mx.isBuffer:void 0)||function(){return!1},Ix={};Ix["[object Float32Array]"]=Ix["[object Float64Array]"]=Ix["[object Int8Array]"]=Ix["[object Int16Array]"]=Ix["[object Int32Array]"]=Ix["[object Uint8Array]"]=Ix["[object Uint8ClampedArray]"]=Ix["[object Uint16Array]"]=Ix["[object Uint32Array]"]=!0,Ix["[object Arguments]"]=Ix["[object Array]"]=Ix["[object ArrayBuffer]"]=Ix["[object Boolean]"]=Ix["[object DataView]"]=Ix["[object Date]"]=Ix["[object Error]"]=Ix["[object Function]"]=Ix["[object Map]"]=Ix["[object Number]"]=Ix["[object Object]"]=Ix["[object RegExp]"]=Ix["[object Set]"]=Ix["[object String]"]=Ix["[object WeakMap]"]=!1;var Rx="object"==typeof exports&&exports&&!exports.nodeType&&exports,Ex=Rx&&"object"==typeof module&&module&&!module.nodeType&&module,Px=Ex&&Ex.exports===Rx&&ST.process,Lx=function(){try{var e=Ex&&Ex.require&&Ex.require("util").types;return e||Px&&Px.binding&&Px.binding("util")}catch(VR){}}(),Ox=Lx&&Lx.isTypedArray,Bx=Ox?function(e){return function(t){return e(t)}}(Ox):function(e){return BT(e)&&fx(e.length)&&!!Ix[OT(e)]};function Nx(e,t){var n=NT(e),o=!n&&Sx(e),a=!n&&!o&&Ax(e),r=!n&&!o&&!a&&Bx(e),i=n||o||a||r,s=i?function(e,t){for(var n=-1,o=Array(e);++n-1},qx.prototype.set=function(e,t){var n=this.__data__,o=Hx(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this};var Yx=JT(kT,"Map");function Zx(e,t){var n,o,a=e.__data__;return("string"==(o=typeof(n=t))||"number"==o||"symbol"==o||"boolean"==o?"__proto__"!==n:null===n)?a["string"==typeof t?"string":"hash"]:a.map}function Gx(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t1?t[o-1]:void 0,r=o>2?t[2]:void 0;for(a=pS.length>3&&"function"==typeof a?(o--,a):void 0,r&&function(e,t,n){if(!DT(n))return!1;var o=typeof t;return!!("number"==o?gx(n)&&lx(t,n.length):"string"==o&&t in n)&&dx(n[t],e)}(t[0],t[1],r)&&(a=o<3?void 0:a,o=1),e=Object(e);++n(e.GET="GET",e.POST="POST",e))(gS||{}),yS=(e=>(e[e.SUCCESS=1]="SUCCESS",e[e.FAILED=0]="FAILED",e[e.TOKEN_INVALID=-1]="TOKEN_INVALID",e))(yS||{}),vS=(e=>(e.ABORT="request:fail abort",e.TIMEOUT="request:fail timeout",e))(vS||{});const bS=new Map,_S=class e{static createInstance(){return this.instance??(this.instance=new e)}add(e,t){this.remove(e),bS.has(e)&&bS.delete(e),bS.set(e,t)}remove(e){if(bS.has(e)){const t=bS.get(e);t&&t.abort(),bS.delete(e)}}};t(_S,"instance");const wS=_S.createInstance();class TS{constructor(e){t(this,"options"),this.options=e}retryRequest(e,t){var n;const{retryCount:o,retryTimeout:a}=t;return o&&(null==(n=e.method)?void 0:n.toUpperCase())!=gS.POST?(fb({title:"加载中..."}),t.hasRetryCount=t.hasRetryCount??0,t.hasRetryCount>=o?Promise.reject():(t.hasRetryCount++,t.requestHooks.requestInterceptorsHook=e=>e,new Promise(e=>setTimeout(e,a)).then(()=>this.request(e,t)).finally(()=>yb()))):Promise.reject()}get(e,t){return this.request({...e,method:gS.GET},t)}post(e,t){return this.request({...e,method:gS.POST},t)}uploadFile(e,t){let n=fS({},this.options.requestOptions,e);const o=fS({},this.options,t),{requestInterceptorsHook:a,responseInterceptorsHook:r,responseInterceptorsCatchHook:i}=o.requestHooks||{};return a&&v(a)&&(n=a(n,o)),new Promise((e,t)=>{Wv({...n,success:async n=>{if(200==n.statusCode){if(n.data=JSON.parse(n.data),r&&v(r)){try{n=await r(n,o),e(n)}catch(a){t(a)}return}e(n)}},fail:async e=>{i&&v(i)?t(await i(n,e)):t(e)}})})}async request(e,t){let n=fS({},this.options.requestOptions,e);const o=fS({},this.options,t),{requestInterceptorsHook:a,responseInterceptorsHook:r,responseInterceptorsCatchHook:i}=o.requestHooks||{};return a&&v(a)&&(n=a(n,o)),new Promise((t,a)=>{const s=async e=>{if(i&&v(i))try{a(await i(n,e))}catch(t){a(t)}else a(e)},l=Bv({...n,async success(e){if(r&&v(r))try{e=await r(e,o),t(e)}catch(n){a(n)}else t(e)},fail:async e=>{e.errMsg!=vS.TIMEOUT?s(e):this.retryRequest(n,o).then(e=>t(e)).catch(()=>s(e))},complete(t){t.errMsg!==vS.ABORT&&wS.remove(e.url)}}),{ignoreCancel:c}=o;!c&&wS.add(e.url,l)})}}const xS="token",SS="history",CS="back_url",kS={key:"app_",set(e,t,n){e=this.getKey(e);let o={expire:n?this.time()+n:"",value:t};"object"==typeof o&&(o=JSON.stringify(o));try{lv(e,o)}catch(VR){return null}},get(e){e=this.getKey(e);try{const t=uv(e);if(!t)return null;const{value:n,expire:o}=JSON.parse(t);return o&&oMath.round((new Date).getTime()/1e3),remove(e){e=this.getKey(e),hv(e)},getKey(e){return this.key+e}};function MS(){return kS.get(xS)}function AS(){return jS.get({url:"/user/info"},{isAuth:!0})}function IS(e){return jS.post({url:"/user/setInfo",data:e},{isAuth:!0})}function RS(e,t){return jS.post({url:"/user/bindMobile",data:e,header:t},{isAuth:!0})}function ES(e){return jS.post({url:"/user/changePassword",data:e},{isAuth:!0})}function PS(e){return jS.post({url:"/user/resetPassword",data:e})}function LS(e){return jS.get({url:"/account_log/lists",data:e})}function OS(){return jS.get({url:"/user/getChannels"},{isAuth:!0})}function BS(e){return jS.post({url:"/user/setChannels",data:e},{isAuth:!0})}const NS=TT({id:"userStore",state:()=>({userInfo:{},token:kS.get(xS)||null,temToken:null}),getters:{isLogin:e=>!!e.token},actions:{async getUser(){const e=await(t={token:this.token||this.temToken},jS.get({url:"/user/center",header:t},{ignoreCancel:!0}));var t;return this.userInfo=e,e},login(e){this.token=e,kS.set(xS,e)},logout(){this.token="",this.userInfo={},kS.remove(xS)}}});const DS={version:"1.9.0",baseUrl:"https://test-server.sbnews.net/",urlPrefix:"api",timeout:6e4};let VS=!1;function $S(){VS||(VS=!0,gb(),yb(),setTimeout(()=>{nb({title:"提示",content:"该功能需要登录,是否前往登录?",confirmText:"去登录",cancelText:"取消",success:e=>{if(e.confirm){const e=mp(),t=e[e.length-1];if(t){const e="/"+t.route,n=t.options||{},o=Object.keys(n).map(e=>`${e}=${n[e]}`).join("&");kS.set(CS,o?`${e}?${o}`:e)}Uv({url:"/pages/login/login"})}},complete:()=>{VS=!1}})},100))}const jS=new TS(fS({requestOptions:{timeout:DS.timeout},baseUrl:DS.baseUrl,isReturnDefaultResponse:!1,isTransformResponse:!0,urlPrefix:"api",ignoreCancel:!1,withToken:!0,isAuth:!1,retryCount:2,retryTimeout:1e3,requestHooks:{requestInterceptorsHook(e,t){const{urlPrefix:n,baseUrl:o,withToken:a,isAuth:r}=t;e.header=e.header??{},n&&(e.url=`${n}${e.url}`),o&&(e.url=`${o}${e.url}`);const i=MS();return i&&!e.header.token&&(e.header.token=i),e.header.version=DS.version,e},async responseInterceptorsHook(e,t){const{isTransformResponse:n,isReturnDefaultResponse:o,isAuth:a}=t;if(o)return e;if(!n)return e.data;const r=NS(),{code:i,data:s,msg:l,show:c}=e.data;switch(i){case yS.SUCCESS:return l&&c&&uni.$u.toast(l),s;case yS.FAILED:return l&&(/token/i.test(l)||/登录/i.test(l))?(r.isLogin||a)&&(r.logout(),$S()):l&&uni.$u.toast(l),Promise.reject(l);case yS.TOKEN_INVALID:return(r.isLogin||a)&&(r.logout(),$S()),Promise.reject(l);default:return s}},async responseInterceptorsCatchHook(e,t){var n;return(null==(n=e.method)?void 0:n.toUpperCase())==gS.POST&&uni.$u.toast("请求失败,请重试"),Promise.reject(t)}}},{}));function zS(e){return jS.post({url:"/sms/sendCode",data:e})}function FS(e){return jS.post({url:"/sms/getVerifyInfo",data:e})}function WS(e){return jS.get({url:"/index/policy",data:e})}function HS(e,t){return jS.uploadFile({url:"/upload/image",filePath:e,name:"file",header:{token:t},fileType:"image"})}const US=TT({id:"appStore",state:()=>({config:{domain:""},tabbarTick:0,configLoaded:!1,popupPagePath:"",popupTick:0}),getters:{getWebsiteConfig:e=>e.config.website||{},getLoginConfig:e=>e.config.login||{},getTabbarConfig:e=>e.config.tabbar||[],getStyleConfig:e=>e.config.style||{},getH5Config:e=>e.config.webPage||{},getCopyrightConfig:e=>e.config.copyright||[]},actions:{getImageUrl(e){return e.indexOf("http")?`${this.config.domain}${e}`:e},async getConfig(){const e=await jS.get({url:"/index/config"});this.config=e,this.configLoaded=!0},updatePopupPath(e){this.popupPagePath=e,this.popupTick++}}});function qS(e){return jS.get({url:"/index/decorate",data:e},{ignoreCancel:!0})}function YS(){return jS.get({url:"/search/hotLists"})}var ZS="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function GS(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var QS,JS,XS={},KS=function(e,t,n){for(var o=0,a={},r=0;r1?n.substring(a.start+e.length,a.end):"",a.post=n.slice(a.end+t.length),a},eC={exports:{}};QS=eC,JS=function(){function e(t,o,a,r){"object"==typeof o&&(a=o.depth,r=o.prototype,o.filter,o=o.circular);var i=[],s=[],l="undefined"!=typeof Buffer;return void 0===o&&(o=!0),void 0===a&&(a=1/0),function t(a,c){if(null===a)return null;if(0==c)return a;var d,u;if("object"!=typeof a)return a;if(e.__isArray(a))d=[];else if(e.__isRegExp(a))d=new RegExp(a.source,n(a)),a.lastIndex&&(d.lastIndex=a.lastIndex);else if(e.__isDate(a))d=new Date(a.getTime());else{if(l&&Buffer.isBuffer(a))return d=Buffer.allocUnsafe?Buffer.allocUnsafe(a.length):new Buffer(a.length),a.copy(d),d;void 0===r?(u=Object.getPrototypeOf(a),d=Object.create(u)):(d=Object.create(r),u=r)}if(o){var h=i.indexOf(a);if(-1!=h)return s[h];i.push(a),s.push(d)}for(var m in a){var p;u&&(p=Object.getOwnPropertyDescriptor(u,m)),p&&null==p.set||(d[m]=t(a[m],c-1))}return d}(t,a)}function t(e){return Object.prototype.toString.call(e)}function n(e){var t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),t}return e.clonePrototype=function(e){if(null===e)return null;var t=function(){};return t.prototype=e,new t},e.__objToStr=t,e.__isDate=function(e){return"object"==typeof e&&"[object Date]"===t(e)},e.__isArray=function(e){return"object"==typeof e&&"[object Array]"===t(e)},e.__isRegExp=function(e){return"object"==typeof e&&"[object RegExp]"===t(e)},e.__getRegExpFlags=n,e}(),QS.exports&&(QS.exports=JS);var tC=eC.exports,nC={exports:{}},oC={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},aC=oC,rC={};for(var iC in aC)aC.hasOwnProperty(iC)&&(rC[aC[iC]]=iC);var sC=nC.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(var lC in sC)if(sC.hasOwnProperty(lC)){if(!("channels"in sC[lC]))throw new Error("missing channels property: "+lC);if(!("labels"in sC[lC]))throw new Error("missing channel labels property: "+lC);if(sC[lC].labels.length!==sC[lC].channels)throw new Error("channel and label counts mismatch: "+lC);var cC=sC[lC].channels,dC=sC[lC].labels;delete sC[lC].channels,delete sC[lC].labels,Object.defineProperty(sC[lC],"channels",{value:cC}),Object.defineProperty(sC[lC],"labels",{value:dC})}function uC(e,t){return Math.pow(e[0]-t[0],2)+Math.pow(e[1]-t[1],2)+Math.pow(e[2]-t[2],2)}sC.rgb.hsl=function(e){var t,n,o=e[0]/255,a=e[1]/255,r=e[2]/255,i=Math.min(o,a,r),s=Math.max(o,a,r),l=s-i;return s===i?t=0:o===s?t=(a-r)/l:a===s?t=2+(r-o)/l:r===s&&(t=4+(o-a)/l),(t=Math.min(60*t,360))<0&&(t+=360),n=(i+s)/2,[t,100*(s===i?0:n<=.5?l/(s+i):l/(2-s-i)),100*n]},sC.rgb.hsv=function(e){var t,n,o,a,r,i=e[0]/255,s=e[1]/255,l=e[2]/255,c=Math.max(i,s,l),d=c-Math.min(i,s,l),u=function(e){return(c-e)/6/d+.5};return 0===d?a=r=0:(r=d/c,t=u(i),n=u(s),o=u(l),i===c?a=o-n:s===c?a=1/3+t-o:l===c&&(a=2/3+n-t),a<0?a+=1:a>1&&(a-=1)),[360*a,100*r,100*c]},sC.rgb.hwb=function(e){var t=e[0],n=e[1],o=e[2];return[sC.rgb.hsl(e)[0],100*(1/255*Math.min(t,Math.min(n,o))),100*(o=1-1/255*Math.max(t,Math.max(n,o)))]},sC.rgb.cmyk=function(e){var t,n=e[0]/255,o=e[1]/255,a=e[2]/255;return[100*((1-n-(t=Math.min(1-n,1-o,1-a)))/(1-t)||0),100*((1-o-t)/(1-t)||0),100*((1-a-t)/(1-t)||0),100*t]},sC.rgb.keyword=function(e){var t=rC[e];if(t)return t;var n,o=1/0;for(var a in aC)if(aC.hasOwnProperty(a)){var r=uC(e,aC[a]);r.04045?Math.pow((t+.055)/1.055,2.4):t/12.92)+.3576*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(o=o>.04045?Math.pow((o+.055)/1.055,2.4):o/12.92)),100*(.2126*t+.7152*n+.0722*o),100*(.0193*t+.1192*n+.9505*o)]},sC.rgb.lab=function(e){var t=sC.rgb.xyz(e),n=t[0],o=t[1],a=t[2];return o/=100,a/=108.883,n=(n/=95.047)>.008856?Math.pow(n,1/3):7.787*n+16/116,[116*(o=o>.008856?Math.pow(o,1/3):7.787*o+16/116)-16,500*(n-o),200*(o-(a=a>.008856?Math.pow(a,1/3):7.787*a+16/116))]},sC.hsl.rgb=function(e){var t,n,o,a,r,i=e[0]/360,s=e[1]/100,l=e[2]/100;if(0===s)return[r=255*l,r,r];t=2*l-(n=l<.5?l*(1+s):l+s-l*s),a=[0,0,0];for(var c=0;c<3;c++)(o=i+1/3*-(c-1))<0&&o++,o>1&&o--,r=6*o<1?t+6*(n-t)*o:2*o<1?n:3*o<2?t+(n-t)*(2/3-o)*6:t,a[c]=255*r;return a},sC.hsl.hsv=function(e){var t=e[0],n=e[1]/100,o=e[2]/100,a=n,r=Math.max(o,.01);return n*=(o*=2)<=1?o:2-o,a*=r<=1?r:2-r,[t,100*(0===o?2*a/(r+a):2*n/(o+n)),100*((o+n)/2)]},sC.hsv.rgb=function(e){var t=e[0]/60,n=e[1]/100,o=e[2]/100,a=Math.floor(t)%6,r=t-Math.floor(t),i=255*o*(1-n),s=255*o*(1-n*r),l=255*o*(1-n*(1-r));switch(o*=255,a){case 0:return[o,l,i];case 1:return[s,o,i];case 2:return[i,o,l];case 3:return[i,s,o];case 4:return[l,i,o];case 5:return[o,i,s]}},sC.hsv.hsl=function(e){var t,n,o,a=e[0],r=e[1]/100,i=e[2]/100,s=Math.max(i,.01);return o=(2-r)*i,n=r*s,[a,100*(n=(n/=(t=(2-r)*s)<=1?t:2-t)||0),100*(o/=2)]},sC.hwb.rgb=function(e){var t,n,o,a,r,i,s,l=e[0]/360,c=e[1]/100,d=e[2]/100,u=c+d;switch(u>1&&(c/=u,d/=u),o=6*l-(t=Math.floor(6*l)),1&t&&(o=1-o),a=c+o*((n=1-d)-c),t){default:case 6:case 0:r=n,i=a,s=c;break;case 1:r=a,i=n,s=c;break;case 2:r=c,i=n,s=a;break;case 3:r=c,i=a,s=n;break;case 4:r=a,i=c,s=n;break;case 5:r=n,i=c,s=a}return[255*r,255*i,255*s]},sC.cmyk.rgb=function(e){var t=e[0]/100,n=e[1]/100,o=e[2]/100,a=e[3]/100;return[255*(1-Math.min(1,t*(1-a)+a)),255*(1-Math.min(1,n*(1-a)+a)),255*(1-Math.min(1,o*(1-a)+a))]},sC.xyz.rgb=function(e){var t,n,o,a=e[0]/100,r=e[1]/100,i=e[2]/100;return n=-.9689*a+1.8758*r+.0415*i,o=.0557*a+-.204*r+1.057*i,t=(t=3.2406*a+-1.5372*r+-.4986*i)>.0031308?1.055*Math.pow(t,1/2.4)-.055:12.92*t,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:12.92*n,o=o>.0031308?1.055*Math.pow(o,1/2.4)-.055:12.92*o,[255*(t=Math.min(Math.max(0,t),1)),255*(n=Math.min(Math.max(0,n),1)),255*(o=Math.min(Math.max(0,o),1))]},sC.xyz.lab=function(e){var t=e[0],n=e[1],o=e[2];return n/=100,o/=108.883,t=(t/=95.047)>.008856?Math.pow(t,1/3):7.787*t+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(t-n),200*(n-(o=o>.008856?Math.pow(o,1/3):7.787*o+16/116))]},sC.lab.xyz=function(e){var t,n,o,a=e[0];t=e[1]/500+(n=(a+16)/116),o=n-e[2]/200;var r=Math.pow(n,3),i=Math.pow(t,3),s=Math.pow(o,3);return n=r>.008856?r:(n-16/116)/7.787,t=i>.008856?i:(t-16/116)/7.787,o=s>.008856?s:(o-16/116)/7.787,[t*=95.047,n*=100,o*=108.883]},sC.lab.lch=function(e){var t,n=e[0],o=e[1],a=e[2];return(t=360*Math.atan2(a,o)/2/Math.PI)<0&&(t+=360),[n,Math.sqrt(o*o+a*a),t]},sC.lch.lab=function(e){var t,n=e[0],o=e[1];return t=e[2]/360*2*Math.PI,[n,o*Math.cos(t),o*Math.sin(t)]},sC.rgb.ansi16=function(e){var t=e[0],n=e[1],o=e[2],a=1 in arguments?arguments[1]:sC.rgb.hsv(e)[2];if(0===(a=Math.round(a/50)))return 30;var r=30+(Math.round(o/255)<<2|Math.round(n/255)<<1|Math.round(t/255));return 2===a&&(r+=60),r},sC.hsv.ansi16=function(e){return sC.rgb.ansi16(sC.hsv.rgb(e),e[2])},sC.rgb.ansi256=function(e){var t=e[0],n=e[1],o=e[2];return t===n&&n===o?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(o/255*5)},sC.ansi16.rgb=function(e){var t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),[t=t/10.5*255,t,t];var n=.5*(1+~~(e>50));return[(1&t)*n*255,(t>>1&1)*n*255,(t>>2&1)*n*255]},sC.ansi256.rgb=function(e){if(e>=232){var t=10*(e-232)+8;return[t,t,t]}var n;return e-=16,[Math.floor(e/36)/5*255,Math.floor((n=e%36)/6)/5*255,n%6/5*255]},sC.rgb.hex=function(e){var t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},sC.hex.rgb=function(e){var t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];var n=t[0];3===t[0].length&&(n=n.split("").map(function(e){return e+e}).join(""));var o=parseInt(n,16);return[o>>16&255,o>>8&255,255&o]},sC.rgb.hcg=function(e){var t,n=e[0]/255,o=e[1]/255,a=e[2]/255,r=Math.max(Math.max(n,o),a),i=Math.min(Math.min(n,o),a),s=r-i;return t=s<=0?0:r===n?(o-a)/s%6:r===o?2+(a-n)/s:4+(n-o)/s+4,t/=6,[360*(t%=1),100*s,100*(s<1?i/(1-s):0)]},sC.hsl.hcg=function(e){var t=e[1]/100,n=e[2]/100,o=1,a=0;return(o=n<.5?2*t*n:2*t*(1-n))<1&&(a=(n-.5*o)/(1-o)),[e[0],100*o,100*a]},sC.hsv.hcg=function(e){var t=e[1]/100,n=e[2]/100,o=t*n,a=0;return o<1&&(a=(n-o)/(1-o)),[e[0],100*o,100*a]},sC.hcg.rgb=function(e){var t=e[0]/360,n=e[1]/100,o=e[2]/100;if(0===n)return[255*o,255*o,255*o];var a,r=[0,0,0],i=t%1*6,s=i%1,l=1-s;switch(Math.floor(i)){case 0:r[0]=1,r[1]=s,r[2]=0;break;case 1:r[0]=l,r[1]=1,r[2]=0;break;case 2:r[0]=0,r[1]=1,r[2]=s;break;case 3:r[0]=0,r[1]=l,r[2]=1;break;case 4:r[0]=s,r[1]=0,r[2]=1;break;default:r[0]=1,r[1]=0,r[2]=l}return a=(1-n)*o,[255*(n*r[0]+a),255*(n*r[1]+a),255*(n*r[2]+a)]},sC.hcg.hsv=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t),o=0;return n>0&&(o=t/n),[e[0],100*o,100*n]},sC.hcg.hsl=function(e){var t=e[1]/100,n=e[2]/100*(1-t)+.5*t,o=0;return n>0&&n<.5?o=t/(2*n):n>=.5&&n<1&&(o=t/(2*(1-n))),[e[0],100*o,100*n]},sC.hcg.hwb=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t);return[e[0],100*(n-t),100*(1-n)]},sC.hwb.hcg=function(e){var t=e[1]/100,n=1-e[2]/100,o=n-t,a=0;return o<1&&(a=(n-o)/(1-o)),[e[0],100*o,100*a]},sC.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},sC.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},sC.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},sC.gray.hsl=sC.gray.hsv=function(e){return[0,0,e[0]]},sC.gray.hwb=function(e){return[0,100,e[0]]},sC.gray.cmyk=function(e){return[0,0,0,e[0]]},sC.gray.lab=function(e){return[e[0],0,0]},sC.gray.hex=function(e){var t=255&Math.round(e[0]/100*255),n=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(n.length)+n},sC.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]};var hC=nC.exports,mC=hC;function pC(e){var t=function(){for(var e={},t=Object.keys(mC),n=t.length,o=0;o1&&(t=Array.prototype.slice.call(arguments));var n=e(t);if("object"==typeof n)for(var o=n.length,a=0;a1&&(t=Array.prototype.slice.call(arguments)),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}(o)})});var _C=bC,wC=oC,TC={getRgba:xC,getHsla:SC,getRgb:function(e){var t=xC(e);return t&&t.slice(0,3)},getHsl:function(e){var t=SC(e);return t&&t.slice(0,3)},getHwb:CC,getAlpha:function(e){var t=xC(e);if(t)return t[3];if(t=SC(e))return t[3];if(t=CC(e))return t[3]},hexString:function(e){return"#"+RC(e[0])+RC(e[1])+RC(e[2])},rgbString:function(e,t){if(t<1||e[3]&&e[3]<1)return kC(e,t);return"rgb("+e[0]+", "+e[1]+", "+e[2]+")"},rgbaString:kC,percentString:function(e,t){if(t<1||e[3]&&e[3]<1)return MC(e,t);var n=Math.round(e[0]/255*100),o=Math.round(e[1]/255*100),a=Math.round(e[2]/255*100);return"rgb("+n+"%, "+o+"%, "+a+"%)"},percentaString:MC,hslString:function(e,t){if(t<1||e[3]&&e[3]<1)return AC(e,t);return"hsl("+e[0]+", "+e[1]+"%, "+e[2]+"%)"},hslaString:AC,hwbString:function(e,t){void 0===t&&(t=void 0!==e[3]?e[3]:1);return"hwb("+e[0]+", "+e[1]+"%, "+e[2]+"%"+(void 0!==t&&1!==t?", "+t:"")+")"},keyword:function(e){return EC[e.slice(0,3)]}};function xC(e){if(e){var t=[0,0,0],n=1,o=e.match(/^#([a-fA-F0-9]{3})$/);if(o){o=o[1];for(var a=0;an?(t+.05)/(n+.05):(n+.05)/(t+.05)},level:function(e){var t=this.contrast(e);return t>=7.1?"AAA":t>=4.5?"AA":""},dark:function(){var e=this.values.rgb;return(299*e[0]+587*e[1]+114*e[2])/1e3<128},light:function(){return!this.dark()},negate:function(){for(var e=[],t=0;t<3;t++)e[t]=255-this.values.rgb[t];return this.setValues("rgb",e),this},lighten:function(e){return this.values.hsl[2]+=this.values.hsl[2]*e,this.setValues("hsl",this.values.hsl),this},darken:function(e){return this.values.hsl[2]-=this.values.hsl[2]*e,this.setValues("hsl",this.values.hsl),this},saturate:function(e){return this.values.hsl[1]+=this.values.hsl[1]*e,this.setValues("hsl",this.values.hsl),this},desaturate:function(e){return this.values.hsl[1]-=this.values.hsl[1]*e,this.setValues("hsl",this.values.hsl),this},whiten:function(e){return this.values.hwb[1]+=this.values.hwb[1]*e,this.setValues("hwb",this.values.hwb),this},blacken:function(e){return this.values.hwb[2]+=this.values.hwb[2]*e,this.setValues("hwb",this.values.hwb),this},greyscale:function(){var e=this.values.rgb,t=.3*e[0]+.59*e[1]+.11*e[2];return this.setValues("rgb",[t,t,t]),this},clearer:function(e){return this.setValues("alpha",this.values.alpha-this.values.alpha*e),this},opaquer:function(e){return this.setValues("alpha",this.values.alpha+this.values.alpha*e),this},rotate:function(e){var t=this.values.hsl[0];return t=(t=(t+e)%360)<0?360+t:t,this.values.hsl[0]=t,this.setValues("hsl",this.values.hsl),this},mix:function(e,t){var n=this,o=e,a=void 0===t?.5:t,r=2*a-1,i=n.alpha()-o.alpha(),s=((r*i===-1?r:(r+i)/(1+r*i))+1)/2,l=1-s;return this.rgb(s*n.red()+l*o.red(),s*n.green()+l*o.green(),s*n.blue()+l*o.blue()).alpha(n.alpha()*a+o.alpha()*(1-a))},toJSON:function(){return this.rgb()},clone:function(){var e=new NC;return e.values=LC(this.values),e}},NC.prototype.getValues=function(e){for(var t={},n=0;n=1.5*n;return Math.round(e/n)+" "+o+(a?"s":"")}return DC=function(s,l){l=l||{};var c=typeof s;if("string"===c&&s.length>0)return function(i){if((i=String(i)).length>100)return;var s=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(i);if(!s)return;var l=parseFloat(s[1]);switch((s[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return l*r;case"weeks":case"week":case"w":return l*a;case"days":case"day":case"d":return l*o;case"hours":case"hour":case"hrs":case"hr":case"h":return l*n;case"minutes":case"minute":case"mins":case"min":case"m":return l*t;case"seconds":case"second":case"secs":case"sec":case"s":return l*e;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return l;default:return}}(s);if("number"===c&&isFinite(s))return l.long?function(a){var r=Math.abs(a);if(r>=o)return i(a,r,o,"day");if(r>=n)return i(a,r,n,"hour");if(r>=t)return i(a,r,t,"minute");if(r>=e)return i(a,r,e,"second");return a+" ms"}(s):function(a){var r=Math.abs(a);if(r>=o)return Math.round(a/o)+"d";if(r>=n)return Math.round(a/n)+"h";if(r>=t)return Math.round(a/t)+"m";if(r>=e)return Math.round(a/e)+"s";return a+"ms"}(s);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(s))}}var FC=function(e){function t(e){for(var t=0,o=0;o=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],e.exports=FC(t),e.exports.formatters.j=function(e){try{return JSON.stringify(e)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}}(jC,jC.exports);var WC=KS,HC=(0,jC.exports)("css-color-function:parse"),UC=function(e){"string"!=typeof e&&(e=e.toString());function t(t){var n=t.exec(e);if(n)return e=e.slice(n[0].length),n.slice(1)}function n(){t(/^\s+/)}function o(){var e=t(/^([\+\-\*])/);if(e){var n={type:"modifier"};return n.value=e[0],HC("modifier %o",n),n}}function a(){var e=t(/^([^\)\s]+)/);if(e){var n={type:"number"};return n.value=e[0],HC("number %o",n),n}}function r(){var e=t(/^(\w+)\(/);if(e){n();var r={type:"function"};return r.name=e[0],r.arguments=function(){for(var e,t=[];e=o()||s()||a();)t.push(e),n();return HC("args %o",t),t}(),function(){var e=t(/^\)/);if(e)HC("rparen")}(),HC("adjuster %o",r),r}}function i(){var e={type:"color"},o=t(/([^\)\s]+)/)[0];-1!=o.indexOf("(")&&(o+=t(/([^\)]*?\))/)[0]);return e.value=o,n(),e}function s(){if(e.match(/^color\(/)){var t=WC("(",")",e);if(!t)throw new SyntaxError("Missing closing parenthese for '"+e+"'");if(""===t.body)throw new SyntaxError("color() function cannot be empty");e=t.body,n();var o,a={};for(a.type="function",a.name="color",a.arguments=[s()||i()],HC("function arguments %o",a.arguments);o=r();)a.arguments.push(o),n();return e=t.post,n(),HC("function %o",a),a}}return HC("string %s",e),s()};var qC={};!function(e){var t=$C;function n(e){return function(t,n){var o;"modifier"==n[0].type&&(o=n.shift().value);var r=n[0].value;-1!=r.indexOf("%")?(r=parseInt(r,10)/100,o?"*"!=o&&(r=t[e]()*r):r*="alpha"==e?1:255):r=Number(r),t[e](a(t[e](),r,o))}}function o(e){return function(t,n){var o;"modifier"==n[0].type&&(o=n.shift().value);var r=parseFloat(n[0].value,10);t[e](a(t[e](),r,o))}}function a(e,t,n){switch(n){case"+":return e+t;case"-":return e-t;case"*":return e*t;default:return t}}e.red=n("red"),e.blue=n("blue"),e.green=n("green"),e.alpha=e.a=n("alpha"),e.rgb=function(){},e.hue=e.h=o("hue"),e.saturation=e.s=o("saturation"),e.lightness=e.l=o("lightness"),e.whiteness=e.w=o("whiteness"),e.blackness=e.b=o("blackness"),e.blend=function(e,n){var o=e.alpha();e.alpha(1);var a=new t(n[0].value),r=1-parseInt(n[1].value,10)/100;e.mix(a,r).alpha(o)},e.tint=function(t,n){n.unshift({type:"argument",value:"white"}),e.blend(t,n)},e.shade=function(t,n){n.unshift({type:"argument",value:"black"}),e.blend(t,n)},e.contrast=function(e,n){0==n.length&&n.push({type:"argument",value:"100%"});var o=1-parseInt(n[0].value,10)/100,a=e.luminosity()<.5?new t({h:e.hue(),w:100,b:0}):new t({h:e.hue(),w:0,b:100}),r=a;if(e.contrast(a)>4.5){r=function(e,t,n){t.hue();var o=t.clone(),a=t.whiteness(),r=t.blackness(),i=n.whiteness(),s=n.blackness();for(;Math.abs(a-i)>1||Math.abs(r-s)>1;){var l=Math.round((i+a)/2),c=Math.round((s+r)/2);o.whiteness(l),o.blackness(c),o.contrast(t)>e?(i=l,s=c):(a=l,r=c)}return o}(4.5,e,a);var i=r.alpha();r.alpha(1),r.mix(a,o).alpha(i)}e.hwb(r.hwb())}}(qC);var YC=KS,ZC=$C,GC=UC,QC=qC,JC=function e(t){var n=t.indexOf("color(");if(-1==n)return t;if(t=t.slice(n),!(t=YC("(",")",t)))throw new SyntaxError("Missing closing parenthese for '"+t+"'");return XC(GC("color("+t.body+")"))+e(t.post)};function XC(e){var t=new ZC("function"==e.arguments[0].type?XC(e.arguments[0]):e.arguments[0].value);return e.arguments.slice(1).forEach(function(e){var n=e.name;if(!QC[n])throw new Error("Unknown '"+n+"'");e.arguments.forEach(function(e){"function"==e.type&&"color"==e.name&&(e.value=XC(e),e.type="color",delete e.name)}),QC[n](t,e.arguments)}),t.rgbString()}var KC=JC,ek=UC;XS.convert=KC,XS.parse=ek;const tk={"dark-2":"shade(20%)","light-3":"tint(30%)","light-5":"tint(50%)","light-7":"tint(70%)","light-9":"tint(90%)"},nk={"light-3":"shade(20%)","light-5":"shade(30%)","light-7":"shade(50%)","light-9":"shade(70%)","dark-2":"tint(20%)"},ok=(e,t={},n=!1)=>{const o=Object.keys(e).reduce((t,o)=>Object.assign(t,((e,t="primary",n=!1)=>{const o={[`--color-${t}`]:e},a=n?nk:tk;for(const r in a)o[`--color-${t}-${r}`]=`color(${e} ${a[r]})`;return o})(e[o],o,n)),t),a=Object.keys(o).reduce((e,t)=>`${e}${t}:${XS.convert(o[t])};`,"");return a},ak=TT({id:"themeStore",state:()=>({primaryColor:"",minorColor:"",btnColor:"white",navColor:"#000000",navBgColor:"#ffffff",vars:""}),actions:{async getTheme(){const e=await qS({id:5}),{themeColor1:t,themeColor2:n,buttonColor:o,navigationBarColor:a,topTextColor:r}=JSON.parse(e.data);this.primaryColor=t,this.minorColor=n,this.btnColor=o,this.navColor="white"===r?"#ffffff":"#000000",this.navBgColor=a||t,this.vars=ok({primary:t},{"--color-minor":n,"--color-btn-text":o})},setTheme(e){this.primaryColor=e}}});function rk(){let e=[];return{add:function(t){return e.push(t),()=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)}},list:()=>e,reset:function(){e=[]}}}const ik=/#/g,sk=/&/g,lk=/\+/g,ck=/%5B/g,dk=/%5D/g,uk=/%5E/g,hk=/%60/g,mk=/%7B/g,pk=/%7C/g,fk=/%7D/g,gk=/%20/g;function yk(e){return function(e){return encodeURI(`${e}`).replace(pk,"|").replace(ck,"[").replace(dk,"]")}(e).replace(lk,"%2B").replace(gk,"+").replace(ik,"%23").replace(sk,"%26").replace(hk,"`").replace(mk,"{").replace(fk,"}").replace(uk,"^")}function vk(e){try{return decodeURIComponent(`${e}`)}catch(t){bk(`Error decoding "${e}". Using original value`)}return`${e}`}function bk(e,t=!1,...n){t&&console.warn(`[uni-router warn]: ${e}`,...n)}const _k=Symbol("navigation failure"),wk={1:({location:e})=>`Navigation ${"string"==typeof e?e:JSON.stringify(e)} is not found`,2:({from:e,to:t})=>`Redirected from "${JSON.stringify(e)}" to "${JSON.stringify(t)}" via a navigation guard.`,4:({from:e,to:t})=>`Navigation aborted from "${JSON.stringify(e)}" to "${JSON.stringify(t)}" via a navigation guard.`,8:({from:e,to:t})=>`Navigation cancelled from "${JSON.stringify(e)}" to "${JSON.stringify(t)}" with a new navigation.`,16:({from:e,to:t})=>`Avoided redundant navigation to current location: "${JSON.stringify(e)}".`};function Tk(e,t){return e instanceof Error&&_k in e&&(null==t||!!(e.type&t))}function xk(e,t){return Object.assign(new Error(wk[e](t)),{type:e,[_k]:!0},t)}const Sk=Array.isArray,Ck=e=>"string"==typeof e,kk=/(^mp-weixin$)|(^mp-baidu$)|(^mp-alipay$)|(^mp-toutiao$)|(^mp-qq$)|(^mp-360$)/g,Mk=["navigateTo","redirectTo","reLaunch","switchTab","navigateBack"];var Ak,Ik;(Ik=Ak||(Ak={})).navigate="navigateTo",Ik.redirect="redirectTo",Ik.reLaunch="reLaunch",Ik.switchTab="switchTab",Ik.navigateBack="navigateBack";const Rk={path:"/",name:"",query:{},fullPath:"/",meta:{}},Ek=Symbol(),Pk=Symbol();function Lk(){return lr(Ek)}function Ok(){return lr(Pk)}const Bk={navigateTo:Uv,redirectTo:Hm,reLaunch:qm,switchTab:Fm,navigateBack:Hv};function Nk(e){const t={};if(""===e||"?"===e)return t;const n=("?"===e[0]?e.slice(1):e).split("&");for(let o=0;o-1?(o=t.slice(0,i),r=t.slice(i+1),a=e(r)):o=t,o=function(e,t){if(e.startsWith("/"))return e;if(!t.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),o=e.split("/"),a=o[o.length-1];".."!==a&&"."!==a||o.push("");let r,i,s=n.length-1;for(r=0;r1&&s--}return`${n.slice(0,s).join("/")}/${o.slice(r-(r===o.length?1:0)).join("/")}`}(null!=o?o:t,n),{path:o,query:a}}function jk(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n}function zk(e){const t=new Map,n=new Map,o=new Map;return e.routes.forEach(a=>function(a){let{path:r,aliasPath:i,name:s}=a;const l=JSON.stringify(a);null!=r&&void 0!==r||bk(`当前路由对象route:${l}不规范,必须含有\`path\``,e.debug),0!==r.indexOf("/")&&"*"!==r&&bk(`当前路由对象route:${l} \`path\`缺少前缀 ‘/’`,e.debug),i=i||r,n.set(r,a),t.set(i,a),s&&(o.has(s)&&bk(`当前路由对象route:${l} 的\`name\`已存在路由表中,将会覆盖旧值`,e.debug),o.set(s,a))}(a)),{getRouteByAliasPath:function(e){return t.get(e)},getRouteByPath:function(e){return n.get(e)},getRouteByName:function(e){return o.get(e)}}}function Fk(e,t){var n;let{fullPath:o,path:a,name:r,query:i,meta:s}=t;const{getRouteByAliasPath:l,getRouteByPath:c}=e.routeMatcher,d=Object.assign({},Rk);if("h5"===e.options.platform){const d="/"===a?l(a):c(a);i=t.query=Dk(null===(n=$k(e.parseQuery,o))||void 0===n?void 0:n.query),o=jk(e.stringifyQuery,t),s=Object.assign({},null==d?void 0:d.meta,s),r=null==d?void 0:d.name}return d.fullPath=o,d.meta=s,d.path=a,d.name=r,d.query=i,d}function Wk(e){return"string"==typeof e||e&&"object"==typeof e}function Hk(e,t){return!(!e.fullPath&&!t.fullPath)&&e.fullPath===t.fullPath}function Uk(e,t){const n=e.resolve("*");if(!n||void 0===n.redirect)throw bk("未匹配到*通配符路径,或者*通配符必须配合 redirect 使用。redirect: string | Location",e.options.debug),xk(1,{location:t});let o;o="function"==typeof n.redirect?n.redirect(t):n.redirect;if(void 0===e.resolve(o))throw bk(`无法解析解析出redirect:${JSON.stringify(o)}中的内容,`,e.options.debug),xk(1,{location:t});return xk(2,{to:o,from:t})}function qk(e){return e.reduce((e,t)=>e.then(()=>t()),Promise.resolve())}function Yk(e,t,n){return()=>new Promise((o,a)=>{const r=e=>{!1===e?a(xk(4,{to:t,from:n})):e instanceof Error?a(e):Wk(e)?a(xk(2,{to:e,from:t})):o()},i=e(t,n,r);let s=Promise.resolve(i);"object"==typeof i&&"then"in i?s=s.then(r):void 0!==i&&r(i),s.catch(e=>a(e))})}function Zk(e,t){let n=e.$scope.route;n=n.startsWith("/")?n:`/${n}`;return{path:n,query:e.$scope.options||{}}}function Gk(e,t,n,o){return(...a)=>{t.call(n,a,t=>{e.apply(n,t)},o)}}const Qk={onLoad([e],t,n){t([Dk(e)])},onShow(e,t,n){console.log(e);const o=mp().length;let a,r;if(n.fromRoute)a=n.currentRoute.value,r=n.fromRoute,n.fromRoute=void 0;else{const o=Zk(this);if(a=Fk(n,n.resolve(o)),r=n.currentRoute.value,Hk(a,r))return t(e);n.currentRoute.value=a}const i=[];for(const s of n.guards.afterGuards.list())i.push(()=>{return e=this,t=null,n=function*(){s(a,r)},new Promise((o,a)=>{var r=e=>{try{s(n.next(e))}catch(VR){a(VR)}},i=e=>{try{s(n.throw(e))}catch(VR){a(VR)}},s=e=>e.done?o(e.value):Promise.resolve(e.value).then(r,i);s((n=n.apply(e,t)).next())});var e,t,n});qk(i),n.level=o,t(e)}};function Jk(e,t){return{path:e.$page.path,query:e.$page.options||{}}}const Xk={onShow(e){const t=mp().length;let n,o;if(e.fromRoute)n=e.currentRoute.value,o=e.fromRoute,e.fromRoute=void 0;else{const t=Jk(this);if(n=Fk(e,e.resolve(t)),o=e.currentRoute.value,Hk(n,o))return;e.currentRoute.value=n}const a=[];for(const r of e.guards.afterGuards.list())a.push(()=>{return e=this,t=null,a=function*(){r(n,o)},new Promise((n,o)=>{var r=e=>{try{s(a.next(e))}catch(VR){o(VR)}},i=e=>{try{s(a.throw(e))}catch(VR){o(VR)}},s=e=>e.done?n(e.value):Promise.resolve(e.value).then(r,i);s((a=a.apply(e,t)).next())});var e,t,a});qk(a),e.level=t}};function Kk(e,t){const n=function(e){let t=e.options.platform;kk.test(t)&&(t="applets");const n={app:{beforeCreate(){"page"===this.$mpType&&function(e,t){if(Xk&&e.$)for(const n in Xk){const o=Xk[n],a=e.$[n];Sk(a)?a.unshift(o.bind(e,t)):e.$[n]=[o.bind(e,t)]}}(this,e)}},h5:{},applets:{beforeCreate(){"page"===this.$mpType&&function(e,t){if(console.log(e),Qk&&e.$scope)for(const n in Qk){const o=Qk[n],a=e.$scope[n];a&&(e.$scope[n]=Gk(a,o,e,t))}}(this,e)}}};return n[t]||{}}(t);e.mixin(n)}function eM(e,t,n){var o;const a={beforeGuards:()=>{var t;null===(t=e.vueRouter)||void 0===t||t.beforeEach((t,o,a)=>{const r=e.resolve(t),i=Fk(e,t),s=Fk(e,o);let l;void 0===r&&(l=Uk(e,i));const c=t=>{if(!Wk(t)||t instanceof Error)a(t);else if(Ck(t)||!t.navType){const n=e.resolve(t);n&&a({path:n.path,query:n.query})}else{const n=t.navType;e.navigate(t,n)}};if(Tk(l,2))return void e.redirectTo(null==l?void 0:l.to);const d=n(i,s,c);"object"==typeof d&&"then"in d?d.then(c).catch(()=>{c(!1)}):void 0!==d&&c(d)})},afterGuards:()=>{var t;null===(t=e.vueRouter)||void 0===t||t.afterEach((t,o)=>{const a=Fk(e,t),r=Fk(e,o);n(a,r)})}};null===(o=a[t])||void 0===o||o.call(a)}var tM=Object.defineProperty,nM=Object.defineProperties,oM=Object.getOwnPropertyDescriptors,aM=Object.getOwnPropertySymbols,rM=Object.prototype.hasOwnProperty,iM=Object.prototype.propertyIsEnumerable,sM=(e,t,n)=>t in e?tM(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,lM=(e,t)=>{for(var n in t||(t={}))rM.call(t,n)&&sM(e,n,t[n]);if(aM)for(var n of aM(t))iM.call(t,n)&&sM(e,n,t[n]);return e},cM=(e,t)=>nM(e,oM(t));var dM={resolve:function(e,t,n="navigateTo"){const{getRouteByName:o,getRouteByPath:a,getRouteByAliasPath:r}=e.routeMatcher;if(Ck(t)&&(t={path:t}),Reflect.has(t,"delta")&&"navigateBack"===n||"backbutton"===t.from)return t;Reflect.has(t,"url")&&(t=cM(lM({},t),{path:t.url}));const i=e.currentRoute.value.path,s="/"===i?r(i):a(i);if(Reflect.has(t,"path")){const n=$k(e.parseQuery,t.path,null==s?void 0:s.path);let o=a(n.path);if(void 0===o&&(o=r(n.path)),void 0===o)return;const i=Object.assign({},n.query,null==t?void 0:t.query),l=jk(e.stringifyQuery,{path:o.path,query:i});return cM(lM({},t),{path:o.path,meta:o.meta||{},name:o.name,redirect:o.redirect,fullPath:l,query:i})}if(Reflect.has(t,"name")){let n=o(t.name);if(void 0===n)return void(n=a("*"));const r=Object.assign({},t.query),i=jk(e.stringifyQuery,{path:n.path,query:r});return cM(lM({},t),{path:n.path,meta:n.meta||{},name:n.name,redirect:n.redirect,fullPath:i,query:r})}},mount:function(e,t){!function(e,t){const{h5:n}=t.options,o=e.config.globalProperties.$router,a=o.options.scrollBehavior;Object.assign(o.options,n),o.options.scrollBehavior=function(e,t,o){return(null==n?void 0:n.scrollBehavior)?null==n?void 0:n.scrollBehavior(e,t,o):a(e,t,o)},t.vueRouter=o;for(const[r,i]of Object.entries(t.guards))i.list().forEach(e=>{eM(t,r,e)});o.afterEach(e=>{t.currentRoute.value=Fk(t,e)})}(e,t)},navigate:function(e,t,n="navigateTo",o){let a,r=e.resolve(t,n);void 0===r&&(a=Uk(e,t));const i=e.currentRoute.value,s=mp();return"navigateBack"===n&&r.delta>=s.length&&(r=e.resolve("/","reLaunch"),n="reLaunch"),(a?Promise.resolve(a):e.jump(r,n)).catch(e=>Tk(e,2)?e:Promise.reject(e)).then(t=>{if(t){if(Tk(t,2)){const n=e.resolve(null==t?void 0:t.to);return r&&Hk(r,n)&&o&&(o._count=o._count?o._count+1:1)>30?(bi(`检测到从“${i.fullPath}”到“${r.fullPath}”时导航守卫中可能存在无限重定向。中止以避免堆栈溢出。\n 是否总是在导航防护中返回新位置?这将导致此错误。仅在重定向或中止时返回,这应该可以解决此问题。如果未修复,这可能会在生产中中断`,e.options.debug),Promise.reject(new Error("Infinite redirect in navigation guard"))):e.navigate(n,n.navType,o||r)}return Promise.resolve(t)}})},jump:function(e,t,n){return new Promise((e,o)=>{Bk[n](cM(lM({},t),{url:t.fullPath,success(n){var o;e(n),null===(o=t.success)||void 0===o||o.call(t,n)},fail(e){var n;o(e),null===(n=t.fail)||void 0===n||n.call(t,e)},complete(e){var n;null===(n=t.complete)||void 0===n||n.call(t,e)}}))})},forceGuardEach:function(e){return t=this,n=null,o=function*(){throw new Error("在h5端上使用:forceGuardEach 是无意义的,目前 forceGuardEach 仅支持在非h5端上使用")},new Promise((e,a)=>{var r=e=>{try{s(o.next(e))}catch(VR){a(VR)}},i=e=>{try{s(o.throw(e))}catch(VR){a(VR)}},s=t=>t.done?e(t.value):Promise.resolve(t.value).then(r,i);s((o=o.apply(t,n)).next())});var t,n,o}},uM=Object.defineProperty,hM=Object.defineProperties,mM=Object.getOwnPropertyDescriptors,pM=Object.getOwnPropertySymbols,fM=Object.prototype.hasOwnProperty,gM=Object.prototype.propertyIsEnumerable,yM=(e,t,n)=>t in e?uM(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,vM=(e,t)=>{for(var n in t||(t={}))fM.call(t,n)&&yM(e,n,t[n]);if(pM)for(var n of pM(t))gM.call(t,n)&&yM(e,n,t[n]);return e},bM=(e,t)=>hM(e,mM(t)),_M=(e,t,n)=>new Promise((o,a)=>{var r=e=>{try{s(n.next(e))}catch(VR){a(VR)}},i=e=>{try{s(n.throw(e))}catch(VR){a(VR)}},s=e=>e.done?o(e.value):Promise.resolve(e.value).then(r,i);s((n=n.apply(e,t)).next())});var wM={resolve:function(e,t,n="navigateTo"){const{getRouteByName:o,getRouteByPath:a,getRouteByAliasPath:r}=e.routeMatcher;if(Ck(t)&&(t={path:t}),Reflect.has(t,"delta")&&"navigateBack"===n||"backbutton"===t.from){t.delta=t.delta||1;const n=mp();let o,a=0;n.length>t.delta&&(a=n.length-1-t.delta),o="app"===e.options.platform?Jk(n[a]):Zk(n[a].$vm),t=bM(vM(vM({},o),t),{force:"backbutton"===t.from})}Reflect.has(t,"url")&&(t=bM(vM({},t),{path:t.url}));const i=e.currentRoute.value.path,s="/"===i?r(i):a(i);if(Reflect.has(t,"path")){const n=$k(e.parseQuery,t.path,null==s?void 0:s.path);let o=a(n.path);if(void 0===o&&(o=r(n.path)),void 0===o)return;const i=Object.assign({},n.query,null==t?void 0:t.query),l=jk(e.stringifyQuery,{path:o.path,query:i});return bM(vM({},t),{path:o.path,meta:o.meta||{},name:o.name,redirect:o.redirect,fullPath:l,query:i})}if(Reflect.has(t,"name")){const n=o(t.name);if(void 0===n)return;const a=Object.assign({},t.query),r=jk(e.stringifyQuery,{path:n.path,query:a});return bM(vM({},t),{path:n.path,meta:n.meta||{},name:n.name,redirect:n.redirect,fullPath:r,query:a})}},mount:function(e,t){t.forceGuardEach()},navigate:function(e,t,n="navigateTo",o){try{const a=e.resolve(t,n),r=null==a?void 0:a.force;if(e.lock&&!r)return Promise.resolve();e.lock=!0;const i=e.currentRoute.value;let s;if(void 0===a)s=Uk(e,t);else if(!r&&Hk(a,i)){s=xk(16,{to:Fk(e,a),from:i})}return(s?Promise.resolve(s):e.jump(a,n)).catch(e=>Tk(e,2)?e:Promise.reject(e)).then(t=>{if(t){if(Tk(t,2)){const n=e.resolve(null==t?void 0:t.to);return a&&Hk(a,n)&&o&&(o._count=o._count?o._count+1:1)>30?(bk(`检测到从“${i.fullPath}”到“${a.fullPath}”时导航守卫中可能存在无限重定向。中止以避免堆栈溢出。\n 是否总是在导航防护中返回新位置?这将导致此错误。仅在重定向或中止时返回,这应该可以解决此问题。如果未修复,这可能会在生产中中断`,e.options.debug),Promise.reject(new Error("Infinite redirect in navigation guard"))):(e.lock=!1,e.navigate(n,n.navType,o||a))}return Promise.resolve(t)}}).finally(()=>{e.lock=!1})}catch(a){return e.lock=!1,Promise.reject(a)}},jump:function(e,t,n){return new Promise((o,a)=>{const r=Fk(e,t);Promise.resolve().then(()=>{const t=[];for(const n of e.guards.beforeGuards.list())t.push(Yk(n,r,e.currentRoute.value));return qk(t)}).then(()=>{e.fromRoute=e.currentRoute.value,e.currentRoute.value=r,Bk[n](bM(vM({},t),{url:t.fullPath,success(e){var n;null===(n=t.success)||void 0===n||n.call(t,e),o(e)},fail(e){var n;null===(n=t.fail)||void 0===n||n.call(t,e),a(e)},complete(e){var n;null===(n=t.complete)||void 0===n||n.call(t,e)}}))}).catch(a)})},forceGuardEach:function(e){return _M(this,null,function*(){const t=function(){const e=om();return{path:`/${e.path}`,query:e.query||{}}}(),n=e.resolve(t);let o;if(void 0===n)o=Uk(e,t);else{const t=Fk(e,n),r=[];for(const n of e.guards.beforeGuards.list())r.push(Yk(n,t,Rk));try{yield qk(r),e.currentRoute.value=t;const n=[];for(const o of e.guards.afterGuards.list())n.push(()=>_M(this,null,function*(){o(t,Rk)}));yield qk(n)}catch(a){o=a}}if(Tk(o,2))return e.reLaunch(null==o?void 0:o.to)})}};const TM="app_device_id";function xM(){try{const e=uv(TM);if(e)return e}catch(VR){}const e="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,e=>{const t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)});try{lv(TM,e)}catch(VR){}return e}function SM(){return"h5"}async function CM(){try{const t=function(){var e;const t=xM();let n={};try{n=ov()}catch(VR){}let o="";try{const t=null==(e=null==iv?void 0:iv.sync)?void 0:e.call(iv);t&&t.networkType&&(o=t.networkType)}catch(VR){}return{device_id:t,platform:"h5",system:[n.osName,n.osVersion||n.system].filter(Boolean).join(" "),model:n.model||n.deviceModel||"",brand:n.brand||n.deviceBrand||"",app_version:n.appVersion||"",app_version_code:Number(n.appWgtVersion||n.appVersionCode||0)||0,screen_width:n.screenWidth||n.windowWidth||0,screen_height:n.screenHeight||n.windowHeight||0,network_type:o,language:n.language||n.osLanguage||"",timezone:("undefined"!=typeof Intl?Intl.DateTimeFormat().resolvedOptions().timeZone:"")||""}}();try{await new Promise(e=>{iv({success:n=>{t.network_type=n.networkType||"",e()},fail:()=>e()})})}catch(VR){}await(e=t,jS.post({url:"/device/register",data:e},{withToken:!1}))}catch(VR){console.warn("[device] 设备信息上报失败:",VR)}var e}const kM=la({__name:"App",setup(e){const t=US(),{getUser:n}=NS(),{getTheme:o}=ak(),a=Lk(),r=Ok(),i=()=>{const e=t.getWebsiteConfig;let n=document.querySelector('link[rel="icon"]');n?n.href=e.h5_favicon:(n=document.createElement("link"),n.rel="icon",n.href=e.h5_favicon,document.head.appendChild(n))},s=async()=>{await t.getConfig(),l=!0,i();const{status:e,page_status:n,page_url:o}=t.getH5Config;if(!r.meta.webview&&0==e){if(1==n&&o)try{if(new URL(o).origin!==location.origin)return location.href=o}catch(VR){}a.reLaunch("/pages/web_closed/web_closed")}};rT(async e=>{var t;console.log("[app] onLaunch 开始执行");const a=null==(t=null==e?void 0:e.query)?void 0:t.invite_code;a&&(lv("invite_code",a),console.log("[app] 保存邀请码:",a));const r=new URLSearchParams(window.location.search).get("invite_code");r&&(lv("invite_code",r),console.log("[app] H5保存邀请码:",r)),o(),s(),CM(),i();if(NS().isLogin)try{await n()}catch(VR){console.log("[app] getUser error:",VR)}console.log("[app] onLaunch 执行完毕")});let l=!1;return oT(()=>{l||(console.log("[app] onShow: config未加载,重新拉取"),s().then(()=>{l=!0}))}),(e,t)=>{const n=ny;return Br(),jr(n)}}});Py(kM,{init:Ry,setup(e){const t=Cu(),n=()=>{var n;n=e,Object.keys(nm).forEach(e=>{nm[e].forEach(t=>{Ca(e,t,n)})});const{onLaunch:o,onShow:a,onPageNotFound:r}=e,i=function({path:e,query:t}){return u(Qp,{path:e,query:t}),u(Jp,Qp),u({},Qp)}({path:t.path.slice(1)||__uniRoutes[0].meta.route,query:at(t.query)});if(o&&N(o,i),a&&N(a,i),!t.matched.length){const e={notFound:!0,openType:"appLaunch",path:t.path,query:at(t.query),scene:1001};Zm(),r&&N(r,e)}};return lr(Vl).isReady().then(n),Aa(()=>{window.addEventListener("resize",st(Oy,50,{setTimeout:setTimeout,clearTimeout:clearTimeout})),window.addEventListener("message",By),document.addEventListener("visibilitychange",Ny),function(){let e=null;try{e=window.matchMedia("(prefers-color-scheme: dark)")}catch(t){}if(e){let t=e=>{Hb.emit(ue,{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=()=>(Br(),jr(Vb));e.setup=(e,o)=>{const a=t&&t(e,o);return v(a)?n:a},e.render=n}});const MM=(e,t)=>{const n=e.__vccOpts||e;for(const[o,a]of t)n[o]=a;return n};const AM=MM({name:"u-image",emits:["click","error","load"],props:{src:{type:String,default:""},mode:{type:String,default:"aspectFill"},width:{type:[String,Number],default:"100%"},height:{type:[String,Number],default:"auto"},shape:{type:String,default:"square"},borderRadius:{type:[String,Number],default:0},lazyLoad:{type:Boolean,default:!0},showMenuByLongpress:{type:Boolean,default:!0},loadingIcon:{type:String,default:"photo"},errorIcon:{type:String,default:"error-circle"},showLoading:{type:Boolean,default:!0},showError:{type:Boolean,default:!0},fade:{type:Boolean,default:!0},webp:{type:Boolean,default:!1},duration:{type:[String,Number],default:500},bgColor:{type:String,default:"#f3f4f6"}},data(){return{isError:!1,loading:!0,opacity:1,durationTime:this.duration,backgroundStyle:{}}},watch:{src:{immediate:!0,handler(e){e?this.isError=!1:(this.isError=!0,this.loading=!1)}}},computed:{wrapStyle(){let e={};return e.width=this.$u.addUnit(this.width),e.height=this.$u.addUnit(this.height),e.borderRadius="circle"==this.shape?"50%":this.$u.addUnit(this.borderRadius),e.overflow=this.borderRadius>0?"hidden":"visible",this.fade&&(e.opacity=this.opacity,e.transition=`opacity ${Number(this.durationTime)/1e3}s ease-in-out`),e}},methods:{onClick(){this.$emit("click")},onErrorHandler(e){this.loading=!1,this.isError=!0,this.$emit("error",e)},onLoadHandler(){if(this.loading=!1,this.isError=!1,this.$emit("load"),!this.fade)return this.removeBgColor();this.opacity=0,this.durationTime=0,setTimeout(()=>{this.durationTime=this.duration,this.opacity=1,setTimeout(()=>{this.removeBgColor()},this.durationTime)},50)},removeBgColor(){this.backgroundStyle={backgroundColor:"transparent"}}}},[["render",function(e,t,n,o,a,r){const i=Mf,s=Bo("u-icon"),l=ny;return Br(),jr(l,{class:"u-image",onClick:r.onClick,style:Ue([r.wrapStyle,a.backgroundStyle])},{default:Io(()=>[a.isError?Qr("",!0):(Br(),jr(i,{key:0,src:n.src,mode:n.mode,onError:r.onErrorHandler,onLoad:r.onLoadHandler,"lazy-load":n.lazyLoad,class:"u-image__image",style:Ue({borderRadius:"circle"==n.shape?"50%":e.$u.addUnit(n.borderRadius)})},null,8,["src","mode","onError","onLoad","lazy-load","style"])),n.showLoading&&a.loading?(Br(),jr(l,{key:1,class:"u-image__loading",style:Ue({borderRadius:"circle"==n.shape?"50%":e.$u.addUnit(n.borderRadius),backgroundColor:n.bgColor})},{default:Io(()=>[e.$slots.loading?Va(e.$slots,"loading",{key:0},void 0,!0):(Br(),jr(s,{key:1,name:n.loadingIcon,width:n.width,height:n.height},null,8,["name","width","height"]))]),_:3},8,["style"])):Qr("",!0),n.showError&&a.isError&&!a.loading?(Br(),jr(l,{key:2,class:"u-image__error",style:Ue({borderRadius:"circle"==n.shape?"50%":e.$u.addUnit(n.borderRadius)})},{default:Io(()=>[e.$slots.error?Va(e.$slots,"error",{key:0},void 0,!0):(Br(),jr(s,{key:1,name:n.errorIcon,width:n.width,height:n.height},null,8,["name","width","height"]))]),_:3},8,["style"])):Qr("",!0)]),_:3},8,["onClick","style"])}],["__scopeId","data-v-be15e63c"]]),IM=MM(la({__name:"feed-card",props:{item:{default:()=>({})}},setup(e){const t=e,n=gi(()=>{return t.item.desc?t.item.desc:t.item.content?(e=t.item.content,e?e.replace(/<[^>]+>/g,"").replace(/ /g," ").replace(/\s+/g," ").trim():"").substring(0,100):"";var e}),o=gi(()=>String(t.item.author||"").replace(/@懂球帝/g,"").trim()||"体育小编"),a=e=>{if(!e)return"";const t=new Date(e.replace(/-/g,"/"));if(isNaN(t.getTime()))return e;return`${String(t.getMonth()+1).padStart(2,"0")}-${String(t.getDate()).padStart(2,"0")} ${String(t.getHours()).padStart(2,"0")}:${String(t.getMinutes()).padStart(2,"0")}`};return(e,t)=>{const r=ny,i=Jg,s=xg;return Br(),jr(s,{url:`/pages/news_detail/news_detail?id=${e.item.id}`,class:"feed-card"},{default:Io(()=>[Yr(r,{class:"feed-card__body"},{default:Io(()=>[Yr(r,{class:"feed-card__info"},{default:Io(()=>[Yr(r,{class:"feed-card__title"},{default:Io(()=>[Gr(G(e.item.title),1)]),_:1}),n.value?(Br(),jr(r,{key:0,class:"feed-card__desc"},{default:Io(()=>[Gr(G(n.value),1)]),_:1})):Qr("",!0),Yr(r,{class:"feed-card__footer"},{default:Io(()=>[Yr(i,{class:"feed-card__author"},{default:Io(()=>[Gr(G(o.value),1)]),_:1}),Yr(r,{class:"feed-card__footer-right"},{default:Io(()=>[Yr(i,{class:"feed-card__meta"},{default:Io(()=>[Gr(G(e.item.comment_count||e.item.click||0)+"阅读",1)]),_:1}),Yr(i,{class:"feed-card__meta"},{default:Io(()=>[Gr(G(a(e.item.create_time)),1)]),_:1})]),_:1})]),_:1})]),_:1}),e.item.image?(Br(),jr(AM,{key:0,src:e.item.image,width:"220",height:"140","border-radius":"8",mode:"aspectFill",class:"feed-card__img"},null,8,["src"])):Qr("",!0)]),_:1})]),_:1},8,["url"])}}}),[["__scopeId","data-v-38579be8"]]),RM=MM(la({__name:"feed-video-card",props:{item:{default:()=>({})}},setup(e){const t=e,n=Wn(!1),o=gi(()=>t.item.video_url?t.item.video_url:(e=>{if(!e)return"";const t=e.match(/src="(https?:\/\/[^\"]+\.mp4[^\"]*)"/i);return t?t[1]:""})(t.item.content)),a=()=>{o.value?n.value=!0:Uv({url:`/pages/news_detail/news_detail?id=${t.item.id}`})},r=()=>{n.value=!1,mb({title:"视频加载失败",icon:"none"})},i=()=>{Uv({url:`/pages/news_detail/news_detail?id=${t.item.id}`})},s=gi(()=>{return t.item.desc?t.item.desc:t.item.content?(e=t.item.content,e?e.replace(/<[^>]+>/g,"").replace(/ /g," ").replace(/\s+/g," ").trim():"").substring(0,100):"";var e}),l=gi(()=>((e,t=90)=>e?e.length<=t?e:`${e.slice(0,t).trimEnd()}...`:"")((e=>e?e.replace(/<[^>]+>/g," ").replace(/ /g," ").replace(/\s+/g," ").trim():"")(t.item.translated_content||""),90)),c=e=>{if(!e)return"";const t=new Date(e.replace(/-/g,"/"));if(isNaN(t.getTime()))return e;return`${String(t.getMonth()+1).padStart(2,"0")}-${String(t.getDate()).padStart(2,"0")} ${String(t.getHours()).padStart(2,"0")}:${String(t.getMinutes()).padStart(2,"0")}`};return(e,t)=>{const d=ny,u=Jg,h=jy,m=Mf;return Br(),jr(d,{class:"video-card"},{default:Io(()=>[Yr(d,{class:"video-card__main"},{default:Io(()=>[Yr(d,{class:"video-card__info"},{default:Io(()=>[Yr(d,{class:"video-card__title",onClick:i},{default:Io(()=>[Gr(G(e.item.title),1)]),_:1}),s.value?(Br(),jr(d,{key:0,class:"video-card__desc",onClick:i},{default:Io(()=>[Gr(G(s.value),1)]),_:1})):Qr("",!0),Yr(d,{class:"video-card__footer",onClick:i},{default:Io(()=>[Yr(u,{class:"video-card__author"},{default:Io(()=>[Gr(G(e.item.author||"体育小编"),1)]),_:1}),Yr(u,{class:"video-card__meta"},{default:Io(()=>[Gr(G(c(e.item.create_time)),1)]),_:1}),Yr(d,{class:"video-card__right"},{default:Io(()=>[Yr(u,{class:"video-card__meta"},{default:Io(()=>[Gr(G(e.item.click||0)+"播放",1)]),_:1})]),_:1})]),_:1})]),_:1}),Yr(d,{class:"video-card__cover"},{default:Io(()=>[n.value?(Br(),jr(h,{key:0,class:"video-card__video",src:o.value,poster:e.item.image,autoplay:!0,"show-fullscreen-btn":!0,"show-play-btn":!0,controls:!0,"object-fit":"contain",onEnded:t[0]||(t[0]=e=>n.value=!1),onError:r},null,8,["src","poster"])):(Br(),$r(Ir,{key:1},[Yr(m,{class:"video-card__img",src:e.item.image||"/static/images/default_cover.png",mode:"aspectFill"},null,8,["src"]),Yr(d,{class:"video-card__play",onClick:ms(a,["stop"])},{default:Io(()=>[Yr(d,{class:"video-card__play-btn"},{default:Io(()=>[Yr(d,{class:"video-card__play-icon"})]),_:1})]),_:1}),e.item.duration?(Br(),jr(d,{key:0,class:"video-card__duration"},{default:Io(()=>[Yr(u,null,{default:Io(()=>[Gr(G(e.item.duration),1)]),_:1})]),_:1})):Qr("",!0)],64))]),_:1})]),_:1}),l.value?(Br(),jr(d,{key:0,class:"video-card__translate",onClick:i},{default:Io(()=>[Yr(u,{class:"video-card__translate-text"},{default:Io(()=>[Gr(G(l.value),1)]),_:1})]),_:1})):Qr("",!0)]),_:1})}}}),[["__scopeId","data-v-7201ac42"]]),EM=(e,t)=>{const n=Number(e||0);return!Number.isFinite(n)||n<=0?0:(e=>!!e&&(61===Number(e.competition_id||0)||"世界杯"===String(e.league_name||"")))(t)?n+28800:n},PM=(e,t)=>{const n=EM(e,t);return n?new Date(1e3*n):null},LM=MM(la({__name:"match-card",props:{match:{},showLiveAi:{type:Boolean}},setup(e){const t=e,n={1:"live",0:"upcoming",3:"postponed",2:"ended"},o={1:"进行中",0:"未开始",3:"推迟",2:"已结束"},a={1:{left:"#008248",right:"#00471b"},2:{left:"#006BB7",right:"#D0202D"},4:{left:"#6B3FA0",right:"#3F1D6B"},5:{left:"#C47A20",right:"#8B5512"}},r={left:"#008248",right:"#00471b"},i=gi(()=>{const e=a[t.match.sport_type]||r;return{"--bg-left-color":e.left,"--bg-right-color":e.right}}),s=gi(()=>n[t.match.status]||"other"),l=gi(()=>{var e;return!!t.showLiveAi&&["live","upcoming"].includes(s.value)&&!!(null==(e=t.match)?void 0:e.id)}),c=gi(()=>["live","upcoming","ended"].includes(s.value)),d=gi(()=>!c.value),u=gi(()=>1===t.match.status?"· 进行中 ·":o[t.match.status]||"未开始"),h=gi(()=>{if(!t.match.match_time)return"";const e=PM(t.match.match_time,t.match);if(!e)return"";return`${e.getFullYear()}-${String(e.getMonth()+1).padStart(2,"0")}-${String(e.getDate()).padStart(2,"0")} ${String(e.getHours()).padStart(2,"0")}:${String(e.getMinutes()).padStart(2,"0")}`}),m=()=>{var e;const n=null==(e=t.match)?void 0:e.id;n&&Uv({url:`/pages/ai_analysis/ai_analysis?type=match&id=${n}`})};return(e,t)=>{const n=Jg,o=ny,a=Mf;return Br(),jr(o,{class:qe(["mc","mc--"+s.value])},{default:Io(()=>[Yr(o,{class:"mc__tags"},{default:Io(()=>[Yr(o,{class:"mc__tags-left"},{default:Io(()=>[Yr(n,{class:"mc__tag-label"},{default:Io(()=>[Gr(G(e.match.league_name||"赛事"),1)]),_:1}),Yr(o,{class:"mc__tag-pill"},{default:Io(()=>[Yr(n,null,{default:Io(()=>[Gr("联赛")]),_:1})]),_:1}),e.match.round_name?(Br(),jr(o,{key:0,class:"mc__tag-pill"},{default:Io(()=>[Yr(n,null,{default:Io(()=>[Gr(G(e.match.round_name),1)]),_:1})]),_:1})):Qr("",!0)]),_:1}),Yr(o,{class:"mc__tags-right"},{default:Io(()=>[c.value?(Br(),jr(n,{key:0,class:qe(["mc__time","mc__time--"+s.value])},{default:Io(()=>[Gr(G(h.value),1)]),_:1},8,["class"])):Qr("",!0),e.match.is_hot?(Br(),jr(o,{key:1,class:"mc__tag-hot"},{default:Io(()=>[Yr(n,null,{default:Io(()=>[Gr("热门")]),_:1})]),_:1})):Qr("",!0)]),_:1})]),_:1}),1===e.match.status?(Br(),jr(o,{key:0,class:"mc__body-live",style:Ue(i.value)},{default:Io(()=>[Yr(o,{class:"mc__bg-left"}),Yr(o,{class:"mc__bg-right"}),Yr(o,{class:"mc__home mc__home--live"},{default:Io(()=>[e.match.home_icon?(Br(),jr(a,{key:0,class:"mc__icon",src:e.match.home_icon,mode:"aspectFit"},null,8,["src"])):Qr("",!0),Yr(n,{class:"mc__name mc__name--white"},{default:Io(()=>[Gr(G(e.match.home_team),1)]),_:1}),Yr(n,{class:"mc__eng mc__eng--white"},{default:Io(()=>[Gr(G(e.match.home_team_en||""),1)]),_:1})]),_:1}),Yr(o,{class:"mc__vs-area mc__vs-area--live"},{default:Io(()=>[Yr(n,{class:"mc__num mc__num--white"},{default:Io(()=>[Gr(G(e.match.home_score??0),1)]),_:1}),Yr(n,{class:"mc__vs-text mc__vs-text--live"},{default:Io(()=>[Gr("VS")]),_:1}),Yr(n,{class:"mc__num mc__num--white"},{default:Io(()=>[Gr(G(e.match.away_score??0),1)]),_:1})]),_:1}),Yr(o,{class:"mc__away mc__away--live"},{default:Io(()=>[e.match.away_icon?(Br(),jr(a,{key:0,class:"mc__icon",src:e.match.away_icon,mode:"aspectFit"},null,8,["src"])):Qr("",!0),Yr(n,{class:"mc__name mc__name--white"},{default:Io(()=>[Gr(G(e.match.away_team),1)]),_:1}),Yr(n,{class:"mc__eng mc__eng--white"},{default:Io(()=>[Gr(G(e.match.away_team_en||""),1)]),_:1})]),_:1})]),_:1},8,["style"])):0===e.match.status?(Br(),jr(o,{key:1,class:"mc__body-upcoming"},{default:Io(()=>[Yr(o,{class:"mc__row"},{default:Io(()=>[Yr(o,{class:"mc__team-row"},{default:Io(()=>[e.match.home_icon?(Br(),jr(a,{key:0,class:"mc__icon-sm",src:e.match.home_icon,mode:"aspectFit"},null,8,["src"])):Qr("",!0),Yr(o,{class:"mc__team-info"},{default:Io(()=>[Yr(n,{class:"mc__tname"},{default:Io(()=>[Gr(G(e.match.home_team),1)]),_:1}),Yr(n,{class:"mc__teng"},{default:Io(()=>[Gr(G(e.match.home_team_en||""),1)]),_:1})]),_:1})]),_:1}),Yr(o,{class:"mc__odds-item"},{default:Io(()=>[Yr(n,{class:"mc__odds-label"},{default:Io(()=>[Gr("主胜")]),_:1}),Yr(n,{class:"mc__odds-val"},{default:Io(()=>[Gr(G(e.match.home_odds||"0.00"),1)]),_:1})]),_:1})]),_:1}),Yr(o,{class:"mc__row mc__row--mid"},{default:Io(()=>[Yr(o,{class:"mc__vs-center"},{default:Io(()=>[Yr(n,{class:"mc__vs-text"},{default:Io(()=>[Gr("VS")]),_:1})]),_:1}),Yr(o,{class:"mc__odds-item"},{default:Io(()=>[Yr(n,{class:"mc__odds-label"},{default:Io(()=>[Gr("平局")]),_:1}),Yr(n,{class:"mc__odds-val"},{default:Io(()=>[Gr(G(e.match.draw_odds||"0.00"),1)]),_:1})]),_:1})]),_:1}),Yr(o,{class:"mc__row"},{default:Io(()=>[Yr(o,{class:"mc__team-row mc__team-row--away"},{default:Io(()=>[e.match.away_icon?(Br(),jr(a,{key:0,class:"mc__icon-sm",src:e.match.away_icon,mode:"aspectFit"},null,8,["src"])):Qr("",!0),Yr(o,{class:"mc__team-info"},{default:Io(()=>[Yr(n,{class:"mc__tname"},{default:Io(()=>[Gr(G(e.match.away_team),1)]),_:1}),Yr(n,{class:"mc__teng"},{default:Io(()=>[Gr(G(e.match.away_team_en||""),1)]),_:1})]),_:1})]),_:1}),Yr(o,{class:"mc__odds-item"},{default:Io(()=>[Yr(n,{class:"mc__odds-label"},{default:Io(()=>[Gr("客胜")]),_:1}),Yr(n,{class:"mc__odds-val"},{default:Io(()=>[Gr(G(e.match.away_odds||"0.00"),1)]),_:1})]),_:1})]),_:1})]),_:1})):(Br(),jr(o,{key:2,class:"mc__body"},{default:Io(()=>[Yr(o,{class:"mc__home"},{default:Io(()=>[e.match.home_icon?(Br(),jr(a,{key:0,class:"mc__icon",src:e.match.home_icon,mode:"aspectFit"},null,8,["src"])):Qr("",!0),Yr(n,{class:"mc__name"},{default:Io(()=>[Gr(G(e.match.home_team),1)]),_:1}),Yr(n,{class:"mc__eng"},{default:Io(()=>[Gr(G(e.match.home_team_en||""),1)]),_:1})]),_:1}),Yr(o,{class:"mc__vs-area"},{default:Io(()=>[Yr(n,{class:"mc__num"},{default:Io(()=>[Gr(G(e.match.home_score??0),1)]),_:1}),Yr(n,{class:"mc__vs-text"},{default:Io(()=>[Gr("VS")]),_:1}),Yr(n,{class:"mc__num"},{default:Io(()=>[Gr(G(e.match.away_score??0),1)]),_:1})]),_:1}),Yr(o,{class:"mc__away"},{default:Io(()=>[e.match.away_icon?(Br(),jr(a,{key:0,class:"mc__icon",src:e.match.away_icon,mode:"aspectFit"},null,8,["src"])):Qr("",!0),Yr(n,{class:"mc__name"},{default:Io(()=>[Gr(G(e.match.away_team),1)]),_:1}),Yr(n,{class:"mc__eng"},{default:Io(()=>[Gr(G(e.match.away_team_en||""),1)]),_:1})]),_:1})]),_:1})),Yr(o,{class:qe(["mc__footer",{"mc__footer--live-ai":l.value}])},{default:Io(()=>[Yr(o,{class:qe(["mc__badge","mc__badge--"+s.value])},{default:Io(()=>[Yr(n,null,{default:Io(()=>[Gr(G(u.value),1)]),_:1})]),_:1},8,["class"]),d.value?(Br(),jr(n,{key:0,class:qe(["mc__time","mc__time--"+s.value])},{default:Io(()=>[Gr(G(h.value),1)]),_:1},8,["class"])):Qr("",!0),l.value?(Br(),jr(o,{key:1,class:"mc__ai-entry",onClick:ms(m,["stop"])},{default:Io(()=>[Yr(n,{class:"mc__ai-entry-badge"},{default:Io(()=>[Gr("AI")]),_:1}),Yr(n,{class:"mc__ai-entry-text"},{default:Io(()=>[Gr("分析")]),_:1})]),_:1})):Qr("",!0)]),_:1},8,["class"])]),_:1},8,["class"])}}}),[["__scopeId","data-v-8d367897"]]);function OM(e,t="navigateTo"){if("mini_program"===e.type)return void function(e){const t=e.query;window.open(`weixin://dl/business/?appid=${null==t?void 0:t.appId}&path=${null==t?void 0:t.path}&env_version=${null==t?void 0:t.env_version}&query=${encodeURIComponent(null==t?void 0:t.query)}`)}(e);const n=(null==e?void 0:e.query)?`${e.path}?${NM(null==e?void 0:e.query)}`:e.path;("switchTab"==t||e.canTab)&&Fm({url:n}),"navigateTo"==t&&Uv({url:n}),"reLaunch"==t&&qm({url:n})}const BM=e=>null==e&&void 0===e;function NM(e){let t="";for(const n of Object.keys(e)){const o=e[n],a=encodeURIComponent(n)+"=";if(!BM(o))if(console.log(encodeURIComponent(n),w(o)),w(o)){for(const e of Object.keys(o))if(!BM(o[e])){t+=encodeURIComponent(n+"["+e+"]")+"="+encodeURIComponent(o[e])+"&"}}else t+=a+encodeURIComponent(o)+"&"}return t.slice(0,-1)}const DM=la({__name:"l-swiper",props:{content:{default:{data:[]}},mode:{default:"round"},height:{default:"340"},indicatorPos:{default:"bottomCenter"},effect3d:{type:Boolean,default:!1},autoplay:{type:Boolean,default:!0},interval:{default:"2500"},duration:{default:300},circular:{type:Boolean,default:!0},current:{default:0},name:{default:"image"},borderRadius:{default:"0"},bgColor:{default:"#f3f4f6"}},emits:["change"],setup(e,{emit:t}){const n=t,o=e,{getImageUrl:a}=US();Fo(()=>{var e;try{const t=null==o?void 0:o.content,r=null==(e=null==t?void 0:t.data)?void 0:e.length;if(!r)return;for(let e=0;eo.content.data||[]);Lk();const i=e=>{var t;const n=null==(t=o.content.data[e])?void 0:t.link;n&&OM(n)},s=e=>{n("change",e)};return(e,t)=>{const n=Bo("u-swiper");return r.value.length?(Br(),jr(n,{key:0,list:r.value,mode:e.mode,height:e.height,effect3d:e.effect3d,"indicator-pos":e.indicatorPos,autoplay:e.autoplay,interval:e.interval,duration:e.duration,circular:e.circular,borderRadius:e.borderRadius,current:e.current,name:e.name,"bg-color":e.bgColor,onClick:i,onChange:s},null,8,["list","mode","height","effect3d","indicator-pos","autoplay","interval","duration","circular","borderRadius","current","name","bg-color"])):Qr("",!0)}}}),VM=la({__name:"banner",props:{content:{type:Object,default:()=>({})},styles:{type:Object,default:()=>({})},isLargeScreen:{type:Boolean}},emits:["change"],setup(e,{emit:t}){const n=t,o=e,{getImageUrl:a}=US(),r=e=>{n("change",a(o.content.data[e].bg))};return(t,n)=>{const o=ny;return e.content.data.length&&e.content.enabled?(Br(),jr(o,{key:0,class:qe(["banner translate-y-0",{"px-[20rpx]":!e.isLargeScreen}])},{default:Io(()=>[Yr(DM,{content:e.content,height:e.isLargeScreen?"1100":"321",circular:!0,effect3d:!1,"border-radius":e.isLargeScreen?"0":"14",interval:"7000",bgColor:"transparent",onChange:r},null,8,["content","height","border-radius"])]),_:1},8,["class"])):Qr("",!0)}}}),$M=la({__name:"customer-service",props:{content:{type:Object,default:()=>({})},styles:{type:Object,default:()=>({})}},setup(e){const t=e,{getImageUrl:n}=US(),o=gi(()=>``);return(t,n)=>{const a=ny,r=Bo("u-parse");return Br(),$r(Ir,null,[Yr(a,{class:"bg-white p-[30rpx] flex text-[#101010] font-medium text-lg"},{default:Io(()=>[Gr(" 联系我们 ")]),_:1}),Yr(a,{class:"customer-service bg-white flex flex-col justify-center items-center mx-[36rpx] mt-[30rpx] rounded-[20rpx] px-[20rpx] pb-[100rpx]"},{default:Io(()=>[Yr(a,{class:"w-full border-solid border-0 border-b border-[#f5f5f5] p-[30rpx] text-center text-[#101010] text-base font-medium"},{default:Io(()=>[Gr(G(e.content.title),1)]),_:1}),Yr(a,{class:"mt-[60rpx]"},{default:Io(()=>[Yr(r,{html:o.value},null,8,["html"])]),_:1}),e.content.remark?(Br(),jr(a,{key:0,class:"text-sm mt-[40rpx] font-medium"},{default:Io(()=>[Gr(G(e.content.remark),1)]),_:1})):Qr("",!0),e.content.mobile?(Br(),jr(a,{key:1,class:"text-sm mt-[24rpx] flex flex-wrap"},{default:Io(()=>[qr("a",{class:"ml-[10rpx] phone text-primary underline",href:"tel:"+e.content.mobile},G(e.content.mobile),9,["href"])]),_:1})):Qr("",!0),e.content.time?(Br(),jr(a,{key:2,class:"text-muted text-sm mt-[30rpx]"},{default:Io(()=>[Gr(" 服务时间:"+G(e.content.time),1)]),_:1})):Qr("",!0)]),_:1})],64)}}}),jM=la({__name:"middle-banner",props:{content:{type:Object,default:()=>({})},styles:{type:Object,default:()=>({})}},setup(e){const t=e,{getImageUrl:n}=US(),o=gi(()=>{var e;return(null==(e=t.content.data)?void 0:e.filter(e=>"1"==e.is_show))||[]});return(t,a)=>{const r=Bo("u-image"),i=Yg,s=Ug,l=ny;return o.value.length&&e.content.enabled?(Br(),jr(l,{key:0,class:"banner h-[200rpx] mx-[20rpx] mt-[20rpx] translate-y-0"},{default:Io(()=>[Yr(s,{class:"swiper h-full","indicator-dots":o.value.length>1,"indicator-active-color":"#4173ff",autoplay:!0},{default:Io(()=>[(Br(!0),$r(Ir,null,Da(o.value,(e,t)=>(Br(),jr(i,{key:t,onClick:t=>{OM(e.link)}},{default:Io(()=>[Yr(r,{mode:"widthFix",width:"100%",height:"100%",src:Yn(n)(e.image),"border-radius":14},null,8,["src"])]),_:2},1032,["onClick"]))),128))]),_:1},8,["indicator-dots"])]),_:1})):Qr("",!0)}}}),zM=la({__name:"my-service",props:{content:{type:Object,default:()=>({})},styles:{type:Object,default:()=>({})}},setup(e){const t=e,{getImageUrl:n}=US(),o=e=>{OM(e)},a=gi(()=>{var e;return(null==(e=t.content.data)?void 0:e.filter(e=>"1"==e.is_show))||[]});return(t,r)=>{const i=Bo("u-image"),s=Bo("u-icon");return Br(),$r("div",{class:"my-service bg-white mx-[20rpx] mt-[20rpx] rounded-lg p-[30rpx]"},[e.content.title?(Br(),$r("div",{key:0,class:"title font-medium text-lg"},[qr("div",null,G(e.content.title),1)])):Qr("",!0),1==e.content.style?(Br(),$r("div",{key:1,class:"grid grid-cols-4 gap-x-9 gap-y-7"},[(Br(!0),$r(Ir,null,Da(a.value,(e,t)=>(Br(),$r("div",{key:t,class:"flex flex-col items-center pt-[40rpx]",onClick:t=>o(e.link)},[Yr(i,{width:"52",height:"52",src:Yn(n)(e.image),alt:""},null,8,["src"]),qr("div",{class:"mt-[22rpx] text-sm"},G(e.name),1)],8,["onClick"]))),128))])):Qr("",!0),2==e.content.style?(Br(),$r("div",{key:2},[(Br(!0),$r(Ir,null,Da(a.value,(e,t)=>(Br(),$r("div",{key:t,class:"flex items-center border-light border-solid border-0 border-b h-[100rpx] px-[24rpx]",onClick:t=>o(e.link)},[Yr(i,{width:"48",height:"48",src:Yn(n)(e.image),alt:""},null,8,["src"]),qr("div",{class:"ml-[20rpx] flex-1 text-sm"},G(e.name),1),qr("div",{class:"text-muted"},[Yr(s,{name:"arrow-right"})])],8,["onClick"]))),128))])):Qr("",!0)])}}}),FM=la({__name:"nav",props:{content:{type:Object,default:()=>({})},styles:{type:Object,default:()=>({})}},setup(e){const t=e,{getImageUrl:n}=US(),o=Wn(0),a=Wn([]),r=gi(()=>t.content.per_line*t.content.show_line);Ho(()=>t.content.data,e=>{const n=1===t.content.style?e.length:r.value;a.value=((e,t)=>{const n=[];for(let o=0;o{o.value=e.detail.current};return(t,o)=>{const r=Bo("u-image"),s=ny,l=Yg,c=Ug;return Br(),$r("div",{class:"relative mx-[20rpx] mt-[20rpx]"},[Yr(c,{class:"py-[20rpx] bg-white rounded-lg",style:Ue({height:a.value[0].length>e.content.per_line?"288rpx":"132rpx"}),autoplay:!1,"indicator-dots":!1,onChange:i},{default:Io(()=>[(Br(!0),$r(Ir,null,Da(a.value,(t,o)=>(Br(),jr(l,{key:o},{default:Io(()=>[a.value.length&&e.content.enabled?(Br(),jr(s,{key:0,class:"nav"},{default:Io(()=>[Yr(s,{class:"grid grid-rows-auto gap-y-3 w-full",style:Ue({"grid-template-columns":`repeat(${e.content.per_line}, 1fr)`})},{default:Io(()=>[(Br(!0),$r(Ir,null,Da(t,(e,t)=>(Br(),jr(s,{key:t,class:"flex flex-col items-center",onClick:t=>{OM(e.link)}},{default:Io(()=>[Yr(r,{width:"82",height:"82",src:Yn(n)(e.image),alt:""},null,8,["src"]),Yr(s,{class:"mt-[14rpx] text-xs"},{default:Io(()=>[Gr(G(e.name),1)]),_:2},1024)]),_:2},1032,["onClick"]))),128))]),_:2},1032,["style"])]),_:2},1024)):Qr("",!0)]),_:2},1024))),128))]),_:1},8,["style"])])}}}),WM=MM(la({__name:"search",props:{pageMeta:{type:Object,default:()=>[]},content:{type:Object,default:()=>({})},styles:{type:Object,default:()=>({})},isLargeScreen:{type:Boolean},percent:{type:Number}},setup(e){const t=e;return gi(()=>t.pageMeta[0].content),(t,n)=>{const o=Bo("u-search"),a=xg;return e.isLargeScreen?Qr("",!0):(Br(),jr(a,{key:0,url:"/pages/search/search",class:"px-[24rpx] mt-[24rpx] mb-[30rpx]",style:Ue({opacity:1-e.percent}),"hover-class":"none"},{default:Io(()=>[Yr(o,{placeholder:"请输入关键词搜索",height:72,disabled:!0,"show-action":!1,bgColor:"#ffffff"})]),_:1},8,["style"]))}}}),[["__scopeId","data-v-1932de42"]]),HM=la({__name:"user-banner",props:{content:{type:Object,default:()=>({})},styles:{type:Object,default:()=>({})}},setup(e){const t=e,{getImageUrl:n}=US(),o=gi(()=>{var e;return(null==(e=t.content.data)?void 0:e.filter(e=>"1"==e.is_show))||[]});return(t,a)=>{const r=Bo("u-image"),i=Yg,s=Ug,l=ny;return o.value.length&&e.content.enabled?(Br(),jr(l,{key:0,class:"banner h-[200rpx] mx-[20rpx] mt-[20rpx] translate-y-0"},{default:Io(()=>[Yr(s,{class:"swiper h-full","indicator-dots":o.value.length>1,"indicator-active-color":"#4173ff",autoplay:!0},{default:Io(()=>[(Br(!0),$r(Ir,null,Da(o.value,(e,t)=>(Br(),jr(i,{key:t,onClick:t=>{OM(e.link)}},{default:Io(()=>[Yr(r,{mode:"widthFix",width:"100%",height:"100%",src:Yn(n)(e.image),"border-radius":14},null,8,["src"])]),_:2},1032,["onClick"]))),128))]),_:1},8,["indicator-dots"])]),_:1})):Qr("",!0)}}});const UM=MM(la({__name:"user-info",props:{pageMeta:{type:Object,default:()=>[]},content:{type:Object,default:()=>({})},styles:{type:Object,default:()=>({})},user:{type:Object,default:()=>({})},isLogin:{type:Boolean}},setup(e){const t=e,{copy:n}={copy:e=>{sv({data:String(e)})}};gi(()=>t.pageMeta[0].content);return(t,o)=>{const a=Bo("u-avatar"),r=ny,i=xg,s=Bo("u-icon");return Br(),jr(r,{class:"user-info mb-[0rpx]"},{default:Io(()=>[Yr(r,{class:"flex items-center justify-between px-[50rpx] pb-[50rpx] pt-[40rpx]"},{default:Io(()=>[e.isLogin?(Br(),jr(r,{key:0,class:"flex items-center",onClick:o[1]||(o[1]=e=>{Uv({url:"/pages/user_data/user_data"})})},{default:Io(()=>[Yr(a,{src:e.user.avatar,size:120},null,8,["src"]),Yr(r,{class:"text-white ml-[20rpx]"},{default:Io(()=>[Yr(r,{class:"text-2xl"},{default:Io(()=>[Gr(G(e.user.nickname),1)]),_:1}),Yr(r,{class:"text-xs mt-[18rpx]",onClick:o[0]||(o[0]=ms(t=>Yn(n)(e.user.account),["stop"]))},{default:Io(()=>[Gr(" 账号:"+G(e.user.account),1)]),_:1})]),_:1})]),_:1})):(Br(),jr(i,{key:1,class:"flex items-center","hover-class":"none",url:"/pages/login/login"},{default:Io(()=>[Yr(a,{src:"/static/images/user/default_avatar.png",size:120}),Yr(r,{class:"text-white text-3xl ml-[20rpx]"},{default:Io(()=>[Gr("未登录")]),_:1})]),_:1})),e.isLogin?(Br(),jr(i,{key:2,"hover-class":"none",url:"/pages/user_set/user_set"},{default:Io(()=>[Yr(s,{name:"setting",color:"#fff",size:48})]),_:1})):Qr("",!0)]),_:1})]),_:1})}}}),[["__scopeId","data-v-090ccad9"]]);const qM=MM({name:"PageMeta",setup(e,{emit:t}){Aa(()=>{Kh(e=>{t("resize",e)})})},props:{backgroundTextStyle:{type:String,default:"dark",validator:e=>-1!==["dark","light"].indexOf(e)},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 e=mp(),t=e[e.length-1];this.$pageVm=t.$vm||t,this.$watch("backgroundTextStyle",()=>{this.setBackgroundTextStyle()}),this.$watch(()=>[this.rootFontSize,this.pageStyle],()=>{this.setPageMeta(t.$page.id)}),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()},activated(){this.setPageMeta()},methods:{setPullDownRefresh(e,t){e.setStyle({pullToRefresh:{support:t,style:"Android"===plus.os.name?"circle":"default"}})},setPageMeta(e){this.$nextTick(()=>{tm({pageStyle:this.pageStyle,rootFontSize:this.rootFontSize,pageId:e})})},setBackgroundTextStyle(){},setBackgroundColor(){},pageScrollTo(){let e=String(this.scrollTop);-1!==e.indexOf("rpx")&&(e=gh(e.replace("rpx",""))),e=parseFloat(e),isNaN(e)||Sb({scrollTop:e,duration:this.scrollDuration,success:()=>{}})}}},[["render",function(e,t,n,o,a,r){const i=ny;return Br(),jr(i,{style:{display:"none"}},{default:Io(()=>[Va(e.$slots,"default")]),_:3})}]]);const YM=MM({props:{title:{type:String,default:""},titleIcon:{type:String,default:""},titleIconRadius:{type:String,default:""},subtitleText:{type:String,default:""},subtitleSize:{type:String,default:""},subtitleColor:{type:String,default:""},subtitleOverflow:{type:String,default:""},titleAlign:{type:String,default:""},backgroundImage:{type:String,default:""},backgroundRepeat:{type:String,default:""},blurEffect:{type:String,default:""},loading:{type:Boolean,default:!1},frontColor:{type:String,default:"#ffffff"},backgroundColor:{type:String,default:"#000000"},colorAnimationDuration:{type:Number,default:0},colorAnimationTimingFunc:{type:String,default:"linear"}},created(){const e=mp(),t=e[e.length-1];this.__$page=t,this.$watch("title",()=>{this.setNavigationBarTitle()}),this.$watch("loading",()=>{this.setNavigationBarLoading()}),this.$watch(()=>[this.frontColor,this.backgroundColor,this.colorAnimationDuration,this.colorAnimationTimingFunc],()=>{this.setNavigationBarColor()})},beforeMount(){this.title&&this.setNavigationBarTitle(),this.setNavigationBarLoading(),this.setNavigationBarColor()},methods:{setNavigationBarTitle(){xb({__page__:this.__$page,title:this.title})},setNavigationBarLoading(){uni[(this.loading?"show":"hide")+"NavigationBarLoading"]({__page__:this.__$page})},setNavigationBarColor(){Tb({__page__:this.__$page,frontColor:this.frontColor,backgroundColor:this.backgroundColor,animation:{duration:this.colorAnimationDuration,timingFunc:this.colorAnimationTimingFunc}})},setTitleNView(e){const t=this.__$webview,n=t.getStyle();n&&n.titleNView&&t.setStyle({titleNView:e})}}},[["render",function(e,t,n,o,a,r){const i=ny;return Br(),jr(i,{style:{display:"none"}})}]]),ZM={name:"u-button",emits:["click","getphonenumber","getuserinfo","error","opensetting","launchapp"],props:{hairLine:{type:Boolean,default:!0},type:{type:String,default:"default"},size:{type:String,default:"default"},shape:{type:String,default:"square"},plain:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},openType:{type:String,default:""},formType:{type:String,default:""},appParameter:{type:String,default:""},hoverStopPropagation:{type:Boolean,default:!1},lang:{type:String,default:"en"},sessionFrom:{type:String,default:""},sendMessageTitle:{type:String,default:""},sendMessagePath:{type:String,default:""},sendMessageImg:{type:String,default:""},showMessageCard:{type:Boolean,default:!1},hoverBgColor:{type:String,default:""},rippleBgColor:{type:String,default:""},ripple:{type:Boolean,default:!1},hoverClass:{type:String,default:""},customStyle:{type:Object,default:()=>({})},dataName:{type:String,default:""},throttleTime:{type:[String,Number],default:500},hoverStartTime:{type:[String,Number],default:20},hoverStayTime:{type:[String,Number],default:150},timerId:{type:[String,Number]}},computed:{getHoverClass(){if(this.loading||this.disabled||this.ripple||this.hoverClass)return"";let e="";return e=this.plain?"u-"+this.type+"-plain-hover":"u-"+this.type+"-hover",e},showHairLineBorder(){return["primary","success","error","warning"].indexOf(this.type)>=0&&!this.plain?"":"u-hairline-border"}},data(){return{btnTimerId:this.timerId||"button_"+Math.floor(1e8*Math.random()+0),rippleTop:0,rippleLeft:0,fields:{},waveActive:!1}},methods:{click(e){this.$u.throttle(()=>{!0!==this.loading&&!0!==this.disabled&&(this.ripple&&(this.waveActive=!1,this.$nextTick(function(){this.getWaveQuery(e)})),this.$emit("click",e))},this.throttleTime,!0,this.btnTimerId)},getWaveQuery(e){this.getElQuery().then(t=>{let n=t[0];if(!n.width||!n.width)return;if(n.targetWidth=n.height>n.width?n.height:n.width,!n.targetWidth)return;this.fields=n;let o="",a="";o=e.touches[0].clientX,a=e.touches[0].clientY,this.rippleTop=a-n.top-n.targetWidth/2,this.rippleLeft=o-n.left-n.targetWidth/2,this.$nextTick(()=>{this.waveActive=!0})})},getElQuery(){return new Promise(e=>{let t="";t=Xh().in(this),t.select(".u-btn").boundingClientRect(),t.exec(t=>{e(t)})})},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)}}};const GM=MM(ZM,[["render",function(e,t,n,o,a,r){const i=ny,s=wu;return Br(),jr(s,{id:"u-wave-btn",class:qe(["u-btn u-line-1 u-fix-ios-appearance",["u-size-"+n.size,n.plain?"u-btn--"+n.type+"--plain":"",n.loading?"u-loading":"","circle"==n.shape?"u-round-circle":"",n.hairLine?r.showHairLineBorder:"u-btn--bold-border","u-btn--"+n.type,n.disabled?`u-btn--${n.type}--disabled`:""]]),"hover-start-time":Number(n.hoverStartTime),"hover-stay-time":Number(n.hoverStayTime),disabled:n.disabled,"form-type":n.formType,"open-type":n.openType,"app-parameter":n.appParameter,"hover-stop-propagation":n.hoverStopPropagation,"send-message-title":n.sendMessageTitle,"send-message-path":"sendMessagePath",lang:n.lang,"data-name":n.dataName,"session-from":n.sessionFrom,"send-message-img":n.sendMessageImg,"show-message-card":n.showMessageCard,onGetphonenumber:r.getphonenumber,onGetuserinfo:r.getuserinfo,onError:r.error,onOpensetting:r.opensetting,onLaunchapp:r.launchapp,style:Ue([n.customStyle,{overflow:n.ripple?"hidden":"visible"}]),onClick:t[0]||(t[0]=ms(e=>r.click(e),["stop"])),"hover-class":r.getHoverClass,loading:n.loading},{default:Io(()=>[Va(e.$slots,"default",{},void 0,!0),n.ripple?(Br(),jr(i,{key:0,class:qe(["u-wave-ripple",[a.waveActive?"u-wave-active":""]]),style:Ue({top:a.rippleTop+"px",left:a.rippleLeft+"px",width:a.fields.targetWidth+"px",height:a.fields.targetWidth+"px","background-color":n.rippleBgColor||"rgba(0, 0, 0, 0.15)"})},null,8,["class","style"])):Qr("",!0)]),_:3},8,["class","hover-start-time","hover-stay-time","disabled","form-type","open-type","app-parameter","hover-stop-propagation","send-message-title","lang","data-name","session-from","send-message-img","show-message-card","onGetphonenumber","onGetuserinfo","onError","onOpensetting","onLaunchapp","style","hover-class","loading"])}],["__scopeId","data-v-e9aa5dea"]]);const QM=MM({name:"u-checkbox",emits:["update:modelValue","input","change"],props:{value:{type:Boolean,default:!1},modelValue:{type:Boolean,default:!1},name:{type:[String,Number],default:""},shape:{type:String,default:""},disabled:{type:[String,Boolean],default:""},labelDisabled:{type:[String,Boolean],default:""},activeColor:{type:String,default:""},iconSize:{type:[String,Number],default:""},labelSize:{type:[String,Number],default:""},size:{type:[String,Number],default:""}},data:()=>({parentDisabled:!1,newParams:{}}),created(){this.parent=this.$u.$parent.call(this,"u-checkbox-group"),this.parent&&this.parent.children.push(this)},computed:{valueCom(){return this.modelValue},isDisabled(){return""!==this.disabled?this.disabled:!!this.parent&&this.parent.disabled},isLabelDisabled(){return""!==this.labelDisabled?this.labelDisabled:!!this.parent&&this.parent.labelDisabled},checkboxSize(){return this.size?this.size:this.parent?this.parent.size:34},checkboxIconSize(){return this.iconSize?this.iconSize:this.parent?this.parent.iconSize:20},elActiveColor(){return this.activeColor?this.activeColor:this.parent?this.parent.activeColor:"primary"},elShape(){return this.shape?this.shape:this.parent?this.parent.shape:"square"},iconStyle(){let e={};return this.elActiveColor&&this.valueCom&&!this.isDisabled&&(e.borderColor=this.elActiveColor,e.backgroundColor=this.elActiveColor),e.width=this.$u.addUnit(this.checkboxSize),e.height=this.$u.addUnit(this.checkboxSize),e},iconColor(){return this.valueCom?"#ffffff":"transparent"},iconClass(){let e=[];return e.push("u-checkbox__icon-wrap--"+this.elShape),1==this.valueCom&&e.push("u-checkbox__icon-wrap--checked"),this.isDisabled&&e.push("u-checkbox__icon-wrap--disabled"),this.valueCom&&this.isDisabled&&e.push("u-checkbox__icon-wrap--disabled--checked"),e.join(" ")},checkboxStyle(){let e={};return this.parent&&this.parent.width&&(e.width=this.parent.width,e.flex=`0 0 ${this.parent.width}`),this.parent&&this.parent.wrap&&(e.width="100%",e.flex="0 0 100%"),e}},mounted(){this._emitEvent()},watch:{valueCom:{handler:function(e,t){this._emitEvent()}}},methods:{_emitEvent(){let e={value:this.valueCom,name:this.name};this.parent&&this.parent.emitEvent&&this.parent._emitEvent(e)},onClickLabel(){this.isLabelDisabled||this.isDisabled||this.setValue()},toggle(){this.isDisabled||this.setValue()},emitEvent(){let e={value:!this.valueCom,name:this.name};this.$emit("change",e),this.parent&&this.parent.emitEvent&&this.parent.emitEvent(e)},setValue(){let e=this.valueCom,t=0;if(this.parent&&this.parent.children&&this.parent.children.map(e=>{e.value&&t++}),1==e)this.emitEvent(),this.$emit("input",!e),this.$emit("update:modelValue",!e);else{if(this.parent&&t>=this.parent.max)return this.$u.toast(`最多可选${this.parent.max}项`);this.emitEvent(),this.$emit("input",!e),this.$emit("update:modelValue",!e)}}}},[["render",function(e,t,n,o,a,r){const i=Bo("u-icon"),s=ny;return Br(),jr(s,{class:"u-checkbox",style:Ue([r.checkboxStyle])},{default:Io(()=>[Yr(s,{class:qe(["u-checkbox__icon-wrap",[r.iconClass]]),onClick:r.toggle,style:Ue([r.iconStyle])},{default:Io(()=>[Yr(i,{class:"u-checkbox__icon-wrap__icon",name:"checkbox-mark",size:r.checkboxIconSize,color:r.iconColor},null,8,["size","color"])]),_:1},8,["onClick","class","style"]),Yr(s,{class:"u-checkbox__label",onClick:r.onClickLabel,style:Ue({fontSize:e.$u.addUnit(n.labelSize)})},{default:Io(()=>[Va(e.$slots,"default",{},void 0,!0)]),_:3},8,["onClick","style"])]),_:3},8,["style"])}],["__scopeId","data-v-e8a09fb1"]]),JM={name:"u-form",props:{model:{type:Object,default:()=>({})},errorType:{type:Array,default:()=>["message","toast"]},borderBottom:{type:Boolean,default:!0},labelPosition:{type:String,default:"left"},labelWidth:{type:[String,Number],default:90},labelAlign:{type:String,default:"left"},labelStyle:{type:Object,default:()=>({})},inputAlign:{type:String,default:"left"},clearable:{type:Boolean,default:!0}},provide(){return{uForm:this}},data:()=>({rules:{}}),created(){this.fields=[]},methods:{setRules(e){this.rules=e},resetFields(){this.fields.map(e=>{e.resetField()})},validate(e){return new Promise(t=>{let n=!0,o=0,a=[],r=[];this.fields.map(i=>{i.validation("",(i,s)=>{i&&(n=!1,a.push(i),r.push(s)),++o===this.fields.length&&(t(n,r[0]),-1===this.errorType.indexOf("none")&&this.errorType.indexOf("toast")>=0&&a.length&&this.$u.toast(a[0]),"function"==typeof e&&e(n,r[0]))})})})}}};const XM=MM(JM,[["render",function(e,t,n,o,a,r){const i=ny;return Br(),jr(i,{class:"u-form"},{default:Io(()=>[Va(e.$slots,"default",{},void 0,!0)]),_:3})}],["__scopeId","data-v-13626807"]]);function KM(e,t,n){}const eA={methods:{dispatch(e,t,n){let o=this.$parent||this.$root,a=o.$options.name;for(;o&&(!a||a!==e);)o=o.$parent,o&&(a=o.$options.name);o&&o[t](n)},broadcast(e,t,n){KM.call(this,e,t,n)}}};function tA(){return tA=Object.assign||function(e){for(var t=1;t=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}}),s=t[o];o()\[\]\\.,;:\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},hA={integer:function(e){return hA.number(e)&&parseInt(e,10)===e},float:function(e){return hA.number(e)&&!hA.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch(VR){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&&!hA.array(e)},method:function(e){return"function"==typeof e},email:function(e){return"string"==typeof e&&!!e.match(uA.email)&&e.length<255},url:function(e){return"string"==typeof e&&!!e.match(uA.url)},hex:function(e){return"string"==typeof e&&!!e.match(uA.hex)}};var mA="enum";var pA={required:dA,whitespace:function(e,t,n,o,a){(/^\s+$/.test(t)||""===t)&&o.push(aA(a.messages.whitespace,e.fullField))},type:function(e,t,n,o,a){if(e.required&&void 0===t)dA(e,t,n,o,a);else{var r=e.type;["integer","float","array","regexp","object","method","email","number","date","url","hex"].indexOf(r)>-1?hA[r](t)||o.push(aA(a.messages.types[r],e.fullField,e.type)):r&&typeof t!==e.type&&o.push(aA(a.messages.types[r],e.fullField,e.type))}},range:function(e,t,n,o,a){var r="number"==typeof e.len,i="number"==typeof e.min,s="number"==typeof e.max,l=t,c=null,d="number"==typeof t,u="string"==typeof t,h=Array.isArray(t);if(d?c="number":u?c="string":h&&(c="array"),!c)return!1;h&&(l=t.length),u&&(l=t.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"_").length),r?l!==e.len&&o.push(aA(a.messages[c].len,e.fullField,e.len)):i&&!s&&le.max?o.push(aA(a.messages[c].max,e.fullField,e.max)):i&&s&&(le.max)&&o.push(aA(a.messages[c].range,e.fullField,e.min,e.max))},enum:function(e,t,n,o,a){e[mA]=Array.isArray(e[mA])?e[mA]:[],-1===e[mA].indexOf(t)&&o.push(aA(a.messages[mA],e.fullField,e[mA].join(", ")))},pattern:function(e,t,n,o,a){if(e.pattern)if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||o.push(aA(a.messages.pattern.mismatch,e.fullField,t,e.pattern));else if("string"==typeof e.pattern){new RegExp(e.pattern).test(t)||o.push(aA(a.messages.pattern.mismatch,e.fullField,t,e.pattern))}}};function fA(e,t,n,o,a){var r=e.type,i=[];if(e.required||!e.required&&o.hasOwnProperty(e.field)){if(rA(t,r)&&!e.required)return n();pA.required(e,t,o,i,a,r),rA(t,r)||pA.type(e,t,o,i,a)}n(i)}var gA={string:function(e,t,n,o,a){var r=[];if(e.required||!e.required&&o.hasOwnProperty(e.field)){if(rA(t,"string")&&!e.required)return n();pA.required(e,t,o,r,a,"string"),rA(t,"string")||(pA.type(e,t,o,r,a),pA.range(e,t,o,r,a),pA.pattern(e,t,o,r,a),!0===e.whitespace&&pA.whitespace(e,t,o,r,a))}n(r)},method:function(e,t,n,o,a){var r=[];if(e.required||!e.required&&o.hasOwnProperty(e.field)){if(rA(t)&&!e.required)return n();pA.required(e,t,o,r,a),void 0!==t&&pA.type(e,t,o,r,a)}n(r)},number:function(e,t,n,o,a){var r=[];if(e.required||!e.required&&o.hasOwnProperty(e.field)){if(""===t&&(t=void 0),rA(t)&&!e.required)return n();pA.required(e,t,o,r,a),void 0!==t&&(pA.type(e,t,o,r,a),pA.range(e,t,o,r,a))}n(r)},boolean:function(e,t,n,o,a){var r=[];if(e.required||!e.required&&o.hasOwnProperty(e.field)){if(rA(t)&&!e.required)return n();pA.required(e,t,o,r,a),void 0!==t&&pA.type(e,t,o,r,a)}n(r)},regexp:function(e,t,n,o,a){var r=[];if(e.required||!e.required&&o.hasOwnProperty(e.field)){if(rA(t)&&!e.required)return n();pA.required(e,t,o,r,a),rA(t)||pA.type(e,t,o,r,a)}n(r)},integer:function(e,t,n,o,a){var r=[];if(e.required||!e.required&&o.hasOwnProperty(e.field)){if(rA(t)&&!e.required)return n();pA.required(e,t,o,r,a),void 0!==t&&(pA.type(e,t,o,r,a),pA.range(e,t,o,r,a))}n(r)},float:function(e,t,n,o,a){var r=[];if(e.required||!e.required&&o.hasOwnProperty(e.field)){if(rA(t)&&!e.required)return n();pA.required(e,t,o,r,a),void 0!==t&&(pA.type(e,t,o,r,a),pA.range(e,t,o,r,a))}n(r)},array:function(e,t,n,o,a){var r=[];if(e.required||!e.required&&o.hasOwnProperty(e.field)){if(rA(t,"array")&&!e.required)return n();pA.required(e,t,o,r,a,"array"),rA(t,"array")||(pA.type(e,t,o,r,a),pA.range(e,t,o,r,a))}n(r)},object:function(e,t,n,o,a){var r=[];if(e.required||!e.required&&o.hasOwnProperty(e.field)){if(rA(t)&&!e.required)return n();pA.required(e,t,o,r,a),void 0!==t&&pA.type(e,t,o,r,a)}n(r)},enum:function(e,t,n,o,a){var r=[];if(e.required||!e.required&&o.hasOwnProperty(e.field)){if(rA(t)&&!e.required)return n();pA.required(e,t,o,r,a),void 0!==t&&pA.enum(e,t,o,r,a)}n(r)},pattern:function(e,t,n,o,a){var r=[];if(e.required||!e.required&&o.hasOwnProperty(e.field)){if(rA(t,"string")&&!e.required)return n();pA.required(e,t,o,r,a),rA(t,"string")||pA.pattern(e,t,o,r,a)}n(r)},date:function(e,t,n,o,a){var r=[];if(e.required||!e.required&&o.hasOwnProperty(e.field)){if(rA(t)&&!e.required)return n();var i;if(pA.required(e,t,o,r,a),!rA(t))i="number"==typeof t?new Date(t):t,pA.type(e,i,o,r,a),i&&pA.range(e,i.getTime(),o,r,a)}n(r)},url:fA,hex:fA,email:fA,required:function(e,t,n,o,a){var r=[],i=Array.isArray(t)?"array":typeof t;pA.required(e,t,o,r,a,i),n(r)},any:function(e,t,n,o,a){var r=[];if(e.required||!e.required&&o.hasOwnProperty(e.field)){if(rA(t)&&!e.required)return n();pA.required(e,t,o,r,a)}n(r)}};function yA(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}var vA=yA();function bA(e){this.rules=null,this._messages=vA,this.define(e)}bA.prototype={messages:function(e){return e&&(this._messages=cA(yA(),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");var 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){var o=this;void 0===t&&(t={}),void 0===n&&(n=function(){});var a,r,i=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){var c=this.messages();c===vA&&(c=yA()),cA(c,s.messages),s.messages=c}else s.messages=this.messages();var d={};(s.keys||Object.keys(this.rules)).forEach(function(t){a=o.rules[t],r=i[t],a.forEach(function(n){var a=n;"function"==typeof a.transform&&(i===e&&(i=tA({},i)),r=i[t]=a.transform(r)),(a="function"==typeof a?{validator:a}:tA({},a)).validator=o.getValidationMethod(a),a.field=t,a.fullField=a.fullField||t,a.type=o.getType(a),a.validator&&(d[t]=d[t]||[],d[t].push({rule:a,value:r,source:i,field:t}))})});var u={};return sA(d,s,function(e,t){var n,o=e.rule,a=!("object"!==o.type&&"array"!==o.type||"object"!=typeof o.fields&&"object"!=typeof o.defaultField);function r(e,t){return tA({},t,{fullField:o.fullField+"."+e})}function i(n){void 0===n&&(n=[]);var i=n;if(Array.isArray(i)||(i=[i]),!s.suppressWarning&&i.length&&bA.warning("async-validator:",i),i.length&&o.message&&(i=[].concat(o.message)),i=i.map(lA(o)),s.first&&i.length)return u[o.field]=1,t(i);if(a){if(o.required&&!e.value)return i=o.message?[].concat(o.message).map(lA(o)):s.error?[s.error(o,aA(s.messages.required,o.field))]:[],t(i);var l={};if(o.defaultField)for(var c in e.value)e.value.hasOwnProperty(c)&&(l[c]=o.defaultField);for(var d in l=tA({},l,{},e.rule.fields))if(l.hasOwnProperty(d)){var h=Array.isArray(l[d])?l[d]:[l[d]];l[d]=h.map(r.bind(null,d))}var m=new bA(l);m.messages(s.messages),e.rule.options&&(e.rule.options.messages=s.messages,e.rule.options.error=s.error),m.validate(e.value,e.rule.options||s,function(e){var n=[];i&&i.length&&n.push.apply(n,i),e&&e.length&&n.push.apply(n,e),t(n.length?n:null)})}else t(i)}a=a&&(o.required||!o.required&&e.value),o.field=e.field,o.asyncValidator?n=o.asyncValidator(o,e.value,i,e.source,s):o.validator&&(!0===(n=o.validator(o,e.value,i,e.source,s))?i():!1===n?i(o.message||o.field+" fails"):n instanceof Array?i(n):n instanceof Error&&i(n.message)),n&&n.then&&n.then(function(){return i()},function(e){return i(e)})},function(e){!function(e){var t,n=[],o={};function a(e){var t;Array.isArray(e)?n=(t=n).concat.apply(t,e):n.push(e)}for(t=0;tnull}},props:{label:{type:String,default:""},prop:{type:String,default:""},borderBottom:{type:[String,Boolean],default:""},labelPosition:{type:String,default:""},labelWidth:{type:[String,Number],default:""},labelStyle:{type:Object,default:()=>({})},labelAlign:{type:String,default:""},rightIcon:{type:String,default:""},leftIcon:{type:String,default:""},leftIconStyle:{type:Object,default:()=>({})},rightIconStyle:{type:Object,default:()=>({})},required:{type:Boolean,default:!1},inputAlign:{type:String,default:""}},data:()=>({initialValue:"",validateState:"",validateMessage:"",errorType:["message"],fieldValue:"",parentData:{borderBottom:!0,labelWidth:90,labelPosition:"left",labelStyle:{},labelAlign:"left",inputAlign:"left"}}),watch:{validateState(e){this.broadcastInputError()},"uForm.errorType"(e){this.errorType=e,this.broadcastInputError()}},computed:{uLabelWidth(){return"left"==this.elLabelPosition?"true"===this.label||""===this.label?"auto":this.$u.addUnit(this.elLabelWidth):"100%"},showError(){return e=>!(this.errorType.indexOf("none")>=0)&&this.errorType.indexOf(e)>=0},elLabelWidth(){return 0!=this.labelWidth||""!=this.labelWidth?this.labelWidth:this.parentData.labelWidth?this.parentData.labelWidth:90},elLabelStyle(){return Object.keys(this.labelStyle).length?this.labelStyle:this.parentData.labelStyle?this.parentData.labelStyle:{}},elLabelPosition(){return this.labelPosition?this.labelPosition:this.parentData.labelPosition?this.parentData.labelPosition:"left"},elLabelAlign(){return this.labelAlign?this.labelAlign:this.parentData.labelAlign?this.parentData.labelAlign:"left"},elBorderBottom(){return""!==this.borderBottom?this.borderBottom:!this.parentData.borderBottom||this.parentData.borderBottom},elInputAlign(){return this.inputAlign?this.inputAlign:this.parentData.inputAlign?this.parentData.inputAlign:"left"}},methods:{broadcastInputError(){this.broadcast("u-input","onFormItemError","error"===this.validateState&&this.showError("border"))},setRules(){},getRules(){let e=this.parent.rules;return e=e?e[this.prop]:[],[].concat(e||[])},onFieldBlur(){this.validation("blur")},onFieldChange(){this.validation("change")},getFilteredRule(e=""){let t=this.getRules();return e?t.filter(t=>t.trigger&&-1!==t.trigger.indexOf(e)):t},getData(e,t,n){let o;if(e){o=JSON.parse(JSON.stringify(e));let n="",a=".",r="[",i="]";t=t.replace(/\s+/g,n)+a;let s=n;for(let e=0;e{}){this.fieldValue=this.getData(this.parent.model,this.prop);let n=this.getFilteredRule(e);if(!n||0===n.length)return t("");this.validateState="validating",new bA({[this.prop]:n}).validate({[this.prop]:this.fieldValue},{firstFields:!0},(e,n)=>{this.validateState=e?"error":"success",this.validateMessage=e?e[0].message:"";let o=e?e[0].field:"";t(this.validateMessage,{state:this.validateState,key:o,msg:this.validateMessage})})},resetField(){this.setData(this.parent.model,this.prop,this.initialValue),this.validateState="success"}},mounted(){this.parent=this.$u.$parent.call(this,"u-form"),this.parent&&(Object.keys(this.parentData).map(e=>{this.parentData[e]=this.parent[e]}),this.prop&&(this.parent.fields.push(this),this.errorType=this.parent.errorType,this.initialValue=this.fieldValue,this.$nextTick(()=>{this.setRules()})))},beforeUnmount(){this.parent&&this.prop&&this.parent.fields.map((e,t)=>{e===this&&this.parent.fields.splice(t,1)})}};const wA=MM(_A,[["render",function(e,t,n,o,a,r){const i=Jg,s=Bo("u-icon"),l=ny;return Br(),jr(l,{class:qe(["u-form-item",{"u-border-bottom":r.elBorderBottom,"u-form-item__border-bottom--error":"error"===a.validateState&&r.showError("border-bottom")}])},{default:Io(()=>[Yr(l,{class:"u-form-item__body",style:Ue({flexDirection:"left"==r.elLabelPosition?"row":"column"})},{default:Io(()=>[Yr(l,{class:"u-form-item--left",style:Ue({width:r.uLabelWidth,flex:`0 0 ${r.uLabelWidth}`,marginBottom:"left"==r.elLabelPosition?0:"10rpx"})},{default:Io(()=>[n.required||n.leftIcon||n.label?(Br(),jr(l,{key:0,class:"u-form-item--left__content"},{default:Io(()=>[n.required?(Br(),jr(i,{key:0,class:"u-form-item--left__content--required"},{default:Io(()=>[Gr("*")]),_:1})):Qr("",!0),n.leftIcon?(Br(),jr(l,{key:1,class:"u-form-item--left__content__icon"},{default:Io(()=>[Yr(s,{name:n.leftIcon,"custom-style":n.leftIconStyle},null,8,["name","custom-style"])]),_:1})):Qr("",!0),Yr(l,{class:"u-form-item--left__content__label",style:Ue([r.elLabelStyle,{"justify-content":"left"==r.elLabelAlign?"flex-start":"center"==r.elLabelAlign?"center":"flex-end"}])},{default:Io(()=>[Gr(G(n.label),1)]),_:1},8,["style"])]),_:1})):Qr("",!0)]),_:1},8,["style"]),Yr(l,{class:"u-form-item--right u-flex"},{default:Io(()=>[Yr(l,{class:"u-form-item--right__content"},{default:Io(()=>[Yr(l,{class:"u-form-item--right__content__slot",style:Ue("left"==r.elLabelPosition&&"right"==r.elInputAlign?"text-align:right;display: inline-block;line-height:initial;":"")},{default:Io(()=>[Va(e.$slots,"default",{},void 0,!0)]),_:3},8,["style"]),e.$slots.right||n.rightIcon?(Br(),jr(l,{key:0,class:"u-form-item--right__content__icon u-flex"},{default:Io(()=>[n.rightIcon?(Br(),jr(s,{key:0,"custom-style":n.rightIconStyle,name:n.rightIcon},null,8,["custom-style","name"])):Qr("",!0),Va(e.$slots,"right",{},void 0,!0)]),_:3})):Qr("",!0)]),_:3})]),_:3})]),_:3},8,["style"]),"error"===a.validateState&&r.showError("message")?(Br(),jr(l,{key:0,class:"u-form-item__message",style:Ue({paddingLeft:"left"==r.elLabelPosition?e.$u.addUnit(r.elLabelWidth):"0",textAlign:"right"==r.elInputAlign?"right":"left"})},{default:Io(()=>[Gr(G(a.validateMessage),1)]),_:1},8,["style"])):Qr("",!0)]),_:3},8,["class"])}],["__scopeId","data-v-4a08a098"]]),TA={name:"u-icon",emits:["click","touchstart"],props:{name:{type:String,default:""},color:{type:String,default:""},size:{type:[Number,String],default:"inherit"},bold:{type:Boolean,default:!1},index:{type:[Number,String],default:""},hoverClass:{type:String,default:""},customPrefix:{type:String,default:"uicon"},label:{type:[String,Number],default:""},labelPos:{type:String,default:"right"},labelSize:{type:[String,Number],default:"28"},labelColor:{type:String,default:"#606266"},marginLeft:{type:[String,Number],default:"6"},marginTop:{type:[String,Number],default:"6"},marginRight:{type:[String,Number],default:"6"},marginBottom:{type:[String,Number],default:"6"},imgMode:{type:String,default:"widthFix"},customStyle:{type:Object,default:()=>({})},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""},top:{type:[String,Number],default:0},showDecimalIcon:{type:Boolean,default:!1},inactiveColor:{type:String,default:"#ececec"},percent:{type:[Number,String],default:"50"}},computed:{customClass(){let e=[],{customPrefix:t,name:n}=this,o=n.indexOf("-icon-");return o>-1?(t=n.substring(0,o+5),e.push(n)):e.push(`${t}-${n}`),"uicon"===t?e.push("u-iconfont"):e.push(t),this.showDecimalIcon&&this.inactiveColor&&this.$u.config.type.includes(this.inactiveColor)?e.push("u-icon__icon--"+this.inactiveColor):this.color&&this.$u.config.type.includes(this.color)&&e.push("u-icon__icon--"+this.color),e},iconStyle(){let e={};return e={fontSize:"inherit"==this.size?"inherit":this.$u.addUnit(this.size),fontWeight:this.bold?"bold":"normal",top:this.$u.addUnit(this.top)},this.showDecimalIcon&&this.inactiveColor&&!this.$u.config.type.includes(this.inactiveColor)?e.color=this.inactiveColor:this.color&&!this.$u.config.type.includes(this.color)&&(e.color=this.color),e},isImg(){return-1!==this.name.indexOf("/")},imgStyle(){let e={};return e.width=this.width?this.$u.addUnit(this.width):this.$u.addUnit(this.size),e.height=this.height?this.$u.addUnit(this.height):this.$u.addUnit(this.size),e},decimalIconStyle(){let e={};return e={fontSize:"inherit"==this.size?"inherit":this.$u.addUnit(this.size),fontWeight:this.bold?"bold":"normal",top:this.$u.addUnit(this.top),width:this.percent+"%"},this.color&&!this.$u.config.type.includes(this.color)&&(e.color=this.color),e},decimalIconClass(){let e=[];return e.push(this.customPrefix+"-"+this.name),"uicon"==this.customPrefix?e.push("u-iconfont"):e.push(this.customPrefix),this.color&&this.$u.config.type.includes(this.color)?e.push("u-icon__icon--"+this.color):e.push("u-icon__icon--primary"),e}},methods:{click(){this.$emit("click",this.index)},touchstart(){this.$emit("touchstart",this.index)}}};const xA=MM(TA,[["render",function(e,t,n,o,a,r){const i=Mf,s=Jg,l=ny;return Br(),jr(l,{style:Ue([n.customStyle]),class:qe(["u-icon",["u-icon--"+n.labelPos]]),onClick:r.click},{default:Io(()=>[r.isImg?(Br(),jr(i,{key:0,class:"u-icon__img",src:n.name,mode:n.imgMode,style:Ue([r.imgStyle])},null,8,["src","mode","style"])):(Br(),jr(l,{key:1,class:qe(["u-icon__icon",r.customClass]),style:Ue([r.iconStyle]),"hover-class":n.hoverClass,onTouchstart:r.touchstart},{default:Io(()=>[n.showDecimalIcon?(Br(),jr(s,{key:0,style:Ue([r.decimalIconStyle]),class:qe([r.decimalIconClass,"u-icon__decimal"]),"hover-class":n.hoverClass},null,8,["style","class","hover-class"])):Qr("",!0)]),_:1},8,["class","style","hover-class","onTouchstart"])),""!==n.label&&null!==n.label?(Br(),jr(s,{key:2,class:"u-icon__label",style:Ue({color:n.labelColor,fontSize:e.$u.addUnit(n.labelSize),marginLeft:"right"==n.labelPos?e.$u.addUnit(n.marginLeft):0,marginTop:"bottom"==n.labelPos?e.$u.addUnit(n.marginTop):0,marginRight:"left"==n.labelPos?e.$u.addUnit(n.marginRight):0,marginBottom:"top"==n.labelPos?e.$u.addUnit(n.marginBottom):0})},{default:Io(()=>[Gr(G(n.label),1)]),_:1},8,["style"])):Qr("",!0)]),_:1},8,["style","onClick","class"])}],["__scopeId","data-v-c1996d6a"]]),SA={name:"u-input",emits:["update:modelValue","input","change","blur","focus","click","touchstart"],mixins:[eA],props:{value:{type:[String,Number],default:""},modelValue:{type:[String,Number],default:""},type:{type:String,default:"text"},inputAlign:{type:String,default:""},placeholder:{type:String,default:"请输入内容"},disabled:{type:Boolean,default:!1},maxlength:{type:[Number,String],default:140},placeholderStyle:{type:String,default:"color: #c0c4cc;"},confirmType:{type:String,default:"done"},customStyle:{type:Object,default:()=>({})},fixed:{type:Boolean,default:!1},focus:{type:Boolean,default:!1},passwordIcon:{type:Boolean,default:!0},border:{type:Boolean,default:!1},borderColor:{type:String,default:"#dcdfe6"},autoHeight:{type:Boolean,default:!0},selectOpen:{type:Boolean,default:!1},height:{type:[Number,String],default:""},clearable:{type:[Boolean,String]},cursorSpacing:{type:[Number,String],default:0},selectionStart:{type:[Number,String],default:-1},selectionEnd:{type:[Number,String],default:-1},trim:{type:Boolean,default:!0},showConfirmbar:{type:Boolean,default:!0},backgroundColor:{type:String},padding:{type:String}},data:()=>({defaultValue:"",inputHeight:70,textareaHeight:100,validateState:!1,focused:!1,showPassword:!1,lastValue:"",uForm:{inputAlign:"",clearable:""}}),watch:{valueCom(e,t){this.defaultValue=e,e!=t&&"select"==this.type&&this.handleInput({detail:{value:e}})}},computed:{valueCom(){return this.modelValue},inputAlignCom(){return this.inputAlign||this.uForm.inputAlign||"left"},clearableCom(){return"boolean"==typeof this.clearable?this.clearable:"boolean"!=typeof this.uForm.clearable||this.uForm.clearable},inputMaxlength(){return Number(this.maxlength)},getStyle(){let e={};return e.minHeight=this.height?this.height+"rpx":"textarea"==this.type?this.textareaHeight+"rpx":this.inputHeight+"rpx",e=Object.assign(e,this.customStyle),e},getCursorSpacing(){return Number(this.cursorSpacing)},uSelectionStart(){return String(this.selectionStart)},uSelectionEnd(){return String(this.selectionEnd)}},created(){this.defaultValue=this.valueCom},mounted(){let e=this.$u.$parent.call(this,"u-form");e&&Object.keys(this.uForm).map(t=>{this.uForm[t]=e[t]})},methods:{handleInput(e){let t=e.detail.value;this.trim&&(t=this.$u.trim(t)),this.$emit("input",t),this.$emit("update:modelValue",t),this.defaultValue=t,setTimeout(()=>{this.dispatch("u-form-item","onFieldChange",t)},40)},handleBlur(e){setTimeout(()=>{this.focused=!1},100),this.$emit("blur",e.detail.value),setTimeout(()=>{this.dispatch("u-form-item","onFieldBlur",e.detail.value)},40)},onFormItemError(e){this.validateState=e},onFocus(e){this.focused=!0,this.$emit("focus")},onConfirm(e){this.$emit("confirm",e.detail.value)},onClear(e){this.$emit("input",""),this.$emit("update:modelValue","")},inputClick(){this.$emit("click")}}};const CA=MM(SA,[["render",function(e,t,n,o,a,r){const i=ty,s=Zf,l=Bo("u-icon"),c=ny;return Br(),jr(c,{class:qe(["u-input",{"u-input--border":n.border,"u-input--error":a.validateState}]),style:Ue({padding:n.padding?n.padding:`0 ${n.border?20:0}rpx`,borderColor:n.borderColor,textAlign:r.inputAlignCom,backgroundColor:n.backgroundColor}),onClick:ms(r.inputClick,["stop"])},{default:Io(()=>["textarea"==n.type?(Br(),jr(i,{key:0,class:"u-input__input u-input__textarea",style:Ue([r.getStyle]),value:a.defaultValue,placeholder:n.placeholder,placeholderStyle:n.placeholderStyle,disabled:n.disabled,maxlength:r.inputMaxlength,fixed:n.fixed,focus:n.focus,autoHeight:n.autoHeight,"selection-end":r.uSelectionEnd,"selection-start":r.uSelectionStart,"cursor-spacing":r.getCursorSpacing,onInput:r.handleInput,onBlur:r.handleBlur,onFocus:r.onFocus,onConfirm:r.onConfirm},null,8,["style","value","placeholder","placeholderStyle","disabled","maxlength","fixed","focus","autoHeight","selection-end","selection-start","cursor-spacing","onInput","onBlur","onFocus","onConfirm"])):(Br(),jr(s,{key:1,class:"u-input__input",type:"password"==n.type?"text":n.type,style:Ue([r.getStyle]),value:a.defaultValue,password:"password"==n.type&&!a.showPassword,placeholder:n.placeholder,placeholderStyle:n.placeholderStyle,disabled:n.disabled||"select"===n.type,maxlength:r.inputMaxlength,focus:n.focus,confirmType:n.confirmType,"cursor-spacing":r.getCursorSpacing,"selection-end":r.uSelectionEnd,"selection-start":r.uSelectionStart,onFocus:r.onFocus,onBlur:r.handleBlur,onInput:r.handleInput,onConfirm:r.onConfirm},null,8,["type","style","value","password","placeholder","placeholderStyle","disabled","maxlength","focus","confirmType","cursor-spacing","selection-end","selection-start","onFocus","onBlur","onInput","onConfirm"])),Yr(c,{class:"u-input__right-icon u-flex"},{default:Io(()=>[r.clearableCom&&""!=r.valueCom&&a.focused?(Br(),jr(c,{key:0,class:"u-input__right-icon__clear u-input__right-icon__item",onClick:r.onClear},{default:Io(()=>[Yr(l,{size:"32",name:"close-circle-fill",color:"#c0c4cc"})]),_:1},8,["onClick"])):Qr("",!0),n.passwordIcon&&"password"==n.type?(Br(),jr(c,{key:1,class:"u-input__right-icon__clear u-input__right-icon__item"},{default:Io(()=>[Yr(l,{size:"32",name:a.showPassword?"eye-fill":"eye",color:"#c0c4cc",onClick:t[0]||(t[0]=e=>a.showPassword=!a.showPassword)},null,8,["name"])]),_:1})):Qr("",!0),"select"==n.type?(Br(),jr(c,{key:2,class:qe(["u-input__right-icon--select u-input__right-icon__item",{"u-input__right-icon--select--reverse":n.selectOpen}])},{default:Io(()=>[Yr(l,{name:"arrow-down-fill",size:"26",color:"#c0c4cc"})]),_:1},8,["class"])):Qr("",!0)]),_:1})]),_:1},8,["class","style","onClick"])}],["__scopeId","data-v-ec2f36a5"]]);const kA=MM({name:"u-loading",props:{mode:{type:String,default:"circle"},color:{type:String,default:"#c7c7c7"},size:{type:[String,Number],default:"34"},show:{type:Boolean,default:!0}},computed:{cricleStyle(){let e={};return e.width=this.size+"rpx",e.height=this.size+"rpx","circle"==this.mode&&(e.borderColor=`#e4e4e4 #e4e4e4 #e4e4e4 ${this.color?this.color:"#c7c7c7"}`),e}}},[["render",function(e,t,n,o,a,r){const i=ny;return n.show?(Br(),jr(i,{key:0,class:qe(["u-loading","circle"==n.mode?"u-loading-circle":"u-loading-flower"]),style:Ue([r.cricleStyle])},null,8,["class","style"])):Qr("",!0)}],["__scopeId","data-v-32167e59"]]);const MA=MM({name:"u-mask",emits:["click"],props:{show:{type:Boolean,default:!1},zIndex:{type:[Number,String],default:""},customStyle:{type:Object,default:()=>({})},zoom:{type:Boolean,default:!0},duration:{type:[Number,String],default:300},maskClickAble:{type:Boolean,default:!0},blur:{type:[Number,String],default:0}},data:()=>({zoomStyle:{transform:""},scale:"scale(1.2, 1.2)"}),watch:{show(e){e&&this.zoom?this.zoomStyle.transform="scale(1, 1)":!e&&this.zoom&&(this.zoomStyle.transform=this.scale)}},computed:{maskStyle(){let e={backgroundColor:"rgba(0, 0, 0, 0.6)"};return this.show?e.zIndex=this.zIndex?this.zIndex:this.$u.zIndex.mask:e.zIndex=-1,e.transition=`all ${this.duration/1e3}s ease-in-out`,Object.keys(this.customStyle).length&&(e={...e,...this.customStyle}),e},filterStyle(){let{blur:e}=this,t={};return e&&(t.backdropFilter=`blur(${e}rpx)`),t}},methods:{click(){this.maskClickAble&&this.$emit("click")}}},[["render",function(e,t,n,o,a,r){const i=ny;return Br(),jr(i,{class:qe(["u-mask",{"u-mask-zoom":n.zoom,"u-mask-show":n.show}]),"hover-stop-propagation":"",style:Ue([r.maskStyle,a.zoomStyle,r.filterStyle]),onClick:r.click,onTouchmove:ms(()=>{},["stop","prevent"])},{default:Io(()=>[Va(e.$slots,"default",{},void 0,!0)]),_:3},8,["style","onClick","class"])}],["__scopeId","data-v-5bb6a44f"]]);IA(" , ,\t,\r,\n,\f"),IA("allowfullscreen,autoplay,autostart,controls,ignore,loop,muted"),IA("address,article,aside,body,caption,center,cite,footer,header,html,nav,pre,section"),IA("area,base,canvas,frame,iframe,input,link,map,meta,param,script,source,style,svg,textarea,title,track,wbr"),IA("a,colgroup,fieldset,legend"),IA("area,base,br,col,circle,ellipse,embed,frame,hr,img,input,line,link,meta,param,path,polygon,rect,source,track,use,wbr"),IA("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,source,span,strong,sub,sup,table,tbody,td,tfoot,th,thead,tr,title,ul,video");var AA={address:"font-style:italic",big:"display:inline;font-size:1.2em",blockquote:"background-color:#f6f6f6;border-left:3px solid #dbdbdb;color:#6c6c6c;padding:5px 0 5px 10px",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;overflow:scroll",s:"text-decoration:line-through",small:"display:inline;font-size:0.8em",u:"text-decoration:underline"};function IA(e){for(var t=Object.create(null),n=e.split(","),o=n.length;o--;)t[n[o]]=!0;return t}var{windowWidth:RA,platform:EA}=ov();const PA={name:"parser",emits:["parse","load","ready","error","imgtap","linkpress"],data(){return{uid:this._uid,showAm:"",nodes:[]}},props:{html:String,autopause:{type:Boolean,default:!0},preview:{type:Boolean,default:!0},autoscroll:Boolean,autosetTitle:{type:Boolean,default:!0},domain:String,lazyLoad:Boolean,selectable:Boolean,tagStyle:Object,showWithAnimation:Boolean,useAnchor:Boolean},watch:{html(e){this.setContent(e)}},created(){this.imgList=[],this.imgList.each=function(e){for(var t=0,n=this.length;t.5?n.toUpperCase():n;return o+=t.substr(a),this[e]=o}if(this[e]=t,t.includes("data:image"))if(!t.match(/data:image\/(\S+?);(\S+?),(.+)/))return}}},mounted(){this.document=document.getElementById("rtf"+this._uid),this.html&&this.setContent(this.html)},beforeUnmount(){this._observer&&this._observer.disconnect(),this.imgList.each(e=>{}),clearInterval(this._timer)},methods:{setContent(e,t){if(e){var n=document.createElement("div");t?this.rtf?this.rtf.appendChild(n):this.rtf=n:(this.rtf&&this.rtf.parentNode.removeChild(this.rtf),this.rtf=n),n.innerHTML=this._handleHtml(e,t);for(var o,a=this.rtf.getElementsByTagName("style"),r=0;o=a[r++];)o.innerHTML=o.innerHTML.replace(/body/g,"#rtf"+this._uid),o.setAttribute("scoped","true");!this._observer&&this.lazyLoad&&IntersectionObserver&&(this._observer=new IntersectionObserver(e=>{for(let t,n=0;t=e[n++];)t.isIntersecting&&(t.target.src=t.target.getAttribute("data-src"),t.target.removeAttribute("data-src"),this._observer.unobserve(t.target))},{rootMargin:"500px 0px 500px 0px"}));var i=this,s=this.rtf.getElementsByTagName("title");s.length&&this.autosetTitle&&xb({title:s[0].innerText});var l=e=>{var t=e.getAttribute("src");this.domain&&t&&("/"==t[0]?"/"==t[1]?e.src=(this.domain.includes("://")?this.domain.split("://")[0]:"")+":"+t:e.src=this.domain+t:t.includes("://")||0==t.indexOf("data:")||(e.src=this.domain+"/"+t))};this.imgList.length=0;var c=this.rtf.getElementsByTagName("img");for(let e,t=0,n=0;e=c[t];t++)parseInt(e.style.width||e.getAttribute("width"))>RA&&(e.style.height="auto"),l(e),e.hasAttribute("ignore")||"A"==e.parentElement.nodeName||(e.i=n++,i.imgList.push(e.getAttribute("original-src")||e.src||e.getAttribute("data-src")),e.onclick=function(e){e.stopPropagation();var t=i.preview;this.ignore=()=>t=!1,i.$emit("imgtap",this),t&&Ov({current:this.i,urls:i.imgList})}),e.onerror=function(){i.$emit("error",{source:"img",target:this})},i.lazyLoad&&this._observer&&e.src&&0!=e.i&&(e.setAttribute("data-src",e.src),e.removeAttribute("src"),this._observer.observe(e));var d=this.rtf.getElementsByTagName("a");for(var u of d)u.onclick=function(e){e.stopPropagation();var t=!0,n=this.getAttribute("href");if(i.$emit("linkpress",{href:n,ignore:()=>t=!1}),t&&n)if("#"==n[0])i.useAnchor&&i.navigateTo({id:n.substr(1)});else{if(0==n.indexOf("http")||0==n.indexOf("//"))return!0;Uv({url:n})}return!1};var h=this.rtf.getElementsByTagName("video");i.videoContexts=h;for(let e,t=0;e=h[t++];)l(e),e.style.maxWidth="100%",e.onerror=function(){i.$emit("error",{source:"video",target:this})},e.onplay=function(){if(i.autopause)for(let e,t=0;e=i.videoContexts[t++];)e!=this&&e.pause()};var m,p=this.rtf.getElementsByTagName("audio");for(var f of p)l(f),f.onerror=function(){i.$emit("error",{source:"audio",target:this})};if(this.autoscroll){var g=this.rtf.getElementsByTagName("table");for(var y of g){let e=document.createElement("div");e.style.overflow="scroll",y.parentNode.replaceChild(e,y),e.appendChild(y)}}t||this.document.appendChild(this.rtf),this.$nextTick(()=>{this.nodes=[1],this.$emit("load")}),setTimeout(()=>this.showAm="",500),clearInterval(this._timer),this._timer=setInterval(()=>{this.rect=this.rtf.getBoundingClientRect(),this.rect.height==m&&(this.$emit("ready",this.rect),clearInterval(this._timer)),m=this.rect.height},350),this.showWithAnimation&&!t&&(this.showAm="animation:_show .5s")}else this.rtf&&!t&&this.rtf.parentNode.removeChild(this.rtf)},getText(e=this.nodes){return this.rtf.innerText},in(e){e.page&&e.selector&&e.scrollTop&&(this._in=e)},navigateTo(e){if(!this.useAnchor)return e.fail&&e.fail("Anchor is disabled");var t=Xh().in(this._in?this._in.page:this).select((this._in?this._in.selector:"#_top")+(e.id?` #${e.id},${this._in?this._in.selector:"#_top"} .${e.id}`:"")).boundingClientRect();this._in?t.select(this._in.selector).scrollOffset().select(this._in.selector).boundingClientRect():t.selectViewport().scrollOffset(),t.exec(t=>{if(!t[0])return e.fail&&e.fail("Label not found");var n=t[1].scrollTop+t[0].top-(t[2]?t[2].top:0)+(e.offset||0);this._in?this._in.page[this._in.scrollTop]=n:Sb({scrollTop:n,duration:300}),e.success&&e.success()})},getVideoContext(e){if(!e)return this.videoContexts;for(var t=this.videoContexts.length;t--;)if(this.videoContexts[t].id==e)return this.videoContexts[t]},_handleHtml(e,t){if(!t){var n="")+e}return e.includes("rpx")&&(e=e.replace(/[0-9.]+\s*rpx/g,e=>parseFloat(e)*RA/750+"px")),e}}};const LA=MM(PA,[["render",function(e,t,n,o,a,r){const i=ny;return Br(),jr(i,null,{default:Io(()=>[a.nodes.length?Qr("",!0):Va(e.$slots,"default",{key:0},void 0,!0),Yr(i,{id:"_top",style:Ue(a.showAm+(n.selectable?";user-select:text;-webkit-user-select:text":""))},{default:Io(()=>[qr("div",{id:"rtf"+a.uid},null,8,["id"])]),_:1},8,["style"])]),_:3})}],["__scopeId","data-v-bebfe455"]]),OA=[{code:"110000",name:"北京市"},{code:"120000",name:"天津市"},{code:"130000",name:"河北省"},{code:"140000",name:"山西省"},{code:"150000",name:"内蒙古自治区"},{code:"210000",name:"辽宁省"},{code:"220000",name:"吉林省"},{code:"230000",name:"黑龙江省"},{code:"310000",name:"上海市"},{code:"320000",name:"江苏省"},{code:"330000",name:"浙江省"},{code:"340000",name:"安徽省"},{code:"350000",name:"福建省"},{code:"360000",name:"江西省"},{code:"370000",name:"山东省"},{code:"410000",name:"河南省"},{code:"420000",name:"湖北省"},{code:"430000",name:"湖南省"},{code:"440000",name:"广东省"},{code:"450000",name:"广西壮族自治区"},{code:"460000",name:"海南省"},{code:"500000",name:"重庆市"},{code:"510000",name:"四川省"},{code:"520000",name:"贵州省"},{code:"530000",name:"云南省"},{code:"540000",name:"西藏自治区"},{code:"610000",name:"陕西省"},{code:"620000",name:"甘肃省"},{code:"630000",name:"青海省"},{code:"640000",name:"宁夏回族自治区"},{code:"650000",name:"新疆维吾尔自治区"},{code:"710000",name:"台湾省"},{code:"810000",name:"香港特别行政区"},{code:"820000",name:"澳门特别行政区"}],BA=[[{code:"110100",name:"北京市"}],[{code:"120100",name:"天津市"}],[{code:"130100",name:"石家庄市"},{code:"130200",name:"唐山市"},{code:"130300",name:"秦皇岛市"},{code:"130400",name:"邯郸市"},{code:"130500",name:"邢台市"},{code:"130600",name:"保定市"},{code:"130700",name:"张家口市"},{code:"130800",name:"承德市"},{code:"130900",name:"沧州市"},{code:"131000",name:"廊坊市"},{code:"131100",name:"衡水市"}],[{code:"140100",name:"太原市"},{code:"140200",name:"大同市"},{code:"140300",name:"阳泉市"},{code:"140400",name:"长治市"},{code:"140500",name:"晋城市"},{code:"140600",name:"朔州市"},{code:"140700",name:"晋中市"},{code:"140800",name:"运城市"},{code:"140900",name:"忻州市"},{code:"141000",name:"临汾市"},{code:"141100",name:"吕梁市"}],[{code:"150100",name:"呼和浩特市"},{code:"150200",name:"包头市"},{code:"150300",name:"乌海市"},{code:"150400",name:"赤峰市"},{code:"150500",name:"通辽市"},{code:"150600",name:"鄂尔多斯市"},{code:"150700",name:"呼伦贝尔市"},{code:"150800",name:"巴彦淖尔市"},{code:"150900",name:"乌兰察布市"},{code:"152200",name:"兴安盟"},{code:"152500",name:"锡林郭勒盟"},{code:"152900",name:"阿拉善盟"}],[{code:"210100",name:"沈阳市"},{code:"210200",name:"大连市"},{code:"210300",name:"鞍山市"},{code:"210400",name:"抚顺市"},{code:"210500",name:"本溪市"},{code:"210600",name:"丹东市"},{code:"210700",name:"锦州市"},{code:"210800",name:"营口市"},{code:"210900",name:"阜新市"},{code:"211000",name:"辽阳市"},{code:"211100",name:"盘锦市"},{code:"211200",name:"铁岭市"},{code:"211300",name:"朝阳市"},{code:"211400",name:"葫芦岛市"}],[{code:"220100",name:"长春市"},{code:"220200",name:"吉林市"},{code:"220300",name:"四平市"},{code:"220400",name:"辽源市"},{code:"220500",name:"通化市"},{code:"220600",name:"白山市"},{code:"220700",name:"松原市"},{code:"220800",name:"白城市"},{code:"222400",name:"延边朝鲜族自治州"}],[{code:"230100",name:"哈尔滨市"},{code:"230200",name:"齐齐哈尔市"},{code:"230300",name:"鸡西市"},{code:"230400",name:"鹤岗市"},{code:"230500",name:"双鸭山市"},{code:"230600",name:"大庆市"},{code:"230700",name:"伊春市"},{code:"230800",name:"佳木斯市"},{code:"230900",name:"七台河市"},{code:"231000",name:"牡丹江市"},{code:"231100",name:"黑河市"},{code:"231200",name:"绥化市"},{code:"232700",name:"大兴安岭地区"}],[{code:"310100",name:"上海市"}],[{code:"320100",name:"南京市"},{code:"320200",name:"无锡市"},{code:"320300",name:"徐州市"},{code:"320400",name:"常州市"},{code:"320500",name:"苏州市"},{code:"320600",name:"南通市"},{code:"320700",name:"连云港市"},{code:"320800",name:"淮安市"},{code:"320900",name:"盐城市"},{code:"321000",name:"扬州市"},{code:"321100",name:"镇江市"},{code:"321200",name:"泰州市"},{code:"321300",name:"宿迁市"}],[{code:"330100",name:"杭州市"},{code:"330200",name:"宁波市"},{code:"330300",name:"温州市"},{code:"330400",name:"嘉兴市"},{code:"330500",name:"湖州市"},{code:"330600",name:"绍兴市"},{code:"330700",name:"金华市"},{code:"330800",name:"衢州市"},{code:"330900",name:"舟山市"},{code:"331000",name:"台州市"},{code:"331100",name:"丽水市"}],[{code:"340100",name:"合肥市"},{code:"340200",name:"芜湖市"},{code:"340300",name:"蚌埠市"},{code:"340400",name:"淮南市"},{code:"340500",name:"马鞍山市"},{code:"340600",name:"淮北市"},{code:"340700",name:"铜陵市"},{code:"340800",name:"安庆市"},{code:"341000",name:"黄山市"},{code:"341100",name:"滁州市"},{code:"341200",name:"阜阳市"},{code:"341300",name:"宿州市"},{code:"341500",name:"六安市"},{code:"341600",name:"亳州市"},{code:"341700",name:"池州市"},{code:"341800",name:"宣城市"}],[{code:"350100",name:"福州市"},{code:"350200",name:"厦门市"},{code:"350300",name:"莆田市"},{code:"350400",name:"三明市"},{code:"350500",name:"泉州市"},{code:"350600",name:"漳州市"},{code:"350700",name:"南平市"},{code:"350800",name:"龙岩市"},{code:"350900",name:"宁德市"}],[{code:"360100",name:"南昌市"},{code:"360200",name:"景德镇市"},{code:"360300",name:"萍乡市"},{code:"360400",name:"九江市"},{code:"360500",name:"新余市"},{code:"360600",name:"鹰潭市"},{code:"360700",name:"赣州市"},{code:"360800",name:"吉安市"},{code:"360900",name:"宜春市"},{code:"361000",name:"抚州市"},{code:"361100",name:"上饶市"}],[{code:"370100",name:"济南市"},{code:"370200",name:"青岛市"},{code:"370300",name:"淄博市"},{code:"370400",name:"枣庄市"},{code:"370500",name:"东营市"},{code:"370600",name:"烟台市"},{code:"370700",name:"潍坊市"},{code:"370800",name:"济宁市"},{code:"370900",name:"泰安市"},{code:"371000",name:"威海市"},{code:"371100",name:"日照市"},{code:"371200",name:"莱芜市"},{code:"371300",name:"临沂市"},{code:"371400",name:"德州市"},{code:"371500",name:"聊城市"},{code:"371600",name:"滨州市"},{code:"371700",name:"菏泽市"}],[{code:"410100",name:"郑州市"},{code:"410200",name:"开封市"},{code:"410300",name:"洛阳市"},{code:"410400",name:"平顶山市"},{code:"410500",name:"安阳市"},{code:"410600",name:"鹤壁市"},{code:"410700",name:"新乡市"},{code:"410800",name:"焦作市"},{code:"410900",name:"濮阳市"},{code:"411000",name:"许昌市"},{code:"411100",name:"漯河市"},{code:"411200",name:"三门峡市"},{code:"411300",name:"南阳市"},{code:"411400",name:"商丘市"},{code:"411500",name:"信阳市"},{code:"411600",name:"周口市"},{code:"411700",name:"驻马店市"},{code:"419000",name:"省直辖县级行政区划"}],[{code:"420100",name:"武汉市"},{code:"420200",name:"黄石市"},{code:"420300",name:"十堰市"},{code:"420500",name:"宜昌市"},{code:"420600",name:"襄阳市"},{code:"420700",name:"鄂州市"},{code:"420800",name:"荆门市"},{code:"420900",name:"孝感市"},{code:"421000",name:"荆州市"},{code:"421100",name:"黄冈市"},{code:"421200",name:"咸宁市"},{code:"421300",name:"随州市"},{code:"422800",name:"恩施土家族苗族自治州"},{code:"429000",name:"省直辖县级行政区划"}],[{code:"430100",name:"长沙市"},{code:"430200",name:"株洲市"},{code:"430300",name:"湘潭市"},{code:"430400",name:"衡阳市"},{code:"430500",name:"邵阳市"},{code:"430600",name:"岳阳市"},{code:"430700",name:"常德市"},{code:"430800",name:"张家界市"},{code:"430900",name:"益阳市"},{code:"431000",name:"郴州市"},{code:"431100",name:"永州市"},{code:"431200",name:"怀化市"},{code:"431300",name:"娄底市"},{code:"433100",name:"湘西土家族苗族自治州"}],[{code:"440100",name:"广州市"},{code:"440200",name:"韶关市"},{code:"440300",name:"深圳市"},{code:"440400",name:"珠海市"},{code:"440500",name:"汕头市"},{code:"440600",name:"佛山市"},{code:"440700",name:"江门市"},{code:"440800",name:"湛江市"},{code:"440900",name:"茂名市"},{code:"441200",name:"肇庆市"},{code:"441300",name:"惠州市"},{code:"441400",name:"梅州市"},{code:"441500",name:"汕尾市"},{code:"441600",name:"河源市"},{code:"441700",name:"阳江市"},{code:"441800",name:"清远市"},{code:"441900",name:"东莞市"},{code:"442000",name:"中山市"},{code:"445100",name:"潮州市"},{code:"445200",name:"揭阳市"},{code:"445300",name:"云浮市"}],[{code:"450100",name:"南宁市"},{code:"450200",name:"柳州市"},{code:"450300",name:"桂林市"},{code:"450400",name:"梧州市"},{code:"450500",name:"北海市"},{code:"450600",name:"防城港市"},{code:"450700",name:"钦州市"},{code:"450800",name:"贵港市"},{code:"450900",name:"玉林市"},{code:"451000",name:"百色市"},{code:"451100",name:"贺州市"},{code:"451200",name:"河池市"},{code:"451300",name:"来宾市"},{code:"451400",name:"崇左市"}],[{code:"460100",name:"海口市"},{code:"460200",name:"三亚市"},{code:"460300",name:"三沙市"},{code:"460400",name:"儋州市"},{code:"469000",name:"省直辖县级行政区划"}],[{code:"500100",name:"重庆市"},{code:"500200",name:"县"}],[{code:"510100",name:"成都市"},{code:"510300",name:"自贡市"},{code:"510400",name:"攀枝花市"},{code:"510500",name:"泸州市"},{code:"510600",name:"德阳市"},{code:"510700",name:"绵阳市"},{code:"510800",name:"广元市"},{code:"510900",name:"遂宁市"},{code:"511000",name:"内江市"},{code:"511100",name:"乐山市"},{code:"511300",name:"南充市"},{code:"511400",name:"眉山市"},{code:"511500",name:"宜宾市"},{code:"511600",name:"广安市"},{code:"511700",name:"达州市"},{code:"511800",name:"雅安市"},{code:"511900",name:"巴中市"},{code:"512000",name:"资阳市"},{code:"513200",name:"阿坝藏族羌族自治州"},{code:"513300",name:"甘孜藏族自治州"},{code:"513400",name:"凉山彝族自治州"}],[{code:"520100",name:"贵阳市"},{code:"520200",name:"六盘水市"},{code:"520300",name:"遵义市"},{code:"520400",name:"安顺市"},{code:"520500",name:"毕节市"},{code:"520600",name:"铜仁市"},{code:"522300",name:"黔西南布依族苗族自治州"},{code:"522600",name:"黔东南苗族侗族自治州"},{code:"522700",name:"黔南布依族苗族自治州"}],[{code:"530100",name:"昆明市"},{code:"530300",name:"曲靖市"},{code:"530400",name:"玉溪市"},{code:"530500",name:"保山市"},{code:"530600",name:"昭通市"},{code:"530700",name:"丽江市"},{code:"530800",name:"普洱市"},{code:"530900",name:"临沧市"},{code:"532300",name:"楚雄彝族自治州"},{code:"532500",name:"红河哈尼族彝族自治州"},{code:"532600",name:"文山壮族苗族自治州"},{code:"532800",name:"西双版纳傣族自治州"},{code:"532900",name:"大理白族自治州"},{code:"533100",name:"德宏傣族景颇族自治州"},{code:"533300",name:"怒江傈僳族自治州"},{code:"533400",name:"迪庆藏族自治州"}],[{code:"540100",name:"拉萨市"},{code:"540200",name:"日喀则市"},{code:"540300",name:"昌都市"},{code:"540400",name:"林芝市"},{code:"540500",name:"山南市"},{code:"542400",name:"那曲地区"},{code:"542500",name:"阿里地区"}],[{code:"610100",name:"西安市"},{code:"610200",name:"铜川市"},{code:"610300",name:"宝鸡市"},{code:"610400",name:"咸阳市"},{code:"610500",name:"渭南市"},{code:"610600",name:"延安市"},{code:"610700",name:"汉中市"},{code:"610800",name:"榆林市"},{code:"610900",name:"安康市"},{code:"611000",name:"商洛市"}],[{code:"620100",name:"兰州市"},{code:"620200",name:"嘉峪关市"},{code:"620300",name:"金昌市"},{code:"620400",name:"白银市"},{code:"620500",name:"天水市"},{code:"620600",name:"武威市"},{code:"620700",name:"张掖市"},{code:"620800",name:"平凉市"},{code:"620900",name:"酒泉市"},{code:"621000",name:"庆阳市"},{code:"621100",name:"定西市"},{code:"621200",name:"陇南市"},{code:"622900",name:"临夏回族自治州"},{code:"623000",name:"甘南藏族自治州"}],[{code:"630100",name:"西宁市"},{code:"630200",name:"海东市"},{code:"632200",name:"海北藏族自治州"},{code:"632300",name:"黄南藏族自治州"},{code:"632500",name:"海南藏族自治州"},{code:"632600",name:"果洛藏族自治州"},{code:"632700",name:"玉树藏族自治州"},{code:"632800",name:"海西蒙古族藏族自治州"}],[{code:"640100",name:"银川市"},{code:"640200",name:"石嘴山市"},{code:"640300",name:"吴忠市"},{code:"640400",name:"固原市"},{code:"640500",name:"中卫市"}],[{code:"650100",name:"乌鲁木齐市"},{code:"650200",name:"克拉玛依市"},{code:"650400",name:"吐鲁番市"},{code:"650500",name:"哈密市"},{code:"652300",name:"昌吉回族自治州"},{code:"652700",name:"博尔塔拉蒙古自治州"},{code:"652800",name:"巴音郭楞蒙古自治州"},{code:"652900",name:"阿克苏地区"},{code:"653000",name:"克孜勒苏柯尔克孜自治州"},{code:"653100",name:"喀什地区"},{code:"653200",name:"和田地区"},{code:"654000",name:"伊犁哈萨克自治州"},{code:"654200",name:"塔城地区"},{code:"654300",name:"阿勒泰地区"},{code:"659000",name:"自治区直辖县级行政区划"}],[{code:"710100",name:"台北市"},{code:"710200",name:"高雄市"},{code:"710300",name:"台南市"},{code:"710400",name:"台中市"},{code:"710600",name:"南投县"},{code:"710700",name:"基隆市"},{code:"710800",name:"新竹市"},{code:"710900",name:"嘉义市"},{code:"711100",name:"新北市"},{code:"711200",name:"宜兰县"},{code:"711300",name:"新竹县"},{code:"711400",name:"桃园市"},{code:"711500",name:"苗栗县"},{code:"711700",name:"彰化县"},{code:"711900",name:"嘉义县"},{code:"712100",name:"云林县"},{code:"712400",name:"屏东县"},{code:"712500",name:"台东县"},{code:"712600",name:"花莲县"},{code:"712700",name:"澎湖县"}],[{code:"810100",name:"香港特别行政区"}],[{code:"820100",name:"澳门特别行政区"}]],NA=[[[{code:"110101",name:"东城区"},{code:"110102",name:"西城区"},{code:"110105",name:"朝阳区"},{code:"110106",name:"丰台区"},{code:"110107",name:"石景山区"},{code:"110108",name:"海淀区"},{code:"110109",name:"门头沟区"},{code:"110111",name:"房山区"},{code:"110112",name:"通州区"},{code:"110113",name:"顺义区"},{code:"110114",name:"昌平区"},{code:"110115",name:"大兴区"},{code:"110116",name:"怀柔区"},{code:"110117",name:"平谷区"},{code:"110118",name:"密云区"},{code:"110119",name:"延庆区"}]],[[{code:"120101",name:"和平区"},{code:"120102",name:"河东区"},{code:"120103",name:"河西区"},{code:"120104",name:"南开区"},{code:"120105",name:"河北区"},{code:"120106",name:"红桥区"},{code:"120110",name:"东丽区"},{code:"120111",name:"西青区"},{code:"120112",name:"津南区"},{code:"120113",name:"北辰区"},{code:"120114",name:"武清区"},{code:"120115",name:"宝坻区"},{code:"120116",name:"滨海新区"},{code:"120117",name:"宁河区"},{code:"120118",name:"静海区"},{code:"120119",name:"蓟州区"}]],[[{code:"130102",name:"长安区"},{code:"130104",name:"桥西区"},{code:"130105",name:"新华区"},{code:"130107",name:"井陉矿区"},{code:"130108",name:"裕华区"},{code:"130109",name:"藁城区"},{code:"130110",name:"鹿泉区"},{code:"130111",name:"栾城区"},{code:"130121",name:"井陉县"},{code:"130123",name:"正定县"},{code:"130125",name:"行唐县"},{code:"130126",name:"灵寿县"},{code:"130127",name:"高邑县"},{code:"130128",name:"深泽县"},{code:"130129",name:"赞皇县"},{code:"130130",name:"无极县"},{code:"130131",name:"平山县"},{code:"130132",name:"元氏县"},{code:"130133",name:"赵县"},{code:"130181",name:"辛集市"},{code:"130183",name:"晋州市"},{code:"130184",name:"新乐市"}],[{code:"130202",name:"路南区"},{code:"130203",name:"路北区"},{code:"130204",name:"古冶区"},{code:"130205",name:"开平区"},{code:"130207",name:"丰南区"},{code:"130208",name:"丰润区"},{code:"130209",name:"曹妃甸区"},{code:"130223",name:"滦县"},{code:"130224",name:"滦南县"},{code:"130225",name:"乐亭县"},{code:"130227",name:"迁西县"},{code:"130229",name:"玉田县"},{code:"130281",name:"遵化市"},{code:"130283",name:"迁安市"}],[{code:"130302",name:"海港区"},{code:"130303",name:"山海关区"},{code:"130304",name:"北戴河区"},{code:"130306",name:"抚宁区"},{code:"130321",name:"青龙满族自治县"},{code:"130322",name:"昌黎县"},{code:"130324",name:"卢龙县"}],[{code:"130402",name:"邯山区"},{code:"130403",name:"丛台区"},{code:"130404",name:"复兴区"},{code:"130406",name:"峰峰矿区"},{code:"130407",name:"肥乡区"},{code:"130408",name:"永年区"},{code:"130423",name:"临漳县"},{code:"130424",name:"成安县"},{code:"130425",name:"大名县"},{code:"130426",name:"涉县"},{code:"130427",name:"磁县"},{code:"130430",name:"邱县"},{code:"130431",name:"鸡泽县"},{code:"130432",name:"广平县"},{code:"130433",name:"馆陶县"},{code:"130434",name:"魏县"},{code:"130435",name:"曲周县"},{code:"130481",name:"武安市"}],[{code:"130502",name:"桥东区"},{code:"130503",name:"桥西区"},{code:"130521",name:"邢台县"},{code:"130522",name:"临城县"},{code:"130523",name:"内丘县"},{code:"130524",name:"柏乡县"},{code:"130525",name:"隆尧县"},{code:"130526",name:"任县"},{code:"130527",name:"南和县"},{code:"130528",name:"宁晋县"},{code:"130529",name:"巨鹿县"},{code:"130530",name:"新河县"},{code:"130531",name:"广宗县"},{code:"130532",name:"平乡县"},{code:"130533",name:"威县"},{code:"130534",name:"清河县"},{code:"130535",name:"临西县"},{code:"130581",name:"南宫市"},{code:"130582",name:"沙河市"}],[{code:"130602",name:"竞秀区"},{code:"130606",name:"莲池区"},{code:"130607",name:"满城区"},{code:"130608",name:"清苑区"},{code:"130609",name:"徐水区"},{code:"130623",name:"涞水县"},{code:"130624",name:"阜平县"},{code:"130626",name:"定兴县"},{code:"130627",name:"唐县"},{code:"130628",name:"高阳县"},{code:"130629",name:"容城县"},{code:"130630",name:"涞源县"},{code:"130631",name:"望都县"},{code:"130632",name:"安新县"},{code:"130633",name:"易县"},{code:"130634",name:"曲阳县"},{code:"130635",name:"蠡县"},{code:"130636",name:"顺平县"},{code:"130637",name:"博野县"},{code:"130638",name:"雄县"},{code:"130681",name:"涿州市"},{code:"130682",name:"定州市"},{code:"130683",name:"安国市"},{code:"130684",name:"高碑店市"}],[{code:"130702",name:"桥东区"},{code:"130703",name:"桥西区"},{code:"130705",name:"宣化区"},{code:"130706",name:"下花园区"},{code:"130708",name:"万全区"},{code:"130709",name:"崇礼区"},{code:"130722",name:"张北县"},{code:"130723",name:"康保县"},{code:"130724",name:"沽源县"},{code:"130725",name:"尚义县"},{code:"130726",name:"蔚县"},{code:"130727",name:"阳原县"},{code:"130728",name:"怀安县"},{code:"130730",name:"怀来县"},{code:"130731",name:"涿鹿县"},{code:"130732",name:"赤城县"}],[{code:"130802",name:"双桥区"},{code:"130803",name:"双滦区"},{code:"130804",name:"鹰手营子矿区"},{code:"130821",name:"承德县"},{code:"130822",name:"兴隆县"},{code:"130824",name:"滦平县"},{code:"130825",name:"隆化县"},{code:"130826",name:"丰宁满族自治县"},{code:"130827",name:"宽城满族自治县"},{code:"130828",name:"围场满族蒙古族自治县"},{code:"130881",name:"平泉市"}],[{code:"130902",name:"新华区"},{code:"130903",name:"运河区"},{code:"130921",name:"沧县"},{code:"130922",name:"青县"},{code:"130923",name:"东光县"},{code:"130924",name:"海兴县"},{code:"130925",name:"盐山县"},{code:"130926",name:"肃宁县"},{code:"130927",name:"南皮县"},{code:"130928",name:"吴桥县"},{code:"130929",name:"献县"},{code:"130930",name:"孟村回族自治县"},{code:"130981",name:"泊头市"},{code:"130982",name:"任丘市"},{code:"130983",name:"黄骅市"},{code:"130984",name:"河间市"}],[{code:"131002",name:"安次区"},{code:"131003",name:"广阳区"},{code:"131022",name:"固安县"},{code:"131023",name:"永清县"},{code:"131024",name:"香河县"},{code:"131025",name:"大城县"},{code:"131026",name:"文安县"},{code:"131028",name:"大厂回族自治县"},{code:"131081",name:"霸州市"},{code:"131082",name:"三河市"}],[{code:"131102",name:"桃城区"},{code:"131103",name:"冀州区"},{code:"131121",name:"枣强县"},{code:"131122",name:"武邑县"},{code:"131123",name:"武强县"},{code:"131124",name:"饶阳县"},{code:"131125",name:"安平县"},{code:"131126",name:"故城县"},{code:"131127",name:"景县"},{code:"131128",name:"阜城县"},{code:"131182",name:"深州市"}]],[[{code:"140105",name:"小店区"},{code:"140106",name:"迎泽区"},{code:"140107",name:"杏花岭区"},{code:"140108",name:"尖草坪区"},{code:"140109",name:"万柏林区"},{code:"140110",name:"晋源区"},{code:"140121",name:"清徐县"},{code:"140122",name:"阳曲县"},{code:"140123",name:"娄烦县"},{code:"140181",name:"古交市"}],[{code:"140202",name:"城区"},{code:"140203",name:"矿区"},{code:"140211",name:"南郊区"},{code:"140212",name:"新荣区"},{code:"140221",name:"阳高县"},{code:"140222",name:"天镇县"},{code:"140223",name:"广灵县"},{code:"140224",name:"灵丘县"},{code:"140225",name:"浑源县"},{code:"140226",name:"左云县"},{code:"140227",name:"大同县"}],[{code:"140302",name:"城区"},{code:"140303",name:"矿区"},{code:"140311",name:"郊区"},{code:"140321",name:"平定县"},{code:"140322",name:"盂县"}],[{code:"140402",name:"城区"},{code:"140411",name:"郊区"},{code:"140421",name:"长治县"},{code:"140423",name:"襄垣县"},{code:"140424",name:"屯留县"},{code:"140425",name:"平顺县"},{code:"140426",name:"黎城县"},{code:"140427",name:"壶关县"},{code:"140428",name:"长子县"},{code:"140429",name:"武乡县"},{code:"140430",name:"沁县"},{code:"140431",name:"沁源县"},{code:"140481",name:"潞城市"}],[{code:"140502",name:"城区"},{code:"140521",name:"沁水县"},{code:"140522",name:"阳城县"},{code:"140524",name:"陵川县"},{code:"140525",name:"泽州县"},{code:"140581",name:"高平市"}],[{code:"140602",name:"朔城区"},{code:"140603",name:"平鲁区"},{code:"140621",name:"山阴县"},{code:"140622",name:"应县"},{code:"140623",name:"右玉县"},{code:"140624",name:"怀仁县"}],[{code:"140702",name:"榆次区"},{code:"140721",name:"榆社县"},{code:"140722",name:"左权县"},{code:"140723",name:"和顺县"},{code:"140724",name:"昔阳县"},{code:"140725",name:"寿阳县"},{code:"140726",name:"太谷县"},{code:"140727",name:"祁县"},{code:"140728",name:"平遥县"},{code:"140729",name:"灵石县"},{code:"140781",name:"介休市"}],[{code:"140802",name:"盐湖区"},{code:"140821",name:"临猗县"},{code:"140822",name:"万荣县"},{code:"140823",name:"闻喜县"},{code:"140824",name:"稷山县"},{code:"140825",name:"新绛县"},{code:"140826",name:"绛县"},{code:"140827",name:"垣曲县"},{code:"140828",name:"夏县"},{code:"140829",name:"平陆县"},{code:"140830",name:"芮城县"},{code:"140881",name:"永济市"},{code:"140882",name:"河津市"}],[{code:"140902",name:"忻府区"},{code:"140921",name:"定襄县"},{code:"140922",name:"五台县"},{code:"140923",name:"代县"},{code:"140924",name:"繁峙县"},{code:"140925",name:"宁武县"},{code:"140926",name:"静乐县"},{code:"140927",name:"神池县"},{code:"140928",name:"五寨县"},{code:"140929",name:"岢岚县"},{code:"140930",name:"河曲县"},{code:"140931",name:"保德县"},{code:"140932",name:"偏关县"},{code:"140981",name:"原平市"}],[{code:"141002",name:"尧都区"},{code:"141021",name:"曲沃县"},{code:"141022",name:"翼城县"},{code:"141023",name:"襄汾县"},{code:"141024",name:"洪洞县"},{code:"141025",name:"古县"},{code:"141026",name:"安泽县"},{code:"141027",name:"浮山县"},{code:"141028",name:"吉县"},{code:"141029",name:"乡宁县"},{code:"141030",name:"大宁县"},{code:"141031",name:"隰县"},{code:"141032",name:"永和县"},{code:"141033",name:"蒲县"},{code:"141034",name:"汾西县"},{code:"141081",name:"侯马市"},{code:"141082",name:"霍州市"}],[{code:"141102",name:"离石区"},{code:"141121",name:"文水县"},{code:"141122",name:"交城县"},{code:"141123",name:"兴县"},{code:"141124",name:"临县"},{code:"141125",name:"柳林县"},{code:"141126",name:"石楼县"},{code:"141127",name:"岚县"},{code:"141128",name:"方山县"},{code:"141129",name:"中阳县"},{code:"141130",name:"交口县"},{code:"141181",name:"孝义市"},{code:"141182",name:"汾阳市"}]],[[{code:"150102",name:"新城区"},{code:"150103",name:"回民区"},{code:"150104",name:"玉泉区"},{code:"150105",name:"赛罕区"},{code:"150121",name:"土默特左旗"},{code:"150122",name:"托克托县"},{code:"150123",name:"和林格尔县"},{code:"150124",name:"清水河县"},{code:"150125",name:"武川县"}],[{code:"150202",name:"东河区"},{code:"150203",name:"昆都仑区"},{code:"150204",name:"青山区"},{code:"150205",name:"石拐区"},{code:"150206",name:"白云鄂博矿区"},{code:"150207",name:"九原区"},{code:"150221",name:"土默特右旗"},{code:"150222",name:"固阳县"},{code:"150223",name:"达尔罕茂明安联合旗"}],[{code:"150302",name:"海勃湾区"},{code:"150303",name:"海南区"},{code:"150304",name:"乌达区"}],[{code:"150402",name:"红山区"},{code:"150403",name:"元宝山区"},{code:"150404",name:"松山区"},{code:"150421",name:"阿鲁科尔沁旗"},{code:"150422",name:"巴林左旗"},{code:"150423",name:"巴林右旗"},{code:"150424",name:"林西县"},{code:"150425",name:"克什克腾旗"},{code:"150426",name:"翁牛特旗"},{code:"150428",name:"喀喇沁旗"},{code:"150429",name:"宁城县"},{code:"150430",name:"敖汉旗"}],[{code:"150502",name:"科尔沁区"},{code:"150521",name:"科尔沁左翼中旗"},{code:"150522",name:"科尔沁左翼后旗"},{code:"150523",name:"开鲁县"},{code:"150524",name:"库伦旗"},{code:"150525",name:"奈曼旗"},{code:"150526",name:"扎鲁特旗"},{code:"150581",name:"霍林郭勒市"}],[{code:"150602",name:"东胜区"},{code:"150603",name:"康巴什区"},{code:"150621",name:"达拉特旗"},{code:"150622",name:"准格尔旗"},{code:"150623",name:"鄂托克前旗"},{code:"150624",name:"鄂托克旗"},{code:"150625",name:"杭锦旗"},{code:"150626",name:"乌审旗"},{code:"150627",name:"伊金霍洛旗"}],[{code:"150702",name:"海拉尔区"},{code:"150703",name:"扎赉诺尔区"},{code:"150721",name:"阿荣旗"},{code:"150722",name:"莫力达瓦达斡尔族自治旗"},{code:"150723",name:"鄂伦春自治旗"},{code:"150724",name:"鄂温克族自治旗"},{code:"150725",name:"陈巴尔虎旗"},{code:"150726",name:"新巴尔虎左旗"},{code:"150727",name:"新巴尔虎右旗"},{code:"150781",name:"满洲里市"},{code:"150782",name:"牙克石市"},{code:"150783",name:"扎兰屯市"},{code:"150784",name:"额尔古纳市"},{code:"150785",name:"根河市"}],[{code:"150802",name:"临河区"},{code:"150821",name:"五原县"},{code:"150822",name:"磴口县"},{code:"150823",name:"乌拉特前旗"},{code:"150824",name:"乌拉特中旗"},{code:"150825",name:"乌拉特后旗"},{code:"150826",name:"杭锦后旗"}],[{code:"150902",name:"集宁区"},{code:"150921",name:"卓资县"},{code:"150922",name:"化德县"},{code:"150923",name:"商都县"},{code:"150924",name:"兴和县"},{code:"150925",name:"凉城县"},{code:"150926",name:"察哈尔右翼前旗"},{code:"150927",name:"察哈尔右翼中旗"},{code:"150928",name:"察哈尔右翼后旗"},{code:"150929",name:"四子王旗"},{code:"150981",name:"丰镇市"}],[{code:"152201",name:"乌兰浩特市"},{code:"152202",name:"阿尔山市"},{code:"152221",name:"科尔沁右翼前旗"},{code:"152222",name:"科尔沁右翼中旗"},{code:"152223",name:"扎赉特旗"},{code:"152224",name:"突泉县"}],[{code:"152501",name:"二连浩特市"},{code:"152502",name:"锡林浩特市"},{code:"152522",name:"阿巴嘎旗"},{code:"152523",name:"苏尼特左旗"},{code:"152524",name:"苏尼特右旗"},{code:"152525",name:"东乌珠穆沁旗"},{code:"152526",name:"西乌珠穆沁旗"},{code:"152527",name:"太仆寺旗"},{code:"152528",name:"镶黄旗"},{code:"152529",name:"正镶白旗"},{code:"152530",name:"正蓝旗"},{code:"152531",name:"多伦县"}],[{code:"152921",name:"阿拉善左旗"},{code:"152922",name:"阿拉善右旗"},{code:"152923",name:"额济纳旗"}]],[[{code:"210102",name:"和平区"},{code:"210103",name:"沈河区"},{code:"210104",name:"大东区"},{code:"210105",name:"皇姑区"},{code:"210106",name:"铁西区"},{code:"210111",name:"苏家屯区"},{code:"210112",name:"浑南区"},{code:"210113",name:"沈北新区"},{code:"210114",name:"于洪区"},{code:"210115",name:"辽中区"},{code:"210123",name:"康平县"},{code:"210124",name:"法库县"},{code:"210181",name:"新民市"}],[{code:"210202",name:"中山区"},{code:"210203",name:"西岗区"},{code:"210204",name:"沙河口区"},{code:"210211",name:"甘井子区"},{code:"210212",name:"旅顺口区"},{code:"210213",name:"金州区"},{code:"210214",name:"普兰店区"},{code:"210224",name:"长海县"},{code:"210281",name:"瓦房店市"},{code:"210283",name:"庄河市"}],[{code:"210302",name:"铁东区"},{code:"210303",name:"铁西区"},{code:"210304",name:"立山区"},{code:"210311",name:"千山区"},{code:"210321",name:"台安县"},{code:"210323",name:"岫岩满族自治县"},{code:"210381",name:"海城市"}],[{code:"210402",name:"新抚区"},{code:"210403",name:"东洲区"},{code:"210404",name:"望花区"},{code:"210411",name:"顺城区"},{code:"210421",name:"抚顺县"},{code:"210422",name:"新宾满族自治县"},{code:"210423",name:"清原满族自治县"}],[{code:"210502",name:"平山区"},{code:"210503",name:"溪湖区"},{code:"210504",name:"明山区"},{code:"210505",name:"南芬区"},{code:"210521",name:"本溪满族自治县"},{code:"210522",name:"桓仁满族自治县"}],[{code:"210602",name:"元宝区"},{code:"210603",name:"振兴区"},{code:"210604",name:"振安区"},{code:"210624",name:"宽甸满族自治县"},{code:"210681",name:"东港市"},{code:"210682",name:"凤城市"}],[{code:"210702",name:"古塔区"},{code:"210703",name:"凌河区"},{code:"210711",name:"太和区"},{code:"210726",name:"黑山县"},{code:"210727",name:"义县"},{code:"210781",name:"凌海市"},{code:"210782",name:"北镇市"}],[{code:"210802",name:"站前区"},{code:"210803",name:"西市区"},{code:"210804",name:"鲅鱼圈区"},{code:"210811",name:"老边区"},{code:"210881",name:"盖州市"},{code:"210882",name:"大石桥市"}],[{code:"210902",name:"海州区"},{code:"210903",name:"新邱区"},{code:"210904",name:"太平区"},{code:"210905",name:"清河门区"},{code:"210911",name:"细河区"},{code:"210921",name:"阜新蒙古族自治县"},{code:"210922",name:"彰武县"}],[{code:"211002",name:"白塔区"},{code:"211003",name:"文圣区"},{code:"211004",name:"宏伟区"},{code:"211005",name:"弓长岭区"},{code:"211011",name:"太子河区"},{code:"211021",name:"辽阳县"},{code:"211081",name:"灯塔市"}],[{code:"211102",name:"双台子区"},{code:"211103",name:"兴隆台区"},{code:"211104",name:"大洼区"},{code:"211122",name:"盘山县"}],[{code:"211202",name:"银州区"},{code:"211204",name:"清河区"},{code:"211221",name:"铁岭县"},{code:"211223",name:"西丰县"},{code:"211224",name:"昌图县"},{code:"211281",name:"调兵山市"},{code:"211282",name:"开原市"}],[{code:"211302",name:"双塔区"},{code:"211303",name:"龙城区"},{code:"211321",name:"朝阳县"},{code:"211322",name:"建平县"},{code:"211324",name:"喀喇沁左翼蒙古族自治县"},{code:"211381",name:"北票市"},{code:"211382",name:"凌源市"}],[{code:"211402",name:"连山区"},{code:"211403",name:"龙港区"},{code:"211404",name:"南票区"},{code:"211421",name:"绥中县"},{code:"211422",name:"建昌县"},{code:"211481",name:"兴城市"}]],[[{code:"220102",name:"南关区"},{code:"220103",name:"宽城区"},{code:"220104",name:"朝阳区"},{code:"220105",name:"二道区"},{code:"220106",name:"绿园区"},{code:"220112",name:"双阳区"},{code:"220113",name:"九台区"},{code:"220122",name:"农安县"},{code:"220182",name:"榆树市"},{code:"220183",name:"德惠市"}],[{code:"220202",name:"昌邑区"},{code:"220203",name:"龙潭区"},{code:"220204",name:"船营区"},{code:"220211",name:"丰满区"},{code:"220221",name:"永吉县"},{code:"220281",name:"蛟河市"},{code:"220282",name:"桦甸市"},{code:"220283",name:"舒兰市"},{code:"220284",name:"磐石市"}],[{code:"220302",name:"铁西区"},{code:"220303",name:"铁东区"},{code:"220322",name:"梨树县"},{code:"220323",name:"伊通满族自治县"},{code:"220381",name:"公主岭市"},{code:"220382",name:"双辽市"}],[{code:"220402",name:"龙山区"},{code:"220403",name:"西安区"},{code:"220421",name:"东丰县"},{code:"220422",name:"东辽县"}],[{code:"220502",name:"东昌区"},{code:"220503",name:"二道江区"},{code:"220521",name:"通化县"},{code:"220523",name:"辉南县"},{code:"220524",name:"柳河县"},{code:"220581",name:"梅河口市"},{code:"220582",name:"集安市"}],[{code:"220602",name:"浑江区"},{code:"220605",name:"江源区"},{code:"220621",name:"抚松县"},{code:"220622",name:"靖宇县"},{code:"220623",name:"长白朝鲜族自治县"},{code:"220681",name:"临江市"}],[{code:"220702",name:"宁江区"},{code:"220721",name:"前郭尔罗斯蒙古族自治县"},{code:"220722",name:"长岭县"},{code:"220723",name:"乾安县"},{code:"220781",name:"扶余市"}],[{code:"220802",name:"洮北区"},{code:"220821",name:"镇赉县"},{code:"220822",name:"通榆县"},{code:"220881",name:"洮南市"},{code:"220882",name:"大安市"}],[{code:"222401",name:"延吉市"},{code:"222402",name:"图们市"},{code:"222403",name:"敦化市"},{code:"222404",name:"珲春市"},{code:"222405",name:"龙井市"},{code:"222406",name:"和龙市"},{code:"222424",name:"汪清县"},{code:"222426",name:"安图县"}]],[[{code:"230102",name:"道里区"},{code:"230103",name:"南岗区"},{code:"230104",name:"道外区"},{code:"230108",name:"平房区"},{code:"230109",name:"松北区"},{code:"230110",name:"香坊区"},{code:"230111",name:"呼兰区"},{code:"230112",name:"阿城区"},{code:"230113",name:"双城区"},{code:"230123",name:"依兰县"},{code:"230124",name:"方正县"},{code:"230125",name:"宾县"},{code:"230126",name:"巴彦县"},{code:"230127",name:"木兰县"},{code:"230128",name:"通河县"},{code:"230129",name:"延寿县"},{code:"230183",name:"尚志市"},{code:"230184",name:"五常市"}],[{code:"230202",name:"龙沙区"},{code:"230203",name:"建华区"},{code:"230204",name:"铁锋区"},{code:"230205",name:"昂昂溪区"},{code:"230206",name:"富拉尔基区"},{code:"230207",name:"碾子山区"},{code:"230208",name:"梅里斯达斡尔族区"},{code:"230221",name:"龙江县"},{code:"230223",name:"依安县"},{code:"230224",name:"泰来县"},{code:"230225",name:"甘南县"},{code:"230227",name:"富裕县"},{code:"230229",name:"克山县"},{code:"230230",name:"克东县"},{code:"230231",name:"拜泉县"},{code:"230281",name:"讷河市"}],[{code:"230302",name:"鸡冠区"},{code:"230303",name:"恒山区"},{code:"230304",name:"滴道区"},{code:"230305",name:"梨树区"},{code:"230306",name:"城子河区"},{code:"230307",name:"麻山区"},{code:"230321",name:"鸡东县"},{code:"230381",name:"虎林市"},{code:"230382",name:"密山市"}],[{code:"230402",name:"向阳区"},{code:"230403",name:"工农区"},{code:"230404",name:"南山区"},{code:"230405",name:"兴安区"},{code:"230406",name:"东山区"},{code:"230407",name:"兴山区"},{code:"230421",name:"萝北县"},{code:"230422",name:"绥滨县"}],[{code:"230502",name:"尖山区"},{code:"230503",name:"岭东区"},{code:"230505",name:"四方台区"},{code:"230506",name:"宝山区"},{code:"230521",name:"集贤县"},{code:"230522",name:"友谊县"},{code:"230523",name:"宝清县"},{code:"230524",name:"饶河县"}],[{code:"230602",name:"萨尔图区"},{code:"230603",name:"龙凤区"},{code:"230604",name:"让胡路区"},{code:"230605",name:"红岗区"},{code:"230606",name:"大同区"},{code:"230621",name:"肇州县"},{code:"230622",name:"肇源县"},{code:"230623",name:"林甸县"},{code:"230624",name:"杜尔伯特蒙古族自治县"}],[{code:"230702",name:"伊春区"},{code:"230703",name:"南岔区"},{code:"230704",name:"友好区"},{code:"230705",name:"西林区"},{code:"230706",name:"翠峦区"},{code:"230707",name:"新青区"},{code:"230708",name:"美溪区"},{code:"230709",name:"金山屯区"},{code:"230710",name:"五营区"},{code:"230711",name:"乌马河区"},{code:"230712",name:"汤旺河区"},{code:"230713",name:"带岭区"},{code:"230714",name:"乌伊岭区"},{code:"230715",name:"红星区"},{code:"230716",name:"上甘岭区"},{code:"230722",name:"嘉荫县"},{code:"230781",name:"铁力市"}],[{code:"230803",name:"向阳区"},{code:"230804",name:"前进区"},{code:"230805",name:"东风区"},{code:"230811",name:"郊区"},{code:"230822",name:"桦南县"},{code:"230826",name:"桦川县"},{code:"230828",name:"汤原县"},{code:"230881",name:"同江市"},{code:"230882",name:"富锦市"},{code:"230883",name:"抚远市"}],[{code:"230902",name:"新兴区"},{code:"230903",name:"桃山区"},{code:"230904",name:"茄子河区"},{code:"230921",name:"勃利县"}],[{code:"231002",name:"东安区"},{code:"231003",name:"阳明区"},{code:"231004",name:"爱民区"},{code:"231005",name:"西安区"},{code:"231025",name:"林口县"},{code:"231081",name:"绥芬河市"},{code:"231083",name:"海林市"},{code:"231084",name:"宁安市"},{code:"231085",name:"穆棱市"},{code:"231086",name:"东宁市"}],[{code:"231102",name:"爱辉区"},{code:"231121",name:"嫩江县"},{code:"231123",name:"逊克县"},{code:"231124",name:"孙吴县"},{code:"231181",name:"北安市"},{code:"231182",name:"五大连池市"}],[{code:"231202",name:"北林区"},{code:"231221",name:"望奎县"},{code:"231222",name:"兰西县"},{code:"231223",name:"青冈县"},{code:"231224",name:"庆安县"},{code:"231225",name:"明水县"},{code:"231226",name:"绥棱县"},{code:"231281",name:"安达市"},{code:"231282",name:"肇东市"},{code:"231283",name:"海伦市"}],[{code:"232701",name:"加格达奇区"},{code:"232702",name:"松岭区"},{code:"232703",name:"新林区"},{code:"232704",name:"呼中区"},{code:"232721",name:"呼玛县"},{code:"232722",name:"塔河县"},{code:"232723",name:"漠河县"}]],[[{code:"310101",name:"黄浦区"},{code:"310104",name:"徐汇区"},{code:"310105",name:"长宁区"},{code:"310106",name:"静安区"},{code:"310107",name:"普陀区"},{code:"310109",name:"虹口区"},{code:"310110",name:"杨浦区"},{code:"310112",name:"闵行区"},{code:"310113",name:"宝山区"},{code:"310114",name:"嘉定区"},{code:"310115",name:"浦东新区"},{code:"310116",name:"金山区"},{code:"310117",name:"松江区"},{code:"310118",name:"青浦区"},{code:"310120",name:"奉贤区"},{code:"310151",name:"崇明区"}]],[[{code:"320102",name:"玄武区"},{code:"320104",name:"秦淮区"},{code:"320105",name:"建邺区"},{code:"320106",name:"鼓楼区"},{code:"320111",name:"浦口区"},{code:"320113",name:"栖霞区"},{code:"320114",name:"雨花台区"},{code:"320115",name:"江宁区"},{code:"320116",name:"六合区"},{code:"320117",name:"溧水区"},{code:"320118",name:"高淳区"}],[{code:"320205",name:"锡山区"},{code:"320206",name:"惠山区"},{code:"320211",name:"滨湖区"},{code:"320213",name:"梁溪区"},{code:"320214",name:"新吴区"},{code:"320281",name:"江阴市"},{code:"320282",name:"宜兴市"}],[{code:"320302",name:"鼓楼区"},{code:"320303",name:"云龙区"},{code:"320305",name:"贾汪区"},{code:"320311",name:"泉山区"},{code:"320312",name:"铜山区"},{code:"320321",name:"丰县"},{code:"320322",name:"沛县"},{code:"320324",name:"睢宁县"},{code:"320381",name:"新沂市"},{code:"320382",name:"邳州市"}],[{code:"320402",name:"天宁区"},{code:"320404",name:"钟楼区"},{code:"320411",name:"新北区"},{code:"320412",name:"武进区"},{code:"320413",name:"金坛区"},{code:"320481",name:"溧阳市"}],[{code:"320505",name:"虎丘区"},{code:"320506",name:"吴中区"},{code:"320507",name:"相城区"},{code:"320508",name:"姑苏区"},{code:"320509",name:"吴江区"},{code:"320581",name:"常熟市"},{code:"320582",name:"张家港市"},{code:"320583",name:"昆山市"},{code:"320585",name:"太仓市"}],[{code:"320602",name:"崇川区"},{code:"320611",name:"港闸区"},{code:"320612",name:"通州区"},{code:"320621",name:"海安县"},{code:"320623",name:"如东县"},{code:"320681",name:"启东市"},{code:"320682",name:"如皋市"},{code:"320684",name:"海门市"}],[{code:"320703",name:"连云区"},{code:"320706",name:"海州区"},{code:"320707",name:"赣榆区"},{code:"320722",name:"东海县"},{code:"320723",name:"灌云县"},{code:"320724",name:"灌南县"}],[{code:"320803",name:"淮安区"},{code:"320804",name:"淮阴区"},{code:"320812",name:"清江浦区"},{code:"320813",name:"洪泽区"},{code:"320826",name:"涟水县"},{code:"320830",name:"盱眙县"},{code:"320831",name:"金湖县"}],[{code:"320902",name:"亭湖区"},{code:"320903",name:"盐都区"},{code:"320904",name:"大丰区"},{code:"320921",name:"响水县"},{code:"320922",name:"滨海县"},{code:"320923",name:"阜宁县"},{code:"320924",name:"射阳县"},{code:"320925",name:"建湖县"},{code:"320981",name:"东台市"}],[{code:"321002",name:"广陵区"},{code:"321003",name:"邗江区"},{code:"321012",name:"江都区"},{code:"321023",name:"宝应县"},{code:"321081",name:"仪征市"},{code:"321084",name:"高邮市"}],[{code:"321102",name:"京口区"},{code:"321111",name:"润州区"},{code:"321112",name:"丹徒区"},{code:"321181",name:"丹阳市"},{code:"321182",name:"扬中市"},{code:"321183",name:"句容市"}],[{code:"321202",name:"海陵区"},{code:"321203",name:"高港区"},{code:"321204",name:"姜堰区"},{code:"321281",name:"兴化市"},{code:"321282",name:"靖江市"},{code:"321283",name:"泰兴市"}],[{code:"321302",name:"宿城区"},{code:"321311",name:"宿豫区"},{code:"321322",name:"沭阳县"},{code:"321323",name:"泗阳县"},{code:"321324",name:"泗洪县"}]],[[{code:"330102",name:"上城区"},{code:"330105",name:"拱墅区"},{code:"330106",name:"西湖区"},{code:"330108",name:"滨江区"},{code:"330109",name:"萧山区"},{code:"330110",name:"余杭区"},{code:"330111",name:"富阳区"},{code:"330112",name:"临安区"},{code:"330113",name:"临平区"},{code:"330114",name:"钱塘区"},{code:"330122",name:"桐庐县"},{code:"330127",name:"淳安县"},{code:"330182",name:"建德市"}],[{code:"330203",name:"海曙区"},{code:"330205",name:"江北区"},{code:"330206",name:"北仑区"},{code:"330211",name:"镇海区"},{code:"330212",name:"鄞州区"},{code:"330213",name:"奉化区"},{code:"330225",name:"象山县"},{code:"330226",name:"宁海县"},{code:"330281",name:"余姚市"},{code:"330282",name:"慈溪市"}],[{code:"330302",name:"鹿城区"},{code:"330303",name:"龙湾区"},{code:"330304",name:"瓯海区"},{code:"330305",name:"洞头区"},{code:"330324",name:"永嘉县"},{code:"330326",name:"平阳县"},{code:"330327",name:"苍南县"},{code:"330328",name:"文成县"},{code:"330329",name:"泰顺县"},{code:"330381",name:"瑞安市"},{code:"330382",name:"乐清市"}],[{code:"330402",name:"南湖区"},{code:"330411",name:"秀洲区"},{code:"330421",name:"嘉善县"},{code:"330424",name:"海盐县"},{code:"330481",name:"海宁市"},{code:"330482",name:"平湖市"},{code:"330483",name:"桐乡市"}],[{code:"330502",name:"吴兴区"},{code:"330503",name:"南浔区"},{code:"330521",name:"德清县"},{code:"330522",name:"长兴县"},{code:"330523",name:"安吉县"}],[{code:"330602",name:"越城区"},{code:"330603",name:"柯桥区"},{code:"330604",name:"上虞区"},{code:"330624",name:"新昌县"},{code:"330681",name:"诸暨市"},{code:"330683",name:"嵊州市"}],[{code:"330702",name:"婺城区"},{code:"330703",name:"金东区"},{code:"330723",name:"武义县"},{code:"330726",name:"浦江县"},{code:"330727",name:"磐安县"},{code:"330781",name:"兰溪市"},{code:"330782",name:"义乌市"},{code:"330783",name:"东阳市"},{code:"330784",name:"永康市"}],[{code:"330802",name:"柯城区"},{code:"330803",name:"衢江区"},{code:"330822",name:"常山县"},{code:"330824",name:"开化县"},{code:"330825",name:"龙游县"},{code:"330881",name:"江山市"}],[{code:"330902",name:"定海区"},{code:"330903",name:"普陀区"},{code:"330921",name:"岱山县"},{code:"330922",name:"嵊泗县"}],[{code:"331002",name:"椒江区"},{code:"331003",name:"黄岩区"},{code:"331004",name:"路桥区"},{code:"331022",name:"三门县"},{code:"331023",name:"天台县"},{code:"331024",name:"仙居县"},{code:"331081",name:"温岭市"},{code:"331082",name:"临海市"},{code:"331083",name:"玉环市"}],[{code:"331102",name:"莲都区"},{code:"331121",name:"青田县"},{code:"331122",name:"缙云县"},{code:"331123",name:"遂昌县"},{code:"331124",name:"松阳县"},{code:"331125",name:"云和县"},{code:"331126",name:"庆元县"},{code:"331127",name:"景宁畲族自治县"},{code:"331181",name:"龙泉市"}]],[[{code:"340102",name:"瑶海区"},{code:"340103",name:"庐阳区"},{code:"340104",name:"蜀山区"},{code:"340111",name:"包河区"},{code:"340121",name:"长丰县"},{code:"340122",name:"肥东县"},{code:"340123",name:"肥西县"},{code:"340124",name:"庐江县"},{code:"340181",name:"巢湖市"}],[{code:"340202",name:"镜湖区"},{code:"340203",name:"弋江区"},{code:"340207",name:"鸠江区"},{code:"340208",name:"三山区"},{code:"340221",name:"芜湖县"},{code:"340222",name:"繁昌县"},{code:"340223",name:"南陵县"},{code:"340225",name:"无为县"}],[{code:"340302",name:"龙子湖区"},{code:"340303",name:"蚌山区"},{code:"340304",name:"禹会区"},{code:"340311",name:"淮上区"},{code:"340321",name:"怀远县"},{code:"340322",name:"五河县"},{code:"340323",name:"固镇县"}],[{code:"340402",name:"大通区"},{code:"340403",name:"田家庵区"},{code:"340404",name:"谢家集区"},{code:"340405",name:"八公山区"},{code:"340406",name:"潘集区"},{code:"340421",name:"凤台县"},{code:"340422",name:"寿县"}],[{code:"340503",name:"花山区"},{code:"340504",name:"雨山区"},{code:"340506",name:"博望区"},{code:"340521",name:"当涂县"},{code:"340522",name:"含山县"},{code:"340523",name:"和县"}],[{code:"340602",name:"杜集区"},{code:"340603",name:"相山区"},{code:"340604",name:"烈山区"},{code:"340621",name:"濉溪县"}],[{code:"340705",name:"铜官区"},{code:"340706",name:"义安区"},{code:"340711",name:"郊区"},{code:"340722",name:"枞阳县"}],[{code:"340802",name:"迎江区"},{code:"340803",name:"大观区"},{code:"340811",name:"宜秀区"},{code:"340822",name:"怀宁县"},{code:"340824",name:"潜山县"},{code:"340825",name:"太湖县"},{code:"340826",name:"宿松县"},{code:"340827",name:"望江县"},{code:"340828",name:"岳西县"},{code:"340881",name:"桐城市"}],[{code:"341002",name:"屯溪区"},{code:"341003",name:"黄山区"},{code:"341004",name:"徽州区"},{code:"341021",name:"歙县"},{code:"341022",name:"休宁县"},{code:"341023",name:"黟县"},{code:"341024",name:"祁门县"}],[{code:"341102",name:"琅琊区"},{code:"341103",name:"南谯区"},{code:"341122",name:"来安县"},{code:"341124",name:"全椒县"},{code:"341125",name:"定远县"},{code:"341126",name:"凤阳县"},{code:"341181",name:"天长市"},{code:"341182",name:"明光市"}],[{code:"341202",name:"颍州区"},{code:"341203",name:"颍东区"},{code:"341204",name:"颍泉区"},{code:"341221",name:"临泉县"},{code:"341222",name:"太和县"},{code:"341225",name:"阜南县"},{code:"341226",name:"颍上县"},{code:"341282",name:"界首市"}],[{code:"341302",name:"埇桥区"},{code:"341321",name:"砀山县"},{code:"341322",name:"萧县"},{code:"341323",name:"灵璧县"},{code:"341324",name:"泗县"}],[{code:"341502",name:"金安区"},{code:"341503",name:"裕安区"},{code:"341504",name:"叶集区"},{code:"341522",name:"霍邱县"},{code:"341523",name:"舒城县"},{code:"341524",name:"金寨县"},{code:"341525",name:"霍山县"}],[{code:"341602",name:"谯城区"},{code:"341621",name:"涡阳县"},{code:"341622",name:"蒙城县"},{code:"341623",name:"利辛县"}],[{code:"341702",name:"贵池区"},{code:"341721",name:"东至县"},{code:"341722",name:"石台县"},{code:"341723",name:"青阳县"}],[{code:"341802",name:"宣州区"},{code:"341821",name:"郎溪县"},{code:"341822",name:"广德县"},{code:"341823",name:"泾县"},{code:"341824",name:"绩溪县"},{code:"341825",name:"旌德县"},{code:"341881",name:"宁国市"}]],[[{code:"350102",name:"鼓楼区"},{code:"350103",name:"台江区"},{code:"350104",name:"仓山区"},{code:"350105",name:"马尾区"},{code:"350111",name:"晋安区"},{code:"350112",name:"长乐区"},{code:"350121",name:"闽侯县"},{code:"350122",name:"连江县"},{code:"350123",name:"罗源县"},{code:"350124",name:"闽清县"},{code:"350125",name:"永泰县"},{code:"350128",name:"平潭县"},{code:"350181",name:"福清市"}],[{code:"350203",name:"思明区"},{code:"350205",name:"海沧区"},{code:"350206",name:"湖里区"},{code:"350211",name:"集美区"},{code:"350212",name:"同安区"},{code:"350213",name:"翔安区"}],[{code:"350302",name:"城厢区"},{code:"350303",name:"涵江区"},{code:"350304",name:"荔城区"},{code:"350305",name:"秀屿区"},{code:"350322",name:"仙游县"}],[{code:"350404",name:"三元区"},{code:"350405",name:"沙县区"},{code:"350421",name:"明溪县"},{code:"350423",name:"清流县"},{code:"350424",name:"宁化县"},{code:"350425",name:"大田县"},{code:"350426",name:"尤溪县"},{code:"350428",name:"将乐县"},{code:"350429",name:"泰宁县"},{code:"350430",name:"建宁县"},{code:"350481",name:"永安市"}],[{code:"350502",name:"鲤城区"},{code:"350503",name:"丰泽区"},{code:"350504",name:"洛江区"},{code:"350505",name:"泉港区"},{code:"350521",name:"惠安县"},{code:"350524",name:"安溪县"},{code:"350525",name:"永春县"},{code:"350526",name:"德化县"},{code:"350527",name:"金门县"},{code:"350581",name:"石狮市"},{code:"350582",name:"晋江市"},{code:"350583",name:"南安市"}],[{code:"350602",name:"芗城区"},{code:"350603",name:"龙文区"},{code:"350604",name:"龙海区"},{code:"350605",name:"长泰区"},{code:"350622",name:"云霄县"},{code:"350623",name:"漳浦县"},{code:"350624",name:"诏安县"},{code:"350626",name:"东山县"},{code:"350627",name:"南靖县"},{code:"350628",name:"平和县"},{code:"350629",name:"华安县"}],[{code:"350702",name:"延平区"},{code:"350703",name:"建阳区"},{code:"350721",name:"顺昌县"},{code:"350722",name:"浦城县"},{code:"350723",name:"光泽县"},{code:"350724",name:"松溪县"},{code:"350725",name:"政和县"},{code:"350781",name:"邵武市"},{code:"350782",name:"武夷山市"},{code:"350783",name:"建瓯市"}],[{code:"350802",name:"新罗区"},{code:"350803",name:"永定区"},{code:"350821",name:"长汀县"},{code:"350823",name:"上杭县"},{code:"350824",name:"武平县"},{code:"350825",name:"连城县"},{code:"350881",name:"漳平市"}],[{code:"350902",name:"蕉城区"},{code:"350921",name:"霞浦县"},{code:"350922",name:"古田县"},{code:"350923",name:"屏南县"},{code:"350924",name:"寿宁县"},{code:"350925",name:"周宁县"},{code:"350926",name:"柘荣县"},{code:"350981",name:"福安市"},{code:"350982",name:"福鼎市"}]],[[{code:"360102",name:"东湖区"},{code:"360103",name:"西湖区"},{code:"360104",name:"青云谱区"},{code:"360105",name:"湾里区"},{code:"360111",name:"青山湖区"},{code:"360112",name:"新建区"},{code:"360121",name:"南昌县"},{code:"360123",name:"安义县"},{code:"360124",name:"进贤县"}],[{code:"360202",name:"昌江区"},{code:"360203",name:"珠山区"},{code:"360222",name:"浮梁县"},{code:"360281",name:"乐平市"}],[{code:"360302",name:"安源区"},{code:"360313",name:"湘东区"},{code:"360321",name:"莲花县"},{code:"360322",name:"上栗县"},{code:"360323",name:"芦溪县"}],[{code:"360402",name:"濂溪区"},{code:"360403",name:"浔阳区"},{code:"360404",name:"柴桑区"},{code:"360423",name:"武宁县"},{code:"360424",name:"修水县"},{code:"360425",name:"永修县"},{code:"360426",name:"德安县"},{code:"360428",name:"都昌县"},{code:"360429",name:"湖口县"},{code:"360430",name:"彭泽县"},{code:"360481",name:"瑞昌市"},{code:"360482",name:"共青城市"},{code:"360483",name:"庐山市"}],[{code:"360502",name:"渝水区"},{code:"360521",name:"分宜县"}],[{code:"360602",name:"月湖区"},{code:"360622",name:"余江区"},{code:"360681",name:"贵溪市"}],[{code:"360702",name:"章贡区"},{code:"360703",name:"南康区"},{code:"360704",name:"赣县区"},{code:"360722",name:"信丰县"},{code:"360723",name:"大余县"},{code:"360724",name:"上犹县"},{code:"360725",name:"崇义县"},{code:"360726",name:"安远县"},{code:"360727",name:"龙南县"},{code:"360728",name:"定南县"},{code:"360729",name:"全南县"},{code:"360730",name:"宁都县"},{code:"360731",name:"于都县"},{code:"360732",name:"兴国县"},{code:"360733",name:"会昌县"},{code:"360734",name:"寻乌县"},{code:"360735",name:"石城县"},{code:"360781",name:"瑞金市"}],[{code:"360802",name:"吉州区"},{code:"360803",name:"青原区"},{code:"360821",name:"吉安县"},{code:"360822",name:"吉水县"},{code:"360823",name:"峡江县"},{code:"360824",name:"新干县"},{code:"360825",name:"永丰县"},{code:"360826",name:"泰和县"},{code:"360827",name:"遂川县"},{code:"360828",name:"万安县"},{code:"360829",name:"安福县"},{code:"360830",name:"永新县"},{code:"360881",name:"井冈山市"}],[{code:"360902",name:"袁州区"},{code:"360921",name:"奉新县"},{code:"360922",name:"万载县"},{code:"360923",name:"上高县"},{code:"360924",name:"宜丰县"},{code:"360925",name:"靖安县"},{code:"360926",name:"铜鼓县"},{code:"360981",name:"丰城市"},{code:"360982",name:"樟树市"},{code:"360983",name:"高安市"}],[{code:"361002",name:"临川区"},{code:"361003",name:"东乡区"},{code:"361021",name:"南城县"},{code:"361022",name:"黎川县"},{code:"361023",name:"南丰县"},{code:"361024",name:"崇仁县"},{code:"361025",name:"乐安县"},{code:"361026",name:"宜黄县"},{code:"361027",name:"金溪县"},{code:"361028",name:"资溪县"},{code:"361030",name:"广昌县"}],[{code:"361102",name:"信州区"},{code:"361103",name:"广丰区"},{code:"361121",name:"上饶县"},{code:"361123",name:"玉山县"},{code:"361124",name:"铅山县"},{code:"361125",name:"横峰县"},{code:"361126",name:"弋阳县"},{code:"361127",name:"余干县"},{code:"361128",name:"鄱阳县"},{code:"361129",name:"万年县"},{code:"361130",name:"婺源县"},{code:"361181",name:"德兴市"}]],[[{code:"370102",name:"历下区"},{code:"370103",name:"市中区"},{code:"370104",name:"槐荫区"},{code:"370105",name:"天桥区"},{code:"370112",name:"历城区"},{code:"370113",name:"长清区"},{code:"370114",name:"章丘区"},{code:"370124",name:"平阴县"},{code:"370125",name:"济阳县"},{code:"370126",name:"商河县"}],[{code:"370202",name:"市南区"},{code:"370203",name:"市北区"},{code:"370211",name:"黄岛区"},{code:"370212",name:"崂山区"},{code:"370213",name:"李沧区"},{code:"370214",name:"城阳区"},{code:"370215",name:"即墨区"},{code:"370281",name:"胶州市"},{code:"370283",name:"平度市"},{code:"370285",name:"莱西市"}],[{code:"370302",name:"淄川区"},{code:"370303",name:"张店区"},{code:"370304",name:"博山区"},{code:"370305",name:"临淄区"},{code:"370306",name:"周村区"},{code:"370321",name:"桓台县"},{code:"370322",name:"高青县"},{code:"370323",name:"沂源县"}],[{code:"370402",name:"市中区"},{code:"370403",name:"薛城区"},{code:"370404",name:"峄城区"},{code:"370405",name:"台儿庄区"},{code:"370406",name:"山亭区"},{code:"370481",name:"滕州市"}],[{code:"370502",name:"东营区"},{code:"370503",name:"河口区"},{code:"370505",name:"垦利区"},{code:"370522",name:"利津县"},{code:"370523",name:"广饶县"}],[{code:"370602",name:"芝罘区"},{code:"370611",name:"福山区"},{code:"370612",name:"牟平区"},{code:"370613",name:"莱山区"},{code:"370634",name:"长岛县"},{code:"370681",name:"龙口市"},{code:"370682",name:"莱阳市"},{code:"370683",name:"莱州市"},{code:"370684",name:"蓬莱市"},{code:"370685",name:"招远市"},{code:"370686",name:"栖霞市"},{code:"370687",name:"海阳市"}],[{code:"370702",name:"潍城区"},{code:"370703",name:"寒亭区"},{code:"370704",name:"坊子区"},{code:"370705",name:"奎文区"},{code:"370724",name:"临朐县"},{code:"370725",name:"昌乐县"},{code:"370781",name:"青州市"},{code:"370782",name:"诸城市"},{code:"370783",name:"寿光市"},{code:"370784",name:"安丘市"},{code:"370785",name:"高密市"},{code:"370786",name:"昌邑市"}],[{code:"370811",name:"任城区"},{code:"370812",name:"兖州区"},{code:"370826",name:"微山县"},{code:"370827",name:"鱼台县"},{code:"370828",name:"金乡县"},{code:"370829",name:"嘉祥县"},{code:"370830",name:"汶上县"},{code:"370831",name:"泗水县"},{code:"370832",name:"梁山县"},{code:"370881",name:"曲阜市"},{code:"370883",name:"邹城市"}],[{code:"370902",name:"泰山区"},{code:"370911",name:"岱岳区"},{code:"370921",name:"宁阳县"},{code:"370923",name:"东平县"},{code:"370982",name:"新泰市"},{code:"370983",name:"肥城市"}],[{code:"371002",name:"环翠区"},{code:"371003",name:"文登区"},{code:"371082",name:"荣成市"},{code:"371083",name:"乳山市"}],[{code:"371102",name:"东港区"},{code:"371103",name:"岚山区"},{code:"371121",name:"五莲县"},{code:"371122",name:"莒县"}],[{code:"371202",name:"莱城区"},{code:"371203",name:"钢城区"}],[{code:"371302",name:"兰山区"},{code:"371311",name:"罗庄区"},{code:"371312",name:"河东区"},{code:"371321",name:"沂南县"},{code:"371322",name:"郯城县"},{code:"371323",name:"沂水县"},{code:"371324",name:"兰陵县"},{code:"371325",name:"费县"},{code:"371326",name:"平邑县"},{code:"371327",name:"莒南县"},{code:"371328",name:"蒙阴县"},{code:"371329",name:"临沭县"}],[{code:"371402",name:"德城区"},{code:"371403",name:"陵城区"},{code:"371422",name:"宁津县"},{code:"371423",name:"庆云县"},{code:"371424",name:"临邑县"},{code:"371425",name:"齐河县"},{code:"371426",name:"平原县"},{code:"371427",name:"夏津县"},{code:"371428",name:"武城县"},{code:"371481",name:"乐陵市"},{code:"371482",name:"禹城市"}],[{code:"371502",name:"东昌府区"},{code:"371521",name:"阳谷县"},{code:"371522",name:"莘县"},{code:"371523",name:"茌平县"},{code:"371524",name:"东阿县"},{code:"371525",name:"冠县"},{code:"371526",name:"高唐县"},{code:"371581",name:"临清市"}],[{code:"371602",name:"滨城区"},{code:"371603",name:"沾化区"},{code:"371621",name:"惠民县"},{code:"371622",name:"阳信县"},{code:"371623",name:"无棣县"},{code:"371625",name:"博兴县"},{code:"371626",name:"邹平县"}],[{code:"371702",name:"牡丹区"},{code:"371703",name:"定陶区"},{code:"371721",name:"曹县"},{code:"371722",name:"单县"},{code:"371723",name:"成武县"},{code:"371724",name:"巨野县"},{code:"371725",name:"郓城县"},{code:"371726",name:"鄄城县"},{code:"371728",name:"东明县"}]],[[{code:"410102",name:"中原区"},{code:"410103",name:"二七区"},{code:"410104",name:"管城回族区"},{code:"410105",name:"金水区"},{code:"410106",name:"上街区"},{code:"410108",name:"惠济区"},{code:"410122",name:"中牟县"},{code:"410181",name:"巩义市"},{code:"410182",name:"荥阳市"},{code:"410183",name:"新密市"},{code:"410184",name:"新郑市"},{code:"410185",name:"登封市"}],[{code:"410202",name:"龙亭区"},{code:"410203",name:"顺河回族区"},{code:"410204",name:"鼓楼区"},{code:"410205",name:"禹王台区"},{code:"410212",name:"祥符区"},{code:"410221",name:"杞县"},{code:"410222",name:"通许县"},{code:"410223",name:"尉氏县"},{code:"410225",name:"兰考县"}],[{code:"410302",name:"老城区"},{code:"410303",name:"西工区"},{code:"410304",name:"瀍河回族区"},{code:"410305",name:"涧西区"},{code:"410307",name:"偃师区"},{code:"410308",name:"孟津区"},{code:"410311",name:"洛龙区"},{code:"410323",name:"新安县"},{code:"410324",name:"栾川县"},{code:"410325",name:"嵩县"},{code:"410326",name:"汝阳县"},{code:"410327",name:"宜阳县"},{code:"410328",name:"洛宁县"},{code:"410329",name:"伊川县"}],[{code:"410402",name:"新华区"},{code:"410403",name:"卫东区"},{code:"410404",name:"石龙区"},{code:"410411",name:"湛河区"},{code:"410421",name:"宝丰县"},{code:"410422",name:"叶县"},{code:"410423",name:"鲁山县"},{code:"410425",name:"郏县"},{code:"410481",name:"舞钢市"},{code:"410482",name:"汝州市"}],[{code:"410502",name:"文峰区"},{code:"410503",name:"北关区"},{code:"410505",name:"殷都区"},{code:"410506",name:"龙安区"},{code:"410522",name:"安阳县"},{code:"410523",name:"汤阴县"},{code:"410526",name:"滑县"},{code:"410527",name:"内黄县"},{code:"410581",name:"林州市"}],[{code:"410602",name:"鹤山区"},{code:"410603",name:"山城区"},{code:"410611",name:"淇滨区"},{code:"410621",name:"浚县"},{code:"410622",name:"淇县"}],[{code:"410702",name:"红旗区"},{code:"410703",name:"卫滨区"},{code:"410704",name:"凤泉区"},{code:"410711",name:"牧野区"},{code:"410721",name:"新乡县"},{code:"410724",name:"获嘉县"},{code:"410725",name:"原阳县"},{code:"410726",name:"延津县"},{code:"410727",name:"封丘县"},{code:"410728",name:"长垣县"},{code:"410781",name:"卫辉市"},{code:"410782",name:"辉县市"}],[{code:"410802",name:"解放区"},{code:"410803",name:"中站区"},{code:"410804",name:"马村区"},{code:"410811",name:"山阳区"},{code:"410821",name:"修武县"},{code:"410822",name:"博爱县"},{code:"410823",name:"武陟县"},{code:"410825",name:"温县"},{code:"410882",name:"沁阳市"},{code:"410883",name:"孟州市"}],[{code:"410902",name:"华龙区"},{code:"410922",name:"清丰县"},{code:"410923",name:"南乐县"},{code:"410926",name:"范县"},{code:"410927",name:"台前县"},{code:"410928",name:"濮阳县"}],[{code:"411002",name:"魏都区"},{code:"411003",name:"建安区"},{code:"411024",name:"鄢陵县"},{code:"411025",name:"襄城县"},{code:"411081",name:"禹州市"},{code:"411082",name:"长葛市"}],[{code:"411102",name:"源汇区"},{code:"411103",name:"郾城区"},{code:"411104",name:"召陵区"},{code:"411121",name:"舞阳县"},{code:"411122",name:"临颍县"}],[{code:"411202",name:"湖滨区"},{code:"411203",name:"陕州区"},{code:"411221",name:"渑池县"},{code:"411224",name:"卢氏县"},{code:"411281",name:"义马市"},{code:"411282",name:"灵宝市"}],[{code:"411302",name:"宛城区"},{code:"411303",name:"卧龙区"},{code:"411321",name:"南召县"},{code:"411322",name:"方城县"},{code:"411323",name:"西峡县"},{code:"411324",name:"镇平县"},{code:"411325",name:"内乡县"},{code:"411326",name:"淅川县"},{code:"411327",name:"社旗县"},{code:"411328",name:"唐河县"},{code:"411329",name:"新野县"},{code:"411330",name:"桐柏县"},{code:"411381",name:"邓州市"}],[{code:"411402",name:"梁园区"},{code:"411403",name:"睢阳区"},{code:"411421",name:"民权县"},{code:"411422",name:"睢县"},{code:"411423",name:"宁陵县"},{code:"411424",name:"柘城县"},{code:"411425",name:"虞城县"},{code:"411426",name:"夏邑县"},{code:"411481",name:"永城市"}],[{code:"411502",name:"浉河区"},{code:"411503",name:"平桥区"},{code:"411521",name:"罗山县"},{code:"411522",name:"光山县"},{code:"411523",name:"新县"},{code:"411524",name:"商城县"},{code:"411525",name:"固始县"},{code:"411526",name:"潢川县"},{code:"411527",name:"淮滨县"},{code:"411528",name:"息县"}],[{code:"411602",name:"川汇区"},{code:"411621",name:"扶沟县"},{code:"411622",name:"西华县"},{code:"411623",name:"商水县"},{code:"411624",name:"沈丘县"},{code:"411625",name:"郸城县"},{code:"411626",name:"淮阳县"},{code:"411627",name:"太康县"},{code:"411628",name:"鹿邑县"},{code:"411681",name:"项城市"}],[{code:"411702",name:"驿城区"},{code:"411721",name:"西平县"},{code:"411722",name:"上蔡县"},{code:"411723",name:"平舆县"},{code:"411724",name:"正阳县"},{code:"411725",name:"确山县"},{code:"411726",name:"泌阳县"},{code:"411727",name:"汝南县"},{code:"411728",name:"遂平县"},{code:"411729",name:"新蔡县"}],[{code:"419001",name:"济源市"}]],[[{code:"420102",name:"江岸区"},{code:"420103",name:"江汉区"},{code:"420104",name:"硚口区"},{code:"420105",name:"汉阳区"},{code:"420106",name:"武昌区"},{code:"420107",name:"青山区"},{code:"420111",name:"洪山区"},{code:"420112",name:"东西湖区"},{code:"420113",name:"汉南区"},{code:"420114",name:"蔡甸区"},{code:"420115",name:"江夏区"},{code:"420116",name:"黄陂区"},{code:"420117",name:"新洲区"}],[{code:"420202",name:"黄石港区"},{code:"420203",name:"西塞山区"},{code:"420204",name:"下陆区"},{code:"420205",name:"铁山区"},{code:"420222",name:"阳新县"},{code:"420281",name:"大冶市"}],[{code:"420302",name:"茅箭区"},{code:"420303",name:"张湾区"},{code:"420304",name:"郧阳区"},{code:"420322",name:"郧西县"},{code:"420323",name:"竹山县"},{code:"420324",name:"竹溪县"},{code:"420325",name:"房县"},{code:"420381",name:"丹江口市"}],[{code:"420502",name:"西陵区"},{code:"420503",name:"伍家岗区"},{code:"420504",name:"点军区"},{code:"420505",name:"猇亭区"},{code:"420506",name:"夷陵区"},{code:"420525",name:"远安县"},{code:"420526",name:"兴山县"},{code:"420527",name:"秭归县"},{code:"420528",name:"长阳土家族自治县"},{code:"420529",name:"五峰土家族自治县"},{code:"420581",name:"宜都市"},{code:"420582",name:"当阳市"},{code:"420583",name:"枝江市"}],[{code:"420602",name:"襄城区"},{code:"420606",name:"樊城区"},{code:"420607",name:"襄州区"},{code:"420624",name:"南漳县"},{code:"420625",name:"谷城县"},{code:"420626",name:"保康县"},{code:"420682",name:"老河口市"},{code:"420683",name:"枣阳市"},{code:"420684",name:"宜城市"}],[{code:"420702",name:"梁子湖区"},{code:"420703",name:"华容区"},{code:"420704",name:"鄂城区"}],[{code:"420802",name:"东宝区"},{code:"420804",name:"掇刀区"},{code:"420821",name:"京山县"},{code:"420822",name:"沙洋县"},{code:"420881",name:"钟祥市"}],[{code:"420902",name:"孝南区"},{code:"420921",name:"孝昌县"},{code:"420922",name:"大悟县"},{code:"420923",name:"云梦县"},{code:"420981",name:"应城市"},{code:"420982",name:"安陆市"},{code:"420984",name:"汉川市"}],[{code:"421002",name:"沙市区"},{code:"421003",name:"荆州区"},{code:"421022",name:"公安县"},{code:"421023",name:"监利县"},{code:"421024",name:"江陵县"},{code:"421081",name:"石首市"},{code:"421083",name:"洪湖市"},{code:"421087",name:"松滋市"}],[{code:"421102",name:"黄州区"},{code:"421121",name:"团风县"},{code:"421122",name:"红安县"},{code:"421123",name:"罗田县"},{code:"421124",name:"英山县"},{code:"421125",name:"浠水县"},{code:"421126",name:"蕲春县"},{code:"421127",name:"黄梅县"},{code:"421181",name:"麻城市"},{code:"421182",name:"武穴市"}],[{code:"421202",name:"咸安区"},{code:"421221",name:"嘉鱼县"},{code:"421222",name:"通城县"},{code:"421223",name:"崇阳县"},{code:"421224",name:"通山县"},{code:"421281",name:"赤壁市"}],[{code:"421303",name:"曾都区"},{code:"421321",name:"随县"},{code:"421381",name:"广水市"}],[{code:"422801",name:"恩施市"},{code:"422802",name:"利川市"},{code:"422822",name:"建始县"},{code:"422823",name:"巴东县"},{code:"422825",name:"宣恩县"},{code:"422826",name:"咸丰县"},{code:"422827",name:"来凤县"},{code:"422828",name:"鹤峰县"}],[{code:"429004",name:"仙桃市"},{code:"429005",name:"潜江市"},{code:"429006",name:"天门市"},{code:"429021",name:"神农架林区"}]],[[{code:"430102",name:"芙蓉区"},{code:"430103",name:"天心区"},{code:"430104",name:"岳麓区"},{code:"430105",name:"开福区"},{code:"430111",name:"雨花区"},{code:"430112",name:"望城区"},{code:"430121",name:"长沙县"},{code:"430181",name:"浏阳市"},{code:"430182",name:"宁乡市"}],[{code:"430202",name:"荷塘区"},{code:"430203",name:"芦淞区"},{code:"430204",name:"石峰区"},{code:"430211",name:"天元区"},{code:"430221",name:"株洲县"},{code:"430223",name:"攸县"},{code:"430224",name:"茶陵县"},{code:"430225",name:"炎陵县"},{code:"430281",name:"醴陵市"}],[{code:"430302",name:"雨湖区"},{code:"430304",name:"岳塘区"},{code:"430321",name:"湘潭县"},{code:"430381",name:"湘乡市"},{code:"430382",name:"韶山市"}],[{code:"430405",name:"珠晖区"},{code:"430406",name:"雁峰区"},{code:"430407",name:"石鼓区"},{code:"430408",name:"蒸湘区"},{code:"430412",name:"南岳区"},{code:"430421",name:"衡阳县"},{code:"430422",name:"衡南县"},{code:"430423",name:"衡山县"},{code:"430424",name:"衡东县"},{code:"430426",name:"祁东县"},{code:"430481",name:"耒阳市"},{code:"430482",name:"常宁市"}],[{code:"430502",name:"双清区"},{code:"430503",name:"大祥区"},{code:"430511",name:"北塔区"},{code:"430521",name:"邵东县"},{code:"430522",name:"新邵县"},{code:"430523",name:"邵阳县"},{code:"430524",name:"隆回县"},{code:"430525",name:"洞口县"},{code:"430527",name:"绥宁县"},{code:"430528",name:"新宁县"},{code:"430529",name:"城步苗族自治县"},{code:"430581",name:"武冈市"}],[{code:"430602",name:"岳阳楼区"},{code:"430603",name:"云溪区"},{code:"430611",name:"君山区"},{code:"430621",name:"岳阳县"},{code:"430623",name:"华容县"},{code:"430624",name:"湘阴县"},{code:"430626",name:"平江县"},{code:"430681",name:"汨罗市"},{code:"430682",name:"临湘市"}],[{code:"430702",name:"武陵区"},{code:"430703",name:"鼎城区"},{code:"430721",name:"安乡县"},{code:"430722",name:"汉寿县"},{code:"430723",name:"澧县"},{code:"430724",name:"临澧县"},{code:"430725",name:"桃源县"},{code:"430726",name:"石门县"},{code:"430781",name:"津市市"}],[{code:"430802",name:"永定区"},{code:"430811",name:"武陵源区"},{code:"430821",name:"慈利县"},{code:"430822",name:"桑植县"}],[{code:"430902",name:"资阳区"},{code:"430903",name:"赫山区"},{code:"430921",name:"南县"},{code:"430922",name:"桃江县"},{code:"430923",name:"安化县"},{code:"430981",name:"沅江市"}],[{code:"431002",name:"北湖区"},{code:"431003",name:"苏仙区"},{code:"431021",name:"桂阳县"},{code:"431022",name:"宜章县"},{code:"431023",name:"永兴县"},{code:"431024",name:"嘉禾县"},{code:"431025",name:"临武县"},{code:"431026",name:"汝城县"},{code:"431027",name:"桂东县"},{code:"431028",name:"安仁县"},{code:"431081",name:"资兴市"}],[{code:"431102",name:"零陵区"},{code:"431103",name:"冷水滩区"},{code:"431122",name:"东安县"},{code:"431123",name:"双牌县"},{code:"431124",name:"道县"},{code:"431125",name:"江永县"},{code:"431126",name:"宁远县"},{code:"431127",name:"蓝山县"},{code:"431128",name:"新田县"},{code:"431129",name:"江华瑶族自治县"},{code:"431181",name:"祁阳市"}],[{code:"431202",name:"鹤城区"},{code:"431221",name:"中方县"},{code:"431222",name:"沅陵县"},{code:"431223",name:"辰溪县"},{code:"431224",name:"溆浦县"},{code:"431225",name:"会同县"},{code:"431226",name:"麻阳苗族自治县"},{code:"431227",name:"新晃侗族自治县"},{code:"431228",name:"芷江侗族自治县"},{code:"431229",name:"靖州苗族侗族自治县"},{code:"431230",name:"通道侗族自治县"},{code:"431281",name:"洪江市"}],[{code:"431302",name:"娄星区"},{code:"431321",name:"双峰县"},{code:"431322",name:"新化县"},{code:"431381",name:"冷水江市"},{code:"431382",name:"涟源市"}],[{code:"433101",name:"吉首市"},{code:"433122",name:"泸溪县"},{code:"433123",name:"凤凰县"},{code:"433124",name:"花垣县"},{code:"433125",name:"保靖县"},{code:"433126",name:"古丈县"},{code:"433127",name:"永顺县"},{code:"433130",name:"龙山县"}]],[[{code:"440103",name:"荔湾区"},{code:"440104",name:"越秀区"},{code:"440105",name:"海珠区"},{code:"440106",name:"天河区"},{code:"440111",name:"白云区"},{code:"440112",name:"黄埔区"},{code:"440113",name:"番禺区"},{code:"440114",name:"花都区"},{code:"440115",name:"南沙区"},{code:"440117",name:"从化区"},{code:"440118",name:"增城区"}],[{code:"440203",name:"武江区"},{code:"440204",name:"浈江区"},{code:"440205",name:"曲江区"},{code:"440222",name:"始兴县"},{code:"440224",name:"仁化县"},{code:"440229",name:"翁源县"},{code:"440232",name:"乳源瑶族自治县"},{code:"440233",name:"新丰县"},{code:"440281",name:"乐昌市"},{code:"440282",name:"南雄市"}],[{code:"440303",name:"罗湖区"},{code:"440304",name:"福田区"},{code:"440305",name:"南山区"},{code:"440306",name:"宝安区"},{code:"440307",name:"龙岗区"},{code:"440308",name:"盐田区"},{code:"440309",name:"龙华区"},{code:"440310",name:"坪山区"}],[{code:"440402",name:"香洲区"},{code:"440403",name:"斗门区"},{code:"440404",name:"金湾区"}],[{code:"440507",name:"龙湖区"},{code:"440511",name:"金平区"},{code:"440512",name:"濠江区"},{code:"440513",name:"潮阳区"},{code:"440514",name:"潮南区"},{code:"440515",name:"澄海区"},{code:"440523",name:"南澳县"}],[{code:"440604",name:"禅城区"},{code:"440605",name:"南海区"},{code:"440606",name:"顺德区"},{code:"440607",name:"三水区"},{code:"440608",name:"高明区"}],[{code:"440703",name:"蓬江区"},{code:"440704",name:"江海区"},{code:"440705",name:"新会区"},{code:"440781",name:"台山市"},{code:"440783",name:"开平市"},{code:"440784",name:"鹤山市"},{code:"440785",name:"恩平市"}],[{code:"440802",name:"赤坎区"},{code:"440803",name:"霞山区"},{code:"440804",name:"坡头区"},{code:"440811",name:"麻章区"},{code:"440823",name:"遂溪县"},{code:"440825",name:"徐闻县"},{code:"440881",name:"廉江市"},{code:"440882",name:"雷州市"},{code:"440883",name:"吴川市"}],[{code:"440902",name:"茂南区"},{code:"440904",name:"电白区"},{code:"440981",name:"高州市"},{code:"440982",name:"化州市"},{code:"440983",name:"信宜市"}],[{code:"441202",name:"端州区"},{code:"441203",name:"鼎湖区"},{code:"441204",name:"高要区"},{code:"441223",name:"广宁县"},{code:"441224",name:"怀集县"},{code:"441225",name:"封开县"},{code:"441226",name:"德庆县"},{code:"441284",name:"四会市"}],[{code:"441302",name:"惠城区"},{code:"441303",name:"惠阳区"},{code:"441322",name:"博罗县"},{code:"441323",name:"惠东县"},{code:"441324",name:"龙门县"}],[{code:"441402",name:"梅江区"},{code:"441403",name:"梅县区"},{code:"441422",name:"大埔县"},{code:"441423",name:"丰顺县"},{code:"441424",name:"五华县"},{code:"441426",name:"平远县"},{code:"441427",name:"蕉岭县"},{code:"441481",name:"兴宁市"}],[{code:"441502",name:"城区"},{code:"441521",name:"海丰县"},{code:"441523",name:"陆河县"},{code:"441581",name:"陆丰市"}],[{code:"441602",name:"源城区"},{code:"441621",name:"紫金县"},{code:"441622",name:"龙川县"},{code:"441623",name:"连平县"},{code:"441624",name:"和平县"},{code:"441625",name:"东源县"}],[{code:"441702",name:"江城区"},{code:"441704",name:"阳东区"},{code:"441721",name:"阳西县"},{code:"441781",name:"阳春市"}],[{code:"441802",name:"清城区"},{code:"441803",name:"清新区"},{code:"441821",name:"佛冈县"},{code:"441823",name:"阳山县"},{code:"441825",name:"连山壮族瑶族自治县"},{code:"441826",name:"连南瑶族自治县"},{code:"441881",name:"英德市"},{code:"441882",name:"连州市"}],[{code:"441901",name:"东城街道"},{code:"441902",name:"南城街道"},{code:"441903",name:"万江街道"},{code:"441904",name:"莞城街道"},{code:"441905",name:"石碣镇"},{code:"441906",name:"石龙镇"},{code:"441907",name:"茶山镇"},{code:"441908",name:"石排镇"},{code:"441909",name:"企石镇"},{code:"441910",name:"横沥镇"},{code:"441911",name:"桥头镇"},{code:"441912",name:"谢岗镇"},{code:"441913",name:"东坑镇"},{code:"441914",name:"常平镇"},{code:"441915",name:"寮步镇"},{code:"441916",name:"樟木头镇"},{code:"441917",name:"大朗镇"},{code:"441918",name:"黄江镇"},{code:"441919",name:"清溪镇"},{code:"441920",name:"塘厦镇"},{code:"441921",name:"凤岗镇"},{code:"441922",name:"大岭山镇"},{code:"441923",name:"长安镇"},{code:"441924",name:"虎门镇"},{code:"441925",name:"厚街镇"},{code:"441926",name:"沙田镇"},{code:"441927",name:"道滘镇"},{code:"441928",name:"洪梅镇"},{code:"441929",name:"麻涌镇"},{code:"441930",name:"望牛墩镇"},{code:"441931",name:"中堂镇"},{code:"441932",name:"高埗镇"},{code:"441933",name:"松山湖管委会"},{code:"441934",name:"虎门港管委会"},{code:"441935",name:"东莞生态园"}],[{code:"442001",name:"石岐区街道"},{code:"442002",name:"东区街道"},{code:"442003",name:"火炬开发区"},{code:"442004",name:"西区街道"},{code:"442005",name:"南区街道"},{code:"442006",name:"五桂山街道"},{code:"442007",name:"小榄镇"},{code:"442008",name:"黄圃镇"},{code:"442009",name:"民众镇"},{code:"442010",name:"东凤镇"},{code:"442011",name:"东升镇"},{code:"442012",name:"古镇镇"},{code:"442013",name:"沙溪镇"},{code:"442014",name:"坦洲镇"},{code:"442015",name:"港口镇"},{code:"442016",name:"三角镇"},{code:"442017",name:"横栏镇"},{code:"442018",name:"南头镇"},{code:"442019",name:"阜沙镇"},{code:"442020",name:"南朗镇"},{code:"442021",name:"三乡镇"},{code:"442022",name:"板芙镇"},{code:"442023",name:"大涌镇"},{code:"442024",name:"神湾镇"}],[{code:"445102",name:"湘桥区"},{code:"445103",name:"潮安区"},{code:"445122",name:"饶平县"}],[{code:"445202",name:"榕城区"},{code:"445203",name:"揭东区"},{code:"445222",name:"揭西县"},{code:"445224",name:"惠来县"},{code:"445281",name:"普宁市"}],[{code:"445302",name:"云城区"},{code:"445303",name:"云安区"},{code:"445321",name:"新兴县"},{code:"445322",name:"郁南县"},{code:"445381",name:"罗定市"}]],[[{code:"450102",name:"兴宁区"},{code:"450103",name:"青秀区"},{code:"450105",name:"江南区"},{code:"450107",name:"西乡塘区"},{code:"450108",name:"良庆区"},{code:"450109",name:"邕宁区"},{code:"450110",name:"武鸣区"},{code:"450123",name:"隆安县"},{code:"450124",name:"马山县"},{code:"450125",name:"上林县"},{code:"450126",name:"宾阳县"},{code:"450181",name:"横州市"}],[{code:"450202",name:"城中区"},{code:"450203",name:"鱼峰区"},{code:"450204",name:"柳南区"},{code:"450205",name:"柳北区"},{code:"450206",name:"柳江区"},{code:"450222",name:"柳城县"},{code:"450223",name:"鹿寨县"},{code:"450224",name:"融安县"},{code:"450225",name:"融水苗族自治县"},{code:"450226",name:"三江侗族自治县"}],[{code:"450302",name:"秀峰区"},{code:"450303",name:"叠彩区"},{code:"450304",name:"象山区"},{code:"450305",name:"七星区"},{code:"450311",name:"雁山区"},{code:"450312",name:"临桂区"},{code:"450321",name:"阳朔县"},{code:"450323",name:"灵川县"},{code:"450324",name:"全州县"},{code:"450325",name:"兴安县"},{code:"450326",name:"永福县"},{code:"450327",name:"灌阳县"},{code:"450328",name:"龙胜各族自治县"},{code:"450329",name:"资源县"},{code:"450330",name:"平乐县"},{code:"450331",name:"荔浦县"},{code:"450332",name:"恭城瑶族自治县"}],[{code:"450403",name:"万秀区"},{code:"450405",name:"长洲区"},{code:"450406",name:"龙圩区"},{code:"450421",name:"苍梧县"},{code:"450422",name:"藤县"},{code:"450423",name:"蒙山县"},{code:"450481",name:"岑溪市"}],[{code:"450502",name:"海城区"},{code:"450503",name:"银海区"},{code:"450512",name:"铁山港区"},{code:"450521",name:"合浦县"}],[{code:"450602",name:"港口区"},{code:"450603",name:"防城区"},{code:"450621",name:"上思县"},{code:"450681",name:"东兴市"}],[{code:"450702",name:"钦南区"},{code:"450703",name:"钦北区"},{code:"450721",name:"灵山县"},{code:"450722",name:"浦北县"}],[{code:"450802",name:"港北区"},{code:"450803",name:"港南区"},{code:"450804",name:"覃塘区"},{code:"450821",name:"平南县"},{code:"450881",name:"桂平市"}],[{code:"450902",name:"玉州区"},{code:"450903",name:"福绵区"},{code:"450921",name:"容县"},{code:"450922",name:"陆川县"},{code:"450923",name:"博白县"},{code:"450924",name:"兴业县"},{code:"450981",name:"北流市"}],[{code:"451002",name:"右江区"},{code:"451021",name:"田阳县"},{code:"451022",name:"田东县"},{code:"451023",name:"平果县"},{code:"451024",name:"德保县"},{code:"451026",name:"那坡县"},{code:"451027",name:"凌云县"},{code:"451028",name:"乐业县"},{code:"451029",name:"田林县"},{code:"451030",name:"西林县"},{code:"451031",name:"隆林各族自治县"},{code:"451081",name:"靖西市"}],[{code:"451102",name:"八步区"},{code:"451103",name:"平桂区"},{code:"451121",name:"昭平县"},{code:"451122",name:"钟山县"},{code:"451123",name:"富川瑶族自治县"}],[{code:"451202",name:"金城江区"},{code:"451203",name:"宜州区"},{code:"451221",name:"南丹县"},{code:"451222",name:"天峨县"},{code:"451223",name:"凤山县"},{code:"451224",name:"东兰县"},{code:"451225",name:"罗城仫佬族自治县"},{code:"451226",name:"环江毛南族自治县"},{code:"451227",name:"巴马瑶族自治县"},{code:"451228",name:"都安瑶族自治县"},{code:"451229",name:"大化瑶族自治县"}],[{code:"451302",name:"兴宾区"},{code:"451321",name:"忻城县"},{code:"451322",name:"象州县"},{code:"451323",name:"武宣县"},{code:"451324",name:"金秀瑶族自治县"},{code:"451381",name:"合山市"}],[{code:"451402",name:"江州区"},{code:"451421",name:"扶绥县"},{code:"451422",name:"宁明县"},{code:"451423",name:"龙州县"},{code:"451424",name:"大新县"},{code:"451425",name:"天等县"},{code:"451481",name:"凭祥市"}]],[[{code:"460105",name:"秀英区"},{code:"460106",name:"龙华区"},{code:"460107",name:"琼山区"},{code:"460108",name:"美兰区"}],[{code:"460202",name:"海棠区"},{code:"460203",name:"吉阳区"},{code:"460204",name:"天涯区"},{code:"460205",name:"崖州区"}],[{code:"460321",name:"西沙群岛"},{code:"460322",name:"南沙群岛"},{code:"460323",name:"中沙群岛的岛礁及其海域"}],[{code:"460401",name:"那大镇"},{code:"460402",name:"和庆镇"},{code:"460403",name:"南丰镇"},{code:"460404",name:"大成镇"},{code:"460405",name:"雅星镇"},{code:"460406",name:"兰洋镇"},{code:"460407",name:"光村镇"},{code:"460408",name:"木棠镇"},{code:"460409",name:"海头镇"},{code:"460410",name:"峨蔓镇"},{code:"460411",name:"三都镇"},{code:"460412",name:"王五镇"},{code:"460413",name:"白马井镇"},{code:"460414",name:"中和镇"},{code:"460415",name:"排浦镇"},{code:"460416",name:"东成镇"},{code:"460417",name:"新州镇"},{code:"460418",name:"国营西培农场"},{code:"460419",name:"国营西联农场"},{code:"460420",name:"国营蓝洋农场"},{code:"460421",name:"国营八一农场"},{code:"460422",name:"洋浦经济开发区"},{code:"460423",name:"华南热作学院"},{code:"460424",name:"红岭农场"}],[{code:"469001",name:"五指山市"},{code:"469002",name:"琼海市"},{code:"469005",name:"文昌市"},{code:"469006",name:"万宁市"},{code:"469007",name:"东方市"},{code:"469021",name:"定安县"},{code:"469022",name:"屯昌县"},{code:"469023",name:"澄迈县"},{code:"469024",name:"临高县"},{code:"469025",name:"白沙黎族自治县"},{code:"469026",name:"昌江黎族自治县"},{code:"469027",name:"乐东黎族自治县"},{code:"469028",name:"陵水黎族自治县"},{code:"469029",name:"保亭黎族苗族自治县"},{code:"469030",name:"琼中黎族苗族自治县"}]],[[{code:"500101",name:"万州区"},{code:"500102",name:"涪陵区"},{code:"500103",name:"渝中区"},{code:"500104",name:"大渡口区"},{code:"500105",name:"江北区"},{code:"500106",name:"沙坪坝区"},{code:"500107",name:"九龙坡区"},{code:"500108",name:"南岸区"},{code:"500109",name:"北碚区"},{code:"500110",name:"綦江区"},{code:"500111",name:"大足区"},{code:"500112",name:"渝北区"},{code:"500113",name:"巴南区"},{code:"500114",name:"黔江区"},{code:"500115",name:"长寿区"},{code:"500116",name:"江津区"},{code:"500117",name:"合川区"},{code:"500118",name:"永川区"},{code:"500119",name:"南川区"},{code:"500120",name:"璧山区"},{code:"500151",name:"铜梁区"},{code:"500152",name:"潼南区"},{code:"500153",name:"荣昌区"},{code:"500154",name:"开州区"},{code:"500155",name:"梁平区"},{code:"500156",name:"武隆区"}],[{code:"500229",name:"城口县"},{code:"500230",name:"丰都县"},{code:"500231",name:"垫江县"},{code:"500233",name:"忠县"},{code:"500235",name:"云阳县"},{code:"500236",name:"奉节县"},{code:"500237",name:"巫山县"},{code:"500238",name:"巫溪县"},{code:"500240",name:"石柱土家族自治县"},{code:"500241",name:"秀山土家族苗族自治县"},{code:"500242",name:"酉阳土家族苗族自治县"},{code:"500243",name:"彭水苗族土家族自治县"}]],[[{code:"510104",name:"锦江区"},{code:"510105",name:"青羊区"},{code:"510106",name:"金牛区"},{code:"510107",name:"武侯区"},{code:"510108",name:"成华区"},{code:"510112",name:"龙泉驿区"},{code:"510113",name:"青白江区"},{code:"510114",name:"新都区"},{code:"510115",name:"温江区"},{code:"510116",name:"双流区"},{code:"510117",name:"郫都区"},{code:"510121",name:"金堂县"},{code:"510129",name:"大邑县"},{code:"510131",name:"蒲江县"},{code:"510132",name:"新津县"},{code:"510181",name:"都江堰市"},{code:"510182",name:"彭州市"},{code:"510183",name:"邛崃市"},{code:"510184",name:"崇州市"},{code:"510185",name:"简阳市"}],[{code:"510302",name:"自流井区"},{code:"510303",name:"贡井区"},{code:"510304",name:"大安区"},{code:"510311",name:"沿滩区"},{code:"510321",name:"荣县"},{code:"510322",name:"富顺县"}],[{code:"510402",name:"东区"},{code:"510403",name:"西区"},{code:"510411",name:"仁和区"},{code:"510421",name:"米易县"},{code:"510422",name:"盐边县"}],[{code:"510502",name:"江阳区"},{code:"510503",name:"纳溪区"},{code:"510504",name:"龙马潭区"},{code:"510521",name:"泸县"},{code:"510522",name:"合江县"},{code:"510524",name:"叙永县"},{code:"510525",name:"古蔺县"}],[{code:"510603",name:"旌阳区"},{code:"510604",name:"罗江区"},{code:"510623",name:"中江县"},{code:"510681",name:"广汉市"},{code:"510682",name:"什邡市"},{code:"510683",name:"绵竹市"}],[{code:"510703",name:"涪城区"},{code:"510704",name:"游仙区"},{code:"510705",name:"安州区"},{code:"510722",name:"三台县"},{code:"510723",name:"盐亭县"},{code:"510725",name:"梓潼县"},{code:"510726",name:"北川羌族自治县"},{code:"510727",name:"平武县"},{code:"510781",name:"江油市"}],[{code:"510802",name:"利州区"},{code:"510811",name:"昭化区"},{code:"510812",name:"朝天区"},{code:"510821",name:"旺苍县"},{code:"510822",name:"青川县"},{code:"510823",name:"剑阁县"},{code:"510824",name:"苍溪县"}],[{code:"510903",name:"船山区"},{code:"510904",name:"安居区"},{code:"510921",name:"蓬溪县"},{code:"510922",name:"射洪县"},{code:"510923",name:"大英县"}],[{code:"511002",name:"市中区"},{code:"511011",name:"东兴区"},{code:"511024",name:"威远县"},{code:"511025",name:"资中县"},{code:"511083",name:"隆昌市"}],[{code:"511102",name:"市中区"},{code:"511111",name:"沙湾区"},{code:"511112",name:"五通桥区"},{code:"511113",name:"金口河区"},{code:"511123",name:"犍为县"},{code:"511124",name:"井研县"},{code:"511126",name:"夹江县"},{code:"511129",name:"沐川县"},{code:"511132",name:"峨边彝族自治县"},{code:"511133",name:"马边彝族自治县"},{code:"511181",name:"峨眉山市"}],[{code:"511302",name:"顺庆区"},{code:"511303",name:"高坪区"},{code:"511304",name:"嘉陵区"},{code:"511321",name:"南部县"},{code:"511322",name:"营山县"},{code:"511323",name:"蓬安县"},{code:"511324",name:"仪陇县"},{code:"511325",name:"西充县"},{code:"511381",name:"阆中市"}],[{code:"511402",name:"东坡区"},{code:"511403",name:"彭山区"},{code:"511421",name:"仁寿县"},{code:"511423",name:"洪雅县"},{code:"511424",name:"丹棱县"},{code:"511425",name:"青神县"}],[{code:"511502",name:"翠屏区"},{code:"511503",name:"南溪区"},{code:"511521",name:"宜宾县"},{code:"511523",name:"江安县"},{code:"511524",name:"长宁县"},{code:"511525",name:"高县"},{code:"511526",name:"珙县"},{code:"511527",name:"筠连县"},{code:"511528",name:"兴文县"},{code:"511529",name:"屏山县"}],[{code:"511602",name:"广安区"},{code:"511603",name:"前锋区"},{code:"511621",name:"岳池县"},{code:"511622",name:"武胜县"},{code:"511623",name:"邻水县"},{code:"511681",name:"华蓥市"}],[{code:"511702",name:"通川区"},{code:"511703",name:"达川区"},{code:"511722",name:"宣汉县"},{code:"511723",name:"开江县"},{code:"511724",name:"大竹县"},{code:"511725",name:"渠县"},{code:"511781",name:"万源市"}],[{code:"511802",name:"雨城区"},{code:"511803",name:"名山区"},{code:"511822",name:"荥经县"},{code:"511823",name:"汉源县"},{code:"511824",name:"石棉县"},{code:"511825",name:"天全县"},{code:"511826",name:"芦山县"},{code:"511827",name:"宝兴县"}],[{code:"511902",name:"巴州区"},{code:"511903",name:"恩阳区"},{code:"511921",name:"通江县"},{code:"511922",name:"南江县"},{code:"511923",name:"平昌县"}],[{code:"512002",name:"雁江区"},{code:"512021",name:"安岳县"},{code:"512022",name:"乐至县"}],[{code:"513201",name:"马尔康市"},{code:"513221",name:"汶川县"},{code:"513222",name:"理县"},{code:"513223",name:"茂县"},{code:"513224",name:"松潘县"},{code:"513225",name:"九寨沟县"},{code:"513226",name:"金川县"},{code:"513227",name:"小金县"},{code:"513228",name:"黑水县"},{code:"513230",name:"壤塘县"},{code:"513231",name:"阿坝县"},{code:"513232",name:"若尔盖县"},{code:"513233",name:"红原县"}],[{code:"513301",name:"康定市"},{code:"513322",name:"泸定县"},{code:"513323",name:"丹巴县"},{code:"513324",name:"九龙县"},{code:"513325",name:"雅江县"},{code:"513326",name:"道孚县"},{code:"513327",name:"炉霍县"},{code:"513328",name:"甘孜县"},{code:"513329",name:"新龙县"},{code:"513330",name:"德格县"},{code:"513331",name:"白玉县"},{code:"513332",name:"石渠县"},{code:"513333",name:"色达县"},{code:"513334",name:"理塘县"},{code:"513335",name:"巴塘县"},{code:"513336",name:"乡城县"},{code:"513337",name:"稻城县"},{code:"513338",name:"得荣县"}],[{code:"513401",name:"西昌市"},{code:"513402",name:"会理市"},{code:"513422",name:"木里藏族自治县"},{code:"513423",name:"盐源县"},{code:"513424",name:"德昌县"},{code:"513426",name:"会东县"},{code:"513427",name:"宁南县"},{code:"513428",name:"普格县"},{code:"513429",name:"布拖县"},{code:"513430",name:"金阳县"},{code:"513431",name:"昭觉县"},{code:"513432",name:"喜德县"},{code:"513433",name:"冕宁县"},{code:"513434",name:"越西县"},{code:"513435",name:"甘洛县"},{code:"513436",name:"美姑县"},{code:"513437",name:"雷波县"}]],[[{code:"520102",name:"南明区"},{code:"520103",name:"云岩区"},{code:"520111",name:"花溪区"},{code:"520112",name:"乌当区"},{code:"520113",name:"白云区"},{code:"520115",name:"观山湖区"},{code:"520121",name:"开阳县"},{code:"520122",name:"息烽县"},{code:"520123",name:"修文县"},{code:"520181",name:"清镇市"}],[{code:"520201",name:"钟山区"},{code:"520203",name:"六枝特区"},{code:"520221",name:"水城县"},{code:"520281",name:"盘州市"}],[{code:"520302",name:"红花岗区"},{code:"520303",name:"汇川区"},{code:"520304",name:"播州区"},{code:"520322",name:"桐梓县"},{code:"520323",name:"绥阳县"},{code:"520324",name:"正安县"},{code:"520325",name:"道真仡佬族苗族自治县"},{code:"520326",name:"务川仡佬族苗族自治县"},{code:"520327",name:"凤冈县"},{code:"520328",name:"湄潭县"},{code:"520329",name:"余庆县"},{code:"520330",name:"习水县"},{code:"520381",name:"赤水市"},{code:"520382",name:"仁怀市"}],[{code:"520402",name:"西秀区"},{code:"520403",name:"平坝区"},{code:"520422",name:"普定县"},{code:"520423",name:"镇宁布依族苗族自治县"},{code:"520424",name:"关岭布依族苗族自治县"},{code:"520425",name:"紫云苗族布依族自治县"}],[{code:"520502",name:"七星关区"},{code:"520521",name:"大方县"},{code:"520523",name:"金沙县"},{code:"520524",name:"织金县"},{code:"520525",name:"纳雍县"},{code:"520526",name:"威宁彝族回族苗族自治县"},{code:"520527",name:"赫章县"},{code:"520581",name:"黔西市"}],[{code:"520602",name:"碧江区"},{code:"520603",name:"万山区"},{code:"520621",name:"江口县"},{code:"520622",name:"玉屏侗族自治县"},{code:"520623",name:"石阡县"},{code:"520624",name:"思南县"},{code:"520625",name:"印江土家族苗族自治县"},{code:"520626",name:"德江县"},{code:"520627",name:"沿河土家族自治县"},{code:"520628",name:"松桃苗族自治县"}],[{code:"522301",name:"兴义市"},{code:"522322",name:"兴仁县"},{code:"522323",name:"普安县"},{code:"522324",name:"晴隆县"},{code:"522325",name:"贞丰县"},{code:"522326",name:"望谟县"},{code:"522327",name:"册亨县"},{code:"522328",name:"安龙县"}],[{code:"522601",name:"凯里市"},{code:"522622",name:"黄平县"},{code:"522623",name:"施秉县"},{code:"522624",name:"三穗县"},{code:"522625",name:"镇远县"},{code:"522626",name:"岑巩县"},{code:"522627",name:"天柱县"},{code:"522628",name:"锦屏县"},{code:"522629",name:"剑河县"},{code:"522630",name:"台江县"},{code:"522631",name:"黎平县"},{code:"522632",name:"榕江县"},{code:"522633",name:"从江县"},{code:"522634",name:"雷山县"},{code:"522635",name:"麻江县"},{code:"522636",name:"丹寨县"}],[{code:"522701",name:"都匀市"},{code:"522702",name:"福泉市"},{code:"522722",name:"荔波县"},{code:"522723",name:"贵定县"},{code:"522725",name:"瓮安县"},{code:"522726",name:"独山县"},{code:"522727",name:"平塘县"},{code:"522728",name:"罗甸县"},{code:"522729",name:"长顺县"},{code:"522730",name:"龙里县"},{code:"522731",name:"惠水县"},{code:"522732",name:"三都水族自治县"}]],[[{code:"530102",name:"五华区"},{code:"530103",name:"盘龙区"},{code:"530111",name:"官渡区"},{code:"530112",name:"西山区"},{code:"530113",name:"东川区"},{code:"530114",name:"呈贡区"},{code:"530115",name:"晋宁区"},{code:"530124",name:"富民县"},{code:"530125",name:"宜良县"},{code:"530126",name:"石林彝族自治县"},{code:"530127",name:"嵩明县"},{code:"530128",name:"禄劝彝族苗族自治县"},{code:"530129",name:"寻甸回族彝族自治县"},{code:"530181",name:"安宁市"}],[{code:"530302",name:"麒麟区"},{code:"530303",name:"沾益区"},{code:"530321",name:"马龙县"},{code:"530322",name:"陆良县"},{code:"530323",name:"师宗县"},{code:"530324",name:"罗平县"},{code:"530325",name:"富源县"},{code:"530326",name:"会泽县"},{code:"530381",name:"宣威市"}],[{code:"530402",name:"红塔区"},{code:"530403",name:"江川区"},{code:"530422",name:"澄江县"},{code:"530423",name:"通海县"},{code:"530424",name:"华宁县"},{code:"530425",name:"易门县"},{code:"530426",name:"峨山彝族自治县"},{code:"530427",name:"新平彝族傣族自治县"},{code:"530428",name:"元江哈尼族彝族傣族自治县"}],[{code:"530502",name:"隆阳区"},{code:"530521",name:"施甸县"},{code:"530523",name:"龙陵县"},{code:"530524",name:"昌宁县"},{code:"530581",name:"腾冲市"}],[{code:"530602",name:"昭阳区"},{code:"530621",name:"鲁甸县"},{code:"530622",name:"巧家县"},{code:"530623",name:"盐津县"},{code:"530624",name:"大关县"},{code:"530625",name:"永善县"},{code:"530626",name:"绥江县"},{code:"530627",name:"镇雄县"},{code:"530628",name:"彝良县"},{code:"530629",name:"威信县"},{code:"530630",name:"水富县"}],[{code:"530702",name:"古城区"},{code:"530721",name:"玉龙纳西族自治县"},{code:"530722",name:"永胜县"},{code:"530723",name:"华坪县"},{code:"530724",name:"宁蒗彝族自治县"}],[{code:"530802",name:"思茅区"},{code:"530821",name:"宁洱哈尼族彝族自治县"},{code:"530822",name:"墨江哈尼族自治县"},{code:"530823",name:"景东彝族自治县"},{code:"530824",name:"景谷傣族彝族自治县"},{code:"530825",name:"镇沅彝族哈尼族拉祜族自治县"},{code:"530826",name:"江城哈尼族彝族自治县"},{code:"530827",name:"孟连傣族拉祜族佤族自治县"},{code:"530828",name:"澜沧拉祜族自治县"},{code:"530829",name:"西盟佤族自治县"}],[{code:"530902",name:"临翔区"},{code:"530921",name:"凤庆县"},{code:"530922",name:"云县"},{code:"530923",name:"永德县"},{code:"530924",name:"镇康县"},{code:"530925",name:"双江拉祜族佤族布朗族傣族自治县"},{code:"530926",name:"耿马傣族佤族自治县"},{code:"530927",name:"沧源佤族自治县"}],[{code:"532301",name:"楚雄市"},{code:"532302",name:"禄丰市"},{code:"532322",name:"双柏县"},{code:"532323",name:"牟定县"},{code:"532324",name:"南华县"},{code:"532325",name:"姚安县"},{code:"532326",name:"大姚县"},{code:"532327",name:"永仁县"},{code:"532328",name:"元谋县"},{code:"532329",name:"武定县"}],[{code:"532501",name:"个旧市"},{code:"532502",name:"开远市"},{code:"532503",name:"蒙自市"},{code:"532504",name:"弥勒市"},{code:"532523",name:"屏边苗族自治县"},{code:"532524",name:"建水县"},{code:"532525",name:"石屏县"},{code:"532527",name:"泸西县"},{code:"532528",name:"元阳县"},{code:"532529",name:"红河县"},{code:"532530",name:"金平苗族瑶族傣族自治县"},{code:"532531",name:"绿春县"},{code:"532532",name:"河口瑶族自治县"}],[{code:"532601",name:"文山市"},{code:"532622",name:"砚山县"},{code:"532623",name:"西畴县"},{code:"532624",name:"麻栗坡县"},{code:"532625",name:"马关县"},{code:"532626",name:"丘北县"},{code:"532627",name:"广南县"},{code:"532628",name:"富宁县"}],[{code:"532801",name:"景洪市"},{code:"532822",name:"勐海县"},{code:"532823",name:"勐腊县"}],[{code:"532901",name:"大理市"},{code:"532922",name:"漾濞彝族自治县"},{code:"532923",name:"祥云县"},{code:"532924",name:"宾川县"},{code:"532925",name:"弥渡县"},{code:"532926",name:"南涧彝族自治县"},{code:"532927",name:"巍山彝族回族自治县"},{code:"532928",name:"永平县"},{code:"532929",name:"云龙县"},{code:"532930",name:"洱源县"},{code:"532931",name:"剑川县"},{code:"532932",name:"鹤庆县"}],[{code:"533102",name:"瑞丽市"},{code:"533103",name:"芒市"},{code:"533122",name:"梁河县"},{code:"533123",name:"盈江县"},{code:"533124",name:"陇川县"}],[{code:"533301",name:"泸水市"},{code:"533323",name:"福贡县"},{code:"533324",name:"贡山独龙族怒族自治县"},{code:"533325",name:"兰坪白族普米族自治县"}],[{code:"533401",name:"香格里拉市"},{code:"533422",name:"德钦县"},{code:"533423",name:"维西傈僳族自治县"}]],[[{code:"540102",name:"城关区"},{code:"540103",name:"堆龙德庆区"},{code:"540104",name:"达孜区"},{code:"540121",name:"林周县"},{code:"540122",name:"当雄县"},{code:"540123",name:"尼木县"},{code:"540124",name:"曲水县"},{code:"540127",name:"墨竹工卡县"}],[{code:"540202",name:"桑珠孜区"},{code:"540221",name:"南木林县"},{code:"540222",name:"江孜县"},{code:"540223",name:"定日县"},{code:"540224",name:"萨迦县"},{code:"540225",name:"拉孜县"},{code:"540226",name:"昂仁县"},{code:"540227",name:"谢通门县"},{code:"540228",name:"白朗县"},{code:"540229",name:"仁布县"},{code:"540230",name:"康马县"},{code:"540231",name:"定结县"},{code:"540232",name:"仲巴县"},{code:"540233",name:"亚东县"},{code:"540234",name:"吉隆县"},{code:"540235",name:"聂拉木县"},{code:"540236",name:"萨嘎县"},{code:"540237",name:"岗巴县"}],[{code:"540302",name:"卡若区"},{code:"540321",name:"江达县"},{code:"540322",name:"贡觉县"},{code:"540323",name:"类乌齐县"},{code:"540324",name:"丁青县"},{code:"540325",name:"察雅县"},{code:"540326",name:"八宿县"},{code:"540327",name:"左贡县"},{code:"540328",name:"芒康县"},{code:"540329",name:"洛隆县"},{code:"540330",name:"边坝县"}],[{code:"540402",name:"巴宜区"},{code:"540421",name:"工布江达县"},{code:"540422",name:"米林县"},{code:"540423",name:"墨脱县"},{code:"540424",name:"波密县"},{code:"540425",name:"察隅县"},{code:"540426",name:"朗县"}],[{code:"540502",name:"乃东区"},{code:"540521",name:"扎囊县"},{code:"540522",name:"贡嘎县"},{code:"540523",name:"桑日县"},{code:"540524",name:"琼结县"},{code:"540525",name:"曲松县"},{code:"540526",name:"措美县"},{code:"540527",name:"洛扎县"},{code:"540528",name:"加查县"},{code:"540529",name:"隆子县"},{code:"540530",name:"错那县"},{code:"540531",name:"浪卡子县"}],[{code:"542421",name:"那曲县"},{code:"542422",name:"嘉黎县"},{code:"542423",name:"比如县"},{code:"542424",name:"聂荣县"},{code:"542425",name:"安多县"},{code:"542426",name:"申扎县"},{code:"542427",name:"索县"},{code:"542428",name:"班戈县"},{code:"542429",name:"巴青县"},{code:"542430",name:"尼玛县"},{code:"542431",name:"双湖县"}],[{code:"542521",name:"普兰县"},{code:"542522",name:"札达县"},{code:"542523",name:"噶尔县"},{code:"542524",name:"日土县"},{code:"542525",name:"革吉县"},{code:"542526",name:"改则县"},{code:"542527",name:"措勤县"}]],[[{code:"610102",name:"新城区"},{code:"610103",name:"碑林区"},{code:"610104",name:"莲湖区"},{code:"610111",name:"灞桥区"},{code:"610112",name:"未央区"},{code:"610113",name:"雁塔区"},{code:"610114",name:"阎良区"},{code:"610115",name:"临潼区"},{code:"610116",name:"长安区"},{code:"610117",name:"高陵区"},{code:"610118",name:"鄠邑区"},{code:"610122",name:"蓝田县"},{code:"610124",name:"周至县"}],[{code:"610202",name:"王益区"},{code:"610203",name:"印台区"},{code:"610204",name:"耀州区"},{code:"610222",name:"宜君县"}],[{code:"610302",name:"渭滨区"},{code:"610303",name:"金台区"},{code:"610304",name:"陈仓区"},{code:"610305",name:"凤翔区"},{code:"610323",name:"岐山县"},{code:"610324",name:"扶风县"},{code:"610326",name:"眉县"},{code:"610327",name:"陇县"},{code:"610328",name:"千阳县"},{code:"610329",name:"麟游县"},{code:"610330",name:"凤县"},{code:"610331",name:"太白县"}],[{code:"610402",name:"秦都区"},{code:"610403",name:"杨陵区"},{code:"610404",name:"渭城区"},{code:"610422",name:"三原县"},{code:"610423",name:"泾阳县"},{code:"610424",name:"乾县"},{code:"610425",name:"礼泉县"},{code:"610426",name:"永寿县"},{code:"610427",name:"彬州市"},{code:"610428",name:"长武县"},{code:"610429",name:"旬邑县"},{code:"610430",name:"淳化县"},{code:"610431",name:"武功县"},{code:"610481",name:"兴平市"}],[{code:"610502",name:"临渭区"},{code:"610503",name:"华州区"},{code:"610522",name:"潼关县"},{code:"610523",name:"大荔县"},{code:"610524",name:"合阳县"},{code:"610525",name:"澄城县"},{code:"610526",name:"蒲城县"},{code:"610527",name:"白水县"},{code:"610528",name:"富平县"},{code:"610581",name:"韩城市"},{code:"610582",name:"华阴市"}],[{code:"610602",name:"宝塔区"},{code:"610603",name:"安塞区"},{code:"610621",name:"延长县"},{code:"610622",name:"延川县"},{code:"610623",name:"子长县"},{code:"610625",name:"志丹县"},{code:"610626",name:"吴起县"},{code:"610627",name:"甘泉县"},{code:"610628",name:"富县"},{code:"610629",name:"洛川县"},{code:"610630",name:"宜川县"},{code:"610631",name:"黄龙县"},{code:"610632",name:"黄陵县"}],[{code:"610702",name:"汉台区"},{code:"610703",name:"南郑区"},{code:"610722",name:"城固县"},{code:"610723",name:"洋县"},{code:"610724",name:"西乡县"},{code:"610725",name:"勉县"},{code:"610726",name:"宁强县"},{code:"610727",name:"略阳县"},{code:"610728",name:"镇巴县"},{code:"610729",name:"留坝县"},{code:"610730",name:"佛坪县"}],[{code:"610802",name:"榆阳区"},{code:"610803",name:"横山区"},{code:"610822",name:"府谷县"},{code:"610824",name:"靖边县"},{code:"610825",name:"定边县"},{code:"610826",name:"绥德县"},{code:"610827",name:"米脂县"},{code:"610828",name:"佳县"},{code:"610829",name:"吴堡县"},{code:"610830",name:"清涧县"},{code:"610831",name:"子洲县"},{code:"610881",name:"神木市"}],[{code:"610902",name:"汉滨区"},{code:"610921",name:"汉阴县"},{code:"610922",name:"石泉县"},{code:"610923",name:"宁陕县"},{code:"610924",name:"紫阳县"},{code:"610925",name:"岚皋县"},{code:"610926",name:"平利县"},{code:"610927",name:"镇坪县"},{code:"610929",name:"白河县"},{code:"610981",name:"旬阳市"}],[{code:"611002",name:"商州区"},{code:"611021",name:"洛南县"},{code:"611022",name:"丹凤县"},{code:"611023",name:"商南县"},{code:"611024",name:"山阳县"},{code:"611025",name:"镇安县"},{code:"611026",name:"柞水县"}]],[[{code:"620102",name:"城关区"},{code:"620103",name:"七里河区"},{code:"620104",name:"西固区"},{code:"620105",name:"安宁区"},{code:"620111",name:"红古区"},{code:"620121",name:"永登县"},{code:"620122",name:"皋兰县"},{code:"620123",name:"榆中县"}],[{code:"620201",name:"雄关区"},{code:"620202",name:"镜铁区"},{code:"620203",name:"长城区"}],[{code:"620302",name:"金川区"},{code:"620321",name:"永昌县"}],[{code:"620402",name:"白银区"},{code:"620403",name:"平川区"},{code:"620421",name:"靖远县"},{code:"620422",name:"会宁县"},{code:"620423",name:"景泰县"}],[{code:"620502",name:"秦州区"},{code:"620503",name:"麦积区"},{code:"620521",name:"清水县"},{code:"620522",name:"秦安县"},{code:"620523",name:"甘谷县"},{code:"620524",name:"武山县"},{code:"620525",name:"张家川回族自治县"}],[{code:"620602",name:"凉州区"},{code:"620621",name:"民勤县"},{code:"620622",name:"古浪县"},{code:"620623",name:"天祝藏族自治县"}],[{code:"620702",name:"甘州区"},{code:"620721",name:"肃南裕固族自治县"},{code:"620722",name:"民乐县"},{code:"620723",name:"临泽县"},{code:"620724",name:"高台县"},{code:"620725",name:"山丹县"}],[{code:"620802",name:"崆峒区"},{code:"620821",name:"泾川县"},{code:"620822",name:"灵台县"},{code:"620823",name:"崇信县"},{code:"620824",name:"华亭县"},{code:"620825",name:"庄浪县"},{code:"620826",name:"静宁县"}],[{code:"620902",name:"肃州区"},{code:"620921",name:"金塔县"},{code:"620922",name:"瓜州县"},{code:"620923",name:"肃北蒙古族自治县"},{code:"620924",name:"阿克塞哈萨克族自治县"},{code:"620981",name:"玉门市"},{code:"620982",name:"敦煌市"}],[{code:"621002",name:"西峰区"},{code:"621021",name:"庆城县"},{code:"621022",name:"环县"},{code:"621023",name:"华池县"},{code:"621024",name:"合水县"},{code:"621025",name:"正宁县"},{code:"621026",name:"宁县"},{code:"621027",name:"镇原县"}],[{code:"621102",name:"安定区"},{code:"621121",name:"通渭县"},{code:"621122",name:"陇西县"},{code:"621123",name:"渭源县"},{code:"621124",name:"临洮县"},{code:"621125",name:"漳县"},{code:"621126",name:"岷县"}],[{code:"621202",name:"武都区"},{code:"621221",name:"成县"},{code:"621222",name:"文县"},{code:"621223",name:"宕昌县"},{code:"621224",name:"康县"},{code:"621225",name:"西和县"},{code:"621226",name:"礼县"},{code:"621227",name:"徽县"},{code:"621228",name:"两当县"}],[{code:"622901",name:"临夏市"},{code:"622921",name:"临夏县"},{code:"622922",name:"康乐县"},{code:"622923",name:"永靖县"},{code:"622924",name:"广河县"},{code:"622925",name:"和政县"},{code:"622926",name:"东乡族自治县"},{code:"622927",name:"积石山保安族东乡族撒拉族自治县"}],[{code:"623001",name:"合作市"},{code:"623021",name:"临潭县"},{code:"623022",name:"卓尼县"},{code:"623023",name:"舟曲县"},{code:"623024",name:"迭部县"},{code:"623025",name:"玛曲县"},{code:"623026",name:"碌曲县"},{code:"623027",name:"夏河县"}]],[[{code:"630102",name:"城东区"},{code:"630103",name:"城中区"},{code:"630104",name:"城西区"},{code:"630105",name:"城北区"},{code:"630121",name:"大通回族土族自治县"},{code:"630122",name:"湟中县"},{code:"630123",name:"湟源县"}],[{code:"630202",name:"乐都区"},{code:"630203",name:"平安区"},{code:"630222",name:"民和回族土族自治县"},{code:"630223",name:"互助土族自治县"},{code:"630224",name:"化隆回族自治县"},{code:"630225",name:"循化撒拉族自治县"}],[{code:"632221",name:"门源回族自治县"},{code:"632222",name:"祁连县"},{code:"632223",name:"海晏县"},{code:"632224",name:"刚察县"}],[{code:"632321",name:"同仁县"},{code:"632322",name:"尖扎县"},{code:"632323",name:"泽库县"},{code:"632324",name:"河南蒙古族自治县"}],[{code:"632521",name:"共和县"},{code:"632522",name:"同德县"},{code:"632523",name:"贵德县"},{code:"632524",name:"兴海县"},{code:"632525",name:"贵南县"}],[{code:"632621",name:"玛沁县"},{code:"632622",name:"班玛县"},{code:"632623",name:"甘德县"},{code:"632624",name:"达日县"},{code:"632625",name:"久治县"},{code:"632626",name:"玛多县"}],[{code:"632701",name:"玉树市"},{code:"632722",name:"杂多县"},{code:"632723",name:"称多县"},{code:"632724",name:"治多县"},{code:"632725",name:"囊谦县"},{code:"632726",name:"曲麻莱县"}],[{code:"632801",name:"格尔木市"},{code:"632802",name:"德令哈市"},{code:"632821",name:"乌兰县"},{code:"632822",name:"都兰县"},{code:"632823",name:"天峻县"},{code:"632824",name:"冷湖行政委员会"},{code:"632825",name:"大柴旦行政委员会"},{code:"632826",name:"茫崖行政委员会"}]],[[{code:"640104",name:"兴庆区"},{code:"640105",name:"西夏区"},{code:"640106",name:"金凤区"},{code:"640121",name:"永宁县"},{code:"640122",name:"贺兰县"},{code:"640181",name:"灵武市"}],[{code:"640202",name:"大武口区"},{code:"640205",name:"惠农区"},{code:"640221",name:"平罗县"}],[{code:"640302",name:"利通区"},{code:"640303",name:"红寺堡区"},{code:"640323",name:"盐池县"},{code:"640324",name:"同心县"},{code:"640381",name:"青铜峡市"}],[{code:"640402",name:"原州区"},{code:"640422",name:"西吉县"},{code:"640423",name:"隆德县"},{code:"640424",name:"泾源县"},{code:"640425",name:"彭阳县"}],[{code:"640502",name:"沙坡头区"},{code:"640521",name:"中宁县"},{code:"640522",name:"海原县"}]],[[{code:"650102",name:"天山区"},{code:"650103",name:"沙依巴克区"},{code:"650104",name:"新市区"},{code:"650105",name:"水磨沟区"},{code:"650106",name:"头屯河区"},{code:"650107",name:"达坂城区"},{code:"650109",name:"米东区"},{code:"650121",name:"乌鲁木齐县"}],[{code:"650202",name:"独山子区"},{code:"650203",name:"克拉玛依区"},{code:"650204",name:"白碱滩区"},{code:"650205",name:"乌尔禾区"}],[{code:"650402",name:"高昌区"},{code:"650421",name:"鄯善县"},{code:"650422",name:"托克逊县"}],[{code:"650502",name:"伊州区"},{code:"650521",name:"巴里坤哈萨克自治县"},{code:"650522",name:"伊吾县"}],[{code:"652301",name:"昌吉市"},{code:"652302",name:"阜康市"},{code:"652323",name:"呼图壁县"},{code:"652324",name:"玛纳斯县"},{code:"652325",name:"奇台县"},{code:"652327",name:"吉木萨尔县"},{code:"652328",name:"木垒哈萨克自治县"}],[{code:"652701",name:"博乐市"},{code:"652702",name:"阿拉山口市"},{code:"652722",name:"精河县"},{code:"652723",name:"温泉县"}],[{code:"652801",name:"库尔勒市"},{code:"652822",name:"轮台县"},{code:"652823",name:"尉犁县"},{code:"652824",name:"若羌县"},{code:"652825",name:"且末县"},{code:"652826",name:"焉耆回族自治县"},{code:"652827",name:"和静县"},{code:"652828",name:"和硕县"},{code:"652829",name:"博湖县"}],[{code:"652901",name:"阿克苏市"},{code:"652922",name:"温宿县"},{code:"652923",name:"库车县"},{code:"652924",name:"沙雅县"},{code:"652925",name:"新和县"},{code:"652926",name:"拜城县"},{code:"652927",name:"乌什县"},{code:"652928",name:"阿瓦提县"},{code:"652929",name:"柯坪县"}],[{code:"653001",name:"阿图什市"},{code:"653022",name:"阿克陶县"},{code:"653023",name:"阿合奇县"},{code:"653024",name:"乌恰县"}],[{code:"653101",name:"喀什市"},{code:"653121",name:"疏附县"},{code:"653122",name:"疏勒县"},{code:"653123",name:"英吉沙县"},{code:"653124",name:"泽普县"},{code:"653125",name:"莎车县"},{code:"653126",name:"叶城县"},{code:"653127",name:"麦盖提县"},{code:"653128",name:"岳普湖县"},{code:"653129",name:"伽师县"},{code:"653130",name:"巴楚县"},{code:"653131",name:"塔什库尔干塔吉克自治县"}],[{code:"653201",name:"和田市"},{code:"653221",name:"和田县"},{code:"653222",name:"墨玉县"},{code:"653223",name:"皮山县"},{code:"653224",name:"洛浦县"},{code:"653225",name:"策勒县"},{code:"653226",name:"于田县"},{code:"653227",name:"民丰县"}],[{code:"654002",name:"伊宁市"},{code:"654003",name:"奎屯市"},{code:"654004",name:"霍尔果斯市"},{code:"654021",name:"伊宁县"},{code:"654022",name:"察布查尔锡伯自治县"},{code:"654023",name:"霍城县"},{code:"654024",name:"巩留县"},{code:"654025",name:"新源县"},{code:"654026",name:"昭苏县"},{code:"654027",name:"特克斯县"},{code:"654028",name:"尼勒克县"}],[{code:"654201",name:"塔城市"},{code:"654202",name:"乌苏市"},{code:"654203",name:"沙湾市"},{code:"654221",name:"额敏县"},{code:"654224",name:"托里县"},{code:"654225",name:"裕民县"},{code:"654226",name:"和布克赛尔蒙古自治县"}],[{code:"654301",name:"阿勒泰市"},{code:"654321",name:"布尔津县"},{code:"654322",name:"富蕴县"},{code:"654323",name:"福海县"},{code:"654324",name:"哈巴河县"},{code:"654325",name:"青河县"},{code:"654326",name:"吉木乃县"}],[{code:"659001",name:"石河子市"},{code:"659002",name:"阿拉尔市"},{code:"659003",name:"图木舒克市"},{code:"659004",name:"五家渠市"},{code:"659005",name:"北屯市"},{code:"659006",name:"铁门关市"},{code:"659007",name:"双河市"},{code:"659008",name:"可克达拉市"},{code:"659009",name:"昆玉市"}]],[[{code:"710101",name:"中正区"},{code:"710102",name:"大同区"},{code:"710103",name:"中山区"},{code:"710104",name:"松山区"},{code:"710105",name:"大安区"},{code:"710106",name:"万华区"},{code:"710107",name:"信义区"},{code:"710108",name:"士林区"},{code:"710109",name:"北投区"},{code:"710110",name:"内湖区"},{code:"710111",name:"南港区"},{code:"710112",name:"文山区"}],[{code:"710201",name:"新兴区"},{code:"710202",name:"前金区"},{code:"710203",name:"苓雅区"},{code:"710204",name:"盐埕区"},{code:"710205",name:"鼓山区"},{code:"710206",name:"旗津区"},{code:"710207",name:"前镇区"},{code:"710208",name:"三民区"},{code:"710209",name:"左营区"},{code:"710210",name:"楠梓区"},{code:"710211",name:"小港区"},{code:"710242",name:"仁武区"},{code:"710243",name:"大社区"},{code:"710244",name:"冈山区"},{code:"710245",name:"路竹区"},{code:"710246",name:"阿莲区"},{code:"710247",name:"田寮区"},{code:"710248",name:"燕巢区"},{code:"710249",name:"桥头区"},{code:"710250",name:"梓官区"},{code:"710251",name:"弥陀区"},{code:"710252",name:"永安区"},{code:"710253",name:"湖内区"},{code:"710254",name:"凤山区"},{code:"710255",name:"大寮区"},{code:"710256",name:"林园区"},{code:"710257",name:"鸟松区"},{code:"710258",name:"大树区"},{code:"710259",name:"旗山区"},{code:"710260",name:"美浓区"},{code:"710261",name:"六龟区"},{code:"710262",name:"内门区"},{code:"710263",name:"杉林区"},{code:"710264",name:"甲仙区"},{code:"710265",name:"桃源区"},{code:"710266",name:"那玛夏区"},{code:"710267",name:"茂林区"},{code:"710268",name:"茄萣区"}],[{code:"710301",name:"中西区"},{code:"710302",name:"东区"},{code:"710303",name:"南区"},{code:"710304",name:"北区"},{code:"710305",name:"安平区"},{code:"710306",name:"安南区"},{code:"710339",name:"永康区"},{code:"710340",name:"归仁区"},{code:"710341",name:"新化区"},{code:"710342",name:"左镇区"},{code:"710343",name:"玉井区"},{code:"710344",name:"楠西区"},{code:"710345",name:"南化区"},{code:"710346",name:"仁德区"},{code:"710347",name:"关庙区"},{code:"710348",name:"龙崎区"},{code:"710349",name:"官田区"},{code:"710350",name:"麻豆区"},{code:"710351",name:"佳里区"},{code:"710352",name:"西港区"},{code:"710353",name:"七股区"},{code:"710354",name:"将军区"},{code:"710355",name:"学甲区"},{code:"710356",name:"北门区"},{code:"710357",name:"新营区"},{code:"710358",name:"后壁区"},{code:"710359",name:"白河区"},{code:"710360",name:"东山区"},{code:"710361",name:"六甲区"},{code:"710362",name:"下营区"},{code:"710363",name:"柳营区"},{code:"710364",name:"盐水区"},{code:"710365",name:"善化区"},{code:"710366",name:"大内区"},{code:"710367",name:"山上区"},{code:"710368",name:"新市区"},{code:"710369",name:"安定区"}],[{code:"710401",name:"中区"},{code:"710402",name:"东区"},{code:"710403",name:"南区"},{code:"710404",name:"西区"},{code:"710405",name:"北区"},{code:"710406",name:"北屯区"},{code:"710407",name:"西屯区"},{code:"710408",name:"南屯区"},{code:"710431",name:"太平区"},{code:"710432",name:"大里区"},{code:"710433",name:"雾峰区"},{code:"710434",name:"乌日区"},{code:"710435",name:"丰原区"},{code:"710436",name:"后里区"},{code:"710437",name:"石冈区"},{code:"710438",name:"东势区"},{code:"710439",name:"和平区"},{code:"710440",name:"新社区"},{code:"710441",name:"潭子区"},{code:"710442",name:"大雅区"},{code:"710443",name:"神冈区"},{code:"710444",name:"大肚区"},{code:"710445",name:"沙鹿区"},{code:"710446",name:"龙井区"},{code:"710447",name:"梧栖区"},{code:"710448",name:"清水区"},{code:"710449",name:"大甲区"},{code:"710450",name:"外埔区"},{code:"710451",name:"大安区"}],[{code:"710614",name:"南投市"},{code:"710615",name:"中寮乡"},{code:"710616",name:"草屯镇"},{code:"710617",name:"国姓乡"},{code:"710618",name:"埔里镇"},{code:"710619",name:"仁爱乡"},{code:"710620",name:"名间乡"},{code:"710621",name:"集集镇"},{code:"710622",name:"水里乡"},{code:"710623",name:"鱼池乡"},{code:"710624",name:"信义乡"},{code:"710625",name:"竹山镇"},{code:"710626",name:"鹿谷乡"}],[{code:"710701",name:"仁爱区"},{code:"710702",name:"信义区"},{code:"710703",name:"中正区"},{code:"710704",name:"中山区"},{code:"710705",name:"安乐区"},{code:"710706",name:"暖暖区"},{code:"710707",name:"七堵区"}],[{code:"710801",name:"东区"},{code:"710802",name:"北区"},{code:"710803",name:"香山区"}],[{code:"710901",name:"东区"},{code:"710902",name:"西区"}],[{code:"711130",name:"万里区"},{code:"711131",name:"金山区"},{code:"711132",name:"板桥区"},{code:"711133",name:"汐止区"},{code:"711134",name:"深坑区"},{code:"711135",name:"石碇区"},{code:"711136",name:"瑞芳区"},{code:"711137",name:"平溪区"},{code:"711138",name:"双溪区"},{code:"711139",name:"贡寮区"},{code:"711140",name:"新店区"},{code:"711141",name:"坪林区"},{code:"711142",name:"乌来区"},{code:"711143",name:"永和区"},{code:"711144",name:"中和区"},{code:"711145",name:"土城区"},{code:"711146",name:"三峡区"},{code:"711147",name:"树林区"},{code:"711148",name:"莺歌区"},{code:"711149",name:"三重区"},{code:"711150",name:"新庄区"},{code:"711151",name:"泰山区"},{code:"711152",name:"林口区"},{code:"711153",name:"芦洲区"},{code:"711154",name:"五股区"},{code:"711155",name:"八里区"},{code:"711156",name:"淡水区"},{code:"711157",name:"三芝区"},{code:"711158",name:"石门区"}],[{code:"711214",name:"宜兰市"},{code:"711215",name:"头城镇"},{code:"711216",name:"礁溪乡"},{code:"711217",name:"壮围乡"},{code:"711218",name:"员山乡"},{code:"711219",name:"罗东镇"},{code:"711220",name:"三星乡"},{code:"711221",name:"大同乡"},{code:"711222",name:"五结乡"},{code:"711223",name:"冬山乡"},{code:"711224",name:"苏澳镇"},{code:"711225",name:"南澳乡"}],[{code:"711314",name:"竹北市"},{code:"711315",name:"湖口乡"},{code:"711316",name:"新丰乡"},{code:"711317",name:"新埔镇"},{code:"711318",name:"关西镇"},{code:"711319",name:"芎林乡"},{code:"711320",name:"宝山乡"},{code:"711321",name:"竹东镇"},{code:"711322",name:"五峰乡"},{code:"711323",name:"横山乡"},{code:"711324",name:"尖石乡"},{code:"711325",name:"北埔乡"},{code:"711326",name:"峨眉乡"}],[{code:"711414",name:"中坜区"},{code:"711415",name:"平镇区"},{code:"711416",name:"龙潭区"},{code:"711417",name:"杨梅区"},{code:"711418",name:"新屋区"},{code:"711419",name:"观音区"},{code:"711420",name:"桃园区"},{code:"711421",name:"龟山区"},{code:"711422",name:"八德区"},{code:"711423",name:"大溪区"},{code:"711424",name:"复兴区"},{code:"711425",name:"大园区"},{code:"711426",name:"芦竹区"}],[{code:"711519",name:"竹南镇"},{code:"711520",name:"头份市"},{code:"711521",name:"三湾乡"},{code:"711522",name:"南庄乡"},{code:"711523",name:"狮潭乡"},{code:"711524",name:"后龙镇"},{code:"711525",name:"通霄镇"},{code:"711526",name:"苑里镇"},{code:"711527",name:"苗栗市"},{code:"711528",name:"造桥乡"},{code:"711529",name:"头屋乡"},{code:"711530",name:"公馆乡"},{code:"711531",name:"大湖乡"},{code:"711532",name:"泰安乡"},{code:"711533",name:"铜锣乡"},{code:"711534",name:"三义乡"},{code:"711535",name:"西湖乡"},{code:"711536",name:"卓兰镇"}],[{code:"711727",name:"彰化市"},{code:"711728",name:"芬园乡"},{code:"711729",name:"花坛乡"},{code:"711730",name:"秀水乡"},{code:"711731",name:"鹿港镇"},{code:"711732",name:"福兴乡"},{code:"711733",name:"线西乡"},{code:"711734",name:"和美镇"},{code:"711735",name:"伸港乡"},{code:"711736",name:"员林市"},{code:"711737",name:"社头乡"},{code:"711738",name:"永靖乡"},{code:"711739",name:"埔心乡"},{code:"711740",name:"溪湖镇"},{code:"711741",name:"大村乡"},{code:"711742",name:"埔盐乡"},{code:"711743",name:"田中镇"},{code:"711744",name:"北斗镇"},{code:"711745",name:"田尾乡"},{code:"711746",name:"埤头乡"},{code:"711747",name:"溪州乡"},{code:"711748",name:"竹塘乡"},{code:"711749",name:"二林镇"},{code:"711750",name:"大城乡"},{code:"711751",name:"芳苑乡"},{code:"711752",name:"二水乡"}],[{code:"711919",name:"番路乡"},{code:"711920",name:"梅山乡"},{code:"711921",name:"竹崎乡"},{code:"711922",name:"阿里山乡"},{code:"711923",name:"中埔乡"},{code:"711924",name:"大埔乡"},{code:"711925",name:"水上乡"},{code:"711926",name:"鹿草乡"},{code:"711927",name:"太保市"},{code:"711928",name:"朴子市"},{code:"711929",name:"东石乡"},{code:"711930",name:"六脚乡"},{code:"711931",name:"新港乡"},{code:"711932",name:"民雄乡"},{code:"711933",name:"大林镇"},{code:"711934",name:"溪口乡"},{code:"711935",name:"义竹乡"},{code:"711936",name:"布袋镇"}],[{code:"712121",name:"斗南镇"},{code:"712122",name:"大埤乡"},{code:"712123",name:"虎尾镇"},{code:"712124",name:"土库镇"},{code:"712125",name:"褒忠乡"},{code:"712126",name:"东势乡"},{code:"712127",name:"台西乡"},{code:"712128",name:"仑背乡"},{code:"712129",name:"麦寮乡"},{code:"712130",name:"斗六市"},{code:"712131",name:"林内乡"},{code:"712132",name:"古坑乡"},{code:"712133",name:"莿桐乡"},{code:"712134",name:"西螺镇"},{code:"712135",name:"二仑乡"},{code:"712136",name:"北港镇"},{code:"712137",name:"水林乡"},{code:"712138",name:"口湖乡"},{code:"712139",name:"四湖乡"},{code:"712140",name:"元长乡"}],[{code:"712434",name:"屏东市"},{code:"712435",name:"三地门乡"},{code:"712436",name:"雾台乡"},{code:"712437",name:"玛家乡"},{code:"712438",name:"九如乡"},{code:"712439",name:"里港乡"},{code:"712440",name:"高树乡"},{code:"712441",name:"盐埔乡"},{code:"712442",name:"长治乡"},{code:"712443",name:"麟洛乡"},{code:"712444",name:"竹田乡"},{code:"712445",name:"内埔乡"},{code:"712446",name:"万丹乡"},{code:"712447",name:"潮州镇"},{code:"712448",name:"泰武乡"},{code:"712449",name:"来义乡"},{code:"712450",name:"万峦乡"},{code:"712451",name:"崁顶乡"},{code:"712452",name:"新埤乡"},{code:"712453",name:"南州乡"},{code:"712454",name:"林边乡"},{code:"712455",name:"东港镇"},{code:"712456",name:"琉球乡"},{code:"712457",name:"佳冬乡"},{code:"712458",name:"新园乡"},{code:"712459",name:"枋寮乡"},{code:"712460",name:"枋山乡"},{code:"712461",name:"春日乡"},{code:"712462",name:"狮子乡"},{code:"712463",name:"车城乡"},{code:"712464",name:"牡丹乡"},{code:"712465",name:"恒春镇"},{code:"712466",name:"满州乡"}],[{code:"712517",name:"台东市"},{code:"712518",name:"绿岛乡"},{code:"712519",name:"兰屿乡"},{code:"712520",name:"延平乡"},{code:"712521",name:"卑南乡"},{code:"712522",name:"鹿野乡"},{code:"712523",name:"关山镇"},{code:"712524",name:"海端乡"},{code:"712525",name:"池上乡"},{code:"712526",name:"东河乡"},{code:"712527",name:"成功镇"},{code:"712528",name:"长滨乡"},{code:"712529",name:"金峰乡"},{code:"712530",name:"大武乡"},{code:"712531",name:"达仁乡"},{code:"712532",name:"太麻里乡"}],[{code:"712615",name:"花莲市"},{code:"712616",name:"新城乡"},{code:"712618",name:"秀林乡"},{code:"712619",name:"吉安乡"},{code:"712620",name:"寿丰乡"},{code:"712621",name:"凤林镇"},{code:"712622",name:"光复乡"},{code:"712623",name:"丰滨乡"},{code:"712624",name:"瑞穗乡"},{code:"712625",name:"万荣乡"},{code:"712626",name:"玉里镇"},{code:"712627",name:"卓溪乡"},{code:"712628",name:"富里乡"}],[{code:"712707",name:"马公市"},{code:"712708",name:"西屿乡"},{code:"712709",name:"望安乡"},{code:"712710",name:"七美乡"},{code:"712711",name:"白沙乡"},{code:"712712",name:"湖西乡"}]],[[{code:"810101",name:"中西区"},{code:"810102",name:"东区"},{code:"810103",name:"九龙城区"},{code:"810104",name:"观塘区"},{code:"810105",name:"南区"},{code:"810106",name:"深水埗区"},{code:"810107",name:"湾仔区"},{code:"810108",name:"黄大仙区"},{code:"810109",name:"油尖旺区"},{code:"810110",name:"离岛区"},{code:"810111",name:"葵青区"},{code:"810112",name:"北区"},{code:"810113",name:"西贡区"},{code:"810114",name:"沙田区"},{code:"810115",name:"屯门区"},{code:"810116",name:"大埔区"},{code:"810117",name:"荃湾区"},{code:"810118",name:"元朗区"}]],[[{code:"820101",name:"澳门半岛"},{code:"820102",name:"凼仔"},{code:"820103",name:"路凼城"},{code:"820104",name:"路环"}]]],DA={name:"u-picker",emits:["update:modelValue","input","confirm","cancel"],props:{value:{type:Boolean,default:!1},modelValue:{type:Boolean,default:!1},params:{type:Object,default:()=>({year:!0,month:!0,day:!0,hour:!1,minute:!1,second:!1,province:!0,city:!0,area:!0,timestamp:!0})},range:{type:Array,default:()=>[]},defaultSelector:{type:Array,default:()=>[0]},rangeKey:{type:String,default:""},mode:{type:String,default:"time"},startYear:{type:[String,Number],default:1950},endYear:{type:[String,Number],default:2050},cancelColor:{type:String,default:"#606266"},confirmColor:{type:String,default:"#2979ff"},defaultTime:{type:String,default:""},defaultRegion:{type:Array,default:()=>[]},showTimeTag:{type:Boolean,default:!0},areaCode:{type:Array,default:()=>[]},safeAreaInsetBottom:{type:Boolean,default:!1},maskCloseAble:{type:Boolean,default:!0},zIndex:{type:[String,Number],default:0},title:{type:String,default:""},cancelText:{type:String,default:"取消"},confirmText:{type:String,default:"确认"},blur:{type:[String,Number],default:0}},data:()=>({popupValue:!1,years:[],months:[],days:[],hours:[],minutes:[],seconds:[],year:0,month:0,day:0,hour:0,minute:0,second:0,reset:!1,startDate:"",endDate:"",valueArr:[],provinces:OA,citys:BA[0],areas:NA[0][0],province:0,city:0,area:0,moving:!1}),mounted(){this.init()},computed:{valueCom(){return this.modelValue},propsChange(){return`${this.mode}-${this.defaultTime}-${this.startYear}-${this.endYear}-${this.defaultRegion}-${this.areaCode}`},regionChange(){return`${this.province}-${this.city}`},yearAndMonth(){return`${this.year}-${this.month}`},uZIndex(){return this.zIndex?this.zIndex:this.$u.zIndex.popup}},watch:{propsChange(){this.reset=!0,setTimeout(()=>this.init(),10)},regionChange(e){this.citys=BA[this.province],this.areas=NA[this.province][this.city]},yearAndMonth(e){this.params.year&&this.setDays()},valueCom(e){e&&(this.reset=!0,setTimeout(()=>this.init(),10)),this.popupValue=e}},methods:{pickstart(){},pickend(){},getItemValue(e,t){if(this.mode==t)return"object"==typeof e?e[this.rangeKey]:e},formatNumber:e=>+e<10?"0"+e:String(e),generateArray:function(e,t){return e=Number(e),t=(t=Number(t))>e?t:e,[...Array(t+1).keys()].slice(e)},getIndex:function(e,t){let n=e.indexOf(t);return~n?n:0},initTimeValue(){let e=this.defaultTime.replace(/\-/g,"/");e=e&&-1==e.indexOf("/")?`2020/01/01 ${e}`:e;let t=null;t=e?new Date(e):new Date,this.year=t.getFullYear(),this.month=Number(t.getMonth())+1,this.day=t.getDate(),this.hour=t.getHours(),this.minute=t.getMinutes(),this.second=t.getSeconds()},init(){this.valueArr=[],this.reset=!1,"time"==this.mode?(this.initTimeValue(),this.params.year&&(this.valueArr.push(0),this.setYears()),this.params.month&&(this.valueArr.push(0),this.setMonths()),this.params.day&&(this.valueArr.push(0),this.setDays()),this.params.hour&&(this.valueArr.push(0),this.setHours()),this.params.minute&&(this.valueArr.push(0),this.setMinutes()),this.params.second&&(this.valueArr.push(0),this.setSeconds())):"region"==this.mode?(this.params.province&&(this.valueArr.push(0),this.setProvinces()),this.params.city&&(this.valueArr.push(0),this.setCitys()),this.params.area&&(this.valueArr.push(0),this.setAreas())):"selector"==this.mode?this.valueArr=this.defaultSelector:"multiSelector"==this.mode&&(this.valueArr=this.defaultSelector,this.multiSelectorValue=this.defaultSelector),this.$forceUpdate()},setYears(){this.years=this.generateArray(this.startYear,this.endYear),this.valueArr.splice(this.valueArr.length-1,1,this.getIndex(this.years,this.year))},setMonths(){this.months=this.generateArray(1,12),this.valueArr.splice(this.valueArr.length-1,1,this.getIndex(this.months,this.month))},setDays(){let e=new Date(this.year,this.month,0).getDate();this.days=this.generateArray(1,e);let t=0;t=this.params.year&&this.params.month?2:this.params.month||this.params.year?1:0,this.day>this.days.length&&(this.day=this.days.length),this.valueArr.splice(t,1,this.getIndex(this.days,this.day))},setHours(){this.hours=this.generateArray(0,23),this.valueArr.splice(this.valueArr.length-1,1,this.getIndex(this.hours,this.hour))},setMinutes(){this.minutes=this.generateArray(0,59),this.valueArr.splice(this.valueArr.length-1,1,this.getIndex(this.minutes,this.minute))},setSeconds(){this.seconds=this.generateArray(0,59),this.valueArr.splice(this.valueArr.length-1,1,this.getIndex(this.seconds,this.second))},setProvinces(){if(!this.params.province)return;let e="",t=!1;this.areaCode.length?(e=this.areaCode[0],t=!0):e=this.defaultRegion.length?this.defaultRegion[0]:0,OA.map((n,o)=>{(t?n.code==e:n.name==e)&&(e=o)}),this.province=e,this.provinces=OA,this.valueArr.splice(0,1,this.province)},setCitys(){if(!this.params.city)return;let e="",t=!1;this.areaCode.length?(e=this.areaCode[1],t=!0):e=this.defaultRegion.length?this.defaultRegion[1]:0,BA[this.province].map((n,o)=>{(t?n.code==e:n.name==e)&&(e=o)}),this.city=e,this.citys=BA[this.province],this.valueArr.splice(1,1,this.city)},setAreas(){if(!this.params.area)return;let e="",t=!1;this.areaCode.length?(e=this.areaCode[2],t=!0):e=this.defaultRegion.length?this.defaultRegion[2]:0,NA[this.province][this.city].map((n,o)=>{(t?n.code==e:n.name==e)&&(e=o)}),this.area=e,this.areas=NA[this.province][this.city],this.valueArr.splice(2,1,this.area)},close(){this.$emit("input",!1),this.$emit("update:modelValue",!1)},change(e){this.valueArr=e.detail.value;let t=0;if("time"==this.mode)this.params.year&&(this.year=this.years[this.valueArr[t++]]),this.params.month&&(this.month=this.months[this.valueArr[t++]]),this.params.day&&(this.day=this.days[this.valueArr[t++]]),this.params.hour&&(this.hour=this.hours[this.valueArr[t++]]),this.params.minute&&(this.minute=this.minutes[this.valueArr[t++]]),this.params.second&&(this.second=this.seconds[this.valueArr[t++]]);else if("region"==this.mode)this.params.province&&(this.province=this.valueArr[t++]),this.params.city&&(this.city=this.valueArr[t++]),this.params.area&&(this.area=this.valueArr[t++]);else if("multiSelector"==this.mode){let t=null;this.defaultSelector.map((n,o)=>{n!=e.detail.value[o]&&(t=o)}),null!=t&&this.$emit("columnchange",{column:t,index:e.detail.value[t]})}},getResult(e=null){let t={};"time"==this.mode?(this.params.year&&(t.year=this.formatNumber(this.year||0)),this.params.month&&(t.month=this.formatNumber(this.month||0)),this.params.day&&(t.day=this.formatNumber(this.day||0)),this.params.hour&&(t.hour=this.formatNumber(this.hour||0)),this.params.minute&&(t.minute=this.formatNumber(this.minute||0)),this.params.second&&(t.second=this.formatNumber(this.second||0)),this.params.timestamp&&(t.timestamp=this.getTimestamp())):"region"==this.mode?(this.params.province&&(t.province=OA[this.province]),this.params.city&&(t.city=BA[this.province][this.city]),this.params.area&&(t.area=NA[this.province][this.city][this.area])):("selector"==this.mode||"multiSelector"==this.mode)&&(t=this.valueArr),e&&this.$emit(e,t),this.close()},getTimestamp(){let e=this.year+"/"+this.month+"/"+this.day+" "+this.hour+":"+this.minute+":"+this.second;return new Date(e).getTime()/1e3},getDateSource:()=>({provinces:OA,citys:BA,areas:NA}),regionDiscern(e){let t="",n={},o={},a={};if(!e)return{code:-1,msg:"地址文本不能为空"};e.trim();let r=e.substring(0,2),i=-1;for(let u=0;u-1){o={code:n,name:t},l=u;break}}if(-1==l)return{code:-1,msg:"地级市没有找到,请输入正确的地址"};let c=NA[i][l],d=-1;for(let u=0;u2&&(r+=`|${o.substr(0,o.length-1)}`);let i=new RegExp(r);if(e.search(i)>-1){a={code:n,name:o},t=e.replace(new RegExp(r),"{{~}}").split("{{~}}")[1],d=u;break}}return-1==d?{code:-1,msg:"县级市没有找到,请输入正确的地址"}:{code:0,msg:"ok",data:{province:n,city:o,area:a,address:t,formatted_address:`${n.name}${o.name}${a.name}${t}`}}},addressDiscern(e){let t="",n="";if(!e)return{code:-1,msg:"地址文本不能为空"};let o,a,r=e.split(/[^\u4e00-\u9fa5a-zA-Z0-9+-()()]+/g).filter(e=>e.length);if(3!=r.length)return{code:-1,msg:"地址格式不正确,请按姓名 手机号 收货地址格式。"};for(let[s,l]of r.entries())/^1[3,4,5,6,7,8,9][0-9]{9}$/.test(l)?n=l:o?o.length>l.length?(a=o,t=l):(a=l,t=o):o=l;let i=this.regionDiscern(a);return 0!==i.code?i:{code:0,msg:"ok",data:{name:t,mobile:n,position:i.data}}}}};const VA=MM(DA,[["render",function(e,t,n,o,a,r){const i=ny,s=Eg,l=Sg,c=Jg,d=Bo("u-popup");return Br(),jr(d,{maskCloseAble:n.maskCloseAble,mode:"bottom",popup:!1,modelValue:a.popupValue,"onUpdate:modelValue":t[4]||(t[4]=e=>a.popupValue=e),length:"auto",safeAreaInsetBottom:n.safeAreaInsetBottom,onClose:r.close,"z-index":r.uZIndex,blur:n.blur},{default:Io(()=>[Yr(i,{class:"u-datetime-picker"},{default:Io(()=>[Yr(i,{class:"u-picker-header",onTouchmove:t[3]||(t[3]=ms(()=>{},["stop","prevent"]))},{default:Io(()=>[Yr(i,{class:"u-btn-picker u-btn-picker--tips",style:Ue({color:n.cancelColor}),"hover-class":"u-opacity","hover-stay-time":150,onClick:t[0]||(t[0]=e=>r.getResult("cancel"))},{default:Io(()=>[Gr(G(n.cancelText),1)]),_:1},8,["style"]),Yr(i,{class:"u-picker__title"},{default:Io(()=>[Gr(G(n.title),1)]),_:1}),Yr(i,{class:"u-btn-picker u-btn-picker--primary",style:Ue({color:a.moving?n.cancelColor:n.confirmColor}),"hover-class":"u-opacity","hover-stay-time":150,onTouchmove:t[1]||(t[1]=ms(()=>{},["stop"])),onClick:t[2]||(t[2]=ms(e=>r.getResult("confirm"),["stop"]))},{default:Io(()=>[Gr(G(n.confirmText),1)]),_:1},8,["style"])]),_:1}),Yr(i,{class:"u-picker-body"},{default:Io(()=>["region"==n.mode?(Br(),jr(l,{key:0,value:a.valueArr,onChange:r.change,class:"u-picker-view",onPickstart:r.pickstart,onPickend:r.pickend},{default:Io(()=>[!a.reset&&n.params.province?(Br(),jr(s,{key:0},{default:Io(()=>[(Br(!0),$r(Ir,null,Da(a.provinces,(e,t)=>(Br(),jr(i,{class:"u-column-item",key:t},{default:Io(()=>[Yr(i,{class:"u-line-1"},{default:Io(()=>[Gr(G(e.name),1)]),_:2},1024)]),_:2},1024))),128))]),_:1})):Qr("",!0),!a.reset&&n.params.city?(Br(),jr(s,{key:1},{default:Io(()=>[(Br(!0),$r(Ir,null,Da(a.citys,(e,t)=>(Br(),jr(i,{class:"u-column-item",key:t},{default:Io(()=>[Yr(i,{class:"u-line-1"},{default:Io(()=>[Gr(G(e.name),1)]),_:2},1024)]),_:2},1024))),128))]),_:1})):Qr("",!0),!a.reset&&n.params.area?(Br(),jr(s,{key:2},{default:Io(()=>[(Br(!0),$r(Ir,null,Da(a.areas,(e,t)=>(Br(),jr(i,{class:"u-column-item",key:t},{default:Io(()=>[Yr(i,{class:"u-line-1"},{default:Io(()=>[Gr(G(e.name),1)]),_:2},1024)]),_:2},1024))),128))]),_:1})):Qr("",!0)]),_:1},8,["value","onChange","onPickstart","onPickend"])):"time"==n.mode?(Br(),jr(l,{key:1,value:a.valueArr,onChange:r.change,class:"u-picker-view",onPickstart:r.pickstart,onPickend:r.pickend},{default:Io(()=>[!a.reset&&n.params.year?(Br(),jr(s,{key:0},{default:Io(()=>[(Br(!0),$r(Ir,null,Da(a.years,(e,t)=>(Br(),jr(i,{class:"u-column-item",key:t},{default:Io(()=>[Gr(G(e)+" ",1),n.showTimeTag?(Br(),jr(c,{key:0,class:"u-text"},{default:Io(()=>[Gr("年")]),_:1})):Qr("",!0)]),_:2},1024))),128))]),_:1})):Qr("",!0),!a.reset&&n.params.month?(Br(),jr(s,{key:1},{default:Io(()=>[(Br(!0),$r(Ir,null,Da(a.months,(e,t)=>(Br(),jr(i,{class:"u-column-item",key:t},{default:Io(()=>[Gr(G(r.formatNumber(e))+" ",1),n.showTimeTag?(Br(),jr(c,{key:0,class:"u-text"},{default:Io(()=>[Gr("月")]),_:1})):Qr("",!0)]),_:2},1024))),128))]),_:1})):Qr("",!0),!a.reset&&n.params.day?(Br(),jr(s,{key:2},{default:Io(()=>[(Br(!0),$r(Ir,null,Da(a.days,(e,t)=>(Br(),jr(i,{class:"u-column-item",key:t},{default:Io(()=>[Gr(G(r.formatNumber(e))+" ",1),n.showTimeTag?(Br(),jr(c,{key:0,class:"u-text"},{default:Io(()=>[Gr("日")]),_:1})):Qr("",!0)]),_:2},1024))),128))]),_:1})):Qr("",!0),!a.reset&&n.params.hour?(Br(),jr(s,{key:3},{default:Io(()=>[(Br(!0),$r(Ir,null,Da(a.hours,(e,t)=>(Br(),jr(i,{class:"u-column-item",key:t},{default:Io(()=>[Gr(G(r.formatNumber(e))+" ",1),n.showTimeTag?(Br(),jr(c,{key:0,class:"u-text"},{default:Io(()=>[Gr("时")]),_:1})):Qr("",!0)]),_:2},1024))),128))]),_:1})):Qr("",!0),!a.reset&&n.params.minute?(Br(),jr(s,{key:4},{default:Io(()=>[(Br(!0),$r(Ir,null,Da(a.minutes,(e,t)=>(Br(),jr(i,{class:"u-column-item",key:t},{default:Io(()=>[Gr(G(r.formatNumber(e))+" ",1),n.showTimeTag?(Br(),jr(c,{key:0,class:"u-text"},{default:Io(()=>[Gr("分")]),_:1})):Qr("",!0)]),_:2},1024))),128))]),_:1})):Qr("",!0),!a.reset&&n.params.second?(Br(),jr(s,{key:5},{default:Io(()=>[(Br(!0),$r(Ir,null,Da(a.seconds,(e,t)=>(Br(),jr(i,{class:"u-column-item",key:t},{default:Io(()=>[Gr(G(r.formatNumber(e))+" ",1),n.showTimeTag?(Br(),jr(c,{key:0,class:"u-text"},{default:Io(()=>[Gr("秒")]),_:1})):Qr("",!0)]),_:2},1024))),128))]),_:1})):Qr("",!0)]),_:1},8,["value","onChange","onPickstart","onPickend"])):"selector"==n.mode?(Br(),jr(l,{key:2,value:a.valueArr,onChange:r.change,class:"u-picker-view",onPickstart:r.pickstart,onPickend:r.pickend},{default:Io(()=>[a.reset?Qr("",!0):(Br(),jr(s,{key:0},{default:Io(()=>[(Br(!0),$r(Ir,null,Da(n.range,(e,t)=>(Br(),jr(i,{class:"u-column-item",key:t},{default:Io(()=>[Yr(i,{class:"u-line-1"},{default:Io(()=>[Gr(G(r.getItemValue(e,"selector")),1)]),_:2},1024)]),_:2},1024))),128))]),_:1}))]),_:1},8,["value","onChange","onPickstart","onPickend"])):"multiSelector"==n.mode?(Br(),jr(l,{key:3,value:a.valueArr,onChange:r.change,class:"u-picker-view",onPickstart:r.pickstart,onPickend:r.pickend},{default:Io(()=>[a.reset?Qr("",!0):(Br(!0),$r(Ir,{key:0},Da(n.range,(e,t)=>(Br(),jr(s,{key:t},{default:Io(()=>[(Br(!0),$r(Ir,null,Da(e,(e,t)=>(Br(),jr(i,{class:"u-column-item",key:t},{default:Io(()=>[Yr(i,{class:"u-line-1"},{default:Io(()=>[Gr(G(r.getItemValue(e,"multiSelector")),1)]),_:2},1024)]),_:2},1024))),128))]),_:2},1024))),128))]),_:1},8,["value","onChange","onPickstart","onPickend"])):Qr("",!0)]),_:1})]),_:1})]),_:1},8,["maskCloseAble","modelValue","safeAreaInsetBottom","onClose","z-index","blur"])}],["__scopeId","data-v-7c341487"]]);const $A=MM({name:"u-popup",emits:["update:modelValue","input","open","close"],props:{value:{type:Boolean,default:!1},modelValue:{type:Boolean,default:!1},show:{type:Boolean,default:!1},mode:{type:String,default:"left"},mask:{type:Boolean,default:!0},length:{type:[Number,String],default:"auto"},zoom:{type:Boolean,default:!0},safeAreaInsetBottom:{type:Boolean,default:!1},maskCloseAble:{type:Boolean,default:!0},customStyle:{type:Object,default:()=>({})},popup:{type:Boolean,default:!0},borderRadius:{type:[Number,String],default:0},zIndex:{type:[Number,String],default:""},closeable:{type:Boolean,default:!1},closeIcon:{type:String,default:"close"},closeIconPos:{type:String,default:"top-right"},closeIconColor:{type:String,default:"#909399"},closeIconSize:{type:[String,Number],default:"30"},width:{type:String,default:""},height:{type:String,default:""},negativeTop:{type:[String,Number],default:0},maskCustomStyle:{type:Object,default:()=>({})},duration:{type:[String,Number],default:250},blur:{type:[String,Number],default:0}},data:()=>({visibleSync:!1,showDrawer:!1,timer:null,closeFromInner:!1}),computed:{valueCom(){return this.modelValue},style(){let e={};if("left"==this.mode||"right"==this.mode?e={width:this.width?this.getUnitValue(this.width):this.getUnitValue(this.length),height:"100%",transform:`translate3D(${"left"==this.mode?"-100%":"100%"},0px,0px)`}:"top"!=this.mode&&"bottom"!=this.mode||(e={width:"100%",height:this.height?this.getUnitValue(this.height):this.getUnitValue(this.length),transform:`translate3D(0px,${"top"==this.mode?"-100%":"100%"},0px)`}),e.zIndex=this.uZindex,this.borderRadius){switch(this.mode){case"left":e.borderRadius=`0 ${this.borderRadius}rpx ${this.borderRadius}rpx 0`;break;case"top":e.borderRadius=`0 0 ${this.borderRadius}rpx ${this.borderRadius}rpx`;break;case"right":e.borderRadius=`${this.borderRadius}rpx 0 0 ${this.borderRadius}rpx`;break;case"bottom":e.borderRadius=`${this.borderRadius}rpx ${this.borderRadius}rpx 0 0`}e.overflow="hidden"}return this.duration&&(e.transition=`all ${this.duration/1e3}s linear`),e},centerStyle(){let e={};return e.width=this.width?this.getUnitValue(this.width):this.getUnitValue(this.length),e.height=this.height?this.getUnitValue(this.height):"auto",e.zIndex=this.uZindex,e.marginTop=`-${this.$u.addUnit(this.negativeTop)}`,this.borderRadius&&(e.borderRadius=`${this.borderRadius}rpx`,e.overflow="hidden"),e},uZindex(){return this.zIndex?this.zIndex:this.$u.zIndex.popup}},watch:{valueCom(e){e?this.open():this.closeFromInner||this.close(),this.closeFromInner=!1}},mounted(){this.valueCom&&this.open()},methods:{getUnitValue:e=>/(%|px|rpx|auto)$/.test(e)?e:e+"rpx",maskClick(){this.close()},close(){this.closeFromInner=!0,this.change("showDrawer","visibleSync",!1)},modeCenterClose(e){"center"==e&&this.maskCloseAble&&this.close()},open(){this.change("visibleSync","showDrawer",!0)},change(e,t,n){1==this.popup&&(this.$emit("input",n),this.$emit("update:modelValue",n)),this[e]=n,this.timer=n?setTimeout(()=>{this[t]=n,this.$emit(n?"open":"close")},50):setTimeout(()=>{this[t]=n,this.$emit(n?"open":"close")},this.duration)}}},[["render",function(e,t,n,o,a,r){const i=Bo("u-mask"),s=Bo("u-icon"),l=Wg,c=ny;return a.visibleSync?(Br(),jr(c,{key:0,style:Ue([n.customStyle,{zIndex:r.uZindex-1}]),class:"u-drawer","hover-stop-propagation":""},{default:Io(()=>[Yr(i,{blur:n.blur,duration:n.duration,"custom-style":n.maskCustomStyle,maskClickAble:n.maskCloseAble,"z-index":r.uZindex-2,show:a.showDrawer&&n.mask,onClick:r.maskClick},null,8,["blur","duration","custom-style","maskClickAble","z-index","show","onClick"]),Yr(c,{class:qe(["u-drawer-content",[n.safeAreaInsetBottom?"safe-area-inset-bottom":"","u-drawer-"+n.mode,a.showDrawer?"u-drawer-content-visible":"",n.zoom&&"center"==n.mode?"u-animation-zoom":""]]),onClick:t[2]||(t[2]=e=>r.modeCenterClose(n.mode)),onTouchmove:t[3]||(t[3]=ms(()=>{},["stop","prevent"])),style:Ue([r.style])},{default:Io(()=>["center"==n.mode?(Br(),jr(c,{key:0,class:"u-mode-center-box",onClick:t[0]||(t[0]=ms(()=>{},["stop","prevent"])),onTouchmove:t[1]||(t[1]=ms(()=>{},["stop","prevent"])),style:Ue([r.centerStyle])},{default:Io(()=>[n.closeable?(Br(),jr(s,{key:0,onClick:r.close,class:qe(["u-close",["u-close--"+n.closeIconPos]]),name:n.closeIcon,color:n.closeIconColor,size:n.closeIconSize},null,8,["onClick","class","name","color","size"])):Qr("",!0),Yr(l,{class:"u-drawer__scroll-view","scroll-y":"true"},{default:Io(()=>[Va(e.$slots,"default",{},void 0,!0)]),_:3})]),_:3},8,["style"])):(Br(),jr(l,{key:1,class:"u-drawer__scroll-view","scroll-y":"true"},{default:Io(()=>[Va(e.$slots,"default",{},void 0,!0)]),_:3})),Yr(c,{onClick:r.close,class:qe(["u-close",["u-close--"+n.closeIconPos]])},{default:Io(()=>["center"!=n.mode&&n.closeable?(Br(),jr(s,{key:0,name:n.closeIcon,color:n.closeIconColor,size:n.closeIconSize},null,8,["name","color","size"])):Qr("",!0)]),_:1},8,["onClick","class"])]),_:3},8,["class","style"])]),_:3},8,["style"])):Qr("",!0)}],["__scopeId","data-v-4b2bb9fb"]]);const jA=MM({name:"u-verification-code",emits:["start","end","change"],props:{seconds:{type:[String,Number],default:60},startText:{type:String,default:"获取验证码"},changeText:{type:String,default:"X秒重新获取"},endText:{type:String,default:"重新获取"},keepRunning:{type:Boolean,default:!1},uniqueKey:{type:String,default:""}},data(){return{secNum:this.seconds,timer:null,canGetCode:!0}},mounted(){this.checkKeepRunning()},watch:{seconds:{immediate:!0,handler(e){this.secNum=e}}},methods:{checkKeepRunning(){let e=Number(uv(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,hv(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.setTimeToStorage(),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)},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);cv({key:this.uniqueKey+"_$uCountDownTimestamp",data:e+Number(this.secNum)})}}},beforeUnmount(){this.setTimeToStorage(),clearTimeout(this.timer),this.timer=null}},[["render",function(e,t,n,o,a,r){const i=ny;return Br(),jr(i,{class:"u-code-wrap"})}],["__scopeId","data-v-b966d4e1"]]),zA="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkBAMAAACCzIhnAAAAD1BMVEVHcExRUVFMTExRUVFRUVE9CdWsAAAABHRSTlMAjjrY9ZnUjwAAAQFJREFUWMPt2MsNgzAMgGEEE1B1gKJmAIRYoCH7z9RCXrabh33iYktcIv35EEg5ZBh07pvxJU6MFSPOSRnjnBUjUsaciRUjMsb4xIoRCWNiYsUInzE5sWKEyxiYWDbyefqHx1zIeiYTk7mQYziTYecxHvEJjwmIT3hMQELCYSISEg4TkZj0mYTEpM8kJCU9JiMp6TEZyUmbAUhO2gxAQNJiIAKSFgMRmNQZhMCkziAEJTUGIyipMRjBSZkhCE7KDEFIUmTeGCHJxWz0zXaE0GTCG8ZFtEaS347r/1fe11YyHYVfubxayfjoHmc0YYwmmmiiiSaaaKLJ7ckyz5ve+dw3Xw2emdwm9xSbAAAAAElFTkSuQmCC",FA="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkBAMAAACCzIhnAAAAElBMVEVHcEz///////////////////+IGTx/AAAABnRSTlMA/dAkXZOhASU/AAABYElEQVRYw+2YwXLCIBCGsdAHWGbyAKZ4zxi9O017rxLf/1UaWFAgA1m8dcpedNSPf/l/Vh0Ya/Wn6hN0JcGvoCqRM4C8VBFiDwBqqNuJKV0rAnCgy3AUqZE57x0iqTL8Br4U3WBf/YWaIlTKfAcELU/h9w72CSVPa3C3OCDvhpHbRp/s2vq4fHhCeiCl2A3m4Qd71DQR257mFBlMcTlbFnFWzNtHxewYEfSiaLS4el8d8nyhmKJd1CF4eOS0keLMAuSxubLBIeIGQW8YHCFFo7EH9+YDcQt9FMZEswTheaNxTHwHT8SZorJjMrEVwo4Zo0U8HSEyZvJMOg4RjnmmRr8nDYeIz3OMkbfE/QhBo+U9RnZJxjGCRh/WKmHEMWLNkfPKsGh/CWJk1JjG0kcuJggTt34VDP8aWAFhp4nybVb5+9qQhjSkIQ1pSEMa8k+Q5U9rV3dF8MpFBK+/7miVq1/HZ2qmo9D+pAAAAABJRU5ErkJggg==",WA="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkBAMAAACCzIhnAAAAKlBMVEVHcEzDw8Ovr6+pqamUlJTCwsKenp61tbWxsbGysrLNzc2bm5u5ubmjo6MpovhuAAAACnRSTlMA/P79/sHDhiZS0DxZowAABBBJREFUWMPtl89rE0EUx7ctTXatB3MI1SWnDbUKPUgXqh4ED8Uf7KUVSm3ooVSpSii0Fn/gD4j4o+APiEoVmos9FO2celiqZVgwgaKHPQiCCkv+F99kM7Ozm5kxq1dfD91k9pPve9/3ZjbRNHHok/mKli4eIPNgSuRObuN9SqSEzM20iGnm0yIbqCuV7NSSSIV7uyPM6JMBYdeTOanh/QihJYZsUCSby+VkMj2AvOt0rAeQAwqE3lfKMZVlQCZk1QOCKkkVPadITCfIRNKxfoJI5+0OIFtJx14CMSg1mRSDko7VAfksRQzEbGYqxOJcVTWMCH2I1/IACNW0PWU2M8cmAVHtnH5mM1VRWtwKZjOd5JbF6s1IbaYqaotjNlPHgDAnlAizubTR6ovMYn052g/U5qcmOpi0WL8xTS/3IfSet5m8MEr5ajjF5le6dq/OJpobrdY0t3i9QgefWrxW9/1BLhk0E9m8FeUMhhXal499iD0eQRfDF+ts/tttORRerfp+oV7f4xJj82iUYm1Yzod+ZQEAlS/8mMBwKebVmCVp1f0JLS6zKd17+iwRKTARVg2SHtz3iEbBH+Q+U28zW2Jiza8Tjb1YFoYZMsJyjDqp3M9XBQdSdPLFdxEpvOB37JrHcmR/y9+LgoTlCFGZEa2sc6d4PGlweEa2JSVPoVm+IfGG3ZL037iV9oH+P+Jxc4HGVflNq1M0pivao/EopO4b/ojVCP9GjmiXOeS0DOn1o/iiccT4ORnyvBGF3yUywkQajW4Ti0SGuiy/wVSg/L8w+X/8Q+hvUx8Xd90z4oV5a1i88MbFWHz0WZZ1UrTwBGPX3Rat9AFiXRMRjoMdIdJLEOt2h7jrYOzgOamKZSWSNspOS0X8SAqRYmxRL7sg4eLzYmNehcxh3uoyud/BH2Udux4ywxFTc1xC7Mgf4vMhc5S+kSH3Y7yj+qpwIWSoPTVCOOPVthGx9FbGqrwFw6wSFxJr+17zeKcztt3u+2roAEVgUjDd+AHGuxHy2rZHaa8JMkTHEeyi85ANPO9j9BVuBRD2FY5LDMo/Sz/2hReqGIs/KiFin+CsPsYO/yvM3jL2vE8EbX7/Bf8ejtr2GLN65bioAdgLd8Bis/mD5GmP2qeqyo2ZwQEOtAjRIDH7mBKpUcMoApbZJ5UIxkEwxyMZyMxW/uKFvHCFR3SSmerHyDNQ2dF4JG6zIMpBgLfjSF9x1D6smFcYnGApjmSLICO3ecCDWrQ48geba9DI3STy2i7ax6WIB62fSyIZIiO3GFQqSURp8wCo7GhJBGwuSovJBNjb7kT6FPVnIa9qJ2Ko+l9mefGIdinaMp0yC1URYiwsdfNE45EuA5Cx9EhalfvN5s+UyItm81vaB3p4joniN+SCP7Qc1hblAAAAAElFTkSuQmCC",HA="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkBAMAAACCzIhnAAAAElBMVEX///9HcEz///////////////84chYNAAAABnRSTlP/AGzCOYZj5g1nAAACfklEQVRYw+2YTVPDIBCGtza9Jw25a0bvcax30o73OOr//yvma2F3YWlpPTijXNpAHrK8LLALVPFium2vNIFSbwGKTGQA2GUiHcD29yDNy3sMIdUBQl7r2H8mOEVqAHgPkYZUS6Qc2zYhQqtjyDZEximCZwWZLIBeIgYShs2NzxKpSUehYpMJhURGb+O+w5BpMCAREKPnCDHbIY20SzhM5yxziAXpOiBXydrekT9i5XDEq4NIIHHgyU5mRGqviII4mREJJA4QJzMiILwlRJzpKxJKvCBm8OsBBbLux0tsPl4RKYm5aPu6jw1U4mGxEUR9g8M1PcqBEp/WJliNgYOXueBzS4jZSIcgY5lCtevgDSgyzE+rAfuOTQMq0yzvoGH18qju27Mayzs4fPyMziCx81NJa5RNfW7vPYK9KOfDiVkBxFHG8hAj9txuoBuSWORsFfkpBf7xKFLSeaOefEojh5jz22DJEqMP8fUyaKdQx+RnG+yXMpe8Aars8ueR1pVH/bW3FyyvPRw90upLDHwpgBDtg4aUBNkxRLXMAi03IhcZtr1m+FeI/O/JNyDmmL1djLOauSlNflBpW18RQ2bPqXI22MXXEk75KRHTnkPkYbESbdKP2ZFk0r5sIwffAjy1lx+vx7NLjB6/E7Jfv5ERKhzpN0w8IDE8IGFDv5dhz10s7GFiXRZcUeLCEG5P5nDq9k4PFDcoMpE3GY4OuxuCXhmuyNB6k0RsLIAvqp9NE5r8ZCSS8gxnUp7ODdYhZTqxuiJ9uyJJtPmpqJ7wVj+XVieS903iViHziqAhchLEJAyb7jWU647EpUofQ0ziUuXXXhDddtlllSwjgSQu7r4BRWhQqfDPMVwAAAAASUVORK5CYII=",UA="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkBAMAAACCzIhnAAAAElBMVEVRUVFHcExTU1NRUVFRUVFRUVFOSlSUAAAABnRSTlP/AI6+VySB3ZENAAACcElEQVRYw+2YyYKCMAyGI8hdpdxdZu7gcpdZ7jL6/s8yYheSNi0aPdqbwOffpGmaFOYPD3gj4bisN7vddv17N/JVgxn5x12IWgIaWTuO/IE3PseQbwjGPo2cgRmHFLJwdm/X643zwiqOKPPJ1nj3sjEP2iiifZWj5bhopSyGaEO2HX5fbQJzwJ+W7x/jw5ZFjsEU0PMph9xE8i5EqprKALW95eJQURkgzw98uJ/JvwGecR7bIjWWsUgVrrIfFZ2HlLy3sKETD1mmRLRMRhGVssRa0xJkdn3SpJBymBkM8+pSSDXMDNyDaToVHd2fgpNt0sjwiUZO19+jGQ+gQEg9Oq+bufmAVGihomNmjQG7UG3020vrlm7lkFnKFGU3kZ0KGAdmKe821pipQ+qEKcrZeTL2g5FsUks4cStjEZWwXg0b0n4GxmEpkWwIs5VBynjgK7xZaz1/0D7OxkVuLpsY5BQNFyLS84VBjjbg0iL2r2EQHBOxBhikuUOkdxODVF1cxHoWtPPsiyXO455Iv34hssCO8EV4ZIYTjS8SR4qYSHRiTiYQ4ZFbHi0iIhhBTi6dTCgSWRcnw4h4yGTuyTAiOGBIWGoZTgSHJQl+LcOJ4OCnW6yX2bMnJ9pidCOXtkTkTrIGpYuOynAiOF14SamMiOCk5Ke+mq8BcOrrvym8d0zKIQnWT+M1WwOQNO4fFiWb18hhERxJPx2fblbPHHyC41VyiAtKBUFBIih7JMWVoIQTFIr3lKPN80WvoLSWFPC653ioTZA0I0FrQ7qU6asaK0H7JmkSJa2ooOGVtNUsc3j9FYHkIkJy3SG6VHnfXKXGP9t4N9Q4Ye98AAAAAElFTkSuQmCC",qA="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkBAMAAACCzIhnAAAAGFBMVEVHcEz///////////////////////////8dS1W+AAAAB3RSTlMAiVYk6KvDHLfaegAAAo1JREFUWMPtWEtzmzAQNhCTq910ytXpiyvxTNOr60zrayepx9d02gnX4sTm7xcEiJX2gdnkGJ1A4tOnfWqXyeR1vMRYzrcPD9v5h5MBl3/Ldvx4cxIg/FWC8X0xjLjalM54uhhCfCrRuJURX0pi3EmIqZV7O59vrRZmguStHL9b7S7ftfLwOtiZDw7AHMtmquAQ12b5Wwbnordm8g9zLLO49qc/m2n6aKnhwPOGZ08hAiNHhheiHae1lOUPGZpQkPKa3q0mOUjaRzSRaGUjpy/mmWSwySSpllcEteBKAT52KEnSbblA51pJEPxBQoiH1FP4E3s5+FJv07h6/ylD6ui7B+9fq/ehrFB98ghec9EoVtyjK8pqCHLmCBOwMWSCeWFNN4MbPAk55NhsvoFHSSVR0k5TCTTEzlUGcqV/nVp7n9oIVkmtaqbAEqEgfdgHJPwsEAyZ9r4VAZXFjpEwyaw3+H2v42KYxKhs1XvY/gSSGv+IHyUSuHXCeZhLAgVI3EjgSGo1Fb3xO0tGGU9S2/KAIbtjxpJASG73qox6w5LUq0cEOa+iIONIWIilQSQ0pPa2jgaRQAgQP7c0mITRWGxpMAmEQFN2NAQJNCV0mI6GIIEO47hlQ0ORQLd0nL+hoUjg1m6I1TRr8uYEAriBHLcVFQ5UEMiBe3XkTBEG04WXlGKGxPnMS305XQPA1Ocn2JiuAZwE66fxnKwBnDTuXxZTMq85lwW6kt5ndLqZPefiU1yvmktcUSooChJF2aMprhQlnKJQ5FxRKkcVRa+itNYU8Io2oVkY14w0NMWYlqft91Bj9VHq+ca3b43BxjWJmla0sfKohlfTVpPN+93L/yLQ/IjQ/O5Q/VR5HdL4D7mlxmjwVdELAAAAAElFTkSuQmCC",YA="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAMAAAAL34HQAAALeGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNi4wLWMwMDIgNzkuMTY0NDg4LCAyMDIwLzA3LzEwLTIyOjA2OjUzICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0RXZ0PSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VFdmVudCMiIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczpwaG90b3Nob3A9Imh0dHA6Ly9ucy5hZG9iZS5jb20vcGhvdG9zaG9wLzEuMC8iIHhtbG5zOnRpZmY9Imh0dHA6Ly9ucy5hZG9iZS5jb20vdGlmZi8xLjAvIiB4bWxuczpleGlmPSJodHRwOi8vbnMuYWRvYmUuY29tL2V4aWYvMS4wLyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOSAoV2luZG93cykiIHhtcDpDcmVhdGVEYXRlPSIyMDIyLTAyLTIyVDIxOjIxOjQ1KzA4OjAwIiB4bXA6TWV0YWRhdGFEYXRlPSIyMDI0LTAxLTEzVDE5OjA5OjQwKzA4OjAwIiB4bXA6TW9kaWZ5RGF0ZT0iMjAyNC0wMS0xM1QxOTowOTo0MCswODowMCIgZGM6Zm9ybWF0PSJpbWFnZS9wbmciIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6ZWQwMWYzNWQtOWRjOC00MDBiLWEyMmQtNjM5OGZiNzVhNGRiIiB4bXBNTTpEb2N1bWVudElEPSJhZG9iZTpkb2NpZDpwaG90b3Nob3A6ZDhlMzQ3ZmEtMDY2My1jYTRiLTgzNTctNTk4YjBkNGIzOTU2IiB4bXBNTTpPcmlnaW5hbERvY3VtZW50SUQ9InhtcC5kaWQ6ZDA4MDI4MDItMzUyYS04NTRhLTkxYjctNmRlNmQ1MmViM2QwIiBwaG90b3Nob3A6Q29sb3JNb2RlPSIzIiBwaG90b3Nob3A6SUNDUHJvZmlsZT0ic1JHQiBJRUM2MTk2Ni0yLjEiIHRpZmY6T3JpZW50YXRpb249IjEiIHRpZmY6WFJlc29sdXRpb249IjMwMDAwMDAvMTAwMDAiIHRpZmY6WVJlc29sdXRpb249IjMwMDAwMDAvMTAwMDAiIHRpZmY6UmVzb2x1dGlvblVuaXQ9IjIiIGV4aWY6Q29sb3JTcGFjZT0iMSIgZXhpZjpQaXhlbFhEaW1lbnNpb249IjMwMCIgZXhpZjpQaXhlbFlEaW1lbnNpb249IjMwMCI+IDx4bXBNTTpIaXN0b3J5PiA8cmRmOlNlcT4gPHJkZjpsaSBzdEV2dDphY3Rpb249ImNyZWF0ZWQiIHN0RXZ0Omluc3RhbmNlSUQ9InhtcC5paWQ6ZDA4MDI4MDItMzUyYS04NTRhLTkxYjctNmRlNmQ1MmViM2QwIiBzdEV2dDp3aGVuPSIyMDIyLTAyLTIyVDIxOjIxOjQ1KzA4OjAwIiBzdEV2dDpzb2Z0d2FyZUFnZW50PSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOSAoV2luZG93cykiLz4gPHJkZjpsaSBzdEV2dDphY3Rpb249InNhdmVkIiBzdEV2dDppbnN0YW5jZUlEPSJ4bXAuaWlkOjQwNjg2NzJkLWY5NDMtOTU0Mi1iMDBiLTVlMDExNmE1NmIzZSIgc3RFdnQ6d2hlbj0iMjAyNC0wMS0xM1QxMDoyNjoxNiswODowMCIgc3RFdnQ6c29mdHdhcmVBZ2VudD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTkgKFdpbmRvd3MpIiBzdEV2dDpjaGFuZ2VkPSIvIi8+IDxyZGY6bGkgc3RFdnQ6YWN0aW9uPSJzYXZlZCIgc3RFdnQ6aW5zdGFuY2VJRD0ieG1wLmlpZDphYmJkZmUyZC0xY2Q2LTJiNDgtYjUyNS05YzlhZjdlNjA4NDMiIHN0RXZ0OndoZW49IjIwMjQtMDEtMTNUMTE6MjM6NDArMDg6MDAiIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkFkb2JlIFBob3Rvc2hvcCBDQyAyMDE5IChXaW5kb3dzKSIgc3RFdnQ6Y2hhbmdlZD0iLyIvPiA8cmRmOmxpIHN0RXZ0OmFjdGlvbj0iY29udmVydGVkIiBzdEV2dDpwYXJhbWV0ZXJzPSJmcm9tIGFwcGxpY2F0aW9uL3ZuZC5hZG9iZS5waG90b3Nob3AgdG8gaW1hZ2UvcG5nIi8+IDxyZGY6bGkgc3RFdnQ6YWN0aW9uPSJkZXJpdmVkIiBzdEV2dDpwYXJhbWV0ZXJzPSJjb252ZXJ0ZWQgZnJvbSBhcHBsaWNhdGlvbi92bmQuYWRvYmUucGhvdG9zaG9wIHRvIGltYWdlL3BuZyIvPiA8cmRmOmxpIHN0RXZ0OmFjdGlvbj0ic2F2ZWQiIHN0RXZ0Omluc3RhbmNlSUQ9InhtcC5paWQ6YTQ5MjM5MDAtNDhiZC03YTQ1LWI4NGItYmVlZTVjOWUxYTM1IiBzdEV2dDp3aGVuPSIyMDI0LTAxLTEzVDExOjIzOjQwKzA4OjAwIiBzdEV2dDpzb2Z0d2FyZUFnZW50PSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOSAoV2luZG93cykiIHN0RXZ0OmNoYW5nZWQ9Ii8iLz4gPHJkZjpsaSBzdEV2dDphY3Rpb249InNhdmVkIiBzdEV2dDppbnN0YW5jZUlEPSJ4bXAuaWlkOmVkMDFmMzVkLTlkYzgtNDAwYi1hMjJkLTYzOThmYjc1YTRkYiIgc3RFdnQ6d2hlbj0iMjAyNC0wMS0xM1QxOTowOTo0MCswODowMCIgc3RFdnQ6c29mdHdhcmVBZ2VudD0iQWRvYmUgUGhvdG9zaG9wIDIyLjAgKE1hY2ludG9zaCkiIHN0RXZ0OmNoYW5nZWQ9Ii8iLz4gPC9yZGY6U2VxPiA8L3htcE1NOkhpc3Rvcnk+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOmFiYmRmZTJkLTFjZDYtMmI0OC1iNTI1LTljOWFmN2U2MDg0MyIgc3RSZWY6ZG9jdW1lbnRJRD0iYWRvYmU6ZG9jaWQ6cGhvdG9zaG9wOjM2ZGQ4NTQxLWQ0MWEtYmY0Yy1iZjA3LWNmNjZhNjZhMDg2MSIgc3RSZWY6b3JpZ2luYWxEb2N1bWVudElEPSJ4bXAuZGlkOmQwODAyODAyLTM1MmEtODU0YS05MWI3LTZkZTZkNTJlYjNkMCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Pm30U/gAAAAJcEhZcwAALiMAAC4jAXilP3YAAAA/UExURUdwTODg4O3t7e7u7unp6d7e3uTk5M/Pz8nJyePj4+jo6Pj4+MrKyszMzO7u7unp6fb29vLy8vr6+v7+/sHBweag3xAAAAAOdFJOUwAxia5pF0n+/vzX3KbULQ2DYQAACG1JREFUeNrtm4l2o7gShi20IWFrAd7/WUc7EosDWKZ976Hc7WTmdMKXv0qlqpLyeNx222233Xbbbbfddtv/mOHn8xexSNsiRH5PrbFtW4p+DetpsF4v8Gs+HA3WEwOAfwzriYxaLTVsP8X1QK0z+vqQCzewYogi60aL9SEX5oyxphYVCFTGjfSJCTmN1jBruN5KTGCUS8bhySQGHRaohmW4glwtldbOeYJYKlgvbyUuA8aFFEKc++aIM4hrRnyiMnIZKq1PrihcM3GNKboMF1Naa9X9+8T1KrxIlVbGjv3cAEHOYYMqqgUsVuJqqehV3+sjDwB+DTJp0lYtMCyZpxqjF4e+74+sRcQSFZO8UonUSEFzuUY+DKo59A2kZDatGCjzCauy/2AmhSyCq0WHEj0KTNJDmVeNhErMt1Q8W4xti4/FwMJ4jaxl05TKFiNtD3kBGrHnhiph9V0eXQc6DkyE2xX830AlKshFTErXeuCZXK/9m41wFsGSfZ4lcGeyZ98PrylJ7MWCojQZ3qSukL2QslgdngqJnTEPdTJhXvbNBoR/+7wabIxWduN/Ja5dWEivm4XSZ2uQckNzmRlHrn2lc6eiafvS4V2Hd12tesau8toZW0CtWoZYb9t+OqxdCYKYjVPF16pVbILIy/gR7MVaWMHYPCoa2VkzkX4Iry2rirXbumGyAjGC1h62YLw6ApsNKZph3fpIWHt08JovRWD62sejpXhTrhWrPpl6zZ6PW2oTG5ltlvgtF6weNYCWKeJJSfg4W6PNJlj3sVZgOXV4lc8n4RlkMTLEBDVoYc3nI09kpyzzfgWsjyzBZSNDKF2/wjh+sxYvn8Y1scxlfLF9T1RBO3wVHsnq8Fk4oGkEh/0KJPSa8T2CeWE5X9BPmgLsaRIGeNL2kshCsWoLBmdPJW5Wbz1ndAKUXjPwxXYAUpSV3fy5BJg1aa1tyVXHHMgVH31ewDVrleHr9XqC684SUF4mecR3+wW5SC2QNvxUizRv98mLDhPgYiMDb+v8g0OADxqxcnf9w01mZYJF0fUVP5LcdswbsMmy1DVs5PlE5NpNiTR8M8qAWZkOy6aN13VcoOF2/s3xn3Mes8Xza05tgR/BuNz69nlNzMR0fH45p+G4R9oxh2mKt9MF4J7K/lvWUojwF5nCgCpuRUptnZMQ3au0nSo2UsHgV3xpmeLYzGml3ZFBBzYGPCpOQRwXs1/GG1J74dlZc6JKUOtjBAz9XjVxucGWHbZVJDPJQGYDRl1Qmf1ovk2Sbghb6MQlnF7mBzM1bgOqJAPpoOQaVe+4Skcit3uqHMyG/Sh1rHNN0gAfM0nnPrmulfLVBSm20TSZSdWa0LJl2ukVyE4vTYCgP3uQkwv1TKtQWgxDzBSg80OQjCs4klKvuUzHLCfIbDKIE/S5VIGqD1iD2819pkAqTWdmeina+oZABi7X5B1MGoTJqJSchuk6JNHcgUPAcsVFk0+N0oDN68Vo7FQSmCXjx46OEtUk1lpY2ZFQGr/AcpqVato4wPUD+RhfAeyQI5sJ6l2sDwnKqNFSJvpiyJbFl3kTOjZ2ievwCR7hkUoWeV2vOLAXvB39AJoyqYa81A5cvaAidXYTFTycKDBcalVK5f3XS89kzLVl9txfL+K+p6NUnitz5KkKm7D3DrRPNq4bk7l20aFRppNilmuQI+uzTtj9wPBkTsVwM7HbJ5pwGgujyRyZDzQLNoiRFluRtQ+GzEguqRxUL+ZMFqulMzIfaP3ARj2k/txB8c+2HyjmDizCaVWtNoE5MvMlKs/4VQ7HUJZCrU6qCKcNJ2aSWUZhJZu4VI0LB4CHFdj77DRuGi28WKAxoRyZyzGVrmc0jmk1nP5QaxZo1puqq1YIAqgZb8e/rABZJWNCNxV7DSTpOO7Aail9J9nYHtua/4ouE/aS0X1qtXQzwGx+rnbi2vhF/TfZG52oc6DPo1WCi3RTDnRk7TEntoEp38gg+DjYs2opkR3JW5EpL9rU0XSK5/6LOTAVS+72x7pm60zSf5HMdldjhzJqw1FRcxXdS3ZNZp0s92FiyluUvBPoD9ynZNkBiu2NF11ofnlnQbZgKqvusj9R/f6DOzgVsahbNlXxlsxU8y7qrbTupitRyxFBKG6H3aEPUqj7YrzAymq41FXlZLlO4WLbvG2Kg4vYB+wPfWS2B5Rq8TW9ROpAZbiF6MmCTsx1NLLsx7NOoOiZup2CNbZ36xc96ErcxzuILGrmmFhimjtwKo/yTm7feTVwB61IzbnW4967Kt3cDDotGt8JKrTiUyO3Uy2PZZt9tapXEfXhWmTgcoB+JchFWsiCKvYnhmn/tKuJDbgly897FnFfkE1rQLKy810OU7xW3bEJHCD5gERtuTGuxoJqA6qI9TNMa6MbvZomsiubbPYx78YXDaaRqqsyqfSaLZdjYGHLu65rDgydXCWm1P5EvcQ828f9pcBapTILSMv1nZCAc0WzFIFsGfUi/kmAxc6cFqDSYuPSMIbs1OVrwITTQM9HVRFJ5JL56qcoFzzT1uVcd2v9jFw8BHlcWtmEI86hp5Dy/zOlK8cUp/rVseRUBqawz6kmAcPLM9l5m8h4V53Iz/2mFJaTCvF8JbsMvPjU/7crbUXart0v4WyE0LnDPcAX95Knj4VUE8HCdNdUP8BDcOXKdPl4uSWbh4LfOV0HDdfipOmu+eIRrDsNPkIT7np/8ZAzVdOd1u8wHIqeXt8VqtgiO50ePeNaGG+uO9rHiKdL71pnIun8jxEKXv2r2HYBzO/mz96vFKoMM5WLk7tQXS9U5kwCu5lk7n6++kdCFWRaTUzm0/5fClWGWTrM/AGhCrJO/ZBQhTPFLwmV7ebgcdttt91222233Xbbbf+H9h+2WEtdHVinLAAAAABJRU5ErkJggg==",ZA="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAMAAAAL34HQAAALeGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNi4wLWMwMDIgNzkuMTY0NDg4LCAyMDIwLzA3LzEwLTIyOjA2OjUzICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0RXZ0PSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VFdmVudCMiIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczpwaG90b3Nob3A9Imh0dHA6Ly9ucy5hZG9iZS5jb20vcGhvdG9zaG9wLzEuMC8iIHhtbG5zOnRpZmY9Imh0dHA6Ly9ucy5hZG9iZS5jb20vdGlmZi8xLjAvIiB4bWxuczpleGlmPSJodHRwOi8vbnMuYWRvYmUuY29tL2V4aWYvMS4wLyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOSAoV2luZG93cykiIHhtcDpDcmVhdGVEYXRlPSIyMDIyLTAyLTIyVDIxOjIxOjQ1KzA4OjAwIiB4bXA6TWV0YWRhdGFEYXRlPSIyMDI0LTAxLTEzVDE5OjEwOjEwKzA4OjAwIiB4bXA6TW9kaWZ5RGF0ZT0iMjAyNC0wMS0xM1QxOToxMDoxMCswODowMCIgZGM6Zm9ybWF0PSJpbWFnZS9wbmciIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6MTQ3NTExNjAtZDY5MC00ZTkzLWFhNGUtNGMwYTViNGU1ZGFjIiB4bXBNTTpEb2N1bWVudElEPSJhZG9iZTpkb2NpZDpwaG90b3Nob3A6YzRiNzlkYWMtZTJmYS1iNzQ0LWIxM2ItOWU1N2VjMDhhM2YwIiB4bXBNTTpPcmlnaW5hbERvY3VtZW50SUQ9InhtcC5kaWQ6ZDA4MDI4MDItMzUyYS04NTRhLTkxYjctNmRlNmQ1MmViM2QwIiBwaG90b3Nob3A6Q29sb3JNb2RlPSIzIiBwaG90b3Nob3A6SUNDUHJvZmlsZT0ic1JHQiBJRUM2MTk2Ni0yLjEiIHRpZmY6T3JpZW50YXRpb249IjEiIHRpZmY6WFJlc29sdXRpb249IjMwMDAwMDAvMTAwMDAiIHRpZmY6WVJlc29sdXRpb249IjMwMDAwMDAvMTAwMDAiIHRpZmY6UmVzb2x1dGlvblVuaXQ9IjIiIGV4aWY6Q29sb3JTcGFjZT0iMSIgZXhpZjpQaXhlbFhEaW1lbnNpb249IjMwMCIgZXhpZjpQaXhlbFlEaW1lbnNpb249IjMwMCI+IDx4bXBNTTpIaXN0b3J5PiA8cmRmOlNlcT4gPHJkZjpsaSBzdEV2dDphY3Rpb249ImNyZWF0ZWQiIHN0RXZ0Omluc3RhbmNlSUQ9InhtcC5paWQ6ZDA4MDI4MDItMzUyYS04NTRhLTkxYjctNmRlNmQ1MmViM2QwIiBzdEV2dDp3aGVuPSIyMDIyLTAyLTIyVDIxOjIxOjQ1KzA4OjAwIiBzdEV2dDpzb2Z0d2FyZUFnZW50PSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOSAoV2luZG93cykiLz4gPHJkZjpsaSBzdEV2dDphY3Rpb249InNhdmVkIiBzdEV2dDppbnN0YW5jZUlEPSJ4bXAuaWlkOjQwNjg2NzJkLWY5NDMtOTU0Mi1iMDBiLTVlMDExNmE1NmIzZSIgc3RFdnQ6d2hlbj0iMjAyNC0wMS0xM1QxMDoyNjoxNiswODowMCIgc3RFdnQ6c29mdHdhcmVBZ2VudD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTkgKFdpbmRvd3MpIiBzdEV2dDpjaGFuZ2VkPSIvIi8+IDxyZGY6bGkgc3RFdnQ6YWN0aW9uPSJzYXZlZCIgc3RFdnQ6aW5zdGFuY2VJRD0ieG1wLmlpZDpjZjk1NTE1OC04MjFiLTA4NDUtYWJmNS05YTE1NGM1ZTY4NjEiIHN0RXZ0OndoZW49IjIwMjQtMDEtMTNUMTE6MDQ6MDQrMDg6MDAiIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkFkb2JlIFBob3Rvc2hvcCBDQyAyMDE5IChXaW5kb3dzKSIgc3RFdnQ6Y2hhbmdlZD0iLyIvPiA8cmRmOmxpIHN0RXZ0OmFjdGlvbj0iY29udmVydGVkIiBzdEV2dDpwYXJhbWV0ZXJzPSJmcm9tIGFwcGxpY2F0aW9uL3ZuZC5hZG9iZS5waG90b3Nob3AgdG8gaW1hZ2UvcG5nIi8+IDxyZGY6bGkgc3RFdnQ6YWN0aW9uPSJkZXJpdmVkIiBzdEV2dDpwYXJhbWV0ZXJzPSJjb252ZXJ0ZWQgZnJvbSBhcHBsaWNhdGlvbi92bmQuYWRvYmUucGhvdG9zaG9wIHRvIGltYWdlL3BuZyIvPiA8cmRmOmxpIHN0RXZ0OmFjdGlvbj0ic2F2ZWQiIHN0RXZ0Omluc3RhbmNlSUQ9InhtcC5paWQ6ZGM1Y2IyNWItZDZlNC0yZjQ2LTgyODQtZmUwOTNlY2M2ZTkxIiBzdEV2dDp3aGVuPSIyMDI0LTAxLTEzVDExOjA0OjA0KzA4OjAwIiBzdEV2dDpzb2Z0d2FyZUFnZW50PSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOSAoV2luZG93cykiIHN0RXZ0OmNoYW5nZWQ9Ii8iLz4gPHJkZjpsaSBzdEV2dDphY3Rpb249InNhdmVkIiBzdEV2dDppbnN0YW5jZUlEPSJ4bXAuaWlkOjE0NzUxMTYwLWQ2OTAtNGU5My1hYTRlLTRjMGE1YjRlNWRhYyIgc3RFdnQ6d2hlbj0iMjAyNC0wMS0xM1QxOToxMDoxMCswODowMCIgc3RFdnQ6c29mdHdhcmVBZ2VudD0iQWRvYmUgUGhvdG9zaG9wIDIyLjAgKE1hY2ludG9zaCkiIHN0RXZ0OmNoYW5nZWQ9Ii8iLz4gPC9yZGY6U2VxPiA8L3htcE1NOkhpc3Rvcnk+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOmNmOTU1MTU4LTgyMWItMDg0NS1hYmY1LTlhMTU0YzVlNjg2MSIgc3RSZWY6ZG9jdW1lbnRJRD0iYWRvYmU6ZG9jaWQ6cGhvdG9zaG9wOjM2ZGQ4NTQxLWQ0MWEtYmY0Yy1iZjA3LWNmNjZhNjZhMDg2MSIgc3RSZWY6b3JpZ2luYWxEb2N1bWVudElEPSJ4bXAuZGlkOmQwODAyODAyLTM1MmEtODU0YS05MWI3LTZkZTZkNTJlYjNkMCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Ph2LDQsAAAAJcEhZcwAACxMAAAsTAQCanBgAAAA5UExURUdwTNra2s7Ozq2tre3t7dPT087OzuPj4+3t7dbW1u/v79bW1vz8/MrKytDQ0Nzc3MPDw/X19bi4uMZQDnEAAAAKdFJOUwBqEPywotz+wzqApqiTAAAHW0lEQVR42u1b25akIAwcbx2UFoj//7HLTQVBRcSZfTDnbM/uTl/KSlEkwf75eeONN95444033njjjTduR9/0/yOsbqoevObL7101tYX1HFs9QFtfZalRP+rpQVgdAFx990ZnT8L6eZItUl99jeGpf1DxdV/VP9fV1f/PFlF1bYHoVFSRC60IyVjrFRnuB8IoxpExSrstsErKHpJw1eqybNLbAQvAYkKjUrjoBgKRqAaeIjG5+qaps6hKcMWmcdSwqAJWBbAgCZZaIYbsqggqqlHNbFFa5yVR4jKvrKEErOEjNCqNSwHrfE8lpLsod/u+cOPPMPBJ+Gz5dM0cXNgclre+pSxhYI1WW5Tf9ENSMIdLCiWs6q9hwQprBVYKFqyPlx4WtoSvrT9lC/wkGt8qlkQooC3hi6sgW3Bb8gtdpSV/za/mn49pC0oYhONbfyd5hzDLFivKFpTS1gKM0we0tQCEncfgQn7Rt+DC/299i1MSRJcBC0r7VviG5KZvwV5WIUobxHyrJKy8VRjXVgFYsPu5kOtbxdhycCDuihziXVLoW7xwEiUmDgd544B46luWLW+nugMLB2BimmC3cxTNxCDg8xFtuUSNqoFsDKzY8psa+XtBNWXr74N6qxwsS5T6VL5robKl10+ZRu5S9qBvUYuJwVHzjwjrE3G33qKh+WXBgmkmCvHYquTvZ8oo7rLFA4PJgYW0MdePIRQIGUPNbSMw5lubJMKtJI6+Wk6cVFMmACO+VVryeL7ZgI8MhwS2fnNPPK0geHBRd11eJSiyL4KjrL2umm1XIpRii1MKB/mU/iCZwF+pt5z3UJ7UiF3nQqadAXC3T3xEW2IyuDBe3yDTe0+A64it2WTyYSGVHymUI/EduvSWKJ80Dtv2NbYSoQxbMkVC7yzNGIWFvDF7gRD79RYrWW/BDGti4wwLtgvO7gWKUZ8Mt94qX8vLJE70+xVNwzDm9ghNM+FX7p/jlZUId2HJD+Tf79hMe3WNrAK/30E+C8/6xOCqbqxE5JNMYrNbnaLUvJAewfCg8zF0Ba/tbviWLvPYfsGFA1PVD8ZdnjlVc/DS/o7LK4NHjOjKKbfCTSCo5XmwKbaZM4jlc9NGEYd9Ijd0QS5ZGaOR2O+DPlGyRb2nXZzgnI1GdFWF+0gh3ifyTRqvzpXI2eElk58FeHziCF5hY+hSMV9Ge/mohUTGuQ4vzHYe8bW5sNdFQ58St22Vcf5zzJbtcGT4iYQ7iz8dFuxoWRYMjAM7KCnypHOTLSqdUwYIFpndOD/6B2FBzNQxYmW/zxYE4j8yLHga1s2Rbm/O5PXtGcuNDIW1dTj5hpjGsO+7z2Kk9NP1JWDlnWKAM4H6zCUNM05KyVPHBclYzUbgjE3N3tP2JWHBmbqD4GLeCs2jhMT13lMVljwcEbetwZgtHUxVQ21ho3fE7inf2s8vzMWq0EWpfOBg5hcDSGwaF2+LaysRIzNFqRgBv2sMhi/Ix0WiW8rBKNBv4ExBI7eorx9ANazsPCb5FkSNH+Reacos+AYxaFzX76KMH65c8ytzZ40YvpFAqtgC/otn1eCmMI5K8yVRQVVwq3aVtU+jJktwjyP7x+BKv8vtoH098vXYSJcrWGJcAW11r8WVRxe5vgcuFbXqwnaEZejS6mrLwYKUg1ch2RJswTFYgMOwoau+AQsSp/FuDhVZi7J402ifgGla/GJIzGLYG5H4rnKMCUydL9wcsmZSuPikR2QmjQbWqaV2ob2RdMvaLEvFlRiXpYeTwqVOtMZF+qi0dS4uEjJKMvWuYK3S0jHZwaq7BylYp/O2uu3q04lNqudLWEJQd/3paTBz12IaLIPtzE5P1AUuW9TB8NVzaG9/TIfV+eXsWeezz6HWlptEbo4SIAeWur/Y/RZC/gmZTiLzUY2j5ct6fjKsFvxqgyQxE9sbmfYtnJMIciEKo6+FL0wziJmtkzspIcUl0PgWrL7VCKP7hl61U4WLeN+7Ieli2vZhmq0VgjDOgIyhJ62sSpDkWNZa1wiB8WoLlxzy29XpGVPgn1ut5VYcGyRLK7OCiJaDYMrAneJUkZWdw0yDgNm5nDowqLc0Kp581FO7QS4pC9S/YRW9xkVdNOj0ZHCp9anEZw3VEK/fopiDrkMObkcdJtT1g6+uzQ60bIdUPztdWZWy53m+v/zFYPOGHO4AZsalmtJNkyHrCAx1RXX7mt5g1L1pDezpkXv8wJwpVRSSaf2c26Y0rrXXxyWBptu/ovdak+VhkqjGBZUdvKygqANKA/MqZ/36kcGwFn90RnWp66ksKuHgitLFY8BU+F2ZvqpxpMY9qR3YwOUJ12fc0KUHVKdswcKXuwetErCnwvMKuXxfc/3RVJ2yFc+iosQd3X+WGSVz1UiuN2J156FyVyHbsOUp3krezaPUT/VxXqdfwvknb/Zgp+idTxTbrkLqYuKreRnhy65Gf4W0NsDoYiqf6uZsvr8V9eo6XWc5+3TVf/3N1TfeeOONN95444033njjjTfeSI1/IeOYOeO4fGAAAAAASUVORK5CYII=",GA="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADIBAMAAABfdrOtAAAAElBMVEVRUVH+/v5HcEyZmZlRUVFRUVGm1ByOAAAABnRSTlPMzADMTZAJBBGsAAAEnElEQVR42t2cS27jMAyGf7/2U+QCQeDsbeQCgZDujaC5/1UmkzaJn+JDFGcw3LdfflKibJkkDnxrL7dbg7sNt6+L4O8OYBM+B0ys+QrGkHZG+OEEQ8g6go8Bx1GIGMdpNOQyIG6XdMgnSPtKhLQDGEZFBgYMkhKFtGBb0EIEjDgFRowoBVaMGAWpMedEfxMiZtwpUsgZCqtlkCNUdpVAWigtCCCDFtLwIWeoreZCWiRYYEKGFEjDg+yRZCUH0iLRAgNyToXUNCRZyMqWhGnUN2IPm3wSlwJ7IUspyCBkIQUZhCykIIeQuRTkEDKXAuM9srrtYbrZN7Y98giZSoFd+t1OxmMITG0dcrSFXFchZ1tIvQZpYWxhBbK3hpQrkMEa0iwh5t4a+QvZvDXyF7J5a+Qv5PPW21/I5623v5DPW29/IaO3Xv5Clrw1y1/Ikrdm+Qs5svw83yNnSJ5BQb4F/F7EIEJSnThGBAXxkFQfLOviQUE8JAUPsosHBfGQfDAtHhREQ1JxIV00KIgmrnRI84S0yAd5BAXxxJUck0f6Qnwr9qmr6xF5xLMjcwn/iudIEAdWnyjkEXlQKZiRVzoqRyLbgeUKKR8Q4alY7cSnoxzSf2ggsqehKr6YVpcXpOd7H93f60cKhOd7Re2LteUF4eLqiVS1mr0ge4io6C2+soaFkJ7MuuuQs1yITEp9hwwKISIpzR2iESKSIoT0rLNwuVHQqoSIpAQJpGce60vIUSdEIuUqgPTsJ5QFZK8UIpBS8iG94GFrDjlrhfCl8CG96Llxmle4kEr6vKWBPIVo9kqDQSRk9/3cWoikcCFPAd33v4dIChPyEvLzBA6RlEYWke4JEUnhKXkLeUEKxRHJFfKCQHGucIW8IdZSRkLeEGMpYyEjiK2UsZARxFTKRMgYYillImQMMZQyFTKB2EmZCplAuFLIHT8TMoWwpQwiIVMIUwqpZP5bp5CCvCTiQKr5f5lCQN+tPCBn2ZvVDFJwIDUP0m1BYAfZYRNSsCB7BqTbhoARePIxtZ9tgwWkoJcwCalmv3MBAemtO4R6dah2HaKQqj8Zvp9sQDjvJ21+SPCBHPJDDk6QITekEV7gqCC19CpKAym9IMfckKv4olMBCeIrWwVEfvkshzQekO9r9P1/ALk+IG1eSPCDiCJfyG+FyU+A6ZCa/piZDinpz7LpkCv5gdkAEshP5emQhv7onw6pGeULyZCSUYiRDAmMkpJkCKs4JhFSq8p8hJBSVbAkhARV6ZUQoisik0FqXTmcDHLVFfbJIEFXoiiCNMpiSxGkVJaNiiBBWQArgTTaUl4JpNQWJUsgQVteXQg+AKkLxQWFGKW+5J2+eVp4S168X3CF1CltCKdTJ8lb84YK2bUBO+wZW0Pqv9nk4tKu49N45NJC5dMM5tLW5tOg59Jq6NM06dL+abFXwr/RkuvTXJwae1abtE/Dt0/ruksTvs84AZ/BCC4jHnyGVfiM3VBQFANEXEah+Ax18RlP4zNox2dkkM/wI58xTn8yDCXGYCDV3W5RGSajtXyGhG1jbpbjzpwGt/0MJft8jqC7iUbQ/QZaxdnKqcIftwAAAABJRU5ErkJggg==",QA="2.7.6",JA=100,XA="z-paging-error-emit",KA="z-paging-complete-emit",eI="z-paging-cache",tI="zp_index",nI="zp_unique_index",oI={},aI="Z-PAGING-REFRESHER-TIME-STORAGE-KEY";let rI=null,iI=!1;const sI={};function lI(){return uv(aI)}function cI(){return(new Date).getTime()}function dI(e){return 1===(e=e.toString()).length?"0"+e:e}const uI={gc:function(e,t){return()=>{if(function(){if(iI)return;oI&&Object.keys(oI).length&&(rI=oI);!rI&&uni.$zp&&(rI=uni.$zp.config);rI=rI?Object.keys(rI).reduce((e,t)=>(e[function(e){return e.replace(/-([a-z])/g,(e,t)=>t.toUpperCase())}(t)]=rI[t],e),{}):null,iI=!0}(),!rI)return t;const n=rI[e];return void 0===n?t:n}},setRefesrherTime:function(e,t){const n=lI()||{};n[t]=e,lv(aI,n)},getRefesrherFormatTimeByKey:function(e,t){const n=function(e){const t=lI();return t&&t[e]?t[e]:null}(e),o=n?function(e,t){const n=new Date(e),o=new Date,a=new Date(e).setHours(0,0,0,0),r=(new Date).setHours(0,0,0,0),i=a-r;let s="";const l=function(e){const t=e.getHours(),n=e.getMinutes();return`${dI(t)}:${dI(n)}`}(n);s=0===i?t.today:-864e5===i?t.yesterday:function(e,t=!0){const n=e.getFullYear(),o=e.getMonth()+1,a=e.getDate();return t?`${n}-${dI(o)}-${dI(a)}`:`${dI(o)}-${dI(a)}`}(n,n.getFullYear()!==o.getFullYear());return`${s} ${l}`}(n,t):t.none;return`${t.title}${o}`},getTouch:function(e){let t=null;if(e.touches&&e.touches.length)t=e.touches[0];else if(e.changedTouches&&e.changedTouches.length)t=e.changedTouches[0];else{if(!e.datail||e.datail=={})return{touchX:0,touchY:0};t=e.datail}return{touchX:t.clientX,touchY:t.clientY}},getTouchFromZPaging:function e(t){if(t&&t.tagName&&"BODY"!==t.tagName&&"UNI-PAGE-BODY"!==t.tagName){const n=t.classList;return n&&n.contains("z-paging-content")?{isFromZp:!0,isPageScroll:n.contains("z-paging-content-page"),isReachedTop:n.contains("z-paging-reached-top"),isUseChatRecordMode:n.contains("z-paging-use-chat-record-mode")}:e(t.parentNode)}return{isFromZp:!1}},getParent:function e(t){return t?t.$refs.paging?t:e(t.$parent):null},convertToPx:function(e){if("[object Number]"===Object.prototype.toString.call(e))return e;let t=!1;return-1!==e.indexOf("rpx")||-1!==e.indexOf("upx")?(e=e.replace("rpx","").replace("upx",""),t=!0):-1!==e.indexOf("px")&&(e=e.replace("px","")),isNaN(e)?0:Number(t?gh(e):e)},getTime:cI,getInstanceId:function(){const e=[];for(let t=0;t<10;t++)e[t]="0123456789abcdef".substr(Math.floor(16*Math.random()),1);return e.join("")+cI()},consoleErr:function(e){console.error(`[z-paging]${e}`)},delay:function(e,t=JA,n){const o=setTimeout(e,t);return n&&(sI[n]&&clearTimeout(sI[n]),sI[n]=o),o},wait:function(e){return new Promise(t=>{setTimeout(t,e)})},addUnit:function(e,t){if("[object String]"===Object.prototype.toString.call(e)){let t=e;t=t.replace("rpx","").replace("upx","").replace("px",""),-1===e.indexOf("rpx")&&-1===e.indexOf("upx")&&-1!==e.indexOf("px")&&(t=2*parseFloat(t)),e=t}return"rpx"===t?e+"rpx":e/2+"px"}},hI={LoadingType:{Refresher:0,LoadingMore:1},Refresher:{Default:0,ReleaseToRefresh:1,Loading:2,Complete:3},More:{Default:0,Loading:1,NoMore:2,Fail:3},QueryFrom:{UserPullDown:0,Reload:1,Refresh:2,LoadingMore:3},CellHeightMode:{Fixed:"fixed",Dynamic:"dynamic"},CacheMode:{Default:"default",Always:"always"}},mI={name:"z-paging-refresh",data:()=>({R:hI.Refresher,isIos:"ios"===ov().platform,refresherTimeText:"",zTheme:{title:{white:"#efefef",black:"#555555"},arrow:{white:FA,black:zA},flower:{white:HA,black:WA},success:{white:qA,black:UA},indicator:{white:"#eeeeee",black:"#777777"}}}),props:["status","defaultThemeStyle","defaultText","pullingText","refreshingText","completeText","defaultImg","pullingImg","refreshingImg","completeImg","refreshingAnimated","showUpdateTime","updateTimeKey","imgStyle","titleStyle","updateTimeStyle","updateTimeTextMap","unit"],computed:{ts(){return this.defaultThemeStyle},statusTextArr(){return this.updateTime(),[this.defaultText,this.pullingText,this.refreshingText,this.completeText]},currentTitle(){return this.statusTextArr[this.status]||this.defaultText},leftImageClass(){const e=`zp-r-left-image-pre-size-${this.unit}`;return this.status===this.R.Complete?e:`zp-r-left-image ${e} ${this.status===this.R.Default?"zp-r-arrow-down":"zp-r-arrow-top"}`},leftImageStyle(){const e=this.showUpdateTime,t=e?uI.addUnit(36,this.unit):uI.addUnit(34,this.unit);return{width:t,height:t,"margin-right":e?uI.addUnit(20,this.unit):uI.addUnit(9,this.unit)}},leftImageSrc(){const e=this.R,t=this.status;return t===e.Default?this.defaultImg?this.defaultImg:this.zTheme.arrow[this.ts]:t===e.ReleaseToRefresh?this.pullingImg?this.pullingImg:this.defaultImg?this.defaultImg:this.zTheme.arrow[this.ts]:t===e.Loading?this.refreshingImg?this.refreshingImg:this.zTheme.flower[this.ts]:t===e.Complete?this.completeImg?this.completeImg:this.zTheme.success[this.ts]:""},rightTextStyle(){let e={};return e.color=this.zTheme.title[this.ts],e["font-size"]=uI.addUnit(30,this.unit),e}},methods:{addUnit:(e,t)=>uI.addUnit(e,t),updateTime(){this.showUpdateTime&&(this.refresherTimeText=uI.getRefesrherFormatTimeByKey(this.updateTimeKey,this.updateTimeTextMap))}}};const pI=MM(mI,[["render",function(e,t,n,o,a,r){const i=Mf,s=ny,l=Jg;return Br(),jr(s,{style:{height:"100%"}},{default:Io(()=>[Yr(s,{class:qe(n.showUpdateTime?"zp-r-container zp-r-container-padding":"zp-r-container")},{default:Io(()=>[Yr(s,{class:"zp-r-left"},{default:Io(()=>[n.status!==a.R.Loading?(Br(),jr(i,{key:0,class:qe(r.leftImageClass),style:Ue([r.leftImageStyle,n.imgStyle]),src:r.leftImageSrc},null,8,["class","style","src"])):(Br(),jr(i,{key:1,class:qe({"zp-line-loading-image":n.refreshingAnimated,"zp-r-left-image":!0,"zp-r-left-image-pre-size-rpx":"rpx"===n.unit,"zp-r-left-image-pre-size-px":"px"===n.unit}),style:Ue([r.leftImageStyle,n.imgStyle]),src:r.leftImageSrc},null,8,["class","style","src"]))]),_:1}),Yr(s,{class:"zp-r-right"},{default:Io(()=>[Yr(l,{class:"zp-r-right-text",style:Ue([r.rightTextStyle,n.titleStyle])},{default:Io(()=>[Gr(G(r.currentTitle),1)]),_:1},8,["style"]),n.showUpdateTime&&a.refresherTimeText.length?(Br(),jr(l,{key:0,class:qe(["zp-r-right-text",{"zp-r-right-time-text-rpx":"rpx"===n.unit,"zp-r-right-time-text-px":"px"===n.unit}]),style:Ue([{color:a.zTheme.title[r.ts]},n.updateTimeStyle])},{default:Io(()=>[Gr(G(a.refresherTimeText),1)]),_:1},8,["class","style"])):Qr("",!0)]),_:1})]),_:1},8,["class"])]),_:1})}],["__scopeId","data-v-b54f2f26"]]);const fI=MM({name:"z-paging-load-more",data:()=>({M:hI.More,zTheme:{title:{white:"#efefef",black:"#a4a4a4"},line:{white:"#efefef",black:"#eeeeee"},circleBorder:{white:"#aaaaaa",black:"#c8c8c8"},circleBorderTop:{white:"#ffffff",black:"#444444"},flower:{white:HA,black:WA},indicator:{white:"#eeeeee",black:"#777777"}}}),props:["zConfig"],computed:{ts(){return this.c.defaultThemeStyle},c(){return this.zConfig||{}},ownLoadingMoreText(){return[this.c.defaultText,this.c.loadingText,this.c.noMoreText,this.c.failText][this.finalStatus]},finalStatus(){return this.c.defaultAsLoading&&this.c.status===this.M.Default?this.M.Loading:this.c.status},finalLoadingIconType(){return this.c.loadingIconType}},methods:{doClick(){this.$emit("doClick")}}},[["render",function(e,t,n,o,a,r){const i=Jg,s=Mf,l=ny;return Br(),jr(l,{class:qe(["zp-l-container",{"zp-l-container-rpx":"rpx"===r.c.unit,"zp-l-container-px":"px"===r.c.unit}]),style:Ue([r.c.customStyle]),onClick:r.doClick},{default:Io(()=>[r.c.hideContent?Qr("",!0):(Br(),$r(Ir,{key:0},[r.c.showNoMoreLine&&r.finalStatus===a.M.NoMore?(Br(),jr(i,{key:0,class:qe({"zp-l-line-rpx":"rpx"===r.c.unit,"zp-l-line-px":"px"===r.c.unit}),style:Ue([{backgroundColor:a.zTheme.line[r.ts]},r.c.noMoreLineCustomStyle])},null,8,["class","style"])):Qr("",!0),r.finalStatus===a.M.Loading&&r.c.loadingIconCustomImage?(Br(),jr(s,{key:1,src:r.c.loadingIconCustomImage,style:Ue([r.c.iconCustomStyle]),class:qe({"zp-l-line-loading-custom-image":!0,"zp-l-line-loading-custom-image-animated":r.c.loadingAnimated,"zp-l-line-loading-custom-image-rpx":"rpx"===r.c.unit,"zp-l-line-loading-custom-image-px":"px"===r.c.unit})},null,8,["src","style","class"])):Qr("",!0),r.finalStatus!==a.M.Loading||"flower"!==r.finalLoadingIconType||r.c.loadingIconCustomImage.length?Qr("",!0):(Br(),jr(s,{key:2,class:qe({"zp-line-loading-image":!0,"zp-line-loading-image-rpx":"rpx"===r.c.unit,"zp-line-loading-image-px":"px"===r.c.unit}),style:Ue([r.c.iconCustomStyle]),src:a.zTheme.flower[r.ts]},null,8,["class","style","src"])),r.finalStatus!==a.M.Loading||"circle"!==r.finalLoadingIconType||r.c.loadingIconCustomImage.length?Qr("",!0):(Br(),jr(i,{key:3,class:qe(["zp-l-circle-loading-view",{"zp-l-circle-loading-view-rpx":"rpx"===r.c.unit,"zp-l-circle-loading-view-px":"px"===r.c.unit}]),style:Ue([{borderColor:a.zTheme.circleBorder[r.ts],borderTopColor:a.zTheme.circleBorderTop[r.ts]},r.c.iconCustomStyle])},null,8,["class","style"])),!r.c.isChat||!r.c.chatDefaultAsLoading&&r.finalStatus===a.M.Default||r.finalStatus===a.M.Fail?(Br(),jr(i,{key:4,class:qe({"zp-l-text-rpx":"rpx"===r.c.unit,"zp-l-text-px":"px"===r.c.unit}),style:Ue([{color:a.zTheme.title[r.ts]},r.c.titleCustomStyle])},{default:Io(()=>[Gr(G(r.ownLoadingMoreText),1)]),_:1},8,["class","style"])):Qr("",!0),r.c.showNoMoreLine&&r.finalStatus===a.M.NoMore?(Br(),jr(i,{key:5,class:qe({"zp-l-line-rpx":"rpx"===r.c.unit,"zp-l-line-px":"px"===r.c.unit}),style:Ue([{backgroundColor:a.zTheme.line[r.ts]},r.c.noMoreLineCustomStyle])},null,8,["class","style"])):Qr("",!0)],64))]),_:1},8,["class","style","onClick"])}],["__scopeId","data-v-9d08e2f6"]]);const gI=MM({name:"z-paging-empty-view",data:()=>({}),props:{emptyViewText:{type:String,default:"没有数据哦~"},emptyViewImg:{type:String,default:""},showEmptyViewReload:{type:Boolean,default:!1},emptyViewReloadText:{type:String,default:"重新加载"},isLoadFailed:{type:Boolean,default:!1},emptyViewStyle:{type:Object,default:function(){return{}}},emptyViewImgStyle:{type:Object,default:function(){return{}}},emptyViewTitleStyle:{type:Object,default:function(){return{}}},emptyViewReloadStyle:{type:Object,default:function(){return{}}},emptyViewZIndex:{type:Number,default:9},emptyViewFixed:{type:Boolean,default:!0},unit:{type:String,default:"rpx"}},computed:{emptyImg(){return this.isLoadFailed?ZA:YA},finalEmptyViewStyle(){return this.emptyViewStyle["z-index"]=this.emptyViewZIndex,this.emptyViewStyle}},methods:{reloadClick(){this.$emit("reload")},emptyViewClick(){this.$emit("viewClick")}}},[["render",function(e,t,n,o,a,r){const i=Mf,s=Jg,l=ny;return Br(),jr(l,{class:qe({"zp-container":!0,"zp-container-fixed":n.emptyViewFixed}),style:Ue([r.finalEmptyViewStyle]),onClick:r.emptyViewClick},{default:Io(()=>[Yr(l,{class:"zp-main"},{default:Io(()=>[n.emptyViewImg.length?(Br(),jr(i,{key:1,class:qe({"zp-main-image-rpx":"rpx"===n.unit,"zp-main-image-px":"px"===n.unit}),mode:"aspectFit",style:Ue([n.emptyViewImgStyle]),src:n.emptyViewImg},null,8,["class","style","src"])):(Br(),jr(i,{key:0,class:qe({"zp-main-image-rpx":"rpx"===n.unit,"zp-main-image-px":"px"===n.unit}),style:Ue([n.emptyViewImgStyle]),src:r.emptyImg},null,8,["class","style","src"])),Yr(s,{class:qe(["zp-main-title",{"zp-main-title-rpx":"rpx"===n.unit,"zp-main-title-px":"px"===n.unit}]),style:Ue([n.emptyViewTitleStyle])},{default:Io(()=>[Gr(G(n.emptyViewText),1)]),_:1},8,["class","style"]),n.showEmptyViewReload?(Br(),jr(s,{key:2,class:qe({"zp-main-error-btn":!0,"zp-main-error-btn-rpx":"rpx"===n.unit,"zp-main-error-btn-px":"px"===n.unit}),style:Ue([n.emptyViewReloadStyle]),onClick:ms(r.reloadClick,["stop"])},{default:Io(()=>[Gr(G(n.emptyViewReloadText),1)]),_:1},8,["class","style","onClick"])):Qr("",!0)]),_:1})]),_:1},8,["class","style","onClick"])}],["__scopeId","data-v-aa7f03b0"]]),yI={data:()=>({systemInfo:null,cssSafeAreaInsetBottom:-1,isReadyDestroy:!1}),computed:{windowTop(){if(!this.systemInfo)return 0;return document.getElementsByTagName("uni-page-head").length&&this.systemInfo.windowTop||0},safeAreaBottom(){if(!this.systemInfo)return 0;let e=0;return e=Math.max(this.cssSafeAreaInsetBottom,0),e},isOldWebView(){try{const e=ov().system.split(" "),t=e[0],n=parseInt(e[1]);if("iOS"===t&&n<=10||"Android"===t&&n<=6)return!0}catch(VR){return!1}return!1},zSlots(){return this.$slots}},beforeDestroy(){this.isReadyDestroy=!0},unmounted(){this.isReadyDestroy=!0},methods:{updateFixedLayout(){this.fixed&&this.$nextTick(()=>{this.systemInfo=ov()})},_getNodeClientRect(e,t=!0,n=!1){if(this.isReadyDestroy)return Promise.resolve(!1);let o=t?Xh().in(!0===t?this:t):Xh();return n?o.select(e).scrollOffset():o.select(e).boundingClientRect(),new Promise((e,t)=>{o.exec(t=>{e(!(!t||""==t||null==t||!t.length)&&t)})})},_updateLeftAndRightWidth(e,t){this.$nextTick(()=>{setTimeout(()=>{["left","right"].map(n=>{this._getNodeClientRect(`.${t}-${n}`).then(t=>{this.$set(e,n,t?t[0].width+"px":"0px")})})},0)})},_getCssSafeAreaInsetBottom(e){this._getNodeClientRect(".zp-safe-area-inset-bottom").then(t=>{this.cssSafeAreaInsetBottom=t?t[0].height:-1,t&&e&&e()})}}};function vI(){return Iy()}const bI={handleQuery:function(e){try{setTimeout(function(){vI().globalData.zp_handleQueryCallback=e},1)}catch(VR){}},_handleQuery:function(e,t,n,o){const a=vI().globalData.zp_handleQueryCallback;return a?a(e,t,n,o):[e,t,n]},handleLanguage2Local:function(e){try{setTimeout(function(){vI().globalData.zp_handleLanguage2LocalCallback=e},1)}catch(VR){}},_handleLanguage2Local:function(e,t){const n=vI().globalData.zp_handleLanguage2LocalCallback;return n?n(e,t):t}},_I={props:{defaultPageNo:{type:[Number,String],default:uI.gc("defaultPageNo",1),observer:function(e){this.pageNo=e}},defaultPageSize:{type:[Number,String],default:uI.gc("defaultPageSize",10),validator:e=>(e<=0&&uI.consoleErr("default-page-size必须大于0!"),e>0)},dataKey:{type:[Number,String,Object],default:uI.gc("dataKey",null)},useCache:{type:Boolean,default:uI.gc("useCache",!1)},cacheKey:{type:String,default:uI.gc("cacheKey",null)},cacheMode:{type:String,default:uI.gc("cacheMode",hI.CacheMode.Default)},autowireListName:{type:String,default:uI.gc("autowireListName","")},autowireQueryName:{type:String,default:uI.gc("autowireQueryName","")},auto:{type:Boolean,default:uI.gc("auto",!0)},reloadWhenRefresh:{type:Boolean,default:uI.gc("reloadWhenRefresh",!0)},autoScrollToTopWhenReload:{type:Boolean,default:uI.gc("autoScrollToTopWhenReload",!0)},autoCleanListWhenReload:{type:Boolean,default:uI.gc("autoCleanListWhenReload",!0)},showRefresherWhenReload:{type:Boolean,default:uI.gc("showRefresherWhenReload",!1)},showLoadingMoreWhenReload:{type:Boolean,default:uI.gc("showLoadingMoreWhenReload",!1)},createdReload:{type:Boolean,default:uI.gc("createdReload",!1)},localPagingLoadingTime:{type:[Number,String],default:uI.gc("localPagingLoadingTime",200)},concat:{type:Boolean,default:uI.gc("concat",!0)},callNetworkReject:{type:Boolean,default:uI.gc("callNetworkReject",!0)},value:{type:Array,default:function(){return[]}},modelValue:{type:Array,default:function(){return[]}}},data:()=>({currentData:[],totalData:[],realTotalData:[],totalLocalPagingList:[],dataPromiseResultMap:{reload:null,complete:null,localPaging:null},isSettingCacheList:!1,pageNo:1,currentRefreshPageSize:0,isLocalPaging:!1,isAddedData:!1,isTotalChangeFromAddData:!1,privateConcat:!0,myParentQuery:-1,firstPageLoaded:!1,pagingLoaded:!1,loaded:!1,isUserReload:!0,fromEmptyViewReload:!1,queryFrom:"",listRendering:!1,isHandlingRefreshToPage:!1,isFirstPageAndNoMore:!1,totalDataChangeThrow:!0}),computed:{pageSize(){return this.defaultPageSize},finalConcat(){return this.concat&&this.privateConcat},finalUseCache(){return this.useCache&&!this.cacheKey&&uI.consoleErr("use-cache为true时,必须设置cache-key,否则缓存无效!"),this.useCache&&!!this.cacheKey},finalCacheKey(){return this.cacheKey?`${eI}-${this.cacheKey}`:null},isFirstPage(){return this.pageNo===this.defaultPageNo}},watch:{totalData(e,t){this._totalDataChange(e,t,this.totalDataChangeThrow),this.totalDataChangeThrow=!0},currentData(e,t){this._currentDataChange(e,t)},useChatRecordMode(e,t){e&&(this.nLoadingMoreFixedHeight=!1)},value:{handler(e){e!==this.totalData&&(this.totalDataChangeThrow=!1,this.totalData=e)},immediate:!0},modelValue:{handler(e){e!==this.totalData&&(this.totalDataChangeThrow=!1,this.totalData=e)},immediate:!0}},methods:{complete(e,t=!0){return this.customNoMore=-1,this.addData(e,t)},completeByKey(e,t=null,n=!0){return null!==t&&null!==this.dataKey&&t!==this.dataKey?(this.isFirstPage&&this.endRefresh(),new Promise(e=>e())):(this.customNoMore=-1,this.addData(e,n))},completeByTotal(e,t,n=!0){if("undefined"==t)this.customNoMore=-1;else{const o=this._checkDataType(e,n,!1);if(e=o.data,n=o.success,t>=0&&n)return new Promise((o,a)=>{this.$nextTick(()=>{let r=!1;let i=(this.pageNo==this.defaultPageNo?0:this.realTotalData.length)+(this.privateConcat?e.length:0)-t;i>=0&&(r=!0,i=this.defaultPageSize-i,this.privateConcat&&i>0&&io(e)).catch(()=>a())})})}return this.addData(e,n)},completeByNoMore(e,t,n=!0){return"undefined"!=t&&(this.customNoMore=1==t?1:0),this.addData(e,n)},completeByError(e){return this.customerEmptyViewErrorText=e,this.complete(!1)},addData(e,t=!0){this.fromCompleteEmit||(this.disabledCompleteEmit=!0,this.fromCompleteEmit=!1);const n=uI.getTime()-this.requestTimeStamp;let o=this.minDelay;this.isFirstPage&&this.finalShowRefresherWhenReload&&(o=Math.max(400,o));const a=this.requestTimeStamp>0&&n{uI.delay(()=>{this._addData(e,t,!1)},this.delay>0?this.delay:a)}),new Promise((e,t)=>{this.dataPromiseResultMap.complete={resolve:e,reject:t}})},addDataFromTop(e,t=!0,n=!0){let o=!this.isChatRecordModeAndNotInversion;e="[object Array]"!==Object.prototype.toString.call(e)?[e]:o?e.reverse():e,this.finalUseVirtualList&&this._setCellIndex(e,"top"),this.totalData=o?[...e,...this.totalData]:[...this.totalData,...e],t&&uI.delay(()=>this.useChatRecordMode?this.scrollToBottom(n):this.scrollToTop(n))},resetTotalData(e){this.isTotalChangeFromAddData=!0,e="[object Array]"!==Object.prototype.toString.call(e)?[e]:e,this.totalData=e},setLocalPaging(e,t=!0){return this.isLocalPaging=!0,this.$nextTick(()=>{this._addData(e,t,!0)}),new Promise((e,t)=>{this.dataPromiseResultMap.localPaging={resolve:e,reject:t}})},reload(e=this.showRefresherWhenReload){return e&&(this.privateShowRefresherWhenReload=e,this.isUserPullDown=!0),this.showLoadingMoreWhenReload||(this.listRendering=!0),this.$nextTick(()=>{this._preReload(e,!1)}),new Promise((e,t)=>{this.dataPromiseResultMap.reload={resolve:e,reject:t}})},refresh(){return this._handleRefreshWithDisPageNo(this.pageNo-this.defaultPageNo+1)},refreshToPage(e){return this.isHandlingRefreshToPage=!0,this._handleRefreshWithDisPageNo(e+this.defaultPageNo-1)},updateCache(){this.finalUseCache&&this.totalData.length&&this._saveLocalCache(this.totalData.slice(0,Math.min(this.totalData.length,this.pageSize)))},clean(){this._reload(!0),this._addData([],!0,!1)},clear(){this.clean()},_preReload(e=this.showRefresherWhenReload,t=!0,n=0){const o=this.finalRefresherEnabled&&this.useCustomRefresher;-1===this.customRefresherHeight&&o?uI.delay(()=>{++n%10==0&&this._updateCustomRefresherHeight(),this._preReload(e,t,n)},JA/2):(this.isUserReload=!0,this.loadingType=hI.LoadingType.Refresher,e?(this.privateShowRefresherWhenReload=e,this.useCustomRefresher?this._doRefresherRefreshAnimate():this.refresherTriggered=!0):this._refresherEnd(!1,!1,!1,!1),this._reload(!1,t))},_reload(e=!1,t=!1,n=!1){if(this.isAddedData=!1,this.insideOfPaging=-1,this.cacheScrollNodeHeight=-1,this.pageNo=this.defaultPageNo,this._cleanRefresherEndTimeout(),!this.privateShowRefresherWhenReload&&!e&&this._startLoading(!0),this.firstPageLoaded=!0,this.isTotalChangeFromAddData=!1,this.isSettingCacheList||(this.totalData=[]),!e){this._emitQuery(this.pageNo,this.defaultPageSize,n?hI.QueryFrom.UserPullDown:hI.QueryFrom.Reload);let e=0;uI.delay(this._callMyParentQuery,e),!t&&this.autoScrollToTopWhenReload&&this._scrollToTop(!1)}},_addData(e,t,n){this.isAddedData=!0,this.fromEmptyViewReload=!1,this.isTotalChangeFromAddData=!0,this.refresherTriggered=!1,this._endSystemLoadingAndRefresh();const o=this.isUserPullDown;this.showRefresherUpdateTime&&this.isFirstPage&&(uI.setRefesrherTime(uI.getTime(),this.refresherUpdateTimeKey),this.$refs.refresh&&this.$refs.refresh.updateTime()),!n&&o&&this.isFirstPage&&(this.isUserPullDown=!1),this.isFirstPage?this.listRendering=!1:(this.listRendering=!0,this.$nextTick(()=>{uI.delay(()=>this.listRendering=!1)}));let a=this._checkDataType(e,t,n);e=a.data,t=a.success;let r=JA;if(this.useChatRecordMode&&(r=0),this.loadingForNow=!1,uI.delay(()=>{this.pagingLoaded=!0,this.$nextTick(()=>{!n&&this._refresherEnd(r>0,!0,o)})}),this.isFirstPage&&(this.isLoadFailed=!t,this.$emit("isLoadFailedChange",this.isLoadFailed),this.finalUseCache&&t&&(this.cacheMode===hI.CacheMode.Always||this.isSettingCacheList)&&this._saveLocalCache(e)),this.isSettingCacheList=!1,t){if((!1!==this.privateConcat||this.isHandlingRefreshToPage||this.loadingStatus!==hI.More.NoMore)&&(this.loadingStatus=hI.More.Default),n){this.totalLocalPagingList=e;const t=this.defaultPageNo,n=this.queryFrom!==hI.QueryFrom.Refresh?this.defaultPageSize:this.currentRefreshPageSize;this._localPagingQueryList(t,n,0,e=>{this.completeByTotal(e,this.totalLocalPagingList.length)})}else{let t=0;uI.delay(()=>{this._currentDataChange(e,this.currentData),this._callDataPromise(!0,this.totalData)},t)}this.isHandlingRefreshToPage&&(this.isHandlingRefreshToPage=!1,this.pageNo=this.defaultPageNo+Math.ceil(e.length/this.pageSize)-1,e.length%this.pageSize!==0&&(this.customNoMore=1))}else this._currentDataChange(e,this.currentData),this._callDataPromise(!1),this.loadingStatus=hI.More.Fail,this.isHandlingRefreshToPage=!1,this.loadingType===hI.LoadingType.LoadingMore&&this.pageNo--},_totalDataChange(e,t,n=!0){(this.isUserReload&&this.autoCleanListWhenReload||!this.firstPageLoaded||e.length||!t.length)&&(this._doCheckScrollViewShouldFullHeight(e),this.realTotalData.length||e.length||(n=!1),this.realTotalData=e,n&&(this.$emit("input",e),this.$emit("update:modelValue",e),this.$emit("update:list",e),this.$emit("listChange",e),this._callMyParentList(e)),this.firstPageLoaded=!1,this.isTotalChangeFromAddData=!1,this.$nextTick(()=>{uI.delay(()=>{this._getNodeClientRect(".zp-paging-container-content").then(e=>{e&&this.$emit("contentHeightChanged",e[0].height)})},JA*(this.isIos?1:3))}))},_currentDataChange(e,t){e=[...e],this.finalUseVirtualList&&this._setCellIndex(e,"bottom"),this.isFirstPage&&this.finalConcat&&(this.totalData=[]),-1!==this.customNoMore?(1===this.customNoMore||0!==this.customNoMore&&!e.length)&&(this.loadingStatus=hI.More.NoMore):(!e.length||e.length&&e.length=1){this.loading=!0,this.privateConcat=!1;const t=e*this.pageSize;this.currentRefreshPageSize=t,this.isLocalPaging&&this.isHandlingRefreshToPage?this._localPagingQueryList(this.defaultPageNo,t,0,e=>{this.complete(e)}):(this._emitQuery(this.defaultPageNo,t,hI.QueryFrom.Refresh),this._callMyParentQuery(this.defaultPageNo,t))}return new Promise((e,t)=>{this.dataPromiseResultMap.reload={resolve:e,reject:t}})},_localPagingQueryList(e,t,n,o){e=Math.max(1,e),t=Math.max(1,t);const a=[...this.totalLocalPagingList],r=(e-1)*t,i=Math.min(a.length,r+t),s=a.splice(r,i-r);uI.delay(()=>o(s),n)},_saveLocalCache(e){lv(this.finalCacheKey,e)},_setListByLocalCache(){this.totalData=uv(this.finalCacheKey)||[],this.isSettingCacheList=!0},_callMyParentList(e){if(this.autowireListName.length){const t=uI.getParent(this.$parent);t&&t[this.autowireListName]&&(t[this.autowireListName]=e)}},_callMyParentQuery(e=0,t=0){if(this.autowireQueryName){if(-1===this.myParentQuery){const e=uI.getParent(this.$parent);e&&e[this.autowireQueryName]&&(this.myParentQuery=e[this.autowireQueryName])}-1!==this.myParentQuery&&(t>0?this.myParentQuery(e,t):this.myParentQuery(this.pageNo,this.defaultPageSize))}},_emitQuery(e,t,n){this.queryFrom=n,this.requestTimeStamp=uI.getTime();const[o]=this.realTotalData.slice(-1);this.$emit("query",...bI._handleQuery(e,t,n,o||null))},_callDataPromise(e,t){for(const n in this.dataPromiseResultMap){const o=this.dataPromiseResultMap[n];o&&(e?o.resolve({totalList:t,noMore:this.loadingStatus===hI.More.NoMore}):this.callNetworkReject&&o.reject(`z-paging-${n}-error`))}},_checkDataType(e,t,n){const o=Object.prototype.toString.call(e);return"[object Boolean]"===o?(t=e,e=[]):"[object Array]"!==o&&(e=[],"[object Undefined]"!==o&&"[object Null]"!==o&&uI.consoleErr((n?"setLocalPaging":"complete")+"参数类型不正确,第一个参数类型必须为Array!")),{data:e,success:t}}}},wI={en:{"zp.refresher.default":"Pull down to refresh","zp.refresher.pulling":"Release to refresh","zp.refresher.refreshing":"Refreshing...","zp.refresher.complete":"Refresh succeeded","zp.loadingMore.default":"Click to load more","zp.loadingMore.loading":"Loading...","zp.loadingMore.noMore":"No more data","zp.loadingMore.fail":"Load failed,click to reload","zp.emptyView.title":"No data","zp.emptyView.reload":"Reload","zp.emptyView.error":"Sorry,load failed","zp.refresherUpdateTime.title":"Last update: ","zp.refresherUpdateTime.none":"None","zp.refresherUpdateTime.today":"Today","zp.refresherUpdateTime.yesterday":"Yesterday","zp.systemLoading.title":"Loading..."},"zh-Hans":{"zp.refresher.default":"继续下拉刷新","zp.refresher.pulling":"松开立即刷新","zp.refresher.refreshing":"正在刷新...","zp.refresher.complete":"刷新成功","zp.loadingMore.default":"点击加载更多","zp.loadingMore.loading":"正在加载...","zp.loadingMore.noMore":"没有更多了","zp.loadingMore.fail":"加载失败,点击重新加载","zp.emptyView.title":"没有数据哦~","zp.emptyView.reload":"重新加载","zp.emptyView.error":"很抱歉,加载失败","zp.refresherUpdateTime.title":"最后更新:","zp.refresherUpdateTime.none":"无","zp.refresherUpdateTime.today":"今天","zp.refresherUpdateTime.yesterday":"昨天","zp.systemLoading.title":"加载中..."},"zh-Hant":{"zp.refresher.default":"繼續下拉重繪","zp.refresher.pulling":"鬆開立即重繪","zp.refresher.refreshing":"正在重繪...","zp.refresher.complete":"重繪成功","zp.loadingMore.default":"點擊加載更多","zp.loadingMore.loading":"正在加載...","zp.loadingMore.noMore":"沒有更多了","zp.loadingMore.fail":"加載失敗,點擊重新加載","zp.emptyView.title":"沒有數據哦~","zp.emptyView.reload":"重新加載","zp.emptyView.error":"很抱歉,加載失敗","zp.refresherUpdateTime.title":"最後更新:","zp.refresherUpdateTime.none":"無","zp.refresherUpdateTime.today":"今天","zp.refresherUpdateTime.yesterday":"昨天","zp.systemLoading.title":"加載中..."}},{t:TI}=hc(wI),xI=ov().language,SI={data:()=>({language:xI}),computed:{finalLanguage(){try{const e=em(),t=this.language;return"auto"===e?bI._handleLanguage2Local(t,this._language2Local(t)):e}catch(VR){return"zh-Hans"}},finalRefresherDefaultText(){return this._getI18nText("zp.refresher.default",this.refresherDefaultText)},finalRefresherPullingText(){return this._getI18nText("zp.refresher.pulling",this.refresherPullingText)},finalRefresherRefreshingText(){return this._getI18nText("zp.refresher.refreshing",this.refresherRefreshingText)},finalRefresherCompleteText(){return this._getI18nText("zp.refresher.complete",this.refresherCompleteText)},finalRefresherUpdateTimeTextMap:()=>({title:TI("zp.refresherUpdateTime.title"),none:TI("zp.refresherUpdateTime.none"),today:TI("zp.refresherUpdateTime.today"),yesterday:TI("zp.refresherUpdateTime.yesterday")}),finalLoadingMoreDefaultText(){return this._getI18nText("zp.loadingMore.default",this.loadingMoreDefaultText)},finalLoadingMoreLoadingText(){return this._getI18nText("zp.loadingMore.loading",this.loadingMoreLoadingText)},finalLoadingMoreNoMoreText(){return this._getI18nText("zp.loadingMore.noMore",this.loadingMoreNoMoreText)},finalLoadingMoreFailText(){return this._getI18nText("zp.loadingMore.fail",this.loadingMoreFailText)},finalEmptyViewText(){return this.isLoadFailed?this.finalEmptyViewErrorText:this._getI18nText("zp.emptyView.title",this.emptyViewText)},finalEmptyViewReloadText(){return this._getI18nText("zp.emptyView.reload",this.emptyViewReloadText)},finalEmptyViewErrorText(){return this.customerEmptyViewErrorText||this._getI18nText("zp.emptyView.error",this.emptyViewErrorText)},finalSystemLoadingText(){return this._getI18nText("zp.systemLoading.title",this.systemLoadingText)}},methods:{getLanguage(){return this.finalLanguage},_getI18nText(e,t){const n=Object.prototype.toString.call(t);if("[object Object]"===n){const e=t[this.finalLanguage];if(e)return e}else if("[object String]"===n)return t;return TI(e)},_language2Local(e){const t=e.toLowerCase().replace(new RegExp("_",""),"-");return-1!==t.indexOf("zh")?"zh"===t||"zh-cn"===t||-1!==t.indexOf("zh-hans")?"zh-Hans":"zh-Hant":-1!==t.indexOf("en")?"en":e}}},CI={props:{},data:()=>({nRefresherLoading:!1,nListIsDragging:!1,nShowBottom:!0,nFixFreezing:!1,nShowRefresherReveal:!1,nLoadingMoreFixedHeight:!1,nShowRefresherRevealHeight:0,nOldShowRefresherRevealHeight:-1,nRefresherWidth:gh(750)}),computed:{},mounted(){},methods:{}},kI={props:{hideEmptyView:{type:Boolean,default:uI.gc("hideEmptyView",!1)},emptyViewText:{type:[String,Object],default:uI.gc("emptyViewText",null)},showEmptyViewReload:{type:Boolean,default:uI.gc("showEmptyViewReload",!1)},showEmptyViewReloadWhenError:{type:Boolean,default:uI.gc("showEmptyViewReloadWhenError",!0)},emptyViewReloadText:{type:[String,Object],default:uI.gc("emptyViewReloadText",null)},emptyViewImg:{type:String,default:uI.gc("emptyViewImg","")},emptyViewErrorText:{type:[String,Object],default:uI.gc("emptyViewErrorText",null)},emptyViewErrorImg:{type:String,default:uI.gc("emptyViewErrorImg","")},emptyViewStyle:{type:Object,default:uI.gc("emptyViewStyle",{})},emptyViewSuperStyle:{type:Object,default:uI.gc("emptyViewSuperStyle",{})},emptyViewImgStyle:{type:Object,default:uI.gc("emptyViewImgStyle",{})},emptyViewTitleStyle:{type:Object,default:uI.gc("emptyViewTitleStyle",{})},emptyViewReloadStyle:{type:Object,default:uI.gc("emptyViewReloadStyle",{})},emptyViewFixed:{type:Boolean,default:uI.gc("emptyViewFixed",!1)},emptyViewCenter:{type:Boolean,default:uI.gc("emptyViewCenter",!0)},autoHideEmptyViewWhenLoading:{type:Boolean,default:uI.gc("autoHideEmptyViewWhenLoading",!0)},autoHideEmptyViewWhenPull:{type:Boolean,default:uI.gc("autoHideEmptyViewWhenPull",!0)},emptyViewZIndex:{type:Number,default:uI.gc("emptyViewZIndex",9)}},data:()=>({customerEmptyViewErrorText:""}),computed:{finalEmptyViewImg(){return this.isLoadFailed?this.emptyViewErrorImg:this.emptyViewImg},finalShowEmptyViewReload(){return this.isLoadFailed?this.showEmptyViewReloadWhenError:this.showEmptyViewReload},showEmpty(){return!(this.refresherOnly||this.hideEmptyView||this.realTotalData.length)&&(!this.autoHideEmptyViewWhenLoading||(!(!this.isAddedData||this.firstPageLoaded||this.loading)||!this.autoHideEmptyViewWhenPull&&!this.isUserReload))}},methods:{_emptyViewReload(){let e=!1;this.$emit("emptyViewReload",t=>{void 0!==t&&!0!==t||(this.fromEmptyViewReload=!0,this.reload().catch(()=>{})),e=!0}),this.$nextTick(()=>{e||(this.fromEmptyViewReload=!0,this.reload().catch(()=>{}))})},_emptyViewClick(){this.$emit("emptyViewClick")}}},MI={props:{refresherThemeStyle:{type:String,default:uI.gc("refresherThemeStyle","")},refresherImgStyle:{type:Object,default:uI.gc("refresherImgStyle",{})},refresherTitleStyle:{type:Object,default:uI.gc("refresherTitleStyle",{})},refresherUpdateTimeStyle:{type:Object,default:uI.gc("refresherUpdateTimeStyle",{})},watchRefresherTouchmove:{type:Boolean,default:uI.gc("watchRefresherTouchmove",!1)},loadingMoreThemeStyle:{type:String,default:uI.gc("loadingMoreThemeStyle","")},refresherOnly:{type:Boolean,default:uI.gc("refresherOnly",!1)},refresherDefaultDuration:{type:[Number,String],default:uI.gc("refresherDefaultDuration",100)},refresherCompleteDelay:{type:[Number,String],default:uI.gc("refresherCompleteDelay",0)},refresherCompleteDuration:{type:[Number,String],default:uI.gc("refresherCompleteDuration",300)},refresherCompleteScrollable:{type:Boolean,default:uI.gc("refresherCompleteScrollable",!1)},useCustomRefresher:{type:Boolean,default:uI.gc("useCustomRefresher",!0)},refresherFps:{type:[Number,String],default:uI.gc("refresherFps",40)},refresherMaxAngle:{type:[Number,String],default:uI.gc("refresherMaxAngle",40)},refresherAngleEnableChangeContinued:{type:Boolean,default:uI.gc("refresherAngleEnableChangeContinued",!1)},refresherDefaultText:{type:[String,Object],default:uI.gc("refresherDefaultText",null)},refresherPullingText:{type:[String,Object],default:uI.gc("refresherPullingText",null)},refresherRefreshingText:{type:[String,Object],default:uI.gc("refresherRefreshingText",null)},refresherCompleteText:{type:[String,Object],default:uI.gc("refresherCompleteText",null)},refresherDefaultImg:{type:String,default:uI.gc("refresherDefaultImg",null)},refresherPullingImg:{type:String,default:uI.gc("refresherPullingImg",null)},refresherRefreshingImg:{type:String,default:uI.gc("refresherRefreshingImg",null)},refresherCompleteImg:{type:String,default:uI.gc("refresherCompleteImg",null)},refresherRefreshingAnimated:{type:Boolean,default:uI.gc("refresherRefreshingAnimated",!0)},refresherEndBounceEnabled:{type:Boolean,default:uI.gc("refresherEndBounceEnabled",!0)},refresherEnabled:{type:Boolean,default:uI.gc("refresherEnabled",!0)},refresherThreshold:{type:[Number,String],default:uI.gc("refresherThreshold","80rpx")},refresherDefaultStyle:{type:String,default:uI.gc("refresherDefaultStyle","black")},refresherBackground:{type:String,default:uI.gc("refresherBackground","transparent")},refresherFixedBackground:{type:String,default:uI.gc("refresherFixedBackground","transparent")},refresherFixedBacHeight:{type:[Number,String],default:uI.gc("refresherFixedBacHeight",0)},refresherOutRate:{type:Number,default:uI.gc("refresherOutRate",.65)},refresherPullRate:{type:Number,default:uI.gc("refresherPullRate",.75)},showRefresherUpdateTime:{type:Boolean,default:uI.gc("showRefresherUpdateTime",!1)},refresherUpdateTimeKey:{type:String,default:uI.gc("refresherUpdateTimeKey","default")},refresherVibrate:{type:Boolean,default:uI.gc("refresherVibrate",!1)},refresherNoTransform:{type:Boolean,default:uI.gc("refresherNoTransform",!1)},useRefresherStatusBarPlaceholder:{type:Boolean,default:uI.gc("useRefresherStatusBarPlaceholder",!1)}},data:()=>({R:hI.Refresher,refresherStatus:hI.Refresher.Default,refresherTouchstartY:0,lastRefresherTouchmove:null,refresherReachMaxAngle:!0,refresherTransform:"translateY(0px)",refresherTransition:"",finalRefresherDefaultStyle:"black",refresherRevealStackCount:0,refresherCompleteTimeout:null,refresherCompleteSubTimeout:null,refresherEndTimeout:null,isTouchmovingTimeout:null,refresherTriggered:!1,isTouchmoving:!1,isTouchEnded:!1,isUserPullDown:!1,privateRefresherEnabled:-1,privateShowRefresherWhenReload:!1,customRefresherHeight:-1,showCustomRefresher:!1,doRefreshAnimateAfter:!1,isRefresherInComplete:!1,pullDownTimeStamp:0,moveDis:0,oldMoveDis:0,currentDis:0,oldCurrentMoveDis:0,oldRefresherTouchmoveY:0,oldTouchDirection:"",oldEmitedTouchDirection:"",oldPullingDistance:-1,refresherThresholdUpdateTag:0}),watch:{refresherDefaultStyle:{handler(e){e.length&&(this.finalRefresherDefaultStyle=e)},immediate:!0},refresherStatus(e){e===hI.Refresher.Loading&&this._cleanRefresherEndTimeout(),this.refresherVibrate&&e===hI.Refresher.ReleaseToRefresh&&this._doVibrateShort(),this.$emit("refresherStatusChange",e),this.$emit("update:refresherStatus",e)},refresherEnabled(e){!e&&this.endRefresh()}},computed:{pullDownDisTimeStamp(){return 1e3/this.refresherFps},refresherThresholdUnitConverted(){return uI.addUnit(this.refresherThreshold,this.unit)},finalRefresherEnabled(){return!this.useChatRecordMode&&(-1===this.privateRefresherEnabled?this.refresherEnabled:1===this.privateRefresherEnabled)},finalRefresherThreshold(){let e=this.refresherThresholdUnitConverted,t=!1;return e===uI.addUnit(80,this.unit)&&(t=!0,this.showRefresherUpdateTime&&(e=uI.addUnit(120,this.unit))),t&&this.customRefresherHeight>0?this.customRefresherHeight+this.finalRefresherThresholdPlaceholder:uI.convertToPx(e)+this.finalRefresherThresholdPlaceholder},finalRefresherThresholdPlaceholder(){return this.useRefresherStatusBarPlaceholder?this.statusBarHeight:0},finalRefresherFixedBacHeight(){return uI.convertToPx(this.refresherFixedBacHeight)},finalRefresherThemeStyle(){return this.refresherThemeStyle.length?this.refresherThemeStyle:this.defaultThemeStyle},finalRefresherOutRate(){let e=this.refresherOutRate;return e=Math.max(0,e),e=Math.min(1,e),e},finalRefresherPullRate(){let e=this.refresherPullRate;return e=Math.max(0,e),e},finalRefresherTransform(){return this.refresherNoTransform||"translateY(0px)"===this.refresherTransform?"none":this.refresherTransform},finalShowRefresherWhenReload(){return this.showRefresherWhenReload||this.privateShowRefresherWhenReload},finalRefresherTriggered(){return!(!this.finalRefresherEnabled||this.useCustomRefresher)&&this.refresherTriggered},showRefresher(){const e=this.finalRefresherEnabled&&this.useCustomRefresher;return this.active&&-1===this.customRefresherHeight&&e&&this.updateCustomRefresherHeight(),e},hasTouchmove(){return this.watchRefresherTouchmove}},methods:{endRefresh(){this.totalData=this.realTotalData,this._refresherEnd(),this._endSystemLoadingAndRefresh(),this._handleScrollViewBounce({bounce:!0}),this.$nextTick(()=>{this.refresherTriggered=!1})},updateCustomRefresherHeight(){uI.delay(()=>this.$nextTick(this._updateCustomRefresherHeight))},_onRefresh(e=!1,t=!0){(!e||this.finalRefresherEnabled&&!this.useCustomRefresher)&&(this.$emit("onRefresh"),this.$emit("Refresh"),this.loading||this.isRefresherInComplete||(this.loadingType=hI.LoadingType.Refresher,this.nShowRefresherReveal||(this.isUserPullDown=t,this.isUserReload=!t,this._startLoading(!0),this.refresherTriggered=!0,this.reloadWhenRefresh&&t&&(this.useChatRecordMode?this._onLoadingMore("click"):this._reload(!1,!1,t)))))},_onRestore(){this.refresherTriggered="restore",this.$emit("onRestore"),this.$emit("Restore")},_handleRefresherTouchstart(e){!this.loading&&this.isTouchEnded&&(this.isTouchmoving=!1),this.loadingType=hI.LoadingType.Refresher,this.isTouchmovingTimeout&&clearTimeout(this.isTouchmovingTimeout),this.isTouchEnded=!1,this.refresherTransition="",this.refresherTouchstartY=e.touchY,this.$emit("refresherTouchstart",this.refresherTouchstartY),this.lastRefresherTouchmove=e,this._cleanRefresherCompleteTimeout(),this._cleanRefresherEndTimeout()},_handleRefresherTouchmove(e,t){this.refresherReachMaxAngle=!0,this.isTouchmovingTimeout&&clearTimeout(this.isTouchmovingTimeout),this.isTouchmoving=!0,this.isTouchEnded=!1,this.refresherStatus=e>=this.finalRefresherThreshold?hI.Refresher.ReleaseToRefresh:this.refresherStatus=hI.Refresher.Default,this.moveDis=e},_handleRefresherTouchend(e){this.isTouchmovingTimeout&&clearTimeout(this.isTouchmovingTimeout),this.refresherReachMaxAngle=!0,this.isTouchEnded=!0;const t=this.finalRefresherThreshold;e>=t&&this.refresherStatus===hI.Refresher.ReleaseToRefresh?(uI.delay(()=>{this._emitTouchmove({pullingDistance:t,dy:this.moveDis-t})},.1),this.moveDis=t,this.refresherStatus=hI.Refresher.Loading,this._doRefresherLoad()):(this._refresherEnd(),this.isTouchmovingTimeout=uI.delay(()=>{this.isTouchmoving=!1},this.refresherDefaultDuration)),this.scrollEnable=!0,this.$emit("refresherTouchend",e)},_handleListTouchstart(){this.useChatRecordMode&&this.autoHideKeyboardWhenChat&&(mv(),this.$emit("hidedKeyboard"))},_handleScrollViewBounce({bounce:e}){this.usePageScroll||this.scrollToTopBounceEnabled||(this.wxsScrollTop<=5?(this.refresherTransition="",this.scrollEnable=e):e&&(this.scrollEnable=e))},_handleWxsPullingDownStatusChange(e){this.wxsOnPullingDown=e,e&&!this.useChatRecordMode&&(this.renderPropScrollTop=0)},_handleWxsPullingDown({moveDis:e,diffDis:t}){this._emitTouchmove({pullingDistance:e,dy:t})},_handleTouchDirectionChange({direction:e}){this.$emit("touchDirectionChange",e)},_handlePropUpdate(){this.wxsPropType=uI.getTime().toString()},_refresherEnd(e=!0,t=!1,n=!1,o=!0){if(this.loadingType===hI.LoadingType.Refresher){const e=t&&(n||this.showRefresherWhenReload)?this.refresherCompleteDelay:0,o=e>0?hI.Refresher.Complete:hI.Refresher.Default;if(this.finalShowRefresherWhenReload){const e=this.refresherRevealStackCount;if(this.refresherRevealStackCount--,e>1)return}this._cleanRefresherEndTimeout(),this.refresherEndTimeout=uI.delay(()=>{this.refresherStatus=o},this.refresherStatus!==hI.Refresher.Default&&o===hI.Refresher.Default?this.refresherCompleteDuration:0),e>0&&(this.isRefresherInComplete=!0),this._cleanRefresherCompleteTimeout(),this.refresherCompleteTimeout=uI.delay(()=>{let e=1;const n=this.refresherEndBounceEnabled&&t?"cubic-bezier(0.19,1.64,0.42,0.72)":"linear";t&&(e=this.refresherEndBounceEnabled?this.refresherCompleteDuration/1e3:this.refresherCompleteDuration/3e3),this.refresherTransition=`transform ${t?e:this.refresherDefaultDuration/1e3}s ${n}`,this.wxsPropType=this.refresherTransition+"end"+uI.getTime(),this.moveDis=0,o===hI.Refresher.Complete&&(this.refresherCompleteSubTimeout&&(clearTimeout(this.refresherCompleteSubTimeout),this.refresherCompleteSubTimeout=null),this.refresherCompleteSubTimeout=uI.delay(()=>{this.$nextTick(()=>{this.refresherStatus=hI.Refresher.Default,this.isRefresherInComplete=!1})},800*e)),this._emitTouchmove({pullingDistance:0,dy:this.moveDis})},e)}o&&(uI.delay(()=>this.loading=!1,e?JA:0),n&&this._onRestore())},_doRefresherRefreshAnimate(){this._cleanRefresherCompleteTimeout();!this.doRefreshAnimateAfter&&this.finalShowRefresherWhenReload&&-1===this.customRefresherHeight&&this.refresherThreshold===uI.addUnit(80,this.unit)?this.doRefreshAnimateAfter=!0:(this.refresherRevealStackCount++,this.wxsPropType="begin"+uI.getTime(),this.moveDis=this.finalRefresherThreshold,this.refresherStatus=hI.Refresher.Loading,this.isTouchmoving=!0,this.isTouchmovingTimeout&&clearTimeout(this.isTouchmovingTimeout),this._doRefresherLoad(!1))},_doRefresherLoad(e=!0){this._onRefresh(!1,e),this.loading=!0},_updateCustomRefresherHeight(){this._getNodeClientRect(".zp-custom-refresher-slot-view").then(e=>{this.customRefresherHeight=e?e[0].height:0,this.showCustomRefresher=this.customRefresherHeight>0,this.doRefreshAnimateAfter&&(this.doRefreshAnimateAfter=!1,this._doRefresherRefreshAnimate())})},_emitTouchmove(e){e.viewHeight=this.finalRefresherThreshold,e.rate=e.viewHeight>0?e.pullingDistance/e.viewHeight:0,this.hasTouchmove&&this.oldPullingDistance!==e.pullingDistance&&this.$emit("refresherTouchmove",e),this.oldPullingDistance=e.pullingDistance},_cleanRefresherCompleteTimeout(){this.refresherCompleteTimeout=this._cleanTimeout(this.refresherCompleteTimeout)},_cleanRefresherEndTimeout(){this.refresherEndTimeout=this._cleanTimeout(this.refresherEndTimeout)}}},AI={props:{loadingMoreCustomStyle:{type:Object,default:uI.gc("loadingMoreCustomStyle",{})},loadingMoreTitleCustomStyle:{type:Object,default:uI.gc("loadingMoreTitleCustomStyle",{})},loadingMoreLoadingIconCustomStyle:{type:Object,default:uI.gc("loadingMoreLoadingIconCustomStyle",{})},loadingMoreLoadingIconType:{type:String,default:uI.gc("loadingMoreLoadingIconType","flower")},loadingMoreLoadingIconCustomImage:{type:String,default:uI.gc("loadingMoreLoadingIconCustomImage","")},loadingMoreLoadingAnimated:{type:Boolean,default:uI.gc("loadingMoreLoadingAnimated",!0)},loadingMoreEnabled:{type:Boolean,default:uI.gc("loadingMoreEnabled",!0)},toBottomLoadingMoreEnabled:{type:Boolean,default:uI.gc("toBottomLoadingMoreEnabled",!0)},loadingMoreDefaultAsLoading:{type:Boolean,default:uI.gc("loadingMoreDefaultAsLoading",!1)},loadingMoreDefaultText:{type:[String,Object],default:uI.gc("loadingMoreDefaultText",null)},loadingMoreLoadingText:{type:[String,Object],default:uI.gc("loadingMoreLoadingText",null)},loadingMoreNoMoreText:{type:[String,Object],default:uI.gc("loadingMoreNoMoreText",null)},loadingMoreFailText:{type:[String,Object],default:uI.gc("loadingMoreFailText",null)},hideNoMoreInside:{type:Boolean,default:uI.gc("hideNoMoreInside",!1)},hideNoMoreByLimit:{type:Number,default:uI.gc("hideNoMoreByLimit",0)},showDefaultLoadingMoreText:{type:Boolean,default:uI.gc("showDefaultLoadingMoreText",!0)},showLoadingMoreNoMoreView:{type:Boolean,default:uI.gc("showLoadingMoreNoMoreView",!0)},showLoadingMoreNoMoreLine:{type:Boolean,default:uI.gc("showLoadingMoreNoMoreLine",!0)},loadingMoreNoMoreLineCustomStyle:{type:Object,default:uI.gc("loadingMoreNoMoreLineCustomStyle",{})},insideMore:{type:Boolean,default:uI.gc("insideMore",!1)},lowerThreshold:{type:[Number,String],default:uI.gc("lowerThreshold","100rpx")}},data:()=>({M:hI.More,loadingStatus:hI.More.Default,loadingStatusAfterRender:hI.More.Default,loadingMoreTimeStamp:0,loadingMoreDefaultSlot:null,showLoadingMore:!1,customNoMore:-1}),computed:{zLoadMoreConfig(){return{status:this.loadingStatusAfterRender,defaultAsLoading:this.loadingMoreDefaultAsLoading||this.useChatRecordMode&&this.chatLoadingMoreDefaultAsLoading,defaultThemeStyle:this.finalLoadingMoreThemeStyle,customStyle:this.loadingMoreCustomStyle,titleCustomStyle:this.loadingMoreTitleCustomStyle,iconCustomStyle:this.loadingMoreLoadingIconCustomStyle,loadingIconType:this.loadingMoreLoadingIconType,loadingIconCustomImage:this.loadingMoreLoadingIconCustomImage,loadingAnimated:this.loadingMoreLoadingAnimated,showNoMoreLine:this.showLoadingMoreNoMoreLine,noMoreLineCustomStyle:this.loadingMoreNoMoreLineCustomStyle,defaultText:this.finalLoadingMoreDefaultText,loadingText:this.finalLoadingMoreLoadingText,noMoreText:this.finalLoadingMoreNoMoreText,failText:this.finalLoadingMoreFailText,hideContent:!this.loadingMoreDefaultAsLoading&&this.listRendering,unit:this.unit,isChat:this.useChatRecordMode,chatDefaultAsLoading:this.chatLoadingMoreDefaultAsLoading}},finalLoadingMoreThemeStyle(){return this.loadingMoreThemeStyle.length?this.loadingMoreThemeStyle:this.defaultThemeStyle},finalLowerThreshold(){return uI.convertToPx(this.lowerThreshold)},showLoadingMoreDefault(){return this._showLoadingMore("Default")},showLoadingMoreLoading(){return this._showLoadingMore("Loading")},showLoadingMoreNoMore(){return this._showLoadingMore("NoMore")},showLoadingMoreFail(){return this._showLoadingMore("Fail")},showLoadingMoreCustom(){return this._showLoadingMore("Custom")}},methods:{pageReachBottom(){!this.useChatRecordMode&&this._onLoadingMore("toBottom")},doLoadMore(e){this._onLoadingMore(e)},_checkScrolledToBottom(e,t=!1){-1===this.cacheScrollNodeHeight?this._getNodeClientRect(".zp-scroll-view").then(t=>{if(t){const n=t[0].height;this.cacheScrollNodeHeight=n,e-n<=this.finalLowerThreshold&&this._onLoadingMore("toBottom")}}):(e-this.cacheScrollNodeHeight<=this.finalLowerThreshold?this._onLoadingMore("toBottom"):e-this.cacheScrollNodeHeight<=500&&!t&&uI.delay(()=>{this._getNodeClientRect(".zp-scroll-view",!0,!0).then(e=>{if(e){this.oldScrollTop=e[0].scrollTop;const t=e[0].scrollHeight-this.oldScrollTop;this._checkScrolledToBottom(t,!0)}})},150,"checkScrolledToBottomDelay"),this.oldScrollTop<=150&&0!==this.oldScrollTop&&uI.delay(()=>{0!==this.oldScrollTop&&this._getNodeClientRect(".zp-scroll-view",!0,!0).then(e=>{e&&0===e[0].scrollTop&&0!==this.oldScrollTop&&this._onScrollToUpper()})},150,"checkScrolledToTopDelay"))},_onLoadingMore(e="click"){this.isIos&&"toBottom"===e&&!this.scrollToBottomBounceEnabled&&this.scrollEnable&&(this.scrollEnable=!1,this.$nextTick(()=>{this.scrollEnable=!0})),this.$emit("scrolltolower",e),this.refresherOnly||!this.loadingMoreEnabled||this.loadingStatus!==hI.More.Default&&this.loadingStatus!==hI.More.Fail||this.loading||this.showEmpty||this._doLoadingMore()},_doLoadingMore(){this.pageNo>=this.defaultPageNo&&this.loadingStatus!==hI.More.NoMore&&(this.pageNo++,this._startLoading(!1),this.isLocalPaging?this._localPagingQueryList(this.pageNo,this.defaultPageSize,this.localPagingLoadingTime,e=>{this.completeByTotal(e,this.totalLocalPagingList.length)}):(this._emitQuery(this.pageNo,this.defaultPageSize,hI.QueryFrom.LoadingMore),this._callMyParentQuery()),this.loadingType=hI.LoadingType.LoadingMore)},_preCheckShowNoMoreInside(e,t,n){this.loadingStatus===hI.More.NoMore&&this.hideNoMoreByLimit>0&&e.length?this.showLoadingMore=e.length>this.hideNoMoreByLimit:this.loadingStatus===hI.More.NoMore&&this.hideNoMoreInside&&e.length||this.insideMore&&!1!==this.insideOfPaging&&e.length?(this.$nextTick(()=>{this._checkShowNoMoreInside(e,t,n)}),this.insideMore&&!1!==this.insideOfPaging&&e.length&&(this.showLoadingMore=e.length)):this.showLoadingMore=e.length},async _checkShowNoMoreInside(e,t,n){try{const e=t||await this._getNodeClientRect(".zp-scroll-view");if(this.usePageScroll){if(e){const t=e[0].top+e[0].height;this.insideOfPaging=t({loading:!1,loadingForNow:!1}),watch:{loadingStatus(e){this.$emit("loadingStatusChange",e),this.$nextTick(()=>{this.loadingStatusAfterRender=e}),!this.useChatRecordMode||!this.isFirstPage||e!==hI.More.NoMore&&e!==hI.More.Fail?this.isFirstPageAndNoMore=!1:this.isFirstPageAndNoMore=!0},loading(e){e&&(this.loadingForNow=e)}},computed:{showLoading(){return!(this.firstPageLoaded||!this.loading||!this.loadingForNow)&&(this.finalShowSystemLoading&&fb({title:this.finalSystemLoadingText,mask:this.systemLoadingMask}),this.autoHideLoadingAfterFirstLoaded?!!this.fromEmptyViewReload||!this.pagingLoaded:this.loadingType===hI.LoadingType.Refresher)},finalShowSystemLoading(){return this.autoShowSystemLoading&&this.loadingType===hI.LoadingType.Refresher}},methods:{_startLoading(e=!1){(this.showLoadingMoreWhenReload&&!this.isUserPullDown||!e)&&(this.loadingStatus=hI.More.Loading),this.loading=!0},_endSystemLoadingAndRefresh(){this.finalShowSystemLoading&&yb(),!this.useCustomRefresher&&Cb()}}},RI={props:{useChatRecordMode:{type:Boolean,default:uI.gc("useChatRecordMode",!1)},chatRecordMoreOffset:{type:[Number,String],default:uI.gc("chatRecordMoreOffset","0rpx")},autoHideKeyboardWhenChat:{type:Boolean,default:uI.gc("autoHideKeyboardWhenChat",!0)},autoAdjustPositionWhenChat:{type:Boolean,default:uI.gc("autoAdjustPositionWhenChat",!0)},chatAdjustPositionOffset:{type:[Number,String],default:uI.gc("chatAdjustPositionOffset","0rpx")},autoToBottomWhenChat:{type:Boolean,default:uI.gc("autoToBottomWhenChat",!1)},showChatLoadingWhenReload:{type:Boolean,default:uI.gc("showChatLoadingWhenReload",!1)},chatLoadingMoreDefaultAsLoading:{type:Boolean,default:uI.gc("chatLoadingMoreDefaultAsLoading",!0)}},data:()=>({keyboardHeight:0,isKeyboardHeightChanged:!1}),computed:{finalChatRecordMoreOffset(){return uI.convertToPx(this.chatRecordMoreOffset)},finalChatAdjustPositionOffset(){return uI.convertToPx(this.chatAdjustPositionOffset)},chatRecordRotateStyle(){let e;return e=this.useChatRecordMode?{transform:"scaleY(-1)"}:{},this.$emit("update:cellStyle",e),this.$emit("cellStyleChange",e),this.$nextTick(()=>{this.isFirstPage&&this.isChatRecordModeAndNotInversion&&this.$nextTick(()=>{this._scrollToBottom(!1),uI.delay(()=>{this._scrollToBottom(!1),uI.delay(()=>{this._scrollToBottom(!1)},50)},50)})}),e},isChatRecordModeHasTransform(){return this.useChatRecordMode&&this.chatRecordRotateStyle&&this.chatRecordRotateStyle.transform},isChatRecordModeAndNotInversion(){return this.isChatRecordModeHasTransform&&"scaleY(1)"===this.chatRecordRotateStyle.transform},isChatRecordModeAndInversion(){return this.isChatRecordModeHasTransform&&"scaleY(-1)"===this.chatRecordRotateStyle.transform},chatRecordModeSafeAreaBottom(){return this.safeAreaInsetBottom&&!this.keyboardHeight?this.safeAreaBottom:0}},mounted(){},methods:{addChatRecordData(e,t=!0,n=!0){this.useChatRecordMode&&(this.isTotalChangeFromAddData=!0,this.addDataFromTop(e,t,n))},doChatRecordLoadMore(){this.useChatRecordMode&&this._onLoadingMore("click")},_handleKeyboardHeightChange(e){this.$emit("keyboardHeightChange",e),this.autoAdjustPositionWhenChat&&(this.isKeyboardHeightChanged=!0,this.keyboardHeight=e.height>0?e.height+this.finalChatAdjustPositionOffset:e.height),this.autoToBottomWhenChat&&this.keyboardHeight>0&&uI.delay(()=>{this.scrollToBottom(!1),uI.delay(()=>{this.scrollToBottom(!1)})})}}},EI={props:{usePageScroll:{type:Boolean,default:uI.gc("usePageScroll",!1)},scrollable:{type:Boolean,default:uI.gc("scrollable",!0)},showScrollbar:{type:Boolean,default:uI.gc("showScrollbar",!0)},scrollX:{type:Boolean,default:uI.gc("scrollX",!1)},scrollToTopBounceEnabled:{type:Boolean,default:uI.gc("scrollToTopBounceEnabled",!1)},scrollToBottomBounceEnabled:{type:Boolean,default:uI.gc("scrollToBottomBounceEnabled",!0)},scrollWithAnimation:{type:Boolean,default:uI.gc("scrollWithAnimation",!1)},scrollIntoView:{type:String,default:uI.gc("scrollIntoView","")}},data:()=>({scrollTop:0,oldScrollTop:0,scrollViewStyle:{},scrollViewContainerStyle:{},scrollViewInStyle:{},pageScrollTop:-1,scrollEnable:!0,privateScrollWithAnimation:-1,cacheScrollNodeHeight:-1}),watch:{oldScrollTop(e){!this.usePageScroll&&this._scrollTopChange(e,!1)},pageScrollTop(e){this.usePageScroll&&this._scrollTopChange(e,!0)},usePageScroll:{handler(e){this.loaded&&this.autoHeight&&this._setAutoHeight(!e),e&&this.$nextTick(()=>{const e=this.$refs["zp-scroll-view"].$refs.main;e&&(e.style={})})},immediate:!0},finalScrollTop(e){this.renderPropScrollTop=e<6?0:10}},computed:{finalScrollWithAnimation(){if(-1!==this.privateScrollWithAnimation){const e=1===this.privateScrollWithAnimation;return this.privateScrollWithAnimation=-1,e}return this.scrollWithAnimation},finalScrollViewStyle(){return 1!=this.superContentZIndex&&(this.scrollViewStyle["z-index"]=this.superContentZIndex,this.scrollViewStyle.position="relative"),this.scrollViewStyle},finalScrollTop(){return this.usePageScroll?this.pageScrollTop:this.oldScrollTop},finalIsOldWebView(){return this.isOldWebView&&!this.usePageScroll}},methods:{scrollToTop(e,t=!0){this.useChatRecordMode&&t&&!this.isChatRecordModeAndNotInversion?this.scrollToBottom(e,!1):this.$nextTick(()=>{this._scrollToTop(e,!1)})},scrollToBottom(e,t=!0){this.useChatRecordMode&&t&&!this.isChatRecordModeAndNotInversion?this.scrollToTop(e,!1):this.$nextTick(()=>{this._scrollToBottom(e)})},scrollIntoViewById(e,t,n){this._scrollIntoView(e,t,n)},scrollIntoViewByNodeTop(e,t,n){this.scrollTop=this.oldScrollTop,this.$nextTick(()=>{this._scrollIntoViewByNodeTop(e,t,n)})},scrollToY(e,t,n){this.scrollTop=this.oldScrollTop,this.$nextTick(()=>{this._scrollToY(e,t,n)})},scrollIntoViewByIndex(e,t,n){this._scrollIntoView(e,t,n)},scrollIntoViewByView(e,t,n){this._scrollIntoView(e,t,n)},updatePageScrollTop(e){this.pageScrollTop=e},updatePageScrollTopHeight(){this._updatePageScrollTopOrBottomHeight("top")},updatePageScrollBottomHeight(){this._updatePageScrollTopOrBottomHeight("bottom")},updateLeftAndRightWidth(){this.finalIsOldWebView&&this.$nextTick(()=>this._updateLeftAndRightWidth(this.scrollViewContainerStyle,"zp-page"))},updateScrollViewScrollTop(e,t=!0){this.privateScrollWithAnimation=t?1:0,this.scrollTop=this.oldScrollTop,this.$nextTick(()=>{this.scrollTop=e,this.oldScrollTop=this.scrollTop})},_onScrollToUpper(){this.$emit("scrolltoupper"),this.$emit("scrollTopChange",0),this.$nextTick(()=>{this.oldScrollTop=0})},_onScrollToLower(e){(!e.detail||!e.detail.direction||"bottom"===e.detail.direction)&&this._onLoadingMore(this.useChatRecordMode?"click":"toBottom")},_scrollToTop(e=!0,t=!0){this.usePageScroll?this.$nextTick(()=>{Sb({scrollTop:0,duration:e?100:0})}):(this.privateScrollWithAnimation=e?1:0,this.scrollTop=this.oldScrollTop,this.$nextTick(()=>{this.scrollTop=0,this.oldScrollTop=this.scrollTop}))},async _scrollToBottom(e=!0){if(this.usePageScroll)this.$nextTick(()=>{Sb({scrollTop:Number.MAX_VALUE,duration:e?100:0})});else try{this.privateScrollWithAnimation=e?1:0;const t=await this._getNodeClientRect(".zp-paging-container"),n=await this._getNodeClientRect(".zp-scroll-view"),o=t?t[0].height:0,a=n?n[0].height:0;o>a&&(this.scrollTop=this.oldScrollTop,this.$nextTick(()=>{this.scrollTop=o-a+this.virtualPlaceholderTopHeight,this.oldScrollTop=this.scrollTop}))}catch(VR){}},_scrollIntoView(e,t=0,n=!1,o){try{this.scrollTop=this.oldScrollTop,this.$nextTick(()=>{this._getNodeClientRect("#"+e.replace("#",""),this.$parent).then(e=>{if(e){let a=e[0].top;this._scrollIntoViewByNodeTop(a,t,n),o&&o()}})})}catch(VR){}},_scrollIntoViewByNodeTop(e,t=0,n=!1){this.isChatRecordModeAndInversion?this._getNodeClientRect(".zp-scroll-view").then(o=>{o&&this._scrollToY(o[0].height-e,t,n,!0)}):this._scrollToY(e,t,n,!0)},_scrollToY(e,t=0,n=!1,o=!1){this.privateScrollWithAnimation=n?1:0,uI.delay(()=>{if(this.usePageScroll){o&&-1!==this.pageScrollTop&&(e+=this.pageScrollTop);Sb({scrollTop:e-t,duration:n?100:0})}else o&&(e+=this.oldScrollTop),this.scrollTop=e-t},10)},_scroll(e){this.$emit("scroll",e);const t=e.detail.scrollTop;this.finalUseVirtualList&&this._updateVirtualScroll(t,this.oldScrollTop-t),this.oldScrollTop=t;const n=e.detail.scrollHeight-this.oldScrollTop;!this.isIos&&this._checkScrolledToBottom(n)},_doCheckScrollViewShouldFullHeight(e){this.autoFullHeight&&this.usePageScroll&&this.isTotalChangeFromAddData?this.$nextTick(()=>{this._checkScrollViewShouldFullHeight((t,n)=>{this._preCheckShowNoMoreInside(e,t,n)})}):this._preCheckShowNoMoreInside(e)},async _checkScrollViewShouldFullHeight(e){try{const t=await this._getNodeClientRect(".zp-scroll-view"),n=await this._getNodeClientRect(".zp-paging-container-content");if(!t||!n)return;const o=n[0].height,a=t[0].top;this.isAddedData&&o+a<=this.windowHeight?(this._setAutoHeight(!0,t),e(t,n)):(this._setAutoHeight(!1),e(null,null))}catch(VR){e(null,null)}},_scrollTopChange(e,t){this.$emit("scrollTopChange",e),this.$emit("update:scrollTop",e),this._checkShouldShowBackToTop(e);const n=e>5?6:0;t&&this.wxsPageScrollTop!==n?this.wxsPageScrollTop=n:t||this.wxsScrollTop===n||(this.wxsScrollTop=n,n>6&&(this.scrollEnable=!0))},_updatePageScrollTopOrBottomHeight(e){if(!this.usePageScroll)return;this._doCheckScrollViewShouldFullHeight(this.realTotalData);const t=`.zp-page-${e}`,n=`margin${e.slice(0,1).toUpperCase()+e.slice(1)}`;let o=this.safeAreaInsetBottom;this.$nextTick(()=>{uI.delay(()=>{this._getNodeClientRect(t).then(t=>{if(t){let a=t[0].height;"bottom"===e?o&&(a+=this.safeAreaBottom):this.cacheTopHeight=a,this.$set(this.scrollViewStyle,n,`${a}px`)}else o&&this.$set(this.scrollViewStyle,n,`${this.safeAreaBottom}px`)})},0)})}}},PI={props:{autoShowBackToTop:{type:Boolean,default:uI.gc("autoShowBackToTop",!1)},backToTopThreshold:{type:[Number,String],default:uI.gc("backToTopThreshold","400rpx")},backToTopImg:{type:String,default:uI.gc("backToTopImg","")},backToTopWithAnimate:{type:Boolean,default:uI.gc("backToTopWithAnimate",!0)},backToTopBottom:{type:[Number,String],default:uI.gc("backToTopBottom","160rpx")},backToTopStyle:{type:Object,default:uI.gc("backToTopStyle",{})},enableBackToTop:{type:Boolean,default:uI.gc("enableBackToTop",!0)}},data:()=>({backToTopClass:"zp-back-to-top zp-back-to-top-hide",lastBackToTopShowTime:0,showBackToTopClass:!1}),computed:{backToTopThresholdUnitConverted(){return uI.addUnit(this.backToTopThreshold,this.unit)},backToTopBottomUnitConverted(){return uI.addUnit(this.backToTopBottom,this.unit)},finalEnableBackToTop(){return!this.usePageScroll&&this.enableBackToTop},finalBackToTopThreshold(){return uI.convertToPx(this.backToTopThresholdUnitConverted)},finalBackToTopStyle(){const e=this.backToTopStyle;return e.bottom||(e.bottom=this.windowBottom+uI.convertToPx(this.backToTopBottomUnitConverted)+"px"),e.position||(e.position=this.usePageScroll?"fixed":"absolute"),e},finalBackToTopClass(){return`${this.backToTopClass} zp-back-to-top-${this.unit}`}},methods:{_backToTopClick(){let e=!1;this.$emit("backToTopClick",t=>{(void 0===t||!0===t)&&this._handleToTop(),e=!0}),this.$nextTick(()=>{!e&&this._handleToTop()})},_handleToTop(){!this.backToTopWithAnimate&&this._checkShouldShowBackToTop(0),this.scrollToTop(this.backToTopWithAnimate)},_checkShouldShowBackToTop(e){this.autoShowBackToTop?e>this.finalBackToTopThreshold?this.showBackToTopClass||(this.showBackToTopClass=!0,this.lastBackToTopShowTime=(new Date).getTime(),uI.delay(()=>{this.backToTopClass="zp-back-to-top zp-back-to-top-show"},300)):this.showBackToTopClass&&(this.backToTopClass="zp-back-to-top zp-back-to-top-hide",uI.delay(()=>{this.showBackToTopClass=!1},(new Date).getTime()-this.lastBackToTopShowTime<500?0:300)):this.showBackToTopClass=!1}}},LI={props:{useVirtualList:{type:Boolean,default:uI.gc("useVirtualList",!1)},useCompatibilityMode:{type:Boolean,default:uI.gc("useCompatibilityMode",!1)},extraData:{type:Object,default:uI.gc("extraData",{})},useInnerList:{type:Boolean,default:uI.gc("useInnerList",!1)},forceCloseInnerList:{type:Boolean,default:uI.gc("forceCloseInnerList",!1)},cellKeyName:{type:String,default:uI.gc("cellKeyName","")},innerListStyle:{type:Object,default:uI.gc("innerListStyle",{})},innerCellStyle:{type:Object,default:uI.gc("innerCellStyle",{})},preloadPage:{type:[Number,String],default:uI.gc("preloadPage",12),validator:e=>(e<=0&&uI.consoleErr("preload-page必须大于0!"),e>0)},cellHeightMode:{type:String,default:uI.gc("cellHeightMode",hI.CellHeightMode.Fixed)},virtualListCol:{type:[Number,String],default:uI.gc("virtualListCol",1)},virtualScrollFps:{type:[Number,String],default:uI.gc("virtualScrollFps",80)}},data:()=>({virtualListKey:uI.getInstanceId(),virtualPageHeight:0,virtualCellHeight:0,virtualScrollTimeStamp:0,virtualList:[],virtualPlaceholderTopHeight:0,virtualPlaceholderBottomHeight:0,virtualTopRangeIndex:0,virtualBottomRangeIndex:0,lastVirtualTopRangeIndex:0,lastVirtualBottomRangeIndex:0,virtualItemInsertedCount:0,virtualHeightCacheList:[],getCellHeightRetryCount:{fixed:0,dynamic:0},pagingOrgTop:-1,updateVirtualListFromDataChange:!1}),watch:{realTotalData(e){this.finalUseVirtualList&&(this.updateVirtualListFromDataChange=!0,this.$nextTick(()=>{this.getCellHeightRetryCount.fixed=0,!e.length&&this._resetDynamicListState(!this.isUserPullDown),e.length&&this.cellHeightMode===hI.CellHeightMode.Fixed&&this.isFirstPage&&this._updateFixedCellHeight(),this._updateVirtualScroll(this.oldScrollTop)}))},virtualList(e){this.$emit("update:virtualList",e),this.$emit("virtualListChange",e)}},computed:{virtualCellIndexKey:()=>tI,finalUseVirtualList(){return this.useVirtualList&&this.usePageScroll&&uI.consoleErr("使用页面滚动时,开启虚拟列表无效!"),this.useVirtualList&&!this.usePageScroll},finalUseInnerList(){return this.useInnerList||this.finalUseVirtualList&&!this.forceCloseInnerList},finalCellKeyName(){return this.cellKeyName},finalVirtualPageHeight(){return this.virtualPageHeight>0?this.virtualPageHeight:this.windowHeight},virtualRangePageHeight(){return this.finalVirtualPageHeight*this.preloadPage},virtualScrollDisTimeStamp(){return 1e3/this.virtualScrollFps}},methods:{doInsertVirtualListItem(e,t){if(this.cellHeightMode!==hI.CellHeightMode.Dynamic)return;this.virtualItemInsertedCount++,e&&"[object Object]"===Object.prototype.toString.call(e)||(e={item:e});const n=this.virtualCellIndexKey;e[n]=`custom-${this.virtualItemInsertedCount}`,e[nI]=`${this.virtualListKey}-${e[n]}`,this.$nextTick(async()=>{let o=0;for(;o<=10;){await uI.wait(JA);const a=await this._getNodeClientRect(`#zp-id-${e[n]}`,this.finalUseInnerList);if(!a){o++;continue}const r=a?a[0].height:0,i=this.virtualHeightCacheList[t-1],s=i?i.totalHeight:0;this.virtualHeightCacheList.splice(t,0,{height:r,lastTotalHeight:s,totalHeight:s+r});for(let e=t+1;e{this._getNodeClientRect(`#zp-id-${e}`,this.finalUseInnerList).then(n=>{const o=n?n[0].height:0,a=o-t.height;t.height=o,t.totalHeight=t.lastTotalHeight+o;for(let t=e+1;t{uI.delay(()=>{this._getNodeClientRect(".zp-scroll-view").then(e=>{e&&(this.pagingOrgTop=e[0].top,this.virtualPageHeight=e[0].height)})})})},_updateFixedCellHeight(){this.$nextTick(()=>{uI.delay(()=>{this._getNodeClientRect("#zp-id-0",this.finalUseInnerList).then(e=>{if(e)this.virtualCellHeight=e[0].height,this._updateVirtualScroll(this.oldScrollTop);else{if(this.getCellHeightRetryCount.fixed>10)return;this.getCellHeightRetryCount.fixed++,this._updateFixedCellHeight()}})},JA,"updateFixedCellHeightDelay")})},_updateDynamicCellHeight(e,t="bottom"){const n="top"===t,o=this.virtualHeightCacheList,a=n?[]:o;let r=0;this.$nextTick(()=>{uI.delay(async()=>{for(let i=0;i0?"top":"bottom",o=this.virtualRangePageHeight,a=e-o,r=e+this.finalVirtualPageHeight+o;let i=0,s=0,l=!1;const c=this.virtualHeightCacheList,d=c?c.slice(-1)[0]:null;let u=this.virtualTopRangeIndex;if("bottom"===n)for(let e=u;ea){this.virtualTopRangeIndex=e,this.virtualPlaceholderTopHeight=t.lastTotalHeight;break}}else{let e=!1;for(let t=u;t>=0;t--){const n=c[t];if(n&&n.totalHeightr){i=e,s=d.totalHeight-t.totalHeight,l=!0;break}}l&&0!==this.virtualBottomRangeIndex?(this.virtualBottomRangeIndex=i,this.virtualPlaceholderBottomHeight=s):(this.virtualBottomRangeIndex=this.realTotalData.length?this.realTotalData.length-1:this.pageSize,this.virtualPlaceholderBottomHeight=0),this._updateVirtualList()}},_updateFixedTopRangeIndex(e){let t=0===this.virtualCellHeight?0:e-(parseInt(this.finalVirtualPageHeight/this.virtualCellHeight)||1)*this.preloadPage;t*=this.virtualListCol,t=Math.max(0,t),this.virtualTopRangeIndex=t,this.virtualPlaceholderTopHeight=t/this.virtualListCol*this.virtualCellHeight},_updateFixedBottomRangeIndex(e){let t=0===this.virtualCellHeight?this.pageSize:e+(parseInt(this.finalVirtualPageHeight/this.virtualCellHeight)||1)*(this.preloadPage+1);t*=this.virtualListCol,t=Math.min(this.realTotalData.length,t),this.virtualBottomRangeIndex=t,this.virtualPlaceholderBottomHeight=(this.realTotalData.length-t)*this.virtualCellHeight/this.virtualListCol,this._updateVirtualList()},_updateVirtualList(){(this.updateVirtualListFromDataChange||this.lastVirtualTopRangeIndex!==this.virtualTopRangeIndex||this.lastVirtualBottomRangeIndex!==this.virtualBottomRangeIndex)&&(this.updateVirtualListFromDataChange=!1,this.lastVirtualTopRangeIndex=this.virtualTopRangeIndex,this.lastVirtualBottomRangeIndex=this.virtualBottomRangeIndex,this.virtualList=this.realTotalData.slice(this.virtualTopRangeIndex,this.virtualBottomRangeIndex+1))},_resetDynamicListState(e=!1){this.virtualHeightCacheList=[],e&&(this.virtualList=[]),this.virtualTopRangeIndex=0,this.virtualPlaceholderTopHeight=0},_resetTopRange(){this.virtualTopRangeIndex=0,this.virtualPlaceholderTopHeight=0,this._updateVirtualList()},_checkVirtualListScroll(){this.finalUseVirtualList&&this.$nextTick(()=>{this._getNodeClientRect(".zp-paging-touch-view").then(e=>{const t=e?e[0].top:0;(!e||t===this.pagingOrgTop&&0!==this.virtualPlaceholderTopHeight)&&this._updateVirtualScroll(0)})})},_innerCellClick(e,t){this.$emit("innerCellClick",e,t)}}},OI=ov(),BI={name:"z-paging",components:{zPagingRefresh:pI,zPagingLoadMore:fI,zPagingEmptyView:gI},mixins:[yI,_I,SI,CI,kI,MI,AI,II,RI,EI,PI,LI],data:()=>({base64Arrow:zA,base64Flower:WA,base64BackToTop:GA,loadingType:hI.LoadingType.Refresher,requestTimeStamp:0,wxsPropType:"",renderPropScrollTop:-1,checkScrolledToBottomTimeOut:null,cacheTopHeight:-1,statusBarHeight:OI.statusBarHeight,insideOfPaging:-1,isLoadFailed:!1,isIos:"ios"===OI.platform,disabledBounce:!1,fromCompleteEmit:!1,disabledCompleteEmit:!1,pageLaunched:!1,active:!1,wxsIsScrollTopInTopRange:!0,wxsScrollTop:0,wxsPageScrollTop:0,wxsOnPullingDown:!1}),props:{delay:{type:[Number,String],default:uI.gc("delay",0)},minDelay:{type:[Number,String],default:uI.gc("minDelay",0)},pagingStyle:{type:Object,default:uI.gc("pagingStyle",{})},height:{type:String,default:uI.gc("height","")},width:{type:String,default:uI.gc("width","")},maxWidth:{type:String,default:uI.gc("maxWidth","")},bgColor:{type:String,default:uI.gc("bgColor","")},pagingContentStyle:{type:Object,default:uI.gc("pagingContentStyle",{})},autoHeight:{type:Boolean,default:uI.gc("autoHeight",!1)},autoHeightAddition:{type:[Number,String],default:uI.gc("autoHeightAddition","0px")},defaultThemeStyle:{type:String,default:uI.gc("defaultThemeStyle","black")},fixed:{type:Boolean,default:uI.gc("fixed",!0)},safeAreaInsetBottom:{type:Boolean,default:uI.gc("safeAreaInsetBottom",!1)},useSafeAreaPlaceholder:{type:Boolean,default:uI.gc("useSafeAreaPlaceholder",!1)},bottomBgColor:{type:String,default:uI.gc("bottomBgColor","")},topZIndex:{type:Number,default:uI.gc("topZIndex",99)},superContentZIndex:{type:Number,default:uI.gc("superContentZIndex",1)},contentZIndex:{type:Number,default:uI.gc("contentZIndex",10)},autoFullHeight:{type:Boolean,default:uI.gc("autoFullHeight",!0)},watchTouchDirectionChange:{type:Boolean,default:uI.gc("watchTouchDirectionChange",!1)},unit:{type:String,default:uI.gc("unit","rpx")}},created(){this.createdReload&&!this.refresherOnly&&this.auto&&(this._startLoading(),this.$nextTick(this._preReload))},mounted(){this.active=!0,this.wxsPropType=uI.getTime().toString(),this.renderJsIgnore,this.createdReload||this.refresherOnly||!this.auto||this.$nextTick(this._preReload),this.finalUseCache&&this._setListByLocalCache();let e=0;e=JA,this.$nextTick(()=>{this.systemInfo=ov(),!this.usePageScroll&&this.autoHeight&&this._setAutoHeight(),this.loaded=!0,uI.delay(this.updateFixedLayout)}),this.updatePageScrollTopHeight(),this.updatePageScrollBottomHeight(),this.updateLeftAndRightWidth(),this.finalRefresherEnabled&&this.useCustomRefresher&&this.$nextTick(()=>{this.isTouchmoving=!0}),this._onEmit(),this.finalUseVirtualList&&this._virtualListInit(),this.$nextTick(()=>{setTimeout(()=>{this._getCssSafeAreaInsetBottom(()=>this.safeAreaInsetBottom&&this.updatePageScrollBottomHeight())},e)})},destroyed(){this._handleUnmounted()},unmounted(){this._handleUnmounted()},watch:{defaultThemeStyle:{handler(e){e.length&&(this.finalRefresherDefaultStyle=e)},immediate:!0},autoHeight(e){this.loaded&&!this.usePageScroll&&this._setAutoHeight(e)},autoHeightAddition(e){this.loaded&&!this.usePageScroll&&this.autoHeight&&this._setAutoHeight(e)}},computed:{finalPagingStyle(){const e={...this.pagingStyle};if(!this.systemInfo)return e;const{windowTop:t,windowBottom:n}=this;return!this.usePageScroll&&this.fixed&&(t&&!e.top&&(e.top=t+"px"),n&&!e.bottom&&(e.bottom=n+"px")),this.bgColor.length&&!e.background&&(e.background=this.bgColor),this.height.length&&!e.height&&(e.height=this.height),this.width.length&&!e.width&&(e.width=this.width),this.maxWidth.length&&!e["max-width"]&&(e["max-width"]=this.maxWidth,e.margin="0 auto"),e},finalPagingContentStyle(){return 1!=this.contentZIndex&&(this.pagingContentStyle["z-index"]=this.contentZIndex,this.pagingContentStyle.position="relative"),this.pagingContentStyle},renderJsIgnore(){return(this.usePageScroll&&this.useChatRecordMode||!this.refresherEnabled&&this.scrollable||!this.useCustomRefresher)&&this.$nextTick(()=>{this.renderPropScrollTop=10}),0},windowHeight(){return this.systemInfo&&this.systemInfo.windowHeight||0},windowBottom(){if(!this.systemInfo)return 0;let e=this.systemInfo.windowBottom||0;return!this.safeAreaInsetBottom||this.useSafeAreaPlaceholder||this.useChatRecordMode||(e+=this.safeAreaBottom),e},isIosAndH5(){return this.isIos}},methods:{getVersion:()=>`z-paging v${QA}`,setSpecialEffects(e){this.setListSpecialEffects(e)},setListSpecialEffects(e){this.nFixFreezing=e&&Object.keys(e).length,this.isIos&&(this.privateRefresherEnabled=0),!this.usePageScroll&&this.$refs["zp-n-list"].setSpecialEffects(e)},_doVibrateShort(){},async _setAutoHeight(e=!0,t=null){let n="min-height";n="min-height";try{if(e){let e=t||await this._getNodeClientRect(".zp-scroll-view"),o=await this._getNodeClientRect(".zp-page-bottom");if(e){const t=e[0].top;let a=this.windowHeight-t;a-=o?o[0].height:0;const r=a+uI.convertToPx(this.autoHeightAddition)-(this.insideMore?1:0)+"px !important";this.$set(this.scrollViewStyle,n,r),this.$set(this.scrollViewInStyle,n,r)}}else this.$delete(this.scrollViewStyle,n),this.$delete(this.scrollViewInStyle,n)}catch(VR){}},_handleUnmounted(){this.active=!1,this._offEmit()},_updateInsideOfPaging(){this.insideMore&&!0===this.insideOfPaging&&setTimeout(this.doLoadMore,200)},_cleanTimeout:e=>(e&&(clearTimeout(e),e=null),e),_onEmit(){vh(XA,e=>{this.loading&&(e&&(this.customerEmptyViewErrorText=e),this.complete(!1).catch(()=>{}))}),vh(KA,e=>{setTimeout(()=>{if(this.loading)if(this.disabledCompleteEmit)this.disabledCompleteEmit=!1;else{const t=e.type||"normal",n=e.list||e,o=e.rule;switch(this.fromCompleteEmit=!0,t){case"normal":this.complete(n);break;case"total":this.completeByTotal(n,o);break;case"nomore":this.completeByNoMore(n,o);break;case"key":this.completeByKey(n,o)}}},1)})},_offEmit(){bh(XA),bh(KA)}}};var NI=0,DI=-1,VI=-1;function $I(e,t){var n=ZI(t),o={},a={};if(t.callMethod("_handleListTouchstart"),!n||(o=n.getState(),a=n.getDataset(),!GI(e,n))){var r=o.isTouchEnded;o.oldMoveDis=0;var i=YI(e),s=JI(a.loading);o.startY=i.touchY,VI=o.startY,o.lastTouch=i,!s&&r&&(o.isTouchmoving=!1),o.isTouchEnded=!1,t.callMethod("_handleRefresherTouchstart",i)}}function jI(e,t){var n=YI(e),o=ZI(t),a=o.getDataset(),r=a.refresherthreshold;JI(a.isios);var i=o.getState(),s={},l=0,c=!1;if(JI(a.watchtouchdirectionchange)){l=(s=qI(e,o)).currentDis;var d=(c=s.isDown)?"top":"bottom";c==i.oldTouchDirection&&c!=i.oldEmitedTouchDirection&&(t.callMethod("_handleTouchDirectionChange",{direction:d}),i.oldEmitedTouchDirection=c),i.oldTouchDirection=c}if(GI(e,o))return QI(i,t,!1),!0;if(!function(e,t,n,o){var a=o.refreshermaxangle,r=JI(o.refresheraecc),i=n.lastTouch,s=n.reachMaxAngle,l=n.oldMoveDis;if(!i)return!0;if(a>=0&&a<=90&&i){if((!l||l<1)&&!r&&null!=s&&!s)return!1;var c=Math.abs(t.touchX-i.touchX),d=Math.abs(t.touchY-i.touchY),u=Math.sqrt(Math.pow(c,2)+Math.pow(d,2));if((c||d)&&c>1)if(Math.asin(d/u)/Math.PI*1802&&(n.lastTouch=t,n.reachMaxAngle=!1),!1}}return n.lastTouch=t,!0}(0,n,i,a))return QI(i,t,!1),!0;if(l=(s=qI(e,o)).currentDis,c=s.isDown,l<0)return HI(0,o,i,!1),QI(i,t,!1),!0;if(c&&!i.disabledBounce)return t.callMethod("_handleScrollViewBounce",{bounce:!1}),i.disabledBounce=!0,QI(i,t,c),!c;HI(l,o,i,!1);var u=i.refresherStatus,h=JI(a.oldistouchmoving),m=JI(a.hastouchmove),p=i.isTouchmoving;return i.refresherStatus=l>=r?1:0,p||(i.isTouchmoving=!0,p=!0),i.isTouchEnded&&(i.isTouchEnded=!1),m&&t.callMethod("_handleWxsPullingDown",{moveDis:l,diffDis:s.diffDis}),null!=u&&u==i.refresherStatus&&h==p||t.callMethod("_handleRefresherTouchmove",l,n),QI(i,t,c),!c}function zI(e,t){YI(e);var n=ZI(t);n.getDataset();var o=n.getState();if(o.disabledBounce&&(t.callMethod("_handleScrollViewBounce",{bounce:!0}),o.disabledBounce=!1),!GI(e,n)&&(o.reachMaxAngle=!0,o.hitReachMaxAngleCount=0,o.fixedIsTopHitCount=0,o.isTouchmoving)){var a=o.refresherStatus,r=o.moveDis,i=n.getDataset().refresherthreshold,s=qI(e,n).currentDis;if(s>=i&&1===a||(o.isTouchmoving=!1),t.callMethod("_handleRefresherTouchend",s),o.isTouchEnded=!0,!(r=i&&(s=i,l=!0),HI(s,n,o,l)}}}function FI(){if(!navigator)return!1;if(-1!=DI)return DI;return DI=["Android","iPhone","SymbianOS","Windows Phone","iPad","iPod"].every(function(e){return navigator.userAgent.indexOf(e)<0})}var WI=!1;function HI(e,t,n,o){e=e||0,n.moveDis!=e&&(n.moveDis=e,UI("translateY("+e+"px)",t,o,""))}function UI(e,t,n,o){JI(t.getDataset().refreshernotransform)||(e="translateY(0px)"==e?"none":e,t.requestAnimationFrame(function(){var a={transform:e};n&&(a.transition="transform .1s linear"),o.length&&(a.transition=o),t.setStyle(a)}))}function qI(e,t){var n=t.getState(),o=parseFloat(t.getDataset().refresherthreshold),a=parseFloat(t.getDataset().refresheroutrate),r=parseFloat(t.getDataset().refresherpullrate),i=YI(e),s=n.startY&&"NaN"!=n.startY?n.startY:VI,l=i.touchY-s,c=n.oldMoveDis||0;n.oldMoveDis=l;var d=l-c;return d>0&&(d*=r,NI>o&&(d*=1-a)),NI+=d=d>100?d/100:d>20?d/2.2:d,{currentDis:NI=Math.max(0,NI),diffDis:d,isDown:d>0}}function YI(e){var t=e;return e.touches&&e.touches.length?t=e.touches[0]:e.changedTouches&&e.changedTouches.length?t=e.changedTouches[0]:e.datail&&e.datail!={}&&(t=e.datail),{touchX:t.clientX,touchY:t.clientY}}function ZI(e){var t=e.getState().currentIns;return t||e.callMethod("_handlePropUpdate"),t}function GI(e,t,n){var o=t.getDataset(),a=t.getState(),r=JI(o.loading),i=JI(o.usechatrecordmode),s=JI(o.refresherenabled),l=JI(o.usecustomrefresher),c=JI(o.usepagescroll),d=parseFloat(o.pagescrolltop),u=parseFloat(o.scrolltop);return a.fixedIsTopHitCount,a.fixedIsTopHitCount=0,r||i||!s||!l||c&&l&&d>5&&!0||!c&&l&&u>5&&!0}function QI(e,t,n){(e.onPullingDown||!1)!=n&&t.callMethod("_handleWxsPullingDownStatusChange",n),e.onPullingDown=n}function JI(e){return 1==(e=("string"==typeof e?JSON.parse(e):e)||!1)||"true"==e}const XI={touchstart:$I,touchmove:jI,touchend:zI,mousedown:function(e,t){FI()&&($I(e,t),WI=!0)},mousemove:function(e,t){FI()&&WI&&jI(e,t)},mouseup:function(e,t){FI()&&(zI(e,t),WI=!1)},mouseleave:function(e,t){FI()&&(WI=!1)},propObserver:function(e,t,n,o){var a=n.getState()||{};if(a.currentIns=o,o.getDataset().loading,e&&-1!=e.indexOf("end"))UI("translateY(0px)",o,!1,e.split("end")[0]),a.moveDis=0,a.oldMoveDis=0,NI=0;else if(e&&-1!=e.indexOf("begin")){HI(o.getDataset().refresherthreshold,o,a,!1)}}},KI=e=>{e.$wxs||(e.$wxs=[]),e.$wxs.push("pagingWxs"),e.mixins||(e.mixins=[]),e.mixins.push({beforeCreate(){this.pagingWxs=XI}})},eR={startY:0,isTouchFromZPaging:!1,isUsePageScroll:!1,isReachedTop:!0,isIosAndH5:!1,useChatRecordMode:!1},tR={mounted(){window&&this._handleTouch()},methods:{renderPropIsIosAndH5Change(e){-1!==e&&(eR.isIosAndH5=e)},_handleTouch(){window.$zPagingRenderJsInited||(window.$zPagingRenderJsInited=!0,window.addEventListener("touchstart",this._handleTouchstart,{passive:!0}),window.addEventListener("touchmove",this._handleTouchmove,{passive:!1}))},_handleTouchstart(e){const t=uI.getTouch(e);eR.startY=t.touchY;const n=uI.getTouchFromZPaging(e.target);eR.isTouchFromZPaging=n.isFromZp,eR.isUsePageScroll=n.isPageScroll,eR.isReachedTop=n.isReachedTop,eR.useChatRecordMode=n.isUseChatRecordMode},_handleTouchmove(e){const t=uI.getTouch(e).touchY-eR.startY;eR.isTouchFromZPaging&&(eR.isReachedTop&&(eR.useChatRecordMode?t<0:t>0)||!eR.useChatRecordMode&&eR.isIosAndH5&&!eR.isUsePageScroll&&t<0)&&e.cancelable&&!e.defaultPrevented&&e.preventDefault()},_removeAllEventListener(){window.removeEventListener("touchstart"),window.removeEventListener("touchmove")}}},nR={name:"z-paging",mixins:[tR]},oR=e=>{e.$renderjs||(e.$renderjs=[]),e.$renderjs.push("pagingRenderjs"),e.mixins||(e.mixins=[]),e.mixins.push({beforeCreate(){this.pagingRenderjs=this},mounted(){this.$ownerInstance=this.$gcd(this,!0)}}),e.mixins.push(nR)};KI(BI),oR(BI);const aR=MM(BI,[["render",function(e,t,n,o,a,r){const i=ny,s=Bo("z-paging-refresh"),l=Bo("z-paging-load-more"),c=Bo("z-paging-empty-view"),d=Wg,u=Mf;return Br(),jr(i,{class:qe({"z-paging-content":!0,"z-paging-content-fixed":!e.usePageScroll&&e.fixed,"z-paging-content-page":e.usePageScroll,"z-paging-reached-top":e.renderPropScrollTop<1,"z-paging-use-chat-record-mode":e.useChatRecordMode}),style:Ue([e.finalPagingStyle])},{default:Io(()=>[-1===e.cssSafeAreaInsetBottom?(Br(),jr(i,{key:0,class:"zp-safe-area-inset-bottom"})):Qr("",!0),!e.usePageScroll&&e.zSlots.top?Va(e.$slots,"top",{key:1},void 0,!0):e.usePageScroll&&e.zSlots.top?(Br(),jr(i,{key:2,class:"zp-page-top",onTouchmove:t[0]||(t[0]=ms(()=>{},["stop","prevent"])),style:Ue([{top:`${e.windowTop}px`,"z-index":e.topZIndex}])},{default:Io(()=>[Va(e.$slots,"top",{},void 0,!0)]),_:3},8,["style"])):Qr("",!0),Yr(i,{class:qe({"zp-view-super":!0,"zp-scroll-view-super":!e.usePageScroll}),style:Ue([e.finalScrollViewStyle])},{default:Io(()=>[e.zSlots.left?(Br(),jr(i,{key:0,class:qe({"zp-page-left":!0,"zp-absoulte":e.finalIsOldWebView})},{default:Io(()=>[Va(e.$slots,"left",{},void 0,!0)]),_:3},8,["class"])):Qr("",!0),Yr(i,{class:qe({"zp-scroll-view-container":!0,"zp-absoulte":e.finalIsOldWebView}),style:Ue([e.scrollViewContainerStyle])},{default:Io(()=>[Yr(d,{ref:"zp-scroll-view",class:qe({"zp-scroll-view":!0,"zp-scroll-view-absolute":!e.usePageScroll,"zp-scroll-view-hide-scrollbar":!e.showScrollbar}),style:Ue([e.chatRecordRotateStyle]),"scroll-top":e.scrollTop,"scroll-x":e.scrollX,"scroll-y":e.scrollable&&!e.usePageScroll&&e.scrollEnable&&(!!e.refresherCompleteScrollable||e.refresherStatus!==e.R.Complete),"enable-back-to-top":e.finalEnableBackToTop,"show-scrollbar":e.showScrollbar,"scroll-with-animation":e.finalScrollWithAnimation,"scroll-into-view":e.scrollIntoView,"lower-threshold":e.finalLowerThreshold,"upper-threshold":5,"refresher-enabled":e.finalRefresherEnabled&&!e.useCustomRefresher,"refresher-threshold":e.finalRefresherThreshold,"refresher-default-style":e.finalRefresherDefaultStyle,"refresher-background":e.refresherBackground,"refresher-triggered":e.finalRefresherTriggered,onScroll:e._scroll,onScrolltolower:e._onScrollToLower,onScrolltoupper:e._onScrollToUpper,onRefresherrestore:e._onRestore,onRefresherrefresh:t[3]||(t[3]=t=>e._onRefresh(!0))},{default:Io(()=>[Yr(i,{class:"zp-paging-touch-view",onTouchstart:e.pagingWxs.touchstart,onTouchmove:e.pagingWxs.touchmove,onTouchend:e.pagingWxs.touchend,onTouchcancel:e.pagingWxs.touchend,onMousedown:e.pagingWxs.mousedown,onMousemove:e.pagingWxs.mousemove,onMouseup:e.pagingWxs.mouseup,onMouseleave:e.pagingWxs.mouseleave},{default:Io(()=>[e.finalRefresherFixedBacHeight>0?(Br(),jr(i,{key:0,class:"zp-fixed-bac-view",style:Ue([{background:e.refresherFixedBackground,height:`${e.finalRefresherFixedBacHeight}px`}])},null,8,["style"])):Qr("",!0),Yr(i,{class:"zp-paging-main",style:Ue([e.scrollViewInStyle,{transform:e.finalRefresherTransform,transition:e.refresherTransition}]),"change:prop":e.pagingWxs.propObserver,prop:e.wxsPropType,"data-refresherThreshold":e.finalRefresherThreshold,"data-isIos":e.isIos,"data-loading":e.loading||e.isRefresherInComplete,"data-useChatRecordMode":e.useChatRecordMode,"data-refresherEnabled":e.refresherEnabled,"data-useCustomRefresher":e.useCustomRefresher,"data-pageScrollTop":e.wxsPageScrollTop,"data-scrollTop":e.wxsScrollTop,"data-refresherMaxAngle":e.refresherMaxAngle,"data-refresherNoTransform":e.refresherNoTransform,"data-refresherAecc":e.refresherAngleEnableChangeContinued,"data-usePageScroll":e.usePageScroll,"data-watchTouchDirectionChange":e.watchTouchDirectionChange,"data-oldIsTouchmoving":e.isTouchmoving,"data-refresherOutRate":e.finalRefresherOutRate,"data-refresherPullRate":e.finalRefresherPullRate,"data-hasTouchmove":e.hasTouchmove,"change:renderPropIsIosAndH5":e.pagingRenderjs.renderPropIsIosAndH5Change,renderPropIsIosAndH5:e.isIosAndH5},{default:Io(()=>[e.showRefresher?(Br(),jr(i,{key:0,class:"zp-custom-refresher-view",style:Ue([{"margin-top":`-${e.finalRefresherThreshold+e.refresherThresholdUpdateTag}px`,background:e.refresherBackground,opacity:e.isTouchmoving?1:0}])},{default:Io(()=>[Yr(i,{class:"zp-custom-refresher-container",style:Ue([{height:`${e.finalRefresherThreshold}px`,background:e.refresherBackground}])},{default:Io(()=>[e.useRefresherStatusBarPlaceholder?(Br(),jr(i,{key:0,class:"zp-custom-refresher-status-bar-placeholder",style:Ue([{height:`${e.statusBarHeight}px`}])},null,8,["style"])):Qr("",!0),Yr(i,{class:"zp-custom-refresher-slot-view"},{default:Io(()=>[e.zSlots.refresherComplete&&e.refresherStatus===e.R.Complete?Qr("",!0):Va(e.$slots,"refresher",{key:0,refresherStatus:e.refresherStatus},void 0,!0)]),_:3}),e.zSlots.refresherComplete&&e.refresherStatus===e.R.Complete?Va(e.$slots,"refresherComplete",{key:1},void 0,!0):e.showCustomRefresher?Qr("",!0):(Br(),jr(s,{key:2,ref:"refresh",class:"zp-custom-refresher-refresh",style:Ue([{height:e.finalRefresherThreshold-e.finalRefresherThresholdPlaceholder+"px"}]),status:e.refresherStatus,defaultThemeStyle:e.finalRefresherThemeStyle,defaultText:e.finalRefresherDefaultText,pullingText:e.finalRefresherPullingText,refreshingText:e.finalRefresherRefreshingText,completeText:e.finalRefresherCompleteText,defaultImg:e.refresherDefaultImg,pullingImg:e.refresherPullingImg,refreshingImg:e.refresherRefreshingImg,completeImg:e.refresherCompleteImg,refreshingAnimated:e.refresherRefreshingAnimated,showUpdateTime:e.showRefresherUpdateTime,updateTimeKey:e.refresherUpdateTimeKey,updateTimeTextMap:e.finalRefresherUpdateTimeTextMap,imgStyle:e.refresherImgStyle,titleStyle:e.refresherTitleStyle,updateTimeStyle:e.refresherUpdateTimeStyle,unit:e.unit},null,8,["style","status","defaultThemeStyle","defaultText","pullingText","refreshingText","completeText","defaultImg","pullingImg","refreshingImg","completeImg","refreshingAnimated","showUpdateTime","updateTimeKey","updateTimeTextMap","imgStyle","titleStyle","updateTimeStyle","unit"]))]),_:3},8,["style"])]),_:3},8,["style"])):Qr("",!0),Yr(i,{class:"zp-paging-container",style:Ue([{justifyContent:e.useChatRecordMode?"flex-end":"flex-start"}])},{default:Io(()=>[e.showLoading&&e.zSlots.loading&&!e.loadingFullFixed?Va(e.$slots,"loading",{key:0},void 0,!0):Qr("",!0),Yr(i,{class:"zp-paging-container-content",style:Ue([{transform:e.virtualPlaceholderTopHeight>0?`translateY(${e.virtualPlaceholderTopHeight}px)`:"none"},e.finalPagingContentStyle])},{default:Io(()=>[Va(e.$slots,"default",{},void 0,!0),e.finalUseInnerList?(Br(),$r(Ir,{key:0},[Va(e.$slots,"header",{},void 0,!0),Yr(i,{class:"zp-list-container",style:Ue([e.innerListStyle])},{default:Io(()=>[e.finalUseVirtualList?(Br(!0),$r(Ir,{key:0},Da(e.virtualList,(t,n)=>(Br(),jr(i,{class:"zp-list-cell",style:Ue([e.innerCellStyle]),id:`zp-id-${t[e.virtualCellIndexKey]}`,key:t.zp_unique_index,onClick:o=>e._innerCellClick(t,e.virtualTopRangeIndex+n)},{default:Io(()=>[e.useCompatibilityMode?(Br(),jr(i,{key:0},{default:Io(()=>[Gr("使用兼容模式请在组件源码z-paging.vue第94行中注释这一行,并打开下面一行注释")]),_:1})):Va(e.$slots,"cell",{key:1,item:t,index:e.virtualTopRangeIndex+n},void 0,!0)]),_:2},1032,["style","id","onClick"]))),128)):(Br(!0),$r(Ir,{key:1},Da(e.realTotalData,(t,n)=>(Br(),jr(i,{class:"zp-list-cell",key:n,onClick:o=>e._innerCellClick(t,n)},{default:Io(()=>[Va(e.$slots,"cell",{item:t,index:n},void 0,!0)]),_:2},1032,["onClick"]))),128))]),_:3},8,["style"]),Va(e.$slots,"footer",{},void 0,!0)],64)):Qr("",!0),e.useChatRecordMode&&(e.loadingStatus!==e.M.NoMore||e.zSlots.chatNoMore)&&(e.realTotalData.length||e.showChatLoadingWhenReload&&e.showLoading)&&!e.isFirstPageAndNoMore?(Br(),jr(i,{key:1,style:Ue([e.chatRecordRotateStyle])},{default:Io(()=>[e.loadingStatus===e.M.NoMore&&e.zSlots.chatNoMore?Va(e.$slots,"chatNoMore",{key:0},void 0,!0):(Br(),$r(Ir,{key:1},[e.zSlots.chatLoading?Va(e.$slots,"chatLoading",{key:0,loadingMoreStatus:e.loadingStatus},void 0,!0):(Br(),jr(l,{key:1,onDoClick:t[1]||(t[1]=t=>e._onLoadingMore("click")),zConfig:e.zLoadMoreConfig},null,8,["zConfig"]))],64))]),_:3},8,["style"])):Qr("",!0),e.useVirtualList?(Br(),jr(i,{key:2,class:"zp-virtual-placeholder",style:Ue([{height:e.virtualPlaceholderBottomHeight+"px"}])},null,8,["style"])):Qr("",!0),e.showLoadingMoreDefault?Va(e.$slots,"loadingMoreDefault",{key:3},void 0,!0):e.showLoadingMoreLoading?Va(e.$slots,"loadingMoreLoading",{key:4},void 0,!0):e.showLoadingMoreNoMore?Va(e.$slots,"loadingMoreNoMore",{key:5},void 0,!0):e.showLoadingMoreFail?Va(e.$slots,"loadingMoreFail",{key:6},void 0,!0):e.showLoadingMoreCustom?(Br(),jr(l,{key:7,onDoClick:t[2]||(t[2]=t=>e._onLoadingMore("click")),zConfig:e.zLoadMoreConfig},null,8,["zConfig"])):Qr("",!0),e.safeAreaInsetBottom&&e.useSafeAreaPlaceholder&&!e.useChatRecordMode?(Br(),jr(i,{key:8,class:"zp-safe-area-placeholder",style:Ue([{height:e.safeAreaBottom+"px"}])},null,8,["style"])):Qr("",!0)]),_:3},8,["style"]),e.showEmpty?(Br(),jr(i,{key:1,class:qe({"zp-empty-view":!0,"zp-empty-view-center":e.emptyViewCenter}),style:Ue([e.emptyViewSuperStyle,e.chatRecordRotateStyle])},{default:Io(()=>[e.zSlots.empty?Va(e.$slots,"empty",{key:0,isLoadFailed:e.isLoadFailed},void 0,!0):(Br(),jr(c,{key:1,emptyViewImg:e.finalEmptyViewImg,emptyViewText:e.finalEmptyViewText,showEmptyViewReload:e.finalShowEmptyViewReload,emptyViewReloadText:e.finalEmptyViewReloadText,isLoadFailed:e.isLoadFailed,emptyViewStyle:e.emptyViewStyle,emptyViewTitleStyle:e.emptyViewTitleStyle,emptyViewImgStyle:e.emptyViewImgStyle,emptyViewReloadStyle:e.emptyViewReloadStyle,emptyViewZIndex:e.emptyViewZIndex,emptyViewFixed:e.emptyViewFixed,unit:e.unit,onReload:e._emptyViewReload,onViewClick:e._emptyViewClick},null,8,["emptyViewImg","emptyViewText","showEmptyViewReload","emptyViewReloadText","isLoadFailed","emptyViewStyle","emptyViewTitleStyle","emptyViewImgStyle","emptyViewReloadStyle","emptyViewZIndex","emptyViewFixed","unit","onReload","onViewClick"]))]),_:3},8,["class","style"])):Qr("",!0)]),_:3},8,["style"])]),_:3},8,["style","change:prop","prop","data-refresherThreshold","data-isIos","data-loading","data-useChatRecordMode","data-refresherEnabled","data-useCustomRefresher","data-pageScrollTop","data-scrollTop","data-refresherMaxAngle","data-refresherNoTransform","data-refresherAecc","data-usePageScroll","data-watchTouchDirectionChange","data-oldIsTouchmoving","data-refresherOutRate","data-refresherPullRate","data-hasTouchmove","change:renderPropIsIosAndH5","renderPropIsIosAndH5"])]),_:3},8,["onTouchstart","onTouchmove","onTouchend","onTouchcancel","onMousedown","onMousemove","onMouseup","onMouseleave"])]),_:3},8,["class","style","scroll-top","scroll-x","scroll-y","enable-back-to-top","show-scrollbar","scroll-with-animation","scroll-into-view","lower-threshold","refresher-enabled","refresher-threshold","refresher-default-style","refresher-background","refresher-triggered","onScroll","onScrolltolower","onScrolltoupper","onRefresherrestore"])]),_:3},8,["class","style"]),e.zSlots.right?(Br(),jr(i,{key:1,class:qe({"zp-page-right":!0,"zp-absoulte zp-right":e.finalIsOldWebView})},{default:Io(()=>[Va(e.$slots,"right",{},void 0,!0)]),_:3},8,["class"])):Qr("",!0)]),_:3},8,["class","style"]),Yr(i,{class:"zp-page-bottom-container",style:Ue({background:e.bottomBgColor})},{default:Io(()=>[!e.usePageScroll&&e.zSlots.bottom?Va(e.$slots,"bottom",{key:0},void 0,!0):e.usePageScroll&&e.zSlots.bottom?(Br(),jr(i,{key:1,class:"zp-page-bottom",onTouchmove:t[4]||(t[4]=ms(()=>{},["stop","prevent"])),style:Ue([{bottom:`${e.windowBottom}px`}])},{default:Io(()=>[Va(e.$slots,"bottom",{},void 0,!0)]),_:3},8,["style"])):Qr("",!0),e.useChatRecordMode&&e.autoAdjustPositionWhenChat?(Br(),$r(Ir,{key:2},[Yr(i,{style:Ue([{height:e.chatRecordModeSafeAreaBottom+"px"}])},null,8,["style"]),Yr(i,{class:"zp-page-bottom-keyboard-placeholder-animate",style:Ue([{height:e.keyboardHeight+"px"}])},null,8,["style"])],64)):Qr("",!0)]),_:3},8,["style"]),e.showBackToTopClass?(Br(),jr(i,{key:3,class:qe(e.finalBackToTopClass),style:Ue([e.finalBackToTopStyle]),onClick:ms(e._backToTopClick,["stop"])},{default:Io(()=>[e.zSlots.backToTop?Va(e.$slots,"backToTop",{key:0},void 0,!0):(Br(),jr(u,{key:1,class:"zp-back-to-top-img",src:e.backToTopImg.length?e.backToTopImg:e.base64BackToTop},null,8,["src"]))]),_:3},8,["class","style","onClick"])):Qr("",!0),e.showLoading&&e.zSlots.loading&&e.loadingFullFixed?(Br(),jr(i,{key:4,class:"zp-loading-fixed"},{default:Io(()=>[Va(e.$slots,"loading",{},void 0,!0)]),_:3})):Qr("",!0)]),_:3},8,["class","style"])}],["__scopeId","data-v-695a39e3"]]),rR=Object.freeze(Object.defineProperty({__proto__:null,default:e=>{e.component("feed-card",IM),e.component("feed-video-card",RM),e.component("match-card",LM),e.component("w-banner",VM),e.component("w-customer-service",$M),e.component("w-middle-banner",jM),e.component("w-my-service",zM),e.component("w-nav",FM),e.component("w-search",WM),e.component("w-user-banner",HM),e.component("w-user-info",UM),e.component("page-meta",qM),e.component("navigation-bar",YM),e.component("u-button",GM),e.component("u-checkbox",QM),e.component("u-form",XM),e.component("u-form-item",wA),e.component("u-icon",xA),e.component("u-image",AM),e.component("u-input",CA),e.component("u-loading",kA),e.component("u-loading-icon",kA),e.component("u-mask",MA),e.component("u-parse",LA),e.component("u-picker",VA),e.component("u-popup",$A),e.component("u-verification-code",jA),e.component("z-paging",aR)}},Symbol.toStringTag,{value:"Module"})),iR=function(){const e=wt(!0),t=e.run(()=>Wn({}));let n=[],o=[];const a=Nn({install(e){dT(a),a._a=e,e.provide(uT,a),e.config.globalProperties.$pinia=a,o.forEach(e=>n.push(e)),o=[]},use(e){return this._a?n.push(e):o.push(e),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return a}(),sR=Object.freeze(Object.defineProperty({__proto__:null,default:e=>{e.use(iR)}},Symbol.toStringTag,{value:"Module"})),lR={data:()=>({}),onLoad(){this.$u.getRect=this.$uGetRect},methods:{$uGetRect(e,t){return new Promise(n=>{Xh().in(this)[t?"selectAll":"select"](e).boundingClientRect(e=>{t&&Array.isArray(e)&&e.length&&n(e),!t&&e&&n(e)}).exec()})},getParentData(e=""){this.parent||(this.parent=!1),this.parent=this.$u.$parent.call(this,e),this.parent&&(Object.keys(this.parentData).map(e=>{this.parentData[e]=this.parent[e]}),this.parentData.value=this.parent.modelValue)},preventEvent(e){e&&e.stopPropagation&&e.stopPropagation()}},onReachBottom(){_h("uOnReachBottom")},beforeUnmount(){if(this.parent&&uni.$u.test.array(this.parent.children)){const e=this.parent.children;e.map((t,n)=>{t===this&&e.splice(n,1)})}}};function cR(e){if([null,void 0,NaN,!1].includes(e))return e;if("object"!=typeof e&&"function"!=typeof e)return e;var t,n=(t=e,"[object Array]"===Object.prototype.toString.call(t)?[]:{});for(let o in e)e.hasOwnProperty(o)&&(n[o]="object"==typeof e[o]?cR(e[o]):e[o]);return n}function dR(e={},t={}){if("object"!=typeof(e=cR(e))||"object"!=typeof t)return!1;for(var n in t)t.hasOwnProperty(n)&&(n in e?"object"!=typeof e[n]||"object"!=typeof t[n]?e[n]=t[n]:e[n].concat&&t[n].concat?e[n]=e[n].concat(t[n]):e[n]=dR(e[n],t[n]):e[n]=t[n]);return e}function uR(e){switch(typeof e){case"undefined":return!0;case"string":if(0==e.replace(/(^[ \t\n\r]*)|([ \t\n\r]*$)/g,"").length)return!0;break;case"boolean":if(!e)return!0;break;case"number":if(0===e||isNaN(e))return!0;break;case"object":if(null===e||0===e.length)return!0;for(var t in e)return!1;return!0}return!1}const hR={email:function(e){return/^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/.test(e)},mobile:function(e){return/^1[23456789]\d{9}$/.test(e)},url:function(e){return/http(s)?:\/\/([\w-]+\.)+[\w-]+(\/[\w-.\/?%&=]*)?/.test(e)},date:function(e){return!/Invalid|NaN/.test(new Date(e).toString())},dateISO:function(e){return/^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$/.test(e)},number:function(e){return/^(?:-?\d+|-?\d{1,3}(?:,\d{3})+)?(?:\.\d+)?$/.test(e)},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:uR,isEmpty:uR,jsonString:function(e){if("string"==typeof e)try{var t=JSON.parse(e);return!("object"!=typeof t||!t)}catch(VR){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:function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===Object.prototype.toString.call(e)},code:function(e,t=6){return new RegExp(`^\\d{${t}}$`).test(e)}};const mR=new class{setConfig(e){this.config=dR(this.config,e)}request(e={}){if(this.interceptor.request&&"function"==typeof this.interceptor.request){let t=this.interceptor.request(e);if(!1===t)return new Promise(()=>{});this.options=t}return e.dataType=e.dataType||this.config.dataType,e.responseType=e.responseType||this.config.responseType,e.url=e.url||"",e.params=e.params||{},e.header=Object.assign({},this.config.header,e.header),e.method=e.method||this.config.method,new Promise((t,n)=>{e.complete=e=>{if(yb(),clearTimeout(this.config.timer),this.config.timer=null,this.config.originalData)if(this.interceptor.response&&"function"==typeof this.interceptor.response){let o=this.interceptor.response(e);!1!==o?t(o):n(e)}else t(e);else if(200==e.statusCode)if(this.interceptor.response&&"function"==typeof this.interceptor.response){let o=this.interceptor.response(e.data);!1!==o?t(o):n(e.data)}else t(e.data);else n(e)},e.url=hR.url(e.url)?e.url:this.config.baseUrl+(0==e.url.indexOf("/")?e.url:"/"+e.url),this.config.showLoading&&!this.config.timer&&(this.config.timer=setTimeout(()=>{fb({title:this.config.loadingText,mask:this.config.loadingMask}),this.config.timer=null},this.config.loadingTime)),Bv(e)})}constructor(){this.config={baseUrl:"",header:{},method:"POST",dataType:"json",responseType:"text",showLoading:!0,loadingText:"请求中...",loadingTime:800,timer:null,originalData:!1,loadingMask:!0},this.interceptor={request:null,response:null},this.get=(e,t={},n={})=>this.request({method:"GET",url:e,header:n,data:t}),this.post=(e,t={},n={})=>this.request({url:e,method:"POST",header:n,data:t}),this.put=(e,t={},n={})=>this.request({url:e,method:"PUT",header:n,data:t}),this.delete=(e,t={},n={})=>this.request({url:e,method:"DELETE",header:n,data:t})}};const pR=(new class{constructor(){this.config={type:"navigateTo",url:"",delta:1,params:{},animationType:"pop-in",animationDuration:300,intercept:!1},this.route=this.route.bind(this)}addRootPath(e){return"/"===e[0]?e:`/${e}`}mixinParam(e,t){e=e&&this.addRootPath(e);let n="";return/.*\/.*\?.*=.*/.test(e)?(n=uni.$u.queryParams(t,!1),e+"&"+n):(n=uni.$u.queryParams(t),e+n)}async route(e={},t={}){let n={};if("string"==typeof e?(n.url=this.mixinParam(e,t),n.type="navigateTo"):(n=uni.$u.deepClone(e,this.config),n.url=this.mixinParam(e.url,e.params)),t.intercept&&(this.config.intercept=t.intercept),n.params=t,n=uni.$u.deepMerge(this.config,n),"function"==typeof uni.$u.routeIntercept){await new Promise((e,t)=>{uni.$u.routeIntercept(n,e)})&&this.openPage(n)}else this.openPage(n)}openPage(e){const{url:t,type:n,delta:o,animationType:a,animationDuration:r}=e;"navigateTo"!=e.type&&"to"!=e.type||Uv({url:t,animationType:a,animationDuration:r}),"redirectTo"!=e.type&&"redirect"!=e.type||Hm({url:t}),"switchTab"!=e.type&&"tab"!=e.type||Fm({url:t}),"reLaunch"!=e.type&&"launch"!=e.type||qm({url:t}),"navigateBack"!=e.type&&"back"!=e.type||Hv({delta:o})}}).route;function fR(e=null,t="yyyy-mm-dd"){e||(e=Number(new Date)),10==e.toString().length&&(e*=1e3);let n,o=new Date(e),a={"y+":o.getFullYear().toString(),"m+":(o.getMonth()+1).toString(),"d+":o.getDate().toString(),"h+":o.getHours().toString(),"M+":o.getMinutes().toString(),"s+":o.getSeconds().toString()};for(let r in a)n=new RegExp("("+r+")").exec(t),n&&(t=t.replace(n[1],1==n[1].length?a[r]:a[r].padStart(n[1].length,"0")));return t}function gR(e,t=!0){if((e=e.toLowerCase())&&/^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/.test(e)){if(4===e.length){let t="#";for(let n=1;n<4;n+=1)t+=e.slice(n,n+1).concat(e.slice(n,n+1));e=t}let n=[];for(let t=1;t<7;t+=2)n.push(parseInt("0x"+e.slice(t,t+2)));return t?`rgb(${n[0]},${n[1]},${n[2]})`:n}if(/^(rgb|RGB)/.test(e)){return e.replace(/(?:\(|\)|rgb|RGB)*/g,"").split(",").map(e=>Number(e))}return e}function yR(e){let t=e;if(/^(rgb|RGB)/.test(t)){let e=t.replace(/(?:\(|\)|rgb|RGB)*/g,"").split(","),n="#";for(let t=0;t=e)return String(n);let o=e-n.length,a=Math.ceil(o/t.length);for(;a>>=1;)t+=t,1===a&&(t+=t);return t.slice(0,o)+n});const vR={colorGradient:function(e="rgb(0, 0, 0)",t="rgb(255, 255, 255)",n=10){let o=gR(e,!1),a=o[0],r=o[1],i=o[2],s=gR(t,!1),l=(s[0]-a)/n,c=(s[1]-r)/n,d=(s[2]-i)/n,u=[];for(let h=0;h=0))if(t.constructor===Array)switch(n){case"indices":for(let n=0;n{a.push(r+"[]="+e)});break;case"repeat":t.forEach(e=>{a.push(r+"="+e)});break;case"comma":let e="";t.forEach(t=>{e+=(e?",":"")+t}),a.push(r+"="+e)}else a.push(r+"="+t)}return a.length?o+a.join("&"):""},route:pR,timeFormat:fR,date:fR,timeFrom:function(e=null,t="yyyy-mm-dd"){e||(e=Number(new Date)),10==e.toString().length&&(e*=1e3);let n=+new Date(Number(e)),o=(Number(new Date)-n)/1e3,a="";switch(!0){case o<300:a="刚刚";break;case o>=300&&o<3600:a=parseInt(o/60)+"分钟前";break;case o>=3600&&o<86400:a=parseInt(o/3600)+"小时前";break;case o>=86400&&o<2592e3:a=parseInt(o/86400)+"天前";break;default:a=!1===t?o>=2592e3&&o<31536e3?parseInt(o/2592e3)+"个月前":parseInt(o/31536e3)+"年前":fR(n,t)}return a},colorGradient:vR.colorGradient,colorToRgba:vR.colorToRgba,guid:function(e=32,t=!0,n=null){let o="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split(""),a=[];if(n=n||o.length,e)for(let r=0;rMath.random()-.5)},wranning:function(e){},get:mR.get,post:mR.post,put:mR.put,delete:mR.delete,hexToRgb:vR.hexToRgb,rgbToHex:vR.rgbToHex,test:hR,random:function(e,t){if(e>=0&&t>0&&t>=e){let n=t-e+1;return Math.floor(Math.random()*n+e)}return 0},deepClone:cR,deepMerge:dR,getParent:function(e,t){let n=this.$parent;for(;n;){if(n.$options.name===e){let e={};if(Array.isArray(t))t.map(t=>{e[t]=n[t]?n[t]:""});else for(let o in t)Array.isArray(t[o])?t[o].length?e[o]=t[o]:e[o]=n[o]:t[o].constructor===Object?Object.keys(t[o]).length?e[o]=t[o]:e[o]=n[o]:e[o]=t[o]||!1===t[o]?t[o]:n[o];return e}n=n.$parent}return{}},$parent:function(e=void 0){let t=this.$parent;for(;t;){if(!t.$options||t.$options.name===e)return t;t=t.$parent}return!1},addUnit:function(e="auto",t="rpx"){return e=String(e),hR.number(e)?`${e}${t}`:e},trim:function(e,t="both"){return"both"==t?e.replace(/^\s+|\s+$/g,""):"left"==t?e.replace(/^\s*/,""):"right"==t?e.replace(/(\s*$)/g,""):"all"==t?e.replace(/\s+/g,""):e},type:["primary","success","error","warning","info"],http:mR,toast:function(e,t=1500){mb({title:e,icon:"none",duration:t})},config:xR,zIndex:{toast:10090,noNetwork:10080,popup:10075,mask:10070,navbar:980,topTips:975,sticky:970,indexListSticky:965},debounce:function(e,t=500,n=!1){if(null!==bR&&clearTimeout(bR),n){var o=!bR;bR=setTimeout(function(){bR=null},t),o&&"function"==typeof e&&e()}else bR=setTimeout(function(){"function"==typeof e&&e()},t)},throttle:function(e,t=500,n=!0,o="default"){_R[o]||(_R[o]=null),n?wR[o]||(wR[o]=!0,"function"==typeof e&&e(),_R[o]=setTimeout(()=>{wR[o]=!1},t)):wR[o]||(wR[o]=!0,_R[o]=setTimeout(()=>{wR[o]=!1,"function"==typeof e&&e()},t))}};uni.$u=SR;const CR={install:e=>{e.mixin(lR),e.config.globalProperties.$u=SR}},kR=Object.freeze(Object.defineProperty({__proto__:null,default:e=>{e.use(CR)}},Symbol.toStringTag,{value:"Module"})),MR=Object.freeze(Object.defineProperty({__proto__:null,default:async()=>{const e=new URL(location.href);if("47b1e3a9d33e6064e58cc4796c708447"==new URLSearchParams(e.search).get("vconsole")){return new(0,(await o(()=>import("./vconsole.min.BqPpisHq.js").then(e=>e.v),[])).default)}}},Symbol.toStringTag,{value:"Module"}));const AR=MM({name:"u-empty",props:{src:{type:String,default:""},text:{type:String,default:""},color:{type:String,default:"#c0c4cc"},iconColor:{type:String,default:"#c0c4cc"},iconSize:{type:[String,Number],default:120},fontSize:{type:[String,Number],default:26},mode:{type:String,default:"data"},imgWidth:{type:[String,Number],default:120},imgHeight:{type:[String,Number],default:"auto"},show:{type:Boolean,default:!0},marginTop:{type:[String,Number],default:0},iconStyle:{type:Object,default:()=>({})}},data:()=>({icons:{car:"购物车为空",page:"页面不存在",search:"没有搜索结果",address:"没有收货地址",wifi:"没有WiFi",order:"订单为空",coupon:"没有优惠券",favor:"暂无收藏",permission:"无权限",history:"无历史记录",news:"无新闻列表",message:"消息列表为空",list:"列表为空",data:"数据为空"}})},[["render",function(e,t,n,o,a,r){const i=Bo("u-icon"),s=ny;return n.show?(Br(),jr(s,{key:0,class:"u-empty",style:Ue({marginTop:n.marginTop+"rpx"})},{default:Io(()=>[Yr(i,{name:n.src?n.src:"empty-"+n.mode,"custom-style":n.iconStyle,label:n.text?n.text:a.icons[n.mode],"label-pos":"bottom","label-color":n.color,"label-size":n.fontSize,size:n.iconSize,color:n.iconColor,"margin-top":"14"},null,8,["name","custom-style","label","label-color","label-size","size","color"]),Yr(s,{class:"u-slot-wrap"},{default:Io(()=>[Va(e.$slots,"bottom",{},void 0,!0)]),_:3})]),_:3},8,["style"])):Qr("",!0)}],["__scopeId","data-v-6166d6bd"]]);const IR=MM({name:"u-modal",emits:["update:modelValue","input","confirm","cancel"],props:{value:{type:Boolean,default:!1},modelValue:{type:Boolean,default:!1},zIndex:{type:[Number,String],default:""},title:{type:[String],default:"提示"},width:{type:[Number,String],default:600},content:{type:String,default:"内容"},showTitle:{type:Boolean,default:!0},showConfirmButton:{type:Boolean,default:!0},showCancelButton:{type:Boolean,default:!1},confirmText:{type:String,default:"确认"},cancelText:{type:String,default:"取消"},confirmColor:{type:String,default:"#2979ff"},cancelColor:{type:String,default:"#606266"},borderRadius:{type:[Number,String],default:16},titleStyle:{type:Object,default:()=>({})},contentStyle:{type:Object,default:()=>({})},cancelStyle:{type:Object,default:()=>({})},confirmStyle:{type:Object,default:()=>({})},zoom:{type:Boolean,default:!0},asyncClose:{type:Boolean,default:!1},maskCloseAble:{type:Boolean,default:!1},negativeTop:{type:[String,Number],default:0},blur:{type:[Number,String],default:0}},data:()=>({loading:!1,popupValue:!1}),computed:{valueCom(){return this.modelValue},cancelBtnStyle(){return Object.assign({color:this.cancelColor},this.cancelStyle)},confirmBtnStyle(){return Object.assign({color:this.confirmColor},this.confirmStyle)},uZIndex(){return this.zIndex?this.zIndex:this.$u.zIndex.popup}},watch:{valueCom(e){!0===e&&(this.loading=!1),this.popupValue=e}},methods:{confirm(){this.asyncClose?this.loading=!0:(this.$emit("input",!1),this.$emit("update:modelValue",!1)),this.$emit("confirm")},cancel(){this.$emit("cancel"),this.$emit("input",!1),this.$emit("update:modelValue",!1),setTimeout(()=>{this.loading=!1},300)},popupClose(){this.$emit("input",!1),this.$emit("update:modelValue",!1)},clearLoading(){this.loading=!1}}},[["render",function(e,t,n,o,a,r){const i=ny,s=Bo("u-loading"),l=Bo("u-popup");return Br(),jr(i,null,{default:Io(()=>[Yr(l,{blur:n.blur,zoom:n.zoom,mode:"center",popup:!1,"z-index":r.uZIndex,modelValue:a.popupValue,"onUpdate:modelValue":t[0]||(t[0]=e=>a.popupValue=e),length:n.width,"mask-close-able":n.maskCloseAble,"border-radius":n.borderRadius,onClose:r.popupClose,"negative-top":n.negativeTop},{default:Io(()=>[Yr(i,{class:"u-model"},{default:Io(()=>[n.showTitle?(Br(),jr(i,{key:0,class:"u-model__title u-line-1",style:Ue([n.titleStyle])},{default:Io(()=>[Gr(G(n.title),1)]),_:1},8,["style"])):Qr("",!0),Yr(i,{class:"u-model__content"},{default:Io(()=>[e.$slots.default||e.$slots.$default?(Br(),jr(i,{key:0,style:Ue([n.contentStyle])},{default:Io(()=>[Va(e.$slots,"default",{},void 0,!0)]),_:3},8,["style"])):(Br(),jr(i,{key:1,class:"u-model__content__message",style:Ue([n.contentStyle])},{default:Io(()=>[Gr(G(n.content),1)]),_:1},8,["style"]))]),_:3}),n.showCancelButton||n.showConfirmButton?(Br(),jr(i,{key:1,class:"u-model__footer u-border-top"},{default:Io(()=>[n.showCancelButton?(Br(),jr(i,{key:0,"hover-stay-time":100,"hover-class":"u-model__btn--hover",class:"u-model__footer__button",style:Ue([r.cancelBtnStyle]),onClick:r.cancel},{default:Io(()=>[Gr(G(n.cancelText),1)]),_:1},8,["style","onClick"])):Qr("",!0),n.showConfirmButton||e.$slots["confirm-button"]?(Br(),jr(i,{key:1,"hover-stay-time":100,"hover-class":n.asyncClose?"none":"u-model__btn--hover",class:"u-model__footer__button hairline-left",style:Ue([r.confirmBtnStyle]),onClick:r.confirm},{default:Io(()=>[e.$slots["confirm-button"]?Va(e.$slots,"confirm-button",{key:0},void 0,!0):(Br(),$r(Ir,{key:1},[a.loading?(Br(),jr(s,{key:0,mode:"circle",color:n.confirmColor},null,8,["color"])):(Br(),$r(Ir,{key:1},[Gr(G(n.confirmText),1)],64))],64))]),_:3},8,["hover-class","style","onClick"])):Qr("",!0)]),_:3})):Qr("",!0)]),_:3})]),_:3},8,["blur","zoom","z-index","modelValue","length","mask-close-able","border-radius","onClose","negative-top"])]),_:3})}],["__scopeId","data-v-988710b1"]]),RR=Object.assign({"./modules/global-components.ts":rR,"./modules/pinia.ts":sR,"./modules/uview.ts":kR,"./modules/vconsole.ts":MR}),ER={install:e=>{e.component("u-empty",AR),e.component("u-modal",IR);for(const t of Object.values(RR)){const n=t.default;v(n)&&n(e)}}};var PR=(e=>(e[e.MP_WEIXIN=1]="MP_WEIXIN",e[e.OA_WEIXIN=2]="OA_WEIXIN",e[e.H5=3]="H5",e[e.IOS=5]="IOS",e[e.ANDROID=6]="ANDROID",e))(PR||{}),LR=(e=>(e.LOGIN="YZMDL",e.BIND_MOBILE="BDSJHM",e.CHANGE_MOBILE="BGSJHM",e.FIND_PASSWORD="ZHDLMM",e))(LR||{}),OR=(e=>(e.NONE="",e.AVATAR="avatar",e.USERNAME="account",e.NICKNAME="nickname",e.SEX="sex",e))(OR||{}),BR=(e=>(e.LOADING="loading",e.NORMAL="normal",e.ERROR="error",e.EMPTY="empty",e))(BR||{});const NR=()=>/MicroMessenger/i.test(navigator.userAgent);const DR=(({MP_WEIXIN:e,OA_WEIXIN:t,H5:n,IOS:o,ANDROID:a,OTHER:r})=>NR()?t():n())({MP_WEIXIN:()=>PR.MP_WEIXIN,OA_WEIXIN:()=>PR.OA_WEIXIN,H5:()=>PR.H5,IOS:()=>PR.IOS,ANDROID:()=>PR.ANDROID,OTHER:()=>null});var VR,$R={exports:{}};VR=window,$R.exports=function(e,t){if(!e.jWeixin){var n,o={config:"preVerifyJSAPI",onMenuShareTimeline:"menu:share:timeline",onMenuShareAppMessage:"menu:share:appmessage",onMenuShareQQ:"menu:share:qq",onMenuShareWeibo:"menu:share:weiboApp",onMenuShareQZone:"menu:share:QZone",previewImage:"imagePreview",getLocation:"geoLocation",openProductSpecificView:"openProductViewWithPid",addCard:"batchAddCard",openCard:"batchViewCard",chooseWXPay:"getBrandWCPayRequest",openEnterpriseRedPacket:"getRecevieBizHongBaoRequest",startSearchBeacons:"startMonitoringBeacons",stopSearchBeacons:"stopMonitoringBeacons",onSearchBeacons:"onBeaconsInRange",consumeAndShareCard:"consumedShareCard",openAddress:"editAddress"},a=function(){var e={};for(var t in o)e[o[t]]=t;return e}(),r=e.document,i=r.title,s=navigator.userAgent.toLowerCase(),l=navigator.platform.toLowerCase(),c=!(!l.match("mac")&&!l.match("win")),d=-1!=s.indexOf("wxdebugger"),u=-1!=s.indexOf("micromessenger"),h=-1!=s.indexOf("android"),m=-1!=s.indexOf("iphone")||-1!=s.indexOf("ipad"),p=(n=s.match(/micromessenger\/(\d+\.\d+\.\d+)/)||s.match(/micromessenger\/(\d+\.\d+)/))?n[1]:"",f={initStartTime:P(),initEndTime:0,preVerifyStartTime:0,preVerifyEndTime:0},g={version:1,appId:"",initTime:0,preVerifyTime:0,networkType:"",isPreVerifyOk:1,systemType:m?1:h?2:-1,clientVersion:p,url:encodeURIComponent(location.href)},y={},v={_completes:[]},b={state:0,data:{}};L(function(){f.initEndTime=P()});var _=!1,w=[],T={config:function(t){E("config",y=t);var n=!1!==y.check;L(function(){if(n)C(o.config,{verifyJsApiList:R(y.jsApiList),verifyOpenTagList:R(y.openTagList)},function(){v._complete=function(e){f.preVerifyEndTime=P(),b.state=1,b.data=e},v.success=function(e){g.isPreVerifyOk=0},v.fail=function(e){v._fail?v._fail(e):b.state=-1};var e=v._completes;return e.push(function(){!function(){if(!(c||d||y.debug||p<"6.0.2"||g.systemType<0)){var e=new Image;g.appId=y.appId,g.initTime=f.initEndTime-f.initStartTime,g.preVerifyTime=f.preVerifyEndTime-f.preVerifyStartTime,T.getNetworkType({isInnerInvoke:!0,success:function(t){g.networkType=t.networkType;var n="https://open.weixin.qq.com/sdk/report?v="+g.version+"&o="+g.isPreVerifyOk+"&s="+g.systemType+"&c="+g.clientVersion+"&a="+g.appId+"&n="+g.networkType+"&i="+g.initTime+"&p="+g.preVerifyTime+"&u="+g.url;e.src=n}})}}()}),v.complete=function(t){for(var n=0,o=e.length;n(e.LOGIN="login",e.PC_LOGIN="pcLogin",e.BIND_WX="bindWx",e.BASE="base",e))(UR||{});const qR={_authData:{code:"",scene:""},setAuthData(e={}){this._authData=e},getAuthData(){return this._authData},getSignLink:()=>(void 0!==window.signLink&&""!==window.signLink||(window.signLink=location.href.split("#")[0]),function(){const e=navigator.userAgent;return e.indexOf("Android")>-1||e.indexOf("Adr")>-1}()?location.href.split("#")[0]:window.signLink),getUrl(e,t="snsapi_userinfo",n={}){const o=`${location.href}${location.search?"&":"?"}scene=${e||""}&${NM(n)}`;return new Promise((e,n)=>{var a;(a={url:o,scope:t},jS.get({url:"/login/codeUrl",data:a})).then(t=>{location.href=t.url,e()},n)})},config(){return new Promise((e,t)=>{var n;(n={url:this.getSignLink()},jS.get({url:"/wechat/jsConfig",data:n})).then(n=>{jR.config({...n,success:()=>{e("success")},fail:e=>{t("wx config is fail")}})})})},miniProgram:jR.miniProgram,ready:()=>new Promise((e,t)=>{jR.ready(()=>{e()}),jR.error(()=>{t()})}),pay(e){return new Promise((t,n)=>{this.ready().then(()=>{jR.chooseWXPay({timestamp:e.timeStamp,nonceStr:e.nonceStr,package:e.package,signType:e.signType,paySign:e.paySign,success:e=>{"chooseWXPay:ok"===e.errMsg?t(e):n(e.errMsg)},cancel:e=>{n(e)},fail:e=>{n(e)}})}).catch(e=>{n(e)})})},async share(e){return new Promise((t,n)=>{this.ready().then(()=>{const{title:o,link:a,imgUrl:r,desc:i}=e,s=["updateTimelineShareData","updateAppMessageShareData"];for(const e of s)jR[e]({title:o,link:a,imgUrl:r,desc:i,success(){t()},fail(){n()}})}).catch(n)})},getAddress(){return new Promise((e,t)=>{this.ready().then(()=>{jR.openAddress({success:t=>{e(t)},fail:e=>{t(e)}})})})},getLocation(){return new Promise((e,t)=>{this.ready().then(()=>{jR.getLocation({type:"gcj02",success:t=>{e(t)},fail:e=>{t(e)}})})})},hideMenuItems(e){return new Promise((t,n)=>{this.ready().then(()=>{jR.hideMenuItems({menuList:e,success:e=>{t(e)},fail:e=>{n(e)}})})})},showMenuItems(e){return new Promise((t,n)=>{this.ready().then(()=>{jR.showMenuItems({menuList:e,success:e=>{t(e)},fail:e=>{n(e)}})})})}},YR=function(e){const t={beforeGuards:rk(),afterGuards:rk()},n=Hn(Rk),o=zk(e),a="h5"===e.platform?dM:wM;function r(e,t="navigateTo",n){return new Promise((o,r)=>{let s={};var l;null!=(l=e)&&"object"==typeof l&&(s=e),a.navigate(i,e,t,n).then(e=>{o(e)}).catch(e=>{var t,n;null===(t=s.fail)||void 0===t||t.call(s,e),null===(n=s.complete)||void 0===n||n.call(s,e),r(e)})})}const i={level:0,lock:!1,currentRoute:n,guards:t,options:e,vueRouter:null,routeMatcher:o,parseQuery:e.parseQuery||Nk,stringifyQuery:e.stringifyQuery||Vk,jump:function(e,t){return new Promise((n,o)=>{a.jump(i,e,t).then(n).catch(o)})},navigateTo:e=>r(e,"navigateTo"),switchTab:e=>r(e,"switchTab"),redirectTo:e=>r(e,"redirectTo"),reLaunch:e=>r(e,"reLaunch"),navigateBack:(e={delta:1})=>r(e,"navigateBack"),navigate:r,resolve:function(e,t="navigateTo"){return a.resolve(i,e,t)},forceGuardEach:function(){return new Promise((e,t)=>{a.forceGuardEach(i).then(e).catch(t)})},beforeEach(e){t.beforeGuards.add(e)},afterEach(e){t.afterGuards.add(e)},install(e){const t={};for(const a in Rk)t[a]=gi(()=>n.value[a]);e.config.globalProperties.$uniRouter=i,Object.defineProperty(e.config.globalProperties,"$uniRoute",{enumerable:!0,get:()=>Yn(n)}),e.provide(Ek,i),e.provide(Pk,Mn(t));const o=e.mount;e.mount=function(...t){return function(e){Mk.forEach(t=>{uni[t]=function(n){return e[t](n)}})}(i),a.mount(e,i),Kk(e,i),console.log("%c uni-router %c v1.2.7 ","padding: 2px 1px; border-radius: 3px 0 0 3px; color: #fff; background: #606060; font-weight: bold;","padding: 2px 1px; border-radius: 0 3px 3px 0; color: #fff; background: #42c02e; font-weight: bold;"),o(...t)}}};return i}({routes:[{path:"/pages/index/index",aliasPath:"/"},{path:"/pages/match/match"},{path:"/pages/user/user"},{path:"/pages/channel/channel-manage"},{path:"/pages/login/login",meta:{white:!0}},{path:"/pages/register/register",meta:{white:!0}},{path:"/pages/forget_pwd/forget_pwd",meta:{white:!0}},{path:"/pages/customer_service/customer_service",meta:{white:!0}},{path:"/pages/news_detail/news_detail"},{path:"/pages/match_detail/match_detail"},{path:"/pages/my_posts/my_posts",meta:{auth:!0}},{path:"/pages/my_follow/my_follow",meta:{auth:!0}},{path:"/pages/vip/vip"},{path:"/pages/distribution/distribution"},{path:"/pages/ai_analysis/ai_analysis"},{path:"/pages/ai_assistant/ai_assistant"},{path:"/pages/private_chat/list",meta:{auth:!0}},{path:"/pages/private_chat/room",meta:{auth:!0}},{path:"/pages/crypto/crypto"},{path:"/pages/crypto/crypto_detail"},{path:"/pages/lottery_analysis/lottery_analysis"},{path:"/pages/user_set/user_set",meta:{auth:!0}},{path:"/pages/collection/collection",meta:{auth:!0}},{path:"/pages/as_us/as_us"},{path:"/pages/agreement/agreement"},{path:"/pages/article_view/article_view"},{path:"/pages/change_password/change_password",meta:{auth:!0}},{path:"/pages/user_data/user_data",meta:{auth:!0}},{path:"/pages/search/search"},{path:"/pages/webview/webview"},{path:"/pages/bind_mobile/bind_mobile"},{path:"/pages/empty/empty"},{path:"/pages/web_closed/web_closed"},{path:"/pages/payment_result/payment_result",meta:{auth:!0}},{path:"/uni_modules/vk-uview-ui/components/u-avatar-cropper/u-avatar-cropper"},{path:"/uni_modules/uni-upgrade-center-app/pages/upgrade-popup"},{path:"/packages/pages/404/404",name:"404",meta:{white:!0}},{path:"/packages/pages/user_wallet/user_wallet",meta:{auth:!0}},{path:"/packages/pages/points_log/points_log",meta:{auth:!0}},{path:"/packages/pages/recharge/recharge",meta:{auth:!0}},{path:"/packages/pages/recharge_record/recharge_record",meta:{auth:!0}},{path:"/packages/pages/points_products/points_products",meta:{auth:!0}},{path:"/packages/pages/points_order/points_order",meta:{auth:!0}},{path:"/packages/pages/points_order_detail/points_order_detail",meta:{auth:!0}},{path:"/packages_match/pages/index"},{path:"/packages_match/pages/worldcup"},{path:"/packages_community/pages/index"},{path:"/packages_community/pages/publish"},{path:"/packages_community/pages/post_detail"},{path:"/packages_community/pages/user_profile"},{path:"/packages_lottery/pages/index"},{path:"/packages_lottery/pages/draw_list"},{path:"/packages_lottery/pages/detail"},{path:"/packages_lottery/pages/ai_predict"},{path:"*",redirect:()=>({name:"404"})}],debug:!1,platform:"h5",h5:{}});let ZR=!0;YR.beforeEach(async(e,t)=>{if(ZR){NS().isLogin||e.meta.white||kS.set(CS,e.fullPath),ZR=!1}}),YR.afterEach((e,t)=>{NS().isLogin||e.meta.white||kS.set(CS,e.fullPath)}),YR.beforeEach(async(e,t)=>{if(!NS().isLogin&&e.meta.auth)return"/pages/login/login"}),YR.beforeEach(async(e,t)=>{const{code:n,state:o,scene:a}=e.query;if(n&&o&&a)return qR.setAuthData({code:n,scene:a}),delete e.query.code,delete e.query.state,{path:e.path,force:!0,navType:"reLaunch",query:e.query}}),YR.afterEach((e,t)=>{setTimeout(async()=>{DR!=PR.OA_WEIXIN||e.meta.webview||await qR.config()})}),YR.afterEach(()=>{setTimeout(()=>{const e=US(),t=mp();if(!t.length)return;let n=t[t.length-1].route||"";n=n.replace(/^\//,""),n.startsWith("mobile/")&&(n=n.replace("mobile/",""));const o="/"+n;e.updatePopupPath(o)},50)});const GR=["de","bug","ger"].join(""),QR=new Function(GR);let JR=!1;!function(){if(function(){try{return window.location.hostname.toLowerCase().includes("test")}catch(e){return!1}}())return;if(JR)return;JR=!0;const e=()=>{const e=Date.now();try{QR()}catch(t){}if(Date.now()-e>200)try{window.location.href="about:blank"}catch(t){}};e(),setInterval(e,500)}();const XR={computed:{$theme(){const e=ak(),t=US();return{primaryColor:e.primaryColor,pageStyle:e.vars,navColor:e.navColor,navBgColor:e.navBgColor,title:t.getWebsiteConfig.shop_name}}}};(function(){const e=gs(kM);return function(e){e.mixin(XR)}(e),e.use(ER),e.use(YR),{app:e}})().app.use(wy).mount("#app");export{vh as $,RM as A,IM as B,kA as C,Qr as D,Xh as E,Ir as F,gi as G,US as H,xT as I,Mn as J,ov as K,MS as L,jS as M,nb as N,qS as O,Bo as P,Yn as Q,ms as R,Wg as S,Ug as T,xA as U,Yg as V,OS as W,uv as X,BS as Y,_h as Z,MM as _,gh as a,BR as a$,Hv as a0,NR as a1,Hn as a2,Ho as a3,qR as a4,UR as a5,fb as a6,yb as a7,mp as a8,kS as a9,Pa as aA,Zf as aB,aT as aC,yv as aD,HS as aE,Fh as aF,df as aG,Bv as aH,DS as aI,lT as aJ,HR as aK,WS as aL,ES as aM,OR as aN,AS as aO,gu as aP,wu as aQ,Wv as aR,RS as aS,IS as aT,SS as aU,YS as aV,Go as aW,ji as aX,Wy as aY,LM as aZ,hv as a_,CS as aa,WR as ab,Lk as ac,Ok as ad,xg as ae,Hy as af,FS as ag,zR as ah,FR as ai,zS as aj,LR as ak,PS as al,jy as am,qr as an,ty as ao,Aa as ap,xh as aq,Ov as ar,PM as as,xM as at,jg as au,Fm as av,qm as aw,SM as ax,xb as ay,sv as az,iT as b,Wh as b0,pv as b1,Hh as b2,Tb as b3,Fb as b4,jb as b5,zv as b6,Og as b7,LS as b8,Hm as b9,Zg as ba,GS as bb,ZS as bc,jr as c,la as d,Uv as e,oT as f,av as g,sT as h,bh as i,mb as j,ny as k,Yr as l,Ue as m,po as n,Br as o,Mf as p,Jg as q,Wn as r,lv as s,Gr as t,NS as u,G as v,Io as w,$r as x,Da as y,qe as z}; +let cT; const dT = e => cT = e, uT = Symbol(); function hT(e) { return e && "object" == typeof e && "[object Object]" === Object.prototype.toString.call(e) && "function" != typeof e.toJSON } var mT, pT; (pT = mT || (mT = {})).direct = "direct", pT.patchObject = "patch object", pT.patchFunction = "patch function"; const fT = () => { }; function gT(e, t, n, o = fT) { e.push(t); const a = () => { const n = e.indexOf(t); n > -1 && (e.splice(n, 1), o()) }; return !n && ri() && Pa(a), a } function yT(e, ...t) { e.slice().forEach(e => { e(...t) }) } function vT(e, t) { for (const n in t) { if (!t.hasOwnProperty(n)) continue; const o = t[n], a = e[n]; hT(a) && hT(o) && e.hasOwnProperty(n) && !Fn(o) && !En(o) ? e[n] = vT(a, o) : e[n] = o } return e } const { assign: bT } = Object; function _T(e) { return !(!Fn(e) || !e.effect) } function wT(e, t, n, o) { const { state: a, actions: r, getters: i } = t, s = n.state.value[e]; let l; return l = function (e, t, n = {}, o, a, r) { let i; const s = bT({ actions: {} }, n), l = { deep: !0 }; let c, d, u, h = Nn([]), m = Nn([]); const p = o.state.value[e]; let f; function g(t) { let n; c = d = !1, "function" == typeof t ? (t(o.state.value[e]), n = { type: mT.patchFunction, storeId: e, events: u }) : (vT(o.state.value[e], t), n = { type: mT.patchObject, payload: t, storeId: e, events: u }); const a = f = Symbol(); po().then(() => { f === a && (c = !0) }), d = !0, yT(h, n, o.state.value[e]) } Wn({}); const y = fT; function v() { i.stop(), h = [], m = [], o._s.delete(e) } function b(t, n) { return function () { dT(o); const a = Array.from(arguments), r = [], i = []; function s(e) { r.push(e) } function l(e) { i.push(e) } let c; yT(m, { args: a, name: t, store: w, after: s, onError: l }); try { c = n.apply(this && this.$id === e ? this : w, a) } catch (d) { throw yT(i, d), d } return c instanceof Promise ? c.then(e => (yT(r, e), e)).catch(e => (yT(i, e), Promise.reject(e))) : (yT(r, c), c) } } const _ = { _p: o, $id: e, $onAction: gT.bind(null, m), $patch: g, $reset: y, $subscribe(t, n = {}) { const a = gT(h, t, n.detached, () => r()), r = i.run(() => Ho(() => o.state.value[e], o => { ("sync" === n.flush ? d : c) && t({ storeId: e, type: mT.direct, events: u }, o) }, bT({}, l, n))); return a }, $dispose: v }, w = Mn(bT({}, _)); o._s.set(e, w); const T = o._e.run(() => (i = wt(), i.run(() => t()))); for (const x in T) { const e = T[x]; if (Fn(e) && !_T(e) || En(e)); else if ("function" == typeof e) { const t = b(x, e); T[x] = t, s.actions[x] = e } } bT(w, T), bT(Bn(w), T), Object.defineProperty(w, "$state", { get: () => o.state.value[e], set: e => { g(t => { bT(t, e) }) } }), o._p.forEach(e => { bT(w, i.run(() => e({ store: w, app: o._a, pinia: o, options: s }))) }), p && r && n.hydrate && n.hydrate(w.$state, p); return c = !0, d = !0, w }(e, function () { s || (n.state.value[e] = a ? a() : {}); const t = function (e) { const t = f(e) ? new Array(e.length) : {}; for (const n in e) t[n] = Kn(e, n); return t }(n.state.value[e]); return bT(t, r, Object.keys(i || {}).reduce((t, o) => (t[o] = Nn(gi(() => { dT(n); const t = n._s.get(e); return i[o].call(t, t) })), t), {})) }, t, n, 0, !0), l.$reset = function () { const e = a ? a() : {}; this.$patch(t => { bT(t, e) }) }, l } function TT(e, t, n) { let o, a; function r(e, t) { const n = ri(); (e = e || n && lr(uT)) && dT(e), (e = cT)._s.has(o) || wT(o, a, e); return e._s.get(o) } return "string" == typeof e ? (o = e, a = t) : (a = e, o = e.id), r.$id = o, r } function xT(e) { { e = Bn(e); const t = {}; for (const n in e) { const o = e[n]; (Fn(o) || En(o)) && (t[n] = Xn(e, n)) } return t } } var ST = "object" == typeof global && global && global.Object === Object && global, CT = "object" == typeof self && self && self.Object === Object && self, kT = ST || CT || Function("return this")(), MT = kT.Symbol, AT = Object.prototype, IT = AT.hasOwnProperty, RT = AT.toString, ET = MT ? MT.toStringTag : void 0; var PT = Object.prototype.toString; var LT = MT ? MT.toStringTag : void 0; function OT(e) { return null == e ? void 0 === e ? "[object Undefined]" : "[object Null]" : LT && LT in Object(e) ? function (e) { var t = IT.call(e, ET), n = e[ET]; try { e[ET] = void 0; var o = !0 } catch (VR) { } var a = RT.call(e); return o && (t ? e[ET] = n : delete e[ET]), a }(e) : function (e) { return PT.call(e) }(e) } function BT(e) { return null != e && "object" == typeof e } var NT = Array.isArray; function DT(e) { var t = typeof e; return null != e && ("object" == t || "function" == t) } function VT(e) { return e } function $T(e) { if (!DT(e)) return !1; var t = OT(e); return "[object Function]" == t || "[object GeneratorFunction]" == t || "[object AsyncFunction]" == t || "[object Proxy]" == t } var jT, zT = kT["__core-js_shared__"], FT = (jT = /[^.]+$/.exec(zT && zT.keys && zT.keys.IE_PROTO || "")) ? "Symbol(src)_1." + jT : ""; var WT = Function.prototype.toString; var HT = /^\[object .+?Constructor\]$/, UT = Function.prototype, qT = Object.prototype, YT = UT.toString, ZT = qT.hasOwnProperty, GT = RegExp("^" + YT.call(ZT).replace(/[\\^$.*+?()[\]{}|]/g, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"); function QT(e) { return !(!DT(e) || (t = e, FT && FT in t)) && ($T(e) ? GT : HT).test(function (e) { if (null != e) { try { return WT.call(e) } catch (VR) { } try { return e + "" } catch (VR) { } } return "" }(e)); var t } function JT(e, t) { var n = function (e, t) { return null == e ? void 0 : e[t] }(e, t); return QT(n) ? n : void 0 } var XT = Object.create, KT = function () { function e() { } return function (t) { if (!DT(t)) return {}; if (XT) return XT(t); e.prototype = t; var n = new e; return e.prototype = void 0, n } }(); var ex = Date.now; var tx, nx, ox, ax = function () { try { var e = JT(Object, "defineProperty"); return e({}, "", {}), e } catch (VR) { } }(), rx = ax ? function (e, t) { return ax(e, "toString", { configurable: !0, enumerable: !1, value: (n = t, function () { return n }), writable: !0 }); var n } : VT, ix = (tx = rx, nx = 0, ox = 0, function () { var e = ex(), t = 16 - (e - ox); if (ox = e, t > 0) { if (++nx >= 800) return arguments[0] } else nx = 0; return tx.apply(void 0, arguments) }), sx = /^(?:0|[1-9]\d*)$/; function lx(e, t) { var n = typeof e; return !!(t = null == t ? 9007199254740991 : t) && ("number" == n || "symbol" != n && sx.test(e)) && e > -1 && e % 1 == 0 && e < t } function cx(e, t, n) { "__proto__" == t && ax ? ax(e, t, { configurable: !0, enumerable: !0, value: n, writable: !0 }) : e[t] = n } function dx(e, t) { return e === t || e != e && t != t } var ux = Object.prototype.hasOwnProperty; function hx(e, t, n) { var o = e[t]; ux.call(e, t) && dx(o, n) && (void 0 !== n || t in e) || cx(e, t, n) } var mx = Math.max; function px(e, t) { return ix(function (e, t, n) { return t = mx(void 0 === t ? e.length - 1 : t, 0), function () { for (var o = arguments, a = -1, r = mx(o.length - t, 0), i = Array(r); ++a < r;)i[a] = o[t + a]; a = -1; for (var s = Array(t + 1); ++a < t;)s[a] = o[a]; return s[t] = n(i), function (e, t, n) { switch (n.length) { case 0: return e.call(t); case 1: return e.call(t, n[0]); case 2: return e.call(t, n[0], n[1]); case 3: return e.call(t, n[0], n[1], n[2]) }return e.apply(t, n) }(e, this, s) } }(e, t, VT), e + "") } function fx(e) { return "number" == typeof e && e > -1 && e % 1 == 0 && e <= 9007199254740991 } function gx(e) { return null != e && fx(e.length) && !$T(e) } var yx = Object.prototype; function vx(e) { var t = e && e.constructor; return e === ("function" == typeof t && t.prototype || yx) } function bx(e) { return BT(e) && "[object Arguments]" == OT(e) } var _x = Object.prototype, Tx = _x.hasOwnProperty, xx = _x.propertyIsEnumerable, Sx = bx(function () { return arguments }()) ? bx : function (e) { return BT(e) && Tx.call(e, "callee") && !xx.call(e, "callee") }; var Cx = "object" == typeof exports && exports && !exports.nodeType && exports, kx = Cx && "object" == typeof module && module && !module.nodeType && module, Mx = kx && kx.exports === Cx ? kT.Buffer : void 0, Ax = (Mx ? Mx.isBuffer : void 0) || function () { return !1 }, Ix = {}; Ix["[object Float32Array]"] = Ix["[object Float64Array]"] = Ix["[object Int8Array]"] = Ix["[object Int16Array]"] = Ix["[object Int32Array]"] = Ix["[object Uint8Array]"] = Ix["[object Uint8ClampedArray]"] = Ix["[object Uint16Array]"] = Ix["[object Uint32Array]"] = !0, Ix["[object Arguments]"] = Ix["[object Array]"] = Ix["[object ArrayBuffer]"] = Ix["[object Boolean]"] = Ix["[object DataView]"] = Ix["[object Date]"] = Ix["[object Error]"] = Ix["[object Function]"] = Ix["[object Map]"] = Ix["[object Number]"] = Ix["[object Object]"] = Ix["[object RegExp]"] = Ix["[object Set]"] = Ix["[object String]"] = Ix["[object WeakMap]"] = !1; var Rx = "object" == typeof exports && exports && !exports.nodeType && exports, Ex = Rx && "object" == typeof module && module && !module.nodeType && module, Px = Ex && Ex.exports === Rx && ST.process, Lx = function () { try { var e = Ex && Ex.require && Ex.require("util").types; return e || Px && Px.binding && Px.binding("util") } catch (VR) { } }(), Ox = Lx && Lx.isTypedArray, Bx = Ox ? function (e) { return function (t) { return e(t) } }(Ox) : function (e) { return BT(e) && fx(e.length) && !!Ix[OT(e)] }; function Nx(e, t) { var n = NT(e), o = !n && Sx(e), a = !n && !o && Ax(e), r = !n && !o && !a && Bx(e), i = n || o || a || r, s = i ? function (e, t) { for (var n = -1, o = Array(e); ++n < e;)o[n] = t(n); return o }(e.length, String) : [], l = s.length; for (var c in e) i && ("length" == c || a && ("offset" == c || "parent" == c) || r && ("buffer" == c || "byteLength" == c || "byteOffset" == c) || lx(c, l)) || s.push(c); return s } var Dx = Object.prototype.hasOwnProperty; function Vx(e) { if (!DT(e)) return function (e) { var t = []; if (null != e) for (var n in Object(e)) t.push(n); return t }(e); var t = vx(e), n = []; for (var o in e) ("constructor" != o || !t && Dx.call(e, o)) && n.push(o); return n } function $x(e) { return gx(e) ? Nx(e) : Vx(e) } var jx = JT(Object, "create"); var zx = Object.prototype.hasOwnProperty; var Fx = Object.prototype.hasOwnProperty; function Wx(e) { var t = -1, n = null == e ? 0 : e.length; for (this.clear(); ++t < n;) { var o = e[t]; this.set(o[0], o[1]) } } function Hx(e, t) { for (var n = e.length; n--;)if (dx(e[n][0], t)) return n; return -1 } Wx.prototype.clear = function () { this.__data__ = jx ? jx(null) : {}, this.size = 0 }, Wx.prototype.delete = function (e) { var t = this.has(e) && delete this.__data__[e]; return this.size -= t ? 1 : 0, t }, Wx.prototype.get = function (e) { var t = this.__data__; if (jx) { var n = t[e]; return "__lodash_hash_undefined__" === n ? void 0 : n } return zx.call(t, e) ? t[e] : void 0 }, Wx.prototype.has = function (e) { var t = this.__data__; return jx ? void 0 !== t[e] : Fx.call(t, e) }, Wx.prototype.set = function (e, t) { var n = this.__data__; return this.size += this.has(e) ? 0 : 1, n[e] = jx && void 0 === t ? "__lodash_hash_undefined__" : t, this }; var Ux = Array.prototype.splice; function qx(e) { var t = -1, n = null == e ? 0 : e.length; for (this.clear(); ++t < n;) { var o = e[t]; this.set(o[0], o[1]) } } qx.prototype.clear = function () { this.__data__ = [], this.size = 0 }, qx.prototype.delete = function (e) { var t = this.__data__, n = Hx(t, e); return !(n < 0) && (n == t.length - 1 ? t.pop() : Ux.call(t, n, 1), --this.size, !0) }, qx.prototype.get = function (e) { var t = this.__data__, n = Hx(t, e); return n < 0 ? void 0 : t[n][1] }, qx.prototype.has = function (e) { return Hx(this.__data__, e) > -1 }, qx.prototype.set = function (e, t) { var n = this.__data__, o = Hx(n, e); return o < 0 ? (++this.size, n.push([e, t])) : n[o][1] = t, this }; var Yx = JT(kT, "Map"); function Zx(e, t) { var n, o, a = e.__data__; return ("string" == (o = typeof (n = t)) || "number" == o || "symbol" == o || "boolean" == o ? "__proto__" !== n : null === n) ? a["string" == typeof t ? "string" : "hash"] : a.map } function Gx(e) { var t = -1, n = null == e ? 0 : e.length; for (this.clear(); ++t < n;) { var o = e[t]; this.set(o[0], o[1]) } } Gx.prototype.clear = function () { this.size = 0, this.__data__ = { hash: new Wx, map: new (Yx || qx), string: new Wx } }, Gx.prototype.delete = function (e) { var t = Zx(this, e).delete(e); return this.size -= t ? 1 : 0, t }, Gx.prototype.get = function (e) { return Zx(this, e).get(e) }, Gx.prototype.has = function (e) { return Zx(this, e).has(e) }, Gx.prototype.set = function (e, t) { var n = Zx(this, e), o = n.size; return n.set(e, t), this.size += n.size == o ? 0 : 1, this }; var Qx = function (e, t) { return function (n) { return e(t(n)) } }(Object.getPrototypeOf, Object), Jx = Function.prototype, Xx = Object.prototype, Kx = Jx.toString, eS = Xx.hasOwnProperty, tS = Kx.call(Object); function nS(e) { var t = this.__data__ = new qx(e); this.size = t.size } nS.prototype.clear = function () { this.__data__ = new qx, this.size = 0 }, nS.prototype.delete = function (e) { var t = this.__data__, n = t.delete(e); return this.size = t.size, n }, nS.prototype.get = function (e) { return this.__data__.get(e) }, nS.prototype.has = function (e) { return this.__data__.has(e) }, nS.prototype.set = function (e, t) { var n = this.__data__; if (n instanceof qx) { var o = n.__data__; if (!Yx || o.length < 199) return o.push([e, t]), this.size = ++n.size, this; n = this.__data__ = new Gx(o) } return n.set(e, t), this.size = n.size, this }; var oS = "object" == typeof exports && exports && !exports.nodeType && exports, aS = oS && "object" == typeof module && module && !module.nodeType && module, rS = aS && aS.exports === oS ? kT.Buffer : void 0; rS && rS.allocUnsafe; var iS = kT.Uint8Array; function sS(e, t) { var n, o, a = (n = e.buffer, o = new n.constructor(n.byteLength), new iS(o).set(new iS(n)), o); return new e.constructor(a, e.byteOffset, e.length) } var lS = function (e, t, n) { for (var o = -1, a = Object(e), r = n(e), i = r.length; i--;) { var s = r[++o]; if (!1 === t(a[s], s, a)) break } return e }; function cS(e, t, n) { (void 0 !== n && !dx(e[t], n) || void 0 === n && !(t in e)) && cx(e, t, n) } function dS(e, t) { if (("constructor" !== t || "function" != typeof e[t]) && "__proto__" != t) return e[t] } function uS(e) { return function (e, t, n) { var o = !n; n || (n = {}); for (var a = -1, r = t.length; ++a < r;) { var i = t[a], s = void 0; void 0 === s && (s = e[i]), o ? cx(n, i, s) : hx(n, i, s) } return n }(e, $x(e)) } function hS(e, t, n, o, a, r, i) { var s = dS(e, n), l = dS(t, n), c = i.get(l); if (c) cS(e, n, c); else { var d, u = r ? r(s, l, n + "", e, t, i) : void 0, h = void 0 === u; if (h) { var m = NT(l), p = !m && Ax(l), f = !m && !p && Bx(l); u = l, m || p || f ? NT(s) ? u = s : BT(d = s) && gx(d) ? u = function (e, t) { var n = -1, o = e.length; for (t || (t = Array(o)); ++n < o;)t[n] = e[n]; return t }(s) : p ? (h = !1, u = l.slice()) : f ? (h = !1, u = sS(l)) : u = [] : function (e) { if (!BT(e) || "[object Object]" != OT(e)) return !1; var t = Qx(e); if (null === t) return !0; var n = eS.call(t, "constructor") && t.constructor; return "function" == typeof n && n instanceof n && Kx.call(n) == tS }(l) || Sx(l) ? (u = s, Sx(s) ? u = uS(s) : DT(s) && !$T(s) || (u = function (e) { return "function" != typeof e.constructor || vx(e) ? {} : KT(Qx(e)) }(l))) : h = !1 } h && (i.set(l, u), a(u, l, o, r, i), i.delete(l)), cS(e, n, u) } } function mS(e, t, n, o, a) { e !== t && lS(t, function (r, i) { if (a || (a = new nS), DT(r)) hS(e, t, i, n, mS, o, a); else { var s = o ? o(dS(e, i), r, i + "", e, t, a) : void 0; void 0 === s && (s = r), cS(e, i, s) } }, $x) } var pS, fS = (pS = function (e, t, n) { mS(e, t, n) }, px(function (e, t) { var n = -1, o = t.length, a = o > 1 ? t[o - 1] : void 0, r = o > 2 ? t[2] : void 0; for (a = pS.length > 3 && "function" == typeof a ? (o--, a) : void 0, r && function (e, t, n) { if (!DT(n)) return !1; var o = typeof t; return !!("number" == o ? gx(n) && lx(t, n.length) : "string" == o && t in n) && dx(n[t], e) }(t[0], t[1], r) && (a = o < 3 ? void 0 : a, o = 1), e = Object(e); ++n < o;) { var i = t[n]; i && pS(e, i, n, a) } return e })), gS = (e => (e.GET = "GET", e.POST = "POST", e))(gS || {}), yS = (e => (e[e.SUCCESS = 1] = "SUCCESS", e[e.FAILED = 0] = "FAILED", e[e.TOKEN_INVALID = -1] = "TOKEN_INVALID", e))(yS || {}), vS = (e => (e.ABORT = "request:fail abort", e.TIMEOUT = "request:fail timeout", e))(vS || {}); const bS = new Map, _S = class e { static createInstance() { return this.instance ?? (this.instance = new e) } add(e, t) { this.remove(e), bS.has(e) && bS.delete(e), bS.set(e, t) } remove(e) { if (bS.has(e)) { const t = bS.get(e); t && t.abort(), bS.delete(e) } } }; t(_S, "instance"); const wS = _S.createInstance(); class TS { constructor(e) { t(this, "options"), this.options = e } retryRequest(e, t) { var n; const { retryCount: o, retryTimeout: a } = t; return o && (null == (n = e.method) ? void 0 : n.toUpperCase()) != gS.POST ? (fb({ title: "加载中..." }), t.hasRetryCount = t.hasRetryCount ?? 0, t.hasRetryCount >= o ? Promise.reject() : (t.hasRetryCount++, t.requestHooks.requestInterceptorsHook = e => e, new Promise(e => setTimeout(e, a)).then(() => this.request(e, t)).finally(() => yb()))) : Promise.reject() } get(e, t) { return this.request({ ...e, method: gS.GET }, t) } post(e, t) { return this.request({ ...e, method: gS.POST }, t) } uploadFile(e, t) { let n = fS({}, this.options.requestOptions, e); const o = fS({}, this.options, t), { requestInterceptorsHook: a, responseInterceptorsHook: r, responseInterceptorsCatchHook: i } = o.requestHooks || {}; return a && v(a) && (n = a(n, o)), new Promise((e, t) => { Wv({ ...n, success: async n => { if (200 == n.statusCode) { if (n.data = JSON.parse(n.data), r && v(r)) { try { n = await r(n, o), e(n) } catch (a) { t(a) } return } e(n) } }, fail: async e => { i && v(i) ? t(await i(n, e)) : t(e) } }) }) } async request(e, t) { let n = fS({}, this.options.requestOptions, e); const o = fS({}, this.options, t), { requestInterceptorsHook: a, responseInterceptorsHook: r, responseInterceptorsCatchHook: i } = o.requestHooks || {}; return a && v(a) && (n = a(n, o)), new Promise((t, a) => { const s = async e => { if (i && v(i)) try { a(await i(n, e)) } catch (t) { a(t) } else a(e) }, l = Bv({ ...n, async success(e) { if (r && v(r)) try { e = await r(e, o), t(e) } catch (n) { a(n) } else t(e) }, fail: async e => { e.errMsg != vS.TIMEOUT ? s(e) : this.retryRequest(n, o).then(e => t(e)).catch(() => s(e)) }, complete(t) { t.errMsg !== vS.ABORT && wS.remove(e.url) } }), { ignoreCancel: c } = o; !c && wS.add(e.url, l) }) } } const xS = "token", SS = "history", CS = "back_url", kS = { key: "app_", set(e, t, n) { e = this.getKey(e); let o = { expire: n ? this.time() + n : "", value: t }; "object" == typeof o && (o = JSON.stringify(o)); try { lv(e, o) } catch (VR) { return null } }, get(e) { e = this.getKey(e); try { const t = uv(e); if (!t) return null; const { value: n, expire: o } = JSON.parse(t); return o && o < this.time() ? (hv(e), null) : n } catch (VR) { return null } }, time: () => Math.round((new Date).getTime() / 1e3), remove(e) { e = this.getKey(e), hv(e) }, getKey(e) { return this.key + e } }; function MS() { return kS.get(xS) } function AS() { return jS.get({ url: "/user/info" }, { isAuth: !0 }) } function IS(e) { return jS.post({ url: "/user/setInfo", data: e }, { isAuth: !0 }) } function RS(e, t) { return jS.post({ url: "/user/bindMobile", data: e, header: t }, { isAuth: !0 }) } function ES(e) { return jS.post({ url: "/user/changePassword", data: e }, { isAuth: !0 }) } function PS(e) { return jS.post({ url: "/user/resetPassword", data: e }) } function LS(e) { return jS.get({ url: "/account_log/lists", data: e }) } function OS() { return jS.get({ url: "/user/getChannels" }, { isAuth: !0 }) } function BS(e) { return jS.post({ url: "/user/setChannels", data: e }, { isAuth: !0 }) } const NS = TT({ id: "userStore", state: () => ({ userInfo: {}, token: kS.get(xS) || null, temToken: null }), getters: { isLogin: e => !!e.token }, actions: { async getUser() { const e = await (t = { token: this.token || this.temToken }, jS.get({ url: "/user/center", header: t }, { ignoreCancel: !0 })); var t; return this.userInfo = e, e }, login(e) { this.token = e, kS.set(xS, e) }, logout() { this.token = "", this.userInfo = {}, kS.remove(xS) } } }); const DS = { version: "1.9.0", baseUrl: "https://test-server.sbnews.net/", urlPrefix: "api", timeout: 6e4 }; let VS = !1; function $S() { VS || (VS = !0, gb(), yb(), setTimeout(() => { nb({ title: "提示", content: "该功能需要登录,是否前往登录?", confirmText: "去登录", cancelText: "取消", success: e => { if (e.confirm) { const e = mp(), t = e[e.length - 1]; if (t) { const e = "/" + t.route, n = t.options || {}, o = Object.keys(n).map(e => `${e}=${n[e]}`).join("&"); kS.set(CS, o ? `${e}?${o}` : e) } Uv({ url: "/pages/login/login" }) } }, complete: () => { VS = !1 } }) }, 100)) } const jS = new TS(fS({ requestOptions: { timeout: DS.timeout }, baseUrl: DS.baseUrl, isReturnDefaultResponse: !1, isTransformResponse: !0, urlPrefix: "api", ignoreCancel: !1, withToken: !0, isAuth: !1, retryCount: 2, retryTimeout: 1e3, requestHooks: { requestInterceptorsHook(e, t) { const { urlPrefix: n, baseUrl: o, withToken: a, isAuth: r } = t; e.header = e.header ?? {}, n && (e.url = `${n}${e.url}`), o && (e.url = `${o}${e.url}`); const i = MS(); return i && !e.header.token && (e.header.token = i), e.header.version = DS.version, e }, async responseInterceptorsHook(e, t) { const { isTransformResponse: n, isReturnDefaultResponse: o, isAuth: a } = t; if (o) return e; if (!n) return e.data; const r = NS(), { code: i, data: s, msg: l, show: c } = e.data; switch (i) { case yS.SUCCESS: return l && c && uni.$u.toast(l), s; case yS.FAILED: return l && (/token/i.test(l) || /登录/i.test(l)) ? (r.isLogin || a) && (r.logout(), $S()) : l && uni.$u.toast(l), Promise.reject(l); case yS.TOKEN_INVALID: return (r.isLogin || a) && (r.logout(), $S()), Promise.reject(l); default: return s } }, async responseInterceptorsCatchHook(e, t) { var n; return (null == (n = e.method) ? void 0 : n.toUpperCase()) == gS.POST && uni.$u.toast("请求失败,请重试"), Promise.reject(t) } } }, {})); function zS(e) { return jS.post({ url: "/sms/sendCode", data: e }) } function FS(e) { return jS.post({ url: "/sms/getVerifyInfo", data: e }) } function WS(e) { return jS.get({ url: "/index/policy", data: e }) } function HS(e, t) { return jS.uploadFile({ url: "/upload/image", filePath: e, name: "file", header: { token: t }, fileType: "image" }) } const US = TT({ id: "appStore", state: () => ({ config: { domain: "" }, tabbarTick: 0, configLoaded: !1, popupPagePath: "", popupTick: 0 }), getters: { getWebsiteConfig: e => e.config.website || {}, getLoginConfig: e => e.config.login || {}, getTabbarConfig: e => e.config.tabbar || [], getStyleConfig: e => e.config.style || {}, getH5Config: e => e.config.webPage || {}, getCopyrightConfig: e => e.config.copyright || [] }, actions: { getImageUrl(e) { return e.indexOf("http") ? `${this.config.domain}${e}` : e }, async getConfig() { const e = await jS.get({ url: "/index/config" }); this.config = e, this.configLoaded = !0 }, updatePopupPath(e) { this.popupPagePath = e, this.popupTick++ } } }); function qS(e) { return jS.get({ url: "/index/decorate", data: e }, { ignoreCancel: !0 }) } function YS() { return jS.get({ url: "/search/hotLists" }) } var ZS = "undefined" != typeof globalThis ? globalThis : "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof self ? self : {}; function GS(e) { return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e } var QS, JS, XS = {}, KS = function (e, t, n) { for (var o = 0, a = {}, r = 0; r < n.length; r++)if (e == n.substr(r, e.length)) "start" in a || (a.start = r), o++; else if (t == n.substr(r, t.length) && "start" in a && ! --o) return a.end = r, a.pre = n.substr(0, a.start), a.body = a.end - a.start > 1 ? n.substring(a.start + e.length, a.end) : "", a.post = n.slice(a.end + t.length), a }, eC = { exports: {} }; QS = eC, JS = function () { function e(t, o, a, r) { "object" == typeof o && (a = o.depth, r = o.prototype, o.filter, o = o.circular); var i = [], s = [], l = "undefined" != typeof Buffer; return void 0 === o && (o = !0), void 0 === a && (a = 1 / 0), function t(a, c) { if (null === a) return null; if (0 == c) return a; var d, u; if ("object" != typeof a) return a; if (e.__isArray(a)) d = []; else if (e.__isRegExp(a)) d = new RegExp(a.source, n(a)), a.lastIndex && (d.lastIndex = a.lastIndex); else if (e.__isDate(a)) d = new Date(a.getTime()); else { if (l && Buffer.isBuffer(a)) return d = Buffer.allocUnsafe ? Buffer.allocUnsafe(a.length) : new Buffer(a.length), a.copy(d), d; void 0 === r ? (u = Object.getPrototypeOf(a), d = Object.create(u)) : (d = Object.create(r), u = r) } if (o) { var h = i.indexOf(a); if (-1 != h) return s[h]; i.push(a), s.push(d) } for (var m in a) { var p; u && (p = Object.getOwnPropertyDescriptor(u, m)), p && null == p.set || (d[m] = t(a[m], c - 1)) } return d }(t, a) } function t(e) { return Object.prototype.toString.call(e) } function n(e) { var t = ""; return e.global && (t += "g"), e.ignoreCase && (t += "i"), e.multiline && (t += "m"), t } return e.clonePrototype = function (e) { if (null === e) return null; var t = function () { }; return t.prototype = e, new t }, e.__objToStr = t, e.__isDate = function (e) { return "object" == typeof e && "[object Date]" === t(e) }, e.__isArray = function (e) { return "object" == typeof e && "[object Array]" === t(e) }, e.__isRegExp = function (e) { return "object" == typeof e && "[object RegExp]" === t(e) }, e.__getRegExpFlags = n, e }(), QS.exports && (QS.exports = JS); var tC = eC.exports, nC = { exports: {} }, oC = { aliceblue: [240, 248, 255], antiquewhite: [250, 235, 215], aqua: [0, 255, 255], aquamarine: [127, 255, 212], azure: [240, 255, 255], beige: [245, 245, 220], bisque: [255, 228, 196], black: [0, 0, 0], blanchedalmond: [255, 235, 205], blue: [0, 0, 255], blueviolet: [138, 43, 226], brown: [165, 42, 42], burlywood: [222, 184, 135], cadetblue: [95, 158, 160], chartreuse: [127, 255, 0], chocolate: [210, 105, 30], coral: [255, 127, 80], cornflowerblue: [100, 149, 237], cornsilk: [255, 248, 220], crimson: [220, 20, 60], cyan: [0, 255, 255], darkblue: [0, 0, 139], darkcyan: [0, 139, 139], darkgoldenrod: [184, 134, 11], darkgray: [169, 169, 169], darkgreen: [0, 100, 0], darkgrey: [169, 169, 169], darkkhaki: [189, 183, 107], darkmagenta: [139, 0, 139], darkolivegreen: [85, 107, 47], darkorange: [255, 140, 0], darkorchid: [153, 50, 204], darkred: [139, 0, 0], darksalmon: [233, 150, 122], darkseagreen: [143, 188, 143], darkslateblue: [72, 61, 139], darkslategray: [47, 79, 79], darkslategrey: [47, 79, 79], darkturquoise: [0, 206, 209], darkviolet: [148, 0, 211], deeppink: [255, 20, 147], deepskyblue: [0, 191, 255], dimgray: [105, 105, 105], dimgrey: [105, 105, 105], dodgerblue: [30, 144, 255], firebrick: [178, 34, 34], floralwhite: [255, 250, 240], forestgreen: [34, 139, 34], fuchsia: [255, 0, 255], gainsboro: [220, 220, 220], ghostwhite: [248, 248, 255], gold: [255, 215, 0], goldenrod: [218, 165, 32], gray: [128, 128, 128], green: [0, 128, 0], greenyellow: [173, 255, 47], grey: [128, 128, 128], honeydew: [240, 255, 240], hotpink: [255, 105, 180], indianred: [205, 92, 92], indigo: [75, 0, 130], ivory: [255, 255, 240], khaki: [240, 230, 140], lavender: [230, 230, 250], lavenderblush: [255, 240, 245], lawngreen: [124, 252, 0], lemonchiffon: [255, 250, 205], lightblue: [173, 216, 230], lightcoral: [240, 128, 128], lightcyan: [224, 255, 255], lightgoldenrodyellow: [250, 250, 210], lightgray: [211, 211, 211], lightgreen: [144, 238, 144], lightgrey: [211, 211, 211], lightpink: [255, 182, 193], lightsalmon: [255, 160, 122], lightseagreen: [32, 178, 170], lightskyblue: [135, 206, 250], lightslategray: [119, 136, 153], lightslategrey: [119, 136, 153], lightsteelblue: [176, 196, 222], lightyellow: [255, 255, 224], lime: [0, 255, 0], limegreen: [50, 205, 50], linen: [250, 240, 230], magenta: [255, 0, 255], maroon: [128, 0, 0], mediumaquamarine: [102, 205, 170], mediumblue: [0, 0, 205], mediumorchid: [186, 85, 211], mediumpurple: [147, 112, 219], mediumseagreen: [60, 179, 113], mediumslateblue: [123, 104, 238], mediumspringgreen: [0, 250, 154], mediumturquoise: [72, 209, 204], mediumvioletred: [199, 21, 133], midnightblue: [25, 25, 112], mintcream: [245, 255, 250], mistyrose: [255, 228, 225], moccasin: [255, 228, 181], navajowhite: [255, 222, 173], navy: [0, 0, 128], oldlace: [253, 245, 230], olive: [128, 128, 0], olivedrab: [107, 142, 35], orange: [255, 165, 0], orangered: [255, 69, 0], orchid: [218, 112, 214], palegoldenrod: [238, 232, 170], palegreen: [152, 251, 152], paleturquoise: [175, 238, 238], palevioletred: [219, 112, 147], papayawhip: [255, 239, 213], peachpuff: [255, 218, 185], peru: [205, 133, 63], pink: [255, 192, 203], plum: [221, 160, 221], powderblue: [176, 224, 230], purple: [128, 0, 128], rebeccapurple: [102, 51, 153], red: [255, 0, 0], rosybrown: [188, 143, 143], royalblue: [65, 105, 225], saddlebrown: [139, 69, 19], salmon: [250, 128, 114], sandybrown: [244, 164, 96], seagreen: [46, 139, 87], seashell: [255, 245, 238], sienna: [160, 82, 45], silver: [192, 192, 192], skyblue: [135, 206, 235], slateblue: [106, 90, 205], slategray: [112, 128, 144], slategrey: [112, 128, 144], snow: [255, 250, 250], springgreen: [0, 255, 127], steelblue: [70, 130, 180], tan: [210, 180, 140], teal: [0, 128, 128], thistle: [216, 191, 216], tomato: [255, 99, 71], turquoise: [64, 224, 208], violet: [238, 130, 238], wheat: [245, 222, 179], white: [255, 255, 255], whitesmoke: [245, 245, 245], yellow: [255, 255, 0], yellowgreen: [154, 205, 50] }, aC = oC, rC = {}; for (var iC in aC) aC.hasOwnProperty(iC) && (rC[aC[iC]] = iC); var sC = nC.exports = { rgb: { channels: 3, labels: "rgb" }, hsl: { channels: 3, labels: "hsl" }, hsv: { channels: 3, labels: "hsv" }, hwb: { channels: 3, labels: "hwb" }, cmyk: { channels: 4, labels: "cmyk" }, xyz: { channels: 3, labels: "xyz" }, lab: { channels: 3, labels: "lab" }, lch: { channels: 3, labels: "lch" }, hex: { channels: 1, labels: ["hex"] }, keyword: { channels: 1, labels: ["keyword"] }, ansi16: { channels: 1, labels: ["ansi16"] }, ansi256: { channels: 1, labels: ["ansi256"] }, hcg: { channels: 3, labels: ["h", "c", "g"] }, apple: { channels: 3, labels: ["r16", "g16", "b16"] }, gray: { channels: 1, labels: ["gray"] } }; for (var lC in sC) if (sC.hasOwnProperty(lC)) { if (!("channels" in sC[lC])) throw new Error("missing channels property: " + lC); if (!("labels" in sC[lC])) throw new Error("missing channel labels property: " + lC); if (sC[lC].labels.length !== sC[lC].channels) throw new Error("channel and label counts mismatch: " + lC); var cC = sC[lC].channels, dC = sC[lC].labels; delete sC[lC].channels, delete sC[lC].labels, Object.defineProperty(sC[lC], "channels", { value: cC }), Object.defineProperty(sC[lC], "labels", { value: dC }) } function uC(e, t) { return Math.pow(e[0] - t[0], 2) + Math.pow(e[1] - t[1], 2) + Math.pow(e[2] - t[2], 2) } sC.rgb.hsl = function (e) { var t, n, o = e[0] / 255, a = e[1] / 255, r = e[2] / 255, i = Math.min(o, a, r), s = Math.max(o, a, r), l = s - i; return s === i ? t = 0 : o === s ? t = (a - r) / l : a === s ? t = 2 + (r - o) / l : r === s && (t = 4 + (o - a) / l), (t = Math.min(60 * t, 360)) < 0 && (t += 360), n = (i + s) / 2, [t, 100 * (s === i ? 0 : n <= .5 ? l / (s + i) : l / (2 - s - i)), 100 * n] }, sC.rgb.hsv = function (e) { var t, n, o, a, r, i = e[0] / 255, s = e[1] / 255, l = e[2] / 255, c = Math.max(i, s, l), d = c - Math.min(i, s, l), u = function (e) { return (c - e) / 6 / d + .5 }; return 0 === d ? a = r = 0 : (r = d / c, t = u(i), n = u(s), o = u(l), i === c ? a = o - n : s === c ? a = 1 / 3 + t - o : l === c && (a = 2 / 3 + n - t), a < 0 ? a += 1 : a > 1 && (a -= 1)), [360 * a, 100 * r, 100 * c] }, sC.rgb.hwb = function (e) { var t = e[0], n = e[1], o = e[2]; return [sC.rgb.hsl(e)[0], 100 * (1 / 255 * Math.min(t, Math.min(n, o))), 100 * (o = 1 - 1 / 255 * Math.max(t, Math.max(n, o)))] }, sC.rgb.cmyk = function (e) { var t, n = e[0] / 255, o = e[1] / 255, a = e[2] / 255; return [100 * ((1 - n - (t = Math.min(1 - n, 1 - o, 1 - a))) / (1 - t) || 0), 100 * ((1 - o - t) / (1 - t) || 0), 100 * ((1 - a - t) / (1 - t) || 0), 100 * t] }, sC.rgb.keyword = function (e) { var t = rC[e]; if (t) return t; var n, o = 1 / 0; for (var a in aC) if (aC.hasOwnProperty(a)) { var r = uC(e, aC[a]); r < o && (o = r, n = a) } return n }, sC.keyword.rgb = function (e) { return aC[e] }, sC.rgb.xyz = function (e) { var t = e[0] / 255, n = e[1] / 255, o = e[2] / 255; return [100 * (.4124 * (t = t > .04045 ? Math.pow((t + .055) / 1.055, 2.4) : t / 12.92) + .3576 * (n = n > .04045 ? Math.pow((n + .055) / 1.055, 2.4) : n / 12.92) + .1805 * (o = o > .04045 ? Math.pow((o + .055) / 1.055, 2.4) : o / 12.92)), 100 * (.2126 * t + .7152 * n + .0722 * o), 100 * (.0193 * t + .1192 * n + .9505 * o)] }, sC.rgb.lab = function (e) { var t = sC.rgb.xyz(e), n = t[0], o = t[1], a = t[2]; return o /= 100, a /= 108.883, n = (n /= 95.047) > .008856 ? Math.pow(n, 1 / 3) : 7.787 * n + 16 / 116, [116 * (o = o > .008856 ? Math.pow(o, 1 / 3) : 7.787 * o + 16 / 116) - 16, 500 * (n - o), 200 * (o - (a = a > .008856 ? Math.pow(a, 1 / 3) : 7.787 * a + 16 / 116))] }, sC.hsl.rgb = function (e) { var t, n, o, a, r, i = e[0] / 360, s = e[1] / 100, l = e[2] / 100; if (0 === s) return [r = 255 * l, r, r]; t = 2 * l - (n = l < .5 ? l * (1 + s) : l + s - l * s), a = [0, 0, 0]; for (var c = 0; c < 3; c++)(o = i + 1 / 3 * -(c - 1)) < 0 && o++, o > 1 && o--, r = 6 * o < 1 ? t + 6 * (n - t) * o : 2 * o < 1 ? n : 3 * o < 2 ? t + (n - t) * (2 / 3 - o) * 6 : t, a[c] = 255 * r; return a }, sC.hsl.hsv = function (e) { var t = e[0], n = e[1] / 100, o = e[2] / 100, a = n, r = Math.max(o, .01); return n *= (o *= 2) <= 1 ? o : 2 - o, a *= r <= 1 ? r : 2 - r, [t, 100 * (0 === o ? 2 * a / (r + a) : 2 * n / (o + n)), 100 * ((o + n) / 2)] }, sC.hsv.rgb = function (e) { var t = e[0] / 60, n = e[1] / 100, o = e[2] / 100, a = Math.floor(t) % 6, r = t - Math.floor(t), i = 255 * o * (1 - n), s = 255 * o * (1 - n * r), l = 255 * o * (1 - n * (1 - r)); switch (o *= 255, a) { case 0: return [o, l, i]; case 1: return [s, o, i]; case 2: return [i, o, l]; case 3: return [i, s, o]; case 4: return [l, i, o]; case 5: return [o, i, s] } }, sC.hsv.hsl = function (e) { var t, n, o, a = e[0], r = e[1] / 100, i = e[2] / 100, s = Math.max(i, .01); return o = (2 - r) * i, n = r * s, [a, 100 * (n = (n /= (t = (2 - r) * s) <= 1 ? t : 2 - t) || 0), 100 * (o /= 2)] }, sC.hwb.rgb = function (e) { var t, n, o, a, r, i, s, l = e[0] / 360, c = e[1] / 100, d = e[2] / 100, u = c + d; switch (u > 1 && (c /= u, d /= u), o = 6 * l - (t = Math.floor(6 * l)), 1 & t && (o = 1 - o), a = c + o * ((n = 1 - d) - c), t) { default: case 6: case 0: r = n, i = a, s = c; break; case 1: r = a, i = n, s = c; break; case 2: r = c, i = n, s = a; break; case 3: r = c, i = a, s = n; break; case 4: r = a, i = c, s = n; break; case 5: r = n, i = c, s = a }return [255 * r, 255 * i, 255 * s] }, sC.cmyk.rgb = function (e) { var t = e[0] / 100, n = e[1] / 100, o = e[2] / 100, a = e[3] / 100; return [255 * (1 - Math.min(1, t * (1 - a) + a)), 255 * (1 - Math.min(1, n * (1 - a) + a)), 255 * (1 - Math.min(1, o * (1 - a) + a))] }, sC.xyz.rgb = function (e) { var t, n, o, a = e[0] / 100, r = e[1] / 100, i = e[2] / 100; return n = -.9689 * a + 1.8758 * r + .0415 * i, o = .0557 * a + -.204 * r + 1.057 * i, t = (t = 3.2406 * a + -1.5372 * r + -.4986 * i) > .0031308 ? 1.055 * Math.pow(t, 1 / 2.4) - .055 : 12.92 * t, n = n > .0031308 ? 1.055 * Math.pow(n, 1 / 2.4) - .055 : 12.92 * n, o = o > .0031308 ? 1.055 * Math.pow(o, 1 / 2.4) - .055 : 12.92 * o, [255 * (t = Math.min(Math.max(0, t), 1)), 255 * (n = Math.min(Math.max(0, n), 1)), 255 * (o = Math.min(Math.max(0, o), 1))] }, sC.xyz.lab = function (e) { var t = e[0], n = e[1], o = e[2]; return n /= 100, o /= 108.883, t = (t /= 95.047) > .008856 ? Math.pow(t, 1 / 3) : 7.787 * t + 16 / 116, [116 * (n = n > .008856 ? Math.pow(n, 1 / 3) : 7.787 * n + 16 / 116) - 16, 500 * (t - n), 200 * (n - (o = o > .008856 ? Math.pow(o, 1 / 3) : 7.787 * o + 16 / 116))] }, sC.lab.xyz = function (e) { var t, n, o, a = e[0]; t = e[1] / 500 + (n = (a + 16) / 116), o = n - e[2] / 200; var r = Math.pow(n, 3), i = Math.pow(t, 3), s = Math.pow(o, 3); return n = r > .008856 ? r : (n - 16 / 116) / 7.787, t = i > .008856 ? i : (t - 16 / 116) / 7.787, o = s > .008856 ? s : (o - 16 / 116) / 7.787, [t *= 95.047, n *= 100, o *= 108.883] }, sC.lab.lch = function (e) { var t, n = e[0], o = e[1], a = e[2]; return (t = 360 * Math.atan2(a, o) / 2 / Math.PI) < 0 && (t += 360), [n, Math.sqrt(o * o + a * a), t] }, sC.lch.lab = function (e) { var t, n = e[0], o = e[1]; return t = e[2] / 360 * 2 * Math.PI, [n, o * Math.cos(t), o * Math.sin(t)] }, sC.rgb.ansi16 = function (e) { var t = e[0], n = e[1], o = e[2], a = 1 in arguments ? arguments[1] : sC.rgb.hsv(e)[2]; if (0 === (a = Math.round(a / 50))) return 30; var r = 30 + (Math.round(o / 255) << 2 | Math.round(n / 255) << 1 | Math.round(t / 255)); return 2 === a && (r += 60), r }, sC.hsv.ansi16 = function (e) { return sC.rgb.ansi16(sC.hsv.rgb(e), e[2]) }, sC.rgb.ansi256 = function (e) { var t = e[0], n = e[1], o = e[2]; return t === n && n === o ? t < 8 ? 16 : t > 248 ? 231 : Math.round((t - 8) / 247 * 24) + 232 : 16 + 36 * Math.round(t / 255 * 5) + 6 * Math.round(n / 255 * 5) + Math.round(o / 255 * 5) }, sC.ansi16.rgb = function (e) { var t = e % 10; if (0 === t || 7 === t) return e > 50 && (t += 3.5), [t = t / 10.5 * 255, t, t]; var n = .5 * (1 + ~~(e > 50)); return [(1 & t) * n * 255, (t >> 1 & 1) * n * 255, (t >> 2 & 1) * n * 255] }, sC.ansi256.rgb = function (e) { if (e >= 232) { var t = 10 * (e - 232) + 8; return [t, t, t] } var n; return e -= 16, [Math.floor(e / 36) / 5 * 255, Math.floor((n = e % 36) / 6) / 5 * 255, n % 6 / 5 * 255] }, sC.rgb.hex = function (e) { var t = (((255 & Math.round(e[0])) << 16) + ((255 & Math.round(e[1])) << 8) + (255 & Math.round(e[2]))).toString(16).toUpperCase(); return "000000".substring(t.length) + t }, sC.hex.rgb = function (e) { var t = e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i); if (!t) return [0, 0, 0]; var n = t[0]; 3 === t[0].length && (n = n.split("").map(function (e) { return e + e }).join("")); var o = parseInt(n, 16); return [o >> 16 & 255, o >> 8 & 255, 255 & o] }, sC.rgb.hcg = function (e) { var t, n = e[0] / 255, o = e[1] / 255, a = e[2] / 255, r = Math.max(Math.max(n, o), a), i = Math.min(Math.min(n, o), a), s = r - i; return t = s <= 0 ? 0 : r === n ? (o - a) / s % 6 : r === o ? 2 + (a - n) / s : 4 + (n - o) / s + 4, t /= 6, [360 * (t %= 1), 100 * s, 100 * (s < 1 ? i / (1 - s) : 0)] }, sC.hsl.hcg = function (e) { var t = e[1] / 100, n = e[2] / 100, o = 1, a = 0; return (o = n < .5 ? 2 * t * n : 2 * t * (1 - n)) < 1 && (a = (n - .5 * o) / (1 - o)), [e[0], 100 * o, 100 * a] }, sC.hsv.hcg = function (e) { var t = e[1] / 100, n = e[2] / 100, o = t * n, a = 0; return o < 1 && (a = (n - o) / (1 - o)), [e[0], 100 * o, 100 * a] }, sC.hcg.rgb = function (e) { var t = e[0] / 360, n = e[1] / 100, o = e[2] / 100; if (0 === n) return [255 * o, 255 * o, 255 * o]; var a, r = [0, 0, 0], i = t % 1 * 6, s = i % 1, l = 1 - s; switch (Math.floor(i)) { case 0: r[0] = 1, r[1] = s, r[2] = 0; break; case 1: r[0] = l, r[1] = 1, r[2] = 0; break; case 2: r[0] = 0, r[1] = 1, r[2] = s; break; case 3: r[0] = 0, r[1] = l, r[2] = 1; break; case 4: r[0] = s, r[1] = 0, r[2] = 1; break; default: r[0] = 1, r[1] = 0, r[2] = l }return a = (1 - n) * o, [255 * (n * r[0] + a), 255 * (n * r[1] + a), 255 * (n * r[2] + a)] }, sC.hcg.hsv = function (e) { var t = e[1] / 100, n = t + e[2] / 100 * (1 - t), o = 0; return n > 0 && (o = t / n), [e[0], 100 * o, 100 * n] }, sC.hcg.hsl = function (e) { var t = e[1] / 100, n = e[2] / 100 * (1 - t) + .5 * t, o = 0; return n > 0 && n < .5 ? o = t / (2 * n) : n >= .5 && n < 1 && (o = t / (2 * (1 - n))), [e[0], 100 * o, 100 * n] }, sC.hcg.hwb = function (e) { var t = e[1] / 100, n = t + e[2] / 100 * (1 - t); return [e[0], 100 * (n - t), 100 * (1 - n)] }, sC.hwb.hcg = function (e) { var t = e[1] / 100, n = 1 - e[2] / 100, o = n - t, a = 0; return o < 1 && (a = (n - o) / (1 - o)), [e[0], 100 * o, 100 * a] }, sC.apple.rgb = function (e) { return [e[0] / 65535 * 255, e[1] / 65535 * 255, e[2] / 65535 * 255] }, sC.rgb.apple = function (e) { return [e[0] / 255 * 65535, e[1] / 255 * 65535, e[2] / 255 * 65535] }, sC.gray.rgb = function (e) { return [e[0] / 100 * 255, e[0] / 100 * 255, e[0] / 100 * 255] }, sC.gray.hsl = sC.gray.hsv = function (e) { return [0, 0, e[0]] }, sC.gray.hwb = function (e) { return [0, 100, e[0]] }, sC.gray.cmyk = function (e) { return [0, 0, 0, e[0]] }, sC.gray.lab = function (e) { return [e[0], 0, 0] }, sC.gray.hex = function (e) { var t = 255 & Math.round(e[0] / 100 * 255), n = ((t << 16) + (t << 8) + t).toString(16).toUpperCase(); return "000000".substring(n.length) + n }, sC.rgb.gray = function (e) { return [(e[0] + e[1] + e[2]) / 3 / 255 * 100] }; var hC = nC.exports, mC = hC; function pC(e) { var t = function () { for (var e = {}, t = Object.keys(mC), n = t.length, o = 0; o < n; o++)e[t[o]] = { distance: -1, parent: null }; return e }(), n = [e]; for (t[e].distance = 0; n.length;)for (var o = n.pop(), a = Object.keys(mC[o]), r = a.length, i = 0; i < r; i++) { var s = a[i], l = t[s]; -1 === l.distance && (l.distance = t[o].distance + 1, l.parent = o, n.unshift(s)) } return t } function fC(e, t) { return function (n) { return t(e(n)) } } function gC(e, t) { for (var n = [t[e].parent, e], o = mC[t[e].parent][e], a = t[e].parent; t[a].parent;)n.unshift(t[a].parent), o = fC(mC[t[a].parent][a], o), a = t[a].parent; return o.conversion = n, o } var yC = hC, vC = function (e) { for (var t = pC(e), n = {}, o = Object.keys(t), a = o.length, r = 0; r < a; r++) { var i = o[r]; null !== t[i].parent && (n[i] = gC(i, t)) } return n }, bC = {}; Object.keys(yC).forEach(function (e) { bC[e] = {}, Object.defineProperty(bC[e], "channels", { value: yC[e].channels }), Object.defineProperty(bC[e], "labels", { value: yC[e].labels }); var t = vC(e); Object.keys(t).forEach(function (n) { var o = t[n]; bC[e][n] = function (e) { var t = function (t) { if (null == t) return t; arguments.length > 1 && (t = Array.prototype.slice.call(arguments)); var n = e(t); if ("object" == typeof n) for (var o = n.length, a = 0; a < o; a++)n[a] = Math.round(n[a]); return n }; return "conversion" in e && (t.conversion = e.conversion), t }(o), bC[e][n].raw = function (e) { var t = function (t) { return null == t ? t : (arguments.length > 1 && (t = Array.prototype.slice.call(arguments)), e(t)) }; return "conversion" in e && (t.conversion = e.conversion), t }(o) }) }); var _C = bC, wC = oC, TC = { getRgba: xC, getHsla: SC, getRgb: function (e) { var t = xC(e); return t && t.slice(0, 3) }, getHsl: function (e) { var t = SC(e); return t && t.slice(0, 3) }, getHwb: CC, getAlpha: function (e) { var t = xC(e); if (t) return t[3]; if (t = SC(e)) return t[3]; if (t = CC(e)) return t[3] }, hexString: function (e) { return "#" + RC(e[0]) + RC(e[1]) + RC(e[2]) }, rgbString: function (e, t) { if (t < 1 || e[3] && e[3] < 1) return kC(e, t); return "rgb(" + e[0] + ", " + e[1] + ", " + e[2] + ")" }, rgbaString: kC, percentString: function (e, t) { if (t < 1 || e[3] && e[3] < 1) return MC(e, t); var n = Math.round(e[0] / 255 * 100), o = Math.round(e[1] / 255 * 100), a = Math.round(e[2] / 255 * 100); return "rgb(" + n + "%, " + o + "%, " + a + "%)" }, percentaString: MC, hslString: function (e, t) { if (t < 1 || e[3] && e[3] < 1) return AC(e, t); return "hsl(" + e[0] + ", " + e[1] + "%, " + e[2] + "%)" }, hslaString: AC, hwbString: function (e, t) { void 0 === t && (t = void 0 !== e[3] ? e[3] : 1); return "hwb(" + e[0] + ", " + e[1] + "%, " + e[2] + "%" + (void 0 !== t && 1 !== t ? ", " + t : "") + ")" }, keyword: function (e) { return EC[e.slice(0, 3)] } }; function xC(e) { if (e) { var t = [0, 0, 0], n = 1, o = e.match(/^#([a-fA-F0-9]{3})$/); if (o) { o = o[1]; for (var a = 0; a < t.length; a++)t[a] = parseInt(o[a] + o[a], 16) } else if (o = e.match(/^#([a-fA-F0-9]{6})$/)) { o = o[1]; for (a = 0; a < t.length; a++)t[a] = parseInt(o.slice(2 * a, 2 * a + 2), 16) } else if (o = e.match(/^rgba?\(\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/)) { for (a = 0; a < t.length; a++)t[a] = parseInt(o[a + 1]); n = parseFloat(o[4]) } else if (o = e.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/)) { for (a = 0; a < t.length; a++)t[a] = Math.round(2.55 * parseFloat(o[a + 1])); n = parseFloat(o[4]) } else if (o = e.match(/(\D+)/)) { if ("transparent" == o[1]) return [0, 0, 0, 0]; if (!(t = wC[o[1]])) return } for (a = 0; a < t.length; a++)t[a] = IC(t[a], 0, 255); return n = n || 0 == n ? IC(n, 0, 1) : 1, t[3] = n, t } } function SC(e) { if (e) { var t = e.match(/^hsla?\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/); if (t) { var n = parseFloat(t[4]); return [IC(parseInt(t[1]), 0, 360), IC(parseFloat(t[2]), 0, 100), IC(parseFloat(t[3]), 0, 100), IC(isNaN(n) ? 1 : n, 0, 1)] } } } function CC(e) { if (e) { var t = e.match(/^hwb\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/); if (t) { var n = parseFloat(t[4]); return [IC(parseInt(t[1]), 0, 360), IC(parseFloat(t[2]), 0, 100), IC(parseFloat(t[3]), 0, 100), IC(isNaN(n) ? 1 : n, 0, 1)] } } } function kC(e, t) { return void 0 === t && (t = void 0 !== e[3] ? e[3] : 1), "rgba(" + e[0] + ", " + e[1] + ", " + e[2] + ", " + t + ")" } function MC(e, t) { return "rgba(" + Math.round(e[0] / 255 * 100) + "%, " + Math.round(e[1] / 255 * 100) + "%, " + Math.round(e[2] / 255 * 100) + "%, " + (t || e[3] || 1) + ")" } function AC(e, t) { return void 0 === t && (t = void 0 !== e[3] ? e[3] : 1), "hsla(" + e[0] + ", " + e[1] + "%, " + e[2] + "%, " + t + ")" } function IC(e, t, n) { return Math.min(Math.max(t, e), n) } function RC(e) { var t = e.toString(16).toUpperCase(); return t.length < 2 ? "0" + t : t } var EC = {}; for (var PC in wC) EC[wC[PC]] = PC; var LC = tC, OC = _C, BC = TC, NC = function (e) { if (e instanceof NC) return e; if (!(this instanceof NC)) return new NC(e); var t; if (this.values = { rgb: [0, 0, 0], hsl: [0, 0, 0], hsv: [0, 0, 0], hwb: [0, 0, 0], cmyk: [0, 0, 0, 0], alpha: 1 }, "string" == typeof e) if (t = BC.getRgba(e)) this.setValues("rgb", t); else if (t = BC.getHsla(e)) this.setValues("hsl", t); else { if (!(t = BC.getHwb(e))) throw new Error('Unable to parse color from string "' + e + '"'); this.setValues("hwb", t) } else if ("object" == typeof e) if (void 0 !== (t = e).r || void 0 !== t.red) this.setValues("rgb", t); else if (void 0 !== t.l || void 0 !== t.lightness) this.setValues("hsl", t); else if (void 0 !== t.v || void 0 !== t.value) this.setValues("hsv", t); else if (void 0 !== t.w || void 0 !== t.whiteness) this.setValues("hwb", t); else { if (void 0 === t.c && void 0 === t.cyan) throw new Error("Unable to parse color from object " + JSON.stringify(e)); this.setValues("cmyk", t) } }; NC.prototype = { rgb: function () { return this.setSpace("rgb", arguments) }, hsl: function () { return this.setSpace("hsl", arguments) }, hsv: function () { return this.setSpace("hsv", arguments) }, hwb: function () { return this.setSpace("hwb", arguments) }, cmyk: function () { return this.setSpace("cmyk", arguments) }, rgbArray: function () { return this.values.rgb }, hslArray: function () { return this.values.hsl }, hsvArray: function () { return this.values.hsv }, hwbArray: function () { return 1 !== this.values.alpha ? this.values.hwb.concat([this.values.alpha]) : this.values.hwb }, cmykArray: function () { return this.values.cmyk }, rgbaArray: function () { return this.values.rgb.concat([this.values.alpha]) }, rgbaArrayNormalized: function () { for (var e = this.values.rgb, t = [], n = 0; n < 3; n++)t[n] = e[n] / 255; return t.push(this.values.alpha), t }, hslaArray: function () { return this.values.hsl.concat([this.values.alpha]) }, alpha: function (e) { return void 0 === e ? this.values.alpha : (this.setValues("alpha", e), this) }, red: function (e) { return this.setChannel("rgb", 0, e) }, green: function (e) { return this.setChannel("rgb", 1, e) }, blue: function (e) { return this.setChannel("rgb", 2, e) }, hue: function (e) { return e && (e = (e %= 360) < 0 ? 360 + e : e), this.setChannel("hsl", 0, e) }, saturation: function (e) { return this.setChannel("hsl", 1, e) }, lightness: function (e) { return this.setChannel("hsl", 2, e) }, saturationv: function (e) { return this.setChannel("hsv", 1, e) }, whiteness: function (e) { return this.setChannel("hwb", 1, e) }, blackness: function (e) { return this.setChannel("hwb", 2, e) }, value: function (e) { return this.setChannel("hsv", 2, e) }, cyan: function (e) { return this.setChannel("cmyk", 0, e) }, magenta: function (e) { return this.setChannel("cmyk", 1, e) }, yellow: function (e) { return this.setChannel("cmyk", 2, e) }, black: function (e) { return this.setChannel("cmyk", 3, e) }, hexString: function () { return BC.hexString(this.values.rgb) }, rgbString: function () { return BC.rgbString(this.values.rgb, this.values.alpha) }, rgbaString: function () { return BC.rgbaString(this.values.rgb, this.values.alpha) }, percentString: function () { return BC.percentString(this.values.rgb, this.values.alpha) }, hslString: function () { return BC.hslString(this.values.hsl, this.values.alpha) }, hslaString: function () { return BC.hslaString(this.values.hsl, this.values.alpha) }, hwbString: function () { return BC.hwbString(this.values.hwb, this.values.alpha) }, keyword: function () { return BC.keyword(this.values.rgb, this.values.alpha) }, rgbNumber: function () { return this.values.rgb[0] << 16 | this.values.rgb[1] << 8 | this.values.rgb[2] }, luminosity: function () { for (var e = this.values.rgb, t = [], n = 0; n < e.length; n++) { var o = e[n] / 255; t[n] = o <= .03928 ? o / 12.92 : Math.pow((o + .055) / 1.055, 2.4) } return .2126 * t[0] + .7152 * t[1] + .0722 * t[2] }, contrast: function (e) { var t = this.luminosity(), n = e.luminosity(); return t > n ? (t + .05) / (n + .05) : (n + .05) / (t + .05) }, level: function (e) { var t = this.contrast(e); return t >= 7.1 ? "AAA" : t >= 4.5 ? "AA" : "" }, dark: function () { var e = this.values.rgb; return (299 * e[0] + 587 * e[1] + 114 * e[2]) / 1e3 < 128 }, light: function () { return !this.dark() }, negate: function () { for (var e = [], t = 0; t < 3; t++)e[t] = 255 - this.values.rgb[t]; return this.setValues("rgb", e), this }, lighten: function (e) { return this.values.hsl[2] += this.values.hsl[2] * e, this.setValues("hsl", this.values.hsl), this }, darken: function (e) { return this.values.hsl[2] -= this.values.hsl[2] * e, this.setValues("hsl", this.values.hsl), this }, saturate: function (e) { return this.values.hsl[1] += this.values.hsl[1] * e, this.setValues("hsl", this.values.hsl), this }, desaturate: function (e) { return this.values.hsl[1] -= this.values.hsl[1] * e, this.setValues("hsl", this.values.hsl), this }, whiten: function (e) { return this.values.hwb[1] += this.values.hwb[1] * e, this.setValues("hwb", this.values.hwb), this }, blacken: function (e) { return this.values.hwb[2] += this.values.hwb[2] * e, this.setValues("hwb", this.values.hwb), this }, greyscale: function () { var e = this.values.rgb, t = .3 * e[0] + .59 * e[1] + .11 * e[2]; return this.setValues("rgb", [t, t, t]), this }, clearer: function (e) { return this.setValues("alpha", this.values.alpha - this.values.alpha * e), this }, opaquer: function (e) { return this.setValues("alpha", this.values.alpha + this.values.alpha * e), this }, rotate: function (e) { var t = this.values.hsl[0]; return t = (t = (t + e) % 360) < 0 ? 360 + t : t, this.values.hsl[0] = t, this.setValues("hsl", this.values.hsl), this }, mix: function (e, t) { var n = this, o = e, a = void 0 === t ? .5 : t, r = 2 * a - 1, i = n.alpha() - o.alpha(), s = ((r * i === -1 ? r : (r + i) / (1 + r * i)) + 1) / 2, l = 1 - s; return this.rgb(s * n.red() + l * o.red(), s * n.green() + l * o.green(), s * n.blue() + l * o.blue()).alpha(n.alpha() * a + o.alpha() * (1 - a)) }, toJSON: function () { return this.rgb() }, clone: function () { var e = new NC; return e.values = LC(this.values), e } }, NC.prototype.getValues = function (e) { for (var t = {}, n = 0; n < e.length; n++)t[e.charAt(n)] = this.values[e][n]; return 1 !== this.values.alpha && (t.a = this.values.alpha), t }, NC.prototype.setValues = function (e, t) { var n, o, a = { rgb: ["red", "green", "blue"], hsl: ["hue", "saturation", "lightness"], hsv: ["hue", "saturation", "value"], hwb: ["hue", "whiteness", "blackness"], cmyk: ["cyan", "magenta", "yellow", "black"] }, r = { rgb: [255, 255, 255], hsl: [360, 100, 100], hsv: [360, 100, 100], hwb: [360, 100, 100], cmyk: [100, 100, 100, 100] }, i = 1; if ("alpha" === e) i = t; else if (t.length) this.values[e] = t.slice(0, e.length), i = t[e.length]; else if (void 0 !== t[e.charAt(0)]) { for (n = 0; n < e.length; n++)this.values[e][n] = t[e.charAt(n)]; i = t.a } else if (void 0 !== t[a[e][0]]) { var s = a[e]; for (n = 0; n < e.length; n++)this.values[e][n] = t[s[n]]; i = t.alpha } if (this.values.alpha = Math.max(0, Math.min(1, void 0 === i ? this.values.alpha : i)), "alpha" === e) return !1; for (n = 0; n < e.length; n++)o = Math.max(0, Math.min(r[e][n], this.values[e][n])), this.values[e][n] = Math.round(o); for (var l in a) for (l !== e && (this.values[l] = OC[e][l](this.values[e])), n = 0; n < l.length; n++)o = Math.max(0, Math.min(r[l][n], this.values[l][n])), this.values[l][n] = Math.round(o); return !0 }, NC.prototype.setSpace = function (e, t) { var n = t[0]; return void 0 === n ? this.getValues(e) : ("number" == typeof n && (n = Array.prototype.slice.call(t)), this.setValues(e, n), this) }, NC.prototype.setChannel = function (e, t, n) { return void 0 === n ? this.values[e][t] : (n === this.values[e][t] || (this.values[e][t] = n, this.setValues(e, this.values[e])), this) }; var DC, VC, $C = NC, jC = { exports: {} }; function zC() { if (VC) return DC; VC = 1; var e = 1e3, t = 60 * e, n = 60 * t, o = 24 * n, a = 7 * o, r = 365.25 * o; function i(e, t, n, o) { var a = t >= 1.5 * n; return Math.round(e / n) + " " + o + (a ? "s" : "") } return DC = function (s, l) { l = l || {}; var c = typeof s; if ("string" === c && s.length > 0) return function (i) { if ((i = String(i)).length > 100) return; var s = /^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(i); if (!s) return; var l = parseFloat(s[1]); switch ((s[2] || "ms").toLowerCase()) { case "years": case "year": case "yrs": case "yr": case "y": return l * r; case "weeks": case "week": case "w": return l * a; case "days": case "day": case "d": return l * o; case "hours": case "hour": case "hrs": case "hr": case "h": return l * n; case "minutes": case "minute": case "mins": case "min": case "m": return l * t; case "seconds": case "second": case "secs": case "sec": case "s": return l * e; case "milliseconds": case "millisecond": case "msecs": case "msec": case "ms": return l; default: return } }(s); if ("number" === c && isFinite(s)) return l.long ? function (a) { var r = Math.abs(a); if (r >= o) return i(a, r, o, "day"); if (r >= n) return i(a, r, n, "hour"); if (r >= t) return i(a, r, t, "minute"); if (r >= e) return i(a, r, e, "second"); return a + " ms" }(s) : function (a) { var r = Math.abs(a); if (r >= o) return Math.round(a / o) + "d"; if (r >= n) return Math.round(a / n) + "h"; if (r >= t) return Math.round(a / t) + "m"; if (r >= e) return Math.round(a / e) + "s"; return a + "ms" }(s); throw new Error("val is not a non-empty string or a valid number. val=" + JSON.stringify(s)) } } var FC = function (e) { function t(e) { for (var t = 0, o = 0; o < e.length; o++)t = (t << 5) - t + e.charCodeAt(o), t |= 0; return n.colors[Math.abs(t) % n.colors.length] } function n(e) { var r; function i() { if (i.enabled) { for (var e = arguments.length, t = new Array(e), o = 0; o < e; o++)t[o] = arguments[o]; var a = i, s = Number(new Date), l = s - (r || s); a.diff = l, a.prev = r, a.curr = s, r = s, t[0] = n.coerce(t[0]), "string" != typeof t[0] && t.unshift("%O"); var c = 0; t[0] = t[0].replace(/%([a-zA-Z%])/g, function (e, o) { if ("%%" === e) return e; c++; var r = n.formatters[o]; if ("function" == typeof r) { var i = t[c]; e = r.call(a, i), t.splice(c, 1), c-- } return e }), n.formatArgs.call(a, t), (a.log || n.log).apply(a, t) } } return i.namespace = e, i.enabled = n.enabled(e), i.useColors = n.useColors(), i.color = t(e), i.destroy = o, i.extend = a, "function" == typeof n.init && n.init(i), n.instances.push(i), i } function o() { var e = n.instances.indexOf(this); return -1 !== e && (n.instances.splice(e, 1), !0) } function a(e, t) { return n(this.namespace + (void 0 === t ? ":" : t) + e) } return n.debug = n, n.default = n, n.coerce = function (e) { if (e instanceof Error) return e.stack || e.message; return e }, n.disable = function () { n.enable("") }, n.enable = function (e) { var t; n.save(e), n.names = [], n.skips = []; var o = ("string" == typeof e ? e : "").split(/[\s,]+/), a = o.length; for (t = 0; t < a; t++)o[t] && ("-" === (e = o[t].replace(/\*/g, ".*?"))[0] ? n.skips.push(new RegExp("^" + e.substr(1) + "$")) : n.names.push(new RegExp("^" + e + "$"))); for (t = 0; t < n.instances.length; t++) { var r = n.instances[t]; r.enabled = n.enabled(r.namespace) } }, n.enabled = function (e) { if ("*" === e[e.length - 1]) return !0; var t, o; for (t = 0, o = n.skips.length; t < o; t++)if (n.skips[t].test(e)) return !1; for (t = 0, o = n.names.length; t < o; t++)if (n.names[t].test(e)) return !0; return !1 }, n.humanize = zC(), Object.keys(e).forEach(function (t) { n[t] = e[t] }), n.instances = [], n.names = [], n.skips = [], n.formatters = {}, n.selectColor = t, n.enable(n.load()), n }; !function (e, t) { var n = {}; function o(e) { return (o = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (e) { return typeof e } : function (e) { return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e })(e) } t.log = function () { var e; return "object" === ("undefined" == typeof console ? "undefined" : o(console)) && console.log && (e = console).log.apply(e, arguments) }, t.formatArgs = function (t) { if (t[0] = (this.useColors ? "%c" : "") + this.namespace + (this.useColors ? " %c" : " ") + t[0] + (this.useColors ? "%c " : " ") + "+" + e.exports.humanize(this.diff), !this.useColors) return; var n = "color: " + this.color; t.splice(1, 0, n, "color: inherit"); var o = 0, a = 0; t[0].replace(/%[a-zA-Z%]/g, function (e) { "%%" !== e && (o++, "%c" === e && (a = o)) }), t.splice(a, 0, n) }, t.save = function (e) { try { e ? t.storage.setItem("debug", e) : t.storage.removeItem("debug") } catch (n) { } }, t.load = function () { var e; try { e = t.storage.getItem("debug") } catch (o) { } !e && "undefined" != typeof process && "env" in process && (e = n.DEBUG); return e }, t.useColors = function () { if ("undefined" != typeof window && window.process && ("renderer" === window.process.type || window.process.__nwjs)) return !0; if ("undefined" != typeof navigator && navigator.userAgent && navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)) return !1; return "undefined" != typeof document && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance || "undefined" != typeof window && window.console && (window.console.firebug || window.console.exception && window.console.table) || "undefined" != typeof navigator && navigator.userAgent && navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/) && parseInt(RegExp.$1, 10) >= 31 || "undefined" != typeof navigator && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/) }, t.storage = function () { try { return localStorage } catch (e) { } }(), t.colors = ["#0000CC", "#0000FF", "#0033CC", "#0033FF", "#0066CC", "#0066FF", "#0099CC", "#0099FF", "#00CC00", "#00CC33", "#00CC66", "#00CC99", "#00CCCC", "#00CCFF", "#3300CC", "#3300FF", "#3333CC", "#3333FF", "#3366CC", "#3366FF", "#3399CC", "#3399FF", "#33CC00", "#33CC33", "#33CC66", "#33CC99", "#33CCCC", "#33CCFF", "#6600CC", "#6600FF", "#6633CC", "#6633FF", "#66CC00", "#66CC33", "#9900CC", "#9900FF", "#9933CC", "#9933FF", "#99CC00", "#99CC33", "#CC0000", "#CC0033", "#CC0066", "#CC0099", "#CC00CC", "#CC00FF", "#CC3300", "#CC3333", "#CC3366", "#CC3399", "#CC33CC", "#CC33FF", "#CC6600", "#CC6633", "#CC9900", "#CC9933", "#CCCC00", "#CCCC33", "#FF0000", "#FF0033", "#FF0066", "#FF0099", "#FF00CC", "#FF00FF", "#FF3300", "#FF3333", "#FF3366", "#FF3399", "#FF33CC", "#FF33FF", "#FF6600", "#FF6633", "#FF9900", "#FF9933", "#FFCC00", "#FFCC33"], e.exports = FC(t), e.exports.formatters.j = function (e) { try { return JSON.stringify(e) } catch (t) { return "[UnexpectedJSONParseError]: " + t.message } } }(jC, jC.exports); var WC = KS, HC = (0, jC.exports)("css-color-function:parse"), UC = function (e) { "string" != typeof e && (e = e.toString()); function t(t) { var n = t.exec(e); if (n) return e = e.slice(n[0].length), n.slice(1) } function n() { t(/^\s+/) } function o() { var e = t(/^([\+\-\*])/); if (e) { var n = { type: "modifier" }; return n.value = e[0], HC("modifier %o", n), n } } function a() { var e = t(/^([^\)\s]+)/); if (e) { var n = { type: "number" }; return n.value = e[0], HC("number %o", n), n } } function r() { var e = t(/^(\w+)\(/); if (e) { n(); var r = { type: "function" }; return r.name = e[0], r.arguments = function () { for (var e, t = []; e = o() || s() || a();)t.push(e), n(); return HC("args %o", t), t }(), function () { var e = t(/^\)/); if (e) HC("rparen") }(), HC("adjuster %o", r), r } } function i() { var e = { type: "color" }, o = t(/([^\)\s]+)/)[0]; -1 != o.indexOf("(") && (o += t(/([^\)]*?\))/)[0]); return e.value = o, n(), e } function s() { if (e.match(/^color\(/)) { var t = WC("(", ")", e); if (!t) throw new SyntaxError("Missing closing parenthese for '" + e + "'"); if ("" === t.body) throw new SyntaxError("color() function cannot be empty"); e = t.body, n(); var o, a = {}; for (a.type = "function", a.name = "color", a.arguments = [s() || i()], HC("function arguments %o", a.arguments); o = r();)a.arguments.push(o), n(); return e = t.post, n(), HC("function %o", a), a } } return HC("string %s", e), s() }; var qC = {}; !function (e) { var t = $C; function n(e) { return function (t, n) { var o; "modifier" == n[0].type && (o = n.shift().value); var r = n[0].value; -1 != r.indexOf("%") ? (r = parseInt(r, 10) / 100, o ? "*" != o && (r = t[e]() * r) : r *= "alpha" == e ? 1 : 255) : r = Number(r), t[e](a(t[e](), r, o)) } } function o(e) { return function (t, n) { var o; "modifier" == n[0].type && (o = n.shift().value); var r = parseFloat(n[0].value, 10); t[e](a(t[e](), r, o)) } } function a(e, t, n) { switch (n) { case "+": return e + t; case "-": return e - t; case "*": return e * t; default: return t } } e.red = n("red"), e.blue = n("blue"), e.green = n("green"), e.alpha = e.a = n("alpha"), e.rgb = function () { }, e.hue = e.h = o("hue"), e.saturation = e.s = o("saturation"), e.lightness = e.l = o("lightness"), e.whiteness = e.w = o("whiteness"), e.blackness = e.b = o("blackness"), e.blend = function (e, n) { var o = e.alpha(); e.alpha(1); var a = new t(n[0].value), r = 1 - parseInt(n[1].value, 10) / 100; e.mix(a, r).alpha(o) }, e.tint = function (t, n) { n.unshift({ type: "argument", value: "white" }), e.blend(t, n) }, e.shade = function (t, n) { n.unshift({ type: "argument", value: "black" }), e.blend(t, n) }, e.contrast = function (e, n) { 0 == n.length && n.push({ type: "argument", value: "100%" }); var o = 1 - parseInt(n[0].value, 10) / 100, a = e.luminosity() < .5 ? new t({ h: e.hue(), w: 100, b: 0 }) : new t({ h: e.hue(), w: 0, b: 100 }), r = a; if (e.contrast(a) > 4.5) { r = function (e, t, n) { t.hue(); var o = t.clone(), a = t.whiteness(), r = t.blackness(), i = n.whiteness(), s = n.blackness(); for (; Math.abs(a - i) > 1 || Math.abs(r - s) > 1;) { var l = Math.round((i + a) / 2), c = Math.round((s + r) / 2); o.whiteness(l), o.blackness(c), o.contrast(t) > e ? (i = l, s = c) : (a = l, r = c) } return o }(4.5, e, a); var i = r.alpha(); r.alpha(1), r.mix(a, o).alpha(i) } e.hwb(r.hwb()) } }(qC); var YC = KS, ZC = $C, GC = UC, QC = qC, JC = function e(t) { var n = t.indexOf("color("); if (-1 == n) return t; if (t = t.slice(n), !(t = YC("(", ")", t))) throw new SyntaxError("Missing closing parenthese for '" + t + "'"); return XC(GC("color(" + t.body + ")")) + e(t.post) }; function XC(e) { var t = new ZC("function" == e.arguments[0].type ? XC(e.arguments[0]) : e.arguments[0].value); return e.arguments.slice(1).forEach(function (e) { var n = e.name; if (!QC[n]) throw new Error("Unknown '" + n + "'"); e.arguments.forEach(function (e) { "function" == e.type && "color" == e.name && (e.value = XC(e), e.type = "color", delete e.name) }), QC[n](t, e.arguments) }), t.rgbString() } var KC = JC, ek = UC; XS.convert = KC, XS.parse = ek; const tk = { "dark-2": "shade(20%)", "light-3": "tint(30%)", "light-5": "tint(50%)", "light-7": "tint(70%)", "light-9": "tint(90%)" }, nk = { "light-3": "shade(20%)", "light-5": "shade(30%)", "light-7": "shade(50%)", "light-9": "shade(70%)", "dark-2": "tint(20%)" }, ok = (e, t = {}, n = !1) => { const o = Object.keys(e).reduce((t, o) => Object.assign(t, ((e, t = "primary", n = !1) => { const o = { [`--color-${t}`]: e }, a = n ? nk : tk; for (const r in a) o[`--color-${t}-${r}`] = `color(${e} ${a[r]})`; return o })(e[o], o, n)), t), a = Object.keys(o).reduce((e, t) => `${e}${t}:${XS.convert(o[t])};`, ""); return a }, ak = TT({ id: "themeStore", state: () => ({ primaryColor: "", minorColor: "", btnColor: "white", navColor: "#000000", navBgColor: "#ffffff", vars: "" }), actions: { async getTheme() { const e = await qS({ id: 5 }), { themeColor1: t, themeColor2: n, buttonColor: o, navigationBarColor: a, topTextColor: r } = JSON.parse(e.data); this.primaryColor = t, this.minorColor = n, this.btnColor = o, this.navColor = "white" === r ? "#ffffff" : "#000000", this.navBgColor = a || t, this.vars = ok({ primary: t }, { "--color-minor": n, "--color-btn-text": o }) }, setTheme(e) { this.primaryColor = e } } }); function rk() { let e = []; return { add: function (t) { return e.push(t), () => { const n = e.indexOf(t); n > -1 && e.splice(n, 1) } }, list: () => e, reset: function () { e = [] } } } const ik = /#/g, sk = /&/g, lk = /\+/g, ck = /%5B/g, dk = /%5D/g, uk = /%5E/g, hk = /%60/g, mk = /%7B/g, pk = /%7C/g, fk = /%7D/g, gk = /%20/g; function yk(e) { return function (e) { return encodeURI(`${e}`).replace(pk, "|").replace(ck, "[").replace(dk, "]") }(e).replace(lk, "%2B").replace(gk, "+").replace(ik, "%23").replace(sk, "%26").replace(hk, "`").replace(mk, "{").replace(fk, "}").replace(uk, "^") } function vk(e) { try { return decodeURIComponent(`${e}`) } catch (t) { bk(`Error decoding "${e}". Using original value`) } return `${e}` } function bk(e, t = !1, ...n) { t && console.warn(`[uni-router warn]: ${e}`, ...n) } const _k = Symbol("navigation failure"), wk = { 1: ({ location: e }) => `Navigation ${"string" == typeof e ? e : JSON.stringify(e)} is not found`, 2: ({ from: e, to: t }) => `Redirected from "${JSON.stringify(e)}" to "${JSON.stringify(t)}" via a navigation guard.`, 4: ({ from: e, to: t }) => `Navigation aborted from "${JSON.stringify(e)}" to "${JSON.stringify(t)}" via a navigation guard.`, 8: ({ from: e, to: t }) => `Navigation cancelled from "${JSON.stringify(e)}" to "${JSON.stringify(t)}" with a new navigation.`, 16: ({ from: e, to: t }) => `Avoided redundant navigation to current location: "${JSON.stringify(e)}".` }; function Tk(e, t) { return e instanceof Error && _k in e && (null == t || !!(e.type & t)) } function xk(e, t) { return Object.assign(new Error(wk[e](t)), { type: e, [_k]: !0 }, t) } const Sk = Array.isArray, Ck = e => "string" == typeof e, kk = /(^mp-weixin$)|(^mp-baidu$)|(^mp-alipay$)|(^mp-toutiao$)|(^mp-qq$)|(^mp-360$)/g, Mk = ["navigateTo", "redirectTo", "reLaunch", "switchTab", "navigateBack"]; var Ak, Ik; (Ik = Ak || (Ak = {})).navigate = "navigateTo", Ik.redirect = "redirectTo", Ik.reLaunch = "reLaunch", Ik.switchTab = "switchTab", Ik.navigateBack = "navigateBack"; const Rk = { path: "/", name: "", query: {}, fullPath: "/", meta: {} }, Ek = Symbol(), Pk = Symbol(); function Lk() { return lr(Ek) } function Ok() { return lr(Pk) } const Bk = { navigateTo: Uv, redirectTo: Hm, reLaunch: qm, switchTab: Fm, navigateBack: Hv }; function Nk(e) { const t = {}; if ("" === e || "?" === e) return t; const n = ("?" === e[0] ? e.slice(1) : e).split("&"); for (let o = 0; o < n.length; ++o) { const e = n[o].replace("+", " "), a = e.indexOf("="), r = vk(a < 0 ? e : e.slice(0, a)), i = a < 0 ? null : vk(e.slice(a + 1)); t[r] = i } return t } function Dk(e) { for (const t in e) { const n = e[t]; null != n && (e[t] = vk(n)) } return e } function Vk(e) { let t = ""; for (let n in e) { const o = e[n]; n = yk(n), null != o ? void 0 !== o && (t += (t.length ? "&" : "") + n, null != o && (t += `=${yk(o)}`)) : void 0 !== o && (t += (t.length ? "&" : "") + n) } return t } function $k(e, t, n = "/") { if ("*" === t) return { path: t, query: {} }; let o, a = {}, r = ""; const i = t.indexOf("?"); return i > -1 ? (o = t.slice(0, i), r = t.slice(i + 1), a = e(r)) : o = t, o = function (e, t) { if (e.startsWith("/")) return e; if (!t.startsWith("/")) return e; if (!e) return t; const n = t.split("/"), o = e.split("/"), a = o[o.length - 1]; ".." !== a && "." !== a || o.push(""); let r, i, s = n.length - 1; for (r = 0; r < o.length; r++)if (i = o[r], "." !== i) { if (".." !== i) break; s > 1 && s-- } return `${n.slice(0, s).join("/")}/${o.slice(r - (r === o.length ? 1 : 0)).join("/")}` }(null != o ? o : t, n), { path: o, query: a } } function jk(e, t) { const n = t.query ? e(t.query) : ""; return t.path + (n && "?") + n } function zk(e) { const t = new Map, n = new Map, o = new Map; return e.routes.forEach(a => function (a) { let { path: r, aliasPath: i, name: s } = a; const l = JSON.stringify(a); null != r && void 0 !== r || bk(`当前路由对象route:${l}不规范,必须含有\`path\``, e.debug), 0 !== r.indexOf("/") && "*" !== r && bk(`当前路由对象route:${l} \`path\`缺少前缀 ‘/’`, e.debug), i = i || r, n.set(r, a), t.set(i, a), s && (o.has(s) && bk(`当前路由对象route:${l} 的\`name\`已存在路由表中,将会覆盖旧值`, e.debug), o.set(s, a)) }(a)), { getRouteByAliasPath: function (e) { return t.get(e) }, getRouteByPath: function (e) { return n.get(e) }, getRouteByName: function (e) { return o.get(e) } } } function Fk(e, t) { var n; let { fullPath: o, path: a, name: r, query: i, meta: s } = t; const { getRouteByAliasPath: l, getRouteByPath: c } = e.routeMatcher, d = Object.assign({}, Rk); if ("h5" === e.options.platform) { const d = "/" === a ? l(a) : c(a); i = t.query = Dk(null === (n = $k(e.parseQuery, o)) || void 0 === n ? void 0 : n.query), o = jk(e.stringifyQuery, t), s = Object.assign({}, null == d ? void 0 : d.meta, s), r = null == d ? void 0 : d.name } return d.fullPath = o, d.meta = s, d.path = a, d.name = r, d.query = i, d } function Wk(e) { return "string" == typeof e || e && "object" == typeof e } function Hk(e, t) { return !(!e.fullPath && !t.fullPath) && e.fullPath === t.fullPath } function Uk(e, t) { const n = e.resolve("*"); if (!n || void 0 === n.redirect) throw bk("未匹配到*通配符路径,或者*通配符必须配合 redirect 使用。redirect: string | Location", e.options.debug), xk(1, { location: t }); let o; o = "function" == typeof n.redirect ? n.redirect(t) : n.redirect; if (void 0 === e.resolve(o)) throw bk(`无法解析解析出redirect:${JSON.stringify(o)}中的内容,`, e.options.debug), xk(1, { location: t }); return xk(2, { to: o, from: t }) } function qk(e) { return e.reduce((e, t) => e.then(() => t()), Promise.resolve()) } function Yk(e, t, n) { return () => new Promise((o, a) => { const r = e => { !1 === e ? a(xk(4, { to: t, from: n })) : e instanceof Error ? a(e) : Wk(e) ? a(xk(2, { to: e, from: t })) : o() }, i = e(t, n, r); let s = Promise.resolve(i); "object" == typeof i && "then" in i ? s = s.then(r) : void 0 !== i && r(i), s.catch(e => a(e)) }) } function Zk(e, t) { let n = e.$scope.route; n = n.startsWith("/") ? n : `/${n}`; return { path: n, query: e.$scope.options || {} } } function Gk(e, t, n, o) { return (...a) => { t.call(n, a, t => { e.apply(n, t) }, o) } } const Qk = { onLoad([e], t, n) { t([Dk(e)]) }, onShow(e, t, n) { console.log(e); const o = mp().length; let a, r; if (n.fromRoute) a = n.currentRoute.value, r = n.fromRoute, n.fromRoute = void 0; else { const o = Zk(this); if (a = Fk(n, n.resolve(o)), r = n.currentRoute.value, Hk(a, r)) return t(e); n.currentRoute.value = a } const i = []; for (const s of n.guards.afterGuards.list()) i.push(() => { return e = this, t = null, n = function* () { s(a, r) }, new Promise((o, a) => { var r = e => { try { s(n.next(e)) } catch (VR) { a(VR) } }, i = e => { try { s(n.throw(e)) } catch (VR) { a(VR) } }, s = e => e.done ? o(e.value) : Promise.resolve(e.value).then(r, i); s((n = n.apply(e, t)).next()) }); var e, t, n }); qk(i), n.level = o, t(e) } }; function Jk(e, t) { return { path: e.$page.path, query: e.$page.options || {} } } const Xk = { onShow(e) { const t = mp().length; let n, o; if (e.fromRoute) n = e.currentRoute.value, o = e.fromRoute, e.fromRoute = void 0; else { const t = Jk(this); if (n = Fk(e, e.resolve(t)), o = e.currentRoute.value, Hk(n, o)) return; e.currentRoute.value = n } const a = []; for (const r of e.guards.afterGuards.list()) a.push(() => { return e = this, t = null, a = function* () { r(n, o) }, new Promise((n, o) => { var r = e => { try { s(a.next(e)) } catch (VR) { o(VR) } }, i = e => { try { s(a.throw(e)) } catch (VR) { o(VR) } }, s = e => e.done ? n(e.value) : Promise.resolve(e.value).then(r, i); s((a = a.apply(e, t)).next()) }); var e, t, a }); qk(a), e.level = t } }; function Kk(e, t) { const n = function (e) { let t = e.options.platform; kk.test(t) && (t = "applets"); const n = { app: { beforeCreate() { "page" === this.$mpType && function (e, t) { if (Xk && e.$) for (const n in Xk) { const o = Xk[n], a = e.$[n]; Sk(a) ? a.unshift(o.bind(e, t)) : e.$[n] = [o.bind(e, t)] } }(this, e) } }, h5: {}, applets: { beforeCreate() { "page" === this.$mpType && function (e, t) { if (console.log(e), Qk && e.$scope) for (const n in Qk) { const o = Qk[n], a = e.$scope[n]; a && (e.$scope[n] = Gk(a, o, e, t)) } }(this, e) } } }; return n[t] || {} }(t); e.mixin(n) } function eM(e, t, n) { var o; const a = { beforeGuards: () => { var t; null === (t = e.vueRouter) || void 0 === t || t.beforeEach((t, o, a) => { const r = e.resolve(t), i = Fk(e, t), s = Fk(e, o); let l; void 0 === r && (l = Uk(e, i)); const c = t => { if (!Wk(t) || t instanceof Error) a(t); else if (Ck(t) || !t.navType) { const n = e.resolve(t); n && a({ path: n.path, query: n.query }) } else { const n = t.navType; e.navigate(t, n) } }; if (Tk(l, 2)) return void e.redirectTo(null == l ? void 0 : l.to); const d = n(i, s, c); "object" == typeof d && "then" in d ? d.then(c).catch(() => { c(!1) }) : void 0 !== d && c(d) }) }, afterGuards: () => { var t; null === (t = e.vueRouter) || void 0 === t || t.afterEach((t, o) => { const a = Fk(e, t), r = Fk(e, o); n(a, r) }) } }; null === (o = a[t]) || void 0 === o || o.call(a) } var tM = Object.defineProperty, nM = Object.defineProperties, oM = Object.getOwnPropertyDescriptors, aM = Object.getOwnPropertySymbols, rM = Object.prototype.hasOwnProperty, iM = Object.prototype.propertyIsEnumerable, sM = (e, t, n) => t in e ? tM(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, lM = (e, t) => { for (var n in t || (t = {})) rM.call(t, n) && sM(e, n, t[n]); if (aM) for (var n of aM(t)) iM.call(t, n) && sM(e, n, t[n]); return e }, cM = (e, t) => nM(e, oM(t)); var dM = { resolve: function (e, t, n = "navigateTo") { const { getRouteByName: o, getRouteByPath: a, getRouteByAliasPath: r } = e.routeMatcher; if (Ck(t) && (t = { path: t }), Reflect.has(t, "delta") && "navigateBack" === n || "backbutton" === t.from) return t; Reflect.has(t, "url") && (t = cM(lM({}, t), { path: t.url })); const i = e.currentRoute.value.path, s = "/" === i ? r(i) : a(i); if (Reflect.has(t, "path")) { const n = $k(e.parseQuery, t.path, null == s ? void 0 : s.path); let o = a(n.path); if (void 0 === o && (o = r(n.path)), void 0 === o) return; const i = Object.assign({}, n.query, null == t ? void 0 : t.query), l = jk(e.stringifyQuery, { path: o.path, query: i }); return cM(lM({}, t), { path: o.path, meta: o.meta || {}, name: o.name, redirect: o.redirect, fullPath: l, query: i }) } if (Reflect.has(t, "name")) { let n = o(t.name); if (void 0 === n) return void (n = a("*")); const r = Object.assign({}, t.query), i = jk(e.stringifyQuery, { path: n.path, query: r }); return cM(lM({}, t), { path: n.path, meta: n.meta || {}, name: n.name, redirect: n.redirect, fullPath: i, query: r }) } }, mount: function (e, t) { !function (e, t) { const { h5: n } = t.options, o = e.config.globalProperties.$router, a = o.options.scrollBehavior; Object.assign(o.options, n), o.options.scrollBehavior = function (e, t, o) { return (null == n ? void 0 : n.scrollBehavior) ? null == n ? void 0 : n.scrollBehavior(e, t, o) : a(e, t, o) }, t.vueRouter = o; for (const [r, i] of Object.entries(t.guards)) i.list().forEach(e => { eM(t, r, e) }); o.afterEach(e => { t.currentRoute.value = Fk(t, e) }) }(e, t) }, navigate: function (e, t, n = "navigateTo", o) { let a, r = e.resolve(t, n); void 0 === r && (a = Uk(e, t)); const i = e.currentRoute.value, s = mp(); return "navigateBack" === n && r.delta >= s.length && (r = e.resolve("/", "reLaunch"), n = "reLaunch"), (a ? Promise.resolve(a) : e.jump(r, n)).catch(e => Tk(e, 2) ? e : Promise.reject(e)).then(t => { if (t) { if (Tk(t, 2)) { const n = e.resolve(null == t ? void 0 : t.to); return r && Hk(r, n) && o && (o._count = o._count ? o._count + 1 : 1) > 30 ? (bi(`检测到从“${i.fullPath}”到“${r.fullPath}”时导航守卫中可能存在无限重定向。中止以避免堆栈溢出。\n 是否总是在导航防护中返回新位置?这将导致此错误。仅在重定向或中止时返回,这应该可以解决此问题。如果未修复,这可能会在生产中中断`, e.options.debug), Promise.reject(new Error("Infinite redirect in navigation guard"))) : e.navigate(n, n.navType, o || r) } return Promise.resolve(t) } }) }, jump: function (e, t, n) { return new Promise((e, o) => { Bk[n](cM(lM({}, t), { url: t.fullPath, success(n) { var o; e(n), null === (o = t.success) || void 0 === o || o.call(t, n) }, fail(e) { var n; o(e), null === (n = t.fail) || void 0 === n || n.call(t, e) }, complete(e) { var n; null === (n = t.complete) || void 0 === n || n.call(t, e) } })) }) }, forceGuardEach: function (e) { return t = this, n = null, o = function* () { throw new Error("在h5端上使用:forceGuardEach 是无意义的,目前 forceGuardEach 仅支持在非h5端上使用") }, new Promise((e, a) => { var r = e => { try { s(o.next(e)) } catch (VR) { a(VR) } }, i = e => { try { s(o.throw(e)) } catch (VR) { a(VR) } }, s = t => t.done ? e(t.value) : Promise.resolve(t.value).then(r, i); s((o = o.apply(t, n)).next()) }); var t, n, o } }, uM = Object.defineProperty, hM = Object.defineProperties, mM = Object.getOwnPropertyDescriptors, pM = Object.getOwnPropertySymbols, fM = Object.prototype.hasOwnProperty, gM = Object.prototype.propertyIsEnumerable, yM = (e, t, n) => t in e ? uM(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, vM = (e, t) => { for (var n in t || (t = {})) fM.call(t, n) && yM(e, n, t[n]); if (pM) for (var n of pM(t)) gM.call(t, n) && yM(e, n, t[n]); return e }, bM = (e, t) => hM(e, mM(t)), _M = (e, t, n) => new Promise((o, a) => { var r = e => { try { s(n.next(e)) } catch (VR) { a(VR) } }, i = e => { try { s(n.throw(e)) } catch (VR) { a(VR) } }, s = e => e.done ? o(e.value) : Promise.resolve(e.value).then(r, i); s((n = n.apply(e, t)).next()) }); var wM = { resolve: function (e, t, n = "navigateTo") { const { getRouteByName: o, getRouteByPath: a, getRouteByAliasPath: r } = e.routeMatcher; if (Ck(t) && (t = { path: t }), Reflect.has(t, "delta") && "navigateBack" === n || "backbutton" === t.from) { t.delta = t.delta || 1; const n = mp(); let o, a = 0; n.length > t.delta && (a = n.length - 1 - t.delta), o = "app" === e.options.platform ? Jk(n[a]) : Zk(n[a].$vm), t = bM(vM(vM({}, o), t), { force: "backbutton" === t.from }) } Reflect.has(t, "url") && (t = bM(vM({}, t), { path: t.url })); const i = e.currentRoute.value.path, s = "/" === i ? r(i) : a(i); if (Reflect.has(t, "path")) { const n = $k(e.parseQuery, t.path, null == s ? void 0 : s.path); let o = a(n.path); if (void 0 === o && (o = r(n.path)), void 0 === o) return; const i = Object.assign({}, n.query, null == t ? void 0 : t.query), l = jk(e.stringifyQuery, { path: o.path, query: i }); return bM(vM({}, t), { path: o.path, meta: o.meta || {}, name: o.name, redirect: o.redirect, fullPath: l, query: i }) } if (Reflect.has(t, "name")) { const n = o(t.name); if (void 0 === n) return; const a = Object.assign({}, t.query), r = jk(e.stringifyQuery, { path: n.path, query: a }); return bM(vM({}, t), { path: n.path, meta: n.meta || {}, name: n.name, redirect: n.redirect, fullPath: r, query: a }) } }, mount: function (e, t) { t.forceGuardEach() }, navigate: function (e, t, n = "navigateTo", o) { try { const a = e.resolve(t, n), r = null == a ? void 0 : a.force; if (e.lock && !r) return Promise.resolve(); e.lock = !0; const i = e.currentRoute.value; let s; if (void 0 === a) s = Uk(e, t); else if (!r && Hk(a, i)) { s = xk(16, { to: Fk(e, a), from: i }) } return (s ? Promise.resolve(s) : e.jump(a, n)).catch(e => Tk(e, 2) ? e : Promise.reject(e)).then(t => { if (t) { if (Tk(t, 2)) { const n = e.resolve(null == t ? void 0 : t.to); return a && Hk(a, n) && o && (o._count = o._count ? o._count + 1 : 1) > 30 ? (bk(`检测到从“${i.fullPath}”到“${a.fullPath}”时导航守卫中可能存在无限重定向。中止以避免堆栈溢出。\n 是否总是在导航防护中返回新位置?这将导致此错误。仅在重定向或中止时返回,这应该可以解决此问题。如果未修复,这可能会在生产中中断`, e.options.debug), Promise.reject(new Error("Infinite redirect in navigation guard"))) : (e.lock = !1, e.navigate(n, n.navType, o || a)) } return Promise.resolve(t) } }).finally(() => { e.lock = !1 }) } catch (a) { return e.lock = !1, Promise.reject(a) } }, jump: function (e, t, n) { return new Promise((o, a) => { const r = Fk(e, t); Promise.resolve().then(() => { const t = []; for (const n of e.guards.beforeGuards.list()) t.push(Yk(n, r, e.currentRoute.value)); return qk(t) }).then(() => { e.fromRoute = e.currentRoute.value, e.currentRoute.value = r, Bk[n](bM(vM({}, t), { url: t.fullPath, success(e) { var n; null === (n = t.success) || void 0 === n || n.call(t, e), o(e) }, fail(e) { var n; null === (n = t.fail) || void 0 === n || n.call(t, e), a(e) }, complete(e) { var n; null === (n = t.complete) || void 0 === n || n.call(t, e) } })) }).catch(a) }) }, forceGuardEach: function (e) { return _M(this, null, function* () { const t = function () { const e = om(); return { path: `/${e.path}`, query: e.query || {} } }(), n = e.resolve(t); let o; if (void 0 === n) o = Uk(e, t); else { const t = Fk(e, n), r = []; for (const n of e.guards.beforeGuards.list()) r.push(Yk(n, t, Rk)); try { yield qk(r), e.currentRoute.value = t; const n = []; for (const o of e.guards.afterGuards.list()) n.push(() => _M(this, null, function* () { o(t, Rk) })); yield qk(n) } catch (a) { o = a } } if (Tk(o, 2)) return e.reLaunch(null == o ? void 0 : o.to) }) } }; const TM = "app_device_id"; function xM() { try { const e = uv(TM); if (e) return e } catch (VR) { } const e = "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, e => { const t = 16 * Math.random() | 0; return ("x" === e ? t : 3 & t | 8).toString(16) }); try { lv(TM, e) } catch (VR) { } return e } function SM() { return "h5" } async function CM() { try { const t = function () { var e; const t = xM(); let n = {}; try { n = ov() } catch (VR) { } let o = ""; try { const t = null == (e = null == iv ? void 0 : iv.sync) ? void 0 : e.call(iv); t && t.networkType && (o = t.networkType) } catch (VR) { } return { device_id: t, platform: "h5", system: [n.osName, n.osVersion || n.system].filter(Boolean).join(" "), model: n.model || n.deviceModel || "", brand: n.brand || n.deviceBrand || "", app_version: n.appVersion || "", app_version_code: Number(n.appWgtVersion || n.appVersionCode || 0) || 0, screen_width: n.screenWidth || n.windowWidth || 0, screen_height: n.screenHeight || n.windowHeight || 0, network_type: o, language: n.language || n.osLanguage || "", timezone: ("undefined" != typeof Intl ? Intl.DateTimeFormat().resolvedOptions().timeZone : "") || "" } }(); try { await new Promise(e => { iv({ success: n => { t.network_type = n.networkType || "", e() }, fail: () => e() }) }) } catch (VR) { } await (e = t, jS.post({ url: "/device/register", data: e }, { withToken: !1 })) } catch (VR) { console.warn("[device] 设备信息上报失败:", VR) } var e } const kM = la({ __name: "App", setup(e) { const t = US(), { getUser: n } = NS(), { getTheme: o } = ak(), a = Lk(), r = Ok(), i = () => { const e = t.getWebsiteConfig; let n = document.querySelector('link[rel="icon"]'); n ? n.href = e.h5_favicon : (n = document.createElement("link"), n.rel = "icon", n.href = e.h5_favicon, document.head.appendChild(n)) }, s = async () => { await t.getConfig(), l = !0, i(); const { status: e, page_status: n, page_url: o } = t.getH5Config; if (!r.meta.webview && 0 == e) { if (1 == n && o) try { if (new URL(o).origin !== location.origin) return location.href = o } catch (VR) { } a.reLaunch("/pages/web_closed/web_closed") } }; rT(async e => { var t; console.log("[app] onLaunch 开始执行"); const a = null == (t = null == e ? void 0 : e.query) ? void 0 : t.invite_code; a && (lv("invite_code", a), console.log("[app] 保存邀请码:", a)); const r = new URLSearchParams(window.location.search).get("invite_code"); r && (lv("invite_code", r), console.log("[app] H5保存邀请码:", r)), o(), s(), CM(), i(); if (NS().isLogin) try { await n() } catch (VR) { console.log("[app] getUser error:", VR) } console.log("[app] onLaunch 执行完毕") }); let l = !1; return oT(() => { l || (console.log("[app] onShow: config未加载,重新拉取"), s().then(() => { l = !0 })) }), (e, t) => { const n = ny; return Br(), jr(n) } } }); Py(kM, { init: Ry, setup(e) { const t = Cu(), n = () => { var n; n = e, Object.keys(nm).forEach(e => { nm[e].forEach(t => { Ca(e, t, n) }) }); const { onLaunch: o, onShow: a, onPageNotFound: r } = e, i = function ({ path: e, query: t }) { return u(Qp, { path: e, query: t }), u(Jp, Qp), u({}, Qp) }({ path: t.path.slice(1) || __uniRoutes[0].meta.route, query: at(t.query) }); if (o && N(o, i), a && N(a, i), !t.matched.length) { const e = { notFound: !0, openType: "appLaunch", path: t.path, query: at(t.query), scene: 1001 }; Zm(), r && N(r, e) } }; return lr(Vl).isReady().then(n), Aa(() => { window.addEventListener("resize", st(Oy, 50, { setTimeout: setTimeout, clearTimeout: clearTimeout })), window.addEventListener("message", By), document.addEventListener("visibilitychange", Ny), function () { let e = null; try { e = window.matchMedia("(prefers-color-scheme: dark)") } catch (t) { } if (e) { let t = e => { Hb.emit(ue, { 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 = () => (Br(), jr(Vb)); e.setup = (e, o) => { const a = t && t(e, o); return v(a) ? n : a }, e.render = n } }); const MM = (e, t) => { const n = e.__vccOpts || e; for (const [o, a] of t) n[o] = a; return n }; const AM = MM({ name: "u-image", emits: ["click", "error", "load"], props: { src: { type: String, default: "" }, mode: { type: String, default: "aspectFill" }, width: { type: [String, Number], default: "100%" }, height: { type: [String, Number], default: "auto" }, shape: { type: String, default: "square" }, borderRadius: { type: [String, Number], default: 0 }, lazyLoad: { type: Boolean, default: !0 }, showMenuByLongpress: { type: Boolean, default: !0 }, loadingIcon: { type: String, default: "photo" }, errorIcon: { type: String, default: "error-circle" }, showLoading: { type: Boolean, default: !0 }, showError: { type: Boolean, default: !0 }, fade: { type: Boolean, default: !0 }, webp: { type: Boolean, default: !1 }, duration: { type: [String, Number], default: 500 }, bgColor: { type: String, default: "#f3f4f6" } }, data() { return { isError: !1, loading: !0, opacity: 1, durationTime: this.duration, backgroundStyle: {} } }, watch: { src: { immediate: !0, handler(e) { e ? this.isError = !1 : (this.isError = !0, this.loading = !1) } } }, computed: { wrapStyle() { let e = {}; return e.width = this.$u.addUnit(this.width), e.height = this.$u.addUnit(this.height), e.borderRadius = "circle" == this.shape ? "50%" : this.$u.addUnit(this.borderRadius), e.overflow = this.borderRadius > 0 ? "hidden" : "visible", this.fade && (e.opacity = this.opacity, e.transition = `opacity ${Number(this.durationTime) / 1e3}s ease-in-out`), e } }, methods: { onClick() { this.$emit("click") }, onErrorHandler(e) { this.loading = !1, this.isError = !0, this.$emit("error", e) }, onLoadHandler() { if (this.loading = !1, this.isError = !1, this.$emit("load"), !this.fade) return this.removeBgColor(); this.opacity = 0, this.durationTime = 0, setTimeout(() => { this.durationTime = this.duration, this.opacity = 1, setTimeout(() => { this.removeBgColor() }, this.durationTime) }, 50) }, removeBgColor() { this.backgroundStyle = { backgroundColor: "transparent" } } } }, [["render", function (e, t, n, o, a, r) { const i = Mf, s = Bo("u-icon"), l = ny; return Br(), jr(l, { class: "u-image", onClick: r.onClick, style: Ue([r.wrapStyle, a.backgroundStyle]) }, { default: Io(() => [a.isError ? Qr("", !0) : (Br(), jr(i, { key: 0, src: n.src, mode: n.mode, onError: r.onErrorHandler, onLoad: r.onLoadHandler, "lazy-load": n.lazyLoad, class: "u-image__image", style: Ue({ borderRadius: "circle" == n.shape ? "50%" : e.$u.addUnit(n.borderRadius) }) }, null, 8, ["src", "mode", "onError", "onLoad", "lazy-load", "style"])), n.showLoading && a.loading ? (Br(), jr(l, { key: 1, class: "u-image__loading", style: Ue({ borderRadius: "circle" == n.shape ? "50%" : e.$u.addUnit(n.borderRadius), backgroundColor: n.bgColor }) }, { default: Io(() => [e.$slots.loading ? Va(e.$slots, "loading", { key: 0 }, void 0, !0) : (Br(), jr(s, { key: 1, name: n.loadingIcon, width: n.width, height: n.height }, null, 8, ["name", "width", "height"]))]), _: 3 }, 8, ["style"])) : Qr("", !0), n.showError && a.isError && !a.loading ? (Br(), jr(l, { key: 2, class: "u-image__error", style: Ue({ borderRadius: "circle" == n.shape ? "50%" : e.$u.addUnit(n.borderRadius) }) }, { default: Io(() => [e.$slots.error ? Va(e.$slots, "error", { key: 0 }, void 0, !0) : (Br(), jr(s, { key: 1, name: n.errorIcon, width: n.width, height: n.height }, null, 8, ["name", "width", "height"]))]), _: 3 }, 8, ["style"])) : Qr("", !0)]), _: 3 }, 8, ["onClick", "style"]) }], ["__scopeId", "data-v-be15e63c"]]), IM = MM(la({ __name: "feed-card", props: { item: { default: () => ({}) } }, setup(e) { const t = e, n = gi(() => { return t.item.desc ? t.item.desc : t.item.content ? (e = t.item.content, e ? e.replace(/<[^>]+>/g, "").replace(/ /g, " ").replace(/\s+/g, " ").trim() : "").substring(0, 100) : ""; var e }), o = gi(() => String(t.item.author || "").replace(/@懂球帝/g, "").trim() || "体育小编"), a = e => { if (!e) return ""; const t = new Date(e.replace(/-/g, "/")); if (isNaN(t.getTime())) return e; return `${String(t.getMonth() + 1).padStart(2, "0")}-${String(t.getDate()).padStart(2, "0")} ${String(t.getHours()).padStart(2, "0")}:${String(t.getMinutes()).padStart(2, "0")}` }; return (e, t) => { const r = ny, i = Jg, s = xg; return Br(), jr(s, { url: `/pages/news_detail/news_detail?id=${e.item.id}`, class: "feed-card" }, { default: Io(() => [Yr(r, { class: "feed-card__body" }, { default: Io(() => [Yr(r, { class: "feed-card__info" }, { default: Io(() => [Yr(r, { class: "feed-card__title" }, { default: Io(() => [Gr(G(e.item.title), 1)]), _: 1 }), n.value ? (Br(), jr(r, { key: 0, class: "feed-card__desc" }, { default: Io(() => [Gr(G(n.value), 1)]), _: 1 })) : Qr("", !0), Yr(r, { class: "feed-card__footer" }, { default: Io(() => [Yr(i, { class: "feed-card__author" }, { default: Io(() => [Gr(G(o.value), 1)]), _: 1 }), Yr(r, { class: "feed-card__footer-right" }, { default: Io(() => [Yr(i, { class: "feed-card__meta" }, { default: Io(() => [Gr(G(e.item.comment_count || e.item.click || 0) + "阅读", 1)]), _: 1 }), Yr(i, { class: "feed-card__meta" }, { default: Io(() => [Gr(G(a(e.item.create_time)), 1)]), _: 1 })]), _: 1 })]), _: 1 })]), _: 1 }), e.item.image ? (Br(), jr(AM, { key: 0, src: e.item.image, width: "220", height: "140", "border-radius": "8", mode: "aspectFill", class: "feed-card__img" }, null, 8, ["src"])) : Qr("", !0)]), _: 1 })]), _: 1 }, 8, ["url"]) } } }), [["__scopeId", "data-v-38579be8"]]), RM = MM(la({ __name: "feed-video-card", props: { item: { default: () => ({}) } }, setup(e) { const t = e, n = Wn(!1), o = gi(() => t.item.video_url ? t.item.video_url : (e => { if (!e) return ""; const t = e.match(/src="(https?:\/\/[^\"]+\.mp4[^\"]*)"/i); return t ? t[1] : "" })(t.item.content)), a = () => { o.value ? n.value = !0 : Uv({ url: `/pages/news_detail/news_detail?id=${t.item.id}` }) }, r = () => { n.value = !1, mb({ title: "视频加载失败", icon: "none" }) }, i = () => { Uv({ url: `/pages/news_detail/news_detail?id=${t.item.id}` }) }, s = gi(() => { return t.item.desc ? t.item.desc : t.item.content ? (e = t.item.content, e ? e.replace(/<[^>]+>/g, "").replace(/ /g, " ").replace(/\s+/g, " ").trim() : "").substring(0, 100) : ""; var e }), l = gi(() => ((e, t = 90) => e ? e.length <= t ? e : `${e.slice(0, t).trimEnd()}...` : "")((e => e ? e.replace(/<[^>]+>/g, " ").replace(/ /g, " ").replace(/\s+/g, " ").trim() : "")(t.item.translated_content || ""), 90)), c = e => { if (!e) return ""; const t = new Date(e.replace(/-/g, "/")); if (isNaN(t.getTime())) return e; return `${String(t.getMonth() + 1).padStart(2, "0")}-${String(t.getDate()).padStart(2, "0")} ${String(t.getHours()).padStart(2, "0")}:${String(t.getMinutes()).padStart(2, "0")}` }; return (e, t) => { const d = ny, u = Jg, h = jy, m = Mf; return Br(), jr(d, { class: "video-card" }, { default: Io(() => [Yr(d, { class: "video-card__main" }, { default: Io(() => [Yr(d, { class: "video-card__info" }, { default: Io(() => [Yr(d, { class: "video-card__title", onClick: i }, { default: Io(() => [Gr(G(e.item.title), 1)]), _: 1 }), s.value ? (Br(), jr(d, { key: 0, class: "video-card__desc", onClick: i }, { default: Io(() => [Gr(G(s.value), 1)]), _: 1 })) : Qr("", !0), Yr(d, { class: "video-card__footer", onClick: i }, { default: Io(() => [Yr(u, { class: "video-card__author" }, { default: Io(() => [Gr(G(e.item.author || "体育小编"), 1)]), _: 1 }), Yr(u, { class: "video-card__meta" }, { default: Io(() => [Gr(G(c(e.item.create_time)), 1)]), _: 1 }), Yr(d, { class: "video-card__right" }, { default: Io(() => [Yr(u, { class: "video-card__meta" }, { default: Io(() => [Gr(G(e.item.click || 0) + "播放", 1)]), _: 1 })]), _: 1 })]), _: 1 })]), _: 1 }), Yr(d, { class: "video-card__cover" }, { default: Io(() => [n.value ? (Br(), jr(h, { key: 0, class: "video-card__video", src: o.value, poster: e.item.image, autoplay: !0, "show-fullscreen-btn": !0, "show-play-btn": !0, controls: !0, "object-fit": "contain", onEnded: t[0] || (t[0] = e => n.value = !1), onError: r }, null, 8, ["src", "poster"])) : (Br(), $r(Ir, { key: 1 }, [Yr(m, { class: "video-card__img", src: e.item.image || "/static/images/default_cover.png", mode: "aspectFill" }, null, 8, ["src"]), Yr(d, { class: "video-card__play", onClick: ms(a, ["stop"]) }, { default: Io(() => [Yr(d, { class: "video-card__play-btn" }, { default: Io(() => [Yr(d, { class: "video-card__play-icon" })]), _: 1 })]), _: 1 }), e.item.duration ? (Br(), jr(d, { key: 0, class: "video-card__duration" }, { default: Io(() => [Yr(u, null, { default: Io(() => [Gr(G(e.item.duration), 1)]), _: 1 })]), _: 1 })) : Qr("", !0)], 64))]), _: 1 })]), _: 1 }), l.value ? (Br(), jr(d, { key: 0, class: "video-card__translate", onClick: i }, { default: Io(() => [Yr(u, { class: "video-card__translate-text" }, { default: Io(() => [Gr(G(l.value), 1)]), _: 1 })]), _: 1 })) : Qr("", !0)]), _: 1 }) } } }), [["__scopeId", "data-v-7201ac42"]]), EM = (e, t) => { const n = Number(e || 0); return !Number.isFinite(n) || n <= 0 ? 0 : (e => !!e && (61 === Number(e.competition_id || 0) || "世界杯" === String(e.league_name || "")))(t) ? n + 28800 : n }, PM = (e, t) => { const n = EM(e, t); return n ? new Date(1e3 * n) : null }, LM = MM(la({ __name: "match-card", props: { match: {}, showLiveAi: { type: Boolean } }, setup(e) { const t = e, n = { 1: "live", 0: "upcoming", 3: "postponed", 2: "ended" }, o = { 1: "进行中", 0: "未开始", 3: "推迟", 2: "已结束" }, a = { 1: { left: "#008248", right: "#00471b" }, 2: { left: "#006BB7", right: "#D0202D" }, 4: { left: "#6B3FA0", right: "#3F1D6B" }, 5: { left: "#C47A20", right: "#8B5512" } }, r = { left: "#008248", right: "#00471b" }, i = gi(() => { const e = a[t.match.sport_type] || r; return { "--bg-left-color": e.left, "--bg-right-color": e.right } }), s = gi(() => n[t.match.status] || "other"), l = gi(() => { var e; return !!t.showLiveAi && ["live", "upcoming"].includes(s.value) && !!(null == (e = t.match) ? void 0 : e.id) }), c = gi(() => ["live", "upcoming", "ended"].includes(s.value)), d = gi(() => !c.value), u = gi(() => 1 === t.match.status ? "· 进行中 ·" : o[t.match.status] || "未开始"), h = gi(() => { if (!t.match.match_time) return ""; const e = PM(t.match.match_time, t.match); if (!e) return ""; return `${e.getFullYear()}-${String(e.getMonth() + 1).padStart(2, "0")}-${String(e.getDate()).padStart(2, "0")} ${String(e.getHours()).padStart(2, "0")}:${String(e.getMinutes()).padStart(2, "0")}` }), m = () => { var e; const n = null == (e = t.match) ? void 0 : e.id; n && Uv({ url: `/pages/ai_analysis/ai_analysis?type=match&id=${n}` }) }; return (e, t) => { const n = Jg, o = ny, a = Mf; return Br(), jr(o, { class: qe(["mc", "mc--" + s.value]) }, { default: Io(() => [Yr(o, { class: "mc__tags" }, { default: Io(() => [Yr(o, { class: "mc__tags-left" }, { default: Io(() => [Yr(n, { class: "mc__tag-label" }, { default: Io(() => [Gr(G(e.match.league_name || "赛事"), 1)]), _: 1 }), Yr(o, { class: "mc__tag-pill" }, { default: Io(() => [Yr(n, null, { default: Io(() => [Gr("联赛")]), _: 1 })]), _: 1 }), e.match.round_name ? (Br(), jr(o, { key: 0, class: "mc__tag-pill" }, { default: Io(() => [Yr(n, null, { default: Io(() => [Gr(G(e.match.round_name), 1)]), _: 1 })]), _: 1 })) : Qr("", !0)]), _: 1 }), Yr(o, { class: "mc__tags-right" }, { default: Io(() => [c.value ? (Br(), jr(n, { key: 0, class: qe(["mc__time", "mc__time--" + s.value]) }, { default: Io(() => [Gr(G(h.value), 1)]), _: 1 }, 8, ["class"])) : Qr("", !0), e.match.is_hot ? (Br(), jr(o, { key: 1, class: "mc__tag-hot" }, { default: Io(() => [Yr(n, null, { default: Io(() => [Gr("热门")]), _: 1 })]), _: 1 })) : Qr("", !0)]), _: 1 })]), _: 1 }), 1 === e.match.status ? (Br(), jr(o, { key: 0, class: "mc__body-live", style: Ue(i.value) }, { default: Io(() => [Yr(o, { class: "mc__bg-left" }), Yr(o, { class: "mc__bg-right" }), Yr(o, { class: "mc__home mc__home--live" }, { default: Io(() => [e.match.home_icon ? (Br(), jr(a, { key: 0, class: "mc__icon", src: e.match.home_icon, mode: "aspectFit" }, null, 8, ["src"])) : Qr("", !0), Yr(n, { class: "mc__name mc__name--white" }, { default: Io(() => [Gr(G(e.match.home_team), 1)]), _: 1 }), Yr(n, { class: "mc__eng mc__eng--white" }, { default: Io(() => [Gr(G(e.match.home_team_en || ""), 1)]), _: 1 })]), _: 1 }), Yr(o, { class: "mc__vs-area mc__vs-area--live" }, { default: Io(() => [Yr(n, { class: "mc__num mc__num--white" }, { default: Io(() => [Gr(G(e.match.home_score ?? 0), 1)]), _: 1 }), Yr(n, { class: "mc__vs-text mc__vs-text--live" }, { default: Io(() => [Gr("VS")]), _: 1 }), Yr(n, { class: "mc__num mc__num--white" }, { default: Io(() => [Gr(G(e.match.away_score ?? 0), 1)]), _: 1 })]), _: 1 }), Yr(o, { class: "mc__away mc__away--live" }, { default: Io(() => [e.match.away_icon ? (Br(), jr(a, { key: 0, class: "mc__icon", src: e.match.away_icon, mode: "aspectFit" }, null, 8, ["src"])) : Qr("", !0), Yr(n, { class: "mc__name mc__name--white" }, { default: Io(() => [Gr(G(e.match.away_team), 1)]), _: 1 }), Yr(n, { class: "mc__eng mc__eng--white" }, { default: Io(() => [Gr(G(e.match.away_team_en || ""), 1)]), _: 1 })]), _: 1 })]), _: 1 }, 8, ["style"])) : 0 === e.match.status ? (Br(), jr(o, { key: 1, class: "mc__body-upcoming" }, { default: Io(() => [Yr(o, { class: "mc__row" }, { default: Io(() => [Yr(o, { class: "mc__team-row" }, { default: Io(() => [e.match.home_icon ? (Br(), jr(a, { key: 0, class: "mc__icon-sm", src: e.match.home_icon, mode: "aspectFit" }, null, 8, ["src"])) : Qr("", !0), Yr(o, { class: "mc__team-info" }, { default: Io(() => [Yr(n, { class: "mc__tname" }, { default: Io(() => [Gr(G(e.match.home_team), 1)]), _: 1 }), Yr(n, { class: "mc__teng" }, { default: Io(() => [Gr(G(e.match.home_team_en || ""), 1)]), _: 1 })]), _: 1 })]), _: 1 }), Yr(o, { class: "mc__odds-item" }, { default: Io(() => [Yr(n, { class: "mc__odds-label" }, { default: Io(() => [Gr("主胜")]), _: 1 }), Yr(n, { class: "mc__odds-val" }, { default: Io(() => [Gr(G(e.match.home_odds || "0.00"), 1)]), _: 1 })]), _: 1 })]), _: 1 }), Yr(o, { class: "mc__row mc__row--mid" }, { default: Io(() => [Yr(o, { class: "mc__vs-center" }, { default: Io(() => [Yr(n, { class: "mc__vs-text" }, { default: Io(() => [Gr("VS")]), _: 1 })]), _: 1 }), Yr(o, { class: "mc__odds-item" }, { default: Io(() => [Yr(n, { class: "mc__odds-label" }, { default: Io(() => [Gr("平局")]), _: 1 }), Yr(n, { class: "mc__odds-val" }, { default: Io(() => [Gr(G(e.match.draw_odds || "0.00"), 1)]), _: 1 })]), _: 1 })]), _: 1 }), Yr(o, { class: "mc__row" }, { default: Io(() => [Yr(o, { class: "mc__team-row mc__team-row--away" }, { default: Io(() => [e.match.away_icon ? (Br(), jr(a, { key: 0, class: "mc__icon-sm", src: e.match.away_icon, mode: "aspectFit" }, null, 8, ["src"])) : Qr("", !0), Yr(o, { class: "mc__team-info" }, { default: Io(() => [Yr(n, { class: "mc__tname" }, { default: Io(() => [Gr(G(e.match.away_team), 1)]), _: 1 }), Yr(n, { class: "mc__teng" }, { default: Io(() => [Gr(G(e.match.away_team_en || ""), 1)]), _: 1 })]), _: 1 })]), _: 1 }), Yr(o, { class: "mc__odds-item" }, { default: Io(() => [Yr(n, { class: "mc__odds-label" }, { default: Io(() => [Gr("客胜")]), _: 1 }), Yr(n, { class: "mc__odds-val" }, { default: Io(() => [Gr(G(e.match.away_odds || "0.00"), 1)]), _: 1 })]), _: 1 })]), _: 1 })]), _: 1 })) : (Br(), jr(o, { key: 2, class: "mc__body" }, { default: Io(() => [Yr(o, { class: "mc__home" }, { default: Io(() => [e.match.home_icon ? (Br(), jr(a, { key: 0, class: "mc__icon", src: e.match.home_icon, mode: "aspectFit" }, null, 8, ["src"])) : Qr("", !0), Yr(n, { class: "mc__name" }, { default: Io(() => [Gr(G(e.match.home_team), 1)]), _: 1 }), Yr(n, { class: "mc__eng" }, { default: Io(() => [Gr(G(e.match.home_team_en || ""), 1)]), _: 1 })]), _: 1 }), Yr(o, { class: "mc__vs-area" }, { default: Io(() => [Yr(n, { class: "mc__num" }, { default: Io(() => [Gr(G(e.match.home_score ?? 0), 1)]), _: 1 }), Yr(n, { class: "mc__vs-text" }, { default: Io(() => [Gr("VS")]), _: 1 }), Yr(n, { class: "mc__num" }, { default: Io(() => [Gr(G(e.match.away_score ?? 0), 1)]), _: 1 })]), _: 1 }), Yr(o, { class: "mc__away" }, { default: Io(() => [e.match.away_icon ? (Br(), jr(a, { key: 0, class: "mc__icon", src: e.match.away_icon, mode: "aspectFit" }, null, 8, ["src"])) : Qr("", !0), Yr(n, { class: "mc__name" }, { default: Io(() => [Gr(G(e.match.away_team), 1)]), _: 1 }), Yr(n, { class: "mc__eng" }, { default: Io(() => [Gr(G(e.match.away_team_en || ""), 1)]), _: 1 })]), _: 1 })]), _: 1 })), Yr(o, { class: qe(["mc__footer", { "mc__footer--live-ai": l.value }]) }, { default: Io(() => [Yr(o, { class: qe(["mc__badge", "mc__badge--" + s.value]) }, { default: Io(() => [Yr(n, null, { default: Io(() => [Gr(G(u.value), 1)]), _: 1 })]), _: 1 }, 8, ["class"]), d.value ? (Br(), jr(n, { key: 0, class: qe(["mc__time", "mc__time--" + s.value]) }, { default: Io(() => [Gr(G(h.value), 1)]), _: 1 }, 8, ["class"])) : Qr("", !0), l.value ? (Br(), jr(o, { key: 1, class: "mc__ai-entry", onClick: ms(m, ["stop"]) }, { default: Io(() => [Yr(n, { class: "mc__ai-entry-badge" }, { default: Io(() => [Gr("AI")]), _: 1 }), Yr(n, { class: "mc__ai-entry-text" }, { default: Io(() => [Gr("分析")]), _: 1 })]), _: 1 })) : Qr("", !0)]), _: 1 }, 8, ["class"])]), _: 1 }, 8, ["class"]) } } }), [["__scopeId", "data-v-8d367897"]]); function OM(e, t = "navigateTo") { if ("mini_program" === e.type) return void function (e) { const t = e.query; window.open(`weixin://dl/business/?appid=${null == t ? void 0 : t.appId}&path=${null == t ? void 0 : t.path}&env_version=${null == t ? void 0 : t.env_version}&query=${encodeURIComponent(null == t ? void 0 : t.query)}`) }(e); const n = (null == e ? void 0 : e.query) ? `${e.path}?${NM(null == e ? void 0 : e.query)}` : e.path; ("switchTab" == t || e.canTab) && Fm({ url: n }), "navigateTo" == t && Uv({ url: n }), "reLaunch" == t && qm({ url: n }) } const BM = e => null == e && void 0 === e; function NM(e) { let t = ""; for (const n of Object.keys(e)) { const o = e[n], a = encodeURIComponent(n) + "="; if (!BM(o)) if (console.log(encodeURIComponent(n), w(o)), w(o)) { for (const e of Object.keys(o)) if (!BM(o[e])) { t += encodeURIComponent(n + "[" + e + "]") + "=" + encodeURIComponent(o[e]) + "&" } } else t += a + encodeURIComponent(o) + "&" } return t.slice(0, -1) } const DM = la({ __name: "l-swiper", props: { content: { default: { data: [] } }, mode: { default: "round" }, height: { default: "340" }, indicatorPos: { default: "bottomCenter" }, effect3d: { type: Boolean, default: !1 }, autoplay: { type: Boolean, default: !0 }, interval: { default: "2500" }, duration: { default: 300 }, circular: { type: Boolean, default: !0 }, current: { default: 0 }, name: { default: "image" }, borderRadius: { default: "0" }, bgColor: { default: "#f3f4f6" } }, emits: ["change"], setup(e, { emit: t }) { const n = t, o = e, { getImageUrl: a } = US(); Fo(() => { var e; try { const t = null == o ? void 0 : o.content, r = null == (e = null == t ? void 0 : t.data) ? void 0 : e.length; if (!r) return; for (let e = 0; e < r; e++) { const n = t.data[e]; n.image = a(n.image) } n("change", 0) } catch (t) { console.log("轮播图数据错误", t) } }); const r = gi(() => o.content.data || []); Lk(); const i = e => { var t; const n = null == (t = o.content.data[e]) ? void 0 : t.link; n && OM(n) }, s = e => { n("change", e) }; return (e, t) => { const n = Bo("u-swiper"); return r.value.length ? (Br(), jr(n, { key: 0, list: r.value, mode: e.mode, height: e.height, effect3d: e.effect3d, "indicator-pos": e.indicatorPos, autoplay: e.autoplay, interval: e.interval, duration: e.duration, circular: e.circular, borderRadius: e.borderRadius, current: e.current, name: e.name, "bg-color": e.bgColor, onClick: i, onChange: s }, null, 8, ["list", "mode", "height", "effect3d", "indicator-pos", "autoplay", "interval", "duration", "circular", "borderRadius", "current", "name", "bg-color"])) : Qr("", !0) } } }), VM = la({ __name: "banner", props: { content: { type: Object, default: () => ({}) }, styles: { type: Object, default: () => ({}) }, isLargeScreen: { type: Boolean } }, emits: ["change"], setup(e, { emit: t }) { const n = t, o = e, { getImageUrl: a } = US(), r = e => { n("change", a(o.content.data[e].bg)) }; return (t, n) => { const o = ny; return e.content.data.length && e.content.enabled ? (Br(), jr(o, { key: 0, class: qe(["banner translate-y-0", { "px-[20rpx]": !e.isLargeScreen }]) }, { default: Io(() => [Yr(DM, { content: e.content, height: e.isLargeScreen ? "1100" : "321", circular: !0, effect3d: !1, "border-radius": e.isLargeScreen ? "0" : "14", interval: "7000", bgColor: "transparent", onChange: r }, null, 8, ["content", "height", "border-radius"])]), _: 1 }, 8, ["class"])) : Qr("", !0) } } }), $M = la({ __name: "customer-service", props: { content: { type: Object, default: () => ({}) }, styles: { type: Object, default: () => ({}) } }, setup(e) { const t = e, { getImageUrl: n } = US(), o = gi(() => ``); return (t, n) => { const a = ny, r = Bo("u-parse"); return Br(), $r(Ir, null, [Yr(a, { class: "bg-white p-[30rpx] flex text-[#101010] font-medium text-lg" }, { default: Io(() => [Gr(" 联系我们 ")]), _: 1 }), Yr(a, { class: "customer-service bg-white flex flex-col justify-center items-center mx-[36rpx] mt-[30rpx] rounded-[20rpx] px-[20rpx] pb-[100rpx]" }, { default: Io(() => [Yr(a, { class: "w-full border-solid border-0 border-b border-[#f5f5f5] p-[30rpx] text-center text-[#101010] text-base font-medium" }, { default: Io(() => [Gr(G(e.content.title), 1)]), _: 1 }), Yr(a, { class: "mt-[60rpx]" }, { default: Io(() => [Yr(r, { html: o.value }, null, 8, ["html"])]), _: 1 }), e.content.remark ? (Br(), jr(a, { key: 0, class: "text-sm mt-[40rpx] font-medium" }, { default: Io(() => [Gr(G(e.content.remark), 1)]), _: 1 })) : Qr("", !0), e.content.mobile ? (Br(), jr(a, { key: 1, class: "text-sm mt-[24rpx] flex flex-wrap" }, { default: Io(() => [qr("a", { class: "ml-[10rpx] phone text-primary underline", href: "tel:" + e.content.mobile }, G(e.content.mobile), 9, ["href"])]), _: 1 })) : Qr("", !0), e.content.time ? (Br(), jr(a, { key: 2, class: "text-muted text-sm mt-[30rpx]" }, { default: Io(() => [Gr(" 服务时间:" + G(e.content.time), 1)]), _: 1 })) : Qr("", !0)]), _: 1 })], 64) } } }), jM = la({ __name: "middle-banner", props: { content: { type: Object, default: () => ({}) }, styles: { type: Object, default: () => ({}) } }, setup(e) { const t = e, { getImageUrl: n } = US(), o = gi(() => { var e; return (null == (e = t.content.data) ? void 0 : e.filter(e => "1" == e.is_show)) || [] }); return (t, a) => { const r = Bo("u-image"), i = Yg, s = Ug, l = ny; return o.value.length && e.content.enabled ? (Br(), jr(l, { key: 0, class: "banner h-[200rpx] mx-[20rpx] mt-[20rpx] translate-y-0" }, { default: Io(() => [Yr(s, { class: "swiper h-full", "indicator-dots": o.value.length > 1, "indicator-active-color": "#4173ff", autoplay: !0 }, { default: Io(() => [(Br(!0), $r(Ir, null, Da(o.value, (e, t) => (Br(), jr(i, { key: t, onClick: t => { OM(e.link) } }, { default: Io(() => [Yr(r, { mode: "widthFix", width: "100%", height: "100%", src: Yn(n)(e.image), "border-radius": 14 }, null, 8, ["src"])]), _: 2 }, 1032, ["onClick"]))), 128))]), _: 1 }, 8, ["indicator-dots"])]), _: 1 })) : Qr("", !0) } } }), zM = la({ __name: "my-service", props: { content: { type: Object, default: () => ({}) }, styles: { type: Object, default: () => ({}) } }, setup(e) { const t = e, { getImageUrl: n } = US(), o = e => { OM(e) }, a = gi(() => { var e; return (null == (e = t.content.data) ? void 0 : e.filter(e => "1" == e.is_show)) || [] }); return (t, r) => { const i = Bo("u-image"), s = Bo("u-icon"); return Br(), $r("div", { class: "my-service bg-white mx-[20rpx] mt-[20rpx] rounded-lg p-[30rpx]" }, [e.content.title ? (Br(), $r("div", { key: 0, class: "title font-medium text-lg" }, [qr("div", null, G(e.content.title), 1)])) : Qr("", !0), 1 == e.content.style ? (Br(), $r("div", { key: 1, class: "grid grid-cols-4 gap-x-9 gap-y-7" }, [(Br(!0), $r(Ir, null, Da(a.value, (e, t) => (Br(), $r("div", { key: t, class: "flex flex-col items-center pt-[40rpx]", onClick: t => o(e.link) }, [Yr(i, { width: "52", height: "52", src: Yn(n)(e.image), alt: "" }, null, 8, ["src"]), qr("div", { class: "mt-[22rpx] text-sm" }, G(e.name), 1)], 8, ["onClick"]))), 128))])) : Qr("", !0), 2 == e.content.style ? (Br(), $r("div", { key: 2 }, [(Br(!0), $r(Ir, null, Da(a.value, (e, t) => (Br(), $r("div", { key: t, class: "flex items-center border-light border-solid border-0 border-b h-[100rpx] px-[24rpx]", onClick: t => o(e.link) }, [Yr(i, { width: "48", height: "48", src: Yn(n)(e.image), alt: "" }, null, 8, ["src"]), qr("div", { class: "ml-[20rpx] flex-1 text-sm" }, G(e.name), 1), qr("div", { class: "text-muted" }, [Yr(s, { name: "arrow-right" })])], 8, ["onClick"]))), 128))])) : Qr("", !0)]) } } }), FM = la({ __name: "nav", props: { content: { type: Object, default: () => ({}) }, styles: { type: Object, default: () => ({}) } }, setup(e) { const t = e, { getImageUrl: n } = US(), o = Wn(0), a = Wn([]), r = gi(() => t.content.per_line * t.content.show_line); Ho(() => t.content.data, e => { const n = 1 === t.content.style ? e.length : r.value; a.value = ((e, t) => { const n = []; for (let o = 0; o < Math.ceil(e.length / t); o++) { const a = o * t, r = a + t; n.push(e.slice(a, r)) } return n })(e, n), console.log(a.value) }, { deep: !0, immediate: !0 }); const i = e => { o.value = e.detail.current }; return (t, o) => { const r = Bo("u-image"), s = ny, l = Yg, c = Ug; return Br(), $r("div", { class: "relative mx-[20rpx] mt-[20rpx]" }, [Yr(c, { class: "py-[20rpx] bg-white rounded-lg", style: Ue({ height: a.value[0].length > e.content.per_line ? "288rpx" : "132rpx" }), autoplay: !1, "indicator-dots": !1, onChange: i }, { default: Io(() => [(Br(!0), $r(Ir, null, Da(a.value, (t, o) => (Br(), jr(l, { key: o }, { default: Io(() => [a.value.length && e.content.enabled ? (Br(), jr(s, { key: 0, class: "nav" }, { default: Io(() => [Yr(s, { class: "grid grid-rows-auto gap-y-3 w-full", style: Ue({ "grid-template-columns": `repeat(${e.content.per_line}, 1fr)` }) }, { default: Io(() => [(Br(!0), $r(Ir, null, Da(t, (e, t) => (Br(), jr(s, { key: t, class: "flex flex-col items-center", onClick: t => { OM(e.link) } }, { default: Io(() => [Yr(r, { width: "82", height: "82", src: Yn(n)(e.image), alt: "" }, null, 8, ["src"]), Yr(s, { class: "mt-[14rpx] text-xs" }, { default: Io(() => [Gr(G(e.name), 1)]), _: 2 }, 1024)]), _: 2 }, 1032, ["onClick"]))), 128))]), _: 2 }, 1032, ["style"])]), _: 2 }, 1024)) : Qr("", !0)]), _: 2 }, 1024))), 128))]), _: 1 }, 8, ["style"])]) } } }), WM = MM(la({ __name: "search", props: { pageMeta: { type: Object, default: () => [] }, content: { type: Object, default: () => ({}) }, styles: { type: Object, default: () => ({}) }, isLargeScreen: { type: Boolean }, percent: { type: Number } }, setup(e) { const t = e; return gi(() => t.pageMeta[0].content), (t, n) => { const o = Bo("u-search"), a = xg; return e.isLargeScreen ? Qr("", !0) : (Br(), jr(a, { key: 0, url: "/pages/search/search", class: "px-[24rpx] mt-[24rpx] mb-[30rpx]", style: Ue({ opacity: 1 - e.percent }), "hover-class": "none" }, { default: Io(() => [Yr(o, { placeholder: "请输入关键词搜索", height: 72, disabled: !0, "show-action": !1, bgColor: "#ffffff" })]), _: 1 }, 8, ["style"])) } } }), [["__scopeId", "data-v-1932de42"]]), HM = la({ __name: "user-banner", props: { content: { type: Object, default: () => ({}) }, styles: { type: Object, default: () => ({}) } }, setup(e) { const t = e, { getImageUrl: n } = US(), o = gi(() => { var e; return (null == (e = t.content.data) ? void 0 : e.filter(e => "1" == e.is_show)) || [] }); return (t, a) => { const r = Bo("u-image"), i = Yg, s = Ug, l = ny; return o.value.length && e.content.enabled ? (Br(), jr(l, { key: 0, class: "banner h-[200rpx] mx-[20rpx] mt-[20rpx] translate-y-0" }, { default: Io(() => [Yr(s, { class: "swiper h-full", "indicator-dots": o.value.length > 1, "indicator-active-color": "#4173ff", autoplay: !0 }, { default: Io(() => [(Br(!0), $r(Ir, null, Da(o.value, (e, t) => (Br(), jr(i, { key: t, onClick: t => { OM(e.link) } }, { default: Io(() => [Yr(r, { mode: "widthFix", width: "100%", height: "100%", src: Yn(n)(e.image), "border-radius": 14 }, null, 8, ["src"])]), _: 2 }, 1032, ["onClick"]))), 128))]), _: 1 }, 8, ["indicator-dots"])]), _: 1 })) : Qr("", !0) } } }); const UM = MM(la({ __name: "user-info", props: { pageMeta: { type: Object, default: () => [] }, content: { type: Object, default: () => ({}) }, styles: { type: Object, default: () => ({}) }, user: { type: Object, default: () => ({}) }, isLogin: { type: Boolean } }, setup(e) { const t = e, { copy: n } = { copy: e => { sv({ data: String(e) }) } }; gi(() => t.pageMeta[0].content); return (t, o) => { const a = Bo("u-avatar"), r = ny, i = xg, s = Bo("u-icon"); return Br(), jr(r, { class: "user-info mb-[0rpx]" }, { default: Io(() => [Yr(r, { class: "flex items-center justify-between px-[50rpx] pb-[50rpx] pt-[40rpx]" }, { default: Io(() => [e.isLogin ? (Br(), jr(r, { key: 0, class: "flex items-center", onClick: o[1] || (o[1] = e => { Uv({ url: "/pages/user_data/user_data" }) }) }, { default: Io(() => [Yr(a, { src: e.user.avatar, size: 120 }, null, 8, ["src"]), Yr(r, { class: "text-white ml-[20rpx]" }, { default: Io(() => [Yr(r, { class: "text-2xl" }, { default: Io(() => [Gr(G(e.user.nickname), 1)]), _: 1 }), Yr(r, { class: "text-xs mt-[18rpx]", onClick: o[0] || (o[0] = ms(t => Yn(n)(e.user.account), ["stop"])) }, { default: Io(() => [Gr(" 账号:" + G(e.user.account), 1)]), _: 1 })]), _: 1 })]), _: 1 })) : (Br(), jr(i, { key: 1, class: "flex items-center", "hover-class": "none", url: "/pages/login/login" }, { default: Io(() => [Yr(a, { src: "/static/images/user/default_avatar.png", size: 120 }), Yr(r, { class: "text-white text-3xl ml-[20rpx]" }, { default: Io(() => [Gr("未登录")]), _: 1 })]), _: 1 })), e.isLogin ? (Br(), jr(i, { key: 2, "hover-class": "none", url: "/pages/user_set/user_set" }, { default: Io(() => [Yr(s, { name: "setting", color: "#fff", size: 48 })]), _: 1 })) : Qr("", !0)]), _: 1 })]), _: 1 }) } } }), [["__scopeId", "data-v-090ccad9"]]); const qM = MM({ name: "PageMeta", setup(e, { emit: t }) { Aa(() => { Kh(e => { t("resize", e) }) }) }, props: { backgroundTextStyle: { type: String, default: "dark", validator: e => -1 !== ["dark", "light"].indexOf(e) }, 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 e = mp(), t = e[e.length - 1]; this.$pageVm = t.$vm || t, this.$watch("backgroundTextStyle", () => { this.setBackgroundTextStyle() }), this.$watch(() => [this.rootFontSize, this.pageStyle], () => { this.setPageMeta(t.$page.id) }), 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() }, activated() { this.setPageMeta() }, methods: { setPullDownRefresh(e, t) { e.setStyle({ pullToRefresh: { support: t, style: "Android" === plus.os.name ? "circle" : "default" } }) }, setPageMeta(e) { this.$nextTick(() => { tm({ pageStyle: this.pageStyle, rootFontSize: this.rootFontSize, pageId: e }) }) }, setBackgroundTextStyle() { }, setBackgroundColor() { }, pageScrollTo() { let e = String(this.scrollTop); -1 !== e.indexOf("rpx") && (e = gh(e.replace("rpx", ""))), e = parseFloat(e), isNaN(e) || Sb({ scrollTop: e, duration: this.scrollDuration, success: () => { } }) } } }, [["render", function (e, t, n, o, a, r) { const i = ny; return Br(), jr(i, { style: { display: "none" } }, { default: Io(() => [Va(e.$slots, "default")]), _: 3 }) }]]); const YM = MM({ props: { title: { type: String, default: "" }, titleIcon: { type: String, default: "" }, titleIconRadius: { type: String, default: "" }, subtitleText: { type: String, default: "" }, subtitleSize: { type: String, default: "" }, subtitleColor: { type: String, default: "" }, subtitleOverflow: { type: String, default: "" }, titleAlign: { type: String, default: "" }, backgroundImage: { type: String, default: "" }, backgroundRepeat: { type: String, default: "" }, blurEffect: { type: String, default: "" }, loading: { type: Boolean, default: !1 }, frontColor: { type: String, default: "#ffffff" }, backgroundColor: { type: String, default: "#000000" }, colorAnimationDuration: { type: Number, default: 0 }, colorAnimationTimingFunc: { type: String, default: "linear" } }, created() { const e = mp(), t = e[e.length - 1]; this.__$page = t, this.$watch("title", () => { this.setNavigationBarTitle() }), this.$watch("loading", () => { this.setNavigationBarLoading() }), this.$watch(() => [this.frontColor, this.backgroundColor, this.colorAnimationDuration, this.colorAnimationTimingFunc], () => { this.setNavigationBarColor() }) }, beforeMount() { this.title && this.setNavigationBarTitle(), this.setNavigationBarLoading(), this.setNavigationBarColor() }, methods: { setNavigationBarTitle() { xb({ __page__: this.__$page, title: this.title }) }, setNavigationBarLoading() { uni[(this.loading ? "show" : "hide") + "NavigationBarLoading"]({ __page__: this.__$page }) }, setNavigationBarColor() { Tb({ __page__: this.__$page, frontColor: this.frontColor, backgroundColor: this.backgroundColor, animation: { duration: this.colorAnimationDuration, timingFunc: this.colorAnimationTimingFunc } }) }, setTitleNView(e) { const t = this.__$webview, n = t.getStyle(); n && n.titleNView && t.setStyle({ titleNView: e }) } } }, [["render", function (e, t, n, o, a, r) { const i = ny; return Br(), jr(i, { style: { display: "none" } }) }]]), ZM = { name: "u-button", emits: ["click", "getphonenumber", "getuserinfo", "error", "opensetting", "launchapp"], props: { hairLine: { type: Boolean, default: !0 }, type: { type: String, default: "default" }, size: { type: String, default: "default" }, shape: { type: String, default: "square" }, plain: { type: Boolean, default: !1 }, disabled: { type: Boolean, default: !1 }, loading: { type: Boolean, default: !1 }, openType: { type: String, default: "" }, formType: { type: String, default: "" }, appParameter: { type: String, default: "" }, hoverStopPropagation: { type: Boolean, default: !1 }, lang: { type: String, default: "en" }, sessionFrom: { type: String, default: "" }, sendMessageTitle: { type: String, default: "" }, sendMessagePath: { type: String, default: "" }, sendMessageImg: { type: String, default: "" }, showMessageCard: { type: Boolean, default: !1 }, hoverBgColor: { type: String, default: "" }, rippleBgColor: { type: String, default: "" }, ripple: { type: Boolean, default: !1 }, hoverClass: { type: String, default: "" }, customStyle: { type: Object, default: () => ({}) }, dataName: { type: String, default: "" }, throttleTime: { type: [String, Number], default: 500 }, hoverStartTime: { type: [String, Number], default: 20 }, hoverStayTime: { type: [String, Number], default: 150 }, timerId: { type: [String, Number] } }, computed: { getHoverClass() { if (this.loading || this.disabled || this.ripple || this.hoverClass) return ""; let e = ""; return e = this.plain ? "u-" + this.type + "-plain-hover" : "u-" + this.type + "-hover", e }, showHairLineBorder() { return ["primary", "success", "error", "warning"].indexOf(this.type) >= 0 && !this.plain ? "" : "u-hairline-border" } }, data() { return { btnTimerId: this.timerId || "button_" + Math.floor(1e8 * Math.random() + 0), rippleTop: 0, rippleLeft: 0, fields: {}, waveActive: !1 } }, methods: { click(e) { this.$u.throttle(() => { !0 !== this.loading && !0 !== this.disabled && (this.ripple && (this.waveActive = !1, this.$nextTick(function () { this.getWaveQuery(e) })), this.$emit("click", e)) }, this.throttleTime, !0, this.btnTimerId) }, getWaveQuery(e) { this.getElQuery().then(t => { let n = t[0]; if (!n.width || !n.width) return; if (n.targetWidth = n.height > n.width ? n.height : n.width, !n.targetWidth) return; this.fields = n; let o = "", a = ""; o = e.touches[0].clientX, a = e.touches[0].clientY, this.rippleTop = a - n.top - n.targetWidth / 2, this.rippleLeft = o - n.left - n.targetWidth / 2, this.$nextTick(() => { this.waveActive = !0 }) }) }, getElQuery() { return new Promise(e => { let t = ""; t = Xh().in(this), t.select(".u-btn").boundingClientRect(), t.exec(t => { e(t) }) }) }, 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) } } }; const GM = MM(ZM, [["render", function (e, t, n, o, a, r) { const i = ny, s = wu; return Br(), jr(s, { id: "u-wave-btn", class: qe(["u-btn u-line-1 u-fix-ios-appearance", ["u-size-" + n.size, n.plain ? "u-btn--" + n.type + "--plain" : "", n.loading ? "u-loading" : "", "circle" == n.shape ? "u-round-circle" : "", n.hairLine ? r.showHairLineBorder : "u-btn--bold-border", "u-btn--" + n.type, n.disabled ? `u-btn--${n.type}--disabled` : ""]]), "hover-start-time": Number(n.hoverStartTime), "hover-stay-time": Number(n.hoverStayTime), disabled: n.disabled, "form-type": n.formType, "open-type": n.openType, "app-parameter": n.appParameter, "hover-stop-propagation": n.hoverStopPropagation, "send-message-title": n.sendMessageTitle, "send-message-path": "sendMessagePath", lang: n.lang, "data-name": n.dataName, "session-from": n.sessionFrom, "send-message-img": n.sendMessageImg, "show-message-card": n.showMessageCard, onGetphonenumber: r.getphonenumber, onGetuserinfo: r.getuserinfo, onError: r.error, onOpensetting: r.opensetting, onLaunchapp: r.launchapp, style: Ue([n.customStyle, { overflow: n.ripple ? "hidden" : "visible" }]), onClick: t[0] || (t[0] = ms(e => r.click(e), ["stop"])), "hover-class": r.getHoverClass, loading: n.loading }, { default: Io(() => [Va(e.$slots, "default", {}, void 0, !0), n.ripple ? (Br(), jr(i, { key: 0, class: qe(["u-wave-ripple", [a.waveActive ? "u-wave-active" : ""]]), style: Ue({ top: a.rippleTop + "px", left: a.rippleLeft + "px", width: a.fields.targetWidth + "px", height: a.fields.targetWidth + "px", "background-color": n.rippleBgColor || "rgba(0, 0, 0, 0.15)" }) }, null, 8, ["class", "style"])) : Qr("", !0)]), _: 3 }, 8, ["class", "hover-start-time", "hover-stay-time", "disabled", "form-type", "open-type", "app-parameter", "hover-stop-propagation", "send-message-title", "lang", "data-name", "session-from", "send-message-img", "show-message-card", "onGetphonenumber", "onGetuserinfo", "onError", "onOpensetting", "onLaunchapp", "style", "hover-class", "loading"]) }], ["__scopeId", "data-v-e9aa5dea"]]); const QM = MM({ name: "u-checkbox", emits: ["update:modelValue", "input", "change"], props: { value: { type: Boolean, default: !1 }, modelValue: { type: Boolean, default: !1 }, name: { type: [String, Number], default: "" }, shape: { type: String, default: "" }, disabled: { type: [String, Boolean], default: "" }, labelDisabled: { type: [String, Boolean], default: "" }, activeColor: { type: String, default: "" }, iconSize: { type: [String, Number], default: "" }, labelSize: { type: [String, Number], default: "" }, size: { type: [String, Number], default: "" } }, data: () => ({ parentDisabled: !1, newParams: {} }), created() { this.parent = this.$u.$parent.call(this, "u-checkbox-group"), this.parent && this.parent.children.push(this) }, computed: { valueCom() { return this.modelValue }, isDisabled() { return "" !== this.disabled ? this.disabled : !!this.parent && this.parent.disabled }, isLabelDisabled() { return "" !== this.labelDisabled ? this.labelDisabled : !!this.parent && this.parent.labelDisabled }, checkboxSize() { return this.size ? this.size : this.parent ? this.parent.size : 34 }, checkboxIconSize() { return this.iconSize ? this.iconSize : this.parent ? this.parent.iconSize : 20 }, elActiveColor() { return this.activeColor ? this.activeColor : this.parent ? this.parent.activeColor : "primary" }, elShape() { return this.shape ? this.shape : this.parent ? this.parent.shape : "square" }, iconStyle() { let e = {}; return this.elActiveColor && this.valueCom && !this.isDisabled && (e.borderColor = this.elActiveColor, e.backgroundColor = this.elActiveColor), e.width = this.$u.addUnit(this.checkboxSize), e.height = this.$u.addUnit(this.checkboxSize), e }, iconColor() { return this.valueCom ? "#ffffff" : "transparent" }, iconClass() { let e = []; return e.push("u-checkbox__icon-wrap--" + this.elShape), 1 == this.valueCom && e.push("u-checkbox__icon-wrap--checked"), this.isDisabled && e.push("u-checkbox__icon-wrap--disabled"), this.valueCom && this.isDisabled && e.push("u-checkbox__icon-wrap--disabled--checked"), e.join(" ") }, checkboxStyle() { let e = {}; return this.parent && this.parent.width && (e.width = this.parent.width, e.flex = `0 0 ${this.parent.width}`), this.parent && this.parent.wrap && (e.width = "100%", e.flex = "0 0 100%"), e } }, mounted() { this._emitEvent() }, watch: { valueCom: { handler: function (e, t) { this._emitEvent() } } }, methods: { _emitEvent() { let e = { value: this.valueCom, name: this.name }; this.parent && this.parent.emitEvent && this.parent._emitEvent(e) }, onClickLabel() { this.isLabelDisabled || this.isDisabled || this.setValue() }, toggle() { this.isDisabled || this.setValue() }, emitEvent() { let e = { value: !this.valueCom, name: this.name }; this.$emit("change", e), this.parent && this.parent.emitEvent && this.parent.emitEvent(e) }, setValue() { let e = this.valueCom, t = 0; if (this.parent && this.parent.children && this.parent.children.map(e => { e.value && t++ }), 1 == e) this.emitEvent(), this.$emit("input", !e), this.$emit("update:modelValue", !e); else { if (this.parent && t >= this.parent.max) return this.$u.toast(`最多可选${this.parent.max}项`); this.emitEvent(), this.$emit("input", !e), this.$emit("update:modelValue", !e) } } } }, [["render", function (e, t, n, o, a, r) { const i = Bo("u-icon"), s = ny; return Br(), jr(s, { class: "u-checkbox", style: Ue([r.checkboxStyle]) }, { default: Io(() => [Yr(s, { class: qe(["u-checkbox__icon-wrap", [r.iconClass]]), onClick: r.toggle, style: Ue([r.iconStyle]) }, { default: Io(() => [Yr(i, { class: "u-checkbox__icon-wrap__icon", name: "checkbox-mark", size: r.checkboxIconSize, color: r.iconColor }, null, 8, ["size", "color"])]), _: 1 }, 8, ["onClick", "class", "style"]), Yr(s, { class: "u-checkbox__label", onClick: r.onClickLabel, style: Ue({ fontSize: e.$u.addUnit(n.labelSize) }) }, { default: Io(() => [Va(e.$slots, "default", {}, void 0, !0)]), _: 3 }, 8, ["onClick", "style"])]), _: 3 }, 8, ["style"]) }], ["__scopeId", "data-v-e8a09fb1"]]), JM = { name: "u-form", props: { model: { type: Object, default: () => ({}) }, errorType: { type: Array, default: () => ["message", "toast"] }, borderBottom: { type: Boolean, default: !0 }, labelPosition: { type: String, default: "left" }, labelWidth: { type: [String, Number], default: 90 }, labelAlign: { type: String, default: "left" }, labelStyle: { type: Object, default: () => ({}) }, inputAlign: { type: String, default: "left" }, clearable: { type: Boolean, default: !0 } }, provide() { return { uForm: this } }, data: () => ({ rules: {} }), created() { this.fields = [] }, methods: { setRules(e) { this.rules = e }, resetFields() { this.fields.map(e => { e.resetField() }) }, validate(e) { return new Promise(t => { let n = !0, o = 0, a = [], r = []; this.fields.map(i => { i.validation("", (i, s) => { i && (n = !1, a.push(i), r.push(s)), ++o === this.fields.length && (t(n, r[0]), -1 === this.errorType.indexOf("none") && this.errorType.indexOf("toast") >= 0 && a.length && this.$u.toast(a[0]), "function" == typeof e && e(n, r[0])) }) }) }) } } }; const XM = MM(JM, [["render", function (e, t, n, o, a, r) { const i = ny; return Br(), jr(i, { class: "u-form" }, { default: Io(() => [Va(e.$slots, "default", {}, void 0, !0)]), _: 3 }) }], ["__scopeId", "data-v-13626807"]]); function KM(e, t, n) { } const eA = { methods: { dispatch(e, t, n) { let o = this.$parent || this.$root, a = o.$options.name; for (; o && (!a || a !== e);)o = o.$parent, o && (a = o.$options.name); o && o[t](n) }, broadcast(e, t, n) { KM.call(this, e, t, n) } } }; function tA() { return tA = Object.assign || function (e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var o in n) Object.prototype.hasOwnProperty.call(n, o) && (e[o] = n[o]) } return e }, tA.apply(this, arguments) } var nA = /%[sdj%]/g; function oA(e) { if (!e || !e.length) return null; var t = {}; return e.forEach(function (e) { var n = e.field; t[n] = t[n] || [], t[n].push(e) }), t } function aA() { for (var e = arguments.length, t = new Array(e), n = 0; n < e; n++)t[n] = arguments[n]; var o = 1, a = t[0], r = t.length; if ("function" == typeof a) return a.apply(null, t.slice(1)); if ("string" == typeof a) { for (var i = String(a).replace(nA, function (e) { 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 } }), s = t[o]; o < r; s = t[++o])i += " " + s; return i } return a } function rA(e, t) { return null == e || (!("array" !== t || !Array.isArray(e) || e.length) || !(!function (e) { return "string" === e || "url" === e || "hex" === e || "email" === e || "pattern" === e }(t) || "string" != typeof e || e)) } function iA(e, t, n) { var o = 0, a = e.length; !function r(i) { if (i && i.length) n(i); else { var s = o; o += 1, s < a ? t(e[s], r) : n([]) } }([]) } function sA(e, t, n, o) { if (t.first) { var a = new Promise(function (t, a) { var r = function (e) { var t = []; return Object.keys(e).forEach(function (n) { t.push.apply(t, e[n]) }), t }(e); iA(r, n, function (e) { return o(e), e.length ? a({ errors: e, fields: oA(e) }) : t() }) }); return a.catch(function (e) { return e }), a } var r = t.firstFields || []; !0 === r && (r = Object.keys(e)); var i = Object.keys(e), s = i.length, l = 0, c = [], d = new Promise(function (t, a) { var d = function (e) { if (c.push.apply(c, e), ++l === s) return o(c), c.length ? a({ errors: c, fields: oA(c) }) : t() }; i.length || (o(c), t()), i.forEach(function (t) { var o = e[t]; -1 !== r.indexOf(t) ? iA(o, n, d) : function (e, t, n) { var o = [], a = 0, r = e.length; function i(e) { o.push.apply(o, e), ++a === r && n(o) } e.forEach(function (e) { t(e, i) }) }(o, n, d) }) }); return d.catch(function (e) { return e }), d } function lA(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 cA(e, t) { if (t) for (var n in t) if (t.hasOwnProperty(n)) { var o = t[n]; "object" == typeof o && "object" == typeof e[n] ? e[n] = tA({}, e[n], {}, o) : e[n] = o } return e } function dA(e, t, n, o, a, r) { !e.required || n.hasOwnProperty(e.field) && !rA(t, r || e.type) || o.push(aA(a.messages.required, e.fullField)) } var uA = { 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 }, hA = { integer: function (e) { return hA.number(e) && parseInt(e, 10) === e }, float: function (e) { return hA.number(e) && !hA.integer(e) }, array: function (e) { return Array.isArray(e) }, regexp: function (e) { if (e instanceof RegExp) return !0; try { return !!new RegExp(e) } catch (VR) { 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 && !hA.array(e) }, method: function (e) { return "function" == typeof e }, email: function (e) { return "string" == typeof e && !!e.match(uA.email) && e.length < 255 }, url: function (e) { return "string" == typeof e && !!e.match(uA.url) }, hex: function (e) { return "string" == typeof e && !!e.match(uA.hex) } }; var mA = "enum"; var pA = { required: dA, whitespace: function (e, t, n, o, a) { (/^\s+$/.test(t) || "" === t) && o.push(aA(a.messages.whitespace, e.fullField)) }, type: function (e, t, n, o, a) { if (e.required && void 0 === t) dA(e, t, n, o, a); else { var r = e.type;["integer", "float", "array", "regexp", "object", "method", "email", "number", "date", "url", "hex"].indexOf(r) > -1 ? hA[r](t) || o.push(aA(a.messages.types[r], e.fullField, e.type)) : r && typeof t !== e.type && o.push(aA(a.messages.types[r], e.fullField, e.type)) } }, range: function (e, t, n, o, a) { var r = "number" == typeof e.len, i = "number" == typeof e.min, s = "number" == typeof e.max, l = t, c = null, d = "number" == typeof t, u = "string" == typeof t, h = Array.isArray(t); if (d ? c = "number" : u ? c = "string" : h && (c = "array"), !c) return !1; h && (l = t.length), u && (l = t.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g, "_").length), r ? l !== e.len && o.push(aA(a.messages[c].len, e.fullField, e.len)) : i && !s && l < e.min ? o.push(aA(a.messages[c].min, e.fullField, e.min)) : s && !i && l > e.max ? o.push(aA(a.messages[c].max, e.fullField, e.max)) : i && s && (l < e.min || l > e.max) && o.push(aA(a.messages[c].range, e.fullField, e.min, e.max)) }, enum: function (e, t, n, o, a) { e[mA] = Array.isArray(e[mA]) ? e[mA] : [], -1 === e[mA].indexOf(t) && o.push(aA(a.messages[mA], e.fullField, e[mA].join(", "))) }, pattern: function (e, t, n, o, a) { if (e.pattern) if (e.pattern instanceof RegExp) e.pattern.lastIndex = 0, e.pattern.test(t) || o.push(aA(a.messages.pattern.mismatch, e.fullField, t, e.pattern)); else if ("string" == typeof e.pattern) { new RegExp(e.pattern).test(t) || o.push(aA(a.messages.pattern.mismatch, e.fullField, t, e.pattern)) } } }; function fA(e, t, n, o, a) { var r = e.type, i = []; if (e.required || !e.required && o.hasOwnProperty(e.field)) { if (rA(t, r) && !e.required) return n(); pA.required(e, t, o, i, a, r), rA(t, r) || pA.type(e, t, o, i, a) } n(i) } var gA = { string: function (e, t, n, o, a) { var r = []; if (e.required || !e.required && o.hasOwnProperty(e.field)) { if (rA(t, "string") && !e.required) return n(); pA.required(e, t, o, r, a, "string"), rA(t, "string") || (pA.type(e, t, o, r, a), pA.range(e, t, o, r, a), pA.pattern(e, t, o, r, a), !0 === e.whitespace && pA.whitespace(e, t, o, r, a)) } n(r) }, method: function (e, t, n, o, a) { var r = []; if (e.required || !e.required && o.hasOwnProperty(e.field)) { if (rA(t) && !e.required) return n(); pA.required(e, t, o, r, a), void 0 !== t && pA.type(e, t, o, r, a) } n(r) }, number: function (e, t, n, o, a) { var r = []; if (e.required || !e.required && o.hasOwnProperty(e.field)) { if ("" === t && (t = void 0), rA(t) && !e.required) return n(); pA.required(e, t, o, r, a), void 0 !== t && (pA.type(e, t, o, r, a), pA.range(e, t, o, r, a)) } n(r) }, boolean: function (e, t, n, o, a) { var r = []; if (e.required || !e.required && o.hasOwnProperty(e.field)) { if (rA(t) && !e.required) return n(); pA.required(e, t, o, r, a), void 0 !== t && pA.type(e, t, o, r, a) } n(r) }, regexp: function (e, t, n, o, a) { var r = []; if (e.required || !e.required && o.hasOwnProperty(e.field)) { if (rA(t) && !e.required) return n(); pA.required(e, t, o, r, a), rA(t) || pA.type(e, t, o, r, a) } n(r) }, integer: function (e, t, n, o, a) { var r = []; if (e.required || !e.required && o.hasOwnProperty(e.field)) { if (rA(t) && !e.required) return n(); pA.required(e, t, o, r, a), void 0 !== t && (pA.type(e, t, o, r, a), pA.range(e, t, o, r, a)) } n(r) }, float: function (e, t, n, o, a) { var r = []; if (e.required || !e.required && o.hasOwnProperty(e.field)) { if (rA(t) && !e.required) return n(); pA.required(e, t, o, r, a), void 0 !== t && (pA.type(e, t, o, r, a), pA.range(e, t, o, r, a)) } n(r) }, array: function (e, t, n, o, a) { var r = []; if (e.required || !e.required && o.hasOwnProperty(e.field)) { if (rA(t, "array") && !e.required) return n(); pA.required(e, t, o, r, a, "array"), rA(t, "array") || (pA.type(e, t, o, r, a), pA.range(e, t, o, r, a)) } n(r) }, object: function (e, t, n, o, a) { var r = []; if (e.required || !e.required && o.hasOwnProperty(e.field)) { if (rA(t) && !e.required) return n(); pA.required(e, t, o, r, a), void 0 !== t && pA.type(e, t, o, r, a) } n(r) }, enum: function (e, t, n, o, a) { var r = []; if (e.required || !e.required && o.hasOwnProperty(e.field)) { if (rA(t) && !e.required) return n(); pA.required(e, t, o, r, a), void 0 !== t && pA.enum(e, t, o, r, a) } n(r) }, pattern: function (e, t, n, o, a) { var r = []; if (e.required || !e.required && o.hasOwnProperty(e.field)) { if (rA(t, "string") && !e.required) return n(); pA.required(e, t, o, r, a), rA(t, "string") || pA.pattern(e, t, o, r, a) } n(r) }, date: function (e, t, n, o, a) { var r = []; if (e.required || !e.required && o.hasOwnProperty(e.field)) { if (rA(t) && !e.required) return n(); var i; if (pA.required(e, t, o, r, a), !rA(t)) i = "number" == typeof t ? new Date(t) : t, pA.type(e, i, o, r, a), i && pA.range(e, i.getTime(), o, r, a) } n(r) }, url: fA, hex: fA, email: fA, required: function (e, t, n, o, a) { var r = [], i = Array.isArray(t) ? "array" : typeof t; pA.required(e, t, o, r, a, i), n(r) }, any: function (e, t, n, o, a) { var r = []; if (e.required || !e.required && o.hasOwnProperty(e.field)) { if (rA(t) && !e.required) return n(); pA.required(e, t, o, r, a) } n(r) } }; function yA() { return { default: "Validation error on field %s", required: "%s is required", enum: "%s must be one of %s", whitespace: "%s cannot be empty", date: { format: "%s date %s is invalid for format %s", parse: "%s date could not be parsed, %s is invalid ", invalid: "%s date %s is invalid" }, types: { string: "%s is not a %s", method: "%s is not a %s (function)", array: "%s is not an %s", object: "%s is not an %s", number: "%s is not a %s", date: "%s is not a %s", boolean: "%s is not a %s", integer: "%s is not an %s", float: "%s is not a %s", regexp: "%s is not a valid %s", email: "%s is not a valid %s", url: "%s is not a valid %s", hex: "%s is not a valid %s" }, string: { len: "%s must be exactly %s characters", min: "%s must be at least %s characters", max: "%s cannot be longer than %s characters", range: "%s must be between %s and %s characters" }, number: { len: "%s must equal %s", min: "%s cannot be less than %s", max: "%s cannot be greater than %s", range: "%s must be between %s and %s" }, array: { len: "%s must be exactly %s in length", min: "%s cannot be less than %s in length", max: "%s cannot be greater than %s in length", range: "%s must be between %s and %s in length" }, pattern: { mismatch: "%s value %s does not match pattern %s" }, clone: function () { var e = JSON.parse(JSON.stringify(this)); return e.clone = this.clone, e } } } var vA = yA(); function bA(e) { this.rules = null, this._messages = vA, this.define(e) } bA.prototype = { messages: function (e) { return e && (this._messages = cA(yA(), 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"); var 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) { var o = this; void 0 === t && (t = {}), void 0 === n && (n = function () { }); var a, r, i = 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) { var c = this.messages(); c === vA && (c = yA()), cA(c, s.messages), s.messages = c } else s.messages = this.messages(); var d = {}; (s.keys || Object.keys(this.rules)).forEach(function (t) { a = o.rules[t], r = i[t], a.forEach(function (n) { var a = n; "function" == typeof a.transform && (i === e && (i = tA({}, i)), r = i[t] = a.transform(r)), (a = "function" == typeof a ? { validator: a } : tA({}, a)).validator = o.getValidationMethod(a), a.field = t, a.fullField = a.fullField || t, a.type = o.getType(a), a.validator && (d[t] = d[t] || [], d[t].push({ rule: a, value: r, source: i, field: t })) }) }); var u = {}; return sA(d, s, function (e, t) { var n, o = e.rule, a = !("object" !== o.type && "array" !== o.type || "object" != typeof o.fields && "object" != typeof o.defaultField); function r(e, t) { return tA({}, t, { fullField: o.fullField + "." + e }) } function i(n) { void 0 === n && (n = []); var i = n; if (Array.isArray(i) || (i = [i]), !s.suppressWarning && i.length && bA.warning("async-validator:", i), i.length && o.message && (i = [].concat(o.message)), i = i.map(lA(o)), s.first && i.length) return u[o.field] = 1, t(i); if (a) { if (o.required && !e.value) return i = o.message ? [].concat(o.message).map(lA(o)) : s.error ? [s.error(o, aA(s.messages.required, o.field))] : [], t(i); var l = {}; if (o.defaultField) for (var c in e.value) e.value.hasOwnProperty(c) && (l[c] = o.defaultField); for (var d in l = tA({}, l, {}, e.rule.fields)) if (l.hasOwnProperty(d)) { var h = Array.isArray(l[d]) ? l[d] : [l[d]]; l[d] = h.map(r.bind(null, d)) } var m = new bA(l); m.messages(s.messages), e.rule.options && (e.rule.options.messages = s.messages, e.rule.options.error = s.error), m.validate(e.value, e.rule.options || s, function (e) { var n = []; i && i.length && n.push.apply(n, i), e && e.length && n.push.apply(n, e), t(n.length ? n : null) }) } else t(i) } a = a && (o.required || !o.required && e.value), o.field = e.field, o.asyncValidator ? n = o.asyncValidator(o, e.value, i, e.source, s) : o.validator && (!0 === (n = o.validator(o, e.value, i, e.source, s)) ? i() : !1 === n ? i(o.message || o.field + " fails") : n instanceof Array ? i(n) : n instanceof Error && i(n.message)), n && n.then && n.then(function () { return i() }, function (e) { return i(e) }) }, function (e) { !function (e) { var t, n = [], o = {}; function a(e) { var t; Array.isArray(e) ? n = (t = n).concat.apply(t, e) : n.push(e) } for (t = 0; t < e.length; t++)a(e[t]); n.length ? o = oA(n) : (n = null, o = null), l(n, o) }(e) }) }, getType: function (e) { if (void 0 === e.type && e.pattern instanceof RegExp && (e.type = "pattern"), "function" != typeof e.validator && e.type && !gA.hasOwnProperty(e.type)) throw new Error(aA("Unknown rule type %s", e.type)); return e.type || "string" }, getValidationMethod: function (e) { if ("function" == typeof e.validator) return e.validator; var t = Object.keys(e), n = t.indexOf("message"); return -1 !== n && t.splice(n, 1), 1 === t.length && "required" === t[0] ? gA.required : gA[this.getType(e)] || !1 } }, bA.register = function (e, t) { if ("function" != typeof t) throw new Error("Cannot register a validator by type, validator is not a function"); gA[e] = t }, bA.warning = function () { }, bA.messages = vA, bA.warning = function () { }; const _A = { name: "u-form-item", mixins: [eA], inject: { uForm: { default: () => null } }, props: { label: { type: String, default: "" }, prop: { type: String, default: "" }, borderBottom: { type: [String, Boolean], default: "" }, labelPosition: { type: String, default: "" }, labelWidth: { type: [String, Number], default: "" }, labelStyle: { type: Object, default: () => ({}) }, labelAlign: { type: String, default: "" }, rightIcon: { type: String, default: "" }, leftIcon: { type: String, default: "" }, leftIconStyle: { type: Object, default: () => ({}) }, rightIconStyle: { type: Object, default: () => ({}) }, required: { type: Boolean, default: !1 }, inputAlign: { type: String, default: "" } }, data: () => ({ initialValue: "", validateState: "", validateMessage: "", errorType: ["message"], fieldValue: "", parentData: { borderBottom: !0, labelWidth: 90, labelPosition: "left", labelStyle: {}, labelAlign: "left", inputAlign: "left" } }), watch: { validateState(e) { this.broadcastInputError() }, "uForm.errorType"(e) { this.errorType = e, this.broadcastInputError() } }, computed: { uLabelWidth() { return "left" == this.elLabelPosition ? "true" === this.label || "" === this.label ? "auto" : this.$u.addUnit(this.elLabelWidth) : "100%" }, showError() { return e => !(this.errorType.indexOf("none") >= 0) && this.errorType.indexOf(e) >= 0 }, elLabelWidth() { return 0 != this.labelWidth || "" != this.labelWidth ? this.labelWidth : this.parentData.labelWidth ? this.parentData.labelWidth : 90 }, elLabelStyle() { return Object.keys(this.labelStyle).length ? this.labelStyle : this.parentData.labelStyle ? this.parentData.labelStyle : {} }, elLabelPosition() { return this.labelPosition ? this.labelPosition : this.parentData.labelPosition ? this.parentData.labelPosition : "left" }, elLabelAlign() { return this.labelAlign ? this.labelAlign : this.parentData.labelAlign ? this.parentData.labelAlign : "left" }, elBorderBottom() { return "" !== this.borderBottom ? this.borderBottom : !this.parentData.borderBottom || this.parentData.borderBottom }, elInputAlign() { return this.inputAlign ? this.inputAlign : this.parentData.inputAlign ? this.parentData.inputAlign : "left" } }, methods: { broadcastInputError() { this.broadcast("u-input", "onFormItemError", "error" === this.validateState && this.showError("border")) }, setRules() { }, getRules() { let e = this.parent.rules; return e = e ? e[this.prop] : [], [].concat(e || []) }, onFieldBlur() { this.validation("blur") }, onFieldChange() { this.validation("change") }, getFilteredRule(e = "") { let t = this.getRules(); return e ? t.filter(t => t.trigger && -1 !== t.trigger.indexOf(e)) : t }, getData(e, t, n) { let o; if (e) { o = JSON.parse(JSON.stringify(e)); let n = "", a = ".", r = "[", i = "]"; t = t.replace(/\s+/g, n) + a; let s = n; for (let e = 0; e < t.length; e++) { let l = t.charAt(e); l != a && l != r && l != i ? s += l : o && (s != n && (o = o[s]), s = n) } } return void 0 === o && void 0 !== n && (o = n), o }, setData(e, t, n) { let o; o = "object" == typeof n ? JSON.parse(JSON.stringify(n)) : n; let a = new RegExp("([\\w$]+)|\\[(:\\d)\\]", "g"); const r = t.match(a); for (let i = 0; i < r.length - 1; i++) { let t = r[i]; "object" != typeof e[t] && (e[t] = {}), e = e[t] } e[r[r.length - 1]] = o }, validation(e, t = () => { }) { this.fieldValue = this.getData(this.parent.model, this.prop); let n = this.getFilteredRule(e); if (!n || 0 === n.length) return t(""); this.validateState = "validating", new bA({ [this.prop]: n }).validate({ [this.prop]: this.fieldValue }, { firstFields: !0 }, (e, n) => { this.validateState = e ? "error" : "success", this.validateMessage = e ? e[0].message : ""; let o = e ? e[0].field : ""; t(this.validateMessage, { state: this.validateState, key: o, msg: this.validateMessage }) }) }, resetField() { this.setData(this.parent.model, this.prop, this.initialValue), this.validateState = "success" } }, mounted() { this.parent = this.$u.$parent.call(this, "u-form"), this.parent && (Object.keys(this.parentData).map(e => { this.parentData[e] = this.parent[e] }), this.prop && (this.parent.fields.push(this), this.errorType = this.parent.errorType, this.initialValue = this.fieldValue, this.$nextTick(() => { this.setRules() }))) }, beforeUnmount() { this.parent && this.prop && this.parent.fields.map((e, t) => { e === this && this.parent.fields.splice(t, 1) }) } }; const wA = MM(_A, [["render", function (e, t, n, o, a, r) { const i = Jg, s = Bo("u-icon"), l = ny; return Br(), jr(l, { class: qe(["u-form-item", { "u-border-bottom": r.elBorderBottom, "u-form-item__border-bottom--error": "error" === a.validateState && r.showError("border-bottom") }]) }, { default: Io(() => [Yr(l, { class: "u-form-item__body", style: Ue({ flexDirection: "left" == r.elLabelPosition ? "row" : "column" }) }, { default: Io(() => [Yr(l, { class: "u-form-item--left", style: Ue({ width: r.uLabelWidth, flex: `0 0 ${r.uLabelWidth}`, marginBottom: "left" == r.elLabelPosition ? 0 : "10rpx" }) }, { default: Io(() => [n.required || n.leftIcon || n.label ? (Br(), jr(l, { key: 0, class: "u-form-item--left__content" }, { default: Io(() => [n.required ? (Br(), jr(i, { key: 0, class: "u-form-item--left__content--required" }, { default: Io(() => [Gr("*")]), _: 1 })) : Qr("", !0), n.leftIcon ? (Br(), jr(l, { key: 1, class: "u-form-item--left__content__icon" }, { default: Io(() => [Yr(s, { name: n.leftIcon, "custom-style": n.leftIconStyle }, null, 8, ["name", "custom-style"])]), _: 1 })) : Qr("", !0), Yr(l, { class: "u-form-item--left__content__label", style: Ue([r.elLabelStyle, { "justify-content": "left" == r.elLabelAlign ? "flex-start" : "center" == r.elLabelAlign ? "center" : "flex-end" }]) }, { default: Io(() => [Gr(G(n.label), 1)]), _: 1 }, 8, ["style"])]), _: 1 })) : Qr("", !0)]), _: 1 }, 8, ["style"]), Yr(l, { class: "u-form-item--right u-flex" }, { default: Io(() => [Yr(l, { class: "u-form-item--right__content" }, { default: Io(() => [Yr(l, { class: "u-form-item--right__content__slot", style: Ue("left" == r.elLabelPosition && "right" == r.elInputAlign ? "text-align:right;display: inline-block;line-height:initial;" : "") }, { default: Io(() => [Va(e.$slots, "default", {}, void 0, !0)]), _: 3 }, 8, ["style"]), e.$slots.right || n.rightIcon ? (Br(), jr(l, { key: 0, class: "u-form-item--right__content__icon u-flex" }, { default: Io(() => [n.rightIcon ? (Br(), jr(s, { key: 0, "custom-style": n.rightIconStyle, name: n.rightIcon }, null, 8, ["custom-style", "name"])) : Qr("", !0), Va(e.$slots, "right", {}, void 0, !0)]), _: 3 })) : Qr("", !0)]), _: 3 })]), _: 3 })]), _: 3 }, 8, ["style"]), "error" === a.validateState && r.showError("message") ? (Br(), jr(l, { key: 0, class: "u-form-item__message", style: Ue({ paddingLeft: "left" == r.elLabelPosition ? e.$u.addUnit(r.elLabelWidth) : "0", textAlign: "right" == r.elInputAlign ? "right" : "left" }) }, { default: Io(() => [Gr(G(a.validateMessage), 1)]), _: 1 }, 8, ["style"])) : Qr("", !0)]), _: 3 }, 8, ["class"]) }], ["__scopeId", "data-v-4a08a098"]]), TA = { name: "u-icon", emits: ["click", "touchstart"], props: { name: { type: String, default: "" }, color: { type: String, default: "" }, size: { type: [Number, String], default: "inherit" }, bold: { type: Boolean, default: !1 }, index: { type: [Number, String], default: "" }, hoverClass: { type: String, default: "" }, customPrefix: { type: String, default: "uicon" }, label: { type: [String, Number], default: "" }, labelPos: { type: String, default: "right" }, labelSize: { type: [String, Number], default: "28" }, labelColor: { type: String, default: "#606266" }, marginLeft: { type: [String, Number], default: "6" }, marginTop: { type: [String, Number], default: "6" }, marginRight: { type: [String, Number], default: "6" }, marginBottom: { type: [String, Number], default: "6" }, imgMode: { type: String, default: "widthFix" }, customStyle: { type: Object, default: () => ({}) }, width: { type: [String, Number], default: "" }, height: { type: [String, Number], default: "" }, top: { type: [String, Number], default: 0 }, showDecimalIcon: { type: Boolean, default: !1 }, inactiveColor: { type: String, default: "#ececec" }, percent: { type: [Number, String], default: "50" } }, computed: { customClass() { let e = [], { customPrefix: t, name: n } = this, o = n.indexOf("-icon-"); return o > -1 ? (t = n.substring(0, o + 5), e.push(n)) : e.push(`${t}-${n}`), "uicon" === t ? e.push("u-iconfont") : e.push(t), this.showDecimalIcon && this.inactiveColor && this.$u.config.type.includes(this.inactiveColor) ? e.push("u-icon__icon--" + this.inactiveColor) : this.color && this.$u.config.type.includes(this.color) && e.push("u-icon__icon--" + this.color), e }, iconStyle() { let e = {}; return e = { fontSize: "inherit" == this.size ? "inherit" : this.$u.addUnit(this.size), fontWeight: this.bold ? "bold" : "normal", top: this.$u.addUnit(this.top) }, this.showDecimalIcon && this.inactiveColor && !this.$u.config.type.includes(this.inactiveColor) ? e.color = this.inactiveColor : this.color && !this.$u.config.type.includes(this.color) && (e.color = this.color), e }, isImg() { return -1 !== this.name.indexOf("/") }, imgStyle() { let e = {}; return e.width = this.width ? this.$u.addUnit(this.width) : this.$u.addUnit(this.size), e.height = this.height ? this.$u.addUnit(this.height) : this.$u.addUnit(this.size), e }, decimalIconStyle() { let e = {}; return e = { fontSize: "inherit" == this.size ? "inherit" : this.$u.addUnit(this.size), fontWeight: this.bold ? "bold" : "normal", top: this.$u.addUnit(this.top), width: this.percent + "%" }, this.color && !this.$u.config.type.includes(this.color) && (e.color = this.color), e }, decimalIconClass() { let e = []; return e.push(this.customPrefix + "-" + this.name), "uicon" == this.customPrefix ? e.push("u-iconfont") : e.push(this.customPrefix), this.color && this.$u.config.type.includes(this.color) ? e.push("u-icon__icon--" + this.color) : e.push("u-icon__icon--primary"), e } }, methods: { click() { this.$emit("click", this.index) }, touchstart() { this.$emit("touchstart", this.index) } } }; const xA = MM(TA, [["render", function (e, t, n, o, a, r) { const i = Mf, s = Jg, l = ny; return Br(), jr(l, { style: Ue([n.customStyle]), class: qe(["u-icon", ["u-icon--" + n.labelPos]]), onClick: r.click }, { default: Io(() => [r.isImg ? (Br(), jr(i, { key: 0, class: "u-icon__img", src: n.name, mode: n.imgMode, style: Ue([r.imgStyle]) }, null, 8, ["src", "mode", "style"])) : (Br(), jr(l, { key: 1, class: qe(["u-icon__icon", r.customClass]), style: Ue([r.iconStyle]), "hover-class": n.hoverClass, onTouchstart: r.touchstart }, { default: Io(() => [n.showDecimalIcon ? (Br(), jr(s, { key: 0, style: Ue([r.decimalIconStyle]), class: qe([r.decimalIconClass, "u-icon__decimal"]), "hover-class": n.hoverClass }, null, 8, ["style", "class", "hover-class"])) : Qr("", !0)]), _: 1 }, 8, ["class", "style", "hover-class", "onTouchstart"])), "" !== n.label && null !== n.label ? (Br(), jr(s, { key: 2, class: "u-icon__label", style: Ue({ color: n.labelColor, fontSize: e.$u.addUnit(n.labelSize), marginLeft: "right" == n.labelPos ? e.$u.addUnit(n.marginLeft) : 0, marginTop: "bottom" == n.labelPos ? e.$u.addUnit(n.marginTop) : 0, marginRight: "left" == n.labelPos ? e.$u.addUnit(n.marginRight) : 0, marginBottom: "top" == n.labelPos ? e.$u.addUnit(n.marginBottom) : 0 }) }, { default: Io(() => [Gr(G(n.label), 1)]), _: 1 }, 8, ["style"])) : Qr("", !0)]), _: 1 }, 8, ["style", "onClick", "class"]) }], ["__scopeId", "data-v-c1996d6a"]]), SA = { name: "u-input", emits: ["update:modelValue", "input", "change", "blur", "focus", "click", "touchstart"], mixins: [eA], props: { value: { type: [String, Number], default: "" }, modelValue: { type: [String, Number], default: "" }, type: { type: String, default: "text" }, inputAlign: { type: String, default: "" }, placeholder: { type: String, default: "请输入内容" }, disabled: { type: Boolean, default: !1 }, maxlength: { type: [Number, String], default: 140 }, placeholderStyle: { type: String, default: "color: #c0c4cc;" }, confirmType: { type: String, default: "done" }, customStyle: { type: Object, default: () => ({}) }, fixed: { type: Boolean, default: !1 }, focus: { type: Boolean, default: !1 }, passwordIcon: { type: Boolean, default: !0 }, border: { type: Boolean, default: !1 }, borderColor: { type: String, default: "#dcdfe6" }, autoHeight: { type: Boolean, default: !0 }, selectOpen: { type: Boolean, default: !1 }, height: { type: [Number, String], default: "" }, clearable: { type: [Boolean, String] }, cursorSpacing: { type: [Number, String], default: 0 }, selectionStart: { type: [Number, String], default: -1 }, selectionEnd: { type: [Number, String], default: -1 }, trim: { type: Boolean, default: !0 }, showConfirmbar: { type: Boolean, default: !0 }, backgroundColor: { type: String }, padding: { type: String } }, data: () => ({ defaultValue: "", inputHeight: 70, textareaHeight: 100, validateState: !1, focused: !1, showPassword: !1, lastValue: "", uForm: { inputAlign: "", clearable: "" } }), watch: { valueCom(e, t) { this.defaultValue = e, e != t && "select" == this.type && this.handleInput({ detail: { value: e } }) } }, computed: { valueCom() { return this.modelValue }, inputAlignCom() { return this.inputAlign || this.uForm.inputAlign || "left" }, clearableCom() { return "boolean" == typeof this.clearable ? this.clearable : "boolean" != typeof this.uForm.clearable || this.uForm.clearable }, inputMaxlength() { return Number(this.maxlength) }, getStyle() { let e = {}; return e.minHeight = this.height ? this.height + "rpx" : "textarea" == this.type ? this.textareaHeight + "rpx" : this.inputHeight + "rpx", e = Object.assign(e, this.customStyle), e }, getCursorSpacing() { return Number(this.cursorSpacing) }, uSelectionStart() { return String(this.selectionStart) }, uSelectionEnd() { return String(this.selectionEnd) } }, created() { this.defaultValue = this.valueCom }, mounted() { let e = this.$u.$parent.call(this, "u-form"); e && Object.keys(this.uForm).map(t => { this.uForm[t] = e[t] }) }, methods: { handleInput(e) { let t = e.detail.value; this.trim && (t = this.$u.trim(t)), this.$emit("input", t), this.$emit("update:modelValue", t), this.defaultValue = t, setTimeout(() => { this.dispatch("u-form-item", "onFieldChange", t) }, 40) }, handleBlur(e) { setTimeout(() => { this.focused = !1 }, 100), this.$emit("blur", e.detail.value), setTimeout(() => { this.dispatch("u-form-item", "onFieldBlur", e.detail.value) }, 40) }, onFormItemError(e) { this.validateState = e }, onFocus(e) { this.focused = !0, this.$emit("focus") }, onConfirm(e) { this.$emit("confirm", e.detail.value) }, onClear(e) { this.$emit("input", ""), this.$emit("update:modelValue", "") }, inputClick() { this.$emit("click") } } }; const CA = MM(SA, [["render", function (e, t, n, o, a, r) { const i = ty, s = Zf, l = Bo("u-icon"), c = ny; return Br(), jr(c, { class: qe(["u-input", { "u-input--border": n.border, "u-input--error": a.validateState }]), style: Ue({ padding: n.padding ? n.padding : `0 ${n.border ? 20 : 0}rpx`, borderColor: n.borderColor, textAlign: r.inputAlignCom, backgroundColor: n.backgroundColor }), onClick: ms(r.inputClick, ["stop"]) }, { default: Io(() => ["textarea" == n.type ? (Br(), jr(i, { key: 0, class: "u-input__input u-input__textarea", style: Ue([r.getStyle]), value: a.defaultValue, placeholder: n.placeholder, placeholderStyle: n.placeholderStyle, disabled: n.disabled, maxlength: r.inputMaxlength, fixed: n.fixed, focus: n.focus, autoHeight: n.autoHeight, "selection-end": r.uSelectionEnd, "selection-start": r.uSelectionStart, "cursor-spacing": r.getCursorSpacing, onInput: r.handleInput, onBlur: r.handleBlur, onFocus: r.onFocus, onConfirm: r.onConfirm }, null, 8, ["style", "value", "placeholder", "placeholderStyle", "disabled", "maxlength", "fixed", "focus", "autoHeight", "selection-end", "selection-start", "cursor-spacing", "onInput", "onBlur", "onFocus", "onConfirm"])) : (Br(), jr(s, { key: 1, class: "u-input__input", type: "password" == n.type ? "text" : n.type, style: Ue([r.getStyle]), value: a.defaultValue, password: "password" == n.type && !a.showPassword, placeholder: n.placeholder, placeholderStyle: n.placeholderStyle, disabled: n.disabled || "select" === n.type, maxlength: r.inputMaxlength, focus: n.focus, confirmType: n.confirmType, "cursor-spacing": r.getCursorSpacing, "selection-end": r.uSelectionEnd, "selection-start": r.uSelectionStart, onFocus: r.onFocus, onBlur: r.handleBlur, onInput: r.handleInput, onConfirm: r.onConfirm }, null, 8, ["type", "style", "value", "password", "placeholder", "placeholderStyle", "disabled", "maxlength", "focus", "confirmType", "cursor-spacing", "selection-end", "selection-start", "onFocus", "onBlur", "onInput", "onConfirm"])), Yr(c, { class: "u-input__right-icon u-flex" }, { default: Io(() => [r.clearableCom && "" != r.valueCom && a.focused ? (Br(), jr(c, { key: 0, class: "u-input__right-icon__clear u-input__right-icon__item", onClick: r.onClear }, { default: Io(() => [Yr(l, { size: "32", name: "close-circle-fill", color: "#c0c4cc" })]), _: 1 }, 8, ["onClick"])) : Qr("", !0), n.passwordIcon && "password" == n.type ? (Br(), jr(c, { key: 1, class: "u-input__right-icon__clear u-input__right-icon__item" }, { default: Io(() => [Yr(l, { size: "32", name: a.showPassword ? "eye-fill" : "eye", color: "#c0c4cc", onClick: t[0] || (t[0] = e => a.showPassword = !a.showPassword) }, null, 8, ["name"])]), _: 1 })) : Qr("", !0), "select" == n.type ? (Br(), jr(c, { key: 2, class: qe(["u-input__right-icon--select u-input__right-icon__item", { "u-input__right-icon--select--reverse": n.selectOpen }]) }, { default: Io(() => [Yr(l, { name: "arrow-down-fill", size: "26", color: "#c0c4cc" })]), _: 1 }, 8, ["class"])) : Qr("", !0)]), _: 1 })]), _: 1 }, 8, ["class", "style", "onClick"]) }], ["__scopeId", "data-v-ec2f36a5"]]); const kA = MM({ name: "u-loading", props: { mode: { type: String, default: "circle" }, color: { type: String, default: "#c7c7c7" }, size: { type: [String, Number], default: "34" }, show: { type: Boolean, default: !0 } }, computed: { cricleStyle() { let e = {}; return e.width = this.size + "rpx", e.height = this.size + "rpx", "circle" == this.mode && (e.borderColor = `#e4e4e4 #e4e4e4 #e4e4e4 ${this.color ? this.color : "#c7c7c7"}`), e } } }, [["render", function (e, t, n, o, a, r) { const i = ny; return n.show ? (Br(), jr(i, { key: 0, class: qe(["u-loading", "circle" == n.mode ? "u-loading-circle" : "u-loading-flower"]), style: Ue([r.cricleStyle]) }, null, 8, ["class", "style"])) : Qr("", !0) }], ["__scopeId", "data-v-32167e59"]]); const MA = MM({ name: "u-mask", emits: ["click"], props: { show: { type: Boolean, default: !1 }, zIndex: { type: [Number, String], default: "" }, customStyle: { type: Object, default: () => ({}) }, zoom: { type: Boolean, default: !0 }, duration: { type: [Number, String], default: 300 }, maskClickAble: { type: Boolean, default: !0 }, blur: { type: [Number, String], default: 0 } }, data: () => ({ zoomStyle: { transform: "" }, scale: "scale(1.2, 1.2)" }), watch: { show(e) { e && this.zoom ? this.zoomStyle.transform = "scale(1, 1)" : !e && this.zoom && (this.zoomStyle.transform = this.scale) } }, computed: { maskStyle() { let e = { backgroundColor: "rgba(0, 0, 0, 0.6)" }; return this.show ? e.zIndex = this.zIndex ? this.zIndex : this.$u.zIndex.mask : e.zIndex = -1, e.transition = `all ${this.duration / 1e3}s ease-in-out`, Object.keys(this.customStyle).length && (e = { ...e, ...this.customStyle }), e }, filterStyle() { let { blur: e } = this, t = {}; return e && (t.backdropFilter = `blur(${e}rpx)`), t } }, methods: { click() { this.maskClickAble && this.$emit("click") } } }, [["render", function (e, t, n, o, a, r) { const i = ny; return Br(), jr(i, { class: qe(["u-mask", { "u-mask-zoom": n.zoom, "u-mask-show": n.show }]), "hover-stop-propagation": "", style: Ue([r.maskStyle, a.zoomStyle, r.filterStyle]), onClick: r.click, onTouchmove: ms(() => { }, ["stop", "prevent"]) }, { default: Io(() => [Va(e.$slots, "default", {}, void 0, !0)]), _: 3 }, 8, ["style", "onClick", "class"]) }], ["__scopeId", "data-v-5bb6a44f"]]); IA(" , ,\t,\r,\n,\f"), IA("allowfullscreen,autoplay,autostart,controls,ignore,loop,muted"), IA("address,article,aside,body,caption,center,cite,footer,header,html,nav,pre,section"), IA("area,base,canvas,frame,iframe,input,link,map,meta,param,script,source,style,svg,textarea,title,track,wbr"), IA("a,colgroup,fieldset,legend"), IA("area,base,br,col,circle,ellipse,embed,frame,hr,img,input,line,link,meta,param,path,polygon,rect,source,track,use,wbr"), IA("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,source,span,strong,sub,sup,table,tbody,td,tfoot,th,thead,tr,title,ul,video"); var AA = { address: "font-style:italic", big: "display:inline;font-size:1.2em", blockquote: "background-color:#f6f6f6;border-left:3px solid #dbdbdb;color:#6c6c6c;padding:5px 0 5px 10px", 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;overflow:scroll", s: "text-decoration:line-through", small: "display:inline;font-size:0.8em", u: "text-decoration:underline" }; function IA(e) { for (var t = Object.create(null), n = e.split(","), o = n.length; o--;)t[n[o]] = !0; return t } var { windowWidth: RA, platform: EA } = ov(); const PA = { name: "parser", emits: ["parse", "load", "ready", "error", "imgtap", "linkpress"], data() { return { uid: this._uid, showAm: "", nodes: [] } }, props: { html: String, autopause: { type: Boolean, default: !0 }, preview: { type: Boolean, default: !0 }, autoscroll: Boolean, autosetTitle: { type: Boolean, default: !0 }, domain: String, lazyLoad: Boolean, selectable: Boolean, tagStyle: Object, showWithAnimation: Boolean, useAnchor: Boolean }, watch: { html(e) { this.setContent(e) } }, created() { this.imgList = [], this.imgList.each = function (e) { for (var t = 0, n = this.length; t < n; t++)this.setItem(t, e(this[t], t, this)) }, this.imgList.setItem = function (e, t) { if (null != e && t) { if (0 == t.indexOf("http") && this.includes(t)) { for (var n, o = t.split("://")[0], a = o.length; (n = t[a]) && ("/" != n || "/" == t[a - 1] || "/" == t[a + 1]); a++)o += Math.random() > .5 ? n.toUpperCase() : n; return o += t.substr(a), this[e] = o } if (this[e] = t, t.includes("data:image")) if (!t.match(/data:image\/(\S+?);(\S+?),(.+)/)) return } } }, mounted() { this.document = document.getElementById("rtf" + this._uid), this.html && this.setContent(this.html) }, beforeUnmount() { this._observer && this._observer.disconnect(), this.imgList.each(e => { }), clearInterval(this._timer) }, methods: { setContent(e, t) { if (e) { var n = document.createElement("div"); t ? this.rtf ? this.rtf.appendChild(n) : this.rtf = n : (this.rtf && this.rtf.parentNode.removeChild(this.rtf), this.rtf = n), n.innerHTML = this._handleHtml(e, t); for (var o, a = this.rtf.getElementsByTagName("style"), r = 0; o = a[r++];)o.innerHTML = o.innerHTML.replace(/body/g, "#rtf" + this._uid), o.setAttribute("scoped", "true"); !this._observer && this.lazyLoad && IntersectionObserver && (this._observer = new IntersectionObserver(e => { for (let t, n = 0; t = e[n++];)t.isIntersecting && (t.target.src = t.target.getAttribute("data-src"), t.target.removeAttribute("data-src"), this._observer.unobserve(t.target)) }, { rootMargin: "500px 0px 500px 0px" })); var i = this, s = this.rtf.getElementsByTagName("title"); s.length && this.autosetTitle && xb({ title: s[0].innerText }); var l = e => { var t = e.getAttribute("src"); this.domain && t && ("/" == t[0] ? "/" == t[1] ? e.src = (this.domain.includes("://") ? this.domain.split("://")[0] : "") + ":" + t : e.src = this.domain + t : t.includes("://") || 0 == t.indexOf("data:") || (e.src = this.domain + "/" + t)) }; this.imgList.length = 0; var c = this.rtf.getElementsByTagName("img"); for (let e, t = 0, n = 0; e = c[t]; t++)parseInt(e.style.width || e.getAttribute("width")) > RA && (e.style.height = "auto"), l(e), e.hasAttribute("ignore") || "A" == e.parentElement.nodeName || (e.i = n++, i.imgList.push(e.getAttribute("original-src") || e.src || e.getAttribute("data-src")), e.onclick = function (e) { e.stopPropagation(); var t = i.preview; this.ignore = () => t = !1, i.$emit("imgtap", this), t && Ov({ current: this.i, urls: i.imgList }) }), e.onerror = function () { i.$emit("error", { source: "img", target: this }) }, i.lazyLoad && this._observer && e.src && 0 != e.i && (e.setAttribute("data-src", e.src), e.removeAttribute("src"), this._observer.observe(e)); var d = this.rtf.getElementsByTagName("a"); for (var u of d) u.onclick = function (e) { e.stopPropagation(); var t = !0, n = this.getAttribute("href"); if (i.$emit("linkpress", { href: n, ignore: () => t = !1 }), t && n) if ("#" == n[0]) i.useAnchor && i.navigateTo({ id: n.substr(1) }); else { if (0 == n.indexOf("http") || 0 == n.indexOf("//")) return !0; Uv({ url: n }) } return !1 }; var h = this.rtf.getElementsByTagName("video"); i.videoContexts = h; for (let e, t = 0; e = h[t++];)l(e), e.style.maxWidth = "100%", e.onerror = function () { i.$emit("error", { source: "video", target: this }) }, e.onplay = function () { if (i.autopause) for (let e, t = 0; e = i.videoContexts[t++];)e != this && e.pause() }; var m, p = this.rtf.getElementsByTagName("audio"); for (var f of p) l(f), f.onerror = function () { i.$emit("error", { source: "audio", target: this }) }; if (this.autoscroll) { var g = this.rtf.getElementsByTagName("table"); for (var y of g) { let e = document.createElement("div"); e.style.overflow = "scroll", y.parentNode.replaceChild(e, y), e.appendChild(y) } } t || this.document.appendChild(this.rtf), this.$nextTick(() => { this.nodes = [1], this.$emit("load") }), setTimeout(() => this.showAm = "", 500), clearInterval(this._timer), this._timer = setInterval(() => { this.rect = this.rtf.getBoundingClientRect(), this.rect.height == m && (this.$emit("ready", this.rect), clearInterval(this._timer)), m = this.rect.height }, 350), this.showWithAnimation && !t && (this.showAm = "animation:_show .5s") } else this.rtf && !t && this.rtf.parentNode.removeChild(this.rtf) }, getText(e = this.nodes) { return this.rtf.innerText }, in(e) { e.page && e.selector && e.scrollTop && (this._in = e) }, navigateTo(e) { if (!this.useAnchor) return e.fail && e.fail("Anchor is disabled"); var t = Xh().in(this._in ? this._in.page : this).select((this._in ? this._in.selector : "#_top") + (e.id ? ` #${e.id},${this._in ? this._in.selector : "#_top"} .${e.id}` : "")).boundingClientRect(); this._in ? t.select(this._in.selector).scrollOffset().select(this._in.selector).boundingClientRect() : t.selectViewport().scrollOffset(), t.exec(t => { if (!t[0]) return e.fail && e.fail("Label not found"); var n = t[1].scrollTop + t[0].top - (t[2] ? t[2].top : 0) + (e.offset || 0); this._in ? this._in.page[this._in.scrollTop] = n : Sb({ scrollTop: n, duration: 300 }), e.success && e.success() }) }, getVideoContext(e) { if (!e) return this.videoContexts; for (var t = this.videoContexts.length; t--;)if (this.videoContexts[t].id == e) return this.videoContexts[t] }, _handleHtml(e, t) { if (!t) { var n = "") + e } return e.includes("rpx") && (e = e.replace(/[0-9.]+\s*rpx/g, e => parseFloat(e) * RA / 750 + "px")), e } } }; const LA = MM(PA, [["render", function (e, t, n, o, a, r) { const i = ny; return Br(), jr(i, null, { default: Io(() => [a.nodes.length ? Qr("", !0) : Va(e.$slots, "default", { key: 0 }, void 0, !0), Yr(i, { id: "_top", style: Ue(a.showAm + (n.selectable ? ";user-select:text;-webkit-user-select:text" : "")) }, { default: Io(() => [qr("div", { id: "rtf" + a.uid }, null, 8, ["id"])]), _: 1 }, 8, ["style"])]), _: 3 }) }], ["__scopeId", "data-v-bebfe455"]]), OA = [{ code: "110000", name: "北京市" }, { code: "120000", name: "天津市" }, { code: "130000", name: "河北省" }, { code: "140000", name: "山西省" }, { code: "150000", name: "内蒙古自治区" }, { code: "210000", name: "辽宁省" }, { code: "220000", name: "吉林省" }, { code: "230000", name: "黑龙江省" }, { code: "310000", name: "上海市" }, { code: "320000", name: "江苏省" }, { code: "330000", name: "浙江省" }, { code: "340000", name: "安徽省" }, { code: "350000", name: "福建省" }, { code: "360000", name: "江西省" }, { code: "370000", name: "山东省" }, { code: "410000", name: "河南省" }, { code: "420000", name: "湖北省" }, { code: "430000", name: "湖南省" }, { code: "440000", name: "广东省" }, { code: "450000", name: "广西壮族自治区" }, { code: "460000", name: "海南省" }, { code: "500000", name: "重庆市" }, { code: "510000", name: "四川省" }, { code: "520000", name: "贵州省" }, { code: "530000", name: "云南省" }, { code: "540000", name: "西藏自治区" }, { code: "610000", name: "陕西省" }, { code: "620000", name: "甘肃省" }, { code: "630000", name: "青海省" }, { code: "640000", name: "宁夏回族自治区" }, { code: "650000", name: "新疆维吾尔自治区" }, { code: "710000", name: "台湾省" }, { code: "810000", name: "香港特别行政区" }, { code: "820000", name: "澳门特别行政区" }], BA = [[{ code: "110100", name: "北京市" }], [{ code: "120100", name: "天津市" }], [{ code: "130100", name: "石家庄市" }, { code: "130200", name: "唐山市" }, { code: "130300", name: "秦皇岛市" }, { code: "130400", name: "邯郸市" }, { code: "130500", name: "邢台市" }, { code: "130600", name: "保定市" }, { code: "130700", name: "张家口市" }, { code: "130800", name: "承德市" }, { code: "130900", name: "沧州市" }, { code: "131000", name: "廊坊市" }, { code: "131100", name: "衡水市" }], [{ code: "140100", name: "太原市" }, { code: "140200", name: "大同市" }, { code: "140300", name: "阳泉市" }, { code: "140400", name: "长治市" }, { code: "140500", name: "晋城市" }, { code: "140600", name: "朔州市" }, { code: "140700", name: "晋中市" }, { code: "140800", name: "运城市" }, { code: "140900", name: "忻州市" }, { code: "141000", name: "临汾市" }, { code: "141100", name: "吕梁市" }], [{ code: "150100", name: "呼和浩特市" }, { code: "150200", name: "包头市" }, { code: "150300", name: "乌海市" }, { code: "150400", name: "赤峰市" }, { code: "150500", name: "通辽市" }, { code: "150600", name: "鄂尔多斯市" }, { code: "150700", name: "呼伦贝尔市" }, { code: "150800", name: "巴彦淖尔市" }, { code: "150900", name: "乌兰察布市" }, { code: "152200", name: "兴安盟" }, { code: "152500", name: "锡林郭勒盟" }, { code: "152900", name: "阿拉善盟" }], [{ code: "210100", name: "沈阳市" }, { code: "210200", name: "大连市" }, { code: "210300", name: "鞍山市" }, { code: "210400", name: "抚顺市" }, { code: "210500", name: "本溪市" }, { code: "210600", name: "丹东市" }, { code: "210700", name: "锦州市" }, { code: "210800", name: "营口市" }, { code: "210900", name: "阜新市" }, { code: "211000", name: "辽阳市" }, { code: "211100", name: "盘锦市" }, { code: "211200", name: "铁岭市" }, { code: "211300", name: "朝阳市" }, { code: "211400", name: "葫芦岛市" }], [{ code: "220100", name: "长春市" }, { code: "220200", name: "吉林市" }, { code: "220300", name: "四平市" }, { code: "220400", name: "辽源市" }, { code: "220500", name: "通化市" }, { code: "220600", name: "白山市" }, { code: "220700", name: "松原市" }, { code: "220800", name: "白城市" }, { code: "222400", name: "延边朝鲜族自治州" }], [{ code: "230100", name: "哈尔滨市" }, { code: "230200", name: "齐齐哈尔市" }, { code: "230300", name: "鸡西市" }, { code: "230400", name: "鹤岗市" }, { code: "230500", name: "双鸭山市" }, { code: "230600", name: "大庆市" }, { code: "230700", name: "伊春市" }, { code: "230800", name: "佳木斯市" }, { code: "230900", name: "七台河市" }, { code: "231000", name: "牡丹江市" }, { code: "231100", name: "黑河市" }, { code: "231200", name: "绥化市" }, { code: "232700", name: "大兴安岭地区" }], [{ code: "310100", name: "上海市" }], [{ code: "320100", name: "南京市" }, { code: "320200", name: "无锡市" }, { code: "320300", name: "徐州市" }, { code: "320400", name: "常州市" }, { code: "320500", name: "苏州市" }, { code: "320600", name: "南通市" }, { code: "320700", name: "连云港市" }, { code: "320800", name: "淮安市" }, { code: "320900", name: "盐城市" }, { code: "321000", name: "扬州市" }, { code: "321100", name: "镇江市" }, { code: "321200", name: "泰州市" }, { code: "321300", name: "宿迁市" }], [{ code: "330100", name: "杭州市" }, { code: "330200", name: "宁波市" }, { code: "330300", name: "温州市" }, { code: "330400", name: "嘉兴市" }, { code: "330500", name: "湖州市" }, { code: "330600", name: "绍兴市" }, { code: "330700", name: "金华市" }, { code: "330800", name: "衢州市" }, { code: "330900", name: "舟山市" }, { code: "331000", name: "台州市" }, { code: "331100", name: "丽水市" }], [{ code: "340100", name: "合肥市" }, { code: "340200", name: "芜湖市" }, { code: "340300", name: "蚌埠市" }, { code: "340400", name: "淮南市" }, { code: "340500", name: "马鞍山市" }, { code: "340600", name: "淮北市" }, { code: "340700", name: "铜陵市" }, { code: "340800", name: "安庆市" }, { code: "341000", name: "黄山市" }, { code: "341100", name: "滁州市" }, { code: "341200", name: "阜阳市" }, { code: "341300", name: "宿州市" }, { code: "341500", name: "六安市" }, { code: "341600", name: "亳州市" }, { code: "341700", name: "池州市" }, { code: "341800", name: "宣城市" }], [{ code: "350100", name: "福州市" }, { code: "350200", name: "厦门市" }, { code: "350300", name: "莆田市" }, { code: "350400", name: "三明市" }, { code: "350500", name: "泉州市" }, { code: "350600", name: "漳州市" }, { code: "350700", name: "南平市" }, { code: "350800", name: "龙岩市" }, { code: "350900", name: "宁德市" }], [{ code: "360100", name: "南昌市" }, { code: "360200", name: "景德镇市" }, { code: "360300", name: "萍乡市" }, { code: "360400", name: "九江市" }, { code: "360500", name: "新余市" }, { code: "360600", name: "鹰潭市" }, { code: "360700", name: "赣州市" }, { code: "360800", name: "吉安市" }, { code: "360900", name: "宜春市" }, { code: "361000", name: "抚州市" }, { code: "361100", name: "上饶市" }], [{ code: "370100", name: "济南市" }, { code: "370200", name: "青岛市" }, { code: "370300", name: "淄博市" }, { code: "370400", name: "枣庄市" }, { code: "370500", name: "东营市" }, { code: "370600", name: "烟台市" }, { code: "370700", name: "潍坊市" }, { code: "370800", name: "济宁市" }, { code: "370900", name: "泰安市" }, { code: "371000", name: "威海市" }, { code: "371100", name: "日照市" }, { code: "371200", name: "莱芜市" }, { code: "371300", name: "临沂市" }, { code: "371400", name: "德州市" }, { code: "371500", name: "聊城市" }, { code: "371600", name: "滨州市" }, { code: "371700", name: "菏泽市" }], [{ code: "410100", name: "郑州市" }, { code: "410200", name: "开封市" }, { code: "410300", name: "洛阳市" }, { code: "410400", name: "平顶山市" }, { code: "410500", name: "安阳市" }, { code: "410600", name: "鹤壁市" }, { code: "410700", name: "新乡市" }, { code: "410800", name: "焦作市" }, { code: "410900", name: "濮阳市" }, { code: "411000", name: "许昌市" }, { code: "411100", name: "漯河市" }, { code: "411200", name: "三门峡市" }, { code: "411300", name: "南阳市" }, { code: "411400", name: "商丘市" }, { code: "411500", name: "信阳市" }, { code: "411600", name: "周口市" }, { code: "411700", name: "驻马店市" }, { code: "419000", name: "省直辖县级行政区划" }], [{ code: "420100", name: "武汉市" }, { code: "420200", name: "黄石市" }, { code: "420300", name: "十堰市" }, { code: "420500", name: "宜昌市" }, { code: "420600", name: "襄阳市" }, { code: "420700", name: "鄂州市" }, { code: "420800", name: "荆门市" }, { code: "420900", name: "孝感市" }, { code: "421000", name: "荆州市" }, { code: "421100", name: "黄冈市" }, { code: "421200", name: "咸宁市" }, { code: "421300", name: "随州市" }, { code: "422800", name: "恩施土家族苗族自治州" }, { code: "429000", name: "省直辖县级行政区划" }], [{ code: "430100", name: "长沙市" }, { code: "430200", name: "株洲市" }, { code: "430300", name: "湘潭市" }, { code: "430400", name: "衡阳市" }, { code: "430500", name: "邵阳市" }, { code: "430600", name: "岳阳市" }, { code: "430700", name: "常德市" }, { code: "430800", name: "张家界市" }, { code: "430900", name: "益阳市" }, { code: "431000", name: "郴州市" }, { code: "431100", name: "永州市" }, { code: "431200", name: "怀化市" }, { code: "431300", name: "娄底市" }, { code: "433100", name: "湘西土家族苗族自治州" }], [{ code: "440100", name: "广州市" }, { code: "440200", name: "韶关市" }, { code: "440300", name: "深圳市" }, { code: "440400", name: "珠海市" }, { code: "440500", name: "汕头市" }, { code: "440600", name: "佛山市" }, { code: "440700", name: "江门市" }, { code: "440800", name: "湛江市" }, { code: "440900", name: "茂名市" }, { code: "441200", name: "肇庆市" }, { code: "441300", name: "惠州市" }, { code: "441400", name: "梅州市" }, { code: "441500", name: "汕尾市" }, { code: "441600", name: "河源市" }, { code: "441700", name: "阳江市" }, { code: "441800", name: "清远市" }, { code: "441900", name: "东莞市" }, { code: "442000", name: "中山市" }, { code: "445100", name: "潮州市" }, { code: "445200", name: "揭阳市" }, { code: "445300", name: "云浮市" }], [{ code: "450100", name: "南宁市" }, { code: "450200", name: "柳州市" }, { code: "450300", name: "桂林市" }, { code: "450400", name: "梧州市" }, { code: "450500", name: "北海市" }, { code: "450600", name: "防城港市" }, { code: "450700", name: "钦州市" }, { code: "450800", name: "贵港市" }, { code: "450900", name: "玉林市" }, { code: "451000", name: "百色市" }, { code: "451100", name: "贺州市" }, { code: "451200", name: "河池市" }, { code: "451300", name: "来宾市" }, { code: "451400", name: "崇左市" }], [{ code: "460100", name: "海口市" }, { code: "460200", name: "三亚市" }, { code: "460300", name: "三沙市" }, { code: "460400", name: "儋州市" }, { code: "469000", name: "省直辖县级行政区划" }], [{ code: "500100", name: "重庆市" }, { code: "500200", name: "县" }], [{ code: "510100", name: "成都市" }, { code: "510300", name: "自贡市" }, { code: "510400", name: "攀枝花市" }, { code: "510500", name: "泸州市" }, { code: "510600", name: "德阳市" }, { code: "510700", name: "绵阳市" }, { code: "510800", name: "广元市" }, { code: "510900", name: "遂宁市" }, { code: "511000", name: "内江市" }, { code: "511100", name: "乐山市" }, { code: "511300", name: "南充市" }, { code: "511400", name: "眉山市" }, { code: "511500", name: "宜宾市" }, { code: "511600", name: "广安市" }, { code: "511700", name: "达州市" }, { code: "511800", name: "雅安市" }, { code: "511900", name: "巴中市" }, { code: "512000", name: "资阳市" }, { code: "513200", name: "阿坝藏族羌族自治州" }, { code: "513300", name: "甘孜藏族自治州" }, { code: "513400", name: "凉山彝族自治州" }], [{ code: "520100", name: "贵阳市" }, { code: "520200", name: "六盘水市" }, { code: "520300", name: "遵义市" }, { code: "520400", name: "安顺市" }, { code: "520500", name: "毕节市" }, { code: "520600", name: "铜仁市" }, { code: "522300", name: "黔西南布依族苗族自治州" }, { code: "522600", name: "黔东南苗族侗族自治州" }, { code: "522700", name: "黔南布依族苗族自治州" }], [{ code: "530100", name: "昆明市" }, { code: "530300", name: "曲靖市" }, { code: "530400", name: "玉溪市" }, { code: "530500", name: "保山市" }, { code: "530600", name: "昭通市" }, { code: "530700", name: "丽江市" }, { code: "530800", name: "普洱市" }, { code: "530900", name: "临沧市" }, { code: "532300", name: "楚雄彝族自治州" }, { code: "532500", name: "红河哈尼族彝族自治州" }, { code: "532600", name: "文山壮族苗族自治州" }, { code: "532800", name: "西双版纳傣族自治州" }, { code: "532900", name: "大理白族自治州" }, { code: "533100", name: "德宏傣族景颇族自治州" }, { code: "533300", name: "怒江傈僳族自治州" }, { code: "533400", name: "迪庆藏族自治州" }], [{ code: "540100", name: "拉萨市" }, { code: "540200", name: "日喀则市" }, { code: "540300", name: "昌都市" }, { code: "540400", name: "林芝市" }, { code: "540500", name: "山南市" }, { code: "542400", name: "那曲地区" }, { code: "542500", name: "阿里地区" }], [{ code: "610100", name: "西安市" }, { code: "610200", name: "铜川市" }, { code: "610300", name: "宝鸡市" }, { code: "610400", name: "咸阳市" }, { code: "610500", name: "渭南市" }, { code: "610600", name: "延安市" }, { code: "610700", name: "汉中市" }, { code: "610800", name: "榆林市" }, { code: "610900", name: "安康市" }, { code: "611000", name: "商洛市" }], [{ code: "620100", name: "兰州市" }, { code: "620200", name: "嘉峪关市" }, { code: "620300", name: "金昌市" }, { code: "620400", name: "白银市" }, { code: "620500", name: "天水市" }, { code: "620600", name: "武威市" }, { code: "620700", name: "张掖市" }, { code: "620800", name: "平凉市" }, { code: "620900", name: "酒泉市" }, { code: "621000", name: "庆阳市" }, { code: "621100", name: "定西市" }, { code: "621200", name: "陇南市" }, { code: "622900", name: "临夏回族自治州" }, { code: "623000", name: "甘南藏族自治州" }], [{ code: "630100", name: "西宁市" }, { code: "630200", name: "海东市" }, { code: "632200", name: "海北藏族自治州" }, { code: "632300", name: "黄南藏族自治州" }, { code: "632500", name: "海南藏族自治州" }, { code: "632600", name: "果洛藏族自治州" }, { code: "632700", name: "玉树藏族自治州" }, { code: "632800", name: "海西蒙古族藏族自治州" }], [{ code: "640100", name: "银川市" }, { code: "640200", name: "石嘴山市" }, { code: "640300", name: "吴忠市" }, { code: "640400", name: "固原市" }, { code: "640500", name: "中卫市" }], [{ code: "650100", name: "乌鲁木齐市" }, { code: "650200", name: "克拉玛依市" }, { code: "650400", name: "吐鲁番市" }, { code: "650500", name: "哈密市" }, { code: "652300", name: "昌吉回族自治州" }, { code: "652700", name: "博尔塔拉蒙古自治州" }, { code: "652800", name: "巴音郭楞蒙古自治州" }, { code: "652900", name: "阿克苏地区" }, { code: "653000", name: "克孜勒苏柯尔克孜自治州" }, { code: "653100", name: "喀什地区" }, { code: "653200", name: "和田地区" }, { code: "654000", name: "伊犁哈萨克自治州" }, { code: "654200", name: "塔城地区" }, { code: "654300", name: "阿勒泰地区" }, { code: "659000", name: "自治区直辖县级行政区划" }], [{ code: "710100", name: "台北市" }, { code: "710200", name: "高雄市" }, { code: "710300", name: "台南市" }, { code: "710400", name: "台中市" }, { code: "710600", name: "南投县" }, { code: "710700", name: "基隆市" }, { code: "710800", name: "新竹市" }, { code: "710900", name: "嘉义市" }, { code: "711100", name: "新北市" }, { code: "711200", name: "宜兰县" }, { code: "711300", name: "新竹县" }, { code: "711400", name: "桃园市" }, { code: "711500", name: "苗栗县" }, { code: "711700", name: "彰化县" }, { code: "711900", name: "嘉义县" }, { code: "712100", name: "云林县" }, { code: "712400", name: "屏东县" }, { code: "712500", name: "台东县" }, { code: "712600", name: "花莲县" }, { code: "712700", name: "澎湖县" }], [{ code: "810100", name: "香港特别行政区" }], [{ code: "820100", name: "澳门特别行政区" }]], NA = [[[{ code: "110101", name: "东城区" }, { code: "110102", name: "西城区" }, { code: "110105", name: "朝阳区" }, { code: "110106", name: "丰台区" }, { code: "110107", name: "石景山区" }, { code: "110108", name: "海淀区" }, { code: "110109", name: "门头沟区" }, { code: "110111", name: "房山区" }, { code: "110112", name: "通州区" }, { code: "110113", name: "顺义区" }, { code: "110114", name: "昌平区" }, { code: "110115", name: "大兴区" }, { code: "110116", name: "怀柔区" }, { code: "110117", name: "平谷区" }, { code: "110118", name: "密云区" }, { code: "110119", name: "延庆区" }]], [[{ code: "120101", name: "和平区" }, { code: "120102", name: "河东区" }, { code: "120103", name: "河西区" }, { code: "120104", name: "南开区" }, { code: "120105", name: "河北区" }, { code: "120106", name: "红桥区" }, { code: "120110", name: "东丽区" }, { code: "120111", name: "西青区" }, { code: "120112", name: "津南区" }, { code: "120113", name: "北辰区" }, { code: "120114", name: "武清区" }, { code: "120115", name: "宝坻区" }, { code: "120116", name: "滨海新区" }, { code: "120117", name: "宁河区" }, { code: "120118", name: "静海区" }, { code: "120119", name: "蓟州区" }]], [[{ code: "130102", name: "长安区" }, { code: "130104", name: "桥西区" }, { code: "130105", name: "新华区" }, { code: "130107", name: "井陉矿区" }, { code: "130108", name: "裕华区" }, { code: "130109", name: "藁城区" }, { code: "130110", name: "鹿泉区" }, { code: "130111", name: "栾城区" }, { code: "130121", name: "井陉县" }, { code: "130123", name: "正定县" }, { code: "130125", name: "行唐县" }, { code: "130126", name: "灵寿县" }, { code: "130127", name: "高邑县" }, { code: "130128", name: "深泽县" }, { code: "130129", name: "赞皇县" }, { code: "130130", name: "无极县" }, { code: "130131", name: "平山县" }, { code: "130132", name: "元氏县" }, { code: "130133", name: "赵县" }, { code: "130181", name: "辛集市" }, { code: "130183", name: "晋州市" }, { code: "130184", name: "新乐市" }], [{ code: "130202", name: "路南区" }, { code: "130203", name: "路北区" }, { code: "130204", name: "古冶区" }, { code: "130205", name: "开平区" }, { code: "130207", name: "丰南区" }, { code: "130208", name: "丰润区" }, { code: "130209", name: "曹妃甸区" }, { code: "130223", name: "滦县" }, { code: "130224", name: "滦南县" }, { code: "130225", name: "乐亭县" }, { code: "130227", name: "迁西县" }, { code: "130229", name: "玉田县" }, { code: "130281", name: "遵化市" }, { code: "130283", name: "迁安市" }], [{ code: "130302", name: "海港区" }, { code: "130303", name: "山海关区" }, { code: "130304", name: "北戴河区" }, { code: "130306", name: "抚宁区" }, { code: "130321", name: "青龙满族自治县" }, { code: "130322", name: "昌黎县" }, { code: "130324", name: "卢龙县" }], [{ code: "130402", name: "邯山区" }, { code: "130403", name: "丛台区" }, { code: "130404", name: "复兴区" }, { code: "130406", name: "峰峰矿区" }, { code: "130407", name: "肥乡区" }, { code: "130408", name: "永年区" }, { code: "130423", name: "临漳县" }, { code: "130424", name: "成安县" }, { code: "130425", name: "大名县" }, { code: "130426", name: "涉县" }, { code: "130427", name: "磁县" }, { code: "130430", name: "邱县" }, { code: "130431", name: "鸡泽县" }, { code: "130432", name: "广平县" }, { code: "130433", name: "馆陶县" }, { code: "130434", name: "魏县" }, { code: "130435", name: "曲周县" }, { code: "130481", name: "武安市" }], [{ code: "130502", name: "桥东区" }, { code: "130503", name: "桥西区" }, { code: "130521", name: "邢台县" }, { code: "130522", name: "临城县" }, { code: "130523", name: "内丘县" }, { code: "130524", name: "柏乡县" }, { code: "130525", name: "隆尧县" }, { code: "130526", name: "任县" }, { code: "130527", name: "南和县" }, { code: "130528", name: "宁晋县" }, { code: "130529", name: "巨鹿县" }, { code: "130530", name: "新河县" }, { code: "130531", name: "广宗县" }, { code: "130532", name: "平乡县" }, { code: "130533", name: "威县" }, { code: "130534", name: "清河县" }, { code: "130535", name: "临西县" }, { code: "130581", name: "南宫市" }, { code: "130582", name: "沙河市" }], [{ code: "130602", name: "竞秀区" }, { code: "130606", name: "莲池区" }, { code: "130607", name: "满城区" }, { code: "130608", name: "清苑区" }, { code: "130609", name: "徐水区" }, { code: "130623", name: "涞水县" }, { code: "130624", name: "阜平县" }, { code: "130626", name: "定兴县" }, { code: "130627", name: "唐县" }, { code: "130628", name: "高阳县" }, { code: "130629", name: "容城县" }, { code: "130630", name: "涞源县" }, { code: "130631", name: "望都县" }, { code: "130632", name: "安新县" }, { code: "130633", name: "易县" }, { code: "130634", name: "曲阳县" }, { code: "130635", name: "蠡县" }, { code: "130636", name: "顺平县" }, { code: "130637", name: "博野县" }, { code: "130638", name: "雄县" }, { code: "130681", name: "涿州市" }, { code: "130682", name: "定州市" }, { code: "130683", name: "安国市" }, { code: "130684", name: "高碑店市" }], [{ code: "130702", name: "桥东区" }, { code: "130703", name: "桥西区" }, { code: "130705", name: "宣化区" }, { code: "130706", name: "下花园区" }, { code: "130708", name: "万全区" }, { code: "130709", name: "崇礼区" }, { code: "130722", name: "张北县" }, { code: "130723", name: "康保县" }, { code: "130724", name: "沽源县" }, { code: "130725", name: "尚义县" }, { code: "130726", name: "蔚县" }, { code: "130727", name: "阳原县" }, { code: "130728", name: "怀安县" }, { code: "130730", name: "怀来县" }, { code: "130731", name: "涿鹿县" }, { code: "130732", name: "赤城县" }], [{ code: "130802", name: "双桥区" }, { code: "130803", name: "双滦区" }, { code: "130804", name: "鹰手营子矿区" }, { code: "130821", name: "承德县" }, { code: "130822", name: "兴隆县" }, { code: "130824", name: "滦平县" }, { code: "130825", name: "隆化县" }, { code: "130826", name: "丰宁满族自治县" }, { code: "130827", name: "宽城满族自治县" }, { code: "130828", name: "围场满族蒙古族自治县" }, { code: "130881", name: "平泉市" }], [{ code: "130902", name: "新华区" }, { code: "130903", name: "运河区" }, { code: "130921", name: "沧县" }, { code: "130922", name: "青县" }, { code: "130923", name: "东光县" }, { code: "130924", name: "海兴县" }, { code: "130925", name: "盐山县" }, { code: "130926", name: "肃宁县" }, { code: "130927", name: "南皮县" }, { code: "130928", name: "吴桥县" }, { code: "130929", name: "献县" }, { code: "130930", name: "孟村回族自治县" }, { code: "130981", name: "泊头市" }, { code: "130982", name: "任丘市" }, { code: "130983", name: "黄骅市" }, { code: "130984", name: "河间市" }], [{ code: "131002", name: "安次区" }, { code: "131003", name: "广阳区" }, { code: "131022", name: "固安县" }, { code: "131023", name: "永清县" }, { code: "131024", name: "香河县" }, { code: "131025", name: "大城县" }, { code: "131026", name: "文安县" }, { code: "131028", name: "大厂回族自治县" }, { code: "131081", name: "霸州市" }, { code: "131082", name: "三河市" }], [{ code: "131102", name: "桃城区" }, { code: "131103", name: "冀州区" }, { code: "131121", name: "枣强县" }, { code: "131122", name: "武邑县" }, { code: "131123", name: "武强县" }, { code: "131124", name: "饶阳县" }, { code: "131125", name: "安平县" }, { code: "131126", name: "故城县" }, { code: "131127", name: "景县" }, { code: "131128", name: "阜城县" }, { code: "131182", name: "深州市" }]], [[{ code: "140105", name: "小店区" }, { code: "140106", name: "迎泽区" }, { code: "140107", name: "杏花岭区" }, { code: "140108", name: "尖草坪区" }, { code: "140109", name: "万柏林区" }, { code: "140110", name: "晋源区" }, { code: "140121", name: "清徐县" }, { code: "140122", name: "阳曲县" }, { code: "140123", name: "娄烦县" }, { code: "140181", name: "古交市" }], [{ code: "140202", name: "城区" }, { code: "140203", name: "矿区" }, { code: "140211", name: "南郊区" }, { code: "140212", name: "新荣区" }, { code: "140221", name: "阳高县" }, { code: "140222", name: "天镇县" }, { code: "140223", name: "广灵县" }, { code: "140224", name: "灵丘县" }, { code: "140225", name: "浑源县" }, { code: "140226", name: "左云县" }, { code: "140227", name: "大同县" }], [{ code: "140302", name: "城区" }, { code: "140303", name: "矿区" }, { code: "140311", name: "郊区" }, { code: "140321", name: "平定县" }, { code: "140322", name: "盂县" }], [{ code: "140402", name: "城区" }, { code: "140411", name: "郊区" }, { code: "140421", name: "长治县" }, { code: "140423", name: "襄垣县" }, { code: "140424", name: "屯留县" }, { code: "140425", name: "平顺县" }, { code: "140426", name: "黎城县" }, { code: "140427", name: "壶关县" }, { code: "140428", name: "长子县" }, { code: "140429", name: "武乡县" }, { code: "140430", name: "沁县" }, { code: "140431", name: "沁源县" }, { code: "140481", name: "潞城市" }], [{ code: "140502", name: "城区" }, { code: "140521", name: "沁水县" }, { code: "140522", name: "阳城县" }, { code: "140524", name: "陵川县" }, { code: "140525", name: "泽州县" }, { code: "140581", name: "高平市" }], [{ code: "140602", name: "朔城区" }, { code: "140603", name: "平鲁区" }, { code: "140621", name: "山阴县" }, { code: "140622", name: "应县" }, { code: "140623", name: "右玉县" }, { code: "140624", name: "怀仁县" }], [{ code: "140702", name: "榆次区" }, { code: "140721", name: "榆社县" }, { code: "140722", name: "左权县" }, { code: "140723", name: "和顺县" }, { code: "140724", name: "昔阳县" }, { code: "140725", name: "寿阳县" }, { code: "140726", name: "太谷县" }, { code: "140727", name: "祁县" }, { code: "140728", name: "平遥县" }, { code: "140729", name: "灵石县" }, { code: "140781", name: "介休市" }], [{ code: "140802", name: "盐湖区" }, { code: "140821", name: "临猗县" }, { code: "140822", name: "万荣县" }, { code: "140823", name: "闻喜县" }, { code: "140824", name: "稷山县" }, { code: "140825", name: "新绛县" }, { code: "140826", name: "绛县" }, { code: "140827", name: "垣曲县" }, { code: "140828", name: "夏县" }, { code: "140829", name: "平陆县" }, { code: "140830", name: "芮城县" }, { code: "140881", name: "永济市" }, { code: "140882", name: "河津市" }], [{ code: "140902", name: "忻府区" }, { code: "140921", name: "定襄县" }, { code: "140922", name: "五台县" }, { code: "140923", name: "代县" }, { code: "140924", name: "繁峙县" }, { code: "140925", name: "宁武县" }, { code: "140926", name: "静乐县" }, { code: "140927", name: "神池县" }, { code: "140928", name: "五寨县" }, { code: "140929", name: "岢岚县" }, { code: "140930", name: "河曲县" }, { code: "140931", name: "保德县" }, { code: "140932", name: "偏关县" }, { code: "140981", name: "原平市" }], [{ code: "141002", name: "尧都区" }, { code: "141021", name: "曲沃县" }, { code: "141022", name: "翼城县" }, { code: "141023", name: "襄汾县" }, { code: "141024", name: "洪洞县" }, { code: "141025", name: "古县" }, { code: "141026", name: "安泽县" }, { code: "141027", name: "浮山县" }, { code: "141028", name: "吉县" }, { code: "141029", name: "乡宁县" }, { code: "141030", name: "大宁县" }, { code: "141031", name: "隰县" }, { code: "141032", name: "永和县" }, { code: "141033", name: "蒲县" }, { code: "141034", name: "汾西县" }, { code: "141081", name: "侯马市" }, { code: "141082", name: "霍州市" }], [{ code: "141102", name: "离石区" }, { code: "141121", name: "文水县" }, { code: "141122", name: "交城县" }, { code: "141123", name: "兴县" }, { code: "141124", name: "临县" }, { code: "141125", name: "柳林县" }, { code: "141126", name: "石楼县" }, { code: "141127", name: "岚县" }, { code: "141128", name: "方山县" }, { code: "141129", name: "中阳县" }, { code: "141130", name: "交口县" }, { code: "141181", name: "孝义市" }, { code: "141182", name: "汾阳市" }]], [[{ code: "150102", name: "新城区" }, { code: "150103", name: "回民区" }, { code: "150104", name: "玉泉区" }, { code: "150105", name: "赛罕区" }, { code: "150121", name: "土默特左旗" }, { code: "150122", name: "托克托县" }, { code: "150123", name: "和林格尔县" }, { code: "150124", name: "清水河县" }, { code: "150125", name: "武川县" }], [{ code: "150202", name: "东河区" }, { code: "150203", name: "昆都仑区" }, { code: "150204", name: "青山区" }, { code: "150205", name: "石拐区" }, { code: "150206", name: "白云鄂博矿区" }, { code: "150207", name: "九原区" }, { code: "150221", name: "土默特右旗" }, { code: "150222", name: "固阳县" }, { code: "150223", name: "达尔罕茂明安联合旗" }], [{ code: "150302", name: "海勃湾区" }, { code: "150303", name: "海南区" }, { code: "150304", name: "乌达区" }], [{ code: "150402", name: "红山区" }, { code: "150403", name: "元宝山区" }, { code: "150404", name: "松山区" }, { code: "150421", name: "阿鲁科尔沁旗" }, { code: "150422", name: "巴林左旗" }, { code: "150423", name: "巴林右旗" }, { code: "150424", name: "林西县" }, { code: "150425", name: "克什克腾旗" }, { code: "150426", name: "翁牛特旗" }, { code: "150428", name: "喀喇沁旗" }, { code: "150429", name: "宁城县" }, { code: "150430", name: "敖汉旗" }], [{ code: "150502", name: "科尔沁区" }, { code: "150521", name: "科尔沁左翼中旗" }, { code: "150522", name: "科尔沁左翼后旗" }, { code: "150523", name: "开鲁县" }, { code: "150524", name: "库伦旗" }, { code: "150525", name: "奈曼旗" }, { code: "150526", name: "扎鲁特旗" }, { code: "150581", name: "霍林郭勒市" }], [{ code: "150602", name: "东胜区" }, { code: "150603", name: "康巴什区" }, { code: "150621", name: "达拉特旗" }, { code: "150622", name: "准格尔旗" }, { code: "150623", name: "鄂托克前旗" }, { code: "150624", name: "鄂托克旗" }, { code: "150625", name: "杭锦旗" }, { code: "150626", name: "乌审旗" }, { code: "150627", name: "伊金霍洛旗" }], [{ code: "150702", name: "海拉尔区" }, { code: "150703", name: "扎赉诺尔区" }, { code: "150721", name: "阿荣旗" }, { code: "150722", name: "莫力达瓦达斡尔族自治旗" }, { code: "150723", name: "鄂伦春自治旗" }, { code: "150724", name: "鄂温克族自治旗" }, { code: "150725", name: "陈巴尔虎旗" }, { code: "150726", name: "新巴尔虎左旗" }, { code: "150727", name: "新巴尔虎右旗" }, { code: "150781", name: "满洲里市" }, { code: "150782", name: "牙克石市" }, { code: "150783", name: "扎兰屯市" }, { code: "150784", name: "额尔古纳市" }, { code: "150785", name: "根河市" }], [{ code: "150802", name: "临河区" }, { code: "150821", name: "五原县" }, { code: "150822", name: "磴口县" }, { code: "150823", name: "乌拉特前旗" }, { code: "150824", name: "乌拉特中旗" }, { code: "150825", name: "乌拉特后旗" }, { code: "150826", name: "杭锦后旗" }], [{ code: "150902", name: "集宁区" }, { code: "150921", name: "卓资县" }, { code: "150922", name: "化德县" }, { code: "150923", name: "商都县" }, { code: "150924", name: "兴和县" }, { code: "150925", name: "凉城县" }, { code: "150926", name: "察哈尔右翼前旗" }, { code: "150927", name: "察哈尔右翼中旗" }, { code: "150928", name: "察哈尔右翼后旗" }, { code: "150929", name: "四子王旗" }, { code: "150981", name: "丰镇市" }], [{ code: "152201", name: "乌兰浩特市" }, { code: "152202", name: "阿尔山市" }, { code: "152221", name: "科尔沁右翼前旗" }, { code: "152222", name: "科尔沁右翼中旗" }, { code: "152223", name: "扎赉特旗" }, { code: "152224", name: "突泉县" }], [{ code: "152501", name: "二连浩特市" }, { code: "152502", name: "锡林浩特市" }, { code: "152522", name: "阿巴嘎旗" }, { code: "152523", name: "苏尼特左旗" }, { code: "152524", name: "苏尼特右旗" }, { code: "152525", name: "东乌珠穆沁旗" }, { code: "152526", name: "西乌珠穆沁旗" }, { code: "152527", name: "太仆寺旗" }, { code: "152528", name: "镶黄旗" }, { code: "152529", name: "正镶白旗" }, { code: "152530", name: "正蓝旗" }, { code: "152531", name: "多伦县" }], [{ code: "152921", name: "阿拉善左旗" }, { code: "152922", name: "阿拉善右旗" }, { code: "152923", name: "额济纳旗" }]], [[{ code: "210102", name: "和平区" }, { code: "210103", name: "沈河区" }, { code: "210104", name: "大东区" }, { code: "210105", name: "皇姑区" }, { code: "210106", name: "铁西区" }, { code: "210111", name: "苏家屯区" }, { code: "210112", name: "浑南区" }, { code: "210113", name: "沈北新区" }, { code: "210114", name: "于洪区" }, { code: "210115", name: "辽中区" }, { code: "210123", name: "康平县" }, { code: "210124", name: "法库县" }, { code: "210181", name: "新民市" }], [{ code: "210202", name: "中山区" }, { code: "210203", name: "西岗区" }, { code: "210204", name: "沙河口区" }, { code: "210211", name: "甘井子区" }, { code: "210212", name: "旅顺口区" }, { code: "210213", name: "金州区" }, { code: "210214", name: "普兰店区" }, { code: "210224", name: "长海县" }, { code: "210281", name: "瓦房店市" }, { code: "210283", name: "庄河市" }], [{ code: "210302", name: "铁东区" }, { code: "210303", name: "铁西区" }, { code: "210304", name: "立山区" }, { code: "210311", name: "千山区" }, { code: "210321", name: "台安县" }, { code: "210323", name: "岫岩满族自治县" }, { code: "210381", name: "海城市" }], [{ code: "210402", name: "新抚区" }, { code: "210403", name: "东洲区" }, { code: "210404", name: "望花区" }, { code: "210411", name: "顺城区" }, { code: "210421", name: "抚顺县" }, { code: "210422", name: "新宾满族自治县" }, { code: "210423", name: "清原满族自治县" }], [{ code: "210502", name: "平山区" }, { code: "210503", name: "溪湖区" }, { code: "210504", name: "明山区" }, { code: "210505", name: "南芬区" }, { code: "210521", name: "本溪满族自治县" }, { code: "210522", name: "桓仁满族自治县" }], [{ code: "210602", name: "元宝区" }, { code: "210603", name: "振兴区" }, { code: "210604", name: "振安区" }, { code: "210624", name: "宽甸满族自治县" }, { code: "210681", name: "东港市" }, { code: "210682", name: "凤城市" }], [{ code: "210702", name: "古塔区" }, { code: "210703", name: "凌河区" }, { code: "210711", name: "太和区" }, { code: "210726", name: "黑山县" }, { code: "210727", name: "义县" }, { code: "210781", name: "凌海市" }, { code: "210782", name: "北镇市" }], [{ code: "210802", name: "站前区" }, { code: "210803", name: "西市区" }, { code: "210804", name: "鲅鱼圈区" }, { code: "210811", name: "老边区" }, { code: "210881", name: "盖州市" }, { code: "210882", name: "大石桥市" }], [{ code: "210902", name: "海州区" }, { code: "210903", name: "新邱区" }, { code: "210904", name: "太平区" }, { code: "210905", name: "清河门区" }, { code: "210911", name: "细河区" }, { code: "210921", name: "阜新蒙古族自治县" }, { code: "210922", name: "彰武县" }], [{ code: "211002", name: "白塔区" }, { code: "211003", name: "文圣区" }, { code: "211004", name: "宏伟区" }, { code: "211005", name: "弓长岭区" }, { code: "211011", name: "太子河区" }, { code: "211021", name: "辽阳县" }, { code: "211081", name: "灯塔市" }], [{ code: "211102", name: "双台子区" }, { code: "211103", name: "兴隆台区" }, { code: "211104", name: "大洼区" }, { code: "211122", name: "盘山县" }], [{ code: "211202", name: "银州区" }, { code: "211204", name: "清河区" }, { code: "211221", name: "铁岭县" }, { code: "211223", name: "西丰县" }, { code: "211224", name: "昌图县" }, { code: "211281", name: "调兵山市" }, { code: "211282", name: "开原市" }], [{ code: "211302", name: "双塔区" }, { code: "211303", name: "龙城区" }, { code: "211321", name: "朝阳县" }, { code: "211322", name: "建平县" }, { code: "211324", name: "喀喇沁左翼蒙古族自治县" }, { code: "211381", name: "北票市" }, { code: "211382", name: "凌源市" }], [{ code: "211402", name: "连山区" }, { code: "211403", name: "龙港区" }, { code: "211404", name: "南票区" }, { code: "211421", name: "绥中县" }, { code: "211422", name: "建昌县" }, { code: "211481", name: "兴城市" }]], [[{ code: "220102", name: "南关区" }, { code: "220103", name: "宽城区" }, { code: "220104", name: "朝阳区" }, { code: "220105", name: "二道区" }, { code: "220106", name: "绿园区" }, { code: "220112", name: "双阳区" }, { code: "220113", name: "九台区" }, { code: "220122", name: "农安县" }, { code: "220182", name: "榆树市" }, { code: "220183", name: "德惠市" }], [{ code: "220202", name: "昌邑区" }, { code: "220203", name: "龙潭区" }, { code: "220204", name: "船营区" }, { code: "220211", name: "丰满区" }, { code: "220221", name: "永吉县" }, { code: "220281", name: "蛟河市" }, { code: "220282", name: "桦甸市" }, { code: "220283", name: "舒兰市" }, { code: "220284", name: "磐石市" }], [{ code: "220302", name: "铁西区" }, { code: "220303", name: "铁东区" }, { code: "220322", name: "梨树县" }, { code: "220323", name: "伊通满族自治县" }, { code: "220381", name: "公主岭市" }, { code: "220382", name: "双辽市" }], [{ code: "220402", name: "龙山区" }, { code: "220403", name: "西安区" }, { code: "220421", name: "东丰县" }, { code: "220422", name: "东辽县" }], [{ code: "220502", name: "东昌区" }, { code: "220503", name: "二道江区" }, { code: "220521", name: "通化县" }, { code: "220523", name: "辉南县" }, { code: "220524", name: "柳河县" }, { code: "220581", name: "梅河口市" }, { code: "220582", name: "集安市" }], [{ code: "220602", name: "浑江区" }, { code: "220605", name: "江源区" }, { code: "220621", name: "抚松县" }, { code: "220622", name: "靖宇县" }, { code: "220623", name: "长白朝鲜族自治县" }, { code: "220681", name: "临江市" }], [{ code: "220702", name: "宁江区" }, { code: "220721", name: "前郭尔罗斯蒙古族自治县" }, { code: "220722", name: "长岭县" }, { code: "220723", name: "乾安县" }, { code: "220781", name: "扶余市" }], [{ code: "220802", name: "洮北区" }, { code: "220821", name: "镇赉县" }, { code: "220822", name: "通榆县" }, { code: "220881", name: "洮南市" }, { code: "220882", name: "大安市" }], [{ code: "222401", name: "延吉市" }, { code: "222402", name: "图们市" }, { code: "222403", name: "敦化市" }, { code: "222404", name: "珲春市" }, { code: "222405", name: "龙井市" }, { code: "222406", name: "和龙市" }, { code: "222424", name: "汪清县" }, { code: "222426", name: "安图县" }]], [[{ code: "230102", name: "道里区" }, { code: "230103", name: "南岗区" }, { code: "230104", name: "道外区" }, { code: "230108", name: "平房区" }, { code: "230109", name: "松北区" }, { code: "230110", name: "香坊区" }, { code: "230111", name: "呼兰区" }, { code: "230112", name: "阿城区" }, { code: "230113", name: "双城区" }, { code: "230123", name: "依兰县" }, { code: "230124", name: "方正县" }, { code: "230125", name: "宾县" }, { code: "230126", name: "巴彦县" }, { code: "230127", name: "木兰县" }, { code: "230128", name: "通河县" }, { code: "230129", name: "延寿县" }, { code: "230183", name: "尚志市" }, { code: "230184", name: "五常市" }], [{ code: "230202", name: "龙沙区" }, { code: "230203", name: "建华区" }, { code: "230204", name: "铁锋区" }, { code: "230205", name: "昂昂溪区" }, { code: "230206", name: "富拉尔基区" }, { code: "230207", name: "碾子山区" }, { code: "230208", name: "梅里斯达斡尔族区" }, { code: "230221", name: "龙江县" }, { code: "230223", name: "依安县" }, { code: "230224", name: "泰来县" }, { code: "230225", name: "甘南县" }, { code: "230227", name: "富裕县" }, { code: "230229", name: "克山县" }, { code: "230230", name: "克东县" }, { code: "230231", name: "拜泉县" }, { code: "230281", name: "讷河市" }], [{ code: "230302", name: "鸡冠区" }, { code: "230303", name: "恒山区" }, { code: "230304", name: "滴道区" }, { code: "230305", name: "梨树区" }, { code: "230306", name: "城子河区" }, { code: "230307", name: "麻山区" }, { code: "230321", name: "鸡东县" }, { code: "230381", name: "虎林市" }, { code: "230382", name: "密山市" }], [{ code: "230402", name: "向阳区" }, { code: "230403", name: "工农区" }, { code: "230404", name: "南山区" }, { code: "230405", name: "兴安区" }, { code: "230406", name: "东山区" }, { code: "230407", name: "兴山区" }, { code: "230421", name: "萝北县" }, { code: "230422", name: "绥滨县" }], [{ code: "230502", name: "尖山区" }, { code: "230503", name: "岭东区" }, { code: "230505", name: "四方台区" }, { code: "230506", name: "宝山区" }, { code: "230521", name: "集贤县" }, { code: "230522", name: "友谊县" }, { code: "230523", name: "宝清县" }, { code: "230524", name: "饶河县" }], [{ code: "230602", name: "萨尔图区" }, { code: "230603", name: "龙凤区" }, { code: "230604", name: "让胡路区" }, { code: "230605", name: "红岗区" }, { code: "230606", name: "大同区" }, { code: "230621", name: "肇州县" }, { code: "230622", name: "肇源县" }, { code: "230623", name: "林甸县" }, { code: "230624", name: "杜尔伯特蒙古族自治县" }], [{ code: "230702", name: "伊春区" }, { code: "230703", name: "南岔区" }, { code: "230704", name: "友好区" }, { code: "230705", name: "西林区" }, { code: "230706", name: "翠峦区" }, { code: "230707", name: "新青区" }, { code: "230708", name: "美溪区" }, { code: "230709", name: "金山屯区" }, { code: "230710", name: "五营区" }, { code: "230711", name: "乌马河区" }, { code: "230712", name: "汤旺河区" }, { code: "230713", name: "带岭区" }, { code: "230714", name: "乌伊岭区" }, { code: "230715", name: "红星区" }, { code: "230716", name: "上甘岭区" }, { code: "230722", name: "嘉荫县" }, { code: "230781", name: "铁力市" }], [{ code: "230803", name: "向阳区" }, { code: "230804", name: "前进区" }, { code: "230805", name: "东风区" }, { code: "230811", name: "郊区" }, { code: "230822", name: "桦南县" }, { code: "230826", name: "桦川县" }, { code: "230828", name: "汤原县" }, { code: "230881", name: "同江市" }, { code: "230882", name: "富锦市" }, { code: "230883", name: "抚远市" }], [{ code: "230902", name: "新兴区" }, { code: "230903", name: "桃山区" }, { code: "230904", name: "茄子河区" }, { code: "230921", name: "勃利县" }], [{ code: "231002", name: "东安区" }, { code: "231003", name: "阳明区" }, { code: "231004", name: "爱民区" }, { code: "231005", name: "西安区" }, { code: "231025", name: "林口县" }, { code: "231081", name: "绥芬河市" }, { code: "231083", name: "海林市" }, { code: "231084", name: "宁安市" }, { code: "231085", name: "穆棱市" }, { code: "231086", name: "东宁市" }], [{ code: "231102", name: "爱辉区" }, { code: "231121", name: "嫩江县" }, { code: "231123", name: "逊克县" }, { code: "231124", name: "孙吴县" }, { code: "231181", name: "北安市" }, { code: "231182", name: "五大连池市" }], [{ code: "231202", name: "北林区" }, { code: "231221", name: "望奎县" }, { code: "231222", name: "兰西县" }, { code: "231223", name: "青冈县" }, { code: "231224", name: "庆安县" }, { code: "231225", name: "明水县" }, { code: "231226", name: "绥棱县" }, { code: "231281", name: "安达市" }, { code: "231282", name: "肇东市" }, { code: "231283", name: "海伦市" }], [{ code: "232701", name: "加格达奇区" }, { code: "232702", name: "松岭区" }, { code: "232703", name: "新林区" }, { code: "232704", name: "呼中区" }, { code: "232721", name: "呼玛县" }, { code: "232722", name: "塔河县" }, { code: "232723", name: "漠河县" }]], [[{ code: "310101", name: "黄浦区" }, { code: "310104", name: "徐汇区" }, { code: "310105", name: "长宁区" }, { code: "310106", name: "静安区" }, { code: "310107", name: "普陀区" }, { code: "310109", name: "虹口区" }, { code: "310110", name: "杨浦区" }, { code: "310112", name: "闵行区" }, { code: "310113", name: "宝山区" }, { code: "310114", name: "嘉定区" }, { code: "310115", name: "浦东新区" }, { code: "310116", name: "金山区" }, { code: "310117", name: "松江区" }, { code: "310118", name: "青浦区" }, { code: "310120", name: "奉贤区" }, { code: "310151", name: "崇明区" }]], [[{ code: "320102", name: "玄武区" }, { code: "320104", name: "秦淮区" }, { code: "320105", name: "建邺区" }, { code: "320106", name: "鼓楼区" }, { code: "320111", name: "浦口区" }, { code: "320113", name: "栖霞区" }, { code: "320114", name: "雨花台区" }, { code: "320115", name: "江宁区" }, { code: "320116", name: "六合区" }, { code: "320117", name: "溧水区" }, { code: "320118", name: "高淳区" }], [{ code: "320205", name: "锡山区" }, { code: "320206", name: "惠山区" }, { code: "320211", name: "滨湖区" }, { code: "320213", name: "梁溪区" }, { code: "320214", name: "新吴区" }, { code: "320281", name: "江阴市" }, { code: "320282", name: "宜兴市" }], [{ code: "320302", name: "鼓楼区" }, { code: "320303", name: "云龙区" }, { code: "320305", name: "贾汪区" }, { code: "320311", name: "泉山区" }, { code: "320312", name: "铜山区" }, { code: "320321", name: "丰县" }, { code: "320322", name: "沛县" }, { code: "320324", name: "睢宁县" }, { code: "320381", name: "新沂市" }, { code: "320382", name: "邳州市" }], [{ code: "320402", name: "天宁区" }, { code: "320404", name: "钟楼区" }, { code: "320411", name: "新北区" }, { code: "320412", name: "武进区" }, { code: "320413", name: "金坛区" }, { code: "320481", name: "溧阳市" }], [{ code: "320505", name: "虎丘区" }, { code: "320506", name: "吴中区" }, { code: "320507", name: "相城区" }, { code: "320508", name: "姑苏区" }, { code: "320509", name: "吴江区" }, { code: "320581", name: "常熟市" }, { code: "320582", name: "张家港市" }, { code: "320583", name: "昆山市" }, { code: "320585", name: "太仓市" }], [{ code: "320602", name: "崇川区" }, { code: "320611", name: "港闸区" }, { code: "320612", name: "通州区" }, { code: "320621", name: "海安县" }, { code: "320623", name: "如东县" }, { code: "320681", name: "启东市" }, { code: "320682", name: "如皋市" }, { code: "320684", name: "海门市" }], [{ code: "320703", name: "连云区" }, { code: "320706", name: "海州区" }, { code: "320707", name: "赣榆区" }, { code: "320722", name: "东海县" }, { code: "320723", name: "灌云县" }, { code: "320724", name: "灌南县" }], [{ code: "320803", name: "淮安区" }, { code: "320804", name: "淮阴区" }, { code: "320812", name: "清江浦区" }, { code: "320813", name: "洪泽区" }, { code: "320826", name: "涟水县" }, { code: "320830", name: "盱眙县" }, { code: "320831", name: "金湖县" }], [{ code: "320902", name: "亭湖区" }, { code: "320903", name: "盐都区" }, { code: "320904", name: "大丰区" }, { code: "320921", name: "响水县" }, { code: "320922", name: "滨海县" }, { code: "320923", name: "阜宁县" }, { code: "320924", name: "射阳县" }, { code: "320925", name: "建湖县" }, { code: "320981", name: "东台市" }], [{ code: "321002", name: "广陵区" }, { code: "321003", name: "邗江区" }, { code: "321012", name: "江都区" }, { code: "321023", name: "宝应县" }, { code: "321081", name: "仪征市" }, { code: "321084", name: "高邮市" }], [{ code: "321102", name: "京口区" }, { code: "321111", name: "润州区" }, { code: "321112", name: "丹徒区" }, { code: "321181", name: "丹阳市" }, { code: "321182", name: "扬中市" }, { code: "321183", name: "句容市" }], [{ code: "321202", name: "海陵区" }, { code: "321203", name: "高港区" }, { code: "321204", name: "姜堰区" }, { code: "321281", name: "兴化市" }, { code: "321282", name: "靖江市" }, { code: "321283", name: "泰兴市" }], [{ code: "321302", name: "宿城区" }, { code: "321311", name: "宿豫区" }, { code: "321322", name: "沭阳县" }, { code: "321323", name: "泗阳县" }, { code: "321324", name: "泗洪县" }]], [[{ code: "330102", name: "上城区" }, { code: "330105", name: "拱墅区" }, { code: "330106", name: "西湖区" }, { code: "330108", name: "滨江区" }, { code: "330109", name: "萧山区" }, { code: "330110", name: "余杭区" }, { code: "330111", name: "富阳区" }, { code: "330112", name: "临安区" }, { code: "330113", name: "临平区" }, { code: "330114", name: "钱塘区" }, { code: "330122", name: "桐庐县" }, { code: "330127", name: "淳安县" }, { code: "330182", name: "建德市" }], [{ code: "330203", name: "海曙区" }, { code: "330205", name: "江北区" }, { code: "330206", name: "北仑区" }, { code: "330211", name: "镇海区" }, { code: "330212", name: "鄞州区" }, { code: "330213", name: "奉化区" }, { code: "330225", name: "象山县" }, { code: "330226", name: "宁海县" }, { code: "330281", name: "余姚市" }, { code: "330282", name: "慈溪市" }], [{ code: "330302", name: "鹿城区" }, { code: "330303", name: "龙湾区" }, { code: "330304", name: "瓯海区" }, { code: "330305", name: "洞头区" }, { code: "330324", name: "永嘉县" }, { code: "330326", name: "平阳县" }, { code: "330327", name: "苍南县" }, { code: "330328", name: "文成县" }, { code: "330329", name: "泰顺县" }, { code: "330381", name: "瑞安市" }, { code: "330382", name: "乐清市" }], [{ code: "330402", name: "南湖区" }, { code: "330411", name: "秀洲区" }, { code: "330421", name: "嘉善县" }, { code: "330424", name: "海盐县" }, { code: "330481", name: "海宁市" }, { code: "330482", name: "平湖市" }, { code: "330483", name: "桐乡市" }], [{ code: "330502", name: "吴兴区" }, { code: "330503", name: "南浔区" }, { code: "330521", name: "德清县" }, { code: "330522", name: "长兴县" }, { code: "330523", name: "安吉县" }], [{ code: "330602", name: "越城区" }, { code: "330603", name: "柯桥区" }, { code: "330604", name: "上虞区" }, { code: "330624", name: "新昌县" }, { code: "330681", name: "诸暨市" }, { code: "330683", name: "嵊州市" }], [{ code: "330702", name: "婺城区" }, { code: "330703", name: "金东区" }, { code: "330723", name: "武义县" }, { code: "330726", name: "浦江县" }, { code: "330727", name: "磐安县" }, { code: "330781", name: "兰溪市" }, { code: "330782", name: "义乌市" }, { code: "330783", name: "东阳市" }, { code: "330784", name: "永康市" }], [{ code: "330802", name: "柯城区" }, { code: "330803", name: "衢江区" }, { code: "330822", name: "常山县" }, { code: "330824", name: "开化县" }, { code: "330825", name: "龙游县" }, { code: "330881", name: "江山市" }], [{ code: "330902", name: "定海区" }, { code: "330903", name: "普陀区" }, { code: "330921", name: "岱山县" }, { code: "330922", name: "嵊泗县" }], [{ code: "331002", name: "椒江区" }, { code: "331003", name: "黄岩区" }, { code: "331004", name: "路桥区" }, { code: "331022", name: "三门县" }, { code: "331023", name: "天台县" }, { code: "331024", name: "仙居县" }, { code: "331081", name: "温岭市" }, { code: "331082", name: "临海市" }, { code: "331083", name: "玉环市" }], [{ code: "331102", name: "莲都区" }, { code: "331121", name: "青田县" }, { code: "331122", name: "缙云县" }, { code: "331123", name: "遂昌县" }, { code: "331124", name: "松阳县" }, { code: "331125", name: "云和县" }, { code: "331126", name: "庆元县" }, { code: "331127", name: "景宁畲族自治县" }, { code: "331181", name: "龙泉市" }]], [[{ code: "340102", name: "瑶海区" }, { code: "340103", name: "庐阳区" }, { code: "340104", name: "蜀山区" }, { code: "340111", name: "包河区" }, { code: "340121", name: "长丰县" }, { code: "340122", name: "肥东县" }, { code: "340123", name: "肥西县" }, { code: "340124", name: "庐江县" }, { code: "340181", name: "巢湖市" }], [{ code: "340202", name: "镜湖区" }, { code: "340203", name: "弋江区" }, { code: "340207", name: "鸠江区" }, { code: "340208", name: "三山区" }, { code: "340221", name: "芜湖县" }, { code: "340222", name: "繁昌县" }, { code: "340223", name: "南陵县" }, { code: "340225", name: "无为县" }], [{ code: "340302", name: "龙子湖区" }, { code: "340303", name: "蚌山区" }, { code: "340304", name: "禹会区" }, { code: "340311", name: "淮上区" }, { code: "340321", name: "怀远县" }, { code: "340322", name: "五河县" }, { code: "340323", name: "固镇县" }], [{ code: "340402", name: "大通区" }, { code: "340403", name: "田家庵区" }, { code: "340404", name: "谢家集区" }, { code: "340405", name: "八公山区" }, { code: "340406", name: "潘集区" }, { code: "340421", name: "凤台县" }, { code: "340422", name: "寿县" }], [{ code: "340503", name: "花山区" }, { code: "340504", name: "雨山区" }, { code: "340506", name: "博望区" }, { code: "340521", name: "当涂县" }, { code: "340522", name: "含山县" }, { code: "340523", name: "和县" }], [{ code: "340602", name: "杜集区" }, { code: "340603", name: "相山区" }, { code: "340604", name: "烈山区" }, { code: "340621", name: "濉溪县" }], [{ code: "340705", name: "铜官区" }, { code: "340706", name: "义安区" }, { code: "340711", name: "郊区" }, { code: "340722", name: "枞阳县" }], [{ code: "340802", name: "迎江区" }, { code: "340803", name: "大观区" }, { code: "340811", name: "宜秀区" }, { code: "340822", name: "怀宁县" }, { code: "340824", name: "潜山县" }, { code: "340825", name: "太湖县" }, { code: "340826", name: "宿松县" }, { code: "340827", name: "望江县" }, { code: "340828", name: "岳西县" }, { code: "340881", name: "桐城市" }], [{ code: "341002", name: "屯溪区" }, { code: "341003", name: "黄山区" }, { code: "341004", name: "徽州区" }, { code: "341021", name: "歙县" }, { code: "341022", name: "休宁县" }, { code: "341023", name: "黟县" }, { code: "341024", name: "祁门县" }], [{ code: "341102", name: "琅琊区" }, { code: "341103", name: "南谯区" }, { code: "341122", name: "来安县" }, { code: "341124", name: "全椒县" }, { code: "341125", name: "定远县" }, { code: "341126", name: "凤阳县" }, { code: "341181", name: "天长市" }, { code: "341182", name: "明光市" }], [{ code: "341202", name: "颍州区" }, { code: "341203", name: "颍东区" }, { code: "341204", name: "颍泉区" }, { code: "341221", name: "临泉县" }, { code: "341222", name: "太和县" }, { code: "341225", name: "阜南县" }, { code: "341226", name: "颍上县" }, { code: "341282", name: "界首市" }], [{ code: "341302", name: "埇桥区" }, { code: "341321", name: "砀山县" }, { code: "341322", name: "萧县" }, { code: "341323", name: "灵璧县" }, { code: "341324", name: "泗县" }], [{ code: "341502", name: "金安区" }, { code: "341503", name: "裕安区" }, { code: "341504", name: "叶集区" }, { code: "341522", name: "霍邱县" }, { code: "341523", name: "舒城县" }, { code: "341524", name: "金寨县" }, { code: "341525", name: "霍山县" }], [{ code: "341602", name: "谯城区" }, { code: "341621", name: "涡阳县" }, { code: "341622", name: "蒙城县" }, { code: "341623", name: "利辛县" }], [{ code: "341702", name: "贵池区" }, { code: "341721", name: "东至县" }, { code: "341722", name: "石台县" }, { code: "341723", name: "青阳县" }], [{ code: "341802", name: "宣州区" }, { code: "341821", name: "郎溪县" }, { code: "341822", name: "广德县" }, { code: "341823", name: "泾县" }, { code: "341824", name: "绩溪县" }, { code: "341825", name: "旌德县" }, { code: "341881", name: "宁国市" }]], [[{ code: "350102", name: "鼓楼区" }, { code: "350103", name: "台江区" }, { code: "350104", name: "仓山区" }, { code: "350105", name: "马尾区" }, { code: "350111", name: "晋安区" }, { code: "350112", name: "长乐区" }, { code: "350121", name: "闽侯县" }, { code: "350122", name: "连江县" }, { code: "350123", name: "罗源县" }, { code: "350124", name: "闽清县" }, { code: "350125", name: "永泰县" }, { code: "350128", name: "平潭县" }, { code: "350181", name: "福清市" }], [{ code: "350203", name: "思明区" }, { code: "350205", name: "海沧区" }, { code: "350206", name: "湖里区" }, { code: "350211", name: "集美区" }, { code: "350212", name: "同安区" }, { code: "350213", name: "翔安区" }], [{ code: "350302", name: "城厢区" }, { code: "350303", name: "涵江区" }, { code: "350304", name: "荔城区" }, { code: "350305", name: "秀屿区" }, { code: "350322", name: "仙游县" }], [{ code: "350404", name: "三元区" }, { code: "350405", name: "沙县区" }, { code: "350421", name: "明溪县" }, { code: "350423", name: "清流县" }, { code: "350424", name: "宁化县" }, { code: "350425", name: "大田县" }, { code: "350426", name: "尤溪县" }, { code: "350428", name: "将乐县" }, { code: "350429", name: "泰宁县" }, { code: "350430", name: "建宁县" }, { code: "350481", name: "永安市" }], [{ code: "350502", name: "鲤城区" }, { code: "350503", name: "丰泽区" }, { code: "350504", name: "洛江区" }, { code: "350505", name: "泉港区" }, { code: "350521", name: "惠安县" }, { code: "350524", name: "安溪县" }, { code: "350525", name: "永春县" }, { code: "350526", name: "德化县" }, { code: "350527", name: "金门县" }, { code: "350581", name: "石狮市" }, { code: "350582", name: "晋江市" }, { code: "350583", name: "南安市" }], [{ code: "350602", name: "芗城区" }, { code: "350603", name: "龙文区" }, { code: "350604", name: "龙海区" }, { code: "350605", name: "长泰区" }, { code: "350622", name: "云霄县" }, { code: "350623", name: "漳浦县" }, { code: "350624", name: "诏安县" }, { code: "350626", name: "东山县" }, { code: "350627", name: "南靖县" }, { code: "350628", name: "平和县" }, { code: "350629", name: "华安县" }], [{ code: "350702", name: "延平区" }, { code: "350703", name: "建阳区" }, { code: "350721", name: "顺昌县" }, { code: "350722", name: "浦城县" }, { code: "350723", name: "光泽县" }, { code: "350724", name: "松溪县" }, { code: "350725", name: "政和县" }, { code: "350781", name: "邵武市" }, { code: "350782", name: "武夷山市" }, { code: "350783", name: "建瓯市" }], [{ code: "350802", name: "新罗区" }, { code: "350803", name: "永定区" }, { code: "350821", name: "长汀县" }, { code: "350823", name: "上杭县" }, { code: "350824", name: "武平县" }, { code: "350825", name: "连城县" }, { code: "350881", name: "漳平市" }], [{ code: "350902", name: "蕉城区" }, { code: "350921", name: "霞浦县" }, { code: "350922", name: "古田县" }, { code: "350923", name: "屏南县" }, { code: "350924", name: "寿宁县" }, { code: "350925", name: "周宁县" }, { code: "350926", name: "柘荣县" }, { code: "350981", name: "福安市" }, { code: "350982", name: "福鼎市" }]], [[{ code: "360102", name: "东湖区" }, { code: "360103", name: "西湖区" }, { code: "360104", name: "青云谱区" }, { code: "360105", name: "湾里区" }, { code: "360111", name: "青山湖区" }, { code: "360112", name: "新建区" }, { code: "360121", name: "南昌县" }, { code: "360123", name: "安义县" }, { code: "360124", name: "进贤县" }], [{ code: "360202", name: "昌江区" }, { code: "360203", name: "珠山区" }, { code: "360222", name: "浮梁县" }, { code: "360281", name: "乐平市" }], [{ code: "360302", name: "安源区" }, { code: "360313", name: "湘东区" }, { code: "360321", name: "莲花县" }, { code: "360322", name: "上栗县" }, { code: "360323", name: "芦溪县" }], [{ code: "360402", name: "濂溪区" }, { code: "360403", name: "浔阳区" }, { code: "360404", name: "柴桑区" }, { code: "360423", name: "武宁县" }, { code: "360424", name: "修水县" }, { code: "360425", name: "永修县" }, { code: "360426", name: "德安县" }, { code: "360428", name: "都昌县" }, { code: "360429", name: "湖口县" }, { code: "360430", name: "彭泽县" }, { code: "360481", name: "瑞昌市" }, { code: "360482", name: "共青城市" }, { code: "360483", name: "庐山市" }], [{ code: "360502", name: "渝水区" }, { code: "360521", name: "分宜县" }], [{ code: "360602", name: "月湖区" }, { code: "360622", name: "余江区" }, { code: "360681", name: "贵溪市" }], [{ code: "360702", name: "章贡区" }, { code: "360703", name: "南康区" }, { code: "360704", name: "赣县区" }, { code: "360722", name: "信丰县" }, { code: "360723", name: "大余县" }, { code: "360724", name: "上犹县" }, { code: "360725", name: "崇义县" }, { code: "360726", name: "安远县" }, { code: "360727", name: "龙南县" }, { code: "360728", name: "定南县" }, { code: "360729", name: "全南县" }, { code: "360730", name: "宁都县" }, { code: "360731", name: "于都县" }, { code: "360732", name: "兴国县" }, { code: "360733", name: "会昌县" }, { code: "360734", name: "寻乌县" }, { code: "360735", name: "石城县" }, { code: "360781", name: "瑞金市" }], [{ code: "360802", name: "吉州区" }, { code: "360803", name: "青原区" }, { code: "360821", name: "吉安县" }, { code: "360822", name: "吉水县" }, { code: "360823", name: "峡江县" }, { code: "360824", name: "新干县" }, { code: "360825", name: "永丰县" }, { code: "360826", name: "泰和县" }, { code: "360827", name: "遂川县" }, { code: "360828", name: "万安县" }, { code: "360829", name: "安福县" }, { code: "360830", name: "永新县" }, { code: "360881", name: "井冈山市" }], [{ code: "360902", name: "袁州区" }, { code: "360921", name: "奉新县" }, { code: "360922", name: "万载县" }, { code: "360923", name: "上高县" }, { code: "360924", name: "宜丰县" }, { code: "360925", name: "靖安县" }, { code: "360926", name: "铜鼓县" }, { code: "360981", name: "丰城市" }, { code: "360982", name: "樟树市" }, { code: "360983", name: "高安市" }], [{ code: "361002", name: "临川区" }, { code: "361003", name: "东乡区" }, { code: "361021", name: "南城县" }, { code: "361022", name: "黎川县" }, { code: "361023", name: "南丰县" }, { code: "361024", name: "崇仁县" }, { code: "361025", name: "乐安县" }, { code: "361026", name: "宜黄县" }, { code: "361027", name: "金溪县" }, { code: "361028", name: "资溪县" }, { code: "361030", name: "广昌县" }], [{ code: "361102", name: "信州区" }, { code: "361103", name: "广丰区" }, { code: "361121", name: "上饶县" }, { code: "361123", name: "玉山县" }, { code: "361124", name: "铅山县" }, { code: "361125", name: "横峰县" }, { code: "361126", name: "弋阳县" }, { code: "361127", name: "余干县" }, { code: "361128", name: "鄱阳县" }, { code: "361129", name: "万年县" }, { code: "361130", name: "婺源县" }, { code: "361181", name: "德兴市" }]], [[{ code: "370102", name: "历下区" }, { code: "370103", name: "市中区" }, { code: "370104", name: "槐荫区" }, { code: "370105", name: "天桥区" }, { code: "370112", name: "历城区" }, { code: "370113", name: "长清区" }, { code: "370114", name: "章丘区" }, { code: "370124", name: "平阴县" }, { code: "370125", name: "济阳县" }, { code: "370126", name: "商河县" }], [{ code: "370202", name: "市南区" }, { code: "370203", name: "市北区" }, { code: "370211", name: "黄岛区" }, { code: "370212", name: "崂山区" }, { code: "370213", name: "李沧区" }, { code: "370214", name: "城阳区" }, { code: "370215", name: "即墨区" }, { code: "370281", name: "胶州市" }, { code: "370283", name: "平度市" }, { code: "370285", name: "莱西市" }], [{ code: "370302", name: "淄川区" }, { code: "370303", name: "张店区" }, { code: "370304", name: "博山区" }, { code: "370305", name: "临淄区" }, { code: "370306", name: "周村区" }, { code: "370321", name: "桓台县" }, { code: "370322", name: "高青县" }, { code: "370323", name: "沂源县" }], [{ code: "370402", name: "市中区" }, { code: "370403", name: "薛城区" }, { code: "370404", name: "峄城区" }, { code: "370405", name: "台儿庄区" }, { code: "370406", name: "山亭区" }, { code: "370481", name: "滕州市" }], [{ code: "370502", name: "东营区" }, { code: "370503", name: "河口区" }, { code: "370505", name: "垦利区" }, { code: "370522", name: "利津县" }, { code: "370523", name: "广饶县" }], [{ code: "370602", name: "芝罘区" }, { code: "370611", name: "福山区" }, { code: "370612", name: "牟平区" }, { code: "370613", name: "莱山区" }, { code: "370634", name: "长岛县" }, { code: "370681", name: "龙口市" }, { code: "370682", name: "莱阳市" }, { code: "370683", name: "莱州市" }, { code: "370684", name: "蓬莱市" }, { code: "370685", name: "招远市" }, { code: "370686", name: "栖霞市" }, { code: "370687", name: "海阳市" }], [{ code: "370702", name: "潍城区" }, { code: "370703", name: "寒亭区" }, { code: "370704", name: "坊子区" }, { code: "370705", name: "奎文区" }, { code: "370724", name: "临朐县" }, { code: "370725", name: "昌乐县" }, { code: "370781", name: "青州市" }, { code: "370782", name: "诸城市" }, { code: "370783", name: "寿光市" }, { code: "370784", name: "安丘市" }, { code: "370785", name: "高密市" }, { code: "370786", name: "昌邑市" }], [{ code: "370811", name: "任城区" }, { code: "370812", name: "兖州区" }, { code: "370826", name: "微山县" }, { code: "370827", name: "鱼台县" }, { code: "370828", name: "金乡县" }, { code: "370829", name: "嘉祥县" }, { code: "370830", name: "汶上县" }, { code: "370831", name: "泗水县" }, { code: "370832", name: "梁山县" }, { code: "370881", name: "曲阜市" }, { code: "370883", name: "邹城市" }], [{ code: "370902", name: "泰山区" }, { code: "370911", name: "岱岳区" }, { code: "370921", name: "宁阳县" }, { code: "370923", name: "东平县" }, { code: "370982", name: "新泰市" }, { code: "370983", name: "肥城市" }], [{ code: "371002", name: "环翠区" }, { code: "371003", name: "文登区" }, { code: "371082", name: "荣成市" }, { code: "371083", name: "乳山市" }], [{ code: "371102", name: "东港区" }, { code: "371103", name: "岚山区" }, { code: "371121", name: "五莲县" }, { code: "371122", name: "莒县" }], [{ code: "371202", name: "莱城区" }, { code: "371203", name: "钢城区" }], [{ code: "371302", name: "兰山区" }, { code: "371311", name: "罗庄区" }, { code: "371312", name: "河东区" }, { code: "371321", name: "沂南县" }, { code: "371322", name: "郯城县" }, { code: "371323", name: "沂水县" }, { code: "371324", name: "兰陵县" }, { code: "371325", name: "费县" }, { code: "371326", name: "平邑县" }, { code: "371327", name: "莒南县" }, { code: "371328", name: "蒙阴县" }, { code: "371329", name: "临沭县" }], [{ code: "371402", name: "德城区" }, { code: "371403", name: "陵城区" }, { code: "371422", name: "宁津县" }, { code: "371423", name: "庆云县" }, { code: "371424", name: "临邑县" }, { code: "371425", name: "齐河县" }, { code: "371426", name: "平原县" }, { code: "371427", name: "夏津县" }, { code: "371428", name: "武城县" }, { code: "371481", name: "乐陵市" }, { code: "371482", name: "禹城市" }], [{ code: "371502", name: "东昌府区" }, { code: "371521", name: "阳谷县" }, { code: "371522", name: "莘县" }, { code: "371523", name: "茌平县" }, { code: "371524", name: "东阿县" }, { code: "371525", name: "冠县" }, { code: "371526", name: "高唐县" }, { code: "371581", name: "临清市" }], [{ code: "371602", name: "滨城区" }, { code: "371603", name: "沾化区" }, { code: "371621", name: "惠民县" }, { code: "371622", name: "阳信县" }, { code: "371623", name: "无棣县" }, { code: "371625", name: "博兴县" }, { code: "371626", name: "邹平县" }], [{ code: "371702", name: "牡丹区" }, { code: "371703", name: "定陶区" }, { code: "371721", name: "曹县" }, { code: "371722", name: "单县" }, { code: "371723", name: "成武县" }, { code: "371724", name: "巨野县" }, { code: "371725", name: "郓城县" }, { code: "371726", name: "鄄城县" }, { code: "371728", name: "东明县" }]], [[{ code: "410102", name: "中原区" }, { code: "410103", name: "二七区" }, { code: "410104", name: "管城回族区" }, { code: "410105", name: "金水区" }, { code: "410106", name: "上街区" }, { code: "410108", name: "惠济区" }, { code: "410122", name: "中牟县" }, { code: "410181", name: "巩义市" }, { code: "410182", name: "荥阳市" }, { code: "410183", name: "新密市" }, { code: "410184", name: "新郑市" }, { code: "410185", name: "登封市" }], [{ code: "410202", name: "龙亭区" }, { code: "410203", name: "顺河回族区" }, { code: "410204", name: "鼓楼区" }, { code: "410205", name: "禹王台区" }, { code: "410212", name: "祥符区" }, { code: "410221", name: "杞县" }, { code: "410222", name: "通许县" }, { code: "410223", name: "尉氏县" }, { code: "410225", name: "兰考县" }], [{ code: "410302", name: "老城区" }, { code: "410303", name: "西工区" }, { code: "410304", name: "瀍河回族区" }, { code: "410305", name: "涧西区" }, { code: "410307", name: "偃师区" }, { code: "410308", name: "孟津区" }, { code: "410311", name: "洛龙区" }, { code: "410323", name: "新安县" }, { code: "410324", name: "栾川县" }, { code: "410325", name: "嵩县" }, { code: "410326", name: "汝阳县" }, { code: "410327", name: "宜阳县" }, { code: "410328", name: "洛宁县" }, { code: "410329", name: "伊川县" }], [{ code: "410402", name: "新华区" }, { code: "410403", name: "卫东区" }, { code: "410404", name: "石龙区" }, { code: "410411", name: "湛河区" }, { code: "410421", name: "宝丰县" }, { code: "410422", name: "叶县" }, { code: "410423", name: "鲁山县" }, { code: "410425", name: "郏县" }, { code: "410481", name: "舞钢市" }, { code: "410482", name: "汝州市" }], [{ code: "410502", name: "文峰区" }, { code: "410503", name: "北关区" }, { code: "410505", name: "殷都区" }, { code: "410506", name: "龙安区" }, { code: "410522", name: "安阳县" }, { code: "410523", name: "汤阴县" }, { code: "410526", name: "滑县" }, { code: "410527", name: "内黄县" }, { code: "410581", name: "林州市" }], [{ code: "410602", name: "鹤山区" }, { code: "410603", name: "山城区" }, { code: "410611", name: "淇滨区" }, { code: "410621", name: "浚县" }, { code: "410622", name: "淇县" }], [{ code: "410702", name: "红旗区" }, { code: "410703", name: "卫滨区" }, { code: "410704", name: "凤泉区" }, { code: "410711", name: "牧野区" }, { code: "410721", name: "新乡县" }, { code: "410724", name: "获嘉县" }, { code: "410725", name: "原阳县" }, { code: "410726", name: "延津县" }, { code: "410727", name: "封丘县" }, { code: "410728", name: "长垣县" }, { code: "410781", name: "卫辉市" }, { code: "410782", name: "辉县市" }], [{ code: "410802", name: "解放区" }, { code: "410803", name: "中站区" }, { code: "410804", name: "马村区" }, { code: "410811", name: "山阳区" }, { code: "410821", name: "修武县" }, { code: "410822", name: "博爱县" }, { code: "410823", name: "武陟县" }, { code: "410825", name: "温县" }, { code: "410882", name: "沁阳市" }, { code: "410883", name: "孟州市" }], [{ code: "410902", name: "华龙区" }, { code: "410922", name: "清丰县" }, { code: "410923", name: "南乐县" }, { code: "410926", name: "范县" }, { code: "410927", name: "台前县" }, { code: "410928", name: "濮阳县" }], [{ code: "411002", name: "魏都区" }, { code: "411003", name: "建安区" }, { code: "411024", name: "鄢陵县" }, { code: "411025", name: "襄城县" }, { code: "411081", name: "禹州市" }, { code: "411082", name: "长葛市" }], [{ code: "411102", name: "源汇区" }, { code: "411103", name: "郾城区" }, { code: "411104", name: "召陵区" }, { code: "411121", name: "舞阳县" }, { code: "411122", name: "临颍县" }], [{ code: "411202", name: "湖滨区" }, { code: "411203", name: "陕州区" }, { code: "411221", name: "渑池县" }, { code: "411224", name: "卢氏县" }, { code: "411281", name: "义马市" }, { code: "411282", name: "灵宝市" }], [{ code: "411302", name: "宛城区" }, { code: "411303", name: "卧龙区" }, { code: "411321", name: "南召县" }, { code: "411322", name: "方城县" }, { code: "411323", name: "西峡县" }, { code: "411324", name: "镇平县" }, { code: "411325", name: "内乡县" }, { code: "411326", name: "淅川县" }, { code: "411327", name: "社旗县" }, { code: "411328", name: "唐河县" }, { code: "411329", name: "新野县" }, { code: "411330", name: "桐柏县" }, { code: "411381", name: "邓州市" }], [{ code: "411402", name: "梁园区" }, { code: "411403", name: "睢阳区" }, { code: "411421", name: "民权县" }, { code: "411422", name: "睢县" }, { code: "411423", name: "宁陵县" }, { code: "411424", name: "柘城县" }, { code: "411425", name: "虞城县" }, { code: "411426", name: "夏邑县" }, { code: "411481", name: "永城市" }], [{ code: "411502", name: "浉河区" }, { code: "411503", name: "平桥区" }, { code: "411521", name: "罗山县" }, { code: "411522", name: "光山县" }, { code: "411523", name: "新县" }, { code: "411524", name: "商城县" }, { code: "411525", name: "固始县" }, { code: "411526", name: "潢川县" }, { code: "411527", name: "淮滨县" }, { code: "411528", name: "息县" }], [{ code: "411602", name: "川汇区" }, { code: "411621", name: "扶沟县" }, { code: "411622", name: "西华县" }, { code: "411623", name: "商水县" }, { code: "411624", name: "沈丘县" }, { code: "411625", name: "郸城县" }, { code: "411626", name: "淮阳县" }, { code: "411627", name: "太康县" }, { code: "411628", name: "鹿邑县" }, { code: "411681", name: "项城市" }], [{ code: "411702", name: "驿城区" }, { code: "411721", name: "西平县" }, { code: "411722", name: "上蔡县" }, { code: "411723", name: "平舆县" }, { code: "411724", name: "正阳县" }, { code: "411725", name: "确山县" }, { code: "411726", name: "泌阳县" }, { code: "411727", name: "汝南县" }, { code: "411728", name: "遂平县" }, { code: "411729", name: "新蔡县" }], [{ code: "419001", name: "济源市" }]], [[{ code: "420102", name: "江岸区" }, { code: "420103", name: "江汉区" }, { code: "420104", name: "硚口区" }, { code: "420105", name: "汉阳区" }, { code: "420106", name: "武昌区" }, { code: "420107", name: "青山区" }, { code: "420111", name: "洪山区" }, { code: "420112", name: "东西湖区" }, { code: "420113", name: "汉南区" }, { code: "420114", name: "蔡甸区" }, { code: "420115", name: "江夏区" }, { code: "420116", name: "黄陂区" }, { code: "420117", name: "新洲区" }], [{ code: "420202", name: "黄石港区" }, { code: "420203", name: "西塞山区" }, { code: "420204", name: "下陆区" }, { code: "420205", name: "铁山区" }, { code: "420222", name: "阳新县" }, { code: "420281", name: "大冶市" }], [{ code: "420302", name: "茅箭区" }, { code: "420303", name: "张湾区" }, { code: "420304", name: "郧阳区" }, { code: "420322", name: "郧西县" }, { code: "420323", name: "竹山县" }, { code: "420324", name: "竹溪县" }, { code: "420325", name: "房县" }, { code: "420381", name: "丹江口市" }], [{ code: "420502", name: "西陵区" }, { code: "420503", name: "伍家岗区" }, { code: "420504", name: "点军区" }, { code: "420505", name: "猇亭区" }, { code: "420506", name: "夷陵区" }, { code: "420525", name: "远安县" }, { code: "420526", name: "兴山县" }, { code: "420527", name: "秭归县" }, { code: "420528", name: "长阳土家族自治县" }, { code: "420529", name: "五峰土家族自治县" }, { code: "420581", name: "宜都市" }, { code: "420582", name: "当阳市" }, { code: "420583", name: "枝江市" }], [{ code: "420602", name: "襄城区" }, { code: "420606", name: "樊城区" }, { code: "420607", name: "襄州区" }, { code: "420624", name: "南漳县" }, { code: "420625", name: "谷城县" }, { code: "420626", name: "保康县" }, { code: "420682", name: "老河口市" }, { code: "420683", name: "枣阳市" }, { code: "420684", name: "宜城市" }], [{ code: "420702", name: "梁子湖区" }, { code: "420703", name: "华容区" }, { code: "420704", name: "鄂城区" }], [{ code: "420802", name: "东宝区" }, { code: "420804", name: "掇刀区" }, { code: "420821", name: "京山县" }, { code: "420822", name: "沙洋县" }, { code: "420881", name: "钟祥市" }], [{ code: "420902", name: "孝南区" }, { code: "420921", name: "孝昌县" }, { code: "420922", name: "大悟县" }, { code: "420923", name: "云梦县" }, { code: "420981", name: "应城市" }, { code: "420982", name: "安陆市" }, { code: "420984", name: "汉川市" }], [{ code: "421002", name: "沙市区" }, { code: "421003", name: "荆州区" }, { code: "421022", name: "公安县" }, { code: "421023", name: "监利县" }, { code: "421024", name: "江陵县" }, { code: "421081", name: "石首市" }, { code: "421083", name: "洪湖市" }, { code: "421087", name: "松滋市" }], [{ code: "421102", name: "黄州区" }, { code: "421121", name: "团风县" }, { code: "421122", name: "红安县" }, { code: "421123", name: "罗田县" }, { code: "421124", name: "英山县" }, { code: "421125", name: "浠水县" }, { code: "421126", name: "蕲春县" }, { code: "421127", name: "黄梅县" }, { code: "421181", name: "麻城市" }, { code: "421182", name: "武穴市" }], [{ code: "421202", name: "咸安区" }, { code: "421221", name: "嘉鱼县" }, { code: "421222", name: "通城县" }, { code: "421223", name: "崇阳县" }, { code: "421224", name: "通山县" }, { code: "421281", name: "赤壁市" }], [{ code: "421303", name: "曾都区" }, { code: "421321", name: "随县" }, { code: "421381", name: "广水市" }], [{ code: "422801", name: "恩施市" }, { code: "422802", name: "利川市" }, { code: "422822", name: "建始县" }, { code: "422823", name: "巴东县" }, { code: "422825", name: "宣恩县" }, { code: "422826", name: "咸丰县" }, { code: "422827", name: "来凤县" }, { code: "422828", name: "鹤峰县" }], [{ code: "429004", name: "仙桃市" }, { code: "429005", name: "潜江市" }, { code: "429006", name: "天门市" }, { code: "429021", name: "神农架林区" }]], [[{ code: "430102", name: "芙蓉区" }, { code: "430103", name: "天心区" }, { code: "430104", name: "岳麓区" }, { code: "430105", name: "开福区" }, { code: "430111", name: "雨花区" }, { code: "430112", name: "望城区" }, { code: "430121", name: "长沙县" }, { code: "430181", name: "浏阳市" }, { code: "430182", name: "宁乡市" }], [{ code: "430202", name: "荷塘区" }, { code: "430203", name: "芦淞区" }, { code: "430204", name: "石峰区" }, { code: "430211", name: "天元区" }, { code: "430221", name: "株洲县" }, { code: "430223", name: "攸县" }, { code: "430224", name: "茶陵县" }, { code: "430225", name: "炎陵县" }, { code: "430281", name: "醴陵市" }], [{ code: "430302", name: "雨湖区" }, { code: "430304", name: "岳塘区" }, { code: "430321", name: "湘潭县" }, { code: "430381", name: "湘乡市" }, { code: "430382", name: "韶山市" }], [{ code: "430405", name: "珠晖区" }, { code: "430406", name: "雁峰区" }, { code: "430407", name: "石鼓区" }, { code: "430408", name: "蒸湘区" }, { code: "430412", name: "南岳区" }, { code: "430421", name: "衡阳县" }, { code: "430422", name: "衡南县" }, { code: "430423", name: "衡山县" }, { code: "430424", name: "衡东县" }, { code: "430426", name: "祁东县" }, { code: "430481", name: "耒阳市" }, { code: "430482", name: "常宁市" }], [{ code: "430502", name: "双清区" }, { code: "430503", name: "大祥区" }, { code: "430511", name: "北塔区" }, { code: "430521", name: "邵东县" }, { code: "430522", name: "新邵县" }, { code: "430523", name: "邵阳县" }, { code: "430524", name: "隆回县" }, { code: "430525", name: "洞口县" }, { code: "430527", name: "绥宁县" }, { code: "430528", name: "新宁县" }, { code: "430529", name: "城步苗族自治县" }, { code: "430581", name: "武冈市" }], [{ code: "430602", name: "岳阳楼区" }, { code: "430603", name: "云溪区" }, { code: "430611", name: "君山区" }, { code: "430621", name: "岳阳县" }, { code: "430623", name: "华容县" }, { code: "430624", name: "湘阴县" }, { code: "430626", name: "平江县" }, { code: "430681", name: "汨罗市" }, { code: "430682", name: "临湘市" }], [{ code: "430702", name: "武陵区" }, { code: "430703", name: "鼎城区" }, { code: "430721", name: "安乡县" }, { code: "430722", name: "汉寿县" }, { code: "430723", name: "澧县" }, { code: "430724", name: "临澧县" }, { code: "430725", name: "桃源县" }, { code: "430726", name: "石门县" }, { code: "430781", name: "津市市" }], [{ code: "430802", name: "永定区" }, { code: "430811", name: "武陵源区" }, { code: "430821", name: "慈利县" }, { code: "430822", name: "桑植县" }], [{ code: "430902", name: "资阳区" }, { code: "430903", name: "赫山区" }, { code: "430921", name: "南县" }, { code: "430922", name: "桃江县" }, { code: "430923", name: "安化县" }, { code: "430981", name: "沅江市" }], [{ code: "431002", name: "北湖区" }, { code: "431003", name: "苏仙区" }, { code: "431021", name: "桂阳县" }, { code: "431022", name: "宜章县" }, { code: "431023", name: "永兴县" }, { code: "431024", name: "嘉禾县" }, { code: "431025", name: "临武县" }, { code: "431026", name: "汝城县" }, { code: "431027", name: "桂东县" }, { code: "431028", name: "安仁县" }, { code: "431081", name: "资兴市" }], [{ code: "431102", name: "零陵区" }, { code: "431103", name: "冷水滩区" }, { code: "431122", name: "东安县" }, { code: "431123", name: "双牌县" }, { code: "431124", name: "道县" }, { code: "431125", name: "江永县" }, { code: "431126", name: "宁远县" }, { code: "431127", name: "蓝山县" }, { code: "431128", name: "新田县" }, { code: "431129", name: "江华瑶族自治县" }, { code: "431181", name: "祁阳市" }], [{ code: "431202", name: "鹤城区" }, { code: "431221", name: "中方县" }, { code: "431222", name: "沅陵县" }, { code: "431223", name: "辰溪县" }, { code: "431224", name: "溆浦县" }, { code: "431225", name: "会同县" }, { code: "431226", name: "麻阳苗族自治县" }, { code: "431227", name: "新晃侗族自治县" }, { code: "431228", name: "芷江侗族自治县" }, { code: "431229", name: "靖州苗族侗族自治县" }, { code: "431230", name: "通道侗族自治县" }, { code: "431281", name: "洪江市" }], [{ code: "431302", name: "娄星区" }, { code: "431321", name: "双峰县" }, { code: "431322", name: "新化县" }, { code: "431381", name: "冷水江市" }, { code: "431382", name: "涟源市" }], [{ code: "433101", name: "吉首市" }, { code: "433122", name: "泸溪县" }, { code: "433123", name: "凤凰县" }, { code: "433124", name: "花垣县" }, { code: "433125", name: "保靖县" }, { code: "433126", name: "古丈县" }, { code: "433127", name: "永顺县" }, { code: "433130", name: "龙山县" }]], [[{ code: "440103", name: "荔湾区" }, { code: "440104", name: "越秀区" }, { code: "440105", name: "海珠区" }, { code: "440106", name: "天河区" }, { code: "440111", name: "白云区" }, { code: "440112", name: "黄埔区" }, { code: "440113", name: "番禺区" }, { code: "440114", name: "花都区" }, { code: "440115", name: "南沙区" }, { code: "440117", name: "从化区" }, { code: "440118", name: "增城区" }], [{ code: "440203", name: "武江区" }, { code: "440204", name: "浈江区" }, { code: "440205", name: "曲江区" }, { code: "440222", name: "始兴县" }, { code: "440224", name: "仁化县" }, { code: "440229", name: "翁源县" }, { code: "440232", name: "乳源瑶族自治县" }, { code: "440233", name: "新丰县" }, { code: "440281", name: "乐昌市" }, { code: "440282", name: "南雄市" }], [{ code: "440303", name: "罗湖区" }, { code: "440304", name: "福田区" }, { code: "440305", name: "南山区" }, { code: "440306", name: "宝安区" }, { code: "440307", name: "龙岗区" }, { code: "440308", name: "盐田区" }, { code: "440309", name: "龙华区" }, { code: "440310", name: "坪山区" }], [{ code: "440402", name: "香洲区" }, { code: "440403", name: "斗门区" }, { code: "440404", name: "金湾区" }], [{ code: "440507", name: "龙湖区" }, { code: "440511", name: "金平区" }, { code: "440512", name: "濠江区" }, { code: "440513", name: "潮阳区" }, { code: "440514", name: "潮南区" }, { code: "440515", name: "澄海区" }, { code: "440523", name: "南澳县" }], [{ code: "440604", name: "禅城区" }, { code: "440605", name: "南海区" }, { code: "440606", name: "顺德区" }, { code: "440607", name: "三水区" }, { code: "440608", name: "高明区" }], [{ code: "440703", name: "蓬江区" }, { code: "440704", name: "江海区" }, { code: "440705", name: "新会区" }, { code: "440781", name: "台山市" }, { code: "440783", name: "开平市" }, { code: "440784", name: "鹤山市" }, { code: "440785", name: "恩平市" }], [{ code: "440802", name: "赤坎区" }, { code: "440803", name: "霞山区" }, { code: "440804", name: "坡头区" }, { code: "440811", name: "麻章区" }, { code: "440823", name: "遂溪县" }, { code: "440825", name: "徐闻县" }, { code: "440881", name: "廉江市" }, { code: "440882", name: "雷州市" }, { code: "440883", name: "吴川市" }], [{ code: "440902", name: "茂南区" }, { code: "440904", name: "电白区" }, { code: "440981", name: "高州市" }, { code: "440982", name: "化州市" }, { code: "440983", name: "信宜市" }], [{ code: "441202", name: "端州区" }, { code: "441203", name: "鼎湖区" }, { code: "441204", name: "高要区" }, { code: "441223", name: "广宁县" }, { code: "441224", name: "怀集县" }, { code: "441225", name: "封开县" }, { code: "441226", name: "德庆县" }, { code: "441284", name: "四会市" }], [{ code: "441302", name: "惠城区" }, { code: "441303", name: "惠阳区" }, { code: "441322", name: "博罗县" }, { code: "441323", name: "惠东县" }, { code: "441324", name: "龙门县" }], [{ code: "441402", name: "梅江区" }, { code: "441403", name: "梅县区" }, { code: "441422", name: "大埔县" }, { code: "441423", name: "丰顺县" }, { code: "441424", name: "五华县" }, { code: "441426", name: "平远县" }, { code: "441427", name: "蕉岭县" }, { code: "441481", name: "兴宁市" }], [{ code: "441502", name: "城区" }, { code: "441521", name: "海丰县" }, { code: "441523", name: "陆河县" }, { code: "441581", name: "陆丰市" }], [{ code: "441602", name: "源城区" }, { code: "441621", name: "紫金县" }, { code: "441622", name: "龙川县" }, { code: "441623", name: "连平县" }, { code: "441624", name: "和平县" }, { code: "441625", name: "东源县" }], [{ code: "441702", name: "江城区" }, { code: "441704", name: "阳东区" }, { code: "441721", name: "阳西县" }, { code: "441781", name: "阳春市" }], [{ code: "441802", name: "清城区" }, { code: "441803", name: "清新区" }, { code: "441821", name: "佛冈县" }, { code: "441823", name: "阳山县" }, { code: "441825", name: "连山壮族瑶族自治县" }, { code: "441826", name: "连南瑶族自治县" }, { code: "441881", name: "英德市" }, { code: "441882", name: "连州市" }], [{ code: "441901", name: "东城街道" }, { code: "441902", name: "南城街道" }, { code: "441903", name: "万江街道" }, { code: "441904", name: "莞城街道" }, { code: "441905", name: "石碣镇" }, { code: "441906", name: "石龙镇" }, { code: "441907", name: "茶山镇" }, { code: "441908", name: "石排镇" }, { code: "441909", name: "企石镇" }, { code: "441910", name: "横沥镇" }, { code: "441911", name: "桥头镇" }, { code: "441912", name: "谢岗镇" }, { code: "441913", name: "东坑镇" }, { code: "441914", name: "常平镇" }, { code: "441915", name: "寮步镇" }, { code: "441916", name: "樟木头镇" }, { code: "441917", name: "大朗镇" }, { code: "441918", name: "黄江镇" }, { code: "441919", name: "清溪镇" }, { code: "441920", name: "塘厦镇" }, { code: "441921", name: "凤岗镇" }, { code: "441922", name: "大岭山镇" }, { code: "441923", name: "长安镇" }, { code: "441924", name: "虎门镇" }, { code: "441925", name: "厚街镇" }, { code: "441926", name: "沙田镇" }, { code: "441927", name: "道滘镇" }, { code: "441928", name: "洪梅镇" }, { code: "441929", name: "麻涌镇" }, { code: "441930", name: "望牛墩镇" }, { code: "441931", name: "中堂镇" }, { code: "441932", name: "高埗镇" }, { code: "441933", name: "松山湖管委会" }, { code: "441934", name: "虎门港管委会" }, { code: "441935", name: "东莞生态园" }], [{ code: "442001", name: "石岐区街道" }, { code: "442002", name: "东区街道" }, { code: "442003", name: "火炬开发区" }, { code: "442004", name: "西区街道" }, { code: "442005", name: "南区街道" }, { code: "442006", name: "五桂山街道" }, { code: "442007", name: "小榄镇" }, { code: "442008", name: "黄圃镇" }, { code: "442009", name: "民众镇" }, { code: "442010", name: "东凤镇" }, { code: "442011", name: "东升镇" }, { code: "442012", name: "古镇镇" }, { code: "442013", name: "沙溪镇" }, { code: "442014", name: "坦洲镇" }, { code: "442015", name: "港口镇" }, { code: "442016", name: "三角镇" }, { code: "442017", name: "横栏镇" }, { code: "442018", name: "南头镇" }, { code: "442019", name: "阜沙镇" }, { code: "442020", name: "南朗镇" }, { code: "442021", name: "三乡镇" }, { code: "442022", name: "板芙镇" }, { code: "442023", name: "大涌镇" }, { code: "442024", name: "神湾镇" }], [{ code: "445102", name: "湘桥区" }, { code: "445103", name: "潮安区" }, { code: "445122", name: "饶平县" }], [{ code: "445202", name: "榕城区" }, { code: "445203", name: "揭东区" }, { code: "445222", name: "揭西县" }, { code: "445224", name: "惠来县" }, { code: "445281", name: "普宁市" }], [{ code: "445302", name: "云城区" }, { code: "445303", name: "云安区" }, { code: "445321", name: "新兴县" }, { code: "445322", name: "郁南县" }, { code: "445381", name: "罗定市" }]], [[{ code: "450102", name: "兴宁区" }, { code: "450103", name: "青秀区" }, { code: "450105", name: "江南区" }, { code: "450107", name: "西乡塘区" }, { code: "450108", name: "良庆区" }, { code: "450109", name: "邕宁区" }, { code: "450110", name: "武鸣区" }, { code: "450123", name: "隆安县" }, { code: "450124", name: "马山县" }, { code: "450125", name: "上林县" }, { code: "450126", name: "宾阳县" }, { code: "450181", name: "横州市" }], [{ code: "450202", name: "城中区" }, { code: "450203", name: "鱼峰区" }, { code: "450204", name: "柳南区" }, { code: "450205", name: "柳北区" }, { code: "450206", name: "柳江区" }, { code: "450222", name: "柳城县" }, { code: "450223", name: "鹿寨县" }, { code: "450224", name: "融安县" }, { code: "450225", name: "融水苗族自治县" }, { code: "450226", name: "三江侗族自治县" }], [{ code: "450302", name: "秀峰区" }, { code: "450303", name: "叠彩区" }, { code: "450304", name: "象山区" }, { code: "450305", name: "七星区" }, { code: "450311", name: "雁山区" }, { code: "450312", name: "临桂区" }, { code: "450321", name: "阳朔县" }, { code: "450323", name: "灵川县" }, { code: "450324", name: "全州县" }, { code: "450325", name: "兴安县" }, { code: "450326", name: "永福县" }, { code: "450327", name: "灌阳县" }, { code: "450328", name: "龙胜各族自治县" }, { code: "450329", name: "资源县" }, { code: "450330", name: "平乐县" }, { code: "450331", name: "荔浦县" }, { code: "450332", name: "恭城瑶族自治县" }], [{ code: "450403", name: "万秀区" }, { code: "450405", name: "长洲区" }, { code: "450406", name: "龙圩区" }, { code: "450421", name: "苍梧县" }, { code: "450422", name: "藤县" }, { code: "450423", name: "蒙山县" }, { code: "450481", name: "岑溪市" }], [{ code: "450502", name: "海城区" }, { code: "450503", name: "银海区" }, { code: "450512", name: "铁山港区" }, { code: "450521", name: "合浦县" }], [{ code: "450602", name: "港口区" }, { code: "450603", name: "防城区" }, { code: "450621", name: "上思县" }, { code: "450681", name: "东兴市" }], [{ code: "450702", name: "钦南区" }, { code: "450703", name: "钦北区" }, { code: "450721", name: "灵山县" }, { code: "450722", name: "浦北县" }], [{ code: "450802", name: "港北区" }, { code: "450803", name: "港南区" }, { code: "450804", name: "覃塘区" }, { code: "450821", name: "平南县" }, { code: "450881", name: "桂平市" }], [{ code: "450902", name: "玉州区" }, { code: "450903", name: "福绵区" }, { code: "450921", name: "容县" }, { code: "450922", name: "陆川县" }, { code: "450923", name: "博白县" }, { code: "450924", name: "兴业县" }, { code: "450981", name: "北流市" }], [{ code: "451002", name: "右江区" }, { code: "451021", name: "田阳县" }, { code: "451022", name: "田东县" }, { code: "451023", name: "平果县" }, { code: "451024", name: "德保县" }, { code: "451026", name: "那坡县" }, { code: "451027", name: "凌云县" }, { code: "451028", name: "乐业县" }, { code: "451029", name: "田林县" }, { code: "451030", name: "西林县" }, { code: "451031", name: "隆林各族自治县" }, { code: "451081", name: "靖西市" }], [{ code: "451102", name: "八步区" }, { code: "451103", name: "平桂区" }, { code: "451121", name: "昭平县" }, { code: "451122", name: "钟山县" }, { code: "451123", name: "富川瑶族自治县" }], [{ code: "451202", name: "金城江区" }, { code: "451203", name: "宜州区" }, { code: "451221", name: "南丹县" }, { code: "451222", name: "天峨县" }, { code: "451223", name: "凤山县" }, { code: "451224", name: "东兰县" }, { code: "451225", name: "罗城仫佬族自治县" }, { code: "451226", name: "环江毛南族自治县" }, { code: "451227", name: "巴马瑶族自治县" }, { code: "451228", name: "都安瑶族自治县" }, { code: "451229", name: "大化瑶族自治县" }], [{ code: "451302", name: "兴宾区" }, { code: "451321", name: "忻城县" }, { code: "451322", name: "象州县" }, { code: "451323", name: "武宣县" }, { code: "451324", name: "金秀瑶族自治县" }, { code: "451381", name: "合山市" }], [{ code: "451402", name: "江州区" }, { code: "451421", name: "扶绥县" }, { code: "451422", name: "宁明县" }, { code: "451423", name: "龙州县" }, { code: "451424", name: "大新县" }, { code: "451425", name: "天等县" }, { code: "451481", name: "凭祥市" }]], [[{ code: "460105", name: "秀英区" }, { code: "460106", name: "龙华区" }, { code: "460107", name: "琼山区" }, { code: "460108", name: "美兰区" }], [{ code: "460202", name: "海棠区" }, { code: "460203", name: "吉阳区" }, { code: "460204", name: "天涯区" }, { code: "460205", name: "崖州区" }], [{ code: "460321", name: "西沙群岛" }, { code: "460322", name: "南沙群岛" }, { code: "460323", name: "中沙群岛的岛礁及其海域" }], [{ code: "460401", name: "那大镇" }, { code: "460402", name: "和庆镇" }, { code: "460403", name: "南丰镇" }, { code: "460404", name: "大成镇" }, { code: "460405", name: "雅星镇" }, { code: "460406", name: "兰洋镇" }, { code: "460407", name: "光村镇" }, { code: "460408", name: "木棠镇" }, { code: "460409", name: "海头镇" }, { code: "460410", name: "峨蔓镇" }, { code: "460411", name: "三都镇" }, { code: "460412", name: "王五镇" }, { code: "460413", name: "白马井镇" }, { code: "460414", name: "中和镇" }, { code: "460415", name: "排浦镇" }, { code: "460416", name: "东成镇" }, { code: "460417", name: "新州镇" }, { code: "460418", name: "国营西培农场" }, { code: "460419", name: "国营西联农场" }, { code: "460420", name: "国营蓝洋农场" }, { code: "460421", name: "国营八一农场" }, { code: "460422", name: "洋浦经济开发区" }, { code: "460423", name: "华南热作学院" }, { code: "460424", name: "红岭农场" }], [{ code: "469001", name: "五指山市" }, { code: "469002", name: "琼海市" }, { code: "469005", name: "文昌市" }, { code: "469006", name: "万宁市" }, { code: "469007", name: "东方市" }, { code: "469021", name: "定安县" }, { code: "469022", name: "屯昌县" }, { code: "469023", name: "澄迈县" }, { code: "469024", name: "临高县" }, { code: "469025", name: "白沙黎族自治县" }, { code: "469026", name: "昌江黎族自治县" }, { code: "469027", name: "乐东黎族自治县" }, { code: "469028", name: "陵水黎族自治县" }, { code: "469029", name: "保亭黎族苗族自治县" }, { code: "469030", name: "琼中黎族苗族自治县" }]], [[{ code: "500101", name: "万州区" }, { code: "500102", name: "涪陵区" }, { code: "500103", name: "渝中区" }, { code: "500104", name: "大渡口区" }, { code: "500105", name: "江北区" }, { code: "500106", name: "沙坪坝区" }, { code: "500107", name: "九龙坡区" }, { code: "500108", name: "南岸区" }, { code: "500109", name: "北碚区" }, { code: "500110", name: "綦江区" }, { code: "500111", name: "大足区" }, { code: "500112", name: "渝北区" }, { code: "500113", name: "巴南区" }, { code: "500114", name: "黔江区" }, { code: "500115", name: "长寿区" }, { code: "500116", name: "江津区" }, { code: "500117", name: "合川区" }, { code: "500118", name: "永川区" }, { code: "500119", name: "南川区" }, { code: "500120", name: "璧山区" }, { code: "500151", name: "铜梁区" }, { code: "500152", name: "潼南区" }, { code: "500153", name: "荣昌区" }, { code: "500154", name: "开州区" }, { code: "500155", name: "梁平区" }, { code: "500156", name: "武隆区" }], [{ code: "500229", name: "城口县" }, { code: "500230", name: "丰都县" }, { code: "500231", name: "垫江县" }, { code: "500233", name: "忠县" }, { code: "500235", name: "云阳县" }, { code: "500236", name: "奉节县" }, { code: "500237", name: "巫山县" }, { code: "500238", name: "巫溪县" }, { code: "500240", name: "石柱土家族自治县" }, { code: "500241", name: "秀山土家族苗族自治县" }, { code: "500242", name: "酉阳土家族苗族自治县" }, { code: "500243", name: "彭水苗族土家族自治县" }]], [[{ code: "510104", name: "锦江区" }, { code: "510105", name: "青羊区" }, { code: "510106", name: "金牛区" }, { code: "510107", name: "武侯区" }, { code: "510108", name: "成华区" }, { code: "510112", name: "龙泉驿区" }, { code: "510113", name: "青白江区" }, { code: "510114", name: "新都区" }, { code: "510115", name: "温江区" }, { code: "510116", name: "双流区" }, { code: "510117", name: "郫都区" }, { code: "510121", name: "金堂县" }, { code: "510129", name: "大邑县" }, { code: "510131", name: "蒲江县" }, { code: "510132", name: "新津县" }, { code: "510181", name: "都江堰市" }, { code: "510182", name: "彭州市" }, { code: "510183", name: "邛崃市" }, { code: "510184", name: "崇州市" }, { code: "510185", name: "简阳市" }], [{ code: "510302", name: "自流井区" }, { code: "510303", name: "贡井区" }, { code: "510304", name: "大安区" }, { code: "510311", name: "沿滩区" }, { code: "510321", name: "荣县" }, { code: "510322", name: "富顺县" }], [{ code: "510402", name: "东区" }, { code: "510403", name: "西区" }, { code: "510411", name: "仁和区" }, { code: "510421", name: "米易县" }, { code: "510422", name: "盐边县" }], [{ code: "510502", name: "江阳区" }, { code: "510503", name: "纳溪区" }, { code: "510504", name: "龙马潭区" }, { code: "510521", name: "泸县" }, { code: "510522", name: "合江县" }, { code: "510524", name: "叙永县" }, { code: "510525", name: "古蔺县" }], [{ code: "510603", name: "旌阳区" }, { code: "510604", name: "罗江区" }, { code: "510623", name: "中江县" }, { code: "510681", name: "广汉市" }, { code: "510682", name: "什邡市" }, { code: "510683", name: "绵竹市" }], [{ code: "510703", name: "涪城区" }, { code: "510704", name: "游仙区" }, { code: "510705", name: "安州区" }, { code: "510722", name: "三台县" }, { code: "510723", name: "盐亭县" }, { code: "510725", name: "梓潼县" }, { code: "510726", name: "北川羌族自治县" }, { code: "510727", name: "平武县" }, { code: "510781", name: "江油市" }], [{ code: "510802", name: "利州区" }, { code: "510811", name: "昭化区" }, { code: "510812", name: "朝天区" }, { code: "510821", name: "旺苍县" }, { code: "510822", name: "青川县" }, { code: "510823", name: "剑阁县" }, { code: "510824", name: "苍溪县" }], [{ code: "510903", name: "船山区" }, { code: "510904", name: "安居区" }, { code: "510921", name: "蓬溪县" }, { code: "510922", name: "射洪县" }, { code: "510923", name: "大英县" }], [{ code: "511002", name: "市中区" }, { code: "511011", name: "东兴区" }, { code: "511024", name: "威远县" }, { code: "511025", name: "资中县" }, { code: "511083", name: "隆昌市" }], [{ code: "511102", name: "市中区" }, { code: "511111", name: "沙湾区" }, { code: "511112", name: "五通桥区" }, { code: "511113", name: "金口河区" }, { code: "511123", name: "犍为县" }, { code: "511124", name: "井研县" }, { code: "511126", name: "夹江县" }, { code: "511129", name: "沐川县" }, { code: "511132", name: "峨边彝族自治县" }, { code: "511133", name: "马边彝族自治县" }, { code: "511181", name: "峨眉山市" }], [{ code: "511302", name: "顺庆区" }, { code: "511303", name: "高坪区" }, { code: "511304", name: "嘉陵区" }, { code: "511321", name: "南部县" }, { code: "511322", name: "营山县" }, { code: "511323", name: "蓬安县" }, { code: "511324", name: "仪陇县" }, { code: "511325", name: "西充县" }, { code: "511381", name: "阆中市" }], [{ code: "511402", name: "东坡区" }, { code: "511403", name: "彭山区" }, { code: "511421", name: "仁寿县" }, { code: "511423", name: "洪雅县" }, { code: "511424", name: "丹棱县" }, { code: "511425", name: "青神县" }], [{ code: "511502", name: "翠屏区" }, { code: "511503", name: "南溪区" }, { code: "511521", name: "宜宾县" }, { code: "511523", name: "江安县" }, { code: "511524", name: "长宁县" }, { code: "511525", name: "高县" }, { code: "511526", name: "珙县" }, { code: "511527", name: "筠连县" }, { code: "511528", name: "兴文县" }, { code: "511529", name: "屏山县" }], [{ code: "511602", name: "广安区" }, { code: "511603", name: "前锋区" }, { code: "511621", name: "岳池县" }, { code: "511622", name: "武胜县" }, { code: "511623", name: "邻水县" }, { code: "511681", name: "华蓥市" }], [{ code: "511702", name: "通川区" }, { code: "511703", name: "达川区" }, { code: "511722", name: "宣汉县" }, { code: "511723", name: "开江县" }, { code: "511724", name: "大竹县" }, { code: "511725", name: "渠县" }, { code: "511781", name: "万源市" }], [{ code: "511802", name: "雨城区" }, { code: "511803", name: "名山区" }, { code: "511822", name: "荥经县" }, { code: "511823", name: "汉源县" }, { code: "511824", name: "石棉县" }, { code: "511825", name: "天全县" }, { code: "511826", name: "芦山县" }, { code: "511827", name: "宝兴县" }], [{ code: "511902", name: "巴州区" }, { code: "511903", name: "恩阳区" }, { code: "511921", name: "通江县" }, { code: "511922", name: "南江县" }, { code: "511923", name: "平昌县" }], [{ code: "512002", name: "雁江区" }, { code: "512021", name: "安岳县" }, { code: "512022", name: "乐至县" }], [{ code: "513201", name: "马尔康市" }, { code: "513221", name: "汶川县" }, { code: "513222", name: "理县" }, { code: "513223", name: "茂县" }, { code: "513224", name: "松潘县" }, { code: "513225", name: "九寨沟县" }, { code: "513226", name: "金川县" }, { code: "513227", name: "小金县" }, { code: "513228", name: "黑水县" }, { code: "513230", name: "壤塘县" }, { code: "513231", name: "阿坝县" }, { code: "513232", name: "若尔盖县" }, { code: "513233", name: "红原县" }], [{ code: "513301", name: "康定市" }, { code: "513322", name: "泸定县" }, { code: "513323", name: "丹巴县" }, { code: "513324", name: "九龙县" }, { code: "513325", name: "雅江县" }, { code: "513326", name: "道孚县" }, { code: "513327", name: "炉霍县" }, { code: "513328", name: "甘孜县" }, { code: "513329", name: "新龙县" }, { code: "513330", name: "德格县" }, { code: "513331", name: "白玉县" }, { code: "513332", name: "石渠县" }, { code: "513333", name: "色达县" }, { code: "513334", name: "理塘县" }, { code: "513335", name: "巴塘县" }, { code: "513336", name: "乡城县" }, { code: "513337", name: "稻城县" }, { code: "513338", name: "得荣县" }], [{ code: "513401", name: "西昌市" }, { code: "513402", name: "会理市" }, { code: "513422", name: "木里藏族自治县" }, { code: "513423", name: "盐源县" }, { code: "513424", name: "德昌县" }, { code: "513426", name: "会东县" }, { code: "513427", name: "宁南县" }, { code: "513428", name: "普格县" }, { code: "513429", name: "布拖县" }, { code: "513430", name: "金阳县" }, { code: "513431", name: "昭觉县" }, { code: "513432", name: "喜德县" }, { code: "513433", name: "冕宁县" }, { code: "513434", name: "越西县" }, { code: "513435", name: "甘洛县" }, { code: "513436", name: "美姑县" }, { code: "513437", name: "雷波县" }]], [[{ code: "520102", name: "南明区" }, { code: "520103", name: "云岩区" }, { code: "520111", name: "花溪区" }, { code: "520112", name: "乌当区" }, { code: "520113", name: "白云区" }, { code: "520115", name: "观山湖区" }, { code: "520121", name: "开阳县" }, { code: "520122", name: "息烽县" }, { code: "520123", name: "修文县" }, { code: "520181", name: "清镇市" }], [{ code: "520201", name: "钟山区" }, { code: "520203", name: "六枝特区" }, { code: "520221", name: "水城县" }, { code: "520281", name: "盘州市" }], [{ code: "520302", name: "红花岗区" }, { code: "520303", name: "汇川区" }, { code: "520304", name: "播州区" }, { code: "520322", name: "桐梓县" }, { code: "520323", name: "绥阳县" }, { code: "520324", name: "正安县" }, { code: "520325", name: "道真仡佬族苗族自治县" }, { code: "520326", name: "务川仡佬族苗族自治县" }, { code: "520327", name: "凤冈县" }, { code: "520328", name: "湄潭县" }, { code: "520329", name: "余庆县" }, { code: "520330", name: "习水县" }, { code: "520381", name: "赤水市" }, { code: "520382", name: "仁怀市" }], [{ code: "520402", name: "西秀区" }, { code: "520403", name: "平坝区" }, { code: "520422", name: "普定县" }, { code: "520423", name: "镇宁布依族苗族自治县" }, { code: "520424", name: "关岭布依族苗族自治县" }, { code: "520425", name: "紫云苗族布依族自治县" }], [{ code: "520502", name: "七星关区" }, { code: "520521", name: "大方县" }, { code: "520523", name: "金沙县" }, { code: "520524", name: "织金县" }, { code: "520525", name: "纳雍县" }, { code: "520526", name: "威宁彝族回族苗族自治县" }, { code: "520527", name: "赫章县" }, { code: "520581", name: "黔西市" }], [{ code: "520602", name: "碧江区" }, { code: "520603", name: "万山区" }, { code: "520621", name: "江口县" }, { code: "520622", name: "玉屏侗族自治县" }, { code: "520623", name: "石阡县" }, { code: "520624", name: "思南县" }, { code: "520625", name: "印江土家族苗族自治县" }, { code: "520626", name: "德江县" }, { code: "520627", name: "沿河土家族自治县" }, { code: "520628", name: "松桃苗族自治县" }], [{ code: "522301", name: "兴义市" }, { code: "522322", name: "兴仁县" }, { code: "522323", name: "普安县" }, { code: "522324", name: "晴隆县" }, { code: "522325", name: "贞丰县" }, { code: "522326", name: "望谟县" }, { code: "522327", name: "册亨县" }, { code: "522328", name: "安龙县" }], [{ code: "522601", name: "凯里市" }, { code: "522622", name: "黄平县" }, { code: "522623", name: "施秉县" }, { code: "522624", name: "三穗县" }, { code: "522625", name: "镇远县" }, { code: "522626", name: "岑巩县" }, { code: "522627", name: "天柱县" }, { code: "522628", name: "锦屏县" }, { code: "522629", name: "剑河县" }, { code: "522630", name: "台江县" }, { code: "522631", name: "黎平县" }, { code: "522632", name: "榕江县" }, { code: "522633", name: "从江县" }, { code: "522634", name: "雷山县" }, { code: "522635", name: "麻江县" }, { code: "522636", name: "丹寨县" }], [{ code: "522701", name: "都匀市" }, { code: "522702", name: "福泉市" }, { code: "522722", name: "荔波县" }, { code: "522723", name: "贵定县" }, { code: "522725", name: "瓮安县" }, { code: "522726", name: "独山县" }, { code: "522727", name: "平塘县" }, { code: "522728", name: "罗甸县" }, { code: "522729", name: "长顺县" }, { code: "522730", name: "龙里县" }, { code: "522731", name: "惠水县" }, { code: "522732", name: "三都水族自治县" }]], [[{ code: "530102", name: "五华区" }, { code: "530103", name: "盘龙区" }, { code: "530111", name: "官渡区" }, { code: "530112", name: "西山区" }, { code: "530113", name: "东川区" }, { code: "530114", name: "呈贡区" }, { code: "530115", name: "晋宁区" }, { code: "530124", name: "富民县" }, { code: "530125", name: "宜良县" }, { code: "530126", name: "石林彝族自治县" }, { code: "530127", name: "嵩明县" }, { code: "530128", name: "禄劝彝族苗族自治县" }, { code: "530129", name: "寻甸回族彝族自治县" }, { code: "530181", name: "安宁市" }], [{ code: "530302", name: "麒麟区" }, { code: "530303", name: "沾益区" }, { code: "530321", name: "马龙县" }, { code: "530322", name: "陆良县" }, { code: "530323", name: "师宗县" }, { code: "530324", name: "罗平县" }, { code: "530325", name: "富源县" }, { code: "530326", name: "会泽县" }, { code: "530381", name: "宣威市" }], [{ code: "530402", name: "红塔区" }, { code: "530403", name: "江川区" }, { code: "530422", name: "澄江县" }, { code: "530423", name: "通海县" }, { code: "530424", name: "华宁县" }, { code: "530425", name: "易门县" }, { code: "530426", name: "峨山彝族自治县" }, { code: "530427", name: "新平彝族傣族自治县" }, { code: "530428", name: "元江哈尼族彝族傣族自治县" }], [{ code: "530502", name: "隆阳区" }, { code: "530521", name: "施甸县" }, { code: "530523", name: "龙陵县" }, { code: "530524", name: "昌宁县" }, { code: "530581", name: "腾冲市" }], [{ code: "530602", name: "昭阳区" }, { code: "530621", name: "鲁甸县" }, { code: "530622", name: "巧家县" }, { code: "530623", name: "盐津县" }, { code: "530624", name: "大关县" }, { code: "530625", name: "永善县" }, { code: "530626", name: "绥江县" }, { code: "530627", name: "镇雄县" }, { code: "530628", name: "彝良县" }, { code: "530629", name: "威信县" }, { code: "530630", name: "水富县" }], [{ code: "530702", name: "古城区" }, { code: "530721", name: "玉龙纳西族自治县" }, { code: "530722", name: "永胜县" }, { code: "530723", name: "华坪县" }, { code: "530724", name: "宁蒗彝族自治县" }], [{ code: "530802", name: "思茅区" }, { code: "530821", name: "宁洱哈尼族彝族自治县" }, { code: "530822", name: "墨江哈尼族自治县" }, { code: "530823", name: "景东彝族自治县" }, { code: "530824", name: "景谷傣族彝族自治县" }, { code: "530825", name: "镇沅彝族哈尼族拉祜族自治县" }, { code: "530826", name: "江城哈尼族彝族自治县" }, { code: "530827", name: "孟连傣族拉祜族佤族自治县" }, { code: "530828", name: "澜沧拉祜族自治县" }, { code: "530829", name: "西盟佤族自治县" }], [{ code: "530902", name: "临翔区" }, { code: "530921", name: "凤庆县" }, { code: "530922", name: "云县" }, { code: "530923", name: "永德县" }, { code: "530924", name: "镇康县" }, { code: "530925", name: "双江拉祜族佤族布朗族傣族自治县" }, { code: "530926", name: "耿马傣族佤族自治县" }, { code: "530927", name: "沧源佤族自治县" }], [{ code: "532301", name: "楚雄市" }, { code: "532302", name: "禄丰市" }, { code: "532322", name: "双柏县" }, { code: "532323", name: "牟定县" }, { code: "532324", name: "南华县" }, { code: "532325", name: "姚安县" }, { code: "532326", name: "大姚县" }, { code: "532327", name: "永仁县" }, { code: "532328", name: "元谋县" }, { code: "532329", name: "武定县" }], [{ code: "532501", name: "个旧市" }, { code: "532502", name: "开远市" }, { code: "532503", name: "蒙自市" }, { code: "532504", name: "弥勒市" }, { code: "532523", name: "屏边苗族自治县" }, { code: "532524", name: "建水县" }, { code: "532525", name: "石屏县" }, { code: "532527", name: "泸西县" }, { code: "532528", name: "元阳县" }, { code: "532529", name: "红河县" }, { code: "532530", name: "金平苗族瑶族傣族自治县" }, { code: "532531", name: "绿春县" }, { code: "532532", name: "河口瑶族自治县" }], [{ code: "532601", name: "文山市" }, { code: "532622", name: "砚山县" }, { code: "532623", name: "西畴县" }, { code: "532624", name: "麻栗坡县" }, { code: "532625", name: "马关县" }, { code: "532626", name: "丘北县" }, { code: "532627", name: "广南县" }, { code: "532628", name: "富宁县" }], [{ code: "532801", name: "景洪市" }, { code: "532822", name: "勐海县" }, { code: "532823", name: "勐腊县" }], [{ code: "532901", name: "大理市" }, { code: "532922", name: "漾濞彝族自治县" }, { code: "532923", name: "祥云县" }, { code: "532924", name: "宾川县" }, { code: "532925", name: "弥渡县" }, { code: "532926", name: "南涧彝族自治县" }, { code: "532927", name: "巍山彝族回族自治县" }, { code: "532928", name: "永平县" }, { code: "532929", name: "云龙县" }, { code: "532930", name: "洱源县" }, { code: "532931", name: "剑川县" }, { code: "532932", name: "鹤庆县" }], [{ code: "533102", name: "瑞丽市" }, { code: "533103", name: "芒市" }, { code: "533122", name: "梁河县" }, { code: "533123", name: "盈江县" }, { code: "533124", name: "陇川县" }], [{ code: "533301", name: "泸水市" }, { code: "533323", name: "福贡县" }, { code: "533324", name: "贡山独龙族怒族自治县" }, { code: "533325", name: "兰坪白族普米族自治县" }], [{ code: "533401", name: "香格里拉市" }, { code: "533422", name: "德钦县" }, { code: "533423", name: "维西傈僳族自治县" }]], [[{ code: "540102", name: "城关区" }, { code: "540103", name: "堆龙德庆区" }, { code: "540104", name: "达孜区" }, { code: "540121", name: "林周县" }, { code: "540122", name: "当雄县" }, { code: "540123", name: "尼木县" }, { code: "540124", name: "曲水县" }, { code: "540127", name: "墨竹工卡县" }], [{ code: "540202", name: "桑珠孜区" }, { code: "540221", name: "南木林县" }, { code: "540222", name: "江孜县" }, { code: "540223", name: "定日县" }, { code: "540224", name: "萨迦县" }, { code: "540225", name: "拉孜县" }, { code: "540226", name: "昂仁县" }, { code: "540227", name: "谢通门县" }, { code: "540228", name: "白朗县" }, { code: "540229", name: "仁布县" }, { code: "540230", name: "康马县" }, { code: "540231", name: "定结县" }, { code: "540232", name: "仲巴县" }, { code: "540233", name: "亚东县" }, { code: "540234", name: "吉隆县" }, { code: "540235", name: "聂拉木县" }, { code: "540236", name: "萨嘎县" }, { code: "540237", name: "岗巴县" }], [{ code: "540302", name: "卡若区" }, { code: "540321", name: "江达县" }, { code: "540322", name: "贡觉县" }, { code: "540323", name: "类乌齐县" }, { code: "540324", name: "丁青县" }, { code: "540325", name: "察雅县" }, { code: "540326", name: "八宿县" }, { code: "540327", name: "左贡县" }, { code: "540328", name: "芒康县" }, { code: "540329", name: "洛隆县" }, { code: "540330", name: "边坝县" }], [{ code: "540402", name: "巴宜区" }, { code: "540421", name: "工布江达县" }, { code: "540422", name: "米林县" }, { code: "540423", name: "墨脱县" }, { code: "540424", name: "波密县" }, { code: "540425", name: "察隅县" }, { code: "540426", name: "朗县" }], [{ code: "540502", name: "乃东区" }, { code: "540521", name: "扎囊县" }, { code: "540522", name: "贡嘎县" }, { code: "540523", name: "桑日县" }, { code: "540524", name: "琼结县" }, { code: "540525", name: "曲松县" }, { code: "540526", name: "措美县" }, { code: "540527", name: "洛扎县" }, { code: "540528", name: "加查县" }, { code: "540529", name: "隆子县" }, { code: "540530", name: "错那县" }, { code: "540531", name: "浪卡子县" }], [{ code: "542421", name: "那曲县" }, { code: "542422", name: "嘉黎县" }, { code: "542423", name: "比如县" }, { code: "542424", name: "聂荣县" }, { code: "542425", name: "安多县" }, { code: "542426", name: "申扎县" }, { code: "542427", name: "索县" }, { code: "542428", name: "班戈县" }, { code: "542429", name: "巴青县" }, { code: "542430", name: "尼玛县" }, { code: "542431", name: "双湖县" }], [{ code: "542521", name: "普兰县" }, { code: "542522", name: "札达县" }, { code: "542523", name: "噶尔县" }, { code: "542524", name: "日土县" }, { code: "542525", name: "革吉县" }, { code: "542526", name: "改则县" }, { code: "542527", name: "措勤县" }]], [[{ code: "610102", name: "新城区" }, { code: "610103", name: "碑林区" }, { code: "610104", name: "莲湖区" }, { code: "610111", name: "灞桥区" }, { code: "610112", name: "未央区" }, { code: "610113", name: "雁塔区" }, { code: "610114", name: "阎良区" }, { code: "610115", name: "临潼区" }, { code: "610116", name: "长安区" }, { code: "610117", name: "高陵区" }, { code: "610118", name: "鄠邑区" }, { code: "610122", name: "蓝田县" }, { code: "610124", name: "周至县" }], [{ code: "610202", name: "王益区" }, { code: "610203", name: "印台区" }, { code: "610204", name: "耀州区" }, { code: "610222", name: "宜君县" }], [{ code: "610302", name: "渭滨区" }, { code: "610303", name: "金台区" }, { code: "610304", name: "陈仓区" }, { code: "610305", name: "凤翔区" }, { code: "610323", name: "岐山县" }, { code: "610324", name: "扶风县" }, { code: "610326", name: "眉县" }, { code: "610327", name: "陇县" }, { code: "610328", name: "千阳县" }, { code: "610329", name: "麟游县" }, { code: "610330", name: "凤县" }, { code: "610331", name: "太白县" }], [{ code: "610402", name: "秦都区" }, { code: "610403", name: "杨陵区" }, { code: "610404", name: "渭城区" }, { code: "610422", name: "三原县" }, { code: "610423", name: "泾阳县" }, { code: "610424", name: "乾县" }, { code: "610425", name: "礼泉县" }, { code: "610426", name: "永寿县" }, { code: "610427", name: "彬州市" }, { code: "610428", name: "长武县" }, { code: "610429", name: "旬邑县" }, { code: "610430", name: "淳化县" }, { code: "610431", name: "武功县" }, { code: "610481", name: "兴平市" }], [{ code: "610502", name: "临渭区" }, { code: "610503", name: "华州区" }, { code: "610522", name: "潼关县" }, { code: "610523", name: "大荔县" }, { code: "610524", name: "合阳县" }, { code: "610525", name: "澄城县" }, { code: "610526", name: "蒲城县" }, { code: "610527", name: "白水县" }, { code: "610528", name: "富平县" }, { code: "610581", name: "韩城市" }, { code: "610582", name: "华阴市" }], [{ code: "610602", name: "宝塔区" }, { code: "610603", name: "安塞区" }, { code: "610621", name: "延长县" }, { code: "610622", name: "延川县" }, { code: "610623", name: "子长县" }, { code: "610625", name: "志丹县" }, { code: "610626", name: "吴起县" }, { code: "610627", name: "甘泉县" }, { code: "610628", name: "富县" }, { code: "610629", name: "洛川县" }, { code: "610630", name: "宜川县" }, { code: "610631", name: "黄龙县" }, { code: "610632", name: "黄陵县" }], [{ code: "610702", name: "汉台区" }, { code: "610703", name: "南郑区" }, { code: "610722", name: "城固县" }, { code: "610723", name: "洋县" }, { code: "610724", name: "西乡县" }, { code: "610725", name: "勉县" }, { code: "610726", name: "宁强县" }, { code: "610727", name: "略阳县" }, { code: "610728", name: "镇巴县" }, { code: "610729", name: "留坝县" }, { code: "610730", name: "佛坪县" }], [{ code: "610802", name: "榆阳区" }, { code: "610803", name: "横山区" }, { code: "610822", name: "府谷县" }, { code: "610824", name: "靖边县" }, { code: "610825", name: "定边县" }, { code: "610826", name: "绥德县" }, { code: "610827", name: "米脂县" }, { code: "610828", name: "佳县" }, { code: "610829", name: "吴堡县" }, { code: "610830", name: "清涧县" }, { code: "610831", name: "子洲县" }, { code: "610881", name: "神木市" }], [{ code: "610902", name: "汉滨区" }, { code: "610921", name: "汉阴县" }, { code: "610922", name: "石泉县" }, { code: "610923", name: "宁陕县" }, { code: "610924", name: "紫阳县" }, { code: "610925", name: "岚皋县" }, { code: "610926", name: "平利县" }, { code: "610927", name: "镇坪县" }, { code: "610929", name: "白河县" }, { code: "610981", name: "旬阳市" }], [{ code: "611002", name: "商州区" }, { code: "611021", name: "洛南县" }, { code: "611022", name: "丹凤县" }, { code: "611023", name: "商南县" }, { code: "611024", name: "山阳县" }, { code: "611025", name: "镇安县" }, { code: "611026", name: "柞水县" }]], [[{ code: "620102", name: "城关区" }, { code: "620103", name: "七里河区" }, { code: "620104", name: "西固区" }, { code: "620105", name: "安宁区" }, { code: "620111", name: "红古区" }, { code: "620121", name: "永登县" }, { code: "620122", name: "皋兰县" }, { code: "620123", name: "榆中县" }], [{ code: "620201", name: "雄关区" }, { code: "620202", name: "镜铁区" }, { code: "620203", name: "长城区" }], [{ code: "620302", name: "金川区" }, { code: "620321", name: "永昌县" }], [{ code: "620402", name: "白银区" }, { code: "620403", name: "平川区" }, { code: "620421", name: "靖远县" }, { code: "620422", name: "会宁县" }, { code: "620423", name: "景泰县" }], [{ code: "620502", name: "秦州区" }, { code: "620503", name: "麦积区" }, { code: "620521", name: "清水县" }, { code: "620522", name: "秦安县" }, { code: "620523", name: "甘谷县" }, { code: "620524", name: "武山县" }, { code: "620525", name: "张家川回族自治县" }], [{ code: "620602", name: "凉州区" }, { code: "620621", name: "民勤县" }, { code: "620622", name: "古浪县" }, { code: "620623", name: "天祝藏族自治县" }], [{ code: "620702", name: "甘州区" }, { code: "620721", name: "肃南裕固族自治县" }, { code: "620722", name: "民乐县" }, { code: "620723", name: "临泽县" }, { code: "620724", name: "高台县" }, { code: "620725", name: "山丹县" }], [{ code: "620802", name: "崆峒区" }, { code: "620821", name: "泾川县" }, { code: "620822", name: "灵台县" }, { code: "620823", name: "崇信县" }, { code: "620824", name: "华亭县" }, { code: "620825", name: "庄浪县" }, { code: "620826", name: "静宁县" }], [{ code: "620902", name: "肃州区" }, { code: "620921", name: "金塔县" }, { code: "620922", name: "瓜州县" }, { code: "620923", name: "肃北蒙古族自治县" }, { code: "620924", name: "阿克塞哈萨克族自治县" }, { code: "620981", name: "玉门市" }, { code: "620982", name: "敦煌市" }], [{ code: "621002", name: "西峰区" }, { code: "621021", name: "庆城县" }, { code: "621022", name: "环县" }, { code: "621023", name: "华池县" }, { code: "621024", name: "合水县" }, { code: "621025", name: "正宁县" }, { code: "621026", name: "宁县" }, { code: "621027", name: "镇原县" }], [{ code: "621102", name: "安定区" }, { code: "621121", name: "通渭县" }, { code: "621122", name: "陇西县" }, { code: "621123", name: "渭源县" }, { code: "621124", name: "临洮县" }, { code: "621125", name: "漳县" }, { code: "621126", name: "岷县" }], [{ code: "621202", name: "武都区" }, { code: "621221", name: "成县" }, { code: "621222", name: "文县" }, { code: "621223", name: "宕昌县" }, { code: "621224", name: "康县" }, { code: "621225", name: "西和县" }, { code: "621226", name: "礼县" }, { code: "621227", name: "徽县" }, { code: "621228", name: "两当县" }], [{ code: "622901", name: "临夏市" }, { code: "622921", name: "临夏县" }, { code: "622922", name: "康乐县" }, { code: "622923", name: "永靖县" }, { code: "622924", name: "广河县" }, { code: "622925", name: "和政县" }, { code: "622926", name: "东乡族自治县" }, { code: "622927", name: "积石山保安族东乡族撒拉族自治县" }], [{ code: "623001", name: "合作市" }, { code: "623021", name: "临潭县" }, { code: "623022", name: "卓尼县" }, { code: "623023", name: "舟曲县" }, { code: "623024", name: "迭部县" }, { code: "623025", name: "玛曲县" }, { code: "623026", name: "碌曲县" }, { code: "623027", name: "夏河县" }]], [[{ code: "630102", name: "城东区" }, { code: "630103", name: "城中区" }, { code: "630104", name: "城西区" }, { code: "630105", name: "城北区" }, { code: "630121", name: "大通回族土族自治县" }, { code: "630122", name: "湟中县" }, { code: "630123", name: "湟源县" }], [{ code: "630202", name: "乐都区" }, { code: "630203", name: "平安区" }, { code: "630222", name: "民和回族土族自治县" }, { code: "630223", name: "互助土族自治县" }, { code: "630224", name: "化隆回族自治县" }, { code: "630225", name: "循化撒拉族自治县" }], [{ code: "632221", name: "门源回族自治县" }, { code: "632222", name: "祁连县" }, { code: "632223", name: "海晏县" }, { code: "632224", name: "刚察县" }], [{ code: "632321", name: "同仁县" }, { code: "632322", name: "尖扎县" }, { code: "632323", name: "泽库县" }, { code: "632324", name: "河南蒙古族自治县" }], [{ code: "632521", name: "共和县" }, { code: "632522", name: "同德县" }, { code: "632523", name: "贵德县" }, { code: "632524", name: "兴海县" }, { code: "632525", name: "贵南县" }], [{ code: "632621", name: "玛沁县" }, { code: "632622", name: "班玛县" }, { code: "632623", name: "甘德县" }, { code: "632624", name: "达日县" }, { code: "632625", name: "久治县" }, { code: "632626", name: "玛多县" }], [{ code: "632701", name: "玉树市" }, { code: "632722", name: "杂多县" }, { code: "632723", name: "称多县" }, { code: "632724", name: "治多县" }, { code: "632725", name: "囊谦县" }, { code: "632726", name: "曲麻莱县" }], [{ code: "632801", name: "格尔木市" }, { code: "632802", name: "德令哈市" }, { code: "632821", name: "乌兰县" }, { code: "632822", name: "都兰县" }, { code: "632823", name: "天峻县" }, { code: "632824", name: "冷湖行政委员会" }, { code: "632825", name: "大柴旦行政委员会" }, { code: "632826", name: "茫崖行政委员会" }]], [[{ code: "640104", name: "兴庆区" }, { code: "640105", name: "西夏区" }, { code: "640106", name: "金凤区" }, { code: "640121", name: "永宁县" }, { code: "640122", name: "贺兰县" }, { code: "640181", name: "灵武市" }], [{ code: "640202", name: "大武口区" }, { code: "640205", name: "惠农区" }, { code: "640221", name: "平罗县" }], [{ code: "640302", name: "利通区" }, { code: "640303", name: "红寺堡区" }, { code: "640323", name: "盐池县" }, { code: "640324", name: "同心县" }, { code: "640381", name: "青铜峡市" }], [{ code: "640402", name: "原州区" }, { code: "640422", name: "西吉县" }, { code: "640423", name: "隆德县" }, { code: "640424", name: "泾源县" }, { code: "640425", name: "彭阳县" }], [{ code: "640502", name: "沙坡头区" }, { code: "640521", name: "中宁县" }, { code: "640522", name: "海原县" }]], [[{ code: "650102", name: "天山区" }, { code: "650103", name: "沙依巴克区" }, { code: "650104", name: "新市区" }, { code: "650105", name: "水磨沟区" }, { code: "650106", name: "头屯河区" }, { code: "650107", name: "达坂城区" }, { code: "650109", name: "米东区" }, { code: "650121", name: "乌鲁木齐县" }], [{ code: "650202", name: "独山子区" }, { code: "650203", name: "克拉玛依区" }, { code: "650204", name: "白碱滩区" }, { code: "650205", name: "乌尔禾区" }], [{ code: "650402", name: "高昌区" }, { code: "650421", name: "鄯善县" }, { code: "650422", name: "托克逊县" }], [{ code: "650502", name: "伊州区" }, { code: "650521", name: "巴里坤哈萨克自治县" }, { code: "650522", name: "伊吾县" }], [{ code: "652301", name: "昌吉市" }, { code: "652302", name: "阜康市" }, { code: "652323", name: "呼图壁县" }, { code: "652324", name: "玛纳斯县" }, { code: "652325", name: "奇台县" }, { code: "652327", name: "吉木萨尔县" }, { code: "652328", name: "木垒哈萨克自治县" }], [{ code: "652701", name: "博乐市" }, { code: "652702", name: "阿拉山口市" }, { code: "652722", name: "精河县" }, { code: "652723", name: "温泉县" }], [{ code: "652801", name: "库尔勒市" }, { code: "652822", name: "轮台县" }, { code: "652823", name: "尉犁县" }, { code: "652824", name: "若羌县" }, { code: "652825", name: "且末县" }, { code: "652826", name: "焉耆回族自治县" }, { code: "652827", name: "和静县" }, { code: "652828", name: "和硕县" }, { code: "652829", name: "博湖县" }], [{ code: "652901", name: "阿克苏市" }, { code: "652922", name: "温宿县" }, { code: "652923", name: "库车县" }, { code: "652924", name: "沙雅县" }, { code: "652925", name: "新和县" }, { code: "652926", name: "拜城县" }, { code: "652927", name: "乌什县" }, { code: "652928", name: "阿瓦提县" }, { code: "652929", name: "柯坪县" }], [{ code: "653001", name: "阿图什市" }, { code: "653022", name: "阿克陶县" }, { code: "653023", name: "阿合奇县" }, { code: "653024", name: "乌恰县" }], [{ code: "653101", name: "喀什市" }, { code: "653121", name: "疏附县" }, { code: "653122", name: "疏勒县" }, { code: "653123", name: "英吉沙县" }, { code: "653124", name: "泽普县" }, { code: "653125", name: "莎车县" }, { code: "653126", name: "叶城县" }, { code: "653127", name: "麦盖提县" }, { code: "653128", name: "岳普湖县" }, { code: "653129", name: "伽师县" }, { code: "653130", name: "巴楚县" }, { code: "653131", name: "塔什库尔干塔吉克自治县" }], [{ code: "653201", name: "和田市" }, { code: "653221", name: "和田县" }, { code: "653222", name: "墨玉县" }, { code: "653223", name: "皮山县" }, { code: "653224", name: "洛浦县" }, { code: "653225", name: "策勒县" }, { code: "653226", name: "于田县" }, { code: "653227", name: "民丰县" }], [{ code: "654002", name: "伊宁市" }, { code: "654003", name: "奎屯市" }, { code: "654004", name: "霍尔果斯市" }, { code: "654021", name: "伊宁县" }, { code: "654022", name: "察布查尔锡伯自治县" }, { code: "654023", name: "霍城县" }, { code: "654024", name: "巩留县" }, { code: "654025", name: "新源县" }, { code: "654026", name: "昭苏县" }, { code: "654027", name: "特克斯县" }, { code: "654028", name: "尼勒克县" }], [{ code: "654201", name: "塔城市" }, { code: "654202", name: "乌苏市" }, { code: "654203", name: "沙湾市" }, { code: "654221", name: "额敏县" }, { code: "654224", name: "托里县" }, { code: "654225", name: "裕民县" }, { code: "654226", name: "和布克赛尔蒙古自治县" }], [{ code: "654301", name: "阿勒泰市" }, { code: "654321", name: "布尔津县" }, { code: "654322", name: "富蕴县" }, { code: "654323", name: "福海县" }, { code: "654324", name: "哈巴河县" }, { code: "654325", name: "青河县" }, { code: "654326", name: "吉木乃县" }], [{ code: "659001", name: "石河子市" }, { code: "659002", name: "阿拉尔市" }, { code: "659003", name: "图木舒克市" }, { code: "659004", name: "五家渠市" }, { code: "659005", name: "北屯市" }, { code: "659006", name: "铁门关市" }, { code: "659007", name: "双河市" }, { code: "659008", name: "可克达拉市" }, { code: "659009", name: "昆玉市" }]], [[{ code: "710101", name: "中正区" }, { code: "710102", name: "大同区" }, { code: "710103", name: "中山区" }, { code: "710104", name: "松山区" }, { code: "710105", name: "大安区" }, { code: "710106", name: "万华区" }, { code: "710107", name: "信义区" }, { code: "710108", name: "士林区" }, { code: "710109", name: "北投区" }, { code: "710110", name: "内湖区" }, { code: "710111", name: "南港区" }, { code: "710112", name: "文山区" }], [{ code: "710201", name: "新兴区" }, { code: "710202", name: "前金区" }, { code: "710203", name: "苓雅区" }, { code: "710204", name: "盐埕区" }, { code: "710205", name: "鼓山区" }, { code: "710206", name: "旗津区" }, { code: "710207", name: "前镇区" }, { code: "710208", name: "三民区" }, { code: "710209", name: "左营区" }, { code: "710210", name: "楠梓区" }, { code: "710211", name: "小港区" }, { code: "710242", name: "仁武区" }, { code: "710243", name: "大社区" }, { code: "710244", name: "冈山区" }, { code: "710245", name: "路竹区" }, { code: "710246", name: "阿莲区" }, { code: "710247", name: "田寮区" }, { code: "710248", name: "燕巢区" }, { code: "710249", name: "桥头区" }, { code: "710250", name: "梓官区" }, { code: "710251", name: "弥陀区" }, { code: "710252", name: "永安区" }, { code: "710253", name: "湖内区" }, { code: "710254", name: "凤山区" }, { code: "710255", name: "大寮区" }, { code: "710256", name: "林园区" }, { code: "710257", name: "鸟松区" }, { code: "710258", name: "大树区" }, { code: "710259", name: "旗山区" }, { code: "710260", name: "美浓区" }, { code: "710261", name: "六龟区" }, { code: "710262", name: "内门区" }, { code: "710263", name: "杉林区" }, { code: "710264", name: "甲仙区" }, { code: "710265", name: "桃源区" }, { code: "710266", name: "那玛夏区" }, { code: "710267", name: "茂林区" }, { code: "710268", name: "茄萣区" }], [{ code: "710301", name: "中西区" }, { code: "710302", name: "东区" }, { code: "710303", name: "南区" }, { code: "710304", name: "北区" }, { code: "710305", name: "安平区" }, { code: "710306", name: "安南区" }, { code: "710339", name: "永康区" }, { code: "710340", name: "归仁区" }, { code: "710341", name: "新化区" }, { code: "710342", name: "左镇区" }, { code: "710343", name: "玉井区" }, { code: "710344", name: "楠西区" }, { code: "710345", name: "南化区" }, { code: "710346", name: "仁德区" }, { code: "710347", name: "关庙区" }, { code: "710348", name: "龙崎区" }, { code: "710349", name: "官田区" }, { code: "710350", name: "麻豆区" }, { code: "710351", name: "佳里区" }, { code: "710352", name: "西港区" }, { code: "710353", name: "七股区" }, { code: "710354", name: "将军区" }, { code: "710355", name: "学甲区" }, { code: "710356", name: "北门区" }, { code: "710357", name: "新营区" }, { code: "710358", name: "后壁区" }, { code: "710359", name: "白河区" }, { code: "710360", name: "东山区" }, { code: "710361", name: "六甲区" }, { code: "710362", name: "下营区" }, { code: "710363", name: "柳营区" }, { code: "710364", name: "盐水区" }, { code: "710365", name: "善化区" }, { code: "710366", name: "大内区" }, { code: "710367", name: "山上区" }, { code: "710368", name: "新市区" }, { code: "710369", name: "安定区" }], [{ code: "710401", name: "中区" }, { code: "710402", name: "东区" }, { code: "710403", name: "南区" }, { code: "710404", name: "西区" }, { code: "710405", name: "北区" }, { code: "710406", name: "北屯区" }, { code: "710407", name: "西屯区" }, { code: "710408", name: "南屯区" }, { code: "710431", name: "太平区" }, { code: "710432", name: "大里区" }, { code: "710433", name: "雾峰区" }, { code: "710434", name: "乌日区" }, { code: "710435", name: "丰原区" }, { code: "710436", name: "后里区" }, { code: "710437", name: "石冈区" }, { code: "710438", name: "东势区" }, { code: "710439", name: "和平区" }, { code: "710440", name: "新社区" }, { code: "710441", name: "潭子区" }, { code: "710442", name: "大雅区" }, { code: "710443", name: "神冈区" }, { code: "710444", name: "大肚区" }, { code: "710445", name: "沙鹿区" }, { code: "710446", name: "龙井区" }, { code: "710447", name: "梧栖区" }, { code: "710448", name: "清水区" }, { code: "710449", name: "大甲区" }, { code: "710450", name: "外埔区" }, { code: "710451", name: "大安区" }], [{ code: "710614", name: "南投市" }, { code: "710615", name: "中寮乡" }, { code: "710616", name: "草屯镇" }, { code: "710617", name: "国姓乡" }, { code: "710618", name: "埔里镇" }, { code: "710619", name: "仁爱乡" }, { code: "710620", name: "名间乡" }, { code: "710621", name: "集集镇" }, { code: "710622", name: "水里乡" }, { code: "710623", name: "鱼池乡" }, { code: "710624", name: "信义乡" }, { code: "710625", name: "竹山镇" }, { code: "710626", name: "鹿谷乡" }], [{ code: "710701", name: "仁爱区" }, { code: "710702", name: "信义区" }, { code: "710703", name: "中正区" }, { code: "710704", name: "中山区" }, { code: "710705", name: "安乐区" }, { code: "710706", name: "暖暖区" }, { code: "710707", name: "七堵区" }], [{ code: "710801", name: "东区" }, { code: "710802", name: "北区" }, { code: "710803", name: "香山区" }], [{ code: "710901", name: "东区" }, { code: "710902", name: "西区" }], [{ code: "711130", name: "万里区" }, { code: "711131", name: "金山区" }, { code: "711132", name: "板桥区" }, { code: "711133", name: "汐止区" }, { code: "711134", name: "深坑区" }, { code: "711135", name: "石碇区" }, { code: "711136", name: "瑞芳区" }, { code: "711137", name: "平溪区" }, { code: "711138", name: "双溪区" }, { code: "711139", name: "贡寮区" }, { code: "711140", name: "新店区" }, { code: "711141", name: "坪林区" }, { code: "711142", name: "乌来区" }, { code: "711143", name: "永和区" }, { code: "711144", name: "中和区" }, { code: "711145", name: "土城区" }, { code: "711146", name: "三峡区" }, { code: "711147", name: "树林区" }, { code: "711148", name: "莺歌区" }, { code: "711149", name: "三重区" }, { code: "711150", name: "新庄区" }, { code: "711151", name: "泰山区" }, { code: "711152", name: "林口区" }, { code: "711153", name: "芦洲区" }, { code: "711154", name: "五股区" }, { code: "711155", name: "八里区" }, { code: "711156", name: "淡水区" }, { code: "711157", name: "三芝区" }, { code: "711158", name: "石门区" }], [{ code: "711214", name: "宜兰市" }, { code: "711215", name: "头城镇" }, { code: "711216", name: "礁溪乡" }, { code: "711217", name: "壮围乡" }, { code: "711218", name: "员山乡" }, { code: "711219", name: "罗东镇" }, { code: "711220", name: "三星乡" }, { code: "711221", name: "大同乡" }, { code: "711222", name: "五结乡" }, { code: "711223", name: "冬山乡" }, { code: "711224", name: "苏澳镇" }, { code: "711225", name: "南澳乡" }], [{ code: "711314", name: "竹北市" }, { code: "711315", name: "湖口乡" }, { code: "711316", name: "新丰乡" }, { code: "711317", name: "新埔镇" }, { code: "711318", name: "关西镇" }, { code: "711319", name: "芎林乡" }, { code: "711320", name: "宝山乡" }, { code: "711321", name: "竹东镇" }, { code: "711322", name: "五峰乡" }, { code: "711323", name: "横山乡" }, { code: "711324", name: "尖石乡" }, { code: "711325", name: "北埔乡" }, { code: "711326", name: "峨眉乡" }], [{ code: "711414", name: "中坜区" }, { code: "711415", name: "平镇区" }, { code: "711416", name: "龙潭区" }, { code: "711417", name: "杨梅区" }, { code: "711418", name: "新屋区" }, { code: "711419", name: "观音区" }, { code: "711420", name: "桃园区" }, { code: "711421", name: "龟山区" }, { code: "711422", name: "八德区" }, { code: "711423", name: "大溪区" }, { code: "711424", name: "复兴区" }, { code: "711425", name: "大园区" }, { code: "711426", name: "芦竹区" }], [{ code: "711519", name: "竹南镇" }, { code: "711520", name: "头份市" }, { code: "711521", name: "三湾乡" }, { code: "711522", name: "南庄乡" }, { code: "711523", name: "狮潭乡" }, { code: "711524", name: "后龙镇" }, { code: "711525", name: "通霄镇" }, { code: "711526", name: "苑里镇" }, { code: "711527", name: "苗栗市" }, { code: "711528", name: "造桥乡" }, { code: "711529", name: "头屋乡" }, { code: "711530", name: "公馆乡" }, { code: "711531", name: "大湖乡" }, { code: "711532", name: "泰安乡" }, { code: "711533", name: "铜锣乡" }, { code: "711534", name: "三义乡" }, { code: "711535", name: "西湖乡" }, { code: "711536", name: "卓兰镇" }], [{ code: "711727", name: "彰化市" }, { code: "711728", name: "芬园乡" }, { code: "711729", name: "花坛乡" }, { code: "711730", name: "秀水乡" }, { code: "711731", name: "鹿港镇" }, { code: "711732", name: "福兴乡" }, { code: "711733", name: "线西乡" }, { code: "711734", name: "和美镇" }, { code: "711735", name: "伸港乡" }, { code: "711736", name: "员林市" }, { code: "711737", name: "社头乡" }, { code: "711738", name: "永靖乡" }, { code: "711739", name: "埔心乡" }, { code: "711740", name: "溪湖镇" }, { code: "711741", name: "大村乡" }, { code: "711742", name: "埔盐乡" }, { code: "711743", name: "田中镇" }, { code: "711744", name: "北斗镇" }, { code: "711745", name: "田尾乡" }, { code: "711746", name: "埤头乡" }, { code: "711747", name: "溪州乡" }, { code: "711748", name: "竹塘乡" }, { code: "711749", name: "二林镇" }, { code: "711750", name: "大城乡" }, { code: "711751", name: "芳苑乡" }, { code: "711752", name: "二水乡" }], [{ code: "711919", name: "番路乡" }, { code: "711920", name: "梅山乡" }, { code: "711921", name: "竹崎乡" }, { code: "711922", name: "阿里山乡" }, { code: "711923", name: "中埔乡" }, { code: "711924", name: "大埔乡" }, { code: "711925", name: "水上乡" }, { code: "711926", name: "鹿草乡" }, { code: "711927", name: "太保市" }, { code: "711928", name: "朴子市" }, { code: "711929", name: "东石乡" }, { code: "711930", name: "六脚乡" }, { code: "711931", name: "新港乡" }, { code: "711932", name: "民雄乡" }, { code: "711933", name: "大林镇" }, { code: "711934", name: "溪口乡" }, { code: "711935", name: "义竹乡" }, { code: "711936", name: "布袋镇" }], [{ code: "712121", name: "斗南镇" }, { code: "712122", name: "大埤乡" }, { code: "712123", name: "虎尾镇" }, { code: "712124", name: "土库镇" }, { code: "712125", name: "褒忠乡" }, { code: "712126", name: "东势乡" }, { code: "712127", name: "台西乡" }, { code: "712128", name: "仑背乡" }, { code: "712129", name: "麦寮乡" }, { code: "712130", name: "斗六市" }, { code: "712131", name: "林内乡" }, { code: "712132", name: "古坑乡" }, { code: "712133", name: "莿桐乡" }, { code: "712134", name: "西螺镇" }, { code: "712135", name: "二仑乡" }, { code: "712136", name: "北港镇" }, { code: "712137", name: "水林乡" }, { code: "712138", name: "口湖乡" }, { code: "712139", name: "四湖乡" }, { code: "712140", name: "元长乡" }], [{ code: "712434", name: "屏东市" }, { code: "712435", name: "三地门乡" }, { code: "712436", name: "雾台乡" }, { code: "712437", name: "玛家乡" }, { code: "712438", name: "九如乡" }, { code: "712439", name: "里港乡" }, { code: "712440", name: "高树乡" }, { code: "712441", name: "盐埔乡" }, { code: "712442", name: "长治乡" }, { code: "712443", name: "麟洛乡" }, { code: "712444", name: "竹田乡" }, { code: "712445", name: "内埔乡" }, { code: "712446", name: "万丹乡" }, { code: "712447", name: "潮州镇" }, { code: "712448", name: "泰武乡" }, { code: "712449", name: "来义乡" }, { code: "712450", name: "万峦乡" }, { code: "712451", name: "崁顶乡" }, { code: "712452", name: "新埤乡" }, { code: "712453", name: "南州乡" }, { code: "712454", name: "林边乡" }, { code: "712455", name: "东港镇" }, { code: "712456", name: "琉球乡" }, { code: "712457", name: "佳冬乡" }, { code: "712458", name: "新园乡" }, { code: "712459", name: "枋寮乡" }, { code: "712460", name: "枋山乡" }, { code: "712461", name: "春日乡" }, { code: "712462", name: "狮子乡" }, { code: "712463", name: "车城乡" }, { code: "712464", name: "牡丹乡" }, { code: "712465", name: "恒春镇" }, { code: "712466", name: "满州乡" }], [{ code: "712517", name: "台东市" }, { code: "712518", name: "绿岛乡" }, { code: "712519", name: "兰屿乡" }, { code: "712520", name: "延平乡" }, { code: "712521", name: "卑南乡" }, { code: "712522", name: "鹿野乡" }, { code: "712523", name: "关山镇" }, { code: "712524", name: "海端乡" }, { code: "712525", name: "池上乡" }, { code: "712526", name: "东河乡" }, { code: "712527", name: "成功镇" }, { code: "712528", name: "长滨乡" }, { code: "712529", name: "金峰乡" }, { code: "712530", name: "大武乡" }, { code: "712531", name: "达仁乡" }, { code: "712532", name: "太麻里乡" }], [{ code: "712615", name: "花莲市" }, { code: "712616", name: "新城乡" }, { code: "712618", name: "秀林乡" }, { code: "712619", name: "吉安乡" }, { code: "712620", name: "寿丰乡" }, { code: "712621", name: "凤林镇" }, { code: "712622", name: "光复乡" }, { code: "712623", name: "丰滨乡" }, { code: "712624", name: "瑞穗乡" }, { code: "712625", name: "万荣乡" }, { code: "712626", name: "玉里镇" }, { code: "712627", name: "卓溪乡" }, { code: "712628", name: "富里乡" }], [{ code: "712707", name: "马公市" }, { code: "712708", name: "西屿乡" }, { code: "712709", name: "望安乡" }, { code: "712710", name: "七美乡" }, { code: "712711", name: "白沙乡" }, { code: "712712", name: "湖西乡" }]], [[{ code: "810101", name: "中西区" }, { code: "810102", name: "东区" }, { code: "810103", name: "九龙城区" }, { code: "810104", name: "观塘区" }, { code: "810105", name: "南区" }, { code: "810106", name: "深水埗区" }, { code: "810107", name: "湾仔区" }, { code: "810108", name: "黄大仙区" }, { code: "810109", name: "油尖旺区" }, { code: "810110", name: "离岛区" }, { code: "810111", name: "葵青区" }, { code: "810112", name: "北区" }, { code: "810113", name: "西贡区" }, { code: "810114", name: "沙田区" }, { code: "810115", name: "屯门区" }, { code: "810116", name: "大埔区" }, { code: "810117", name: "荃湾区" }, { code: "810118", name: "元朗区" }]], [[{ code: "820101", name: "澳门半岛" }, { code: "820102", name: "凼仔" }, { code: "820103", name: "路凼城" }, { code: "820104", name: "路环" }]]], DA = { name: "u-picker", emits: ["update:modelValue", "input", "confirm", "cancel"], props: { value: { type: Boolean, default: !1 }, modelValue: { type: Boolean, default: !1 }, params: { type: Object, default: () => ({ year: !0, month: !0, day: !0, hour: !1, minute: !1, second: !1, province: !0, city: !0, area: !0, timestamp: !0 }) }, range: { type: Array, default: () => [] }, defaultSelector: { type: Array, default: () => [0] }, rangeKey: { type: String, default: "" }, mode: { type: String, default: "time" }, startYear: { type: [String, Number], default: 1950 }, endYear: { type: [String, Number], default: 2050 }, cancelColor: { type: String, default: "#606266" }, confirmColor: { type: String, default: "#2979ff" }, defaultTime: { type: String, default: "" }, defaultRegion: { type: Array, default: () => [] }, showTimeTag: { type: Boolean, default: !0 }, areaCode: { type: Array, default: () => [] }, safeAreaInsetBottom: { type: Boolean, default: !1 }, maskCloseAble: { type: Boolean, default: !0 }, zIndex: { type: [String, Number], default: 0 }, title: { type: String, default: "" }, cancelText: { type: String, default: "取消" }, confirmText: { type: String, default: "确认" }, blur: { type: [String, Number], default: 0 } }, data: () => ({ popupValue: !1, years: [], months: [], days: [], hours: [], minutes: [], seconds: [], year: 0, month: 0, day: 0, hour: 0, minute: 0, second: 0, reset: !1, startDate: "", endDate: "", valueArr: [], provinces: OA, citys: BA[0], areas: NA[0][0], province: 0, city: 0, area: 0, moving: !1 }), mounted() { this.init() }, computed: { valueCom() { return this.modelValue }, propsChange() { return `${this.mode}-${this.defaultTime}-${this.startYear}-${this.endYear}-${this.defaultRegion}-${this.areaCode}` }, regionChange() { return `${this.province}-${this.city}` }, yearAndMonth() { return `${this.year}-${this.month}` }, uZIndex() { return this.zIndex ? this.zIndex : this.$u.zIndex.popup } }, watch: { propsChange() { this.reset = !0, setTimeout(() => this.init(), 10) }, regionChange(e) { this.citys = BA[this.province], this.areas = NA[this.province][this.city] }, yearAndMonth(e) { this.params.year && this.setDays() }, valueCom(e) { e && (this.reset = !0, setTimeout(() => this.init(), 10)), this.popupValue = e } }, methods: { pickstart() { }, pickend() { }, getItemValue(e, t) { if (this.mode == t) return "object" == typeof e ? e[this.rangeKey] : e }, formatNumber: e => +e < 10 ? "0" + e : String(e), generateArray: function (e, t) { return e = Number(e), t = (t = Number(t)) > e ? t : e, [...Array(t + 1).keys()].slice(e) }, getIndex: function (e, t) { let n = e.indexOf(t); return ~n ? n : 0 }, initTimeValue() { let e = this.defaultTime.replace(/\-/g, "/"); e = e && -1 == e.indexOf("/") ? `2020/01/01 ${e}` : e; let t = null; t = e ? new Date(e) : new Date, this.year = t.getFullYear(), this.month = Number(t.getMonth()) + 1, this.day = t.getDate(), this.hour = t.getHours(), this.minute = t.getMinutes(), this.second = t.getSeconds() }, init() { this.valueArr = [], this.reset = !1, "time" == this.mode ? (this.initTimeValue(), this.params.year && (this.valueArr.push(0), this.setYears()), this.params.month && (this.valueArr.push(0), this.setMonths()), this.params.day && (this.valueArr.push(0), this.setDays()), this.params.hour && (this.valueArr.push(0), this.setHours()), this.params.minute && (this.valueArr.push(0), this.setMinutes()), this.params.second && (this.valueArr.push(0), this.setSeconds())) : "region" == this.mode ? (this.params.province && (this.valueArr.push(0), this.setProvinces()), this.params.city && (this.valueArr.push(0), this.setCitys()), this.params.area && (this.valueArr.push(0), this.setAreas())) : "selector" == this.mode ? this.valueArr = this.defaultSelector : "multiSelector" == this.mode && (this.valueArr = this.defaultSelector, this.multiSelectorValue = this.defaultSelector), this.$forceUpdate() }, setYears() { this.years = this.generateArray(this.startYear, this.endYear), this.valueArr.splice(this.valueArr.length - 1, 1, this.getIndex(this.years, this.year)) }, setMonths() { this.months = this.generateArray(1, 12), this.valueArr.splice(this.valueArr.length - 1, 1, this.getIndex(this.months, this.month)) }, setDays() { let e = new Date(this.year, this.month, 0).getDate(); this.days = this.generateArray(1, e); let t = 0; t = this.params.year && this.params.month ? 2 : this.params.month || this.params.year ? 1 : 0, this.day > this.days.length && (this.day = this.days.length), this.valueArr.splice(t, 1, this.getIndex(this.days, this.day)) }, setHours() { this.hours = this.generateArray(0, 23), this.valueArr.splice(this.valueArr.length - 1, 1, this.getIndex(this.hours, this.hour)) }, setMinutes() { this.minutes = this.generateArray(0, 59), this.valueArr.splice(this.valueArr.length - 1, 1, this.getIndex(this.minutes, this.minute)) }, setSeconds() { this.seconds = this.generateArray(0, 59), this.valueArr.splice(this.valueArr.length - 1, 1, this.getIndex(this.seconds, this.second)) }, setProvinces() { if (!this.params.province) return; let e = "", t = !1; this.areaCode.length ? (e = this.areaCode[0], t = !0) : e = this.defaultRegion.length ? this.defaultRegion[0] : 0, OA.map((n, o) => { (t ? n.code == e : n.name == e) && (e = o) }), this.province = e, this.provinces = OA, this.valueArr.splice(0, 1, this.province) }, setCitys() { if (!this.params.city) return; let e = "", t = !1; this.areaCode.length ? (e = this.areaCode[1], t = !0) : e = this.defaultRegion.length ? this.defaultRegion[1] : 0, BA[this.province].map((n, o) => { (t ? n.code == e : n.name == e) && (e = o) }), this.city = e, this.citys = BA[this.province], this.valueArr.splice(1, 1, this.city) }, setAreas() { if (!this.params.area) return; let e = "", t = !1; this.areaCode.length ? (e = this.areaCode[2], t = !0) : e = this.defaultRegion.length ? this.defaultRegion[2] : 0, NA[this.province][this.city].map((n, o) => { (t ? n.code == e : n.name == e) && (e = o) }), this.area = e, this.areas = NA[this.province][this.city], this.valueArr.splice(2, 1, this.area) }, close() { this.$emit("input", !1), this.$emit("update:modelValue", !1) }, change(e) { this.valueArr = e.detail.value; let t = 0; if ("time" == this.mode) this.params.year && (this.year = this.years[this.valueArr[t++]]), this.params.month && (this.month = this.months[this.valueArr[t++]]), this.params.day && (this.day = this.days[this.valueArr[t++]]), this.params.hour && (this.hour = this.hours[this.valueArr[t++]]), this.params.minute && (this.minute = this.minutes[this.valueArr[t++]]), this.params.second && (this.second = this.seconds[this.valueArr[t++]]); else if ("region" == this.mode) this.params.province && (this.province = this.valueArr[t++]), this.params.city && (this.city = this.valueArr[t++]), this.params.area && (this.area = this.valueArr[t++]); else if ("multiSelector" == this.mode) { let t = null; this.defaultSelector.map((n, o) => { n != e.detail.value[o] && (t = o) }), null != t && this.$emit("columnchange", { column: t, index: e.detail.value[t] }) } }, getResult(e = null) { let t = {}; "time" == this.mode ? (this.params.year && (t.year = this.formatNumber(this.year || 0)), this.params.month && (t.month = this.formatNumber(this.month || 0)), this.params.day && (t.day = this.formatNumber(this.day || 0)), this.params.hour && (t.hour = this.formatNumber(this.hour || 0)), this.params.minute && (t.minute = this.formatNumber(this.minute || 0)), this.params.second && (t.second = this.formatNumber(this.second || 0)), this.params.timestamp && (t.timestamp = this.getTimestamp())) : "region" == this.mode ? (this.params.province && (t.province = OA[this.province]), this.params.city && (t.city = BA[this.province][this.city]), this.params.area && (t.area = NA[this.province][this.city][this.area])) : ("selector" == this.mode || "multiSelector" == this.mode) && (t = this.valueArr), e && this.$emit(e, t), this.close() }, getTimestamp() { let e = this.year + "/" + this.month + "/" + this.day + " " + this.hour + ":" + this.minute + ":" + this.second; return new Date(e).getTime() / 1e3 }, getDateSource: () => ({ provinces: OA, citys: BA, areas: NA }), regionDiscern(e) { let t = "", n = {}, o = {}, a = {}; if (!e) return { code: -1, msg: "地址文本不能为空" }; e.trim(); let r = e.substring(0, 2), i = -1; for (let u = 0; u < OA.length; u++) { let { code: e, name: t } = OA[u]; if (0 == t.indexOf(r)) { n = { code: e, name: t }, i = u; break } } if (-1 == i) return { code: -1, msg: `省份【${r}】没有找到,请输入正确的地址` }; let s = BA[i], l = -1; for (let u = 0; u < s.length; u++) { let { name: t, code: n } = s[u], a = t.substr(0, t.length - 1); if (e.indexOf(a) > -1) { o = { code: n, name: t }, l = u; break } } if (-1 == l) return { code: -1, msg: "地级市没有找到,请输入正确的地址" }; let c = NA[i][l], d = -1; for (let u = 0; u < c.length; u++) { let { code: n, name: o } = c[u], r = o; o.length > 2 && (r += `|${o.substr(0, o.length - 1)}`); let i = new RegExp(r); if (e.search(i) > -1) { a = { code: n, name: o }, t = e.replace(new RegExp(r), "{{~}}").split("{{~}}")[1], d = u; break } } return -1 == d ? { code: -1, msg: "县级市没有找到,请输入正确的地址" } : { code: 0, msg: "ok", data: { province: n, city: o, area: a, address: t, formatted_address: `${n.name}${o.name}${a.name}${t}` } } }, addressDiscern(e) { let t = "", n = ""; if (!e) return { code: -1, msg: "地址文本不能为空" }; let o, a, r = e.split(/[^\u4e00-\u9fa5a-zA-Z0-9+-()()]+/g).filter(e => e.length); if (3 != r.length) return { code: -1, msg: "地址格式不正确,请按姓名 手机号 收货地址格式。" }; for (let [s, l] of r.entries()) /^1[3,4,5,6,7,8,9][0-9]{9}$/.test(l) ? n = l : o ? o.length > l.length ? (a = o, t = l) : (a = l, t = o) : o = l; let i = this.regionDiscern(a); return 0 !== i.code ? i : { code: 0, msg: "ok", data: { name: t, mobile: n, position: i.data } } } } }; const VA = MM(DA, [["render", function (e, t, n, o, a, r) { const i = ny, s = Eg, l = Sg, c = Jg, d = Bo("u-popup"); return Br(), jr(d, { maskCloseAble: n.maskCloseAble, mode: "bottom", popup: !1, modelValue: a.popupValue, "onUpdate:modelValue": t[4] || (t[4] = e => a.popupValue = e), length: "auto", safeAreaInsetBottom: n.safeAreaInsetBottom, onClose: r.close, "z-index": r.uZIndex, blur: n.blur }, { default: Io(() => [Yr(i, { class: "u-datetime-picker" }, { default: Io(() => [Yr(i, { class: "u-picker-header", onTouchmove: t[3] || (t[3] = ms(() => { }, ["stop", "prevent"])) }, { default: Io(() => [Yr(i, { class: "u-btn-picker u-btn-picker--tips", style: Ue({ color: n.cancelColor }), "hover-class": "u-opacity", "hover-stay-time": 150, onClick: t[0] || (t[0] = e => r.getResult("cancel")) }, { default: Io(() => [Gr(G(n.cancelText), 1)]), _: 1 }, 8, ["style"]), Yr(i, { class: "u-picker__title" }, { default: Io(() => [Gr(G(n.title), 1)]), _: 1 }), Yr(i, { class: "u-btn-picker u-btn-picker--primary", style: Ue({ color: a.moving ? n.cancelColor : n.confirmColor }), "hover-class": "u-opacity", "hover-stay-time": 150, onTouchmove: t[1] || (t[1] = ms(() => { }, ["stop"])), onClick: t[2] || (t[2] = ms(e => r.getResult("confirm"), ["stop"])) }, { default: Io(() => [Gr(G(n.confirmText), 1)]), _: 1 }, 8, ["style"])]), _: 1 }), Yr(i, { class: "u-picker-body" }, { default: Io(() => ["region" == n.mode ? (Br(), jr(l, { key: 0, value: a.valueArr, onChange: r.change, class: "u-picker-view", onPickstart: r.pickstart, onPickend: r.pickend }, { default: Io(() => [!a.reset && n.params.province ? (Br(), jr(s, { key: 0 }, { default: Io(() => [(Br(!0), $r(Ir, null, Da(a.provinces, (e, t) => (Br(), jr(i, { class: "u-column-item", key: t }, { default: Io(() => [Yr(i, { class: "u-line-1" }, { default: Io(() => [Gr(G(e.name), 1)]), _: 2 }, 1024)]), _: 2 }, 1024))), 128))]), _: 1 })) : Qr("", !0), !a.reset && n.params.city ? (Br(), jr(s, { key: 1 }, { default: Io(() => [(Br(!0), $r(Ir, null, Da(a.citys, (e, t) => (Br(), jr(i, { class: "u-column-item", key: t }, { default: Io(() => [Yr(i, { class: "u-line-1" }, { default: Io(() => [Gr(G(e.name), 1)]), _: 2 }, 1024)]), _: 2 }, 1024))), 128))]), _: 1 })) : Qr("", !0), !a.reset && n.params.area ? (Br(), jr(s, { key: 2 }, { default: Io(() => [(Br(!0), $r(Ir, null, Da(a.areas, (e, t) => (Br(), jr(i, { class: "u-column-item", key: t }, { default: Io(() => [Yr(i, { class: "u-line-1" }, { default: Io(() => [Gr(G(e.name), 1)]), _: 2 }, 1024)]), _: 2 }, 1024))), 128))]), _: 1 })) : Qr("", !0)]), _: 1 }, 8, ["value", "onChange", "onPickstart", "onPickend"])) : "time" == n.mode ? (Br(), jr(l, { key: 1, value: a.valueArr, onChange: r.change, class: "u-picker-view", onPickstart: r.pickstart, onPickend: r.pickend }, { default: Io(() => [!a.reset && n.params.year ? (Br(), jr(s, { key: 0 }, { default: Io(() => [(Br(!0), $r(Ir, null, Da(a.years, (e, t) => (Br(), jr(i, { class: "u-column-item", key: t }, { default: Io(() => [Gr(G(e) + " ", 1), n.showTimeTag ? (Br(), jr(c, { key: 0, class: "u-text" }, { default: Io(() => [Gr("年")]), _: 1 })) : Qr("", !0)]), _: 2 }, 1024))), 128))]), _: 1 })) : Qr("", !0), !a.reset && n.params.month ? (Br(), jr(s, { key: 1 }, { default: Io(() => [(Br(!0), $r(Ir, null, Da(a.months, (e, t) => (Br(), jr(i, { class: "u-column-item", key: t }, { default: Io(() => [Gr(G(r.formatNumber(e)) + " ", 1), n.showTimeTag ? (Br(), jr(c, { key: 0, class: "u-text" }, { default: Io(() => [Gr("月")]), _: 1 })) : Qr("", !0)]), _: 2 }, 1024))), 128))]), _: 1 })) : Qr("", !0), !a.reset && n.params.day ? (Br(), jr(s, { key: 2 }, { default: Io(() => [(Br(!0), $r(Ir, null, Da(a.days, (e, t) => (Br(), jr(i, { class: "u-column-item", key: t }, { default: Io(() => [Gr(G(r.formatNumber(e)) + " ", 1), n.showTimeTag ? (Br(), jr(c, { key: 0, class: "u-text" }, { default: Io(() => [Gr("日")]), _: 1 })) : Qr("", !0)]), _: 2 }, 1024))), 128))]), _: 1 })) : Qr("", !0), !a.reset && n.params.hour ? (Br(), jr(s, { key: 3 }, { default: Io(() => [(Br(!0), $r(Ir, null, Da(a.hours, (e, t) => (Br(), jr(i, { class: "u-column-item", key: t }, { default: Io(() => [Gr(G(r.formatNumber(e)) + " ", 1), n.showTimeTag ? (Br(), jr(c, { key: 0, class: "u-text" }, { default: Io(() => [Gr("时")]), _: 1 })) : Qr("", !0)]), _: 2 }, 1024))), 128))]), _: 1 })) : Qr("", !0), !a.reset && n.params.minute ? (Br(), jr(s, { key: 4 }, { default: Io(() => [(Br(!0), $r(Ir, null, Da(a.minutes, (e, t) => (Br(), jr(i, { class: "u-column-item", key: t }, { default: Io(() => [Gr(G(r.formatNumber(e)) + " ", 1), n.showTimeTag ? (Br(), jr(c, { key: 0, class: "u-text" }, { default: Io(() => [Gr("分")]), _: 1 })) : Qr("", !0)]), _: 2 }, 1024))), 128))]), _: 1 })) : Qr("", !0), !a.reset && n.params.second ? (Br(), jr(s, { key: 5 }, { default: Io(() => [(Br(!0), $r(Ir, null, Da(a.seconds, (e, t) => (Br(), jr(i, { class: "u-column-item", key: t }, { default: Io(() => [Gr(G(r.formatNumber(e)) + " ", 1), n.showTimeTag ? (Br(), jr(c, { key: 0, class: "u-text" }, { default: Io(() => [Gr("秒")]), _: 1 })) : Qr("", !0)]), _: 2 }, 1024))), 128))]), _: 1 })) : Qr("", !0)]), _: 1 }, 8, ["value", "onChange", "onPickstart", "onPickend"])) : "selector" == n.mode ? (Br(), jr(l, { key: 2, value: a.valueArr, onChange: r.change, class: "u-picker-view", onPickstart: r.pickstart, onPickend: r.pickend }, { default: Io(() => [a.reset ? Qr("", !0) : (Br(), jr(s, { key: 0 }, { default: Io(() => [(Br(!0), $r(Ir, null, Da(n.range, (e, t) => (Br(), jr(i, { class: "u-column-item", key: t }, { default: Io(() => [Yr(i, { class: "u-line-1" }, { default: Io(() => [Gr(G(r.getItemValue(e, "selector")), 1)]), _: 2 }, 1024)]), _: 2 }, 1024))), 128))]), _: 1 }))]), _: 1 }, 8, ["value", "onChange", "onPickstart", "onPickend"])) : "multiSelector" == n.mode ? (Br(), jr(l, { key: 3, value: a.valueArr, onChange: r.change, class: "u-picker-view", onPickstart: r.pickstart, onPickend: r.pickend }, { default: Io(() => [a.reset ? Qr("", !0) : (Br(!0), $r(Ir, { key: 0 }, Da(n.range, (e, t) => (Br(), jr(s, { key: t }, { default: Io(() => [(Br(!0), $r(Ir, null, Da(e, (e, t) => (Br(), jr(i, { class: "u-column-item", key: t }, { default: Io(() => [Yr(i, { class: "u-line-1" }, { default: Io(() => [Gr(G(r.getItemValue(e, "multiSelector")), 1)]), _: 2 }, 1024)]), _: 2 }, 1024))), 128))]), _: 2 }, 1024))), 128))]), _: 1 }, 8, ["value", "onChange", "onPickstart", "onPickend"])) : Qr("", !0)]), _: 1 })]), _: 1 })]), _: 1 }, 8, ["maskCloseAble", "modelValue", "safeAreaInsetBottom", "onClose", "z-index", "blur"]) }], ["__scopeId", "data-v-7c341487"]]); const $A = MM({ name: "u-popup", emits: ["update:modelValue", "input", "open", "close"], props: { value: { type: Boolean, default: !1 }, modelValue: { type: Boolean, default: !1 }, show: { type: Boolean, default: !1 }, mode: { type: String, default: "left" }, mask: { type: Boolean, default: !0 }, length: { type: [Number, String], default: "auto" }, zoom: { type: Boolean, default: !0 }, safeAreaInsetBottom: { type: Boolean, default: !1 }, maskCloseAble: { type: Boolean, default: !0 }, customStyle: { type: Object, default: () => ({}) }, popup: { type: Boolean, default: !0 }, borderRadius: { type: [Number, String], default: 0 }, zIndex: { type: [Number, String], default: "" }, closeable: { type: Boolean, default: !1 }, closeIcon: { type: String, default: "close" }, closeIconPos: { type: String, default: "top-right" }, closeIconColor: { type: String, default: "#909399" }, closeIconSize: { type: [String, Number], default: "30" }, width: { type: String, default: "" }, height: { type: String, default: "" }, negativeTop: { type: [String, Number], default: 0 }, maskCustomStyle: { type: Object, default: () => ({}) }, duration: { type: [String, Number], default: 250 }, blur: { type: [String, Number], default: 0 } }, data: () => ({ visibleSync: !1, showDrawer: !1, timer: null, closeFromInner: !1 }), computed: { valueCom() { return this.modelValue }, style() { let e = {}; if ("left" == this.mode || "right" == this.mode ? e = { width: this.width ? this.getUnitValue(this.width) : this.getUnitValue(this.length), height: "100%", transform: `translate3D(${"left" == this.mode ? "-100%" : "100%"},0px,0px)` } : "top" != this.mode && "bottom" != this.mode || (e = { width: "100%", height: this.height ? this.getUnitValue(this.height) : this.getUnitValue(this.length), transform: `translate3D(0px,${"top" == this.mode ? "-100%" : "100%"},0px)` }), e.zIndex = this.uZindex, this.borderRadius) { switch (this.mode) { case "left": e.borderRadius = `0 ${this.borderRadius}rpx ${this.borderRadius}rpx 0`; break; case "top": e.borderRadius = `0 0 ${this.borderRadius}rpx ${this.borderRadius}rpx`; break; case "right": e.borderRadius = `${this.borderRadius}rpx 0 0 ${this.borderRadius}rpx`; break; case "bottom": e.borderRadius = `${this.borderRadius}rpx ${this.borderRadius}rpx 0 0` }e.overflow = "hidden" } return this.duration && (e.transition = `all ${this.duration / 1e3}s linear`), e }, centerStyle() { let e = {}; return e.width = this.width ? this.getUnitValue(this.width) : this.getUnitValue(this.length), e.height = this.height ? this.getUnitValue(this.height) : "auto", e.zIndex = this.uZindex, e.marginTop = `-${this.$u.addUnit(this.negativeTop)}`, this.borderRadius && (e.borderRadius = `${this.borderRadius}rpx`, e.overflow = "hidden"), e }, uZindex() { return this.zIndex ? this.zIndex : this.$u.zIndex.popup } }, watch: { valueCom(e) { e ? this.open() : this.closeFromInner || this.close(), this.closeFromInner = !1 } }, mounted() { this.valueCom && this.open() }, methods: { getUnitValue: e => /(%|px|rpx|auto)$/.test(e) ? e : e + "rpx", maskClick() { this.close() }, close() { this.closeFromInner = !0, this.change("showDrawer", "visibleSync", !1) }, modeCenterClose(e) { "center" == e && this.maskCloseAble && this.close() }, open() { this.change("visibleSync", "showDrawer", !0) }, change(e, t, n) { 1 == this.popup && (this.$emit("input", n), this.$emit("update:modelValue", n)), this[e] = n, this.timer = n ? setTimeout(() => { this[t] = n, this.$emit(n ? "open" : "close") }, 50) : setTimeout(() => { this[t] = n, this.$emit(n ? "open" : "close") }, this.duration) } } }, [["render", function (e, t, n, o, a, r) { const i = Bo("u-mask"), s = Bo("u-icon"), l = Wg, c = ny; return a.visibleSync ? (Br(), jr(c, { key: 0, style: Ue([n.customStyle, { zIndex: r.uZindex - 1 }]), class: "u-drawer", "hover-stop-propagation": "" }, { default: Io(() => [Yr(i, { blur: n.blur, duration: n.duration, "custom-style": n.maskCustomStyle, maskClickAble: n.maskCloseAble, "z-index": r.uZindex - 2, show: a.showDrawer && n.mask, onClick: r.maskClick }, null, 8, ["blur", "duration", "custom-style", "maskClickAble", "z-index", "show", "onClick"]), Yr(c, { class: qe(["u-drawer-content", [n.safeAreaInsetBottom ? "safe-area-inset-bottom" : "", "u-drawer-" + n.mode, a.showDrawer ? "u-drawer-content-visible" : "", n.zoom && "center" == n.mode ? "u-animation-zoom" : ""]]), onClick: t[2] || (t[2] = e => r.modeCenterClose(n.mode)), onTouchmove: t[3] || (t[3] = ms(() => { }, ["stop", "prevent"])), style: Ue([r.style]) }, { default: Io(() => ["center" == n.mode ? (Br(), jr(c, { key: 0, class: "u-mode-center-box", onClick: t[0] || (t[0] = ms(() => { }, ["stop", "prevent"])), onTouchmove: t[1] || (t[1] = ms(() => { }, ["stop", "prevent"])), style: Ue([r.centerStyle]) }, { default: Io(() => [n.closeable ? (Br(), jr(s, { key: 0, onClick: r.close, class: qe(["u-close", ["u-close--" + n.closeIconPos]]), name: n.closeIcon, color: n.closeIconColor, size: n.closeIconSize }, null, 8, ["onClick", "class", "name", "color", "size"])) : Qr("", !0), Yr(l, { class: "u-drawer__scroll-view", "scroll-y": "true" }, { default: Io(() => [Va(e.$slots, "default", {}, void 0, !0)]), _: 3 })]), _: 3 }, 8, ["style"])) : (Br(), jr(l, { key: 1, class: "u-drawer__scroll-view", "scroll-y": "true" }, { default: Io(() => [Va(e.$slots, "default", {}, void 0, !0)]), _: 3 })), Yr(c, { onClick: r.close, class: qe(["u-close", ["u-close--" + n.closeIconPos]]) }, { default: Io(() => ["center" != n.mode && n.closeable ? (Br(), jr(s, { key: 0, name: n.closeIcon, color: n.closeIconColor, size: n.closeIconSize }, null, 8, ["name", "color", "size"])) : Qr("", !0)]), _: 1 }, 8, ["onClick", "class"])]), _: 3 }, 8, ["class", "style"])]), _: 3 }, 8, ["style"])) : Qr("", !0) }], ["__scopeId", "data-v-4b2bb9fb"]]); const jA = MM({ name: "u-verification-code", emits: ["start", "end", "change"], props: { seconds: { type: [String, Number], default: 60 }, startText: { type: String, default: "获取验证码" }, changeText: { type: String, default: "X秒重新获取" }, endText: { type: String, default: "重新获取" }, keepRunning: { type: Boolean, default: !1 }, uniqueKey: { type: String, default: "" } }, data() { return { secNum: this.seconds, timer: null, canGetCode: !0 } }, mounted() { this.checkKeepRunning() }, watch: { seconds: { immediate: !0, handler(e) { this.secNum = e } } }, methods: { checkKeepRunning() { let e = Number(uv(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, hv(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.setTimeToStorage(), 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) }, 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); cv({ key: this.uniqueKey + "_$uCountDownTimestamp", data: e + Number(this.secNum) }) } } }, beforeUnmount() { this.setTimeToStorage(), clearTimeout(this.timer), this.timer = null } }, [["render", function (e, t, n, o, a, r) { const i = ny; return Br(), jr(i, { class: "u-code-wrap" }) }], ["__scopeId", "data-v-b966d4e1"]]), zA = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkBAMAAACCzIhnAAAAD1BMVEVHcExRUVFMTExRUVFRUVE9CdWsAAAABHRSTlMAjjrY9ZnUjwAAAQFJREFUWMPt2MsNgzAMgGEEE1B1gKJmAIRYoCH7z9RCXrabh33iYktcIv35EEg5ZBh07pvxJU6MFSPOSRnjnBUjUsaciRUjMsb4xIoRCWNiYsUInzE5sWKEyxiYWDbyefqHx1zIeiYTk7mQYziTYecxHvEJjwmIT3hMQELCYSISEg4TkZj0mYTEpM8kJCU9JiMp6TEZyUmbAUhO2gxAQNJiIAKSFgMRmNQZhMCkziAEJTUGIyipMRjBSZkhCE7KDEFIUmTeGCHJxWz0zXaE0GTCG8ZFtEaS347r/1fe11YyHYVfubxayfjoHmc0YYwmmmiiiSaaaKLJ7ckyz5ve+dw3Xw2emdwm9xSbAAAAAElFTkSuQmCC", FA = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkBAMAAACCzIhnAAAAElBMVEVHcEz///////////////////+IGTx/AAAABnRSTlMA/dAkXZOhASU/AAABYElEQVRYw+2YwXLCIBCGsdAHWGbyAKZ4zxi9O017rxLf/1UaWFAgA1m8dcpedNSPf/l/Vh0Ya/Wn6hN0JcGvoCqRM4C8VBFiDwBqqNuJKV0rAnCgy3AUqZE57x0iqTL8Br4U3WBf/YWaIlTKfAcELU/h9w72CSVPa3C3OCDvhpHbRp/s2vq4fHhCeiCl2A3m4Qd71DQR257mFBlMcTlbFnFWzNtHxewYEfSiaLS4el8d8nyhmKJd1CF4eOS0keLMAuSxubLBIeIGQW8YHCFFo7EH9+YDcQt9FMZEswTheaNxTHwHT8SZorJjMrEVwo4Zo0U8HSEyZvJMOg4RjnmmRr8nDYeIz3OMkbfE/QhBo+U9RnZJxjGCRh/WKmHEMWLNkfPKsGh/CWJk1JjG0kcuJggTt34VDP8aWAFhp4nybVb5+9qQhjSkIQ1pSEMa8k+Q5U9rV3dF8MpFBK+/7miVq1/HZ2qmo9D+pAAAAABJRU5ErkJggg==", WA = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkBAMAAACCzIhnAAAAKlBMVEVHcEzDw8Ovr6+pqamUlJTCwsKenp61tbWxsbGysrLNzc2bm5u5ubmjo6MpovhuAAAACnRSTlMA/P79/sHDhiZS0DxZowAABBBJREFUWMPtl89rE0EUx7ctTXatB3MI1SWnDbUKPUgXqh4ED8Uf7KUVSm3ooVSpSii0Fn/gD4j4o+APiEoVmos9FO2celiqZVgwgaKHPQiCCkv+F99kM7Ozm5kxq1dfD91k9pPve9/3ZjbRNHHok/mKli4eIPNgSuRObuN9SqSEzM20iGnm0yIbqCuV7NSSSIV7uyPM6JMBYdeTOanh/QihJYZsUCSby+VkMj2AvOt0rAeQAwqE3lfKMZVlQCZk1QOCKkkVPadITCfIRNKxfoJI5+0OIFtJx14CMSg1mRSDko7VAfksRQzEbGYqxOJcVTWMCH2I1/IACNW0PWU2M8cmAVHtnH5mM1VRWtwKZjOd5JbF6s1IbaYqaotjNlPHgDAnlAizubTR6ovMYn052g/U5qcmOpi0WL8xTS/3IfSet5m8MEr5ajjF5le6dq/OJpobrdY0t3i9QgefWrxW9/1BLhk0E9m8FeUMhhXal499iD0eQRfDF+ts/tttORRerfp+oV7f4xJj82iUYm1Yzod+ZQEAlS/8mMBwKebVmCVp1f0JLS6zKd17+iwRKTARVg2SHtz3iEbBH+Q+U28zW2Jiza8Tjb1YFoYZMsJyjDqp3M9XBQdSdPLFdxEpvOB37JrHcmR/y9+LgoTlCFGZEa2sc6d4PGlweEa2JSVPoVm+IfGG3ZL037iV9oH+P+Jxc4HGVflNq1M0pivao/EopO4b/ojVCP9GjmiXOeS0DOn1o/iiccT4ORnyvBGF3yUywkQajW4Ti0SGuiy/wVSg/L8w+X/8Q+hvUx8Xd90z4oV5a1i88MbFWHz0WZZ1UrTwBGPX3Rat9AFiXRMRjoMdIdJLEOt2h7jrYOzgOamKZSWSNspOS0X8SAqRYmxRL7sg4eLzYmNehcxh3uoyud/BH2Udux4ywxFTc1xC7Mgf4vMhc5S+kSH3Y7yj+qpwIWSoPTVCOOPVthGx9FbGqrwFw6wSFxJr+17zeKcztt3u+2roAEVgUjDd+AHGuxHy2rZHaa8JMkTHEeyi85ANPO9j9BVuBRD2FY5LDMo/Sz/2hReqGIs/KiFin+CsPsYO/yvM3jL2vE8EbX7/Bf8ejtr2GLN65bioAdgLd8Bis/mD5GmP2qeqyo2ZwQEOtAjRIDH7mBKpUcMoApbZJ5UIxkEwxyMZyMxW/uKFvHCFR3SSmerHyDNQ2dF4JG6zIMpBgLfjSF9x1D6smFcYnGApjmSLICO3ecCDWrQ48geba9DI3STy2i7ax6WIB62fSyIZIiO3GFQqSURp8wCo7GhJBGwuSovJBNjb7kT6FPVnIa9qJ2Ko+l9mefGIdinaMp0yC1URYiwsdfNE45EuA5Cx9EhalfvN5s+UyItm81vaB3p4joniN+SCP7Qc1hblAAAAAElFTkSuQmCC", HA = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkBAMAAACCzIhnAAAAElBMVEX///9HcEz///////////////84chYNAAAABnRSTlP/AGzCOYZj5g1nAAACfklEQVRYw+2YTVPDIBCGtza9Jw25a0bvcax30o73OOr//yvma2F3YWlpPTijXNpAHrK8LLALVPFium2vNIFSbwGKTGQA2GUiHcD29yDNy3sMIdUBQl7r2H8mOEVqAHgPkYZUS6Qc2zYhQqtjyDZEximCZwWZLIBeIgYShs2NzxKpSUehYpMJhURGb+O+w5BpMCAREKPnCDHbIY20SzhM5yxziAXpOiBXydrekT9i5XDEq4NIIHHgyU5mRGqviII4mREJJA4QJzMiILwlRJzpKxJKvCBm8OsBBbLux0tsPl4RKYm5aPu6jw1U4mGxEUR9g8M1PcqBEp/WJliNgYOXueBzS4jZSIcgY5lCtevgDSgyzE+rAfuOTQMq0yzvoGH18qju27Mayzs4fPyMziCx81NJa5RNfW7vPYK9KOfDiVkBxFHG8hAj9txuoBuSWORsFfkpBf7xKFLSeaOefEojh5jz22DJEqMP8fUyaKdQx+RnG+yXMpe8Aars8ueR1pVH/bW3FyyvPRw90upLDHwpgBDtg4aUBNkxRLXMAi03IhcZtr1m+FeI/O/JNyDmmL1djLOauSlNflBpW18RQ2bPqXI22MXXEk75KRHTnkPkYbESbdKP2ZFk0r5sIwffAjy1lx+vx7NLjB6/E7Jfv5ERKhzpN0w8IDE8IGFDv5dhz10s7GFiXRZcUeLCEG5P5nDq9k4PFDcoMpE3GY4OuxuCXhmuyNB6k0RsLIAvqp9NE5r8ZCSS8gxnUp7ODdYhZTqxuiJ9uyJJtPmpqJ7wVj+XVieS903iViHziqAhchLEJAyb7jWU647EpUofQ0ziUuXXXhDddtlllSwjgSQu7r4BRWhQqfDPMVwAAAAASUVORK5CYII=", UA = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkBAMAAACCzIhnAAAAElBMVEVRUVFHcExTU1NRUVFRUVFRUVFOSlSUAAAABnRSTlP/AI6+VySB3ZENAAACcElEQVRYw+2YyYKCMAyGI8hdpdxdZu7gcpdZ7jL6/s8yYheSNi0aPdqbwOffpGmaFOYPD3gj4bisN7vddv17N/JVgxn5x12IWgIaWTuO/IE3PseQbwjGPo2cgRmHFLJwdm/X643zwiqOKPPJ1nj3sjEP2iiifZWj5bhopSyGaEO2HX5fbQJzwJ+W7x/jw5ZFjsEU0PMph9xE8i5EqprKALW95eJQURkgzw98uJ/JvwGecR7bIjWWsUgVrrIfFZ2HlLy3sKETD1mmRLRMRhGVssRa0xJkdn3SpJBymBkM8+pSSDXMDNyDaToVHd2fgpNt0sjwiUZO19+jGQ+gQEg9Oq+bufmAVGihomNmjQG7UG3020vrlm7lkFnKFGU3kZ0KGAdmKe821pipQ+qEKcrZeTL2g5FsUks4cStjEZWwXg0b0n4GxmEpkWwIs5VBynjgK7xZaz1/0D7OxkVuLpsY5BQNFyLS84VBjjbg0iL2r2EQHBOxBhikuUOkdxODVF1cxHoWtPPsiyXO455Iv34hssCO8EV4ZIYTjS8SR4qYSHRiTiYQ4ZFbHi0iIhhBTi6dTCgSWRcnw4h4yGTuyTAiOGBIWGoZTgSHJQl+LcOJ4OCnW6yX2bMnJ9pidCOXtkTkTrIGpYuOynAiOF14SamMiOCk5Ke+mq8BcOrrvym8d0zKIQnWT+M1WwOQNO4fFiWb18hhERxJPx2fblbPHHyC41VyiAtKBUFBIih7JMWVoIQTFIr3lKPN80WvoLSWFPC653ioTZA0I0FrQ7qU6asaK0H7JmkSJa2ooOGVtNUsc3j9FYHkIkJy3SG6VHnfXKXGP9t4N9Q4Ye98AAAAAElFTkSuQmCC", qA = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkBAMAAACCzIhnAAAAGFBMVEVHcEz///////////////////////////8dS1W+AAAAB3RSTlMAiVYk6KvDHLfaegAAAo1JREFUWMPtWEtzmzAQNhCTq910ytXpiyvxTNOr60zrayepx9d02gnX4sTm7xcEiJX2gdnkGJ1A4tOnfWqXyeR1vMRYzrcPD9v5h5MBl3/Ldvx4cxIg/FWC8X0xjLjalM54uhhCfCrRuJURX0pi3EmIqZV7O59vrRZmguStHL9b7S7ftfLwOtiZDw7AHMtmquAQ12b5Wwbnordm8g9zLLO49qc/m2n6aKnhwPOGZ08hAiNHhheiHae1lOUPGZpQkPKa3q0mOUjaRzSRaGUjpy/mmWSwySSpllcEteBKAT52KEnSbblA51pJEPxBQoiH1FP4E3s5+FJv07h6/ylD6ui7B+9fq/ehrFB98ghec9EoVtyjK8pqCHLmCBOwMWSCeWFNN4MbPAk55NhsvoFHSSVR0k5TCTTEzlUGcqV/nVp7n9oIVkmtaqbAEqEgfdgHJPwsEAyZ9r4VAZXFjpEwyaw3+H2v42KYxKhs1XvY/gSSGv+IHyUSuHXCeZhLAgVI3EjgSGo1Fb3xO0tGGU9S2/KAIbtjxpJASG73qox6w5LUq0cEOa+iIONIWIilQSQ0pPa2jgaRQAgQP7c0mITRWGxpMAmEQFN2NAQJNCV0mI6GIIEO47hlQ0ORQLd0nL+hoUjg1m6I1TRr8uYEAriBHLcVFQ5UEMiBe3XkTBEG04WXlGKGxPnMS305XQPA1Ocn2JiuAZwE66fxnKwBnDTuXxZTMq85lwW6kt5ndLqZPefiU1yvmktcUSooChJF2aMprhQlnKJQ5FxRKkcVRa+itNYU8Io2oVkY14w0NMWYlqft91Bj9VHq+ca3b43BxjWJmla0sfKohlfTVpPN+93L/yLQ/IjQ/O5Q/VR5HdL4D7mlxmjwVdELAAAAAElFTkSuQmCC", YA = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAMAAAAL34HQAAALeGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNi4wLWMwMDIgNzkuMTY0NDg4LCAyMDIwLzA3LzEwLTIyOjA2OjUzICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0RXZ0PSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VFdmVudCMiIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczpwaG90b3Nob3A9Imh0dHA6Ly9ucy5hZG9iZS5jb20vcGhvdG9zaG9wLzEuMC8iIHhtbG5zOnRpZmY9Imh0dHA6Ly9ucy5hZG9iZS5jb20vdGlmZi8xLjAvIiB4bWxuczpleGlmPSJodHRwOi8vbnMuYWRvYmUuY29tL2V4aWYvMS4wLyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOSAoV2luZG93cykiIHhtcDpDcmVhdGVEYXRlPSIyMDIyLTAyLTIyVDIxOjIxOjQ1KzA4OjAwIiB4bXA6TWV0YWRhdGFEYXRlPSIyMDI0LTAxLTEzVDE5OjA5OjQwKzA4OjAwIiB4bXA6TW9kaWZ5RGF0ZT0iMjAyNC0wMS0xM1QxOTowOTo0MCswODowMCIgZGM6Zm9ybWF0PSJpbWFnZS9wbmciIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6ZWQwMWYzNWQtOWRjOC00MDBiLWEyMmQtNjM5OGZiNzVhNGRiIiB4bXBNTTpEb2N1bWVudElEPSJhZG9iZTpkb2NpZDpwaG90b3Nob3A6ZDhlMzQ3ZmEtMDY2My1jYTRiLTgzNTctNTk4YjBkNGIzOTU2IiB4bXBNTTpPcmlnaW5hbERvY3VtZW50SUQ9InhtcC5kaWQ6ZDA4MDI4MDItMzUyYS04NTRhLTkxYjctNmRlNmQ1MmViM2QwIiBwaG90b3Nob3A6Q29sb3JNb2RlPSIzIiBwaG90b3Nob3A6SUNDUHJvZmlsZT0ic1JHQiBJRUM2MTk2Ni0yLjEiIHRpZmY6T3JpZW50YXRpb249IjEiIHRpZmY6WFJlc29sdXRpb249IjMwMDAwMDAvMTAwMDAiIHRpZmY6WVJlc29sdXRpb249IjMwMDAwMDAvMTAwMDAiIHRpZmY6UmVzb2x1dGlvblVuaXQ9IjIiIGV4aWY6Q29sb3JTcGFjZT0iMSIgZXhpZjpQaXhlbFhEaW1lbnNpb249IjMwMCIgZXhpZjpQaXhlbFlEaW1lbnNpb249IjMwMCI+IDx4bXBNTTpIaXN0b3J5PiA8cmRmOlNlcT4gPHJkZjpsaSBzdEV2dDphY3Rpb249ImNyZWF0ZWQiIHN0RXZ0Omluc3RhbmNlSUQ9InhtcC5paWQ6ZDA4MDI4MDItMzUyYS04NTRhLTkxYjctNmRlNmQ1MmViM2QwIiBzdEV2dDp3aGVuPSIyMDIyLTAyLTIyVDIxOjIxOjQ1KzA4OjAwIiBzdEV2dDpzb2Z0d2FyZUFnZW50PSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOSAoV2luZG93cykiLz4gPHJkZjpsaSBzdEV2dDphY3Rpb249InNhdmVkIiBzdEV2dDppbnN0YW5jZUlEPSJ4bXAuaWlkOjQwNjg2NzJkLWY5NDMtOTU0Mi1iMDBiLTVlMDExNmE1NmIzZSIgc3RFdnQ6d2hlbj0iMjAyNC0wMS0xM1QxMDoyNjoxNiswODowMCIgc3RFdnQ6c29mdHdhcmVBZ2VudD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTkgKFdpbmRvd3MpIiBzdEV2dDpjaGFuZ2VkPSIvIi8+IDxyZGY6bGkgc3RFdnQ6YWN0aW9uPSJzYXZlZCIgc3RFdnQ6aW5zdGFuY2VJRD0ieG1wLmlpZDphYmJkZmUyZC0xY2Q2LTJiNDgtYjUyNS05YzlhZjdlNjA4NDMiIHN0RXZ0OndoZW49IjIwMjQtMDEtMTNUMTE6MjM6NDArMDg6MDAiIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkFkb2JlIFBob3Rvc2hvcCBDQyAyMDE5IChXaW5kb3dzKSIgc3RFdnQ6Y2hhbmdlZD0iLyIvPiA8cmRmOmxpIHN0RXZ0OmFjdGlvbj0iY29udmVydGVkIiBzdEV2dDpwYXJhbWV0ZXJzPSJmcm9tIGFwcGxpY2F0aW9uL3ZuZC5hZG9iZS5waG90b3Nob3AgdG8gaW1hZ2UvcG5nIi8+IDxyZGY6bGkgc3RFdnQ6YWN0aW9uPSJkZXJpdmVkIiBzdEV2dDpwYXJhbWV0ZXJzPSJjb252ZXJ0ZWQgZnJvbSBhcHBsaWNhdGlvbi92bmQuYWRvYmUucGhvdG9zaG9wIHRvIGltYWdlL3BuZyIvPiA8cmRmOmxpIHN0RXZ0OmFjdGlvbj0ic2F2ZWQiIHN0RXZ0Omluc3RhbmNlSUQ9InhtcC5paWQ6YTQ5MjM5MDAtNDhiZC03YTQ1LWI4NGItYmVlZTVjOWUxYTM1IiBzdEV2dDp3aGVuPSIyMDI0LTAxLTEzVDExOjIzOjQwKzA4OjAwIiBzdEV2dDpzb2Z0d2FyZUFnZW50PSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOSAoV2luZG93cykiIHN0RXZ0OmNoYW5nZWQ9Ii8iLz4gPHJkZjpsaSBzdEV2dDphY3Rpb249InNhdmVkIiBzdEV2dDppbnN0YW5jZUlEPSJ4bXAuaWlkOmVkMDFmMzVkLTlkYzgtNDAwYi1hMjJkLTYzOThmYjc1YTRkYiIgc3RFdnQ6d2hlbj0iMjAyNC0wMS0xM1QxOTowOTo0MCswODowMCIgc3RFdnQ6c29mdHdhcmVBZ2VudD0iQWRvYmUgUGhvdG9zaG9wIDIyLjAgKE1hY2ludG9zaCkiIHN0RXZ0OmNoYW5nZWQ9Ii8iLz4gPC9yZGY6U2VxPiA8L3htcE1NOkhpc3Rvcnk+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOmFiYmRmZTJkLTFjZDYtMmI0OC1iNTI1LTljOWFmN2U2MDg0MyIgc3RSZWY6ZG9jdW1lbnRJRD0iYWRvYmU6ZG9jaWQ6cGhvdG9zaG9wOjM2ZGQ4NTQxLWQ0MWEtYmY0Yy1iZjA3LWNmNjZhNjZhMDg2MSIgc3RSZWY6b3JpZ2luYWxEb2N1bWVudElEPSJ4bXAuZGlkOmQwODAyODAyLTM1MmEtODU0YS05MWI3LTZkZTZkNTJlYjNkMCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Pm30U/gAAAAJcEhZcwAALiMAAC4jAXilP3YAAAA/UExURUdwTODg4O3t7e7u7unp6d7e3uTk5M/Pz8nJyePj4+jo6Pj4+MrKyszMzO7u7unp6fb29vLy8vr6+v7+/sHBweag3xAAAAAOdFJOUwAxia5pF0n+/vzX3KbULQ2DYQAACG1JREFUeNrtm4l2o7gShi20IWFrAd7/WUc7EosDWKZ976Hc7WTmdMKXv0qlqpLyeNx222233Xbbbbfddtv/mOHn8xexSNsiRH5PrbFtW4p+DetpsF4v8Gs+HA3WEwOAfwzriYxaLTVsP8X1QK0z+vqQCzewYogi60aL9SEX5oyxphYVCFTGjfSJCTmN1jBruN5KTGCUS8bhySQGHRaohmW4glwtldbOeYJYKlgvbyUuA8aFFEKc++aIM4hrRnyiMnIZKq1PrihcM3GNKboMF1Naa9X9+8T1KrxIlVbGjv3cAEHOYYMqqgUsVuJqqehV3+sjDwB+DTJp0lYtMCyZpxqjF4e+74+sRcQSFZO8UonUSEFzuUY+DKo59A2kZDatGCjzCauy/2AmhSyCq0WHEj0KTNJDmVeNhErMt1Q8W4xti4/FwMJ4jaxl05TKFiNtD3kBGrHnhiph9V0eXQc6DkyE2xX830AlKshFTErXeuCZXK/9m41wFsGSfZ4lcGeyZ98PrylJ7MWCojQZ3qSukL2QslgdngqJnTEPdTJhXvbNBoR/+7wabIxWduN/Ja5dWEivm4XSZ2uQckNzmRlHrn2lc6eiafvS4V2Hd12tesau8toZW0CtWoZYb9t+OqxdCYKYjVPF16pVbILIy/gR7MVaWMHYPCoa2VkzkX4Iry2rirXbumGyAjGC1h62YLw6ApsNKZph3fpIWHt08JovRWD62sejpXhTrhWrPpl6zZ6PW2oTG5ltlvgtF6weNYCWKeJJSfg4W6PNJlj3sVZgOXV4lc8n4RlkMTLEBDVoYc3nI09kpyzzfgWsjyzBZSNDKF2/wjh+sxYvn8Y1scxlfLF9T1RBO3wVHsnq8Fk4oGkEh/0KJPSa8T2CeWE5X9BPmgLsaRIGeNL2kshCsWoLBmdPJW5Wbz1ndAKUXjPwxXYAUpSV3fy5BJg1aa1tyVXHHMgVH31ewDVrleHr9XqC684SUF4mecR3+wW5SC2QNvxUizRv98mLDhPgYiMDb+v8g0OADxqxcnf9w01mZYJF0fUVP5LcdswbsMmy1DVs5PlE5NpNiTR8M8qAWZkOy6aN13VcoOF2/s3xn3Mes8Xza05tgR/BuNz69nlNzMR0fH45p+G4R9oxh2mKt9MF4J7K/lvWUojwF5nCgCpuRUptnZMQ3au0nSo2UsHgV3xpmeLYzGml3ZFBBzYGPCpOQRwXs1/GG1J74dlZc6JKUOtjBAz9XjVxucGWHbZVJDPJQGYDRl1Qmf1ovk2Sbghb6MQlnF7mBzM1bgOqJAPpoOQaVe+4Skcit3uqHMyG/Sh1rHNN0gAfM0nnPrmulfLVBSm20TSZSdWa0LJl2ukVyE4vTYCgP3uQkwv1TKtQWgxDzBSg80OQjCs4klKvuUzHLCfIbDKIE/S5VIGqD1iD2819pkAqTWdmeina+oZABi7X5B1MGoTJqJSchuk6JNHcgUPAcsVFk0+N0oDN68Vo7FQSmCXjx46OEtUk1lpY2ZFQGr/AcpqVato4wPUD+RhfAeyQI5sJ6l2sDwnKqNFSJvpiyJbFl3kTOjZ2ievwCR7hkUoWeV2vOLAXvB39AJoyqYa81A5cvaAidXYTFTycKDBcalVK5f3XS89kzLVl9txfL+K+p6NUnitz5KkKm7D3DrRPNq4bk7l20aFRppNilmuQI+uzTtj9wPBkTsVwM7HbJ5pwGgujyRyZDzQLNoiRFluRtQ+GzEguqRxUL+ZMFqulMzIfaP3ARj2k/txB8c+2HyjmDizCaVWtNoE5MvMlKs/4VQ7HUJZCrU6qCKcNJ2aSWUZhJZu4VI0LB4CHFdj77DRuGi28WKAxoRyZyzGVrmc0jmk1nP5QaxZo1puqq1YIAqgZb8e/rABZJWNCNxV7DSTpOO7Aail9J9nYHtua/4ouE/aS0X1qtXQzwGx+rnbi2vhF/TfZG52oc6DPo1WCi3RTDnRk7TEntoEp38gg+DjYs2opkR3JW5EpL9rU0XSK5/6LOTAVS+72x7pm60zSf5HMdldjhzJqw1FRcxXdS3ZNZp0s92FiyluUvBPoD9ynZNkBiu2NF11ofnlnQbZgKqvusj9R/f6DOzgVsahbNlXxlsxU8y7qrbTupitRyxFBKG6H3aEPUqj7YrzAymq41FXlZLlO4WLbvG2Kg4vYB+wPfWS2B5Rq8TW9ROpAZbiF6MmCTsx1NLLsx7NOoOiZup2CNbZ36xc96ErcxzuILGrmmFhimjtwKo/yTm7feTVwB61IzbnW4967Kt3cDDotGt8JKrTiUyO3Uy2PZZt9tapXEfXhWmTgcoB+JchFWsiCKvYnhmn/tKuJDbgly897FnFfkE1rQLKy810OU7xW3bEJHCD5gERtuTGuxoJqA6qI9TNMa6MbvZomsiubbPYx78YXDaaRqqsyqfSaLZdjYGHLu65rDgydXCWm1P5EvcQ828f9pcBapTILSMv1nZCAc0WzFIFsGfUi/kmAxc6cFqDSYuPSMIbs1OVrwITTQM9HVRFJ5JL56qcoFzzT1uVcd2v9jFw8BHlcWtmEI86hp5Dy/zOlK8cUp/rVseRUBqawz6kmAcPLM9l5m8h4V53Iz/2mFJaTCvF8JbsMvPjU/7crbUXart0v4WyE0LnDPcAX95Knj4VUE8HCdNdUP8BDcOXKdPl4uSWbh4LfOV0HDdfipOmu+eIRrDsNPkIT7np/8ZAzVdOd1u8wHIqeXt8VqtgiO50ePeNaGG+uO9rHiKdL71pnIun8jxEKXv2r2HYBzO/mz96vFKoMM5WLk7tQXS9U5kwCu5lk7n6++kdCFWRaTUzm0/5fClWGWTrM/AGhCrJO/ZBQhTPFLwmV7ebgcdttt91222233Xbbbf+H9h+2WEtdHVinLAAAAABJRU5ErkJggg==", ZA = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAMAAAAL34HQAAALeGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNi4wLWMwMDIgNzkuMTY0NDg4LCAyMDIwLzA3LzEwLTIyOjA2OjUzICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0RXZ0PSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VFdmVudCMiIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczpwaG90b3Nob3A9Imh0dHA6Ly9ucy5hZG9iZS5jb20vcGhvdG9zaG9wLzEuMC8iIHhtbG5zOnRpZmY9Imh0dHA6Ly9ucy5hZG9iZS5jb20vdGlmZi8xLjAvIiB4bWxuczpleGlmPSJodHRwOi8vbnMuYWRvYmUuY29tL2V4aWYvMS4wLyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOSAoV2luZG93cykiIHhtcDpDcmVhdGVEYXRlPSIyMDIyLTAyLTIyVDIxOjIxOjQ1KzA4OjAwIiB4bXA6TWV0YWRhdGFEYXRlPSIyMDI0LTAxLTEzVDE5OjEwOjEwKzA4OjAwIiB4bXA6TW9kaWZ5RGF0ZT0iMjAyNC0wMS0xM1QxOToxMDoxMCswODowMCIgZGM6Zm9ybWF0PSJpbWFnZS9wbmciIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6MTQ3NTExNjAtZDY5MC00ZTkzLWFhNGUtNGMwYTViNGU1ZGFjIiB4bXBNTTpEb2N1bWVudElEPSJhZG9iZTpkb2NpZDpwaG90b3Nob3A6YzRiNzlkYWMtZTJmYS1iNzQ0LWIxM2ItOWU1N2VjMDhhM2YwIiB4bXBNTTpPcmlnaW5hbERvY3VtZW50SUQ9InhtcC5kaWQ6ZDA4MDI4MDItMzUyYS04NTRhLTkxYjctNmRlNmQ1MmViM2QwIiBwaG90b3Nob3A6Q29sb3JNb2RlPSIzIiBwaG90b3Nob3A6SUNDUHJvZmlsZT0ic1JHQiBJRUM2MTk2Ni0yLjEiIHRpZmY6T3JpZW50YXRpb249IjEiIHRpZmY6WFJlc29sdXRpb249IjMwMDAwMDAvMTAwMDAiIHRpZmY6WVJlc29sdXRpb249IjMwMDAwMDAvMTAwMDAiIHRpZmY6UmVzb2x1dGlvblVuaXQ9IjIiIGV4aWY6Q29sb3JTcGFjZT0iMSIgZXhpZjpQaXhlbFhEaW1lbnNpb249IjMwMCIgZXhpZjpQaXhlbFlEaW1lbnNpb249IjMwMCI+IDx4bXBNTTpIaXN0b3J5PiA8cmRmOlNlcT4gPHJkZjpsaSBzdEV2dDphY3Rpb249ImNyZWF0ZWQiIHN0RXZ0Omluc3RhbmNlSUQ9InhtcC5paWQ6ZDA4MDI4MDItMzUyYS04NTRhLTkxYjctNmRlNmQ1MmViM2QwIiBzdEV2dDp3aGVuPSIyMDIyLTAyLTIyVDIxOjIxOjQ1KzA4OjAwIiBzdEV2dDpzb2Z0d2FyZUFnZW50PSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOSAoV2luZG93cykiLz4gPHJkZjpsaSBzdEV2dDphY3Rpb249InNhdmVkIiBzdEV2dDppbnN0YW5jZUlEPSJ4bXAuaWlkOjQwNjg2NzJkLWY5NDMtOTU0Mi1iMDBiLTVlMDExNmE1NmIzZSIgc3RFdnQ6d2hlbj0iMjAyNC0wMS0xM1QxMDoyNjoxNiswODowMCIgc3RFdnQ6c29mdHdhcmVBZ2VudD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTkgKFdpbmRvd3MpIiBzdEV2dDpjaGFuZ2VkPSIvIi8+IDxyZGY6bGkgc3RFdnQ6YWN0aW9uPSJzYXZlZCIgc3RFdnQ6aW5zdGFuY2VJRD0ieG1wLmlpZDpjZjk1NTE1OC04MjFiLTA4NDUtYWJmNS05YTE1NGM1ZTY4NjEiIHN0RXZ0OndoZW49IjIwMjQtMDEtMTNUMTE6MDQ6MDQrMDg6MDAiIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkFkb2JlIFBob3Rvc2hvcCBDQyAyMDE5IChXaW5kb3dzKSIgc3RFdnQ6Y2hhbmdlZD0iLyIvPiA8cmRmOmxpIHN0RXZ0OmFjdGlvbj0iY29udmVydGVkIiBzdEV2dDpwYXJhbWV0ZXJzPSJmcm9tIGFwcGxpY2F0aW9uL3ZuZC5hZG9iZS5waG90b3Nob3AgdG8gaW1hZ2UvcG5nIi8+IDxyZGY6bGkgc3RFdnQ6YWN0aW9uPSJkZXJpdmVkIiBzdEV2dDpwYXJhbWV0ZXJzPSJjb252ZXJ0ZWQgZnJvbSBhcHBsaWNhdGlvbi92bmQuYWRvYmUucGhvdG9zaG9wIHRvIGltYWdlL3BuZyIvPiA8cmRmOmxpIHN0RXZ0OmFjdGlvbj0ic2F2ZWQiIHN0RXZ0Omluc3RhbmNlSUQ9InhtcC5paWQ6ZGM1Y2IyNWItZDZlNC0yZjQ2LTgyODQtZmUwOTNlY2M2ZTkxIiBzdEV2dDp3aGVuPSIyMDI0LTAxLTEzVDExOjA0OjA0KzA4OjAwIiBzdEV2dDpzb2Z0d2FyZUFnZW50PSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOSAoV2luZG93cykiIHN0RXZ0OmNoYW5nZWQ9Ii8iLz4gPHJkZjpsaSBzdEV2dDphY3Rpb249InNhdmVkIiBzdEV2dDppbnN0YW5jZUlEPSJ4bXAuaWlkOjE0NzUxMTYwLWQ2OTAtNGU5My1hYTRlLTRjMGE1YjRlNWRhYyIgc3RFdnQ6d2hlbj0iMjAyNC0wMS0xM1QxOToxMDoxMCswODowMCIgc3RFdnQ6c29mdHdhcmVBZ2VudD0iQWRvYmUgUGhvdG9zaG9wIDIyLjAgKE1hY2ludG9zaCkiIHN0RXZ0OmNoYW5nZWQ9Ii8iLz4gPC9yZGY6U2VxPiA8L3htcE1NOkhpc3Rvcnk+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOmNmOTU1MTU4LTgyMWItMDg0NS1hYmY1LTlhMTU0YzVlNjg2MSIgc3RSZWY6ZG9jdW1lbnRJRD0iYWRvYmU6ZG9jaWQ6cGhvdG9zaG9wOjM2ZGQ4NTQxLWQ0MWEtYmY0Yy1iZjA3LWNmNjZhNjZhMDg2MSIgc3RSZWY6b3JpZ2luYWxEb2N1bWVudElEPSJ4bXAuZGlkOmQwODAyODAyLTM1MmEtODU0YS05MWI3LTZkZTZkNTJlYjNkMCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Ph2LDQsAAAAJcEhZcwAACxMAAAsTAQCanBgAAAA5UExURUdwTNra2s7Ozq2tre3t7dPT087OzuPj4+3t7dbW1u/v79bW1vz8/MrKytDQ0Nzc3MPDw/X19bi4uMZQDnEAAAAKdFJOUwBqEPywotz+wzqApqiTAAAHW0lEQVR42u1b25akIAwcbx2UFoj//7HLTQVBRcSZfTDnbM/uTl/KSlEkwf75eeONN95444033njjjTduR9/0/yOsbqoevObL7101tYX1HFs9QFtfZalRP+rpQVgdAFx990ZnT8L6eZItUl99jeGpf1DxdV/VP9fV1f/PFlF1bYHoVFSRC60IyVjrFRnuB8IoxpExSrstsErKHpJw1eqybNLbAQvAYkKjUrjoBgKRqAaeIjG5+qaps6hKcMWmcdSwqAJWBbAgCZZaIYbsqggqqlHNbFFa5yVR4jKvrKEErOEjNCqNSwHrfE8lpLsod/u+cOPPMPBJ+Gz5dM0cXNgclre+pSxhYI1WW5Tf9ENSMIdLCiWs6q9hwQprBVYKFqyPlx4WtoSvrT9lC/wkGt8qlkQooC3hi6sgW3Bb8gtdpSV/za/mn49pC0oYhONbfyd5hzDLFivKFpTS1gKM0we0tQCEncfgQn7Rt+DC/299i1MSRJcBC0r7VviG5KZvwV5WIUobxHyrJKy8VRjXVgFYsPu5kOtbxdhycCDuihziXVLoW7xwEiUmDgd544B46luWLW+nugMLB2BimmC3cxTNxCDg8xFtuUSNqoFsDKzY8psa+XtBNWXr74N6qxwsS5T6VL5robKl10+ZRu5S9qBvUYuJwVHzjwjrE3G33qKh+WXBgmkmCvHYquTvZ8oo7rLFA4PJgYW0MdePIRQIGUPNbSMw5lubJMKtJI6+Wk6cVFMmACO+VVryeL7ZgI8MhwS2fnNPPK0geHBRd11eJSiyL4KjrL2umm1XIpRii1MKB/mU/iCZwF+pt5z3UJ7UiF3nQqadAXC3T3xEW2IyuDBe3yDTe0+A64it2WTyYSGVHymUI/EduvSWKJ80Dtv2NbYSoQxbMkVC7yzNGIWFvDF7gRD79RYrWW/BDGti4wwLtgvO7gWKUZ8Mt94qX8vLJE70+xVNwzDm9ghNM+FX7p/jlZUId2HJD+Tf79hMe3WNrAK/30E+C8/6xOCqbqxE5JNMYrNbnaLUvJAewfCg8zF0Ba/tbviWLvPYfsGFA1PVD8ZdnjlVc/DS/o7LK4NHjOjKKbfCTSCo5XmwKbaZM4jlc9NGEYd9Ijd0QS5ZGaOR2O+DPlGyRb2nXZzgnI1GdFWF+0gh3ifyTRqvzpXI2eElk58FeHziCF5hY+hSMV9Ge/mohUTGuQ4vzHYe8bW5sNdFQ58St22Vcf5zzJbtcGT4iYQ7iz8dFuxoWRYMjAM7KCnypHOTLSqdUwYIFpndOD/6B2FBzNQxYmW/zxYE4j8yLHga1s2Rbm/O5PXtGcuNDIW1dTj5hpjGsO+7z2Kk9NP1JWDlnWKAM4H6zCUNM05KyVPHBclYzUbgjE3N3tP2JWHBmbqD4GLeCs2jhMT13lMVljwcEbetwZgtHUxVQ21ho3fE7inf2s8vzMWq0EWpfOBg5hcDSGwaF2+LaysRIzNFqRgBv2sMhi/Ix0WiW8rBKNBv4ExBI7eorx9ANazsPCb5FkSNH+Reacos+AYxaFzX76KMH65c8ytzZ40YvpFAqtgC/otn1eCmMI5K8yVRQVVwq3aVtU+jJktwjyP7x+BKv8vtoH098vXYSJcrWGJcAW11r8WVRxe5vgcuFbXqwnaEZejS6mrLwYKUg1ch2RJswTFYgMOwoau+AQsSp/FuDhVZi7J402ifgGla/GJIzGLYG5H4rnKMCUydL9wcsmZSuPikR2QmjQbWqaV2ob2RdMvaLEvFlRiXpYeTwqVOtMZF+qi0dS4uEjJKMvWuYK3S0jHZwaq7BylYp/O2uu3q04lNqudLWEJQd/3paTBz12IaLIPtzE5P1AUuW9TB8NVzaG9/TIfV+eXsWeezz6HWlptEbo4SIAeWur/Y/RZC/gmZTiLzUY2j5ct6fjKsFvxqgyQxE9sbmfYtnJMIciEKo6+FL0wziJmtkzspIcUl0PgWrL7VCKP7hl61U4WLeN+7Ieli2vZhmq0VgjDOgIyhJ62sSpDkWNZa1wiB8WoLlxzy29XpGVPgn1ut5VYcGyRLK7OCiJaDYMrAneJUkZWdw0yDgNm5nDowqLc0Kp581FO7QS4pC9S/YRW9xkVdNOj0ZHCp9anEZw3VEK/fopiDrkMObkcdJtT1g6+uzQ60bIdUPztdWZWy53m+v/zFYPOGHO4AZsalmtJNkyHrCAx1RXX7mt5g1L1pDezpkXv8wJwpVRSSaf2c26Y0rrXXxyWBptu/ovdak+VhkqjGBZUdvKygqANKA/MqZ/36kcGwFn90RnWp66ksKuHgitLFY8BU+F2ZvqpxpMY9qR3YwOUJ12fc0KUHVKdswcKXuwetErCnwvMKuXxfc/3RVJ2yFc+iosQd3X+WGSVz1UiuN2J156FyVyHbsOUp3krezaPUT/VxXqdfwvknb/Zgp+idTxTbrkLqYuKreRnhy65Gf4W0NsDoYiqf6uZsvr8V9eo6XWc5+3TVf/3N1TfeeOONN95444033njjjTfeSI1/IeOYOeO4fGAAAAAASUVORK5CYII=", GA = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADIBAMAAABfdrOtAAAAElBMVEVRUVH+/v5HcEyZmZlRUVFRUVGm1ByOAAAABnRSTlPMzADMTZAJBBGsAAAEnElEQVR42t2cS27jMAyGf7/2U+QCQeDsbeQCgZDujaC5/1UmkzaJn+JDFGcw3LdfflKibJkkDnxrL7dbg7sNt6+L4O8OYBM+B0ys+QrGkHZG+OEEQ8g6go8Bx1GIGMdpNOQyIG6XdMgnSPtKhLQDGEZFBgYMkhKFtGBb0EIEjDgFRowoBVaMGAWpMedEfxMiZtwpUsgZCqtlkCNUdpVAWigtCCCDFtLwIWeoreZCWiRYYEKGFEjDg+yRZCUH0iLRAgNyToXUNCRZyMqWhGnUN2IPm3wSlwJ7IUspyCBkIQUZhCykIIeQuRTkEDKXAuM9srrtYbrZN7Y98giZSoFd+t1OxmMITG0dcrSFXFchZ1tIvQZpYWxhBbK3hpQrkMEa0iwh5t4a+QvZvDXyF7J5a+Qv5PPW21/I5623v5DPW29/IaO3Xv5Clrw1y1/Ikrdm+Qs5svw83yNnSJ5BQb4F/F7EIEJSnThGBAXxkFQfLOviQUE8JAUPsosHBfGQfDAtHhREQ1JxIV00KIgmrnRI84S0yAd5BAXxxJUck0f6Qnwr9qmr6xF5xLMjcwn/iudIEAdWnyjkEXlQKZiRVzoqRyLbgeUKKR8Q4alY7cSnoxzSf2ggsqehKr6YVpcXpOd7H93f60cKhOd7Re2LteUF4eLqiVS1mr0ge4io6C2+soaFkJ7MuuuQs1yITEp9hwwKISIpzR2iESKSIoT0rLNwuVHQqoSIpAQJpGce60vIUSdEIuUqgPTsJ5QFZK8UIpBS8iG94GFrDjlrhfCl8CG96Llxmle4kEr6vKWBPIVo9kqDQSRk9/3cWoikcCFPAd33v4dIChPyEvLzBA6RlEYWke4JEUnhKXkLeUEKxRHJFfKCQHGucIW8IdZSRkLeEGMpYyEjiK2UsZARxFTKRMgYYillImQMMZQyFTKB2EmZCplAuFLIHT8TMoWwpQwiIVMIUwqpZP5bp5CCvCTiQKr5f5lCQN+tPCBn2ZvVDFJwIDUP0m1BYAfZYRNSsCB7BqTbhoARePIxtZ9tgwWkoJcwCalmv3MBAemtO4R6dah2HaKQqj8Zvp9sQDjvJ21+SPCBHPJDDk6QITekEV7gqCC19CpKAym9IMfckKv4olMBCeIrWwVEfvkshzQekO9r9P1/ALk+IG1eSPCDiCJfyG+FyU+A6ZCa/piZDinpz7LpkCv5gdkAEshP5emQhv7onw6pGeULyZCSUYiRDAmMkpJkCKs4JhFSq8p8hJBSVbAkhARV6ZUQoisik0FqXTmcDHLVFfbJIEFXoiiCNMpiSxGkVJaNiiBBWQArgTTaUl4JpNQWJUsgQVteXQg+AKkLxQWFGKW+5J2+eVp4S168X3CF1CltCKdTJ8lb84YK2bUBO+wZW0Pqv9nk4tKu49N45NJC5dMM5tLW5tOg59Jq6NM06dL+abFXwr/RkuvTXJwae1abtE/Dt0/ruksTvs84AZ/BCC4jHnyGVfiM3VBQFANEXEah+Ax18RlP4zNox2dkkM/wI58xTn8yDCXGYCDV3W5RGSajtXyGhG1jbpbjzpwGt/0MJft8jqC7iUbQ/QZaxdnKqcIftwAAAABJRU5ErkJggg==", QA = "2.7.6", JA = 100, XA = "z-paging-error-emit", KA = "z-paging-complete-emit", eI = "z-paging-cache", tI = "zp_index", nI = "zp_unique_index", oI = {}, aI = "Z-PAGING-REFRESHER-TIME-STORAGE-KEY"; let rI = null, iI = !1; const sI = {}; function lI() { return uv(aI) } function cI() { return (new Date).getTime() } function dI(e) { return 1 === (e = e.toString()).length ? "0" + e : e } const uI = { gc: function (e, t) { return () => { if (function () { if (iI) return; oI && Object.keys(oI).length && (rI = oI); !rI && uni.$zp && (rI = uni.$zp.config); rI = rI ? Object.keys(rI).reduce((e, t) => (e[function (e) { return e.replace(/-([a-z])/g, (e, t) => t.toUpperCase()) }(t)] = rI[t], e), {}) : null, iI = !0 }(), !rI) return t; const n = rI[e]; return void 0 === n ? t : n } }, setRefesrherTime: function (e, t) { const n = lI() || {}; n[t] = e, lv(aI, n) }, getRefesrherFormatTimeByKey: function (e, t) { const n = function (e) { const t = lI(); return t && t[e] ? t[e] : null }(e), o = n ? function (e, t) { const n = new Date(e), o = new Date, a = new Date(e).setHours(0, 0, 0, 0), r = (new Date).setHours(0, 0, 0, 0), i = a - r; let s = ""; const l = function (e) { const t = e.getHours(), n = e.getMinutes(); return `${dI(t)}:${dI(n)}` }(n); s = 0 === i ? t.today : -864e5 === i ? t.yesterday : function (e, t = !0) { const n = e.getFullYear(), o = e.getMonth() + 1, a = e.getDate(); return t ? `${n}-${dI(o)}-${dI(a)}` : `${dI(o)}-${dI(a)}` }(n, n.getFullYear() !== o.getFullYear()); return `${s} ${l}` }(n, t) : t.none; return `${t.title}${o}` }, getTouch: function (e) { let t = null; if (e.touches && e.touches.length) t = e.touches[0]; else if (e.changedTouches && e.changedTouches.length) t = e.changedTouches[0]; else { if (!e.datail || e.datail == {}) return { touchX: 0, touchY: 0 }; t = e.datail } return { touchX: t.clientX, touchY: t.clientY } }, getTouchFromZPaging: function e(t) { if (t && t.tagName && "BODY" !== t.tagName && "UNI-PAGE-BODY" !== t.tagName) { const n = t.classList; return n && n.contains("z-paging-content") ? { isFromZp: !0, isPageScroll: n.contains("z-paging-content-page"), isReachedTop: n.contains("z-paging-reached-top"), isUseChatRecordMode: n.contains("z-paging-use-chat-record-mode") } : e(t.parentNode) } return { isFromZp: !1 } }, getParent: function e(t) { return t ? t.$refs.paging ? t : e(t.$parent) : null }, convertToPx: function (e) { if ("[object Number]" === Object.prototype.toString.call(e)) return e; let t = !1; return -1 !== e.indexOf("rpx") || -1 !== e.indexOf("upx") ? (e = e.replace("rpx", "").replace("upx", ""), t = !0) : -1 !== e.indexOf("px") && (e = e.replace("px", "")), isNaN(e) ? 0 : Number(t ? gh(e) : e) }, getTime: cI, getInstanceId: function () { const e = []; for (let t = 0; t < 10; t++)e[t] = "0123456789abcdef".substr(Math.floor(16 * Math.random()), 1); return e.join("") + cI() }, consoleErr: function (e) { console.error(`[z-paging]${e}`) }, delay: function (e, t = JA, n) { const o = setTimeout(e, t); return n && (sI[n] && clearTimeout(sI[n]), sI[n] = o), o }, wait: function (e) { return new Promise(t => { setTimeout(t, e) }) }, addUnit: function (e, t) { if ("[object String]" === Object.prototype.toString.call(e)) { let t = e; t = t.replace("rpx", "").replace("upx", "").replace("px", ""), -1 === e.indexOf("rpx") && -1 === e.indexOf("upx") && -1 !== e.indexOf("px") && (t = 2 * parseFloat(t)), e = t } return "rpx" === t ? e + "rpx" : e / 2 + "px" } }, hI = { LoadingType: { Refresher: 0, LoadingMore: 1 }, Refresher: { Default: 0, ReleaseToRefresh: 1, Loading: 2, Complete: 3 }, More: { Default: 0, Loading: 1, NoMore: 2, Fail: 3 }, QueryFrom: { UserPullDown: 0, Reload: 1, Refresh: 2, LoadingMore: 3 }, CellHeightMode: { Fixed: "fixed", Dynamic: "dynamic" }, CacheMode: { Default: "default", Always: "always" } }, mI = { name: "z-paging-refresh", data: () => ({ R: hI.Refresher, isIos: "ios" === ov().platform, refresherTimeText: "", zTheme: { title: { white: "#efefef", black: "#555555" }, arrow: { white: FA, black: zA }, flower: { white: HA, black: WA }, success: { white: qA, black: UA }, indicator: { white: "#eeeeee", black: "#777777" } } }), props: ["status", "defaultThemeStyle", "defaultText", "pullingText", "refreshingText", "completeText", "defaultImg", "pullingImg", "refreshingImg", "completeImg", "refreshingAnimated", "showUpdateTime", "updateTimeKey", "imgStyle", "titleStyle", "updateTimeStyle", "updateTimeTextMap", "unit"], computed: { ts() { return this.defaultThemeStyle }, statusTextArr() { return this.updateTime(), [this.defaultText, this.pullingText, this.refreshingText, this.completeText] }, currentTitle() { return this.statusTextArr[this.status] || this.defaultText }, leftImageClass() { const e = `zp-r-left-image-pre-size-${this.unit}`; return this.status === this.R.Complete ? e : `zp-r-left-image ${e} ${this.status === this.R.Default ? "zp-r-arrow-down" : "zp-r-arrow-top"}` }, leftImageStyle() { const e = this.showUpdateTime, t = e ? uI.addUnit(36, this.unit) : uI.addUnit(34, this.unit); return { width: t, height: t, "margin-right": e ? uI.addUnit(20, this.unit) : uI.addUnit(9, this.unit) } }, leftImageSrc() { const e = this.R, t = this.status; return t === e.Default ? this.defaultImg ? this.defaultImg : this.zTheme.arrow[this.ts] : t === e.ReleaseToRefresh ? this.pullingImg ? this.pullingImg : this.defaultImg ? this.defaultImg : this.zTheme.arrow[this.ts] : t === e.Loading ? this.refreshingImg ? this.refreshingImg : this.zTheme.flower[this.ts] : t === e.Complete ? this.completeImg ? this.completeImg : this.zTheme.success[this.ts] : "" }, rightTextStyle() { let e = {}; return e.color = this.zTheme.title[this.ts], e["font-size"] = uI.addUnit(30, this.unit), e } }, methods: { addUnit: (e, t) => uI.addUnit(e, t), updateTime() { this.showUpdateTime && (this.refresherTimeText = uI.getRefesrherFormatTimeByKey(this.updateTimeKey, this.updateTimeTextMap)) } } }; const pI = MM(mI, [["render", function (e, t, n, o, a, r) { const i = Mf, s = ny, l = Jg; return Br(), jr(s, { style: { height: "100%" } }, { default: Io(() => [Yr(s, { class: qe(n.showUpdateTime ? "zp-r-container zp-r-container-padding" : "zp-r-container") }, { default: Io(() => [Yr(s, { class: "zp-r-left" }, { default: Io(() => [n.status !== a.R.Loading ? (Br(), jr(i, { key: 0, class: qe(r.leftImageClass), style: Ue([r.leftImageStyle, n.imgStyle]), src: r.leftImageSrc }, null, 8, ["class", "style", "src"])) : (Br(), jr(i, { key: 1, class: qe({ "zp-line-loading-image": n.refreshingAnimated, "zp-r-left-image": !0, "zp-r-left-image-pre-size-rpx": "rpx" === n.unit, "zp-r-left-image-pre-size-px": "px" === n.unit }), style: Ue([r.leftImageStyle, n.imgStyle]), src: r.leftImageSrc }, null, 8, ["class", "style", "src"]))]), _: 1 }), Yr(s, { class: "zp-r-right" }, { default: Io(() => [Yr(l, { class: "zp-r-right-text", style: Ue([r.rightTextStyle, n.titleStyle]) }, { default: Io(() => [Gr(G(r.currentTitle), 1)]), _: 1 }, 8, ["style"]), n.showUpdateTime && a.refresherTimeText.length ? (Br(), jr(l, { key: 0, class: qe(["zp-r-right-text", { "zp-r-right-time-text-rpx": "rpx" === n.unit, "zp-r-right-time-text-px": "px" === n.unit }]), style: Ue([{ color: a.zTheme.title[r.ts] }, n.updateTimeStyle]) }, { default: Io(() => [Gr(G(a.refresherTimeText), 1)]), _: 1 }, 8, ["class", "style"])) : Qr("", !0)]), _: 1 })]), _: 1 }, 8, ["class"])]), _: 1 }) }], ["__scopeId", "data-v-b54f2f26"]]); const fI = MM({ name: "z-paging-load-more", data: () => ({ M: hI.More, zTheme: { title: { white: "#efefef", black: "#a4a4a4" }, line: { white: "#efefef", black: "#eeeeee" }, circleBorder: { white: "#aaaaaa", black: "#c8c8c8" }, circleBorderTop: { white: "#ffffff", black: "#444444" }, flower: { white: HA, black: WA }, indicator: { white: "#eeeeee", black: "#777777" } } }), props: ["zConfig"], computed: { ts() { return this.c.defaultThemeStyle }, c() { return this.zConfig || {} }, ownLoadingMoreText() { return [this.c.defaultText, this.c.loadingText, this.c.noMoreText, this.c.failText][this.finalStatus] }, finalStatus() { return this.c.defaultAsLoading && this.c.status === this.M.Default ? this.M.Loading : this.c.status }, finalLoadingIconType() { return this.c.loadingIconType } }, methods: { doClick() { this.$emit("doClick") } } }, [["render", function (e, t, n, o, a, r) { const i = Jg, s = Mf, l = ny; return Br(), jr(l, { class: qe(["zp-l-container", { "zp-l-container-rpx": "rpx" === r.c.unit, "zp-l-container-px": "px" === r.c.unit }]), style: Ue([r.c.customStyle]), onClick: r.doClick }, { default: Io(() => [r.c.hideContent ? Qr("", !0) : (Br(), $r(Ir, { key: 0 }, [r.c.showNoMoreLine && r.finalStatus === a.M.NoMore ? (Br(), jr(i, { key: 0, class: qe({ "zp-l-line-rpx": "rpx" === r.c.unit, "zp-l-line-px": "px" === r.c.unit }), style: Ue([{ backgroundColor: a.zTheme.line[r.ts] }, r.c.noMoreLineCustomStyle]) }, null, 8, ["class", "style"])) : Qr("", !0), r.finalStatus === a.M.Loading && r.c.loadingIconCustomImage ? (Br(), jr(s, { key: 1, src: r.c.loadingIconCustomImage, style: Ue([r.c.iconCustomStyle]), class: qe({ "zp-l-line-loading-custom-image": !0, "zp-l-line-loading-custom-image-animated": r.c.loadingAnimated, "zp-l-line-loading-custom-image-rpx": "rpx" === r.c.unit, "zp-l-line-loading-custom-image-px": "px" === r.c.unit }) }, null, 8, ["src", "style", "class"])) : Qr("", !0), r.finalStatus !== a.M.Loading || "flower" !== r.finalLoadingIconType || r.c.loadingIconCustomImage.length ? Qr("", !0) : (Br(), jr(s, { key: 2, class: qe({ "zp-line-loading-image": !0, "zp-line-loading-image-rpx": "rpx" === r.c.unit, "zp-line-loading-image-px": "px" === r.c.unit }), style: Ue([r.c.iconCustomStyle]), src: a.zTheme.flower[r.ts] }, null, 8, ["class", "style", "src"])), r.finalStatus !== a.M.Loading || "circle" !== r.finalLoadingIconType || r.c.loadingIconCustomImage.length ? Qr("", !0) : (Br(), jr(i, { key: 3, class: qe(["zp-l-circle-loading-view", { "zp-l-circle-loading-view-rpx": "rpx" === r.c.unit, "zp-l-circle-loading-view-px": "px" === r.c.unit }]), style: Ue([{ borderColor: a.zTheme.circleBorder[r.ts], borderTopColor: a.zTheme.circleBorderTop[r.ts] }, r.c.iconCustomStyle]) }, null, 8, ["class", "style"])), !r.c.isChat || !r.c.chatDefaultAsLoading && r.finalStatus === a.M.Default || r.finalStatus === a.M.Fail ? (Br(), jr(i, { key: 4, class: qe({ "zp-l-text-rpx": "rpx" === r.c.unit, "zp-l-text-px": "px" === r.c.unit }), style: Ue([{ color: a.zTheme.title[r.ts] }, r.c.titleCustomStyle]) }, { default: Io(() => [Gr(G(r.ownLoadingMoreText), 1)]), _: 1 }, 8, ["class", "style"])) : Qr("", !0), r.c.showNoMoreLine && r.finalStatus === a.M.NoMore ? (Br(), jr(i, { key: 5, class: qe({ "zp-l-line-rpx": "rpx" === r.c.unit, "zp-l-line-px": "px" === r.c.unit }), style: Ue([{ backgroundColor: a.zTheme.line[r.ts] }, r.c.noMoreLineCustomStyle]) }, null, 8, ["class", "style"])) : Qr("", !0)], 64))]), _: 1 }, 8, ["class", "style", "onClick"]) }], ["__scopeId", "data-v-9d08e2f6"]]); const gI = MM({ name: "z-paging-empty-view", data: () => ({}), props: { emptyViewText: { type: String, default: "没有数据哦~" }, emptyViewImg: { type: String, default: "" }, showEmptyViewReload: { type: Boolean, default: !1 }, emptyViewReloadText: { type: String, default: "重新加载" }, isLoadFailed: { type: Boolean, default: !1 }, emptyViewStyle: { type: Object, default: function () { return {} } }, emptyViewImgStyle: { type: Object, default: function () { return {} } }, emptyViewTitleStyle: { type: Object, default: function () { return {} } }, emptyViewReloadStyle: { type: Object, default: function () { return {} } }, emptyViewZIndex: { type: Number, default: 9 }, emptyViewFixed: { type: Boolean, default: !0 }, unit: { type: String, default: "rpx" } }, computed: { emptyImg() { return this.isLoadFailed ? ZA : YA }, finalEmptyViewStyle() { return this.emptyViewStyle["z-index"] = this.emptyViewZIndex, this.emptyViewStyle } }, methods: { reloadClick() { this.$emit("reload") }, emptyViewClick() { this.$emit("viewClick") } } }, [["render", function (e, t, n, o, a, r) { const i = Mf, s = Jg, l = ny; return Br(), jr(l, { class: qe({ "zp-container": !0, "zp-container-fixed": n.emptyViewFixed }), style: Ue([r.finalEmptyViewStyle]), onClick: r.emptyViewClick }, { default: Io(() => [Yr(l, { class: "zp-main" }, { default: Io(() => [n.emptyViewImg.length ? (Br(), jr(i, { key: 1, class: qe({ "zp-main-image-rpx": "rpx" === n.unit, "zp-main-image-px": "px" === n.unit }), mode: "aspectFit", style: Ue([n.emptyViewImgStyle]), src: n.emptyViewImg }, null, 8, ["class", "style", "src"])) : (Br(), jr(i, { key: 0, class: qe({ "zp-main-image-rpx": "rpx" === n.unit, "zp-main-image-px": "px" === n.unit }), style: Ue([n.emptyViewImgStyle]), src: r.emptyImg }, null, 8, ["class", "style", "src"])), Yr(s, { class: qe(["zp-main-title", { "zp-main-title-rpx": "rpx" === n.unit, "zp-main-title-px": "px" === n.unit }]), style: Ue([n.emptyViewTitleStyle]) }, { default: Io(() => [Gr(G(n.emptyViewText), 1)]), _: 1 }, 8, ["class", "style"]), n.showEmptyViewReload ? (Br(), jr(s, { key: 2, class: qe({ "zp-main-error-btn": !0, "zp-main-error-btn-rpx": "rpx" === n.unit, "zp-main-error-btn-px": "px" === n.unit }), style: Ue([n.emptyViewReloadStyle]), onClick: ms(r.reloadClick, ["stop"]) }, { default: Io(() => [Gr(G(n.emptyViewReloadText), 1)]), _: 1 }, 8, ["class", "style", "onClick"])) : Qr("", !0)]), _: 1 })]), _: 1 }, 8, ["class", "style", "onClick"]) }], ["__scopeId", "data-v-aa7f03b0"]]), yI = { data: () => ({ systemInfo: null, cssSafeAreaInsetBottom: -1, isReadyDestroy: !1 }), computed: { windowTop() { if (!this.systemInfo) return 0; return document.getElementsByTagName("uni-page-head").length && this.systemInfo.windowTop || 0 }, safeAreaBottom() { if (!this.systemInfo) return 0; let e = 0; return e = Math.max(this.cssSafeAreaInsetBottom, 0), e }, isOldWebView() { try { const e = ov().system.split(" "), t = e[0], n = parseInt(e[1]); if ("iOS" === t && n <= 10 || "Android" === t && n <= 6) return !0 } catch (VR) { return !1 } return !1 }, zSlots() { return this.$slots } }, beforeDestroy() { this.isReadyDestroy = !0 }, unmounted() { this.isReadyDestroy = !0 }, methods: { updateFixedLayout() { this.fixed && this.$nextTick(() => { this.systemInfo = ov() }) }, _getNodeClientRect(e, t = !0, n = !1) { if (this.isReadyDestroy) return Promise.resolve(!1); let o = t ? Xh().in(!0 === t ? this : t) : Xh(); return n ? o.select(e).scrollOffset() : o.select(e).boundingClientRect(), new Promise((e, t) => { o.exec(t => { e(!(!t || "" == t || null == t || !t.length) && t) }) }) }, _updateLeftAndRightWidth(e, t) { this.$nextTick(() => { setTimeout(() => { ["left", "right"].map(n => { this._getNodeClientRect(`.${t}-${n}`).then(t => { this.$set(e, n, t ? t[0].width + "px" : "0px") }) }) }, 0) }) }, _getCssSafeAreaInsetBottom(e) { this._getNodeClientRect(".zp-safe-area-inset-bottom").then(t => { this.cssSafeAreaInsetBottom = t ? t[0].height : -1, t && e && e() }) } } }; function vI() { return Iy() } const bI = { handleQuery: function (e) { try { setTimeout(function () { vI().globalData.zp_handleQueryCallback = e }, 1) } catch (VR) { } }, _handleQuery: function (e, t, n, o) { const a = vI().globalData.zp_handleQueryCallback; return a ? a(e, t, n, o) : [e, t, n] }, handleLanguage2Local: function (e) { try { setTimeout(function () { vI().globalData.zp_handleLanguage2LocalCallback = e }, 1) } catch (VR) { } }, _handleLanguage2Local: function (e, t) { const n = vI().globalData.zp_handleLanguage2LocalCallback; return n ? n(e, t) : t } }, _I = { props: { defaultPageNo: { type: [Number, String], default: uI.gc("defaultPageNo", 1), observer: function (e) { this.pageNo = e } }, defaultPageSize: { type: [Number, String], default: uI.gc("defaultPageSize", 10), validator: e => (e <= 0 && uI.consoleErr("default-page-size必须大于0!"), e > 0) }, dataKey: { type: [Number, String, Object], default: uI.gc("dataKey", null) }, useCache: { type: Boolean, default: uI.gc("useCache", !1) }, cacheKey: { type: String, default: uI.gc("cacheKey", null) }, cacheMode: { type: String, default: uI.gc("cacheMode", hI.CacheMode.Default) }, autowireListName: { type: String, default: uI.gc("autowireListName", "") }, autowireQueryName: { type: String, default: uI.gc("autowireQueryName", "") }, auto: { type: Boolean, default: uI.gc("auto", !0) }, reloadWhenRefresh: { type: Boolean, default: uI.gc("reloadWhenRefresh", !0) }, autoScrollToTopWhenReload: { type: Boolean, default: uI.gc("autoScrollToTopWhenReload", !0) }, autoCleanListWhenReload: { type: Boolean, default: uI.gc("autoCleanListWhenReload", !0) }, showRefresherWhenReload: { type: Boolean, default: uI.gc("showRefresherWhenReload", !1) }, showLoadingMoreWhenReload: { type: Boolean, default: uI.gc("showLoadingMoreWhenReload", !1) }, createdReload: { type: Boolean, default: uI.gc("createdReload", !1) }, localPagingLoadingTime: { type: [Number, String], default: uI.gc("localPagingLoadingTime", 200) }, concat: { type: Boolean, default: uI.gc("concat", !0) }, callNetworkReject: { type: Boolean, default: uI.gc("callNetworkReject", !0) }, value: { type: Array, default: function () { return [] } }, modelValue: { type: Array, default: function () { return [] } } }, data: () => ({ currentData: [], totalData: [], realTotalData: [], totalLocalPagingList: [], dataPromiseResultMap: { reload: null, complete: null, localPaging: null }, isSettingCacheList: !1, pageNo: 1, currentRefreshPageSize: 0, isLocalPaging: !1, isAddedData: !1, isTotalChangeFromAddData: !1, privateConcat: !0, myParentQuery: -1, firstPageLoaded: !1, pagingLoaded: !1, loaded: !1, isUserReload: !0, fromEmptyViewReload: !1, queryFrom: "", listRendering: !1, isHandlingRefreshToPage: !1, isFirstPageAndNoMore: !1, totalDataChangeThrow: !0 }), computed: { pageSize() { return this.defaultPageSize }, finalConcat() { return this.concat && this.privateConcat }, finalUseCache() { return this.useCache && !this.cacheKey && uI.consoleErr("use-cache为true时,必须设置cache-key,否则缓存无效!"), this.useCache && !!this.cacheKey }, finalCacheKey() { return this.cacheKey ? `${eI}-${this.cacheKey}` : null }, isFirstPage() { return this.pageNo === this.defaultPageNo } }, watch: { totalData(e, t) { this._totalDataChange(e, t, this.totalDataChangeThrow), this.totalDataChangeThrow = !0 }, currentData(e, t) { this._currentDataChange(e, t) }, useChatRecordMode(e, t) { e && (this.nLoadingMoreFixedHeight = !1) }, value: { handler(e) { e !== this.totalData && (this.totalDataChangeThrow = !1, this.totalData = e) }, immediate: !0 }, modelValue: { handler(e) { e !== this.totalData && (this.totalDataChangeThrow = !1, this.totalData = e) }, immediate: !0 } }, methods: { complete(e, t = !0) { return this.customNoMore = -1, this.addData(e, t) }, completeByKey(e, t = null, n = !0) { return null !== t && null !== this.dataKey && t !== this.dataKey ? (this.isFirstPage && this.endRefresh(), new Promise(e => e())) : (this.customNoMore = -1, this.addData(e, n)) }, completeByTotal(e, t, n = !0) { if ("undefined" == t) this.customNoMore = -1; else { const o = this._checkDataType(e, n, !1); if (e = o.data, n = o.success, t >= 0 && n) return new Promise((o, a) => { this.$nextTick(() => { let r = !1; let i = (this.pageNo == this.defaultPageNo ? 0 : this.realTotalData.length) + (this.privateConcat ? e.length : 0) - t; i >= 0 && (r = !0, i = this.defaultPageSize - i, this.privateConcat && i > 0 && i < e.length && (e = e.splice(0, i))), this.completeByNoMore(e, r, n).then(e => o(e)).catch(() => a()) }) }) } return this.addData(e, n) }, completeByNoMore(e, t, n = !0) { return "undefined" != t && (this.customNoMore = 1 == t ? 1 : 0), this.addData(e, n) }, completeByError(e) { return this.customerEmptyViewErrorText = e, this.complete(!1) }, addData(e, t = !0) { this.fromCompleteEmit || (this.disabledCompleteEmit = !0, this.fromCompleteEmit = !1); const n = uI.getTime() - this.requestTimeStamp; let o = this.minDelay; this.isFirstPage && this.finalShowRefresherWhenReload && (o = Math.max(400, o)); const a = this.requestTimeStamp > 0 && n < o ? o - n : 0; return this.$nextTick(() => { uI.delay(() => { this._addData(e, t, !1) }, this.delay > 0 ? this.delay : a) }), new Promise((e, t) => { this.dataPromiseResultMap.complete = { resolve: e, reject: t } }) }, addDataFromTop(e, t = !0, n = !0) { let o = !this.isChatRecordModeAndNotInversion; e = "[object Array]" !== Object.prototype.toString.call(e) ? [e] : o ? e.reverse() : e, this.finalUseVirtualList && this._setCellIndex(e, "top"), this.totalData = o ? [...e, ...this.totalData] : [...this.totalData, ...e], t && uI.delay(() => this.useChatRecordMode ? this.scrollToBottom(n) : this.scrollToTop(n)) }, resetTotalData(e) { this.isTotalChangeFromAddData = !0, e = "[object Array]" !== Object.prototype.toString.call(e) ? [e] : e, this.totalData = e }, setLocalPaging(e, t = !0) { return this.isLocalPaging = !0, this.$nextTick(() => { this._addData(e, t, !0) }), new Promise((e, t) => { this.dataPromiseResultMap.localPaging = { resolve: e, reject: t } }) }, reload(e = this.showRefresherWhenReload) { return e && (this.privateShowRefresherWhenReload = e, this.isUserPullDown = !0), this.showLoadingMoreWhenReload || (this.listRendering = !0), this.$nextTick(() => { this._preReload(e, !1) }), new Promise((e, t) => { this.dataPromiseResultMap.reload = { resolve: e, reject: t } }) }, refresh() { return this._handleRefreshWithDisPageNo(this.pageNo - this.defaultPageNo + 1) }, refreshToPage(e) { return this.isHandlingRefreshToPage = !0, this._handleRefreshWithDisPageNo(e + this.defaultPageNo - 1) }, updateCache() { this.finalUseCache && this.totalData.length && this._saveLocalCache(this.totalData.slice(0, Math.min(this.totalData.length, this.pageSize))) }, clean() { this._reload(!0), this._addData([], !0, !1) }, clear() { this.clean() }, _preReload(e = this.showRefresherWhenReload, t = !0, n = 0) { const o = this.finalRefresherEnabled && this.useCustomRefresher; -1 === this.customRefresherHeight && o ? uI.delay(() => { ++n % 10 == 0 && this._updateCustomRefresherHeight(), this._preReload(e, t, n) }, JA / 2) : (this.isUserReload = !0, this.loadingType = hI.LoadingType.Refresher, e ? (this.privateShowRefresherWhenReload = e, this.useCustomRefresher ? this._doRefresherRefreshAnimate() : this.refresherTriggered = !0) : this._refresherEnd(!1, !1, !1, !1), this._reload(!1, t)) }, _reload(e = !1, t = !1, n = !1) { if (this.isAddedData = !1, this.insideOfPaging = -1, this.cacheScrollNodeHeight = -1, this.pageNo = this.defaultPageNo, this._cleanRefresherEndTimeout(), !this.privateShowRefresherWhenReload && !e && this._startLoading(!0), this.firstPageLoaded = !0, this.isTotalChangeFromAddData = !1, this.isSettingCacheList || (this.totalData = []), !e) { this._emitQuery(this.pageNo, this.defaultPageSize, n ? hI.QueryFrom.UserPullDown : hI.QueryFrom.Reload); let e = 0; uI.delay(this._callMyParentQuery, e), !t && this.autoScrollToTopWhenReload && this._scrollToTop(!1) } }, _addData(e, t, n) { this.isAddedData = !0, this.fromEmptyViewReload = !1, this.isTotalChangeFromAddData = !0, this.refresherTriggered = !1, this._endSystemLoadingAndRefresh(); const o = this.isUserPullDown; this.showRefresherUpdateTime && this.isFirstPage && (uI.setRefesrherTime(uI.getTime(), this.refresherUpdateTimeKey), this.$refs.refresh && this.$refs.refresh.updateTime()), !n && o && this.isFirstPage && (this.isUserPullDown = !1), this.isFirstPage ? this.listRendering = !1 : (this.listRendering = !0, this.$nextTick(() => { uI.delay(() => this.listRendering = !1) })); let a = this._checkDataType(e, t, n); e = a.data, t = a.success; let r = JA; if (this.useChatRecordMode && (r = 0), this.loadingForNow = !1, uI.delay(() => { this.pagingLoaded = !0, this.$nextTick(() => { !n && this._refresherEnd(r > 0, !0, o) }) }), this.isFirstPage && (this.isLoadFailed = !t, this.$emit("isLoadFailedChange", this.isLoadFailed), this.finalUseCache && t && (this.cacheMode === hI.CacheMode.Always || this.isSettingCacheList) && this._saveLocalCache(e)), this.isSettingCacheList = !1, t) { if ((!1 !== this.privateConcat || this.isHandlingRefreshToPage || this.loadingStatus !== hI.More.NoMore) && (this.loadingStatus = hI.More.Default), n) { this.totalLocalPagingList = e; const t = this.defaultPageNo, n = this.queryFrom !== hI.QueryFrom.Refresh ? this.defaultPageSize : this.currentRefreshPageSize; this._localPagingQueryList(t, n, 0, e => { this.completeByTotal(e, this.totalLocalPagingList.length) }) } else { let t = 0; uI.delay(() => { this._currentDataChange(e, this.currentData), this._callDataPromise(!0, this.totalData) }, t) } this.isHandlingRefreshToPage && (this.isHandlingRefreshToPage = !1, this.pageNo = this.defaultPageNo + Math.ceil(e.length / this.pageSize) - 1, e.length % this.pageSize !== 0 && (this.customNoMore = 1)) } else this._currentDataChange(e, this.currentData), this._callDataPromise(!1), this.loadingStatus = hI.More.Fail, this.isHandlingRefreshToPage = !1, this.loadingType === hI.LoadingType.LoadingMore && this.pageNo-- }, _totalDataChange(e, t, n = !0) { (this.isUserReload && this.autoCleanListWhenReload || !this.firstPageLoaded || e.length || !t.length) && (this._doCheckScrollViewShouldFullHeight(e), this.realTotalData.length || e.length || (n = !1), this.realTotalData = e, n && (this.$emit("input", e), this.$emit("update:modelValue", e), this.$emit("update:list", e), this.$emit("listChange", e), this._callMyParentList(e)), this.firstPageLoaded = !1, this.isTotalChangeFromAddData = !1, this.$nextTick(() => { uI.delay(() => { this._getNodeClientRect(".zp-paging-container-content").then(e => { e && this.$emit("contentHeightChanged", e[0].height) }) }, JA * (this.isIos ? 1 : 3)) })) }, _currentDataChange(e, t) { e = [...e], this.finalUseVirtualList && this._setCellIndex(e, "bottom"), this.isFirstPage && this.finalConcat && (this.totalData = []), -1 !== this.customNoMore ? (1 === this.customNoMore || 0 !== this.customNoMore && !e.length) && (this.loadingStatus = hI.More.NoMore) : (!e.length || e.length && e.length < this.defaultPageSize) && (this.loadingStatus = hI.More.NoMore), this.totalData.length && this.finalConcat ? (this.oldScrollTop, this.totalData = [...this.totalData, ...e]) : this.totalData = e, this.privateConcat = !0 }, _handleRefreshWithDisPageNo(e) { if (!this.isHandlingRefreshToPage && !this.realTotalData.length) return this.reload(); if (e >= 1) { this.loading = !0, this.privateConcat = !1; const t = e * this.pageSize; this.currentRefreshPageSize = t, this.isLocalPaging && this.isHandlingRefreshToPage ? this._localPagingQueryList(this.defaultPageNo, t, 0, e => { this.complete(e) }) : (this._emitQuery(this.defaultPageNo, t, hI.QueryFrom.Refresh), this._callMyParentQuery(this.defaultPageNo, t)) } return new Promise((e, t) => { this.dataPromiseResultMap.reload = { resolve: e, reject: t } }) }, _localPagingQueryList(e, t, n, o) { e = Math.max(1, e), t = Math.max(1, t); const a = [...this.totalLocalPagingList], r = (e - 1) * t, i = Math.min(a.length, r + t), s = a.splice(r, i - r); uI.delay(() => o(s), n) }, _saveLocalCache(e) { lv(this.finalCacheKey, e) }, _setListByLocalCache() { this.totalData = uv(this.finalCacheKey) || [], this.isSettingCacheList = !0 }, _callMyParentList(e) { if (this.autowireListName.length) { const t = uI.getParent(this.$parent); t && t[this.autowireListName] && (t[this.autowireListName] = e) } }, _callMyParentQuery(e = 0, t = 0) { if (this.autowireQueryName) { if (-1 === this.myParentQuery) { const e = uI.getParent(this.$parent); e && e[this.autowireQueryName] && (this.myParentQuery = e[this.autowireQueryName]) } -1 !== this.myParentQuery && (t > 0 ? this.myParentQuery(e, t) : this.myParentQuery(this.pageNo, this.defaultPageSize)) } }, _emitQuery(e, t, n) { this.queryFrom = n, this.requestTimeStamp = uI.getTime(); const [o] = this.realTotalData.slice(-1); this.$emit("query", ...bI._handleQuery(e, t, n, o || null)) }, _callDataPromise(e, t) { for (const n in this.dataPromiseResultMap) { const o = this.dataPromiseResultMap[n]; o && (e ? o.resolve({ totalList: t, noMore: this.loadingStatus === hI.More.NoMore }) : this.callNetworkReject && o.reject(`z-paging-${n}-error`)) } }, _checkDataType(e, t, n) { const o = Object.prototype.toString.call(e); return "[object Boolean]" === o ? (t = e, e = []) : "[object Array]" !== o && (e = [], "[object Undefined]" !== o && "[object Null]" !== o && uI.consoleErr((n ? "setLocalPaging" : "complete") + "参数类型不正确,第一个参数类型必须为Array!")), { data: e, success: t } } } }, wI = { en: { "zp.refresher.default": "Pull down to refresh", "zp.refresher.pulling": "Release to refresh", "zp.refresher.refreshing": "Refreshing...", "zp.refresher.complete": "Refresh succeeded", "zp.loadingMore.default": "Click to load more", "zp.loadingMore.loading": "Loading...", "zp.loadingMore.noMore": "No more data", "zp.loadingMore.fail": "Load failed,click to reload", "zp.emptyView.title": "No data", "zp.emptyView.reload": "Reload", "zp.emptyView.error": "Sorry,load failed", "zp.refresherUpdateTime.title": "Last update: ", "zp.refresherUpdateTime.none": "None", "zp.refresherUpdateTime.today": "Today", "zp.refresherUpdateTime.yesterday": "Yesterday", "zp.systemLoading.title": "Loading..." }, "zh-Hans": { "zp.refresher.default": "继续下拉刷新", "zp.refresher.pulling": "松开立即刷新", "zp.refresher.refreshing": "正在刷新...", "zp.refresher.complete": "刷新成功", "zp.loadingMore.default": "点击加载更多", "zp.loadingMore.loading": "正在加载...", "zp.loadingMore.noMore": "没有更多了", "zp.loadingMore.fail": "加载失败,点击重新加载", "zp.emptyView.title": "没有数据哦~", "zp.emptyView.reload": "重新加载", "zp.emptyView.error": "很抱歉,加载失败", "zp.refresherUpdateTime.title": "最后更新:", "zp.refresherUpdateTime.none": "无", "zp.refresherUpdateTime.today": "今天", "zp.refresherUpdateTime.yesterday": "昨天", "zp.systemLoading.title": "加载中..." }, "zh-Hant": { "zp.refresher.default": "繼續下拉重繪", "zp.refresher.pulling": "鬆開立即重繪", "zp.refresher.refreshing": "正在重繪...", "zp.refresher.complete": "重繪成功", "zp.loadingMore.default": "點擊加載更多", "zp.loadingMore.loading": "正在加載...", "zp.loadingMore.noMore": "沒有更多了", "zp.loadingMore.fail": "加載失敗,點擊重新加載", "zp.emptyView.title": "沒有數據哦~", "zp.emptyView.reload": "重新加載", "zp.emptyView.error": "很抱歉,加載失敗", "zp.refresherUpdateTime.title": "最後更新:", "zp.refresherUpdateTime.none": "無", "zp.refresherUpdateTime.today": "今天", "zp.refresherUpdateTime.yesterday": "昨天", "zp.systemLoading.title": "加載中..." } }, { t: TI } = hc(wI), xI = ov().language, SI = { data: () => ({ language: xI }), computed: { finalLanguage() { try { const e = em(), t = this.language; return "auto" === e ? bI._handleLanguage2Local(t, this._language2Local(t)) : e } catch (VR) { return "zh-Hans" } }, finalRefresherDefaultText() { return this._getI18nText("zp.refresher.default", this.refresherDefaultText) }, finalRefresherPullingText() { return this._getI18nText("zp.refresher.pulling", this.refresherPullingText) }, finalRefresherRefreshingText() { return this._getI18nText("zp.refresher.refreshing", this.refresherRefreshingText) }, finalRefresherCompleteText() { return this._getI18nText("zp.refresher.complete", this.refresherCompleteText) }, finalRefresherUpdateTimeTextMap: () => ({ title: TI("zp.refresherUpdateTime.title"), none: TI("zp.refresherUpdateTime.none"), today: TI("zp.refresherUpdateTime.today"), yesterday: TI("zp.refresherUpdateTime.yesterday") }), finalLoadingMoreDefaultText() { return this._getI18nText("zp.loadingMore.default", this.loadingMoreDefaultText) }, finalLoadingMoreLoadingText() { return this._getI18nText("zp.loadingMore.loading", this.loadingMoreLoadingText) }, finalLoadingMoreNoMoreText() { return this._getI18nText("zp.loadingMore.noMore", this.loadingMoreNoMoreText) }, finalLoadingMoreFailText() { return this._getI18nText("zp.loadingMore.fail", this.loadingMoreFailText) }, finalEmptyViewText() { return this.isLoadFailed ? this.finalEmptyViewErrorText : this._getI18nText("zp.emptyView.title", this.emptyViewText) }, finalEmptyViewReloadText() { return this._getI18nText("zp.emptyView.reload", this.emptyViewReloadText) }, finalEmptyViewErrorText() { return this.customerEmptyViewErrorText || this._getI18nText("zp.emptyView.error", this.emptyViewErrorText) }, finalSystemLoadingText() { return this._getI18nText("zp.systemLoading.title", this.systemLoadingText) } }, methods: { getLanguage() { return this.finalLanguage }, _getI18nText(e, t) { const n = Object.prototype.toString.call(t); if ("[object Object]" === n) { const e = t[this.finalLanguage]; if (e) return e } else if ("[object String]" === n) return t; return TI(e) }, _language2Local(e) { const t = e.toLowerCase().replace(new RegExp("_", ""), "-"); return -1 !== t.indexOf("zh") ? "zh" === t || "zh-cn" === t || -1 !== t.indexOf("zh-hans") ? "zh-Hans" : "zh-Hant" : -1 !== t.indexOf("en") ? "en" : e } } }, CI = { props: {}, data: () => ({ nRefresherLoading: !1, nListIsDragging: !1, nShowBottom: !0, nFixFreezing: !1, nShowRefresherReveal: !1, nLoadingMoreFixedHeight: !1, nShowRefresherRevealHeight: 0, nOldShowRefresherRevealHeight: -1, nRefresherWidth: gh(750) }), computed: {}, mounted() { }, methods: {} }, kI = { props: { hideEmptyView: { type: Boolean, default: uI.gc("hideEmptyView", !1) }, emptyViewText: { type: [String, Object], default: uI.gc("emptyViewText", null) }, showEmptyViewReload: { type: Boolean, default: uI.gc("showEmptyViewReload", !1) }, showEmptyViewReloadWhenError: { type: Boolean, default: uI.gc("showEmptyViewReloadWhenError", !0) }, emptyViewReloadText: { type: [String, Object], default: uI.gc("emptyViewReloadText", null) }, emptyViewImg: { type: String, default: uI.gc("emptyViewImg", "") }, emptyViewErrorText: { type: [String, Object], default: uI.gc("emptyViewErrorText", null) }, emptyViewErrorImg: { type: String, default: uI.gc("emptyViewErrorImg", "") }, emptyViewStyle: { type: Object, default: uI.gc("emptyViewStyle", {}) }, emptyViewSuperStyle: { type: Object, default: uI.gc("emptyViewSuperStyle", {}) }, emptyViewImgStyle: { type: Object, default: uI.gc("emptyViewImgStyle", {}) }, emptyViewTitleStyle: { type: Object, default: uI.gc("emptyViewTitleStyle", {}) }, emptyViewReloadStyle: { type: Object, default: uI.gc("emptyViewReloadStyle", {}) }, emptyViewFixed: { type: Boolean, default: uI.gc("emptyViewFixed", !1) }, emptyViewCenter: { type: Boolean, default: uI.gc("emptyViewCenter", !0) }, autoHideEmptyViewWhenLoading: { type: Boolean, default: uI.gc("autoHideEmptyViewWhenLoading", !0) }, autoHideEmptyViewWhenPull: { type: Boolean, default: uI.gc("autoHideEmptyViewWhenPull", !0) }, emptyViewZIndex: { type: Number, default: uI.gc("emptyViewZIndex", 9) } }, data: () => ({ customerEmptyViewErrorText: "" }), computed: { finalEmptyViewImg() { return this.isLoadFailed ? this.emptyViewErrorImg : this.emptyViewImg }, finalShowEmptyViewReload() { return this.isLoadFailed ? this.showEmptyViewReloadWhenError : this.showEmptyViewReload }, showEmpty() { return !(this.refresherOnly || this.hideEmptyView || this.realTotalData.length) && (!this.autoHideEmptyViewWhenLoading || (!(!this.isAddedData || this.firstPageLoaded || this.loading) || !this.autoHideEmptyViewWhenPull && !this.isUserReload)) } }, methods: { _emptyViewReload() { let e = !1; this.$emit("emptyViewReload", t => { void 0 !== t && !0 !== t || (this.fromEmptyViewReload = !0, this.reload().catch(() => { })), e = !0 }), this.$nextTick(() => { e || (this.fromEmptyViewReload = !0, this.reload().catch(() => { })) }) }, _emptyViewClick() { this.$emit("emptyViewClick") } } }, MI = { props: { refresherThemeStyle: { type: String, default: uI.gc("refresherThemeStyle", "") }, refresherImgStyle: { type: Object, default: uI.gc("refresherImgStyle", {}) }, refresherTitleStyle: { type: Object, default: uI.gc("refresherTitleStyle", {}) }, refresherUpdateTimeStyle: { type: Object, default: uI.gc("refresherUpdateTimeStyle", {}) }, watchRefresherTouchmove: { type: Boolean, default: uI.gc("watchRefresherTouchmove", !1) }, loadingMoreThemeStyle: { type: String, default: uI.gc("loadingMoreThemeStyle", "") }, refresherOnly: { type: Boolean, default: uI.gc("refresherOnly", !1) }, refresherDefaultDuration: { type: [Number, String], default: uI.gc("refresherDefaultDuration", 100) }, refresherCompleteDelay: { type: [Number, String], default: uI.gc("refresherCompleteDelay", 0) }, refresherCompleteDuration: { type: [Number, String], default: uI.gc("refresherCompleteDuration", 300) }, refresherCompleteScrollable: { type: Boolean, default: uI.gc("refresherCompleteScrollable", !1) }, useCustomRefresher: { type: Boolean, default: uI.gc("useCustomRefresher", !0) }, refresherFps: { type: [Number, String], default: uI.gc("refresherFps", 40) }, refresherMaxAngle: { type: [Number, String], default: uI.gc("refresherMaxAngle", 40) }, refresherAngleEnableChangeContinued: { type: Boolean, default: uI.gc("refresherAngleEnableChangeContinued", !1) }, refresherDefaultText: { type: [String, Object], default: uI.gc("refresherDefaultText", null) }, refresherPullingText: { type: [String, Object], default: uI.gc("refresherPullingText", null) }, refresherRefreshingText: { type: [String, Object], default: uI.gc("refresherRefreshingText", null) }, refresherCompleteText: { type: [String, Object], default: uI.gc("refresherCompleteText", null) }, refresherDefaultImg: { type: String, default: uI.gc("refresherDefaultImg", null) }, refresherPullingImg: { type: String, default: uI.gc("refresherPullingImg", null) }, refresherRefreshingImg: { type: String, default: uI.gc("refresherRefreshingImg", null) }, refresherCompleteImg: { type: String, default: uI.gc("refresherCompleteImg", null) }, refresherRefreshingAnimated: { type: Boolean, default: uI.gc("refresherRefreshingAnimated", !0) }, refresherEndBounceEnabled: { type: Boolean, default: uI.gc("refresherEndBounceEnabled", !0) }, refresherEnabled: { type: Boolean, default: uI.gc("refresherEnabled", !0) }, refresherThreshold: { type: [Number, String], default: uI.gc("refresherThreshold", "80rpx") }, refresherDefaultStyle: { type: String, default: uI.gc("refresherDefaultStyle", "black") }, refresherBackground: { type: String, default: uI.gc("refresherBackground", "transparent") }, refresherFixedBackground: { type: String, default: uI.gc("refresherFixedBackground", "transparent") }, refresherFixedBacHeight: { type: [Number, String], default: uI.gc("refresherFixedBacHeight", 0) }, refresherOutRate: { type: Number, default: uI.gc("refresherOutRate", .65) }, refresherPullRate: { type: Number, default: uI.gc("refresherPullRate", .75) }, showRefresherUpdateTime: { type: Boolean, default: uI.gc("showRefresherUpdateTime", !1) }, refresherUpdateTimeKey: { type: String, default: uI.gc("refresherUpdateTimeKey", "default") }, refresherVibrate: { type: Boolean, default: uI.gc("refresherVibrate", !1) }, refresherNoTransform: { type: Boolean, default: uI.gc("refresherNoTransform", !1) }, useRefresherStatusBarPlaceholder: { type: Boolean, default: uI.gc("useRefresherStatusBarPlaceholder", !1) } }, data: () => ({ R: hI.Refresher, refresherStatus: hI.Refresher.Default, refresherTouchstartY: 0, lastRefresherTouchmove: null, refresherReachMaxAngle: !0, refresherTransform: "translateY(0px)", refresherTransition: "", finalRefresherDefaultStyle: "black", refresherRevealStackCount: 0, refresherCompleteTimeout: null, refresherCompleteSubTimeout: null, refresherEndTimeout: null, isTouchmovingTimeout: null, refresherTriggered: !1, isTouchmoving: !1, isTouchEnded: !1, isUserPullDown: !1, privateRefresherEnabled: -1, privateShowRefresherWhenReload: !1, customRefresherHeight: -1, showCustomRefresher: !1, doRefreshAnimateAfter: !1, isRefresherInComplete: !1, pullDownTimeStamp: 0, moveDis: 0, oldMoveDis: 0, currentDis: 0, oldCurrentMoveDis: 0, oldRefresherTouchmoveY: 0, oldTouchDirection: "", oldEmitedTouchDirection: "", oldPullingDistance: -1, refresherThresholdUpdateTag: 0 }), watch: { refresherDefaultStyle: { handler(e) { e.length && (this.finalRefresherDefaultStyle = e) }, immediate: !0 }, refresherStatus(e) { e === hI.Refresher.Loading && this._cleanRefresherEndTimeout(), this.refresherVibrate && e === hI.Refresher.ReleaseToRefresh && this._doVibrateShort(), this.$emit("refresherStatusChange", e), this.$emit("update:refresherStatus", e) }, refresherEnabled(e) { !e && this.endRefresh() } }, computed: { pullDownDisTimeStamp() { return 1e3 / this.refresherFps }, refresherThresholdUnitConverted() { return uI.addUnit(this.refresherThreshold, this.unit) }, finalRefresherEnabled() { return !this.useChatRecordMode && (-1 === this.privateRefresherEnabled ? this.refresherEnabled : 1 === this.privateRefresherEnabled) }, finalRefresherThreshold() { let e = this.refresherThresholdUnitConverted, t = !1; return e === uI.addUnit(80, this.unit) && (t = !0, this.showRefresherUpdateTime && (e = uI.addUnit(120, this.unit))), t && this.customRefresherHeight > 0 ? this.customRefresherHeight + this.finalRefresherThresholdPlaceholder : uI.convertToPx(e) + this.finalRefresherThresholdPlaceholder }, finalRefresherThresholdPlaceholder() { return this.useRefresherStatusBarPlaceholder ? this.statusBarHeight : 0 }, finalRefresherFixedBacHeight() { return uI.convertToPx(this.refresherFixedBacHeight) }, finalRefresherThemeStyle() { return this.refresherThemeStyle.length ? this.refresherThemeStyle : this.defaultThemeStyle }, finalRefresherOutRate() { let e = this.refresherOutRate; return e = Math.max(0, e), e = Math.min(1, e), e }, finalRefresherPullRate() { let e = this.refresherPullRate; return e = Math.max(0, e), e }, finalRefresherTransform() { return this.refresherNoTransform || "translateY(0px)" === this.refresherTransform ? "none" : this.refresherTransform }, finalShowRefresherWhenReload() { return this.showRefresherWhenReload || this.privateShowRefresherWhenReload }, finalRefresherTriggered() { return !(!this.finalRefresherEnabled || this.useCustomRefresher) && this.refresherTriggered }, showRefresher() { const e = this.finalRefresherEnabled && this.useCustomRefresher; return this.active && -1 === this.customRefresherHeight && e && this.updateCustomRefresherHeight(), e }, hasTouchmove() { return this.watchRefresherTouchmove } }, methods: { endRefresh() { this.totalData = this.realTotalData, this._refresherEnd(), this._endSystemLoadingAndRefresh(), this._handleScrollViewBounce({ bounce: !0 }), this.$nextTick(() => { this.refresherTriggered = !1 }) }, updateCustomRefresherHeight() { uI.delay(() => this.$nextTick(this._updateCustomRefresherHeight)) }, _onRefresh(e = !1, t = !0) { (!e || this.finalRefresherEnabled && !this.useCustomRefresher) && (this.$emit("onRefresh"), this.$emit("Refresh"), this.loading || this.isRefresherInComplete || (this.loadingType = hI.LoadingType.Refresher, this.nShowRefresherReveal || (this.isUserPullDown = t, this.isUserReload = !t, this._startLoading(!0), this.refresherTriggered = !0, this.reloadWhenRefresh && t && (this.useChatRecordMode ? this._onLoadingMore("click") : this._reload(!1, !1, t))))) }, _onRestore() { this.refresherTriggered = "restore", this.$emit("onRestore"), this.$emit("Restore") }, _handleRefresherTouchstart(e) { !this.loading && this.isTouchEnded && (this.isTouchmoving = !1), this.loadingType = hI.LoadingType.Refresher, this.isTouchmovingTimeout && clearTimeout(this.isTouchmovingTimeout), this.isTouchEnded = !1, this.refresherTransition = "", this.refresherTouchstartY = e.touchY, this.$emit("refresherTouchstart", this.refresherTouchstartY), this.lastRefresherTouchmove = e, this._cleanRefresherCompleteTimeout(), this._cleanRefresherEndTimeout() }, _handleRefresherTouchmove(e, t) { this.refresherReachMaxAngle = !0, this.isTouchmovingTimeout && clearTimeout(this.isTouchmovingTimeout), this.isTouchmoving = !0, this.isTouchEnded = !1, this.refresherStatus = e >= this.finalRefresherThreshold ? hI.Refresher.ReleaseToRefresh : this.refresherStatus = hI.Refresher.Default, this.moveDis = e }, _handleRefresherTouchend(e) { this.isTouchmovingTimeout && clearTimeout(this.isTouchmovingTimeout), this.refresherReachMaxAngle = !0, this.isTouchEnded = !0; const t = this.finalRefresherThreshold; e >= t && this.refresherStatus === hI.Refresher.ReleaseToRefresh ? (uI.delay(() => { this._emitTouchmove({ pullingDistance: t, dy: this.moveDis - t }) }, .1), this.moveDis = t, this.refresherStatus = hI.Refresher.Loading, this._doRefresherLoad()) : (this._refresherEnd(), this.isTouchmovingTimeout = uI.delay(() => { this.isTouchmoving = !1 }, this.refresherDefaultDuration)), this.scrollEnable = !0, this.$emit("refresherTouchend", e) }, _handleListTouchstart() { this.useChatRecordMode && this.autoHideKeyboardWhenChat && (mv(), this.$emit("hidedKeyboard")) }, _handleScrollViewBounce({ bounce: e }) { this.usePageScroll || this.scrollToTopBounceEnabled || (this.wxsScrollTop <= 5 ? (this.refresherTransition = "", this.scrollEnable = e) : e && (this.scrollEnable = e)) }, _handleWxsPullingDownStatusChange(e) { this.wxsOnPullingDown = e, e && !this.useChatRecordMode && (this.renderPropScrollTop = 0) }, _handleWxsPullingDown({ moveDis: e, diffDis: t }) { this._emitTouchmove({ pullingDistance: e, dy: t }) }, _handleTouchDirectionChange({ direction: e }) { this.$emit("touchDirectionChange", e) }, _handlePropUpdate() { this.wxsPropType = uI.getTime().toString() }, _refresherEnd(e = !0, t = !1, n = !1, o = !0) { if (this.loadingType === hI.LoadingType.Refresher) { const e = t && (n || this.showRefresherWhenReload) ? this.refresherCompleteDelay : 0, o = e > 0 ? hI.Refresher.Complete : hI.Refresher.Default; if (this.finalShowRefresherWhenReload) { const e = this.refresherRevealStackCount; if (this.refresherRevealStackCount--, e > 1) return } this._cleanRefresherEndTimeout(), this.refresherEndTimeout = uI.delay(() => { this.refresherStatus = o }, this.refresherStatus !== hI.Refresher.Default && o === hI.Refresher.Default ? this.refresherCompleteDuration : 0), e > 0 && (this.isRefresherInComplete = !0), this._cleanRefresherCompleteTimeout(), this.refresherCompleteTimeout = uI.delay(() => { let e = 1; const n = this.refresherEndBounceEnabled && t ? "cubic-bezier(0.19,1.64,0.42,0.72)" : "linear"; t && (e = this.refresherEndBounceEnabled ? this.refresherCompleteDuration / 1e3 : this.refresherCompleteDuration / 3e3), this.refresherTransition = `transform ${t ? e : this.refresherDefaultDuration / 1e3}s ${n}`, this.wxsPropType = this.refresherTransition + "end" + uI.getTime(), this.moveDis = 0, o === hI.Refresher.Complete && (this.refresherCompleteSubTimeout && (clearTimeout(this.refresherCompleteSubTimeout), this.refresherCompleteSubTimeout = null), this.refresherCompleteSubTimeout = uI.delay(() => { this.$nextTick(() => { this.refresherStatus = hI.Refresher.Default, this.isRefresherInComplete = !1 }) }, 800 * e)), this._emitTouchmove({ pullingDistance: 0, dy: this.moveDis }) }, e) } o && (uI.delay(() => this.loading = !1, e ? JA : 0), n && this._onRestore()) }, _doRefresherRefreshAnimate() { this._cleanRefresherCompleteTimeout(); !this.doRefreshAnimateAfter && this.finalShowRefresherWhenReload && -1 === this.customRefresherHeight && this.refresherThreshold === uI.addUnit(80, this.unit) ? this.doRefreshAnimateAfter = !0 : (this.refresherRevealStackCount++, this.wxsPropType = "begin" + uI.getTime(), this.moveDis = this.finalRefresherThreshold, this.refresherStatus = hI.Refresher.Loading, this.isTouchmoving = !0, this.isTouchmovingTimeout && clearTimeout(this.isTouchmovingTimeout), this._doRefresherLoad(!1)) }, _doRefresherLoad(e = !0) { this._onRefresh(!1, e), this.loading = !0 }, _updateCustomRefresherHeight() { this._getNodeClientRect(".zp-custom-refresher-slot-view").then(e => { this.customRefresherHeight = e ? e[0].height : 0, this.showCustomRefresher = this.customRefresherHeight > 0, this.doRefreshAnimateAfter && (this.doRefreshAnimateAfter = !1, this._doRefresherRefreshAnimate()) }) }, _emitTouchmove(e) { e.viewHeight = this.finalRefresherThreshold, e.rate = e.viewHeight > 0 ? e.pullingDistance / e.viewHeight : 0, this.hasTouchmove && this.oldPullingDistance !== e.pullingDistance && this.$emit("refresherTouchmove", e), this.oldPullingDistance = e.pullingDistance }, _cleanRefresherCompleteTimeout() { this.refresherCompleteTimeout = this._cleanTimeout(this.refresherCompleteTimeout) }, _cleanRefresherEndTimeout() { this.refresherEndTimeout = this._cleanTimeout(this.refresherEndTimeout) } } }, AI = { props: { loadingMoreCustomStyle: { type: Object, default: uI.gc("loadingMoreCustomStyle", {}) }, loadingMoreTitleCustomStyle: { type: Object, default: uI.gc("loadingMoreTitleCustomStyle", {}) }, loadingMoreLoadingIconCustomStyle: { type: Object, default: uI.gc("loadingMoreLoadingIconCustomStyle", {}) }, loadingMoreLoadingIconType: { type: String, default: uI.gc("loadingMoreLoadingIconType", "flower") }, loadingMoreLoadingIconCustomImage: { type: String, default: uI.gc("loadingMoreLoadingIconCustomImage", "") }, loadingMoreLoadingAnimated: { type: Boolean, default: uI.gc("loadingMoreLoadingAnimated", !0) }, loadingMoreEnabled: { type: Boolean, default: uI.gc("loadingMoreEnabled", !0) }, toBottomLoadingMoreEnabled: { type: Boolean, default: uI.gc("toBottomLoadingMoreEnabled", !0) }, loadingMoreDefaultAsLoading: { type: Boolean, default: uI.gc("loadingMoreDefaultAsLoading", !1) }, loadingMoreDefaultText: { type: [String, Object], default: uI.gc("loadingMoreDefaultText", null) }, loadingMoreLoadingText: { type: [String, Object], default: uI.gc("loadingMoreLoadingText", null) }, loadingMoreNoMoreText: { type: [String, Object], default: uI.gc("loadingMoreNoMoreText", null) }, loadingMoreFailText: { type: [String, Object], default: uI.gc("loadingMoreFailText", null) }, hideNoMoreInside: { type: Boolean, default: uI.gc("hideNoMoreInside", !1) }, hideNoMoreByLimit: { type: Number, default: uI.gc("hideNoMoreByLimit", 0) }, showDefaultLoadingMoreText: { type: Boolean, default: uI.gc("showDefaultLoadingMoreText", !0) }, showLoadingMoreNoMoreView: { type: Boolean, default: uI.gc("showLoadingMoreNoMoreView", !0) }, showLoadingMoreNoMoreLine: { type: Boolean, default: uI.gc("showLoadingMoreNoMoreLine", !0) }, loadingMoreNoMoreLineCustomStyle: { type: Object, default: uI.gc("loadingMoreNoMoreLineCustomStyle", {}) }, insideMore: { type: Boolean, default: uI.gc("insideMore", !1) }, lowerThreshold: { type: [Number, String], default: uI.gc("lowerThreshold", "100rpx") } }, data: () => ({ M: hI.More, loadingStatus: hI.More.Default, loadingStatusAfterRender: hI.More.Default, loadingMoreTimeStamp: 0, loadingMoreDefaultSlot: null, showLoadingMore: !1, customNoMore: -1 }), computed: { zLoadMoreConfig() { return { status: this.loadingStatusAfterRender, defaultAsLoading: this.loadingMoreDefaultAsLoading || this.useChatRecordMode && this.chatLoadingMoreDefaultAsLoading, defaultThemeStyle: this.finalLoadingMoreThemeStyle, customStyle: this.loadingMoreCustomStyle, titleCustomStyle: this.loadingMoreTitleCustomStyle, iconCustomStyle: this.loadingMoreLoadingIconCustomStyle, loadingIconType: this.loadingMoreLoadingIconType, loadingIconCustomImage: this.loadingMoreLoadingIconCustomImage, loadingAnimated: this.loadingMoreLoadingAnimated, showNoMoreLine: this.showLoadingMoreNoMoreLine, noMoreLineCustomStyle: this.loadingMoreNoMoreLineCustomStyle, defaultText: this.finalLoadingMoreDefaultText, loadingText: this.finalLoadingMoreLoadingText, noMoreText: this.finalLoadingMoreNoMoreText, failText: this.finalLoadingMoreFailText, hideContent: !this.loadingMoreDefaultAsLoading && this.listRendering, unit: this.unit, isChat: this.useChatRecordMode, chatDefaultAsLoading: this.chatLoadingMoreDefaultAsLoading } }, finalLoadingMoreThemeStyle() { return this.loadingMoreThemeStyle.length ? this.loadingMoreThemeStyle : this.defaultThemeStyle }, finalLowerThreshold() { return uI.convertToPx(this.lowerThreshold) }, showLoadingMoreDefault() { return this._showLoadingMore("Default") }, showLoadingMoreLoading() { return this._showLoadingMore("Loading") }, showLoadingMoreNoMore() { return this._showLoadingMore("NoMore") }, showLoadingMoreFail() { return this._showLoadingMore("Fail") }, showLoadingMoreCustom() { return this._showLoadingMore("Custom") } }, methods: { pageReachBottom() { !this.useChatRecordMode && this._onLoadingMore("toBottom") }, doLoadMore(e) { this._onLoadingMore(e) }, _checkScrolledToBottom(e, t = !1) { -1 === this.cacheScrollNodeHeight ? this._getNodeClientRect(".zp-scroll-view").then(t => { if (t) { const n = t[0].height; this.cacheScrollNodeHeight = n, e - n <= this.finalLowerThreshold && this._onLoadingMore("toBottom") } }) : (e - this.cacheScrollNodeHeight <= this.finalLowerThreshold ? this._onLoadingMore("toBottom") : e - this.cacheScrollNodeHeight <= 500 && !t && uI.delay(() => { this._getNodeClientRect(".zp-scroll-view", !0, !0).then(e => { if (e) { this.oldScrollTop = e[0].scrollTop; const t = e[0].scrollHeight - this.oldScrollTop; this._checkScrolledToBottom(t, !0) } }) }, 150, "checkScrolledToBottomDelay"), this.oldScrollTop <= 150 && 0 !== this.oldScrollTop && uI.delay(() => { 0 !== this.oldScrollTop && this._getNodeClientRect(".zp-scroll-view", !0, !0).then(e => { e && 0 === e[0].scrollTop && 0 !== this.oldScrollTop && this._onScrollToUpper() }) }, 150, "checkScrolledToTopDelay")) }, _onLoadingMore(e = "click") { this.isIos && "toBottom" === e && !this.scrollToBottomBounceEnabled && this.scrollEnable && (this.scrollEnable = !1, this.$nextTick(() => { this.scrollEnable = !0 })), this.$emit("scrolltolower", e), this.refresherOnly || !this.loadingMoreEnabled || this.loadingStatus !== hI.More.Default && this.loadingStatus !== hI.More.Fail || this.loading || this.showEmpty || this._doLoadingMore() }, _doLoadingMore() { this.pageNo >= this.defaultPageNo && this.loadingStatus !== hI.More.NoMore && (this.pageNo++, this._startLoading(!1), this.isLocalPaging ? this._localPagingQueryList(this.pageNo, this.defaultPageSize, this.localPagingLoadingTime, e => { this.completeByTotal(e, this.totalLocalPagingList.length) }) : (this._emitQuery(this.pageNo, this.defaultPageSize, hI.QueryFrom.LoadingMore), this._callMyParentQuery()), this.loadingType = hI.LoadingType.LoadingMore) }, _preCheckShowNoMoreInside(e, t, n) { this.loadingStatus === hI.More.NoMore && this.hideNoMoreByLimit > 0 && e.length ? this.showLoadingMore = e.length > this.hideNoMoreByLimit : this.loadingStatus === hI.More.NoMore && this.hideNoMoreInside && e.length || this.insideMore && !1 !== this.insideOfPaging && e.length ? (this.$nextTick(() => { this._checkShowNoMoreInside(e, t, n) }), this.insideMore && !1 !== this.insideOfPaging && e.length && (this.showLoadingMore = e.length)) : this.showLoadingMore = e.length }, async _checkShowNoMoreInside(e, t, n) { try { const e = t || await this._getNodeClientRect(".zp-scroll-view"); if (this.usePageScroll) { if (e) { const t = e[0].top + e[0].height; this.insideOfPaging = t < this.windowHeight, this.hideNoMoreInside && (this.showLoadingMore = !this.insideOfPaging), this._updateInsideOfPaging() } } else { const t = n || await this._getNodeClientRect(".zp-paging-container-content"), o = t ? t[0].height : 0, a = e ? e[0].height : 0; this.insideOfPaging = o < a, this.hideNoMoreInside && (this.showLoadingMore = !this.insideOfPaging), this._updateInsideOfPaging() } } catch (VR) { this.insideOfPaging = !e.length, this.hideNoMoreInside && (this.showLoadingMore = !this.insideOfPaging), this._updateInsideOfPaging() } }, _showLoadingMore(e) { if (!this.showLoadingMoreWhenReload && (this.loadingStatus === hI.More.Default && !this.nShowBottom || !this.realTotalData.length)) return !1; if ((!this.showLoadingMoreWhenReload || this.isUserPullDown || this.loadingStatus !== hI.More.Loading) && !this.showLoadingMore || !this.loadingMoreEnabled && (!this.showLoadingMoreWhenReload || this.isUserPullDown || this.loadingStatus !== hI.More.Loading) || this.refresherOnly) return !1; if (this.useChatRecordMode && "Loading" !== e) return !1; if (!this.zSlots) return !1; if ("Custom" === e) return this.showDefaultLoadingMoreText && !(this.loadingStatus === hI.More.NoMore && !this.showLoadingMoreNoMoreView); return this.loadingStatus === hI.More[e] && this.zSlots[`loadingMore${e}`] && ("NoMore" !== e || this.showLoadingMoreNoMoreView) } } }, II = { props: { autoHideLoadingAfterFirstLoaded: { type: Boolean, default: uI.gc("autoHideLoadingAfterFirstLoaded", !0) }, loadingFullFixed: { type: Boolean, default: uI.gc("loadingFullFixed", !1) }, autoShowSystemLoading: { type: Boolean, default: uI.gc("autoShowSystemLoading", !1) }, systemLoadingMask: { type: Boolean, default: uI.gc("systemLoadingMask", !0) }, systemLoadingText: { type: [String, Object], default: uI.gc("systemLoadingText", null) } }, data: () => ({ loading: !1, loadingForNow: !1 }), watch: { loadingStatus(e) { this.$emit("loadingStatusChange", e), this.$nextTick(() => { this.loadingStatusAfterRender = e }), !this.useChatRecordMode || !this.isFirstPage || e !== hI.More.NoMore && e !== hI.More.Fail ? this.isFirstPageAndNoMore = !1 : this.isFirstPageAndNoMore = !0 }, loading(e) { e && (this.loadingForNow = e) } }, computed: { showLoading() { return !(this.firstPageLoaded || !this.loading || !this.loadingForNow) && (this.finalShowSystemLoading && fb({ title: this.finalSystemLoadingText, mask: this.systemLoadingMask }), this.autoHideLoadingAfterFirstLoaded ? !!this.fromEmptyViewReload || !this.pagingLoaded : this.loadingType === hI.LoadingType.Refresher) }, finalShowSystemLoading() { return this.autoShowSystemLoading && this.loadingType === hI.LoadingType.Refresher } }, methods: { _startLoading(e = !1) { (this.showLoadingMoreWhenReload && !this.isUserPullDown || !e) && (this.loadingStatus = hI.More.Loading), this.loading = !0 }, _endSystemLoadingAndRefresh() { this.finalShowSystemLoading && yb(), !this.useCustomRefresher && Cb() } } }, RI = { props: { useChatRecordMode: { type: Boolean, default: uI.gc("useChatRecordMode", !1) }, chatRecordMoreOffset: { type: [Number, String], default: uI.gc("chatRecordMoreOffset", "0rpx") }, autoHideKeyboardWhenChat: { type: Boolean, default: uI.gc("autoHideKeyboardWhenChat", !0) }, autoAdjustPositionWhenChat: { type: Boolean, default: uI.gc("autoAdjustPositionWhenChat", !0) }, chatAdjustPositionOffset: { type: [Number, String], default: uI.gc("chatAdjustPositionOffset", "0rpx") }, autoToBottomWhenChat: { type: Boolean, default: uI.gc("autoToBottomWhenChat", !1) }, showChatLoadingWhenReload: { type: Boolean, default: uI.gc("showChatLoadingWhenReload", !1) }, chatLoadingMoreDefaultAsLoading: { type: Boolean, default: uI.gc("chatLoadingMoreDefaultAsLoading", !0) } }, data: () => ({ keyboardHeight: 0, isKeyboardHeightChanged: !1 }), computed: { finalChatRecordMoreOffset() { return uI.convertToPx(this.chatRecordMoreOffset) }, finalChatAdjustPositionOffset() { return uI.convertToPx(this.chatAdjustPositionOffset) }, chatRecordRotateStyle() { let e; return e = this.useChatRecordMode ? { transform: "scaleY(-1)" } : {}, this.$emit("update:cellStyle", e), this.$emit("cellStyleChange", e), this.$nextTick(() => { this.isFirstPage && this.isChatRecordModeAndNotInversion && this.$nextTick(() => { this._scrollToBottom(!1), uI.delay(() => { this._scrollToBottom(!1), uI.delay(() => { this._scrollToBottom(!1) }, 50) }, 50) }) }), e }, isChatRecordModeHasTransform() { return this.useChatRecordMode && this.chatRecordRotateStyle && this.chatRecordRotateStyle.transform }, isChatRecordModeAndNotInversion() { return this.isChatRecordModeHasTransform && "scaleY(1)" === this.chatRecordRotateStyle.transform }, isChatRecordModeAndInversion() { return this.isChatRecordModeHasTransform && "scaleY(-1)" === this.chatRecordRotateStyle.transform }, chatRecordModeSafeAreaBottom() { return this.safeAreaInsetBottom && !this.keyboardHeight ? this.safeAreaBottom : 0 } }, mounted() { }, methods: { addChatRecordData(e, t = !0, n = !0) { this.useChatRecordMode && (this.isTotalChangeFromAddData = !0, this.addDataFromTop(e, t, n)) }, doChatRecordLoadMore() { this.useChatRecordMode && this._onLoadingMore("click") }, _handleKeyboardHeightChange(e) { this.$emit("keyboardHeightChange", e), this.autoAdjustPositionWhenChat && (this.isKeyboardHeightChanged = !0, this.keyboardHeight = e.height > 0 ? e.height + this.finalChatAdjustPositionOffset : e.height), this.autoToBottomWhenChat && this.keyboardHeight > 0 && uI.delay(() => { this.scrollToBottom(!1), uI.delay(() => { this.scrollToBottom(!1) }) }) } } }, EI = { props: { usePageScroll: { type: Boolean, default: uI.gc("usePageScroll", !1) }, scrollable: { type: Boolean, default: uI.gc("scrollable", !0) }, showScrollbar: { type: Boolean, default: uI.gc("showScrollbar", !0) }, scrollX: { type: Boolean, default: uI.gc("scrollX", !1) }, scrollToTopBounceEnabled: { type: Boolean, default: uI.gc("scrollToTopBounceEnabled", !1) }, scrollToBottomBounceEnabled: { type: Boolean, default: uI.gc("scrollToBottomBounceEnabled", !0) }, scrollWithAnimation: { type: Boolean, default: uI.gc("scrollWithAnimation", !1) }, scrollIntoView: { type: String, default: uI.gc("scrollIntoView", "") } }, data: () => ({ scrollTop: 0, oldScrollTop: 0, scrollViewStyle: {}, scrollViewContainerStyle: {}, scrollViewInStyle: {}, pageScrollTop: -1, scrollEnable: !0, privateScrollWithAnimation: -1, cacheScrollNodeHeight: -1 }), watch: { oldScrollTop(e) { !this.usePageScroll && this._scrollTopChange(e, !1) }, pageScrollTop(e) { this.usePageScroll && this._scrollTopChange(e, !0) }, usePageScroll: { handler(e) { this.loaded && this.autoHeight && this._setAutoHeight(!e), e && this.$nextTick(() => { const e = this.$refs["zp-scroll-view"].$refs.main; e && (e.style = {}) }) }, immediate: !0 }, finalScrollTop(e) { this.renderPropScrollTop = e < 6 ? 0 : 10 } }, computed: { finalScrollWithAnimation() { if (-1 !== this.privateScrollWithAnimation) { const e = 1 === this.privateScrollWithAnimation; return this.privateScrollWithAnimation = -1, e } return this.scrollWithAnimation }, finalScrollViewStyle() { return 1 != this.superContentZIndex && (this.scrollViewStyle["z-index"] = this.superContentZIndex, this.scrollViewStyle.position = "relative"), this.scrollViewStyle }, finalScrollTop() { return this.usePageScroll ? this.pageScrollTop : this.oldScrollTop }, finalIsOldWebView() { return this.isOldWebView && !this.usePageScroll } }, methods: { scrollToTop(e, t = !0) { this.useChatRecordMode && t && !this.isChatRecordModeAndNotInversion ? this.scrollToBottom(e, !1) : this.$nextTick(() => { this._scrollToTop(e, !1) }) }, scrollToBottom(e, t = !0) { this.useChatRecordMode && t && !this.isChatRecordModeAndNotInversion ? this.scrollToTop(e, !1) : this.$nextTick(() => { this._scrollToBottom(e) }) }, scrollIntoViewById(e, t, n) { this._scrollIntoView(e, t, n) }, scrollIntoViewByNodeTop(e, t, n) { this.scrollTop = this.oldScrollTop, this.$nextTick(() => { this._scrollIntoViewByNodeTop(e, t, n) }) }, scrollToY(e, t, n) { this.scrollTop = this.oldScrollTop, this.$nextTick(() => { this._scrollToY(e, t, n) }) }, scrollIntoViewByIndex(e, t, n) { this._scrollIntoView(e, t, n) }, scrollIntoViewByView(e, t, n) { this._scrollIntoView(e, t, n) }, updatePageScrollTop(e) { this.pageScrollTop = e }, updatePageScrollTopHeight() { this._updatePageScrollTopOrBottomHeight("top") }, updatePageScrollBottomHeight() { this._updatePageScrollTopOrBottomHeight("bottom") }, updateLeftAndRightWidth() { this.finalIsOldWebView && this.$nextTick(() => this._updateLeftAndRightWidth(this.scrollViewContainerStyle, "zp-page")) }, updateScrollViewScrollTop(e, t = !0) { this.privateScrollWithAnimation = t ? 1 : 0, this.scrollTop = this.oldScrollTop, this.$nextTick(() => { this.scrollTop = e, this.oldScrollTop = this.scrollTop }) }, _onScrollToUpper() { this.$emit("scrolltoupper"), this.$emit("scrollTopChange", 0), this.$nextTick(() => { this.oldScrollTop = 0 }) }, _onScrollToLower(e) { (!e.detail || !e.detail.direction || "bottom" === e.detail.direction) && this._onLoadingMore(this.useChatRecordMode ? "click" : "toBottom") }, _scrollToTop(e = !0, t = !0) { this.usePageScroll ? this.$nextTick(() => { Sb({ scrollTop: 0, duration: e ? 100 : 0 }) }) : (this.privateScrollWithAnimation = e ? 1 : 0, this.scrollTop = this.oldScrollTop, this.$nextTick(() => { this.scrollTop = 0, this.oldScrollTop = this.scrollTop })) }, async _scrollToBottom(e = !0) { if (this.usePageScroll) this.$nextTick(() => { Sb({ scrollTop: Number.MAX_VALUE, duration: e ? 100 : 0 }) }); else try { this.privateScrollWithAnimation = e ? 1 : 0; const t = await this._getNodeClientRect(".zp-paging-container"), n = await this._getNodeClientRect(".zp-scroll-view"), o = t ? t[0].height : 0, a = n ? n[0].height : 0; o > a && (this.scrollTop = this.oldScrollTop, this.$nextTick(() => { this.scrollTop = o - a + this.virtualPlaceholderTopHeight, this.oldScrollTop = this.scrollTop })) } catch (VR) { } }, _scrollIntoView(e, t = 0, n = !1, o) { try { this.scrollTop = this.oldScrollTop, this.$nextTick(() => { this._getNodeClientRect("#" + e.replace("#", ""), this.$parent).then(e => { if (e) { let a = e[0].top; this._scrollIntoViewByNodeTop(a, t, n), o && o() } }) }) } catch (VR) { } }, _scrollIntoViewByNodeTop(e, t = 0, n = !1) { this.isChatRecordModeAndInversion ? this._getNodeClientRect(".zp-scroll-view").then(o => { o && this._scrollToY(o[0].height - e, t, n, !0) }) : this._scrollToY(e, t, n, !0) }, _scrollToY(e, t = 0, n = !1, o = !1) { this.privateScrollWithAnimation = n ? 1 : 0, uI.delay(() => { if (this.usePageScroll) { o && -1 !== this.pageScrollTop && (e += this.pageScrollTop); Sb({ scrollTop: e - t, duration: n ? 100 : 0 }) } else o && (e += this.oldScrollTop), this.scrollTop = e - t }, 10) }, _scroll(e) { this.$emit("scroll", e); const t = e.detail.scrollTop; this.finalUseVirtualList && this._updateVirtualScroll(t, this.oldScrollTop - t), this.oldScrollTop = t; const n = e.detail.scrollHeight - this.oldScrollTop; !this.isIos && this._checkScrolledToBottom(n) }, _doCheckScrollViewShouldFullHeight(e) { this.autoFullHeight && this.usePageScroll && this.isTotalChangeFromAddData ? this.$nextTick(() => { this._checkScrollViewShouldFullHeight((t, n) => { this._preCheckShowNoMoreInside(e, t, n) }) }) : this._preCheckShowNoMoreInside(e) }, async _checkScrollViewShouldFullHeight(e) { try { const t = await this._getNodeClientRect(".zp-scroll-view"), n = await this._getNodeClientRect(".zp-paging-container-content"); if (!t || !n) return; const o = n[0].height, a = t[0].top; this.isAddedData && o + a <= this.windowHeight ? (this._setAutoHeight(!0, t), e(t, n)) : (this._setAutoHeight(!1), e(null, null)) } catch (VR) { e(null, null) } }, _scrollTopChange(e, t) { this.$emit("scrollTopChange", e), this.$emit("update:scrollTop", e), this._checkShouldShowBackToTop(e); const n = e > 5 ? 6 : 0; t && this.wxsPageScrollTop !== n ? this.wxsPageScrollTop = n : t || this.wxsScrollTop === n || (this.wxsScrollTop = n, n > 6 && (this.scrollEnable = !0)) }, _updatePageScrollTopOrBottomHeight(e) { if (!this.usePageScroll) return; this._doCheckScrollViewShouldFullHeight(this.realTotalData); const t = `.zp-page-${e}`, n = `margin${e.slice(0, 1).toUpperCase() + e.slice(1)}`; let o = this.safeAreaInsetBottom; this.$nextTick(() => { uI.delay(() => { this._getNodeClientRect(t).then(t => { if (t) { let a = t[0].height; "bottom" === e ? o && (a += this.safeAreaBottom) : this.cacheTopHeight = a, this.$set(this.scrollViewStyle, n, `${a}px`) } else o && this.$set(this.scrollViewStyle, n, `${this.safeAreaBottom}px`) }) }, 0) }) } } }, PI = { props: { autoShowBackToTop: { type: Boolean, default: uI.gc("autoShowBackToTop", !1) }, backToTopThreshold: { type: [Number, String], default: uI.gc("backToTopThreshold", "400rpx") }, backToTopImg: { type: String, default: uI.gc("backToTopImg", "") }, backToTopWithAnimate: { type: Boolean, default: uI.gc("backToTopWithAnimate", !0) }, backToTopBottom: { type: [Number, String], default: uI.gc("backToTopBottom", "160rpx") }, backToTopStyle: { type: Object, default: uI.gc("backToTopStyle", {}) }, enableBackToTop: { type: Boolean, default: uI.gc("enableBackToTop", !0) } }, data: () => ({ backToTopClass: "zp-back-to-top zp-back-to-top-hide", lastBackToTopShowTime: 0, showBackToTopClass: !1 }), computed: { backToTopThresholdUnitConverted() { return uI.addUnit(this.backToTopThreshold, this.unit) }, backToTopBottomUnitConverted() { return uI.addUnit(this.backToTopBottom, this.unit) }, finalEnableBackToTop() { return !this.usePageScroll && this.enableBackToTop }, finalBackToTopThreshold() { return uI.convertToPx(this.backToTopThresholdUnitConverted) }, finalBackToTopStyle() { const e = this.backToTopStyle; return e.bottom || (e.bottom = this.windowBottom + uI.convertToPx(this.backToTopBottomUnitConverted) + "px"), e.position || (e.position = this.usePageScroll ? "fixed" : "absolute"), e }, finalBackToTopClass() { return `${this.backToTopClass} zp-back-to-top-${this.unit}` } }, methods: { _backToTopClick() { let e = !1; this.$emit("backToTopClick", t => { (void 0 === t || !0 === t) && this._handleToTop(), e = !0 }), this.$nextTick(() => { !e && this._handleToTop() }) }, _handleToTop() { !this.backToTopWithAnimate && this._checkShouldShowBackToTop(0), this.scrollToTop(this.backToTopWithAnimate) }, _checkShouldShowBackToTop(e) { this.autoShowBackToTop ? e > this.finalBackToTopThreshold ? this.showBackToTopClass || (this.showBackToTopClass = !0, this.lastBackToTopShowTime = (new Date).getTime(), uI.delay(() => { this.backToTopClass = "zp-back-to-top zp-back-to-top-show" }, 300)) : this.showBackToTopClass && (this.backToTopClass = "zp-back-to-top zp-back-to-top-hide", uI.delay(() => { this.showBackToTopClass = !1 }, (new Date).getTime() - this.lastBackToTopShowTime < 500 ? 0 : 300)) : this.showBackToTopClass = !1 } } }, LI = { props: { useVirtualList: { type: Boolean, default: uI.gc("useVirtualList", !1) }, useCompatibilityMode: { type: Boolean, default: uI.gc("useCompatibilityMode", !1) }, extraData: { type: Object, default: uI.gc("extraData", {}) }, useInnerList: { type: Boolean, default: uI.gc("useInnerList", !1) }, forceCloseInnerList: { type: Boolean, default: uI.gc("forceCloseInnerList", !1) }, cellKeyName: { type: String, default: uI.gc("cellKeyName", "") }, innerListStyle: { type: Object, default: uI.gc("innerListStyle", {}) }, innerCellStyle: { type: Object, default: uI.gc("innerCellStyle", {}) }, preloadPage: { type: [Number, String], default: uI.gc("preloadPage", 12), validator: e => (e <= 0 && uI.consoleErr("preload-page必须大于0!"), e > 0) }, cellHeightMode: { type: String, default: uI.gc("cellHeightMode", hI.CellHeightMode.Fixed) }, virtualListCol: { type: [Number, String], default: uI.gc("virtualListCol", 1) }, virtualScrollFps: { type: [Number, String], default: uI.gc("virtualScrollFps", 80) } }, data: () => ({ virtualListKey: uI.getInstanceId(), virtualPageHeight: 0, virtualCellHeight: 0, virtualScrollTimeStamp: 0, virtualList: [], virtualPlaceholderTopHeight: 0, virtualPlaceholderBottomHeight: 0, virtualTopRangeIndex: 0, virtualBottomRangeIndex: 0, lastVirtualTopRangeIndex: 0, lastVirtualBottomRangeIndex: 0, virtualItemInsertedCount: 0, virtualHeightCacheList: [], getCellHeightRetryCount: { fixed: 0, dynamic: 0 }, pagingOrgTop: -1, updateVirtualListFromDataChange: !1 }), watch: { realTotalData(e) { this.finalUseVirtualList && (this.updateVirtualListFromDataChange = !0, this.$nextTick(() => { this.getCellHeightRetryCount.fixed = 0, !e.length && this._resetDynamicListState(!this.isUserPullDown), e.length && this.cellHeightMode === hI.CellHeightMode.Fixed && this.isFirstPage && this._updateFixedCellHeight(), this._updateVirtualScroll(this.oldScrollTop) })) }, virtualList(e) { this.$emit("update:virtualList", e), this.$emit("virtualListChange", e) } }, computed: { virtualCellIndexKey: () => tI, finalUseVirtualList() { return this.useVirtualList && this.usePageScroll && uI.consoleErr("使用页面滚动时,开启虚拟列表无效!"), this.useVirtualList && !this.usePageScroll }, finalUseInnerList() { return this.useInnerList || this.finalUseVirtualList && !this.forceCloseInnerList }, finalCellKeyName() { return this.cellKeyName }, finalVirtualPageHeight() { return this.virtualPageHeight > 0 ? this.virtualPageHeight : this.windowHeight }, virtualRangePageHeight() { return this.finalVirtualPageHeight * this.preloadPage }, virtualScrollDisTimeStamp() { return 1e3 / this.virtualScrollFps } }, methods: { doInsertVirtualListItem(e, t) { if (this.cellHeightMode !== hI.CellHeightMode.Dynamic) return; this.virtualItemInsertedCount++, e && "[object Object]" === Object.prototype.toString.call(e) || (e = { item: e }); const n = this.virtualCellIndexKey; e[n] = `custom-${this.virtualItemInsertedCount}`, e[nI] = `${this.virtualListKey}-${e[n]}`, this.$nextTick(async () => { let o = 0; for (; o <= 10;) { await uI.wait(JA); const a = await this._getNodeClientRect(`#zp-id-${e[n]}`, this.finalUseInnerList); if (!a) { o++; continue } const r = a ? a[0].height : 0, i = this.virtualHeightCacheList[t - 1], s = i ? i.totalHeight : 0; this.virtualHeightCacheList.splice(t, 0, { height: r, lastTotalHeight: s, totalHeight: s + r }); for (let e = t + 1; e < this.virtualHeightCacheList.length; e++) { const t = this.virtualHeightCacheList[e]; t.lastTotalHeight += r, t.totalHeight += r } this._updateVirtualScroll(this.oldScrollTop); break } }) }, didUpdateVirtualListCell(e) { if (this.cellHeightMode !== hI.CellHeightMode.Dynamic) return; const t = this.virtualHeightCacheList[e]; this.$nextTick(() => { this._getNodeClientRect(`#zp-id-${e}`, this.finalUseInnerList).then(n => { const o = n ? n[0].height : 0, a = o - t.height; t.height = o, t.totalHeight = t.lastTotalHeight + o; for (let t = e + 1; t < this.virtualHeightCacheList.length; t++) { const e = this.virtualHeightCacheList[t]; e.totalHeight += a, e.lastTotalHeight += a } }) }) }, didDeleteVirtualListCell(e) { if (this.cellHeightMode !== hI.CellHeightMode.Dynamic) return; const t = this.virtualHeightCacheList[e]; for (let n = e + 1; n < this.virtualHeightCacheList.length; n++) { const e = this.virtualHeightCacheList[n]; e.totalHeight -= t.height, e.lastTotalHeight -= t.height } this.virtualHeightCacheList.splice(e, 1) }, _virtualListInit() { this.$nextTick(() => { uI.delay(() => { this._getNodeClientRect(".zp-scroll-view").then(e => { e && (this.pagingOrgTop = e[0].top, this.virtualPageHeight = e[0].height) }) }) }) }, _updateFixedCellHeight() { this.$nextTick(() => { uI.delay(() => { this._getNodeClientRect("#zp-id-0", this.finalUseInnerList).then(e => { if (e) this.virtualCellHeight = e[0].height, this._updateVirtualScroll(this.oldScrollTop); else { if (this.getCellHeightRetryCount.fixed > 10) return; this.getCellHeightRetryCount.fixed++, this._updateFixedCellHeight() } }) }, JA, "updateFixedCellHeightDelay") }) }, _updateDynamicCellHeight(e, t = "bottom") { const n = "top" === t, o = this.virtualHeightCacheList, a = n ? [] : o; let r = 0; this.$nextTick(() => { uI.delay(async () => { for (let i = 0; i < e.length; i++) { const s = await this._getNodeClientRect(`#zp-id-${e[i][this.virtualCellIndexKey]}`, this.finalUseInnerList), l = s ? s[0].height : 0; if (!s) return void (this.getCellHeightRetryCount.dynamic <= 10 && (o.splice(o.length - i, i), this.getCellHeightRetryCount.dynamic++, this._updateDynamicCellHeight(e, t))); const c = a.length ? a.slice(-1)[0] : null, d = c ? c.totalHeight : 0; a.push({ height: l, lastTotalHeight: d, totalHeight: d + l }), n && (r += l) } if (n && e.length) { for (let e = 0; e < o.length; e++) { const t = o[e]; t.lastTotalHeight += r, t.totalHeight += r } this.virtualHeightCacheList = a.concat(o) } this._updateVirtualScroll(this.oldScrollTop) }, JA, "updateDynamicCellHeightDelay") }) }, _setCellIndex(e, t = "bottom") { let n = 0; const o = this.virtualCellIndexKey; if (this.totalData.length) { if ("bottom" === t) { n = this.realTotalData.length; const e = this.realTotalData.length ? this.realTotalData.slice(-1)[0] : null; e && void 0 !== e[o] && (n = e[o] + 1) } else if ("top" === t) { const t = this.realTotalData.length ? this.realTotalData[0] : null; t && void 0 !== t[o] && (n = t[o] - e.length) } } else this._resetDynamicListState(); for (let a = 0; a < e.length; a++) { let t = e[a]; t && "[object Object]" === Object.prototype.toString.call(t) || (t = { item: t }), t[o] = n + a, t[nI] = `${this.virtualListKey}-${t[o]}`, e[a] = t } this.getCellHeightRetryCount.dynamic = 0, this.cellHeightMode === hI.CellHeightMode.Dynamic && this._updateDynamicCellHeight(e, t) }, _updateVirtualScroll(e, t = 0) { const n = uI.getTime(); if (0 === e && this._resetTopRange(), 0 !== e && this.virtualScrollTimeStamp && n - this.virtualScrollTimeStamp <= this.virtualScrollDisTimeStamp) return; this.virtualScrollTimeStamp = n; let o = 0; const a = this.cellHeightMode; if (a === hI.CellHeightMode.Fixed) o = parseInt(e / this.virtualCellHeight) || 0, this._updateFixedTopRangeIndex(o), this._updateFixedBottomRangeIndex(o); else if (a === hI.CellHeightMode.Dynamic) { const n = t > 0 ? "top" : "bottom", o = this.virtualRangePageHeight, a = e - o, r = e + this.finalVirtualPageHeight + o; let i = 0, s = 0, l = !1; const c = this.virtualHeightCacheList, d = c ? c.slice(-1)[0] : null; let u = this.virtualTopRangeIndex; if ("bottom" === n) for (let e = u; e < c.length; e++) { const t = c[e]; if (t && t.totalHeight > a) { this.virtualTopRangeIndex = e, this.virtualPlaceholderTopHeight = t.lastTotalHeight; break } } else { let e = !1; for (let t = u; t >= 0; t--) { const n = c[t]; if (n && n.totalHeight < a) { this.virtualTopRangeIndex = t, this.virtualPlaceholderTopHeight = n.lastTotalHeight, e = !0; break } } !e && this._resetTopRange() } for (let e = this.virtualTopRangeIndex; e < c.length; e++) { const t = c[e]; if (t && t.totalHeight > r) { i = e, s = d.totalHeight - t.totalHeight, l = !0; break } } l && 0 !== this.virtualBottomRangeIndex ? (this.virtualBottomRangeIndex = i, this.virtualPlaceholderBottomHeight = s) : (this.virtualBottomRangeIndex = this.realTotalData.length ? this.realTotalData.length - 1 : this.pageSize, this.virtualPlaceholderBottomHeight = 0), this._updateVirtualList() } }, _updateFixedTopRangeIndex(e) { let t = 0 === this.virtualCellHeight ? 0 : e - (parseInt(this.finalVirtualPageHeight / this.virtualCellHeight) || 1) * this.preloadPage; t *= this.virtualListCol, t = Math.max(0, t), this.virtualTopRangeIndex = t, this.virtualPlaceholderTopHeight = t / this.virtualListCol * this.virtualCellHeight }, _updateFixedBottomRangeIndex(e) { let t = 0 === this.virtualCellHeight ? this.pageSize : e + (parseInt(this.finalVirtualPageHeight / this.virtualCellHeight) || 1) * (this.preloadPage + 1); t *= this.virtualListCol, t = Math.min(this.realTotalData.length, t), this.virtualBottomRangeIndex = t, this.virtualPlaceholderBottomHeight = (this.realTotalData.length - t) * this.virtualCellHeight / this.virtualListCol, this._updateVirtualList() }, _updateVirtualList() { (this.updateVirtualListFromDataChange || this.lastVirtualTopRangeIndex !== this.virtualTopRangeIndex || this.lastVirtualBottomRangeIndex !== this.virtualBottomRangeIndex) && (this.updateVirtualListFromDataChange = !1, this.lastVirtualTopRangeIndex = this.virtualTopRangeIndex, this.lastVirtualBottomRangeIndex = this.virtualBottomRangeIndex, this.virtualList = this.realTotalData.slice(this.virtualTopRangeIndex, this.virtualBottomRangeIndex + 1)) }, _resetDynamicListState(e = !1) { this.virtualHeightCacheList = [], e && (this.virtualList = []), this.virtualTopRangeIndex = 0, this.virtualPlaceholderTopHeight = 0 }, _resetTopRange() { this.virtualTopRangeIndex = 0, this.virtualPlaceholderTopHeight = 0, this._updateVirtualList() }, _checkVirtualListScroll() { this.finalUseVirtualList && this.$nextTick(() => { this._getNodeClientRect(".zp-paging-touch-view").then(e => { const t = e ? e[0].top : 0; (!e || t === this.pagingOrgTop && 0 !== this.virtualPlaceholderTopHeight) && this._updateVirtualScroll(0) }) }) }, _innerCellClick(e, t) { this.$emit("innerCellClick", e, t) } } }, OI = ov(), BI = { name: "z-paging", components: { zPagingRefresh: pI, zPagingLoadMore: fI, zPagingEmptyView: gI }, mixins: [yI, _I, SI, CI, kI, MI, AI, II, RI, EI, PI, LI], data: () => ({ base64Arrow: zA, base64Flower: WA, base64BackToTop: GA, loadingType: hI.LoadingType.Refresher, requestTimeStamp: 0, wxsPropType: "", renderPropScrollTop: -1, checkScrolledToBottomTimeOut: null, cacheTopHeight: -1, statusBarHeight: OI.statusBarHeight, insideOfPaging: -1, isLoadFailed: !1, isIos: "ios" === OI.platform, disabledBounce: !1, fromCompleteEmit: !1, disabledCompleteEmit: !1, pageLaunched: !1, active: !1, wxsIsScrollTopInTopRange: !0, wxsScrollTop: 0, wxsPageScrollTop: 0, wxsOnPullingDown: !1 }), props: { delay: { type: [Number, String], default: uI.gc("delay", 0) }, minDelay: { type: [Number, String], default: uI.gc("minDelay", 0) }, pagingStyle: { type: Object, default: uI.gc("pagingStyle", {}) }, height: { type: String, default: uI.gc("height", "") }, width: { type: String, default: uI.gc("width", "") }, maxWidth: { type: String, default: uI.gc("maxWidth", "") }, bgColor: { type: String, default: uI.gc("bgColor", "") }, pagingContentStyle: { type: Object, default: uI.gc("pagingContentStyle", {}) }, autoHeight: { type: Boolean, default: uI.gc("autoHeight", !1) }, autoHeightAddition: { type: [Number, String], default: uI.gc("autoHeightAddition", "0px") }, defaultThemeStyle: { type: String, default: uI.gc("defaultThemeStyle", "black") }, fixed: { type: Boolean, default: uI.gc("fixed", !0) }, safeAreaInsetBottom: { type: Boolean, default: uI.gc("safeAreaInsetBottom", !1) }, useSafeAreaPlaceholder: { type: Boolean, default: uI.gc("useSafeAreaPlaceholder", !1) }, bottomBgColor: { type: String, default: uI.gc("bottomBgColor", "") }, topZIndex: { type: Number, default: uI.gc("topZIndex", 99) }, superContentZIndex: { type: Number, default: uI.gc("superContentZIndex", 1) }, contentZIndex: { type: Number, default: uI.gc("contentZIndex", 10) }, autoFullHeight: { type: Boolean, default: uI.gc("autoFullHeight", !0) }, watchTouchDirectionChange: { type: Boolean, default: uI.gc("watchTouchDirectionChange", !1) }, unit: { type: String, default: uI.gc("unit", "rpx") } }, created() { this.createdReload && !this.refresherOnly && this.auto && (this._startLoading(), this.$nextTick(this._preReload)) }, mounted() { this.active = !0, this.wxsPropType = uI.getTime().toString(), this.renderJsIgnore, this.createdReload || this.refresherOnly || !this.auto || this.$nextTick(this._preReload), this.finalUseCache && this._setListByLocalCache(); let e = 0; e = JA, this.$nextTick(() => { this.systemInfo = ov(), !this.usePageScroll && this.autoHeight && this._setAutoHeight(), this.loaded = !0, uI.delay(this.updateFixedLayout) }), this.updatePageScrollTopHeight(), this.updatePageScrollBottomHeight(), this.updateLeftAndRightWidth(), this.finalRefresherEnabled && this.useCustomRefresher && this.$nextTick(() => { this.isTouchmoving = !0 }), this._onEmit(), this.finalUseVirtualList && this._virtualListInit(), this.$nextTick(() => { setTimeout(() => { this._getCssSafeAreaInsetBottom(() => this.safeAreaInsetBottom && this.updatePageScrollBottomHeight()) }, e) }) }, destroyed() { this._handleUnmounted() }, unmounted() { this._handleUnmounted() }, watch: { defaultThemeStyle: { handler(e) { e.length && (this.finalRefresherDefaultStyle = e) }, immediate: !0 }, autoHeight(e) { this.loaded && !this.usePageScroll && this._setAutoHeight(e) }, autoHeightAddition(e) { this.loaded && !this.usePageScroll && this.autoHeight && this._setAutoHeight(e) } }, computed: { finalPagingStyle() { const e = { ...this.pagingStyle }; if (!this.systemInfo) return e; const { windowTop: t, windowBottom: n } = this; return !this.usePageScroll && this.fixed && (t && !e.top && (e.top = t + "px"), n && !e.bottom && (e.bottom = n + "px")), this.bgColor.length && !e.background && (e.background = this.bgColor), this.height.length && !e.height && (e.height = this.height), this.width.length && !e.width && (e.width = this.width), this.maxWidth.length && !e["max-width"] && (e["max-width"] = this.maxWidth, e.margin = "0 auto"), e }, finalPagingContentStyle() { return 1 != this.contentZIndex && (this.pagingContentStyle["z-index"] = this.contentZIndex, this.pagingContentStyle.position = "relative"), this.pagingContentStyle }, renderJsIgnore() { return (this.usePageScroll && this.useChatRecordMode || !this.refresherEnabled && this.scrollable || !this.useCustomRefresher) && this.$nextTick(() => { this.renderPropScrollTop = 10 }), 0 }, windowHeight() { return this.systemInfo && this.systemInfo.windowHeight || 0 }, windowBottom() { if (!this.systemInfo) return 0; let e = this.systemInfo.windowBottom || 0; return !this.safeAreaInsetBottom || this.useSafeAreaPlaceholder || this.useChatRecordMode || (e += this.safeAreaBottom), e }, isIosAndH5() { return this.isIos } }, methods: { getVersion: () => `z-paging v${QA}`, setSpecialEffects(e) { this.setListSpecialEffects(e) }, setListSpecialEffects(e) { this.nFixFreezing = e && Object.keys(e).length, this.isIos && (this.privateRefresherEnabled = 0), !this.usePageScroll && this.$refs["zp-n-list"].setSpecialEffects(e) }, _doVibrateShort() { }, async _setAutoHeight(e = !0, t = null) { let n = "min-height"; n = "min-height"; try { if (e) { let e = t || await this._getNodeClientRect(".zp-scroll-view"), o = await this._getNodeClientRect(".zp-page-bottom"); if (e) { const t = e[0].top; let a = this.windowHeight - t; a -= o ? o[0].height : 0; const r = a + uI.convertToPx(this.autoHeightAddition) - (this.insideMore ? 1 : 0) + "px !important"; this.$set(this.scrollViewStyle, n, r), this.$set(this.scrollViewInStyle, n, r) } } else this.$delete(this.scrollViewStyle, n), this.$delete(this.scrollViewInStyle, n) } catch (VR) { } }, _handleUnmounted() { this.active = !1, this._offEmit() }, _updateInsideOfPaging() { this.insideMore && !0 === this.insideOfPaging && setTimeout(this.doLoadMore, 200) }, _cleanTimeout: e => (e && (clearTimeout(e), e = null), e), _onEmit() { vh(XA, e => { this.loading && (e && (this.customerEmptyViewErrorText = e), this.complete(!1).catch(() => { })) }), vh(KA, e => { setTimeout(() => { if (this.loading) if (this.disabledCompleteEmit) this.disabledCompleteEmit = !1; else { const t = e.type || "normal", n = e.list || e, o = e.rule; switch (this.fromCompleteEmit = !0, t) { case "normal": this.complete(n); break; case "total": this.completeByTotal(n, o); break; case "nomore": this.completeByNoMore(n, o); break; case "key": this.completeByKey(n, o) } } }, 1) }) }, _offEmit() { bh(XA), bh(KA) } } }; var NI = 0, DI = -1, VI = -1; function $I(e, t) { var n = ZI(t), o = {}, a = {}; if (t.callMethod("_handleListTouchstart"), !n || (o = n.getState(), a = n.getDataset(), !GI(e, n))) { var r = o.isTouchEnded; o.oldMoveDis = 0; var i = YI(e), s = JI(a.loading); o.startY = i.touchY, VI = o.startY, o.lastTouch = i, !s && r && (o.isTouchmoving = !1), o.isTouchEnded = !1, t.callMethod("_handleRefresherTouchstart", i) } } function jI(e, t) { var n = YI(e), o = ZI(t), a = o.getDataset(), r = a.refresherthreshold; JI(a.isios); var i = o.getState(), s = {}, l = 0, c = !1; if (JI(a.watchtouchdirectionchange)) { l = (s = qI(e, o)).currentDis; var d = (c = s.isDown) ? "top" : "bottom"; c == i.oldTouchDirection && c != i.oldEmitedTouchDirection && (t.callMethod("_handleTouchDirectionChange", { direction: d }), i.oldEmitedTouchDirection = c), i.oldTouchDirection = c } if (GI(e, o)) return QI(i, t, !1), !0; if (!function (e, t, n, o) { var a = o.refreshermaxangle, r = JI(o.refresheraecc), i = n.lastTouch, s = n.reachMaxAngle, l = n.oldMoveDis; if (!i) return !0; if (a >= 0 && a <= 90 && i) { if ((!l || l < 1) && !r && null != s && !s) return !1; var c = Math.abs(t.touchX - i.touchX), d = Math.abs(t.touchY - i.touchY), u = Math.sqrt(Math.pow(c, 2) + Math.pow(d, 2)); if ((c || d) && c > 1) if (Math.asin(d / u) / Math.PI * 180 < a) { var h = n.hitReachMaxAngleCount || 0; return n.hitReachMaxAngleCount = ++h, n.hitReachMaxAngleCount > 2 && (n.lastTouch = t, n.reachMaxAngle = !1), !1 } } return n.lastTouch = t, !0 }(0, n, i, a)) return QI(i, t, !1), !0; if (l = (s = qI(e, o)).currentDis, c = s.isDown, l < 0) return HI(0, o, i, !1), QI(i, t, !1), !0; if (c && !i.disabledBounce) return t.callMethod("_handleScrollViewBounce", { bounce: !1 }), i.disabledBounce = !0, QI(i, t, c), !c; HI(l, o, i, !1); var u = i.refresherStatus, h = JI(a.oldistouchmoving), m = JI(a.hastouchmove), p = i.isTouchmoving; return i.refresherStatus = l >= r ? 1 : 0, p || (i.isTouchmoving = !0, p = !0), i.isTouchEnded && (i.isTouchEnded = !1), m && t.callMethod("_handleWxsPullingDown", { moveDis: l, diffDis: s.diffDis }), null != u && u == i.refresherStatus && h == p || t.callMethod("_handleRefresherTouchmove", l, n), QI(i, t, c), !c } function zI(e, t) { YI(e); var n = ZI(t); n.getDataset(); var o = n.getState(); if (o.disabledBounce && (t.callMethod("_handleScrollViewBounce", { bounce: !0 }), o.disabledBounce = !1), !GI(e, n) && (o.reachMaxAngle = !0, o.hitReachMaxAngleCount = 0, o.fixedIsTopHitCount = 0, o.isTouchmoving)) { var a = o.refresherStatus, r = o.moveDis, i = n.getDataset().refresherthreshold, s = qI(e, n).currentDis; if (s >= i && 1 === a || (o.isTouchmoving = !1), t.callMethod("_handleRefresherTouchend", s), o.isTouchEnded = !0, !(r < i)) { var l = !1; s >= i && (s = i, l = !0), HI(s, n, o, l) } } } function FI() { if (!navigator) return !1; if (-1 != DI) return DI; return DI = ["Android", "iPhone", "SymbianOS", "Windows Phone", "iPad", "iPod"].every(function (e) { return navigator.userAgent.indexOf(e) < 0 }) } var WI = !1; function HI(e, t, n, o) { e = e || 0, n.moveDis != e && (n.moveDis = e, UI("translateY(" + e + "px)", t, o, "")) } function UI(e, t, n, o) { JI(t.getDataset().refreshernotransform) || (e = "translateY(0px)" == e ? "none" : e, t.requestAnimationFrame(function () { var a = { transform: e }; n && (a.transition = "transform .1s linear"), o.length && (a.transition = o), t.setStyle(a) })) } function qI(e, t) { var n = t.getState(), o = parseFloat(t.getDataset().refresherthreshold), a = parseFloat(t.getDataset().refresheroutrate), r = parseFloat(t.getDataset().refresherpullrate), i = YI(e), s = n.startY && "NaN" != n.startY ? n.startY : VI, l = i.touchY - s, c = n.oldMoveDis || 0; n.oldMoveDis = l; var d = l - c; return d > 0 && (d *= r, NI > o && (d *= 1 - a)), NI += d = d > 100 ? d / 100 : d > 20 ? d / 2.2 : d, { currentDis: NI = Math.max(0, NI), diffDis: d, isDown: d > 0 } } function YI(e) { var t = e; return e.touches && e.touches.length ? t = e.touches[0] : e.changedTouches && e.changedTouches.length ? t = e.changedTouches[0] : e.datail && e.datail != {} && (t = e.datail), { touchX: t.clientX, touchY: t.clientY } } function ZI(e) { var t = e.getState().currentIns; return t || e.callMethod("_handlePropUpdate"), t } function GI(e, t, n) { var o = t.getDataset(), a = t.getState(), r = JI(o.loading), i = JI(o.usechatrecordmode), s = JI(o.refresherenabled), l = JI(o.usecustomrefresher), c = JI(o.usepagescroll), d = parseFloat(o.pagescrolltop), u = parseFloat(o.scrolltop); return a.fixedIsTopHitCount, a.fixedIsTopHitCount = 0, r || i || !s || !l || c && l && d > 5 && !0 || !c && l && u > 5 && !0 } function QI(e, t, n) { (e.onPullingDown || !1) != n && t.callMethod("_handleWxsPullingDownStatusChange", n), e.onPullingDown = n } function JI(e) { return 1 == (e = ("string" == typeof e ? JSON.parse(e) : e) || !1) || "true" == e } const XI = { touchstart: $I, touchmove: jI, touchend: zI, mousedown: function (e, t) { FI() && ($I(e, t), WI = !0) }, mousemove: function (e, t) { FI() && WI && jI(e, t) }, mouseup: function (e, t) { FI() && (zI(e, t), WI = !1) }, mouseleave: function (e, t) { FI() && (WI = !1) }, propObserver: function (e, t, n, o) { var a = n.getState() || {}; if (a.currentIns = o, o.getDataset().loading, e && -1 != e.indexOf("end")) UI("translateY(0px)", o, !1, e.split("end")[0]), a.moveDis = 0, a.oldMoveDis = 0, NI = 0; else if (e && -1 != e.indexOf("begin")) { HI(o.getDataset().refresherthreshold, o, a, !1) } } }, KI = e => { e.$wxs || (e.$wxs = []), e.$wxs.push("pagingWxs"), e.mixins || (e.mixins = []), e.mixins.push({ beforeCreate() { this.pagingWxs = XI } }) }, eR = { startY: 0, isTouchFromZPaging: !1, isUsePageScroll: !1, isReachedTop: !0, isIosAndH5: !1, useChatRecordMode: !1 }, tR = { mounted() { window && this._handleTouch() }, methods: { renderPropIsIosAndH5Change(e) { -1 !== e && (eR.isIosAndH5 = e) }, _handleTouch() { window.$zPagingRenderJsInited || (window.$zPagingRenderJsInited = !0, window.addEventListener("touchstart", this._handleTouchstart, { passive: !0 }), window.addEventListener("touchmove", this._handleTouchmove, { passive: !1 })) }, _handleTouchstart(e) { const t = uI.getTouch(e); eR.startY = t.touchY; const n = uI.getTouchFromZPaging(e.target); eR.isTouchFromZPaging = n.isFromZp, eR.isUsePageScroll = n.isPageScroll, eR.isReachedTop = n.isReachedTop, eR.useChatRecordMode = n.isUseChatRecordMode }, _handleTouchmove(e) { const t = uI.getTouch(e).touchY - eR.startY; eR.isTouchFromZPaging && (eR.isReachedTop && (eR.useChatRecordMode ? t < 0 : t > 0) || !eR.useChatRecordMode && eR.isIosAndH5 && !eR.isUsePageScroll && t < 0) && e.cancelable && !e.defaultPrevented && e.preventDefault() }, _removeAllEventListener() { window.removeEventListener("touchstart"), window.removeEventListener("touchmove") } } }, nR = { name: "z-paging", mixins: [tR] }, oR = e => { e.$renderjs || (e.$renderjs = []), e.$renderjs.push("pagingRenderjs"), e.mixins || (e.mixins = []), e.mixins.push({ beforeCreate() { this.pagingRenderjs = this }, mounted() { this.$ownerInstance = this.$gcd(this, !0) } }), e.mixins.push(nR) }; KI(BI), oR(BI); const aR = MM(BI, [["render", function (e, t, n, o, a, r) { const i = ny, s = Bo("z-paging-refresh"), l = Bo("z-paging-load-more"), c = Bo("z-paging-empty-view"), d = Wg, u = Mf; return Br(), jr(i, { class: qe({ "z-paging-content": !0, "z-paging-content-fixed": !e.usePageScroll && e.fixed, "z-paging-content-page": e.usePageScroll, "z-paging-reached-top": e.renderPropScrollTop < 1, "z-paging-use-chat-record-mode": e.useChatRecordMode }), style: Ue([e.finalPagingStyle]) }, { default: Io(() => [-1 === e.cssSafeAreaInsetBottom ? (Br(), jr(i, { key: 0, class: "zp-safe-area-inset-bottom" })) : Qr("", !0), !e.usePageScroll && e.zSlots.top ? Va(e.$slots, "top", { key: 1 }, void 0, !0) : e.usePageScroll && e.zSlots.top ? (Br(), jr(i, { key: 2, class: "zp-page-top", onTouchmove: t[0] || (t[0] = ms(() => { }, ["stop", "prevent"])), style: Ue([{ top: `${e.windowTop}px`, "z-index": e.topZIndex }]) }, { default: Io(() => [Va(e.$slots, "top", {}, void 0, !0)]), _: 3 }, 8, ["style"])) : Qr("", !0), Yr(i, { class: qe({ "zp-view-super": !0, "zp-scroll-view-super": !e.usePageScroll }), style: Ue([e.finalScrollViewStyle]) }, { default: Io(() => [e.zSlots.left ? (Br(), jr(i, { key: 0, class: qe({ "zp-page-left": !0, "zp-absoulte": e.finalIsOldWebView }) }, { default: Io(() => [Va(e.$slots, "left", {}, void 0, !0)]), _: 3 }, 8, ["class"])) : Qr("", !0), Yr(i, { class: qe({ "zp-scroll-view-container": !0, "zp-absoulte": e.finalIsOldWebView }), style: Ue([e.scrollViewContainerStyle]) }, { default: Io(() => [Yr(d, { ref: "zp-scroll-view", class: qe({ "zp-scroll-view": !0, "zp-scroll-view-absolute": !e.usePageScroll, "zp-scroll-view-hide-scrollbar": !e.showScrollbar }), style: Ue([e.chatRecordRotateStyle]), "scroll-top": e.scrollTop, "scroll-x": e.scrollX, "scroll-y": e.scrollable && !e.usePageScroll && e.scrollEnable && (!!e.refresherCompleteScrollable || e.refresherStatus !== e.R.Complete), "enable-back-to-top": e.finalEnableBackToTop, "show-scrollbar": e.showScrollbar, "scroll-with-animation": e.finalScrollWithAnimation, "scroll-into-view": e.scrollIntoView, "lower-threshold": e.finalLowerThreshold, "upper-threshold": 5, "refresher-enabled": e.finalRefresherEnabled && !e.useCustomRefresher, "refresher-threshold": e.finalRefresherThreshold, "refresher-default-style": e.finalRefresherDefaultStyle, "refresher-background": e.refresherBackground, "refresher-triggered": e.finalRefresherTriggered, onScroll: e._scroll, onScrolltolower: e._onScrollToLower, onScrolltoupper: e._onScrollToUpper, onRefresherrestore: e._onRestore, onRefresherrefresh: t[3] || (t[3] = t => e._onRefresh(!0)) }, { default: Io(() => [Yr(i, { class: "zp-paging-touch-view", onTouchstart: e.pagingWxs.touchstart, onTouchmove: e.pagingWxs.touchmove, onTouchend: e.pagingWxs.touchend, onTouchcancel: e.pagingWxs.touchend, onMousedown: e.pagingWxs.mousedown, onMousemove: e.pagingWxs.mousemove, onMouseup: e.pagingWxs.mouseup, onMouseleave: e.pagingWxs.mouseleave }, { default: Io(() => [e.finalRefresherFixedBacHeight > 0 ? (Br(), jr(i, { key: 0, class: "zp-fixed-bac-view", style: Ue([{ background: e.refresherFixedBackground, height: `${e.finalRefresherFixedBacHeight}px` }]) }, null, 8, ["style"])) : Qr("", !0), Yr(i, { class: "zp-paging-main", style: Ue([e.scrollViewInStyle, { transform: e.finalRefresherTransform, transition: e.refresherTransition }]), "change:prop": e.pagingWxs.propObserver, prop: e.wxsPropType, "data-refresherThreshold": e.finalRefresherThreshold, "data-isIos": e.isIos, "data-loading": e.loading || e.isRefresherInComplete, "data-useChatRecordMode": e.useChatRecordMode, "data-refresherEnabled": e.refresherEnabled, "data-useCustomRefresher": e.useCustomRefresher, "data-pageScrollTop": e.wxsPageScrollTop, "data-scrollTop": e.wxsScrollTop, "data-refresherMaxAngle": e.refresherMaxAngle, "data-refresherNoTransform": e.refresherNoTransform, "data-refresherAecc": e.refresherAngleEnableChangeContinued, "data-usePageScroll": e.usePageScroll, "data-watchTouchDirectionChange": e.watchTouchDirectionChange, "data-oldIsTouchmoving": e.isTouchmoving, "data-refresherOutRate": e.finalRefresherOutRate, "data-refresherPullRate": e.finalRefresherPullRate, "data-hasTouchmove": e.hasTouchmove, "change:renderPropIsIosAndH5": e.pagingRenderjs.renderPropIsIosAndH5Change, renderPropIsIosAndH5: e.isIosAndH5 }, { default: Io(() => [e.showRefresher ? (Br(), jr(i, { key: 0, class: "zp-custom-refresher-view", style: Ue([{ "margin-top": `-${e.finalRefresherThreshold + e.refresherThresholdUpdateTag}px`, background: e.refresherBackground, opacity: e.isTouchmoving ? 1 : 0 }]) }, { default: Io(() => [Yr(i, { class: "zp-custom-refresher-container", style: Ue([{ height: `${e.finalRefresherThreshold}px`, background: e.refresherBackground }]) }, { default: Io(() => [e.useRefresherStatusBarPlaceholder ? (Br(), jr(i, { key: 0, class: "zp-custom-refresher-status-bar-placeholder", style: Ue([{ height: `${e.statusBarHeight}px` }]) }, null, 8, ["style"])) : Qr("", !0), Yr(i, { class: "zp-custom-refresher-slot-view" }, { default: Io(() => [e.zSlots.refresherComplete && e.refresherStatus === e.R.Complete ? Qr("", !0) : Va(e.$slots, "refresher", { key: 0, refresherStatus: e.refresherStatus }, void 0, !0)]), _: 3 }), e.zSlots.refresherComplete && e.refresherStatus === e.R.Complete ? Va(e.$slots, "refresherComplete", { key: 1 }, void 0, !0) : e.showCustomRefresher ? Qr("", !0) : (Br(), jr(s, { key: 2, ref: "refresh", class: "zp-custom-refresher-refresh", style: Ue([{ height: e.finalRefresherThreshold - e.finalRefresherThresholdPlaceholder + "px" }]), status: e.refresherStatus, defaultThemeStyle: e.finalRefresherThemeStyle, defaultText: e.finalRefresherDefaultText, pullingText: e.finalRefresherPullingText, refreshingText: e.finalRefresherRefreshingText, completeText: e.finalRefresherCompleteText, defaultImg: e.refresherDefaultImg, pullingImg: e.refresherPullingImg, refreshingImg: e.refresherRefreshingImg, completeImg: e.refresherCompleteImg, refreshingAnimated: e.refresherRefreshingAnimated, showUpdateTime: e.showRefresherUpdateTime, updateTimeKey: e.refresherUpdateTimeKey, updateTimeTextMap: e.finalRefresherUpdateTimeTextMap, imgStyle: e.refresherImgStyle, titleStyle: e.refresherTitleStyle, updateTimeStyle: e.refresherUpdateTimeStyle, unit: e.unit }, null, 8, ["style", "status", "defaultThemeStyle", "defaultText", "pullingText", "refreshingText", "completeText", "defaultImg", "pullingImg", "refreshingImg", "completeImg", "refreshingAnimated", "showUpdateTime", "updateTimeKey", "updateTimeTextMap", "imgStyle", "titleStyle", "updateTimeStyle", "unit"]))]), _: 3 }, 8, ["style"])]), _: 3 }, 8, ["style"])) : Qr("", !0), Yr(i, { class: "zp-paging-container", style: Ue([{ justifyContent: e.useChatRecordMode ? "flex-end" : "flex-start" }]) }, { default: Io(() => [e.showLoading && e.zSlots.loading && !e.loadingFullFixed ? Va(e.$slots, "loading", { key: 0 }, void 0, !0) : Qr("", !0), Yr(i, { class: "zp-paging-container-content", style: Ue([{ transform: e.virtualPlaceholderTopHeight > 0 ? `translateY(${e.virtualPlaceholderTopHeight}px)` : "none" }, e.finalPagingContentStyle]) }, { default: Io(() => [Va(e.$slots, "default", {}, void 0, !0), e.finalUseInnerList ? (Br(), $r(Ir, { key: 0 }, [Va(e.$slots, "header", {}, void 0, !0), Yr(i, { class: "zp-list-container", style: Ue([e.innerListStyle]) }, { default: Io(() => [e.finalUseVirtualList ? (Br(!0), $r(Ir, { key: 0 }, Da(e.virtualList, (t, n) => (Br(), jr(i, { class: "zp-list-cell", style: Ue([e.innerCellStyle]), id: `zp-id-${t[e.virtualCellIndexKey]}`, key: t.zp_unique_index, onClick: o => e._innerCellClick(t, e.virtualTopRangeIndex + n) }, { default: Io(() => [e.useCompatibilityMode ? (Br(), jr(i, { key: 0 }, { default: Io(() => [Gr("使用兼容模式请在组件源码z-paging.vue第94行中注释这一行,并打开下面一行注释")]), _: 1 })) : Va(e.$slots, "cell", { key: 1, item: t, index: e.virtualTopRangeIndex + n }, void 0, !0)]), _: 2 }, 1032, ["style", "id", "onClick"]))), 128)) : (Br(!0), $r(Ir, { key: 1 }, Da(e.realTotalData, (t, n) => (Br(), jr(i, { class: "zp-list-cell", key: n, onClick: o => e._innerCellClick(t, n) }, { default: Io(() => [Va(e.$slots, "cell", { item: t, index: n }, void 0, !0)]), _: 2 }, 1032, ["onClick"]))), 128))]), _: 3 }, 8, ["style"]), Va(e.$slots, "footer", {}, void 0, !0)], 64)) : Qr("", !0), e.useChatRecordMode && (e.loadingStatus !== e.M.NoMore || e.zSlots.chatNoMore) && (e.realTotalData.length || e.showChatLoadingWhenReload && e.showLoading) && !e.isFirstPageAndNoMore ? (Br(), jr(i, { key: 1, style: Ue([e.chatRecordRotateStyle]) }, { default: Io(() => [e.loadingStatus === e.M.NoMore && e.zSlots.chatNoMore ? Va(e.$slots, "chatNoMore", { key: 0 }, void 0, !0) : (Br(), $r(Ir, { key: 1 }, [e.zSlots.chatLoading ? Va(e.$slots, "chatLoading", { key: 0, loadingMoreStatus: e.loadingStatus }, void 0, !0) : (Br(), jr(l, { key: 1, onDoClick: t[1] || (t[1] = t => e._onLoadingMore("click")), zConfig: e.zLoadMoreConfig }, null, 8, ["zConfig"]))], 64))]), _: 3 }, 8, ["style"])) : Qr("", !0), e.useVirtualList ? (Br(), jr(i, { key: 2, class: "zp-virtual-placeholder", style: Ue([{ height: e.virtualPlaceholderBottomHeight + "px" }]) }, null, 8, ["style"])) : Qr("", !0), e.showLoadingMoreDefault ? Va(e.$slots, "loadingMoreDefault", { key: 3 }, void 0, !0) : e.showLoadingMoreLoading ? Va(e.$slots, "loadingMoreLoading", { key: 4 }, void 0, !0) : e.showLoadingMoreNoMore ? Va(e.$slots, "loadingMoreNoMore", { key: 5 }, void 0, !0) : e.showLoadingMoreFail ? Va(e.$slots, "loadingMoreFail", { key: 6 }, void 0, !0) : e.showLoadingMoreCustom ? (Br(), jr(l, { key: 7, onDoClick: t[2] || (t[2] = t => e._onLoadingMore("click")), zConfig: e.zLoadMoreConfig }, null, 8, ["zConfig"])) : Qr("", !0), e.safeAreaInsetBottom && e.useSafeAreaPlaceholder && !e.useChatRecordMode ? (Br(), jr(i, { key: 8, class: "zp-safe-area-placeholder", style: Ue([{ height: e.safeAreaBottom + "px" }]) }, null, 8, ["style"])) : Qr("", !0)]), _: 3 }, 8, ["style"]), e.showEmpty ? (Br(), jr(i, { key: 1, class: qe({ "zp-empty-view": !0, "zp-empty-view-center": e.emptyViewCenter }), style: Ue([e.emptyViewSuperStyle, e.chatRecordRotateStyle]) }, { default: Io(() => [e.zSlots.empty ? Va(e.$slots, "empty", { key: 0, isLoadFailed: e.isLoadFailed }, void 0, !0) : (Br(), jr(c, { key: 1, emptyViewImg: e.finalEmptyViewImg, emptyViewText: e.finalEmptyViewText, showEmptyViewReload: e.finalShowEmptyViewReload, emptyViewReloadText: e.finalEmptyViewReloadText, isLoadFailed: e.isLoadFailed, emptyViewStyle: e.emptyViewStyle, emptyViewTitleStyle: e.emptyViewTitleStyle, emptyViewImgStyle: e.emptyViewImgStyle, emptyViewReloadStyle: e.emptyViewReloadStyle, emptyViewZIndex: e.emptyViewZIndex, emptyViewFixed: e.emptyViewFixed, unit: e.unit, onReload: e._emptyViewReload, onViewClick: e._emptyViewClick }, null, 8, ["emptyViewImg", "emptyViewText", "showEmptyViewReload", "emptyViewReloadText", "isLoadFailed", "emptyViewStyle", "emptyViewTitleStyle", "emptyViewImgStyle", "emptyViewReloadStyle", "emptyViewZIndex", "emptyViewFixed", "unit", "onReload", "onViewClick"]))]), _: 3 }, 8, ["class", "style"])) : Qr("", !0)]), _: 3 }, 8, ["style"])]), _: 3 }, 8, ["style", "change:prop", "prop", "data-refresherThreshold", "data-isIos", "data-loading", "data-useChatRecordMode", "data-refresherEnabled", "data-useCustomRefresher", "data-pageScrollTop", "data-scrollTop", "data-refresherMaxAngle", "data-refresherNoTransform", "data-refresherAecc", "data-usePageScroll", "data-watchTouchDirectionChange", "data-oldIsTouchmoving", "data-refresherOutRate", "data-refresherPullRate", "data-hasTouchmove", "change:renderPropIsIosAndH5", "renderPropIsIosAndH5"])]), _: 3 }, 8, ["onTouchstart", "onTouchmove", "onTouchend", "onTouchcancel", "onMousedown", "onMousemove", "onMouseup", "onMouseleave"])]), _: 3 }, 8, ["class", "style", "scroll-top", "scroll-x", "scroll-y", "enable-back-to-top", "show-scrollbar", "scroll-with-animation", "scroll-into-view", "lower-threshold", "refresher-enabled", "refresher-threshold", "refresher-default-style", "refresher-background", "refresher-triggered", "onScroll", "onScrolltolower", "onScrolltoupper", "onRefresherrestore"])]), _: 3 }, 8, ["class", "style"]), e.zSlots.right ? (Br(), jr(i, { key: 1, class: qe({ "zp-page-right": !0, "zp-absoulte zp-right": e.finalIsOldWebView }) }, { default: Io(() => [Va(e.$slots, "right", {}, void 0, !0)]), _: 3 }, 8, ["class"])) : Qr("", !0)]), _: 3 }, 8, ["class", "style"]), Yr(i, { class: "zp-page-bottom-container", style: Ue({ background: e.bottomBgColor }) }, { default: Io(() => [!e.usePageScroll && e.zSlots.bottom ? Va(e.$slots, "bottom", { key: 0 }, void 0, !0) : e.usePageScroll && e.zSlots.bottom ? (Br(), jr(i, { key: 1, class: "zp-page-bottom", onTouchmove: t[4] || (t[4] = ms(() => { }, ["stop", "prevent"])), style: Ue([{ bottom: `${e.windowBottom}px` }]) }, { default: Io(() => [Va(e.$slots, "bottom", {}, void 0, !0)]), _: 3 }, 8, ["style"])) : Qr("", !0), e.useChatRecordMode && e.autoAdjustPositionWhenChat ? (Br(), $r(Ir, { key: 2 }, [Yr(i, { style: Ue([{ height: e.chatRecordModeSafeAreaBottom + "px" }]) }, null, 8, ["style"]), Yr(i, { class: "zp-page-bottom-keyboard-placeholder-animate", style: Ue([{ height: e.keyboardHeight + "px" }]) }, null, 8, ["style"])], 64)) : Qr("", !0)]), _: 3 }, 8, ["style"]), e.showBackToTopClass ? (Br(), jr(i, { key: 3, class: qe(e.finalBackToTopClass), style: Ue([e.finalBackToTopStyle]), onClick: ms(e._backToTopClick, ["stop"]) }, { default: Io(() => [e.zSlots.backToTop ? Va(e.$slots, "backToTop", { key: 0 }, void 0, !0) : (Br(), jr(u, { key: 1, class: "zp-back-to-top-img", src: e.backToTopImg.length ? e.backToTopImg : e.base64BackToTop }, null, 8, ["src"]))]), _: 3 }, 8, ["class", "style", "onClick"])) : Qr("", !0), e.showLoading && e.zSlots.loading && e.loadingFullFixed ? (Br(), jr(i, { key: 4, class: "zp-loading-fixed" }, { default: Io(() => [Va(e.$slots, "loading", {}, void 0, !0)]), _: 3 })) : Qr("", !0)]), _: 3 }, 8, ["class", "style"]) }], ["__scopeId", "data-v-695a39e3"]]), rR = Object.freeze(Object.defineProperty({ __proto__: null, default: e => { e.component("feed-card", IM), e.component("feed-video-card", RM), e.component("match-card", LM), e.component("w-banner", VM), e.component("w-customer-service", $M), e.component("w-middle-banner", jM), e.component("w-my-service", zM), e.component("w-nav", FM), e.component("w-search", WM), e.component("w-user-banner", HM), e.component("w-user-info", UM), e.component("page-meta", qM), e.component("navigation-bar", YM), e.component("u-button", GM), e.component("u-checkbox", QM), e.component("u-form", XM), e.component("u-form-item", wA), e.component("u-icon", xA), e.component("u-image", AM), e.component("u-input", CA), e.component("u-loading", kA), e.component("u-loading-icon", kA), e.component("u-mask", MA), e.component("u-parse", LA), e.component("u-picker", VA), e.component("u-popup", $A), e.component("u-verification-code", jA), e.component("z-paging", aR) } }, Symbol.toStringTag, { value: "Module" })), iR = function () { const e = wt(!0), t = e.run(() => Wn({})); let n = [], o = []; const a = Nn({ install(e) { dT(a), a._a = e, e.provide(uT, a), e.config.globalProperties.$pinia = a, o.forEach(e => n.push(e)), o = [] }, use(e) { return this._a ? n.push(e) : o.push(e), this }, _p: n, _a: null, _e: e, _s: new Map, state: t }); return a }(), sR = Object.freeze(Object.defineProperty({ __proto__: null, default: e => { e.use(iR) } }, Symbol.toStringTag, { value: "Module" })), lR = { data: () => ({}), onLoad() { this.$u.getRect = this.$uGetRect }, methods: { $uGetRect(e, t) { return new Promise(n => { Xh().in(this)[t ? "selectAll" : "select"](e).boundingClientRect(e => { t && Array.isArray(e) && e.length && n(e), !t && e && n(e) }).exec() }) }, getParentData(e = "") { this.parent || (this.parent = !1), this.parent = this.$u.$parent.call(this, e), this.parent && (Object.keys(this.parentData).map(e => { this.parentData[e] = this.parent[e] }), this.parentData.value = this.parent.modelValue) }, preventEvent(e) { e && e.stopPropagation && e.stopPropagation() } }, onReachBottom() { _h("uOnReachBottom") }, beforeUnmount() { if (this.parent && uni.$u.test.array(this.parent.children)) { const e = this.parent.children; e.map((t, n) => { t === this && e.splice(n, 1) }) } } }; function cR(e) { if ([null, void 0, NaN, !1].includes(e)) return e; if ("object" != typeof e && "function" != typeof e) return e; var t, n = (t = e, "[object Array]" === Object.prototype.toString.call(t) ? [] : {}); for (let o in e) e.hasOwnProperty(o) && (n[o] = "object" == typeof e[o] ? cR(e[o]) : e[o]); return n } function dR(e = {}, t = {}) { if ("object" != typeof (e = cR(e)) || "object" != typeof t) return !1; for (var n in t) t.hasOwnProperty(n) && (n in e ? "object" != typeof e[n] || "object" != typeof t[n] ? e[n] = t[n] : e[n].concat && t[n].concat ? e[n] = e[n].concat(t[n]) : e[n] = dR(e[n], t[n]) : e[n] = t[n]); return e } function uR(e) { switch (typeof e) { case "undefined": return !0; case "string": if (0 == e.replace(/(^[ \t\n\r]*)|([ \t\n\r]*$)/g, "").length) return !0; break; case "boolean": if (!e) return !0; break; case "number": if (0 === e || isNaN(e)) return !0; break; case "object": if (null === e || 0 === e.length) return !0; for (var t in e) return !1; return !0 }return !1 } const hR = { email: function (e) { return /^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/.test(e) }, mobile: function (e) { return /^1[23456789]\d{9}$/.test(e) }, url: function (e) { return /http(s)?:\/\/([\w-]+\.)+[\w-]+(\/[\w-.\/?%&=]*)?/.test(e) }, date: function (e) { return !/Invalid|NaN/.test(new Date(e).toString()) }, dateISO: function (e) { return /^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$/.test(e) }, number: function (e) { return /^(?:-?\d+|-?\d{1,3}(?:,\d{3})+)?(?:\.\d+)?$/.test(e) }, 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: uR, isEmpty: uR, jsonString: function (e) { if ("string" == typeof e) try { var t = JSON.parse(e); return !("object" != typeof t || !t) } catch (VR) { 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: function (e) { return "function" == typeof Array.isArray ? Array.isArray(e) : "[object Array]" === Object.prototype.toString.call(e) }, code: function (e, t = 6) { return new RegExp(`^\\d{${t}}$`).test(e) } }; const mR = new class { setConfig(e) { this.config = dR(this.config, e) } request(e = {}) { if (this.interceptor.request && "function" == typeof this.interceptor.request) { let t = this.interceptor.request(e); if (!1 === t) return new Promise(() => { }); this.options = t } return e.dataType = e.dataType || this.config.dataType, e.responseType = e.responseType || this.config.responseType, e.url = e.url || "", e.params = e.params || {}, e.header = Object.assign({}, this.config.header, e.header), e.method = e.method || this.config.method, new Promise((t, n) => { e.complete = e => { if (yb(), clearTimeout(this.config.timer), this.config.timer = null, this.config.originalData) if (this.interceptor.response && "function" == typeof this.interceptor.response) { let o = this.interceptor.response(e); !1 !== o ? t(o) : n(e) } else t(e); else if (200 == e.statusCode) if (this.interceptor.response && "function" == typeof this.interceptor.response) { let o = this.interceptor.response(e.data); !1 !== o ? t(o) : n(e.data) } else t(e.data); else n(e) }, e.url = hR.url(e.url) ? e.url : this.config.baseUrl + (0 == e.url.indexOf("/") ? e.url : "/" + e.url), this.config.showLoading && !this.config.timer && (this.config.timer = setTimeout(() => { fb({ title: this.config.loadingText, mask: this.config.loadingMask }), this.config.timer = null }, this.config.loadingTime)), Bv(e) }) } constructor() { this.config = { baseUrl: "", header: {}, method: "POST", dataType: "json", responseType: "text", showLoading: !0, loadingText: "请求中...", loadingTime: 800, timer: null, originalData: !1, loadingMask: !0 }, this.interceptor = { request: null, response: null }, this.get = (e, t = {}, n = {}) => this.request({ method: "GET", url: e, header: n, data: t }), this.post = (e, t = {}, n = {}) => this.request({ url: e, method: "POST", header: n, data: t }), this.put = (e, t = {}, n = {}) => this.request({ url: e, method: "PUT", header: n, data: t }), this.delete = (e, t = {}, n = {}) => this.request({ url: e, method: "DELETE", header: n, data: t }) } }; const pR = (new class { constructor() { this.config = { type: "navigateTo", url: "", delta: 1, params: {}, animationType: "pop-in", animationDuration: 300, intercept: !1 }, this.route = this.route.bind(this) } addRootPath(e) { return "/" === e[0] ? e : `/${e}` } mixinParam(e, t) { e = e && this.addRootPath(e); let n = ""; return /.*\/.*\?.*=.*/.test(e) ? (n = uni.$u.queryParams(t, !1), e + "&" + n) : (n = uni.$u.queryParams(t), e + n) } async route(e = {}, t = {}) { let n = {}; if ("string" == typeof e ? (n.url = this.mixinParam(e, t), n.type = "navigateTo") : (n = uni.$u.deepClone(e, this.config), n.url = this.mixinParam(e.url, e.params)), t.intercept && (this.config.intercept = t.intercept), n.params = t, n = uni.$u.deepMerge(this.config, n), "function" == typeof uni.$u.routeIntercept) { await new Promise((e, t) => { uni.$u.routeIntercept(n, e) }) && this.openPage(n) } else this.openPage(n) } openPage(e) { const { url: t, type: n, delta: o, animationType: a, animationDuration: r } = e; "navigateTo" != e.type && "to" != e.type || Uv({ url: t, animationType: a, animationDuration: r }), "redirectTo" != e.type && "redirect" != e.type || Hm({ url: t }), "switchTab" != e.type && "tab" != e.type || Fm({ url: t }), "reLaunch" != e.type && "launch" != e.type || qm({ url: t }), "navigateBack" != e.type && "back" != e.type || Hv({ delta: o }) } }).route; function fR(e = null, t = "yyyy-mm-dd") { e || (e = Number(new Date)), 10 == e.toString().length && (e *= 1e3); let n, o = new Date(e), a = { "y+": o.getFullYear().toString(), "m+": (o.getMonth() + 1).toString(), "d+": o.getDate().toString(), "h+": o.getHours().toString(), "M+": o.getMinutes().toString(), "s+": o.getSeconds().toString() }; for (let r in a) n = new RegExp("(" + r + ")").exec(t), n && (t = t.replace(n[1], 1 == n[1].length ? a[r] : a[r].padStart(n[1].length, "0"))); return t } function gR(e, t = !0) { if ((e = e.toLowerCase()) && /^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/.test(e)) { if (4 === e.length) { let t = "#"; for (let n = 1; n < 4; n += 1)t += e.slice(n, n + 1).concat(e.slice(n, n + 1)); e = t } let n = []; for (let t = 1; t < 7; t += 2)n.push(parseInt("0x" + e.slice(t, t + 2))); return t ? `rgb(${n[0]},${n[1]},${n[2]})` : n } if (/^(rgb|RGB)/.test(e)) { return e.replace(/(?:\(|\)|rgb|RGB)*/g, "").split(",").map(e => Number(e)) } return e } function yR(e) { let t = e; if (/^(rgb|RGB)/.test(t)) { let e = t.replace(/(?:\(|\)|rgb|RGB)*/g, "").split(","), n = "#"; for (let t = 0; t < e.length; t++) { let o = Number(e[t]).toString(16); o = 1 == String(o).length ? "0" + o : o, "0" === o && (o += o), n += o } return 7 !== n.length && (n = t), n } if (!/^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/.test(t)) return t; { let e = t.replace(/#/, "").split(""); if (6 === e.length) return t; if (3 === e.length) { let t = "#"; for (let n = 0; n < e.length; n += 1)t += e[n] + e[n]; return t } } } String.prototype.padStart || (String.prototype.padStart = function (e, t = " ") { if ("[object String]" !== Object.prototype.toString.call(t)) throw new TypeError("fillString must be String"); let n = this; if (n.length >= e) return String(n); let o = e - n.length, a = Math.ceil(o / t.length); for (; a >>= 1;)t += t, 1 === a && (t += t); return t.slice(0, o) + n }); const vR = { colorGradient: function (e = "rgb(0, 0, 0)", t = "rgb(255, 255, 255)", n = 10) { let o = gR(e, !1), a = o[0], r = o[1], i = o[2], s = gR(t, !1), l = (s[0] - a) / n, c = (s[1] - r) / n, d = (s[2] - i) / n, u = []; for (let h = 0; h < n; h++) { let e = yR("rgb(" + Math.round(l * h + a) + "," + Math.round(c * h + r) + "," + Math.round(d * h + i) + ")"); u.push(e) } return u }, hexToRgb: gR, rgbToHex: yR, colorToRgba: function (e, t = .3) { let n = (e = yR(e)).toLowerCase(); if (n && /^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/.test(n)) { if (4 === n.length) { var o = "#"; for (let e = 1; e < 4; e += 1)o += n.slice(e, e + 1).concat(n.slice(e, e + 1)); n = o } var a = []; for (let e = 1; e < 7; e += 2)a.push(parseInt("0x" + n.slice(e, e + 2))); return "rgba(" + a.join(",") + "," + t + ")" } return n } }; let bR = null; let _R = [], wR = []; let TR = "1.10.1"; const xR = { v: TR, version: TR, type: ["primary", "success", "info", "error", "warning"] }; const SR = { queryParams: function (e = {}, t = !0, n = "brackets") { let o = t ? "?" : "", a = []; -1 == ["indices", "brackets", "repeat", "comma"].indexOf(n) && (n = "brackets"); for (let r in e) { let t = e[r]; if (!(["", void 0, null].indexOf(t) >= 0)) if (t.constructor === Array) switch (n) { case "indices": for (let n = 0; n < t.length; n++)a.push(r + "[" + n + "]=" + t[n]); break; case "brackets": default: t.forEach(e => { a.push(r + "[]=" + e) }); break; case "repeat": t.forEach(e => { a.push(r + "=" + e) }); break; case "comma": let e = ""; t.forEach(t => { e += (e ? "," : "") + t }), a.push(r + "=" + e) } else a.push(r + "=" + t) } return a.length ? o + a.join("&") : "" }, route: pR, timeFormat: fR, date: fR, timeFrom: function (e = null, t = "yyyy-mm-dd") { e || (e = Number(new Date)), 10 == e.toString().length && (e *= 1e3); let n = +new Date(Number(e)), o = (Number(new Date) - n) / 1e3, a = ""; switch (!0) { case o < 300: a = "刚刚"; break; case o >= 300 && o < 3600: a = parseInt(o / 60) + "分钟前"; break; case o >= 3600 && o < 86400: a = parseInt(o / 3600) + "小时前"; break; case o >= 86400 && o < 2592e3: a = parseInt(o / 86400) + "天前"; break; default: a = !1 === t ? o >= 2592e3 && o < 31536e3 ? parseInt(o / 2592e3) + "个月前" : parseInt(o / 31536e3) + "年前" : fR(n, t) }return a }, colorGradient: vR.colorGradient, colorToRgba: vR.colorToRgba, guid: function (e = 32, t = !0, n = null) { let o = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split(""), a = []; if (n = n || o.length, e) for (let r = 0; r < e; r++)a[r] = o[0 | Math.random() * n]; else { let e; a[8] = a[13] = a[18] = a[23] = "-", a[14] = "4"; for (let t = 0; t < 36; t++)a[t] || (e = 0 | 16 * Math.random(), a[t] = o[19 == t ? 3 & e | 8 : e]) } return t ? (a.shift(), "u" + a.join("")) : a.join("") }, color: { primary: "#2979ff", primaryDark: "#2b85e4", primaryDisabled: "#a0cfff", primaryLight: "#ecf5ff", bgColor: "#f3f4f6", info: "#909399", infoDark: "#82848a", infoDisabled: "#c8c9cc", infoLight: "#f4f4f5", warning: "#ff9900", warningDark: "#f29100", warningDisabled: "#fcbd71", warningLight: "#fdf6ec", error: "#fa3534", errorDark: "#dd6161", errorDisabled: "#fab6b6", errorLight: "#fef0f0", success: "#19be6b", successDark: "#18b566", successDisabled: "#71d5a1", successLight: "#dbf1e1", mainColor: "#303133", contentColor: "#606266", tipsColor: "#909399", lightColor: "#c0c4cc", borderColor: "#e4e7ed" }, sys: function () { return ov() }, os: function () { return ov().platform }, type2icon: function (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 }, randomArray: function (e = []) { return e.sort(() => Math.random() - .5) }, wranning: function (e) { }, get: mR.get, post: mR.post, put: mR.put, delete: mR.delete, hexToRgb: vR.hexToRgb, rgbToHex: vR.rgbToHex, test: hR, random: function (e, t) { if (e >= 0 && t > 0 && t >= e) { let n = t - e + 1; return Math.floor(Math.random() * n + e) } return 0 }, deepClone: cR, deepMerge: dR, getParent: function (e, t) { let n = this.$parent; for (; n;) { if (n.$options.name === e) { let e = {}; if (Array.isArray(t)) t.map(t => { e[t] = n[t] ? n[t] : "" }); else for (let o in t) Array.isArray(t[o]) ? t[o].length ? e[o] = t[o] : e[o] = n[o] : t[o].constructor === Object ? Object.keys(t[o]).length ? e[o] = t[o] : e[o] = n[o] : e[o] = t[o] || !1 === t[o] ? t[o] : n[o]; return e } n = n.$parent } return {} }, $parent: function (e = void 0) { let t = this.$parent; for (; t;) { if (!t.$options || t.$options.name === e) return t; t = t.$parent } return !1 }, addUnit: function (e = "auto", t = "rpx") { return e = String(e), hR.number(e) ? `${e}${t}` : e }, trim: function (e, t = "both") { return "both" == t ? e.replace(/^\s+|\s+$/g, "") : "left" == t ? e.replace(/^\s*/, "") : "right" == t ? e.replace(/(\s*$)/g, "") : "all" == t ? e.replace(/\s+/g, "") : e }, type: ["primary", "success", "error", "warning", "info"], http: mR, toast: function (e, t = 1500) { mb({ title: e, icon: "none", duration: t }) }, config: xR, zIndex: { toast: 10090, noNetwork: 10080, popup: 10075, mask: 10070, navbar: 980, topTips: 975, sticky: 970, indexListSticky: 965 }, debounce: function (e, t = 500, n = !1) { if (null !== bR && clearTimeout(bR), n) { var o = !bR; bR = setTimeout(function () { bR = null }, t), o && "function" == typeof e && e() } else bR = setTimeout(function () { "function" == typeof e && e() }, t) }, throttle: function (e, t = 500, n = !0, o = "default") { _R[o] || (_R[o] = null), n ? wR[o] || (wR[o] = !0, "function" == typeof e && e(), _R[o] = setTimeout(() => { wR[o] = !1 }, t)) : wR[o] || (wR[o] = !0, _R[o] = setTimeout(() => { wR[o] = !1, "function" == typeof e && e() }, t)) } }; uni.$u = SR; const CR = { install: e => { e.mixin(lR), e.config.globalProperties.$u = SR } }, kR = Object.freeze(Object.defineProperty({ __proto__: null, default: e => { e.use(CR) } }, Symbol.toStringTag, { value: "Module" })), MR = Object.freeze(Object.defineProperty({ __proto__: null, default: async () => { const e = new URL(location.href); if ("47b1e3a9d33e6064e58cc4796c708447" == new URLSearchParams(e.search).get("vconsole")) { return new (0, (await o(() => import("./vconsole.min.BqPpisHq.js").then(e => e.v), [])).default) } } }, Symbol.toStringTag, { value: "Module" })); const AR = MM({ name: "u-empty", props: { src: { type: String, default: "" }, text: { type: String, default: "" }, color: { type: String, default: "#c0c4cc" }, iconColor: { type: String, default: "#c0c4cc" }, iconSize: { type: [String, Number], default: 120 }, fontSize: { type: [String, Number], default: 26 }, mode: { type: String, default: "data" }, imgWidth: { type: [String, Number], default: 120 }, imgHeight: { type: [String, Number], default: "auto" }, show: { type: Boolean, default: !0 }, marginTop: { type: [String, Number], default: 0 }, iconStyle: { type: Object, default: () => ({}) } }, data: () => ({ icons: { car: "购物车为空", page: "页面不存在", search: "没有搜索结果", address: "没有收货地址", wifi: "没有WiFi", order: "订单为空", coupon: "没有优惠券", favor: "暂无收藏", permission: "无权限", history: "无历史记录", news: "无新闻列表", message: "消息列表为空", list: "列表为空", data: "数据为空" } }) }, [["render", function (e, t, n, o, a, r) { const i = Bo("u-icon"), s = ny; return n.show ? (Br(), jr(s, { key: 0, class: "u-empty", style: Ue({ marginTop: n.marginTop + "rpx" }) }, { default: Io(() => [Yr(i, { name: n.src ? n.src : "empty-" + n.mode, "custom-style": n.iconStyle, label: n.text ? n.text : a.icons[n.mode], "label-pos": "bottom", "label-color": n.color, "label-size": n.fontSize, size: n.iconSize, color: n.iconColor, "margin-top": "14" }, null, 8, ["name", "custom-style", "label", "label-color", "label-size", "size", "color"]), Yr(s, { class: "u-slot-wrap" }, { default: Io(() => [Va(e.$slots, "bottom", {}, void 0, !0)]), _: 3 })]), _: 3 }, 8, ["style"])) : Qr("", !0) }], ["__scopeId", "data-v-6166d6bd"]]); const IR = MM({ name: "u-modal", emits: ["update:modelValue", "input", "confirm", "cancel"], props: { value: { type: Boolean, default: !1 }, modelValue: { type: Boolean, default: !1 }, zIndex: { type: [Number, String], default: "" }, title: { type: [String], default: "提示" }, width: { type: [Number, String], default: 600 }, content: { type: String, default: "内容" }, showTitle: { type: Boolean, default: !0 }, showConfirmButton: { type: Boolean, default: !0 }, showCancelButton: { type: Boolean, default: !1 }, confirmText: { type: String, default: "确认" }, cancelText: { type: String, default: "取消" }, confirmColor: { type: String, default: "#2979ff" }, cancelColor: { type: String, default: "#606266" }, borderRadius: { type: [Number, String], default: 16 }, titleStyle: { type: Object, default: () => ({}) }, contentStyle: { type: Object, default: () => ({}) }, cancelStyle: { type: Object, default: () => ({}) }, confirmStyle: { type: Object, default: () => ({}) }, zoom: { type: Boolean, default: !0 }, asyncClose: { type: Boolean, default: !1 }, maskCloseAble: { type: Boolean, default: !1 }, negativeTop: { type: [String, Number], default: 0 }, blur: { type: [Number, String], default: 0 } }, data: () => ({ loading: !1, popupValue: !1 }), computed: { valueCom() { return this.modelValue }, cancelBtnStyle() { return Object.assign({ color: this.cancelColor }, this.cancelStyle) }, confirmBtnStyle() { return Object.assign({ color: this.confirmColor }, this.confirmStyle) }, uZIndex() { return this.zIndex ? this.zIndex : this.$u.zIndex.popup } }, watch: { valueCom(e) { !0 === e && (this.loading = !1), this.popupValue = e } }, methods: { confirm() { this.asyncClose ? this.loading = !0 : (this.$emit("input", !1), this.$emit("update:modelValue", !1)), this.$emit("confirm") }, cancel() { this.$emit("cancel"), this.$emit("input", !1), this.$emit("update:modelValue", !1), setTimeout(() => { this.loading = !1 }, 300) }, popupClose() { this.$emit("input", !1), this.$emit("update:modelValue", !1) }, clearLoading() { this.loading = !1 } } }, [["render", function (e, t, n, o, a, r) { const i = ny, s = Bo("u-loading"), l = Bo("u-popup"); return Br(), jr(i, null, { default: Io(() => [Yr(l, { blur: n.blur, zoom: n.zoom, mode: "center", popup: !1, "z-index": r.uZIndex, modelValue: a.popupValue, "onUpdate:modelValue": t[0] || (t[0] = e => a.popupValue = e), length: n.width, "mask-close-able": n.maskCloseAble, "border-radius": n.borderRadius, onClose: r.popupClose, "negative-top": n.negativeTop }, { default: Io(() => [Yr(i, { class: "u-model" }, { default: Io(() => [n.showTitle ? (Br(), jr(i, { key: 0, class: "u-model__title u-line-1", style: Ue([n.titleStyle]) }, { default: Io(() => [Gr(G(n.title), 1)]), _: 1 }, 8, ["style"])) : Qr("", !0), Yr(i, { class: "u-model__content" }, { default: Io(() => [e.$slots.default || e.$slots.$default ? (Br(), jr(i, { key: 0, style: Ue([n.contentStyle]) }, { default: Io(() => [Va(e.$slots, "default", {}, void 0, !0)]), _: 3 }, 8, ["style"])) : (Br(), jr(i, { key: 1, class: "u-model__content__message", style: Ue([n.contentStyle]) }, { default: Io(() => [Gr(G(n.content), 1)]), _: 1 }, 8, ["style"]))]), _: 3 }), n.showCancelButton || n.showConfirmButton ? (Br(), jr(i, { key: 1, class: "u-model__footer u-border-top" }, { default: Io(() => [n.showCancelButton ? (Br(), jr(i, { key: 0, "hover-stay-time": 100, "hover-class": "u-model__btn--hover", class: "u-model__footer__button", style: Ue([r.cancelBtnStyle]), onClick: r.cancel }, { default: Io(() => [Gr(G(n.cancelText), 1)]), _: 1 }, 8, ["style", "onClick"])) : Qr("", !0), n.showConfirmButton || e.$slots["confirm-button"] ? (Br(), jr(i, { key: 1, "hover-stay-time": 100, "hover-class": n.asyncClose ? "none" : "u-model__btn--hover", class: "u-model__footer__button hairline-left", style: Ue([r.confirmBtnStyle]), onClick: r.confirm }, { default: Io(() => [e.$slots["confirm-button"] ? Va(e.$slots, "confirm-button", { key: 0 }, void 0, !0) : (Br(), $r(Ir, { key: 1 }, [a.loading ? (Br(), jr(s, { key: 0, mode: "circle", color: n.confirmColor }, null, 8, ["color"])) : (Br(), $r(Ir, { key: 1 }, [Gr(G(n.confirmText), 1)], 64))], 64))]), _: 3 }, 8, ["hover-class", "style", "onClick"])) : Qr("", !0)]), _: 3 })) : Qr("", !0)]), _: 3 })]), _: 3 }, 8, ["blur", "zoom", "z-index", "modelValue", "length", "mask-close-able", "border-radius", "onClose", "negative-top"])]), _: 3 }) }], ["__scopeId", "data-v-988710b1"]]), RR = Object.assign({ "./modules/global-components.ts": rR, "./modules/pinia.ts": sR, "./modules/uview.ts": kR, "./modules/vconsole.ts": MR }), ER = { install: e => { e.component("u-empty", AR), e.component("u-modal", IR); for (const t of Object.values(RR)) { const n = t.default; v(n) && n(e) } } }; var PR = (e => (e[e.MP_WEIXIN = 1] = "MP_WEIXIN", e[e.OA_WEIXIN = 2] = "OA_WEIXIN", e[e.H5 = 3] = "H5", e[e.IOS = 5] = "IOS", e[e.ANDROID = 6] = "ANDROID", e))(PR || {}), LR = (e => (e.LOGIN = "YZMDL", e.BIND_MOBILE = "BDSJHM", e.CHANGE_MOBILE = "BGSJHM", e.FIND_PASSWORD = "ZHDLMM", e))(LR || {}), OR = (e => (e.NONE = "", e.AVATAR = "avatar", e.USERNAME = "account", e.NICKNAME = "nickname", e.SEX = "sex", e))(OR || {}), BR = (e => (e.LOADING = "loading", e.NORMAL = "normal", e.ERROR = "error", e.EMPTY = "empty", e))(BR || {}); const NR = () => /MicroMessenger/i.test(navigator.userAgent); const DR = (({ MP_WEIXIN: e, OA_WEIXIN: t, H5: n, IOS: o, ANDROID: a, OTHER: r }) => NR() ? t() : n())({ MP_WEIXIN: () => PR.MP_WEIXIN, OA_WEIXIN: () => PR.OA_WEIXIN, H5: () => PR.H5, IOS: () => PR.IOS, ANDROID: () => PR.ANDROID, OTHER: () => null }); var VR, $R = { exports: {} }; VR = window, $R.exports = function (e, t) { if (!e.jWeixin) { var n, o = { config: "preVerifyJSAPI", onMenuShareTimeline: "menu:share:timeline", onMenuShareAppMessage: "menu:share:appmessage", onMenuShareQQ: "menu:share:qq", onMenuShareWeibo: "menu:share:weiboApp", onMenuShareQZone: "menu:share:QZone", previewImage: "imagePreview", getLocation: "geoLocation", openProductSpecificView: "openProductViewWithPid", addCard: "batchAddCard", openCard: "batchViewCard", chooseWXPay: "getBrandWCPayRequest", openEnterpriseRedPacket: "getRecevieBizHongBaoRequest", startSearchBeacons: "startMonitoringBeacons", stopSearchBeacons: "stopMonitoringBeacons", onSearchBeacons: "onBeaconsInRange", consumeAndShareCard: "consumedShareCard", openAddress: "editAddress" }, a = function () { var e = {}; for (var t in o) e[o[t]] = t; return e }(), r = e.document, i = r.title, s = navigator.userAgent.toLowerCase(), l = navigator.platform.toLowerCase(), c = !(!l.match("mac") && !l.match("win")), d = -1 != s.indexOf("wxdebugger"), u = -1 != s.indexOf("micromessenger"), h = -1 != s.indexOf("android"), m = -1 != s.indexOf("iphone") || -1 != s.indexOf("ipad"), p = (n = s.match(/micromessenger\/(\d+\.\d+\.\d+)/) || s.match(/micromessenger\/(\d+\.\d+)/)) ? n[1] : "", f = { initStartTime: P(), initEndTime: 0, preVerifyStartTime: 0, preVerifyEndTime: 0 }, g = { version: 1, appId: "", initTime: 0, preVerifyTime: 0, networkType: "", isPreVerifyOk: 1, systemType: m ? 1 : h ? 2 : -1, clientVersion: p, url: encodeURIComponent(location.href) }, y = {}, v = { _completes: [] }, b = { state: 0, data: {} }; L(function () { f.initEndTime = P() }); var _ = !1, w = [], T = { config: function (t) { E("config", y = t); var n = !1 !== y.check; L(function () { if (n) C(o.config, { verifyJsApiList: R(y.jsApiList), verifyOpenTagList: R(y.openTagList) }, function () { v._complete = function (e) { f.preVerifyEndTime = P(), b.state = 1, b.data = e }, v.success = function (e) { g.isPreVerifyOk = 0 }, v.fail = function (e) { v._fail ? v._fail(e) : b.state = -1 }; var e = v._completes; return e.push(function () { !function () { if (!(c || d || y.debug || p < "6.0.2" || g.systemType < 0)) { var e = new Image; g.appId = y.appId, g.initTime = f.initEndTime - f.initStartTime, g.preVerifyTime = f.preVerifyEndTime - f.preVerifyStartTime, T.getNetworkType({ isInnerInvoke: !0, success: function (t) { g.networkType = t.networkType; var n = "https://open.weixin.qq.com/sdk/report?v=" + g.version + "&o=" + g.isPreVerifyOk + "&s=" + g.systemType + "&c=" + g.clientVersion + "&a=" + g.appId + "&n=" + g.networkType + "&i=" + g.initTime + "&p=" + g.preVerifyTime + "&u=" + g.url; e.src = n } }) } }() }), v.complete = function (t) { for (var n = 0, o = e.length; n < o; ++n)e[n](); v._completes = [] }, v }()), f.preVerifyStartTime = P(); else { b.state = 1; for (var e = v._completes, t = 0, a = e.length; t < a; ++t)e[t](); v._completes = [] } }), T.invoke || (T.invoke = function (t, n, o) { e.WeixinJSBridge && WeixinJSBridge.invoke(t, M(n), o) }, T.on = function (t, n) { e.WeixinJSBridge && WeixinJSBridge.on(t, n) }) }, ready: function (e) { 0 != b.state ? e() : (v._completes.push(e), !u && y.debug && e()) }, error: function (e) { p < "6.0.2" || (-1 == b.state ? e(b.data) : v._fail = e) }, checkJsApi: function (e) { C("checkJsApi", { jsApiList: R(e.jsApiList) }, (e._complete = function (e) { if (h) { var t = e.checkResult; t && (e.checkResult = JSON.parse(t)) } e = function (e) { var t = e.checkResult; for (var n in t) { var o = a[n]; o && (t[o] = t[n], delete t[n]) } return e }(e) }, e)) }, onMenuShareTimeline: function (e) { k(o.onMenuShareTimeline, { complete: function () { C("shareTimeline", { title: e.title || i, desc: e.title || i, img_url: e.imgUrl || "", link: e.link || location.href, type: e.type || "link", data_url: e.dataUrl || "" }, e) } }, e) }, onMenuShareAppMessage: function (e) { k(o.onMenuShareAppMessage, { complete: function (t) { "favorite" === t.scene ? C("sendAppMessage", { title: e.title || i, desc: e.desc || "", link: e.link || location.href, img_url: e.imgUrl || "", type: e.type || "link", data_url: e.dataUrl || "" }) : C("sendAppMessage", { title: e.title || i, desc: e.desc || "", link: e.link || location.href, img_url: e.imgUrl || "", type: e.type || "link", data_url: e.dataUrl || "" }, e) } }, e) }, onMenuShareQQ: function (e) { k(o.onMenuShareQQ, { complete: function () { C("shareQQ", { title: e.title || i, desc: e.desc || "", img_url: e.imgUrl || "", link: e.link || location.href }, e) } }, e) }, onMenuShareWeibo: function (e) { k(o.onMenuShareWeibo, { complete: function () { C("shareWeiboApp", { title: e.title || i, desc: e.desc || "", img_url: e.imgUrl || "", link: e.link || location.href }, e) } }, e) }, onMenuShareQZone: function (e) { k(o.onMenuShareQZone, { complete: function () { C("shareQZone", { title: e.title || i, desc: e.desc || "", img_url: e.imgUrl || "", link: e.link || location.href }, e) } }, e) }, updateTimelineShareData: function (e) { C("updateTimelineShareData", { title: e.title, link: e.link, imgUrl: e.imgUrl }, e) }, updateAppMessageShareData: function (e) { C("updateAppMessageShareData", { title: e.title, desc: e.desc, link: e.link, imgUrl: e.imgUrl }, e) }, startRecord: function (e) { C("startRecord", {}, e) }, stopRecord: function (e) { C("stopRecord", {}, e) }, onVoiceRecordEnd: function (e) { k("onVoiceRecordEnd", e) }, playVoice: function (e) { C("playVoice", { localId: e.localId }, e) }, pauseVoice: function (e) { C("pauseVoice", { localId: e.localId }, e) }, stopVoice: function (e) { C("stopVoice", { localId: e.localId }, e) }, onVoicePlayEnd: function (e) { k("onVoicePlayEnd", e) }, uploadVoice: function (e) { C("uploadVoice", { localId: e.localId, isShowProgressTips: 0 == e.isShowProgressTips ? 0 : 1 }, e) }, downloadVoice: function (e) { C("downloadVoice", { serverId: e.serverId, isShowProgressTips: 0 == e.isShowProgressTips ? 0 : 1 }, e) }, translateVoice: function (e) { C("translateVoice", { localId: e.localId, isShowProgressTips: 0 == e.isShowProgressTips ? 0 : 1 }, e) }, chooseImage: function (e) { C("chooseImage", { scene: "1|2", count: e.count || 9, sizeType: e.sizeType || ["original", "compressed"], sourceType: e.sourceType || ["album", "camera"] }, (e._complete = function (e) { if (h) { var t = e.localIds; try { t && (e.localIds = JSON.parse(t)) } catch (n) { } } }, e)) }, getLocation: function (e) { }, previewImage: function (e) { C(o.previewImage, { current: e.current, urls: e.urls }, e) }, uploadImage: function (e) { C("uploadImage", { localId: e.localId, isShowProgressTips: 0 == e.isShowProgressTips ? 0 : 1 }, e) }, downloadImage: function (e) { C("downloadImage", { serverId: e.serverId, isShowProgressTips: 0 == e.isShowProgressTips ? 0 : 1 }, e) }, getLocalImgData: function (e) { !1 === _ ? (_ = !0, C("getLocalImgData", { localId: e.localId }, (e._complete = function (e) { if (_ = !1, 0 < w.length) { var t = w.shift(); wx.getLocalImgData(t) } }, e))) : w.push(e) }, getNetworkType: function (e) { C("getNetworkType", {}, (e._complete = function (e) { e = function (e) { var t = e.errMsg; e.errMsg = "getNetworkType:ok"; var n = e.subtype; if (delete e.subtype, n) e.networkType = n; else { var o = t.indexOf(":"), a = t.substring(o + 1); switch (a) { case "wifi": case "edge": case "wwan": e.networkType = a; break; default: e.errMsg = "getNetworkType:fail" } } return e }(e) }, e)) }, openLocation: function (e) { C("openLocation", { latitude: e.latitude, longitude: e.longitude, name: e.name || "", address: e.address || "", scale: e.scale || 28, infoUrl: e.infoUrl || "" }, e) }, getLocation: function (e) { C(o.getLocation, { type: (e = e || {}).type || "wgs84" }, (e._complete = function (e) { delete e.type }, e)) }, hideOptionMenu: function (e) { C("hideOptionMenu", {}, e) }, showOptionMenu: function (e) { C("showOptionMenu", {}, e) }, closeWindow: function (e) { C("closeWindow", {}, e = e || {}) }, hideMenuItems: function (e) { C("hideMenuItems", { menuList: e.menuList }, e) }, showMenuItems: function (e) { C("showMenuItems", { menuList: e.menuList }, e) }, hideAllNonBaseMenuItem: function (e) { C("hideAllNonBaseMenuItem", {}, e) }, showAllNonBaseMenuItem: function (e) { C("showAllNonBaseMenuItem", {}, e) }, scanQRCode: function (e) { C("scanQRCode", { needResult: (e = e || {}).needResult || 0, scanType: e.scanType || ["qrCode", "barCode"] }, (e._complete = function (e) { if (m) { var t = e.resultStr; if (t) { var n = JSON.parse(t); e.resultStr = n && n.scan_code && n.scan_code.scan_result } } }, e)) }, openAddress: function (e) { C(o.openAddress, {}, (e._complete = function (e) { var t; (t = e).postalCode = t.addressPostalCode, delete t.addressPostalCode, t.provinceName = t.proviceFirstStageName, delete t.proviceFirstStageName, t.cityName = t.addressCitySecondStageName, delete t.addressCitySecondStageName, t.countryName = t.addressCountiesThirdStageName, delete t.addressCountiesThirdStageName, t.detailInfo = t.addressDetailInfo, delete t.addressDetailInfo, e = t }, e)) }, openProductSpecificView: function (e) { C(o.openProductSpecificView, { pid: e.productId, view_type: e.viewType || 0, ext_info: e.extInfo }, e) }, addCard: function (e) { for (var t = e.cardList, n = [], a = 0, r = t.length; a < r; ++a) { var i = t[a], s = { card_id: i.cardId, card_ext: i.cardExt }; n.push(s) } C(o.addCard, { card_list: n }, (e._complete = function (e) { var t = e.card_list; if (t) { for (var n = 0, o = (t = JSON.parse(t)).length; n < o; ++n) { var a = t[n]; a.cardId = a.card_id, a.cardExt = a.card_ext, a.isSuccess = !!a.is_succ, delete a.card_id, delete a.card_ext, delete a.is_succ } e.cardList = t, delete e.card_list } }, e)) }, chooseCard: function (e) { C("chooseCard", { app_id: y.appId, location_id: e.shopId || "", sign_type: e.signType || "SHA1", card_id: e.cardId || "", card_type: e.cardType || "", card_sign: e.cardSign, time_stamp: e.timestamp + "", nonce_str: e.nonceStr }, (e._complete = function (e) { e.cardList = e.choose_card_info, delete e.choose_card_info }, e)) }, openCard: function (e) { for (var t = e.cardList, n = [], a = 0, r = t.length; a < r; ++a) { var i = t[a], s = { card_id: i.cardId, code: i.code }; n.push(s) } C(o.openCard, { card_list: n }, e) }, consumeAndShareCard: function (e) { C(o.consumeAndShareCard, { consumedCardId: e.cardId, consumedCode: e.code }, e) }, chooseWXPay: function (e) { C(o.chooseWXPay, A(e), e) }, openEnterpriseRedPacket: function (e) { C(o.openEnterpriseRedPacket, A(e), e) }, startSearchBeacons: function (e) { C(o.startSearchBeacons, { ticket: e.ticket }, e) }, stopSearchBeacons: function (e) { C(o.stopSearchBeacons, {}, e) }, onSearchBeacons: function (e) { k(o.onSearchBeacons, e) }, openEnterpriseChat: function (e) { C("openEnterpriseChat", { useridlist: e.userIds, chatname: e.groupName }, e) }, launchMiniProgram: function (e) { C("launchMiniProgram", { targetAppId: e.targetAppId, path: function (e) { if ("string" == typeof e && 0 < e.length) { var t = e.split("?")[0], n = e.split("?")[1]; return t += ".html", void 0 !== n ? t + "?" + n : t } }(e.path), envVersion: e.envVersion }, e) }, openBusinessView: function (e) { C("openBusinessView", { businessType: e.businessType, queryString: e.queryString || "", envVersion: e.envVersion }, (e._complete = function (e) { if (h) { var t = e.extraData; if (t) try { e.extraData = JSON.parse(t) } catch (n) { e.extraData = {} } } }, e)) }, miniProgram: { navigateBack: function (e) { e = e || {}, L(function () { C("invokeMiniProgramAPI", { name: "navigateBack", arg: { delta: e.delta || 1 } }, e) }) }, navigateTo: function (e) { L(function () { C("invokeMiniProgramAPI", { name: "navigateTo", arg: { url: e.url } }, e) }) }, redirectTo: function (e) { L(function () { C("invokeMiniProgramAPI", { name: "redirectTo", arg: { url: e.url } }, e) }) }, switchTab: function (e) { L(function () { C("invokeMiniProgramAPI", { name: "switchTab", arg: { url: e.url } }, e) }) }, reLaunch: function (e) { L(function () { C("invokeMiniProgramAPI", { name: "reLaunch", arg: { url: e.url } }, e) }) }, postMessage: function (e) { L(function () { C("invokeMiniProgramAPI", { name: "postMessage", arg: e.data || {} }, e) }) }, getEnv: function (t) { L(function () { t({ miniprogram: "miniprogram" === e.__wxjs_environment }) }) } } }, x = 1, S = {}; return r.addEventListener("error", function (e) { if (!h) { var t = e.target, n = t.tagName, o = t.src; if (("IMG" == n || "VIDEO" == n || "AUDIO" == n || "SOURCE" == n) && -1 != o.indexOf("wxlocalresource://")) { e.preventDefault(), e.stopPropagation(); var a = t["wx-id"]; if (a || (a = x++, t["wx-id"] = a), S[a]) return; S[a] = !0, wx.ready(function () { wx.getLocalImgData({ localId: o, success: function (e) { t.src = e.localData } }) }) } } }, !0), r.addEventListener("load", function (e) { if (!h) { var t = e.target, n = t.tagName; if (t.src, "IMG" == n || "VIDEO" == n || "AUDIO" == n || "SOURCE" == n) { var o = t["wx-id"]; o && (S[o] = !1) } } }, !0), t && (e.wx = e.jWeixin = T), T } function C(t, n, o) { e.WeixinJSBridge ? WeixinJSBridge.invoke(t, M(n), function (e) { I(t, e, o) }) : E(t, o) } function k(t, n, o) { e.WeixinJSBridge ? WeixinJSBridge.on(t, function (e) { o && o.trigger && o.trigger(e), I(t, e, n) }) : E(t, o || n) } function M(e) { return (e = e || {}).appId = y.appId, e.verifyAppId = y.appId, e.verifySignType = "sha1", e.verifyTimestamp = y.timestamp + "", e.verifyNonceStr = y.nonceStr, e.verifySignature = y.signature, e } function A(e) { return { timeStamp: e.timestamp + "", nonceStr: e.nonceStr, package: e.package, paySign: e.paySign, signType: e.signType || "SHA1" } } function I(e, t, n) { "openEnterpriseChat" != e && "openBusinessView" !== e || (t.errCode = t.err_code), delete t.err_code, delete t.err_desc, delete t.err_detail; var o = t.errMsg; o || (o = t.err_msg, delete t.err_msg, o = function (e, t) { var n = e, o = a[n]; o && (n = o); var r = "ok"; if (t) { var i = t.indexOf(":"); "confirm" == (r = t.substring(i + 1)) && (r = "ok"), "failed" == r && (r = "fail"), -1 != r.indexOf("failed_") && (r = r.substring(7)), -1 != r.indexOf("fail_") && (r = r.substring(5)), "access denied" != (r = (r = r.replace(/_/g, " ")).toLowerCase()) && "no permission to execute" != r || (r = "permission denied"), "config" == n && "function not exist" == r && (r = "ok"), "" == r && (r = "fail") } return n + ":" + r }(e, o), t.errMsg = o), (n = n || {})._complete && (n._complete(t), delete n._complete), o = t.errMsg || "", y.debug && !n.isInnerInvoke && alert(JSON.stringify(t)); var r = o.indexOf(":"); switch (o.substring(r + 1)) { case "ok": n.success && n.success(t); break; case "cancel": n.cancel && n.cancel(t); break; default: n.fail && n.fail(t) }n.complete && n.complete(t) } function R(e) { if (e) { for (var t = 0, n = e.length; t < n; ++t) { var a = e[t], r = o[a]; r && (e[t] = r) } return e } } function E(e, t) { if (!(!y.debug || t && t.isInnerInvoke)) { var n = a[e]; n && (e = n), t && t._complete && delete t._complete, console.log('"' + e + '",', t || "") } } function P() { return (new Date).getTime() } function L(t) { u && (e.WeixinJSBridge ? t() : r.addEventListener && r.addEventListener("WeixinJSBridgeReady", t, !1)) } }(VR); const jR = GS($R.exports); function zR(e) { const t = uv("invite_code") || ""; return jS.post({ url: "/login/account", data: { ...e, terminal: DR, inviter_code: t } }) } function FR(e) { const t = uv("invite_code") || ""; return jS.post({ url: "/login/register", data: { ...e, channel: DR, inviter_code: t } }) } function WR(e) { return jS.post({ url: "/login/oaLogin", data: e }) } function HR(e) { return jS.post({ url: "/login/oaAuthBind", data: e }) } var UR = (e => (e.LOGIN = "login", e.PC_LOGIN = "pcLogin", e.BIND_WX = "bindWx", e.BASE = "base", e))(UR || {}); const qR = { _authData: { code: "", scene: "" }, setAuthData(e = {}) { this._authData = e }, getAuthData() { return this._authData }, getSignLink: () => (void 0 !== window.signLink && "" !== window.signLink || (window.signLink = location.href.split("#")[0]), function () { const e = navigator.userAgent; return e.indexOf("Android") > -1 || e.indexOf("Adr") > -1 }() ? location.href.split("#")[0] : window.signLink), getUrl(e, t = "snsapi_userinfo", n = {}) { const o = `${location.href}${location.search ? "&" : "?"}scene=${e || ""}&${NM(n)}`; return new Promise((e, n) => { var a; (a = { url: o, scope: t }, jS.get({ url: "/login/codeUrl", data: a })).then(t => { location.href = t.url, e() }, n) }) }, config() { return new Promise((e, t) => { var n; (n = { url: this.getSignLink() }, jS.get({ url: "/wechat/jsConfig", data: n })).then(n => { jR.config({ ...n, success: () => { e("success") }, fail: e => { t("wx config is fail") } }) }) }) }, miniProgram: jR.miniProgram, ready: () => new Promise((e, t) => { jR.ready(() => { e() }), jR.error(() => { t() }) }), pay(e) { return new Promise((t, n) => { this.ready().then(() => { jR.chooseWXPay({ timestamp: e.timeStamp, nonceStr: e.nonceStr, package: e.package, signType: e.signType, paySign: e.paySign, success: e => { "chooseWXPay:ok" === e.errMsg ? t(e) : n(e.errMsg) }, cancel: e => { n(e) }, fail: e => { n(e) } }) }).catch(e => { n(e) }) }) }, async share(e) { return new Promise((t, n) => { this.ready().then(() => { const { title: o, link: a, imgUrl: r, desc: i } = e, s = ["updateTimelineShareData", "updateAppMessageShareData"]; for (const e of s) jR[e]({ title: o, link: a, imgUrl: r, desc: i, success() { t() }, fail() { n() } }) }).catch(n) }) }, getAddress() { return new Promise((e, t) => { this.ready().then(() => { jR.openAddress({ success: t => { e(t) }, fail: e => { t(e) } }) }) }) }, getLocation() { return new Promise((e, t) => { this.ready().then(() => { jR.getLocation({ type: "gcj02", success: t => { e(t) }, fail: e => { t(e) } }) }) }) }, hideMenuItems(e) { return new Promise((t, n) => { this.ready().then(() => { jR.hideMenuItems({ menuList: e, success: e => { t(e) }, fail: e => { n(e) } }) }) }) }, showMenuItems(e) { return new Promise((t, n) => { this.ready().then(() => { jR.showMenuItems({ menuList: e, success: e => { t(e) }, fail: e => { n(e) } }) }) }) } }, YR = function (e) { const t = { beforeGuards: rk(), afterGuards: rk() }, n = Hn(Rk), o = zk(e), a = "h5" === e.platform ? dM : wM; function r(e, t = "navigateTo", n) { return new Promise((o, r) => { let s = {}; var l; null != (l = e) && "object" == typeof l && (s = e), a.navigate(i, e, t, n).then(e => { o(e) }).catch(e => { var t, n; null === (t = s.fail) || void 0 === t || t.call(s, e), null === (n = s.complete) || void 0 === n || n.call(s, e), r(e) }) }) } const i = { level: 0, lock: !1, currentRoute: n, guards: t, options: e, vueRouter: null, routeMatcher: o, parseQuery: e.parseQuery || Nk, stringifyQuery: e.stringifyQuery || Vk, jump: function (e, t) { return new Promise((n, o) => { a.jump(i, e, t).then(n).catch(o) }) }, navigateTo: e => r(e, "navigateTo"), switchTab: e => r(e, "switchTab"), redirectTo: e => r(e, "redirectTo"), reLaunch: e => r(e, "reLaunch"), navigateBack: (e = { delta: 1 }) => r(e, "navigateBack"), navigate: r, resolve: function (e, t = "navigateTo") { return a.resolve(i, e, t) }, forceGuardEach: function () { return new Promise((e, t) => { a.forceGuardEach(i).then(e).catch(t) }) }, beforeEach(e) { t.beforeGuards.add(e) }, afterEach(e) { t.afterGuards.add(e) }, install(e) { const t = {}; for (const a in Rk) t[a] = gi(() => n.value[a]); e.config.globalProperties.$uniRouter = i, Object.defineProperty(e.config.globalProperties, "$uniRoute", { enumerable: !0, get: () => Yn(n) }), e.provide(Ek, i), e.provide(Pk, Mn(t)); const o = e.mount; e.mount = function (...t) { return function (e) { Mk.forEach(t => { uni[t] = function (n) { return e[t](n) } }) }(i), a.mount(e, i), Kk(e, i), console.log("%c uni-router %c v1.2.7 ", "padding: 2px 1px; border-radius: 3px 0 0 3px; color: #fff; background: #606060; font-weight: bold;", "padding: 2px 1px; border-radius: 0 3px 3px 0; color: #fff; background: #42c02e; font-weight: bold;"), o(...t) } } }; return i }({ routes: [{ path: "/pages/index/index", aliasPath: "/" }, { path: "/pages/match/match" }, { path: "/pages/user/user" }, { path: "/pages/channel/channel-manage" }, { path: "/pages/login/login", meta: { white: !0 } }, { path: "/pages/register/register", meta: { white: !0 } }, { path: "/pages/forget_pwd/forget_pwd", meta: { white: !0 } }, { path: "/pages/customer_service/customer_service", meta: { white: !0 } }, { path: "/pages/news_detail/news_detail" }, { path: "/pages/match_detail/match_detail" }, { path: "/pages/my_posts/my_posts", meta: { auth: !0 } }, { path: "/pages/my_follow/my_follow", meta: { auth: !0 } }, { path: "/pages/vip/vip" }, { path: "/pages/distribution/distribution" }, { path: "/pages/ai_analysis/ai_analysis" }, { path: "/pages/ai_assistant/ai_assistant" }, { path: "/pages/private_chat/list", meta: { auth: !0 } }, { path: "/pages/private_chat/room", meta: { auth: !0 } }, { path: "/pages/crypto/crypto" }, { path: "/pages/crypto/crypto_detail" }, { path: "/pages/lottery_analysis/lottery_analysis" }, { path: "/pages/user_set/user_set", meta: { auth: !0 } }, { path: "/pages/collection/collection", meta: { auth: !0 } }, { path: "/pages/as_us/as_us" }, { path: "/pages/agreement/agreement" }, { path: "/pages/article_view/article_view" }, { path: "/pages/change_password/change_password", meta: { auth: !0 } }, { path: "/pages/user_data/user_data", meta: { auth: !0 } }, { path: "/pages/search/search" }, { path: "/pages/webview/webview" }, { path: "/pages/bind_mobile/bind_mobile" }, { path: "/pages/empty/empty" }, { path: "/pages/web_closed/web_closed" }, { path: "/pages/payment_result/payment_result", meta: { auth: !0 } }, { path: "/uni_modules/vk-uview-ui/components/u-avatar-cropper/u-avatar-cropper" }, { path: "/uni_modules/uni-upgrade-center-app/pages/upgrade-popup" }, { path: "/packages/pages/404/404", name: "404", meta: { white: !0 } }, { path: "/packages/pages/user_wallet/user_wallet", meta: { auth: !0 } }, { path: "/packages/pages/points_log/points_log", meta: { auth: !0 } }, { path: "/packages/pages/recharge/recharge", meta: { auth: !0 } }, { path: "/packages/pages/recharge_record/recharge_record", meta: { auth: !0 } }, { path: "/packages/pages/points_products/points_products", meta: { auth: !0 } }, { path: "/packages/pages/points_order/points_order", meta: { auth: !0 } }, { path: "/packages/pages/points_order_detail/points_order_detail", meta: { auth: !0 } }, { path: "/packages_match/pages/index" }, { path: "/packages_match/pages/worldcup" }, { path: "/packages_community/pages/index" }, { path: "/packages_community/pages/publish" }, { path: "/packages_community/pages/post_detail" }, { path: "/packages_community/pages/user_profile" }, { path: "/packages_lottery/pages/index" }, { path: "/packages_lottery/pages/draw_list" }, { path: "/packages_lottery/pages/detail" }, { path: "/packages_lottery/pages/ai_predict" }, { path: "*", redirect: () => ({ name: "404" }) }], debug: !1, platform: "h5", h5: {} }); let ZR = !0; YR.beforeEach(async (e, t) => { if (ZR) { NS().isLogin || e.meta.white || kS.set(CS, e.fullPath), ZR = !1 } }), YR.afterEach((e, t) => { NS().isLogin || e.meta.white || kS.set(CS, e.fullPath) }), YR.beforeEach(async (e, t) => { if (!NS().isLogin && e.meta.auth) return "/pages/login/login" }), YR.beforeEach(async (e, t) => { const { code: n, state: o, scene: a } = e.query; if (n && o && a) return qR.setAuthData({ code: n, scene: a }), delete e.query.code, delete e.query.state, { path: e.path, force: !0, navType: "reLaunch", query: e.query } }), YR.afterEach((e, t) => { setTimeout(async () => { DR != PR.OA_WEIXIN || e.meta.webview || await qR.config() }) }), YR.afterEach(() => { setTimeout(() => { const e = US(), t = mp(); if (!t.length) return; let n = t[t.length - 1].route || ""; n = n.replace(/^\//, ""), n.startsWith("mobile/") && (n = n.replace("mobile/", "")); const o = "/" + n; e.updatePopupPath(o) }, 50) }); const GR = ["de", "bug", "ger"].join(""), QR = new Function(GR); let JR = !1; !function () { if (function () { try { return window.location.hostname.toLowerCase().includes("test") } catch (e) { return !1 } }()) return; if (JR) return; JR = !0; const e = () => { const e = Date.now(); try { QR() } catch (t) { } if (Date.now() - e > 200) try { window.location.href = "about:blank" } catch (t) { } }; e(), setInterval(e, 500) }(); const XR = { computed: { $theme() { const e = ak(), t = US(); return { primaryColor: e.primaryColor, pageStyle: e.vars, navColor: e.navColor, navBgColor: e.navBgColor, title: t.getWebsiteConfig.shop_name } } } }; (function () { const e = gs(kM); return function (e) { e.mixin(XR) }(e), e.use(ER), e.use(YR), { app: e } })().app.use(wy).mount("#app"); export { vh as $, RM as A, IM as B, kA as C, Qr as D, Xh as E, Ir as F, gi as G, US as H, xT as I, Mn as J, ov as K, MS as L, jS as M, nb as N, qS as O, Bo as P, Yn as Q, ms as R, Wg as S, Ug as T, xA as U, Yg as V, OS as W, uv as X, BS as Y, _h as Z, MM as _, gh as a, BR as a$, Hv as a0, NR as a1, Hn as a2, Ho as a3, qR as a4, UR as a5, fb as a6, yb as a7, mp as a8, kS as a9, Pa as aA, Zf as aB, aT as aC, yv as aD, HS as aE, Fh as aF, df as aG, Bv as aH, DS as aI, lT as aJ, HR as aK, WS as aL, ES as aM, OR as aN, AS as aO, gu as aP, wu as aQ, Wv as aR, RS as aS, IS as aT, SS as aU, YS as aV, Go as aW, ji as aX, Wy as aY, LM as aZ, hv as a_, CS as aa, WR as ab, Lk as ac, Ok as ad, xg as ae, Hy as af, FS as ag, zR as ah, FR as ai, zS as aj, LR as ak, PS as al, jy as am, qr as an, ty as ao, Aa as ap, xh as aq, Ov as ar, PM as as, xM as at, jg as au, Fm as av, qm as aw, SM as ax, xb as ay, sv as az, iT as b, Wh as b0, pv as b1, Hh as b2, Tb as b3, Fb as b4, jb as b5, zv as b6, Og as b7, LS as b8, Hm as b9, Zg as ba, GS as bb, ZS as bc, jr as c, la as d, Uv as e, oT as f, av as g, sT as h, bh as i, mb as j, ny as k, Yr as l, Ue as m, po as n, Br as o, Mf as p, Jg as q, Wn as r, lv as s, Gr as t, NS as u, G as v, Io as w, $r as x, Da as y, qe as z }; diff --git a/server/public/mobile/assets/pages-index-index.Du1ij_VW.js b/server/public/mobile/assets/pages-index-index.Du1ij_VW.js index b58e4e1..00a2246 100644 --- a/server/public/mobile/assets/pages-index-index.Du1ij_VW.js +++ b/server/public/mobile/assets/pages-index-index.Du1ij_VW.js @@ -1 +1 @@ -import{d as e,o as a,c as l,u as t,r as n,g as s,a as c,b as o,n as r,s as i,e as u,f as d,$ as _,h as v,i as m,w as p,j as h,k as f,l as y,m as g,p as b,U as x,q as w,t as k,v as T,S as C,x as j,F as K,y as S,z,A,B as I,C as D,D as L,E as R,_ as U}from"./index-D6lS2uZ9.js";import{_ as B}from"./logo.DIuJXRKy.js";import{g as E,a as F}from"./news.pig5l0m2.js";import{r as $}from"./share.CPj3dbHI.js";import{A as q}from"./ai-assistant-entry.BsT6MDaC.js";import{T as G}from"./translated-article-card.B0arwmCc.js";import{G as H}from"./global-popup.B14ONG8j.js";const M=e({__name:"feed-translate-card",props:{item:{default:()=>({})}},setup:e=>(e,t)=>(a(),l(G,{item:e.item,variant:"feed"},null,8,["item"]))}),O=U(e({__name:"index",setup(e){const U=t(),G=n(0),O=n(500);let P=667;s({success:e=>{G.value=0,P=e.windowHeight||667;const a=G.value+44,l=c(100);O.value=P-a-l}});const V=()=>{const e=R();e.select(".top-bar").boundingClientRect(),e.exec(e=>{var a;const l=(null==(a=e[0])?void 0:a.height)||G.value+44,t=c(100);O.value=P-l-t})},W=n("搜索乐博头条"),X={id:"__recommend__",name:"推荐",specialType:"recommend",channelKey:"__recommend__"},Y={id:"__mychannel__",name:"我的频道",specialType:"mychannel",channelKey:"__mychannel__"},Z=n([]),J=n([]),N=n(0),Q=n(0),ee=n([]),ae=n(!1),le=n(!1),te=n(1),ne=(e=Z.value)=>{var a;const l=(null==(a=J.value[N.value])?void 0:a.channelKey)||X.channelKey;J.value=((e=[])=>{const a=[{...X}];U.isLogin&&a.push({...Y});const l=(e||[]).map(e=>({...e,specialType:"category",channelKey:`cate_${e.id}`}));return[...a,...l]})(e);const t=J.value.findIndex(e=>e.channelKey===l);N.value=t>=0?t:0},se=async()=>{try{const e=await E();Z.value=e||[],ne()}catch(e){console.log("获取分类失败=>",e),Z.value=[],ne()}},ce=e=>{N.value!==e&&(N.value=e,oe())},oe=()=>{te.value=1,le.value=!1,ee.value=[],re()},re=async()=>{if(!ae.value&&!le.value){ae.value=!0;try{const e={page_no:te.value,page_size:10},a=J.value[N.value];a&&"recommend"!==a.specialType?"mychannel"===a.specialType?e.is_mychannel=1:a.id&&(e.cid=a.id):e.is_recommend=1;const{lists:l,count:t}=await F(e),n=l||[];1===te.value?ee.value=n:ee.value=[...ee.value,...n],(ee.value.length>=t||n.length<10)&&(le.value=!0),te.value++}catch(e){console.log("feed加载失败=>",e),h({title:"加载失败,请稍后重试",icon:"none"})}finally{ae.value=!1}}},ie=()=>{re()},ue=e=>!!String((null==e?void 0:e.translated_content)||(null==e?void 0:e.worldcup_translated_content)||"").trim(),de=()=>{u({url:"/pages/search/search"})},_e=()=>{u({url:"/pages/channel/channel-manage"})};o(async e=>{ve(e),await se(),re(),r(()=>{setTimeout(V,100)})});const ve=async e=>{var a;let l=(null==e?void 0:e.slc)||"";if(!l){l=new URLSearchParams(window.location.search).get("slc")||""}if(l)try{const e=me(),t=await $({code:l,fingerprint:e,referer:(null==document?void 0:document.referrer)||""});(null==(a=t.params)?void 0:a.invite_code)&&i("invite_code",t.params.invite_code),t.path&&"invite"!==t.page_type&&setTimeout(()=>{u({url:t.path})},300)}catch(t){console.error("短链接解析失败",t)}},me=()=>{try{const e=document.createElement("canvas"),a=e.getContext("2d");a&&(a.textBaseline="top",a.font="14px Arial",a.fillText("fp",2,2));const l=navigator.userAgent+navigator.language+(screen.width+"x")+screen.height+screen.colorDepth+(new Date).getTimezoneOffset()+e.toDataURL();let t=0;for(let n=0;n{var e;ne(),pe||0!==Z.value.length||(await se(),re()),pe&&"mychannel"===(null==(e=J.value[N.value])?void 0:e.specialType)&&oe(),pe=!0});const he=e=>{if(e.channels&&(Z.value=e.channels,ne()),e.selectIndex>=0){const l=Z.value[e.selectIndex],t=(a=null==l?void 0:l.id,J.value.findIndex(e=>"category"===e.specialType&&String(e.id)===String(a)));ce(t>=0?t:0)}else oe();var a};return _("channelChanged",he),v(()=>{m("channelChanged",he)}),(e,t)=>{const n=b,s=f,c=w,o=C;return a(),l(s,{class:"index"},{default:p(()=>[y(s,{class:"top-bar",style:g({paddingTop:G.value+"px"})},{default:p(()=>[y(s,{class:"top-bar__content"},{default:p(()=>[y(s,{class:"top-bar__logo"},{default:p(()=>[y(n,{src:B,mode:"aspectFit",class:"top-bar__logo-img"})]),_:1}),y(s,{class:"top-bar__search",onClick:de},{default:p(()=>[y(x,{name:"search",size:"28",color:"#999"}),y(c,{class:"top-bar__search-text"},{default:p(()=>[k(T(W.value),1)]),_:1})]),_:1}),y(s,{class:"top-bar__actions"},{default:p(()=>[y(q)]),_:1})]),_:1})]),_:1},8,["style"]),y(o,{"scroll-y":"",class:"feed-wrapper",style:g({height:O.value+"px"}),onScrolltolower:ie,"lower-threshold":100},{default:p(()=>[y(s,{class:"channel-bar"},{default:p(()=>[y(o,{"scroll-x":"",class:"channel-bar__scroll","scroll-left":Q.value,"scroll-with-animation":""},{default:p(()=>[y(s,{class:"channel-bar__list"},{default:p(()=>[(a(!0),j(K,null,S(J.value,(e,t)=>(a(),l(s,{key:e.channelKey,class:z(["channel-bar__item",{"channel-bar__item--active":N.value===t}]),onClick:e=>ce(t)},{default:p(()=>[y(c,null,{default:p(()=>[k(T(e.name),1)]),_:2},1024)]),_:2},1032,["class","onClick"]))),128))]),_:1})]),_:1},8,["scroll-left"]),y(s,{class:"channel-bar__more",onClick:_e},{default:p(()=>[y(x,{name:"list",size:"38",color:"#666"})]),_:1})]),_:1}),(a(!0),j(K,null,S(ee.value,e=>(a(),j(K,{key:e.id},[ue(e)?(a(),l(M,{key:0,item:e},null,8,["item"])):e.is_video?(a(),l(A,{key:1,item:e},null,8,["item"])):(a(),l(I,{key:2,item:e},null,8,["item"]))],64))),128)),ae.value?(a(),l(s,{key:0,class:"feed-loading"},{default:p(()=>[y(D,{mode:"circle"}),y(c,{class:"feed-loading__text"},{default:p(()=>[k("加载中...")]),_:1})]),_:1})):L("",!0),le.value&&ee.value.length?(a(),l(s,{key:1,class:"feed-bottom"},{default:p(()=>[y(c,null,{default:p(()=>[k("没有更多了")]),_:1})]),_:1})):L("",!0),ae.value||ee.value.length?L("",!0):(a(),l(s,{key:2,class:"feed-empty"},{default:p(()=>[y(c,null,{default:p(()=>[k("暂无内容")]),_:1})]),_:1}))]),_:1},8,["style"]),y(H)]),_:1})}}}),[["__scopeId","data-v-2a693eb7"]]);export{O as default}; +import { d as e, o as a, c as l, u as t, r as n, g as s, a as c, b as o, n as r, s as i, e as u, f as d, $ as _, h as v, i as m, w as p, j as h, k as f, l as y, m as g, p as b, U as x, q as w, t as k, v as T, S as C, x as j, F as K, y as S, z, A, B as I, C as D, D as L, E as R, _ as U } from "./index-D6lS2uZ9.js"; import { _ as B } from "./logo.DIuJXRKy.js"; import { g as E, a as F } from "./news.pig5l0m2.js"; import { r as $ } from "./share.CPj3dbHI.js"; import { A as q } from "./ai-assistant-entry.BsT6MDaC.js"; import { T as G } from "./translated-article-card.B0arwmCc.js"; import { G as H } from "./global-popup.B14ONG8j.js"; const M = e({ __name: "feed-translate-card", props: { item: { default: () => ({}) } }, setup: e => (e, t) => (a(), l(G, { item: e.item, variant: "feed" }, null, 8, ["item"])) }), O = U(e({ __name: "index", setup(e) { const U = t(), G = n(0), O = n(500); let P = 667; s({ success: e => { G.value = 0, P = e.windowHeight || 667; const a = G.value + 44, l = c(100); O.value = P - a - l } }); const V = () => { const e = R(); e.select(".top-bar").boundingClientRect(), e.exec(e => { var a; const l = (null == (a = e[0]) ? void 0 : a.height) || G.value + 44, t = c(100); O.value = P - l - t }) }, W = n("搜索世博头条"), X = { id: "__recommend__", name: "推荐", specialType: "recommend", channelKey: "__recommend__" }, Y = { id: "__mychannel__", name: "我的频道", specialType: "mychannel", channelKey: "__mychannel__" }, Z = n([]), J = n([]), N = n(0), Q = n(0), ee = n([]), ae = n(!1), le = n(!1), te = n(1), ne = (e = Z.value) => { var a; const l = (null == (a = J.value[N.value]) ? void 0 : a.channelKey) || X.channelKey; J.value = ((e = []) => { const a = [{ ...X }]; U.isLogin && a.push({ ...Y }); const l = (e || []).map(e => ({ ...e, specialType: "category", channelKey: `cate_${e.id}` })); return [...a, ...l] })(e); const t = J.value.findIndex(e => e.channelKey === l); N.value = t >= 0 ? t : 0 }, se = async () => { try { const e = await E(); Z.value = e || [], ne() } catch (e) { console.log("获取分类失败=>", e), Z.value = [], ne() } }, ce = e => { N.value !== e && (N.value = e, oe()) }, oe = () => { te.value = 1, le.value = !1, ee.value = [], re() }, re = async () => { if (!ae.value && !le.value) { ae.value = !0; try { const e = { page_no: te.value, page_size: 10 }, a = J.value[N.value]; a && "recommend" !== a.specialType ? "mychannel" === a.specialType ? e.is_mychannel = 1 : a.id && (e.cid = a.id) : e.is_recommend = 1; const { lists: l, count: t } = await F(e), n = l || []; 1 === te.value ? ee.value = n : ee.value = [...ee.value, ...n], (ee.value.length >= t || n.length < 10) && (le.value = !0), te.value++ } catch (e) { console.log("feed加载失败=>", e), h({ title: "加载失败,请稍后重试", icon: "none" }) } finally { ae.value = !1 } } }, ie = () => { re() }, ue = e => !!String((null == e ? void 0 : e.translated_content) || (null == e ? void 0 : e.worldcup_translated_content) || "").trim(), de = () => { u({ url: "/pages/search/search" }) }, _e = () => { u({ url: "/pages/channel/channel-manage" }) }; o(async e => { ve(e), await se(), re(), r(() => { setTimeout(V, 100) }) }); const ve = async e => { var a; let l = (null == e ? void 0 : e.slc) || ""; if (!l) { l = new URLSearchParams(window.location.search).get("slc") || "" } if (l) try { const e = me(), t = await $({ code: l, fingerprint: e, referer: (null == document ? void 0 : document.referrer) || "" }); (null == (a = t.params) ? void 0 : a.invite_code) && i("invite_code", t.params.invite_code), t.path && "invite" !== t.page_type && setTimeout(() => { u({ url: t.path }) }, 300) } catch (t) { console.error("短链接解析失败", t) } }, me = () => { try { const e = document.createElement("canvas"), a = e.getContext("2d"); a && (a.textBaseline = "top", a.font = "14px Arial", a.fillText("fp", 2, 2)); const l = navigator.userAgent + navigator.language + (screen.width + "x") + screen.height + screen.colorDepth + (new Date).getTimezoneOffset() + e.toDataURL(); let t = 0; for (let n = 0; n < l.length; n++)t = (t << 5) - t + l.charCodeAt(n), t |= 0; return Math.abs(t).toString(16) } catch { return "" } }; let pe = !1; d(async () => { var e; ne(), pe || 0 !== Z.value.length || (await se(), re()), pe && "mychannel" === (null == (e = J.value[N.value]) ? void 0 : e.specialType) && oe(), pe = !0 }); const he = e => { if (e.channels && (Z.value = e.channels, ne()), e.selectIndex >= 0) { const l = Z.value[e.selectIndex], t = (a = null == l ? void 0 : l.id, J.value.findIndex(e => "category" === e.specialType && String(e.id) === String(a))); ce(t >= 0 ? t : 0) } else oe(); var a }; return _("channelChanged", he), v(() => { m("channelChanged", he) }), (e, t) => { const n = b, s = f, c = w, o = C; return a(), l(s, { class: "index" }, { default: p(() => [y(s, { class: "top-bar", style: g({ paddingTop: G.value + "px" }) }, { default: p(() => [y(s, { class: "top-bar__content" }, { default: p(() => [y(s, { class: "top-bar__logo" }, { default: p(() => [y(n, { src: B, mode: "aspectFit", class: "top-bar__logo-img" })]), _: 1 }), y(s, { class: "top-bar__search", onClick: de }, { default: p(() => [y(x, { name: "search", size: "28", color: "#999" }), y(c, { class: "top-bar__search-text" }, { default: p(() => [k(T(W.value), 1)]), _: 1 })]), _: 1 }), y(s, { class: "top-bar__actions" }, { default: p(() => [y(q)]), _: 1 })]), _: 1 })]), _: 1 }, 8, ["style"]), y(o, { "scroll-y": "", class: "feed-wrapper", style: g({ height: O.value + "px" }), onScrolltolower: ie, "lower-threshold": 100 }, { default: p(() => [y(s, { class: "channel-bar" }, { default: p(() => [y(o, { "scroll-x": "", class: "channel-bar__scroll", "scroll-left": Q.value, "scroll-with-animation": "" }, { default: p(() => [y(s, { class: "channel-bar__list" }, { default: p(() => [(a(!0), j(K, null, S(J.value, (e, t) => (a(), l(s, { key: e.channelKey, class: z(["channel-bar__item", { "channel-bar__item--active": N.value === t }]), onClick: e => ce(t) }, { default: p(() => [y(c, null, { default: p(() => [k(T(e.name), 1)]), _: 2 }, 1024)]), _: 2 }, 1032, ["class", "onClick"]))), 128))]), _: 1 })]), _: 1 }, 8, ["scroll-left"]), y(s, { class: "channel-bar__more", onClick: _e }, { default: p(() => [y(x, { name: "list", size: "38", color: "#666" })]), _: 1 })]), _: 1 }), (a(!0), j(K, null, S(ee.value, e => (a(), j(K, { key: e.id }, [ue(e) ? (a(), l(M, { key: 0, item: e }, null, 8, ["item"])) : e.is_video ? (a(), l(A, { key: 1, item: e }, null, 8, ["item"])) : (a(), l(I, { key: 2, item: e }, null, 8, ["item"]))], 64))), 128)), ae.value ? (a(), l(s, { key: 0, class: "feed-loading" }, { default: p(() => [y(D, { mode: "circle" }), y(c, { class: "feed-loading__text" }, { default: p(() => [k("加载中...")]), _: 1 })]), _: 1 })) : L("", !0), le.value && ee.value.length ? (a(), l(s, { key: 1, class: "feed-bottom" }, { default: p(() => [y(c, null, { default: p(() => [k("没有更多了")]), _: 1 })]), _: 1 })) : L("", !0), ae.value || ee.value.length ? L("", !0) : (a(), l(s, { key: 2, class: "feed-empty" }, { default: p(() => [y(c, null, { default: p(() => [k("暂无内容")]), _: 1 })]), _: 1 }))]), _: 1 }, 8, ["style"]), y(H)]), _: 1 }) } } }), [["__scopeId", "data-v-2a693eb7"]]); export { O as default }; diff --git a/server/public/mobile/assets/pages-search-search.PHgCDRt1.js b/server/public/mobile/assets/pages-search-search.PHgCDRt1.js index abb3d48..26d8478 100644 --- a/server/public/mobile/assets/pages-search-search.PHgCDRt1.js +++ b/server/public/mobile/assets/pages-search-search.PHgCDRt1.js @@ -1 +1 @@ -import{d as a,r as e,a2 as l,a9 as s,aU as t,G as c,c as n,w as o,aV as u,k as r,P as _,o as i,l as d,p as h,aB as m,D as g,q as v,t as f,x as p,F as y,y as k,S as C,v as w,aW as T,z,aX as b,N as V,j as x,a0 as A,_ as B}from"./index-D6lS2uZ9.js";import{_ as j}from"./logo.DIuJXRKy.js";import{a as I}from"./news.pig5l0m2.js";const F=B(a({__name:"search",setup(a){const B=e(""),F=e(!0),N=e(!1),U=e("搜索乐博头条"),W=e([]),q=l(),D=e([]),G=e(s.get(t)||[]),P=e(0),Q=e([{name:"猜你想搜",list:[{name:"英超联赛最新战报",tag:""},{name:"NBA季后赛对阵",tag:"热",tagType:"hot"},{name:"中超积分榜",tag:""},{name:"欧冠八强对阵",tag:"新",tagType:"new"},{name:"AI赛事分析准确率",tag:""},{name:"世预赛国足赛程",tag:""},{name:"足球竞彩推荐",tag:""},{name:"CBA总决赛",tag:"热",tagType:"hot"}]},{name:"热榜",list:[{name:"欧冠淘汰赛精彩回顾",tag:"热",tagType:"hot"},{name:"英超争冠分析",tag:""},{name:"NBA交易截止日",tag:"新",tagType:"new"},{name:"中超新赛季引援",tag:""},{name:"世界杯预选赛",tag:""},{name:"足球数据分析工具",tag:""},{name:"体育AI预测趋势",tag:""},{name:"篮球战术解析",tag:""}]},{name:"体育热搜",list:[{name:"梅西最新动态",tag:"热",tagType:"hot"},{name:"C罗进球纪录",tag:""},{name:"姚明谈CBA改革",tag:"新",tagType:"new"},{name:"武磊留洋表现",tag:""},{name:"詹姆斯生涯里程碑",tag:"热",tagType:"hot"},{name:"乒乓球世锦赛",tag:""},{name:"网球大满贯赛程",tag:""},{name:"F1新赛季",tag:""}]}]),S=c(()=>{var a;return(null==(a=Q.value[P.value])?void 0:a.list)||[]}),X=()=>{B.value.trim()?D.value=Q.value[0].list.filter(a=>a.name.includes(B.value)).map(a=>a.name).slice(0,6):(D.value=[],N.value=!1)},E=a=>{var e;a&&a.trim()&&(B.value=a,D.value=[],G.value.includes(a)||(G.value.unshift(a),G.value.length>20&&G.value.pop(),s.set(t,G.value)),N.value=!0,null==(e=q.value)||e.reload())},H=()=>{B.value="",D.value=[],N.value=!1},J=async()=>{(await V({title:"温馨提示",content:"是否清空历史记录?"})).confirm&&(s.set(t,""),G.value=[])},K=async(a,e)=>{var l,s;try{const{lists:s}=await I({keyword:B.value,page_no:a,page_size:e}),t=(s||[]).map(a=>({...a,author:a.author||"体育小编",comment_count:a.click||0}));null==(l=q.value)||l.complete(t)}catch(t){console.log("搜索失败=>",t),null==(s=q.value)||s.complete(!1)}},L=()=>{x({title:"已刷新",icon:"none"})},M=()=>{A()};return(async()=>{var a;try{const e=await u();(null==(a=null==e?void 0:e.data)?void 0:a.length)&&(Q.value[0].list=e.data.map(a=>({name:a.name,tag:"",tagType:""})))}catch(e){console.log("获取热搜失败=>",e)}})(),(a,e)=>{const l=h,s=r,t=_("u-icon"),c=m,u=v,V=_("feed-video-card"),x=_("feed-card"),A=_("z-paging"),I=C;return i(),n(s,{class:"search-page"},{default:o(()=>[d(s,{class:"search-header"},{default:o(()=>[d(s,{class:"search-header__logo",onClick:M},{default:o(()=>[d(l,{src:j,mode:"aspectFit",class:"search-header__logo-img"})]),_:1}),d(s,{class:"search-header__input"},{default:o(()=>[d(t,{name:"search",size:"28",color:"#999"}),d(c,{modelValue:B.value,"onUpdate:modelValue":e[0]||(e[0]=a=>B.value=a),class:"search-header__field",placeholder:U.value,focus:F.value,"confirm-type":"search",onConfirm:e[1]||(e[1]=a=>E(B.value)),onInput:X},null,8,["modelValue","placeholder","focus"]),B.value?(i(),n(t,{key:0,name:"close-circle-fill",size:"32",color:"#666666",onClick:H})):g("",!0)]),_:1}),d(s,{class:"search-header__btn",onClick:e[2]||(e[2]=a=>E(B.value))},{default:o(()=>[d(u,{class:"search-header__btn-text"},{default:o(()=>[f("搜索")]),_:1})]),_:1})]),_:1}),N.value?(i(),n(s,{key:0,class:"search-result"},{default:o(()=>[d(A,{ref_key:"paging",ref:q,modelValue:W.value,"onUpdate:modelValue":e[3]||(e[3]=a=>W.value=a),onQuery:K,fixed:!1,height:"100%"},{default:o(()=>[(i(!0),p(y,null,k(W.value,a=>(i(),p(y,{key:a.id},[a.is_video?(i(),n(V,{key:0,item:a},null,8,["item"])):(i(),n(x,{key:1,item:a},null,8,["item"]))],64))),128))]),_:1},8,["modelValue"])]),_:1})):(i(),n(I,{key:1,"scroll-y":"",class:"search-suggest"},{default:o(()=>[D.value.length?(i(),n(s,{key:0,class:"suggest-words"},{default:o(()=>[(i(!0),p(y,null,k(D.value,(a,e)=>(i(),n(s,{key:e,class:"suggest-words__item",onClick:e=>E(a)},{default:o(()=>[d(t,{name:"search",size:"28",color:"#ccc"}),d(u,{class:"suggest-words__text"},{default:o(()=>[f(w(a),1)]),_:2},1024)]),_:2},1032,["onClick"]))),128))]),_:1})):g("",!0),T(d(s,{class:"hot-search"},{default:o(()=>[d(s,{class:"hot-search__tabs"},{default:o(()=>[(i(!0),p(y,null,k(Q.value,(a,e)=>(i(),n(s,{key:e,class:z(["hot-search__tab",{"hot-search__tab--active":P.value===e}]),onClick:a=>P.value=e},{default:o(()=>[d(u,null,{default:o(()=>[f(w(a.name),1)]),_:2},1024)]),_:2},1032,["class","onClick"]))),128)),d(s,{class:"hot-search__tab-actions"},{default:o(()=>[d(t,{name:"reload",size:"28",color:"#999",onClick:L}),d(t,{name:"eye-off",size:"28",color:"#999"})]),_:1})]),_:1}),d(s,{class:"hot-search__list"},{default:o(()=>[(i(!0),p(y,null,k(S.value,(a,e)=>(i(),n(s,{key:e,class:"hot-search__item",onClick:e=>E(a.name)},{default:o(()=>[d(u,{class:z(["hot-search__rank",{"hot-search__rank--top":e<3}])},{default:o(()=>[f(w(e+1),1)]),_:2},1032,["class"]),d(u,{class:z(["hot-search__name",{"hot-search__name--top":e<3}])},{default:o(()=>[f(w(a.name),1)]),_:2},1032,["class"]),a.tag?(i(),n(s,{key:0,class:z(["hot-search__tag","hot-search__tag--"+(a.tagType||"hot")])},{default:o(()=>[d(u,null,{default:o(()=>[f(w(a.tag),1)]),_:2},1024)]),_:2},1032,["class"])):g("",!0)]),_:2},1032,["onClick"]))),128))]),_:1})]),_:1},512),[[b,!B.value]]),T(d(s,{class:"history-search"},{default:o(()=>[d(s,{class:"history-search__header"},{default:o(()=>[d(u,{class:"history-search__title"},{default:o(()=>[f("历史搜索")]),_:1}),d(s,{onClick:J},{default:o(()=>[d(t,{name:"trash",size:"32",color:"#999"})]),_:1})]),_:1}),d(s,{class:"history-search__list"},{default:o(()=>[(i(!0),p(y,null,k(G.value,(a,e)=>(i(),n(s,{key:e,class:"history-search__tag",onClick:e=>E(a)},{default:o(()=>[d(u,null,{default:o(()=>[f(w(a),1)]),_:2},1024)]),_:2},1032,["onClick"]))),128))]),_:1})]),_:1},512),[[b,!B.value&&G.value.length]]),d(s,{class:"search-feedback"},{default:o(()=>[d(u,{class:"search-feedback__text"},{default:o(()=>[f("© 反馈")]),_:1})]),_:1})]),_:1}))]),_:1})}}}),[["__scopeId","data-v-c77a2c44"]]);export{F as default}; +import { d as a, r as e, a2 as l, a9 as s, aU as t, G as c, c as n, w as o, aV as u, k as r, P as _, o as i, l as d, p as h, aB as m, D as g, q as v, t as f, x as p, F as y, y as k, S as C, v as w, aW as T, z, aX as b, N as V, j as x, a0 as A, _ as B } from "./index-D6lS2uZ9.js"; import { _ as j } from "./logo.DIuJXRKy.js"; import { a as I } from "./news.pig5l0m2.js"; const F = B(a({ __name: "search", setup(a) { const B = e(""), F = e(!0), N = e(!1), U = e("搜索世博头条"), W = e([]), q = l(), D = e([]), G = e(s.get(t) || []), P = e(0), Q = e([{ name: "猜你想搜", list: [{ name: "英超联赛最新战报", tag: "" }, { name: "NBA季后赛对阵", tag: "热", tagType: "hot" }, { name: "中超积分榜", tag: "" }, { name: "欧冠八强对阵", tag: "新", tagType: "new" }, { name: "AI赛事分析准确率", tag: "" }, { name: "世预赛国足赛程", tag: "" }, { name: "足球竞彩推荐", tag: "" }, { name: "CBA总决赛", tag: "热", tagType: "hot" }] }, { name: "热榜", list: [{ name: "欧冠淘汰赛精彩回顾", tag: "热", tagType: "hot" }, { name: "英超争冠分析", tag: "" }, { name: "NBA交易截止日", tag: "新", tagType: "new" }, { name: "中超新赛季引援", tag: "" }, { name: "世界杯预选赛", tag: "" }, { name: "足球数据分析工具", tag: "" }, { name: "体育AI预测趋势", tag: "" }, { name: "篮球战术解析", tag: "" }] }, { name: "体育热搜", list: [{ name: "梅西最新动态", tag: "热", tagType: "hot" }, { name: "C罗进球纪录", tag: "" }, { name: "姚明谈CBA改革", tag: "新", tagType: "new" }, { name: "武磊留洋表现", tag: "" }, { name: "詹姆斯生涯里程碑", tag: "热", tagType: "hot" }, { name: "乒乓球世锦赛", tag: "" }, { name: "网球大满贯赛程", tag: "" }, { name: "F1新赛季", tag: "" }] }]), S = c(() => { var a; return (null == (a = Q.value[P.value]) ? void 0 : a.list) || [] }), X = () => { B.value.trim() ? D.value = Q.value[0].list.filter(a => a.name.includes(B.value)).map(a => a.name).slice(0, 6) : (D.value = [], N.value = !1) }, E = a => { var e; a && a.trim() && (B.value = a, D.value = [], G.value.includes(a) || (G.value.unshift(a), G.value.length > 20 && G.value.pop(), s.set(t, G.value)), N.value = !0, null == (e = q.value) || e.reload()) }, H = () => { B.value = "", D.value = [], N.value = !1 }, J = async () => { (await V({ title: "温馨提示", content: "是否清空历史记录?" })).confirm && (s.set(t, ""), G.value = []) }, K = async (a, e) => { var l, s; try { const { lists: s } = await I({ keyword: B.value, page_no: a, page_size: e }), t = (s || []).map(a => ({ ...a, author: a.author || "体育小编", comment_count: a.click || 0 })); null == (l = q.value) || l.complete(t) } catch (t) { console.log("搜索失败=>", t), null == (s = q.value) || s.complete(!1) } }, L = () => { x({ title: "已刷新", icon: "none" }) }, M = () => { A() }; return (async () => { var a; try { const e = await u(); (null == (a = null == e ? void 0 : e.data) ? void 0 : a.length) && (Q.value[0].list = e.data.map(a => ({ name: a.name, tag: "", tagType: "" }))) } catch (e) { console.log("获取热搜失败=>", e) } })(), (a, e) => { const l = h, s = r, t = _("u-icon"), c = m, u = v, V = _("feed-video-card"), x = _("feed-card"), A = _("z-paging"), I = C; return i(), n(s, { class: "search-page" }, { default: o(() => [d(s, { class: "search-header" }, { default: o(() => [d(s, { class: "search-header__logo", onClick: M }, { default: o(() => [d(l, { src: j, mode: "aspectFit", class: "search-header__logo-img" })]), _: 1 }), d(s, { class: "search-header__input" }, { default: o(() => [d(t, { name: "search", size: "28", color: "#999" }), d(c, { modelValue: B.value, "onUpdate:modelValue": e[0] || (e[0] = a => B.value = a), class: "search-header__field", placeholder: U.value, focus: F.value, "confirm-type": "search", onConfirm: e[1] || (e[1] = a => E(B.value)), onInput: X }, null, 8, ["modelValue", "placeholder", "focus"]), B.value ? (i(), n(t, { key: 0, name: "close-circle-fill", size: "32", color: "#666666", onClick: H })) : g("", !0)]), _: 1 }), d(s, { class: "search-header__btn", onClick: e[2] || (e[2] = a => E(B.value)) }, { default: o(() => [d(u, { class: "search-header__btn-text" }, { default: o(() => [f("搜索")]), _: 1 })]), _: 1 })]), _: 1 }), N.value ? (i(), n(s, { key: 0, class: "search-result" }, { default: o(() => [d(A, { ref_key: "paging", ref: q, modelValue: W.value, "onUpdate:modelValue": e[3] || (e[3] = a => W.value = a), onQuery: K, fixed: !1, height: "100%" }, { default: o(() => [(i(!0), p(y, null, k(W.value, a => (i(), p(y, { key: a.id }, [a.is_video ? (i(), n(V, { key: 0, item: a }, null, 8, ["item"])) : (i(), n(x, { key: 1, item: a }, null, 8, ["item"]))], 64))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : (i(), n(I, { key: 1, "scroll-y": "", class: "search-suggest" }, { default: o(() => [D.value.length ? (i(), n(s, { key: 0, class: "suggest-words" }, { default: o(() => [(i(!0), p(y, null, k(D.value, (a, e) => (i(), n(s, { key: e, class: "suggest-words__item", onClick: e => E(a) }, { default: o(() => [d(t, { name: "search", size: "28", color: "#ccc" }), d(u, { class: "suggest-words__text" }, { default: o(() => [f(w(a), 1)]), _: 2 }, 1024)]), _: 2 }, 1032, ["onClick"]))), 128))]), _: 1 })) : g("", !0), T(d(s, { class: "hot-search" }, { default: o(() => [d(s, { class: "hot-search__tabs" }, { default: o(() => [(i(!0), p(y, null, k(Q.value, (a, e) => (i(), n(s, { key: e, class: z(["hot-search__tab", { "hot-search__tab--active": P.value === e }]), onClick: a => P.value = e }, { default: o(() => [d(u, null, { default: o(() => [f(w(a.name), 1)]), _: 2 }, 1024)]), _: 2 }, 1032, ["class", "onClick"]))), 128)), d(s, { class: "hot-search__tab-actions" }, { default: o(() => [d(t, { name: "reload", size: "28", color: "#999", onClick: L }), d(t, { name: "eye-off", size: "28", color: "#999" })]), _: 1 })]), _: 1 }), d(s, { class: "hot-search__list" }, { default: o(() => [(i(!0), p(y, null, k(S.value, (a, e) => (i(), n(s, { key: e, class: "hot-search__item", onClick: e => E(a.name) }, { default: o(() => [d(u, { class: z(["hot-search__rank", { "hot-search__rank--top": e < 3 }]) }, { default: o(() => [f(w(e + 1), 1)]), _: 2 }, 1032, ["class"]), d(u, { class: z(["hot-search__name", { "hot-search__name--top": e < 3 }]) }, { default: o(() => [f(w(a.name), 1)]), _: 2 }, 1032, ["class"]), a.tag ? (i(), n(s, { key: 0, class: z(["hot-search__tag", "hot-search__tag--" + (a.tagType || "hot")]) }, { default: o(() => [d(u, null, { default: o(() => [f(w(a.tag), 1)]), _: 2 }, 1024)]), _: 2 }, 1032, ["class"])) : g("", !0)]), _: 2 }, 1032, ["onClick"]))), 128))]), _: 1 })]), _: 1 }, 512), [[b, !B.value]]), T(d(s, { class: "history-search" }, { default: o(() => [d(s, { class: "history-search__header" }, { default: o(() => [d(u, { class: "history-search__title" }, { default: o(() => [f("历史搜索")]), _: 1 }), d(s, { onClick: J }, { default: o(() => [d(t, { name: "trash", size: "32", color: "#999" })]), _: 1 })]), _: 1 }), d(s, { class: "history-search__list" }, { default: o(() => [(i(!0), p(y, null, k(G.value, (a, e) => (i(), n(s, { key: e, class: "history-search__tag", onClick: e => E(a) }, { default: o(() => [d(u, null, { default: o(() => [f(w(a), 1)]), _: 2 }, 1024)]), _: 2 }, 1032, ["onClick"]))), 128))]), _: 1 })]), _: 1 }, 512), [[b, !B.value && G.value.length]]), d(s, { class: "search-feedback" }, { default: o(() => [d(u, { class: "search-feedback__text" }, { default: o(() => [f("© 反馈")]), _: 1 })]), _: 1 })]), _: 1 }))]), _: 1 }) } } }), [["__scopeId", "data-v-c77a2c44"]]); export { F as default }; diff --git a/uniapp/src/pages/index/index.vue b/uniapp/src/pages/index/index.vue index 5482ce3..5257e88 100644 --- a/uniapp/src/pages/index/index.vue +++ b/uniapp/src/pages/index/index.vue @@ -107,7 +107,7 @@ const calcFeedHeight = () => { }) } -const searchPlaceholder = ref('搜索乐博头条') +const searchPlaceholder = ref('搜索世博头条') const RECOMMEND_CHANNEL = { id: '__recommend__', diff --git a/uniapp/src/pages/search/search.vue b/uniapp/src/pages/search/search.vue index 06a4312..30b1811 100644 --- a/uniapp/src/pages/search/search.vue +++ b/uniapp/src/pages/search/search.vue @@ -54,9 +54,9 @@ {{ index + 1 - }} + }} {{ item.name - }} + }} {{ item.tag }} @@ -98,7 +98,7 @@ import { getArticleList } from '@/api/news' const keyword = ref('') const autoFocus = ref(true) const isSearching = ref(false) -const searchPlaceholder = ref('搜索乐博头条') +const searchPlaceholder = ref('搜索世博头条') const resultList = ref([]) const paging = shallowRef() const suggestList = ref([])