@vtj/pro 0.11.16 → 0.12.0-alpha.0

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 (66) hide show
  1. package/dist/@vtj/materials/assets/antdv/index.umd.js +2 -2
  2. package/dist/@vtj/materials/assets/charts/index.umd.js +2 -2
  3. package/dist/@vtj/materials/assets/element/index.umd.js +2 -2
  4. package/dist/@vtj/materials/assets/ui/index.umd.js +2 -2
  5. package/dist/@vtj/materials/assets/uni-h5/index.umd.js +2 -2
  6. package/dist/@vtj/materials/assets/uni-ui/index.umd.js +2 -2
  7. package/dist/@vtj/materials/assets/vant/index.umd.js +5 -5
  8. package/dist/@vtj/materials/deps/@vtj/charts/index.umd.js +2 -2
  9. package/dist/@vtj/materials/deps/@vtj/icons/index.umd.js +2 -2
  10. package/dist/@vtj/materials/deps/@vtj/icons/style.css +1 -1
  11. package/dist/@vtj/materials/deps/@vtj/ui/index.umd.js +3 -3
  12. package/dist/@vtj/materials/deps/@vtj/utils/index.umd.js +2 -2
  13. package/dist/@vtj/materials/deps/element-plus/index.css +1 -1
  14. package/dist/@vtj/materials/deps/element-plus/index.full.min.js +19 -19
  15. package/dist/@vtj/materials/deps/element-plus/zh-cn.js +2 -2
  16. package/dist/@vtj/materials/deps/vant/vant.min.js +2 -2
  17. package/dist/assets/{@element-plus-icons-vue-D9M6af3i.js → @element-plus-icons-vue-DVDobX8n.js} +1 -1
  18. package/dist/assets/{@vueuse-CBolIfk8.js → @vueuse-BqGFNoW8.js} +1 -1
  19. package/dist/assets/Editor-DN_yRaGC-CBQ10SD_.css +1 -0
  20. package/dist/assets/Editor-DN_yRaGC-CFA_mX2p.js +253 -0
  21. package/dist/assets/auth-CRV5wqVz.js +1 -0
  22. package/dist/assets/element-plus-BrO3q7Hx.css +1 -0
  23. package/dist/assets/element-plus-ChjncS7R.js +13 -0
  24. package/dist/assets/index-BlfSwFr6.js +2 -0
  25. package/dist/assets/index-CDmV3VAb.js +1 -0
  26. package/dist/assets/index-hlWnCgA-.css +1 -0
  27. package/dist/assets/marked-A9Xy60Ec.js +56 -0
  28. package/dist/assets/{mockjs-DdaSpHxk.js → mockjs-CpJl_Tha.js} +1 -1
  29. package/dist/assets/{monaco-editor-B8dwQNlP.js → monaco-editor-311TVFBf.js} +1 -1
  30. package/dist/assets/page-nL9xr_JC.js +2 -0
  31. package/dist/assets/preview-rfPsMv78.js +2 -0
  32. package/dist/assets/{uni-page-DLae1FnZ.js → uni-page-Ck_kti9F.js} +1 -1
  33. package/dist/assets/utils-MwyoozgQ.js +1 -0
  34. package/dist/assets/{vue-B-E4FNFR.js → vue-DyRUlw3r.js} +1 -1
  35. package/dist/assets/{vue-router-CYHi_K9j.js → vue-router-DMcly29s.js} +1 -1
  36. package/dist/assets/{vxe-C7V99fHW.js → vxe-CmKTsEcP.js} +1 -1
  37. package/dist/index.html +10 -10
  38. package/dist/uni/assets/{index-DQVfW5PI.js → index-BYnYiS7M.js} +7 -7
  39. package/dist/uni/index.html +1 -1
  40. package/package.json +14 -14
  41. package/src/.vtj/files/45tm4w8w2.json +752 -9
  42. package/src/.vtj/histories/45tm4w8w2/13zdytpv.json +789 -0
  43. package/src/.vtj/histories/45tm4w8w2/23ze4qdv.json +789 -0
  44. package/src/.vtj/histories/45tm4w8w2/33ze4uyg.json +789 -0
  45. package/src/.vtj/histories/45tm4w8w2/43ze4v0a.json +789 -0
  46. package/src/.vtj/histories/45tm4w8w2/53ze4yr0.json +789 -0
  47. package/src/.vtj/histories/45tm4w8w2/63ze54qg.json +789 -0
  48. package/src/.vtj/histories/45tm4w8w2/73ze54s3.json +789 -0
  49. package/src/.vtj/histories/45tm4w8w2/83ze5c52.json +789 -0
  50. package/src/.vtj/histories/45tm4w8w2/93ze5ys5.json +789 -0
  51. package/src/.vtj/histories/45tm4w8w2.json +36 -0
  52. package/src/.vtj/logs/error-1744330931963.json +1043 -0
  53. package/src/.vtj/projects/@vtj/pro.json +2 -2
  54. package/dist/assets/Editor-7SLplEph-B1lds3kB.js +0 -1
  55. package/dist/assets/auth-BhCHCf4s.js +0 -1
  56. package/dist/assets/auth-D9f-Hr0r.css +0 -1
  57. package/dist/assets/element-plus-BWCD8G-d.js +0 -13
  58. package/dist/assets/element-plus-D6IEJTSW.css +0 -1
  59. package/dist/assets/index-5RBG6XMh.css +0 -1
  60. package/dist/assets/index-B4GxICAE.js +0 -247
  61. package/dist/assets/index-B5dZT_Tr.css +0 -1
  62. package/dist/assets/index-BowI2on7.js +0 -1
  63. package/dist/assets/index-DtwoOban.js +0 -2
  64. package/dist/assets/page-BDOapC1l.js +0 -2
  65. package/dist/assets/preview-BwU0ixAb.js +0 -2
  66. package/dist/assets/utils-Cz7eWcrY.js +0 -1
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__ = '1744247417313';
12
+ var __BUILD_TIME__ = '1745228070719';
13
13
  (function () {
14
14
  const regex = /<!--{{(\d*)}}-->/;
15
15
  window.fetch('?t=' + Date.now()).then(async (res) => {
@@ -25,19 +25,19 @@
25
25
  });
26
26
  })();
27
27
  </script>
28
- <!--{{1744247417313}}-->
28
+ <!--{{1745228070719}}-->
29
29
 
30
- <script type="module" crossorigin src="./assets/index-DtwoOban.js"></script>
31
- <link rel="modulepreload" crossorigin href="./assets/vue-B-E4FNFR.js">
30
+ <script type="module" crossorigin src="./assets/index-BlfSwFr6.js"></script>
31
+ <link rel="modulepreload" crossorigin href="./assets/vue-DyRUlw3r.js">
32
32
  <link rel="modulepreload" crossorigin href="./assets/lodash-es-BL-d_OSa.js">
33
- <link rel="modulepreload" crossorigin href="./assets/@vueuse-CBolIfk8.js">
34
- <link rel="modulepreload" crossorigin href="./assets/@element-plus-icons-vue-D9M6af3i.js">
33
+ <link rel="modulepreload" crossorigin href="./assets/@vueuse-BqGFNoW8.js">
34
+ <link rel="modulepreload" crossorigin href="./assets/@element-plus-icons-vue-DVDobX8n.js">
35
35
  <link rel="modulepreload" crossorigin href="./assets/shared-CFJLz5mK.js">
36
36
  <link rel="modulepreload" crossorigin href="./assets/dayjs-DO-COJPZ.js">
37
- <link rel="modulepreload" crossorigin href="./assets/element-plus-BWCD8G-d.js">
38
- <link rel="modulepreload" crossorigin href="./assets/monaco-editor-B8dwQNlP.js">
39
- <link rel="modulepreload" crossorigin href="./assets/vue-router-CYHi_K9j.js">
40
- <link rel="stylesheet" crossorigin href="./assets/element-plus-D6IEJTSW.css">
37
+ <link rel="modulepreload" crossorigin href="./assets/element-plus-ChjncS7R.js">
38
+ <link rel="modulepreload" crossorigin href="./assets/monaco-editor-311TVFBf.js">
39
+ <link rel="modulepreload" crossorigin href="./assets/vue-router-DMcly29s.js">
40
+ <link rel="stylesheet" crossorigin href="./assets/element-plus-BrO3q7Hx.css">
41
41
  <link rel="stylesheet" crossorigin href="./assets/monaco-editor-Cpw7ccEV.css">
42
42
  <link rel="stylesheet" crossorigin href="./assets/index-B-FTarqg.css">
43
43
 
@@ -1,5 +1,5 @@
1
1
  const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./@dcloudio-uni-h5-vue-C36z4qJb.js","./vue-BK7aLblh.js","./@dcloudio-uni-shared-VStmjWbh.js","./vue-router-CxcHTnUo.js"])))=>i.map(i=>d[i]);
