@modern-js/module-tools-docs 2.0.2 → 2.2.0-beta.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 (308) hide show
  1. package/doc_build/html/main/index.html +1 -1
  2. package/doc_build/static/css/main.css +267 -660
  3. package/doc_build/static/css/main.css.map +1 -1
  4. package/doc_build/static/css/vendors-node_modules_pnpm_remix-run_router_1_2_0_node_modules_remix-run_router_dist_router_js-9d5e9c.css +6 -23
  5. package/doc_build/static/css/vendors-node_modules_pnpm_remix-run_router_1_2_0_node_modules_remix-run_router_dist_router_js-9d5e9c.css.map +1 -1
  6. package/doc_build/static/js/async/en_api_config_build-config.js +79 -36
  7. package/doc_build/static/js/async/en_api_config_build-config.js.map +1 -1
  8. package/doc_build/static/js/async/en_api_config_build-preset.js +40 -20
  9. package/doc_build/static/js/async/en_api_config_build-preset.js.map +1 -1
  10. package/doc_build/static/js/async/en_api_config_design-system.js +33800 -2340
  11. package/doc_build/static/js/async/en_api_config_design-system.js.map +1 -1
  12. package/doc_build/static/js/async/en_api_config_plugins.js +15 -19
  13. package/doc_build/static/js/async/en_api_config_testing.js +26 -24
  14. package/doc_build/static/js/async/en_api_config_testing.js.map +1 -1
  15. package/doc_build/static/js/async/{en_api_.js → en_api_index.js} +10 -14
  16. package/doc_build/static/js/async/en_api_index.js.map +1 -0
  17. package/doc_build/static/js/async/en_api_plugin-api_plugin-hooks.js +24 -26
  18. package/doc_build/static/js/async/en_api_plugin-api_plugin-hooks.js.map +1 -1
  19. package/doc_build/static/js/async/en_guide_advance_asset.js +16 -41
  20. package/doc_build/static/js/async/en_guide_advance_asset.js.map +1 -1
  21. package/doc_build/static/js/async/en_guide_advance_build-umd.js +20 -24
  22. package/doc_build/static/js/async/en_guide_advance_copy.js +25 -23
  23. package/doc_build/static/js/async/en_guide_advance_copy.js.map +1 -1
  24. package/doc_build/static/js/async/en_guide_advance_external-dependency.js +15 -19
  25. package/doc_build/static/js/async/en_guide_advance_in-depth-about-build.js +352 -94
  26. package/doc_build/static/js/async/en_guide_advance_in-depth-about-build.js.map +1 -1
  27. package/doc_build/static/js/async/en_guide_advance_in-depth-about-dev-command.js +11 -15
  28. package/doc_build/static/js/async/en_guide_advance_in-depth-about-dev-command.js.map +1 -1
  29. package/doc_build/static/js/async/en_guide_advance_theme-config.js +26 -24
  30. package/doc_build/static/js/async/en_guide_advance_theme-config.js.map +1 -1
  31. package/doc_build/static/js/async/en_guide_basic_before-getting-started.js +275 -88
  32. package/doc_build/static/js/async/en_guide_basic_before-getting-started.js.map +1 -1
  33. package/doc_build/static/js/async/en_guide_basic_command-preview.js +45 -33
  34. package/doc_build/static/js/async/en_guide_basic_command-preview.js.map +1 -1
  35. package/doc_build/static/js/async/en_guide_basic_modify-output-product.js +274 -196
  36. package/doc_build/static/js/async/en_guide_basic_modify-output-product.js.map +1 -1
  37. package/doc_build/static/js/async/en_guide_basic_publish-your-project.js +18 -20
  38. package/doc_build/static/js/async/en_guide_basic_publish-your-project.js.map +1 -1
  39. package/doc_build/static/js/async/en_guide_basic_test-your-project.js +27 -32
  40. package/doc_build/static/js/async/en_guide_basic_test-your-project.js.map +1 -1
  41. package/doc_build/static/js/async/en_guide_basic_use-micro-generator.js +33 -15
  42. package/doc_build/static/js/async/en_guide_basic_use-micro-generator.js.map +1 -1
  43. package/doc_build/static/js/async/en_guide_basic_using-storybook.js +24 -63
  44. package/doc_build/static/js/async/en_guide_basic_using-storybook.js.map +1 -1
  45. package/doc_build/static/js/async/en_guide_best-practices_components.js +39 -27
  46. package/doc_build/static/js/async/en_guide_best-practices_components.js.map +1 -1
  47. package/doc_build/static/js/async/en_guide_intro_getting-started.js +288 -45
  48. package/doc_build/static/js/async/en_guide_intro_getting-started.js.map +1 -1
  49. package/doc_build/static/js/async/en_guide_intro_welcome.js +27 -13
  50. package/doc_build/static/js/async/en_guide_intro_welcome.js.map +1 -1
  51. package/doc_build/static/js/async/en_guide_intro_why-module-engineering-solution.js +16 -12
  52. package/doc_build/static/js/async/en_guide_intro_why-module-engineering-solution.js.map +1 -1
  53. package/doc_build/static/js/async/{en_.js → en_index.js} +12 -16
  54. package/doc_build/static/js/async/en_index.js.map +1 -0
  55. package/doc_build/static/js/async/en_plugins_guide_getting-started.js +17 -21
  56. package/doc_build/static/js/async/en_plugins_guide_plugin-object.js +20 -24
  57. package/doc_build/static/js/async/en_plugins_guide_setup-function.js +19 -23
  58. package/doc_build/static/js/async/en_plugins_guide_setup-function.js.map +1 -1
  59. package/doc_build/static/js/async/en_plugins_official-list_overview.js +8 -12
  60. package/doc_build/static/js/async/packages_cli_doc-core_src_theme-default_components_Search_logic_search_ts.js +166 -367
  61. package/doc_build/static/js/async/packages_cli_doc-core_src_theme-default_components_Search_logic_search_ts.js.map +1 -1
  62. package/doc_build/static/js/async/{api_config_build-config.js → zh_api_config_build-config.js} +80 -35
  63. package/doc_build/static/js/async/{api_config_build-config.js.map → zh_api_config_build-config.js.map} +1 -1
  64. package/doc_build/static/js/async/{api_config_build-preset.js → zh_api_config_build-preset.js} +39 -21
  65. package/doc_build/static/js/async/{api_config_build-preset.js.map → zh_api_config_build-preset.js.map} +1 -1
  66. package/doc_build/static/js/async/{api_config_design-system.js → zh_api_config_design-system.js} +27 -23
  67. package/doc_build/static/js/async/{api_config_design-system.js.map → zh_api_config_design-system.js.map} +1 -1
  68. package/doc_build/static/js/async/{api_config_plugins.js → zh_api_config_plugins.js} +17 -21
  69. package/doc_build/static/js/async/{api_config_plugins.js.map → zh_api_config_plugins.js.map} +1 -1
  70. package/doc_build/static/js/async/{api_config_testing.js → zh_api_config_testing.js} +28 -26
  71. package/doc_build/static/js/async/{api_config_testing.js.map → zh_api_config_testing.js.map} +1 -1
  72. package/doc_build/static/js/async/{api_.js → zh_api_index.js} +10 -14
  73. package/doc_build/static/js/async/zh_api_index.js.map +1 -0
  74. package/doc_build/static/js/async/{api_plugin-api_plugin-hooks.js → zh_api_plugin-api_plugin-hooks.js} +25 -27
  75. package/doc_build/static/js/async/{api_plugin-api_plugin-hooks.js.map → zh_api_plugin-api_plugin-hooks.js.map} +1 -1
  76. package/doc_build/static/js/async/{guide_advance_asset.js → zh_guide_advance_asset.js} +18 -43
  77. package/doc_build/static/js/async/{guide_advance_asset.js.map → zh_guide_advance_asset.js.map} +1 -1
  78. package/doc_build/static/js/async/{guide_advance_build-umd.js → zh_guide_advance_build-umd.js} +22 -26
  79. package/doc_build/static/js/async/{guide_advance_build-umd.js.map → zh_guide_advance_build-umd.js.map} +1 -1
  80. package/doc_build/static/js/async/{guide_advance_copy.js → zh_guide_advance_copy.js} +26 -24
  81. package/doc_build/static/js/async/{guide_advance_copy.js.map → zh_guide_advance_copy.js.map} +1 -1
  82. package/doc_build/static/js/async/{guide_advance_external-dependency.js → zh_guide_advance_external-dependency.js} +17 -21
  83. package/doc_build/static/js/async/{guide_advance_external-dependency.js.map → zh_guide_advance_external-dependency.js.map} +1 -1
  84. package/doc_build/static/js/async/{guide_advance_in-depth-about-build.js → zh_guide_advance_in-depth-about-build.js} +353 -95
  85. package/doc_build/static/js/async/{guide_advance_in-depth-about-build.js.map → zh_guide_advance_in-depth-about-build.js.map} +1 -1
  86. package/doc_build/static/js/async/{guide_advance_in-depth-about-dev-command.js → zh_guide_advance_in-depth-about-dev-command.js} +16 -18
  87. package/doc_build/static/js/async/zh_guide_advance_in-depth-about-dev-command.js.map +1 -0
  88. package/doc_build/static/js/async/{guide_advance_theme-config.js → zh_guide_advance_theme-config.js} +24 -22
  89. package/doc_build/static/js/async/{guide_advance_theme-config.js.map → zh_guide_advance_theme-config.js.map} +1 -1
  90. package/doc_build/static/js/async/{guide_basic_before-getting-started.js → zh_guide_basic_before-getting-started.js} +272 -85
  91. package/doc_build/static/js/async/zh_guide_basic_before-getting-started.js.map +1 -0
  92. package/doc_build/static/js/async/{guide_basic_command-preview.js → zh_guide_basic_command-preview.js} +47 -35
  93. package/doc_build/static/js/async/zh_guide_basic_command-preview.js.map +1 -0
  94. package/doc_build/static/js/async/{guide_basic_modify-output-product.js → zh_guide_basic_modify-output-product.js} +203 -88
  95. package/doc_build/static/js/async/zh_guide_basic_modify-output-product.js.map +1 -0
  96. package/doc_build/static/js/async/{guide_basic_publish-your-project.js → zh_guide_basic_publish-your-project.js} +20 -22
  97. package/doc_build/static/js/async/{guide_basic_publish-your-project.js.map → zh_guide_basic_publish-your-project.js.map} +1 -1
  98. package/doc_build/static/js/async/{guide_basic_test-your-project.js → zh_guide_basic_test-your-project.js} +30 -35
  99. package/doc_build/static/js/async/{guide_basic_test-your-project.js.map → zh_guide_basic_test-your-project.js.map} +1 -1
  100. package/doc_build/static/js/async/{guide_basic_use-micro-generator.js → zh_guide_basic_use-micro-generator.js} +40 -20
  101. package/doc_build/static/js/async/zh_guide_basic_use-micro-generator.js.map +1 -0
  102. package/doc_build/static/js/async/{guide_basic_using-storybook.js → zh_guide_basic_using-storybook.js} +78 -171
  103. package/doc_build/static/js/async/{guide_basic_using-storybook.js.map → zh_guide_basic_using-storybook.js.map} +1 -1
  104. package/doc_build/static/js/async/{guide_best-practices_components.js → zh_guide_best-practices_components.js} +41 -29
  105. package/doc_build/static/js/async/{guide_best-practices_components.js.map → zh_guide_best-practices_components.js.map} +1 -1
  106. package/doc_build/static/js/async/{guide_intro_getting-started.js → zh_guide_intro_getting-started.js} +291 -42
  107. package/doc_build/static/js/async/{guide_intro_getting-started.js.map → zh_guide_intro_getting-started.js.map} +1 -1
  108. package/doc_build/static/js/async/{guide_intro_welcome.js → zh_guide_intro_welcome.js} +28 -14
  109. package/doc_build/static/js/async/zh_guide_intro_welcome.js.map +1 -0
  110. package/doc_build/static/js/async/{guide_intro_why-module-engineering-solution.js → zh_guide_intro_why-module-engineering-solution.js} +18 -14
  111. package/doc_build/static/js/async/zh_guide_intro_why-module-engineering-solution.js.map +1 -0
  112. package/doc_build/static/js/async/{index.js → zh_index.js} +11 -15
  113. package/doc_build/static/js/async/zh_index.js.map +1 -0
  114. package/doc_build/static/js/async/{plugins_guide_getting-started.js → zh_plugins_guide_getting-started.js} +19 -23
  115. package/doc_build/static/js/async/{plugins_guide_getting-started.js.map → zh_plugins_guide_getting-started.js.map} +1 -1
  116. package/doc_build/static/js/async/{plugins_guide_plugin-object.js → zh_plugins_guide_plugin-object.js} +22 -26
  117. package/doc_build/static/js/async/{plugins_guide_plugin-object.js.map → zh_plugins_guide_plugin-object.js.map} +1 -1
  118. package/doc_build/static/js/async/{plugins_guide_setup-function.js → zh_plugins_guide_setup-function.js} +21 -25
  119. package/doc_build/static/js/async/{plugins_guide_setup-function.js.map → zh_plugins_guide_setup-function.js.map} +1 -1
  120. package/doc_build/static/js/async/{plugins_official-list_overview.js → zh_plugins_official-list_overview.js} +10 -14
  121. package/doc_build/static/js/async/zh_plugins_official-list_overview.js.map +1 -0
  122. package/doc_build/static/js/builder-runtime.js +1 -1
  123. package/doc_build/static/js/builder-runtime.js.map +1 -1
  124. package/doc_build/static/js/lib-polyfill.js +3433 -16355
  125. package/doc_build/static/js/lib-polyfill.js.map +1 -1
  126. package/doc_build/static/js/main.js +2073 -2700
  127. package/doc_build/static/js/main.js.map +1 -1
  128. package/doc_build/static/js/vendors-node_modules_pnpm_remix-run_router_1_2_0_node_modules_remix-run_router_dist_router_js-9d5e9c.js +485 -1689
  129. package/doc_build/static/js/vendors-node_modules_pnpm_remix-run_router_1_2_0_node_modules_remix-run_router_dist_router_js-9d5e9c.js.map +1 -1
  130. package/doc_build/static/search_index.json +1 -0
  131. package/docs/.island/dist/404.html +41 -0
  132. package/docs/.island/dist/assets/asset.26aea654.js +160 -0
  133. package/docs/.island/dist/assets/asset.36e3d3c9.js +160 -0
  134. package/docs/.island/dist/assets/before-getting-started.0e863740.js +87 -0
  135. package/docs/.island/dist/assets/before-getting-started.2c6e6b8a.js +87 -0
  136. package/docs/.island/dist/assets/build-config.460d11d9.js +804 -0
  137. package/docs/.island/dist/assets/build-config.e155e534.js +854 -0
  138. package/docs/.island/dist/assets/build-preset.6c2c6c62.js +256 -0
  139. package/docs/.island/dist/assets/build-preset.d3da921d.js +256 -0
  140. package/docs/.island/dist/assets/build-umd.ba00f028.js +264 -0
  141. package/docs/.island/dist/assets/build-umd.edb9d163.js +273 -0
  142. package/docs/.island/dist/assets/command-preview.1dc93921.js +264 -0
  143. package/docs/.island/dist/assets/command-preview.ef7a9d01.js +264 -0
  144. package/docs/.island/dist/assets/components.esm.03560353.js +9 -0
  145. package/docs/.island/dist/assets/copy.28dc4d5f.js +277 -0
  146. package/docs/.island/dist/assets/copy.f4625565.js +277 -0
  147. package/docs/.island/dist/assets/design-system.8993234c.js +1254 -0
  148. package/docs/.island/dist/assets/design-system.b0ba163f.js +639 -0
  149. package/docs/.island/dist/assets/dev.b373b152.js +37 -0
  150. package/docs/.island/dist/assets/dev.b39fd42a.js +37 -0
  151. package/docs/.island/dist/assets/down.f35427d3.svg +1 -0
  152. package/docs/.island/dist/assets/extension.4bf3526b.js +1 -0
  153. package/docs/.island/dist/assets/extension.d64ed0b8.js +469 -0
  154. package/docs/.island/dist/assets/external-dependency.2ede7532.js +156 -0
  155. package/docs/.island/dist/assets/external-dependency.92ca89e0.js +156 -0
  156. package/docs/.island/dist/assets/getting-started.822cf0b2.js +117 -0
  157. package/docs/.island/dist/assets/getting-started.e2764829.js +114 -0
  158. package/docs/.island/dist/assets/github.3bf8ccee.svg +1 -0
  159. package/docs/.island/dist/assets/in-depth-about-build.94cc902d.js +375 -0
  160. package/docs/.island/dist/assets/in-depth-about-build.aa74de10.js +374 -0
  161. package/docs/.island/dist/assets/in-depth-about-dev-command.877bdb83.js +33 -0
  162. package/docs/.island/dist/assets/in-depth-about-dev-command.9736befd.js +39 -0
  163. package/docs/.island/dist/assets/index.01786ba7.js +30 -0
  164. package/docs/.island/dist/assets/index.6cef6f5f.js +4 -0
  165. package/docs/.island/dist/assets/index.cb118238.js +36 -0
  166. package/docs/.island/dist/assets/index.ccb6ce27.js +4 -0
  167. package/docs/.island/dist/assets/island_inject.69495876.js +1 -0
  168. package/docs/.island/dist/assets/island_inject.cdfb22d9.js +1 -0
  169. package/docs/.island/dist/assets/loading.8c9bb911.svg +1 -0
  170. package/docs/.island/dist/assets/modify-output-product.9e2394d7.js +100 -0
  171. package/docs/.island/dist/assets/modify-output-product.f363845a.js +100 -0
  172. package/docs/.island/dist/assets/moon.6b705924.svg +3 -0
  173. package/docs/.island/dist/assets/plugin.70a61997.js +42 -0
  174. package/docs/.island/dist/assets/plugin.80b12ee2.js +42 -0
  175. package/docs/.island/dist/assets/publish-your-project.7321c10e.js +164 -0
  176. package/docs/.island/dist/assets/publish-your-project.7326359f.js +166 -0
  177. package/docs/.island/dist/assets/right.89674cd7.svg +1 -0
  178. package/docs/.island/dist/assets/search.0aea6901.svg +1 -0
  179. package/docs/.island/dist/assets/search.11353245.js +222 -0
  180. package/docs/.island/dist/assets/search.a1b1cff3.js +3 -0
  181. package/docs/.island/dist/assets/search.f9025ced.js +3 -0
  182. package/docs/.island/dist/assets/style.09015a4b.css +1 -0
  183. package/docs/.island/dist/assets/style.2e5f7bc2.css +1970 -0
  184. package/docs/.island/dist/assets/sun.841dac10.svg +11 -0
  185. package/docs/.island/dist/assets/test-your-project.8ab2809e.js +190 -0
  186. package/docs/.island/dist/assets/test-your-project.9ae2a49e.js +190 -0
  187. package/docs/.island/dist/assets/test.2bfe276b.js +66 -0
  188. package/docs/.island/dist/assets/test.a2c00a3f.js +67 -0
  189. package/docs/.island/dist/assets/translator.b1077c44.svg +1 -0
  190. package/docs/.island/dist/assets/use-micro-generator.13c1a09f.js +60 -0
  191. package/docs/.island/dist/assets/use-micro-generator.dfe877f6.js +60 -0
  192. package/docs/.island/dist/assets/using-storybook.adb88cb8.js +260 -0
  193. package/docs/.island/dist/assets/using-storybook.b8e7dd04.js +260 -0
  194. package/docs/.island/dist/assets/welcome.94880043.js +13 -0
  195. package/docs/.island/dist/assets/welcome.b2140e7e.js +13 -0
  196. package/docs/.island/dist/assets/why-module-engineering-solution.bfe7981a.js +26 -0
  197. package/docs/.island/dist/assets/why-module-engineering-solution.e31cd19f.js +26 -0
  198. package/docs/.island/dist/chunk-COLCRJ2V.js +1 -0
  199. package/docs/.island/dist/chunk-K5FMOYDC.js +10 -0
  200. package/docs/.island/dist/chunk-WE42KMYS.js +26 -0
  201. package/docs/.island/dist/client-entry.js +3 -0
  202. package/docs/.island/dist/en/api/build-config.html +344 -0
  203. package/docs/.island/dist/en/api/build-preset.html +82 -0
  204. package/docs/.island/dist/en/api/design-system.html +155 -0
  205. package/docs/.island/dist/en/api/dev.html +45 -0
  206. package/docs/.island/dist/en/api/index.html +41 -0
  207. package/docs/.island/dist/en/api/plugin.html +48 -0
  208. package/docs/.island/dist/en/api/test.html +58 -0
  209. package/docs/.island/dist/en/guide/advance/asset.html +68 -0
  210. package/docs/.island/dist/en/guide/advance/build-umd.html +72 -0
  211. package/docs/.island/dist/en/guide/advance/copy.html +82 -0
  212. package/docs/.island/dist/en/guide/advance/extension.html +41 -0
  213. package/docs/.island/dist/en/guide/advance/external-dependency.html +71 -0
  214. package/docs/.island/dist/en/guide/advance/in-depth-about-build.html +148 -0
  215. package/docs/.island/dist/en/guide/advance/in-depth-about-dev-command.html +51 -0
  216. package/docs/.island/dist/en/guide/basic/before-getting-started.html +127 -0
  217. package/docs/.island/dist/en/guide/basic/command-preview.html +100 -0
  218. package/docs/.island/dist/en/guide/basic/modify-output-product.html +140 -0
  219. package/docs/.island/dist/en/guide/basic/publish-your-project.html +91 -0
  220. package/docs/.island/dist/en/guide/basic/test-your-project.html +72 -0
  221. package/docs/.island/dist/en/guide/basic/use-micro-generator.html +65 -0
  222. package/docs/.island/dist/en/guide/basic/using-storybook.html +113 -0
  223. package/docs/.island/dist/en/guide/intro/getting-started.html +76 -0
  224. package/docs/.island/dist/en/guide/intro/welcome.html +53 -0
  225. package/docs/.island/dist/en/guide/intro/why-module-engineering-solution.html +49 -0
  226. package/docs/.island/dist/en/index.html +42 -0
  227. package/docs/.island/dist/react-dom.js +1 -0
  228. package/docs/.island/dist/react-dom_client.js +1 -0
  229. package/docs/.island/dist/react.js +1 -0
  230. package/docs/.island/dist/react_jsx-runtime.js +10 -0
  231. package/docs/.island/dist/ssr-manifest.json +57 -0
  232. package/docs/.island/dist/test-result.png +0 -0
  233. package/docs/.island/dist/why-module-solution.png +0 -0
  234. package/docs/.island/dist/zh/api/build-config.html +361 -0
  235. package/docs/.island/dist/zh/api/build-preset.html +82 -0
  236. package/docs/.island/dist/zh/api/design-system.html +149 -0
  237. package/docs/.island/dist/zh/api/dev.html +46 -0
  238. package/docs/.island/dist/zh/api/index.html +41 -0
  239. package/docs/.island/dist/zh/api/plugin.html +48 -0
  240. package/docs/.island/dist/zh/api/test.html +59 -0
  241. package/docs/.island/dist/zh/guide/advance/asset.html +68 -0
  242. package/docs/.island/dist/zh/guide/advance/build-umd.html +72 -0
  243. package/docs/.island/dist/zh/guide/advance/copy.html +82 -0
  244. package/docs/.island/dist/zh/guide/advance/extension.html +127 -0
  245. package/docs/.island/dist/zh/guide/advance/external-dependency.html +71 -0
  246. package/docs/.island/dist/zh/guide/advance/in-depth-about-build.html +148 -0
  247. package/docs/.island/dist/zh/guide/advance/in-depth-about-dev-command.html +53 -0
  248. package/docs/.island/dist/zh/guide/basic/before-getting-started.html +127 -0
  249. package/docs/.island/dist/zh/guide/basic/command-preview.html +100 -0
  250. package/docs/.island/dist/zh/guide/basic/modify-output-product.html +140 -0
  251. package/docs/.island/dist/zh/guide/basic/publish-your-project.html +92 -0
  252. package/docs/.island/dist/zh/guide/basic/test-your-project.html +72 -0
  253. package/docs/.island/dist/zh/guide/basic/use-micro-generator.html +65 -0
  254. package/docs/.island/dist/zh/guide/basic/using-storybook.html +114 -0
  255. package/docs/.island/dist/zh/guide/intro/getting-started.html +79 -0
  256. package/docs/.island/dist/zh/guide/intro/welcome.html +53 -0
  257. package/docs/.island/dist/zh/guide/intro/why-module-engineering-solution.html +49 -0
  258. package/docs/.island/dist/zh/index.html +42 -0
  259. package/docs/en/api/config/build-config.md +15 -5
  260. package/docs/en/api/config/build-preset.md +3 -2
  261. package/docs/en/api/config/design-system.md +623 -615
  262. package/docs/en/api/config/plugins.md +2 -2
  263. package/docs/en/api/config/testing.md +2 -1
  264. package/docs/en/guide/advance/asset.mdx +0 -4
  265. package/docs/en/guide/advance/build-umd.mdx +3 -3
  266. package/docs/en/guide/advance/in-depth-about-build.md +14 -13
  267. package/docs/en/guide/advance/in-depth-about-dev-command.md +2 -1
  268. package/docs/en/guide/basic/before-getting-started.md +16 -9
  269. package/docs/en/guide/basic/command-preview.md +2 -2
  270. package/docs/en/guide/basic/modify-output-product.md +65 -69
  271. package/docs/en/guide/basic/test-your-project.mdx +1 -3
  272. package/docs/en/guide/basic/use-micro-generator.md +4 -0
  273. package/docs/en/guide/basic/using-storybook.mdx +1 -13
  274. package/docs/en/guide/intro/getting-started.md +16 -7
  275. package/docs/en/plugins/guide/getting-started.mdx +2 -2
  276. package/docs/en/plugins/guide/plugin-object.mdx +5 -5
  277. package/docs/zh/api/config/build-config.md +18 -6
  278. package/docs/zh/api/config/build-preset.md +3 -2
  279. package/docs/zh/api/config/design-system.md +2 -2
  280. package/docs/zh/api/config/plugins.md +2 -2
  281. package/docs/zh/api/config/testing.md +3 -2
  282. package/docs/zh/guide/advance/asset.mdx +0 -5
  283. package/docs/zh/guide/advance/build-umd.mdx +3 -3
  284. package/docs/zh/guide/advance/in-depth-about-build.md +14 -13
  285. package/docs/zh/guide/advance/in-depth-about-dev-command.md +2 -1
  286. package/docs/zh/guide/basic/before-getting-started.md +15 -8
  287. package/docs/zh/guide/basic/command-preview.md +2 -2
  288. package/docs/zh/guide/basic/modify-output-product.md +17 -19
  289. package/docs/zh/guide/basic/test-your-project.mdx +1 -3
  290. package/docs/zh/guide/basic/use-micro-generator.md +5 -1
  291. package/docs/zh/guide/basic/using-storybook.mdx +9 -19
  292. package/docs/zh/guide/intro/getting-started.md +17 -11
  293. package/docs/zh/plugins/guide/getting-started.mdx +2 -2
  294. package/docs/zh/plugins/guide/plugin-object.mdx +5 -5
  295. package/modern.config.ts +11 -5
  296. package/package.json +4 -4
  297. package/doc_build/static/js/async/api_.js.map +0 -1
  298. package/doc_build/static/js/async/en_.js.map +0 -1
  299. package/doc_build/static/js/async/en_api_.js.map +0 -1
  300. package/doc_build/static/js/async/guide_advance_in-depth-about-dev-command.js.map +0 -1
  301. package/doc_build/static/js/async/guide_basic_before-getting-started.js.map +0 -1
  302. package/doc_build/static/js/async/guide_basic_command-preview.js.map +0 -1
  303. package/doc_build/static/js/async/guide_basic_modify-output-product.js.map +0 -1
  304. package/doc_build/static/js/async/guide_basic_use-micro-generator.js.map +0 -1
  305. package/doc_build/static/js/async/guide_intro_welcome.js.map +0 -1
  306. package/doc_build/static/js/async/guide_intro_why-module-engineering-solution.js.map +0 -1
  307. package/doc_build/static/js/async/index.js.map +0 -1
  308. package/doc_build/static/js/async/plugins_official-list_overview.js.map +0 -1
