李漂泊
李漂泊
  • 发布:2024-08-07 18:17
  • 更新:2024-08-11 20:47
  • 阅读:348

【报Bug】HX新建的一个标准vue3版本的项目,未改动任何代码,小程序不勾选ES6转ES5,无法预览

分类:uni-app

产品分类: uniapp/小程序/微信

PC开发环境操作系统: Windows

PC开发环境操作系统版本号: win10 LSTC 2021

HBuilderX类型: 正式

HBuilderX版本号: 4.24

第三方开发者工具版本号: 1.06.2405020

基础库版本号: 3.51

手机系统: iOS

手机系统版本号: iOS 17

手机厂商: 苹果

手机机型: iphone14

页面类型: vue

vue版本: vue3

打包方式: 云端

项目创建方式: HBuilderX

示例代码:

无改动

操作步骤:

下载HBX=>创建项目v3版=>填写小程序appid,取消勾选ES6转ES5 =>运行到小程序=>预览=>报错

预期结果:

正常预览

实际结果:

预览失败

bug描述:

描述如题,
报错信息如下
message:预览 Error: 非法的文件,错误信息:invalid file: common/vendor.js, 18:3337, SyntaxError: Unexpected token ?**/(e)?e.vccOpts:e}function qn(e,t){c(e,t);for(const n in e)"file"!==n&&!(n in t)&&delete e[n]}function Jn(e){return(t,n)=>{try{return e(t,n)}catch(e){console.error(e),console.warn("[HMR] Something went wrong during Vue component hot-reload. Full reload required.")}}}{const e=V(),t=(t,n)=>{let o;return(o=e[t])||(o=e[t]=[]),o.push(n),e=>{o.length>1?o.forEach(t=>t(e)):o0}};t("VUE_INSTANCE_SETTERS",e=>e),t("VUE_SSR_SETTERS",e=>e)}const Gn=/(?:^|[-_])(\w)/g;function Yn(e,t=!0){return h(e)?e.displayName||e.name:e.name||t&&e.name}function Zn(e,t,n=!1){let o=Yn(t);if(!o&&t.file){const e=t.file.match(/([^/\]+).\w+$/);e&&(o=e[1])}if(!o&&e&&e.parent){const n=e=>{for(const n in e)if(e[n]===t)return n};o=n(e.components||e.parent.type.components)||n(e.appContext.components)}return o?(e=>e.replace(Gn,e=>e.toUpperCase()).replace(/[-_]/g,""))(o):n?"App":"Anonymous"}function Qn(e,...t){console.warn("[Vue warn] "+e,...t)}let Xn,eo;class to{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Xn,!e&&Xn&&(this.index=(Xn.scopes||(Xn.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const t=Xn;try{return Xn=this,e()}finally{Xn=t}}else Qn("cannot run an inactive effect scope.")}on(){Xn=this}off(){Xn=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 no{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=Xn){t&&t.active&&t.effects.push(e)}(this,o)}get dirty(){if(2===this._dirtyLevel||3===this._dirtyLevel){this._dirtyLevel=1,lo();for(let e=0;e<this._depsLength;e++){const t=this.deps[e];if(t.computed&&(oo(t.computed),this._dirtyLevel>=4))break}1===this._dirtyLevel&&(this._dirtyLevel=0),po()}return this._dirtyLevel>=4}set dirty(e){this._dirtyLevel=e?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let e=co,t=eo;try{return co=!0,eo=this,this._runnings++,ro(this),this.fn()}finally{io(this),this._runnings--,eo=t,co=e}}stop(){var e;this.active&&(ro(this),io(this),null==(e=this.onStop)||e.call(this),this.active=!1)}}function oo(e){return e.value}function ro(e){e._trackId++,e._depsLength=0}function io(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)so(e.deps[t],e);e.deps.length=e._depsLength}}function so(e,t){const n=e.get(t);void 0!==n&&t._trackId!==n&&(e.delete(t),0===e.size&&e.cleanup())}let co=!0,uo=0;const ao=[];function lo(){ao.push(co),co=!1}function po(){const e=ao.pop();co=void 0===e||e}function fo(){uo++}function ho(){for(uo--;!uo&&mo.length;)mo.shift()()}function go(e,t,n){var o;if(t.get(e)!==e._trackId){t.set(e,e._trackId);const r=e.deps[e._depsLength];r!==t?(r&&so(r,e),e.deps[e._depsLength++]=t):e._depsLength++,null==(o=e.onTrack)||o.call(e,c({effect:e},n))}}const mo=[];function yo(e,t,n){var o;fo();for(const r of e.keys()){let i;r._dirtyLevel<t&&(i??(i=e.get(r)===r._trackId))&&(r._shouldSchedule||(r._shouldSchedule=0===r._dirtyLevel),r._dirtyLevel=t),r._shouldSchedule&&(i??(i=e.get(r)===r._trackId))&&(null==(o=r.onTrigger)||o.call(r,c({effect:r},n)),r.trigger(),(!r._runnings||r.allowRecurse)&&2!==r._dirtyLevel&&(r._shouldSchedule=!1,r.scheduler&&mo.push(r.scheduler)))}ho()}const vo=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},_o=new WeakMap,bo=Symbol("iterate"),wo=Symbol("Map key iterate");function xo(e,t,n){if(co&&eo){let o=_o.get(e);o||_o.set(e,o=new Map);let r=o.get(n);r||o.set(n,r=vo(()=>o.delete(n))),go(eo,r,{target:e,type:t,key:n})}}function $o(e,t,n,o,r,i){const s=_o.get(e);if(!s)return;let c=[];if("clear"===t)c=[...s.values()];else if("length"===n&&p(e)){const e=Number(o);s.forEach((t,n)=>{("length"===n||!m(n)&&n>=e)&&c.push(t)})}else switch(void 0!==n&&c.push(s.get(n)),t){case"add":p(e)?$(n)&&c.push(s.get("length")):(c.push(s.get(bo)),f(e)&&c.push(s.get(wo)));break;case"delete":p(e)||(c.push(s.get(bo)),f(e)&&c.push(s.get(wo)));break;case"set":f(e)&&c.push(s.get(bo))}fo();for(const s of c)s&&yo(s,4,{target:e,type:t,key:n,newValue:o,oldValue:r,oldTarget:i});ho()}const ko=e("proto,__v_isRef,isVue"),Oo=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>"arguments"!==e&&"caller"!==e).map(e=>Symbol[e]).filter(m)),So=function(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...e){const n=hr(this);for(let e=0,t=this.length;e<t;e++)xo(n,"get",e+"");const o=nt;return-1===o||!1===o?nt:o}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...e){lo(),fo();const n=hr(this)[t].apply(this,e);return ho(),po(),n}}),e}();function Co(e){const t=hr(this);return xo(t,"has",e),t.hasOwnProperty(e)}class Po{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?sr:ir:r?rr:or).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;const i=p(e);if(!o){if(i&&l(So,t))return Reflect.get(So,t,n);if("hasOwnProperty"===t)return Co}const s=Reflect.get(e,t,n);return(m(t)?Oo.has(t):ko(t))||(o||xo(e,"get",t),r)?s:wr(s)?i&&$(t)?s:s.value:y(s)?o?ur(s):cr(s):s}}class jo extends Po{constructor(e=!1){super(!1,e)}set(e,t,n,o){let r=e[t];if(!this._isShallow){const t=fr(r);if(!dr(n)&&!fr(n)&&(r=hr(r),n=hr(n)),!p(e)&&wr(r)&&!wr(n))return!t&&(r.value=n,!0)}const i=p(e)&&$(t)?Number(t)<e.length:l(e,t),s=Reflect.set(e,t,n,o);return e===hr(o)&&(i?T(n,r)&&$o(e,"set",t,n,r):$o(e,"add",t,n)),s}deleteProperty(e,t){const n=l(e,t),o=e[t],r=Reflect.deleteProperty(e,t);return r&&n&&$o(e,"delete",t,void 0,o),r}has(e,t){const n=Reflect.has(e,t);return(!m(t)||!Oo.has(t))&&xo(e,"has",t),n}ownKeys(e){return xo(e,"iterate",p(e)?"length":bo),Reflect.ownKeys(e)}}class Eo extends Po{constructor(e=!1){super(!0,e)}set(e,t){return Qn(Set operation on key "${String(t)}" failed: target is readonly.,e),!0}deleteProperty(e,t){return Qn(Delete operation on key "${String(t)}" failed: target is readonly.,e),!0}}const Ao=new jo,Io=new Eo,To=new jo(!0),Ro=new Eo(!0),Lo=e=>e,Mo=e=>Reflect.getPrototypeOf(e);function Vo(e,t,n=!1,o=!1){const r=hr(e=e.v_raw),i=hr(t);n||(T(t,i)&&xo(r,"get",t),xo(r,"get",i));const{has:s}=Mo(r),c=o?Lo:n?yr:mr;return s.call(r,t)?c(e.get(t)):s.call(r,i)?c(e.get(i)):void(e!==r&&e.get(t))}function Do(e,t=!1){const n=this.v_raw,o=hr(n),r=hr(e);return t||(T(e,r)&&xo(o,"has",e),xo(o,"has",r)),e===r?n.has(e):n.has(e)||n.has(r)}function No(e,t=!1){return e=e.__v_raw,!t&&xo(hr(e),"iterate",bo),Reflect.get(e,"size",e)}function Ho(e){e=hr(e);const t=hr(this);return Mo(t).has.call(t,e)||(t.add(e),$o(t,"add",e,e)),this}function Uo(e,t){t=hr(t);const n=hr(this),{has:o,get:r}=Mo(n);let i=o.call(n,e);i?nr(n,o,e):(e=hr(e),i=o.call(n,e));const s=r.call(n,e);return n.set(e,t),i?T(t,s)&&$o(n,"set",e,t,s):$o(n,"add",e,t),this}function Bo(e){const t=hr(this),{has:n,get:o}=Mo(t);let r=n.call(t,e);r?nr(t,n,e):(e=hr(e),r=n.call(t,e));const i=o?o.call(t,e):void 0,s=t.delete(e);return r&&$o(t,"delete",e,void 0,i),s}function Wo(){const e=hr(this),t=0!==e.size,n=f(e)?new Map(e):new Set(e),o=e.clear();return t&&$o(e,"clear",void 0,void 0,n),o}function zo(e,t){return function(n,o){const r=this,i=r.v_raw,s=hr(i),c=t?Lo:e?yr:mr;return!e&&xo(s,"iterate",bo),i.forEach((e,t)=>n.call(o,c(e),c(t),r))}}function Fo(e,t,n){return function(...o){const r=this.v_raw,i=hr(r),s=f(i),c="entries"===e||e===Symbol.iterator&&s,u="keys"===e&&s,a=re,l=n?Lo:t?yr:mr;return!t&&xo(i,"iterate",u?wo:bo),{next(){const{value:e,done:t}=a.next();return t?{value:e,done:t}:{value:c?[l(e[0]),l(e[1])]:l(e),done:t}},[Symbol.iterator](){return this}}}}function Ko(e){return function(...t){{const n=t[0]?on key "${t[0]}":"";Qn(${A(e)} operation ${n}failed: target is readonly.,hr(this))}return"delete"!==e&&("clear"===e?void 0:this)}}const[qo,Jo,Go,Yo]=function(){const e={get(e){return Vo(this,e)},get size(){return No(this)},has:Do,add:Ho,set:Uo,delete:Bo,clear:Wo,forEach:zo(!1,!1)},t={get(e){return Vo(this,e,!1,!0)},get size(){return No(this)},has:Do,add:Ho,set:Uo,delete:Bo,clear:Wo,forEach:zo(!1,!0)},n={get(e){return Vo(this,e,!0)},get size(){return No(this,!0)},has(e){return Do.call(this,e,!0)},add:Ko("add"),set:Ko("set"),delete:Ko("delete"),clear:Ko("clear"),forEach:zo(!0,!1)},o={get(e){return Vo(this,e,!0,!0)},get size(){return No(this,!0)},has(e){return Do.call(this,e,!0)},add:Ko("add"),set:Ko("set"),delete:Ko("delete"),clear:Ko("clear"),forEach:zo(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(r=>{e[r]=Fo(r,!1,!1),n[r]=Fo(r,!0,!1),t[r]=Fo(r,!1,!0),o[r]=Fo(r,!0,!0)}),[e,n,t,o]}();function Zo(e,t){const n=t?e?Yo:Go:e?Jo:qo;return(t,o,r)=>"__v_isReactive"===o?!e:"v_isReadonly"===o?e:"v_raw"===o?t:Reflect.get(l(n,o)&&o in t?n:t,o,r)}const Qo={get:Zo(!1,!1)},Xo={get:Zo(!1,!0)},er={get:Zo(!0,!1)},tr={get:Zo(!0,!0)};function nr(e,t,n){const o=hr(n);if(o!==n&&t.call(e,o)){const t=w(e);Qn(Reactive ${t} contains both the raw and reactive versions of the same object${"Map"===t?" as keys":""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.)}}const or=new WeakMap,rr=new WeakMap,ir=new WeakMap,sr=new WeakMap;function cr(e){return fr(e)?e:lr(e,!1,Ao,Qo,or)}function ur(e){return lr(e,!0,Io,er,ir)}function ar(e){return lr(e,!0,Ro,tr,sr)}function lr(e,t,n,o,r){if(!y(e))return Qn("value cannot be made reactive: "+String(e)),e;if(e.__v_raw&&(!t||!e.v_isReactive))return e;const i=r.get(e);if(i)return i;const s=function(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}}(w(e))}(e);if(0===s)return e;const c=new Proxy(e,2===s?o:n);return r.set(e,c),c}function pr(e){return fr(e)?pr(e.__v_raw):!(!e||!e.v_isReactive)}function fr(e){return!(!e||!e.v_isReadonly)}function dr(e){return!(!e||!e.__v_isShallow)}function hr(e){const t=e&&e.v_raw;return t?hr(t):e}function gr(e){return Object.isExtensible(e)&&((e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})})(e,"v_skip",!0),e}const mr=e=>y(e)?cr(e):e,yr=e=>y(e)?ur(e):e;class vr{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 no(()=>e(this._value),()=>br(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=hr(this);return(!e._cacheable||e.effect.dirty)&&T(e._value,e._value=e.effect.run())&&br(e,4),_r(e),e.effect._dirtyLevel>=2&&(this._warnRecursive&&Qn("Computed is still dirty after getter evaluation, likely because a computed is mutating its own dependency in its getter. State mutations in computed getters should be avoided. Check the docs for more details: https://vuejs.org/guide/essentials/computed.html#getters-should-be-side-effect-free","\n\ngetter: ",this.getter),br(e,2)),e._value}set value(e){this._setter(e)}get _dirty(){return this.effect.dirty}set _dirty(e){this.effect.dirty=e}}function _r(e){var t;co&&eo&&(e=hr(e),go(eo,null!=(t=e.dep)?t:e.dep=vo(()=>e.dep=void 0,e instanceof vr?e:void 0),{target:e,type:"get",key:"value"}))}function br(e,t=4,n){const o=(e=hr(e)).dep;o&&yo(o,t,{target:e,type:"set",key:"value",newValue:n})}function wr(e){return!(!e||!0!==e.v_isRef)}function xr(e){return function(e,t){return wr(e)?e:new $r(e,t)}(e,!1)}class $r{constructor(e,t){this.__v_isShallow=t,this.dep=void 0,this.v_isRef=!0,this._rawValue=t?e:hr(e),this._value=t?e:mr(e)}get value(){return _r(this),this._value}set value(e){const t=this.v_isShallow||dr(e)||fr(e);e=t?e:hr(e),T(e,this._rawValue)&&(this._rawValue=e,this._value=t?e:mr(e),br(this,4,e))}}function kr(e){return wr(e)?e.value:e}const Or={get:(e,t,n)=>kr(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const r=e[t];return wr(r)&&!wr(n)?(r.value=n,!0):Reflect.set(e,t,n,o)}};function Sr(e){return pr(e)?e:new Proxy(e,Or)}const Cr=[];function Pr(e){Cr.push(e)}function jr(){Cr.pop()}function Er(e,...t){lo();const n=Cr.length?Cr[Cr.length-1].component:null,o=n&&n.appContext.config.warnHandler,r=function(){let e=Cr[Cr.length-1];if(!e)return[];const t=[];for(;e;){const n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const o=e.component&&e.component.parent;e=o&&o.vnode}return t}();if(o)Tr(o,n,11,[e+t.map(e=>{var t,n;return null!=(n=null==(t=e.toString)?void 0:t.call(e))?n:JSON.stringify(e)}).join(""),n&&n.proxy,r.map(({vnode:e})=>at <${Ys(n,e.type)}>).join("\n"),r]);else{const n=["[Vue warn]: "+e,...t];r.length&&n.push("\n",...function(e){const t=[];return e.forEach((e,n)=>{t.push(...0===n?[]:["\n"],...function({vnode:e,recurseCount:t}){const n=t>0?... (${t} recursive calls):"",o=!!e.component&&null==e.component.parent,r=" at <"+Ys(e.component,e.type,o),i=">"+n;return e.props?[r,...Ar(e.props),i]:[r+i]}(e))}),t}(r)),console.warn(...n)}po()}function Ar(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach(n=>{t.push(...function e(t,n,o){return g(n)?(n=JSON.stringify(n),o?n:[${t}=${n}]):"number"==typeof n||"boolean"==typeof n||null==n?o?n:[${t}=${n}]:wr(n)?(n=e(t,hr(n.value),!0),o?n:[t+"=Ref<",n,">"]):h(n)?[${t}=fn${n.name?<${n.name}>:""}]:(n=hr(n),o?n:[t+"=",n])}(n,e[n]))}),n.length>3&&t.push(" ..."),t}const Ir={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush. This is likely a Vue internals bug. Please open an issue at https://github.com/vuejs/core ."};function Tr(e,t,n,o){try{return o?e(...o):e()}catch(e){Lr(e,t,n)}}function Rr(e,t,n,o){if(h(e)){const r=Tr(e,t,n,o);return r&&v(r)&&r.catch(e=>{Lr(e,t,n)}),r}const r=[];for(let i=0;i<e.length;i++)r.push(Rr(e[i],t,n,o));return r}function Lr(e,t,n,o=!0){const r=t?t.vnode:null;if(t){let o=t.parent;const r=t.proxy,i=Ir[n]||n;for(;o;){const t=o.ec;if(t)for(let n=0;n<t.length;n++)if(!1===tn)return;o=o.parent}const s=t.appContext.config.errorHandler;if(s)return void Tr(s,null,10,[e,r,i])}!function(e,t,n,o=!0){{const o=Ir[t]||t;n&&Pr(n),Er("Unhandled error"+(o?" during execution of "+o:"")),n&&jr(),console.error(e)}}(e,n,r,o)}let Mr=!1,Vr=!1;const Dr=[];let Nr=0;const Hr=[];let Ur=null,Br=0;const Wr=Promise.resolve();let zr=null;function Fr(e){const t=zr||Wr;return e?t.then(this?e.bind(this):e):t}function Kr(e){(!Dr.length||!Dr.includes(e,Mr&&e.allowRecurse?Nr+1:Nr))&&(null==e.id?Dr.push(e):Dr.splice(function(e){let t=Nr+1,n=Dr.length;for(;t<n;){const o=t+n>>>1,r=Dr[o],i=Yr(r);i<e||i===e&&r.pre?t=o+1:n=o}return t}(e.id),0,e),qr())}function qr(){!Mr&&!Vr&&(Vr=!0,zr=Wr.then(Qr))}function Jr(e){p(e)?Hr.push(...e):(!Ur||!Ur.includes(e,e.allowRecurse?Br+1:Br))&&Hr.push(e),qr()}function Gr(e,t,n=(Mr?Nr+1:0)){for(t=t||new Map;n<Dr.length;n++){const o=Dr[n];if(o&&o.pre){if(e&&o.id!==e.uid||Xr(t,o))continue;Dr.splice(n,1),n--,o()}}}const Yr=e=>null==e.id?1/0:e.id,Zr=(e,t)=>{const n=Yr(e)-Yr(t);if(0===n){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Qr(e){Vr=!1,Mr=!0,e=e||new Map,Dr.sort(Zr);const t=t=>Xr(e,t);try{for(Nr=0;Nr<Dr.length;Nr++){const e=Dr[Nr];if(e&&!1!==e.active){if(t(e))continue;Tr(e,null,14)}}}finally{Nr=0,Dr.length=0,function(e){if(Hr.length){const t=[...new Set(Hr)].sort((e,t)=>Yr(e)-Yr(t));if(Hr.length=0,Ur)return void Ur.push(...t);for(Ur=t,e=e||new Map,Br=0;Br<Ur.length;Br++)Xr(e,Ur[Br])||Ur[Br]();Ur=null,Br=0}}(e),Mr=!1,zr=null,(Dr.length||Hr.length)&&Qr(e)}}function Xr(e,t){if(e.has(t)){const n=e.get(t);if(n>100){const e=t.ownerInstance,n=e&&Gs(e.type);return Lr(Maximum recursive updates exceeded${n? in component <${n}>:""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.,null,10),!0}e.set(t,n+1)}else e.set(t,1)}let ei,ti=[],ni=!1;function oi(e,...t){ei?ei.emit(e,...t):ni||ti.push({event:e,args:t})}const ri=ci("component:added"),ii=ci("component:updated"),si=ci("component:removed");/*! #NO_SIDEEFFECTS */function ci(e){return t=>{oi(e,t.appContext.app,t.uid,0===t.uid?void 0:t.parent?t.parent.uid:0,t)}}const ui=li("perf:start"),ai=li("perf:end");function li(e){return(t,n,o)=>{oi(e,t.appContext.app,t.uid,t,n,o)}}function pi(e,n,...o){if(e.isUnmounted)return;const r=e.vnode.props||t;{const{emitsOptions:t,propsOptions:[r]}=e;if(t)if(n in t){const e=t[n];h(e)&&(e(...o)||Er(Invalid event arguments: event validation failed for event "${n}".))}else(!r||!(I(n)in r))&&Er(Component emitted event "${n}" but it is neither declared in the emits option nor as an "${I(n)}" prop.)}let i=o;const s=n.startsWith("update:"),c=s&&n.slice(7);if(c&&c in r){const e=("modelValue"===c?"model":c)+"Modifiers",{number:n,trim:s}=r[e]||t;s&&(i=o.map(e=>g(e)?e.trim():e)),n&&(i=o.map(L))}!function(e,t,n){oi("component:emit",e.appContext.app,e,t,n)}(e,n,i);{const t=n.toLowerCase();t!==n&&r[I(t)]&&Er(Event "${t}" is emitted in component ${Ys(e,e.type)} but the handler is registered for "${n}". Note that HTML attributes are case-insensitive and you cannot use v-on to listen to camelCase events when using in-DOM templates. You should probably use "${E(n)}" instead of "${n}".)}let u,a=r[u=I(n)]||r[u=I(P(n))];!a&&s&&(a=r[u=I(E(n))]),a&&Rr(a,e,6,i);const l=r[u+"Once"];if(l){if(e.emitted){if(e.emitted[u])return}else e.emitted={};e.emitted[u]=!0,Rr(l,e,6,i)}}function fi(e,t,n=!1){const o=t.emitsCache,r=o.get(e);if(void 0!==r)return r;const i=e.emits;let s={},u=!1;if(!h(e)){const o=e=>{const n=fi(e,t,!0);n&&(u=!0,c(s,n))};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}return i||u?(p(i)?i.forEach(e=>s[e]=null):c(s,i),y(e)&&o.set(e,s),s):(y(e)&&o.set(e,null),null)}function di(e,t){return!(!e||!i(t))&&(t=t.slice(2).replace(/Once$/,""),l(e,t[0].toLowerCase()+t.slice(1))||l(e,E(t))||l(e,t))}let hi=null;function gi(e){const t=hi;return hi=e,e&&e.type.scopeId,t}const mi={};function yi(e,t,n){return h(t)||Er("watch(fn, options?) signature has been moved to a separate API. Use watchEffect(fn, options?) instead. watch now only supports `watch(source, cb, options?) signature."),vi(e,t,n)}function vi(e,n,{immediate:r,deep:i,flush:s,once:c,onTrack:a,onTrigger:l}=t){if(n&&c){const e=n;n=(...t)=>{e(...t),S()}}void 0!==i&&"number"==typeof i&&Er('watch() "deep" option with number value will be used as watch depth in future versions. Please use a boolean instead to avoid potential breakage.'),n||(void 0!==r&&Er('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),void 0!==i&&Er('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'),void 0!==c&&Er('watch() "once" option is only respected when using the watch(source, callback, options?) signature.'));const f=e=>{Er("Invalid watch source: ",e,"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.")},d=Ls,g=e=>!0===i?e:wi(e,!1===i?1:void 0);let m,y=!1,v=!1;if(wr(e)?(m=()=>e.value,y=dr(e)):pr(e)?(m=()=>g(e),y=!0):p(e)?(v=!0,y=e.some(e=>pr(e)||dr(e)),m=()=>e.map(e=>wr(e)?e.value:pr(e)?g(e):h(e)?Tr(e,d,2):void f(e))):h(e)?m=n?()=>Tr(e,d,2):()=>(&&(),Rr(e,d,3,[b])):(m=o,f(e)),n&&i){const e=m;m=()=>wi(e())}let ,b=e=>{=k.onStop=()=>{Tr(e,d,4),=k.onStop=void 0}},w=v?new Array(e.length).fill(mi):mi;const x=()=>{if(k.active&&k.dirty)if(n){const e=k.run();(i||y||(v?e.some((e,t)=>T(e,w[t])):T(e,w)))&&(&&(),Rr(n,d,3,[e,w===mi?void 0:v&&w[0]===mi?[]:w,b]),w=e)}else k.run()};let $;x.allowRecurse=!!n,"sync"===s?$=x:"post"===s?$=()=>Cs(x,d&&d.suspense):(x.pre=!0,d&&(x.id=d.uid),$=()=>Kr(x));const k=new no(m,o,$),O=Xn,S=()=>{k.stop(),O&&u(O.effects,k)};return k.onTrack=a,k.onTrigger=l,n?r?x():w=k.run():"post"===s?Cs(k.run.bind(k),d&&d.suspense):k.run(),S}function _i(e,t,n){const o=this.proxy,r=g(e)?e.includes(".")?bi(o,e):()=>o[e]:e.bind(o,o);let i;h(t)?i=t:(i=t.handler,n=t);const s=Ds(this),c=vi(r,i.bind(o),n);return s(),c}function bi(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 wi(e,t,n=0,o){if(!y(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),wr(e))wi(e.value,t,n,o);else if(p(e))for(let r=0;r<e.length;r++)wi(e[r],t,n,o);else if(d(e)||f(e))e.forEach(e=>{wi(e,t,n,o)});else if(x(e))for(const r in e)wi(e[r],t,n,o);return e}function xi(e){O(e)&&Er("Do not use built-in directive ids as custom directive id: "+e)}function $i(){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 ki=0;let Oi=null;function Si(e,t,n=!1){const o=Ls||hi;if(o||Oi){const r=o?null==o.parent?o.vnode.appContext&&o.vnode.appContext.provides:o.parent.provides:Oi._context.provides;if(r&&e in r)return r[e];if(arguments.length>1)return n&&h(t)?t.call(o&&o.proxy):t;Er(injection "${String(e)}" not found.)}else Er("inject() can only be used inside setup() or functional components.")}const Ci=e=>e.type.isKeepAlive;function Pi(e,t){Ei(e,"a",t)}function ji(e,t){Ei(e,"da",t)}function Ei(e,t,n=Ls){const o=e.wdc||(e.wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()});if(Ii(t,o,n),n){let e=n.parent;for(;e&&e.parent;)Ci(e.parent.vnode)&&Ai(o,t,n,e),e=e.parent}}function Ai(e,t,n,o){const r=Ii(t,e,o,!0);Ni(()=>{u(o[t],r)},n)}function Ii(e,t,n=Ls,o=!1){if(n){(function(e){return ve.indexOf(e)>-1})(e)&&(n=n.root);const r=n[e]||(n[e]=[]),i=t.weh||(t.weh=(...o)=>{if(n.isUnmounted)return;lo();const r=Ds(n),i=Rr(t,n,e,o);return r(),po(),i});return o?r.unshift(i):r.push(i),i}Er(I((Ir[e]||e.replace(/^on/,"")).replace(/ hook$/,""))+" is called when there is no active component instance to be associated with. Lifecycle injection APIs can only be used during execution of setup().")}const Ti=e=>(t,n=Ls)=>(!Ws||"sp"===e)&&Ii(e,(...e)=>t(...e),n),Ri=Ti("bm"),Li=Ti("m"),Mi=Ti("bu"),Vi=Ti("u"),Di=Ti("bum"),Ni=Ti("um"),Hi=Ti("sp"),Ui=Ti("rtg"),Bi=Ti("rtc");function Wi(e,t=Ls){Ii("ec",e,t)}const zi=e=>e?Bs(e)?qs(e)||e.proxy:zi(e.parent):null,Fi=c(Object.create(null),{$:e=>e,$el:e=>e.$el||(e.$el={}),$data:e=>e.data,$props:e=>ar(e.props),$attrs:e=>ar(e.attrs),$slots:e=>ar(e.slots),$refs:e=>ar(e.refs),$parent:e=>zi(e.parent),$root:e=>zi(e.root),$emit:e=>e.emit,$options:e=>es(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,Kr(e.update)}),$watch:e=>i.bind(e)}),Ki=e=>""===e||"$"===e,qi=(e,n)=>e!==t&&!e.isScriptSetup&&l(e,n),Ji={get({_:e},n){const{ctx:o,setupState:r,data:i,props:s,accessCache:c,type:u,appContext:a}=e;if("isVue"===n)return!0;let p;if("$"!==n[0]){const u=c[n];if(void 0!==u)switch(u){case 1:return r[n];case 2:return i[n];case 4:return o[n];case 3:return s[n]}else{if(qi(r,n))return c[n]=1,r[n];if(i!==t&&l(i,n))return c[n]=2,i[n];if((p=e.propsOptions[0])&&l(p,n))return c[n]=3,s[n];if(o!==t&&l(o,n))return c[n]=4,o[n];Yi&&(c[n]=0)}}const f=Fi[n];let d,h;return f?(("$attrs"===n||"$slots"===n)&&xo(e,"get",n),f(e)):(d=u.cssModules)&&(d=d[n])?d:o!==t&&l(o,n)?(c[n]=4,o[n]):(h=a.config.globalProperties,l(h,n)?h[n]:void(hi&&(!g(n)||0!==n.indexOf("v"))&&(i!==t&&Ki(n[0])&&l(i,n)?Er(Property ${JSON.stringify(n)} must be accessed via $data because it starts with a reserved character ("$" or "_") and is not proxied on the render context.):e===hi&&Er(Property ${JSON.stringify(n)} was accessed during render but is not defined on instance.))))},set({_:e},n,o){const{data:r,setupState:i,ctx:s}=e;return qi(i,n)?(i[n]=o,!0):i.isScriptSetup&&l(i,n)?(Er(Cannot mutate <script setup> binding "${n}" from Options API.),!1):r!==t&&l(r,n)?(r[n]=o,!0):l(e.props,n)?(Er(Attempting to mutate prop "${n}". Props are readonly.),!1):"$"===n[0]&&n.slice(1)in e?(Er(Attempting to mutate public property "${n}". Properties starting with $ are reserved and readonly.),!1):(n in e.appContext.config.globalProperties?Object.defineProperty(s,n,{enumerable:!0,configurable:!0,value:o}):s[n]=o,!0)},has({:{data:e,setupState:n,accessCache:o,ctx:r,appContext:i,propsOptions:s}},c){let u;return!!o[c]||e!==t&&l(e,c)||qi(n,c)||(u=s[0])&&l(u,c)||l(r,c)||l(Fi,c)||l(i.config.globalProperties,c)},defineProperty(e,t,n){return null!=n.get?e..accessCache[t]=0:l(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Gi(e){return p(e)?e.reduce((e,t)=>(e[t]=null,e),{}):e}Ji.ownKeys=e=>(Er("Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead."),Reflect.ownKeys(e));let Yi=!0;function Zi(e){const t=es(e),n=e.proxy,r=e.ctx;Yi=!1,t.beforeCreate&&Qi(t.beforeCreate,e,"bc");const{data:i,computed:s,methods:c,watch:u,provide:a,inject:l,created:f,beforeMount:d,mounted:g,beforeUpdate:m,updated:,activated:b,deactivated:w,beforeDestroy:x,beforeUnmount:$,destroyed:k,unmounted:O,render:S,renderTracked:C,renderTriggered:P,errorCaptured:j,serverPrefetch:E,expose:A,inheritAttrs:I,components:T,directives:R,filters:L}=t,M=function(){const e=Object.create(null);return(t,n)=>{e[n]?Er(${t} property "${n}" is already defined in ${e[n]}.):e[n]=t}}();{const[t]=e.propsOptions;if(t)for(const e in t)M("Props",e)}if(l&&function(e,t,n=o){p(e)&&(e=rs(e));for(const o in e){const r=e[o];let i;i=y(r)?"default"in r?Si(r.from||o,r.default,!0):Si(r.from||o):Si(r),wr(i)?Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>i.value,set:e=>i.value=e}):t[o]=i,n("Inject",o)}}(l,r,M),c)for(const e in c){const t=c[e];h(t)?(Object.defineProperty(r,e,{value:t.bind(n),configurable:!0,enumerable:!0,writable:!0}),M("Methods",e)):Er(Method "${e}" has type "${typeof t}" in the component definition. Did you reference the function correctly?)}if(i){h(i)||Er("The data option must be a function. Plain object usage is no longer supported.");const t=i.call(n,n);if(v(t)&&Er("data() returned a Promise - note data() cannot be async; If you intend to perform data fetching before component renders, use async setup() + <Suspense>."),y(t)){e.data=cr(t);for(const e in t)M("Data",e),Ki(e[0])||Object.defineProperty(r,e,{configurable:!0,enumerable:!0,get:()=>t[e],set:o})}else Er("data() should return an object.")}if(Yi=!0,s)for(const e in s){const t=s[e],i=h(t)?t.bind(n,n):h(t.get)?t.get.bind(n,n):o;i===o&&Er(Computed property "${e}" has no getter.);const c=!h(t)&&h(t.set)?t.set.bind(n):()=>{Er(Write operation failed: computed property "${e}" is readonly.)},u=Zs({get:i,set:c});Object.defineProperty(r,e,{enumerable:!0,configurable:!0,get:()=>u.value,set:e=>u.value=e}),M("Computed",e)}if(u)for(const e in u)Xi(u[e],r,n,e);if(a){const e=h(a)?a.call(n):a;Reflect.ownKeys(e).forEach(t=>{!function(e,t){if(Ls){let n=Ls.provides;const o=Ls.parent&&Ls.parent.provides;o===n&&(n=Ls.provides=Object.create(o)),n[e]=t,"app"===Ls.type.mpType&&Ls.appContext.app.provide(e,t)}else Er("provide() can only be used inside setup().")}(t,e[t])})}function V(e,t){p(t)?t.forEach(t=>e(t.bind(n))):t&&e(t.bind(n))}if(f&&Qi(f,e,"c"),V(Ri,d),V(Li,g),V(Mi,m),V(Vi,),V(Pi,b),V(ji,w),V(Wi,j),V(Bi,C),V(Ui,P),V(Di,$),V(Ni,O),V(Hi,E),p(A))if(A.length){const t=e.exposed||(e.exposed={});A.forEach(e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t})})}else e.exposed||(e.exposed={});S&&e.render===o&&(e.render=S),null!=I&&(e.inheritAttrs=I),T&&(e.components=T),R&&(e.directives=R),e.ctx.$onApplyOptions&&e.ctx.$onApplyOptions(t,e,n)}function Qi(e,t,n){Rr(p(e)?e.map(e=>e.bind(t.proxy)):e.bind(t.proxy),t,n)}function Xi(e,t,n,o){const r=o.includes(".")?bi(n,o):()=>n[o];if(g(e)){const n=t[e];h(n)?yi(r,n):Er(Invalid watch handler specified by key "${e}",n)}else if(h(e))yi(r,e.bind(n));else if(y(e))if(p(e))e.forEach(e=>Xi(e,t,n,o));else{const o=h(e.handler)?e.handler.bind(n):t[e.handler];h(o)?yi(r,o,e):Er(Invalid watch handler specified by key "${e.handler}",o)}else Er(Invalid watch option: "${o}",e)}function es(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:s}}=e.appContext,c=i.get(t);let u;return c?u=c:r.length||n||o?(u={},r.length&&r.forEach(e=>ts(u,e,s,!0)),ts(u,t,s)):u=t,y(t)&&i.set(t,u),u}function ts(e,t,n,o=!1){const{mixins:r,extends:i}=t;i&&ts(e,i,n,!0),r&&r.forEach(t=>ts(e,t,n,!0));for(const r in t)if(o&&"expose"===r)Er('"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.');else{const o=ns[r]||n&&n[r];e[r]=o?o(e[r],t[r]):t[r]}return e}const ns={data:os,props:cs,emits:cs,methods:ss,computed:ss,beforeCreate:is,created:is,beforeMount:is,mounted:is,beforeUpdate:is,updated:is,beforeDestroy:is,beforeUnmount:is,destroyed:is,unmounted:is,activated:is,deactivated:is,errorCaptured:is,serverPrefetch:is,components:ss,directives:ss,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]=is(e[o],t[o]);return n},provide:os,inject:function(e,t){return ss(rs(e),rs(t))}};function os(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 rs(e){if(p(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function is(e,t){return e?[...new Set([].concat(e,t))]:t}function ss(e,t){return e?c(Object.create(null),e,t):t}function cs(e,t){return e?p(e)&&p(t)?[...new Set([...e,...t])]:c(Object.create(null),Gi(e),Gi(t??{})):t}function us(e,t,n,o=!1){const r={},i={};e.propsDefaults=Object.create(null),as(e,t,r,i);for(const t in e.propsOptions[0])t in r||(r[t]=void 0);ms(t||{},r,e),n?e.props=o?r:function(e){return lr(e,!1,To,Xo,rr)}(r):e.type.props?e.props=r:e.props=i,e.attrs=i}function as(e,n,o,r){const[i,s]=e.propsOptions;let c,u=!1;if(n)for(let t in n){if(k(t))continue;const a=n[t];let p;i&&l(i,p=P(t))?s&&s.includes(p)?(c||(c={}))[p]=a:o[p]=a:di(e.emitsOptions,t)||(!(t in r)||a!==r[t])&&(r[t]=a,u=!0)}if(s){const n=hr(o),r=c||t;for(let t=0;t<s.length;t++){const c=s[t];o[c]=ls(i,n,c,r[c],e,!l(r,c))}}return u}function ls(e,t,n,o,r,i){const s=e[n];if(null!=s){const e=l(s,"default");if(e&&void 0===o){const e=s.default;if(s.type!==Function&&!s.skipFactory&&h(e)){const{propsDefaults:i}=r;if(n in i)o=i[n];else{const s=Ds(r);o=i[n]=e.call(null,t),s()}}else o=e}s[0]&&(i&&!e?o=!1:s[1]&&(""===o||o===E(n))&&(o=!0))}return o}function ps(e,o,r=!1){const i=o.propsCache,s=i.get(e);if(s)return s;const u=e.props,a={},f=[];let d=!1;if(!h(e)){const t=e=>{d=!0;const[t,n]=ps(e,o,!0);c(a,t),n&&f.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 y(e)&&i.set(e,n),n;if(p(u))for(let e=0;e<u.length;e++){g(u[e])||Er("props must be strings when using array syntax.",u[e]);const n=P(u[e]);fs(n)&&(a[n]=t)}else if(u){y(u)||Er("invalid props options",u);for(const e in u){const t=P(e);if(fs(t)){const n=u[e],o=a[t]=p(n)||h(n)?{type:n}:c({},n);if(o){const e=gs(Boolean,o.type),n=gs(String,o.type);o[0]=e>-1,o[1]=n<0||e<n,(e>-1||l(o,"default"))&&f.push(t)}}}}const m=[a,f];return y(e)&&i.set(e,m),m}function fs(e){return"$"!==e[0]&&!k(e)||(Er(Invalid prop name: "${e}" is a reserved property.),!1)}function ds(e){return null===e?"null":"function"==typeof e?e.name||"":"object"==typeof e&&e.constructor&&e.constructor.name||""}function hs(e,t){return ds(e)===ds(t)}function gs(e,t){return p(t)?t.findIndex(t=>hs(t,e)):h(t)&&hs(t,e)?0:-1}function ms(e,t,n){const o=hr(t),r=n.propsOptions[0];for(const t in r){let n=r[t];null!=n&&ys(t,o[t],n,ar(o),!l(e,t)&&!l(e,E(t)))}}function ys(e,t,n,o,r){const{type:i,required:s,validator:c,skipCheck:u}=n;if(s&&r)Er('Missing required prop: "'+e+'"');else if(null!=t||s){if(null!=i&&!0!==i&&!u){let n=!1;const o=p(i)?i:[i],r=[];for(let e=0;e<o.length&&!n;e++){const{valid:i,expectedType:s}=_s(t,o[e]);r.push(s||""),n=i}if(!n)return void Er(function(e,t,n){if(0===n.length)returnProp type [] for prop "${e}" won't match anything. Did you mean to use type Array instead?;let o=Invalid prop: type check failed for prop "${e}". Expected ${n.map(A).join(" | ")};const r=n[0],i=w(t),s=bs(t,r),c=bs(t,i);return 1===n.length&&ws(r)&&!function(...e){return e.some(e=>"boolean"===e.toLowerCase())}(r,i)&&(o+=" with value "+s),o+=, got ${i},ws(i)&&(o+=with value ${c}.),o}(e,t,r))}c&&!c(t,o)&&Er('Invalid prop: custom validator check failed for prop "'+e+'".')}}const vs=e("String,Number,Boolean,Function,Symbol,BigInt");function s(e,t){let n;const o=ds(t);if(vs(o)){const r=typeof e;n=r===o.toLowerCase(),!n&&"object"===r&&(n=e instanceof t)}else n="Object"===o?y(e):"Array"===o?p(e):"null"===o?null===e:e instanceof t;return{valid:n,expectedType:o}}function bs(e,t){return"String"===t?"${e}":"Number"===t?""+Number(e):""+e}function ws(e){return["string","number","boolean"].some(t=>e.toLowerCase()===t)}let xs,$s;function ks(e,t){e.appContext.config.performance&&Ss()&&$s.mark(vue-${t}-${e.uid}),ui(e,t,Ss()?$s.now():Date.now())}function Os(e,t){if(e.appContext.config.performance&&Ss()){const n=vue-${t}-${e.uid},o=n+":end";$s.mark(o),$s.measure(<${Ys(e,e.type)}> ${t},n,o),$s.clearMarks(n),$s.clearMarks(o)}ai(e,t,Ss()?$s.now():Date.now())}function Ss(){return void 0!==xs||(typeof window<"u"&&window.performance?(xs=!0,$s=window.performance):xs=!1),xs}const Cs=Jr,Ps=Symbol.for("v-fgt"),js=Symbol.for("v-txt"),Es=Symbol.for("v-cmt"),As=Symbol.for("v-stc");const Is=$i();let Ts=0;function Rs(e,n,r){const i=e.type,s=(n?n.appContext:e.appContext)||Is,c={uid:Ts++,vnode:e,type:i,parent:n,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,scope:new to(!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:ps(i,s),emitsOptions:fi(i,s),emit:null,emitted:null,propsDefaults:t,inheritAttrs:i.inheritAttrs,ctx:t,data:t,props:t,attrs:t,slots:t,refs:t,setupState:t,setupContext:null,attrsProxy:null,slotsProxy:null,suspense:r,suspenseId:r?r.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};return c.ctx=function(e){const t={};return Object.defineProperty(t,"",{configurable:!0,enumerable:!1,get:()=>e}),Object.keys(Fi).forEach(n=>{Object.defineProperty(t,n,{configurable:!0,enumerable:!1,get:()=>Fin,set:o})}),t}(c),c.root=n?n.root:c,c.emit=pi.bind(null,c),e.ce&&e.ce(c),c}let Ls=null;let Ms,Vs;Ms=e=>{Ls=e},Vs=e=>{Ws=e};const Ds=e=>{const t=Ls;return Ms(e),e.scope.on(),()=>{e.scope.off(),Ms(t)}},Ns=()=>{Ls&&Ls.scope.off(),Ms(null)},Hs=e("slot,component");function Us(e,{isNativeTag:t}){(Hs(e)||t(e))&&Er("Do not use built-in or reserved HTML elements as component id: "+e)}function Bs(e){return 4&e.vnode.shapeFlag}let Ws=!1;function zs(e,t=!1){t&&Vs(t);const{props:n}=e.vnode,r=Bs(e);us(e,n,r,t);const i=r?function(e,t){const n=e.type;if(n.name&&Us(n.name,e.appContext.config),n.components){const t=Object.keys(n.components);for(let n=0;n<t.length;n++)Us(t[n],e.appContext.config)}if(n.directives){const e=Object.keys(n.directives);for(let t=0;t<e.length;t++)xi(e[t])}n.compilerOptions&&Fs()&&Er('"compilerOptions" is only supported when using a build of Vue that includes the runtime compiler. Since you are using a runtime-only build, the options should be passed via your build tool config instead.'),e.accessCache=Object.create(null),e.proxy=gr(new Proxy(e.ctx,Ji)),function(e){const{ctx:t,propsOptions:[n]}=e;n&&Object.keys(n).forEach(n=>{Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>e.props[n],set:o})})}(e);const{setup:r}=n;if(r){const n=e.setupContext=r.length>1?function(e){return Object.freeze({get attrs(){return function(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get:(t,n)=>(xo(e,"get","$attrs"),t[n]),set:()=>(Er("setupContext.attrs is readonly."),!1),deleteProperty:()=>(Er("setupContext.attrs is readonly."),!1)}))}(e)},get slots(){return function(e){return e.slotsProxy||(e.slotsProxy=new Proxy(e.slots,{get:(t,n)=>(xo(e,"get","$slots"),t[n])}))}(e)},get emit(){return(t,...n)=>e.emit(t,...n)},expose:t=>{if(e.exposed&&Er("expose() should be called only once per setup()."),null!=t){let e=typeof t;"object"===e&&(p(t)?e="array":wr(t)&&(e="ref")),"object"!==e&&Er(expose() should be passed a plain object, received ${e}.)}e.exposed=t||{}}})}(e):null,i=Ds(e);lo();const s=Tr(r,e,0,[ar(e.props),n]);po(),i(),v(s)?(s.then(Ns,Ns),Er("setup() returned a Promise, but the version of Vue you are using does not support it yet.")):function(e,t,n){h(t)?e.render=t:y(t)?(function(e){return!!e&&!0===e.v_isVNode}(t)&&Er("setup() should not return VNodes directly - return a render function instead."),e.devtoolsRawSetupState=t,e.setupState=Sr(t),function(e){const{ctx:t,setupState:n}=e;Object.keys(hr(n)).forEach(e=>{if(!n.isScriptSetup){if(Ki(e[0]))return void Er(setup() return property ${JSON.stringify(e)} should not start with "$" or "_" which are reserved prefixes for Vue internals.);Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:()=>n[e],set:o})}})}(e)):void 0!==t&&Er("setup() should return an object. Received: "+(null===t?"null":typeof t)),Ks(e,n)}(e,s,t)}else Ks(e,t)}(e,t):void 0;return t&&Vs(!1),i}const Fs=()=>!0;function Ks(e,t,n){const r=e.type;e.render||(e.render=r.render||o);{const t=Ds(e);lo();try{Zi(e)}finally{po(),t()}}!r.render&&e.render===o&&!t&&(r.template?Er('Component provided template option but runtime compilation is not supported in this build of Vue. Configure your bundler to alias "vue" to "vue/dist/vue.esm-bundler.js".'):Er("Component is missing template or render function."))}function qs(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Sr(gr(e.exposed)),{get:(t,n)=>n in t?t[n]:e.proxy[n],has:(e,t)=>t in e||t in Fi}))}const Js=/(?:^|[-_])(\w)/g;function Gs(e,t=!0){return h(e)?e.displayName||e.name:e.name||t&&e.name}function Ys(e,t,n=!1){let o=Gs(t);if(!o&&t.file){const e=t.file.match(/([^/\]+).\w+$/);e&&(o=e[1])}if(!o&&e&&e.parent){const n=e=>{for(const n in e)if(e[n]===t)return n};o=n(e.components||e.parent.type.components)||n(e.appContext.components)}return o?(e=>e.replace(Js,e=>e.toUpperCase()).replace(/[-_]/g,""))(o):n?"App":"Anonymous"}const Zs=(e,t)=>{const n=function(e,t,n=!1){let o,r;const i=h(e);i?(o=e,r=()=>{Qn("Write operation failed: computed value is readonly")}):(o=e.get,r=e.set);const s=new vr(o,r,i||!r,n);return t&&!n&&(s.effect.onTrack=t.onTrack,s.effect.onTrigger=t.onTrigger),s}(e,t,Ws);{const e=Ls||hi;e&&e.appContext.config.warnRecursiveComputed&&(n._warnRecursive=!0)}return n},Qs="3.4.21",Xs=Er;function ec(e){return kr(e)}const tc="[object Array]",nc="[object Object]";function oc(e,t){const n={};return function e(t,n){if((t=ec(t))===n)return;const o=b(t),r=b(n);if(o==nc&&r==nc)for(let o in n){const r=t[o];void 0===r?t[o]=null:e(r,n[o])}else o==tc&&r==tc&&t.length>=n.length&&n.forEach((n,o)=>{e(t[o],n)})}(e,t),function e(t,n,o,r){if((t=ec(t))===n)return;const i=b(t),s=b(n);if(i==nc)if(s!=nc||Object.keys(t).length<Object.keys(n).length)rc(r,o,t);else for(let i in t){const s=ec(t[i]),c=n[i],u=b(s),a=b(c);if(u!=tc&&u!=nc)s!=c&&rc(r,(""==o?"":o+".")+i,s);else if(u==tc)a!=tc||s.length<c.length?rc(r,(""==o?"":o+".")+i,s):s.forEach((t,n)=>{e(t,c[n],(""==o?"":o+".")+i+"["+n+"]",r)});else if(u==nc)if(a!=nc||Object.keys(s).length<Object.keys(c).length)rc(r,(""==o?"":o+".")+i,s);else for(let t in s)e(s[t],c[t],(""==o?"":o+".")+i+"."+t,r)}else i==tc?s!=tc||t.length<n.length?rc(r,o,t):t.forEach((t,i)=>{e(t,n[i],o+"["+i+"]",r)}):rc(r,o,t)}(e,t,"",n),n}function rc(e,t,n){e[t]=n}function ic(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 sc(e,t){const n=e.ctx;if(!n.next_tick_pending&&!function(e){return Dr.includes(e.update)}(e))return Fr(t&&t.bind(e.proxy));let o;return n.next_tick_callbacks||(n.next_tick_callbacks=[]),n.next_tick_callbacks.push(()=>{t?Tr(t.bind(e.proxy),e,14):o&&o(e.proxy)}),new Promise(e=>{o=e})}function cc(e){return function e(t,n){const o=typeof(t=ec(t));if("object"===o&&null!==t){let o=n.get(t);if(typeof o<"u")return o;if(p(t)){const r=t.length;o=new Array(r),n.set(t,o);for(let i=0;i<r;i++)o[i]=e(t[i],n)}else{o={},n.set(t,o);for(const r in t)l(t,r)&&(o[r]=e(t[r],n))}return o}if("symbol"!==o)return t}(e,typeof WeakMap<"u"?new WeakMap:new Map)}function uc(e,t,n){if(!t)return;t=cc(t);const o=e.ctx,r=o.mpType;if("page"===r||"component"===r){t.r0=1;const r=o.$scope,i=Object.keys(t),s=oc(t,n||function(e,t){const n=e.data,o=Object.create(null);return t.forEach(e=>{o[e]=n[e]}),o}(r,i));Object.keys(s).length?(o.next_tick_pending=!0,r.setData(s,()=>{o.next_tickpending=!1,ic(e)}),Gr()):ic(e)}}function ac(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 lc(e,t=!1){const{setupState:n,$templateRefs:o,ctx:{$scope:r,$mpPlatform:i}}=e;if("mp-alipay"===i||!o||!r)return;if(t)return o.forEach(e=>pc(e,null,n));const s="mp-baidu"===i||"mp-toutiao"===i,c=e=>{const t=(r.selectAllComponents(".r")||[]).concat(r.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?qs(e.$)||e:function(e){return y(e)&&gr(e),e}(n)}return null}(t,e.i);return!(!s||null!==o)||(pc(e,o,n),!1)})},u=()=>{const t=c(o);t.length&&e.proxy&&e.proxy.$scope&&e.proxy.$scope.setData({r1:1},()=>{c(t)})};r.$setRef?r.$setRef(u):sc(e,u)}function pc({r:e,f:t},n,o){if(h(e))e(n,{});else{const r=g(e),i=wr(e);if(r||i)if(t){if(!i)return;p(e.value)||(e.value=[]);const t=e.value;if(-1===t.indexOf(n)){if(t.push(n),!n)return;Di(()=>u(t,n),n.$)}}else r?l(o,e)&&(o[e]=n):wr(e)?e.value=n:fc(e);else fc(e)}}function fc(e){Xs("Invalid template ref type:",e,(${typeof e}))}const dc=Jr;function hc(e,t){const n=e.component=Rs(e,t.parentComponent,null);return n.ctx.$onApplyOptions=ac,n.ctx.$children=[],"app"===t.mpType&&(n.render=o),t.onBeforeSetup&&t.onBeforeSetup(n,t),Pr(e),ks(n,"mount"),ks(n,"init"),zs(n),Os(n,"init"),t.parentComponent&&n.proxy&&t.parentComponent.ctx.$children.push(qs(n)||n.proxy),function(e){const t=yc.bind(e);e.$updateScopedSlots=()=>Fr(()=>Kr(t));const n=e.effect=new no(()=>{if(e.isMounted){const{next:t,bu:n,u:o}=e;Pr(t||e.vnode),vc(e,!1),lo(),Gr(),po(),n&&R(n),vc(e,!0),ks(e,"patch"),uc(e,gc(e)),Os(e,"patch"),o&&dc(o),ii(e),jr()}else Di(()=>{lc(e,!0)},e),ks(e,"patch"),uc(e,gc(e)),Os(e,"patch"),ri(e)},o,()=>Kr(r),e.scope),r=e.update=()=>{n.dirty&&n.run()};r.id=e.uid,vc(e,!0),n.onTrack=e.rtc?t=>R(e.rtc,t):void 0,n.onTrigger=e.rtg?t=>R(e.rtg,t):void 0,r.ownerInstance=e,r()}(n),jr(),Os(n,"mount"),n.proxy}function gc(e){const{type:t,vnode:n,proxy:o,withProxy:r,props:s,propsOptions:[c],slots:u,attrs:a,emit:l,render:p,renderCache:f,data:d,setupState:h,ctx:g,uid:m,appContext:{app:{config:{globalProperties:{pruneComponentPropsCache:y}}}},inheritAttrs:v}=e;let ;e.$templateRefs=[],e.$ei=0,y(m),e.counter=0===e.counter?1:0;const b=gi(e);try{if(4&n.shapeFlag){mc(v,s,c,a);const e=r||o;=p.call(e,e,f,s,h,d,g)}else{mc(v,s,c,t.props?a:(e=>{let t;for(const n in e)("class"===n||"style"===n||i(n))&&((t||(t={}))[n]=e[n]);return t})(a));const e=t;=e.length>1?e(s,{attrs:a,slots:u,emit:l}):e(s,null)}}catch(t){Lr(t,e,1),=!1}return lc(e),gi(b),}function mc(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(s)?e.forEach(e=>{(!s(e)||!(e.slice(9)in n))&&(t[e]=o[e])}):e.forEach(e=>t[e]=o[e])}}function yc(){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 i=function e(t,n){if(!g(n))return;const o=(n=n.replace(/[(\d+)]/g,".$1")).split(".");let r=o[0];return t||(t={}),1===o.length?t[r]:e(t[r],o.slice(1).join("."))}(n,e),s=g(t)?${e}.${t}:${e}[${t}];if(typeof i>"u"||typeof i[t]>"u")o[s]=r;else{const e=oc(r,i[t]);Object.keys(e).forEach(t=>{o[s+"."+t]=e[t]})}}),e.length=0,Object.keys(o).length&&t.setData(o)}function vc({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function _c(e){const{bum:t,scope:n,update:o,um:r}=e;t&&R(t),n.stop(),o&&(o.active=!1),r&&dc(r),dc(()=>{e.isUnmounted=!0}),(e=>{ei&&"function"==typeof ei.cleanupBuffer&&!ei.cleanupBuffer(e)&&si(e)})(e)}const bc=function(e,t=null){h(e)||(e=c({},e)),null!=t&&!y(t)&&(Er("root props passed to app.mount() must be an object."),t=null);const n=$i(),o=new WeakSet,r=n.app={_uid:ki++,_component:e,_props:t,_container:null,_context:n,_instance:null,version:Qs,get config(){return n.config},set config(e){Er("app.config cannot be replaced. Modify individual options instead.")},use:(e,...t)=>(o.has(e)?Er("Plugin has already been applied to target app."):e&&h(e.install)?(o.add(e),e.install(r,...t)):h(e)?(o.add(e),e(r,...t)):Er('A plugin must either be a function or an object with an "install" function.'),r),mixin:e=>(n.mixins.includes(e)?Er("Mixin has already been applied to target app"+(e.name?": "+e.name:"")):n.mixins.push(e),r),component:(e,t)=>(Us(e,n.config),t?(n.components[e]&&Er(Component "${e}" has already been registered in target app.),n.components[e]=t,r):n.components[e]),directive:(e,t)=>(xi(e),t?(n.directives[e]&&Er(Directive "${e}" has already been registered in target app.),n.directives[e]=t,r):n.directives[e]),mount(){},unmount(){},provide:(e,t)=>(e in n.provides&&Er(App already provides property with key "${String(e)}". It will be overwritten with the new value.),n.provides[e]=t,r),runWithContext(e){const t=Oi;Oi=r;try{return e()}finally{Oi=t}}};return r};function wc(e,t=null){const n=typeof window<"u"?window:typeof globalThis<"u"?globalThis:typeof global<"u"?global:typeof my<"u"?my:void 0;n.VUE=!0,function e(t,n){var o,r;ei=t,ei?(ei.enabled=!0,ti.forEach(({event:e,args:t})=>ei.emit(e,...t)),ti=[]):typeof window<"u"&&window.HTMLElement&&(null==(r=null==(o=window.navigator)?void 0:o.userAgent)||!r.includes("jsdom"))?((n.VUE_DEVTOOLS_HOOK_REPLAY=n.VUE_DEVTOOLS_HOOK_REPLAY||[]).push(t=>{e(t,n)}),setTimeout(()=>{ei||(n.VUE_DEVTOOLS_HOOK_REPLAY=null,ni=!0,ti=[])},3e3)):(ni=!0,ti=[])}(n.VUE_DEVTOOLS_GLOBAL_HOOK__,n);const r=bc(e,t),i=r._context;!function(e){e.globalProperties.$nextTick=function(e){return sc(this.$,e)}}(i.config);const s=e=>(e.appContext=i,e.shapeFlag=6,e),c=function(e,t){return hc(s(e),t)},u=function(e){return e&&_c(e.$)};return r.mount=function(){e.render=o;const t=hc(s({type:e}),{mpType:"app",mpInstance:null,parentComponent:null,slots:[],props:null});return r._instance=t.$,function(e,t){oi("app:init",e,t,{Fragment:Ps,Text:js,Comment:Es,Static:As})}(r,Qs),t.$app=r,t.$createComponent=c,t.$destroyComponent=u,i.$appInstance=t,t},r.unmount=function(){Xs("Cannot unmount an app.")},r}function xc(e,t,n,o){h(t)&&Ii(e,t.bind(n),o)}function $c(e,t,n){!function(e,t,n){const o=e.mpType||n.$mpType;!o||"component"===o||Object.keys(e).forEach(o=>{if(we(o,e[o],!1)){const r=e[o];p(r)?r.forEach(e=>xc(o,e,n,t)):xc(o,r,n,t)}})}(e,t,n)}function kc(e,t,n){return e[t]=n}function Oc(e,...t){const n=this[e];return n?n(...t):(console.error(method ${e} not found),null)}function Sc(e){return function(t,n,o){if(!n)throw t;const r=e._instance;if(!r||!r.proxy)throw t;r.proxy.$callHook(W,t)}}function Cc(e,t){return e?[...new Set([].concat(e,t))]:t}let Pc;const jc="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",Ec=/^(?:[A-Za-z\d+/]{4})?(?:[A-Za-z\d+/]{2}(?:==)?|[A-Za-z\d+/]{3}=?)?$/;function Ac(){const e=xn.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(function(e){return decodeURIComponent(Pc(e).split("").map((function(e){return"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2)})).join(""))}(t[1]))}catch(e){throw new Error("获取当前用户信息出错,详细错误信息为:"+e.message)}return n.tokenExpired=1e3n.exp,delete n.exp,delete n.iat,n}function Ic(e){const t=e._context.config;t.errorHandler=ke(e,Sc),function(e){_e.forEach(t=>{e[t]=Cc})}(t.optionMergeStrategies);const n=t.globalProperties;(function(e){e.uniIDHasRole=function(e){const{role:t}=Ac();return t.indexOf(e)>-1},e.uniIDHasPermission=function(e){const{permission:t}=Ac();return this.uniIDHasRole("admin")||t.indexOf(e)>-1},e.uniIDTokenValid=function(){const{tokenExpired:e}=Ac();return e>Date.now()}})(n),n.$set=kc,n.$applyOptions=$c,n.$callMethod=Oc,xn.invokeCreateVueAppHook(e)}Pc="function"!=typeof atob?function(e){if(e=String(e).replace(/[\t\n\f\r ]+/g,""),!Ec.test(e))throw new Error("Failed to execute 'atob' on 'Window': The string to be decoded is not correctly encoded.");e+="==".slice(2-(3&e.length));for(var t,n,o,r="",i=0;i<e.length;)t=jc.indexOf(e.charAt(i++))<<18|jc.indexOf(e.charAt(i++))<<12|(n=jc.indexOf(e.charAt(i++)))<<6|(o=jc.indexOf(e.charAt(i++))),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 Tc=Object.create(null);function Rc(e){delete Tc[e]}function Lc(e){if(!e)return;const[t,n]=e.split(",");return Tc[t]?Tc[t][parseInt(n)]:void 0}var Mc={install(e){Ic(e),e.config.globalProperties.pruneComponentPropsCache=Rc;const t=e.mount;e.mount=function(n){const o=t.call(e,n),r=function(){const e="createApp";if(typeof global<"u"&&typeof global[e]<"u")return global[e];if(typeof my<"u")return my[e]}();return r?r(o):typeof createMiniProgramApp<"u"&&createMiniProgramApp(o),o}}};const Vc=function(e,t=null){return e&&(e.mpType="app"),wc(e,t).use(Mc)},Dc=["createSelectorQuery","createIntersectionObserver","selectAllComponents","selectComponent"];function Nc(e,t){const n=e.ctx;n.mpType=t.mpType,n.$mpType=t.mpType,n.$mpPlatform="mp-weixin",n.$scope=t.mpInstance,n.$mp={},n.self={},e.slots={},p(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=Hc,n.$callHook=Uc,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 Hc(e){const t=this.$[e];return!(!t||!t.length)}function Uc(e,t){"mounted"===e&&(Uc.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=eo;return n})(n,t)}const Bc=[q,H,U,G,Z,ee,te,ne,re];function Wc(e,t,n){-1===n.indexOf(t)&&!l(e,t)&&(e[t]=function(e){return this.$vm&&this.$vm.$callHook(t,e)})}const zc=[J];function Fc(e,t,n=zc){t.forEach(t=>Wc(e,t,n))}function Kc(e,t,n=zc){(function e(t,n=new Set){if(t){Object.keys(t).forEach(e=>{we(e,t[e])&&n.add(e)});{const{extends:o,mixins:r}=t;r&&r.forEach(t=>e(t,n)),o&&e(o,n)}}return n})(t).forEach(t=>Wc(e,t,n))}const qc=he(()=>{const e=[],t=h(getApp)&&getApp({allowDefault:!0});if(t&&t.$vm&&t.$vm.$){const n=t.$vm.$.appContext.mixins;if(p(n)){const t=Object.keys(be);n.forEach(n=>{t.forEach(t=>{l(n,t)&&!e.includes(t)&&e.push(t)})})}}return e});const Jc=[H,U,W,z,F,K];function Gc(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||(Nc(n,{mpType:"app",mpInstance:this,slots:[]}),o.globalData=this.globalData,e.$callHook(B,t))}},{onError:r}=n;r&&(n.appContext.config.errorHandler=t=>{e.$callHook(W,t)}),function(e){const t=xr(Pe(wx.getSystemInfoSync().language)||"en");Object.defineProperty(e,"$locale",{get:()=>t.value,set(e){t.value=e}})}(e);const i=e.$.type;Fc(o,Jc),Kc(o,i);{const e=i.methods;e&&c(o,e)}return t&&t.parse(o),o}function Yc(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 Zc=["externalClasses"];const Qc=/(.*)_workletfactory/;const Xc=["eO","uR","uRIF","uI","uT","uP","uS"];function eu(e){e.properties||(e.properties={}),c(e.properties,function(e,t=!1){const n={};return t||(Xc.forEach(e=>{n[e]={type:null,value:""}}),n.uS={type:null,value:[],observer:function(e){const t=Object.create(null);e&&e.forEach(e=>{t[e]=!0}),this.setData({$slots:t})}}),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}(e.options))}const tu=[String,Number,Boolean,Object,Array,null];function nu(e,t){const n=function(e,t){return p(e)&&1===e.length?e[0]:e}(e);return-1!==tu.indexOf(n)?n:null}function ou(e,t){return(t?function(e){const t={};return x(e)&&Object.keys(e).forEach(n=>{-1===Xc.indexOf(n)&&(t[n]=e[n])}),t}(e):Lc(e.uP))||{}}function ru(e){e.observers||(e.observers={}),e.observers.uP=function(){const e=this.properties.uP;e&&(this.$vm?function(e,t){const n=hr(t.props),o=Lc(e)||{};iu(n,o)&&(function(e,t,n,o){const{props:r,attrs:i,vnode:{patchFlag:s}}=e,c=hr(r),[u]=e.propsOptions;let a=!1;if(function(e){for(;e;){if(e.type.hmrId)return!0;e=e.parent}}(e)||!(o||s>0)||16&s){let o;as(e,t,r,i)&&(a=!0);for(const i in c)(!t||!l(t,i)&&((o=E(i))===i||!l(t,o)))&&(u?n&&(void 0!==n[i]||void 0!==n[o])&&(r[i]=ls(u,c,i,void 0,e,!0)):delete r[i]);if(i!==c)for(const e in i)(!t||!l(t,e))&&(delete i[e],a=!0)}else if(8&s){const n=e.vnode.dynamicProps;for(let o=0;o<n.length;o++){let s=n[o];if(di(e.emitsOptions,s))continue;const p=t[s];if(u)if(l(i,s))p!==i[s]&&(i[s]=p,a=!0);else{const t=P(s);r[t]=ls(u,c,t,p,e,!1)}else p!==i[s]&&(i[s]=p,a=!0)}}a&&$o(e,"set","$attrs"),ms(t||{},r,e)}(t,o,n,!1),function(e){return Dr.indexOf(e)>-1}(t.update)&&function(e){const t=Dr.indexOf(e);t>Nr&&Dr.splice(t,1)}(t.update),t.update())}(e,this.$vm.$):"m"===this.properties.uT&&function(e,t){const n=t.properties,o=Lc(e)||{};iu(n,o,!1)&&t.setData(o)}(e,this))}}function iu(e,t,n=!0){const o=Object.keys(t);if(n&&o.length!==Object.keys(e).length)return!0;for(let n=0;n<o.length;n++){const r=o[n];if(t[r]!==e[r])return!0}return!1}function su(e,t){e.data={},e.behaviors=function(e){const t=e.behaviors;let n=e.props;n||(e.props=n=[]);const o=[];return p(t)&&t.forEach(e=>{o.push(e.replace("uni://","wx://")),"uni://form-field"===e&&(p(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 cu(e,{parse:t,mocks:n,isPage:o,initRelation:r,handleLink:i,initLifetimes:s}){e=e.default||e;const u={multipleSlots:!0,addGlobalClass:!0,pureDataPattern:/^uP$/};p(e.mixins)&&e.mixins.forEach(e=>{y(e.options)&&c(u,e.options)}),e.options&&c(u,e.options);const a={options:u,lifetimes:s({mocks:n,isPage:o,initRelation:r,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}};return su(a,e),eu(a),ru(a),function(e,t){Zc.forEach(n=>{l(t,n)&&(e[n]=t[n])})}(a,e),function(e,t){p(t)&&t.forEach(t=>{e[t]=function(e){return this.$vmt}})}(a.methods,e.wxsCallMethods),function(e,t){t&&Object.keys(t).forEach(n=>{const o=n.match(Qc);if(o){const r=o[1];e[n]=t[n],e[r]=t[r]}})}(a.methods,e.methods),t&&t(a,{handleLink:i}),a}let uu,au;function lu(){return getApp().$vm}function pu(e,t){const{parse:n,mocks:o,isPage:r,initRelation:i,

2024-08-07 18:17 负责人:无 分享
已邀请:
BFC

BFC

你好,我这边不能复现,请提供一下简易录屏

  • 李漂泊 (作者)

    你好,操作视频上传了,看一下

    2024-08-08 16:45

李漂泊

李漂泊 (作者)

操作视频已上传

  • BFC

    奥,这应该是小程序预览功能的问题,只识别es5的代码,不识别es6的代码。

    2024-08-08 17:02

BFC

BFC

你好,可以尝试在manifest.json 进行勾选 es6转es5

要回复问题请先登录注册