@vtj/pro 0.10.9 → 0.10.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (27) hide show
  1. package/dist/@vtj/materials/assets/antdv/index.umd.js +2 -2
  2. package/dist/@vtj/materials/assets/charts/index.umd.js +2 -2
  3. package/dist/@vtj/materials/assets/element/index.umd.js +2 -2
  4. package/dist/@vtj/materials/assets/ui/index.umd.js +2 -2
  5. package/dist/@vtj/materials/assets/uni-h5/index.umd.js +2 -2
  6. package/dist/@vtj/materials/assets/uni-ui/index.umd.js +2 -2
  7. package/dist/@vtj/materials/assets/vant/index.umd.js +2 -2
  8. package/dist/@vtj/materials/deps/@vtj/charts/index.umd.js +2 -2
  9. package/dist/@vtj/materials/deps/@vtj/icons/index.umd.js +2 -2
  10. package/dist/@vtj/materials/deps/@vtj/ui/index.umd.js +2 -2
  11. package/dist/@vtj/materials/deps/@vtj/utils/index.umd.js +3 -3
  12. package/dist/@vtj/materials/deps/@vueuse/shared/index.iife.min.js +1 -1
  13. package/dist/@vtj/materials/deps/xe-utils/xe-utils.umd.min.js +2 -2
  14. package/dist/assets/{auth-BdTZicaH.js → auth-C_sSG0Ju.js} +1 -1
  15. package/dist/assets/{extension-DdnSz_qB.css → extension-BjjqxGHx.css} +1 -1
  16. package/dist/assets/extension-CGygQNgp.js +169 -0
  17. package/dist/assets/{index-ChFaPzB9.js → index-2Jp4B2N8.js} +1 -1
  18. package/dist/assets/{index-DsCqhanp.js → index-B9KVCtyS.js} +9 -9
  19. package/dist/assets/{page-CmpRl7SB.js → page-V0hkKlxc.js} +1 -1
  20. package/dist/assets/{preview-5sWUbX5I.js → preview-DY0TSY6p.js} +1 -1
  21. package/dist/assets/vxe-DEIHqUXR.js +4 -0
  22. package/dist/index.html +3 -3
  23. package/dist/uni/assets/{index-DIVDSD5H.js → index-CuIpYXdW.js} +3 -3
  24. package/dist/uni/index.html +1 -1
  25. package/package.json +11 -11
  26. package/dist/assets/extension-DeER1NbG.js +0 -169
  27. package/dist/assets/vxe-prHpAmaX.js +0 -4
package/dist/index.html CHANGED
@@ -9,7 +9,7 @@
9
9
  <meta http-equiv="Expires" content="0"/>
10
10
  <title>低代码设计器 - VTJ.PRO</title>
11
11
  <script>
12
- var __BUILD_TIME__ = '1741093193483';
12
+ var __BUILD_TIME__ = '1741339624450';
13
13
  (function () {
14
14
  const regex = /<!--{{(\d*)}}-->/;
15
15
  window.fetch('?t=' + Date.now()).then(async (res) => {
@@ -25,9 +25,9 @@
25
25
  });
26
26
  })();
27
27
  </script>
28
- <!--{{1741093193483}}-->
28
+ <!--{{1741339624450}}-->
29
29
 
30
- <script type="module" crossorigin src="./assets/index-DsCqhanp.js"></script>
30
+ <script type="module" crossorigin src="./assets/index-B9KVCtyS.js"></script>
31
31
  <link rel="modulepreload" crossorigin href="./assets/vue-DpQa2Qs4.js">
32
32
  <link rel="modulepreload" crossorigin href="./assets/vue-router-Dv428VRb.js">
33
33
  <link rel="modulepreload" crossorigin href="./assets/lodash-es-BL-d_OSa.js">
@@ -51,13 +51,13 @@ version: 2.9.0
51
51
  * Copyright (c) 2025, VTJ.PRO All rights reserved.
52
52
  * @name @vtj/core
53
53
  * @author CHC chenhuachun1549@dingtalk.com
54
- * @version 0.10.9
54
+ * @version 0.10.10
55
55
  * @license <a href="https://vtj.pro/license.html">MIT License</a>
