@vtj/pro 0.13.12 → 0.13.14

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 (47) hide show
  1. package/dist/.vtj/block.json +304 -0
  2. package/dist/@vtj/materials/assets/antdv/index.umd.js +2 -2
  3. package/dist/@vtj/materials/assets/charts/index.umd.js +2 -2
  4. package/dist/@vtj/materials/assets/element/index.umd.js +2 -2
  5. package/dist/@vtj/materials/assets/icons/index.umd.js +2 -2
  6. package/dist/@vtj/materials/assets/ui/index.umd.js +2 -2
  7. package/dist/@vtj/materials/assets/uni-h5/index.umd.js +2 -2
  8. package/dist/@vtj/materials/assets/uni-ui/index.umd.js +2 -2
  9. package/dist/@vtj/materials/assets/vant/index.umd.js +2 -2
  10. package/dist/@vtj/materials/deps/@vtj/charts/index.umd.js +2 -2
  11. package/dist/@vtj/materials/deps/@vtj/icons/index.umd.js +2 -2
  12. package/dist/@vtj/materials/deps/@vtj/icons/style.css +1 -1
  13. package/dist/@vtj/materials/deps/@vtj/ui/index.umd.js +8 -8
  14. package/dist/@vtj/materials/deps/@vtj/ui/style.css +1 -1
  15. package/dist/@vtj/materials/deps/@vtj/utils/index.umd.js +5 -5
  16. package/dist/@vtj/materials/deps/uni-ui/index.umd.js +1 -1
  17. package/dist/@vtj/materials/deps/uni-ui/style.css +1 -1
  18. package/dist/@vtj/materials/deps/vue/vue.global.js +70 -83
  19. package/dist/@vtj/materials/deps/vue/vue.global.prod.js +5 -5
  20. package/dist/assets/{@element-plus-icons-vue-BPBtkHoV.js → @element-plus-icons-vue-CM8mFRtE.js} +1 -1
  21. package/dist/assets/{@vueuse-DVRMGY2i.js → @vueuse-DQGZ4KR4.js} +1 -1
  22. package/dist/assets/Editor-aW8OJBwm-B5qbujr2.js +302 -0
  23. package/dist/assets/Editor-aW8OJBwm-BBidmUzu.css +1 -0
  24. package/dist/assets/{auth-EVagVpSV.js → auth-CFzo0N05.js} +1 -1
  25. package/dist/assets/{element-plus-1uUiXSF2.js → element-plus-ByPIA5X9.js} +2 -2
  26. package/dist/assets/{index-CZ0wDWM3.js → index-CZcMFlK2.js} +2 -2
  27. package/dist/assets/index-D6kdtgrb.js +1 -0
  28. package/dist/assets/{mockjs-DSB1iwx3.js → mockjs-CBX8QfCC.js} +1 -1
  29. package/dist/assets/page-CAr9Uia9.js +2 -0
  30. package/dist/assets/preview-DnOOX7ZI.js +2 -0
  31. package/dist/assets/{shared-D7vLP88D.js → shared-CiMZBXIr.js} +3 -3
  32. package/dist/assets/{uni-page-Bs0TAzEa.js → uni-page-CHxZwhGN.js} +1 -1
  33. package/dist/assets/utils-TVkozFJc.js +1 -0
  34. package/dist/assets/vue-CWi9lEhc.js +34 -0
  35. package/dist/assets/{vue-router-CezURGfh.js → vue-router-BUqJHGtN.js} +1 -1
  36. package/dist/assets/{vxe-BRd2BF4z.js → vxe-BRrz13Uv.js} +1 -1
  37. package/dist/index.html +9 -9
  38. package/dist/uni/assets/{index-qH01qKak.js → index-DsaNk-Sl.js} +5 -5
  39. package/dist/uni/index.html +1 -1
  40. package/package.json +11 -11
  41. package/dist/assets/Editor-ByFYV0N9-B89jai6q.css +0 -1
  42. package/dist/assets/Editor-ByFYV0N9-CSPjvpiB.js +0 -299
  43. package/dist/assets/index-CZc39s4A.js +0 -1
  44. package/dist/assets/page-DtGjQMhq.js +0 -2
  45. package/dist/assets/preview-BG1JcTnx.js +0 -2
  46. package/dist/assets/utils-BorEMoTp.js +0 -1
  47. package/dist/assets/vue-ipWmmxHk.js +0 -34
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__ = '1755678790740';
12
+ var __BUILD_TIME__ = '1756363685743';
13
13
  (function () {
14
14
  const regex = /<!--{{(\d*)}}-->/;
15
15
  window.fetch('?t=' + Date.now()).then(async (res) => {
@@ -25,18 +25,18 @@
25
25
  });
26
26
  })();
27
27
  </script>
28
- <!--{{1755678790740}}-->
28
+ <!--{{1756363685743}}-->
29
29
 
30
- <script type="module" crossorigin src="./assets/index-CZ0wDWM3.js"></script>
31
- <link rel="modulepreload" crossorigin href="./assets/vue-ipWmmxHk.js">
30
+ <script type="module" crossorigin src="./assets/index-CZcMFlK2.js"></script>
31
+ <link rel="modulepreload" crossorigin href="./assets/vue-CWi9lEhc.js">
32
32
  <link rel="modulepreload" crossorigin href="./assets/lodash-es-BaeSyToa.js">
33
- <link rel="modulepreload" crossorigin href="./assets/@vueuse-DVRMGY2i.js">
34
- <link rel="modulepreload" crossorigin href="./assets/@element-plus-icons-vue-BPBtkHoV.js">
35
- <link rel="modulepreload" crossorigin href="./assets/shared-D7vLP88D.js">
33
+ <link rel="modulepreload" crossorigin href="./assets/@vueuse-DQGZ4KR4.js">
34
+ <link rel="modulepreload" crossorigin href="./assets/@element-plus-icons-vue-CM8mFRtE.js">
35
+ <link rel="modulepreload" crossorigin href="./assets/shared-CiMZBXIr.js">
36
36
  <link rel="modulepreload" crossorigin href="./assets/dayjs-C1e0w4cr.js">
37
- <link rel="modulepreload" crossorigin href="./assets/element-plus-1uUiXSF2.js">
37
+ <link rel="modulepreload" crossorigin href="./assets/element-plus-ByPIA5X9.js">
38
38
  <link rel="modulepreload" crossorigin href="./assets/monaco-editor-xcHgnT1C.js">
39
- <link rel="modulepreload" crossorigin href="./assets/vue-router-CezURGfh.js">
39
+ <link rel="modulepreload" crossorigin href="./assets/vue-router-BUqJHGtN.js">
40
40
  <link rel="stylesheet" crossorigin href="./assets/element-plus-DeBM2g7b.css">
41
41
  <link rel="stylesheet" crossorigin href="./assets/monaco-editor-Cpw7ccEV.css">
42
42
  <link rel="stylesheet" crossorigin href="./assets/index-1XTA0ffa.css">
@@ -51,20 +51,20 @@ 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.13.12
54
+ * @version 0.13.14
55
55
  * @license <a href="https://vtj.pro/license.html">MIT License</a>
