@8wave/ai-elements 0.84.0 → 0.85.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (459) hide show
  1. package/README.md +109 -0
  2. package/dist/_chunks/Media-Cu3QLEp0.js +120 -0
  3. package/dist/_chunks/Media-Cu3QLEp0.js.map +1 -0
  4. package/dist/_chunks/{PkStreamingMarkdown-SVWv4Oye.js → PkStreamingMarkdown-C_fNNe9O.js} +307 -295
  5. package/dist/_chunks/PkStreamingMarkdown-C_fNNe9O.js.map +1 -0
  6. package/dist/_chunks/PkToolRequestConfirm-DfRFlvE0.js +48 -0
  7. package/dist/_chunks/PkToolRequestConfirm-DfRFlvE0.js.map +1 -0
  8. package/dist/_chunks/PkToolRequestGeolocation-BpH3Ev71.js +67 -0
  9. package/dist/_chunks/PkToolRequestGeolocation-BpH3Ev71.js.map +1 -0
  10. package/dist/_chunks/PkToolRequestOAuthConnection-Ctz50teF.js +63 -0
  11. package/dist/_chunks/PkToolRequestOAuthConnection-Ctz50teF.js.map +1 -0
  12. package/dist/_chunks/{PkToolShowArtifact-Ddz3DsWl.js → PkToolShowArtifact-Drp_zW-3.js} +33 -33
  13. package/dist/_chunks/{PkToolShowArtifact-Ddz3DsWl.js.map → PkToolShowArtifact-Drp_zW-3.js.map} +1 -1
  14. package/dist/_chunks/{PkToolShowCalendarEvent-Kl7HolAK.js → PkToolShowCalendarEvent-D1XYExcQ.js} +40 -40
  15. package/dist/_chunks/{PkToolShowCalendarEvent-Kl7HolAK.js.map → PkToolShowCalendarEvent-D1XYExcQ.js.map} +1 -1
  16. package/dist/_chunks/PkToolShowComparison-DjK4sXS0.js +64 -0
  17. package/dist/_chunks/{PkToolShowComparison-BzyqEIMV.js.map → PkToolShowComparison-DjK4sXS0.js.map} +1 -1
  18. package/dist/_chunks/PkToolShowContactForm-DresTyBD.js +119 -0
  19. package/dist/_chunks/PkToolShowContactForm-DresTyBD.js.map +1 -0
  20. package/dist/_chunks/PkToolShowDiagram-Bg6gQn7r.js +228 -0
  21. package/dist/_chunks/PkToolShowDiagram-Bg6gQn7r.js.map +1 -0
  22. package/dist/_chunks/{PkToolShowEmail-DsmUAss-.js → PkToolShowEmail-DGCKzD3s.js} +31 -31
  23. package/dist/_chunks/{PkToolShowEmail-DsmUAss-.js.map → PkToolShowEmail-DGCKzD3s.js.map} +1 -1
  24. package/dist/_chunks/{PkToolShowImageGallery-BDKm1kSX.js → PkToolShowImageGallery-BhyAMaes.js} +19 -19
  25. package/dist/_chunks/{PkToolShowImageGallery-BDKm1kSX.js.map → PkToolShowImageGallery-BhyAMaes.js.map} +1 -1
  26. package/dist/_chunks/PkToolShowLocation-BDVFw7qK.js +1140 -0
  27. package/dist/_chunks/PkToolShowLocation-BDVFw7qK.js.map +1 -0
  28. package/dist/_chunks/{PkToolShowMessage-xy09z85p.js → PkToolShowMessage-BqH-tE8K.js} +27 -27
  29. package/dist/_chunks/{PkToolShowMessage-xy09z85p.js.map → PkToolShowMessage-BqH-tE8K.js.map} +1 -1
  30. package/dist/_chunks/PkToolShowMultipleChoice-DNfjzGxI.js +81 -0
  31. package/dist/_chunks/PkToolShowMultipleChoice-DNfjzGxI.js.map +1 -0
  32. package/dist/_chunks/{PkToolShowProductList-Al_csZaz.js → PkToolShowProductList-DeU4qyZp.js} +26 -26
  33. package/dist/_chunks/{PkToolShowProductList-Al_csZaz.js.map → PkToolShowProductList-DeU4qyZp.js.map} +1 -1
  34. package/dist/_chunks/{PkToolShowQrCode-RUJ3enlC.js → PkToolShowQrCode-BrljSubk.js} +22 -22
  35. package/dist/_chunks/{PkToolShowQrCode-RUJ3enlC.js.map → PkToolShowQrCode-BrljSubk.js.map} +1 -1
  36. package/dist/_chunks/PkToolShowSources-Ca36N91a.js +396 -0
  37. package/dist/_chunks/PkToolShowSources-Ca36N91a.js.map +1 -0
  38. package/dist/_chunks/PkToolShowSuggestedReply-2lyEikVx.js +47 -0
  39. package/dist/_chunks/PkToolShowSuggestedReply-2lyEikVx.js.map +1 -0
  40. package/dist/_chunks/{PkToolShowWeather-CSua0gHs.js → PkToolShowWeather-CnTyMQTT.js} +63 -63
  41. package/dist/_chunks/{PkToolShowWeather-CSua0gHs.js.map → PkToolShowWeather-CnTyMQTT.js.map} +1 -1
  42. package/dist/_chunks/{PkToolShowWebPages-8GWslqfY.js → PkToolShowWebPages-X0tkNJhc.js} +19 -19
  43. package/dist/_chunks/{PkToolShowWebPages-8GWslqfY.js.map → PkToolShowWebPages-X0tkNJhc.js.map} +1 -1
  44. package/dist/_chunks/{PkUrl-CeYapZ9E.js → PkUrl-ChRoceUn.js} +12 -12
  45. package/dist/_chunks/{PkUrl-CeYapZ9E.js.map → PkUrl-ChRoceUn.js.map} +1 -1
  46. package/dist/_chunks/{VvCheckbox.es-kAXSBkfn.js → VvCheckbox.es-CjtdGRKd.js} +63 -63
  47. package/dist/_chunks/{VvCheckbox.es-kAXSBkfn.js.map → VvCheckbox.es-CjtdGRKd.js.map} +1 -1
  48. package/dist/_chunks/{VvCheckboxGroup.es-Db-bLs2D.js → VvCheckboxGroup.es-DYHTVBaF.js} +91 -91
  49. package/dist/_chunks/{VvCheckboxGroup.es-Db-bLs2D.js.map → VvCheckboxGroup.es-DYHTVBaF.js.map} +1 -1
  50. package/dist/_chunks/VvCombobox.es-BxxQaz48.js +1998 -0
  51. package/dist/_chunks/{VvCombobox.es-CUUNtqyJ.js.map → VvCombobox.es-BxxQaz48.js.map} +1 -1
  52. package/dist/_chunks/{VvInputText.es-DeAexenB.js → VvInputText.es-B13qbrJj.js} +420 -420
  53. package/dist/_chunks/{VvInputText.es-DeAexenB.js.map → VvInputText.es-B13qbrJj.js.map} +1 -1
  54. package/dist/_chunks/{VvRadio.es-lb_BYfq5.js → VvRadio.es-DuSk75Cl.js} +117 -117
  55. package/dist/_chunks/{VvRadio.es-lb_BYfq5.js.map → VvRadio.es-DuSk75Cl.js.map} +1 -1
  56. package/dist/_chunks/{VvRadioGroup.es-BjvxDtU_.js → VvRadioGroup.es-BjPz7xfR.js} +91 -91
  57. package/dist/_chunks/{VvRadioGroup.es-BjvxDtU_.js.map → VvRadioGroup.es-BjPz7xfR.js.map} +1 -1
  58. package/dist/_chunks/{VvSelect.es-C9hkmhJf.js → VvSelect.es-CKFBoQN-.js} +119 -119
  59. package/dist/_chunks/{VvSelect.es-C9hkmhJf.js.map → VvSelect.es-CKFBoQN-.js.map} +1 -1
  60. package/dist/_chunks/VvTextarea.es-CICFo2Rh.js +1110 -0
  61. package/dist/_chunks/{VvTextarea.es-B5txwRRm.js.map → VvTextarea.es-CICFo2Rh.js.map} +1 -1
  62. package/dist/_chunks/dist-Dplp2WfI.js +799 -0
  63. package/dist/_chunks/{dist-DHG50RNO.js.map → dist-Dplp2WfI.js.map} +1 -1
  64. package/dist/_chunks/{esm-8uCGyZon.js → esm-CtL6xvv9.js} +19 -19
  65. package/dist/_chunks/{esm-8uCGyZon.js.map → esm-CtL6xvv9.js.map} +1 -1
  66. package/dist/_chunks/{floating-ui.vue-bC-fUl9J.js → floating-ui.vue-BWkka9Fn.js} +6 -6
  67. package/dist/_chunks/{floating-ui.vue-bC-fUl9J.js.map → floating-ui.vue-BWkka9Fn.js.map} +1 -1
  68. package/dist/_chunks/{iconify-B2ZQHsNr.js → iconify-DlYsYC8z.js} +5 -5
  69. package/dist/_chunks/{iconify-B2ZQHsNr.js.map → iconify-DlYsYC8z.js.map} +1 -1
  70. package/dist/_chunks/{index.es-CusxIi0s.js → index.es-9_Td6lnP.js} +2306 -2306
  71. package/dist/_chunks/{index.es-CusxIi0s.js.map → index.es-9_Td6lnP.js.map} +1 -1
  72. package/dist/_chunks/index.es-BC4SxvmK.js +994 -0
  73. package/dist/_chunks/index.es-BC4SxvmK.js.map +1 -0
  74. package/dist/_chunks/{src-RaVs-PqK.js → src-L9Jq1dyr.js} +11 -11
  75. package/dist/_chunks/{src-RaVs-PqK.js.map → src-L9Jq1dyr.js.map} +1 -1
  76. package/dist/_chunks/{useLightbox-C7JFztx4.js → useLightbox-kKLPhYUx.js} +9 -7
  77. package/dist/_chunks/{useLightbox-C7JFztx4.js.map → useLightbox-kKLPhYUx.js.map} +1 -1
  78. package/dist/_chunks/{vue-i18n-fHp3k8qw.js → vue-i18n-BjaFxqmH.js} +40 -40
  79. package/dist/_chunks/{vue-i18n-fHp3k8qw.js.map → vue-i18n-BjaFxqmH.js.map} +1 -1
  80. package/dist/_chunks/{vue.runtime.esm-bundler-7_kt7y9A.js → vue.runtime.esm-bundler-B-iHWsf4.js} +702 -702
  81. package/dist/_chunks/{vue.runtime.esm-bundler-7_kt7y9A.js.map → vue.runtime.esm-bundler-B-iHWsf4.js.map} +1 -1
  82. package/dist/ai-elements.es.js +4016 -10669
  83. package/dist/ai-elements.es.js.map +1 -1
  84. package/dist-vue/PkChatbot.js +1 -1
  85. package/dist-vue/PkChatbotFeedbackForm.js +1 -1
  86. package/dist-vue/PkChatbotFilePreview.js +1 -1
  87. package/dist-vue/PkChatbotInput.js +1 -1
  88. package/dist-vue/PkChatbotMessages.js +1 -1
  89. package/dist-vue/PkChatbotViewChat.js +1 -1
  90. package/dist-vue/PkChatbotViewConversations.js +1 -1
  91. package/dist-vue/PkChatbotViewProfile.js +1 -1
  92. package/dist-vue/_chunks/Media-D5pFbMNh.js +120 -0
  93. package/dist-vue/_chunks/Media-D5pFbMNh.js.map +1 -0
  94. package/dist-vue/_chunks/PkChatbot-UDExD81D.js +190 -0
  95. package/dist-vue/_chunks/PkChatbot-UDExD81D.js.map +1 -0
  96. package/dist-vue/_chunks/{PkChatbotFeedbackForm-BiVUo4kv.js → PkChatbotFeedbackForm-Dy2ojy2E.js} +1 -1
  97. package/dist-vue/_chunks/{PkChatbotFeedbackForm-BiVUo4kv.js.map → PkChatbotFeedbackForm-Dy2ojy2E.js.map} +1 -1
  98. package/dist-vue/_chunks/{PkChatbotFilePreview-0N9ASbIp.js → PkChatbotFilePreview-7hRouK9o.js} +5 -3
  99. package/dist-vue/_chunks/PkChatbotFilePreview-7hRouK9o.js.map +1 -0
  100. package/dist-vue/_chunks/{PkChatbotInput-CsazCkTA.js → PkChatbotInput-Dn4KFNfx.js} +3 -3
  101. package/dist-vue/_chunks/{PkChatbotInput-CsazCkTA.js.map → PkChatbotInput-Dn4KFNfx.js.map} +1 -1
  102. package/dist-vue/_chunks/{PkChatbotMessages-BDziUgck.js → PkChatbotMessages-DUOrit9Y.js} +47 -33
  103. package/dist-vue/_chunks/PkChatbotMessages-DUOrit9Y.js.map +1 -0
  104. package/dist-vue/_chunks/PkChatbotViewChat-BgH9Op_G.js +225 -0
  105. package/dist-vue/_chunks/PkChatbotViewChat-BgH9Op_G.js.map +1 -0
  106. package/dist-vue/_chunks/{PkChatbotViewConversations-kIc1reZT.js → PkChatbotViewConversations-B9KC-0ir.js} +13 -13
  107. package/dist-vue/_chunks/{PkChatbotViewConversations-kIc1reZT.js.map → PkChatbotViewConversations-B9KC-0ir.js.map} +1 -1
  108. package/dist-vue/_chunks/{PkChatbotViewProfile-pSKOgtIR.js → PkChatbotViewProfile-C0q898hz.js} +2 -2
  109. package/dist-vue/_chunks/{PkChatbotViewProfile-pSKOgtIR.js.map → PkChatbotViewProfile-C0q898hz.js.map} +1 -1
  110. package/dist-vue/_chunks/{PkStreamingMarkdown-BUiAi-qv.js → PkStreamingMarkdown-BDtjktHX.js} +296 -284
  111. package/dist-vue/_chunks/PkStreamingMarkdown-BDtjktHX.js.map +1 -0
  112. package/dist-vue/_chunks/PkSvgViewer-DoClMDnF.js +125 -0
  113. package/dist-vue/_chunks/PkSvgViewer-DoClMDnF.js.map +1 -0
  114. package/dist-vue/_chunks/PkToolRequestConfirm-BcZ10rMb.js +48 -0
  115. package/dist-vue/_chunks/{PkToolRequestConfirm-BsHpoI-c.js.map → PkToolRequestConfirm-BcZ10rMb.js.map} +1 -1
  116. package/dist-vue/_chunks/PkToolRequestGeolocation-DXSqWFTR.js +67 -0
  117. package/dist-vue/_chunks/PkToolRequestGeolocation-DXSqWFTR.js.map +1 -0
  118. package/dist-vue/_chunks/PkToolRequestOAuthConnection-CIrFBhxL.js +63 -0
  119. package/dist-vue/_chunks/{PkToolRequestOAuthConnection-shcJXxtk.js.map → PkToolRequestOAuthConnection-CIrFBhxL.js.map} +1 -1
  120. package/dist-vue/_chunks/{PkToolShowArtifact-D4BVWuMi.js → PkToolShowArtifact-BVFPfZT8.js} +3 -3
  121. package/dist-vue/_chunks/{PkToolShowArtifact-D4BVWuMi.js.map → PkToolShowArtifact-BVFPfZT8.js.map} +1 -1
  122. package/dist-vue/_chunks/{PkToolShowCalendarEvent-Q_2-tXmC.js → PkToolShowCalendarEvent-9jaBqWBJ.js} +3 -3
  123. package/dist-vue/_chunks/{PkToolShowCalendarEvent-Q_2-tXmC.js.map → PkToolShowCalendarEvent-9jaBqWBJ.js.map} +1 -1
  124. package/dist-vue/_chunks/{PkToolShowComparison-BpYZb-z5.js → PkToolShowComparison-D1YHzvyy.js} +2 -2
  125. package/dist-vue/_chunks/{PkToolShowComparison-BpYZb-z5.js.map → PkToolShowComparison-D1YHzvyy.js.map} +1 -1
  126. package/dist-vue/_chunks/{PkToolShowContactForm-DuOeYoCU.js → PkToolShowContactForm-BVtuQVGs.js} +5 -5
  127. package/dist-vue/_chunks/{PkToolShowContactForm-DuOeYoCU.js.map → PkToolShowContactForm-BVtuQVGs.js.map} +1 -1
  128. package/dist-vue/_chunks/PkToolShowDiagram-CLyYku9I.js +112 -0
  129. package/dist-vue/_chunks/PkToolShowDiagram-CLyYku9I.js.map +1 -0
  130. package/dist-vue/_chunks/{PkToolShowEmail-CDR-Cw-s.js → PkToolShowEmail-BZzv2-6y.js} +2 -2
  131. package/dist-vue/_chunks/{PkToolShowEmail-CDR-Cw-s.js.map → PkToolShowEmail-BZzv2-6y.js.map} +1 -1
  132. package/dist-vue/_chunks/{PkToolShowImageGallery-DhGmTPMP.js → PkToolShowImageGallery-Bt7QNtGe.js} +4 -4
  133. package/dist-vue/_chunks/{PkToolShowImageGallery-DhGmTPMP.js.map → PkToolShowImageGallery-Bt7QNtGe.js.map} +1 -1
  134. package/dist-vue/_chunks/PkToolShowLocation-DAg9HeYq.js +143 -0
  135. package/dist-vue/_chunks/PkToolShowLocation-DAg9HeYq.js.map +1 -0
  136. package/dist-vue/_chunks/{PkToolShowMessage-Cqb0WP-x.js → PkToolShowMessage-DvnO4DDb.js} +2 -2
  137. package/dist-vue/_chunks/{PkToolShowMessage-Cqb0WP-x.js.map → PkToolShowMessage-DvnO4DDb.js.map} +1 -1
  138. package/dist-vue/_chunks/{PkToolShowMultipleChoice-x7hNm6I2.js → PkToolShowMultipleChoice-BEWDze3p.js} +2 -2
  139. package/dist-vue/_chunks/{PkToolShowMultipleChoice-x7hNm6I2.js.map → PkToolShowMultipleChoice-BEWDze3p.js.map} +1 -1
  140. package/dist-vue/_chunks/{PkToolShowProductList-CMFBvHAY.js → PkToolShowProductList-Cyh_fdTh.js} +3 -3
  141. package/dist-vue/_chunks/{PkToolShowProductList-CMFBvHAY.js.map → PkToolShowProductList-Cyh_fdTh.js.map} +1 -1
  142. package/dist-vue/_chunks/{PkToolShowQrCode-LFCfdWyu.js → PkToolShowQrCode-Dz3HlJGs.js} +2 -2
  143. package/dist-vue/_chunks/{PkToolShowQrCode-LFCfdWyu.js.map → PkToolShowQrCode-Dz3HlJGs.js.map} +1 -1
  144. package/dist-vue/_chunks/{PkToolShowSources-D0wbYpTR.js → PkToolShowSources-cFvwqgDz.js} +21 -21
  145. package/dist-vue/_chunks/{PkToolShowSources-D0wbYpTR.js.map → PkToolShowSources-cFvwqgDz.js.map} +1 -1
  146. package/dist-vue/_chunks/{PkToolShowSuggestedReply-CIP1xfB1.js → PkToolShowSuggestedReply-DIrmkOUq.js} +2 -2
  147. package/dist-vue/_chunks/{PkToolShowSuggestedReply-CIP1xfB1.js.map → PkToolShowSuggestedReply-DIrmkOUq.js.map} +1 -1
  148. package/dist-vue/_chunks/{PkToolShowWeather-zT-4E-aX.js → PkToolShowWeather-CKFmoP6M.js} +1 -1
  149. package/dist-vue/_chunks/{PkToolShowWeather-zT-4E-aX.js.map → PkToolShowWeather-CKFmoP6M.js.map} +1 -1
  150. package/dist-vue/_chunks/{PkToolShowWebPages-DLc-5nE0.js → PkToolShowWebPages-DDsErkru.js} +4 -4
  151. package/dist-vue/_chunks/{PkToolShowWebPages-DLc-5nE0.js.map → PkToolShowWebPages-DDsErkru.js.map} +1 -1
  152. package/dist-vue/_chunks/{PkUrl-Da1k1VEM.js → PkUrl-DdRprvPJ.js} +1 -1
  153. package/dist-vue/_chunks/{PkUrl-Da1k1VEM.js.map → PkUrl-DdRprvPJ.js.map} +1 -1
  154. package/dist-vue/_chunks/{apl-gZJv8aE0.js → apl-CiKuf38q.js} +1 -1
  155. package/dist-vue/_chunks/{apl-gZJv8aE0.js.map → apl-CiKuf38q.js.map} +1 -1
  156. package/dist-vue/_chunks/{asciiarmor-BKzT2CxY.js → asciiarmor-Cv_figT_.js} +1 -1
  157. package/dist-vue/_chunks/{asciiarmor-BKzT2CxY.js.map → asciiarmor-Cv_figT_.js.map} +1 -1
  158. package/dist-vue/_chunks/{asn1-CUOx9oeT.js → asn1-o22T4Rhb.js} +1 -1
  159. package/dist-vue/_chunks/{asn1-CUOx9oeT.js.map → asn1-o22T4Rhb.js.map} +1 -1
  160. package/dist-vue/_chunks/{asterisk-CtQouKe4.js → asterisk-BVQJUqvD.js} +1 -1
  161. package/dist-vue/_chunks/{asterisk-CtQouKe4.js.map → asterisk-BVQJUqvD.js.map} +1 -1
  162. package/dist-vue/_chunks/{brainfuck-C6v-NuzS.js → brainfuck-BUjoLd18.js} +1 -1
  163. package/dist-vue/_chunks/{brainfuck-C6v-NuzS.js.map → brainfuck-BUjoLd18.js.map} +1 -1
  164. package/dist-vue/_chunks/{clike-DBPD1mz3.js → clike-DnfYdh2t.js} +1 -1
  165. package/dist-vue/_chunks/{clike-DBPD1mz3.js.map → clike-DnfYdh2t.js.map} +1 -1
  166. package/dist-vue/_chunks/{clojure-xtczAEDV.js → clojure-Spy-VDMe.js} +1 -1
  167. package/dist-vue/_chunks/{clojure-xtczAEDV.js.map → clojure-Spy-VDMe.js.map} +1 -1
  168. package/dist-vue/_chunks/{cmake-DdDZ3JWF.js → cmake-Ctp7rWzy.js} +1 -1
  169. package/dist-vue/_chunks/{cmake-DdDZ3JWF.js.map → cmake-Ctp7rWzy.js.map} +1 -1
  170. package/dist-vue/_chunks/{cobol-BAMxIfCa.js → cobol-DX59jXra.js} +1 -1
  171. package/dist-vue/_chunks/{cobol-BAMxIfCa.js.map → cobol-DX59jXra.js.map} +1 -1
  172. package/dist-vue/_chunks/{coffeescript-CGTuQQp6.js → coffeescript-Bq4R3kBT.js} +1 -1
  173. package/dist-vue/_chunks/{coffeescript-CGTuQQp6.js.map → coffeescript-Bq4R3kBT.js.map} +1 -1
  174. package/dist-vue/_chunks/{commonlisp-Ccb03OgK.js → commonlisp-qnCvPlJb.js} +1 -1
  175. package/dist-vue/_chunks/{commonlisp-Ccb03OgK.js.map → commonlisp-qnCvPlJb.js.map} +1 -1
  176. package/dist-vue/_chunks/{createChatbotApiClient-C_E35aQf.js → createChatbotApiClient-C-jT5hE0.js} +96 -95
  177. package/dist-vue/_chunks/createChatbotApiClient-C-jT5hE0.js.map +1 -0
  178. package/dist-vue/_chunks/{crystal-DdoSQSAv.js → crystal-B02ya4cQ.js} +1 -1
  179. package/dist-vue/_chunks/{crystal-DdoSQSAv.js.map → crystal-B02ya4cQ.js.map} +1 -1
  180. package/dist-vue/_chunks/{css-TU14Ca1R.js → css-CzWlO-Xb.js} +1 -1
  181. package/dist-vue/_chunks/{css-TU14Ca1R.js.map → css-CzWlO-Xb.js.map} +1 -1
  182. package/dist-vue/_chunks/{cypher-CXLa4pI5.js → cypher-CLyYkG2-.js} +1 -1
  183. package/dist-vue/_chunks/{cypher-CXLa4pI5.js.map → cypher-CLyYkG2-.js.map} +1 -1
  184. package/dist-vue/_chunks/{d-BArAGMlp.js → d-DGUXRLLi.js} +1 -1
  185. package/dist-vue/_chunks/{d-BArAGMlp.js.map → d-DGUXRLLi.js.map} +1 -1
  186. package/dist-vue/_chunks/{diff-C3LIbTwG.js → diff-DRe8JdWk.js} +1 -1
  187. package/dist-vue/_chunks/{diff-C3LIbTwG.js.map → diff-DRe8JdWk.js.map} +1 -1
  188. package/dist-vue/_chunks/{dist-CUYb2Ykk.js → dist-7BKkikZw.js} +2 -2
  189. package/dist-vue/_chunks/{dist-CUYb2Ykk.js.map → dist-7BKkikZw.js.map} +1 -1
  190. package/dist-vue/_chunks/{dist-DlMrwhCk.js → dist-7u7jBD-H.js} +1 -1
  191. package/dist-vue/_chunks/{dist-DlMrwhCk.js.map → dist-7u7jBD-H.js.map} +1 -1
  192. package/dist-vue/_chunks/{dist-Bj32YA2b.js → dist-8BVnK6QW.js} +4 -4
  193. package/dist-vue/_chunks/{dist-Bj32YA2b.js.map → dist-8BVnK6QW.js.map} +1 -1
  194. package/dist-vue/_chunks/{dist-BtzPY8uU.js → dist-9IwNDEHQ.js} +2 -2
  195. package/dist-vue/_chunks/{dist-BtzPY8uU.js.map → dist-9IwNDEHQ.js.map} +1 -1
  196. package/dist-vue/_chunks/{dist-BMTTRExI.js → dist-BGTESNxJ.js} +1 -1
  197. package/dist-vue/_chunks/{dist-BMTTRExI.js.map → dist-BGTESNxJ.js.map} +1 -1
  198. package/dist-vue/_chunks/{dist-BUm8Nt7d.js → dist-BWdaSTBW.js} +2 -2
  199. package/dist-vue/_chunks/{dist-BUm8Nt7d.js.map → dist-BWdaSTBW.js.map} +1 -1
  200. package/dist-vue/_chunks/{dist-tDt7-5Hh.js → dist-BtFxPYCM.js} +1 -1
  201. package/dist-vue/_chunks/{dist-tDt7-5Hh.js.map → dist-BtFxPYCM.js.map} +1 -1
  202. package/dist-vue/_chunks/{dist-BM3i3wHC.js → dist-BwrhMmQA.js} +1 -1
  203. package/dist-vue/_chunks/{dist-BM3i3wHC.js.map → dist-BwrhMmQA.js.map} +1 -1
  204. package/dist-vue/_chunks/{dist-B_3TGJwf.js → dist-Cm-J5l4S2.js} +1 -1
  205. package/dist-vue/_chunks/dist-Cm-J5l4S2.js.map +1 -0
  206. package/dist-vue/_chunks/{dist-CUah0Xys.js → dist-CnmeOb2N.js} +3 -3
  207. package/dist-vue/_chunks/{dist-CUah0Xys.js.map → dist-CnmeOb2N.js.map} +1 -1
  208. package/dist-vue/_chunks/{dist-DI-XHVdE.js → dist-D34LRAfv.js} +2 -2
  209. package/dist-vue/_chunks/{dist-DI-XHVdE.js.map → dist-D34LRAfv.js.map} +1 -1
  210. package/dist-vue/_chunks/{dist-DACzskoy2.js → dist-D35h9xud2.js} +3 -3
  211. package/dist-vue/_chunks/{dist-DACzskoy2.js.map → dist-D35h9xud2.js.map} +1 -1
  212. package/dist-vue/_chunks/dist-DMKuVADK2.js +441 -0
  213. package/dist-vue/_chunks/dist-DMKuVADK2.js.map +1 -0
  214. package/dist-vue/_chunks/{dist-CwWFe7zF.js → dist-Dg1nGvwP.js} +1 -1
  215. package/dist-vue/_chunks/{dist-CwWFe7zF.js.map → dist-Dg1nGvwP.js.map} +1 -1
  216. package/dist-vue/_chunks/{dist-B2nNrire.js → dist-YcwJuFBx.js} +2 -2
  217. package/dist-vue/_chunks/{dist-B2nNrire.js.map → dist-YcwJuFBx.js.map} +1 -1
  218. package/dist-vue/_chunks/{dist-2JsKACZj.js → dist-b5CbbjSp.js} +1 -1
  219. package/dist-vue/_chunks/{dist-2JsKACZj.js.map → dist-b5CbbjSp.js.map} +1 -1
  220. package/dist-vue/_chunks/{dist-Cr5fwgdD.js → dist-kywGQjza.js} +2 -2
  221. package/dist-vue/_chunks/{dist-Cr5fwgdD.js.map → dist-kywGQjza.js.map} +1 -1
  222. package/dist-vue/_chunks/{dist-Df_bnb-v.js → dist-l6sREGf7.js} +1 -1
  223. package/dist-vue/_chunks/{dist-Df_bnb-v.js.map → dist-l6sREGf7.js.map} +1 -1
  224. package/dist-vue/_chunks/{dist-B1Xwe66S.js → dist-x5C6fPIQ.js} +2 -2
  225. package/dist-vue/_chunks/{dist-B1Xwe66S.js.map → dist-x5C6fPIQ.js.map} +1 -1
  226. package/dist-vue/_chunks/{dist-BgntOJ9J.js → dist-x73cXb-w.js} +3 -3
  227. package/dist-vue/_chunks/{dist-BgntOJ9J.js.map → dist-x73cXb-w.js.map} +1 -1
  228. package/dist-vue/_chunks/{dockerfile-DzujQve1.js → dockerfile-BpKVodrd.js} +2 -2
  229. package/dist-vue/_chunks/{dockerfile-DzujQve1.js.map → dockerfile-BpKVodrd.js.map} +1 -1
  230. package/dist-vue/_chunks/{dtd-B1f0YqWO.js → dtd-q9vHTxZ1.js} +1 -1
  231. package/dist-vue/_chunks/{dtd-B1f0YqWO.js.map → dtd-q9vHTxZ1.js.map} +1 -1
  232. package/dist-vue/_chunks/{dylan-bedk9ukf.js → dylan-CTRyD_yN.js} +1 -1
  233. package/dist-vue/_chunks/{dylan-bedk9ukf.js.map → dylan-CTRyD_yN.js.map} +1 -1
  234. package/dist-vue/_chunks/{ebnf-Cs5X8R8U.js → ebnf-DPw9AGDC.js} +1 -1
  235. package/dist-vue/_chunks/{ebnf-Cs5X8R8U.js.map → ebnf-DPw9AGDC.js.map} +1 -1
  236. package/dist-vue/_chunks/{ecl-CXPqOJjc.js → ecl-CuLlc0XE.js} +1 -1
  237. package/dist-vue/_chunks/{ecl-CXPqOJjc.js.map → ecl-CuLlc0XE.js.map} +1 -1
  238. package/dist-vue/_chunks/{eiffel-Oa4yGKHO.js → eiffel-DYyjt7F3.js} +1 -1
  239. package/dist-vue/_chunks/{eiffel-Oa4yGKHO.js.map → eiffel-DYyjt7F3.js.map} +1 -1
  240. package/dist-vue/_chunks/{elm-CEbGa4zC.js → elm-DcYv6ZJY.js} +1 -1
  241. package/dist-vue/_chunks/{elm-CEbGa4zC.js.map → elm-DcYv6ZJY.js.map} +1 -1
  242. package/dist-vue/_chunks/{erlang-BNnTSw8C.js → erlang-nipePvRg.js} +1 -1
  243. package/dist-vue/_chunks/{erlang-BNnTSw8C.js.map → erlang-nipePvRg.js.map} +1 -1
  244. package/dist-vue/_chunks/{factor-BIER3ncI.js → factor-C_jm0Hi8.js} +2 -2
  245. package/dist-vue/_chunks/{factor-BIER3ncI.js.map → factor-C_jm0Hi8.js.map} +1 -1
  246. package/dist-vue/_chunks/{fcl-HxmGK-W5.js → fcl-CqmPhDgo.js} +1 -1
  247. package/dist-vue/_chunks/{fcl-HxmGK-W5.js.map → fcl-CqmPhDgo.js.map} +1 -1
  248. package/dist-vue/_chunks/{forth-BoRU1oYL.js → forth-GAg6IwF6.js} +1 -1
  249. package/dist-vue/_chunks/{forth-BoRU1oYL.js.map → forth-GAg6IwF6.js.map} +1 -1
  250. package/dist-vue/_chunks/{fortran-8E8eLx-x.js → fortran-DyrSTiy7.js} +1 -1
  251. package/dist-vue/_chunks/{fortran-8E8eLx-x.js.map → fortran-DyrSTiy7.js.map} +1 -1
  252. package/dist-vue/_chunks/{gas-DzrG9cIr.js → gas-CBY6LBUu.js} +1 -1
  253. package/dist-vue/_chunks/{gas-DzrG9cIr.js.map → gas-CBY6LBUu.js.map} +1 -1
  254. package/dist-vue/_chunks/{gherkin-d-xjbPN9.js → gherkin-F6vIWaV0.js} +1 -1
  255. package/dist-vue/_chunks/{gherkin-d-xjbPN9.js.map → gherkin-F6vIWaV0.js.map} +1 -1
  256. package/dist-vue/_chunks/{groovy-DluoS5pg.js → groovy-DBvpslJE.js} +1 -1
  257. package/dist-vue/_chunks/{groovy-DluoS5pg.js.map → groovy-DBvpslJE.js.map} +1 -1
  258. package/dist-vue/_chunks/{haskell-DWzSrwGO.js → haskell-CzcXTuY3.js} +1 -1
  259. package/dist-vue/_chunks/{haskell-DWzSrwGO.js.map → haskell-CzcXTuY3.js.map} +1 -1
  260. package/dist-vue/_chunks/{haxe-nucWqdAl.js → haxe-C0K87vd-.js} +1 -1
  261. package/dist-vue/_chunks/{haxe-nucWqdAl.js.map → haxe-C0K87vd-.js.map} +1 -1
  262. package/dist-vue/_chunks/{http-wcQY3fv1.js → http-lhCYiIUK.js} +1 -1
  263. package/dist-vue/_chunks/{http-wcQY3fv1.js.map → http-lhCYiIUK.js.map} +1 -1
  264. package/dist-vue/_chunks/{idl-BZjtu2uP.js → idl-DiwlVJ2e.js} +1 -1
  265. package/dist-vue/_chunks/{idl-BZjtu2uP.js.map → idl-DiwlVJ2e.js.map} +1 -1
  266. package/dist-vue/_chunks/{javascript-D-DeSYfi.js → javascript-DoLQ_01m.js} +1 -1
  267. package/dist-vue/_chunks/{javascript-D-DeSYfi.js.map → javascript-DoLQ_01m.js.map} +1 -1
  268. package/dist-vue/_chunks/{julia-BdkHYLKN.js → julia-D-9kev9I.js} +1 -1
  269. package/dist-vue/_chunks/{julia-BdkHYLKN.js.map → julia-D-9kev9I.js.map} +1 -1
  270. package/dist-vue/_chunks/{livescript-B-rE2yGH.js → livescript-BXKPrYL1.js} +1 -1
  271. package/dist-vue/_chunks/{livescript-B-rE2yGH.js.map → livescript-BXKPrYL1.js.map} +1 -1
  272. package/dist-vue/_chunks/{lua-8MR4kmO6.js → lua-CmoiUImJ.js} +1 -1
  273. package/dist-vue/_chunks/{lua-8MR4kmO6.js.map → lua-CmoiUImJ.js.map} +1 -1
  274. package/dist-vue/_chunks/{mathematica-DsQZ56s1.js → mathematica-C0zVH3hb.js} +1 -1
  275. package/dist-vue/_chunks/{mathematica-DsQZ56s1.js.map → mathematica-C0zVH3hb.js.map} +1 -1
  276. package/dist-vue/_chunks/{mbox-BlqAOSZk.js → mbox-BQjArxBt.js} +1 -1
  277. package/dist-vue/_chunks/{mbox-BlqAOSZk.js.map → mbox-BQjArxBt.js.map} +1 -1
  278. package/dist-vue/_chunks/{mirc-CeWiL7Xj.js → mirc-CH7vSjBP.js} +1 -1
  279. package/dist-vue/_chunks/{mirc-CeWiL7Xj.js.map → mirc-CH7vSjBP.js.map} +1 -1
  280. package/dist-vue/_chunks/{mllike-B4w9rV72.js → mllike-BtNDtwtH.js} +1 -1
  281. package/dist-vue/_chunks/{mllike-B4w9rV72.js.map → mllike-BtNDtwtH.js.map} +1 -1
  282. package/dist-vue/_chunks/{modelica-BeZSjbWb.js → modelica-D0D4gw71.js} +1 -1
  283. package/dist-vue/_chunks/{modelica-BeZSjbWb.js.map → modelica-D0D4gw71.js.map} +1 -1
  284. package/dist-vue/_chunks/{mscgen-Diy4rp5E.js → mscgen-BREuUTcQ.js} +1 -1
  285. package/dist-vue/_chunks/{mscgen-Diy4rp5E.js.map → mscgen-BREuUTcQ.js.map} +1 -1
  286. package/dist-vue/_chunks/{mumps-DHp_hepw.js → mumps-Cj1f6cBa.js} +1 -1
  287. package/dist-vue/_chunks/{mumps-DHp_hepw.js.map → mumps-Cj1f6cBa.js.map} +1 -1
  288. package/dist-vue/_chunks/{nginx-ZUseZ3KV.js → nginx-CTa-DOcs.js} +1 -1
  289. package/dist-vue/_chunks/{nginx-ZUseZ3KV.js.map → nginx-CTa-DOcs.js.map} +1 -1
  290. package/dist-vue/_chunks/{nsis-g-2nkKRi.js → nsis-BWAOyRUP.js} +2 -2
  291. package/dist-vue/_chunks/{nsis-g-2nkKRi.js.map → nsis-BWAOyRUP.js.map} +1 -1
  292. package/dist-vue/_chunks/{ntriples-COZl-CW9.js → ntriples-zIN_qrIe.js} +1 -1
  293. package/dist-vue/_chunks/{ntriples-COZl-CW9.js.map → ntriples-zIN_qrIe.js.map} +1 -1
  294. package/dist-vue/_chunks/{octave-qefefCKI.js → octave-DIV6S7Pt.js} +1 -1
  295. package/dist-vue/_chunks/{octave-qefefCKI.js.map → octave-DIV6S7Pt.js.map} +1 -1
  296. package/dist-vue/_chunks/{oz-B7xBKeTb.js → oz-5rNpxapS.js} +1 -1
  297. package/dist-vue/_chunks/{oz-B7xBKeTb.js.map → oz-5rNpxapS.js.map} +1 -1
  298. package/dist-vue/_chunks/{pascal-B0deIU4R.js → pascal-7C5712Nh.js} +1 -1
  299. package/dist-vue/_chunks/{pascal-B0deIU4R.js.map → pascal-7C5712Nh.js.map} +1 -1
  300. package/dist-vue/_chunks/{perl-CrEeHa0-.js → perl-eAVlqDxG.js} +1 -1
  301. package/dist-vue/_chunks/{perl-CrEeHa0-.js.map → perl-eAVlqDxG.js.map} +1 -1
  302. package/dist-vue/_chunks/{pig-CQcAmjLr.js → pig-C6AL_r8r.js} +1 -1
  303. package/dist-vue/_chunks/{pig-CQcAmjLr.js.map → pig-C6AL_r8r.js.map} +1 -1
  304. package/dist-vue/_chunks/{powershell-CEOsLn17.js → powershell-DsA9A7ee.js} +1 -1
  305. package/dist-vue/_chunks/{powershell-CEOsLn17.js.map → powershell-DsA9A7ee.js.map} +1 -1
  306. package/dist-vue/_chunks/{properties-CIZ3QFxD.js → properties-DuF6jBwF.js} +1 -1
  307. package/dist-vue/_chunks/{properties-CIZ3QFxD.js.map → properties-DuF6jBwF.js.map} +1 -1
  308. package/dist-vue/_chunks/{protobuf-B9FrV1JK.js → protobuf-nlPU8ZM-.js} +1 -1
  309. package/dist-vue/_chunks/{protobuf-B9FrV1JK.js.map → protobuf-nlPU8ZM-.js.map} +1 -1
  310. package/dist-vue/_chunks/{pug-Dn8VvwH3.js → pug-C1RwTStM.js} +2 -2
  311. package/dist-vue/_chunks/{pug-Dn8VvwH3.js.map → pug-C1RwTStM.js.map} +1 -1
  312. package/dist-vue/_chunks/{puppet-C6TXtx4p.js → puppet-DFYbyNW2.js} +1 -1
  313. package/dist-vue/_chunks/{puppet-C6TXtx4p.js.map → puppet-DFYbyNW2.js.map} +1 -1
  314. package/dist-vue/_chunks/{python-DcAJJ0JG.js → python-Dv1DGCiz.js} +1 -1
  315. package/dist-vue/_chunks/{python-DcAJJ0JG.js.map → python-Dv1DGCiz.js.map} +1 -1
  316. package/dist-vue/_chunks/{q-WbmgnnmF.js → q-X1HLKyVv.js} +1 -1
  317. package/dist-vue/_chunks/{q-WbmgnnmF.js.map → q-X1HLKyVv.js.map} +1 -1
  318. package/dist-vue/_chunks/{r-C22XZ_AN.js → r-BZGUCY-c.js} +1 -1
  319. package/dist-vue/_chunks/{r-C22XZ_AN.js.map → r-BZGUCY-c.js.map} +1 -1
  320. package/dist-vue/_chunks/{rpm-B9APie5d.js → rpm-CDLCwfOD.js} +1 -1
  321. package/dist-vue/_chunks/{rpm-B9APie5d.js.map → rpm-CDLCwfOD.js.map} +1 -1
  322. package/dist-vue/_chunks/{ruby-D24Ax8EE.js → ruby-cVyKV-zg.js} +1 -1
  323. package/dist-vue/_chunks/{ruby-D24Ax8EE.js.map → ruby-cVyKV-zg.js.map} +1 -1
  324. package/dist-vue/_chunks/{sas-D4-twsz3.js → sas-BDPIwc3L.js} +1 -1
  325. package/dist-vue/_chunks/{sas-D4-twsz3.js.map → sas-BDPIwc3L.js.map} +1 -1
  326. package/dist-vue/_chunks/{scheme-CCmbAfjG.js → scheme-6m6S6r1m.js} +1 -1
  327. package/dist-vue/_chunks/{scheme-CCmbAfjG.js.map → scheme-6m6S6r1m.js.map} +1 -1
  328. package/dist-vue/_chunks/{shell-oVzTSWfo.js → shell-Dcuubvcg.js} +1 -1
  329. package/dist-vue/_chunks/{shell-oVzTSWfo.js.map → shell-Dcuubvcg.js.map} +1 -1
  330. package/dist-vue/_chunks/{sieve-DUlxvKqS.js → sieve-C0Ec4mOZ.js} +1 -1
  331. package/dist-vue/_chunks/{sieve-DUlxvKqS.js.map → sieve-C0Ec4mOZ.js.map} +1 -1
  332. package/dist-vue/_chunks/{simple-mode-B6svE9zR.js → simple-mode-CaO_UoX6.js} +1 -1
  333. package/dist-vue/_chunks/{simple-mode-B6svE9zR.js.map → simple-mode-CaO_UoX6.js.map} +1 -1
  334. package/dist-vue/_chunks/{smalltalk-9-Xd93Rn.js → smalltalk-C8mY0f87.js} +1 -1
  335. package/dist-vue/_chunks/{smalltalk-9-Xd93Rn.js.map → smalltalk-C8mY0f87.js.map} +1 -1
  336. package/dist-vue/_chunks/{solr-DzeE5sFM.js → solr-jbM7m8s0.js} +1 -1
  337. package/dist-vue/_chunks/{solr-DzeE5sFM.js.map → solr-jbM7m8s0.js.map} +1 -1
  338. package/dist-vue/_chunks/{sparql-GFDxBmFa.js → sparql-DJZXdQFZ.js} +1 -1
  339. package/dist-vue/_chunks/{sparql-GFDxBmFa.js.map → sparql-DJZXdQFZ.js.map} +1 -1
  340. package/dist-vue/_chunks/{spreadsheet-BD6sBFg8.js → spreadsheet-iKWvNdRt.js} +1 -1
  341. package/dist-vue/_chunks/{spreadsheet-BD6sBFg8.js.map → spreadsheet-iKWvNdRt.js.map} +1 -1
  342. package/dist-vue/_chunks/{sql-JuMmsoSB.js → sql-BQ2tj9MP.js} +1 -1
  343. package/dist-vue/_chunks/{sql-JuMmsoSB.js.map → sql-BQ2tj9MP.js.map} +1 -1
  344. package/dist-vue/_chunks/{src-EtGd6cRz.js → src-DW4YojFN.js} +10 -10
  345. package/dist-vue/_chunks/{src-EtGd6cRz.js.map → src-DW4YojFN.js.map} +1 -1
  346. package/dist-vue/_chunks/{stex-Cy057UFl.js → stex-BEcrdSPS.js} +1 -1
  347. package/dist-vue/_chunks/{stex-Cy057UFl.js.map → stex-BEcrdSPS.js.map} +1 -1
  348. package/dist-vue/_chunks/{stylus-0KIe3uMX.js → stylus-b5gEI930.js} +1 -1
  349. package/dist-vue/_chunks/{stylus-0KIe3uMX.js.map → stylus-b5gEI930.js.map} +1 -1
  350. package/dist-vue/_chunks/{swift-tYMDqvYT.js → swift-RNJNWQs6.js} +1 -1
  351. package/dist-vue/_chunks/{swift-tYMDqvYT.js.map → swift-RNJNWQs6.js.map} +1 -1
  352. package/dist-vue/_chunks/{tcl-CSbjfJ81.js → tcl-BbY3AuDS.js} +1 -1
  353. package/dist-vue/_chunks/{tcl-CSbjfJ81.js.map → tcl-BbY3AuDS.js.map} +1 -1
  354. package/dist-vue/_chunks/{textile-Qe0pFxF7.js → textile-BM2q07iw.js} +1 -1
  355. package/dist-vue/_chunks/{textile-Qe0pFxF7.js.map → textile-BM2q07iw.js.map} +1 -1
  356. package/dist-vue/_chunks/{tiddlywiki-CYhUSC90.js → tiddlywiki-Bu7ffwvE.js} +1 -1
  357. package/dist-vue/_chunks/{tiddlywiki-CYhUSC90.js.map → tiddlywiki-Bu7ffwvE.js.map} +1 -1
  358. package/dist-vue/_chunks/{tiki-jtNVir5w.js → tiki-BSMiLiXp.js} +1 -1
  359. package/dist-vue/_chunks/{tiki-jtNVir5w.js.map → tiki-BSMiLiXp.js.map} +1 -1
  360. package/dist-vue/_chunks/{toml-C3FMZ9FE.js → toml-D3U9uI6V.js} +1 -1
  361. package/dist-vue/_chunks/{toml-C3FMZ9FE.js.map → toml-D3U9uI6V.js.map} +1 -1
  362. package/dist-vue/_chunks/{troff-FdVM_sPB.js → troff-DK_RaQh-.js} +1 -1
  363. package/dist-vue/_chunks/{troff-FdVM_sPB.js.map → troff-DK_RaQh-.js.map} +1 -1
  364. package/dist-vue/_chunks/{ttcn-Tmx7e7xS.js → ttcn-DVxr7ZdN.js} +1 -1
  365. package/dist-vue/_chunks/{ttcn-Tmx7e7xS.js.map → ttcn-DVxr7ZdN.js.map} +1 -1
  366. package/dist-vue/_chunks/{ttcn-cfg-BP7MXn1J.js → ttcn-cfg-CJG9xdrY.js} +1 -1
  367. package/dist-vue/_chunks/{ttcn-cfg-BP7MXn1J.js.map → ttcn-cfg-CJG9xdrY.js.map} +1 -1
  368. package/dist-vue/_chunks/{turtle-BtDXIrpF.js → turtle-Cj5kMy4D.js} +1 -1
  369. package/dist-vue/_chunks/{turtle-BtDXIrpF.js.map → turtle-Cj5kMy4D.js.map} +1 -1
  370. package/dist-vue/_chunks/{useChatbotStore-BXi-Gx7b.js → useChatbotStore-DCCWlutT.js} +1244 -1217
  371. package/dist-vue/_chunks/useChatbotStore-DCCWlutT.js.map +1 -0
  372. package/dist-vue/_chunks/{useSafeLocalStorage-BL5mqfb7.js → useSafeLocalStorage-DmA2eEi6.js} +2 -2
  373. package/dist-vue/_chunks/{useSafeLocalStorage-BL5mqfb7.js.map → useSafeLocalStorage-DmA2eEi6.js.map} +1 -1
  374. package/dist-vue/_chunks/{utils-CRojvghU.js → utils-UX35fb5C.js} +13 -13
  375. package/dist-vue/_chunks/{utils-CRojvghU.js.map → utils-UX35fb5C.js.map} +1 -1
  376. package/dist-vue/_chunks/{vb-DZ7E2F9i.js → vb-RlGsZALV.js} +1 -1
  377. package/dist-vue/_chunks/{vb-DZ7E2F9i.js.map → vb-RlGsZALV.js.map} +1 -1
  378. package/dist-vue/_chunks/{vbscript-DmYal433.js → vbscript-C6LN5bsX.js} +1 -1
  379. package/dist-vue/_chunks/{vbscript-DmYal433.js.map → vbscript-C6LN5bsX.js.map} +1 -1
  380. package/dist-vue/_chunks/{velocity-Dwi9C1bZ.js → velocity-7A5nvZTA.js} +1 -1
  381. package/dist-vue/_chunks/{velocity-Dwi9C1bZ.js.map → velocity-7A5nvZTA.js.map} +1 -1
  382. package/dist-vue/_chunks/{verilog-6XMMKLGD.js → verilog-CoPTkjsM.js} +1 -1
  383. package/dist-vue/_chunks/{verilog-6XMMKLGD.js.map → verilog-CoPTkjsM.js.map} +1 -1
  384. package/dist-vue/_chunks/{vhdl-BczymJF3.js → vhdl-BRtaeCKx.js} +1 -1
  385. package/dist-vue/_chunks/{vhdl-BczymJF3.js.map → vhdl-BRtaeCKx.js.map} +1 -1
  386. package/dist-vue/_chunks/{webidl-CaC70GJ2.js → webidl-BVwPXw7k.js} +1 -1
  387. package/dist-vue/_chunks/{webidl-CaC70GJ2.js.map → webidl-BVwPXw7k.js.map} +1 -1
  388. package/dist-vue/_chunks/{xquery-JS07XjNe.js → xquery-CXV9KVdL.js} +1 -1
  389. package/dist-vue/_chunks/{xquery-JS07XjNe.js.map → xquery-CXV9KVdL.js.map} +1 -1
  390. package/dist-vue/_chunks/{yacas-BXZNhOsZ.js → yacas-5ByKKRqf.js} +1 -1
  391. package/dist-vue/_chunks/{yacas-BXZNhOsZ.js.map → yacas-5ByKKRqf.js.map} +1 -1
  392. package/dist-vue/_chunks/{z80-Dtc8Q5vA.js → z80-wbH4fW7-.js} +1 -1
  393. package/dist-vue/_chunks/{z80-Dtc8Q5vA.js.map → z80-wbH4fW7-.js.map} +1 -1
  394. package/dist-vue/api.js +1 -1
  395. package/dist-vue/apps/web-component/src/components/EmbeddedChatWidget.ce.d.ts +8 -5
  396. package/dist-vue/apps/web-component/src/components/FloatingChatWidget.ce.d.ts +8 -1
  397. package/dist-vue/apps/web-component/src/composables/useChatbotAuth.d.ts +4 -0
  398. package/dist-vue/apps/web-component/src/lib.d.ts +34 -0
  399. package/dist-vue/apps/web-component/src/utils/emitWidgetEvent.d.ts +10 -0
  400. package/dist-vue/composables.js +4 -4
  401. package/dist-vue/index.js +8628 -4422
  402. package/dist-vue/index.js.map +1 -1
  403. package/dist-vue/locales.js +106 -62
  404. package/dist-vue/packages/auth/src/index.d.ts +12 -12
  405. package/dist-vue/packages/components/src/PkEditorJsonSchema.d.ts +36 -0
  406. package/dist-vue/packages/components/src/PkSchemaField.d.ts +17 -0
  407. package/dist-vue/packages/components/src/PkSvgViewer.d.ts +8 -0
  408. package/dist-vue/packages/components/src/chat/PkAgentSettingsPanel.d.ts +5 -2
  409. package/dist-vue/packages/components/src/chat/PkChatbot.d.ts +2 -0
  410. package/dist-vue/packages/components/src/chat/PkChatbotMessages.d.ts +1 -0
  411. package/dist-vue/packages/components/src/chat/PkMessageParts.d.ts +6 -6
  412. package/dist-vue/packages/components/src/chat/PkStreamingMarkdown.d.ts +2 -0
  413. package/dist-vue/packages/components/src/chat/PkStreamingMarkdownAutoscroll.d.ts +1 -0
  414. package/dist-vue/packages/components/src/chat/PkToolShowDiagram.d.ts +8 -0
  415. package/dist-vue/packages/components/src/chat/PkToolShowLocation.d.ts +2 -0
  416. package/dist-vue/packages/components/src/chat/constants.d.ts +1 -1
  417. package/dist-vue/packages/components/src/index.d.ts +4 -1
  418. package/dist-vue/packages/composable/src/chatbot/useChatbotStore.d.ts +21 -3
  419. package/dist-vue/packages/composable/src/index.d.ts +1 -0
  420. package/dist-vue/packages/composable/src/useJsonSchemaEditor.d.ts +45 -0
  421. package/dist-vue/packages/models/src/schema/Agent.d.ts +4 -0
  422. package/dist-vue/packages/models/src/schema/Chat.d.ts +3 -0
  423. package/dist-vue/packages/models/src/schema/Notification.d.ts +6 -0
  424. package/dist-vue/packages/models/src/schema/ReasoningChat.d.ts +2 -0
  425. package/dist-vue/packages/models/src/schema/SubAgent.d.ts +2 -0
  426. package/dist-vue/packages/models/src/schema/constants.d.ts +2 -0
  427. package/dist-vue/packages/models/src/utils.d.ts +2 -0
  428. package/dist-vue/style.css +1 -1
  429. package/package.json +7 -7
  430. package/dist/_chunks/PkStreamingMarkdown-SVWv4Oye.js.map +0 -1
  431. package/dist/_chunks/PkToolShowComparison-BzyqEIMV.js +0 -64
  432. package/dist/_chunks/VvCombobox.es-CUUNtqyJ.js +0 -1998
  433. package/dist/_chunks/VvTextarea.es-B5txwRRm.js +0 -1110
  434. package/dist/_chunks/dist-DHG50RNO.js +0 -768
  435. package/dist/_chunks/marker-icon-2x-Df3ovzYv.js +0 -7
  436. package/dist/_chunks/marker-icon-2x-Df3ovzYv.js.map +0 -1
  437. package/dist/_chunks/marker-icon-CCYFvBsS.js +0 -7
  438. package/dist/_chunks/marker-icon-CCYFvBsS.js.map +0 -1
  439. package/dist/_chunks/marker-shadow-CHjnGkIt.js +0 -7
  440. package/dist/_chunks/marker-shadow-CHjnGkIt.js.map +0 -1
  441. package/dist-vue/_chunks/Media-Dq8UU7iQ.js +0 -120
  442. package/dist-vue/_chunks/Media-Dq8UU7iQ.js.map +0 -1
  443. package/dist-vue/_chunks/PkChatbot-CoXx7Rul.js +0 -191
  444. package/dist-vue/_chunks/PkChatbot-CoXx7Rul.js.map +0 -1
  445. package/dist-vue/_chunks/PkChatbotFilePreview-0N9ASbIp.js.map +0 -1
  446. package/dist-vue/_chunks/PkChatbotMessages-BDziUgck.js.map +0 -1
  447. package/dist-vue/_chunks/PkChatbotViewChat-DMnMkELX.js +0 -278
  448. package/dist-vue/_chunks/PkChatbotViewChat-DMnMkELX.js.map +0 -1
  449. package/dist-vue/_chunks/PkStreamingMarkdown-BUiAi-qv.js.map +0 -1
  450. package/dist-vue/_chunks/PkToolRequestConfirm-BsHpoI-c.js +0 -49
  451. package/dist-vue/_chunks/PkToolRequestOAuthConnection-shcJXxtk.js +0 -64
  452. package/dist-vue/_chunks/PkToolShowLocation-DBHdxOFr.js +0 -149
  453. package/dist-vue/_chunks/PkToolShowLocation-DBHdxOFr.js.map +0 -1
  454. package/dist-vue/_chunks/createChatbotApiClient-C_E35aQf.js.map +0 -1
  455. package/dist-vue/_chunks/dist-B_3TGJwf.js.map +0 -1
  456. package/dist-vue/_chunks/dist-sx4PacBp2.js +0 -440
  457. package/dist-vue/_chunks/dist-sx4PacBp2.js.map +0 -1
  458. package/dist-vue/_chunks/useChatbotStore-BXi-Gx7b.js.map +0 -1
  459. /package/dist/_chunks/{_plugin-vue_export-helper-BWIS0o4o.js → _plugin-vue_export-helper-5qR9iAls.js} +0 -0