56
56
  */const cp="VueMaterial",lp="VueRouterMaterial",fp={[cp]:["Transition","TransitionGroup","KeepAlive","Teleport","Suspense"],[lp]:["RouterView","RouterLink"]};class hp{constructor(){z(this,"listeners",[]);z(this,"isReady",!1)}triggerReady(){this.isReady=!0;for(const t of this.listeners)t();this.listeners=[]}ready(t){this.isReady?t():this.listeners.push(t)}resetReady(){this.isReady=!1}}var pp=Object.defineProperty,dp=(e,t,r)=>t in e?pp(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,ut=(e,t,r)=>dp(e,typeof t!="symbol"?t+"":t,r);(function(){if(typeof window>"u"||typeof EventTarget>"u")return;const e=EventTarget.prototype.addEventListener;EventTarget.prototype.addEventListener=function(t,r,n){typeof n!="boolean"&&(n=n||{},n.passive=!1),e.call(this,t,r,n)}})();const mp=e=>typeof e=="symbol";new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(mp));function Zo(e,t){return function(){return e.apply(t,arguments)}}const{toString:gp}=Object.prototype,{getPrototypeOf:tn}=Object,Je=(e=>t=>{const r=gp.call(t);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),dt=e=>(e=e.toLowerCase(),t=>Je(t)===e),Ye=e=>t=>typeof t===e,{isArray:te}=Array,de=Ye("undefined");function yp(e){return e!==null&&!de(e)&&e.constructor!==null&&!de(e.constructor)&&st(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Xo=dt("ArrayBuffer");function vp(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Xo(e.buffer),t}const bp=Ye("string"),st=Ye("function"),Qo=Ye("number"),Ke=e=>e!==null&&typeof e=="object",wp=e=>e===!0||e===!1,Be=e=>{if(Je(e)!=="object")return!1;const t=tn(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},_p=dt("Date"),Ep=dt("File"),Sp=dt("Blob"),xp=dt("FileList"),Tp=e=>Ke(e)&&st(e.pipe),Rp=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||st(e.append)&&((t=Je(e))==="formdata"||t==="object"&&st(e.toString)&&e.toString()==="[object FormData]"))},Op=dt("URLSearchParams"),[$p,Ap,jp,Dp]=["ReadableStream","Request","Response","Headers"].map(dt),Bp=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function ve(e,t,{allOwnKeys:r=!1}={}){if(e===null||typeof e>"u")return;let n,i;if(typeof e!="object"&&(e=[e]),te(e))for(n=0,i=e.length;n<i;n++)t.call(null,e[n],n,e);else{const o=r?Object.getOwnPropertyNames(e):Object.keys(e),s=o.length;let u;for(n=0;n<s;n++)u=o[n],t.call(null,e[u],u,e)}}function ts(e,t){t=t.toLowerCase();const r=Object.keys(e);let n=r.length,i;for(;n-- >0;)if(i=r[n],t===i.toLowerCase())return i;return null}const Nt=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,es=e=>!de(e)&&e!==Nt;function Br(){const{caseless:e}=es(this)&&this||{},t={},r=(n,i)=>{const o=e&&ts(t,i)||i;Be(t[o])&&Be(n)?t[o]=Br(t[o],n):Be(n)?t[o]=Br({},n):te(n)?t[o]=n.slice():t[o]=n};for(let n=0,i=arguments.length;n<i;n++)arguments[n]&&ve(arguments[n],r);return t}const Cp=(e,t,r,{allOwnKeys:n}={})=>(ve(t,(i,o)=>{r&&st(i)?e[o]=Zo(i,r):e[o]=i},{allOwnKeys:n}),e),Np=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),kp=(e,t,r,n)=>{e.prototype=Object.create(t.prototype,n),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},Ip=(e,t,r,n)=>{let i,o,s;const u={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),o=i.length;o-- >0;)s=i[o],(!n||n(s,e,t))&&!u[s]&&(t[s]=e[s],u[s]=!0);e=r!==!1&&tn(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},Fp=(e,t,r)=>{e=String(e),(r===void 0||r>e.length)&&(r=e.length),r-=t.length;const n=e.indexOf(t,r);return n!==-1&&n===r},Mp=e=>{if(!e)return null;if(te(e))return e;let t=e.length;if(!Qo(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},Pp=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&tn(Uint8Array)),Up=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let n;for(;(n=r.next())&&!n.done;){const i=n.value;t.call(e,i[0],i[1])}},Lp=(e,t)=>{let r;const n=[];for(;(r=e.exec(t))!==null;)n.push(r);return n},Vp=dt("HTMLFormElement"),Hp=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(t,r,n){return r.toUpperCase()+n}),fi=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),qp=dt("RegExp"),rs=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e),n={};ve(r,(i,o)=>{let s;(s=t(i,o,e))!==!1&&(n[o]=s||i)}),Object.defineProperties(e,n)},zp=e=>{rs(e,(t,r)=>{if(st(e)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;const n=e[r];if(st(n)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},Wp=(e,t)=>{const r={},n=i=>{i.forEach(o=>{r[o]=!0})};return te(e)?n(e):n(String(e).split(t)),r},Jp=()=>{},Yp=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function Kp(e){return!!(e&&st(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const Gp=e=>{const t=new Array(10),r=(n,i)=>{if(Ke(n)){if(t.indexOf(n)>=0)return;if(!("toJSON"in n)){t[i]=n;const o=te(n)?[]:{};return ve(n,(s,u)=>{const c=r(s,i+1);!de(c)&&(o[u]=c)}),t[i]=void 0,o}}return n};return r(e,0)},Zp=dt("AsyncFunction"),Xp=e=>e&&(Ke(e)||st(e))&&st(e.then)&&st(e.catch),ns=((e,t)=>e?setImmediate:t?((r,n)=>(Nt.addEventListener("message",({source:i,data:o})=>{i===Nt&&o===r&&n.length&&n.shift()()},!1),i=>{n.push(i),Nt.postMessage(r,"*")}))(`axios@${Math.random()}`,[]):r=>setTimeout(r))(typeof setImmediate=="function",st(Nt.postMessage)),Qp=typeof queueMicrotask<"u"?queueMicrotask.bind(Nt):typeof process<"u"&&process.nextTick||ns,R={isArray:te,isArrayBuffer:Xo,isBuffer:yp,isFormData:Rp,isArrayBufferView:vp,isString:bp,isNumber:Qo,isBoolean:wp,isObject:Ke,isPlainObject:Be,isReadableStream:$p,isRequest:Ap,isResponse:jp,isHeaders:Dp,isUndefined:de,isDate:_p,isFile:Ep,isBlob:Sp,isRegExp:qp,isFunction:st,isStream:Tp,isURLSearchParams:Op,isTypedArray:Pp,isFileList:xp,forEach:ve,merge:Br,extend:Cp,trim:Bp,stripBOM:Np,inherits:kp,toFlatObject:Ip,kindOf:Je,kindOfTest:dt,endsWith:Fp,toArray:Mp,forEachEntry:Up,matchAll:Lp,isHTMLForm:Vp,hasOwnProperty:fi,hasOwnProp:fi,reduceDescriptors:rs,freezeMethods:zp,toObjectSet:Wp,toCamelCase:Hp,noop:Jp,toFiniteNumber:Yp,findKey:ts,global:Nt,isContextDefined:es,isSpecCompliantForm:Kp,toJSONObject:Gp,isAsyncFn:Zp,isThenable:Xp,setImmediate:ns,asap:Qp};function W(e,t,r,n,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),i&&(this.response=i,this.status=i.status?i.status:null)}R.inherits(W,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:R.toJSONObject(this.config),code:this.code,status:this.status}}});const is=W.prototype,os={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{os[e]={value:e}});Object.defineProperties(W,os);Object.defineProperty(is,"isAxiosError",{value:!0});W.from=(e,t,r,n,i,o)=>{const s=Object.create(is);return R.toFlatObject(e,s,function(u){return u!==Error.prototype},u=>u!=="isAxiosError"),W.call(s,e.message,t,r,n,i),s.cause=e,s.name=e.name,o&&Object.assign(s,o),s};const td=null;function Cr(e){return R.isPlainObject(e)||R.isArray(e)}function ss(e){return R.endsWith(e,"[]")?e.slice(0,-2):e}function hi(e,t,r){return e?e.concat(t).map(function(n,i){return n=ss(n),!r&&i?"["+n+"]":n}).join(r?".":""):t}function ed(e){return R.isArray(e)&&!e.some(Cr)}const rd=R.toFlatObject(R,{},null,function(e){return/^is[A-Z]/.test(e)});function Ge(e,t,r){if(!R.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,r=R.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(p,d){return!R.isUndefined(d[p])});const n=r.metaTokens,i=r.visitor||a,o=r.dots,s=r.indexes,u=(r.Blob||typeof Blob<"u"&&Blob)&&R.isSpecCompliantForm(t);if(!R.isFunction(i))throw new TypeError("visitor must be a function");function c(p){if(p===null)return"";if(R.isDate(p))return p.toISOString();if(!u&&R.isBlob(p))throw new W("Blob is not supported. Use a Buffer instead.");return R.isArrayBuffer(p)||R.isTypedArray(p)?u&&typeof Blob=="function"?new Blob([p]):Buffer.from(p):p}function a(p,d,m){let b=p;if(p&&!m&&typeof p=="object"){if(R.endsWith(d,"{}"))d=n?d:d.slice(0,-2),p=JSON.stringify(p);else if(R.isArray(p)&&ed(p)||(R.isFileList(p)||R.endsWith(d,"[]"))&&(b=R.toArray(p)))return d=ss(d),b.forEach(function(E,y){!(R.isUndefined(E)||E===null)&&t.append(s===!0?hi([d],y,o):s===null?d:d+"[]",c(E))}),!1}return Cr(p)?!0:(t.append(hi(m,d,o),c(p)),!1)}const l=[],f=Object.assign(rd,{defaultVisitor:a,convertValue:c,isVisitable:Cr});function h(p,d){if(!R.isUndefined(p)){if(l.indexOf(p)!==-1)throw Error("Circular reference detected in "+d.join("."));l.push(p),R.forEach(p,function(m,b){(!(R.isUndefined(m)||m===null)&&i.call(t,m,R.isString(b)?b.trim():b,d,f))===!0&&h(m,d?d.concat(b):[b])}),l.pop()}}if(!R.isObject(e))throw new TypeError("data must be an object");return h(e),t}function pi(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function en(e,t){this._pairs=[],e&&Ge(e,this,t)}const as=en.prototype;as.append=function(e,t){this._pairs.push([e,t])};as.toString=function(e){const t=e?function(r){return e.call(this,r,pi)}:pi;return this._pairs.map(function(r){return t(r[0])+"="+t(r[1])},"").join("&")};function nd(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function us(e,t,r){if(!t)return e;const n=r&&r.encode||nd;R.isFunction(r)&&(r={serialize:r});const i=r&&r.serialize;let o;if(i?o=i(t,r):o=R.isURLSearchParams(t)?t.toString():new en(t,r).toString(n),o){const s=e.indexOf("#");s!==-1&&(e=e.slice(0,s)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}let di=class{constructor(){this.handlers=[]}use(t,r,n){return this.handlers.push({fulfilled:t,rejected:r,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){R.forEach(this.handlers,function(r){r!==null&&t(r)})}};const cs={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},id=typeof URLSearchParams<"u"?URLSearchParams:en,od=typeof FormData<"u"?FormData:null,sd=typeof Blob<"u"?Blob:null,ad={isBrowser:!0,classes:{URLSearchParams:id,FormData:od,Blob:sd},protocols:["http","https","file","blob","url","data"]},rn=typeof window<"u"&&typeof document<"u",Nr=typeof navigator=="object"&&navigator||void 0,ud=rn&&(!Nr||["ReactNative","NativeScript","NS"].indexOf(Nr.product)<0),cd=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",ld=rn&&window.location.href||"http://localhost",fd=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:rn,hasStandardBrowserEnv:ud,hasStandardBrowserWebWorkerEnv:cd,navigator:Nr,origin:ld},Symbol.toStringTag,{value:"Module"})),tt=V(V({},fd),ad);function hd(e,t){return Ge(e,new tt.classes.URLSearchParams,Object.assign({visitor:function(r,n,i,o){return tt.isNode&&R.isBuffer(r)?(this.append(n,r.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},t))}function pd(e){return R.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function dd(e){const t={},r=Object.keys(e);let n;const i=r.length;let o;for(n=0;n<i;n++)o=r[n],t[o]=e[o];return t}function ls(e){function t(r,n,i,o){let s=r[o++];if(s==="__proto__")return!0;const u=Number.isFinite(+s),c=o>=r.length;return s=!s&&R.isArray(i)?i.length:s,c?(R.hasOwnProp(i,s)?i[s]=[i[s],n]:i[s]=n,!u):((!i[s]||!R.isObject(i[s]))&&(i[s]=[]),t(r,n,i[s],o)&&R.isArray(i[s])&&(i[s]=dd(i[s])),!u)}if(R.isFormData(e)&&R.isFunction(e.entries)){const r={};return R.forEachEntry(e,(n,i)=>{t(pd(n),i,r,0)}),r}return null}function md(e,t,r){if(R.isString(e))try{return(t||JSON.parse)(e),R.trim(e)}catch(n){if(n.name!=="SyntaxError")throw n}return(r||JSON.stringify)(e)}const be={transitional:cs,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const r=t.getContentType()||"",n=r.indexOf("application/json")>-1,i=R.isObject(e);if(i&&R.isHTMLForm(e)&&(e=new FormData(e)),R.isFormData(e))return n?JSON.stringify(ls(e)):e;if(R.isArrayBuffer(e)||R.isBuffer(e)||R.isStream(e)||R.isFile(e)||R.isBlob(e)||R.isReadableStream(e))return e;if(R.isArrayBufferView(e))return e.buffer;if(R.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let o;if(i){if(r.indexOf("application/x-www-form-urlencoded")>-1)return hd(e,this.formSerializer).toString();if((o=R.isFileList(e))||r.indexOf("multipart/form-data")>-1){const s=this.env&&this.env.FormData;return Ge(o?{"files[]":e}:e,s&&new s,this.formSerializer)}}return i||n?(t.setContentType("application/json",!1),md(e)):e}],transformResponse:[function(e){const t=this.transitional||be.transitional,r=t&&t.forcedJSONParsing,n=this.responseType==="json";if(R.isResponse(e)||R.isReadableStream(e))return e;if(e&&R.isString(e)&&(r&&!this.responseType||n)){const i=!(t&&t.silentJSONParsing)&&n;try{return JSON.parse(e)}catch(o){if(i)throw o.name==="SyntaxError"?W.from(o,W.ERR_BAD_RESPONSE,this,null,this.response):o}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:tt.classes.FormData,Blob:tt.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};R.forEach(["delete","get","head","post","put","patch"],e=>{be.headers[e]={}});const gd=R.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),yd=e=>{const t={};let r,n,i;return e&&e.split(`
57
57
  `).forEach(function(o){i=o.indexOf(":"),r=o.substring(0,i).trim().toLowerCase(),n=o.substring(i+1).trim(),!(!r||t[r]&&gd[r])&&(r==="set-cookie"?t[r]?t[r].push(n):t[r]=[n]:t[r]=t[r]?t[r]+", "+n:n)}),t},mi=Symbol("internals");function se(e){return e&&String(e).trim().toLowerCase()}function Ce(e){return e===!1||e==null?e:R.isArray(e)?e.map(Ce):String(e)}function vd(e){const t=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=r.exec(e);)t[n[1]]=n[2];return t}const bd=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function pr(e,t,r,n,i){if(R.isFunction(n))return n.call(this,t,r);if(i&&(t=r),!!R.isString(t)){if(R.isString(n))return t.indexOf(n)!==-1;if(R.isRegExp(n))return n.test(t)}}function wd(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,r,n)=>r.toUpperCase()+n)}function _d(e,t){const r=R.toCamelCase(" "+t);["get","set","has"].forEach(n=>{Object.defineProperty(e,n+r,{value:function(i,o,s){return this[n].call(this,t,i,o,s)},configurable:!0})})}let ot=class{constructor(t){t&&this.set(t)}set(t,r,n){const i=this;function o(u,c,a){const l=se(c);if(!l)throw new Error("header name must be a non-empty string");const f=R.findKey(i,l);(!f||i[f]===void 0||a===!0||a===void 0&&i[f]!==!1)&&(i[f||c]=Ce(u))}const s=(u,c)=>R.forEach(u,(a,l)=>o(a,l,c));if(R.isPlainObject(t)||t instanceof this.constructor)s(t,r);else if(R.isString(t)&&(t=t.trim())&&!bd(t))s(yd(t),r);else if(R.isHeaders(t))for(const[u,c]of t.entries())o(c,u,n);else t!=null&&o(r,t,n);return this}get(t,r){if(t=se(t),t){const n=R.findKey(this,t);if(n){const i=this[n];if(!r)return i;if(r===!0)return vd(i);if(R.isFunction(r))return r.call(this,i,n);if(R.isRegExp(r))return r.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,r){if(t=se(t),t){const n=R.findKey(this,t);return!!(n&&this[n]!==void 0&&(!r||pr(this,this[n],n,r)))}return!1}delete(t,r){const n=this;let i=!1;function o(s){if(s=se(s),s){const u=R.findKey(n,s);u&&(!r||pr(n,n[u],u,r))&&(delete n[u],i=!0)}}return R.isArray(t)?t.forEach(o):o(t),i}clear(t){const r=Object.keys(this);let n=r.length,i=!1;for(;n--;){const o=r[n];(!t||pr(this,this[o],o,t,!0))&&(delete this[o],i=!0)}return i}normalize(t){const r=this,n={};return R.forEach(this,(i,o)=>{const s=R.findKey(n,o);if(s){r[s]=Ce(i),delete r[o];return}const u=t?wd(o):String(o).trim();u!==o&&delete r[o],r[u]=Ce(i),n[u]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const r=Object.create(null);return R.forEach(this,(n,i)=>{n!=null&&n!==!1&&(r[i]=t&&R.isArray(n)?n.join(", "):n)}),r}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,r])=>t+": "+r).join(`
58
58
  `)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...r){const n=new this(t);return r.forEach(i=>n.set(i)),n}static accessor(t){const r=(this[mi]=this[mi]={accessors:{}}).accessors,n=this.prototype;function i(o){const s=se(o);r[s]||(_d(n,o),r[s]=!0)}return R.isArray(t)?t.forEach(i):i(t),this}};ot.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);R.reduceDescriptors(ot.prototype,({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(n){this[r]=n}}});R.freezeMethods(ot);function dr(e,t){const r=this||be,n=t||r,i=ot.from(n.headers);let o=n.data;return R.forEach(e,function(s){o=s.call(r,o,i.normalize(),t?t.status:void 0)}),i.normalize(),o}function fs(e){return!!(e&&e.__CANCEL__)}function ee(e,t,r){W.call(this,e!=null?e:"canceled",W.ERR_CANCELED,t,r),this.name="CanceledError"}R.inherits(ee,W,{__CANCEL__:!0});function hs(e,t,r){const n=r.config.validateStatus;!r.status||!n||n(r.status)?e(r):t(new W("Request failed with status code "+r.status,[W.ERR_BAD_REQUEST,W.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}function Ed(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function Sd(e,t){e=e||10;const r=new Array(e),n=new Array(e);let i=0,o=0,s;return t=t!==void 0?t:1e3,function(u){const c=Date.now(),a=n[o];s||(s=c),r[i]=u,n[i]=c;let l=o,f=0;for(;l!==i;)f+=r[l++],l=l%e;if(i=(i+1)%e,i===o&&(o=(o+1)%e),c-s<t)return;const h=a&&c-a;return h?Math.round(f*1e3/h):void 0}}function xd(e,t){let r=0,n=1e3/t,i,o;const s=(u,c=Date.now())=>{r=c,i=null,o&&(clearTimeout(o),o=null),e.apply(null,u)};return[(...u)=>{const c=Date.now(),a=c-r;a>=n?s(u,c):(i=u,o||(o=setTimeout(()=>{o=null,s(i)},n-a)))},()=>i&&s(i)]}const Me=(e,t,r=3)=>{let n=0;const i=Sd(50,250);return xd(o=>{const s=o.loaded,u=o.lengthComputable?o.total:void 0,c=s-n,a=i(c),l=s<=u;n=s;const f={loaded:s,total:u,progress:u?s/u:void 0,bytes:c,rate:a||void 0,estimated:a&&u&&l?(u-s)/a:void 0,event:o,lengthComputable:u!=null,[t?"download":"upload"]:!0};e(f)},r)},gi=(e,t)=>{const r=e!=null;return[n=>t[0]({lengthComputable:r,total:e,loaded:n}),t[1]]},yi=e=>(...t)=>R.asap(()=>e(...t)),Td=tt.hasStandardBrowserEnv?((e,t)=>r=>(r=new URL(r,tt.origin),e.protocol===r.protocol&&e.host===r.host&&(t||e.port===r.port)))(new URL(tt.origin),tt.navigator&&/(msie|trident)/i.test(tt.navigator.userAgent)):()=>!0,Rd=tt.hasStandardBrowserEnv?{write(e,t,r,n,i,o){const s=[e+"="+encodeURIComponent(t)];R.isNumber(r)&&s.push("expires="+new Date(r).toGMTString()),R.isString(n)&&s.push("path="+n),R.isString(i)&&s.push("domain="+i),o===!0&&s.push("secure"),document.cookie=s.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function Od(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function $d(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function ps(e,t,r){let n=!Od(t);return e&&n||r==!1?$d(e,t):t}const vi=e=>e instanceof ot?V({},e):e;function It(e,t){t=t||{};const r={};function n(a,l,f,h){return R.isPlainObject(a)&&R.isPlainObject(l)?R.merge.call({caseless:h},a,l):R.isPlainObject(l)?R.merge({},l):R.isArray(l)?l.slice():l}function i(a,l,f,h){if(R.isUndefined(l)){if(!R.isUndefined(a))return n(void 0,a,f,h)}else return n(a,l,f,h)}function o(a,l){if(!R.isUndefined(l))return n(void 0,l)}function s(a,l){if(R.isUndefined(l)){if(!R.isUndefined(a))return n(void 0,a)}else return n(void 0,l)}function u(a,l,f){if(f in t)return n(a,l);if(f in e)return n(void 0,a)}const c={url:o,method:o,data:o,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:u,headers:(a,l,f)=>i(vi(a),vi(l),f,!0)};return R.forEach(Object.keys(Object.assign({},e,t)),function(a){const l=c[a]||i,f=l(e[a],t[a],a);R.isUndefined(f)&&l!==u||(r[a]=f)}),r}const ds=e=>{const t=It({},e);let{data:r,withXSRFToken:n,xsrfHeaderName:i,xsrfCookieName:o,headers:s,auth:u}=t;t.headers=s=ot.from(s),t.url=us(ps(t.baseURL,t.url),e.params,e.paramsSerializer),u&&s.set("Authorization","Basic "+btoa((u.username||"")+":"+(u.password?unescape(encodeURIComponent(u.password)):"")));let c;if(R.isFormData(r)){if(tt.hasStandardBrowserEnv||tt.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if((c=s.getContentType())!==!1){const[a,...l]=c?c.split(";").map(f=>f.trim()).filter(Boolean):[];s.setContentType([a||"multipart/form-data",...l].join("; "))}}if(tt.hasStandardBrowserEnv&&(n&&R.isFunction(n)&&(n=n(t)),n||n!==!1&&Td(t.url))){const a=i&&o&&Rd.read(o);a&&s.set(i,a)}return t},Ad=typeof XMLHttpRequest<"u",jd=Ad&&function(e){return new Promise(function(t,r){const n=ds(e);let i=n.data;const o=ot.from(n.headers).normalize();let{responseType:s,onUploadProgress:u,onDownloadProgress:c}=n,a,l,f,h,p;function d(){h&&h(),p&&p(),n.cancelToken&&n.cancelToken.unsubscribe(a),n.signal&&n.signal.removeEventListener("abort",a)}let m=new XMLHttpRequest;m.open(n.method.toUpperCase(),n.url,!0),m.timeout=n.timeout;function b(){if(!m)return;const y=ot.from("getAllResponseHeaders"in m&&m.getAllResponseHeaders()),v={data:!s||s==="text"||s==="json"?m.responseText:m.response,status:m.status,statusText:m.statusText,headers:y,config:e,request:m};hs(function(w){t(w),d()},function(w){r(w),d()},v),m=null}"onloadend"in m?m.onloadend=b:m.onreadystatechange=function(){!m||m.readyState!==4||m.status===0&&!(m.responseURL&&m.responseURL.indexOf("file:")===0)||setTimeout(b)},m.onabort=function(){m&&(r(new W("Request aborted",W.ECONNABORTED,e,m)),m=null)},m.onerror=function(){r(new W("Network Error",W.ERR_NETWORK,e,m)),m=null},m.ontimeout=function(){let y=n.timeout?"timeout of "+n.timeout+"ms exceeded":"timeout exceeded";const v=n.transitional||cs;n.timeoutErrorMessage&&(y=n.timeoutErrorMessage),r(new W(y,v.clarifyTimeoutError?W.ETIMEDOUT:W.ECONNABORTED,e,m)),m=null},i===void 0&&o.setContentType(null),"setRequestHeader"in m&&R.forEach(o.toJSON(),function(y,v){m.setRequestHeader(v,y)}),R.isUndefined(n.withCredentials)||(m.withCredentials=!!n.withCredentials),s&&s!=="json"&&(m.responseType=n.responseType),c&&([f,p]=Me(c,!0),m.addEventListener("progress",f)),u&&m.upload&&([l,h]=Me(u),m.upload.addEventListener("progress",l),m.upload.addEventListener("loadend",h)),(n.cancelToken||n.signal)&&(a=y=>{m&&(r(!y||y.type?new ee(null,e,m):y),m.abort(),m=null)},n.cancelToken&&n.cancelToken.subscribe(a),n.signal&&(n.signal.aborted?a():n.signal.addEventListener("abort",a)));const E=Ed(n.url);if(E&&tt.protocols.indexOf(E)===-1){r(new W("Unsupported protocol "+E+":",W.ERR_BAD_REQUEST,e));return}m.send(i||null)})},Dd=(e,t)=>{const{length:r}=e=e?e.filter(Boolean):[];if(t||r){let n=new AbortController,i;const o=function(a){if(!i){i=!0,u();const l=a instanceof Error?a:this.reason;n.abort(l instanceof W?l:new ee(l instanceof Error?l.message:l))}};let s=t&&setTimeout(()=>{s=null,o(new W(`timeout ${t} of ms exceeded`,W.ETIMEDOUT))},t);const u=()=>{e&&(s&&clearTimeout(s),s=null,e.forEach(a=>{a.unsubscribe?a.unsubscribe(o):a.removeEventListener("abort",o)}),e=null)};e.forEach(a=>a.addEventListener("abort",o));const{signal:c}=n;return c.unsubscribe=()=>R.asap(u),c}},Bd=function*(e,t){let r=e.byteLength;if(r<t){yield e;return}let n=0,i;for(;n<r;)i=n+t,yield e.slice(n,i),n=i},Cd=function(e,t){return er(this,null,function*(){try{for(var r=fn(Nd(e)),n,i,o;n=!(i=yield new At(r.next())).done;n=!1){const s=i.value;yield*rr(Bd(s,t))}}catch(i){o=[i]}finally{try{n&&(i=r.return)&&(yield new At(i.call(r)))}finally{if(o)throw o[0]}}})},Nd=function(e){return er(this,null,function*(){if(e[Symbol.asyncIterator]){yield*rr(e);return}const t=e.getReader();try{for(;;){const{done:r,value:n}=yield new At(t.read());if(r)break;yield n}}finally{yield new At(t.cancel())}})},bi=(e,t,r,n)=>{const i=Cd(e,t);let o=0,s,u=a=>{s||(s=!0,n&&n(a))};return new ReadableStream({pull(a){return U(this,null,function*(){try{const{done:l,value:f}=yield i.next();if(l){u(),a.close();return}let h=f.byteLength;if(r){let p=o+=h;r(p)}a.enqueue(new Uint8Array(f))}catch(l){throw u(l),l}})},cancel(a){return u(a),i.return()}},{highWaterMark:2})},Ze=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",ms=Ze&&typeof ReadableStream=="function",kd=Ze&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):e=>U(void 0,null,function*(){return new Uint8Array(yield new Response(e).arrayBuffer())})),gs=(e,...t)=>{try{return!!e(...t)}catch(r){return!1}},Id=ms&&gs(()=>{let e=!1;const t=new Request(tt.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),wi=64*1024,kr=ms&&gs(()=>R.isReadableStream(new Response("").body)),Pe={stream:kr&&(e=>e.body)};Ze&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!Pe[t]&&(Pe[t]=R.isFunction(e[t])?r=>r[t]():(r,n)=>{throw new W(`Response type '${t}' is not supported`,W.ERR_NOT_SUPPORT,n)})})})(new Response);const Fd=e=>U(void 0,null,function*(){if(e==null)return 0;if(R.isBlob(e))return e.size;if(R.isSpecCompliantForm(e))return(yield new Request(tt.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(R.isArrayBufferView(e)||R.isArrayBuffer(e))return e.byteLength;if(R.isURLSearchParams(e)&&(e=e+""),R.isString(e))return(yield kd(e)).byteLength}),Md=(e,t)=>U(void 0,null,function*(){const r=R.toFiniteNumber(e.getContentLength());return r!=null?r:Fd(t)}),Pd=Ze&&(e=>U(void 0,null,function*(){let{url:t,method:r,data:n,signal:i,cancelToken:o,timeout:s,onDownloadProgress:u,onUploadProgress:c,responseType:a,headers:l,withCredentials:f="same-origin",fetchOptions:h}=ds(e);a=a?(a+"").toLowerCase():"text";let p=Dd([i,o&&o.toAbortSignal()],s),d;const m=p&&p.unsubscribe&&(()=>{p.unsubscribe()});let b;try{if(c&&Id&&r!=="get"&&r!=="head"&&(b=yield Md(l,n))!==0){let S=new Request(t,{method:"POST",body:n,duplex:"half"}),g;if(R.isFormData(n)&&(g=S.headers.get("content-type"))&&l.setContentType(g),S.body){const[x,O]=gi(b,Me(yi(c)));n=bi(S.body,wi,x,O)}}R.isString(f)||(f=f?"include":"omit");const E="credentials"in Request.prototype;d=new Request(t,Q(V({},h),{signal:p,method:r.toUpperCase(),headers:l.normalize().toJSON(),body:n,duplex:"half",credentials:E?f:void 0}));let y=yield fetch(d);const v=kr&&(a==="stream"||a==="response");if(kr&&(u||v&&m)){const S={};["status","statusText","headers"].forEach(M=>{S[M]=y[M]});const g=R.toFiniteNumber(y.headers.get("content-length")),[x,O]=u&&gi(g,Me(yi(u),!0))||[];y=new Response(bi(y.body,wi,x,()=>{O&&O(),m&&m()}),S)}a=a||"text";let w=yield Pe[R.findKey(Pe,a)||"text"](y,e);return!v&&m&&m(),yield new Promise((S,g)=>{hs(S,g,{data:w,headers:ot.from(y.headers),status:y.status,statusText:y.statusText,config:e,request:d})})}catch(E){throw m&&m(),E&&E.name==="TypeError"&&/fetch/i.test(E.message)?Object.assign(new W("Network Error",W.ERR_NETWORK,e,d),{cause:E.cause||E}):W.from(E,E&&E.code,e,d)}})),Ir={http:td,xhr:jd,fetch:Pd};R.forEach(Ir,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(r){}Object.defineProperty(e,"adapterName",{value:t})}});const _i=e=>`- ${e}`,Ud=e=>R.isFunction(e)||e===null||e===!1,ys={getAdapter:e=>{e=R.isArray(e)?e:[e];const{length:t}=e;let r,n;const i={};for(let o=0;o<t;o++){r=e[o];let s;if(n=r,!Ud(r)&&(n=Ir[(s=String(r)).toLowerCase()],n===void 0))throw new W(`Unknown adapter '${s}'`);if(n)break;i[s||"#"+o]=n}if(!n){const o=Object.entries(i).map(([u,c])=>`adapter ${u} `+(c===!1?"is not supported by the environment":"is not available in the build"));let s=t?o.length>1?`since :
59
59
  `+o.map(_i).join(`
60
- `):" "+_i(o[0]):"as no adapter specified";throw new W("There is no suitable adapter to dispatch the request "+s,"ERR_NOT_SUPPORT")}return n},adapters:Ir};function mr(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new ee(null,e)}function Ei(e){return mr(e),e.headers=ot.from(e.headers),e.data=dr.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),ys.getAdapter(e.adapter||be.adapter)(e).then(function(t){return mr(e),t.data=dr.call(e,e.transformResponse,t),t.headers=ot.from(t.headers),t},function(t){return fs(t)||(mr(e),t&&t.response&&(t.response.data=dr.call(e,e.transformResponse,t.response),t.response.headers=ot.from(t.response.headers))),Promise.reject(t)})}const vs="1.8.1",Xe={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Xe[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const Si={};Xe.transitional=function(e,t,r){function n(i,o){return"[Axios v"+vs+"] Transitional option '"+i+"'"+o+(r?". "+r:"")}return(i,o,s)=>{if(e===!1)throw new W(n(o," has been removed"+(t?" in "+t:"")),W.ERR_DEPRECATED);return t&&!Si[o]&&(Si[o]=!0,console.warn(n(o," has been deprecated since v"+t+" and will be removed in the near future"))),e?e(i,o,s):!0}};Xe.spelling=function(e){return(t,r)=>(console.warn(`${r} is likely a misspelling of ${e}`),!0)};function Ld(e,t,r){if(typeof e!="object")throw new W("options must be an object",W.ERR_BAD_OPTION_VALUE);const n=Object.keys(e);let i=n.length;for(;i-- >0;){const o=n[i],s=t[o];if(s){const u=e[o],c=u===void 0||s(u,o,e);if(c!==!0)throw new W("option "+o+" must be "+c,W.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new W("Unknown option "+o,W.ERR_BAD_OPTION)}}const Ne={assertOptions:Ld,validators:Xe},mt=Ne.validators;let kt=class{constructor(t){this.defaults=t,this.interceptors={request:new di,response:new di}}request(t,r){return U(this,null,function*(){try{return yield this._request(t,r)}catch(n){if(n instanceof Error){let i={};Error.captureStackTrace?Error.captureStackTrace(i):i=new Error;const o=i.stack?i.stack.replace(/^.+\n/,""):"";try{n.stack?o&&!String(n.stack).endsWith(o.replace(/^.+\n.+\n/,""))&&(n.stack+=`
60
+ `):" "+_i(o[0]):"as no adapter specified";throw new W("There is no suitable adapter to dispatch the request "+s,"ERR_NOT_SUPPORT")}return n},adapters:Ir};function mr(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new ee(null,e)}function Ei(e){return mr(e),e.headers=ot.from(e.headers),e.data=dr.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),ys.getAdapter(e.adapter||be.adapter)(e).then(function(t){return mr(e),t.data=dr.call(e,e.transformResponse,t),t.headers=ot.from(t.headers),t},function(t){return fs(t)||(mr(e),t&&t.response&&(t.response.data=dr.call(e,e.transformResponse,t.response),t.response.headers=ot.from(t.response.headers))),Promise.reject(t)})}const vs="1.8.2",Xe={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Xe[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const Si={};Xe.transitional=function(e,t,r){function n(i,o){return"[Axios v"+vs+"] Transitional option '"+i+"'"+o+(r?". "+r:"")}return(i,o,s)=>{if(e===!1)throw new W(n(o," has been removed"+(t?" in "+t:"")),W.ERR_DEPRECATED);return t&&!Si[o]&&(Si[o]=!0,console.warn(n(o," has been deprecated since v"+t+" and will be removed in the near future"))),e?e(i,o,s):!0}};Xe.spelling=function(e){return(t,r)=>(console.warn(`${r} is likely a misspelling of ${e}`),!0)};function Ld(e,t,r){if(typeof e!="object")throw new W("options must be an object",W.ERR_BAD_OPTION_VALUE);const n=Object.keys(e);let i=n.length;for(;i-- >0;){const o=n[i],s=t[o];if(s){const u=e[o],c=u===void 0||s(u,o,e);if(c!==!0)throw new W("option "+o+" must be "+c,W.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new W("Unknown option "+o,W.ERR_BAD_OPTION)}}const Ne={assertOptions:Ld,validators:Xe},mt=Ne.validators;let kt=class{constructor(t){this.defaults=t,this.interceptors={request:new di,response:new di}}request(t,r){return U(this,null,function*(){try{return yield this._request(t,r)}catch(n){if(n instanceof Error){let i={};Error.captureStackTrace?Error.captureStackTrace(i):i=new Error;const o=i.stack?i.stack.replace(/^.+\n/,""):"";try{n.stack?o&&!String(n.stack).endsWith(o.replace(/^.+\n.+\n/,""))&&(n.stack+=`
61
61
  `+o):n.stack=o}catch(s){}}throw n}})}_request(t,r){typeof t=="string"?(r=r||{},r.url=t):r=t||{},r=It(this.defaults,r);const{transitional:n,paramsSerializer:i,headers:o}=r;n!==void 0&&Ne.assertOptions(n,{silentJSONParsing:mt.transitional(mt.boolean),forcedJSONParsing:mt.transitional(mt.boolean),clarifyTimeoutError:mt.transitional(mt.boolean)},!1),i!=null&&(R.isFunction(i)?r.paramsSerializer={serialize:i}:Ne.assertOptions(i,{encode:mt.function,serialize:mt.function},!0)),r.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?r.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:r.allowAbsoluteUrls=!0),Ne.assertOptions(r,{baseUrl:mt.spelling("baseURL"),withXsrfToken:mt.spelling("withXSRFToken")},!0),r.method=(r.method||this.defaults.method||"get").toLowerCase();let s=o&&R.merge(o.common,o[r.method]);o&&R.forEach(["delete","get","head","post","put","patch","common"],d=>{delete o[d]}),r.headers=ot.concat(s,o);const u=[];let c=!0;this.interceptors.request.forEach(function(d){typeof d.runWhen=="function"&&d.runWhen(r)===!1||(c=c&&d.synchronous,u.unshift(d.fulfilled,d.rejected))});const a=[];this.interceptors.response.forEach(function(d){a.push(d.fulfilled,d.rejected)});let l,f=0,h;if(!c){const d=[Ei.bind(this),void 0];for(d.unshift.apply(d,u),d.push.apply(d,a),h=d.length,l=Promise.resolve(r);f<h;)l=l.then(d[f++],d[f++]);return l}h=u.length;let p=r;for(f=0;f<h;){const d=u[f++],m=u[f++];try{p=d(p)}catch(b){m.call(this,b);break}}try{l=Ei.call(this,p)}catch(d){return Promise.reject(d)}for(f=0,h=a.length;f<h;)l=l.then(a[f++],a[f++]);return l}getUri(t){t=It(this.defaults,t);const r=ps(t.baseURL,t.url,t.allowAbsoluteUrls);return us(r,t.params,t.paramsSerializer)}};R.forEach(["delete","get","head","options"],function(e){kt.prototype[e]=function(t,r){return this.request(It(r||{},{method:e,url:t,data:(r||{}).data}))}});R.forEach(["post","put","patch"],function(e){function t(r){return function(n,i,o){return this.request(It(o||{},{method:e,headers:r?{"Content-Type":"multipart/form-data"}:{},url:n,data:i}))}}kt.prototype[e]=t(),kt.prototype[e+"Form"]=t(!0)});let Vd=class bs{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let r;this.promise=new Promise(function(i){r=i});const n=this;this.promise.then(i=>{if(!n._listeners)return;let o=n._listeners.length;for(;o-- >0;)n._listeners[o](i);n._listeners=null}),this.promise.then=i=>{let o;const s=new Promise(u=>{n.subscribe(u),o=u}).then(i);return s.cancel=function(){n.unsubscribe(o)},s},t(function(i,o,s){n.reason||(n.reason=new ee(i,o,s),r(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const r=this._listeners.indexOf(t);r!==-1&&this._listeners.splice(r,1)}toAbortSignal(){const t=new AbortController,r=n=>{t.abort(n)};return this.subscribe(r),t.signal.unsubscribe=()=>this.unsubscribe(r),t.signal}static source(){let t;return{token:new bs(function(r){t=r}),cancel:t}}};function Hd(e){return function(t){return e.apply(null,t)}}function qd(e){return R.isObject(e)&&e.isAxiosError===!0}const Fr={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Fr).forEach(([e,t])=>{Fr[t]=e});function ws(e){const t=new kt(e),r=Zo(kt.prototype.request,t);return R.extend(r,kt.prototype,t,{allOwnKeys:!0}),R.extend(r,t,null,{allOwnKeys:!0}),r.create=function(n){return ws(It(e,n))},r}const Z=ws(be);Z.Axios=kt;Z.CanceledError=ee;Z.CancelToken=Vd;Z.isCancel=fs;Z.VERSION=vs;Z.toFormData=Ge;Z.AxiosError=W;Z.Cancel=Z.CanceledError;Z.all=function(e){return Promise.all(e)};Z.spread=Hd;Z.isAxiosError=qd;Z.mergeConfig=It;Z.AxiosHeaders=ot;Z.formToJSON=e=>ls(R.isHTMLForm(e)?new FormData(e):e);Z.getAdapter=ys.getAdapter;Z.HttpStatusCode=Fr;Z.default=Z;const{Axios:A0,AxiosError:j0,CanceledError:D0,isCancel:B0,CancelToken:C0,VERSION:N0,all:k0,Cancel:I0,isAxiosError:F0,spread:M0,toFormData:P0,AxiosHeaders:U0,HttpStatusCode:L0,formToJSON:V0,getAdapter:H0,mergeConfig:q0}=Z,zd={form:"application/x-www-form-urlencoded",json:"application/json",data:"multipart/form-data"},Wd=["put","post","patch"],xi="Local-Request-Id",Jd=100,Yd=300;let Kd=class{constructor(t={}){ut(this,"axios"),ut(this,"settings"),ut(this,"records",{}),ut(this,"isLoading",!1),ut(this,"stopSkipWarn"),ut(this,"showLoading"),ut(this,"showError"),this.settings=Object.assign({type:"form"},t.settings||{});const r=hr(t,["settings","query"]);this.axios=Z.create(ae({headers:{"Content-Type":"application/x-www-form-urlencoded"},timeout:2*60*1e3},r)),this.setupSkipWarn(this.settings),this.showLoading=Ao(this.openLoading.bind(this),Jd),this.showError=gh(this._showError.bind(this),Yd,{leading:!0,trailing:!1})}setConfig(t={}){this.settings=ae(this.settings,t.settings||{});const r=hr(t,["settings","query"]);this.axios.defaults=ae(this.axios.defaults,r),this.setupSkipWarn(this.settings)}cancel(t,r="请求已取消"){if(t){const n=this.records[t];if(!n)return;n.source.cancel(r)}else for(const n of Object.values(this.records))n.source.cancel(r)}createHeaders(t,r,n){const i=r.injectHeaders?typeof r.headers=="function"?r.headers(t,n,r):r.headers||{}:{},o=V(V({"Content-Type":zd[r.type||"form"]},n.headers),i);return r.skipWarn&&(o[xi]=t),o}isJsonType(t){return Object.entries(t).some(([r,n])=>r.toLowerCase()==="content-type"&&String(n).includes("application/json"))}toFormData(t,r="data"){if(t instanceof FormData||t instanceof URLSearchParams)return t;const n=r==="data"?new FormData:new URLSearchParams;return Object.entries(t).forEach(([i,o])=>{n.append(i,o)}),n}createSendData(t,r,n,i,o={}){const{type:s,skipWarn:u}=t,{name:c="skipWarn"}=u||{};let{data:a,params:l={},method:f="get"}=r;const h=i?{[c]:!0}:{};return Wd.includes(f.toLowerCase())?(a=Object.assign(a||{},h),a=s!=="json"||!this.isJsonType(n)?this.toFormData(a,s):a,l=V({},o)):s==="form"?l=V(V(V({},a||{}),o),h):(a&&(s!=="json"||!this.isJsonType(n))&&(a=this.toFormData(a,s)),l=V(V({},o),h)),{data:a,params:l}}createUrl(t){let{url:r,params:n}=t;if(r){let i=qo(r)?new URL(r).origin:"";const o=i?r.replace(i,""):r;try{const s=ep(o,{encode:encodeURIComponent});return i+s(n||{})}catch(s){console.warn("createUrl","pathToRegexpCompile error",r)}}return r}openLoading(t){const{loading:r,showLoading:n}=t;r&&n&&Object.keys(this.records).length>0&&(this.isLoading=!0,n())}closeLoading(t){const{loading:r,hideLoading:n}=t;if(!r)return;this.isLoading=!1;const i=Object.keys(this.records);n&&i.length===0&&(this.isLoading=!1,n())}_showError(t,r){var o;const{failMessage:n,showError:i}=t;if(n&&i){const s=(o=r.response)==null?void 0:o.data,u=(s==null?void 0:s.message)||(s==null?void 0:s.msg)||(r==null?void 0:r.message)||(r==null?void 0:r.msg)||"未知错误";i(u,r)}}validResponse(t,r){const{validSuccess:n,validate:i}=t;return n&&i?!!i(r):!0}isSkipWarnResponse(t){return!!t.promise}send(t={},r=!1){const n=ae({},this.settings,t.settings||{}),i=t.query||{},o=hr(t,["settings","query"]),s=Kh(!1),u=Z.CancelToken.source();this.records[s]={settings:n,config:o,source:u};const c=this.createUrl(o),a=this.createHeaders(s,n,o),{data:l,params:f}=this.createSendData(n,o,a,r,i);return this.showLoading(n),new Promise((h,p)=>{this.axios(Q(V({cancelToken:u.token},o),{url:c,headers:a,data:l,params:f})).then(d=>{var m;return this.isSkipWarnResponse(d)?h(d.promise):this.validResponse(n,d)?h(n.originResponse?d:(m=d.data)==null?void 0:m.data):(this.showError(n,d.data),p(d.data))}).catch(d=>(this.showError(n,d),p(d))).finally(()=>{delete this.records[s],this.closeLoading(n)})})}useResponse(t,r){const{response:n}=this.axios.interceptors,i=n.use(t,r);return()=>n.eject(i)}useRequest(t,r){const{request:n}=this.axios.interceptors,i=n.use(t,r);return()=>n.eject(i)}setupSkipWarn(t){if(this.stopSkipWarn&&(this.stopSkipWarn(),this.stopSkipWarn=void 0),!t.skipWarn)return;const{code:r,executor:n,callback:i,complete:o}=t.skipWarn;this.stopSkipWarn=this.useResponse(s=>{const u=(s.config.headers||{})[xi],c=this.records[u];if(!c)return s;const{data:a}=s;if(!a||typeof a!="object")return s;if((a==null?void 0:a.code)===r){i&&i(s);const l=new Promise(n).then(()=>this.send(Q(V({},c.config),{settings:c.settings}),!0));l.catch(f=>f).finally(()=>{o&&o()}),s.promise=l}return s})}};function nn(e={}){const t=new Kd(e),r=t.send.bind(t),n=t.cancel.bind(t),i=t.setConfig.bind(t),o=t.useRequest.bind(t),s=t.useResponse.bind(t);return Object.assign(r,Q(V({},t),{instance:t,send:r,cancel:n,setConfig:i,useRequest:o,useResponse:s}))}const Mr=nn({settings:{injectHeaders:!0,loading:!0,originResponse:!0}}),Pr=typeof window<"u";function Gd(e){const t={};return e?(e.forEach((r,n)=>{t[n]=typeof r=="string"?decodeURIComponent(r):r}),t):{}}let _s=class{constructor(t={}){ut(this,"options",{type:"cache",expired:0,prefix:"__VTJ_"}),ut(this,"caches",{}),ut(this,"types"),this.types={local:Pr?window.localStorage:this.caches,session:Pr?window.sessionStorage:this.caches,cache:this.caches},this.config(t)}config(t={}){this.options=Object.assign(this.options,t)}save(t,r,n={}){const{type:i,expired:o,prefix:s}=V(V({},this.options),n),u=Date.now(),c=s+t,a=this.types[i]||this.caches,l={value:r,timestamp:u,expired:o};a===this.caches?a[c]=l:a.setItem(c,JSON.stringify(l))}get(t,r={}){const{type:n,prefix:i}=V(V({},this.options),r),o=i+t,s=this.types[n]||this.caches;let u;if(s===this.caches)u=s[o];else{const f=s.getItem(o);f&&(u=JSON.parse(f))}if(!u)return null;const{value:c,timestamp:a,expired:l}=u;return l>0&&a+l<Date.now()?(this.remove(t,r),null):c}remove(t,r={}){const{type:n,prefix:i}=V(V({},this.options),r),o=this.types[n]||this.caches,s=i+t;o===this.caches?delete o[s]:o.removeItem(s)}clear(t={}){const{type:r}=V(V({},this.options),t),n=this.types[r]||this.caches;n===this.caches?this.caches={}:n.clear()}};new _s;function Es(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ke={exports:{}},Zd=ke.exports,Ti;function Xd(){return Ti||(Ti=1,function(e,t){(function(r,n){n(t,e)})(Zd,function(r,n){var i={timeout:5e3,jsonpCallback:"callback"};function o(){return"jsonp_"+Date.now()+"_"+Math.ceil(Math.random()*1e5)}function s(a){try{delete window[a]}catch(l){window[a]=void 0}}function u(a){var l=document.getElementById(a);l&&document.getElementsByTagName("head")[0].removeChild(l)}function c(a){var l=arguments.length<=1||arguments[1]===void 0?{}:arguments[1],f=a,h=l.timeout||i.timeout,p=l.jsonpCallback||i.jsonpCallback,d=void 0;return new Promise(function(m,b){var E=l.jsonpCallbackFunction||o(),y=p+"_"+E;window[E]=function(w){m({ok:!0,json:function(){return Promise.resolve(w)}}),d&&clearTimeout(d),u(y),s(E)},f+=f.indexOf("?")===-1?"?":"&";var v=document.createElement("script");v.setAttribute("src",""+f+p+"="+E),l.charset&&v.setAttribute("charset",l.charset),l.nonce&&v.setAttribute("nonce",l.nonce),l.referrerPolicy&&v.setAttribute("referrerPolicy",l.referrerPolicy),l.crossorigin&&v.setAttribute("crossorigin","true"),v.id=y,document.getElementsByTagName("head")[0].appendChild(v),d=setTimeout(function(){b(new Error("JSONP request to "+a+" timed out")),s(E),u(y),window[E]=function(){s(E)}},h),v.onerror=function(){b(new Error("JSONP request to "+a+" failed")),s(E),u(y),d&&clearTimeout(d)}})}n.exports=c})}(ke,ke.exports)),ke.exports}var Qd=Xd();const tm=Es(Qd);function em(e){if(Pr){const{protocol:t,host:r,pathname:n}=location;return`${t}//${r}${e?n:""}`}else return null}function rm(e=""){const t=e.match(Ho);return t?t[0]:""}function Ss(e){const t=[];for(const r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.push([r,encodeURIComponent(e[r])].join("="));return t.join("&")}function Ur(e,t,r){const n={};e=(e||location.search).replace(/^[^]*\?/,""),t=t||"&",r=r||"=";let i;const o=new RegExp("(?:^|\\"+t+")([^\\"+r+"\\"+t+"]+)(?:\\"+r+"([^\\"+t+"]*))?","g");for(;(i=o.exec(e))!==null;)i[1]!==e&&(n[decodeURIComponent(i[1])]=decodeURIComponent(i[2]||""));return n}function xs(e,t){t=typeof t=="string"?Ur(t):t;const r=e.split("?")[0],n=Ur(e),i=Object.assign({},n,t),o=Ss(i);return o?[r,o].join("?"):e}const Ie=Object.freeze(Object.defineProperty({__proto__:null,append:xs,getCurrentHost:em,getHost:rm,parse:Ur,stringify:Ss},Symbol.toStringTag,{value:"Module"}));function Ts(r){return U(this,arguments,function*(e,t={}){const{query:n={}}=t;e.includes("${")&&(e=dh(e)(n||{}));const i=xs(e,n);return yield(yield tm(i,t)).json()})}var gr,Ri;function nm(){if(Ri)return gr;Ri=1,gr=function(n,i,o){var s=document.head||document.getElementsByTagName("head")[0],u=document.createElement("script");typeof i=="function"&&(o=i,i={}),i=i||{},o=o||function(){},u.type=i.type||"text/javascript",u.charset=i.charset||"utf8",u.async="async"in i?!!i.async:!0,u.src=n,i.attrs&&e(u,i.attrs),i.text&&(u.text=""+i.text);var c="onload"in u?t:r;c(u,o),u.onload||t(u,o),s.appendChild(u)};function e(n,i){for(var o in i)n.setAttribute(o,i[o])}function t(n,i){n.onload=function(){this.onerror=this.onload=null,i(null,n)},n.onerror=function(){this.onerror=this.onload=null,i(new Error("Failed to load "+this.src),n)}}function r(n,i){n.onreadystatechange=function(){this.readyState!="complete"&&this.readyState!="loaded"||(this.onreadystatechange=null,i(null,n))}}return gr}var im=nm();const om=Es(im);function Oi(e,t={}){return new Promise((r,n)=>{const{library:i}=t;om(e,t,(o,s)=>{o?n(o):r(i?window[i]:void 0)})})}const $i={debug:-1,log:0,info:0,warn:1,error:2},sm=function(e,t,r,n){return function(...i){if(t&&$i[t]<=$i[e]&&console[e].apply&&(n==="*"||r.startsWith(n)))return console[e].apply(console,am(i,r))}};function am(e,t){return t!=="*"&&(typeof e[0]=="string"?e[0]=`[${t}] ${e[0]}`:e=["["+t+"]"].concat(e)),e}function um(e,t){if(!e)return{targetLevel:t.level,targetBizName:t.bizName};if(~e.indexOf(":")){const r=e.split(":");return{targetLevel:r[0],targetBizName:r[1]}}return{targetLevel:e,targetBizName:"*"}}const cm={level:"warn",bizName:"*"};class lm{constructor(t){ut(this,"config"),ut(this,"options"),this.options=V(V({},cm),t);const r=typeof location<"u"?location:{},n=(/__(?:logConf|logLevel)__=([^#/&]*)/.exec(r.href)||[])[1];this.config=um(n,t)}_log(t){const{targetLevel:r,targetBizName:n}=this.config,{bizName:i}=this.options;return sm(t,r,i,n)}debug(...t){return this._log("debug")(...t)}log(...t){return this._log("log")(...t)}info(...t){return this._log("info")(...t)}warn(...t){return this._log("warn")(...t)}error(...t){return this._log("error")(...t)}}function fm(e){return new lm(e)}const Gt=fm({level:"log",bizName:"VTJ"});/*! js-cookie v3.0.5 | MIT */function Ae(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)e[n]=r[n]}return e}var hm={read:function(e){return e[0]==='"'&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};function Lr(e,t){function r(i,o,s){if(!(typeof document>"u")){s=Ae({},t,s),typeof s.expires=="number"&&(s.expires=new Date(Date.now()+s.expires*864e5)),s.expires&&(s.expires=s.expires.toUTCString()),i=encodeURIComponent(i).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var u="";for(var c in s)s[c]&&(u+="; "+c,s[c]!==!0&&(u+="="+s[c].split(";")[0]));return document.cookie=i+"="+e.write(o,i)+u}}function n(i){if(!(typeof document>"u"||arguments.length&&!i)){for(var o=document.cookie?document.cookie.split("; "):[],s={},u=0;u<o.length;u++){var c=o[u].split("="),a=c.slice(1).join("=");try{var l=decodeURIComponent(c[0]);if(s[l]=e.read(a,l),i===l)break}catch(f){}}return i?s[i]:s}}return Object.create({set:r,get:n,remove:function(i,o){r(i,"",Ae({},o,{expires:-1}))},withAttributes:function(i){return Lr(this.converter,Ae({},this.attributes,i))},withConverter:function(i){return Lr(Ae({},this.converter,i),this.attributes)}},{attributes:{value:Object.freeze(t)},converter:{value:Object.freeze(e)}})}Lr(hm,{path:"/"});var nt=(e=>(e.Runtime="Runtime",e.Design="Design",e.Raw="Raw",e.VNode="VNode",e))(nt||{});const Ai=["$el","$emit","$nextTick","$parent","$root","$attrs","$slots","$watch","$props","$options","$forceUpdate"],pm=["vIf","vShow","vModel","vFor","vBind","vHtml"],dm={String,Number,Boolean,Array,Object,Function,Date},yr="VtjPage",vr="VtjHomepage",mm="html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot".split(","),gm="component,slot".split(",");function je(e,t){return e.map(r=>qo(r)||r.startsWith("/")?r:`${t}${r}`)}function on(e){return/\.css$/.test(e)}function sn(e){return/\.js$/.test(e)}function ym(e){return/\.json$/.test(e)}function vm(e,t=!1){return t&&e.endsWith(".prod.js")?e.replace(".prod.js",".js"):e}function bm(e,t,r=!1){const n=e.filter(h=>!!h.enabled),i=[],o=[],s=[],u=[],c={},a={},l=[],f={};return n.forEach(({urls:h,assetsUrl:p,library:d,assetsLibrary:m,localeLibrary:b})=>{h==null||h.forEach(E=>{sn(E)&&i.push(vm(E,r)),on(E)&&o.push(E)}),d&&(u.push(d),c[d]=je(h||[],t),b&&(a[d]=b)),p&&s.push(p),m&&l.push(m),d&&m&&(f[m]=d)}),{scripts:je(i,t),css:je(o,t),materials:je(s,t),libraryExports:u,materialExports:Xh(l),materialMapLibrary:f,libraryMap:c,libraryLocaleMap:a}}function wm(e,t){var o;const{name:r,parent:n,alias:i}=e;return n?(o=t[n])==null?void 0:o[i||r]:t[i||r]}function Rs(e){return Pt(e)?e:JSON.stringify(e)}function an(e,t,r){const n=e.CSSStyleSheet;if(n.prototype.replaceSync){const i=new n;i.id=t,i.replaceSync(r);const o=e.document,s=o.adoptedStyleSheets,u=Array.from(s).filter(c=>c.id!==t);o.adoptedStyleSheets=[...u,i]}else{const i=e.document;let o=i.getElementById(t);o?o.innerHTML=r:(o=i.createElement("style"),o.id=t,o.innerHTML=r,i.head.appendChild(o))}}function _m(e,t){return U(this,null,function*(){const r=yield window.fetch(t).then(n=>n.text()).catch(()=>"");r&&an(window,e,r)})}function Em(e,t=window){const r=t.document,n=t.document.head;for(const i of e)if(!r.getElementById(i)){const o=r.createElement("link");o.rel="stylesheet",o.id=i,o.href=i,n.appendChild(o)}}function Sm(n,i){return U(this,arguments,function*(e,t,r=window){const o=r.document,s=r.document.head;let u=r[t];return u?u.default||u:new Promise((c,a)=>{for(const l of e){const f=o.createElement("script");f.src=l,f.onload=()=>{u=r[t],u?c(u.default||u):a(null)},f.onerror=h=>{a(h)},s.appendChild(f)}})})}function xm(e){return fe(e)||fe(e==null?void 0:e.install)}function Tm(e){return gm.includes(e)}function Rm(e){return mm.includes(e)}function me(e=window){const t=window.Mock;if(t)return t;const r=e.Mock;if(r)return window.Mock=r,r}function ge(e,t,r=!1,n=!1){var i;try{const o=['"use strict";',"var __self = arguments[0];"];o.push("return ");let s=(e.value||"").trim();s=s.replace(/this(\W|$)/g,(c,a)=>`__self${a}`),s=o.join(`
62
62
  `)+s;const u=`with(${r?"{}":"$scope || {}"}) { ${s} }`;return new Function("$scope",u)(t)}catch(o){if(Gt.error("parseExpression.error",o,e,(i=t==null?void 0:t.__self)!=null?i:t),n)throw o}}function Ue(e,t,r=!1,n=!1){var o;const i=ge(e,t,r,n);if(typeof i!="function"&&(Gt.error("parseFunction.error","not a function",e,(o=t==null?void 0:t.__self)!=null?o:t),n))throw new Error(`"${e.value}" not a function`);return i}function ht(e){return e&&e.type==="JSExpression"}function Qe(e){return typeof e=="object"&&e&&e.type==="JSFunction"}function Om(e={}){const{notify:t,loading:r,settings:n={}}=e;let i=null;return{request:nn({settings:V({type:"form",validSuccess:!0,originResponse:!1,loading:!0,validate:o=>{var s,u;return((s=o.data)==null?void 0:s.code)===0||!!((u=o.data)!=null&&u.success)},failMessage:!0,showError:o=>{t&&t(o||"未知错误")},showLoading:()=>{i&&i.close(),r&&(i=r())},hideLoading:()=>{i&&(i.close(),i=null)}},n)}),jsonp:Ts,notify:t,loading:r}}function $m(e,t){const{jsonp:r,request:n}=t;if(e.method==="jsonp")return(i={})=>r(e.url,Q(V({},e.jsonpOptions),{query:i}));{const i=e.headers?ge(e.headers,{},!0):void 0,o={url:e.url,method:e.method,settings:Q(V({},e.settings),{headers:i})};return(s,u)=>(delete o.data,n.send(ae(o,u||{},{data:s})))}}function Am(e,t){const{metaQuery:r}=t;if(!r)return;const{code:n,queryCode:i}=e;return(o,s)=>{if(!r){console.warn("adapter.metaQuery is not defined!");return}return r(n,i,o,s)}}function jm(e=[],t=[],r){const n={};for(const i of e)n[i.id]=$m(i,r);for(const i of t)n[i.id]=Am(i,r);return n}function Dm(){return U(this,arguments,function*(e=[],t=window){const r=me(t);r&&(Os(t),e.forEach(n=>Cm(r,n)))})}function Bm(e,t=window){const r=Qe(e.mockTemplate)&&e.mockTemplate.value?Ue(e.mockTemplate,{},!0):void 0,n=me(t);return(...i)=>U(this,null,function*(){let o={};if(r)try{o=yield r.apply(r,i)}catch(s){Gt.warn("模拟数据模版异常",s)}return n==null?void 0:n.mock(o)})}function Cm(e,t){if(!t.mock)return;const{url:r,mockTemplate:n}=t;if(r&&n){const i=Qr(`${r}(.*)`),o=np(r,{decode:decodeURIComponent}),s=ge(n,{},!0);e.mock(i,u=>{var f;const c=Ie.parse(u.url)||{},a=u.body instanceof FormData?Gd(u.body):u.body,l=(f=o(u.url))==null?void 0:f.params;return Object.assign(u,{data:a,params:c,query:l}),e.mock(s(u))})}}function Os(e=window){const t=me(e);t&&(t._mocked={})}class Nm{constructor(t){z(this,"__id",null);z(this,"__mode");z(this,"__instance",null);z(this,"__contextRefs",{});z(this,"__refs",{});z(this,"context",{});z(this,"state",{});z(this,"props",{});z(this,"$props",{});z(this,"$refs",{});z(this,"$el",null);z(this,"$emit",null);z(this,"$nextTick",null);z(this,"$parent",null);z(this,"$root",null);z(this,"$attrs",null);z(this,"$slots",null);z(this,"$watch",null);z(this,"$options",null);z(this,"$forceUpdate",null);z(this,"$components",{});z(this,"$libs",{});z(this,"$apis",{});z(this,"__transform",{});const{mode:r,dsl:n,attrs:i}=t;this.__mode=r,n&&(this.__id=n.id||null,this.__transform=n.transform||{}),i&&Object.assign(this,i)}setup(t,r=Ve){const n=r.getCurrentInstance();if(!n)return;this.__refs={},this.$refs={},this.context={},this.__contextRefs={},this.__instance=n.proxy;const i=n.appContext.config.globalProperties;Object.assign(this,i),Object.assign(this,t||{}),this.__proxy(),r.onMounted(()=>{this.__proxy()}),r.onUnmounted(()=>{this.__cleanup()}),r.onBeforeUpdate(()=>{this.__reset()})}__proxy(){this.__instance&&Ai.forEach(t=>{var r;this[t]=(r=this.__instance)==null?void 0:r[t]})}__cleanup(){Ai.forEach(t=>{this[t]=null}),this.__reset()}__reset(){this.__refs={},this.$refs={},this.__contextRefs={},this.context={}}__parseFunction(t){var r;if(t)if(this.__mode===nt.Runtime){const{id:n,type:i}=t,o=n&&(r=this.__transform[n])!=null?r:t.value;return Ue({type:i,value:o},this)}else return Ue(t,this)}__parseExpression(t){var r;if(t)if(this.__mode===nt.Runtime){const{id:n,type:i}=t,o=n&&(r=this.__transform[n])!=null?r:t.value;return ge({type:i,value:o},this)}else return ge(t,this)}__ref(t=null,r){if(this.__mode!==nt.VNode)return t&&t!==this.__id&&(this.__contextRefs[t]=this),n=>U(this,null,function*(){var o,s;yield Gh(0);let i=(n==null?void 0:n.$vtjEl)||(n==null?void 0:n.$el)||((s=(o=n==null?void 0:n._)==null?void 0:o.vnode)==null?void 0:s.el)||n;if(!i){typeof r=="string"&&(delete this.$refs[r],t&&delete this.__refs[t]);return}return i.nodeType===3&&i.nextSibling&&(i=i.nextSibling),i.__vtj__=t,nt.Design===this.__mode&&(i.__context__=this,i.draggable=!0),t&&(this.__refs[t]=this.__getRefEl(this.__refs,t,n)),typeof r=="function"?r(n):r&&(this.$refs[r]=this.__getRefEl(this.$refs,r,n)),n})}__getRefEl(t,r,n){const i=t[r];if(i&&n!==i){const o=new Set([].concat(i,n));return Array.from(o)}else return n}__clone(t={}){const r=V(V({},this.context),t),n=Q(V({},r),{context:r});return n.context.__proto__=this.context,n.__proto__=this,n}}function Vr(e){var f,h;const{Vue:t=Ve,mode:r=nt.Runtime,components:n={},libs:i={},apis:o={},loader:s}=e,u=t.computed(()=>e.dsl),c={$components:n,$libs:i,$apis:o},a=new Nm({mode:r,dsl:u.value,attrs:c}),l=t.defineComponent(V({name:u.value.name,props:V({},Im((f=u.value.props)!=null?f:[],a)),setup(p){var v,w,S,g;a.$props=p,a.props=p,u.value.id&&an(e.window||window,u.value.id,u.value.css||""),a.state=Fm(t,(v=u.value.state)!=null?v:{},a);const d=Mm(t,(w=u.value.computed)!=null?w:{},a),m=Pm((S=u.value.methods)!=null?S:{},a),b=Um(t,u.value.inject,a),E=Lm(u.value.dataSources||{},a),y=V(V(V(V({},b),d),m),E);return a.setup(y,t),Vm(t,(g=u.value.watch)!=null?g:[],a),{vtj:a}},emits:km(u.value.emits),expose:["vtj"],render(){if(!u.value.nodes)return null;const p=u.value.nodes||[];return p.length===1?Le(p[0],a,t,s):p.map(d=>Le(d,a,t,s))}},Hm((h=u.value.lifeCycles)!=null?h:{},a)));return{renderer:t.markRaw(l),context:a}}function km(e=[]){return e.map(t=>Pt(t)?t:t.name)}function Im(e=[],t){const r=n=>n?(Array.isArray(n)?n:[n]).map(i=>dm[i]):void 0;return e.map(n=>Pt(n)?{name:n}:{name:n.name,type:n.type,required:n.required,default:ht(n.default)?t.__parseExpression(n.default):n.default}).reduce((n,i)=>(n[i.name]={type:r(i.type),required:i.required,default:i.default},n),{})}function Fm(e,t,r){return e.reactive(Object.keys(t||{}).reduce((n,i)=>{let o=t[i];return ht(o)?o=r.__parseExpression(o):Qe(o)&&(o=r.__parseFunction(o)),n[i]=o,n},{}))}function Mm(e,t,r){return Object.entries(t!=null?t:{}).reduce((n,[i,o])=>(n[i]=e.computed(r.__parseFunction(o)),n),{})}function Pm(e,t){return Object.entries(e!=null?e:{}).reduce((r,[n,i])=>(r[n]=t.__parseFunction(i),r),{})}function Um(e,t=[],r){return t.reduce((n,i)=>{var a;const{name:o,from:s}=i||{};i.default;const u=ht(s)?r.__parseExpression(s)||o:s!=null?s:o,c=ht(i.default)?r.__parseExpression(i.default):(a=i.default)!=null?a:null;return n[o]=e.inject(u,c),n},{})}function Lm(e,t){return Object.keys(e).reduce((r,n)=>{const i=e[n];if(i.type==="mock")r[n]=Bm(i);else if(i.ref){const o=t.$apis[i.ref],s=Qe(i.transform)?i.transform.value?t.__parseFunction(i.transform):void 0:i.transform;r[n]=(...u)=>U(this,null,function*(){const c=yield o.apply(t,u);return s?s(c):c})}return r},{})}function Vm(e,t=[],r){t.forEach(n=>{e.watch(r.__parseExpression(n.source),r.__parseFunction(n.handler),{deep:n.deep,immediate:n.immediate})})}function Hm(e,t){return Object.entries(e!=null?e:{}).reduce((r,[n,i])=>(r[n]=t.__parseFunction(i),r),{})}let br=[],zt={};const qm=e=>e;function $s(r){return U(this,arguments,function*(e,t=window){const{urls:n=[],library:i}=e,o=n.filter(u=>sn(u));if(o.length===0||!i)return null;const s=n.filter(u=>on(u));return s.length&&Em(s,t),yield Sm(o,i,t).catch(u=>(console.warn("loadScriptUrl error",o,i,u),null))})}function Hr(e){const{getDsl:t,getDslByUrl:r,options:n}=e;return n.window&&(br.forEach(i=>{delete n.window[i]}),br=[]),(i,o,s=Ve)=>{if(!o||typeof o=="string")return i;if(o.type==="Schema"&&o.id){let u=zt[o.id];return u||(u=zt[o.id]=s.defineAsyncComponent(()=>U(this,null,function*(){const c=yield t(o.id);return c&&(c.name=i),c?Vr(Q(V({},n),{Vue:s,dsl:c,mode:nt.Runtime,loader:Hr(e)})).renderer:null})),u)}if(o.type==="UrlSchema"&&o.url){let u=zt[o.url];return u||(u=zt[o.url]=s.defineAsyncComponent(()=>U(this,null,function*(){const c=yield r(o.url);return c&&(c.name=i),c?Vr(Q(V({},n),{Vue:s,dsl:c,mode:nt.Runtime,loader:Hr(e)})).renderer:null})),u)}if(o.type==="Plugin"){let u=o.library?zt[o.library]:null;return u||(o.library&&br.push(o.library),u=zt[o.library||Symbol()]=s.defineAsyncComponent(()=>U(this,null,function*(){return(yield $s(o,n.window))||(console.warn("getPlugin result is null",o),null)})),u)}return i}}function Le(e,t,r=Ve,n=qm){var m;if(!e||!e.name||e.invisible)return null;const i=(m=r.getCurrentInstance())==null?void 0:m.appContext,{id:o=null,directives:s=[]}=e,{vIf:u,vFor:c,vShow:a,vModels:l,vBind:f,vHtml:h,others:p}=Wm(s);if(u&&!Jm(u,t))return null;const d=b=>{var O,M,_,T;const E=b.$components,y=(()=>{var D,I,j,C;if(e.name==="component")return Ym(b,(D=e.props)==null?void 0:D.is);if(e.name==="slot")return e.name;const F=n(e.name,e.from,r);return Pt(F)?Tm(F)||Rm(F)?F:(C=(j=E[F])!=null?j:(I=i==null?void 0:i.app)==null?void 0:I.component(F))!=null?C:F:F})(),v=Km(o,(O=e.props)!=null?O:{},b),w=Gm(r,(M=e.events)!=null?M:{},b);if(e.name==="slot")return Zm(r,e,v,b,n);f&&Object.assign(v,b.__parseExpression(f.value)),a&&(v.style=Object.assign((_=v.style)!=null?_:{},Qm(a,b))),h&&Object.assign(v,tg(h,b)),l.forEach(F=>{Object.assign(v,eg(r,F,b))});const S=rg(r,(T=e.children)!=null?T:[],b,n,e);let g=r.createVNode(y,V(V({},v),w),S);const x=i?zm(i,p,b):[];return x.length&&(g=r.withDirectives(g,x)),g};return c?og(c,d,t):d(t)}function zm(e,t,r){const n=e.app;return t.map(i=>{const o=typeof i.name=="string"?n.directive(i.name):r.__parseExpression(i.name);if(!o)return null;const s=[o];return i.value&&s.push(r.__parseExpression(i.value)),i.arg&&s.push(i.arg),i.modifiers&&s.push(i.modifiers),s}).filter(i=>!!i)}function Wm(e=[]){const t=e.find(c=>Dt(c.name)==="vIf"),r=e.find(c=>Dt(c.name)==="vFor"),n=e.find(c=>Dt(c.name)==="vShow"),i=e.find(c=>Dt(c.name)==="vBind"),o=e.find(c=>Dt(c.name)==="vHtml"),s=e.filter(c=>Dt(c.name)==="vModel"),u=e.filter(c=>!pm.includes(Dt(c.name)));return{vIf:t,vFor:r,vShow:n,vModels:s,vBind:i,others:u,vHtml:o}}function Jm(e,t){return!!t.__parseExpression(e.value)}function Ym(e,t){return t?ht(t)?e.__parseExpression(t):t:"div"}function Km(e,t,r){const n=qr(t,r);return n.ref=r.__ref(e,n.ref),n}function qr(e,t){return ht(e)?t.__parseExpression(e):Qe(e)?t.__parseFunction(e):Array.isArray(e)?e.map(r=>qr(r,t)):typeof e=="object"?Object.keys(e||{}).reduce((r,n)=>{let i=e[n];return r[n]=qr(i,t),r},{}):e}function Gm(e,t,r){const n=["passive","capture","once"],i={capture:"Capture",once:"Once",passive:"OnceCapture"};return Object.keys(t||{}).reduce((o,s)=>{const u=t[s],c=As(u.modifiers),a=c.find(h=>n.includes(h)),l="on"+ho(s)+(a&&i[a]||""),f=r.__parseFunction(u.handler);return f&&(o[l]=e.withModifiers(f,c)),o},{})}function As(e={},t=!1){const r=Object.keys(e);return t?r.map(n=>"."+n):r}function Zm(e,t,r,n,i){var c;const{children:o}=t,s=Xm(t,n),u=(c=n.$slots)==null?void 0:c[s.name];return u?u(r):o?Pt(o)?e.createTextVNode(o):ht(o)?e.createTextVNode(Rs(n.__parseExpression(o))):Array.isArray(o)?o.map(a=>Le(a,n,e,i)):null:null}function Xm(e,t){const{props:r}=e,n=(r==null?void 0:r.name)||"default";return{name:ht(n)?t.__parseExpression(n):n,params:[]}}function Qm(e,t){return t.__parseExpression(e.value)?{}:{display:"none"}}function tg(e,t){return{innerHTML:t.__parseExpression(e.value)||""}}function eg(e,t,r){var u;const n={type:"JSFunction",value:(u=t.value)!=null&&u.value?`(v) => {
63
63
  ${t.value.value} = v;
@@ -146,6 +146,6 @@ version: 2.9.0
146
146
  * Copyright (c) 2025, VTJ.PRO All rights reserved.
147
147
  * @name @vtj/uni
148
148
  * @author CHC chenhuachun1549@dingtalk.com
149
- * @version 0.10.9
149
+ * @version 0.10.10
150
150
  * @license <a href="https://vtj.pro/license.html">MIT License</a>
151
151
  */const Cg=["onLaunch","onShow","onHide","onError","onPageNotFound","onUnhandledRejection","onThemeChange","onPageNotFound","onUniNViewMessage","onExit"],Di="/pages",Ng="VTJ",kg="__UNI__1FC118B",Ig="VTJ移动跨端项目",Fg="1.0.0",Mg="100",Pg=!1,Ug={},Lg={enable:!1},Vg="3",Hg={name:Ng,appid:kg,description:Ig,versionName:Fg,versionCode:Mg,transformPx:Pg,"app-plus":{usingComponents:!0,nvueStyleCompiler:"uni-app",compilerVersion:3,splashscreen:{alwaysShowBeforeRender:!0,waiting:!0,autoclose:!0,delay:0},modules:{},distribute:{android:{permissions:['<uses-permission android:name="android.permission.CHANGE_NETWORK_STATE"/>','<uses-permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS"/>','<uses-permission android:name="android.permission.VIBRATE"/>','<uses-permission android:name="android.permission.READ_LOGS"/>','<uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>','<uses-feature android:name="android.hardware.camera.autofocus"/>','<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>','<uses-permission android:name="android.permission.CAMERA"/>','<uses-permission android:name="android.permission.GET_ACCOUNTS"/>','<uses-permission android:name="android.permission.READ_PHONE_STATE"/>','<uses-permission android:name="android.permission.CHANGE_WIFI_STATE"/>','<uses-permission android:name="android.permission.WAKE_LOCK"/>','<uses-permission android:name="android.permission.FLASHLIGHT"/>','<uses-feature android:name="android.hardware.camera"/>','<uses-permission android:name="android.permission.WRITE_SETTINGS"/>']},ios:{},sdkConfigs:{},icons:{android:{hdpi:"src/static/logo.png",xhdpi:"src/static/logo.png",xxhdpi:"src/static/logo.png",xxxhdpi:"src/static/logo.png"}}}},quickapp:Ug,"mp-weixin":{appid:"",setting:{urlCheck:!1},usingComponents:!0},"mp-alipay":{usingComponents:!0},"mp-baidu":{usingComponents:!0},"mp-toutiao":{usingComponents:!0},uniStatistics:Lg,vueVersion:Vg},qg=[],zg={navigationBarTextStyle:"black",navigationBarTitleText:"uni-app",navigationBarBackgroundColor:"#F8F8F8",backgroundColor:"#F8F8F8"},Wg={autoscan:!0,custom:{"^uni-(.*)":"@dcloudio/uni-ui/lib/uni-$1/uni-$1.vue"}},Jg={pages:qg,globalStyle:zg,easycom:Wg};function Yg(e){let{manifestJson:t={},pagesJson:r={},routes:n=[]}=e;const i=n.map(o=>{const{path:s,style:u,needLogin:c}=o;return{path:s,style:u,needLogin:c}});return Q(V({},e),{manifestJson:Object.assign({},Hg,t),pagesJson:Object.assign({},Jg,r,{pages:i})})}const zr={navigationBarBackgroundColor:"backgroundColor",navigationBarTextStyle:"titleColor",navigationBarTitleText:"titleText",navigationStyle:"style",titleImage:"titleImage",titlePenetrate:"titlePenetrate",transparentTitle:"transparentTitle"};function Ns(e){const t={},r={black:"#000000",white:"#ffffff"};for(const n in e)zr[n]&&(t[zr[n]]=n==="navigationBarTextStyle"?r[e[n]]||r.black:e[n]);return t}function Kg(e){const t={};for(const r in e)zr[r]||(t[r]=e[r]);return t}function Gg(e){var t,r;return((r=(t=e.h5)==null?void 0:t.router)==null?void 0:r.mode)||"hash"}function Zg(e){var t,r,n;return{topWindow:!!((t=e.topWindow)!=null&&t.path),leftWindow:!!((r=e.leftWindow)!=null&&r.path),rightWindow:!!((n=e.rightWindow)!=null&&n.path)}}function Xg(e){const{pagesJson:t={}}=e,{globalStyle:r,pages:n=[]}=t;return!!(r!=null&&r.enablePullDownRefresh||n.find(i=>{var o;return!!((o=i.style)!=null&&o.enablePullDownRefresh)}))}function Qg(e){const{pagesJson:t={}}=e,{globalStyle:r,pages:n=[]}=t;let i=!1;return(r==null?void 0:r.navigationStyle)==="custom"?(i=!0,n.find(o=>{var s;return((s=o.style)==null?void 0:s.navigationStyle)==="default"})&&(i=!1)):n.every(o=>{var s;return((s=o.style)==null?void 0:s.navigationStyle)==="custom"})&&(i=!0),i}function t0(e){var u;const t=Qg(e),r={navigationBar:!1,navigationBarButtons:!1,navigationBarSearchInput:!1,navigationBarTransparent:!1},{pagesJson:n={}}=e,{globalStyle:i,pages:o=[]}=n;if(t)return r;r.navigationBar=!0;const s=(u=i==null?void 0:i.h5)==null?void 0:u.titleNView;return o.find(c=>{var a,l,f;return!!((f=(l=(a=c.style)==null?void 0:a.h5)==null?void 0:l.titleNView)!=null&&f.buttons.length)})&&(r.navigationBarButtons=!0),(s!=null&&s.searchInput||o.find(c=>{var a,l,f;return!!((f=(l=(a=c.style)==null?void 0:a.h5)==null?void 0:l.titleNView)!=null&&f.searchInput)}))&&(r.navigationBarSearchInput=!0),((s==null?void 0:s.type)==="transparent"||o.find(c=>{var a,l,f;return((f=(l=(a=c.style)==null?void 0:a.h5)==null?void 0:l.titleNView)==null?void 0:f.type)==="transparent"}))&&(r.navigationBarTransparent=!0),r}function e0(e,t=window){var h,p,d,m;const{pagesJson:r={},manifestJson:n={}}=e,{topWindow:i,leftWindow:o,rightWindow:s}=Zg(r),{navigationBar:u,navigationBarButtons:c,navigationBarSearchInput:a,navigationBarTransparent:l}=t0(e),f={__VUE_OPTIONS_API__:!0,__VUE_PROD_DEVTOOLS__:!1,__VUE_PROD_HYDRATION_MISMATCH_DETAILS__:!1,__UNI_FEATURE_WX__:!1,__UNI_FEATURE_WXS__:!1,__UNI_FEATURE_RPX__:!1,__UNI_FEATURE_PROMISE__:!1,__UNI_FEATURE_LONGPRESS__:!1,__UNI_FEATURE_I18N_EN__:!1,__UNI_FEATURE_I18N_ES__:!1,__UNI_FEATURE_I18N_FR__:!1,__UNI_FEATURE_I18N_ZH_HANS__:!0,__UNI_FEATURE_I18N_ZH_HANT__:!1,__UNI_FEATURE_UNI_CLOUD__:!1,__UNI_FEATURE_I18N_LOCALE__:!1,__UNI_FEATURE_NVUE__:!1,__UNI_FEATURE_ROUTER_MODE__:Gg(n),__UNI_FEATURE_PAGES__:!!((h=r.pages)!=null&&h.length),__UNI_FEATURE_TABBAR__:!!((d=(p=r.tabBar)==null?void 0:p.list)!=null&&d.length),__UNI_FEATURE_TABBAR_MIDBUTTON__:!!((m=r.tabBar)!=null&&m.midButton),__UNI_FEATURE_TOPWINDOW__:i,__UNI_FEATURE_LEFTWINDOW__:o,__UNI_FEATURE_RIGHTWINDOW__:s,__UNI_FEATURE_RESPONSIVE__:!1,__UNI_FEATURE_NAVIGATIONBAR__:u,__UNI_FEATURE_PULL_DOWN_REFRESH__:Xg(e),__UNI_FEATURE_NAVIGATIONBAR_BUTTONS__:c,__UNI_FEATURE_NAVIGATIONBAR_SEARCHINPUT__:a,__UNI_FEATURE_NAVIGATIONBAR_TRANSPARENT__:l};Object.entries(f).forEach(([b,E])=>{t[b]=E})}const r0="4.45";function n0(e,t=window){var f,h;const{pagesJson:r={},manifestJson:n={}}=e,{easycom:i={}}=r,{appid:o="",name:s="",versionCode:u="",versionName:c=""}=n,a=r.globalStyle,l=((f=n.h5)==null?void 0:f.router)||{};t.__uniConfig={easycom:i,globalStyle:Q(V({},Kg(a)),{navigationBar:Ns(a),isNVue:!1}),compilerVersion:r0,appId:o,appName:s,appVersion:c,appVersionCode:String(u),async:V({loading:"AsyncLoading",error:"AsyncError",delay:200,timeout:6e4,suspensible:!0},((h=n.h5)==null?void 0:h.async)||{}),debug:!1,networkTimeout:V({request:6e4,connectSocket:6e4,uploadFile:6e4,downloadFile:6e4},n.networkTimeout||{}),sdkConfigs:{},nvue:{"flex-direction":"column"},locale:"",fallbackLocale:"",locales:{},router:V({mode:"hash",base:"/",assets:"assets",routerBase:l.base||"/"},l),darkmode:!1,themeConfig:{},tabBar:r.tabBar?V({position:"bottom",color:"#7A7E83",selectedColor:"#3cc51f",borderStyle:"black",blurEffect:"none",fontSize:"10px",iconWidth:"24px",spacing:"3px",height:"50px",backgroundColor:"#ffffff",selectedIndex:0,shown:!0},r.tabBar):void 0}}function i0(e,t=window){const{UniServiceJSBridge:r,UniViewJSBridge:n,getApp:i,uni:o,getCurrentPages:s,upx2px:u,setupPage:c}=e;t.UniServiceJSBridge=r,t.UniViewJSBridge=n,t.getApp=i,t.uni=o,t.wx=o,t.getCurrentPages=s,t.upx2px=u,t.__setupPage=a=>c(a)}function o0(e,t,r){const{openBlock:n,createBlock:i,withCtx:o,createVNode:s}=e,{PageComponent:u,setupPage:c,getApp:a}=t;return{mpType:"page",setup(){return U(this,null,function*(){var m,b;const f=((b=(m=a())==null?void 0:m.$route)==null?void 0:b.query)||{},{loader:h,component:p}=r,d=h?yield h(r):p||{};return()=>(n(),i(u,null,{page:o(()=>[s(c(d),Object.assign({},f,{ref:"page"}),null,512)]),_:1}))})}}}function s0(e,t,r){var p;const{path:n,style:i={},meta:o={},home:s,id:u}=t,c=((p=e.tabBar)==null?void 0:p.list)||[],a=c.findIndex(d=>{var m;return d.pagePath===n||((m=d.pagePath)==null?void 0:m.endsWith(u))}),l=c[a],f=!!l,h=r===0;return V({isTabBar:f,tabBarIndex:a,isQuit:s!=null?s:h,isEntry:s!=null?s:h,navigationBar:V({type:"default"},Ns(i)),isNVue:!1,route:l?l.pagePath:n},o)}function a0(e,t,r,n,i=window){const o=r.map((s,u)=>{const c=s0(n,s,u),a=o0(e,t,s),{path:l}=s;return{path:l,alias:l,meta:c,component:{render(){return e.h(e.Suspense,[e.h(a)])}}}});i.__uniRoutes=o,i.__uniLayout={}}function u0(e,t,r=window){an(r,String(e),t)}function c0(e,t){t&&["View","ScrollView","Swiper","MovableArea","MovableView","CoverView","CoverImage","Icon","Text","RichText","Progress","Button","CheckboxGroup","Checkbox","Editor","Form","Input","Label","Picker","PickerView","RadioGroup","Radio","Slider","Switch","Textarea","Navigator","Image","Video","Map","Canvas","WebView","PickerViewColumn","ResizeSensor","SwiperItem"].forEach(r=>{const n=t[r];e.component(r,n)})}function l0(e){const t=Yg(e),{Vue:r,App:n,UniH5:i,routes:o=[],pagesJson:s={},manifestJson:u={},window:c,css:a=""}=t;if(!i)return r.createApp(n);const{plugin:l,setupApp:f}=i;e0(t,c),n0(t,c),i0(i,c),a0(r,i,o,s,c),u0(u.appid||Date.now(),a,c);const h=r.createApp(f(n));return h.use(c0,i),h.use(l),h}function f0(e,t){const r={};return Object.entries(e).forEach(([n,i])=>{Cg.includes(n)&&i&&(r[n]=t(i))}),r}function Bi(e,t){return()=>U(this,null,function*(){const r=yield e.getDsl(t);if(r){const{renderer:n}=e.createDslRenderer(r);return n}return null})}function h0(n){return U(this,arguments,function*(e,t=!1,r=Di){var u,c,a;const i=((u=e.project)==null?void 0:u.pages)||[],o=[];for(const l of i){const f=((c=e.project)==null?void 0:c.homepage)===l.id;o.push({id:l.id,path:`${r}/${l.id}`,loader:Bi(e,l.id),style:V({navigationBarTitleText:l.title},l.style),needLogin:l.needLogin,home:f})}const s=o.find(l=>!!l.home)||o[0];if(s){const l=r===Di?"/":r;o.unshift(Q(V({},s),{path:l}))}if(t){const l=((a=e.project)==null?void 0:a.blocks)||[];for(const f of l)o.push({id:f.id,path:`${r}/${f.id}`,loader:Bi(e,f.id),style:{navigationStyle:"custom"}})}return o})}function p0(){var e;if((e=window.uni)!=null&&e.showLoading)return window.uni.showLoading({title:"加载中...",mask:!0}),{close:()=>{var t;(t=window.uni)!=null&&t.hideLoading&&window.uni.hideLoading()}}}function ks(e,t="",r="warning"){var n;(n=window.uni)!=null&&n.showModal&&window.uni.showModal({title:t,content:e,showCancel:!1})}function d0(e=nt.Runtime){return e===nt.Runtime?Object.assign({}):Object.assign({})}const m0=Om({loading:p0,notify:ks}),g0=new Bg(jg(ks)),y0=d0(),{provider:v0,onReady:b0}=Rg({nodeEnv:"production",mode:nt.Runtime,modules:y0,materialPath:"../",adapter:m0,service:g0,dependencies:{Vue:()=>dn(()=>import("./@dcloudio-uni-h5-vue-DnZu5_T3.js").then(e=>e.N),__vite__mapDeps([0,1,2]),import.meta.url),VueRouter:()=>dn(()=>import("./vue-router-D_BqcVGJ.js"),__vite__mapDeps([3,0,1,2]),import.meta.url)}}),w0=e=>U(void 0,null,function*(){const{Vue:t,UniH5:r}=window,n=e.project;if(!n)return;const i=n.uniConfig||{},o=f0(i,f=>Ue(f,window,!1,!0)),{manifestJson:s,pagesJson:u,css:c}=i,a=yield h0(e,!0),l=l0({Vue:t,App:o,UniH5:r,routes:a,css:c,manifestJson:s,pagesJson:u});l.use(e),l.mount(document.body)});b0(()=>w0(v0));
@@ -13,7 +13,7 @@
13
13
  <title></title>
14
14
  <!--preload-links-->
15
15
  <!--app-context-->
16
- <script type="module" crossorigin src="./assets/index-DIVDSD5H.js"></script>
16
+ <script type="module" crossorigin src="./assets/index-CuIpYXdW.js"></script>
17
17
  <link rel="modulepreload" crossorigin href="./assets/vue-BK7aLblh.js">
18
18
  <link rel="modulepreload" crossorigin href="./assets/@dcloudio-uni-shared-VStmjWbh.js">
19
19
  <link rel="modulepreload" crossorigin href="./assets/@dcloudio-uni-h5-vue-DnZu5_T3.js">
package/package.json CHANGED
@@ -2,24 +2,24 @@
2
2
  "name": "@vtj/pro",
3
3
  "description": "VTJ.PRO",
4
4
  "private": false,
5
- "version": "0.10.9",
5
+ "version": "0.10.10",
6
6
  "type": "module",
7
7
  "dependencies": {
8
- "@vtj/core": "~0.10.9",
9
- "@vtj/designer": "~0.10.9",
10
- "@vtj/renderer": "~0.10.9",
11
- "@vtj/materials": "~0.10.9",
12
- "@vtj/uni": "~0.10.9",
13
- "@vtj/local": "~0.10.9"
8
+ "@vtj/core": "~0.10.10",
9
+ "@vtj/designer": "~0.10.10",
10
+ "@vtj/materials": "~0.10.10",
11
+ "@vtj/uni": "~0.10.10",
12
+ "@vtj/local": "~0.10.10",
13
+ "@vtj/renderer": "~0.10.10"
14
14
  },
15
15
  "devDependencies": {
16
16
  "vue": "~3.5.5",
17
17
  "vue-router": "~4.5.0",
18
- "@vtj/charts": "~0.10.9",
18
+ "@vtj/charts": "~0.10.10",
19
19
  "@vtj/cli": "~0.10.2",
20
- "@vtj/ui": "~0.10.9",
21
- "@vtj/icons": "~0.10.9",
22
- "@vtj/utils": "~0.10.9"
20
+ "@vtj/ui": "~0.10.10",
21
+ "@vtj/icons": "~0.10.10",
22
+ "@vtj/utils": "~0.10.10"
23
23
  },
24
24
  "exports": {
25
25
  "./vite": {