@hina114514/chaite 1.9.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (427) hide show
  1. package/README.md +143 -0
  2. package/dist/__dirname-xAmdQ8wE.mjs +13 -0
  3. package/dist/__dirname.d.ts +4 -0
  4. package/dist/__dirname.mjs +4 -0
  5. package/dist/adapters-BeZFg37c.mjs +30 -0
  6. package/dist/chunks/@anthropic-ai/sdk/index.mjs-BBdoshoG.mjs +44887 -0
  7. package/dist/chunks/@google/genai/index.mjs-CJMm4uh0.mjs +25136 -0
  8. package/dist/chunks/@karinjs/node-schedule/index.mjs-UoPXNUgp.mjs +8403 -0
  9. package/dist/chunks/@xmldom/xmldom/index.mjs-BARr5-gb.mjs +4280 -0
  10. package/dist/chunks/accepts/index.mjs-BpfWQu4-.mjs +8009 -0
  11. package/dist/chunks/agent-base/index.mjs-BZ87hIEB.mjs +199 -0
  12. package/dist/chunks/array-flatten/index.mjs-CFicqOhD.mjs +54 -0
  13. package/dist/chunks/bluebird/index.mjs-D4zFjek8.mjs +4094 -0
  14. package/dist/chunks/body-parser/index.mjs-BrUY71SQ.mjs +13756 -0
  15. package/dist/chunks/chokidar/index.mjs-BvSuth5p.mjs +1537 -0
  16. package/dist/chunks/content-disposition/index.mjs-DqMQ6Fbz.mjs +307 -0
  17. package/dist/chunks/cookie/index.mjs-CTmQWCqd.mjs +243 -0
  18. package/dist/chunks/cookie-signature/index.mjs-CIA1F6JJ.mjs +46 -0
  19. package/dist/chunks/core-util-is/index.mjs-C0h_2dGX.mjs +69 -0
  20. package/dist/chunks/cors/index.mjs-DGt6p49t.mjs +311 -0
  21. package/dist/chunks/data-uri-to-buffer/index.mjs-CLj4bast.mjs +44 -0
  22. package/dist/chunks/debug/index.mjs-BgKBSuIO.mjs +703 -0
  23. package/dist/chunks/dingbat-to-unicode/index.mjs-DjR5pQCM.mjs +7481 -0
  24. package/dist/chunks/encodeurl/index.mjs-CvPRUh2S.mjs +105 -0
  25. package/dist/chunks/escape-html/index.mjs-CeA_Z7EO.mjs +65 -0
  26. package/dist/chunks/etag/index.mjs-D58ziXwz.mjs +80 -0
  27. package/dist/chunks/express/index.mjs-CHnhA_pr.mjs +6787 -0
  28. package/dist/chunks/fetch-blob/index.mjs-Pm1zUh3g.mjs +3803 -0
  29. package/dist/chunks/formdata-node/index.mjs-B2Ji6hC0.mjs +92 -0
  30. package/dist/chunks/formdata-polyfill/index.mjs-BTkafjCT.mjs +87 -0
  31. package/dist/chunks/https-proxy-agent/index.mjs-DTZuZn-J.mjs +239 -0
  32. package/dist/chunks/immediate/index.mjs-CkWjI_b-.mjs +59 -0
  33. package/dist/chunks/isarray/index.mjs-DaT02uUW.mjs +12 -0
  34. package/dist/chunks/jszip/index.mjs-CvfsTniy.mjs +8599 -0
  35. package/dist/chunks/lop/index.mjs-BWbOMJZv.mjs +3540 -0
  36. package/dist/chunks/mammoth/index.mjs-C9xwBIgf.mjs +5081 -0
  37. package/dist/chunks/node-fetch/index.mjs-Cdihbb0Q.mjs +1446 -0
  38. package/dist/chunks/openai/index.mjs-M-HPLtaS.mjs +6691 -0
  39. package/dist/dist-C0tgywA-.mjs +8 -0
  40. package/dist/fileFromPath-CJ_N7wA9.mjs +6 -0
  41. package/dist/index.d.ts +1579 -0
  42. package/dist/index.mjs +30 -0
  43. package/dist/multipart-parser-CCl_4A7w.mjs +6 -0
  44. package/dist/rolldown-runtime-DVriDoez.mjs +43 -0
  45. package/dist/src-BjDIhdKO.mjs +5179 -0
  46. package/dist/src-DmcKtGy2.mjs +7 -0
  47. package/dist/types-6jzst6Q4.mjs +30 -0
  48. package/frontend/build/assets/ChannelFormModal-1GO2eD4m.css +1 -0
  49. package/frontend/build/assets/ChannelFormModal-B6e7ZIO6.js +5 -0
  50. package/frontend/build/assets/ChannelFormModal-CV7fs6-7.js +5 -0
  51. package/frontend/build/assets/ChannelFormModal-DBZyhZDI.css +1 -0
  52. package/frontend/build/assets/ChannelFormModal-DL0qkZX-.js +5 -0
  53. package/frontend/build/assets/ChannelFormModal-DuAAlw-8.js +5 -0
  54. package/frontend/build/assets/ChannelFormModal-Hp6Y4QBc.js +5 -0
  55. package/frontend/build/assets/ChannelFormModal-xPhm1bZd.js +5 -0
  56. package/frontend/build/assets/Checkbox-BvK-NJJX.js +105 -0
  57. package/frontend/build/assets/Checkbox-CNMr2-eQ.js +105 -0
  58. package/frontend/build/assets/Checkbox-DOJuZG8N.js +105 -0
  59. package/frontend/build/assets/Checkbox-DWREbqxa.js +105 -0
  60. package/frontend/build/assets/Checkbox-HPhUtTKu.js +105 -0
  61. package/frontend/build/assets/Checkbox-gNUlkipW.js +105 -0
  62. package/frontend/build/assets/CollapseItem-7YFuTj31.js +41 -0
  63. package/frontend/build/assets/CollapseItem-BVnC3pah.js +41 -0
  64. package/frontend/build/assets/CollapseItem-Bk7f5wCb.js +41 -0
  65. package/frontend/build/assets/CollapseItem-Calq76Jj.js +41 -0
  66. package/frontend/build/assets/CollapseItem-DOnuDO5j.js +41 -0
  67. package/frontend/build/assets/CollapseItem-fWJBGjAw.js +41 -0
  68. package/frontend/build/assets/ConversationDetailDrawer-BYG2DS4S.js +1 -0
  69. package/frontend/build/assets/ConversationDetailDrawer-BYZeaeoF.js +1 -0
  70. package/frontend/build/assets/ConversationDetailDrawer-gVn82fSx.js +1 -0
  71. package/frontend/build/assets/ConversationDetailDrawer-jtT8U08c.js +1 -0
  72. package/frontend/build/assets/ConversationDetailDrawer-m-rNIWZj.js +1 -0
  73. package/frontend/build/assets/ConversationDetailDrawer-xbhamnIs.js +1 -0
  74. package/frontend/build/assets/ConversationDetailDrawer.vue_vue_type_script_setup_true_lang-BRZBnJxg.js +97 -0
  75. package/frontend/build/assets/ConversationDetailDrawer.vue_vue_type_script_setup_true_lang-BnR3ffRY.js +97 -0
  76. package/frontend/build/assets/ConversationDetailDrawer.vue_vue_type_script_setup_true_lang-C0KA87GQ.js +97 -0
  77. package/frontend/build/assets/ConversationDetailDrawer.vue_vue_type_script_setup_true_lang-CnLM8_TJ.js +97 -0
  78. package/frontend/build/assets/ConversationDetailDrawer.vue_vue_type_script_setup_true_lang-CzZvhLM_.js +97 -0
  79. package/frontend/build/assets/ConversationDetailDrawer.vue_vue_type_script_setup_true_lang-U0BsqrL8.js +97 -0
  80. package/frontend/build/assets/DataTable-4ViTZyB6.js +457 -0
  81. package/frontend/build/assets/DataTable-B8zZmlji.js +457 -0
  82. package/frontend/build/assets/DataTable-BNjopWG3.js +457 -0
  83. package/frontend/build/assets/DataTable-CZyItGh5.js +457 -0
  84. package/frontend/build/assets/DataTable-DJj26Pzn.js +454 -0
  85. package/frontend/build/assets/DataTable-DoEbD9LL.js +457 -0
  86. package/frontend/build/assets/DynamicTags-BccLo-fc.js +1 -0
  87. package/frontend/build/assets/DynamicTags-Bmg43ONH.js +1 -0
  88. package/frontend/build/assets/DynamicTags-CyLbZ9I2.js +1 -0
  89. package/frontend/build/assets/DynamicTags-DNTdDdGA.js +1 -0
  90. package/frontend/build/assets/DynamicTags-VCyQf17w.js +1 -0
  91. package/frontend/build/assets/DynamicTags-rIgGdrL5.js +1 -0
  92. package/frontend/build/assets/Ellipsis-BST77ylS.js +187 -0
  93. package/frontend/build/assets/Ellipsis-BTz09kpN.js +187 -0
  94. package/frontend/build/assets/Ellipsis-BbsLqJtK.js +187 -0
  95. package/frontend/build/assets/Ellipsis-BdMplm4D.js +187 -0
  96. package/frontend/build/assets/Ellipsis-C3lHtvjF.js +187 -0
  97. package/frontend/build/assets/Ellipsis-CEbBdn2n.js +187 -0
  98. package/frontend/build/assets/ErrorTip.vue_vue_type_script_setup_true_lang-B5o0iz7y.js +1 -0
  99. package/frontend/build/assets/ErrorTip.vue_vue_type_script_setup_true_lang-BTf_XpHq.js +1 -0
  100. package/frontend/build/assets/ErrorTip.vue_vue_type_script_setup_true_lang-DFWrNfDB.js +1 -0
  101. package/frontend/build/assets/ErrorTip.vue_vue_type_script_setup_true_lang-DTFtcs8p.js +1 -0
  102. package/frontend/build/assets/ErrorTip.vue_vue_type_script_setup_true_lang-QKywH0iL.js +1 -0
  103. package/frontend/build/assets/ErrorTip.vue_vue_type_script_setup_true_lang-q7wMY1La.js +1 -0
  104. package/frontend/build/assets/FormItem-BFYeYoTE.js +110 -0
  105. package/frontend/build/assets/FormItem-B_V_gknG.js +110 -0
  106. package/frontend/build/assets/FormItem-C2ziP3u7.js +110 -0
  107. package/frontend/build/assets/FormItem-CDsgx_ab.js +110 -0
  108. package/frontend/build/assets/FormItem-D5nKwNGe.js +110 -0
  109. package/frontend/build/assets/FormItem-DcKuwtDH.js +110 -0
  110. package/frontend/build/assets/FormItemGridItem-BiRqZE_B.js +1 -0
  111. package/frontend/build/assets/FormItemGridItem-CEbJWTJd.js +1 -0
  112. package/frontend/build/assets/FormItemGridItem-DaKl8_2L.js +1 -0
  113. package/frontend/build/assets/FormItemGridItem-DkQ8mrOt.js +1 -0
  114. package/frontend/build/assets/FormItemGridItem-YEC3z4HO.js +1 -0
  115. package/frontend/build/assets/FormItemGridItem-cjYQS3d8.js +1 -0
  116. package/frontend/build/assets/Grid-0zzIexHr.js +1 -0
  117. package/frontend/build/assets/Grid-BNlPkf-g.js +1 -0
  118. package/frontend/build/assets/Grid-CmLEm3vL.js +1 -0
  119. package/frontend/build/assets/Grid-CqcXqV8U.js +1 -0
  120. package/frontend/build/assets/Grid-DmeNHOJx.js +1 -0
  121. package/frontend/build/assets/Grid-WK2vuhLP.js +1 -0
  122. package/frontend/build/assets/Image-CMvlvuJp.js +132 -0
  123. package/frontend/build/assets/Image-CbdTV78X.js +132 -0
  124. package/frontend/build/assets/Image-Cf2fbKtf.js +132 -0
  125. package/frontend/build/assets/Image-Crg2QYhk.js +132 -0
  126. package/frontend/build/assets/Image-D53Xywez.js +132 -0
  127. package/frontend/build/assets/Image-tNy1v7mL.js +132 -0
  128. package/frontend/build/assets/InputNumber-BjfLyebn.js +13 -0
  129. package/frontend/build/assets/InputNumber-BtSrvYnH.js +13 -0
  130. package/frontend/build/assets/InputNumber-BxeR-3jl.js +13 -0
  131. package/frontend/build/assets/InputNumber-C7hKPk7P.js +13 -0
  132. package/frontend/build/assets/InputNumber-CbRGvPDs.js +13 -0
  133. package/frontend/build/assets/InputNumber-qiteD5Uu.js +13 -0
  134. package/frontend/build/assets/MessageContentCard-333YPcPx.js +1 -0
  135. package/frontend/build/assets/MessageContentCard-B0-LvWuB.js +1 -0
  136. package/frontend/build/assets/MessageContentCard-C2uRLdgO.js +1 -0
  137. package/frontend/build/assets/MessageContentCard-CjL6sc3W.js +1 -0
  138. package/frontend/build/assets/MessageContentCard-D3wLdleV.css +1 -0
  139. package/frontend/build/assets/MessageContentCard-DQ6w5avD.css +1 -0
  140. package/frontend/build/assets/MessageContentCard-DRoS4fsn.js +1 -0
  141. package/frontend/build/assets/MessageContentCard-DRsw0lK-.js +1 -0
  142. package/frontend/build/assets/Popconfirm-DsC1UchR.js +16 -0
  143. package/frontend/build/assets/Popconfirm-wmBfNL4Y.js +16 -0
  144. package/frontend/build/assets/PresetFormModal-B87TaT8J.js +1 -0
  145. package/frontend/build/assets/PresetFormModal-BpleAL8Z.js +1 -0
  146. package/frontend/build/assets/PresetFormModal-BrNCyqXq.css +1 -0
  147. package/frontend/build/assets/PresetFormModal-D6bXLlH2.css +1 -0
  148. package/frontend/build/assets/PresetFormModal-D8RNddGW.css +1 -0
  149. package/frontend/build/assets/PresetFormModal-DZlJ1Vcp.css +1 -0
  150. package/frontend/build/assets/PresetFormModal-Dah-5WHj.js +1 -0
  151. package/frontend/build/assets/PresetFormModal-DepNynU1.js +1 -0
  152. package/frontend/build/assets/PresetFormModal-Diebn4cS.js +1 -0
  153. package/frontend/build/assets/PresetFormModal-Dol9eToM.js +1 -0
  154. package/frontend/build/assets/PresetFormModal-ah6zWfbB.css +1 -0
  155. package/frontend/build/assets/ProcessorFormModal-BLiL3tFS.js +1 -0
  156. package/frontend/build/assets/ProcessorFormModal-C4rqrypu.js +1 -0
  157. package/frontend/build/assets/ProcessorFormModal-D9X5zzKG.js +1 -0
  158. package/frontend/build/assets/ProcessorFormModal-Ik7zSGUU.js +1 -0
  159. package/frontend/build/assets/ProcessorFormModal-Q5ARXwwU.js +1 -0
  160. package/frontend/build/assets/ProcessorFormModal-vpoqf_VP.js +1 -0
  161. package/frontend/build/assets/ProcessorFormModal.vue_vue_type_script_setup_true_lang-BK03vxpt.js +42 -0
  162. package/frontend/build/assets/ProcessorFormModal.vue_vue_type_script_setup_true_lang-D8NYnQ0b.js +42 -0
  163. package/frontend/build/assets/ProcessorFormModal.vue_vue_type_script_setup_true_lang-DKnpVb21.js +42 -0
  164. package/frontend/build/assets/ProcessorFormModal.vue_vue_type_script_setup_true_lang-DQayqXcu.js +42 -0
  165. package/frontend/build/assets/ProcessorFormModal.vue_vue_type_script_setup_true_lang-EUAgxSFF.js +42 -0
  166. package/frontend/build/assets/ProcessorFormModal.vue_vue_type_script_setup_true_lang-HZQFntw0.js +42 -0
  167. package/frontend/build/assets/Spin-BP0yPWNS.js +43 -0
  168. package/frontend/build/assets/Spin-C2G3wcnB.js +43 -0
  169. package/frontend/build/assets/Spin-C7sqRNqw.js +43 -0
  170. package/frontend/build/assets/Spin-Cy3cVx8W.js +43 -0
  171. package/frontend/build/assets/Spin-UrFjnOlY.js +43 -0
  172. package/frontend/build/assets/Spin-yYcNW-yl.js +43 -0
  173. package/frontend/build/assets/ToolFormModal-CVZFxPxz.js +1 -0
  174. package/frontend/build/assets/ToolFormModal-CgHH9Bbh.js +1 -0
  175. package/frontend/build/assets/ToolFormModal-D7NFHjzM.js +1 -0
  176. package/frontend/build/assets/ToolFormModal-DpVk5ooz.js +1 -0
  177. package/frontend/build/assets/ToolFormModal-DsS34Jdc.js +1 -0
  178. package/frontend/build/assets/ToolFormModal-hx-a_w1d.js +1 -0
  179. package/frontend/build/assets/ToolFormModal.vue_vue_type_script_setup_true_lang-Biq3KQMr.js +51 -0
  180. package/frontend/build/assets/ToolFormModal.vue_vue_type_script_setup_true_lang-DAbXNKv-.js +51 -0
  181. package/frontend/build/assets/ToolFormModal.vue_vue_type_script_setup_true_lang-DGdJ6txC.js +51 -0
  182. package/frontend/build/assets/ToolFormModal.vue_vue_type_script_setup_true_lang-QIhGuSJV.js +51 -0
  183. package/frontend/build/assets/ToolFormModal.vue_vue_type_script_setup_true_lang-sVSPLzuy.js +51 -0
  184. package/frontend/build/assets/ToolFormModal.vue_vue_type_script_setup_true_lang-yH3HeP81.js +51 -0
  185. package/frontend/build/assets/ToolGroupFormModal-2uJQDkUz.js +1 -0
  186. package/frontend/build/assets/ToolGroupFormModal-B-OxsC_e.js +1 -0
  187. package/frontend/build/assets/ToolGroupFormModal-CXbSBPSI.js +1 -0
  188. package/frontend/build/assets/ToolGroupFormModal-CeF3hW-I.js +1 -0
  189. package/frontend/build/assets/ToolGroupFormModal-DfEZcYi7.js +1 -0
  190. package/frontend/build/assets/ToolGroupFormModal-DvGS2rQd.js +1 -0
  191. package/frontend/build/assets/ToolGroupFormModal.vue_vue_type_script_setup_true_lang-AsEJ8jCe.js +146 -0
  192. package/frontend/build/assets/ToolGroupFormModal.vue_vue_type_script_setup_true_lang-B5V2XNND.js +146 -0
  193. package/frontend/build/assets/ToolGroupFormModal.vue_vue_type_script_setup_true_lang-BYmI5807.js +146 -0
  194. package/frontend/build/assets/ToolGroupFormModal.vue_vue_type_script_setup_true_lang-C32gc6LQ.js +146 -0
  195. package/frontend/build/assets/ToolGroupFormModal.vue_vue_type_script_setup_true_lang-CRwhppLH.js +146 -0
  196. package/frontend/build/assets/ToolGroupFormModal.vue_vue_type_script_setup_true_lang-Cz49lSiC.js +146 -0
  197. package/frontend/build/assets/TriggerFormModal-B9hL6DT2.js +1 -0
  198. package/frontend/build/assets/TriggerFormModal-D6tlqZPa.js +1 -0
  199. package/frontend/build/assets/TriggerFormModal-DngyRFuZ.js +1 -0
  200. package/frontend/build/assets/TriggerFormModal-jUjJ3cpY.js +1 -0
  201. package/frontend/build/assets/TriggerFormModal-zyHfq9gk.js +1 -0
  202. package/frontend/build/assets/TriggerFormModal.vue_vue_type_script_setup_true_lang-65eiY_Fl.js +15 -0
  203. package/frontend/build/assets/TriggerFormModal.vue_vue_type_script_setup_true_lang-BDVxuECo.js +15 -0
  204. package/frontend/build/assets/TriggerFormModal.vue_vue_type_script_setup_true_lang-BGdRzXOm.js +15 -0
  205. package/frontend/build/assets/TriggerFormModal.vue_vue_type_script_setup_true_lang-Bq6N6Y6d.js +15 -0
  206. package/frontend/build/assets/TriggerFormModal.vue_vue_type_script_setup_true_lang-DPcB1irn.js +15 -0
  207. package/frontend/build/assets/add-one-BaGYp8TD.js +1 -0
  208. package/frontend/build/assets/add-one-CTqCiftQ.js +1 -0
  209. package/frontend/build/assets/add-one-DBohvXa7.js +1 -0
  210. package/frontend/build/assets/add-one-DQqaMb3g.js +1 -0
  211. package/frontend/build/assets/add-one-DT3qGnwW.js +1 -0
  212. package/frontend/build/assets/add-one-DenQ1X6U.js +1 -0
  213. package/frontend/build/assets/channels-5BB_92I-.js +1 -0
  214. package/frontend/build/assets/channels-C2i9C4LP.js +1 -0
  215. package/frontend/build/assets/channels-C53UiHV8.js +1 -0
  216. package/frontend/build/assets/channels-Cm8UM1Z7.js +1 -0
  217. package/frontend/build/assets/channels-DdlEEU3s.js +1 -0
  218. package/frontend/build/assets/channels-DzKbsjiA.js +1 -0
  219. package/frontend/build/assets/cloudy-BnletBC6.js +1 -0
  220. package/frontend/build/assets/cloudy-C02z4bvP.js +1 -0
  221. package/frontend/build/assets/cloudy-DCLcLr7j.js +1 -0
  222. package/frontend/build/assets/cloudy-DEHW5vHA.js +1 -0
  223. package/frontend/build/assets/cloudy-MrNAszHw.js +1 -0
  224. package/frontend/build/assets/cloudy-zp1Y9L1v.js +1 -0
  225. package/frontend/build/assets/default-resource.png +0 -0
  226. package/frontend/build/assets/download-C2161hUv.js +1 -0
  227. package/frontend/build/assets/error-403-VPEqmg7m.svg +1 -0
  228. package/frontend/build/assets/error-404-DLMSXL2R.svg +1 -0
  229. package/frontend/build/assets/error-500-C1R4JvdT.svg +1 -0
  230. package/frontend/build/assets/gemini-full-DjWArg1A.png +0 -0
  231. package/frontend/build/assets/headers-CYAAtr6C.js +16 -0
  232. package/frontend/build/assets/headers-CiEBSHa2.js +16 -0
  233. package/frontend/build/assets/headers-D9Kcnpmr.js +16 -0
  234. package/frontend/build/assets/headers-PaTXxtPR.js +16 -0
  235. package/frontend/build/assets/headers-UoeXy2eZ.js +16 -0
  236. package/frontend/build/assets/headers-VVIzblQ_.js +16 -0
  237. package/frontend/build/assets/index--eQYnbum.js +1 -0
  238. package/frontend/build/assets/index-03UGSOxl.js +3022 -0
  239. package/frontend/build/assets/index-2VSakRqN.js +1 -0
  240. package/frontend/build/assets/index-2WhMzyiQ.js +1 -0
  241. package/frontend/build/assets/index-2_Tj01eS.js +1 -0
  242. package/frontend/build/assets/index-2ds3nwBz.js +1 -0
  243. package/frontend/build/assets/index-5HLgPZyA.js +1 -0
  244. package/frontend/build/assets/index-A-Nxva_P.js +1 -0
  245. package/frontend/build/assets/index-AOaD5c69.css +1 -0
  246. package/frontend/build/assets/index-AxmlVWLb.js +88 -0
  247. package/frontend/build/assets/index-B1vc1sYC.js +88 -0
  248. package/frontend/build/assets/index-B2xcn1Zp.js +88 -0
  249. package/frontend/build/assets/index-B3vwplQQ.js +1 -0
  250. package/frontend/build/assets/index-B3xgRJTP.js +1 -0
  251. package/frontend/build/assets/index-B5DOGUIX.js +1 -0
  252. package/frontend/build/assets/index-B6OH0R7T.js +1 -0
  253. package/frontend/build/assets/index-B84-YkMr.js +1 -0
  254. package/frontend/build/assets/index-BEeRPoRP.css +1 -0
  255. package/frontend/build/assets/index-BG6BPhzo.js +1 -0
  256. package/frontend/build/assets/index-BITQakTn.js +1 -0
  257. package/frontend/build/assets/index-BMLd3diZ.js +1 -0
  258. package/frontend/build/assets/index-BVn0o2ft.js +1 -0
  259. package/frontend/build/assets/index-BWa7FUv_.css +1 -0
  260. package/frontend/build/assets/index-BX8jlXqW.js +1 -0
  261. package/frontend/build/assets/index-BfkNMt-Z.js +4 -0
  262. package/frontend/build/assets/index-BiTjEGM3.js +1 -0
  263. package/frontend/build/assets/index-BjIbFF1J.css +1 -0
  264. package/frontend/build/assets/index-BjlhqqjK.js +1 -0
  265. package/frontend/build/assets/index-BnFsJO-x.css +1 -0
  266. package/frontend/build/assets/index-BnLYNBvb.js +34 -0
  267. package/frontend/build/assets/index-BpyNu5uz.css +1 -0
  268. package/frontend/build/assets/index-Bq8g4Sjx.js +34 -0
  269. package/frontend/build/assets/index-BqnNVMWz.js +1 -0
  270. package/frontend/build/assets/index-BqvhG25P.js +1 -0
  271. package/frontend/build/assets/index-BxVOuJCR.js +88 -0
  272. package/frontend/build/assets/index-C0cu-RWI.js +1 -0
  273. package/frontend/build/assets/index-C3PU0-pz.js +1 -0
  274. package/frontend/build/assets/index-C6PGuM0W.js +1 -0
  275. package/frontend/build/assets/index-C8kC4vgj.js +73 -0
  276. package/frontend/build/assets/index-C929_ci3.js +1 -0
  277. package/frontend/build/assets/index-CAvXXNvC.js +4 -0
  278. package/frontend/build/assets/index-CH4h1wcf.js +1 -0
  279. package/frontend/build/assets/index-CIJ6rjR4.js +1 -0
  280. package/frontend/build/assets/index-CIr65QIJ.js +88 -0
  281. package/frontend/build/assets/index-CJIWqxBN.js +3022 -0
  282. package/frontend/build/assets/index-CK1nPYvM.js +1 -0
  283. package/frontend/build/assets/index-CKrf6ZAU.js +1 -0
  284. package/frontend/build/assets/index-CLfO7Gf6.js +1 -0
  285. package/frontend/build/assets/index-C_X4kJPv.js +1 -0
  286. package/frontend/build/assets/index-C_Y4E6cV.js +1 -0
  287. package/frontend/build/assets/index-Cb7i0EbW.js +1 -0
  288. package/frontend/build/assets/index-CbWw_OnJ.js +1 -0
  289. package/frontend/build/assets/index-CbeMIVMe.js +1 -0
  290. package/frontend/build/assets/index-CdNjPHZ4.css +1 -0
  291. package/frontend/build/assets/index-CeFBXiHy.js +34 -0
  292. package/frontend/build/assets/index-CfqNGf3J.js +1 -0
  293. package/frontend/build/assets/index-Cgw3BtX5.js +1 -0
  294. package/frontend/build/assets/index-Ci64noNy.js +4 -0
  295. package/frontend/build/assets/index-CpE2LZf6.js +88 -0
  296. package/frontend/build/assets/index-CqKFcCqq.js +1 -0
  297. package/frontend/build/assets/index-CrbhbDn6.js +1 -0
  298. package/frontend/build/assets/index-Csi2jHp6.js +1 -0
  299. package/frontend/build/assets/index-CuRn3Zj6.js +1 -0
  300. package/frontend/build/assets/index-Cvb6isPu.js +34 -0
  301. package/frontend/build/assets/index-D1keqYcn.js +1 -0
  302. package/frontend/build/assets/index-D4yD21Ii.js +1 -0
  303. package/frontend/build/assets/index-D60uSbJs.css +1 -0
  304. package/frontend/build/assets/index-D6ESmTyE.js +51 -0
  305. package/frontend/build/assets/index-D81JopND.js +1 -0
  306. package/frontend/build/assets/index-D8Ea2ZYj.js +1 -0
  307. package/frontend/build/assets/index-D8GATqgc.js +88 -0
  308. package/frontend/build/assets/index-DAP5yTaX.js +1 -0
  309. package/frontend/build/assets/index-DBBLpo8h.js +73 -0
  310. package/frontend/build/assets/index-DBaGV7UL.js +1 -0
  311. package/frontend/build/assets/index-DEVf6CSD.css +1 -0
  312. package/frontend/build/assets/index-DG-8CbiW.css +1 -0
  313. package/frontend/build/assets/index-DGBf1FIP.js +1 -0
  314. package/frontend/build/assets/index-DGJCAKZq.js +1 -0
  315. package/frontend/build/assets/index-DGyDjezP.js +1 -0
  316. package/frontend/build/assets/index-DJdQ0nV5.js +3022 -0
  317. package/frontend/build/assets/index-DK0t9ttf.js +51 -0
  318. package/frontend/build/assets/index-DNH9PMk-.js +1 -0
  319. package/frontend/build/assets/index-DOSf5RcO.css +1 -0
  320. package/frontend/build/assets/index-DOpBnx1_.js +3 -0
  321. package/frontend/build/assets/index-DOpZxAwZ.js +1 -0
  322. package/frontend/build/assets/index-DPHVwNRA.js +1 -0
  323. package/frontend/build/assets/index-DSzihJo9.js +1 -0
  324. package/frontend/build/assets/index-DVJZAGXg.js +1 -0
  325. package/frontend/build/assets/index-DXr1ddHm.js +3 -0
  326. package/frontend/build/assets/index-DamztouA.js +1 -0
  327. package/frontend/build/assets/index-Dd2IZqLs.js +1 -0
  328. package/frontend/build/assets/index-DfOc9UlB.js +1 -0
  329. package/frontend/build/assets/index-DgVSxPXN.css +1 -0
  330. package/frontend/build/assets/index-Dhp8dh5v.js +1 -0
  331. package/frontend/build/assets/index-DlqpxOQl.css +1 -0
  332. package/frontend/build/assets/index-DlvxwSxx.js +1 -0
  333. package/frontend/build/assets/index-Dn5ZzrRm.css +1 -0
  334. package/frontend/build/assets/index-Dp1faHeH.js +3020 -0
  335. package/frontend/build/assets/index-DsLf2ZDE.js +1 -0
  336. package/frontend/build/assets/index-DsUl8Ptm.js +1 -0
  337. package/frontend/build/assets/index-Dw0tLRur.js +1 -0
  338. package/frontend/build/assets/index-DwXVBZsv.js +1 -0
  339. package/frontend/build/assets/index-DyaHYcgL.js +1 -0
  340. package/frontend/build/assets/index-DzBQLoNi.js +3022 -0
  341. package/frontend/build/assets/index-GrVsVGKe.js +1 -0
  342. package/frontend/build/assets/index-IzGzRXKT.js +1 -0
  343. package/frontend/build/assets/index-MHTC5Jaf.js +1 -0
  344. package/frontend/build/assets/index-PDPwUSMg.js +34 -0
  345. package/frontend/build/assets/index-QYahACFP.css +1 -0
  346. package/frontend/build/assets/index-QkZPwKD6.js +88 -0
  347. package/frontend/build/assets/index-Tg84pa9I.js +88 -0
  348. package/frontend/build/assets/index-UL4MAKLb.js +88 -0
  349. package/frontend/build/assets/index-aa34KBYr.js +34 -0
  350. package/frontend/build/assets/index-ajvK6t0Y.js +1 -0
  351. package/frontend/build/assets/index-b5SryupN.js +1 -0
  352. package/frontend/build/assets/index-d3LI8LJL.js +4 -0
  353. package/frontend/build/assets/index-e1kUgjjO.js +1 -0
  354. package/frontend/build/assets/index-jTalI0G5.js +1 -0
  355. package/frontend/build/assets/index-jZroxcSG.js +1 -0
  356. package/frontend/build/assets/index-kLEe-31q.js +3022 -0
  357. package/frontend/build/assets/index-nxD1J_1U.js +1 -0
  358. package/frontend/build/assets/index-qD9Q6D9I.js +1 -0
  359. package/frontend/build/assets/index-uBZFl8l2.js +1 -0
  360. package/frontend/build/assets/index-wr8bxnDK.js +1 -0
  361. package/frontend/build/assets/index.vue_vue_type_script_setup_true_lang-B4NwmABd.js +1 -0
  362. package/frontend/build/assets/index.vue_vue_type_script_setup_true_lang-B4oNPU3q.js +1 -0
  363. package/frontend/build/assets/index.vue_vue_type_script_setup_true_lang-BBmwAav-.js +1 -0
  364. package/frontend/build/assets/index.vue_vue_type_script_setup_true_lang-BOOc15c_.js +1 -0
  365. package/frontend/build/assets/index.vue_vue_type_script_setup_true_lang-BY9Af5Nc.js +1 -0
  366. package/frontend/build/assets/index.vue_vue_type_script_setup_true_lang-Bej651CN.js +1 -0
  367. package/frontend/build/assets/index.vue_vue_type_script_setup_true_lang-C2vb4Dqf.js +1 -0
  368. package/frontend/build/assets/index.vue_vue_type_script_setup_true_lang-CL2618tE.js +1 -0
  369. package/frontend/build/assets/index.vue_vue_type_script_setup_true_lang-CLxSBkmO.js +1 -0
  370. package/frontend/build/assets/index.vue_vue_type_script_setup_true_lang-C_JTuf1y.js +1 -0
  371. package/frontend/build/assets/index.vue_vue_type_script_setup_true_lang-CcJN846R.js +1 -0
  372. package/frontend/build/assets/index.vue_vue_type_script_setup_true_lang-CijuxZr1.js +1 -0
  373. package/frontend/build/assets/index.vue_vue_type_script_setup_true_lang-CmP-e403.js +1 -0
  374. package/frontend/build/assets/index.vue_vue_type_script_setup_true_lang-Cs16N-Xd.js +1 -0
  375. package/frontend/build/assets/index.vue_vue_type_script_setup_true_lang-D06MdY7a.js +1 -0
  376. package/frontend/build/assets/index.vue_vue_type_script_setup_true_lang-DdgjuITP.js +1 -0
  377. package/frontend/build/assets/index.vue_vue_type_script_setup_true_lang-DuLmC4Hy.js +1 -0
  378. package/frontend/build/assets/index.vue_vue_type_script_setup_true_lang-i_-VJTVk.js +1 -0
  379. package/frontend/build/assets/logo-B8LLnbYy.jpg +0 -0
  380. package/frontend/build/assets/memory-C4zB60HJ.js +1 -0
  381. package/frontend/build/assets/memory-DHzPXs82.js +1 -0
  382. package/frontend/build/assets/presets-8ZEu20ZL.js +1 -0
  383. package/frontend/build/assets/presets-Bbyt0PjB.js +1 -0
  384. package/frontend/build/assets/presets-DGMnsFyv.js +1 -0
  385. package/frontend/build/assets/presets-DqF27psW.js +1 -0
  386. package/frontend/build/assets/presets-N8YNqfPr.js +1 -0
  387. package/frontend/build/assets/presets-cCI64Dxi.js +1 -0
  388. package/frontend/build/assets/preview-close-one-BtVZjDje.js +1 -0
  389. package/frontend/build/assets/preview-close-one-CduaZ9go.js +1 -0
  390. package/frontend/build/assets/preview-close-one-DQdsMFNB.js +1 -0
  391. package/frontend/build/assets/preview-close-one-DZiBTyj3.js +1 -0
  392. package/frontend/build/assets/preview-close-one-ZEGMXVTp.js +1 -0
  393. package/frontend/build/assets/preview-close-one-vOfiPsm0.js +1 -0
  394. package/frontend/build/assets/preview-open--FMuWVpI.js +1 -0
  395. package/frontend/build/assets/preview-open-5axv2eoi.js +1 -0
  396. package/frontend/build/assets/preview-open-BwhyOZZZ.js +1 -0
  397. package/frontend/build/assets/preview-open-CEgCXCaz.js +1 -0
  398. package/frontend/build/assets/preview-open-CIsmwiay.js +1 -0
  399. package/frontend/build/assets/preview-open-DqXcn0Io.js +1 -0
  400. package/frontend/build/assets/processors-0_RUgaZm.js +1 -0
  401. package/frontend/build/assets/processors-BGAbvhSk.js +1 -0
  402. package/frontend/build/assets/processors-CJsyXjR7.js +1 -0
  403. package/frontend/build/assets/processors-CmJ007yb.js +1 -0
  404. package/frontend/build/assets/processors-CsDJer4R.js +1 -0
  405. package/frontend/build/assets/processors-on-PUe_q.js +1 -0
  406. package/frontend/build/assets/prop-BjyUHhTu.js +1 -0
  407. package/frontend/build/assets/text-BU3n8x_S.js +21 -0
  408. package/frontend/build/assets/text-BdCfEojD.js +21 -0
  409. package/frontend/build/assets/text-BfkuQm58.js +21 -0
  410. package/frontend/build/assets/text-BhKp8kwX.js +21 -0
  411. package/frontend/build/assets/text-C8WlRvWq.js +21 -0
  412. package/frontend/build/assets/text-Dm8ZXeiW.js +21 -0
  413. package/frontend/build/assets/toolGroup-BpThfFxc.js +1 -0
  414. package/frontend/build/assets/toolGroup-C7yi3DD-.js +1 -0
  415. package/frontend/build/assets/toolGroup-Cl_28ogB.js +1 -0
  416. package/frontend/build/assets/toolGroup-CvTMJceG.js +1 -0
  417. package/frontend/build/assets/toolGroup-DIZrVG-u.js +1 -0
  418. package/frontend/build/assets/toolGroup-YtViuyrx.js +1 -0
  419. package/frontend/build/assets/tools-BWpxaWcy.js +1 -0
  420. package/frontend/build/assets/tools-CivF5Y63.js +1 -0
  421. package/frontend/build/assets/tools-ClM2lWje.js +1 -0
  422. package/frontend/build/assets/tools-DlNqOoYG.js +1 -0
  423. package/frontend/build/assets/tools-DrffVcid.js +1 -0
  424. package/frontend/build/assets/tools-VKwjF6eb.js +1 -0
  425. package/frontend/build/favicon.jpg +0 -0
  426. package/frontend/build/index.html +537 -0
  427. package/package.json +71 -0
