@e-llm-studio/instant-learning 0.0.196 → 0.0.197
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/features/DocumentLearning/_components/ChatComponent.css.js +2 -0
- package/dist/cjs/features/DocumentLearning/_components/ChatComponent.css.js.map +1 -0
- package/dist/cjs/features/IL-OTJ/_components/AccordionSection.js +2 -0
- package/dist/cjs/features/IL-OTJ/_components/AccordionSection.js.map +1 -0
- package/dist/cjs/features/IL-OTJ/_components/ChatComponent.css.js +2 -0
- package/dist/cjs/features/IL-OTJ/_components/ChatComponent.css.js.map +1 -0
- package/dist/cjs/features/IL-OTJ/_components/ChatComponent.js +2 -0
- package/dist/cjs/features/IL-OTJ/_components/ChatComponent.js.map +1 -0
- package/dist/cjs/features/IL-OTJ/_components/ILComponents.js +2 -0
- package/dist/cjs/features/IL-OTJ/_components/ILComponents.js.map +1 -0
- package/dist/cjs/features/IL-OTJ/_components/ILPopup.css.js +2 -0
- package/dist/cjs/features/IL-OTJ/_components/ILPopup.css.js.map +1 -0
- package/dist/cjs/features/IL-OTJ/_components/MessageRendering/CustomComponents.js +2 -0
- package/dist/cjs/features/IL-OTJ/_components/MessageRendering/CustomComponents.js.map +1 -0
- package/dist/cjs/features/IL-OTJ/_components/MessageRendering/MarkdownElements.js +2 -0
- package/dist/cjs/features/IL-OTJ/_components/MessageRendering/MarkdownElements.js.map +1 -0
- package/dist/cjs/features/IL-OTJ/_components/MessageRendering.js +2 -0
- package/dist/cjs/features/IL-OTJ/_components/MessageRendering.js.map +1 -0
- package/dist/cjs/features/IL-OTJ/_components/RuleValidationCard.js +2 -0
- package/dist/cjs/features/IL-OTJ/_components/RuleValidationCard.js.map +1 -0
- package/dist/cjs/features/IL-OTJ/_components/ViewIdentifiedFieldsCard.js +1 -1
- package/dist/cjs/features/IL-OTJ/_components/_svg/ResizeChat.svg.js +2 -0
- package/dist/cjs/features/IL-OTJ/_components/_svg/ResizeChat.svg.js.map +1 -0
- package/dist/cjs/features/IL-OTJ/_components/_svg/WarningIcon.js +2 -0
- package/dist/cjs/features/IL-OTJ/_components/_svg/WarningIcon.js.map +1 -0
- package/dist/cjs/features/IL-OTJ/_components/atoms/Button.js +2 -0
- package/dist/cjs/features/IL-OTJ/_components/atoms/Button.js.map +1 -0
- package/dist/cjs/features/IL-OTJ/_components/atoms/Dropdown.js +2 -0
- package/dist/cjs/features/IL-OTJ/_components/atoms/Dropdown.js.map +1 -0
- package/dist/cjs/features/IL-OTJ/_components/atoms/Textarea.js +2 -0
- package/dist/cjs/features/IL-OTJ/_components/atoms/Textarea.js.map +1 -0
- package/dist/cjs/features/IL-OTJ/_components/atoms/Toggle.js +2 -0
- package/dist/cjs/features/IL-OTJ/_components/atoms/Toggle.js.map +1 -0
- package/dist/cjs/features/IL-OTJ/_components/molecules/ConditionList.js +2 -0
- package/dist/cjs/features/IL-OTJ/_components/molecules/ConditionList.js.map +1 -0
- package/dist/cjs/features/IL-OTJ/_components/molecules/SectionWrapper.js +2 -0
- package/dist/cjs/features/IL-OTJ/_components/molecules/SectionWrapper.js.map +1 -0
- package/dist/cjs/features/IL-OTJ/_components/molecules/SeparationRow.js +2 -0
- package/dist/cjs/features/IL-OTJ/_components/molecules/SeparationRow.js.map +1 -0
- package/dist/cjs/features/IL-OTJ/_components/organisms/ConditionSection.js +2 -0
- package/dist/cjs/features/IL-OTJ/_components/organisms/ConditionSection.js.map +1 -0
- package/dist/cjs/features/IL-OTJ/_components/organisms/ConfigSection.js +2 -0
- package/dist/cjs/features/IL-OTJ/_components/organisms/ConfigSection.js.map +1 -0
- package/dist/cjs/features/IL-OTJ/_components/organisms/ScopeSection.js +2 -0
- package/dist/cjs/features/IL-OTJ/_components/organisms/ScopeSection.js.map +1 -0
- package/dist/cjs/features/IL-OTJ/_components/organisms/TextSection.js +2 -0
- package/dist/cjs/features/IL-OTJ/_components/organisms/TextSection.js.map +1 -0
- package/dist/cjs/features/IL-OTJ/_components/templates/AudactyTemplate.js +2 -0
- package/dist/cjs/features/IL-OTJ/_components/templates/AudactyTemplate.js.map +1 -0
- package/dist/cjs/features/IL-OTJ/_components/templates/RuleComparison/RuleComparison.js +1 -1
- package/dist/cjs/features/IL-OTJ/_components/templates/Testing.js +2 -0
- package/dist/cjs/features/IL-OTJ/_components/templates/Testing.js.map +1 -0
- package/dist/cjs/features/IL-OTJ/_components/templates/TrafficManagerTemplate.js +2 -0
- package/dist/cjs/features/IL-OTJ/_components/templates/TrafficManagerTemplate.js.map +1 -0
- package/dist/cjs/features/IL-OTJ/_components/templates/templatesMap.js +2 -0
- package/dist/cjs/features/IL-OTJ/_components/templates/templatesMap.js.map +1 -0
- package/dist/cjs/features/IL-OTJ/hooks/useHeaderObserver.js +2 -0
- package/dist/cjs/features/IL-OTJ/hooks/useHeaderObserver.js.map +1 -0
- package/dist/cjs/features/InstantLearning/_components/ChatComponent.css.js +2 -0
- package/dist/cjs/features/InstantLearning/_components/ChatComponent.css.js.map +1 -0
- package/dist/cjs/features/InstantLearning/_components/TooltipComponent.js +2 -0
- package/dist/cjs/features/InstantLearning/_components/TooltipComponent.js.map +1 -0
- package/dist/cjs/node_modules/@e-llm-studio/citation/dist/node_modules/clsx/dist/clsx.m.js +2 -0
- package/dist/cjs/node_modules/@e-llm-studio/citation/dist/node_modules/clsx/dist/clsx.m.js.map +1 -0
- package/dist/cjs/node_modules/@e-llm-studio/streaming-response/node_modules/ws/browser.js +2 -0
- package/dist/cjs/node_modules/@e-llm-studio/streaming-response/node_modules/ws/browser.js.map +1 -0
- package/dist/cjs/node_modules/@emotion/serialize/node_modules/@emotion/hash/dist/emotion-hash.esm.js +2 -0
- package/dist/cjs/node_modules/@emotion/serialize/node_modules/@emotion/hash/dist/emotion-hash.esm.js.map +1 -0
- package/dist/cjs/node_modules/decode-named-character-reference/index.dom.js.map +1 -1
- package/dist/cjs/node_modules/hast-util-from-parse5/node_modules/comma-separated-tokens/index.js +2 -0
- package/dist/cjs/node_modules/hast-util-from-parse5/node_modules/comma-separated-tokens/index.js.map +1 -0
- package/dist/cjs/node_modules/hast-util-from-parse5/node_modules/space-separated-tokens/index.js +2 -0
- package/dist/cjs/node_modules/hast-util-from-parse5/node_modules/space-separated-tokens/index.js.map +1 -0
- package/dist/cjs/node_modules/hast-util-raw/node_modules/unist-util-position/lib/index.js +2 -0
- package/dist/cjs/node_modules/hast-util-raw/node_modules/unist-util-position/lib/index.js.map +1 -0
- package/dist/cjs/node_modules/hast-util-raw/node_modules/unist-util-visit/lib/index.js.map +1 -1
- package/dist/cjs/node_modules/hast-util-to-parse5/node_modules/comma-separated-tokens/index.js +2 -0
- package/dist/cjs/node_modules/hast-util-to-parse5/node_modules/comma-separated-tokens/index.js.map +1 -0
- package/dist/cjs/node_modules/hast-util-to-parse5/node_modules/space-separated-tokens/index.js +2 -0
- package/dist/cjs/node_modules/hast-util-to-parse5/node_modules/space-separated-tokens/index.js.map +1 -0
- package/dist/cjs/node_modules/mdast-util-definitions/node_modules/unist-util-is/lib/index.js +2 -0
- package/dist/cjs/node_modules/mdast-util-definitions/node_modules/unist-util-is/lib/index.js.map +1 -0
- package/dist/cjs/node_modules/mdast-util-definitions/node_modules/unist-util-visit/lib/index.js +2 -0
- package/dist/cjs/node_modules/mdast-util-definitions/node_modules/unist-util-visit/lib/index.js.map +1 -0
- package/dist/cjs/node_modules/mdast-util-definitions/node_modules/unist-util-visit-parents/lib/color.browser.js +2 -0
- package/dist/cjs/node_modules/mdast-util-definitions/node_modules/unist-util-visit-parents/lib/color.browser.js.map +1 -0
- package/dist/cjs/node_modules/mdast-util-definitions/node_modules/unist-util-visit-parents/lib/index.js +2 -0
- package/dist/cjs/node_modules/mdast-util-definitions/node_modules/unist-util-visit-parents/lib/index.js.map +1 -0
- package/dist/cjs/node_modules/mdast-util-find-and-replace/node_modules/unist-util-is/lib/index.js +2 -0
- package/dist/cjs/node_modules/mdast-util-find-and-replace/node_modules/unist-util-is/lib/index.js.map +1 -0
- package/dist/cjs/node_modules/mdast-util-find-and-replace/node_modules/unist-util-visit-parents/lib/color.browser.js +2 -0
- package/dist/cjs/node_modules/mdast-util-find-and-replace/node_modules/unist-util-visit-parents/lib/color.browser.js.map +1 -0
- package/dist/cjs/node_modules/mdast-util-find-and-replace/node_modules/unist-util-visit-parents/lib/index.js +2 -0
- package/dist/cjs/node_modules/mdast-util-find-and-replace/node_modules/unist-util-visit-parents/lib/index.js.map +1 -0
- package/dist/cjs/node_modules/mdast-util-from-markdown/node_modules/unist-util-stringify-position/lib/index.js +2 -0
- package/dist/cjs/node_modules/mdast-util-from-markdown/node_modules/unist-util-stringify-position/lib/index.js.map +1 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/footer.js +2 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/footer.js.map +1 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/blockquote.js +2 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/blockquote.js.map +1 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/break.js +2 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/break.js.map +1 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/code.js +2 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/code.js.map +1 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/delete.js +2 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/delete.js.map +1 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/emphasis.js +2 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/emphasis.js.map +1 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.js +2 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.js.map +1 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/footnote.js +2 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/footnote.js.map +1 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/heading.js +2 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/heading.js.map +1 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/html.js +2 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/html.js.map +1 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/image-reference.js +2 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/image-reference.js.map +1 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/image.js +2 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/image.js.map +1 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/index.js +2 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/index.js.map +1 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/inline-code.js +2 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/inline-code.js.map +1 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/link-reference.js +2 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/link-reference.js.map +1 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/link.js +2 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/link.js.map +1 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/list-item.js +2 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/list-item.js.map +1 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/list.js +2 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/list.js.map +1 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/paragraph.js +2 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/paragraph.js.map +1 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/root.js +2 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/root.js.map +1 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/strong.js +2 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/strong.js.map +1 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/table-cell.js +2 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/table-cell.js.map +1 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/table-row.js +2 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/table-row.js.map +1 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/table.js +2 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/table.js.map +1 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/text.js +2 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/text.js.map +1 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/thematic-break.js +2 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/thematic-break.js.map +1 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/index.js +2 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/index.js.map +1 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/revert.js +2 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/revert.js.map +1 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/state.js +2 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/state.js.map +1 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/node_modules/micromark-util-character/index.js +2 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/node_modules/micromark-util-character/index.js.map +1 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/node_modules/micromark-util-sanitize-uri/index.js +2 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/node_modules/micromark-util-sanitize-uri/index.js.map +1 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/node_modules/unist-util-is/lib/index.js +2 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/node_modules/unist-util-is/lib/index.js.map +1 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/node_modules/unist-util-visit/lib/index.js +2 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/node_modules/unist-util-visit/lib/index.js.map +1 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/node_modules/unist-util-visit-parents/lib/color.browser.js +2 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/node_modules/unist-util-visit-parents/lib/color.browser.js.map +1 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/node_modules/unist-util-visit-parents/lib/index.js +2 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/node_modules/unist-util-visit-parents/lib/index.js.map +1 -0
- package/dist/cjs/node_modules/react-hot-toast/node_modules/goober/dist/goober.modern.js +2 -0
- package/dist/cjs/node_modules/react-hot-toast/node_modules/goober/dist/goober.modern.js.map +1 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/comma-separated-tokens/index.js +2 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/comma-separated-tokens/index.js.map +1 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/is-plain-obj/index.js +2 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/is-plain-obj/index.js.map +1 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/mdast-util-from-markdown/lib/index.js +2 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/mdast-util-from-markdown/lib/index.js.map +1 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/mdast-util-to-string/lib/index.js +2 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/mdast-util-to-string/lib/index.js.map +1 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark/lib/constructs.js +2 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark/lib/constructs.js.map +1 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark/lib/create-tokenizer.js +2 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark/lib/create-tokenizer.js.map +1 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark/lib/initialize/content.js +2 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark/lib/initialize/content.js.map +1 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark/lib/initialize/document.js +2 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark/lib/initialize/document.js.map +1 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark/lib/initialize/flow.js +2 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark/lib/initialize/flow.js.map +1 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark/lib/initialize/text.js +2 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark/lib/initialize/text.js.map +1 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark/lib/parse.js +2 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark/lib/parse.js.map +1 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark/lib/postprocess.js +2 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark/lib/postprocess.js.map +1 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark/lib/preprocess.js +2 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark/lib/preprocess.js.map +1 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/attention.js +2 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/attention.js.map +1 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/autolink.js +2 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/autolink.js.map +1 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/blank-line.js +2 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/blank-line.js.map +1 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/block-quote.js +2 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/block-quote.js.map +1 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/character-escape.js +2 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/character-escape.js.map +1 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/character-reference.js +2 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/character-reference.js.map +1 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/code-fenced.js +2 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/code-fenced.js.map +1 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/code-indented.js +2 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/code-indented.js.map +1 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/code-text.js +2 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/code-text.js.map +1 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/content.js +2 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/content.js.map +1 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/definition.js +2 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/definition.js.map +1 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/hard-break-escape.js +2 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/hard-break-escape.js.map +1 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/heading-atx.js +2 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/heading-atx.js.map +1 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/html-flow.js +2 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/html-flow.js.map +1 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/html-text.js +2 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/html-text.js.map +1 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/label-end.js +2 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/label-end.js.map +1 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/label-start-image.js +2 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/label-start-image.js.map +1 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/label-start-link.js +2 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/label-start-link.js.map +1 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/line-ending.js +2 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/line-ending.js.map +1 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/list.js +2 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/list.js.map +1 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/setext-underline.js +2 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/setext-underline.js.map +1 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/thematic-break.js +2 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/thematic-break.js.map +1 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-factory-destination/index.js +2 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-factory-destination/index.js.map +1 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-factory-label/index.js +2 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-factory-label/index.js.map +1 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-factory-space/index.js +2 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-factory-space/index.js.map +1 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-factory-title/index.js +2 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-factory-title/index.js.map +1 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-factory-whitespace/index.js +2 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-factory-whitespace/index.js.map +1 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-util-character/index.js +2 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-util-character/index.js.map +1 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-util-character/lib/unicode-punctuation-regex.js +2 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-util-character/lib/unicode-punctuation-regex.js.map +1 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-util-chunked/index.js +2 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-util-chunked/index.js.map +1 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-util-classify-character/index.js +2 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-util-classify-character/index.js.map +1 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-util-combine-extensions/index.js +2 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-util-combine-extensions/index.js.map +1 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-util-decode-numeric-character-reference/index.js +2 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-util-decode-numeric-character-reference/index.js.map +1 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-util-decode-string/index.js +2 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-util-decode-string/index.js.map +1 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-util-html-tag-name/index.js +2 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-util-html-tag-name/index.js.map +1 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-util-normalize-identifier/index.js +2 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-util-normalize-identifier/index.js.map +1 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-util-resolve-all/index.js +2 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-util-resolve-all/index.js.map +1 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-util-subtokenize/index.js +2 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/micromark-util-subtokenize/index.js.map +1 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/property-information/index.js +2 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/property-information/index.js.map +1 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/aria.js +2 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/aria.js.map +1 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/find.js +2 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/find.js.map +1 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/hast-to-react.js +2 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/hast-to-react.js.map +1 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/html.js +2 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/html.js.map +1 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/normalize.js +2 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/normalize.js.map +1 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/svg.js +2 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/svg.js.map +1 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/util/case-insensitive-transform.js +2 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/util/case-insensitive-transform.js.map +1 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/util/case-sensitive-transform.js +2 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/util/case-sensitive-transform.js.map +1 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/util/create.js +2 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/util/create.js.map +1 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/util/defined-info.js +2 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/util/defined-info.js.map +1 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/util/info.js +2 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/util/info.js.map +1 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/util/merge.js +2 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/util/merge.js.map +1 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/util/schema.js +2 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/util/schema.js.map +1 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/util/types.js +2 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/util/types.js.map +1 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/xlink.js +2 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/xlink.js.map +1 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/xml.js +2 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/xml.js.map +1 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/xmlns.js +2 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/xmlns.js.map +1 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/remark-parse/lib/index.js +2 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/remark-parse/lib/index.js.map +1 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/space-separated-tokens/index.js +2 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/space-separated-tokens/index.js.map +1 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/unified/lib/index.js +2 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/unified/lib/index.js.map +1 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/unist-util-is/lib/index.js +2 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/unist-util-is/lib/index.js.map +1 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/unist-util-stringify-position/lib/index.js +2 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/unist-util-stringify-position/lib/index.js.map +1 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/unist-util-visit/lib/index.js +2 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/unist-util-visit/lib/index.js.map +1 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/unist-util-visit-parents/lib/color.browser.js +2 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/unist-util-visit-parents/lib/color.browser.js.map +1 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/unist-util-visit-parents/lib/index.js +2 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/unist-util-visit-parents/lib/index.js.map +1 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/vfile/lib/index.js +2 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/vfile/lib/index.js.map +1 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/vfile/lib/minpath.browser.js +2 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/vfile/lib/minpath.browser.js.map +1 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/vfile/lib/minproc.browser.js +2 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/vfile/lib/minproc.browser.js.map +1 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/vfile/lib/minurl.browser.js +2 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/vfile/lib/minurl.browser.js.map +1 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/vfile/lib/minurl.shared.js +2 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/vfile/lib/minurl.shared.js.map +1 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/vfile-message/lib/index.js +2 -0
- package/dist/cjs/node_modules/react-markdown/node_modules/vfile-message/lib/index.js.map +1 -0
- package/dist/cjs/node_modules/unist-util-visit/node_modules/unist-util-is/lib/index.js +2 -0
- package/dist/cjs/node_modules/unist-util-visit/node_modules/unist-util-is/lib/index.js.map +1 -0
- package/dist/cjs/node_modules/unist-util-visit/node_modules/unist-util-visit-parents/lib/color.browser.js +2 -0
- package/dist/cjs/node_modules/unist-util-visit/node_modules/unist-util-visit-parents/lib/color.browser.js.map +1 -0
- package/dist/cjs/node_modules/unist-util-visit/node_modules/unist-util-visit-parents/lib/index.js +2 -0
- package/dist/cjs/node_modules/unist-util-visit/node_modules/unist-util-visit-parents/lib/index.js.map +1 -0
- package/dist/cjs/node_modules/unist-util-visit-parents/lib/color.js +2 -0
- package/dist/cjs/node_modules/unist-util-visit-parents/lib/color.js.map +1 -0
- package/dist/cjs/node_modules/vfile-message/node_modules/unist-util-stringify-position/lib/index.js +2 -0
- package/dist/cjs/node_modules/vfile-message/node_modules/unist-util-stringify-position/lib/index.js.map +1 -0
- package/dist/features/DocumentLearning/_components/ChatComponent.css.js +2 -0
- package/dist/features/DocumentLearning/_components/ChatComponent.css.js.map +1 -0
- package/dist/features/IL-OTJ/_components/AccordionSection.js +2 -0
- package/dist/features/IL-OTJ/_components/AccordionSection.js.map +1 -0
- package/dist/features/IL-OTJ/_components/ChatComponent.css.js +2 -0
- package/dist/features/IL-OTJ/_components/ChatComponent.css.js.map +1 -0
- package/dist/features/IL-OTJ/_components/ChatComponent.js +2 -0
- package/dist/features/IL-OTJ/_components/ChatComponent.js.map +1 -0
- package/dist/features/IL-OTJ/_components/ILComponents.js +2 -0
- package/dist/features/IL-OTJ/_components/ILComponents.js.map +1 -0
- package/dist/features/IL-OTJ/_components/ILPopup.css.js +2 -0
- package/dist/features/IL-OTJ/_components/ILPopup.css.js.map +1 -0
- package/dist/features/IL-OTJ/_components/MessageRendering/CustomComponents.js +2 -0
- package/dist/features/IL-OTJ/_components/MessageRendering/CustomComponents.js.map +1 -0
- package/dist/features/IL-OTJ/_components/MessageRendering/MarkdownElements.js +2 -0
- package/dist/features/IL-OTJ/_components/MessageRendering/MarkdownElements.js.map +1 -0
- package/dist/features/IL-OTJ/_components/MessageRendering.js +2 -0
- package/dist/features/IL-OTJ/_components/MessageRendering.js.map +1 -0
- package/dist/features/IL-OTJ/_components/RuleValidationCard.js +2 -0
- package/dist/features/IL-OTJ/_components/RuleValidationCard.js.map +1 -0
- package/dist/features/IL-OTJ/_components/ViewIdentifiedFieldsCard.js +1 -1
- package/dist/features/IL-OTJ/_components/_svg/ResizeChat.svg.js +2 -0
- package/dist/features/IL-OTJ/_components/_svg/ResizeChat.svg.js.map +1 -0
- package/dist/features/IL-OTJ/_components/_svg/WarningIcon.js +2 -0
- package/dist/features/IL-OTJ/_components/_svg/WarningIcon.js.map +1 -0
- package/dist/features/IL-OTJ/_components/atoms/Button.js +2 -0
- package/dist/features/IL-OTJ/_components/atoms/Button.js.map +1 -0
- package/dist/features/IL-OTJ/_components/atoms/Dropdown.js +2 -0
- package/dist/features/IL-OTJ/_components/atoms/Dropdown.js.map +1 -0
- package/dist/features/IL-OTJ/_components/atoms/Textarea.js +2 -0
- package/dist/features/IL-OTJ/_components/atoms/Textarea.js.map +1 -0
- package/dist/features/IL-OTJ/_components/atoms/Toggle.js +2 -0
- package/dist/features/IL-OTJ/_components/atoms/Toggle.js.map +1 -0
- package/dist/features/IL-OTJ/_components/molecules/ConditionList.js +2 -0
- package/dist/features/IL-OTJ/_components/molecules/ConditionList.js.map +1 -0
- package/dist/features/IL-OTJ/_components/molecules/SectionWrapper.js +2 -0
- package/dist/features/IL-OTJ/_components/molecules/SectionWrapper.js.map +1 -0
- package/dist/features/IL-OTJ/_components/molecules/SeparationRow.js +2 -0
- package/dist/features/IL-OTJ/_components/molecules/SeparationRow.js.map +1 -0
- package/dist/features/IL-OTJ/_components/organisms/ConditionSection.js +2 -0
- package/dist/features/IL-OTJ/_components/organisms/ConditionSection.js.map +1 -0
- package/dist/features/IL-OTJ/_components/organisms/ConfigSection.js +2 -0
- package/dist/features/IL-OTJ/_components/organisms/ConfigSection.js.map +1 -0
- package/dist/features/IL-OTJ/_components/organisms/ScopeSection.js +2 -0
- package/dist/features/IL-OTJ/_components/organisms/ScopeSection.js.map +1 -0
- package/dist/features/IL-OTJ/_components/organisms/TextSection.js +2 -0
- package/dist/features/IL-OTJ/_components/organisms/TextSection.js.map +1 -0
- package/dist/features/IL-OTJ/_components/templates/AudactyTemplate.js +2 -0
- package/dist/features/IL-OTJ/_components/templates/AudactyTemplate.js.map +1 -0
- package/dist/features/IL-OTJ/_components/templates/RuleComparison/RuleComparison.js +1 -1
- package/dist/features/IL-OTJ/_components/templates/Testing.js +2 -0
- package/dist/features/IL-OTJ/_components/templates/Testing.js.map +1 -0
- package/dist/features/IL-OTJ/_components/templates/TrafficManagerTemplate.js +2 -0
- package/dist/features/IL-OTJ/_components/templates/TrafficManagerTemplate.js.map +1 -0
- package/dist/features/IL-OTJ/_components/templates/templatesMap.js +2 -0
- package/dist/features/IL-OTJ/_components/templates/templatesMap.js.map +1 -0
- package/dist/features/IL-OTJ/hooks/useHeaderObserver.js +2 -0
- package/dist/features/IL-OTJ/hooks/useHeaderObserver.js.map +1 -0
- package/dist/features/InstantLearning/_components/ChatComponent.css.js +2 -0
- package/dist/features/InstantLearning/_components/ChatComponent.css.js.map +1 -0
- package/dist/features/InstantLearning/_components/TooltipComponent.js +2 -0
- package/dist/features/InstantLearning/_components/TooltipComponent.js.map +1 -0
- package/dist/node_modules/@e-llm-studio/citation/dist/node_modules/clsx/dist/clsx.m.js +2 -0
- package/dist/node_modules/@e-llm-studio/citation/dist/node_modules/clsx/dist/clsx.m.js.map +1 -0
- package/dist/node_modules/@e-llm-studio/streaming-response/node_modules/ws/browser.js +2 -0
- package/dist/node_modules/@e-llm-studio/streaming-response/node_modules/ws/browser.js.map +1 -0
- package/dist/node_modules/@emotion/serialize/node_modules/@emotion/hash/dist/emotion-hash.esm.js +2 -0
- package/dist/node_modules/@emotion/serialize/node_modules/@emotion/hash/dist/emotion-hash.esm.js.map +1 -0
- package/dist/node_modules/decode-named-character-reference/index.dom.js.map +1 -1
- package/dist/node_modules/hast-util-from-parse5/node_modules/comma-separated-tokens/index.js +2 -0
- package/dist/node_modules/hast-util-from-parse5/node_modules/comma-separated-tokens/index.js.map +1 -0
- package/dist/node_modules/hast-util-from-parse5/node_modules/space-separated-tokens/index.js +2 -0
- package/dist/node_modules/hast-util-from-parse5/node_modules/space-separated-tokens/index.js.map +1 -0
- package/dist/node_modules/hast-util-raw/node_modules/unist-util-position/lib/index.js +2 -0
- package/dist/node_modules/hast-util-raw/node_modules/unist-util-position/lib/index.js.map +1 -0
- package/dist/node_modules/hast-util-raw/node_modules/unist-util-visit/lib/index.js.map +1 -1
- package/dist/node_modules/hast-util-to-parse5/node_modules/comma-separated-tokens/index.js +2 -0
- package/dist/node_modules/hast-util-to-parse5/node_modules/comma-separated-tokens/index.js.map +1 -0
- package/dist/node_modules/hast-util-to-parse5/node_modules/space-separated-tokens/index.js +2 -0
- package/dist/node_modules/hast-util-to-parse5/node_modules/space-separated-tokens/index.js.map +1 -0
- package/dist/node_modules/mdast-util-definitions/node_modules/unist-util-is/lib/index.js +2 -0
- package/dist/node_modules/mdast-util-definitions/node_modules/unist-util-is/lib/index.js.map +1 -0
- package/dist/node_modules/mdast-util-definitions/node_modules/unist-util-visit/lib/index.js +2 -0
- package/dist/node_modules/mdast-util-definitions/node_modules/unist-util-visit/lib/index.js.map +1 -0
- package/dist/node_modules/mdast-util-definitions/node_modules/unist-util-visit-parents/lib/color.browser.js +2 -0
- package/dist/node_modules/mdast-util-definitions/node_modules/unist-util-visit-parents/lib/color.browser.js.map +1 -0
- package/dist/node_modules/mdast-util-definitions/node_modules/unist-util-visit-parents/lib/index.js +2 -0
- package/dist/node_modules/mdast-util-definitions/node_modules/unist-util-visit-parents/lib/index.js.map +1 -0
- package/dist/node_modules/mdast-util-find-and-replace/node_modules/unist-util-is/lib/index.js +2 -0
- package/dist/node_modules/mdast-util-find-and-replace/node_modules/unist-util-is/lib/index.js.map +1 -0
- package/dist/node_modules/mdast-util-find-and-replace/node_modules/unist-util-visit-parents/lib/color.browser.js +2 -0
- package/dist/node_modules/mdast-util-find-and-replace/node_modules/unist-util-visit-parents/lib/color.browser.js.map +1 -0
- package/dist/node_modules/mdast-util-find-and-replace/node_modules/unist-util-visit-parents/lib/index.js +2 -0
- package/dist/node_modules/mdast-util-find-and-replace/node_modules/unist-util-visit-parents/lib/index.js.map +1 -0
- package/dist/node_modules/mdast-util-from-markdown/node_modules/unist-util-stringify-position/lib/index.js +2 -0
- package/dist/node_modules/mdast-util-from-markdown/node_modules/unist-util-stringify-position/lib/index.js.map +1 -0
- package/dist/node_modules/mdast-util-to-hast/lib/footer.js +2 -0
- package/dist/node_modules/mdast-util-to-hast/lib/footer.js.map +1 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/blockquote.js +2 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/blockquote.js.map +1 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/break.js +2 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/break.js.map +1 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/code.js +2 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/code.js.map +1 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/delete.js +2 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/delete.js.map +1 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/emphasis.js +2 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/emphasis.js.map +1 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.js +2 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.js.map +1 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/footnote.js +2 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/footnote.js.map +1 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/heading.js +2 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/heading.js.map +1 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/html.js +2 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/html.js.map +1 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/image-reference.js +2 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/image-reference.js.map +1 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/image.js +2 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/image.js.map +1 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/index.js +2 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/index.js.map +1 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/inline-code.js +2 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/inline-code.js.map +1 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/link-reference.js +2 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/link-reference.js.map +1 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/link.js +2 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/link.js.map +1 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/list-item.js +2 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/list-item.js.map +1 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/list.js +2 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/list.js.map +1 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/paragraph.js +2 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/paragraph.js.map +1 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/root.js +2 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/root.js.map +1 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/strong.js +2 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/strong.js.map +1 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/table-cell.js +2 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/table-cell.js.map +1 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/table-row.js +2 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/table-row.js.map +1 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/table.js +2 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/table.js.map +1 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/text.js +2 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/text.js.map +1 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/thematic-break.js +2 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/thematic-break.js.map +1 -0
- package/dist/node_modules/mdast-util-to-hast/lib/index.js +2 -0
- package/dist/node_modules/mdast-util-to-hast/lib/index.js.map +1 -0
- package/dist/node_modules/mdast-util-to-hast/lib/revert.js +2 -0
- package/dist/node_modules/mdast-util-to-hast/lib/revert.js.map +1 -0
- package/dist/node_modules/mdast-util-to-hast/lib/state.js +2 -0
- package/dist/node_modules/mdast-util-to-hast/lib/state.js.map +1 -0
- package/dist/node_modules/mdast-util-to-hast/node_modules/micromark-util-character/index.js +2 -0
- package/dist/node_modules/mdast-util-to-hast/node_modules/micromark-util-character/index.js.map +1 -0
- package/dist/node_modules/mdast-util-to-hast/node_modules/micromark-util-sanitize-uri/index.js +2 -0
- package/dist/node_modules/mdast-util-to-hast/node_modules/micromark-util-sanitize-uri/index.js.map +1 -0
- package/dist/node_modules/mdast-util-to-hast/node_modules/unist-util-is/lib/index.js +2 -0
- package/dist/node_modules/mdast-util-to-hast/node_modules/unist-util-is/lib/index.js.map +1 -0
- package/dist/node_modules/mdast-util-to-hast/node_modules/unist-util-visit/lib/index.js +2 -0
- package/dist/node_modules/mdast-util-to-hast/node_modules/unist-util-visit/lib/index.js.map +1 -0
- package/dist/node_modules/mdast-util-to-hast/node_modules/unist-util-visit-parents/lib/color.browser.js +2 -0
- package/dist/node_modules/mdast-util-to-hast/node_modules/unist-util-visit-parents/lib/color.browser.js.map +1 -0
- package/dist/node_modules/mdast-util-to-hast/node_modules/unist-util-visit-parents/lib/index.js +2 -0
- package/dist/node_modules/mdast-util-to-hast/node_modules/unist-util-visit-parents/lib/index.js.map +1 -0
- package/dist/node_modules/react-hot-toast/node_modules/goober/dist/goober.modern.js +2 -0
- package/dist/node_modules/react-hot-toast/node_modules/goober/dist/goober.modern.js.map +1 -0
- package/dist/node_modules/react-markdown/node_modules/comma-separated-tokens/index.js +2 -0
- package/dist/node_modules/react-markdown/node_modules/comma-separated-tokens/index.js.map +1 -0
- package/dist/node_modules/react-markdown/node_modules/is-plain-obj/index.js +2 -0
- package/dist/node_modules/react-markdown/node_modules/is-plain-obj/index.js.map +1 -0
- package/dist/node_modules/react-markdown/node_modules/mdast-util-from-markdown/lib/index.js +2 -0
- package/dist/node_modules/react-markdown/node_modules/mdast-util-from-markdown/lib/index.js.map +1 -0
- package/dist/node_modules/react-markdown/node_modules/mdast-util-to-string/lib/index.js +2 -0
- package/dist/node_modules/react-markdown/node_modules/mdast-util-to-string/lib/index.js.map +1 -0
- package/dist/node_modules/react-markdown/node_modules/micromark/lib/constructs.js +2 -0
- package/dist/node_modules/react-markdown/node_modules/micromark/lib/constructs.js.map +1 -0
- package/dist/node_modules/react-markdown/node_modules/micromark/lib/create-tokenizer.js +2 -0
- package/dist/node_modules/react-markdown/node_modules/micromark/lib/create-tokenizer.js.map +1 -0
- package/dist/node_modules/react-markdown/node_modules/micromark/lib/initialize/content.js +2 -0
- package/dist/node_modules/react-markdown/node_modules/micromark/lib/initialize/content.js.map +1 -0
- package/dist/node_modules/react-markdown/node_modules/micromark/lib/initialize/document.js +2 -0
- package/dist/node_modules/react-markdown/node_modules/micromark/lib/initialize/document.js.map +1 -0
- package/dist/node_modules/react-markdown/node_modules/micromark/lib/initialize/flow.js +2 -0
- package/dist/node_modules/react-markdown/node_modules/micromark/lib/initialize/flow.js.map +1 -0
- package/dist/node_modules/react-markdown/node_modules/micromark/lib/initialize/text.js +2 -0
- package/dist/node_modules/react-markdown/node_modules/micromark/lib/initialize/text.js.map +1 -0
- package/dist/node_modules/react-markdown/node_modules/micromark/lib/parse.js +2 -0
- package/dist/node_modules/react-markdown/node_modules/micromark/lib/parse.js.map +1 -0
- package/dist/node_modules/react-markdown/node_modules/micromark/lib/postprocess.js +2 -0
- package/dist/node_modules/react-markdown/node_modules/micromark/lib/postprocess.js.map +1 -0
- package/dist/node_modules/react-markdown/node_modules/micromark/lib/preprocess.js +2 -0
- package/dist/node_modules/react-markdown/node_modules/micromark/lib/preprocess.js.map +1 -0
- package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/attention.js +2 -0
- package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/attention.js.map +1 -0
- package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/autolink.js +2 -0
- package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/autolink.js.map +1 -0
- package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/blank-line.js +2 -0
- package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/blank-line.js.map +1 -0
- package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/block-quote.js +2 -0
- package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/block-quote.js.map +1 -0
- package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/character-escape.js +2 -0
- package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/character-escape.js.map +1 -0
- package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/character-reference.js +2 -0
- package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/character-reference.js.map +1 -0
- package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/code-fenced.js +2 -0
- package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/code-fenced.js.map +1 -0
- package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/code-indented.js +2 -0
- package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/code-indented.js.map +1 -0
- package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/code-text.js +2 -0
- package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/code-text.js.map +1 -0
- package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/content.js +2 -0
- package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/content.js.map +1 -0
- package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/definition.js +2 -0
- package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/definition.js.map +1 -0
- package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/hard-break-escape.js +2 -0
- package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/hard-break-escape.js.map +1 -0
- package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/heading-atx.js +2 -0
- package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/heading-atx.js.map +1 -0
- package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/html-flow.js +2 -0
- package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/html-flow.js.map +1 -0
- package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/html-text.js +2 -0
- package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/html-text.js.map +1 -0
- package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/label-end.js +2 -0
- package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/label-end.js.map +1 -0
- package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/label-start-image.js +2 -0
- package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/label-start-image.js.map +1 -0
- package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/label-start-link.js +2 -0
- package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/label-start-link.js.map +1 -0
- package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/line-ending.js +2 -0
- package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/line-ending.js.map +1 -0
- package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/list.js +2 -0
- package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/list.js.map +1 -0
- package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/setext-underline.js +2 -0
- package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/setext-underline.js.map +1 -0
- package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/thematic-break.js +2 -0
- package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/thematic-break.js.map +1 -0
- package/dist/node_modules/react-markdown/node_modules/micromark-factory-destination/index.js +2 -0
- package/dist/node_modules/react-markdown/node_modules/micromark-factory-destination/index.js.map +1 -0
- package/dist/node_modules/react-markdown/node_modules/micromark-factory-label/index.js +2 -0
- package/dist/node_modules/react-markdown/node_modules/micromark-factory-label/index.js.map +1 -0
- package/dist/node_modules/react-markdown/node_modules/micromark-factory-space/index.js +2 -0
- package/dist/node_modules/react-markdown/node_modules/micromark-factory-space/index.js.map +1 -0
- package/dist/node_modules/react-markdown/node_modules/micromark-factory-title/index.js +2 -0
- package/dist/node_modules/react-markdown/node_modules/micromark-factory-title/index.js.map +1 -0
- package/dist/node_modules/react-markdown/node_modules/micromark-factory-whitespace/index.js +2 -0
- package/dist/node_modules/react-markdown/node_modules/micromark-factory-whitespace/index.js.map +1 -0
- package/dist/node_modules/react-markdown/node_modules/micromark-util-character/index.js +2 -0
- package/dist/node_modules/react-markdown/node_modules/micromark-util-character/index.js.map +1 -0
- package/dist/node_modules/react-markdown/node_modules/micromark-util-character/lib/unicode-punctuation-regex.js +2 -0
- package/dist/node_modules/react-markdown/node_modules/micromark-util-character/lib/unicode-punctuation-regex.js.map +1 -0
- package/dist/node_modules/react-markdown/node_modules/micromark-util-chunked/index.js +2 -0
- package/dist/node_modules/react-markdown/node_modules/micromark-util-chunked/index.js.map +1 -0
- package/dist/node_modules/react-markdown/node_modules/micromark-util-classify-character/index.js +2 -0
- package/dist/node_modules/react-markdown/node_modules/micromark-util-classify-character/index.js.map +1 -0
- package/dist/node_modules/react-markdown/node_modules/micromark-util-combine-extensions/index.js +2 -0
- package/dist/node_modules/react-markdown/node_modules/micromark-util-combine-extensions/index.js.map +1 -0
- package/dist/node_modules/react-markdown/node_modules/micromark-util-decode-numeric-character-reference/index.js +2 -0
- package/dist/node_modules/react-markdown/node_modules/micromark-util-decode-numeric-character-reference/index.js.map +1 -0
- package/dist/node_modules/react-markdown/node_modules/micromark-util-decode-string/index.js +2 -0
- package/dist/node_modules/react-markdown/node_modules/micromark-util-decode-string/index.js.map +1 -0
- package/dist/node_modules/react-markdown/node_modules/micromark-util-html-tag-name/index.js +2 -0
- package/dist/node_modules/react-markdown/node_modules/micromark-util-html-tag-name/index.js.map +1 -0
- package/dist/node_modules/react-markdown/node_modules/micromark-util-normalize-identifier/index.js +2 -0
- package/dist/node_modules/react-markdown/node_modules/micromark-util-normalize-identifier/index.js.map +1 -0
- package/dist/node_modules/react-markdown/node_modules/micromark-util-resolve-all/index.js +2 -0
- package/dist/node_modules/react-markdown/node_modules/micromark-util-resolve-all/index.js.map +1 -0
- package/dist/node_modules/react-markdown/node_modules/micromark-util-subtokenize/index.js +2 -0
- package/dist/node_modules/react-markdown/node_modules/micromark-util-subtokenize/index.js.map +1 -0
- package/dist/node_modules/react-markdown/node_modules/property-information/index.js +2 -0
- package/dist/node_modules/react-markdown/node_modules/property-information/index.js.map +1 -0
- package/dist/node_modules/react-markdown/node_modules/property-information/lib/aria.js +2 -0
- package/dist/node_modules/react-markdown/node_modules/property-information/lib/aria.js.map +1 -0
- package/dist/node_modules/react-markdown/node_modules/property-information/lib/find.js +2 -0
- package/dist/node_modules/react-markdown/node_modules/property-information/lib/find.js.map +1 -0
- package/dist/node_modules/react-markdown/node_modules/property-information/lib/hast-to-react.js +2 -0
- package/dist/node_modules/react-markdown/node_modules/property-information/lib/hast-to-react.js.map +1 -0
- package/dist/node_modules/react-markdown/node_modules/property-information/lib/html.js +2 -0
- package/dist/node_modules/react-markdown/node_modules/property-information/lib/html.js.map +1 -0
- package/dist/node_modules/react-markdown/node_modules/property-information/lib/normalize.js +2 -0
- package/dist/node_modules/react-markdown/node_modules/property-information/lib/normalize.js.map +1 -0
- package/dist/node_modules/react-markdown/node_modules/property-information/lib/svg.js +2 -0
- package/dist/node_modules/react-markdown/node_modules/property-information/lib/svg.js.map +1 -0
- package/dist/node_modules/react-markdown/node_modules/property-information/lib/util/case-insensitive-transform.js +2 -0
- package/dist/node_modules/react-markdown/node_modules/property-information/lib/util/case-insensitive-transform.js.map +1 -0
- package/dist/node_modules/react-markdown/node_modules/property-information/lib/util/case-sensitive-transform.js +2 -0
- package/dist/node_modules/react-markdown/node_modules/property-information/lib/util/case-sensitive-transform.js.map +1 -0
- package/dist/node_modules/react-markdown/node_modules/property-information/lib/util/create.js +2 -0
- package/dist/node_modules/react-markdown/node_modules/property-information/lib/util/create.js.map +1 -0
- package/dist/node_modules/react-markdown/node_modules/property-information/lib/util/defined-info.js +2 -0
- package/dist/node_modules/react-markdown/node_modules/property-information/lib/util/defined-info.js.map +1 -0
- package/dist/node_modules/react-markdown/node_modules/property-information/lib/util/info.js +2 -0
- package/dist/node_modules/react-markdown/node_modules/property-information/lib/util/info.js.map +1 -0
- package/dist/node_modules/react-markdown/node_modules/property-information/lib/util/merge.js +2 -0
- package/dist/node_modules/react-markdown/node_modules/property-information/lib/util/merge.js.map +1 -0
- package/dist/node_modules/react-markdown/node_modules/property-information/lib/util/schema.js +2 -0
- package/dist/node_modules/react-markdown/node_modules/property-information/lib/util/schema.js.map +1 -0
- package/dist/node_modules/react-markdown/node_modules/property-information/lib/util/types.js +2 -0
- package/dist/node_modules/react-markdown/node_modules/property-information/lib/util/types.js.map +1 -0
- package/dist/node_modules/react-markdown/node_modules/property-information/lib/xlink.js +2 -0
- package/dist/node_modules/react-markdown/node_modules/property-information/lib/xlink.js.map +1 -0
- package/dist/node_modules/react-markdown/node_modules/property-information/lib/xml.js +2 -0
- package/dist/node_modules/react-markdown/node_modules/property-information/lib/xml.js.map +1 -0
- package/dist/node_modules/react-markdown/node_modules/property-information/lib/xmlns.js +2 -0
- package/dist/node_modules/react-markdown/node_modules/property-information/lib/xmlns.js.map +1 -0
- package/dist/node_modules/react-markdown/node_modules/remark-parse/lib/index.js +2 -0
- package/dist/node_modules/react-markdown/node_modules/remark-parse/lib/index.js.map +1 -0
- package/dist/node_modules/react-markdown/node_modules/space-separated-tokens/index.js +2 -0
- package/dist/node_modules/react-markdown/node_modules/space-separated-tokens/index.js.map +1 -0
- package/dist/node_modules/react-markdown/node_modules/unified/lib/index.js +2 -0
- package/dist/node_modules/react-markdown/node_modules/unified/lib/index.js.map +1 -0
- package/dist/node_modules/react-markdown/node_modules/unist-util-is/lib/index.js +2 -0
- package/dist/node_modules/react-markdown/node_modules/unist-util-is/lib/index.js.map +1 -0
- package/dist/node_modules/react-markdown/node_modules/unist-util-stringify-position/lib/index.js +2 -0
- package/dist/node_modules/react-markdown/node_modules/unist-util-stringify-position/lib/index.js.map +1 -0
- package/dist/node_modules/react-markdown/node_modules/unist-util-visit/lib/index.js +2 -0
- package/dist/node_modules/react-markdown/node_modules/unist-util-visit/lib/index.js.map +1 -0
- package/dist/node_modules/react-markdown/node_modules/unist-util-visit-parents/lib/color.browser.js +2 -0
- package/dist/node_modules/react-markdown/node_modules/unist-util-visit-parents/lib/color.browser.js.map +1 -0
- package/dist/node_modules/react-markdown/node_modules/unist-util-visit-parents/lib/index.js +2 -0
- package/dist/node_modules/react-markdown/node_modules/unist-util-visit-parents/lib/index.js.map +1 -0
- package/dist/node_modules/react-markdown/node_modules/vfile/lib/index.js +2 -0
- package/dist/node_modules/react-markdown/node_modules/vfile/lib/index.js.map +1 -0
- package/dist/node_modules/react-markdown/node_modules/vfile/lib/minpath.browser.js +2 -0
- package/dist/node_modules/react-markdown/node_modules/vfile/lib/minpath.browser.js.map +1 -0
- package/dist/node_modules/react-markdown/node_modules/vfile/lib/minproc.browser.js +2 -0
- package/dist/node_modules/react-markdown/node_modules/vfile/lib/minproc.browser.js.map +1 -0
- package/dist/node_modules/react-markdown/node_modules/vfile/lib/minurl.browser.js +2 -0
- package/dist/node_modules/react-markdown/node_modules/vfile/lib/minurl.browser.js.map +1 -0
- package/dist/node_modules/react-markdown/node_modules/vfile/lib/minurl.shared.js +2 -0
- package/dist/node_modules/react-markdown/node_modules/vfile/lib/minurl.shared.js.map +1 -0
- package/dist/node_modules/react-markdown/node_modules/vfile-message/lib/index.js +2 -0
- package/dist/node_modules/react-markdown/node_modules/vfile-message/lib/index.js.map +1 -0
- package/dist/node_modules/unist-util-visit/node_modules/unist-util-is/lib/index.js +2 -0
- package/dist/node_modules/unist-util-visit/node_modules/unist-util-is/lib/index.js.map +1 -0
- package/dist/node_modules/unist-util-visit/node_modules/unist-util-visit-parents/lib/color.browser.js +2 -0
- package/dist/node_modules/unist-util-visit/node_modules/unist-util-visit-parents/lib/color.browser.js.map +1 -0
- package/dist/node_modules/unist-util-visit/node_modules/unist-util-visit-parents/lib/index.js +2 -0
- package/dist/node_modules/unist-util-visit/node_modules/unist-util-visit-parents/lib/index.js.map +1 -0
- package/dist/node_modules/unist-util-visit-parents/lib/color.js +2 -0
- package/dist/node_modules/unist-util-visit-parents/lib/color.js.map +1 -0
- package/dist/node_modules/vfile-message/node_modules/unist-util-stringify-position/lib/index.js +2 -0
- package/dist/node_modules/vfile-message/node_modules/unist-util-stringify-position/lib/index.js.map +1 -0
- package/dist/types/src/features/IL-OTJ/_components/AccordionSection.d.ts +7 -0
- package/dist/types/src/features/IL-OTJ/_components/AccordionSection.d.ts.map +1 -0
- package/dist/types/src/features/IL-OTJ/_components/BookLearningForm.d.ts +23 -0
- package/dist/types/src/features/IL-OTJ/_components/BookLearningForm.d.ts.map +1 -0
- package/dist/types/src/features/IL-OTJ/_components/ChatComponent.d.ts +31 -0
- package/dist/types/src/features/IL-OTJ/_components/ChatComponent.d.ts.map +1 -0
- package/dist/types/src/features/IL-OTJ/_components/ConflictingLearningWarnCard.d.ts +13 -0
- package/dist/types/src/features/IL-OTJ/_components/ConflictingLearningWarnCard.d.ts.map +1 -0
- package/dist/types/src/features/IL-OTJ/_components/ConflictingLearningWarnCardDB.d.ts +41 -0
- package/dist/types/src/features/IL-OTJ/_components/ConflictingLearningWarnCardDB.d.ts.map +1 -0
- package/dist/types/src/features/IL-OTJ/_components/ContextualChatComponent.d.ts +62 -0
- package/dist/types/src/features/IL-OTJ/_components/ContextualChatComponent.d.ts.map +1 -0
- package/dist/types/src/features/IL-OTJ/_components/ContextualConflictDBCard.d.ts +30 -0
- package/dist/types/src/features/IL-OTJ/_components/ContextualConflictDBCard.d.ts.map +1 -0
- package/dist/types/src/features/IL-OTJ/_components/ContextualLearningForm.d.ts +1 -0
- package/dist/types/src/features/IL-OTJ/_components/ContextualLearningForm.d.ts.map +1 -0
- package/dist/types/src/features/IL-OTJ/_components/ILComponents.d.ts +74 -0
- package/dist/types/src/features/IL-OTJ/_components/ILComponents.d.ts.map +1 -0
- package/dist/types/src/features/IL-OTJ/_components/LearningDetailsForm.d.ts +71 -0
- package/dist/types/src/features/IL-OTJ/_components/LearningDetailsForm.d.ts.map +1 -0
- package/dist/types/src/features/IL-OTJ/_components/MessageRendering/CustomComponents.d.ts +10 -0
- package/dist/types/src/features/IL-OTJ/_components/MessageRendering/CustomComponents.d.ts.map +1 -0
- package/dist/types/src/features/IL-OTJ/_components/MessageRendering/MarkdownElements.d.ts +25 -0
- package/dist/types/src/features/IL-OTJ/_components/MessageRendering/MarkdownElements.d.ts.map +1 -0
- package/dist/types/src/features/IL-OTJ/_components/MessageRendering.d.ts +14 -0
- package/dist/types/src/features/IL-OTJ/_components/MessageRendering.d.ts.map +1 -0
- package/dist/types/src/features/IL-OTJ/_components/RuleValidationCard.d.ts +30 -0
- package/dist/types/src/features/IL-OTJ/_components/RuleValidationCard.d.ts.map +1 -0
- package/dist/types/src/features/IL-OTJ/_components/SimilarLearningCard.d.ts +20 -0
- package/dist/types/src/features/IL-OTJ/_components/SimilarLearningCard.d.ts.map +1 -0
- package/dist/types/src/features/IL-OTJ/_components/TemplateRetrievalForm.d.ts +50 -0
- package/dist/types/src/features/IL-OTJ/_components/TemplateRetrievalForm.d.ts.map +1 -0
- package/dist/types/src/features/IL-OTJ/_components/ViewIdentifiedFieldsCard.d.ts.map +1 -1
- package/dist/types/src/features/IL-OTJ/_components/atoms/Button.d.ts +7 -0
- package/dist/types/src/features/IL-OTJ/_components/atoms/Button.d.ts.map +1 -0
- package/dist/types/src/features/IL-OTJ/_components/atoms/Dropdown.d.ts +13 -0
- package/dist/types/src/features/IL-OTJ/_components/atoms/Dropdown.d.ts.map +1 -0
- package/dist/types/src/features/IL-OTJ/_components/atoms/Textarea.d.ts +6 -0
- package/dist/types/src/features/IL-OTJ/_components/atoms/Textarea.d.ts.map +1 -0
- package/dist/types/src/features/IL-OTJ/_components/atoms/Toggle.d.ts +7 -0
- package/dist/types/src/features/IL-OTJ/_components/atoms/Toggle.d.ts.map +1 -0
- package/dist/types/src/features/IL-OTJ/_components/atoms/index.d.ts +4 -0
- package/dist/types/src/features/IL-OTJ/_components/atoms/index.d.ts.map +1 -0
- package/dist/types/src/features/IL-OTJ/_components/molecules/ConditionList.d.ts +16 -0
- package/dist/types/src/features/IL-OTJ/_components/molecules/ConditionList.d.ts.map +1 -0
- package/dist/types/src/features/IL-OTJ/_components/molecules/SectionWrapper.d.ts +14 -0
- package/dist/types/src/features/IL-OTJ/_components/molecules/SectionWrapper.d.ts.map +1 -0
- package/dist/types/src/features/IL-OTJ/_components/molecules/SeparationRow.d.ts +10 -0
- package/dist/types/src/features/IL-OTJ/_components/molecules/SeparationRow.d.ts.map +1 -0
- package/dist/types/src/features/IL-OTJ/_components/molecules/index.d.ts +4 -0
- package/dist/types/src/features/IL-OTJ/_components/molecules/index.d.ts.map +1 -0
- package/dist/types/src/features/IL-OTJ/_components/organisms/ConditionSection.d.ts +2 -0
- package/dist/types/src/features/IL-OTJ/_components/organisms/ConditionSection.d.ts.map +1 -0
- package/dist/types/src/features/IL-OTJ/_components/organisms/ConfigSection.d.ts +2 -0
- package/dist/types/src/features/IL-OTJ/_components/organisms/ConfigSection.d.ts.map +1 -0
- package/dist/types/src/features/IL-OTJ/_components/organisms/ScopeSection.d.ts +25 -0
- package/dist/types/src/features/IL-OTJ/_components/organisms/ScopeSection.d.ts.map +1 -0
- package/dist/types/src/features/IL-OTJ/_components/organisms/TextSection.d.ts +2 -0
- package/dist/types/src/features/IL-OTJ/_components/organisms/TextSection.d.ts.map +1 -0
- package/dist/types/src/features/IL-OTJ/_components/organisms/index.d.ts +5 -0
- package/dist/types/src/features/IL-OTJ/_components/organisms/index.d.ts.map +1 -0
- package/dist/types/src/features/IL-OTJ/_components/templates/AudactyTemplate.d.ts +2 -0
- package/dist/types/src/features/IL-OTJ/_components/templates/AudactyTemplate.d.ts.map +1 -0
- package/dist/types/src/features/IL-OTJ/_components/templates/RuleComparison/RuleComparison.d.ts.map +1 -1
- package/dist/types/src/features/IL-OTJ/_components/templates/Testing.d.ts +2 -0
- package/dist/types/src/features/IL-OTJ/_components/templates/Testing.d.ts.map +1 -0
- package/dist/types/src/features/IL-OTJ/_components/templates/TrafficManagerTemplate.d.ts +2 -0
- package/dist/types/src/features/IL-OTJ/_components/templates/TrafficManagerTemplate.d.ts.map +1 -0
- package/dist/types/src/features/IL-OTJ/_components/templates/index.d.ts +3 -0
- package/dist/types/src/features/IL-OTJ/_components/templates/index.d.ts.map +1 -0
- package/dist/types/src/features/IL-OTJ/_components/templates/templatesMap.d.ts +7 -0
- package/dist/types/src/features/IL-OTJ/_components/templates/templatesMap.d.ts.map +1 -0
- package/dist/types/src/features/IL-OTJ/hooks/useHeaderObserver.d.ts +13 -0
- package/dist/types/src/features/IL-OTJ/hooks/useHeaderObserver.d.ts.map +1 -0
- package/package.json +1 -1
- package/dist/cjs/features/IL-OTJ/_components/ViewInterpretedFieldsCard.js +0 -2
- package/dist/cjs/features/IL-OTJ/_components/ViewInterpretedFieldsCard.js.map +0 -1
- package/dist/features/IL-OTJ/_components/ViewInterpretedFieldsCard.js +0 -2
- package/dist/features/IL-OTJ/_components/ViewInterpretedFieldsCard.js.map +0 -1
- package/dist/types/src/features/IL-OTJ/_components/ViewInterpretedFieldsCard.d.ts +0 -2
- package/dist/types/src/features/IL-OTJ/_components/ViewInterpretedFieldsCard.d.ts.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.dom.js","sources":["../../../node_modules/decode-named-character-reference/index.dom.js"],"sourcesContent":["/// <reference lib=\"dom\" />\n\n/* global document */\n\nconst element = document.createElement('i')\n\n/**\n * @param {string} value\n * @returns {string | false}\n */\nexport function decodeNamedCharacterReference(value) {\n const characterReference = '&' + value + ';'\n element.innerHTML = characterReference\n const character = element.textContent\n\n // Some named character references do not require the closing semicolon\n // (`¬`, for instance), which leads to situations where parsing the assumed\n // named reference of `¬it;` will result in the string `¬it;`.\n // When we encounter a trailing semicolon after parsing, and the character\n // reference to decode was not a semicolon (`;`), we can assume that the\n // matching was not complete.\n if (\n character.charCodeAt(character.length - 1) === 59 /* `;` */ &&\n value !== 'semi'\n ) {\n return false\n }\n\n // If the decoded string is equal to the input, the character reference was\n // not valid.\n return character === characterReference ? false : character\n}\n"],"names":["element","document","createElement","decodeNamedCharacterReference","value","characterReference","innerHTML","character","textContent","charCodeAt","length"],"mappings":"AAIA,MAAMA,EAAUC,SAASC,cAAc,KAMhC,SAASC,EAA8BC,GAC5C,MAAMC,EAAqB,IAAMD,EAAQ,IACzCJ,EAAQM,UAAYD,EACpB,MAAME,EAAYP,EAAQQ,YAQ1B,
|
|
1
|
+
{"version":3,"file":"index.dom.js","sources":["../../../node_modules/decode-named-character-reference/index.dom.js"],"sourcesContent":["/// <reference lib=\"dom\" />\n\n/* global document */\n\nconst element = document.createElement('i')\n\n/**\n * @param {string} value\n * @returns {string | false}\n */\nexport function decodeNamedCharacterReference(value) {\n const characterReference = '&' + value + ';'\n element.innerHTML = characterReference\n const character = element.textContent\n\n // Some named character references do not require the closing semicolon\n // (`¬`, for instance), which leads to situations where parsing the assumed\n // named reference of `¬it;` will result in the string `¬it;`.\n // When we encounter a trailing semicolon after parsing, and the character\n // reference to decode was not a semicolon (`;`), we can assume that the\n // matching was not complete.\n if (\n // @ts-expect-error: TypeScript is wrong that `textContent` on elements can\n // yield `null`.\n character.charCodeAt(character.length - 1) === 59 /* `;` */ &&\n value !== 'semi'\n ) {\n return false\n }\n\n // If the decoded string is equal to the input, the character reference was\n // not valid.\n // @ts-expect-error: TypeScript is wrong that `textContent` on elements can\n // yield `null`.\n return character === characterReference ? false : character\n}\n"],"names":["element","document","createElement","decodeNamedCharacterReference","value","characterReference","innerHTML","character","textContent","charCodeAt","length"],"mappings":"AAIA,MAAMA,EAAUC,SAASC,cAAc,KAMhC,SAASC,EAA8BC,GAC5C,MAAMC,EAAqB,IAAMD,EAAQ,IACzCJ,EAAQM,UAAYD,EACpB,MAAME,EAAYP,EAAQQ,YAQ1B,OAGiD,KAA/CD,EAAUE,WAAWF,EAAUG,OAAS,IAC9B,SAAVN,KASKG,IAAcF,GAA6BE,EACpD"}
|
package/dist/node_modules/hast-util-from-parse5/node_modules/comma-separated-tokens/index.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../node_modules/hast-util-from-parse5/node_modules/comma-separated-tokens/index.js"],"sourcesContent":["/**\n * @typedef Options\n * Configuration for `stringify`.\n * @property {boolean} [padLeft=true]\n * Whether to pad a space before a token.\n * @property {boolean} [padRight=false]\n * Whether to pad a space after a token.\n */\n\n/**\n * @typedef {Options} StringifyOptions\n * Please use `StringifyOptions` instead.\n */\n\n/**\n * Parse comma-separated tokens to an array.\n *\n * @param {string} value\n * Comma-separated tokens.\n * @returns {Array<string>}\n * List of tokens.\n */\nexport function parse(value) {\n /** @type {Array<string>} */\n const tokens = []\n const input = String(value || '')\n let index = input.indexOf(',')\n let start = 0\n /** @type {boolean} */\n let end = false\n\n while (!end) {\n if (index === -1) {\n index = input.length\n end = true\n }\n\n const token = input.slice(start, index).trim()\n\n if (token || !end) {\n tokens.push(token)\n }\n\n start = index + 1\n index = input.indexOf(',', start)\n }\n\n return tokens\n}\n\n/**\n * Serialize an array of strings or numbers to comma-separated tokens.\n *\n * @param {Array<string|number>} values\n * List of tokens.\n * @param {Options} [options]\n * Configuration for `stringify` (optional).\n * @returns {string}\n * Comma-separated tokens.\n */\nexport function stringify(values, options) {\n const settings = options || {}\n\n // Ensure the last empty entry is seen.\n const input = values[values.length - 1] === '' ? [...values, ''] : values\n\n return input\n .join(\n (settings.padRight ? ' ' : '') +\n ',' +\n (settings.padLeft === false ? '' : ' ')\n )\n .trim()\n}\n"],"names":["parse","value","tokens","input","String","index","indexOf","start","end","length","token","slice","trim","push"],"mappings":"AAsBO,SAASA,EAAMC,GAEpB,MAAMC,EAAS,GACTC,EAAQC,OAAOH,GAAS,IAC9B,IAAII,EAAQF,EAAMG,QAAQ,KACtBC,EAAQ,EAERC,GAAM,EAEV,MAAQA,GAAK,EACI,IAAXH,IACFA,EAAQF,EAAMM,OACdD,GAAM,GAGR,MAAME,EAAQP,EAAMQ,MAAMJ,EAAOF,GAAOO,QAEpCF,GAAUF,GACZN,EAAOW,KAAKH,GAGdH,EAAQF,EAAQ,EAChBA,EAAQF,EAAMG,QAAQ,IAAKC,EAC5B,CAED,OAAOL,CACT"}
|
package/dist/node_modules/hast-util-from-parse5/node_modules/space-separated-tokens/index.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../node_modules/hast-util-from-parse5/node_modules/space-separated-tokens/index.js"],"sourcesContent":["/**\n * Parse space-separated tokens to an array of strings.\n *\n * @param {string} value\n * Space-separated tokens.\n * @returns {Array<string>}\n * List of tokens.\n */\nexport function parse(value) {\n const input = String(value || '').trim()\n return input ? input.split(/[ \\t\\n\\r\\f]+/g) : []\n}\n\n/**\n * Serialize an array of strings as space separated-tokens.\n *\n * @param {Array<string|number>} values\n * List of tokens.\n * @returns {string}\n * Space-separated tokens.\n */\nexport function stringify(values) {\n return values.join(' ').trim()\n}\n"],"names":["parse","value","input","String","trim","split"],"mappings":"AAQO,SAASA,EAAMC,GACpB,MAAMC,EAAQC,OAAOF,GAAS,IAAIG,OAClC,OAAOF,EAAQA,EAAMG,MAAM,iBAAmB,EAChD"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
const n=e("end"),o=e("start");function e(n){return function(o){const e=o&&o.position&&o.position[n]||{};if("number"==typeof e.line&&e.line>0&&"number"==typeof e.column&&e.column>0)return{line:e.line,column:e.column,offset:"number"==typeof e.offset&&e.offset>-1?e.offset:void 0}}}export{n as pointEnd,o as pointStart};
|
|
2
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../../node_modules/hast-util-raw/node_modules/unist-util-position/lib/index.js"],"sourcesContent":["/**\n * @typedef {import('unist').Node} Node\n * @typedef {import('unist').Point} Point\n * @typedef {import('unist').Position} Position\n */\n\n/**\n * @typedef NodeLike\n * @property {string} type\n * @property {PositionLike | null | undefined} [position]\n *\n * @typedef PositionLike\n * @property {PointLike | null | undefined} [start]\n * @property {PointLike | null | undefined} [end]\n *\n * @typedef PointLike\n * @property {number | null | undefined} [line]\n * @property {number | null | undefined} [column]\n * @property {number | null | undefined} [offset]\n */\n\n/**\n * Get the ending point of `node`.\n *\n * @param node\n * Node.\n * @returns\n * Point.\n */\nexport const pointEnd = point('end')\n\n/**\n * Get the starting point of `node`.\n *\n * @param node\n * Node.\n * @returns\n * Point.\n */\nexport const pointStart = point('start')\n\n/**\n * Get the positional info of `node`.\n *\n * @param {'end' | 'start'} type\n * Side.\n * @returns\n * Getter.\n */\nfunction point(type) {\n return point\n\n /**\n * Get the point info of `node` at a bound side.\n *\n * @param {Node | NodeLike | null | undefined} [node]\n * @returns {Point | undefined}\n */\n function point(node) {\n const point = (node && node.position && node.position[type]) || {}\n\n if (\n typeof point.line === 'number' &&\n point.line > 0 &&\n typeof point.column === 'number' &&\n point.column > 0\n ) {\n return {\n line: point.line,\n column: point.column,\n offset:\n typeof point.offset === 'number' && point.offset > -1\n ? point.offset\n : undefined\n }\n }\n }\n}\n\n/**\n * Get the positional info of `node`.\n *\n * @param {Node | NodeLike | null | undefined} [node]\n * Node.\n * @returns {Position | undefined}\n * Position.\n */\nexport function position(node) {\n const start = pointStart(node)\n const end = pointEnd(node)\n\n if (start && end) {\n return {start, end}\n }\n}\n"],"names":["pointEnd","point","pointStart","type","node","position","line","column","offset","undefined"],"mappings":"AA6BY,MAACA,EAAWC,EAAM,OAUjBC,EAAaD,EAAM,SAUhC,SAASA,EAAME,GACb,OAQA,SAAeC,GACb,MAAMH,EAASG,GAAQA,EAAKC,UAAYD,EAAKC,SAASF,IAAU,CAAE,EAElE,GACwB,iBAAfF,EAAMK,MACbL,EAAMK,KAAO,GACW,iBAAjBL,EAAMM,QACbN,EAAMM,OAAS,EAEf,MAAO,CACLD,KAAML,EAAMK,KACZC,OAAQN,EAAMM,OACdC,OAC0B,iBAAjBP,EAAMO,QAAuBP,EAAMO,QAAU,EAChDP,EAAMO,YACNC,EAGX,CACH"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../../../node_modules/hast-util-raw/node_modules/unist-util-visit/lib/index.js"],"sourcesContent":["/**\n * @import {Node as UnistNode, Parent as UnistParent} from 'unist'\n * @import {VisitorResult} from 'unist-util-visit-parents'\n */\n\n/**\n * @typedef {Exclude<import('unist-util-is').Test, undefined> | undefined} Test\n * Test from `unist-util-is`.\n *\n * Note: we have remove and add `undefined`, because otherwise when generating\n * automatic `.d.ts` files, TS tries to flatten paths from a local perspective,\n * which doesn’t work when publishing on npm.\n */\n\n// To do: use types from `unist-util-visit-parents` when it’s released.\n\n/**\n * @typedef {(\n * Fn extends (value: any) => value is infer Thing\n * ? Thing\n * : Fallback\n * )} Predicate\n * Get the value of a type guard `Fn`.\n * @template Fn\n * Value; typically function that is a type guard (such as `(x): x is Y`).\n * @template Fallback\n * Value to yield if `Fn` is not a type guard.\n */\n\n/**\n * @typedef {(\n * Check extends null | undefined // No test.\n * ? Value\n * : Value extends {type: Check} // String (type) test.\n * ? Value\n * : Value extends Check // Partial test.\n * ? Value\n * : Check extends Function // Function test.\n * ? Predicate<Check, Value> extends Value\n * ? Predicate<Check, Value>\n * : never\n * : never // Some other test?\n * )} MatchesOne\n * Check whether a node matches a primitive check in the type system.\n * @template Value\n * Value; typically unist `Node`.\n * @template Check\n * Value; typically `unist-util-is`-compatible test, but not arrays.\n */\n\n/**\n * @typedef {(\n * Check extends ReadonlyArray<any>\n * ? MatchesOne<Value, Check[number]>\n * : MatchesOne<Value, Check>\n * )} Matches\n * Check whether a node matches a check in the type system.\n * @template Value\n * Value; typically unist `Node`.\n * @template Check\n * Value; typically `unist-util-is`-compatible test.\n */\n\n/**\n * @typedef {0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10} Uint\n * Number; capped reasonably.\n */\n\n/**\n * @typedef {I extends 0 ? 1 : I extends 1 ? 2 : I extends 2 ? 3 : I extends 3 ? 4 : I extends 4 ? 5 : I extends 5 ? 6 : I extends 6 ? 7 : I extends 7 ? 8 : I extends 8 ? 9 : 10} Increment\n * Increment a number in the type system.\n * @template {Uint} [I=0]\n * Index.\n */\n\n/**\n * @typedef {(\n * Node extends UnistParent\n * ? Node extends {children: Array<infer Children>}\n * ? Child extends Children ? Node : never\n * : never\n * : never\n * )} InternalParent\n * Collect nodes that can be parents of `Child`.\n * @template {UnistNode} Node\n * All node types in a tree.\n * @template {UnistNode} Child\n * Node to search for.\n */\n\n/**\n * @typedef {InternalParent<InclusiveDescendant<Tree>, Child>} Parent\n * Collect nodes in `Tree` that can be parents of `Child`.\n * @template {UnistNode} Tree\n * All node types in a tree.\n * @template {UnistNode} Child\n * Node to search for.\n */\n\n/**\n * @typedef {(\n * Depth extends Max\n * ? never\n * :\n * | InternalParent<Node, Child>\n * | InternalAncestor<Node, InternalParent<Node, Child>, Max, Increment<Depth>>\n * )} InternalAncestor\n * Collect nodes in `Tree` that can be ancestors of `Child`.\n * @template {UnistNode} Node\n * All node types in a tree.\n * @template {UnistNode} Child\n * Node to search for.\n * @template {Uint} [Max=10]\n * Max; searches up to this depth.\n * @template {Uint} [Depth=0]\n * Current depth.\n */\n\n/**\n * @typedef {(\n * Tree extends UnistParent\n * ? Depth extends Max\n * ? Tree\n * : Tree | InclusiveDescendant<Tree['children'][number], Max, Increment<Depth>>\n * : Tree\n * )} InclusiveDescendant\n * Collect all (inclusive) descendants of `Tree`.\n *\n * > 👉 **Note**: for performance reasons, this seems to be the fastest way to\n * > recurse without actually running into an infinite loop, which the\n * > previous version did.\n * >\n * > Practically, a max of `2` is typically enough assuming a `Root` is\n * > passed, but it doesn’t improve performance.\n * > It gets higher with `List > ListItem > Table > TableRow > TableCell`.\n * > Using up to `10` doesn’t hurt or help either.\n * @template {UnistNode} Tree\n * Tree type.\n * @template {Uint} [Max=10]\n * Max; searches up to this depth.\n * @template {Uint} [Depth=0]\n * Current depth.\n */\n\n/**\n * @callback Visitor\n * Handle a node (matching `test`, if given).\n *\n * Visitors are free to transform `node`.\n * They can also transform `parent`.\n *\n * Replacing `node` itself, if `SKIP` is not returned, still causes its\n * descendants to be walked (which is a bug).\n *\n * When adding or removing previous siblings of `node` (or next siblings, in\n * case of reverse), the `Visitor` should return a new `Index` to specify the\n * sibling to traverse after `node` is traversed.\n * Adding or removing next siblings of `node` (or previous siblings, in case\n * of reverse) is handled as expected without needing to return a new `Index`.\n *\n * Removing the children property of `parent` still results in them being\n * traversed.\n * @param {Visited} node\n * Found node.\n * @param {Visited extends UnistNode ? number | undefined : never} index\n * Index of `node` in `parent`.\n * @param {Ancestor extends UnistParent ? Ancestor | undefined : never} parent\n * Parent of `node`.\n * @returns {VisitorResult}\n * What to do next.\n *\n * An `Index` is treated as a tuple of `[CONTINUE, Index]`.\n * An `Action` is treated as a tuple of `[Action]`.\n *\n * Passing a tuple back only makes sense if the `Action` is `SKIP`.\n * When the `Action` is `EXIT`, that action can be returned.\n * When the `Action` is `CONTINUE`, `Index` can be returned.\n * @template {UnistNode} [Visited=UnistNode]\n * Visited node type.\n * @template {UnistParent} [Ancestor=UnistParent]\n * Ancestor type.\n */\n\n/**\n * @typedef {Visitor<Visited, Parent<Ancestor, Visited>>} BuildVisitorFromMatch\n * Build a typed `Visitor` function from a node and all possible parents.\n *\n * It will infer which values are passed as `node` and which as `parent`.\n * @template {UnistNode} Visited\n * Node type.\n * @template {UnistParent} Ancestor\n * Parent type.\n */\n\n/**\n * @typedef {(\n * BuildVisitorFromMatch<\n * Matches<Descendant, Check>,\n * Extract<Descendant, UnistParent>\n * >\n * )} BuildVisitorFromDescendants\n * Build a typed `Visitor` function from a list of descendants and a test.\n *\n * It will infer which values are passed as `node` and which as `parent`.\n * @template {UnistNode} Descendant\n * Node type.\n * @template {Test} Check\n * Test type.\n */\n\n/**\n * @typedef {(\n * BuildVisitorFromDescendants<\n * InclusiveDescendant<Tree>,\n * Check\n * >\n * )} BuildVisitor\n * Build a typed `Visitor` function from a tree and a test.\n *\n * It will infer which values are passed as `node` and which as `parent`.\n * @template {UnistNode} [Tree=UnistNode]\n * Node type.\n * @template {Test} [Check=Test]\n * Test type.\n */\n\nimport {visitParents} from 'unist-util-visit-parents'\n\nexport {CONTINUE, EXIT, SKIP} from 'unist-util-visit-parents'\n\n/**\n * Visit nodes.\n *\n * This algorithm performs *depth-first* *tree traversal* in *preorder*\n * (**NLR**) or if `reverse` is given, in *reverse preorder* (**NRL**).\n *\n * You can choose for which nodes `visitor` is called by passing a `test`.\n * For complex tests, you should test yourself in `visitor`, as it will be\n * faster and will have improved type information.\n *\n * Walking the tree is an intensive task.\n * Make use of the return values of the visitor when possible.\n * Instead of walking a tree multiple times, walk it once, use `unist-util-is`\n * to check if a node matches, and then perform different operations.\n *\n * You can change the tree.\n * See `Visitor` for more info.\n *\n * @overload\n * @param {Tree} tree\n * @param {Check} check\n * @param {BuildVisitor<Tree, Check>} visitor\n * @param {boolean | null | undefined} [reverse]\n * @returns {undefined}\n *\n * @overload\n * @param {Tree} tree\n * @param {BuildVisitor<Tree>} visitor\n * @param {boolean | null | undefined} [reverse]\n * @returns {undefined}\n *\n * @param {UnistNode} tree\n * Tree to traverse.\n * @param {Visitor | Test} testOrVisitor\n * `unist-util-is`-compatible test (optional, omit to pass a visitor).\n * @param {Visitor | boolean | null | undefined} [visitorOrReverse]\n * Handle each node (when test is omitted, pass `reverse`).\n * @param {boolean | null | undefined} [maybeReverse=false]\n * Traverse in reverse preorder (NRL) instead of the default preorder (NLR).\n * @returns {undefined}\n * Nothing.\n *\n * @template {UnistNode} Tree\n * Node type.\n * @template {Test} Check\n * `unist-util-is`-compatible test.\n */\nexport function visit(tree, testOrVisitor, visitorOrReverse, maybeReverse) {\n /** @type {boolean | null | undefined} */\n let reverse\n /** @type {Test} */\n let test\n /** @type {Visitor} */\n let visitor\n\n if (\n typeof testOrVisitor === 'function' &&\n typeof visitorOrReverse !== 'function'\n ) {\n test = undefined\n visitor = testOrVisitor\n reverse = visitorOrReverse\n } else {\n // @ts-expect-error: assume the overload with test was given.\n test = testOrVisitor\n // @ts-expect-error: assume the overload with test was given.\n visitor = visitorOrReverse\n reverse = maybeReverse\n }\n\n visitParents(tree, test, overload, reverse)\n\n /**\n * @param {UnistNode} node\n * @param {Array<UnistParent>} parents\n */\n function overload(node, parents) {\n const parent = parents[parents.length - 1]\n const index = parent ? parent.children.indexOf(node) : undefined\n return visitor(node, index, parent)\n }\n}\n"],"names":["visit","tree","testOrVisitor","visitorOrReverse","maybeReverse","reverse","test","visitor","undefined","visitParents","node","parents","parent","length","index","children","indexOf"],"mappings":"uJAqRO,SAASA,EAAMC,EAAMC,EAAeC,EAAkBC,GAE3D,IAAIC,EAEAC,EAEAC,EAGuB,mBAAlBL,GACqB,mBAArBC,GAEPG,OAAOE,EACPD,EAAUL,EACVG,EAAUF,IAGVG,EAAOJ,EAEPK,EAAUJ,EACVE,EAAUD,GAGZK,EAAaR,EAAMK,EAMnB,SAAkBI,EAAMC,GACtB,MAAMC,EAASD,EAAQA,EAAQE,OAAS,GAClCC,EAAQF,EAASA,EAAOG,SAASC,QAAQN,QAAQF,EACvD,OAAOD,EAAQG,EAAMI,EAAOF,EAC7B,EAVkCP,EAWrC"}
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../../node_modules/hast-util-raw/node_modules/unist-util-visit/lib/index.js"],"sourcesContent":["/**\n * @typedef {import('unist').Node} UnistNode\n * @typedef {import('unist').Parent} UnistParent\n * @typedef {import('unist-util-visit-parents').VisitorResult} VisitorResult\n */\n\n/**\n * @typedef {Exclude<import('unist-util-is').Test, undefined> | undefined} Test\n * Test from `unist-util-is`.\n *\n * Note: we have remove and add `undefined`, because otherwise when generating\n * automatic `.d.ts` files, TS tries to flatten paths from a local perspective,\n * which doesn’t work when publishing on npm.\n */\n\n// To do: use types from `unist-util-visit-parents` when it’s released.\n\n/**\n * @typedef {(\n * Fn extends (value: any) => value is infer Thing\n * ? Thing\n * : Fallback\n * )} Predicate\n * Get the value of a type guard `Fn`.\n * @template Fn\n * Value; typically function that is a type guard (such as `(x): x is Y`).\n * @template Fallback\n * Value to yield if `Fn` is not a type guard.\n */\n\n/**\n * @typedef {(\n * Check extends null | undefined // No test.\n * ? Value\n * : Value extends {type: Check} // String (type) test.\n * ? Value\n * : Value extends Check // Partial test.\n * ? Value\n * : Check extends Function // Function test.\n * ? Predicate<Check, Value> extends Value\n * ? Predicate<Check, Value>\n * : never\n * : never // Some other test?\n * )} MatchesOne\n * Check whether a node matches a primitive check in the type system.\n * @template Value\n * Value; typically unist `Node`.\n * @template Check\n * Value; typically `unist-util-is`-compatible test, but not arrays.\n */\n\n/**\n * @typedef {(\n * Check extends Array<any>\n * ? MatchesOne<Value, Check[keyof Check]>\n * : MatchesOne<Value, Check>\n * )} Matches\n * Check whether a node matches a check in the type system.\n * @template Value\n * Value; typically unist `Node`.\n * @template Check\n * Value; typically `unist-util-is`-compatible test.\n */\n\n/**\n * @typedef {0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10} Uint\n * Number; capped reasonably.\n */\n\n/**\n * @typedef {I extends 0 ? 1 : I extends 1 ? 2 : I extends 2 ? 3 : I extends 3 ? 4 : I extends 4 ? 5 : I extends 5 ? 6 : I extends 6 ? 7 : I extends 7 ? 8 : I extends 8 ? 9 : 10} Increment\n * Increment a number in the type system.\n * @template {Uint} [I=0]\n * Index.\n */\n\n/**\n * @typedef {(\n * Node extends UnistParent\n * ? Node extends {children: Array<infer Children>}\n * ? Child extends Children ? Node : never\n * : never\n * : never\n * )} InternalParent\n * Collect nodes that can be parents of `Child`.\n * @template {UnistNode} Node\n * All node types in a tree.\n * @template {UnistNode} Child\n * Node to search for.\n */\n\n/**\n * @typedef {InternalParent<InclusiveDescendant<Tree>, Child>} Parent\n * Collect nodes in `Tree` that can be parents of `Child`.\n * @template {UnistNode} Tree\n * All node types in a tree.\n * @template {UnistNode} Child\n * Node to search for.\n */\n\n/**\n * @typedef {(\n * Depth extends Max\n * ? never\n * :\n * | InternalParent<Node, Child>\n * | InternalAncestor<Node, InternalParent<Node, Child>, Max, Increment<Depth>>\n * )} InternalAncestor\n * Collect nodes in `Tree` that can be ancestors of `Child`.\n * @template {UnistNode} Node\n * All node types in a tree.\n * @template {UnistNode} Child\n * Node to search for.\n * @template {Uint} [Max=10]\n * Max; searches up to this depth.\n * @template {Uint} [Depth=0]\n * Current depth.\n */\n\n/**\n * @typedef {(\n * Tree extends UnistParent\n * ? Depth extends Max\n * ? Tree\n * : Tree | InclusiveDescendant<Tree['children'][number], Max, Increment<Depth>>\n * : Tree\n * )} InclusiveDescendant\n * Collect all (inclusive) descendants of `Tree`.\n *\n * > 👉 **Note**: for performance reasons, this seems to be the fastest way to\n * > recurse without actually running into an infinite loop, which the\n * > previous version did.\n * >\n * > Practically, a max of `2` is typically enough assuming a `Root` is\n * > passed, but it doesn’t improve performance.\n * > It gets higher with `List > ListItem > Table > TableRow > TableCell`.\n * > Using up to `10` doesn’t hurt or help either.\n * @template {UnistNode} Tree\n * Tree type.\n * @template {Uint} [Max=10]\n * Max; searches up to this depth.\n * @template {Uint} [Depth=0]\n * Current depth.\n */\n\n/**\n * @callback Visitor\n * Handle a node (matching `test`, if given).\n *\n * Visitors are free to transform `node`.\n * They can also transform `parent`.\n *\n * Replacing `node` itself, if `SKIP` is not returned, still causes its\n * descendants to be walked (which is a bug).\n *\n * When adding or removing previous siblings of `node` (or next siblings, in\n * case of reverse), the `Visitor` should return a new `Index` to specify the\n * sibling to traverse after `node` is traversed.\n * Adding or removing next siblings of `node` (or previous siblings, in case\n * of reverse) is handled as expected without needing to return a new `Index`.\n *\n * Removing the children property of `parent` still results in them being\n * traversed.\n * @param {Visited} node\n * Found node.\n * @param {Visited extends UnistNode ? number | undefined : never} index\n * Index of `node` in `parent`.\n * @param {Ancestor extends UnistParent ? Ancestor | undefined : never} parent\n * Parent of `node`.\n * @returns {VisitorResult}\n * What to do next.\n *\n * An `Index` is treated as a tuple of `[CONTINUE, Index]`.\n * An `Action` is treated as a tuple of `[Action]`.\n *\n * Passing a tuple back only makes sense if the `Action` is `SKIP`.\n * When the `Action` is `EXIT`, that action can be returned.\n * When the `Action` is `CONTINUE`, `Index` can be returned.\n * @template {UnistNode} [Visited=UnistNode]\n * Visited node type.\n * @template {UnistParent} [Ancestor=UnistParent]\n * Ancestor type.\n */\n\n/**\n * @typedef {Visitor<Visited, Parent<Ancestor, Visited>>} BuildVisitorFromMatch\n * Build a typed `Visitor` function from a node and all possible parents.\n *\n * It will infer which values are passed as `node` and which as `parent`.\n * @template {UnistNode} Visited\n * Node type.\n * @template {UnistParent} Ancestor\n * Parent type.\n */\n\n/**\n * @typedef {(\n * BuildVisitorFromMatch<\n * Matches<Descendant, Check>,\n * Extract<Descendant, UnistParent>\n * >\n * )} BuildVisitorFromDescendants\n * Build a typed `Visitor` function from a list of descendants and a test.\n *\n * It will infer which values are passed as `node` and which as `parent`.\n * @template {UnistNode} Descendant\n * Node type.\n * @template {Test} Check\n * Test type.\n */\n\n/**\n * @typedef {(\n * BuildVisitorFromDescendants<\n * InclusiveDescendant<Tree>,\n * Check\n * >\n * )} BuildVisitor\n * Build a typed `Visitor` function from a tree and a test.\n *\n * It will infer which values are passed as `node` and which as `parent`.\n * @template {UnistNode} [Tree=UnistNode]\n * Node type.\n * @template {Test} [Check=Test]\n * Test type.\n */\n\nimport {visitParents} from 'unist-util-visit-parents'\n\nexport {CONTINUE, EXIT, SKIP} from 'unist-util-visit-parents'\n\n/**\n * Visit nodes.\n *\n * This algorithm performs *depth-first* *tree traversal* in *preorder*\n * (**NLR**) or if `reverse` is given, in *reverse preorder* (**NRL**).\n *\n * You can choose for which nodes `visitor` is called by passing a `test`.\n * For complex tests, you should test yourself in `visitor`, as it will be\n * faster and will have improved type information.\n *\n * Walking the tree is an intensive task.\n * Make use of the return values of the visitor when possible.\n * Instead of walking a tree multiple times, walk it once, use `unist-util-is`\n * to check if a node matches, and then perform different operations.\n *\n * You can change the tree.\n * See `Visitor` for more info.\n *\n * @overload\n * @param {Tree} tree\n * @param {Check} check\n * @param {BuildVisitor<Tree, Check>} visitor\n * @param {boolean | null | undefined} [reverse]\n * @returns {undefined}\n *\n * @overload\n * @param {Tree} tree\n * @param {BuildVisitor<Tree>} visitor\n * @param {boolean | null | undefined} [reverse]\n * @returns {undefined}\n *\n * @param {UnistNode} tree\n * Tree to traverse.\n * @param {Visitor | Test} testOrVisitor\n * `unist-util-is`-compatible test (optional, omit to pass a visitor).\n * @param {Visitor | boolean | null | undefined} [visitorOrReverse]\n * Handle each node (when test is omitted, pass `reverse`).\n * @param {boolean | null | undefined} [maybeReverse=false]\n * Traverse in reverse preorder (NRL) instead of the default preorder (NLR).\n * @returns {undefined}\n * Nothing.\n *\n * @template {UnistNode} Tree\n * Node type.\n * @template {Test} Check\n * `unist-util-is`-compatible test.\n */\nexport function visit(tree, testOrVisitor, visitorOrReverse, maybeReverse) {\n /** @type {boolean | null | undefined} */\n let reverse\n /** @type {Test} */\n let test\n /** @type {Visitor} */\n let visitor\n\n if (\n typeof testOrVisitor === 'function' &&\n typeof visitorOrReverse !== 'function'\n ) {\n test = undefined\n visitor = testOrVisitor\n reverse = visitorOrReverse\n } else {\n // @ts-expect-error: assume the overload with test was given.\n test = testOrVisitor\n // @ts-expect-error: assume the overload with test was given.\n visitor = visitorOrReverse\n reverse = maybeReverse\n }\n\n visitParents(tree, test, overload, reverse)\n\n /**\n * @param {UnistNode} node\n * @param {Array<UnistParent>} parents\n */\n function overload(node, parents) {\n const parent = parents[parents.length - 1]\n const index = parent ? parent.children.indexOf(node) : undefined\n return visitor(node, index, parent)\n }\n}\n"],"names":["visit","tree","testOrVisitor","visitorOrReverse","maybeReverse","reverse","test","visitor","undefined","visitParents","node","parents","parent","length","index","children","indexOf"],"mappings":"uJAsRO,SAASA,EAAMC,EAAMC,EAAeC,EAAkBC,GAE3D,IAAIC,EAEAC,EAEAC,EAGuB,mBAAlBL,GACqB,mBAArBC,GAEPG,OAAOE,EACPD,EAAUL,EACVG,EAAUF,IAGVG,EAAOJ,EAEPK,EAAUJ,EACVE,EAAUD,GAGZK,EAAaR,EAAMK,EAMnB,SAAkBI,EAAMC,GACtB,MAAMC,EAASD,EAAQA,EAAQE,OAAS,GAClCC,EAAQF,EAASA,EAAOG,SAASC,QAAQN,QAAQF,EACvD,OAAOD,EAAQG,EAAMI,EAAOF,EAC7B,EAVkCP,EAWrC"}
|
package/dist/node_modules/hast-util-to-parse5/node_modules/comma-separated-tokens/index.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../node_modules/hast-util-to-parse5/node_modules/comma-separated-tokens/index.js"],"sourcesContent":["/**\n * @typedef Options\n * Configuration for `stringify`.\n * @property {boolean} [padLeft=true]\n * Whether to pad a space before a token.\n * @property {boolean} [padRight=false]\n * Whether to pad a space after a token.\n */\n\n/**\n * @typedef {Options} StringifyOptions\n * Please use `StringifyOptions` instead.\n */\n\n/**\n * Parse comma-separated tokens to an array.\n *\n * @param {string} value\n * Comma-separated tokens.\n * @returns {Array<string>}\n * List of tokens.\n */\nexport function parse(value) {\n /** @type {Array<string>} */\n const tokens = []\n const input = String(value || '')\n let index = input.indexOf(',')\n let start = 0\n /** @type {boolean} */\n let end = false\n\n while (!end) {\n if (index === -1) {\n index = input.length\n end = true\n }\n\n const token = input.slice(start, index).trim()\n\n if (token || !end) {\n tokens.push(token)\n }\n\n start = index + 1\n index = input.indexOf(',', start)\n }\n\n return tokens\n}\n\n/**\n * Serialize an array of strings or numbers to comma-separated tokens.\n *\n * @param {Array<string|number>} values\n * List of tokens.\n * @param {Options} [options]\n * Configuration for `stringify` (optional).\n * @returns {string}\n * Comma-separated tokens.\n */\nexport function stringify(values, options) {\n const settings = options || {}\n\n // Ensure the last empty entry is seen.\n const input = values[values.length - 1] === '' ? [...values, ''] : values\n\n return input\n .join(\n (settings.padRight ? ' ' : '') +\n ',' +\n (settings.padLeft === false ? '' : ' ')\n )\n .trim()\n}\n"],"names":["stringify","values","options","settings","length","join","padRight","padLeft","trim"],"mappings":"AA4DO,SAASA,EAAUC,EAAQC,GAChC,MAAMC,EAAWD,GAAW,CAAE,EAK9B,OAF4C,KAA9BD,EAAOA,EAAOG,OAAS,GAAY,IAAIH,EAAQ,IAAMA,GAGhEI,MACEF,EAASG,SAAW,IAAM,IACzB,MACsB,IAArBH,EAASI,QAAoB,GAAK,MAEtCC,MACL"}
|
package/dist/node_modules/hast-util-to-parse5/node_modules/space-separated-tokens/index.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../node_modules/hast-util-to-parse5/node_modules/space-separated-tokens/index.js"],"sourcesContent":["/**\n * Parse space-separated tokens to an array of strings.\n *\n * @param {string} value\n * Space-separated tokens.\n * @returns {Array<string>}\n * List of tokens.\n */\nexport function parse(value) {\n const input = String(value || '').trim()\n return input ? input.split(/[ \\t\\n\\r\\f]+/g) : []\n}\n\n/**\n * Serialize an array of strings as space separated-tokens.\n *\n * @param {Array<string|number>} values\n * List of tokens.\n * @returns {string}\n * Space-separated tokens.\n */\nexport function stringify(values) {\n return values.join(' ').trim()\n}\n"],"names":["stringify","values","join","trim"],"mappings":"AAqBO,SAASA,EAAUC,GACxB,OAAOA,EAAOC,KAAK,KAAKC,MAC1B"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
const t=function(e){if(null==e)return r;if("string"==typeof e)return function(t){return n(r);function r(n){return n&&n.type===t}}(e);if("object"==typeof e)return Array.isArray(e)?function(r){const e=[];let o=-1;for(;++o<r.length;)e[o]=t(r[o]);return n(u);function u(...t){let n=-1;for(;++n<e.length;)if(e[n].call(this,...t))return!0;return!1}}(e):function(t){return n(r);function r(n){let r;for(r in t)if(n[r]!==t[r])return!1;return!0}}(e);if("function"==typeof e)return n(e);throw new Error("Expected function, string, or object as test")};function n(t){return function(n,...r){return Boolean(n&&"object"==typeof n&&"type"in n&&Boolean(t.call(this,n,...r)))}}function r(){return!0}export{t as convert};
|
|
2
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../../node_modules/mdast-util-definitions/node_modules/unist-util-is/lib/index.js"],"sourcesContent":["/**\n * @typedef {import('unist').Node} Node\n * @typedef {import('unist').Parent} Parent\n */\n\n/**\n * @typedef {Record<string, unknown>} Props\n * @typedef {null | undefined | string | Props | TestFunctionAnything | Array<string | Props | TestFunctionAnything>} Test\n * Check for an arbitrary node, unaware of TypeScript inferral.\n *\n * @callback TestFunctionAnything\n * Check if a node passes a test, unaware of TypeScript inferral.\n * @param {unknown} this\n * The given context.\n * @param {Node} node\n * A node.\n * @param {number | null | undefined} [index]\n * The node’s position in its parent.\n * @param {Parent | null | undefined} [parent]\n * The node’s parent.\n * @returns {boolean | void}\n * Whether this node passes the test.\n */\n\n/**\n * @template {Node} Kind\n * Node type.\n * @typedef {Kind['type'] | Partial<Kind> | TestFunctionPredicate<Kind> | Array<Kind['type'] | Partial<Kind> | TestFunctionPredicate<Kind>>} PredicateTest\n * Check for a node that can be inferred by TypeScript.\n */\n\n/**\n * Check if a node passes a certain test.\n *\n * @template {Node} Kind\n * Node type.\n * @callback TestFunctionPredicate\n * Complex test function for a node that can be inferred by TypeScript.\n * @param {Node} node\n * A node.\n * @param {number | null | undefined} [index]\n * The node’s position in its parent.\n * @param {Parent | null | undefined} [parent]\n * The node’s parent.\n * @returns {node is Kind}\n * Whether this node passes the test.\n */\n\n/**\n * @callback AssertAnything\n * Check that an arbitrary value is a node, unaware of TypeScript inferral.\n * @param {unknown} [node]\n * Anything (typically a node).\n * @param {number | null | undefined} [index]\n * The node’s position in its parent.\n * @param {Parent | null | undefined} [parent]\n * The node’s parent.\n * @returns {boolean}\n * Whether this is a node and passes a test.\n */\n\n/**\n * Check if a node is a node and passes a certain node test.\n *\n * @template {Node} Kind\n * Node type.\n * @callback AssertPredicate\n * Check that an arbitrary value is a specific node, aware of TypeScript.\n * @param {unknown} [node]\n * Anything (typically a node).\n * @param {number | null | undefined} [index]\n * The node’s position in its parent.\n * @param {Parent | null | undefined} [parent]\n * The node’s parent.\n * @returns {node is Kind}\n * Whether this is a node and passes a test.\n */\n\n/**\n * Check if `node` is a `Node` and whether it passes the given test.\n *\n * @param node\n * Thing to check, typically `Node`.\n * @param test\n * A check for a specific node.\n * @param index\n * The node’s position in its parent.\n * @param parent\n * The node’s parent.\n * @returns\n * Whether `node` is a node and passes a test.\n */\nexport const is =\n /**\n * @type {(\n * (() => false) &\n * (<Kind extends Node = Node>(node: unknown, test: PredicateTest<Kind>, index: number, parent: Parent, context?: unknown) => node is Kind) &\n * (<Kind extends Node = Node>(node: unknown, test: PredicateTest<Kind>, index?: null | undefined, parent?: null | undefined, context?: unknown) => node is Kind) &\n * ((node: unknown, test: Test, index: number, parent: Parent, context?: unknown) => boolean) &\n * ((node: unknown, test?: Test, index?: null | undefined, parent?: null | undefined, context?: unknown) => boolean)\n * )}\n */\n (\n /**\n * @param {unknown} [node]\n * @param {Test} [test]\n * @param {number | null | undefined} [index]\n * @param {Parent | null | undefined} [parent]\n * @param {unknown} [context]\n * @returns {boolean}\n */\n // eslint-disable-next-line max-params\n function is(node, test, index, parent, context) {\n const check = convert(test)\n\n if (\n index !== undefined &&\n index !== null &&\n (typeof index !== 'number' ||\n index < 0 ||\n index === Number.POSITIVE_INFINITY)\n ) {\n throw new Error('Expected positive finite index')\n }\n\n if (\n parent !== undefined &&\n parent !== null &&\n (!is(parent) || !parent.children)\n ) {\n throw new Error('Expected parent node')\n }\n\n if (\n (parent === undefined || parent === null) !==\n (index === undefined || index === null)\n ) {\n throw new Error('Expected both parent and index')\n }\n\n // @ts-expect-error Looks like a node.\n return node && node.type && typeof node.type === 'string'\n ? Boolean(check.call(context, node, index, parent))\n : false\n }\n )\n\n/**\n * Generate an assertion from a test.\n *\n * Useful if you’re going to test many nodes, for example when creating a\n * utility where something else passes a compatible test.\n *\n * The created function is a bit faster because it expects valid input only:\n * a `node`, `index`, and `parent`.\n *\n * @param test\n * * when nullish, checks if `node` is a `Node`.\n * * when `string`, works like passing `(node) => node.type === test`.\n * * when `function` checks if function passed the node is true.\n * * when `object`, checks that all keys in test are in node, and that they have (strictly) equal values.\n * * when `array`, checks if any one of the subtests pass.\n * @returns\n * An assertion.\n */\nexport const convert =\n /**\n * @type {(\n * (<Kind extends Node>(test: PredicateTest<Kind>) => AssertPredicate<Kind>) &\n * ((test?: Test) => AssertAnything)\n * )}\n */\n (\n /**\n * @param {Test} [test]\n * @returns {AssertAnything}\n */\n function (test) {\n if (test === undefined || test === null) {\n return ok\n }\n\n if (typeof test === 'string') {\n return typeFactory(test)\n }\n\n if (typeof test === 'object') {\n return Array.isArray(test) ? anyFactory(test) : propsFactory(test)\n }\n\n if (typeof test === 'function') {\n return castFactory(test)\n }\n\n throw new Error('Expected function, string, or object as test')\n }\n )\n\n/**\n * @param {Array<string | Props | TestFunctionAnything>} tests\n * @returns {AssertAnything}\n */\nfunction anyFactory(tests) {\n /** @type {Array<AssertAnything>} */\n const checks = []\n let index = -1\n\n while (++index < tests.length) {\n checks[index] = convert(tests[index])\n }\n\n return castFactory(any)\n\n /**\n * @this {unknown}\n * @param {Array<unknown>} parameters\n * @returns {boolean}\n */\n function any(...parameters) {\n let index = -1\n\n while (++index < checks.length) {\n if (checks[index].call(this, ...parameters)) return true\n }\n\n return false\n }\n}\n\n/**\n * Turn an object into a test for a node with a certain fields.\n *\n * @param {Props} check\n * @returns {AssertAnything}\n */\nfunction propsFactory(check) {\n return castFactory(all)\n\n /**\n * @param {Node} node\n * @returns {boolean}\n */\n function all(node) {\n /** @type {string} */\n let key\n\n for (key in check) {\n // @ts-expect-error: hush, it sure works as an index.\n if (node[key] !== check[key]) return false\n }\n\n return true\n }\n}\n\n/**\n * Turn a string into a test for a node with a certain type.\n *\n * @param {string} check\n * @returns {AssertAnything}\n */\nfunction typeFactory(check) {\n return castFactory(type)\n\n /**\n * @param {Node} node\n */\n function type(node) {\n return node && node.type === check\n }\n}\n\n/**\n * Turn a custom test into a test for a node that passes that test.\n *\n * @param {TestFunctionAnything} check\n * @returns {AssertAnything}\n */\nfunction castFactory(check) {\n return assertion\n\n /**\n * @this {unknown}\n * @param {unknown} node\n * @param {Array<unknown>} parameters\n * @returns {boolean}\n */\n function assertion(node, ...parameters) {\n return Boolean(\n node &&\n typeof node === 'object' &&\n 'type' in node &&\n // @ts-expect-error: fine.\n Boolean(check.call(this, node, ...parameters))\n )\n }\n}\n\nfunction ok() {\n return true\n}\n"],"names":["convert","test","ok","check","castFactory","type","node","typeFactory","Array","isArray","tests","checks","index","length","any","parameters","call","this","anyFactory","all","key","propsFactory","Error","Boolean"],"mappings":"AAqKY,MAACA,EAOb,SAKcC,GACR,GAAIA,QACF,OAAOC,EAGT,GAAoB,iBAATD,EACT,OA8ER,SAAqBE,GACnB,OAAOC,EAAYC,GAKnB,SAASA,EAAKC,GACZ,OAAOA,GAAQA,EAAKD,OAASF,CAC9B,CACH,CAvFeI,CAAYN,GAGrB,GAAoB,iBAATA,EACT,OAAOO,MAAMC,QAAQR,GAe7B,SAAoBS,GAElB,MAAMC,EAAS,GACf,IAAIC,GAAS,EAEb,OAASA,EAAQF,EAAMG,QACrBF,EAAOC,GAASZ,EAAQU,EAAME,IAGhC,OAAOR,EAAYU,GAOnB,SAASA,KAAOC,GACd,IAAIH,GAAS,EAEb,OAASA,EAAQD,EAAOE,QACtB,GAAIF,EAAOC,GAAOI,KAAKC,QAASF,GAAa,OAAO,EAGtD,OAAO,CACR,CACH,CAxCqCG,CAAWjB,GAgDhD,SAAsBE,GACpB,OAAOC,EAAYe,GAMnB,SAASA,EAAIb,GAEX,IAAIc,EAEJ,IAAKA,KAAOjB,EAEV,GAAIG,EAAKc,KAASjB,EAAMiB,GAAM,OAAO,EAGvC,OAAO,CACR,CACH,CAlEwDC,CAAapB,GAG/D,GAAoB,mBAATA,EACT,OAAOG,EAAYH,GAGrB,MAAM,IAAIqB,MAAM,+CAEnB,EAkFH,SAASlB,EAAYD,GACnB,OAQA,SAAmBG,KAASS,GAC1B,OAAOQ,QACLjB,GACkB,iBAATA,GACP,SAAUA,GAEViB,QAAQpB,EAAMa,KAAKC,KAAMX,KAASS,IAEvC,CACH,CAEA,SAASb,IACP,OAAO,CACT"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{visitParents as n}from"../../unist-util-visit-parents/lib/index.js";export{CONTINUE,EXIT,SKIP}from"../../unist-util-visit-parents/lib/index.js";const t=function(t,i,o,e){"function"==typeof i&&"function"!=typeof o&&(e=o,o=i,i=null),n(t,i,(function(n,t){const i=t[t.length-1];return o(n,i?i.children.indexOf(n):null,i)}),e)};export{t as visit};
|
|
2
|
+
//# sourceMappingURL=index.js.map
|
package/dist/node_modules/mdast-util-definitions/node_modules/unist-util-visit/lib/index.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../../node_modules/mdast-util-definitions/node_modules/unist-util-visit/lib/index.js"],"sourcesContent":["/**\n * @typedef {import('unist').Node} Node\n * @typedef {import('unist').Parent} Parent\n * @typedef {import('unist-util-is').Test} Test\n * @typedef {import('unist-util-visit-parents').VisitorResult} VisitorResult\n */\n\n/**\n * Check if `Child` can be a child of `Ancestor`.\n *\n * Returns the ancestor when `Child` can be a child of `Ancestor`, or returns\n * `never`.\n *\n * @template {Node} Ancestor\n * Node type.\n * @template {Node} Child\n * Node type.\n * @typedef {(\n * Ancestor extends Parent\n * ? Child extends Ancestor['children'][number]\n * ? Ancestor\n * : never\n * : never\n * )} ParentsOf\n */\n\n/**\n * @template {Node} [Visited=Node]\n * Visited node type.\n * @template {Parent} [Ancestor=Parent]\n * Ancestor type.\n * @callback Visitor\n * Handle a node (matching `test`, if given).\n *\n * Visitors are free to transform `node`.\n * They can also transform `parent`.\n *\n * Replacing `node` itself, if `SKIP` is not returned, still causes its\n * descendants to be walked (which is a bug).\n *\n * When adding or removing previous siblings of `node` (or next siblings, in\n * case of reverse), the `Visitor` should return a new `Index` to specify the\n * sibling to traverse after `node` is traversed.\n * Adding or removing next siblings of `node` (or previous siblings, in case\n * of reverse) is handled as expected without needing to return a new `Index`.\n *\n * Removing the children property of `parent` still results in them being\n * traversed.\n * @param {Visited} node\n * Found node.\n * @param {Visited extends Node ? number | null : never} index\n * Index of `node` in `parent`.\n * @param {Ancestor extends Node ? Ancestor | null : never} parent\n * Parent of `node`.\n * @returns {VisitorResult}\n * What to do next.\n *\n * An `Index` is treated as a tuple of `[CONTINUE, Index]`.\n * An `Action` is treated as a tuple of `[Action]`.\n *\n * Passing a tuple back only makes sense if the `Action` is `SKIP`.\n * When the `Action` is `EXIT`, that action can be returned.\n * When the `Action` is `CONTINUE`, `Index` can be returned.\n */\n\n/**\n * Build a typed `Visitor` function from a node and all possible parents.\n *\n * It will infer which values are passed as `node` and which as `parent`.\n *\n * @template {Node} Visited\n * Node type.\n * @template {Parent} Ancestor\n * Parent type.\n * @typedef {Visitor<Visited, ParentsOf<Ancestor, Visited>>} BuildVisitorFromMatch\n */\n\n/**\n * Build a typed `Visitor` function from a list of descendants and a test.\n *\n * It will infer which values are passed as `node` and which as `parent`.\n *\n * @template {Node} Descendant\n * Node type.\n * @template {Test} Check\n * Test type.\n * @typedef {(\n * BuildVisitorFromMatch<\n * import('unist-util-visit-parents/complex-types.js').Matches<Descendant, Check>,\n * Extract<Descendant, Parent>\n * >\n * )} BuildVisitorFromDescendants\n */\n\n/**\n * Build a typed `Visitor` function from a tree and a test.\n *\n * It will infer which values are passed as `node` and which as `parent`.\n *\n * @template {Node} [Tree=Node]\n * Node type.\n * @template {Test} [Check=string]\n * Test type.\n * @typedef {(\n * BuildVisitorFromDescendants<\n * import('unist-util-visit-parents/complex-types.js').InclusiveDescendant<Tree>,\n * Check\n * >\n * )} BuildVisitor\n */\n\nimport {visitParents} from 'unist-util-visit-parents'\n\n/**\n * Visit nodes.\n *\n * This algorithm performs *depth-first* *tree traversal* in *preorder*\n * (**NLR**) or if `reverse` is given, in *reverse preorder* (**NRL**).\n *\n * You can choose for which nodes `visitor` is called by passing a `test`.\n * For complex tests, you should test yourself in `visitor`, as it will be\n * faster and will have improved type information.\n *\n * Walking the tree is an intensive task.\n * Make use of the return values of the visitor when possible.\n * Instead of walking a tree multiple times, walk it once, use `unist-util-is`\n * to check if a node matches, and then perform different operations.\n *\n * You can change the tree.\n * See `Visitor` for more info.\n *\n * @param tree\n * Tree to traverse.\n * @param test\n * `unist-util-is`-compatible test\n * @param visitor\n * Handle each node.\n * @param reverse\n * Traverse in reverse preorder (NRL) instead of the default preorder (NLR).\n * @returns\n * Nothing.\n */\nexport const visit =\n /**\n * @type {(\n * (<Tree extends Node, Check extends Test>(tree: Tree, test: Check, visitor: BuildVisitor<Tree, Check>, reverse?: boolean | null | undefined) => void) &\n * (<Tree extends Node>(tree: Tree, visitor: BuildVisitor<Tree>, reverse?: boolean | null | undefined) => void)\n * )}\n */\n (\n /**\n * @param {Node} tree\n * @param {Test} test\n * @param {Visitor} visitor\n * @param {boolean | null | undefined} [reverse]\n * @returns {void}\n */\n function (tree, test, visitor, reverse) {\n if (typeof test === 'function' && typeof visitor !== 'function') {\n reverse = visitor\n visitor = test\n test = null\n }\n\n visitParents(tree, test, overload, reverse)\n\n /**\n * @param {Node} node\n * @param {Array<Parent>} parents\n */\n function overload(node, parents) {\n const parent = parents[parents.length - 1]\n return visitor(\n node,\n parent ? parent.children.indexOf(node) : null,\n parent\n )\n }\n }\n )\n\nexport {CONTINUE, EXIT, SKIP} from 'unist-util-visit-parents'\n"],"names":["visit","tree","test","visitor","reverse","visitParents","node","parents","parent","length","children","indexOf"],"mappings":"uJA8IY,MAACA,EAOb,SAQcC,EAAMC,EAAMC,EAASC,GACT,mBAATF,GAA0C,mBAAZC,IACvCC,EAAUD,EACVA,EAAUD,EACVA,EAAO,MAGTG,EAAaJ,EAAMC,GAMnB,SAAkBI,EAAMC,GACtB,MAAMC,EAASD,EAAQA,EAAQE,OAAS,GACxC,OAAON,EACLG,EACAE,EAASA,EAAOE,SAASC,QAAQL,GAAQ,KACzCE,EAEH,GAbkCJ,EAezC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"color.browser.js","sources":["../../../../../../node_modules/mdast-util-definitions/node_modules/unist-util-visit-parents/lib/color.browser.js"],"sourcesContent":["/**\n * @param {string} d\n * @returns {string}\n */\nexport function color(d) {\n return d\n}\n"],"names":["color","d"],"mappings":"AAIO,SAASA,EAAMC,GACpB,OAAOA,CACT"}
|
package/dist/node_modules/mdast-util-definitions/node_modules/unist-util-visit-parents/lib/index.js
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{convert as n}from"../../unist-util-is/lib/index.js";import{color as t}from"./color.browser.js";const e=!0,r=!1,o="skip",i=function(i,f,u,c){"function"==typeof f&&"function"!=typeof u&&(c=u,u=f,f=null);const l=n(f),p=c?-1:1;!function n(i,s,y){const a=i&&"object"==typeof i?i:{};if("string"==typeof a.type){const n="string"==typeof a.tagName?a.tagName:"string"==typeof a.name?a.name:void 0;Object.defineProperty(m,"name",{value:"node ("+t(i.type+(n?"<"+n+">":""))+")"})}return m;function m(){let t,a,m,d=[];if((!f||l(i,s,y[y.length-1]||null))&&(d=function(n){if(Array.isArray(n))return n;if("number"==typeof n)return[e,n];return[n]}(u(i,y)),d[0]===r))return d;if(i.children&&d[0]!==o)for(a=(c?i.children.length:-1)+p,m=y.concat(i);a>-1&&a<i.children.length;){if(t=n(i.children[a],a,m)(),t[0]===r)return t;a="number"==typeof t[1]?t[1]:a+p}return d}}(i,void 0,[])()};export{e as CONTINUE,r as EXIT,o as SKIP,i as visitParents};
|
|
2
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../../node_modules/mdast-util-definitions/node_modules/unist-util-visit-parents/lib/index.js"],"sourcesContent":["/**\n * @typedef {import('unist').Node} Node\n * @typedef {import('unist').Parent} Parent\n * @typedef {import('unist-util-is').Test} Test\n */\n\n/**\n * @typedef {boolean | 'skip'} Action\n * Union of the action types.\n *\n * @typedef {number} Index\n * Move to the sibling at `index` next (after node itself is completely\n * traversed).\n *\n * Useful if mutating the tree, such as removing the node the visitor is\n * currently on, or any of its previous siblings.\n * Results less than 0 or greater than or equal to `children.length` stop\n * traversing the parent.\n *\n * @typedef {[(Action | null | undefined | void)?, (Index | null | undefined)?]} ActionTuple\n * List with one or two values, the first an action, the second an index.\n *\n * @typedef {Action | ActionTuple | Index | null | undefined | void} VisitorResult\n * Any value that can be returned from a visitor.\n */\n\n/**\n * @template {Node} [Visited=Node]\n * Visited node type.\n * @template {Parent} [Ancestor=Parent]\n * Ancestor type.\n * @callback Visitor\n * Handle a node (matching `test`, if given).\n *\n * Visitors are free to transform `node`.\n * They can also transform the parent of node (the last of `ancestors`).\n *\n * Replacing `node` itself, if `SKIP` is not returned, still causes its\n * descendants to be walked (which is a bug).\n *\n * When adding or removing previous siblings of `node` (or next siblings, in\n * case of reverse), the `Visitor` should return a new `Index` to specify the\n * sibling to traverse after `node` is traversed.\n * Adding or removing next siblings of `node` (or previous siblings, in case\n * of reverse) is handled as expected without needing to return a new `Index`.\n *\n * Removing the children property of an ancestor still results in them being\n * traversed.\n * @param {Visited} node\n * Found node.\n * @param {Array<Ancestor>} ancestors\n * Ancestors of `node`.\n * @returns {VisitorResult}\n * What to do next.\n *\n * An `Index` is treated as a tuple of `[CONTINUE, Index]`.\n * An `Action` is treated as a tuple of `[Action]`.\n *\n * Passing a tuple back only makes sense if the `Action` is `SKIP`.\n * When the `Action` is `EXIT`, that action can be returned.\n * When the `Action` is `CONTINUE`, `Index` can be returned.\n */\n\n/**\n * @template {Node} [Tree=Node]\n * Tree type.\n * @template {Test} [Check=string]\n * Test type.\n * @typedef {Visitor<import('./complex-types.js').Matches<import('./complex-types.js').InclusiveDescendant<Tree>, Check>, Extract<import('./complex-types.js').InclusiveDescendant<Tree>, Parent>>} BuildVisitor\n * Build a typed `Visitor` function from a tree and a test.\n *\n * It will infer which values are passed as `node` and which as `parents`.\n */\n\nimport {convert} from 'unist-util-is'\nimport {color} from './color.js'\n\n/**\n * Continue traversing as normal.\n */\nexport const CONTINUE = true\n\n/**\n * Stop traversing immediately.\n */\nexport const EXIT = false\n\n/**\n * Do not traverse this node’s children.\n */\nexport const SKIP = 'skip'\n\n/**\n * Visit nodes, with ancestral information.\n *\n * This algorithm performs *depth-first* *tree traversal* in *preorder*\n * (**NLR**) or if `reverse` is given, in *reverse preorder* (**NRL**).\n *\n * You can choose for which nodes `visitor` is called by passing a `test`.\n * For complex tests, you should test yourself in `visitor`, as it will be\n * faster and will have improved type information.\n *\n * Walking the tree is an intensive task.\n * Make use of the return values of the visitor when possible.\n * Instead of walking a tree multiple times, walk it once, use `unist-util-is`\n * to check if a node matches, and then perform different operations.\n *\n * You can change the tree.\n * See `Visitor` for more info.\n *\n * @param tree\n * Tree to traverse.\n * @param test\n * `unist-util-is`-compatible test\n * @param visitor\n * Handle each node.\n * @param reverse\n * Traverse in reverse preorder (NRL) instead of the default preorder (NLR).\n * @returns\n * Nothing.\n */\nexport const visitParents =\n /**\n * @type {(\n * (<Tree extends Node, Check extends Test>(tree: Tree, test: Check, visitor: BuildVisitor<Tree, Check>, reverse?: boolean | null | undefined) => void) &\n * (<Tree extends Node>(tree: Tree, visitor: BuildVisitor<Tree>, reverse?: boolean | null | undefined) => void)\n * )}\n */\n (\n /**\n * @param {Node} tree\n * @param {Test} test\n * @param {Visitor<Node>} visitor\n * @param {boolean | null | undefined} [reverse]\n * @returns {void}\n */\n function (tree, test, visitor, reverse) {\n if (typeof test === 'function' && typeof visitor !== 'function') {\n reverse = visitor\n // @ts-expect-error no visitor given, so `visitor` is test.\n visitor = test\n test = null\n }\n\n const is = convert(test)\n const step = reverse ? -1 : 1\n\n factory(tree, undefined, [])()\n\n /**\n * @param {Node} node\n * @param {number | undefined} index\n * @param {Array<Parent>} parents\n */\n function factory(node, index, parents) {\n /** @type {Record<string, unknown>} */\n // @ts-expect-error: hush\n const value = node && typeof node === 'object' ? node : {}\n\n if (typeof value.type === 'string') {\n const name =\n // `hast`\n typeof value.tagName === 'string'\n ? value.tagName\n : // `xast`\n typeof value.name === 'string'\n ? value.name\n : undefined\n\n Object.defineProperty(visit, 'name', {\n value:\n 'node (' + color(node.type + (name ? '<' + name + '>' : '')) + ')'\n })\n }\n\n return visit\n\n function visit() {\n /** @type {ActionTuple} */\n let result = []\n /** @type {ActionTuple} */\n let subresult\n /** @type {number} */\n let offset\n /** @type {Array<Parent>} */\n let grandparents\n\n if (!test || is(node, index, parents[parents.length - 1] || null)) {\n result = toResult(visitor(node, parents))\n\n if (result[0] === EXIT) {\n return result\n }\n }\n\n // @ts-expect-error looks like a parent.\n if (node.children && result[0] !== SKIP) {\n // @ts-expect-error looks like a parent.\n offset = (reverse ? node.children.length : -1) + step\n // @ts-expect-error looks like a parent.\n grandparents = parents.concat(node)\n\n // @ts-expect-error looks like a parent.\n while (offset > -1 && offset < node.children.length) {\n // @ts-expect-error looks like a parent.\n subresult = factory(node.children[offset], offset, grandparents)()\n\n if (subresult[0] === EXIT) {\n return subresult\n }\n\n offset =\n typeof subresult[1] === 'number' ? subresult[1] : offset + step\n }\n }\n\n return result\n }\n }\n }\n )\n\n/**\n * Turn a return value into a clean result.\n *\n * @param {VisitorResult} value\n * Valid return values from visitors.\n * @returns {ActionTuple}\n * Clean result.\n */\nfunction toResult(value) {\n if (Array.isArray(value)) {\n return value\n }\n\n if (typeof value === 'number') {\n return [CONTINUE, value]\n }\n\n return [value]\n}\n"],"names":["CONTINUE","EXIT","SKIP","visitParents","tree","test","visitor","reverse","is","convert","step","factory","node","index","parents","value","type","name","tagName","undefined","Object","defineProperty","visit","color","subresult","offset","grandparents","result","length","Array","isArray","toResult","children","concat"],"mappings":"sGAgFY,MAACA,GAAW,EAKXC,GAAO,EAKPC,EAAO,OA+BPC,EAOb,SAQcC,EAAMC,EAAMC,EAASC,GACT,mBAATF,GAA0C,mBAAZC,IACvCC,EAAUD,EAEVA,EAAUD,EACVA,EAAO,MAGT,MAAMG,EAAKC,EAAQJ,GACbK,EAAOH,GAAW,EAAI,GAS5B,SAASI,EAAQC,EAAMC,EAAOC,GAG5B,MAAMC,EAAQH,GAAwB,iBAATA,EAAoBA,EAAO,CAAE,EAE1D,GAA0B,iBAAfG,EAAMC,KAAmB,CAClC,MAAMC,EAEqB,iBAAlBF,EAAMG,QACTH,EAAMG,QAEc,iBAAfH,EAAME,KACXF,EAAME,UACNE,EAENC,OAAOC,eAAeC,EAAO,OAAQ,CACnCP,MACE,SAAWQ,EAAMX,EAAKI,MAAQC,EAAO,IAAMA,EAAO,IAAM,KAAO,KAEpE,CAED,OAAOK,EAEP,SAASA,IAEP,IAEIE,EAEAC,EAEAC,EANAC,EAAS,GAQb,KAAKtB,GAAQG,EAAGI,EAAMC,EAAOC,EAAQA,EAAQc,OAAS,IAAM,SAC1DD,EA0CZ,SAAkBZ,GAChB,GAAIc,MAAMC,QAAQf,GAChB,OAAOA,EAGT,GAAqB,iBAAVA,EACT,MAAO,CAACf,EAAUe,GAGpB,MAAO,CAACA,EACV,CApDqBgB,CAASzB,EAAQM,EAAME,IAE5Ba,EAAO,KAAO1B,GAChB,OAAO0B,EAKX,GAAIf,EAAKoB,UAAYL,EAAO,KAAOzB,EAOjC,IALAuB,GAAUlB,EAAUK,EAAKoB,SAASJ,QAAU,GAAKlB,EAEjDgB,EAAeZ,EAAQmB,OAAOrB,GAGvBa,GAAU,GAAKA,EAASb,EAAKoB,SAASJ,QAAQ,CAInD,GAFAJ,EAAYb,EAAQC,EAAKoB,SAASP,GAASA,EAAQC,EAAvCf,GAERa,EAAU,KAAOvB,EACnB,OAAOuB,EAGTC,EAC0B,iBAAjBD,EAAU,GAAkBA,EAAU,GAAKC,EAASf,CAC9D,CAGH,OAAOiB,CACR,CACF,CAvEDhB,CAAQP,OAAMe,EAAW,GAAzBR,EAyEH"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
const t=function(e){if(null==e)return r;if("string"==typeof e)return function(t){return n(r);function r(n){return n&&n.type===t}}(e);if("object"==typeof e)return Array.isArray(e)?function(r){const e=[];let o=-1;for(;++o<r.length;)e[o]=t(r[o]);return n(u);function u(...t){let n=-1;for(;++n<e.length;)if(e[n].call(this,...t))return!0;return!1}}(e):function(t){return n(r);function r(n){let r;for(r in t)if(n[r]!==t[r])return!1;return!0}}(e);if("function"==typeof e)return n(e);throw new Error("Expected function, string, or object as test")};function n(t){return function(n,...r){return Boolean(n&&"object"==typeof n&&"type"in n&&Boolean(t.call(this,n,...r)))}}function r(){return!0}export{t as convert};
|
|
2
|
+
//# sourceMappingURL=index.js.map
|
package/dist/node_modules/mdast-util-find-and-replace/node_modules/unist-util-is/lib/index.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../../node_modules/mdast-util-find-and-replace/node_modules/unist-util-is/lib/index.js"],"sourcesContent":["/**\n * @typedef {import('unist').Node} Node\n * @typedef {import('unist').Parent} Parent\n */\n\n/**\n * @typedef {Record<string, unknown>} Props\n * @typedef {null | undefined | string | Props | TestFunctionAnything | Array<string | Props | TestFunctionAnything>} Test\n * Check for an arbitrary node, unaware of TypeScript inferral.\n *\n * @callback TestFunctionAnything\n * Check if a node passes a test, unaware of TypeScript inferral.\n * @param {unknown} this\n * The given context.\n * @param {Node} node\n * A node.\n * @param {number | null | undefined} [index]\n * The node’s position in its parent.\n * @param {Parent | null | undefined} [parent]\n * The node’s parent.\n * @returns {boolean | void}\n * Whether this node passes the test.\n */\n\n/**\n * @template {Node} Kind\n * Node type.\n * @typedef {Kind['type'] | Partial<Kind> | TestFunctionPredicate<Kind> | Array<Kind['type'] | Partial<Kind> | TestFunctionPredicate<Kind>>} PredicateTest\n * Check for a node that can be inferred by TypeScript.\n */\n\n/**\n * Check if a node passes a certain test.\n *\n * @template {Node} Kind\n * Node type.\n * @callback TestFunctionPredicate\n * Complex test function for a node that can be inferred by TypeScript.\n * @param {Node} node\n * A node.\n * @param {number | null | undefined} [index]\n * The node’s position in its parent.\n * @param {Parent | null | undefined} [parent]\n * The node’s parent.\n * @returns {node is Kind}\n * Whether this node passes the test.\n */\n\n/**\n * @callback AssertAnything\n * Check that an arbitrary value is a node, unaware of TypeScript inferral.\n * @param {unknown} [node]\n * Anything (typically a node).\n * @param {number | null | undefined} [index]\n * The node’s position in its parent.\n * @param {Parent | null | undefined} [parent]\n * The node’s parent.\n * @returns {boolean}\n * Whether this is a node and passes a test.\n */\n\n/**\n * Check if a node is a node and passes a certain node test.\n *\n * @template {Node} Kind\n * Node type.\n * @callback AssertPredicate\n * Check that an arbitrary value is a specific node, aware of TypeScript.\n * @param {unknown} [node]\n * Anything (typically a node).\n * @param {number | null | undefined} [index]\n * The node’s position in its parent.\n * @param {Parent | null | undefined} [parent]\n * The node’s parent.\n * @returns {node is Kind}\n * Whether this is a node and passes a test.\n */\n\n/**\n * Check if `node` is a `Node` and whether it passes the given test.\n *\n * @param node\n * Thing to check, typically `Node`.\n * @param test\n * A check for a specific node.\n * @param index\n * The node’s position in its parent.\n * @param parent\n * The node’s parent.\n * @returns\n * Whether `node` is a node and passes a test.\n */\nexport const is =\n /**\n * @type {(\n * (() => false) &\n * (<Kind extends Node = Node>(node: unknown, test: PredicateTest<Kind>, index: number, parent: Parent, context?: unknown) => node is Kind) &\n * (<Kind extends Node = Node>(node: unknown, test: PredicateTest<Kind>, index?: null | undefined, parent?: null | undefined, context?: unknown) => node is Kind) &\n * ((node: unknown, test: Test, index: number, parent: Parent, context?: unknown) => boolean) &\n * ((node: unknown, test?: Test, index?: null | undefined, parent?: null | undefined, context?: unknown) => boolean)\n * )}\n */\n (\n /**\n * @param {unknown} [node]\n * @param {Test} [test]\n * @param {number | null | undefined} [index]\n * @param {Parent | null | undefined} [parent]\n * @param {unknown} [context]\n * @returns {boolean}\n */\n // eslint-disable-next-line max-params\n function is(node, test, index, parent, context) {\n const check = convert(test)\n\n if (\n index !== undefined &&\n index !== null &&\n (typeof index !== 'number' ||\n index < 0 ||\n index === Number.POSITIVE_INFINITY)\n ) {\n throw new Error('Expected positive finite index')\n }\n\n if (\n parent !== undefined &&\n parent !== null &&\n (!is(parent) || !parent.children)\n ) {\n throw new Error('Expected parent node')\n }\n\n if (\n (parent === undefined || parent === null) !==\n (index === undefined || index === null)\n ) {\n throw new Error('Expected both parent and index')\n }\n\n // @ts-expect-error Looks like a node.\n return node && node.type && typeof node.type === 'string'\n ? Boolean(check.call(context, node, index, parent))\n : false\n }\n )\n\n/**\n * Generate an assertion from a test.\n *\n * Useful if you’re going to test many nodes, for example when creating a\n * utility where something else passes a compatible test.\n *\n * The created function is a bit faster because it expects valid input only:\n * a `node`, `index`, and `parent`.\n *\n * @param test\n * * when nullish, checks if `node` is a `Node`.\n * * when `string`, works like passing `(node) => node.type === test`.\n * * when `function` checks if function passed the node is true.\n * * when `object`, checks that all keys in test are in node, and that they have (strictly) equal values.\n * * when `array`, checks if any one of the subtests pass.\n * @returns\n * An assertion.\n */\nexport const convert =\n /**\n * @type {(\n * (<Kind extends Node>(test: PredicateTest<Kind>) => AssertPredicate<Kind>) &\n * ((test?: Test) => AssertAnything)\n * )}\n */\n (\n /**\n * @param {Test} [test]\n * @returns {AssertAnything}\n */\n function (test) {\n if (test === undefined || test === null) {\n return ok\n }\n\n if (typeof test === 'string') {\n return typeFactory(test)\n }\n\n if (typeof test === 'object') {\n return Array.isArray(test) ? anyFactory(test) : propsFactory(test)\n }\n\n if (typeof test === 'function') {\n return castFactory(test)\n }\n\n throw new Error('Expected function, string, or object as test')\n }\n )\n\n/**\n * @param {Array<string | Props | TestFunctionAnything>} tests\n * @returns {AssertAnything}\n */\nfunction anyFactory(tests) {\n /** @type {Array<AssertAnything>} */\n const checks = []\n let index = -1\n\n while (++index < tests.length) {\n checks[index] = convert(tests[index])\n }\n\n return castFactory(any)\n\n /**\n * @this {unknown}\n * @param {Array<unknown>} parameters\n * @returns {boolean}\n */\n function any(...parameters) {\n let index = -1\n\n while (++index < checks.length) {\n if (checks[index].call(this, ...parameters)) return true\n }\n\n return false\n }\n}\n\n/**\n * Turn an object into a test for a node with a certain fields.\n *\n * @param {Props} check\n * @returns {AssertAnything}\n */\nfunction propsFactory(check) {\n return castFactory(all)\n\n /**\n * @param {Node} node\n * @returns {boolean}\n */\n function all(node) {\n /** @type {string} */\n let key\n\n for (key in check) {\n // @ts-expect-error: hush, it sure works as an index.\n if (node[key] !== check[key]) return false\n }\n\n return true\n }\n}\n\n/**\n * Turn a string into a test for a node with a certain type.\n *\n * @param {string} check\n * @returns {AssertAnything}\n */\nfunction typeFactory(check) {\n return castFactory(type)\n\n /**\n * @param {Node} node\n */\n function type(node) {\n return node && node.type === check\n }\n}\n\n/**\n * Turn a custom test into a test for a node that passes that test.\n *\n * @param {TestFunctionAnything} check\n * @returns {AssertAnything}\n */\nfunction castFactory(check) {\n return assertion\n\n /**\n * @this {unknown}\n * @param {unknown} node\n * @param {Array<unknown>} parameters\n * @returns {boolean}\n */\n function assertion(node, ...parameters) {\n return Boolean(\n node &&\n typeof node === 'object' &&\n 'type' in node &&\n // @ts-expect-error: fine.\n Boolean(check.call(this, node, ...parameters))\n )\n }\n}\n\nfunction ok() {\n return true\n}\n"],"names":["convert","test","ok","check","castFactory","type","node","typeFactory","Array","isArray","tests","checks","index","length","any","parameters","call","this","anyFactory","all","key","propsFactory","Error","Boolean"],"mappings":"AAqKY,MAACA,EAOb,SAKcC,GACR,GAAIA,QACF,OAAOC,EAGT,GAAoB,iBAATD,EACT,OA8ER,SAAqBE,GACnB,OAAOC,EAAYC,GAKnB,SAASA,EAAKC,GACZ,OAAOA,GAAQA,EAAKD,OAASF,CAC9B,CACH,CAvFeI,CAAYN,GAGrB,GAAoB,iBAATA,EACT,OAAOO,MAAMC,QAAQR,GAe7B,SAAoBS,GAElB,MAAMC,EAAS,GACf,IAAIC,GAAS,EAEb,OAASA,EAAQF,EAAMG,QACrBF,EAAOC,GAASZ,EAAQU,EAAME,IAGhC,OAAOR,EAAYU,GAOnB,SAASA,KAAOC,GACd,IAAIH,GAAS,EAEb,OAASA,EAAQD,EAAOE,QACtB,GAAIF,EAAOC,GAAOI,KAAKC,QAASF,GAAa,OAAO,EAGtD,OAAO,CACR,CACH,CAxCqCG,CAAWjB,GAgDhD,SAAsBE,GACpB,OAAOC,EAAYe,GAMnB,SAASA,EAAIb,GAEX,IAAIc,EAEJ,IAAKA,KAAOjB,EAEV,GAAIG,EAAKc,KAASjB,EAAMiB,GAAM,OAAO,EAGvC,OAAO,CACR,CACH,CAlEwDC,CAAapB,GAG/D,GAAoB,mBAATA,EACT,OAAOG,EAAYH,GAGrB,MAAM,IAAIqB,MAAM,+CAEnB,EAkFH,SAASlB,EAAYD,GACnB,OAQA,SAAmBG,KAASS,GAC1B,OAAOQ,QACLjB,GACkB,iBAATA,GACP,SAAUA,GAEViB,QAAQpB,EAAMa,KAAKC,KAAMX,KAASS,IAEvC,CACH,CAEA,SAASb,IACP,OAAO,CACT"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"color.browser.js","sources":["../../../../../../node_modules/mdast-util-find-and-replace/node_modules/unist-util-visit-parents/lib/color.browser.js"],"sourcesContent":["/**\n * @param {string} d\n * @returns {string}\n */\nexport function color(d) {\n return d\n}\n"],"names":["color","d"],"mappings":"AAIO,SAASA,EAAMC,GACpB,OAAOA,CACT"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{convert as n}from"../../unist-util-is/lib/index.js";import{color as t}from"./color.browser.js";const e=!0,r=!1,o="skip",i=function(i,f,u,c){"function"==typeof f&&"function"!=typeof u&&(c=u,u=f,f=null);const l=n(f),p=c?-1:1;!function n(i,s,y){const a=i&&"object"==typeof i?i:{};if("string"==typeof a.type){const n="string"==typeof a.tagName?a.tagName:"string"==typeof a.name?a.name:void 0;Object.defineProperty(m,"name",{value:"node ("+t(i.type+(n?"<"+n+">":""))+")"})}return m;function m(){let t,a,m,d=[];if((!f||l(i,s,y[y.length-1]||null))&&(d=function(n){if(Array.isArray(n))return n;if("number"==typeof n)return[e,n];return[n]}(u(i,y)),d[0]===r))return d;if(i.children&&d[0]!==o)for(a=(c?i.children.length:-1)+p,m=y.concat(i);a>-1&&a<i.children.length;){if(t=n(i.children[a],a,m)(),t[0]===r)return t;a="number"==typeof t[1]?t[1]:a+p}return d}}(i,void 0,[])()};export{e as CONTINUE,r as EXIT,o as SKIP,i as visitParents};
|
|
2
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../../node_modules/mdast-util-find-and-replace/node_modules/unist-util-visit-parents/lib/index.js"],"sourcesContent":["/**\n * @typedef {import('unist').Node} Node\n * @typedef {import('unist').Parent} Parent\n * @typedef {import('unist-util-is').Test} Test\n */\n\n/**\n * @typedef {boolean | 'skip'} Action\n * Union of the action types.\n *\n * @typedef {number} Index\n * Move to the sibling at `index` next (after node itself is completely\n * traversed).\n *\n * Useful if mutating the tree, such as removing the node the visitor is\n * currently on, or any of its previous siblings.\n * Results less than 0 or greater than or equal to `children.length` stop\n * traversing the parent.\n *\n * @typedef {[(Action | null | undefined | void)?, (Index | null | undefined)?]} ActionTuple\n * List with one or two values, the first an action, the second an index.\n *\n * @typedef {Action | ActionTuple | Index | null | undefined | void} VisitorResult\n * Any value that can be returned from a visitor.\n */\n\n/**\n * @template {Node} [Visited=Node]\n * Visited node type.\n * @template {Parent} [Ancestor=Parent]\n * Ancestor type.\n * @callback Visitor\n * Handle a node (matching `test`, if given).\n *\n * Visitors are free to transform `node`.\n * They can also transform the parent of node (the last of `ancestors`).\n *\n * Replacing `node` itself, if `SKIP` is not returned, still causes its\n * descendants to be walked (which is a bug).\n *\n * When adding or removing previous siblings of `node` (or next siblings, in\n * case of reverse), the `Visitor` should return a new `Index` to specify the\n * sibling to traverse after `node` is traversed.\n * Adding or removing next siblings of `node` (or previous siblings, in case\n * of reverse) is handled as expected without needing to return a new `Index`.\n *\n * Removing the children property of an ancestor still results in them being\n * traversed.\n * @param {Visited} node\n * Found node.\n * @param {Array<Ancestor>} ancestors\n * Ancestors of `node`.\n * @returns {VisitorResult}\n * What to do next.\n *\n * An `Index` is treated as a tuple of `[CONTINUE, Index]`.\n * An `Action` is treated as a tuple of `[Action]`.\n *\n * Passing a tuple back only makes sense if the `Action` is `SKIP`.\n * When the `Action` is `EXIT`, that action can be returned.\n * When the `Action` is `CONTINUE`, `Index` can be returned.\n */\n\n/**\n * @template {Node} [Tree=Node]\n * Tree type.\n * @template {Test} [Check=string]\n * Test type.\n * @typedef {Visitor<import('./complex-types.js').Matches<import('./complex-types.js').InclusiveDescendant<Tree>, Check>, Extract<import('./complex-types.js').InclusiveDescendant<Tree>, Parent>>} BuildVisitor\n * Build a typed `Visitor` function from a tree and a test.\n *\n * It will infer which values are passed as `node` and which as `parents`.\n */\n\nimport {convert} from 'unist-util-is'\nimport {color} from './color.js'\n\n/**\n * Continue traversing as normal.\n */\nexport const CONTINUE = true\n\n/**\n * Stop traversing immediately.\n */\nexport const EXIT = false\n\n/**\n * Do not traverse this node’s children.\n */\nexport const SKIP = 'skip'\n\n/**\n * Visit nodes, with ancestral information.\n *\n * This algorithm performs *depth-first* *tree traversal* in *preorder*\n * (**NLR**) or if `reverse` is given, in *reverse preorder* (**NRL**).\n *\n * You can choose for which nodes `visitor` is called by passing a `test`.\n * For complex tests, you should test yourself in `visitor`, as it will be\n * faster and will have improved type information.\n *\n * Walking the tree is an intensive task.\n * Make use of the return values of the visitor when possible.\n * Instead of walking a tree multiple times, walk it once, use `unist-util-is`\n * to check if a node matches, and then perform different operations.\n *\n * You can change the tree.\n * See `Visitor` for more info.\n *\n * @param tree\n * Tree to traverse.\n * @param test\n * `unist-util-is`-compatible test\n * @param visitor\n * Handle each node.\n * @param reverse\n * Traverse in reverse preorder (NRL) instead of the default preorder (NLR).\n * @returns\n * Nothing.\n */\nexport const visitParents =\n /**\n * @type {(\n * (<Tree extends Node, Check extends Test>(tree: Tree, test: Check, visitor: BuildVisitor<Tree, Check>, reverse?: boolean | null | undefined) => void) &\n * (<Tree extends Node>(tree: Tree, visitor: BuildVisitor<Tree>, reverse?: boolean | null | undefined) => void)\n * )}\n */\n (\n /**\n * @param {Node} tree\n * @param {Test} test\n * @param {Visitor<Node>} visitor\n * @param {boolean | null | undefined} [reverse]\n * @returns {void}\n */\n function (tree, test, visitor, reverse) {\n if (typeof test === 'function' && typeof visitor !== 'function') {\n reverse = visitor\n // @ts-expect-error no visitor given, so `visitor` is test.\n visitor = test\n test = null\n }\n\n const is = convert(test)\n const step = reverse ? -1 : 1\n\n factory(tree, undefined, [])()\n\n /**\n * @param {Node} node\n * @param {number | undefined} index\n * @param {Array<Parent>} parents\n */\n function factory(node, index, parents) {\n /** @type {Record<string, unknown>} */\n // @ts-expect-error: hush\n const value = node && typeof node === 'object' ? node : {}\n\n if (typeof value.type === 'string') {\n const name =\n // `hast`\n typeof value.tagName === 'string'\n ? value.tagName\n : // `xast`\n typeof value.name === 'string'\n ? value.name\n : undefined\n\n Object.defineProperty(visit, 'name', {\n value:\n 'node (' + color(node.type + (name ? '<' + name + '>' : '')) + ')'\n })\n }\n\n return visit\n\n function visit() {\n /** @type {ActionTuple} */\n let result = []\n /** @type {ActionTuple} */\n let subresult\n /** @type {number} */\n let offset\n /** @type {Array<Parent>} */\n let grandparents\n\n if (!test || is(node, index, parents[parents.length - 1] || null)) {\n result = toResult(visitor(node, parents))\n\n if (result[0] === EXIT) {\n return result\n }\n }\n\n // @ts-expect-error looks like a parent.\n if (node.children && result[0] !== SKIP) {\n // @ts-expect-error looks like a parent.\n offset = (reverse ? node.children.length : -1) + step\n // @ts-expect-error looks like a parent.\n grandparents = parents.concat(node)\n\n // @ts-expect-error looks like a parent.\n while (offset > -1 && offset < node.children.length) {\n // @ts-expect-error looks like a parent.\n subresult = factory(node.children[offset], offset, grandparents)()\n\n if (subresult[0] === EXIT) {\n return subresult\n }\n\n offset =\n typeof subresult[1] === 'number' ? subresult[1] : offset + step\n }\n }\n\n return result\n }\n }\n }\n )\n\n/**\n * Turn a return value into a clean result.\n *\n * @param {VisitorResult} value\n * Valid return values from visitors.\n * @returns {ActionTuple}\n * Clean result.\n */\nfunction toResult(value) {\n if (Array.isArray(value)) {\n return value\n }\n\n if (typeof value === 'number') {\n return [CONTINUE, value]\n }\n\n return [value]\n}\n"],"names":["CONTINUE","EXIT","SKIP","visitParents","tree","test","visitor","reverse","is","convert","step","factory","node","index","parents","value","type","name","tagName","undefined","Object","defineProperty","visit","color","subresult","offset","grandparents","result","length","Array","isArray","toResult","children","concat"],"mappings":"sGAgFY,MAACA,GAAW,EAKXC,GAAO,EAKPC,EAAO,OA+BPC,EAOb,SAQcC,EAAMC,EAAMC,EAASC,GACT,mBAATF,GAA0C,mBAAZC,IACvCC,EAAUD,EAEVA,EAAUD,EACVA,EAAO,MAGT,MAAMG,EAAKC,EAAQJ,GACbK,EAAOH,GAAW,EAAI,GAS5B,SAASI,EAAQC,EAAMC,EAAOC,GAG5B,MAAMC,EAAQH,GAAwB,iBAATA,EAAoBA,EAAO,CAAE,EAE1D,GAA0B,iBAAfG,EAAMC,KAAmB,CAClC,MAAMC,EAEqB,iBAAlBF,EAAMG,QACTH,EAAMG,QAEc,iBAAfH,EAAME,KACXF,EAAME,UACNE,EAENC,OAAOC,eAAeC,EAAO,OAAQ,CACnCP,MACE,SAAWQ,EAAMX,EAAKI,MAAQC,EAAO,IAAMA,EAAO,IAAM,KAAO,KAEpE,CAED,OAAOK,EAEP,SAASA,IAEP,IAEIE,EAEAC,EAEAC,EANAC,EAAS,GAQb,KAAKtB,GAAQG,EAAGI,EAAMC,EAAOC,EAAQA,EAAQc,OAAS,IAAM,SAC1DD,EA0CZ,SAAkBZ,GAChB,GAAIc,MAAMC,QAAQf,GAChB,OAAOA,EAGT,GAAqB,iBAAVA,EACT,MAAO,CAACf,EAAUe,GAGpB,MAAO,CAACA,EACV,CApDqBgB,CAASzB,EAAQM,EAAME,IAE5Ba,EAAO,KAAO1B,GAChB,OAAO0B,EAKX,GAAIf,EAAKoB,UAAYL,EAAO,KAAOzB,EAOjC,IALAuB,GAAUlB,EAAUK,EAAKoB,SAASJ,QAAU,GAAKlB,EAEjDgB,EAAeZ,EAAQmB,OAAOrB,GAGvBa,GAAU,GAAKA,EAASb,EAAKoB,SAASJ,QAAQ,CAInD,GAFAJ,EAAYb,EAAQC,EAAKoB,SAASP,GAASA,EAAQC,EAAvCf,GAERa,EAAU,KAAOvB,EACnB,OAAOuB,EAGTC,EAC0B,iBAAjBD,EAAU,GAAkBA,EAAU,GAAKC,EAASf,CAC9D,CAGH,OAAOiB,CACR,CACF,CAvEDhB,CAAQP,OAAMe,EAAW,GAAzBR,EAyEH"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
function n(n){return n&&"object"==typeof n?"position"in n||"type"in n?i(n.position):"start"in n||"end"in n?i(n):"line"in n||"column"in n?t(n):"":""}function t(n){return e(n&&n.line)+":"+e(n&&n.column)}function i(n){return t(n&&n.start)+"-"+t(n&&n.end)}function e(n){return n&&"number"==typeof n?n:1}export{n as stringifyPosition};
|
|
2
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../../node_modules/mdast-util-from-markdown/node_modules/unist-util-stringify-position/lib/index.js"],"sourcesContent":["/**\n * @typedef {import('unist').Node} Node\n * @typedef {import('unist').Point} Point\n * @typedef {import('unist').Position} Position\n */\n\n/**\n * @typedef NodeLike\n * @property {string} type\n * @property {PositionLike | null | undefined} [position]\n *\n * @typedef PositionLike\n * @property {PointLike | null | undefined} [start]\n * @property {PointLike | null | undefined} [end]\n *\n * @typedef PointLike\n * @property {number | null | undefined} [line]\n * @property {number | null | undefined} [column]\n * @property {number | null | undefined} [offset]\n */\n\n/**\n * Serialize the positional info of a point, position (start and end points),\n * or node.\n *\n * @param {Node | NodeLike | Position | PositionLike | Point | PointLike | null | undefined} [value]\n * Node, position, or point.\n * @returns {string}\n * Pretty printed positional info of a node (`string`).\n *\n * In the format of a range `ls:cs-le:ce` (when given `node` or `position`)\n * or a point `l:c` (when given `point`), where `l` stands for line, `c` for\n * column, `s` for `start`, and `e` for end.\n * An empty string (`''`) is returned if the given value is neither `node`,\n * `position`, nor `point`.\n */\nexport function stringifyPosition(value) {\n // Nothing.\n if (!value || typeof value !== 'object') {\n return ''\n }\n\n // Node.\n if ('position' in value || 'type' in value) {\n return position(value.position)\n }\n\n // Position.\n if ('start' in value || 'end' in value) {\n return position(value)\n }\n\n // Point.\n if ('line' in value || 'column' in value) {\n return point(value)\n }\n\n // ?\n return ''\n}\n\n/**\n * @param {Point | PointLike | null | undefined} point\n * @returns {string}\n */\nfunction point(point) {\n return index(point && point.line) + ':' + index(point && point.column)\n}\n\n/**\n * @param {Position | PositionLike | null | undefined} pos\n * @returns {string}\n */\nfunction position(pos) {\n return point(pos && pos.start) + '-' + point(pos && pos.end)\n}\n\n/**\n * @param {number | null | undefined} value\n * @returns {number}\n */\nfunction index(value) {\n return value && typeof value === 'number' ? value : 1\n}\n"],"names":["stringifyPosition","value","position","point","index","line","column","pos","start","end"],"mappings":"AAoCO,SAASA,EAAkBC,GAEhC,OAAKA,GAA0B,iBAAVA,EAKjB,aAAcA,GAAS,SAAUA,EAC5BC,EAASD,EAAMC,UAIpB,UAAWD,GAAS,QAASA,EACxBC,EAASD,GAId,SAAUA,GAAS,WAAYA,EAC1BE,EAAMF,GAIR,GAnBE,EAoBX,CAMA,SAASE,EAAMA,GACb,OAAOC,EAAMD,GAASA,EAAME,MAAQ,IAAMD,EAAMD,GAASA,EAAMG,OACjE,CAMA,SAASJ,EAASK,GAChB,OAAOJ,EAAMI,GAAOA,EAAIC,OAAS,IAAML,EAAMI,GAAOA,EAAIE,IAC1D,CAMA,SAASL,EAAMH,GACb,OAAOA,GAA0B,iBAAVA,EAAqBA,EAAQ,CACtD"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{normalizeUri as e}from"../node_modules/micromark-util-sanitize-uri/index.js";function t(t){const o=[];let n=-1;for(;++n<t.footnoteOrder.length;){const a=t.footnoteById[t.footnoteOrder[n]];if(!a)continue;const r=t.all(a),l=String(a.identifier).toUpperCase(),i=e(l.toLowerCase());let p=0;const s=[];for(;++p<=t.footnoteCounts[l];){const e={type:"element",tagName:"a",properties:{href:"#"+t.clobberPrefix+"fnref-"+i+(p>1?"-"+p:""),dataFootnoteBackref:!0,className:["data-footnote-backref"],ariaLabel:t.footnoteBackLabel},children:[{type:"text",value:"↩"}]};p>1&&e.children.push({type:"element",tagName:"sup",children:[{type:"text",value:String(p)}]}),s.length>0&&s.push({type:"text",value:" "}),s.push(e)}const c=r[r.length-1];if(c&&"element"===c.type&&"p"===c.tagName){const e=c.children[c.children.length-1];e&&"text"===e.type?e.value+=" ":c.children.push({type:"text",value:" "}),c.children.push(...s)}else r.push(...s);const f={type:"element",tagName:"li",properties:{id:t.clobberPrefix+"fn-"+i},children:t.wrap(r,!0)};t.patch(a,f),o.push(f)}if(0!==o.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:t.footnoteLabelTagName,properties:{...JSON.parse(JSON.stringify(t.footnoteLabelProperties)),id:"footnote-label"},children:[{type:"text",value:t.footnoteLabel}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:t.wrap(o,!0)},{type:"text",value:"\n"}]}}export{t as footer};
|
|
2
|
+
//# sourceMappingURL=footer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"footer.js","sources":["../../../../node_modules/mdast-util-to-hast/lib/footer.js"],"sourcesContent":["/**\n * @typedef {import('hast').Element} Element\n * @typedef {import('hast').ElementContent} ElementContent\n *\n * @typedef {import('./state.js').State} State\n */\n\nimport {normalizeUri} from 'micromark-util-sanitize-uri'\n\n/**\n * Generate a hast footer for called footnote definitions.\n *\n * @param {State} state\n * Info passed around.\n * @returns {Element | undefined}\n * `section` element or `undefined`.\n */\nexport function footer(state) {\n /** @type {Array<ElementContent>} */\n const listItems = []\n let index = -1\n\n while (++index < state.footnoteOrder.length) {\n const def = state.footnoteById[state.footnoteOrder[index]]\n\n if (!def) {\n continue\n }\n\n const content = state.all(def)\n const id = String(def.identifier).toUpperCase()\n const safeId = normalizeUri(id.toLowerCase())\n let referenceIndex = 0\n /** @type {Array<ElementContent>} */\n const backReferences = []\n\n while (++referenceIndex <= state.footnoteCounts[id]) {\n /** @type {Element} */\n const backReference = {\n type: 'element',\n tagName: 'a',\n properties: {\n href:\n '#' +\n state.clobberPrefix +\n 'fnref-' +\n safeId +\n (referenceIndex > 1 ? '-' + referenceIndex : ''),\n dataFootnoteBackref: true,\n className: ['data-footnote-backref'],\n ariaLabel: state.footnoteBackLabel\n },\n children: [{type: 'text', value: '↩'}]\n }\n\n if (referenceIndex > 1) {\n backReference.children.push({\n type: 'element',\n tagName: 'sup',\n children: [{type: 'text', value: String(referenceIndex)}]\n })\n }\n\n if (backReferences.length > 0) {\n backReferences.push({type: 'text', value: ' '})\n }\n\n backReferences.push(backReference)\n }\n\n const tail = content[content.length - 1]\n\n if (tail && tail.type === 'element' && tail.tagName === 'p') {\n const tailTail = tail.children[tail.children.length - 1]\n if (tailTail && tailTail.type === 'text') {\n tailTail.value += ' '\n } else {\n tail.children.push({type: 'text', value: ' '})\n }\n\n tail.children.push(...backReferences)\n } else {\n content.push(...backReferences)\n }\n\n /** @type {Element} */\n const listItem = {\n type: 'element',\n tagName: 'li',\n properties: {id: state.clobberPrefix + 'fn-' + safeId},\n children: state.wrap(content, true)\n }\n\n state.patch(def, listItem)\n\n listItems.push(listItem)\n }\n\n if (listItems.length === 0) {\n return\n }\n\n return {\n type: 'element',\n tagName: 'section',\n properties: {dataFootnotes: true, className: ['footnotes']},\n children: [\n {\n type: 'element',\n tagName: state.footnoteLabelTagName,\n properties: {\n // To do: use structured clone.\n ...JSON.parse(JSON.stringify(state.footnoteLabelProperties)),\n id: 'footnote-label'\n },\n children: [{type: 'text', value: state.footnoteLabel}]\n },\n {type: 'text', value: '\\n'},\n {\n type: 'element',\n tagName: 'ol',\n properties: {},\n children: state.wrap(listItems, true)\n },\n {type: 'text', value: '\\n'}\n ]\n }\n}\n"],"names":["footer","state","listItems","index","footnoteOrder","length","def","footnoteById","content","all","id","String","identifier","toUpperCase","safeId","normalizeUri","toLowerCase","referenceIndex","backReferences","footnoteCounts","backReference","type","tagName","properties","href","clobberPrefix","dataFootnoteBackref","className","ariaLabel","footnoteBackLabel","children","value","push","tail","tailTail","listItem","wrap","patch","dataFootnotes","footnoteLabelTagName","JSON","parse","stringify","footnoteLabelProperties","footnoteLabel"],"mappings":"oFAiBO,SAASA,EAAOC,GAErB,MAAMC,EAAY,GAClB,IAAIC,GAAS,EAEb,OAASA,EAAQF,EAAMG,cAAcC,QAAQ,CAC3C,MAAMC,EAAML,EAAMM,aAAaN,EAAMG,cAAcD,IAEnD,IAAKG,EACH,SAGF,MAAME,EAAUP,EAAMQ,IAAIH,GACpBI,EAAKC,OAAOL,EAAIM,YAAYC,cAC5BC,EAASC,EAAaL,EAAGM,eAC/B,IAAIC,EAAiB,EAErB,MAAMC,EAAiB,GAEvB,OAASD,GAAkBhB,EAAMkB,eAAeT,IAAK,CAEnD,MAAMU,EAAgB,CACpBC,KAAM,UACNC,QAAS,IACTC,WAAY,CACVC,KACE,IACAvB,EAAMwB,cACN,SACAX,GACCG,EAAiB,EAAI,IAAMA,EAAiB,IAC/CS,qBAAqB,EACrBC,UAAW,CAAC,yBACZC,UAAW3B,EAAM4B,mBAEnBC,SAAU,CAAC,CAACT,KAAM,OAAQU,MAAO,OAG/Bd,EAAiB,GACnBG,EAAcU,SAASE,KAAK,CAC1BX,KAAM,UACNC,QAAS,MACTQ,SAAU,CAAC,CAACT,KAAM,OAAQU,MAAOpB,OAAOM,OAIxCC,EAAeb,OAAS,GAC1Ba,EAAec,KAAK,CAACX,KAAM,OAAQU,MAAO,MAG5Cb,EAAec,KAAKZ,EACrB,CAED,MAAMa,EAAOzB,EAAQA,EAAQH,OAAS,GAEtC,GAAI4B,GAAsB,YAAdA,EAAKZ,MAAuC,MAAjBY,EAAKX,QAAiB,CAC3D,MAAMY,EAAWD,EAAKH,SAASG,EAAKH,SAASzB,OAAS,GAClD6B,GAA8B,SAAlBA,EAASb,KACvBa,EAASH,OAAS,IAElBE,EAAKH,SAASE,KAAK,CAACX,KAAM,OAAQU,MAAO,MAG3CE,EAAKH,SAASE,QAAQd,EAC5B,MACMV,EAAQwB,QAAQd,GAIlB,MAAMiB,EAAW,CACfd,KAAM,UACNC,QAAS,KACTC,WAAY,CAACb,GAAIT,EAAMwB,cAAgB,MAAQX,GAC/CgB,SAAU7B,EAAMmC,KAAK5B,GAAS,IAGhCP,EAAMoC,MAAM/B,EAAK6B,GAEjBjC,EAAU8B,KAAKG,EAChB,CAED,GAAyB,IAArBjC,EAAUG,OAId,MAAO,CACLgB,KAAM,UACNC,QAAS,UACTC,WAAY,CAACe,eAAe,EAAMX,UAAW,CAAC,cAC9CG,SAAU,CACR,CACET,KAAM,UACNC,QAASrB,EAAMsC,qBACfhB,WAAY,IAEPiB,KAAKC,MAAMD,KAAKE,UAAUzC,EAAM0C,0BACnCjC,GAAI,kBAENoB,SAAU,CAAC,CAACT,KAAM,OAAQU,MAAO9B,EAAM2C,iBAEzC,CAACvB,KAAM,OAAQU,MAAO,MACtB,CACEV,KAAM,UACNC,QAAS,KACTC,WAAY,CAAE,EACdO,SAAU7B,EAAMmC,KAAKlC,GAAW,IAElC,CAACmB,KAAM,OAAQU,MAAO,OAG5B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"blockquote.js","sources":["../../../../../node_modules/mdast-util-to-hast/lib/handlers/blockquote.js"],"sourcesContent":["/**\n * @typedef {import('hast').Element} Element\n * @typedef {import('mdast').Blockquote} Blockquote\n * @typedef {import('../state.js').State} State\n */\n\n/**\n * Turn an mdast `blockquote` node into hast.\n *\n * @param {State} state\n * Info passed around.\n * @param {Blockquote} node\n * mdast node.\n * @returns {Element}\n * hast node.\n */\nexport function blockquote(state, node) {\n /** @type {Element} */\n const result = {\n type: 'element',\n tagName: 'blockquote',\n properties: {},\n children: state.wrap(state.all(node), true)\n }\n state.patch(node, result)\n return state.applyData(node, result)\n}\n"],"names":["blockquote","state","node","result","type","tagName","properties","children","wrap","all","patch","applyData"],"mappings":"AAgBO,SAASA,EAAWC,EAAOC,GAEhC,MAAMC,EAAS,CACbC,KAAM,UACNC,QAAS,aACTC,WAAY,CAAE,EACdC,SAAUN,EAAMO,KAAKP,EAAMQ,IAAIP,IAAO,IAGxC,OADAD,EAAMS,MAAMR,EAAMC,GACXF,EAAMU,UAAUT,EAAMC,EAC/B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"break.js","sources":["../../../../../node_modules/mdast-util-to-hast/lib/handlers/break.js"],"sourcesContent":["/**\n * @typedef {import('hast').Element} Element\n * @typedef {import('hast').Text} Text\n * @typedef {import('mdast').Break} Break\n * @typedef {import('../state.js').State} State\n */\n\n/**\n * Turn an mdast `break` node into hast.\n *\n * @param {State} state\n * Info passed around.\n * @param {Break} node\n * mdast node.\n * @returns {Array<Element | Text>}\n * hast element content.\n */\nexport function hardBreak(state, node) {\n /** @type {Element} */\n const result = {type: 'element', tagName: 'br', properties: {}, children: []}\n state.patch(node, result)\n return [state.applyData(node, result), {type: 'text', value: '\\n'}]\n}\n"],"names":["hardBreak","state","node","result","type","tagName","properties","children","patch","applyData","value"],"mappings":"AAiBO,SAASA,EAAUC,EAAOC,GAE/B,MAAMC,EAAS,CAACC,KAAM,UAAWC,QAAS,KAAMC,WAAY,CAAA,EAAIC,SAAU,IAE1E,OADAN,EAAMO,MAAMN,EAAMC,GACX,CAACF,EAAMQ,UAAUP,EAAMC,GAAS,CAACC,KAAM,OAAQM,MAAO,MAC/D"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
function e(e,t){const a=t.value?t.value+"\n":"",l=t.lang?t.lang.match(/^[^ \t]+(?=[ \t]|$)/):null,n={};l&&(n.className=["language-"+l]);let p={type:"element",tagName:"code",properties:n,children:[{type:"text",value:a}]};return t.meta&&(p.data={meta:t.meta}),e.patch(t,p),p=e.applyData(t,p),p={type:"element",tagName:"pre",properties:{},children:[p]},e.patch(t,p),p}export{e as code};
|
|
2
|
+
//# sourceMappingURL=code.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"code.js","sources":["../../../../../node_modules/mdast-util-to-hast/lib/handlers/code.js"],"sourcesContent":["/**\n * @typedef {import('hast').Element} Element\n * @typedef {import('hast').Properties} Properties\n * @typedef {import('mdast').Code} Code\n * @typedef {import('../state.js').State} State\n\n */\n\n/**\n * Turn an mdast `code` node into hast.\n *\n * @param {State} state\n * Info passed around.\n * @param {Code} node\n * mdast node.\n * @returns {Element}\n * hast node.\n */\nexport function code(state, node) {\n const value = node.value ? node.value + '\\n' : ''\n // To do: next major, use `node.lang` w/o regex, the splitting’s been going\n // on for years in remark now.\n const lang = node.lang ? node.lang.match(/^[^ \\t]+(?=[ \\t]|$)/) : null\n /** @type {Properties} */\n const properties = {}\n\n if (lang) {\n properties.className = ['language-' + lang]\n }\n\n // Create `<code>`.\n /** @type {Element} */\n let result = {\n type: 'element',\n tagName: 'code',\n properties,\n children: [{type: 'text', value}]\n }\n\n if (node.meta) {\n result.data = {meta: node.meta}\n }\n\n state.patch(node, result)\n result = state.applyData(node, result)\n\n // Create `<pre>`.\n result = {type: 'element', tagName: 'pre', properties: {}, children: [result]}\n state.patch(node, result)\n return result\n}\n"],"names":["code","state","node","value","lang","match","properties","className","result","type","tagName","children","meta","data","patch","applyData"],"mappings":"AAkBO,SAASA,EAAKC,EAAOC,GAC1B,MAAMC,EAAQD,EAAKC,MAAQD,EAAKC,MAAQ,KAAO,GAGzCC,EAAOF,EAAKE,KAAOF,EAAKE,KAAKC,MAAM,uBAAyB,KAE5DC,EAAa,CAAE,EAEjBF,IACFE,EAAWC,UAAY,CAAC,YAAcH,IAKxC,IAAII,EAAS,CACXC,KAAM,UACNC,QAAS,OACTJ,aACAK,SAAU,CAAC,CAACF,KAAM,OAAQN,WAa5B,OAVID,EAAKU,OACPJ,EAAOK,KAAO,CAACD,KAAMV,EAAKU,OAG5BX,EAAMa,MAAMZ,EAAMM,GAClBA,EAASP,EAAMc,UAAUb,EAAMM,GAG/BA,EAAS,CAACC,KAAM,UAAWC,QAAS,MAAOJ,WAAY,GAAIK,SAAU,CAACH,IACtEP,EAAMa,MAAMZ,EAAMM,GACXA,CACT"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete.js","sources":["../../../../../node_modules/mdast-util-to-hast/lib/handlers/delete.js"],"sourcesContent":["/**\n * @typedef {import('hast').Element} Element\n * @typedef {import('mdast').Delete} Delete\n * @typedef {import('../state.js').State} State\n\n */\n\n/**\n * Turn an mdast `delete` node into hast.\n *\n * @param {State} state\n * Info passed around.\n * @param {Delete} node\n * mdast node.\n * @returns {Element}\n * hast node.\n */\nexport function strikethrough(state, node) {\n /** @type {Element} */\n const result = {\n type: 'element',\n tagName: 'del',\n properties: {},\n children: state.all(node)\n }\n state.patch(node, result)\n return state.applyData(node, result)\n}\n"],"names":["strikethrough","state","node","result","type","tagName","properties","children","all","patch","applyData"],"mappings":"AAiBO,SAASA,EAAcC,EAAOC,GAEnC,MAAMC,EAAS,CACbC,KAAM,UACNC,QAAS,MACTC,WAAY,CAAE,EACdC,SAAUN,EAAMO,IAAIN,IAGtB,OADAD,EAAMQ,MAAMP,EAAMC,GACXF,EAAMS,UAAUR,EAAMC,EAC/B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"emphasis.js","sources":["../../../../../node_modules/mdast-util-to-hast/lib/handlers/emphasis.js"],"sourcesContent":["/**\n * @typedef {import('hast').Element} Element\n * @typedef {import('mdast').Emphasis} Emphasis\n * @typedef {import('../state.js').State} State\n */\n\n/**\n * Turn an mdast `emphasis` node into hast.\n *\n * @param {State} state\n * Info passed around.\n * @param {Emphasis} node\n * mdast node.\n * @returns {Element}\n * hast node.\n */\nexport function emphasis(state, node) {\n /** @type {Element} */\n const result = {\n type: 'element',\n tagName: 'em',\n properties: {},\n children: state.all(node)\n }\n state.patch(node, result)\n return state.applyData(node, result)\n}\n"],"names":["emphasis","state","node","result","type","tagName","properties","children","all","patch","applyData"],"mappings":"AAgBO,SAASA,EAASC,EAAOC,GAE9B,MAAMC,EAAS,CACbC,KAAM,UACNC,QAAS,KACTC,WAAY,CAAE,EACdC,SAAUN,EAAMO,IAAIN,IAGtB,OADAD,EAAMQ,MAAMP,EAAMC,GACXF,EAAMS,UAAUR,EAAMC,EAC/B"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{normalizeUri as e}from"../../node_modules/micromark-util-sanitize-uri/index.js";function t(t,o){const r=String(o.identifier).toUpperCase(),n=e(r.toLowerCase()),i=t.footnoteOrder.indexOf(r);let a;-1===i?(t.footnoteOrder.push(r),t.footnoteCounts[r]=1,a=t.footnoteOrder.length):(t.footnoteCounts[r]++,a=i+1);const f=t.footnoteCounts[r],p={type:"element",tagName:"a",properties:{href:"#"+t.clobberPrefix+"fn-"+n,id:t.clobberPrefix+"fnref-"+n+(f>1?"-"+f:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(a)}]};t.patch(o,p);const s={type:"element",tagName:"sup",properties:{},children:[p]};return t.patch(o,s),t.applyData(o,s)}export{t as footnoteReference};
|
|
2
|
+
//# sourceMappingURL=footnote-reference.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"footnote-reference.js","sources":["../../../../../node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.js"],"sourcesContent":["/**\n * @typedef {import('mdast').FootnoteReference} FootnoteReference\n * @typedef {import('hast').Element} Element\n * @typedef {import('../state.js').State} State\n */\n\nimport {normalizeUri} from 'micromark-util-sanitize-uri'\n\n/**\n * Turn an mdast `footnoteReference` node into hast.\n *\n * @param {State} state\n * Info passed around.\n * @param {FootnoteReference} node\n * mdast node.\n * @returns {Element}\n * hast node.\n */\nexport function footnoteReference(state, node) {\n const id = String(node.identifier).toUpperCase()\n const safeId = normalizeUri(id.toLowerCase())\n const index = state.footnoteOrder.indexOf(id)\n /** @type {number} */\n let counter\n\n if (index === -1) {\n state.footnoteOrder.push(id)\n state.footnoteCounts[id] = 1\n counter = state.footnoteOrder.length\n } else {\n state.footnoteCounts[id]++\n counter = index + 1\n }\n\n const reuseCounter = state.footnoteCounts[id]\n\n /** @type {Element} */\n const link = {\n type: 'element',\n tagName: 'a',\n properties: {\n href: '#' + state.clobberPrefix + 'fn-' + safeId,\n id:\n state.clobberPrefix +\n 'fnref-' +\n safeId +\n (reuseCounter > 1 ? '-' + reuseCounter : ''),\n dataFootnoteRef: true,\n ariaDescribedBy: ['footnote-label']\n },\n children: [{type: 'text', value: String(counter)}]\n }\n state.patch(node, link)\n\n /** @type {Element} */\n const sup = {\n type: 'element',\n tagName: 'sup',\n properties: {},\n children: [link]\n }\n state.patch(node, sup)\n return state.applyData(node, sup)\n}\n"],"names":["footnoteReference","state","node","id","String","identifier","toUpperCase","safeId","normalizeUri","toLowerCase","index","footnoteOrder","indexOf","counter","push","footnoteCounts","length","reuseCounter","link","type","tagName","properties","href","clobberPrefix","dataFootnoteRef","ariaDescribedBy","children","value","patch","sup","applyData"],"mappings":"uFAkBO,SAASA,EAAkBC,EAAOC,GACvC,MAAMC,EAAKC,OAAOF,EAAKG,YAAYC,cAC7BC,EAASC,EAAaL,EAAGM,eACzBC,EAAQT,EAAMU,cAAcC,QAAQT,GAE1C,IAAIU,GAEW,IAAXH,GACFT,EAAMU,cAAcG,KAAKX,GACzBF,EAAMc,eAAeZ,GAAM,EAC3BU,EAAUZ,EAAMU,cAAcK,SAE9Bf,EAAMc,eAAeZ,KACrBU,EAAUH,EAAQ,GAGpB,MAAMO,EAAehB,EAAMc,eAAeZ,GAGpCe,EAAO,CACXC,KAAM,UACNC,QAAS,IACTC,WAAY,CACVC,KAAM,IAAMrB,EAAMsB,cAAgB,MAAQhB,EAC1CJ,GACEF,EAAMsB,cACN,SACAhB,GACCU,EAAe,EAAI,IAAMA,EAAe,IAC3CO,iBAAiB,EACjBC,gBAAiB,CAAC,mBAEpBC,SAAU,CAAC,CAACP,KAAM,OAAQQ,MAAOvB,OAAOS,MAE1CZ,EAAM2B,MAAM1B,EAAMgB,GAGlB,MAAMW,EAAM,CACVV,KAAM,UACNC,QAAS,MACTC,WAAY,CAAE,EACdK,SAAU,CAACR,IAGb,OADAjB,EAAM2B,MAAM1B,EAAM2B,GACX5B,EAAM6B,UAAU5B,EAAM2B,EAC/B"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{footnoteReference as o}from"./footnote-reference.js";function e(e,t){const i=e.footnoteById;let n=1;for(;n in i;)n++;const r=String(n);return i[r]={type:"footnoteDefinition",identifier:r,children:[{type:"paragraph",children:t.children}],position:t.position},o(e,{type:"footnoteReference",identifier:r,position:t.position})}export{e as footnote};
|
|
2
|
+
//# sourceMappingURL=footnote.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"footnote.js","sources":["../../../../../node_modules/mdast-util-to-hast/lib/handlers/footnote.js"],"sourcesContent":["/**\n * @typedef {import('hast').Element} Element\n * @typedef {import('mdast').Footnote} Footnote\n * @typedef {import('../state.js').State} State\n */\n\nimport {footnoteReference} from './footnote-reference.js'\n\n// To do: when both:\n// * <https://github.com/micromark/micromark-extension-footnote>\n// * <https://github.com/syntax-tree/mdast-util-footnote>\n// …are archived, remove this (also from mdast).\n// These inline notes are not used in GFM.\n\n/**\n * Turn an mdast `footnote` node into hast.\n *\n * @param {State} state\n * Info passed around.\n * @param {Footnote} node\n * mdast node.\n * @returns {Element}\n * hast node.\n */\nexport function footnote(state, node) {\n const footnoteById = state.footnoteById\n let no = 1\n\n while (no in footnoteById) no++\n\n const identifier = String(no)\n\n footnoteById[identifier] = {\n type: 'footnoteDefinition',\n identifier,\n children: [{type: 'paragraph', children: node.children}],\n position: node.position\n }\n\n return footnoteReference(state, {\n type: 'footnoteReference',\n identifier,\n position: node.position\n })\n}\n"],"names":["footnote","state","node","footnoteById","no","identifier","String","type","children","position","footnoteReference"],"mappings":"4DAwBO,SAASA,EAASC,EAAOC,GAC9B,MAAMC,EAAeF,EAAME,aAC3B,IAAIC,EAAK,EAET,KAAOA,KAAMD,GAAcC,IAE3B,MAAMC,EAAaC,OAAOF,GAS1B,OAPAD,EAAaE,GAAc,CACzBE,KAAM,qBACNF,aACAG,SAAU,CAAC,CAACD,KAAM,YAAaC,SAAUN,EAAKM,WAC9CC,SAAUP,EAAKO,UAGVC,EAAkBT,EAAO,CAC9BM,KAAM,oBACNF,aACAI,SAAUP,EAAKO,UAEnB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"heading.js","sources":["../../../../../node_modules/mdast-util-to-hast/lib/handlers/heading.js"],"sourcesContent":["/**\n * @typedef {import('hast').Element} Element\n * @typedef {import('mdast').Heading} Heading\n * @typedef {import('../state.js').State} State\n */\n\n/**\n * Turn an mdast `heading` node into hast.\n *\n * @param {State} state\n * Info passed around.\n * @param {Heading} node\n * mdast node.\n * @returns {Element}\n * hast node.\n */\nexport function heading(state, node) {\n /** @type {Element} */\n const result = {\n type: 'element',\n tagName: 'h' + node.depth,\n properties: {},\n children: state.all(node)\n }\n state.patch(node, result)\n return state.applyData(node, result)\n}\n"],"names":["heading","state","node","result","type","tagName","depth","properties","children","all","patch","applyData"],"mappings":"AAgBO,SAASA,EAAQC,EAAOC,GAE7B,MAAMC,EAAS,CACbC,KAAM,UACNC,QAAS,IAAMH,EAAKI,MACpBC,WAAY,CAAE,EACdC,SAAUP,EAAMQ,IAAIP,IAGtB,OADAD,EAAMS,MAAMR,EAAMC,GACXF,EAAMU,UAAUT,EAAMC,EAC/B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"html.js","sources":["../../../../../node_modules/mdast-util-to-hast/lib/handlers/html.js"],"sourcesContent":["/**\n * @typedef {import('hast').Element} Element\n * @typedef {import('mdast').HTML} Html\n * @typedef {import('../state.js').State} State\n * @typedef {import('../../index.js').Raw} Raw\n */\n\n/**\n * Turn an mdast `html` node into hast (`raw` node in dangerous mode, otherwise\n * nothing).\n *\n * @param {State} state\n * Info passed around.\n * @param {Html} node\n * mdast node.\n * @returns {Raw | Element | null}\n * hast node.\n */\nexport function html(state, node) {\n if (state.dangerous) {\n /** @type {Raw} */\n const result = {type: 'raw', value: node.value}\n state.patch(node, result)\n return state.applyData(node, result)\n }\n\n // To do: next major: return `undefined`.\n return null\n}\n"],"names":["html","state","node","dangerous","result","type","value","patch","applyData"],"mappings":"AAkBO,SAASA,EAAKC,EAAOC,GAC1B,GAAID,EAAME,UAAW,CAEnB,MAAMC,EAAS,CAACC,KAAM,MAAOC,MAAOJ,EAAKI,OAEzC,OADAL,EAAMM,MAAML,EAAME,GACXH,EAAMO,UAAUN,EAAME,EAC9B,CAGD,OAAO,IACT"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{normalizeUri as t}from"../../node_modules/micromark-util-sanitize-uri/index.js";import{revert as e}from"../revert.js";function i(i,r){const n=i.definition(r.identifier);if(!n)return e(i,r);const o={src:t(n.url||""),alt:r.alt};null!==n.title&&void 0!==n.title&&(o.title=n.title);const l={type:"element",tagName:"img",properties:o,children:[]};return i.patch(r,l),i.applyData(r,l)}export{i as imageReference};
|
|
2
|
+
//# sourceMappingURL=image-reference.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"image-reference.js","sources":["../../../../../node_modules/mdast-util-to-hast/lib/handlers/image-reference.js"],"sourcesContent":["/**\n * @typedef {import('hast').ElementContent} ElementContent\n * @typedef {import('hast').Element} Element\n * @typedef {import('hast').Properties} Properties\n * @typedef {import('mdast').ImageReference} ImageReference\n * @typedef {import('../state.js').State} State\n */\n\nimport {normalizeUri} from 'micromark-util-sanitize-uri'\nimport {revert} from '../revert.js'\n\n/**\n * Turn an mdast `imageReference` node into hast.\n *\n * @param {State} state\n * Info passed around.\n * @param {ImageReference} node\n * mdast node.\n * @returns {ElementContent | Array<ElementContent>}\n * hast node.\n */\nexport function imageReference(state, node) {\n const def = state.definition(node.identifier)\n\n if (!def) {\n return revert(state, node)\n }\n\n /** @type {Properties} */\n const properties = {src: normalizeUri(def.url || ''), alt: node.alt}\n\n if (def.title !== null && def.title !== undefined) {\n properties.title = def.title\n }\n\n /** @type {Element} */\n const result = {type: 'element', tagName: 'img', properties, children: []}\n state.patch(node, result)\n return state.applyData(node, result)\n}\n"],"names":["imageReference","state","node","def","definition","identifier","revert","properties","src","normalizeUri","url","alt","title","undefined","result","type","tagName","children","patch","applyData"],"mappings":"6HAqBO,SAASA,EAAeC,EAAOC,GACpC,MAAMC,EAAMF,EAAMG,WAAWF,EAAKG,YAElC,IAAKF,EACH,OAAOG,EAAOL,EAAOC,GAIvB,MAAMK,EAAa,CAACC,IAAKC,EAAaN,EAAIO,KAAO,IAAKC,IAAKT,EAAKS,KAE9C,OAAdR,EAAIS,YAAgCC,IAAdV,EAAIS,QAC5BL,EAAWK,MAAQT,EAAIS,OAIzB,MAAME,EAAS,CAACC,KAAM,UAAWC,QAAS,MAAOT,aAAYU,SAAU,IAEvE,OADAhB,EAAMiB,MAAMhB,EAAMY,GACXb,EAAMkB,UAAUjB,EAAMY,EAC/B"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{normalizeUri as t}from"../../node_modules/micromark-util-sanitize-uri/index.js";function e(e,l){const i={src:t(l.url)};null!==l.alt&&void 0!==l.alt&&(i.alt=l.alt),null!==l.title&&void 0!==l.title&&(i.title=l.title);const r={type:"element",tagName:"img",properties:i,children:[]};return e.patch(l,r),e.applyData(l,r)}export{e as image};
|
|
2
|
+
//# sourceMappingURL=image.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"image.js","sources":["../../../../../node_modules/mdast-util-to-hast/lib/handlers/image.js"],"sourcesContent":["/**\n * @typedef {import('hast').Element} Element\n * @typedef {import('hast').Properties} Properties\n * @typedef {import('mdast').Image} Image\n * @typedef {import('../state.js').State} State\n */\n\nimport {normalizeUri} from 'micromark-util-sanitize-uri'\n\n/**\n * Turn an mdast `image` node into hast.\n *\n * @param {State} state\n * Info passed around.\n * @param {Image} node\n * mdast node.\n * @returns {Element}\n * hast node.\n */\nexport function image(state, node) {\n /** @type {Properties} */\n const properties = {src: normalizeUri(node.url)}\n\n if (node.alt !== null && node.alt !== undefined) {\n properties.alt = node.alt\n }\n\n if (node.title !== null && node.title !== undefined) {\n properties.title = node.title\n }\n\n /** @type {Element} */\n const result = {type: 'element', tagName: 'img', properties, children: []}\n state.patch(node, result)\n return state.applyData(node, result)\n}\n"],"names":["image","state","node","properties","src","normalizeUri","url","alt","undefined","title","result","type","tagName","children","patch","applyData"],"mappings":"uFAmBO,SAASA,EAAMC,EAAOC,GAE3B,MAAMC,EAAa,CAACC,IAAKC,EAAaH,EAAKI,MAE1B,OAAbJ,EAAKK,UAA6BC,IAAbN,EAAKK,MAC5BJ,EAAWI,IAAML,EAAKK,KAGL,OAAfL,EAAKO,YAAiCD,IAAfN,EAAKO,QAC9BN,EAAWM,MAAQP,EAAKO,OAI1B,MAAMC,EAAS,CAACC,KAAM,UAAWC,QAAS,MAAOT,aAAYU,SAAU,IAEvE,OADAZ,EAAMa,MAAMZ,EAAMQ,GACXT,EAAMc,UAAUb,EAAMQ,EAC/B"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{blockquote as o}from"./blockquote.js";import{hardBreak as e}from"./break.js";import{code as r}from"./code.js";import{strikethrough as t}from"./delete.js";import{emphasis as m}from"./emphasis.js";import{footnoteReference as i}from"./footnote-reference.js";import{footnote as f}from"./footnote.js";import{heading as s}from"./heading.js";import{html as n}from"./html.js";import{imageReference as p}from"./image-reference.js";import{image as l}from"./image.js";import{inlineCode as a}from"./inline-code.js";import{linkReference as j}from"./link-reference.js";import{link as c}from"./link.js";import{listItem as b}from"./list-item.js";import{list as g}from"./list.js";import{paragraph as h}from"./paragraph.js";import{root as k}from"./root.js";import{strong as d}from"./strong.js";import{table as u}from"./table.js";import{tableRow as R}from"./table-row.js";import{tableCell as x}from"./table-cell.js";import{text as q}from"./text.js";import{thematicBreak as w}from"./thematic-break.js";const C={blockquote:o,break:e,code:r,delete:t,emphasis:m,footnoteReference:i,footnote:f,heading:s,html:n,imageReference:p,image:l,inlineCode:a,linkReference:j,link:c,listItem:b,list:g,paragraph:h,root:k,strong:d,table:u,tableCell:x,tableRow:R,text:q,thematicBreak:w,toml:y,yaml:y,definition:y,footnoteDefinition:y};function y(){return null}export{C as handlers};
|
|
2
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../node_modules/mdast-util-to-hast/lib/handlers/index.js"],"sourcesContent":["import {blockquote} from './blockquote.js'\nimport {hardBreak} from './break.js'\nimport {code} from './code.js'\nimport {strikethrough} from './delete.js'\nimport {emphasis} from './emphasis.js'\nimport {footnoteReference} from './footnote-reference.js'\nimport {footnote} from './footnote.js'\nimport {heading} from './heading.js'\nimport {html} from './html.js'\nimport {imageReference} from './image-reference.js'\nimport {image} from './image.js'\nimport {inlineCode} from './inline-code.js'\nimport {linkReference} from './link-reference.js'\nimport {link} from './link.js'\nimport {listItem} from './list-item.js'\nimport {list} from './list.js'\nimport {paragraph} from './paragraph.js'\nimport {root} from './root.js'\nimport {strong} from './strong.js'\nimport {table} from './table.js'\nimport {tableRow} from './table-row.js'\nimport {tableCell} from './table-cell.js'\nimport {text} from './text.js'\nimport {thematicBreak} from './thematic-break.js'\n\n/**\n * Default handlers for nodes.\n */\nexport const handlers = {\n blockquote,\n break: hardBreak,\n code,\n delete: strikethrough,\n emphasis,\n footnoteReference,\n footnote,\n heading,\n html,\n imageReference,\n image,\n inlineCode,\n linkReference,\n link,\n listItem,\n list,\n paragraph,\n root,\n strong,\n table,\n tableCell,\n tableRow,\n text,\n thematicBreak,\n toml: ignore,\n yaml: ignore,\n definition: ignore,\n footnoteDefinition: ignore\n}\n\n// Return nothing for nodes that are ignored.\nfunction ignore() {\n // To do: next major: return `undefined`.\n return null\n}\n"],"names":["handlers","blockquote","break","hardBreak","code","delete","strikethrough","emphasis","footnoteReference","footnote","heading","html","imageReference","image","inlineCode","linkReference","link","listItem","list","paragraph","root","strong","table","tableCell","tableRow","text","thematicBreak","toml","ignore","yaml","definition","footnoteDefinition"],"mappings":"69BA4BY,MAACA,EAAW,CACtBC,aACAC,MAAOC,EACPC,OACAC,OAAQC,EACRC,WACAC,oBACAC,WACAC,UACAC,OACAC,iBACAC,QACAC,aACAC,gBACAC,OACAC,WACAC,OACAC,YACAC,OACAC,SACAC,QACAC,YACAC,WACAC,OACAC,gBACAC,KAAMC,EACNC,KAAMD,EACNE,WAAYF,EACZG,mBAAoBH,GAItB,SAASA,IAEP,OAAO,IACT"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"inline-code.js","sources":["../../../../../node_modules/mdast-util-to-hast/lib/handlers/inline-code.js"],"sourcesContent":["/**\n * @typedef {import('hast').Element} Element\n * @typedef {import('hast').Text} Text\n * @typedef {import('mdast').InlineCode} InlineCode\n * @typedef {import('../state.js').State} State\n */\n\n/**\n * Turn an mdast `inlineCode` node into hast.\n *\n * @param {State} state\n * Info passed around.\n * @param {InlineCode} node\n * mdast node.\n * @returns {Element}\n * hast node.\n */\nexport function inlineCode(state, node) {\n /** @type {Text} */\n const text = {type: 'text', value: node.value.replace(/\\r?\\n|\\r/g, ' ')}\n state.patch(node, text)\n\n /** @type {Element} */\n const result = {\n type: 'element',\n tagName: 'code',\n properties: {},\n children: [text]\n }\n state.patch(node, result)\n return state.applyData(node, result)\n}\n"],"names":["inlineCode","state","node","text","type","value","replace","patch","result","tagName","properties","children","applyData"],"mappings":"AAiBO,SAASA,EAAWC,EAAOC,GAEhC,MAAMC,EAAO,CAACC,KAAM,OAAQC,MAAOH,EAAKG,MAAMC,QAAQ,YAAa,MACnEL,EAAMM,MAAML,EAAMC,GAGlB,MAAMK,EAAS,CACbJ,KAAM,UACNK,QAAS,OACTC,WAAY,CAAE,EACdC,SAAU,CAACR,IAGb,OADAF,EAAMM,MAAML,EAAMM,GACXP,EAAMW,UAAUV,EAAMM,EAC/B"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{normalizeUri as t}from"../../node_modules/micromark-util-sanitize-uri/index.js";import{revert as e}from"../revert.js";function i(i,r){const n=i.definition(r.identifier);if(!n)return e(i,r);const o={href:t(n.url||"")};null!==n.title&&void 0!==n.title&&(o.title=n.title);const l={type:"element",tagName:"a",properties:o,children:i.all(r)};return i.patch(r,l),i.applyData(r,l)}export{i as linkReference};
|
|
2
|
+
//# sourceMappingURL=link-reference.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"link-reference.js","sources":["../../../../../node_modules/mdast-util-to-hast/lib/handlers/link-reference.js"],"sourcesContent":["/**\n * @typedef {import('hast').Element} Element\n * @typedef {import('hast').ElementContent} ElementContent\n * @typedef {import('hast').Properties} Properties\n * @typedef {import('mdast').LinkReference} LinkReference\n * @typedef {import('../state.js').State} State\n */\n\nimport {normalizeUri} from 'micromark-util-sanitize-uri'\nimport {revert} from '../revert.js'\n\n/**\n * Turn an mdast `linkReference` node into hast.\n *\n * @param {State} state\n * Info passed around.\n * @param {LinkReference} node\n * mdast node.\n * @returns {ElementContent | Array<ElementContent>}\n * hast node.\n */\nexport function linkReference(state, node) {\n const def = state.definition(node.identifier)\n\n if (!def) {\n return revert(state, node)\n }\n\n /** @type {Properties} */\n const properties = {href: normalizeUri(def.url || '')}\n\n if (def.title !== null && def.title !== undefined) {\n properties.title = def.title\n }\n\n /** @type {Element} */\n const result = {\n type: 'element',\n tagName: 'a',\n properties,\n children: state.all(node)\n }\n state.patch(node, result)\n return state.applyData(node, result)\n}\n"],"names":["linkReference","state","node","def","definition","identifier","revert","properties","href","normalizeUri","url","title","undefined","result","type","tagName","children","all","patch","applyData"],"mappings":"6HAqBO,SAASA,EAAcC,EAAOC,GACnC,MAAMC,EAAMF,EAAMG,WAAWF,EAAKG,YAElC,IAAKF,EACH,OAAOG,EAAOL,EAAOC,GAIvB,MAAMK,EAAa,CAACC,KAAMC,EAAaN,EAAIO,KAAO,KAEhC,OAAdP,EAAIQ,YAAgCC,IAAdT,EAAIQ,QAC5BJ,EAAWI,MAAQR,EAAIQ,OAIzB,MAAME,EAAS,CACbC,KAAM,UACNC,QAAS,IACTR,aACAS,SAAUf,EAAMgB,IAAIf,IAGtB,OADAD,EAAMiB,MAAMhB,EAAMW,GACXZ,EAAMkB,UAAUjB,EAAMW,EAC/B"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{normalizeUri as t}from"../../node_modules/micromark-util-sanitize-uri/index.js";function e(e,i){const l={href:t(i.url)};null!==i.title&&void 0!==i.title&&(l.title=i.title);const r={type:"element",tagName:"a",properties:l,children:e.all(i)};return e.patch(i,r),e.applyData(i,r)}export{e as link};
|
|
2
|
+
//# sourceMappingURL=link.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"link.js","sources":["../../../../../node_modules/mdast-util-to-hast/lib/handlers/link.js"],"sourcesContent":["/**\n * @typedef {import('hast').Element} Element\n * @typedef {import('hast').Properties} Properties\n * @typedef {import('mdast').Link} Link\n * @typedef {import('../state.js').State} State\n */\n\nimport {normalizeUri} from 'micromark-util-sanitize-uri'\n\n/**\n * Turn an mdast `link` node into hast.\n *\n * @param {State} state\n * Info passed around.\n * @param {Link} node\n * mdast node.\n * @returns {Element}\n * hast node.\n */\nexport function link(state, node) {\n /** @type {Properties} */\n const properties = {href: normalizeUri(node.url)}\n\n if (node.title !== null && node.title !== undefined) {\n properties.title = node.title\n }\n\n /** @type {Element} */\n const result = {\n type: 'element',\n tagName: 'a',\n properties,\n children: state.all(node)\n }\n state.patch(node, result)\n return state.applyData(node, result)\n}\n"],"names":["link","state","node","properties","href","normalizeUri","url","title","undefined","result","type","tagName","children","all","patch","applyData"],"mappings":"uFAmBO,SAASA,EAAKC,EAAOC,GAE1B,MAAMC,EAAa,CAACC,KAAMC,EAAaH,EAAKI,MAEzB,OAAfJ,EAAKK,YAAiCC,IAAfN,EAAKK,QAC9BJ,EAAWI,MAAQL,EAAKK,OAI1B,MAAME,EAAS,CACbC,KAAM,UACNC,QAAS,IACTR,aACAS,SAAUX,EAAMY,IAAIX,IAGtB,OADAD,EAAMa,MAAMZ,EAAMO,GACXR,EAAMc,UAAUb,EAAMO,EAC/B"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
function e(e,n,l){const p=e.all(n),a=l?function(e){let n=!1;if("list"===e.type){n=e.spread||!1;const l=e.children;let p=-1;for(;!n&&++p<l.length;)n=t(l[p])}return n}(l):t(n),c={},h=[];if("boolean"==typeof n.checked){const e=p[0];let t;e&&"element"===e.type&&"p"===e.tagName?t=e:(t={type:"element",tagName:"p",properties:{},children:[]},p.unshift(t)),t.children.length>0&&t.children.unshift({type:"text",value:" "}),t.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:n.checked,disabled:!0},children:[]}),c.className=["task-list-item"]}let i=-1;for(;++i<p.length;){const e=p[i];(a||0!==i||"element"!==e.type||"p"!==e.tagName)&&h.push({type:"text",value:"\n"}),"element"!==e.type||"p"!==e.tagName||a?h.push(e):h.push(...e.children)}const r=p[p.length-1];r&&(a||"element"!==r.type||"p"!==r.tagName)&&h.push({type:"text",value:"\n"});const s={type:"element",tagName:"li",properties:c,children:h};return e.patch(n,s),e.applyData(n,s)}function t(e){const t=e.spread;return null==t?e.children.length>1:t}export{e as listItem};
|
|
2
|
+
//# sourceMappingURL=list-item.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-item.js","sources":["../../../../../node_modules/mdast-util-to-hast/lib/handlers/list-item.js"],"sourcesContent":["/**\n * @typedef {import('hast').Element} Element\n * @typedef {import('hast').ElementContent} ElementContent\n * @typedef {import('hast').Properties} Properties\n * @typedef {import('mdast').Content} Content\n * @typedef {import('mdast').ListItem} ListItem\n * @typedef {import('mdast').Parent} Parent\n * @typedef {import('mdast').Root} Root\n * @typedef {import('../state.js').State} State\n */\n\n/**\n * @typedef {Root | Content} Nodes\n * @typedef {Extract<Nodes, Parent>} Parents\n */\n\n/**\n * Turn an mdast `listItem` node into hast.\n *\n * @param {State} state\n * Info passed around.\n * @param {ListItem} node\n * mdast node.\n * @param {Parents | null | undefined} parent\n * Parent of `node`.\n * @returns {Element}\n * hast node.\n */\nexport function listItem(state, node, parent) {\n const results = state.all(node)\n const loose = parent ? listLoose(parent) : listItemLoose(node)\n /** @type {Properties} */\n const properties = {}\n /** @type {Array<ElementContent>} */\n const children = []\n\n if (typeof node.checked === 'boolean') {\n const head = results[0]\n /** @type {Element} */\n let paragraph\n\n if (head && head.type === 'element' && head.tagName === 'p') {\n paragraph = head\n } else {\n paragraph = {type: 'element', tagName: 'p', properties: {}, children: []}\n results.unshift(paragraph)\n }\n\n if (paragraph.children.length > 0) {\n paragraph.children.unshift({type: 'text', value: ' '})\n }\n\n paragraph.children.unshift({\n type: 'element',\n tagName: 'input',\n properties: {type: 'checkbox', checked: node.checked, disabled: true},\n children: []\n })\n\n // According to github-markdown-css, this class hides bullet.\n // See: <https://github.com/sindresorhus/github-markdown-css>.\n properties.className = ['task-list-item']\n }\n\n let index = -1\n\n while (++index < results.length) {\n const child = results[index]\n\n // Add eols before nodes, except if this is a loose, first paragraph.\n if (\n loose ||\n index !== 0 ||\n child.type !== 'element' ||\n child.tagName !== 'p'\n ) {\n children.push({type: 'text', value: '\\n'})\n }\n\n if (child.type === 'element' && child.tagName === 'p' && !loose) {\n children.push(...child.children)\n } else {\n children.push(child)\n }\n }\n\n const tail = results[results.length - 1]\n\n // Add a final eol.\n if (tail && (loose || tail.type !== 'element' || tail.tagName !== 'p')) {\n children.push({type: 'text', value: '\\n'})\n }\n\n /** @type {Element} */\n const result = {type: 'element', tagName: 'li', properties, children}\n state.patch(node, result)\n return state.applyData(node, result)\n}\n\n/**\n * @param {Parents} node\n * @return {Boolean}\n */\nfunction listLoose(node) {\n let loose = false\n if (node.type === 'list') {\n loose = node.spread || false\n const children = node.children\n let index = -1\n\n while (!loose && ++index < children.length) {\n loose = listItemLoose(children[index])\n }\n }\n\n return loose\n}\n\n/**\n * @param {ListItem} node\n * @return {Boolean}\n */\nfunction listItemLoose(node) {\n const spread = node.spread\n\n return spread === undefined || spread === null\n ? node.children.length > 1\n : spread\n}\n"],"names":["listItem","state","node","parent","results","all","loose","type","spread","children","index","length","listItemLoose","listLoose","properties","checked","head","paragraph","tagName","unshift","value","disabled","className","child","push","tail","result","patch","applyData"],"mappings":"AA4BO,SAASA,EAASC,EAAOC,EAAMC,GACpC,MAAMC,EAAUH,EAAMI,IAAIH,GACpBI,EAAQH,EAyEhB,SAAmBD,GACjB,IAAII,GAAQ,EACZ,GAAkB,SAAdJ,EAAKK,KAAiB,CACxBD,EAAQJ,EAAKM,SAAU,EACvB,MAAMC,EAAWP,EAAKO,SACtB,IAAIC,GAAS,EAEb,MAAQJ,KAAWI,EAAQD,EAASE,QAClCL,EAAQM,EAAcH,EAASC,GAElC,CAED,OAAOJ,CACT,CAtFyBO,CAAUV,GAAUS,EAAcV,GAEnDY,EAAa,CAAE,EAEfL,EAAW,GAEjB,GAA4B,kBAAjBP,EAAKa,QAAuB,CACrC,MAAMC,EAAOZ,EAAQ,GAErB,IAAIa,EAEAD,GAAsB,YAAdA,EAAKT,MAAuC,MAAjBS,EAAKE,QAC1CD,EAAYD,GAEZC,EAAY,CAACV,KAAM,UAAWW,QAAS,IAAKJ,WAAY,CAAA,EAAIL,SAAU,IACtEL,EAAQe,QAAQF,IAGdA,EAAUR,SAASE,OAAS,GAC9BM,EAAUR,SAASU,QAAQ,CAACZ,KAAM,OAAQa,MAAO,MAGnDH,EAAUR,SAASU,QAAQ,CACzBZ,KAAM,UACNW,QAAS,QACTJ,WAAY,CAACP,KAAM,WAAYQ,QAASb,EAAKa,QAASM,UAAU,GAChEZ,SAAU,KAKZK,EAAWQ,UAAY,CAAC,iBACzB,CAED,IAAIZ,GAAS,EAEb,OAASA,EAAQN,EAAQO,QAAQ,CAC/B,MAAMY,EAAQnB,EAAQM,IAIpBJ,GACU,IAAVI,GACe,YAAfa,EAAMhB,MACY,MAAlBgB,EAAML,UAENT,EAASe,KAAK,CAACjB,KAAM,OAAQa,MAAO,OAGnB,YAAfG,EAAMhB,MAAwC,MAAlBgB,EAAML,SAAoBZ,EAGxDG,EAASe,KAAKD,GAFdd,EAASe,QAAQD,EAAMd,SAI1B,CAED,MAAMgB,EAAOrB,EAAQA,EAAQO,OAAS,GAGlCc,IAASnB,GAAuB,YAAdmB,EAAKlB,MAAuC,MAAjBkB,EAAKP,UACpDT,EAASe,KAAK,CAACjB,KAAM,OAAQa,MAAO,OAItC,MAAMM,EAAS,CAACnB,KAAM,UAAWW,QAAS,KAAMJ,aAAYL,YAE5D,OADAR,EAAM0B,MAAMzB,EAAMwB,GACXzB,EAAM2B,UAAU1B,EAAMwB,EAC/B,CAyBA,SAASd,EAAcV,GACrB,MAAMM,EAASN,EAAKM,OAEpB,OAAOA,QACHN,EAAKO,SAASE,OAAS,EACvBH,CACN"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
function t(t,e){const a={},r=t.all(e);let s=-1;for("number"==typeof e.start&&1!==e.start&&(a.start=e.start);++s<r.length;){const t=r[s];if("element"===t.type&&"li"===t.tagName&&t.properties&&Array.isArray(t.properties.className)&&t.properties.className.includes("task-list-item")){a.className=["contains-task-list"];break}}const l={type:"element",tagName:e.ordered?"ol":"ul",properties:a,children:t.wrap(r,!0)};return t.patch(e,l),t.applyData(e,l)}export{t as list};
|
|
2
|
+
//# sourceMappingURL=list.js.map
|