56
56
  */const qd="VueMaterial",zd="VueRouterMaterial",Kd={[qd]:["Transition","TransitionGroup","KeepAlive","Teleport","Suspense"],[zd]:["RouterView","RouterLink"]};let Wd=class{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 Jd=Object.defineProperty,Yd=(e,t,r)=>t in e?Jd(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,lt=(e,t,r)=>Yd(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 Gd=e=>typeof e=="symbol";new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Gd));function _o(e,t){return function(){return e.apply(t,arguments)}}const{toString:Zd}=Object.prototype,{getPrototypeOf:yn}=Object,{iterator:tr,toStringTag:Eo}=Symbol,er=(e=>t=>{const r=Zd.call(t);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),yt=e=>(e=e.toLowerCase(),t=>er(t)===e),rr=e=>t=>typeof t===e,{isArray:ae}=Array,be=rr("undefined");function Qd(e){return e!==null&&!be(e)&&e.constructor!==null&&!be(e.constructor)&&ot(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const So=yt("ArrayBuffer");function Xd(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&So(e.buffer),t}const tm=rr("string"),ot=rr("function"),xo=rr("number"),nr=e=>e!==null&&typeof e=="object",em=e=>e===!0||e===!1,ke=e=>{if(er(e)!=="object")return!1;const t=yn(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Eo in e)&&!(tr in e)},rm=yt("Date"),nm=yt("File"),im=yt("Blob"),sm=yt("FileList"),om=e=>nr(e)&&ot(e.pipe),am=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||ot(e.append)&&((t=er(e))==="formdata"||t==="object"&&ot(e.toString)&&e.toString()==="[object FormData]"))},um=yt("URLSearchParams"),[cm,lm,fm,hm]=["ReadableStream","Request","Response","Headers"].map(yt),pm=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Se(e,t,{allOwnKeys:r=!1}={}){if(e===null||typeof e>"u")return;let n,i;if(typeof e!="object"&&(e=[e]),ae(e))for(n=0,i=e.length;n<i;n++)t.call(null,e[n],n,e);else{const s=r?Object.getOwnPropertyNames(e):Object.keys(e),o=s.length;let u;for(n=0;n<o;n++)u=s[n],t.call(null,e[u],u,e)}}function To(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 Ut=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Ro=e=>!be(e)&&e!==Ut;function qr(){const{caseless:e}=Ro(this)&&this||{},t={},r=(n,i)=>{const s=e&&To(t,i)||i;ke(t[s])&&ke(n)?t[s]=qr(t[s],n):ke(n)?t[s]=qr({},n):ae(n)?t[s]=n.slice():t[s]=n};for(let n=0,i=arguments.length;n<i;n++)arguments[n]&&Se(arguments[n],r);return t}const dm=(e,t,r,{allOwnKeys:n}={})=>(Se(t,(i,s)=>{r&&ot(i)?e[s]=_o(i,r):e[s]=i},{allOwnKeys:n}),e),mm=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),gm=(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)},ym=(e,t,r,n)=>{let i,s,o;const u={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),s=i.length;s-- >0;)o=i[s],(!n||n(o,e,t))&&!u[o]&&(t[o]=e[o],u[o]=!0);e=r!==!1&&yn(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},vm=(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},bm=e=>{if(!e)return null;if(ae(e))return e;let t=e.length;if(!xo(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},wm=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&yn(Uint8Array)),_m=(e,t)=>{const r=(e&&e[tr]).call(e);let n;for(;(n=r.next())&&!n.done;){const i=n.value;t.call(e,i[0],i[1])}},Em=(e,t)=>{let r;const n=[];for(;(r=e.exec(t))!==null;)n.push(r);return n},Sm=yt("HTMLFormElement"),xm=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(t,r,n){return r.toUpperCase()+n}),Di=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),Tm=yt("RegExp"),Ao=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e),n={};Se(r,(i,s)=>{let o;(o=t(i,s,e))!==!1&&(n[s]=o||i)}),Object.defineProperties(e,n)},Rm=e=>{Ao(e,(t,r)=>{if(ot(e)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;const n=e[r];if(ot(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+"'")})}})},Am=(e,t)=>{const r={},n=i=>{i.forEach(s=>{r[s]=!0})};return ae(e)?n(e):n(String(e).split(t)),r},$m=()=>{},Om=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function jm(e){return!!(e&&ot(e.append)&&e[Eo]==="FormData"&&e[tr])}const Dm=e=>{const t=new Array(10),r=(n,i)=>{if(nr(n)){if(t.indexOf(n)>=0)return;if(!("toJSON"in n)){t[i]=n;const s=ae(n)?[]:{};return Se(n,(o,u)=>{const l=r(o,i+1);!be(l)&&(s[u]=l)}),t[i]=void 0,s}}return n};return r(e,0)},Bm=yt("AsyncFunction"),Cm=e=>e&&(nr(e)||ot(e))&&ot(e.then)&&ot(e.catch),$o=((e,t)=>e?setImmediate:t?((r,n)=>(Ut.addEventListener("message",({source:i,data:s})=>{i===Ut&&s===r&&n.length&&n.shift()()},!1),i=>{n.push(i),Ut.postMessage(r,"*")}))(`axios@${Math.random()}`,[]):r=>setTimeout(r))(typeof setImmediate=="function",ot(Ut.postMessage)),Nm=typeof queueMicrotask<"u"?queueMicrotask.bind(Ut):typeof process<"u"&&process.nextTick||$o,Im=e=>e!=null&&ot(e[tr]),R={isArray:ae,isArrayBuffer:So,isBuffer:Qd,isFormData:am,isArrayBufferView:Xd,isString:tm,isNumber:xo,isBoolean:em,isObject:nr,isPlainObject:ke,isReadableStream:cm,isRequest:lm,isResponse:fm,isHeaders:hm,isUndefined:be,isDate:rm,isFile:nm,isBlob:im,isRegExp:Tm,isFunction:ot,isStream:om,isURLSearchParams:um,isTypedArray:wm,isFileList:sm,forEach:Se,merge:qr,extend:dm,trim:pm,stripBOM:mm,inherits:gm,toFlatObject:ym,kindOf:er,kindOfTest:yt,endsWith:vm,toArray:bm,forEachEntry:_m,matchAll:Em,isHTMLForm:Sm,hasOwnProperty:Di,hasOwnProp:Di,reduceDescriptors:Ao,freezeMethods:Rm,toObjectSet:Am,toCamelCase:xm,noop:$m,toFiniteNumber:Om,findKey:To,global:Ut,isContextDefined:Ro,isSpecCompliantForm:jm,toJSONObject:Dm,isAsyncFn:Bm,isThenable:Cm,setImmediate:$o,asap:Nm,isIterable:Im};function K(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(K,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 Oo=K.prototype,jo={};["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=>{jo[e]={value:e}});Object.defineProperties(K,jo);Object.defineProperty(Oo,"isAxiosError",{value:!0});K.from=(e,t,r,n,i,s)=>{const o=Object.create(Oo);return R.toFlatObject(e,o,function(u){return u!==Error.prototype},u=>u!=="isAxiosError"),K.call(o,e.message,t,r,n,i),o.cause=e,o.name=e.name,s&&Object.assign(o,s),o};const Pm=null;function zr(e){return R.isPlainObject(e)||R.isArray(e)}function Do(e){return R.endsWith(e,"[]")?e.slice(0,-2):e}function Bi(e,t,r){return e?e.concat(t).map(function(n,i){return n=Do(n),!r&&i?"["+n+"]":n}).join(r?".":""):t}function km(e){return R.isArray(e)&&!e.some(zr)}const Fm=R.toFlatObject(R,{},null,function(e){return/^is[A-Z]/.test(e)});function ir(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,s=r.dots,o=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 l(p){if(p===null)return"";if(R.isDate(p))return p.toISOString();if(R.isBoolean(p))return p.toString();if(!u&&R.isBlob(p))throw new K("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)&&km(p)||(R.isFileList(p)||R.endsWith(d,"[]"))&&(b=R.toArray(p)))return d=Do(d),b.forEach(function(_,y){!(R.isUndefined(_)||_===null)&&t.append(o===!0?Bi([d],y,s):o===null?d:d+"[]",l(_))}),!1}return zr(p)?!0:(t.append(Bi(m,d,s),l(p)),!1)}const c=[],f=Object.assign(Fm,{defaultVisitor:a,convertValue:l,isVisitable:zr});function h(p,d){if(!R.isUndefined(p)){if(c.indexOf(p)!==-1)throw Error("Circular reference detected in "+d.join("."));c.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])}),c.pop()}}if(!R.isObject(e))throw new TypeError("data must be an object");return h(e),t}function Ci(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function vn(e,t){this._pairs=[],e&&ir(e,this,t)}const Bo=vn.prototype;Bo.append=function(e,t){this._pairs.push([e,t])};Bo.toString=function(e){const t=e?function(r){return e.call(this,r,Ci)}:Ci;return this._pairs.map(function(r){return t(r[0])+"="+t(r[1])},"").join("&")};function Mm(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Co(e,t,r){if(!t)return e;const n=r&&r.encode||Mm;R.isFunction(r)&&(r={serialize:r});const i=r&&r.serialize;let s;if(i?s=i(t,r):s=R.isURLSearchParams(t)?t.toString():new vn(t,r).toString(n),s){const o=e.indexOf("#");o!==-1&&(e=e.slice(0,o)),e+=(e.indexOf("?")===-1?"?":"&")+s}return e}let Ni=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 No={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Um=typeof URLSearchParams<"u"?URLSearchParams:vn,Lm=typeof FormData<"u"?FormData:null,Vm=typeof Blob<"u"?Blob:null,Hm={isBrowser:!0,classes:{URLSearchParams:Um,FormData:Lm,Blob:Vm},protocols:["http","https","file","blob","url","data"]},bn=typeof window<"u"&&typeof document<"u",Kr=typeof navigator=="object"&&navigator||void 0,qm=bn&&(!Kr||["ReactNative","NativeScript","NS"].indexOf(Kr.product)<0),zm=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Km=bn&&window.location.href||"http://localhost",Wm=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:bn,hasStandardBrowserEnv:qm,hasStandardBrowserWebWorkerEnv:zm,navigator:Kr,origin:Km},Symbol.toStringTag,{value:"Module"})),rt=V(V({},Wm),Hm);function Jm(e,t){return ir(e,new rt.classes.URLSearchParams,Object.assign({visitor:function(r,n,i,s){return rt.isNode&&R.isBuffer(r)?(this.append(n,r.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)}},t))}function Ym(e){return R.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function Gm(e){const t={},r=Object.keys(e);let n;const i=r.length;let s;for(n=0;n<i;n++)s=r[n],t[s]=e[s];return t}function Io(e){function t(r,n,i,s){let o=r[s++];if(o==="__proto__")return!0;const u=Number.isFinite(+o),l=s>=r.length;return o=!o&&R.isArray(i)?i.length:o,l?(R.hasOwnProp(i,o)?i[o]=[i[o],n]:i[o]=n,!u):((!i[o]||!R.isObject(i[o]))&&(i[o]=[]),t(r,n,i[o],s)&&R.isArray(i[o])&&(i[o]=Gm(i[o])),!u)}if(R.isFormData(e)&&R.isFunction(e.entries)){const r={};return R.forEachEntry(e,(n,i)=>{t(Ym(n),i,r,0)}),r}return null}function Zm(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 xe={transitional:No,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(Io(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 s;if(i){if(r.indexOf("application/x-www-form-urlencoded")>-1)return Jm(e,this.formSerializer).toString();if((s=R.isFileList(e))||r.indexOf("multipart/form-data")>-1){const o=this.env&&this.env.FormData;return ir(s?{"files[]":e}:e,o&&new o,this.formSerializer)}}return i||n?(t.setContentType("application/json",!1),Zm(e)):e}],transformResponse:[function(e){const t=this.transitional||xe.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(s){if(i)throw s.name==="SyntaxError"?K.from(s,K.ERR_BAD_RESPONSE,this,null,this.response):s}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:rt.classes.FormData,Blob:rt.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=>{xe.headers[e]={}});const Qm=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"]),Xm=e=>{const t={};let r,n,i;return e&&e.split(`
57
57
  `).forEach(function(s){i=s.indexOf(":"),r=s.substring(0,i).trim().toLowerCase(),n=s.substring(i+1).trim(),!(!r||t[r]&&Qm[r])&&(r==="set-cookie"?t[r]?t[r].push(n):t[r]=[n]:t[r]=t[r]?t[r]+", "+n:n)}),t},Ii=Symbol("internals");function pe(e){return e&&String(e).trim().toLowerCase()}function Fe(e){return e===!1||e==null?e:R.isArray(e)?e.map(Fe):String(e)}function tg(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 eg=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function _r(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 rg(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,r,n)=>r.toUpperCase()+n)}function ng(e,t){const r=R.toCamelCase(" "+t);["get","set","has"].forEach(n=>{Object.defineProperty(e,n+r,{value:function(i,s,o){return this[n].call(this,t,i,s,o)},configurable:!0})})}let at=class{constructor(t){t&&this.set(t)}set(t,r,n){const i=this;function s(u,l,a){const c=pe(l);if(!c)throw new Error("header name must be a non-empty string");const f=R.findKey(i,c);(!f||i[f]===void 0||a===!0||a===void 0&&i[f]!==!1)&&(i[f||l]=Fe(u))}const o=(u,l)=>R.forEach(u,(a,c)=>s(a,c,l));if(R.isPlainObject(t)||t instanceof this.constructor)o(t,r);else if(R.isString(t)&&(t=t.trim())&&!eg(t))o(Xm(t),r);else if(R.isObject(t)&&R.isIterable(t)){let u={},l,a;for(const c of t){if(!R.isArray(c))throw TypeError("Object iterator must return a key-value pair");u[a=c[0]]=(l=u[a])?R.isArray(l)?[...l,c[1]]:[l,c[1]]:c[1]}o(u,r)}else t!=null&&s(r,t,n);return this}get(t,r){if(t=pe(t),t){const n=R.findKey(this,t);if(n){const i=this[n];if(!r)return i;if(r===!0)return tg(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=pe(t),t){const n=R.findKey(this,t);return!!(n&&this[n]!==void 0&&(!r||_r(this,this[n],n,r)))}return!1}delete(t,r){const n=this;let i=!1;function s(o){if(o=pe(o),o){const u=R.findKey(n,o);u&&(!r||_r(n,n[u],u,r))&&(delete n[u],i=!0)}}return R.isArray(t)?t.forEach(s):s(t),i}clear(t){const r=Object.keys(this);let n=r.length,i=!1;for(;n--;){const s=r[n];(!t||_r(this,this[s],s,t,!0))&&(delete this[s],i=!0)}return i}normalize(t){const r=this,n={};return R.forEach(this,(i,s)=>{const o=R.findKey(n,s);if(o){r[o]=Fe(i),delete r[s];return}const u=t?rg(s):String(s).trim();u!==s&&delete r[s],r[u]=Fe(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
  `)}getSetCookie(){return this.get("set-cookie")||[]}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[Ii]=this[Ii]={accessors:{}}).accessors,n=this.prototype;function i(s){const o=pe(s);r[o]||(ng(n,s),r[o]=!0)}return R.isArray(t)?t.forEach(i):i(t),this}};at.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);R.reduceDescriptors(at.prototype,({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(n){this[r]=n}}});R.freezeMethods(at);function Er(e,t){const r=this||xe,n=t||r,i=at.from(n.headers);let s=n.data;return R.forEach(e,function(o){s=o.call(r,s,i.normalize(),t?t.status:void 0)}),i.normalize(),s}function Po(e){return!!(e&&e.__CANCEL__)}function ue(e,t,r){K.call(this,e!=null?e:"canceled",K.ERR_CANCELED,t,r),this.name="CanceledError"}R.inherits(ue,K,{__CANCEL__:!0});function ko(e,t,r){const n=r.config.validateStatus;!r.status||!n||n(r.status)?e(r):t(new K("Request failed with status code "+r.status,[K.ERR_BAD_REQUEST,K.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}function ig(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function sg(e,t){e=e||10;const r=new Array(e),n=new Array(e);let i=0,s=0,o;return t=t!==void 0?t:1e3,function(u){const l=Date.now(),a=n[s];o||(o=l),r[i]=u,n[i]=l;let c=s,f=0;for(;c!==i;)f+=r[c++],c=c%e;if(i=(i+1)%e,i===s&&(s=(s+1)%e),l-o<t)return;const h=a&&l-a;return h?Math.round(f*1e3/h):void 0}}function og(e,t){let r=0,n=1e3/t,i,s;const o=(u,l=Date.now())=>{r=l,i=null,s&&(clearTimeout(s),s=null),e.apply(null,u)};return[(...u)=>{const l=Date.now(),a=l-r;a>=n?o(u,l):(i=u,s||(s=setTimeout(()=>{s=null,o(i)},n-a)))},()=>i&&o(i)]}const We=(e,t,r=3)=>{let n=0;const i=sg(50,250);return og(s=>{const o=s.loaded,u=s.lengthComputable?s.total:void 0,l=o-n,a=i(l),c=o<=u;n=o;const f={loaded:o,total:u,progress:u?o/u:void 0,bytes:l,rate:a||void 0,estimated:a&&u&&c?(u-o)/a:void 0,event:s,lengthComputable:u!=null,[t?"download":"upload"]:!0};e(f)},r)},Pi=(e,t)=>{const r=e!=null;return[n=>t[0]({lengthComputable:r,total:e,loaded:n}),t[1]]},ki=e=>(...t)=>R.asap(()=>e(...t)),ag=rt.hasStandardBrowserEnv?((e,t)=>r=>(r=new URL(r,rt.origin),e.protocol===r.protocol&&e.host===r.host&&(t||e.port===r.port)))(new URL(rt.origin),rt.navigator&&/(msie|trident)/i.test(rt.navigator.userAgent)):()=>!0,ug=rt.hasStandardBrowserEnv?{write(e,t,r,n,i,s){const o=[e+"="+encodeURIComponent(t)];R.isNumber(r)&&o.push("expires="+new Date(r).toGMTString()),R.isString(n)&&o.push("path="+n),R.isString(i)&&o.push("domain="+i),s===!0&&o.push("secure"),document.cookie=o.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 cg(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function lg(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Fo(e,t,r){let n=!cg(t);return e&&(n||r==!1)?lg(e,t):t}const Fi=e=>e instanceof at?V({},e):e;function qt(e,t){t=t||{};const r={};function n(a,c,f,h){return R.isPlainObject(a)&&R.isPlainObject(c)?R.merge.call({caseless:h},a,c):R.isPlainObject(c)?R.merge({},c):R.isArray(c)?c.slice():c}function i(a,c,f,h){if(R.isUndefined(c)){if(!R.isUndefined(a))return n(void 0,a,f,h)}else return n(a,c,f,h)}function s(a,c){if(!R.isUndefined(c))return n(void 0,c)}function o(a,c){if(R.isUndefined(c)){if(!R.isUndefined(a))return n(void 0,a)}else return n(void 0,c)}function u(a,c,f){if(f in t)return n(a,c);if(f in e)return n(void 0,a)}const l={url:s,method:s,data:s,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:u,headers:(a,c,f)=>i(Fi(a),Fi(c),f,!0)};return R.forEach(Object.keys(Object.assign({},e,t)),function(a){const c=l[a]||i,f=c(e[a],t[a],a);R.isUndefined(f)&&c!==u||(r[a]=f)}),r}const Mo=e=>{const t=qt({},e);let{data:r,withXSRFToken:n,xsrfHeaderName:i,xsrfCookieName:s,headers:o,auth:u}=t;t.headers=o=at.from(o),t.url=Co(Fo(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),u&&o.set("Authorization","Basic "+btoa((u.username||"")+":"+(u.password?unescape(encodeURIComponent(u.password)):"")));let l;if(R.isFormData(r)){if(rt.hasStandardBrowserEnv||rt.hasStandardBrowserWebWorkerEnv)o.setContentType(void 0);else if((l=o.getContentType())!==!1){const[a,...c]=l?l.split(";").map(f=>f.trim()).filter(Boolean):[];o.setContentType([a||"multipart/form-data",...c].join("; "))}}if(rt.hasStandardBrowserEnv&&(n&&R.isFunction(n)&&(n=n(t)),n||n!==!1&&ag(t.url))){const a=i&&s&&ug.read(s);a&&o.set(i,a)}return t},fg=typeof XMLHttpRequest<"u",hg=fg&&function(e){return new Promise(function(t,r){const n=Mo(e);let i=n.data;const s=at.from(n.headers).normalize();let{responseType:o,onUploadProgress:u,onDownloadProgress:l}=n,a,c,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=at.from("getAllResponseHeaders"in m&&m.getAllResponseHeaders()),v={data:!o||o==="text"||o==="json"?m.responseText:m.response,status:m.status,statusText:m.statusText,headers:y,config:e,request:m};ko(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 K("Request aborted",K.ECONNABORTED,e,m)),m=null)},m.onerror=function(){r(new K("Network Error",K.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||No;n.timeoutErrorMessage&&(y=n.timeoutErrorMessage),r(new K(y,v.clarifyTimeoutError?K.ETIMEDOUT:K.ECONNABORTED,e,m)),m=null},i===void 0&&s.setContentType(null),"setRequestHeader"in m&&R.forEach(s.toJSON(),function(y,v){m.setRequestHeader(v,y)}),R.isUndefined(n.withCredentials)||(m.withCredentials=!!n.withCredentials),o&&o!=="json"&&(m.responseType=n.responseType),l&&([f,p]=We(l,!0),m.addEventListener("progress",f)),u&&m.upload&&([c,h]=We(u),m.upload.addEventListener("progress",c),m.upload.addEventListener("loadend",h)),(n.cancelToken||n.signal)&&(a=y=>{m&&(r(!y||y.type?new ue(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 _=ig(n.url);if(_&&rt.protocols.indexOf(_)===-1){r(new K("Unsupported protocol "+_+":",K.ERR_BAD_REQUEST,e));return}m.send(i||null)})},pg=(e,t)=>{const{length:r}=e=e?e.filter(Boolean):[];if(t||r){let n=new AbortController,i;const s=function(a){if(!i){i=!0,u();const c=a instanceof Error?a:this.reason;n.abort(c instanceof K?c:new ue(c instanceof Error?c.message:c))}};let o=t&&setTimeout(()=>{o=null,s(new K(`timeout ${t} of ms exceeded`,K.ETIMEDOUT))},t);const u=()=>{e&&(o&&clearTimeout(o),o=null,e.forEach(a=>{a.unsubscribe?a.unsubscribe(s):a.removeEventListener("abort",s)}),e=null)};e.forEach(a=>a.addEventListener("abort",s));const{signal:l}=n;return l.unsubscribe=()=>R.asap(u),l}},dg=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},mg=function(e,t){return fr(this,null,function*(){try{for(var r=Sn(gg(e)),n,i,s;n=!(i=yield new It(r.next())).done;n=!1){const o=i.value;yield*hr(dg(o,t))}}catch(i){s=[i]}finally{try{n&&(i=r.return)&&(yield new It(i.call(r)))}finally{if(s)throw s[0]}}})},gg=function(e){return fr(this,null,function*(){if(e[Symbol.asyncIterator]){yield*hr(e);return}const t=e.getReader();try{for(;;){const{done:r,value:n}=yield new It(t.read());if(r)break;yield n}}finally{yield new It(t.cancel())}})},Mi=(e,t,r,n)=>{const i=mg(e,t);let s=0,o,u=a=>{o||(o=!0,n&&n(a))};return new ReadableStream({pull(a){return k(this,null,function*(){try{const{done:c,value:f}=yield i.next();if(c){u(),a.close();return}let h=f.byteLength;if(r){let p=s+=h;r(p)}a.enqueue(new Uint8Array(f))}catch(c){throw u(c),c}})},cancel(a){return u(a),i.return()}},{highWaterMark:2})},sr=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Uo=sr&&typeof ReadableStream=="function",yg=sr&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):e=>k(null,null,function*(){return new Uint8Array(yield new Response(e).arrayBuffer())})),Lo=(e,...t)=>{try{return!!e(...t)}catch(r){return!1}},vg=Uo&&Lo(()=>{let e=!1;const t=new Request(rt.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),Ui=64*1024,Wr=Uo&&Lo(()=>R.isReadableStream(new Response("").body)),Je={stream:Wr&&(e=>e.body)};sr&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!Je[t]&&(Je[t]=R.isFunction(e[t])?r=>r[t]():(r,n)=>{throw new K(`Response type '${t}' is not supported`,K.ERR_NOT_SUPPORT,n)})})})(new Response);const bg=e=>k(null,null,function*(){if(e==null)return 0;if(R.isBlob(e))return e.size;if(R.isSpecCompliantForm(e))return(yield new Request(rt.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 yg(e)).byteLength}),wg=(e,t)=>k(null,null,function*(){const r=R.toFiniteNumber(e.getContentLength());return r!=null?r:bg(t)}),_g=sr&&(e=>k(null,null,function*(){let{url:t,method:r,data:n,signal:i,cancelToken:s,timeout:o,onDownloadProgress:u,onUploadProgress:l,responseType:a,headers:c,withCredentials:f="same-origin",fetchOptions:h}=Mo(e);a=a?(a+"").toLowerCase():"text";let p=pg([i,s&&s.toAbortSignal()],o),d;const m=p&&p.unsubscribe&&(()=>{p.unsubscribe()});let b;try{if(l&&vg&&r!=="get"&&r!=="head"&&(b=yield wg(c,n))!==0){let S=new Request(t,{method:"POST",body:n,duplex:"half"}),g;if(R.isFormData(n)&&(g=S.headers.get("content-type"))&&c.setContentType(g),S.body){const[x,A]=Pi(b,We(ki(l)));n=Mi(S.body,Ui,x,A)}}R.isString(f)||(f=f?"include":"omit");const _="credentials"in Request.prototype;d=new Request(t,tt(V({},h),{signal:p,method:r.toUpperCase(),headers:c.normalize().toJSON(),body:n,duplex:"half",credentials:_?f:void 0}));let y=yield fetch(d,h);const v=Wr&&(a==="stream"||a==="response");if(Wr&&(u||v&&m)){const S={};["status","statusText","headers"].forEach(U=>{S[U]=y[U]});const g=R.toFiniteNumber(y.headers.get("content-length")),[x,A]=u&&Pi(g,We(ki(u),!0))||[];y=new Response(Mi(y.body,Ui,x,()=>{A&&A(),m&&m()}),S)}a=a||"text";let w=yield Je[R.findKey(Je,a)||"text"](y,e);return!v&&m&&m(),yield new Promise((S,g)=>{ko(S,g,{data:w,headers:at.from(y.headers),status:y.status,statusText:y.statusText,config:e,request:d})})}catch(_){throw m&&m(),_&&_.name==="TypeError"&&/Load failed|fetch/i.test(_.message)?Object.assign(new K("Network Error",K.ERR_NETWORK,e,d),{cause:_.cause||_}):K.from(_,_&&_.code,e,d)}})),Jr={http:Pm,xhr:hg,fetch:_g};R.forEach(Jr,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(r){}Object.defineProperty(e,"adapterName",{value:t})}});const Li=e=>`- ${e}`,Eg=e=>R.isFunction(e)||e===null||e===!1,Vo={getAdapter:e=>{e=R.isArray(e)?e:[e];const{length:t}=e;let r,n;const i={};for(let s=0;s<t;s++){r=e[s];let o;if(n=r,!Eg(r)&&(n=Jr[(o=String(r)).toLowerCase()],n===void 0))throw new K(`Unknown adapter '${o}'`);if(n)break;i[o||"#"+s]=n}if(!n){const s=Object.entries(i).map(([u,l])=>`adapter ${u} `+(l===!1?"is not supported by the environment":"is not available in the build"));let o=t?s.length>1?`since :
59
59
  `+s.map(Li).join(`
60
60
  `):" "+Li(s[0]):"as no adapter specified";throw new K("There is no suitable adapter to dispatch the request "+o,"ERR_NOT_SUPPORT")}return n},adapters:Jr};function Sr(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new ue(null,e)}function Vi(e){return Sr(e),e.headers=at.from(e.headers),e.data=Er.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Vo.getAdapter(e.adapter||xe.adapter)(e).then(function(t){return Sr(e),t.data=Er.call(e,e.transformResponse,t),t.headers=at.from(t.headers),t},function(t){return Po(t)||(Sr(e),t&&t.response&&(t.response.data=Er.call(e,e.transformResponse,t.response),t.response.headers=at.from(t.response.headers))),Promise.reject(t)})}const Ho="1.10.0",or={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{or[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const Hi={};or.transitional=function(e,t,r){function n(i,s){return"[Axios v"+Ho+"] Transitional option '"+i+"'"+s+(r?". "+r:"")}return(i,s,o)=>{if(e===!1)throw new K(n(s," has been removed"+(t?" in "+t:"")),K.ERR_DEPRECATED);return t&&!Hi[s]&&(Hi[s]=!0,console.warn(n(s," has been deprecated since v"+t+" and will be removed in the near future"))),e?e(i,s,o):!0}};or.spelling=function(e){return(t,r)=>(console.warn(`${r} is likely a misspelling of ${e}`),!0)};function Sg(e,t,r){if(typeof e!="object")throw new K("options must be an object",K.ERR_BAD_OPTION_VALUE);const n=Object.keys(e);let i=n.length;for(;i-- >0;){const s=n[i],o=t[s];if(o){const u=e[s],l=u===void 0||o(u,s,e);if(l!==!0)throw new K("option "+s+" must be "+l,K.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new K("Unknown option "+s,K.ERR_BAD_OPTION)}}const Me={assertOptions:Sg,validators:or},vt=Me.validators;let Lt=class{constructor(t){this.defaults=t||{},this.interceptors={request:new Ni,response:new Ni}}request(t,r){return k(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 s=i.stack?i.stack.replace(/^.+\n/,""):"";try{n.stack?s&&!String(n.stack).endsWith(s.replace(/^.+\n.+\n/,""))&&(n.stack+=`
61
- `+s):n.stack=s}catch(o){}}throw n}})}_request(t,r){typeof t=="string"?(r=r||{},r.url=t):r=t||{},r=qt(this.defaults,r);const{transitional:n,paramsSerializer:i,headers:s}=r;n!==void 0&&Me.assertOptions(n,{silentJSONParsing:vt.transitional(vt.boolean),forcedJSONParsing:vt.transitional(vt.boolean),clarifyTimeoutError:vt.transitional(vt.boolean)},!1),i!=null&&(R.isFunction(i)?r.paramsSerializer={serialize:i}:Me.assertOptions(i,{encode:vt.function,serialize:vt.function},!0)),r.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?r.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:r.allowAbsoluteUrls=!0),Me.assertOptions(r,{baseUrl:vt.spelling("baseURL"),withXsrfToken:vt.spelling("withXSRFToken")},!0),r.method=(r.method||this.defaults.method||"get").toLowerCase();let o=s&&R.merge(s.common,s[r.method]);s&&R.forEach(["delete","get","head","post","put","patch","common"],d=>{delete s[d]}),r.headers=at.concat(o,s);const u=[];let l=!0;this.interceptors.request.forEach(function(d){typeof d.runWhen=="function"&&d.runWhen(r)===!1||(l=l&&d.synchronous,u.unshift(d.fulfilled,d.rejected))});const a=[];this.interceptors.response.forEach(function(d){a.push(d.fulfilled,d.rejected)});let c,f=0,h;if(!l){const d=[Vi.bind(this),void 0];for(d.unshift.apply(d,u),d.push.apply(d,a),h=d.length,c=Promise.resolve(r);f<h;)c=c.then(d[f++],d[f++]);return c}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{c=Vi.call(this,p)}catch(d){return Promise.reject(d)}for(f=0,h=a.length;f<h;)c=c.then(a[f++],a[f++]);return c}getUri(t){t=qt(this.defaults,t);const r=Fo(t.baseURL,t.url,t.allowAbsoluteUrls);return Co(r,t.params,t.paramsSerializer)}};R.forEach(["delete","get","head","options"],function(e){Lt.prototype[e]=function(t,r){return this.request(qt(r||{},{method:e,url:t,data:(r||{}).data}))}});R.forEach(["post","put","patch"],function(e){function t(r){return function(n,i,s){return this.request(qt(s||{},{method:e,headers:r?{"Content-Type":"multipart/form-data"}:{},url:n,data:i}))}}Lt.prototype[e]=t(),Lt.prototype[e+"Form"]=t(!0)});let xg=class qo{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 s=n._listeners.length;for(;s-- >0;)n._listeners[s](i);n._listeners=null}),this.promise.then=i=>{let s;const o=new Promise(u=>{n.subscribe(u),s=u}).then(i);return o.cancel=function(){n.unsubscribe(s)},o},t(function(i,s,o){n.reason||(n.reason=new ue(i,s,o),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 qo(function(r){t=r}),cancel:t}}};function Tg(e){return function(t){return e.apply(null,t)}}function Rg(e){return R.isObject(e)&&e.isAxiosError===!0}const Yr={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(Yr).forEach(([e,t])=>{Yr[t]=e});function zo(e){const t=new Lt(e),r=_o(Lt.prototype.request,t);return R.extend(r,Lt.prototype,t,{allOwnKeys:!0}),R.extend(r,t,null,{allOwnKeys:!0}),r.create=function(n){return zo(qt(e,n))},r}const Q=zo(xe);Q.Axios=Lt;Q.CanceledError=ue;Q.CancelToken=xg;Q.isCancel=Po;Q.VERSION=Ho;Q.toFormData=ir;Q.AxiosError=K;Q.Cancel=Q.CanceledError;Q.all=function(e){return Promise.all(e)};Q.spread=Tg;Q.isAxiosError=Rg;Q.mergeConfig=qt;Q.AxiosHeaders=at;Q.formToJSON=e=>Io(R.isHTMLForm(e)?new FormData(e):e);Q.getAdapter=Vo.getAdapter;Q.HttpStatusCode=Yr;Q.default=Q;const{Axios:o1,AxiosError:a1,CanceledError:u1,isCancel:c1,CancelToken:l1,VERSION:f1,all:h1,Cancel:p1,isAxiosError:d1,spread:m1,toFormData:g1,AxiosHeaders:y1,HttpStatusCode:v1,formToJSON:b1,getAdapter:w1,mergeConfig:_1}=Q,Ag={form:"application/x-www-form-urlencoded",json:"application/json",data:"multipart/form-data"},$g=["put","post","patch"],qi="Local-Request-Id",Og=100,jg=300;let Dg=class{constructor(t={}){lt(this,"axios"),lt(this,"settings"),lt(this,"records",{}),lt(this,"isLoading",!1),lt(this,"stopSkipWarn"),lt(this,"showLoading"),lt(this,"showError"),this.settings=Object.assign({type:"form"},t.settings||{});const r=wr(t,["settings","query"]);this.axios=Q.create(de({headers:{"Content-Type":"application/x-www-form-urlencoded"},timeout:120*1e3},r)),this.setupSkipWarn(this.settings),this.showLoading=Qs(this.openLoading.bind(this),Og),this.showError=Wp(this._showError.bind(this),jg,{leading:!0,trailing:!1})}setConfig(t={}){this.settings=de(this.settings,t.settings||{});const r=wr(t,["settings","query"]);this.axios.defaults=de(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||{}:{},s=V(V({"Content-Type":Ag[r.type||"form"]},n.headers),i);return r.skipWarn&&(s[qi]=t),s}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,s])=>{n.append(i,s)}),n}createSendData(t,r,n,i,s={}){const{type:o,skipWarn:u}=t,{name:l="skipWarn"}=u||{};let{data:a,params:c={},method:f="get"}=r;const h=i?{[l]:!0}:{};return $g.includes(f.toLowerCase())?(a=Object.assign(a||{},h),a=o!=="json"||!this.isJsonType(n)?this.toFormData(a,o):a,c=V({},s)):o==="form"?c=V(V(V({},a||{}),s),h):(a&&(o!=="json"||!this.isJsonType(n))&&(a=this.toFormData(a,o)),c=V(V({},s),h)),{data:a,params:c}}createUrl(t){let{url:r,params:n}=t;if(r){let i=ze(r)?new URL(r).origin:"";const s=i?r.replace(i,""):r;try{const o=Cd(s,{encode:encodeURIComponent});return i+o(n||{})}catch(o){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 s;const{failMessage:n,showError:i}=t;if(n&&i){const o=(s=r==null?void 0:r.response)==null?void 0:s.data,u=(o==null?void 0:o.message)||(o==null?void 0:o.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=de({},this.settings,t.settings||{}),i=t.query||{},s=wr(t,["settings","query"]),o=$d(!1),u=Q.CancelToken.source();this.records[o]={settings:n,config:s,source:u};const l=this.createUrl(s),a=this.createHeaders(o,n,s),{data:c,params:f}=this.createSendData(n,s,a,r,i);return this.showLoading(n),new Promise((h,p)=>{this.axios(tt(V({cancelToken:u.token},s),{url:l,headers:a,data:c,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[o],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:s}=t.skipWarn;this.stopSkipWarn=this.useResponse(o=>{const u=(o.config.headers||{})[qi],l=this.records[u];if(!l)return o;const{data:a}=o;if(!a||typeof a!="object")return o;if((a==null?void 0:a.code)===r){i&&i(o);const c=new Promise(n).then(()=>this.send(tt(V({},l.config),{settings:l.settings}),!0));c.catch(f=>f).finally(()=>{s&&s()}),o.promise=c}return o})}};function wn(e={}){const t=new Dg(e),r=t.send.bind(t),n=t.cancel.bind(t),i=t.setConfig.bind(t),s=t.useRequest.bind(t),o=t.useResponse.bind(t);return Object.assign(r,tt(V({},t),{instance:t,send:r,cancel:n,setConfig:i,useRequest:s,useResponse:o}))}const Gr=wn({settings:{injectHeaders:!0,loading:!0,originResponse:!0}}),Zr=typeof window<"u";function Bg(e){const t={};return e?(e.forEach((r,n)=>{t[n]=typeof r=="string"?decodeURIComponent(r):r}),t):{}}let Ko=class{constructor(t={}){lt(this,"options",{type:"cache",expired:0,prefix:"__VTJ_"}),lt(this,"caches",{}),lt(this,"types"),this.types={local:Zr?window.localStorage:this.caches,session:Zr?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:s,prefix:o}=V(V({},this.options),n),u=Date.now(),l=o+t,a=this.types[i]||this.caches,c={value:r,timestamp:u,expired:s};a===this.caches?a[l]=c:a.setItem(l,JSON.stringify(c))}get(t,r={}){const{type:n,prefix:i}=V(V({},this.options),r),s=i+t,o=this.types[n]||this.caches;let u;if(o===this.caches)u=o[s];else{const f=o.getItem(s);f&&(u=JSON.parse(f))}if(!u)return null;const{value:l,timestamp:a,expired:c}=u;return c>0&&a+c<Date.now()?(this.remove(t,r),null):l}remove(t,r={}){const{type:n,prefix:i}=V(V({},this.options),r),s=this.types[n]||this.caches,o=i+t;s===this.caches?delete s[o]:s.removeItem(o)}clear(t={}){const{type:r}=V(V({},this.options),t),n=this.types[r]||this.caches;n===this.caches?this.caches={}:n.clear()}};const xr=new Ko;function Wo(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ue={exports:{}},Cg=Ue.exports,zi;function Ng(){return zi||(zi=1,(function(e,t){(function(r,n){n(t,e)})(Cg,function(r,n){var i={timeout:5e3,jsonpCallback:"callback"};function s(){return"jsonp_"+Date.now()+"_"+Math.ceil(Math.random()*1e5)}function o(a){try{delete window[a]}catch(c){window[a]=void 0}}function u(a){var c=document.getElementById(a);c&&document.getElementsByTagName("head")[0].removeChild(c)}function l(a){var c=arguments.length<=1||arguments[1]===void 0?{}:arguments[1],f=a,h=c.timeout||i.timeout,p=c.jsonpCallback||i.jsonpCallback,d=void 0;return new Promise(function(m,b){var _=c.jsonpCallbackFunction||s(),y=p+"_"+_;window[_]=function(w){m({ok:!0,json:function(){return Promise.resolve(w)}}),d&&clearTimeout(d),u(y),o(_)},f+=f.indexOf("?")===-1?"?":"&";var v=document.createElement("script");v.setAttribute("src",""+f+p+"="+_),c.charset&&v.setAttribute("charset",c.charset),c.nonce&&v.setAttribute("nonce",c.nonce),c.referrerPolicy&&v.setAttribute("referrerPolicy",c.referrerPolicy),c.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")),o(_),u(y),window[_]=function(){o(_)}},h),v.onerror=function(){b(new Error("JSONP request to "+a+" failed")),o(_),u(y),d&&clearTimeout(d)}})}n.exports=l})})(Ue,Ue.exports)),Ue.exports}var Ig=Ng();const Pg=Wo(Ig);function kg(e){if(Zr){const{protocol:t,host:r,pathname:n}=location;return`${t}//${r}${e?n:""}`}else return null}function Fg(e=""){const t=e.match(po);return t?t[0]:""}function Jo(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 Qr(e,t,r){const n={};e=(e||location.search).replace(/^[^]*\?/,""),t=t||"&",r=r||"=";let i;const s=new RegExp("(?:^|\\"+t+")([^\\"+r+"\\"+t+"]+)(?:\\"+r+"([^\\"+t+"]*))?","g");for(;(i=s.exec(e))!==null;)i[1]!==e&&(n[decodeURIComponent(i[1])]=decodeURIComponent(i[2]||""));return n}function Yo(e,t){t=typeof t=="string"?Qr(t):t;const r=e.split("?")[0],n=Qr(e),i=Object.assign({},n,t),s=Jo(i);return s?[r,s].join("?"):e}const Le=Object.freeze(Object.defineProperty({__proto__:null,append:Yo,getCurrentHost:kg,getHost:Fg,parse:Qr,stringify:Jo},Symbol.toStringTag,{value:"Module"}));function Go(r){return k(this,arguments,function*(e,t={}){const{query:n={}}=t;e.includes("${")&&(e=zp(e)(n||{}));const i=Yo(e,n);return yield(yield Pg(i,t)).json()})}var Tr,Ki;function Mg(){if(Ki)return Tr;Ki=1,Tr=function(n,i,s){var o=document.head||document.getElementsByTagName("head")[0],u=document.createElement("script");typeof i=="function"&&(s=i,i={}),i=i||{},s=s||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 l="onload"in u?t:r;l(u,s),u.onload||t(u,s),o.appendChild(u)};function e(n,i){for(var s in i)n.setAttribute(s,i[s])}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 Tr}var Ug=Mg();const Lg=Wo(Ug);function Wi(e,t={}){return new Promise((r,n)=>{const{library:i}=t;Lg(e,t,(s,o)=>{s?n(s):r(i?window[i]:void 0)})})}const Ji={debug:-1,log:0,info:0,warn:1,error:2},Vg=function(e,t,r,n){return function(...i){if(t&&Ji[t]<=Ji[e]&&console[e].apply&&(n==="*"||r.startsWith(n)))return console[e].apply(console,Hg(i,r))}};function Hg(e,t){return t!=="*"&&(typeof e[0]=="string"?e[0]=`[${t}] ${e[0]}`:e=["["+t+"]"].concat(e)),e}function qg(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 zg={level:"warn",bizName:"*"};class Kg{constructor(t){lt(this,"config"),lt(this,"options"),this.options=V(V({},zg),t);const r=typeof location<"u"?location:{},n=(/__(?:logConf|logLevel)__=([^#/&]*)/.exec(r.href)||[])[1];this.config=qg(n,t)}_log(t){const{targetLevel:r,targetBizName:n}=this.config,{bizName:i}=this.options;return Vg(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 Wg(e){return new Kg(e)}const re=Wg({level:"log",bizName:"VTJ"});/*! js-cookie v3.0.5 | MIT */function Ce(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 Jg={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 Xr(e,t){function r(i,s,o){if(!(typeof document>"u")){o=Ce({},t,o),typeof o.expires=="number"&&(o.expires=new Date(Date.now()+o.expires*864e5)),o.expires&&(o.expires=o.expires.toUTCString()),i=encodeURIComponent(i).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var u="";for(var l in o)o[l]&&(u+="; "+l,o[l]!==!0&&(u+="="+o[l].split(";")[0]));return document.cookie=i+"="+e.write(s,i)+u}}function n(i){if(!(typeof document>"u"||arguments.length&&!i)){for(var s=document.cookie?document.cookie.split("; "):[],o={},u=0;u<s.length;u++){var l=s[u].split("="),a=l.slice(1).join("=");try{var c=decodeURIComponent(l[0]);if(o[c]=e.read(a,c),i===c)break}catch(f){}}return i?o[i]:o}}return Object.create({set:r,get:n,remove:function(i,s){r(i,"",Ce({},s,{expires:-1}))},withAttributes:function(i){return Xr(this.converter,Ce({},this.attributes,i))},withConverter:function(i){return Xr(Ce({},this.converter,i),this.attributes)}},{attributes:{value:Object.freeze(t)},converter:{value:Object.freeze(e)}})}var _n=Xr(Jg,{path:"/"});function Yg(e,t,r){_n.set(e,t,r)}function Gg(e){return _n.get(e)}function Zg(e,t){_n.remove(e,t)}const Rr=Object.freeze(Object.defineProperty({__proto__:null,get:Gg,remove:Zg,set:Yg},Symbol.toStringTag,{value:"Module"}));/**!
61
+ `+s):n.stack=s}catch(o){}}throw n}})}_request(t,r){typeof t=="string"?(r=r||{},r.url=t):r=t||{},r=qt(this.defaults,r);const{transitional:n,paramsSerializer:i,headers:s}=r;n!==void 0&&Me.assertOptions(n,{silentJSONParsing:vt.transitional(vt.boolean),forcedJSONParsing:vt.transitional(vt.boolean),clarifyTimeoutError:vt.transitional(vt.boolean)},!1),i!=null&&(R.isFunction(i)?r.paramsSerializer={serialize:i}:Me.assertOptions(i,{encode:vt.function,serialize:vt.function},!0)),r.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?r.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:r.allowAbsoluteUrls=!0),Me.assertOptions(r,{baseUrl:vt.spelling("baseURL"),withXsrfToken:vt.spelling("withXSRFToken")},!0),r.method=(r.method||this.defaults.method||"get").toLowerCase();let o=s&&R.merge(s.common,s[r.method]);s&&R.forEach(["delete","get","head","post","put","patch","common"],d=>{delete s[d]}),r.headers=at.concat(o,s);const u=[];let l=!0;this.interceptors.request.forEach(function(d){typeof d.runWhen=="function"&&d.runWhen(r)===!1||(l=l&&d.synchronous,u.unshift(d.fulfilled,d.rejected))});const a=[];this.interceptors.response.forEach(function(d){a.push(d.fulfilled,d.rejected)});let c,f=0,h;if(!l){const d=[Vi.bind(this),void 0];for(d.unshift.apply(d,u),d.push.apply(d,a),h=d.length,c=Promise.resolve(r);f<h;)c=c.then(d[f++],d[f++]);return c}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{c=Vi.call(this,p)}catch(d){return Promise.reject(d)}for(f=0,h=a.length;f<h;)c=c.then(a[f++],a[f++]);return c}getUri(t){t=qt(this.defaults,t);const r=Fo(t.baseURL,t.url,t.allowAbsoluteUrls);return Co(r,t.params,t.paramsSerializer)}};R.forEach(["delete","get","head","options"],function(e){Lt.prototype[e]=function(t,r){return this.request(qt(r||{},{method:e,url:t,data:(r||{}).data}))}});R.forEach(["post","put","patch"],function(e){function t(r){return function(n,i,s){return this.request(qt(s||{},{method:e,headers:r?{"Content-Type":"multipart/form-data"}:{},url:n,data:i}))}}Lt.prototype[e]=t(),Lt.prototype[e+"Form"]=t(!0)});let xg=class qo{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 s=n._listeners.length;for(;s-- >0;)n._listeners[s](i);n._listeners=null}),this.promise.then=i=>{let s;const o=new Promise(u=>{n.subscribe(u),s=u}).then(i);return o.cancel=function(){n.unsubscribe(s)},o},t(function(i,s,o){n.reason||(n.reason=new ue(i,s,o),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 qo(function(r){t=r}),cancel:t}}};function Tg(e){return function(t){return e.apply(null,t)}}function Rg(e){return R.isObject(e)&&e.isAxiosError===!0}const Yr={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(Yr).forEach(([e,t])=>{Yr[t]=e});function zo(e){const t=new Lt(e),r=_o(Lt.prototype.request,t);return R.extend(r,Lt.prototype,t,{allOwnKeys:!0}),R.extend(r,t,null,{allOwnKeys:!0}),r.create=function(n){return zo(qt(e,n))},r}const Q=zo(xe);Q.Axios=Lt;Q.CanceledError=ue;Q.CancelToken=xg;Q.isCancel=Po;Q.VERSION=Ho;Q.toFormData=ir;Q.AxiosError=K;Q.Cancel=Q.CanceledError;Q.all=function(e){return Promise.all(e)};Q.spread=Tg;Q.isAxiosError=Rg;Q.mergeConfig=qt;Q.AxiosHeaders=at;Q.formToJSON=e=>Io(R.isHTMLForm(e)?new FormData(e):e);Q.getAdapter=Vo.getAdapter;Q.HttpStatusCode=Yr;Q.default=Q;const{Axios:o1,AxiosError:a1,CanceledError:u1,isCancel:c1,CancelToken:l1,VERSION:f1,all:h1,Cancel:p1,isAxiosError:d1,spread:m1,toFormData:g1,AxiosHeaders:y1,HttpStatusCode:v1,formToJSON:b1,getAdapter:w1,mergeConfig:_1}=Q,Ag={form:"application/x-www-form-urlencoded",json:"application/json",data:"multipart/form-data"},$g=["put","post","patch"],qi="Local-Request-Id",Og=100,jg=300;let Dg=class{constructor(t={}){lt(this,"axios"),lt(this,"settings"),lt(this,"records",{}),lt(this,"isLoading",!1),lt(this,"stopSkipWarn"),lt(this,"showLoading"),lt(this,"showError"),this.settings=Object.assign({type:"form"},t.settings||{});const r=wr(t,["settings","query"]);this.axios=Q.create(de({headers:{"Content-Type":"application/x-www-form-urlencoded"},timeout:120*1e3},r)),this.setupSkipWarn(this.settings),this.showLoading=Qs(this.openLoading.bind(this),Og),this.showError=Wp(this._showError.bind(this),jg,{leading:!0,trailing:!1})}setConfig(t={}){this.settings=de(this.settings,t.settings||{});const r=wr(t,["settings","query"]);this.axios.defaults=de(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||{}:{},s=V(V({"Content-Type":Ag[r.type||"form"]},n.headers),i);return r.skipWarn&&(s[qi]=t),s}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,s])=>{n.append(i,s)}),n}createSendData(t,r,n,i,s={}){const{type:o,skipWarn:u}=t,{name:l="skipWarn"}=u||{};let{data:a,params:c={},method:f="get"}=r;const h=i?{[l]:!0}:{};return $g.includes(f.toLowerCase())?(a=Object.assign(a||{},h),a=o!=="json"||!this.isJsonType(n)?this.toFormData(a,o):a,c=V({},s)):o==="form"?c=V(V(V({},a||{}),s),h):(a&&(o!=="json"||!this.isJsonType(n))&&(a=this.toFormData(a,o)),c=V(V({},s),h)),{data:a,params:c}}createUrl(t){let{url:r,params:n}=t;if(r){let i=ze(r)?new URL(r).origin:"";const s=i?r.replace(i,""):r;try{const o=Cd(s,{encode:encodeURIComponent});return i+o(n||{})}catch(o){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 s;const{failMessage:n,showError:i}=t;if(n&&i){const o=(s=r==null?void 0:r.response)==null?void 0:s.data,u=(o==null?void 0:o.message)||(o==null?void 0:o.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=de({},this.settings,t.settings||{}),i=t.query||{},s=wr(t,["settings","query"]),o=$d(!1),u=Q.CancelToken.source();this.records[o]={settings:n,config:s,source:u};const l=this.createUrl(s),a=this.createHeaders(o,n,s),{data:c,params:f}=this.createSendData(n,s,a,r,i);return this.showLoading(n),new Promise((h,p)=>{this.axios(tt(V({cancelToken:u.token},s),{url:l,headers:a,data:c,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[o],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:s}=t.skipWarn;this.stopSkipWarn=this.useResponse(o=>{const u=(o.config.headers||{})[qi],l=this.records[u];if(!l)return o;const{data:a}=o;if(!a||typeof a!="object")return o;if((a==null?void 0:a.code)===r){i&&i(o);const c=new Promise(n).then(()=>this.send(tt(V({},l.config),{settings:l.settings}),!0));c.catch(f=>f).finally(()=>{s&&s()}),o.promise=c}return o})}};function wn(e={}){const t=new Dg(e),r=t.send.bind(t),n=t.cancel.bind(t),i=t.setConfig.bind(t),s=t.useRequest.bind(t),o=t.useResponse.bind(t);return Object.assign(r,tt(V({},t),{instance:t,send:r,cancel:n,setConfig:i,useRequest:s,useResponse:o}))}const Gr=wn({settings:{injectHeaders:!0,loading:!0,originResponse:!0}}),Zr=typeof window<"u";function Bg(e){const t={};return e?(e.forEach((r,n)=>{t[n]=typeof r=="string"?decodeURIComponent(r):r}),t):{}}let Ko=class{constructor(t={}){lt(this,"options",{type:"cache",expired:0,prefix:"__VTJ_"}),lt(this,"caches",{}),lt(this,"types"),this.types={local:Zr?window.localStorage:this.caches,session:Zr?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:s,prefix:o}=V(V({},this.options),n),u=Date.now(),l=o+t,a=this.types[i]||this.caches,c={value:r,timestamp:u,expired:s};a===this.caches?a[l]=c:a.setItem(l,JSON.stringify(c))}get(t,r={}){const{type:n,prefix:i}=V(V({},this.options),r),s=i+t,o=this.types[n]||this.caches;let u;if(o===this.caches)u=o[s];else{const f=o.getItem(s);if(f)try{u=JSON.parse(f)}catch(h){console.warn("[Storage] JSON.parse",h)}}if(!u)return null;const{value:l,timestamp:a,expired:c}=u;return c>0&&a+c<Date.now()?(this.remove(t,r),null):l}remove(t,r={}){const{type:n,prefix:i}=V(V({},this.options),r),s=this.types[n]||this.caches,o=i+t;s===this.caches?delete s[o]:s.removeItem(o)}clear(t={}){const{type:r}=V(V({},this.options),t),n=this.types[r]||this.caches;n===this.caches?this.caches={}:n.clear()}};const xr=new Ko;function Wo(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ue={exports:{}},Cg=Ue.exports,zi;function Ng(){return zi||(zi=1,(function(e,t){(function(r,n){n(t,e)})(Cg,function(r,n){var i={timeout:5e3,jsonpCallback:"callback"};function s(){return"jsonp_"+Date.now()+"_"+Math.ceil(Math.random()*1e5)}function o(a){try{delete window[a]}catch(c){window[a]=void 0}}function u(a){var c=document.getElementById(a);c&&document.getElementsByTagName("head")[0].removeChild(c)}function l(a){var c=arguments.length<=1||arguments[1]===void 0?{}:arguments[1],f=a,h=c.timeout||i.timeout,p=c.jsonpCallback||i.jsonpCallback,d=void 0;return new Promise(function(m,b){var _=c.jsonpCallbackFunction||s(),y=p+"_"+_;window[_]=function(w){m({ok:!0,json:function(){return Promise.resolve(w)}}),d&&clearTimeout(d),u(y),o(_)},f+=f.indexOf("?")===-1?"?":"&";var v=document.createElement("script");v.setAttribute("src",""+f+p+"="+_),c.charset&&v.setAttribute("charset",c.charset),c.nonce&&v.setAttribute("nonce",c.nonce),c.referrerPolicy&&v.setAttribute("referrerPolicy",c.referrerPolicy),c.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")),o(_),u(y),window[_]=function(){o(_)}},h),v.onerror=function(){b(new Error("JSONP request to "+a+" failed")),o(_),u(y),d&&clearTimeout(d)}})}n.exports=l})})(Ue,Ue.exports)),Ue.exports}var Ig=Ng();const Pg=Wo(Ig);function kg(e){if(Zr){const{protocol:t,host:r,pathname:n}=location;return`${t}//${r}${e?n:""}`}else return null}function Fg(e=""){const t=e.match(po);return t?t[0]:""}function Jo(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 Qr(e,t,r){const n={};e=(e||location.search).replace(/^[^]*\?/,""),t=t||"&",r=r||"=";let i;const s=new RegExp("(?:^|\\"+t+")([^\\"+r+"\\"+t+"]+)(?:\\"+r+"([^\\"+t+"]*))?","g");for(;(i=s.exec(e))!==null;)i[1]!==e&&(n[decodeURIComponent(i[1])]=decodeURIComponent(i[2]||""));return n}function Yo(e,t){t=typeof t=="string"?Qr(t):t;const r=e.split("?")[0],n=Qr(e),i=Object.assign({},n,t),s=Jo(i);return s?[r,s].join("?"):e}const Le=Object.freeze(Object.defineProperty({__proto__:null,append:Yo,getCurrentHost:kg,getHost:Fg,parse:Qr,stringify:Jo},Symbol.toStringTag,{value:"Module"}));function Go(r){return k(this,arguments,function*(e,t={}){const{query:n={}}=t;e.includes("${")&&(e=zp(e)(n||{}));const i=Yo(e,n);return yield(yield Pg(i,t)).json()})}var Tr,Ki;function Mg(){if(Ki)return Tr;Ki=1,Tr=function(n,i,s){var o=document.head||document.getElementsByTagName("head")[0],u=document.createElement("script");typeof i=="function"&&(s=i,i={}),i=i||{},s=s||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 l="onload"in u?t:r;l(u,s),u.onload||t(u,s),o.appendChild(u)};function e(n,i){for(var s in i)n.setAttribute(s,i[s])}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 Tr}var Ug=Mg();const Lg=Wo(Ug);function Wi(e,t={}){return new Promise((r,n)=>{const{library:i}=t;Lg(e,t,(s,o)=>{s?n(s):r(i?window[i]:void 0)})})}const Ji={debug:-1,log:0,info:0,warn:1,error:2},Vg=function(e,t,r,n){return function(...i){if(t&&Ji[t]<=Ji[e]&&console[e].apply&&(n==="*"||r.startsWith(n)))return console[e].apply(console,Hg(i,r))}};function Hg(e,t){return t!=="*"&&(typeof e[0]=="string"?e[0]=`[${t}] ${e[0]}`:e=["["+t+"]"].concat(e)),e}function qg(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 zg={level:"warn",bizName:"*"};class Kg{constructor(t){lt(this,"config"),lt(this,"options"),this.options=V(V({},zg),t);const r=typeof location<"u"?location:{},n=(/__(?:logConf|logLevel)__=([^#/&]*)/.exec(r.href)||[])[1];this.config=qg(n,t)}_log(t){const{targetLevel:r,targetBizName:n}=this.config,{bizName:i}=this.options;return Vg(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 Wg(e){return new Kg(e)}const re=Wg({level:"log",bizName:"VTJ"});/*! js-cookie v3.0.5 | MIT */function Ce(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 Jg={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 Xr(e,t){function r(i,s,o){if(!(typeof document>"u")){o=Ce({},t,o),typeof o.expires=="number"&&(o.expires=new Date(Date.now()+o.expires*864e5)),o.expires&&(o.expires=o.expires.toUTCString()),i=encodeURIComponent(i).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var u="";for(var l in o)o[l]&&(u+="; "+l,o[l]!==!0&&(u+="="+o[l].split(";")[0]));return document.cookie=i+"="+e.write(s,i)+u}}function n(i){if(!(typeof document>"u"||arguments.length&&!i)){for(var s=document.cookie?document.cookie.split("; "):[],o={},u=0;u<s.length;u++){var l=s[u].split("="),a=l.slice(1).join("=");try{var c=decodeURIComponent(l[0]);if(o[c]=e.read(a,c),i===c)break}catch(f){}}return i?o[i]:o}}return Object.create({set:r,get:n,remove:function(i,s){r(i,"",Ce({},s,{expires:-1}))},withAttributes:function(i){return Xr(this.converter,Ce({},this.attributes,i))},withConverter:function(i){return Xr(Ce({},this.converter,i),this.attributes)}},{attributes:{value:Object.freeze(t)},converter:{value:Object.freeze(e)}})}var _n=Xr(Jg,{path:"/"});function Yg(e,t,r){_n.set(e,t,r)}function Gg(e){return _n.get(e)}function Zg(e,t){_n.remove(e,t)}const Rr=Object.freeze(Object.defineProperty({__proto__:null,get:Gg,remove:Zg,set:Yg},Symbol.toStringTag,{value:"Module"}));/**!
62
62
  * Copyright (c) 2025, VTJ.PRO All rights reserved.
63
63
  * @name @vtj/renderer
64
64
  * @author CHC chenhuachun1549@dingtalk.com
65
- * @version 0.13.12
65
+ * @version 0.13.14
66
66
  * @license <a href="https://vtj.pro/license.html">MIT License</a>
67
- */const Ar="0.13.12";var et=(e=>(e.Runtime="Runtime",e.Design="Design",e.Raw="Raw",e.VNode="VNode",e))(et||{});const Yi=["$el","$emit","$nextTick","$parent","$root","$attrs","$slots","$watch","$props","$options","$forceUpdate"],Qg=["vIf","vElseIf","vElse","vShow","vModel","vFor","vBind","vHtml"],Xg={String,Number,Boolean,Array,Object,Function,Date},Ve="VtjPage",$r="VtjHomepage",t0="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,svg".split(","),e0="component,slot".split(",");function Ne(e,t){return e.map(r=>ze(r)||r.startsWith("/")?r:`${t}${r}`)}function ar(e){return/\.css$/.test(e)}function ur(e){return/\.js$/.test(e)}function r0(e){return/\.json$/.test(e)}function n0(e,t=!1){return t&&e.endsWith(".prod.js")?e.replace(".prod.js",".js"):e}function i0(e,t,r=!1){const n=e.filter(h=>!!h.enabled),i=[],s=[],o=[],u=[],l={},a={},c=[],f={};return n.forEach(({urls:h,assetsUrl:p,library:d,assetsLibrary:m,localeLibrary:b})=>{h==null||h.forEach(_=>{ur(_)&&i.push(n0(_,r)),ar(_)&&s.push(_)}),d&&(u.push(d),l[d]=Ne(h||[],t),b&&(a[d]=b)),p&&o.push(p),m&&c.push(m),d&&m&&(f[m]=d)}),{scripts:Ne(i,t),css:Ne(s,t),materials:Ne(o,t),libraryExports:u,materialExports:jd(c),materialMapLibrary:f,libraryMap:l,libraryLocaleMap:a}}function s0(e,t){var s;const{name:r,parent:n,alias:i}=e;return n?(s=t[n])==null?void 0:s[i||r]:t[i||r]}function o0(e=[]){const t=e.filter(n=>ar(n)),r=e.filter(n=>ur(n));return{css:t,js:r}}function a0(e,t){const r=a=>{const c=[];let f=0;for(;f<a.length;){if(/\s/.test(a[f])){f++;continue}if(a.substring(f,f+2)==="/*"){const _=a.indexOf("*/",f+2);if(_!==-1){f=_+2;continue}}if(a[f]==="@"){const _=f;for(;f<a.length&&a[f]!=="{"&&a[f]!==";";)f++;const y=a.substring(_,f).trim(),v=y.includes("@keyframes");if(a[f]===";")c.push({type:"simple-at-rule",content:a.substring(_,f+1)}),f++;else if(a[f]==="{"){const w=f+1;let S=1;for(f++;f<a.length&&S>0;)a[f]==="{"?S++:a[f]==="}"&&S--,f++;const g=a.substring(_,f),x=a.substring(w,f-1);c.push({type:v?"keyframes":"at-rule",rule:y,content:g,inner:x})}continue}const h=f;for(;f<a.length&&a[f]!=="{";)f++;if(f>=a.length)break;const p=a.substring(h,f).trim();if(!p){f++;continue}const d=f+1;let m=1;for(f++;f<a.length&&m>0;)a[f]==="{"?m++:a[f]==="}"&&m--,f++;const b=a.substring(d,f-1);c.push({type:"rule",selector:p,content:b.trim()})}return c},n=a=>{const c=a.trim();return/^(from|to|\d+(\.\d+)?%)$/.test(c)},i=a=>a.replace(/::v-deep\(/g,":deep(").replace(/::v-deep\s+/g,":deep(").replace(/\/deep\//g," ").replace(/>>>/g," ").replace(/(.*?):deep\(([^)]+)\)/g,(c,f,h)=>{const p=f.trim(),d=h.trim();return p?`${p}[${t}] ${d}`:d}),s=a=>{const c=a.trim();if(!c||c.includes(`[${t}]`)||/^(:root|:host|html|body)(\s|$|:|\.|\#|\[)/.test(c)||n(c))return c;const f=c.match(/^(.+?)((?:::?[\w-]+(?:\([^)]*\))?)*)\s*$/);if(f){const[,h,p=""]=f,d=h.trim();return d?`${d}[${t}]${p}`:c}return`${c}[${t}]`},o=a=>i(a).split(",").map(c=>s(c)).filter(c=>c.trim()).join(", "),u=a=>a.map(c=>{switch(c.type){case"simple-at-rule":return c.content;case"keyframes":return c.content;case"at-rule":try{const h=r(c.inner),p=u(h);return`${c.rule} { ${p} }`}catch(h){return c.content}case"rule":if(!c.selector||!c.content)return"";const f=o(c.selector);return f.trim()?`${f} { ${c.content} }`:"";default:return""}}).filter(c=>c.trim()).join(" "),l=a=>a.replace(/\s*{\s*/g," { ").replace(/\s*}\s*/g," } ").replace(/\s*;\s*/g,"; ").replace(/\s*,\s*/g,", ").replace(/\s+/g," ").replace(/^\s+|\s+$/g,"").replace(/\s*}\s*}/g," } }").trim();try{const a=e.replace(/\/\*(?!\s*!)[\s\S]*?\*\//g,"").replace(/^\s+|\s+$/gm,"").replace(/\n\s*\n/g,`
67
+ */const Ar="0.13.14";var et=(e=>(e.Runtime="Runtime",e.Design="Design",e.Raw="Raw",e.VNode="VNode",e))(et||{});const Yi=["$el","$emit","$nextTick","$parent","$root","$attrs","$slots","$watch","$props","$options","$forceUpdate"],Qg=["vIf","vElseIf","vElse","vShow","vModel","vFor","vBind","vHtml"],Xg={String,Number,Boolean,Array,Object,Function,Date},Ve="VtjPage",$r="VtjHomepage",t0="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,svg".split(","),e0="component,slot".split(",");function Ne(e,t){return e.map(r=>ze(r)||r.startsWith("/")?r:`${t}${r}`)}function ar(e){return/\.css$/.test(e)}function ur(e){return/\.js$/.test(e)}function r0(e){return/\.json$/.test(e)}function n0(e,t=!1){return t&&e.endsWith(".prod.js")?e.replace(".prod.js",".js"):e}function i0(e,t,r=!1){const n=e.filter(h=>!!h.enabled),i=[],s=[],o=[],u=[],l={},a={},c=[],f={};return n.forEach(({urls:h,assetsUrl:p,library:d,assetsLibrary:m,localeLibrary:b})=>{h==null||h.forEach(_=>{ur(_)&&i.push(n0(_,r)),ar(_)&&s.push(_)}),d&&(u.push(d),l[d]=Ne(h||[],t),b&&(a[d]=b)),p&&o.push(p),m&&c.push(m),d&&m&&(f[m]=d)}),{scripts:Ne(i,t),css:Ne(s,t),materials:Ne(o,t),libraryExports:u,materialExports:jd(c),materialMapLibrary:f,libraryMap:l,libraryLocaleMap:a}}function s0(e,t){var s;const{name:r,parent:n,alias:i}=e;return n?(s=t[n])==null?void 0:s[i||r]:t[i||r]}function o0(e=[]){const t=e.filter(n=>ar(n)),r=e.filter(n=>ur(n));return{css:t,js:r}}function a0(e,t){const r=a=>{const c=[];let f=0;for(;f<a.length;){if(/\s/.test(a[f])){f++;continue}if(a.substring(f,f+2)==="/*"){const _=a.indexOf("*/",f+2);if(_!==-1){f=_+2;continue}}if(a[f]==="@"){const _=f;for(;f<a.length&&a[f]!=="{"&&a[f]!==";";)f++;const y=a.substring(_,f).trim(),v=y.includes("@keyframes");if(a[f]===";")c.push({type:"simple-at-rule",content:a.substring(_,f+1)}),f++;else if(a[f]==="{"){const w=f+1;let S=1;for(f++;f<a.length&&S>0;)a[f]==="{"?S++:a[f]==="}"&&S--,f++;const g=a.substring(_,f),x=a.substring(w,f-1);c.push({type:v?"keyframes":"at-rule",rule:y,content:g,inner:x})}continue}const h=f;for(;f<a.length&&a[f]!=="{";)f++;if(f>=a.length)break;const p=a.substring(h,f).trim();if(!p){f++;continue}const d=f+1;let m=1;for(f++;f<a.length&&m>0;)a[f]==="{"?m++:a[f]==="}"&&m--,f++;const b=a.substring(d,f-1);c.push({type:"rule",selector:p,content:b.trim()})}return c},n=a=>{const c=a.trim();return/^(from|to|\d+(\.\d+)?%)$/.test(c)},i=a=>a.replace(/::v-deep\(/g,":deep(").replace(/::v-deep\s+/g,":deep(").replace(/\/deep\//g," ").replace(/>>>/g," ").replace(/(.*?):deep\(([^)]+)\)/g,(c,f,h)=>{const p=f.trim(),d=h.trim();return p?`${p}[${t}] ${d}`:d}),s=a=>{const c=a.trim();if(!c||c.includes(`[${t}]`)||/^(:root|:host|html|body)(\s|$|:|\.|\#|\[)/.test(c)||n(c))return c;const f=c.match(/^(.+?)((?:::?[\w-]+(?:\([^)]*\))?)*)\s*$/);if(f){const[,h,p=""]=f,d=h.trim();return d?`${d}[${t}]${p}`:c}return`${c}[${t}]`},o=a=>i(a).split(",").map(c=>s(c)).filter(c=>c.trim()).join(", "),u=a=>a.map(c=>{switch(c.type){case"simple-at-rule":return c.content;case"keyframes":return c.content;case"at-rule":try{const h=r(c.inner),p=u(h);return`${c.rule} { ${p} }`}catch(h){return c.content}case"rule":if(!c.selector||!c.content)return"";const f=o(c.selector);return f.trim()?`${f} { ${c.content} }`:"";default:return""}}).filter(c=>c.trim()).join(" "),l=a=>a.replace(/\s*{\s*/g," { ").replace(/\s*}\s*/g," } ").replace(/\s*;\s*/g,"; ").replace(/\s*,\s*/g,", ").replace(/\s+/g," ").replace(/^\s+|\s+$/g,"").replace(/\s*}\s*}/g," } }").trim();try{const a=e.replace(/\/\*(?!\s*!)[\s\S]*?\*\//g,"").replace(/^\s+|\s+$/gm,"").replace(/\n\s*\n/g,`
68
68
  `),c=r(a),f=u(c);return l(f)}catch(a){return console.error("CSS scoping failed:",a),console.error("Input CSS:",e),e.replace(/\/\*[\s\S]*?\*\//g,"").replace(/(@keyframes\s+[^{]+\s*{[^{}]*(?:{[^}]*}[^{}]*)*})/g,c=>c).replace(/([^{}@]+)(?=\s*{)/g,c=>{const f=c.trim();return!f||f.startsWith("@")||f.includes(`[${t}]`)||n(f)?c:`${f}[${t}]`})}}function Zo(e){return Dt(e)?e:JSON.stringify(e)}function cr(e,t,r,n=!1){const i=e.CSSStyleSheet,s=n?`data-v-${t}`:t,o=n?a0(r,s):r;if(i.prototype.replaceSync){const u=new i;u.id=t,u.replaceSync(o);const l=e.document,a=l.adoptedStyleSheets,c=Array.from(a).filter(f=>f.id!==t);l.adoptedStyleSheets=[...c,u]}else{const u=e.document;let l=u.getElementById(t);l?l.innerHTML=o:(l=u.createElement("style"),l.id=t,l.innerHTML=o,u.head.appendChild(l))}}function u0(e,t){return k(this,null,function*(){const r=yield window.fetch(t).then(n=>n.text()).catch(()=>"");r&&cr(window,e,r)})}function Qo(e,t=window){const r=t.document,n=t.document.head;for(const i of e)if(!r.getElementById(i)){const s=r.createElement("link");s.rel="stylesheet",s.id=i,s.href=i,n.appendChild(s)}}function Xo(n,i){return k(this,arguments,function*(e,t,r=window){const s=r.document,o=r.document.head;let u=r[t];return u?u.default||u:new Promise((l,a)=>{for(const c of e){const f=s.createElement("script");f.src=c,f.onload=()=>{u=r[t],u?l(u.default||u):a(null)},f.onerror=h=>{a(h)},o.appendChild(f)}})})}function c0(e){return Ht(e)||Ht(e==null?void 0:e.install)}function l0(e){return e0.includes(e)}function f0(e){return t0.includes(e)}function we(e=window){const t=window==null?void 0:window.Mock;if(t)return t;const r=e==null?void 0:e.Mock;if(r&&window)return window.Mock=r,r}function _e(e,t,r=!1,n=!1,i=!1){var s;try{const o=['"use strict";',"var __self = arguments[0];"];o.push("return ");let u=(e.value||"").trim();i||(u=u.replace(/this(\W|$)/g,(a,c)=>`__self${c}`)),u=o.join(`
69
69
  `)+u;const l=i?`
70
70
  ${u}
@@ -74,6 +74,6 @@ ${u}
74
74
  * Copyright (c) 2025, VTJ.PRO All rights reserved.
75
75
  * @name @vtj/uni
76
76
  * @author CHC chenhuachun1549@dingtalk.com
77
- * @version 0.13.12
77
+ * @version 0.13.14
78
78
  * @license <a href="https://vtj.pro/license.html">MIT License</a>
79
79
  */const ly=["onLaunch","onShow","onHide","onError","onPageNotFound","onUnhandledRejection","onThemeChange","onPageNotFound","onUniNViewMessage","onExit"],Gi="/pages",fy="VTJ",hy="__UNI__1FC118B",py="VTJ移动跨端项目",dy="1.0.0",my="100",gy=!1,yy={},vy={enable:!1},by="3",wy={name:fy,appid:hy,description:py,versionName:dy,versionCode:my,transformPx:gy,"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:yy,"mp-weixin":{appid:"",setting:{urlCheck:!1},usingComponents:!0},"mp-alipay":{usingComponents:!0},"mp-baidu":{usingComponents:!0},"mp-toutiao":{usingComponents:!0},uniStatistics:vy,vueVersion:by},_y=[],Ey={navigationBarTextStyle:"black",navigationBarTitleText:"uni-app",navigationBarBackgroundColor:"#F8F8F8",backgroundColor:"#F8F8F8"},Sy={autoscan:!0,custom:{"^uni-(.*)":"@dcloudio/uni-ui/lib/uni-$1/uni-$1.vue"}},xy={pages:_y,globalStyle:Ey,easycom:Sy};function Ty(e){let{manifestJson:t={},pagesJson:r={},routes:n=[]}=e;const i=n.map(s=>{const{path:o,style:u,needLogin:l}=s;return{path:o,style:u,needLogin:l}});return tt(V({},e),{manifestJson:Object.assign({},wy,t),pagesJson:Object.assign({},xy,r,{pages:i})})}const on={navigationBarBackgroundColor:"backgroundColor",navigationBarTextStyle:"titleColor",navigationBarTitleText:"titleText",navigationStyle:"style",titleImage:"titleImage",titlePenetrate:"titlePenetrate",transparentTitle:"transparentTitle"};function aa(e){const t={},r={black:"#000000",white:"#ffffff"};for(const n in e)on[n]&&(t[on[n]]=n==="navigationBarTextStyle"?r[e[n]]||r.black:e[n]);return t}function Ry(e){const t={};for(const r in e)on[r]||(t[r]=e[r]);return t}function Ay(e){var t,r;return((r=(t=e.h5)==null?void 0:t.router)==null?void 0:r.mode)||"hash"}function $y(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 Oy(e){const{pagesJson:t={}}=e,{globalStyle:r,pages:n=[]}=t;return!!(r!=null&&r.enablePullDownRefresh||n.find(i=>{var s;return!!((s=i.style)!=null&&s.enablePullDownRefresh)}))}function jy(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(s=>{var o;return((o=s.style)==null?void 0:o.navigationStyle)==="default"})&&(i=!1)):n.every(s=>{var o;return((o=s.style)==null?void 0:o.navigationStyle)==="custom"})&&(i=!0),i}function Dy(e){var u;const t=jy(e),r={navigationBar:!1,navigationBarButtons:!1,navigationBarSearchInput:!1,navigationBarTransparent:!1},{pagesJson:n={}}=e,{globalStyle:i,pages:s=[]}=n;if(t)return r;r.navigationBar=!0;const o=(u=i==null?void 0:i.h5)==null?void 0:u.titleNView;return s.find(l=>{var a,c,f;return!!((f=(c=(a=l.style)==null?void 0:a.h5)==null?void 0:c.titleNView)!=null&&f.buttons.length)})&&(r.navigationBarButtons=!0),(o!=null&&o.searchInput||s.find(l=>{var a,c,f;return!!((f=(c=(a=l.style)==null?void 0:a.h5)==null?void 0:c.titleNView)!=null&&f.searchInput)}))&&(r.navigationBarSearchInput=!0),((o==null?void 0:o.type)==="transparent"||s.find(l=>{var a,c,f;return((f=(c=(a=l.style)==null?void 0:a.h5)==null?void 0:c.titleNView)==null?void 0:f.type)==="transparent"}))&&(r.navigationBarTransparent=!0),r}function By(e,t=window){var h,p,d,m;const{pagesJson:r={},manifestJson:n={}}=e,{topWindow:i,leftWindow:s,rightWindow:o}=$y(r),{navigationBar:u,navigationBarButtons:l,navigationBarSearchInput:a,navigationBarTransparent:c}=Dy(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__:Ay(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__:s,__UNI_FEATURE_RIGHTWINDOW__:o,__UNI_FEATURE_RESPONSIVE__:!1,__UNI_FEATURE_NAVIGATIONBAR__:u,__UNI_FEATURE_PULL_DOWN_REFRESH__:Oy(e),__UNI_FEATURE_NAVIGATIONBAR_BUTTONS__:l,__UNI_FEATURE_NAVIGATIONBAR_SEARCHINPUT__:a,__UNI_FEATURE_NAVIGATIONBAR_TRANSPARENT__:c};Object.entries(f).forEach(([b,_])=>{t[b]=_})}const Cy="4.57";function Ny(e,t=window){var f,h;const{pagesJson:r={},manifestJson:n={}}=e,{easycom:i={}}=r,{appid:s="",name:o="",versionCode:u="",versionName:l=""}=n,a=r.globalStyle,c=((f=n.h5)==null?void 0:f.router)||{};t.__uniConfig={easycom:i,globalStyle:tt(V({},Ry(a)),{navigationBar:aa(a),isNVue:!1}),compilerVersion:Cy,appId:s,appName:o,appVersion:l,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:c.base||"/"},c),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 Iy(e,t=window){const{UniServiceJSBridge:r,UniViewJSBridge:n,getApp:i,uni:s,getCurrentPages:o,upx2px:u,setupPage:l}=e;t.UniServiceJSBridge=r,t.UniViewJSBridge=n,t.getApp=i,t.uni=s,t.wx=s,t.getCurrentPages=o,t.upx2px=u,t.__setupPage=a=>l(a)}function Py(e,t,r){const{openBlock:n,createBlock:i,withCtx:s,createVNode:o}=e,{PageComponent:u,setupPage:l,getApp:a}=t;return{mpType:"page",setup(){return k(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:s(()=>[o(l(d),Object.assign({},f,{ref:"page"}),null,512)]),_:1}))})}}}function ky(e,t,r){var p;const{path:n,style:i={},meta:s={},home:o,id:u}=t,l=((p=e.tabBar)==null?void 0:p.list)||[],a=l.findIndex(d=>{var m;return d.pagePath===n||((m=d.pagePath)==null?void 0:m.endsWith(u))}),c=l[a],f=!!c,h=r===0;return V({isTabBar:f,tabBarIndex:a,isQuit:o!=null?o:h,isEntry:o!=null?o:h,navigationBar:V({type:"default"},aa(i)),isNVue:!1,route:c?c.pagePath:n},s)}function Fy(e,t,r,n,i=window){const s=r.map((o,u)=>{const l=ky(n,o,u),a=Py(e,t,o),{path:c}=o;return{path:c,alias:c,meta:l,component:{render(){return e.h(e.Suspense,[e.h(a)])}}}});i.__uniRoutes=s,i.__uniLayout={}}function My(e,t,r=window){cr(r,String(e),t)}function Uy(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 Ly(e){const t=Ty(e),{Vue:r,App:n,UniH5:i,routes:s=[],pagesJson:o={},manifestJson:u={},window:l,css:a=""}=t;if(!i)return r.createApp(n);const{plugin:c,setupApp:f}=i;By(t,l),Ny(t,l),Iy(i,l),Fy(r,i,s,o,l),My(u.appid||Date.now(),a,l);const h=r.createApp(f(n));return h.use(Uy,i),h.use(c),h}function Vy(e,t){const r={};return Object.entries(e).forEach(([n,i])=>{ly.includes(n)&&i&&(r[n]=t(i))}),r}function Zi(e,t){return()=>k(null,null,function*(){const r=yield e.getDsl(t);if(r){const{renderer:n}=e.createDslRenderer(r);return n}return null})}function Hy(n){return k(this,arguments,function*(e,t=!1,r=Gi){var u,l,a;const i=((u=e.project)==null?void 0:u.pages)||[],s=[];for(const c of i){const f=((l=e.project)==null?void 0:l.homepage)===c.id;s.push({id:c.id,path:`${r}/${c.id}`,loader:Zi(e,c.id),style:V({navigationBarTitleText:c.title},c.style),needLogin:c.needLogin,home:f})}const o=s.find(c=>!!c.home)||s[0];if(o){const c=r===Gi?"/":r;s.unshift(tt(V({},o),{path:c}))}if(t){const c=((a=e.project)==null?void 0:a.blocks)||[];for(const f of c)s.push({id:f.id,path:`${r}/${f.id}`,loader:Zi(e,f.id),style:{navigationStyle:"custom"}})}return s})}function qy(){var e;return(e=window.uni)!=null&&e.showLoading&&window.uni.showLoading({title:"加载中...",mask:!0}),{close:()=>{var t;(t=window.uni)!=null&&t.hideLoading&&window.uni.hideLoading()}}}function ua(e,t="",r="warning"){return k(this,null,function*(){var n;return(n=window.uni)!=null&&n.showModal?window.uni.showModal({title:t,content:e,showCancel:!1}):Promise.reject(new Error("window.uni.showModal is undefined"))})}function zy(e=et.Runtime){return e===et.Runtime?Object.assign({}):Object.assign({})}const Ky=d0({loading:qy,notify:ua}),ca=new cy(ay(ua)),Wy=zy(),{provider:Jy,onReady:Yy}=ry({nodeEnv:"production",mode:et.Runtime,modules:Wy,materialPath:"../",adapter:Ky,service:ca,dependencies:{Vue:()=>Rn(()=>import("./@dcloudio-uni-h5-vue-Dkyr-yjK.js").then(e=>e.z),__vite__mapDeps([0,1,2]),import.meta.url),VueRouter:()=>Rn(()=>import("./vue-router-BPElbjFz.js"),__vite__mapDeps([3,0,1,2]),import.meta.url)}}),Gy=e=>k(null,null,function*(){const t=(yield ca.getExtension().catch(()=>null))||{},r=top||window,n=yield iy(t.enhance,r.location.pathname),{Vue:i,UniH5:s}=window,o=e.project;if(!o)return;const u=o.uniConfig||{},l=Vy(u,d=>ht(d,window,!1,!0)),{manifestJson:a,pagesJson:c,css:f}=u,h=yield Hy(e,!0),p=Ly({Vue:i,App:l,UniH5:s,routes:h,css:f,manifestJson:a,pagesJson:c});p.use(e),n&&p.use(n,e),p.mount(document.body)});Yy(()=>Gy(Jy));
@@ -13,7 +13,7 @@
13
13
  <title></title>
14
14
  <!--preload-links-->
15
15
  <!--app-context-->
16
- <script type="module" crossorigin src="./assets/index-qH01qKak.js"></script>
16
+ <script type="module" crossorigin src="./assets/index-DsaNk-Sl.js"></script>
17
17
  <link rel="modulepreload" crossorigin href="./assets/vue-BK7aLblh.js">
18
18
  <link rel="modulepreload" crossorigin href="./assets/@dcloudio-uni-shared-Cc-Ey1iB.js">
19
19
  <link rel="modulepreload" crossorigin href="./assets/@dcloudio-uni-h5-vue-Dkyr-yjK.js">
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vtj/pro",
3
3
  "private": false,
4
- "version": "0.13.12",
4
+ "version": "0.13.14",
5
5
  "keywords": [
6
6
  "低代码引擎",
7
7
  "LowCode Engine",
@@ -21,21 +21,21 @@
21
21
  "license": "MIT",
22
22
  "type": "module",
23
23
  "dependencies": {
24
- "@vtj/core": "~0.13.12",
25
- "@vtj/local": "~0.13.12",
26
- "@vtj/designer": "~0.13.12",
27
- "@vtj/materials": "~0.13.12",
28
- "@vtj/uni": "~0.13.12",
29
- "@vtj/renderer": "~0.13.12"
24
+ "@vtj/core": "~0.13.14",
25
+ "@vtj/local": "~0.13.14",
26
+ "@vtj/designer": "~0.13.14",
27
+ "@vtj/materials": "~0.13.14",
28
+ "@vtj/uni": "~0.13.14",
29
+ "@vtj/renderer": "~0.13.14"
30
30
  },
31
31
  "devDependencies": {
32
32
  "vue": "~3.5.5",
33
33
  "vue-router": "~4.5.0",
34
+ "@vtj/charts": "~0.13.14",
34
35
  "@vtj/cli": "~0.12.10",
35
- "@vtj/icons": "~0.13.12",
36
- "@vtj/charts": "~0.13.12",
37
- "@vtj/ui": "~0.13.12",
38
- "@vtj/utils": "~0.13.12"
36
+ "@vtj/icons": "~0.13.14",
37
+ "@vtj/ui": "~0.13.14",
38
+ "@vtj/utils": "~0.13.14"
39
39
  },
40
40
  "exports": {
41
41
  "./vite": {