@@ -0,0 +1 @@
1
+ .memory-container[data-v-4fc18a3e]{padding:16px}
@@ -0,0 +1,88 @@
1
+ import{p as y,a7 as Le,ak as Et,d as F,a8 as dr,aa as gr,ad as Pn,al as mr,s as ot,am as Ke,ag as kr,an as wr,ao as xr,ap as _r,aq as br,U as vr,c as R,o as v,a as c,X as Bn,l as Tr,ar as yr,r as J,v as Sr,as as Er,t as I,g as he,n as X,F as Qe,A as Je,e as P,u as T,a0 as se,b as _e,w as Y,N as At,at as Rt,B as et,I as Tn,y as Ct,au as Ar,k as Rr}from"./index-Dp1faHeH.js";import{N as Cr}from"./Spin-Cy3cVx8W.js";function Lr(){return y("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36"},y("path",{fill:"#EF9645",d:"M15.5 2.965c1.381 0 2.5 1.119 2.5 2.5v.005L20.5.465c1.381 0 2.5 1.119 2.5 2.5V4.25l2.5-1.535c1.381 0 2.5 1.119 2.5 2.5V8.75L29 18H15.458L15.5 2.965z"}),y("path",{fill:"#FFDC5D",d:"M4.625 16.219c1.381-.611 3.354.208 4.75 2.188.917 1.3 1.187 3.151 2.391 3.344.46.073 1.234-.313 1.234-1.397V4.5s0-2 2-2 2 2 2 2v11.633c0-.029 1-.064 1-.082V2s0-2 2-2 2 2 2 2v14.053c0 .017 1 .041 1 .069V4.25s0-2 2-2 2 2 2 2v12.638c0 .118 1 .251 1 .398V8.75s0-2 2-2 2 2 2 2V24c0 6.627-5.373 12-12 12-4.775 0-8.06-2.598-9.896-5.292C8.547 28.423 8.096 26.051 8 25.334c0 0-.123-1.479-1.156-2.865-1.469-1.969-2.5-3.156-3.125-3.866-.317-.359-.625-1.707.906-2.384z"}))}function Ir(){return y("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36"},y("circle",{fill:"#FFCB4C",cx:"18",cy:"17.018",r:"17"}),y("path",{fill:"#65471B",d:"M14.524 21.036c-.145-.116-.258-.274-.312-.464-.134-.46.13-.918.59-1.021 4.528-1.021 7.577 1.363 7.706 1.465.384.306.459.845.173 1.205-.286.358-.828.401-1.211.097-.11-.084-2.523-1.923-6.182-1.098-.274.061-.554-.016-.764-.184z"}),y("ellipse",{fill:"#65471B",cx:"13.119",cy:"11.174",rx:"2.125",ry:"2.656"}),y("ellipse",{fill:"#65471B",cx:"24.375",cy:"12.236",rx:"2.125",ry:"2.656"}),y("path",{fill:"#F19020",d:"M17.276 35.149s1.265-.411 1.429-1.352c.173-.972-.624-1.167-.624-1.167s1.041-.208 1.172-1.376c.123-1.101-.861-1.363-.861-1.363s.97-.4 1.016-1.539c.038-.959-.995-1.428-.995-1.428s5.038-1.221 5.556-1.341c.516-.12 1.32-.615 1.069-1.694-.249-1.08-1.204-1.118-1.697-1.003-.494.115-6.744 1.566-8.9 2.068l-1.439.334c-.54.127-.785-.11-.404-.512.508-.536.833-1.129.946-2.113.119-1.035-.232-2.313-.433-2.809-.374-.921-1.005-1.649-1.734-1.899-1.137-.39-1.945.321-1.542 1.561.604 1.854.208 3.375-.833 4.293-2.449 2.157-3.588 3.695-2.83 6.973.828 3.575 4.377 5.876 7.952 5.048l3.152-.681z"}),y("path",{fill:"#65471B",d:"M9.296 6.351c-.164-.088-.303-.224-.391-.399-.216-.428-.04-.927.393-1.112 4.266-1.831 7.699-.043 7.843.034.433.231.608.747.391 1.154-.216.405-.74.546-1.173.318-.123-.063-2.832-1.432-6.278.047-.257.109-.547.085-.785-.042zm12.135 3.75c-.156-.098-.286-.243-.362-.424-.187-.442.023-.927.468-1.084 4.381-1.536 7.685.48 7.823.567.415.26.555.787.312 1.178-.242.39-.776.495-1.191.238-.12-.072-2.727-1.621-6.267-.379-.266.091-.553.046-.783-.096z"}))}function zr(){return y("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36"},y("ellipse",{fill:"#292F33",cx:"18",cy:"26",rx:"18",ry:"10"}),y("ellipse",{fill:"#66757F",cx:"18",cy:"24",rx:"18",ry:"10"}),y("path",{fill:"#E1E8ED",d:"M18 31C3.042 31 1 16 1 12h34c0 2-1.958 19-17 19z"}),y("path",{fill:"#77B255",d:"M35 12.056c0 5.216-7.611 9.444-17 9.444S1 17.271 1 12.056C1 6.84 8.611 3.611 18 3.611s17 3.229 17 8.445z"}),y("ellipse",{fill:"#A6D388",cx:"18",cy:"13",rx:"15",ry:"7"}),y("path",{d:"M21 17c-.256 0-.512-.098-.707-.293-2.337-2.337-2.376-4.885-.125-8.262.739-1.109.9-2.246.478-3.377-.461-1.236-1.438-1.996-1.731-2.077-.553 0-.958-.443-.958-.996 0-.552.491-.995 1.043-.995.997 0 2.395 1.153 3.183 2.625 1.034 1.933.91 4.039-.351 5.929-1.961 2.942-1.531 4.332-.125 5.738.391.391.391 1.023 0 1.414-.195.196-.451.294-.707.294zm-6-2c-.256 0-.512-.098-.707-.293-2.337-2.337-2.376-4.885-.125-8.262.727-1.091.893-2.083.494-2.947-.444-.961-1.431-1.469-1.684-1.499-.552 0-.989-.447-.989-1 0-.552.458-1 1.011-1 .997 0 2.585.974 3.36 2.423.481.899 1.052 2.761-.528 5.131-1.961 2.942-1.531 4.332-.125 5.738.391.391.391 1.023 0 1.414-.195.197-.451.295-.707.295z",fill:"#5C913B"}))}function Or(){return y("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36"},y("path",{fill:"#FFCC4D",d:"M36 18c0 9.941-8.059 18-18 18-9.94 0-18-8.059-18-18C0 8.06 8.06 0 18 0c9.941 0 18 8.06 18 18"}),y("ellipse",{fill:"#664500",cx:"18",cy:"27",rx:"5",ry:"6"}),y("path",{fill:"#664500",d:"M5.999 11c-.208 0-.419-.065-.599-.2-.442-.331-.531-.958-.2-1.4C8.462 5.05 12.816 5 13 5c.552 0 1 .448 1 1 0 .551-.445.998-.996 1-.155.002-3.568.086-6.204 3.6-.196.262-.497.4-.801.4zm24.002 0c-.305 0-.604-.138-.801-.4-2.64-3.521-6.061-3.598-6.206-3.6-.55-.006-.994-.456-.991-1.005C22.006 5.444 22.45 5 23 5c.184 0 4.537.05 7.8 4.4.332.442.242 1.069-.2 1.4-.18.135-.39.2-.599.2zm-16.087 4.5l1.793-1.793c.391-.391.391-1.023 0-1.414s-1.023-.391-1.414 0L12.5 14.086l-1.793-1.793c-.391-.391-1.023-.391-1.414 0s-.391 1.023 0 1.414l1.793 1.793-1.793 1.793c-.391.391-.391 1.023 0 1.414.195.195.451.293.707.293s.512-.098.707-.293l1.793-1.793 1.793 1.793c.195.195.451.293.707.293s.512-.098.707-.293c.391-.391.391-1.023 0-1.414L13.914 15.5zm11 0l1.793-1.793c.391-.391.391-1.023 0-1.414s-1.023-.391-1.414 0L23.5 14.086l-1.793-1.793c-.391-.391-1.023-.391-1.414 0s-.391 1.023 0 1.414l1.793 1.793-1.793 1.793c-.391.391-.391 1.023 0 1.414.195.195.451.293.707.293s.512-.098.707-.293l1.793-1.793 1.793 1.793c.195.195.451.293.707.293s.512-.098.707-.293c.391-.391.391-1.023 0-1.414L24.914 15.5z"}))}const Mr=Le("result",`
2
+ color: var(--n-text-color);
3
+ line-height: var(--n-line-height);
4
+ font-size: var(--n-font-size);
5
+ transition:
6
+ color .3s var(--n-bezier);
7
+ `,[Le("result-icon",`
8
+ display: flex;
9
+ justify-content: center;
10
+ transition: color .3s var(--n-bezier);
11
+ `,[Et("status-image",`
12
+ font-size: var(--n-icon-size);
13
+ width: 1em;
14
+ height: 1em;
15
+ `),Le("base-icon",`
16
+ color: var(--n-icon-color);
17
+ font-size: var(--n-icon-size);
18
+ `)]),Le("result-content",{marginTop:"24px"}),Le("result-footer",`
19
+ margin-top: 24px;
20
+ text-align: center;
21
+ `),Le("result-header",[Et("title",`
22
+ margin-top: 16px;
23
+ font-weight: var(--n-title-font-weight);
24
+ transition: color .3s var(--n-bezier);
25
+ text-align: center;
26
+ color: var(--n-title-text-color);
27
+ font-size: var(--n-title-font-size);
28
+ `),Et("description",`
29
+ margin-top: 4px;
30
+ text-align: center;
31
+ font-size: var(--n-font-size);
32
+ `)])]),Dr={403:Lr,404:Ir,418:zr,500:Or,info:()=>y(br,null),success:()=>y(_r,null),warning:()=>y(xr,null),error:()=>y(wr,null)},Nr=Object.assign(Object.assign({},Pn.props),{size:{type:String,default:"medium"},status:{type:String,default:"info"},title:String,description:String}),$r=F({name:"Result",props:Nr,slots:Object,setup(n){const{mergedClsPrefixRef:e,inlineThemeDisabled:t}=gr(n),s=Pn("Result","-result",Mr,mr,n,e),r=ot(()=>{const{size:l,status:a}=n,{common:{cubicBezierEaseInOut:h},self:{textColor:p,lineHeight:k,titleTextColor:S,titleFontWeight:m,[Ke("iconColor",a)]:C,[Ke("fontSize",l)]:b,[Ke("titleFontSize",l)]:M,[Ke("iconSize",l)]:Q}}=s.value;return{"--n-bezier":h,"--n-font-size":b,"--n-icon-size":Q,"--n-line-height":k,"--n-text-color":p,"--n-title-font-size":M,"--n-title-font-weight":m,"--n-title-text-color":S,"--n-icon-color":C||""}}),o=t?kr("result",ot(()=>{const{size:l,status:a}=n;let h="";return l&&(h+=l[0]),a&&(h+=a[0]),h}),r,n):void 0;return{mergedClsPrefix:e,cssVars:t?void 0:r,themeClass:o?.themeClass,onRender:o?.onRender}},render(){var n;const{status:e,$slots:t,mergedClsPrefix:s,onRender:r}=this;return r?.(),y("div",{class:[`${s}-result`,this.themeClass],style:this.cssVars},y("div",{class:`${s}-result-icon`},((n=t.icon)===null||n===void 0?void 0:n.call(t))||y(dr,{clsPrefix:s},{default:()=>Dr[e]()})),y("div",{class:`${s}-result-header`},this.title?y("div",{class:`${s}-result-header__title`},this.title):null,this.description?y("div",{class:`${s}-result-header__description`},this.description):null),t.default&&y("div",{class:`${s}-result-content`},t),t.footer&&y("div",{class:`${s}-result-footer`},t.footer()))}});function Pr(){return vr.Get("/api/system/info")}const Br={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},Fr=F({name:"BrushOutline",render:function(e,t){return v(),R("svg",Br,t[0]||(t[0]=[c("path",{d:"M452.37 59.63h0a40.49 40.49 0 0 0-57.26 0L184 294.74c23.08 4.7 46.12 27.29 49.26 49.26l219.11-227.11a40.49 40.49 0 0 0 0-57.26z",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1),c("path",{d:"M138 336c-29.88 0-54 24.5-54 54.86c0 23.95-20.88 36.57-36 36.57C64.56 449.74 92.82 464 120 464c39.78 0 72-32.73 72-73.14c0-30.36-24.12-54.86-54-54.86z",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1)]))}}),Ur={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},Hr=F({name:"ChatbubblesOutline",render:function(e,t){return v(),R("svg",Ur,t[0]||(t[0]=[c("path",{d:"M431 320.6c-1-3.6 1.2-8.6 3.3-12.2a33.68 33.68 0 0 1 2.1-3.1A162 162 0 0 0 464 215c.3-92.2-77.5-167-173.7-167c-83.9 0-153.9 57.1-170.3 132.9a160.7 160.7 0 0 0-3.7 34.2c0 92.3 74.8 169.1 171 169.1c15.3 0 35.9-4.6 47.2-7.7s22.5-7.2 25.4-8.3a26.44 26.44 0 0 1 9.3-1.7a26 26 0 0 1 10.1 2l56.7 20.1a13.52 13.52 0 0 0 3.9 1a8 8 0 0 0 8-8a12.85 12.85 0 0 0-.5-2.7z",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-miterlimit":"10","stroke-width":"32"},null,-1),c("path",{d:"M66.46 232a146.23 146.23 0 0 0 6.39 152.67c2.31 3.49 3.61 6.19 3.21 8s-11.93 61.87-11.93 61.87a8 8 0 0 0 2.71 7.68A8.17 8.17 0 0 0 72 464a7.26 7.26 0 0 0 2.91-.6l56.21-22a15.7 15.7 0 0 1 12 .2c18.94 7.38 39.88 12 60.83 12A159.21 159.21 0 0 0 284 432.11",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-miterlimit":"10","stroke-width":"32"},null,-1)]))}}),Gr={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},jr=F({name:"CodeSlashOutline",render:function(e,t){return v(),R("svg",Gr,t[0]||(t[0]=[c("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M160 368L32 256l128-112"},null,-1),c("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M352 368l128-112l-128-112"},null,-1),c("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M304 96l-96 320"},null,-1)]))}}),Wr={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},qr=F({name:"EyeOutline",render:function(e,t){return v(),R("svg",Wr,t[0]||(t[0]=[c("path",{d:"M255.66 112c-77.94 0-157.89 45.11-220.83 135.33a16 16 0 0 0-.27 17.77C82.92 340.8 161.8 400 255.66 400c92.84 0 173.34-59.38 221.79-135.25a16.14 16.14 0 0 0 0-17.47C428.89 172.28 347.8 112 255.66 112z",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1),c("circle",{cx:"256",cy:"256",r:"80",fill:"none",stroke:"currentColor","stroke-miterlimit":"10","stroke-width":"32"},null,-1)]))}}),Vr={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},Zr=F({name:"FlaskOutline",render:function(e,t){return v(),R("svg",Vr,t[0]||(t[0]=[c("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-miterlimit":"10","stroke-width":"32",d:"M176 48h160"},null,-1),c("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-miterlimit":"10","stroke-width":"32",d:"M118 304h276"},null,-1),c("path",{d:"M208 48v93.48a64.09 64.09 0 0 1-9.88 34.18L73.21 373.49C48.4 412.78 76.63 464 123.08 464h265.84c46.45 0 74.68-51.22 49.87-90.51L313.87 175.66a64.09 64.09 0 0 1-9.87-34.18V48",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-miterlimit":"10","stroke-width":"32"},null,-1)]))}}),Yr={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},Xr=F({name:"GitBranchOutline",render:function(e,t){return v(),R("svg",Yr,t[0]||(t[0]=[Bn('<circle cx="160" cy="96" r="48" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32"></circle><circle cx="160" cy="416" r="48" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32"></circle><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M160 368V144"></path><circle cx="352" cy="160" r="48" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32"></circle><path d="M352 208c0 128-192 48-192 160" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32"></path>',5)]))}}),Kr={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},Qr=F({name:"LogoGithub",render:function(e,t){return v(),R("svg",Kr,t[0]||(t[0]=[c("path",{d:"M256 32C132.3 32 32 134.9 32 261.7c0 101.5 64.2 187.5 153.2 217.9a17.56 17.56 0 0 0 3.8.4c8.3 0 11.5-6.1 11.5-11.4c0-5.5-.2-19.9-.3-39.1a102.4 102.4 0 0 1-22.6 2.7c-43.1 0-52.9-33.5-52.9-33.5c-10.2-26.5-24.9-33.6-24.9-33.6c-19.5-13.7-.1-14.1 1.4-14.1h.1c22.5 2 34.3 23.8 34.3 23.8c11.2 19.6 26.2 25.1 39.6 25.1a63 63 0 0 0 25.6-6c2-14.8 7.8-24.9 14.2-30.7c-49.7-5.8-102-25.5-102-113.5c0-25.1 8.7-45.6 23-61.6c-2.3-5.8-10-29.2 2.2-60.8a18.64 18.64 0 0 1 5-.5c8.1 0 26.4 3.1 56.6 24.1a208.21 208.21 0 0 1 112.2 0c30.2-21 48.5-24.1 56.6-24.1a18.64 18.64 0 0 1 5 .5c12.2 31.6 4.5 55 2.2 60.8c14.3 16.1 23 36.6 23 61.6c0 88.2-52.4 107.6-102.3 113.3c8 7.1 15.2 21.1 15.2 42.5c0 30.7-.3 55.5-.3 63c0 5.4 3.1 11.5 11.4 11.5a19.35 19.35 0 0 0 4-.4C415.9 449.2 480 363.1 480 261.7C480 134.9 379.7 32 256 32z",fill:"currentColor"},null,-1)]))}}),Jr={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},es=F({name:"PeopleOutline",render:function(e,t){return v(),R("svg",Jr,t[0]||(t[0]=[c("path",{d:"M402 168c-2.93 40.67-33.1 72-66 72s-63.12-31.32-66-72c-3-42.31 26.37-72 66-72s69 30.46 66 72z",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1),c("path",{d:"M336 304c-65.17 0-127.84 32.37-143.54 95.41c-2.08 8.34 3.15 16.59 11.72 16.59h263.65c8.57 0 13.77-8.25 11.72-16.59C463.85 335.36 401.18 304 336 304z",fill:"none",stroke:"currentColor","stroke-miterlimit":"10","stroke-width":"32"},null,-1),c("path",{d:"M200 185.94c-2.34 32.48-26.72 58.06-53 58.06s-50.7-25.57-53-58.06C91.61 152.15 115.34 128 147 128s55.39 24.77 53 57.94z",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1),c("path",{d:"M206 306c-18.05-8.27-37.93-11.45-59-11.45c-52 0-102.1 25.85-114.65 76.2c-1.65 6.66 2.53 13.25 9.37 13.25H154",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-miterlimit":"10","stroke-width":"32"},null,-1)]))}}),ts={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},ns=F({name:"PricetagOutline",render:function(e,t){return v(),R("svg",ts,t[0]||(t[0]=[c("path",{d:"M435.25 48h-122.9a14.46 14.46 0 0 0-10.2 4.2L56.45 297.9a28.85 28.85 0 0 0 0 40.7l117 117a28.85 28.85 0 0 0 40.7 0L459.75 210a14.46 14.46 0 0 0 4.2-10.2v-123a28.66 28.66 0 0 0-28.7-28.8z",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1),c("path",{d:"M384 160a32 32 0 1 1 32-32a32 32 0 0 1-32 32z",fill:"currentColor"},null,-1)]))}}),rs={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},ss=F({name:"RefreshOutline",render:function(e,t){return v(),R("svg",rs,t[0]||(t[0]=[c("path",{d:"M320 146s24.36-12-64-12a160 160 0 1 0 160 160",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-miterlimit":"10","stroke-width":"32"},null,-1),c("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M256 58l80 80l-80 80"},null,-1)]))}}),is={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},os=F({name:"ServerOutline",render:function(e,t){return v(),R("svg",is,t[0]||(t[0]=[c("ellipse",{cx:"256",cy:"128",rx:"192",ry:"80",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-miterlimit":"10","stroke-width":"32"},null,-1),c("path",{d:"M448 214c0 44.18-86 80-192 80S64 258.18 64 214",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-miterlimit":"10","stroke-width":"32"},null,-1),c("path",{d:"M448 300c0 44.18-86 80-192 80S64 344.18 64 300",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-miterlimit":"10","stroke-width":"32"},null,-1),c("path",{d:"M64 127.24v257.52C64 428.52 150 464 256 464s192-35.48 192-79.24V127.24",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-miterlimit":"10","stroke-width":"32"},null,-1)]))}}),ls={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},as=F({name:"SettingsOutline",render:function(e,t){return v(),R("svg",ls,t[0]||(t[0]=[c("path",{d:"M262.29 192.31a64 64 0 1 0 57.4 57.4a64.13 64.13 0 0 0-57.4-57.4zM416.39 256a154.34 154.34 0 0 1-1.53 20.79l45.21 35.46a10.81 10.81 0 0 1 2.45 13.75l-42.77 74a10.81 10.81 0 0 1-13.14 4.59l-44.9-18.08a16.11 16.11 0 0 0-15.17 1.75A164.48 164.48 0 0 1 325 400.8a15.94 15.94 0 0 0-8.82 12.14l-6.73 47.89a11.08 11.08 0 0 1-10.68 9.17h-85.54a11.11 11.11 0 0 1-10.69-8.87l-6.72-47.82a16.07 16.07 0 0 0-9-12.22a155.3 155.3 0 0 1-21.46-12.57a16 16 0 0 0-15.11-1.71l-44.89 18.07a10.81 10.81 0 0 1-13.14-4.58l-42.77-74a10.8 10.8 0 0 1 2.45-13.75l38.21-30a16.05 16.05 0 0 0 6-14.08c-.36-4.17-.58-8.33-.58-12.5s.21-8.27.58-12.35a16 16 0 0 0-6.07-13.94l-38.19-30A10.81 10.81 0 0 1 49.48 186l42.77-74a10.81 10.81 0 0 1 13.14-4.59l44.9 18.08a16.11 16.11 0 0 0 15.17-1.75A164.48 164.48 0 0 1 187 111.2a15.94 15.94 0 0 0 8.82-12.14l6.73-47.89A11.08 11.08 0 0 1 213.23 42h85.54a11.11 11.11 0 0 1 10.69 8.87l6.72 47.82a16.07 16.07 0 0 0 9 12.22a155.3 155.3 0 0 1 21.46 12.57a16 16 0 0 0 15.11 1.71l44.89-18.07a10.81 10.81 0 0 1 13.14 4.58l42.77 74a10.8 10.8 0 0 1-2.45 13.75l-38.21 30a16.05 16.05 0 0 0-6.05 14.08c.33 4.14.55 8.3.55 12.47z",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1)]))}}),cs={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},us=F({name:"StarOutline",render:function(e,t){return v(),R("svg",cs,t[0]||(t[0]=[c("path",{d:"M480 208H308L256 48l-52 160H32l140 96l-54 160l138-100l138 100l-54-160z",fill:"none",stroke:"currentColor","stroke-linejoin":"round","stroke-width":"32"},null,-1)]))}}),ps={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},hs=F({name:"StatsChartOutline",render:function(e,t){return v(),R("svg",ps,t[0]||(t[0]=[c("rect",{x:"64",y:"320",width:"48",height:"160",rx:"8",ry:"8",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1),c("rect",{x:"288",y:"224",width:"48",height:"256",rx:"8",ry:"8",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1),c("rect",{x:"400",y:"112",width:"48",height:"368",rx:"8",ry:"8",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1),c("rect",{x:"176",y:"32",width:"48",height:"448",rx:"8",ry:"8",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1)]))}}),fs={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},ds=F({name:"TimeOutline",render:function(e,t){return v(),R("svg",fs,t[0]||(t[0]=[c("path",{d:"M256 64C150 64 64 150 64 256s86 192 192 192s192-86 192-192S362 64 256 64z",fill:"none",stroke:"currentColor","stroke-miterlimit":"10","stroke-width":"32"},null,-1),c("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M256 128v144h96"},null,-1)]))}});function Ft(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var ve=Ft();function Fn(n){ve=n}var He={exec:()=>null};function E(n,e=""){let t=typeof n=="string"?n:n.source;const s={replace:(r,o)=>{let l=typeof o=="string"?o:o.source;return l=l.replace(j.caret,"$1"),t=t.replace(r,l),s},getRegex:()=>new RegExp(t,e)};return s}var j={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceTabs:/^\t+/,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] /,listReplaceTask:/^\[[ xX]\] +/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,unescapeTest:/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:n=>new RegExp(`^( {0,3}${n})((?:[ ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:n=>new RegExp(`^ {0,${Math.min(3,n-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),hrRegex:n=>new RegExp(`^ {0,${Math.min(3,n-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:n=>new RegExp(`^ {0,${Math.min(3,n-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:n=>new RegExp(`^ {0,${Math.min(3,n-1)}}#`),htmlBeginRegex:n=>new RegExp(`^ {0,${Math.min(3,n-1)}}<(?:[a-z].*>|!--)`,"i")},gs=/^(?:[ \t]*(?:\n|$))+/,ms=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,ks=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,Ge=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,ws=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,Ut=/(?:[*+-]|\d{1,9}[.)])/,Un=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,Hn=E(Un).replace(/bull/g,Ut).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),xs=E(Un).replace(/bull/g,Ut).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),Ht=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,_s=/^[^\n]+/,Gt=/(?!\s*\])(?:\\.|[^\[\]\\])+/,bs=E(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",Gt).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),vs=E(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,Ut).getRegex(),ut="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",jt=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,Ts=E("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))","i").replace("comment",jt).replace("tag",ut).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),Gn=E(Ht).replace("hr",Ge).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",ut).getRegex(),ys=E(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",Gn).getRegex(),Wt={blockquote:ys,code:ms,def:bs,fences:ks,heading:ws,hr:Ge,html:Ts,lheading:Hn,list:vs,newline:gs,paragraph:Gn,table:He,text:_s},yn=E("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",Ge).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3} )[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",ut).getRegex(),Ss={...Wt,lheading:xs,table:yn,paragraph:E(Ht).replace("hr",Ge).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",yn).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",ut).getRegex()},Es={...Wt,html:E(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",jt).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:He,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:E(Ht).replace("hr",Ge).replace("heading",` *#{1,6} *[^
33
+ ]`).replace("lheading",Hn).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},As=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,Rs=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,jn=/^( {2,}|\\)\n(?!\s*$)/,Cs=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,pt=/[\p{P}\p{S}]/u,qt=/[\s\p{P}\p{S}]/u,Wn=/[^\s\p{P}\p{S}]/u,Ls=E(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,qt).getRegex(),qn=/(?!~)[\p{P}\p{S}]/u,Is=/(?!~)[\s\p{P}\p{S}]/u,zs=/(?:[^\s\p{P}\p{S}]|~)/u,Os=/\[[^[\]]*?\]\((?:\\.|[^\\\(\)]|\((?:\\.|[^\\\(\)])*\))*\)|`[^`]*?`|<[^<>]*?>/g,Vn=/^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/,Ms=E(Vn,"u").replace(/punct/g,pt).getRegex(),Ds=E(Vn,"u").replace(/punct/g,qn).getRegex(),Zn="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",Ns=E(Zn,"gu").replace(/notPunctSpace/g,Wn).replace(/punctSpace/g,qt).replace(/punct/g,pt).getRegex(),$s=E(Zn,"gu").replace(/notPunctSpace/g,zs).replace(/punctSpace/g,Is).replace(/punct/g,qn).getRegex(),Ps=E("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,Wn).replace(/punctSpace/g,qt).replace(/punct/g,pt).getRegex(),Bs=E(/\\(punct)/,"gu").replace(/punct/g,pt).getRegex(),Fs=E(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),Us=E(jt).replace("(?:-->|$)","-->").getRegex(),Hs=E("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",Us).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),lt=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,Gs=E(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label",lt).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),Yn=E(/^!?\[(label)\]\[(ref)\]/).replace("label",lt).replace("ref",Gt).getRegex(),Xn=E(/^!?\[(ref)\](?:\[\])?/).replace("ref",Gt).getRegex(),js=E("reflink|nolink(?!\\()","g").replace("reflink",Yn).replace("nolink",Xn).getRegex(),Vt={_backpedal:He,anyPunctuation:Bs,autolink:Fs,blockSkip:Os,br:jn,code:Rs,del:He,emStrongLDelim:Ms,emStrongRDelimAst:Ns,emStrongRDelimUnd:Ps,escape:As,link:Gs,nolink:Xn,punctuation:Ls,reflink:Yn,reflinkSearch:js,tag:Hs,text:Cs,url:He},Ws={...Vt,link:E(/^!?\[(label)\]\((.*?)\)/).replace("label",lt).getRegex(),reflink:E(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",lt).getRegex()},Dt={...Vt,emStrongRDelimAst:$s,emStrongLDelim:Ds,url:E(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,"i").replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\.|[^\\])*?(?:\\.|[^\s~\\]))\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/},qs={...Dt,br:E(jn).replace("{2,}","*").getRegex(),text:E(Dt.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},tt={normal:Wt,gfm:Ss,pedantic:Es},De={normal:Vt,gfm:Dt,breaks:qs,pedantic:Ws},Vs={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},Sn=n=>Vs[n];function ie(n,e){if(e){if(j.escapeTest.test(n))return n.replace(j.escapeReplace,Sn)}else if(j.escapeTestNoEncode.test(n))return n.replace(j.escapeReplaceNoEncode,Sn);return n}function En(n){try{n=encodeURI(n).replace(j.percentDecode,"%")}catch{return null}return n}function An(n,e){const t=n.replace(j.findPipe,(o,l,a)=>{let h=!1,p=l;for(;--p>=0&&a[p]==="\\";)h=!h;return h?"|":" |"}),s=t.split(j.splitPipe);let r=0;if(s[0].trim()||s.shift(),s.length>0&&!s.at(-1)?.trim()&&s.pop(),e)if(s.length>e)s.splice(e);else for(;s.length<e;)s.push("");for(;r<s.length;r++)s[r]=s[r].trim().replace(j.slashPipe,"|");return s}function Ne(n,e,t){const s=n.length;if(s===0)return"";let r=0;for(;r<s&&n.charAt(s-r-1)===e;)r++;return n.slice(0,s-r)}function Zs(n,e){if(n.indexOf(e[1])===-1)return-1;let t=0;for(let s=0;s<n.length;s++)if(n[s]==="\\")s++;else if(n[s]===e[0])t++;else if(n[s]===e[1]&&(t--,t<0))return s;return t>0?-2:-1}function Rn(n,e,t,s,r){const o=e.href,l=e.title||null,a=n[1].replace(r.other.outputLinkReplace,"$1");s.state.inLink=!0;const h={type:n[0].charAt(0)==="!"?"image":"link",raw:t,href:o,title:l,text:a,tokens:s.inlineTokens(a)};return s.state.inLink=!1,h}function Ys(n,e,t){const s=n.match(t.other.indentCodeCompensation);if(s===null)return e;const r=s[1];return e.split(`
34
+ `).map(o=>{const l=o.match(t.other.beginningSpace);if(l===null)return o;const[a]=l;return a.length>=r.length?o.slice(r.length):o}).join(`
35
+ `)}var at=class{options;rules;lexer;constructor(n){this.options=n||ve}space(n){const e=this.rules.block.newline.exec(n);if(e&&e[0].length>0)return{type:"space",raw:e[0]}}code(n){const e=this.rules.block.code.exec(n);if(e){const t=e[0].replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:e[0],codeBlockStyle:"indented",text:this.options.pedantic?t:Ne(t,`
36
+ `)}}}fences(n){const e=this.rules.block.fences.exec(n);if(e){const t=e[0],s=Ys(t,e[3]||"",this.rules);return{type:"code",raw:t,lang:e[2]?e[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):e[2],text:s}}}heading(n){const e=this.rules.block.heading.exec(n);if(e){let t=e[2].trim();if(this.rules.other.endingHash.test(t)){const s=Ne(t,"#");(this.options.pedantic||!s||this.rules.other.endingSpaceChar.test(s))&&(t=s.trim())}return{type:"heading",raw:e[0],depth:e[1].length,text:t,tokens:this.lexer.inline(t)}}}hr(n){const e=this.rules.block.hr.exec(n);if(e)return{type:"hr",raw:Ne(e[0],`
37
+ `)}}blockquote(n){const e=this.rules.block.blockquote.exec(n);if(e){let t=Ne(e[0],`
38
+ `).split(`
39
+ `),s="",r="";const o=[];for(;t.length>0;){let l=!1;const a=[];let h;for(h=0;h<t.length;h++)if(this.rules.other.blockquoteStart.test(t[h]))a.push(t[h]),l=!0;else if(!l)a.push(t[h]);else break;t=t.slice(h);const p=a.join(`
40
+ `),k=p.replace(this.rules.other.blockquoteSetextReplace,`
41
+ $1`).replace(this.rules.other.blockquoteSetextReplace2,"");s=s?`${s}
42
+ ${p}`:p,r=r?`${r}
43
+ ${k}`:k;const S=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(k,o,!0),this.lexer.state.top=S,t.length===0)break;const m=o.at(-1);if(m?.type==="code")break;if(m?.type==="blockquote"){const C=m,b=C.raw+`
44
+ `+t.join(`
45
+ `),M=this.blockquote(b);o[o.length-1]=M,s=s.substring(0,s.length-C.raw.length)+M.raw,r=r.substring(0,r.length-C.text.length)+M.text;break}else if(m?.type==="list"){const C=m,b=C.raw+`
46
+ `+t.join(`
47
+ `),M=this.list(b);o[o.length-1]=M,s=s.substring(0,s.length-m.raw.length)+M.raw,r=r.substring(0,r.length-C.raw.length)+M.raw,t=b.substring(o.at(-1).raw.length).split(`
48
+ `);continue}}return{type:"blockquote",raw:s,tokens:o,text:r}}}list(n){let e=this.rules.block.list.exec(n);if(e){let t=e[1].trim();const s=t.length>1,r={type:"list",raw:"",ordered:s,start:s?+t.slice(0,-1):"",loose:!1,items:[]};t=s?`\\d{1,9}\\${t.slice(-1)}`:`\\${t}`,this.options.pedantic&&(t=s?t:"[*+-]");const o=this.rules.other.listItemRegex(t);let l=!1;for(;n;){let h=!1,p="",k="";if(!(e=o.exec(n))||this.rules.block.hr.test(n))break;p=e[0],n=n.substring(p.length);let S=e[2].split(`
49
+ `,1)[0].replace(this.rules.other.listReplaceTabs,me=>" ".repeat(3*me.length)),m=n.split(`
50
+ `,1)[0],C=!S.trim(),b=0;if(this.options.pedantic?(b=2,k=S.trimStart()):C?b=e[1].length+1:(b=e[2].search(this.rules.other.nonSpaceChar),b=b>4?1:b,k=S.slice(b),b+=e[1].length),C&&this.rules.other.blankLine.test(m)&&(p+=m+`
51
+ `,n=n.substring(m.length+1),h=!0),!h){const me=this.rules.other.nextBulletRegex(b),ke=this.rules.other.hrRegex(b),oe=this.rules.other.fencesBeginRegex(b),O=this.rules.other.headingBeginRegex(b),te=this.rules.other.htmlBeginRegex(b);for(;n;){const le=n.split(`
52
+ `,1)[0];let ne;if(m=le,this.options.pedantic?(m=m.replace(this.rules.other.listReplaceNesting," "),ne=m):ne=m.replace(this.rules.other.tabCharGlobal," "),oe.test(m)||O.test(m)||te.test(m)||me.test(m)||ke.test(m))break;if(ne.search(this.rules.other.nonSpaceChar)>=b||!m.trim())k+=`
53
+ `+ne.slice(b);else{if(C||S.replace(this.rules.other.tabCharGlobal," ").search(this.rules.other.nonSpaceChar)>=4||oe.test(S)||O.test(S)||ke.test(S))break;k+=`
54
+ `+m}!C&&!m.trim()&&(C=!0),p+=le+`
55
+ `,n=n.substring(le.length+1),S=ne.slice(b)}}r.loose||(l?r.loose=!0:this.rules.other.doubleBlankLine.test(p)&&(l=!0));let M=null,Q;this.options.gfm&&(M=this.rules.other.listIsTask.exec(k),M&&(Q=M[0]!=="[ ] ",k=k.replace(this.rules.other.listReplaceTask,""))),r.items.push({type:"list_item",raw:p,task:!!M,checked:Q,loose:!1,text:k,tokens:[]}),r.raw+=p}const a=r.items.at(-1);if(a)a.raw=a.raw.trimEnd(),a.text=a.text.trimEnd();else return;r.raw=r.raw.trimEnd();for(let h=0;h<r.items.length;h++)if(this.lexer.state.top=!1,r.items[h].tokens=this.lexer.blockTokens(r.items[h].text,[]),!r.loose){const p=r.items[h].tokens.filter(S=>S.type==="space"),k=p.length>0&&p.some(S=>this.rules.other.anyLine.test(S.raw));r.loose=k}if(r.loose)for(let h=0;h<r.items.length;h++)r.items[h].loose=!0;return r}}html(n){const e=this.rules.block.html.exec(n);if(e)return{type:"html",block:!0,raw:e[0],pre:e[1]==="pre"||e[1]==="script"||e[1]==="style",text:e[0]}}def(n){const e=this.rules.block.def.exec(n);if(e){const t=e[1].toLowerCase().replace(this.rules.other.multipleSpaceGlobal," "),s=e[2]?e[2].replace(this.rules.other.hrefBrackets,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",r=e[3]?e[3].substring(1,e[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):e[3];return{type:"def",tag:t,raw:e[0],href:s,title:r}}}table(n){const e=this.rules.block.table.exec(n);if(!e||!this.rules.other.tableDelimiter.test(e[2]))return;const t=An(e[1]),s=e[2].replace(this.rules.other.tableAlignChars,"").split("|"),r=e[3]?.trim()?e[3].replace(this.rules.other.tableRowBlankLine,"").split(`
56
+ `):[],o={type:"table",raw:e[0],header:[],align:[],rows:[]};if(t.length===s.length){for(const l of s)this.rules.other.tableAlignRight.test(l)?o.align.push("right"):this.rules.other.tableAlignCenter.test(l)?o.align.push("center"):this.rules.other.tableAlignLeft.test(l)?o.align.push("left"):o.align.push(null);for(let l=0;l<t.length;l++)o.header.push({text:t[l],tokens:this.lexer.inline(t[l]),header:!0,align:o.align[l]});for(const l of r)o.rows.push(An(l,o.header.length).map((a,h)=>({text:a,tokens:this.lexer.inline(a),header:!1,align:o.align[h]})));return o}}lheading(n){const e=this.rules.block.lheading.exec(n);if(e)return{type:"heading",raw:e[0],depth:e[2].charAt(0)==="="?1:2,text:e[1],tokens:this.lexer.inline(e[1])}}paragraph(n){const e=this.rules.block.paragraph.exec(n);if(e){const t=e[1].charAt(e[1].length-1)===`
57
+ `?e[1].slice(0,-1):e[1];return{type:"paragraph",raw:e[0],text:t,tokens:this.lexer.inline(t)}}}text(n){const e=this.rules.block.text.exec(n);if(e)return{type:"text",raw:e[0],text:e[0],tokens:this.lexer.inline(e[0])}}escape(n){const e=this.rules.inline.escape.exec(n);if(e)return{type:"escape",raw:e[0],text:e[1]}}tag(n){const e=this.rules.inline.tag.exec(n);if(e)return!this.lexer.state.inLink&&this.rules.other.startATag.test(e[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&this.rules.other.endATag.test(e[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&this.rules.other.startPreScriptTag.test(e[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&this.rules.other.endPreScriptTag.test(e[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:e[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:e[0]}}link(n){const e=this.rules.inline.link.exec(n);if(e){const t=e[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(t)){if(!this.rules.other.endAngleBracket.test(t))return;const o=Ne(t.slice(0,-1),"\\");if((t.length-o.length)%2===0)return}else{const o=Zs(e[2],"()");if(o===-2)return;if(o>-1){const a=(e[0].indexOf("!")===0?5:4)+e[1].length+o;e[2]=e[2].substring(0,o),e[0]=e[0].substring(0,a).trim(),e[3]=""}}let s=e[2],r="";if(this.options.pedantic){const o=this.rules.other.pedanticHrefTitle.exec(s);o&&(s=o[1],r=o[3])}else r=e[3]?e[3].slice(1,-1):"";return s=s.trim(),this.rules.other.startAngleBracket.test(s)&&(this.options.pedantic&&!this.rules.other.endAngleBracket.test(t)?s=s.slice(1):s=s.slice(1,-1)),Rn(e,{href:s&&s.replace(this.rules.inline.anyPunctuation,"$1"),title:r&&r.replace(this.rules.inline.anyPunctuation,"$1")},e[0],this.lexer,this.rules)}}reflink(n,e){let t;if((t=this.rules.inline.reflink.exec(n))||(t=this.rules.inline.nolink.exec(n))){const s=(t[2]||t[1]).replace(this.rules.other.multipleSpaceGlobal," "),r=e[s.toLowerCase()];if(!r){const o=t[0].charAt(0);return{type:"text",raw:o,text:o}}return Rn(t,r,t[0],this.lexer,this.rules)}}emStrong(n,e,t=""){let s=this.rules.inline.emStrongLDelim.exec(n);if(!s||s[3]&&t.match(this.rules.other.unicodeAlphaNumeric))return;if(!(s[1]||s[2]||"")||!t||this.rules.inline.punctuation.exec(t)){const o=[...s[0]].length-1;let l,a,h=o,p=0;const k=s[0][0]==="*"?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(k.lastIndex=0,e=e.slice(-1*n.length+o);(s=k.exec(e))!=null;){if(l=s[1]||s[2]||s[3]||s[4]||s[5]||s[6],!l)continue;if(a=[...l].length,s[3]||s[4]){h+=a;continue}else if((s[5]||s[6])&&o%3&&!((o+a)%3)){p+=a;continue}if(h-=a,h>0)continue;a=Math.min(a,a+h+p);const S=[...s[0]][0].length,m=n.slice(0,o+s.index+S+a);if(Math.min(o,a)%2){const b=m.slice(1,-1);return{type:"em",raw:m,text:b,tokens:this.lexer.inlineTokens(b)}}const C=m.slice(2,-2);return{type:"strong",raw:m,text:C,tokens:this.lexer.inlineTokens(C)}}}}codespan(n){const e=this.rules.inline.code.exec(n);if(e){let t=e[2].replace(this.rules.other.newLineCharGlobal," ");const s=this.rules.other.nonSpaceChar.test(t),r=this.rules.other.startingSpaceChar.test(t)&&this.rules.other.endingSpaceChar.test(t);return s&&r&&(t=t.substring(1,t.length-1)),{type:"codespan",raw:e[0],text:t}}}br(n){const e=this.rules.inline.br.exec(n);if(e)return{type:"br",raw:e[0]}}del(n){const e=this.rules.inline.del.exec(n);if(e)return{type:"del",raw:e[0],text:e[2],tokens:this.lexer.inlineTokens(e[2])}}autolink(n){const e=this.rules.inline.autolink.exec(n);if(e){let t,s;return e[2]==="@"?(t=e[1],s="mailto:"+t):(t=e[1],s=t),{type:"link",raw:e[0],text:t,href:s,tokens:[{type:"text",raw:t,text:t}]}}}url(n){let e;if(e=this.rules.inline.url.exec(n)){let t,s;if(e[2]==="@")t=e[0],s="mailto:"+t;else{let r;do r=e[0],e[0]=this.rules.inline._backpedal.exec(e[0])?.[0]??"";while(r!==e[0]);t=e[0],e[1]==="www."?s="http://"+e[0]:s=e[0]}return{type:"link",raw:e[0],text:t,href:s,tokens:[{type:"text",raw:t,text:t}]}}}inlineText(n){const e=this.rules.inline.text.exec(n);if(e){const t=this.lexer.state.inRawBlock;return{type:"text",raw:e[0],text:e[0],escaped:t}}}},de=class Nt{tokens;options;state;tokenizer;inlineQueue;constructor(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||ve,this.options.tokenizer=this.options.tokenizer||new at,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};const t={other:j,block:tt.normal,inline:De.normal};this.options.pedantic?(t.block=tt.pedantic,t.inline=De.pedantic):this.options.gfm&&(t.block=tt.gfm,this.options.breaks?t.inline=De.breaks:t.inline=De.gfm),this.tokenizer.rules=t}static get rules(){return{block:tt,inline:De}}static lex(e,t){return new Nt(t).lex(e)}static lexInline(e,t){return new Nt(t).inlineTokens(e)}lex(e){e=e.replace(j.carriageReturn,`
58
+ `),this.blockTokens(e,this.tokens);for(let t=0;t<this.inlineQueue.length;t++){const s=this.inlineQueue[t];this.inlineTokens(s.src,s.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(e,t=[],s=!1){for(this.options.pedantic&&(e=e.replace(j.tabCharGlobal," ").replace(j.spaceLine,""));e;){let r;if(this.options.extensions?.block?.some(l=>(r=l.call({lexer:this},e,t))?(e=e.substring(r.raw.length),t.push(r),!0):!1))continue;if(r=this.tokenizer.space(e)){e=e.substring(r.raw.length);const l=t.at(-1);r.raw.length===1&&l!==void 0?l.raw+=`
59
+ `:t.push(r);continue}if(r=this.tokenizer.code(e)){e=e.substring(r.raw.length);const l=t.at(-1);l?.type==="paragraph"||l?.type==="text"?(l.raw+=`
60
+ `+r.raw,l.text+=`
61
+ `+r.text,this.inlineQueue.at(-1).src=l.text):t.push(r);continue}if(r=this.tokenizer.fences(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.heading(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.hr(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.blockquote(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.list(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.html(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.def(e)){e=e.substring(r.raw.length);const l=t.at(-1);l?.type==="paragraph"||l?.type==="text"?(l.raw+=`
62
+ `+r.raw,l.text+=`
63
+ `+r.raw,this.inlineQueue.at(-1).src=l.text):this.tokens.links[r.tag]||(this.tokens.links[r.tag]={href:r.href,title:r.title});continue}if(r=this.tokenizer.table(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.lheading(e)){e=e.substring(r.raw.length),t.push(r);continue}let o=e;if(this.options.extensions?.startBlock){let l=1/0;const a=e.slice(1);let h;this.options.extensions.startBlock.forEach(p=>{h=p.call({lexer:this},a),typeof h=="number"&&h>=0&&(l=Math.min(l,h))}),l<1/0&&l>=0&&(o=e.substring(0,l+1))}if(this.state.top&&(r=this.tokenizer.paragraph(o))){const l=t.at(-1);s&&l?.type==="paragraph"?(l.raw+=`
64
+ `+r.raw,l.text+=`
65
+ `+r.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=l.text):t.push(r),s=o.length!==e.length,e=e.substring(r.raw.length);continue}if(r=this.tokenizer.text(e)){e=e.substring(r.raw.length);const l=t.at(-1);l?.type==="text"?(l.raw+=`
66
+ `+r.raw,l.text+=`
67
+ `+r.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=l.text):t.push(r);continue}if(e){const l="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(l);break}else throw new Error(l)}}return this.state.top=!0,t}inline(e,t=[]){return this.inlineQueue.push({src:e,tokens:t}),t}inlineTokens(e,t=[]){let s=e,r=null;if(this.tokens.links){const a=Object.keys(this.tokens.links);if(a.length>0)for(;(r=this.tokenizer.rules.inline.reflinkSearch.exec(s))!=null;)a.includes(r[0].slice(r[0].lastIndexOf("[")+1,-1))&&(s=s.slice(0,r.index)+"["+"a".repeat(r[0].length-2)+"]"+s.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(r=this.tokenizer.rules.inline.anyPunctuation.exec(s))!=null;)s=s.slice(0,r.index)+"++"+s.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;(r=this.tokenizer.rules.inline.blockSkip.exec(s))!=null;)s=s.slice(0,r.index)+"["+"a".repeat(r[0].length-2)+"]"+s.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);let o=!1,l="";for(;e;){o||(l=""),o=!1;let a;if(this.options.extensions?.inline?.some(p=>(a=p.call({lexer:this},e,t))?(e=e.substring(a.raw.length),t.push(a),!0):!1))continue;if(a=this.tokenizer.escape(e)){e=e.substring(a.raw.length),t.push(a);continue}if(a=this.tokenizer.tag(e)){e=e.substring(a.raw.length),t.push(a);continue}if(a=this.tokenizer.link(e)){e=e.substring(a.raw.length),t.push(a);continue}if(a=this.tokenizer.reflink(e,this.tokens.links)){e=e.substring(a.raw.length);const p=t.at(-1);a.type==="text"&&p?.type==="text"?(p.raw+=a.raw,p.text+=a.text):t.push(a);continue}if(a=this.tokenizer.emStrong(e,s,l)){e=e.substring(a.raw.length),t.push(a);continue}if(a=this.tokenizer.codespan(e)){e=e.substring(a.raw.length),t.push(a);continue}if(a=this.tokenizer.br(e)){e=e.substring(a.raw.length),t.push(a);continue}if(a=this.tokenizer.del(e)){e=e.substring(a.raw.length),t.push(a);continue}if(a=this.tokenizer.autolink(e)){e=e.substring(a.raw.length),t.push(a);continue}if(!this.state.inLink&&(a=this.tokenizer.url(e))){e=e.substring(a.raw.length),t.push(a);continue}let h=e;if(this.options.extensions?.startInline){let p=1/0;const k=e.slice(1);let S;this.options.extensions.startInline.forEach(m=>{S=m.call({lexer:this},k),typeof S=="number"&&S>=0&&(p=Math.min(p,S))}),p<1/0&&p>=0&&(h=e.substring(0,p+1))}if(a=this.tokenizer.inlineText(h)){e=e.substring(a.raw.length),a.raw.slice(-1)!=="_"&&(l=a.raw.slice(-1)),o=!0;const p=t.at(-1);p?.type==="text"?(p.raw+=a.raw,p.text+=a.text):t.push(a);continue}if(e){const p="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(p);break}else throw new Error(p)}}return t}},ct=class{options;parser;constructor(n){this.options=n||ve}space(n){return""}code({text:n,lang:e,escaped:t}){const s=(e||"").match(j.notSpaceStart)?.[0],r=n.replace(j.endingNewline,"")+`
68
+ `;return s?'<pre><code class="language-'+ie(s)+'">'+(t?r:ie(r,!0))+`</code></pre>
69
+ `:"<pre><code>"+(t?r:ie(r,!0))+`</code></pre>
70
+ `}blockquote({tokens:n}){return`<blockquote>
71
+ ${this.parser.parse(n)}</blockquote>
72
+ `}html({text:n}){return n}heading({tokens:n,depth:e}){return`<h${e}>${this.parser.parseInline(n)}</h${e}>
73
+ `}hr(n){return`<hr>
74
+ `}list(n){const e=n.ordered,t=n.start;let s="";for(let l=0;l<n.items.length;l++){const a=n.items[l];s+=this.listitem(a)}const r=e?"ol":"ul",o=e&&t!==1?' start="'+t+'"':"";return"<"+r+o+`>
75
+ `+s+"</"+r+`>
76
+ `}listitem(n){let e="";if(n.task){const t=this.checkbox({checked:!!n.checked});n.loose?n.tokens[0]?.type==="paragraph"?(n.tokens[0].text=t+" "+n.tokens[0].text,n.tokens[0].tokens&&n.tokens[0].tokens.length>0&&n.tokens[0].tokens[0].type==="text"&&(n.tokens[0].tokens[0].text=t+" "+ie(n.tokens[0].tokens[0].text),n.tokens[0].tokens[0].escaped=!0)):n.tokens.unshift({type:"text",raw:t+" ",text:t+" ",escaped:!0}):e+=t+" "}return e+=this.parser.parse(n.tokens,!!n.loose),`<li>${e}</li>
77
+ `}checkbox({checked:n}){return"<input "+(n?'checked="" ':"")+'disabled="" type="checkbox">'}paragraph({tokens:n}){return`<p>${this.parser.parseInline(n)}</p>
78
+ `}table(n){let e="",t="";for(let r=0;r<n.header.length;r++)t+=this.tablecell(n.header[r]);e+=this.tablerow({text:t});let s="";for(let r=0;r<n.rows.length;r++){const o=n.rows[r];t="";for(let l=0;l<o.length;l++)t+=this.tablecell(o[l]);s+=this.tablerow({text:t})}return s&&(s=`<tbody>${s}</tbody>`),`<table>
79
+ <thead>
80
+ `+e+`</thead>
81
+ `+s+`</table>
82
+ `}tablerow({text:n}){return`<tr>
83
+ ${n}</tr>
84
+ `}tablecell(n){const e=this.parser.parseInline(n.tokens),t=n.header?"th":"td";return(n.align?`<${t} align="${n.align}">`:`<${t}>`)+e+`</${t}>
85
+ `}strong({tokens:n}){return`<strong>${this.parser.parseInline(n)}</strong>`}em({tokens:n}){return`<em>${this.parser.parseInline(n)}</em>`}codespan({text:n}){return`<code>${ie(n,!0)}</code>`}br(n){return"<br>"}del({tokens:n}){return`<del>${this.parser.parseInline(n)}</del>`}link({href:n,title:e,tokens:t}){const s=this.parser.parseInline(t),r=En(n);if(r===null)return s;n=r;let o='<a href="'+n+'"';return e&&(o+=' title="'+ie(e)+'"'),o+=">"+s+"</a>",o}image({href:n,title:e,text:t,tokens:s}){s&&(t=this.parser.parseInline(s,this.parser.textRenderer));const r=En(n);if(r===null)return ie(t);n=r;let o=`<img src="${n}" alt="${t}"`;return e&&(o+=` title="${ie(e)}"`),o+=">",o}text(n){return"tokens"in n&&n.tokens?this.parser.parseInline(n.tokens):"escaped"in n&&n.escaped?n.text:ie(n.text)}},Zt=class{strong({text:n}){return n}em({text:n}){return n}codespan({text:n}){return n}del({text:n}){return n}html({text:n}){return n}text({text:n}){return n}link({text:n}){return""+n}image({text:n}){return""+n}br(){return""}},ge=class $t{options;renderer;textRenderer;constructor(e){this.options=e||ve,this.options.renderer=this.options.renderer||new ct,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new Zt}static parse(e,t){return new $t(t).parse(e)}static parseInline(e,t){return new $t(t).parseInline(e)}parse(e,t=!0){let s="";for(let r=0;r<e.length;r++){const o=e[r];if(this.options.extensions?.renderers?.[o.type]){const a=o,h=this.options.extensions.renderers[a.type].call({parser:this},a);if(h!==!1||!["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(a.type)){s+=h||"";continue}}const l=o;switch(l.type){case"space":{s+=this.renderer.space(l);continue}case"hr":{s+=this.renderer.hr(l);continue}case"heading":{s+=this.renderer.heading(l);continue}case"code":{s+=this.renderer.code(l);continue}case"table":{s+=this.renderer.table(l);continue}case"blockquote":{s+=this.renderer.blockquote(l);continue}case"list":{s+=this.renderer.list(l);continue}case"html":{s+=this.renderer.html(l);continue}case"paragraph":{s+=this.renderer.paragraph(l);continue}case"text":{let a=l,h=this.renderer.text(a);for(;r+1<e.length&&e[r+1].type==="text";)a=e[++r],h+=`
86
+ `+this.renderer.text(a);t?s+=this.renderer.paragraph({type:"paragraph",raw:h,text:h,tokens:[{type:"text",raw:h,text:h,escaped:!0}]}):s+=h;continue}default:{const a='Token with "'+l.type+'" type was not found.';if(this.options.silent)return console.error(a),"";throw new Error(a)}}}return s}parseInline(e,t=this.renderer){let s="";for(let r=0;r<e.length;r++){const o=e[r];if(this.options.extensions?.renderers?.[o.type]){const a=this.options.extensions.renderers[o.type].call({parser:this},o);if(a!==!1||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(o.type)){s+=a||"";continue}}const l=o;switch(l.type){case"escape":{s+=t.text(l);break}case"html":{s+=t.html(l);break}case"link":{s+=t.link(l);break}case"image":{s+=t.image(l);break}case"strong":{s+=t.strong(l);break}case"em":{s+=t.em(l);break}case"codespan":{s+=t.codespan(l);break}case"br":{s+=t.br(l);break}case"del":{s+=t.del(l);break}case"text":{s+=t.text(l);break}default:{const a='Token with "'+l.type+'" type was not found.';if(this.options.silent)return console.error(a),"";throw new Error(a)}}}return s}},st=class{options;block;constructor(n){this.options=n||ve}static passThroughHooks=new Set(["preprocess","postprocess","processAllTokens"]);preprocess(n){return n}postprocess(n){return n}processAllTokens(n){return n}provideLexer(){return this.block?de.lex:de.lexInline}provideParser(){return this.block?ge.parse:ge.parseInline}},Xs=class{defaults=Ft();options=this.setOptions;parse=this.parseMarkdown(!0);parseInline=this.parseMarkdown(!1);Parser=ge;Renderer=ct;TextRenderer=Zt;Lexer=de;Tokenizer=at;Hooks=st;constructor(...n){this.use(...n)}walkTokens(n,e){let t=[];for(const s of n)switch(t=t.concat(e.call(this,s)),s.type){case"table":{const r=s;for(const o of r.header)t=t.concat(this.walkTokens(o.tokens,e));for(const o of r.rows)for(const l of o)t=t.concat(this.walkTokens(l.tokens,e));break}case"list":{const r=s;t=t.concat(this.walkTokens(r.items,e));break}default:{const r=s;this.defaults.extensions?.childTokens?.[r.type]?this.defaults.extensions.childTokens[r.type].forEach(o=>{const l=r[o].flat(1/0);t=t.concat(this.walkTokens(l,e))}):r.tokens&&(t=t.concat(this.walkTokens(r.tokens,e)))}}return t}use(...n){const e=this.defaults.extensions||{renderers:{},childTokens:{}};return n.forEach(t=>{const s={...t};if(s.async=this.defaults.async||s.async||!1,t.extensions&&(t.extensions.forEach(r=>{if(!r.name)throw new Error("extension name required");if("renderer"in r){const o=e.renderers[r.name];o?e.renderers[r.name]=function(...l){let a=r.renderer.apply(this,l);return a===!1&&(a=o.apply(this,l)),a}:e.renderers[r.name]=r.renderer}if("tokenizer"in r){if(!r.level||r.level!=="block"&&r.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");const o=e[r.level];o?o.unshift(r.tokenizer):e[r.level]=[r.tokenizer],r.start&&(r.level==="block"?e.startBlock?e.startBlock.push(r.start):e.startBlock=[r.start]:r.level==="inline"&&(e.startInline?e.startInline.push(r.start):e.startInline=[r.start]))}"childTokens"in r&&r.childTokens&&(e.childTokens[r.name]=r.childTokens)}),s.extensions=e),t.renderer){const r=this.defaults.renderer||new ct(this.defaults);for(const o in t.renderer){if(!(o in r))throw new Error(`renderer '${o}' does not exist`);if(["options","parser"].includes(o))continue;const l=o,a=t.renderer[l],h=r[l];r[l]=(...p)=>{let k=a.apply(r,p);return k===!1&&(k=h.apply(r,p)),k||""}}s.renderer=r}if(t.tokenizer){const r=this.defaults.tokenizer||new at(this.defaults);for(const o in t.tokenizer){if(!(o in r))throw new Error(`tokenizer '${o}' does not exist`);if(["options","rules","lexer"].includes(o))continue;const l=o,a=t.tokenizer[l],h=r[l];r[l]=(...p)=>{let k=a.apply(r,p);return k===!1&&(k=h.apply(r,p)),k}}s.tokenizer=r}if(t.hooks){const r=this.defaults.hooks||new st;for(const o in t.hooks){if(!(o in r))throw new Error(`hook '${o}' does not exist`);if(["options","block"].includes(o))continue;const l=o,a=t.hooks[l],h=r[l];st.passThroughHooks.has(o)?r[l]=p=>{if(this.defaults.async)return Promise.resolve(a.call(r,p)).then(S=>h.call(r,S));const k=a.call(r,p);return h.call(r,k)}:r[l]=(...p)=>{let k=a.apply(r,p);return k===!1&&(k=h.apply(r,p)),k}}s.hooks=r}if(t.walkTokens){const r=this.defaults.walkTokens,o=t.walkTokens;s.walkTokens=function(l){let a=[];return a.push(o.call(this,l)),r&&(a=a.concat(r.call(this,l))),a}}this.defaults={...this.defaults,...s}}),this}setOptions(n){return this.defaults={...this.defaults,...n},this}lexer(n,e){return de.lex(n,e??this.defaults)}parser(n,e){return ge.parse(n,e??this.defaults)}parseMarkdown(n){return(t,s)=>{const r={...s},o={...this.defaults,...r},l=this.onError(!!o.silent,!!o.async);if(this.defaults.async===!0&&r.async===!1)return l(new Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if(typeof t>"u"||t===null)return l(new Error("marked(): input parameter is undefined or null"));if(typeof t!="string")return l(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(t)+", string expected"));o.hooks&&(o.hooks.options=o,o.hooks.block=n);const a=o.hooks?o.hooks.provideLexer():n?de.lex:de.lexInline,h=o.hooks?o.hooks.provideParser():n?ge.parse:ge.parseInline;if(o.async)return Promise.resolve(o.hooks?o.hooks.preprocess(t):t).then(p=>a(p,o)).then(p=>o.hooks?o.hooks.processAllTokens(p):p).then(p=>o.walkTokens?Promise.all(this.walkTokens(p,o.walkTokens)).then(()=>p):p).then(p=>h(p,o)).then(p=>o.hooks?o.hooks.postprocess(p):p).catch(l);try{o.hooks&&(t=o.hooks.preprocess(t));let p=a(t,o);o.hooks&&(p=o.hooks.processAllTokens(p)),o.walkTokens&&this.walkTokens(p,o.walkTokens);let k=h(p,o);return o.hooks&&(k=o.hooks.postprocess(k)),k}catch(p){return l(p)}}}onError(n,e){return t=>{if(t.message+=`
87
+ Please report this to https://github.com/markedjs/marked.`,n){const s="<p>An error occurred:</p><pre>"+ie(t.message+"",!0)+"</pre>";return e?Promise.resolve(s):s}if(e)return Promise.reject(t);throw t}}},be=new Xs;function A(n,e){return be.parse(n,e)}A.options=A.setOptions=function(n){return be.setOptions(n),A.defaults=be.defaults,Fn(A.defaults),A};A.getDefaults=Ft;A.defaults=ve;A.use=function(...n){return be.use(...n),A.defaults=be.defaults,Fn(A.defaults),A};A.walkTokens=function(n,e){return be.walkTokens(n,e)};A.parseInline=be.parseInline;A.Parser=ge;A.parser=ge.parse;A.Renderer=ct;A.TextRenderer=Zt;A.Lexer=de;A.lexer=de.lex;A.Tokenizer=at;A.Hooks=st;A.parse=A;A.options;A.setOptions;A.use;A.walkTokens;A.parseInline;ge.parse;de.lex;const Ks=60*60*1e3,ht="github_data_";function Yt(n,e){const t={data:e,timestamp:Date.now()};localStorage.setItem(n,JSON.stringify(t))}function Xt(n){const e=localStorage.getItem(n);if(!e)return null;try{const{data:t,timestamp:s}=JSON.parse(e);return Date.now()-s>Ks?null:t}catch{return null}}function Qs(n){const e=localStorage.getItem(n);if(!e)return"实时数据";try{const{timestamp:t}=JSON.parse(e),s=Date.now()-t,r=Math.floor(s/6e4);return r<1?"刚刚更新":r<60?`${r} 分钟前更新`:`${Math.floor(r/60)} 小时前更新`}catch{return"实时数据"}}async function Js(n,e=!1){const t=`${ht}repo_${n.owner}_${n.name}`;if(!e){const o=Xt(t);if(o)return o}const s=await fetch(`https://api.github.com/repos/${n.owner}/${n.name}`);if(!s.ok)throw new Error(`Failed to fetch ${n.name} repository data`);const r=await s.json();return Yt(t,r),r}async function Kn(n,e=!1){const t=`${ht}commits_${n.owner}_${n.name}_${n.branch}`;if(!e){const l=Xt(t);if(l)return l}let s=`https://api.github.com/repos/${n.owner}/${n.name}/commits?per_page=5`;n.branch&&(s+=`&sha=${n.branch}`);const r=await fetch(s);if(!r.ok)throw new Error(`Failed to fetch ${n.name} commits`);const o=await r.json();return Yt(t,o),o}async function ei(n,e=!1){const t=`${ht}releases_${n.owner}_${n.name}`;if(!e){const o=Xt(t);if(o)return o}const s=await fetch(`https://api.github.com/repos/${n.owner}/${n.name}/releases?per_page=3`);if(!s.ok)throw new Error(`Failed to fetch ${n.name} releases`);const r=await s.json();return Yt(t,r),r}function ti(n){const e=`${ht}repo_${n.owner}_${n.name}`;return Qs(e)}async function ni(n,e=!1){try{const[t,s,r]=await Promise.all([Js(n,e),Kn(n,e),ei(n,e)]);return{repository:t,commits:s,releases:r}}catch(t){throw console.error(`Error fetching data for ${n.name}:`,t),t}}/*! @license DOMPurify 3.2.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.6/LICENSE */const{entries:Qn,setPrototypeOf:Cn,isFrozen:ri,getPrototypeOf:si,getOwnPropertyDescriptor:ii}=Object;let{freeze:W,seal:K,create:Jn}=Object,{apply:Pt,construct:Bt}=typeof Reflect<"u"&&Reflect;W||(W=function(e){return e});K||(K=function(e){return e});Pt||(Pt=function(e,t,s){return e.apply(t,s)});Bt||(Bt=function(e,t){return new e(...t)});const nt=q(Array.prototype.forEach),oi=q(Array.prototype.lastIndexOf),Ln=q(Array.prototype.pop),$e=q(Array.prototype.push),li=q(Array.prototype.splice),it=q(String.prototype.toLowerCase),Lt=q(String.prototype.toString),In=q(String.prototype.match),Pe=q(String.prototype.replace),ai=q(String.prototype.indexOf),ci=q(String.prototype.trim),ee=q(Object.prototype.hasOwnProperty),G=q(RegExp.prototype.test),Be=ui(TypeError);function q(n){return function(e){e instanceof RegExp&&(e.lastIndex=0);for(var t=arguments.length,s=new Array(t>1?t-1:0),r=1;r<t;r++)s[r-1]=arguments[r];return Pt(n,e,s)}}function ui(n){return function(){for(var e=arguments.length,t=new Array(e),s=0;s<e;s++)t[s]=arguments[s];return Bt(n,t)}}function _(n,e){let t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:it;Cn&&Cn(n,null);let s=e.length;for(;s--;){let r=e[s];if(typeof r=="string"){const o=t(r);o!==r&&(ri(e)||(e[s]=o),r=o)}n[r]=!0}return n}function pi(n){for(let e=0;e<n.length;e++)ee(n,e)||(n[e]=null);return n}function fe(n){const e=Jn(null);for(const[t,s]of Qn(n))ee(n,t)&&(Array.isArray(s)?e[t]=pi(s):s&&typeof s=="object"&&s.constructor===Object?e[t]=fe(s):e[t]=s);return e}function Fe(n,e){for(;n!==null;){const s=ii(n,e);if(s){if(s.get)return q(s.get);if(typeof s.value=="function")return q(s.value)}n=si(n)}function t(){return null}return t}const zn=W(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),It=W(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),zt=W(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),hi=W(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),Ot=W(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),fi=W(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),On=W(["#text"]),Mn=W(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),Mt=W(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),Dn=W(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),rt=W(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),di=K(/\{\{[\w\W]*|[\w\W]*\}\}/gm),gi=K(/<%[\w\W]*|[\w\W]*%>/gm),mi=K(/\$\{[\w\W]*/gm),ki=K(/^data-[\-\w.\u00B7-\uFFFF]+$/),wi=K(/^aria-[\-\w]+$/),er=K(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),xi=K(/^(?:\w+script|data):/i),_i=K(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),tr=K(/^html$/i),bi=K(/^[a-z][.\w]*(-[.\w]+)+$/i);var Nn=Object.freeze({__proto__:null,ARIA_ATTR:wi,ATTR_WHITESPACE:_i,CUSTOM_ELEMENT:bi,DATA_ATTR:ki,DOCTYPE_NAME:tr,ERB_EXPR:gi,IS_ALLOWED_URI:er,IS_SCRIPT_OR_DATA:xi,MUSTACHE_EXPR:di,TMPLIT_EXPR:mi});const Ue={element:1,text:3,progressingInstruction:7,comment:8,document:9},vi=function(){return typeof window>"u"?null:window},Ti=function(e,t){if(typeof e!="object"||typeof e.createPolicy!="function")return null;let s=null;const r="data-tt-policy-suffix";t&&t.hasAttribute(r)&&(s=t.getAttribute(r));const o="dompurify"+(s?"#"+s:"");try{return e.createPolicy(o,{createHTML(l){return l},createScriptURL(l){return l}})}catch{return console.warn("TrustedTypes policy "+o+" could not be created."),null}},$n=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function nr(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:vi();const e=g=>nr(g);if(e.version="3.2.6",e.removed=[],!n||!n.document||n.document.nodeType!==Ue.document||!n.Element)return e.isSupported=!1,e;let{document:t}=n;const s=t,r=s.currentScript,{DocumentFragment:o,HTMLTemplateElement:l,Node:a,Element:h,NodeFilter:p,NamedNodeMap:k=n.NamedNodeMap||n.MozNamedAttrMap,HTMLFormElement:S,DOMParser:m,trustedTypes:C}=n,b=h.prototype,M=Fe(b,"cloneNode"),Q=Fe(b,"remove"),me=Fe(b,"nextSibling"),ke=Fe(b,"childNodes"),oe=Fe(b,"parentNode");if(typeof l=="function"){const g=t.createElement("template");g.content&&g.content.ownerDocument&&(t=g.content.ownerDocument)}let O,te="";const{implementation:le,createNodeIterator:ne,createDocumentFragment:ft,getElementsByTagName:we}=t,{importNode:dt}=s;let w=$n();e.isSupported=typeof Qn=="function"&&typeof oe=="function"&&le&&le.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:f,ERB_EXPR:x,TMPLIT_EXPR:V,DATA_ATTR:ae,ARIA_ATTR:rr,IS_SCRIPT_OR_DATA:sr,ATTR_WHITESPACE:Kt,CUSTOM_ELEMENT:ir}=Nn;let{IS_ALLOWED_URI:Qt}=Nn,N=null;const Jt=_({},[...zn,...It,...zt,...Ot,...On]);let B=null;const en=_({},[...Mn,...Mt,...Dn,...rt]);let z=Object.seal(Jn(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Ie=null,gt=null,tn=!0,mt=!0,nn=!1,rn=!0,Te=!1,je=!0,xe=!1,kt=!1,wt=!1,ye=!1,We=!1,qe=!1,sn=!0,on=!1;const or="user-content-";let xt=!0,ze=!1,Se={},Ee=null;const ln=_({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let an=null;const cn=_({},["audio","video","img","source","image","track"]);let _t=null;const un=_({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Ve="http://www.w3.org/1998/Math/MathML",Ze="http://www.w3.org/2000/svg",ce="http://www.w3.org/1999/xhtml";let Ae=ce,bt=!1,vt=null;const lr=_({},[Ve,Ze,ce],Lt);let Ye=_({},["mi","mo","mn","ms","mtext"]),Xe=_({},["annotation-xml"]);const ar=_({},["title","style","font","a","script"]);let Oe=null;const cr=["application/xhtml+xml","text/html"],ur="text/html";let $=null,Re=null;const pr=t.createElement("form"),pn=function(i){return i instanceof RegExp||i instanceof Function},Tt=function(){let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(Re&&Re===i)){if((!i||typeof i!="object")&&(i={}),i=fe(i),Oe=cr.indexOf(i.PARSER_MEDIA_TYPE)===-1?ur:i.PARSER_MEDIA_TYPE,$=Oe==="application/xhtml+xml"?Lt:it,N=ee(i,"ALLOWED_TAGS")?_({},i.ALLOWED_TAGS,$):Jt,B=ee(i,"ALLOWED_ATTR")?_({},i.ALLOWED_ATTR,$):en,vt=ee(i,"ALLOWED_NAMESPACES")?_({},i.ALLOWED_NAMESPACES,Lt):lr,_t=ee(i,"ADD_URI_SAFE_ATTR")?_(fe(un),i.ADD_URI_SAFE_ATTR,$):un,an=ee(i,"ADD_DATA_URI_TAGS")?_(fe(cn),i.ADD_DATA_URI_TAGS,$):cn,Ee=ee(i,"FORBID_CONTENTS")?_({},i.FORBID_CONTENTS,$):ln,Ie=ee(i,"FORBID_TAGS")?_({},i.FORBID_TAGS,$):fe({}),gt=ee(i,"FORBID_ATTR")?_({},i.FORBID_ATTR,$):fe({}),Se=ee(i,"USE_PROFILES")?i.USE_PROFILES:!1,tn=i.ALLOW_ARIA_ATTR!==!1,mt=i.ALLOW_DATA_ATTR!==!1,nn=i.ALLOW_UNKNOWN_PROTOCOLS||!1,rn=i.ALLOW_SELF_CLOSE_IN_ATTR!==!1,Te=i.SAFE_FOR_TEMPLATES||!1,je=i.SAFE_FOR_XML!==!1,xe=i.WHOLE_DOCUMENT||!1,ye=i.RETURN_DOM||!1,We=i.RETURN_DOM_FRAGMENT||!1,qe=i.RETURN_TRUSTED_TYPE||!1,wt=i.FORCE_BODY||!1,sn=i.SANITIZE_DOM!==!1,on=i.SANITIZE_NAMED_PROPS||!1,xt=i.KEEP_CONTENT!==!1,ze=i.IN_PLACE||!1,Qt=i.ALLOWED_URI_REGEXP||er,Ae=i.NAMESPACE||ce,Ye=i.MATHML_TEXT_INTEGRATION_POINTS||Ye,Xe=i.HTML_INTEGRATION_POINTS||Xe,z=i.CUSTOM_ELEMENT_HANDLING||{},i.CUSTOM_ELEMENT_HANDLING&&pn(i.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(z.tagNameCheck=i.CUSTOM_ELEMENT_HANDLING.tagNameCheck),i.CUSTOM_ELEMENT_HANDLING&&pn(i.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(z.attributeNameCheck=i.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),i.CUSTOM_ELEMENT_HANDLING&&typeof i.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(z.allowCustomizedBuiltInElements=i.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Te&&(mt=!1),We&&(ye=!0),Se&&(N=_({},On),B=[],Se.html===!0&&(_(N,zn),_(B,Mn)),Se.svg===!0&&(_(N,It),_(B,Mt),_(B,rt)),Se.svgFilters===!0&&(_(N,zt),_(B,Mt),_(B,rt)),Se.mathMl===!0&&(_(N,Ot),_(B,Dn),_(B,rt))),i.ADD_TAGS&&(N===Jt&&(N=fe(N)),_(N,i.ADD_TAGS,$)),i.ADD_ATTR&&(B===en&&(B=fe(B)),_(B,i.ADD_ATTR,$)),i.ADD_URI_SAFE_ATTR&&_(_t,i.ADD_URI_SAFE_ATTR,$),i.FORBID_CONTENTS&&(Ee===ln&&(Ee=fe(Ee)),_(Ee,i.FORBID_CONTENTS,$)),xt&&(N["#text"]=!0),xe&&_(N,["html","head","body"]),N.table&&(_(N,["tbody"]),delete Ie.tbody),i.TRUSTED_TYPES_POLICY){if(typeof i.TRUSTED_TYPES_POLICY.createHTML!="function")throw Be('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof i.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw Be('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');O=i.TRUSTED_TYPES_POLICY,te=O.createHTML("")}else O===void 0&&(O=Ti(C,r)),O!==null&&typeof te=="string"&&(te=O.createHTML(""));W&&W(i),Re=i}},hn=_({},[...It,...zt,...hi]),fn=_({},[...Ot,...fi]),hr=function(i){let u=oe(i);(!u||!u.tagName)&&(u={namespaceURI:Ae,tagName:"template"});const d=it(i.tagName),L=it(u.tagName);return vt[i.namespaceURI]?i.namespaceURI===Ze?u.namespaceURI===ce?d==="svg":u.namespaceURI===Ve?d==="svg"&&(L==="annotation-xml"||Ye[L]):!!hn[d]:i.namespaceURI===Ve?u.namespaceURI===ce?d==="math":u.namespaceURI===Ze?d==="math"&&Xe[L]:!!fn[d]:i.namespaceURI===ce?u.namespaceURI===Ze&&!Xe[L]||u.namespaceURI===Ve&&!Ye[L]?!1:!fn[d]&&(ar[d]||!hn[d]):!!(Oe==="application/xhtml+xml"&&vt[i.namespaceURI]):!1},re=function(i){$e(e.removed,{element:i});try{oe(i).removeChild(i)}catch{Q(i)}},Ce=function(i,u){try{$e(e.removed,{attribute:u.getAttributeNode(i),from:u})}catch{$e(e.removed,{attribute:null,from:u})}if(u.removeAttribute(i),i==="is")if(ye||We)try{re(u)}catch{}else try{u.setAttribute(i,"")}catch{}},dn=function(i){let u=null,d=null;if(wt)i="<remove></remove>"+i;else{const D=In(i,/^[\r\n\t ]+/);d=D&&D[0]}Oe==="application/xhtml+xml"&&Ae===ce&&(i='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+i+"</body></html>");const L=O?O.createHTML(i):i;if(Ae===ce)try{u=new m().parseFromString(L,Oe)}catch{}if(!u||!u.documentElement){u=le.createDocument(Ae,"template",null);try{u.documentElement.innerHTML=bt?te:L}catch{}}const U=u.body||u.documentElement;return i&&d&&U.insertBefore(t.createTextNode(d),U.childNodes[0]||null),Ae===ce?we.call(u,xe?"html":"body")[0]:xe?u.documentElement:U},gn=function(i){return ne.call(i.ownerDocument||i,i,p.SHOW_ELEMENT|p.SHOW_COMMENT|p.SHOW_TEXT|p.SHOW_PROCESSING_INSTRUCTION|p.SHOW_CDATA_SECTION,null)},yt=function(i){return i instanceof S&&(typeof i.nodeName!="string"||typeof i.textContent!="string"||typeof i.removeChild!="function"||!(i.attributes instanceof k)||typeof i.removeAttribute!="function"||typeof i.setAttribute!="function"||typeof i.namespaceURI!="string"||typeof i.insertBefore!="function"||typeof i.hasChildNodes!="function")},mn=function(i){return typeof a=="function"&&i instanceof a};function ue(g,i,u){nt(g,d=>{d.call(e,i,u,Re)})}const kn=function(i){let u=null;if(ue(w.beforeSanitizeElements,i,null),yt(i))return re(i),!0;const d=$(i.nodeName);if(ue(w.uponSanitizeElement,i,{tagName:d,allowedTags:N}),je&&i.hasChildNodes()&&!mn(i.firstElementChild)&&G(/<[/\w!]/g,i.innerHTML)&&G(/<[/\w!]/g,i.textContent)||i.nodeType===Ue.progressingInstruction||je&&i.nodeType===Ue.comment&&G(/<[/\w]/g,i.data))return re(i),!0;if(!N[d]||Ie[d]){if(!Ie[d]&&xn(d)&&(z.tagNameCheck instanceof RegExp&&G(z.tagNameCheck,d)||z.tagNameCheck instanceof Function&&z.tagNameCheck(d)))return!1;if(xt&&!Ee[d]){const L=oe(i)||i.parentNode,U=ke(i)||i.childNodes;if(U&&L){const D=U.length;for(let Z=D-1;Z>=0;--Z){const pe=M(U[Z],!0);pe.__removalCount=(i.__removalCount||0)+1,L.insertBefore(pe,me(i))}}}return re(i),!0}return i instanceof h&&!hr(i)||(d==="noscript"||d==="noembed"||d==="noframes")&&G(/<\/no(script|embed|frames)/i,i.innerHTML)?(re(i),!0):(Te&&i.nodeType===Ue.text&&(u=i.textContent,nt([f,x,V],L=>{u=Pe(u,L," ")}),i.textContent!==u&&($e(e.removed,{element:i.cloneNode()}),i.textContent=u)),ue(w.afterSanitizeElements,i,null),!1)},wn=function(i,u,d){if(sn&&(u==="id"||u==="name")&&(d in t||d in pr))return!1;if(!(mt&&!gt[u]&&G(ae,u))){if(!(tn&&G(rr,u))){if(!B[u]||gt[u]){if(!(xn(i)&&(z.tagNameCheck instanceof RegExp&&G(z.tagNameCheck,i)||z.tagNameCheck instanceof Function&&z.tagNameCheck(i))&&(z.attributeNameCheck instanceof RegExp&&G(z.attributeNameCheck,u)||z.attributeNameCheck instanceof Function&&z.attributeNameCheck(u))||u==="is"&&z.allowCustomizedBuiltInElements&&(z.tagNameCheck instanceof RegExp&&G(z.tagNameCheck,d)||z.tagNameCheck instanceof Function&&z.tagNameCheck(d))))return!1}else if(!_t[u]){if(!G(Qt,Pe(d,Kt,""))){if(!((u==="src"||u==="xlink:href"||u==="href")&&i!=="script"&&ai(d,"data:")===0&&an[i])){if(!(nn&&!G(sr,Pe(d,Kt,"")))){if(d)return!1}}}}}}return!0},xn=function(i){return i!=="annotation-xml"&&In(i,ir)},_n=function(i){ue(w.beforeSanitizeAttributes,i,null);const{attributes:u}=i;if(!u||yt(i))return;const d={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:B,forceKeepAttr:void 0};let L=u.length;for(;L--;){const U=u[L],{name:D,namespaceURI:Z,value:pe}=U,Me=$(D),St=pe;let H=D==="value"?St:ci(St);if(d.attrName=Me,d.attrValue=H,d.keepAttr=!0,d.forceKeepAttr=void 0,ue(w.uponSanitizeAttribute,i,d),H=d.attrValue,on&&(Me==="id"||Me==="name")&&(Ce(D,i),H=or+H),je&&G(/((--!?|])>)|<\/(style|title)/i,H)){Ce(D,i);continue}if(d.forceKeepAttr)continue;if(!d.keepAttr){Ce(D,i);continue}if(!rn&&G(/\/>/i,H)){Ce(D,i);continue}Te&&nt([f,x,V],vn=>{H=Pe(H,vn," ")});const bn=$(i.nodeName);if(!wn(bn,Me,H)){Ce(D,i);continue}if(O&&typeof C=="object"&&typeof C.getAttributeType=="function"&&!Z)switch(C.getAttributeType(bn,Me)){case"TrustedHTML":{H=O.createHTML(H);break}case"TrustedScriptURL":{H=O.createScriptURL(H);break}}if(H!==St)try{Z?i.setAttributeNS(Z,D,H):i.setAttribute(D,H),yt(i)?re(i):Ln(e.removed)}catch{Ce(D,i)}}ue(w.afterSanitizeAttributes,i,null)},fr=function g(i){let u=null;const d=gn(i);for(ue(w.beforeSanitizeShadowDOM,i,null);u=d.nextNode();)ue(w.uponSanitizeShadowNode,u,null),kn(u),_n(u),u.content instanceof o&&g(u.content);ue(w.afterSanitizeShadowDOM,i,null)};return e.sanitize=function(g){let i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},u=null,d=null,L=null,U=null;if(bt=!g,bt&&(g="<!-->"),typeof g!="string"&&!mn(g))if(typeof g.toString=="function"){if(g=g.toString(),typeof g!="string")throw Be("dirty is not a string, aborting")}else throw Be("toString is not a function");if(!e.isSupported)return g;if(kt||Tt(i),e.removed=[],typeof g=="string"&&(ze=!1),ze){if(g.nodeName){const pe=$(g.nodeName);if(!N[pe]||Ie[pe])throw Be("root node is forbidden and cannot be sanitized in-place")}}else if(g instanceof a)u=dn("<!---->"),d=u.ownerDocument.importNode(g,!0),d.nodeType===Ue.element&&d.nodeName==="BODY"||d.nodeName==="HTML"?u=d:u.appendChild(d);else{if(!ye&&!Te&&!xe&&g.indexOf("<")===-1)return O&&qe?O.createHTML(g):g;if(u=dn(g),!u)return ye?null:qe?te:""}u&&wt&&re(u.firstChild);const D=gn(ze?g:u);for(;L=D.nextNode();)kn(L),_n(L),L.content instanceof o&&fr(L.content);if(ze)return g;if(ye){if(We)for(U=ft.call(u.ownerDocument);u.firstChild;)U.appendChild(u.firstChild);else U=u;return(B.shadowroot||B.shadowrootmode)&&(U=dt.call(s,U,!0)),U}let Z=xe?u.outerHTML:u.innerHTML;return xe&&N["!doctype"]&&u.ownerDocument&&u.ownerDocument.doctype&&u.ownerDocument.doctype.name&&G(tr,u.ownerDocument.doctype.name)&&(Z="<!DOCTYPE "+u.ownerDocument.doctype.name+`>
88
+ `+Z),Te&&nt([f,x,V],pe=>{Z=Pe(Z,pe," ")}),O&&qe?O.createHTML(Z):Z},e.setConfig=function(){let g=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Tt(g),kt=!0},e.clearConfig=function(){Re=null,kt=!1},e.isValidAttribute=function(g,i,u){Re||Tt({});const d=$(g),L=$(i);return wn(d,L,u)},e.addHook=function(g,i){typeof i=="function"&&$e(w[g],i)},e.removeHook=function(g,i){if(i!==void 0){const u=oi(w[g],i);return u===-1?void 0:li(w[g],u,1)[0]}return Ln(w[g])},e.removeHooks=function(g){w[g]=[]},e.removeAllHooks=function(){w=$n()},e}var yi=nr();const Si={class:"dashboard-container"},Ei={class:"welcome-header"},Ai={class:"time-container"},Ri={class:"time"},Ci={class:"date"},Li={class:"greeting-container"},Ii={class:"greeting"},zi={class:"welcome-message"},Oi={key:0,class:"version-badge"},Mi={class:"content-container"},Di={class:"nav-panel"},Ni={class:"nav-grid"},$i={class:"nav-icon"},Pi={class:"nav-title"},Bi={class:"nav-description"},Fi={class:"status-section"},Ui={class:"status-card online"},Hi={class:"status-icon"},Gi={class:"status-card version"},ji={class:"status-icon"},Wi={class:"status-text"},qi={class:"content-panel"},Vi={class:"repo-tabs"},Zi=["onClick"],Yi={key:1,class:"repo-container"},Xi={class:"repo-header"},Ki=["href"],Qi={class:"cache-indicator"},Ji={class:"repo-stats"},eo={class:"repo-stat"},to={class:"repo-stat"},no={class:"repo-stat"},ro={class:"repo-description"},so={class:"commit-section"},io={class:"section-header"},oo={class:"commit-header"},lo={class:"commit-author"},ao={class:"author-name"},co={class:"commit-date"},uo={class:"commit-message"},po=["href"],ho={class:"commit-stats"},fo={key:0,class:"stats-item"},go={class:"stats-value addition"},mo={key:1,class:"stats-item"},ko={class:"stats-value deletion"},wo={key:0,class:"empty-state"},xo={class:"release-section"},_o={class:"release-name"},bo=["href"],vo={class:"release-date"},To=["innerHTML"],yo={key:0,class:"empty-state"},So={key:2,class:"error-message"},Eo=F({__name:"index",setup(n){const e=Tr(),t=yr(),s=ot(()=>t.userInfo?.userName||"管理员"),r=[{owner:"ikechan8370",name:"chatgpt-plugin",displayName:"ChatGPT Plugin",branch:"v3"},{owner:"ikechan8370",name:"node-chaite",displayName:"Chaite",branch:"main"}],o=J(!1),l=J(""),a=J(0),h=J({}),p=J({}),k=J(!1),S=J({}),m=ot(()=>{const w=r[a.value];return w?S.value[w.name]:null});function C(w){if(!w)return"";const f=A.parse(w);return yi.sanitize(f)}const b=J(""),M=J(""),Q=J("");let me;function ke(){const w=new Date,f=w.getHours();b.value=w.toLocaleTimeString("zh-CN",{hour:"2-digit",minute:"2-digit"}),b.value=w.toLocaleTimeString("zh-CN",{hour:"2-digit",minute:"2-digit"}),M.value=w.toLocaleDateString("zh-CN",{year:"numeric",month:"long",day:"numeric",weekday:"long"}),f<12?Q.value="早上好":f<18?Q.value="下午好":Q.value="晚上好"}const oe=[{title:"系统配置",description:"配置系统参数和行为",route:"/config",icon:as,primary:!0},{title:"渠道管理",description:"查看和管理模型渠道",route:"/channels",icon:Hr},{title:"工具管理",description:"管理工具Agent",route:"/tools",icon:es},{title:"预设管理",description:"创建和编辑对话预设",route:"/chat-preset",icon:Fr},{title:"处理器管理",description:"配置和管理前后处理器",route:"/processors",icon:Zr},{title:"适配器管理",description:"配置和管理适配器",route:"/adapters",icon:hs}];function O(w){e.push(w)}function te(w){const f=new Date(w),V=new Date().getTime()-f.getTime(),ae=24*60*60*1e3;return V<ae?`今天 ${f.toLocaleTimeString("zh-CN",{hour:"2-digit",minute:"2-digit"})}`:V<2*ae?`昨天 ${f.toLocaleTimeString("zh-CN",{hour:"2-digit",minute:"2-digit"})}`:V<7*ae?`${Math.floor(V/ae)}天前`:f.toLocaleDateString("zh-CN",{year:"numeric",month:"2-digit",day:"2-digit"})}async function le(){if(k.value)return;k.value=!0;const w=r[a.value];try{const f=await Kn(w,!0);h.value[w.name]=f}catch(f){console.error("Failed to refresh commits:",f)}finally{k.value=!1}}async function ne(w=!1){o.value=!0,l.value="";try{for(const f of r){const{repository:x,commits:V,releases:ae}=await ni(f,w);S.value[f.name]=x,h.value[f.name]=V,p.value[f.name]=ae}}catch(f){l.value=f instanceof Error?f.message:"Unknown error occurred"}finally{o.value=!1}}function ft(){const w=r[a.value];return w?ti(w):""}const we=J();async function dt(){const w=await Pr();w.isSuccess&&(we.value=w.data)}return Sr(()=>{ke(),dt(),me=window.setInterval(ke,1e3),ne()}),Er(()=>{clearInterval(me)}),(w,f)=>(v(),R("div",Si,[c("div",Ei,[c("div",Ai,[c("div",Ri,I(b.value),1),c("div",Ci,I(M.value),1)]),c("div",Li,[c("h1",Ii,I(Q.value)+", "+I(we.value?.user?.username||s.value),1),c("p",zi,[f[1]||(f[1]=he(" 欢迎回到 ChatGPT 管理系统 ")),we.value?.version?(v(),R("span",Oi,"v"+I(we.value.version),1)):X("",!0)])])]),c("div",Mi,[c("div",Di,[f[3]||(f[3]=c("h2",{class:"panel-title"}," 快捷导航 ",-1)),c("div",Ni,[(v(),R(Qe,null,Je(oe,x=>P(T(Ct),{key:x.title,class:Rt(["nav-card",{primary:x.primary}]),hoverable:"",onClick:V=>O(x.route)},{default:Y(()=>[c("div",$i,[P(T(se),{component:x.icon,size:"28"},null,8,["component"])]),c("div",Pi,I(x.title),1),c("div",Bi,I(x.description),1)]),_:2},1032,["class","onClick"])),64))]),c("div",Fi,[c("div",Ui,[c("div",Hi,[P(T(se),{component:T(os),size:"20"},null,8,["component"])]),f[2]||(f[2]=c("div",{class:"status-text"}," 系统状态: 在线 ",-1))]),c("div",Gi,[c("div",ji,[P(T(se),{component:T(jr),size:"20"},null,8,["component"])]),c("div",Wi," 当前版本: "+I(we.value?.version||"3.0.0"),1)])])]),c("div",qi,[f[15]||(f[15]=c("h2",{class:"panel-title"}," GitHub 项目动态 ",-1)),c("div",Vi,[(v(),R(Qe,null,Je(r,(x,V)=>c("div",{key:x.name,class:Rt(["repo-tab",{active:a.value===V}]),onClick:ae=>a.value=V},I(x.displayName),11,Zi)),64))]),o.value?(v(),_e(T(Cr),{key:0,show:o.value,class:"repo-spinner"},{description:Y(()=>f[4]||(f[4]=[he(" 加载中... ")])),_:1},8,["show"])):X("",!0),!o.value&&m.value?(v(),R("div",Yi,[c("div",Xi,[P(T(se),{component:T(Qr),size:"24",class:"repo-icon"},null,8,["component"]),c("a",{href:m.value.html_url,target:"_blank",class:"repo-title"},I(m.value.full_name),9,Ki),P(T(At),{type:m.value.private?"warning":"success",size:"small",class:"repo-tag"},{default:Y(()=>[he(I(m.value.private?"私有":"公开"),1)]),_:1},8,["type"]),c("div",Qi,[P(T(se),{component:T(ds),size:"14",class:"cache-icon"},null,8,["component"]),c("span",null,I(ft()),1)]),c("div",Ji,[c("div",eo,[P(T(se),{component:T(us),size:"16"},null,8,["component"]),c("span",null,I(m.value.stargazers_count),1)]),c("div",to,[P(T(se),{component:T(Xr),size:"16"},null,8,["component"]),c("span",null,I(m.value.forks_count),1)]),c("div",no,[P(T(se),{component:T(qr),size:"16"},null,8,["component"]),c("span",null,I(m.value.watchers_count),1)])])]),c("p",ro,I(m.value.description||"暂无描述"),1),c("div",so,[c("div",io,[f[6]||(f[6]=c("h3",null,"最新提交",-1)),P(T(et),{text:"",size:"small",disabled:k.value,onClick:le},{icon:Y(()=>[P(T(se),{component:T(ss),class:Rt({"icon-spin":k.value})},null,8,["component","class"])]),default:Y(()=>[f[5]||(f[5]=he(" 刷新 "))]),_:1,__:[5]},8,["disabled"])]),(v(!0),R(Qe,null,Je(h.value[m.value.name]||[],x=>(v(),_e(T(Ct),{key:x.sha,class:"commit-card"},{default:Y(()=>[c("div",oo,[P(T(Ar),{round:"",size:"small",src:x.author?.avatar_url,"fallback-src":"https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png"},null,8,["src"]),c("div",lo,[c("div",ao,I(x.author?.login||x.commit.author.name),1),c("div",co,I(te(x.commit.author.date)),1)])]),c("div",uo,[c("a",{href:x.html_url,target:"_blank"},I(x.commit.message),9,po)]),c("div",ho,[x.stats?(v(),R("div",fo,[f[7]||(f[7]=c("div",{class:"stats-label"}," 新增 ",-1)),c("div",go," +"+I(x.stats.additions),1)])):X("",!0),x.stats?(v(),R("div",mo,[f[8]||(f[8]=c("div",{class:"stats-label"}," 删除 ",-1)),c("div",ko," -"+I(x.stats.deletions),1)])):X("",!0)])]),_:2},1024))),128)),(h.value[m.value.name]||[]).length===0?(v(),R("div",wo,[P(T(Tn),{description:"暂无提交记录"})])):X("",!0),(h.value[m.value.name]||[]).length>0?(v(),_e(T(et),{key:1,class:"view-more-btn",text:"",type:"primary",block:"",tag:"a",href:`${m.value.html_url}/commits`,target:"_blank"},{default:Y(()=>f[9]||(f[9]=[he(" 查看更多提交记录 ")])),_:1,__:[9]},8,["href"])):X("",!0)]),c("div",xo,[f[13]||(f[13]=c("div",{class:"section-header"},[c("h3",null,"最新发布")],-1)),(v(!0),R(Qe,null,Je(p.value[m.value.name]?.slice(0,2)||[],x=>(v(),_e(T(Ct),{key:x.id,class:"release-card"},{default:Y(()=>[c("div",_o,[P(T(se),{component:T(ns),size:"16"},null,8,["component"]),c("a",{href:x.html_url,target:"_blank"},I(x.name||x.tag_name),9,bo),x.prerelease?(v(),_e(T(At),{key:0,size:"small",type:"warning"},{default:Y(()=>f[10]||(f[10]=[he(" 预发布 ")])),_:1,__:[10]})):x.draft?(v(),_e(T(At),{key:1,size:"small",type:"info"},{default:Y(()=>f[11]||(f[11]=[he(" 草稿 ")])),_:1,__:[11]})):X("",!0)]),c("div",vo," 发布于 "+I(te(x.published_at)),1),x.body?(v(),R("div",{key:0,class:"release-body",innerHTML:C(x.body)},null,8,To)):X("",!0)]),_:2},1024))),128)),(p.value[m.value.name]||[]).length===0?(v(),R("div",yo,[P(T(Tn),{description:"暂无发布记录"})])):X("",!0),(p.value[m.value.name]||[]).length>0?(v(),_e(T(et),{key:1,class:"view-more-btn",text:"",type:"primary",block:"",tag:"a",href:`${m.value.html_url}/releases`,target:"_blank"},{default:Y(()=>f[12]||(f[12]=[he(" 查看更多发布 ")])),_:1,__:[12]},8,["href"])):X("",!0)])])):X("",!0),!o.value&&l.value?(v(),R("div",So,[P(T($r),{status:"error",title:"获取数据失败",description:l.value},{footer:Y(()=>[P(T(et),{onClick:f[0]||(f[0]=x=>ne(!0))},{default:Y(()=>f[14]||(f[14]=[he(" 重试 ")])),_:1,__:[14]})]),_:1},8,["description"])])):X("",!0)])]),f[16]||(f[16]=Bn('<div class="decorative-circle circle-1" data-v-95a1c391></div><div class="decorative-circle circle-2" data-v-95a1c391></div><div class="decorative-dots" data-v-95a1c391></div><div class="floating-shape shape-1" data-v-95a1c391></div><div class="floating-shape shape-2" data-v-95a1c391></div>',5))]))}}),Co=Rr(Eo,[["__scopeId","data-v-95a1c391"]]);export{Co as default};