2
- var Qs=Object.defineProperty,ta=Object.defineProperties;var ea=Object.getOwnPropertyDescriptors;var dn=Object.getOwnPropertySymbols;var ra=Object.prototype.hasOwnProperty,na=Object.prototype.propertyIsEnumerable;var zt=(e,t)=>(t=Symbol[e])?t:Symbol.for("Symbol."+e),ia=e=>{throw TypeError(e)};var nr=(e,t,r)=>t in e?Qs(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,V=(e,t)=>{for(var r in t||(t={}))ra.call(t,r)&&nr(e,r,t[r]);if(dn)for(var r of dn(t))na.call(t,r)&&nr(e,r,t[r]);return e},et=(e,t)=>ta(e,ea(t));var z=(e,t,r)=>nr(e,typeof t!="symbol"?t+"":t,r);var M=(e,t,r)=>new Promise((n,i)=>{var o=c=>{try{a(r.next(c))}catch(u){i(u)}},s=c=>{try{a(r.throw(c))}catch(u){i(u)}},a=c=>c.done?n(c.value):Promise.resolve(c.value).then(o,s);a((r=r.apply(e,t)).next())}),Bt=function(e,t){this[0]=e,this[1]=t},ir=(e,t,r)=>{var n=(s,a,c,u)=>{try{var l=r[s](a),f=(a=l.value)instanceof Bt,p=l.done;Promise.resolve(f?a[0]:a).then(h=>f?n(s==="return"?s:"next",a[1]?{done:h.done,value:h.value}:h,c,u):c({value:h,done:p})).catch(h=>n("throw",h,c,u))}catch(h){u(h)}},i=s=>o[s]=a=>new Promise((c,u)=>n(s,a,c,u)),o={};return r=r.apply(e,t),o[zt("asyncIterator")]=()=>o,i("next"),i("throw"),i("return"),o},or=e=>{var t=e[zt("asyncIterator")],r=!1,n,i={};return t==null?(t=e[zt("iterator")](),n=o=>i[o]=s=>t[o](s)):(t=t.call(e),n=o=>i[o]=s=>{if(r){if(r=!1,o==="throw")throw s;return s}return r=!0,{done:!1,value:new Bt(new Promise(a=>{var c=t[o](s);c instanceof Object||ia("Object expected"),a(c)}),1)}}),i[zt("iterator")]=()=>i,n("next"),"throw"in t?n("throw"):i.throw=o=>{throw o},"return"in t&&n("return"),i},mn=(e,t,r)=>(t=e[zt("asyncIterator")])?t.call(e):(e=e[zt("iterator")](),t={},r=(n,i)=>(i=e[n])&&(t[n]=o=>new Promise((s,a,c)=>(o=i.call(e,o),c=o.done,Promise.resolve(o.value).then(u=>s({value:u,done:c}),a)))),r("next"),r("return"),t);import{d as zi,g as gn,h as Sr,r as oa,O as ze,i as sa}from"./@dcloudio-uni-h5-vue-C36z4qJb.js";import{useRoute as aa}from"./vue-router-CxcHTnUo.js";import"./vue-BK7aLblh.js";import"./@dcloudio-uni-shared-VStmjWbh.js";(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))n(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const s of o.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&n(s)}).observe(document,{childList:!0,subtree:!0});function r(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function n(i){if(i.ep)return;i.ep=!0;const o=r(i);fetch(i.href,o)}})();const ua="modulepreload",ca=function(e,t){return new URL(e,t).href},yn={},vn=function(t,r,n){let i=Promise.resolve();if(r&&r.length>0){const s=document.getElementsByTagName("link"),a=document.querySelector("meta[property=csp-nonce]"),c=(a==null?void 0:a.nonce)||(a==null?void 0:a.getAttribute("nonce"));i=Promise.allSettled(r.map(u=>{if(u=ca(u,n),u in yn)return;yn[u]=!0;const l=u.endsWith(".css"),f=l?'[rel="stylesheet"]':"";if(!!n)for(let d=s.length-1;d>=0;d--){const m=s[d];if(m.href===u&&(!l||m.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${u}"]${f}`))return;const h=document.createElement("link");if(h.rel=l?"stylesheet":ua,l||(h.as="script"),h.crossOrigin="",h.href=u,c&&h.setAttribute("nonce",c),document.head.appendChild(h),l)return new Promise((d,m)=>{h.addEventListener("load",d),h.addEventListener("error",()=>m(new Error(`Unable to preload CSS for ${u}`)))})}))}function o(s){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=s,window.dispatchEvent(a),!a.defaultPrevented)throw s}return i.then(s=>{for(const a of s||[])a.status==="rejected"&&o(a.reason);return t().catch(o)})};var la={ENV_TYPE:"live",NODE_ENV:"production"},fa=typeof global=="object"&&global&&global.Object===Object&&global;const Wi=fa;var ha=typeof self=="object"&&self&&self.Object===Object&&self,pa=Wi||ha||Function("return this")();const dt=pa;var da=dt.Symbol;const yt=da;var Ki=Object.prototype,ma=Ki.hasOwnProperty,ga=Ki.toString,ue=yt?yt.toStringTag:void 0;function ya(e){var t=ma.call(e,ue),r=e[ue];try{e[ue]=void 0;var n=!0}catch(o){}var i=ga.call(e);return n&&(t?e[ue]=r:delete e[ue]),i}var va=Object.prototype,ba=va.toString;function wa(e){return ba.call(e)}var _a="[object Null]",Ea="[object Undefined]",bn=yt?yt.toStringTag:void 0;function Et(e){return e==null?e===void 0?Ea:_a:bn&&bn in Object(e)?ya(e):wa(e)}function bt(e){return e!=null&&typeof e=="object"}var Sa="[object Symbol]";function Ji(e){return typeof e=="symbol"||bt(e)&&Et(e)==Sa}function Yi(e,t){for(var r=-1,n=e==null?0:e.length,i=Array(n);++r<n;)i[r]=t(e[r],r,e);return i}var xa=Array.isArray;const Ut=xa;var wn=yt?yt.prototype:void 0,_n=wn?wn.toString:void 0;function Gi(e){if(typeof e=="string")return e;if(Ut(e))return Yi(e,Gi)+"";if(Ji(e))return _n?_n.call(e):"";var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}var Ta=/\s/;function Aa(e){for(var t=e.length;t--&&Ta.test(e.charAt(t)););return t}var Ra=/^\s+/;function Oa(e){return e&&e.slice(0,Aa(e)+1).replace(Ra,"")}function ft(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var En=NaN,$a=/^[-+]0x[0-9a-f]+$/i,ja=/^0b[01]+$/i,Da=/^0o[0-7]+$/i,Ba=parseInt;function Sn(e){if(typeof e=="number")return e;if(Ji(e))return En;if(ft(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=ft(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=Oa(e);var r=ja.test(e);return r||Da.test(e)?Ba(e.slice(2),r?2:8):$a.test(e)?En:+e}function Zi(e){return e}var Ca="[object AsyncFunction]",Na="[object Function]",Ia="[object GeneratorFunction]",Pa="[object Proxy]";function te(e){if(!ft(e))return!1;var t=Et(e);return t==Na||t==Ia||t==Ca||t==Pa}var Fa=dt["__core-js_shared__"];const sr=Fa;var xn=function(){var e=/[^.]+$/.exec(sr&&sr.keys&&sr.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function Ma(e){return!!xn&&xn in e}var ka=Function.prototype,Ua=ka.toString;function Vt(e){if(e!=null){try{return Ua.call(e)}catch(t){}try{return e+""}catch(t){}}return""}var La=/[\\^$.*+?()[\]{}|]/g,Va=/^\[object .+?Constructor\]$/,Ha=Function.prototype,qa=Object.prototype,za=Ha.toString,Wa=qa.hasOwnProperty,Ka=RegExp("^"+za.call(Wa).replace(La,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Ja(e){if(!ft(e)||Ma(e))return!1;var t=te(e)?Ka:Va;return t.test(Vt(e))}function Ya(e,t){return e==null?void 0:e[t]}function Ht(e,t){var r=Ya(e,t);return Ja(r)?r:void 0}var Ga=Ht(dt,"WeakMap");const xr=Ga;var Tn=Object.create,Za=function(){function e(){}return function(t){if(!ft(t))return{};if(Tn)return Tn(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}();const Xa=Za;function Xi(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}function Qa(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t}var tu=800,eu=16,ru=Date.now;function nu(e){var t=0,r=0;return function(){var n=ru(),i=eu-(n-r);if(r=n,i>0){if(++t>=tu)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function iu(e){return function(){return e}}var ou=function(){try{var e=Ht(Object,"defineProperty");return e({},"",{}),e}catch(t){}}();const ke=ou;var su=ke?function(e,t){return ke(e,"toString",{configurable:!0,enumerable:!1,value:iu(t),writable:!0})}:Zi;const au=su;var uu=nu(au);const cu=uu;function lu(e,t){for(var r=-1,n=e==null?0:e.length;++r<n&&t(e[r],r,e)!==!1;);return e}var fu=9007199254740991,hu=/^(?:0|[1-9]\d*)$/;function Qi(e,t){var r=typeof e;return t=t!=null?t:fu,!!t&&(r=="number"||r!="symbol"&&hu.test(e))&&e>-1&&e%1==0&&e<t}function Yr(e,t,r){t=="__proto__"&&ke?ke(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}function ve(e,t){return e===t||e!==e&&t!==t}var pu=Object.prototype,du=pu.hasOwnProperty;function to(e,t,r){var n=e[t];(!(du.call(e,t)&&ve(n,r))||r===void 0&&!(t in e))&&Yr(e,t,r)}function eo(e,t,r,n){var i=!r;r||(r={});for(var o=-1,s=t.length;++o<s;){var a=t[o],c=n?n(r[a],e[a],a,r,e):void 0;c===void 0&&(c=e[a]),i?Yr(r,a,c):to(r,a,c)}return r}var An=Math.max;function mu(e,t,r){return t=An(t===void 0?e.length-1:t,0),function(){for(var n=arguments,i=-1,o=An(n.length-t,0),s=Array(o);++i<o;)s[i]=n[t+i];i=-1;for(var a=Array(t+1);++i<t;)a[i]=n[i];return a[t]=r(s),Xi(e,this,a)}}function ro(e,t){return cu(mu(e,t,Zi),e+"")}var gu=9007199254740991;function no(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=gu}function We(e){return e!=null&&no(e.length)&&!te(e)}function yu(e,t,r){if(!ft(r))return!1;var n=typeof t;return(n=="number"?We(r)&&Qi(t,r.length):n=="string"&&t in r)?ve(r[t],e):!1}function io(e){return ro(function(t,r){var n=-1,i=r.length,o=i>1?r[i-1]:void 0,s=i>2?r[2]:void 0;for(o=e.length>3&&typeof o=="function"?(i--,o):void 0,s&&yu(r[0],r[1],s)&&(o=i<3?void 0:o,i=1),t=Object(t);++n<i;){var a=r[n];a&&e(t,a,n,o)}return t})}var vu=Object.prototype;function Gr(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||vu;return e===r}function bu(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}var wu="[object Arguments]";function Rn(e){return bt(e)&&Et(e)==wu}var oo=Object.prototype,_u=oo.hasOwnProperty,Eu=oo.propertyIsEnumerable,Su=Rn(function(){return arguments}())?Rn:function(e){return bt(e)&&_u.call(e,"callee")&&!Eu.call(e,"callee")};const Tr=Su;function xu(){return!1}var so=typeof exports=="object"&&exports&&!exports.nodeType&&exports,On=so&&typeof module=="object"&&module&&!module.nodeType&&module,Tu=On&&On.exports===so,$n=Tu?dt.Buffer:void 0,Au=$n?$n.isBuffer:void 0,Ru=Au||xu;const Zr=Ru;var Ou="[object Arguments]",$u="[object Array]",ju="[object Boolean]",Du="[object Date]",Bu="[object Error]",Cu="[object Function]",Nu="[object Map]",Iu="[object Number]",Pu="[object Object]",Fu="[object RegExp]",Mu="[object Set]",ku="[object String]",Uu="[object WeakMap]",Lu="[object ArrayBuffer]",Vu="[object DataView]",Hu="[object Float32Array]",qu="[object Float64Array]",zu="[object Int8Array]",Wu="[object Int16Array]",Ku="[object Int32Array]",Ju="[object Uint8Array]",Yu="[object Uint8ClampedArray]",Gu="[object Uint16Array]",Zu="[object Uint32Array]",G={};G[Hu]=G[qu]=G[zu]=G[Wu]=G[Ku]=G[Ju]=G[Yu]=G[Gu]=G[Zu]=!0,G[Ou]=G[$u]=G[Lu]=G[ju]=G[Vu]=G[Du]=G[Bu]=G[Cu]=G[Nu]=G[Iu]=G[Pu]=G[Fu]=G[Mu]=G[ku]=G[Uu]=!1;function Xu(e){return bt(e)&&no(e.length)&&!!G[Et(e)]}function Xr(e){return function(t){return e(t)}}var ao=typeof exports=="object"&&exports&&!exports.nodeType&&exports,he=ao&&typeof module=="object"&&module&&!module.nodeType&&module,Qu=he&&he.exports===ao,ar=Qu&&Wi.process,tc=function(){try{var e=he&&he.require&&he.require("util").types;return e||ar&&ar.binding&&ar.binding("util")}catch(t){}}();const vt=tc;var jn=vt&&vt.isTypedArray,ec=jn?Xr(jn):Xu;const uo=ec;var rc=Object.prototype,nc=rc.hasOwnProperty;function co(e,t){var r=Ut(e),n=!r&&Tr(e),i=!r&&!n&&Zr(e),o=!r&&!n&&!i&&uo(e),s=r||n||i||o,a=s?bu(e.length,String):[],c=a.length;for(var u in e)(t||nc.call(e,u))&&!(s&&(u=="length"||i&&(u=="offset"||u=="parent")||o&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||Qi(u,c)))&&a.push(u);return a}function lo(e,t){return function(r){return e(t(r))}}var ic=lo(Object.keys,Object);const oc=ic;var sc=Object.prototype,ac=sc.hasOwnProperty;function uc(e){if(!Gr(e))return oc(e);var t=[];for(var r in Object(e))ac.call(e,r)&&r!="constructor"&&t.push(r);return t}function fo(e){return We(e)?co(e):uc(e)}function cc(e){var t=[];if(e!=null)for(var r in Object(e))t.push(r);return t}var lc=Object.prototype,fc=lc.hasOwnProperty;function hc(e){if(!ft(e))return cc(e);var t=Gr(e),r=[];for(var n in e)n=="constructor"&&(t||!fc.call(e,n))||r.push(n);return r}function Qr(e){return We(e)?co(e,!0):hc(e)}var pc=io(function(e,t,r,n){eo(t,Qr(t),e,n)});const Dn=pc;var dc=Ht(Object,"create");const pe=dc;function mc(){this.__data__=pe?pe(null):{},this.size=0}function gc(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var yc="__lodash_hash_undefined__",vc=Object.prototype,bc=vc.hasOwnProperty;function wc(e){var t=this.__data__;if(pe){var r=t[e];return r===yc?void 0:r}return bc.call(t,e)?t[e]:void 0}var _c=Object.prototype,Ec=_c.hasOwnProperty;function Sc(e){var t=this.__data__;return pe?t[e]!==void 0:Ec.call(t,e)}var xc="__lodash_hash_undefined__";function Tc(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=pe&&t===void 0?xc:t,this}function Pt(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}Pt.prototype.clear=mc,Pt.prototype.delete=gc,Pt.prototype.get=wc,Pt.prototype.has=Sc,Pt.prototype.set=Tc;function Ac(){this.__data__=[],this.size=0}function Ke(e,t){for(var r=e.length;r--;)if(ve(e[r][0],t))return r;return-1}var Rc=Array.prototype,Oc=Rc.splice;function $c(e){var t=this.__data__,r=Ke(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():Oc.call(t,r,1),--this.size,!0}function jc(e){var t=this.__data__,r=Ke(t,e);return r<0?void 0:t[r][1]}function Dc(e){return Ke(this.__data__,e)>-1}function Bc(e,t){var r=this.__data__,n=Ke(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}function _t(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}_t.prototype.clear=Ac,_t.prototype.delete=$c,_t.prototype.get=jc,_t.prototype.has=Dc,_t.prototype.set=Bc;var Cc=Ht(dt,"Map");const de=Cc;function Nc(){this.size=0,this.__data__={hash:new Pt,map:new(de||_t),string:new Pt}}function Ic(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function Je(e,t){var r=e.__data__;return Ic(t)?r[typeof t=="string"?"string":"hash"]:r.map}function Pc(e){var t=Je(this,e).delete(e);return this.size-=t?1:0,t}function Fc(e){return Je(this,e).get(e)}function Mc(e){return Je(this,e).has(e)}function kc(e,t){var r=Je(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}function At(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}At.prototype.clear=Nc,At.prototype.delete=Pc,At.prototype.get=Fc,At.prototype.has=Mc,At.prototype.set=kc;var Uc="Expected a function";function tn(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(Uc);var r=function(){var n=arguments,i=t?t.apply(this,n):n[0],o=r.cache;if(o.has(i))return o.get(i);var s=e.apply(this,n);return r.cache=o.set(i,s)||o,s};return r.cache=new(tn.Cache||At),r}tn.Cache=At;var Lc=500;function Vc(e){var t=tn(e,function(n){return r.size===Lc&&r.clear(),n}),r=t.cache;return t}var Hc=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,qc=/\\(\\)?/g;Vc(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(Hc,function(r,n,i,o){t.push(i?o.replace(qc,"$1"):n||r)}),t});function re(e){return e==null?"":Gi(e)}function zc(e,t){for(var r=-1,n=t.length,i=e.length;++r<n;)e[i+r]=t[r];return e}var Wc=lo(Object.getPrototypeOf,Object);const ho=Wc;var Kc="[object Object]",Jc=Function.prototype,Yc=Object.prototype,po=Jc.toString,Gc=Yc.hasOwnProperty,Zc=po.call(Object);function mo(e){if(!bt(e)||Et(e)!=Kc)return!1;var t=ho(e);if(t===null)return!0;var r=Gc.call(t,"constructor")&&t.constructor;return typeof r=="function"&&r instanceof r&&po.call(r)==Zc}var Xc="[object DOMException]",Qc="[object Error]";function go(e){if(!bt(e))return!1;var t=Et(e);return t==Qc||t==Xc||typeof e.message=="string"&&typeof e.name=="string"&&!mo(e)}var tl=ro(function(e,t){try{return Xi(e,void 0,t)}catch(r){return go(r)?r:new Error(r)}});const el=tl;function rl(e,t,r){var n=-1,i=e.length;t<0&&(t=-t>i?0:i+t),r=r>i?i:r,r<0&&(r+=i),i=t>r?0:r-t>>>0,t>>>=0;for(var o=Array(i);++n<i;)o[n]=e[n+t];return o}function nl(e,t,r){var n=e.length;return r=r===void 0?n:r,rl(e,t,r)}var il="\\ud800-\\udfff",ol="\\u0300-\\u036f",sl="\\ufe20-\\ufe2f",al="\\u20d0-\\u20ff",ul=ol+sl+al,cl="\\ufe0e\\ufe0f",ll="\\u200d",fl=RegExp("["+ll+il+ul+cl+"]");function yo(e){return fl.test(e)}function hl(e){return e.split("")}var vo="\\ud800-\\udfff",pl="\\u0300-\\u036f",dl="\\ufe20-\\ufe2f",ml="\\u20d0-\\u20ff",gl=pl+dl+ml,yl="\\ufe0e\\ufe0f",vl="["+vo+"]",Ar="["+gl+"]",Rr="\\ud83c[\\udffb-\\udfff]",bl="(?:"+Ar+"|"+Rr+")",bo="[^"+vo+"]",wo="(?:\\ud83c[\\udde6-\\uddff]){2}",_o="[\\ud800-\\udbff][\\udc00-\\udfff]",wl="\\u200d",Eo=bl+"?",So="["+yl+"]?",_l="(?:"+wl+"(?:"+[bo,wo,_o].join("|")+")"+So+Eo+")*",El=So+Eo+_l,Sl="(?:"+[bo+Ar+"?",Ar,wo,_o,vl].join("|")+")",xl=RegExp(Rr+"(?="+Rr+")|"+Sl+El,"g");function Tl(e){return e.match(xl)||[]}function Al(e){return yo(e)?Tl(e):hl(e)}function Rl(e){return function(t){t=re(t);var r=yo(t)?Al(t):void 0,n=r?r[0]:t.charAt(0),i=r?nl(r,1).join(""):t.slice(1);return n[e]()+i}}var Ol=Rl("toUpperCase");const xo=Ol;function $l(e){return xo(re(e).toLowerCase())}function jl(e,t,r,n){var i=-1,o=e==null?0:e.length;for(n;++i<o;)r=t(r,e[i],i,e);return r}function To(e){return function(t){return e==null?void 0:e[t]}}var Dl={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},Bl=To(Dl);const Cl=Bl;var Nl=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Il="\\u0300-\\u036f",Pl="\\ufe20-\\ufe2f",Fl="\\u20d0-\\u20ff",Ml=Il+Pl+Fl,kl="["+Ml+"]",Ul=RegExp(kl,"g");function Ll(e){return e=re(e),e&&e.replace(Nl,Cl).replace(Ul,"")}var Vl=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;function Hl(e){return e.match(Vl)||[]}var ql=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;function zl(e){return ql.test(e)}var Ao="\\ud800-\\udfff",Wl="\\u0300-\\u036f",Kl="\\ufe20-\\ufe2f",Jl="\\u20d0-\\u20ff",Yl=Wl+Kl+Jl,Ro="\\u2700-\\u27bf",Oo="a-z\\xdf-\\xf6\\xf8-\\xff",Gl="\\xac\\xb1\\xd7\\xf7",Zl="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Xl="\\u2000-\\u206f",Ql=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",$o="A-Z\\xc0-\\xd6\\xd8-\\xde",tf="\\ufe0e\\ufe0f",jo=Gl+Zl+Xl+Ql,Do="['’]",Bn="["+jo+"]",ef="["+Yl+"]",Bo="\\d+",rf="["+Ro+"]",Co="["+Oo+"]",No="[^"+Ao+jo+Bo+Ro+Oo+$o+"]",nf="\\ud83c[\\udffb-\\udfff]",of="(?:"+ef+"|"+nf+")",sf="[^"+Ao+"]",Io="(?:\\ud83c[\\udde6-\\uddff]){2}",Po="[\\ud800-\\udbff][\\udc00-\\udfff]",Yt="["+$o+"]",af="\\u200d",Cn="(?:"+Co+"|"+No+")",uf="(?:"+Yt+"|"+No+")",Nn="(?:"+Do+"(?:d|ll|m|re|s|t|ve))?",In="(?:"+Do+"(?:D|LL|M|RE|S|T|VE))?",Fo=of+"?",Mo="["+tf+"]?",cf="(?:"+af+"(?:"+[sf,Io,Po].join("|")+")"+Mo+Fo+")*",lf="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",ff="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",hf=Mo+Fo+cf,pf="(?:"+[rf,Io,Po].join("|")+")"+hf,df=RegExp([Yt+"?"+Co+"+"+Nn+"(?="+[Bn,Yt,"$"].join("|")+")",uf+"+"+In+"(?="+[Bn,Yt+Cn,"$"].join("|")+")",Yt+"?"+Cn+"+"+Nn,Yt+"+"+In,ff,lf,Bo,pf].join("|"),"g");function mf(e){return e.match(df)||[]}function gf(e,t,r){return e=re(e),t=t,t===void 0?zl(e)?mf(e):Hl(e):e.match(t)||[]}var yf="['’]",vf=RegExp(yf,"g");function bf(e){return function(t){return jl(gf(Ll(t).replace(vf,"")),e,"")}}var wf=bf(function(e,t,r){return t=t.toLowerCase(),e+(r?$l(t):t)});const Ct=wf;function _f(){this.__data__=new _t,this.size=0}function Ef(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}function Sf(e){return this.__data__.get(e)}function xf(e){return this.__data__.has(e)}var Tf=200;function Af(e,t){var r=this.__data__;if(r instanceof _t){var n=r.__data__;if(!de||n.length<Tf-1)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new At(n)}return r.set(e,t),this.size=r.size,this}function Ft(e){var t=this.__data__=new _t(e);this.size=t.size}Ft.prototype.clear=_f,Ft.prototype.delete=Ef,Ft.prototype.get=Sf,Ft.prototype.has=xf,Ft.prototype.set=Af;var ko=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Pn=ko&&typeof module=="object"&&module&&!module.nodeType&&module,Rf=Pn&&Pn.exports===ko,Fn=Rf?dt.Buffer:void 0,Mn=Fn?Fn.allocUnsafe:void 0;function Uo(e,t){if(t)return e.slice();var r=e.length,n=Mn?Mn(r):new e.constructor(r);return e.copy(n),n}function Of(e,t){for(var r=-1,n=e==null?0:e.length,i=0,o=[];++r<n;){var s=e[r];t(s,r,e)&&(o[i++]=s)}return o}function $f(){return[]}var jf=Object.prototype,Df=jf.propertyIsEnumerable,kn=Object.getOwnPropertySymbols,Bf=kn?function(e){return e==null?[]:(e=Object(e),Of(kn(e),function(t){return Df.call(e,t)}))}:$f;const Cf=Bf;function Nf(e,t,r){var n=t(e);return Ut(e)?n:zc(n,r(e))}function If(e){return Nf(e,fo,Cf)}var Pf=Ht(dt,"DataView");const Or=Pf;var Ff=Ht(dt,"Promise");const $r=Ff;var Mf=Ht(dt,"Set");const jr=Mf;var Un="[object Map]",kf="[object Object]",Ln="[object Promise]",Vn="[object Set]",Hn="[object WeakMap]",qn="[object DataView]",Uf=Vt(Or),Lf=Vt(de),Vf=Vt($r),Hf=Vt(jr),qf=Vt(xr),It=Et;(Or&&It(new Or(new ArrayBuffer(1)))!=qn||de&&It(new de)!=Un||$r&&It($r.resolve())!=Ln||jr&&It(new jr)!=Vn||xr&&It(new xr)!=Hn)&&(It=function(e){var t=Et(e),r=t==kf?e.constructor:void 0,n=r?Vt(r):"";if(n)switch(n){case Uf:return qn;case Lf:return Un;case Vf:return Ln;case Hf:return Vn;case qf:return Hn}return t});const en=It;var zf=Object.prototype,Wf=zf.hasOwnProperty;function Kf(e){var t=e.length,r=new e.constructor(t);return t&&typeof e[0]=="string"&&Wf.call(e,"index")&&(r.index=e.index,r.input=e.input),r}var Jf=dt.Uint8Array;const zn=Jf;function rn(e){var t=new e.constructor(e.byteLength);return new zn(t).set(new zn(e)),t}function Yf(e,t){var r=rn(e.buffer);return new e.constructor(r,e.byteOffset,e.byteLength)}var Gf=/\w*$/;function Zf(e){var t=new e.constructor(e.source,Gf.exec(e));return t.lastIndex=e.lastIndex,t}var Wn=yt?yt.prototype:void 0,Kn=Wn?Wn.valueOf:void 0;function Xf(e){return Kn?Object(Kn.call(e)):{}}function Lo(e,t){var r=t?rn(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}var Qf="[object Boolean]",th="[object Date]",eh="[object Map]",rh="[object Number]",nh="[object RegExp]",ih="[object Set]",oh="[object String]",sh="[object Symbol]",ah="[object ArrayBuffer]",uh="[object DataView]",ch="[object Float32Array]",lh="[object Float64Array]",fh="[object Int8Array]",hh="[object Int16Array]",ph="[object Int32Array]",dh="[object Uint8Array]",mh="[object Uint8ClampedArray]",gh="[object Uint16Array]",yh="[object Uint32Array]";function vh(e,t,r){var n=e.constructor;switch(t){case ah:return rn(e);case Qf:case th:return new n(+e);case uh:return Yf(e);case ch:case lh:case fh:case hh:case ph:case dh:case mh:case gh:case yh:return Lo(e,r);case eh:return new n;case rh:case oh:return new n(e);case nh:return Zf(e);case ih:return new n;case sh:return Xf(e)}}function Vo(e){return typeof e.constructor=="function"&&!Gr(e)?Xa(ho(e)):{}}var bh="[object Map]";function wh(e){return bt(e)&&en(e)==bh}var Jn=vt&&vt.isMap,_h=Jn?Xr(Jn):wh;const Eh=_h;var Sh="[object Set]";function xh(e){return bt(e)&&en(e)==Sh}var Yn=vt&&vt.isSet,Th=Yn?Xr(Yn):xh;const Ah=Th;var Rh=1,Ho="[object Arguments]",Oh="[object Array]",$h="[object Boolean]",jh="[object Date]",Dh="[object Error]",qo="[object Function]",Bh="[object GeneratorFunction]",Ch="[object Map]",Nh="[object Number]",zo="[object Object]",Ih="[object RegExp]",Ph="[object Set]",Fh="[object String]",Mh="[object Symbol]",kh="[object WeakMap]",Uh="[object ArrayBuffer]",Lh="[object DataView]",Vh="[object Float32Array]",Hh="[object Float64Array]",qh="[object Int8Array]",zh="[object Int16Array]",Wh="[object Int32Array]",Kh="[object Uint8Array]",Jh="[object Uint8ClampedArray]",Yh="[object Uint16Array]",Gh="[object Uint32Array]",Y={};Y[Ho]=Y[Oh]=Y[Uh]=Y[Lh]=Y[$h]=Y[jh]=Y[Vh]=Y[Hh]=Y[qh]=Y[zh]=Y[Wh]=Y[Ch]=Y[Nh]=Y[zo]=Y[Ih]=Y[Ph]=Y[Fh]=Y[Mh]=Y[Kh]=Y[Jh]=Y[Yh]=Y[Gh]=!0,Y[Dh]=Y[qo]=Y[kh]=!1;function De(e,t,r,n,i,o){var s,a=t&Rh;if(s!==void 0)return s;if(!ft(e))return e;var c=Ut(e);if(c)s=Kf(e);else{var u=en(e),l=u==qo||u==Bh;if(Zr(e))return Uo(e,a);if(u==zo||u==Ho||l&&!i)s=l?{}:Vo(e);else{if(!Y[u])return i?e:{};s=vh(e,u,a)}}o||(o=new Ft);var f=o.get(e);if(f)return f;o.set(e,s),Ah(e)?e.forEach(function(d){s.add(De(d,t,r,d,e,o))}):Eh(e)&&e.forEach(function(d,m){s.set(m,De(d,t,r,m,e,o))});var p=If,h=c?void 0:p(e);return lu(h||e,function(d,m){h&&(m=d,d=e[m]),to(s,m,De(d,t,r,m,e,o))}),s}var Zh=1,Xh=4;function Gn(e){return De(e,Zh|Xh)}var Zn=yt?yt.prototype:void 0;Zn&&Zn.valueOf;function Qh(e){return function(t,r,n){for(var i=-1,o=Object(t),s=n(t),a=s.length;a--;){var c=s[++i];if(r(o[c],c,o)===!1)break}return t}}var tp=Qh();const ep=tp;var rp=function(){return dt.Date.now()};const ur=rp;var np="Expected a function",ip=Math.max,op=Math.min;function Wo(e,t,r){var n,i,o,s,a,c,u=0,l=!1,f=!1,p=!0;if(typeof e!="function")throw new TypeError(np);t=Sn(t)||0,ft(r)&&(l=!!r.leading,f="maxWait"in r,o=f?ip(Sn(r.maxWait)||0,t):o,p="trailing"in r?!!r.trailing:p);function h(g){var x=n,R=i;return n=i=void 0,u=g,s=e.apply(R,x),s}function d(g){return u=g,a=setTimeout(E,t),l?h(g):s}function m(g){var x=g-c,R=g-u,k=t-x;return f?op(k,o-R):k}function b(g){var x=g-c,R=g-u;return c===void 0||x>=t||x<0||f&&R>=o}function E(){var g=ur();if(b(g))return y(g);a=setTimeout(E,m(g))}function y(g){return a=void 0,p&&n?h(g):(n=i=void 0,s)}function v(){a!==void 0&&clearTimeout(a),u=0,n=c=i=a=void 0}function w(){return a===void 0?s:y(ur())}function S(){var g=ur(),x=b(g);if(n=arguments,i=this,c=g,x){if(a===void 0)return d(c);if(f)return clearTimeout(a),a=setTimeout(E,t),h(c)}return a===void 0&&(a=setTimeout(E,t)),s}return S.cancel=v,S.flush=w,S}function Dr(e,t,r){(r!==void 0&&!ve(e[t],r)||r===void 0&&!(t in e))&&Yr(e,t,r)}function sp(e){return bt(e)&&We(e)}function Br(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}function ap(e){return eo(e,Qr(e))}function up(e,t,r,n,i,o,s){var a=Br(e,r),c=Br(t,r),u=s.get(c);if(u){Dr(e,r,u);return}var l=o?o(a,c,r+"",e,t,s):void 0,f=l===void 0;if(f){var p=Ut(c),h=!p&&Zr(c),d=!p&&!h&&uo(c);l=c,p||h||d?Ut(a)?l=a:sp(a)?l=Qa(a):h?(f=!1,l=Uo(c,!0)):d?(f=!1,l=Lo(c,!0)):l=[]:mo(c)||Tr(c)?(l=a,Tr(a)?l=ap(a):(!ft(a)||te(a))&&(l=Vo(c))):f=!1}f&&(s.set(c,l),i(l,c,n,o,s),s.delete(c)),Dr(e,r,l)}function Ko(e,t,r,n,i){e!==t&&ep(t,function(o,s){if(i||(i=new Ft),ft(o))up(e,t,s,r,Ko,n,i);else{var a=n?n(Br(e,s),o,s+"",e,t,i):void 0;a===void 0&&(a=o),Dr(e,s,a)}},Qr)}var cp={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},lp=To(cp);const fp=lp;var Jo=/[&<>"']/g,hp=RegExp(Jo.source);function pp(e){return e=re(e),e&&hp.test(e)?e.replace(Jo,fp):e}var dp="[object String]";function Ot(e){return typeof e=="string"||!Ut(e)&&bt(e)&&Et(e)==dp}function mp(e,t){return Yi(t,function(r){return e[r]})}vt&&vt.isArrayBuffer;vt&&vt.isDate;var gp=io(function(e,t,r){Ko(e,t,r)});const le=gp;var Yo=Object.prototype,yp=Yo.hasOwnProperty;function Xn(e,t,r,n){return e===void 0||ve(e,Yo[r])&&!yp.call(n,r)?t:e}var vp={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"};function bp(e){return"\\"+vp[e]}var wp=/<%=([\s\S]+?)%>/g;const Go=wp;var _p=/<%-([\s\S]+?)%>/g;const Ep=_p;var Sp=/<%([\s\S]+?)%>/g;const xp=Sp;var Tp={escape:Ep,evaluate:xp,interpolate:Go,variable:"",imports:{_:{escape:pp}}};const Qn=Tp;var Ap="Invalid `variable` option passed into `_.template`",Rp=/\b__p \+= '';/g,Op=/\b(__p \+=) '' \+/g,$p=/(__e\(.*?\)|\b__t\)) \+\n'';/g,jp=/[()=,{}\[\]\/\s]/,Dp=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Ee=/($^)/,Bp=/['\n\r\u2028\u2029\\]/g,Cp=Object.prototype,ti=Cp.hasOwnProperty;function Np(e,t,r){var n=Qn.imports._.templateSettings||Qn;e=re(e),t=Dn({},t,n,Xn);var i=Dn({},t.imports,n.imports,Xn),o=fo(i),s=mp(i,o),a,c,u=0,l=t.interpolate||Ee,f="__p += '",p=RegExp((t.escape||Ee).source+"|"+l.source+"|"+(l===Go?Dp:Ee).source+"|"+(t.evaluate||Ee).source+"|$","g"),h=ti.call(t,"sourceURL")?"//# sourceURL="+(t.sourceURL+"").replace(/\s/g," ")+`
2
+ var Qs=Object.defineProperty,ta=Object.defineProperties;var ea=Object.getOwnPropertyDescriptors;var dn=Object.getOwnPropertySymbols;var ra=Object.prototype.hasOwnProperty,na=Object.prototype.propertyIsEnumerable;var zt=(e,t)=>(t=Symbol[e])?t:Symbol.for("Symbol."+e),ia=e=>{throw TypeError(e)};var nr=(e,t,r)=>t in e?Qs(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,V=(e,t)=>{for(var r in t||(t={}))ra.call(t,r)&&nr(e,r,t[r]);if(dn)for(var r of dn(t))na.call(t,r)&&nr(e,r,t[r]);return e},et=(e,t)=>ta(e,ea(t));var z=(e,t,r)=>nr(e,typeof t!="symbol"?t+"":t,r);var M=(e,t,r)=>new Promise((n,i)=>{var o=c=>{try{a(r.next(c))}catch(u){i(u)}},s=c=>{try{a(r.throw(c))}catch(u){i(u)}},a=c=>c.done?n(c.value):Promise.resolve(c.value).then(o,s);a((r=r.apply(e,t)).next())}),Bt=function(e,t){this[0]=e,this[1]=t},ir=(e,t,r)=>{var n=(s,a,c,u)=>{try{var l=r[s](a),f=(a=l.value)instanceof Bt,p=l.done;Promise.resolve(f?a[0]:a).then(h=>f?n(s==="return"?s:"next",a[1]?{done:h.done,value:h.value}:h,c,u):c({value:h,done:p})).catch(h=>n("throw",h,c,u))}catch(h){u(h)}},i=s=>o[s]=a=>new Promise((c,u)=>n(s,a,c,u)),o={};return r=r.apply(e,t),o[zt("asyncIterator")]=()=>o,i("next"),i("throw"),i("return"),o},or=e=>{var t=e[zt("asyncIterator")],r=!1,n,i={};return t==null?(t=e[zt("iterator")](),n=o=>i[o]=s=>t[o](s)):(t=t.call(e),n=o=>i[o]=s=>{if(r){if(r=!1,o==="throw")throw s;return s}return r=!0,{done:!1,value:new Bt(new Promise(a=>{var c=t[o](s);c instanceof Object||ia("Object expected"),a(c)}),1)}}),i[zt("iterator")]=()=>i,n("next"),"throw"in t?n("throw"):i.throw=o=>{throw o},"return"in t&&n("return"),i},mn=(e,t,r)=>(t=e[zt("asyncIterator")])?t.call(e):(e=e[zt("iterator")](),t={},r=(n,i)=>(i=e[n])&&(t[n]=o=>new Promise((s,a,c)=>(o=i.call(e,o),c=o.done,Promise.resolve(o.value).then(u=>s({value:u,done:c}),a)))),r("next"),r("return"),t);import{d as zi,g as gn,h as Sr,r as oa,O as ze,i as sa}from"./@dcloudio-uni-h5-vue-C36z4qJb.js";import{useRoute as aa}from"./vue-router-CxcHTnUo.js";import"./vue-BK7aLblh.js";import"./@dcloudio-uni-shared-VStmjWbh.js";(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))n(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const s of o.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&n(s)}).observe(document,{childList:!0,subtree:!0});function r(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function n(i){if(i.ep)return;i.ep=!0;const o=r(i);fetch(i.href,o)}})();const ua="modulepreload",ca=function(e,t){return new URL(e,t).href},yn={},vn=function(t,r,n){let i=Promise.resolve();if(r&&r.length>0){let s=function(l){return Promise.all(l.map(f=>Promise.resolve(f).then(p=>({status:"fulfilled",value:p}),p=>({status:"rejected",reason:p}))))};const a=document.getElementsByTagName("link"),c=document.querySelector("meta[property=csp-nonce]"),u=(c==null?void 0:c.nonce)||(c==null?void 0:c.getAttribute("nonce"));i=s(r.map(l=>{if(l=ca(l,n),l in yn)return;yn[l]=!0;const f=l.endsWith(".css"),p=f?'[rel="stylesheet"]':"";if(!!n)for(let m=a.length-1;m>=0;m--){const b=a[m];if(b.href===l&&(!f||b.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${l}"]${p}`))return;const d=document.createElement("link");if(d.rel=f?"stylesheet":ua,f||(d.as="script"),d.crossOrigin="",d.href=l,u&&d.setAttribute("nonce",u),document.head.appendChild(d),f)return new Promise((m,b)=>{d.addEventListener("load",m),d.addEventListener("error",()=>b(new Error(`Unable to preload CSS for ${l}`)))})}))}function o(s){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=s,window.dispatchEvent(a),!a.defaultPrevented)throw s}return i.then(s=>{for(const a of s||[])a.status==="rejected"&&o(a.reason);return t().catch(o)})};var la={ENV_TYPE:"live",NODE_ENV:"production"},fa=typeof global=="object"&&global&&global.Object===Object&&global;const Wi=fa;var ha=typeof self=="object"&&self&&self.Object===Object&&self,pa=Wi||ha||Function("return this")();const dt=pa;var da=dt.Symbol;const yt=da;var Ki=Object.prototype,ma=Ki.hasOwnProperty,ga=Ki.toString,ue=yt?yt.toStringTag:void 0;function ya(e){var t=ma.call(e,ue),r=e[ue];try{e[ue]=void 0;var n=!0}catch(o){}var i=ga.call(e);return n&&(t?e[ue]=r:delete e[ue]),i}var va=Object.prototype,ba=va.toString;function wa(e){return ba.call(e)}var _a="[object Null]",Ea="[object Undefined]",bn=yt?yt.toStringTag:void 0;function Et(e){return e==null?e===void 0?Ea:_a:bn&&bn in Object(e)?ya(e):wa(e)}function bt(e){return e!=null&&typeof e=="object"}var Sa="[object Symbol]";function Ji(e){return typeof e=="symbol"||bt(e)&&Et(e)==Sa}function Yi(e,t){for(var r=-1,n=e==null?0:e.length,i=Array(n);++r<n;)i[r]=t(e[r],r,e);return i}var xa=Array.isArray;const Ut=xa;var wn=yt?yt.prototype:void 0,_n=wn?wn.toString:void 0;function Gi(e){if(typeof e=="string")return e;if(Ut(e))return Yi(e,Gi)+"";if(Ji(e))return _n?_n.call(e):"";var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}var Ta=/\s/;function Aa(e){for(var t=e.length;t--&&Ta.test(e.charAt(t)););return t}var Ra=/^\s+/;function Oa(e){return e&&e.slice(0,Aa(e)+1).replace(Ra,"")}function ft(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var En=NaN,$a=/^[-+]0x[0-9a-f]+$/i,ja=/^0b[01]+$/i,Da=/^0o[0-7]+$/i,Ba=parseInt;function Sn(e){if(typeof e=="number")return e;if(Ji(e))return En;if(ft(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=ft(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=Oa(e);var r=ja.test(e);return r||Da.test(e)?Ba(e.slice(2),r?2:8):$a.test(e)?En:+e}function Zi(e){return e}var Ca="[object AsyncFunction]",Na="[object Function]",Ia="[object GeneratorFunction]",Pa="[object Proxy]";function te(e){if(!ft(e))return!1;var t=Et(e);return t==Na||t==Ia||t==Ca||t==Pa}var Fa=dt["__core-js_shared__"];const sr=Fa;var xn=function(){var e=/[^.]+$/.exec(sr&&sr.keys&&sr.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function Ma(e){return!!xn&&xn in e}var ka=Function.prototype,Ua=ka.toString;function Vt(e){if(e!=null){try{return Ua.call(e)}catch(t){}try{return e+""}catch(t){}}return""}var La=/[\\^$.*+?()[\]{}|]/g,Va=/^\[object .+?Constructor\]$/,Ha=Function.prototype,qa=Object.prototype,za=Ha.toString,Wa=qa.hasOwnProperty,Ka=RegExp("^"+za.call(Wa).replace(La,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Ja(e){if(!ft(e)||Ma(e))return!1;var t=te(e)?Ka:Va;return t.test(Vt(e))}function Ya(e,t){return e==null?void 0:e[t]}function Ht(e,t){var r=Ya(e,t);return Ja(r)?r:void 0}var Ga=Ht(dt,"WeakMap");const xr=Ga;var Tn=Object.create,Za=function(){function e(){}return function(t){if(!ft(t))return{};if(Tn)return Tn(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}();const Xa=Za;function Xi(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}function Qa(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t}var tu=800,eu=16,ru=Date.now;function nu(e){var t=0,r=0;return function(){var n=ru(),i=eu-(n-r);if(r=n,i>0){if(++t>=tu)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function iu(e){return function(){return e}}var ou=function(){try{var e=Ht(Object,"defineProperty");return e({},"",{}),e}catch(t){}}();const ke=ou;var su=ke?function(e,t){return ke(e,"toString",{configurable:!0,enumerable:!1,value:iu(t),writable:!0})}:Zi;const au=su;var uu=nu(au);const cu=uu;function lu(e,t){for(var r=-1,n=e==null?0:e.length;++r<n&&t(e[r],r,e)!==!1;);return e}var fu=9007199254740991,hu=/^(?:0|[1-9]\d*)$/;function Qi(e,t){var r=typeof e;return t=t!=null?t:fu,!!t&&(r=="number"||r!="symbol"&&hu.test(e))&&e>-1&&e%1==0&&e<t}function Yr(e,t,r){t=="__proto__"&&ke?ke(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}function ve(e,t){return e===t||e!==e&&t!==t}var pu=Object.prototype,du=pu.hasOwnProperty;function to(e,t,r){var n=e[t];(!(du.call(e,t)&&ve(n,r))||r===void 0&&!(t in e))&&Yr(e,t,r)}function eo(e,t,r,n){var i=!r;r||(r={});for(var o=-1,s=t.length;++o<s;){var a=t[o],c=n?n(r[a],e[a],a,r,e):void 0;c===void 0&&(c=e[a]),i?Yr(r,a,c):to(r,a,c)}return r}var An=Math.max;function mu(e,t,r){return t=An(t===void 0?e.length-1:t,0),function(){for(var n=arguments,i=-1,o=An(n.length-t,0),s=Array(o);++i<o;)s[i]=n[t+i];i=-1;for(var a=Array(t+1);++i<t;)a[i]=n[i];return a[t]=r(s),Xi(e,this,a)}}function ro(e,t){return cu(mu(e,t,Zi),e+"")}var gu=9007199254740991;function no(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=gu}function We(e){return e!=null&&no(e.length)&&!te(e)}function yu(e,t,r){if(!ft(r))return!1;var n=typeof t;return(n=="number"?We(r)&&Qi(t,r.length):n=="string"&&t in r)?ve(r[t],e):!1}function io(e){return ro(function(t,r){var n=-1,i=r.length,o=i>1?r[i-1]:void 0,s=i>2?r[2]:void 0;for(o=e.length>3&&typeof o=="function"?(i--,o):void 0,s&&yu(r[0],r[1],s)&&(o=i<3?void 0:o,i=1),t=Object(t);++n<i;){var a=r[n];a&&e(t,a,n,o)}return t})}var vu=Object.prototype;function Gr(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||vu;return e===r}function bu(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}var wu="[object Arguments]";function Rn(e){return bt(e)&&Et(e)==wu}var oo=Object.prototype,_u=oo.hasOwnProperty,Eu=oo.propertyIsEnumerable,Su=Rn(function(){return arguments}())?Rn:function(e){return bt(e)&&_u.call(e,"callee")&&!Eu.call(e,"callee")};const Tr=Su;function xu(){return!1}var so=typeof exports=="object"&&exports&&!exports.nodeType&&exports,On=so&&typeof module=="object"&&module&&!module.nodeType&&module,Tu=On&&On.exports===so,$n=Tu?dt.Buffer:void 0,Au=$n?$n.isBuffer:void 0,Ru=Au||xu;const Zr=Ru;var Ou="[object Arguments]",$u="[object Array]",ju="[object Boolean]",Du="[object Date]",Bu="[object Error]",Cu="[object Function]",Nu="[object Map]",Iu="[object Number]",Pu="[object Object]",Fu="[object RegExp]",Mu="[object Set]",ku="[object String]",Uu="[object WeakMap]",Lu="[object ArrayBuffer]",Vu="[object DataView]",Hu="[object Float32Array]",qu="[object Float64Array]",zu="[object Int8Array]",Wu="[object Int16Array]",Ku="[object Int32Array]",Ju="[object Uint8Array]",Yu="[object Uint8ClampedArray]",Gu="[object Uint16Array]",Zu="[object Uint32Array]",G={};G[Hu]=G[qu]=G[zu]=G[Wu]=G[Ku]=G[Ju]=G[Yu]=G[Gu]=G[Zu]=!0,G[Ou]=G[$u]=G[Lu]=G[ju]=G[Vu]=G[Du]=G[Bu]=G[Cu]=G[Nu]=G[Iu]=G[Pu]=G[Fu]=G[Mu]=G[ku]=G[Uu]=!1;function Xu(e){return bt(e)&&no(e.length)&&!!G[Et(e)]}function Xr(e){return function(t){return e(t)}}var ao=typeof exports=="object"&&exports&&!exports.nodeType&&exports,he=ao&&typeof module=="object"&&module&&!module.nodeType&&module,Qu=he&&he.exports===ao,ar=Qu&&Wi.process,tc=function(){try{var e=he&&he.require&&he.require("util").types;return e||ar&&ar.binding&&ar.binding("util")}catch(t){}}();const vt=tc;var jn=vt&&vt.isTypedArray,ec=jn?Xr(jn):Xu;const uo=ec;var rc=Object.prototype,nc=rc.hasOwnProperty;function co(e,t){var r=Ut(e),n=!r&&Tr(e),i=!r&&!n&&Zr(e),o=!r&&!n&&!i&&uo(e),s=r||n||i||o,a=s?bu(e.length,String):[],c=a.length;for(var u in e)(t||nc.call(e,u))&&!(s&&(u=="length"||i&&(u=="offset"||u=="parent")||o&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||Qi(u,c)))&&a.push(u);return a}function lo(e,t){return function(r){return e(t(r))}}var ic=lo(Object.keys,Object);const oc=ic;var sc=Object.prototype,ac=sc.hasOwnProperty;function uc(e){if(!Gr(e))return oc(e);var t=[];for(var r in Object(e))ac.call(e,r)&&r!="constructor"&&t.push(r);return t}function fo(e){return We(e)?co(e):uc(e)}function cc(e){var t=[];if(e!=null)for(var r in Object(e))t.push(r);return t}var lc=Object.prototype,fc=lc.hasOwnProperty;function hc(e){if(!ft(e))return cc(e);var t=Gr(e),r=[];for(var n in e)n=="constructor"&&(t||!fc.call(e,n))||r.push(n);return r}function Qr(e){return We(e)?co(e,!0):hc(e)}var pc=io(function(e,t,r,n){eo(t,Qr(t),e,n)});const Dn=pc;var dc=Ht(Object,"create");const pe=dc;function mc(){this.__data__=pe?pe(null):{},this.size=0}function gc(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var yc="__lodash_hash_undefined__",vc=Object.prototype,bc=vc.hasOwnProperty;function wc(e){var t=this.__data__;if(pe){var r=t[e];return r===yc?void 0:r}return bc.call(t,e)?t[e]:void 0}var _c=Object.prototype,Ec=_c.hasOwnProperty;function Sc(e){var t=this.__data__;return pe?t[e]!==void 0:Ec.call(t,e)}var xc="__lodash_hash_undefined__";function Tc(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=pe&&t===void 0?xc:t,this}function Pt(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}Pt.prototype.clear=mc,Pt.prototype.delete=gc,Pt.prototype.get=wc,Pt.prototype.has=Sc,Pt.prototype.set=Tc;function Ac(){this.__data__=[],this.size=0}function Ke(e,t){for(var r=e.length;r--;)if(ve(e[r][0],t))return r;return-1}var Rc=Array.prototype,Oc=Rc.splice;function $c(e){var t=this.__data__,r=Ke(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():Oc.call(t,r,1),--this.size,!0}function jc(e){var t=this.__data__,r=Ke(t,e);return r<0?void 0:t[r][1]}function Dc(e){return Ke(this.__data__,e)>-1}function Bc(e,t){var r=this.__data__,n=Ke(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}function _t(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}_t.prototype.clear=Ac,_t.prototype.delete=$c,_t.prototype.get=jc,_t.prototype.has=Dc,_t.prototype.set=Bc;var Cc=Ht(dt,"Map");const de=Cc;function Nc(){this.size=0,this.__data__={hash:new Pt,map:new(de||_t),string:new Pt}}function Ic(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function Je(e,t){var r=e.__data__;return Ic(t)?r[typeof t=="string"?"string":"hash"]:r.map}function Pc(e){var t=Je(this,e).delete(e);return this.size-=t?1:0,t}function Fc(e){return Je(this,e).get(e)}function Mc(e){return Je(this,e).has(e)}function kc(e,t){var r=Je(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}function At(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}At.prototype.clear=Nc,At.prototype.delete=Pc,At.prototype.get=Fc,At.prototype.has=Mc,At.prototype.set=kc;var Uc="Expected a function";function tn(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(Uc);var r=function(){var n=arguments,i=t?t.apply(this,n):n[0],o=r.cache;if(o.has(i))return o.get(i);var s=e.apply(this,n);return r.cache=o.set(i,s)||o,s};return r.cache=new(tn.Cache||At),r}tn.Cache=At;var Lc=500;function Vc(e){var t=tn(e,function(n){return r.size===Lc&&r.clear(),n}),r=t.cache;return t}var Hc=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,qc=/\\(\\)?/g;Vc(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(Hc,function(r,n,i,o){t.push(i?o.replace(qc,"$1"):n||r)}),t});function re(e){return e==null?"":Gi(e)}function zc(e,t){for(var r=-1,n=t.length,i=e.length;++r<n;)e[i+r]=t[r];return e}var Wc=lo(Object.getPrototypeOf,Object);const ho=Wc;var Kc="[object Object]",Jc=Function.prototype,Yc=Object.prototype,po=Jc.toString,Gc=Yc.hasOwnProperty,Zc=po.call(Object);function mo(e){if(!bt(e)||Et(e)!=Kc)return!1;var t=ho(e);if(t===null)return!0;var r=Gc.call(t,"constructor")&&t.constructor;return typeof r=="function"&&r instanceof r&&po.call(r)==Zc}var Xc="[object DOMException]",Qc="[object Error]";function go(e){if(!bt(e))return!1;var t=Et(e);return t==Qc||t==Xc||typeof e.message=="string"&&typeof e.name=="string"&&!mo(e)}var tl=ro(function(e,t){try{return Xi(e,void 0,t)}catch(r){return go(r)?r:new Error(r)}});const el=tl;function rl(e,t,r){var n=-1,i=e.length;t<0&&(t=-t>i?0:i+t),r=r>i?i:r,r<0&&(r+=i),i=t>r?0:r-t>>>0,t>>>=0;for(var o=Array(i);++n<i;)o[n]=e[n+t];return o}function nl(e,t,r){var n=e.length;return r=r===void 0?n:r,rl(e,t,r)}var il="\\ud800-\\udfff",ol="\\u0300-\\u036f",sl="\\ufe20-\\ufe2f",al="\\u20d0-\\u20ff",ul=ol+sl+al,cl="\\ufe0e\\ufe0f",ll="\\u200d",fl=RegExp("["+ll+il+ul+cl+"]");function yo(e){return fl.test(e)}function hl(e){return e.split("")}var vo="\\ud800-\\udfff",pl="\\u0300-\\u036f",dl="\\ufe20-\\ufe2f",ml="\\u20d0-\\u20ff",gl=pl+dl+ml,yl="\\ufe0e\\ufe0f",vl="["+vo+"]",Ar="["+gl+"]",Rr="\\ud83c[\\udffb-\\udfff]",bl="(?:"+Ar+"|"+Rr+")",bo="[^"+vo+"]",wo="(?:\\ud83c[\\udde6-\\uddff]){2}",_o="[\\ud800-\\udbff][\\udc00-\\udfff]",wl="\\u200d",Eo=bl+"?",So="["+yl+"]?",_l="(?:"+wl+"(?:"+[bo,wo,_o].join("|")+")"+So+Eo+")*",El=So+Eo+_l,Sl="(?:"+[bo+Ar+"?",Ar,wo,_o,vl].join("|")+")",xl=RegExp(Rr+"(?="+Rr+")|"+Sl+El,"g");function Tl(e){return e.match(xl)||[]}function Al(e){return yo(e)?Tl(e):hl(e)}function Rl(e){return function(t){t=re(t);var r=yo(t)?Al(t):void 0,n=r?r[0]:t.charAt(0),i=r?nl(r,1).join(""):t.slice(1);return n[e]()+i}}var Ol=Rl("toUpperCase");const xo=Ol;function $l(e){return xo(re(e).toLowerCase())}function jl(e,t,r,n){var i=-1,o=e==null?0:e.length;for(n;++i<o;)r=t(r,e[i],i,e);return r}function To(e){return function(t){return e==null?void 0:e[t]}}var Dl={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},Bl=To(Dl);const Cl=Bl;var Nl=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Il="\\u0300-\\u036f",Pl="\\ufe20-\\ufe2f",Fl="\\u20d0-\\u20ff",Ml=Il+Pl+Fl,kl="["+Ml+"]",Ul=RegExp(kl,"g");function Ll(e){return e=re(e),e&&e.replace(Nl,Cl).replace(Ul,"")}var Vl=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;function Hl(e){return e.match(Vl)||[]}var ql=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;function zl(e){return ql.test(e)}var Ao="\\ud800-\\udfff",Wl="\\u0300-\\u036f",Kl="\\ufe20-\\ufe2f",Jl="\\u20d0-\\u20ff",Yl=Wl+Kl+Jl,Ro="\\u2700-\\u27bf",Oo="a-z\\xdf-\\xf6\\xf8-\\xff",Gl="\\xac\\xb1\\xd7\\xf7",Zl="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Xl="\\u2000-\\u206f",Ql=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",$o="A-Z\\xc0-\\xd6\\xd8-\\xde",tf="\\ufe0e\\ufe0f",jo=Gl+Zl+Xl+Ql,Do="['’]",Bn="["+jo+"]",ef="["+Yl+"]",Bo="\\d+",rf="["+Ro+"]",Co="["+Oo+"]",No="[^"+Ao+jo+Bo+Ro+Oo+$o+"]",nf="\\ud83c[\\udffb-\\udfff]",of="(?:"+ef+"|"+nf+")",sf="[^"+Ao+"]",Io="(?:\\ud83c[\\udde6-\\uddff]){2}",Po="[\\ud800-\\udbff][\\udc00-\\udfff]",Yt="["+$o+"]",af="\\u200d",Cn="(?:"+Co+"|"+No+")",uf="(?:"+Yt+"|"+No+")",Nn="(?:"+Do+"(?:d|ll|m|re|s|t|ve))?",In="(?:"+Do+"(?:D|LL|M|RE|S|T|VE))?",Fo=of+"?",Mo="["+tf+"]?",cf="(?:"+af+"(?:"+[sf,Io,Po].join("|")+")"+Mo+Fo+")*",lf="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",ff="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",hf=Mo+Fo+cf,pf="(?:"+[rf,Io,Po].join("|")+")"+hf,df=RegExp([Yt+"?"+Co+"+"+Nn+"(?="+[Bn,Yt,"$"].join("|")+")",uf+"+"+In+"(?="+[Bn,Yt+Cn,"$"].join("|")+")",Yt+"?"+Cn+"+"+Nn,Yt+"+"+In,ff,lf,Bo,pf].join("|"),"g");function mf(e){return e.match(df)||[]}function gf(e,t,r){return e=re(e),t=t,t===void 0?zl(e)?mf(e):Hl(e):e.match(t)||[]}var yf="['’]",vf=RegExp(yf,"g");function bf(e){return function(t){return jl(gf(Ll(t).replace(vf,"")),e,"")}}var wf=bf(function(e,t,r){return t=t.toLowerCase(),e+(r?$l(t):t)});const Ct=wf;function _f(){this.__data__=new _t,this.size=0}function Ef(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}function Sf(e){return this.__data__.get(e)}function xf(e){return this.__data__.has(e)}var Tf=200;function Af(e,t){var r=this.__data__;if(r instanceof _t){var n=r.__data__;if(!de||n.length<Tf-1)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new At(n)}return r.set(e,t),this.size=r.size,this}function Ft(e){var t=this.__data__=new _t(e);this.size=t.size}Ft.prototype.clear=_f,Ft.prototype.delete=Ef,Ft.prototype.get=Sf,Ft.prototype.has=xf,Ft.prototype.set=Af;var ko=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Pn=ko&&typeof module=="object"&&module&&!module.nodeType&&module,Rf=Pn&&Pn.exports===ko,Fn=Rf?dt.Buffer:void 0,Mn=Fn?Fn.allocUnsafe:void 0;function Uo(e,t){if(t)return e.slice();var r=e.length,n=Mn?Mn(r):new e.constructor(r);return e.copy(n),n}function Of(e,t){for(var r=-1,n=e==null?0:e.length,i=0,o=[];++r<n;){var s=e[r];t(s,r,e)&&(o[i++]=s)}return o}function $f(){return[]}var jf=Object.prototype,Df=jf.propertyIsEnumerable,kn=Object.getOwnPropertySymbols,Bf=kn?function(e){return e==null?[]:(e=Object(e),Of(kn(e),function(t){return Df.call(e,t)}))}:$f;const Cf=Bf;function Nf(e,t,r){var n=t(e);return Ut(e)?n:zc(n,r(e))}function If(e){return Nf(e,fo,Cf)}var Pf=Ht(dt,"DataView");const Or=Pf;var Ff=Ht(dt,"Promise");const $r=Ff;var Mf=Ht(dt,"Set");const jr=Mf;var Un="[object Map]",kf="[object Object]",Ln="[object Promise]",Vn="[object Set]",Hn="[object WeakMap]",qn="[object DataView]",Uf=Vt(Or),Lf=Vt(de),Vf=Vt($r),Hf=Vt(jr),qf=Vt(xr),It=Et;(Or&&It(new Or(new ArrayBuffer(1)))!=qn||de&&It(new de)!=Un||$r&&It($r.resolve())!=Ln||jr&&It(new jr)!=Vn||xr&&It(new xr)!=Hn)&&(It=function(e){var t=Et(e),r=t==kf?e.constructor:void 0,n=r?Vt(r):"";if(n)switch(n){case Uf:return qn;case Lf:return Un;case Vf:return Ln;case Hf:return Vn;case qf:return Hn}return t});const en=It;var zf=Object.prototype,Wf=zf.hasOwnProperty;function Kf(e){var t=e.length,r=new e.constructor(t);return t&&typeof e[0]=="string"&&Wf.call(e,"index")&&(r.index=e.index,r.input=e.input),r}var Jf=dt.Uint8Array;const zn=Jf;function rn(e){var t=new e.constructor(e.byteLength);return new zn(t).set(new zn(e)),t}function Yf(e,t){var r=rn(e.buffer);return new e.constructor(r,e.byteOffset,e.byteLength)}var Gf=/\w*$/;function Zf(e){var t=new e.constructor(e.source,Gf.exec(e));return t.lastIndex=e.lastIndex,t}var Wn=yt?yt.prototype:void 0,Kn=Wn?Wn.valueOf:void 0;function Xf(e){return Kn?Object(Kn.call(e)):{}}function Lo(e,t){var r=t?rn(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}var Qf="[object Boolean]",th="[object Date]",eh="[object Map]",rh="[object Number]",nh="[object RegExp]",ih="[object Set]",oh="[object String]",sh="[object Symbol]",ah="[object ArrayBuffer]",uh="[object DataView]",ch="[object Float32Array]",lh="[object Float64Array]",fh="[object Int8Array]",hh="[object Int16Array]",ph="[object Int32Array]",dh="[object Uint8Array]",mh="[object Uint8ClampedArray]",gh="[object Uint16Array]",yh="[object Uint32Array]";function vh(e,t,r){var n=e.constructor;switch(t){case ah:return rn(e);case Qf:case th:return new n(+e);case uh:return Yf(e);case ch:case lh:case fh:case hh:case ph:case dh:case mh:case gh:case yh:return Lo(e,r);case eh:return new n;case rh:case oh:return new n(e);case nh:return Zf(e);case ih:return new n;case sh:return Xf(e)}}function Vo(e){return typeof e.constructor=="function"&&!Gr(e)?Xa(ho(e)):{}}var bh="[object Map]";function wh(e){return bt(e)&&en(e)==bh}var Jn=vt&&vt.isMap,_h=Jn?Xr(Jn):wh;const Eh=_h;var Sh="[object Set]";function xh(e){return bt(e)&&en(e)==Sh}var Yn=vt&&vt.isSet,Th=Yn?Xr(Yn):xh;const Ah=Th;var Rh=1,Ho="[object Arguments]",Oh="[object Array]",$h="[object Boolean]",jh="[object Date]",Dh="[object Error]",qo="[object Function]",Bh="[object GeneratorFunction]",Ch="[object Map]",Nh="[object Number]",zo="[object Object]",Ih="[object RegExp]",Ph="[object Set]",Fh="[object String]",Mh="[object Symbol]",kh="[object WeakMap]",Uh="[object ArrayBuffer]",Lh="[object DataView]",Vh="[object Float32Array]",Hh="[object Float64Array]",qh="[object Int8Array]",zh="[object Int16Array]",Wh="[object Int32Array]",Kh="[object Uint8Array]",Jh="[object Uint8ClampedArray]",Yh="[object Uint16Array]",Gh="[object Uint32Array]",Y={};Y[Ho]=Y[Oh]=Y[Uh]=Y[Lh]=Y[$h]=Y[jh]=Y[Vh]=Y[Hh]=Y[qh]=Y[zh]=Y[Wh]=Y[Ch]=Y[Nh]=Y[zo]=Y[Ih]=Y[Ph]=Y[Fh]=Y[Mh]=Y[Kh]=Y[Jh]=Y[Yh]=Y[Gh]=!0,Y[Dh]=Y[qo]=Y[kh]=!1;function De(e,t,r,n,i,o){var s,a=t&Rh;if(s!==void 0)return s;if(!ft(e))return e;var c=Ut(e);if(c)s=Kf(e);else{var u=en(e),l=u==qo||u==Bh;if(Zr(e))return Uo(e,a);if(u==zo||u==Ho||l&&!i)s=l?{}:Vo(e);else{if(!Y[u])return i?e:{};s=vh(e,u,a)}}o||(o=new Ft);var f=o.get(e);if(f)return f;o.set(e,s),Ah(e)?e.forEach(function(d){s.add(De(d,t,r,d,e,o))}):Eh(e)&&e.forEach(function(d,m){s.set(m,De(d,t,r,m,e,o))});var p=If,h=c?void 0:p(e);return lu(h||e,function(d,m){h&&(m=d,d=e[m]),to(s,m,De(d,t,r,m,e,o))}),s}var Zh=1,Xh=4;function Gn(e){return De(e,Zh|Xh)}var Zn=yt?yt.prototype:void 0;Zn&&Zn.valueOf;function Qh(e){return function(t,r,n){for(var i=-1,o=Object(t),s=n(t),a=s.length;a--;){var c=s[++i];if(r(o[c],c,o)===!1)break}return t}}var tp=Qh();const ep=tp;var rp=function(){return dt.Date.now()};const ur=rp;var np="Expected a function",ip=Math.max,op=Math.min;function Wo(e,t,r){var n,i,o,s,a,c,u=0,l=!1,f=!1,p=!0;if(typeof e!="function")throw new TypeError(np);t=Sn(t)||0,ft(r)&&(l=!!r.leading,f="maxWait"in r,o=f?ip(Sn(r.maxWait)||0,t):o,p="trailing"in r?!!r.trailing:p);function h(g){var x=n,R=i;return n=i=void 0,u=g,s=e.apply(R,x),s}function d(g){return u=g,a=setTimeout(E,t),l?h(g):s}function m(g){var x=g-c,R=g-u,k=t-x;return f?op(k,o-R):k}function b(g){var x=g-c,R=g-u;return c===void 0||x>=t||x<0||f&&R>=o}function E(){var g=ur();if(b(g))return y(g);a=setTimeout(E,m(g))}function y(g){return a=void 0,p&&n?h(g):(n=i=void 0,s)}function v(){a!==void 0&&clearTimeout(a),u=0,n=c=i=a=void 0}function w(){return a===void 0?s:y(ur())}function S(){var g=ur(),x=b(g);if(n=arguments,i=this,c=g,x){if(a===void 0)return d(c);if(f)return clearTimeout(a),a=setTimeout(E,t),h(c)}return a===void 0&&(a=setTimeout(E,t)),s}return S.cancel=v,S.flush=w,S}function Dr(e,t,r){(r!==void 0&&!ve(e[t],r)||r===void 0&&!(t in e))&&Yr(e,t,r)}function sp(e){return bt(e)&&We(e)}function Br(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}function ap(e){return eo(e,Qr(e))}function up(e,t,r,n,i,o,s){var a=Br(e,r),c=Br(t,r),u=s.get(c);if(u){Dr(e,r,u);return}var l=o?o(a,c,r+"",e,t,s):void 0,f=l===void 0;if(f){var p=Ut(c),h=!p&&Zr(c),d=!p&&!h&&uo(c);l=c,p||h||d?Ut(a)?l=a:sp(a)?l=Qa(a):h?(f=!1,l=Uo(c,!0)):d?(f=!1,l=Lo(c,!0)):l=[]:mo(c)||Tr(c)?(l=a,Tr(a)?l=ap(a):(!ft(a)||te(a))&&(l=Vo(c))):f=!1}f&&(s.set(c,l),i(l,c,n,o,s),s.delete(c)),Dr(e,r,l)}function Ko(e,t,r,n,i){e!==t&&ep(t,function(o,s){if(i||(i=new Ft),ft(o))up(e,t,s,r,Ko,n,i);else{var a=n?n(Br(e,s),o,s+"",e,t,i):void 0;a===void 0&&(a=o),Dr(e,s,a)}},Qr)}var cp={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},lp=To(cp);const fp=lp;var Jo=/[&<>"']/g,hp=RegExp(Jo.source);function pp(e){return e=re(e),e&&hp.test(e)?e.replace(Jo,fp):e}var dp="[object String]";function Ot(e){return typeof e=="string"||!Ut(e)&&bt(e)&&Et(e)==dp}function mp(e,t){return Yi(t,function(r){return e[r]})}vt&&vt.isArrayBuffer;vt&&vt.isDate;var gp=io(function(e,t,r){Ko(e,t,r)});const le=gp;var Yo=Object.prototype,yp=Yo.hasOwnProperty;function Xn(e,t,r,n){return e===void 0||ve(e,Yo[r])&&!yp.call(n,r)?t:e}var vp={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"};function bp(e){return"\\"+vp[e]}var wp=/<%=([\s\S]+?)%>/g;const Go=wp;var _p=/<%-([\s\S]+?)%>/g;const Ep=_p;var Sp=/<%([\s\S]+?)%>/g;const xp=Sp;var Tp={escape:Ep,evaluate:xp,interpolate:Go,variable:"",imports:{_:{escape:pp}}};const Qn=Tp;var Ap="Invalid `variable` option passed into `_.template`",Rp=/\b__p \+= '';/g,Op=/\b(__p \+=) '' \+/g,$p=/(__e\(.*?\)|\b__t\)) \+\n'';/g,jp=/[()=,{}\[\]\/\s]/,Dp=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Ee=/($^)/,Bp=/['\n\r\u2028\u2029\\]/g,Cp=Object.prototype,ti=Cp.hasOwnProperty;function Np(e,t,r){var n=Qn.imports._.templateSettings||Qn;e=re(e),t=Dn({},t,n,Xn);var i=Dn({},t.imports,n.imports,Xn),o=fo(i),s=mp(i,o),a,c,u=0,l=t.interpolate||Ee,f="__p += '",p=RegExp((t.escape||Ee).source+"|"+l.source+"|"+(l===Go?Dp:Ee).source+"|"+(t.evaluate||Ee).source+"|$","g"),h=ti.call(t,"sourceURL")?"//# sourceURL="+(t.sourceURL+"").replace(/\s/g," ")+`
3
3
  `:"";e.replace(p,function(b,E,y,v,w,S){return y||(y=v),f+=e.slice(u,S).replace(Bp,bp),E&&(a=!0,f+=`' +
4
4
  __e(`+E+`) +
5
5
  '`),w&&(c=!0,f+=`';
@@ -51,7 +51,7 @@ 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.11.16
54
+ * @version 0.12.0-alpha.0
55
55
  * @license <a href="https://vtj.pro/license.html">MIT License</a>
56
56
  */const jd="VueMaterial",Dd="VueRouterMaterial",Bd={[jd]:["Transition","TransitionGroup","KeepAlive","Teleport","Suspense"],[Dd]:["RouterView","RouterLink"]};let Cd=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 Nd=Object.defineProperty,Id=(e,t,r)=>t in e?Nd(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,ct=(e,t,r)=>Id(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 Pd=e=>typeof e=="symbol";new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Pd));function gs(e,t){return function(){return e.apply(t,arguments)}}const{toString:Fd}=Object.prototype,{getPrototypeOf:sn}=Object,Ge=(e=>t=>{const r=Fd.call(t);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),mt=e=>(e=e.toLowerCase(),t=>Ge(t)===e),Ze=e=>t=>typeof t===e,{isArray:ie}=Array,me=Ze("undefined");function Md(e){return e!==null&&!me(e)&&e.constructor!==null&&!me(e.constructor)&&at(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const ys=mt("ArrayBuffer");function kd(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&ys(e.buffer),t}const Ud=Ze("string"),at=Ze("function"),vs=Ze("number"),Xe=e=>e!==null&&typeof e=="object",Ld=e=>e===!0||e===!1,Ce=e=>{if(Ge(e)!=="object")return!1;const t=sn(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},Vd=mt("Date"),Hd=mt("File"),qd=mt("Blob"),zd=mt("FileList"),Wd=e=>Xe(e)&&at(e.pipe),Kd=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||at(e.append)&&((t=Ge(e))==="formdata"||t==="object"&&at(e.toString)&&e.toString()==="[object FormData]"))},Jd=mt("URLSearchParams"),[Yd,Gd,Zd,Xd]=["ReadableStream","Request","Response","Headers"].map(mt),Qd=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function be(e,t,{allOwnKeys:r=!1}={}){if(e===null||typeof e>"u")return;let n,i;if(typeof e!="object"&&(e=[e]),ie(e))for(n=0,i=e.length;n<i;n++)t.call(null,e[n],n,e);else{const o=r?Object.getOwnPropertyNames(e):Object.keys(e),s=o.length;let a;for(n=0;n<s;n++)a=o[n],t.call(null,e[a],a,e)}}function bs(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 Mt=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,ws=e=>!me(e)&&e!==Mt;function Ir(){const{caseless:e}=ws(this)&&this||{},t={},r=(n,i)=>{const o=e&&bs(t,i)||i;Ce(t[o])&&Ce(n)?t[o]=Ir(t[o],n):Ce(n)?t[o]=Ir({},n):ie(n)?t[o]=n.slice():t[o]=n};for(let n=0,i=arguments.length;n<i;n++)arguments[n]&&be(arguments[n],r);return t}const tm=(e,t,r,{allOwnKeys:n}={})=>(be(t,(i,o)=>{r&&at(i)?e[o]=gs(i,r):e[o]=i},{allOwnKeys:n}),e),em=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),rm=(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)},nm=(e,t,r,n)=>{let i,o,s;const a={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),o=i.length;o-- >0;)s=i[o],(!n||n(s,e,t))&&!a[s]&&(t[s]=e[s],a[s]=!0);e=r!==!1&&sn(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},im=(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},om=e=>{if(!e)return null;if(ie(e))return e;let t=e.length;if(!vs(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},sm=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&sn(Uint8Array)),am=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let n;for(;(n=r.next())&&!n.done;){const i=n.value;t.call(e,i[0],i[1])}},um=(e,t)=>{let r;const n=[];for(;(r=e.exec(t))!==null;)n.push(r);return n},cm=mt("HTMLFormElement"),lm=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(t,r,n){return r.toUpperCase()+n}),Si=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),fm=mt("RegExp"),_s=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e),n={};be(r,(i,o)=>{let s;(s=t(i,o,e))!==!1&&(n[o]=s||i)}),Object.defineProperties(e,n)},hm=e=>{_s(e,(t,r)=>{if(at(e)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;const n=e[r];if(at(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+"'")})}})},pm=(e,t)=>{const r={},n=i=>{i.forEach(o=>{r[o]=!0})};return ie(e)?n(e):n(String(e).split(t)),r},dm=()=>{},mm=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function gm(e){return!!(e&&at(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const ym=e=>{const t=new Array(10),r=(n,i)=>{if(Xe(n)){if(t.indexOf(n)>=0)return;if(!("toJSON"in n)){t[i]=n;const o=ie(n)?[]:{};return be(n,(s,a)=>{const c=r(s,i+1);!me(c)&&(o[a]=c)}),t[i]=void 0,o}}return n};return r(e,0)},vm=mt("AsyncFunction"),bm=e=>e&&(Xe(e)||at(e))&&at(e.then)&&at(e.catch),Es=((e,t)=>e?setImmediate:t?((r,n)=>(Mt.addEventListener("message",({source:i,data:o})=>{i===Mt&&o===r&&n.length&&n.shift()()},!1),i=>{n.push(i),Mt.postMessage(r,"*")}))(`axios@${Math.random()}`,[]):r=>setTimeout(r))(typeof setImmediate=="function",at(Mt.postMessage)),wm=typeof queueMicrotask<"u"?queueMicrotask.bind(Mt):typeof process<"u"&&process.nextTick||Es,A={isArray:ie,isArrayBuffer:ys,isBuffer:Md,isFormData:Kd,isArrayBufferView:kd,isString:Ud,isNumber:vs,isBoolean:Ld,isObject:Xe,isPlainObject:Ce,isReadableStream:Yd,isRequest:Gd,isResponse:Zd,isHeaders:Xd,isUndefined:me,isDate:Vd,isFile:Hd,isBlob:qd,isRegExp:fm,isFunction:at,isStream:Wd,isURLSearchParams:Jd,isTypedArray:sm,isFileList:zd,forEach:be,merge:Ir,extend:tm,trim:Qd,stripBOM:em,inherits:rm,toFlatObject:nm,kindOf:Ge,kindOfTest:mt,endsWith:im,toArray:om,forEachEntry:am,matchAll:um,isHTMLForm:cm,hasOwnProperty:Si,hasOwnProp:Si,reduceDescriptors:_s,freezeMethods:hm,toObjectSet:pm,toCamelCase:lm,noop:dm,toFiniteNumber:mm,findKey:bs,global:Mt,isContextDefined:ws,isSpecCompliantForm:gm,toJSONObject:ym,isAsyncFn:vm,isThenable:bm,setImmediate:Es,asap:wm};function W(e,t,r,n,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),i&&(this.response=i,this.status=i.status?i.status:null)}A.inherits(W,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:A.toJSONObject(this.config),code:this.code,status:this.status}}});const Ss=W.prototype,xs={};["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=>{xs[e]={value:e}});Object.defineProperties(W,xs);Object.defineProperty(Ss,"isAxiosError",{value:!0});W.from=(e,t,r,n,i,o)=>{const s=Object.create(Ss);return A.toFlatObject(e,s,function(a){return a!==Error.prototype},a=>a!=="isAxiosError"),W.call(s,e.message,t,r,n,i),s.cause=e,s.name=e.name,o&&Object.assign(s,o),s};const _m=null;function Pr(e){return A.isPlainObject(e)||A.isArray(e)}function Ts(e){return A.endsWith(e,"[]")?e.slice(0,-2):e}function xi(e,t,r){return e?e.concat(t).map(function(n,i){return n=Ts(n),!r&&i?"["+n+"]":n}).join(r?".":""):t}function Em(e){return A.isArray(e)&&!e.some(Pr)}const Sm=A.toFlatObject(A,{},null,function(e){return/^is[A-Z]/.test(e)});function Qe(e,t,r){if(!A.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,r=A.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(h,d){return!A.isUndefined(d[h])});const n=r.metaTokens,i=r.visitor||u,o=r.dots,s=r.indexes,a=(r.Blob||typeof Blob<"u"&&Blob)&&A.isSpecCompliantForm(t);if(!A.isFunction(i))throw new TypeError("visitor must be a function");function c(h){if(h===null)return"";if(A.isDate(h))return h.toISOString();if(!a&&A.isBlob(h))throw new W("Blob is not supported. Use a Buffer instead.");return A.isArrayBuffer(h)||A.isTypedArray(h)?a&&typeof Blob=="function"?new Blob([h]):Buffer.from(h):h}function u(h,d,m){let b=h;if(h&&!m&&typeof h=="object"){if(A.endsWith(d,"{}"))d=n?d:d.slice(0,-2),h=JSON.stringify(h);else if(A.isArray(h)&&Em(h)||(A.isFileList(h)||A.endsWith(d,"[]"))&&(b=A.toArray(h)))return d=Ts(d),b.forEach(function(E,y){!(A.isUndefined(E)||E===null)&&t.append(s===!0?xi([d],y,o):s===null?d:d+"[]",c(E))}),!1}return Pr(h)?!0:(t.append(xi(m,d,o),c(h)),!1)}const l=[],f=Object.assign(Sm,{defaultVisitor:u,convertValue:c,isVisitable:Pr});function p(h,d){if(!A.isUndefined(h)){if(l.indexOf(h)!==-1)throw Error("Circular reference detected in "+d.join("."));l.push(h),A.forEach(h,function(m,b){(!(A.isUndefined(m)||m===null)&&i.call(t,m,A.isString(b)?b.trim():b,d,f))===!0&&p(m,d?d.concat(b):[b])}),l.pop()}}if(!A.isObject(e))throw new TypeError("data must be an object");return p(e),t}function Ti(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function an(e,t){this._pairs=[],e&&Qe(e,this,t)}const As=an.prototype;As.append=function(e,t){this._pairs.push([e,t])};As.toString=function(e){const t=e?function(r){return e.call(this,r,Ti)}:Ti;return this._pairs.map(function(r){return t(r[0])+"="+t(r[1])},"").join("&")};function xm(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Rs(e,t,r){if(!t)return e;const n=r&&r.encode||xm;A.isFunction(r)&&(r={serialize:r});const i=r&&r.serialize;let o;if(i?o=i(t,r):o=A.isURLSearchParams(t)?t.toString():new an(t,r).toString(n),o){const s=e.indexOf("#");s!==-1&&(e=e.slice(0,s)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}let Ai=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){A.forEach(this.handlers,function(r){r!==null&&t(r)})}};const Os={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Tm=typeof URLSearchParams<"u"?URLSearchParams:an,Am=typeof FormData<"u"?FormData:null,Rm=typeof Blob<"u"?Blob:null,Om={isBrowser:!0,classes:{URLSearchParams:Tm,FormData:Am,Blob:Rm},protocols:["http","https","file","blob","url","data"]},un=typeof window<"u"&&typeof document<"u",Fr=typeof navigator=="object"&&navigator||void 0,$m=un&&(!Fr||["ReactNative","NativeScript","NS"].indexOf(Fr.product)<0),jm=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Dm=un&&window.location.href||"http://localhost",Bm=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:un,hasStandardBrowserEnv:$m,hasStandardBrowserWebWorkerEnv:jm,navigator:Fr,origin:Dm},Symbol.toStringTag,{value:"Module"})),rt=V(V({},Bm),Om);function Cm(e,t){return Qe(e,new rt.classes.URLSearchParams,Object.assign({visitor:function(r,n,i,o){return rt.isNode&&A.isBuffer(r)?(this.append(n,r.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},t))}function Nm(e){return A.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function Im(e){const t={},r=Object.keys(e);let n;const i=r.length;let o;for(n=0;n<i;n++)o=r[n],t[o]=e[o];return t}function $s(e){function t(r,n,i,o){let s=r[o++];if(s==="__proto__")return!0;const a=Number.isFinite(+s),c=o>=r.length;return s=!s&&A.isArray(i)?i.length:s,c?(A.hasOwnProp(i,s)?i[s]=[i[s],n]:i[s]=n,!a):((!i[s]||!A.isObject(i[s]))&&(i[s]=[]),t(r,n,i[s],o)&&A.isArray(i[s])&&(i[s]=Im(i[s])),!a)}if(A.isFormData(e)&&A.isFunction(e.entries)){const r={};return A.forEachEntry(e,(n,i)=>{t(Nm(n),i,r,0)}),r}return null}function Pm(e,t,r){if(A.isString(e))try{return(t||JSON.parse)(e),A.trim(e)}catch(n){if(n.name!=="SyntaxError")throw n}return(r||JSON.stringify)(e)}const we={transitional:Os,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const r=t.getContentType()||"",n=r.indexOf("application/json")>-1,i=A.isObject(e);if(i&&A.isHTMLForm(e)&&(e=new FormData(e)),A.isFormData(e))return n?JSON.stringify($s(e)):e;if(A.isArrayBuffer(e)||A.isBuffer(e)||A.isStream(e)||A.isFile(e)||A.isBlob(e)||A.isReadableStream(e))return e;if(A.isArrayBufferView(e))return e.buffer;if(A.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let o;if(i){if(r.indexOf("application/x-www-form-urlencoded")>-1)return Cm(e,this.formSerializer).toString();if((o=A.isFileList(e))||r.indexOf("multipart/form-data")>-1){const s=this.env&&this.env.FormData;return Qe(o?{"files[]":e}:e,s&&new s,this.formSerializer)}}return i||n?(t.setContentType("application/json",!1),Pm(e)):e}],transformResponse:[function(e){const t=this.transitional||we.transitional,r=t&&t.forcedJSONParsing,n=this.responseType==="json";if(A.isResponse(e)||A.isReadableStream(e))return e;if(e&&A.isString(e)&&(r&&!this.responseType||n)){const i=!(t&&t.silentJSONParsing)&&n;try{return JSON.parse(e)}catch(o){if(i)throw o.name==="SyntaxError"?W.from(o,W.ERR_BAD_RESPONSE,this,null,this.response):o}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData: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}}};A.forEach(["delete","get","head","post","put","patch"],e=>{we.headers[e]={}});const Fm=A.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"]),Mm=e=>{const t={};let r,n,i;return e&&e.split(`
57
57
  `).forEach(function(o){i=o.indexOf(":"),r=o.substring(0,i).trim().toLowerCase(),n=o.substring(i+1).trim(),!(!r||t[r]&&Fm[r])&&(r==="set-cookie"?t[r]?t[r].push(n):t[r]=[n]:t[r]=t[r]?t[r]+", "+n:n)}),t},Ri=Symbol("internals");function ce(e){return e&&String(e).trim().toLowerCase()}function Ne(e){return e===!1||e==null?e:A.isArray(e)?e.map(Ne):String(e)}function km(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 Um=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function dr(e,t,r,n,i){if(A.isFunction(n))return n.call(this,t,r);if(i&&(t=r),!!A.isString(t)){if(A.isString(n))return t.indexOf(n)!==-1;if(A.isRegExp(n))return n.test(t)}}function Lm(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,r,n)=>r.toUpperCase()+n)}function Vm(e,t){const r=A.toCamelCase(" "+t);["get","set","has"].forEach(n=>{Object.defineProperty(e,n+r,{value:function(i,o,s){return this[n].call(this,t,i,o,s)},configurable:!0})})}let st=class{constructor(t){t&&this.set(t)}set(t,r,n){const i=this;function o(a,c,u){const l=ce(c);if(!l)throw new Error("header name must be a non-empty string");const f=A.findKey(i,l);(!f||i[f]===void 0||u===!0||u===void 0&&i[f]!==!1)&&(i[f||c]=Ne(a))}const s=(a,c)=>A.forEach(a,(u,l)=>o(u,l,c));if(A.isPlainObject(t)||t instanceof this.constructor)s(t,r);else if(A.isString(t)&&(t=t.trim())&&!Um(t))s(Mm(t),r);else if(A.isHeaders(t))for(const[a,c]of t.entries())o(c,a,n);else t!=null&&o(r,t,n);return this}get(t,r){if(t=ce(t),t){const n=A.findKey(this,t);if(n){const i=this[n];if(!r)return i;if(r===!0)return km(i);if(A.isFunction(r))return r.call(this,i,n);if(A.isRegExp(r))return r.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,r){if(t=ce(t),t){const n=A.findKey(this,t);return!!(n&&this[n]!==void 0&&(!r||dr(this,this[n],n,r)))}return!1}delete(t,r){const n=this;let i=!1;function o(s){if(s=ce(s),s){const a=A.findKey(n,s);a&&(!r||dr(n,n[a],a,r))&&(delete n[a],i=!0)}}return A.isArray(t)?t.forEach(o):o(t),i}clear(t){const r=Object.keys(this);let n=r.length,i=!1;for(;n--;){const o=r[n];(!t||dr(this,this[o],o,t,!0))&&(delete this[o],i=!0)}return i}normalize(t){const r=this,n={};return A.forEach(this,(i,o)=>{const s=A.findKey(n,o);if(s){r[s]=Ne(i),delete r[o];return}const a=t?Lm(o):String(o).trim();a!==o&&delete r[o],r[a]=Ne(i),n[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const r=Object.create(null);return A.forEach(this,(n,i)=>{n!=null&&n!==!1&&(r[i]=t&&A.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(`
@@ -62,15 +62,15 @@ version: 2.9.0
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.11.16
65
+ * @version 0.12.0-alpha.0
66
66
  * @license <a href="https://vtj.pro/license.html">MIT License</a>
67
- */const wr="0.11.16";var tt=(e=>(e.Runtime="Runtime",e.Design="Design",e.Raw="Raw",e.VNode="VNode",e))(tt||{});const Li=["$el","$emit","$nextTick","$parent","$root","$attrs","$slots","$watch","$props","$options","$forceUpdate"],Fg=["vIf","vShow","vModel","vFor","vBind","vHtml"],Mg={String,Number,Boolean,Array,Object,Function,Date},Me="VtjPage",_r="VtjHomepage",kg="html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot".split(","),Ug="component,slot".split(",");function je(e,t){return e.map(r=>us(r)||r.startsWith("/")?r:`${t}${r}`)}function fn(e){return/\.css$/.test(e)}function hn(e){return/\.js$/.test(e)}function Lg(e){return/\.json$/.test(e)}function Vg(e,t=!1){return t&&e.endsWith(".prod.js")?e.replace(".prod.js",".js"):e}function Hg(e,t,r=!1){const n=e.filter(p=>!!p.enabled),i=[],o=[],s=[],a=[],c={},u={},l=[],f={};return n.forEach(({urls:p,assetsUrl:h,library:d,assetsLibrary:m,localeLibrary:b})=>{p==null||p.forEach(E=>{hn(E)&&i.push(Vg(E,r)),fn(E)&&o.push(E)}),d&&(a.push(d),c[d]=je(p||[],t),b&&(u[d]=b)),h&&s.push(h),m&&l.push(m),d&&m&&(f[m]=d)}),{scripts:je(i,t),css:je(o,t),materials:je(s,t),libraryExports:a,materialExports:bd(l),materialMapLibrary:f,libraryMap:c,libraryLocaleMap:u}}function qg(e,t){var o;const{name:r,parent:n,alias:i}=e;return n?(o=t[n])==null?void 0:o[i||r]:t[i||r]}function zs(e){return Ot(e)?e:JSON.stringify(e)}function pn(e,t,r){const n=e.CSSStyleSheet;if(n.prototype.replaceSync){const i=new n;i.id=t,i.replaceSync(r);const o=e.document,s=o.adoptedStyleSheets,a=Array.from(s).filter(c=>c.id!==t);o.adoptedStyleSheets=[...a,i]}else{const i=e.document;let o=i.getElementById(t);o?o.innerHTML=r:(o=i.createElement("style"),o.id=t,o.innerHTML=r,i.head.appendChild(o))}}function zg(e,t){return M(this,null,function*(){const r=yield window.fetch(t).then(n=>n.text()).catch(()=>"");r&&pn(window,e,r)})}function Wg(e,t=window){const r=t.document,n=t.document.head;for(const i of e)if(!r.getElementById(i)){const o=r.createElement("link");o.rel="stylesheet",o.id=i,o.href=i,n.appendChild(o)}}function Kg(n,i){return M(this,arguments,function*(e,t,r=window){const o=r.document,s=r.document.head;let a=r[t];return a?a.default||a:new Promise((c,u)=>{for(const l of e){const f=o.createElement("script");f.src=l,f.onload=()=>{a=r[t],a?c(a.default||a):u(null)},f.onerror=p=>{u(p)},s.appendChild(f)}})})}function Jg(e){return te(e)||te(e==null?void 0:e.install)}function Yg(e){return Ug.includes(e)}function Gg(e){return kg.includes(e)}function ge(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 ye(e,t,r=!1,n=!1){var i;try{const o=['"use strict";',"var __self = arguments[0];"];o.push("return ");let s=(e.value||"").trim();s=s.replace(/this(\W|$)/g,(c,u)=>`__self${u}`),s=o.join(`
67
+ */const wr="0.12.0-alpha.0";var tt=(e=>(e.Runtime="Runtime",e.Design="Design",e.Raw="Raw",e.VNode="VNode",e))(tt||{});const Li=["$el","$emit","$nextTick","$parent","$root","$attrs","$slots","$watch","$props","$options","$forceUpdate"],Fg=["vIf","vShow","vModel","vFor","vBind","vHtml"],Mg={String,Number,Boolean,Array,Object,Function,Date},Me="VtjPage",_r="VtjHomepage",kg="html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot".split(","),Ug="component,slot".split(",");function je(e,t){return e.map(r=>us(r)||r.startsWith("/")?r:`${t}${r}`)}function fn(e){return/\.css$/.test(e)}function hn(e){return/\.js$/.test(e)}function Lg(e){return/\.json$/.test(e)}function Vg(e,t=!1){return t&&e.endsWith(".prod.js")?e.replace(".prod.js",".js"):e}function Hg(e,t,r=!1){const n=e.filter(p=>!!p.enabled),i=[],o=[],s=[],a=[],c={},u={},l=[],f={};return n.forEach(({urls:p,assetsUrl:h,library:d,assetsLibrary:m,localeLibrary:b})=>{p==null||p.forEach(E=>{hn(E)&&i.push(Vg(E,r)),fn(E)&&o.push(E)}),d&&(a.push(d),c[d]=je(p||[],t),b&&(u[d]=b)),h&&s.push(h),m&&l.push(m),d&&m&&(f[m]=d)}),{scripts:je(i,t),css:je(o,t),materials:je(s,t),libraryExports:a,materialExports:bd(l),materialMapLibrary:f,libraryMap:c,libraryLocaleMap:u}}function qg(e,t){var o;const{name:r,parent:n,alias:i}=e;return n?(o=t[n])==null?void 0:o[i||r]:t[i||r]}function zs(e){return Ot(e)?e:JSON.stringify(e)}function pn(e,t,r){const n=e.CSSStyleSheet;if(n.prototype.replaceSync){const i=new n;i.id=t,i.replaceSync(r);const o=e.document,s=o.adoptedStyleSheets,a=Array.from(s).filter(c=>c.id!==t);o.adoptedStyleSheets=[...a,i]}else{const i=e.document;let o=i.getElementById(t);o?o.innerHTML=r:(o=i.createElement("style"),o.id=t,o.innerHTML=r,i.head.appendChild(o))}}function zg(e,t){return M(this,null,function*(){const r=yield window.fetch(t).then(n=>n.text()).catch(()=>"");r&&pn(window,e,r)})}function Wg(e,t=window){const r=t.document,n=t.document.head;for(const i of e)if(!r.getElementById(i)){const o=r.createElement("link");o.rel="stylesheet",o.id=i,o.href=i,n.appendChild(o)}}function Kg(n,i){return M(this,arguments,function*(e,t,r=window){const o=r.document,s=r.document.head;let a=r[t];return a?a.default||a:new Promise((c,u)=>{for(const l of e){const f=o.createElement("script");f.src=l,f.onload=()=>{a=r[t],a?c(a.default||a):u(null)},f.onerror=p=>{u(p)},s.appendChild(f)}})})}function Jg(e){return te(e)||te(e==null?void 0:e.install)}function Yg(e){return Ug.includes(e)}function Gg(e){return kg.includes(e)}function ge(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 ye(e,t,r=!1,n=!1){var i;try{const o=['"use strict";',"var __self = arguments[0];"];o.push("return ");let s=(e.value||"").trim();s=s.replace(/this(\W|$)/g,(c,u)=>`__self${u}`),s=o.join(`
68
68
  `)+s;const a=`with(${r?"{}":"$scope || {}"}) { ${s} }`;return new Function("$scope",a)(t)}catch(o){if(Qt.error("parseExpression.error",o,e,(i=t==null?void 0:t.__self)!=null?i:t),n)throw o}}function He(e,t,r=!1,n=!1){var o;const i=ye(e,t,r,n);if(typeof i!="function"&&(Qt.error("parseFunction.error","not a function",e,(o=t==null?void 0:t.__self)!=null?o:t),n))throw new Error(`"${e.value}" not a function`);return i}function pt(e){return e&&e.type==="JSExpression"}function rr(e){return typeof e=="object"&&e&&e.type==="JSFunction"}const Zg={session:!1,authKey:"Authorization",storageKey:"ACCESS_STORAGE",storagePrefix:"__VTJ_",unauthorized:void 0,auth:"/#/login",redirectParam:"r",unauthorizedCode:401,unauthorizedMessage:"登录已经失效,请重新登录!",noPermissionMessage:"无权限访问该页面",appName:"",statusKey:"code"},Xg=Symbol("access");class Qg{constructor(t){z(this,"options");z(this,"data",null);z(this,"mode",tt.Raw);z(this,"interceptResponse",!0);this.options=Object.assign({},Zg,t),this.loadData()}enableIntercept(){this.interceptResponse=!0}disableIntercept(){this.interceptResponse=!1}connect(t){const{mode:r,router:n,request:i}=t;this.mode=r,n&&this.mode===tt.Raw&&this.setGuard(n),i&&this.setRequest(i)}login(t){const{storageKey:r,storagePrefix:n,session:i,authKey:o}=this.options;this.setData(t),this.data&&(yr.save(r,t,{type:"local",prefix:n}),i&&br.set(o,this.data.token))}clear(){const{storageKey:t,storagePrefix:r,session:n,authKey:i}=this.options;this.data=null,yr.remove(t,{type:"local",prefix:r}),n&&br.remove(i)}logout(){this.clear(),this.toLogin()}getData(){return this.data?this.data:(this.loadData(),this.data)}getToken(){var t;return this.data||this.loadData(),(t=this.data)==null?void 0:t.token}can(t){const{appName:r}=this.options,{permissions:n={}}=this.data||{};return typeof t=="function"?t(n):Ei(t).every(i=>n[i]||n[r+"."+i])}some(t){const{appName:r}=this.options,{permissions:n={}}=this.data||{};return Ei(t).some(i=>n[i]||n[r+"."+i])}install(t){t.config.globalProperties.$access=this,t.provide(Xg,this)}isAuthPath(t){const{auth:r,isAuth:n}=this.options;if(n)return n(t);if(t.path&&typeof r=="string"){const i=r.split("#")[1]||r;return t.path===i}return!1}toLogin(){const{auth:t,redirectParam:r}=this.options;if(!t)return;const n=r?`?${r}=${encodeURIComponent(location.href)}`:"";typeof t=="function"?t(n):location.href=r?`${t}${n}`:t}setData(t){const{privateKey:r}=this.options;if(Array.isArray(t)&&r){const n=t.map(i=>_i(i,r));try{this.data=JSON.parse(n.join(""))}catch(i){console.warn(i)}return}if(typeof t=="string")try{const n=r?_i(t,r):t;n?this.data=JSON.parse(n):console.warn("RSA解密失败或登录信息缺失")}catch(n){console.warn(n)}else this.data=t}loadData(){const{storageKey:t,storagePrefix:r}=this.options,n=yr.get(t,{type:"local",prefix:r});this.setData(n||null)}isLogined(){const{session:t,authKey:r}=this.options;return t&&r?!!br.get(r):!!this.getToken()}hasRoutePermission(t){if(t.name===Me){const r=t.params.id;return r&&this.can(r)}return!0}setGuard(t){t.beforeEach((r,n,i)=>this.guard(r,i))}guard(t,r){return M(this,null,function*(){if(this.isWhiteList(t)||this.isAuthPath(t))return r();if(this.isLogined()){if(this.hasRoutePermission(t))return r();{const{noPermissionMessage:n="无权限访问",unauthorized:i=!1}=this.options;return yield this.showTip(n),te(i)?(i(),r(!1)):Ot(i)?r(i):r(!1)}}r(!1),this.toLogin()})}isWhiteList(t){const{whiteList:r}=this.options;return r?Array.isArray(r)?r.some(n=>t.fullPath.startsWith(n)):r(t):!1}isUnauthorized(t){var i;const{unauthorizedCode:r=401,statusKey:n="code"}=this.options;return t.status===r||((i=t.data)==null?void 0:i[n])===r}showUnauthorizedAlert(t){return M(this,null,function*(){const{unauthorizedMessage:r="登录已失效"}=this.options;this.isUnauthorized(t)&&(yield this.showTip(r),this.toLogin())})}showTip(t){return M(this,null,function*(){const{alert:r}=this.options;return r?(yield hs(150),yield r(t,{title:"提示",type:"warning"}).catch(()=>!1)):!1})}setRequest(t){t.useRequest(r=>{var n,i;return(n=this.data)!=null&&n.token&&(r.headers[this.options.authKey]=(i=this.data)==null?void 0:i.token),r}),t.useResponse(r=>M(this,null,function*(){return this.interceptResponse&&(yield this.showUnauthorizedAlert(r)),r}),r=>M(this,null,function*(){if(!this.interceptResponse)return Promise.reject(r);const n=r.response||r||{};return yield this.showUnauthorizedAlert(n),Promise.reject(r)}))}}function t0(e={}){const{notify:t,loading:r,settings:n={},Startup:i,access:o,useTitle:s,alert:a}=e;let c=null;return{request:cn({settings:V({type:"form",validSuccess:!0,originResponse:!1,loading:!0,validate:u=>{var l,f;return((l=u.data)==null?void 0:l.code)===0||!!((f=u.data)!=null&&f.success)},failMessage:!0,showError:u=>{t&&t(u||"未知错误")},showLoading:()=>{c&&c.close(),r&&(c=r())},hideLoading:()=>{c&&(c.close(),c=null)}},n)}),jsonp:qs,notify:t,loading:r,useTitle:s,startupComponent:i,access:o?new Qg(V({alert:a},o)):void 0}}function e0(e,t){const{jsonp:r,request:n}=t;if(e.method==="jsonp")return(i={})=>r(e.url,et(V({},e.jsonpOptions),{query:i}));{const i=e.headers?ye(e.headers,{},!0):void 0,o={url:e.url,method:e.method,settings:et(V({},e.settings),{headers:i})};return(s,a)=>(delete o.data,n.send(le(o,a||{},{data:s})))}}function r0(e,t){const{metaQuery:r}=t;if(!r)return;const{code:n,queryCode:i}=e;return(o,s)=>{if(!r){console.warn("adapter.metaQuery is not defined!");return}return r(n,i,o,s)}}function n0(e=[],t=[],r){const n={};for(const i of e)n[i.id]=e0(i,r);for(const i of t)n[i.id]=r0(i,r);return n}function i0(){return M(this,arguments,function*(e=[],t=window){const r=ge(t);r&&(Ws(t),e.forEach(n=>s0(r,n)))})}function o0(e,t=window){const r=rr(e.mockTemplate)&&e.mockTemplate.value?He(e.mockTemplate,{},!0):void 0,n=ge(t);return(...i)=>M(this,null,function*(){let o={};if(r)try{o=yield r.apply(r,i)}catch(s){Qt.warn("模拟数据模版异常",s)}return n==null?void 0:n.mock(o)})}function s0(e,t){if(!t.mock)return;const{url:r,mockTemplate:n}=t;if(r&&n){const i=on(`${r}(.*)`),o=xd(r,{decode:decodeURIComponent}),s=ye(n,{},!0);e.mock(i,a=>{var f;const c=Fe.parse(a.url)||{},u=a.body instanceof FormData?yg(a.body):a.body,l=(f=o(a.url))==null?void 0:f.params;return Object.assign(a,{data:u,params:c,query:l}),e.mock(s(a))})}}function Ws(e=window){const t=ge(e);t&&(t._mocked={})}class a0{constructor(t){z(this,"__id",null);z(this,"__mode");z(this,"__instance",null);z(this,"__contextRefs",{});z(this,"__refs",{});z(this,"context",{});z(this,"state",{});z(this,"props",{});z(this,"$props",{});z(this,"$refs",{});z(this,"$el",null);z(this,"$emit",null);z(this,"$nextTick",null);z(this,"$parent",null);z(this,"$root",null);z(this,"$attrs",null);z(this,"$slots",null);z(this,"$watch",null);z(this,"$options",null);z(this,"$forceUpdate",null);z(this,"$components",{});z(this,"$libs",{});z(this,"$apis",{});z(this,"__transform",{});const{mode:r,dsl:n,attrs:i}=t;this.__mode=r,n&&(this.__id=n.id||null,this.__transform=n.transform||{}),i&&Object.assign(this,i)}setup(t,r=ze){const n=r.getCurrentInstance();if(!n)return;this.__refs={},this.$refs={},this.context={},this.__contextRefs={},this.__instance=n.proxy;const i=n.appContext.config.globalProperties;Object.assign(this,i),Object.assign(this,t||{}),this.__proxy(),r.onMounted(()=>{this.__proxy()}),r.onUnmounted(()=>{this.__cleanup()}),r.onBeforeUpdate(()=>{this.__reset()})}__proxy(){this.__instance&&Li.forEach(t=>{var r;this[t]=(r=this.__instance)==null?void 0:r[t]})}__cleanup(){Li.forEach(t=>{this[t]=null}),this.__reset()}__reset(){this.__refs={},this.$refs={},this.__contextRefs={},this.context={}}__parseFunction(t){var r;if(t)if(this.__mode===tt.Runtime){const{id:n,type:i}=t,o=n&&(r=this.__transform[n])!=null?r:t.value;return He({type:i,value:o},this)}else return He(t,this)}__parseExpression(t){var r;if(t)if(this.__mode===tt.Runtime){const{id:n,type:i}=t,o=n&&(r=this.__transform[n])!=null?r:t.value;return ye({type:i,value:o},this)}else return ye(t,this)}__ref(t=null,r){if(this.__mode!==tt.VNode)return t&&t!==this.__id&&(this.__contextRefs[t]=this),n=>M(this,null,function*(){var o,s;yield hs(0);let i=(n==null?void 0:n.$vtjEl)||(n==null?void 0:n.$el)||((s=(o=n==null?void 0:n._)==null?void 0:o.vnode)==null?void 0:s.el)||n;if(!i){typeof r=="string"&&(delete this.$refs[r],t&&delete this.__refs[t]);return}return i.nodeType===3&&i.nextSibling&&(i=i.nextSibling),i.__vtj__=t,tt.Design===this.__mode&&(i.__context__=this,i.draggable=!0),t&&(this.__refs[t]=this.__getRefEl(this.__refs,t,n)),typeof r=="function"?r(n):r&&(this.$refs[r]=this.__getRefEl(this.$refs,r,n)),n})}__getRefEl(t,r,n){const i=t[r];if(i&&n!==i){const o=new Set([].concat(i,n));return Array.from(o)}else return n}__clone(t={}){const r=V(V({},this.context),t),n=et(V({},r),{context:r});return n.context.__proto__=this.context,n.__proto__=this,n}}function zr(e){var f,p;const{Vue:t=ze,mode:r=tt.Runtime,components:n={},libs:i={},apis:o={},loader:s}=e,a=t.computed(()=>e.dsl),c={$components:n,$libs:i,$apis:o},u=new a0({mode:r,dsl:a.value,attrs:c}),l=t.defineComponent(V({name:a.value.name,props:V({},c0((f=a.value.props)!=null?f:[],u)),setup(h){var v,w,S,g;u.$props=h,u.props=h,a.value.id&&pn(e.window||window,a.value.id,a.value.css||""),u.state=l0(t,(v=a.value.state)!=null?v:{},u);const d=f0(t,(w=a.value.computed)!=null?w:{},u),m=h0((S=a.value.methods)!=null?S:{},u),b=p0(t,a.value.inject,u),E=d0(a.value.dataSources||{},u),y=V(V(V(V({},b),d),m),E);return u.setup(y,t),m0(t,(g=a.value.watch)!=null?g:[],u),{vtj:u}},emits:u0(a.value.emits),expose:["vtj"],render(){if(!a.value.nodes)return null;const h=a.value.nodes||[];return h.length===1?qe(h[0],u,t,s):h.map(d=>qe(d,u,t,s))}},g0((p=a.value.lifeCycles)!=null?p:{},u)));return{renderer:t.markRaw(l),context:u}}function u0(e=[]){return e.map(t=>Ot(t)?t:t.name)}function c0(e=[],t){const r=n=>n?(Array.isArray(n)?n:[n]).map(i=>Mg[i]):void 0;return e.map(n=>Ot(n)?{name:n}:{name:n.name,type:n.type,required:n.required,default:pt(n.default)?t.__parseExpression(n.default):n.default}).reduce((n,i)=>(n[i.name]={type:r(i.type),required:i.required,default:i.default},n),{})}function l0(e,t,r){return e.reactive(Object.keys(t||{}).reduce((n,i)=>{let o=t[i];return pt(o)?o=r.__parseExpression(o):rr(o)&&(o=r.__parseFunction(o)),n[i]=o,n},{}))}function f0(e,t,r){return Object.entries(t!=null?t:{}).reduce((n,[i,o])=>(n[i]=e.computed(r.__parseFunction(o)),n),{})}function h0(e,t){return Object.entries(e!=null?e:{}).reduce((r,[n,i])=>(r[n]=t.__parseFunction(i),r),{})}function p0(e,t=[],r){return t.reduce((n,i)=>{var u;const{name:o,from:s}=i||{};i.default;const a=pt(s)?r.__parseExpression(s)||o:s!=null?s:o,c=pt(i.default)?r.__parseExpression(i.default):(u=i.default)!=null?u:null;return n[o]=e.inject(a,c),n},{})}function d0(e,t){return Object.keys(e).reduce((r,n)=>{const i=e[n];if(i.type==="mock")r[n]=o0(i);else if(i.ref){const o=t.$apis[i.ref],s=rr(i.transform)?i.transform.value?t.__parseFunction(i.transform):void 0:i.transform;r[n]=(...a)=>M(this,null,function*(){const c=yield o.apply(t,a);return s?s(c):c})}return r},{})}function m0(e,t=[],r){t.forEach(n=>{e.watch(r.__parseExpression(n.source),r.__parseFunction(n.handler),{deep:n.deep,immediate:n.immediate})})}function g0(e,t){return Object.entries(e!=null?e:{}).reduce((r,[n,i])=>(r[n]=t.__parseFunction(i),r),{})}let Er=[],Jt={};const y0=e=>e;function Ks(r){return M(this,arguments,function*(e,t=window){const{urls:n=[],library:i}=e,o=n.filter(a=>hn(a));if(o.length===0||!i)return null;const s=n.filter(a=>fn(a));return s.length&&Wg(s,t),yield Kg(o,i,t).catch(a=>(console.warn("loadScriptUrl error",o,i,a),null))})}function Wr(e){const{getDsl:t,getDslByUrl:r,options:n}=e;return n.window&&(Er.forEach(i=>{delete n.window[i]}),Er=[]),(i,o,s=ze)=>{if(!o||typeof o=="string")return i;if(o.type==="Schema"&&o.id)return s.defineAsyncComponent(()=>M(this,null,function*(){const a=Jt[o.id]||(yield t(o.id));return a&&(a.name=i,Jt[o.id]=a),a?zr(et(V({},n),{Vue:s,dsl:Gn(a),mode:tt.Runtime,loader:Wr(e)})).renderer:null}));if(o.type==="UrlSchema"&&o.url)return s.defineAsyncComponent(()=>M(this,null,function*(){const a=Jt[o.url]||(yield r(o.url));return a&&(a.name=i,Jt[o.url]=a),a?zr(et(V({},n),{Vue:s,dsl:Gn(a),mode:tt.Runtime,loader:Wr(e)})).renderer:null}));if(o.type==="Plugin"){let a=o.library?Jt[o.library]:null;return a||(o.library&&Er.push(o.library),a=Jt[o.library||Symbol()]=s.defineAsyncComponent(()=>M(this,null,function*(){return(yield Ks(o,n.window))||(console.warn("getPlugin result is null",o),null)})),a)}return i}}function qe(e,t,r=ze,n=y0){var m;if(!e||!e.name||e.invisible)return null;const i=(m=r.getCurrentInstance())==null?void 0:m.appContext,{id:o=null,directives:s=[]}=e,{vIf:a,vFor:c,vShow:u,vModels:l,vBind:f,vHtml:p,others:h}=b0(s);if(a&&!w0(a,t))return null;const d=b=>{var R,k,_,T;const E=b.$components,y=(()=>{var D,P,j,C;if(e.name==="component")return _0(b,(D=e.props)==null?void 0:D.is);if(e.name==="slot")return e.name;const F=n(e.name,e.from,r);return Ot(F)?Yg(F)||Gg(F)?F:(C=(j=E[F])!=null?j:(P=i==null?void 0:i.app)==null?void 0:P.component(F))!=null?C:F:F})(),v=E0(o,(R=e.props)!=null?R:{},b),w=S0(r,(k=e.events)!=null?k:{},b);if(e.name==="slot")return x0(r,e,v,b,n);f&&Object.assign(v,b.__parseExpression(f.value)),u&&(v.style=Object.assign((_=v.style)!=null?_:{},A0(u,b))),p&&Object.assign(v,R0(p,b)),l.forEach(F=>{Object.assign(v,O0(r,F,b))});const S=$0(r,(T=e.children)!=null?T:[],b,n,e);let g=r.createVNode(y,V(V({},v),w),S);const x=i?v0(i,h,b):[];return x.length&&(g=r.withDirectives(g,x)),g};return c?B0(c,d,t):d(t)}function v0(e,t,r){const n=e.app;return t.map(i=>{const o=typeof i.name=="string"?n.directive(i.name):r.__parseExpression(i.name);if(!o)return null;const s=[o];return i.value&&s.push(r.__parseExpression(i.value)),i.arg&&s.push(i.arg),i.modifiers&&s.push(i.modifiers),s}).filter(i=>!!i)}function b0(e=[]){const t=e.find(c=>Ct(c.name)==="vIf"),r=e.find(c=>Ct(c.name)==="vFor"),n=e.find(c=>Ct(c.name)==="vShow"),i=e.find(c=>Ct(c.name)==="vBind"),o=e.find(c=>Ct(c.name)==="vHtml"),s=e.filter(c=>Ct(c.name)==="vModel"),a=e.filter(c=>!Fg.includes(Ct(c.name)));return{vIf:t,vFor:r,vShow:n,vModels:s,vBind:i,others:a,vHtml:o}}function w0(e,t){return!!t.__parseExpression(e.value)}function _0(e,t){return t?pt(t)?e.__parseExpression(t):t:"div"}function E0(e,t,r){const n=Kr(t,r);return n.ref=r.__ref(e,n.ref),n}function Kr(e,t){return pt(e)?t.__parseExpression(e):rr(e)?t.__parseFunction(e):Array.isArray(e)?e.map(r=>Kr(r,t)):typeof e=="object"?Object.keys(e||{}).reduce((r,n)=>{let i=e[n];return r[n]=Kr(i,t),r},{}):e}function S0(e,t,r){const n=["passive","capture","once"],i={capture:"Capture",once:"Once",passive:"OnceCapture"};return Object.keys(t||{}).reduce((o,s)=>{const a=t[s],c=Js(a.modifiers),u=c.find(p=>n.includes(p)),l="on"+xo(s)+(u&&i[u]||""),f=r.__parseFunction(a.handler);return f&&(o[l]=e.withModifiers(f,c)),o},{})}function Js(e={},t=!1){const r=Object.keys(e);return t?r.map(n=>"."+n):r}function x0(e,t,r,n,i){var c;const{children:o}=t,s=T0(t,n),a=(c=n.$slots)==null?void 0:c[s.name];return a?a(r):o?Ot(o)?e.createTextVNode(o):pt(o)?e.createTextVNode(zs(n.__parseExpression(o))):Array.isArray(o)?o.map(u=>qe(u,n,e,i)):null:null}function T0(e,t){const{props:r}=e,n=(r==null?void 0:r.name)||"default";return{name:pt(n)?t.__parseExpression(n):n,params:[]}}function A0(e,t){return t.__parseExpression(e.value)?{}:{display:"none"}}function R0(e,t){return{innerHTML:t.__parseExpression(e.value)||""}}function O0(e,t,r){var a;const n={type:"JSFunction",value:(a=t.value)!=null&&a.value?`(v) => {
69
69
  ${t.value.value} = v;
70
- }`:"(v) => {}"},i=r.__parseFunction(n),o=Js(pt(t.modifiers)?r.__parseExpression(t.modifiers):t.modifiers),s=pt(t.arg)?r.__parseExpression(t.arg):t.arg||"modelValue";return{[s]:r.__parseExpression(t.value),[`onUpdate:${s}`]:o.length&&i?e.withModifiers(i,o):i}}function $0(e,t,r,n,i){if(!t)return null;if(Ot(t))return{default:()=>t};if(pt(t))return{default:()=>zs(r.__parseExpression(t))};if(Array.isArray(t)&&t.length>0){const o=j0(t),s=a=>!a||!i?{}:i!=null&&i.id&&Object.keys(a).length?{[`scope_${i.id}`]:a}:{};return Object.entries(o).reduce((a,[c,{nodes:u,params:l}])=>(a[c]=f=>{const p=l.length?wd(f!=null?f:{},l):s(f);return u.map(h=>qe(h,r.__clone(p),e,n))},a),{})}return null}function j0(e){const t={default:{params:[],nodes:[]}};for(const r of e){const n=D0(r.slot),i=n.name;t[i]?(t[i].nodes.push(r),t[i].params=t[i].params.concat(n.params)):t[i]={nodes:[r],params:n.params}}return t}function D0(e="default"){return Ot(e)?{name:e,params:[]}:V({params:[]},e)}function B0(e,t,r){const{value:n,iterator:i}=e,{item:o="item",index:s="index"}=i||{};let a=r.__parseExpression(n)||[];return Number.isInteger(a)&&(a=new Array(a).fill(!0).map((c,u)=>u+1)),Array.isArray(a)?a.map((c,u)=>t(r.__clone({[o]:c,[s]:u}))):(console.warn("[vForRender]:",`${n==null?void 0:n.value} is not a Arrary`),[])}const Vi=zi({name:"VtjPageContainer",setup(){return M(this,null,function*(){const e=P0(),t=aa(),r=t.params.id,n=r?e.getPage(r):e.getHomepage(),i=n?yield e.getRenderComponent(n.id):null,o=oa(Symbol());if(n){Object.assign(t.meta,n.meta||{},{cache:n.cache});const{useTitle:s}=e==null?void 0:e.adapter;s&&s(n.title||"VTJ")}return{provider:e,component:i,file:n,query:t.query,meta:t.meta,sid:o,route:t}})},render(){const{component:e,query:t,sid:r}=this;return e?Sr(e,et(V({},t),{key:r})):Sr("div","页面不存在")},activated(){this.meta.cache===!1&&(this.sid=Symbol())}}),C0=zi({name:"VtjStartupContainer",render(){return Sr("div","page not found!")}}),Ys=Symbol("Provider");class N0 extends Cd{constructor(r){super();z(this,"mode");z(this,"globals",{});z(this,"modules",{});z(this,"adapter",{request:Lr,jsonp:qs});z(this,"apis",{});z(this,"dependencies",{});z(this,"materials",{});z(this,"library",{});z(this,"service");z(this,"project",null);z(this,"components",{});z(this,"nodeEnv","development");z(this,"router",null);z(this,"materialPath","./");z(this,"urlDslCaches",{});this.options=r;const{service:n,mode:i=tt.Raw,dependencies:o,materials:s,project:a={},adapter:c={},globals:u={},modules:l={},router:f=null,materialPath:p="./",nodeEnv:h="development"}=r;this.mode=i,this.modules=l,this.service=n,this.router=f,this.materialPath=p,this.nodeEnv=h,o&&(this.dependencies=o),s&&(this.materials=s),Object.assign(this.globals,u),Object.assign(this.adapter,c);const{access:d,request:m}=this.adapter;d&&d.connect({mode:i,router:f,request:m}),a&&i!==tt.Design?this.load(a):this.project=a}createMock(r){return(...n)=>M(this,null,function*(){var o;let i={};if(r)try{i=yield r.apply(r,n)}catch(s){Qt.warn("模拟数据模版异常",s)}return(o=ge())==null?void 0:o.mock(i)})}load(r){return M(this,null,function*(){const n=this.modules[`.vtj/projects/${r.id}.json`]||this.modules[`/src/.vtj/projects/${r.id}.json`];if(this.project=n?yield n():yield this.service.init(r),!this.project)throw new Error("project is null");const{apis:i=[],meta:o=[]}=this.project,s=window;s&&(s.CKEDITOR_VERSION=void 0),this.mode===tt.Raw?yield this.loadDependencies(s):yield this.loadAssets(s),this.initMock(s),this.apis=n0(i,o,this.adapter),Ws(s),i0(i,s),r.platform!=="uniapp"&&this.initRouter(),this.triggerReady()})}initMock(r){const n=ge(r);n&&n.setup({timeout:"50-500"})}loadDependencies(r){return M(this,null,function*(){const n=Object.entries(this.dependencies);for(const[i,o]of n)r[i]||(r[i]=this.library[i]=yield o())})}loadAssets(r){return M(this,null,function*(){const{dependencies:n=[]}=this.project,{dependencies:i,library:o,components:s,materialPath:a,nodeEnv:c}=this,{libraryExports:u,libraryMap:l,materials:f,materialExports:p,materialMapLibrary:h}=Hg(n,a,c==="development");for(const d of u){const m=i[d],b=r[d];if(b)o[d]=b;else if(m)r[d]=o[d]=yield m();else{const E=l[d]||[];for(const y of E)fn(y)&&(yield zg(d,Fe.append(y,{v:wr}))),hn(y)&&(yield ki(Fe.append(y,{v:wr})));o[d]=r[d]}}if(c==="development"){for(const m of f)yield ki(Fe.append(m,{v:wr}));const d=this.materials||{};for(const m of p){const b=r[h[m]],E=Bd[m];if(E)b&&E.forEach(y=>{s[y]=b[y]});else{const y=d[m]?(yield d[m]()).default:r[m];y&&b&&(y.components||[]).forEach(v=>{s[v.name]=qg(v,b)})}}}})}initRouter(){const{router:r,project:n,options:i,adapter:o}=this;if(!r)return;const s=(n==null?void 0:n.platform)==="uniapp"?"pages":"page",{routeAppendTo:a,pageRouteName:c=s,routeMeta:u}=i,l=a?"":"/",f={path:`${l}${c}/:id`,name:Me,component:Vi},p={path:l,name:_r,component:n!=null&&n.homepage?Vi:o.startupComponent||C0,meta:u};r.hasRoute(Me)&&r.removeRoute(Me),r.hasRoute(_r)&&r.removeRoute(_r),a?(r.addRoute(a,f),r.addRoute(a,p)):(r.addRoute(f),r.addRoute(p))}install(r){const n=r.config.globalProperties.installed||{};for(const[i,o]of Object.entries(this.library))!n[i]&&Jg(o)&&(r.use(o),n[i]=!0);this.options.install&&r.use(this.options.install),this.adapter.access&&r.use(this.adapter.access),r.provide(Ys,this),r.config.globalProperties.$provider=this,r.config.globalProperties.installed=n,this.mode===tt.Design&&(r.config.errorHandler=(i,o,s)=>{const a=o==null?void 0:o.$options.name,c=typeof i=="string"?i:(i==null?void 0:i.message)||(i==null?void 0:i.msg)||"未知错误",u=`[ ${a} ] ${c} ${s}`;console.error("[VTJ Error]:",{err:i,instance:o,info:s},i==null?void 0:i.stack),this.adapter.notify&&this.adapter.notify(u,"组件渲染错误","error")})}getFile(r){const{blocks:n=[]}=this.project||{};return this.getPage(r)||n.find(i=>i.id===r)||null}getPage(r){const{pages:n=[]}=this.project||{},i=(o,s=[])=>{for(const a of s){if(a.id===o)return a;if(a.children&&a.children.length){const c=i(o,a.children);if(c)return c}}};return i(r,n)||null}getHomepage(){const{homepage:r}=this.project||{};return r?this.getPage(r):null}getDsl(r){return M(this,null,function*(){const n=this.modules[`.vtj/files/${r}.json`]||this.modules[`/src/.vtj/files/${r}.json`];return n?yield n():this.service.getFile(r,this.project||void 0).catch(()=>null)})}getDslByUrl(r){return M(this,null,function*(){return this.urlDslCaches[r]||(this.adapter.request?this.urlDslCaches[r]=this.adapter.request.send({url:r,method:"get",settings:{validSuccess:!1,originResponse:!0}}).then(i=>i.data).catch(()=>null):null)})}createDslRenderer(r,n={}){const{library:i,components:o,mode:s,apis:a}=this,c=V({mode:s,Vue:i.Vue,components:o,libs:i,apis:a,window},n),u=Wr({getDsl:l=>M(this,null,function*(){return(yield this.getDsl(l))||null}),getDslByUrl:l=>M(this,null,function*(){return(yield this.getDslByUrl(l))||null}),options:c});return zr(et(V({},c),{dsl:r,loader:u}))}getRenderComponent(r,n){return M(this,null,function*(){var c;const i=this.getFile(r);if(!i)return Qt.warn(`Can not find file: ${r}`),null;n&&n(i);const o=`.vtj/vue/${r}.vue`,s=this.modules[o]||this.modules[`/src/pages/${r}.vue`];if(s)return(c=yield s())==null?void 0:c.default;const a=yield this.getDsl(i.id);return a?this.createDslRenderer(a).renderer:(Qt.warn(`Can not find dsl: ${r}`),null)})}defineUrlSchemaComponent(r,n){return gn(()=>M(this,null,function*(){const i=yield this.getDslByUrl(r);return i?(i.name=n||i.name,this.createDslRenderer(i).renderer):null}))}definePluginComponent(r){return gn(()=>M(this,null,function*(){return yield Ks(r,window)}))}}function I0(e){const t=new N0(e);return{provider:t,onReady:r=>t.ready(r)}}function P0(e={}){const t=sa(Ys,null);if(!t)throw new Error("Can not find provider");if(t.nodeEnv==="development"){const{id:r,version:n}=e;r&&n&&M(this,null,function*(){const i=yield t.getDsl(r);(i==null?void 0:i.__VERSION__)!==n&&t.adapter.notify&&t.adapter.notify(`[ ${i==null?void 0:i.name} ] 组件源码版本与运行时版本不一致,请重新发布组件`,"版本不一致","warning")})}return t}const Gs={type:"json",validSuccess:!0,originResponse:!1,failMessage:!0,validate:e=>{var t;return((t=e.data)==null?void 0:t.code)===0}},F0=(e,t="/__vtj__/api/:type.json")=>(r,n,i)=>e.send({url:t,method:"post",params:{type:r},query:i,data:{type:r,data:n},settings:Gs}),M0=(e,t="/__vtj__/api/uploader.json")=>(r,n)=>M(void 0,null,function*(){return yield e.send({url:t,method:"post",data:{files:r,projectId:n},settings:et(V({},Gs),{type:"data"})}).then(i=>i&&i[0]?i[0]:null).catch(()=>null)});function k0(e){return cn({settings:{type:"json",validSuccess:!0,originResponse:!1,failMessage:!0,validate:t=>{var r;return((r=t.data)==null?void 0:r.code)===0},showError:t=>{e&&e(t||"未知错误")}}})}class U0{constructor(t=Lr){z(this,"api");z(this,"pluginCaches",{});z(this,"uploader");this.req=t,this.api=F0(t),this.uploader=M0(t)}getExtension(){return M(this,null,function*(){console.log("BaseService.getExtension")})}init(t){return M(this,null,function*(){return console.log("BaseService.init",t),{}})}saveProject(t,r){return M(this,null,function*(){return!!(yield this.api("saveProject",t,{type:r}).catch(()=>!1))})}saveMaterials(t,r){return M(this,null,function*(){return console.log("BaseService.saveMaterials",t,r),!1})}saveFile(t){return M(this,null,function*(){return console.log("BaseService.saveFile",t),!1})}getFile(t){return M(this,null,function*(){return console.log("BaseService.getFile",t),{}})}removeFile(t){return M(this,null,function*(){return console.log("BaseService.removeFile",t),!1})}saveHistory(t){return M(this,null,function*(){return console.log("BaseService.saveHistory",t),!1})}removeHistory(t){return M(this,null,function*(){return console.log("BaseService.removeHistory",t),!1})}getHistory(t){return M(this,null,function*(){return console.log("BaseService.getHistory",t),{}})}getHistoryItem(t,r){return M(this,null,function*(){return console.log("BaseService.getHistoryItem",t,r),{}})}saveHistoryItem(t,r){return M(this,null,function*(){return console.log("BaseService.saveHistoryItem",t,r),!1})}removeHistoryItem(t,r){return M(this,null,function*(){return console.log("BaseService.removeHistoryItem",t,r),!1})}publish(t){return M(this,null,function*(){return!!(yield this.api("publish",t).catch(()=>!1))})}publishFile(t,r){return M(this,null,function*(){return!!(yield this.api("publishFile",{project:t,file:r}).catch(()=>!1))})}genVueContent(t,r){return M(this,null,function*(){return yield this.api("genVueContent",{project:t,dsl:r}).catch(()=>"")})}createRawPage(t){return M(this,null,function*(){return yield this.api("createRawPage",t).catch(()=>"")})}removeRawPage(t){return M(this,null,function*(){return yield this.api("removeRawPage",t).catch(()=>"")})}uploadStaticFile(t,r){return M(this,null,function*(){return yield this.uploader(t,r).catch(()=>null)})}getStaticFiles(t){return M(this,null,function*(){return yield this.api("getStaticFiles",t).catch(()=>[])})}removeStaticFile(t,r){return M(this,null,function*(){return yield this.api("removeStaticFile",{name:t,projectId:r}).catch(()=>"")})}clearStaticFiles(t){return M(this,null,function*(){return yield this.api("clearStaticFiles",t).catch(()=>"")})}getPluginMaterial(t){return M(this,null,function*(){const{urls:r=[]}=t,n=r.filter(o=>Lg(o))[0];return n?this.pluginCaches[n]||(this.pluginCaches[n]=Lr.send({url:n,method:"get",settings:{validSuccess:!1,originResponse:!0}}).then(o=>o.data).catch(()=>null)):null})}genSource(t){return M(this,null,function*(){return console.log("BaseService.genSource",t),""})}}new Us({type:"local",expired:0,prefix:"__VTJ_"});class L0 extends U0{constructor(){super(...arguments);z(this,"getFileCaches",{})}getExtension(){return M(this,null,function*(){return yield this.api("getExtension",{}).catch(()=>{})})}init(r){return M(this,null,function*(){return(yield this.api("init",r).catch(()=>null))||{}})}saveProject(r,n){return M(this,null,function*(){return!!(yield this.api("saveProject",r,{type:n}).catch(()=>!1))})}saveMaterials(r,n){return M(this,null,function*(){return!!(yield this.api("saveMaterials",{project:r,materials:vd(n)}).catch(()=>!1))})}saveFile(r){return M(this,null,function*(){return!!(yield this.api("saveFile",r).catch(()=>!1))})}getFile(r){return M(this,null,function*(){return this.getFileCaches[r]||(this.getFileCaches[r]=this.api("getFile",r).catch(()=>null)).finally(()=>{delete this.getFileCaches[r]})})}removeFile(r){return M(this,null,function*(){return!!(yield this.api("removeFile",r).catch(()=>!1))})}saveHistory(r){return M(this,null,function*(){return!!(yield this.api("saveHistory",r).catch(()=>!1))})}removeHistory(r){return M(this,null,function*(){return!!(yield this.api("removeHistory",r).catch(()=>!1))})}getHistory(r){return M(this,null,function*(){return(yield this.api("getHistory",r).catch(()=>null))||{}})}getHistoryItem(r,n){return M(this,null,function*(){return(yield this.api("getHistoryItem",{fId:r,id:n}).catch(()=>null))||{}})}saveHistoryItem(r,n){return M(this,null,function*(){return!!(yield this.api("saveHistoryItem",{fId:r,item:n}).catch(()=>!1))})}removeHistoryItem(r,n){return M(this,null,function*(){return!!(yield this.api("removeHistoryItem",{fId:r,ids:n}).catch(()=>!1))})}}/**!
70
+ }`:"(v) => {}"},i=r.__parseFunction(n),o=Js(pt(t.modifiers)?r.__parseExpression(t.modifiers):t.modifiers),s=pt(t.arg)?r.__parseExpression(t.arg):t.arg||"modelValue";return{[s]:r.__parseExpression(t.value),[`onUpdate:${s}`]:o.length&&i?e.withModifiers(i,o):i}}function $0(e,t,r,n,i){if(!t)return null;if(Ot(t))return{default:()=>t};if(pt(t))return{default:()=>zs(r.__parseExpression(t))};if(Array.isArray(t)&&t.length>0){const o=j0(t),s=a=>!a||!i?{}:i!=null&&i.id&&Object.keys(a).length?{[`scope_${i.id}`]:a}:{};return Object.entries(o).reduce((a,[c,{nodes:u,params:l}])=>(a[c]=f=>{const p=l.length?wd(f!=null?f:{},l):s(f);return u.map(h=>qe(h,r.__clone(p),e,n))},a),{})}return null}function j0(e){const t={default:{params:[],nodes:[]}};for(const r of e){const n=D0(r.slot),i=n.name;t[i]?(t[i].nodes.push(r),t[i].params=t[i].params.concat(n.params)):t[i]={nodes:[r],params:n.params}}return t}function D0(e="default"){return Ot(e)?{name:e,params:[]}:V({params:[]},e)}function B0(e,t,r){const{value:n,iterator:i}=e,{item:o="item",index:s="index"}=i||{};let a=r.__parseExpression(n)||[];return Number.isInteger(a)&&(a=new Array(a).fill(!0).map((c,u)=>u+1)),Array.isArray(a)?a.map((c,u)=>t(r.__clone({[o]:c,[s]:u}))):(console.warn("[vForRender]:",`${n==null?void 0:n.value} is not a Arrary`),[])}const Vi=zi({name:"VtjPageContainer",setup(){return M(this,null,function*(){const e=P0(),t=aa(),r=t.params.id,n=r?e.getPage(r):e.getHomepage(),i=n?yield e.getRenderComponent(n.id):null,o=oa(Symbol());if(n){Object.assign(t.meta,n.meta||{},{cache:n.cache});const{useTitle:s}=e==null?void 0:e.adapter;s&&s(n.title||"VTJ")}return{provider:e,component:i,file:n,query:t.query,meta:t.meta,sid:o,route:t}})},render(){const{component:e,query:t,sid:r}=this;return e?Sr(e,et(V({},t),{key:r})):Sr("div","页面不存在")},activated(){this.meta.cache===!1&&(this.sid=Symbol())}}),C0=zi({name:"VtjStartupContainer",render(){return Sr("div","page not found!")}}),Ys=Symbol("Provider");class N0 extends Cd{constructor(r){super();z(this,"mode");z(this,"globals",{});z(this,"modules",{});z(this,"adapter",{request:Lr,jsonp:qs});z(this,"apis",{});z(this,"dependencies",{});z(this,"materials",{});z(this,"library",{});z(this,"service");z(this,"project",null);z(this,"components",{});z(this,"nodeEnv","development");z(this,"router",null);z(this,"materialPath","./");z(this,"urlDslCaches",{});this.options=r;const{service:n,mode:i=tt.Raw,dependencies:o,materials:s,project:a={},adapter:c={},globals:u={},modules:l={},router:f=null,materialPath:p="./",nodeEnv:h="development"}=r;this.mode=i,this.modules=l,this.service=n,this.router=f,this.materialPath=p,this.nodeEnv=h,o&&(this.dependencies=o),s&&(this.materials=s),Object.assign(this.globals,u),Object.assign(this.adapter,c);const{access:d,request:m}=this.adapter;d&&d.connect({mode:i,router:f,request:m}),a&&i!==tt.Design?this.load(a):this.project=a}createMock(r){return(...n)=>M(this,null,function*(){var o;let i={};if(r)try{i=yield r.apply(r,n)}catch(s){Qt.warn("模拟数据模版异常",s)}return(o=ge())==null?void 0:o.mock(i)})}load(r){return M(this,null,function*(){const n=this.modules[`.vtj/projects/${r.id}.json`]||this.modules[`/src/.vtj/projects/${r.id}.json`];if(this.project=n?yield n():yield this.service.init(r),!this.project)throw new Error("project is null");const{apis:i=[],meta:o=[]}=this.project,s=window;s&&(s.CKEDITOR_VERSION=void 0),this.mode===tt.Raw?yield this.loadDependencies(s):yield this.loadAssets(s),this.initMock(s),this.apis=n0(i,o,this.adapter),Ws(s),i0(i,s),r.platform!=="uniapp"&&this.initRouter(),this.triggerReady()})}initMock(r){const n=ge(r);n&&n.setup({timeout:"50-500"})}loadDependencies(r){return M(this,null,function*(){const n=Object.entries(this.dependencies);for(const[i,o]of n)r[i]||(r[i]=this.library[i]=yield o())})}loadAssets(r){return M(this,null,function*(){const{dependencies:n=[]}=this.project,{dependencies:i,library:o,components:s,materialPath:a,nodeEnv:c}=this,{libraryExports:u,libraryMap:l,materials:f,materialExports:p,materialMapLibrary:h}=Hg(n,a,c==="development");for(const d of u){const m=i[d],b=r[d];if(b)o[d]=b;else if(m)r[d]=o[d]=yield m();else{const E=l[d]||[];for(const y of E)fn(y)&&(yield zg(d,Fe.append(y,{v:wr}))),hn(y)&&(yield ki(Fe.append(y,{v:wr})));o[d]=r[d]}}if(c==="development"){for(const m of f)yield ki(Fe.append(m,{v:wr}));const d=this.materials||{};for(const m of p){const b=r[h[m]],E=Bd[m];if(E)b&&E.forEach(y=>{s[y]=b[y]});else{const y=d[m]?(yield d[m]()).default:r[m];y&&b&&(y.components||[]).forEach(v=>{s[v.name]=qg(v,b)})}}}})}initRouter(){const{router:r,project:n,options:i,adapter:o}=this;if(!r)return;const s=(n==null?void 0:n.platform)==="uniapp"?"pages":"page",{routeAppendTo:a,pageRouteName:c=s,routeMeta:u}=i,l=a?"":"/",f={path:`${l}${c}/:id`,name:Me,component:Vi},p={path:l,name:_r,component:n!=null&&n.homepage?Vi:o.startupComponent||C0,meta:u};r.hasRoute(Me)&&r.removeRoute(Me),r.hasRoute(_r)&&r.removeRoute(_r),a?(r.addRoute(a,f),r.addRoute(a,p)):(r.addRoute(f),r.addRoute(p))}install(r){const n=r.config.globalProperties.installed||{};for(const[i,o]of Object.entries(this.library))!n[i]&&Jg(o)&&(r.use(o),n[i]=!0);this.options.install&&r.use(this.options.install),this.adapter.access&&r.use(this.adapter.access),r.provide(Ys,this),r.config.globalProperties.$provider=this,r.config.globalProperties.installed=n,this.mode===tt.Design&&(r.config.errorHandler=(i,o,s)=>{const a=o==null?void 0:o.$options.name,c=typeof i=="string"?i:(i==null?void 0:i.message)||(i==null?void 0:i.msg)||"未知错误",u=`[ ${a} ] ${c} ${s}`;console.error("[VTJ Error]:",{err:i,instance:o,info:s},i==null?void 0:i.stack),this.adapter.notify&&this.adapter.notify(u,"组件渲染错误","error")})}getFile(r){const{blocks:n=[]}=this.project||{};return this.getPage(r)||n.find(i=>i.id===r)||null}getPage(r){const{pages:n=[]}=this.project||{},i=(o,s=[])=>{for(const a of s){if(a.id===o)return a;if(a.children&&a.children.length){const c=i(o,a.children);if(c)return c}}};return i(r,n)||null}getHomepage(){const{homepage:r}=this.project||{};return r?this.getPage(r):null}getDsl(r){return M(this,null,function*(){const n=this.modules[`.vtj/files/${r}.json`]||this.modules[`/src/.vtj/files/${r}.json`];return n?yield n():this.service.getFile(r,this.project||void 0).catch(()=>null)})}getDslByUrl(r){return M(this,null,function*(){return this.urlDslCaches[r]||(this.adapter.request?this.urlDslCaches[r]=this.adapter.request.send({url:r,method:"get",settings:{validSuccess:!1,originResponse:!0}}).then(i=>i.data).catch(()=>null):null)})}createDslRenderer(r,n={}){const{library:i,components:o,mode:s,apis:a}=this,c=V({mode:s,Vue:i.Vue,components:o,libs:i,apis:a,window},n),u=Wr({getDsl:l=>M(this,null,function*(){return(yield this.getDsl(l))||null}),getDslByUrl:l=>M(this,null,function*(){return(yield this.getDslByUrl(l))||null}),options:c});return zr(et(V({},c),{dsl:r,loader:u}))}getRenderComponent(r,n){return M(this,null,function*(){var c;const i=this.getFile(r);if(!i)return Qt.warn(`Can not find file: ${r}`),null;n&&n(i);const o=`.vtj/vue/${r}.vue`,s=this.modules[o]||this.modules[`/src/pages/${r}.vue`];if(s)return(c=yield s())==null?void 0:c.default;const a=yield this.getDsl(i.id);return a?this.createDslRenderer(a).renderer:(Qt.warn(`Can not find dsl: ${r}`),null)})}defineUrlSchemaComponent(r,n){return gn(()=>M(this,null,function*(){const i=yield this.getDslByUrl(r);return i?(i.name=n||i.name,this.createDslRenderer(i).renderer):null}))}definePluginComponent(r){return gn(()=>M(this,null,function*(){return yield Ks(r,window)}))}}function I0(e){const t=new N0(e);return{provider:t,onReady:r=>t.ready(r)}}function P0(e={}){const t=sa(Ys,null);if(!t)throw new Error("Can not find provider");if(t.nodeEnv==="development"){const{id:r,version:n}=e;r&&n&&M(this,null,function*(){const i=yield t.getDsl(r);(i==null?void 0:i.__VERSION__)!==n&&t.adapter.notify&&t.adapter.notify(`[ ${i==null?void 0:i.name} ] 组件源码版本与运行时版本不一致,请重新发布组件`,"版本不一致","warning")})}return t}const Gs={type:"json",validSuccess:!0,originResponse:!1,failMessage:!0,validate:e=>{var t;return((t=e.data)==null?void 0:t.code)===0}},F0=(e,t="/__vtj__/api/:type.json")=>(r,n,i)=>e.send({url:t,method:"post",params:{type:r},query:i,data:{type:r,data:n},settings:Gs}),M0=(e,t="/__vtj__/api/uploader.json")=>(r,n)=>M(void 0,null,function*(){return yield e.send({url:t,method:"post",data:{files:r,projectId:n},settings:et(V({},Gs),{type:"data"})}).then(i=>i&&i[0]?i[0]:null).catch(()=>null)});function k0(e){return cn({settings:{type:"json",validSuccess:!0,originResponse:!1,failMessage:!0,validate:t=>{var r;return((r=t.data)==null?void 0:r.code)===0},showError:t=>{e&&e(t||"未知错误")}}})}class U0{constructor(t=Lr){z(this,"api");z(this,"pluginCaches",{});z(this,"uploader");this.req=t,this.api=F0(t),this.uploader=M0(t)}getExtension(){return M(this,null,function*(){console.log("BaseService.getExtension")})}init(t){return M(this,null,function*(){return console.log("BaseService.init",t),{}})}saveProject(t,r){return M(this,null,function*(){return!!(yield this.api("saveProject",t,{type:r}).catch(()=>!1))})}saveMaterials(t,r){return M(this,null,function*(){return console.log("BaseService.saveMaterials",t,r),!1})}saveFile(t){return M(this,null,function*(){return console.log("BaseService.saveFile",t),!1})}getFile(t){return M(this,null,function*(){return console.log("BaseService.getFile",t),{}})}removeFile(t){return M(this,null,function*(){return console.log("BaseService.removeFile",t),!1})}saveHistory(t){return M(this,null,function*(){return console.log("BaseService.saveHistory",t),!1})}removeHistory(t){return M(this,null,function*(){return console.log("BaseService.removeHistory",t),!1})}getHistory(t){return M(this,null,function*(){return console.log("BaseService.getHistory",t),{}})}getHistoryItem(t,r){return M(this,null,function*(){return console.log("BaseService.getHistoryItem",t,r),{}})}saveHistoryItem(t,r){return M(this,null,function*(){return console.log("BaseService.saveHistoryItem",t,r),!1})}removeHistoryItem(t,r){return M(this,null,function*(){return console.log("BaseService.removeHistoryItem",t,r),!1})}publish(t){return M(this,null,function*(){return!!(yield this.api("publish",t).catch(()=>!1))})}publishFile(t,r){return M(this,null,function*(){return!!(yield this.api("publishFile",{project:t,file:r}).catch(()=>!1))})}genVueContent(t,r){return M(this,null,function*(){return yield this.api("genVueContent",{project:t,dsl:r}).catch(()=>"")})}parseVue(t,r){return M(this,null,function*(){return yield this.api("parseVue",V({project:t},r)).catch(()=>null)})}createRawPage(t){return M(this,null,function*(){return yield this.api("createRawPage",t).catch(()=>"")})}removeRawPage(t){return M(this,null,function*(){return yield this.api("removeRawPage",t).catch(()=>"")})}uploadStaticFile(t,r){return M(this,null,function*(){return yield this.uploader(t,r).catch(()=>null)})}getStaticFiles(t){return M(this,null,function*(){return yield this.api("getStaticFiles",t).catch(()=>[])})}removeStaticFile(t,r){return M(this,null,function*(){return yield this.api("removeStaticFile",{name:t,projectId:r}).catch(()=>"")})}clearStaticFiles(t){return M(this,null,function*(){return yield this.api("clearStaticFiles",t).catch(()=>"")})}getPluginMaterial(t){return M(this,null,function*(){const{urls:r=[]}=t,n=r.filter(o=>Lg(o))[0];return n?this.pluginCaches[n]||(this.pluginCaches[n]=Lr.send({url:n,method:"get",settings:{validSuccess:!1,originResponse:!0}}).then(o=>o.data).catch(()=>null)):null})}genSource(t){return M(this,null,function*(){return console.log("BaseService.genSource",t),""})}}new Us({type:"local",expired:0,prefix:"__VTJ_"});class L0 extends U0{constructor(){super(...arguments);z(this,"getFileCaches",{})}getExtension(){return M(this,null,function*(){return yield this.api("getExtension",{}).catch(()=>{})})}init(r){return M(this,null,function*(){return(yield this.api("init",r).catch(()=>null))||{}})}saveProject(r,n){return M(this,null,function*(){return!!(yield this.api("saveProject",r,{type:n}).catch(()=>!1))})}saveMaterials(r,n){return M(this,null,function*(){return!!(yield this.api("saveMaterials",{project:r,materials:vd(n)}).catch(()=>!1))})}saveFile(r){return M(this,null,function*(){return!!(yield this.api("saveFile",r).catch(()=>!1))})}getFile(r){return M(this,null,function*(){return this.getFileCaches[r]||(this.getFileCaches[r]=this.api("getFile",r).catch(()=>null)).finally(()=>{delete this.getFileCaches[r]})})}removeFile(r){return M(this,null,function*(){return!!(yield this.api("removeFile",r).catch(()=>!1))})}saveHistory(r){return M(this,null,function*(){return!!(yield this.api("saveHistory",r).catch(()=>!1))})}removeHistory(r){return M(this,null,function*(){return!!(yield this.api("removeHistory",r).catch(()=>!1))})}getHistory(r){return M(this,null,function*(){return(yield this.api("getHistory",r).catch(()=>null))||{}})}getHistoryItem(r,n){return M(this,null,function*(){return(yield this.api("getHistoryItem",{fId:r,id:n}).catch(()=>null))||{}})}saveHistoryItem(r,n){return M(this,null,function*(){return!!(yield this.api("saveHistoryItem",{fId:r,item:n}).catch(()=>!1))})}removeHistoryItem(r,n){return M(this,null,function*(){return!!(yield this.api("removeHistoryItem",{fId:r,ids:n}).catch(()=>!1))})}}/**!
71
71
  * Copyright (c) 2025, VTJ.PRO All rights reserved.
72
72
  * @name @vtj/uni
73
73
  * @author CHC chenhuachun1549@dingtalk.com
74
- * @version 0.11.16
74
+ * @version 0.12.0-alpha.0
75
75
  * @license <a href="https://vtj.pro/license.html">MIT License</a>
76
- */const V0=["onLaunch","onShow","onHide","onError","onPageNotFound","onUnhandledRejection","onThemeChange","onPageNotFound","onUniNViewMessage","onExit"],Hi="/pages",H0="VTJ",q0="__UNI__1FC118B",z0="VTJ移动跨端项目",W0="1.0.0",K0="100",J0=!1,Y0={},G0={enable:!1},Z0="3",X0={name:H0,appid:q0,description:z0,versionName:W0,versionCode:K0,transformPx:J0,"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:Y0,"mp-weixin":{appid:"",setting:{urlCheck:!1},usingComponents:!0},"mp-alipay":{usingComponents:!0},"mp-baidu":{usingComponents:!0},"mp-toutiao":{usingComponents:!0},uniStatistics:G0,vueVersion:Z0},Q0=[],ty={navigationBarTextStyle:"black",navigationBarTitleText:"uni-app",navigationBarBackgroundColor:"#F8F8F8",backgroundColor:"#F8F8F8"},ey={autoscan:!0,custom:{"^uni-(.*)":"@dcloudio/uni-ui/lib/uni-$1/uni-$1.vue"}},ry={pages:Q0,globalStyle:ty,easycom:ey};function ny(e){let{manifestJson:t={},pagesJson:r={},routes:n=[]}=e;const i=n.map(o=>{const{path:s,style:a,needLogin:c}=o;return{path:s,style:a,needLogin:c}});return et(V({},e),{manifestJson:Object.assign({},X0,t),pagesJson:Object.assign({},ry,r,{pages:i})})}const Jr={navigationBarBackgroundColor:"backgroundColor",navigationBarTextStyle:"titleColor",navigationBarTitleText:"titleText",navigationStyle:"style",titleImage:"titleImage",titlePenetrate:"titlePenetrate",transparentTitle:"transparentTitle"};function Zs(e){const t={},r={black:"#000000",white:"#ffffff"};for(const n in e)Jr[n]&&(t[Jr[n]]=n==="navigationBarTextStyle"?r[e[n]]||r.black:e[n]);return t}function iy(e){const t={};for(const r in e)Jr[r]||(t[r]=e[r]);return t}function oy(e){var t,r;return((r=(t=e.h5)==null?void 0:t.router)==null?void 0:r.mode)||"hash"}function sy(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 ay(e){const{pagesJson:t={}}=e,{globalStyle:r,pages:n=[]}=t;return!!(r!=null&&r.enablePullDownRefresh||n.find(i=>{var o;return!!((o=i.style)!=null&&o.enablePullDownRefresh)}))}function uy(e){const{pagesJson:t={}}=e,{globalStyle:r,pages:n=[]}=t;let i=!1;return(r==null?void 0:r.navigationStyle)==="custom"?(i=!0,n.find(o=>{var s;return((s=o.style)==null?void 0:s.navigationStyle)==="default"})&&(i=!1)):n.every(o=>{var s;return((s=o.style)==null?void 0:s.navigationStyle)==="custom"})&&(i=!0),i}function cy(e){var a;const t=uy(e),r={navigationBar:!1,navigationBarButtons:!1,navigationBarSearchInput:!1,navigationBarTransparent:!1},{pagesJson:n={}}=e,{globalStyle:i,pages:o=[]}=n;if(t)return r;r.navigationBar=!0;const s=(a=i==null?void 0:i.h5)==null?void 0:a.titleNView;return o.find(c=>{var u,l,f;return!!((f=(l=(u=c.style)==null?void 0:u.h5)==null?void 0:l.titleNView)!=null&&f.buttons.length)})&&(r.navigationBarButtons=!0),(s!=null&&s.searchInput||o.find(c=>{var u,l,f;return!!((f=(l=(u=c.style)==null?void 0:u.h5)==null?void 0:l.titleNView)!=null&&f.searchInput)}))&&(r.navigationBarSearchInput=!0),((s==null?void 0:s.type)==="transparent"||o.find(c=>{var u,l,f;return((f=(l=(u=c.style)==null?void 0:u.h5)==null?void 0:l.titleNView)==null?void 0:f.type)==="transparent"}))&&(r.navigationBarTransparent=!0),r}function ly(e,t=window){var p,h,d,m;const{pagesJson:r={},manifestJson:n={}}=e,{topWindow:i,leftWindow:o,rightWindow:s}=sy(r),{navigationBar:a,navigationBarButtons:c,navigationBarSearchInput:u,navigationBarTransparent:l}=cy(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__:oy(n),__UNI_FEATURE_PAGES__:!!((p=r.pages)!=null&&p.length),__UNI_FEATURE_TABBAR__:!!((d=(h=r.tabBar)==null?void 0:h.list)!=null&&d.length),__UNI_FEATURE_TABBAR_MIDBUTTON__:!!((m=r.tabBar)!=null&&m.midButton),__UNI_FEATURE_TOPWINDOW__:i,__UNI_FEATURE_LEFTWINDOW__:o,__UNI_FEATURE_RIGHTWINDOW__:s,__UNI_FEATURE_RESPONSIVE__:!1,__UNI_FEATURE_NAVIGATIONBAR__:a,__UNI_FEATURE_PULL_DOWN_REFRESH__:ay(e),__UNI_FEATURE_NAVIGATIONBAR_BUTTONS__:c,__UNI_FEATURE_NAVIGATIONBAR_SEARCHINPUT__:u,__UNI_FEATURE_NAVIGATIONBAR_TRANSPARENT__:l};Object.entries(f).forEach(([b,E])=>{t[b]=E})}const fy="4.56";function hy(e,t=window){var f,p;const{pagesJson:r={},manifestJson:n={}}=e,{easycom:i={}}=r,{appid:o="",name:s="",versionCode:a="",versionName:c=""}=n,u=r.globalStyle,l=((f=n.h5)==null?void 0:f.router)||{};t.__uniConfig={easycom:i,globalStyle:et(V({},iy(u)),{navigationBar:Zs(u),isNVue:!1}),compilerVersion:fy,appId:o,appName:s,appVersion:c,appVersionCode:String(a),async:V({loading:"AsyncLoading",error:"AsyncError",delay:200,timeout:6e4,suspensible:!0},((p=n.h5)==null?void 0:p.async)||{}),debug:!1,networkTimeout:V({request:6e4,connectSocket:6e4,uploadFile:6e4,downloadFile:6e4},n.networkTimeout||{}),sdkConfigs:{},nvue:{"flex-direction":"column"},locale:"",fallbackLocale:"",locales:{},router:V({mode:"hash",base:"/",assets:"assets",routerBase:l.base||"/"},l),darkmode:!1,themeConfig:{},tabBar:r.tabBar?V({position:"bottom",color:"#7A7E83",selectedColor:"#3cc51f",borderStyle:"black",blurEffect:"none",fontSize:"10px",iconWidth:"24px",spacing:"3px",height:"50px",backgroundColor:"#ffffff",selectedIndex:0,shown:!0},r.tabBar):void 0}}function py(e,t=window){const{UniServiceJSBridge:r,UniViewJSBridge:n,getApp:i,uni:o,getCurrentPages:s,upx2px:a,setupPage:c}=e;t.UniServiceJSBridge=r,t.UniViewJSBridge=n,t.getApp=i,t.uni=o,t.wx=o,t.getCurrentPages=s,t.upx2px=a,t.__setupPage=u=>c(u)}function dy(e,t,r){const{openBlock:n,createBlock:i,withCtx:o,createVNode:s}=e,{PageComponent:a,setupPage:c,getApp:u}=t;return{mpType:"page",setup(){return M(this,null,function*(){var m,b;const f=((b=(m=u())==null?void 0:m.$route)==null?void 0:b.query)||{},{loader:p,component:h}=r,d=p?yield p(r):h||{};return()=>(n(),i(a,null,{page:o(()=>[s(c(d),Object.assign({},f,{ref:"page"}),null,512)]),_:1}))})}}}function my(e,t,r){var h;const{path:n,style:i={},meta:o={},home:s,id:a}=t,c=((h=e.tabBar)==null?void 0:h.list)||[],u=c.findIndex(d=>{var m;return d.pagePath===n||((m=d.pagePath)==null?void 0:m.endsWith(a))}),l=c[u],f=!!l,p=r===0;return V({isTabBar:f,tabBarIndex:u,isQuit:s!=null?s:p,isEntry:s!=null?s:p,navigationBar:V({type:"default"},Zs(i)),isNVue:!1,route:l?l.pagePath:n},o)}function gy(e,t,r,n,i=window){const o=r.map((s,a)=>{const c=my(n,s,a),u=dy(e,t,s),{path:l}=s;return{path:l,alias:l,meta:c,component:{render(){return e.h(e.Suspense,[e.h(u)])}}}});i.__uniRoutes=o,i.__uniLayout={}}function yy(e,t,r=window){pn(r,String(e),t)}function vy(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 by(e){const t=ny(e),{Vue:r,App:n,UniH5:i,routes:o=[],pagesJson:s={},manifestJson:a={},window:c,css:u=""}=t;if(!i)return r.createApp(n);const{plugin:l,setupApp:f}=i;ly(t,c),hy(t,c),py(i,c),gy(r,i,o,s,c),yy(a.appid||Date.now(),u,c);const p=r.createApp(f(n));return p.use(vy,i),p.use(l),p}function wy(e,t){const r={};return Object.entries(e).forEach(([n,i])=>{V0.includes(n)&&i&&(r[n]=t(i))}),r}function qi(e,t){return()=>M(this,null,function*(){const r=yield e.getDsl(t);if(r){const{renderer:n}=e.createDslRenderer(r);return n}return null})}function _y(n){return M(this,arguments,function*(e,t=!1,r=Hi){var a,c,u;const i=((a=e.project)==null?void 0:a.pages)||[],o=[];for(const l of i){const f=((c=e.project)==null?void 0:c.homepage)===l.id;o.push({id:l.id,path:`${r}/${l.id}`,loader:qi(e,l.id),style:V({navigationBarTitleText:l.title},l.style),needLogin:l.needLogin,home:f})}const s=o.find(l=>!!l.home)||o[0];if(s){const l=r===Hi?"/":r;o.unshift(et(V({},s),{path:l}))}if(t){const l=((u=e.project)==null?void 0:u.blocks)||[];for(const f of l)o.push({id:f.id,path:`${r}/${f.id}`,loader:qi(e,f.id),style:{navigationStyle:"custom"}})}return o})}function Ey(){var e;if((e=window.uni)!=null&&e.showLoading)return window.uni.showLoading({title:"加载中...",mask:!0}),{close:()=>{var t;(t=window.uni)!=null&&t.hideLoading&&window.uni.hideLoading()}}}function Xs(e,t="",r="warning"){var n;(n=window.uni)!=null&&n.showModal&&window.uni.showModal({title:t,content:e,showCancel:!1})}function Sy(e=tt.Runtime){return e===tt.Runtime?Object.assign({}):Object.assign({})}const xy=t0({loading:Ey,notify:Xs}),Ty=new L0(k0(Xs)),Ay=Sy(),{provider:Ry,onReady:Oy}=I0({nodeEnv:"production",mode:tt.Runtime,modules:Ay,materialPath:"../",adapter:xy,service:Ty,dependencies:{Vue:()=>vn(()=>import("./@dcloudio-uni-h5-vue-C36z4qJb.js").then(e=>e.O),__vite__mapDeps([0,1,2]),import.meta.url),VueRouter:()=>vn(()=>import("./vue-router-CxcHTnUo.js"),__vite__mapDeps([3,0,1,2]),import.meta.url)}}),$y=e=>M(void 0,null,function*(){const{Vue:t,UniH5:r}=window,n=e.project;if(!n)return;const i=n.uniConfig||{},o=wy(i,f=>He(f,window,!1,!0)),{manifestJson:s,pagesJson:a,css:c}=i,u=yield _y(e,!0),l=by({Vue:t,App:o,UniH5:r,routes:u,css:c,manifestJson:s,pagesJson:a});l.use(e),l.mount(document.body)});Oy(()=>$y(Ry));
76
+ */const V0=["onLaunch","onShow","onHide","onError","onPageNotFound","onUnhandledRejection","onThemeChange","onPageNotFound","onUniNViewMessage","onExit"],Hi="/pages",H0="VTJ",q0="__UNI__1FC118B",z0="VTJ移动跨端项目",W0="1.0.0",K0="100",J0=!1,Y0={},G0={enable:!1},Z0="3",X0={name:H0,appid:q0,description:z0,versionName:W0,versionCode:K0,transformPx:J0,"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:Y0,"mp-weixin":{appid:"",setting:{urlCheck:!1},usingComponents:!0},"mp-alipay":{usingComponents:!0},"mp-baidu":{usingComponents:!0},"mp-toutiao":{usingComponents:!0},uniStatistics:G0,vueVersion:Z0},Q0=[],ty={navigationBarTextStyle:"black",navigationBarTitleText:"uni-app",navigationBarBackgroundColor:"#F8F8F8",backgroundColor:"#F8F8F8"},ey={autoscan:!0,custom:{"^uni-(.*)":"@dcloudio/uni-ui/lib/uni-$1/uni-$1.vue"}},ry={pages:Q0,globalStyle:ty,easycom:ey};function ny(e){let{manifestJson:t={},pagesJson:r={},routes:n=[]}=e;const i=n.map(o=>{const{path:s,style:a,needLogin:c}=o;return{path:s,style:a,needLogin:c}});return et(V({},e),{manifestJson:Object.assign({},X0,t),pagesJson:Object.assign({},ry,r,{pages:i})})}const Jr={navigationBarBackgroundColor:"backgroundColor",navigationBarTextStyle:"titleColor",navigationBarTitleText:"titleText",navigationStyle:"style",titleImage:"titleImage",titlePenetrate:"titlePenetrate",transparentTitle:"transparentTitle"};function Zs(e){const t={},r={black:"#000000",white:"#ffffff"};for(const n in e)Jr[n]&&(t[Jr[n]]=n==="navigationBarTextStyle"?r[e[n]]||r.black:e[n]);return t}function iy(e){const t={};for(const r in e)Jr[r]||(t[r]=e[r]);return t}function oy(e){var t,r;return((r=(t=e.h5)==null?void 0:t.router)==null?void 0:r.mode)||"hash"}function sy(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 ay(e){const{pagesJson:t={}}=e,{globalStyle:r,pages:n=[]}=t;return!!(r!=null&&r.enablePullDownRefresh||n.find(i=>{var o;return!!((o=i.style)!=null&&o.enablePullDownRefresh)}))}function uy(e){const{pagesJson:t={}}=e,{globalStyle:r,pages:n=[]}=t;let i=!1;return(r==null?void 0:r.navigationStyle)==="custom"?(i=!0,n.find(o=>{var s;return((s=o.style)==null?void 0:s.navigationStyle)==="default"})&&(i=!1)):n.every(o=>{var s;return((s=o.style)==null?void 0:s.navigationStyle)==="custom"})&&(i=!0),i}function cy(e){var a;const t=uy(e),r={navigationBar:!1,navigationBarButtons:!1,navigationBarSearchInput:!1,navigationBarTransparent:!1},{pagesJson:n={}}=e,{globalStyle:i,pages:o=[]}=n;if(t)return r;r.navigationBar=!0;const s=(a=i==null?void 0:i.h5)==null?void 0:a.titleNView;return o.find(c=>{var u,l,f;return!!((f=(l=(u=c.style)==null?void 0:u.h5)==null?void 0:l.titleNView)!=null&&f.buttons.length)})&&(r.navigationBarButtons=!0),(s!=null&&s.searchInput||o.find(c=>{var u,l,f;return!!((f=(l=(u=c.style)==null?void 0:u.h5)==null?void 0:l.titleNView)!=null&&f.searchInput)}))&&(r.navigationBarSearchInput=!0),((s==null?void 0:s.type)==="transparent"||o.find(c=>{var u,l,f;return((f=(l=(u=c.style)==null?void 0:u.h5)==null?void 0:l.titleNView)==null?void 0:f.type)==="transparent"}))&&(r.navigationBarTransparent=!0),r}function ly(e,t=window){var p,h,d,m;const{pagesJson:r={},manifestJson:n={}}=e,{topWindow:i,leftWindow:o,rightWindow:s}=sy(r),{navigationBar:a,navigationBarButtons:c,navigationBarSearchInput:u,navigationBarTransparent:l}=cy(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__:oy(n),__UNI_FEATURE_PAGES__:!!((p=r.pages)!=null&&p.length),__UNI_FEATURE_TABBAR__:!!((d=(h=r.tabBar)==null?void 0:h.list)!=null&&d.length),__UNI_FEATURE_TABBAR_MIDBUTTON__:!!((m=r.tabBar)!=null&&m.midButton),__UNI_FEATURE_TOPWINDOW__:i,__UNI_FEATURE_LEFTWINDOW__:o,__UNI_FEATURE_RIGHTWINDOW__:s,__UNI_FEATURE_RESPONSIVE__:!1,__UNI_FEATURE_NAVIGATIONBAR__:a,__UNI_FEATURE_PULL_DOWN_REFRESH__:ay(e),__UNI_FEATURE_NAVIGATIONBAR_BUTTONS__:c,__UNI_FEATURE_NAVIGATIONBAR_SEARCHINPUT__:u,__UNI_FEATURE_NAVIGATIONBAR_TRANSPARENT__:l};Object.entries(f).forEach(([b,E])=>{t[b]=E})}const fy="4.57";function hy(e,t=window){var f,p;const{pagesJson:r={},manifestJson:n={}}=e,{easycom:i={}}=r,{appid:o="",name:s="",versionCode:a="",versionName:c=""}=n,u=r.globalStyle,l=((f=n.h5)==null?void 0:f.router)||{};t.__uniConfig={easycom:i,globalStyle:et(V({},iy(u)),{navigationBar:Zs(u),isNVue:!1}),compilerVersion:fy,appId:o,appName:s,appVersion:c,appVersionCode:String(a),async:V({loading:"AsyncLoading",error:"AsyncError",delay:200,timeout:6e4,suspensible:!0},((p=n.h5)==null?void 0:p.async)||{}),debug:!1,networkTimeout:V({request:6e4,connectSocket:6e4,uploadFile:6e4,downloadFile:6e4},n.networkTimeout||{}),sdkConfigs:{},nvue:{"flex-direction":"column"},locale:"",fallbackLocale:"",locales:{},router:V({mode:"hash",base:"/",assets:"assets",routerBase:l.base||"/"},l),darkmode:!1,themeConfig:{},tabBar:r.tabBar?V({position:"bottom",color:"#7A7E83",selectedColor:"#3cc51f",borderStyle:"black",blurEffect:"none",fontSize:"10px",iconWidth:"24px",spacing:"3px",height:"50px",backgroundColor:"#ffffff",selectedIndex:0,shown:!0},r.tabBar):void 0}}function py(e,t=window){const{UniServiceJSBridge:r,UniViewJSBridge:n,getApp:i,uni:o,getCurrentPages:s,upx2px:a,setupPage:c}=e;t.UniServiceJSBridge=r,t.UniViewJSBridge=n,t.getApp=i,t.uni=o,t.wx=o,t.getCurrentPages=s,t.upx2px=a,t.__setupPage=u=>c(u)}function dy(e,t,r){const{openBlock:n,createBlock:i,withCtx:o,createVNode:s}=e,{PageComponent:a,setupPage:c,getApp:u}=t;return{mpType:"page",setup(){return M(this,null,function*(){var m,b;const f=((b=(m=u())==null?void 0:m.$route)==null?void 0:b.query)||{},{loader:p,component:h}=r,d=p?yield p(r):h||{};return()=>(n(),i(a,null,{page:o(()=>[s(c(d),Object.assign({},f,{ref:"page"}),null,512)]),_:1}))})}}}function my(e,t,r){var h;const{path:n,style:i={},meta:o={},home:s,id:a}=t,c=((h=e.tabBar)==null?void 0:h.list)||[],u=c.findIndex(d=>{var m;return d.pagePath===n||((m=d.pagePath)==null?void 0:m.endsWith(a))}),l=c[u],f=!!l,p=r===0;return V({isTabBar:f,tabBarIndex:u,isQuit:s!=null?s:p,isEntry:s!=null?s:p,navigationBar:V({type:"default"},Zs(i)),isNVue:!1,route:l?l.pagePath:n},o)}function gy(e,t,r,n,i=window){const o=r.map((s,a)=>{const c=my(n,s,a),u=dy(e,t,s),{path:l}=s;return{path:l,alias:l,meta:c,component:{render(){return e.h(e.Suspense,[e.h(u)])}}}});i.__uniRoutes=o,i.__uniLayout={}}function yy(e,t,r=window){pn(r,String(e),t)}function vy(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 by(e){const t=ny(e),{Vue:r,App:n,UniH5:i,routes:o=[],pagesJson:s={},manifestJson:a={},window:c,css:u=""}=t;if(!i)return r.createApp(n);const{plugin:l,setupApp:f}=i;ly(t,c),hy(t,c),py(i,c),gy(r,i,o,s,c),yy(a.appid||Date.now(),u,c);const p=r.createApp(f(n));return p.use(vy,i),p.use(l),p}function wy(e,t){const r={};return Object.entries(e).forEach(([n,i])=>{V0.includes(n)&&i&&(r[n]=t(i))}),r}function qi(e,t){return()=>M(this,null,function*(){const r=yield e.getDsl(t);if(r){const{renderer:n}=e.createDslRenderer(r);return n}return null})}function _y(n){return M(this,arguments,function*(e,t=!1,r=Hi){var a,c,u;const i=((a=e.project)==null?void 0:a.pages)||[],o=[];for(const l of i){const f=((c=e.project)==null?void 0:c.homepage)===l.id;o.push({id:l.id,path:`${r}/${l.id}`,loader:qi(e,l.id),style:V({navigationBarTitleText:l.title},l.style),needLogin:l.needLogin,home:f})}const s=o.find(l=>!!l.home)||o[0];if(s){const l=r===Hi?"/":r;o.unshift(et(V({},s),{path:l}))}if(t){const l=((u=e.project)==null?void 0:u.blocks)||[];for(const f of l)o.push({id:f.id,path:`${r}/${f.id}`,loader:qi(e,f.id),style:{navigationStyle:"custom"}})}return o})}function Ey(){var e;if((e=window.uni)!=null&&e.showLoading)return window.uni.showLoading({title:"加载中...",mask:!0}),{close:()=>{var t;(t=window.uni)!=null&&t.hideLoading&&window.uni.hideLoading()}}}function Xs(e,t="",r="warning"){var n;(n=window.uni)!=null&&n.showModal&&window.uni.showModal({title:t,content:e,showCancel:!1})}function Sy(e=tt.Runtime){return e===tt.Runtime?Object.assign({}):Object.assign({})}const xy=t0({loading:Ey,notify:Xs}),Ty=new L0(k0(Xs)),Ay=Sy(),{provider:Ry,onReady:Oy}=I0({nodeEnv:"production",mode:tt.Runtime,modules:Ay,materialPath:"../",adapter:xy,service:Ty,dependencies:{Vue:()=>vn(()=>import("./@dcloudio-uni-h5-vue-C36z4qJb.js").then(e=>e.O),__vite__mapDeps([0,1,2]),import.meta.url),VueRouter:()=>vn(()=>import("./vue-router-CxcHTnUo.js"),__vite__mapDeps([3,0,1,2]),import.meta.url)}}),$y=e=>M(void 0,null,function*(){const{Vue:t,UniH5:r}=window,n=e.project;if(!n)return;const i=n.uniConfig||{},o=wy(i,f=>He(f,window,!1,!0)),{manifestJson:s,pagesJson:a,css:c}=i,u=yield _y(e,!0),l=by({Vue:t,App:o,UniH5:r,routes:u,css:c,manifestJson:s,pagesJson:a});l.use(e),l.mount(document.body)});Oy(()=>$y(Ry));
@@ -13,7 +13,7 @@
13
13
  <title></title>
14
14
  <!--preload-links-->
15
15
  <!--app-context-->
16
- <script type="module" crossorigin src="./assets/index-DQVfW5PI.js"></script>
16
+ <script type="module" crossorigin src="./assets/index-BYnYiS7M.js"></script>
17
17
  <link rel="modulepreload" crossorigin href="./assets/vue-BK7aLblh.js">
18
18
  <link rel="modulepreload" crossorigin href="./assets/@dcloudio-uni-shared-VStmjWbh.js">
19
19
  <link rel="modulepreload" crossorigin href="./assets/@dcloudio-uni-h5-vue-C36z4qJb.js">
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vtj/pro",
3
3
  "private": false,
4
- "version": "0.11.16",
4
+ "version": "0.12.0-alpha.0",
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.11.16",
25
- "@vtj/materials": "~0.11.16",
26
- "@vtj/local": "~0.11.16",
27
- "@vtj/designer": "~0.11.16",
28
- "@vtj/renderer": "~0.11.16",
29
- "@vtj/uni": "~0.11.16"
24
+ "@vtj/core": "~0.12.0-alpha.0",
25
+ "@vtj/local": "~0.12.0-alpha.0",
26
+ "@vtj/designer": "~0.12.0-alpha.0",
27
+ "@vtj/renderer": "~0.12.0-alpha.0",
28
+ "@vtj/materials": "~0.12.0-alpha.0",
29
+ "@vtj/uni": "~0.12.0-alpha.0"
30
30
  },
31
31
  "devDependencies": {
32
32
  "vue": "~3.5.5",
33
33
  "vue-router": "~4.5.0",
34
- "@vtj/cli": "~0.11.2",
35
- "@vtj/charts": "~0.11.16",
36
- "@vtj/icons": "~0.11.16",
37
- "@vtj/ui": "~0.11.16",
38
- "@vtj/utils": "~0.11.16"
34
+ "@vtj/charts": "~0.12.0-alpha.0",
35
+ "@vtj/cli": "~0.12.0-alpha.0",
36
+ "@vtj/icons": "~0.12.0-alpha.0",
37
+ "@vtj/utils": "~0.12.0-alpha.0",
38
+ "@vtj/ui": "~0.12.0-alpha.0"
39
39
  },
40
40
  "exports": {
41
41
  "./vite": {
@@ -63,9 +63,9 @@
63
63
  "vtj": {
64
64
  "name": "VTJ.PRO",
65
65
  "platform": "web",
66
- "remote": "https://lcdp.vtj.pro",
66
+ "remote": "http://localhost:8000",
67
67
  "__ACCESS__": {
68
- "auth": "https://lcdp.vtj.pro/auth.html",
68
+ "auth": "http://localhost:8000/auth.html",
69
69
  "storageKey": "RRO_IDE_ACCESS_STORAGE__",
70
70
  "privateKey": "MIIBOgIBAAJBAKoIzmn1FYQ1YOhOBw9EhABxZ+PySAIaydI+zdhoKflrdgJ4A5E4/5gbQmRpk09hPWG8nvX7h+l/QLU8kXxAIBECAwEAAQJAAlgpxQY6sByLsXqzJcthC8LSGsLf2JEJkHwlnpwFqlEV8UCkoINpuZ2Wzl+aftURu5rIfAzRCQBvHmeOTW9/zQIhAO5ufWDmnSLyfAAsNo5JRNpVuLFCFodR8Xm+ulDlosR/AiEAtpAltyP9wmCABKG/v/hrtTr3mcvFNGCjoGa9bUAok28CIHbrVs9w1ijrBlvTsXYwJw46uP539uKRRT4ymZzlm9QjAiB+1KH/G9f9pEEL9rtaSOG7JF5D0JcOjlze4MGVFs+ZrQIhALKOUFBNr2zEsyJIjw2PlvEucdlG77UniszjXTROHSPd"
71
71
  }