@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.
- package/README.git.md +73 -0
- package/README.lib.md +135 -0
- package/dist/es/AgentClientUI.mjs +150 -0
- package/dist/es/Dialog/AgentChat/HistoryItem/FileItem/index.mjs +95 -0
- package/dist/es/Dialog/AgentChat/HistoryItem/InputProgress/index.mjs +38 -0
- package/dist/es/Dialog/AgentChat/HistoryItem/SearchReference/index.mjs +101 -0
- package/dist/es/Dialog/AgentChat/HistoryItem/SessionAction/index.mjs +251 -0
- package/dist/es/Dialog/AgentChat/HistoryItem/SessionRefer/ReferItem/index.mjs +86 -0
- package/dist/es/Dialog/AgentChat/HistoryItem/SessionRefer/index.mjs +92 -0
- package/dist/es/Dialog/AgentChat/HistoryItem/SessionRelated/index.mjs +46 -0
- package/dist/es/Dialog/AgentChat/HistoryItem/index.mjs +365 -0
- package/dist/es/Dialog/AgentChat/PromptSetting/index.mjs +105 -0
- package/dist/es/Dialog/AgentChat/Tools/ConnectToNetwork/index.mjs +92 -0
- package/dist/es/Dialog/AgentChat/Tools/PromptManager/PromptList/PromptListItem.mjs +89 -0
- package/dist/es/Dialog/AgentChat/Tools/PromptManager/PromptList/PublicPromptList.mjs +47 -0
- package/dist/es/Dialog/AgentChat/Tools/PromptManager/PromptList/access/empty.svg.mjs +4 -0
- package/dist/es/Dialog/AgentChat/Tools/PromptManager/index.mjs +120 -0
- package/dist/es/Dialog/AgentChat/Tools/SessionHistoryDrawer/index.mjs +48 -0
- package/dist/es/Dialog/AgentChat/Tools/SessionListDrawer/HistorySessionList/NameEditPanel.mjs +47 -0
- package/dist/es/Dialog/AgentChat/Tools/SessionListDrawer/HistorySessionList/SessionItem.mjs +135 -0
- package/dist/es/Dialog/AgentChat/Tools/SessionListDrawer/HistorySessionList/index.mjs +130 -0
- package/dist/es/Dialog/AgentChat/Tools/SessionListDrawer/index.mjs +44 -0
- package/dist/es/Dialog/AgentChat/Tools/UploadKnowledgeFiles/ClearModal/index.mjs +50 -0
- package/dist/es/Dialog/AgentChat/Tools/UploadKnowledgeFiles/FileCard/index.mjs +128 -0
- package/dist/es/Dialog/AgentChat/Tools/UploadKnowledgeFiles/index.mjs +413 -0
- package/dist/es/Dialog/AgentChat/index.mjs +1045 -0
- package/dist/es/Dialog/SessionList/index.mjs +323 -0
- package/dist/es/Dialog/UploadingPrompt/index.mjs +64 -0
- package/dist/es/Dialog/index.mjs +180 -0
- package/dist/es/Footer/FooterWarning.mjs +24 -0
- package/dist/es/Footer/index.mjs +17 -0
- package/dist/es/QuillEditor/index.mjs +231 -0
- package/dist/es/ReactTextGenerationUI/components/TextSiders/index.mjs +406 -0
- package/dist/es/ReactTextGenerationUI/components/fetchEventSource/fetch.mjs +112 -0
- package/dist/es/ReactTextGenerationUI/components/fetchEventSource/parse.mjs +97 -0
- package/dist/es/ReactTextGenerationUI/index.mjs +81 -0
- package/dist/es/_virtual/_commonjsHelpers.mjs +8 -0
- package/dist/es/_virtual/index.mjs +4 -0
- package/dist/es/_virtual/index2.mjs +4 -0
- package/dist/es/_virtual/index3.mjs +4 -0
- package/dist/es/_virtual/lib.mjs +4 -0
- package/dist/es/_virtual/prism-core.mjs +4 -0
- package/dist/es/_virtual/types.mjs +4 -0
- package/dist/es/_virtual/ua-parser.min.mjs +4 -0
- package/dist/es/_virtual/utilities.mjs +4 -0
- package/dist/es/assets/brand.svg.mjs +4 -0
- package/dist/es/assets/doc-icons/doc.svg.mjs +4 -0
- package/dist/es/assets/doc-icons/docx.svg.mjs +4 -0
- package/dist/es/assets/doc-icons/pdf.svg.mjs +4 -0
- package/dist/es/assets/icon.svg.mjs +4 -0
- package/dist/es/assets/think.svg.mjs +4 -0
- package/dist/es/components/FilePreview/index.mjs +83 -0
- package/dist/es/components/Greeting/index.mjs +30 -0
- package/dist/es/components/Iconfont/index.mjs +12 -0
- package/dist/es/components/JsonDisplay/index.mjs +15 -0
- package/dist/es/components/KnowledgeList/KnowledgeSelect/index.mjs +67 -0
- package/dist/es/components/KnowledgeList/index.mjs +73 -0
- package/dist/es/components/Recommend/RecommendItem.mjs +100 -0
- package/dist/es/components/Recommend/index.mjs +76 -0
- package/dist/es/components/Recommend/tip.svg.mjs +4 -0
- package/dist/es/components/Sider/index.mjs +24 -0
- package/dist/es/components/WebLink/index.mjs +26 -0
- package/dist/es/constant.mjs +123 -0
- package/dist/es/context/SessionContext.mjs +26 -0
- package/dist/es/context.mjs +7 -0
- package/dist/es/hooks/useSessionState.mjs +6 -0
- package/dist/es/index.mjs +534 -0
- package/dist/es/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.mjs +9 -0
- package/dist/es/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.mjs +8 -0
- package/dist/es/node_modules/@babel/runtime/helpers/esm/defineProperty.mjs +12 -0
- package/dist/es/node_modules/@babel/runtime/helpers/esm/extends.mjs +13 -0
- package/dist/es/node_modules/@babel/runtime/helpers/esm/iterableToArray.mjs +7 -0
- package/dist/es/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.mjs +7 -0
- package/dist/es/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.mjs +15 -0
- package/dist/es/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.mjs +15 -0
- package/dist/es/node_modules/@babel/runtime/helpers/esm/toConsumableArray.mjs +10 -0
- package/dist/es/node_modules/@babel/runtime/helpers/esm/toPrimitive.mjs +16 -0
- package/dist/es/node_modules/@babel/runtime/helpers/esm/toPropertyKey.mjs +9 -0
- package/dist/es/node_modules/@babel/runtime/helpers/esm/typeof.mjs +11 -0
- package/dist/es/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.mjs +12 -0
- package/dist/es/node_modules/@react-spring/animated/dist/react-spring-animated.esm.mjs +201 -0
- package/dist/es/node_modules/@react-spring/core/dist/react-spring-core.esm.mjs +1087 -0
- package/dist/es/node_modules/@react-spring/rafz/dist/react-spring-rafz.esm.mjs +104 -0
- package/dist/es/node_modules/@react-spring/shared/dist/react-spring-shared.esm.mjs +568 -0
- package/dist/es/node_modules/@react-spring/web/dist/react-spring-web.esm.mjs +158 -0
- package/dist/es/node_modules/@ungap/structured-clone/esm/deserialize.mjs +70 -0
- package/dist/es/node_modules/@ungap/structured-clone/esm/index.mjs +11 -0
- package/dist/es/node_modules/@ungap/structured-clone/esm/serialize.mjs +124 -0
- package/dist/es/node_modules/@ungap/structured-clone/esm/types.mjs +13 -0
- package/dist/es/node_modules/@use-gesture/core/dist/actions-fe213e88.esm.mjs +847 -0
- package/dist/es/node_modules/@use-gesture/core/dist/maths-0ab39ae9.esm.mjs +35 -0
- package/dist/es/node_modules/@use-gesture/core/dist/use-gesture-core.esm.mjs +226 -0
- package/dist/es/node_modules/@use-gesture/react/dist/use-gesture-react.esm.mjs +33 -0
- package/dist/es/node_modules/antd-mobile/es/components/config-provider/config-provider.mjs +20 -0
- package/dist/es/node_modules/antd-mobile/es/components/image-viewer/image-viewer.mjs +76 -0
- package/dist/es/node_modules/antd-mobile/es/components/image-viewer/index.mjs +13 -0
- package/dist/es/node_modules/antd-mobile/es/components/image-viewer/methods.mjs +34 -0
- package/dist/es/node_modules/antd-mobile/es/components/image-viewer/slide.mjs +178 -0
- package/dist/es/node_modules/antd-mobile/es/components/image-viewer/slides.mjs +83 -0
- package/dist/es/node_modules/antd-mobile/es/components/mask/index.mjs +4 -0
- package/dist/es/node_modules/antd-mobile/es/components/mask/mask.mjs +84 -0
- package/dist/es/node_modules/antd-mobile/es/components/safe-area/index.mjs +4 -0
- package/dist/es/node_modules/antd-mobile/es/components/safe-area/safe-area.mjs +9 -0
- package/dist/es/node_modules/antd-mobile/es/global/index.mjs +3 -0
- package/dist/es/node_modules/antd-mobile/es/locales/zh-CN.mjs +141 -0
- package/dist/es/node_modules/antd-mobile/es/utils/attach-properties-to-component.mjs +9 -0
- package/dist/es/node_modules/antd-mobile/es/utils/bound.mjs +7 -0
- package/dist/es/node_modules/antd-mobile/es/utils/can-use-dom.mjs +4 -0
- package/dist/es/node_modules/antd-mobile/es/utils/convert-px.mjs +9 -0
- package/dist/es/node_modules/antd-mobile/es/utils/get-container.mjs +6 -0
- package/dist/es/node_modules/antd-mobile/es/utils/get-scroll-parent.mjs +22 -0
- package/dist/es/node_modules/antd-mobile/es/utils/matrix.mjs +11 -0
- package/dist/es/node_modules/antd-mobile/es/utils/native-props.mjs +12 -0
- package/dist/es/node_modules/antd-mobile/es/utils/render-imperatively.mjs +47 -0
- package/dist/es/node_modules/antd-mobile/es/utils/render-to-body.mjs +12 -0
- package/dist/es/node_modules/antd-mobile/es/utils/render-to-container.mjs +13 -0
- package/dist/es/node_modules/antd-mobile/es/utils/render.mjs +52 -0
- package/dist/es/node_modules/antd-mobile/es/utils/rubberband.mjs +11 -0
- package/dist/es/node_modules/antd-mobile/es/utils/should-render.mjs +10 -0
- package/dist/es/node_modules/antd-mobile/es/utils/supports-passive.mjs +15 -0
- package/dist/es/node_modules/antd-mobile/es/utils/use-drag-and-pinch.mjs +6 -0
- package/dist/es/node_modules/antd-mobile/es/utils/use-initialized.mjs +8 -0
- package/dist/es/node_modules/antd-mobile/es/utils/use-lock-scroll.mjs +54 -0
- package/dist/es/node_modules/antd-mobile/es/utils/use-touch.mjs +32 -0
- package/dist/es/node_modules/antd-mobile/es/utils/with-default-props.mjs +11 -0
- package/dist/es/node_modules/antd-mobile/es/utils/with-stop-propagation.mjs +19 -0
- package/dist/es/node_modules/ccount/index.mjs +12 -0
- package/dist/es/node_modules/character-reference-invalid/index.json.mjs +33 -0
- package/dist/es/node_modules/comma-separated-tokens/index.mjs +18 -0
- package/dist/es/node_modules/decode-named-character-reference/index.dom.mjs +14 -0
- package/dist/es/node_modules/devlop/lib/default.mjs +8 -0
- package/dist/es/node_modules/estree-util-is-identifier-name/lib/index.mjs +7 -0
- package/dist/es/node_modules/extend/index.mjs +46 -0
- package/dist/es/node_modules/hast-util-from-dom/lib/index.mjs +93 -0
- package/dist/es/node_modules/hast-util-from-dom/node_modules/web-namespaces/index.mjs +11 -0
- package/dist/es/node_modules/hast-util-from-html-isomorphic/lib/browser.mjs +16 -0
- package/dist/es/node_modules/hast-util-from-parse5/lib/index.mjs +162 -0
- package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/index.mjs +12 -0
- package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/lib/aria.mjs +61 -0
- package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/lib/find.mjs +33 -0
- package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/lib/html.mjs +368 -0
- package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/lib/normalize.mjs +6 -0
- package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/lib/svg.mjs +566 -0
- package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/lib/util/case-insensitive-transform.mjs +7 -0
- package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/lib/util/case-sensitive-transform.mjs +6 -0
- package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/lib/util/create.mjs +14 -0
- package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/lib/util/defined-info.mjs +36 -0
- package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/lib/util/info.mjs +28 -0
- package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/lib/util/merge.mjs +10 -0
- package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/lib/util/schema.mjs +21 -0
- package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/lib/util/types.mjs +15 -0
- package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/lib/xlink.mjs +19 -0
- package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/lib/xml.mjs +15 -0
- package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/lib/xmlns.mjs +16 -0
- package/dist/es/node_modules/hast-util-from-parse5/node_modules/vfile-location/lib/index.mjs +47 -0
- package/dist/es/node_modules/hast-util-from-parse5/node_modules/web-namespaces/index.mjs +11 -0
- package/dist/es/node_modules/hast-util-is-element/lib/index.mjs +61 -0
- package/dist/es/node_modules/hast-util-parse-selector/index.mjs +14 -0
- package/dist/es/node_modules/hast-util-to-jsx-runtime/lib/index.mjs +298 -0
- package/dist/es/node_modules/hast-util-to-jsx-runtime/node_modules/property-information/index.mjs +12 -0
- package/dist/es/node_modules/hast-util-to-jsx-runtime/node_modules/property-information/lib/aria.mjs +61 -0
- package/dist/es/node_modules/hast-util-to-jsx-runtime/node_modules/property-information/lib/find.mjs +33 -0
- package/dist/es/node_modules/hast-util-to-jsx-runtime/node_modules/property-information/lib/hast-to-react.mjs +22 -0
- package/dist/es/node_modules/hast-util-to-jsx-runtime/node_modules/property-information/lib/html.mjs +368 -0
- package/dist/es/node_modules/hast-util-to-jsx-runtime/node_modules/property-information/lib/normalize.mjs +6 -0
- package/dist/es/node_modules/hast-util-to-jsx-runtime/node_modules/property-information/lib/svg.mjs +566 -0
- package/dist/es/node_modules/hast-util-to-jsx-runtime/node_modules/property-information/lib/util/case-insensitive-transform.mjs +7 -0
- package/dist/es/node_modules/hast-util-to-jsx-runtime/node_modules/property-information/lib/util/case-sensitive-transform.mjs +6 -0
- package/dist/es/node_modules/hast-util-to-jsx-runtime/node_modules/property-information/lib/util/create.mjs +14 -0
- package/dist/es/node_modules/hast-util-to-jsx-runtime/node_modules/property-information/lib/util/defined-info.mjs +36 -0
- package/dist/es/node_modules/hast-util-to-jsx-runtime/node_modules/property-information/lib/util/info.mjs +28 -0
- package/dist/es/node_modules/hast-util-to-jsx-runtime/node_modules/property-information/lib/util/merge.mjs +10 -0
- package/dist/es/node_modules/hast-util-to-jsx-runtime/node_modules/property-information/lib/util/schema.mjs +21 -0
- package/dist/es/node_modules/hast-util-to-jsx-runtime/node_modules/property-information/lib/util/types.mjs +15 -0
- package/dist/es/node_modules/hast-util-to-jsx-runtime/node_modules/property-information/lib/xlink.mjs +19 -0
- package/dist/es/node_modules/hast-util-to-jsx-runtime/node_modules/property-information/lib/xml.mjs +15 -0
- package/dist/es/node_modules/hast-util-to-jsx-runtime/node_modules/property-information/lib/xmlns.mjs +16 -0
- package/dist/es/node_modules/hast-util-to-text/lib/index.mjs +223 -0
- package/dist/es/node_modules/hast-util-whitespace/lib/index.mjs +10 -0
- package/dist/es/node_modules/hastscript/lib/create-h.mjs +126 -0
- package/dist/es/node_modules/hastscript/lib/index.mjs +8 -0
- package/dist/es/node_modules/hastscript/lib/svg-case-sensitive-tag-names.mjs +4 -0
- package/dist/es/node_modules/hastscript/node_modules/hast-util-parse-selector/lib/index.mjs +20 -0
- package/dist/es/node_modules/hastscript/node_modules/property-information/index.mjs +12 -0
- package/dist/es/node_modules/hastscript/node_modules/property-information/lib/aria.mjs +61 -0
- package/dist/es/node_modules/hastscript/node_modules/property-information/lib/find.mjs +33 -0
- package/dist/es/node_modules/hastscript/node_modules/property-information/lib/html.mjs +368 -0
- package/dist/es/node_modules/hastscript/node_modules/property-information/lib/normalize.mjs +6 -0
- package/dist/es/node_modules/hastscript/node_modules/property-information/lib/svg.mjs +566 -0
- package/dist/es/node_modules/hastscript/node_modules/property-information/lib/util/case-insensitive-transform.mjs +7 -0
- package/dist/es/node_modules/hastscript/node_modules/property-information/lib/util/case-sensitive-transform.mjs +6 -0
- package/dist/es/node_modules/hastscript/node_modules/property-information/lib/util/create.mjs +14 -0
- package/dist/es/node_modules/hastscript/node_modules/property-information/lib/util/defined-info.mjs +36 -0
- package/dist/es/node_modules/hastscript/node_modules/property-information/lib/util/info.mjs +28 -0
- package/dist/es/node_modules/hastscript/node_modules/property-information/lib/util/merge.mjs +10 -0
- package/dist/es/node_modules/hastscript/node_modules/property-information/lib/util/schema.mjs +21 -0
- package/dist/es/node_modules/hastscript/node_modules/property-information/lib/util/types.mjs +15 -0
- package/dist/es/node_modules/hastscript/node_modules/property-information/lib/xlink.mjs +19 -0
- package/dist/es/node_modules/hastscript/node_modules/property-information/lib/xml.mjs +15 -0
- package/dist/es/node_modules/hastscript/node_modules/property-information/lib/xmlns.mjs +16 -0
- package/dist/es/node_modules/html-url-attributes/lib/index.mjs +16 -0
- package/dist/es/node_modules/is-alphabetical/index.mjs +8 -0
- package/dist/es/node_modules/is-alphanumerical/index.mjs +9 -0
- package/dist/es/node_modules/is-decimal/index.mjs +8 -0
- package/dist/es/node_modules/is-hexadecimal/index.mjs +8 -0
- package/dist/es/node_modules/katex/dist/katex.mjs +11700 -0
- package/dist/es/node_modules/longest-streak/index.mjs +12 -0
- package/dist/es/node_modules/markdown-table/index.mjs +70 -0
- package/dist/es/node_modules/mdast-util-find-and-replace/lib/index.mjs +72 -0
- package/dist/es/node_modules/mdast-util-find-and-replace/node_modules/escape-string-regexp/index.mjs +8 -0
- package/dist/es/node_modules/mdast-util-from-markdown/lib/index.mjs +584 -0
- package/dist/es/node_modules/mdast-util-gfm/lib/index.mjs +17 -0
- package/dist/es/node_modules/mdast-util-gfm-autolink-literal/lib/index.mjs +136 -0
- package/dist/es/node_modules/mdast-util-gfm-footnote/lib/index.mjs +100 -0
- package/dist/es/node_modules/mdast-util-gfm-strikethrough/lib/index.mjs +61 -0
- package/dist/es/node_modules/mdast-util-gfm-table/lib/index.mjs +170 -0
- package/dist/es/node_modules/mdast-util-gfm-task-list-item/lib/index.mjs +72 -0
- package/dist/es/node_modules/mdast-util-math/lib/index.mjs +170 -0
- package/dist/es/node_modules/mdast-util-phrasing/lib/index.mjs +30 -0
- package/dist/es/node_modules/mdast-util-to-hast/lib/footer.mjs +123 -0
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/blockquote.mjs +12 -0
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/break.mjs +16 -0
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/code.mjs +25 -0
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/delete.mjs +12 -0
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/emphasis.mjs +12 -0
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.mjs +31 -0
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/heading.mjs +12 -0
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/html.mjs +12 -0
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/image-reference.mjs +22 -0
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/image.mjs +17 -0
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/index.mjs +58 -0
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/inline-code.mjs +17 -0
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/link-reference.mjs +21 -0
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/link.mjs +17 -0
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/list-item.mjs +65 -0
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/list.mjs +21 -0
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/paragraph.mjs +12 -0
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/root.mjs +10 -0
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/strong.mjs +12 -0
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/table-cell.mjs +13 -0
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/table-row.mjs +26 -0
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/table.mjs +35 -0
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/text.mjs +11 -0
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/thematic-break.mjs +12 -0
- package/dist/es/node_modules/mdast-util-to-hast/lib/index.mjs +19 -0
- package/dist/es/node_modules/mdast-util-to-hast/lib/revert.mjs +22 -0
- package/dist/es/node_modules/mdast-util-to-hast/lib/state.mjs +145 -0
- package/dist/es/node_modules/mdast-util-to-hast/node_modules/unist-util-visit/lib/index.mjs +16 -0
- package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/blockquote.mjs +12 -0
- package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/break.mjs +13 -0
- package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/code.mjs +49 -0
- package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/definition.mjs +37 -0
- package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/emphasis.mjs +37 -0
- package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/heading.mjs +44 -0
- package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/html.mjs +10 -0
- package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/image-reference.mjs +36 -0
- package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/image.mjs +40 -0
- package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/index.mjs +44 -0
- package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/inline-code.mjs +22 -0
- package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/link-reference.mjs +36 -0
- package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/link.mjs +50 -0
- package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/list-item.mjs +19 -0
- package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/list.mjs +35 -0
- package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/paragraph.mjs +7 -0
- package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/root.mjs +9 -0
- package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/strong.mjs +37 -0
- package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/text.mjs +6 -0
- package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/thematic-break.mjs +9 -0
- package/dist/es/node_modules/mdast-util-to-markdown/lib/util/check-bullet-ordered.mjs +9 -0
- package/dist/es/node_modules/mdast-util-to-markdown/lib/util/check-bullet-other.mjs +14 -0
- package/dist/es/node_modules/mdast-util-to-markdown/lib/util/check-bullet.mjs +9 -0
- package/dist/es/node_modules/mdast-util-to-markdown/lib/util/check-emphasis.mjs +9 -0
- package/dist/es/node_modules/mdast-util-to-markdown/lib/util/check-fence.mjs +9 -0
- package/dist/es/node_modules/mdast-util-to-markdown/lib/util/check-list-item-indent.mjs +9 -0
- package/dist/es/node_modules/mdast-util-to-markdown/lib/util/check-quote.mjs +9 -0
- package/dist/es/node_modules/mdast-util-to-markdown/lib/util/check-rule-repetition.mjs +9 -0
- package/dist/es/node_modules/mdast-util-to-markdown/lib/util/check-rule.mjs +9 -0
- package/dist/es/node_modules/mdast-util-to-markdown/lib/util/check-strong.mjs +9 -0
- package/dist/es/node_modules/mdast-util-to-markdown/lib/util/encode-character-reference.mjs +6 -0
- package/dist/es/node_modules/mdast-util-to-markdown/lib/util/encode-info.mjs +67 -0
- package/dist/es/node_modules/mdast-util-to-markdown/lib/util/format-code-as-indented.mjs +9 -0
- package/dist/es/node_modules/mdast-util-to-markdown/lib/util/format-heading-as-setext.mjs +13 -0
- package/dist/es/node_modules/mdast-util-to-markdown/lib/util/format-link-as-autolink.mjs +15 -0
- package/dist/es/node_modules/mdast-util-to-markdown/lib/util/pattern-in-scope.mjs +15 -0
- package/dist/es/node_modules/mdast-util-to-markdown/node_modules/unist-util-visit/lib/index.mjs +16 -0
- package/dist/es/node_modules/mdast-util-to-string/lib/index.mjs +29 -0
- package/dist/es/node_modules/micromark/lib/constructs.mjs +85 -0
- package/dist/es/node_modules/micromark/lib/create-tokenizer.mjs +225 -0
- package/dist/es/node_modules/micromark/lib/initialize/content.mjs +37 -0
- package/dist/es/node_modules/micromark/lib/initialize/document.mjs +133 -0
- package/dist/es/node_modules/micromark/lib/initialize/flow.mjs +33 -0
- package/dist/es/node_modules/micromark/lib/initialize/text.mjs +103 -0
- package/dist/es/node_modules/micromark/lib/parse.mjs +32 -0
- package/dist/es/node_modules/micromark/lib/postprocess.mjs +9 -0
- package/dist/es/node_modules/micromark/lib/preprocess.mjs +40 -0
- package/dist/es/node_modules/micromark-core-commonmark/lib/attention.mjs +74 -0
- package/dist/es/node_modules/micromark-core-commonmark/lib/autolink.mjs +43 -0
- package/dist/es/node_modules/micromark-core-commonmark/lib/blank-line.mjs +18 -0
- package/dist/es/node_modules/micromark-core-commonmark/lib/block-quote.mjs +42 -0
- package/dist/es/node_modules/micromark-core-commonmark/lib/character-escape.mjs +17 -0
- package/dist/es/node_modules/micromark-core-commonmark/lib/character-reference.mjs +30 -0
- package/dist/es/node_modules/micromark-core-commonmark/lib/code-fenced.mjs +94 -0
- package/dist/es/node_modules/micromark-core-commonmark/lib/code-indented.mjs +43 -0
- package/dist/es/node_modules/micromark-core-commonmark/lib/code-text.mjs +45 -0
- package/dist/es/node_modules/micromark-core-commonmark/lib/content.mjs +50 -0
- package/dist/es/node_modules/micromark-core-commonmark/lib/definition.mjs +80 -0
- package/dist/es/node_modules/micromark-core-commonmark/lib/hard-break-escape.mjs +17 -0
- package/dist/es/node_modules/micromark-core-commonmark/lib/heading-atx.mjs +46 -0
- package/dist/es/node_modules/micromark-core-commonmark/lib/html-flow.mjs +144 -0
- package/dist/es/node_modules/micromark-core-commonmark/lib/html-text.mjs +102 -0
- package/dist/es/node_modules/micromark-core-commonmark/lib/label-end.mjs +152 -0
- package/dist/es/node_modules/micromark-core-commonmark/lib/label-start-image.mjs +22 -0
- package/dist/es/node_modules/micromark-core-commonmark/lib/label-start-link.mjs +19 -0
- package/dist/es/node_modules/micromark-core-commonmark/lib/line-ending.mjs +14 -0
- package/dist/es/node_modules/micromark-core-commonmark/lib/list.mjs +90 -0
- package/dist/es/node_modules/micromark-core-commonmark/lib/setext-underline.mjs +62 -0
- package/dist/es/node_modules/micromark-core-commonmark/lib/thematic-break.mjs +25 -0
- package/dist/es/node_modules/micromark-extension-gfm/index.mjs +12 -0
- package/dist/es/node_modules/micromark-extension-gfm-autolink-literal/lib/syntax.mjs +193 -0
- package/dist/es/node_modules/micromark-extension-gfm-footnote/lib/syntax.mjs +192 -0
- package/dist/es/node_modules/micromark-extension-gfm-strikethrough/lib/syntax.mjs +68 -0
- package/dist/es/node_modules/micromark-extension-gfm-table/lib/edit-map.mjs +71 -0
- package/dist/es/node_modules/micromark-extension-gfm-table/lib/infer.mjs +24 -0
- package/dist/es/node_modules/micromark-extension-gfm-table/lib/syntax.mjs +147 -0
- package/dist/es/node_modules/micromark-extension-gfm-task-list-item/lib/syntax.mjs +45 -0
- package/dist/es/node_modules/micromark-extension-math/lib/math-flow.mjs +76 -0
- package/dist/es/node_modules/micromark-extension-math/lib/math-text.mjs +48 -0
- package/dist/es/node_modules/micromark-extension-math/lib/syntax.mjs +15 -0
- package/dist/es/node_modules/micromark-factory-destination/index.mjs +31 -0
- package/dist/es/node_modules/micromark-factory-label/index.mjs +28 -0
- package/dist/es/node_modules/micromark-factory-space/index.mjs +15 -0
- package/dist/es/node_modules/micromark-factory-title/index.mjs +26 -0
- package/dist/es/node_modules/micromark-factory-whitespace/index.mjs +12 -0
- package/dist/es/node_modules/micromark-util-character/index.mjs +39 -0
- package/dist/es/node_modules/micromark-util-chunked/index.mjs +16 -0
- package/dist/es/node_modules/micromark-util-classify-character/index.mjs +10 -0
- package/dist/es/node_modules/micromark-util-combine-extensions/index.mjs +36 -0
- package/dist/es/node_modules/micromark-util-decode-numeric-character-reference/index.mjs +16 -0
- package/dist/es/node_modules/micromark-util-decode-string/index.mjs +18 -0
- package/dist/es/node_modules/micromark-util-html-tag-name/index.mjs +5 -0
- package/dist/es/node_modules/micromark-util-normalize-identifier/index.mjs +6 -0
- package/dist/es/node_modules/micromark-util-resolve-all/index.mjs +12 -0
- package/dist/es/node_modules/micromark-util-sanitize-uri/index.mjs +23 -0
- package/dist/es/node_modules/micromark-util-subtokenize/index.mjs +65 -0
- package/dist/es/node_modules/micromark-util-subtokenize/lib/splice-buffer.mjs +175 -0
- package/dist/es/node_modules/moment/dist/moment.mjs +2301 -0
- package/dist/es/node_modules/parse-entities/decode-entity.browser.mjs +8 -0
- package/dist/es/node_modules/parse-entities/index.mjs +83 -0
- package/dist/es/node_modules/parse-entities/node_modules/character-entities-legacy/index.json.mjs +217 -0
- package/dist/es/node_modules/property-information/find.mjs +25 -0
- package/dist/es/node_modules/property-information/html.mjs +10 -0
- package/dist/es/node_modules/property-information/lib/aria.mjs +63 -0
- package/dist/es/node_modules/property-information/lib/html.mjs +354 -0
- package/dist/es/node_modules/property-information/lib/util/case-insensitive-transform.mjs +8 -0
- package/dist/es/node_modules/property-information/lib/util/case-sensitive-transform.mjs +7 -0
- package/dist/es/node_modules/property-information/lib/util/create.mjs +13 -0
- package/dist/es/node_modules/property-information/lib/util/defined-info.mjs +18 -0
- package/dist/es/node_modules/property-information/lib/util/info.mjs +19 -0
- package/dist/es/node_modules/property-information/lib/util/merge.mjs +11 -0
- package/dist/es/node_modules/property-information/lib/util/schema.mjs +10 -0
- package/dist/es/node_modules/property-information/lib/util/types.mjs +15 -0
- package/dist/es/node_modules/property-information/lib/xlink.mjs +20 -0
- package/dist/es/node_modules/property-information/lib/xml.mjs +16 -0
- package/dist/es/node_modules/property-information/lib/xmlns.mjs +16 -0
- package/dist/es/node_modules/property-information/normalize.mjs +7 -0
- package/dist/es/node_modules/react-device-detect/dist/lib.mjs +723 -0
- package/dist/es/node_modules/react-markdown/lib/index.mjs +153 -0
- package/dist/es/node_modules/react-markdown/node_modules/remark-parse/lib/index.mjs +29 -0
- package/dist/es/node_modules/react-markdown/node_modules/unist-util-visit/lib/index.mjs +16 -0
- package/dist/es/node_modules/react-syntax-highlighter/dist/esm/checkForListedLanguage.mjs +7 -0
- package/dist/es/node_modules/react-syntax-highlighter/dist/esm/create-element.mjs +101 -0
- package/dist/es/node_modules/react-syntax-highlighter/dist/esm/highlight.mjs +283 -0
- package/dist/es/node_modules/react-syntax-highlighter/dist/esm/languages/prism/supported-languages.mjs +4 -0
- package/dist/es/node_modules/react-syntax-highlighter/dist/esm/prism.mjs +10 -0
- package/dist/es/node_modules/react-syntax-highlighter/dist/esm/styles/prism/prism.mjs +195 -0
- package/dist/es/node_modules/refractor/core.mjs +111 -0
- package/dist/es/node_modules/refractor/index.mjs +553 -0
- package/dist/es/node_modules/refractor/lang/abap.mjs +60 -0
- package/dist/es/node_modules/refractor/lang/abnf.mjs +63 -0
- package/dist/es/node_modules/refractor/lang/actionscript.mjs +22 -0
- package/dist/es/node_modules/refractor/lang/ada.mjs +28 -0
- package/dist/es/node_modules/refractor/lang/agda.mjs +35 -0
- package/dist/es/node_modules/refractor/lang/al.mjs +35 -0
- package/dist/es/node_modules/refractor/lang/antlr4.mjs +72 -0
- package/dist/es/node_modules/refractor/lang/apacheconf.mjs +59 -0
- package/dist/es/node_modules/refractor/lang/apex.mjs +69 -0
- package/dist/es/node_modules/refractor/lang/apl.mjs +44 -0
- package/dist/es/node_modules/refractor/lang/applescript.mjs +26 -0
- package/dist/es/node_modules/refractor/lang/aql.mjs +57 -0
- package/dist/es/node_modules/refractor/lang/arduino.mjs +20 -0
- package/dist/es/node_modules/refractor/lang/arff.mjs +22 -0
- package/dist/es/node_modules/refractor/lang/asciidoc.mjs +208 -0
- package/dist/es/node_modules/refractor/lang/asm6502.mjs +41 -0
- package/dist/es/node_modules/refractor/lang/asmatmel.mjs +53 -0
- package/dist/es/node_modules/refractor/lang/aspnet.mjs +53 -0
- package/dist/es/node_modules/refractor/lang/autohotkey.mjs +40 -0
- package/dist/es/node_modules/refractor/lang/autoit.mjs +43 -0
- package/dist/es/node_modules/refractor/lang/avisynth.mjs +167 -0
- package/dist/es/node_modules/refractor/lang/avro-idl.mjs +50 -0
- package/dist/es/node_modules/refractor/lang/bash.mjs +206 -0
- package/dist/es/node_modules/refractor/lang/basic.mjs +29 -0
- package/dist/es/node_modules/refractor/lang/batch.mjs +95 -0
- package/dist/es/node_modules/refractor/lang/bbcode.mjs +36 -0
- package/dist/es/node_modules/refractor/lang/bicep.mjs +72 -0
- package/dist/es/node_modules/refractor/lang/birb.mjs +32 -0
- package/dist/es/node_modules/refractor/lang/bison.mjs +52 -0
- package/dist/es/node_modules/refractor/lang/bnf.mjs +31 -0
- package/dist/es/node_modules/refractor/lang/brainfuck.mjs +32 -0
- package/dist/es/node_modules/refractor/lang/brightscript.mjs +55 -0
- package/dist/es/node_modules/refractor/lang/bro.mjs +39 -0
- package/dist/es/node_modules/refractor/lang/bsl.mjs +77 -0
- package/dist/es/node_modules/refractor/lang/c.mjs +78 -0
- package/dist/es/node_modules/refractor/lang/cfscript.mjs +44 -0
- package/dist/es/node_modules/refractor/lang/chaiscript.mjs +65 -0
- package/dist/es/node_modules/refractor/lang/cil.mjs +31 -0
- package/dist/es/node_modules/refractor/lang/clike.mjs +36 -0
- package/dist/es/node_modules/refractor/lang/clojure.mjs +42 -0
- package/dist/es/node_modules/refractor/lang/cmake.mjs +41 -0
- package/dist/es/node_modules/refractor/lang/cobol.mjs +58 -0
- package/dist/es/node_modules/refractor/lang/coffeescript.mjs +86 -0
- package/dist/es/node_modules/refractor/lang/concurnas.mjs +69 -0
- package/dist/es/node_modules/refractor/lang/coq.mjs +52 -0
- package/dist/es/node_modules/refractor/lang/cpp.mjs +98 -0
- package/dist/es/node_modules/refractor/lang/crystal.mjs +63 -0
- package/dist/es/node_modules/refractor/lang/csharp.mjs +277 -0
- package/dist/es/node_modules/refractor/lang/cshtml.mjs +104 -0
- package/dist/es/node_modules/refractor/lang/csp.mjs +61 -0
- package/dist/es/node_modules/refractor/lang/css-extras.mjs +109 -0
- package/dist/es/node_modules/refractor/lang/css.mjs +63 -0
- package/dist/es/node_modules/refractor/lang/csv.mjs +16 -0
- package/dist/es/node_modules/refractor/lang/cypher.mjs +44 -0
- package/dist/es/node_modules/refractor/lang/d.mjs +77 -0
- package/dist/es/node_modules/refractor/lang/dart.mjs +72 -0
- package/dist/es/node_modules/refractor/lang/dataweave.mjs +49 -0
- package/dist/es/node_modules/refractor/lang/dax.mjs +39 -0
- package/dist/es/node_modules/refractor/lang/dhall.mjs +74 -0
- package/dist/es/node_modules/refractor/lang/diff.mjs +54 -0
- package/dist/es/node_modules/refractor/lang/django.mjs +60 -0
- package/dist/es/node_modules/refractor/lang/dns-zone-file.mjs +40 -0
- package/dist/es/node_modules/refractor/lang/docker.mjs +83 -0
- package/dist/es/node_modules/refractor/lang/dot.mjs +75 -0
- package/dist/es/node_modules/refractor/lang/ebnf.mjs +32 -0
- package/dist/es/node_modules/refractor/lang/editorconfig.mjs +39 -0
- package/dist/es/node_modules/refractor/lang/eiffel.mjs +46 -0
- package/dist/es/node_modules/refractor/lang/ejs.mjs +33 -0
- package/dist/es/node_modules/refractor/lang/elixir.mjs +100 -0
- package/dist/es/node_modules/refractor/lang/elm.mjs +54 -0
- package/dist/es/node_modules/refractor/lang/erb.mjs +35 -0
- package/dist/es/node_modules/refractor/lang/erlang.mjs +47 -0
- package/dist/es/node_modules/refractor/lang/etlua.mjs +33 -0
- package/dist/es/node_modules/refractor/lang/excel-formula.mjs +74 -0
- package/dist/es/node_modules/refractor/lang/factor.mjs +569 -0
- package/dist/es/node_modules/refractor/lang/false.mjs +39 -0
- package/dist/es/node_modules/refractor/lang/firestore-security-rules.mjs +43 -0
- package/dist/es/node_modules/refractor/lang/flow.mjs +31 -0
- package/dist/es/node_modules/refractor/lang/fortran.mjs +49 -0
- package/dist/es/node_modules/refractor/lang/fsharp.mjs +76 -0
- package/dist/es/node_modules/refractor/lang/ftl.mjs +102 -0
- package/dist/es/node_modules/refractor/lang/gap.mjs +57 -0
- package/dist/es/node_modules/refractor/lang/gcode.mjs +28 -0
- package/dist/es/node_modules/refractor/lang/gdscript.mjs +36 -0
- package/dist/es/node_modules/refractor/lang/gedcom.mjs +40 -0
- package/dist/es/node_modules/refractor/lang/gherkin.mjs +94 -0
- package/dist/es/node_modules/refractor/lang/git.mjs +75 -0
- package/dist/es/node_modules/refractor/lang/glsl.mjs +18 -0
- package/dist/es/node_modules/refractor/lang/gml.mjs +19 -0
- package/dist/es/node_modules/refractor/lang/gn.mjs +55 -0
- package/dist/es/node_modules/refractor/lang/go-module.mjs +34 -0
- package/dist/es/node_modules/refractor/lang/go.mjs +36 -0
- package/dist/es/node_modules/refractor/lang/graphql.mjs +133 -0
- package/dist/es/node_modules/refractor/lang/groovy.mjs +58 -0
- package/dist/es/node_modules/refractor/lang/haml.mjs +132 -0
- package/dist/es/node_modules/refractor/lang/handlebars.mjs +46 -0
- package/dist/es/node_modules/refractor/lang/haskell.mjs +76 -0
- package/dist/es/node_modules/refractor/lang/haxe.mjs +84 -0
- package/dist/es/node_modules/refractor/lang/hcl.mjs +68 -0
- package/dist/es/node_modules/refractor/lang/hlsl.mjs +31 -0
- package/dist/es/node_modules/refractor/lang/hoon.mjs +26 -0
- package/dist/es/node_modules/refractor/lang/hpkp.mjs +20 -0
- package/dist/es/node_modules/refractor/lang/hsts.mjs +20 -0
- package/dist/es/node_modules/refractor/lang/http.mjs +126 -0
- package/dist/es/node_modules/refractor/lang/ichigojam.mjs +25 -0
- package/dist/es/node_modules/refractor/lang/icon.mjs +32 -0
- package/dist/es/node_modules/refractor/lang/icu-message-format.mjs +136 -0
- package/dist/es/node_modules/refractor/lang/idris.mjs +30 -0
- package/dist/es/node_modules/refractor/lang/iecst.mjs +38 -0
- package/dist/es/node_modules/refractor/lang/ignore.mjs +30 -0
- package/dist/es/node_modules/refractor/lang/inform7.mjs +69 -0
- package/dist/es/node_modules/refractor/lang/ini.mjs +52 -0
- package/dist/es/node_modules/refractor/lang/io.mjs +34 -0
- package/dist/es/node_modules/refractor/lang/j.mjs +40 -0
- package/dist/es/node_modules/refractor/lang/java.mjs +86 -0
- package/dist/es/node_modules/refractor/lang/javadoc.mjs +89 -0
- package/dist/es/node_modules/refractor/lang/javadoclike.mjs +60 -0
- package/dist/es/node_modules/refractor/lang/javascript.mjs +114 -0
- package/dist/es/node_modules/refractor/lang/javastacktrace.mjs +146 -0
- package/dist/es/node_modules/refractor/lang/jexl.mjs +26 -0
- package/dist/es/node_modules/refractor/lang/jolie.mjs +51 -0
- package/dist/es/node_modules/refractor/lang/jq.mjs +71 -0
- package/dist/es/node_modules/refractor/lang/js-extras.mjs +104 -0
- package/dist/es/node_modules/refractor/lang/js-templates.mjs +153 -0
- package/dist/es/node_modules/refractor/lang/jsdoc.mjs +83 -0
- package/dist/es/node_modules/refractor/lang/json.mjs +36 -0
- package/dist/es/node_modules/refractor/lang/json5.mjs +32 -0
- package/dist/es/node_modules/refractor/lang/jsonp.mjs +20 -0
- package/dist/es/node_modules/refractor/lang/jsstacktrace.mjs +53 -0
- package/dist/es/node_modules/refractor/lang/jsx.mjs +61 -0
- package/dist/es/node_modules/refractor/lang/julia.mjs +47 -0
- package/dist/es/node_modules/refractor/lang/keepalived.mjs +54 -0
- package/dist/es/node_modules/refractor/lang/keyman.mjs +55 -0
- package/dist/es/node_modules/refractor/lang/kotlin.mjs +81 -0
- package/dist/es/node_modules/refractor/lang/kumir.mjs +85 -0
- package/dist/es/node_modules/refractor/lang/kusto.mjs +47 -0
- package/dist/es/node_modules/refractor/lang/latex.mjs +68 -0
- package/dist/es/node_modules/refractor/lang/latte.mjs +68 -0
- package/dist/es/node_modules/refractor/lang/less.mjs +51 -0
- package/dist/es/node_modules/refractor/lang/lilypond.mjs +77 -0
- package/dist/es/node_modules/refractor/lang/liquid.mjs +68 -0
- package/dist/es/node_modules/refractor/lang/lisp.mjs +158 -0
- package/dist/es/node_modules/refractor/lang/livescript.mjs +119 -0
- package/dist/es/node_modules/refractor/lang/llvm.mjs +31 -0
- package/dist/es/node_modules/refractor/lang/log.mjs +103 -0
- package/dist/es/node_modules/refractor/lang/lolcode.mjs +57 -0
- package/dist/es/node_modules/refractor/lang/lua.mjs +29 -0
- package/dist/es/node_modules/refractor/lang/magma.mjs +42 -0
- package/dist/es/node_modules/refractor/lang/makefile.mjs +42 -0
- package/dist/es/node_modules/refractor/lang/markdown.mjs +306 -0
- package/dist/es/node_modules/refractor/lang/markup-templating.mjs +74 -0
- package/dist/es/node_modules/refractor/lang/markup.mjs +154 -0
- package/dist/es/node_modules/refractor/lang/matlab.mjs +25 -0
- package/dist/es/node_modules/refractor/lang/maxscript.mjs +70 -0
- package/dist/es/node_modules/refractor/lang/mel.mjs +49 -0
- package/dist/es/node_modules/refractor/lang/mermaid.mjs +116 -0
- package/dist/es/node_modules/refractor/lang/mizar.mjs +24 -0
- package/dist/es/node_modules/refractor/lang/mongodb.mjs +287 -0
- package/dist/es/node_modules/refractor/lang/monkey.mjs +40 -0
- package/dist/es/node_modules/refractor/lang/moonscript.mjs +63 -0
- package/dist/es/node_modules/refractor/lang/n1ql.mjs +34 -0
- package/dist/es/node_modules/refractor/lang/n4js.mjs +22 -0
- package/dist/es/node_modules/refractor/lang/nand2tetris-hdl.mjs +21 -0
- package/dist/es/node_modules/refractor/lang/naniscript.mjs +140 -0
- package/dist/es/node_modules/refractor/lang/nasm.mjs +31 -0
- package/dist/es/node_modules/refractor/lang/neon.mjs +52 -0
- package/dist/es/node_modules/refractor/lang/nevod.mjs +125 -0
- package/dist/es/node_modules/refractor/lang/nginx.mjs +61 -0
- package/dist/es/node_modules/refractor/lang/nim.mjs +54 -0
- package/dist/es/node_modules/refractor/lang/nix.mjs +45 -0
- package/dist/es/node_modules/refractor/lang/nsis.mjs +37 -0
- package/dist/es/node_modules/refractor/lang/objectivec.mjs +23 -0
- package/dist/es/node_modules/refractor/lang/ocaml.mjs +64 -0
- package/dist/es/node_modules/refractor/lang/opencl.mjs +62 -0
- package/dist/es/node_modules/refractor/lang/openqasm.mjs +29 -0
- package/dist/es/node_modules/refractor/lang/oz.mjs +37 -0
- package/dist/es/node_modules/refractor/lang/parigp.mjs +36 -0
- package/dist/es/node_modules/refractor/lang/parser.mjs +80 -0
- package/dist/es/node_modules/refractor/lang/pascal.mjs +66 -0
- package/dist/es/node_modules/refractor/lang/pascaligo.mjs +70 -0
- package/dist/es/node_modules/refractor/lang/pcaxis.mjs +63 -0
- package/dist/es/node_modules/refractor/lang/peoplecode.mjs +51 -0
- package/dist/es/node_modules/refractor/lang/perl.mjs +134 -0
- package/dist/es/node_modules/refractor/lang/php-extras.mjs +29 -0
- package/dist/es/node_modules/refractor/lang/php.mjs +301 -0
- package/dist/es/node_modules/refractor/lang/phpdoc.mjs +34 -0
- package/dist/es/node_modules/refractor/lang/plsql.mjs +30 -0
- package/dist/es/node_modules/refractor/lang/powerquery.mjs +44 -0
- package/dist/es/node_modules/refractor/lang/powershell.mjs +58 -0
- package/dist/es/node_modules/refractor/lang/processing.mjs +25 -0
- package/dist/es/node_modules/refractor/lang/prolog.mjs +31 -0
- package/dist/es/node_modules/refractor/lang/promql.mjs +74 -0
- package/dist/es/node_modules/refractor/lang/properties.mjs +21 -0
- package/dist/es/node_modules/refractor/lang/protobuf.mjs +47 -0
- package/dist/es/node_modules/refractor/lang/psl.mjs +47 -0
- package/dist/es/node_modules/refractor/lang/pug.mjs +173 -0
- package/dist/es/node_modules/refractor/lang/puppet.mjs +140 -0
- package/dist/es/node_modules/refractor/lang/pure.mjs +72 -0
- package/dist/es/node_modules/refractor/lang/purebasic.mjs +63 -0
- package/dist/es/node_modules/refractor/lang/purescript.mjs +41 -0
- package/dist/es/node_modules/refractor/lang/python.mjs +73 -0
- package/dist/es/node_modules/refractor/lang/q.mjs +62 -0
- package/dist/es/node_modules/refractor/lang/qml.mjs +67 -0
- package/dist/es/node_modules/refractor/lang/qore.mjs +32 -0
- package/dist/es/node_modules/refractor/lang/qsharp.mjs +93 -0
- package/dist/es/node_modules/refractor/lang/r.mjs +31 -0
- package/dist/es/node_modules/refractor/lang/racket.mjs +29 -0
- package/dist/es/node_modules/refractor/lang/reason.mjs +33 -0
- package/dist/es/node_modules/refractor/lang/regex.mjs +97 -0
- package/dist/es/node_modules/refractor/lang/rego.mjs +37 -0
- package/dist/es/node_modules/refractor/lang/renpy.mjs +30 -0
- package/dist/es/node_modules/refractor/lang/rest.mjs +199 -0
- package/dist/es/node_modules/refractor/lang/rip.mjs +41 -0
- package/dist/es/node_modules/refractor/lang/roboconf.mjs +39 -0
- package/dist/es/node_modules/refractor/lang/robotframework.mjs +95 -0
- package/dist/es/node_modules/refractor/lang/ruby.mjs +159 -0
- package/dist/es/node_modules/refractor/lang/rust.mjs +122 -0
- package/dist/es/node_modules/refractor/lang/sas.mjs +305 -0
- package/dist/es/node_modules/refractor/lang/sass.mjs +69 -0
- package/dist/es/node_modules/refractor/lang/scala.mjs +59 -0
- package/dist/es/node_modules/refractor/lang/scheme.mjs +120 -0
- package/dist/es/node_modules/refractor/lang/scss.mjs +82 -0
- package/dist/es/node_modules/refractor/lang/shell-session.mjs +69 -0
- package/dist/es/node_modules/refractor/lang/smali.mjs +84 -0
- package/dist/es/node_modules/refractor/lang/smalltalk.mjs +47 -0
- package/dist/es/node_modules/refractor/lang/smarty.mjs +106 -0
- package/dist/es/node_modules/refractor/lang/sml.mjs +64 -0
- package/dist/es/node_modules/refractor/lang/solidity.mjs +28 -0
- package/dist/es/node_modules/refractor/lang/solution-file.mjs +58 -0
- package/dist/es/node_modules/refractor/lang/soy.mjs +77 -0
- package/dist/es/node_modules/refractor/lang/sparql.mjs +24 -0
- package/dist/es/node_modules/refractor/lang/splunk-spl.mjs +36 -0
- package/dist/es/node_modules/refractor/lang/sqf.mjs +42 -0
- package/dist/es/node_modules/refractor/lang/sql.mjs +42 -0
- package/dist/es/node_modules/refractor/lang/squirrel.mjs +50 -0
- package/dist/es/node_modules/refractor/lang/stan.mjs +63 -0
- package/dist/es/node_modules/refractor/lang/stylus.mjs +141 -0
- package/dist/es/node_modules/refractor/lang/swift.mjs +125 -0
- package/dist/es/node_modules/refractor/lang/systemd.mjs +65 -0
- package/dist/es/node_modules/refractor/lang/t4-cs.mjs +17 -0
- package/dist/es/node_modules/refractor/lang/t4-templating.mjs +57 -0
- package/dist/es/node_modules/refractor/lang/t4-vb.mjs +17 -0
- package/dist/es/node_modules/refractor/lang/tap.mjs +35 -0
- package/dist/es/node_modules/refractor/lang/tcl.mjs +51 -0
- package/dist/es/node_modules/refractor/lang/textile.mjs +248 -0
- package/dist/es/node_modules/refractor/lang/toml.mjs +54 -0
- package/dist/es/node_modules/refractor/lang/tremor.mjs +67 -0
- package/dist/es/node_modules/refractor/lang/tsx.mjs +22 -0
- package/dist/es/node_modules/refractor/lang/tt2.mjs +53 -0
- package/dist/es/node_modules/refractor/lang/turtle.mjs +62 -0
- package/dist/es/node_modules/refractor/lang/twig.mjs +48 -0
- package/dist/es/node_modules/refractor/lang/typescript.mjs +57 -0
- package/dist/es/node_modules/refractor/lang/typoscript.mjs +81 -0
- package/dist/es/node_modules/refractor/lang/unrealscript.mjs +50 -0
- package/dist/es/node_modules/refractor/lang/uorazor.mjs +57 -0
- package/dist/es/node_modules/refractor/lang/uri.mjs +92 -0
- package/dist/es/node_modules/refractor/lang/v.mjs +85 -0
- package/dist/es/node_modules/refractor/lang/vala.mjs +87 -0
- package/dist/es/node_modules/refractor/lang/vbnet.mjs +34 -0
- package/dist/es/node_modules/refractor/lang/velocity.mjs +75 -0
- package/dist/es/node_modules/refractor/lang/verilog.mjs +38 -0
- package/dist/es/node_modules/refractor/lang/vhdl.mjs +35 -0
- package/dist/es/node_modules/refractor/lang/vim.mjs +22 -0
- package/dist/es/node_modules/refractor/lang/visual-basic.mjs +38 -0
- package/dist/es/node_modules/refractor/lang/warpscript.mjs +33 -0
- package/dist/es/node_modules/refractor/lang/wasm.mjs +36 -0
- package/dist/es/node_modules/refractor/lang/web-idl.mjs +89 -0
- package/dist/es/node_modules/refractor/lang/wiki.mjs +86 -0
- package/dist/es/node_modules/refractor/lang/wolfram.mjs +37 -0
- package/dist/es/node_modules/refractor/lang/wren.mjs +97 -0
- package/dist/es/node_modules/refractor/lang/xeora.mjs +121 -0
- package/dist/es/node_modules/refractor/lang/xml-doc.mjs +35 -0
- package/dist/es/node_modules/refractor/lang/xojo.mjs +30 -0
- package/dist/es/node_modules/refractor/lang/xquery.mjs +89 -0
- package/dist/es/node_modules/refractor/lang/yaml.mjs +78 -0
- package/dist/es/node_modules/refractor/lang/yang.mjs +32 -0
- package/dist/es/node_modules/refractor/lang/zig.mjs +80 -0
- package/dist/es/node_modules/refractor/node_modules/comma-separated-tokens/index.mjs +16 -0
- package/dist/es/node_modules/refractor/node_modules/hastscript/factory.mjs +77 -0
- package/dist/es/node_modules/refractor/node_modules/hastscript/html.mjs +8 -0
- package/dist/es/node_modules/refractor/node_modules/hastscript/index.mjs +5 -0
- package/dist/es/node_modules/refractor/node_modules/prismjs/components/prism-core.mjs +720 -0
- package/dist/es/node_modules/refractor/node_modules/space-separated-tokens/index.mjs +14 -0
- package/dist/es/node_modules/rehype-external-links/lib/index.mjs +34 -0
- package/dist/es/node_modules/rehype-external-links/node_modules/is-absolute-url/index.mjs +9 -0
- package/dist/es/node_modules/rehype-external-links/node_modules/unist-util-visit/lib/index.mjs +16 -0
- package/dist/es/node_modules/rehype-katex/lib/index.mjs +83 -0
- package/dist/es/node_modules/rehype-raw/lib/index.mjs +26 -0
- package/dist/es/node_modules/rehype-raw/node_modules/entities/dist/esm/decode-codepoint.mjs +38 -0
- package/dist/es/node_modules/rehype-raw/node_modules/entities/dist/esm/decode.mjs +251 -0
- package/dist/es/node_modules/rehype-raw/node_modules/entities/dist/esm/generated/decode-data-html.mjs +7 -0
- package/dist/es/node_modules/rehype-raw/node_modules/hast-util-raw/lib/index.mjs +249 -0
- package/dist/es/node_modules/rehype-raw/node_modules/hast-util-to-parse5/lib/index.mjs +125 -0
- package/dist/es/node_modules/rehype-raw/node_modules/html-void-elements/index.mjs +4 -0
- package/dist/es/node_modules/rehype-raw/node_modules/parse5/dist/common/doctype.mjs +34 -0
- package/dist/es/node_modules/rehype-raw/node_modules/parse5/dist/common/error-codes.mjs +7 -0
- package/dist/es/node_modules/rehype-raw/node_modules/parse5/dist/common/foreign-content.mjs +103 -0
- package/dist/es/node_modules/rehype-raw/node_modules/parse5/dist/common/html.mjs +44 -0
- package/dist/es/node_modules/rehype-raw/node_modules/parse5/dist/common/token.mjs +14 -0
- package/dist/es/node_modules/rehype-raw/node_modules/parse5/dist/common/unicode.mjs +38 -0
- package/dist/es/node_modules/rehype-raw/node_modules/parse5/dist/parser/formatting-element-list.mjs +91 -0
- package/dist/es/node_modules/rehype-raw/node_modules/parse5/dist/parser/index.mjs +2308 -0
- package/dist/es/node_modules/rehype-raw/node_modules/parse5/dist/parser/open-element-stack.mjs +220 -0
- package/dist/es/node_modules/rehype-raw/node_modules/parse5/dist/serializer/index.mjs +2 -0
- package/dist/es/node_modules/rehype-raw/node_modules/parse5/dist/tokenizer/index.mjs +1948 -0
- package/dist/es/node_modules/rehype-raw/node_modules/parse5/dist/tokenizer/preprocessor.mjs +92 -0
- package/dist/es/node_modules/rehype-raw/node_modules/parse5/dist/tree-adapters/default.mjs +173 -0
- package/dist/es/node_modules/rehype-raw/node_modules/property-information/index.mjs +12 -0
- package/dist/es/node_modules/rehype-raw/node_modules/property-information/lib/aria.mjs +61 -0
- package/dist/es/node_modules/rehype-raw/node_modules/property-information/lib/find.mjs +33 -0
- package/dist/es/node_modules/rehype-raw/node_modules/property-information/lib/html.mjs +368 -0
- package/dist/es/node_modules/rehype-raw/node_modules/property-information/lib/normalize.mjs +6 -0
- package/dist/es/node_modules/rehype-raw/node_modules/property-information/lib/svg.mjs +566 -0
- package/dist/es/node_modules/rehype-raw/node_modules/property-information/lib/util/case-insensitive-transform.mjs +7 -0
- package/dist/es/node_modules/rehype-raw/node_modules/property-information/lib/util/case-sensitive-transform.mjs +6 -0
- package/dist/es/node_modules/rehype-raw/node_modules/property-information/lib/util/create.mjs +17 -0
- package/dist/es/node_modules/rehype-raw/node_modules/property-information/lib/util/defined-info.mjs +27 -0
- package/dist/es/node_modules/rehype-raw/node_modules/property-information/lib/util/info.mjs +23 -0
- package/dist/es/node_modules/rehype-raw/node_modules/property-information/lib/util/merge.mjs +11 -0
- package/dist/es/node_modules/rehype-raw/node_modules/property-information/lib/util/schema.mjs +17 -0
- package/dist/es/node_modules/rehype-raw/node_modules/property-information/lib/util/types.mjs +15 -0
- package/dist/es/node_modules/rehype-raw/node_modules/property-information/lib/xlink.mjs +19 -0
- package/dist/es/node_modules/rehype-raw/node_modules/property-information/lib/xml.mjs +15 -0
- package/dist/es/node_modules/rehype-raw/node_modules/property-information/lib/xmlns.mjs +16 -0
- package/dist/es/node_modules/rehype-raw/node_modules/unist-util-visit/lib/index.mjs +16 -0
- package/dist/es/node_modules/rehype-raw/node_modules/web-namespaces/index.mjs +11 -0
- package/dist/es/node_modules/remark-gfm/lib/index.mjs +13 -0
- package/dist/es/node_modules/remark-math/lib/index.mjs +13 -0
- package/dist/es/node_modules/remark-rehype/lib/index.mjs +51 -0
- package/dist/es/node_modules/space-separated-tokens/index.mjs +11 -0
- package/dist/es/node_modules/style-to-js/cjs/index.mjs +22 -0
- package/dist/es/node_modules/style-to-js/cjs/utilities.mjs +18 -0
- package/dist/es/node_modules/style-to-js/node_modules/inline-style-parser/index.mjs +93 -0
- package/dist/es/node_modules/style-to-js/node_modules/style-to-object/cjs/index.mjs +25 -0
- package/dist/es/node_modules/trim-lines/index.mjs +25 -0
- package/dist/es/node_modules/tslib/tslib.es6.mjs +30 -0
- package/dist/es/node_modules/ua-parser-js/dist/ua-parser.min.mjs +123 -0
- package/dist/es/node_modules/unified/lib/callable-instance.mjs +25 -0
- package/dist/es/node_modules/unified/lib/index.mjs +525 -0
- package/dist/es/node_modules/unified/node_modules/bail/index.mjs +7 -0
- package/dist/es/node_modules/unified/node_modules/is-plain-obj/index.mjs +9 -0
- package/dist/es/node_modules/unified/node_modules/trough/lib/index.mjs +61 -0
- package/dist/es/node_modules/unist-util-find-after/lib/index.mjs +32 -0
- package/dist/es/node_modules/unist-util-is/lib/index.mjs +81 -0
- package/dist/es/node_modules/unist-util-position/lib/index.mjs +26 -0
- package/dist/es/node_modules/unist-util-stringify-position/lib/index.mjs +15 -0
- package/dist/es/node_modules/unist-util-visit-parents/lib/color.mjs +6 -0
- package/dist/es/node_modules/unist-util-visit-parents/lib/index.mjs +56 -0
- package/dist/es/node_modules/vfile/lib/index.mjs +401 -0
- package/dist/es/node_modules/vfile/lib/minpath.browser.mjs +120 -0
- package/dist/es/node_modules/vfile/lib/minproc.browser.mjs +9 -0
- package/dist/es/node_modules/vfile/lib/minurl.browser.mjs +35 -0
- package/dist/es/node_modules/vfile/lib/minurl.shared.mjs +7 -0
- package/dist/es/node_modules/vfile-message/lib/index.mjs +106 -0
- package/dist/es/node_modules/xtend/immutable.mjs +12 -0
- package/dist/es/node_modules/zwitch/index.mjs +18 -0
- package/dist/es/packages/agent-cli-ui/package.json.mjs +163 -0
- package/dist/es/packages/react-components/dist/es/Iconfont/index.mjs +8 -0
- package/dist/es/packages/react-components/dist/es/components/Copy/index.mjs +43 -0
- package/dist/es/packages/react-components/dist/es/components/Markdown/ATag/index.mjs +44 -0
- package/dist/es/packages/react-components/dist/es/components/Markdown/Code/index.mjs +64 -0
- package/dist/es/packages/react-components/dist/es/components/Markdown/Image/index.mjs +62 -0
- package/dist/es/packages/react-components/dist/es/components/Markdown/Video/index.mjs +19 -0
- package/dist/es/packages/react-components/dist/es/components/Markdown/index.mjs +78 -0
- package/dist/es/packages/react-components/dist/es/index.mjs +10 -0
- package/dist/es/packages/react-components/dist/es/utils/clipboard.mjs +38 -0
- package/dist/es/packages/react-components/dist/es/utils/markdown/index.mjs +29 -0
- package/dist/es/src/global.css +1 -0
- package/dist/es/src/image-viewer.css +1 -0
- package/dist/es/src/katex.min.css +1 -0
- package/dist/es/src/mask.css +1 -0
- package/dist/es/src/safe-area.css +1 -0
- package/dist/es/src/style.css +1 -0
- package/dist/es/src/style10.css +1 -0
- package/dist/es/src/style11.css +1 -0
- package/dist/es/src/style12.css +1 -0
- package/dist/es/src/style13.css +1 -0
- package/dist/es/src/style14.css +1 -0
- package/dist/es/src/style15.css +1 -0
- package/dist/es/src/style16.css +1 -0
- package/dist/es/src/style17.css +1 -0
- package/dist/es/src/style18.css +1 -0
- package/dist/es/src/style19.css +1 -0
- package/dist/es/src/style2.css +1 -0
- package/dist/es/src/style20.css +1 -0
- package/dist/es/src/style21.css +1 -0
- package/dist/es/src/style22.css +1 -0
- package/dist/es/src/style23.css +1 -0
- package/dist/es/src/style24.css +1 -0
- package/dist/es/src/style25.css +1 -0
- package/dist/es/src/style26.css +1 -0
- package/dist/es/src/style27.css +1 -0
- package/dist/es/src/style28.css +1 -0
- package/dist/es/src/style29.css +1 -0
- package/dist/es/src/style3.css +1 -0
- package/dist/es/src/style30.css +1 -0
- package/dist/es/src/style31.css +1 -0
- package/dist/es/src/style32.css +1 -0
- package/dist/es/src/style33.css +1 -0
- package/dist/es/src/style4.css +1 -0
- package/dist/es/src/style5.css +1 -0
- package/dist/es/src/style6.css +1 -0
- package/dist/es/src/style7.css +1 -0
- package/dist/es/src/style8.css +1 -0
- package/dist/es/src/style9.css +1 -0
- package/dist/es/types.mjs +4 -0
- package/dist/es/utils/antdConfig.mjs +15 -0
- package/dist/es/utils/index.mjs +37 -0
- package/dist/lib/index.css +1 -0
- package/dist/lib/index.js +328 -0
- package/dist/src/AgentClientUI.d.ts +13 -0
- package/dist/src/Dialog/AgentChat/HistoryItem/FileItem/index.d.ts +11 -0
- package/dist/src/Dialog/AgentChat/HistoryItem/InputProgress/index.d.ts +7 -0
- package/dist/src/Dialog/AgentChat/HistoryItem/SearchReference/index.d.ts +10 -0
- package/dist/src/Dialog/AgentChat/HistoryItem/SessionAction/index.d.ts +13 -0
- package/dist/src/Dialog/AgentChat/HistoryItem/SessionRefer/ReferItem/index.d.ts +9 -0
- package/dist/src/Dialog/AgentChat/HistoryItem/SessionRefer/index.d.ts +10 -0
- package/dist/src/Dialog/AgentChat/HistoryItem/SessionRelated/index.d.ts +9 -0
- package/dist/src/Dialog/AgentChat/HistoryItem/index.d.ts +20 -0
- package/dist/src/Dialog/AgentChat/PromptSetting/index.d.ts +15 -0
- package/dist/src/Dialog/AgentChat/Tools/ConnectToNetwork/index.d.ts +14 -0
- package/dist/src/Dialog/AgentChat/Tools/PromptManager/PromptList/EditPromptModal/index.d.ts +11 -0
- package/dist/src/Dialog/AgentChat/Tools/PromptManager/PromptList/PrivatePromptList.d.ts +12 -0
- package/dist/src/Dialog/AgentChat/Tools/PromptManager/PromptList/PromptListItem.d.ts +13 -0
- package/dist/src/Dialog/AgentChat/Tools/PromptManager/PromptList/PublicPromptList.d.ts +12 -0
- package/dist/src/Dialog/AgentChat/Tools/PromptManager/index.d.ts +13 -0
- package/dist/src/Dialog/AgentChat/Tools/SessionHistoryDrawer/index.d.ts +15 -0
- package/dist/src/Dialog/AgentChat/Tools/SessionListDrawer/HistorySessionList/NameEditPanel.d.ts +9 -0
- package/dist/src/Dialog/AgentChat/Tools/SessionListDrawer/HistorySessionList/SessionItem.d.ts +16 -0
- package/dist/src/Dialog/AgentChat/Tools/SessionListDrawer/HistorySessionList/index.d.ts +9 -0
- package/dist/src/Dialog/AgentChat/Tools/SessionListDrawer/index.d.ts +9 -0
- package/dist/src/Dialog/AgentChat/Tools/UploadKnowledgeFiles/ClearModal/index.d.ts +7 -0
- package/dist/src/Dialog/AgentChat/Tools/UploadKnowledgeFiles/FileCard/index.d.ts +22 -0
- package/dist/src/Dialog/AgentChat/Tools/UploadKnowledgeFiles/index.d.ts +22 -0
- package/dist/src/Dialog/AgentChat/index.d.ts +22 -0
- package/dist/src/Dialog/SessionList/index.d.ts +24 -0
- package/dist/src/Dialog/UploadingPrompt/index.d.ts +9 -0
- package/dist/src/Dialog/index.d.ts +18 -0
- package/dist/src/Footer/FooterWarning.d.ts +8 -0
- package/dist/src/Footer/index.d.ts +8 -0
- package/dist/src/QuillEditor/index.d.ts +21 -0
- package/dist/src/ReactTextGenerationUI/components/TextSiders/index.d.ts +22 -0
- package/dist/src/ReactTextGenerationUI/components/fetchEventSource/fetch.d.ts +44 -0
- package/dist/src/ReactTextGenerationUI/components/fetchEventSource/index.d.ts +1 -0
- package/dist/src/ReactTextGenerationUI/components/fetchEventSource/parse.d.ts +36 -0
- package/dist/src/ReactTextGenerationUI/components/fetchEventSourcea/fetch.d.ts +44 -0
- package/dist/src/ReactTextGenerationUI/components/fetchEventSourcea/index.d.ts +1 -0
- package/dist/src/ReactTextGenerationUI/components/fetchEventSourcea/parse.d.ts +36 -0
- package/dist/src/ReactTextGenerationUI/index.d.ts +4 -0
- package/dist/src/components/FilePreview/index.d.ts +20 -0
- package/dist/src/components/Greeting/index.d.ts +8 -0
- package/dist/src/components/Header/index.d.ts +7 -0
- package/dist/src/components/Iconfont/font_4108228_z72fskklg2.d.ts +0 -0
- package/dist/src/components/Iconfont/font_4439177_7rytwlvbmjj.d.ts +0 -0
- package/dist/src/components/Iconfont/index.d.ts +2 -0
- package/dist/src/components/JsonDisplay/index.d.ts +6 -0
- package/dist/src/components/KnowledgeDoc/index.d.ts +9 -0
- package/dist/src/components/KnowledgeList/KnowledgeSelect/index.d.ts +12 -0
- package/dist/src/components/KnowledgeList/index.d.ts +10 -0
- package/dist/src/components/PDFViewer/index.d.ts +7 -0
- package/dist/src/components/Recommend/RecommendItem.d.ts +12 -0
- package/dist/src/components/Recommend/index.d.ts +15 -0
- package/dist/src/components/Sider/index.d.ts +8 -0
- package/dist/src/components/WebLink/index.d.ts +7 -0
- package/dist/src/constant.d.ts +21 -0
- package/dist/src/context/SessionContext.d.ts +15 -0
- package/dist/src/context.d.ts +5 -0
- package/dist/src/hooks/useSessionState.d.ts +7 -0
- package/dist/src/index.d.ts +49 -0
- package/dist/src/types.d.ts +235 -0
- package/dist/src/utils/antdConfig.d.ts +7 -0
- package/dist/src/utils/fetchEventSource/fetch.d.ts +44 -0
- package/dist/src/utils/fetchEventSource/index.d.ts +1 -0
- package/dist/src/utils/fetchEventSource/parse.d.ts +36 -0
- package/dist/src/utils/index.d.ts +25 -0
- package/dist/src/utils/reactCompatibility.d.ts +27 -0
- package/dist/src/utils/testAntdPrefix.d.ts +3 -0
- package/package.json +142 -0
|
@@ -0,0 +1,225 @@
|
|
|
1
|
+
import { markdownLineEnding as V } from "../../micromark-util-character/index.mjs";
|
|
2
|
+
import { push as W, splice as X } from "../../micromark-util-chunked/index.mjs";
|
|
3
|
+
import { resolveAll as Y } from "../../micromark-util-resolve-all/index.mjs";
|
|
4
|
+
function re(d, l, o) {
|
|
5
|
+
let n = {
|
|
6
|
+
_bufferIndex: -1,
|
|
7
|
+
_index: 0,
|
|
8
|
+
line: o && o.line || 1,
|
|
9
|
+
column: o && o.column || 1,
|
|
10
|
+
offset: o && o.offset || 0
|
|
11
|
+
};
|
|
12
|
+
const f = {}, u = [];
|
|
13
|
+
let s = [], h = [];
|
|
14
|
+
const S = {
|
|
15
|
+
attempt: m(J),
|
|
16
|
+
check: m(P),
|
|
17
|
+
consume: D,
|
|
18
|
+
enter: G,
|
|
19
|
+
exit: H,
|
|
20
|
+
interrupt: m(P, {
|
|
21
|
+
interrupt: !0
|
|
22
|
+
})
|
|
23
|
+
}, t = {
|
|
24
|
+
code: null,
|
|
25
|
+
containerState: {},
|
|
26
|
+
defineSkip: R,
|
|
27
|
+
events: [],
|
|
28
|
+
now: v,
|
|
29
|
+
parser: d,
|
|
30
|
+
previous: null,
|
|
31
|
+
sliceSerialize: M,
|
|
32
|
+
sliceStream: j,
|
|
33
|
+
write: L
|
|
34
|
+
};
|
|
35
|
+
let O = l.tokenize.call(t, S);
|
|
36
|
+
return l.resolveAll && u.push(l), t;
|
|
37
|
+
function L(e) {
|
|
38
|
+
return s = W(s, e), q(), s[s.length - 1] !== null ? [] : (T(l, 0), t.events = Y(u, t.events, t), t.events);
|
|
39
|
+
}
|
|
40
|
+
function M(e, r) {
|
|
41
|
+
return $(j(e), r);
|
|
42
|
+
}
|
|
43
|
+
function j(e) {
|
|
44
|
+
return Z(s, e);
|
|
45
|
+
}
|
|
46
|
+
function v() {
|
|
47
|
+
const {
|
|
48
|
+
_bufferIndex: e,
|
|
49
|
+
_index: r,
|
|
50
|
+
line: c,
|
|
51
|
+
column: a,
|
|
52
|
+
offset: p
|
|
53
|
+
} = n;
|
|
54
|
+
return {
|
|
55
|
+
_bufferIndex: e,
|
|
56
|
+
_index: r,
|
|
57
|
+
line: c,
|
|
58
|
+
column: a,
|
|
59
|
+
offset: p
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
function R(e) {
|
|
63
|
+
f[e.line] = e.column, g();
|
|
64
|
+
}
|
|
65
|
+
function q() {
|
|
66
|
+
let e;
|
|
67
|
+
for (; n._index < s.length; ) {
|
|
68
|
+
const r = s[n._index];
|
|
69
|
+
if (typeof r == "string")
|
|
70
|
+
for (e = n._index, n._bufferIndex < 0 && (n._bufferIndex = 0); n._index === e && n._bufferIndex < r.length; )
|
|
71
|
+
z(r.charCodeAt(n._bufferIndex));
|
|
72
|
+
else
|
|
73
|
+
z(r);
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
function z(e) {
|
|
77
|
+
O = O(e);
|
|
78
|
+
}
|
|
79
|
+
function D(e) {
|
|
80
|
+
V(e) ? (n.line++, n.column = 1, n.offset += e === -3 ? 2 : 1, g()) : e !== -1 && (n.column++, n.offset++), n._bufferIndex < 0 ? n._index++ : (n._bufferIndex++, n._bufferIndex === // Points w/ non-negative `_bufferIndex` reference
|
|
81
|
+
// strings.
|
|
82
|
+
/** @type {string} */
|
|
83
|
+
s[n._index].length && (n._bufferIndex = -1, n._index++)), t.previous = e;
|
|
84
|
+
}
|
|
85
|
+
function G(e, r) {
|
|
86
|
+
const c = r || {};
|
|
87
|
+
return c.type = e, c.start = v(), t.events.push(["enter", c, t]), h.push(c), c;
|
|
88
|
+
}
|
|
89
|
+
function H(e) {
|
|
90
|
+
const r = h.pop();
|
|
91
|
+
return r.end = v(), t.events.push(["exit", r, t]), r;
|
|
92
|
+
}
|
|
93
|
+
function J(e, r) {
|
|
94
|
+
T(e, r.from);
|
|
95
|
+
}
|
|
96
|
+
function P(e, r) {
|
|
97
|
+
r.restore();
|
|
98
|
+
}
|
|
99
|
+
function m(e, r) {
|
|
100
|
+
return c;
|
|
101
|
+
function c(a, p, _) {
|
|
102
|
+
let C, k, B, y;
|
|
103
|
+
return Array.isArray(a) ? (
|
|
104
|
+
/* c8 ignore next 1 */
|
|
105
|
+
A(a)
|
|
106
|
+
) : "tokenize" in a ? (
|
|
107
|
+
// Looks like a construct.
|
|
108
|
+
A([
|
|
109
|
+
/** @type {Construct} */
|
|
110
|
+
a
|
|
111
|
+
])
|
|
112
|
+
) : N(a);
|
|
113
|
+
function N(i) {
|
|
114
|
+
return w;
|
|
115
|
+
function w(x) {
|
|
116
|
+
const b = x !== null && i[x], I = x !== null && i.null, U = [
|
|
117
|
+
// To do: add more extension tests.
|
|
118
|
+
/* c8 ignore next 2 */
|
|
119
|
+
...Array.isArray(b) ? b : b ? [b] : [],
|
|
120
|
+
...Array.isArray(I) ? I : I ? [I] : []
|
|
121
|
+
];
|
|
122
|
+
return A(U)(x);
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
function A(i) {
|
|
126
|
+
return C = i, k = 0, i.length === 0 ? _ : E(i[k]);
|
|
127
|
+
}
|
|
128
|
+
function E(i) {
|
|
129
|
+
return w;
|
|
130
|
+
function w(x) {
|
|
131
|
+
return y = K(), B = i, i.partial || (t.currentConstruct = i), i.name && t.parser.constructs.disable.null.includes(i.name) ? F() : i.tokenize.call(
|
|
132
|
+
// If we do have fields, create an object w/ `context` as its
|
|
133
|
+
// prototype.
|
|
134
|
+
// This allows a “live binding”, which is needed for `interrupt`.
|
|
135
|
+
r ? Object.assign(Object.create(t), r) : t,
|
|
136
|
+
S,
|
|
137
|
+
Q,
|
|
138
|
+
F
|
|
139
|
+
)(x);
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
function Q(i) {
|
|
143
|
+
return e(B, y), p;
|
|
144
|
+
}
|
|
145
|
+
function F(i) {
|
|
146
|
+
return y.restore(), ++k < C.length ? E(C[k]) : _;
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
function T(e, r) {
|
|
151
|
+
e.resolveAll && !u.includes(e) && u.push(e), e.resolve && X(t.events, r, t.events.length - r, e.resolve(t.events.slice(r), t)), e.resolveTo && (t.events = e.resolveTo(t.events, t));
|
|
152
|
+
}
|
|
153
|
+
function K() {
|
|
154
|
+
const e = v(), r = t.previous, c = t.currentConstruct, a = t.events.length, p = Array.from(h);
|
|
155
|
+
return {
|
|
156
|
+
from: a,
|
|
157
|
+
restore: _
|
|
158
|
+
};
|
|
159
|
+
function _() {
|
|
160
|
+
n = e, t.previous = r, t.currentConstruct = c, t.events.length = a, h = p, g();
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
function g() {
|
|
164
|
+
n.line in f && n.column < 2 && (n.column = f[n.line], n.offset += f[n.line] - 1);
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
function Z(d, l) {
|
|
168
|
+
const o = l.start._index, n = l.start._bufferIndex, f = l.end._index, u = l.end._bufferIndex;
|
|
169
|
+
let s;
|
|
170
|
+
if (o === f)
|
|
171
|
+
s = [d[o].slice(n, u)];
|
|
172
|
+
else {
|
|
173
|
+
if (s = d.slice(o, f), n > -1) {
|
|
174
|
+
const h = s[0];
|
|
175
|
+
typeof h == "string" ? s[0] = h.slice(n) : s.shift();
|
|
176
|
+
}
|
|
177
|
+
u > 0 && s.push(d[f].slice(0, u));
|
|
178
|
+
}
|
|
179
|
+
return s;
|
|
180
|
+
}
|
|
181
|
+
function $(d, l) {
|
|
182
|
+
let o = -1;
|
|
183
|
+
const n = [];
|
|
184
|
+
let f;
|
|
185
|
+
for (; ++o < d.length; ) {
|
|
186
|
+
const u = d[o];
|
|
187
|
+
let s;
|
|
188
|
+
if (typeof u == "string")
|
|
189
|
+
s = u;
|
|
190
|
+
else
|
|
191
|
+
switch (u) {
|
|
192
|
+
case -5: {
|
|
193
|
+
s = "\r";
|
|
194
|
+
break;
|
|
195
|
+
}
|
|
196
|
+
case -4: {
|
|
197
|
+
s = `
|
|
198
|
+
`;
|
|
199
|
+
break;
|
|
200
|
+
}
|
|
201
|
+
case -3: {
|
|
202
|
+
s = `\r
|
|
203
|
+
`;
|
|
204
|
+
break;
|
|
205
|
+
}
|
|
206
|
+
case -2: {
|
|
207
|
+
s = l ? " " : " ";
|
|
208
|
+
break;
|
|
209
|
+
}
|
|
210
|
+
case -1: {
|
|
211
|
+
if (!l && f)
|
|
212
|
+
continue;
|
|
213
|
+
s = " ";
|
|
214
|
+
break;
|
|
215
|
+
}
|
|
216
|
+
default:
|
|
217
|
+
s = String.fromCharCode(u);
|
|
218
|
+
}
|
|
219
|
+
f = u === -2, n.push(s);
|
|
220
|
+
}
|
|
221
|
+
return n.join("");
|
|
222
|
+
}
|
|
223
|
+
export {
|
|
224
|
+
re as createTokenizer
|
|
225
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { factorySpace as l } from "../../../micromark-factory-space/index.mjs";
|
|
2
|
+
import { markdownLineEnding as m } from "../../../micromark-util-character/index.mjs";
|
|
3
|
+
const g = {
|
|
4
|
+
tokenize: x
|
|
5
|
+
};
|
|
6
|
+
function x(n) {
|
|
7
|
+
const i = n.attempt(this.parser.constructs.contentInitial, e, p);
|
|
8
|
+
let r;
|
|
9
|
+
return i;
|
|
10
|
+
function e(t) {
|
|
11
|
+
if (t === null) {
|
|
12
|
+
n.consume(t);
|
|
13
|
+
return;
|
|
14
|
+
}
|
|
15
|
+
return n.enter("lineEnding"), n.consume(t), n.exit("lineEnding"), l(n, i, "linePrefix");
|
|
16
|
+
}
|
|
17
|
+
function p(t) {
|
|
18
|
+
return n.enter("paragraph"), u(t);
|
|
19
|
+
}
|
|
20
|
+
function u(t) {
|
|
21
|
+
const a = n.enter("chunkText", {
|
|
22
|
+
contentType: "text",
|
|
23
|
+
previous: r
|
|
24
|
+
});
|
|
25
|
+
return r && (r.next = a), r = a, o(t);
|
|
26
|
+
}
|
|
27
|
+
function o(t) {
|
|
28
|
+
if (t === null) {
|
|
29
|
+
n.exit("chunkText"), n.exit("paragraph"), n.consume(t);
|
|
30
|
+
return;
|
|
31
|
+
}
|
|
32
|
+
return m(t) ? (n.consume(t), n.exit("chunkText"), u) : (n.consume(t), o);
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
export {
|
|
36
|
+
g as content
|
|
37
|
+
};
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
var E = Object.defineProperty;
|
|
2
|
+
var y = Object.getOwnPropertySymbols;
|
|
3
|
+
var D = Object.prototype.hasOwnProperty, A = Object.prototype.propertyIsEnumerable;
|
|
4
|
+
var z = (t, e, i) => e in t ? E(t, e, { enumerable: !0, configurable: !0, writable: !0, value: i }) : t[e] = i, C = (t, e) => {
|
|
5
|
+
for (var i in e || (e = {}))
|
|
6
|
+
D.call(e, i) && z(t, i, e[i]);
|
|
7
|
+
if (y)
|
|
8
|
+
for (var i of y(e))
|
|
9
|
+
A.call(e, i) && z(t, i, e[i]);
|
|
10
|
+
return t;
|
|
11
|
+
};
|
|
12
|
+
import { factorySpace as H } from "../../../micromark-factory-space/index.mjs";
|
|
13
|
+
import { markdownLineEnding as L } from "../../../micromark-util-character/index.mjs";
|
|
14
|
+
import { splice as B } from "../../../micromark-util-chunked/index.mjs";
|
|
15
|
+
const K = {
|
|
16
|
+
tokenize: O
|
|
17
|
+
}, _ = {
|
|
18
|
+
tokenize: P
|
|
19
|
+
};
|
|
20
|
+
function O(t) {
|
|
21
|
+
const e = this, i = [];
|
|
22
|
+
let s = 0, r, a, d;
|
|
23
|
+
return w;
|
|
24
|
+
function w(n) {
|
|
25
|
+
if (s < i.length) {
|
|
26
|
+
const u = i[s];
|
|
27
|
+
return e.containerState = u[1], t.attempt(u[0].continuation, b, p)(n);
|
|
28
|
+
}
|
|
29
|
+
return p(n);
|
|
30
|
+
}
|
|
31
|
+
function b(n) {
|
|
32
|
+
if (s++, e.containerState._closeFlow) {
|
|
33
|
+
e.containerState._closeFlow = void 0, r && x();
|
|
34
|
+
const u = e.events.length;
|
|
35
|
+
let l = u, o;
|
|
36
|
+
for (; l--; )
|
|
37
|
+
if (e.events[l][0] === "exit" && e.events[l][1].type === "chunkFlow") {
|
|
38
|
+
o = e.events[l][1].end;
|
|
39
|
+
break;
|
|
40
|
+
}
|
|
41
|
+
f(s);
|
|
42
|
+
let c = u;
|
|
43
|
+
for (; c < e.events.length; )
|
|
44
|
+
e.events[c][1].end = C({}, o), c++;
|
|
45
|
+
return B(e.events, l + 1, 0, e.events.slice(u)), e.events.length = c, p(n);
|
|
46
|
+
}
|
|
47
|
+
return w(n);
|
|
48
|
+
}
|
|
49
|
+
function p(n) {
|
|
50
|
+
if (s === i.length) {
|
|
51
|
+
if (!r)
|
|
52
|
+
return m(n);
|
|
53
|
+
if (r.currentConstruct && r.currentConstruct.concrete)
|
|
54
|
+
return v(n);
|
|
55
|
+
e.interrupt = !!(r.currentConstruct && !r._gfmTableDynamicInterruptHack);
|
|
56
|
+
}
|
|
57
|
+
return e.containerState = {}, t.check(_, I, N)(n);
|
|
58
|
+
}
|
|
59
|
+
function I(n) {
|
|
60
|
+
return r && x(), f(s), m(n);
|
|
61
|
+
}
|
|
62
|
+
function N(n) {
|
|
63
|
+
return e.parser.lazy[e.now().line] = s !== i.length, d = e.now().offset, v(n);
|
|
64
|
+
}
|
|
65
|
+
function m(n) {
|
|
66
|
+
return e.containerState = {}, t.attempt(_, T, v)(n);
|
|
67
|
+
}
|
|
68
|
+
function T(n) {
|
|
69
|
+
return s++, i.push([e.currentConstruct, e.containerState]), m(n);
|
|
70
|
+
}
|
|
71
|
+
function v(n) {
|
|
72
|
+
if (n === null) {
|
|
73
|
+
r && x(), f(0), t.consume(n);
|
|
74
|
+
return;
|
|
75
|
+
}
|
|
76
|
+
return r = r || e.parser.flow(e.now()), t.enter("chunkFlow", {
|
|
77
|
+
_tokenizer: r,
|
|
78
|
+
contentType: "flow",
|
|
79
|
+
previous: a
|
|
80
|
+
}), g(n);
|
|
81
|
+
}
|
|
82
|
+
function g(n) {
|
|
83
|
+
if (n === null) {
|
|
84
|
+
k(t.exit("chunkFlow"), !0), f(0), t.consume(n);
|
|
85
|
+
return;
|
|
86
|
+
}
|
|
87
|
+
return L(n) ? (t.consume(n), k(t.exit("chunkFlow")), s = 0, e.interrupt = void 0, w) : (t.consume(n), g);
|
|
88
|
+
}
|
|
89
|
+
function k(n, u) {
|
|
90
|
+
const l = e.sliceStream(n);
|
|
91
|
+
if (u && l.push(null), n.previous = a, a && (a.next = n), a = n, r.defineSkip(n.start), r.write(l), e.parser.lazy[n.start.line]) {
|
|
92
|
+
let o = r.events.length;
|
|
93
|
+
for (; o--; )
|
|
94
|
+
if (
|
|
95
|
+
// The token starts before the line ending…
|
|
96
|
+
r.events[o][1].start.offset < d && // …and either is not ended yet…
|
|
97
|
+
(!r.events[o][1].end || // …or ends after it.
|
|
98
|
+
r.events[o][1].end.offset > d)
|
|
99
|
+
)
|
|
100
|
+
return;
|
|
101
|
+
const c = e.events.length;
|
|
102
|
+
let h = c, S, F;
|
|
103
|
+
for (; h--; )
|
|
104
|
+
if (e.events[h][0] === "exit" && e.events[h][1].type === "chunkFlow") {
|
|
105
|
+
if (S) {
|
|
106
|
+
F = e.events[h][1].end;
|
|
107
|
+
break;
|
|
108
|
+
}
|
|
109
|
+
S = !0;
|
|
110
|
+
}
|
|
111
|
+
for (f(s), o = c; o < e.events.length; )
|
|
112
|
+
e.events[o][1].end = C({}, F), o++;
|
|
113
|
+
B(e.events, h + 1, 0, e.events.slice(c)), e.events.length = o;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
function f(n) {
|
|
117
|
+
let u = i.length;
|
|
118
|
+
for (; u-- > n; ) {
|
|
119
|
+
const l = i[u];
|
|
120
|
+
e.containerState = l[1], l[0].exit.call(e, t);
|
|
121
|
+
}
|
|
122
|
+
i.length = n;
|
|
123
|
+
}
|
|
124
|
+
function x() {
|
|
125
|
+
r.write([null]), a = void 0, r = void 0, e.containerState._closeFlow = void 0;
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
function P(t, e, i) {
|
|
129
|
+
return H(t, t.attempt(this.parser.constructs.document, e, i), "linePrefix", this.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4);
|
|
130
|
+
}
|
|
131
|
+
export {
|
|
132
|
+
K as document
|
|
133
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { factorySpace as l } from "../../../micromark-factory-space/index.mjs";
|
|
2
|
+
import { blankLine as a } from "../../../micromark-core-commonmark/lib/blank-line.mjs";
|
|
3
|
+
import { content as e } from "../../../micromark-core-commonmark/lib/content.mjs";
|
|
4
|
+
const d = {
|
|
5
|
+
tokenize: m
|
|
6
|
+
};
|
|
7
|
+
function m(n) {
|
|
8
|
+
const o = this, i = n.attempt(
|
|
9
|
+
// Try to parse a blank line.
|
|
10
|
+
a,
|
|
11
|
+
u,
|
|
12
|
+
// Try to parse initial flow (essentially, only code).
|
|
13
|
+
n.attempt(this.parser.constructs.flowInitial, r, l(n, n.attempt(this.parser.constructs.flow, r, n.attempt(e, r)), "linePrefix"))
|
|
14
|
+
);
|
|
15
|
+
return i;
|
|
16
|
+
function u(t) {
|
|
17
|
+
if (t === null) {
|
|
18
|
+
n.consume(t);
|
|
19
|
+
return;
|
|
20
|
+
}
|
|
21
|
+
return n.enter("lineEndingBlank"), n.consume(t), n.exit("lineEndingBlank"), o.currentConstruct = void 0, i;
|
|
22
|
+
}
|
|
23
|
+
function r(t) {
|
|
24
|
+
if (t === null) {
|
|
25
|
+
n.consume(t);
|
|
26
|
+
return;
|
|
27
|
+
}
|
|
28
|
+
return n.enter("lineEnding"), n.consume(t), n.exit("lineEnding"), o.currentConstruct = void 0, i;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
export {
|
|
32
|
+
d as flow
|
|
33
|
+
};
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
var y = Object.defineProperty;
|
|
2
|
+
var g = Object.getOwnPropertySymbols;
|
|
3
|
+
var b = Object.prototype.hasOwnProperty, T = Object.prototype.propertyIsEnumerable;
|
|
4
|
+
var p = (e, n, t) => n in e ? y(e, n, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[n] = t, d = (e, n) => {
|
|
5
|
+
for (var t in n || (n = {}))
|
|
6
|
+
b.call(n, t) && p(e, t, n[t]);
|
|
7
|
+
if (g)
|
|
8
|
+
for (var t of g(n))
|
|
9
|
+
T.call(n, t) && p(e, t, n[t]);
|
|
10
|
+
return e;
|
|
11
|
+
};
|
|
12
|
+
const _ = {
|
|
13
|
+
resolveAll: m()
|
|
14
|
+
}, z = k("string"), I = k("text");
|
|
15
|
+
function k(e) {
|
|
16
|
+
return {
|
|
17
|
+
resolveAll: m(e === "text" ? w : void 0),
|
|
18
|
+
tokenize: n
|
|
19
|
+
};
|
|
20
|
+
function n(t) {
|
|
21
|
+
const l = this, i = this.parser.constructs[e], r = t.attempt(i, f, o);
|
|
22
|
+
return f;
|
|
23
|
+
function f(u) {
|
|
24
|
+
return a(u) ? r(u) : o(u);
|
|
25
|
+
}
|
|
26
|
+
function o(u) {
|
|
27
|
+
if (u === null) {
|
|
28
|
+
t.consume(u);
|
|
29
|
+
return;
|
|
30
|
+
}
|
|
31
|
+
return t.enter("data"), t.consume(u), s;
|
|
32
|
+
}
|
|
33
|
+
function s(u) {
|
|
34
|
+
return a(u) ? (t.exit("data"), r(u)) : (t.consume(u), s);
|
|
35
|
+
}
|
|
36
|
+
function a(u) {
|
|
37
|
+
if (u === null)
|
|
38
|
+
return !0;
|
|
39
|
+
const c = i[u];
|
|
40
|
+
let h = -1;
|
|
41
|
+
if (c)
|
|
42
|
+
for (; ++h < c.length; ) {
|
|
43
|
+
const x = c[h];
|
|
44
|
+
if (!x.previous || x.previous.call(l, l.previous))
|
|
45
|
+
return !0;
|
|
46
|
+
}
|
|
47
|
+
return !1;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
function m(e) {
|
|
52
|
+
return n;
|
|
53
|
+
function n(t, l) {
|
|
54
|
+
let i = -1, r;
|
|
55
|
+
for (; ++i <= t.length; )
|
|
56
|
+
r === void 0 ? t[i] && t[i][1].type === "data" && (r = i, i++) : (!t[i] || t[i][1].type !== "data") && (i !== r + 2 && (t[r][1].end = t[i - 1][1].end, t.splice(r + 2, i - r - 2), i = r + 2), r = void 0);
|
|
57
|
+
return e ? e(t, l) : t;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
function w(e, n) {
|
|
61
|
+
let t = 0;
|
|
62
|
+
for (; ++t <= e.length; )
|
|
63
|
+
if ((t === e.length || e[t][1].type === "lineEnding") && e[t - 1][1].type === "data") {
|
|
64
|
+
const l = e[t - 1][1], i = n.sliceStream(l);
|
|
65
|
+
let r = i.length, f = -1, o = 0, s;
|
|
66
|
+
for (; r--; ) {
|
|
67
|
+
const a = i[r];
|
|
68
|
+
if (typeof a == "string") {
|
|
69
|
+
for (f = a.length; a.charCodeAt(f - 1) === 32; )
|
|
70
|
+
o++, f--;
|
|
71
|
+
if (f)
|
|
72
|
+
break;
|
|
73
|
+
f = -1;
|
|
74
|
+
} else if (a === -2)
|
|
75
|
+
s = !0, o++;
|
|
76
|
+
else if (a !== -1) {
|
|
77
|
+
r++;
|
|
78
|
+
break;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
if (n._contentTypeTextTrailing && t === e.length && (o = 0), o) {
|
|
82
|
+
const a = {
|
|
83
|
+
type: t === e.length || s || o < 2 ? "lineSuffix" : "hardBreakTrailing",
|
|
84
|
+
start: {
|
|
85
|
+
_bufferIndex: r ? f : l.start._bufferIndex + f,
|
|
86
|
+
_index: l.start._index + r,
|
|
87
|
+
line: l.end.line,
|
|
88
|
+
column: l.end.column - o,
|
|
89
|
+
offset: l.end.offset - o
|
|
90
|
+
},
|
|
91
|
+
end: d({}, l.end)
|
|
92
|
+
};
|
|
93
|
+
l.end = d({}, a.start), l.start.offset === l.end.offset ? Object.assign(l, a) : (e.splice(t, 0, ["enter", a, n], ["exit", a, n]), t += 2);
|
|
94
|
+
}
|
|
95
|
+
t++;
|
|
96
|
+
}
|
|
97
|
+
return e;
|
|
98
|
+
}
|
|
99
|
+
export {
|
|
100
|
+
_ as resolver,
|
|
101
|
+
z as string,
|
|
102
|
+
I as text
|
|
103
|
+
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { combineExtensions as c } from "../../micromark-util-combine-extensions/index.mjs";
|
|
2
|
+
import { content as i } from "./initialize/content.mjs";
|
|
3
|
+
import { document as m } from "./initialize/document.mjs";
|
|
4
|
+
import { flow as f } from "./initialize/flow.mjs";
|
|
5
|
+
import { string as u, text as p } from "./initialize/text.mjs";
|
|
6
|
+
import * as a from "./constructs.mjs";
|
|
7
|
+
import { createTokenizer as x } from "./create-tokenizer.mjs";
|
|
8
|
+
function y(r) {
|
|
9
|
+
const o = {
|
|
10
|
+
constructs: (
|
|
11
|
+
/** @type {FullNormalizedExtension} */
|
|
12
|
+
c([a, ...(r || {}).extensions || []])
|
|
13
|
+
),
|
|
14
|
+
content: t(i),
|
|
15
|
+
defined: [],
|
|
16
|
+
document: t(m),
|
|
17
|
+
flow: t(f),
|
|
18
|
+
lazy: {},
|
|
19
|
+
string: t(u),
|
|
20
|
+
text: t(p)
|
|
21
|
+
};
|
|
22
|
+
return o;
|
|
23
|
+
function t(n) {
|
|
24
|
+
return e;
|
|
25
|
+
function e(s) {
|
|
26
|
+
return x(o, n, s);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
export {
|
|
31
|
+
y as parse
|
|
32
|
+
};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
const u = /[\0\t\n\r]/g;
|
|
2
|
+
function x() {
|
|
3
|
+
let s = 1, c = "", f = !0, r;
|
|
4
|
+
return p;
|
|
5
|
+
function p(e, l, a) {
|
|
6
|
+
const t = [];
|
|
7
|
+
let d, o, n, i, h;
|
|
8
|
+
for (e = c + (typeof e == "string" ? e.toString() : new TextDecoder(l || void 0).decode(e)), n = 0, c = "", f && (e.charCodeAt(0) === 65279 && n++, f = void 0); n < e.length; ) {
|
|
9
|
+
if (u.lastIndex = n, d = u.exec(e), i = d && d.index !== void 0 ? d.index : e.length, h = e.charCodeAt(i), !d) {
|
|
10
|
+
c = e.slice(n);
|
|
11
|
+
break;
|
|
12
|
+
}
|
|
13
|
+
if (h === 10 && n === i && r)
|
|
14
|
+
t.push(-3), r = void 0;
|
|
15
|
+
else
|
|
16
|
+
switch (r && (t.push(-5), r = void 0), n < i && (t.push(e.slice(n, i)), s += i - n), h) {
|
|
17
|
+
case 0: {
|
|
18
|
+
t.push(65533), s++;
|
|
19
|
+
break;
|
|
20
|
+
}
|
|
21
|
+
case 9: {
|
|
22
|
+
for (o = Math.ceil(s / 4) * 4, t.push(-2); s++ < o; )
|
|
23
|
+
t.push(-1);
|
|
24
|
+
break;
|
|
25
|
+
}
|
|
26
|
+
case 10: {
|
|
27
|
+
t.push(-4), s = 1;
|
|
28
|
+
break;
|
|
29
|
+
}
|
|
30
|
+
default:
|
|
31
|
+
r = !0, s = 1;
|
|
32
|
+
}
|
|
33
|
+
n = i + 1;
|
|
34
|
+
}
|
|
35
|
+
return a && (r && t.push(-5), c && t.push(c), t.push(null)), t;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
export {
|
|
39
|
+
x as preprocess
|
|
40
|
+
};
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
var y = Object.defineProperty;
|
|
2
|
+
var m = Object.getOwnPropertySymbols;
|
|
3
|
+
var k = Object.prototype.hasOwnProperty, A = Object.prototype.propertyIsEnumerable;
|
|
4
|
+
var S = (t, r, e) => r in t ? y(t, r, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[r] = e, a = (t, r) => {
|
|
5
|
+
for (var e in r || (r = {}))
|
|
6
|
+
k.call(r, e) && S(t, e, r[e]);
|
|
7
|
+
if (m)
|
|
8
|
+
for (var e of m(r))
|
|
9
|
+
A.call(r, e) && S(t, e, r[e]);
|
|
10
|
+
return t;
|
|
11
|
+
};
|
|
12
|
+
import { push as h, splice as _ } from "../../micromark-util-chunked/index.mjs";
|
|
13
|
+
import { classifyCharacter as q } from "../../micromark-util-classify-character/index.mjs";
|
|
14
|
+
import { resolveAll as z } from "../../micromark-util-resolve-all/index.mjs";
|
|
15
|
+
const E = {
|
|
16
|
+
name: "attention",
|
|
17
|
+
resolveAll: b,
|
|
18
|
+
tokenize: w
|
|
19
|
+
};
|
|
20
|
+
function b(t, r) {
|
|
21
|
+
let e = -1, i, l, s, p, f, n, o, u;
|
|
22
|
+
for (; ++e < t.length; )
|
|
23
|
+
if (t[e][0] === "enter" && t[e][1].type === "attentionSequence" && t[e][1]._close) {
|
|
24
|
+
for (i = e; i--; )
|
|
25
|
+
if (t[i][0] === "exit" && t[i][1].type === "attentionSequence" && t[i][1]._open && // If the markers are the same:
|
|
26
|
+
r.sliceSerialize(t[i][1]).charCodeAt(0) === r.sliceSerialize(t[e][1]).charCodeAt(0)) {
|
|
27
|
+
if ((t[i][1]._close || t[e][1]._open) && (t[e][1].end.offset - t[e][1].start.offset) % 3 && !((t[i][1].end.offset - t[i][1].start.offset + t[e][1].end.offset - t[e][1].start.offset) % 3))
|
|
28
|
+
continue;
|
|
29
|
+
n = t[i][1].end.offset - t[i][1].start.offset > 1 && t[e][1].end.offset - t[e][1].start.offset > 1 ? 2 : 1;
|
|
30
|
+
const c = a({}, t[i][1].end), d = a({}, t[e][1].start);
|
|
31
|
+
g(c, -n), g(d, n), p = {
|
|
32
|
+
type: n > 1 ? "strongSequence" : "emphasisSequence",
|
|
33
|
+
start: c,
|
|
34
|
+
end: a({}, t[i][1].end)
|
|
35
|
+
}, f = {
|
|
36
|
+
type: n > 1 ? "strongSequence" : "emphasisSequence",
|
|
37
|
+
start: a({}, t[e][1].start),
|
|
38
|
+
end: d
|
|
39
|
+
}, s = {
|
|
40
|
+
type: n > 1 ? "strongText" : "emphasisText",
|
|
41
|
+
start: a({}, t[i][1].end),
|
|
42
|
+
end: a({}, t[e][1].start)
|
|
43
|
+
}, l = {
|
|
44
|
+
type: n > 1 ? "strong" : "emphasis",
|
|
45
|
+
start: a({}, p.start),
|
|
46
|
+
end: a({}, f.end)
|
|
47
|
+
}, t[i][1].end = a({}, p.start), t[e][1].start = a({}, f.end), o = [], t[i][1].end.offset - t[i][1].start.offset && (o = h(o, [["enter", t[i][1], r], ["exit", t[i][1], r]])), o = h(o, [["enter", l, r], ["enter", p, r], ["exit", p, r], ["enter", s, r]]), o = h(o, z(r.parser.constructs.insideSpan.null, t.slice(i + 1, e), r)), o = h(o, [["exit", s, r], ["enter", f, r], ["exit", f, r], ["exit", l, r]]), t[e][1].end.offset - t[e][1].start.offset ? (u = 2, o = h(o, [["enter", t[e][1], r], ["exit", t[e][1], r]])) : u = 0, _(t, i - 1, e - i + 3, o), e = i + o.length - u - 2;
|
|
48
|
+
break;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
for (e = -1; ++e < t.length; )
|
|
52
|
+
t[e][1].type === "attentionSequence" && (t[e][1].type = "data");
|
|
53
|
+
return t;
|
|
54
|
+
}
|
|
55
|
+
function w(t, r) {
|
|
56
|
+
const e = this.parser.constructs.attentionMarkers.null, i = this.previous, l = q(i);
|
|
57
|
+
let s;
|
|
58
|
+
return p;
|
|
59
|
+
function p(n) {
|
|
60
|
+
return s = n, t.enter("attentionSequence"), f(n);
|
|
61
|
+
}
|
|
62
|
+
function f(n) {
|
|
63
|
+
if (n === s)
|
|
64
|
+
return t.consume(n), f;
|
|
65
|
+
const o = t.exit("attentionSequence"), u = q(n), c = !u || u === 2 && l || e.includes(n), d = !l || l === 2 && u || e.includes(i);
|
|
66
|
+
return o._open = !!(s === 42 ? c : c && (l || !d)), o._close = !!(s === 42 ? d : d && (u || !c)), r(n);
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
function g(t, r) {
|
|
70
|
+
t.column += r, t.offset += r, t._bufferIndex += r;
|
|
71
|
+
}
|
|
72
|
+
export {
|
|
73
|
+
E as attention
|
|
74
|
+
};
|