@@ -1,17 +1,17 @@
1
- import { E as e, F as t, X as n, Z as r, _ as i, x as a, z as o } from "./vue.runtime.esm-bundler-7_kt7y9A.js";
2
- import { g as s, h as c, n as l } from "./src-RaVs-PqK.js";
3
- import { t as u } from "./_plugin-vue_export-helper-BWIS0o4o.js";
1
+ import { E as e, F as t, Q as n, X as r, _ as i, x as a, z as o } from "./vue.runtime.esm-bundler-B-iHWsf4.js";
2
+ import { _ as s, g as c, n as l } from "./src-L9Jq1dyr.js";
3
+ import { t as u } from "./_plugin-vue_export-helper-5qR9iAls.js";
4
4
  //#region ../../node_modules/.pnpm/remend@1.3.0/node_modules/remend/dist/index.js
5
- var d = Object.defineProperty, ee = Object.defineProperties, f = Object.getOwnPropertyDescriptors, p = Object.getOwnPropertySymbols, te = Object.prototype.hasOwnProperty, ne = Object.prototype.propertyIsEnumerable, re = (e, t, n) => t in e ? d(e, t, {
5
+ var d = Object.defineProperty, f = Object.defineProperties, p = Object.getOwnPropertyDescriptors, m = Object.getOwnPropertySymbols, ee = Object.prototype.hasOwnProperty, te = Object.prototype.propertyIsEnumerable, ne = (e, t, n) => t in e ? d(e, t, {
6
6
  enumerable: !0,
7
7
  configurable: !0,
8
8
  writable: !0,
9
9
  value: n
10
- }) : e[t] = n, m = (e, t) => {
11
- for (var n in t ||= {}) te.call(t, n) && re(e, n, t[n]);
12
- if (p) for (var n of p(t)) ne.call(t, n) && re(e, n, t[n]);
10
+ }) : e[t] = n, h = (e, t) => {
11
+ for (var n in t ||= {}) ee.call(t, n) && ne(e, n, t[n]);
12
+ if (m) for (var n of m(t)) te.call(t, n) && ne(e, n, t[n]);
13
13
  return e;
14
- }, h = (e, t) => ee(e, f(t)), g = (e, t) => {
14
+ }, g = (e, t) => f(e, p(t)), _ = (e, t) => {
15
15
  let n = !1, r = !1;
16
16
  for (let i = 0; i < t; i += 1) {
17
17
  if (e[i] === "\\" && i + 1 < e.length && e[i + 1] === "`") {
@@ -25,20 +25,20 @@ var d = Object.defineProperty, ee = Object.defineProperties, f = Object.getOwnPr
25
25
  !r && e[i] === "`" && (n = !n);
26
26
  }
27
27
  return n || r;
28
- }, ie = (e, t) => {
28
+ }, re = (e, t) => {
29
29
  let n = e.substring(t, t + 3) === "```", r = t > 0 && e.substring(t - 1, t + 2) === "```", i = t > 1 && e.substring(t - 2, t + 1) === "```";
30
30
  return n || r || i;
31
- }, ae = (e) => {
31
+ }, ie = (e) => {
32
32
  let t = 0;
33
33
  for (let n = 0; n < e.length; n += 1) {
34
34
  if (e[n] === "\\" && n + 1 < e.length && e[n + 1] === "`") {
35
35
  n += 1;
36
36
  continue;
37
37
  }
38
- e[n] === "`" && !ie(e, n) && (t += 1);
38
+ e[n] === "`" && !re(e, n) && (t += 1);
39
39
  }
40
40
  return t;
41
- }, _ = (e, t) => {
41
+ }, v = (e, t) => {
42
42
  let n = !1, r = !1, i = -1;
43
43
  for (let a = 0; a < e.length; a += 1) {
44
44
  if (e[a] === "\\" && a + 1 < e.length && e[a + 1] === "`") {
@@ -55,21 +55,21 @@ var d = Object.defineProperty, ee = Object.defineProperties, f = Object.getOwnPr
55
55
  } else n = !0, i = a;
56
56
  }
57
57
  return !1;
58
- }, v = /^(\s*(?:[-*+]|\d+[.)]) +)>(=?\s*[$]?\d)/gm, y = (e) => !e || typeof e != "string" || !e.includes(">") ? e : e.replace(v, (t, n, r, i) => g(e, i) ? t : `${n}\\>${r}`), oe = /(\*\*)([^*]*\*?)$/, se = /(__)([^_]*?)$/, ce = /(\*\*\*)([^*]*?)$/, b = /(\*)([^*]*?)$/, le = /(_)([^_]*?)$/, ue = /(`)([^`]*?)$/, de = /(~~)([^~]*?)$/, x = /^[\s_~*`]*$/, fe = /^[\s]*[-*+][\s]+$/, pe = /[\p{L}\p{N}_]/u, me = /^```[^`\n]*```?$/, he = /^\*{4,}$/, ge = /(__)([^_]+)_$/, _e = /(~~)([^~]+)~$/, ve = /~~/g, S = (e) => {
58
+ }, y = /^(\s*(?:[-*+]|\d+[.)]) +)>(=?\s*[$]?\d)/gm, b = (e) => !e || typeof e != "string" || !e.includes(">") ? e : e.replace(y, (t, n, r, i) => _(e, i) ? t : `${n}\\>${r}`), ae = /(\*\*)([^*]*\*?)$/, oe = /(__)([^_]*?)$/, se = /(\*\*\*)([^*]*?)$/, ce = /(\*)([^*]*?)$/, x = /(_)([^_]*?)$/, le = /(`)([^`]*?)$/, ue = /(~~)([^~]*?)$/, S = /^[\s_~*`]*$/, C = /^[\s]*[-*+][\s]+$/, de = /[\p{L}\p{N}_]/u, fe = /^```[^`\n]*```?$/, pe = /^\*{4,}$/, me = /(__)([^_]+)_$/, he = /(~~)([^~]+)~$/, ge = /~~/g, w = (e) => {
59
59
  if (!e) return !1;
60
60
  let t = e.charCodeAt(0);
61
- return t >= 48 && t <= 57 || t >= 65 && t <= 90 || t >= 97 && t <= 122 || t === 95 ? !0 : pe.test(e);
62
- }, ye = (e, t) => {
61
+ return t >= 48 && t <= 57 || t >= 65 && t <= 90 || t >= 97 && t <= 122 || t === 95 ? !0 : de.test(e);
62
+ }, _e = (e, t) => {
63
63
  let n = 1;
64
64
  for (let r = t - 1; r >= 0; --r) if (e[r] === "]") n += 1;
65
65
  else if (e[r] === "[" && (--n, n === 0)) return r;
66
66
  return -1;
67
- }, be = (e, t) => {
67
+ }, ve = (e, t) => {
68
68
  let n = 1;
69
69
  for (let r = t + 1; r < e.length; r += 1) if (e[r] === "[") n += 1;
70
70
  else if (e[r] === "]" && (--n, n === 0)) return r;
71
71
  return -1;
72
- }, C = (e, t) => {
72
+ }, T = (e, t) => {
73
73
  let n = !1, r = !1;
74
74
  for (let i = 0; i < e.length && i < t; i += 1) {
75
75
  if (e[i] === "\\" && e[i + 1] === "$") {
@@ -79,20 +79,20 @@ var d = Object.defineProperty, ee = Object.defineProperties, f = Object.getOwnPr
79
79
  e[i] === "$" && (e[i + 1] === "$" ? (r = !r, i += 1, n = !1) : r || (n = !n));
80
80
  }
81
81
  return n || r;
82
- }, xe = (e, t) => {
82
+ }, ye = (e, t) => {
83
83
  for (let n = t; n < e.length; n += 1) {
84
84
  if (e[n] === ")") return !0;
85
85
  if (e[n] === "\n") return !1;
86
86
  }
87
87
  return !1;
88
- }, Se = (e, t) => {
88
+ }, be = (e, t) => {
89
89
  for (let n = t - 1; n >= 0; --n) {
90
90
  if (e[n] === ")") return !1;
91
- if (e[n] === "(") return n > 0 && e[n - 1] === "]" ? xe(e, t) : !1;
91
+ if (e[n] === "(") return n > 0 && e[n - 1] === "]" ? ye(e, t) : !1;
92
92
  if (e[n] === "\n") return !1;
93
93
  }
94
94
  return !1;
95
- }, Ce = (e, t) => {
95
+ }, xe = (e, t) => {
96
96
  for (let n = t - 1; n >= 0; --n) {
97
97
  if (e[n] === ">") return !1;
98
98
  if (e[n] === "<") {
@@ -102,7 +102,7 @@ var d = Object.defineProperty, ee = Object.defineProperties, f = Object.getOwnPr
102
102
  if (e[n] === "\n") return !1;
103
103
  }
104
104
  return !1;
105
- }, we = (e, t, n) => {
105
+ }, Se = (e, t, n) => {
106
106
  let r = 0;
107
107
  for (let n = t - 1; n >= 0; --n) if (e[n] === "\n") {
108
108
  r = n + 1;
@@ -120,7 +120,7 @@ var d = Object.defineProperty, ee = Object.defineProperties, f = Object.getOwnPr
120
120
  break;
121
121
  }
122
122
  return o >= 3 && !s;
123
- }, Te = (e, t, n, r) => n === "\\" || e.includes("$") && C(e, t) ? !0 : n !== "*" && r === "*" ? (t < e.length - 2 ? e[t + 2] : "") !== "*" : !!(n === "*" || n && r && S(n) && S(r) || (!n || n === " " || n === " " || n === "\n") && (!r || r === " " || r === " " || r === "\n")), Ee = (e) => {
123
+ }, Ce = (e, t, n, r) => n === "\\" || e.includes("$") && T(e, t) ? !0 : n !== "*" && r === "*" ? (t < e.length - 2 ? e[t + 2] : "") !== "*" : !!(n === "*" || n && r && w(n) && w(r) || (!n || n === " " || n === " " || n === "\n") && (!r || r === " " || r === " " || r === "\n")), we = (e) => {
124
124
  let t = 0, n = !1, r = e.length;
125
125
  for (let i = 0; i < r; i += 1) {
126
126
  if (e[i] === "`" && i + 2 < r && e[i + 1] === "`" && e[i + 2] === "`") {
@@ -129,10 +129,10 @@ var d = Object.defineProperty, ee = Object.defineProperties, f = Object.getOwnPr
129
129
  }
130
130
  if (n || e[i] !== "*") continue;
131
131
  let a = i > 0 ? e[i - 1] : "", o = i < r - 1 ? e[i + 1] : "";
132
- Te(e, i, a, o) || (t += 1);
132
+ Ce(e, i, a, o) || (t += 1);
133
133
  }
134
134
  return t;
135
- }, De = (e, t, n, r) => !!(n === "\\" || e.includes("$") && C(e, t) || Se(e, t) || Ce(e, t) || n === "_" || r === "_" || n && r && S(n) && S(r)), Oe = (e) => {
135
+ }, Te = (e, t, n, r) => !!(n === "\\" || e.includes("$") && T(e, t) || be(e, t) || xe(e, t) || n === "_" || r === "_" || n && r && w(n) && w(r)), Ee = (e) => {
136
136
  let t = 0, n = !1, r = e.length;
137
137
  for (let i = 0; i < r; i += 1) {
138
138
  if (e[i] === "`" && i + 2 < r && e[i + 1] === "`" && e[i + 2] === "`") {
@@ -141,10 +141,10 @@ var d = Object.defineProperty, ee = Object.defineProperties, f = Object.getOwnPr
141
141
  }
142
142
  if (n || e[i] !== "_") continue;
143
143
  let a = i > 0 ? e[i - 1] : "", o = i < r - 1 ? e[i + 1] : "";
144
- De(e, i, a, o) || (t += 1);
144
+ Te(e, i, a, o) || (t += 1);
145
145
  }
146
146
  return t;
147
- }, ke = (e) => {
147
+ }, De = (e) => {
148
148
  let t = 0, n = 0, r = !1;
149
149
  for (let i = 0; i < e.length; i += 1) {
150
150
  if (e[i] === "`" && i + 2 < e.length && e[i + 1] === "`" && e[i + 2] === "`") {
@@ -154,7 +154,7 @@ var d = Object.defineProperty, ee = Object.defineProperties, f = Object.getOwnPr
154
154
  r || (e[i] === "*" ? n += 1 : (n >= 3 && (t += Math.floor(n / 3)), n = 0));
155
155
  }
156
156
  return n >= 3 && (t += Math.floor(n / 3)), t;
157
- }, Ae = (e) => {
157
+ }, E = (e) => {
158
158
  let t = 0, n = !1;
159
159
  for (let r = 0; r < e.length; r += 1) {
160
160
  if (e[r] === "`" && r + 2 < e.length && e[r + 1] === "`" && e[r + 2] === "`") {
@@ -164,7 +164,7 @@ var d = Object.defineProperty, ee = Object.defineProperties, f = Object.getOwnPr
164
164
  n || e[r] === "*" && r + 1 < e.length && e[r + 1] === "*" && (t += 1, r += 1);
165
165
  }
166
166
  return t;
167
- }, je = (e) => {
167
+ }, Oe = (e) => {
168
168
  let t = 0, n = !1;
169
169
  for (let r = 0; r < e.length; r += 1) {
170
170
  if (e[r] === "`" && r + 2 < e.length && e[r + 1] === "`" && e[r + 2] === "`") {
@@ -174,143 +174,143 @@ var d = Object.defineProperty, ee = Object.defineProperties, f = Object.getOwnPr
174
174
  n || e[r] === "_" && r + 1 < e.length && e[r + 1] === "_" && (t += 1, r += 1);
175
175
  }
176
176
  return t;
177
- }, Me = (e, t, n) => {
178
- if (!t || x.test(t)) return !0;
177
+ }, ke = (e, t, n) => {
178
+ if (!t || S.test(t)) return !0;
179
179
  let r = e.substring(0, n).lastIndexOf("\n"), i = r === -1 ? 0 : r + 1, a = e.substring(i, n);
180
- return fe.test(a) && t.includes("\n") ? !0 : we(e, n, "*");
181
- }, Ne = (e) => {
182
- let t = e.match(oe);
180
+ return C.test(a) && t.includes("\n") ? !0 : Se(e, n, "*");
181
+ }, Ae = (e) => {
182
+ let t = e.match(ae);
183
183
  if (!t) return e;
184
184
  let n = t[2], r = e.lastIndexOf(t[1]);
185
- return g(e, r) || _(e, r) || Me(e, n, r) ? e : Ae(e) % 2 == 1 ? n.endsWith("*") ? `${e}*` : `${e}**` : e;
186
- }, Pe = (e, t, n) => {
187
- if (!t || x.test(t)) return !0;
185
+ return _(e, r) || v(e, r) || ke(e, n, r) ? e : E(e) % 2 == 1 ? n.endsWith("*") ? `${e}*` : `${e}**` : e;
186
+ }, je = (e, t, n) => {
187
+ if (!t || S.test(t)) return !0;
188
188
  let r = e.substring(0, n).lastIndexOf("\n"), i = r === -1 ? 0 : r + 1, a = e.substring(i, n);
189
- return fe.test(a) && t.includes("\n") ? !0 : we(e, n, "_");
190
- }, Fe = (e) => {
191
- let t = e.match(se);
189
+ return C.test(a) && t.includes("\n") ? !0 : Se(e, n, "_");
190
+ }, Me = (e) => {
191
+ let t = e.match(oe);
192
192
  if (!t) {
193
- let t = e.match(ge);
193
+ let t = e.match(me);
194
194
  if (t) {
195
195
  let n = e.lastIndexOf(t[1]);
196
- if (!(g(e, n) || _(e, n)) && je(e) % 2 == 1) return `${e}_`;
196
+ if (!(_(e, n) || v(e, n)) && Oe(e) % 2 == 1) return `${e}_`;
197
197
  }
198
198
  return e;
199
199
  }
200
200
  let n = t[2], r = e.lastIndexOf(t[1]);
201
- return g(e, r) || _(e, r) || Pe(e, n, r) ? e : je(e) % 2 == 1 ? `${e}__` : e;
202
- }, Ie = (e) => {
201
+ return _(e, r) || v(e, r) || je(e, n, r) ? e : Oe(e) % 2 == 1 ? `${e}__` : e;
202
+ }, Ne = (e) => {
203
203
  let t = !1;
204
204
  for (let n = 0; n < e.length; n += 1) {
205
205
  if (e[n] === "`" && n + 2 < e.length && e[n + 1] === "`" && e[n + 2] === "`") {
206
206
  t = !t, n += 2;
207
207
  continue;
208
208
  }
209
- if (!t && e[n] === "*" && e[n - 1] !== "*" && e[n + 1] !== "*" && e[n - 1] !== "\\" && !C(e, n)) {
209
+ if (!t && e[n] === "*" && e[n - 1] !== "*" && e[n + 1] !== "*" && e[n - 1] !== "\\" && !T(e, n)) {
210
210
  let t = n > 0 ? e[n - 1] : "", r = n < e.length - 1 ? e[n + 1] : "";
211
- if ((!t || t === " " || t === " " || t === "\n") && (!r || r === " " || r === " " || r === "\n") || t && r && S(t) && S(r)) continue;
211
+ if ((!t || t === " " || t === " " || t === "\n") && (!r || r === " " || r === " " || r === "\n") || t && r && w(t) && w(r)) continue;
212
212
  return n;
213
213
  }
214
214
  }
215
215
  return -1;
216
- }, Le = (e) => {
217
- if (!e.match(b)) return e;
218
- let t = Ie(e);
219
- if (t === -1 || g(e, t) || _(e, t)) return e;
216
+ }, Pe = (e) => {
217
+ if (!e.match(ce)) return e;
218
+ let t = Ne(e);
219
+ if (t === -1 || _(e, t) || v(e, t)) return e;
220
220
  let n = e.substring(t + 1);
221
- return !n || x.test(n) ? e : Ee(e) % 2 == 1 ? `${e}*` : e;
222
- }, Re = (e) => {
221
+ return !n || S.test(n) ? e : we(e) % 2 == 1 ? `${e}*` : e;
222
+ }, Fe = (e) => {
223
223
  let t = !1;
224
224
  for (let n = 0; n < e.length; n += 1) {
225
225
  if (e[n] === "`" && n + 2 < e.length && e[n + 1] === "`" && e[n + 2] === "`") {
226
226
  t = !t, n += 2;
227
227
  continue;
228
228
  }
229
- if (!t && e[n] === "_" && e[n - 1] !== "_" && e[n + 1] !== "_" && e[n - 1] !== "\\" && !C(e, n) && !Se(e, n)) {
229
+ if (!t && e[n] === "_" && e[n - 1] !== "_" && e[n + 1] !== "_" && e[n - 1] !== "\\" && !T(e, n) && !be(e, n)) {
230
230
  let t = n > 0 ? e[n - 1] : "", r = n < e.length - 1 ? e[n + 1] : "";
231
- if (t && r && S(t) && S(r)) continue;
231
+ if (t && r && w(t) && w(r)) continue;
232
232
  return n;
233
233
  }
234
234
  }
235
235
  return -1;
236
- }, ze = (e) => {
236
+ }, Ie = (e) => {
237
237
  let t = e.length;
238
238
  for (; t > 0 && e[t - 1] === "\n";) --t;
239
239
  return t < e.length ? `${e.slice(0, t)}_${e.slice(t)}` : `${e}_`;
240
- }, Be = (e) => {
240
+ }, Le = (e) => {
241
241
  if (!e.endsWith("**")) return null;
242
242
  let t = e.slice(0, -2);
243
- if (Ae(t) % 2 != 1) return null;
244
- let n = t.indexOf("**"), r = Re(t);
243
+ if (E(t) % 2 != 1) return null;
244
+ let n = t.indexOf("**"), r = Fe(t);
245
245
  return n !== -1 && r !== -1 && n < r ? `${t}_**` : null;
246
- }, Ve = (e) => {
247
- if (!e.match(le)) return e;
248
- let t = Re(e);
246
+ }, Re = (e) => {
247
+ if (!e.match(x)) return e;
248
+ let t = Fe(e);
249
249
  if (t === -1) return e;
250
250
  let n = e.substring(t + 1);
251
- if (!n || x.test(n) || g(e, t) || _(e, t)) return e;
252
- if (Oe(e) % 2 == 1) {
253
- let t = Be(e);
254
- return t === null ? ze(e) : t;
251
+ if (!n || S.test(n) || _(e, t) || v(e, t)) return e;
252
+ if (Ee(e) % 2 == 1) {
253
+ let t = Le(e);
254
+ return t === null ? Ie(e) : t;
255
255
  }
256
256
  return e;
257
- }, He = (e) => {
258
- let t = Ae(e), n = Ee(e);
257
+ }, ze = (e) => {
258
+ let t = E(e), n = we(e);
259
259
  return t % 2 == 0 && n % 2 == 0;
260
- }, Ue = (e, t, n) => !t || x.test(t) || g(e, n) || _(e, n) ? !0 : we(e, n, "*"), We = (e) => {
261
- if (he.test(e)) return e;
262
- let t = e.match(ce);
260
+ }, Be = (e, t, n) => !t || S.test(t) || _(e, n) || v(e, n) ? !0 : Se(e, n, "*"), Ve = (e) => {
261
+ if (pe.test(e)) return e;
262
+ let t = e.match(se);
263
263
  if (!t) return e;
264
264
  let n = t[2];
265
- return Ue(e, n, e.lastIndexOf(t[1])) ? e : ke(e) % 2 == 1 ? He(e) ? e : `${e}***` : e;
266
- }, Ge = /<[a-zA-Z/][^>]*$/, Ke = (e) => {
267
- let t = e.match(Ge);
268
- return !t || t.index === void 0 || g(e, t.index) ? e : e.substring(0, t.index).trimEnd();
269
- }, qe = (e) => !e.match(me) || e.includes("\n") ? null : e.endsWith("``") && !e.endsWith("```") ? `${e}\`` : e, Je = (e) => (e.match(/```/g) || []).length % 2 == 1, Ye = (e) => {
270
- let t = qe(e);
265
+ return Be(e, n, e.lastIndexOf(t[1])) ? e : De(e) % 2 == 1 ? ze(e) ? e : `${e}***` : e;
266
+ }, He = /<[a-zA-Z/][^>]*$/, Ue = (e) => {
267
+ let t = e.match(He);
268
+ return !t || t.index === void 0 || _(e, t.index) ? e : e.substring(0, t.index).trimEnd();
269
+ }, We = (e) => !e.match(fe) || e.includes("\n") ? null : e.endsWith("``") && !e.endsWith("```") ? `${e}\`` : e, Ge = (e) => (e.match(/```/g) || []).length % 2 == 1, Ke = (e) => {
270
+ let t = We(e);
271
271
  if (t !== null) return t;
272
- let n = e.match(ue);
273
- if (n && !Je(e)) {
272
+ let n = e.match(le);
273
+ if (n && !Ge(e)) {
274
274
  let t = n[2];
275
- if (!t || x.test(t)) return e;
276
- if (ae(e) % 2 == 1) return `${e}\``;
275
+ if (!t || S.test(t)) return e;
276
+ if (ie(e) % 2 == 1) return `${e}\``;
277
277
  }
278
278
  return e;
279
- }, Xe = (e, t) => t >= 2 && e.substring(t - 2, t + 1) === "```" || t >= 1 && e.substring(t - 1, t + 2) === "```" || t <= e.length - 3 && e.substring(t, t + 3) === "```", Ze = (e) => {
279
+ }, qe = (e, t) => t >= 2 && e.substring(t - 2, t + 1) === "```" || t >= 1 && e.substring(t - 1, t + 2) === "```" || t <= e.length - 3 && e.substring(t, t + 3) === "```", Je = (e) => {
280
280
  let t = 0, n = !1;
281
- for (let r = 0; r < e.length - 1; r += 1) e[r] === "`" && !Xe(e, r) && (n = !n), !n && e[r] === "$" && e[r + 1] === "$" && (t += 1, r += 1);
281
+ for (let r = 0; r < e.length - 1; r += 1) e[r] === "`" && !qe(e, r) && (n = !n), !n && e[r] === "$" && e[r + 1] === "$" && (t += 1, r += 1);
282
282
  return t;
283
- }, Qe = (e) => {
283
+ }, Ye = (e) => {
284
284
  let t = 0, n = !1;
285
285
  for (let r = 0; r < e.length; r += 1) {
286
286
  if (e[r] === "\\") {
287
287
  r += 1;
288
288
  continue;
289
289
  }
290
- if (e[r] === "`" && !Xe(e, r)) {
290
+ if (e[r] === "`" && !qe(e, r)) {
291
291
  n = !n;
292
292
  continue;
293
293
  }
294
294
  !n && e[r] === "$" && (r + 1 < e.length && e[r + 1] === "$" ? r += 1 : t += 1);
295
295
  }
296
296
  return t;
297
- }, $e = (e) => {
297
+ }, Xe = (e) => {
298
298
  if (e.endsWith("$") && !e.endsWith("$$")) return `${e}$`;
299
299
  let t = e.indexOf("$$");
300
300
  return t !== -1 && e.indexOf("\n", t) !== -1 && !e.endsWith("\n") ? `${e}
301
301
  $$` : `${e}$$`;
302
- }, et = (e) => Ze(e) % 2 == 0 ? e : $e(e), tt = (e) => Qe(e) % 2 == 1 ? `${e}$` : e, nt = (e, t, n) => {
302
+ }, Ze = (e) => Je(e) % 2 == 0 ? e : Xe(e), Qe = (e) => Ye(e) % 2 == 1 ? `${e}$` : e, $e = (e, t, n) => {
303
303
  if (e.substring(t + 2).includes(")")) return null;
304
- let r = ye(e, t);
305
- if (r === -1 || g(e, r)) return null;
304
+ let r = _e(e, t);
305
+ if (r === -1 || _(e, r)) return null;
306
306
  let i = r > 0 && e[r - 1] === "!", a = i ? r - 1 : r, o = e.substring(0, a);
307
307
  if (i) return o;
308
308
  let s = e.substring(r + 1, t);
309
309
  return n === "text-only" ? `${o}${s}` : `${o}[${s}](streamdown:incomplete-link)`;
310
- }, rt = (e, t) => {
311
- for (let n = 0; n < t; n++) if (e[n] === "[" && !g(e, n)) {
310
+ }, et = (e, t) => {
311
+ for (let n = 0; n < t; n++) if (e[n] === "[" && !_(e, n)) {
312
312
  if (n > 0 && e[n - 1] === "!") continue;
313
- let t = be(e, n);
313
+ let t = ve(e, n);
314
314
  if (t === -1) return n;
315
315
  if (t + 1 < e.length && e[t + 1] === "(") {
316
316
  let r = e.indexOf(")", t + 2);
@@ -318,70 +318,70 @@ $$` : `${e}$$`;
318
318
  }
319
319
  }
320
320
  return t;
321
- }, it = (e, t, n) => {
321
+ }, tt = (e, t, n) => {
322
322
  let r = t > 0 && e[t - 1] === "!", i = r ? t - 1 : t;
323
323
  if (!e.substring(t + 1).includes("]")) {
324
324
  let a = e.substring(0, i);
325
325
  if (r) return a;
326
326
  if (n === "text-only") {
327
- let n = rt(e, t);
327
+ let n = et(e, t);
328
328
  return e.substring(0, n) + e.substring(n + 1);
329
329
  }
330
330
  return `${e}](streamdown:incomplete-link)`;
331
331
  }
332
- if (be(e, t) === -1) {
332
+ if (ve(e, t) === -1) {
333
333
  let a = e.substring(0, i);
334
334
  if (r) return a;
335
335
  if (n === "text-only") {
336
- let n = rt(e, t);
336
+ let n = et(e, t);
337
337
  return e.substring(0, n) + e.substring(n + 1);
338
338
  }
339
339
  return `${e}](streamdown:incomplete-link)`;
340
340
  }
341
341
  return null;
342
- }, at = (e, t = "protocol") => {
342
+ }, nt = (e, t = "protocol") => {
343
343
  let n = e.lastIndexOf("](");
344
- if (n !== -1 && !g(e, n)) {
345
- let r = nt(e, n, t);
344
+ if (n !== -1 && !_(e, n)) {
345
+ let r = $e(e, n, t);
346
346
  if (r !== null) return r;
347
347
  }
348
- for (let n = e.length - 1; n >= 0; --n) if (e[n] === "[" && !g(e, n)) {
349
- let r = it(e, n, t);
348
+ for (let n = e.length - 1; n >= 0; --n) if (e[n] === "[" && !_(e, n)) {
349
+ let r = tt(e, n, t);
350
350
  if (r !== null) return r;
351
351
  }
352
352
  return e;
353
- }, ot = /^-{1,2}$/, st = /^[\s]*-{1,2}[\s]+$/, ct = /^={1,2}$/, lt = /^[\s]*={1,2}[\s]+$/, ut = (e) => {
353
+ }, rt = /^-{1,2}$/, it = /^[\s]*-{1,2}[\s]+$/, at = /^={1,2}$/, ot = /^[\s]*={1,2}[\s]+$/, st = (e) => {
354
354
  if (!e || typeof e != "string") return e;
355
355
  let t = e.lastIndexOf("\n");
356
356
  if (t === -1) return e;
357
357
  let n = e.substring(t + 1), r = e.substring(0, t), i = n.trim();
358
- if (ot.test(i) && !n.match(st)) {
358
+ if (rt.test(i) && !n.match(it)) {
359
359
  let t = r.split("\n").at(-1);
360
360
  if (t && t.trim().length > 0) return `${e}\u200B`;
361
361
  }
362
- if (ct.test(i) && !n.match(lt)) {
362
+ if (at.test(i) && !n.match(ot)) {
363
363
  let t = r.split("\n").at(-1);
364
364
  if (t && t.trim().length > 0) return `${e}\u200B`;
365
365
  }
366
366
  return e;
367
- }, dt = /* @__PURE__ */ RegExp("(?<=[\\p{L}\\p{N}_])~(?!~)(?=[\\p{L}\\p{N}_])", "gu"), ft = (e) => !e || typeof e != "string" || !e.includes("~") ? e : e.replace(dt, (t, n) => g(e, n) ? t : "\\~"), pt = (e) => {
368
- let t = e.match(de);
367
+ }, ct = /* @__PURE__ */ RegExp("(?<=[\\p{L}\\p{N}_])~(?!~)(?=[\\p{L}\\p{N}_])", "gu"), lt = (e) => !e || typeof e != "string" || !e.includes("~") ? e : e.replace(ct, (t, n) => _(e, n) ? t : "\\~"), ut = (e) => {
368
+ let t = e.match(ue);
369
369
  if (t) {
370
370
  let n = t[2];
371
- if (!n || x.test(n)) return e;
371
+ if (!n || S.test(n)) return e;
372
372
  let r = e.lastIndexOf(t[1]);
373
- if (g(e, r) || _(e, r)) return e;
374
- if (e.match(ve)?.length % 2 == 1) return `${e}~~`;
373
+ if (_(e, r) || v(e, r)) return e;
374
+ if (e.match(ge)?.length % 2 == 1) return `${e}~~`;
375
375
  } else {
376
- let t = e.match(_e);
376
+ let t = e.match(he);
377
377
  if (t) {
378
378
  let n = e.lastIndexOf(t[0].slice(0, 2));
379
- if (g(e, n) || _(e, n)) return e;
380
- if (e.match(ve)?.length % 2 == 1) return `${e}~`;
379
+ if (_(e, n) || v(e, n)) return e;
380
+ if (e.match(ge)?.length % 2 == 1) return `${e}~`;
381
381
  }
382
382
  }
383
383
  return e;
384
- }, w = (e) => e !== !1, mt = (e) => e === !0, T = {
384
+ }, D = (e) => e !== !1, dt = (e) => e === !0, O = {
385
385
  SINGLE_TILDE: 0,
386
386
  COMPARISON_OPERATORS: 5,
387
387
  HTML_TAGS: 10,
@@ -397,44 +397,44 @@ $$` : `${e}$$`;
397
397
  KATEX: 70,
398
398
  INLINE_KATEX: 75,
399
399
  DEFAULT: 100
400
- }, ht = [
400
+ }, ft = [
401
401
  {
402
402
  handler: {
403
403
  name: "singleTilde",
404
- handle: ft,
405
- priority: T.SINGLE_TILDE
404
+ handle: lt,
405
+ priority: O.SINGLE_TILDE
406
406
  },
407
407
  optionKey: "singleTilde"
408
408
  },
409
409
  {
410
410
  handler: {
411
411
  name: "comparisonOperators",
412
- handle: y,
413
- priority: T.COMPARISON_OPERATORS
412
+ handle: b,
413
+ priority: O.COMPARISON_OPERATORS
414
414
  },
415
415
  optionKey: "comparisonOperators"
416
416
  },
417
417
  {
418
418
  handler: {
419
419
  name: "htmlTags",
420
- handle: Ke,
421
- priority: T.HTML_TAGS
420
+ handle: Ue,
421
+ priority: O.HTML_TAGS
422
422
  },
423
423
  optionKey: "htmlTags"
424
424
  },
425
425
  {
426
426
  handler: {
427
427
  name: "setextHeadings",
428
- handle: ut,
429
- priority: T.SETEXT_HEADINGS
428
+ handle: st,
429
+ priority: O.SETEXT_HEADINGS
430
430
  },
431
431
  optionKey: "setextHeadings"
432
432
  },
433
433
  {
434
434
  handler: {
435
435
  name: "links",
436
- handle: at,
437
- priority: T.LINKS
436
+ handle: nt,
437
+ priority: O.LINKS
438
438
  },
439
439
  optionKey: "links",
440
440
  earlyReturn: (e) => e.endsWith("](streamdown:incomplete-link)")
@@ -442,88 +442,88 @@ $$` : `${e}$$`;
442
442
  {
443
443
  handler: {
444
444
  name: "boldItalic",
445
- handle: We,
446
- priority: T.BOLD_ITALIC
445
+ handle: Ve,
446
+ priority: O.BOLD_ITALIC
447
447
  },
448
448
  optionKey: "boldItalic"
449
449
  },
450
450
  {
451
451
  handler: {
452
452
  name: "bold",
453
- handle: Ne,
454
- priority: T.BOLD
453
+ handle: Ae,
454
+ priority: O.BOLD
455
455
  },
456
456
  optionKey: "bold"
457
457
  },
458
458
  {
459
459
  handler: {
460
460
  name: "italicDoubleUnderscore",
461
- handle: Fe,
462
- priority: T.ITALIC_DOUBLE_UNDERSCORE
461
+ handle: Me,
462
+ priority: O.ITALIC_DOUBLE_UNDERSCORE
463
463
  },
464
464
  optionKey: "italic"
465
465
  },
466
466
  {
467
467
  handler: {
468
468
  name: "italicSingleAsterisk",
469
- handle: Le,
470
- priority: T.ITALIC_SINGLE_ASTERISK
469
+ handle: Pe,
470
+ priority: O.ITALIC_SINGLE_ASTERISK
471
471
  },
472
472
  optionKey: "italic"
473
473
  },
474
474
  {
475
475
  handler: {
476
476
  name: "italicSingleUnderscore",
477
- handle: Ve,
478
- priority: T.ITALIC_SINGLE_UNDERSCORE
477
+ handle: Re,
478
+ priority: O.ITALIC_SINGLE_UNDERSCORE
479
479
  },
480
480
  optionKey: "italic"
481
481
  },
482
482
  {
483
483
  handler: {
484
484
  name: "inlineCode",
485
- handle: Ye,
486
- priority: T.INLINE_CODE
485
+ handle: Ke,
486
+ priority: O.INLINE_CODE
487
487
  },
488
488
  optionKey: "inlineCode"
489
489
  },
490
490
  {
491
491
  handler: {
492
492
  name: "strikethrough",
493
- handle: pt,
494
- priority: T.STRIKETHROUGH
493
+ handle: ut,
494
+ priority: O.STRIKETHROUGH
495
495
  },
496
496
  optionKey: "strikethrough"
497
497
  },
498
498
  {
499
499
  handler: {
500
500
  name: "katex",
501
- handle: et,
502
- priority: T.KATEX
501
+ handle: Ze,
502
+ priority: O.KATEX
503
503
  },
504
504
  optionKey: "katex"
505
505
  },
506
506
  {
507
507
  handler: {
508
508
  name: "inlineKatex",
509
- handle: tt,
510
- priority: T.INLINE_KATEX
509
+ handle: Qe,
510
+ priority: O.INLINE_KATEX
511
511
  },
512
512
  optionKey: "inlineKatex"
513
513
  }
514
- ], gt = (e) => {
514
+ ], pt = (e) => {
515
515
  let t = e?.linkMode ?? "protocol";
516
- return ht.filter(({ handler: t, optionKey: n }) => t.name === "links" ? w(e?.links) || w(e?.images) : t.name === "inlineKatex" ? mt(e?.inlineKatex) : w(e?.[n])).map(({ handler: e, earlyReturn: n }) => e.name === "links" ? {
517
- handler: h(m({}, e), { handle: (e) => at(e, t) }),
516
+ return ft.filter(({ handler: t, optionKey: n }) => t.name === "links" ? D(e?.links) || D(e?.images) : t.name === "inlineKatex" ? dt(e?.inlineKatex) : D(e?.[n])).map(({ handler: e, earlyReturn: n }) => e.name === "links" ? {
517
+ handler: g(h({}, e), { handle: (e) => nt(e, t) }),
518
518
  earlyReturn: t === "protocol" ? n : void 0
519
519
  } : {
520
520
  handler: e,
521
521
  earlyReturn: n
522
522
  });
523
- }, _t = (e, t) => {
523
+ }, mt = (e, t) => {
524
524
  if (!e || typeof e != "string") return e;
525
- let n = e.endsWith(" ") && !e.endsWith(" ") ? e.slice(0, -1) : e, r = gt(t), i = (t?.handlers ?? []).map((e) => ({
526
- handler: h(m({}, e), { priority: e.priority ?? T.DEFAULT }),
525
+ let n = e.endsWith(" ") && !e.endsWith(" ") ? e.slice(0, -1) : e, r = pt(t), i = (t?.handlers ?? []).map((e) => ({
526
+ handler: g(h({}, e), { priority: e.priority ?? O.DEFAULT }),
527
527
  earlyReturn: void 0
528
528
  })), a = [...r, ...i].sort((e, t) => (e.handler.priority ?? 0) - (t.handler.priority ?? 0));
529
529
  for (let { handler: e, earlyReturn: t } of a) if (n = e.handle(n), t != null && t(n)) return n;
@@ -531,7 +531,7 @@ $$` : `${e}$$`;
531
531
  };
532
532
  //#endregion
533
533
  //#region ../../node_modules/.pnpm/marked@18.0.4/node_modules/marked/lib/marked.esm.js
534
- function E() {
534
+ function ht() {
535
535
  return {
536
536
  async: !1,
537
537
  breaks: !1,
@@ -545,35 +545,35 @@ function E() {
545
545
  walkTokens: null
546
546
  };
547
547
  }
548
- var D = E();
549
- function vt(e) {
550
- D = e;
548
+ var k = ht();
549
+ function gt(e) {
550
+ k = e;
551
551
  }
552
- var O = { exec: () => null };
553
- function k(e) {
552
+ var A = { exec: () => null };
553
+ function j(e) {
554
554
  let t = [];
555
555
  return (n) => {
556
556
  let r = Math.max(0, Math.min(3, n - 1)), i = t[r];
557
557
  return i || (i = e(r), t[r] = i), i;
558
558
  };
559
559
  }
560
- function A(e, t = "") {
560
+ function M(e, t = "") {
561
561
  let n = typeof e == "string" ? e : e.source, r = {
562
562
  replace: (e, t) => {
563
563
  let i = typeof t == "string" ? t : t.source;
564
- return i = i.replace(j.caret, "$1"), n = n.replace(e, i), r;
564
+ return i = i.replace(N.caret, "$1"), n = n.replace(e, i), r;
565
565
  },
566
566
  getRegex: () => new RegExp(n, t)
567
567
  };
568
568
  return r;
569
569
  }
570
- var yt = ((e = "") => {
570
+ var _t = ((e = "") => {
571
571
  try {
572
572
  return !!RegExp("(?<=1)(?<!1)" + e);
573
573
  } catch {
574
574
  return !1;
575
575
  }
576
- })(), j = {
576
+ })(), N = {
577
577
  codeRemoveIndent: /^(?: {1,4}| {0,3}\t)/gm,
578
578
  outputLinkReplace: /\\([\[\]])/g,
579
579
  indentCodeCompensation: /^(\s+)(?:```)/,
@@ -624,83 +624,83 @@ var yt = ((e = "") => {
624
624
  notSpaceStart: /^\S*/,
625
625
  endingNewline: /\n$/,
626
626
  listItemRegex: (e) => RegExp(`^( {0,3}${e})((?:[ ][^\\n]*)?(?:\\n|$))`),
627
- nextBulletRegex: k((e) => RegExp(`^ {0,${e}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`)),
628
- hrRegex: k((e) => RegExp(`^ {0,${e}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`)),
629
- fencesBeginRegex: k((e) => RegExp(`^ {0,${e}}(?:\`\`\`|~~~)`)),
630
- headingBeginRegex: k((e) => RegExp(`^ {0,${e}}#`)),
631
- htmlBeginRegex: k((e) => RegExp(`^ {0,${e}}<(?:[a-z].*>|!--)`, "i")),
632
- blockquoteBeginRegex: k((e) => RegExp(`^ {0,${e}}>`))
633
- }, bt = /^(?:[ \t]*(?:\n|$))+/, xt = /^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/, St = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/, M = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/, Ct = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, wt = / {0,3}(?:[*+-]|\d{1,9}[.)])/, Tt = /^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/, Et = A(Tt).replace(/bull/g, wt).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(), Dt = A(Tt).replace(/bull/g, wt).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(), Ot = /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/, kt = /^[^\n]+/, N = /(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/, At = A(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label", N).replace("title", /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(), jt = A(/^(bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g, wt).getRegex(), P = "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", F = /<!--(?:-?>|[\s\S]*?(?:-->|$))/, Mt = A("^ {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", F).replace("tag", P).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(), Nt = A(Ot).replace("hr", M).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[.)])[ \\t]").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", P).getRegex(), I = {
634
- blockquote: A(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph", Nt).getRegex(),
635
- code: xt,
636
- def: At,
637
- fences: St,
638
- heading: Ct,
639
- hr: M,
640
- html: Mt,
641
- lheading: Et,
642
- list: jt,
643
- newline: bt,
644
- paragraph: Nt,
645
- table: O,
646
- text: kt
647
- }, Pt = A("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr", M).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[.)])[ \\t]").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", P).getRegex(), Ft = {
648
- ...I,
649
- lheading: Dt,
650
- table: Pt,
651
- paragraph: A(Ot).replace("hr", M).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("table", Pt).replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", P).getRegex()
652
- }, It = {
653
- ...I,
654
- html: A("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment", F).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(),
627
+ nextBulletRegex: j((e) => RegExp(`^ {0,${e}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`)),
628
+ hrRegex: j((e) => RegExp(`^ {0,${e}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`)),
629
+ fencesBeginRegex: j((e) => RegExp(`^ {0,${e}}(?:\`\`\`|~~~)`)),
630
+ headingBeginRegex: j((e) => RegExp(`^ {0,${e}}#`)),
631
+ htmlBeginRegex: j((e) => RegExp(`^ {0,${e}}<(?:[a-z].*>|!--)`, "i")),
632
+ blockquoteBeginRegex: j((e) => RegExp(`^ {0,${e}}>`))
633
+ }, vt = /^(?:[ \t]*(?:\n|$))+/, yt = /^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/, bt = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/, P = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/, xt = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, F = / {0,3}(?:[*+-]|\d{1,9}[.)])/, St = /^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/, Ct = M(St).replace(/bull/g, F).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(), wt = M(St).replace(/bull/g, F).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(), I = /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/, Tt = /^[^\n]+/, Et = /(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/, Dt = M(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label", Et).replace("title", /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(), Ot = M(/^(bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g, F).getRegex(), L = "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", kt = /<!--(?:-?>|[\s\S]*?(?:-->|$))/, At = M("^ {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", kt).replace("tag", L).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(), jt = M(I).replace("hr", P).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[.)])[ \\t]").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", L).getRegex(), Mt = {
634
+ blockquote: M(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph", jt).getRegex(),
635
+ code: yt,
636
+ def: Dt,
637
+ fences: bt,
638
+ heading: xt,
639
+ hr: P,
640
+ html: At,
641
+ lheading: Ct,
642
+ list: Ot,
643
+ newline: vt,
644
+ paragraph: jt,
645
+ table: A,
646
+ text: Tt
647
+ }, Nt = M("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr", P).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[.)])[ \\t]").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", L).getRegex(), Pt = {
648
+ ...Mt,
649
+ lheading: wt,
650
+ table: Nt,
651
+ paragraph: M(I).replace("hr", P).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("table", Nt).replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", L).getRegex()
652
+ }, Ft = {
653
+ ...Mt,
654
+ html: M("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment", kt).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(),
655
655
  def: /^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,
656
656
  heading: /^(#{1,6})(.*)(?:\n+|$)/,
657
- fences: O,
657
+ fences: A,
658
658
  lheading: /^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,
659
- paragraph: A(Ot).replace("hr", M).replace("heading", " *#{1,6} *[^\n]").replace("lheading", Et).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex()
660
- }, Lt = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, Rt = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, zt = /^( {2,}|\\)\n(?!\s*$)/, Bt = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, L = /[\p{P}\p{S}]/u, R = /[\s\p{P}\p{S}]/u, z = /[^\s\p{P}\p{S}]/u, Vt = A(/^((?![*_])punctSpace)/, "u").replace(/punctSpace/g, R).getRegex(), Ht = /(?!~)[\p{P}\p{S}]/u, Ut = /(?!~)[\s\p{P}\p{S}]/u, Wt = /(?:[^\s\p{P}\p{S}]|~)/u, Gt = A(/link|precode-code|html/, "g").replace("link", /\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace("precode-", yt ? "(?<!`)()" : "(^^|[^`])").replace("code", /(?<b>`+)[^`]+\k<b>(?!`)/).replace("html", /<(?! )[^<>]*?>/).getRegex(), Kt = /^(?:\*+(?:((?!\*)punct)|([^\s*]))?)|^_+(?:((?!_)punct)|([^\s_]))?/, qt = A(Kt, "u").replace(/punct/g, L).getRegex(), Jt = A(Kt, "u").replace(/punct/g, Ht).getRegex(), Yt = "^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)", Xt = A(Yt, "gu").replace(/notPunctSpace/g, z).replace(/punctSpace/g, R).replace(/punct/g, L).getRegex(), Zt = A(Yt, "gu").replace(/notPunctSpace/g, Wt).replace(/punctSpace/g, Ut).replace(/punct/g, Ht).getRegex(), Qt = A("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)", "gu").replace(/notPunctSpace/g, z).replace(/punctSpace/g, R).replace(/punct/g, L).getRegex(), $t = A(/^~~?(?:((?!~)punct)|[^\s~])/, "u").replace(/punct/g, L).getRegex(), en = A("^[^~]+(?=[^~])|(?!~)punct(~~?)(?=[\\s]|$)|notPunctSpace(~~?)(?!~)(?=punctSpace|$)|(?!~)punctSpace(~~?)(?=notPunctSpace)|[\\s](~~?)(?!~)(?=punct)|(?!~)punct(~~?)(?!~)(?=punct)|notPunctSpace(~~?)(?=notPunctSpace)", "gu").replace(/notPunctSpace/g, z).replace(/punctSpace/g, R).replace(/punct/g, L).getRegex(), tn = A(/\\(punct)/, "gu").replace(/punct/g, L).getRegex(), nn = A(/^<(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(), rn = A(F).replace("(?:-->|$)", "-->").getRegex(), an = A("^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", rn).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), B = /(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+(?!`)[^`]*?`+(?!`)|``+(?=\])|[^\[\]\\`])*?/, on = A(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]+(?:\n[ \t]*)?|\n[ \t]*)(title))?\s*\)/).replace("label", B).replace("href", /<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), sn = A(/^!?\[(label)\]\[(ref)\]/).replace("label", B).replace("ref", N).getRegex(), cn = A(/^!?\[(ref)\](?:\[\])?/).replace("ref", N).getRegex(), ln = A("reflink|nolink(?!\\()", "g").replace("reflink", sn).replace("nolink", cn).getRegex(), un = /[hH][tT][tT][pP][sS]?|[fF][tT][pP]/, V = {
661
- _backpedal: O,
659
+ paragraph: M(I).replace("hr", P).replace("heading", " *#{1,6} *[^\n]").replace("lheading", Ct).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex()
660
+ }, It = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, Lt = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, Rt = /^( {2,}|\\)\n(?!\s*$)/, zt = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, R = /[\p{P}\p{S}]/u, z = /[\s\p{P}\p{S}]/u, Bt = /[^\s\p{P}\p{S}]/u, Vt = M(/^((?![*_])punctSpace)/, "u").replace(/punctSpace/g, z).getRegex(), Ht = /(?!~)[\p{P}\p{S}]/u, Ut = /(?!~)[\s\p{P}\p{S}]/u, Wt = /(?:[^\s\p{P}\p{S}]|~)/u, Gt = M(/link|precode-code|html/, "g").replace("link", /\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace("precode-", _t ? "(?<!`)()" : "(^^|[^`])").replace("code", /(?<b>`+)[^`]+\k<b>(?!`)/).replace("html", /<(?! )[^<>]*?>/).getRegex(), Kt = /^(?:\*+(?:((?!\*)punct)|([^\s*]))?)|^_+(?:((?!_)punct)|([^\s_]))?/, qt = M(Kt, "u").replace(/punct/g, R).getRegex(), Jt = M(Kt, "u").replace(/punct/g, Ht).getRegex(), Yt = "^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)", Xt = M(Yt, "gu").replace(/notPunctSpace/g, Bt).replace(/punctSpace/g, z).replace(/punct/g, R).getRegex(), Zt = M(Yt, "gu").replace(/notPunctSpace/g, Wt).replace(/punctSpace/g, Ut).replace(/punct/g, Ht).getRegex(), Qt = M("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)", "gu").replace(/notPunctSpace/g, Bt).replace(/punctSpace/g, z).replace(/punct/g, R).getRegex(), $t = M(/^~~?(?:((?!~)punct)|[^\s~])/, "u").replace(/punct/g, R).getRegex(), en = M("^[^~]+(?=[^~])|(?!~)punct(~~?)(?=[\\s]|$)|notPunctSpace(~~?)(?!~)(?=punctSpace|$)|(?!~)punctSpace(~~?)(?=notPunctSpace)|[\\s](~~?)(?!~)(?=punct)|(?!~)punct(~~?)(?!~)(?=punct)|notPunctSpace(~~?)(?=notPunctSpace)", "gu").replace(/notPunctSpace/g, Bt).replace(/punctSpace/g, z).replace(/punct/g, R).getRegex(), tn = M(/\\(punct)/, "gu").replace(/punct/g, R).getRegex(), nn = M(/^<(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(), rn = M(kt).replace("(?:-->|$)", "-->").getRegex(), an = M("^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", rn).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), B = /(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+(?!`)[^`]*?`+(?!`)|``+(?=\])|[^\[\]\\`])*?/, on = M(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]+(?:\n[ \t]*)?|\n[ \t]*)(title))?\s*\)/).replace("label", B).replace("href", /<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), sn = M(/^!?\[(label)\]\[(ref)\]/).replace("label", B).replace("ref", Et).getRegex(), cn = M(/^!?\[(ref)\](?:\[\])?/).replace("ref", Et).getRegex(), ln = M("reflink|nolink(?!\\()", "g").replace("reflink", sn).replace("nolink", cn).getRegex(), un = /[hH][tT][tT][pP][sS]?|[fF][tT][pP]/, V = {
661
+ _backpedal: A,
662
662
  anyPunctuation: tn,
663
663
  autolink: nn,
664
664
  blockSkip: Gt,
665
- br: zt,
666
- code: Rt,
667
- del: O,
668
- delLDelim: O,
669
- delRDelim: O,
665
+ br: Rt,
666
+ code: Lt,
667
+ del: A,
668
+ delLDelim: A,
669
+ delRDelim: A,
670
670
  emStrongLDelim: qt,
671
671
  emStrongRDelimAst: Xt,
672
672
  emStrongRDelimUnd: Qt,
673
- escape: Lt,
673
+ escape: It,
674
674
  link: on,
675
675
  nolink: cn,
676
676
  punctuation: Vt,
677
677
  reflink: sn,
678
678
  reflinkSearch: ln,
679
679
  tag: an,
680
- text: Bt,
681
- url: O
680
+ text: zt,
681
+ url: A
682
682
  }, dn = {
683
683
  ...V,
684
- link: A(/^!?\[(label)\]\((.*?)\)/).replace("label", B).getRegex(),
685
- reflink: A(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label", B).getRegex()
684
+ link: M(/^!?\[(label)\]\((.*?)\)/).replace("label", B).getRegex(),
685
+ reflink: M(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label", B).getRegex()
686
686
  }, H = {
687
687
  ...V,
688
688
  emStrongRDelimAst: Zt,
689
689
  emStrongLDelim: Jt,
690
690
  delLDelim: $t,
691
691
  delRDelim: en,
692
- url: A(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol", un).replace("email", /[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),
692
+ url: M(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol", un).replace("email", /[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),
693
693
  _backpedal: /(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,
694
694
  del: /^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/,
695
- text: A(/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace("protocol", un).getRegex()
695
+ text: M(/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace("protocol", un).getRegex()
696
696
  }, fn = {
697
697
  ...H,
698
- br: A(zt).replace("{2,}", "*").getRegex(),
699
- text: A(H.text).replace("\\b_", "\\b_| {2,}\\n").replace(/\{2,\}/g, "*").getRegex()
698
+ br: M(Rt).replace("{2,}", "*").getRegex(),
699
+ text: M(H.text).replace("\\b_", "\\b_| {2,}\\n").replace(/\{2,\}/g, "*").getRegex()
700
700
  }, U = {
701
- normal: I,
702
- gfm: Ft,
703
- pedantic: It
701
+ normal: Mt,
702
+ gfm: Pt,
703
+ pedantic: Ft
704
704
  }, W = {
705
705
  normal: V,
706
706
  gfm: H,
@@ -715,27 +715,27 @@ var yt = ((e = "") => {
715
715
  }, mn = (e) => pn[e];
716
716
  function G(e, t) {
717
717
  if (t) {
718
- if (j.escapeTest.test(e)) return e.replace(j.escapeReplace, mn);
719
- } else if (j.escapeTestNoEncode.test(e)) return e.replace(j.escapeReplaceNoEncode, mn);
718
+ if (N.escapeTest.test(e)) return e.replace(N.escapeReplace, mn);
719
+ } else if (N.escapeTestNoEncode.test(e)) return e.replace(N.escapeReplaceNoEncode, mn);
720
720
  return e;
721
721
  }
722
722
  function hn(e) {
723
723
  try {
724
- e = encodeURI(e).replace(j.percentDecode, "%");
724
+ e = encodeURI(e).replace(N.percentDecode, "%");
725
725
  } catch {
726
726
  return null;
727
727
  }
728
728
  return e;
729
729
  }
730
730
  function gn(e, t) {
731
- let n = e.replace(j.findPipe, (e, t, n) => {
731
+ let n = e.replace(N.findPipe, (e, t, n) => {
732
732
  let r = !1, i = t;
733
733
  for (; --i >= 0 && n[i] === "\\";) r = !r;
734
734
  return r ? "|" : " |";
735
- }).split(j.splitPipe), r = 0;
735
+ }).split(N.splitPipe), r = 0;
736
736
  if (n[0].trim() || n.shift(), n.length > 0 && !n.at(-1)?.trim() && n.pop(), t) if (n.length > t) n.splice(t);
737
737
  else for (; n.length < t;) n.push("");
738
- for (; r < n.length; r++) n[r] = n[r].trim().replace(j.slashPipe, "|");
738
+ for (; r < n.length; r++) n[r] = n[r].trim().replace(N.slashPipe, "|");
739
739
  return n;
740
740
  }
741
741
  function K(e, t, n) {
@@ -752,7 +752,7 @@ function K(e, t, n) {
752
752
  }
753
753
  function _n(e) {
754
754
  let t = e.split("\n"), n = t.length - 1;
755
- for (; n >= 0 && j.blankLine.test(t[n]);) n--;
755
+ for (; n >= 0 && N.blankLine.test(t[n]);) n--;
756
756
  return t.length - n <= 2 ? e : t.slice(0, n + 1).join("\n");
757
757
  }
758
758
  function vn(e, t) {
@@ -800,7 +800,7 @@ var q = class {
800
800
  rules;
801
801
  lexer;
802
802
  constructor(e) {
803
- this.options = e || D;
803
+ this.options = e || k;
804
804
  }
805
805
  space(e) {
806
806
  let t = this.rules.block.newline.exec(e);
@@ -912,16 +912,16 @@ ${c}` : c;
912
912
  r = t[0], e = e.substring(r.length);
913
913
  let c = yn(t[2].split("\n", 1)[0], t[1].length), l = e.split("\n", 1)[0], u = !c.trim(), d = 0;
914
914
  if (this.options.pedantic ? (d = 2, s = c.trimStart()) : u ? d = t[1].length + 1 : (d = c.search(this.rules.other.nonSpaceChar), d = d > 4 ? 1 : d, s = c.slice(d), d += t[1].length), u && this.rules.other.blankLine.test(l) && (r += l + "\n", e = e.substring(l.length + 1), n = !0), !n) {
915
- let t = this.rules.other.nextBulletRegex(d), n = this.rules.other.hrRegex(d), i = this.rules.other.fencesBeginRegex(d), a = this.rules.other.headingBeginRegex(d), o = this.rules.other.htmlBeginRegex(d), ee = this.rules.other.blockquoteBeginRegex(d);
915
+ let t = this.rules.other.nextBulletRegex(d), n = this.rules.other.hrRegex(d), i = this.rules.other.fencesBeginRegex(d), a = this.rules.other.headingBeginRegex(d), o = this.rules.other.htmlBeginRegex(d), f = this.rules.other.blockquoteBeginRegex(d);
916
916
  for (; e;) {
917
- let f = e.split("\n", 1)[0], p;
918
- if (l = f, this.options.pedantic ? (l = l.replace(this.rules.other.listReplaceNesting, " "), p = l) : p = l.replace(this.rules.other.tabCharGlobal, " "), i.test(l) || a.test(l) || o.test(l) || ee.test(l) || t.test(l) || n.test(l)) break;
919
- if (p.search(this.rules.other.nonSpaceChar) >= d || !l.trim()) s += "\n" + p.slice(d);
917
+ let p = e.split("\n", 1)[0], m;
918
+ if (l = p, this.options.pedantic ? (l = l.replace(this.rules.other.listReplaceNesting, " "), m = l) : m = l.replace(this.rules.other.tabCharGlobal, " "), i.test(l) || a.test(l) || o.test(l) || f.test(l) || t.test(l) || n.test(l)) break;
919
+ if (m.search(this.rules.other.nonSpaceChar) >= d || !l.trim()) s += "\n" + m.slice(d);
920
920
  else {
921
921
  if (u || c.replace(this.rules.other.tabCharGlobal, " ").search(this.rules.other.nonSpaceChar) >= 4 || i.test(c) || a.test(c) || n.test(c)) break;
922
922
  s += "\n" + l;
923
923
  }
924
- u = !l.trim(), r += f + "\n", e = e.substring(f.length + 1), c = p.slice(d);
924
+ u = !l.trim(), r += p + "\n", e = e.substring(p.length + 1), c = m.slice(d);
925
925
  }
926
926
  }
927
927
  i.loose || (o ? i.loose = !0 : this.rules.other.doubleBlankLine.test(r) && (o = !0)), i.items.push({
@@ -1257,13 +1257,13 @@ ${c}` : c;
1257
1257
  inlineQueue;
1258
1258
  tokenizer;
1259
1259
  constructor(e) {
1260
- this.tokens = [], this.tokens.links = Object.create(null), this.options = e || D, this.options.tokenizer = this.options.tokenizer || new q(), this.tokenizer = this.options.tokenizer, this.tokenizer.options = this.options, this.tokenizer.lexer = this, this.inlineQueue = [], this.state = {
1260
+ this.tokens = [], this.tokens.links = Object.create(null), this.options = e || k, this.options.tokenizer = this.options.tokenizer || new q(), this.tokenizer = this.options.tokenizer, this.tokenizer.options = this.options, this.tokenizer.lexer = this, this.inlineQueue = [], this.state = {
1261
1261
  inLink: !1,
1262
1262
  inRawBlock: !1,
1263
1263
  top: !0
1264
1264
  };
1265
1265
  let t = {
1266
- other: j,
1266
+ other: N,
1267
1267
  block: U.normal,
1268
1268
  inline: W.normal
1269
1269
  };
@@ -1282,7 +1282,7 @@ ${c}` : c;
1282
1282
  return new e(n).inlineTokens(t);
1283
1283
  }
1284
1284
  lex(e) {
1285
- e = e.replace(j.carriageReturn, "\n"), this.blockTokens(e, this.tokens);
1285
+ e = e.replace(N.carriageReturn, "\n"), this.blockTokens(e, this.tokens);
1286
1286
  for (let e = 0; e < this.inlineQueue.length; e++) {
1287
1287
  let t = this.inlineQueue[e];
1288
1288
  this.inlineTokens(t.src, t.tokens);
@@ -1290,7 +1290,7 @@ ${c}` : c;
1290
1290
  return this.inlineQueue = [], this.tokens;
1291
1291
  }
1292
1292
  blockTokens(e, t = [], n = !1) {
1293
- this.tokenizer.lexer = this, this.options.pedantic && (e = e.replace(j.tabCharGlobal, " ").replace(j.spaceLine, ""));
1293
+ this.tokenizer.lexer = this, this.options.pedantic && (e = e.replace(N.tabCharGlobal, " ").replace(N.spaceLine, ""));
1294
1294
  let r = Infinity;
1295
1295
  for (; e;) {
1296
1296
  if (e.length < r) r = e.length;
@@ -1476,13 +1476,13 @@ ${c}` : c;
1476
1476
  options;
1477
1477
  parser;
1478
1478
  constructor(e) {
1479
- this.options = e || D;
1479
+ this.options = e || k;
1480
1480
  }
1481
1481
  space(e) {
1482
1482
  return "";
1483
1483
  }
1484
1484
  code({ text: e, lang: t, escaped: n }) {
1485
- let r = (t || "").match(j.notSpaceStart)?.[0], i = e.replace(j.endingNewline, "") + "\n";
1485
+ let r = (t || "").match(N.notSpaceStart)?.[0], i = e.replace(N.endingNewline, "") + "\n";
1486
1486
  return r ? "<pre><code class=\"language-" + G(r) + "\">" + (n ? i : G(i, !0)) + "</code></pre>\n" : "<pre><code>" + (n ? i : G(i, !0)) + "</code></pre>\n";
1487
1487
  }
1488
1488
  blockquote({ tokens: e }) {
@@ -1615,7 +1615,7 @@ ${e}</tr>
1615
1615
  renderer;
1616
1616
  textRenderer;
1617
1617
  constructor(e) {
1618
- this.options = e || D, this.options.renderer = this.options.renderer || new Y(), this.renderer = this.options.renderer, this.renderer.options = this.options, this.renderer.parser = this, this.textRenderer = new Sn();
1618
+ this.options = e || k, this.options.renderer = this.options.renderer || new Y(), this.renderer = this.options.renderer, this.renderer.options = this.options, this.renderer.parser = this, this.textRenderer = new Sn();
1619
1619
  }
1620
1620
  static parse(t, n) {
1621
1621
  return new e(n).parse(t);
@@ -1765,7 +1765,7 @@ ${e}</tr>
1765
1765
  options;
1766
1766
  block;
1767
1767
  constructor(e) {
1768
- this.options = e || D;
1768
+ this.options = e || k;
1769
1769
  }
1770
1770
  static passThroughHooks = new Set([
1771
1771
  "preprocess",
@@ -1797,7 +1797,7 @@ ${e}</tr>
1797
1797
  return e ? X.parse : X.parseInline;
1798
1798
  }
1799
1799
  }, Q = new class {
1800
- defaults = E();
1800
+ defaults = ht();
1801
1801
  options = this.setOptions;
1802
1802
  parse = this.parseMarkdown(!0);
1803
1803
  parseInline = this.parseMarkdown(!1);
@@ -1976,9 +1976,9 @@ function $(e, t) {
1976
1976
  return Q.parse(e, t);
1977
1977
  }
1978
1978
  $.options = $.setOptions = function(e) {
1979
- return Q.setOptions(e), $.defaults = Q.defaults, vt($.defaults), $;
1980
- }, $.getDefaults = E, $.defaults = D, $.use = function(...e) {
1981
- return Q.use(...e), $.defaults = Q.defaults, vt($.defaults), $;
1979
+ return Q.setOptions(e), $.defaults = Q.defaults, gt($.defaults), $;
1980
+ }, $.getDefaults = ht, $.defaults = k, $.use = function(...e) {
1981
+ return Q.use(...e), $.defaults = Q.defaults, gt($.defaults), $;
1982
1982
  }, $.walkTokens = function(e, t) {
1983
1983
  return Q.walkTokens(e, t);
1984
1984
  }, $.parseInline = Q.parseInline, $.Parser = X, $.parser = X.parse, $.Renderer = Y, $.TextRenderer = Sn, $.Lexer = J, $.lexer = J.lex, $.Tokenizer = q, $.Hooks = Z, $.parse = $, $.options, $.setOptions, $.use, $.walkTokens, $.parseInline, X.parse, J.lex;
@@ -2002,23 +2002,27 @@ var Cn = ["innerHTML"], wn = /* @__PURE__ */ u(/* @__PURE__ */ e({
2002
2002
  animationDuration: {
2003
2003
  default: "0.3s",
2004
2004
  type: String
2005
+ },
2006
+ isDark: {
2007
+ type: Boolean,
2008
+ default: !1
2005
2009
  }
2006
2010
  },
2007
2011
  setup(e) {
2008
2012
  let u = e, d = null;
2009
- function ee() {
2010
- return d ||= import("https://cdn.jsdelivr.net/npm/mermaid@11/dist/mermaid.esm.min.mjs").then((e) => (e.default.initialize({ startOnLoad: !1 }), e.default)), d;
2013
+ function f() {
2014
+ return d ||= import("https://cdn.jsdelivr.net/npm/beautiful-mermaid@1/dist/index.js"), d;
2011
2015
  }
2012
- let f = null;
2013
- function p() {
2014
- return f ||= import("https://cdn.jsdelivr.net/npm/katex@0.16/dist/katex.mjs").then((e) => e.default), f;
2016
+ let p = null;
2017
+ function m() {
2018
+ return p ||= import("https://cdn.jsdelivr.net/npm/katex@0.16/dist/katex.mjs").then((e) => e.default), p;
2015
2019
  }
2016
- let te = /^(\${1,2})(?!\$)((?:\\.|[^\\\n])*?(?:\\.|[^\\\n$]))\1(?=[\s?!.,:\uFF1F\uFF01\u3002\uFF0C\uFF1A]|$)/, ne = /^(\${1,2})\n((?:\\[^]|[^\\])+?)\n\1(?:\n|$)/;
2017
- function re(e) {
2020
+ let ee = /^(\${1,2})(?!\$)((?:\\.|[^\\\n])*?(?:\\.|[^\\\n$]))\1(?=[\s?!.,:\uFF1F\uFF01\u3002\uFF0C\uFF1A]|$)/, te = /^(\${1,2})\n((?:\\[^]|[^\\])+?)\n\1(?:\n|$)/;
2021
+ function ne(e) {
2018
2022
  return e.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;");
2019
2023
  }
2020
- function m(e, t) {
2021
- return `<span class="katex-pending" data-katex="${re(e)}" data-display="${t}"></span>`;
2024
+ function h(e, t) {
2025
+ return `<span class="katex-pending" data-katex="${ne(e)}" data-display="${t}"></span>`;
2022
2026
  }
2023
2027
  $.use({ extensions: [{
2024
2028
  name: "inlineKatex",
@@ -2028,7 +2032,7 @@ var Cn = ["innerHTML"], wn = /* @__PURE__ */ u(/* @__PURE__ */ e({
2028
2032
  if (t !== -1 && (t === 0 || e.charAt(t - 1) === " ")) return t;
2029
2033
  },
2030
2034
  tokenizer(e) {
2031
- let t = e.match(te);
2035
+ let t = e.match(ee);
2032
2036
  if (t) return {
2033
2037
  type: "inlineKatex",
2034
2038
  raw: t[0],
@@ -2037,13 +2041,13 @@ var Cn = ["innerHTML"], wn = /* @__PURE__ */ u(/* @__PURE__ */ e({
2037
2041
  };
2038
2042
  },
2039
2043
  renderer(e) {
2040
- return m(e.text, e.displayMode);
2044
+ return h(e.text, e.displayMode);
2041
2045
  }
2042
2046
  }, {
2043
2047
  name: "blockKatex",
2044
2048
  level: "block",
2045
2049
  tokenizer(e) {
2046
- let t = e.match(ne);
2050
+ let t = e.match(te);
2047
2051
  if (t) return {
2048
2052
  type: "blockKatex",
2049
2053
  raw: t[0],
@@ -2052,7 +2056,7 @@ var Cn = ["innerHTML"], wn = /* @__PURE__ */ u(/* @__PURE__ */ e({
2052
2056
  };
2053
2057
  },
2054
2058
  renderer(e) {
2055
- return m(e.text, e.displayMode) + "\n";
2059
+ return h(e.text, e.displayMode) + "\n";
2056
2060
  }
2057
2061
  }] }), $.use({ extensions: [{
2058
2062
  name: "thinking",
@@ -2073,19 +2077,19 @@ var Cn = ["innerHTML"], wn = /* @__PURE__ */ u(/* @__PURE__ */ e({
2073
2077
  return `<div class="thinking-block">${this.parser.parse(e.tokens ?? [])}</div>`;
2074
2078
  }
2075
2079
  }] });
2076
- let h = new $.Renderer();
2077
- h.link = function({ href: e, title: t, tokens: n }) {
2080
+ let g = new $.Renderer();
2081
+ g.link = function({ href: e, title: t, tokens: n }) {
2078
2082
  let r = this.parser.parseInline(n);
2079
2083
  return `<a href="${e}"${t ? ` title="${t}"` : ""}${l(e ?? "") ? "" : " target=\"_blank\" rel=\"noopener noreferrer\""}>${r}</a>`;
2080
- }, h.table = function(e) {
2084
+ }, g.table = function(e) {
2081
2085
  return `<div class="table-wrapper">${$.Renderer.prototype.table.call(this, e)}</div>`;
2082
2086
  };
2083
- let g = /^(sequenceDiagram|graph|classDiagram|stateDiagram|erDiagram|gantt|pie|flowchart|journey)/;
2084
- h.code = ({ text: e }) => g.test(e) ? `<pre class="mermaid">${e}</pre>` : `<pre><code>${e}</code></pre>`;
2085
- function ie(e) {
2087
+ let _ = /^(sequenceDiagram|graph|classDiagram|stateDiagram|erDiagram|flowchart|xychart-beta)/;
2088
+ g.code = ({ text: e }) => _.test(e) ? `<pre class="mermaid">${e}</pre>` : `<pre><code>${e}</code></pre>`;
2089
+ function re(e) {
2086
2090
  return e.replace(/\\\[([\s\S]*?)\\\]/g, (e, t) => `$$${t}$$`).replace(/\\\(([\s\S]*?)\\\)/g, (e, t) => `$${t}$`).replace(/^(\d+)\.(?!\s)/gm, "$1\\.");
2087
2091
  }
2088
- function ae(e) {
2092
+ function ie(e) {
2089
2093
  let t = /* @__PURE__ */ new Set(), n = /^(`{3,})[^\n]*\n([\s\S]*?)\n\1/gm, r;
2090
2094
  for (; (r = n.exec(e)) !== null;) for (let e = r.index; e < r.index + r[0].length; e++) t.add(e);
2091
2095
  return e.replace(/[{[]([\s\S]*?)[}\]]/g, (e, n, r) => {
@@ -2097,51 +2101,46 @@ var Cn = ["innerHTML"], wn = /* @__PURE__ */ u(/* @__PURE__ */ e({
2097
2101
  }
2098
2102
  }).replace(/\n{3,}/g, "\n\n");
2099
2103
  }
2100
- let _ = [
2101
- ae,
2102
- _t,
2103
- ie
2104
- ], v = n("container"), y = i(() => {
2105
- let e = _.reduce((e, t) => t(e), u.markdown);
2104
+ let v = [
2105
+ ie,
2106
+ mt,
2107
+ re
2108
+ ], y = r("container"), b = i(() => {
2109
+ let e = v.reduce((e, t) => t(e), u.markdown);
2106
2110
  return $.parse(e, {
2107
2111
  async: !1,
2108
2112
  breaks: !0,
2109
- renderer: h
2113
+ renderer: g
2110
2114
  });
2111
2115
  });
2112
- async function oe() {
2116
+ async function ae() {
2113
2117
  if (u.loading) return;
2114
2118
  await t();
2115
- let e = v.value?.querySelectorAll("pre.mermaid:not([data-rendered])");
2119
+ let e = y.value?.querySelectorAll("pre.mermaid:not([data-rendered])");
2116
2120
  if (!e?.length) return;
2117
- let n = await ee(), r = document.createElement("div");
2118
- r.style.cssText = "position:fixed;left:-9999px;top:-9999px;width:800px", document.body.appendChild(r);
2119
- try {
2120
- for (let t of Array.from(e)) {
2121
- if (!t.isConnected) continue;
2122
- let e = t.textContent?.trim();
2123
- if (e) try {
2124
- let { svg: i } = await n.render(`m-${Math.random().toString(36).slice(2)}`, e, r);
2125
- t.isConnected && (t.innerHTML = i, t.setAttribute("data-rendered", "true"));
2126
- } catch {}
2127
- }
2128
- } finally {
2129
- r.remove();
2121
+ let { renderMermaidSVG: n, THEMES: r } = await f(), i = u.isDark ? r["github-dark"] : r["github-light"];
2122
+ for (let t of Array.from(e)) {
2123
+ if (!t.isConnected) continue;
2124
+ let e = t.textContent?.trim();
2125
+ if (e) try {
2126
+ let r = n(e, i);
2127
+ t.isConnected && (t.dataset.code = e, t.innerHTML = r, t.setAttribute("data-rendered", "true"));
2128
+ } catch {}
2130
2129
  }
2131
2130
  }
2132
- async function se() {
2131
+ async function oe() {
2133
2132
  await t();
2134
- let e = v.value?.querySelectorAll("pre:not(.mermaid) > code:not([data-highlighted])");
2133
+ let e = y.value?.querySelectorAll("pre:not(.mermaid) > code:not([data-highlighted])");
2135
2134
  if (!e?.length) return;
2136
2135
  let n = (await import("https://cdn.jsdelivr.net/npm/highlight.js@11/es/common.js")).default;
2137
2136
  for (let t of e) n.highlightElement(t), t.setAttribute("data-highlighted", "true");
2138
2137
  }
2139
- async function ce() {
2138
+ async function se() {
2140
2139
  await t();
2141
- let e = v.value?.querySelectorAll(".katex-pending");
2140
+ let e = y.value?.querySelectorAll(".katex-pending");
2142
2141
  if (!e?.length) return;
2143
- let n = await p();
2144
- s("https://cdn.jsdelivr.net/npm/katex@0.16/dist/katex.min.css", c(v.value));
2142
+ let n = await m();
2143
+ s("https://cdn.jsdelivr.net/npm/katex@0.16/dist/katex.min.css", c(y.value));
2145
2144
  for (let t of Array.from(e)) {
2146
2145
  if (!t.isConnected) continue;
2147
2146
  let e = t.dataset.katex;
@@ -2155,8 +2154,21 @@ var Cn = ["innerHTML"], wn = /* @__PURE__ */ u(/* @__PURE__ */ e({
2155
2154
  } catch {}
2156
2155
  }
2157
2156
  }
2158
- r([y, () => u.loading], oe, { immediate: !0 }), r(y, se, { immediate: !0 }), r(y, ce, { immediate: !0 });
2159
- let b = 0;
2157
+ async function ce() {
2158
+ await t();
2159
+ let e = y.value?.querySelectorAll("pre.mermaid[data-rendered]");
2160
+ if (!e?.length) return;
2161
+ let { renderMermaidSVG: n, THEMES: r } = await f(), i = u.isDark ? r["github-dark"] : r["github-light"];
2162
+ for (let t of Array.from(e)) {
2163
+ if (!t.isConnected) continue;
2164
+ let e = t.dataset.code;
2165
+ if (e) try {
2166
+ t.innerHTML = n(e, i);
2167
+ } catch {}
2168
+ }
2169
+ }
2170
+ n([b, () => u.loading], ae, { immediate: !0 }), n(() => u.isDark, ce), n(b, oe, { immediate: !0 }), n(b, se, { immediate: !0 });
2171
+ let x = 0;
2160
2172
  function le(e, t) {
2161
2173
  let n = document.createElement("span");
2162
2174
  return n.style.cssText = `animation:ft-${u.animation} ${u.animationDuration} ease-out ${t}ms both;display:inline-block`, n.textContent = e, n.addEventListener("animationend", () => {
@@ -2175,42 +2187,42 @@ var Cn = ["innerHTML"], wn = /* @__PURE__ */ u(/* @__PURE__ */ e({
2175
2187
  }
2176
2188
  return i;
2177
2189
  }
2178
- function de(e) {
2190
+ function S(e) {
2179
2191
  let t = document.createTreeWalker(e, NodeFilter.SHOW_TEXT, { acceptNode(e) {
2180
2192
  return e.parentElement?.closest("pre, code, .katex-pending") ? NodeFilter.FILTER_REJECT : NodeFilter.FILTER_ACCEPT;
2181
2193
  } }), n = [];
2182
2194
  for (; t.nextNode();) n.push(t.currentNode);
2183
2195
  return n;
2184
2196
  }
2185
- function x() {
2186
- if (!v.value || !u.loading || !u.animation) return;
2187
- let e = de(v.value), t = 0, n = 0;
2197
+ function C() {
2198
+ if (!y.value || !u.loading || !u.animation) return;
2199
+ let e = S(y.value), t = 0, n = 0;
2188
2200
  for (let r of e) {
2189
2201
  let e = r.textContent || "", i = t, a = t + e.length;
2190
- if (t = a, a <= b) continue;
2202
+ if (t = a, a <= x) continue;
2191
2203
  let o = r.parentNode;
2192
2204
  if (!o) continue;
2193
- if (i >= b) {
2205
+ if (i >= x) {
2194
2206
  let t = r.nextSibling;
2195
2207
  o.removeChild(r), n = ue(e, o, t, n);
2196
2208
  continue;
2197
2209
  }
2198
- let s = b - i, c = r.splitText(s), l = c.textContent || "", u = c.nextSibling;
2210
+ let s = x - i, c = r.splitText(s), l = c.textContent || "", u = c.nextSibling;
2199
2211
  o.removeChild(c), n = ue(l, o, u, n);
2200
2212
  }
2201
- b = t;
2213
+ x = t;
2202
2214
  }
2203
- return r(y, async () => {
2204
- await t(), x();
2205
- }, { immediate: !0 }), r(() => u.markdown, (e, t) => {
2206
- (!e || t && e.length < t.length) && (b = 0);
2215
+ return n(b, async () => {
2216
+ await t(), C();
2217
+ }, { immediate: !0 }), n(() => u.markdown, (e, t) => {
2218
+ (!e || t && e.length < t.length) && (x = 0);
2207
2219
  }), (e, t) => (o(), a("div", {
2208
2220
  ref: "container",
2209
- innerHTML: y.value
2221
+ innerHTML: b.value
2210
2222
  }, null, 8, Cn));
2211
2223
  }
2212
2224
  }), [["styles", ["@keyframes ft-fadeIn{0%{opacity:0}to{opacity:1}}@keyframes ft-blurIn{0%{opacity:0;filter:blur(4px)}to{opacity:1;filter:blur()}}@keyframes ft-dropIn{0%{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}@keyframes ft-slideUp{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes ft-fadeAndScale{0%{opacity:0;transform:scale(.85)}to{opacity:1;transform:scale(1)}}"]]]);
2213
2225
  //#endregion
2214
2226
  export { wn as t };
2215
2227
 
2216
- //# sourceMappingURL=PkStreamingMarkdown-SVWv4Oye.js.map
2228
+ //# sourceMappingURL=PkStreamingMarkdown-C_fNNe9O.js.map