agent-hel-react-comps 2.4.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 (63) hide show
  1. package/README.md +68 -0
  2. package/hel_dist/asset-manifest.json +19 -0
  3. package/hel_dist/favicon.ico +0 -0
  4. package/hel_dist/hel-meta.json +64 -0
  5. package/hel_dist/index.html +1 -0
  6. package/hel_dist/manifest.json +10 -0
  7. package/hel_dist/robots.txt +3 -0
  8. package/hel_dist/static/css/291.0bcd258f.chunk.css +2 -0
  9. package/hel_dist/static/css/291.0bcd258f.chunk.css.map +1 -0
  10. package/hel_dist/static/css/622.0bcd258f.chunk.css +2 -0
  11. package/hel_dist/static/css/622.0bcd258f.chunk.css.map +1 -0
  12. package/hel_dist/static/js/291.8f4b8910.chunk.js +3 -0
  13. package/hel_dist/static/js/291.8f4b8910.chunk.js.LICENSE.txt +9 -0
  14. package/hel_dist/static/js/291.8f4b8910.chunk.js.map +1 -0
  15. package/hel_dist/static/js/622.15f5dd58.chunk.js +3 -0
  16. package/hel_dist/static/js/622.15f5dd58.chunk.js.LICENSE.txt +9 -0
  17. package/hel_dist/static/js/622.15f5dd58.chunk.js.map +1 -0
  18. package/hel_dist/static/js/main.e596336d.js +3 -0
  19. package/hel_dist/static/js/main.e596336d.js.LICENSE.txt +16 -0
  20. package/hel_dist/static/js/main.e596336d.js.map +1 -0
  21. package/hel_dist/static/media/logo.6ce24c58023cc2f8fd88fe9d219db6c6.svg +1 -0
  22. package/hel_proxy/entry.js +23 -0
  23. package/hel_proxy_es/entry.js +14 -0
  24. package/lib/components/HelloRemoteReactComp/App.css +50 -0
  25. package/lib/components/HelloRemoteReactComp/App.test.tsx +10 -0
  26. package/lib/components/HelloRemoteReactComp/App.tsx +37 -0
  27. package/lib/components/HelloRemoteReactComp/index.css +13 -0
  28. package/lib/components/HelloRemoteReactComp/index.tsx +4 -0
  29. package/lib/components/HelloRemoteReactComp/logo.svg +1 -0
  30. package/lib/components/index.ts +7 -0
  31. package/lib/configs/subApp.ts +9 -0
  32. package/lib/entrance/libProperties.ts +5 -0
  33. package/lib/entrance/libTypes.ts +10 -0
  34. package/lib/index.tsx +36 -0
  35. package/lib/loadApp.tsx +20 -0
  36. package/lib/react-app-env.d.ts +71 -0
  37. package/lib/setupProxy.js +23 -0
  38. package/lib/setupTests.ts +5 -0
  39. package/package.json +131 -0
  40. package/scripts/build.js +217 -0
  41. package/scripts/check.js +13 -0
  42. package/scripts/meta.js +21 -0
  43. package/scripts/postinstall.js +10 -0
  44. package/scripts/prepublishOnly.js +28 -0
  45. package/scripts/replaceToRelativePath.js +31 -0
  46. package/scripts/start.js +154 -0
  47. package/scripts/test.js +52 -0
  48. package/src/components/HelloRemoteReactComp/App.css +50 -0
  49. package/src/components/HelloRemoteReactComp/App.test.tsx +10 -0
  50. package/src/components/HelloRemoteReactComp/App.tsx +37 -0
  51. package/src/components/HelloRemoteReactComp/index.css +13 -0
  52. package/src/components/HelloRemoteReactComp/index.tsx +4 -0
  53. package/src/components/HelloRemoteReactComp/logo.svg +1 -0
  54. package/src/components/index.ts +7 -0
  55. package/src/configs/subApp.ts +9 -0
  56. package/src/entrance/libProperties.ts +5 -0
  57. package/src/entrance/libTypes.ts +10 -0
  58. package/src/index.tsx +36 -0
  59. package/src/loadApp.tsx +20 -0
  60. package/src/react-app-env.d.ts +71 -0
  61. package/src/setupProxy.js +23 -0
  62. package/src/setupTests.ts +5 -0
  63. package/tsconfig.json +28 -0