@@ -0,0 +1,39 @@
1
+ import{jsx as e,jsxs as i,Fragment as t}from"react/jsx-runtime";const c=void 0,h=[{id:"\u6DF1\u5165\u7406\u89E3-buildconfig",text:"\u6DF1\u5165\u7406\u89E3 buildConfig",depth:2},{id:"bundle-\u548C-bundleless",text:"Bundle \u548C Bundleless",depth:3},{id:"input-\u4E0E-sourcedir-\u7684\u5173\u7CFB",text:"input \u4E0E sourceDir \u7684\u5173\u7CFB",depth:3},{id:"\u6784\u5EFA\u8FC7\u7A0B",text:"\u6784\u5EFA\u8FC7\u7A0B",depth:2}],u="\u6DF1\u5165\u7406\u89E3\u6784\u5EFA";function l(d){const n=Object.assign({h1:"h1",a:"a",p:"p",code:"code",div:"div",ul:"ul",li:"li",h2:"h2",h3:"h3"},d.components);return i(t,{children:[i(n.h1,{id:"\u6DF1\u5165\u7406\u89E3\u6784\u5EFA",children:[e(n.a,{className:"header-anchor","aria-hidden":"true",href:"#\u6DF1\u5165\u7406\u89E3\u6784\u5EFA",children:"#"}),"\u6DF1\u5165\u7406\u89E3\u6784\u5EFA"]}),`
2
+ `,i(n.p,{children:["\u5728\u3010\u57FA\u7840\u4F7F\u7528\u3011\u7684\u90E8\u5206\uFF0C\u6211\u4EEC\u5DF2\u7ECF\u77E5\u9053\u53EF\u4EE5\u901A\u8FC7 ",e(n.code,{children:"buildConfig"})," \u914D\u7F6E\u5BF9\u9879\u76EE\u7684\u8F93\u51FA\u4EA7\u7269\u8FDB\u884C\u4FEE\u6539\u3002",e(n.code,{children:"buildConfig"})," \u4E0D\u4EC5\u63CF\u8FF0\u4E86\u4EA7\u7269\u7684\u4E00\u4E9B\u7279\u6027\uFF0C\u540C\u65F6\u8FD8\u4E3A\u6784\u5EFA\u4EA7\u7269\u63D0\u4F9B\u4E86\u4E00\u4E9B\u529F\u80FD\u3002"]}),`
3
+ `,i(n.div,{className:"island-directive tip",children:[e(n.p,{className:"island-directive-title",children:"\u6CE8\u610F"}),i(n.div,{className:"island-directive-content",children:[i(n.p,{children:["\u5982\u679C\u4F60\u8FD8\u4E0D\u6E05\u695A ",e(n.code,{children:"buildConfig"})," \u662F\u4EC0\u4E48\uFF0C\u5EFA\u8BAE\u82B1\u4E00\u4E9B\u65F6\u95F4\u901A\u8FC7\u4E0B\u9762\u7684\u94FE\u63A5\u4E86\u89E3\u4E00\u4E0B\uFF1A"]}),i(n.ul,{children:[`
4
+ `,i(n.li,{children:["\u3010",e(n.a,{href:"/zh/guide/modify-output-product.html",children:"\u4FEE\u6539\u8F93\u51FA\u4EA7\u7269"}),"\u3011"]}),`
5
+ `]})]})]}),`
6
+ `,i(n.p,{children:["\u800C\u5728\u672C\u7AE0\u91CC\u6211\u4EEC\u5C06\u8981\u6DF1\u5165\u7406\u89E3\u67D0\u4E9B\u6784\u5EFA\u914D\u7F6E\u7684\u4F7F\u7528\u4EE5\u53CA\u4E86\u89E3\u6267\u884C ",e(n.code,{children:"modern build"})," \u547D\u4EE4\u7684\u65F6\u5019\u53D1\u751F\u4E86\u4EC0\u4E48\u3002"]}),`
7
+ `,i(n.h2,{id:"\u6DF1\u5165\u7406\u89E3-buildconfig",children:[e(n.a,{className:"header-anchor","aria-hidden":"true",href:"#\u6DF1\u5165\u7406\u89E3-buildconfig",children:"#"}),"\u6DF1\u5165\u7406\u89E3 ",e(n.code,{children:"buildConfig"})]}),`
8
+ `,i(n.h3,{id:"bundle-\u548C-bundleless",children:[e(n.a,{className:"header-anchor","aria-hidden":"true",href:"#bundle-\u548C-bundleless",children:"#"}),"Bundle \u548C Bundleless"]}),`
9
+ `,e(n.p,{children:"\u90A3\u4E48\u9996\u5148\u6211\u4EEC\u6765\u7406\u89E3\u4E00\u4E0B Bundle \u548C Bundleless\u3002"}),`
10
+ `,i(n.p,{children:["\u6240\u8C13 Bundle \u662F\u6307\u5BF9\u6784\u5EFA\u4EA7\u7269\u8FDB\u884C\u6253\u5305\uFF0C\u6784\u5EFA\u4EA7\u7269\u53EF\u80FD\u662F\u4E00\u4E2A\u6587\u4EF6\uFF0C\u4E5F\u6709\u53EF\u80FD\u662F\u57FA\u4E8E\u4E00\u5B9A\u7684",e(n.a,{href:"https://esbuild.github.io/api/#splitting",target:"_blank",rel:"nofollow",children:"\u4EE3\u7801\u62C6\u5206\u7B56\u7565"}),"\u5F97\u5230\u7684\u591A\u4E2A\u6587\u4EF6\u3002"]}),`
11
+ `,e(n.p,{children:"\u800C Bundleless \u5219\u662F\u6307\u5BF9\u6BCF\u4E2A\u6E90\u6587\u4EF6\u8FDB\u884C\u7F16\u8BD1\u6784\u5EFA\uFF0C\u4F46\u662F\u5E76\u4E0D\u5C06\u5B83\u4EEC\u6253\u5305\u5728\u4E00\u8D77\u3002\u6BCF\u4E00\u4E2A\u4EA7\u7269\u6587\u4EF6\u90FD\u53EF\u4EE5\u627E\u5230\u4E0E\u4E4B\u76F8\u5BF9\u5E94\u7684\u6E90\u7801\u6587\u4EF6\u3002"}),`
12
+ `,i(n.h3,{id:"input-\u4E0E-sourcedir-\u7684\u5173\u7CFB",children:[e(n.a,{className:"header-anchor","aria-hidden":"true",href:"#input-\u4E0E-sourcedir-\u7684\u5173\u7CFB",children:"#"}),"input \u4E0E sourceDir \u7684\u5173\u7CFB"]}),`
13
+ `,i(n.h2,{id:"\u6784\u5EFA\u8FC7\u7A0B",children:[e(n.a,{className:"header-anchor","aria-hidden":"true",href:"#\u6784\u5EFA\u8FC7\u7A0B",children:"#"}),"\u6784\u5EFA\u8FC7\u7A0B"]})]})}function s(d={}){const{wrapper:n}=d.components||{};return n?e(n,Object.assign({},d,{children:e(l,d)})):l(d)}const o="2022/12/15 18:01:48",a=`# \u6DF1\u5165\u7406\u89E3\u6784\u5EFA
14
+
15
+ \u5728\u3010\u57FA\u7840\u4F7F\u7528\u3011\u7684\u90E8\u5206\uFF0C\u6211\u4EEC\u5DF2\u7ECF\u77E5\u9053\u53EF\u4EE5\u901A\u8FC7 \`buildConfig\` \u914D\u7F6E\u5BF9\u9879\u76EE\u7684\u8F93\u51FA\u4EA7\u7269\u8FDB\u884C\u4FEE\u6539\u3002\`buildConfig\` \u4E0D\u4EC5\u63CF\u8FF0\u4E86\u4EA7\u7269\u7684\u4E00\u4E9B\u7279\u6027\uFF0C\u540C\u65F6\u8FD8\u4E3A\u6784\u5EFA\u4EA7\u7269\u63D0\u4F9B\u4E86\u4E00\u4E9B\u529F\u80FD\u3002
16
+
17
+ :::tip{title=\u6CE8\u610F}
18
+ \u5982\u679C\u4F60\u8FD8\u4E0D\u6E05\u695A \`buildConfig\` \u662F\u4EC0\u4E48\uFF0C\u5EFA\u8BAE\u82B1\u4E00\u4E9B\u65F6\u95F4\u901A\u8FC7\u4E0B\u9762\u7684\u94FE\u63A5\u4E86\u89E3\u4E00\u4E0B\uFF1A
19
+
20
+ * \u3010[\u4FEE\u6539\u8F93\u51FA\u4EA7\u7269](/zh/guide/modify-output-product)\u3011
21
+ :::
22
+
23
+ \u800C\u5728\u672C\u7AE0\u91CC\u6211\u4EEC\u5C06\u8981\u6DF1\u5165\u7406\u89E3\u67D0\u4E9B\u6784\u5EFA\u914D\u7F6E\u7684\u4F7F\u7528\u4EE5\u53CA\u4E86\u89E3\u6267\u884C \`modern build\` \u547D\u4EE4\u7684\u65F6\u5019\u53D1\u751F\u4E86\u4EC0\u4E48\u3002
24
+
25
+ ## \u6DF1\u5165\u7406\u89E3 \`buildConfig\`
26
+
27
+ ### Bundle \u548C Bundleless
28
+
29
+ \u90A3\u4E48\u9996\u5148\u6211\u4EEC\u6765\u7406\u89E3\u4E00\u4E0B Bundle \u548C Bundleless\u3002
30
+
31
+ \u6240\u8C13 Bundle \u662F\u6307\u5BF9\u6784\u5EFA\u4EA7\u7269\u8FDB\u884C\u6253\u5305\uFF0C\u6784\u5EFA\u4EA7\u7269\u53EF\u80FD\u662F\u4E00\u4E2A\u6587\u4EF6\uFF0C\u4E5F\u6709\u53EF\u80FD\u662F\u57FA\u4E8E\u4E00\u5B9A\u7684[\u4EE3\u7801\u62C6\u5206\u7B56\u7565](https://esbuild.github.io/api/#splitting)\u5F97\u5230\u7684\u591A\u4E2A\u6587\u4EF6\u3002
32
+
33
+ \u800C Bundleless \u5219\u662F\u6307\u5BF9\u6BCF\u4E2A\u6E90\u6587\u4EF6\u8FDB\u884C\u7F16\u8BD1\u6784\u5EFA\uFF0C\u4F46\u662F\u5E76\u4E0D\u5C06\u5B83\u4EEC\u6253\u5305\u5728\u4E00\u8D77\u3002\u6BCF\u4E00\u4E2A\u4EA7\u7269\u6587\u4EF6\u90FD\u53EF\u4EE5\u627E\u5230\u4E0E\u4E4B\u76F8\u5BF9\u5E94\u7684\u6E90\u7801\u6587\u4EF6\u3002
34
+
35
+ ### input \u4E0E sourceDir \u7684\u5173\u7CFB
36
+
37
+ ## \u6784\u5EFA\u8FC7\u7A0B
38
+
39
+ `;export{a as content,s as default,c as frontmatter,o as lastUpdatedTime,u as title,h as toc};
@@ -0,0 +1,30 @@
1
+ import{jsx as t,Fragment as l}from"react/jsx-runtime";const s={pageType:"home",hero:{name:"Module tools",text:"\u6A21\u5757\u5DE5\u7A0B\u89E3\u51B3\u65B9\u6848",tagline:"\u7B80\u5355\u3001\u5F3A\u5927\u3001\u9AD8\u6027\u80FD\u7684\u73B0\u4EE3\u5316npm\u5305\u5F00\u53D1\u65B9\u6848",actions:[{theme:"brand",text:"\u6B22\u8FCE\u4F7F\u7528",link:"/zh/guide/intro/welcome"}]},features:[{title:"Esbuild: \u9AD8\u6027\u80FD\u7684JS Bundler",details:"\u57FA\u4E8E Esbuild \u6784\u5EFA\uFF0C\u6784\u5EFA\u901F\u5EA6\u6781\u5FEB\uFF0C\u5E26\u7ED9\u4F60\u6781\u81F4\u7684\u5F00\u53D1\u4F53\u9A8C\u3002",icon:"\u{1F680}"},{title:"Storybook: \u793E\u533A\u6D41\u884C\u7684UI\u5F00\u53D1\u5DE5\u5177",details:"\u96C6\u6210\u4E86Storybook\uFF0C\u4F60\u53EF\u4EE5\u4F7F\u7528\u5B83\u8C03\u8BD5UI\u3002",icon:"\u{1F4E6}"},{title:"transform + bundle",details:"\u652F\u6301bundle\u548Cbundleless\u4E24\u79CD\u6784\u5EFA\u6A21\u5F0F\u3002",icon:"\u2728"},{title:"\u96F6\u914D\u7F6E",details:"\u65E0\u9700\u4EFB\u4F55\u914D\u7F6E\u5373\u53EF\u5F00\u53D1\u4F60\u7684npm\u5305\uFF0C\u5185\u7F6E\u9884\u8BBE\u8986\u76D6\u591A\u79CD\u573A\u666F\u3002",icon:"\u{1F6E0}\uFE0F"},{title:"\u6269\u5C55\u6027\u5F3A: \u63D0\u4F9B\u5F3A\u5927\u7684\u63D2\u4EF6\u673A\u5236",details:"\u901A\u8FC7\u5176\u63D2\u4EF6\u6269\u5C55\u673A\u5236\uFF0C\u4F60\u53EF\u4EE5\u8F7B\u677E\u7684\u6269\u5C55Module tools\u7684\u5404\u9879\u80FD\u529B\u3002",icon:"\u{1F3A8}"}]},d=[];function o(n){return t(l,{})}function a(n={}){const{wrapper:e}=n.components||{};return e?t(e,Object.assign({},n,{children:t(o,n)})):o()}const r="2022/12/15 18:01:48",c=`---
2
+ pageType: home
3
+
4
+ hero:
5
+ name: Module tools
6
+ text: \u6A21\u5757\u5DE5\u7A0B\u89E3\u51B3\u65B9\u6848
7
+ tagline: \u7B80\u5355\u3001\u5F3A\u5927\u3001\u9AD8\u6027\u80FD\u7684\u73B0\u4EE3\u5316npm\u5305\u5F00\u53D1\u65B9\u6848
8
+ actions:
9
+ - theme: brand
10
+ text: \u6B22\u8FCE\u4F7F\u7528
11
+ link: /zh/guide/intro/welcome
12
+
13
+ features:
14
+ - title: 'Esbuild: \u9AD8\u6027\u80FD\u7684JS Bundler'
15
+ details: \u57FA\u4E8E Esbuild \u6784\u5EFA\uFF0C\u6784\u5EFA\u901F\u5EA6\u6781\u5FEB\uFF0C\u5E26\u7ED9\u4F60\u6781\u81F4\u7684\u5F00\u53D1\u4F53\u9A8C\u3002
16
+ icon: \u{1F680}
17
+ - title: 'Storybook: \u793E\u533A\u6D41\u884C\u7684UI\u5F00\u53D1\u5DE5\u5177'
18
+ details: \u96C6\u6210\u4E86Storybook\uFF0C\u4F60\u53EF\u4EE5\u4F7F\u7528\u5B83\u8C03\u8BD5UI\u3002
19
+ icon: \u{1F4E6}
20
+ - title: 'transform + bundle'
21
+ details: \u652F\u6301bundle\u548Cbundleless\u4E24\u79CD\u6784\u5EFA\u6A21\u5F0F\u3002
22
+ icon: \u2728
23
+ - title: '\u96F6\u914D\u7F6E'
24
+ details: \u65E0\u9700\u4EFB\u4F55\u914D\u7F6E\u5373\u53EF\u5F00\u53D1\u4F60\u7684npm\u5305\uFF0C\u5185\u7F6E\u9884\u8BBE\u8986\u76D6\u591A\u79CD\u573A\u666F\u3002
25
+ icon: \u{1F6E0}\uFE0F
26
+ - title: '\u6269\u5C55\u6027\u5F3A: \u63D0\u4F9B\u5F3A\u5927\u7684\u63D2\u4EF6\u673A\u5236'
27
+ details: \u901A\u8FC7\u5176\u63D2\u4EF6\u6269\u5C55\u673A\u5236\uFF0C\u4F60\u53EF\u4EE5\u8F7B\u677E\u7684\u6269\u5C55Module tools\u7684\u5404\u9879\u80FD\u529B\u3002
28
+ icon: \u{1F3A8}
29
+ ---
30
+ `;export{c as content,a as default,s as frontmatter,r as lastUpdatedTime,d as toc};
@@ -0,0 +1,4 @@
1
+ import{jsx as n,Fragment as a}from"react/jsx-runtime";const r={pageType:"api"},p=[];function o(t){return n(a,{})}function s(t={}){const{wrapper:e}=t.components||{};return e?n(e,Object.assign({},t,{children:n(o,t)})):o()}const i="2022/11/24 21:58:22",m=`---
2
+ pageType: 'api'
3
+ ---
4
+ `;export{m as content,s as default,r as frontmatter,i as lastUpdatedTime,p as toc};
@@ -0,0 +1,36 @@
1
+ import{jsx as t,Fragment as o}from"react/jsx-runtime";const a={pageType:"home",hero:{name:"Module tools",text:"\u6A21\u5757\u5DE5\u7A0B\u89E3\u51B3\u65B9\u6848",tagline:"\u7B80\u5355\u3001\u5F3A\u5927\u3001\u9AD8\u6027\u80FD\u7684\u73B0\u4EE3\u5316npm\u5305\u5F00\u53D1\u65B9\u6848",image:{src:"/island.png",alt:"Island"},actions:[{theme:"brand",text:"\u5FEB\u901F\u5F00\u59CB",link:"/zh/guide/getting-started"}]},features:[{title:"Libuild: \u73B0\u4EE3\u5E93\u6784\u5EFA\u65B9\u6848",details:"\u57FA\u4E8E Libuild \u6784\u5EFA\uFF0C\u6784\u5EFA\u901F\u5EA6\u6781\u5FEB\uFF0C\u5E26\u7ED9\u4F60\u6781\u81F4\u7684\u5F00\u53D1\u4F53\u9A8C\u3002",icon:"\u{1F680}"},{title:"Storybook: \u793E\u533A\u6D41\u884C\u7684UI\u5F00\u53D1\u5DE5\u5177",details:"\u96C6\u6210\u4E86Storybook\uFF0C\u4F60\u53EF\u4EE5\u4F7F\u7528\u5B83\u8C03\u8BD5UI\u3002",icon:"\u{1F4E6}"},{title:"Island: \u5F3A\u5927\u7684\u73B0\u4EE3\u5316SSG\u65B9\u6848",details:"\u9AD8\u6027\u80FD\u7684\u9759\u6001\u7AD9\u70B9\u751F\u6210\u5668\u3002",icon:"\u{1F511}"},{title:"transform + bundle",details:"\u652F\u6301bundle\u548Cbundleless\u4E24\u79CD\u6784\u5EFA\u6A21\u5F0F\u3002",icon:"\u2728"},{title:"\u96F6\u914D\u7F6E",details:"\u65E0\u9700\u4EFB\u4F55\u914D\u7F6E\u5373\u53EF\u5F00\u53D1\u4F60\u7684npm\u5305\uFF0C\u5185\u7F6E\u9884\u8BBE\u8986\u76D6\u591A\u79CD\u573A\u666F\u3002",icon:"\u{1F6E0}\uFE0F"},{title:"\u6269\u5C55\u6027\u5F3A: \u63D0\u4F9B\u5F3A\u5927\u7684\u63D2\u4EF6\u673A\u5236",details:"\u901A\u8FC7\u5176\u63D2\u4EF6\u6269\u5C55\u673A\u5236\uFF0C\u4F60\u53EF\u4EE5\u8F7B\u677E\u7684\u6269\u5C55Module tools\u7684\u5404\u9879\u80FD\u529B\u3002",icon:"\u{1F3A8}"}]},s=[];function i(n){return t(o,{})}function d(n={}){const{wrapper:e}=n.components||{};return e?t(e,Object.assign({},n,{children:t(i,n)})):i()}const r="2022/11/24 21:58:22",c=`---
2
+ pageType: home
3
+
4
+ hero:
5
+ name: Module tools
6
+ text: \u6A21\u5757\u5DE5\u7A0B\u89E3\u51B3\u65B9\u6848
7
+ tagline: \u7B80\u5355\u3001\u5F3A\u5927\u3001\u9AD8\u6027\u80FD\u7684\u73B0\u4EE3\u5316npm\u5305\u5F00\u53D1\u65B9\u6848
8
+ image:
9
+ src: /island.png
10
+ alt: Island
11
+ actions:
12
+ - theme: brand
13
+ text: \u5FEB\u901F\u5F00\u59CB
14
+ link: /zh/guide/getting-started
15
+
16
+ features:
17
+ - title: 'Libuild: \u73B0\u4EE3\u5E93\u6784\u5EFA\u65B9\u6848'
18
+ details: \u57FA\u4E8E Libuild \u6784\u5EFA\uFF0C\u6784\u5EFA\u901F\u5EA6\u6781\u5FEB\uFF0C\u5E26\u7ED9\u4F60\u6781\u81F4\u7684\u5F00\u53D1\u4F53\u9A8C\u3002
19
+ icon: \u{1F680}
20
+ - title: 'Storybook: \u793E\u533A\u6D41\u884C\u7684UI\u5F00\u53D1\u5DE5\u5177'
21
+ details: \u96C6\u6210\u4E86Storybook\uFF0C\u4F60\u53EF\u4EE5\u4F7F\u7528\u5B83\u8C03\u8BD5UI\u3002
22
+ icon: \u{1F4E6}
23
+ - title: 'Island: \u5F3A\u5927\u7684\u73B0\u4EE3\u5316SSG\u65B9\u6848'
24
+ details: \u9AD8\u6027\u80FD\u7684\u9759\u6001\u7AD9\u70B9\u751F\u6210\u5668\u3002
25
+ icon: \u{1F511}
26
+ - title: 'transform + bundle'
27
+ details: \u652F\u6301bundle\u548Cbundleless\u4E24\u79CD\u6784\u5EFA\u6A21\u5F0F\u3002
28
+ icon: \u2728
29
+ - title: '\u96F6\u914D\u7F6E'
30
+ details: \u65E0\u9700\u4EFB\u4F55\u914D\u7F6E\u5373\u53EF\u5F00\u53D1\u4F60\u7684npm\u5305\uFF0C\u5185\u7F6E\u9884\u8BBE\u8986\u76D6\u591A\u79CD\u573A\u666F\u3002
31
+ icon: \u{1F6E0}\uFE0F
32
+ - title: '\u6269\u5C55\u6027\u5F3A: \u63D0\u4F9B\u5F3A\u5927\u7684\u63D2\u4EF6\u673A\u5236'
33
+ details: \u901A\u8FC7\u5176\u63D2\u4EF6\u6269\u5C55\u673A\u5236\uFF0C\u4F60\u53EF\u4EE5\u8F7B\u677E\u7684\u6269\u5C55Module tools\u7684\u5404\u9879\u80FD\u529B\u3002
34
+ icon: \u{1F3A8}
35
+ ---
36
+ `;export{c as content,d as default,a as frontmatter,r as lastUpdatedTime,s as toc};
@@ -0,0 +1,4 @@
1
+ import{jsx as n,Fragment as a}from"react/jsx-runtime";const r={pageType:"api"},p=[];function o(t){return n(a,{})}function s(t={}){const{wrapper:e}=t.components||{};return e?n(e,Object.assign({},t,{children:n(o,t)})):o()}const i="2022/11/24 21:58:22",m=`---
2
+ pageType: 'api'
3
+ ---
4
+ `;export{m as content,s as default,r as frontmatter,i as lastUpdatedTime,p as toc};
@@ -0,0 +1 @@
1
+ import*as b from"react";import s,{useState as I,useEffect as G,useRef as U,useCallback as ge,lazy as Ct,forwardRef as Nt,createContext as jt,Fragment as wt}from"react";import{jsx as n,jsxs as p,Fragment as Dt}from"react/jsx-runtime";var H=function(e){return function(t){return Math.pow(t,e)}},q=function(e){return function(t){return 1-Math.abs(Math.pow(t-1,e))}},J=function(e){return function(t){return t<.5?H(e)(t*2)/2:q(e)(t*2-1)/2+.5}},Vt=function(e){return e},Ut=H(2),$t=q(2),Bt=J(2),Ht=H(3),qt=q(3),Wt=J(3),Ft=H(4),Gt=q(4),Yt=J(4),Kt=H(5),Xt=q(5),Zt=J(5),Qt=function(e){return 1+Math.sin(Math.PI/2*e-Math.PI/2)},Jt=function(e){return Math.sin(Math.PI/2*e)},en=function(e){return(1+Math.sin(Math.PI*e-Math.PI/2))/2},de=function(e){var t=7.5625,r=2.75;return e<1/r?t*e*e:e<2/r?(e-=1.5/r,t*e*e+.75):e<2.5/r?(e-=2.25/r,t*e*e+.9375):(e-=2.625/r,t*e*e+.984375)},Et=function(e){return 1-de(1-e)},tn=function(e){return e<.5?Et(e*2)*.5:de(e*2-1)*.5+.5},nn=Object.freeze({linear:Vt,quadIn:Ut,quadOut:$t,quadInOut:Bt,cubicIn:Ht,cubicOut:qt,cubicInOut:Wt,quartIn:Ft,quartOut:Gt,quartInOut:Yt,quintIn:Kt,quintOut:Xt,quintInOut:Zt,sineIn:Qt,sineOut:Jt,sineInOut:en,bounceOut:de,bounceIn:Et,bounceInOut:tn}),ee=function(t){var r=t.from,o=t.to,a=t.duration,i=t.delay,d=t.easing,u=t.onStart,g=t.onUpdate,v=t.onFinish;for(var m in r)o[m]===void 0&&(o[m]=r[m]);for(var h in o)r[h]===void 0&&(r[h]=o[h]);this.from=r,this.to=o,this.duration=a||500,this.delay=i||0,this.easing=d||"linear",this.onStart=u,this.onUpdate=g||function(){},this.onFinish=v,this.startTime=Date.now()+this.delay,this.started=!1,this.finished=!1,this.timer=null,this.keys={}};ee.prototype.update=function(){if(this.time=Date.now(),!(this.time<this.startTime)&&!this.finished){if(this.elapsed===this.duration){this.finished||(this.finished=!0,this.onFinish&&this.onFinish(this.keys));return}this.elapsed=this.time-this.startTime,this.elapsed=this.elapsed>this.duration?this.duration:this.elapsed;for(var t in this.to)this.keys[t]=this.from[t]+(this.to[t]-this.from[t])*nn[this.easing](this.elapsed/this.duration);this.started||(this.onStart&&this.onStart(this.keys),this.started=!0),this.onUpdate(this.keys)}};ee.prototype.start=function(){var t=this;this.startTime=Date.now()+this.delay;var r=function(){t.update(),t.timer=requestAnimationFrame(r),t.finished&&(cancelAnimationFrame(t.timer),t.timer=null)};r()};ee.prototype.stop=function(){cancelAnimationFrame(this.timer),this.timer=null};var rn=typeof global=="object"&&global&&global.Object===Object&&global;const on=rn;var an=typeof self=="object"&&self&&self.Object===Object&&self,sn=on||an||Function("return this")();const yt=sn;var ln=yt.Symbol;const Y=ln;var xt=Object.prototype,cn=xt.hasOwnProperty,dn=xt.toString,V=Y?Y.toStringTag:void 0;function un(e){var t=cn.call(e,V),r=e[V];try{e[V]=void 0;var o=!0}catch{}var a=dn.call(e);return o&&(t?e[V]=r:delete e[V]),a}var mn=Object.prototype,hn=mn.toString;function pn(e){return hn.call(e)}var gn="[object Null]",fn="[object Undefined]",fe=Y?Y.toStringTag:void 0;function vn(e){return e==null?e===void 0?fn:gn:fe&&fe in Object(e)?un(e):pn(e)}function bn(e){return e!=null&&typeof e=="object"}var _n="[object Symbol]";function wn(e){return typeof e=="symbol"||bn(e)&&vn(e)==_n}var En=/\s/;function yn(e){for(var t=e.length;t--&&En.test(e.charAt(t)););return t}var xn=/^\s+/;function Rn(e){return e&&e.slice(0,yn(e)+1).replace(xn,"")}function K(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var ve=0/0,In=/^[-+]0x[0-9a-f]+$/i,Pn=/^0b[01]+$/i,zn=/^0o[0-7]+$/i,Sn=parseInt;function be(e){if(typeof e=="number")return e;if(wn(e))return ve;if(K(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=K(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=Rn(e);var r=Pn.test(e);return r||zn.test(e)?Sn(e.slice(2),r?2:8):In.test(e)?ve:+e}var An=function(){return yt.Date.now()};const re=An;var Tn="Expected a function",On=Math.max,Ln=Math.min;function kn(e,t,r){var o,a,i,d,u,g,v=0,m=!1,h=!1,E=!0;if(typeof e!="function")throw new TypeError(Tn);t=be(t)||0,K(r)&&(m=!!r.leading,h="maxWait"in r,i=h?On(be(r.maxWait)||0,t):i,E="trailing"in r?!!r.trailing:E);function y(f){var w=o,S=a;return o=a=void 0,v=f,d=e.apply(S,w),d}function x(f){return v=f,u=setTimeout(R,t),m?y(f):d}function P(f){var w=f-g,S=f-v,pe=t-w;return h?Ln(pe,i-S):pe}function _(f){var w=f-g,S=f-v;return g===void 0||w>=t||w<0||h&&S>=i}function R(){var f=re();if(_(f))return z(f);u=setTimeout(R,P(f))}function z(f){return u=void 0,E&&o?y(f):(o=a=void 0,d)}function ne(){u!==void 0&&clearTimeout(u),v=0,o=g=a=u=void 0}function j(){return u===void 0?d:z(re())}function D(){var f=re(),w=_(f);if(o=arguments,a=this,g=f,w){if(u===void 0)return x(g);if(h)return clearTimeout(u),u=setTimeout(R,t),y(g)}return u===void 0&&(u=setTimeout(R,t)),d}return D.cancel=ne,D.flush=j,D}var Mn="Expected a function";function Cn(e,t,r){var o=!0,a=!0;if(typeof e!="function")throw new TypeError(Mn);return K(r)&&(o="leading"in r?!!r.leading:o,a="trailing"in r?!!r.trailing:a),kn(e,t,{leading:o,maxWait:t,trailing:a})}const _e=e=>typeof e=="object";function Nn({backTop:e}){var g,v,m;const t=_e(e)?!0:e!=null?e:!0;let r=200,o=500,a="quadIn";_e(e)&&(r=(g=e.visibleHeight)!=null?g:r,o=(v=e.duration)!=null?v:o,a=(m=e.animation)!=null?m:a);const i=()=>{const h=document.documentElement,E=h.scrollTop;new ee({from:{scrollTop:E},to:{scrollTop:0},easing:a,duration:o,onUpdate:x=>{h.scrollTop=Number(x==null?void 0:x.scrollTop)}}).start()},[d,u]=I(!1);return G(()=>{const h=Cn(()=>{const E=document.documentElement.scrollTop;u(E>=r)},500);return document.addEventListener("scroll",h),()=>{h.cancel(),document.removeEventListener("scroll",h)}}),t&&d?n("div",{className:"fixed bottom-10 right-30 z-10",display:"none md:block",onClick:i,children:n("button",{className:"w-10 h-10 rounded-full duration-300",style:{backgroundColor:"var(--island-c-bg)"},color:"gray hover:gray-500",bg:"~ gray-200 hover:gray-300",shadow:"sm hover:md",children:n("div",{flex:"~ center",children:n("div",{className:"i-carbon-chevron-up",text:"xl"})})})}):null}const jn="modulepreload",Dn=function(e){return"/"+e},we={},l=function(t,r,o){return!r||r.length===0?t():Promise.all(r.map(a=>{if(a=Dn(a),a in we)return;we[a]=!0;const i=a.endsWith(".css"),d=i?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${a}"]${d}`))return;const u=document.createElement("link");if(u.rel=i?"stylesheet":jn,i||(u.as="script",u.crossOrigin=""),u.href=a,document.head.appendChild(u),i)return new Promise((g,v)=>{u.addEventListener("load",g),u.addEventListener("error",()=>v(new Error(`Unable to preload CSS for ${a}`)))})})).then(()=>t())},Vn="_searchInput_y03a3_1",Un="_searchCommand_y03a3_7",$n="_focus_y03a3_14",oe={searchInput:Vn,searchCommand:Un,focus:$n},Bn=e=>b.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",...e},b.createElement("path",{fill:"#888888",d:"m29 27.586l-7.552-7.552a11.018 11.018 0 1 0-1.414 1.414L27.586 29ZM4 13a9 9 0 1 1 9 9a9.01 9.01 0 0 1-9-9Z"})),Hn=e=>b.createElement("svg",{width:32,height:32,viewBox:"0 0 24 24",...e},b.createElement("g",{fill:"none",stroke:"var(--island-c-brand)",strokeLinecap:"round",strokeWidth:2},b.createElement("path",{strokeDasharray:60,strokeDashoffset:60,strokeOpacity:.3,d:"M12 3C16.9706 3 21 7.02944 21 12C21 16.9706 16.9706 21 12 21C7.02944 21 3 16.9706 3 12C3 7.02944 7.02944 3 12 3Z"},b.createElement("animate",{fill:"freeze",attributeName:"stroke-dashoffset",dur:"1.3s",values:"60;0"})),b.createElement("path",{strokeDasharray:15,strokeDashoffset:15,d:"M12 3C16.9706 3 21 7.02944 21 12"},b.createElement("animate",{fill:"freeze",attributeName:"stroke-dashoffset",dur:"0.3s",values:"15;0"}),b.createElement("animateTransform",{attributeName:"transform",dur:"1.5s",repeatCount:"indefinite",type:"rotate",values:"0 12 12;360 12 12"}))));function qn(e){const{suggestion:t,query:r}=e,o=()=>{if(t.type==="header"){const{header:i,headerHighlightIndex:d}=t,u=i.slice(0,d),g=i.slice(d+r.length);return p("div",{font:"medium",children:[n("span",{children:u}),n("span",{bg:"brand-light",p:"y-0.4 x-0.8",rounded:"md",text:"text-1",children:r}),n("span",{children:g})]})}else return n("div",{font:"medium",children:t.header})},a=()=>{if(t.type!=="content")return;const{statementHighlightIndex:i,statement:d}=t,u=d.slice(0,i),g=d.slice(i+r.length);return p("div",{font:"normal",text:"sm gray-light",w:"100%",children:[n("span",{children:u}),n("span",{bg:"brand-light",p:"y-0.4 x-0.8",rounded:"md",text:"[#000]",children:r}),n("span",{children:g})]})};return p("div",{"border-b-1":"","border-t-1":"","table-cell":"",p:"x-3 y-2",hover:"bg-[#f3f4f5] ",text:"#2c3e50",className:`border-right-none border-[#eaecef] ${e.isCurrent?"bg-[#f3f4f5]":"bg-white"}`,transition:"bg duration-200",children:[n("div",{font:"medium",text:"sm",children:o()}),t.type==="content"&&a()]})}const W={ARROW_UP:"ArrowUp",ARROW_DOWN:"ArrowDown",ENTER:"Enter",SEARCH:"KeyK"};function Wn(e){const[t,r]=I(""),[o,a]=I([]),[i,d]=I(!1),[u,g]=I(!1),[v,m]=I(!1),[h,E]=I(-1),y=U(),x=U(),[P,_]=I(!0),R=U(null),z=!i||u,ne=!z&&o.length===0,j=ge(async()=>{if(y.current)return Promise.resolve();{const{PageSearcher:f}=await l(()=>import("./search.f9025ced.js"),[]);y.current=new f(e.langRoutePrefix),await y.current.init(),d(!0)}},[e.langRoutePrefix]),D=ge(async f=>{const w=f.target.value;r(w),x.current=x.current||j(),await x.current,g(!0);const S=await y.current.match(w);g(!1),a(S)},[j]);return G(()=>{const f=w=>{switch(w.code){case W.SEARCH:(w.ctrlKey||w.metaKey)&&R.current&&(w.preventDefault(),v?(m(!1),R.current.blur()):(m(!0),R.current.focus()));break;case W.ARROW_DOWN:w.preventDefault(),E((h+1)%o.length);break;case W.ARROW_UP:w.preventDefault(),E((h-1+o.length)%o.length);break;case W.ENTER:if(h>=0){const S=o[h];window.location.href=S.link}break}};return document.addEventListener("keydown",f),()=>{document.removeEventListener("keydown",f)}},[h,v,o]),G(()=>{_(!1)},[]),p("div",{flex:"","items-center":"~",relative:"",mr:"2",font:"semibold",children:[n(Bn,{w:"5",h:"5",fill:"currentColor",onClick:()=>{m(!0),R.current.focus()}}),n("input",{disabled:P,cursor:"text focus:auto",placeholder:"Search",height:"8",border:"none",type:"text",text:"sm",p:"t-0 r-2 b-0 l-2",transition:"all duration-200 ease",className:`rounded-sm ${oe.searchInput} ${v?oe.focus:""}`,"aria-label":"Search",autoComplete:"off",onChange:D,onBlur:()=>setTimeout(()=>m(!1),200),onFocus:()=>{m(!0),x.current=j()},ref:R}),p("div",{m:"r-3",w:"10",h:"6",p:"x-1.5",rounded:"md",border:"1px solid gray-light-3",text:"xs gray-light-3",flex:"~","items-center":"~",justify:"around",className:oe.searchCommand,children:[n("span",{children:"\u2318"}),n("span",{children:"K"})]}),v&&t&&p("ul",{pos:"fixed sm:absolute top-12 sm:top-8 left-0",z:"60","border-1":"",p:"2",list:"none",bg:"bg-default",className:"w-100% sm:min-w-500px sm:max-w-700px",children:[o.map((f,w)=>n("li",{rounded:"sm",cursor:"pointer",w:"100%",className:"border-collapse",children:n("a",{block:"",href:f.link,className:"whitespace-normal",children:p("div",{table:"",w:"100%",className:"border-collapse",children:[n("div",{w:"35%","border-t-1":"","border-b-1":"","border-r-1":"","border-left":"none","table-cell":"",align:"middle right",p:"1.2",text:"sm right [#2c3e50]",font:"semibold",className:"bg-[#f5f5f5] border-[#eaecef]",children:f.title}),n(qn,{suggestion:f,query:t,isCurrent:w===h})]})})},f.title)),ne&&n("li",{flex:"center",children:n("div",{p:"2",text:"sm #2c3e50",children:"No results found"})}),z&&n("li",{flex:"center",children:n("div",{p:"2",text:"sm",children:n(Hn,{})})})]})]})}const Fn="_social-links-icon_wx6p9_1",ae={socialLinksIcon:Fn},Gn={discord:p("svg",{role:"img",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:[n("title",{children:"Discord"}),n("path",{d:"M20.317 4.3698a19.7913 19.7913 0 00-4.8851-1.5152.0741.0741 0 00-.0785.0371c-.211.3753-.4447.8648-.6083 1.2495-1.8447-.2762-3.68-.2762-5.4868 0-.1636-.3933-.4058-.8742-.6177-1.2495a.077.077 0 00-.0785-.037 19.7363 19.7363 0 00-4.8852 1.515.0699.0699 0 00-.0321.0277C.5334 9.0458-.319 13.5799.0992 18.0578a.0824.0824 0 00.0312.0561c2.0528 1.5076 4.0413 2.4228 5.9929 3.0294a.0777.0777 0 00.0842-.0276c.4616-.6304.8731-1.2952 1.226-1.9942a.076.076 0 00-.0416-.1057c-.6528-.2476-1.2743-.5495-1.8722-.8923a.077.077 0 01-.0076-.1277c.1258-.0943.2517-.1923.3718-.2914a.0743.0743 0 01.0776-.0105c3.9278 1.7933 8.18 1.7933 12.0614 0a.0739.0739 0 01.0785.0095c.1202.099.246.1981.3728.2924a.077.077 0 01-.0066.1276 12.2986 12.2986 0 01-1.873.8914.0766.0766 0 00-.0407.1067c.3604.698.7719 1.3628 1.225 1.9932a.076.076 0 00.0842.0286c1.961-.6067 3.9495-1.5219 6.0023-3.0294a.077.077 0 00.0313-.0552c.5004-5.177-.8382-9.6739-3.5485-13.6604a.061.061 0 00-.0312-.0286zM8.02 15.3312c-1.1825 0-2.1569-1.0857-2.1569-2.419 0-1.3332.9555-2.4189 2.157-2.4189 1.2108 0 2.1757 1.0952 2.1568 2.419 0 1.3332-.9555 2.4189-2.1569 2.4189zm7.9748 0c-1.1825 0-2.1569-1.0857-2.1569-2.419 0-1.3332.9554-2.4189 2.1569-2.4189 1.2108 0 2.1757 1.0952 2.1568 2.419 0 1.3332-.946 2.4189-2.1568 2.4189Z"})]}),facebook:p("svg",{role:"img",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:[n("title",{children:"Facebook"}),n("path",{d:"M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z"})]}),github:p("svg",{role:"img",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:[n("title",{children:"GitHub"}),n("path",{d:"M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"})]}),instagram:p("svg",{role:"img",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:[n("title",{children:"Instagram"}),n("path",{d:"M12 0C8.74 0 8.333.015 7.053.072 5.775.132 4.905.333 4.14.63c-.789.306-1.459.717-2.126 1.384S.935 3.35.63 4.14C.333 4.905.131 5.775.072 7.053.012 8.333 0 8.74 0 12s.015 3.667.072 4.947c.06 1.277.261 2.148.558 2.913.306.788.717 1.459 1.384 2.126.667.666 1.336 1.079 2.126 1.384.766.296 1.636.499 2.913.558C8.333 23.988 8.74 24 12 24s3.667-.015 4.947-.072c1.277-.06 2.148-.262 2.913-.558.788-.306 1.459-.718 2.126-1.384.666-.667 1.079-1.335 1.384-2.126.296-.765.499-1.636.558-2.913.06-1.28.072-1.687.072-4.947s-.015-3.667-.072-4.947c-.06-1.277-.262-2.149-.558-2.913-.306-.789-.718-1.459-1.384-2.126C21.319 1.347 20.651.935 19.86.63c-.765-.297-1.636-.499-2.913-.558C15.667.012 15.26 0 12 0zm0 2.16c3.203 0 3.585.016 4.85.071 1.17.055 1.805.249 2.227.415.562.217.96.477 1.382.896.419.42.679.819.896 1.381.164.422.36 1.057.413 2.227.057 1.266.07 1.646.07 4.85s-.015 3.585-.074 4.85c-.061 1.17-.256 1.805-.421 2.227-.224.562-.479.96-.899 1.382-.419.419-.824.679-1.38.896-.42.164-1.065.36-2.235.413-1.274.057-1.649.07-4.859.07-3.211 0-3.586-.015-4.859-.074-1.171-.061-1.816-.256-2.236-.421-.569-.224-.96-.479-1.379-.899-.421-.419-.69-.824-.9-1.38-.165-.42-.359-1.065-.42-2.235-.045-1.26-.061-1.649-.061-4.844 0-3.196.016-3.586.061-4.861.061-1.17.255-1.814.42-2.234.21-.57.479-.96.9-1.381.419-.419.81-.689 1.379-.898.42-.166 1.051-.361 2.221-.421 1.275-.045 1.65-.06 4.859-.06l.045.03zm0 3.678c-3.405 0-6.162 2.76-6.162 6.162 0 3.405 2.76 6.162 6.162 6.162 3.405 0 6.162-2.76 6.162-6.162 0-3.405-2.76-6.162-6.162-6.162zM12 16c-2.21 0-4-1.79-4-4s1.79-4 4-4 4 1.79 4 4-1.79 4-4 4zm7.846-10.405c0 .795-.646 1.44-1.44 1.44-.795 0-1.44-.646-1.44-1.44 0-.794.646-1.439 1.44-1.439.793-.001 1.44.645 1.44 1.439z"})]}),linkedin:p("svg",{role:"img",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:[n("title",{children:"LinkedIn"}),n("path",{d:"M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z"})]}),slack:p("svg",{role:"img",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:[n("title",{children:"Slack"}),n("path",{d:"M5.042 15.165a2.528 2.528 0 0 1-2.52 2.523A2.528 2.528 0 0 1 0 15.165a2.527 2.527 0 0 1 2.522-2.52h2.52v2.52zM6.313 15.165a2.527 2.527 0 0 1 2.521-2.52 2.527 2.527 0 0 1 2.521 2.52v6.313A2.528 2.528 0 0 1 8.834 24a2.528 2.528 0 0 1-2.521-2.522v-6.313zM8.834 5.042a2.528 2.528 0 0 1-2.521-2.52A2.528 2.528 0 0 1 8.834 0a2.528 2.528 0 0 1 2.521 2.522v2.52H8.834zM8.834 6.313a2.528 2.528 0 0 1 2.521 2.521 2.528 2.528 0 0 1-2.521 2.521H2.522A2.528 2.528 0 0 1 0 8.834a2.528 2.528 0 0 1 2.522-2.521h6.312zM18.956 8.834a2.528 2.528 0 0 1 2.522-2.521A2.528 2.528 0 0 1 24 8.834a2.528 2.528 0 0 1-2.522 2.521h-2.522V8.834zM17.688 8.834a2.528 2.528 0 0 1-2.523 2.521 2.527 2.527 0 0 1-2.52-2.521V2.522A2.527 2.527 0 0 1 15.165 0a2.528 2.528 0 0 1 2.523 2.522v6.312zM15.165 18.956a2.528 2.528 0 0 1 2.523 2.522A2.528 2.528 0 0 1 15.165 24a2.527 2.527 0 0 1-2.52-2.522v-2.522h2.52zM15.165 17.688a2.527 2.527 0 0 1-2.52-2.523 2.526 2.526 0 0 1 2.52-2.52h6.313A2.527 2.527 0 0 1 24 15.165a2.528 2.528 0 0 1-2.522 2.523h-6.313z"})]}),twitter:p("svg",{role:"img",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:[n("title",{children:"Twitter"}),n("path",{d:"M23.953 4.57a10 10 0 01-2.825.775 4.958 4.958 0 002.163-2.723c-.951.555-2.005.959-3.127 1.184a4.92 4.92 0 00-8.384 4.482C7.69 8.095 4.067 6.13 1.64 3.162a4.822 4.822 0 00-.666 2.475c0 1.71.87 3.213 2.188 4.096a4.904 4.904 0 01-2.228-.616v.06a4.923 4.923 0 003.946 4.827 4.996 4.996 0 01-2.212.085 4.936 4.936 0 004.604 3.417 9.867 9.867 0 01-6.102 2.105c-.39 0-.779-.023-1.17-.067a13.995 13.995 0 007.557 2.209c9.053 0 13.998-7.496 13.998-13.985 0-.21 0-.42-.015-.63A9.935 9.935 0 0024 4.59z"})]}),youtube:p("svg",{role:"img",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:[n("title",{children:"YouTube"}),n("path",{d:"M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z"})]}),juejin:p("svg",{t:"1666949308602",className:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"1858","data-spm-anchor-id":"a313x.7781069.0.i5",children:[n("path",{d:"M465.189 161.792c-22.967 18.14-44.325 35.109-47.397 37.742l-5.851 4.68 10.971 8.632c5.998 4.827 11.85 9.508 13.02 10.532 1.17 1.024 17.993 14.336 37.156 29.696l34.962 27.795 5.267-3.95c2.925-2.194 23.259-18.432 45.348-35.986 21.943-17.555 41.253-32.768 42.716-33.646 1.609-1.024 2.779-2.194 2.779-2.78 0-0.438-9.655-8.63-21.504-17.846-11.995-9.363-22.674-17.847-23.845-18.871-15.945-13.02-49.737-39.059-50.76-39.059-0.586 0.147-19.896 14.922-42.862 33.061z m233.325 180.37C507.465 493.275 508.928 492.105 505.417 489.911c-3.072-1.902-11.556-8.485-64.073-50.03-9.07-7.168-18.578-14.775-21.358-16.823-2.78-2.194-8.777-6.875-13.312-10.532-4.68-3.657-10.679-8.339-13.312-10.533-13.165-10.24-71.095-56.027-102.107-80.457-5.852-4.681-11.41-8.485-12.142-8.485-0.731 0-10.971 7.754-22.674 17.116-11.703 9.508-22.674 18.286-24.284 19.456-1.755 1.17-5.12 3.95-7.46 6.144-2.34 2.34-4.828 4.096-5.413 4.096-3.072 0-0.731 3.072 6.437 8.777 4.096 3.218 8.777 6.875 10.094 8.046 1.316 1.024 10.24 8.045 19.748 15.506s23.26 18.286 30.428 23.99c19.31 15.215 31.89 25.308 127.853 101.084 47.836 37.742 88.796 69.779 90.844 71.095 3.657 2.487 3.95 2.487 7.46-0.292a1041.42 1041.42 0 0 0 16.092-12.727c6.875-5.413 14.775-11.703 17.554-13.897 30.135-23.699 80.018-63.05 81.774-64.512 1.17-1.024 12.434-9.802 24.868-19.603s37.888-29.696 56.32-44.324c18.579-14.629 46.227-36.425 61.733-48.567 15.506-12.142 27.794-22.528 27.502-23.26-0.878-1.17-57.637-47.104-59.978-48.274-0.731-0.439-18.578 12.727-39.497 29.257z","p-id":"1859","data-spm-anchor-id":"a313x.7781069.0.i2"}),n("path",{d:"M57.93 489.326c-15.215 12.288-28.527 23.405-29.697 24.576-2.34 2.194-5.412-0.44 80.018 66.852 33.207 26.185 32.622 25.747 57.637 45.495 10.386 8.192 36.279 28.672 57.783 45.495 38.18 30.135 44.91 35.401 52.663 41.545 2.048 1.756 22.967 18.14 46.372 36.572 23.26 18.432 74.167 58.514 112.933 89.088 38.912 30.573 71.095 55.734 71.826 56.027 0.732 0.293 7.46-4.389 14.921-10.386 21.797-16.97 90.259-70.949 101.523-79.872 5.705-4.535 12.873-10.24 15.945-12.58 3.072-2.488 6.436-5.12 7.314-5.852 0.878-0.878 11.85-9.509 24.283-19.31 20.773-16.091 59.1-46.226 64.366-50.615 1.17-1.024 5.12-4.096 8.777-6.875 3.657-2.78 7.9-6.29 9.509-7.607 1.609-1.317 14.775-11.703 29.257-23.113 29.11-22.82 42.277-33.207 88.503-69.632 17.262-13.605 32.475-25.454 33.646-26.478 2.486-2.048 31.451-24.869 44.617-35.255 4.827-3.657 9.07-7.168 9.508-7.607 0.44-0.585 5.998-4.827 12.435-9.8 6.436-4.828 13.165-10.24 15.067-11.85l3.365-2.926-9.948-7.753c-5.412-4.388-10.24-8.192-10.679-8.63-1.17-1.317-22.381-18.433-30.135-24.284-3.95-3.072-7.314-5.998-7.606-6.73-1.317-3.071-6.73 0.147-29.258 17.994-13.458 10.532-25.746 20.187-27.355 21.504-1.61 1.463-10.533 8.338-19.749 15.652-9.216 7.168-17.115 13.459-17.554 13.898-0.439 0.438-6.583 5.412-13.897 10.971-7.168 5.559-15.214 11.703-17.7 13.75-4.974 4.097-5.413 4.39-20.334 16.239-5.56 4.388-11.264 8.777-12.435 9.8-1.17 1.025-20.333 16.092-42.422 33.354-22.09 17.408-41.546 32.768-43.155 34.084-1.609 1.463-14.482 11.557-28.525 22.528s-40.814 32.037-59.539 46.812c-18.578 14.775-42.276 33.353-52.516 41.399s-23.26 18.285-28.965 22.82l-10.386 8.339-4.389-3.072c-2.34-1.756-4.68-3.511-5.12-3.95-0.439-0.439-4.973-4.096-10.24-8.046-11.849-9.216-14.482-11.264-16.676-13.166-0.878-0.877-4.243-3.51-7.46-5.851-3.22-2.487-6.145-4.681-6.584-5.12-0.439-0.439-6.875-5.705-14.482-11.703-7.607-5.851-14.921-11.556-16.091-12.58-1.317-1.17-17.116-13.605-35.255-27.795-17.993-14.19-35.109-27.648-38.035-29.842-5.705-4.681-33.499-26.624-125.074-98.743-34.523-27.209-72.704-57.344-84.846-66.852-49.737-39.498-55.15-43.594-56.905-43.447-0.877 0-14.043 10.24-29.257 22.528z","p-id":"1860","data-spm-anchor-id":"a313x.7781069.0.i3"})]}),qq:n("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",className:"iconify iconify--ri",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24",children:n("path",{fill:"currentColor",d:"M19.913 14.529a31.977 31.977 0 0 0-.675-1.886l-.91-2.246c0-.026.012-.468.012-.696C18.34 5.86 16.507 2 12 2S5.66 5.86 5.66 9.7c0 .229.011.671.012.697l-.91 2.246a32.777 32.777 0 0 0-.675 1.886c-.86 2.737-.581 3.87-.369 3.895c.455.054 1.771-2.06 1.771-2.06c0 1.224.637 2.822 2.016 3.976c-.515.157-1.147.399-1.554.695c-.365.267-.319.54-.253.65c.289.481 4.955.307 6.303.157c1.347.15 6.014.324 6.302-.158c.066-.11.112-.382-.253-.649c-.407-.296-1.039-.538-1.555-.696c1.379-1.153 2.016-2.751 2.016-3.976c0 0 1.316 2.115 1.771 2.06c.212-.025.49-1.157-.37-3.894"})}),wechat:n("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",className:"iconify iconify--ri",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24",children:n("path",{fill:"currentColor",d:"M18.574 13.711a.91.91 0 0 0 .898-.898c0-.498-.399-.898-.898-.898s-.898.4-.898.898c0 .5.4.898.898.898zm-4.425 0a.91.91 0 0 0 .898-.898c0-.498-.4-.898-.898-.898c-.5 0-.898.4-.898.898c0 .5.399.898.898.898zm6.567 5.04a.347.347 0 0 0-.172.37c0 .048 0 .097.025.147c.098.417.294 1.081.294 1.106c0 .073.025.122.025.172a.22.22 0 0 1-.221.22c-.05 0-.074-.024-.123-.048l-1.449-.836a.799.799 0 0 0-.344-.098c-.073 0-.147 0-.196.024c-.688.197-1.4.295-2.161.295c-3.66 0-6.607-2.457-6.607-5.505c0-3.047 2.947-5.505 6.607-5.505c3.659 0 6.606 2.458 6.606 5.505c0 1.647-.884 3.146-2.284 4.154zM16.673 8.099a9.105 9.105 0 0 0-.28-.005c-4.174 0-7.606 2.86-7.606 6.505c0 .554.08 1.09.228 1.6h-.089a9.963 9.963 0 0 1-2.584-.368c-.074-.025-.148-.025-.222-.025a.832.832 0 0 0-.418.123l-1.748 1.005c-.05.025-.099.05-.148.05a.273.273 0 0 1-.27-.27c0-.074.024-.123.049-.197c.024-.024.246-.834.369-1.324c0-.05.024-.123.024-.172a.556.556 0 0 0-.221-.442C2.058 13.376 1 11.586 1 9.598C1 5.945 4.57 3 8.95 3c3.765 0 6.93 2.169 7.723 5.098zm-5.154.418c.573 0 1.026-.477 1.026-1.026c0-.573-.453-1.026-1.026-1.026s-1.026.453-1.026 1.026s.453 1.026 1.026 1.026zm-5.26 0c.573 0 1.027-.477 1.027-1.026c0-.573-.454-1.026-1.027-1.026c-.572 0-1.026.453-1.026 1.026s.454 1.026 1.026 1.026z"})}),weibo:n("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",className:"iconify iconify--ri",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24",children:n("path",{fill:"currentColor",d:"M17.525 11.378c1.263.392 2.669 1.336 2.669 3.004c0 2.763-3.98 6.239-9.964 6.239c-4.565 0-9.23-2.213-9.23-5.852c0-1.902 1.204-4.102 3.277-6.177c2.773-2.77 6.004-4.033 7.219-2.816c.537.537.588 1.464.244 2.572c-.178.557.525.25.525.25c2.24-.938 4.196-.994 4.909.027c.38.543.343 1.306-.008 2.19c-.163.407.048.471.36.563zm-7.282 7.939c3.641-.362 6.401-2.592 6.167-4.983c-.237-2.391-3.382-4.038-7.023-3.677c-3.64.36-6.403 2.59-6.167 4.98c.237 2.394 3.382 4.039 7.023 3.68zM6.16 14.438c.754-1.527 2.712-2.39 4.446-1.94c1.793.463 2.707 2.154 1.976 3.8c-.744 1.682-2.882 2.578-4.695 1.993c-1.752-.566-2.493-2.294-1.727-3.853zm1.446 2.587c.568.257 1.325.013 1.676-.55c.346-.568.163-1.217-.407-1.459c-.563-.237-1.291.008-1.64.553c-.354.547-.189 1.202.371 1.456zm2.206-1.808c.219.092.501-.012.628-.231c.123-.22.044-.466-.178-.548c-.216-.084-.486.018-.613.232c-.123.214-.054.458.163.547zM19.873 9.5a.725.725 0 1 1-1.378-.451a1.38 1.38 0 0 0-.288-1.357a1.395 1.395 0 0 0-1.321-.425a.723.723 0 1 1-.303-1.416a2.836 2.836 0 0 1 3.29 3.649zm-3.916-6.575A5.831 5.831 0 0 1 21.5 4.72a5.836 5.836 0 0 1 1.22 5.704a.838.838 0 0 1-1.06.54a.844.844 0 0 1-.542-1.062a4.143 4.143 0 0 0-4.807-5.327a.845.845 0 0 1-.354-1.65z"})}),zhihu:n("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",className:"iconify iconify--ri",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24",children:n("path",{fill:"currentColor",d:"m12.344 17.963l-1.688 1.074l-2.131-3.35c-.44 1.402-1.172 2.665-2.139 3.825c-.402.483-.82.918-1.301 1.375c-.155.147-.775.717-.878.82l-1.414-1.414c.139-.139.787-.735.915-.856c.43-.408.795-.79 1.142-1.206c1.266-1.518 2.03-3.21 2.137-5.231H3v-2h4V7h-.868c-.689 1.266-1.558 2.222-2.618 2.857L2.486 8.143c1.395-.838 2.425-2.604 3.038-5.36l1.952.434c-.14.633-.303 1.227-.489 1.783H11.5v2H9v4h2.5v2H9.185l3.159 4.963zm3.838-.07L17.298 17H19V7h-4v10h.736l.446.893zM13 5h8v14h-3l-2.5 2l-1-2H13V5z"})}),bilibili:n("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",className:"iconify iconify--ri",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24",children:n("path",{fill:"currentColor",d:"M18.223 3.086a1.25 1.25 0 0 1 0 1.768L17.08 5.996h1.17A3.75 3.75 0 0 1 22 9.747v7.5a3.75 3.75 0 0 1-3.75 3.75H5.75A3.75 3.75 0 0 1 2 17.247v-7.5a3.75 3.75 0 0 1 3.75-3.75h1.166L5.775 4.855a1.25 1.25 0 1 1 1.767-1.768l2.652 2.652c.079.079.145.165.198.257h3.213c.053-.092.12-.18.199-.258l2.651-2.652a1.25 1.25 0 0 1 1.768 0zm.027 5.42H5.75a1.25 1.25 0 0 0-1.247 1.157l-.003.094v7.5c0 .659.51 1.199 1.157 1.246l.093.004h12.5a1.25 1.25 0 0 0 1.247-1.157l.003-.093v-7.5c0-.69-.56-1.25-1.25-1.25zm-10 2.5c.69 0 1.25.56 1.25 1.25v1.25a1.25 1.25 0 1 1-2.5 0v-1.25c0-.69.56-1.25 1.25-1.25zm7.5 0c.69 0 1.25.56 1.25 1.25v1.25a1.25 1.25 0 1 1-2.5 0v-1.25c0-.69.56-1.25 1.25-1.25z"})})},Rt=e=>{const{link:t,popperStyle:r={}}=e,{icon:o,mode:a="link",content:i}=t,d=typeof o=="object"?n("div",{dangerouslySetInnerHTML:{__html:o.svg}}):Gn[o],[u,g]=I(!1),v=()=>{g(!0)},m=()=>{g(!1)};if(a==="link")return n("a",{href:i,target:"_blank",rel:"noopener noreferrer",children:n("div",{className:`${ae.socialLinksIcon}`,children:d})},o);if(a==="text")return p("div",{className:`${ae.socialLinksIcon}`,cursor:"pointer",relative:"",onMouseEnter:v,onMouseLeave:m,children:[d,u?n("div",{absolute:"",z:"1",p:"3",w:"50",break:"all",pos:"right-0","border-1":"",rounded:"xl",bg:"bg-default",style:{boxShadow:"var(--island-shadow-3)",...r},children:n("div",{text:"ml",children:i})}):null]});if(a==="img")return p("div",{className:`${ae.socialLinksIcon}`,cursor:"pointer",relative:"",onMouseEnter:v,onMouseLeave:m,children:[d,u?n("div",{absolute:"",z:"1",p:"3",w:"50",break:"all",pos:"right-0","border-1":"",rounded:"xl",bg:"bg-default",style:{boxShadow:"var(--island-shadow-3)",...r},children:n("img",{src:i,alt:"img"})}):null]})},Yn=e=>{const{links:t,moreIconVisible:r=!1,mouseEnter:o}=e;return p(Dt,{children:[n("div",{h:"100%",flex:"",gap:"x-4","items-center":"",transition:"color duration-300",children:t.map(a=>n(Rt,{link:a,popperStyle:{top:"2.5rem"}},a.icon))}),r?n("div",{className:"i-carbon-chevron-sort-down ml-1",onMouseEnter:o}):null]})},Kn=e=>{const{links:t}=e;return n("div",{absolute:"",pos:"top-13 right-0",z:"1",p:"3",w:"32","border-1":"",rounded:"xl",bg:"bg-default",style:{boxShadow:"var(--island-shadow-3)",marginRight:"-2px"},flex:"~ wrap",gap:"4",children:t.map(r=>n(Rt,{link:r,popperStyle:{top:"1.25rem"}},r.icon))})},It=({socialLinks:e})=>{const t=e.length>3,r=[],o=[];for(const d in e)d<3?r.push(e[d]):o.push(e[d]);const[a,i]=I(!1);return p("div",{className:"social-links","nav-h":"mobile sm:desktop",flex:"","items-center":"",before:"menu-item-before",relative:"",onMouseLeave:()=>i(!1),children:[n(Yn,{links:r,moreIconVisible:t,mouseEnter:()=>i(!0)}),a?n(Kn,{links:o}):null]})},Xn="_navHamburger_14nz8_1",Zn="_container_14nz8_14",Qn="_top_14nz8_21",Jn="_middle_14nz8_27",er="_bottom_14nz8_33",tr="_active_14nz8_39",M={navHamburger:Xn,container:Zn,top:Qn,middle:Jn,bottom:er,active:tr},nr="_navScreen_1mkpq_1",rr="_active_1mkpq_17",or="_container_1mkpq_21",ar="_navMenu_1mkpq_27",ir="_navMenuItem_1mkpq_34",sr="_navAppearance_1mkpq_46",lr="_socialAndAppearance_1mkpq_50",A={navScreen:nr,active:rr,container:or,navMenu:ar,navMenuItem:ir,navAppearance:sr,socialAndAppearance:lr};function cr(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t<e.length;t++)r[t]=e[t];return r}else return Array.from(e)}var ue=!1;if(typeof window<"u"){var Ee={get passive(){ue=!0}};window.addEventListener("testPassive",null,Ee),window.removeEventListener("testPassive",null,Ee)}var X=typeof window<"u"&&window.navigator&&window.navigator.platform&&(/iP(ad|hone|od)/.test(window.navigator.platform)||window.navigator.platform==="MacIntel"&&window.navigator.maxTouchPoints>1),C=[],Z=!1,me=-1,$=void 0,O=void 0,B=void 0,Pt=function(t){return C.some(function(r){return!!(r.options.allowTouchMove&&r.options.allowTouchMove(t))})},Q=function(t){var r=t||window.event;return Pt(r.target)||r.touches.length>1?!0:(r.preventDefault&&r.preventDefault(),!1)},dr=function(t){if(B===void 0){var r=!!t&&t.reserveScrollBarGap===!0,o=window.innerWidth-document.documentElement.clientWidth;if(r&&o>0){var a=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right"),10);B=document.body.style.paddingRight,document.body.style.paddingRight=a+o+"px"}}$===void 0&&($=document.body.style.overflow,document.body.style.overflow="hidden")},ur=function(){B!==void 0&&(document.body.style.paddingRight=B,B=void 0),$!==void 0&&(document.body.style.overflow=$,$=void 0)},mr=function(){return window.requestAnimationFrame(function(){if(O===void 0){O={position:document.body.style.position,top:document.body.style.top,left:document.body.style.left};var t=window,r=t.scrollY,o=t.scrollX,a=t.innerHeight;document.body.style.position="fixed",document.body.style.top=-r,document.body.style.left=-o,setTimeout(function(){return window.requestAnimationFrame(function(){var i=a-window.innerHeight;i&&r>=a&&(document.body.style.top=-(r+i))})},300)}})},hr=function(){if(O!==void 0){var t=-parseInt(document.body.style.top,10),r=-parseInt(document.body.style.left,10);document.body.style.position=O.position,document.body.style.top=O.top,document.body.style.left=O.left,window.scrollTo(r,t),O=void 0}},pr=function(t){return t?t.scrollHeight-t.scrollTop<=t.clientHeight:!1},gr=function(t,r){var o=t.targetTouches[0].clientY-me;return Pt(t.target)?!1:r&&r.scrollTop===0&&o>0||pr(r)&&o<0?Q(t):(t.stopPropagation(),!0)},fr=function(t,r){if(!t){console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.");return}if(!C.some(function(a){return a.targetElement===t})){var o={targetElement:t,options:r||{}};C=[].concat(cr(C),[o]),X?mr():dr(r),X&&(t.ontouchstart=function(a){a.targetTouches.length===1&&(me=a.targetTouches[0].clientY)},t.ontouchmove=function(a){a.targetTouches.length===1&&gr(a,t)},Z||(document.addEventListener("touchmove",Q,ue?{passive:!1}:void 0),Z=!0))}},vr=function(){X&&(C.forEach(function(t){t.targetElement.ontouchstart=null,t.targetElement.ontouchmove=null}),Z&&(document.removeEventListener("touchmove",Q,ue?{passive:!1}:void 0),Z=!1),me=-1),X?hr():ur(),C=[]};const br="_navScreenMenuGroup_1xte3_1",_r="_open_1xte3_7",wr="_button_1xte3_12",Er="_buttonSpan_1xte3_25",yr="_items_1xte3_32",xr="_down_1xte3_40",T={navScreenMenuGroup:br,open:_r,button:wr,buttonSpan:Er,items:yr,down:xr},zt=e=>b.createElement("svg",{width:"1em",height:"1em",viewBox:"0 0 32 32",...e},b.createElement("path",{fill:"currentColor",d:"M16 22L6 12l1.4-1.4l8.6 8.6l8.6-8.6L26 12z"})),St=e=>b.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",...e},b.createElement("path",{fill:"currentColor",d:"M10 6v2h12.59L6 24.59L7.41 26L24 9.41V22h2V6H10z"})),Rr="_link_r3fql_1",Ir={link:Rr};function c(e){const t=Ct(e);let r,o;const i=Nt(function(u,g){const m=U(r!=null?r:t).current;return n(m,{ref:g,...u})});return i.preload=()=>(o||(o=e().then(d=>(r=d.default,d))),o),i}const ye=c(()=>l(()=>import("./build-config.460d11d9.js"),["assets/build-config.460d11d9.js","assets/components.esm.03560353.js"])),xe=c(()=>l(()=>import("./build-preset.d3da921d.js"),["assets/build-preset.d3da921d.js","assets/components.esm.03560353.js"])),Re=c(()=>l(()=>import("./design-system.b0ba163f.js"),["assets/design-system.b0ba163f.js","assets/components.esm.03560353.js"])),Ie=c(()=>l(()=>import("./dev.b39fd42a.js"),["assets/dev.b39fd42a.js","assets/components.esm.03560353.js"])),Pe=c(()=>l(()=>import("./index.ccb6ce27.js"),[])),ze=c(()=>l(()=>import("./plugin.80b12ee2.js"),["assets/plugin.80b12ee2.js","assets/components.esm.03560353.js"])),Se=c(()=>l(()=>import("./test.2bfe276b.js"),["assets/test.2bfe276b.js","assets/components.esm.03560353.js"])),Ae=c(()=>l(()=>import("./asset.26aea654.js"),["assets/asset.26aea654.js","assets/components.esm.03560353.js"])),Te=c(()=>l(()=>import("./build-umd.edb9d163.js"),["assets/build-umd.edb9d163.js","assets/components.esm.03560353.js"])),Oe=c(()=>l(()=>import("./copy.f4625565.js"),["assets/copy.f4625565.js","assets/components.esm.03560353.js"])),Le=c(()=>l(()=>import("./extension.4bf3526b.js"),[])),ke=c(()=>l(()=>import("./external-dependency.2ede7532.js"),["assets/external-dependency.2ede7532.js","assets/components.esm.03560353.js"])),Me=c(()=>l(()=>import("./in-depth-about-build.aa74de10.js"),["assets/in-depth-about-build.aa74de10.js","assets/components.esm.03560353.js"])),Ce=c(()=>l(()=>import("./in-depth-about-dev-command.877bdb83.js"),[])),Ne=c(()=>l(()=>import("./before-getting-started.2c6e6b8a.js"),["assets/before-getting-started.2c6e6b8a.js","assets/components.esm.03560353.js"])),je=c(()=>l(()=>import("./command-preview.1dc93921.js"),["assets/command-preview.1dc93921.js","assets/components.esm.03560353.js"])),De=c(()=>l(()=>import("./modify-output-product.f363845a.js"),["assets/modify-output-product.f363845a.js","assets/components.esm.03560353.js"])),Ve=c(()=>l(()=>import("./publish-your-project.7326359f.js"),["assets/publish-your-project.7326359f.js","assets/components.esm.03560353.js"])),Ue=c(()=>l(()=>import("./test-your-project.8ab2809e.js"),["assets/test-your-project.8ab2809e.js","assets/components.esm.03560353.js"])),$e=c(()=>l(()=>import("./use-micro-generator.13c1a09f.js"),[])),Be=c(()=>l(()=>import("./using-storybook.adb88cb8.js"),["assets/using-storybook.adb88cb8.js","assets/components.esm.03560353.js"])),He=c(()=>l(()=>import("./getting-started.e2764829.js"),["assets/getting-started.e2764829.js","assets/components.esm.03560353.js"])),qe=c(()=>l(()=>import("./welcome.b2140e7e.js"),[])),We=c(()=>l(()=>import("./why-module-engineering-solution.bfe7981a.js"),[])),Fe=c(()=>l(()=>import("./index.cb118238.js"),[])),Ge=c(()=>l(()=>import("./build-config.e155e534.js"),["assets/build-config.e155e534.js","assets/components.esm.03560353.js"])),Ye=c(()=>l(()=>import("./build-preset.6c2c6c62.js"),["assets/build-preset.6c2c6c62.js","assets/components.esm.03560353.js"])),Ke=c(()=>l(()=>import("./design-system.8993234c.js"),["assets/design-system.8993234c.js","assets/components.esm.03560353.js"])),Xe=c(()=>l(()=>import("./dev.b373b152.js"),["assets/dev.b373b152.js","assets/components.esm.03560353.js"])),Ze=c(()=>l(()=>import("./index.6cef6f5f.js"),[])),Qe=c(()=>l(()=>import("./plugin.70a61997.js"),["assets/plugin.70a61997.js","assets/components.esm.03560353.js"])),Je=c(()=>l(()=>import("./test.a2c00a3f.js"),["assets/test.a2c00a3f.js","assets/components.esm.03560353.js"])),et=c(()=>l(()=>import("./asset.36e3d3c9.js"),["assets/asset.36e3d3c9.js","assets/components.esm.03560353.js"])),tt=c(()=>l(()=>import("./build-umd.ba00f028.js"),["assets/build-umd.ba00f028.js","assets/components.esm.03560353.js"])),nt=c(()=>l(()=>import("./copy.28dc4d5f.js"),["assets/copy.28dc4d5f.js","assets/components.esm.03560353.js"])),rt=c(()=>l(()=>import("./extension.d64ed0b8.js"),["assets/extension.d64ed0b8.js","assets/components.esm.03560353.js"])),ot=c(()=>l(()=>import("./external-dependency.92ca89e0.js"),["assets/external-dependency.92ca89e0.js","assets/components.esm.03560353.js"])),at=c(()=>l(()=>import("./in-depth-about-build.94cc902d.js"),["assets/in-depth-about-build.94cc902d.js","assets/components.esm.03560353.js"])),it=c(()=>l(()=>import("./in-depth-about-dev-command.9736befd.js"),[])),st=c(()=>l(()=>import("./before-getting-started.0e863740.js"),["assets/before-getting-started.0e863740.js","assets/components.esm.03560353.js"])),lt=c(()=>l(()=>import("./command-preview.ef7a9d01.js"),["assets/command-preview.ef7a9d01.js","assets/components.esm.03560353.js"])),ct=c(()=>l(()=>import("./modify-output-product.9e2394d7.js"),["assets/modify-output-product.9e2394d7.js","assets/components.esm.03560353.js"])),dt=c(()=>l(()=>import("./publish-your-project.7321c10e.js"),["assets/publish-your-project.7321c10e.js","assets/components.esm.03560353.js"])),ut=c(()=>l(()=>import("./test-your-project.9ae2a49e.js"),["assets/test-your-project.9ae2a49e.js","assets/components.esm.03560353.js"])),mt=c(()=>l(()=>import("./use-micro-generator.dfe877f6.js"),[])),ht=c(()=>l(()=>import("./using-storybook.b8e7dd04.js"),["assets/using-storybook.b8e7dd04.js","assets/components.esm.03560353.js"])),pt=c(()=>l(()=>import("./getting-started.822cf0b2.js"),["assets/getting-started.822cf0b2.js","assets/components.esm.03560353.js"])),gt=c(()=>l(()=>import("./welcome.94880043.js"),[])),ft=c(()=>l(()=>import("./why-module-engineering-solution.e31cd19f.js"),[])),vt=c(()=>l(()=>import("./index.01786ba7.js"),[])),Pr=[{path:"/en/api/build-config",element:s.createElement(ye),filePath:"/Users/targeral/github/targeral-modern-js/website/module-tools/docs/en/api/build-config.md",preload:ye.preload},{path:"/en/api/build-preset",element:s.createElement(xe),filePath:"/Users/targeral/github/targeral-modern-js/website/module-tools/docs/en/api/build-preset.md",preload:xe.preload},{path:"/en/api/design-system",element:s.createElement(Re),filePath:"/Users/targeral/github/targeral-modern-js/website/module-tools/docs/en/api/design-system.md",preload:Re.preload},{path:"/en/api/dev",element:s.createElement(Ie),filePath:"/Users/targeral/github/targeral-modern-js/website/module-tools/docs/en/api/dev.md",preload:Ie.preload},{path:"/en/api/",element:s.createElement(Pe),filePath:"/Users/targeral/github/targeral-modern-js/website/module-tools/docs/en/api/index.md",preload:Pe.preload},{path:"/en/api/plugin",element:s.createElement(ze),filePath:"/Users/targeral/github/targeral-modern-js/website/module-tools/docs/en/api/plugin.md",preload:ze.preload},{path:"/en/api/test",element:s.createElement(Se),filePath:"/Users/targeral/github/targeral-modern-js/website/module-tools/docs/en/api/test.md",preload:Se.preload},{path:"/en/guide/advance/asset",element:s.createElement(Ae),filePath:"/Users/targeral/github/targeral-modern-js/website/module-tools/docs/en/guide/advance/asset.mdx",preload:Ae.preload},{path:"/en/guide/advance/build-umd",element:s.createElement(Te),filePath:"/Users/targeral/github/targeral-modern-js/website/module-tools/docs/en/guide/advance/build-umd.mdx",preload:Te.preload},{path:"/en/guide/advance/copy",element:s.createElement(Oe),filePath:"/Users/targeral/github/targeral-modern-js/website/module-tools/docs/en/guide/advance/copy.md",preload:Oe.preload},{path:"/en/guide/advance/extension",element:s.createElement(Le),filePath:"/Users/targeral/github/targeral-modern-js/website/module-tools/docs/en/guide/advance/extension.md",preload:Le.preload},{path:"/en/guide/advance/external-dependency",element:s.createElement(ke),filePath:"/Users/targeral/github/targeral-modern-js/website/module-tools/docs/en/guide/advance/external-dependency.mdx",preload:ke.preload},{path:"/en/guide/advance/in-depth-about-build",element:s.createElement(Me),filePath:"/Users/targeral/github/targeral-modern-js/website/module-tools/docs/en/guide/advance/in-depth-about-build.md",preload:Me.preload},{path:"/en/guide/advance/in-depth-about-dev-command",element:s.createElement(Ce),filePath:"/Users/targeral/github/targeral-modern-js/website/module-tools/docs/en/guide/advance/in-depth-about-dev-command.md",preload:Ce.preload},{path:"/en/guide/basic/before-getting-started",element:s.createElement(Ne),filePath:"/Users/targeral/github/targeral-modern-js/website/module-tools/docs/en/guide/basic/before-getting-started.md",preload:Ne.preload},{path:"/en/guide/basic/command-preview",element:s.createElement(je),filePath:"/Users/targeral/github/targeral-modern-js/website/module-tools/docs/en/guide/basic/command-preview.md",preload:je.preload},{path:"/en/guide/basic/modify-output-product",element:s.createElement(De),filePath:"/Users/targeral/github/targeral-modern-js/website/module-tools/docs/en/guide/basic/modify-output-product.md",preload:De.preload},{path:"/en/guide/basic/publish-your-project",element:s.createElement(Ve),filePath:"/Users/targeral/github/targeral-modern-js/website/module-tools/docs/en/guide/basic/publish-your-project.md",preload:Ve.preload},{path:"/en/guide/basic/test-your-project",element:s.createElement(Ue),filePath:"/Users/targeral/github/targeral-modern-js/website/module-tools/docs/en/guide/basic/test-your-project.mdx",preload:Ue.preload},{path:"/en/guide/basic/use-micro-generator",element:s.createElement($e),filePath:"/Users/targeral/github/targeral-modern-js/website/module-tools/docs/en/guide/basic/use-micro-generator.md",preload:$e.preload},{path:"/en/guide/basic/using-storybook",element:s.createElement(Be),filePath:"/Users/targeral/github/targeral-modern-js/website/module-tools/docs/en/guide/basic/using-storybook.mdx",preload:Be.preload},{path:"/en/guide/intro/getting-started",element:s.createElement(He),filePath:"/Users/targeral/github/targeral-modern-js/website/module-tools/docs/en/guide/intro/getting-started.md",preload:He.preload},{path:"/en/guide/intro/welcome",element:s.createElement(qe),filePath:"/Users/targeral/github/targeral-modern-js/website/module-tools/docs/en/guide/intro/welcome.md",preload:qe.preload},{path:"/en/guide/intro/why-module-engineering-solution",element:s.createElement(We),filePath:"/Users/targeral/github/targeral-modern-js/website/module-tools/docs/en/guide/intro/why-module-engineering-solution.md",preload:We.preload},{path:"/en/",element:s.createElement(Fe),filePath:"/Users/targeral/github/targeral-modern-js/website/module-tools/docs/en/index.md",preload:Fe.preload},{path:"/zh/api/build-config",element:s.createElement(Ge),filePath:"/Users/targeral/github/targeral-modern-js/website/module-tools/docs/zh/api/build-config.md",preload:Ge.preload},{path:"/zh/api/build-preset",element:s.createElement(Ye),filePath:"/Users/targeral/github/targeral-modern-js/website/module-tools/docs/zh/api/build-preset.md",preload:Ye.preload},{path:"/zh/api/design-system",element:s.createElement(Ke),filePath:"/Users/targeral/github/targeral-modern-js/website/module-tools/docs/zh/api/design-system.md",preload:Ke.preload},{path:"/zh/api/dev",element:s.createElement(Xe),filePath:"/Users/targeral/github/targeral-modern-js/website/module-tools/docs/zh/api/dev.md",preload:Xe.preload},{path:"/zh/api/",element:s.createElement(Ze),filePath:"/Users/targeral/github/targeral-modern-js/website/module-tools/docs/zh/api/index.md",preload:Ze.preload},{path:"/zh/api/plugin",element:s.createElement(Qe),filePath:"/Users/targeral/github/targeral-modern-js/website/module-tools/docs/zh/api/plugin.md",preload:Qe.preload},{path:"/zh/api/test",element:s.createElement(Je),filePath:"/Users/targeral/github/targeral-modern-js/website/module-tools/docs/zh/api/test.md",preload:Je.preload},{path:"/zh/guide/advance/asset",element:s.createElement(et),filePath:"/Users/targeral/github/targeral-modern-js/website/module-tools/docs/zh/guide/advance/asset.mdx",preload:et.preload},{path:"/zh/guide/advance/build-umd",element:s.createElement(tt),filePath:"/Users/targeral/github/targeral-modern-js/website/module-tools/docs/zh/guide/advance/build-umd.mdx",preload:tt.preload},{path:"/zh/guide/advance/copy",element:s.createElement(nt),filePath:"/Users/targeral/github/targeral-modern-js/website/module-tools/docs/zh/guide/advance/copy.md",preload:nt.preload},{path:"/zh/guide/advance/extension",element:s.createElement(rt),filePath:"/Users/targeral/github/targeral-modern-js/website/module-tools/docs/zh/guide/advance/extension.mdx",preload:rt.preload},{path:"/zh/guide/advance/external-dependency",element:s.createElement(ot),filePath:"/Users/targeral/github/targeral-modern-js/website/module-tools/docs/zh/guide/advance/external-dependency.mdx",preload:ot.preload},{path:"/zh/guide/advance/in-depth-about-build",element:s.createElement(at),filePath:"/Users/targeral/github/targeral-modern-js/website/module-tools/docs/zh/guide/advance/in-depth-about-build.md",preload:at.preload},{path:"/zh/guide/advance/in-depth-about-dev-command",element:s.createElement(it),filePath:"/Users/targeral/github/targeral-modern-js/website/module-tools/docs/zh/guide/advance/in-depth-about-dev-command.md",preload:it.preload},{path:"/zh/guide/basic/before-getting-started",element:s.createElement(st),filePath:"/Users/targeral/github/targeral-modern-js/website/module-tools/docs/zh/guide/basic/before-getting-started.md",preload:st.preload},{path:"/zh/guide/basic/command-preview",element:s.createElement(lt),filePath:"/Users/targeral/github/targeral-modern-js/website/module-tools/docs/zh/guide/basic/command-preview.md",preload:lt.preload},{path:"/zh/guide/basic/modify-output-product",element:s.createElement(ct),filePath:"/Users/targeral/github/targeral-modern-js/website/module-tools/docs/zh/guide/basic/modify-output-product.md",preload:ct.preload},{path:"/zh/guide/basic/publish-your-project",element:s.createElement(dt),filePath:"/Users/targeral/github/targeral-modern-js/website/module-tools/docs/zh/guide/basic/publish-your-project.md",preload:dt.preload},{path:"/zh/guide/basic/test-your-project",element:s.createElement(ut),filePath:"/Users/targeral/github/targeral-modern-js/website/module-tools/docs/zh/guide/basic/test-your-project.mdx",preload:ut.preload},{path:"/zh/guide/basic/use-micro-generator",element:s.createElement(mt),filePath:"/Users/targeral/github/targeral-modern-js/website/module-tools/docs/zh/guide/basic/use-micro-generator.md",preload:mt.preload},{path:"/zh/guide/basic/using-storybook",element:s.createElement(ht),filePath:"/Users/targeral/github/targeral-modern-js/website/module-tools/docs/zh/guide/basic/using-storybook.mdx",preload:ht.preload},{path:"/zh/guide/intro/getting-started",element:s.createElement(pt),filePath:"/Users/targeral/github/targeral-modern-js/website/module-tools/docs/zh/guide/intro/getting-started.md",preload:pt.preload},{path:"/zh/guide/intro/welcome",element:s.createElement(gt),filePath:"/Users/targeral/github/targeral-modern-js/website/module-tools/docs/zh/guide/intro/welcome.md",preload:gt.preload},{path:"/zh/guide/intro/why-module-engineering-solution",element:s.createElement(ft),filePath:"/Users/targeral/github/targeral-modern-js/website/module-tools/docs/zh/guide/intro/why-module-engineering-solution.md",preload:ft.preload},{path:"/zh/",element:s.createElement(vt),filePath:"/Users/targeral/github/targeral-modern-js/website/module-tools/docs/zh/index.md",preload:vt.preload}],zr=()=>typeof window<"u";function he(e){return e.charAt(0)==="/"?e:"/"+e}function Sr(e){return e.charAt(e.length-1)==="/"?e.slice(0,-1):e}function At(e){return Sr(he(e))}const Tt="/";jt({data:zr()?window==null?void 0:window.ISLAND_PAGE_DATA:null,setData:e=>{}});const oo=(e=()=>!0)=>Promise.all(Pr.filter(e).map(async t=>({...await t.preload(),routePath:t.path})));function Ar(e="/"){const t=At(Tt),r=he(e);return`${t}${r}`}function Tr(e){const t=At(Tt);return e.replace(t,"")}function Ot(e){if(!e)return"/";if(e.startsWith("http"))return e;let t="";return t+=".html",e.endsWith("/")&&(t="index"+t),he(`${e}${t}`)}const le="island-theme-appearance",Or=["https://island-tutorial.sanyuan0704.top","https://island.sanyuan0704.top","https://islandjs.dev"],Lr=/^(https?:)?\/\//;function te(e){const{href:t="/",children:r,className:o=""}=e,a=Lr.test(t),i=Or.some(v=>t.startsWith(v)),d=a&&!i?"_blank":"",u=a?"noopener noreferrer":void 0,g=a?t:Ar(t);return n("a",{href:g,target:d,rel:u,className:`${Ir.link} ${o}`,children:r})}function Lt(e){const{activeIndex:t}=e,[r,o]=I(!1);return p("div",{relative:"",className:`${r?T.open:""} ${T.navScreenMenuGroup}`,children:[p("button",{className:T.button,onClick:()=>{o(!r)},children:[n("span",{className:T.buttonSpan,children:e.text}),n(zt,{className:`${r?T.open:""} ${T.down} `})]}),n("div",{children:n("div",{className:T.items,children:e.items.map((a,i)=>i===t?n("div",{className:"pa-1",children:n("span",{mr:"1",text:"brand",children:a.text})},a.link):n("div",{className:"pa-1",font:"medium",children:n(te,{href:a.link,children:n("div",{children:p("div",{flex:"",children:[n("span",{mr:"1",children:a.text}),n(St,{w:"11px",h:"11px",text:"text-3",m:"t-1 r-1"})]})})})},a.link))})})]})}function kr(e){const{pathname:t}=e,r=new RegExp(e.activeMatch||e.link).test(t);return n("div",{text:"sm",font:"medium",m:"x-3",className:`${r?"text-brand":""}`,children:n(te,{href:Ot(e.link),children:e.text})},e.text)}const Mr="_check_1tqe3_17",Cr="_icon_1tqe3_34",Nr="_dark_1tqe3_29",ie={switch:"_switch_1tqe3_1",check:Mr,icon:Cr,dark:Nr};function jr(e){var t;return n("button",{className:`${ie.switch} ${e.className}`,id:(t=e.id)!=null?t:"",type:"button",role:"switch",...e.onClick?{onClick:e.onClick}:{},children:n("span",{className:ie.check,children:n("span",{className:ie.icon,children:e.children})})})}const Dr="_sun_8e60k_1",Vr="_moon_8e60k_5",bt={sun:Dr,moon:Vr},Ur=e=>b.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24",...e},b.createElement("path",{d:"M12,18c-3.3,0-6-2.7-6-6s2.7-6,6-6s6,2.7,6,6S15.3,18,12,18zM12,8c-2.2,0-4,1.8-4,4c0,2.2,1.8,4,4,4c2.2,0,4-1.8,4-4C16,9.8,14.2,8,12,8z"}),b.createElement("path",{d:"M12,4c-0.6,0-1-0.4-1-1V1c0-0.6,0.4-1,1-1s1,0.4,1,1v2C13,3.6,12.6,4,12,4z"}),b.createElement("path",{d:"M12,24c-0.6,0-1-0.4-1-1v-2c0-0.6,0.4-1,1-1s1,0.4,1,1v2C13,23.6,12.6,24,12,24z"}),b.createElement("path",{d:"M5.6,6.6c-0.3,0-0.5-0.1-0.7-0.3L3.5,4.9c-0.4-0.4-0.4-1,0-1.4s1-0.4,1.4,0l1.4,1.4c0.4,0.4,0.4,1,0,1.4C6.2,6.5,5.9,6.6,5.6,6.6z"}),b.createElement("path",{d:"M19.8,20.8c-0.3,0-0.5-0.1-0.7-0.3l-1.4-1.4c-0.4-0.4-0.4-1,0-1.4s1-0.4,1.4,0l1.4,1.4c0.4,0.4,0.4,1,0,1.4C20.3,20.7,20,20.8,19.8,20.8z"}),b.createElement("path",{d:"M3,13H1c-0.6,0-1-0.4-1-1s0.4-1,1-1h2c0.6,0,1,0.4,1,1S3.6,13,3,13z"}),b.createElement("path",{d:"M23,13h-2c-0.6,0-1-0.4-1-1s0.4-1,1-1h2c0.6,0,1,0.4,1,1S23.6,13,23,13z"}),b.createElement("path",{d:"M4.2,20.8c-0.3,0-0.5-0.1-0.7-0.3c-0.4-0.4-0.4-1,0-1.4l1.4-1.4c0.4-0.4,1-0.4,1.4,0s0.4,1,0,1.4l-1.4,1.4C4.7,20.7,4.5,20.8,4.2,20.8z"}),b.createElement("path",{d:"M18.4,6.6c-0.3,0-0.5-0.1-0.7-0.3c-0.4-0.4-0.4-1,0-1.4l1.4-1.4c0.4-0.4,1-0.4,1.4,0s0.4,1,0,1.4l-1.4,1.4C18.9,6.5,18.6,6.6,18.4,6.6z"})),$r=e=>b.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24",...e},b.createElement("path",{d:"M12.1,22c-0.3,0-0.6,0-0.9,0c-5.5-0.5-9.5-5.4-9-10.9c0.4-4.8,4.2-8.6,9-9c0.4,0,0.8,0.2,1,0.5c0.2,0.3,0.2,0.8-0.1,1.1c-2,2.7-1.4,6.4,1.3,8.4c2.1,1.6,5,1.6,7.1,0c0.3-0.2,0.7-0.3,1.1-0.1c0.3,0.2,0.5,0.6,0.5,1c-0.2,2.7-1.5,5.1-3.6,6.8C16.6,21.2,14.4,22,12.1,22zM9.3,4.4c-2.9,1-5,3.6-5.2,6.8c-0.4,4.4,2.8,8.3,7.2,8.7c2.1,0.2,4.2-0.4,5.8-1.8c1.1-0.9,1.9-2.1,2.4-3.4c-2.5,0.9-5.3,0.5-7.5-1.1C9.2,11.4,8.1,7.7,9.3,4.4z"}));let L=!0,F,k,N;typeof window<"u"&&typeof localStorage<"u"&&(k=localStorage.getItem(le)||"auto",N=window.matchMedia("(prefers-color-scheme: dark)"),L=k==="auto"?N.matches:k==="dark",N.onchange=e=>{k==="auto"&&ce(L=e.matches)});const ce=e=>{F[e?"add":"remove"]("dark")},Br=()=>{if(typeof window<"u"&&F===void 0){F=document.documentElement.classList;const e=()=>{const t=localStorage.getItem(le)||"auto";F&&(ce(t==="auto"?N.matches:t==="dark"),L=!L)};window.addEventListener("storage",e)}return()=>{ce(L=!L),typeof window<"u"&&typeof localStorage<"u"&&(L?k=N.matches?"auto":"dark":k=N.matches?"light":"auto",localStorage.setItem(le,k))}};function kt(e){const t=Br();return p(jr,{onClick:t,children:[n(Ur,{className:bt.sun}),n($r,{className:bt.moon})]})}const Mt=e=>b.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",...e},b.createElement("path",{fill:"currentColor",d:"M27.85 29H30l-6-15h-2.35l-6 15h2.15l1.6-4h6.85zm-7.65-6l2.62-6.56L25.45 23zM18 7V5h-7V2H9v3H2v2h10.74a14.71 14.71 0 0 1-3.19 6.18A13.5 13.5 0 0 1 7.26 9h-2.1a16.47 16.47 0 0 0 3 5.58A16.84 16.84 0 0 1 3 18l.75 1.86A18.47 18.47 0 0 0 9.53 16a16.92 16.92 0 0 0 5.76 3.84L16 18a14.48 14.48 0 0 1-5.12-3.37A17.64 17.64 0 0 0 14.8 7z"})),Hr=({translationMenuData:e})=>n("div",{className:A.navTranslations,flex:"~",text:"sm",font:"bold",justify:"center",children:n("div",{m:"x-1.5",children:n(Lt,{...e})})});function qr(e){var P;const{isScreenOpen:t,localeData:r,siteData:o,pathname:a}=e,i=U(null),d=Object.values(o.themeConfig.locales||{}),u=d.length>1,g=r.nav||[],v=((P=o==null?void 0:o.themeConfig)==null?void 0:P.socialLinks)||[],m=o.appearance!==!1,h=v.length>0,E=u?{text:n(Mt,{w:"18px",h:"18px"}),items:d.map(_=>({text:_.label,link:`/${_.lang}`})),activeIndex:d.findIndex(_=>_.lang===r.lang)}:null,y=()=>n("div",{className:`items-center appearance pa-2 ${A.navAppearance}`,flex:"~",justify:"center",children:n(kt,{})}),x=({menuItems:_})=>n("div",{className:A.navMenu,children:_.map((R,z)=>n("div",{w:"100%",className:A.navMenuItem,children:"link"in R?n(kr,{pathname:a,...R},z):n("div",{m:"x-3",last:"mr-0",children:n(Lt,{...R})},z)},z))});return G(()=>(i.current&&t&&fr(i.current,{reserveScrollBarGap:!0}),()=>{vr()}),[t]),n("div",{className:`${A.navScreen} ${t?A.active:""}`,ref:i,id:"navScreen",children:p("div",{className:A.container,children:[n(x,{menuItems:g}),p("div",{className:A.socialAndAppearance,flex:"~",justify:"center","items-center":"center",children:[m&&n(y,{}),h&&n(It,{__island:!0,socialLinks:v})]}),u&&n(Hr,{translationMenuData:E})]})})}function Wr(){const[e,t]=I(!1);function r(){t(!0),window.addEventListener("resize",i)}function o(){t(!1),window.removeEventListener("resize",i)}function a(){e?o():r()}function i(){window.outerWidth>=768&&o()}return{isScreenOpen:e,openScreen:r,closeScreen:o,toggleScreen:a}}function Fr(e){const{localeData:t,siteData:r,pathname:o}=e,{isScreenOpen:a,toggleScreen:i}=Wr();return p(wt,{children:[n("button",{onClick:i,className:`${a?M.active:""} ${M.navHamburger}`,children:p("span",{className:M.container,children:[n("span",{className:M.top}),n("span",{className:M.middle}),n("span",{className:M.bottom})]})}),n(qr,{isScreenOpen:a,localeData:t,siteData:r,pathname:o})]})}function Gr(e){const{activeIndex:t,isTranslation:r}=e,[o,a]=I(!1);return p("div",{relative:"",onMouseLeave:()=>a(!1),children:[p("button",{onMouseEnter:()=>a(!0),flex:"center","nav-h":"mobile sm:desktop",font:"medium",text:"sm text-1 hover:text-2",transition:"color duration-200",className:"nav-menu-group-button",children:[n("span",{mr:"1",text:"sm",font:"medium",children:r?n(Mt,{w:"18px",h:"18px"}):e.text}),n(zt,{})]}),n("div",{absolute:"",pos:"top-13 right-0",m:"x-0.8",transition:"opacity duration-300",className:"nav-menu-group-content",style:{opacity:o?1:0,visibility:o?"visible":"hidden"},children:n("div",{p:"3",w:"100%",h:"100%",className:"min-w-128px max-h-100vh","border-1":"",rounded:"xl",bg:"bg-default",style:{boxShadow:"var(--island-shadow-3)",marginRight:"-1.5rem",zIndex:100},children:e.items.map((i,d)=>d===t?n("div",{rounded:"md",p:"y-1.6 l-3",children:n("span",{mr:"1",text:"brand",children:i.text})},i.link):n("div",{font:"medium",children:n(te,{href:i.link,children:n("div",{rounded:"md",hover:"bg-bg-mute",p:"y-1.6 l-3",children:p("div",{flex:"",children:[n("span",{mr:"1",children:i.text}),n(St,{w:"11px",h:"11px",text:"text-3",m:"t-1 r-1"})]})})})},i.link))})})]})}const Yr="_localNav_ncerp_1",Kr="_menu_ncerp_16",Xr="_backDrop_ncerp_28",se={localNav:Yr,menu:Kr,backDrop:Xr},Zr="_sidebar_iav29_1",Qr="_open_iav29_23",_t={sidebar:Zr,open:Qr};function Jr(e,t){return t?t===""||t.endsWith("/")?e===t:e.startsWith(t):!1}function eo(e){const{isSidebarOpen:t,langRoutePrefix:r,pathname:o,sidebarData:a}=e,i=a.filter(Boolean).flat(),[d,u]=s.useState(i.map(m=>{var h;return(h=m.collapsed)!=null?h:!1})),g=(m,h=0)=>{var P;const E=`${h*20}px`;let y=[];"items"in m&&(y=m.items.map(_=>g(_,h+1)));const x=Jr(Tr(o.replace(r,"")),(P=m.link)==null?void 0:P.replace(r,""));return p("div",{style:{marginLeft:E},children:[n("div",{p:"1",block:"~",text:"sm","font-medium":"~",className:`${x?"text-brand":"text-text-2"}`,children:n(te,{href:Ot(m.link),children:m.text})}),y]})},v=(m,h)=>{var P;const E=d[h],y=()=>{const _=[...d];_[h]=!_[h],u(_)},x=m.collapsible||E?E?n("div",{className:"i-carbon-chevron-right",onClick:y,"cursor-pointer":"~"}):n("div",{className:"i-carbon-chevron-down","cursor-pointer":"~",onClick:y}):null;return p("section",{block:"~","not-first":"divider-top mt-4",children:[p("div",{flex:"~",justify:"between","items-start":"~",className:"items-center",children:[n("h2",{m:"t-3 b-2",text:"1rem text-1",font:"bold",children:m.text}),x]}),n("div",{mb:"1.4 sm:1",style:{height:E?0:"auto",display:E?"none":"block"},children:(P=m==null?void 0:m.items)==null?void 0:P.map(_=>n("div",{children:g(_)},_.link))})]},m.text)};return n("aside",{className:`${_t.sidebar} ${t?_t.open:""}`,children:n("nav",{children:i.map((m,h)=>v(m,h))})})}function to(e){const{langRoutePrefix:t,pathname:r,sidebarData:o}=e,[a,i]=I(!1);function d(){i(!0)}function u(){i(!1)}return p(wt,{children:[n("div",{className:se.localNav,children:p("button",{flex:"center",onClick:d,className:se.menu,children:[n("div",{text:"md",mr:"2",className:"i-carbon:menu"}),n("span",{text:"md ",children:"Menu"})]})}),n(eo,{langRoutePrefix:t,pathname:r,sidebarData:o,isSidebarOpen:a}),a?n("div",{onClick:u,className:se.backDrop}):null]})}window.ISLANDS={BackTop:Nn,Search:Wn,SocialLinks:It,NavHamburger:Fr,NavMenuGroup:Gr,SwitchAppearance:kt,SideMenu:to};window.ISLAND_PROPS=JSON.parse(document.getElementById("island-props").textContent);export{Y as S,K as a,vn as b,bn as c,on as f,oo as g,wn as i,Ot as n,yt as r,Ar as w};
@@ -0,0 +1 @@
1
+ import*as g from"react";import l,{useState as E,useEffect as G,useRef as U,useCallback as pe,lazy as Tt,forwardRef as At,createContext as Lt,Fragment as Ot}from"react";import{jsx as n,jsxs as h,Fragment as kt}from"react/jsx-runtime";var H=function(e){return function(t){return Math.pow(t,e)}},q=function(e){return function(t){return 1-Math.abs(Math.pow(t-1,e))}},J=function(e){return function(t){return t<.5?H(e)(t*2)/2:q(e)(t*2-1)/2+.5}},Mt=function(e){return e},Ct=H(2),jt=q(2),Nt=J(2),Dt=H(3),Vt=q(3),Ut=J(3),$t=H(4),Bt=q(4),Ht=J(4),qt=H(5),Wt=q(5),Ft=J(5),Gt=function(e){return 1+Math.sin(Math.PI/2*e-Math.PI/2)},Yt=function(e){return Math.sin(Math.PI/2*e)},Kt=function(e){return(1+Math.sin(Math.PI*e-Math.PI/2))/2},le=function(e){var t=7.5625,r=2.75;return e<1/r?t*e*e:e<2/r?(e-=1.5/r,t*e*e+.75):e<2.5/r?(e-=2.25/r,t*e*e+.9375):(e-=2.625/r,t*e*e+.984375)},bt=function(e){return 1-le(1-e)},Xt=function(e){return e<.5?bt(e*2)*.5:le(e*2-1)*.5+.5},Zt=Object.freeze({linear:Mt,quadIn:Ct,quadOut:jt,quadInOut:Nt,cubicIn:Dt,cubicOut:Vt,cubicInOut:Ut,quartIn:$t,quartOut:Bt,quartInOut:Ht,quintIn:qt,quintOut:Wt,quintInOut:Ft,sineIn:Gt,sineOut:Yt,sineInOut:Kt,bounceOut:le,bounceIn:bt,bounceInOut:Xt}),ee=function(t){var r=t.from,o=t.to,a=t.duration,i=t.delay,d=t.easing,u=t.onStart,p=t.onUpdate,f=t.onFinish;for(var b in r)o[b]===void 0&&(o[b]=r[b]);for(var v in o)r[v]===void 0&&(r[v]=o[v]);this.from=r,this.to=o,this.duration=a||500,this.delay=i||0,this.easing=d||"linear",this.onStart=u,this.onUpdate=p||function(){},this.onFinish=f,this.startTime=Date.now()+this.delay,this.started=!1,this.finished=!1,this.timer=null,this.keys={}};ee.prototype.update=function(){if(this.time=Date.now(),!(this.time<this.startTime)&&!this.finished){if(this.elapsed===this.duration){this.finished||(this.finished=!0,this.onFinish&&this.onFinish(this.keys));return}this.elapsed=this.time-this.startTime,this.elapsed=this.elapsed>this.duration?this.duration:this.elapsed;for(var t in this.to)this.keys[t]=this.from[t]+(this.to[t]-this.from[t])*Zt[this.easing](this.elapsed/this.duration);this.started||(this.onStart&&this.onStart(this.keys),this.started=!0),this.onUpdate(this.keys)}};ee.prototype.start=function(){var t=this;this.startTime=Date.now()+this.delay;var r=function(){t.update(),t.timer=requestAnimationFrame(r),t.finished&&(cancelAnimationFrame(t.timer),t.timer=null)};r()};ee.prototype.stop=function(){cancelAnimationFrame(this.timer),this.timer=null};var Qt=typeof global=="object"&&global&&global.Object===Object&&global;const Jt=Qt;var en=typeof self=="object"&&self&&self.Object===Object&&self,tn=Jt||en||Function("return this")();const _t=tn;var nn=_t.Symbol;const Y=nn;var wt=Object.prototype,rn=wt.hasOwnProperty,on=wt.toString,V=Y?Y.toStringTag:void 0;function an(e){var t=rn.call(e,V),r=e[V];try{e[V]=void 0;var o=!0}catch{}var a=on.call(e);return o&&(t?e[V]=r:delete e[V]),a}var sn=Object.prototype,ln=sn.toString;function cn(e){return ln.call(e)}var dn="[object Null]",un="[object Undefined]",ge=Y?Y.toStringTag:void 0;function mn(e){return e==null?e===void 0?un:dn:ge&&ge in Object(e)?an(e):cn(e)}function hn(e){return e!=null&&typeof e=="object"}var pn="[object Symbol]";function gn(e){return typeof e=="symbol"||hn(e)&&mn(e)==pn}var fn=/\s/;function vn(e){for(var t=e.length;t--&&fn.test(e.charAt(t)););return t}var bn=/^\s+/;function _n(e){return e&&e.slice(0,vn(e)+1).replace(bn,"")}function K(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var fe=0/0,wn=/^[-+]0x[0-9a-f]+$/i,En=/^0b[01]+$/i,yn=/^0o[0-7]+$/i,xn=parseInt;function ve(e){if(typeof e=="number")return e;if(gn(e))return fe;if(K(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=K(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=_n(e);var r=En.test(e);return r||yn.test(e)?xn(e.slice(2),r?2:8):wn.test(e)?fe:+e}var Rn=function(){return _t.Date.now()};const ne=Rn;var Pn="Expected a function",In=Math.max,zn=Math.min;function Sn(e,t,r){var o,a,i,d,u,p,f=0,b=!1,v=!1,y=!0;if(typeof e!="function")throw new TypeError(Pn);t=ve(t)||0,K(r)&&(b=!!r.leading,v="maxWait"in r,i=v?In(ve(r.maxWait)||0,t):i,y="trailing"in r?!!r.trailing:y);function R(m){var _=o,z=a;return o=a=void 0,f=m,d=e.apply(z,_),d}function x(m){return f=m,u=setTimeout(w,t),b?R(m):d}function k(m){var _=m-p,z=m-f,he=t-_;return v?zn(he,i-z):he}function P(m){var _=m-p,z=m-f;return p===void 0||_>=t||_<0||v&&z>=i}function w(){var m=ne();if(P(m))return I(m);u=setTimeout(w,k(m))}function I(m){return u=void 0,y&&o?R(m):(o=a=void 0,d)}function te(){u!==void 0&&clearTimeout(u),f=0,o=p=a=u=void 0}function N(){return u===void 0?d:I(ne())}function D(){var m=ne(),_=P(m);if(o=arguments,a=this,p=m,_){if(u===void 0)return x(p);if(v)return clearTimeout(u),u=setTimeout(w,t),R(p)}return u===void 0&&(u=setTimeout(w,t)),d}return D.cancel=te,D.flush=N,D}var Tn="Expected a function";function An(e,t,r){var o=!0,a=!0;if(typeof e!="function")throw new TypeError(Tn);return K(r)&&(o="leading"in r?!!r.leading:o,a="trailing"in r?!!r.trailing:a),Sn(e,t,{leading:o,maxWait:t,trailing:a})}const be=e=>typeof e=="object";function Ln({backTop:e}){var p,f,b;const t=be(e)?!0:e!=null?e:!0;let r=200,o=500,a="quadIn";be(e)&&(r=(p=e.visibleHeight)!=null?p:r,o=(f=e.duration)!=null?f:o,a=(b=e.animation)!=null?b:a);const i=()=>{const v=document.documentElement,y=v.scrollTop;new ee({from:{scrollTop:y},to:{scrollTop:0},easing:a,duration:o,onUpdate:x=>{v.scrollTop=Number(x==null?void 0:x.scrollTop)}}).start()},[d,u]=E(!1);return G(()=>{const v=An(()=>{const y=document.documentElement.scrollTop;u(y>=r)},500);return document.addEventListener("scroll",v),()=>{v.cancel(),document.removeEventListener("scroll",v)}}),t&&d?n("div",{className:"fixed bottom-10 right-30 z-10",display:"none md:block",onClick:i,children:n("button",{className:"w-10 h-10 rounded-full duration-300",style:{backgroundColor:"var(--island-c-bg)"},color:"gray hover:gray-500",bg:"~ gray-200 hover:gray-300",shadow:"sm hover:md",children:n("div",{flex:"~ center",children:n("div",{className:"i-carbon-chevron-up",text:"xl"})})})}):null}const On="modulepreload",kn=function(e){return"/"+e},_e={},s=function(t,r,o){return!r||r.length===0?t():Promise.all(r.map(a=>{if(a=kn(a),a in _e)return;_e[a]=!0;const i=a.endsWith(".css"),d=i?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${a}"]${d}`))return;const u=document.createElement("link");if(u.rel=i?"stylesheet":On,i||(u.as="script",u.crossOrigin=""),u.href=a,document.head.appendChild(u),i)return new Promise((p,f)=>{u.addEventListener("load",p),u.addEventListener("error",()=>f(new Error(`Unable to preload CSS for ${a}`)))})})).then(()=>t())},Mn="_searchInput_y03a3_1",Cn="_searchCommand_y03a3_7",jn="_focus_y03a3_14",re={searchInput:Mn,searchCommand:Cn,focus:jn},Nn=e=>g.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",...e},g.createElement("path",{fill:"#888888",d:"m29 27.586l-7.552-7.552a11.018 11.018 0 1 0-1.414 1.414L27.586 29ZM4 13a9 9 0 1 1 9 9a9.01 9.01 0 0 1-9-9Z"})),Dn=e=>g.createElement("svg",{width:32,height:32,viewBox:"0 0 24 24",...e},g.createElement("g",{fill:"none",stroke:"var(--island-c-brand)",strokeLinecap:"round",strokeWidth:2},g.createElement("path",{strokeDasharray:60,strokeDashoffset:60,strokeOpacity:.3,d:"M12 3C16.9706 3 21 7.02944 21 12C21 16.9706 16.9706 21 12 21C7.02944 21 3 16.9706 3 12C3 7.02944 7.02944 3 12 3Z"},g.createElement("animate",{fill:"freeze",attributeName:"stroke-dashoffset",dur:"1.3s",values:"60;0"})),g.createElement("path",{strokeDasharray:15,strokeDashoffset:15,d:"M12 3C16.9706 3 21 7.02944 21 12"},g.createElement("animate",{fill:"freeze",attributeName:"stroke-dashoffset",dur:"0.3s",values:"15;0"}),g.createElement("animateTransform",{attributeName:"transform",dur:"1.5s",repeatCount:"indefinite",type:"rotate",values:"0 12 12;360 12 12"}))));function Vn(e){const{suggestion:t,query:r}=e,o=()=>{if(t.type==="header"){const{header:i,headerHighlightIndex:d}=t,u=i.slice(0,d),p=i.slice(d+r.length);return h("div",{font:"medium",children:[n("span",{children:u}),n("span",{bg:"brand-light",p:"y-0.4 x-0.8",rounded:"md",text:"text-1",children:r}),n("span",{children:p})]})}else return n("div",{font:"medium",children:t.header})},a=()=>{if(t.type!=="content")return;const{statementHighlightIndex:i,statement:d}=t,u=d.slice(0,i),p=d.slice(i+r.length);return h("div",{font:"normal",text:"sm gray-light",w:"100%",children:[n("span",{children:u}),n("span",{bg:"brand-light",p:"y-0.4 x-0.8",rounded:"md",text:"[#000]",children:r}),n("span",{children:p})]})};return h("div",{"border-b-1":"","border-t-1":"","table-cell":"",p:"x-3 y-2",hover:"bg-[#f3f4f5] ",text:"#2c3e50",className:`border-right-none border-[#eaecef] ${e.isCurrent?"bg-[#f3f4f5]":"bg-white"}`,transition:"bg duration-200",children:[n("div",{font:"medium",text:"sm",children:o()}),t.type==="content"&&a()]})}const W={ARROW_UP:"ArrowUp",ARROW_DOWN:"ArrowDown",ENTER:"Enter",SEARCH:"KeyK"};function Un(e){const[t,r]=E(""),[o,a]=E([]),[i,d]=E(!1),[u,p]=E(!1),[f,b]=E(!1),[v,y]=E(-1),R=U(),x=U(),[k,P]=E(!0),w=U(null),I=!i||u,te=!I&&o.length===0,N=pe(async()=>{if(R.current)return Promise.resolve();{const{PageSearcher:m}=await s(()=>import("./search.a1b1cff3.js"),[]);R.current=new m(e.langRoutePrefix),await R.current.init(),d(!0)}},[e.langRoutePrefix]),D=pe(async m=>{const _=m.target.value;r(_),x.current=x.current||N(),await x.current,p(!0);const z=await R.current.match(_);p(!1),a(z)},[N]);return G(()=>{const m=_=>{switch(_.code){case W.SEARCH:(_.ctrlKey||_.metaKey)&&w.current&&(_.preventDefault(),f?(b(!1),w.current.blur()):(b(!0),w.current.focus()));break;case W.ARROW_DOWN:_.preventDefault(),y((v+1)%o.length);break;case W.ARROW_UP:_.preventDefault(),y((v-1+o.length)%o.length);break;case W.ENTER:if(v>=0){const z=o[v];window.location.href=z.link}break}};return document.addEventListener("keydown",m),()=>{document.removeEventListener("keydown",m)}},[v,f,o]),G(()=>{P(!1)},[]),h("div",{flex:"","items-center":"~",relative:"",mr:"2",font:"semibold",children:[n(Nn,{w:"5",h:"5",fill:"currentColor",onClick:()=>{b(!0),w.current.focus()}}),n("input",{disabled:k,cursor:"text focus:auto",placeholder:"Search",height:"8",border:"none",type:"text",text:"sm",p:"t-0 r-2 b-0 l-2",transition:"all duration-200 ease",className:`rounded-sm ${re.searchInput} ${f?re.focus:""}`,"aria-label":"Search",autoComplete:"off",onChange:D,onBlur:()=>setTimeout(()=>b(!1),200),onFocus:()=>{b(!0),x.current=N()},ref:w}),h("div",{m:"r-3",w:"10",h:"6",p:"x-1.5",rounded:"md",border:"1px solid gray-light-3",text:"xs gray-light-3",flex:"~","items-center":"~",justify:"around",className:re.searchCommand,children:[n("span",{children:"\u2318"}),n("span",{children:"K"})]}),f&&t&&h("ul",{pos:"fixed sm:absolute top-12 sm:top-8 left-0",z:"60","border-1":"",p:"2",list:"none",bg:"bg-default",className:"w-100% sm:min-w-500px sm:max-w-700px",children:[o.map((m,_)=>n("li",{rounded:"sm",cursor:"pointer",w:"100%",className:"border-collapse",children:n("a",{block:"",href:m.link,className:"whitespace-normal",children:h("div",{table:"",w:"100%",className:"border-collapse",children:[n("div",{w:"35%","border-t-1":"","border-b-1":"","border-r-1":"","border-left":"none","table-cell":"",align:"middle right",p:"1.2",text:"sm right [#2c3e50]",font:"semibold",className:"bg-[#f5f5f5] border-[#eaecef]",children:m.title}),n(Vn,{suggestion:m,query:t,isCurrent:_===v})]})})},m.title)),te&&n("li",{flex:"center",children:n("div",{p:"2",text:"sm #2c3e50",children:"No results found"})}),I&&n("li",{flex:"center",children:n("div",{p:"2",text:"sm",children:n(Dn,{})})})]})]})}const $n="_social-links-icon_wx6p9_1",oe={socialLinksIcon:$n},Bn={discord:h("svg",{role:"img",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:[n("title",{children:"Discord"}),n("path",{d:"M20.317 4.3698a19.7913 19.7913 0 00-4.8851-1.5152.0741.0741 0 00-.0785.0371c-.211.3753-.4447.8648-.6083 1.2495-1.8447-.2762-3.68-.2762-5.4868 0-.1636-.3933-.4058-.8742-.6177-1.2495a.077.077 0 00-.0785-.037 19.7363 19.7363 0 00-4.8852 1.515.0699.0699 0 00-.0321.0277C.5334 9.0458-.319 13.5799.0992 18.0578a.0824.0824 0 00.0312.0561c2.0528 1.5076 4.0413 2.4228 5.9929 3.0294a.0777.0777 0 00.0842-.0276c.4616-.6304.8731-1.2952 1.226-1.9942a.076.076 0 00-.0416-.1057c-.6528-.2476-1.2743-.5495-1.8722-.8923a.077.077 0 01-.0076-.1277c.1258-.0943.2517-.1923.3718-.2914a.0743.0743 0 01.0776-.0105c3.9278 1.7933 8.18 1.7933 12.0614 0a.0739.0739 0 01.0785.0095c.1202.099.246.1981.3728.2924a.077.077 0 01-.0066.1276 12.2986 12.2986 0 01-1.873.8914.0766.0766 0 00-.0407.1067c.3604.698.7719 1.3628 1.225 1.9932a.076.076 0 00.0842.0286c1.961-.6067 3.9495-1.5219 6.0023-3.0294a.077.077 0 00.0313-.0552c.5004-5.177-.8382-9.6739-3.5485-13.6604a.061.061 0 00-.0312-.0286zM8.02 15.3312c-1.1825 0-2.1569-1.0857-2.1569-2.419 0-1.3332.9555-2.4189 2.157-2.4189 1.2108 0 2.1757 1.0952 2.1568 2.419 0 1.3332-.9555 2.4189-2.1569 2.4189zm7.9748 0c-1.1825 0-2.1569-1.0857-2.1569-2.419 0-1.3332.9554-2.4189 2.1569-2.4189 1.2108 0 2.1757 1.0952 2.1568 2.419 0 1.3332-.946 2.4189-2.1568 2.4189Z"})]}),facebook:h("svg",{role:"img",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:[n("title",{children:"Facebook"}),n("path",{d:"M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z"})]}),github:h("svg",{role:"img",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:[n("title",{children:"GitHub"}),n("path",{d:"M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"})]}),instagram:h("svg",{role:"img",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:[n("title",{children:"Instagram"}),n("path",{d:"M12 0C8.74 0 8.333.015 7.053.072 5.775.132 4.905.333 4.14.63c-.789.306-1.459.717-2.126 1.384S.935 3.35.63 4.14C.333 4.905.131 5.775.072 7.053.012 8.333 0 8.74 0 12s.015 3.667.072 4.947c.06 1.277.261 2.148.558 2.913.306.788.717 1.459 1.384 2.126.667.666 1.336 1.079 2.126 1.384.766.296 1.636.499 2.913.558C8.333 23.988 8.74 24 12 24s3.667-.015 4.947-.072c1.277-.06 2.148-.262 2.913-.558.788-.306 1.459-.718 2.126-1.384.666-.667 1.079-1.335 1.384-2.126.296-.765.499-1.636.558-2.913.06-1.28.072-1.687.072-4.947s-.015-3.667-.072-4.947c-.06-1.277-.262-2.149-.558-2.913-.306-.789-.718-1.459-1.384-2.126C21.319 1.347 20.651.935 19.86.63c-.765-.297-1.636-.499-2.913-.558C15.667.012 15.26 0 12 0zm0 2.16c3.203 0 3.585.016 4.85.071 1.17.055 1.805.249 2.227.415.562.217.96.477 1.382.896.419.42.679.819.896 1.381.164.422.36 1.057.413 2.227.057 1.266.07 1.646.07 4.85s-.015 3.585-.074 4.85c-.061 1.17-.256 1.805-.421 2.227-.224.562-.479.96-.899 1.382-.419.419-.824.679-1.38.896-.42.164-1.065.36-2.235.413-1.274.057-1.649.07-4.859.07-3.211 0-3.586-.015-4.859-.074-1.171-.061-1.816-.256-2.236-.421-.569-.224-.96-.479-1.379-.899-.421-.419-.69-.824-.9-1.38-.165-.42-.359-1.065-.42-2.235-.045-1.26-.061-1.649-.061-4.844 0-3.196.016-3.586.061-4.861.061-1.17.255-1.814.42-2.234.21-.57.479-.96.9-1.381.419-.419.81-.689 1.379-.898.42-.166 1.051-.361 2.221-.421 1.275-.045 1.65-.06 4.859-.06l.045.03zm0 3.678c-3.405 0-6.162 2.76-6.162 6.162 0 3.405 2.76 6.162 6.162 6.162 3.405 0 6.162-2.76 6.162-6.162 0-3.405-2.76-6.162-6.162-6.162zM12 16c-2.21 0-4-1.79-4-4s1.79-4 4-4 4 1.79 4 4-1.79 4-4 4zm7.846-10.405c0 .795-.646 1.44-1.44 1.44-.795 0-1.44-.646-1.44-1.44 0-.794.646-1.439 1.44-1.439.793-.001 1.44.645 1.44 1.439z"})]}),linkedin:h("svg",{role:"img",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:[n("title",{children:"LinkedIn"}),n("path",{d:"M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z"})]}),slack:h("svg",{role:"img",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:[n("title",{children:"Slack"}),n("path",{d:"M5.042 15.165a2.528 2.528 0 0 1-2.52 2.523A2.528 2.528 0 0 1 0 15.165a2.527 2.527 0 0 1 2.522-2.52h2.52v2.52zM6.313 15.165a2.527 2.527 0 0 1 2.521-2.52 2.527 2.527 0 0 1 2.521 2.52v6.313A2.528 2.528 0 0 1 8.834 24a2.528 2.528 0 0 1-2.521-2.522v-6.313zM8.834 5.042a2.528 2.528 0 0 1-2.521-2.52A2.528 2.528 0 0 1 8.834 0a2.528 2.528 0 0 1 2.521 2.522v2.52H8.834zM8.834 6.313a2.528 2.528 0 0 1 2.521 2.521 2.528 2.528 0 0 1-2.521 2.521H2.522A2.528 2.528 0 0 1 0 8.834a2.528 2.528 0 0 1 2.522-2.521h6.312zM18.956 8.834a2.528 2.528 0 0 1 2.522-2.521A2.528 2.528 0 0 1 24 8.834a2.528 2.528 0 0 1-2.522 2.521h-2.522V8.834zM17.688 8.834a2.528 2.528 0 0 1-2.523 2.521 2.527 2.527 0 0 1-2.52-2.521V2.522A2.527 2.527 0 0 1 15.165 0a2.528 2.528 0 0 1 2.523 2.522v6.312zM15.165 18.956a2.528 2.528 0 0 1 2.523 2.522A2.528 2.528 0 0 1 15.165 24a2.527 2.527 0 0 1-2.52-2.522v-2.522h2.52zM15.165 17.688a2.527 2.527 0 0 1-2.52-2.523 2.526 2.526 0 0 1 2.52-2.52h6.313A2.527 2.527 0 0 1 24 15.165a2.528 2.528 0 0 1-2.522 2.523h-6.313z"})]}),twitter:h("svg",{role:"img",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:[n("title",{children:"Twitter"}),n("path",{d:"M23.953 4.57a10 10 0 01-2.825.775 4.958 4.958 0 002.163-2.723c-.951.555-2.005.959-3.127 1.184a4.92 4.92 0 00-8.384 4.482C7.69 8.095 4.067 6.13 1.64 3.162a4.822 4.822 0 00-.666 2.475c0 1.71.87 3.213 2.188 4.096a4.904 4.904 0 01-2.228-.616v.06a4.923 4.923 0 003.946 4.827 4.996 4.996 0 01-2.212.085 4.936 4.936 0 004.604 3.417 9.867 9.867 0 01-6.102 2.105c-.39 0-.779-.023-1.17-.067a13.995 13.995 0 007.557 2.209c9.053 0 13.998-7.496 13.998-13.985 0-.21 0-.42-.015-.63A9.935 9.935 0 0024 4.59z"})]}),youtube:h("svg",{role:"img",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:[n("title",{children:"YouTube"}),n("path",{d:"M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z"})]}),juejin:h("svg",{t:"1666949308602",className:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"1858","data-spm-anchor-id":"a313x.7781069.0.i5",children:[n("path",{d:"M465.189 161.792c-22.967 18.14-44.325 35.109-47.397 37.742l-5.851 4.68 10.971 8.632c5.998 4.827 11.85 9.508 13.02 10.532 1.17 1.024 17.993 14.336 37.156 29.696l34.962 27.795 5.267-3.95c2.925-2.194 23.259-18.432 45.348-35.986 21.943-17.555 41.253-32.768 42.716-33.646 1.609-1.024 2.779-2.194 2.779-2.78 0-0.438-9.655-8.63-21.504-17.846-11.995-9.363-22.674-17.847-23.845-18.871-15.945-13.02-49.737-39.059-50.76-39.059-0.586 0.147-19.896 14.922-42.862 33.061z m233.325 180.37C507.465 493.275 508.928 492.105 505.417 489.911c-3.072-1.902-11.556-8.485-64.073-50.03-9.07-7.168-18.578-14.775-21.358-16.823-2.78-2.194-8.777-6.875-13.312-10.532-4.68-3.657-10.679-8.339-13.312-10.533-13.165-10.24-71.095-56.027-102.107-80.457-5.852-4.681-11.41-8.485-12.142-8.485-0.731 0-10.971 7.754-22.674 17.116-11.703 9.508-22.674 18.286-24.284 19.456-1.755 1.17-5.12 3.95-7.46 6.144-2.34 2.34-4.828 4.096-5.413 4.096-3.072 0-0.731 3.072 6.437 8.777 4.096 3.218 8.777 6.875 10.094 8.046 1.316 1.024 10.24 8.045 19.748 15.506s23.26 18.286 30.428 23.99c19.31 15.215 31.89 25.308 127.853 101.084 47.836 37.742 88.796 69.779 90.844 71.095 3.657 2.487 3.95 2.487 7.46-0.292a1041.42 1041.42 0 0 0 16.092-12.727c6.875-5.413 14.775-11.703 17.554-13.897 30.135-23.699 80.018-63.05 81.774-64.512 1.17-1.024 12.434-9.802 24.868-19.603s37.888-29.696 56.32-44.324c18.579-14.629 46.227-36.425 61.733-48.567 15.506-12.142 27.794-22.528 27.502-23.26-0.878-1.17-57.637-47.104-59.978-48.274-0.731-0.439-18.578 12.727-39.497 29.257z","p-id":"1859","data-spm-anchor-id":"a313x.7781069.0.i2"}),n("path",{d:"M57.93 489.326c-15.215 12.288-28.527 23.405-29.697 24.576-2.34 2.194-5.412-0.44 80.018 66.852 33.207 26.185 32.622 25.747 57.637 45.495 10.386 8.192 36.279 28.672 57.783 45.495 38.18 30.135 44.91 35.401 52.663 41.545 2.048 1.756 22.967 18.14 46.372 36.572 23.26 18.432 74.167 58.514 112.933 89.088 38.912 30.573 71.095 55.734 71.826 56.027 0.732 0.293 7.46-4.389 14.921-10.386 21.797-16.97 90.259-70.949 101.523-79.872 5.705-4.535 12.873-10.24 15.945-12.58 3.072-2.488 6.436-5.12 7.314-5.852 0.878-0.878 11.85-9.509 24.283-19.31 20.773-16.091 59.1-46.226 64.366-50.615 1.17-1.024 5.12-4.096 8.777-6.875 3.657-2.78 7.9-6.29 9.509-7.607 1.609-1.317 14.775-11.703 29.257-23.113 29.11-22.82 42.277-33.207 88.503-69.632 17.262-13.605 32.475-25.454 33.646-26.478 2.486-2.048 31.451-24.869 44.617-35.255 4.827-3.657 9.07-7.168 9.508-7.607 0.44-0.585 5.998-4.827 12.435-9.8 6.436-4.828 13.165-10.24 15.067-11.85l3.365-2.926-9.948-7.753c-5.412-4.388-10.24-8.192-10.679-8.63-1.17-1.317-22.381-18.433-30.135-24.284-3.95-3.072-7.314-5.998-7.606-6.73-1.317-3.071-6.73 0.147-29.258 17.994-13.458 10.532-25.746 20.187-27.355 21.504-1.61 1.463-10.533 8.338-19.749 15.652-9.216 7.168-17.115 13.459-17.554 13.898-0.439 0.438-6.583 5.412-13.897 10.971-7.168 5.559-15.214 11.703-17.7 13.75-4.974 4.097-5.413 4.39-20.334 16.239-5.56 4.388-11.264 8.777-12.435 9.8-1.17 1.025-20.333 16.092-42.422 33.354-22.09 17.408-41.546 32.768-43.155 34.084-1.609 1.463-14.482 11.557-28.525 22.528s-40.814 32.037-59.539 46.812c-18.578 14.775-42.276 33.353-52.516 41.399s-23.26 18.285-28.965 22.82l-10.386 8.339-4.389-3.072c-2.34-1.756-4.68-3.511-5.12-3.95-0.439-0.439-4.973-4.096-10.24-8.046-11.849-9.216-14.482-11.264-16.676-13.166-0.878-0.877-4.243-3.51-7.46-5.851-3.22-2.487-6.145-4.681-6.584-5.12-0.439-0.439-6.875-5.705-14.482-11.703-7.607-5.851-14.921-11.556-16.091-12.58-1.317-1.17-17.116-13.605-35.255-27.795-17.993-14.19-35.109-27.648-38.035-29.842-5.705-4.681-33.499-26.624-125.074-98.743-34.523-27.209-72.704-57.344-84.846-66.852-49.737-39.498-55.15-43.594-56.905-43.447-0.877 0-14.043 10.24-29.257 22.528z","p-id":"1860","data-spm-anchor-id":"a313x.7781069.0.i3"})]}),qq:n("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",className:"iconify iconify--ri",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24",children:n("path",{fill:"currentColor",d:"M19.913 14.529a31.977 31.977 0 0 0-.675-1.886l-.91-2.246c0-.026.012-.468.012-.696C18.34 5.86 16.507 2 12 2S5.66 5.86 5.66 9.7c0 .229.011.671.012.697l-.91 2.246a32.777 32.777 0 0 0-.675 1.886c-.86 2.737-.581 3.87-.369 3.895c.455.054 1.771-2.06 1.771-2.06c0 1.224.637 2.822 2.016 3.976c-.515.157-1.147.399-1.554.695c-.365.267-.319.54-.253.65c.289.481 4.955.307 6.303.157c1.347.15 6.014.324 6.302-.158c.066-.11.112-.382-.253-.649c-.407-.296-1.039-.538-1.555-.696c1.379-1.153 2.016-2.751 2.016-3.976c0 0 1.316 2.115 1.771 2.06c.212-.025.49-1.157-.37-3.894"})}),wechat:n("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",className:"iconify iconify--ri",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24",children:n("path",{fill:"currentColor",d:"M18.574 13.711a.91.91 0 0 0 .898-.898c0-.498-.399-.898-.898-.898s-.898.4-.898.898c0 .5.4.898.898.898zm-4.425 0a.91.91 0 0 0 .898-.898c0-.498-.4-.898-.898-.898c-.5 0-.898.4-.898.898c0 .5.399.898.898.898zm6.567 5.04a.347.347 0 0 0-.172.37c0 .048 0 .097.025.147c.098.417.294 1.081.294 1.106c0 .073.025.122.025.172a.22.22 0 0 1-.221.22c-.05 0-.074-.024-.123-.048l-1.449-.836a.799.799 0 0 0-.344-.098c-.073 0-.147 0-.196.024c-.688.197-1.4.295-2.161.295c-3.66 0-6.607-2.457-6.607-5.505c0-3.047 2.947-5.505 6.607-5.505c3.659 0 6.606 2.458 6.606 5.505c0 1.647-.884 3.146-2.284 4.154zM16.673 8.099a9.105 9.105 0 0 0-.28-.005c-4.174 0-7.606 2.86-7.606 6.505c0 .554.08 1.09.228 1.6h-.089a9.963 9.963 0 0 1-2.584-.368c-.074-.025-.148-.025-.222-.025a.832.832 0 0 0-.418.123l-1.748 1.005c-.05.025-.099.05-.148.05a.273.273 0 0 1-.27-.27c0-.074.024-.123.049-.197c.024-.024.246-.834.369-1.324c0-.05.024-.123.024-.172a.556.556 0 0 0-.221-.442C2.058 13.376 1 11.586 1 9.598C1 5.945 4.57 3 8.95 3c3.765 0 6.93 2.169 7.723 5.098zm-5.154.418c.573 0 1.026-.477 1.026-1.026c0-.573-.453-1.026-1.026-1.026s-1.026.453-1.026 1.026s.453 1.026 1.026 1.026zm-5.26 0c.573 0 1.027-.477 1.027-1.026c0-.573-.454-1.026-1.027-1.026c-.572 0-1.026.453-1.026 1.026s.454 1.026 1.026 1.026z"})}),weibo:n("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",className:"iconify iconify--ri",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24",children:n("path",{fill:"currentColor",d:"M17.525 11.378c1.263.392 2.669 1.336 2.669 3.004c0 2.763-3.98 6.239-9.964 6.239c-4.565 0-9.23-2.213-9.23-5.852c0-1.902 1.204-4.102 3.277-6.177c2.773-2.77 6.004-4.033 7.219-2.816c.537.537.588 1.464.244 2.572c-.178.557.525.25.525.25c2.24-.938 4.196-.994 4.909.027c.38.543.343 1.306-.008 2.19c-.163.407.048.471.36.563zm-7.282 7.939c3.641-.362 6.401-2.592 6.167-4.983c-.237-2.391-3.382-4.038-7.023-3.677c-3.64.36-6.403 2.59-6.167 4.98c.237 2.394 3.382 4.039 7.023 3.68zM6.16 14.438c.754-1.527 2.712-2.39 4.446-1.94c1.793.463 2.707 2.154 1.976 3.8c-.744 1.682-2.882 2.578-4.695 1.993c-1.752-.566-2.493-2.294-1.727-3.853zm1.446 2.587c.568.257 1.325.013 1.676-.55c.346-.568.163-1.217-.407-1.459c-.563-.237-1.291.008-1.64.553c-.354.547-.189 1.202.371 1.456zm2.206-1.808c.219.092.501-.012.628-.231c.123-.22.044-.466-.178-.548c-.216-.084-.486.018-.613.232c-.123.214-.054.458.163.547zM19.873 9.5a.725.725 0 1 1-1.378-.451a1.38 1.38 0 0 0-.288-1.357a1.395 1.395 0 0 0-1.321-.425a.723.723 0 1 1-.303-1.416a2.836 2.836 0 0 1 3.29 3.649zm-3.916-6.575A5.831 5.831 0 0 1 21.5 4.72a5.836 5.836 0 0 1 1.22 5.704a.838.838 0 0 1-1.06.54a.844.844 0 0 1-.542-1.062a4.143 4.143 0 0 0-4.807-5.327a.845.845 0 0 1-.354-1.65z"})}),zhihu:n("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",className:"iconify iconify--ri",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24",children:n("path",{fill:"currentColor",d:"m12.344 17.963l-1.688 1.074l-2.131-3.35c-.44 1.402-1.172 2.665-2.139 3.825c-.402.483-.82.918-1.301 1.375c-.155.147-.775.717-.878.82l-1.414-1.414c.139-.139.787-.735.915-.856c.43-.408.795-.79 1.142-1.206c1.266-1.518 2.03-3.21 2.137-5.231H3v-2h4V7h-.868c-.689 1.266-1.558 2.222-2.618 2.857L2.486 8.143c1.395-.838 2.425-2.604 3.038-5.36l1.952.434c-.14.633-.303 1.227-.489 1.783H11.5v2H9v4h2.5v2H9.185l3.159 4.963zm3.838-.07L17.298 17H19V7h-4v10h.736l.446.893zM13 5h8v14h-3l-2.5 2l-1-2H13V5z"})}),bilibili:n("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",className:"iconify iconify--ri",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24",children:n("path",{fill:"currentColor",d:"M18.223 3.086a1.25 1.25 0 0 1 0 1.768L17.08 5.996h1.17A3.75 3.75 0 0 1 22 9.747v7.5a3.75 3.75 0 0 1-3.75 3.75H5.75A3.75 3.75 0 0 1 2 17.247v-7.5a3.75 3.75 0 0 1 3.75-3.75h1.166L5.775 4.855a1.25 1.25 0 1 1 1.767-1.768l2.652 2.652c.079.079.145.165.198.257h3.213c.053-.092.12-.18.199-.258l2.651-2.652a1.25 1.25 0 0 1 1.768 0zm.027 5.42H5.75a1.25 1.25 0 0 0-1.247 1.157l-.003.094v7.5c0 .659.51 1.199 1.157 1.246l.093.004h12.5a1.25 1.25 0 0 0 1.247-1.157l.003-.093v-7.5c0-.69-.56-1.25-1.25-1.25zm-10 2.5c.69 0 1.25.56 1.25 1.25v1.25a1.25 1.25 0 1 1-2.5 0v-1.25c0-.69.56-1.25 1.25-1.25zm7.5 0c.69 0 1.25.56 1.25 1.25v1.25a1.25 1.25 0 1 1-2.5 0v-1.25c0-.69.56-1.25 1.25-1.25z"})})},Et=e=>{const{link:t,popperStyle:r={}}=e,{icon:o,mode:a="link",content:i}=t,d=typeof o=="object"?n("div",{dangerouslySetInnerHTML:{__html:o.svg}}):Bn[o],[u,p]=E(!1),f=()=>{p(!0)},b=()=>{p(!1)};if(a==="link")return n("a",{href:i,target:"_blank",rel:"noopener noreferrer",children:n("div",{className:`${oe.socialLinksIcon}`,children:d})},o);if(a==="text")return h("div",{className:`${oe.socialLinksIcon}`,cursor:"pointer",relative:"",onMouseEnter:f,onMouseLeave:b,children:[d,u?n("div",{absolute:"",z:"1",p:"3",w:"50",break:"all",pos:"right-0","border-1":"",rounded:"xl",bg:"bg-default",style:{boxShadow:"var(--island-shadow-3)",...r},children:n("div",{text:"ml",children:i})}):null]});if(a==="img")return h("div",{className:`${oe.socialLinksIcon}`,cursor:"pointer",relative:"",onMouseEnter:f,onMouseLeave:b,children:[d,u?n("div",{absolute:"",z:"1",p:"3",w:"50",break:"all",pos:"right-0","border-1":"",rounded:"xl",bg:"bg-default",style:{boxShadow:"var(--island-shadow-3)",...r},children:n("img",{src:i,alt:"img"})}):null]})},Hn=e=>{const{links:t,moreIconVisible:r=!1,mouseEnter:o}=e;return h(kt,{children:[n("div",{h:"100%",flex:"",gap:"x-4","items-center":"",transition:"color duration-300",children:t.map(a=>n(Et,{link:a,popperStyle:{top:"2.5rem"}},a.icon))}),r?n("div",{className:"i-carbon-chevron-sort-down ml-1",onMouseEnter:o}):null]})},qn=e=>{const{links:t}=e;return n("div",{absolute:"",pos:"top-13 right-0",z:"1",p:"3",w:"32","border-1":"",rounded:"xl",bg:"bg-default",style:{boxShadow:"var(--island-shadow-3)",marginRight:"-2px"},flex:"~ wrap",gap:"4",children:t.map(r=>n(Et,{link:r,popperStyle:{top:"1.25rem"}},r.icon))})},yt=({socialLinks:e})=>{const t=e.length>3,r=[],o=[];for(const d in e)d<3?r.push(e[d]):o.push(e[d]);const[a,i]=E(!1);return h("div",{className:"social-links","nav-h":"mobile sm:desktop",flex:"","items-center":"",before:"menu-item-before",relative:"",onMouseLeave:()=>i(!1),children:[n(Hn,{links:r,moreIconVisible:t,mouseEnter:()=>i(!0)}),a?n(qn,{links:o}):null]})},Wn="_navHamburger_14nz8_1",Fn="_container_14nz8_14",Gn="_top_14nz8_21",Yn="_middle_14nz8_27",Kn="_bottom_14nz8_33",Xn="_active_14nz8_39",M={navHamburger:Wn,container:Fn,top:Gn,middle:Yn,bottom:Kn,active:Xn},Zn="_navScreen_1mkpq_1",Qn="_active_1mkpq_17",Jn="_container_1mkpq_21",er="_navMenu_1mkpq_27",tr="_navMenuItem_1mkpq_34",nr="_navAppearance_1mkpq_46",rr="_socialAndAppearance_1mkpq_50",S={navScreen:Zn,active:Qn,container:Jn,navMenu:er,navMenuItem:tr,navAppearance:nr,socialAndAppearance:rr};function or(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t<e.length;t++)r[t]=e[t];return r}else return Array.from(e)}var ce=!1;if(typeof window<"u"){var we={get passive(){ce=!0}};window.addEventListener("testPassive",null,we),window.removeEventListener("testPassive",null,we)}var X=typeof window<"u"&&window.navigator&&window.navigator.platform&&(/iP(ad|hone|od)/.test(window.navigator.platform)||window.navigator.platform==="MacIntel"&&window.navigator.maxTouchPoints>1),C=[],Z=!1,de=-1,$=void 0,A=void 0,B=void 0,xt=function(t){return C.some(function(r){return!!(r.options.allowTouchMove&&r.options.allowTouchMove(t))})},Q=function(t){var r=t||window.event;return xt(r.target)||r.touches.length>1?!0:(r.preventDefault&&r.preventDefault(),!1)},ar=function(t){if(B===void 0){var r=!!t&&t.reserveScrollBarGap===!0,o=window.innerWidth-document.documentElement.clientWidth;if(r&&o>0){var a=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right"),10);B=document.body.style.paddingRight,document.body.style.paddingRight=a+o+"px"}}$===void 0&&($=document.body.style.overflow,document.body.style.overflow="hidden")},ir=function(){B!==void 0&&(document.body.style.paddingRight=B,B=void 0),$!==void 0&&(document.body.style.overflow=$,$=void 0)},sr=function(){return window.requestAnimationFrame(function(){if(A===void 0){A={position:document.body.style.position,top:document.body.style.top,left:document.body.style.left};var t=window,r=t.scrollY,o=t.scrollX,a=t.innerHeight;document.body.style.position="fixed",document.body.style.top=-r,document.body.style.left=-o,setTimeout(function(){return window.requestAnimationFrame(function(){var i=a-window.innerHeight;i&&r>=a&&(document.body.style.top=-(r+i))})},300)}})},lr=function(){if(A!==void 0){var t=-parseInt(document.body.style.top,10),r=-parseInt(document.body.style.left,10);document.body.style.position=A.position,document.body.style.top=A.top,document.body.style.left=A.left,window.scrollTo(r,t),A=void 0}},cr=function(t){return t?t.scrollHeight-t.scrollTop<=t.clientHeight:!1},dr=function(t,r){var o=t.targetTouches[0].clientY-de;return xt(t.target)?!1:r&&r.scrollTop===0&&o>0||cr(r)&&o<0?Q(t):(t.stopPropagation(),!0)},ur=function(t,r){if(!t){console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.");return}if(!C.some(function(a){return a.targetElement===t})){var o={targetElement:t,options:r||{}};C=[].concat(or(C),[o]),X?sr():ar(r),X&&(t.ontouchstart=function(a){a.targetTouches.length===1&&(de=a.targetTouches[0].clientY)},t.ontouchmove=function(a){a.targetTouches.length===1&&dr(a,t)},Z||(document.addEventListener("touchmove",Q,ce?{passive:!1}:void 0),Z=!0))}},mr=function(){X&&(C.forEach(function(t){t.targetElement.ontouchstart=null,t.targetElement.ontouchmove=null}),Z&&(document.removeEventListener("touchmove",Q,ce?{passive:!1}:void 0),Z=!1),de=-1),X?lr():ir(),C=[]};const hr="_navScreenMenuGroup_1xte3_1",pr="_open_1xte3_7",gr="_button_1xte3_12",fr="_buttonSpan_1xte3_25",vr="_items_1xte3_32",br="_down_1xte3_40",T={navScreenMenuGroup:hr,open:pr,button:gr,buttonSpan:fr,items:vr,down:br},Rt=e=>g.createElement("svg",{width:"1em",height:"1em",viewBox:"0 0 32 32",...e},g.createElement("path",{fill:"currentColor",d:"M16 22L6 12l1.4-1.4l8.6 8.6l8.6-8.6L26 12z"})),Pt=e=>g.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",...e},g.createElement("path",{fill:"currentColor",d:"M10 6v2h12.59L6 24.59L7.41 26L24 9.41V22h2V6H10z"})),_r="_link_r3fql_1",wr={link:_r};function c(e){const t=Tt(e);let r,o;const i=At(function(u,p){const b=U(r!=null?r:t).current;return n(b,{ref:p,...u})});return i.preload=()=>(o||(o=e().then(d=>(r=d.default,d))),o),i}const Ee=c(()=>s(()=>import("./build-config.460d11d9.js"),["assets/build-config.460d11d9.js","assets/components.esm.03560353.js"])),ye=c(()=>s(()=>import("./build-preset.d3da921d.js"),["assets/build-preset.d3da921d.js","assets/components.esm.03560353.js"])),xe=c(()=>s(()=>import("./design-system.b0ba163f.js"),["assets/design-system.b0ba163f.js","assets/components.esm.03560353.js"])),Re=c(()=>s(()=>import("./dev.b39fd42a.js"),["assets/dev.b39fd42a.js","assets/components.esm.03560353.js"])),Pe=c(()=>s(()=>import("./index.ccb6ce27.js"),[])),Ie=c(()=>s(()=>import("./plugin.80b12ee2.js"),["assets/plugin.80b12ee2.js","assets/components.esm.03560353.js"])),ze=c(()=>s(()=>import("./test.2bfe276b.js"),["assets/test.2bfe276b.js","assets/components.esm.03560353.js"])),Se=c(()=>s(()=>import("./asset.26aea654.js"),["assets/asset.26aea654.js","assets/components.esm.03560353.js"])),Te=c(()=>s(()=>import("./build-umd.edb9d163.js"),["assets/build-umd.edb9d163.js","assets/components.esm.03560353.js"])),Ae=c(()=>s(()=>import("./copy.f4625565.js"),["assets/copy.f4625565.js","assets/components.esm.03560353.js"])),Le=c(()=>s(()=>import("./extension.4bf3526b.js"),[])),Oe=c(()=>s(()=>import("./external-dependency.2ede7532.js"),["assets/external-dependency.2ede7532.js","assets/components.esm.03560353.js"])),ke=c(()=>s(()=>import("./in-depth-about-build.aa74de10.js"),["assets/in-depth-about-build.aa74de10.js","assets/components.esm.03560353.js"])),Me=c(()=>s(()=>import("./in-depth-about-dev-command.877bdb83.js"),[])),Ce=c(()=>s(()=>import("./before-getting-started.2c6e6b8a.js"),["assets/before-getting-started.2c6e6b8a.js","assets/components.esm.03560353.js"])),je=c(()=>s(()=>import("./command-preview.1dc93921.js"),["assets/command-preview.1dc93921.js","assets/components.esm.03560353.js"])),Ne=c(()=>s(()=>import("./modify-output-product.f363845a.js"),["assets/modify-output-product.f363845a.js","assets/components.esm.03560353.js"])),De=c(()=>s(()=>import("./publish-your-project.7326359f.js"),["assets/publish-your-project.7326359f.js","assets/components.esm.03560353.js"])),Ve=c(()=>s(()=>import("./test-your-project.8ab2809e.js"),["assets/test-your-project.8ab2809e.js","assets/components.esm.03560353.js"])),Ue=c(()=>s(()=>import("./use-micro-generator.13c1a09f.js"),[])),$e=c(()=>s(()=>import("./using-storybook.adb88cb8.js"),["assets/using-storybook.adb88cb8.js","assets/components.esm.03560353.js"])),Be=c(()=>s(()=>import("./getting-started.e2764829.js"),["assets/getting-started.e2764829.js","assets/components.esm.03560353.js"])),He=c(()=>s(()=>import("./welcome.b2140e7e.js"),[])),qe=c(()=>s(()=>import("./why-module-engineering-solution.bfe7981a.js"),[])),We=c(()=>s(()=>import("./index.cb118238.js"),[])),Fe=c(()=>s(()=>import("./build-config.e155e534.js"),["assets/build-config.e155e534.js","assets/components.esm.03560353.js"])),Ge=c(()=>s(()=>import("./build-preset.6c2c6c62.js"),["assets/build-preset.6c2c6c62.js","assets/components.esm.03560353.js"])),Ye=c(()=>s(()=>import("./design-system.8993234c.js"),["assets/design-system.8993234c.js","assets/components.esm.03560353.js"])),Ke=c(()=>s(()=>import("./dev.b373b152.js"),["assets/dev.b373b152.js","assets/components.esm.03560353.js"])),Xe=c(()=>s(()=>import("./index.6cef6f5f.js"),[])),Ze=c(()=>s(()=>import("./plugin.70a61997.js"),["assets/plugin.70a61997.js","assets/components.esm.03560353.js"])),Qe=c(()=>s(()=>import("./test.a2c00a3f.js"),["assets/test.a2c00a3f.js","assets/components.esm.03560353.js"])),Je=c(()=>s(()=>import("./asset.36e3d3c9.js"),["assets/asset.36e3d3c9.js","assets/components.esm.03560353.js"])),et=c(()=>s(()=>import("./build-umd.ba00f028.js"),["assets/build-umd.ba00f028.js","assets/components.esm.03560353.js"])),tt=c(()=>s(()=>import("./copy.28dc4d5f.js"),["assets/copy.28dc4d5f.js","assets/components.esm.03560353.js"])),nt=c(()=>s(()=>import("./extension.d64ed0b8.js"),["assets/extension.d64ed0b8.js","assets/components.esm.03560353.js"])),rt=c(()=>s(()=>import("./external-dependency.92ca89e0.js"),["assets/external-dependency.92ca89e0.js","assets/components.esm.03560353.js"])),ot=c(()=>s(()=>import("./in-depth-about-build.94cc902d.js"),["assets/in-depth-about-build.94cc902d.js","assets/components.esm.03560353.js"])),at=c(()=>s(()=>import("./in-depth-about-dev-command.9736befd.js"),[])),it=c(()=>s(()=>import("./before-getting-started.0e863740.js"),["assets/before-getting-started.0e863740.js","assets/components.esm.03560353.js"])),st=c(()=>s(()=>import("./command-preview.ef7a9d01.js"),["assets/command-preview.ef7a9d01.js","assets/components.esm.03560353.js"])),lt=c(()=>s(()=>import("./modify-output-product.9e2394d7.js"),["assets/modify-output-product.9e2394d7.js","assets/components.esm.03560353.js"])),ct=c(()=>s(()=>import("./publish-your-project.7321c10e.js"),["assets/publish-your-project.7321c10e.js","assets/components.esm.03560353.js"])),dt=c(()=>s(()=>import("./test-your-project.9ae2a49e.js"),["assets/test-your-project.9ae2a49e.js","assets/components.esm.03560353.js"])),ut=c(()=>s(()=>import("./use-micro-generator.dfe877f6.js"),[])),mt=c(()=>s(()=>import("./using-storybook.b8e7dd04.js"),["assets/using-storybook.b8e7dd04.js","assets/components.esm.03560353.js"])),ht=c(()=>s(()=>import("./getting-started.822cf0b2.js"),["assets/getting-started.822cf0b2.js","assets/components.esm.03560353.js"])),pt=c(()=>s(()=>import("./welcome.94880043.js"),[])),gt=c(()=>s(()=>import("./why-module-engineering-solution.e31cd19f.js"),[])),ft=c(()=>s(()=>import("./index.01786ba7.js"),[])),Er=[{path:"/en/api/build-config",element:l.createElement(Ee),filePath:"/Users/targeral/github/targeral-modern-js/website/module-tools/docs/en/api/build-config.md",preload:Ee.preload},{path:"/en/api/build-preset",element:l.createElement(ye),filePath:"/Users/targeral/github/targeral-modern-js/website/module-tools/docs/en/api/build-preset.md",preload:ye.preload},{path:"/en/api/design-system",element:l.createElement(xe),filePath:"/Users/targeral/github/targeral-modern-js/website/module-tools/docs/en/api/design-system.md",preload:xe.preload},{path:"/en/api/dev",element:l.createElement(Re),filePath:"/Users/targeral/github/targeral-modern-js/website/module-tools/docs/en/api/dev.md",preload:Re.preload},{path:"/en/api/",element:l.createElement(Pe),filePath:"/Users/targeral/github/targeral-modern-js/website/module-tools/docs/en/api/index.md",preload:Pe.preload},{path:"/en/api/plugin",element:l.createElement(Ie),filePath:"/Users/targeral/github/targeral-modern-js/website/module-tools/docs/en/api/plugin.md",preload:Ie.preload},{path:"/en/api/test",element:l.createElement(ze),filePath:"/Users/targeral/github/targeral-modern-js/website/module-tools/docs/en/api/test.md",preload:ze.preload},{path:"/en/guide/advance/asset",element:l.createElement(Se),filePath:"/Users/targeral/github/targeral-modern-js/website/module-tools/docs/en/guide/advance/asset.mdx",preload:Se.preload},{path:"/en/guide/advance/build-umd",element:l.createElement(Te),filePath:"/Users/targeral/github/targeral-modern-js/website/module-tools/docs/en/guide/advance/build-umd.mdx",preload:Te.preload},{path:"/en/guide/advance/copy",element:l.createElement(Ae),filePath:"/Users/targeral/github/targeral-modern-js/website/module-tools/docs/en/guide/advance/copy.md",preload:Ae.preload},{path:"/en/guide/advance/extension",element:l.createElement(Le),filePath:"/Users/targeral/github/targeral-modern-js/website/module-tools/docs/en/guide/advance/extension.md",preload:Le.preload},{path:"/en/guide/advance/external-dependency",element:l.createElement(Oe),filePath:"/Users/targeral/github/targeral-modern-js/website/module-tools/docs/en/guide/advance/external-dependency.mdx",preload:Oe.preload},{path:"/en/guide/advance/in-depth-about-build",element:l.createElement(ke),filePath:"/Users/targeral/github/targeral-modern-js/website/module-tools/docs/en/guide/advance/in-depth-about-build.md",preload:ke.preload},{path:"/en/guide/advance/in-depth-about-dev-command",element:l.createElement(Me),filePath:"/Users/targeral/github/targeral-modern-js/website/module-tools/docs/en/guide/advance/in-depth-about-dev-command.md",preload:Me.preload},{path:"/en/guide/basic/before-getting-started",element:l.createElement(Ce),filePath:"/Users/targeral/github/targeral-modern-js/website/module-tools/docs/en/guide/basic/before-getting-started.md",preload:Ce.preload},{path:"/en/guide/basic/command-preview",element:l.createElement(je),filePath:"/Users/targeral/github/targeral-modern-js/website/module-tools/docs/en/guide/basic/command-preview.md",preload:je.preload},{path:"/en/guide/basic/modify-output-product",element:l.createElement(Ne),filePath:"/Users/targeral/github/targeral-modern-js/website/module-tools/docs/en/guide/basic/modify-output-product.md",preload:Ne.preload},{path:"/en/guide/basic/publish-your-project",element:l.createElement(De),filePath:"/Users/targeral/github/targeral-modern-js/website/module-tools/docs/en/guide/basic/publish-your-project.md",preload:De.preload},{path:"/en/guide/basic/test-your-project",element:l.createElement(Ve),filePath:"/Users/targeral/github/targeral-modern-js/website/module-tools/docs/en/guide/basic/test-your-project.mdx",preload:Ve.preload},{path:"/en/guide/basic/use-micro-generator",element:l.createElement(Ue),filePath:"/Users/targeral/github/targeral-modern-js/website/module-tools/docs/en/guide/basic/use-micro-generator.md",preload:Ue.preload},{path:"/en/guide/basic/using-storybook",element:l.createElement($e),filePath:"/Users/targeral/github/targeral-modern-js/website/module-tools/docs/en/guide/basic/using-storybook.mdx",preload:$e.preload},{path:"/en/guide/intro/getting-started",element:l.createElement(Be),filePath:"/Users/targeral/github/targeral-modern-js/website/module-tools/docs/en/guide/intro/getting-started.md",preload:Be.preload},{path:"/en/guide/intro/welcome",element:l.createElement(He),filePath:"/Users/targeral/github/targeral-modern-js/website/module-tools/docs/en/guide/intro/welcome.md",preload:He.preload},{path:"/en/guide/intro/why-module-engineering-solution",element:l.createElement(qe),filePath:"/Users/targeral/github/targeral-modern-js/website/module-tools/docs/en/guide/intro/why-module-engineering-solution.md",preload:qe.preload},{path:"/en/",element:l.createElement(We),filePath:"/Users/targeral/github/targeral-modern-js/website/module-tools/docs/en/index.md",preload:We.preload},{path:"/zh/api/build-config",element:l.createElement(Fe),filePath:"/Users/targeral/github/targeral-modern-js/website/module-tools/docs/zh/api/build-config.md",preload:Fe.preload},{path:"/zh/api/build-preset",element:l.createElement(Ge),filePath:"/Users/targeral/github/targeral-modern-js/website/module-tools/docs/zh/api/build-preset.md",preload:Ge.preload},{path:"/zh/api/design-system",element:l.createElement(Ye),filePath:"/Users/targeral/github/targeral-modern-js/website/module-tools/docs/zh/api/design-system.md",preload:Ye.preload},{path:"/zh/api/dev",element:l.createElement(Ke),filePath:"/Users/targeral/github/targeral-modern-js/website/module-tools/docs/zh/api/dev.md",preload:Ke.preload},{path:"/zh/api/",element:l.createElement(Xe),filePath:"/Users/targeral/github/targeral-modern-js/website/module-tools/docs/zh/api/index.md",preload:Xe.preload},{path:"/zh/api/plugin",element:l.createElement(Ze),filePath:"/Users/targeral/github/targeral-modern-js/website/module-tools/docs/zh/api/plugin.md",preload:Ze.preload},{path:"/zh/api/test",element:l.createElement(Qe),filePath:"/Users/targeral/github/targeral-modern-js/website/module-tools/docs/zh/api/test.md",preload:Qe.preload},{path:"/zh/guide/advance/asset",element:l.createElement(Je),filePath:"/Users/targeral/github/targeral-modern-js/website/module-tools/docs/zh/guide/advance/asset.mdx",preload:Je.preload},{path:"/zh/guide/advance/build-umd",element:l.createElement(et),filePath:"/Users/targeral/github/targeral-modern-js/website/module-tools/docs/zh/guide/advance/build-umd.mdx",preload:et.preload},{path:"/zh/guide/advance/copy",element:l.createElement(tt),filePath:"/Users/targeral/github/targeral-modern-js/website/module-tools/docs/zh/guide/advance/copy.md",preload:tt.preload},{path:"/zh/guide/advance/extension",element:l.createElement(nt),filePath:"/Users/targeral/github/targeral-modern-js/website/module-tools/docs/zh/guide/advance/extension.mdx",preload:nt.preload},{path:"/zh/guide/advance/external-dependency",element:l.createElement(rt),filePath:"/Users/targeral/github/targeral-modern-js/website/module-tools/docs/zh/guide/advance/external-dependency.mdx",preload:rt.preload},{path:"/zh/guide/advance/in-depth-about-build",element:l.createElement(ot),filePath:"/Users/targeral/github/targeral-modern-js/website/module-tools/docs/zh/guide/advance/in-depth-about-build.md",preload:ot.preload},{path:"/zh/guide/advance/in-depth-about-dev-command",element:l.createElement(at),filePath:"/Users/targeral/github/targeral-modern-js/website/module-tools/docs/zh/guide/advance/in-depth-about-dev-command.md",preload:at.preload},{path:"/zh/guide/basic/before-getting-started",element:l.createElement(it),filePath:"/Users/targeral/github/targeral-modern-js/website/module-tools/docs/zh/guide/basic/before-getting-started.md",preload:it.preload},{path:"/zh/guide/basic/command-preview",element:l.createElement(st),filePath:"/Users/targeral/github/targeral-modern-js/website/module-tools/docs/zh/guide/basic/command-preview.md",preload:st.preload},{path:"/zh/guide/basic/modify-output-product",element:l.createElement(lt),filePath:"/Users/targeral/github/targeral-modern-js/website/module-tools/docs/zh/guide/basic/modify-output-product.md",preload:lt.preload},{path:"/zh/guide/basic/publish-your-project",element:l.createElement(ct),filePath:"/Users/targeral/github/targeral-modern-js/website/module-tools/docs/zh/guide/basic/publish-your-project.md",preload:ct.preload},{path:"/zh/guide/basic/test-your-project",element:l.createElement(dt),filePath:"/Users/targeral/github/targeral-modern-js/website/module-tools/docs/zh/guide/basic/test-your-project.mdx",preload:dt.preload},{path:"/zh/guide/basic/use-micro-generator",element:l.createElement(ut),filePath:"/Users/targeral/github/targeral-modern-js/website/module-tools/docs/zh/guide/basic/use-micro-generator.md",preload:ut.preload},{path:"/zh/guide/basic/using-storybook",element:l.createElement(mt),filePath:"/Users/targeral/github/targeral-modern-js/website/module-tools/docs/zh/guide/basic/using-storybook.mdx",preload:mt.preload},{path:"/zh/guide/intro/getting-started",element:l.createElement(ht),filePath:"/Users/targeral/github/targeral-modern-js/website/module-tools/docs/zh/guide/intro/getting-started.md",preload:ht.preload},{path:"/zh/guide/intro/welcome",element:l.createElement(pt),filePath:"/Users/targeral/github/targeral-modern-js/website/module-tools/docs/zh/guide/intro/welcome.md",preload:pt.preload},{path:"/zh/guide/intro/why-module-engineering-solution",element:l.createElement(gt),filePath:"/Users/targeral/github/targeral-modern-js/website/module-tools/docs/zh/guide/intro/why-module-engineering-solution.md",preload:gt.preload},{path:"/zh/",element:l.createElement(ft),filePath:"/Users/targeral/github/targeral-modern-js/website/module-tools/docs/zh/index.md",preload:ft.preload}],yr=()=>typeof window<"u";function ue(e){return e.charAt(0)==="/"?e:"/"+e}function xr(e){return e.charAt(e.length-1)==="/"?e.slice(0,-1):e}function Rr(e){return xr(ue(e))}const Pr="/";Lt({data:yr()?window==null?void 0:window.ISLAND_PAGE_DATA:null,setData:e=>{}});const Gr=(e=()=>!0)=>Promise.all(Er.filter(e).map(async t=>({...await t.preload(),routePath:t.path})));function Ir(e="/"){const t=Rr(Pr),r=ue(e);return`${t}${r}`}function zr(e){if(!e)return"/";if(e.startsWith("http"))return e;let t="";return t+=".html",e.endsWith("/")&&(t="index"+t),ue(`${e}${t}`)}const ie="island-theme-appearance",Sr=["https://island-tutorial.sanyuan0704.top","https://island.sanyuan0704.top","https://islandjs.dev"],Tr=/^(https?:)?\/\//;function me(e){const{href:t="/",children:r,className:o=""}=e,a=Tr.test(t),i=Sr.some(f=>t.startsWith(f)),d=a&&!i?"_blank":"",u=a?"noopener noreferrer":void 0,p=a?t:Ir(t);return n("a",{href:p,target:d,rel:u,className:`${wr.link} ${o}`,children:r})}function It(e){const{activeIndex:t}=e,[r,o]=E(!1);return h("div",{relative:"",className:`${r?T.open:""} ${T.navScreenMenuGroup}`,children:[h("button",{className:T.button,onClick:()=>{o(!r)},children:[n("span",{className:T.buttonSpan,children:e.text}),n(Rt,{className:`${r?T.open:""} ${T.down} `})]}),n("div",{children:n("div",{className:T.items,children:e.items.map((a,i)=>i===t?n("div",{className:"pa-1",children:n("span",{mr:"1",text:"brand",children:a.text})},a.link):n("div",{className:"pa-1",font:"medium",children:n(me,{href:a.link,children:n("div",{children:h("div",{flex:"",children:[n("span",{mr:"1",children:a.text}),n(Pt,{w:"11px",h:"11px",text:"text-3",m:"t-1 r-1"})]})})})},a.link))})})]})}function Ar(e){const{pathname:t}=e,r=new RegExp(e.activeMatch||e.link).test(t);return n("div",{text:"sm",font:"medium",m:"x-3",className:`${r?"text-brand":""}`,children:n(me,{href:zr(e.link),children:e.text})},e.text)}const Lr="_check_1tqe3_17",Or="_icon_1tqe3_34",kr="_dark_1tqe3_29",ae={switch:"_switch_1tqe3_1",check:Lr,icon:Or,dark:kr};function Mr(e){var t;return n("button",{className:`${ae.switch} ${e.className}`,id:(t=e.id)!=null?t:"",type:"button",role:"switch",...e.onClick?{onClick:e.onClick}:{},children:n("span",{className:ae.check,children:n("span",{className:ae.icon,children:e.children})})})}const Cr="_sun_8e60k_1",jr="_moon_8e60k_5",vt={sun:Cr,moon:jr},Nr=e=>g.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24",...e},g.createElement("path",{d:"M12,18c-3.3,0-6-2.7-6-6s2.7-6,6-6s6,2.7,6,6S15.3,18,12,18zM12,8c-2.2,0-4,1.8-4,4c0,2.2,1.8,4,4,4c2.2,0,4-1.8,4-4C16,9.8,14.2,8,12,8z"}),g.createElement("path",{d:"M12,4c-0.6,0-1-0.4-1-1V1c0-0.6,0.4-1,1-1s1,0.4,1,1v2C13,3.6,12.6,4,12,4z"}),g.createElement("path",{d:"M12,24c-0.6,0-1-0.4-1-1v-2c0-0.6,0.4-1,1-1s1,0.4,1,1v2C13,23.6,12.6,24,12,24z"}),g.createElement("path",{d:"M5.6,6.6c-0.3,0-0.5-0.1-0.7-0.3L3.5,4.9c-0.4-0.4-0.4-1,0-1.4s1-0.4,1.4,0l1.4,1.4c0.4,0.4,0.4,1,0,1.4C6.2,6.5,5.9,6.6,5.6,6.6z"}),g.createElement("path",{d:"M19.8,20.8c-0.3,0-0.5-0.1-0.7-0.3l-1.4-1.4c-0.4-0.4-0.4-1,0-1.4s1-0.4,1.4,0l1.4,1.4c0.4,0.4,0.4,1,0,1.4C20.3,20.7,20,20.8,19.8,20.8z"}),g.createElement("path",{d:"M3,13H1c-0.6,0-1-0.4-1-1s0.4-1,1-1h2c0.6,0,1,0.4,1,1S3.6,13,3,13z"}),g.createElement("path",{d:"M23,13h-2c-0.6,0-1-0.4-1-1s0.4-1,1-1h2c0.6,0,1,0.4,1,1S23.6,13,23,13z"}),g.createElement("path",{d:"M4.2,20.8c-0.3,0-0.5-0.1-0.7-0.3c-0.4-0.4-0.4-1,0-1.4l1.4-1.4c0.4-0.4,1-0.4,1.4,0s0.4,1,0,1.4l-1.4,1.4C4.7,20.7,4.5,20.8,4.2,20.8z"}),g.createElement("path",{d:"M18.4,6.6c-0.3,0-0.5-0.1-0.7-0.3c-0.4-0.4-0.4-1,0-1.4l1.4-1.4c0.4-0.4,1-0.4,1.4,0s0.4,1,0,1.4l-1.4,1.4C18.9,6.5,18.6,6.6,18.4,6.6z"})),Dr=e=>g.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24",...e},g.createElement("path",{d:"M12.1,22c-0.3,0-0.6,0-0.9,0c-5.5-0.5-9.5-5.4-9-10.9c0.4-4.8,4.2-8.6,9-9c0.4,0,0.8,0.2,1,0.5c0.2,0.3,0.2,0.8-0.1,1.1c-2,2.7-1.4,6.4,1.3,8.4c2.1,1.6,5,1.6,7.1,0c0.3-0.2,0.7-0.3,1.1-0.1c0.3,0.2,0.5,0.6,0.5,1c-0.2,2.7-1.5,5.1-3.6,6.8C16.6,21.2,14.4,22,12.1,22zM9.3,4.4c-2.9,1-5,3.6-5.2,6.8c-0.4,4.4,2.8,8.3,7.2,8.7c2.1,0.2,4.2-0.4,5.8-1.8c1.1-0.9,1.9-2.1,2.4-3.4c-2.5,0.9-5.3,0.5-7.5-1.1C9.2,11.4,8.1,7.7,9.3,4.4z"}));let L=!0,F,O,j;typeof window<"u"&&typeof localStorage<"u"&&(O=localStorage.getItem(ie)||"auto",j=window.matchMedia("(prefers-color-scheme: dark)"),L=O==="auto"?j.matches:O==="dark",j.onchange=e=>{O==="auto"&&se(L=e.matches)});const se=e=>{F[e?"add":"remove"]("dark")},Vr=()=>{if(typeof window<"u"&&F===void 0){F=document.documentElement.classList;const e=()=>{const t=localStorage.getItem(ie)||"auto";F&&(se(t==="auto"?j.matches:t==="dark"),L=!L)};window.addEventListener("storage",e)}return()=>{se(L=!L),typeof window<"u"&&typeof localStorage<"u"&&(L?O=j.matches?"auto":"dark":O=j.matches?"light":"auto",localStorage.setItem(ie,O))}};function zt(e){const t=Vr();return h(Mr,{onClick:t,children:[n(Nr,{className:vt.sun}),n(Dr,{className:vt.moon})]})}const St=e=>g.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",...e},g.createElement("path",{fill:"currentColor",d:"M27.85 29H30l-6-15h-2.35l-6 15h2.15l1.6-4h6.85zm-7.65-6l2.62-6.56L25.45 23zM18 7V5h-7V2H9v3H2v2h10.74a14.71 14.71 0 0 1-3.19 6.18A13.5 13.5 0 0 1 7.26 9h-2.1a16.47 16.47 0 0 0 3 5.58A16.84 16.84 0 0 1 3 18l.75 1.86A18.47 18.47 0 0 0 9.53 16a16.92 16.92 0 0 0 5.76 3.84L16 18a14.48 14.48 0 0 1-5.12-3.37A17.64 17.64 0 0 0 14.8 7z"})),Ur=({translationMenuData:e})=>n("div",{className:S.navTranslations,flex:"~",text:"sm",font:"bold",justify:"center",children:n("div",{m:"x-1.5",children:n(It,{...e})})});function $r(e){var k;const{isScreenOpen:t,localeData:r,siteData:o,pathname:a}=e,i=U(null),d=Object.values(o.themeConfig.locales||{}),u=d.length>1,p=r.nav||[],f=((k=o==null?void 0:o.themeConfig)==null?void 0:k.socialLinks)||[],b=o.appearance!==!1,v=f.length>0,y=u?{text:n(St,{w:"18px",h:"18px"}),items:d.map(P=>({text:P.label,link:`/${P.lang}`})),activeIndex:d.findIndex(P=>P.lang===r.lang)}:null,R=()=>n("div",{className:`items-center appearance pa-2 ${S.navAppearance}`,flex:"~",justify:"center",children:n(zt,{})}),x=({menuItems:P})=>n("div",{className:S.navMenu,children:P.map((w,I)=>n("div",{w:"100%",className:S.navMenuItem,children:"link"in w?n(Ar,{pathname:a,...w},I):n("div",{m:"x-3",last:"mr-0",children:n(It,{...w})},I)},I))});return G(()=>(i.current&&t&&ur(i.current,{reserveScrollBarGap:!0}),()=>{mr()}),[t]),n("div",{className:`${S.navScreen} ${t?S.active:""}`,ref:i,id:"navScreen",children:h("div",{className:S.container,children:[n(x,{menuItems:p}),h("div",{className:S.socialAndAppearance,flex:"~",justify:"center","items-center":"center",children:[b&&n(R,{}),v&&n(yt,{__island:!0,socialLinks:f})]}),u&&n(Ur,{translationMenuData:y})]})})}function Br(){const[e,t]=E(!1);function r(){t(!0),window.addEventListener("resize",i)}function o(){t(!1),window.removeEventListener("resize",i)}function a(){e?o():r()}function i(){window.outerWidth>=768&&o()}return{isScreenOpen:e,openScreen:r,closeScreen:o,toggleScreen:a}}function Hr(e){const{localeData:t,siteData:r,pathname:o}=e,{isScreenOpen:a,toggleScreen:i}=Br();return h(Ot,{children:[n("button",{onClick:i,className:`${a?M.active:""} ${M.navHamburger}`,children:h("span",{className:M.container,children:[n("span",{className:M.top}),n("span",{className:M.middle}),n("span",{className:M.bottom})]})}),n($r,{isScreenOpen:a,localeData:t,siteData:r,pathname:o})]})}function qr(e){const{activeIndex:t,isTranslation:r}=e,[o,a]=E(!1);return h("div",{relative:"",onMouseLeave:()=>a(!1),children:[h("button",{onMouseEnter:()=>a(!0),flex:"center","nav-h":"mobile sm:desktop",font:"medium",text:"sm text-1 hover:text-2",transition:"color duration-200",className:"nav-menu-group-button",children:[n("span",{mr:"1",text:"sm",font:"medium",children:r?n(St,{w:"18px",h:"18px"}):e.text}),n(Rt,{})]}),n("div",{absolute:"",pos:"top-13 right-0",m:"x-0.8",transition:"opacity duration-300",className:"nav-menu-group-content",style:{opacity:o?1:0,visibility:o?"visible":"hidden"},children:n("div",{p:"3",w:"100%",h:"100%",className:"min-w-128px max-h-100vh","border-1":"",rounded:"xl",bg:"bg-default",style:{boxShadow:"var(--island-shadow-3)",marginRight:"-1.5rem",zIndex:100},children:e.items.map((i,d)=>d===t?n("div",{rounded:"md",p:"y-1.6 l-3",children:n("span",{mr:"1",text:"brand",children:i.text})},i.link):n("div",{font:"medium",children:n(me,{href:i.link,children:n("div",{rounded:"md",hover:"bg-bg-mute",p:"y-1.6 l-3",children:h("div",{flex:"",children:[n("span",{mr:"1",children:i.text}),n(Pt,{w:"11px",h:"11px",text:"text-3",m:"t-1 r-1"})]})})})},i.link))})})]})}window.ISLANDS={BackTop:Ln,Search:Un,SocialLinks:yt,NavHamburger:Hr,NavMenuGroup:qr,SwitchAppearance:zt};window.ISLAND_PROPS=JSON.parse(document.getElementById("island-props").textContent);export{Y as S,K as a,mn as b,hn as c,Jt as f,Gr as g,gn as i,zr as n,_t as r,Ir as w};
@@ -0,0 +1 @@
1
+ <svg width="32" height="32" viewBox="0 0 24 24"><g fill="none" stroke="var(--island-c-brand)" stroke-linecap="round" stroke-width="2"><path stroke-dasharray="60" stroke-dashoffset="60" stroke-opacity=".3" d="M12 3C16.9706 3 21 7.02944 21 12C21 16.9706 16.9706 21 12 21C7.02944 21 3 16.9706 3 12C3 7.02944 7.02944 3 12 3Z"><animate fill="freeze" attributeName="stroke-dashoffset" dur="1.3s" values="60;0"/></path><path stroke-dasharray="15" stroke-dashoffset="15" d="M12 3C16.9706 3 21 7.02944 21 12"><animate fill="freeze" attributeName="stroke-dashoffset" dur="0.3s" values="15;0"/><animateTransform attributeName="transform" dur="1.5s" repeatCount="indefinite" type="rotate" values="0 12 12;360 12 12"/></path></g></svg>