@glodon-aiot/agent-cli-ui 0.0.0-20251106104234

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 (855) hide show
  1. package/README.git.md +73 -0
  2. package/README.lib.md +135 -0
  3. package/dist/es/AgentClientUI.mjs +150 -0
  4. package/dist/es/Dialog/AgentChat/HistoryItem/FileItem/index.mjs +95 -0
  5. package/dist/es/Dialog/AgentChat/HistoryItem/InputProgress/index.mjs +38 -0
  6. package/dist/es/Dialog/AgentChat/HistoryItem/SearchReference/index.mjs +101 -0
  7. package/dist/es/Dialog/AgentChat/HistoryItem/SessionAction/index.mjs +251 -0
  8. package/dist/es/Dialog/AgentChat/HistoryItem/SessionRefer/ReferItem/index.mjs +86 -0
  9. package/dist/es/Dialog/AgentChat/HistoryItem/SessionRefer/index.mjs +92 -0
  10. package/dist/es/Dialog/AgentChat/HistoryItem/SessionRelated/index.mjs +46 -0
  11. package/dist/es/Dialog/AgentChat/HistoryItem/index.mjs +365 -0
  12. package/dist/es/Dialog/AgentChat/PromptSetting/index.mjs +105 -0
  13. package/dist/es/Dialog/AgentChat/Tools/ConnectToNetwork/index.mjs +92 -0
  14. package/dist/es/Dialog/AgentChat/Tools/PromptManager/PromptList/PromptListItem.mjs +89 -0
  15. package/dist/es/Dialog/AgentChat/Tools/PromptManager/PromptList/PublicPromptList.mjs +47 -0
  16. package/dist/es/Dialog/AgentChat/Tools/PromptManager/PromptList/access/empty.svg.mjs +4 -0
  17. package/dist/es/Dialog/AgentChat/Tools/PromptManager/index.mjs +120 -0
  18. package/dist/es/Dialog/AgentChat/Tools/SessionHistoryDrawer/index.mjs +48 -0
  19. package/dist/es/Dialog/AgentChat/Tools/SessionListDrawer/HistorySessionList/NameEditPanel.mjs +47 -0
  20. package/dist/es/Dialog/AgentChat/Tools/SessionListDrawer/HistorySessionList/SessionItem.mjs +135 -0
  21. package/dist/es/Dialog/AgentChat/Tools/SessionListDrawer/HistorySessionList/index.mjs +130 -0
  22. package/dist/es/Dialog/AgentChat/Tools/SessionListDrawer/index.mjs +44 -0
  23. package/dist/es/Dialog/AgentChat/Tools/UploadKnowledgeFiles/ClearModal/index.mjs +50 -0
  24. package/dist/es/Dialog/AgentChat/Tools/UploadKnowledgeFiles/FileCard/index.mjs +128 -0
  25. package/dist/es/Dialog/AgentChat/Tools/UploadKnowledgeFiles/index.mjs +413 -0
  26. package/dist/es/Dialog/AgentChat/index.mjs +1045 -0
  27. package/dist/es/Dialog/SessionList/index.mjs +323 -0
  28. package/dist/es/Dialog/UploadingPrompt/index.mjs +64 -0
  29. package/dist/es/Dialog/index.mjs +180 -0
  30. package/dist/es/Footer/FooterWarning.mjs +24 -0
  31. package/dist/es/Footer/index.mjs +17 -0
  32. package/dist/es/QuillEditor/index.mjs +231 -0
  33. package/dist/es/ReactTextGenerationUI/components/TextSiders/index.mjs +406 -0
  34. package/dist/es/ReactTextGenerationUI/components/fetchEventSource/fetch.mjs +112 -0
  35. package/dist/es/ReactTextGenerationUI/components/fetchEventSource/parse.mjs +97 -0
  36. package/dist/es/ReactTextGenerationUI/index.mjs +81 -0
  37. package/dist/es/_virtual/_commonjsHelpers.mjs +8 -0
  38. package/dist/es/_virtual/index.mjs +4 -0
  39. package/dist/es/_virtual/index2.mjs +4 -0
  40. package/dist/es/_virtual/index3.mjs +4 -0
  41. package/dist/es/_virtual/lib.mjs +4 -0
  42. package/dist/es/_virtual/prism-core.mjs +4 -0
  43. package/dist/es/_virtual/types.mjs +4 -0
  44. package/dist/es/_virtual/ua-parser.min.mjs +4 -0
  45. package/dist/es/_virtual/utilities.mjs +4 -0
  46. package/dist/es/assets/brand.svg.mjs +4 -0
  47. package/dist/es/assets/doc-icons/doc.svg.mjs +4 -0
  48. package/dist/es/assets/doc-icons/docx.svg.mjs +4 -0
  49. package/dist/es/assets/doc-icons/pdf.svg.mjs +4 -0
  50. package/dist/es/assets/icon.svg.mjs +4 -0
  51. package/dist/es/assets/think.svg.mjs +4 -0
  52. package/dist/es/components/FilePreview/index.mjs +83 -0
  53. package/dist/es/components/Greeting/index.mjs +30 -0
  54. package/dist/es/components/Iconfont/index.mjs +12 -0
  55. package/dist/es/components/JsonDisplay/index.mjs +15 -0
  56. package/dist/es/components/KnowledgeList/KnowledgeSelect/index.mjs +67 -0
  57. package/dist/es/components/KnowledgeList/index.mjs +73 -0
  58. package/dist/es/components/Recommend/RecommendItem.mjs +100 -0
  59. package/dist/es/components/Recommend/index.mjs +76 -0
  60. package/dist/es/components/Recommend/tip.svg.mjs +4 -0
  61. package/dist/es/components/Sider/index.mjs +24 -0
  62. package/dist/es/components/WebLink/index.mjs +26 -0
  63. package/dist/es/constant.mjs +123 -0
  64. package/dist/es/context/SessionContext.mjs +26 -0
  65. package/dist/es/context.mjs +7 -0
  66. package/dist/es/hooks/useSessionState.mjs +6 -0
  67. package/dist/es/index.mjs +534 -0
  68. package/dist/es/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.mjs +9 -0
  69. package/dist/es/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.mjs +8 -0
  70. package/dist/es/node_modules/@babel/runtime/helpers/esm/defineProperty.mjs +12 -0
  71. package/dist/es/node_modules/@babel/runtime/helpers/esm/extends.mjs +13 -0
  72. package/dist/es/node_modules/@babel/runtime/helpers/esm/iterableToArray.mjs +7 -0
  73. package/dist/es/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.mjs +7 -0
  74. package/dist/es/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.mjs +15 -0
  75. package/dist/es/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.mjs +15 -0
  76. package/dist/es/node_modules/@babel/runtime/helpers/esm/toConsumableArray.mjs +10 -0
  77. package/dist/es/node_modules/@babel/runtime/helpers/esm/toPrimitive.mjs +16 -0
  78. package/dist/es/node_modules/@babel/runtime/helpers/esm/toPropertyKey.mjs +9 -0
  79. package/dist/es/node_modules/@babel/runtime/helpers/esm/typeof.mjs +11 -0
  80. package/dist/es/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.mjs +12 -0
  81. package/dist/es/node_modules/@react-spring/animated/dist/react-spring-animated.esm.mjs +201 -0
  82. package/dist/es/node_modules/@react-spring/core/dist/react-spring-core.esm.mjs +1087 -0
  83. package/dist/es/node_modules/@react-spring/rafz/dist/react-spring-rafz.esm.mjs +104 -0
  84. package/dist/es/node_modules/@react-spring/shared/dist/react-spring-shared.esm.mjs +568 -0
  85. package/dist/es/node_modules/@react-spring/web/dist/react-spring-web.esm.mjs +158 -0
  86. package/dist/es/node_modules/@ungap/structured-clone/esm/deserialize.mjs +70 -0
  87. package/dist/es/node_modules/@ungap/structured-clone/esm/index.mjs +11 -0
  88. package/dist/es/node_modules/@ungap/structured-clone/esm/serialize.mjs +124 -0
  89. package/dist/es/node_modules/@ungap/structured-clone/esm/types.mjs +13 -0
  90. package/dist/es/node_modules/@use-gesture/core/dist/actions-fe213e88.esm.mjs +847 -0
  91. package/dist/es/node_modules/@use-gesture/core/dist/maths-0ab39ae9.esm.mjs +35 -0
  92. package/dist/es/node_modules/@use-gesture/core/dist/use-gesture-core.esm.mjs +226 -0
  93. package/dist/es/node_modules/@use-gesture/react/dist/use-gesture-react.esm.mjs +33 -0
  94. package/dist/es/node_modules/antd-mobile/es/components/config-provider/config-provider.mjs +20 -0
  95. package/dist/es/node_modules/antd-mobile/es/components/image-viewer/image-viewer.mjs +76 -0
  96. package/dist/es/node_modules/antd-mobile/es/components/image-viewer/index.mjs +13 -0
  97. package/dist/es/node_modules/antd-mobile/es/components/image-viewer/methods.mjs +34 -0
  98. package/dist/es/node_modules/antd-mobile/es/components/image-viewer/slide.mjs +178 -0
  99. package/dist/es/node_modules/antd-mobile/es/components/image-viewer/slides.mjs +83 -0
  100. package/dist/es/node_modules/antd-mobile/es/components/mask/index.mjs +4 -0
  101. package/dist/es/node_modules/antd-mobile/es/components/mask/mask.mjs +84 -0
  102. package/dist/es/node_modules/antd-mobile/es/components/safe-area/index.mjs +4 -0
  103. package/dist/es/node_modules/antd-mobile/es/components/safe-area/safe-area.mjs +9 -0
  104. package/dist/es/node_modules/antd-mobile/es/global/index.mjs +3 -0
  105. package/dist/es/node_modules/antd-mobile/es/locales/zh-CN.mjs +141 -0
  106. package/dist/es/node_modules/antd-mobile/es/utils/attach-properties-to-component.mjs +9 -0
  107. package/dist/es/node_modules/antd-mobile/es/utils/bound.mjs +7 -0
  108. package/dist/es/node_modules/antd-mobile/es/utils/can-use-dom.mjs +4 -0
  109. package/dist/es/node_modules/antd-mobile/es/utils/convert-px.mjs +9 -0
  110. package/dist/es/node_modules/antd-mobile/es/utils/get-container.mjs +6 -0
  111. package/dist/es/node_modules/antd-mobile/es/utils/get-scroll-parent.mjs +22 -0
  112. package/dist/es/node_modules/antd-mobile/es/utils/matrix.mjs +11 -0
  113. package/dist/es/node_modules/antd-mobile/es/utils/native-props.mjs +12 -0
  114. package/dist/es/node_modules/antd-mobile/es/utils/render-imperatively.mjs +47 -0
  115. package/dist/es/node_modules/antd-mobile/es/utils/render-to-body.mjs +12 -0
  116. package/dist/es/node_modules/antd-mobile/es/utils/render-to-container.mjs +13 -0
  117. package/dist/es/node_modules/antd-mobile/es/utils/render.mjs +52 -0
  118. package/dist/es/node_modules/antd-mobile/es/utils/rubberband.mjs +11 -0
  119. package/dist/es/node_modules/antd-mobile/es/utils/should-render.mjs +10 -0
  120. package/dist/es/node_modules/antd-mobile/es/utils/supports-passive.mjs +15 -0
  121. package/dist/es/node_modules/antd-mobile/es/utils/use-drag-and-pinch.mjs +6 -0
  122. package/dist/es/node_modules/antd-mobile/es/utils/use-initialized.mjs +8 -0
  123. package/dist/es/node_modules/antd-mobile/es/utils/use-lock-scroll.mjs +54 -0
  124. package/dist/es/node_modules/antd-mobile/es/utils/use-touch.mjs +32 -0
  125. package/dist/es/node_modules/antd-mobile/es/utils/with-default-props.mjs +11 -0
  126. package/dist/es/node_modules/antd-mobile/es/utils/with-stop-propagation.mjs +19 -0
  127. package/dist/es/node_modules/ccount/index.mjs +12 -0
  128. package/dist/es/node_modules/character-reference-invalid/index.json.mjs +33 -0
  129. package/dist/es/node_modules/comma-separated-tokens/index.mjs +18 -0
  130. package/dist/es/node_modules/decode-named-character-reference/index.dom.mjs +14 -0
  131. package/dist/es/node_modules/devlop/lib/default.mjs +8 -0
  132. package/dist/es/node_modules/estree-util-is-identifier-name/lib/index.mjs +7 -0
  133. package/dist/es/node_modules/extend/index.mjs +46 -0
  134. package/dist/es/node_modules/hast-util-from-dom/lib/index.mjs +93 -0
  135. package/dist/es/node_modules/hast-util-from-dom/node_modules/web-namespaces/index.mjs +11 -0
  136. package/dist/es/node_modules/hast-util-from-html-isomorphic/lib/browser.mjs +16 -0
  137. package/dist/es/node_modules/hast-util-from-parse5/lib/index.mjs +162 -0
  138. package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/index.mjs +12 -0
  139. package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/lib/aria.mjs +61 -0
  140. package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/lib/find.mjs +33 -0
  141. package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/lib/html.mjs +368 -0
  142. package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/lib/normalize.mjs +6 -0
  143. package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/lib/svg.mjs +566 -0
  144. package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/lib/util/case-insensitive-transform.mjs +7 -0
  145. package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/lib/util/case-sensitive-transform.mjs +6 -0
  146. package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/lib/util/create.mjs +14 -0
  147. package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/lib/util/defined-info.mjs +36 -0
  148. package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/lib/util/info.mjs +28 -0
  149. package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/lib/util/merge.mjs +10 -0
  150. package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/lib/util/schema.mjs +21 -0
  151. package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/lib/util/types.mjs +15 -0
  152. package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/lib/xlink.mjs +19 -0
  153. package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/lib/xml.mjs +15 -0
  154. package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/lib/xmlns.mjs +16 -0
  155. package/dist/es/node_modules/hast-util-from-parse5/node_modules/vfile-location/lib/index.mjs +47 -0
  156. package/dist/es/node_modules/hast-util-from-parse5/node_modules/web-namespaces/index.mjs +11 -0
  157. package/dist/es/node_modules/hast-util-is-element/lib/index.mjs +61 -0
  158. package/dist/es/node_modules/hast-util-parse-selector/index.mjs +14 -0
  159. package/dist/es/node_modules/hast-util-to-jsx-runtime/lib/index.mjs +298 -0
  160. package/dist/es/node_modules/hast-util-to-jsx-runtime/node_modules/property-information/index.mjs +12 -0
  161. package/dist/es/node_modules/hast-util-to-jsx-runtime/node_modules/property-information/lib/aria.mjs +61 -0
  162. package/dist/es/node_modules/hast-util-to-jsx-runtime/node_modules/property-information/lib/find.mjs +33 -0
  163. package/dist/es/node_modules/hast-util-to-jsx-runtime/node_modules/property-information/lib/hast-to-react.mjs +22 -0
  164. package/dist/es/node_modules/hast-util-to-jsx-runtime/node_modules/property-information/lib/html.mjs +368 -0
  165. package/dist/es/node_modules/hast-util-to-jsx-runtime/node_modules/property-information/lib/normalize.mjs +6 -0
  166. package/dist/es/node_modules/hast-util-to-jsx-runtime/node_modules/property-information/lib/svg.mjs +566 -0
  167. package/dist/es/node_modules/hast-util-to-jsx-runtime/node_modules/property-information/lib/util/case-insensitive-transform.mjs +7 -0
  168. package/dist/es/node_modules/hast-util-to-jsx-runtime/node_modules/property-information/lib/util/case-sensitive-transform.mjs +6 -0
  169. package/dist/es/node_modules/hast-util-to-jsx-runtime/node_modules/property-information/lib/util/create.mjs +14 -0
  170. package/dist/es/node_modules/hast-util-to-jsx-runtime/node_modules/property-information/lib/util/defined-info.mjs +36 -0
  171. package/dist/es/node_modules/hast-util-to-jsx-runtime/node_modules/property-information/lib/util/info.mjs +28 -0
  172. package/dist/es/node_modules/hast-util-to-jsx-runtime/node_modules/property-information/lib/util/merge.mjs +10 -0
  173. package/dist/es/node_modules/hast-util-to-jsx-runtime/node_modules/property-information/lib/util/schema.mjs +21 -0
  174. package/dist/es/node_modules/hast-util-to-jsx-runtime/node_modules/property-information/lib/util/types.mjs +15 -0
  175. package/dist/es/node_modules/hast-util-to-jsx-runtime/node_modules/property-information/lib/xlink.mjs +19 -0
  176. package/dist/es/node_modules/hast-util-to-jsx-runtime/node_modules/property-information/lib/xml.mjs +15 -0
  177. package/dist/es/node_modules/hast-util-to-jsx-runtime/node_modules/property-information/lib/xmlns.mjs +16 -0
  178. package/dist/es/node_modules/hast-util-to-text/lib/index.mjs +223 -0
  179. package/dist/es/node_modules/hast-util-whitespace/lib/index.mjs +10 -0
  180. package/dist/es/node_modules/hastscript/lib/create-h.mjs +126 -0
  181. package/dist/es/node_modules/hastscript/lib/index.mjs +8 -0
  182. package/dist/es/node_modules/hastscript/lib/svg-case-sensitive-tag-names.mjs +4 -0
  183. package/dist/es/node_modules/hastscript/node_modules/hast-util-parse-selector/lib/index.mjs +20 -0
  184. package/dist/es/node_modules/hastscript/node_modules/property-information/index.mjs +12 -0
  185. package/dist/es/node_modules/hastscript/node_modules/property-information/lib/aria.mjs +61 -0
  186. package/dist/es/node_modules/hastscript/node_modules/property-information/lib/find.mjs +33 -0
  187. package/dist/es/node_modules/hastscript/node_modules/property-information/lib/html.mjs +368 -0
  188. package/dist/es/node_modules/hastscript/node_modules/property-information/lib/normalize.mjs +6 -0
  189. package/dist/es/node_modules/hastscript/node_modules/property-information/lib/svg.mjs +566 -0
  190. package/dist/es/node_modules/hastscript/node_modules/property-information/lib/util/case-insensitive-transform.mjs +7 -0
  191. package/dist/es/node_modules/hastscript/node_modules/property-information/lib/util/case-sensitive-transform.mjs +6 -0
  192. package/dist/es/node_modules/hastscript/node_modules/property-information/lib/util/create.mjs +14 -0
  193. package/dist/es/node_modules/hastscript/node_modules/property-information/lib/util/defined-info.mjs +36 -0
  194. package/dist/es/node_modules/hastscript/node_modules/property-information/lib/util/info.mjs +28 -0
  195. package/dist/es/node_modules/hastscript/node_modules/property-information/lib/util/merge.mjs +10 -0
  196. package/dist/es/node_modules/hastscript/node_modules/property-information/lib/util/schema.mjs +21 -0
  197. package/dist/es/node_modules/hastscript/node_modules/property-information/lib/util/types.mjs +15 -0
  198. package/dist/es/node_modules/hastscript/node_modules/property-information/lib/xlink.mjs +19 -0
  199. package/dist/es/node_modules/hastscript/node_modules/property-information/lib/xml.mjs +15 -0
  200. package/dist/es/node_modules/hastscript/node_modules/property-information/lib/xmlns.mjs +16 -0
  201. package/dist/es/node_modules/html-url-attributes/lib/index.mjs +16 -0
  202. package/dist/es/node_modules/is-alphabetical/index.mjs +8 -0
  203. package/dist/es/node_modules/is-alphanumerical/index.mjs +9 -0
  204. package/dist/es/node_modules/is-decimal/index.mjs +8 -0
  205. package/dist/es/node_modules/is-hexadecimal/index.mjs +8 -0
  206. package/dist/es/node_modules/katex/dist/katex.mjs +11700 -0
  207. package/dist/es/node_modules/longest-streak/index.mjs +12 -0
  208. package/dist/es/node_modules/markdown-table/index.mjs +70 -0
  209. package/dist/es/node_modules/mdast-util-find-and-replace/lib/index.mjs +72 -0
  210. package/dist/es/node_modules/mdast-util-find-and-replace/node_modules/escape-string-regexp/index.mjs +8 -0
  211. package/dist/es/node_modules/mdast-util-from-markdown/lib/index.mjs +584 -0
  212. package/dist/es/node_modules/mdast-util-gfm/lib/index.mjs +17 -0
  213. package/dist/es/node_modules/mdast-util-gfm-autolink-literal/lib/index.mjs +136 -0
  214. package/dist/es/node_modules/mdast-util-gfm-footnote/lib/index.mjs +100 -0
  215. package/dist/es/node_modules/mdast-util-gfm-strikethrough/lib/index.mjs +61 -0
  216. package/dist/es/node_modules/mdast-util-gfm-table/lib/index.mjs +170 -0
  217. package/dist/es/node_modules/mdast-util-gfm-task-list-item/lib/index.mjs +72 -0
  218. package/dist/es/node_modules/mdast-util-math/lib/index.mjs +170 -0
  219. package/dist/es/node_modules/mdast-util-phrasing/lib/index.mjs +30 -0
  220. package/dist/es/node_modules/mdast-util-to-hast/lib/footer.mjs +123 -0
  221. package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/blockquote.mjs +12 -0
  222. package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/break.mjs +16 -0
  223. package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/code.mjs +25 -0
  224. package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/delete.mjs +12 -0
  225. package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/emphasis.mjs +12 -0
  226. package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.mjs +31 -0
  227. package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/heading.mjs +12 -0
  228. package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/html.mjs +12 -0
  229. package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/image-reference.mjs +22 -0
  230. package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/image.mjs +17 -0
  231. package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/index.mjs +58 -0
  232. package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/inline-code.mjs +17 -0
  233. package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/link-reference.mjs +21 -0
  234. package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/link.mjs +17 -0
  235. package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/list-item.mjs +65 -0
  236. package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/list.mjs +21 -0
  237. package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/paragraph.mjs +12 -0
  238. package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/root.mjs +10 -0
  239. package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/strong.mjs +12 -0
  240. package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/table-cell.mjs +13 -0
  241. package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/table-row.mjs +26 -0
  242. package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/table.mjs +35 -0
  243. package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/text.mjs +11 -0
  244. package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/thematic-break.mjs +12 -0
  245. package/dist/es/node_modules/mdast-util-to-hast/lib/index.mjs +19 -0
  246. package/dist/es/node_modules/mdast-util-to-hast/lib/revert.mjs +22 -0
  247. package/dist/es/node_modules/mdast-util-to-hast/lib/state.mjs +145 -0
  248. package/dist/es/node_modules/mdast-util-to-hast/node_modules/unist-util-visit/lib/index.mjs +16 -0
  249. package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/blockquote.mjs +12 -0
  250. package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/break.mjs +13 -0
  251. package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/code.mjs +49 -0
  252. package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/definition.mjs +37 -0
  253. package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/emphasis.mjs +37 -0
  254. package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/heading.mjs +44 -0
  255. package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/html.mjs +10 -0
  256. package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/image-reference.mjs +36 -0
  257. package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/image.mjs +40 -0
  258. package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/index.mjs +44 -0
  259. package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/inline-code.mjs +22 -0
  260. package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/link-reference.mjs +36 -0
  261. package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/link.mjs +50 -0
  262. package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/list-item.mjs +19 -0
  263. package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/list.mjs +35 -0
  264. package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/paragraph.mjs +7 -0
  265. package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/root.mjs +9 -0
  266. package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/strong.mjs +37 -0
  267. package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/text.mjs +6 -0
  268. package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/thematic-break.mjs +9 -0
  269. package/dist/es/node_modules/mdast-util-to-markdown/lib/util/check-bullet-ordered.mjs +9 -0
  270. package/dist/es/node_modules/mdast-util-to-markdown/lib/util/check-bullet-other.mjs +14 -0
  271. package/dist/es/node_modules/mdast-util-to-markdown/lib/util/check-bullet.mjs +9 -0
  272. package/dist/es/node_modules/mdast-util-to-markdown/lib/util/check-emphasis.mjs +9 -0
  273. package/dist/es/node_modules/mdast-util-to-markdown/lib/util/check-fence.mjs +9 -0
  274. package/dist/es/node_modules/mdast-util-to-markdown/lib/util/check-list-item-indent.mjs +9 -0
  275. package/dist/es/node_modules/mdast-util-to-markdown/lib/util/check-quote.mjs +9 -0
  276. package/dist/es/node_modules/mdast-util-to-markdown/lib/util/check-rule-repetition.mjs +9 -0
  277. package/dist/es/node_modules/mdast-util-to-markdown/lib/util/check-rule.mjs +9 -0
  278. package/dist/es/node_modules/mdast-util-to-markdown/lib/util/check-strong.mjs +9 -0
  279. package/dist/es/node_modules/mdast-util-to-markdown/lib/util/encode-character-reference.mjs +6 -0
  280. package/dist/es/node_modules/mdast-util-to-markdown/lib/util/encode-info.mjs +67 -0
  281. package/dist/es/node_modules/mdast-util-to-markdown/lib/util/format-code-as-indented.mjs +9 -0
  282. package/dist/es/node_modules/mdast-util-to-markdown/lib/util/format-heading-as-setext.mjs +13 -0
  283. package/dist/es/node_modules/mdast-util-to-markdown/lib/util/format-link-as-autolink.mjs +15 -0
  284. package/dist/es/node_modules/mdast-util-to-markdown/lib/util/pattern-in-scope.mjs +15 -0
  285. package/dist/es/node_modules/mdast-util-to-markdown/node_modules/unist-util-visit/lib/index.mjs +16 -0
  286. package/dist/es/node_modules/mdast-util-to-string/lib/index.mjs +29 -0
  287. package/dist/es/node_modules/micromark/lib/constructs.mjs +85 -0
  288. package/dist/es/node_modules/micromark/lib/create-tokenizer.mjs +225 -0
  289. package/dist/es/node_modules/micromark/lib/initialize/content.mjs +37 -0
  290. package/dist/es/node_modules/micromark/lib/initialize/document.mjs +133 -0
  291. package/dist/es/node_modules/micromark/lib/initialize/flow.mjs +33 -0
  292. package/dist/es/node_modules/micromark/lib/initialize/text.mjs +103 -0
  293. package/dist/es/node_modules/micromark/lib/parse.mjs +32 -0
  294. package/dist/es/node_modules/micromark/lib/postprocess.mjs +9 -0
  295. package/dist/es/node_modules/micromark/lib/preprocess.mjs +40 -0
  296. package/dist/es/node_modules/micromark-core-commonmark/lib/attention.mjs +74 -0
  297. package/dist/es/node_modules/micromark-core-commonmark/lib/autolink.mjs +43 -0
  298. package/dist/es/node_modules/micromark-core-commonmark/lib/blank-line.mjs +18 -0
  299. package/dist/es/node_modules/micromark-core-commonmark/lib/block-quote.mjs +42 -0
  300. package/dist/es/node_modules/micromark-core-commonmark/lib/character-escape.mjs +17 -0
  301. package/dist/es/node_modules/micromark-core-commonmark/lib/character-reference.mjs +30 -0
  302. package/dist/es/node_modules/micromark-core-commonmark/lib/code-fenced.mjs +94 -0
  303. package/dist/es/node_modules/micromark-core-commonmark/lib/code-indented.mjs +43 -0
  304. package/dist/es/node_modules/micromark-core-commonmark/lib/code-text.mjs +45 -0
  305. package/dist/es/node_modules/micromark-core-commonmark/lib/content.mjs +50 -0
  306. package/dist/es/node_modules/micromark-core-commonmark/lib/definition.mjs +80 -0
  307. package/dist/es/node_modules/micromark-core-commonmark/lib/hard-break-escape.mjs +17 -0
  308. package/dist/es/node_modules/micromark-core-commonmark/lib/heading-atx.mjs +46 -0
  309. package/dist/es/node_modules/micromark-core-commonmark/lib/html-flow.mjs +144 -0
  310. package/dist/es/node_modules/micromark-core-commonmark/lib/html-text.mjs +102 -0
  311. package/dist/es/node_modules/micromark-core-commonmark/lib/label-end.mjs +152 -0
  312. package/dist/es/node_modules/micromark-core-commonmark/lib/label-start-image.mjs +22 -0
  313. package/dist/es/node_modules/micromark-core-commonmark/lib/label-start-link.mjs +19 -0
  314. package/dist/es/node_modules/micromark-core-commonmark/lib/line-ending.mjs +14 -0
  315. package/dist/es/node_modules/micromark-core-commonmark/lib/list.mjs +90 -0
  316. package/dist/es/node_modules/micromark-core-commonmark/lib/setext-underline.mjs +62 -0
  317. package/dist/es/node_modules/micromark-core-commonmark/lib/thematic-break.mjs +25 -0
  318. package/dist/es/node_modules/micromark-extension-gfm/index.mjs +12 -0
  319. package/dist/es/node_modules/micromark-extension-gfm-autolink-literal/lib/syntax.mjs +193 -0
  320. package/dist/es/node_modules/micromark-extension-gfm-footnote/lib/syntax.mjs +192 -0
  321. package/dist/es/node_modules/micromark-extension-gfm-strikethrough/lib/syntax.mjs +68 -0
  322. package/dist/es/node_modules/micromark-extension-gfm-table/lib/edit-map.mjs +71 -0
  323. package/dist/es/node_modules/micromark-extension-gfm-table/lib/infer.mjs +24 -0
  324. package/dist/es/node_modules/micromark-extension-gfm-table/lib/syntax.mjs +147 -0
  325. package/dist/es/node_modules/micromark-extension-gfm-task-list-item/lib/syntax.mjs +45 -0
  326. package/dist/es/node_modules/micromark-extension-math/lib/math-flow.mjs +76 -0
  327. package/dist/es/node_modules/micromark-extension-math/lib/math-text.mjs +48 -0
  328. package/dist/es/node_modules/micromark-extension-math/lib/syntax.mjs +15 -0
  329. package/dist/es/node_modules/micromark-factory-destination/index.mjs +31 -0
  330. package/dist/es/node_modules/micromark-factory-label/index.mjs +28 -0
  331. package/dist/es/node_modules/micromark-factory-space/index.mjs +15 -0
  332. package/dist/es/node_modules/micromark-factory-title/index.mjs +26 -0
  333. package/dist/es/node_modules/micromark-factory-whitespace/index.mjs +12 -0
  334. package/dist/es/node_modules/micromark-util-character/index.mjs +39 -0
  335. package/dist/es/node_modules/micromark-util-chunked/index.mjs +16 -0
  336. package/dist/es/node_modules/micromark-util-classify-character/index.mjs +10 -0
  337. package/dist/es/node_modules/micromark-util-combine-extensions/index.mjs +36 -0
  338. package/dist/es/node_modules/micromark-util-decode-numeric-character-reference/index.mjs +16 -0
  339. package/dist/es/node_modules/micromark-util-decode-string/index.mjs +18 -0
  340. package/dist/es/node_modules/micromark-util-html-tag-name/index.mjs +5 -0
  341. package/dist/es/node_modules/micromark-util-normalize-identifier/index.mjs +6 -0
  342. package/dist/es/node_modules/micromark-util-resolve-all/index.mjs +12 -0
  343. package/dist/es/node_modules/micromark-util-sanitize-uri/index.mjs +23 -0
  344. package/dist/es/node_modules/micromark-util-subtokenize/index.mjs +65 -0
  345. package/dist/es/node_modules/micromark-util-subtokenize/lib/splice-buffer.mjs +175 -0
  346. package/dist/es/node_modules/moment/dist/moment.mjs +2301 -0
  347. package/dist/es/node_modules/parse-entities/decode-entity.browser.mjs +8 -0
  348. package/dist/es/node_modules/parse-entities/index.mjs +83 -0
  349. package/dist/es/node_modules/parse-entities/node_modules/character-entities-legacy/index.json.mjs +217 -0
  350. package/dist/es/node_modules/property-information/find.mjs +25 -0
  351. package/dist/es/node_modules/property-information/html.mjs +10 -0
  352. package/dist/es/node_modules/property-information/lib/aria.mjs +63 -0
  353. package/dist/es/node_modules/property-information/lib/html.mjs +354 -0
  354. package/dist/es/node_modules/property-information/lib/util/case-insensitive-transform.mjs +8 -0
  355. package/dist/es/node_modules/property-information/lib/util/case-sensitive-transform.mjs +7 -0
  356. package/dist/es/node_modules/property-information/lib/util/create.mjs +13 -0
  357. package/dist/es/node_modules/property-information/lib/util/defined-info.mjs +18 -0
  358. package/dist/es/node_modules/property-information/lib/util/info.mjs +19 -0
  359. package/dist/es/node_modules/property-information/lib/util/merge.mjs +11 -0
  360. package/dist/es/node_modules/property-information/lib/util/schema.mjs +10 -0
  361. package/dist/es/node_modules/property-information/lib/util/types.mjs +15 -0
  362. package/dist/es/node_modules/property-information/lib/xlink.mjs +20 -0
  363. package/dist/es/node_modules/property-information/lib/xml.mjs +16 -0
  364. package/dist/es/node_modules/property-information/lib/xmlns.mjs +16 -0
  365. package/dist/es/node_modules/property-information/normalize.mjs +7 -0
  366. package/dist/es/node_modules/react-device-detect/dist/lib.mjs +723 -0
  367. package/dist/es/node_modules/react-markdown/lib/index.mjs +153 -0
  368. package/dist/es/node_modules/react-markdown/node_modules/remark-parse/lib/index.mjs +29 -0
  369. package/dist/es/node_modules/react-markdown/node_modules/unist-util-visit/lib/index.mjs +16 -0
  370. package/dist/es/node_modules/react-syntax-highlighter/dist/esm/checkForListedLanguage.mjs +7 -0
  371. package/dist/es/node_modules/react-syntax-highlighter/dist/esm/create-element.mjs +101 -0
  372. package/dist/es/node_modules/react-syntax-highlighter/dist/esm/highlight.mjs +283 -0
  373. package/dist/es/node_modules/react-syntax-highlighter/dist/esm/languages/prism/supported-languages.mjs +4 -0
  374. package/dist/es/node_modules/react-syntax-highlighter/dist/esm/prism.mjs +10 -0
  375. package/dist/es/node_modules/react-syntax-highlighter/dist/esm/styles/prism/prism.mjs +195 -0
  376. package/dist/es/node_modules/refractor/core.mjs +111 -0
  377. package/dist/es/node_modules/refractor/index.mjs +553 -0
  378. package/dist/es/node_modules/refractor/lang/abap.mjs +60 -0
  379. package/dist/es/node_modules/refractor/lang/abnf.mjs +63 -0
  380. package/dist/es/node_modules/refractor/lang/actionscript.mjs +22 -0
  381. package/dist/es/node_modules/refractor/lang/ada.mjs +28 -0
  382. package/dist/es/node_modules/refractor/lang/agda.mjs +35 -0
  383. package/dist/es/node_modules/refractor/lang/al.mjs +35 -0
  384. package/dist/es/node_modules/refractor/lang/antlr4.mjs +72 -0
  385. package/dist/es/node_modules/refractor/lang/apacheconf.mjs +59 -0
  386. package/dist/es/node_modules/refractor/lang/apex.mjs +69 -0
  387. package/dist/es/node_modules/refractor/lang/apl.mjs +44 -0
  388. package/dist/es/node_modules/refractor/lang/applescript.mjs +26 -0
  389. package/dist/es/node_modules/refractor/lang/aql.mjs +57 -0
  390. package/dist/es/node_modules/refractor/lang/arduino.mjs +20 -0
  391. package/dist/es/node_modules/refractor/lang/arff.mjs +22 -0
  392. package/dist/es/node_modules/refractor/lang/asciidoc.mjs +208 -0
  393. package/dist/es/node_modules/refractor/lang/asm6502.mjs +41 -0
  394. package/dist/es/node_modules/refractor/lang/asmatmel.mjs +53 -0
  395. package/dist/es/node_modules/refractor/lang/aspnet.mjs +53 -0
  396. package/dist/es/node_modules/refractor/lang/autohotkey.mjs +40 -0
  397. package/dist/es/node_modules/refractor/lang/autoit.mjs +43 -0
  398. package/dist/es/node_modules/refractor/lang/avisynth.mjs +167 -0
  399. package/dist/es/node_modules/refractor/lang/avro-idl.mjs +50 -0
  400. package/dist/es/node_modules/refractor/lang/bash.mjs +206 -0
  401. package/dist/es/node_modules/refractor/lang/basic.mjs +29 -0
  402. package/dist/es/node_modules/refractor/lang/batch.mjs +95 -0
  403. package/dist/es/node_modules/refractor/lang/bbcode.mjs +36 -0
  404. package/dist/es/node_modules/refractor/lang/bicep.mjs +72 -0
  405. package/dist/es/node_modules/refractor/lang/birb.mjs +32 -0
  406. package/dist/es/node_modules/refractor/lang/bison.mjs +52 -0
  407. package/dist/es/node_modules/refractor/lang/bnf.mjs +31 -0
  408. package/dist/es/node_modules/refractor/lang/brainfuck.mjs +32 -0
  409. package/dist/es/node_modules/refractor/lang/brightscript.mjs +55 -0
  410. package/dist/es/node_modules/refractor/lang/bro.mjs +39 -0
  411. package/dist/es/node_modules/refractor/lang/bsl.mjs +77 -0
  412. package/dist/es/node_modules/refractor/lang/c.mjs +78 -0
  413. package/dist/es/node_modules/refractor/lang/cfscript.mjs +44 -0
  414. package/dist/es/node_modules/refractor/lang/chaiscript.mjs +65 -0
  415. package/dist/es/node_modules/refractor/lang/cil.mjs +31 -0
  416. package/dist/es/node_modules/refractor/lang/clike.mjs +36 -0
  417. package/dist/es/node_modules/refractor/lang/clojure.mjs +42 -0
  418. package/dist/es/node_modules/refractor/lang/cmake.mjs +41 -0
  419. package/dist/es/node_modules/refractor/lang/cobol.mjs +58 -0
  420. package/dist/es/node_modules/refractor/lang/coffeescript.mjs +86 -0
  421. package/dist/es/node_modules/refractor/lang/concurnas.mjs +69 -0
  422. package/dist/es/node_modules/refractor/lang/coq.mjs +52 -0
  423. package/dist/es/node_modules/refractor/lang/cpp.mjs +98 -0
  424. package/dist/es/node_modules/refractor/lang/crystal.mjs +63 -0
  425. package/dist/es/node_modules/refractor/lang/csharp.mjs +277 -0
  426. package/dist/es/node_modules/refractor/lang/cshtml.mjs +104 -0
  427. package/dist/es/node_modules/refractor/lang/csp.mjs +61 -0
  428. package/dist/es/node_modules/refractor/lang/css-extras.mjs +109 -0
  429. package/dist/es/node_modules/refractor/lang/css.mjs +63 -0
  430. package/dist/es/node_modules/refractor/lang/csv.mjs +16 -0
  431. package/dist/es/node_modules/refractor/lang/cypher.mjs +44 -0
  432. package/dist/es/node_modules/refractor/lang/d.mjs +77 -0
  433. package/dist/es/node_modules/refractor/lang/dart.mjs +72 -0
  434. package/dist/es/node_modules/refractor/lang/dataweave.mjs +49 -0
  435. package/dist/es/node_modules/refractor/lang/dax.mjs +39 -0
  436. package/dist/es/node_modules/refractor/lang/dhall.mjs +74 -0
  437. package/dist/es/node_modules/refractor/lang/diff.mjs +54 -0
  438. package/dist/es/node_modules/refractor/lang/django.mjs +60 -0
  439. package/dist/es/node_modules/refractor/lang/dns-zone-file.mjs +40 -0
  440. package/dist/es/node_modules/refractor/lang/docker.mjs +83 -0
  441. package/dist/es/node_modules/refractor/lang/dot.mjs +75 -0
  442. package/dist/es/node_modules/refractor/lang/ebnf.mjs +32 -0
  443. package/dist/es/node_modules/refractor/lang/editorconfig.mjs +39 -0
  444. package/dist/es/node_modules/refractor/lang/eiffel.mjs +46 -0
  445. package/dist/es/node_modules/refractor/lang/ejs.mjs +33 -0
  446. package/dist/es/node_modules/refractor/lang/elixir.mjs +100 -0
  447. package/dist/es/node_modules/refractor/lang/elm.mjs +54 -0
  448. package/dist/es/node_modules/refractor/lang/erb.mjs +35 -0
  449. package/dist/es/node_modules/refractor/lang/erlang.mjs +47 -0
  450. package/dist/es/node_modules/refractor/lang/etlua.mjs +33 -0
  451. package/dist/es/node_modules/refractor/lang/excel-formula.mjs +74 -0
  452. package/dist/es/node_modules/refractor/lang/factor.mjs +569 -0
  453. package/dist/es/node_modules/refractor/lang/false.mjs +39 -0
  454. package/dist/es/node_modules/refractor/lang/firestore-security-rules.mjs +43 -0
  455. package/dist/es/node_modules/refractor/lang/flow.mjs +31 -0
  456. package/dist/es/node_modules/refractor/lang/fortran.mjs +49 -0
  457. package/dist/es/node_modules/refractor/lang/fsharp.mjs +76 -0
  458. package/dist/es/node_modules/refractor/lang/ftl.mjs +102 -0
  459. package/dist/es/node_modules/refractor/lang/gap.mjs +57 -0
  460. package/dist/es/node_modules/refractor/lang/gcode.mjs +28 -0
  461. package/dist/es/node_modules/refractor/lang/gdscript.mjs +36 -0
  462. package/dist/es/node_modules/refractor/lang/gedcom.mjs +40 -0
  463. package/dist/es/node_modules/refractor/lang/gherkin.mjs +94 -0
  464. package/dist/es/node_modules/refractor/lang/git.mjs +75 -0
  465. package/dist/es/node_modules/refractor/lang/glsl.mjs +18 -0
  466. package/dist/es/node_modules/refractor/lang/gml.mjs +19 -0
  467. package/dist/es/node_modules/refractor/lang/gn.mjs +55 -0
  468. package/dist/es/node_modules/refractor/lang/go-module.mjs +34 -0
  469. package/dist/es/node_modules/refractor/lang/go.mjs +36 -0
  470. package/dist/es/node_modules/refractor/lang/graphql.mjs +133 -0
  471. package/dist/es/node_modules/refractor/lang/groovy.mjs +58 -0
  472. package/dist/es/node_modules/refractor/lang/haml.mjs +132 -0
  473. package/dist/es/node_modules/refractor/lang/handlebars.mjs +46 -0
  474. package/dist/es/node_modules/refractor/lang/haskell.mjs +76 -0
  475. package/dist/es/node_modules/refractor/lang/haxe.mjs +84 -0
  476. package/dist/es/node_modules/refractor/lang/hcl.mjs +68 -0
  477. package/dist/es/node_modules/refractor/lang/hlsl.mjs +31 -0
  478. package/dist/es/node_modules/refractor/lang/hoon.mjs +26 -0
  479. package/dist/es/node_modules/refractor/lang/hpkp.mjs +20 -0
  480. package/dist/es/node_modules/refractor/lang/hsts.mjs +20 -0
  481. package/dist/es/node_modules/refractor/lang/http.mjs +126 -0
  482. package/dist/es/node_modules/refractor/lang/ichigojam.mjs +25 -0
  483. package/dist/es/node_modules/refractor/lang/icon.mjs +32 -0
  484. package/dist/es/node_modules/refractor/lang/icu-message-format.mjs +136 -0
  485. package/dist/es/node_modules/refractor/lang/idris.mjs +30 -0
  486. package/dist/es/node_modules/refractor/lang/iecst.mjs +38 -0
  487. package/dist/es/node_modules/refractor/lang/ignore.mjs +30 -0
  488. package/dist/es/node_modules/refractor/lang/inform7.mjs +69 -0
  489. package/dist/es/node_modules/refractor/lang/ini.mjs +52 -0
  490. package/dist/es/node_modules/refractor/lang/io.mjs +34 -0
  491. package/dist/es/node_modules/refractor/lang/j.mjs +40 -0
  492. package/dist/es/node_modules/refractor/lang/java.mjs +86 -0
  493. package/dist/es/node_modules/refractor/lang/javadoc.mjs +89 -0
  494. package/dist/es/node_modules/refractor/lang/javadoclike.mjs +60 -0
  495. package/dist/es/node_modules/refractor/lang/javascript.mjs +114 -0
  496. package/dist/es/node_modules/refractor/lang/javastacktrace.mjs +146 -0
  497. package/dist/es/node_modules/refractor/lang/jexl.mjs +26 -0
  498. package/dist/es/node_modules/refractor/lang/jolie.mjs +51 -0
  499. package/dist/es/node_modules/refractor/lang/jq.mjs +71 -0
  500. package/dist/es/node_modules/refractor/lang/js-extras.mjs +104 -0
  501. package/dist/es/node_modules/refractor/lang/js-templates.mjs +153 -0
  502. package/dist/es/node_modules/refractor/lang/jsdoc.mjs +83 -0
  503. package/dist/es/node_modules/refractor/lang/json.mjs +36 -0
  504. package/dist/es/node_modules/refractor/lang/json5.mjs +32 -0
  505. package/dist/es/node_modules/refractor/lang/jsonp.mjs +20 -0
  506. package/dist/es/node_modules/refractor/lang/jsstacktrace.mjs +53 -0
  507. package/dist/es/node_modules/refractor/lang/jsx.mjs +61 -0
  508. package/dist/es/node_modules/refractor/lang/julia.mjs +47 -0
  509. package/dist/es/node_modules/refractor/lang/keepalived.mjs +54 -0
  510. package/dist/es/node_modules/refractor/lang/keyman.mjs +55 -0
  511. package/dist/es/node_modules/refractor/lang/kotlin.mjs +81 -0
  512. package/dist/es/node_modules/refractor/lang/kumir.mjs +85 -0
  513. package/dist/es/node_modules/refractor/lang/kusto.mjs +47 -0
  514. package/dist/es/node_modules/refractor/lang/latex.mjs +68 -0
  515. package/dist/es/node_modules/refractor/lang/latte.mjs +68 -0
  516. package/dist/es/node_modules/refractor/lang/less.mjs +51 -0
  517. package/dist/es/node_modules/refractor/lang/lilypond.mjs +77 -0
  518. package/dist/es/node_modules/refractor/lang/liquid.mjs +68 -0
  519. package/dist/es/node_modules/refractor/lang/lisp.mjs +158 -0
  520. package/dist/es/node_modules/refractor/lang/livescript.mjs +119 -0
  521. package/dist/es/node_modules/refractor/lang/llvm.mjs +31 -0
  522. package/dist/es/node_modules/refractor/lang/log.mjs +103 -0
  523. package/dist/es/node_modules/refractor/lang/lolcode.mjs +57 -0
  524. package/dist/es/node_modules/refractor/lang/lua.mjs +29 -0
  525. package/dist/es/node_modules/refractor/lang/magma.mjs +42 -0
  526. package/dist/es/node_modules/refractor/lang/makefile.mjs +42 -0
  527. package/dist/es/node_modules/refractor/lang/markdown.mjs +306 -0
  528. package/dist/es/node_modules/refractor/lang/markup-templating.mjs +74 -0
  529. package/dist/es/node_modules/refractor/lang/markup.mjs +154 -0
  530. package/dist/es/node_modules/refractor/lang/matlab.mjs +25 -0
  531. package/dist/es/node_modules/refractor/lang/maxscript.mjs +70 -0
  532. package/dist/es/node_modules/refractor/lang/mel.mjs +49 -0
  533. package/dist/es/node_modules/refractor/lang/mermaid.mjs +116 -0
  534. package/dist/es/node_modules/refractor/lang/mizar.mjs +24 -0
  535. package/dist/es/node_modules/refractor/lang/mongodb.mjs +287 -0
  536. package/dist/es/node_modules/refractor/lang/monkey.mjs +40 -0
  537. package/dist/es/node_modules/refractor/lang/moonscript.mjs +63 -0
  538. package/dist/es/node_modules/refractor/lang/n1ql.mjs +34 -0
  539. package/dist/es/node_modules/refractor/lang/n4js.mjs +22 -0
  540. package/dist/es/node_modules/refractor/lang/nand2tetris-hdl.mjs +21 -0
  541. package/dist/es/node_modules/refractor/lang/naniscript.mjs +140 -0
  542. package/dist/es/node_modules/refractor/lang/nasm.mjs +31 -0
  543. package/dist/es/node_modules/refractor/lang/neon.mjs +52 -0
  544. package/dist/es/node_modules/refractor/lang/nevod.mjs +125 -0
  545. package/dist/es/node_modules/refractor/lang/nginx.mjs +61 -0
  546. package/dist/es/node_modules/refractor/lang/nim.mjs +54 -0
  547. package/dist/es/node_modules/refractor/lang/nix.mjs +45 -0
  548. package/dist/es/node_modules/refractor/lang/nsis.mjs +37 -0
  549. package/dist/es/node_modules/refractor/lang/objectivec.mjs +23 -0
  550. package/dist/es/node_modules/refractor/lang/ocaml.mjs +64 -0
  551. package/dist/es/node_modules/refractor/lang/opencl.mjs +62 -0
  552. package/dist/es/node_modules/refractor/lang/openqasm.mjs +29 -0
  553. package/dist/es/node_modules/refractor/lang/oz.mjs +37 -0
  554. package/dist/es/node_modules/refractor/lang/parigp.mjs +36 -0
  555. package/dist/es/node_modules/refractor/lang/parser.mjs +80 -0
  556. package/dist/es/node_modules/refractor/lang/pascal.mjs +66 -0
  557. package/dist/es/node_modules/refractor/lang/pascaligo.mjs +70 -0
  558. package/dist/es/node_modules/refractor/lang/pcaxis.mjs +63 -0
  559. package/dist/es/node_modules/refractor/lang/peoplecode.mjs +51 -0
  560. package/dist/es/node_modules/refractor/lang/perl.mjs +134 -0
  561. package/dist/es/node_modules/refractor/lang/php-extras.mjs +29 -0
  562. package/dist/es/node_modules/refractor/lang/php.mjs +301 -0
  563. package/dist/es/node_modules/refractor/lang/phpdoc.mjs +34 -0
  564. package/dist/es/node_modules/refractor/lang/plsql.mjs +30 -0
  565. package/dist/es/node_modules/refractor/lang/powerquery.mjs +44 -0
  566. package/dist/es/node_modules/refractor/lang/powershell.mjs +58 -0
  567. package/dist/es/node_modules/refractor/lang/processing.mjs +25 -0
  568. package/dist/es/node_modules/refractor/lang/prolog.mjs +31 -0
  569. package/dist/es/node_modules/refractor/lang/promql.mjs +74 -0
  570. package/dist/es/node_modules/refractor/lang/properties.mjs +21 -0
  571. package/dist/es/node_modules/refractor/lang/protobuf.mjs +47 -0
  572. package/dist/es/node_modules/refractor/lang/psl.mjs +47 -0
  573. package/dist/es/node_modules/refractor/lang/pug.mjs +173 -0
  574. package/dist/es/node_modules/refractor/lang/puppet.mjs +140 -0
  575. package/dist/es/node_modules/refractor/lang/pure.mjs +72 -0
  576. package/dist/es/node_modules/refractor/lang/purebasic.mjs +63 -0
  577. package/dist/es/node_modules/refractor/lang/purescript.mjs +41 -0
  578. package/dist/es/node_modules/refractor/lang/python.mjs +73 -0
  579. package/dist/es/node_modules/refractor/lang/q.mjs +62 -0
  580. package/dist/es/node_modules/refractor/lang/qml.mjs +67 -0
  581. package/dist/es/node_modules/refractor/lang/qore.mjs +32 -0
  582. package/dist/es/node_modules/refractor/lang/qsharp.mjs +93 -0
  583. package/dist/es/node_modules/refractor/lang/r.mjs +31 -0
  584. package/dist/es/node_modules/refractor/lang/racket.mjs +29 -0
  585. package/dist/es/node_modules/refractor/lang/reason.mjs +33 -0
  586. package/dist/es/node_modules/refractor/lang/regex.mjs +97 -0
  587. package/dist/es/node_modules/refractor/lang/rego.mjs +37 -0
  588. package/dist/es/node_modules/refractor/lang/renpy.mjs +30 -0
  589. package/dist/es/node_modules/refractor/lang/rest.mjs +199 -0
  590. package/dist/es/node_modules/refractor/lang/rip.mjs +41 -0
  591. package/dist/es/node_modules/refractor/lang/roboconf.mjs +39 -0
  592. package/dist/es/node_modules/refractor/lang/robotframework.mjs +95 -0
  593. package/dist/es/node_modules/refractor/lang/ruby.mjs +159 -0
  594. package/dist/es/node_modules/refractor/lang/rust.mjs +122 -0
  595. package/dist/es/node_modules/refractor/lang/sas.mjs +305 -0
  596. package/dist/es/node_modules/refractor/lang/sass.mjs +69 -0
  597. package/dist/es/node_modules/refractor/lang/scala.mjs +59 -0
  598. package/dist/es/node_modules/refractor/lang/scheme.mjs +120 -0
  599. package/dist/es/node_modules/refractor/lang/scss.mjs +82 -0
  600. package/dist/es/node_modules/refractor/lang/shell-session.mjs +69 -0
  601. package/dist/es/node_modules/refractor/lang/smali.mjs +84 -0
  602. package/dist/es/node_modules/refractor/lang/smalltalk.mjs +47 -0
  603. package/dist/es/node_modules/refractor/lang/smarty.mjs +106 -0
  604. package/dist/es/node_modules/refractor/lang/sml.mjs +64 -0
  605. package/dist/es/node_modules/refractor/lang/solidity.mjs +28 -0
  606. package/dist/es/node_modules/refractor/lang/solution-file.mjs +58 -0
  607. package/dist/es/node_modules/refractor/lang/soy.mjs +77 -0
  608. package/dist/es/node_modules/refractor/lang/sparql.mjs +24 -0
  609. package/dist/es/node_modules/refractor/lang/splunk-spl.mjs +36 -0
  610. package/dist/es/node_modules/refractor/lang/sqf.mjs +42 -0
  611. package/dist/es/node_modules/refractor/lang/sql.mjs +42 -0
  612. package/dist/es/node_modules/refractor/lang/squirrel.mjs +50 -0
  613. package/dist/es/node_modules/refractor/lang/stan.mjs +63 -0
  614. package/dist/es/node_modules/refractor/lang/stylus.mjs +141 -0
  615. package/dist/es/node_modules/refractor/lang/swift.mjs +125 -0
  616. package/dist/es/node_modules/refractor/lang/systemd.mjs +65 -0
  617. package/dist/es/node_modules/refractor/lang/t4-cs.mjs +17 -0
  618. package/dist/es/node_modules/refractor/lang/t4-templating.mjs +57 -0
  619. package/dist/es/node_modules/refractor/lang/t4-vb.mjs +17 -0
  620. package/dist/es/node_modules/refractor/lang/tap.mjs +35 -0
  621. package/dist/es/node_modules/refractor/lang/tcl.mjs +51 -0
  622. package/dist/es/node_modules/refractor/lang/textile.mjs +248 -0
  623. package/dist/es/node_modules/refractor/lang/toml.mjs +54 -0
  624. package/dist/es/node_modules/refractor/lang/tremor.mjs +67 -0
  625. package/dist/es/node_modules/refractor/lang/tsx.mjs +22 -0
  626. package/dist/es/node_modules/refractor/lang/tt2.mjs +53 -0
  627. package/dist/es/node_modules/refractor/lang/turtle.mjs +62 -0
  628. package/dist/es/node_modules/refractor/lang/twig.mjs +48 -0
  629. package/dist/es/node_modules/refractor/lang/typescript.mjs +57 -0
  630. package/dist/es/node_modules/refractor/lang/typoscript.mjs +81 -0
  631. package/dist/es/node_modules/refractor/lang/unrealscript.mjs +50 -0
  632. package/dist/es/node_modules/refractor/lang/uorazor.mjs +57 -0
  633. package/dist/es/node_modules/refractor/lang/uri.mjs +92 -0
  634. package/dist/es/node_modules/refractor/lang/v.mjs +85 -0
  635. package/dist/es/node_modules/refractor/lang/vala.mjs +87 -0
  636. package/dist/es/node_modules/refractor/lang/vbnet.mjs +34 -0
  637. package/dist/es/node_modules/refractor/lang/velocity.mjs +75 -0
  638. package/dist/es/node_modules/refractor/lang/verilog.mjs +38 -0
  639. package/dist/es/node_modules/refractor/lang/vhdl.mjs +35 -0
  640. package/dist/es/node_modules/refractor/lang/vim.mjs +22 -0
  641. package/dist/es/node_modules/refractor/lang/visual-basic.mjs +38 -0
  642. package/dist/es/node_modules/refractor/lang/warpscript.mjs +33 -0
  643. package/dist/es/node_modules/refractor/lang/wasm.mjs +36 -0
  644. package/dist/es/node_modules/refractor/lang/web-idl.mjs +89 -0
  645. package/dist/es/node_modules/refractor/lang/wiki.mjs +86 -0
  646. package/dist/es/node_modules/refractor/lang/wolfram.mjs +37 -0
  647. package/dist/es/node_modules/refractor/lang/wren.mjs +97 -0
  648. package/dist/es/node_modules/refractor/lang/xeora.mjs +121 -0
  649. package/dist/es/node_modules/refractor/lang/xml-doc.mjs +35 -0
  650. package/dist/es/node_modules/refractor/lang/xojo.mjs +30 -0
  651. package/dist/es/node_modules/refractor/lang/xquery.mjs +89 -0
  652. package/dist/es/node_modules/refractor/lang/yaml.mjs +78 -0
  653. package/dist/es/node_modules/refractor/lang/yang.mjs +32 -0
  654. package/dist/es/node_modules/refractor/lang/zig.mjs +80 -0
  655. package/dist/es/node_modules/refractor/node_modules/comma-separated-tokens/index.mjs +16 -0
  656. package/dist/es/node_modules/refractor/node_modules/hastscript/factory.mjs +77 -0
  657. package/dist/es/node_modules/refractor/node_modules/hastscript/html.mjs +8 -0
  658. package/dist/es/node_modules/refractor/node_modules/hastscript/index.mjs +5 -0
  659. package/dist/es/node_modules/refractor/node_modules/prismjs/components/prism-core.mjs +720 -0
  660. package/dist/es/node_modules/refractor/node_modules/space-separated-tokens/index.mjs +14 -0
  661. package/dist/es/node_modules/rehype-external-links/lib/index.mjs +34 -0
  662. package/dist/es/node_modules/rehype-external-links/node_modules/is-absolute-url/index.mjs +9 -0
  663. package/dist/es/node_modules/rehype-external-links/node_modules/unist-util-visit/lib/index.mjs +16 -0
  664. package/dist/es/node_modules/rehype-katex/lib/index.mjs +83 -0
  665. package/dist/es/node_modules/rehype-raw/lib/index.mjs +26 -0
  666. package/dist/es/node_modules/rehype-raw/node_modules/entities/dist/esm/decode-codepoint.mjs +38 -0
  667. package/dist/es/node_modules/rehype-raw/node_modules/entities/dist/esm/decode.mjs +251 -0
  668. package/dist/es/node_modules/rehype-raw/node_modules/entities/dist/esm/generated/decode-data-html.mjs +7 -0
  669. package/dist/es/node_modules/rehype-raw/node_modules/hast-util-raw/lib/index.mjs +249 -0
  670. package/dist/es/node_modules/rehype-raw/node_modules/hast-util-to-parse5/lib/index.mjs +125 -0
  671. package/dist/es/node_modules/rehype-raw/node_modules/html-void-elements/index.mjs +4 -0
  672. package/dist/es/node_modules/rehype-raw/node_modules/parse5/dist/common/doctype.mjs +34 -0
  673. package/dist/es/node_modules/rehype-raw/node_modules/parse5/dist/common/error-codes.mjs +7 -0
  674. package/dist/es/node_modules/rehype-raw/node_modules/parse5/dist/common/foreign-content.mjs +103 -0
  675. package/dist/es/node_modules/rehype-raw/node_modules/parse5/dist/common/html.mjs +44 -0
  676. package/dist/es/node_modules/rehype-raw/node_modules/parse5/dist/common/token.mjs +14 -0
  677. package/dist/es/node_modules/rehype-raw/node_modules/parse5/dist/common/unicode.mjs +38 -0
  678. package/dist/es/node_modules/rehype-raw/node_modules/parse5/dist/parser/formatting-element-list.mjs +91 -0
  679. package/dist/es/node_modules/rehype-raw/node_modules/parse5/dist/parser/index.mjs +2308 -0
  680. package/dist/es/node_modules/rehype-raw/node_modules/parse5/dist/parser/open-element-stack.mjs +220 -0
  681. package/dist/es/node_modules/rehype-raw/node_modules/parse5/dist/serializer/index.mjs +2 -0
  682. package/dist/es/node_modules/rehype-raw/node_modules/parse5/dist/tokenizer/index.mjs +1948 -0
  683. package/dist/es/node_modules/rehype-raw/node_modules/parse5/dist/tokenizer/preprocessor.mjs +92 -0
  684. package/dist/es/node_modules/rehype-raw/node_modules/parse5/dist/tree-adapters/default.mjs +173 -0
  685. package/dist/es/node_modules/rehype-raw/node_modules/property-information/index.mjs +12 -0
  686. package/dist/es/node_modules/rehype-raw/node_modules/property-information/lib/aria.mjs +61 -0
  687. package/dist/es/node_modules/rehype-raw/node_modules/property-information/lib/find.mjs +33 -0
  688. package/dist/es/node_modules/rehype-raw/node_modules/property-information/lib/html.mjs +368 -0
  689. package/dist/es/node_modules/rehype-raw/node_modules/property-information/lib/normalize.mjs +6 -0
  690. package/dist/es/node_modules/rehype-raw/node_modules/property-information/lib/svg.mjs +566 -0
  691. package/dist/es/node_modules/rehype-raw/node_modules/property-information/lib/util/case-insensitive-transform.mjs +7 -0
  692. package/dist/es/node_modules/rehype-raw/node_modules/property-information/lib/util/case-sensitive-transform.mjs +6 -0
  693. package/dist/es/node_modules/rehype-raw/node_modules/property-information/lib/util/create.mjs +17 -0
  694. package/dist/es/node_modules/rehype-raw/node_modules/property-information/lib/util/defined-info.mjs +27 -0
  695. package/dist/es/node_modules/rehype-raw/node_modules/property-information/lib/util/info.mjs +23 -0
  696. package/dist/es/node_modules/rehype-raw/node_modules/property-information/lib/util/merge.mjs +11 -0
  697. package/dist/es/node_modules/rehype-raw/node_modules/property-information/lib/util/schema.mjs +17 -0
  698. package/dist/es/node_modules/rehype-raw/node_modules/property-information/lib/util/types.mjs +15 -0
  699. package/dist/es/node_modules/rehype-raw/node_modules/property-information/lib/xlink.mjs +19 -0
  700. package/dist/es/node_modules/rehype-raw/node_modules/property-information/lib/xml.mjs +15 -0
  701. package/dist/es/node_modules/rehype-raw/node_modules/property-information/lib/xmlns.mjs +16 -0
  702. package/dist/es/node_modules/rehype-raw/node_modules/unist-util-visit/lib/index.mjs +16 -0
  703. package/dist/es/node_modules/rehype-raw/node_modules/web-namespaces/index.mjs +11 -0
  704. package/dist/es/node_modules/remark-gfm/lib/index.mjs +13 -0
  705. package/dist/es/node_modules/remark-math/lib/index.mjs +13 -0
  706. package/dist/es/node_modules/remark-rehype/lib/index.mjs +51 -0
  707. package/dist/es/node_modules/space-separated-tokens/index.mjs +11 -0
  708. package/dist/es/node_modules/style-to-js/cjs/index.mjs +22 -0
  709. package/dist/es/node_modules/style-to-js/cjs/utilities.mjs +18 -0
  710. package/dist/es/node_modules/style-to-js/node_modules/inline-style-parser/index.mjs +93 -0
  711. package/dist/es/node_modules/style-to-js/node_modules/style-to-object/cjs/index.mjs +25 -0
  712. package/dist/es/node_modules/trim-lines/index.mjs +25 -0
  713. package/dist/es/node_modules/tslib/tslib.es6.mjs +30 -0
  714. package/dist/es/node_modules/ua-parser-js/dist/ua-parser.min.mjs +123 -0
  715. package/dist/es/node_modules/unified/lib/callable-instance.mjs +25 -0
  716. package/dist/es/node_modules/unified/lib/index.mjs +525 -0
  717. package/dist/es/node_modules/unified/node_modules/bail/index.mjs +7 -0
  718. package/dist/es/node_modules/unified/node_modules/is-plain-obj/index.mjs +9 -0
  719. package/dist/es/node_modules/unified/node_modules/trough/lib/index.mjs +61 -0
  720. package/dist/es/node_modules/unist-util-find-after/lib/index.mjs +32 -0
  721. package/dist/es/node_modules/unist-util-is/lib/index.mjs +81 -0
  722. package/dist/es/node_modules/unist-util-position/lib/index.mjs +26 -0
  723. package/dist/es/node_modules/unist-util-stringify-position/lib/index.mjs +15 -0
  724. package/dist/es/node_modules/unist-util-visit-parents/lib/color.mjs +6 -0
  725. package/dist/es/node_modules/unist-util-visit-parents/lib/index.mjs +56 -0
  726. package/dist/es/node_modules/vfile/lib/index.mjs +401 -0
  727. package/dist/es/node_modules/vfile/lib/minpath.browser.mjs +120 -0
  728. package/dist/es/node_modules/vfile/lib/minproc.browser.mjs +9 -0
  729. package/dist/es/node_modules/vfile/lib/minurl.browser.mjs +35 -0
  730. package/dist/es/node_modules/vfile/lib/minurl.shared.mjs +7 -0
  731. package/dist/es/node_modules/vfile-message/lib/index.mjs +106 -0
  732. package/dist/es/node_modules/xtend/immutable.mjs +12 -0
  733. package/dist/es/node_modules/zwitch/index.mjs +18 -0
  734. package/dist/es/packages/agent-cli-ui/package.json.mjs +163 -0
  735. package/dist/es/packages/react-components/dist/es/Iconfont/index.mjs +8 -0
  736. package/dist/es/packages/react-components/dist/es/components/Copy/index.mjs +43 -0
  737. package/dist/es/packages/react-components/dist/es/components/Markdown/ATag/index.mjs +44 -0
  738. package/dist/es/packages/react-components/dist/es/components/Markdown/Code/index.mjs +64 -0
  739. package/dist/es/packages/react-components/dist/es/components/Markdown/Image/index.mjs +62 -0
  740. package/dist/es/packages/react-components/dist/es/components/Markdown/Video/index.mjs +19 -0
  741. package/dist/es/packages/react-components/dist/es/components/Markdown/index.mjs +78 -0
  742. package/dist/es/packages/react-components/dist/es/index.mjs +10 -0
  743. package/dist/es/packages/react-components/dist/es/utils/clipboard.mjs +38 -0
  744. package/dist/es/packages/react-components/dist/es/utils/markdown/index.mjs +29 -0
  745. package/dist/es/src/global.css +1 -0
  746. package/dist/es/src/image-viewer.css +1 -0
  747. package/dist/es/src/katex.min.css +1 -0
  748. package/dist/es/src/mask.css +1 -0
  749. package/dist/es/src/safe-area.css +1 -0
  750. package/dist/es/src/style.css +1 -0
  751. package/dist/es/src/style10.css +1 -0
  752. package/dist/es/src/style11.css +1 -0
  753. package/dist/es/src/style12.css +1 -0
  754. package/dist/es/src/style13.css +1 -0
  755. package/dist/es/src/style14.css +1 -0
  756. package/dist/es/src/style15.css +1 -0
  757. package/dist/es/src/style16.css +1 -0
  758. package/dist/es/src/style17.css +1 -0
  759. package/dist/es/src/style18.css +1 -0
  760. package/dist/es/src/style19.css +1 -0
  761. package/dist/es/src/style2.css +1 -0
  762. package/dist/es/src/style20.css +1 -0
  763. package/dist/es/src/style21.css +1 -0
  764. package/dist/es/src/style22.css +1 -0
  765. package/dist/es/src/style23.css +1 -0
  766. package/dist/es/src/style24.css +1 -0
  767. package/dist/es/src/style25.css +1 -0
  768. package/dist/es/src/style26.css +1 -0
  769. package/dist/es/src/style27.css +1 -0
  770. package/dist/es/src/style28.css +1 -0
  771. package/dist/es/src/style29.css +1 -0
  772. package/dist/es/src/style3.css +1 -0
  773. package/dist/es/src/style30.css +1 -0
  774. package/dist/es/src/style31.css +1 -0
  775. package/dist/es/src/style32.css +1 -0
  776. package/dist/es/src/style33.css +1 -0
  777. package/dist/es/src/style4.css +1 -0
  778. package/dist/es/src/style5.css +1 -0
  779. package/dist/es/src/style6.css +1 -0
  780. package/dist/es/src/style7.css +1 -0
  781. package/dist/es/src/style8.css +1 -0
  782. package/dist/es/src/style9.css +1 -0
  783. package/dist/es/types.mjs +4 -0
  784. package/dist/es/utils/antdConfig.mjs +15 -0
  785. package/dist/es/utils/index.mjs +37 -0
  786. package/dist/lib/index.css +1 -0
  787. package/dist/lib/index.js +328 -0
  788. package/dist/src/AgentClientUI.d.ts +13 -0
  789. package/dist/src/Dialog/AgentChat/HistoryItem/FileItem/index.d.ts +11 -0
  790. package/dist/src/Dialog/AgentChat/HistoryItem/InputProgress/index.d.ts +7 -0
  791. package/dist/src/Dialog/AgentChat/HistoryItem/SearchReference/index.d.ts +10 -0
  792. package/dist/src/Dialog/AgentChat/HistoryItem/SessionAction/index.d.ts +13 -0
  793. package/dist/src/Dialog/AgentChat/HistoryItem/SessionRefer/ReferItem/index.d.ts +9 -0
  794. package/dist/src/Dialog/AgentChat/HistoryItem/SessionRefer/index.d.ts +10 -0
  795. package/dist/src/Dialog/AgentChat/HistoryItem/SessionRelated/index.d.ts +9 -0
  796. package/dist/src/Dialog/AgentChat/HistoryItem/index.d.ts +20 -0
  797. package/dist/src/Dialog/AgentChat/PromptSetting/index.d.ts +15 -0
  798. package/dist/src/Dialog/AgentChat/Tools/ConnectToNetwork/index.d.ts +14 -0
  799. package/dist/src/Dialog/AgentChat/Tools/PromptManager/PromptList/EditPromptModal/index.d.ts +11 -0
  800. package/dist/src/Dialog/AgentChat/Tools/PromptManager/PromptList/PrivatePromptList.d.ts +12 -0
  801. package/dist/src/Dialog/AgentChat/Tools/PromptManager/PromptList/PromptListItem.d.ts +13 -0
  802. package/dist/src/Dialog/AgentChat/Tools/PromptManager/PromptList/PublicPromptList.d.ts +12 -0
  803. package/dist/src/Dialog/AgentChat/Tools/PromptManager/index.d.ts +13 -0
  804. package/dist/src/Dialog/AgentChat/Tools/SessionHistoryDrawer/index.d.ts +15 -0
  805. package/dist/src/Dialog/AgentChat/Tools/SessionListDrawer/HistorySessionList/NameEditPanel.d.ts +9 -0
  806. package/dist/src/Dialog/AgentChat/Tools/SessionListDrawer/HistorySessionList/SessionItem.d.ts +16 -0
  807. package/dist/src/Dialog/AgentChat/Tools/SessionListDrawer/HistorySessionList/index.d.ts +9 -0
  808. package/dist/src/Dialog/AgentChat/Tools/SessionListDrawer/index.d.ts +9 -0
  809. package/dist/src/Dialog/AgentChat/Tools/UploadKnowledgeFiles/ClearModal/index.d.ts +7 -0
  810. package/dist/src/Dialog/AgentChat/Tools/UploadKnowledgeFiles/FileCard/index.d.ts +22 -0
  811. package/dist/src/Dialog/AgentChat/Tools/UploadKnowledgeFiles/index.d.ts +22 -0
  812. package/dist/src/Dialog/AgentChat/index.d.ts +22 -0
  813. package/dist/src/Dialog/SessionList/index.d.ts +24 -0
  814. package/dist/src/Dialog/UploadingPrompt/index.d.ts +9 -0
  815. package/dist/src/Dialog/index.d.ts +18 -0
  816. package/dist/src/Footer/FooterWarning.d.ts +8 -0
  817. package/dist/src/Footer/index.d.ts +8 -0
  818. package/dist/src/QuillEditor/index.d.ts +21 -0
  819. package/dist/src/ReactTextGenerationUI/components/TextSiders/index.d.ts +22 -0
  820. package/dist/src/ReactTextGenerationUI/components/fetchEventSource/fetch.d.ts +44 -0
  821. package/dist/src/ReactTextGenerationUI/components/fetchEventSource/index.d.ts +1 -0
  822. package/dist/src/ReactTextGenerationUI/components/fetchEventSource/parse.d.ts +36 -0
  823. package/dist/src/ReactTextGenerationUI/components/fetchEventSourcea/fetch.d.ts +44 -0
  824. package/dist/src/ReactTextGenerationUI/components/fetchEventSourcea/index.d.ts +1 -0
  825. package/dist/src/ReactTextGenerationUI/components/fetchEventSourcea/parse.d.ts +36 -0
  826. package/dist/src/ReactTextGenerationUI/index.d.ts +4 -0
  827. package/dist/src/components/FilePreview/index.d.ts +20 -0
  828. package/dist/src/components/Greeting/index.d.ts +8 -0
  829. package/dist/src/components/Header/index.d.ts +7 -0
  830. package/dist/src/components/Iconfont/font_4108228_z72fskklg2.d.ts +0 -0
  831. package/dist/src/components/Iconfont/font_4439177_7rytwlvbmjj.d.ts +0 -0
  832. package/dist/src/components/Iconfont/index.d.ts +2 -0
  833. package/dist/src/components/JsonDisplay/index.d.ts +6 -0
  834. package/dist/src/components/KnowledgeDoc/index.d.ts +9 -0
  835. package/dist/src/components/KnowledgeList/KnowledgeSelect/index.d.ts +12 -0
  836. package/dist/src/components/KnowledgeList/index.d.ts +10 -0
  837. package/dist/src/components/PDFViewer/index.d.ts +7 -0
  838. package/dist/src/components/Recommend/RecommendItem.d.ts +12 -0
  839. package/dist/src/components/Recommend/index.d.ts +15 -0
  840. package/dist/src/components/Sider/index.d.ts +8 -0
  841. package/dist/src/components/WebLink/index.d.ts +7 -0
  842. package/dist/src/constant.d.ts +21 -0
  843. package/dist/src/context/SessionContext.d.ts +15 -0
  844. package/dist/src/context.d.ts +5 -0
  845. package/dist/src/hooks/useSessionState.d.ts +7 -0
  846. package/dist/src/index.d.ts +49 -0
  847. package/dist/src/types.d.ts +235 -0
  848. package/dist/src/utils/antdConfig.d.ts +7 -0
  849. package/dist/src/utils/fetchEventSource/fetch.d.ts +44 -0
  850. package/dist/src/utils/fetchEventSource/index.d.ts +1 -0
  851. package/dist/src/utils/fetchEventSource/parse.d.ts +36 -0
  852. package/dist/src/utils/index.d.ts +25 -0
  853. package/dist/src/utils/reactCompatibility.d.ts +27 -0
  854. package/dist/src/utils/testAntdPrefix.d.ts +3 -0
  855. package/package.json +142 -0
