@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,16 +1,16 @@
1
- import { n as e, v as t, y as n } from "./src-EtGd6cRz.js";
1
+ import { b as e, n as t, y as n } from "./src-DW4YojFN.js";
2
2
  import { computed as r, createElementBlock as i, defineComponent as a, nextTick as o, openBlock as s, useTemplateRef as c, watch as l } from "vue";
3
3
  //#region ../../node_modules/.pnpm/remend@1.3.0/node_modules/remend/dist/index.js
4
- var u = Object.defineProperty, d = Object.defineProperties, ee = Object.getOwnPropertyDescriptors, f = Object.getOwnPropertySymbols, p = Object.prototype.hasOwnProperty, te = Object.prototype.propertyIsEnumerable, m = (e, t, n) => t in e ? u(e, t, {
4
+ var u = Object.defineProperty, d = Object.defineProperties, f = Object.getOwnPropertyDescriptors, p = Object.getOwnPropertySymbols, m = Object.prototype.hasOwnProperty, ee = Object.prototype.propertyIsEnumerable, h = (e, t, n) => t in e ? u(e, t, {
5
5
  enumerable: !0,
6
6
  configurable: !0,
7
7
  writable: !0,
8
8
  value: n
9
- }) : e[t] = n, h = (e, t) => {
10
- for (var n in t ||= {}) p.call(t, n) && m(e, n, t[n]);
11
- if (f) for (var n of f(t)) te.call(t, n) && m(e, n, t[n]);
9
+ }) : e[t] = n, g = (e, t) => {
10
+ for (var n in t ||= {}) m.call(t, n) && h(e, n, t[n]);
11
+ if (p) for (var n of p(t)) ee.call(t, n) && h(e, n, t[n]);
12
12
  return e;
13
- }, g = (e, t) => d(e, ee(t)), _ = (e, t) => {
13
+ }, _ = (e, t) => d(e, f(t)), v = (e, t) => {
14
14
  let n = !1, r = !1;
15
15
  for (let i = 0; i < t; i += 1) {
16
16
  if (e[i] === "\\" && i + 1 < e.length && e[i + 1] === "`") {
@@ -24,20 +24,20 @@ var u = Object.defineProperty, d = Object.defineProperties, ee = Object.getOwnPr
24
24
  !r && e[i] === "`" && (n = !n);
25
25
  }
26
26
  return n || r;
27
- }, ne = (e, t) => {
27
+ }, te = (e, t) => {
28
28
  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) === "```";
29
29
  return n || r || i;
30
- }, re = (e) => {
30
+ }, ne = (e) => {
31
31
  let t = 0;
32
32
  for (let n = 0; n < e.length; n += 1) {
33
33
  if (e[n] === "\\" && n + 1 < e.length && e[n + 1] === "`") {
34
34
  n += 1;
35
35
  continue;
36
36
  }
37
- e[n] === "`" && !ne(e, n) && (t += 1);
37
+ e[n] === "`" && !te(e, n) && (t += 1);
38
38
  }
39
39
  return t;
40
- }, v = (e, t) => {
40
+ }, y = (e, t) => {
41
41
  let n = !1, r = !1, i = -1;
42
42
  for (let a = 0; a < e.length; a += 1) {
43
43
  if (e[a] === "\\" && a + 1 < e.length && e[a + 1] === "`") {
@@ -54,21 +54,21 @@ var u = Object.defineProperty, d = Object.defineProperties, ee = Object.getOwnPr
54
54
  } else n = !0, i = a;
55
55
  }
56
56
  return !1;
57
- }, ie = /^(\s*(?:[-*+]|\d+[.)]) +)>(=?\s*[$]?\d)/gm, y = (e) => !e || typeof e != "string" || !e.includes(">") ? e : e.replace(ie, (t, n, r, i) => _(e, i) ? t : `${n}\\>${r}`), b = /(\*\*)([^*]*\*?)$/, ae = /(__)([^_]*?)$/, oe = /(\*\*\*)([^*]*?)$/, se = /(\*)([^*]*?)$/, x = /(_)([^_]*?)$/, ce = /(`)([^`]*?)$/, le = /(~~)([^~]*?)$/, S = /^[\s_~*`]*$/, ue = /^[\s]*[-*+][\s]+$/, de = /[\p{L}\p{N}_]/u, fe = /^```[^`\n]*```?$/, pe = /^\*{4,}$/, me = /(__)([^_]+)_$/, he = /(~~)([^~]+)~$/, ge = /~~/g, C = (e) => {
57
+ }, re = /^(\s*(?:[-*+]|\d+[.)]) +)>(=?\s*[$]?\d)/gm, b = (e) => !e || typeof e != "string" || !e.includes(">") ? e : e.replace(re, (t, n, r, i) => v(e, i) ? t : `${n}\\>${r}`), x = /(\*\*)([^*]*\*?)$/, ie = /(__)([^_]*?)$/, ae = /(\*\*\*)([^*]*?)$/, oe = /(\*)([^*]*?)$/, se = /(_)([^_]*?)$/, S = /(`)([^`]*?)$/, ce = /(~~)([^~]*?)$/, C = /^[\s_~*`]*$/, le = /^[\s]*[-*+][\s]+$/, ue = /[\p{L}\p{N}_]/u, de = /^```[^`\n]*```?$/, fe = /^\*{4,}$/, pe = /(__)([^_]+)_$/, me = /(~~)([^~]+)~$/, he = /~~/g, w = (e) => {
58
58
  if (!e) return !1;
59
59
  let t = e.charCodeAt(0);
60
- return t >= 48 && t <= 57 || t >= 65 && t <= 90 || t >= 97 && t <= 122 || t === 95 ? !0 : de.test(e);
61
- }, _e = (e, t) => {
60
+ return t >= 48 && t <= 57 || t >= 65 && t <= 90 || t >= 97 && t <= 122 || t === 95 ? !0 : ue.test(e);
61
+ }, ge = (e, t) => {
62
62
  let n = 1;
63
63
  for (let r = t - 1; r >= 0; --r) if (e[r] === "]") n += 1;
64
64
  else if (e[r] === "[" && (--n, n === 0)) return r;
65
65
  return -1;
66
- }, ve = (e, t) => {
66
+ }, _e = (e, t) => {
67
67
  let n = 1;
68
68
  for (let r = t + 1; r < e.length; r += 1) if (e[r] === "[") n += 1;
69
69
  else if (e[r] === "]" && (--n, n === 0)) return r;
70
70
  return -1;
71
- }, w = (e, t) => {
71
+ }, T = (e, t) => {
72
72
  let n = !1, r = !1;
73
73
  for (let i = 0; i < e.length && i < t; i += 1) {
74
74
  if (e[i] === "\\" && e[i + 1] === "$") {
@@ -78,20 +78,20 @@ var u = Object.defineProperty, d = Object.defineProperties, ee = Object.getOwnPr
78
78
  e[i] === "$" && (e[i + 1] === "$" ? (r = !r, i += 1, n = !1) : r || (n = !n));
79
79
  }
80
80
  return n || r;
81
- }, ye = (e, t) => {
81
+ }, ve = (e, t) => {
82
82
  for (let n = t; n < e.length; n += 1) {
83
83
  if (e[n] === ")") return !0;
84
84
  if (e[n] === "\n") return !1;
85
85
  }
86
86
  return !1;
87
- }, be = (e, t) => {
87
+ }, ye = (e, t) => {
88
88
  for (let n = t - 1; n >= 0; --n) {
89
89
  if (e[n] === ")") return !1;
90
- if (e[n] === "(") return n > 0 && e[n - 1] === "]" ? ye(e, t) : !1;
90
+ if (e[n] === "(") return n > 0 && e[n - 1] === "]" ? ve(e, t) : !1;
91
91
  if (e[n] === "\n") return !1;
92
92
  }
93
93
  return !1;
94
- }, xe = (e, t) => {
94
+ }, be = (e, t) => {
95
95
  for (let n = t - 1; n >= 0; --n) {
96
96
  if (e[n] === ">") return !1;
97
97
  if (e[n] === "<") {
@@ -101,7 +101,7 @@ var u = Object.defineProperty, d = Object.defineProperties, ee = Object.getOwnPr
101
101
  if (e[n] === "\n") return !1;
102
102
  }
103
103
  return !1;
104
- }, T = (e, t, n) => {
104
+ }, xe = (e, t, n) => {
105
105
  let r = 0;
106
106
  for (let n = t - 1; n >= 0; --n) if (e[n] === "\n") {
107
107
  r = n + 1;
@@ -119,7 +119,7 @@ var u = Object.defineProperty, d = Object.defineProperties, ee = Object.getOwnPr
119
119
  break;
120
120
  }
121
121
  return o >= 3 && !s;
122
- }, Se = (e, t, n, r) => n === "\\" || e.includes("$") && w(e, t) ? !0 : n !== "*" && r === "*" ? (t < e.length - 2 ? e[t + 2] : "") !== "*" : !!(n === "*" || n && r && C(n) && C(r) || (!n || n === " " || n === " " || n === "\n") && (!r || r === " " || r === " " || r === "\n")), Ce = (e) => {
122
+ }, Se = (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")), Ce = (e) => {
123
123
  let t = 0, n = !1, r = e.length;
124
124
  for (let i = 0; i < r; i += 1) {
125
125
  if (e[i] === "`" && i + 2 < r && e[i + 1] === "`" && e[i + 2] === "`") {
@@ -131,7 +131,7 @@ var u = Object.defineProperty, d = Object.defineProperties, ee = Object.getOwnPr
131
131
  Se(e, i, a, o) || (t += 1);
132
132
  }
133
133
  return t;
134
- }, we = (e, t, n, r) => !!(n === "\\" || e.includes("$") && w(e, t) || be(e, t) || xe(e, t) || n === "_" || r === "_" || n && r && C(n) && C(r)), Te = (e) => {
134
+ }, we = (e, t, n, r) => !!(n === "\\" || e.includes("$") && T(e, t) || ye(e, t) || be(e, t) || n === "_" || r === "_" || n && r && w(n) && w(r)), Te = (e) => {
135
135
  let t = 0, n = !1, r = e.length;
136
136
  for (let i = 0; i < r; i += 1) {
137
137
  if (e[i] === "`" && i + 2 < r && e[i + 1] === "`" && e[i + 2] === "`") {
@@ -153,7 +153,7 @@ var u = Object.defineProperty, d = Object.defineProperties, ee = Object.getOwnPr
153
153
  r || (e[i] === "*" ? n += 1 : (n >= 3 && (t += Math.floor(n / 3)), n = 0));
154
154
  }
155
155
  return n >= 3 && (t += Math.floor(n / 3)), t;
156
- }, E = (e) => {
156
+ }, De = (e) => {
157
157
  let t = 0, n = !1;
158
158
  for (let r = 0; r < e.length; r += 1) {
159
159
  if (e[r] === "`" && r + 2 < e.length && e[r + 1] === "`" && e[r + 2] === "`") {
@@ -163,7 +163,7 @@ var u = Object.defineProperty, d = Object.defineProperties, ee = Object.getOwnPr
163
163
  n || e[r] === "*" && r + 1 < e.length && e[r + 1] === "*" && (t += 1, r += 1);
164
164
  }
165
165
  return t;
166
- }, De = (e) => {
166
+ }, Oe = (e) => {
167
167
  let t = 0, n = !1;
168
168
  for (let r = 0; r < e.length; r += 1) {
169
169
  if (e[r] === "`" && r + 2 < e.length && e[r + 1] === "`" && e[r + 2] === "`") {
@@ -173,143 +173,143 @@ var u = Object.defineProperty, d = Object.defineProperties, ee = Object.getOwnPr
173
173
  n || e[r] === "_" && r + 1 < e.length && e[r + 1] === "_" && (t += 1, r += 1);
174
174
  }
175
175
  return t;
176
- }, Oe = (e, t, n) => {
177
- if (!t || S.test(t)) return !0;
176
+ }, ke = (e, t, n) => {
177
+ if (!t || C.test(t)) return !0;
178
178
  let r = e.substring(0, n).lastIndexOf("\n"), i = r === -1 ? 0 : r + 1, a = e.substring(i, n);
179
- return ue.test(a) && t.includes("\n") ? !0 : T(e, n, "*");
180
- }, ke = (e) => {
181
- let t = e.match(b);
179
+ return le.test(a) && t.includes("\n") ? !0 : xe(e, n, "*");
180
+ }, Ae = (e) => {
181
+ let t = e.match(x);
182
182
  if (!t) return e;
183
183
  let n = t[2], r = e.lastIndexOf(t[1]);
184
- return _(e, r) || v(e, r) || Oe(e, n, r) ? e : E(e) % 2 == 1 ? n.endsWith("*") ? `${e}*` : `${e}**` : e;
185
- }, Ae = (e, t, n) => {
186
- if (!t || S.test(t)) return !0;
184
+ return v(e, r) || y(e, r) || ke(e, n, r) ? e : De(e) % 2 == 1 ? n.endsWith("*") ? `${e}*` : `${e}**` : e;
185
+ }, je = (e, t, n) => {
186
+ if (!t || C.test(t)) return !0;
187
187
  let r = e.substring(0, n).lastIndexOf("\n"), i = r === -1 ? 0 : r + 1, a = e.substring(i, n);
188
- return ue.test(a) && t.includes("\n") ? !0 : T(e, n, "_");
189
- }, je = (e) => {
190
- let t = e.match(ae);
188
+ return le.test(a) && t.includes("\n") ? !0 : xe(e, n, "_");
189
+ }, Me = (e) => {
190
+ let t = e.match(ie);
191
191
  if (!t) {
192
- let t = e.match(me);
192
+ let t = e.match(pe);
193
193
  if (t) {
194
194
  let n = e.lastIndexOf(t[1]);
195
- if (!(_(e, n) || v(e, n)) && De(e) % 2 == 1) return `${e}_`;
195
+ if (!(v(e, n) || y(e, n)) && Oe(e) % 2 == 1) return `${e}_`;
196
196
  }
197
197
  return e;
198
198
  }
199
199
  let n = t[2], r = e.lastIndexOf(t[1]);
200
- return _(e, r) || v(e, r) || Ae(e, n, r) ? e : De(e) % 2 == 1 ? `${e}__` : e;
201
- }, Me = (e) => {
200
+ return v(e, r) || y(e, r) || je(e, n, r) ? e : Oe(e) % 2 == 1 ? `${e}__` : e;
201
+ }, Ne = (e) => {
202
202
  let t = !1;
203
203
  for (let n = 0; n < e.length; n += 1) {
204
204
  if (e[n] === "`" && n + 2 < e.length && e[n + 1] === "`" && e[n + 2] === "`") {
205
205
  t = !t, n += 2;
206
206
  continue;
207
207
  }
208
- if (!t && e[n] === "*" && e[n - 1] !== "*" && e[n + 1] !== "*" && e[n - 1] !== "\\" && !w(e, n)) {
208
+ if (!t && e[n] === "*" && e[n - 1] !== "*" && e[n + 1] !== "*" && e[n - 1] !== "\\" && !T(e, n)) {
209
209
  let t = n > 0 ? e[n - 1] : "", r = n < e.length - 1 ? e[n + 1] : "";
210
- if ((!t || t === " " || t === " " || t === "\n") && (!r || r === " " || r === " " || r === "\n") || t && r && C(t) && C(r)) continue;
210
+ if ((!t || t === " " || t === " " || t === "\n") && (!r || r === " " || r === " " || r === "\n") || t && r && w(t) && w(r)) continue;
211
211
  return n;
212
212
  }
213
213
  }
214
214
  return -1;
215
- }, Ne = (e) => {
216
- if (!e.match(se)) return e;
217
- let t = Me(e);
218
- if (t === -1 || _(e, t) || v(e, t)) return e;
219
- let n = e.substring(t + 1);
220
- return !n || S.test(n) ? e : Ce(e) % 2 == 1 ? `${e}*` : e;
221
215
  }, Pe = (e) => {
216
+ if (!e.match(oe)) return e;
217
+ let t = Ne(e);
218
+ if (t === -1 || v(e, t) || y(e, t)) return e;
219
+ let n = e.substring(t + 1);
220
+ return !n || C.test(n) ? e : Ce(e) % 2 == 1 ? `${e}*` : e;
221
+ }, Fe = (e) => {
222
222
  let t = !1;
223
223
  for (let n = 0; n < e.length; n += 1) {
224
224
  if (e[n] === "`" && n + 2 < e.length && e[n + 1] === "`" && e[n + 2] === "`") {
225
225
  t = !t, n += 2;
226
226
  continue;
227
227
  }
228
- if (!t && e[n] === "_" && e[n - 1] !== "_" && e[n + 1] !== "_" && e[n - 1] !== "\\" && !w(e, n) && !be(e, n)) {
228
+ if (!t && e[n] === "_" && e[n - 1] !== "_" && e[n + 1] !== "_" && e[n - 1] !== "\\" && !T(e, n) && !ye(e, n)) {
229
229
  let t = n > 0 ? e[n - 1] : "", r = n < e.length - 1 ? e[n + 1] : "";
230
- if (t && r && C(t) && C(r)) continue;
230
+ if (t && r && w(t) && w(r)) continue;
231
231
  return n;
232
232
  }
233
233
  }
234
234
  return -1;
235
- }, Fe = (e) => {
235
+ }, Ie = (e) => {
236
236
  let t = e.length;
237
237
  for (; t > 0 && e[t - 1] === "\n";) --t;
238
238
  return t < e.length ? `${e.slice(0, t)}_${e.slice(t)}` : `${e}_`;
239
- }, Ie = (e) => {
239
+ }, Le = (e) => {
240
240
  if (!e.endsWith("**")) return null;
241
241
  let t = e.slice(0, -2);
242
- if (E(t) % 2 != 1) return null;
243
- let n = t.indexOf("**"), r = Pe(t);
242
+ if (De(t) % 2 != 1) return null;
243
+ let n = t.indexOf("**"), r = Fe(t);
244
244
  return n !== -1 && r !== -1 && n < r ? `${t}_**` : null;
245
- }, Le = (e) => {
246
- if (!e.match(x)) return e;
247
- let t = Pe(e);
245
+ }, Re = (e) => {
246
+ if (!e.match(se)) return e;
247
+ let t = Fe(e);
248
248
  if (t === -1) return e;
249
249
  let n = e.substring(t + 1);
250
- if (!n || S.test(n) || _(e, t) || v(e, t)) return e;
250
+ if (!n || C.test(n) || v(e, t) || y(e, t)) return e;
251
251
  if (Te(e) % 2 == 1) {
252
- let t = Ie(e);
253
- return t === null ? Fe(e) : t;
252
+ let t = Le(e);
253
+ return t === null ? Ie(e) : t;
254
254
  }
255
255
  return e;
256
- }, Re = (e) => {
257
- let t = E(e), n = Ce(e);
256
+ }, ze = (e) => {
257
+ let t = De(e), n = Ce(e);
258
258
  return t % 2 == 0 && n % 2 == 0;
259
- }, ze = (e, t, n) => !t || S.test(t) || _(e, n) || v(e, n) ? !0 : T(e, n, "*"), Be = (e) => {
260
- if (pe.test(e)) return e;
261
- let t = e.match(oe);
259
+ }, Be = (e, t, n) => !t || C.test(t) || v(e, n) || y(e, n) ? !0 : xe(e, n, "*"), Ve = (e) => {
260
+ if (fe.test(e)) return e;
261
+ let t = e.match(ae);
262
262
  if (!t) return e;
263
263
  let n = t[2];
264
- return ze(e, n, e.lastIndexOf(t[1])) ? e : Ee(e) % 2 == 1 ? Re(e) ? e : `${e}***` : e;
265
- }, Ve = /<[a-zA-Z/][^>]*$/, He = (e) => {
266
- let t = e.match(Ve);
267
- return !t || t.index === void 0 || _(e, t.index) ? e : e.substring(0, t.index).trimEnd();
268
- }, Ue = (e) => !e.match(fe) || e.includes("\n") ? null : e.endsWith("``") && !e.endsWith("```") ? `${e}\`` : e, We = (e) => (e.match(/```/g) || []).length % 2 == 1, Ge = (e) => {
269
- let t = Ue(e);
264
+ return Be(e, n, e.lastIndexOf(t[1])) ? e : Ee(e) % 2 == 1 ? ze(e) ? e : `${e}***` : e;
265
+ }, He = /<[a-zA-Z/][^>]*$/, Ue = (e) => {
266
+ let t = e.match(He);
267
+ return !t || t.index === void 0 || v(e, t.index) ? e : e.substring(0, t.index).trimEnd();
268
+ }, We = (e) => !e.match(de) || e.includes("\n") ? null : e.endsWith("``") && !e.endsWith("```") ? `${e}\`` : e, Ge = (e) => (e.match(/```/g) || []).length % 2 == 1, Ke = (e) => {
269
+ let t = We(e);
270
270
  if (t !== null) return t;
271
- let n = e.match(ce);
272
- if (n && !We(e)) {
271
+ let n = e.match(S);
272
+ if (n && !Ge(e)) {
273
273
  let t = n[2];
274
- if (!t || S.test(t)) return e;
275
- if (re(e) % 2 == 1) return `${e}\``;
274
+ if (!t || C.test(t)) return e;
275
+ if (ne(e) % 2 == 1) return `${e}\``;
276
276
  }
277
277
  return e;
278
- }, Ke = (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) === "```", qe = (e) => {
278
+ }, 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) => {
279
279
  let t = 0, n = !1;
280
- for (let r = 0; r < e.length - 1; r += 1) e[r] === "`" && !Ke(e, r) && (n = !n), !n && e[r] === "$" && e[r + 1] === "$" && (t += 1, r += 1);
280
+ 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);
281
281
  return t;
282
- }, Je = (e) => {
282
+ }, Ye = (e) => {
283
283
  let t = 0, n = !1;
284
284
  for (let r = 0; r < e.length; r += 1) {
285
285
  if (e[r] === "\\") {
286
286
  r += 1;
287
287
  continue;
288
288
  }
289
- if (e[r] === "`" && !Ke(e, r)) {
289
+ if (e[r] === "`" && !qe(e, r)) {
290
290
  n = !n;
291
291
  continue;
292
292
  }
293
293
  !n && e[r] === "$" && (r + 1 < e.length && e[r + 1] === "$" ? r += 1 : t += 1);
294
294
  }
295
295
  return t;
296
- }, Ye = (e) => {
296
+ }, Xe = (e) => {
297
297
  if (e.endsWith("$") && !e.endsWith("$$")) return `${e}$`;
298
298
  let t = e.indexOf("$$");
299
299
  return t !== -1 && e.indexOf("\n", t) !== -1 && !e.endsWith("\n") ? `${e}
300
300
  $$` : `${e}$$`;
301
- }, Xe = (e) => qe(e) % 2 == 0 ? e : Ye(e), Ze = (e) => Je(e) % 2 == 1 ? `${e}$` : e, Qe = (e, t, n) => {
301
+ }, Ze = (e) => Je(e) % 2 == 0 ? e : Xe(e), Qe = (e) => Ye(e) % 2 == 1 ? `${e}$` : e, $e = (e, t, n) => {
302
302
  if (e.substring(t + 2).includes(")")) return null;
303
- let r = _e(e, t);
304
- if (r === -1 || _(e, r)) return null;
303
+ let r = ge(e, t);
304
+ if (r === -1 || v(e, r)) return null;
305
305
  let i = r > 0 && e[r - 1] === "!", a = i ? r - 1 : r, o = e.substring(0, a);
306
306
  if (i) return o;
307
307
  let s = e.substring(r + 1, t);
308
308
  return n === "text-only" ? `${o}${s}` : `${o}[${s}](streamdown:incomplete-link)`;
309
- }, $e = (e, t) => {
310
- for (let n = 0; n < t; n++) if (e[n] === "[" && !_(e, n)) {
309
+ }, et = (e, t) => {
310
+ for (let n = 0; n < t; n++) if (e[n] === "[" && !v(e, n)) {
311
311
  if (n > 0 && e[n - 1] === "!") continue;
312
- let t = ve(e, n);
312
+ let t = _e(e, n);
313
313
  if (t === -1) return n;
314
314
  if (t + 1 < e.length && e[t + 1] === "(") {
315
315
  let r = e.indexOf(")", t + 2);
@@ -317,70 +317,70 @@ $$` : `${e}$$`;
317
317
  }
318
318
  }
319
319
  return t;
320
- }, et = (e, t, n) => {
320
+ }, tt = (e, t, n) => {
321
321
  let r = t > 0 && e[t - 1] === "!", i = r ? t - 1 : t;
322
322
  if (!e.substring(t + 1).includes("]")) {
323
323
  let a = e.substring(0, i);
324
324
  if (r) return a;
325
325
  if (n === "text-only") {
326
- let n = $e(e, t);
326
+ let n = et(e, t);
327
327
  return e.substring(0, n) + e.substring(n + 1);
328
328
  }
329
329
  return `${e}](streamdown:incomplete-link)`;
330
330
  }
331
- if (ve(e, t) === -1) {
331
+ if (_e(e, t) === -1) {
332
332
  let a = e.substring(0, i);
333
333
  if (r) return a;
334
334
  if (n === "text-only") {
335
- let n = $e(e, t);
335
+ let n = et(e, t);
336
336
  return e.substring(0, n) + e.substring(n + 1);
337
337
  }
338
338
  return `${e}](streamdown:incomplete-link)`;
339
339
  }
340
340
  return null;
341
- }, tt = (e, t = "protocol") => {
341
+ }, nt = (e, t = "protocol") => {
342
342
  let n = e.lastIndexOf("](");
343
- if (n !== -1 && !_(e, n)) {
344
- let r = Qe(e, n, t);
343
+ if (n !== -1 && !v(e, n)) {
344
+ let r = $e(e, n, t);
345
345
  if (r !== null) return r;
346
346
  }
347
- for (let n = e.length - 1; n >= 0; --n) if (e[n] === "[" && !_(e, n)) {
348
- let r = et(e, n, t);
347
+ for (let n = e.length - 1; n >= 0; --n) if (e[n] === "[" && !v(e, n)) {
348
+ let r = tt(e, n, t);
349
349
  if (r !== null) return r;
350
350
  }
351
351
  return e;
352
- }, nt = /^-{1,2}$/, rt = /^[\s]*-{1,2}[\s]+$/, it = /^={1,2}$/, at = /^[\s]*={1,2}[\s]+$/, ot = (e) => {
352
+ }, rt = /^-{1,2}$/, it = /^[\s]*-{1,2}[\s]+$/, at = /^={1,2}$/, ot = /^[\s]*={1,2}[\s]+$/, st = (e) => {
353
353
  if (!e || typeof e != "string") return e;
354
354
  let t = e.lastIndexOf("\n");
355
355
  if (t === -1) return e;
356
356
  let n = e.substring(t + 1), r = e.substring(0, t), i = n.trim();
357
- if (nt.test(i) && !n.match(rt)) {
357
+ if (rt.test(i) && !n.match(it)) {
358
358
  let t = r.split("\n").at(-1);
359
359
  if (t && t.trim().length > 0) return `${e}\u200B`;
360
360
  }
361
- if (it.test(i) && !n.match(at)) {
361
+ if (at.test(i) && !n.match(ot)) {
362
362
  let t = r.split("\n").at(-1);
363
363
  if (t && t.trim().length > 0) return `${e}\u200B`;
364
364
  }
365
365
  return e;
366
- }, st = /* @__PURE__ */ RegExp("(?<=[\\p{L}\\p{N}_])~(?!~)(?=[\\p{L}\\p{N}_])", "gu"), ct = (e) => !e || typeof e != "string" || !e.includes("~") ? e : e.replace(st, (t, n) => _(e, n) ? t : "\\~"), lt = (e) => {
367
- let t = e.match(le);
366
+ }, 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) => v(e, n) ? t : "\\~"), ut = (e) => {
367
+ let t = e.match(ce);
368
368
  if (t) {
369
369
  let n = t[2];
370
- if (!n || S.test(n)) return e;
370
+ if (!n || C.test(n)) return e;
371
371
  let r = e.lastIndexOf(t[1]);
372
- if (_(e, r) || v(e, r)) return e;
373
- if (e.match(ge)?.length % 2 == 1) return `${e}~~`;
372
+ if (v(e, r) || y(e, r)) return e;
373
+ if (e.match(he)?.length % 2 == 1) return `${e}~~`;
374
374
  } else {
375
- let t = e.match(he);
375
+ let t = e.match(me);
376
376
  if (t) {
377
377
  let n = e.lastIndexOf(t[0].slice(0, 2));
378
- if (_(e, n) || v(e, n)) return e;
379
- if (e.match(ge)?.length % 2 == 1) return `${e}~`;
378
+ if (v(e, n) || y(e, n)) return e;
379
+ if (e.match(he)?.length % 2 == 1) return `${e}~`;
380
380
  }
381
381
  }
382
382
  return e;
383
- }, D = (e) => e !== !1, ut = (e) => e === !0, O = {
383
+ }, E = (e) => e !== !1, dt = (e) => e === !0, D = {
384
384
  SINGLE_TILDE: 0,
385
385
  COMPARISON_OPERATORS: 5,
386
386
  HTML_TAGS: 10,
@@ -396,44 +396,44 @@ $$` : `${e}$$`;
396
396
  KATEX: 70,
397
397
  INLINE_KATEX: 75,
398
398
  DEFAULT: 100
399
- }, dt = [
399
+ }, ft = [
400
400
  {
401
401
  handler: {
402
402
  name: "singleTilde",
403
- handle: ct,
404
- priority: O.SINGLE_TILDE
403
+ handle: lt,
404
+ priority: D.SINGLE_TILDE
405
405
  },
406
406
  optionKey: "singleTilde"
407
407
  },
408
408
  {
409
409
  handler: {
410
410
  name: "comparisonOperators",
411
- handle: y,
412
- priority: O.COMPARISON_OPERATORS
411
+ handle: b,
412
+ priority: D.COMPARISON_OPERATORS
413
413
  },
414
414
  optionKey: "comparisonOperators"
415
415
  },
416
416
  {
417
417
  handler: {
418
418
  name: "htmlTags",
419
- handle: He,
420
- priority: O.HTML_TAGS
419
+ handle: Ue,
420
+ priority: D.HTML_TAGS
421
421
  },
422
422
  optionKey: "htmlTags"
423
423
  },
424
424
  {
425
425
  handler: {
426
426
  name: "setextHeadings",
427
- handle: ot,
428
- priority: O.SETEXT_HEADINGS
427
+ handle: st,
428
+ priority: D.SETEXT_HEADINGS
429
429
  },
430
430
  optionKey: "setextHeadings"
431
431
  },
432
432
  {
433
433
  handler: {
434
434
  name: "links",
435
- handle: tt,
436
- priority: O.LINKS
435
+ handle: nt,
436
+ priority: D.LINKS
437
437
  },
438
438
  optionKey: "links",
439
439
  earlyReturn: (e) => e.endsWith("](streamdown:incomplete-link)")
@@ -441,88 +441,88 @@ $$` : `${e}$$`;
441
441
  {
442
442
  handler: {
443
443
  name: "boldItalic",
444
- handle: Be,
445
- priority: O.BOLD_ITALIC
444
+ handle: Ve,
445
+ priority: D.BOLD_ITALIC
446
446
  },
447
447
  optionKey: "boldItalic"
448
448
  },
449
449
  {
450
450
  handler: {
451
451
  name: "bold",
452
- handle: ke,
453
- priority: O.BOLD
452
+ handle: Ae,
453
+ priority: D.BOLD
454
454
  },
455
455
  optionKey: "bold"
456
456
  },
457
457
  {
458
458
  handler: {
459
459
  name: "italicDoubleUnderscore",
460
- handle: je,
461
- priority: O.ITALIC_DOUBLE_UNDERSCORE
460
+ handle: Me,
461
+ priority: D.ITALIC_DOUBLE_UNDERSCORE
462
462
  },
463
463
  optionKey: "italic"
464
464
  },
465
465
  {
466
466
  handler: {
467
467
  name: "italicSingleAsterisk",
468
- handle: Ne,
469
- priority: O.ITALIC_SINGLE_ASTERISK
468
+ handle: Pe,
469
+ priority: D.ITALIC_SINGLE_ASTERISK
470
470
  },
471
471
  optionKey: "italic"
472
472
  },
473
473
  {
474
474
  handler: {
475
475
  name: "italicSingleUnderscore",
476
- handle: Le,
477
- priority: O.ITALIC_SINGLE_UNDERSCORE
476
+ handle: Re,
477
+ priority: D.ITALIC_SINGLE_UNDERSCORE
478
478
  },
479
479
  optionKey: "italic"
480
480
  },
481
481
  {
482
482
  handler: {
483
483
  name: "inlineCode",
484
- handle: Ge,
485
- priority: O.INLINE_CODE
484
+ handle: Ke,
485
+ priority: D.INLINE_CODE
486
486
  },
487
487
  optionKey: "inlineCode"
488
488
  },
489
489
  {
490
490
  handler: {
491
491
  name: "strikethrough",
492
- handle: lt,
493
- priority: O.STRIKETHROUGH
492
+ handle: ut,
493
+ priority: D.STRIKETHROUGH
494
494
  },
495
495
  optionKey: "strikethrough"
496
496
  },
497
497
  {
498
498
  handler: {
499
499
  name: "katex",
500
- handle: Xe,
501
- priority: O.KATEX
500
+ handle: Ze,
501
+ priority: D.KATEX
502
502
  },
503
503
  optionKey: "katex"
504
504
  },
505
505
  {
506
506
  handler: {
507
507
  name: "inlineKatex",
508
- handle: Ze,
509
- priority: O.INLINE_KATEX
508
+ handle: Qe,
509
+ priority: D.INLINE_KATEX
510
510
  },
511
511
  optionKey: "inlineKatex"
512
512
  }
513
- ], ft = (e) => {
513
+ ], pt = (e) => {
514
514
  let t = e?.linkMode ?? "protocol";
515
- return dt.filter(({ handler: t, optionKey: n }) => t.name === "links" ? D(e?.links) || D(e?.images) : t.name === "inlineKatex" ? ut(e?.inlineKatex) : D(e?.[n])).map(({ handler: e, earlyReturn: n }) => e.name === "links" ? {
516
- handler: g(h({}, e), { handle: (e) => tt(e, t) }),
515
+ return ft.filter(({ handler: t, optionKey: n }) => t.name === "links" ? E(e?.links) || E(e?.images) : t.name === "inlineKatex" ? dt(e?.inlineKatex) : E(e?.[n])).map(({ handler: e, earlyReturn: n }) => e.name === "links" ? {
516
+ handler: _(g({}, e), { handle: (e) => nt(e, t) }),
517
517
  earlyReturn: t === "protocol" ? n : void 0
518
518
  } : {
519
519
  handler: e,
520
520
  earlyReturn: n
521
521
  });
522
- }, pt = (e, t) => {
522
+ }, mt = (e, t) => {
523
523
  if (!e || typeof e != "string") return e;
524
- let n = e.endsWith(" ") && !e.endsWith(" ") ? e.slice(0, -1) : e, r = ft(t), i = (t?.handlers ?? []).map((e) => ({
525
- handler: g(h({}, e), { priority: e.priority ?? O.DEFAULT }),
524
+ let n = e.endsWith(" ") && !e.endsWith(" ") ? e.slice(0, -1) : e, r = pt(t), i = (t?.handlers ?? []).map((e) => ({
525
+ handler: _(g({}, e), { priority: e.priority ?? D.DEFAULT }),
526
526
  earlyReturn: void 0
527
527
  })), a = [...r, ...i].sort((e, t) => (e.handler.priority ?? 0) - (t.handler.priority ?? 0));
528
528
  for (let { handler: e, earlyReturn: t } of a) if (n = e.handle(n), t != null && t(n)) return n;
@@ -530,7 +530,7 @@ $$` : `${e}$$`;
530
530
  };
531
531
  //#endregion
532
532
  //#region ../../node_modules/.pnpm/marked@18.0.4/node_modules/marked/lib/marked.esm.js
533
- function k() {
533
+ function O() {
534
534
  return {
535
535
  async: !1,
536
536
  breaks: !1,
@@ -544,35 +544,35 @@ function k() {
544
544
  walkTokens: null
545
545
  };
546
546
  }
547
- var A = k();
548
- function mt(e) {
549
- A = e;
547
+ var k = O();
548
+ function ht(e) {
549
+ k = e;
550
550
  }
551
- var j = { exec: () => null };
552
- function M(e) {
551
+ var A = { exec: () => null };
552
+ function j(e) {
553
553
  let t = [];
554
554
  return (n) => {
555
555
  let r = Math.max(0, Math.min(3, n - 1)), i = t[r];
556
556
  return i || (i = e(r), t[r] = i), i;
557
557
  };
558
558
  }
559
- function N(e, t = "") {
559
+ function M(e, t = "") {
560
560
  let n = typeof e == "string" ? e : e.source, r = {
561
561
  replace: (e, t) => {
562
562
  let i = typeof t == "string" ? t : t.source;
563
- return i = i.replace(P.caret, "$1"), n = n.replace(e, i), r;
563
+ return i = i.replace(N.caret, "$1"), n = n.replace(e, i), r;
564
564
  },
565
565
  getRegex: () => new RegExp(n, t)
566
566
  };
567
567
  return r;
568
568
  }
569
- var ht = ((e = "") => {
569
+ var gt = ((e = "") => {
570
570
  try {
571
571
  return !!RegExp("(?<=1)(?<!1)" + e);
572
572
  } catch {
573
573
  return !1;
574
574
  }
575
- })(), P = {
575
+ })(), N = {
576
576
  codeRemoveIndent: /^(?: {1,4}| {0,3}\t)/gm,
577
577
  outputLinkReplace: /\\([\[\]])/g,
578
578
  indentCodeCompensation: /^(\s+)(?:```)/,
@@ -623,49 +623,49 @@ var ht = ((e = "") => {
623
623
  notSpaceStart: /^\S*/,
624
624
  endingNewline: /\n$/,
625
625
  listItemRegex: (e) => RegExp(`^( {0,3}${e})((?:[ ][^\\n]*)?(?:\\n|$))`),
626
- nextBulletRegex: M((e) => RegExp(`^ {0,${e}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`)),
627
- hrRegex: M((e) => RegExp(`^ {0,${e}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`)),
628
- fencesBeginRegex: M((e) => RegExp(`^ {0,${e}}(?:\`\`\`|~~~)`)),
629
- headingBeginRegex: M((e) => RegExp(`^ {0,${e}}#`)),
630
- htmlBeginRegex: M((e) => RegExp(`^ {0,${e}}<(?:[a-z].*>|!--)`, "i")),
631
- blockquoteBeginRegex: M((e) => RegExp(`^ {0,${e}}>`))
632
- }, gt = /^(?:[ \t]*(?:\n|$))+/, _t = /^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/, vt = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/, F = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/, yt = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, I = / {0,3}(?:[*+-]|\d{1,9}[.)])/, bt = /^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/, xt = N(bt).replace(/bull/g, I).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(), St = N(bt).replace(/bull/g, I).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(), L = /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/, Ct = /^[^\n]+/, wt = /(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/, Tt = N(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label", wt).replace("title", /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(), Et = N(/^(bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g, I).getRegex(), R = "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", Dt = /<!--(?:-?>|[\s\S]*?(?:-->|$))/, Ot = N("^ {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", Dt).replace("tag", R).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(), kt = N(L).replace("hr", F).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", R).getRegex(), At = {
633
- blockquote: N(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph", kt).getRegex(),
634
- code: _t,
626
+ nextBulletRegex: j((e) => RegExp(`^ {0,${e}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`)),
627
+ hrRegex: j((e) => RegExp(`^ {0,${e}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`)),
628
+ fencesBeginRegex: j((e) => RegExp(`^ {0,${e}}(?:\`\`\`|~~~)`)),
629
+ headingBeginRegex: j((e) => RegExp(`^ {0,${e}}#`)),
630
+ htmlBeginRegex: j((e) => RegExp(`^ {0,${e}}<(?:[a-z].*>|!--)`, "i")),
631
+ blockquoteBeginRegex: j((e) => RegExp(`^ {0,${e}}>`))
632
+ }, _t = /^(?:[ \t]*(?:\n|$))+/, vt = /^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/, yt = /^ {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+|$)/, bt = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, F = / {0,3}(?:[*+-]|\d{1,9}[.)])/, xt = /^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/, St = M(xt).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(), Ct = M(xt).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]+)*)/, wt = /^[^\n]+/, L = /(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/, Tt = M(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label", L).replace("title", /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(), Et = M(/^(bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g, F).getRegex(), R = "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", Dt = /<!--(?:-?>|[\s\S]*?(?:-->|$))/, Ot = 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", Dt).replace("tag", R).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(), kt = 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", R).getRegex(), At = {
633
+ blockquote: M(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph", kt).getRegex(),
634
+ code: vt,
635
635
  def: Tt,
636
- fences: vt,
637
- heading: yt,
638
- hr: F,
636
+ fences: yt,
637
+ heading: bt,
638
+ hr: P,
639
639
  html: Ot,
640
- lheading: xt,
640
+ lheading: St,
641
641
  list: Et,
642
- newline: gt,
642
+ newline: _t,
643
643
  paragraph: kt,
644
- table: j,
645
- text: Ct
646
- }, jt = N("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr", F).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", R).getRegex(), Mt = {
644
+ table: A,
645
+ text: wt
646
+ }, jt = 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", R).getRegex(), Mt = {
647
647
  ...At,
648
- lheading: St,
648
+ lheading: Ct,
649
649
  table: jt,
650
- paragraph: N(L).replace("hr", F).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("table", jt).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", R).getRegex()
650
+ paragraph: M(I).replace("hr", P).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("table", jt).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", R).getRegex()
651
651
  }, Nt = {
652
652
  ...At,
653
- html: N("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment", Dt).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(),
653
+ html: M("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment", Dt).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(),
654
654
  def: /^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,
655
655
  heading: /^(#{1,6})(.*)(?:\n+|$)/,
656
- fences: j,
656
+ fences: A,
657
657
  lheading: /^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,
658
- paragraph: N(L).replace("hr", F).replace("heading", " *#{1,6} *[^\n]").replace("lheading", xt).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex()
659
- }, Pt = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, Ft = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, It = /^( {2,}|\\)\n(?!\s*$)/, Lt = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, z = /[\p{P}\p{S}]/u, B = /[\s\p{P}\p{S}]/u, Rt = /[^\s\p{P}\p{S}]/u, zt = N(/^((?![*_])punctSpace)/, "u").replace(/punctSpace/g, B).getRegex(), Bt = /(?!~)[\p{P}\p{S}]/u, Vt = /(?!~)[\s\p{P}\p{S}]/u, Ht = /(?:[^\s\p{P}\p{S}]|~)/u, Ut = N(/link|precode-code|html/, "g").replace("link", /\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace("precode-", ht ? "(?<!`)()" : "(^^|[^`])").replace("code", /(?<b>`+)[^`]+\k<b>(?!`)/).replace("html", /<(?! )[^<>]*?>/).getRegex(), Wt = /^(?:\*+(?:((?!\*)punct)|([^\s*]))?)|^_+(?:((?!_)punct)|([^\s_]))?/, Gt = N(Wt, "u").replace(/punct/g, z).getRegex(), Kt = N(Wt, "u").replace(/punct/g, Bt).getRegex(), qt = "^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)", Jt = N(qt, "gu").replace(/notPunctSpace/g, Rt).replace(/punctSpace/g, B).replace(/punct/g, z).getRegex(), Yt = N(qt, "gu").replace(/notPunctSpace/g, Ht).replace(/punctSpace/g, Vt).replace(/punct/g, Bt).getRegex(), Xt = N("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)", "gu").replace(/notPunctSpace/g, Rt).replace(/punctSpace/g, B).replace(/punct/g, z).getRegex(), Zt = N(/^~~?(?:((?!~)punct)|[^\s~])/, "u").replace(/punct/g, z).getRegex(), Qt = N("^[^~]+(?=[^~])|(?!~)punct(~~?)(?=[\\s]|$)|notPunctSpace(~~?)(?!~)(?=punctSpace|$)|(?!~)punctSpace(~~?)(?=notPunctSpace)|[\\s](~~?)(?!~)(?=punct)|(?!~)punct(~~?)(?!~)(?=punct)|notPunctSpace(~~?)(?=notPunctSpace)", "gu").replace(/notPunctSpace/g, Rt).replace(/punctSpace/g, B).replace(/punct/g, z).getRegex(), $t = N(/\\(punct)/, "gu").replace(/punct/g, z).getRegex(), en = N(/^<(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(), tn = N(Dt).replace("(?:-->|$)", "-->").getRegex(), nn = N("^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", tn).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), V = /(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+(?!`)[^`]*?`+(?!`)|``+(?=\])|[^\[\]\\`])*?/, rn = N(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]+(?:\n[ \t]*)?|\n[ \t]*)(title))?\s*\)/).replace("label", V).replace("href", /<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), an = N(/^!?\[(label)\]\[(ref)\]/).replace("label", V).replace("ref", wt).getRegex(), on = N(/^!?\[(ref)\](?:\[\])?/).replace("ref", wt).getRegex(), sn = N("reflink|nolink(?!\\()", "g").replace("reflink", an).replace("nolink", on).getRegex(), cn = /[hH][tT][tT][pP][sS]?|[fF][tT][pP]/, ln = {
660
- _backpedal: j,
658
+ paragraph: M(I).replace("hr", P).replace("heading", " *#{1,6} *[^\n]").replace("lheading", St).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex()
659
+ }, Pt = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, Ft = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, It = /^( {2,}|\\)\n(?!\s*$)/, Lt = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, z = /[\p{P}\p{S}]/u, B = /[\s\p{P}\p{S}]/u, Rt = /[^\s\p{P}\p{S}]/u, zt = M(/^((?![*_])punctSpace)/, "u").replace(/punctSpace/g, B).getRegex(), Bt = /(?!~)[\p{P}\p{S}]/u, Vt = /(?!~)[\s\p{P}\p{S}]/u, Ht = /(?:[^\s\p{P}\p{S}]|~)/u, Ut = M(/link|precode-code|html/, "g").replace("link", /\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace("precode-", gt ? "(?<!`)()" : "(^^|[^`])").replace("code", /(?<b>`+)[^`]+\k<b>(?!`)/).replace("html", /<(?! )[^<>]*?>/).getRegex(), Wt = /^(?:\*+(?:((?!\*)punct)|([^\s*]))?)|^_+(?:((?!_)punct)|([^\s_]))?/, Gt = M(Wt, "u").replace(/punct/g, z).getRegex(), Kt = M(Wt, "u").replace(/punct/g, Bt).getRegex(), qt = "^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)", Jt = M(qt, "gu").replace(/notPunctSpace/g, Rt).replace(/punctSpace/g, B).replace(/punct/g, z).getRegex(), Yt = M(qt, "gu").replace(/notPunctSpace/g, Ht).replace(/punctSpace/g, Vt).replace(/punct/g, Bt).getRegex(), Xt = M("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)", "gu").replace(/notPunctSpace/g, Rt).replace(/punctSpace/g, B).replace(/punct/g, z).getRegex(), Zt = M(/^~~?(?:((?!~)punct)|[^\s~])/, "u").replace(/punct/g, z).getRegex(), Qt = M("^[^~]+(?=[^~])|(?!~)punct(~~?)(?=[\\s]|$)|notPunctSpace(~~?)(?!~)(?=punctSpace|$)|(?!~)punctSpace(~~?)(?=notPunctSpace)|[\\s](~~?)(?!~)(?=punct)|(?!~)punct(~~?)(?!~)(?=punct)|notPunctSpace(~~?)(?=notPunctSpace)", "gu").replace(/notPunctSpace/g, Rt).replace(/punctSpace/g, B).replace(/punct/g, z).getRegex(), $t = M(/\\(punct)/, "gu").replace(/punct/g, z).getRegex(), en = 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(), tn = M(Dt).replace("(?:-->|$)", "-->").getRegex(), nn = 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", tn).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), V = /(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+(?!`)[^`]*?`+(?!`)|``+(?=\])|[^\[\]\\`])*?/, rn = M(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]+(?:\n[ \t]*)?|\n[ \t]*)(title))?\s*\)/).replace("label", V).replace("href", /<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), an = M(/^!?\[(label)\]\[(ref)\]/).replace("label", V).replace("ref", L).getRegex(), on = M(/^!?\[(ref)\](?:\[\])?/).replace("ref", L).getRegex(), sn = M("reflink|nolink(?!\\()", "g").replace("reflink", an).replace("nolink", on).getRegex(), cn = /[hH][tT][tT][pP][sS]?|[fF][tT][pP]/, ln = {
660
+ _backpedal: A,
661
661
  anyPunctuation: $t,
662
662
  autolink: en,
663
663
  blockSkip: Ut,
664
664
  br: It,
665
665
  code: Ft,
666
- del: j,
667
- delLDelim: j,
668
- delRDelim: j,
666
+ del: A,
667
+ delLDelim: A,
668
+ delRDelim: A,
669
669
  emStrongLDelim: Gt,
670
670
  emStrongRDelimAst: Jt,
671
671
  emStrongRDelimUnd: Xt,
@@ -677,25 +677,25 @@ var ht = ((e = "") => {
677
677
  reflinkSearch: sn,
678
678
  tag: nn,
679
679
  text: Lt,
680
- url: j
680
+ url: A
681
681
  }, un = {
682
682
  ...ln,
683
- link: N(/^!?\[(label)\]\((.*?)\)/).replace("label", V).getRegex(),
684
- reflink: N(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label", V).getRegex()
683
+ link: M(/^!?\[(label)\]\((.*?)\)/).replace("label", V).getRegex(),
684
+ reflink: M(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label", V).getRegex()
685
685
  }, dn = {
686
686
  ...ln,
687
687
  emStrongRDelimAst: Yt,
688
688
  emStrongLDelim: Kt,
689
689
  delLDelim: Zt,
690
690
  delRDelim: Qt,
691
- url: N(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol", cn).replace("email", /[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),
691
+ url: M(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol", cn).replace("email", /[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),
692
692
  _backpedal: /(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,
693
693
  del: /^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/,
694
- text: N(/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace("protocol", cn).getRegex()
694
+ 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", cn).getRegex()
695
695
  }, fn = {
696
696
  ...dn,
697
- br: N(It).replace("{2,}", "*").getRegex(),
698
- text: N(dn.text).replace("\\b_", "\\b_| {2,}\\n").replace(/\{2,\}/g, "*").getRegex()
697
+ br: M(It).replace("{2,}", "*").getRegex(),
698
+ text: M(dn.text).replace("\\b_", "\\b_| {2,}\\n").replace(/\{2,\}/g, "*").getRegex()
699
699
  }, H = {
700
700
  normal: At,
701
701
  gfm: Mt,
@@ -714,27 +714,27 @@ var ht = ((e = "") => {
714
714
  }, mn = (e) => pn[e];
715
715
  function W(e, t) {
716
716
  if (t) {
717
- if (P.escapeTest.test(e)) return e.replace(P.escapeReplace, mn);
718
- } else if (P.escapeTestNoEncode.test(e)) return e.replace(P.escapeReplaceNoEncode, mn);
717
+ if (N.escapeTest.test(e)) return e.replace(N.escapeReplace, mn);
718
+ } else if (N.escapeTestNoEncode.test(e)) return e.replace(N.escapeReplaceNoEncode, mn);
719
719
  return e;
720
720
  }
721
721
  function hn(e) {
722
722
  try {
723
- e = encodeURI(e).replace(P.percentDecode, "%");
723
+ e = encodeURI(e).replace(N.percentDecode, "%");
724
724
  } catch {
725
725
  return null;
726
726
  }
727
727
  return e;
728
728
  }
729
729
  function gn(e, t) {
730
- let n = e.replace(P.findPipe, (e, t, n) => {
730
+ let n = e.replace(N.findPipe, (e, t, n) => {
731
731
  let r = !1, i = t;
732
732
  for (; --i >= 0 && n[i] === "\\";) r = !r;
733
733
  return r ? "|" : " |";
734
- }).split(P.splitPipe), r = 0;
734
+ }).split(N.splitPipe), r = 0;
735
735
  if (n[0].trim() || n.shift(), n.length > 0 && !n.at(-1)?.trim() && n.pop(), t) if (n.length > t) n.splice(t);
736
736
  else for (; n.length < t;) n.push("");
737
- for (; r < n.length; r++) n[r] = n[r].trim().replace(P.slashPipe, "|");
737
+ for (; r < n.length; r++) n[r] = n[r].trim().replace(N.slashPipe, "|");
738
738
  return n;
739
739
  }
740
740
  function G(e, t, n) {
@@ -751,7 +751,7 @@ function G(e, t, n) {
751
751
  }
752
752
  function _n(e) {
753
753
  let t = e.split("\n"), n = t.length - 1;
754
- for (; n >= 0 && P.blankLine.test(t[n]);) n--;
754
+ for (; n >= 0 && N.blankLine.test(t[n]);) n--;
755
755
  return t.length - n <= 2 ? e : t.slice(0, n + 1).join("\n");
756
756
  }
757
757
  function vn(e, t) {
@@ -799,7 +799,7 @@ var K = class {
799
799
  rules;
800
800
  lexer;
801
801
  constructor(e) {
802
- this.options = e || A;
802
+ this.options = e || k;
803
803
  }
804
804
  space(e) {
805
805
  let t = this.rules.block.newline.exec(e);
@@ -911,16 +911,16 @@ ${c}` : c;
911
911
  r = t[0], e = e.substring(r.length);
912
912
  let c = yn(t[2].split("\n", 1)[0], t[1].length), l = e.split("\n", 1)[0], u = !c.trim(), d = 0;
913
913
  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) {
914
- 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);
914
+ 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);
915
915
  for (; e;) {
916
- let f = e.split("\n", 1)[0], p;
917
- 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;
918
- if (p.search(this.rules.other.nonSpaceChar) >= d || !l.trim()) s += "\n" + p.slice(d);
916
+ let p = e.split("\n", 1)[0], m;
917
+ 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;
918
+ if (m.search(this.rules.other.nonSpaceChar) >= d || !l.trim()) s += "\n" + m.slice(d);
919
919
  else {
920
920
  if (u || c.replace(this.rules.other.tabCharGlobal, " ").search(this.rules.other.nonSpaceChar) >= 4 || i.test(c) || a.test(c) || n.test(c)) break;
921
921
  s += "\n" + l;
922
922
  }
923
- u = !l.trim(), r += f + "\n", e = e.substring(f.length + 1), c = p.slice(d);
923
+ u = !l.trim(), r += p + "\n", e = e.substring(p.length + 1), c = m.slice(d);
924
924
  }
925
925
  }
926
926
  i.loose || (o ? i.loose = !0 : this.rules.other.doubleBlankLine.test(r) && (o = !0)), i.items.push({
@@ -1256,13 +1256,13 @@ ${c}` : c;
1256
1256
  inlineQueue;
1257
1257
  tokenizer;
1258
1258
  constructor(e) {
1259
- this.tokens = [], this.tokens.links = Object.create(null), this.options = e || A, this.options.tokenizer = this.options.tokenizer || new K(), this.tokenizer = this.options.tokenizer, this.tokenizer.options = this.options, this.tokenizer.lexer = this, this.inlineQueue = [], this.state = {
1259
+ this.tokens = [], this.tokens.links = Object.create(null), this.options = e || k, this.options.tokenizer = this.options.tokenizer || new K(), this.tokenizer = this.options.tokenizer, this.tokenizer.options = this.options, this.tokenizer.lexer = this, this.inlineQueue = [], this.state = {
1260
1260
  inLink: !1,
1261
1261
  inRawBlock: !1,
1262
1262
  top: !0
1263
1263
  };
1264
1264
  let t = {
1265
- other: P,
1265
+ other: N,
1266
1266
  block: H.normal,
1267
1267
  inline: U.normal
1268
1268
  };
@@ -1281,7 +1281,7 @@ ${c}` : c;
1281
1281
  return new e(n).inlineTokens(t);
1282
1282
  }
1283
1283
  lex(e) {
1284
- e = e.replace(P.carriageReturn, "\n"), this.blockTokens(e, this.tokens);
1284
+ e = e.replace(N.carriageReturn, "\n"), this.blockTokens(e, this.tokens);
1285
1285
  for (let e = 0; e < this.inlineQueue.length; e++) {
1286
1286
  let t = this.inlineQueue[e];
1287
1287
  this.inlineTokens(t.src, t.tokens);
@@ -1289,7 +1289,7 @@ ${c}` : c;
1289
1289
  return this.inlineQueue = [], this.tokens;
1290
1290
  }
1291
1291
  blockTokens(e, t = [], n = !1) {
1292
- this.tokenizer.lexer = this, this.options.pedantic && (e = e.replace(P.tabCharGlobal, " ").replace(P.spaceLine, ""));
1292
+ this.tokenizer.lexer = this, this.options.pedantic && (e = e.replace(N.tabCharGlobal, " ").replace(N.spaceLine, ""));
1293
1293
  let r = Infinity;
1294
1294
  for (; e;) {
1295
1295
  if (e.length < r) r = e.length;
@@ -1475,13 +1475,13 @@ ${c}` : c;
1475
1475
  options;
1476
1476
  parser;
1477
1477
  constructor(e) {
1478
- this.options = e || A;
1478
+ this.options = e || k;
1479
1479
  }
1480
1480
  space(e) {
1481
1481
  return "";
1482
1482
  }
1483
1483
  code({ text: e, lang: t, escaped: n }) {
1484
- let r = (t || "").match(P.notSpaceStart)?.[0], i = e.replace(P.endingNewline, "") + "\n";
1484
+ let r = (t || "").match(N.notSpaceStart)?.[0], i = e.replace(N.endingNewline, "") + "\n";
1485
1485
  return r ? "<pre><code class=\"language-" + W(r) + "\">" + (n ? i : W(i, !0)) + "</code></pre>\n" : "<pre><code>" + (n ? i : W(i, !0)) + "</code></pre>\n";
1486
1486
  }
1487
1487
  blockquote({ tokens: e }) {
@@ -1614,7 +1614,7 @@ ${e}</tr>
1614
1614
  renderer;
1615
1615
  textRenderer;
1616
1616
  constructor(e) {
1617
- this.options = e || A, this.options.renderer = this.options.renderer || new J(), this.renderer = this.options.renderer, this.renderer.options = this.options, this.renderer.parser = this, this.textRenderer = new Y();
1617
+ this.options = e || k, this.options.renderer = this.options.renderer || new J(), this.renderer = this.options.renderer, this.renderer.options = this.options, this.renderer.parser = this, this.textRenderer = new Y();
1618
1618
  }
1619
1619
  static parse(t, n) {
1620
1620
  return new e(n).parse(t);
@@ -1764,7 +1764,7 @@ ${e}</tr>
1764
1764
  options;
1765
1765
  block;
1766
1766
  constructor(e) {
1767
- this.options = e || A;
1767
+ this.options = e || k;
1768
1768
  }
1769
1769
  static passThroughHooks = new Set([
1770
1770
  "preprocess",
@@ -1796,7 +1796,7 @@ ${e}</tr>
1796
1796
  return e ? X.parse : X.parseInline;
1797
1797
  }
1798
1798
  }, Q = new class {
1799
- defaults = k();
1799
+ defaults = O();
1800
1800
  options = this.setOptions;
1801
1801
  parse = this.parseMarkdown(!0);
1802
1802
  parseInline = this.parseMarkdown(!1);
@@ -1975,9 +1975,9 @@ function $(e, t) {
1975
1975
  return Q.parse(e, t);
1976
1976
  }
1977
1977
  $.options = $.setOptions = function(e) {
1978
- return Q.setOptions(e), $.defaults = Q.defaults, mt($.defaults), $;
1979
- }, $.getDefaults = k, $.defaults = A, $.use = function(...e) {
1980
- return Q.use(...e), $.defaults = Q.defaults, mt($.defaults), $;
1978
+ return Q.setOptions(e), $.defaults = Q.defaults, ht($.defaults), $;
1979
+ }, $.getDefaults = O, $.defaults = k, $.use = function(...e) {
1980
+ return Q.use(...e), $.defaults = Q.defaults, ht($.defaults), $;
1981
1981
  }, $.walkTokens = function(e, t) {
1982
1982
  return Q.walkTokens(e, t);
1983
1983
  }, $.parseInline = Q.parseInline, $.Parser = X, $.parser = X.parse, $.Renderer = J, $.TextRenderer = Y, $.Lexer = q, $.lexer = q.lex, $.Tokenizer = K, $.Hooks = Z, $.parse = $, $.options, $.setOptions, $.use, $.walkTokens, $.parseInline, X.parse, q.lex;
@@ -1992,23 +1992,27 @@ var Sn = ["innerHTML"], Cn = /* @__PURE__ */ a({
1992
1992
  default: !1
1993
1993
  },
1994
1994
  animation: { default: "fadeIn" },
1995
- animationDuration: { default: "0.3s" }
1995
+ animationDuration: { default: "0.3s" },
1996
+ isDark: {
1997
+ type: Boolean,
1998
+ default: !1
1999
+ }
1996
2000
  },
1997
2001
  setup(a) {
1998
2002
  let u = a, d = null;
1999
- function ee() {
2000
- return d ||= import("mermaid").then((e) => (e.default.initialize({ startOnLoad: !1 }), e.default)), d;
2003
+ function f() {
2004
+ return d ||= import("beautiful-mermaid"), d;
2001
2005
  }
2002
- let f = null;
2003
- function p() {
2004
- return f ||= import("katex").then((e) => e.default), f;
2006
+ let p = null;
2007
+ function m() {
2008
+ return p ||= import("katex").then((e) => e.default), p;
2005
2009
  }
2006
- let te = /^(\${1,2})(?!\$)((?:\\.|[^\\\n])*?(?:\\.|[^\\\n$]))\1(?=[\s?!.,:\uFF1F\uFF01\u3002\uFF0C\uFF1A]|$)/, m = /^(\${1,2})\n((?:\\[^]|[^\\])+?)\n\1(?:\n|$)/;
2007
- function h(e) {
2010
+ let ee = /^(\${1,2})(?!\$)((?:\\.|[^\\\n])*?(?:\\.|[^\\\n$]))\1(?=[\s?!.,:\uFF1F\uFF01\u3002\uFF0C\uFF1A]|$)/, h = /^(\${1,2})\n((?:\\[^]|[^\\])+?)\n\1(?:\n|$)/;
2011
+ function g(e) {
2008
2012
  return e.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;");
2009
2013
  }
2010
- function g(e, t) {
2011
- return `<span class="katex-pending" data-katex="${h(e)}" data-display="${t}"></span>`;
2014
+ function _(e, t) {
2015
+ return `<span class="katex-pending" data-katex="${g(e)}" data-display="${t}"></span>`;
2012
2016
  }
2013
2017
  $.use({ extensions: [{
2014
2018
  name: "inlineKatex",
@@ -2018,7 +2022,7 @@ var Sn = ["innerHTML"], Cn = /* @__PURE__ */ a({
2018
2022
  if (t !== -1 && (t === 0 || e.charAt(t - 1) === " ")) return t;
2019
2023
  },
2020
2024
  tokenizer(e) {
2021
- let t = e.match(te);
2025
+ let t = e.match(ee);
2022
2026
  if (t) return {
2023
2027
  type: "inlineKatex",
2024
2028
  raw: t[0],
@@ -2027,13 +2031,13 @@ var Sn = ["innerHTML"], Cn = /* @__PURE__ */ a({
2027
2031
  };
2028
2032
  },
2029
2033
  renderer(e) {
2030
- return g(e.text, e.displayMode);
2034
+ return _(e.text, e.displayMode);
2031
2035
  }
2032
2036
  }, {
2033
2037
  name: "blockKatex",
2034
2038
  level: "block",
2035
2039
  tokenizer(e) {
2036
- let t = e.match(m);
2040
+ let t = e.match(h);
2037
2041
  if (t) return {
2038
2042
  type: "blockKatex",
2039
2043
  raw: t[0],
@@ -2042,7 +2046,7 @@ var Sn = ["innerHTML"], Cn = /* @__PURE__ */ a({
2042
2046
  };
2043
2047
  },
2044
2048
  renderer(e) {
2045
- return g(e.text, e.displayMode) + "\n";
2049
+ return _(e.text, e.displayMode) + "\n";
2046
2050
  }
2047
2051
  }] }), $.use({ extensions: [{
2048
2052
  name: "thinking",
@@ -2063,19 +2067,19 @@ var Sn = ["innerHTML"], Cn = /* @__PURE__ */ a({
2063
2067
  return `<div class="thinking-block">${this.parser.parse(e.tokens ?? [])}</div>`;
2064
2068
  }
2065
2069
  }] });
2066
- let _ = new $.Renderer();
2067
- _.link = function({ href: t, title: n, tokens: r }) {
2070
+ let v = new $.Renderer();
2071
+ v.link = function({ href: e, title: n, tokens: r }) {
2068
2072
  let i = this.parser.parseInline(r);
2069
- return `<a href="${t}"${n ? ` title="${n}"` : ""}${e(t ?? "") ? "" : " target=\"_blank\" rel=\"noopener noreferrer\""}>${i}</a>`;
2070
- }, _.table = function(e) {
2073
+ return `<a href="${e}"${n ? ` title="${n}"` : ""}${t(e ?? "") ? "" : " target=\"_blank\" rel=\"noopener noreferrer\""}>${i}</a>`;
2074
+ }, v.table = function(e) {
2071
2075
  return `<div class="table-wrapper">${$.Renderer.prototype.table.call(this, e)}</div>`;
2072
2076
  };
2073
- let ne = /^(sequenceDiagram|graph|classDiagram|stateDiagram|erDiagram|gantt|pie|flowchart|journey)/;
2074
- _.code = ({ text: e }) => ne.test(e) ? `<pre class="mermaid">${e}</pre>` : `<pre><code>${e}</code></pre>`;
2075
- function re(e) {
2077
+ let te = /^(sequenceDiagram|graph|classDiagram|stateDiagram|erDiagram|flowchart|xychart-beta)/;
2078
+ v.code = ({ text: e }) => te.test(e) ? `<pre class="mermaid">${e}</pre>` : `<pre><code>${e}</code></pre>`;
2079
+ function ne(e) {
2076
2080
  return e.replace(/\\\[([\s\S]*?)\\\]/g, (e, t) => `$$${t}$$`).replace(/\\\(([\s\S]*?)\\\)/g, (e, t) => `$${t}$`).replace(/^(\d+)\.(?!\s)/gm, "$1\\.");
2077
2081
  }
2078
- function v(e) {
2082
+ function y(e) {
2079
2083
  let t = /* @__PURE__ */ new Set(), n = /^(`{3,})[^\n]*\n([\s\S]*?)\n\1/gm, r;
2080
2084
  for (; (r = n.exec(e)) !== null;) for (let e = r.index; e < r.index + r[0].length; e++) t.add(e);
2081
2085
  return e.replace(/[{[]([\s\S]*?)[}\]]/g, (e, n, r) => {
@@ -2087,66 +2091,74 @@ var Sn = ["innerHTML"], Cn = /* @__PURE__ */ a({
2087
2091
  }
2088
2092
  }).replace(/\n{3,}/g, "\n\n");
2089
2093
  }
2090
- let ie = [
2091
- v,
2092
- pt,
2093
- re
2094
- ], y = c("container"), b = r(() => {
2095
- let e = ie.reduce((e, t) => t(e), u.markdown);
2094
+ let re = [
2095
+ y,
2096
+ mt,
2097
+ ne
2098
+ ], b = c("container"), x = r(() => {
2099
+ let e = re.reduce((e, t) => t(e), u.markdown);
2096
2100
  return $.parse(e, {
2097
2101
  async: !1,
2098
2102
  breaks: !0,
2099
- renderer: _
2103
+ renderer: v
2100
2104
  });
2101
2105
  });
2102
- async function ae() {
2106
+ async function ie() {
2103
2107
  if (u.loading) return;
2104
2108
  await o();
2105
- let e = y.value?.querySelectorAll("pre.mermaid:not([data-rendered])");
2109
+ let e = b.value?.querySelectorAll("pre.mermaid:not([data-rendered])");
2106
2110
  if (!e?.length) return;
2107
- let t = await ee(), n = document.createElement("div");
2108
- n.style.cssText = "position:fixed;left:-9999px;top:-9999px;width:800px", document.body.appendChild(n);
2109
- try {
2110
- for (let r of Array.from(e)) {
2111
- if (!r.isConnected) continue;
2112
- let e = r.textContent?.trim();
2113
- if (e) try {
2114
- let { svg: i } = await t.render(`m-${Math.random().toString(36).slice(2)}`, e, n);
2115
- r.isConnected && (r.innerHTML = i, r.setAttribute("data-rendered", "true"));
2116
- } catch {}
2117
- }
2118
- } finally {
2119
- n.remove();
2111
+ let { renderMermaidSVG: t, THEMES: n } = await f(), r = u.isDark ? n["github-dark"] : n["github-light"];
2112
+ for (let n of Array.from(e)) {
2113
+ if (!n.isConnected) continue;
2114
+ let e = n.textContent?.trim();
2115
+ if (e) try {
2116
+ let i = t(e, r);
2117
+ n.isConnected && (n.dataset.code = e, n.innerHTML = i, n.setAttribute("data-rendered", "true"));
2118
+ } catch {}
2120
2119
  }
2121
2120
  }
2122
- async function oe() {
2121
+ async function ae() {
2123
2122
  await o();
2124
- let e = y.value?.querySelectorAll("pre:not(.mermaid) > code:not([data-highlighted])");
2123
+ let e = b.value?.querySelectorAll("pre:not(.mermaid) > code:not([data-highlighted])");
2125
2124
  if (!e?.length) return;
2126
2125
  let t = (await import("highlight.js/lib/common")).default;
2127
2126
  for (let n of e) t.highlightElement(n), n.setAttribute("data-highlighted", "true");
2128
2127
  }
2129
- async function se() {
2128
+ async function oe() {
2130
2129
  await o();
2131
- let e = y.value?.querySelectorAll(".katex-pending");
2132
- if (!e?.length) return;
2133
- let r = await p();
2134
- n("https://cdn.jsdelivr.net/npm/katex@0.16/dist/katex.min.css", t(y.value));
2135
- for (let t of Array.from(e)) {
2136
- if (!t.isConnected) continue;
2137
- let e = t.dataset.katex;
2138
- if (!e) continue;
2139
- let n = t.dataset.display === "true";
2130
+ let t = b.value?.querySelectorAll(".katex-pending");
2131
+ if (!t?.length) return;
2132
+ let r = await m();
2133
+ e("https://cdn.jsdelivr.net/npm/katex@0.16/dist/katex.min.css", n(b.value));
2134
+ for (let e of Array.from(t)) {
2135
+ if (!e.isConnected) continue;
2136
+ let t = e.dataset.katex;
2137
+ if (!t) continue;
2138
+ let n = e.dataset.display === "true";
2140
2139
  try {
2141
- t.innerHTML = r.renderToString(e, {
2140
+ e.innerHTML = r.renderToString(t, {
2142
2141
  throwOnError: !1,
2143
2142
  displayMode: n
2144
- }), t.classList.remove("katex-pending");
2143
+ }), e.classList.remove("katex-pending");
2144
+ } catch {}
2145
+ }
2146
+ }
2147
+ async function se() {
2148
+ await o();
2149
+ let e = b.value?.querySelectorAll("pre.mermaid[data-rendered]");
2150
+ if (!e?.length) return;
2151
+ let { renderMermaidSVG: t, THEMES: n } = await f(), r = u.isDark ? n["github-dark"] : n["github-light"];
2152
+ for (let n of Array.from(e)) {
2153
+ if (!n.isConnected) continue;
2154
+ let e = n.dataset.code;
2155
+ if (e) try {
2156
+ n.innerHTML = t(e, r);
2145
2157
  } catch {}
2146
2158
  }
2147
2159
  }
2148
- l([b, () => u.loading], ae, { immediate: !0 }), l(b, oe, { immediate: !0 }), l(b, se, { immediate: !0 });
2149
- let x = 0;
2160
+ l([x, () => u.loading], ie, { immediate: !0 }), l(() => u.isDark, se), l(x, ae, { immediate: !0 }), l(x, oe, { immediate: !0 });
2161
+ let S = 0;
2150
2162
  function ce(e, t) {
2151
2163
  let n = document.createElement("span");
2152
2164
  return n.style.cssText = `animation:ft-${u.animation} ${u.animationDuration} ease-out ${t}ms both;display:inline-block`, n.textContent = e, n.addEventListener("animationend", () => {
@@ -2154,7 +2166,7 @@ var Sn = ["innerHTML"], Cn = /* @__PURE__ */ a({
2154
2166
  t && (t.replaceChild(document.createTextNode(e), n), t.normalize());
2155
2167
  }, { once: !0 }), n;
2156
2168
  }
2157
- function le(e, t, n, r) {
2169
+ function C(e, t, n, r) {
2158
2170
  let i = r, a = e.split(/(\s+)/);
2159
2171
  for (let e of a) if (e) {
2160
2172
  if (/^\s+$/.test(e)) {
@@ -2165,7 +2177,7 @@ var Sn = ["innerHTML"], Cn = /* @__PURE__ */ a({
2165
2177
  }
2166
2178
  return i;
2167
2179
  }
2168
- function S(e) {
2180
+ function le(e) {
2169
2181
  let t = document.createTreeWalker(e, NodeFilter.SHOW_TEXT, { acceptNode(e) {
2170
2182
  return e.parentElement?.closest("pre, code, .katex-pending") ? NodeFilter.FILTER_REJECT : NodeFilter.FILTER_ACCEPT;
2171
2183
  } }), n = [];
@@ -2173,34 +2185,34 @@ var Sn = ["innerHTML"], Cn = /* @__PURE__ */ a({
2173
2185
  return n;
2174
2186
  }
2175
2187
  function ue() {
2176
- if (!y.value || !u.loading || !u.animation) return;
2177
- let e = S(y.value), t = 0, n = 0;
2188
+ if (!b.value || !u.loading || !u.animation) return;
2189
+ let e = le(b.value), t = 0, n = 0;
2178
2190
  for (let r of e) {
2179
2191
  let e = r.textContent || "", i = t, a = t + e.length;
2180
- if (t = a, a <= x) continue;
2192
+ if (t = a, a <= S) continue;
2181
2193
  let o = r.parentNode;
2182
2194
  if (!o) continue;
2183
- if (i >= x) {
2195
+ if (i >= S) {
2184
2196
  let t = r.nextSibling;
2185
- o.removeChild(r), n = le(e, o, t, n);
2197
+ o.removeChild(r), n = C(e, o, t, n);
2186
2198
  continue;
2187
2199
  }
2188
- let s = x - i, c = r.splitText(s), l = c.textContent || "", u = c.nextSibling;
2189
- o.removeChild(c), n = le(l, o, u, n);
2200
+ let s = S - i, c = r.splitText(s), l = c.textContent || "", u = c.nextSibling;
2201
+ o.removeChild(c), n = C(l, o, u, n);
2190
2202
  }
2191
- x = t;
2203
+ S = t;
2192
2204
  }
2193
- return l(b, async () => {
2205
+ return l(x, async () => {
2194
2206
  await o(), ue();
2195
2207
  }, { immediate: !0 }), l(() => u.markdown, (e, t) => {
2196
- (!e || t && e.length < t.length) && (x = 0);
2208
+ (!e || t && e.length < t.length) && (S = 0);
2197
2209
  }), (e, t) => (s(), i("div", {
2198
2210
  ref: "container",
2199
- innerHTML: b.value
2211
+ innerHTML: x.value
2200
2212
  }, null, 8, Sn));
2201
2213
  }
2202
2214
  });
2203
2215
  //#endregion
2204
2216
  export { Cn as t };
2205
2217
 
2206
- //# sourceMappingURL=PkStreamingMarkdown-BUiAi-qv.js.map
2218
+ //# sourceMappingURL=PkStreamingMarkdown-BDtjktHX.js.map