8 lines
62 KiB
JavaScript
8 lines
62 KiB
JavaScript
"use strict";
|
|
/**
|
|
* @vue/shared v3.4.21
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
* @license MIT
|
|
**/
|
|
function e(e,t){const n=new Set(e.split(","));return t?e=>n.has(e.toLowerCase()):e=>n.has(e)}const t={},n=[],o=()=>{},r=()=>!1,s=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),i=e=>e.startsWith("onUpdate:"),c=Object.assign,u=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},l=Object.prototype.hasOwnProperty,a=(e,t)=>l.call(e,t),f=Array.isArray,p=e=>"[object Map]"===x(e),d=e=>"[object Set]"===x(e),h=e=>"function"==typeof e,g=e=>"string"==typeof e,m=e=>"symbol"==typeof e,v=e=>null!==e&&"object"==typeof e,_=e=>(v(e)||h(e))&&h(e.then)&&h(e.catch),y=Object.prototype.toString,x=e=>y.call(e),b=e=>"[object Object]"===x(e),w=e=>g(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,$=e(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),S=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},k=/-(\w)/g,O=S((e=>e.replace(k,((e,t)=>t?t.toUpperCase():"")))),C=/\B([A-Z])/g,E=S((e=>e.replace(C,"-$1").toLowerCase())),P=S((e=>e.charAt(0).toUpperCase()+e.slice(1))),I=S((e=>e?`on${P(e)}`:"")),A=(e,t)=>!Object.is(e,t),j=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},R=e=>{const t=parseFloat(e);return isNaN(t)?e:t},L=(e,t)=>t&&t.__v_isRef?L(e,t.value):p(t)?{[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,n],o)=>(e[M(t,o)+" =>"]=n,e)),{})}:d(t)?{[`Set(${t.size})`]:[...t.values()].map((e=>M(e)))}:m(t)?M(t):!v(t)||f(t)||b(t)?t:String(t),M=(e,t="")=>{var n;return m(e)?`Symbol(${null!=(n=e.description)?n:t})`:e};function T(e,t=null){let n;return(...o)=>(e&&(n=e.apply(t,o),e=null),n)}function V(e,t){if(!g(t))return;const n=(t=t.replace(/\[(\d+)\]/g,".$1")).split(".");let o=n[0];return e||(e={}),1===n.length?e[o]:V(e[o],n.slice(1).join("."))}function H(e){let t={};return b(e)&&Object.keys(e).sort().forEach((n=>{const o=n;t[o]=e[o]})),Object.keys(t)?t:e}const D=/:/g;const B=encodeURIComponent;function N(e,t=B){const n=e?Object.keys(e).map((n=>{let o=e[n];return void 0===typeof o||null===o?o="":b(o)&&(o=JSON.stringify(o)),t(n)+"="+t(o)})).filter((e=>e.length>0)).join("&"):null;return n?`?${n}`:""}const U=["onInit","onLoad","onShow","onHide","onUnload","onBackPress","onPageScroll","onTabItemTap","onReachBottom","onPullDownRefresh","onShareTimeline","onShareAppMessage","onShareChat","onAddToFavorites","onSaveExitState","onNavigationBarButtonTap","onNavigationBarSearchInputClicked","onNavigationBarSearchInputChanged","onNavigationBarSearchInputConfirmed","onNavigationBarSearchInputFocusChanged"];const W=["onShow","onHide","onLaunch","onError","onThemeChange","onPageNotFound","onUnhandledRejection","onExit","onInit","onLoad","onReady","onUnload","onResize","onBackPress","onPageScroll","onTabItemTap","onReachBottom","onPullDownRefresh","onShareTimeline","onAddToFavorites","onShareAppMessage","onShareChat","onSaveExitState","onNavigationBarButtonTap","onNavigationBarSearchInputClicked","onNavigationBarSearchInputChanged","onNavigationBarSearchInputConfirmed","onNavigationBarSearchInputFocusChanged"],z=(()=>({onPageScroll:1,onShareAppMessage:2,onShareTimeline:4}))();function F(e,t,n=!0){return!(n&&!h(t))&&(W.indexOf(e)>-1||0===e.indexOf("on"))}let K;const q=[];const G=T(((e,t)=>t(e))),J=function(){};J.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 r(){o.off(e,r),t.apply(n,arguments)}return r._=t,this.on(e,r,n)},emit:function(e){for(var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),o=0,r=n.length;o<r;o++)n[o].fn.apply(n[o].ctx,t);return this},off:function(e,t){var n=this.e||(this.e={}),o=n[e],r=[];if(o&&t){for(var s=o.length-1;s>=0;s--)if(o[s].fn===t||o[s].fn._===t||o[s]._id===t){o.splice(s,1);break}r=o}return r.length?n[e]=r:delete n[e],this}};var Z=J;function Q(e,t){if(!e)return;if(e=e.trim().replace(/_/g,"-"),t&&t[e])return e;if("chinese"===(e=e.toLowerCase()))return"zh-Hans";if(0===e.indexOf("zh"))return e.indexOf("-hans")>-1?"zh-Hans":e.indexOf("-hant")>-1?"zh-Hant":(n=e,["-tw","-hk","-mo","-cht"].find((e=>-1!==n.indexOf(e)))?"zh-Hant":"zh-Hans");var n;let o=["en","fr","es"];t&&Object.keys(t).length>0&&(o=Object.keys(t));const r=function(e,t){return t.find((t=>0===e.indexOf(t)))}(e,o);return r||void 0}function X(e){return function(){try{return e.apply(e,arguments)}catch(t){console.error(t)}}}let Y=1;const ee={};function te(e,t,n){if("number"==typeof e){const o=ee[e];if(o)return o.keepAlive||delete ee[e],o.callback(t,n)}return t}const ne="success",oe="fail",re="complete";function se(e,t={},{beforeAll:n,beforeSuccess:o}={}){b(t)||(t={});const{success:r,fail:s,complete:i}=function(e){const t={};for(const n in e){const o=e[n];h(o)&&(t[n]=X(o),delete e[n])}return t}(t),c=h(r),u=h(s),l=h(i),a=Y++;return function(e,t,n,o=!1){ee[e]={name:t,keepAlive:o,callback:n}}(a,e,(a=>{(a=a||{}).errMsg=function(e,t){return e&&-1!==e.indexOf(":fail")?t+e.substring(e.indexOf(":fail")):t+":ok"}(a.errMsg,e),h(n)&&n(a),a.errMsg===e+":ok"?(h(o)&&o(a,t),c&&r(a)):u&&s(a),l&&i(a)})),a}const ie="success",ce="fail",ue="complete",le={},ae={};function fe(e,t){return function(n){return e(n,t)||n}}function pe(e,t,n){let o=!1;for(let r=0;r<e.length;r++){const s=e[r];if(o)o=Promise.resolve(fe(s,n));else{const e=s(t,n);if(_(e)&&(o=Promise.resolve(e)),!1===e)return{then(){},catch(){}}}}return o||{then:e=>e(t),catch(){}}}function de(e,t={}){return[ie,ce,ue].forEach((n=>{const o=e[n];if(!f(o))return;const r=t[n];t[n]=function(e){pe(o,e,t).then((e=>h(r)&&r(e)||e))}})),t}function he(e,t){const n=[];f(le.returnValue)&&n.push(...le.returnValue);const o=ae[e];return o&&f(o.returnValue)&&n.push(...o.returnValue),n.forEach((e=>{t=e(t)||t})),t}function ge(e){const t=Object.create(null);Object.keys(le).forEach((e=>{"returnValue"!==e&&(t[e]=le[e].slice())}));const n=ae[e];return n&&Object.keys(n).forEach((e=>{"returnValue"!==e&&(t[e]=(t[e]||[]).concat(n[e]))})),t}function me(e,t,n,o){const r=ge(e);if(r&&Object.keys(r).length){if(f(r.invoke)){return pe(r.invoke,n).then((n=>t(de(ge(e),n),...o)))}return t(de(r,n),...o)}return t(n,...o)}function ve(e,t){return(n={},...o)=>function(e){return!(!b(e)||![ne,oe,re].find((t=>h(e[t]))))}(n)?he(e,me(e,t,n,o)):he(e,new Promise(((r,s)=>{me(e,t,c(n,{success:r,fail:s}),o)})))}function _e(e,t,n,o={}){const r=t+":fail";let s="";return s=n?0===n.indexOf(r)?n:r+" "+n:r,delete o.errCode,te(e,c({errMsg:s},o))}function ye(e,t,n,o){const r=function(e,t){e[0]}(t);if(r)return r}function xe(e,t,n,o){return n=>{const r=se(e,n,o),s=ye(0,[n]);return s?_e(r,e,s):t(n,{resolve:t=>function(e,t,n){return te(e,c(n||{},{errMsg:t+":ok"}))}(r,e,t),reject:(t,n)=>_e(r,e,function(e){return!e||g(e)?e:e.stack?("undefined"!=typeof globalThis&&globalThis.harmonyChannel||console.error(e.message+"\n"+e.stack),e.message):e}(t),n)})}}function be(e,t,n,o){return function(e,t,n,o){return(...e)=>{const n=ye(0,e);if(n)throw new Error(n);return t.apply(null,e)}}(0,t)}let we=!1,$e=0,Se=0;const ke=be(0,((e,t)=>{if(0===$e&&function(){var e,t;let n,o,r;{const s=(null===(e=wx.getWindowInfo)||void 0===e?void 0:e.call(wx))||wx.getSystemInfoSync(),i=(null===(t=wx.getDeviceInfo)||void 0===t?void 0:t.call(wx))||wx.getSystemInfoSync();n=s.windowWidth,o=s.pixelRatio,r=i.platform}$e=n,Se=o,we="ios"===r}(),0===(e=Number(e)))return 0;let n=e/750*(t||$e);return n<0&&(n=-n),n=Math.floor(n+1e-4),0===n&&(n=1!==Se&&we?.5:1),e<0?-n:n}));function Oe(e,t){Object.keys(t).forEach((n=>{h(t[n])&&(e[n]=function(e,t){const n=t?e?e.concat(t):f(t)?t:[t]:e;return n?function(e){const t=[];for(let n=0;n<e.length;n++)-1===t.indexOf(e[n])&&t.push(e[n]);return t}(n):n}(e[n],t[n]))}))}function Ce(e,t){e&&t&&Object.keys(t).forEach((n=>{const o=e[n],r=t[n];f(o)&&h(r)&&u(o,r)}))}const Ee=be(0,((e,t)=>{g(e)&&b(t)?Oe(ae[e]||(ae[e]={}),t):b(e)&&Oe(le,e)})),Pe=be(0,((e,t)=>{g(e)?b(t)?Ce(ae[e],t):delete ae[e]:b(e)&&Ce(le,e)}));const Ie=new class{constructor(){this.$emitter=new Z}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)}},Ae=be(0,((e,t)=>(Ie.on(e,t),()=>Ie.off(e,t)))),je=be(0,((e,t)=>(Ie.once(e,t),()=>Ie.off(e,t)))),Re=be(0,((e,t)=>{f(e)||(e=e?[e]:[]),e.forEach((e=>{Ie.off(e,t)}))})),Le=be(0,((e,...t)=>{Ie.emit(e,...t)}));let Me,Te,Ve;function He(e){try{return JSON.parse(e)}catch(t){}return e}const De=[];function Be(e,t){De.forEach((n=>{n(e,t)})),De.length=0}const Ne=ve(Ue="getPushClientId",function(e,t,n,o){return xe(e,t,0,o)}(Ue,((e,{resolve:t,reject:n})=>{Promise.resolve().then((()=>{void 0===Ve&&(Ve=!1,Me="",Te="uniPush is not enabled"),De.push(((e,o)=>{e?t({cid:e}):n(o)})),void 0!==Me&&Be(Me,Te)}))}),0,We));var Ue,We;const ze=[],Fe=/^\$|__f__|getLocale|setLocale|sendNativeEvent|restoreGlobal|requireGlobal|getCurrentSubNVue|getMenuButtonBoundingClientRect|^report|interceptors|Interceptor$|getSubNVueById|requireNativePlugin|upx2px|rpx2px|hideKeyboard|canIUse|^create|Sync$|Manager$|base64ToArrayBuffer|arrayBufferToBase64|getDeviceInfo|getAppBaseInfo|getWindowInfo|getSystemSetting|getAppAuthorizeSetting/,Ke=/^create|Manager$/,qe=["createBLEConnection"],Ge=["request","downloadFile","uploadFile","connectSocket"],Je=["createBLEConnection"],Ze=/^on|^off/;function Qe(e){return Ke.test(e)&&-1===qe.indexOf(e)}function Xe(e){return Fe.test(e)&&-1===Je.indexOf(e)}function Ye(e){return-1!==Ge.indexOf(e)}function et(e){return!(Qe(e)||Xe(e)||function(e){return Ze.test(e)&&"onPush"!==e}(e))}function tt(e,t){return et(e)&&h(t)?function(n={},...o){return h(n.success)||h(n.fail)||h(n.complete)?he(e,me(e,t,n,o)):he(e,new Promise(((r,s)=>{me(e,t,c({},n,{success:r,fail:s}),o)})))}:t}Promise.prototype.finally||(Promise.prototype.finally=function(e){const t=this.constructor;return this.then((n=>t.resolve(e&&e()).then((()=>n))),(n=>t.resolve(e&&e()).then((()=>{throw n}))))});const nt=["success","fail","cancel","complete"];const ot=()=>{const e=h(getApp)&&getApp({allowDefault:!0});return e&&e.$vm?e.$vm.$locale:function(){var e;let t="";{const n=(null===(e=wx.getAppBaseInfo)||void 0===e?void 0:e.call(wx))||wx.getSystemInfoSync();t=Q(n&&n.language?n.language:"en")||"en"}return t}()},rt=[];"undefined"!=typeof global&&(global.getLocale=ot);let st;function it(e=wx){return function(t,n){st=st||e.getStorageSync("__DC_STAT_UUID"),st||(st=Date.now()+""+Math.floor(1e7*Math.random()),wx.setStorage({key:"__DC_STAT_UUID",data:st})),n.deviceId=st}}function ct(e,t){if(e.safeArea){const n=e.safeArea;t.safeAreaInsets={top:n.top,left:n.left,right:e.windowWidth-n.right,bottom:e.screenHeight-n.bottom}}}function ut(e,t){let n="",o="";switch(n=e.split(" ")[0]||t,o=e.split(" ")[1]||"",n=n.toLocaleLowerCase(),n){case"harmony":case"ohos":case"openharmony":n="harmonyos";break;case"iphone os":n="ios";break;case"mac":case"darwin":n="macos";break;case"windows_nt":n="windows"}return{osName:n,osVersion:o}}function lt(e,t){let n=e.deviceType||"phone";{const e={ipad:"pad",windows:"pc",mac:"pc"},o=Object.keys(e),r=t.toLocaleLowerCase();for(let t=0;t<o.length;t++){const s=o[t];if(-1!==r.indexOf(s)){n=e[s];break}}}return n}function at(e){let t=e;return t&&(t=t.toLocaleLowerCase()),t}function ft(e){return ot?ot():e}function pt(e){let t=e.hostName||"WeChat";return e.environment?t=e.environment:e.host&&e.host.env&&(t=e.host.env),t}const dt={returnValue:(e,t)=>{ct(e,t),it()(e,t),function(e,t){const{brand:n="",model:o="",system:r="",language:s="",theme:i,version:u,platform:l,fontSizeSetting:a,SDKVersion:f,pixelRatio:p,deviceOrientation:d}=e,{osName:h,osVersion:g}=ut(r,l);let m=u,v=lt(e,o),_=at(n),y=pt(e),x=d,b=p,w=f;const $=(s||"").replace(/_/g,"-"),S={appId:"__UNI__BB03E8A",appName:"YGTianmuCS",appVersion:"1.0.0",appVersionCode:"100",appLanguage:ft($),uniCompileVersion:"4.66",uniCompilerVersion:"4.66",uniRuntimeVersion:"4.66",uniPlatform:"mp-weixin",deviceBrand:_,deviceModel:o,deviceType:v,devicePixelRatio:b,deviceOrientation:x,osName:h,osVersion:g,hostTheme:i,hostVersion:m,hostLanguage:$,hostName:y,hostSDKVersion:w,hostFontSizeSetting:a,windowTop:0,windowBottom:0,osLanguage:void 0,osTheme:void 0,ua:void 0,hostPackageName:void 0,browserName:void 0,browserVersion:void 0,isUniAppX:!1};c(t,S)}(e,t)}},ht=dt,gt={args(e,t){let n=parseInt(e.current);if(isNaN(n))return;const o=e.urls;if(!f(o))return;const r=o.length;return r?(n<0?n=0:n>=r&&(n=r-1),n>0?(t.current=o[n],t.urls=o.filter(((e,t)=>!(t<n)||e!==o[n]))):t.current=o[0],{indicator:!1,loop:!1}):void 0}},mt={args(e,t){t.alertText=e.title}},vt={returnValue:(e,t)=>{const{brand:n,model:o,system:r="",platform:s=""}=e;let i=lt(e,o),u=at(n);it()(e,t);const{osName:l,osVersion:a}=ut(r,s);t=H(c(t,{deviceType:i,deviceBrand:u,deviceModel:o,osName:l,osVersion:a}))}},_t={returnValue:(e,t)=>{const{version:n,language:o,SDKVersion:r,theme:s}=e;let i=pt(e),u=(o||"").replace(/_/g,"-");const l={hostVersion:n,hostLanguage:u,hostName:i,hostSDKVersion:r,hostTheme:s,appId:"__UNI__BB03E8A",appName:"YGTianmuCS",appVersion:"1.0.0",appVersionCode:"100",appLanguage:ft(u),isUniAppX:!1,uniPlatform:"mp-weixin",uniCompileVersion:"4.66",uniCompilerVersion:"4.66",uniRuntimeVersion:"4.66"};c(t,l)}},yt={returnValue:(e,t)=>{ct(e,t),t=H(c(t,{windowTop:0,windowBottom:0}))}},xt={args(e){const t=getApp({allowDefault:!0})||{};t.$vm?Yo("onError",e,t.$vm.$):(wx.$onErrorHandlers||(wx.$onErrorHandlers=[]),wx.$onErrorHandlers.push(e))}},bt={args(e){const t=getApp({allowDefault:!0})||{};if(t.$vm){if(e.__weh){const n=t.$vm.$.onError;if(n){const t=n.indexOf(e.__weh);t>-1&&n.splice(t,1)}}}else{if(!wx.$onErrorHandlers)return;const t=wx.$onErrorHandlers.findIndex((t=>t===e));-1!==t&&wx.$onErrorHandlers.splice(t,1)}}},wt={args(){if(wx.__uni_console__){if(wx.__uni_console_warned__)return;wx.__uni_console_warned__=!0,console.warn("开发模式下小程序日志回显会使用 socket 连接,为了避免冲突,建议使用 SocketTask 的方式去管理 WebSocket 或手动关闭日志回显功能。[详情](https://uniapp.dcloud.net.cn/tutorial/run/mp-log.html)")}}},$t=wt,St={$on:Ae,$off:Re,$once:je,$emit:Le,upx2px:ke,rpx2px:ke,interceptors:{},addInterceptor:Ee,removeInterceptor:Pe,onCreateVueApp:function(e){if(K)return e(K);q.push(e)},invokeCreateVueAppHook:function(e){K=e,q.forEach((t=>t(e)))},getLocale:ot,setLocale:e=>{const t=h(getApp)&&getApp();if(!t)return!1;return t.$vm.$locale!==e&&(t.$vm.$locale=e,rt.forEach((t=>t({locale:e}))),!0)},onLocaleChange:e=>{-1===rt.indexOf(e)&&rt.push(e)},getPushClientId:Ne,onPushMessage:e=>{-1===ze.indexOf(e)&&ze.push(e)},offPushMessage:e=>{if(e){const t=ze.indexOf(e);t>-1&&ze.splice(t,1)}else ze.length=0},invokePushCallback:function(e){if("enabled"===e.type)Ve=!0;else if("clientId"===e.type)Me=e.cid,Te=e.errMsg,Be(Me,e.errMsg);else if("pushMsg"===e.type){const t={type:"receive",data:He(e.message)};for(let e=0;e<ze.length;e++){if((0,ze[e])(t),t.stopped)break}}else"click"===e.type&&ze.forEach((t=>{t({type:"click",data:He(e.message)})}))},__f__:function(e,t,...n){t&&n.push(t),console[e].apply(console,n)}};const kt=["qy","env","error","version","lanDebug","cloud","serviceMarket","router","worklet","__webpack_require_UNI_MP_PLUGIN__"],Ot=["lanDebug","router","worklet"],Ct=wx.getLaunchOptionsSync?wx.getLaunchOptionsSync():null;function Et(e){return(!Ct||1154!==Ct.scene||!Ot.includes(e))&&(kt.indexOf(e)>-1||"function"==typeof wx[e])}function Pt(){const e={};for(const t in wx)Et(t)&&(e[t]=wx[t]);return"undefined"!=typeof globalThis&&"undefined"==typeof requireMiniProgram&&(globalThis.wx=e),e}const It=["__route__","__wxExparserNodeId__","__wxWebviewId__"],At=(jt={oauth:["weixin"],share:["weixin"],payment:["wxpay"],push:["weixin"]},function({service:e,success:t,fail:n,complete:o}){let r;jt[e]?(r={errMsg:"getProvider:ok",service:e,provider:jt[e]},h(t)&&t(r)):(r={errMsg:"getProvider:fail:服务["+e+"]不存在"},h(n)&&n(r)),h(o)&&o(r)});var jt;const Rt=Pt();Rt.canIUse("getAppBaseInfo")||(Rt.getAppBaseInfo=Rt.getSystemInfoSync),Rt.canIUse("getWindowInfo")||(Rt.getWindowInfo=Rt.getSystemInfoSync),Rt.canIUse("getDeviceInfo")||(Rt.getDeviceInfo=Rt.getSystemInfoSync);let Lt=Rt.getAppBaseInfo&&Rt.getAppBaseInfo();Lt||(Lt=Rt.getSystemInfoSync());const Mt=Lt?Lt.host:null,Tt=Mt&&"SAAASDK"===Mt.env?Rt.miniapp.shareVideoMessage:Rt.shareVideoMessage;var Vt=Object.freeze({__proto__:null,createSelectorQuery:function(){const e=Rt.createSelectorQuery(),t=e.in;return e.in=function(e){return e.$scope?t.call(this,e.$scope):t.call(this,function(e){const t=Object.create(null);return It.forEach((n=>{t[n]=e[n]})),t}(e))},e},getProvider:At,shareVideoMessage:Tt});const Ht={args(e,t){e.compressedHeight&&!t.compressHeight&&(t.compressHeight=e.compressedHeight),e.compressedWidth&&!t.compressWidth&&(t.compressWidth=e.compressedWidth)}};var Dt=function(e,t,n=wx){const o=function(e){function t(e,t,n){return function(r){return t(o(e,r,n))}}function n(e,n,o={},r={},s=!1){if(b(n)){const i=!0===s?n:{};h(o)&&(o=o(n,i)||{});for(const c in n)if(a(o,c)){let t=o[c];h(t)&&(t=t(n[c],n,i)),t?g(t)?i[t]=n[c]:b(t)&&(i[t.name?t.name:c]=t.value):console.warn(`微信小程序 ${e} 暂不支持 ${c}`)}else if(-1!==nt.indexOf(c)){const o=n[c];h(o)&&(i[c]=t(e,o,r))}else s||a(i,c)||(i[c]=n[c]);return i}return h(n)&&(h(o)&&o(n,{}),n=t(e,n,r)),n}function o(t,o,r,s=!1){return h(e.returnValue)&&(o=e.returnValue(t,o)),n(t,o,r,{},s||!1)}return function(t,r){const s=a(e,t);if(!s&&"function"!=typeof wx[t])return r;const i=s||h(e.returnValue)||Qe(t)||Ye(t),c=s||h(r);if(!s&&!r)return function(){console.error(`微信小程序 暂不支持${t}`)};if(!i||!c)return r;const u=e[t];return function(e,r){let s=u||{};h(u)&&(s=u(e));const i=[e=n(t,e,s.args,s.returnValue)];void 0!==r&&i.push(r);const c=wx[s.name||t].apply(wx,i);return(Qe(t)||Ye(t))&&c&&!c.__v_skip&&(c.__v_skip=!0),Xe(t)?o(t,c,s.returnValue,Qe(t)):c}}}(t);return new Proxy({},{get:(t,r)=>a(t,r)?t[r]:a(e,r)?tt(r,e[r]):a(St,r)?tt(r,St[r]):tt(r,o(r,n[r]))})}(Vt,Object.freeze({__proto__:null,compressImage:Ht,getAppAuthorizeSetting:{returnValue:function(e,t){const{locationReducedAccuracy:n}=e;t.locationAccuracy="unsupported",!0===n?t.locationAccuracy="reduced":!1===n&&(t.locationAccuracy="full")}},getAppBaseInfo:_t,getDeviceInfo:vt,getSystemInfo:dt,getSystemInfoSync:ht,getWindowInfo:yt,offError:bt,onError:xt,onSocketMessage:$t,onSocketOpen:wt,previewImage:gt,redirectTo:{},showActionSheet:mt}),Pt());let Bt,Nt;class Ut{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Bt,!e&&Bt&&(this.index=(Bt.scopes||(Bt.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const t=Bt;try{return Bt=this,e()}finally{Bt=t}}}on(){Bt=this}off(){Bt=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}}}class Wt{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=Bt){t&&t.active&&t.effects.push(e)}(this,o)}get dirty(){if(2===this._dirtyLevel||3===this._dirtyLevel){this._dirtyLevel=1,Zt();for(let e=0;e<this._depsLength;e++){const t=this.deps[e];if(t.computed&&(t.computed.value,this._dirtyLevel>=4))break}1===this._dirtyLevel&&(this._dirtyLevel=0),Qt()}return this._dirtyLevel>=4}set dirty(e){this._dirtyLevel=e?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let e=qt,t=Nt;try{return qt=!0,Nt=this,this._runnings++,zt(this),this.fn()}finally{Ft(this),this._runnings--,Nt=t,qt=e}}stop(){var e;this.active&&(zt(this),Ft(this),null==(e=this.onStop)||e.call(this),this.active=!1)}}function zt(e){e._trackId++,e._depsLength=0}function Ft(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 qt=!0,Gt=0;const Jt=[];function Zt(){Jt.push(qt),qt=!1}function Qt(){const e=Jt.pop();qt=void 0===e||e}function Xt(){Gt++}function Yt(){for(Gt--;!Gt&&tn.length;)tn.shift()()}function en(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 tn=[];function nn(e,t,n){Xt();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&&tn.push(o.scheduler)))}Yt()}const on=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},rn=new WeakMap,sn=Symbol(""),cn=Symbol("");function un(e,t,n){if(qt&&Nt){let t=rn.get(e);t||rn.set(e,t=new Map);let o=t.get(n);o||t.set(n,o=on((()=>t.delete(n)))),en(Nt,o)}}function ln(e,t,n,o,r,s){const i=rn.get(e);if(!i)return;let c=[];if("clear"===t)c=[...i.values()];else if("length"===n&&f(e)){const e=Number(o);i.forEach(((t,n)=>{("length"===n||!m(n)&&n>=e)&&c.push(t)}))}else switch(void 0!==n&&c.push(i.get(n)),t){case"add":f(e)?w(n)&&c.push(i.get("length")):(c.push(i.get(sn)),p(e)&&c.push(i.get(cn)));break;case"delete":f(e)||(c.push(i.get(sn)),p(e)&&c.push(i.get(cn)));break;case"set":p(e)&&c.push(i.get(sn))}Xt();for(const u of c)u&&nn(u,4);Yt()}const an=e("__proto__,__v_isRef,__isVue"),fn=new Set(Object.getOwnPropertyNames(Symbol).filter((e=>"arguments"!==e&&"caller"!==e)).map((e=>Symbol[e])).filter(m)),pn=dn();function dn(){const e={};return["includes","indexOf","lastIndexOf"].forEach((t=>{e[t]=function(...e){const n=Yn(this);for(let t=0,r=this.length;t<r;t++)un(n,0,t+"");const o=n[t](...e);return-1===o||!1===o?n[t](...e.map(Yn)):o}})),["push","pop","shift","unshift","splice"].forEach((t=>{e[t]=function(...e){Zt(),Xt();const n=Yn(this)[t].apply(this,e);return Yt(),Qt(),n}})),e}function hn(e){const t=Yn(this);return un(t,0,e),t.hasOwnProperty(e)}class gn{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,n){const o=this._isReadonly,r=this._isShallow;if("__v_isReactive"===t)return!o;if("__v_isReadonly"===t)return o;if("__v_isShallow"===t)return r;if("__v_raw"===t)return n===(o?r?Fn:zn:r?Wn:Un).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;const s=f(e);if(!o){if(s&&a(pn,t))return Reflect.get(pn,t,n);if("hasOwnProperty"===t)return hn}const i=Reflect.get(e,t,n);return(m(t)?fn.has(t):an(t))?i:(o||un(e,0,t),r?i:io(i)?s&&w(t)?i:i.value:v(i)?o?Gn(i):qn(i):i)}}class mn extends gn{constructor(e=!1){super(!1,e)}set(e,t,n,o){let r=e[t];if(!this._isShallow){const t=Qn(r);if(Xn(n)||Qn(n)||(r=Yn(r),n=Yn(n)),!f(e)&&io(r)&&!io(n))return!t&&(r.value=n,!0)}const s=f(e)&&w(t)?Number(t)<e.length:a(e,t),i=Reflect.set(e,t,n,o);return e===Yn(o)&&(s?A(n,r)&&ln(e,"set",t,n):ln(e,"add",t,n)),i}deleteProperty(e,t){const n=a(e,t);e[t];const o=Reflect.deleteProperty(e,t);return o&&n&&ln(e,"delete",t,void 0),o}has(e,t){const n=Reflect.has(e,t);return m(t)&&fn.has(t)||un(e,0,t),n}ownKeys(e){return un(e,0,f(e)?"length":sn),Reflect.ownKeys(e)}}class vn extends gn{constructor(e=!1){super(!0,e)}set(e,t){return!0}deleteProperty(e,t){return!0}}const _n=new mn,yn=new vn,xn=new mn(!0),bn=e=>e,wn=e=>Reflect.getPrototypeOf(e);function $n(e,t,n=!1,o=!1){const r=Yn(e=e.__v_raw),s=Yn(t);n||(A(t,s)&&un(r,0,t),un(r,0,s));const{has:i}=wn(r),c=o?bn:n?no:to;return i.call(r,t)?c(e.get(t)):i.call(r,s)?c(e.get(s)):void(e!==r&&e.get(t))}function Sn(e,t=!1){const n=this.__v_raw,o=Yn(n),r=Yn(e);return t||(A(e,r)&&un(o,0,e),un(o,0,r)),e===r?n.has(e):n.has(e)||n.has(r)}function kn(e,t=!1){return e=e.__v_raw,!t&&un(Yn(e),0,sn),Reflect.get(e,"size",e)}function On(e){e=Yn(e);const t=Yn(this);return wn(t).has.call(t,e)||(t.add(e),ln(t,"add",e,e)),this}function Cn(e,t){t=Yn(t);const n=Yn(this),{has:o,get:r}=wn(n);let s=o.call(n,e);s||(e=Yn(e),s=o.call(n,e));const i=r.call(n,e);return n.set(e,t),s?A(t,i)&&ln(n,"set",e,t):ln(n,"add",e,t),this}function En(e){const t=Yn(this),{has:n,get:o}=wn(t);let r=n.call(t,e);r||(e=Yn(e),r=n.call(t,e)),o&&o.call(t,e);const s=t.delete(e);return r&&ln(t,"delete",e,void 0),s}function Pn(){const e=Yn(this),t=0!==e.size,n=e.clear();return t&&ln(e,"clear",void 0,void 0),n}function In(e,t){return function(n,o){const r=this,s=r.__v_raw,i=Yn(s),c=t?bn:e?no:to;return!e&&un(i,0,sn),s.forEach(((e,t)=>n.call(o,c(e),c(t),r)))}}function An(e,t,n){return function(...o){const r=this.__v_raw,s=Yn(r),i=p(s),c="entries"===e||e===Symbol.iterator&&i,u="keys"===e&&i,l=r[e](...o),a=n?bn:t?no:to;return!t&&un(s,0,u?cn:sn),{next(){const{value:e,done:t}=l.next();return t?{value:e,done:t}:{value:c?[a(e[0]),a(e[1])]:a(e),done:t}},[Symbol.iterator](){return this}}}}function jn(e){return function(...t){return"delete"!==e&&("clear"===e?void 0:this)}}function Rn(){const e={get(e){return $n(this,e)},get size(){return kn(this)},has:Sn,add:On,set:Cn,delete:En,clear:Pn,forEach:In(!1,!1)},t={get(e){return $n(this,e,!1,!0)},get size(){return kn(this)},has:Sn,add:On,set:Cn,delete:En,clear:Pn,forEach:In(!1,!0)},n={get(e){return $n(this,e,!0)},get size(){return kn(this,!0)},has(e){return Sn.call(this,e,!0)},add:jn("add"),set:jn("set"),delete:jn("delete"),clear:jn("clear"),forEach:In(!0,!1)},o={get(e){return $n(this,e,!0,!0)},get size(){return kn(this,!0)},has(e){return Sn.call(this,e,!0)},add:jn("add"),set:jn("set"),delete:jn("delete"),clear:jn("clear"),forEach:In(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach((r=>{e[r]=An(r,!1,!1),n[r]=An(r,!0,!1),t[r]=An(r,!1,!0),o[r]=An(r,!0,!0)})),[e,n,t,o]}const[Ln,Mn,Tn,Vn]=Rn();function Hn(e,t){const n=t?e?Vn:Tn:e?Mn:Ln;return(t,o,r)=>"__v_isReactive"===o?!e:"__v_isReadonly"===o?e:"__v_raw"===o?t:Reflect.get(a(n,o)&&o in t?n:t,o,r)}const Dn={get:Hn(!1,!1)},Bn={get:Hn(!1,!0)},Nn={get:Hn(!0,!1)},Un=new WeakMap,Wn=new WeakMap,zn=new WeakMap,Fn=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=>x(e).slice(8,-1))(e))}function qn(e){return Qn(e)?e:Jn(e,!1,_n,Dn,Un)}function Gn(e){return Jn(e,!0,yn,Nn,zn)}function Jn(e,t,n,o,r){if(!v(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const s=r.get(e);if(s)return s;const i=Kn(e);if(0===i)return e;const c=new Proxy(e,2===i?o:n);return r.set(e,c),c}function Zn(e){return Qn(e)?Zn(e.__v_raw):!(!e||!e.__v_isReactive)}function Qn(e){return!(!e||!e.__v_isReadonly)}function Xn(e){return!(!e||!e.__v_isShallow)}function Yn(e){const t=e&&e.__v_raw;return t?Yn(t):e}function eo(e){return Object.isExtensible(e)&&((e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})})(e,"__v_skip",!0),e}const to=e=>v(e)?qn(e):e,no=e=>v(e)?Gn(e):e;class oo{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 Wt((()=>e(this._value)),(()=>so(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=Yn(this);return e._cacheable&&!e.effect.dirty||!A(e._value,e._value=e.effect.run())||so(e,4),ro(e),e.effect._dirtyLevel>=2&&so(e,2),e._value}set value(e){this._setter(e)}get _dirty(){return this.effect.dirty}set _dirty(e){this.effect.dirty=e}}function ro(e){var t;qt&&Nt&&(e=Yn(e),en(Nt,null!=(t=e.dep)?t:e.dep=on((()=>e.dep=void 0),e instanceof oo?e:void 0)))}function so(e,t=4,n){const o=(e=Yn(e)).dep;o&&nn(o,t)}function io(e){return!(!e||!0!==e.__v_isRef)}function co(e){return function(e,t){if(io(e))return e;return new uo(e,t)}(e,!1)}class uo{constructor(e,t){this.__v_isShallow=t,this.dep=void 0,this.__v_isRef=!0,this._rawValue=t?e:Yn(e),this._value=t?e:to(e)}get value(){return ro(this),this._value}set value(e){const t=this.__v_isShallow||Xn(e)||Qn(e);e=t?e:Yn(e),A(e,this._rawValue)&&(this._rawValue=e,this._value=t?e:to(e),so(this,4))}}function lo(e){return io(e)?e.value:e}const ao={get:(e,t,n)=>lo(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const r=e[t];return io(r)&&!io(n)?(r.value=n,!0):Reflect.set(e,t,n,o)}};function fo(e){return Zn(e)?e:new Proxy(e,ao)}function po(e,t,n,o){try{return o?e(...o):e()}catch(r){go(r,t,n)}}function ho(e,t,n,o){if(h(e)){const r=po(e,t,n,o);return r&&_(r)&&r.catch((e=>{go(e,t,n)})),r}const r=[];for(let s=0;s<e.length;s++)r.push(ho(e[s],t,n,o));return r}function go(e,t,n,o=!0){const r=t?t.vnode:null;if(t){let o=t.parent;const r=t.proxy,s=`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,r,s))return;o=o.parent}const i=t.appContext.config.errorHandler;if(i)return void po(i,null,10,[e,r,s])}mo(e,n,r,o)}function mo(e,t,n,o=!0){console.error(e)}let vo=!1,_o=!1;const yo=[];let xo=0;const bo=[];let wo=null,$o=0;const So=Promise.resolve();let ko=null;function Oo(e){const t=ko||So;return e?t.then(this?e.bind(this):e):t}function Co(e){yo.length&&yo.includes(e,vo&&e.allowRecurse?xo+1:xo)||(null==e.id?yo.push(e):yo.splice(function(e){let t=xo+1,n=yo.length;for(;t<n;){const o=t+n>>>1,r=yo[o],s=Ao(r);s<e||s===e&&r.pre?t=o+1:n=o}return t}(e.id),0,e),Eo())}function Eo(){vo||_o||(_o=!0,ko=So.then(Ro))}function Po(e){f(e)?bo.push(...e):wo&&wo.includes(e,e.allowRecurse?$o+1:$o)||bo.push(e),Eo()}function Io(e,t,n=(vo?xo+1:0)){for(;n<yo.length;n++){const e=yo[n];e&&e.pre&&(yo.splice(n,1),n--,e())}}const Ao=e=>null==e.id?1/0:e.id,jo=(e,t)=>{const n=Ao(e)-Ao(t);if(0===n){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Ro(e){_o=!1,vo=!0,yo.sort(jo);try{for(xo=0;xo<yo.length;xo++){const e=yo[xo];e&&!1!==e.active&&po(e,null,14)}}finally{xo=0,yo.length=0,function(e){if(bo.length){const e=[...new Set(bo)].sort(((e,t)=>Ao(e)-Ao(t)));if(bo.length=0,wo)return void wo.push(...e);for(wo=e,$o=0;$o<wo.length;$o++)wo[$o]();wo=null,$o=0}}(),vo=!1,ko=null,(yo.length||bo.length)&&Ro()}}function Lo(e,n,...o){if(e.isUnmounted)return;const r=e.vnode.props||t;let s=o;const i=n.startsWith("update:"),c=i&&n.slice(7);if(c&&c in r){const e=`${"modelValue"===c?"model":c}Modifiers`,{number:n,trim:i}=r[e]||t;i&&(s=o.map((e=>g(e)?e.trim():e))),n&&(s=o.map(R))}let u,l=r[u=I(n)]||r[u=I(O(n))];!l&&i&&(l=r[u=I(E(n))]),l&&ho(l,e,6,s);const a=r[u+"Once"];if(a){if(e.emitted){if(e.emitted[u])return}else e.emitted={};e.emitted[u]=!0,ho(a,e,6,s)}}function Mo(e,t,n=!1){const o=t.emitsCache,r=o.get(e);if(void 0!==r)return r;const s=e.emits;let i={},u=!1;if(!h(e)){const o=e=>{const n=Mo(e,t,!0);n&&(u=!0,c(i,n))};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}return s||u?(f(s)?s.forEach((e=>i[e]=null)):c(i,s),v(e)&&o.set(e,i),i):(v(e)&&o.set(e,null),null)}function To(e,t){return!(!e||!s(t))&&(t=t.slice(2).replace(/Once$/,""),a(e,t[0].toLowerCase()+t.slice(1))||a(e,E(t))||a(e,t))}let Vo=null;function Ho(e){const t=Vo;return Vo=e,e&&e.type.__scopeId,t}const Do={};function Bo(e,t,n){return No(e,t,n)}function No(e,n,{immediate:r,deep:s,flush:i,once:c,onTrack:l,onTrigger:a}=t){if(n&&c){const e=n;n=(...t)=>{e(...t),k()}}const p=Ur,d=e=>!0===s?e:zo(e,!1===s?1:void 0);let g,m,v=!1,_=!1;if(io(e)?(g=()=>e.value,v=Xn(e)):Zn(e)?(g=()=>d(e),v=!0):f(e)?(_=!0,v=e.some((e=>Zn(e)||Xn(e))),g=()=>e.map((e=>io(e)?e.value:Zn(e)?d(e):h(e)?po(e,p,2):void 0))):g=h(e)?n?()=>po(e,p,2):()=>(m&&m(),ho(e,p,3,[y])):o,n&&s){const e=g;g=()=>zo(e())}let y=e=>{m=$.onStop=()=>{po(e,p,4),m=$.onStop=void 0}},x=_?new Array(e.length).fill(Do):Do;const b=()=>{if($.active&&$.dirty)if(n){const e=$.run();(s||v||(_?e.some(((e,t)=>A(e,x[t]))):A(e,x)))&&(m&&m(),ho(n,p,3,[e,x===Do?void 0:_&&x[0]===Do?[]:x,y]),x=e)}else $.run()};let w;b.allowRecurse=!!n,"sync"===i?w=b:"post"===i?w=()=>Tr(b,p&&p.suspense):(b.pre=!0,p&&(b.id=p.uid),w=()=>Co(b));const $=new Wt(g,o,w),S=Bt,k=()=>{$.stop(),S&&u(S.effects,$)};return n?r?b():x=$.run():"post"===i?Tr($.run.bind($),p&&p.suspense):$.run(),k}function Uo(e,t,n){const o=this.proxy,r=g(e)?e.includes(".")?Wo(o,e):()=>o[e]:e.bind(o,o);let s;h(t)?s=t:(s=t.handler,n=t);const i=Wr(this),c=No(r,s.bind(o),n);return i(),c}function Wo(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(!v(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),io(e))zo(e.value,t,n,o);else if(f(e))for(let r=0;r<e.length;r++)zo(e[r],t,n,o);else if(d(e)||p(e))e.forEach((e=>{zo(e,t,n,o)}));else if(b(e))for(const r in e)zo(e[r],t,n,o);return e}function Fo(){return{app:null,config:{isNativeTag:r,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 Ko=0;let qo=null;function Go(e,t,n=!1){const o=Ur||Vo;if(o||qo){const r=o?null==o.parent?o.vnode.appContext&&o.vnode.appContext.provides:o.parent.provides:qo._context.provides;if(r&&e in r)return r[e];if(arguments.length>1)return n&&h(t)?t.call(o&&o.proxy):t}}function Jo(e,t){Qo(e,"a",t)}function Zo(e,t){Qo(e,"da",t)}function Qo(e,t,n=Ur){const o=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()});if(Yo(t,o,n),n){let e=n.parent;for(;e&&e.parent;)e.parent.vnode.type.__isKeepAlive&&Xo(o,t,n,e),e=e.parent}}function Xo(e,t,n,o){const r=Yo(t,e,o,!0);ir((()=>{u(o[t],r)}),n)}function Yo(e,t,n=Ur,o=!1){if(n){(function(e){return U.indexOf(e)>-1})(e)&&(n=n.root);const r=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;Zt();const r=Wr(n),s=ho(t,n,e,o);return r(),Qt(),s});return o?r.unshift(s):r.push(s),s}}const er=e=>(t,n=Ur)=>(!Kr||"sp"===e)&&Yo(e,((...e)=>t(...e)),n),tr=er("bm"),nr=er("m"),or=er("bu"),rr=er("u"),sr=er("bum"),ir=er("um"),cr=er("sp"),ur=er("rtg"),lr=er("rtc");function ar(e,t=Ur){Yo("ec",e,t)}const fr=e=>e?Fr(e)?Jr(e)||e.proxy:fr(e.parent):null,pr=c(Object.create(null),{$:e=>e,$el:e=>e.__$el||(e.__$el={}),$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>fr(e.parent),$root:e=>fr(e.root),$emit:e=>e.emit,$options:e=>xr(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,Co(e.update)}),$watch:e=>Uo.bind(e)}),dr=(e,n)=>e!==t&&!e.__isScriptSetup&&a(e,n),hr={get({_:e},n){const{ctx:o,setupState:r,data:s,props:i,accessCache:c,type:u,appContext:l}=e;let f;if("$"!==n[0]){const u=c[n];if(void 0!==u)switch(u){case 1:return r[n];case 2:return s[n];case 4:return o[n];case 3:return i[n]}else{if(dr(r,n))return c[n]=1,r[n];if(s!==t&&a(s,n))return c[n]=2,s[n];if((f=e.propsOptions[0])&&a(f,n))return c[n]=3,i[n];if(o!==t&&a(o,n))return c[n]=4,o[n];mr&&(c[n]=0)}}const p=pr[n];let d,h;return p?("$attrs"===n&&un(e,0,n),p(e)):(d=u.__cssModules)&&(d=d[n])?d:o!==t&&a(o,n)?(c[n]=4,o[n]):(h=l.config.globalProperties,a(h,n)?h[n]:void 0)},set({_:e},n,o){const{data:r,setupState:s,ctx:i}=e;return dr(s,n)?(s[n]=o,!0):r!==t&&a(r,n)?(r[n]=o,!0):!a(e.props,n)&&(("$"!==n[0]||!(n.slice(1)in e))&&(i[n]=o,!0))},has({_:{data:e,setupState:n,accessCache:o,ctx:r,appContext:s,propsOptions:i}},c){let u;return!!o[c]||e!==t&&a(e,c)||dr(n,c)||(u=i[0])&&a(u,c)||a(r,c)||a(pr,c)||a(s.config.globalProperties,c)},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:a(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function gr(e){return f(e)?e.reduce(((e,t)=>(e[t]=null,e)),{}):e}let mr=!0;function vr(e){const t=xr(e),n=e.proxy,r=e.ctx;mr=!1,t.beforeCreate&&_r(t.beforeCreate,e,"bc");const{data:s,computed:i,methods:c,watch:u,provide:l,inject:a,created:p,beforeMount:d,mounted:g,beforeUpdate:m,updated:_,activated:y,deactivated:x,beforeDestroy:b,beforeUnmount:w,destroyed:$,unmounted:S,render:k,renderTracked:O,renderTriggered:C,errorCaptured:E,serverPrefetch:P,expose:I,inheritAttrs:A,components:j,directives:R,filters:L}=t;if(a&&function(e,t,n=o){f(e)&&(e=Sr(e));for(const o in e){const n=e[o];let r;r=v(n)?"default"in n?Go(n.from||o,n.default,!0):Go(n.from||o):Go(n),io(r)?Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>r.value,set:e=>r.value=e}):t[o]=r}}(a,r,null),c)for(const o in c){const e=c[o];h(e)&&(r[o]=e.bind(n))}if(s){const t=s.call(n,n);v(t)&&(e.data=qn(t))}if(mr=!0,i)for(const f in i){const e=i[f],t=h(e)?e.bind(n,n):h(e.get)?e.get.bind(n,n):o,s=!h(e)&&h(e.set)?e.set.bind(n):o,c=Zr({get:t,set:s});Object.defineProperty(r,f,{enumerable:!0,configurable:!0,get:()=>c.value,set:e=>c.value=e})}if(u)for(const o in u)yr(u[o],r,n,o);function M(e,t){f(t)?t.forEach((t=>e(t.bind(n)))):t&&e(t.bind(n))}if(function(){if(l){const e=h(l)?l.call(n):l;Reflect.ownKeys(e).forEach((t=>{!function(e,t){if(Ur){let n=Ur.provides;const o=Ur.parent&&Ur.parent.provides;o===n&&(n=Ur.provides=Object.create(o)),n[e]=t,"app"===Ur.type.mpType&&Ur.appContext.app.provide(e,t)}}(t,e[t])}))}}(),p&&_r(p,e,"c"),M(tr,d),M(nr,g),M(or,m),M(rr,_),M(Jo,y),M(Zo,x),M(ar,E),M(lr,O),M(ur,C),M(sr,w),M(ir,S),M(cr,P),f(I))if(I.length){const t=e.exposed||(e.exposed={});I.forEach((e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t})}))}else e.exposed||(e.exposed={});k&&e.render===o&&(e.render=k),null!=A&&(e.inheritAttrs=A),j&&(e.components=j),R&&(e.directives=R),e.ctx.$onApplyOptions&&e.ctx.$onApplyOptions(t,e,n)}function _r(e,t,n){ho(f(e)?e.map((e=>e.bind(t.proxy))):e.bind(t.proxy),t,n)}function yr(e,t,n,o){const r=o.includes(".")?Wo(n,o):()=>n[o];if(g(e)){const n=t[e];h(n)&&Bo(r,n)}else if(h(e))Bo(r,e.bind(n));else if(v(e))if(f(e))e.forEach((e=>yr(e,t,n,o)));else{const o=h(e.handler)?e.handler.bind(n):t[e.handler];h(o)&&Bo(r,o,e)}}function xr(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:r,optionsCache:s,config:{optionMergeStrategies:i}}=e.appContext,c=s.get(t);let u;return c?u=c:r.length||n||o?(u={},r.length&&r.forEach((e=>br(u,e,i,!0))),br(u,t,i)):u=t,v(t)&&s.set(t,u),u}function br(e,t,n,o=!1){const{mixins:r,extends:s}=t;s&&br(e,s,n,!0),r&&r.forEach((t=>br(e,t,n,!0)));for(const i in t)if(o&&"expose"===i);else{const o=wr[i]||n&&n[i];e[i]=o?o(e[i],t[i]):t[i]}return e}const wr={data:$r,props:Cr,emits:Cr,methods:Or,computed:Or,beforeCreate:kr,created:kr,beforeMount:kr,mounted:kr,beforeUpdate:kr,updated:kr,beforeDestroy:kr,beforeUnmount:kr,destroyed:kr,unmounted:kr,activated:kr,deactivated:kr,errorCaptured:kr,serverPrefetch:kr,components:Or,directives:Or,watch:function(e,t){if(!e)return t;if(!t)return e;const n=c(Object.create(null),e);for(const o in t)n[o]=kr(e[o],t[o]);return n},provide:$r,inject:function(e,t){return Or(Sr(e),Sr(t))}};function $r(e,t){return t?e?function(){return c(h(e)?e.call(this,this):e,h(t)?t.call(this,this):t)}:t:e}function Sr(e){if(f(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function kr(e,t){return e?[...new Set([].concat(e,t))]:t}function Or(e,t){return e?c(Object.create(null),e,t):t}function Cr(e,t){return e?f(e)&&f(t)?[...new Set([...e,...t])]:c(Object.create(null),gr(e),gr(null!=t?t:{})):t}function Er(e,t,n,o=!1){const r={},s={};e.propsDefaults=Object.create(null),Pr(e,t,r,s);for(const i in e.propsOptions[0])i in r||(r[i]=void 0);n?e.props=o?r:Jn(r,!1,xn,Bn,Wn):e.type.props?e.props=r:e.props=s,e.attrs=s}function Pr(e,n,o,r){const[s,i]=e.propsOptions;let c,u=!1;if(n)for(let t in n){if($(t))continue;const l=n[t];let f;s&&a(s,f=O(t))?i&&i.includes(f)?(c||(c={}))[f]=l:o[f]=l:To(e.emitsOptions,t)||t in r&&l===r[t]||(r[t]=l,u=!0)}if(i){const n=Yn(o),r=c||t;for(let t=0;t<i.length;t++){const c=i[t];o[c]=Ir(s,n,c,r[c],e,!a(r,c))}}return u}function Ir(e,t,n,o,r,s){const i=e[n];if(null!=i){const e=a(i,"default");if(e&&void 0===o){const e=i.default;if(i.type!==Function&&!i.skipFactory&&h(e)){const{propsDefaults:s}=r;if(n in s)o=s[n];else{const i=Wr(r);o=s[n]=e.call(null,t),i()}}else o=e}i[0]&&(s&&!e?o=!1:!i[1]||""!==o&&o!==E(n)||(o=!0))}return o}function Ar(e,o,r=!1){const s=o.propsCache,i=s.get(e);if(i)return i;const u=e.props,l={},p=[];let d=!1;if(!h(e)){const t=e=>{d=!0;const[t,n]=Ar(e,o,!0);c(l,t),n&&p.push(...n)};!r&&o.mixins.length&&o.mixins.forEach(t),e.extends&&t(e.extends),e.mixins&&e.mixins.forEach(t)}if(!u&&!d)return v(e)&&s.set(e,n),n;if(f(u))for(let n=0;n<u.length;n++){const e=O(u[n]);jr(e)&&(l[e]=t)}else if(u)for(const t in u){const e=O(t);if(jr(e)){const n=u[t],o=l[e]=f(n)||h(n)?{type:n}:c({},n);if(o){const t=Mr(Boolean,o.type),n=Mr(String,o.type);o[0]=t>-1,o[1]=n<0||t<n,(t>-1||a(o,"default"))&&p.push(e)}}}const g=[l,p];return v(e)&&s.set(e,g),g}function jr(e){return"$"!==e[0]&&!$(e)}function Rr(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 Lr(e,t){return Rr(e)===Rr(t)}function Mr(e,t){return f(t)?t.findIndex((t=>Lr(t,e))):h(t)&&Lr(t,e)?0:-1}const Tr=Po,Vr=Fo();let Hr=0;function Dr(e,n,o){const r=e.type,s=(n?n.appContext:e.appContext)||Vr,i={uid:Hr++,vnode:e,type:r,parent:n,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,scope:new Ut(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:n?n.provides:Object.create(s.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Ar(r,s),emitsOptions:Mo(r,s),emit:null,emitted:null,propsDefaults:t,inheritAttrs:r.inheritAttrs,ctx:t,data:t,props:t,attrs:t,slots:t,refs:t,setupState:t,setupContext:null,attrsProxy:null,slotsProxy:null,suspense:o,suspenseId:o?o.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null,$uniElements:new Map,$templateUniElementRefs:[],$templateUniElementStyles:{},$eS:{},$eA:{}};return i.ctx={_:i},i.root=n?n.root:i,i.emit=Lo.bind(null,i),e.ce&&e.ce(i),i}let Br,Nr,Ur=null;Br=e=>{Ur=e},Nr=e=>{Kr=e};const Wr=e=>{const t=Ur;return Br(e),e.scope.on(),()=>{e.scope.off(),Br(t)}},zr=()=>{Ur&&Ur.scope.off(),Br(null)};function Fr(e){return 4&e.vnode.shapeFlag}let Kr=!1;function qr(e,t=!1){t&&Nr(t);const{props:n}=e.vnode,o=Fr(e);Er(e,n,o,t);const r=o?function(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=eo(new Proxy(e.ctx,hr));const{setup:o}=n;if(o){const t=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)=>(un(e,0,"$attrs"),t[n])}))}(e)},slots:e.slots,emit:e.emit,expose:t}}(e):null,n=Wr(e);Zt();const r=po(o,e,0,[e.props,t]);Qt(),n(),_(r)?r.then(zr,zr):function(e,t,n){h(t)?e.render=t:v(t)&&(e.setupState=fo(t));Gr(e)}(e,r)}else Gr(e)}(e):void 0;return t&&Nr(!1),r}function Gr(e,t,n){const r=e.type;e.render||(e.render=r.render||o);{const t=Wr(e);Zt();try{vr(e)}finally{Qt(),t()}}}function Jr(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(fo(eo(e.exposed)),{get:(t,n)=>n in t?t[n]:e.proxy[n],has:(e,t)=>t in e||t in pr}))}const Zr=(e,t)=>{const n=function(e,t,n=!1){let r,s;const i=h(e);return i?(r=e,s=o):(r=e.get,s=e.set),new oo(r,s,i||!s,n)}(e,0,Kr);return n},Qr="3.4.21";function Xr(e){return lo(e)}const Yr="[object Array]",es="[object Object]";function ts(e,t){const n={};return ns(e,t),os(e,t,"",n),n}function ns(e,t){if((e=Xr(e))===t)return;const n=x(e),o=x(t);if(n==es&&o==es)for(let r in t){const n=e[r];void 0===n?e[r]=null:ns(n,t[r])}else n==Yr&&o==Yr&&e.length>=t.length&&t.forEach(((t,n)=>{ns(e[n],t)}))}function os(e,t,n,o){if((e=Xr(e))===t)return;const r=x(e),s=x(t);if(r==es)if(s!=es||Object.keys(e).length<Object.keys(t).length)rs(o,n,e);else for(let i in e){const r=Xr(e[i]),s=t[i],c=x(r),u=x(s);if(c!=Yr&&c!=es)r!=s&&rs(o,(""==n?"":n+".")+i,r);else if(c==Yr)u!=Yr||r.length<s.length?rs(o,(""==n?"":n+".")+i,r):r.forEach(((e,t)=>{os(e,s[t],(""==n?"":n+".")+i+"["+t+"]",o)}));else if(c==es)if(u!=es||Object.keys(r).length<Object.keys(s).length)rs(o,(""==n?"":n+".")+i,r);else for(let e in r)os(r[e],s[e],(""==n?"":n+".")+i+"."+e,o)}else r==Yr?s!=Yr||e.length<t.length?rs(o,n,e):e.forEach(((e,r)=>{os(e,t[r],n+"["+r+"]",o)})):rs(o,n,e)}function rs(e,t,n){e[t]=n}function ss(e){const t=e.ctx.__next_tick_callbacks;if(t&&t.length){const e=t.slice(0);t.length=0;for(let t=0;t<e.length;t++)e[t]()}}function is(e,t){const n=e.ctx;if(!n.__next_tick_pending&&!function(e){return yo.includes(e.update)}(e))return Oo(t&&t.bind(e.proxy));let o;return n.__next_tick_callbacks||(n.__next_tick_callbacks=[]),n.__next_tick_callbacks.push((()=>{t?po(t.bind(e.proxy),e,14):o&&o(e.proxy)})),new Promise((e=>{o=e}))}function cs(e,t){const n=typeof(e=Xr(e));if("object"===n&&null!==e){let n=t.get(e);if(void 0!==n)return n;if(f(e)){const o=e.length;n=new Array(o),t.set(e,n);for(let r=0;r<o;r++)n[r]=cs(e[r],t)}else{n={},t.set(e,n);for(const o in e)a(e,o)&&(n[o]=cs(e[o],t))}return n}if("symbol"!==n)return e}function us(e){return cs(e,"undefined"!=typeof WeakMap?new WeakMap:new Map)}function ls(e,t,n){if(!t)return;(t=us(t)).$eS=e.$eS||{},t.$eA=e.$eA||{};const o=e.ctx,r=o.mpType;if("page"===r||"component"===r){t.r0=1;const r=o.$scope,s=Object.keys(t),i=ts(t,n||function(e,t){const n=e.data,o=Object.create(null);return t.forEach((e=>{o[e]=n[e]})),o}(r,s));Object.keys(i).length?(o.__next_tick_pending=!0,r.setData(i,(()=>{o.__next_tick_pending=!1,ss(e)})),Io()):ss(e)}}function as(e,t,n){t.appContext.config.globalProperties.$applyOptions(e,t,n);const o=e.computed;if(o){const e=Object.keys(o);if(e.length){const n=t.ctx;n.$computedKeys||(n.$computedKeys=[]),n.$computedKeys.push(...e)}}delete t.ctx.$onApplyOptions}function fs(e,t=!1){const{setupState:n,$templateRefs:o,$templateUniElementRefs:r,ctx:{$scope:s,$mpPlatform:i}}=e;if("mp-alipay"===i)return;if(!s||!o&&!r)return;if(t)return o&&o.forEach((e=>ps(e,null,n))),void(r&&r.forEach((e=>ps(e,null,n))));const c="mp-baidu"===i||"mp-toutiao"===i,u=e=>{if(0===e.length)return[];const t=(s.selectAllComponents(".r")||[]).concat(s.selectAllComponents(".r-i-f")||[]);return e.filter((e=>{const o=function(e,t){const n=e.find((e=>e&&(e.properties||e.props).uI===t));if(n){const e=n.$vm;return e?Jr(e.$)||e:function(e){v(e)&&eo(e);return e}(n)}return null}(t,e.i);return!(!c||null!==o)||(ps(e,o,n),!1)}))},l=()=>{if(o){const t=u(o);t.length&&e.proxy&&e.proxy.$scope&&e.proxy.$scope.setData({r1:1},(()=>{u(t)}))}};r&&r.length&&is(e,(()=>{r.forEach((e=>{f(e.v)?e.v.forEach((t=>{ps(e,t,n)})):ps(e,e.v,n)}))})),s._$setRef?s._$setRef(l):is(e,l)}function ps({r:e,f:t},n,o){if(h(e))e(n,{});else{const r=g(e),s=io(e);if(r||s)if(t){if(!s)return;f(e.value)||(e.value=[]);const t=e.value;if(-1===t.indexOf(n)){if(t.push(n),!n)return;n.$&&sr((()=>u(t,n)),n.$)}}else r?a(o,e)&&(o[e]=n):io(e)&&(e.value=n)}}const ds=Po;function hs(e,t){const n=e.component=Dr(e,t.parentComponent,null);return n.ctx.$onApplyOptions=as,n.ctx.$children=[],"app"===t.mpType&&(n.render=o),t.onBeforeSetup&&t.onBeforeSetup(n,t),qr(n),t.parentComponent&&n.proxy&&t.parentComponent.ctx.$children.push(Jr(n)||n.proxy),function(e){const t=vs.bind(e);e.$updateScopedSlots=()=>Oo((()=>Co(t)));const n=()=>{if(e.isMounted){const{next:t,bu:n,u:o}=e;_s(e,!1),Zt(),Io(),Qt(),n&&j(n),_s(e,!0),ls(e,gs(e)),o&&ds(o)}else sr((()=>{fs(e,!0)}),e),ls(e,gs(e))},r=e.effect=new Wt(n,o,(()=>Co(s)),e.scope),s=e.update=()=>{r.dirty&&r.run()};s.id=e.uid,_s(e,!0),s()}(n),n.proxy}function gs(e){const{type:t,vnode:n,proxy:o,withProxy:r,props:i,propsOptions:[c],slots:u,attrs:l,emit:a,render:f,renderCache:p,data:d,setupState:h,ctx:g,uid:m,appContext:{app:{config:{globalProperties:{pruneComponentPropsCache:v}}}},inheritAttrs:_}=e;let y;e.$uniElementIds=new Map,e.$templateRefs=[],e.$templateUniElementRefs=[],e.$templateUniElementStyles={},e.$ei=0,v(m),e.__counter=0===e.__counter?1:0;const x=Ho(e);try{if(4&n.shapeFlag){ms(_,i,c,l);const e=r||o;y=f.call(e,e,p,i,h,d,g)}else{ms(_,i,c,t.props?l:(e=>{let t;for(const n in e)("class"===n||"style"===n||s(n))&&((t||(t={}))[n]=e[n]);return t})(l));const e=t;y=e.length>1?e(i,{attrs:l,slots:u,emit:a}):e(i,null)}}catch(b){go(b,e,1),y=!1}return fs(e),Ho(x),y}function ms(e,t,n,o){if(t&&o&&!1!==e){const e=Object.keys(o).filter((e=>"class"!==e&&"style"!==e));if(!e.length)return;n&&e.some(i)?e.forEach((e=>{i(e)&&e.slice(9)in n||(t[e]=o[e])})):e.forEach((e=>t[e]=o[e]))}}function vs(){const e=this.$scopedSlotsData;if(!e||0===e.length)return;const t=this.ctx.$scope,n=t.data,o=Object.create(null);e.forEach((({path:e,index:t,data:r})=>{const s=V(n,e),i=g(t)?`${e}.${t}`:`${e}[${t}]`;if(void 0===s||void 0===s[t])o[i]=r;else{const e=ts(r,s[t]);Object.keys(e).forEach((t=>{o[i+"."+t]=e[t]}))}})),e.length=0,Object.keys(o).length&&t.setData(o)}function _s({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}const ys=function(e,t=null){h(e)||(e=c({},e)),null==t||v(t)||(t=null);const n=Fo(),o=new WeakSet,r=n.app={_uid:Ko++,_component:e,_props:t,_container:null,_context:n,_instance:null,version:Qr,get config(){return n.config},set config(e){},use:(e,...t)=>(o.has(e)||(e&&h(e.install)?(o.add(e),e.install(r,...t)):h(e)&&(o.add(e),e(r,...t))),r),mixin:e=>(n.mixins.includes(e)||n.mixins.push(e),r),component:(e,t)=>t?(n.components[e]=t,r):n.components[e],directive:(e,t)=>t?(n.directives[e]=t,r):n.directives[e],mount(){},unmount(){},provide:(e,t)=>(n.provides[e]=t,r),runWithContext(e){const t=qo;qo=r;try{return e()}finally{qo=t}}};return r};function xs(e,t=null){("undefined"!=typeof window?window:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof my?my:void 0).__VUE__=!0;const n=ys(e,t),r=n._context;r.config.globalProperties.$nextTick=function(e){return is(this.$,e)};const s=e=>(e.appContext=r,e.shapeFlag=6,e),i=function(e,t){return hs(s(e),t)},c=function(e){return e&&function(e){const{bum:t,scope:n,update:o,um:r}=e;t&&j(t);{const t=e.parent;if(t){const n=t.ctx.$children,o=Jr(e)||e.proxy,r=n.indexOf(o);r>-1&&n.splice(r,1)}}n.stop(),o&&(o.active=!1),r&&ds(r),ds((()=>{e.isUnmounted=!0}))}(e.$)};return n.mount=function(){e.render=o;const t=hs(s({type:e}),{mpType:"app",mpInstance:null,parentComponent:null,slots:[],props:null});return n._instance=t.$,t.$app=n,t.$createComponent=i,t.$destroyComponent=c,r.$appInstance=t,t},n.unmount=function(){},n}function bs(e,t,n,o){h(t)&&Yo(e,t.bind(n),o)}function ws(e,t,n){!function(e,t,n){const o=e.mpType||n.$mpType;o&&"component"!==o&&Object.keys(e).forEach((o=>{if(F(o,e[o],!1)){const r=e[o];f(r)?r.forEach((e=>bs(o,e,n,t))):bs(o,r,n,t)}}))}(e,t,n)}function $s(e,t,n){return e[t]=n}function Ss(e,...t){const n=this[e];return n?n(...t):(console.error(`method ${e} not found`),null)}function ks(e){const t=e.config.errorHandler;return function(n,o,r){t&&t(n,o,r);const s=e._instance;if(!s||!s.proxy)throw n;s.onError?s.proxy.$callHook("onError",n):mo(n,0,o&&o.$.vnode,!1)}}function Os(e,t){return e?[...new Set([].concat(e,t))]:t}let Cs;const Es="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",Ps=/^(?:[A-Za-z\d+/]{4})*?(?:[A-Za-z\d+/]{2}(?:==)?|[A-Za-z\d+/]{3}=?)?$/;function Is(){const e=Dt.getStorageSync("uni_id_token")||"",t=e.split(".");if(!e||3!==t.length)return{uid:null,role:[],permission:[],tokenExpired:0};let n;try{n=JSON.parse((o=t[1],decodeURIComponent(Cs(o).split("").map((function(e){return"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2)})).join(""))))}catch(r){throw new Error("获取当前用户信息出错,详细错误信息为:"+r.message)}var o;return n.tokenExpired=1e3*n.exp,delete n.exp,delete n.iat,n}function As(e){const t=e.config;var n;t.errorHandler=G(e,ks),n=t.optionMergeStrategies,W.forEach((e=>{n[e]=Os}));const o=t.globalProperties;!function(e){e.uniIDHasRole=function(e){const{role:t}=Is();return t.indexOf(e)>-1},e.uniIDHasPermission=function(e){const{permission:t}=Is();return this.uniIDHasRole("admin")||t.indexOf(e)>-1},e.uniIDTokenValid=function(){const{tokenExpired:e}=Is();return e>Date.now()}}(o),o.$set=$s,o.$applyOptions=ws,o.$callMethod=Ss,Dt.invokeCreateVueAppHook(e)}Cs="function"!=typeof atob?function(e){if(e=String(e).replace(/[\t\n\f\r ]+/g,""),!Ps.test(e))throw new Error("Failed to execute 'atob' on 'Window': The string to be decoded is not correctly encoded.");var t;e+="==".slice(2-(3&e.length));for(var n,o,r="",s=0;s<e.length;)t=Es.indexOf(e.charAt(s++))<<18|Es.indexOf(e.charAt(s++))<<12|(n=Es.indexOf(e.charAt(s++)))<<6|(o=Es.indexOf(e.charAt(s++))),r+=64===n?String.fromCharCode(t>>16&255):64===o?String.fromCharCode(t>>16&255,t>>8&255):String.fromCharCode(t>>16&255,t>>8&255,255&t);return r}:atob;const js=Object.create(null);function Rs(e){delete js[e]}function Ls(e){if(!e)return;const[t,n]=e.split(",");return js[t]?js[t][parseInt(n)]:void 0}var Ms={install(e){As(e),e.config.globalProperties.pruneComponentPropsCache=Rs;const t=e.mount;e.mount=function(n){const o=t.call(e,n),r=function(){const e="createApp";if("undefined"!=typeof global&&void 0!==global[e])return global[e];if("undefined"!=typeof my)return my[e]}();return r?r(o):"undefined"!=typeof createMiniProgramApp&&createMiniProgramApp(o),o}}};const Ts=function(e,t=null){return e&&(e.mpType="app"),xs(e,t).use(Ms)};const Vs=["externalClasses"];const Hs=/_(.*)_worklet_factory_/;function Ds(e,t){const n=e.$children;for(let r=n.length-1;r>=0;r--){const e=n[r];if(e.$scope._$vueId===t)return e}let o;for(let r=n.length-1;r>=0;r--)if(o=Ds(n[r],t),o)return o}const Bs=["createSelectorQuery","createIntersectionObserver","selectAllComponents","selectComponent"];function Ns(e,t){const n=e.ctx;n.mpType=t.mpType,n.$mpType=t.mpType,n.$mpPlatform="mp-weixin",n.$scope=t.mpInstance,Object.defineProperties(n,{virtualHostId:{get(){const e=this.$scope.data.virtualHostId;return void 0===e?"":e}}}),n.$mp={},n._self={},e.slots={},f(t.slots)&&t.slots.length&&(t.slots.forEach((t=>{e.slots[t]=!0})),e.slots.d&&(e.slots.default=!0)),n.getOpenerEventChannel=function(){return t.mpInstance.getOpenerEventChannel()},n.$hasHook=Us,n.$callHook=Ws,e.emit=function(e,t){return function(n,...o){const r=t.$scope;if(r&&n){const e={__args__:o};r.triggerEvent(n,e)}return e.apply(this,[n,...o])}}(e.emit,n)}function Us(e){const t=this.$[e];return!(!t||!t.length)}function Ws(e,t){"mounted"===e&&(Ws.call(this,"bm"),this.$.isMounted=!0,e="m");const n=this.$[e];return n&&((e,t)=>{let n;for(let o=0;o<e.length;o++)n=e[o](t);return n})(n,t)}const zs=["onLoad","onShow","onHide","onUnload","onResize","onTabItemTap","onReachBottom","onPullDownRefresh","onAddToFavorites"];function Fs(e,t=new Set){if(e){Object.keys(e).forEach((n=>{F(n,e[n])&&t.add(n)}));{const{extends:n,mixins:o}=e;o&&o.forEach((e=>Fs(e,t))),n&&Fs(n,t)}}return t}function Ks(e,t,n){-1!==n.indexOf(t)||a(e,t)||(e[t]=function(e){return this.$vm&&this.$vm.$callHook(t,e)})}const qs=["onReady"];function Gs(e,t,n=qs){t.forEach((t=>Ks(e,t,n)))}function Js(e,t,n=qs){Fs(t).forEach((t=>Ks(e,t,n)))}const Zs=T((()=>{const e=[],t=h(getApp)&&getApp({allowDefault:!0});if(t&&t.$vm&&t.$vm.$){const n=t.$vm.$.appContext.mixins;if(f(n)){const t=Object.keys(z);n.forEach((n=>{t.forEach((t=>{a(n,t)&&!e.includes(t)&&e.push(t)}))}))}}return e}));const Qs=["onShow","onHide","onError","onThemeChange","onPageNotFound","onUnhandledRejection"];function Xs(e,t){const n=e.$,o={globalData:e.$options&&e.$options.globalData||{},$vm:e,onLaunch(t){this.$vm=e;const o=n.ctx;this.$vm&&o.$scope&&o.$callHook||(Ns(n,{mpType:"app",mpInstance:this,slots:[]}),o.globalData=this.globalData,e.$callHook("onLaunch",t))}},r=wx.$onErrorHandlers;r&&(r.forEach((e=>{Yo("onError",e,n)})),r.length=0),function(e){const t=co(function(){var e;let t="";{const n=(null===(e=wx.getAppBaseInfo)||void 0===e?void 0:e.call(wx))||wx.getSystemInfoSync();t=Q(n&&n.language?n.language:"en")||"en"}return t}());Object.defineProperty(e,"$locale",{get:()=>t.value,set(e){t.value=e}})}(e);const s=e.$.type;Gs(o,Qs),Js(o,s);{const e=s.methods;e&&c(o,e)}return o}function Ys(e,t){if(h(e.onLaunch)){const t=wx.getLaunchOptionsSync&&wx.getLaunchOptionsSync();e.onLaunch(t)}h(e.onShow)&&wx.onAppShow&&wx.onAppShow((e=>{t.$callHook("onShow",e)})),h(e.onHide)&&wx.onAppHide&&wx.onAppHide((e=>{t.$callHook("onHide",e)}))}const ei=["eO","uR","uRIF","uI","uT","uP","uS"];function ti(e){e.properties||(e.properties={}),c(e.properties,function(e,t=!1){const n={};if(!t){let e=function(e){const t=Object.create(null);e&&e.forEach((e=>{t[e]=!0})),this.setData({$slots:t})};ei.forEach((e=>{n[e]={type:null,value:""}})),n.uS={type:null,value:[]},n.uS.observer=e}return e.behaviors&&e.behaviors.includes("wx://form-field")&&(e.properties&&e.properties.name||(n.name={type:null,value:""}),e.properties&&e.properties.value||(n.value={type:null,value:""})),n}(e),function(e){const t={};return e&&e.virtualHost&&(t.virtualHostStyle={type:null,value:""},t.virtualHostClass={type:null,value:""},t.virtualHostHidden={type:null,value:""},t.virtualHostId={type:null,value:""}),t}(e.options))}const ni=[String,Number,Boolean,Object,Array,null];function oi(e,t){const n=function(e,t){return f(e)&&1===e.length?e[0]:e}(e);return-1!==ni.indexOf(n)?n:null}function ri(e,t){return(t?function(e){const t={};b(e)&&Object.keys(e).forEach((n=>{-1===ei.indexOf(n)&&(t[n]=e[n])}));return t}(e):Ls(e.uP))||{}}function si(e){const t=function(){const e=this.properties.uP;e&&(this.$vm?function(e,t){const n=Yn(t.props),o=Ls(e)||{};ii(n,o)&&(!function(e,t,n,o){const{props:r,attrs:s,vnode:{patchFlag:i}}=e,c=Yn(r),[u]=e.propsOptions;let l=!1;if(!(o||i>0)||16&i){let o;Pr(e,t,r,s)&&(l=!0);for(const s in c)t&&(a(t,s)||(o=E(s))!==s&&a(t,o))||(u?!n||void 0===n[s]&&void 0===n[o]||(r[s]=Ir(u,c,s,void 0,e,!0)):delete r[s]);if(s!==c)for(const e in s)t&&a(t,e)||(delete s[e],l=!0)}else if(8&i){const n=e.vnode.dynamicProps;for(let o=0;o<n.length;o++){let i=n[o];if(To(e.emitsOptions,i))continue;const f=t[i];if(u)if(a(s,i))f!==s[i]&&(s[i]=f,l=!0);else{const t=O(i);r[t]=Ir(u,c,t,f,e,!1)}else f!==s[i]&&(s[i]=f,l=!0)}}l&&ln(e,"set","$attrs")}(t,o,n,!1),r=t.update,yo.indexOf(r)>-1&&function(e){const t=yo.indexOf(e);t>xo&&yo.splice(t,1)}(t.update),t.update());var r}(e,this.$vm.$):"m"===this.properties.uT&&function(e,t){const n=t.properties,o=Ls(e)||{};ii(n,o,!1)&&t.setData(o)}(e,this))};e.observers||(e.observers={}),e.observers.uP=t}function ii(e,t,n=!0){const o=Object.keys(t);if(n&&o.length!==Object.keys(e).length)return!0;for(let r=0;r<o.length;r++){const n=o[r];if(t[n]!==e[n])return!0}return!1}function ci(e,t){e.data={},e.behaviors=function(e){const t=e.behaviors;let n=e.props;n||(e.props=n=[]);const o=[];return f(t)&&t.forEach((e=>{o.push(e.replace("uni://","wx://")),"uni://form-field"===e&&(f(n)?(n.push("name"),n.push("modelValue")):(n.name={type:String,default:""},n.modelValue={type:[String,Number,Boolean,Array,Object,Date],default:""}))})),o}(t)}function ui(e,{parse:t,mocks:n,isPage:o,isPageInProject:r,initRelation:s,handleLink:i,initLifetimes:u}){e=e.default||e;const l={multipleSlots:!0,addGlobalClass:!0,pureDataPattern:/^uP$/};f(e.mixins)&&e.mixins.forEach((e=>{v(e.options)&&c(l,e.options)})),e.options&&c(l,e.options);const p={options:l,lifetimes:u({mocks:n,isPage:o,initRelation:s,vueOptions:e}),pageLifetimes:{show(){this.$vm&&this.$vm.$callHook("onPageShow")},hide(){this.$vm&&this.$vm.$callHook("onPageHide")},resize(e){this.$vm&&this.$vm.$callHook("onPageResize",e)}},methods:{__l:i}};var d,h,g,m;return ci(p,e),ti(p),si(p),function(e,t){Vs.forEach((n=>{a(t,n)&&(e[n]=t[n])}))}(p,e),d=p.methods,h=e.wxsCallMethods,f(h)&&h.forEach((e=>{d[e]=function(t){return this.$vm[e](t)}})),g=p.methods,(m=e.methods)&&Object.keys(m).forEach((e=>{const t=e.match(Hs);if(t){const n=t[1];g[e]=m[e],g[n]=m[n]}})),t&&t(p,{handleLink:i}),p}let li,ai;function fi(){return getApp().$vm}function pi(e,t){const{parse:n,mocks:o,isPage:r,initRelation:s,handleLink:i,initLifetimes:c}=t,u=ui(e,{mocks:o,isPage:r,isPageInProject:!0,initRelation:s,handleLink:i,initLifetimes:c});!function({properties:e},t){f(t)?t.forEach((t=>{e[t]={type:String,value:""}})):b(t)&&Object.keys(t).forEach((n=>{const o=t[n];if(b(o)){let t=o.default;h(t)&&(t=t());const r=o.type;o.type=oi(r),e[n]={type:o.type,value:t}}else e[n]={type:oi(o)}}))}(u,(e.default||e).props);const l=u.methods;return l.onLoad=function(e){var t;return this.options=e,this.$page={fullPath:(t=this.route+N(e),function(e){return 0===e.indexOf("/")}(t)?t:"/"+t)},this.$vm&&this.$vm.$callHook("onLoad",e)},Gs(l,zs),Js(l,e),function(e,t){if(!t)return;Object.keys(z).forEach((n=>{t&z[n]&&Ks(e,n,[])}))}(l,e.__runtimeHooks),Gs(l,Zs()),n&&n(u,{handleLink:i}),u}const di=Page,hi=Component;function gi(e){const t=e.triggerEvent,n=function(n,...o){return t.apply(e,[(r=n,O(r.replace(D,"-"))),...o]);var r};try{e.triggerEvent=n}catch(o){e._triggerEvent=n}}function mi(e,t,n){const o=t[e];t[e]=o?function(...e){return gi(this),o.apply(this,e)}:function(){gi(this)}}Page=function(e){return mi("onLoad",e),di(e)},Component=function(e){mi("created",e);return e.properties&&e.properties.uP||(ti(e),si(e)),hi(e)};var vi=Object.freeze({__proto__:null,handleLink:function(e){const t=e.detail||e.value,n=t.vuePid;let o;n&&(o=Ds(this.$vm,n)),o||(o=this.$vm),t.parent=o},initLifetimes:function({mocks:e,isPage:t,initRelation:n,vueOptions:o}){return{attached(){let r=this.properties;!function(e,t){if(!e)return;const n=e.split(","),o=n.length;1===o?t._$vueId=n[0]:2===o&&(t._$vueId=n[0],t._$vuePid=n[1])}(r.uI,this);const s={vuePid:this._$vuePid};n(this,s);const i=this,c=t(i);let u=r;this.$vm=function(e,t){li||(li=fi().$createComponent);const n=li(e,t);return Jr(n.$)||n}({type:o,props:ri(u,c)},{mpType:c?"page":"component",mpInstance:i,slots:r.uS||{},parentComponent:s.parent&&s.parent.$,onBeforeSetup(t,n){!function(e,t){Object.defineProperty(e,"refs",{get(){const e={};return function(e,t,n){e.selectAllComponents(t).forEach((e=>{const t=e.properties.uR;n[t]=e.$vm||e}))}(t,".r",e),t.selectAllComponents(".r-i-f").forEach((t=>{const n=t.properties.uR;n&&(e[n]||(e[n]=[]),e[n].push(t.$vm||t))})),e}})}(t,i),function(e,t,n){const o=e.ctx;n.forEach((n=>{a(t,n)&&(e[n]=o[n]=t[n])}))}(t,i,e),function(e,t){Ns(e,t);const n=e.ctx;Bs.forEach((e=>{n[e]=function(...t){const o=n.$scope;if(o&&o[e])return o[e].apply(o,t)}}))}(t,n)}}),c||function(e){const t=e.$options;f(t.behaviors)&&t.behaviors.includes("uni://form-field")&&e.$watch("modelValue",(()=>{e.$scope&&e.$scope.setData({name:e.name,value:e.modelValue})}),{immediate:!0})}(this.$vm)},ready(){this.$vm&&(this.$vm.$callHook("mounted"),this.$vm.$callHook("onReady"))},detached(){var e;this.$vm&&(Rs(this.$vm.$.uid),e=this.$vm,ai||(ai=fi().$destroyComponent),ai(e))}}},initRelation:function(e,t){e.triggerEvent("__l",t)},isPage:function(e){return!!e.route},mocks:["__route__","__wxExparserNodeId__","__wxWebviewId__"]});const _i=function(e){return App(Xs(e))},yi=(xi=vi,function(e){return Component(pi(e,xi))});var xi;const bi=function(e){return function(t){return Component(ui(t,e))}}(vi),wi=function(e){Ys(Xs(e),e)},$i=function(e){const t=Xs(e),n=h(getApp)&&getApp({allowDefault:!0});if(!n)return;e.$.ctx.$scope=n;const o=n.globalData;o&&Object.keys(t.globalData).forEach((e=>{a(o,e)||(o[e]=t.globalData[e])})),Object.keys(t).forEach((e=>{a(n,e)||(n[e]=t[e])})),Ys(t,e)};wx.createApp=global.createApp=_i,wx.createPage=yi,wx.createComponent=bi,wx.createPluginApp=global.createPluginApp=wi,wx.createSubpackageApp=global.createSubpackageApp=$i,exports._export_sfc=(e,t)=>{const n=e.__vccOpts||e;for(const[o,r]of t)n[o]=r;return n},exports.createSSRApp=Ts,exports.ref=co,exports.t=e=>(e=>g(e)?e:null==e?"":f(e)||v(e)&&(e.toString===y||!h(e.toString))?JSON.stringify(e,L,2):String(e))(e);
|