@@ -0,0 +1,249 @@
1
+ var S = Object.defineProperty, P = Object.defineProperties;
2
+ var _ = Object.getOwnPropertyDescriptors;
3
+ var z = Object.getOwnPropertySymbols;
4
+ var D = Object.prototype.hasOwnProperty, R = Object.prototype.propertyIsEnumerable;
5
+ var y = (r, e, n) => e in r ? S(r, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : r[e] = n, h = (r, e) => {
6
+ for (var n in e || (e = {}))
7
+ D.call(e, n) && y(r, n, e[n]);
8
+ if (z)
9
+ for (var n of z(e))
10
+ R.call(e, n) && y(r, n, e[n]);
11
+ return r;
12
+ }, d = (r, e) => P(r, _(e));
13
+ import C from "../../../../@ungap/structured-clone/esm/index.mjs";
14
+ import { htmlVoidElements as b } from "../../html-void-elements/index.mjs";
15
+ import { Parser as w } from "../../parse5/dist/parser/index.mjs";
16
+ import { getTagID as E } from "../../parse5/dist/common/html.mjs";
17
+ import "../../parse5/dist/serializer/index.mjs";
18
+ import "../../parse5/dist/common/error-codes.mjs";
19
+ import "../../parse5/dist/common/foreign-content.mjs";
20
+ import { TokenType as p } from "../../parse5/dist/common/token.mjs";
21
+ import { TokenizerMode as i } from "../../parse5/dist/tokenizer/index.mjs";
22
+ import { webNamespaces as f } from "../../web-namespaces/index.mjs";
23
+ import { zwitch as O } from "../../../../zwitch/index.mjs";
24
+ import { pointStart as a, pointEnd as A } from "../../../../unist-util-position/lib/index.mjs";
25
+ import { fromParse5 as M } from "../../../../hast-util-from-parse5/lib/index.mjs";
26
+ import { visit as F } from "../../unist-util-visit/lib/index.mjs";
27
+ import { toParse5 as X } from "../../hast-util-to-parse5/lib/index.mjs";
28
+ const W = /<(\/?)(iframe|noembed|noframes|plaintext|script|style|textarea|title|xmp)(?=[\t\n\f\r />])/gi, G = /* @__PURE__ */ new Set(["mdxFlowExpression", "mdxJsxFlowElement", "mdxJsxTextElement", "mdxTextExpression", "mdxjsEsm"]), x = {
29
+ sourceCodeLocationInfo: !0,
30
+ scriptingEnabled: !1
31
+ };
32
+ function j(r, e) {
33
+ const n = K(r), o = O("type", {
34
+ handlers: {
35
+ root: B,
36
+ element: H,
37
+ text: J,
38
+ comment: N,
39
+ doctype: U,
40
+ raw: Q
41
+ },
42
+ unknown: V
43
+ }), t = {
44
+ parser: n ? new w(x) : w.getFragmentParser(void 0, x),
45
+ handle(m) {
46
+ o(m, t);
47
+ },
48
+ stitches: !1,
49
+ options: e || {}
50
+ };
51
+ o(r, t), c(t, a());
52
+ const u = n ? t.parser.document : t.parser.getFragment(), s = M(u, {
53
+ // To do: support `space`?
54
+ file: t.options.file
55
+ });
56
+ return t.stitches && F(s, "comment", function(m, k, T) {
57
+ const g = (
58
+ /** @type {Stitch} */
59
+ /** @type {unknown} */
60
+ m
61
+ );
62
+ if (g.value.stitch && T && k !== void 0) {
63
+ const I = T.children;
64
+ return I[k] = g.value.stitch, k;
65
+ }
66
+ }), s.type === "root" && s.children.length === 1 && s.children[0].type === r.type ? s.children[0] : s;
67
+ }
68
+ function L(r, e) {
69
+ let n = -1;
70
+ if (r)
71
+ for (; ++n < r.length; )
72
+ e.handle(r[n]);
73
+ }
74
+ function B(r, e) {
75
+ L(r.children, e);
76
+ }
77
+ function H(r, e) {
78
+ Y(r, e), L(r.children, e), q(r, e);
79
+ }
80
+ function J(r, e) {
81
+ e.parser.tokenizer.state > 4 && (e.parser.tokenizer.state = 0);
82
+ const n = {
83
+ type: p.CHARACTER,
84
+ chars: r.value,
85
+ location: l(r)
86
+ };
87
+ c(e, a(r)), e.parser.currentToken = n, e.parser._processToken(e.parser.currentToken);
88
+ }
89
+ function U(r, e) {
90
+ const n = {
91
+ type: p.DOCTYPE,
92
+ name: "html",
93
+ forceQuirks: !1,
94
+ publicId: "",
95
+ systemId: "",
96
+ location: l(r)
97
+ };
98
+ c(e, a(r)), e.parser.currentToken = n, e.parser._processToken(e.parser.currentToken);
99
+ }
100
+ function $(r, e) {
101
+ e.stitches = !0;
102
+ const n = Z(r);
103
+ if ("children" in r && "children" in n) {
104
+ const o = (
105
+ /** @type {Root} */
106
+ j({
107
+ type: "root",
108
+ children: r.children
109
+ }, e.options)
110
+ );
111
+ n.children = o.children;
112
+ }
113
+ N({
114
+ type: "comment",
115
+ value: {
116
+ stitch: n
117
+ }
118
+ }, e);
119
+ }
120
+ function N(r, e) {
121
+ const n = r.value, o = {
122
+ type: p.COMMENT,
123
+ data: n,
124
+ location: l(r)
125
+ };
126
+ c(e, a(r)), e.parser.currentToken = o, e.parser._processToken(e.parser.currentToken);
127
+ }
128
+ function Q(r, e) {
129
+ if (e.parser.tokenizer.preprocessor.html = "", e.parser.tokenizer.preprocessor.pos = -1, e.parser.tokenizer.preprocessor.lastGapPos = -2, e.parser.tokenizer.preprocessor.gapStack = [], e.parser.tokenizer.preprocessor.skipNextNewLine = !1, e.parser.tokenizer.preprocessor.lastChunkWritten = !1, e.parser.tokenizer.preprocessor.endOfChunkHit = !1, e.parser.tokenizer.preprocessor.isEol = !1, v(e, a(r)), e.parser.tokenizer.write(e.options.tagfilter ? r.value.replace(W, "&lt;$1$2") : r.value, !1), e.parser.tokenizer._runParsingLoop(), e.parser.tokenizer.state === 72 || // @ts-expect-error: removed.
130
+ e.parser.tokenizer.state === 78) {
131
+ e.parser.tokenizer.preprocessor.lastChunkWritten = !0;
132
+ const n = e.parser.tokenizer._consume();
133
+ e.parser.tokenizer._callState(n);
134
+ }
135
+ }
136
+ function V(r, e) {
137
+ const n = (
138
+ /** @type {Nodes} */
139
+ r
140
+ );
141
+ if (e.options.passThrough && e.options.passThrough.includes(n.type))
142
+ $(n, e);
143
+ else {
144
+ let o = "";
145
+ throw G.has(n.type) && (o = ". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"), new Error("Cannot compile `" + n.type + "` node" + o);
146
+ }
147
+ }
148
+ function c(r, e) {
149
+ v(r, e);
150
+ const n = r.parser.tokenizer.currentCharacterToken;
151
+ n && n.location && (n.location.endLine = r.parser.tokenizer.preprocessor.line, n.location.endCol = r.parser.tokenizer.preprocessor.col + 1, n.location.endOffset = r.parser.tokenizer.preprocessor.offset + 1, r.parser.currentToken = n, r.parser._processToken(r.parser.currentToken)), r.parser.tokenizer.paused = !1, r.parser.tokenizer.inLoop = !1, r.parser.tokenizer.active = !1, r.parser.tokenizer.returnState = i.DATA, r.parser.tokenizer.charRefCode = -1, r.parser.tokenizer.consumedAfterSnapshot = -1, r.parser.tokenizer.currentLocation = null, r.parser.tokenizer.currentCharacterToken = null, r.parser.tokenizer.currentToken = null, r.parser.tokenizer.currentAttr = {
152
+ name: "",
153
+ value: ""
154
+ };
155
+ }
156
+ function v(r, e) {
157
+ if (e && e.offset !== void 0) {
158
+ const n = {
159
+ startLine: e.line,
160
+ startCol: e.column,
161
+ startOffset: e.offset,
162
+ endLine: -1,
163
+ endCol: -1,
164
+ endOffset: -1
165
+ };
166
+ r.parser.tokenizer.preprocessor.lineStartPos = -e.column + 1, r.parser.tokenizer.preprocessor.droppedBufferSize = e.offset, r.parser.tokenizer.preprocessor.line = e.line, r.parser.tokenizer.currentLocation = n;
167
+ }
168
+ }
169
+ function Y(r, e) {
170
+ const n = r.tagName.toLowerCase();
171
+ if (e.parser.tokenizer.state === i.PLAINTEXT)
172
+ return;
173
+ c(e, a(r));
174
+ const o = e.parser.openElements.current;
175
+ let t = "namespaceURI" in o ? o.namespaceURI : f.html;
176
+ t === f.html && n === "svg" && (t = f.svg);
177
+ const u = X(
178
+ // Shallow clone to not delve into `children`: we only need the attributes.
179
+ d(h({}, r), {
180
+ children: []
181
+ }),
182
+ {
183
+ space: t === f.svg ? "svg" : "html"
184
+ }
185
+ ), s = {
186
+ type: p.START_TAG,
187
+ tagName: n,
188
+ tagID: E(n),
189
+ // We always send start and end tags.
190
+ selfClosing: !1,
191
+ ackSelfClosing: !1,
192
+ // Always element.
193
+ /* c8 ignore next */
194
+ attrs: "attrs" in u ? u.attrs : [],
195
+ location: l(r)
196
+ };
197
+ e.parser.currentToken = s, e.parser._processToken(e.parser.currentToken), e.parser.tokenizer.lastStartTagName = n;
198
+ }
199
+ function q(r, e) {
200
+ const n = r.tagName.toLowerCase();
201
+ if (!e.parser.tokenizer.inForeignNode && b.includes(n) || e.parser.tokenizer.state === i.PLAINTEXT)
202
+ return;
203
+ c(e, A(r));
204
+ const o = {
205
+ type: p.END_TAG,
206
+ tagName: n,
207
+ tagID: E(n),
208
+ selfClosing: !1,
209
+ ackSelfClosing: !1,
210
+ attrs: [],
211
+ location: l(r)
212
+ };
213
+ e.parser.currentToken = o, e.parser._processToken(e.parser.currentToken), // Current element is closed.
214
+ n === e.parser.tokenizer.lastStartTagName && // `<textarea>` and `<title>`
215
+ (e.parser.tokenizer.state === i.RCDATA || // `<iframe>`, `<noembed>`, `<noframes>`, `<style>`, `<xmp>`
216
+ e.parser.tokenizer.state === i.RAWTEXT || // `<script>`
217
+ e.parser.tokenizer.state === i.SCRIPT_DATA) && (e.parser.tokenizer.state = i.DATA);
218
+ }
219
+ function K(r) {
220
+ const e = r.type === "root" ? r.children[0] : r;
221
+ return !!(e && (e.type === "doctype" || e.type === "element" && e.tagName.toLowerCase() === "html"));
222
+ }
223
+ function l(r) {
224
+ const e = a(r) || {
225
+ line: void 0,
226
+ column: void 0,
227
+ offset: void 0
228
+ }, n = A(r) || {
229
+ line: void 0,
230
+ column: void 0,
231
+ offset: void 0
232
+ };
233
+ return {
234
+ startLine: e.line,
235
+ startCol: e.column,
236
+ startOffset: e.offset,
237
+ endLine: n.line,
238
+ endCol: n.column,
239
+ endOffset: n.offset
240
+ };
241
+ }
242
+ function Z(r) {
243
+ return "children" in r ? C(d(h({}, r), {
244
+ children: []
245
+ })) : C(r);
246
+ }
247
+ export {
248
+ j as raw
249
+ };
@@ -0,0 +1,125 @@
1
+ import { stringify as N } from "../../../../comma-separated-tokens/index.mjs";
2
+ import { ok as p } from "../../../../devlop/lib/default.mjs";
3
+ import { svg as f, html as h } from "../../property-information/index.mjs";
4
+ import { stringify as g } from "../../../../space-separated-tokens/index.mjs";
5
+ import { webNamespaces as l } from "../../web-namespaces/index.mjs";
6
+ import { zwitch as y } from "../../../../zwitch/index.mjs";
7
+ import { find as b } from "../../property-information/lib/find.mjs";
8
+ const x = {}, w = {}.hasOwnProperty, u = y("type", {
9
+ handlers: {
10
+ root: O,
11
+ element: q,
12
+ text: L,
13
+ comment: S,
14
+ doctype: C
15
+ }
16
+ });
17
+ function $(e, n) {
18
+ const r = (n || x).space;
19
+ return u(e, r === "svg" ? f : h);
20
+ }
21
+ function O(e, n) {
22
+ const t = {
23
+ nodeName: "#document",
24
+ // @ts-expect-error: `parse5` uses enums, which are actually strings.
25
+ mode: (e.data || {}).quirksMode ? "quirks" : "no-quirks",
26
+ childNodes: []
27
+ };
28
+ return t.childNodes = a(e.children, t, n), i(e, t), t;
29
+ }
30
+ function k(e, n) {
31
+ const t = {
32
+ nodeName: "#document-fragment",
33
+ childNodes: []
34
+ };
35
+ return t.childNodes = a(e.children, t, n), i(e, t), t;
36
+ }
37
+ function C(e) {
38
+ const n = {
39
+ nodeName: "#documentType",
40
+ name: "html",
41
+ publicId: "",
42
+ systemId: "",
43
+ parentNode: null
44
+ };
45
+ return i(e, n), n;
46
+ }
47
+ function L(e) {
48
+ const n = {
49
+ nodeName: "#text",
50
+ value: e.value,
51
+ parentNode: null
52
+ };
53
+ return i(e, n), n;
54
+ }
55
+ function S(e) {
56
+ const n = {
57
+ nodeName: "#comment",
58
+ data: e.value,
59
+ parentNode: null
60
+ };
61
+ return i(e, n), n;
62
+ }
63
+ function q(e, n) {
64
+ const t = n;
65
+ let r = t;
66
+ e.type === "element" && e.tagName.toLowerCase() === "svg" && t.space === "html" && (r = f);
67
+ const s = [];
68
+ let o;
69
+ if (e.properties) {
70
+ for (o in e.properties)
71
+ if (o !== "children" && w.call(e.properties, o)) {
72
+ const m = I(r, o, e.properties[o]);
73
+ m && s.push(m);
74
+ }
75
+ }
76
+ const d = r.space, c = {
77
+ nodeName: e.tagName,
78
+ tagName: e.tagName,
79
+ attrs: s,
80
+ // @ts-expect-error: `parse5` types are wrong.
81
+ namespaceURI: l[d],
82
+ childNodes: [],
83
+ parentNode: null
84
+ };
85
+ return c.childNodes = a(e.children, c, r), i(e, c), e.tagName === "template" && e.content && (c.content = k(e.content, r)), c;
86
+ }
87
+ function I(e, n, t) {
88
+ const r = b(e, n);
89
+ if (t === !1 || t === null || t === void 0 || typeof t == "number" && Number.isNaN(t) || !t && r.boolean)
90
+ return;
91
+ Array.isArray(t) && (t = r.commaSeparated ? N(t) : g(t));
92
+ const s = {
93
+ name: r.attribute,
94
+ value: t === !0 ? "" : String(t)
95
+ };
96
+ if (r.space && r.space !== "html" && r.space !== "svg") {
97
+ const o = s.name.indexOf(":");
98
+ o < 0 ? s.prefix = "" : (s.name = s.name.slice(o + 1), s.prefix = r.attribute.slice(0, o)), s.namespace = l[r.space];
99
+ }
100
+ return s;
101
+ }
102
+ function a(e, n, t) {
103
+ let r = -1;
104
+ const s = [];
105
+ if (e)
106
+ for (; ++r < e.length; ) {
107
+ const o = u(e[r], t);
108
+ o.parentNode = n, s.push(o);
109
+ }
110
+ return s;
111
+ }
112
+ function i(e, n) {
113
+ const t = e.position;
114
+ t && t.start && t.end && (p(typeof t.start.offset == "number"), p(typeof t.end.offset == "number"), n.sourceCodeLocation = {
115
+ startLine: t.start.line,
116
+ startCol: t.start.column,
117
+ startOffset: t.start.offset,
118
+ endLine: t.end.line,
119
+ endCol: t.end.column,
120
+ endOffset: t.end.offset
121
+ });
122
+ }
123
+ export {
124
+ $ as toParse5
125
+ };
@@ -0,0 +1,4 @@
1
+ const e = ["area", "base", "basefont", "bgsound", "br", "col", "command", "embed", "frame", "hr", "image", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"];
2
+ export {
3
+ e as htmlVoidElements
4
+ };
@@ -0,0 +1,34 @@
1
+ import { DOCUMENT_MODE as l } from "./html.mjs";
2
+ const s = "html", n = "about:legacy-compat", h = "http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd", r = ["+//silmaril//dtd html pro v0r11 19970101//", "-//as//dtd html 3.0 aswedit + extensions//", "-//advasoft ltd//dtd html 3.0 aswedit + extensions//", "-//ietf//dtd html 2.0 level 1//", "-//ietf//dtd html 2.0 level 2//", "-//ietf//dtd html 2.0 strict level 1//", "-//ietf//dtd html 2.0 strict level 2//", "-//ietf//dtd html 2.0 strict//", "-//ietf//dtd html 2.0//", "-//ietf//dtd html 2.1e//", "-//ietf//dtd html 3.0//", "-//ietf//dtd html 3.2 final//", "-//ietf//dtd html 3.2//", "-//ietf//dtd html 3//", "-//ietf//dtd html level 0//", "-//ietf//dtd html level 1//", "-//ietf//dtd html level 2//", "-//ietf//dtd html level 3//", "-//ietf//dtd html strict level 0//", "-//ietf//dtd html strict level 1//", "-//ietf//dtd html strict level 2//", "-//ietf//dtd html strict level 3//", "-//ietf//dtd html strict//", "-//ietf//dtd html//", "-//metrius//dtd metrius presentational//", "-//microsoft//dtd internet explorer 2.0 html strict//", "-//microsoft//dtd internet explorer 2.0 html//", "-//microsoft//dtd internet explorer 2.0 tables//", "-//microsoft//dtd internet explorer 3.0 html strict//", "-//microsoft//dtd internet explorer 3.0 html//", "-//microsoft//dtd internet explorer 3.0 tables//", "-//netscape comm. corp.//dtd html//", "-//netscape comm. corp.//dtd strict html//", "-//o'reilly and associates//dtd html 2.0//", "-//o'reilly and associates//dtd html extended 1.0//", "-//o'reilly and associates//dtd html extended relaxed 1.0//", "-//sq//dtd html 2.0 hotmetal + extensions//", "-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//", "-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//", "-//spyglass//dtd html 2.0 extended//", "-//sun microsystems corp.//dtd hotjava html//", "-//sun microsystems corp.//dtd hotjava strict html//", "-//w3c//dtd html 3 1995-03-24//", "-//w3c//dtd html 3.2 draft//", "-//w3c//dtd html 3.2 final//", "-//w3c//dtd html 3.2//", "-//w3c//dtd html 3.2s draft//", "-//w3c//dtd html 4.0 frameset//", "-//w3c//dtd html 4.0 transitional//", "-//w3c//dtd html experimental 19960712//", "-//w3c//dtd html experimental 970421//", "-//w3c//dtd w3 html//", "-//w3o//dtd w3 html 3.0//", "-//webtechs//dtd mozilla html 2.0//", "-//webtechs//dtd mozilla html//"], a = [...r, "-//w3c//dtd html 4.01 frameset//", "-//w3c//dtd html 4.01 transitional//"], c = /* @__PURE__ */ new Set(["-//w3o//dtd w3 html strict 3.0//en//", "-/w3c/dtd html 4.0 transitional/en", "html"]), o = ["-//w3c//dtd xhtml 1.0 frameset//", "-//w3c//dtd xhtml 1.0 transitional//"], f = [...o, "-//w3c//dtd html 4.01 frameset//", "-//w3c//dtd html 4.01 transitional//"];
3
+ function i(t, d) {
4
+ return d.some((e) => t.startsWith(e));
5
+ }
6
+ function _(t) {
7
+ return t.name === s && t.publicId === null && (t.systemId === null || t.systemId === n);
8
+ }
9
+ function w(t) {
10
+ if (t.name !== s)
11
+ return l.QUIRKS;
12
+ const {
13
+ systemId: d
14
+ } = t;
15
+ if (d && d.toLowerCase() === h)
16
+ return l.QUIRKS;
17
+ let {
18
+ publicId: e
19
+ } = t;
20
+ if (e !== null) {
21
+ if (e = e.toLowerCase(), c.has(e))
22
+ return l.QUIRKS;
23
+ let m = d === null ? a : r;
24
+ if (i(e, m))
25
+ return l.QUIRKS;
26
+ if (m = d === null ? o : f, i(e, m))
27
+ return l.LIMITED_QUIRKS;
28
+ }
29
+ return l.NO_QUIRKS;
30
+ }
31
+ export {
32
+ w as getDocumentMode,
33
+ _ as isConforming
34
+ };
@@ -0,0 +1,7 @@
1
+ var t;
2
+ (function(e) {
3
+ e.controlCharacterInInputStream = "control-character-in-input-stream", e.noncharacterInInputStream = "noncharacter-in-input-stream", e.surrogateInInputStream = "surrogate-in-input-stream", e.nonVoidHtmlElementStartTagWithTrailingSolidus = "non-void-html-element-start-tag-with-trailing-solidus", e.endTagWithAttributes = "end-tag-with-attributes", e.endTagWithTrailingSolidus = "end-tag-with-trailing-solidus", e.unexpectedSolidusInTag = "unexpected-solidus-in-tag", e.unexpectedNullCharacter = "unexpected-null-character", e.unexpectedQuestionMarkInsteadOfTagName = "unexpected-question-mark-instead-of-tag-name", e.invalidFirstCharacterOfTagName = "invalid-first-character-of-tag-name", e.unexpectedEqualsSignBeforeAttributeName = "unexpected-equals-sign-before-attribute-name", e.missingEndTagName = "missing-end-tag-name", e.unexpectedCharacterInAttributeName = "unexpected-character-in-attribute-name", e.unknownNamedCharacterReference = "unknown-named-character-reference", e.missingSemicolonAfterCharacterReference = "missing-semicolon-after-character-reference", e.unexpectedCharacterAfterDoctypeSystemIdentifier = "unexpected-character-after-doctype-system-identifier", e.unexpectedCharacterInUnquotedAttributeValue = "unexpected-character-in-unquoted-attribute-value", e.eofBeforeTagName = "eof-before-tag-name", e.eofInTag = "eof-in-tag", e.missingAttributeValue = "missing-attribute-value", e.missingWhitespaceBetweenAttributes = "missing-whitespace-between-attributes", e.missingWhitespaceAfterDoctypePublicKeyword = "missing-whitespace-after-doctype-public-keyword", e.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers = "missing-whitespace-between-doctype-public-and-system-identifiers", e.missingWhitespaceAfterDoctypeSystemKeyword = "missing-whitespace-after-doctype-system-keyword", e.missingQuoteBeforeDoctypePublicIdentifier = "missing-quote-before-doctype-public-identifier", e.missingQuoteBeforeDoctypeSystemIdentifier = "missing-quote-before-doctype-system-identifier", e.missingDoctypePublicIdentifier = "missing-doctype-public-identifier", e.missingDoctypeSystemIdentifier = "missing-doctype-system-identifier", e.abruptDoctypePublicIdentifier = "abrupt-doctype-public-identifier", e.abruptDoctypeSystemIdentifier = "abrupt-doctype-system-identifier", e.cdataInHtmlContent = "cdata-in-html-content", e.incorrectlyOpenedComment = "incorrectly-opened-comment", e.eofInScriptHtmlCommentLikeText = "eof-in-script-html-comment-like-text", e.eofInDoctype = "eof-in-doctype", e.nestedComment = "nested-comment", e.abruptClosingOfEmptyComment = "abrupt-closing-of-empty-comment", e.eofInComment = "eof-in-comment", e.incorrectlyClosedComment = "incorrectly-closed-comment", e.eofInCdata = "eof-in-cdata", e.absenceOfDigitsInNumericCharacterReference = "absence-of-digits-in-numeric-character-reference", e.nullCharacterReference = "null-character-reference", e.surrogateCharacterReference = "surrogate-character-reference", e.characterReferenceOutsideUnicodeRange = "character-reference-outside-unicode-range", e.controlCharacterReference = "control-character-reference", e.noncharacterCharacterReference = "noncharacter-character-reference", e.missingWhitespaceBeforeDoctypeName = "missing-whitespace-before-doctype-name", e.missingDoctypeName = "missing-doctype-name", e.invalidCharacterSequenceAfterDoctypeName = "invalid-character-sequence-after-doctype-name", e.duplicateAttribute = "duplicate-attribute", e.nonConformingDoctype = "non-conforming-doctype", e.missingDoctype = "missing-doctype", e.misplacedDoctype = "misplaced-doctype", e.endTagWithoutMatchingOpenElement = "end-tag-without-matching-open-element", e.closingOfElementWithOpenChildElements = "closing-of-element-with-open-child-elements", e.disallowedContentInNoscriptInHead = "disallowed-content-in-noscript-in-head", e.openElementsLeftAfterEof = "open-elements-left-after-eof", e.abandonedHeadElementChild = "abandoned-head-element-child", e.misplacedStartTagForHeadElement = "misplaced-start-tag-for-head-element", e.nestedNoscriptInHead = "nested-noscript-in-head", e.eofInElementThatCanContainOnlyText = "eof-in-element-that-can-contain-only-text";
4
+ })(t || (t = {}));
5
+ export {
6
+ t as ERR
7
+ };
@@ -0,0 +1,103 @@
1
+ import { NS as n, TAG_ID as e, ATTRS as s, getTagID as f } from "./html.mjs";
2
+ const o = {
3
+ TEXT_HTML: "text/html",
4
+ APPLICATION_XML: "application/xhtml+xml"
5
+ }, m = "definitionurl", p = "definitionURL", T = new Map(["attributeName", "attributeType", "baseFrequency", "baseProfile", "calcMode", "clipPathUnits", "diffuseConstant", "edgeMode", "filterUnits", "glyphRef", "gradientTransform", "gradientUnits", "kernelMatrix", "kernelUnitLength", "keyPoints", "keySplines", "keyTimes", "lengthAdjust", "limitingConeAngle", "markerHeight", "markerUnits", "markerWidth", "maskContentUnits", "maskUnits", "numOctaves", "pathLength", "patternContentUnits", "patternTransform", "patternUnits", "pointsAtX", "pointsAtY", "pointsAtZ", "preserveAlpha", "preserveAspectRatio", "primitiveUnits", "refX", "refY", "repeatCount", "repeatDur", "requiredExtensions", "requiredFeatures", "specularConstant", "specularExponent", "spreadMethod", "startOffset", "stdDeviation", "stitchTiles", "surfaceScale", "systemLanguage", "tableValues", "targetX", "targetY", "textLength", "viewBox", "viewTarget", "xChannelSelector", "yChannelSelector", "zoomAndPan"].map((t) => [t.toLowerCase(), t])), c = /* @__PURE__ */ new Map([["xlink:actuate", {
6
+ prefix: "xlink",
7
+ name: "actuate",
8
+ namespace: n.XLINK
9
+ }], ["xlink:arcrole", {
10
+ prefix: "xlink",
11
+ name: "arcrole",
12
+ namespace: n.XLINK
13
+ }], ["xlink:href", {
14
+ prefix: "xlink",
15
+ name: "href",
16
+ namespace: n.XLINK
17
+ }], ["xlink:role", {
18
+ prefix: "xlink",
19
+ name: "role",
20
+ namespace: n.XLINK
21
+ }], ["xlink:show", {
22
+ prefix: "xlink",
23
+ name: "show",
24
+ namespace: n.XLINK
25
+ }], ["xlink:title", {
26
+ prefix: "xlink",
27
+ name: "title",
28
+ namespace: n.XLINK
29
+ }], ["xlink:type", {
30
+ prefix: "xlink",
31
+ name: "type",
32
+ namespace: n.XLINK
33
+ }], ["xml:lang", {
34
+ prefix: "xml",
35
+ name: "lang",
36
+ namespace: n.XML
37
+ }], ["xml:space", {
38
+ prefix: "xml",
39
+ name: "space",
40
+ namespace: n.XML
41
+ }], ["xmlns", {
42
+ prefix: "",
43
+ name: "xmlns",
44
+ namespace: n.XMLNS
45
+ }], ["xmlns:xlink", {
46
+ prefix: "xmlns",
47
+ name: "xlink",
48
+ namespace: n.XMLNS
49
+ }]]), M = new Map(["altGlyph", "altGlyphDef", "altGlyphItem", "animateColor", "animateMotion", "animateTransform", "clipPath", "feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence", "foreignObject", "glyphRef", "linearGradient", "radialGradient", "textPath"].map((t) => [t.toLowerCase(), t])), u = /* @__PURE__ */ new Set([e.B, e.BIG, e.BLOCKQUOTE, e.BODY, e.BR, e.CENTER, e.CODE, e.DD, e.DIV, e.DL, e.DT, e.EM, e.EMBED, e.H1, e.H2, e.H3, e.H4, e.H5, e.H6, e.HEAD, e.HR, e.I, e.IMG, e.LI, e.LISTING, e.MENU, e.META, e.NOBR, e.OL, e.P, e.PRE, e.RUBY, e.S, e.SMALL, e.SPAN, e.STRONG, e.STRIKE, e.SUB, e.SUP, e.TABLE, e.TT, e.U, e.UL, e.VAR]);
50
+ function g(t) {
51
+ const a = t.tagID;
52
+ return a === e.FONT && t.attrs.some(({
53
+ name: r
54
+ }) => r === s.COLOR || r === s.SIZE || r === s.FACE) || u.has(a);
55
+ }
56
+ function I(t) {
57
+ for (let a = 0; a < t.attrs.length; a++)
58
+ if (t.attrs[a].name === m) {
59
+ t.attrs[a].name = p;
60
+ break;
61
+ }
62
+ }
63
+ function N(t) {
64
+ for (let a = 0; a < t.attrs.length; a++) {
65
+ const i = T.get(t.attrs[a].name);
66
+ i != null && (t.attrs[a].name = i);
67
+ }
68
+ }
69
+ function h(t) {
70
+ for (let a = 0; a < t.attrs.length; a++) {
71
+ const i = c.get(t.attrs[a].name);
72
+ i && (t.attrs[a].prefix = i.prefix, t.attrs[a].name = i.name, t.attrs[a].namespace = i.namespace);
73
+ }
74
+ }
75
+ function E(t) {
76
+ const a = M.get(t.tagName);
77
+ a != null && (t.tagName = a, t.tagID = f(t.tagName));
78
+ }
79
+ function x(t, a) {
80
+ return a === n.MATHML && (t === e.MI || t === e.MO || t === e.MN || t === e.MS || t === e.MTEXT);
81
+ }
82
+ function L(t, a, i) {
83
+ if (a === n.MATHML && t === e.ANNOTATION_XML) {
84
+ for (let r = 0; r < i.length; r++)
85
+ if (i[r].name === s.ENCODING) {
86
+ const l = i[r].value.toLowerCase();
87
+ return l === o.TEXT_HTML || l === o.APPLICATION_XML;
88
+ }
89
+ }
90
+ return a === n.SVG && (t === e.FOREIGN_OBJECT || t === e.DESC || t === e.TITLE);
91
+ }
92
+ function S(t, a, i, r) {
93
+ return (!r || r === n.HTML) && L(t, a, i) || (!r || r === n.MATHML) && x(t, a);
94
+ }
95
+ export {
96
+ M as SVG_TAG_NAMES_ADJUSTMENT_MAP,
97
+ I as adjustTokenMathMLAttrs,
98
+ N as adjustTokenSVGAttrs,
99
+ E as adjustTokenSVGTagName,
100
+ h as adjustTokenXMLAttrs,
101
+ g as causesExit,
102
+ S as isIntegrationPoint
103
+ };
@@ -0,0 +1,44 @@
1
+ var P;
2
+ (function(E) {
3
+ E.HTML = "http://www.w3.org/1999/xhtml", E.MATHML = "http://www.w3.org/1998/Math/MathML", E.SVG = "http://www.w3.org/2000/svg", E.XLINK = "http://www.w3.org/1999/xlink", E.XML = "http://www.w3.org/XML/1998/namespace", E.XMLNS = "http://www.w3.org/2000/xmlns/";
4
+ })(P || (P = {}));
5
+ var C;
6
+ (function(E) {
7
+ E.TYPE = "type", E.ACTION = "action", E.ENCODING = "encoding", E.PROMPT = "prompt", E.NAME = "name", E.COLOR = "color", E.FACE = "face", E.SIZE = "size";
8
+ })(C || (C = {}));
9
+ var H;
10
+ (function(E) {
11
+ E.NO_QUIRKS = "no-quirks", E.QUIRKS = "quirks", E.LIMITED_QUIRKS = "limited-quirks";
12
+ })(H || (H = {}));
13
+ var R;
14
+ (function(E) {
15
+ E.A = "a", E.ADDRESS = "address", E.ANNOTATION_XML = "annotation-xml", E.APPLET = "applet", E.AREA = "area", E.ARTICLE = "article", E.ASIDE = "aside", E.B = "b", E.BASE = "base", E.BASEFONT = "basefont", E.BGSOUND = "bgsound", E.BIG = "big", E.BLOCKQUOTE = "blockquote", E.BODY = "body", E.BR = "br", E.BUTTON = "button", E.CAPTION = "caption", E.CENTER = "center", E.CODE = "code", E.COL = "col", E.COLGROUP = "colgroup", E.DD = "dd", E.DESC = "desc", E.DETAILS = "details", E.DIALOG = "dialog", E.DIR = "dir", E.DIV = "div", E.DL = "dl", E.DT = "dt", E.EM = "em", E.EMBED = "embed", E.FIELDSET = "fieldset", E.FIGCAPTION = "figcaption", E.FIGURE = "figure", E.FONT = "font", E.FOOTER = "footer", E.FOREIGN_OBJECT = "foreignObject", E.FORM = "form", E.FRAME = "frame", E.FRAMESET = "frameset", E.H1 = "h1", E.H2 = "h2", E.H3 = "h3", E.H4 = "h4", E.H5 = "h5", E.H6 = "h6", E.HEAD = "head", E.HEADER = "header", E.HGROUP = "hgroup", E.HR = "hr", E.HTML = "html", E.I = "i", E.IMG = "img", E.IMAGE = "image", E.INPUT = "input", E.IFRAME = "iframe", E.KEYGEN = "keygen", E.LABEL = "label", E.LI = "li", E.LINK = "link", E.LISTING = "listing", E.MAIN = "main", E.MALIGNMARK = "malignmark", E.MARQUEE = "marquee", E.MATH = "math", E.MENU = "menu", E.META = "meta", E.MGLYPH = "mglyph", E.MI = "mi", E.MO = "mo", E.MN = "mn", E.MS = "ms", E.MTEXT = "mtext", E.NAV = "nav", E.NOBR = "nobr", E.NOFRAMES = "noframes", E.NOEMBED = "noembed", E.NOSCRIPT = "noscript", E.OBJECT = "object", E.OL = "ol", E.OPTGROUP = "optgroup", E.OPTION = "option", E.P = "p", E.PARAM = "param", E.PLAINTEXT = "plaintext", E.PRE = "pre", E.RB = "rb", E.RP = "rp", E.RT = "rt", E.RTC = "rtc", E.RUBY = "ruby", E.S = "s", E.SCRIPT = "script", E.SEARCH = "search", E.SECTION = "section", E.SELECT = "select", E.SOURCE = "source", E.SMALL = "small", E.SPAN = "span", E.STRIKE = "strike", E.STRONG = "strong", E.STYLE = "style", E.SUB = "sub", E.SUMMARY = "summary", E.SUP = "sup", E.TABLE = "table", E.TBODY = "tbody", E.TEMPLATE = "template", E.TEXTAREA = "textarea", E.TFOOT = "tfoot", E.TD = "td", E.TH = "th", E.THEAD = "thead", E.TITLE = "title", E.TR = "tr", E.TRACK = "track", E.TT = "tt", E.U = "u", E.UL = "ul", E.SVG = "svg", E.VAR = "var", E.WBR = "wbr", E.XMP = "xmp";
16
+ })(R || (R = {}));
17
+ var O;
18
+ (function(E) {
19
+ E[E.UNKNOWN = 0] = "UNKNOWN", E[E.A = 1] = "A", E[E.ADDRESS = 2] = "ADDRESS", E[E.ANNOTATION_XML = 3] = "ANNOTATION_XML", E[E.APPLET = 4] = "APPLET", E[E.AREA = 5] = "AREA", E[E.ARTICLE = 6] = "ARTICLE", E[E.ASIDE = 7] = "ASIDE", E[E.B = 8] = "B", E[E.BASE = 9] = "BASE", E[E.BASEFONT = 10] = "BASEFONT", E[E.BGSOUND = 11] = "BGSOUND", E[E.BIG = 12] = "BIG", E[E.BLOCKQUOTE = 13] = "BLOCKQUOTE", E[E.BODY = 14] = "BODY", E[E.BR = 15] = "BR", E[E.BUTTON = 16] = "BUTTON", E[E.CAPTION = 17] = "CAPTION", E[E.CENTER = 18] = "CENTER", E[E.CODE = 19] = "CODE", E[E.COL = 20] = "COL", E[E.COLGROUP = 21] = "COLGROUP", E[E.DD = 22] = "DD", E[E.DESC = 23] = "DESC", E[E.DETAILS = 24] = "DETAILS", E[E.DIALOG = 25] = "DIALOG", E[E.DIR = 26] = "DIR", E[E.DIV = 27] = "DIV", E[E.DL = 28] = "DL", E[E.DT = 29] = "DT", E[E.EM = 30] = "EM", E[E.EMBED = 31] = "EMBED", E[E.FIELDSET = 32] = "FIELDSET", E[E.FIGCAPTION = 33] = "FIGCAPTION", E[E.FIGURE = 34] = "FIGURE", E[E.FONT = 35] = "FONT", E[E.FOOTER = 36] = "FOOTER", E[E.FOREIGN_OBJECT = 37] = "FOREIGN_OBJECT", E[E.FORM = 38] = "FORM", E[E.FRAME = 39] = "FRAME", E[E.FRAMESET = 40] = "FRAMESET", E[E.H1 = 41] = "H1", E[E.H2 = 42] = "H2", E[E.H3 = 43] = "H3", E[E.H4 = 44] = "H4", E[E.H5 = 45] = "H5", E[E.H6 = 46] = "H6", E[E.HEAD = 47] = "HEAD", E[E.HEADER = 48] = "HEADER", E[E.HGROUP = 49] = "HGROUP", E[E.HR = 50] = "HR", E[E.HTML = 51] = "HTML", E[E.I = 52] = "I", E[E.IMG = 53] = "IMG", E[E.IMAGE = 54] = "IMAGE", E[E.INPUT = 55] = "INPUT", E[E.IFRAME = 56] = "IFRAME", E[E.KEYGEN = 57] = "KEYGEN", E[E.LABEL = 58] = "LABEL", E[E.LI = 59] = "LI", E[E.LINK = 60] = "LINK", E[E.LISTING = 61] = "LISTING", E[E.MAIN = 62] = "MAIN", E[E.MALIGNMARK = 63] = "MALIGNMARK", E[E.MARQUEE = 64] = "MARQUEE", E[E.MATH = 65] = "MATH", E[E.MENU = 66] = "MENU", E[E.META = 67] = "META", E[E.MGLYPH = 68] = "MGLYPH", E[E.MI = 69] = "MI", E[E.MO = 70] = "MO", E[E.MN = 71] = "MN", E[E.MS = 72] = "MS", E[E.MTEXT = 73] = "MTEXT", E[E.NAV = 74] = "NAV", E[E.NOBR = 75] = "NOBR", E[E.NOFRAMES = 76] = "NOFRAMES", E[E.NOEMBED = 77] = "NOEMBED", E[E.NOSCRIPT = 78] = "NOSCRIPT", E[E.OBJECT = 79] = "OBJECT", E[E.OL = 80] = "OL", E[E.OPTGROUP = 81] = "OPTGROUP", E[E.OPTION = 82] = "OPTION", E[E.P = 83] = "P", E[E.PARAM = 84] = "PARAM", E[E.PLAINTEXT = 85] = "PLAINTEXT", E[E.PRE = 86] = "PRE", E[E.RB = 87] = "RB", E[E.RP = 88] = "RP", E[E.RT = 89] = "RT", E[E.RTC = 90] = "RTC", E[E.RUBY = 91] = "RUBY", E[E.S = 92] = "S", E[E.SCRIPT = 93] = "SCRIPT", E[E.SEARCH = 94] = "SEARCH", E[E.SECTION = 95] = "SECTION", E[E.SELECT = 96] = "SELECT", E[E.SOURCE = 97] = "SOURCE", E[E.SMALL = 98] = "SMALL", E[E.SPAN = 99] = "SPAN", E[E.STRIKE = 100] = "STRIKE", E[E.STRONG = 101] = "STRONG", E[E.STYLE = 102] = "STYLE", E[E.SUB = 103] = "SUB", E[E.SUMMARY = 104] = "SUMMARY", E[E.SUP = 105] = "SUP", E[E.TABLE = 106] = "TABLE", E[E.TBODY = 107] = "TBODY", E[E.TEMPLATE = 108] = "TEMPLATE", E[E.TEXTAREA = 109] = "TEXTAREA", E[E.TFOOT = 110] = "TFOOT", E[E.TD = 111] = "TD", E[E.TH = 112] = "TH", E[E.THEAD = 113] = "THEAD", E[E.TITLE = 114] = "TITLE", E[E.TR = 115] = "TR", E[E.TRACK = 116] = "TRACK", E[E.TT = 117] = "TT", E[E.U = 118] = "U", E[E.UL = 119] = "UL", E[E.SVG = 120] = "SVG", E[E.VAR = 121] = "VAR", E[E.WBR = 122] = "WBR", E[E.XMP = 123] = "XMP";
20
+ })(O || (O = {}));
21
+ const U = /* @__PURE__ */ new Map([[R.A, O.A], [R.ADDRESS, O.ADDRESS], [R.ANNOTATION_XML, O.ANNOTATION_XML], [R.APPLET, O.APPLET], [R.AREA, O.AREA], [R.ARTICLE, O.ARTICLE], [R.ASIDE, O.ASIDE], [R.B, O.B], [R.BASE, O.BASE], [R.BASEFONT, O.BASEFONT], [R.BGSOUND, O.BGSOUND], [R.BIG, O.BIG], [R.BLOCKQUOTE, O.BLOCKQUOTE], [R.BODY, O.BODY], [R.BR, O.BR], [R.BUTTON, O.BUTTON], [R.CAPTION, O.CAPTION], [R.CENTER, O.CENTER], [R.CODE, O.CODE], [R.COL, O.COL], [R.COLGROUP, O.COLGROUP], [R.DD, O.DD], [R.DESC, O.DESC], [R.DETAILS, O.DETAILS], [R.DIALOG, O.DIALOG], [R.DIR, O.DIR], [R.DIV, O.DIV], [R.DL, O.DL], [R.DT, O.DT], [R.EM, O.EM], [R.EMBED, O.EMBED], [R.FIELDSET, O.FIELDSET], [R.FIGCAPTION, O.FIGCAPTION], [R.FIGURE, O.FIGURE], [R.FONT, O.FONT], [R.FOOTER, O.FOOTER], [R.FOREIGN_OBJECT, O.FOREIGN_OBJECT], [R.FORM, O.FORM], [R.FRAME, O.FRAME], [R.FRAMESET, O.FRAMESET], [R.H1, O.H1], [R.H2, O.H2], [R.H3, O.H3], [R.H4, O.H4], [R.H5, O.H5], [R.H6, O.H6], [R.HEAD, O.HEAD], [R.HEADER, O.HEADER], [R.HGROUP, O.HGROUP], [R.HR, O.HR], [R.HTML, O.HTML], [R.I, O.I], [R.IMG, O.IMG], [R.IMAGE, O.IMAGE], [R.INPUT, O.INPUT], [R.IFRAME, O.IFRAME], [R.KEYGEN, O.KEYGEN], [R.LABEL, O.LABEL], [R.LI, O.LI], [R.LINK, O.LINK], [R.LISTING, O.LISTING], [R.MAIN, O.MAIN], [R.MALIGNMARK, O.MALIGNMARK], [R.MARQUEE, O.MARQUEE], [R.MATH, O.MATH], [R.MENU, O.MENU], [R.META, O.META], [R.MGLYPH, O.MGLYPH], [R.MI, O.MI], [R.MO, O.MO], [R.MN, O.MN], [R.MS, O.MS], [R.MTEXT, O.MTEXT], [R.NAV, O.NAV], [R.NOBR, O.NOBR], [R.NOFRAMES, O.NOFRAMES], [R.NOEMBED, O.NOEMBED], [R.NOSCRIPT, O.NOSCRIPT], [R.OBJECT, O.OBJECT], [R.OL, O.OL], [R.OPTGROUP, O.OPTGROUP], [R.OPTION, O.OPTION], [R.P, O.P], [R.PARAM, O.PARAM], [R.PLAINTEXT, O.PLAINTEXT], [R.PRE, O.PRE], [R.RB, O.RB], [R.RP, O.RP], [R.RT, O.RT], [R.RTC, O.RTC], [R.RUBY, O.RUBY], [R.S, O.S], [R.SCRIPT, O.SCRIPT], [R.SEARCH, O.SEARCH], [R.SECTION, O.SECTION], [R.SELECT, O.SELECT], [R.SOURCE, O.SOURCE], [R.SMALL, O.SMALL], [R.SPAN, O.SPAN], [R.STRIKE, O.STRIKE], [R.STRONG, O.STRONG], [R.STYLE, O.STYLE], [R.SUB, O.SUB], [R.SUMMARY, O.SUMMARY], [R.SUP, O.SUP], [R.TABLE, O.TABLE], [R.TBODY, O.TBODY], [R.TEMPLATE, O.TEMPLATE], [R.TEXTAREA, O.TEXTAREA], [R.TFOOT, O.TFOOT], [R.TD, O.TD], [R.TH, O.TH], [R.THEAD, O.THEAD], [R.TITLE, O.TITLE], [R.TR, O.TR], [R.TRACK, O.TRACK], [R.TT, O.TT], [R.U, O.U], [R.UL, O.UL], [R.SVG, O.SVG], [R.VAR, O.VAR], [R.WBR, O.WBR], [R.XMP, O.XMP]]);
22
+ function t(E) {
23
+ var B;
24
+ return (B = U.get(E)) !== null && B !== void 0 ? B : O.UNKNOWN;
25
+ }
26
+ const L = O, e = {
27
+ [P.HTML]: /* @__PURE__ */ new Set([L.ADDRESS, L.APPLET, L.AREA, L.ARTICLE, L.ASIDE, L.BASE, L.BASEFONT, L.BGSOUND, L.BLOCKQUOTE, L.BODY, L.BR, L.BUTTON, L.CAPTION, L.CENTER, L.COL, L.COLGROUP, L.DD, L.DETAILS, L.DIR, L.DIV, L.DL, L.DT, L.EMBED, L.FIELDSET, L.FIGCAPTION, L.FIGURE, L.FOOTER, L.FORM, L.FRAME, L.FRAMESET, L.H1, L.H2, L.H3, L.H4, L.H5, L.H6, L.HEAD, L.HEADER, L.HGROUP, L.HR, L.HTML, L.IFRAME, L.IMG, L.INPUT, L.LI, L.LINK, L.LISTING, L.MAIN, L.MARQUEE, L.MENU, L.META, L.NAV, L.NOEMBED, L.NOFRAMES, L.NOSCRIPT, L.OBJECT, L.OL, L.P, L.PARAM, L.PLAINTEXT, L.PRE, L.SCRIPT, L.SECTION, L.SELECT, L.SOURCE, L.STYLE, L.SUMMARY, L.TABLE, L.TBODY, L.TD, L.TEMPLATE, L.TEXTAREA, L.TFOOT, L.TH, L.THEAD, L.TITLE, L.TR, L.TRACK, L.UL, L.WBR, L.XMP]),
28
+ [P.MATHML]: /* @__PURE__ */ new Set([L.MI, L.MO, L.MN, L.MS, L.MTEXT, L.ANNOTATION_XML]),
29
+ [P.SVG]: /* @__PURE__ */ new Set([L.TITLE, L.FOREIGN_OBJECT, L.DESC]),
30
+ [P.XLINK]: /* @__PURE__ */ new Set(),
31
+ [P.XML]: /* @__PURE__ */ new Set(),
32
+ [P.XMLNS]: /* @__PURE__ */ new Set()
33
+ }, M = /* @__PURE__ */ new Set([L.H1, L.H2, L.H3, L.H4, L.H5, L.H6]);
34
+ R.STYLE, R.SCRIPT, R.XMP, R.IFRAME, R.NOEMBED, R.NOFRAMES, R.PLAINTEXT;
35
+ export {
36
+ C as ATTRS,
37
+ H as DOCUMENT_MODE,
38
+ P as NS,
39
+ M as NUMBERED_HEADERS,
40
+ e as SPECIAL_ELEMENTS,
41
+ O as TAG_ID,
42
+ R as TAG_NAMES,
43
+ t as getTagID
44
+ };
@@ -0,0 +1,14 @@
1
+ var C;
2
+ (function(A) {
3
+ A[A.CHARACTER = 0] = "CHARACTER", A[A.NULL_CHARACTER = 1] = "NULL_CHARACTER", A[A.WHITESPACE_CHARACTER = 2] = "WHITESPACE_CHARACTER", A[A.START_TAG = 3] = "START_TAG", A[A.END_TAG = 4] = "END_TAG", A[A.COMMENT = 5] = "COMMENT", A[A.DOCTYPE = 6] = "DOCTYPE", A[A.EOF = 7] = "EOF", A[A.HIBERNATION = 8] = "HIBERNATION";
4
+ })(C || (C = {}));
5
+ function t(A, R) {
6
+ for (let E = A.attrs.length - 1; E >= 0; E--)
7
+ if (A.attrs[E].name === R)
8
+ return A.attrs[E].value;
9
+ return null;
10
+ }
11
+ export {
12
+ C as TokenType,
13
+ t as getTokenAttr
14
+ };
@@ -0,0 +1,38 @@
1
+ const n = /* @__PURE__ */ new Set([65534, 65535, 131070, 131071, 196606, 196607, 262142, 262143, 327678, 327679, 393214, 393215, 458750, 458751, 524286, 524287, 589822, 589823, 655358, 655359, 720894, 720895, 786430, 786431, 851966, 851967, 917502, 917503, 983038, 983039, 1048574, 1048575, 1114110, 1114111]), t = "�";
2
+ var L;
3
+ (function(A) {
4
+ A[A.EOF = -1] = "EOF", A[A.NULL = 0] = "NULL", A[A.TABULATION = 9] = "TABULATION", A[A.CARRIAGE_RETURN = 13] = "CARRIAGE_RETURN", A[A.LINE_FEED = 10] = "LINE_FEED", A[A.FORM_FEED = 12] = "FORM_FEED", A[A.SPACE = 32] = "SPACE", A[A.EXCLAMATION_MARK = 33] = "EXCLAMATION_MARK", A[A.QUOTATION_MARK = 34] = "QUOTATION_MARK", A[A.AMPERSAND = 38] = "AMPERSAND", A[A.APOSTROPHE = 39] = "APOSTROPHE", A[A.HYPHEN_MINUS = 45] = "HYPHEN_MINUS", A[A.SOLIDUS = 47] = "SOLIDUS", A[A.DIGIT_0 = 48] = "DIGIT_0", A[A.DIGIT_9 = 57] = "DIGIT_9", A[A.SEMICOLON = 59] = "SEMICOLON", A[A.LESS_THAN_SIGN = 60] = "LESS_THAN_SIGN", A[A.EQUALS_SIGN = 61] = "EQUALS_SIGN", A[A.GREATER_THAN_SIGN = 62] = "GREATER_THAN_SIGN", A[A.QUESTION_MARK = 63] = "QUESTION_MARK", A[A.LATIN_CAPITAL_A = 65] = "LATIN_CAPITAL_A", A[A.LATIN_CAPITAL_Z = 90] = "LATIN_CAPITAL_Z", A[A.RIGHT_SQUARE_BRACKET = 93] = "RIGHT_SQUARE_BRACKET", A[A.GRAVE_ACCENT = 96] = "GRAVE_ACCENT", A[A.LATIN_SMALL_A = 97] = "LATIN_SMALL_A", A[A.LATIN_SMALL_Z = 122] = "LATIN_SMALL_Z";
5
+ })(L || (L = {}));
6
+ const o = {
7
+ DASH_DASH: "--",
8
+ CDATA_START: "[CDATA[",
9
+ DOCTYPE: "doctype",
10
+ SCRIPT: "script",
11
+ PUBLIC: "public",
12
+ SYSTEM: "system"
13
+ };
14
+ function r(A) {
15
+ return A >= 55296 && A <= 57343;
16
+ }
17
+ function M(A) {
18
+ return A >= 56320 && A <= 57343;
19
+ }
20
+ function U(A, R) {
21
+ return (A - 55296) * 1024 + 9216 + R;
22
+ }
23
+ function e(A) {
24
+ return A !== 32 && A !== 10 && A !== 13 && A !== 9 && A !== 12 && A >= 1 && A <= 31 || A >= 127 && A <= 159;
25
+ }
26
+ function i(A) {
27
+ return A >= 64976 && A <= 65007 || n.has(A);
28
+ }
29
+ export {
30
+ L as CODE_POINTS,
31
+ t as REPLACEMENT_CHARACTER,
32
+ o as SEQUENCES,
33
+ U as getSurrogatePairCodePoint,
34
+ e as isControlCodePoint,
35
+ r as isSurrogate,
36
+ M as isSurrogatePair,
37
+ i as isUndefinedCodePoint
38
+ };