@gearbox-protocol/ui-kit 4.0.0-next.56 → 4.0.0-next.57
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/dist/cjs/_virtual/index2.cjs +1 -0
- package/dist/cjs/_virtual/index3.cjs +1 -0
- package/dist/cjs/_virtual/index4.cjs +1 -0
- package/dist/cjs/_virtual/utilities.cjs +1 -0
- package/dist/cjs/components/checkbox/checkbox-labeled.cjs +1 -1
- package/dist/cjs/components/index.cjs +1 -1
- package/dist/cjs/components/markdown-text/index.cjs +1 -0
- package/dist/cjs/components/markdown-text/markdown-text.cjs +1 -0
- package/dist/cjs/components/truncated-text/index.cjs +1 -0
- package/dist/cjs/components/truncated-text/truncated-text.cjs +1 -0
- package/dist/cjs/components/with-copy/with-copy.cjs +1 -1
- package/dist/cjs/index.cjs +1 -1
- package/dist/cjs/node_modules/.pnpm/@ungap_structured-clone@1.4.0/node_modules/@ungap/structured-clone/esm/deserialize.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/@ungap_structured-clone@1.4.0/node_modules/@ungap/structured-clone/esm/index.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/@ungap_structured-clone@1.4.0/node_modules/@ungap/structured-clone/esm/serialize.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/@ungap_structured-clone@1.4.0/node_modules/@ungap/structured-clone/esm/types.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/bail@2.0.2/node_modules/bail/index.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/ccount@2.0.1/node_modules/ccount/index.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/comma-separated-tokens@2.0.3/node_modules/comma-separated-tokens/index.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/decode-named-character-reference@1.3.0/node_modules/decode-named-character-reference/index.dom.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/devlop@1.1.0/node_modules/devlop/lib/default.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/escape-string-regexp@5.0.0/node_modules/escape-string-regexp/index.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/estree-util-is-identifier-name@3.0.0/node_modules/estree-util-is-identifier-name/lib/index.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/extend@3.0.2/node_modules/extend/index.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/hast-util-to-jsx-runtime@2.3.6/node_modules/hast-util-to-jsx-runtime/lib/index.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/hast-util-whitespace@3.0.0/node_modules/hast-util-whitespace/lib/index.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/html-url-attributes@3.0.1/node_modules/html-url-attributes/lib/index.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/inline-style-parser@0.2.7/node_modules/inline-style-parser/cjs/index.cjs +2 -0
- package/dist/cjs/node_modules/.pnpm/is-plain-obj@4.1.0/node_modules/is-plain-obj/index.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/longest-streak@3.1.0/node_modules/longest-streak/index.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/markdown-table@3.0.4/node_modules/markdown-table/index.cjs +2 -0
- package/dist/cjs/node_modules/.pnpm/mdast-util-find-and-replace@3.0.2/node_modules/mdast-util-find-and-replace/lib/index.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/mdast-util-from-markdown@2.0.3/node_modules/mdast-util-from-markdown/lib/index.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/mdast-util-gfm-autolink-literal@2.0.1/node_modules/mdast-util-gfm-autolink-literal/lib/index.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/mdast-util-gfm-footnote@2.1.0/node_modules/mdast-util-gfm-footnote/lib/index.cjs +2 -0
- package/dist/cjs/node_modules/.pnpm/mdast-util-gfm-strikethrough@2.0.0/node_modules/mdast-util-gfm-strikethrough/lib/index.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/mdast-util-gfm-table@2.0.0/node_modules/mdast-util-gfm-table/lib/index.cjs +3 -0
- package/dist/cjs/node_modules/.pnpm/mdast-util-gfm-task-list-item@2.0.0/node_modules/mdast-util-gfm-task-list-item/lib/index.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/mdast-util-gfm@3.1.0/node_modules/mdast-util-gfm/lib/index.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/mdast-util-phrasing@4.1.0/node_modules/mdast-util-phrasing/lib/index.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast/lib/footer.cjs +3 -0
- package/dist/cjs/node_modules/.pnpm/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast/lib/handlers/blockquote.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast/lib/handlers/break.cjs +2 -0
- package/dist/cjs/node_modules/.pnpm/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast/lib/handlers/code.cjs +2 -0
- package/dist/cjs/node_modules/.pnpm/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast/lib/handlers/delete.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast/lib/handlers/emphasis.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast/lib/handlers/heading.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast/lib/handlers/html.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast/lib/handlers/image-reference.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast/lib/handlers/image.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast/lib/handlers/index.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast/lib/handlers/inline-code.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast/lib/handlers/link-reference.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast/lib/handlers/link.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast/lib/handlers/list-item.cjs +3 -0
- package/dist/cjs/node_modules/.pnpm/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast/lib/handlers/list.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast/lib/handlers/paragraph.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast/lib/handlers/root.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast/lib/handlers/strong.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast/lib/handlers/table-cell.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast/lib/handlers/table-row.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast/lib/handlers/table.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast/lib/handlers/text.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast/lib/handlers/thematic-break.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast/lib/index.cjs +2 -0
- package/dist/cjs/node_modules/.pnpm/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast/lib/revert.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast/lib/state.cjs +4 -0
- package/dist/cjs/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/blockquote.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/break.cjs +3 -0
- package/dist/cjs/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/code.cjs +4 -0
- package/dist/cjs/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/definition.cjs +2 -0
- package/dist/cjs/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/emphasis.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/heading.cjs +6 -0
- package/dist/cjs/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/html.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/image-reference.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/image.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/index.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/inline-code.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/link-reference.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/link.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/list-item.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/list.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/paragraph.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/root.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/strong.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/text.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/thematic-break.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/check-bullet-ordered.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/check-bullet-other.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/check-bullet.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/check-emphasis.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/check-fence.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/check-list-item-indent.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/check-quote.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/check-rule-repetition.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/check-rule.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/check-strong.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/encode-character-reference.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/encode-info.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/format-code-as-indented.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/format-heading-as-setext.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/format-link-as-autolink.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/pattern-in-scope.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/mdast-util-to-string@4.0.0/node_modules/mdast-util-to-string/lib/index.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/attention.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/autolink.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/blank-line.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/block-quote.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/character-escape.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/character-reference.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/code-fenced.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/code-indented.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/code-text.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/content.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/definition.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/hard-break-escape.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/heading-atx.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/html-flow.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/html-text.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/label-end.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/label-start-image.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/label-start-link.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/line-ending.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/list.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/setext-underline.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/thematic-break.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/micromark-extension-gfm-autolink-literal@2.1.0/node_modules/micromark-extension-gfm-autolink-literal/lib/syntax.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/micromark-extension-gfm-footnote@2.1.0/node_modules/micromark-extension-gfm-footnote/lib/syntax.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/micromark-extension-gfm-strikethrough@2.1.0/node_modules/micromark-extension-gfm-strikethrough/lib/syntax.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/micromark-extension-gfm-table@2.1.1/node_modules/micromark-extension-gfm-table/lib/edit-map.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/micromark-extension-gfm-table@2.1.1/node_modules/micromark-extension-gfm-table/lib/infer.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/micromark-extension-gfm-table@2.1.1/node_modules/micromark-extension-gfm-table/lib/syntax.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/micromark-extension-gfm-task-list-item@2.1.0/node_modules/micromark-extension-gfm-task-list-item/lib/syntax.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/micromark-extension-gfm@3.0.0/node_modules/micromark-extension-gfm/index.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/micromark-factory-destination@2.0.1/node_modules/micromark-factory-destination/index.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/micromark-factory-label@2.0.1/node_modules/micromark-factory-label/index.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/micromark-factory-space@2.0.1/node_modules/micromark-factory-space/index.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/micromark-factory-title@2.0.1/node_modules/micromark-factory-title/index.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/micromark-factory-whitespace@2.0.1/node_modules/micromark-factory-whitespace/index.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/micromark-util-character@2.1.1/node_modules/micromark-util-character/index.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/micromark-util-chunked@2.0.1/node_modules/micromark-util-chunked/index.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/micromark-util-classify-character@2.0.1/node_modules/micromark-util-classify-character/index.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/micromark-util-combine-extensions@2.0.1/node_modules/micromark-util-combine-extensions/index.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/micromark-util-decode-numeric-character-reference@2.0.2/node_modules/micromark-util-decode-numeric-character-reference/index.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/micromark-util-decode-string@2.0.1/node_modules/micromark-util-decode-string/index.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/micromark-util-html-tag-name@2.0.1/node_modules/micromark-util-html-tag-name/index.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/micromark-util-normalize-identifier@2.0.1/node_modules/micromark-util-normalize-identifier/index.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/micromark-util-resolve-all@2.0.1/node_modules/micromark-util-resolve-all/index.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/micromark-util-sanitize-uri@2.0.1/node_modules/micromark-util-sanitize-uri/index.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/micromark-util-subtokenize@2.1.0/node_modules/micromark-util-subtokenize/index.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/micromark-util-subtokenize@2.1.0/node_modules/micromark-util-subtokenize/lib/splice-buffer.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/constructs.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/create-tokenizer.cjs +3 -0
- package/dist/cjs/node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/initialize/content.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/initialize/document.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/initialize/flow.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/initialize/text.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/parse.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/postprocess.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/preprocess.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/index.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/lib/aria.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/lib/find.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/lib/hast-to-react.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/lib/html.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/lib/normalize.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/lib/svg.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/lib/util/case-insensitive-transform.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/lib/util/case-sensitive-transform.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/lib/util/create.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/lib/util/defined-info.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/lib/util/info.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/lib/util/merge.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/lib/util/schema.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/lib/util/types.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/lib/xlink.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/lib/xml.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/lib/xmlns.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/react-markdown@10.1.0_@types_react@19.2.18_react@19.2.8/node_modules/react-markdown/lib/index.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/remark-gfm@4.0.1/node_modules/remark-gfm/lib/index.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/remark-parse@11.0.0/node_modules/remark-parse/lib/index.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/remark-rehype@11.1.2/node_modules/remark-rehype/lib/index.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/space-separated-tokens@2.0.2/node_modules/space-separated-tokens/index.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/style-to-js@1.1.21/node_modules/style-to-js/cjs/index.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/style-to-js@1.1.21/node_modules/style-to-js/cjs/utilities.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/style-to-object@1.0.14/node_modules/style-to-object/cjs/index.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/trim-lines@3.0.1/node_modules/trim-lines/index.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/trough@2.2.0/node_modules/trough/lib/index.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/unified@11.0.5/node_modules/unified/lib/callable-instance.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/unified@11.0.5/node_modules/unified/lib/index.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/unist-util-is@6.0.1/node_modules/unist-util-is/lib/index.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/unist-util-position@5.0.0/node_modules/unist-util-position/lib/index.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/unist-util-stringify-position@4.0.0/node_modules/unist-util-stringify-position/lib/index.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/unist-util-visit-parents@6.0.2/node_modules/unist-util-visit-parents/lib/color.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/unist-util-visit-parents@6.0.2/node_modules/unist-util-visit-parents/lib/index.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/unist-util-visit@5.1.0/node_modules/unist-util-visit/lib/index.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/vfile-message@4.0.3/node_modules/vfile-message/lib/index.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/vfile@6.0.3/node_modules/vfile/lib/index.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/vfile@6.0.3/node_modules/vfile/lib/minpath.browser.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/vfile@6.0.3/node_modules/vfile/lib/minproc.browser.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/vfile@6.0.3/node_modules/vfile/lib/minurl.browser.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/vfile@6.0.3/node_modules/vfile/lib/minurl.shared.cjs +1 -0
- package/dist/esm/_virtual/index2.js +7 -0
- package/dist/esm/_virtual/index3.js +7 -0
- package/dist/esm/_virtual/index4.js +4 -0
- package/dist/esm/_virtual/utilities.js +4 -0
- package/dist/esm/components/checkbox/checkbox-labeled.js +1 -0
- package/dist/esm/components/index.js +218 -214
- package/dist/esm/components/markdown-text/index.js +4 -0
- package/dist/esm/components/markdown-text/markdown-text.js +63 -0
- package/dist/esm/components/truncated-text/index.js +4 -0
- package/dist/esm/components/truncated-text/truncated-text.js +30 -0
- package/dist/esm/components/with-copy/with-copy.js +3 -2
- package/dist/esm/index.js +310 -306
- package/dist/esm/node_modules/.pnpm/@ungap_structured-clone@1.4.0/node_modules/@ungap/structured-clone/esm/deserialize.js +85 -0
- package/dist/esm/node_modules/.pnpm/@ungap_structured-clone@1.4.0/node_modules/@ungap/structured-clone/esm/index.js +11 -0
- package/dist/esm/node_modules/.pnpm/@ungap_structured-clone@1.4.0/node_modules/@ungap/structured-clone/esm/serialize.js +110 -0
- package/dist/esm/node_modules/.pnpm/@ungap_structured-clone@1.4.0/node_modules/@ungap/structured-clone/esm/types.js +13 -0
- package/dist/esm/node_modules/.pnpm/bail@2.0.2/node_modules/bail/index.js +7 -0
- package/dist/esm/node_modules/.pnpm/ccount@2.0.1/node_modules/ccount/index.js +12 -0
- package/dist/esm/node_modules/.pnpm/comma-separated-tokens@2.0.3/node_modules/comma-separated-tokens/index.js +9 -0
- package/dist/esm/node_modules/.pnpm/decode-named-character-reference@1.3.0/node_modules/decode-named-character-reference/index.dom.js +10 -0
- package/dist/esm/node_modules/.pnpm/devlop@1.1.0/node_modules/devlop/lib/default.js +8 -0
- package/dist/esm/node_modules/.pnpm/escape-string-regexp@5.0.0/node_modules/escape-string-regexp/index.js +8 -0
- package/dist/esm/node_modules/.pnpm/estree-util-is-identifier-name@3.0.0/node_modules/estree-util-is-identifier-name/lib/index.js +7 -0
- package/dist/esm/node_modules/.pnpm/extend@3.0.2/node_modules/extend/index.js +43 -0
- package/dist/esm/node_modules/.pnpm/hast-util-to-jsx-runtime@2.3.6/node_modules/hast-util-to-jsx-runtime/lib/index.js +302 -0
- package/dist/esm/node_modules/.pnpm/hast-util-whitespace@3.0.0/node_modules/hast-util-whitespace/lib/index.js +10 -0
- package/dist/esm/node_modules/.pnpm/html-url-attributes@3.0.1/node_modules/html-url-attributes/lib/index.js +26 -0
- package/dist/esm/node_modules/.pnpm/inline-style-parser@0.2.7/node_modules/inline-style-parser/cjs/index.js +93 -0
- package/dist/esm/node_modules/.pnpm/is-plain-obj@4.1.0/node_modules/is-plain-obj/index.js +9 -0
- package/dist/esm/node_modules/.pnpm/longest-streak@3.1.0/node_modules/longest-streak/index.js +12 -0
- package/dist/esm/node_modules/.pnpm/markdown-table@3.0.4/node_modules/markdown-table/index.js +75 -0
- package/dist/esm/node_modules/.pnpm/mdast-util-find-and-replace@3.0.2/node_modules/mdast-util-find-and-replace/lib/index.js +70 -0
- package/dist/esm/node_modules/.pnpm/mdast-util-from-markdown@2.0.3/node_modules/mdast-util-from-markdown/lib/index.js +581 -0
- package/dist/esm/node_modules/.pnpm/mdast-util-gfm-autolink-literal@2.0.1/node_modules/mdast-util-gfm-autolink-literal/lib/index.js +130 -0
- package/dist/esm/node_modules/.pnpm/mdast-util-gfm-footnote@2.1.0/node_modules/mdast-util-gfm-footnote/lib/index.js +95 -0
- package/dist/esm/node_modules/.pnpm/mdast-util-gfm-strikethrough@2.0.0/node_modules/mdast-util-gfm-strikethrough/lib/index.js +50 -0
- package/dist/esm/node_modules/.pnpm/mdast-util-gfm-table@2.0.0/node_modules/mdast-util-gfm-table/lib/index.js +135 -0
- package/dist/esm/node_modules/.pnpm/mdast-util-gfm-task-list-item@2.0.0/node_modules/mdast-util-gfm-task-list-item/lib/index.js +58 -0
- package/dist/esm/node_modules/.pnpm/mdast-util-gfm@3.1.0/node_modules/mdast-util-gfm/lib/index.js +29 -0
- package/dist/esm/node_modules/.pnpm/mdast-util-phrasing@4.1.0/node_modules/mdast-util-phrasing/lib/index.js +30 -0
- package/dist/esm/node_modules/.pnpm/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast/lib/footer.js +90 -0
- package/dist/esm/node_modules/.pnpm/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast/lib/handlers/blockquote.js +12 -0
- package/dist/esm/node_modules/.pnpm/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast/lib/handlers/break.js +8 -0
- package/dist/esm/node_modules/.pnpm/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast/lib/handlers/code.js +15 -0
- package/dist/esm/node_modules/.pnpm/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast/lib/handlers/delete.js +12 -0
- package/dist/esm/node_modules/.pnpm/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast/lib/handlers/emphasis.js +12 -0
- package/dist/esm/node_modules/.pnpm/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.js +28 -0
- package/dist/esm/node_modules/.pnpm/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast/lib/handlers/heading.js +12 -0
- package/dist/esm/node_modules/.pnpm/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast/lib/handlers/html.js +9 -0
- package/dist/esm/node_modules/.pnpm/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast/lib/handlers/image-reference.js +14 -0
- package/dist/esm/node_modules/.pnpm/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast/lib/handlers/image.js +10 -0
- package/dist/esm/node_modules/.pnpm/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast/lib/handlers/index.js +58 -0
- package/dist/esm/node_modules/.pnpm/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast/lib/handlers/inline-code.js +14 -0
- package/dist/esm/node_modules/.pnpm/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast/lib/handlers/link-reference.js +19 -0
- package/dist/esm/node_modules/.pnpm/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast/lib/handlers/link.js +15 -0
- package/dist/esm/node_modules/.pnpm/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast/lib/handlers/list-item.js +42 -0
- package/dist/esm/node_modules/.pnpm/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast/lib/handlers/list.js +21 -0
- package/dist/esm/node_modules/.pnpm/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast/lib/handlers/paragraph.js +12 -0
- package/dist/esm/node_modules/.pnpm/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast/lib/handlers/root.js +7 -0
- package/dist/esm/node_modules/.pnpm/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast/lib/handlers/strong.js +12 -0
- package/dist/esm/node_modules/.pnpm/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast/lib/handlers/table-cell.js +13 -0
- package/dist/esm/node_modules/.pnpm/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast/lib/handlers/table-row.js +21 -0
- package/dist/esm/node_modules/.pnpm/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast/lib/handlers/table.js +32 -0
- package/dist/esm/node_modules/.pnpm/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast/lib/handlers/text.js +8 -0
- package/dist/esm/node_modules/.pnpm/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast/lib/handlers/thematic-break.js +12 -0
- package/dist/esm/node_modules/.pnpm/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast/lib/index.js +10 -0
- package/dist/esm/node_modules/.pnpm/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast/lib/revert.js +13 -0
- package/dist/esm/node_modules/.pnpm/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast/lib/state.js +104 -0
- package/dist/esm/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/blockquote.js +15 -0
- package/dist/esm/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/break.js +13 -0
- package/dist/esm/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/code.js +44 -0
- package/dist/esm/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/definition.js +34 -0
- package/dist/esm/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/emphasis.js +33 -0
- package/dist/esm/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/heading.js +34 -0
- package/dist/esm/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/html.js +10 -0
- package/dist/esm/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/image-reference.js +27 -0
- package/dist/esm/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/image.js +33 -0
- package/dist/esm/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/index.js +44 -0
- package/dist/esm/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/inline-code.js +22 -0
- package/dist/esm/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/link-reference.js +27 -0
- package/dist/esm/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/link.js +50 -0
- package/dist/esm/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/list-item.js +22 -0
- package/dist/esm/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/list.js +35 -0
- package/dist/esm/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/paragraph.js +7 -0
- package/dist/esm/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/root.js +9 -0
- package/dist/esm/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/strong.js +33 -0
- package/dist/esm/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/text.js +6 -0
- package/dist/esm/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/thematic-break.js +9 -0
- package/dist/esm/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/check-bullet-ordered.js +11 -0
- package/dist/esm/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/check-bullet-other.js +18 -0
- package/dist/esm/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/check-bullet.js +11 -0
- package/dist/esm/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/check-emphasis.js +11 -0
- package/dist/esm/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/check-fence.js +11 -0
- package/dist/esm/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/check-list-item-indent.js +11 -0
- package/dist/esm/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/check-quote.js +11 -0
- package/dist/esm/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/check-rule-repetition.js +11 -0
- package/dist/esm/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/check-rule.js +11 -0
- package/dist/esm/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/check-strong.js +11 -0
- package/dist/esm/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/encode-character-reference.js +6 -0
- package/dist/esm/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/encode-info.js +37 -0
- package/dist/esm/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/format-code-as-indented.js +9 -0
- package/dist/esm/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/format-heading-as-setext.js +13 -0
- package/dist/esm/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/format-link-as-autolink.js +15 -0
- package/dist/esm/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/pattern-in-scope.js +15 -0
- package/dist/esm/node_modules/.pnpm/mdast-util-to-string@4.0.0/node_modules/mdast-util-to-string/lib/index.js +29 -0
- package/dist/esm/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/attention.js +83 -0
- package/dist/esm/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/autolink.js +43 -0
- package/dist/esm/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/blank-line.js +18 -0
- package/dist/esm/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/block-quote.js +42 -0
- package/dist/esm/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/character-escape.js +17 -0
- package/dist/esm/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/character-reference.js +30 -0
- package/dist/esm/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/code-fenced.js +94 -0
- package/dist/esm/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/code-indented.js +43 -0
- package/dist/esm/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/code-text.js +45 -0
- package/dist/esm/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/content.js +50 -0
- package/dist/esm/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/definition.js +80 -0
- package/dist/esm/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/hard-break-escape.js +17 -0
- package/dist/esm/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/heading-atx.js +46 -0
- package/dist/esm/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/html-flow.js +144 -0
- package/dist/esm/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/html-text.js +102 -0
- package/dist/esm/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/label-end.js +152 -0
- package/dist/esm/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/label-start-image.js +22 -0
- package/dist/esm/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/label-start-link.js +19 -0
- package/dist/esm/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/line-ending.js +14 -0
- package/dist/esm/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/list.js +90 -0
- package/dist/esm/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/setext-underline.js +57 -0
- package/dist/esm/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/thematic-break.js +25 -0
- package/dist/esm/node_modules/.pnpm/micromark-extension-gfm-autolink-literal@2.1.0/node_modules/micromark-extension-gfm-autolink-literal/lib/syntax.js +193 -0
- package/dist/esm/node_modules/.pnpm/micromark-extension-gfm-footnote@2.1.0/node_modules/micromark-extension-gfm-footnote/lib/syntax.js +192 -0
- package/dist/esm/node_modules/.pnpm/micromark-extension-gfm-strikethrough@2.1.0/node_modules/micromark-extension-gfm-strikethrough/lib/syntax.js +67 -0
- package/dist/esm/node_modules/.pnpm/micromark-extension-gfm-table@2.1.1/node_modules/micromark-extension-gfm-table/lib/edit-map.js +71 -0
- package/dist/esm/node_modules/.pnpm/micromark-extension-gfm-table@2.1.1/node_modules/micromark-extension-gfm-table/lib/infer.js +23 -0
- package/dist/esm/node_modules/.pnpm/micromark-extension-gfm-table@2.1.1/node_modules/micromark-extension-gfm-table/lib/syntax.js +145 -0
- package/dist/esm/node_modules/.pnpm/micromark-extension-gfm-task-list-item@2.1.0/node_modules/micromark-extension-gfm-task-list-item/lib/syntax.js +45 -0
- package/dist/esm/node_modules/.pnpm/micromark-extension-gfm@3.0.0/node_modules/micromark-extension-gfm/index.js +18 -0
- package/dist/esm/node_modules/.pnpm/micromark-factory-destination@2.0.1/node_modules/micromark-factory-destination/index.js +31 -0
- package/dist/esm/node_modules/.pnpm/micromark-factory-label@2.0.1/node_modules/micromark-factory-label/index.js +28 -0
- package/dist/esm/node_modules/.pnpm/micromark-factory-space@2.0.1/node_modules/micromark-factory-space/index.js +15 -0
- package/dist/esm/node_modules/.pnpm/micromark-factory-title@2.0.1/node_modules/micromark-factory-title/index.js +26 -0
- package/dist/esm/node_modules/.pnpm/micromark-factory-whitespace@2.0.1/node_modules/micromark-factory-whitespace/index.js +12 -0
- package/dist/esm/node_modules/.pnpm/micromark-util-character@2.1.1/node_modules/micromark-util-character/index.js +39 -0
- package/dist/esm/node_modules/.pnpm/micromark-util-chunked@2.0.1/node_modules/micromark-util-chunked/index.js +16 -0
- package/dist/esm/node_modules/.pnpm/micromark-util-classify-character@2.0.1/node_modules/micromark-util-classify-character/index.js +10 -0
- package/dist/esm/node_modules/.pnpm/micromark-util-combine-extensions@2.0.1/node_modules/micromark-util-combine-extensions/index.js +36 -0
- package/dist/esm/node_modules/.pnpm/micromark-util-decode-numeric-character-reference@2.0.2/node_modules/micromark-util-decode-numeric-character-reference/index.js +16 -0
- package/dist/esm/node_modules/.pnpm/micromark-util-decode-string@2.0.1/node_modules/micromark-util-decode-string/index.js +18 -0
- package/dist/esm/node_modules/.pnpm/micromark-util-html-tag-name@2.0.1/node_modules/micromark-util-html-tag-name/index.js +68 -0
- package/dist/esm/node_modules/.pnpm/micromark-util-normalize-identifier@2.0.1/node_modules/micromark-util-normalize-identifier/index.js +6 -0
- package/dist/esm/node_modules/.pnpm/micromark-util-resolve-all@2.0.1/node_modules/micromark-util-resolve-all/index.js +12 -0
- package/dist/esm/node_modules/.pnpm/micromark-util-sanitize-uri@2.0.1/node_modules/micromark-util-sanitize-uri/index.js +23 -0
- package/dist/esm/node_modules/.pnpm/micromark-util-subtokenize@2.1.0/node_modules/micromark-util-subtokenize/index.js +55 -0
- package/dist/esm/node_modules/.pnpm/micromark-util-subtokenize@2.1.0/node_modules/micromark-util-subtokenize/lib/splice-buffer.js +175 -0
- package/dist/esm/node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/constructs.js +85 -0
- package/dist/esm/node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/create-tokenizer.js +223 -0
- package/dist/esm/node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/initialize/content.js +37 -0
- package/dist/esm/node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/initialize/document.js +126 -0
- package/dist/esm/node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/initialize/flow.js +33 -0
- package/dist/esm/node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/initialize/text.js +95 -0
- package/dist/esm/node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/parse.js +32 -0
- package/dist/esm/node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/postprocess.js +9 -0
- package/dist/esm/node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/preprocess.js +39 -0
- package/dist/esm/node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/index.js +12 -0
- package/dist/esm/node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/lib/aria.js +61 -0
- package/dist/esm/node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/lib/find.js +33 -0
- package/dist/esm/node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/lib/hast-to-react.js +22 -0
- package/dist/esm/node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/lib/html.js +378 -0
- package/dist/esm/node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/lib/normalize.js +6 -0
- package/dist/esm/node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/lib/svg.js +568 -0
- package/dist/esm/node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/lib/util/case-insensitive-transform.js +7 -0
- package/dist/esm/node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/lib/util/case-sensitive-transform.js +6 -0
- package/dist/esm/node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/lib/util/create.js +19 -0
- package/dist/esm/node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/lib/util/defined-info.js +36 -0
- package/dist/esm/node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/lib/util/info.js +28 -0
- package/dist/esm/node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/lib/util/merge.js +10 -0
- package/dist/esm/node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/lib/util/schema.js +21 -0
- package/dist/esm/node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/lib/util/types.js +14 -0
- package/dist/esm/node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/lib/xlink.js +19 -0
- package/dist/esm/node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/lib/xml.js +11 -0
- package/dist/esm/node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/lib/xmlns.js +11 -0
- package/dist/esm/node_modules/.pnpm/react-markdown@10.1.0_@types_react@19.2.18_react@19.2.8/node_modules/react-markdown/lib/index.js +102 -0
- package/dist/esm/node_modules/.pnpm/remark-gfm@4.0.1/node_modules/remark-gfm/lib/index.js +13 -0
- package/dist/esm/node_modules/.pnpm/remark-parse@11.0.0/node_modules/remark-parse/lib/index.js +19 -0
- package/dist/esm/node_modules/.pnpm/remark-rehype@11.1.2/node_modules/remark-rehype/lib/index.js +18 -0
- package/dist/esm/node_modules/.pnpm/space-separated-tokens@2.0.2/node_modules/space-separated-tokens/index.js +6 -0
- package/dist/esm/node_modules/.pnpm/style-to-js@1.1.21/node_modules/style-to-js/cjs/index.js +20 -0
- package/dist/esm/node_modules/.pnpm/style-to-js@1.1.21/node_modules/style-to-js/cjs/utilities.js +19 -0
- package/dist/esm/node_modules/.pnpm/style-to-object@1.0.14/node_modules/style-to-object/cjs/index.js +28 -0
- package/dist/esm/node_modules/.pnpm/trim-lines@3.0.1/node_modules/trim-lines/index.js +28 -0
- package/dist/esm/node_modules/.pnpm/trough@2.2.0/node_modules/trough/lib/index.js +60 -0
- package/dist/esm/node_modules/.pnpm/unified@11.0.5/node_modules/unified/lib/callable-instance.js +25 -0
- package/dist/esm/node_modules/.pnpm/unified@11.0.5/node_modules/unified/lib/index.js +529 -0
- package/dist/esm/node_modules/.pnpm/unist-util-is@6.0.1/node_modules/unist-util-is/lib/index.js +91 -0
- package/dist/esm/node_modules/.pnpm/unist-util-position@5.0.0/node_modules/unist-util-position/lib/index.js +23 -0
- package/dist/esm/node_modules/.pnpm/unist-util-stringify-position@4.0.0/node_modules/unist-util-stringify-position/lib/index.js +15 -0
- package/dist/esm/node_modules/.pnpm/unist-util-visit-parents@6.0.2/node_modules/unist-util-visit-parents/lib/color.js +6 -0
- package/dist/esm/node_modules/.pnpm/unist-util-visit-parents@6.0.2/node_modules/unist-util-visit-parents/lib/index.js +56 -0
- package/dist/esm/node_modules/.pnpm/unist-util-visit@5.1.0/node_modules/unist-util-visit/lib/index.js +16 -0
- package/dist/esm/node_modules/.pnpm/vfile-message@4.0.3/node_modules/vfile-message/lib/index.js +91 -0
- package/dist/esm/node_modules/.pnpm/vfile@6.0.3/node_modules/vfile/lib/index.js +406 -0
- package/dist/esm/node_modules/.pnpm/vfile@6.0.3/node_modules/vfile/lib/minpath.browser.js +112 -0
- package/dist/esm/node_modules/.pnpm/vfile@6.0.3/node_modules/vfile/lib/minproc.browser.js +7 -0
- package/dist/esm/node_modules/.pnpm/vfile@6.0.3/node_modules/vfile/lib/minurl.browser.js +41 -0
- package/dist/esm/node_modules/.pnpm/vfile@6.0.3/node_modules/vfile/lib/minurl.shared.js +7 -0
- package/dist/globals.css +1 -1
- package/dist/types/components/index.d.ts +2 -0
- package/dist/types/components/markdown-text/index.d.ts +1 -0
- package/dist/types/components/markdown-text/markdown-text.d.ts +6 -0
- package/dist/types/components/truncated-text/index.d.ts +1 -0
- package/dist/types/components/truncated-text/truncated-text.d.ts +13 -0
- package/dist/types/index.d.ts +2 -0
- package/package.json +3 -1
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { factorySpace as h } from "../../../../micromark-factory-space@2.0.1/node_modules/micromark-factory-space/index.js";
|
|
2
|
+
import { markdownLineEndingOrSpace as m, markdownLineEnding as C, markdownSpace as c } from "../../../../micromark-util-character@2.1.1/node_modules/micromark-util-character/index.js";
|
|
3
|
+
const l = {
|
|
4
|
+
name: "tasklistCheck",
|
|
5
|
+
tokenize: L
|
|
6
|
+
};
|
|
7
|
+
function g() {
|
|
8
|
+
return {
|
|
9
|
+
text: {
|
|
10
|
+
91: l
|
|
11
|
+
}
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
function L(n, i, r) {
|
|
15
|
+
const k = this;
|
|
16
|
+
return e;
|
|
17
|
+
function e(t) {
|
|
18
|
+
return (
|
|
19
|
+
// Exit if there’s stuff before.
|
|
20
|
+
k.previous !== null || // Exit if not in the first content that is the first child of a list
|
|
21
|
+
// item.
|
|
22
|
+
!k._gfmTasklistFirstContentOfListItem ? r(t) : (n.enter("taskListCheck"), n.enter("taskListCheckMarker"), n.consume(t), n.exit("taskListCheckMarker"), u)
|
|
23
|
+
);
|
|
24
|
+
}
|
|
25
|
+
function u(t) {
|
|
26
|
+
return m(t) ? (n.enter("taskListCheckValueUnchecked"), n.consume(t), n.exit("taskListCheckValueUnchecked"), a) : t === 88 || t === 120 ? (n.enter("taskListCheckValueChecked"), n.consume(t), n.exit("taskListCheckValueChecked"), a) : r(t);
|
|
27
|
+
}
|
|
28
|
+
function a(t) {
|
|
29
|
+
return t === 93 ? (n.enter("taskListCheckMarker"), n.consume(t), n.exit("taskListCheckMarker"), n.exit("taskListCheck"), s) : r(t);
|
|
30
|
+
}
|
|
31
|
+
function s(t) {
|
|
32
|
+
return C(t) ? i(t) : c(t) ? n.check({
|
|
33
|
+
tokenize: o
|
|
34
|
+
}, i, r)(t) : r(t);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
function o(n, i, r) {
|
|
38
|
+
return h(n, k, "whitespace");
|
|
39
|
+
function k(e) {
|
|
40
|
+
return e === null ? r(e) : i(e);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
export {
|
|
44
|
+
g as gfmTaskListItem
|
|
45
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { combineExtensions as m } from "../../../micromark-util-combine-extensions@2.0.1/node_modules/micromark-util-combine-extensions/index.js";
|
|
2
|
+
import { gfmAutolinkLiteral as r } from "../../../micromark-extension-gfm-autolink-literal@2.1.0/node_modules/micromark-extension-gfm-autolink-literal/lib/syntax.js";
|
|
3
|
+
import { gfmFootnote as t } from "../../../micromark-extension-gfm-footnote@2.1.0/node_modules/micromark-extension-gfm-footnote/lib/syntax.js";
|
|
4
|
+
import { gfmStrikethrough as f } from "../../../micromark-extension-gfm-strikethrough@2.1.0/node_modules/micromark-extension-gfm-strikethrough/lib/syntax.js";
|
|
5
|
+
import { gfmTable as i } from "../../../micromark-extension-gfm-table@2.1.1/node_modules/micromark-extension-gfm-table/lib/syntax.js";
|
|
6
|
+
import { gfmTaskListItem as e } from "../../../micromark-extension-gfm-task-list-item@2.1.0/node_modules/micromark-extension-gfm-task-list-item/lib/syntax.js";
|
|
7
|
+
function k(o) {
|
|
8
|
+
return m([
|
|
9
|
+
r(),
|
|
10
|
+
t(),
|
|
11
|
+
f(o),
|
|
12
|
+
i(),
|
|
13
|
+
e()
|
|
14
|
+
]);
|
|
15
|
+
}
|
|
16
|
+
export {
|
|
17
|
+
k as gfm
|
|
18
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { asciiControl as h, markdownLineEnding as B, markdownLineEndingOrSpace as C } from "../../../micromark-util-character@2.1.1/node_modules/micromark-util-character/index.js";
|
|
2
|
+
function F(r, a, S, i, g, t, E, m, w) {
|
|
3
|
+
const N = w || Number.POSITIVE_INFINITY;
|
|
4
|
+
let x = 0;
|
|
5
|
+
return b;
|
|
6
|
+
function b(n) {
|
|
7
|
+
return n === 60 ? (r.enter(i), r.enter(g), r.enter(t), r.consume(n), r.exit(t), I) : n === null || n === 32 || n === 41 || h(n) ? S(n) : (r.enter(i), r.enter(E), r.enter(m), r.enter("chunkString", {
|
|
8
|
+
contentType: "string"
|
|
9
|
+
}), u(n));
|
|
10
|
+
}
|
|
11
|
+
function I(n) {
|
|
12
|
+
return n === 62 ? (r.enter(t), r.consume(n), r.exit(t), r.exit(g), r.exit(i), a) : (r.enter(m), r.enter("chunkString", {
|
|
13
|
+
contentType: "string"
|
|
14
|
+
}), l(n));
|
|
15
|
+
}
|
|
16
|
+
function l(n) {
|
|
17
|
+
return n === 62 ? (r.exit("chunkString"), r.exit(m), I(n)) : n === null || n === 60 || B(n) ? S(n) : (r.consume(n), n === 92 ? L : l);
|
|
18
|
+
}
|
|
19
|
+
function L(n) {
|
|
20
|
+
return n === 60 || n === 62 || n === 92 ? (r.consume(n), l) : l(n);
|
|
21
|
+
}
|
|
22
|
+
function u(n) {
|
|
23
|
+
return !x && (n === null || n === 41 || C(n)) ? (r.exit("chunkString"), r.exit(m), r.exit(E), r.exit(i), a(n)) : x < N && n === 40 ? (r.consume(n), x++, u) : n === 41 ? (r.consume(n), x--, u) : n === null || n === 32 || n === 40 || h(n) ? S(n) : (r.consume(n), n === 92 ? O : u);
|
|
24
|
+
}
|
|
25
|
+
function O(n) {
|
|
26
|
+
return n === 40 || n === 41 || n === 92 ? (r.consume(n), u) : u(n);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
export {
|
|
30
|
+
F as factoryDestination
|
|
31
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { markdownLineEnding as g, markdownSpace as p } from "../../../micromark-util-character@2.1.1/node_modules/micromark-util-character/index.js";
|
|
2
|
+
function w(r, h, E, x, i, m) {
|
|
3
|
+
const S = this;
|
|
4
|
+
let t = 0, l;
|
|
5
|
+
return b;
|
|
6
|
+
function b(n) {
|
|
7
|
+
return r.enter(x), r.enter(i), r.consume(n), r.exit(i), r.enter(m), a;
|
|
8
|
+
}
|
|
9
|
+
function a(n) {
|
|
10
|
+
return t > 999 || n === null || n === 91 || n === 93 && !l || // To do: remove in the future once we’ve switched from
|
|
11
|
+
// `micromark-extension-footnote` to `micromark-extension-gfm-footnote`,
|
|
12
|
+
// which doesn’t need this.
|
|
13
|
+
// Hidden footnotes hook.
|
|
14
|
+
/* c8 ignore next 3 */
|
|
15
|
+
n === 94 && !t && "_hiddenFootnoteSupport" in S.parser.constructs ? E(n) : n === 93 ? (r.exit(m), r.enter(i), r.consume(n), r.exit(i), r.exit(x), h) : g(n) ? (r.enter("lineEnding"), r.consume(n), r.exit("lineEnding"), a) : (r.enter("chunkString", {
|
|
16
|
+
contentType: "string"
|
|
17
|
+
}), u(n));
|
|
18
|
+
}
|
|
19
|
+
function u(n) {
|
|
20
|
+
return n === null || n === 91 || n === 93 || g(n) || t++ > 999 ? (r.exit("chunkString"), a(n)) : (r.consume(n), l || (l = !p(n)), n === 92 ? o : u);
|
|
21
|
+
}
|
|
22
|
+
function o(n) {
|
|
23
|
+
return n === 91 || n === 92 || n === 93 ? (r.consume(n), t++, u) : u(n);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
export {
|
|
27
|
+
w as factoryLabel
|
|
28
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { markdownSpace as m } from "../../../micromark-util-character@2.1.1/node_modules/micromark-util-character/index.js";
|
|
2
|
+
function p(n, t, i, u) {
|
|
3
|
+
const o = u ? u - 1 : Number.POSITIVE_INFINITY;
|
|
4
|
+
let I = 0;
|
|
5
|
+
return a;
|
|
6
|
+
function a(r) {
|
|
7
|
+
return m(r) ? (n.enter(i), e(r)) : t(r);
|
|
8
|
+
}
|
|
9
|
+
function e(r) {
|
|
10
|
+
return m(r) && I++ < o ? (n.consume(r), e) : (n.exit(i), t(r));
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
export {
|
|
14
|
+
p as factorySpace
|
|
15
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { factorySpace as k } from "../../../micromark-factory-space@2.0.1/node_modules/micromark-factory-space/index.js";
|
|
2
|
+
import { markdownLineEnding as E } from "../../../micromark-util-character@2.1.1/node_modules/micromark-util-character/index.js";
|
|
3
|
+
function B(r, S, m, x, u, a) {
|
|
4
|
+
let i;
|
|
5
|
+
return h;
|
|
6
|
+
function h(n) {
|
|
7
|
+
return n === 34 || n === 39 || n === 40 ? (r.enter(x), r.enter(u), r.consume(n), r.exit(u), i = n === 40 ? 41 : n, g) : m(n);
|
|
8
|
+
}
|
|
9
|
+
function g(n) {
|
|
10
|
+
return n === i ? (r.enter(u), r.consume(n), r.exit(u), r.exit(x), S) : (r.enter(a), l(n));
|
|
11
|
+
}
|
|
12
|
+
function l(n) {
|
|
13
|
+
return n === i ? (r.exit(a), g(i)) : n === null ? m(n) : E(n) ? (r.enter("lineEnding"), r.consume(n), r.exit("lineEnding"), k(r, l, "linePrefix")) : (r.enter("chunkString", {
|
|
14
|
+
contentType: "string"
|
|
15
|
+
}), t(n));
|
|
16
|
+
}
|
|
17
|
+
function t(n) {
|
|
18
|
+
return n === i || n === null || E(n) ? (r.exit("chunkString"), l(n)) : (r.consume(n), n === 92 ? b : t);
|
|
19
|
+
}
|
|
20
|
+
function b(n) {
|
|
21
|
+
return n === i || n === 92 ? (r.consume(n), t) : t(n);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
export {
|
|
25
|
+
B as factoryTitle
|
|
26
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { factorySpace as u } from "../../../micromark-factory-space@2.0.1/node_modules/micromark-factory-space/index.js";
|
|
2
|
+
import { markdownLineEnding as a, markdownSpace as o } from "../../../micromark-util-character@2.1.1/node_modules/micromark-util-character/index.js";
|
|
3
|
+
function f(r, e) {
|
|
4
|
+
let t;
|
|
5
|
+
return i;
|
|
6
|
+
function i(n) {
|
|
7
|
+
return a(n) ? (r.enter("lineEnding"), r.consume(n), r.exit("lineEnding"), t = !0, i) : o(n) ? u(r, i, t ? "linePrefix" : "lineSuffix")(n) : e(n);
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
export {
|
|
11
|
+
f as factoryWhitespace
|
|
12
|
+
};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
const c = i(/[A-Za-z]/), r = i(/[\dA-Za-z]/), a = i(/[#-'*+\--9=?A-Z^-~]/);
|
|
2
|
+
function s(n) {
|
|
3
|
+
return (
|
|
4
|
+
// Special whitespace codes (which have negative values), C0 and Control
|
|
5
|
+
// character DEL
|
|
6
|
+
n !== null && (n < 32 || n === 127)
|
|
7
|
+
);
|
|
8
|
+
}
|
|
9
|
+
const o = i(/\d/), e = i(/[\dA-Fa-f]/), l = i(/[!-/:-@[-`{-~]/);
|
|
10
|
+
function f(n) {
|
|
11
|
+
return n !== null && n < -2;
|
|
12
|
+
}
|
|
13
|
+
function p(n) {
|
|
14
|
+
return n !== null && (n < 0 || n === 32);
|
|
15
|
+
}
|
|
16
|
+
function A(n) {
|
|
17
|
+
return n === -2 || n === -1 || n === 32;
|
|
18
|
+
}
|
|
19
|
+
const g = i(/\p{P}|\p{S}/u), h = i(/\s/);
|
|
20
|
+
function i(n) {
|
|
21
|
+
return u;
|
|
22
|
+
function u(t) {
|
|
23
|
+
return t !== null && t > -1 && n.test(String.fromCharCode(t));
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
export {
|
|
27
|
+
c as asciiAlpha,
|
|
28
|
+
r as asciiAlphanumeric,
|
|
29
|
+
a as asciiAtext,
|
|
30
|
+
s as asciiControl,
|
|
31
|
+
o as asciiDigit,
|
|
32
|
+
e as asciiHexDigit,
|
|
33
|
+
l as asciiPunctuation,
|
|
34
|
+
f as markdownLineEnding,
|
|
35
|
+
p as markdownLineEndingOrSpace,
|
|
36
|
+
A as markdownSpace,
|
|
37
|
+
g as unicodePunctuation,
|
|
38
|
+
h as unicodeWhitespace
|
|
39
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
function p(h, n, c, f) {
|
|
2
|
+
const l = h.length;
|
|
3
|
+
let u = 0, e;
|
|
4
|
+
if (n < 0 ? n = -n > l ? 0 : l + n : n = n > l ? l : n, c = c > 0 ? c : 0, f.length < 1e4)
|
|
5
|
+
e = Array.from(f), e.unshift(n, c), h.splice(...e);
|
|
6
|
+
else
|
|
7
|
+
for (c && h.splice(n, c); u < f.length; )
|
|
8
|
+
e = f.slice(u, u + 1e4), e.unshift(n, 0), h.splice(...e), u += 1e4, n += 1e4;
|
|
9
|
+
}
|
|
10
|
+
function g(h, n) {
|
|
11
|
+
return h.length > 0 ? (p(h, h.length, 0, n), h) : n;
|
|
12
|
+
}
|
|
13
|
+
export {
|
|
14
|
+
g as push,
|
|
15
|
+
p as splice
|
|
16
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { markdownLineEndingOrSpace as i, unicodeWhitespace as r, unicodePunctuation as t } from "../../../micromark-util-character@2.1.1/node_modules/micromark-util-character/index.js";
|
|
2
|
+
function a(n) {
|
|
3
|
+
if (n === null || i(n) || r(n))
|
|
4
|
+
return 1;
|
|
5
|
+
if (t(n))
|
|
6
|
+
return 2;
|
|
7
|
+
}
|
|
8
|
+
export {
|
|
9
|
+
a as classifyCharacter
|
|
10
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { splice as a } from "../../../micromark-util-chunked@2.0.1/node_modules/micromark-util-chunked/index.js";
|
|
2
|
+
const s = {}.hasOwnProperty;
|
|
3
|
+
function d(t) {
|
|
4
|
+
const e = {};
|
|
5
|
+
let n = -1;
|
|
6
|
+
for (; ++n < t.length; )
|
|
7
|
+
l(e, t[n]);
|
|
8
|
+
return e;
|
|
9
|
+
}
|
|
10
|
+
function l(t, e) {
|
|
11
|
+
let n;
|
|
12
|
+
for (n in e) {
|
|
13
|
+
const i = (s.call(t, n) ? t[n] : void 0) || (t[n] = {}), f = e[n];
|
|
14
|
+
let o;
|
|
15
|
+
if (f)
|
|
16
|
+
for (o in f) {
|
|
17
|
+
s.call(i, o) || (i[o] = []);
|
|
18
|
+
const r = f[o];
|
|
19
|
+
h(
|
|
20
|
+
// @ts-expect-error Looks like a list.
|
|
21
|
+
i[o],
|
|
22
|
+
Array.isArray(r) ? r : r ? [r] : []
|
|
23
|
+
);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
function h(t, e) {
|
|
28
|
+
let n = -1;
|
|
29
|
+
const c = [];
|
|
30
|
+
for (; ++n < e.length; )
|
|
31
|
+
(e[n].add === "after" ? t : c).push(e[n]);
|
|
32
|
+
a(t, 0, 0, c);
|
|
33
|
+
}
|
|
34
|
+
export {
|
|
35
|
+
d as combineExtensions
|
|
36
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
function n(r, _) {
|
|
2
|
+
const e = Number.parseInt(r, _);
|
|
3
|
+
return (
|
|
4
|
+
// C0 except for HT, LF, FF, CR, space.
|
|
5
|
+
e < 9 || e === 11 || e > 13 && e < 32 || // Control character (DEL) of C0, and C1 controls.
|
|
6
|
+
e > 126 && e < 160 || // Lone high surrogates and low surrogates.
|
|
7
|
+
e > 55295 && e < 57344 || // Noncharacters.
|
|
8
|
+
e > 64975 && e < 65008 || /* eslint-disable no-bitwise */
|
|
9
|
+
(e & 65535) === 65535 || (e & 65535) === 65534 || /* eslint-enable no-bitwise */
|
|
10
|
+
// Out of range
|
|
11
|
+
e > 1114111 ? "�" : String.fromCodePoint(e)
|
|
12
|
+
);
|
|
13
|
+
}
|
|
14
|
+
export {
|
|
15
|
+
n as decodeNumericCharacterReference
|
|
16
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { decodeNamedCharacterReference as o } from "../../../decode-named-character-reference@1.3.0/node_modules/decode-named-character-reference/index.dom.js";
|
|
2
|
+
import { decodeNumericCharacterReference as a } from "../../../micromark-util-decode-numeric-character-reference@2.0.2/node_modules/micromark-util-decode-numeric-character-reference/index.js";
|
|
3
|
+
const n = /\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;
|
|
4
|
+
function m(r) {
|
|
5
|
+
return r.replace(n, f);
|
|
6
|
+
}
|
|
7
|
+
function f(r, c, e) {
|
|
8
|
+
if (c)
|
|
9
|
+
return c;
|
|
10
|
+
if (e.charCodeAt(0) === 35) {
|
|
11
|
+
const t = e.charCodeAt(1), d = t === 120 || t === 88;
|
|
12
|
+
return a(e.slice(d ? 2 : 1), d ? 16 : 10);
|
|
13
|
+
}
|
|
14
|
+
return o(e) || r;
|
|
15
|
+
}
|
|
16
|
+
export {
|
|
17
|
+
m as decodeString
|
|
18
|
+
};
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
const e = [
|
|
2
|
+
"address",
|
|
3
|
+
"article",
|
|
4
|
+
"aside",
|
|
5
|
+
"base",
|
|
6
|
+
"basefont",
|
|
7
|
+
"blockquote",
|
|
8
|
+
"body",
|
|
9
|
+
"caption",
|
|
10
|
+
"center",
|
|
11
|
+
"col",
|
|
12
|
+
"colgroup",
|
|
13
|
+
"dd",
|
|
14
|
+
"details",
|
|
15
|
+
"dialog",
|
|
16
|
+
"dir",
|
|
17
|
+
"div",
|
|
18
|
+
"dl",
|
|
19
|
+
"dt",
|
|
20
|
+
"fieldset",
|
|
21
|
+
"figcaption",
|
|
22
|
+
"figure",
|
|
23
|
+
"footer",
|
|
24
|
+
"form",
|
|
25
|
+
"frame",
|
|
26
|
+
"frameset",
|
|
27
|
+
"h1",
|
|
28
|
+
"h2",
|
|
29
|
+
"h3",
|
|
30
|
+
"h4",
|
|
31
|
+
"h5",
|
|
32
|
+
"h6",
|
|
33
|
+
"head",
|
|
34
|
+
"header",
|
|
35
|
+
"hr",
|
|
36
|
+
"html",
|
|
37
|
+
"iframe",
|
|
38
|
+
"legend",
|
|
39
|
+
"li",
|
|
40
|
+
"link",
|
|
41
|
+
"main",
|
|
42
|
+
"menu",
|
|
43
|
+
"menuitem",
|
|
44
|
+
"nav",
|
|
45
|
+
"noframes",
|
|
46
|
+
"ol",
|
|
47
|
+
"optgroup",
|
|
48
|
+
"option",
|
|
49
|
+
"p",
|
|
50
|
+
"param",
|
|
51
|
+
"search",
|
|
52
|
+
"section",
|
|
53
|
+
"summary",
|
|
54
|
+
"table",
|
|
55
|
+
"tbody",
|
|
56
|
+
"td",
|
|
57
|
+
"tfoot",
|
|
58
|
+
"th",
|
|
59
|
+
"thead",
|
|
60
|
+
"title",
|
|
61
|
+
"tr",
|
|
62
|
+
"track",
|
|
63
|
+
"ul"
|
|
64
|
+
], t = ["pre", "script", "style", "textarea"];
|
|
65
|
+
export {
|
|
66
|
+
e as htmlBlockNames,
|
|
67
|
+
t as htmlRawNames
|
|
68
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { asciiAlphanumeric as f } from "../../../micromark-util-character@2.1.1/node_modules/micromark-util-character/index.js";
|
|
2
|
+
function h(t) {
|
|
3
|
+
const s = [];
|
|
4
|
+
let r = -1, n = 0, i = 0;
|
|
5
|
+
for (; ++r < t.length; ) {
|
|
6
|
+
const e = t.charCodeAt(r);
|
|
7
|
+
let o = "";
|
|
8
|
+
if (e === 37 && f(t.charCodeAt(r + 1)) && f(t.charCodeAt(r + 2)))
|
|
9
|
+
i = 2;
|
|
10
|
+
else if (e < 128)
|
|
11
|
+
/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(e)) || (o = String.fromCharCode(e));
|
|
12
|
+
else if (e > 55295 && e < 57344) {
|
|
13
|
+
const c = t.charCodeAt(r + 1);
|
|
14
|
+
e < 56320 && c > 56319 && c < 57344 ? (o = String.fromCharCode(e, c), i = 1) : o = "�";
|
|
15
|
+
} else
|
|
16
|
+
o = String.fromCharCode(e);
|
|
17
|
+
o && (s.push(t.slice(n, r), encodeURIComponent(o)), n = r + i + 1, o = ""), i && (r += i, i = 0);
|
|
18
|
+
}
|
|
19
|
+
return s.join("") + t.slice(n);
|
|
20
|
+
}
|
|
21
|
+
export {
|
|
22
|
+
h as normalizeUri
|
|
23
|
+
};
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { splice as I } from "../../../micromark-util-chunked@2.0.1/node_modules/micromark-util-chunked/index.js";
|
|
2
|
+
import { SpliceBuffer as _ } from "./lib/splice-buffer.js";
|
|
3
|
+
function b(u) {
|
|
4
|
+
const c = {};
|
|
5
|
+
let e = -1, p, o, n, s, f, l, g;
|
|
6
|
+
const r = new _(u);
|
|
7
|
+
for (; ++e < r.length; ) {
|
|
8
|
+
for (; e in c; )
|
|
9
|
+
e = c[e];
|
|
10
|
+
if (p = r.get(e), e && p[1].type === "chunkFlow" && r.get(e - 1)[1].type === "listItemPrefix" && (l = p[1]._tokenizer.events, n = 0, n < l.length && l[n][1].type === "lineEndingBlank" && (n += 2), n < l.length && l[n][1].type === "content"))
|
|
11
|
+
for (; ++n < l.length && l[n][1].type !== "content"; )
|
|
12
|
+
l[n][1].type === "chunkText" && (l[n][1]._isInFirstContentOfListItem = !0, n++);
|
|
13
|
+
if (p[0] === "enter")
|
|
14
|
+
p[1].contentType && (Object.assign(c, x(r, e)), e = c[e], g = !0);
|
|
15
|
+
else if (p[1]._container) {
|
|
16
|
+
for (n = e, o = void 0; n--; )
|
|
17
|
+
if (s = r.get(n), s[1].type === "lineEnding" || s[1].type === "lineEndingBlank")
|
|
18
|
+
s[0] === "enter" && (o && (r.get(o)[1].type = "lineEndingBlank"), s[1].type = "lineEnding", o = n);
|
|
19
|
+
else if (!(s[1].type === "linePrefix" || s[1].type === "listItemIndent")) break;
|
|
20
|
+
o && (p[1].end = {
|
|
21
|
+
...r.get(o)[1].start
|
|
22
|
+
}, f = r.slice(o, e), f.unshift(p), r.splice(o, e - o + 1, f));
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
return I(u, 0, Number.POSITIVE_INFINITY, r.slice(0)), !g;
|
|
26
|
+
}
|
|
27
|
+
function x(u, c) {
|
|
28
|
+
const e = u.get(c)[1], p = u.get(c)[2];
|
|
29
|
+
let o = c - 1;
|
|
30
|
+
const n = [];
|
|
31
|
+
let s = e._tokenizer;
|
|
32
|
+
s || (s = p.parser[e.contentType](e.start), e._contentTypeTextTrailing && (s._contentTypeTextTrailing = !0));
|
|
33
|
+
const f = s.events, l = [], g = {};
|
|
34
|
+
let r, k, i = -1, t = e, a = 0, d = 0;
|
|
35
|
+
const h = [d];
|
|
36
|
+
for (; t; ) {
|
|
37
|
+
for (; u.get(++o)[1] !== t; )
|
|
38
|
+
;
|
|
39
|
+
n.push(o), t._tokenizer || (r = p.sliceStream(t), t.next || r.push(null), k && s.defineSkip(t.start), t._isInFirstContentOfListItem && (s._gfmTasklistFirstContentOfListItem = !0), s.write(r), t._isInFirstContentOfListItem && (s._gfmTasklistFirstContentOfListItem = void 0)), k = t, t = t.next;
|
|
40
|
+
}
|
|
41
|
+
for (t = e; ++i < f.length; )
|
|
42
|
+
// Find a void token that includes a break.
|
|
43
|
+
f[i][0] === "exit" && f[i - 1][0] === "enter" && f[i][1].type === f[i - 1][1].type && f[i][1].start.line !== f[i][1].end.line && (d = i + 1, h.push(d), t._tokenizer = void 0, t.previous = void 0, t = t.next);
|
|
44
|
+
for (s.events = [], t ? (t._tokenizer = void 0, t.previous = void 0) : h.pop(), i = h.length; i--; ) {
|
|
45
|
+
const y = f.slice(h[i], h[i + 1]), m = n.pop();
|
|
46
|
+
l.push([m, m + y.length - 1]), u.splice(m, 2, y);
|
|
47
|
+
}
|
|
48
|
+
for (l.reverse(), i = -1; ++i < l.length; )
|
|
49
|
+
g[a + l[i][0]] = a + l[i][1], a += l[i][1] - l[i][0] - 1;
|
|
50
|
+
return g;
|
|
51
|
+
}
|
|
52
|
+
export {
|
|
53
|
+
_ as SpliceBuffer,
|
|
54
|
+
b as subtokenize
|
|
55
|
+
};
|
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
class n {
|
|
2
|
+
/**
|
|
3
|
+
* @param {ReadonlyArray<T> | null | undefined} [initial]
|
|
4
|
+
* Initial items (optional).
|
|
5
|
+
* @returns
|
|
6
|
+
* Splice buffer.
|
|
7
|
+
*/
|
|
8
|
+
constructor(t) {
|
|
9
|
+
this.left = t ? [...t] : [], this.right = [];
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Array access;
|
|
13
|
+
* does not move the cursor.
|
|
14
|
+
*
|
|
15
|
+
* @param {number} index
|
|
16
|
+
* Index.
|
|
17
|
+
* @return {T}
|
|
18
|
+
* Item.
|
|
19
|
+
*/
|
|
20
|
+
get(t) {
|
|
21
|
+
if (t < 0 || t >= this.left.length + this.right.length)
|
|
22
|
+
throw new RangeError("Cannot access index `" + t + "` in a splice buffer of size `" + (this.left.length + this.right.length) + "`");
|
|
23
|
+
return t < this.left.length ? this.left[t] : this.right[this.right.length - t + this.left.length - 1];
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* The length of the splice buffer, one greater than the largest index in the
|
|
27
|
+
* array.
|
|
28
|
+
*/
|
|
29
|
+
get length() {
|
|
30
|
+
return this.left.length + this.right.length;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Remove and return `list[0]`;
|
|
34
|
+
* moves the cursor to `0`.
|
|
35
|
+
*
|
|
36
|
+
* @returns {T | undefined}
|
|
37
|
+
* Item, optional.
|
|
38
|
+
*/
|
|
39
|
+
shift() {
|
|
40
|
+
return this.setCursor(0), this.right.pop();
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Slice the buffer to get an array;
|
|
44
|
+
* does not move the cursor.
|
|
45
|
+
*
|
|
46
|
+
* @param {number} start
|
|
47
|
+
* Start.
|
|
48
|
+
* @param {number | null | undefined} [end]
|
|
49
|
+
* End (optional).
|
|
50
|
+
* @returns {Array<T>}
|
|
51
|
+
* Array of items.
|
|
52
|
+
*/
|
|
53
|
+
slice(t, e) {
|
|
54
|
+
const h = e ?? Number.POSITIVE_INFINITY;
|
|
55
|
+
return h < this.left.length ? this.left.slice(t, h) : t > this.left.length ? this.right.slice(this.right.length - h + this.left.length, this.right.length - t + this.left.length).reverse() : this.left.slice(t).concat(this.right.slice(this.right.length - h + this.left.length).reverse());
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* Mimics the behavior of Array.prototype.splice() except for the change of
|
|
59
|
+
* interface necessary to avoid segfaults when patching in very large arrays.
|
|
60
|
+
*
|
|
61
|
+
* This operation moves cursor is moved to `start` and results in the cursor
|
|
62
|
+
* placed after any inserted items.
|
|
63
|
+
*
|
|
64
|
+
* @param {number} start
|
|
65
|
+
* Start;
|
|
66
|
+
* zero-based index at which to start changing the array;
|
|
67
|
+
* negative numbers count backwards from the end of the array and values
|
|
68
|
+
* that are out-of bounds are clamped to the appropriate end of the array.
|
|
69
|
+
* @param {number | null | undefined} [deleteCount=0]
|
|
70
|
+
* Delete count (default: `0`);
|
|
71
|
+
* maximum number of elements to delete, starting from start.
|
|
72
|
+
* @param {Array<T> | null | undefined} [items=[]]
|
|
73
|
+
* Items to include in place of the deleted items (default: `[]`).
|
|
74
|
+
* @return {Array<T>}
|
|
75
|
+
* Any removed items.
|
|
76
|
+
*/
|
|
77
|
+
splice(t, e, h) {
|
|
78
|
+
const r = e || 0;
|
|
79
|
+
this.setCursor(Math.trunc(t));
|
|
80
|
+
const l = this.right.splice(this.right.length - r, Number.POSITIVE_INFINITY);
|
|
81
|
+
return h && s(this.left, h), l.reverse();
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* Remove and return the highest-numbered item in the array, so
|
|
85
|
+
* `list[list.length - 1]`;
|
|
86
|
+
* Moves the cursor to `length`.
|
|
87
|
+
*
|
|
88
|
+
* @returns {T | undefined}
|
|
89
|
+
* Item, optional.
|
|
90
|
+
*/
|
|
91
|
+
pop() {
|
|
92
|
+
return this.setCursor(Number.POSITIVE_INFINITY), this.left.pop();
|
|
93
|
+
}
|
|
94
|
+
/**
|
|
95
|
+
* Inserts a single item to the high-numbered side of the array;
|
|
96
|
+
* moves the cursor to `length`.
|
|
97
|
+
*
|
|
98
|
+
* @param {T} item
|
|
99
|
+
* Item.
|
|
100
|
+
* @returns {undefined}
|
|
101
|
+
* Nothing.
|
|
102
|
+
*/
|
|
103
|
+
push(t) {
|
|
104
|
+
this.setCursor(Number.POSITIVE_INFINITY), this.left.push(t);
|
|
105
|
+
}
|
|
106
|
+
/**
|
|
107
|
+
* Inserts many items to the high-numbered side of the array.
|
|
108
|
+
* Moves the cursor to `length`.
|
|
109
|
+
*
|
|
110
|
+
* @param {Array<T>} items
|
|
111
|
+
* Items.
|
|
112
|
+
* @returns {undefined}
|
|
113
|
+
* Nothing.
|
|
114
|
+
*/
|
|
115
|
+
pushMany(t) {
|
|
116
|
+
this.setCursor(Number.POSITIVE_INFINITY), s(this.left, t);
|
|
117
|
+
}
|
|
118
|
+
/**
|
|
119
|
+
* Inserts a single item to the low-numbered side of the array;
|
|
120
|
+
* Moves the cursor to `0`.
|
|
121
|
+
*
|
|
122
|
+
* @param {T} item
|
|
123
|
+
* Item.
|
|
124
|
+
* @returns {undefined}
|
|
125
|
+
* Nothing.
|
|
126
|
+
*/
|
|
127
|
+
unshift(t) {
|
|
128
|
+
this.setCursor(0), this.right.push(t);
|
|
129
|
+
}
|
|
130
|
+
/**
|
|
131
|
+
* Inserts many items to the low-numbered side of the array;
|
|
132
|
+
* moves the cursor to `0`.
|
|
133
|
+
*
|
|
134
|
+
* @param {Array<T>} items
|
|
135
|
+
* Items.
|
|
136
|
+
* @returns {undefined}
|
|
137
|
+
* Nothing.
|
|
138
|
+
*/
|
|
139
|
+
unshiftMany(t) {
|
|
140
|
+
this.setCursor(0), s(this.right, t.reverse());
|
|
141
|
+
}
|
|
142
|
+
/**
|
|
143
|
+
* Move the cursor to a specific position in the array. Requires
|
|
144
|
+
* time proportional to the distance moved.
|
|
145
|
+
*
|
|
146
|
+
* If `n < 0`, the cursor will end up at the beginning.
|
|
147
|
+
* If `n > length`, the cursor will end up at the end.
|
|
148
|
+
*
|
|
149
|
+
* @param {number} n
|
|
150
|
+
* Position.
|
|
151
|
+
* @return {undefined}
|
|
152
|
+
* Nothing.
|
|
153
|
+
*/
|
|
154
|
+
setCursor(t) {
|
|
155
|
+
if (!(t === this.left.length || t > this.left.length && this.right.length === 0 || t < 0 && this.left.length === 0))
|
|
156
|
+
if (t < this.left.length) {
|
|
157
|
+
const e = this.left.splice(t, Number.POSITIVE_INFINITY);
|
|
158
|
+
s(this.right, e.reverse());
|
|
159
|
+
} else {
|
|
160
|
+
const e = this.right.splice(this.left.length + this.right.length - t, Number.POSITIVE_INFINITY);
|
|
161
|
+
s(this.left, e.reverse());
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
function s(i, t) {
|
|
166
|
+
let e = 0;
|
|
167
|
+
if (t.length < 1e4)
|
|
168
|
+
i.push(...t);
|
|
169
|
+
else
|
|
170
|
+
for (; e < t.length; )
|
|
171
|
+
i.push(...t.slice(e, e + 1e4)), e += 1e4;
|
|
172
|
+
}
|
|
173
|
+
export {
|
|
174
|
+
n as SpliceBuffer
|
|
175
|
+
};
|