@melt-js/libs-vue2-leva 2026.11.6-2 → 2026.11.6-3
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.
- package/README.md +14 -3
- package/hel_dist/css/chunk-226b2837.59eea4cb.css +1 -0
- package/hel_dist/hel-meta.json +16 -16
- package/hel_dist/index.html +1 -1
- package/hel_dist/js/{app~493df0b3.6cc715a1.js → app~493df0b3.fd0e3f4a.js} +3 -3
- package/hel_dist/js/{app~493df0b3.6cc715a1.js.map → app~493df0b3.fd0e3f4a.js.map} +1 -1
- package/hel_dist/js/chunk-226b2837.d16386b6.js +2 -0
- package/hel_dist/js/chunk-226b2837.d16386b6.js.map +1 -0
- package/package.json +2 -1
- package/scripts/gen-schema.mjs +121 -1
- package/src/PropsPlayground.vue +77 -4
- package/hel_dist/css/chunk-286df66f.4a8987c2.css +0 -1
- package/hel_dist/js/chunk-286df66f.da323672.js +0 -2
- package/hel_dist/js/chunk-286df66f.da323672.js.map +0 -1
package/README.md
CHANGED
|
@@ -23,12 +23,23 @@ const { PropsPlayground } = await import('@melt-js/libs-vue2-leva');
|
|
|
23
23
|
```
|
|
24
24
|
|
|
25
25
|
```vue
|
|
26
|
-
<props-playground
|
|
26
|
+
<props-playground
|
|
27
|
+
:components="components"
|
|
28
|
+
:schemas="schemas"
|
|
29
|
+
:presets="presets"
|
|
30
|
+
:listeners="listeners"
|
|
31
|
+
:stage-classes="stageClasses"
|
|
32
|
+
:stage-styles="stageStyles"
|
|
33
|
+
:slot-html="slotHtml"
|
|
34
|
+
/>
|
|
27
35
|
```
|
|
28
36
|
|
|
29
37
|
- `components`:`{ 组件名: 组件 }`
|
|
30
38
|
- `schemas`:`{ 组件名: propsSchema.json 的内容 }`
|
|
31
|
-
- `
|
|
39
|
+
- `presets`:可选,`{ 组件名: { items: [...] } }`,面板不生成控件的复杂 props / 插槽配套数据;同时会作为面板的初始值
|
|
40
|
+
- `listeners`:可选,`{ 组件名: { select: (item) => ... } }`,透传给组件的 `v-on`
|
|
41
|
+
- `stageClasses` / `stageStyles`:可选,`{ 组件名: 'is-dark' }` / `{ 组件名: { height: '480px' } }`
|
|
42
|
+
- `slotHtml`:可选,`{ 组件名: { default: '<p>内容</p>', title: '标题' } }`,支持 `default` / `title` / `action` / `footer` / `filters` / `actions` / `start` / `end` / `tool` / `rightTool`
|
|
32
43
|
|
|
33
44
|
`PropsPanel` 也可以单独用:`:schema` + `v-model`。
|
|
34
45
|
|
|
@@ -60,7 +71,7 @@ vue2-leva-gen-schema --check # CI:schema 与源码不一致时退出码 1
|
|
|
60
71
|
|
|
61
72
|
约定:
|
|
62
73
|
|
|
63
|
-
-
|
|
74
|
+
- 优先用带 `@description` 的 JSDoc;没有 JSDoc 时,生成器会把 props 上方的 `// 注释`(没有注释时用属性名)补成 `@description`,方便老组件直接接入
|
|
64
75
|
- `index.vue` 写到同目录 `propsSchema.json`,单文件组件写 `Foo.propsSchema.json`
|
|
65
76
|
- 字符串字面量联合(`'a' | 'b'`)会生成下拉 `options`
|
|
66
77
|
- Vue 3 的 props 请用对象形式 `defineProps({ ... })`(`withDefaults(defineProps<...>())` 解析不到 props)
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.props-panel[data-v-7cfac513]{width:100%;min-width:0}.props-panel__pane[data-v-7cfac513]{width:100%}.props-panel__hint[data-v-7cfac513]{margin:8px 0 0;color:#667085;font-size:12px;line-height:1.5}.props-playground[data-v-14918ddb]{display:flex;flex-direction:column;gap:12px;min-width:0}.props-playground__bar[data-v-14918ddb]{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:space-between}.props-playground__tabs[data-v-14918ddb]{display:flex;flex-wrap:wrap;gap:6px}.props-playground__action[data-v-14918ddb],.props-playground__tab[data-v-14918ddb]{padding:6px 12px;border:1px solid #d0d5dd;border-radius:999px;background:#fff;color:#344054;font-family:inherit;font-size:12px;font-weight:600;line-height:1.4;cursor:pointer;transition:color .2s,background-color .2s,border-color .2s}.props-playground__action[data-v-14918ddb]:hover,.props-playground__tab[data-v-14918ddb]:hover{border-color:#2563eb;color:#2563eb}.props-playground__tab.is-active[data-v-14918ddb]{border-color:#2563eb;background:#2563eb;color:#fff}.props-playground__body[data-v-14918ddb]{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:16px;align-items:start}.props-playground__stage[data-v-14918ddb]{height:640px;overflow:auto;border:1px solid #d0d5dd;border-radius:12px;background:#fff}.props-playground__stage.is-dark[data-v-14918ddb]{background:#0b1220}.props-playground__panel[data-v-14918ddb]{position:sticky;top:16px}.props-playground__empty[data-v-14918ddb]{margin:0;padding:24px;color:#667085;font-size:13px}@media (max-width:900px){.props-playground__body[data-v-14918ddb]{grid-template-columns:1fr}.props-playground__stage[data-v-14918ddb]{height:480px}.props-playground__panel[data-v-14918ddb]{position:static}}
|
package/hel_dist/hel-meta.json
CHANGED
|
@@ -3,25 +3,25 @@
|
|
|
3
3
|
"name": "libs-vue2-leva",
|
|
4
4
|
"app_group_name": "libs-vue2-leva",
|
|
5
5
|
"git_repo_url": "",
|
|
6
|
-
"online_version": "2026.11.6-
|
|
7
|
-
"build_version": "2026.11.6-
|
|
6
|
+
"online_version": "2026.11.6-3",
|
|
7
|
+
"build_version": "2026.11.6-3"
|
|
8
8
|
},
|
|
9
9
|
"version": {
|
|
10
10
|
"plugin_ver": "4.3.20",
|
|
11
11
|
"extract_mode": "build",
|
|
12
12
|
"sub_app_name": "libs-vue2-leva",
|
|
13
|
-
"sub_app_version": "2026.11.6-
|
|
13
|
+
"sub_app_version": "2026.11.6-3",
|
|
14
14
|
"src_map": {
|
|
15
|
-
"webDirPath": "https://unpkg.com/@melt-js/libs-vue2-leva@2026.11.6-
|
|
16
|
-
"htmlIndexSrc": "https://unpkg.com/@melt-js/libs-vue2-leva@2026.11.6-
|
|
15
|
+
"webDirPath": "https://unpkg.com/@melt-js/libs-vue2-leva@2026.11.6-3/hel_dist",
|
|
16
|
+
"htmlIndexSrc": "https://unpkg.com/@melt-js/libs-vue2-leva@2026.11.6-3/hel_dist/index.html",
|
|
17
17
|
"extractMode": "all",
|
|
18
18
|
"iframeSrc": "",
|
|
19
19
|
"chunkCssSrcList": [
|
|
20
|
-
"https://unpkg.com/@melt-js/libs-vue2-leva@2026.11.6-
|
|
20
|
+
"https://unpkg.com/@melt-js/libs-vue2-leva@2026.11.6-3/hel_dist/css/chunk-226b2837.59eea4cb.css"
|
|
21
21
|
],
|
|
22
22
|
"chunkJsSrcList": [
|
|
23
|
-
"https://unpkg.com/@melt-js/libs-vue2-leva@2026.11.6-
|
|
24
|
-
"https://unpkg.com/@melt-js/libs-vue2-leva@2026.11.6-
|
|
23
|
+
"https://unpkg.com/@melt-js/libs-vue2-leva@2026.11.6-3/hel_dist/js/app~493df0b3.fd0e3f4a.js",
|
|
24
|
+
"https://unpkg.com/@melt-js/libs-vue2-leva@2026.11.6-3/hel_dist/js/chunk-226b2837.d16386b6.js"
|
|
25
25
|
],
|
|
26
26
|
"staticCssSrcList": [],
|
|
27
27
|
"staticJsSrcList": [
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"tag": "link",
|
|
42
42
|
"append": true,
|
|
43
43
|
"attrs": {
|
|
44
|
-
"href": "https://unpkg.com/@melt-js/libs-vue2-leva@2026.11.6-
|
|
44
|
+
"href": "https://unpkg.com/@melt-js/libs-vue2-leva@2026.11.6-3/hel_dist/css/chunk-226b2837.59eea4cb.css",
|
|
45
45
|
"rel": "prefetch"
|
|
46
46
|
}
|
|
47
47
|
},
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"tag": "link",
|
|
50
50
|
"append": true,
|
|
51
51
|
"attrs": {
|
|
52
|
-
"href": "https://unpkg.com/@melt-js/libs-vue2-leva@2026.11.6-
|
|
52
|
+
"href": "https://unpkg.com/@melt-js/libs-vue2-leva@2026.11.6-3/hel_dist/js/chunk-226b2837.d16386b6.js",
|
|
53
53
|
"rel": "prefetch"
|
|
54
54
|
}
|
|
55
55
|
},
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"tag": "link",
|
|
58
58
|
"append": true,
|
|
59
59
|
"attrs": {
|
|
60
|
-
"href": "https://unpkg.com/@melt-js/libs-vue2-leva@2026.11.6-
|
|
60
|
+
"href": "https://unpkg.com/@melt-js/libs-vue2-leva@2026.11.6-3/hel_dist/js/app~493df0b3.fd0e3f4a.js",
|
|
61
61
|
"rel": "preload",
|
|
62
62
|
"as": "script"
|
|
63
63
|
}
|
|
@@ -68,16 +68,16 @@
|
|
|
68
68
|
"tag": "script",
|
|
69
69
|
"append": true,
|
|
70
70
|
"attrs": {
|
|
71
|
-
"src": "https://unpkg.com/@melt-js/libs-vue2-leva@2026.11.6-
|
|
71
|
+
"src": "https://unpkg.com/@melt-js/libs-vue2-leva@2026.11.6-3/hel_dist/js/app~493df0b3.fd0e3f4a.js"
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
],
|
|
75
75
|
"otherSrcList": [
|
|
76
|
-
"https://unpkg.com/@melt-js/libs-vue2-leva@2026.11.6-
|
|
77
|
-
"https://unpkg.com/@melt-js/libs-vue2-leva@2026.11.6-
|
|
78
|
-
"https://unpkg.com/@melt-js/libs-vue2-leva@2026.11.6-
|
|
76
|
+
"https://unpkg.com/@melt-js/libs-vue2-leva@2026.11.6-3/hel_dist/index.html",
|
|
77
|
+
"https://unpkg.com/@melt-js/libs-vue2-leva@2026.11.6-3/hel_dist/js/app~493df0b3.fd0e3f4a.js.map",
|
|
78
|
+
"https://unpkg.com/@melt-js/libs-vue2-leva@2026.11.6-3/hel_dist/js/chunk-226b2837.d16386b6.js.map"
|
|
79
79
|
]
|
|
80
80
|
},
|
|
81
|
-
"html_content": "<!DOCTYPE html><html lang=\"\"><head><meta charset=\"utf-8\"><meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\"><meta name=\"viewport\" content=\"width=device-width,initial-scale=1\"><title>libs-vue2-playground</title><script src=\"https://cdn.staticfile.org/vue/2.7.16/vue.min.js\"></script><link href=\"https://unpkg.com/@melt-js/libs-vue2-leva@2026.11.6-
|
|
81
|
+
"html_content": "<!DOCTYPE html><html lang=\"\"><head><meta charset=\"utf-8\"><meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\"><meta name=\"viewport\" content=\"width=device-width,initial-scale=1\"><title>libs-vue2-playground</title><script src=\"https://cdn.staticfile.org/vue/2.7.16/vue.min.js\"></script><link href=\"https://unpkg.com/@melt-js/libs-vue2-leva@2026.11.6-3/hel_dist/css/chunk-226b2837.59eea4cb.css\" rel=\"prefetch\"><link href=\"https://unpkg.com/@melt-js/libs-vue2-leva@2026.11.6-3/hel_dist/js/chunk-226b2837.d16386b6.js\" rel=\"prefetch\"><link href=\"https://unpkg.com/@melt-js/libs-vue2-leva@2026.11.6-3/hel_dist/js/app~493df0b3.fd0e3f4a.js\" rel=\"preload\" as=\"script\"></head><body><noscript><strong>We're sorry but @melt-js/libs-vue2-leva doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=\"app\"></div><script src=\"https://unpkg.com/@melt-js/libs-vue2-leva@2026.11.6-3/hel_dist/js/app~493df0b3.fd0e3f4a.js\"></script></body></html>"
|
|
82
82
|
}
|
|
83
83
|
}
|
package/hel_dist/index.html
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><title>libs-vue2-playground</title><script src="https://cdn.staticfile.org/vue/2.7.16/vue.min.js"></script><link href="https://unpkg.com/@melt-js/libs-vue2-leva@2026.11.6-
|
|
1
|
+
<!DOCTYPE html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><title>libs-vue2-playground</title><script src="https://cdn.staticfile.org/vue/2.7.16/vue.min.js"></script><link href="https://unpkg.com/@melt-js/libs-vue2-leva@2026.11.6-3/hel_dist/css/chunk-226b2837.59eea4cb.css" rel="prefetch"><link href="https://unpkg.com/@melt-js/libs-vue2-leva@2026.11.6-3/hel_dist/js/chunk-226b2837.d16386b6.js" rel="prefetch"><link href="https://unpkg.com/@melt-js/libs-vue2-leva@2026.11.6-3/hel_dist/js/app~493df0b3.fd0e3f4a.js" rel="preload" as="script"></head><body><noscript><strong>We're sorry but @melt-js/libs-vue2-leva doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><script src="https://unpkg.com/@melt-js/libs-vue2-leva@2026.11.6-3/hel_dist/js/app~493df0b3.fd0e3f4a.js"></script></body></html>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("Vue"));else if("function"==typeof define&&define.amd)define(["Vue"],t);else{var n="object"==typeof exports?t(require("Vue")):t(e.Vue);for(var r in n)("object"==typeof exports?exports:e)[r]=n[r]}}(window,(function(e){return function(e){function t(t){for(var n,r,a=t[0],i=t[1],u=0,c=[];u<a.length;u++)r=a[u],Object.prototype.hasOwnProperty.call(o,r)&&o[r]&&c.push(o[r][0]),o[r]=0;for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n]);for(p&&p(t);c.length;)c.shift()()}var n={},r={"app~493df0b3":0},o={"app~493df0b3":0};function a(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,a),r.l=!0,r.exports}a.e=function(e){var t=[];r[e]?t.push(r[e]):0!==r[e]&&{"chunk-286df66f":1}[e]&&t.push(r[e]=new Promise((function(t,n){for(var o="css/"+({}[e]||e)+"."+{"chunk-286df66f":"4a8987c2"}[e]+".css",i=a.p+o,u=document.getElementsByTagName("link"),c=0;c<u.length;c++){var p=(f=u[c]).getAttribute("data-href")||f.getAttribute("href");if("stylesheet"===f.rel&&(p===o||p===i))return t()}var l=document.getElementsByTagName("style");for(c=0;c<l.length;c++){var f;if((p=(f=l[c]).getAttribute("data-href"))===o||p===i)return t()}var s=document.createElement("link");s.rel="stylesheet",s.type="text/css",s.onload=t,s.onerror=function(t){var o=t&&t.target&&t.target.src||i,a=new Error("Loading CSS chunk "+e+" failed.\n("+o+")");a.code="CSS_CHUNK_LOAD_FAILED",a.request=o,delete r[e],s.parentNode.removeChild(s),n(a)},s.href=i,document.getElementsByTagName("head")[0].appendChild(s)})).then((function(){r[e]=0})));var n=o[e];if(0!==n)if(n)t.push(n[2]);else{var i=new Promise((function(t,r){n=o[e]=[t,r]}));t.push(n[2]=i);var u,c=document.createElement("script");c.charset="utf-8",c.timeout=120,a.nc&&c.setAttribute("nonce",a.nc),c.src=function(e){return a.p+"js/"+({}[e]||e)+"."+{"chunk-286df66f":"da323672"}[e]+".js"}(e);var p=new Error;u=function(t){c.onerror=c.onload=null,clearTimeout(l);var n=o[e];if(0!==n){if(n){var r=t&&("load"===t.type?"missing":t.type),a=t&&t.target&&t.target.src;p.message="Loading chunk "+e+" failed.\n("+r+": "+a+")",p.name="ChunkLoadError",p.type=r,p.request=a,n[1](p)}o[e]=void 0}};var l=setTimeout((function(){u({type:"timeout",target:c})}),12e4);c.onerror=c.onload=u,document.head.appendChild(c)}return Promise.all(t)},a.m=e,a.c=n,a.d=function(e,t,n){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(a.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)a.d(n,r,function(t){return e[t]}.bind(null,r));return n},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="https://unpkg.com/@melt-js/libs-vue2-leva@2026.11.6-2/hel_dist/",a.oe=function(e){throw console.error(e),e};var i=window["helJsonp_libs-vue2-leva_1793972070284"]=window["helJsonp_libs-vue2-leva_1793972070284"]||[],u=i.push.bind(i);i.push=t,i=i.slice();for(var c=0;c<i.length;c++)t(i[c]);var p=u;return a(a.s=0)}({0:function(e,t,n){e.exports=n("56d7")},"56d7":function(e,t,n){"use strict";n.r(t);var r=n("fbd2"),o=n("8bbf"),a=n("fc8e");o.config&&(o.config.productionTip=!1),async function(){const e=await n.e("chunk-286df66f").then(n.bind(null,"6c72"));Object(a.libReady)("libs-vue2-leva",e.default),Object(r.a)()&&await n.e("chunk-286df66f").then(n.bind(null,"a581"))}().catch(console.error)},7226:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},8779:function(e,t,n){"use strict";n.r(t),function(e){function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function o(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){o(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a,i,u=[],c=!0,p=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(u.push(r.value),u.length!==t);c=!0);}catch(e){p=!0,o=e}finally{try{if(!c&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(p)throw o}}return u}}(e,t)||l(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e){return function(e){if(Array.isArray(e))return r(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||l(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(e){return(p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function l(e,t){if(e){if("string"==typeof e)return r(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}n.d(t,"allowLog",(function(){return st})),n.d(t,"appReady",(function(){return en})),n.d(t,"clearPerfMark",(function(){return gt})),n.d(t,"commonDataUtil",(function(){return Dt})),n.d(t,"commonUtil",(function(){return it})),n.d(t,"evName",(function(){return $t})),n.d(t,"getAppMeta",(function(){return St})),n.d(t,"getAppPlatform",(function(){return Ht})),n.d(t,"getAppPlatformByAppName",(function(){return Xt})),n.d(t,"getAppStyleStr",(function(){return jt})),n.d(t,"getCommonData",(function(){return Pt})),n.d(t,"getCustomData",(function(){return It})),n.d(t,"getGlobalThis",(function(){return _t})),n.d(t,"getHelDebug",(function(){return ft})),n.d(t,"getHelEventBus",(function(){return zt})),n.d(t,"getPlatform",(function(){return pt})),n.d(t,"getPlatformConfig",(function(){return kt})),n.d(t,"getSharedCache",(function(){return lt})),n.d(t,"getUserEventBus",(function(){return Qt})),n.d(t,"getVerApp",(function(){return yt})),n.d(t,"getVerExtraCssList",(function(){return Ft})),n.d(t,"getVerLib",(function(){return At})),n.d(t,"getVerLoadStatus",(function(){return Mt})),n.d(t,"getVerStyleStrStatus",(function(){return xt})),n.d(t,"getVersion",(function(){return Nt})),n.d(t,"helConsts",(function(){return ot})),n.d(t,"helEvents",(function(){return nt})),n.d(t,"helLoadStatus",(function(){return rt})),n.d(t,"inectPlatToMod",(function(){return at})),n.d(t,"initGlobalConfig",(function(){return qt})),n.d(t,"initPlatformConfig",(function(){return Wt})),n.d(t,"isSubApp",(function(){return ut})),n.d(t,"libReady",(function(){return Zt})),n.d(t,"log",(function(){return dt})),n.d(t,"originInit",(function(){return Jt})),n.d(t,"perfMark",(function(){return vt})),n.d(t,"perfPeek",(function(){return mt})),n.d(t,"resetGlobalThis",(function(){return ct})),n.d(t,"setAppMeta",(function(){return Lt})),n.d(t,"setAppPlatform",(function(){return Yt})),n.d(t,"setAppPlatformByAppName",(function(){return Bt})),n.d(t,"setAppStyleStr",(function(){return Gt})),n.d(t,"setCommonData",(function(){return Ct})),n.d(t,"setCustomData",(function(){return Tt})),n.d(t,"setEmitApp",(function(){return bt})),n.d(t,"setEmitLib",(function(){return Et})),n.d(t,"setGlobalThis",(function(){return ht})),n.d(t,"setVerExtraCssList",(function(){return Vt})),n.d(t,"setVerLoadStatus",(function(){return Rt})),n.d(t,"setVerStyleStrStatus",(function(){return wt})),n.d(t,"setVersion",(function(){return Ot})),n.d(t,"tryGetAppName",(function(){return Ut})),n.d(t,"tryGetVersion",(function(){return Kt}));var f=null;function s(){return f||function(){if("undefined"==typeof window){if(void 0===e)throw new Error("unable to locate global object");f=e}else f=window}(),f}function d(){return s()}function v(){var e=s();return e.MutationObserver||e.WebKitMutationObserver||e.MozMutationObserver}function m(e,t){for(var n=null,r=e.length,o=0;o<r;o++){var a=e[o];if(a.tagName===t){n=a;break}}return n}function g(e){return Object.keys(e)}function _(e){var t,n=null===(t=s())||void 0===t?void 0:t.localStorage;return null==n?void 0:n.getItem(e)}function h(e,t){var n,r=null===(n=s())||void 0===n?void 0:n.localStorage;return null==r?void 0:r.setItem(e,t)}function y(){var e=function(){var e=function(e){var t=e||{},n=t.search||"";if(!n){var r=(t.hash||"").split("?")[1]||"";r&&(n="?".concat(r))}return n};try{var t;return e(null===(t=s())||void 0===t||null===(t=t.top)||void 0===t?void 0:t.location)}catch(t){var n;return e(null===(n=s())||void 0===n?void 0:n.location)}}(),t={};null!=e&&e.startsWith("?")&&e.substring(1).split("&").forEach((function(e){var n=u(e.split("="),2),r=n[0],o=n[1];t[r]=o}));return t}function b(){var e="";try{throw new Error("getJsRunLocation")}catch(r){var t=r.stack.split("\n"),n=t.length;e=t[n-1]||t[n-2]||""}return e}function A(e,t,n,r){E(e,t)[n]=r}function E(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=e[t];return r||(r=n,e[t]=r),r}function S(e,t){Object.keys(t).forEach((function(n){var r=t[n];[null,void 0,""].includes(r)||(e[n]=r)}))}function L(e,t){e.includes(t)||e.push(t)}function N(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.nullValues,r=void 0===n?[null,void 0,""]:n,o=t.emptyObjIsNull,a=void 0===o||o,i=t.emptyArrIsNull,u=void 0===i||i,c=r.includes(e);if(c)return!0;if(Array.isArray(e))return!!u&&0===e.length;if("object"===p(e)){var l=g(e),f=l.length;return!!a&&0===f}return!1}function O(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t}var I=N,T=L,P=g;function C(e,t){var n=t||function(e){return!I(e)},r={};return P(e).forEach((function(t){n(e[t])&&(r[t]=e[t])})),r}function D(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"MULTI",n=e.split("\n"),r=n.length-1,o=n.map((function(e,n){var o;if(!e&&(0===n||n===r))return"";var a=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=e;return e.endsWith("<br/>")?(r=e.substring(0,r.length-5),"".concat(r).concat(t)):"".concat(r).concat(n)},i=(null===(o=e.trimStart)||void 0===o?void 0:o.call(e))||e;return"MULTI"===t?"".concat(a(i,""),"\n"):i=a(i,"\n"," ")})).join("");return o}function M(e){return D(e,"ONE")}function R(e,t,n){e.dataset?e.dataset[t]=n:e.setAttribute("data-".concat(t),n)}function x(e){R(e,"heldisabled","1"),e.disabled=!0}var w=Object.freeze({__proto__:null,noop:O,hasProp:function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},isServer:function(){var e=s();return e.process&&e.global&&!e.document},safeParse:function(e,t,n){if(e&&"string"!=typeof e)return e;try{return JSON.parse(e)||t}catch(e){if(void 0!==t)return t;if(n)throw new Error(n);throw e}},isNull:I,noDupPush:T,okeys:P,merge2List:function(e,t){var n=[];return e.forEach((function(e){return T(n,e)})),t.forEach((function(e){return T(n,e)})),n},purify:C,getObjsVal:function(e,t,n){var r,o=n,a=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=l(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return i=e.done,e},e:function(e){u=!0,a=e},f:function(){try{i||null==n.return||n.return()}finally{if(u)throw a}}}}(e);try{for(a.s();!(r=a.n()).done;){var i=r.value[t];if(![null,void 0,""].includes(i)){o=i;break}}}catch(e){a.e(e)}finally{a.f()}return o},pfstr:D,nbstr:M,nbalert:function(e){var t,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=s(),o=M(e),a=r.alert||O;n?(null===(t=r.location)||void 0===t?void 0:t.port)&&a(o):a(o)},setDataset:R,disableNode:x});var j="__default_online_ver__",G={CORE_VER:"4.13.1",DEFAULT_API_PREFIX:"https://unpkg.com",DEFAULT_API_URL:"/openapi/v1/app/info",DEFAULT_ONLINE_VER:j,DEFAULT_USER_LS_KEY:"HelUserRtxName",DEFAULT_PLAT:"unpkg",LS_LOG_MODE:"HelConfig.logMode",LS_LOG_FILTER:"HelConfig.logFilter",PLAT_HEL:"hel",PLAT_UNPKG:"unpkg",KEY_CSS_STR:"CSS_STR",KEY_ASSET_CTX:"ASSET_CTX",KEY_STYLE_TAG_ADDED:"STYLE_TAG_ADDED",KEY_CSS_LINK_TAG_ADDED:"CSS_LINK_TAG_ADDED",KEY_IGNORE_CSS_PREFIX_LIST:"IGNORE_CSS_PREFIX_LIST",KEY_IGNORE_STYLE_TAG_KEY:"IGNORE_STYLE_TAG_KEY",KEY_IGNORE_CSS_PREFIX_2_KEYS:"IGNORE_CSS_PREFIX_2_KEYS"},F={SUB_APP_LOADED:"subAppLoaded",SUB_LIB_LOADED:"SubLibLoaded",STYLE_STR_FETCHED:"StyleStrFetched",STYLE_TAG_ADDED:"StyleTagAdded",CSS_LINK_TAG_ADDED:"CssLinkTagAdded"},V={NOT_LOAD:0,LOADING:1,LOADED:2},K=G.LS_LOG_FILTER,U=G.LS_LOG_MODE,k=0,H=1,Y=2,B={isIncludeFilter:function(e,t){return t.includes(",")?t.split(",").some((function(t){return e.includes(t)})):e.includes(t)},getLogFilter:function(){return q().logFilter},setLogFilter:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];q().logFilter=e,t&&h(K,e)},setLogMode:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=parseInt(e,10);[k,H,Y].includes(n)&&(q().logMode=n,t&&h(U,n))},getLogMode:function(){return q().logMode}},X={};function W(){if(N(X=d().__HEL_MICRO_DEBUG__)){X={logMode:k,logFilter:"",isInit:!1},d().__HEL_MICRO_DEBUG__=X;try{!function(){if(!q().isInit){q().isInit=!0;var e=y(),t=e.hellog,n=e.hellogf,r=t||_(U)||k;B.setLogMode(r,!1);var o=n||_(K)||"";B.setLogFilter(o,!1)}}()}catch(e){}}else void 0===X.logMode&&(X.logMode=k,X.logFilter="")}function J(){return B.getLogMode()!==k}function q(){return X}var z=" %c--\x3e HEL LOG:",Q="color:#ad4e00;font-weight:600";function $(){if(J()){for(var e=B.getLogMode()===H?console.log:console.trace||console.log,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var o=n[0],a=n.slice(1);if("string"!=typeof o)return e.apply(void 0,[z,Q].concat(n));var i=B.getLogFilter(),u=["".concat(z," ").concat(o),Q].concat(c(a));i?B.isIncludeFilter(o,i)&&e.apply(void 0,c(u)):e.apply(void 0,c(u))}}var Z={};function ee(e,t,n){if(J()&&Z[e]){var r=Z[e];$("[[ PerfCheck ]] (".concat(e,"/").concat(t,") costs ").concat(Date.now()-r," ms")),n&&te(e)}}function te(e){Z[e]=0}var ne=G.DEFAULT_API_URL,re=G.DEFAULT_USER_LS_KEY,oe=G.PLAT_HEL,ae=G.PLAT_UNPKG,ie=G.DEFAULT_API_PREFIX,ue=G.CORE_VER,ce=G.KEY_CSS_LINK_TAG_ADDED,pe=G.KEY_STYLE_TAG_ADDED,le=G.KEY_IGNORE_CSS_PREFIX_LIST,fe=G.KEY_IGNORE_STYLE_TAG_KEY,se=G.KEY_IGNORE_CSS_PREFIX_2_KEYS;function de(e){return{apiMode:"get",apiPrefix:(e||{}).apiPrefix,apiSuffix:"",apiPathOfApp:ne,apiPathOfAppVersion:"",getSubAppAndItsVersionFn:null,customMetaUrl:"",customMetaJsonpUrl:"",getMeta:null,onFetchMetaFailed:null,strictMatchVer:!0,getUserName:null,userLsKey:re,shouldUseGray:null,trustAppNames:null,semverApi:null,hook:{}}}function ve(e){return i(i({isConfigOverwrite:!1,platform:e,appName2Comp:{},appName2Lib:{},appName2isLibAssigned:{},appName2EmitApp:{},appName2verLoadStatus:{},appName2verEmitLib:{},appName2verEmitApp:{},appName2verStyleStr:{},appName2verStyleFetched:{},appName2verExtraCssList:{},appName2verAppVersion:{},appName2verCustomData:{},appName2app:{},appName2appVersion:{},appName2styleStr:{},appGroupName2firstVer:{},isOriginInitCalled:!1},de()),{},{origin:de({apiPrefix:ie})})}function me(){var e={};return{on:function(t,n){var r=e[t];if(!r){var o=[];e[t]=o,r=o}r.push(n)},emit:function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];var a=e[t];if(a){var i=a.slice();i.forEach((function(e){return e.apply(void 0,r)}))}},off:function(t,n){var r=e[t];if(r)for(var o=0,a=r.length;o<a;o++){if(r[o]===n){r.splice(o,1);break}}}}}function ge(e){[ce,pe,le,fe,se].forEach((function(t){return E(e,t,function(e){return e===le?[]:{}}(t))}))}function _e(){var e=he();if(e){var t=e.cacheRoot;E(t,"appGroupName2platform"),E(t,"common");var n=t.caches;return Object.keys(n).forEach((function(e){var t=n[e];E(t,"appGroupName2firstVer"),E(t,"appName2isLibAssigned"),E(t,"appName2verExtraCssList"),E(t,"appName2verCustomData"),E(t,"hook"),E(t,"origin",de()),E(t.origin,"hook")})),ge(t.common),void(e.userEventBus||(e.userEventBus=me()))}ge((e=function(){var e=ve(ae),t=ve(oe),n={platform:oe,platformHint:"the platform value here does not make any sense!",appName2platform:{},appGroupName2platform:{},caches:o(o({},ae,e),oe,t),common:{}},r=me(),a=me();return{ver:ue,isStyleObInit:!1,nativeHeadAppend:null,nativeBodyAppend:null,patchedHeadAppend:null,patchedBodyAppend:null,createFeature:b(),eventBus:r,userEventBus:a,cacheRoot:n,unpkgCache:e,helCache:t,dev:{setLogMode:B.setLogMode,setLogFilter:B.setLogFilter}}}()).cacheRoot.common),d().__HEL_MICRO_SHARED__=e}function he(){return d().__HEL_MICRO_SHARED__}function ye(){return"unpkg"}function be(e){var t=e||"unpkg",n=Ae(),r=n.caches[t];if(!r){var o=p(e);if("string"!==o)throw console.error("invalid plaform:",e),new Error("fatal error: platform only can be a string, now it is ".concat(o));var a=ve(e);n.caches[t]=a,r=a}return r}function Ae(){return he().cacheRoot}var Ee={getCustomData:function(e,t,n){var r=n.versionId,o=E(be(n.platform).appName2verCustomData,e);return E(o,t)[r||j]},getAppMeta:function(e,t){return be(t).appName2app[e]},setVerLoadStatus:function(e,t,n,r){var o=r||{},a=o.versionId;A(be(o.platform)[n],e,a||j,t)},getVerLoadStatus:function(e,t,n){var r,o=n||{},a=o.versionId,i=be(o.platform)[t],u=a||j;return(null===(r=i[e])||void 0===r?void 0:r[u])||V.NOT_LOAD},ensureOnlineModule:function(e,t,n){if(!e[j]){var r=Ee.getAppMeta(t,n),o=e[null==r?void 0:r.online_version];o&&(e[j]=o)}}};function Se(e,t){$("[[ core:setEmitApp ]] appName,emitApp:",e,t);var n=t.versionId,r=be(t.platform),o=r.appName2verEmitApp,a=r.appName2Comp,i=r.appName2EmitApp;E(o,e)[j]||(a[e]=t.Comp,i[e]=t,A(o,e,j,t)),n&&A(o,e,n,t)}var Le=G.KEY_CSS_LINK_TAG_ADDED,Ne=G.KEY_STYLE_TAG_ADDED,Oe=G.KEY_IGNORE_CSS_PREFIX_LIST,Ie=G.KEY_IGNORE_STYLE_TAG_KEY,Te=G.KEY_IGNORE_CSS_PREFIX_2_KEYS;function Pe(e){return E(Ae().common,e)}function Ce(e){return Ae().common[e]}function De(e,t){var n=Pe(e)[t];return void 0!==n?n:null}function Me(e,t,n){Pe(e)[t]=n}var Re={setIgnoreCssPrefix:function(e){L(Ce(Oe),e)},setIgnoreStyleTagKey:function(e){Re.getIgnoreStyleTagMap()[e]=1},getIgnoreStyleTagMap:function(){return Ce(Ie)},setIgnoreCssPrefixKey:function(e,t){var n=De(Te,e);n||Me(Te,e,n=[]),L(n,t)},getIgnoreCssPrefixKeys:function(e){return Ce(Te)[e]||[]},getMatchedIgnoreCssPrefix:function(e){for(var t=Ce(Oe),n="",r=0;r<t.length;r++){var o=t[r];if(e.startsWith(o)){n=o;break}}return n},getIgnoreCssPrefixCssUrlList:function(e){var t=De(Le,e);return t||Me(Le,e,t=[]),t},setIgnoreCssPrefixCssUrl:function(e,t){Re.getIgnoreCssPrefixCssUrlList(e).push(t)},getStyleTagText:function(e){return De(Ne,e)||""},clearStyleTagText:function(e){Me(Ne,e,"")},appendStyleTagText:function(e,t){var n=Re.getStyleTagText(e);Me(Ne,e,"".concat(n," ").concat(t))}};function xe(e,t){var n=e.apiMode,r=e.apiPrefix,o=e.apiSuffix,a=e.apiPathOfApp,i=e.apiPathOfAppVersion,u=e.getSubAppAndItsVersionFn,c=e.onFetchMetaFailed,p=e.strictMatchVer,l=e.getUserName,f=e.userLsKey,s=e.shouldUseGray,d=e.getApiPrefix,v=e.trustAppNames,m=e.platform,g=e.origin,_={apiMode:n,apiPrefix:r,apiSuffix:o,apiPathOfApp:a,apiPathOfAppVersion:i,getSubAppAndItsVersionFn:u,onFetchMetaFailed:c,strictMatchVer:p,getUserName:l,userLsKey:f,shouldUseGray:s,getApiPrefix:d,trustAppNames:v,hook:e.hook,platform:m,customMetaUrl:e.customMetaUrl,customMetaJsonpUrl:e.customMetaJsonpUrl,getMeta:e.getMeta};return t&&(_.origin=g),_}function we(e){return Ae().appGroupName2platform[e]||"unpkg"}function je(e){return Ae().appName2platform[e]||"unpkg"}function Ge(e,t){var n=t.customKey,r=t.platform,o=E(be(void 0===r?je(e):r).appName2verCustomData,e);return E(o,n)}var Fe=F.STYLE_TAG_ADDED,Ve=F.CSS_LINK_TAG_ADDED;function Ke(){return he().eventBus}var Ue={styleTagAdded:function(e){return"".concat(Fe,"/").concat(e)},cssLinkTagAdded:function(e){return"".concat(Ve,"(").concat(e,")")}};function ke(e,t,n){var r=(n||{}).appGroupName,o=t.versionId,a=t.appProperties,i=t.platform||n.platform,u=be(i),c=u.appName2verEmitLib,l=u.appName2Lib,f=u.appName2isLibAssigned,s=Ee.getAppMeta(e,i),d=function(e){var t=l[e];t?"object"===p(t)&&0===Object.keys(t).length&&Object.assign(t,a):l[e]=a,f[e]=!0};d(e),r?d(r):s&&d(s.app_group_name),$("[[ core:setEmitLib ]] appMeta:",s),E(c,e)[j]||A(c,e,j,a),o&&A(c,e,o,a)}function He(e,t){return be(t).appName2app[e]}function Ye(e,t,n){Ee.setVerLoadStatus(e,t,"appName2verLoadStatus",n)}function Be(e,t){return e.split("@").slice(1).join("@")||t||e}function Xe(e){return"js"===e||"mjs"===e}function We(e,t){var n=b();$("[[ core:tryGetVersion ]] may include ver source > ".concat(n));var r=be(t).appGroupName2firstVer[e]||"";if(n.includes("https://")||n.includes("http://")){var o=u(n.split("//"),2)[1],a=o.split("/");if(r){if(o.includes("/".concat(r,"/"))){if(r.startsWith("@"))return Be(r.split("/")[1]||"");var i=a.indexOf(r);if(!a[i-1].startsWith("@"))return Be(r)}var c=a[1],p=a[2];if("static"===c&&Xe(p)||Xe(c))return Be(r)}if(o.indexOf("@")>=0){var l=a.filter((function(e){return e.includes("@")})),f=l.findIndex((function(e){return e.startsWith("@")}));return Be(f>=0?l[f+1]||"":l[0]||"",r)}var s=u(o.split("/".concat(t,"/")),2)[1];return u((void 0===s?"":s).split("/"),1)[0]||r}return r}function Je(e,t){return e===j?t||"":e.includes("_")?e.substring(0,e.length-15):t||""}var qe=!1,ze=!1;var Qe=G.KEY_ASSET_CTX;function $e(e,t){if(!t||!["LINK","SCRIPT"].includes(t.tagName))return e(t);var n=t.href,r=t.tagName,o=t.src,a="LINK"===r,i=De(Qe,n||o||"")||{},u=i.platform,c=i.groupName,p=i.name,l=i.ver,f=i.beforeAppend,s=t;if(f){var d=a?"href":"src",v=t.getAttribute(d);s=f({el:t,nativeAppend:e,setAssetUrl:function(e){return t.setAttribute(d,e)},url:v,tagName:r})||t}return u&&function(e,t){var n=t.platform,r=t.groupName,o=t.name,a=t.ver;R(e,"el",t.elName),R(e,"plat",n),R(e,"gname",r),R(e,"name",o),R(e,"ver",a)}(s,{platform:u,groupName:c,name:p,ver:l,elName:a?"HelLink":"HelScript"}),e(s)}var Ze="/* @helstart ".length;function et(e,t){var n=e.tagName,r=e.innerText,o=e.href;if(["STYLE","LINK"].includes(n))if("STYLE"!==n){(function(e,t){var n=Ke(),r=Re.getMatchedIgnoreCssPrefix(t);return r&&(Re.setIgnoreCssPrefixCssUrl(r,t),n.emit(Ue.cssLinkTagAdded(r),{nodes:[e]})),r})(e,o)&&x(e)}else{if(!r)return;var a=r.indexOf("/* @helstart ");if(a<0)return;var i=r.indexOf(" @helend */");if(i<0)return;var u=r.substring(Ze+a,i);if(u){var c=u.trim(),p="",l=c;if(c.includes("/")){var f=c.split("/");p=f[0],l=f[1]}R(e,"gname",l),p&&R(e,"plat",p),t[c]&&x(e);var s=Ke();Re.appendStyleTagText(c,r),s.emit(Ue.styleTagAdded(c),{nodes:[e]})}}}function tt(e,t){var n=e.tagName,r=e.src,o=void 0===r?"":r;if("SCRIPT"!==n)return!1;if(!o.endsWith(".hot-update.js"))return!1;var a=Re.getMatchedIgnoreCssPrefix(o);if(!a)return!1;var i=Re.getIgnoreCssPrefixKeys(a);if(!i.length)return!1;var u=!1;return i.forEach((function(e){t[e]&&(!function(e){var t=s();if(t){var n=t.document.head.querySelectorAll('style[data-gname="'.concat(e,'"]'));if(n.length)Re.clearStyleTagText(e),n.forEach((function(t){x(t),Re.appendStyleTagText(e,t.innerText)})),Ke().emit(Ue.styleTagAdded(e),{nodes:n})}}(e),u=!0)})),u}ct(),$("hel-micro-core ver ".concat(G.CORE_VER));var nt=F,rt=V,ot=G,at=function e(t,n,r){var o=r||{},a=o.ignoreKeys,u=void 0===a?[]:a,c=o.arg1PlatObjFnKeys,l=void 0===c?[]:c,f={};return Object.keys(n).forEach((function(o){var a=n[o];if(u.includes(o))f[o]=a;else{var c=p(a);f[o]=c&&"object"===c?e(t,a,r):"function"!==c?a:function(e,t){var n=this,r=t.fn,o=t.fnName,a=t.arg1PlatObjFnKeys.includes(o);return function(){for(var t=function(t){return i({platform:e},C(t||{}))},o=arguments.length,u=new Array(o),c=0;c<o;c++)u[c]=arguments[c];var p=u[0],l=u[1];return a?u[0]=t(p):u[1]=t(l),r.apply(n,u)}}(t,{arg1PlatObjFnKeys:l,fn:a,fnName:o})}})),f},it=w,ut=function(){return"more details see: https://tnfe.github.io/hel/docs/tutorial/attention-is-subapp",console.log("%c".concat("WARNING: calling isSubApp is unsafe, use hel-iso.isSubApp instead,\nmore details see: https://tnfe.github.io/hel/docs/tutorial/attention-is-subapp"),"color:red;"),!qe};function ct(e){e&&ht(e),function(e){if(e&&(qe=!1,ze=!1),!ze){ze=!0;var t=s();void 0===t.__MASTER_APP_LOADED__&&(t.__MASTER_APP_LOADED__=!0,qe=!0)}}(!!e),_e(),W(),function(){var e=s();if(!e.__POWERED_BY_QIANKUN__&&!e.__DISABLE_HEL_MONKEY_PATCH__){var t=he(),n=e.document,r=t.nativeHeadAppend,o=t.nativeBodyAppend;if(!r&&n){var a=n.head,i=n.body;if(r=a.appendChild.bind(a),t.nativeHeadAppend=r,i)o=i.appendChild.bind(i),t.nativeBodyAppend=o;else{var u=new(v())((function(e){for(var n,r=0;r<e.length;r++){var a=e[r].addedNodes;if(n=m(a,"BODY"))break}n&&(o=n.appendChild.bind(n),t.nativeBodyAppend=o,n.appendChild=function(e){return $e(p(o,n,"body"),e)},u.disconnect())})),c=m(n.childNodes,"HTML");c&&u.observe(c,{childList:!0})}var p=function(n,r,o){var a=t.patchedHeadAppend,i=t.patchedBodyAppend,u="head"===o;if(a&&u)return a;if(i&&!u)return i;if(e.__POWERED_BY_WUJIE__)return n;var c=e.Element;return c?c.prototype.appendChild.bind(r):n};a.appendChild=function(e){return $e(p(r,a,"head"),e)},i&&(i.appendChild=function(e){return $e(p(o,i,"body"),e)})}}}(),function(){var e=he(),t=s(),n=e.isStyleObInit,r=t.document;if(!n&&r){e.isStyleObInit=!0;var o=Re.getIgnoreStyleTagMap(),a=v();if(a)new a((function(e){e.forEach((function(e){for(var t=e.addedNodes,n=e.removedNodes,r=t.length,a=0;a<r;a++)et(t[a],o);for(var i=n.length,u=0;u<i&&!tt(n[u],o);u++);}))})).observe(document.head,{childList:!0})}}()}var pt=ye,lt=be,ft=q,st=J,dt=$,vt=function(e){J()&&!Z[e]&&(Z[e]=Date.now())},mt=ee,gt=te,_t=s,ht=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=null;null!==(t=f)&&void 0!==t&&t.__HEL_MICRO_SHARED__&&(r=f.__HEL_MICRO_SHARED__),f=n?i(i({},f),e):e,r&&(f.__HEL_MICRO_SHARED__=r)},yt=function(e,t){var n,r=t||{},o=r.versionId,a=r.platform,i=be(a),u=i.appName2verEmitApp,c=i.appName2Comp,p=i.strictMatchVer,l=i.appName2EmitApp,f=null!==(n=r.strictMatchVer)&&void 0!==n?n:p,s=E(u,e);Ee.ensureOnlineModule(s,e,a);var d=s[o||j],v=c[e],m=v?{Comp:v}:null,g=f?null:l[e]||m,_=d||g||null;return $("[[ core:getVerApp ]] appName,options,result:",e,r,_),_},bt=Se,At=function(e,t){var n,r=t||{},o=r.versionId,a=be(r.platform),i=a.appName2verEmitLib,u=a.appName2Lib,c=a.strictMatchVer,p=a.appName2isLibAssigned,l=null!==(n=r.strictMatchVer)&&void 0!==n?n:c,f=E(i,e);Ee.ensureOnlineModule(f,e);var s=f[o||j],d=p[e]?u[e]:null,v=s||(l?null:d)||null;return $("[[ core:getVerLib ]] appName,options,result:",e,r,v),v},Et=ke,St=He,Lt=function(e,t){be(t).appName2app[e.name]=e},Nt=function(e,t){var n,r=t||{},o=r.platform,a=r.versionId,i=be(o),u=i.appName2verAppVersion,c=i.appName2appVersion[e]||null;return a&&(null===(n=u[e])||void 0===n?void 0:n[a])||c},Ot=function(e,t,n){var r=(n||{}).platform,o=be(r),a=o.appName2verAppVersion,i=o.appGroupName2firstVer,u=o.appName2appVersion,c=t.version_tag||t.sub_app_version;if(c){var p=Ee.getAppMeta(e,r);E(a,e)[j]||(A(a,e,j,t),u[e]=t),A(a,e,c,t),i[p.app_group_name]=t.sub_app_version}},It=function(e,t){var n=Ge(e,t)[t.versionId||j];return void 0!==n?n:null},Tt=function(e,t){var n=t.customValue,r=t.versionId,o=Ge(e,t);o[r||j]=n,o[j]||(o[j]=n)},Pt=De,Ct=Me,Dt=Re,Mt=function(e,t){return Ee.getVerLoadStatus(e,"appName2verLoadStatus",t)},Rt=Ye,xt=function(e,t){return Ee.getVerLoadStatus(e,"appName2verStyleFetched",t)},wt=function(e,t,n){Ee.setVerLoadStatus(e,t,"appName2verStyleFetched",n)},jt=function(e,t){var n,r=t||{},o=r.platform,a=r.versionId,i=be(o),u=i.appName2verStyleStr,c=i.appName2styleStr[e]||"";return a?(null===(n=u[e])||void 0===n?void 0:n[a])||c||"":c},Gt=function(e,t,n){var r=n||{},o=r.platform,a=r.versionId,i=be(o),u=i.appName2verStyleStr,c=i.appName2verStyleFetched,p=i.appName2styleStr;a?(A(u,e,a,t),A(c,e,a,V.LOADED)):p[e]=t},Ft=function(e,t){var n=t||{},r=n.versionId,o=E(be(n.platform).appName2verExtraCssList,e),a=o[r]||o[j]||[];return $("[[ core:getVerExtraCssList ]] options,cssList:",n,a),a},Vt=function(e,t,n){var r=n||{},o=r.versionId,a=be(r.platform).appName2verExtraCssList;$("[[ core:setVerExtraCssList ]] cssList:",t),E(a,e)[j]||A(a,e,j,t),o&&A(a,e,o,t)},Kt=We,Ut=Je,kt=function(e){return xe(be(e),!0)},Ht=we,Yt=function(e,t,n){var r=Ae().appGroupName2platform;return!n&&r[e]||(r[e]=t),we(e)},Bt=function(e,t,n){var r=Ae().appName2platform;return!n&&r[e]||(r[e]=t),je(e)},Xt=je,Wt=function(e,t){var n=be(t),r=xe(e);n.isConfigOverwrite||(n.isConfigOverwrite=!0,S(n,r))},Jt=function(e,t){var n=be(e),r="[[ core:originInit ]] invalid call, it can only been called";if(n.isConfigOverwrite)$("".concat(r," before init"));else if(n.isOriginInitCalled)$("".concat(r," one time"));else{var o=xe(t);n.isOriginInitCalled=!0,S(n.origin,o)}},qt=function(e){var t=he(),n=t.nativeHeadAppend,r=t.nativeBodyAppend,o=e.headAppend||null,a=e.bodyAppend||null,i=function(e){return"pass same ".concat(e," handle, hel will ignore it for avlid 'Maximum call stack size exceeded'")};o&&o===n?console.error(i("headAppend")):t.patchedHeadAppend=o,a&&a===r?console.error(i("bodyAppend")):t.patchedBodyAppend=a},zt=Ke,Qt=function(){return he().userEventBus},$t=Ue,Zt=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.platform||we(e),o=n.versionId||We(e,r),a=n.appName||Je(o,e);$("[[ core:libReady ]] appGroupName ".concat(e,", appName ").concat(a,", versionId ").concat(o));var i=He(a,r);null!=i&&i.__fromCust&&(o=n.versionId||i.online_version,a=i.name,$("[[ core:libReady ]] fromCust, appGroupName ".concat(e,", appName ").concat(a,", versionId ").concat(o)));var u={platform:r,appName:a,appGroupName:e,versionId:o,appProperties:t,Comp:function(){},lifecycle:{}};ke(a,u,{appGroupName:e,platform:r}),Ye(a,V.LOADED,{versionId:o,platform:r});var c=Ke();ee("preFetch","libReady"),c.emit(F.SUB_LIB_LOADED,u)},en=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.lifecycle,o=n.platform||we(e),a=n.versionId||We(e,o),i=n.appName||Je(a,e),u={Comp:t,appName:i,appGroupName:e,lifecycle:r,platform:o,versionId:a,isLib:!1};Se(i,u),Ye(i,V.LOADED,{versionId:a,platform:o});var c=Ke();ee("preFetch","appReady"),c.emit(F.SUB_APP_LOADED,u)}}.call(this,n("7226"))},"8bbf":function(t,n){t.exports=e},fbd2:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return s}));var r,o,a,i,u,c=(r=l(),o=r.__HEL_LOAD_ASSETS_FLAG__,a=r.__HEL_ISO_FLAG__,i=r.__MASTER_APP_LOADED__,{isLoadAssetsCalled:1===o,isFirstMod:void 0===a,isBeforeCore:void 0===i});void 0===(u=l()).__HEL_ISO_FLAG__&&(u.__HEL_ISO_FLAG__=1);var p=function(){var e=l(),t=e.location,n=e.__HEL_MICRO_SHARED__,r=c.isFirstMod,o=c.isBeforeCore;if(c.isLoadAssetsCalled)return!1;if(!r)return!1;if(o)return!0;var a=function(){var e="";try{throw new Error("codeHost")}catch(n){var t=n.stack.split("\n");e=t[t.length-1]||""}return(e.split("//")[1]||"").split("/")[0]}();if(t&&t.host===a)return!0;if(n){var i=n.cacheRoot,u=i.appGroupName2platform,p=i.appName2platform,f=u||p||{};if(!Object.keys(f).length)return!0}return!1}();function l(){return window||e}function f(){return p}var s=f}).call(this,n("7226"))},fc8e:function(e,t,n){!function(e,t){"use strict";
|
|
1
|
+
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("Vue"));else if("function"==typeof define&&define.amd)define(["Vue"],t);else{var n="object"==typeof exports?t(require("Vue")):t(e.Vue);for(var r in n)("object"==typeof exports?exports:e)[r]=n[r]}}(window,(function(e){return function(e){function t(t){for(var n,r,a=t[0],i=t[1],u=0,c=[];u<a.length;u++)r=a[u],Object.prototype.hasOwnProperty.call(o,r)&&o[r]&&c.push(o[r][0]),o[r]=0;for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n]);for(p&&p(t);c.length;)c.shift()()}var n={},r={"app~493df0b3":0},o={"app~493df0b3":0};function a(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,a),r.l=!0,r.exports}a.e=function(e){var t=[];r[e]?t.push(r[e]):0!==r[e]&&{"chunk-226b2837":1}[e]&&t.push(r[e]=new Promise((function(t,n){for(var o="css/"+({}[e]||e)+"."+{"chunk-226b2837":"59eea4cb"}[e]+".css",i=a.p+o,u=document.getElementsByTagName("link"),c=0;c<u.length;c++){var p=(s=u[c]).getAttribute("data-href")||s.getAttribute("href");if("stylesheet"===s.rel&&(p===o||p===i))return t()}var l=document.getElementsByTagName("style");for(c=0;c<l.length;c++){var s;if((p=(s=l[c]).getAttribute("data-href"))===o||p===i)return t()}var f=document.createElement("link");f.rel="stylesheet",f.type="text/css",f.onload=t,f.onerror=function(t){var o=t&&t.target&&t.target.src||i,a=new Error("Loading CSS chunk "+e+" failed.\n("+o+")");a.code="CSS_CHUNK_LOAD_FAILED",a.request=o,delete r[e],f.parentNode.removeChild(f),n(a)},f.href=i,document.getElementsByTagName("head")[0].appendChild(f)})).then((function(){r[e]=0})));var n=o[e];if(0!==n)if(n)t.push(n[2]);else{var i=new Promise((function(t,r){n=o[e]=[t,r]}));t.push(n[2]=i);var u,c=document.createElement("script");c.charset="utf-8",c.timeout=120,a.nc&&c.setAttribute("nonce",a.nc),c.src=function(e){return a.p+"js/"+({}[e]||e)+"."+{"chunk-226b2837":"d16386b6"}[e]+".js"}(e);var p=new Error;u=function(t){c.onerror=c.onload=null,clearTimeout(l);var n=o[e];if(0!==n){if(n){var r=t&&("load"===t.type?"missing":t.type),a=t&&t.target&&t.target.src;p.message="Loading chunk "+e+" failed.\n("+r+": "+a+")",p.name="ChunkLoadError",p.type=r,p.request=a,n[1](p)}o[e]=void 0}};var l=setTimeout((function(){u({type:"timeout",target:c})}),12e4);c.onerror=c.onload=u,document.head.appendChild(c)}return Promise.all(t)},a.m=e,a.c=n,a.d=function(e,t,n){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(a.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)a.d(n,r,function(t){return e[t]}.bind(null,r));return n},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="https://unpkg.com/@melt-js/libs-vue2-leva@2026.11.6-3/hel_dist/",a.oe=function(e){throw console.error(e),e};var i=window["helJsonp_libs-vue2-leva_1793975946229"]=window["helJsonp_libs-vue2-leva_1793975946229"]||[],u=i.push.bind(i);i.push=t,i=i.slice();for(var c=0;c<i.length;c++)t(i[c]);var p=u;return a(a.s=0)}({0:function(e,t,n){e.exports=n("56d7")},"56d7":function(e,t,n){"use strict";n.r(t);var r=n("fbd2"),o=n("8bbf"),a=n("fc8e");o.config&&(o.config.productionTip=!1),async function(){const e=await n.e("chunk-226b2837").then(n.bind(null,"6c72"));Object(a.libReady)("libs-vue2-leva",e.default),Object(r.a)()&&await n.e("chunk-226b2837").then(n.bind(null,"a581"))}().catch(console.error)},7226:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},8779:function(e,t,n){"use strict";n.r(t),function(e){function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function o(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){o(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a,i,u=[],c=!0,p=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(u.push(r.value),u.length!==t);c=!0);}catch(e){p=!0,o=e}finally{try{if(!c&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(p)throw o}}return u}}(e,t)||l(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e){return function(e){if(Array.isArray(e))return r(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||l(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(e){return(p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function l(e,t){if(e){if("string"==typeof e)return r(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}n.d(t,"allowLog",(function(){return ft})),n.d(t,"appReady",(function(){return en})),n.d(t,"clearPerfMark",(function(){return gt})),n.d(t,"commonDataUtil",(function(){return Dt})),n.d(t,"commonUtil",(function(){return it})),n.d(t,"evName",(function(){return $t})),n.d(t,"getAppMeta",(function(){return St})),n.d(t,"getAppPlatform",(function(){return Ht})),n.d(t,"getAppPlatformByAppName",(function(){return Xt})),n.d(t,"getAppStyleStr",(function(){return jt})),n.d(t,"getCommonData",(function(){return Pt})),n.d(t,"getCustomData",(function(){return It})),n.d(t,"getGlobalThis",(function(){return _t})),n.d(t,"getHelDebug",(function(){return st})),n.d(t,"getHelEventBus",(function(){return zt})),n.d(t,"getPlatform",(function(){return pt})),n.d(t,"getPlatformConfig",(function(){return kt})),n.d(t,"getSharedCache",(function(){return lt})),n.d(t,"getUserEventBus",(function(){return Qt})),n.d(t,"getVerApp",(function(){return yt})),n.d(t,"getVerExtraCssList",(function(){return Ft})),n.d(t,"getVerLib",(function(){return At})),n.d(t,"getVerLoadStatus",(function(){return Mt})),n.d(t,"getVerStyleStrStatus",(function(){return xt})),n.d(t,"getVersion",(function(){return Nt})),n.d(t,"helConsts",(function(){return ot})),n.d(t,"helEvents",(function(){return nt})),n.d(t,"helLoadStatus",(function(){return rt})),n.d(t,"inectPlatToMod",(function(){return at})),n.d(t,"initGlobalConfig",(function(){return qt})),n.d(t,"initPlatformConfig",(function(){return Wt})),n.d(t,"isSubApp",(function(){return ut})),n.d(t,"libReady",(function(){return Zt})),n.d(t,"log",(function(){return dt})),n.d(t,"originInit",(function(){return Jt})),n.d(t,"perfMark",(function(){return vt})),n.d(t,"perfPeek",(function(){return mt})),n.d(t,"resetGlobalThis",(function(){return ct})),n.d(t,"setAppMeta",(function(){return Lt})),n.d(t,"setAppPlatform",(function(){return Yt})),n.d(t,"setAppPlatformByAppName",(function(){return Bt})),n.d(t,"setAppStyleStr",(function(){return Gt})),n.d(t,"setCommonData",(function(){return Ct})),n.d(t,"setCustomData",(function(){return Tt})),n.d(t,"setEmitApp",(function(){return bt})),n.d(t,"setEmitLib",(function(){return Et})),n.d(t,"setGlobalThis",(function(){return ht})),n.d(t,"setVerExtraCssList",(function(){return Vt})),n.d(t,"setVerLoadStatus",(function(){return Rt})),n.d(t,"setVerStyleStrStatus",(function(){return wt})),n.d(t,"setVersion",(function(){return Ot})),n.d(t,"tryGetAppName",(function(){return Ut})),n.d(t,"tryGetVersion",(function(){return Kt}));var s=null;function f(){return s||function(){if("undefined"==typeof window){if(void 0===e)throw new Error("unable to locate global object");s=e}else s=window}(),s}function d(){return f()}function v(){var e=f();return e.MutationObserver||e.WebKitMutationObserver||e.MozMutationObserver}function m(e,t){for(var n=null,r=e.length,o=0;o<r;o++){var a=e[o];if(a.tagName===t){n=a;break}}return n}function g(e){return Object.keys(e)}function _(e){var t,n=null===(t=f())||void 0===t?void 0:t.localStorage;return null==n?void 0:n.getItem(e)}function h(e,t){var n,r=null===(n=f())||void 0===n?void 0:n.localStorage;return null==r?void 0:r.setItem(e,t)}function y(){var e=function(){var e=function(e){var t=e||{},n=t.search||"";if(!n){var r=(t.hash||"").split("?")[1]||"";r&&(n="?".concat(r))}return n};try{var t;return e(null===(t=f())||void 0===t||null===(t=t.top)||void 0===t?void 0:t.location)}catch(t){var n;return e(null===(n=f())||void 0===n?void 0:n.location)}}(),t={};null!=e&&e.startsWith("?")&&e.substring(1).split("&").forEach((function(e){var n=u(e.split("="),2),r=n[0],o=n[1];t[r]=o}));return t}function b(){var e="";try{throw new Error("getJsRunLocation")}catch(r){var t=r.stack.split("\n"),n=t.length;e=t[n-1]||t[n-2]||""}return e}function A(e,t,n,r){E(e,t)[n]=r}function E(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=e[t];return r||(r=n,e[t]=r),r}function S(e,t){Object.keys(t).forEach((function(n){var r=t[n];[null,void 0,""].includes(r)||(e[n]=r)}))}function L(e,t){e.includes(t)||e.push(t)}function N(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.nullValues,r=void 0===n?[null,void 0,""]:n,o=t.emptyObjIsNull,a=void 0===o||o,i=t.emptyArrIsNull,u=void 0===i||i,c=r.includes(e);if(c)return!0;if(Array.isArray(e))return!!u&&0===e.length;if("object"===p(e)){var l=g(e),s=l.length;return!!a&&0===s}return!1}function O(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t}var I=N,T=L,P=g;function C(e,t){var n=t||function(e){return!I(e)},r={};return P(e).forEach((function(t){n(e[t])&&(r[t]=e[t])})),r}function D(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"MULTI",n=e.split("\n"),r=n.length-1,o=n.map((function(e,n){var o;if(!e&&(0===n||n===r))return"";var a=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=e;return e.endsWith("<br/>")?(r=e.substring(0,r.length-5),"".concat(r).concat(t)):"".concat(r).concat(n)},i=(null===(o=e.trimStart)||void 0===o?void 0:o.call(e))||e;return"MULTI"===t?"".concat(a(i,""),"\n"):i=a(i,"\n"," ")})).join("");return o}function M(e){return D(e,"ONE")}function R(e,t,n){e.dataset?e.dataset[t]=n:e.setAttribute("data-".concat(t),n)}function x(e){R(e,"heldisabled","1"),e.disabled=!0}var w=Object.freeze({__proto__:null,noop:O,hasProp:function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},isServer:function(){var e=f();return e.process&&e.global&&!e.document},safeParse:function(e,t,n){if(e&&"string"!=typeof e)return e;try{return JSON.parse(e)||t}catch(e){if(void 0!==t)return t;if(n)throw new Error(n);throw e}},isNull:I,noDupPush:T,okeys:P,merge2List:function(e,t){var n=[];return e.forEach((function(e){return T(n,e)})),t.forEach((function(e){return T(n,e)})),n},purify:C,getObjsVal:function(e,t,n){var r,o=n,a=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=l(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return i=e.done,e},e:function(e){u=!0,a=e},f:function(){try{i||null==n.return||n.return()}finally{if(u)throw a}}}}(e);try{for(a.s();!(r=a.n()).done;){var i=r.value[t];if(![null,void 0,""].includes(i)){o=i;break}}}catch(e){a.e(e)}finally{a.f()}return o},pfstr:D,nbstr:M,nbalert:function(e){var t,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=f(),o=M(e),a=r.alert||O;n?(null===(t=r.location)||void 0===t?void 0:t.port)&&a(o):a(o)},setDataset:R,disableNode:x});var j="__default_online_ver__",G={CORE_VER:"4.13.1",DEFAULT_API_PREFIX:"https://unpkg.com",DEFAULT_API_URL:"/openapi/v1/app/info",DEFAULT_ONLINE_VER:j,DEFAULT_USER_LS_KEY:"HelUserRtxName",DEFAULT_PLAT:"unpkg",LS_LOG_MODE:"HelConfig.logMode",LS_LOG_FILTER:"HelConfig.logFilter",PLAT_HEL:"hel",PLAT_UNPKG:"unpkg",KEY_CSS_STR:"CSS_STR",KEY_ASSET_CTX:"ASSET_CTX",KEY_STYLE_TAG_ADDED:"STYLE_TAG_ADDED",KEY_CSS_LINK_TAG_ADDED:"CSS_LINK_TAG_ADDED",KEY_IGNORE_CSS_PREFIX_LIST:"IGNORE_CSS_PREFIX_LIST",KEY_IGNORE_STYLE_TAG_KEY:"IGNORE_STYLE_TAG_KEY",KEY_IGNORE_CSS_PREFIX_2_KEYS:"IGNORE_CSS_PREFIX_2_KEYS"},F={SUB_APP_LOADED:"subAppLoaded",SUB_LIB_LOADED:"SubLibLoaded",STYLE_STR_FETCHED:"StyleStrFetched",STYLE_TAG_ADDED:"StyleTagAdded",CSS_LINK_TAG_ADDED:"CssLinkTagAdded"},V={NOT_LOAD:0,LOADING:1,LOADED:2},K=G.LS_LOG_FILTER,U=G.LS_LOG_MODE,k=0,H=1,Y=2,B={isIncludeFilter:function(e,t){return t.includes(",")?t.split(",").some((function(t){return e.includes(t)})):e.includes(t)},getLogFilter:function(){return q().logFilter},setLogFilter:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];q().logFilter=e,t&&h(K,e)},setLogMode:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=parseInt(e,10);[k,H,Y].includes(n)&&(q().logMode=n,t&&h(U,n))},getLogMode:function(){return q().logMode}},X={};function W(){if(N(X=d().__HEL_MICRO_DEBUG__)){X={logMode:k,logFilter:"",isInit:!1},d().__HEL_MICRO_DEBUG__=X;try{!function(){if(!q().isInit){q().isInit=!0;var e=y(),t=e.hellog,n=e.hellogf,r=t||_(U)||k;B.setLogMode(r,!1);var o=n||_(K)||"";B.setLogFilter(o,!1)}}()}catch(e){}}else void 0===X.logMode&&(X.logMode=k,X.logFilter="")}function J(){return B.getLogMode()!==k}function q(){return X}var z=" %c--\x3e HEL LOG:",Q="color:#ad4e00;font-weight:600";function $(){if(J()){for(var e=B.getLogMode()===H?console.log:console.trace||console.log,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var o=n[0],a=n.slice(1);if("string"!=typeof o)return e.apply(void 0,[z,Q].concat(n));var i=B.getLogFilter(),u=["".concat(z," ").concat(o),Q].concat(c(a));i?B.isIncludeFilter(o,i)&&e.apply(void 0,c(u)):e.apply(void 0,c(u))}}var Z={};function ee(e,t,n){if(J()&&Z[e]){var r=Z[e];$("[[ PerfCheck ]] (".concat(e,"/").concat(t,") costs ").concat(Date.now()-r," ms")),n&&te(e)}}function te(e){Z[e]=0}var ne=G.DEFAULT_API_URL,re=G.DEFAULT_USER_LS_KEY,oe=G.PLAT_HEL,ae=G.PLAT_UNPKG,ie=G.DEFAULT_API_PREFIX,ue=G.CORE_VER,ce=G.KEY_CSS_LINK_TAG_ADDED,pe=G.KEY_STYLE_TAG_ADDED,le=G.KEY_IGNORE_CSS_PREFIX_LIST,se=G.KEY_IGNORE_STYLE_TAG_KEY,fe=G.KEY_IGNORE_CSS_PREFIX_2_KEYS;function de(e){return{apiMode:"get",apiPrefix:(e||{}).apiPrefix,apiSuffix:"",apiPathOfApp:ne,apiPathOfAppVersion:"",getSubAppAndItsVersionFn:null,customMetaUrl:"",customMetaJsonpUrl:"",getMeta:null,onFetchMetaFailed:null,strictMatchVer:!0,getUserName:null,userLsKey:re,shouldUseGray:null,trustAppNames:null,semverApi:null,hook:{}}}function ve(e){return i(i({isConfigOverwrite:!1,platform:e,appName2Comp:{},appName2Lib:{},appName2isLibAssigned:{},appName2EmitApp:{},appName2verLoadStatus:{},appName2verEmitLib:{},appName2verEmitApp:{},appName2verStyleStr:{},appName2verStyleFetched:{},appName2verExtraCssList:{},appName2verAppVersion:{},appName2verCustomData:{},appName2app:{},appName2appVersion:{},appName2styleStr:{},appGroupName2firstVer:{},isOriginInitCalled:!1},de()),{},{origin:de({apiPrefix:ie})})}function me(){var e={};return{on:function(t,n){var r=e[t];if(!r){var o=[];e[t]=o,r=o}r.push(n)},emit:function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];var a=e[t];if(a){var i=a.slice();i.forEach((function(e){return e.apply(void 0,r)}))}},off:function(t,n){var r=e[t];if(r)for(var o=0,a=r.length;o<a;o++){if(r[o]===n){r.splice(o,1);break}}}}}function ge(e){[ce,pe,le,se,fe].forEach((function(t){return E(e,t,function(e){return e===le?[]:{}}(t))}))}function _e(){var e=he();if(e){var t=e.cacheRoot;E(t,"appGroupName2platform"),E(t,"common");var n=t.caches;return Object.keys(n).forEach((function(e){var t=n[e];E(t,"appGroupName2firstVer"),E(t,"appName2isLibAssigned"),E(t,"appName2verExtraCssList"),E(t,"appName2verCustomData"),E(t,"hook"),E(t,"origin",de()),E(t.origin,"hook")})),ge(t.common),void(e.userEventBus||(e.userEventBus=me()))}ge((e=function(){var e=ve(ae),t=ve(oe),n={platform:oe,platformHint:"the platform value here does not make any sense!",appName2platform:{},appGroupName2platform:{},caches:o(o({},ae,e),oe,t),common:{}},r=me(),a=me();return{ver:ue,isStyleObInit:!1,nativeHeadAppend:null,nativeBodyAppend:null,patchedHeadAppend:null,patchedBodyAppend:null,createFeature:b(),eventBus:r,userEventBus:a,cacheRoot:n,unpkgCache:e,helCache:t,dev:{setLogMode:B.setLogMode,setLogFilter:B.setLogFilter}}}()).cacheRoot.common),d().__HEL_MICRO_SHARED__=e}function he(){return d().__HEL_MICRO_SHARED__}function ye(){return"unpkg"}function be(e){var t=e||"unpkg",n=Ae(),r=n.caches[t];if(!r){var o=p(e);if("string"!==o)throw console.error("invalid plaform:",e),new Error("fatal error: platform only can be a string, now it is ".concat(o));var a=ve(e);n.caches[t]=a,r=a}return r}function Ae(){return he().cacheRoot}var Ee={getCustomData:function(e,t,n){var r=n.versionId,o=E(be(n.platform).appName2verCustomData,e);return E(o,t)[r||j]},getAppMeta:function(e,t){return be(t).appName2app[e]},setVerLoadStatus:function(e,t,n,r){var o=r||{},a=o.versionId;A(be(o.platform)[n],e,a||j,t)},getVerLoadStatus:function(e,t,n){var r,o=n||{},a=o.versionId,i=be(o.platform)[t],u=a||j;return(null===(r=i[e])||void 0===r?void 0:r[u])||V.NOT_LOAD},ensureOnlineModule:function(e,t,n){if(!e[j]){var r=Ee.getAppMeta(t,n),o=e[null==r?void 0:r.online_version];o&&(e[j]=o)}}};function Se(e,t){$("[[ core:setEmitApp ]] appName,emitApp:",e,t);var n=t.versionId,r=be(t.platform),o=r.appName2verEmitApp,a=r.appName2Comp,i=r.appName2EmitApp;E(o,e)[j]||(a[e]=t.Comp,i[e]=t,A(o,e,j,t)),n&&A(o,e,n,t)}var Le=G.KEY_CSS_LINK_TAG_ADDED,Ne=G.KEY_STYLE_TAG_ADDED,Oe=G.KEY_IGNORE_CSS_PREFIX_LIST,Ie=G.KEY_IGNORE_STYLE_TAG_KEY,Te=G.KEY_IGNORE_CSS_PREFIX_2_KEYS;function Pe(e){return E(Ae().common,e)}function Ce(e){return Ae().common[e]}function De(e,t){var n=Pe(e)[t];return void 0!==n?n:null}function Me(e,t,n){Pe(e)[t]=n}var Re={setIgnoreCssPrefix:function(e){L(Ce(Oe),e)},setIgnoreStyleTagKey:function(e){Re.getIgnoreStyleTagMap()[e]=1},getIgnoreStyleTagMap:function(){return Ce(Ie)},setIgnoreCssPrefixKey:function(e,t){var n=De(Te,e);n||Me(Te,e,n=[]),L(n,t)},getIgnoreCssPrefixKeys:function(e){return Ce(Te)[e]||[]},getMatchedIgnoreCssPrefix:function(e){for(var t=Ce(Oe),n="",r=0;r<t.length;r++){var o=t[r];if(e.startsWith(o)){n=o;break}}return n},getIgnoreCssPrefixCssUrlList:function(e){var t=De(Le,e);return t||Me(Le,e,t=[]),t},setIgnoreCssPrefixCssUrl:function(e,t){Re.getIgnoreCssPrefixCssUrlList(e).push(t)},getStyleTagText:function(e){return De(Ne,e)||""},clearStyleTagText:function(e){Me(Ne,e,"")},appendStyleTagText:function(e,t){var n=Re.getStyleTagText(e);Me(Ne,e,"".concat(n," ").concat(t))}};function xe(e,t){var n=e.apiMode,r=e.apiPrefix,o=e.apiSuffix,a=e.apiPathOfApp,i=e.apiPathOfAppVersion,u=e.getSubAppAndItsVersionFn,c=e.onFetchMetaFailed,p=e.strictMatchVer,l=e.getUserName,s=e.userLsKey,f=e.shouldUseGray,d=e.getApiPrefix,v=e.trustAppNames,m=e.platform,g=e.origin,_={apiMode:n,apiPrefix:r,apiSuffix:o,apiPathOfApp:a,apiPathOfAppVersion:i,getSubAppAndItsVersionFn:u,onFetchMetaFailed:c,strictMatchVer:p,getUserName:l,userLsKey:s,shouldUseGray:f,getApiPrefix:d,trustAppNames:v,hook:e.hook,platform:m,customMetaUrl:e.customMetaUrl,customMetaJsonpUrl:e.customMetaJsonpUrl,getMeta:e.getMeta};return t&&(_.origin=g),_}function we(e){return Ae().appGroupName2platform[e]||"unpkg"}function je(e){return Ae().appName2platform[e]||"unpkg"}function Ge(e,t){var n=t.customKey,r=t.platform,o=E(be(void 0===r?je(e):r).appName2verCustomData,e);return E(o,n)}var Fe=F.STYLE_TAG_ADDED,Ve=F.CSS_LINK_TAG_ADDED;function Ke(){return he().eventBus}var Ue={styleTagAdded:function(e){return"".concat(Fe,"/").concat(e)},cssLinkTagAdded:function(e){return"".concat(Ve,"(").concat(e,")")}};function ke(e,t,n){var r=(n||{}).appGroupName,o=t.versionId,a=t.appProperties,i=t.platform||n.platform,u=be(i),c=u.appName2verEmitLib,l=u.appName2Lib,s=u.appName2isLibAssigned,f=Ee.getAppMeta(e,i),d=function(e){var t=l[e];t?"object"===p(t)&&0===Object.keys(t).length&&Object.assign(t,a):l[e]=a,s[e]=!0};d(e),r?d(r):f&&d(f.app_group_name),$("[[ core:setEmitLib ]] appMeta:",f),E(c,e)[j]||A(c,e,j,a),o&&A(c,e,o,a)}function He(e,t){return be(t).appName2app[e]}function Ye(e,t,n){Ee.setVerLoadStatus(e,t,"appName2verLoadStatus",n)}function Be(e,t){return e.split("@").slice(1).join("@")||t||e}function Xe(e){return"js"===e||"mjs"===e}function We(e,t){var n=b();$("[[ core:tryGetVersion ]] may include ver source > ".concat(n));var r=be(t).appGroupName2firstVer[e]||"";if(n.includes("https://")||n.includes("http://")){var o=u(n.split("//"),2)[1],a=o.split("/");if(r){if(o.includes("/".concat(r,"/"))){if(r.startsWith("@"))return Be(r.split("/")[1]||"");var i=a.indexOf(r);if(!a[i-1].startsWith("@"))return Be(r)}var c=a[1],p=a[2];if("static"===c&&Xe(p)||Xe(c))return Be(r)}if(o.indexOf("@")>=0){var l=a.filter((function(e){return e.includes("@")})),s=l.findIndex((function(e){return e.startsWith("@")}));return Be(s>=0?l[s+1]||"":l[0]||"",r)}var f=u(o.split("/".concat(t,"/")),2)[1];return u((void 0===f?"":f).split("/"),1)[0]||r}return r}function Je(e,t){return e===j?t||"":e.includes("_")?e.substring(0,e.length-15):t||""}var qe=!1,ze=!1;var Qe=G.KEY_ASSET_CTX;function $e(e,t){if(!t||!["LINK","SCRIPT"].includes(t.tagName))return e(t);var n=t.href,r=t.tagName,o=t.src,a="LINK"===r,i=De(Qe,n||o||"")||{},u=i.platform,c=i.groupName,p=i.name,l=i.ver,s=i.beforeAppend,f=t;if(s){var d=a?"href":"src",v=t.getAttribute(d);f=s({el:t,nativeAppend:e,setAssetUrl:function(e){return t.setAttribute(d,e)},url:v,tagName:r})||t}return u&&function(e,t){var n=t.platform,r=t.groupName,o=t.name,a=t.ver;R(e,"el",t.elName),R(e,"plat",n),R(e,"gname",r),R(e,"name",o),R(e,"ver",a)}(f,{platform:u,groupName:c,name:p,ver:l,elName:a?"HelLink":"HelScript"}),e(f)}var Ze="/* @helstart ".length;function et(e,t){var n=e.tagName,r=e.innerText,o=e.href;if(["STYLE","LINK"].includes(n))if("STYLE"!==n){(function(e,t){var n=Ke(),r=Re.getMatchedIgnoreCssPrefix(t);return r&&(Re.setIgnoreCssPrefixCssUrl(r,t),n.emit(Ue.cssLinkTagAdded(r),{nodes:[e]})),r})(e,o)&&x(e)}else{if(!r)return;var a=r.indexOf("/* @helstart ");if(a<0)return;var i=r.indexOf(" @helend */");if(i<0)return;var u=r.substring(Ze+a,i);if(u){var c=u.trim(),p="",l=c;if(c.includes("/")){var s=c.split("/");p=s[0],l=s[1]}R(e,"gname",l),p&&R(e,"plat",p),t[c]&&x(e);var f=Ke();Re.appendStyleTagText(c,r),f.emit(Ue.styleTagAdded(c),{nodes:[e]})}}}function tt(e,t){var n=e.tagName,r=e.src,o=void 0===r?"":r;if("SCRIPT"!==n)return!1;if(!o.endsWith(".hot-update.js"))return!1;var a=Re.getMatchedIgnoreCssPrefix(o);if(!a)return!1;var i=Re.getIgnoreCssPrefixKeys(a);if(!i.length)return!1;var u=!1;return i.forEach((function(e){t[e]&&(!function(e){var t=f();if(t){var n=t.document.head.querySelectorAll('style[data-gname="'.concat(e,'"]'));if(n.length)Re.clearStyleTagText(e),n.forEach((function(t){x(t),Re.appendStyleTagText(e,t.innerText)})),Ke().emit(Ue.styleTagAdded(e),{nodes:n})}}(e),u=!0)})),u}ct(),$("hel-micro-core ver ".concat(G.CORE_VER));var nt=F,rt=V,ot=G,at=function e(t,n,r){var o=r||{},a=o.ignoreKeys,u=void 0===a?[]:a,c=o.arg1PlatObjFnKeys,l=void 0===c?[]:c,s={};return Object.keys(n).forEach((function(o){var a=n[o];if(u.includes(o))s[o]=a;else{var c=p(a);s[o]=c&&"object"===c?e(t,a,r):"function"!==c?a:function(e,t){var n=this,r=t.fn,o=t.fnName,a=t.arg1PlatObjFnKeys.includes(o);return function(){for(var t=function(t){return i({platform:e},C(t||{}))},o=arguments.length,u=new Array(o),c=0;c<o;c++)u[c]=arguments[c];var p=u[0],l=u[1];return a?u[0]=t(p):u[1]=t(l),r.apply(n,u)}}(t,{arg1PlatObjFnKeys:l,fn:a,fnName:o})}})),s},it=w,ut=function(){return"more details see: https://tnfe.github.io/hel/docs/tutorial/attention-is-subapp",console.log("%c".concat("WARNING: calling isSubApp is unsafe, use hel-iso.isSubApp instead,\nmore details see: https://tnfe.github.io/hel/docs/tutorial/attention-is-subapp"),"color:red;"),!qe};function ct(e){e&&ht(e),function(e){if(e&&(qe=!1,ze=!1),!ze){ze=!0;var t=f();void 0===t.__MASTER_APP_LOADED__&&(t.__MASTER_APP_LOADED__=!0,qe=!0)}}(!!e),_e(),W(),function(){var e=f();if(!e.__POWERED_BY_QIANKUN__&&!e.__DISABLE_HEL_MONKEY_PATCH__){var t=he(),n=e.document,r=t.nativeHeadAppend,o=t.nativeBodyAppend;if(!r&&n){var a=n.head,i=n.body;if(r=a.appendChild.bind(a),t.nativeHeadAppend=r,i)o=i.appendChild.bind(i),t.nativeBodyAppend=o;else{var u=new(v())((function(e){for(var n,r=0;r<e.length;r++){var a=e[r].addedNodes;if(n=m(a,"BODY"))break}n&&(o=n.appendChild.bind(n),t.nativeBodyAppend=o,n.appendChild=function(e){return $e(p(o,n,"body"),e)},u.disconnect())})),c=m(n.childNodes,"HTML");c&&u.observe(c,{childList:!0})}var p=function(n,r,o){var a=t.patchedHeadAppend,i=t.patchedBodyAppend,u="head"===o;if(a&&u)return a;if(i&&!u)return i;if(e.__POWERED_BY_WUJIE__)return n;var c=e.Element;return c?c.prototype.appendChild.bind(r):n};a.appendChild=function(e){return $e(p(r,a,"head"),e)},i&&(i.appendChild=function(e){return $e(p(o,i,"body"),e)})}}}(),function(){var e=he(),t=f(),n=e.isStyleObInit,r=t.document;if(!n&&r){e.isStyleObInit=!0;var o=Re.getIgnoreStyleTagMap(),a=v();if(a)new a((function(e){e.forEach((function(e){for(var t=e.addedNodes,n=e.removedNodes,r=t.length,a=0;a<r;a++)et(t[a],o);for(var i=n.length,u=0;u<i&&!tt(n[u],o);u++);}))})).observe(document.head,{childList:!0})}}()}var pt=ye,lt=be,st=q,ft=J,dt=$,vt=function(e){J()&&!Z[e]&&(Z[e]=Date.now())},mt=ee,gt=te,_t=f,ht=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=null;null!==(t=s)&&void 0!==t&&t.__HEL_MICRO_SHARED__&&(r=s.__HEL_MICRO_SHARED__),s=n?i(i({},s),e):e,r&&(s.__HEL_MICRO_SHARED__=r)},yt=function(e,t){var n,r=t||{},o=r.versionId,a=r.platform,i=be(a),u=i.appName2verEmitApp,c=i.appName2Comp,p=i.strictMatchVer,l=i.appName2EmitApp,s=null!==(n=r.strictMatchVer)&&void 0!==n?n:p,f=E(u,e);Ee.ensureOnlineModule(f,e,a);var d=f[o||j],v=c[e],m=v?{Comp:v}:null,g=s?null:l[e]||m,_=d||g||null;return $("[[ core:getVerApp ]] appName,options,result:",e,r,_),_},bt=Se,At=function(e,t){var n,r=t||{},o=r.versionId,a=be(r.platform),i=a.appName2verEmitLib,u=a.appName2Lib,c=a.strictMatchVer,p=a.appName2isLibAssigned,l=null!==(n=r.strictMatchVer)&&void 0!==n?n:c,s=E(i,e);Ee.ensureOnlineModule(s,e);var f=s[o||j],d=p[e]?u[e]:null,v=f||(l?null:d)||null;return $("[[ core:getVerLib ]] appName,options,result:",e,r,v),v},Et=ke,St=He,Lt=function(e,t){be(t).appName2app[e.name]=e},Nt=function(e,t){var n,r=t||{},o=r.platform,a=r.versionId,i=be(o),u=i.appName2verAppVersion,c=i.appName2appVersion[e]||null;return a&&(null===(n=u[e])||void 0===n?void 0:n[a])||c},Ot=function(e,t,n){var r=(n||{}).platform,o=be(r),a=o.appName2verAppVersion,i=o.appGroupName2firstVer,u=o.appName2appVersion,c=t.version_tag||t.sub_app_version;if(c){var p=Ee.getAppMeta(e,r);E(a,e)[j]||(A(a,e,j,t),u[e]=t),A(a,e,c,t),i[p.app_group_name]=t.sub_app_version}},It=function(e,t){var n=Ge(e,t)[t.versionId||j];return void 0!==n?n:null},Tt=function(e,t){var n=t.customValue,r=t.versionId,o=Ge(e,t);o[r||j]=n,o[j]||(o[j]=n)},Pt=De,Ct=Me,Dt=Re,Mt=function(e,t){return Ee.getVerLoadStatus(e,"appName2verLoadStatus",t)},Rt=Ye,xt=function(e,t){return Ee.getVerLoadStatus(e,"appName2verStyleFetched",t)},wt=function(e,t,n){Ee.setVerLoadStatus(e,t,"appName2verStyleFetched",n)},jt=function(e,t){var n,r=t||{},o=r.platform,a=r.versionId,i=be(o),u=i.appName2verStyleStr,c=i.appName2styleStr[e]||"";return a?(null===(n=u[e])||void 0===n?void 0:n[a])||c||"":c},Gt=function(e,t,n){var r=n||{},o=r.platform,a=r.versionId,i=be(o),u=i.appName2verStyleStr,c=i.appName2verStyleFetched,p=i.appName2styleStr;a?(A(u,e,a,t),A(c,e,a,V.LOADED)):p[e]=t},Ft=function(e,t){var n=t||{},r=n.versionId,o=E(be(n.platform).appName2verExtraCssList,e),a=o[r]||o[j]||[];return $("[[ core:getVerExtraCssList ]] options,cssList:",n,a),a},Vt=function(e,t,n){var r=n||{},o=r.versionId,a=be(r.platform).appName2verExtraCssList;$("[[ core:setVerExtraCssList ]] cssList:",t),E(a,e)[j]||A(a,e,j,t),o&&A(a,e,o,t)},Kt=We,Ut=Je,kt=function(e){return xe(be(e),!0)},Ht=we,Yt=function(e,t,n){var r=Ae().appGroupName2platform;return!n&&r[e]||(r[e]=t),we(e)},Bt=function(e,t,n){var r=Ae().appName2platform;return!n&&r[e]||(r[e]=t),je(e)},Xt=je,Wt=function(e,t){var n=be(t),r=xe(e);n.isConfigOverwrite||(n.isConfigOverwrite=!0,S(n,r))},Jt=function(e,t){var n=be(e),r="[[ core:originInit ]] invalid call, it can only been called";if(n.isConfigOverwrite)$("".concat(r," before init"));else if(n.isOriginInitCalled)$("".concat(r," one time"));else{var o=xe(t);n.isOriginInitCalled=!0,S(n.origin,o)}},qt=function(e){var t=he(),n=t.nativeHeadAppend,r=t.nativeBodyAppend,o=e.headAppend||null,a=e.bodyAppend||null,i=function(e){return"pass same ".concat(e," handle, hel will ignore it for avlid 'Maximum call stack size exceeded'")};o&&o===n?console.error(i("headAppend")):t.patchedHeadAppend=o,a&&a===r?console.error(i("bodyAppend")):t.patchedBodyAppend=a},zt=Ke,Qt=function(){return he().userEventBus},$t=Ue,Zt=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.platform||we(e),o=n.versionId||We(e,r),a=n.appName||Je(o,e);$("[[ core:libReady ]] appGroupName ".concat(e,", appName ").concat(a,", versionId ").concat(o));var i=He(a,r);null!=i&&i.__fromCust&&(o=n.versionId||i.online_version,a=i.name,$("[[ core:libReady ]] fromCust, appGroupName ".concat(e,", appName ").concat(a,", versionId ").concat(o)));var u={platform:r,appName:a,appGroupName:e,versionId:o,appProperties:t,Comp:function(){},lifecycle:{}};ke(a,u,{appGroupName:e,platform:r}),Ye(a,V.LOADED,{versionId:o,platform:r});var c=Ke();ee("preFetch","libReady"),c.emit(F.SUB_LIB_LOADED,u)},en=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.lifecycle,o=n.platform||we(e),a=n.versionId||We(e,o),i=n.appName||Je(a,e),u={Comp:t,appName:i,appGroupName:e,lifecycle:r,platform:o,versionId:a,isLib:!1};Se(i,u),Ye(i,V.LOADED,{versionId:a,platform:o});var c=Ke();ee("preFetch","appReady"),c.emit(F.SUB_APP_LOADED,u)}}.call(this,n("7226"))},"8bbf":function(t,n){t.exports=e},fbd2:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return f}));var r,o,a,i,u,c=(r=l(),o=r.__HEL_LOAD_ASSETS_FLAG__,a=r.__HEL_ISO_FLAG__,i=r.__MASTER_APP_LOADED__,{isLoadAssetsCalled:1===o,isFirstMod:void 0===a,isBeforeCore:void 0===i});void 0===(u=l()).__HEL_ISO_FLAG__&&(u.__HEL_ISO_FLAG__=1);var p=function(){var e=l(),t=e.location,n=e.__HEL_MICRO_SHARED__,r=c.isFirstMod,o=c.isBeforeCore;if(c.isLoadAssetsCalled)return!1;if(!r)return!1;if(o)return!0;var a=function(){var e="";try{throw new Error("codeHost")}catch(n){var t=n.stack.split("\n");e=t[t.length-1]||""}return(e.split("//")[1]||"").split("/")[0]}();if(t&&t.host===a)return!0;if(n){var i=n.cacheRoot,u=i.appGroupName2platform,p=i.appName2platform,s=u||p||{};if(!Object.keys(s).length)return!0}return!1}();function l(){return window||e}function s(){return p}var f=s}).call(this,n("7226"))},fc8e:function(e,t,n){!function(e,t){"use strict";
|
|
2
2
|
/*! *****************************************************************************
|
|
3
3
|
Copyright (c) Microsoft Corporation.
|
|
4
4
|
|
|
@@ -12,5 +12,5 @@
|
|
|
12
12
|
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
13
13
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
14
14
|
PERFORMANCE OF THIS SOFTWARE.
|
|
15
|
-
***************************************************************************** */var n=function(){return(n=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function r(e,n){var r=n||(null===t.getAppPlatform||void 0===t.getAppPlatform?void 0:t.getAppPlatform(e)),o=t.getSharedCache(r).appName2Lib;return o[e]||(o[e]={}),o[e]}var o="4.12.1";t.log("hel-lib-proxy ver ".concat(o));var a=t.getUserEventBus,i=t.helConsts,u=a();function c(e,r){var o=n({},r||{});return o.platform=o.platform||i.DEFAULT_PLAT,t.getVerLib(e,o)}function p(e,n){var o,a=!0,u="";n&&("string"==typeof n?u=n:(u=n.platform||"",a=null===(o=n.asProxy)||void 0===o||o));var c=r(e,u=u||t.getAppPlatform(e)||i.DEFAULT_PLAT);return"function"==typeof Proxy&&a&&(c=function(e,n,o){return new Proxy(n,{get:function(n,a){var i=String(a);return t.log("[[getLibProxy]] call lib [".concat(e,"] method [").concat(i,"]")),Object.keys(n).length?n[i]:r(e,o)[i]}})}(e,c,u)),t.log("[[ exposeLib ]] libName, libObj",e,c),c}function l(e,r,o){var a=function(e){var r={allowDup:!1,platform:t.helConsts.DEFAULT_PLAT};return n(n({},r),e||{})}(o);t.libReady(e,r,a)}function
|
|
16
|
-
//# sourceMappingURL=app~493df0b3.
|
|
15
|
+
***************************************************************************** */var n=function(){return(n=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function r(e,n){var r=n||(null===t.getAppPlatform||void 0===t.getAppPlatform?void 0:t.getAppPlatform(e)),o=t.getSharedCache(r).appName2Lib;return o[e]||(o[e]={}),o[e]}var o="4.12.1";t.log("hel-lib-proxy ver ".concat(o));var a=t.getUserEventBus,i=t.helConsts,u=a();function c(e,r){var o=n({},r||{});return o.platform=o.platform||i.DEFAULT_PLAT,t.getVerLib(e,o)}function p(e,n){var o,a=!0,u="";n&&("string"==typeof n?u=n:(u=n.platform||"",a=null===(o=n.asProxy)||void 0===o||o));var c=r(e,u=u||t.getAppPlatform(e)||i.DEFAULT_PLAT);return"function"==typeof Proxy&&a&&(c=function(e,n,o){return new Proxy(n,{get:function(n,a){var i=String(a);return t.log("[[getLibProxy]] call lib [".concat(e,"] method [").concat(i,"]")),Object.keys(n).length?n[i]:r(e,o)[i]}})}(e,c,u)),t.log("[[ exposeLib ]] libName, libObj",e,c),c}function l(e,r,o){var a=function(e){var r={allowDup:!1,platform:t.helConsts.DEFAULT_PLAT};return n(n({},r),e||{})}(o);t.libReady(e,r,a)}function s(e,n,r){t.appReady(e,n,r)}function f(e,n){return t.getVerApp(e,n)}var d=t.isSubApp;function v(){return!t.isSubApp()}var m=Object.freeze({__proto__:null,VER:o,eventBus:u,getLib:c,exposeLib:p,libReady:l,appReady:s,exposeApp:f,isSubApp:d,isMasterApp:v}),g=t.commonUtil.purify,_=["isMasterApp","isSubApp","eventBus"],h=["appReady","libReady"];function y(e,t){return t&&"object"==typeof t&&!Array.isArray(t)?n({platform:e},g(t)):{platform:e}}var b=function e(t){var n=function(e,t){var n={};return Object.keys(e).forEach((function(r){var o=e[r];if(_.includes(r))n[r]=o;else if(h.includes(r))n[r]=function(e,t){return function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var o=n[0],a=n[1],i=n[2];return e(o,a,y(t,void 0===i?{}:i))}}(o,t);else{var a="exposeLib"===r;n[r]=function(e,t,n){return function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];var a=r[0],i=r[1];return e(a,!n||"string"!=typeof i&&void 0!==i?y(t,i):i||t)}}(o,t,a)}})),n}(m,t);return n.createInstance=e,n},A=o,E=l,S=p,L=c,N=d,O=v,I=u,T=s,P=f,C={VER:A,libReady:E,exposeLib:S,getLib:L,isSubApp:N,isMasterApp:O,eventBus:I,appReady:T,exposeApp:P,createInstance:b};!function(e){var n=t.getGlobalThis();t.commonUtil.isServer()||n.HelLibProxy||(t.log("auto bind hel-lib-proxy to global.HelLibProxy"),n.HelLibProxy=e)}(C),e.VER=A,e.appReady=T,e.createInstance=b,e.default=C,e.eventBus=I,e.exposeApp=P,e.exposeLib=S,e.getLib=L,e.isMasterApp=O,e.isSubApp=N,e.libReady=E,Object.defineProperty(e,"__esModule",{value:!0})}(t,n("8779"))}})}));
|
|
16
|
+
//# sourceMappingURL=app~493df0b3.fd0e3f4a.js.map
|