package/README.md ADDED
@@ -0,0 +1,68 @@
1
+ ## hel-tpl-remote-react-comps-ts
2
+ 最简单的远程react组件模板(ts)
3
+ codesandbox: https://codesandbox.io/s/demo-load-remote-react-comp-2bnpl0?file=/src/App.js
4
+
5
+ ### 发布 npm
6
+ 发布远程组件到npm
7
+ ```bash
8
+ npm run build
9
+ npm publish
10
+ ```
11
+
12
+ ### 本地联调
13
+ 辅助模块使用方的custom配置,基于当前模块的已构建产物进行联调
14
+ ```bash
15
+ npm run build_cust
16
+ cd hel_dist
17
+ # 如未安装 http-server,执行 npm i http-server -g 即可
18
+ # 指导端口可执行 http-server --cors -p 8081
19
+ http-server --cors
20
+ ```
21
+
22
+ ### chunk 设置
23
+ 经过测试对比验证,对应带样式文件的组件项目,设置为4是最佳的,刚好拆分为 runtime-main.js main.js chunk.js chunk.css
24
+ 且 chunk.css 可以直接注入到 index.html 里供 hel-micro 控制是否需要加载
25
+
26
+ // 同时也避免报错:
27
+ // chunk runtime-main [entry]
28
+ // Cannot convert undefined or null to object
29
+ ```js
30
+ new webpack.optimize.LimitChunkCountPlugin({
31
+ // 必须大于或等于 1,
32
+ maxChunks: 4,
33
+ }),
34
+ ```
35
+
36
+ ### shouldInlineRuntimeChunk
37
+ 设置为false,不产生产物map文件
38
+
39
+
40
+ ### 单文件css
41
+ 控制 `splitChunks.cacheGroups.css` 为
42
+ ```ts
43
+ const cacheGroupsCss = {
44
+ name: "css",
45
+ test: /\.css$/,
46
+ minChunks: 1,
47
+ enforce: true,
48
+ }
49
+ ```
50
+ 有利于做 hel-micro 上层适配库做 shadow 处理
51
+ 见:https://juejin.cn/post/6992887038093557796
52
+
53
+
54
+ ### css 插入规则
55
+ 当 `src/index.ts` 导入函数全部写为 `import()`函数方式时,构建生成的index.html里不包含有css文件link,
56
+ css文件link是由runtime.main.js动态拼接到header里的,这不是我们期望的结果,因为我们想让上层适配库(例如`hel-micro-react`)
57
+ 有机会可控制css加载时机,从而方便做shaw-dom隔离
58
+
59
+ 而写为头部静态导入时,就包含了css文件link了。
60
+
61
+
62
+ ### cjs包
63
+ 以下package.json里的script命令暂时移出,这里涉及到如何使用webpack打包组件库的知识点,欢迎同事贡献
64
+ > 待后续hel-micro支持非浏览器环境能解析远程模块就不需要了,无该命名不影响远程模块的提供和使用,仅影响使用方执行测试是,jest需要自己打桩,如果提供了直接使用`hel_bundle/xxx.js`文件作文打桩对象会方便一些
65
+ ```bash
66
+ "build_bundle": "tsc & cross-env BUNDLE=true node ./scripts/replaceToRelativePath.js & cross-env BUNDLE=true node scripts/build.js",
67
+ "build_npm": "npm run build_proxy && npm run build_bundle",
68
+ ```
@@ -0,0 +1,19 @@
1
+ {
2
+ "files": {
3
+ "main.js": "https://unpkg.com/agent-hel-react-comps@2.4.0/hel_dist/static/js/main.e596336d.js",
4
+ "static/css/291.0bcd258f.chunk.css": "https://unpkg.com/agent-hel-react-comps@2.4.0/hel_dist/static/css/291.0bcd258f.chunk.css",
5
+ "static/js/291.8f4b8910.chunk.js": "https://unpkg.com/agent-hel-react-comps@2.4.0/hel_dist/static/js/291.8f4b8910.chunk.js",
6
+ "static/css/622.0bcd258f.chunk.css": "https://unpkg.com/agent-hel-react-comps@2.4.0/hel_dist/static/css/622.0bcd258f.chunk.css",
7
+ "static/js/622.15f5dd58.chunk.js": "https://unpkg.com/agent-hel-react-comps@2.4.0/hel_dist/static/js/622.15f5dd58.chunk.js",
8
+ "static/media/logo.svg": "https://unpkg.com/agent-hel-react-comps@2.4.0/hel_dist/static/media/logo.6ce24c58023cc2f8fd88fe9d219db6c6.svg",
9
+ "index.html": "https://unpkg.com/agent-hel-react-comps@2.4.0/hel_dist/index.html",
10
+ "main.e596336d.js.map": "https://unpkg.com/agent-hel-react-comps@2.4.0/hel_dist/static/js/main.e596336d.js.map",
11
+ "291.0bcd258f.chunk.css.map": "https://unpkg.com/agent-hel-react-comps@2.4.0/hel_dist/static/css/291.0bcd258f.chunk.css.map",
12
+ "291.8f4b8910.chunk.js.map": "https://unpkg.com/agent-hel-react-comps@2.4.0/hel_dist/static/js/291.8f4b8910.chunk.js.map",
13
+ "622.0bcd258f.chunk.css.map": "https://unpkg.com/agent-hel-react-comps@2.4.0/hel_dist/static/css/622.0bcd258f.chunk.css.map",
14
+ "622.15f5dd58.chunk.js.map": "https://unpkg.com/agent-hel-react-comps@2.4.0/hel_dist/static/js/622.15f5dd58.chunk.js.map"
15
+ },
16
+ "entrypoints": [
17
+ "static/js/main.e596336d.js"
18
+ ]
19
+ }
Binary file
@@ -0,0 +1,64 @@
1
+ {
2
+ "app": {
3
+ "name": "agent-hel-react-comps",
4
+ "app_group_name": "agent-hel-react-comps",
5
+ "git_repo_url": "",
6
+ "online_version": "2.4.0",
7
+ "build_version": "2.4.0"
8
+ },
9
+ "version": {
10
+ "plugin_ver": "4.3.11",
11
+ "extract_mode": "build",
12
+ "sub_app_name": "agent-hel-react-comps",
13
+ "sub_app_version": "2.4.0",
14
+ "src_map": {
15
+ "webDirPath": "https://unpkg.com/agent-hel-react-comps@2.4.0/hel_dist",
16
+ "htmlIndexSrc": "https://unpkg.com/agent-hel-react-comps@2.4.0/hel_dist/index.html",
17
+ "extractMode": "all",
18
+ "iframeSrc": "",
19
+ "chunkCssSrcList": [
20
+ "https://unpkg.com/agent-hel-react-comps@2.4.0/hel_dist/static/css/291.0bcd258f.chunk.css",
21
+ "https://unpkg.com/agent-hel-react-comps@2.4.0/hel_dist/static/css/622.0bcd258f.chunk.css"
22
+ ],
23
+ "chunkJsSrcList": [
24
+ "https://unpkg.com/agent-hel-react-comps@2.4.0/hel_dist/static/js/main.e596336d.js",
25
+ "https://unpkg.com/agent-hel-react-comps@2.4.0/hel_dist/static/js/291.8f4b8910.chunk.js",
26
+ "https://unpkg.com/agent-hel-react-comps@2.4.0/hel_dist/static/js/622.15f5dd58.chunk.js"
27
+ ],
28
+ "staticCssSrcList": [],
29
+ "staticJsSrcList": [
30
+ "https://tnfe.gtimg.com/hel-external/level1/comb-16.14.0-react.js"
31
+ ],
32
+ "relativeCssSrcList": [],
33
+ "relativeJsSrcList": [],
34
+ "privCssSrcList": [],
35
+ "headAssetList": [
36
+ {
37
+ "tag": "link",
38
+ "append": false,
39
+ "attrs": {
40
+ "href": "https://unpkg.com/agent-hel-react-comps@2.4.0/hel_dist/favicon.ico",
41
+ "rel": "icon"
42
+ }
43
+ },
44
+ {
45
+ "tag": "staticScript",
46
+ "append": false,
47
+ "attrs": {
48
+ "src": "https://tnfe.gtimg.com/hel-external/level1/comb-16.14.0-react.js"
49
+ }
50
+ },
51
+ {
52
+ "tag": "script",
53
+ "append": true,
54
+ "attrs": {
55
+ "src": "https://unpkg.com/agent-hel-react-comps@2.4.0/hel_dist/static/js/main.e596336d.js",
56
+ "defer": "defer"
57
+ }
58
+ }
59
+ ],
60
+ "bodyAssetList": []
61
+ },
62
+ "html_content": "<!doctype html><html lang=\"en\"><head><meta charset=\"utf-8\"/><link rel=\"icon\" href=\"https://unpkg.com/agent-hel-react-comps@2.4.0/hel_dist/favicon.ico\"/><meta name=\"viewport\" content=\"width=device-width,initial-scale=1\"/><meta name=\"description\" content=\"Create Remote React Comp With hel-micro\"/><title>Remote React Comp</title><script src=\"https://tnfe.gtimg.com/hel-external/level1/comb-16.14.0-react.js\"></script><script defer=\"defer\" src=\"https://unpkg.com/agent-hel-react-comps@2.4.0/hel_dist/static/js/main.e596336d.js\"></script></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id=\"root\"></div></body></html>"
63
+ }
64
+ }
@@ -0,0 +1 @@
1
+ <!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="https://unpkg.com/agent-hel-react-comps@2.4.0/hel_dist/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="description" content="Create Remote React Comp With hel-micro"/><title>Remote React Comp</title><script src="https://tnfe.gtimg.com/hel-external/level1/comb-16.14.0-react.js"></script><script defer="defer" src="https://unpkg.com/agent-hel-react-comps@2.4.0/hel_dist/static/js/main.e596336d.js"></script></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
@@ -0,0 +1,10 @@
1
+ {
2
+ "short_name": "Remote React Comp",
3
+ "name": "Create Remote React Comp With hel-micro",
4
+ "icons": [
5
+ ],
6
+ "start_url": ".",
7
+ "display": "standalone",
8
+ "theme_color": "#000000",
9
+ "background_color": "#ffffff"
10
+ }
@@ -0,0 +1,3 @@
1
+ # https://www.robotstxt.org/robotstxt.html
2
+ User-agent: *
3
+ Disallow:
@@ -0,0 +1,2 @@
1
+ body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;margin:0}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}body{background-color:blue}.App{border:23px solid red;text-align:center}.MarkRemotComp{background-color:red}.App-logo{height:40vmin;pointer-events:none}@media (prefers-reduced-motion:no-preference){.App-logo{-webkit-animation:App-logo-spin 20s linear infinite;animation:App-logo-spin 20s linear infinite}}.App-header{align-items:center;background-color:#282c34;color:#fff;display:flex;flex-direction:column;font-size:calc(10px + 2vmin);justify-content:center;min-height:100vh}.App-link{color:#61dafb}@-webkit-keyframes App-logo-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes App-logo-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}
2
+ /*# sourceMappingURL=291.0bcd258f.chunk.css.map*/
@@ -0,0 +1 @@
1
+ {"version":3,"file":"static/css/291.0bcd258f.chunk.css","mappings":"AAAA,KAKE,kCAAmC,CACnC,iCAAkC,CAJlC,mIAEY,CAHZ,QAMF,CAEA,KACE,uEAEF,CCVA,KACE,qBACF,CAEA,KAEE,qBAAsB,CADtB,iBAEF,CAEA,eACE,oBACF,CAEA,UACE,aAAc,CACd,mBACF,CAEA,8CACE,UACE,mDAA4C,CAA5C,2CACF,CACF,CAEA,YAKE,kBAAmB,CAJnB,wBAAyB,CAOzB,UAAY,CALZ,YAAa,CACb,qBAAsB,CAGtB,4BAA6B,CAD7B,sBAAuB,CAJvB,gBAOF,CAEA,UACE,aACF,CAEA,iCACE,GACE,8BAAuB,CAAvB,sBACF,CAEA,GACE,+BAAyB,CAAzB,uBACF,CACF,CARA,yBACE,GACE,8BAAuB,CAAvB,sBACF,CAEA,GACE,+BAAyB,CAAzB,uBACF,CACF","sources":["components/HelloRemoteReactComp/index.css","components/HelloRemoteReactComp/App.css"],"sourcesContent":["body {\n margin: 0;\n font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',\n 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',\n sans-serif;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\ncode {\n font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',\n monospace;\n}\n","/* @helstart hel-tpl-remote-react-comps-ts @helend */\n/* TODO: use webpack style plugin to mark where the style content comes from */\nbody {\n background-color: blue;\n}\n\n.App {\n text-align: center;\n border: 23px solid red;\n}\n\n.MarkRemotComp {\n background-color: red;\n}\n\n.App-logo {\n height: 40vmin;\n pointer-events: none;\n}\n\n@media (prefers-reduced-motion: no-preference) {\n .App-logo {\n animation: App-logo-spin infinite 20s linear;\n }\n}\n\n.App-header {\n background-color: #282c34;\n min-height: 100vh;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n font-size: calc(10px + 2vmin);\n color: white;\n}\n\n.App-link {\n color: #61dafb;\n}\n\n@keyframes App-logo-spin {\n from {\n transform: rotate(0deg);\n }\n\n to {\n transform: rotate(360deg);\n }\n}\n"],"names":[],"sourceRoot":""}
@@ -0,0 +1,2 @@
1
+ body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;margin:0}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}body{background-color:blue}.App{border:23px solid red;text-align:center}.MarkRemotComp{background-color:red}.App-logo{height:40vmin;pointer-events:none}@media (prefers-reduced-motion:no-preference){.App-logo{-webkit-animation:App-logo-spin 20s linear infinite;animation:App-logo-spin 20s linear infinite}}.App-header{align-items:center;background-color:#282c34;color:#fff;display:flex;flex-direction:column;font-size:calc(10px + 2vmin);justify-content:center;min-height:100vh}.App-link{color:#61dafb}@-webkit-keyframes App-logo-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes App-logo-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}
2
+ /*# sourceMappingURL=622.0bcd258f.chunk.css.map*/
@@ -0,0 +1 @@
1
+ {"version":3,"file":"static/css/622.0bcd258f.chunk.css","mappings":"AAAA,KAKE,kCAAmC,CACnC,iCAAkC,CAJlC,mIAEY,CAHZ,QAMF,CAEA,KACE,uEAEF,CCVA,KACE,qBACF,CAEA,KAEE,qBAAsB,CADtB,iBAEF,CAEA,eACE,oBACF,CAEA,UACE,aAAc,CACd,mBACF,CAEA,8CACE,UACE,mDAA4C,CAA5C,2CACF,CACF,CAEA,YAKE,kBAAmB,CAJnB,wBAAyB,CAOzB,UAAY,CALZ,YAAa,CACb,qBAAsB,CAGtB,4BAA6B,CAD7B,sBAAuB,CAJvB,gBAOF,CAEA,UACE,aACF,CAEA,iCACE,GACE,8BAAuB,CAAvB,sBACF,CAEA,GACE,+BAAyB,CAAzB,uBACF,CACF,CARA,yBACE,GACE,8BAAuB,CAAvB,sBACF,CAEA,GACE,+BAAyB,CAAzB,uBACF,CACF","sources":["components/HelloRemoteReactComp/index.css","components/HelloRemoteReactComp/App.css"],"sourcesContent":["body {\n margin: 0;\n font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',\n 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',\n sans-serif;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\ncode {\n font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',\n monospace;\n}\n","/* @helstart hel-tpl-remote-react-comps-ts @helend */\n/* TODO: use webpack style plugin to mark where the style content comes from */\nbody {\n background-color: blue;\n}\n\n.App {\n text-align: center;\n border: 23px solid red;\n}\n\n.MarkRemotComp {\n background-color: red;\n}\n\n.App-logo {\n height: 40vmin;\n pointer-events: none;\n}\n\n@media (prefers-reduced-motion: no-preference) {\n .App-logo {\n animation: App-logo-spin infinite 20s linear;\n }\n}\n\n.App-header {\n background-color: #282c34;\n min-height: 100vh;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n font-size: calc(10px + 2vmin);\n color: white;\n}\n\n.App-link {\n color: #61dafb;\n}\n\n@keyframes App-logo-spin {\n from {\n transform: rotate(0deg);\n }\n\n to {\n transform: rotate(360deg);\n }\n}\n"],"names":[],"sourceRoot":""}
@@ -0,0 +1,3 @@
1
+ /*! For license information please see 291.8f4b8910.chunk.js.LICENSE.txt */
2
+ "use strict";(self["helJsonp_agent-hel-react-comps_1778656705326"]=self["helJsonp_agent-hel-react-comps_1778656705326"]||[]).push([[291],{987:function(e,r,n){n.d(r,{Z:function(){return a}});var o=n(363),t=n.n(o);var l=n.p+"static/media/logo.6ce24c58023cc2f8fd88fe9d219db6c6.svg",c=n(184),a={HelloRemoteReactComp:t().forwardRef((function(e,r){return t().useImperativeHandle(r,(function(){return{sayHello:function(){alert("Hello")}}})),(0,c.jsx)("div",{className:"App",children:(0,c.jsxs)("header",{className:"App-header",onClick:function(){var r;return null===(r=e.onHeaderClick)||void 0===r?void 0:r.call(e,"header click")},children:[(0,c.jsx)("img",{src:l,className:"App-logo",alt:"logo"}),(0,c.jsxs)("p",{children:[(0,c.jsx)("h1",{children:"This is a hel remote react component (ts)!www eee"}),(0,c.jsx)("h2",{children:"emitted by hel-micro"})]}),(0,c.jsx)("a",{className:"App-link",href:"https://www.baidu.com",target:"_blank",rel:"noopener noreferrer",children:"Learn hel-micro"})]})})}))}},291:function(e,r,n){n.r(r);var o=n(987);r.default=o.Z},374:function(e,r,n){var o=n(363),t=Symbol.for("react.element"),l=Symbol.for("react.fragment"),c=Object.prototype.hasOwnProperty,a=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function i(e,r,n){var o,l={},i=null,f=null;for(o in void 0!==n&&(i=""+n),void 0!==r.key&&(i=""+r.key),void 0!==r.ref&&(f=r.ref),r)c.call(r,o)&&!s.hasOwnProperty(o)&&(l[o]=r[o]);if(e&&e.defaultProps)for(o in r=e.defaultProps)void 0===l[o]&&(l[o]=r[o]);return{$$typeof:t,type:e,key:i,ref:f,props:l,_owner:a.current}}r.jsx=i,r.jsxs=i},184:function(e,r,n){e.exports=n(374)}}]);
3
+ //# sourceMappingURL=291.8f4b8910.chunk.js.map
@@ -0,0 +1,9 @@
1
+ /**
2
+ * @license React
3
+ * react-jsx-runtime.production.min.js
4
+ *
5
+ * Copyright (c) Facebook, Inc. and its affiliates.
6
+ *
7
+ * This source code is licensed under the MIT license found in the
8
+ * LICENSE file in the root directory of this source tree.
9
+ */
@@ -0,0 +1 @@
1
+ {"version":3,"file":"static/js/291.8f4b8910.chunk.js","mappings":";oNAqCA,IACA,EAAe,IAA0B,kEChCzC,EAJiB,CACfA,qBCMUC,IAAAA,YAAiB,SAAaC,EAAeC,GAMvD,OALAF,IAAAA,oBAA0BE,GAAK,iBAAO,CACpCC,SADoC,WAElCC,MAAM,QACP,EAH4B,KAM7B,gBAAKC,UAAU,MAAf,UACE,oBAAQA,UAAU,aAAaC,QAAS,kCAAML,EAAMM,qBAAZ,aAAM,OAAAN,EAAsB,eAA5B,EAAxC,WACE,gBAAKO,IAAKC,EAAMJ,UAAU,WAAWK,IAAI,UACzC,0BACE,+EACA,qDAEF,cACEL,UAAU,WACVM,KAAK,wBACLC,OAAO,SACPC,IAAI,sBAJN,iCAWP,8CC9BD,UAAeC,EAAf,2BCKiBC,EAAEC,EAAQ,KAASC,EAAEC,OAAOC,IAAI,iBAAiBC,EAAEF,OAAOC,IAAI,kBAAkBE,EAAEC,OAAOC,UAAUC,eAAeC,EAAEV,EAAEW,mDAAmDC,kBAAkBC,EAAE,CAACC,KAAI,EAAG3B,KAAI,EAAG4B,QAAO,EAAGC,UAAS,GAChP,SAASC,EAAEC,EAAEC,EAAEC,GAAG,IAAIC,EAAEC,EAAE,CAAC,EAAEC,EAAE,KAAKC,EAAE,KAAiF,IAAIH,UAAhF,IAASD,IAAIG,EAAE,GAAGH,QAAG,IAASD,EAAEL,MAAMS,EAAE,GAAGJ,EAAEL,UAAK,IAASK,EAAEhC,MAAMqC,EAAEL,EAAEhC,KAAcgC,EAAEb,EAAEmB,KAAKN,EAAEE,KAAKR,EAAEJ,eAAeY,KAAKC,EAAED,GAAGF,EAAEE,IAAI,GAAGH,GAAGA,EAAEQ,aAAa,IAAIL,KAAKF,EAAED,EAAEQ,kBAAe,IAASJ,EAAED,KAAKC,EAAED,GAAGF,EAAEE,IAAI,MAAM,CAACM,SAASzB,EAAE0B,KAAKV,EAAEJ,IAAIS,EAAEpC,IAAIqC,EAAEtC,MAAMoC,EAAEO,OAAOnB,EAAEoB,QAAS,CAAmBC,EAAQC,IAAIf,EAAEc,EAAQE,KAAKhB,uBCPxWiB,EAAOH,QAAU,EAAjBG","sources":["components/HelloRemoteReactComp/logo.svg","components/index.ts","components/HelloRemoteReactComp/App.tsx","entrance/libProperties.ts","../node_modules/react/cjs/react-jsx-runtime.production.min.js","../node_modules/react/jsx-runtime.js"],"sourcesContent":["var _g;\n\nvar _excluded = [\"title\", \"titleId\"];\n\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport * as React from \"react\";\n\nfunction SvgLogo(_ref, svgRef) {\n var title = _ref.title,\n titleId = _ref.titleId,\n props = _objectWithoutProperties(_ref, _excluded);\n\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 841.9 595.3\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _g || (_g = /*#__PURE__*/React.createElement(\"g\", {\n fill: \"#61DAFB\"\n }, /*#__PURE__*/React.createElement(\"path\", {\n d: \"M666.3 296.5c0-32.5-40.7-63.3-103.1-82.4 14.4-63.6 8-114.2-20.2-130.4-6.5-3.8-14.1-5.6-22.4-5.6v22.3c4.6 0 8.3.9 11.4 2.6 13.6 7.8 19.5 37.5 14.9 75.7-1.1 9.4-2.9 19.3-5.1 29.4-19.6-4.8-41-8.5-63.5-10.9-13.5-18.5-27.5-35.3-41.6-50 32.6-30.3 63.2-46.9 84-46.9V78c-27.5 0-63.5 19.6-99.9 53.6-36.4-33.8-72.4-53.2-99.9-53.2v22.3c20.7 0 51.4 16.5 84 46.6-14 14.7-28 31.4-41.3 49.9-22.6 2.4-44 6.1-63.6 11-2.3-10-4-19.7-5.2-29-4.7-38.2 1.1-67.9 14.6-75.8 3-1.8 6.9-2.6 11.5-2.6V78.5c-8.4 0-16 1.8-22.6 5.6-28.1 16.2-34.4 66.7-19.9 130.1-62.2 19.2-102.7 49.9-102.7 82.3 0 32.5 40.7 63.3 103.1 82.4-14.4 63.6-8 114.2 20.2 130.4 6.5 3.8 14.1 5.6 22.5 5.6 27.5 0 63.5-19.6 99.9-53.6 36.4 33.8 72.4 53.2 99.9 53.2 8.4 0 16-1.8 22.6-5.6 28.1-16.2 34.4-66.7 19.9-130.1 62-19.1 102.5-49.9 102.5-82.3zm-130.2-66.7c-3.7 12.9-8.3 26.2-13.5 39.5-4.1-8-8.4-16-13.1-24-4.6-8-9.5-15.8-14.4-23.4 14.2 2.1 27.9 4.7 41 7.9zm-45.8 106.5c-7.8 13.5-15.8 26.3-24.1 38.2-14.9 1.3-30 2-45.2 2-15.1 0-30.2-.7-45-1.9-8.3-11.9-16.4-24.6-24.2-38-7.6-13.1-14.5-26.4-20.8-39.8 6.2-13.4 13.2-26.8 20.7-39.9 7.8-13.5 15.8-26.3 24.1-38.2 14.9-1.3 30-2 45.2-2 15.1 0 30.2.7 45 1.9 8.3 11.9 16.4 24.6 24.2 38 7.6 13.1 14.5 26.4 20.8 39.8-6.3 13.4-13.2 26.8-20.7 39.9zm32.3-13c5.4 13.4 10 26.8 13.8 39.8-13.1 3.2-26.9 5.9-41.2 8 4.9-7.7 9.8-15.6 14.4-23.7 4.6-8 8.9-16.1 13-24.1zM421.2 430c-9.3-9.6-18.6-20.3-27.8-32 9 .4 18.2.7 27.5.7 9.4 0 18.7-.2 27.8-.7-9 11.7-18.3 22.4-27.5 32zm-74.4-58.9c-14.2-2.1-27.9-4.7-41-7.9 3.7-12.9 8.3-26.2 13.5-39.5 4.1 8 8.4 16 13.1 24 4.7 8 9.5 15.8 14.4 23.4zM420.7 163c9.3 9.6 18.6 20.3 27.8 32-9-.4-18.2-.7-27.5-.7-9.4 0-18.7.2-27.8.7 9-11.7 18.3-22.4 27.5-32zm-74 58.9c-4.9 7.7-9.8 15.6-14.4 23.7-4.6 8-8.9 16-13 24-5.4-13.4-10-26.8-13.8-39.8 13.1-3.1 26.9-5.8 41.2-7.9zm-90.5 125.2c-35.4-15.1-58.3-34.9-58.3-50.6 0-15.7 22.9-35.6 58.3-50.6 8.6-3.7 18-7 27.7-10.1 5.7 19.6 13.2 40 22.5 60.9-9.2 20.8-16.6 41.1-22.2 60.6-9.9-3.1-19.3-6.5-28-10.2zM310 490c-13.6-7.8-19.5-37.5-14.9-75.7 1.1-9.4 2.9-19.3 5.1-29.4 19.6 4.8 41 8.5 63.5 10.9 13.5 18.5 27.5 35.3 41.6 50-32.6 30.3-63.2 46.9-84 46.9-4.5-.1-8.3-1-11.3-2.7zm237.2-76.2c4.7 38.2-1.1 67.9-14.6 75.8-3 1.8-6.9 2.6-11.5 2.6-20.7 0-51.4-16.5-84-46.6 14-14.7 28-31.4 41.3-49.9 22.6-2.4 44-6.1 63.6-11 2.3 10.1 4.1 19.8 5.2 29.1zm38.5-66.7c-8.6 3.7-18 7-27.7 10.1-5.7-19.6-13.2-40-22.5-60.9 9.2-20.8 16.6-41.1 22.2-60.6 9.9 3.1 19.3 6.5 28.1 10.2 35.4 15.1 58.3 34.9 58.3 50.6-.1 15.7-23 35.6-58.4 50.6zM320.8 78.4z\"\n }), /*#__PURE__*/React.createElement(\"circle\", {\n cx: 420.9,\n cy: 296.5,\n r: 45.7\n }), /*#__PURE__*/React.createElement(\"path\", {\n d: \"M520.5 78.1z\"\n }))));\n}\n\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgLogo);\nexport default __webpack_public_path__ + \"static/media/logo.6ce24c58023cc2f8fd88fe9d219db6c6.svg\";\nexport { ForwardRef as ReactComponent };","import HelloRemoteReactComp from './HelloRemoteReactComp';\n\nconst toExport = {\n HelloRemoteReactComp,\n}\n\nexport default toExport;\n","import React from 'react';\nimport logo from './logo.svg';\nimport './App.css';\n\ninterface IProps {\n onHeaderClick?: (label: string) => void;\n}\n\n\nconst App = React.forwardRef(function App(props: IProps, ref: any) {\n React.useImperativeHandle(ref, () => ({\n sayHello() {\n alert('Hello');\n }\n }));\n return (\n <div className=\"App\">\n <header className=\"App-header\" onClick={() => props.onHeaderClick?.('header click')}>\n <img src={logo} className=\"App-logo\" alt=\"logo\" />\n <p>\n <h1>This is a hel remote react component (ts)!www eee</h1>\n <h2>emitted by hel-micro</h2>\n </p>\n <a\n className=\"App-link\"\n href=\"https://www.baidu.com\"\n target=\"_blank\"\n rel=\"noopener noreferrer\"\n >\n Learn hel-micro\n </a>\n </header>\n </div>\n );\n})\n\nexport default App;\n","import comps from 'components';\n\nexport type LibProperties = typeof comps;\n\nexport default comps;\n","/**\n * @license React\n * react-jsx-runtime.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n'use strict';var f=require(\"react\"),k=Symbol.for(\"react.element\"),l=Symbol.for(\"react.fragment\"),m=Object.prototype.hasOwnProperty,n=f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,p={key:!0,ref:!0,__self:!0,__source:!0};\nfunction q(c,a,g){var b,d={},e=null,h=null;void 0!==g&&(e=\"\"+g);void 0!==a.key&&(e=\"\"+a.key);void 0!==a.ref&&(h=a.ref);for(b in a)m.call(a,b)&&!p.hasOwnProperty(b)&&(d[b]=a[b]);if(c&&c.defaultProps)for(b in a=c.defaultProps,a)void 0===d[b]&&(d[b]=a[b]);return{$$typeof:k,type:c,key:e,ref:h,props:d,_owner:n.current}}exports.Fragment=l;exports.jsx=q;exports.jsxs=q;\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-jsx-runtime.production.min.js');\n} else {\n module.exports = require('./cjs/react-jsx-runtime.development.js');\n}\n"],"names":["HelloRemoteReactComp","React","props","ref","sayHello","alert","className","onClick","onHeaderClick","src","logo","alt","href","target","rel","comps","f","require","k","Symbol","for","l","m","Object","prototype","hasOwnProperty","n","__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED","ReactCurrentOwner","p","key","__self","__source","q","c","a","g","b","d","e","h","call","defaultProps","$$typeof","type","_owner","current","exports","jsx","jsxs","module"],"sourceRoot":""}
@@ -0,0 +1,3 @@
1
+ /*! For license information please see 622.15f5dd58.chunk.js.LICENSE.txt */
2
+ "use strict";(self["helJsonp_agent-hel-react-comps_1778656705326"]=self["helJsonp_agent-hel-react-comps_1778656705326"]||[]).push([[622],{987:function(e,r,o){o.d(r,{Z:function(){return a}});var n=o(363),t=o.n(n);var c=o.p+"static/media/logo.6ce24c58023cc2f8fd88fe9d219db6c6.svg",l=o(184),a={HelloRemoteReactComp:t().forwardRef((function(e,r){return t().useImperativeHandle(r,(function(){return{sayHello:function(){alert("Hello")}}})),(0,l.jsx)("div",{className:"App",children:(0,l.jsxs)("header",{className:"App-header",onClick:function(){var r;return null===(r=e.onHeaderClick)||void 0===r?void 0:r.call(e,"header click")},children:[(0,l.jsx)("img",{src:c,className:"App-logo",alt:"logo"}),(0,l.jsxs)("p",{children:[(0,l.jsx)("h1",{children:"This is a hel remote react component (ts)!www eee"}),(0,l.jsx)("h2",{children:"emitted by hel-micro"})]}),(0,l.jsx)("a",{className:"App-link",href:"https://www.baidu.com",target:"_blank",rel:"noopener noreferrer",children:"Learn hel-micro"})]})})}))}},622:function(e,r,o){o.r(r);o(363);var n=o(533),t=o.n(n),c=o(987),l=o(184);var a={NODE_ENV:"production",PUBLIC_URL:"https://unpkg.com/agent-hel-react-comps@2.4.0/hel_dist",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}.REACT_APP_COMP_TYPE,i=void 0===a?"HelloRemoteReactComp":a,s=c.Z[i]||function(){return(0,l.jsxs)("h1",{children:["comp ",i," not defined"]})};t().render((0,l.jsx)(s,{}),function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"root",r=document.getElementById(e);return r||((r=document.createElement("div")).id=e,document.body.appendChild(r)),r}("root"))},374:function(e,r,o){var n=o(363),t=Symbol.for("react.element"),c=Symbol.for("react.fragment"),l=Object.prototype.hasOwnProperty,a=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function s(e,r,o){var n,c={},s=null,d=null;for(n in void 0!==o&&(s=""+o),void 0!==r.key&&(s=""+r.key),void 0!==r.ref&&(d=r.ref),r)l.call(r,n)&&!i.hasOwnProperty(n)&&(c[n]=r[n]);if(e&&e.defaultProps)for(n in r=e.defaultProps)void 0===c[n]&&(c[n]=r[n]);return{$$typeof:t,type:e,key:s,ref:d,props:c,_owner:a.current}}r.jsx=s,r.jsxs=s},184:function(e,r,o){e.exports=o(374)}}]);
3
+ //# sourceMappingURL=622.15f5dd58.chunk.js.map
@@ -0,0 +1,9 @@
1
+ /**
2
+ * @license React
3
+ * react-jsx-runtime.production.min.js
4
+ *
5
+ * Copyright (c) Facebook, Inc. and its affiliates.
6
+ *
7
+ * This source code is licensed under the MIT license found in the
8
+ * LICENSE file in the root directory of this source tree.
9
+ */
@@ -0,0 +1 @@
1
+ {"version":3,"file":"static/js/622.15f5dd58.chunk.js","mappings":";oNAqCA,IACA,EAAe,IAA0B,kEChCzC,EAJiB,CACfA,qBCMUC,IAAAA,YAAiB,SAAaC,EAAeC,GAMvD,OALAF,IAAAA,oBAA0BE,GAAK,iBAAO,CACpCC,SADoC,WAElCC,MAAM,QACP,EAH4B,KAM7B,gBAAKC,UAAU,MAAf,UACE,oBAAQA,UAAU,aAAaC,QAAS,kCAAML,EAAMM,qBAAZ,aAAM,OAAAN,EAAsB,eAA5B,EAAxC,WACE,gBAAKO,IAAKC,EAAMJ,UAAU,WAAWK,IAAI,UACzC,0BACE,+EACA,qDAEF,cACEL,UAAU,WACVM,KAAK,wBACLC,OAAO,SACPC,IAAI,sBAJN,iCAWP,gFCnBD,MAAyDC,CAAAA,SAAAA,aAAAA,WAAAA,yDAAAA,qBAAAA,EAAAA,qBAAAA,EAAAA,qBAAAA,EAAAA,cAAAA,GAAjDC,oBAAAA,OAAR,MAA8B,uBAA9B,EAEMC,EAAOC,EAAAA,EAAMF,IAAyB,kBAAM,kCAAUA,EAAV,iBAAN,EAE5CG,IAAAA,QAAgB,SAACF,EAAD,IAdhB,WAAmC,IAAdG,EAAa,uDAAR,OACpBC,EAAOC,SAASC,eAAeH,GAMnC,OALKC,KACHA,EAAOC,SAASE,cAAc,QACzBJ,GAAKA,EACVE,SAASG,KAAKC,YAAYL,IAErBA,CACR,CAMyBM,CAAY,kCCVrBC,EAAEC,EAAQ,KAASC,EAAEC,OAAOC,IAAI,iBAAiBC,EAAEF,OAAOC,IAAI,kBAAkBE,EAAEC,OAAOC,UAAUC,eAAeC,EAAEV,EAAEW,mDAAmDC,kBAAkBC,EAAE,CAACC,KAAI,EAAGvC,KAAI,EAAGwC,QAAO,EAAGC,UAAS,GAChP,SAASC,EAAEC,EAAEC,EAAEC,GAAG,IAAIC,EAAEC,EAAE,CAAC,EAAEC,EAAE,KAAKC,EAAE,KAAiF,IAAIH,UAAhF,IAASD,IAAIG,EAAE,GAAGH,QAAG,IAASD,EAAEL,MAAMS,EAAE,GAAGJ,EAAEL,UAAK,IAASK,EAAE5C,MAAMiD,EAAEL,EAAE5C,KAAc4C,EAAEb,EAAEmB,KAAKN,EAAEE,KAAKR,EAAEJ,eAAeY,KAAKC,EAAED,GAAGF,EAAEE,IAAI,GAAGH,GAAGA,EAAEQ,aAAa,IAAIL,KAAKF,EAAED,EAAEQ,kBAAe,IAASJ,EAAED,KAAKC,EAAED,GAAGF,EAAEE,IAAI,MAAM,CAACM,SAASzB,EAAE0B,KAAKV,EAAEJ,IAAIS,EAAEhD,IAAIiD,EAAElD,MAAMgD,EAAEO,OAAOnB,EAAEoB,QAAS,CAAmBC,EAAQC,IAAIf,EAAEc,EAAQE,KAAKhB,uBCPxWiB,EAAOH,QAAU,EAAjBG","sources":["components/HelloRemoteReactComp/logo.svg","components/index.ts","components/HelloRemoteReactComp/App.tsx","loadApp.tsx","../node_modules/react/cjs/react-jsx-runtime.production.min.js","../node_modules/react/jsx-runtime.js"],"sourcesContent":["var _g;\n\nvar _excluded = [\"title\", \"titleId\"];\n\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport * as React from \"react\";\n\nfunction SvgLogo(_ref, svgRef) {\n var title = _ref.title,\n titleId = _ref.titleId,\n props = _objectWithoutProperties(_ref, _excluded);\n\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 841.9 595.3\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _g || (_g = /*#__PURE__*/React.createElement(\"g\", {\n fill: \"#61DAFB\"\n }, /*#__PURE__*/React.createElement(\"path\", {\n d: \"M666.3 296.5c0-32.5-40.7-63.3-103.1-82.4 14.4-63.6 8-114.2-20.2-130.4-6.5-3.8-14.1-5.6-22.4-5.6v22.3c4.6 0 8.3.9 11.4 2.6 13.6 7.8 19.5 37.5 14.9 75.7-1.1 9.4-2.9 19.3-5.1 29.4-19.6-4.8-41-8.5-63.5-10.9-13.5-18.5-27.5-35.3-41.6-50 32.6-30.3 63.2-46.9 84-46.9V78c-27.5 0-63.5 19.6-99.9 53.6-36.4-33.8-72.4-53.2-99.9-53.2v22.3c20.7 0 51.4 16.5 84 46.6-14 14.7-28 31.4-41.3 49.9-22.6 2.4-44 6.1-63.6 11-2.3-10-4-19.7-5.2-29-4.7-38.2 1.1-67.9 14.6-75.8 3-1.8 6.9-2.6 11.5-2.6V78.5c-8.4 0-16 1.8-22.6 5.6-28.1 16.2-34.4 66.7-19.9 130.1-62.2 19.2-102.7 49.9-102.7 82.3 0 32.5 40.7 63.3 103.1 82.4-14.4 63.6-8 114.2 20.2 130.4 6.5 3.8 14.1 5.6 22.5 5.6 27.5 0 63.5-19.6 99.9-53.6 36.4 33.8 72.4 53.2 99.9 53.2 8.4 0 16-1.8 22.6-5.6 28.1-16.2 34.4-66.7 19.9-130.1 62-19.1 102.5-49.9 102.5-82.3zm-130.2-66.7c-3.7 12.9-8.3 26.2-13.5 39.5-4.1-8-8.4-16-13.1-24-4.6-8-9.5-15.8-14.4-23.4 14.2 2.1 27.9 4.7 41 7.9zm-45.8 106.5c-7.8 13.5-15.8 26.3-24.1 38.2-14.9 1.3-30 2-45.2 2-15.1 0-30.2-.7-45-1.9-8.3-11.9-16.4-24.6-24.2-38-7.6-13.1-14.5-26.4-20.8-39.8 6.2-13.4 13.2-26.8 20.7-39.9 7.8-13.5 15.8-26.3 24.1-38.2 14.9-1.3 30-2 45.2-2 15.1 0 30.2.7 45 1.9 8.3 11.9 16.4 24.6 24.2 38 7.6 13.1 14.5 26.4 20.8 39.8-6.3 13.4-13.2 26.8-20.7 39.9zm32.3-13c5.4 13.4 10 26.8 13.8 39.8-13.1 3.2-26.9 5.9-41.2 8 4.9-7.7 9.8-15.6 14.4-23.7 4.6-8 8.9-16.1 13-24.1zM421.2 430c-9.3-9.6-18.6-20.3-27.8-32 9 .4 18.2.7 27.5.7 9.4 0 18.7-.2 27.8-.7-9 11.7-18.3 22.4-27.5 32zm-74.4-58.9c-14.2-2.1-27.9-4.7-41-7.9 3.7-12.9 8.3-26.2 13.5-39.5 4.1 8 8.4 16 13.1 24 4.7 8 9.5 15.8 14.4 23.4zM420.7 163c9.3 9.6 18.6 20.3 27.8 32-9-.4-18.2-.7-27.5-.7-9.4 0-18.7.2-27.8.7 9-11.7 18.3-22.4 27.5-32zm-74 58.9c-4.9 7.7-9.8 15.6-14.4 23.7-4.6 8-8.9 16-13 24-5.4-13.4-10-26.8-13.8-39.8 13.1-3.1 26.9-5.8 41.2-7.9zm-90.5 125.2c-35.4-15.1-58.3-34.9-58.3-50.6 0-15.7 22.9-35.6 58.3-50.6 8.6-3.7 18-7 27.7-10.1 5.7 19.6 13.2 40 22.5 60.9-9.2 20.8-16.6 41.1-22.2 60.6-9.9-3.1-19.3-6.5-28-10.2zM310 490c-13.6-7.8-19.5-37.5-14.9-75.7 1.1-9.4 2.9-19.3 5.1-29.4 19.6 4.8 41 8.5 63.5 10.9 13.5 18.5 27.5 35.3 41.6 50-32.6 30.3-63.2 46.9-84 46.9-4.5-.1-8.3-1-11.3-2.7zm237.2-76.2c4.7 38.2-1.1 67.9-14.6 75.8-3 1.8-6.9 2.6-11.5 2.6-20.7 0-51.4-16.5-84-46.6 14-14.7 28-31.4 41.3-49.9 22.6-2.4 44-6.1 63.6-11 2.3 10.1 4.1 19.8 5.2 29.1zm38.5-66.7c-8.6 3.7-18 7-27.7 10.1-5.7-19.6-13.2-40-22.5-60.9 9.2-20.8 16.6-41.1 22.2-60.6 9.9 3.1 19.3 6.5 28.1 10.2 35.4 15.1 58.3 34.9 58.3 50.6-.1 15.7-23 35.6-58.4 50.6zM320.8 78.4z\"\n }), /*#__PURE__*/React.createElement(\"circle\", {\n cx: 420.9,\n cy: 296.5,\n r: 45.7\n }), /*#__PURE__*/React.createElement(\"path\", {\n d: \"M520.5 78.1z\"\n }))));\n}\n\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgLogo);\nexport default __webpack_public_path__ + \"static/media/logo.6ce24c58023cc2f8fd88fe9d219db6c6.svg\";\nexport { ForwardRef as ReactComponent };","import HelloRemoteReactComp from './HelloRemoteReactComp';\n\nconst toExport = {\n HelloRemoteReactComp,\n}\n\nexport default toExport;\n","import React from 'react';\nimport logo from './logo.svg';\nimport './App.css';\n\ninterface IProps {\n onHeaderClick?: (label: string) => void;\n}\n\n\nconst App = React.forwardRef(function App(props: IProps, ref: any) {\n React.useImperativeHandle(ref, () => ({\n sayHello() {\n alert('Hello');\n }\n }));\n return (\n <div className=\"App\">\n <header className=\"App-header\" onClick={() => props.onHeaderClick?.('header click')}>\n <img src={logo} className=\"App-logo\" alt=\"logo\" />\n <p>\n <h1>This is a hel remote react component (ts)!www eee</h1>\n <h2>emitted by hel-micro</h2>\n </p>\n <a\n className=\"App-link\"\n href=\"https://www.baidu.com\"\n target=\"_blank\"\n rel=\"noopener noreferrer\"\n >\n Learn hel-micro\n </a>\n </header>\n </div>\n );\n})\n\nexport default App;\n","\nimport React from 'react';\nimport ReactDOM from 'react-dom';\nimport comps from 'components';\n\nfunction getHostNode(id = 'root') {\n let node = document.getElementById(id);\n if (!node) {\n node = document.createElement('div');\n node.id = id;\n document.body.appendChild(node);\n }\n return node;\n}\n\nconst { REACT_APP_COMP_TYPE = 'HelloRemoteReactComp' } = process.env;\n// @ts-ignore\nconst Comp = comps[REACT_APP_COMP_TYPE] || (() => <h1>comp {REACT_APP_COMP_TYPE} not defined</h1>);\n\nReactDOM.render(<Comp />, getHostNode('root'));\n","/**\n * @license React\n * react-jsx-runtime.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n'use strict';var f=require(\"react\"),k=Symbol.for(\"react.element\"),l=Symbol.for(\"react.fragment\"),m=Object.prototype.hasOwnProperty,n=f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,p={key:!0,ref:!0,__self:!0,__source:!0};\nfunction q(c,a,g){var b,d={},e=null,h=null;void 0!==g&&(e=\"\"+g);void 0!==a.key&&(e=\"\"+a.key);void 0!==a.ref&&(h=a.ref);for(b in a)m.call(a,b)&&!p.hasOwnProperty(b)&&(d[b]=a[b]);if(c&&c.defaultProps)for(b in a=c.defaultProps,a)void 0===d[b]&&(d[b]=a[b]);return{$$typeof:k,type:c,key:e,ref:h,props:d,_owner:n.current}}exports.Fragment=l;exports.jsx=q;exports.jsxs=q;\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-jsx-runtime.production.min.js');\n} else {\n module.exports = require('./cjs/react-jsx-runtime.development.js');\n}\n"],"names":["HelloRemoteReactComp","React","props","ref","sayHello","alert","className","onClick","onHeaderClick","src","logo","alt","href","target","rel","process","REACT_APP_COMP_TYPE","Comp","comps","ReactDOM","id","node","document","getElementById","createElement","body","appendChild","getHostNode","f","require","k","Symbol","for","l","m","Object","prototype","hasOwnProperty","n","__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED","ReactCurrentOwner","p","key","__self","__source","q","c","a","g","b","d","e","h","call","defaultProps","$$typeof","type","_owner","current","exports","jsx","jsxs","module"],"sourceRoot":""}
@@ -0,0 +1,3 @@
1
+ /*! For license information please see main.e596336d.js.LICENSE.txt */
2
+ !function(){var t={511:function(t,e,r){!function(t,e){"use strict";function r(t){if(t&&t.__esModule)return t;var e=Object.create(null);return t&&Object.keys(t).forEach((function(r){if("default"!==r){var n=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(e,r,n.get?n:{enumerable:!0,get:function(){return t[r]}})}})),e.default=t,Object.freeze(e)}var n=r(e),o=function(){return o=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},o.apply(this,arguments)};function i(t,r){var n=r||(null===e.getAppPlatform||void 0===e.getAppPlatform?void 0:e.getAppPlatform(t)),o=e.getSharedCache(n).appName2Lib;return o[t]||(o[t]={}),o[t]}var a="4.7.0";n.log("hel-lib-proxy ver ".concat(a));var u=n.getUserEventBus,c=n.helConsts,l=u();function f(t,e){var r=o({},e||{});return r.platform=c.DEFAULT_PLAT,n.getVerLib(t,r)}function s(t,r){var o,a=!0,u="";r&&("string"==typeof r?u=r:(u=r.platform||"",a=null===(o=r.asProxy)||void 0===o||o));var l=i(t,u=u||n.getAppPlatform(t)||c.DEFAULT_PLAT);return"function"==typeof Proxy&&a&&(l=function(t,r,n){return new Proxy(r,{get:function(r,o){var a=String(o);return e.log("[[getLibProxy]] call lib [".concat(t,"] method [").concat(a,"]")),Object.keys(r).length?r[a]:i(t,n)[a]}})}(t,l,u)),n.log("[[ exposeLib ]] libName, libObj",t,l),l}function p(t,r,i){var a=function(t){var r={allowDup:!1,platform:e.helConsts.DEFAULT_PLAT};return o(o({},r),t||{})}(i);n.libReady(t,r,a)}function v(t,e,r){n.appReady(t,e,r)}function d(t,e){return n.getVerApp(t,e)}var m=n.isSubApp;function h(){return!n.isSubApp()}var g=Object.freeze({__proto__:null,VER:a,eventBus:l,getLib:f,exposeLib:s,libReady:p,appReady:v,exposeApp:d,isSubApp:m,isMasterApp:h}),y=e.commonUtil.purify,_=["isMasterApp","isSubApp","eventBus"],b=["appReady","libReady"];function E(t,e){return e&&"object"==typeof e?o({platform:t},y(e)):e}function A(t,e){var r={};return Object.keys(t).forEach((function(n){var o=t[n];if(_.includes(n))r[n]=o;else if(b.includes(n))r[n]=function(t,e){return function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var o=r[0],i=r[1],a=r[2];return t(o,i,E(e,void 0===a?{}:a))}}(o,e);else{var i="exposeLib"===n;r[n]=function(t,e,r){return function(){for(var n=[],o=0;o<arguments.length;o++)n[o]=arguments[o];var i=n[0],a=n[1];return t(i,r&&"string"==typeof a?a||e:E(e,a))}}(o,e,i)}})),r}function S(t){var e=A(g,t);return e.createInstance=S,e}var L=a,N=p,O=s,I=f,T=m,w=h,P=l,C=v,D=d,x={VER:L,libReady:N,exposeLib:O,getLib:I,isSubApp:T,isMasterApp:w,eventBus:P,appReady:C,exposeApp:D,createInstance:S};t.VER=L,t.appReady=C,t.createInstance=S,t.default=x,t.eventBus=P,t.exposeApp=D,t.exposeLib=O,t.getLib=I,t.isMasterApp=w,t.isSubApp=T,t.libReady=N,Object.defineProperty(t,"__esModule",{value:!0})}(e,r(780))},780:function(t,e,r){"use strict";function n(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function o(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?n(Object(r),!0).forEach((function(e){a(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function i(t){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(t)}function a(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==typeof t||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===typeof e?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function u(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,u=[],c=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(u.push(n.value),u.length!==e);c=!0);}catch(f){l=!0,o=f}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return u}}(t,e)||l(t,e)||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(t){return function(t){if(Array.isArray(t))return f(t)}(t)||function(t){if("undefined"!==typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||l(t)||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 l(t,e){if(t){if("string"===typeof t)return f(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?f(t,e):void 0}}function f(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}r.r(e),r.d(e,{allowLog:function(){return te},appReady:function(){return Me},commonDataUtil:function(){return he},commonUtil:function(){return zt},evName:function(){return Re},getAppMeta:function(){return ce},getAppPlatform:function(){return Te},getAppStyleStr:function(){return Ee},getCommonData:function(){return de},getCustomData:function(){return pe},getGlobalThis:function(){return re},getHelDebug:function(){return Zt},getHelEventBus:function(){return De},getPlatform:function(){return $t},getPlatformConfig:function(){return Ie},getSharedCache:function(){return Qt},getUserEventBus:function(){return xe},getVerApp:function(){return oe},getVerExtraCssList:function(){return Se},getVerLib:function(){return ae},getVerLoadStatus:function(){return ge},getVerStyleStrStatus:function(){return _e},getVersion:function(){return fe},helConsts:function(){return Xt},helEvents:function(){return Ht},helLoadStatus:function(){return Bt},inectPlatToMod:function(){return Wt},initPlatformConfig:function(){return Pe},isSubApp:function(){return Jt},libReady:function(){return je},log:function(){return ee},originInit:function(){return Ce},resetGlobalThis:function(){return qt},setAppMeta:function(){return le},setAppPlatform:function(){return we},setAppStyleStr:function(){return Ae},setCommonData:function(){return me},setCustomData:function(){return ve},setEmitApp:function(){return ie},setEmitLib:function(){return ue},setGlobalThis:function(){return ne},setVerExtraCssList:function(){return Le},setVerLoadStatus:function(){return ye},setVerStyleStrStatus:function(){return be},setVersion:function(){return se},tryGetAppName:function(){return Oe},tryGetVersion:function(){return Ne}});var s=null;function p(){return s||function(){if("undefined"===typeof window){if("undefined"===typeof r.g)throw new Error("unable to locate global object");s=r.g}else s=window}(),s}function v(){return p()}function d(t){return Object.keys(t)}function m(){var t=function(){try{var t,e;return(null===(t=p().top)||void 0===t||null===(e=t.location)||void 0===e?void 0:e.search)||""}catch(o){var r,n;return(null===(r=p())||void 0===r||null===(n=r.location)||void 0===n?void 0:n.search)||""}}(),e={};null!==t&&void 0!==t&&t.startsWith("?")&&t.substring(1).split("&").forEach((function(t){var r=u(t.split("="),2),n=r[0],o=r[1];e[n]=o}));return e}function h(){var t="";try{throw new Error("getJsRunLocation")}catch(r){var e=r.stack.split("\n");t=e[e.length-1]||""}return t}function g(t,e,r,n){y(t,e)[r]=n}function y(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=t[e];return n||(n=r,t[e]=n),n}function _(t,e){Object.keys(e).forEach((function(r){var n=e[r];[null,void 0,""].includes(n)||(t[r]=n)}))}function b(t,e){t.includes(e)||t.push(e)}function E(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.nullValues,n=void 0===r?[null,void 0,""]:r,o=e.emptyObjIsNull,a=void 0===o||o,u=e.emptyArrIsNull,c=void 0===u||u,l=n.includes(t);if(l)return!0;if(Array.isArray(t))return!!c&&0===t.length;if("object"===i(t)){var f=d(t),s=f.length;return!!a&&0===s}return!1}function A(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return e}var S=E,L=b,N=d;function O(t,e){var r=e||function(t){return!S(t)},n={};return N(t).forEach((function(e){r(t[e])&&(n[e]=t[e])})),n}function I(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"MULTI",r=t.split("\n"),n=r.length-1,o=r.map((function(t,r){var o;if(!t&&(0===r||r===n))return"";var i=function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",n=t;return t.endsWith("<br/>")?(n=t.substring(0,n.length-5),"".concat(n).concat(e)):"".concat(n).concat(r)},a=(null===(o=t.trimStart)||void 0===o?void 0:o.call(t))||t;return"MULTI"===e?"".concat(i(a,""),"\n"):a=i(a,"\n"," ")})).join("");return o}function T(t){return I(t,"ONE")}function w(t,e,r){t.dataset?t.dataset[e]=r:t.setAttribute("data-".concat(e),r)}function P(t){w(t,"heldisabled","1"),t.disabled=!0}var C=Object.freeze({__proto__:null,noop:A,safeParse:function(t,e,r){if(t&&"string"!==typeof t)return t;try{return JSON.parse(t)||e}catch(n){if(void 0!==e)return e;if(r)throw new Error(r);throw n}},isNull:S,noDupPush:L,okeys:N,merge2List:function(t,e){var r=[];return t.forEach((function(t){return L(r,t)})),e.forEach((function(t){return L(r,t)})),r},purify:O,getObjsVal:function(t,e,r){var n,o=r,i=function(t,e){var r="undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=l(t))||e&&t&&"number"===typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},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 i,a=!0,u=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){u=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(u)throw i}}}}(t);try{for(i.s();!(n=i.n()).done;){var a=n.value[e];if(![null,void 0,""].includes(a)){o=a;break}}}catch(u){i.e(u)}finally{i.f()}return o},pfstr:I,nbstr:T,nbalert:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=p(),n=T(t),o=r.alert||A;e&&r.location?r.location.port&&o(n):o(n)},setDataset:w,disableNode:P});var D={isIncludeFilter:function(t,e){return e.includes(",")?e.split(",").some((function(e){return t.includes(e)})):t.includes(e)},getLogFilter:function(){return M().logFilter},setLogFilter:function(t){M().logFilter=t},setLogMode:function(t){var e=parseInt(t,10);[1,2].includes(e)&&(M().logMode=e)},getLogMode:function(){return M().logMode}},x={};function R(){if(E(x=v().__HEL_MICRO_DEBUG__)){x={logMode:0,logFilter:"",isInit:!1},v().__HEL_MICRO_DEBUG__=x;try{!function(){if(!M().isInit){M().isInit=!0;var t=m(),e=t.hellog,r=t.hellogf,n=p().localStorage,o=e||(null===n||void 0===n?void 0:n.getItem("HelConfig.logMode"))||0;D.setLogMode(o);var i=r||(null===n||void 0===n?void 0:n.getItem("HelConfig.logFilter"))||"";D.setLogFilter(i)}}()}catch(t){}}else void 0===x.logMode&&(x.logMode=0,x.logFilter="")}function j(){return 0!==D.getLogMode()}function M(){return x}var G=" %c--\x3e HEL LOG:",F="color:#ad4e00;font-weight:600";function V(){if(j()){for(var t=1===D.getLogMode()?console.log:console.trace||console.log,e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];var o=r[0],i=r.slice(1);if("string"!==typeof o)return t.apply(void 0,[G,F].concat(r));var a=D.getLogFilter(),u=["".concat(G," ").concat(o),F].concat(c(i));a?D.isIncludeFilter(o,a)&&t.apply(void 0,c(u)):t.apply(void 0,c(u))}}var K="unpkg",k="__default_online_ver__",U=K,Y={CORE_VER:"4.7.0",DEFAULT_API_PREFIX:"https://unpkg.com",DEFAULT_API_URL:"/openapi/v1/app/info",DEFAULT_ONLINE_VER:k,DEFAULT_USER_LS_KEY:"HelUserRtxName",DEFAULT_PLAT:U,PLAT_HEL:"hel",PLAT_UNPKG:K,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"},H={SUB_APP_LOADED:"subAppLoaded",SUB_LIB_LOADED:"SubLibLoaded",STYLE_STR_FETCHED:"StyleStrFetched",STYLE_TAG_ADDED:"StyleTagAdded",CSS_LINK_TAG_ADDED:"CssLinkTagAdded"},B={NOT_LOAD:0,LOADING:1,LOADED:2},X=Y.DEFAULT_API_URL,W=Y.DEFAULT_USER_LS_KEY,z=Y.PLAT_HEL,J=Y.PLAT_UNPKG,q=Y.DEFAULT_API_PREFIX,$=Y.CORE_VER,Q=Y.KEY_CSS_LINK_TAG_ADDED,Z=Y.KEY_STYLE_TAG_ADDED,tt=Y.KEY_IGNORE_CSS_PREFIX_LIST,et=Y.KEY_IGNORE_STYLE_TAG_KEY,rt=Y.KEY_IGNORE_CSS_PREFIX_2_KEYS;function nt(t){return{apiMode:"get",apiPrefix:(t||{}).apiPrefix,apiSuffix:"",apiPathOfApp:X,apiPathOfAppVersion:"",getSubAppAndItsVersionFn:null,onFetchMetaFailed:null,strictMatchVer:!0,getUserName:null,userLsKey:W,shouldUseGray:null,trustAppNames:null,semverApi:null,hook:{}}}function ot(t){return o(o({isConfigOverwrite:!1,platform:t,appName2Comp:{},appName2Lib:{},appName2isLibAssigned:{},appName2EmitApp:{},appName2verLoadStatus:{},appName2verEmitLib:{},appName2verEmitApp:{},appName2verStyleStr:{},appName2verStyleFetched:{},appName2verExtraCssList:{},appName2verAppVersion:{},appName2verCustomData:{},appName2app:{},appName2appVersion:{},appName2styleStr:{},appGroupName2firstVer:{},isOriginInitCalled:!1},nt()),{},{origin:nt({apiPrefix:q})})}function it(){var t={};return{on:function(e,r){var n=t[e];if(!n){var o=[];t[e]=o,n=o}n.push(r)},emit:function(e){for(var r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];var i=t[e];if(i){var a=i.slice();a.forEach((function(t){return t.apply(void 0,n)}))}},off:function(e,r){var n=t[e];if(n)for(var o=0,i=n.length;o<i;o++){if(n[o]===r){n.splice(o,1);break}}}}}function at(t){[Q,Z,tt,et,rt].forEach((function(e){return y(t,e,function(t){return t===tt?[]:{}}(e))}))}function ut(){var t=ct();if(t){var e=t.cacheRoot;y(e,"appGroupName2platform"),y(e,"common");var r=e.caches;return Object.keys(r).forEach((function(t){var e=r[t];y(e,"appGroupName2firstVer"),y(e,"appName2verExtraCssList"),y(e,"appName2verCustomData"),y(e,"hook"),y(e,"origin",nt()),y(e.origin,"hook")})),at(e.common),void(t.userEventBus||(t.userEventBus=it()))}t=function(){var t,e=ot(J),r=ot(z),n={platform:z,platformHint:"the platform value here does not make any sense!",appName2platform:{},appGroupName2platform:{},caches:(t={},a(t,J,e),a(t,z,r),t),common:{}},o=it(),i=it();return{ver:$,isStyleObInit:!1,nativeHeadAppend:null,nativeBodyAppend:null,createFeature:h(),eventBus:o,userEventBus:i,cacheRoot:n,unpkgCache:e,helCache:r,dev:{setLogMode:D.setLogMode,setLogFilter:D.setLogFilter}}}(),at(t.cacheRoot.common),v().__HEL_MICRO_SHARED__=t}function ct(){return v().__HEL_MICRO_SHARED__}function lt(){return U}function ft(t){var e=t||lt(),r=st(),n=r.caches[e];if(!n){var o=i(t);if("string"!==o)throw console.error("invalid plaform:",t),new Error("fatal error: platform only can be a string, now it is ".concat(o));var a=ot(t);r.caches[e]=a,n=a}return n}function st(){return ct().cacheRoot}var pt={getCustomData:function(t,e,r){var n=r.versionId,o=y(ft(r.platform).appName2verCustomData,t);return y(o,e)[n||k]},getAppMeta:function(t,e){return ft(e).appName2app[t]},setVerLoadStatus:function(t,e,r,n){var o=n||{},i=o.versionId;g(ft(o.platform)[r],t,i||k,e)},getVerLoadStatus:function(t,e,r){var n,o=r||{},i=o.versionId,a=ft(o.platform)[e],u=i||k;return(null===(n=a[t])||void 0===n?void 0:n[u])||B.NOT_LOAD},ensureOnlineModule:function(t,e,r){if(!t[k]){var n=pt.getAppMeta(e,r),o=t[null===n||void 0===n?void 0:n.online_version];o&&(t[k]=o)}}};function vt(t,e){V("[[ core:setEmitApp ]] appName,emitApp:",t,e);var r=e.versionId,n=ft(e.platform),o=n.appName2verEmitApp,i=n.appName2Comp,a=n.appName2EmitApp;y(o,t)[k]||(i[t]=e.Comp,a[t]=e,g(o,t,k,e)),r&&g(o,t,r,e)}var dt=Y.KEY_CSS_LINK_TAG_ADDED,mt=Y.KEY_STYLE_TAG_ADDED,ht=Y.KEY_IGNORE_CSS_PREFIX_LIST,gt=Y.KEY_IGNORE_STYLE_TAG_KEY,yt=Y.KEY_IGNORE_CSS_PREFIX_2_KEYS;function _t(t){return y(st().common,t)}function bt(t){return st().common[t]}function Et(t,e){var r=_t(t)[e];return void 0!==r?r:null}function At(t,e,r){_t(t)[e]=r}var St={setIgnoreCssPrefix:function(t){b(bt(ht),t)},setIgnoreStyleTagKey:function(t){St.getIgnoreStyleTagMap()[t]=1},getIgnoreStyleTagMap:function(){return bt(gt)},setIgnoreCssPrefixKey:function(t,e){var r=Et(yt,t);r||At(yt,t,r=[]),b(r,e)},getIgnoreCssPrefixKeys:function(t){return bt(yt)[t]||[]},getMatchedIgnoreCssPrefix:function(t){for(var e=bt(ht),r="",n=0;n<e.length;n++){var o=e[n];if(t.startsWith(o)){r=o;break}}return r},getIgnoreCssPrefixCssUrlList:function(t){var e=Et(dt,t);return e||At(dt,t,e=[]),e},setIgnoreCssPrefixCssUrl:function(t,e){St.getIgnoreCssPrefixCssUrlList(t).push(e)},getStyleTagText:function(t){return Et(mt,t)||""},clearStyleTagText:function(t){At(mt,t,"")},appendStyleTagText:function(t,e){var r=St.getStyleTagText(t);At(mt,t,"".concat(r," ").concat(e))}};function Lt(t,e){var r=t.apiMode,n=t.apiPrefix,o=t.apiSuffix,i=t.apiPathOfApp,a=t.apiPathOfAppVersion,u=t.getSubAppAndItsVersionFn,c=t.onFetchMetaFailed,l=t.strictMatchVer,f=t.getUserName,s=t.userLsKey,p=t.shouldUseGray,v=t.getApiPrefix,d=t.trustAppNames,m=t.platform,h=t.origin,g={apiMode:r,apiPrefix:n,apiSuffix:o,apiPathOfApp:i,apiPathOfAppVersion:a,getSubAppAndItsVersionFn:u,onFetchMetaFailed:c,strictMatchVer:l,getUserName:f,userLsKey:s,shouldUseGray:p,getApiPrefix:v,trustAppNames:d,hook:t.hook,platform:m};return e&&(g.origin=h),g}function Nt(t){return st().appGroupName2platform[t]||lt()}function Ot(t,e){var r=e.customKey,n=y(ft(e.platform).appName2verCustomData,t);return y(n,r)}var It=H.STYLE_TAG_ADDED,Tt=H.CSS_LINK_TAG_ADDED;function wt(){return ct().eventBus}var Pt={styleTagAdded:function(t){return"".concat(It,"/").concat(t)},cssLinkTagAdded:function(t){return"".concat(Tt,"(").concat(t,")")}};function Ct(t,e,r){var n=(r||{}).appGroupName,o=e.versionId,a=e.appProperties,u=e.platform||r.platform,c=ft(u),l=c.appName2verEmitLib,f=c.appName2Lib,s=c.appName2isLibAssigned,p=pt.getAppMeta(t,u),v=function(t){var e=f[t];e?"object"===i(e)&&0===Object.keys(e).length&&Object.assign(e,a):f[t]=a,s[t]=!0};v(t),n?v(n):p&&v(p.app_group_name),V("[[ core:setEmitLib ]] appMeta:",p),y(l,t)[k]||g(l,t,k,a),o&&g(l,t,o,a)}function Dt(t,e){return ft(e).appName2app[t]}function xt(t,e,r){pt.setVerLoadStatus(t,e,"appName2verLoadStatus",r)}function Rt(t,e){var r=h();V("[[ core:tryGetVersion ]] may include source > ".concat(r));var n=ft(e).appGroupName2firstVer[t]||"";if(r.includes("https://")||r.includes("http://")){var o=u(r.split("//"),2)[1].split("/");if(n){if(e===U&&o.some((function(t){return t.includes(n)})))return n;if(o.includes(n))return n;if("static"===o[1]&&"js"===o[2]||"js"===o[1])return n}return e===U?o[1].split("@")[1]||n:o[2]||n}return n}function jt(t,e){return t===k?e||"":t.includes("_")?t.substring(0,t.length-15):e||""}var Mt=!1,Gt=!1;var Ft=Y.KEY_ASSET_CTX;function Vt(t,e){if(!e||!["LINK","SCRIPT"].includes(e.tagName))return t(e);var r=e.href,n=e.tagName,o=e.src,i="LINK"===n,a=Et(Ft,r||o||"")||{},u=a.platform,c=a.groupName,l=a.name,f=a.ver,s=a.beforeAppend,p=e;if(s){var v=i?"href":"src",d=e.getAttribute(v);p=s({el:e,nativeAppend:t,setAssetUrl:function(t){return e.setAttribute(v,t)},url:d,tagName:n})||e}return u&&function(t,e){var r=e.platform,n=e.groupName,o=e.name,i=e.ver;w(t,"el",e.elName),w(t,"plat",r),w(t,"gname",n),w(t,"name",o),w(t,"ver",i)}(p,{platform:u,groupName:c,name:l,ver:f,elName:i?"HelLink":"HelScript"}),t(p)}var Kt="/* @helstart ",kt=Kt.length;function Ut(t,e){var r=t.tagName,n=t.innerText,o=t.href;if(["STYLE","LINK"].includes(r)&&("STYLE"!==r||n))if("STYLE"===r){var i=n.indexOf(Kt);if(i<0)return;var a=n.indexOf(" @helend */"),u=n.substring(kt+i,a);if(u){var c=u.trim();w(t,"gname",c),e[c]&&P(t);var l=wt();St.appendStyleTagText(c,n),l.emit(Pt.styleTagAdded(c),{nodes:[t]})}}else{var f=function(t,e){var r=wt(),n=St.getMatchedIgnoreCssPrefix(e);return n&&(St.setIgnoreCssPrefixCssUrl(n,e),r.emit(Pt.cssLinkTagAdded(n),{nodes:[t]})),n}(t,o);f&&P(t)}}function Yt(t,e){var r=t.tagName,n=t.src,o=void 0===n?"":n;if("SCRIPT"!==r)return!1;if(!o.endsWith(".hot-update.js"))return!1;var i=St.getMatchedIgnoreCssPrefix(o);if(!i)return!1;var a=St.getIgnoreCssPrefixKeys(i);if(!a.length)return!1;var u=!1;return a.forEach((function(t){e[t]&&(!function(t){var e=p();if(e){var r=e.document.head.querySelectorAll('style[data-gname="'.concat(t,'"]'));r.length&&(St.clearStyleTagText(t),r.forEach((function(e){P(e),St.appendStyleTagText(t,e.innerText)})),wt().emit(Pt.styleTagAdded(t),{nodes:r}))}}(t),u=!0)})),u}qt(),V("hel-micro-core ver ".concat(Y.CORE_VER));var Ht=H,Bt=B,Xt=Y,Wt=function t(e,r,n){var a=n||{},u=a.ignoreKeys,c=void 0===u?[]:u,l=a.arg1PlatObjFnKeys,f=void 0===l?[]:l,s={};return Object.keys(r).forEach((function(a){var u=r[a];if(c.includes(a))s[a]=u;else{var l=i(u);s[a]=l&&"object"===l?t(e,u,n):"function"!==l?u:function(t,e){var r=this,n=e.fn,i=e.fnName,a=e.arg1PlatObjFnKeys.includes(i);return function(){for(var e=function(e){return o({platform:t},O(e||{}))},i=arguments.length,u=new Array(i),c=0;c<i;c++)u[c]=arguments[c];var l=u[0],f=u[1];return a?u[0]=e(l):u[1]=e(f),n.apply(r,u)}}(e,{arg1PlatObjFnKeys:f,fn:u,fnName:a})}})),s},zt=C,Jt=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;"),!Mt};function qt(t){t&&ne(t),function(t){if(t&&(Mt=!1,Gt=!1),!Gt){Gt=!0;var e=p();void 0===e.__MASTER_APP_LOADED__&&(e.__MASTER_APP_LOADED__=!0,Mt=!0)}}(!!t),ut(),R(),function(){var t=ct(),e=p().document,r=t.nativeHeadAppend,n=t.nativeBodyAppend;if(!r&&e){var o=e.head,i=e.body;r=o.appendChild.bind(o),n=i.appendChild.bind(i),t.nativeHeadAppend=r,t.nativeBodyAppend=n,e.head.appendChild=function(t){return Vt(r,t)},e.body.appendChild=function(t){return Vt(n,t)}}}(),function(){var t=ct(),e=p(),r=t.isStyleObInit,n=e.document;if(!r&&n){t.isStyleObInit=!0;var o=St.getIgnoreStyleTagMap(),i=e.MutationObserver||e.WebKitMutationObserver||e.MozMutationObserver;i&&new i((function(t){t.forEach((function(t){for(var e=t.addedNodes,r=t.removedNodes,n=e.length,i=0;i<n;i++)Ut(e[i],o);for(var a=r.length,u=0;u<a&&!Yt(r[u],o);u++);}))})).observe(document.head,{childList:!0})}}()}var $t=lt,Qt=ft,Zt=M,te=j,ee=V,re=p,ne=function(t){var e,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=null;null!==(e=s)&&void 0!==e&&e.__HEL_MICRO_SHARED__&&(n=s.__HEL_MICRO_SHARED__),s=r?o(o({},s),t):t,n&&(s.__HEL_MICRO_SHARED__=n)},oe=function(t,e){var r,n=e||{},o=n.versionId,i=n.platform,a=ft(i),u=a.appName2verEmitApp,c=a.appName2Comp,l=a.strictMatchVer,f=a.appName2EmitApp,s=null!==(r=n.strictMatchVer)&&void 0!==r?r:l,p=y(u,t);pt.ensureOnlineModule(p,t,i);var v=p[o||k],d=c[t],m=d?{Comp:d}:null,h=s?null:f[t]||m,g=v||h||null;return V("[[ core:getVerApp ]] appName,options,result:",t,n,g),g},ie=vt,ae=function(t,e){var r,n=e||{},o=n.versionId,i=ft(n.platform),a=i.appName2verEmitLib,u=i.appName2Lib,c=i.strictMatchVer,l=i.appName2isLibAssigned,f=null!==(r=n.strictMatchVer)&&void 0!==r?r:c,s=y(a,t);pt.ensureOnlineModule(s,t);var p=s[o||k],v=l[t]?u[t]:null,d=p||(f?null:v)||null;return V("[[ core:getVerLib ]] appName,options,result:",t,n,d),d},ue=Ct,ce=Dt,le=function(t,e){ft(e).appName2app[t.name]=t},fe=function(t,e){var r,n=e||{},o=n.platform,i=n.versionId,a=ft(o),u=a.appName2verAppVersion,c=a.appName2appVersion[t]||null;return i&&(null===(r=u[t])||void 0===r?void 0:r[i])||c},se=function(t,e,r){var n=(r||{}).platform,o=ft(n),i=o.appName2verAppVersion,a=o.appGroupName2firstVer,u=o.appName2appVersion,c=e.sub_app_version;if(c){var l=pt.getAppMeta(t,n);y(i,t)[k]||(g(i,t,k,e),u[t]=e),g(i,t,c,e),a[l.app_group_name]=c}},pe=function(t,e){var r=Ot(t,e)[e.versionId||k];return void 0!==r?r:null},ve=function(t,e){var r=e.customValue,n=e.versionId;Ot(t,e)[n||k]=r},de=Et,me=At,he=St,ge=function(t,e){return pt.getVerLoadStatus(t,"appName2verLoadStatus",e)},ye=xt,_e=function(t,e){return pt.getVerLoadStatus(t,"appName2verStyleFetched",e)},be=function(t,e,r){pt.setVerLoadStatus(t,e,"appName2verStyleFetched",r)},Ee=function(t,e){var r,n=e||{},o=n.platform,i=n.versionId,a=ft(o),u=a.appName2verStyleStr,c=a.appName2styleStr[t]||"";return i?(null===(r=u[t])||void 0===r?void 0:r[i])||c||"":c},Ae=function(t,e,r){var n=r||{},o=n.platform,i=n.versionId,a=ft(o),u=a.appName2verStyleStr,c=a.appName2verStyleFetched,l=a.appName2styleStr;i?(g(u,t,i,e),g(c,t,i,B.LOADED)):l[t]=e},Se=function(t,e){var r=e||{},n=r.versionId,o=y(ft(r.platform).appName2verExtraCssList,t),i=o[n]||o[k]||[];return V("[[ core:getVerExtraCssList ]] options,cssList:",r,i),i},Le=function(t,e,r){var n=r||{},o=n.versionId,i=ft(n.platform).appName2verExtraCssList;V("[[ core:setVerExtraCssList ]] cssList:",e),y(i,t)[k]||g(i,t,k,e),o&&g(i,t,o,e)},Ne=Rt,Oe=jt,Ie=function(t){return Lt(ft(t),!0)},Te=Nt,we=function(t,e){return st().appGroupName2platform[t]=e,Nt(t)},Pe=function(t,e){var r=ft(e),n=Lt(t);r.isConfigOverwrite||(r.isConfigOverwrite=!0,_(r,n))},Ce=function(t,e){var r=ft(t),n="[[ core:originInit ]] invalid call, it can only been called";if(r.isConfigOverwrite)V("".concat(n," before init"));else if(r.isOriginInitCalled)V("".concat(n," one time"));else{var o=Lt(e);r.isOriginInitCalled=!0,_(r.origin,o)}},De=wt,xe=function(){return ct().userEventBus},Re=Pt,je=function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=r.platform||Nt(t),o=r.versionId||Rt(t,n),i=r.appName||jt(o,t),a=Dt(i,n);null!==a&&void 0!==a&&a.__fromCust&&(o=r.versionId||a.online_version,i=a.name);var u={platform:n,appName:i,appGroupName:t,versionId:o,appProperties:e,Comp:function(){},lifecycle:{}};Ct(i,u,{appGroupName:t,platform:n}),xt(i,B.LOADED,{versionId:o,platform:n});var c=wt();c.emit(H.SUB_LIB_LOADED,u)},Me=function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=r.lifecycle,o=r.platform||Nt(t),i=r.versionId||Rt(t,o),a=r.appName||jt(i,t),u={Comp:e,appName:a,appGroupName:t,lifecycle:n,platform:o,versionId:i,isLib:!1};vt(a,u),xt(a,B.LOADED,{versionId:i,platform:o});var c=wt();c.emit(H.SUB_APP_LOADED,u)}},363:function(t){"use strict";t.exports=React},533:function(t){"use strict";t.exports=ReactDOM}},e={};function r(n){var o=e[n];if(void 0!==o)return o.exports;var i=e[n]={exports:{}};return t[n].call(i.exports,i,i.exports,r),i.exports}r.m=t,r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,{a:e}),e},r.d=function(t,e){for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.f={},r.e=function(t){return Promise.all(Object.keys(r.f).reduce((function(e,n){return r.f[n](t,e),e}),[]))},r.u=function(t){return"static/js/"+t+"."+{291:"8f4b8910",622:"15f5dd58"}[t]+".chunk.js"},r.miniCssF=function(t){return"static/css/"+t+"."+{291:"0bcd258f",622:"0bcd258f"}[t]+".chunk.css"},r.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"===typeof window)return window}}(),r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},function(){var t={},e="agent-hel-react-comps:";r.l=function(n,o,i,a){if(t[n])t[n].push(o);else{var u,c;if(void 0!==i)for(var l=document.getElementsByTagName("script"),f=0;f<l.length;f++){var s=l[f];if(s.getAttribute("src")==n||s.getAttribute("data-webpack")==e+i){u=s;break}}u||(c=!0,(u=document.createElement("script")).charset="utf-8",u.timeout=120,r.nc&&u.setAttribute("nonce",r.nc),u.setAttribute("data-webpack",e+i),u.src=n),t[n]=[o];var p=function(e,r){u.onerror=u.onload=null,clearTimeout(v);var o=t[n];if(delete t[n],u.parentNode&&u.parentNode.removeChild(u),o&&o.forEach((function(t){return t(r)})),e)return e(r)},v=setTimeout(p.bind(null,void 0,{type:"timeout",target:u}),12e4);u.onerror=p.bind(null,u.onerror),u.onload=p.bind(null,u.onload),c&&document.head.appendChild(u)}}}(),r.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.p="https://unpkg.com/agent-hel-react-comps@2.4.0/hel_dist/",function(){var t=function(t){return new Promise((function(e,n){var o=r.miniCssF(t),i=r.p+o;if(function(t,e){for(var r=document.getElementsByTagName("link"),n=0;n<r.length;n++){var o=(a=r[n]).getAttribute("data-href")||a.getAttribute("href");if("stylesheet"===a.rel&&(o===t||o===e))return a}var i=document.getElementsByTagName("style");for(n=0;n<i.length;n++){var a;if((o=(a=i[n]).getAttribute("data-href"))===t||o===e)return a}}(o,i))return e();!function(t,e,r,n){var o=document.createElement("link");o.rel="stylesheet",o.type="text/css",o.onerror=o.onload=function(i){if(o.onerror=o.onload=null,"load"===i.type)r();else{var a=i&&("load"===i.type?"missing":i.type),u=i&&i.target&&i.target.href||e,c=new Error("Loading CSS chunk "+t+" failed.\n("+u+")");c.code="CSS_CHUNK_LOAD_FAILED",c.type=a,c.request=u,o.parentNode.removeChild(o),n(c)}},o.href=e,document.head.appendChild(o)}(t,i,e,n)}))},e={179:0};r.f.miniCss=function(r,n){e[r]?n.push(e[r]):0!==e[r]&&{291:1,622:1}[r]&&n.push(e[r]=t(r).then((function(){e[r]=0}),(function(t){throw delete e[r],t})))}}(),function(){var t={179:0};r.f.j=function(e,n){var o=r.o(t,e)?t[e]:void 0;if(0!==o)if(o)n.push(o[2]);else{var i=new Promise((function(r,n){o=t[e]=[r,n]}));n.push(o[2]=i);var a=r.p+r.u(e),u=new Error;r.l(a,(function(n){if(r.o(t,e)&&(0!==(o=t[e])&&(t[e]=void 0),o)){var i=n&&("load"===n.type?"missing":n.type),a=n&&n.target&&n.target.src;u.message="Loading chunk "+e+" failed.\n("+i+": "+a+")",u.name="ChunkLoadError",u.type=i,u.request=a,o[1](u)}}),"chunk-"+e,e)}};var e=function(e,n){var o,i,a=n[0],u=n[1],c=n[2],l=0;if(a.some((function(e){return 0!==t[e]}))){for(o in u)r.o(u,o)&&(r.m[o]=u[o]);if(c)c(r)}for(e&&e(n);l<a.length;l++)i=a[l],r.o(t,i)&&t[i]&&t[i][0](),t[i]=0},n=self["helJsonp_agent-hel-react-comps_1778656705326"]=self["helJsonp_agent-hel-react-comps_1778656705326"]||[];n.forEach(e.bind(null,0)),n.push=e.bind(null,n.push.bind(n))}(),function(){"use strict";function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t(e)}function e(){e=function(){return r};var r={},n=Object.prototype,o=n.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(T){l=function(t,e,r){return t[e]=r}}function f(t,e,r,n){var o=e&&e.prototype instanceof v?e:v,i=Object.create(o.prototype),a=new N(n||[]);return i._invoke=function(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return I()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var u=A(a,r);if(u){if(u===p)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var c=s(t,e,r);if("normal"===c.type){if(n=r.done?"completed":"suspendedYield",c.arg===p)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n="completed",r.method="throw",r.arg=c.arg)}}}(t,r,a),i}function s(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(T){return{type:"throw",arg:T}}}r.wrap=f;var p={};function v(){}function d(){}function m(){}var h={};l(h,a,(function(){return this}));var g=Object.getPrototypeOf,y=g&&g(g(O([])));y&&y!==n&&o.call(y,a)&&(h=y);var _=m.prototype=v.prototype=Object.create(h);function b(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function E(e,r){function n(i,a,u,c){var l=s(e[i],e,a);if("throw"!==l.type){var f=l.arg,p=f.value;return p&&"object"==t(p)&&o.call(p,"__await")?r.resolve(p.__await).then((function(t){n("next",t,u,c)}),(function(t){n("throw",t,u,c)})):r.resolve(p).then((function(t){f.value=t,u(f)}),(function(t){return n("throw",t,u,c)}))}c(l.arg)}var i;this._invoke=function(t,e){function o(){return new r((function(r,o){n(t,e,r,o)}))}return i=i?i.then(o,o):o()}}function A(t,e){var r=t.iterator[e.method];if(void 0===r){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,A(t,e),"throw"===e.method))return p;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return p}var n=s(r,t.iterator,e.arg);if("throw"===n.type)return e.method="throw",e.arg=n.arg,e.delegate=null,p;var o=n.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,p):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,p)}function S(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function L(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function N(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(S,this),this.reset(!0)}function O(t){if(t){var e=t[a];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,n=function e(){for(;++r<t.length;)if(o.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=void 0,e.done=!0,e};return n.next=n}}return{next:I}}function I(){return{value:void 0,done:!0}}return d.prototype=m,l(_,"constructor",m),l(m,"constructor",d),d.displayName=l(m,c,"GeneratorFunction"),r.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))},r.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,m):(t.__proto__=m,l(t,c,"GeneratorFunction")),t.prototype=Object.create(_),t},r.awrap=function(t){return{__await:t}},b(E.prototype),l(E.prototype,u,(function(){return this})),r.AsyncIterator=E,r.async=function(t,e,n,o,i){void 0===i&&(i=Promise);var a=new E(f(t,e,n,o),i);return r.isGeneratorFunction(e)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},b(_),l(_,c,"Generator"),l(_,a,(function(){return this})),l(_,"toString",(function(){return"[object Generator]"})),r.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},r.values=O,N.prototype={constructor:N,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(L),!t)for(var e in this)"t"===e.charAt(0)&&o.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var u=o.call(i,"catchLoc"),c=o.call(i,"finallyLoc");if(u&&c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,p):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),p},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),L(r),p}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;L(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:O(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),p}},r}function n(t,e,r,n,o,i,a){try{var u=t[i](a),c=u.value}catch(l){return void r(l)}u.done?e(c):Promise.resolve(c).then(n,o)}function o(t){return function(){var e=this,r=arguments;return new Promise((function(o,i){var a=t.apply(e,r);function u(t){n(a,o,i,u,c,"next",t)}function c(t){n(a,o,i,u,c,"throw",t)}u(void 0)}))}}var i=function(){var t=u(),e=t.__HEL_ISO_FLAG__,r=t.__MASTER_APP_LOADED__;return{isFirstMod:void 0===e,isBeforeCore:void 0===r}}();!function(){var t=u();void 0===t.__HEL_ISO_FLAG__&&(t.__HEL_ISO_FLAG__=1)}();var a=function(){var t=u(),e=t.location,r=t.__HEL_MICRO_SHARED__,n=i.isFirstMod,o=i.isBeforeCore;if(!n)return!1;if(o)return!0;var a=function(){var t="";try{throw new Error("codeHost")}catch(r){var e=r.stack.split("\n");t=e[e.length-1]||""}return t.split("//")[1].split("/")[0]}();if(e&&e.host===a)return!0;if(r){var c=r.cacheRoot.appGroupName2platform;if(!Object.keys(c).length)return!0}return!1}();function u(){return window||r.g}function c(){return a}var l=c,f=r(511),s="agent-hel-react-comps";function p(){return(p=o(e().mark((function t(){var n;return e().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r.e(291).then(r.bind(r,291));case 2:if(n=t.sent,console.log("libProperties",n),(0,f.libReady)(s,n.default),!l()){t.next=8;break}return t.next=8,r.e(622).then(r.bind(r,622));case 8:case"end":return t.stop()}}),t)})))).apply(this,arguments)}(function(){return p.apply(this,arguments)})().catch(console.error)}()}();
3
+ //# sourceMappingURL=main.e596336d.js.map
@@ -0,0 +1,16 @@
1
+ /*! *****************************************************************************
2
+ Copyright (c) Microsoft Corporation.
3
+
4
+ Permission to use, copy, modify, and/or distribute this software for any
5
+ purpose with or without fee is hereby granted.
6
+
7
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
8
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
9
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
10
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
11
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
12
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
13
+ PERFORMANCE OF THIS SOFTWARE.
14
+ ***************************************************************************** */
15
+
16
+ /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */