create-vuepress-theme-hope 2.0.0-beta.48 → 2.0.0-beta.49

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 (288) hide show
  1. package/package.json +1 -1
  2. package/template/en-US/.vuepress/.cache/@giscus_vue.js +0 -156
  3. package/template/en-US/.vuepress/.cache/@giscus_vue.js.map +0 -7
  4. package/template/en-US/.vuepress/.cache/@mr-hope_vuepress-shared_lib_client.js +0 -1459
  5. package/template/en-US/.vuepress/.cache/@mr-hope_vuepress-shared_lib_client.js.map +0 -7
  6. package/template/en-US/.vuepress/.cache/@vue_devtools-api.js +0 -45
  7. package/template/en-US/.vuepress/.cache/@vue_devtools-api.js.map +0 -7
  8. package/template/en-US/.vuepress/.cache/@vuepress_shared.js +0 -622
  9. package/template/en-US/.vuepress/.cache/@vuepress_shared.js.map +0 -7
  10. package/template/en-US/.vuepress/.cache/@vueuse_core.js +0 -6928
  11. package/template/en-US/.vuepress/.cache/@vueuse_core.js.map +0 -7
  12. package/template/en-US/.vuepress/.cache/_metadata.json +0 -141
  13. package/template/en-US/.vuepress/.cache/bcryptjs.js +0 -1909
  14. package/template/en-US/.vuepress/.cache/bcryptjs.js.map +0 -7
  15. package/template/en-US/.vuepress/.cache/chart_js_auto.js +0 -12922
  16. package/template/en-US/.vuepress/.cache/chart_js_auto.js.map +0 -7
  17. package/template/en-US/.vuepress/.cache/chunk-2WZCGDJF.js +0 -331
  18. package/template/en-US/.vuepress/.cache/chunk-2WZCGDJF.js.map +0 -7
  19. package/template/en-US/.vuepress/.cache/chunk-AFWL6OTZ.js +0 -123
  20. package/template/en-US/.vuepress/.cache/chunk-AFWL6OTZ.js.map +0 -7
  21. package/template/en-US/.vuepress/.cache/chunk-DDJL2UG7.js +0 -87
  22. package/template/en-US/.vuepress/.cache/chunk-DDJL2UG7.js.map +0 -7
  23. package/template/en-US/.vuepress/.cache/chunk-ED4SQPTR.js +0 -394
  24. package/template/en-US/.vuepress/.cache/chunk-ED4SQPTR.js.map +0 -7
  25. package/template/en-US/.vuepress/.cache/chunk-FH5D6ALC.js +0 -65
  26. package/template/en-US/.vuepress/.cache/chunk-FH5D6ALC.js.map +0 -7
  27. package/template/en-US/.vuepress/.cache/chunk-JFXOXVAP.js +0 -167
  28. package/template/en-US/.vuepress/.cache/chunk-JFXOXVAP.js.map +0 -7
  29. package/template/en-US/.vuepress/.cache/chunk-MGTZPBBT.js +0 -105
  30. package/template/en-US/.vuepress/.cache/chunk-MGTZPBBT.js.map +0 -7
  31. package/template/en-US/.vuepress/.cache/chunk-S7KAUVUC.js +0 -8451
  32. package/template/en-US/.vuepress/.cache/chunk-S7KAUVUC.js.map +0 -7
  33. package/template/en-US/.vuepress/.cache/chunk-U6IILTIK.js +0 -247
  34. package/template/en-US/.vuepress/.cache/chunk-U6IILTIK.js.map +0 -7
  35. package/template/en-US/.vuepress/.cache/dayjs.js +0 -42
  36. package/template/en-US/.vuepress/.cache/dayjs.js.map +0 -7
  37. package/template/en-US/.vuepress/.cache/dayjs_plugin_localizedFormat.js +0 -42
  38. package/template/en-US/.vuepress/.cache/dayjs_plugin_localizedFormat.js.map +0 -7
  39. package/template/en-US/.vuepress/.cache/dayjs_plugin_objectSupport.js +0 -42
  40. package/template/en-US/.vuepress/.cache/dayjs_plugin_objectSupport.js.map +0 -7
  41. package/template/en-US/.vuepress/.cache/dayjs_plugin_timezone.js +0 -42
  42. package/template/en-US/.vuepress/.cache/dayjs_plugin_timezone.js.map +0 -7
  43. package/template/en-US/.vuepress/.cache/dayjs_plugin_utc.js +0 -42
  44. package/template/en-US/.vuepress/.cache/dayjs_plugin_utc.js.map +0 -7
  45. package/template/en-US/.vuepress/.cache/flowchart_js.js +0 -4617
  46. package/template/en-US/.vuepress/.cache/flowchart_js.js.map +0 -7
  47. package/template/en-US/.vuepress/.cache/lodash_debounce.js +0 -188
  48. package/template/en-US/.vuepress/.cache/lodash_debounce.js.map +0 -7
  49. package/template/en-US/.vuepress/.cache/lodash_throttle.js +0 -203
  50. package/template/en-US/.vuepress/.cache/lodash_throttle.js.map +0 -7
  51. package/template/en-US/.vuepress/.cache/mermaid.js +0 -29764
  52. package/template/en-US/.vuepress/.cache/mermaid.js.map +0 -7
  53. package/template/en-US/.vuepress/.cache/nprogress.js +0 -334
  54. package/template/en-US/.vuepress/.cache/nprogress.js.map +0 -7
  55. package/template/en-US/.vuepress/.cache/package.json +0 -1
  56. package/template/en-US/.vuepress/.cache/photoswipe.js +0 -3137
  57. package/template/en-US/.vuepress/.cache/photoswipe.js.map +0 -7
  58. package/template/en-US/.vuepress/.cache/reveal_js_dist_reveal_esm_js.js +0 -1891
  59. package/template/en-US/.vuepress/.cache/reveal_js_dist_reveal_esm_js.js.map +0 -7
  60. package/template/en-US/.vuepress/.cache/reveal_js_plugin_highlight_highlight_esm_js.js +0 -4549
  61. package/template/en-US/.vuepress/.cache/reveal_js_plugin_highlight_highlight_esm_js.js.map +0 -7
  62. package/template/en-US/.vuepress/.cache/reveal_js_plugin_markdown_markdown_esm_js.js +0 -2957
  63. package/template/en-US/.vuepress/.cache/reveal_js_plugin_markdown_markdown_esm_js.js.map +0 -7
  64. package/template/en-US/.vuepress/.cache/reveal_js_plugin_math_math_esm_js.js +0 -1545
  65. package/template/en-US/.vuepress/.cache/reveal_js_plugin_math_math_esm_js.js.map +0 -7
  66. package/template/en-US/.vuepress/.cache/reveal_js_plugin_notes_notes_esm_js.js +0 -3157
  67. package/template/en-US/.vuepress/.cache/reveal_js_plugin_notes_notes_esm_js.js.map +0 -7
  68. package/template/en-US/.vuepress/.cache/reveal_js_plugin_search_search_esm_js.js +0 -811
  69. package/template/en-US/.vuepress/.cache/reveal_js_plugin_search_search_esm_js.js.map +0 -7
  70. package/template/en-US/.vuepress/.cache/reveal_js_plugin_zoom_zoom_esm_js.js +0 -120
  71. package/template/en-US/.vuepress/.cache/reveal_js_plugin_zoom_zoom_esm_js.js.map +0 -7
  72. package/template/en-US/.vuepress/.cache/vue-router.js +0 -2419
  73. package/template/en-US/.vuepress/.cache/vue-router.js.map +0 -7
  74. package/template/en-US/.vuepress/.cache/vue.js +0 -329
  75. package/template/en-US/.vuepress/.cache/vue.js.map +0 -7
  76. package/template/en-US/.vuepress/.temp/blog/category.js +0 -14
  77. package/template/en-US/.vuepress/.temp/blog/type.js +0 -14
  78. package/template/en-US/.vuepress/.temp/internal/clientAppEnhances.js +0 -23
  79. package/template/en-US/.vuepress/.temp/internal/clientAppRootComponents.js +0 -5
  80. package/template/en-US/.vuepress/.temp/internal/clientAppSetups.js +0 -17
  81. package/template/en-US/.vuepress/.temp/internal/layoutComponents.js +0 -8
  82. package/template/en-US/.vuepress/.temp/internal/pagesComponents.js +0 -82
  83. package/template/en-US/.vuepress/.temp/internal/pagesData.js +0 -80
  84. package/template/en-US/.vuepress/.temp/internal/pagesRoutes.js +0 -68
  85. package/template/en-US/.vuepress/.temp/internal/siteData.js +0 -29
  86. package/template/en-US/.vuepress/.temp/internal/themeData.js +0 -271
  87. package/template/en-US/.vuepress/.temp/pages/404.html.js +0 -60
  88. package/template/en-US/.vuepress/.temp/pages/404.html.vue +0 -1
  89. package/template/en-US/.vuepress/.temp/pages/article/index.html.js +0 -72
  90. package/template/en-US/.vuepress/.temp/pages/article/index.html.vue +0 -1
  91. package/template/en-US/.vuepress/.temp/pages/category/categorya/index.html.js +0 -73
  92. package/template/en-US/.vuepress/.temp/pages/category/categorya/index.html.vue +0 -1
  93. package/template/en-US/.vuepress/.temp/pages/category/categoryb/index.html.js +0 -73
  94. package/template/en-US/.vuepress/.temp/pages/category/categoryb/index.html.vue +0 -1
  95. package/template/en-US/.vuepress/.temp/pages/category/guide/index.html.js +0 -73
  96. package/template/en-US/.vuepress/.temp/pages/category/guide/index.html.vue +0 -1
  97. package/template/en-US/.vuepress/.temp/pages/category/index.html.js +0 -72
  98. package/template/en-US/.vuepress/.temp/pages/category/index.html.vue +0 -1
  99. package/template/en-US/.vuepress/.temp/pages/encrypted/index.html.js +0 -72
  100. package/template/en-US/.vuepress/.temp/pages/encrypted/index.html.vue +0 -1
  101. package/template/en-US/.vuepress/.temp/pages/guide/disable.html.js +0 -94
  102. package/template/en-US/.vuepress/.temp/pages/guide/disable.html.vue +0 -17
  103. package/template/en-US/.vuepress/.temp/pages/guide/encrypt.html.js +0 -80
  104. package/template/en-US/.vuepress/.temp/pages/guide/encrypt.html.vue +0 -5
  105. package/template/en-US/.vuepress/.temp/pages/guide/index.html.js +0 -71
  106. package/template/en-US/.vuepress/.temp/pages/guide/index.html.vue +0 -16
  107. package/template/en-US/.vuepress/.temp/pages/guide/markdown.html.js +0 -193
  108. package/template/en-US/.vuepress/.temp/pages/guide/markdown.html.vue +0 -200
  109. package/template/en-US/.vuepress/.temp/pages/guide/page.html.js +0 -128
  110. package/template/en-US/.vuepress/.temp/pages/guide/page.html.vue +0 -43
  111. package/template/en-US/.vuepress/.temp/pages/home.html.js +0 -189
  112. package/template/en-US/.vuepress/.temp/pages/home.html.vue +0 -4
  113. package/template/en-US/.vuepress/.temp/pages/index.html.js +0 -113
  114. package/template/en-US/.vuepress/.temp/pages/index.html.vue +0 -4
  115. package/template/en-US/.vuepress/.temp/pages/intro.html.js +0 -67
  116. package/template/en-US/.vuepress/.temp/pages/intro.html.vue +0 -3
  117. package/template/en-US/.vuepress/.temp/pages/posts/article/article1.html.js +0 -110
  118. package/template/en-US/.vuepress/.temp/pages/posts/article/article1.html.vue +0 -6
  119. package/template/en-US/.vuepress/.temp/pages/posts/article/article2.html.js +0 -111
  120. package/template/en-US/.vuepress/.temp/pages/posts/article/article2.html.vue +0 -6
  121. package/template/en-US/.vuepress/.temp/pages/posts/article/article3.html.js +0 -111
  122. package/template/en-US/.vuepress/.temp/pages/posts/article/article3.html.vue +0 -6
  123. package/template/en-US/.vuepress/.temp/pages/posts/article/article4.html.js +0 -111
  124. package/template/en-US/.vuepress/.temp/pages/posts/article/article4.html.vue +0 -6
  125. package/template/en-US/.vuepress/.temp/pages/posts/article/article5.html.js +0 -111
  126. package/template/en-US/.vuepress/.temp/pages/posts/article/article5.html.vue +0 -6
  127. package/template/en-US/.vuepress/.temp/pages/posts/article/article6.html.js +0 -112
  128. package/template/en-US/.vuepress/.temp/pages/posts/article/article6.html.vue +0 -6
  129. package/template/en-US/.vuepress/.temp/pages/posts/article/article7.html.js +0 -111
  130. package/template/en-US/.vuepress/.temp/pages/posts/article/article7.html.vue +0 -6
  131. package/template/en-US/.vuepress/.temp/pages/posts/article/article8.html.js +0 -111
  132. package/template/en-US/.vuepress/.temp/pages/posts/article/article8.html.vue +0 -6
  133. package/template/en-US/.vuepress/.temp/pages/posts/article10.html.js +0 -111
  134. package/template/en-US/.vuepress/.temp/pages/posts/article10.html.vue +0 -6
  135. package/template/en-US/.vuepress/.temp/pages/posts/article11.html.js +0 -111
  136. package/template/en-US/.vuepress/.temp/pages/posts/article11.html.vue +0 -6
  137. package/template/en-US/.vuepress/.temp/pages/posts/article12.html.js +0 -112
  138. package/template/en-US/.vuepress/.temp/pages/posts/article12.html.vue +0 -6
  139. package/template/en-US/.vuepress/.temp/pages/posts/article9.html.js +0 -111
  140. package/template/en-US/.vuepress/.temp/pages/posts/article9.html.vue +0 -6
  141. package/template/en-US/.vuepress/.temp/pages/slide.html.js +0 -69
  142. package/template/en-US/.vuepress/.temp/pages/slide.html.vue +0 -2
  143. package/template/en-US/.vuepress/.temp/pages/slides/index.html.js +0 -72
  144. package/template/en-US/.vuepress/.temp/pages/slides/index.html.vue +0 -1
  145. package/template/en-US/.vuepress/.temp/pages/star/index.html.js +0 -72
  146. package/template/en-US/.vuepress/.temp/pages/star/index.html.vue +0 -1
  147. package/template/en-US/.vuepress/.temp/pages/tag/disable/index.html.js +0 -73
  148. package/template/en-US/.vuepress/.temp/pages/tag/disable/index.html.vue +0 -1
  149. package/template/en-US/.vuepress/.temp/pages/tag/encryption/index.html.js +0 -73
  150. package/template/en-US/.vuepress/.temp/pages/tag/encryption/index.html.vue +0 -1
  151. package/template/en-US/.vuepress/.temp/pages/tag/guide/index.html.js +0 -73
  152. package/template/en-US/.vuepress/.temp/pages/tag/guide/index.html.vue +0 -1
  153. package/template/en-US/.vuepress/.temp/pages/tag/index.html.js +0 -72
  154. package/template/en-US/.vuepress/.temp/pages/tag/index.html.vue +0 -1
  155. package/template/en-US/.vuepress/.temp/pages/tag/markdown/index.html.js +0 -73
  156. package/template/en-US/.vuepress/.temp/pages/tag/markdown/index.html.vue +0 -1
  157. package/template/en-US/.vuepress/.temp/pages/tag/page-config/index.html.js +0 -73
  158. package/template/en-US/.vuepress/.temp/pages/tag/page-config/index.html.vue +0 -1
  159. package/template/en-US/.vuepress/.temp/pages/tag/tag-a/index.html.js +0 -73
  160. package/template/en-US/.vuepress/.temp/pages/tag/tag-a/index.html.vue +0 -1
  161. package/template/en-US/.vuepress/.temp/pages/tag/tag-b/index.html.js +0 -73
  162. package/template/en-US/.vuepress/.temp/pages/tag/tag-b/index.html.vue +0 -1
  163. package/template/en-US/.vuepress/.temp/pages/timeline/index.html.js +0 -72
  164. package/template/en-US/.vuepress/.temp/pages/timeline/index.html.vue +0 -1
  165. package/template/en-US/.vuepress/.temp/sass-palette/hope-config.scss +0 -6
  166. package/template/en-US/.vuepress/.temp/sass-palette/hope-inject.scss +0 -29
  167. package/template/en-US/.vuepress/.temp/sass-palette/hope-palette.scss +0 -4
  168. package/template/en-US/.vuepress/.temp/sass-palette/hope-style.scss +0 -1
  169. package/template/en-US/.vuepress/.temp/sass-palette/load-hope.js +0 -1
  170. package/template/en-US/.vuepress/.temp/theme-hope/sidebar.js +0 -1
  171. package/template/en-US/.vuepress/.temp/theme-hope/socialMedia.js +0 -1
  172. package/template/en-US/.vuepress/.temp/theme-hope/theme-color.scss +0 -1
  173. package/template/en-US/.vuepress/.temp/vite-root/index.html +0 -13
  174. package/template/zh-CN/.vuepress/.cache/default-development/0.pack +0 -0
  175. package/template/zh-CN/.vuepress/.cache/default-development/1.pack +0 -0
  176. package/template/zh-CN/.vuepress/.cache/default-development/10.pack +0 -0
  177. package/template/zh-CN/.vuepress/.cache/default-development/11.pack +0 -0
  178. package/template/zh-CN/.vuepress/.cache/default-development/12.pack +0 -0
  179. package/template/zh-CN/.vuepress/.cache/default-development/13.pack +0 -0
  180. package/template/zh-CN/.vuepress/.cache/default-development/14.pack +0 -0
  181. package/template/zh-CN/.vuepress/.cache/default-development/15.pack +0 -0
  182. package/template/zh-CN/.vuepress/.cache/default-development/16.pack +0 -0
  183. package/template/zh-CN/.vuepress/.cache/default-development/17.pack +0 -0
  184. package/template/zh-CN/.vuepress/.cache/default-development/2.pack +0 -0
  185. package/template/zh-CN/.vuepress/.cache/default-development/3.pack +0 -0
  186. package/template/zh-CN/.vuepress/.cache/default-development/4.pack +0 -0
  187. package/template/zh-CN/.vuepress/.cache/default-development/5.pack +0 -0
  188. package/template/zh-CN/.vuepress/.cache/default-development/6.pack +0 -0
  189. package/template/zh-CN/.vuepress/.cache/default-development/7.pack +0 -0
  190. package/template/zh-CN/.vuepress/.cache/default-development/8.pack +0 -0
  191. package/template/zh-CN/.vuepress/.cache/default-development/9.pack +0 -0
  192. package/template/zh-CN/.vuepress/.cache/default-development/index.pack +0 -0
  193. package/template/zh-CN/.vuepress/.cache/default-development/index.pack.old +0 -0
  194. package/template/zh-CN/.vuepress/.temp/blog/category.js +0 -14
  195. package/template/zh-CN/.vuepress/.temp/blog/type.js +0 -14
  196. package/template/zh-CN/.vuepress/.temp/internal/clientAppEnhances.js +0 -23
  197. package/template/zh-CN/.vuepress/.temp/internal/clientAppRootComponents.js +0 -5
  198. package/template/zh-CN/.vuepress/.temp/internal/clientAppSetups.js +0 -17
  199. package/template/zh-CN/.vuepress/.temp/internal/layoutComponents.js +0 -8
  200. package/template/zh-CN/.vuepress/.temp/internal/pagesComponents.js +0 -80
  201. package/template/zh-CN/.vuepress/.temp/internal/pagesData.js +0 -78
  202. package/template/zh-CN/.vuepress/.temp/internal/pagesRoutes.js +0 -67
  203. package/template/zh-CN/.vuepress/.temp/internal/siteData.js +0 -29
  204. package/template/zh-CN/.vuepress/.temp/internal/themeData.js +0 -279
  205. package/template/zh-CN/.vuepress/.temp/pages/404.html.js +0 -60
  206. package/template/zh-CN/.vuepress/.temp/pages/404.html.vue +0 -1
  207. package/template/zh-CN/.vuepress/.temp/pages/article/index.html.js +0 -72
  208. package/template/zh-CN/.vuepress/.temp/pages/article/index.html.vue +0 -1
  209. package/template/zh-CN/.vuepress/.temp/pages/category/categorya/index.html.js +0 -73
  210. package/template/zh-CN/.vuepress/.temp/pages/category/categorya/index.html.vue +0 -1
  211. package/template/zh-CN/.vuepress/.temp/pages/category/categoryb/index.html.js +0 -73
  212. package/template/zh-CN/.vuepress/.temp/pages/category/categoryb/index.html.vue +0 -1
  213. package/template/zh-CN/.vuepress/.temp/pages/category/index.html.js +0 -72
  214. package/template/zh-CN/.vuepress/.temp/pages/category/index.html.vue +0 -1
  215. package/template/zh-CN/.vuepress/.temp/pages/category//344/275/277/347/224/250/346/214/207/345/215/227/index.html.js +0 -73
  216. package/template/zh-CN/.vuepress/.temp/pages/category//344/275/277/347/224/250/346/214/207/345/215/227/index.html.vue +0 -1
  217. package/template/zh-CN/.vuepress/.temp/pages/encrypted/index.html.js +0 -72
  218. package/template/zh-CN/.vuepress/.temp/pages/encrypted/index.html.vue +0 -1
  219. package/template/zh-CN/.vuepress/.temp/pages/guide/disable.html.js +0 -94
  220. package/template/zh-CN/.vuepress/.temp/pages/guide/disable.html.vue +0 -17
  221. package/template/zh-CN/.vuepress/.temp/pages/guide/encrypt.html.js +0 -80
  222. package/template/zh-CN/.vuepress/.temp/pages/guide/encrypt.html.vue +0 -5
  223. package/template/zh-CN/.vuepress/.temp/pages/guide/index.html.js +0 -71
  224. package/template/zh-CN/.vuepress/.temp/pages/guide/index.html.vue +0 -16
  225. package/template/zh-CN/.vuepress/.temp/pages/guide/markdown.html.js +0 -186
  226. package/template/zh-CN/.vuepress/.temp/pages/guide/markdown.html.vue +0 -201
  227. package/template/zh-CN/.vuepress/.temp/pages/guide/page.html.js +0 -128
  228. package/template/zh-CN/.vuepress/.temp/pages/guide/page.html.vue +0 -43
  229. package/template/zh-CN/.vuepress/.temp/pages/home.html.js +0 -189
  230. package/template/zh-CN/.vuepress/.temp/pages/home.html.vue +0 -4
  231. package/template/zh-CN/.vuepress/.temp/pages/index.html.js +0 -113
  232. package/template/zh-CN/.vuepress/.temp/pages/index.html.vue +0 -4
  233. package/template/zh-CN/.vuepress/.temp/pages/posts/article/article1.html.js +0 -110
  234. package/template/zh-CN/.vuepress/.temp/pages/posts/article/article1.html.vue +0 -6
  235. package/template/zh-CN/.vuepress/.temp/pages/posts/article/article2.html.js +0 -111
  236. package/template/zh-CN/.vuepress/.temp/pages/posts/article/article2.html.vue +0 -6
  237. package/template/zh-CN/.vuepress/.temp/pages/posts/article/article3.html.js +0 -111
  238. package/template/zh-CN/.vuepress/.temp/pages/posts/article/article3.html.vue +0 -6
  239. package/template/zh-CN/.vuepress/.temp/pages/posts/article/article4.html.js +0 -111
  240. package/template/zh-CN/.vuepress/.temp/pages/posts/article/article4.html.vue +0 -6
  241. package/template/zh-CN/.vuepress/.temp/pages/posts/article/article5.html.js +0 -111
  242. package/template/zh-CN/.vuepress/.temp/pages/posts/article/article5.html.vue +0 -6
  243. package/template/zh-CN/.vuepress/.temp/pages/posts/article/article6.html.js +0 -112
  244. package/template/zh-CN/.vuepress/.temp/pages/posts/article/article6.html.vue +0 -6
  245. package/template/zh-CN/.vuepress/.temp/pages/posts/article/article7.html.js +0 -111
  246. package/template/zh-CN/.vuepress/.temp/pages/posts/article/article7.html.vue +0 -6
  247. package/template/zh-CN/.vuepress/.temp/pages/posts/article/article8.html.js +0 -111
  248. package/template/zh-CN/.vuepress/.temp/pages/posts/article/article8.html.vue +0 -6
  249. package/template/zh-CN/.vuepress/.temp/pages/posts/article10.html.js +0 -111
  250. package/template/zh-CN/.vuepress/.temp/pages/posts/article10.html.vue +0 -6
  251. package/template/zh-CN/.vuepress/.temp/pages/posts/article11.html.js +0 -111
  252. package/template/zh-CN/.vuepress/.temp/pages/posts/article11.html.vue +0 -6
  253. package/template/zh-CN/.vuepress/.temp/pages/posts/article12.html.js +0 -112
  254. package/template/zh-CN/.vuepress/.temp/pages/posts/article12.html.vue +0 -6
  255. package/template/zh-CN/.vuepress/.temp/pages/posts/article9.html.js +0 -111
  256. package/template/zh-CN/.vuepress/.temp/pages/posts/article9.html.vue +0 -6
  257. package/template/zh-CN/.vuepress/.temp/pages/slide.html.js +0 -69
  258. package/template/zh-CN/.vuepress/.temp/pages/slide.html.vue +0 -2
  259. package/template/zh-CN/.vuepress/.temp/pages/slides/index.html.js +0 -72
  260. package/template/zh-CN/.vuepress/.temp/pages/slides/index.html.vue +0 -1
  261. package/template/zh-CN/.vuepress/.temp/pages/star/index.html.js +0 -72
  262. package/template/zh-CN/.vuepress/.temp/pages/star/index.html.vue +0 -1
  263. package/template/zh-CN/.vuepress/.temp/pages/tag/index.html.js +0 -72
  264. package/template/zh-CN/.vuepress/.temp/pages/tag/index.html.vue +0 -1
  265. package/template/zh-CN/.vuepress/.temp/pages/tag/markdown/index.html.js +0 -73
  266. package/template/zh-CN/.vuepress/.temp/pages/tag/markdown/index.html.vue +0 -1
  267. package/template/zh-CN/.vuepress/.temp/pages/tag/tag-a/index.html.js +0 -73
  268. package/template/zh-CN/.vuepress/.temp/pages/tag/tag-a/index.html.vue +0 -1
  269. package/template/zh-CN/.vuepress/.temp/pages/tag/tag-b/index.html.js +0 -73
  270. package/template/zh-CN/.vuepress/.temp/pages/tag/tag-b/index.html.vue +0 -1
  271. package/template/zh-CN/.vuepress/.temp/pages/tag//344/275/277/347/224/250/346/214/207/345/215/227/index.html.js +0 -73
  272. package/template/zh-CN/.vuepress/.temp/pages/tag//344/275/277/347/224/250/346/214/207/345/215/227/index.html.vue +0 -1
  273. package/template/zh-CN/.vuepress/.temp/pages/tag//346/226/207/347/253/240/345/212/240/345/257/206/index.html.js +0 -73
  274. package/template/zh-CN/.vuepress/.temp/pages/tag//346/226/207/347/253/240/345/212/240/345/257/206/index.html.vue +0 -1
  275. package/template/zh-CN/.vuepress/.temp/pages/tag//347/246/201/347/224/250/index.html.js +0 -73
  276. package/template/zh-CN/.vuepress/.temp/pages/tag//347/246/201/347/224/250/index.html.vue +0 -1
  277. package/template/zh-CN/.vuepress/.temp/pages/tag//351/241/265/351/235/242/351/205/215/347/275/256/index.html.js +0 -73
  278. package/template/zh-CN/.vuepress/.temp/pages/tag//351/241/265/351/235/242/351/205/215/347/275/256/index.html.vue +0 -1
  279. package/template/zh-CN/.vuepress/.temp/pages/timeline/index.html.js +0 -72
  280. package/template/zh-CN/.vuepress/.temp/pages/timeline/index.html.vue +0 -1
  281. package/template/zh-CN/.vuepress/.temp/sass-palette/hope-config.scss +0 -6
  282. package/template/zh-CN/.vuepress/.temp/sass-palette/hope-inject.scss +0 -29
  283. package/template/zh-CN/.vuepress/.temp/sass-palette/hope-palette.scss +0 -4
  284. package/template/zh-CN/.vuepress/.temp/sass-palette/hope-style.scss +0 -1
  285. package/template/zh-CN/.vuepress/.temp/sass-palette/load-hope.js +0 -1
  286. package/template/zh-CN/.vuepress/.temp/theme-hope/sidebar.js +0 -1
  287. package/template/zh-CN/.vuepress/.temp/theme-hope/socialMedia.js +0 -1
  288. package/template/zh-CN/.vuepress/.temp/theme-hope/theme-color.scss +0 -1
@@ -1,1459 +0,0 @@
1
- import {
2
- require_timezone
3
- } from "./chunk-MGTZPBBT.js";
4
- import {
5
- require_utc
6
- } from "./chunk-AFWL6OTZ.js";
7
- import {
8
- require_dayjs_min
9
- } from "./chunk-U6IILTIK.js";
10
- import {
11
- require_localizedFormat
12
- } from "./chunk-FH5D6ALC.js";
13
- import {
14
- require_objectSupport
15
- } from "./chunk-DDJL2UG7.js";
16
- import {
17
- computed,
18
- defineComponent,
19
- h
20
- } from "./chunk-S7KAUVUC.js";
21
- import "./chunk-2WZCGDJF.js";
22
- import {
23
- __commonJS,
24
- __spreadProps,
25
- __spreadValues,
26
- __toESM,
27
- init_define_ARTICLE_INFO_LOCALES,
28
- init_define_BACK_TO_TOP_LOCALES,
29
- init_define_CODE_COPY_LOCALES,
30
- init_define_CODE_COPY_OPIONS,
31
- init_define_CODE_DEMO_OPTIONS,
32
- init_define_COMMENT_OPTIONS,
33
- init_define_EXTERNAL_LINK_ICON_LOCALES,
34
- init_define_MERMAID_OPTIONS,
35
- init_define_PAGINATION_LOCALES,
36
- init_define_PHOTO_SWIPE_LOCALES,
37
- init_define_PHOTO_SWIPE_OPTIONS,
38
- init_define_READING_TIME_LOCALES,
39
- init_define_REVEAL_CONFIG,
40
- init_define_TOC_LOCALES,
41
- init_define_WALINE_LOCALES
42
- } from "./chunk-JFXOXVAP.js";
43
-
44
- // ../../node_modules/tslib/tslib.js
45
- var require_tslib = __commonJS({
46
- "../../node_modules/tslib/tslib.js"(exports, module) {
47
- init_define_ARTICLE_INFO_LOCALES();
48
- init_define_BACK_TO_TOP_LOCALES();
49
- init_define_CODE_COPY_LOCALES();
50
- init_define_CODE_COPY_OPIONS();
51
- init_define_CODE_DEMO_OPTIONS();
52
- init_define_COMMENT_OPTIONS();
53
- init_define_MERMAID_OPTIONS();
54
- init_define_PAGINATION_LOCALES();
55
- init_define_PHOTO_SWIPE_LOCALES();
56
- init_define_PHOTO_SWIPE_OPTIONS();
57
- init_define_READING_TIME_LOCALES();
58
- init_define_REVEAL_CONFIG();
59
- init_define_TOC_LOCALES();
60
- init_define_WALINE_LOCALES();
61
- init_define_EXTERNAL_LINK_ICON_LOCALES();
62
- var __extends;
63
- var __assign;
64
- var __rest;
65
- var __decorate;
66
- var __param;
67
- var __metadata;
68
- var __awaiter;
69
- var __generator;
70
- var __exportStar;
71
- var __values;
72
- var __read;
73
- var __spread;
74
- var __spreadArrays;
75
- var __spreadArray;
76
- var __await;
77
- var __asyncGenerator;
78
- var __asyncDelegator;
79
- var __asyncValues;
80
- var __makeTemplateObject;
81
- var __importStar;
82
- var __importDefault;
83
- var __classPrivateFieldGet;
84
- var __classPrivateFieldSet;
85
- var __createBinding;
86
- (function(factory) {
87
- var root = typeof global === "object" ? global : typeof self === "object" ? self : typeof this === "object" ? this : {};
88
- if (typeof define === "function" && define.amd) {
89
- define("tslib", ["exports"], function(exports2) {
90
- factory(createExporter(root, createExporter(exports2)));
91
- });
92
- } else if (typeof module === "object" && typeof module.exports === "object") {
93
- factory(createExporter(root, createExporter(module.exports)));
94
- } else {
95
- factory(createExporter(root));
96
- }
97
- function createExporter(exports2, previous) {
98
- if (exports2 !== root) {
99
- if (typeof Object.create === "function") {
100
- Object.defineProperty(exports2, "__esModule", { value: true });
101
- } else {
102
- exports2.__esModule = true;
103
- }
104
- }
105
- return function(id, v) {
106
- return exports2[id] = previous ? previous(id, v) : v;
107
- };
108
- }
109
- })(function(exporter) {
110
- var extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d, b) {
111
- d.__proto__ = b;
112
- } || function(d, b) {
113
- for (var p in b)
114
- if (Object.prototype.hasOwnProperty.call(b, p))
115
- d[p] = b[p];
116
- };
117
- __extends = function(d, b) {
118
- if (typeof b !== "function" && b !== null)
119
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
120
- extendStatics(d, b);
121
- function __() {
122
- this.constructor = d;
123
- }
124
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
125
- };
126
- __assign = Object.assign || function(t) {
127
- for (var s, i = 1, n = arguments.length; i < n; i++) {
128
- s = arguments[i];
129
- for (var p in s)
130
- if (Object.prototype.hasOwnProperty.call(s, p))
131
- t[p] = s[p];
132
- }
133
- return t;
134
- };
135
- __rest = function(s, e) {
136
- var t = {};
137
- for (var p in s)
138
- if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
139
- t[p] = s[p];
140
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
141
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
142
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
143
- t[p[i]] = s[p[i]];
144
- }
145
- return t;
146
- };
147
- __decorate = function(decorators, target, key, desc) {
148
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
149
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
150
- r = Reflect.decorate(decorators, target, key, desc);
151
- else
152
- for (var i = decorators.length - 1; i >= 0; i--)
153
- if (d = decorators[i])
154
- r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
155
- return c > 3 && r && Object.defineProperty(target, key, r), r;
156
- };
157
- __param = function(paramIndex, decorator) {
158
- return function(target, key) {
159
- decorator(target, key, paramIndex);
160
- };
161
- };
162
- __metadata = function(metadataKey, metadataValue) {
163
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
164
- return Reflect.metadata(metadataKey, metadataValue);
165
- };
166
- __awaiter = function(thisArg, _arguments, P, generator) {
167
- function adopt(value) {
168
- return value instanceof P ? value : new P(function(resolve) {
169
- resolve(value);
170
- });
171
- }
172
- return new (P || (P = Promise))(function(resolve, reject) {
173
- function fulfilled(value) {
174
- try {
175
- step(generator.next(value));
176
- } catch (e) {
177
- reject(e);
178
- }
179
- }
180
- function rejected(value) {
181
- try {
182
- step(generator["throw"](value));
183
- } catch (e) {
184
- reject(e);
185
- }
186
- }
187
- function step(result) {
188
- result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);
189
- }
190
- step((generator = generator.apply(thisArg, _arguments || [])).next());
191
- });
192
- };
193
- __generator = function(thisArg, body) {
194
- var _ = { label: 0, sent: function() {
195
- if (t[0] & 1)
196
- throw t[1];
197
- return t[1];
198
- }, trys: [], ops: [] }, f, y, t, g;
199
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() {
200
- return this;
201
- }), g;
202
- function verb(n) {
203
- return function(v) {
204
- return step([n, v]);
205
- };
206
- }
207
- function step(op) {
208
- if (f)
209
- throw new TypeError("Generator is already executing.");
210
- while (_)
211
- try {
212
- if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done)
213
- return t;
214
- if (y = 0, t)
215
- op = [op[0] & 2, t.value];
216
- switch (op[0]) {
217
- case 0:
218
- case 1:
219
- t = op;
220
- break;
221
- case 4:
222
- _.label++;
223
- return { value: op[1], done: false };
224
- case 5:
225
- _.label++;
226
- y = op[1];
227
- op = [0];
228
- continue;
229
- case 7:
230
- op = _.ops.pop();
231
- _.trys.pop();
232
- continue;
233
- default:
234
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
235
- _ = 0;
236
- continue;
237
- }
238
- if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {
239
- _.label = op[1];
240
- break;
241
- }
242
- if (op[0] === 6 && _.label < t[1]) {
243
- _.label = t[1];
244
- t = op;
245
- break;
246
- }
247
- if (t && _.label < t[2]) {
248
- _.label = t[2];
249
- _.ops.push(op);
250
- break;
251
- }
252
- if (t[2])
253
- _.ops.pop();
254
- _.trys.pop();
255
- continue;
256
- }
257
- op = body.call(thisArg, _);
258
- } catch (e) {
259
- op = [6, e];
260
- y = 0;
261
- } finally {
262
- f = t = 0;
263
- }
264
- if (op[0] & 5)
265
- throw op[1];
266
- return { value: op[0] ? op[1] : void 0, done: true };
267
- }
268
- };
269
- __exportStar = function(m, o) {
270
- for (var p in m)
271
- if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p))
272
- __createBinding(o, m, p);
273
- };
274
- __createBinding = Object.create ? function(o, m, k, k2) {
275
- if (k2 === void 0)
276
- k2 = k;
277
- Object.defineProperty(o, k2, { enumerable: true, get: function() {
278
- return m[k];
279
- } });
280
- } : function(o, m, k, k2) {
281
- if (k2 === void 0)
282
- k2 = k;
283
- o[k2] = m[k];
284
- };
285
- __values = function(o) {
286
- var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
287
- if (m)
288
- return m.call(o);
289
- if (o && typeof o.length === "number")
290
- return {
291
- next: function() {
292
- if (o && i >= o.length)
293
- o = void 0;
294
- return { value: o && o[i++], done: !o };
295
- }
296
- };
297
- throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
298
- };
299
- __read = function(o, n) {
300
- var m = typeof Symbol === "function" && o[Symbol.iterator];
301
- if (!m)
302
- return o;
303
- var i = m.call(o), r, ar = [], e;
304
- try {
305
- while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
306
- ar.push(r.value);
307
- } catch (error) {
308
- e = { error };
309
- } finally {
310
- try {
311
- if (r && !r.done && (m = i["return"]))
312
- m.call(i);
313
- } finally {
314
- if (e)
315
- throw e.error;
316
- }
317
- }
318
- return ar;
319
- };
320
- __spread = function() {
321
- for (var ar = [], i = 0; i < arguments.length; i++)
322
- ar = ar.concat(__read(arguments[i]));
323
- return ar;
324
- };
325
- __spreadArrays = function() {
326
- for (var s = 0, i = 0, il = arguments.length; i < il; i++)
327
- s += arguments[i].length;
328
- for (var r = Array(s), k = 0, i = 0; i < il; i++)
329
- for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
330
- r[k] = a[j];
331
- return r;
332
- };
333
- __spreadArray = function(to, from, pack) {
334
- if (pack || arguments.length === 2)
335
- for (var i = 0, l = from.length, ar; i < l; i++) {
336
- if (ar || !(i in from)) {
337
- if (!ar)
338
- ar = Array.prototype.slice.call(from, 0, i);
339
- ar[i] = from[i];
340
- }
341
- }
342
- return to.concat(ar || Array.prototype.slice.call(from));
343
- };
344
- __await = function(v) {
345
- return this instanceof __await ? (this.v = v, this) : new __await(v);
346
- };
347
- __asyncGenerator = function(thisArg, _arguments, generator) {
348
- if (!Symbol.asyncIterator)
349
- throw new TypeError("Symbol.asyncIterator is not defined.");
350
- var g = generator.apply(thisArg, _arguments || []), i, q = [];
351
- return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function() {
352
- return this;
353
- }, i;
354
- function verb(n) {
355
- if (g[n])
356
- i[n] = function(v) {
357
- return new Promise(function(a, b) {
358
- q.push([n, v, a, b]) > 1 || resume(n, v);
359
- });
360
- };
361
- }
362
- function resume(n, v) {
363
- try {
364
- step(g[n](v));
365
- } catch (e) {
366
- settle(q[0][3], e);
367
- }
368
- }
369
- function step(r) {
370
- r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r);
371
- }
372
- function fulfill(value) {
373
- resume("next", value);
374
- }
375
- function reject(value) {
376
- resume("throw", value);
377
- }
378
- function settle(f, v) {
379
- if (f(v), q.shift(), q.length)
380
- resume(q[0][0], q[0][1]);
381
- }
382
- };
383
- __asyncDelegator = function(o) {
384
- var i, p;
385
- return i = {}, verb("next"), verb("throw", function(e) {
386
- throw e;
387
- }), verb("return"), i[Symbol.iterator] = function() {
388
- return this;
389
- }, i;
390
- function verb(n, f) {
391
- i[n] = o[n] ? function(v) {
392
- return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v;
393
- } : f;
394
- }
395
- };
396
- __asyncValues = function(o) {
397
- if (!Symbol.asyncIterator)
398
- throw new TypeError("Symbol.asyncIterator is not defined.");
399
- var m = o[Symbol.asyncIterator], i;
400
- return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function() {
401
- return this;
402
- }, i);
403
- function verb(n) {
404
- i[n] = o[n] && function(v) {
405
- return new Promise(function(resolve, reject) {
406
- v = o[n](v), settle(resolve, reject, v.done, v.value);
407
- });
408
- };
409
- }
410
- function settle(resolve, reject, d, v) {
411
- Promise.resolve(v).then(function(v2) {
412
- resolve({ value: v2, done: d });
413
- }, reject);
414
- }
415
- };
416
- __makeTemplateObject = function(cooked, raw) {
417
- if (Object.defineProperty) {
418
- Object.defineProperty(cooked, "raw", { value: raw });
419
- } else {
420
- cooked.raw = raw;
421
- }
422
- return cooked;
423
- };
424
- var __setModuleDefault = Object.create ? function(o, v) {
425
- Object.defineProperty(o, "default", { enumerable: true, value: v });
426
- } : function(o, v) {
427
- o["default"] = v;
428
- };
429
- __importStar = function(mod) {
430
- if (mod && mod.__esModule)
431
- return mod;
432
- var result = {};
433
- if (mod != null) {
434
- for (var k in mod)
435
- if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k))
436
- __createBinding(result, mod, k);
437
- }
438
- __setModuleDefault(result, mod);
439
- return result;
440
- };
441
- __importDefault = function(mod) {
442
- return mod && mod.__esModule ? mod : { "default": mod };
443
- };
444
- __classPrivateFieldGet = function(receiver, state, kind, f) {
445
- if (kind === "a" && !f)
446
- throw new TypeError("Private accessor was defined without a getter");
447
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
448
- throw new TypeError("Cannot read private member from an object whose class did not declare it");
449
- return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
450
- };
451
- __classPrivateFieldSet = function(receiver, state, value, kind, f) {
452
- if (kind === "m")
453
- throw new TypeError("Private method is not writable");
454
- if (kind === "a" && !f)
455
- throw new TypeError("Private accessor was defined without a setter");
456
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
457
- throw new TypeError("Cannot write private member to an object whose class did not declare it");
458
- return kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value), value;
459
- };
460
- exporter("__extends", __extends);
461
- exporter("__assign", __assign);
462
- exporter("__rest", __rest);
463
- exporter("__decorate", __decorate);
464
- exporter("__param", __param);
465
- exporter("__metadata", __metadata);
466
- exporter("__awaiter", __awaiter);
467
- exporter("__generator", __generator);
468
- exporter("__exportStar", __exportStar);
469
- exporter("__createBinding", __createBinding);
470
- exporter("__values", __values);
471
- exporter("__read", __read);
472
- exporter("__spread", __spread);
473
- exporter("__spreadArrays", __spreadArrays);
474
- exporter("__spreadArray", __spreadArray);
475
- exporter("__await", __await);
476
- exporter("__asyncGenerator", __asyncGenerator);
477
- exporter("__asyncDelegator", __asyncDelegator);
478
- exporter("__asyncValues", __asyncValues);
479
- exporter("__makeTemplateObject", __makeTemplateObject);
480
- exporter("__importStar", __importStar);
481
- exporter("__importDefault", __importDefault);
482
- exporter("__classPrivateFieldGet", __classPrivateFieldGet);
483
- exporter("__classPrivateFieldSet", __classPrivateFieldSet);
484
- });
485
- }
486
- });
487
-
488
- // ../shared/lib/shared/utils/capitalize.js
489
- var require_capitalize = __commonJS({
490
- "../shared/lib/shared/utils/capitalize.js"(exports) {
491
- "use strict";
492
- init_define_ARTICLE_INFO_LOCALES();
493
- init_define_BACK_TO_TOP_LOCALES();
494
- init_define_CODE_COPY_LOCALES();
495
- init_define_CODE_COPY_OPIONS();
496
- init_define_CODE_DEMO_OPTIONS();
497
- init_define_COMMENT_OPTIONS();
498
- init_define_MERMAID_OPTIONS();
499
- init_define_PAGINATION_LOCALES();
500
- init_define_PHOTO_SWIPE_LOCALES();
501
- init_define_PHOTO_SWIPE_OPTIONS();
502
- init_define_READING_TIME_LOCALES();
503
- init_define_REVEAL_CONFIG();
504
- init_define_TOC_LOCALES();
505
- init_define_WALINE_LOCALES();
506
- init_define_EXTERNAL_LINK_ICON_LOCALES();
507
- Object.defineProperty(exports, "__esModule", { value: true });
508
- exports.strictCapitalize = exports.capitalize = void 0;
509
- var capitalize2 = (word) => `${word.charAt(0).toUpperCase()}${word.slice(1)}`;
510
- exports.capitalize = capitalize2;
511
- var strictCapitalize2 = (word) => `${word.charAt(0).toUpperCase()}${word.slice(1).toLowerCase()}`;
512
- exports.strictCapitalize = strictCapitalize2;
513
- }
514
- });
515
-
516
- // ../shared/lib/shared/utils/dayjs.js
517
- var require_dayjs = __commonJS({
518
- "../shared/lib/shared/utils/dayjs.js"(exports) {
519
- "use strict";
520
- init_define_ARTICLE_INFO_LOCALES();
521
- init_define_BACK_TO_TOP_LOCALES();
522
- init_define_CODE_COPY_LOCALES();
523
- init_define_CODE_COPY_OPIONS();
524
- init_define_CODE_DEMO_OPTIONS();
525
- init_define_COMMENT_OPTIONS();
526
- init_define_MERMAID_OPTIONS();
527
- init_define_PAGINATION_LOCALES();
528
- init_define_PHOTO_SWIPE_LOCALES();
529
- init_define_PHOTO_SWIPE_OPTIONS();
530
- init_define_READING_TIME_LOCALES();
531
- init_define_REVEAL_CONFIG();
532
- init_define_TOC_LOCALES();
533
- init_define_WALINE_LOCALES();
534
- init_define_EXTERNAL_LINK_ICON_LOCALES();
535
- Object.defineProperty(exports, "__esModule", { value: true });
536
- exports.dayjs = void 0;
537
- var tslib_1 = require_tslib();
538
- var dayjs_1 = tslib_1.__importDefault(require_dayjs_min());
539
- var localizedFormat_1 = tslib_1.__importDefault(require_localizedFormat());
540
- var objectSupport_1 = tslib_1.__importDefault(require_objectSupport());
541
- var timezone_1 = tslib_1.__importDefault(require_timezone());
542
- var utc_1 = tslib_1.__importDefault(require_utc());
543
- dayjs_1.default.extend(localizedFormat_1.default);
544
- dayjs_1.default.extend(objectSupport_1.default);
545
- dayjs_1.default.extend(utc_1.default);
546
- dayjs_1.default.extend(timezone_1.default);
547
- var zhLocale = {
548
- name: "zh-cn",
549
- weekdays: "\u661F\u671F\u65E5_\u661F\u671F\u4E00_\u661F\u671F\u4E8C_\u661F\u671F\u4E09_\u661F\u671F\u56DB_\u661F\u671F\u4E94_\u661F\u671F\u516D".split("_"),
550
- weekdaysShort: "\u5468\u65E5_\u5468\u4E00_\u5468\u4E8C_\u5468\u4E09_\u5468\u56DB_\u5468\u4E94_\u5468\u516D".split("_"),
551
- weekdaysMin: "\u65E5_\u4E00_\u4E8C_\u4E09_\u56DB_\u4E94_\u516D".split("_"),
552
- months: "\u4E00\u6708_\u4E8C\u6708_\u4E09\u6708_\u56DB\u6708_\u4E94\u6708_\u516D\u6708_\u4E03\u6708_\u516B\u6708_\u4E5D\u6708_\u5341\u6708_\u5341\u4E00\u6708_\u5341\u4E8C\u6708".split("_"),
553
- monthsShort: "1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),
554
- ordinal: (number, period) => {
555
- switch (period) {
556
- case "W":
557
- return `${number}\u5468`;
558
- default:
559
- return `${number}\u65E5`;
560
- }
561
- },
562
- weekStart: 1,
563
- yearStart: 4,
564
- formats: {
565
- LT: "HH:mm",
566
- LTS: "HH:mm:ss",
567
- L: "YYYY/MM/DD",
568
- LL: "YYYY\u5E74M\u6708D\u65E5",
569
- LLL: "YYYY\u5E74M\u6708D\u65E5Ah\u70B9mm\u5206",
570
- LLLL: "YYYY\u5E74M\u6708D\u65E5ddddAh\u70B9mm\u5206",
571
- l: "YYYY/M/D",
572
- ll: "YYYY\u5E74M\u6708D\u65E5",
573
- lll: "YYYY\u5E74M\u6708D\u65E5 HH:mm",
574
- llll: "YYYY\u5E74M\u6708D\u65E5dddd HH:mm"
575
- },
576
- relativeTime: {
577
- future: "%s\u5185",
578
- past: "%s\u524D",
579
- s: "\u51E0\u79D2",
580
- m: "1 \u5206\u949F",
581
- mm: "%d \u5206\u949F",
582
- h: "1 \u5C0F\u65F6",
583
- hh: "%d \u5C0F\u65F6",
584
- d: "1 \u5929",
585
- dd: "%d \u5929",
586
- M: "1 \u4E2A\u6708",
587
- MM: "%d \u4E2A\u6708",
588
- y: "1 \u5E74",
589
- yy: "%d \u5E74"
590
- },
591
- meridiem: (hour, minute) => {
592
- const hm = hour * 100 + minute;
593
- return hm < 600 ? "\u51CC\u6668" : hm < 900 ? "\u65E9\u4E0A" : hm < 1100 ? "\u4E0A\u5348" : hm < 1300 ? "\u4E2D\u5348" : hm < 1800 ? "\u4E0B\u5348" : "\u665A\u4E0A";
594
- }
595
- };
596
- var enLocale = {
597
- name: "en",
598
- weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),
599
- months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_")
600
- };
601
- dayjs_1.default.locale("zh", zhLocale);
602
- dayjs_1.default.locale("en", enLocale);
603
- exports.dayjs = dayjs_1.default;
604
- }
605
- });
606
-
607
- // ../shared/lib/shared/utils/date.js
608
- var require_date = __commonJS({
609
- "../shared/lib/shared/utils/date.js"(exports) {
610
- "use strict";
611
- init_define_ARTICLE_INFO_LOCALES();
612
- init_define_BACK_TO_TOP_LOCALES();
613
- init_define_CODE_COPY_LOCALES();
614
- init_define_CODE_COPY_OPIONS();
615
- init_define_CODE_DEMO_OPTIONS();
616
- init_define_COMMENT_OPTIONS();
617
- init_define_MERMAID_OPTIONS();
618
- init_define_PAGINATION_LOCALES();
619
- init_define_PHOTO_SWIPE_LOCALES();
620
- init_define_PHOTO_SWIPE_OPTIONS();
621
- init_define_READING_TIME_LOCALES();
622
- init_define_REVEAL_CONFIG();
623
- init_define_TOC_LOCALES();
624
- init_define_WALINE_LOCALES();
625
- init_define_EXTERNAL_LINK_ICON_LOCALES();
626
- Object.defineProperty(exports, "__esModule", { value: true });
627
- exports.compareDate = exports.getDate = exports.timeTransformer = void 0;
628
- var dayjs_1 = require_dayjs();
629
- var getLang = (lang = "en") => {
630
- const langcode = lang.toLowerCase();
631
- if (langcode === "zh" || langcode === "zh-cn")
632
- return "zh";
633
- if (langcode === "en-us" || langcode === "en-uk" || langcode === "en")
634
- return "en";
635
- console.warn(`${lang} locale missing in config`);
636
- return "en";
637
- };
638
- var timeTransformer2 = (date, options = {}) => {
639
- const { lang, timezone, type } = options;
640
- dayjs_1.dayjs.locale(getLang(lang));
641
- const dateText = timezone ? (0, dayjs_1.dayjs)(date).tz(timezone).format("LL") : (0, dayjs_1.dayjs)(date).format("LL");
642
- const timeText = timezone ? (0, dayjs_1.dayjs)(date).tz(timezone).format("HH:mm") : (0, dayjs_1.dayjs)(date).format("HH:mm");
643
- return type === "date" ? dateText : type === "time" ? timeText : `${dateText} ${timeText}`;
644
- };
645
- exports.timeTransformer = timeTransformer2;
646
- var getDate2 = (date, options = {}) => {
647
- const { timezone } = options;
648
- if (date) {
649
- const time = (0, dayjs_1.dayjs)(date instanceof Date ? date : date.trim());
650
- if (time.isValid()) {
651
- const currentTime = timezone ? (0, dayjs_1.dayjs)(date).tz(timezone) : (0, dayjs_1.dayjs)(date);
652
- const year = currentTime.year();
653
- const month = currentTime.month() + 1;
654
- const day = currentTime.date();
655
- const hour = currentTime.hour();
656
- const minute = currentTime.minute();
657
- const second = currentTime.second();
658
- const millisecond = currentTime.millisecond();
659
- const isDate = hour === 0 && minute === 0 && second === 0 && millisecond === 0;
660
- const value = currentTime.toDate();
661
- return {
662
- display: (0, exports.timeTransformer)(value, __spreadValues({
663
- type: isDate ? "date" : "full"
664
- }, options)),
665
- value,
666
- detail: __spreadValues({
667
- year,
668
- month,
669
- day
670
- }, isDate ? {} : { hour, minute, second })
671
- };
672
- }
673
- const timeRegPattern = /(?:(\d{2,4})[/-](\d{1,2})[/-](\d{1,2}))?\s*(?:(\d{1,2}):(\d{1,2})(?::(\d{1,2}))?)?/u;
674
- const result = timeRegPattern.exec(date.trim());
675
- if (result) {
676
- const [, year, month, day, hour, minute, second] = result;
677
- const getNumber = (a) => typeof a === "undefined" ? void 0 : Number(a);
678
- const getYear = (yearNumber) => yearNumber && yearNumber < 100 ? yearNumber + 2e3 : yearNumber;
679
- const getSecond = (secondNumber) => hour && minute && !second ? 0 : secondNumber;
680
- const detail = {
681
- year: getYear(getNumber(year)),
682
- month: getNumber(month),
683
- day: getNumber(day),
684
- hour: getNumber(hour),
685
- minute: getNumber(minute),
686
- second: getSecond(getNumber(second))
687
- };
688
- const isTime = year === void 0 && month === void 0 && day === void 0;
689
- const isDate = hour === void 0 && minute === void 0 && second === void 0;
690
- const value = (0, dayjs_1.dayjs)(__spreadProps(__spreadValues({}, detail), { month: detail.month - 1 })).toDate();
691
- return {
692
- display: (0, exports.timeTransformer)(value, __spreadValues({
693
- type: isDate ? "date" : isTime ? "time" : "full"
694
- }, options)),
695
- value: isTime ? void 0 : value,
696
- detail: isDate ? { year: detail.year, month: detail.month, day: detail.day } : isTime ? { hour: detail.hour, minute: detail.minute, second: detail.second } : detail
697
- };
698
- }
699
- }
700
- return null;
701
- };
702
- exports.getDate = getDate2;
703
- var compareDate2 = (dateA, dateB) => {
704
- const parsedDateA = (0, exports.getDate)(typeof dateA === "number" ? new Date(dateA) : dateA);
705
- const parsedDateB = (0, exports.getDate)(typeof dateB === "number" ? new Date(dateB) : dateB);
706
- if (!parsedDateA || !parsedDateA.value)
707
- return 1;
708
- if (!parsedDateB || !parsedDateB.value)
709
- return -1;
710
- return parsedDateB.value.getTime() - parsedDateA.value.getTime();
711
- };
712
- exports.compareDate = compareDate2;
713
- }
714
- });
715
-
716
- // ../shared/lib/shared/utils/info.js
717
- var require_info = __commonJS({
718
- "../shared/lib/shared/utils/info.js"(exports) {
719
- "use strict";
720
- init_define_ARTICLE_INFO_LOCALES();
721
- init_define_BACK_TO_TOP_LOCALES();
722
- init_define_CODE_COPY_LOCALES();
723
- init_define_CODE_COPY_OPIONS();
724
- init_define_CODE_DEMO_OPTIONS();
725
- init_define_COMMENT_OPTIONS();
726
- init_define_MERMAID_OPTIONS();
727
- init_define_PAGINATION_LOCALES();
728
- init_define_PHOTO_SWIPE_LOCALES();
729
- init_define_PHOTO_SWIPE_OPTIONS();
730
- init_define_READING_TIME_LOCALES();
731
- init_define_REVEAL_CONFIG();
732
- init_define_TOC_LOCALES();
733
- init_define_WALINE_LOCALES();
734
- init_define_EXTERNAL_LINK_ICON_LOCALES();
735
- Object.defineProperty(exports, "__esModule", { value: true });
736
- exports.getTag = exports.getCategory = exports.getAuthor = void 0;
737
- var capitalize_1 = require_capitalize();
738
- var getAuthor2 = (author, canDisable = false) => {
739
- if (author) {
740
- if (Array.isArray(author)) {
741
- return author.map((item) => typeof item === "string" ? { name: item } : item);
742
- }
743
- if (typeof author === "string")
744
- return [{ name: author }];
745
- if (typeof author === "object" && author.name)
746
- return [author];
747
- console.error(`Expect 'author' to be \`AuthorInfo[] | AuthorInfo | string[] | string ${canDisable ? "" : "| false"} | undefined\`, but got`, author);
748
- return [];
749
- }
750
- return [];
751
- };
752
- exports.getAuthor = getAuthor2;
753
- var getCategory2 = (category) => {
754
- if (category) {
755
- if (Array.isArray(category))
756
- return category.map(capitalize_1.capitalize);
757
- if (typeof category === "string")
758
- return [(0, capitalize_1.capitalize)(category)];
759
- console.error(`Expect 'category' to be \`string[] | string | undefined\`, but got`, category);
760
- }
761
- return [];
762
- };
763
- exports.getCategory = getCategory2;
764
- var getTag2 = (tag) => {
765
- if (tag) {
766
- if (Array.isArray(tag))
767
- return tag;
768
- if (typeof tag === "string")
769
- return [tag];
770
- console.error(`Expect 'tag' to be \`string[] | string | undefined\`, but got`, tag);
771
- }
772
- return [];
773
- };
774
- exports.getTag = getTag2;
775
- }
776
- });
777
-
778
- // ../shared/lib/shared/utils/url.js
779
- var require_url = __commonJS({
780
- "../shared/lib/shared/utils/url.js"(exports) {
781
- "use strict";
782
- init_define_ARTICLE_INFO_LOCALES();
783
- init_define_BACK_TO_TOP_LOCALES();
784
- init_define_CODE_COPY_LOCALES();
785
- init_define_CODE_COPY_OPIONS();
786
- init_define_CODE_DEMO_OPTIONS();
787
- init_define_COMMENT_OPTIONS();
788
- init_define_MERMAID_OPTIONS();
789
- init_define_PAGINATION_LOCALES();
790
- init_define_PHOTO_SWIPE_LOCALES();
791
- init_define_PHOTO_SWIPE_OPTIONS();
792
- init_define_READING_TIME_LOCALES();
793
- init_define_REVEAL_CONFIG();
794
- init_define_TOC_LOCALES();
795
- init_define_WALINE_LOCALES();
796
- init_define_EXTERNAL_LINK_ICON_LOCALES();
797
- Object.defineProperty(exports, "__esModule", { value: true });
798
- exports.isAbsoluteUrl = exports.isUrl = void 0;
799
- var isUrl2 = (test) => {
800
- if (typeof test !== "string" || test === "")
801
- return false;
802
- const result = /^(?:\w+:)?\/\/(\S+)$/u.exec(test);
803
- if (!result)
804
- return false;
805
- const address = result[1];
806
- if (!address)
807
- return false;
808
- return /^localhost[:?\d]*(?:[^:?\d]\S*)?$/u.test(address) || /^[^\s.]+\.\S{2,}$/u.test(address);
809
- };
810
- exports.isUrl = isUrl2;
811
- var isAbsoluteUrl2 = (test) => test.startsWith("/");
812
- exports.isAbsoluteUrl = isAbsoluteUrl2;
813
- }
814
- });
815
-
816
- // ../shared/lib/shared/utils/index.js
817
- var require_utils = __commonJS({
818
- "../shared/lib/shared/utils/index.js"(exports) {
819
- "use strict";
820
- init_define_ARTICLE_INFO_LOCALES();
821
- init_define_BACK_TO_TOP_LOCALES();
822
- init_define_CODE_COPY_LOCALES();
823
- init_define_CODE_COPY_OPIONS();
824
- init_define_CODE_DEMO_OPTIONS();
825
- init_define_COMMENT_OPTIONS();
826
- init_define_MERMAID_OPTIONS();
827
- init_define_PAGINATION_LOCALES();
828
- init_define_PHOTO_SWIPE_LOCALES();
829
- init_define_PHOTO_SWIPE_OPTIONS();
830
- init_define_READING_TIME_LOCALES();
831
- init_define_REVEAL_CONFIG();
832
- init_define_TOC_LOCALES();
833
- init_define_WALINE_LOCALES();
834
- init_define_EXTERNAL_LINK_ICON_LOCALES();
835
- Object.defineProperty(exports, "__esModule", { value: true });
836
- var tslib_1 = require_tslib();
837
- tslib_1.__exportStar(require_capitalize(), exports);
838
- tslib_1.__exportStar(require_date(), exports);
839
- tslib_1.__exportStar(require_info(), exports);
840
- tslib_1.__exportStar(require_url(), exports);
841
- }
842
- });
843
-
844
- // ../shared/lib/shared/types/author.js
845
- var require_author = __commonJS({
846
- "../shared/lib/shared/types/author.js"(exports) {
847
- "use strict";
848
- init_define_ARTICLE_INFO_LOCALES();
849
- init_define_BACK_TO_TOP_LOCALES();
850
- init_define_CODE_COPY_LOCALES();
851
- init_define_CODE_COPY_OPIONS();
852
- init_define_CODE_DEMO_OPTIONS();
853
- init_define_COMMENT_OPTIONS();
854
- init_define_MERMAID_OPTIONS();
855
- init_define_PAGINATION_LOCALES();
856
- init_define_PHOTO_SWIPE_LOCALES();
857
- init_define_PHOTO_SWIPE_OPTIONS();
858
- init_define_READING_TIME_LOCALES();
859
- init_define_REVEAL_CONFIG();
860
- init_define_TOC_LOCALES();
861
- init_define_WALINE_LOCALES();
862
- init_define_EXTERNAL_LINK_ICON_LOCALES();
863
- Object.defineProperty(exports, "__esModule", { value: true });
864
- }
865
- });
866
-
867
- // ../shared/lib/shared/types/locales.js
868
- var require_locales = __commonJS({
869
- "../shared/lib/shared/types/locales.js"(exports) {
870
- "use strict";
871
- init_define_ARTICLE_INFO_LOCALES();
872
- init_define_BACK_TO_TOP_LOCALES();
873
- init_define_CODE_COPY_LOCALES();
874
- init_define_CODE_COPY_OPIONS();
875
- init_define_CODE_DEMO_OPTIONS();
876
- init_define_COMMENT_OPTIONS();
877
- init_define_MERMAID_OPTIONS();
878
- init_define_PAGINATION_LOCALES();
879
- init_define_PHOTO_SWIPE_LOCALES();
880
- init_define_PHOTO_SWIPE_OPTIONS();
881
- init_define_READING_TIME_LOCALES();
882
- init_define_REVEAL_CONFIG();
883
- init_define_TOC_LOCALES();
884
- init_define_WALINE_LOCALES();
885
- init_define_EXTERNAL_LINK_ICON_LOCALES();
886
- Object.defineProperty(exports, "__esModule", { value: true });
887
- }
888
- });
889
-
890
- // ../shared/lib/shared/types/frontmatter.js
891
- var require_frontmatter = __commonJS({
892
- "../shared/lib/shared/types/frontmatter.js"(exports) {
893
- "use strict";
894
- init_define_ARTICLE_INFO_LOCALES();
895
- init_define_BACK_TO_TOP_LOCALES();
896
- init_define_CODE_COPY_LOCALES();
897
- init_define_CODE_COPY_OPIONS();
898
- init_define_CODE_DEMO_OPTIONS();
899
- init_define_COMMENT_OPTIONS();
900
- init_define_MERMAID_OPTIONS();
901
- init_define_PAGINATION_LOCALES();
902
- init_define_PHOTO_SWIPE_LOCALES();
903
- init_define_PHOTO_SWIPE_OPTIONS();
904
- init_define_READING_TIME_LOCALES();
905
- init_define_REVEAL_CONFIG();
906
- init_define_TOC_LOCALES();
907
- init_define_WALINE_LOCALES();
908
- init_define_EXTERNAL_LINK_ICON_LOCALES();
909
- Object.defineProperty(exports, "__esModule", { value: true });
910
- }
911
- });
912
-
913
- // ../shared/lib/shared/types/themeConfig.js
914
- var require_themeConfig = __commonJS({
915
- "../shared/lib/shared/types/themeConfig.js"(exports) {
916
- "use strict";
917
- init_define_ARTICLE_INFO_LOCALES();
918
- init_define_BACK_TO_TOP_LOCALES();
919
- init_define_CODE_COPY_LOCALES();
920
- init_define_CODE_COPY_OPIONS();
921
- init_define_CODE_DEMO_OPTIONS();
922
- init_define_COMMENT_OPTIONS();
923
- init_define_MERMAID_OPTIONS();
924
- init_define_PAGINATION_LOCALES();
925
- init_define_PHOTO_SWIPE_LOCALES();
926
- init_define_PHOTO_SWIPE_OPTIONS();
927
- init_define_READING_TIME_LOCALES();
928
- init_define_REVEAL_CONFIG();
929
- init_define_TOC_LOCALES();
930
- init_define_WALINE_LOCALES();
931
- init_define_EXTERNAL_LINK_ICON_LOCALES();
932
- Object.defineProperty(exports, "__esModule", { value: true });
933
- }
934
- });
935
-
936
- // ../shared/lib/shared/types/index.js
937
- var require_types = __commonJS({
938
- "../shared/lib/shared/types/index.js"(exports) {
939
- "use strict";
940
- init_define_ARTICLE_INFO_LOCALES();
941
- init_define_BACK_TO_TOP_LOCALES();
942
- init_define_CODE_COPY_LOCALES();
943
- init_define_CODE_COPY_OPIONS();
944
- init_define_CODE_DEMO_OPTIONS();
945
- init_define_COMMENT_OPTIONS();
946
- init_define_MERMAID_OPTIONS();
947
- init_define_PAGINATION_LOCALES();
948
- init_define_PHOTO_SWIPE_LOCALES();
949
- init_define_PHOTO_SWIPE_OPTIONS();
950
- init_define_READING_TIME_LOCALES();
951
- init_define_REVEAL_CONFIG();
952
- init_define_TOC_LOCALES();
953
- init_define_WALINE_LOCALES();
954
- init_define_EXTERNAL_LINK_ICON_LOCALES();
955
- Object.defineProperty(exports, "__esModule", { value: true });
956
- var tslib_1 = require_tslib();
957
- tslib_1.__exportStar(require_author(), exports);
958
- tslib_1.__exportStar(require_locales(), exports);
959
- tslib_1.__exportStar(require_frontmatter(), exports);
960
- tslib_1.__exportStar(require_themeConfig(), exports);
961
- }
962
- });
963
-
964
- // ../shared/lib/shared/index.js
965
- var require_shared = __commonJS({
966
- "../shared/lib/shared/index.js"(exports) {
967
- "use strict";
968
- init_define_ARTICLE_INFO_LOCALES();
969
- init_define_BACK_TO_TOP_LOCALES();
970
- init_define_CODE_COPY_LOCALES();
971
- init_define_CODE_COPY_OPIONS();
972
- init_define_CODE_DEMO_OPTIONS();
973
- init_define_COMMENT_OPTIONS();
974
- init_define_MERMAID_OPTIONS();
975
- init_define_PAGINATION_LOCALES();
976
- init_define_PHOTO_SWIPE_LOCALES();
977
- init_define_PHOTO_SWIPE_OPTIONS();
978
- init_define_READING_TIME_LOCALES();
979
- init_define_REVEAL_CONFIG();
980
- init_define_TOC_LOCALES();
981
- init_define_WALINE_LOCALES();
982
- init_define_EXTERNAL_LINK_ICON_LOCALES();
983
- Object.defineProperty(exports, "__esModule", { value: true });
984
- var tslib_1 = require_tslib();
985
- tslib_1.__exportStar(require_utils(), exports);
986
- tslib_1.__exportStar(require_types(), exports);
987
- }
988
- });
989
-
990
- // dep:@mr-hope_vuepress-shared_lib_client
991
- init_define_ARTICLE_INFO_LOCALES();
992
- init_define_BACK_TO_TOP_LOCALES();
993
- init_define_CODE_COPY_LOCALES();
994
- init_define_CODE_COPY_OPIONS();
995
- init_define_CODE_DEMO_OPTIONS();
996
- init_define_COMMENT_OPTIONS();
997
- init_define_MERMAID_OPTIONS();
998
- init_define_PAGINATION_LOCALES();
999
- init_define_PHOTO_SWIPE_LOCALES();
1000
- init_define_PHOTO_SWIPE_OPTIONS();
1001
- init_define_READING_TIME_LOCALES();
1002
- init_define_REVEAL_CONFIG();
1003
- init_define_TOC_LOCALES();
1004
- init_define_WALINE_LOCALES();
1005
- init_define_EXTERNAL_LINK_ICON_LOCALES();
1006
-
1007
- // ../shared/lib/client/index.js
1008
- init_define_ARTICLE_INFO_LOCALES();
1009
- init_define_BACK_TO_TOP_LOCALES();
1010
- init_define_CODE_COPY_LOCALES();
1011
- init_define_CODE_COPY_OPIONS();
1012
- init_define_CODE_DEMO_OPTIONS();
1013
- init_define_COMMENT_OPTIONS();
1014
- init_define_MERMAID_OPTIONS();
1015
- init_define_PAGINATION_LOCALES();
1016
- init_define_PHOTO_SWIPE_LOCALES();
1017
- init_define_PHOTO_SWIPE_OPTIONS();
1018
- init_define_READING_TIME_LOCALES();
1019
- init_define_REVEAL_CONFIG();
1020
- init_define_TOC_LOCALES();
1021
- init_define_WALINE_LOCALES();
1022
- init_define_EXTERNAL_LINK_ICON_LOCALES();
1023
- var import_shared2 = __toESM(require_shared());
1024
-
1025
- // ../shared/lib/client/components/index.js
1026
- init_define_ARTICLE_INFO_LOCALES();
1027
- init_define_BACK_TO_TOP_LOCALES();
1028
- init_define_CODE_COPY_LOCALES();
1029
- init_define_CODE_COPY_OPIONS();
1030
- init_define_CODE_DEMO_OPTIONS();
1031
- init_define_COMMENT_OPTIONS();
1032
- init_define_MERMAID_OPTIONS();
1033
- init_define_PAGINATION_LOCALES();
1034
- init_define_PHOTO_SWIPE_LOCALES();
1035
- init_define_PHOTO_SWIPE_OPTIONS();
1036
- init_define_READING_TIME_LOCALES();
1037
- init_define_REVEAL_CONFIG();
1038
- init_define_TOC_LOCALES();
1039
- init_define_WALINE_LOCALES();
1040
- init_define_EXTERNAL_LINK_ICON_LOCALES();
1041
-
1042
- // ../shared/lib/client/components/IconBase.js
1043
- init_define_ARTICLE_INFO_LOCALES();
1044
- init_define_BACK_TO_TOP_LOCALES();
1045
- init_define_CODE_COPY_LOCALES();
1046
- init_define_CODE_COPY_OPIONS();
1047
- init_define_CODE_DEMO_OPTIONS();
1048
- init_define_COMMENT_OPTIONS();
1049
- init_define_MERMAID_OPTIONS();
1050
- init_define_PAGINATION_LOCALES();
1051
- init_define_PHOTO_SWIPE_LOCALES();
1052
- init_define_PHOTO_SWIPE_OPTIONS();
1053
- init_define_READING_TIME_LOCALES();
1054
- init_define_REVEAL_CONFIG();
1055
- init_define_TOC_LOCALES();
1056
- init_define_WALINE_LOCALES();
1057
- init_define_EXTERNAL_LINK_ICON_LOCALES();
1058
- var IconBase = defineComponent({
1059
- name: "IconBase",
1060
- props: {
1061
- name: {
1062
- type: String,
1063
- default: ""
1064
- },
1065
- color: {
1066
- type: String,
1067
- default: "currentColor"
1068
- }
1069
- },
1070
- setup: (props, { slots }) => () => {
1071
- var _a;
1072
- return h("svg", {
1073
- xmlns: "http://www.w3.org/2000/svg",
1074
- class: ["icon", `${props.name}-icon`],
1075
- viewBox: "0 0 1024 1024",
1076
- ariaLabelledby: props.name
1077
- }, [
1078
- h("title", { id: props.name, lang: "en" }, `${props.name} icon`),
1079
- h("g", { fill: props.color }, (_a = slots.default) === null || _a === void 0 ? void 0 : _a.call(slots))
1080
- ]);
1081
- }
1082
- });
1083
-
1084
- // ../shared/lib/client/composables/index.js
1085
- init_define_ARTICLE_INFO_LOCALES();
1086
- init_define_BACK_TO_TOP_LOCALES();
1087
- init_define_CODE_COPY_LOCALES();
1088
- init_define_CODE_COPY_OPIONS();
1089
- init_define_CODE_DEMO_OPTIONS();
1090
- init_define_COMMENT_OPTIONS();
1091
- init_define_MERMAID_OPTIONS();
1092
- init_define_PAGINATION_LOCALES();
1093
- init_define_PHOTO_SWIPE_LOCALES();
1094
- init_define_PHOTO_SWIPE_OPTIONS();
1095
- init_define_READING_TIME_LOCALES();
1096
- init_define_REVEAL_CONFIG();
1097
- init_define_TOC_LOCALES();
1098
- init_define_WALINE_LOCALES();
1099
- init_define_EXTERNAL_LINK_ICON_LOCALES();
1100
-
1101
- // ../shared/lib/client/composables/locales.js
1102
- init_define_ARTICLE_INFO_LOCALES();
1103
- init_define_BACK_TO_TOP_LOCALES();
1104
- init_define_CODE_COPY_LOCALES();
1105
- init_define_CODE_COPY_OPIONS();
1106
- init_define_CODE_DEMO_OPTIONS();
1107
- init_define_COMMENT_OPTIONS();
1108
- init_define_MERMAID_OPTIONS();
1109
- init_define_PAGINATION_LOCALES();
1110
- init_define_PHOTO_SWIPE_LOCALES();
1111
- init_define_PHOTO_SWIPE_OPTIONS();
1112
- init_define_READING_TIME_LOCALES();
1113
- init_define_REVEAL_CONFIG();
1114
- init_define_TOC_LOCALES();
1115
- init_define_WALINE_LOCALES();
1116
- init_define_EXTERNAL_LINK_ICON_LOCALES();
1117
- import { useRouteLocale } from "@vuepress/client";
1118
- var useLocaleConfig = (localesConfig) => {
1119
- const routeLocale = useRouteLocale();
1120
- return computed(() => localesConfig[routeLocale.value]);
1121
- };
1122
-
1123
- // ../shared/lib/client/composables/page.js
1124
- init_define_ARTICLE_INFO_LOCALES();
1125
- init_define_BACK_TO_TOP_LOCALES();
1126
- init_define_CODE_COPY_LOCALES();
1127
- init_define_CODE_COPY_OPIONS();
1128
- init_define_CODE_DEMO_OPTIONS();
1129
- init_define_COMMENT_OPTIONS();
1130
- init_define_MERMAID_OPTIONS();
1131
- init_define_PAGINATION_LOCALES();
1132
- init_define_PHOTO_SWIPE_LOCALES();
1133
- init_define_PHOTO_SWIPE_OPTIONS();
1134
- init_define_READING_TIME_LOCALES();
1135
- init_define_REVEAL_CONFIG();
1136
- init_define_TOC_LOCALES();
1137
- init_define_WALINE_LOCALES();
1138
- init_define_EXTERNAL_LINK_ICON_LOCALES();
1139
- import { usePageData } from "@vuepress/client";
1140
- var usePageTitle = () => computed(() => usePageData().value.title);
1141
-
1142
- // ../shared/lib/client/utils/index.js
1143
- init_define_ARTICLE_INFO_LOCALES();
1144
- init_define_BACK_TO_TOP_LOCALES();
1145
- init_define_CODE_COPY_LOCALES();
1146
- init_define_CODE_COPY_OPIONS();
1147
- init_define_CODE_DEMO_OPTIONS();
1148
- init_define_COMMENT_OPTIONS();
1149
- init_define_MERMAID_OPTIONS();
1150
- init_define_PAGINATION_LOCALES();
1151
- init_define_PHOTO_SWIPE_LOCALES();
1152
- init_define_PHOTO_SWIPE_OPTIONS();
1153
- init_define_READING_TIME_LOCALES();
1154
- init_define_REVEAL_CONFIG();
1155
- init_define_TOC_LOCALES();
1156
- init_define_WALINE_LOCALES();
1157
- init_define_EXTERNAL_LINK_ICON_LOCALES();
1158
-
1159
- // ../shared/lib/client/utils/click-outside.js
1160
- init_define_ARTICLE_INFO_LOCALES();
1161
- init_define_BACK_TO_TOP_LOCALES();
1162
- init_define_CODE_COPY_LOCALES();
1163
- init_define_CODE_COPY_OPIONS();
1164
- init_define_CODE_DEMO_OPTIONS();
1165
- init_define_COMMENT_OPTIONS();
1166
- init_define_MERMAID_OPTIONS();
1167
- init_define_PAGINATION_LOCALES();
1168
- init_define_PHOTO_SWIPE_LOCALES();
1169
- init_define_PHOTO_SWIPE_OPTIONS();
1170
- init_define_READING_TIME_LOCALES();
1171
- init_define_REVEAL_CONFIG();
1172
- init_define_TOC_LOCALES();
1173
- init_define_WALINE_LOCALES();
1174
- init_define_EXTERNAL_LINK_ICON_LOCALES();
1175
- var nodeList = /* @__PURE__ */ new Map();
1176
- var startClick;
1177
- if (true) {
1178
- document.addEventListener("mousedown", (event) => {
1179
- startClick = event;
1180
- });
1181
- document.addEventListener("mouseup", (event) => {
1182
- for (const handlers of nodeList.values()) {
1183
- for (const { documentHandler } of handlers) {
1184
- documentHandler(event, startClick);
1185
- }
1186
- }
1187
- });
1188
- }
1189
- var createDocumentHandler = (el, binding) => {
1190
- let excludes = [];
1191
- if (Array.isArray(binding.arg)) {
1192
- excludes = binding.arg;
1193
- } else if (binding.arg instanceof HTMLElement) {
1194
- excludes.push(binding.arg);
1195
- }
1196
- return (mouseup, mousedown) => {
1197
- const popperRef = binding.instance.popperRef;
1198
- const mouseUpTarget = mouseup.target;
1199
- const mouseDownTarget = mousedown === null || mousedown === void 0 ? void 0 : mousedown.target;
1200
- const isBound = !binding || !binding.instance;
1201
- const isTargetExists = !mouseUpTarget || !mouseDownTarget;
1202
- const isContainedByEl = el.contains(mouseUpTarget) || el.contains(mouseDownTarget);
1203
- const isSelf = el === mouseUpTarget;
1204
- const isTargetExcluded = excludes.length && excludes.some((item) => item === null || item === void 0 ? void 0 : item.contains(mouseUpTarget)) || excludes.length && excludes.includes(mouseDownTarget);
1205
- const isContainedByPopper = popperRef && (popperRef.contains(mouseUpTarget) || popperRef.contains(mouseDownTarget));
1206
- if (isBound || isTargetExists || isContainedByEl || isSelf || isTargetExcluded || isContainedByPopper) {
1207
- return;
1208
- }
1209
- binding.value(mouseup, mousedown);
1210
- };
1211
- };
1212
- var clickOutSideDirective = {
1213
- beforeMount(el, binding) {
1214
- if (!nodeList.has(el)) {
1215
- nodeList.set(el, []);
1216
- }
1217
- nodeList.get(el).push({
1218
- documentHandler: createDocumentHandler(el, binding),
1219
- bindingFn: binding.value
1220
- });
1221
- },
1222
- updated(el, binding) {
1223
- if (!nodeList.has(el)) {
1224
- nodeList.set(el, []);
1225
- }
1226
- const handlers = nodeList.get(el);
1227
- const oldHandlerIndex = handlers.findIndex((item) => item.bindingFn === binding.oldValue);
1228
- const newHandler = {
1229
- documentHandler: createDocumentHandler(el, binding),
1230
- bindingFn: binding.value
1231
- };
1232
- if (oldHandlerIndex >= 0) {
1233
- handlers.splice(oldHandlerIndex, 1, newHandler);
1234
- } else {
1235
- handlers.push(newHandler);
1236
- }
1237
- },
1238
- unmounted(el) {
1239
- nodeList.delete(el);
1240
- }
1241
- };
1242
-
1243
- // ../shared/lib/client/utils/hash.js
1244
- init_define_ARTICLE_INFO_LOCALES();
1245
- init_define_BACK_TO_TOP_LOCALES();
1246
- init_define_CODE_COPY_LOCALES();
1247
- init_define_CODE_COPY_OPIONS();
1248
- init_define_CODE_DEMO_OPTIONS();
1249
- init_define_COMMENT_OPTIONS();
1250
- init_define_MERMAID_OPTIONS();
1251
- init_define_PAGINATION_LOCALES();
1252
- init_define_PHOTO_SWIPE_LOCALES();
1253
- init_define_PHOTO_SWIPE_OPTIONS();
1254
- init_define_READING_TIME_LOCALES();
1255
- init_define_REVEAL_CONFIG();
1256
- init_define_TOC_LOCALES();
1257
- init_define_WALINE_LOCALES();
1258
- init_define_EXTERNAL_LINK_ICON_LOCALES();
1259
- var generateIndexfromHash = (content, total) => {
1260
- let hash = 1;
1261
- for (let i = 0; i < content.length; i++) {
1262
- hash += content.charCodeAt(i);
1263
- hash += hash << 10;
1264
- hash ^= hash >> 6;
1265
- }
1266
- hash += hash << 3;
1267
- hash ^= hash >> 11;
1268
- return hash % total;
1269
- };
1270
-
1271
- // ../shared/lib/client/utils/path.js
1272
- init_define_ARTICLE_INFO_LOCALES();
1273
- init_define_BACK_TO_TOP_LOCALES();
1274
- init_define_CODE_COPY_LOCALES();
1275
- init_define_CODE_COPY_OPIONS();
1276
- init_define_CODE_DEMO_OPTIONS();
1277
- init_define_COMMENT_OPTIONS();
1278
- init_define_MERMAID_OPTIONS();
1279
- init_define_PAGINATION_LOCALES();
1280
- init_define_PHOTO_SWIPE_LOCALES();
1281
- init_define_PHOTO_SWIPE_OPTIONS();
1282
- init_define_READING_TIME_LOCALES();
1283
- init_define_REVEAL_CONFIG();
1284
- init_define_TOC_LOCALES();
1285
- init_define_WALINE_LOCALES();
1286
- init_define_EXTERNAL_LINK_ICON_LOCALES();
1287
- var HASH_REGEXP = /#.*$/u;
1288
- var getHash = (path) => {
1289
- const match = HASH_REGEXP.exec(path);
1290
- if (match)
1291
- return match[0];
1292
- return "";
1293
- };
1294
- var normalizePath = (path) => decodeURI(path).replace(HASH_REGEXP, "").replace(/(index)?\.(md|html)$/, "");
1295
- var isActiveLink = (route, link) => {
1296
- if (link === void 0)
1297
- return false;
1298
- const currentPath = normalizePath(route.path);
1299
- const targetPath = normalizePath(link);
1300
- const linkHash = getHash(link);
1301
- if (linkHash)
1302
- return linkHash === route.hash && (!targetPath || currentPath === targetPath);
1303
- return currentPath === targetPath;
1304
- };
1305
-
1306
- // ../shared/lib/client/utils/message.js
1307
- init_define_ARTICLE_INFO_LOCALES();
1308
- init_define_BACK_TO_TOP_LOCALES();
1309
- init_define_CODE_COPY_LOCALES();
1310
- init_define_CODE_COPY_OPIONS();
1311
- init_define_CODE_DEMO_OPTIONS();
1312
- init_define_COMMENT_OPTIONS();
1313
- init_define_MERMAID_OPTIONS();
1314
- init_define_PAGINATION_LOCALES();
1315
- init_define_PHOTO_SWIPE_LOCALES();
1316
- init_define_PHOTO_SWIPE_OPTIONS();
1317
- init_define_READING_TIME_LOCALES();
1318
- init_define_REVEAL_CONFIG();
1319
- init_define_TOC_LOCALES();
1320
- init_define_WALINE_LOCALES();
1321
- init_define_EXTERNAL_LINK_ICON_LOCALES();
1322
- import "C:/projects/vuepress-theme-hope/packages/shared/lib/client/styles/message.scss";
1323
- var Message = class {
1324
- constructor() {
1325
- const containerId = "message-container";
1326
- const containerElement = document.getElementById(containerId);
1327
- if (containerElement)
1328
- this.containerElement = containerElement;
1329
- else {
1330
- this.containerElement = document.createElement("div");
1331
- this.containerElement.id = containerId;
1332
- document.body.appendChild(this.containerElement);
1333
- }
1334
- }
1335
- pop(html, duration = 2e3) {
1336
- const messageElement = document.createElement("div");
1337
- messageElement.className = "message move-in";
1338
- messageElement.innerHTML = html;
1339
- this.containerElement.appendChild(messageElement);
1340
- if (duration > 0)
1341
- setTimeout(() => {
1342
- this.close(messageElement);
1343
- }, duration);
1344
- }
1345
- close(messageElement) {
1346
- messageElement.className = messageElement.className.replace("move-in", "");
1347
- messageElement.className += "move-out";
1348
- messageElement.addEventListener("animationend", () => {
1349
- messageElement.remove();
1350
- });
1351
- }
1352
- };
1353
-
1354
- // ../shared/lib/client/utils/random.js
1355
- init_define_ARTICLE_INFO_LOCALES();
1356
- init_define_BACK_TO_TOP_LOCALES();
1357
- init_define_CODE_COPY_LOCALES();
1358
- init_define_CODE_COPY_OPIONS();
1359
- init_define_CODE_DEMO_OPTIONS();
1360
- init_define_COMMENT_OPTIONS();
1361
- init_define_MERMAID_OPTIONS();
1362
- init_define_PAGINATION_LOCALES();
1363
- init_define_PHOTO_SWIPE_LOCALES();
1364
- init_define_PHOTO_SWIPE_OPTIONS();
1365
- init_define_READING_TIME_LOCALES();
1366
- init_define_REVEAL_CONFIG();
1367
- init_define_TOC_LOCALES();
1368
- init_define_WALINE_LOCALES();
1369
- init_define_EXTERNAL_LINK_ICON_LOCALES();
1370
- var randomSortArray = (array, intensity = 2) => {
1371
- const { length } = array;
1372
- while (intensity-- > 0)
1373
- array.forEach((item, index) => {
1374
- const randomIndex = Math.floor(Math.random() * length);
1375
- array[index] = array[randomIndex];
1376
- array[randomIndex] = item;
1377
- });
1378
- return array;
1379
- };
1380
-
1381
- // ../shared/lib/client/utils/resolveRouteWithRedirect.js
1382
- init_define_ARTICLE_INFO_LOCALES();
1383
- init_define_BACK_TO_TOP_LOCALES();
1384
- init_define_CODE_COPY_LOCALES();
1385
- init_define_CODE_COPY_OPIONS();
1386
- init_define_CODE_DEMO_OPTIONS();
1387
- init_define_COMMENT_OPTIONS();
1388
- init_define_MERMAID_OPTIONS();
1389
- init_define_PAGINATION_LOCALES();
1390
- init_define_PHOTO_SWIPE_LOCALES();
1391
- init_define_PHOTO_SWIPE_OPTIONS();
1392
- init_define_READING_TIME_LOCALES();
1393
- init_define_REVEAL_CONFIG();
1394
- init_define_TOC_LOCALES();
1395
- init_define_WALINE_LOCALES();
1396
- init_define_EXTERNAL_LINK_ICON_LOCALES();
1397
- import { isFunction, isString } from "@vuepress/shared";
1398
- var resolveRouteWithRedirect = (router, ...args) => {
1399
- const route = router.resolve(...args);
1400
- const lastMatched = route.matched[route.matched.length - 1];
1401
- if (!(lastMatched === null || lastMatched === void 0 ? void 0 : lastMatched.redirect))
1402
- return route;
1403
- const { redirect } = lastMatched;
1404
- const resolvedRedirect = isFunction(redirect) ? redirect(route) : redirect;
1405
- const resolvedRedirectObj = isString(resolvedRedirect) ? { path: resolvedRedirect } : resolvedRedirect;
1406
- return resolveRouteWithRedirect(router, __spreadValues({
1407
- hash: route.hash,
1408
- query: route.query,
1409
- params: route.params
1410
- }, resolvedRedirectObj));
1411
- };
1412
- var export_capitalize = import_shared2.capitalize;
1413
- var export_compareDate = import_shared2.compareDate;
1414
- var export_getAuthor = import_shared2.getAuthor;
1415
- var export_getCategory = import_shared2.getCategory;
1416
- var export_getDate = import_shared2.getDate;
1417
- var export_getTag = import_shared2.getTag;
1418
- var export_isAbsoluteUrl = import_shared2.isAbsoluteUrl;
1419
- var export_isUrl = import_shared2.isUrl;
1420
- var export_strictCapitalize = import_shared2.strictCapitalize;
1421
- var export_timeTransformer = import_shared2.timeTransformer;
1422
- export {
1423
- IconBase,
1424
- Message,
1425
- export_capitalize as capitalize,
1426
- clickOutSideDirective,
1427
- export_compareDate as compareDate,
1428
- generateIndexfromHash,
1429
- export_getAuthor as getAuthor,
1430
- export_getCategory as getCategory,
1431
- export_getDate as getDate,
1432
- getHash,
1433
- export_getTag as getTag,
1434
- export_isAbsoluteUrl as isAbsoluteUrl,
1435
- isActiveLink,
1436
- export_isUrl as isUrl,
1437
- normalizePath,
1438
- randomSortArray,
1439
- resolveRouteWithRedirect,
1440
- export_strictCapitalize as strictCapitalize,
1441
- export_timeTransformer as timeTransformer,
1442
- useLocaleConfig,
1443
- usePageTitle
1444
- };
1445
- /*! *****************************************************************************
1446
- Copyright (c) Microsoft Corporation.
1447
-
1448
- Permission to use, copy, modify, and/or distribute this software for any
1449
- purpose with or without fee is hereby granted.
1450
-
1451
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
1452
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
1453
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
1454
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
1455
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
1456
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
1457
- PERFORMANCE OF THIS SOFTWARE.
1458
- ***************************************************************************** */
1459
- //# sourceMappingURL=@mr-hope_vuepress-shared_lib_client.js.map