@prismicio/client 7.7.4 → 7.7.5-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_node_modules/@ungap/structured-clone/esm/deserialize.cjs +63 -0
- package/dist/_node_modules/@ungap/structured-clone/esm/deserialize.cjs.map +1 -0
- package/dist/_node_modules/@ungap/structured-clone/esm/deserialize.js +63 -0
- package/dist/_node_modules/@ungap/structured-clone/esm/deserialize.js.map +1 -0
- package/dist/_node_modules/@ungap/structured-clone/esm/index.cjs +12 -0
- package/dist/_node_modules/@ungap/structured-clone/esm/index.cjs.map +1 -0
- package/dist/_node_modules/@ungap/structured-clone/esm/index.js +12 -0
- package/dist/_node_modules/@ungap/structured-clone/esm/index.js.map +1 -0
- package/dist/_node_modules/@ungap/structured-clone/esm/serialize.cjs +127 -0
- package/dist/_node_modules/@ungap/structured-clone/esm/serialize.cjs.map +1 -0
- package/dist/_node_modules/@ungap/structured-clone/esm/serialize.js +127 -0
- package/dist/_node_modules/@ungap/structured-clone/esm/serialize.js.map +1 -0
- package/dist/_node_modules/@ungap/structured-clone/esm/types.cjs +23 -0
- package/dist/_node_modules/@ungap/structured-clone/esm/types.cjs.map +1 -0
- package/dist/_node_modules/@ungap/structured-clone/esm/types.js +23 -0
- package/dist/_node_modules/@ungap/structured-clone/esm/types.js.map +1 -0
- package/dist/_node_modules/bail/index.cjs +9 -0
- package/dist/_node_modules/bail/index.cjs.map +1 -0
- package/dist/_node_modules/bail/index.js +9 -0
- package/dist/_node_modules/bail/index.js.map +1 -0
- package/dist/_node_modules/bcp-47-match/index.cjs +74 -0
- package/dist/_node_modules/bcp-47-match/index.cjs.map +1 -0
- package/dist/_node_modules/bcp-47-match/index.js +74 -0
- package/dist/_node_modules/bcp-47-match/index.js.map +1 -0
- package/dist/_node_modules/boolbase/index.cjs +13 -0
- package/dist/_node_modules/boolbase/index.cjs.map +1 -0
- package/dist/_node_modules/boolbase/index.js +14 -0
- package/dist/_node_modules/boolbase/index.js.map +1 -0
- package/dist/_node_modules/ccount/index.cjs +17 -0
- package/dist/_node_modules/ccount/index.cjs.map +1 -0
- package/dist/_node_modules/ccount/index.js +17 -0
- package/dist/_node_modules/ccount/index.js.map +1 -0
- package/dist/_node_modules/character-entities/index.cjs +2131 -0
- package/dist/_node_modules/character-entities/index.cjs.map +1 -0
- package/dist/_node_modules/character-entities/index.js +2131 -0
- package/dist/_node_modules/character-entities/index.js.map +1 -0
- package/dist/_node_modules/character-entities-html4/index.cjs +258 -0
- package/dist/_node_modules/character-entities-html4/index.cjs.map +1 -0
- package/dist/_node_modules/character-entities-html4/index.js +258 -0
- package/dist/_node_modules/character-entities-html4/index.js.map +1 -0
- package/dist/_node_modules/character-entities-legacy/index.cjs +112 -0
- package/dist/_node_modules/character-entities-legacy/index.cjs.map +1 -0
- package/dist/_node_modules/character-entities-legacy/index.js +112 -0
- package/dist/_node_modules/character-entities-legacy/index.js.map +1 -0
- package/dist/_node_modules/comma-separated-tokens/index.cjs +32 -0
- package/dist/_node_modules/comma-separated-tokens/index.cjs.map +1 -0
- package/dist/_node_modules/comma-separated-tokens/index.js +32 -0
- package/dist/_node_modules/comma-separated-tokens/index.js.map +1 -0
- package/dist/_node_modules/devlop/lib/default.cjs +6 -0
- package/dist/_node_modules/devlop/lib/default.cjs.map +1 -0
- package/dist/_node_modules/devlop/lib/default.js +6 -0
- package/dist/_node_modules/devlop/lib/default.js.map +1 -0
- package/dist/_node_modules/direction/index.cjs +12 -0
- package/dist/_node_modules/direction/index.cjs.map +1 -0
- package/dist/_node_modules/direction/index.js +12 -0
- package/dist/_node_modules/direction/index.js.map +1 -0
- package/dist/_node_modules/extend/index.cjs +89 -0
- package/dist/_node_modules/extend/index.cjs.map +1 -0
- package/dist/_node_modules/extend/index.js +90 -0
- package/dist/_node_modules/extend/index.js.map +1 -0
- package/dist/_node_modules/hast-util-embedded/lib/index.cjs +14 -0
- package/dist/_node_modules/hast-util-embedded/lib/index.cjs.map +1 -0
- package/dist/_node_modules/hast-util-embedded/lib/index.js +14 -0
- package/dist/_node_modules/hast-util-embedded/lib/index.js.map +1 -0
- package/dist/_node_modules/hast-util-from-html/lib/errors.cjs +317 -0
- package/dist/_node_modules/hast-util-from-html/lib/errors.cjs.map +1 -0
- package/dist/_node_modules/hast-util-from-html/lib/errors.js +317 -0
- package/dist/_node_modules/hast-util-from-html/lib/errors.js.map +1 -0
- package/dist/_node_modules/hast-util-from-html/lib/index.cjs +96 -0
- package/dist/_node_modules/hast-util-from-html/lib/index.cjs.map +1 -0
- package/dist/_node_modules/hast-util-from-html/lib/index.js +96 -0
- package/dist/_node_modules/hast-util-from-html/lib/index.js.map +1 -0
- package/dist/_node_modules/hast-util-from-parse5/lib/index.cjs +187 -0
- package/dist/_node_modules/hast-util-from-parse5/lib/index.cjs.map +1 -0
- package/dist/_node_modules/hast-util-from-parse5/lib/index.js +187 -0
- package/dist/_node_modules/hast-util-from-parse5/lib/index.js.map +1 -0
- package/dist/_node_modules/hast-util-has-property/lib/index.cjs +9 -0
- package/dist/_node_modules/hast-util-has-property/lib/index.cjs.map +1 -0
- package/dist/_node_modules/hast-util-has-property/lib/index.js +9 -0
- package/dist/_node_modules/hast-util-has-property/lib/index.js.map +1 -0
- package/dist/_node_modules/hast-util-is-element/lib/index.cjs +102 -0
- package/dist/_node_modules/hast-util-is-element/lib/index.cjs.map +1 -0
- package/dist/_node_modules/hast-util-is-element/lib/index.js +102 -0
- package/dist/_node_modules/hast-util-is-element/lib/index.js.map +1 -0
- package/dist/_node_modules/hast-util-parse-selector/lib/index.cjs +40 -0
- package/dist/_node_modules/hast-util-parse-selector/lib/index.cjs.map +1 -0
- package/dist/_node_modules/hast-util-parse-selector/lib/index.js +40 -0
- package/dist/_node_modules/hast-util-parse-selector/lib/index.js.map +1 -0
- package/dist/_node_modules/hast-util-select/lib/attribute.cjs +67 -0
- package/dist/_node_modules/hast-util-select/lib/attribute.cjs.map +1 -0
- package/dist/_node_modules/hast-util-select/lib/attribute.js +67 -0
- package/dist/_node_modules/hast-util-select/lib/attribute.js.map +1 -0
- package/dist/_node_modules/hast-util-select/lib/class-name.cjs +12 -0
- package/dist/_node_modules/hast-util-select/lib/class-name.cjs.map +1 -0
- package/dist/_node_modules/hast-util-select/lib/class-name.js +12 -0
- package/dist/_node_modules/hast-util-select/lib/class-name.js.map +1 -0
- package/dist/_node_modules/hast-util-select/lib/enter-state.cjs +79 -0
- package/dist/_node_modules/hast-util-select/lib/enter-state.cjs.map +1 -0
- package/dist/_node_modules/hast-util-select/lib/enter-state.js +79 -0
- package/dist/_node_modules/hast-util-select/lib/enter-state.js.map +1 -0
- package/dist/_node_modules/hast-util-select/lib/id.cjs +7 -0
- package/dist/_node_modules/hast-util-select/lib/id.cjs.map +1 -0
- package/dist/_node_modules/hast-util-select/lib/id.js +7 -0
- package/dist/_node_modules/hast-util-select/lib/id.js.map +1 -0
- package/dist/_node_modules/hast-util-select/lib/index.cjs +38 -0
- package/dist/_node_modules/hast-util-select/lib/index.cjs.map +1 -0
- package/dist/_node_modules/hast-util-select/lib/index.js +38 -0
- package/dist/_node_modules/hast-util-select/lib/index.js.map +1 -0
- package/dist/_node_modules/hast-util-select/lib/name.cjs +7 -0
- package/dist/_node_modules/hast-util-select/lib/name.cjs.map +1 -0
- package/dist/_node_modules/hast-util-select/lib/name.js +7 -0
- package/dist/_node_modules/hast-util-select/lib/name.js.map +1 -0
- package/dist/_node_modules/hast-util-select/lib/parse.cjs +12 -0
- package/dist/_node_modules/hast-util-select/lib/parse.cjs.map +1 -0
- package/dist/_node_modules/hast-util-select/lib/parse.js +12 -0
- package/dist/_node_modules/hast-util-select/lib/parse.js.map +1 -0
- package/dist/_node_modules/hast-util-select/lib/pseudo.cjs +231 -0
- package/dist/_node_modules/hast-util-select/lib/pseudo.cjs.map +1 -0
- package/dist/_node_modules/hast-util-select/lib/pseudo.js +231 -0
- package/dist/_node_modules/hast-util-select/lib/pseudo.js.map +1 -0
- package/dist/_node_modules/hast-util-select/lib/test.cjs +27 -0
- package/dist/_node_modules/hast-util-select/lib/test.cjs.map +1 -0
- package/dist/_node_modules/hast-util-select/lib/test.js +27 -0
- package/dist/_node_modules/hast-util-select/lib/test.js.map +1 -0
- package/dist/_node_modules/hast-util-select/lib/walk.cjs +132 -0
- package/dist/_node_modules/hast-util-select/lib/walk.cjs.map +1 -0
- package/dist/_node_modules/hast-util-select/lib/walk.js +132 -0
- package/dist/_node_modules/hast-util-select/lib/walk.js.map +1 -0
- package/dist/_node_modules/hast-util-to-html/lib/handle/comment.cjs +24 -0
- package/dist/_node_modules/hast-util-to-html/lib/handle/comment.cjs.map +1 -0
- package/dist/_node_modules/hast-util-to-html/lib/handle/comment.js +24 -0
- package/dist/_node_modules/hast-util-to-html/lib/handle/comment.js.map +1 -0
- package/dist/_node_modules/hast-util-to-html/lib/handle/doctype.cjs +7 -0
- package/dist/_node_modules/hast-util-to-html/lib/handle/doctype.cjs.map +1 -0
- package/dist/_node_modules/hast-util-to-html/lib/handle/doctype.js +7 -0
- package/dist/_node_modules/hast-util-to-html/lib/handle/doctype.js.map +1 -0
- package/dist/_node_modules/hast-util-to-html/lib/handle/element.cjs +137 -0
- package/dist/_node_modules/hast-util-to-html/lib/handle/element.cjs.map +1 -0
- package/dist/_node_modules/hast-util-to-html/lib/handle/element.js +137 -0
- package/dist/_node_modules/hast-util-to-html/lib/handle/element.js.map +1 -0
- package/dist/_node_modules/hast-util-to-html/lib/handle/index.cjs +26 -0
- package/dist/_node_modules/hast-util-to-html/lib/handle/index.cjs.map +1 -0
- package/dist/_node_modules/hast-util-to-html/lib/handle/index.js +26 -0
- package/dist/_node_modules/hast-util-to-html/lib/handle/index.js.map +1 -0
- package/dist/_node_modules/hast-util-to-html/lib/handle/raw.cjs +8 -0
- package/dist/_node_modules/hast-util-to-html/lib/handle/raw.cjs.map +1 -0
- package/dist/_node_modules/hast-util-to-html/lib/handle/raw.js +8 -0
- package/dist/_node_modules/hast-util-to-html/lib/handle/raw.js.map +1 -0
- package/dist/_node_modules/hast-util-to-html/lib/handle/root.cjs +7 -0
- package/dist/_node_modules/hast-util-to-html/lib/handle/root.cjs.map +1 -0
- package/dist/_node_modules/hast-util-to-html/lib/handle/root.js +7 -0
- package/dist/_node_modules/hast-util-to-html/lib/handle/root.js.map +1 -0
- package/dist/_node_modules/hast-util-to-html/lib/handle/text.cjs +14 -0
- package/dist/_node_modules/hast-util-to-html/lib/handle/text.cjs.map +1 -0
- package/dist/_node_modules/hast-util-to-html/lib/handle/text.js +14 -0
- package/dist/_node_modules/hast-util-to-html/lib/handle/text.js.map +1 -0
- package/dist/_node_modules/hast-util-to-html/lib/index.cjs +62 -0
- package/dist/_node_modules/hast-util-to-html/lib/index.cjs.map +1 -0
- package/dist/_node_modules/hast-util-to-html/lib/index.js +62 -0
- package/dist/_node_modules/hast-util-to-html/lib/index.js.map +1 -0
- package/dist/_node_modules/hast-util-to-html/lib/omission/closing.cjs +92 -0
- package/dist/_node_modules/hast-util-to-html/lib/omission/closing.cjs.map +1 -0
- package/dist/_node_modules/hast-util-to-html/lib/omission/closing.js +92 -0
- package/dist/_node_modules/hast-util-to-html/lib/omission/closing.js.map +1 -0
- package/dist/_node_modules/hast-util-to-html/lib/omission/omission.cjs +11 -0
- package/dist/_node_modules/hast-util-to-html/lib/omission/omission.cjs.map +1 -0
- package/dist/_node_modules/hast-util-to-html/lib/omission/omission.js +11 -0
- package/dist/_node_modules/hast-util-to-html/lib/omission/omission.js.map +1 -0
- package/dist/_node_modules/hast-util-to-html/lib/omission/opening.cjs +52 -0
- package/dist/_node_modules/hast-util-to-html/lib/omission/opening.cjs.map +1 -0
- package/dist/_node_modules/hast-util-to-html/lib/omission/opening.js +52 -0
- package/dist/_node_modules/hast-util-to-html/lib/omission/opening.js.map +1 -0
- package/dist/_node_modules/hast-util-to-html/lib/omission/util/siblings.cjs +24 -0
- package/dist/_node_modules/hast-util-to-html/lib/omission/util/siblings.cjs.map +1 -0
- package/dist/_node_modules/hast-util-to-html/lib/omission/util/siblings.js +24 -0
- package/dist/_node_modules/hast-util-to-html/lib/omission/util/siblings.js.map +1 -0
- package/dist/_node_modules/hast-util-to-string/lib/index.cjs +24 -0
- package/dist/_node_modules/hast-util-to-string/lib/index.cjs.map +1 -0
- package/dist/_node_modules/hast-util-to-string/lib/index.js +24 -0
- package/dist/_node_modules/hast-util-to-string/lib/index.js.map +1 -0
- package/dist/_node_modules/hast-util-whitespace/lib/index.cjs +11 -0
- package/dist/_node_modules/hast-util-whitespace/lib/index.cjs.map +1 -0
- package/dist/_node_modules/hast-util-whitespace/lib/index.js +11 -0
- package/dist/_node_modules/hast-util-whitespace/lib/index.js.map +1 -0
- package/dist/_node_modules/hastscript/lib/create-h.cjs +159 -0
- package/dist/_node_modules/hastscript/lib/create-h.cjs.map +1 -0
- package/dist/_node_modules/hastscript/lib/create-h.js +159 -0
- package/dist/_node_modules/hastscript/lib/create-h.js.map +1 -0
- package/dist/_node_modules/hastscript/lib/index.cjs +10 -0
- package/dist/_node_modules/hastscript/lib/index.cjs.map +1 -0
- package/dist/_node_modules/hastscript/lib/index.js +10 -0
- package/dist/_node_modules/hastscript/lib/index.js.map +1 -0
- package/dist/_node_modules/hastscript/lib/svg-case-sensitive-tag-names.cjs +45 -0
- package/dist/_node_modules/hastscript/lib/svg-case-sensitive-tag-names.cjs.map +1 -0
- package/dist/_node_modules/hastscript/lib/svg-case-sensitive-tag-names.js +45 -0
- package/dist/_node_modules/hastscript/lib/svg-case-sensitive-tag-names.js.map +1 -0
- package/dist/_node_modules/html-void-elements/index.cjs +26 -0
- package/dist/_node_modules/html-void-elements/index.cjs.map +1 -0
- package/dist/_node_modules/html-void-elements/index.js +26 -0
- package/dist/_node_modules/html-void-elements/index.js.map +1 -0
- package/dist/_node_modules/mdast-util-from-markdown/lib/index.cjs +720 -0
- package/dist/_node_modules/mdast-util-from-markdown/lib/index.cjs.map +1 -0
- package/dist/_node_modules/mdast-util-from-markdown/lib/index.js +720 -0
- package/dist/_node_modules/mdast-util-from-markdown/lib/index.js.map +1 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/footer.cjs +116 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/footer.cjs.map +1 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/footer.js +116 -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.cjs +14 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/blockquote.cjs.map +1 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/blockquote.js +14 -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.cjs +9 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/break.cjs.map +1 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/break.js +9 -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.cjs +25 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/code.cjs.map +1 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/code.js +25 -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.cjs +14 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/delete.cjs.map +1 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/delete.js +14 -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.cjs +14 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/emphasis.cjs.map +1 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/emphasis.js +14 -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.cjs +42 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.cjs.map +1 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.js +42 -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/heading.cjs +14 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/heading.cjs.map +1 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/heading.js +14 -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.cjs +12 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/html.cjs.map +1 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/html.js +12 -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.cjs +20 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/image-reference.cjs.map +1 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/image-reference.js +20 -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.cjs +17 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/image.cjs.map +1 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/image.js +17 -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.cjs +60 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/index.cjs.map +1 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/index.js +60 -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.cjs +16 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/inline-code.cjs.map +1 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/inline-code.js +16 -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.cjs +25 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/link-reference.cjs.map +1 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/link-reference.js +25 -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.cjs +19 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/link.cjs.map +1 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/link.js +19 -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.cjs +65 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/list-item.cjs.map +1 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/list-item.js +65 -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.cjs +27 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/list.cjs.map +1 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/list.js +27 -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.cjs +14 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/paragraph.cjs.map +1 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/paragraph.js +14 -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.cjs +9 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/root.cjs.map +1 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/root.js +9 -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.cjs +14 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/strong.cjs.map +1 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/strong.js +14 -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.cjs +15 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/table-cell.cjs.map +1 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/table-cell.js +15 -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.cjs +36 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/table-row.cjs.map +1 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/table-row.js +36 -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.cjs +40 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/table.cjs.map +1 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/table.js +40 -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.cjs +10 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/text.cjs.map +1 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/text.js +10 -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.cjs +14 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/thematic-break.cjs.map +1 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/thematic-break.js +14 -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.cjs +16 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/index.cjs.map +1 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/index.js +16 -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.cjs +30 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/revert.cjs.map +1 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/revert.js +30 -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.cjs +149 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/state.cjs.map +1 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/state.js +149 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/state.js.map +1 -0
- package/dist/_node_modules/mdast-util-to-string/lib/index.cjs +39 -0
- package/dist/_node_modules/mdast-util-to-string/lib/index.cjs.map +1 -0
- package/dist/_node_modules/mdast-util-to-string/lib/index.js +39 -0
- package/dist/_node_modules/mdast-util-to-string/lib/index.js.map +1 -0
- package/dist/_node_modules/micromark/lib/constructs.cjs +94 -0
- package/dist/_node_modules/micromark/lib/constructs.cjs.map +1 -0
- package/dist/_node_modules/micromark/lib/constructs.js +94 -0
- package/dist/_node_modules/micromark/lib/constructs.js.map +1 -0
- package/dist/_node_modules/micromark/lib/create-tokenizer.cjs +316 -0
- package/dist/_node_modules/micromark/lib/create-tokenizer.cjs.map +1 -0
- package/dist/_node_modules/micromark/lib/create-tokenizer.js +316 -0
- package/dist/_node_modules/micromark/lib/create-tokenizer.js.map +1 -0
- package/dist/_node_modules/micromark/lib/initialize/content.cjs +58 -0
- package/dist/_node_modules/micromark/lib/initialize/content.cjs.map +1 -0
- package/dist/_node_modules/micromark/lib/initialize/content.js +58 -0
- package/dist/_node_modules/micromark/lib/initialize/content.js.map +1 -0
- package/dist/_node_modules/micromark/lib/initialize/document.cjs +212 -0
- package/dist/_node_modules/micromark/lib/initialize/document.cjs.map +1 -0
- package/dist/_node_modules/micromark/lib/initialize/document.js +212 -0
- package/dist/_node_modules/micromark/lib/initialize/document.js.map +1 -0
- package/dist/_node_modules/micromark/lib/initialize/flow.cjs +55 -0
- package/dist/_node_modules/micromark/lib/initialize/flow.cjs.map +1 -0
- package/dist/_node_modules/micromark/lib/initialize/flow.js +55 -0
- package/dist/_node_modules/micromark/lib/initialize/flow.js.map +1 -0
- package/dist/_node_modules/micromark/lib/initialize/text.cjs +143 -0
- package/dist/_node_modules/micromark/lib/initialize/text.cjs.map +1 -0
- package/dist/_node_modules/micromark/lib/initialize/text.js +143 -0
- package/dist/_node_modules/micromark/lib/initialize/text.js.map +1 -0
- package/dist/_node_modules/micromark/lib/parse.cjs +35 -0
- package/dist/_node_modules/micromark/lib/parse.cjs.map +1 -0
- package/dist/_node_modules/micromark/lib/parse.js +35 -0
- package/dist/_node_modules/micromark/lib/parse.js.map +1 -0
- package/dist/_node_modules/micromark/lib/postprocess.cjs +10 -0
- package/dist/_node_modules/micromark/lib/postprocess.cjs.map +1 -0
- package/dist/_node_modules/micromark/lib/postprocess.js +10 -0
- package/dist/_node_modules/micromark/lib/postprocess.js.map +1 -0
- package/dist/_node_modules/micromark/lib/preprocess.cjs +81 -0
- package/dist/_node_modules/micromark/lib/preprocess.cjs.map +1 -0
- package/dist/_node_modules/micromark/lib/preprocess.js +81 -0
- package/dist/_node_modules/micromark/lib/preprocess.js.map +1 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/attention.cjs +116 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/attention.cjs.map +1 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/attention.js +116 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/attention.js.map +1 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/autolink.cjs +104 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/autolink.cjs.map +1 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/autolink.js +104 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/autolink.js.map +1 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/blank-line.cjs +19 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/blank-line.cjs.map +1 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/blank-line.js +19 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/blank-line.js.map +1 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/block-quote.cjs +62 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/block-quote.cjs.map +1 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/block-quote.js +62 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/block-quote.js.map +1 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/character-escape.cjs +29 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/character-escape.cjs.map +1 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/character-escape.js +29 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/character-escape.js.map +1 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/character-reference.cjs +69 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/character-reference.cjs.map +1 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/character-reference.js +69 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/character-reference.js.map +1 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/code-fenced.cjs +187 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/code-fenced.cjs.map +1 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/code-fenced.js +187 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/code-fenced.js.map +1 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/code-indented.cjs +68 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/code-indented.cjs.map +1 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/code-indented.js +68 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/code-indented.js.map +1 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/code-text.cjs +117 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/code-text.cjs.map +1 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/code-text.js +117 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/code-text.js.map +1 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/content.cjs +76 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/content.cjs.map +1 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/content.js +76 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/content.js.map +1 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/definition.cjs +95 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/definition.cjs.map +1 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/definition.js +95 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/definition.js.map +1 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/hard-break-escape.cjs +24 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/hard-break-escape.cjs.map +1 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/hard-break-escape.js +24 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/hard-break-escape.js.map +1 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/heading-atx.cjs +96 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/heading-atx.cjs.map +1 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/heading-atx.js +96 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/heading-atx.js.map +1 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/html-flow.cjs +384 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/html-flow.cjs.map +1 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/html-flow.js +384 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/html-flow.js.map +1 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/html-text.cjs +310 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/html-text.cjs.map +1 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/html-text.js +310 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/html-text.js.map +1 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/label-end.cjs +219 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/label-end.cjs.map +1 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/label-end.js +219 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/label-end.js.map +1 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/label-start-image.cjs +34 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/label-start-image.cjs.map +1 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/label-start-image.js +34 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/label-start-image.js.map +1 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/label-start-link.cjs +25 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/label-start-link.cjs.map +1 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/label-start-link.js +25 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/label-start-link.js.map +1 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/line-ending.cjs +18 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/line-ending.cjs.map +1 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/line-ending.js +18 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/line-ending.js.map +1 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/list.cjs +136 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/list.cjs.map +1 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/list.js +136 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/list.js.map +1 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/setext-underline.cjs +90 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/setext-underline.cjs.map +1 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/setext-underline.js +90 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/setext-underline.js.map +1 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/thematic-break.cjs +43 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/thematic-break.cjs.map +1 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/thematic-break.js +43 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/thematic-break.js.map +1 -0
- package/dist/_node_modules/micromark-factory-destination/index.cjs +95 -0
- package/dist/_node_modules/micromark-factory-destination/index.cjs.map +1 -0
- package/dist/_node_modules/micromark-factory-destination/index.js +95 -0
- package/dist/_node_modules/micromark-factory-destination/index.js.map +1 -0
- package/dist/_node_modules/micromark-factory-label/index.cjs +64 -0
- package/dist/_node_modules/micromark-factory-label/index.cjs.map +1 -0
- package/dist/_node_modules/micromark-factory-label/index.js +64 -0
- package/dist/_node_modules/micromark-factory-label/index.js.map +1 -0
- package/dist/_node_modules/micromark-factory-space/index.cjs +25 -0
- package/dist/_node_modules/micromark-factory-space/index.cjs.map +1 -0
- package/dist/_node_modules/micromark-factory-space/index.js +25 -0
- package/dist/_node_modules/micromark-factory-space/index.js.map +1 -0
- package/dist/_node_modules/micromark-factory-title/index.cjs +66 -0
- package/dist/_node_modules/micromark-factory-title/index.cjs.map +1 -0
- package/dist/_node_modules/micromark-factory-title/index.js +66 -0
- package/dist/_node_modules/micromark-factory-title/index.js.map +1 -0
- package/dist/_node_modules/micromark-factory-whitespace/index.cjs +27 -0
- package/dist/_node_modules/micromark-factory-whitespace/index.cjs.map +1 -0
- package/dist/_node_modules/micromark-factory-whitespace/index.js +27 -0
- package/dist/_node_modules/micromark-factory-whitespace/index.js.map +1 -0
- package/dist/_node_modules/micromark-util-character/index.cjs +45 -0
- package/dist/_node_modules/micromark-util-character/index.cjs.map +1 -0
- package/dist/_node_modules/micromark-util-character/index.js +45 -0
- package/dist/_node_modules/micromark-util-character/index.js.map +1 -0
- package/dist/_node_modules/micromark-util-chunked/index.cjs +37 -0
- package/dist/_node_modules/micromark-util-chunked/index.cjs.map +1 -0
- package/dist/_node_modules/micromark-util-chunked/index.js +37 -0
- package/dist/_node_modules/micromark-util-chunked/index.js.map +1 -0
- package/dist/_node_modules/micromark-util-classify-character/index.cjs +13 -0
- package/dist/_node_modules/micromark-util-classify-character/index.cjs.map +1 -0
- package/dist/_node_modules/micromark-util-classify-character/index.js +13 -0
- package/dist/_node_modules/micromark-util-classify-character/index.js.map +1 -0
- package/dist/_node_modules/micromark-util-combine-extensions/index.cjs +42 -0
- package/dist/_node_modules/micromark-util-combine-extensions/index.cjs.map +1 -0
- package/dist/_node_modules/micromark-util-combine-extensions/index.js +42 -0
- package/dist/_node_modules/micromark-util-combine-extensions/index.js.map +1 -0
- package/dist/_node_modules/micromark-util-decode-numeric-character-reference/index.cjs +20 -0
- package/dist/_node_modules/micromark-util-decode-numeric-character-reference/index.cjs.map +1 -0
- package/dist/_node_modules/micromark-util-decode-numeric-character-reference/index.js +20 -0
- package/dist/_node_modules/micromark-util-decode-numeric-character-reference/index.js.map +1 -0
- package/dist/_node_modules/micromark-util-decode-string/index.cjs +22 -0
- package/dist/_node_modules/micromark-util-decode-string/index.cjs.map +1 -0
- package/dist/_node_modules/micromark-util-decode-string/index.js +22 -0
- package/dist/_node_modules/micromark-util-decode-string/index.js.map +1 -0
- package/dist/_node_modules/micromark-util-html-tag-name/index.cjs +70 -0
- package/dist/_node_modules/micromark-util-html-tag-name/index.cjs.map +1 -0
- package/dist/_node_modules/micromark-util-html-tag-name/index.js +70 -0
- package/dist/_node_modules/micromark-util-html-tag-name/index.js.map +1 -0
- package/dist/_node_modules/micromark-util-normalize-identifier/index.cjs +7 -0
- package/dist/_node_modules/micromark-util-normalize-identifier/index.cjs.map +1 -0
- package/dist/_node_modules/micromark-util-normalize-identifier/index.js +7 -0
- package/dist/_node_modules/micromark-util-normalize-identifier/index.js.map +1 -0
- package/dist/_node_modules/micromark-util-resolve-all/index.cjs +16 -0
- package/dist/_node_modules/micromark-util-resolve-all/index.cjs.map +1 -0
- package/dist/_node_modules/micromark-util-resolve-all/index.js +16 -0
- package/dist/_node_modules/micromark-util-resolve-all/index.js.map +1 -0
- package/dist/_node_modules/micromark-util-sanitize-uri/index.cjs +42 -0
- package/dist/_node_modules/micromark-util-sanitize-uri/index.cjs.map +1 -0
- package/dist/_node_modules/micromark-util-sanitize-uri/index.js +42 -0
- package/dist/_node_modules/micromark-util-sanitize-uri/index.js.map +1 -0
- package/dist/_node_modules/micromark-util-subtokenize/index.cjs +149 -0
- package/dist/_node_modules/micromark-util-subtokenize/index.cjs.map +1 -0
- package/dist/_node_modules/micromark-util-subtokenize/index.js +149 -0
- package/dist/_node_modules/micromark-util-subtokenize/index.js.map +1 -0
- package/dist/_node_modules/micromark-util-subtokenize/lib/splice-buffer.cjs +195 -0
- package/dist/_node_modules/micromark-util-subtokenize/lib/splice-buffer.cjs.map +1 -0
- package/dist/_node_modules/micromark-util-subtokenize/lib/splice-buffer.js +195 -0
- package/dist/_node_modules/micromark-util-subtokenize/lib/splice-buffer.js.map +1 -0
- package/dist/_node_modules/nth-check/lib/esm/compile.cjs +20 -0
- package/dist/_node_modules/nth-check/lib/esm/compile.cjs.map +1 -0
- package/dist/_node_modules/nth-check/lib/esm/compile.js +20 -0
- package/dist/_node_modules/nth-check/lib/esm/compile.js.map +1 -0
- package/dist/_node_modules/nth-check/lib/esm/index.cjs +11 -0
- package/dist/_node_modules/nth-check/lib/esm/index.cjs.map +1 -0
- package/dist/_node_modules/nth-check/lib/esm/index.js +11 -0
- package/dist/_node_modules/nth-check/lib/esm/index.js.map +1 -0
- package/dist/_node_modules/nth-check/lib/esm/parse.cjs +59 -0
- package/dist/_node_modules/nth-check/lib/esm/parse.cjs.map +1 -0
- package/dist/_node_modules/nth-check/lib/esm/parse.js +59 -0
- package/dist/_node_modules/nth-check/lib/esm/parse.js.map +1 -0
- package/dist/_node_modules/property-information/index.cjs +14 -0
- package/dist/_node_modules/property-information/index.cjs.map +1 -0
- package/dist/_node_modules/property-information/index.js +14 -0
- package/dist/_node_modules/property-information/index.js.map +1 -0
- package/dist/_node_modules/property-information/lib/aria.cjs +62 -0
- package/dist/_node_modules/property-information/lib/aria.cjs.map +1 -0
- package/dist/_node_modules/property-information/lib/aria.js +62 -0
- package/dist/_node_modules/property-information/lib/aria.js.map +1 -0
- package/dist/_node_modules/property-information/lib/find.cjs +41 -0
- package/dist/_node_modules/property-information/lib/find.cjs.map +1 -0
- package/dist/_node_modules/property-information/lib/find.js +41 -0
- package/dist/_node_modules/property-information/lib/find.js.map +1 -0
- package/dist/_node_modules/property-information/lib/html.cjs +369 -0
- package/dist/_node_modules/property-information/lib/html.cjs.map +1 -0
- package/dist/_node_modules/property-information/lib/html.js +369 -0
- package/dist/_node_modules/property-information/lib/html.js.map +1 -0
- package/dist/_node_modules/property-information/lib/normalize.cjs +7 -0
- package/dist/_node_modules/property-information/lib/normalize.cjs.map +1 -0
- package/dist/_node_modules/property-information/lib/normalize.js +7 -0
- package/dist/_node_modules/property-information/lib/normalize.js.map +1 -0
- package/dist/_node_modules/property-information/lib/svg.cjs +567 -0
- package/dist/_node_modules/property-information/lib/svg.cjs.map +1 -0
- package/dist/_node_modules/property-information/lib/svg.js +567 -0
- package/dist/_node_modules/property-information/lib/svg.js.map +1 -0
- package/dist/_node_modules/property-information/lib/util/case-insensitive-transform.cjs +8 -0
- package/dist/_node_modules/property-information/lib/util/case-insensitive-transform.cjs.map +1 -0
- package/dist/_node_modules/property-information/lib/util/case-insensitive-transform.js +8 -0
- package/dist/_node_modules/property-information/lib/util/case-insensitive-transform.js.map +1 -0
- package/dist/_node_modules/property-information/lib/util/case-sensitive-transform.cjs +7 -0
- package/dist/_node_modules/property-information/lib/util/case-sensitive-transform.cjs.map +1 -0
- package/dist/_node_modules/property-information/lib/util/case-sensitive-transform.js +7 -0
- package/dist/_node_modules/property-information/lib/util/case-sensitive-transform.js.map +1 -0
- package/dist/_node_modules/property-information/lib/util/create.cjs +31 -0
- package/dist/_node_modules/property-information/lib/util/create.cjs.map +1 -0
- package/dist/_node_modules/property-information/lib/util/create.js +31 -0
- package/dist/_node_modules/property-information/lib/util/create.js.map +1 -0
- package/dist/_node_modules/property-information/lib/util/defined-info.cjs +33 -0
- package/dist/_node_modules/property-information/lib/util/defined-info.cjs.map +1 -0
- package/dist/_node_modules/property-information/lib/util/defined-info.js +33 -0
- package/dist/_node_modules/property-information/lib/util/defined-info.js.map +1 -0
- package/dist/_node_modules/property-information/lib/util/info.cjs +25 -0
- package/dist/_node_modules/property-information/lib/util/info.cjs.map +1 -0
- package/dist/_node_modules/property-information/lib/util/info.js +25 -0
- package/dist/_node_modules/property-information/lib/util/info.js.map +1 -0
- package/dist/_node_modules/property-information/lib/util/merge.cjs +15 -0
- package/dist/_node_modules/property-information/lib/util/merge.cjs.map +1 -0
- package/dist/_node_modules/property-information/lib/util/merge.js +15 -0
- package/dist/_node_modules/property-information/lib/util/merge.js.map +1 -0
- package/dist/_node_modules/property-information/lib/util/schema.cjs +22 -0
- package/dist/_node_modules/property-information/lib/util/schema.cjs.map +1 -0
- package/dist/_node_modules/property-information/lib/util/schema.js +22 -0
- package/dist/_node_modules/property-information/lib/util/schema.js.map +1 -0
- package/dist/_node_modules/property-information/lib/util/types.cjs +21 -0
- package/dist/_node_modules/property-information/lib/util/types.cjs.map +1 -0
- package/dist/_node_modules/property-information/lib/util/types.js +21 -0
- package/dist/_node_modules/property-information/lib/util/types.js.map +1 -0
- package/dist/_node_modules/property-information/lib/xlink.cjs +20 -0
- package/dist/_node_modules/property-information/lib/xlink.cjs.map +1 -0
- package/dist/_node_modules/property-information/lib/xlink.js +20 -0
- package/dist/_node_modules/property-information/lib/xlink.js.map +1 -0
- package/dist/_node_modules/property-information/lib/xml.cjs +12 -0
- package/dist/_node_modules/property-information/lib/xml.cjs.map +1 -0
- package/dist/_node_modules/property-information/lib/xml.js +12 -0
- package/dist/_node_modules/property-information/lib/xml.js.map +1 -0
- package/dist/_node_modules/property-information/lib/xmlns.cjs +12 -0
- package/dist/_node_modules/property-information/lib/xmlns.cjs.map +1 -0
- package/dist/_node_modules/property-information/lib/xmlns.js +12 -0
- package/dist/_node_modules/property-information/lib/xmlns.js.map +1 -0
- package/dist/_node_modules/rehype-minify-whitespace/lib/block.cjs +122 -0
- package/dist/_node_modules/rehype-minify-whitespace/lib/block.cjs.map +1 -0
- package/dist/_node_modules/rehype-minify-whitespace/lib/block.js +122 -0
- package/dist/_node_modules/rehype-minify-whitespace/lib/block.js.map +1 -0
- package/dist/_node_modules/rehype-minify-whitespace/lib/content.cjs +11 -0
- package/dist/_node_modules/rehype-minify-whitespace/lib/content.cjs.map +1 -0
- package/dist/_node_modules/rehype-minify-whitespace/lib/content.js +11 -0
- package/dist/_node_modules/rehype-minify-whitespace/lib/content.js.map +1 -0
- package/dist/_node_modules/rehype-minify-whitespace/lib/index.cjs +169 -0
- package/dist/_node_modules/rehype-minify-whitespace/lib/index.cjs.map +1 -0
- package/dist/_node_modules/rehype-minify-whitespace/lib/index.js +170 -0
- package/dist/_node_modules/rehype-minify-whitespace/lib/index.js.map +1 -0
- package/dist/_node_modules/rehype-minify-whitespace/lib/skippable.cjs +24 -0
- package/dist/_node_modules/rehype-minify-whitespace/lib/skippable.cjs.map +1 -0
- package/dist/_node_modules/rehype-minify-whitespace/lib/skippable.js +24 -0
- package/dist/_node_modules/rehype-minify-whitespace/lib/skippable.js.map +1 -0
- package/dist/_node_modules/rehype-parse/lib/index.cjs +21 -0
- package/dist/_node_modules/rehype-parse/lib/index.cjs.map +1 -0
- package/dist/_node_modules/rehype-parse/lib/index.js +22 -0
- package/dist/_node_modules/rehype-parse/lib/index.js.map +1 -0
- package/dist/_node_modules/remark-parse/lib/index.cjs +19 -0
- package/dist/_node_modules/remark-parse/lib/index.cjs.map +1 -0
- package/dist/_node_modules/remark-parse/lib/index.js +20 -0
- package/dist/_node_modules/remark-parse/lib/index.js.map +1 -0
- package/dist/_node_modules/remark-rehype/lib/index.cjs +21 -0
- package/dist/_node_modules/remark-rehype/lib/index.cjs.map +1 -0
- package/dist/_node_modules/remark-rehype/lib/index.js +22 -0
- package/dist/_node_modules/remark-rehype/lib/index.js.map +1 -0
- package/dist/_node_modules/space-separated-tokens/index.cjs +12 -0
- package/dist/_node_modules/space-separated-tokens/index.cjs.map +1 -0
- package/dist/_node_modules/space-separated-tokens/index.js +12 -0
- package/dist/_node_modules/space-separated-tokens/index.js.map +1 -0
- package/dist/_node_modules/stringify-entities/lib/constant/dangerous.cjs +14 -0
- package/dist/_node_modules/stringify-entities/lib/constant/dangerous.cjs.map +1 -0
- package/dist/_node_modules/stringify-entities/lib/constant/dangerous.js +14 -0
- package/dist/_node_modules/stringify-entities/lib/constant/dangerous.js.map +1 -0
- package/dist/_node_modules/stringify-entities/lib/core.cjs +52 -0
- package/dist/_node_modules/stringify-entities/lib/core.cjs.map +1 -0
- package/dist/_node_modules/stringify-entities/lib/core.js +52 -0
- package/dist/_node_modules/stringify-entities/lib/core.js.map +1 -0
- package/dist/_node_modules/stringify-entities/lib/index.cjs +9 -0
- package/dist/_node_modules/stringify-entities/lib/index.cjs.map +1 -0
- package/dist/_node_modules/stringify-entities/lib/index.js +9 -0
- package/dist/_node_modules/stringify-entities/lib/index.js.map +1 -0
- package/dist/_node_modules/stringify-entities/lib/util/format-smart.cjs +26 -0
- package/dist/_node_modules/stringify-entities/lib/util/format-smart.cjs.map +1 -0
- package/dist/_node_modules/stringify-entities/lib/util/format-smart.js +26 -0
- package/dist/_node_modules/stringify-entities/lib/util/format-smart.js.map +1 -0
- package/dist/_node_modules/stringify-entities/lib/util/to-decimal.cjs +9 -0
- package/dist/_node_modules/stringify-entities/lib/util/to-decimal.cjs.map +1 -0
- package/dist/_node_modules/stringify-entities/lib/util/to-decimal.js +9 -0
- package/dist/_node_modules/stringify-entities/lib/util/to-decimal.js.map +1 -0
- package/dist/_node_modules/stringify-entities/lib/util/to-hexadecimal.cjs +9 -0
- package/dist/_node_modules/stringify-entities/lib/util/to-hexadecimal.cjs.map +1 -0
- package/dist/_node_modules/stringify-entities/lib/util/to-hexadecimal.js +9 -0
- package/dist/_node_modules/stringify-entities/lib/util/to-hexadecimal.js.map +1 -0
- package/dist/_node_modules/stringify-entities/lib/util/to-named.cjs +28 -0
- package/dist/_node_modules/stringify-entities/lib/util/to-named.cjs.map +1 -0
- package/dist/_node_modules/stringify-entities/lib/util/to-named.js +28 -0
- package/dist/_node_modules/stringify-entities/lib/util/to-named.js.map +1 -0
- package/dist/_node_modules/trim-lines/index.cjs +42 -0
- package/dist/_node_modules/trim-lines/index.cjs.map +1 -0
- package/dist/_node_modules/trim-lines/index.js +42 -0
- package/dist/_node_modules/trim-lines/index.js.map +1 -0
- package/dist/_node_modules/trough/lib/index.cjs +87 -0
- package/dist/_node_modules/trough/lib/index.cjs.map +1 -0
- package/dist/_node_modules/trough/lib/index.js +87 -0
- package/dist/_node_modules/trough/lib/index.js.map +1 -0
- package/dist/_node_modules/unified/_node_modules/is-plain-obj/index.cjs +10 -0
- package/dist/_node_modules/unified/_node_modules/is-plain-obj/index.cjs.map +1 -0
- package/dist/_node_modules/unified/_node_modules/is-plain-obj/index.js +11 -0
- package/dist/_node_modules/unified/_node_modules/is-plain-obj/index.js.map +1 -0
- package/dist/_node_modules/unified/lib/callable-instance.cjs +31 -0
- package/dist/_node_modules/unified/lib/callable-instance.cjs.map +1 -0
- package/dist/_node_modules/unified/lib/callable-instance.js +31 -0
- package/dist/_node_modules/unified/lib/callable-instance.js.map +1 -0
- package/dist/_node_modules/unified/lib/index.cjs +637 -0
- package/dist/_node_modules/unified/lib/index.cjs.map +1 -0
- package/dist/_node_modules/unified/lib/index.js +637 -0
- package/dist/_node_modules/unified/lib/index.js.map +1 -0
- package/dist/_node_modules/unist-util-is/lib/index.cjs +94 -0
- package/dist/_node_modules/unist-util-is/lib/index.cjs.map +1 -0
- package/dist/_node_modules/unist-util-is/lib/index.js +94 -0
- package/dist/_node_modules/unist-util-is/lib/index.js.map +1 -0
- package/dist/_node_modules/unist-util-position/lib/index.cjs +28 -0
- package/dist/_node_modules/unist-util-position/lib/index.cjs.map +1 -0
- package/dist/_node_modules/unist-util-position/lib/index.js +28 -0
- package/dist/_node_modules/unist-util-position/lib/index.js.map +1 -0
- package/dist/_node_modules/unist-util-remove/lib/index.cjs +39 -0
- package/dist/_node_modules/unist-util-remove/lib/index.cjs.map +1 -0
- package/dist/_node_modules/unist-util-remove/lib/index.js +39 -0
- package/dist/_node_modules/unist-util-remove/lib/index.js.map +1 -0
- package/dist/_node_modules/unist-util-stringify-position/lib/index.cjs +28 -0
- package/dist/_node_modules/unist-util-stringify-position/lib/index.cjs.map +1 -0
- package/dist/_node_modules/unist-util-stringify-position/lib/index.js +28 -0
- package/dist/_node_modules/unist-util-stringify-position/lib/index.js.map +1 -0
- package/dist/_node_modules/unist-util-visit/lib/index.cjs +28 -0
- package/dist/_node_modules/unist-util-visit/lib/index.cjs.map +1 -0
- package/dist/_node_modules/unist-util-visit/lib/index.js +29 -0
- package/dist/_node_modules/unist-util-visit/lib/index.js.map +1 -0
- package/dist/_node_modules/unist-util-visit-parents/lib/color.cjs +7 -0
- package/dist/_node_modules/unist-util-visit-parents/lib/color.cjs.map +1 -0
- package/dist/_node_modules/unist-util-visit-parents/lib/color.js +7 -0
- package/dist/_node_modules/unist-util-visit-parents/lib/color.js.map +1 -0
- package/dist/_node_modules/unist-util-visit-parents/lib/index.cjs +84 -0
- package/dist/_node_modules/unist-util-visit-parents/lib/index.cjs.map +1 -0
- package/dist/_node_modules/unist-util-visit-parents/lib/index.js +84 -0
- package/dist/_node_modules/unist-util-visit-parents/lib/index.js.map +1 -0
- package/dist/_node_modules/vfile/lib/index.cjs +463 -0
- package/dist/_node_modules/vfile/lib/index.cjs.map +1 -0
- package/dist/_node_modules/vfile/lib/index.js +463 -0
- package/dist/_node_modules/vfile/lib/index.js.map +1 -0
- package/dist/_node_modules/vfile/lib/minpath.browser.cjs +215 -0
- package/dist/_node_modules/vfile/lib/minpath.browser.cjs.map +1 -0
- package/dist/_node_modules/vfile/lib/minpath.browser.js +215 -0
- package/dist/_node_modules/vfile/lib/minpath.browser.js.map +1 -0
- package/dist/_node_modules/vfile/lib/minproc.browser.cjs +8 -0
- package/dist/_node_modules/vfile/lib/minproc.browser.cjs.map +1 -0
- package/dist/_node_modules/vfile/lib/minproc.browser.js +8 -0
- package/dist/_node_modules/vfile/lib/minproc.browser.js.map +1 -0
- package/dist/_node_modules/vfile/lib/minurl.browser.cjs +47 -0
- package/dist/_node_modules/vfile/lib/minurl.browser.cjs.map +1 -0
- package/dist/_node_modules/vfile/lib/minurl.browser.js +47 -0
- package/dist/_node_modules/vfile/lib/minurl.browser.js.map +1 -0
- package/dist/_node_modules/vfile/lib/minurl.shared.cjs +10 -0
- package/dist/_node_modules/vfile/lib/minurl.shared.cjs.map +1 -0
- package/dist/_node_modules/vfile/lib/minurl.shared.js +10 -0
- package/dist/_node_modules/vfile/lib/minurl.shared.js.map +1 -0
- package/dist/_node_modules/vfile-location/lib/index.cjs +50 -0
- package/dist/_node_modules/vfile-location/lib/index.cjs.map +1 -0
- package/dist/_node_modules/vfile-location/lib/index.js +50 -0
- package/dist/_node_modules/vfile-location/lib/index.js.map +1 -0
- package/dist/_node_modules/vfile-message/lib/index.cjs +139 -0
- package/dist/_node_modules/vfile-message/lib/index.cjs.map +1 -0
- package/dist/_node_modules/vfile-message/lib/index.js +139 -0
- package/dist/_node_modules/vfile-message/lib/index.js.map +1 -0
- package/dist/_node_modules/web-namespaces/index.cjs +12 -0
- package/dist/_node_modules/web-namespaces/index.cjs.map +1 -0
- package/dist/_node_modules/web-namespaces/index.js +12 -0
- package/dist/_node_modules/web-namespaces/index.js.map +1 -0
- package/dist/_node_modules/zwitch/index.cjs +23 -0
- package/dist/_node_modules/zwitch/index.cjs.map +1 -0
- package/dist/_node_modules/zwitch/index.js +23 -0
- package/dist/_node_modules/zwitch/index.js.map +1 -0
- package/dist/_virtual/_commonjsHelpers.cjs +7 -0
- package/dist/_virtual/_commonjsHelpers.cjs.map +1 -0
- package/dist/_virtual/_commonjsHelpers.js +7 -0
- package/dist/_virtual/_commonjsHelpers.js.map +1 -0
- package/dist/_virtual/index.cjs +9 -0
- package/dist/_virtual/index.cjs.map +1 -0
- package/dist/_virtual/index.js +9 -0
- package/dist/_virtual/index.js.map +1 -0
- package/dist/helpers/unstable_htmlAsRichText.cjs +3 -3
- package/dist/helpers/unstable_htmlAsRichText.cjs.map +1 -1
- package/dist/helpers/unstable_htmlAsRichText.js +2 -2
- package/dist/helpers/unstable_markdownAsRichText.cjs +4 -4
- package/dist/helpers/unstable_markdownAsRichText.cjs.map +1 -1
- package/dist/helpers/unstable_markdownAsRichText.js +3 -3
- package/dist/lib/hastSerializerHelpers.cjs +2 -2
- package/dist/lib/hastSerializerHelpers.cjs.map +1 -1
- package/dist/lib/hastSerializerHelpers.js +1 -1
- package/dist/lib/hastToRichText.cjs +5 -5
- package/dist/lib/hastToRichText.cjs.map +1 -1
- package/dist/lib/hastToRichText.js +2 -2
- package/dist/lib/hastToRichText.js.map +1 -1
- package/dist/lib/rehypeRichText.cjs +13 -12
- package/dist/lib/rehypeRichText.cjs.map +1 -1
- package/dist/lib/rehypeRichText.js +5 -4
- package/dist/lib/rehypeRichText.js.map +1 -1
- package/dist/package.json.cjs +1 -1
- package/dist/package.json.js +1 -1
- package/package.json +15 -13
- package/src/lib/hastToRichText.ts +1 -1
|
@@ -0,0 +1,310 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const index$1 = require("../../micromark-factory-space/index.cjs");
|
|
4
|
+
const index = require("../../micromark-util-character/index.cjs");
|
|
5
|
+
const htmlText = {
|
|
6
|
+
name: "htmlText",
|
|
7
|
+
tokenize: tokenizeHtmlText
|
|
8
|
+
};
|
|
9
|
+
function tokenizeHtmlText(effects, ok, nok) {
|
|
10
|
+
const self = this;
|
|
11
|
+
let marker;
|
|
12
|
+
let index$2;
|
|
13
|
+
let returnState;
|
|
14
|
+
return start;
|
|
15
|
+
function start(code) {
|
|
16
|
+
effects.enter("htmlText");
|
|
17
|
+
effects.enter("htmlTextData");
|
|
18
|
+
effects.consume(code);
|
|
19
|
+
return open;
|
|
20
|
+
}
|
|
21
|
+
function open(code) {
|
|
22
|
+
if (code === 33) {
|
|
23
|
+
effects.consume(code);
|
|
24
|
+
return declarationOpen;
|
|
25
|
+
}
|
|
26
|
+
if (code === 47) {
|
|
27
|
+
effects.consume(code);
|
|
28
|
+
return tagCloseStart;
|
|
29
|
+
}
|
|
30
|
+
if (code === 63) {
|
|
31
|
+
effects.consume(code);
|
|
32
|
+
return instruction;
|
|
33
|
+
}
|
|
34
|
+
if (index.asciiAlpha(code)) {
|
|
35
|
+
effects.consume(code);
|
|
36
|
+
return tagOpen;
|
|
37
|
+
}
|
|
38
|
+
return nok(code);
|
|
39
|
+
}
|
|
40
|
+
function declarationOpen(code) {
|
|
41
|
+
if (code === 45) {
|
|
42
|
+
effects.consume(code);
|
|
43
|
+
return commentOpenInside;
|
|
44
|
+
}
|
|
45
|
+
if (code === 91) {
|
|
46
|
+
effects.consume(code);
|
|
47
|
+
index$2 = 0;
|
|
48
|
+
return cdataOpenInside;
|
|
49
|
+
}
|
|
50
|
+
if (index.asciiAlpha(code)) {
|
|
51
|
+
effects.consume(code);
|
|
52
|
+
return declaration;
|
|
53
|
+
}
|
|
54
|
+
return nok(code);
|
|
55
|
+
}
|
|
56
|
+
function commentOpenInside(code) {
|
|
57
|
+
if (code === 45) {
|
|
58
|
+
effects.consume(code);
|
|
59
|
+
return commentEnd;
|
|
60
|
+
}
|
|
61
|
+
return nok(code);
|
|
62
|
+
}
|
|
63
|
+
function comment(code) {
|
|
64
|
+
if (code === null) {
|
|
65
|
+
return nok(code);
|
|
66
|
+
}
|
|
67
|
+
if (code === 45) {
|
|
68
|
+
effects.consume(code);
|
|
69
|
+
return commentClose;
|
|
70
|
+
}
|
|
71
|
+
if (index.markdownLineEnding(code)) {
|
|
72
|
+
returnState = comment;
|
|
73
|
+
return lineEndingBefore(code);
|
|
74
|
+
}
|
|
75
|
+
effects.consume(code);
|
|
76
|
+
return comment;
|
|
77
|
+
}
|
|
78
|
+
function commentClose(code) {
|
|
79
|
+
if (code === 45) {
|
|
80
|
+
effects.consume(code);
|
|
81
|
+
return commentEnd;
|
|
82
|
+
}
|
|
83
|
+
return comment(code);
|
|
84
|
+
}
|
|
85
|
+
function commentEnd(code) {
|
|
86
|
+
return code === 62 ? end(code) : code === 45 ? commentClose(code) : comment(code);
|
|
87
|
+
}
|
|
88
|
+
function cdataOpenInside(code) {
|
|
89
|
+
const value = "CDATA[";
|
|
90
|
+
if (code === value.charCodeAt(index$2++)) {
|
|
91
|
+
effects.consume(code);
|
|
92
|
+
return index$2 === value.length ? cdata : cdataOpenInside;
|
|
93
|
+
}
|
|
94
|
+
return nok(code);
|
|
95
|
+
}
|
|
96
|
+
function cdata(code) {
|
|
97
|
+
if (code === null) {
|
|
98
|
+
return nok(code);
|
|
99
|
+
}
|
|
100
|
+
if (code === 93) {
|
|
101
|
+
effects.consume(code);
|
|
102
|
+
return cdataClose;
|
|
103
|
+
}
|
|
104
|
+
if (index.markdownLineEnding(code)) {
|
|
105
|
+
returnState = cdata;
|
|
106
|
+
return lineEndingBefore(code);
|
|
107
|
+
}
|
|
108
|
+
effects.consume(code);
|
|
109
|
+
return cdata;
|
|
110
|
+
}
|
|
111
|
+
function cdataClose(code) {
|
|
112
|
+
if (code === 93) {
|
|
113
|
+
effects.consume(code);
|
|
114
|
+
return cdataEnd;
|
|
115
|
+
}
|
|
116
|
+
return cdata(code);
|
|
117
|
+
}
|
|
118
|
+
function cdataEnd(code) {
|
|
119
|
+
if (code === 62) {
|
|
120
|
+
return end(code);
|
|
121
|
+
}
|
|
122
|
+
if (code === 93) {
|
|
123
|
+
effects.consume(code);
|
|
124
|
+
return cdataEnd;
|
|
125
|
+
}
|
|
126
|
+
return cdata(code);
|
|
127
|
+
}
|
|
128
|
+
function declaration(code) {
|
|
129
|
+
if (code === null || code === 62) {
|
|
130
|
+
return end(code);
|
|
131
|
+
}
|
|
132
|
+
if (index.markdownLineEnding(code)) {
|
|
133
|
+
returnState = declaration;
|
|
134
|
+
return lineEndingBefore(code);
|
|
135
|
+
}
|
|
136
|
+
effects.consume(code);
|
|
137
|
+
return declaration;
|
|
138
|
+
}
|
|
139
|
+
function instruction(code) {
|
|
140
|
+
if (code === null) {
|
|
141
|
+
return nok(code);
|
|
142
|
+
}
|
|
143
|
+
if (code === 63) {
|
|
144
|
+
effects.consume(code);
|
|
145
|
+
return instructionClose;
|
|
146
|
+
}
|
|
147
|
+
if (index.markdownLineEnding(code)) {
|
|
148
|
+
returnState = instruction;
|
|
149
|
+
return lineEndingBefore(code);
|
|
150
|
+
}
|
|
151
|
+
effects.consume(code);
|
|
152
|
+
return instruction;
|
|
153
|
+
}
|
|
154
|
+
function instructionClose(code) {
|
|
155
|
+
return code === 62 ? end(code) : instruction(code);
|
|
156
|
+
}
|
|
157
|
+
function tagCloseStart(code) {
|
|
158
|
+
if (index.asciiAlpha(code)) {
|
|
159
|
+
effects.consume(code);
|
|
160
|
+
return tagClose;
|
|
161
|
+
}
|
|
162
|
+
return nok(code);
|
|
163
|
+
}
|
|
164
|
+
function tagClose(code) {
|
|
165
|
+
if (code === 45 || index.asciiAlphanumeric(code)) {
|
|
166
|
+
effects.consume(code);
|
|
167
|
+
return tagClose;
|
|
168
|
+
}
|
|
169
|
+
return tagCloseBetween(code);
|
|
170
|
+
}
|
|
171
|
+
function tagCloseBetween(code) {
|
|
172
|
+
if (index.markdownLineEnding(code)) {
|
|
173
|
+
returnState = tagCloseBetween;
|
|
174
|
+
return lineEndingBefore(code);
|
|
175
|
+
}
|
|
176
|
+
if (index.markdownSpace(code)) {
|
|
177
|
+
effects.consume(code);
|
|
178
|
+
return tagCloseBetween;
|
|
179
|
+
}
|
|
180
|
+
return end(code);
|
|
181
|
+
}
|
|
182
|
+
function tagOpen(code) {
|
|
183
|
+
if (code === 45 || index.asciiAlphanumeric(code)) {
|
|
184
|
+
effects.consume(code);
|
|
185
|
+
return tagOpen;
|
|
186
|
+
}
|
|
187
|
+
if (code === 47 || code === 62 || index.markdownLineEndingOrSpace(code)) {
|
|
188
|
+
return tagOpenBetween(code);
|
|
189
|
+
}
|
|
190
|
+
return nok(code);
|
|
191
|
+
}
|
|
192
|
+
function tagOpenBetween(code) {
|
|
193
|
+
if (code === 47) {
|
|
194
|
+
effects.consume(code);
|
|
195
|
+
return end;
|
|
196
|
+
}
|
|
197
|
+
if (code === 58 || code === 95 || index.asciiAlpha(code)) {
|
|
198
|
+
effects.consume(code);
|
|
199
|
+
return tagOpenAttributeName;
|
|
200
|
+
}
|
|
201
|
+
if (index.markdownLineEnding(code)) {
|
|
202
|
+
returnState = tagOpenBetween;
|
|
203
|
+
return lineEndingBefore(code);
|
|
204
|
+
}
|
|
205
|
+
if (index.markdownSpace(code)) {
|
|
206
|
+
effects.consume(code);
|
|
207
|
+
return tagOpenBetween;
|
|
208
|
+
}
|
|
209
|
+
return end(code);
|
|
210
|
+
}
|
|
211
|
+
function tagOpenAttributeName(code) {
|
|
212
|
+
if (code === 45 || code === 46 || code === 58 || code === 95 || index.asciiAlphanumeric(code)) {
|
|
213
|
+
effects.consume(code);
|
|
214
|
+
return tagOpenAttributeName;
|
|
215
|
+
}
|
|
216
|
+
return tagOpenAttributeNameAfter(code);
|
|
217
|
+
}
|
|
218
|
+
function tagOpenAttributeNameAfter(code) {
|
|
219
|
+
if (code === 61) {
|
|
220
|
+
effects.consume(code);
|
|
221
|
+
return tagOpenAttributeValueBefore;
|
|
222
|
+
}
|
|
223
|
+
if (index.markdownLineEnding(code)) {
|
|
224
|
+
returnState = tagOpenAttributeNameAfter;
|
|
225
|
+
return lineEndingBefore(code);
|
|
226
|
+
}
|
|
227
|
+
if (index.markdownSpace(code)) {
|
|
228
|
+
effects.consume(code);
|
|
229
|
+
return tagOpenAttributeNameAfter;
|
|
230
|
+
}
|
|
231
|
+
return tagOpenBetween(code);
|
|
232
|
+
}
|
|
233
|
+
function tagOpenAttributeValueBefore(code) {
|
|
234
|
+
if (code === null || code === 60 || code === 61 || code === 62 || code === 96) {
|
|
235
|
+
return nok(code);
|
|
236
|
+
}
|
|
237
|
+
if (code === 34 || code === 39) {
|
|
238
|
+
effects.consume(code);
|
|
239
|
+
marker = code;
|
|
240
|
+
return tagOpenAttributeValueQuoted;
|
|
241
|
+
}
|
|
242
|
+
if (index.markdownLineEnding(code)) {
|
|
243
|
+
returnState = tagOpenAttributeValueBefore;
|
|
244
|
+
return lineEndingBefore(code);
|
|
245
|
+
}
|
|
246
|
+
if (index.markdownSpace(code)) {
|
|
247
|
+
effects.consume(code);
|
|
248
|
+
return tagOpenAttributeValueBefore;
|
|
249
|
+
}
|
|
250
|
+
effects.consume(code);
|
|
251
|
+
return tagOpenAttributeValueUnquoted;
|
|
252
|
+
}
|
|
253
|
+
function tagOpenAttributeValueQuoted(code) {
|
|
254
|
+
if (code === marker) {
|
|
255
|
+
effects.consume(code);
|
|
256
|
+
marker = void 0;
|
|
257
|
+
return tagOpenAttributeValueQuotedAfter;
|
|
258
|
+
}
|
|
259
|
+
if (code === null) {
|
|
260
|
+
return nok(code);
|
|
261
|
+
}
|
|
262
|
+
if (index.markdownLineEnding(code)) {
|
|
263
|
+
returnState = tagOpenAttributeValueQuoted;
|
|
264
|
+
return lineEndingBefore(code);
|
|
265
|
+
}
|
|
266
|
+
effects.consume(code);
|
|
267
|
+
return tagOpenAttributeValueQuoted;
|
|
268
|
+
}
|
|
269
|
+
function tagOpenAttributeValueUnquoted(code) {
|
|
270
|
+
if (code === null || code === 34 || code === 39 || code === 60 || code === 61 || code === 96) {
|
|
271
|
+
return nok(code);
|
|
272
|
+
}
|
|
273
|
+
if (code === 47 || code === 62 || index.markdownLineEndingOrSpace(code)) {
|
|
274
|
+
return tagOpenBetween(code);
|
|
275
|
+
}
|
|
276
|
+
effects.consume(code);
|
|
277
|
+
return tagOpenAttributeValueUnquoted;
|
|
278
|
+
}
|
|
279
|
+
function tagOpenAttributeValueQuotedAfter(code) {
|
|
280
|
+
if (code === 47 || code === 62 || index.markdownLineEndingOrSpace(code)) {
|
|
281
|
+
return tagOpenBetween(code);
|
|
282
|
+
}
|
|
283
|
+
return nok(code);
|
|
284
|
+
}
|
|
285
|
+
function end(code) {
|
|
286
|
+
if (code === 62) {
|
|
287
|
+
effects.consume(code);
|
|
288
|
+
effects.exit("htmlTextData");
|
|
289
|
+
effects.exit("htmlText");
|
|
290
|
+
return ok;
|
|
291
|
+
}
|
|
292
|
+
return nok(code);
|
|
293
|
+
}
|
|
294
|
+
function lineEndingBefore(code) {
|
|
295
|
+
effects.exit("htmlTextData");
|
|
296
|
+
effects.enter("lineEnding");
|
|
297
|
+
effects.consume(code);
|
|
298
|
+
effects.exit("lineEnding");
|
|
299
|
+
return lineEndingAfter;
|
|
300
|
+
}
|
|
301
|
+
function lineEndingAfter(code) {
|
|
302
|
+
return index.markdownSpace(code) ? index$1.factorySpace(effects, lineEndingAfterPrefix, "linePrefix", self.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(code) : lineEndingAfterPrefix(code);
|
|
303
|
+
}
|
|
304
|
+
function lineEndingAfterPrefix(code) {
|
|
305
|
+
effects.enter("htmlTextData");
|
|
306
|
+
return returnState(code);
|
|
307
|
+
}
|
|
308
|
+
}
|
|
309
|
+
exports.htmlText = htmlText;
|
|
310
|
+
//# sourceMappingURL=html-text.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"html-text.cjs","sources":["../../../../node_modules/micromark-core-commonmark/lib/html-text.js"],"sourcesContent":["/**\n * @typedef {import('micromark-util-types').Code} Code\n * @typedef {import('micromark-util-types').Construct} Construct\n * @typedef {import('micromark-util-types').State} State\n * @typedef {import('micromark-util-types').TokenizeContext} TokenizeContext\n * @typedef {import('micromark-util-types').Tokenizer} Tokenizer\n */\n\nimport { factorySpace } from 'micromark-factory-space';\nimport { asciiAlpha, asciiAlphanumeric, markdownLineEnding, markdownLineEndingOrSpace, markdownSpace } from 'micromark-util-character';\n/** @type {Construct} */\nexport const htmlText = {\n name: 'htmlText',\n tokenize: tokenizeHtmlText\n};\n\n/**\n * @this {TokenizeContext}\n * @type {Tokenizer}\n */\nfunction tokenizeHtmlText(effects, ok, nok) {\n const self = this;\n /** @type {NonNullable<Code> | undefined} */\n let marker;\n /** @type {number} */\n let index;\n /** @type {State} */\n let returnState;\n return start;\n\n /**\n * Start of HTML (text).\n *\n * ```markdown\n * > | a <b> c\n * ^\n * ```\n *\n * @type {State}\n */\n function start(code) {\n effects.enter(\"htmlText\");\n effects.enter(\"htmlTextData\");\n effects.consume(code);\n return open;\n }\n\n /**\n * After `<`, at tag name or other stuff.\n *\n * ```markdown\n * > | a <b> c\n * ^\n * > | a <!doctype> c\n * ^\n * > | a <!--b--> c\n * ^\n * ```\n *\n * @type {State}\n */\n function open(code) {\n if (code === 33) {\n effects.consume(code);\n return declarationOpen;\n }\n if (code === 47) {\n effects.consume(code);\n return tagCloseStart;\n }\n if (code === 63) {\n effects.consume(code);\n return instruction;\n }\n\n // ASCII alphabetical.\n if (asciiAlpha(code)) {\n effects.consume(code);\n return tagOpen;\n }\n return nok(code);\n }\n\n /**\n * After `<!`, at declaration, comment, or CDATA.\n *\n * ```markdown\n * > | a <!doctype> c\n * ^\n * > | a <!--b--> c\n * ^\n * > | a <![CDATA[>&<]]> c\n * ^\n * ```\n *\n * @type {State}\n */\n function declarationOpen(code) {\n if (code === 45) {\n effects.consume(code);\n return commentOpenInside;\n }\n if (code === 91) {\n effects.consume(code);\n index = 0;\n return cdataOpenInside;\n }\n if (asciiAlpha(code)) {\n effects.consume(code);\n return declaration;\n }\n return nok(code);\n }\n\n /**\n * In a comment, after `<!-`, at another `-`.\n *\n * ```markdown\n * > | a <!--b--> c\n * ^\n * ```\n *\n * @type {State}\n */\n function commentOpenInside(code) {\n if (code === 45) {\n effects.consume(code);\n return commentEnd;\n }\n return nok(code);\n }\n\n /**\n * In comment.\n *\n * ```markdown\n * > | a <!--b--> c\n * ^\n * ```\n *\n * @type {State}\n */\n function comment(code) {\n if (code === null) {\n return nok(code);\n }\n if (code === 45) {\n effects.consume(code);\n return commentClose;\n }\n if (markdownLineEnding(code)) {\n returnState = comment;\n return lineEndingBefore(code);\n }\n effects.consume(code);\n return comment;\n }\n\n /**\n * In comment, after `-`.\n *\n * ```markdown\n * > | a <!--b--> c\n * ^\n * ```\n *\n * @type {State}\n */\n function commentClose(code) {\n if (code === 45) {\n effects.consume(code);\n return commentEnd;\n }\n return comment(code);\n }\n\n /**\n * In comment, after `--`.\n *\n * ```markdown\n * > | a <!--b--> c\n * ^\n * ```\n *\n * @type {State}\n */\n function commentEnd(code) {\n return code === 62 ? end(code) : code === 45 ? commentClose(code) : comment(code);\n }\n\n /**\n * After `<![`, in CDATA, expecting `CDATA[`.\n *\n * ```markdown\n * > | a <![CDATA[>&<]]> b\n * ^^^^^^\n * ```\n *\n * @type {State}\n */\n function cdataOpenInside(code) {\n const value = \"CDATA[\";\n if (code === value.charCodeAt(index++)) {\n effects.consume(code);\n return index === value.length ? cdata : cdataOpenInside;\n }\n return nok(code);\n }\n\n /**\n * In CDATA.\n *\n * ```markdown\n * > | a <![CDATA[>&<]]> b\n * ^^^\n * ```\n *\n * @type {State}\n */\n function cdata(code) {\n if (code === null) {\n return nok(code);\n }\n if (code === 93) {\n effects.consume(code);\n return cdataClose;\n }\n if (markdownLineEnding(code)) {\n returnState = cdata;\n return lineEndingBefore(code);\n }\n effects.consume(code);\n return cdata;\n }\n\n /**\n * In CDATA, after `]`, at another `]`.\n *\n * ```markdown\n * > | a <![CDATA[>&<]]> b\n * ^\n * ```\n *\n * @type {State}\n */\n function cdataClose(code) {\n if (code === 93) {\n effects.consume(code);\n return cdataEnd;\n }\n return cdata(code);\n }\n\n /**\n * In CDATA, after `]]`, at `>`.\n *\n * ```markdown\n * > | a <![CDATA[>&<]]> b\n * ^\n * ```\n *\n * @type {State}\n */\n function cdataEnd(code) {\n if (code === 62) {\n return end(code);\n }\n if (code === 93) {\n effects.consume(code);\n return cdataEnd;\n }\n return cdata(code);\n }\n\n /**\n * In declaration.\n *\n * ```markdown\n * > | a <!b> c\n * ^\n * ```\n *\n * @type {State}\n */\n function declaration(code) {\n if (code === null || code === 62) {\n return end(code);\n }\n if (markdownLineEnding(code)) {\n returnState = declaration;\n return lineEndingBefore(code);\n }\n effects.consume(code);\n return declaration;\n }\n\n /**\n * In instruction.\n *\n * ```markdown\n * > | a <?b?> c\n * ^\n * ```\n *\n * @type {State}\n */\n function instruction(code) {\n if (code === null) {\n return nok(code);\n }\n if (code === 63) {\n effects.consume(code);\n return instructionClose;\n }\n if (markdownLineEnding(code)) {\n returnState = instruction;\n return lineEndingBefore(code);\n }\n effects.consume(code);\n return instruction;\n }\n\n /**\n * In instruction, after `?`, at `>`.\n *\n * ```markdown\n * > | a <?b?> c\n * ^\n * ```\n *\n * @type {State}\n */\n function instructionClose(code) {\n return code === 62 ? end(code) : instruction(code);\n }\n\n /**\n * After `</`, in closing tag, at tag name.\n *\n * ```markdown\n * > | a </b> c\n * ^\n * ```\n *\n * @type {State}\n */\n function tagCloseStart(code) {\n // ASCII alphabetical.\n if (asciiAlpha(code)) {\n effects.consume(code);\n return tagClose;\n }\n return nok(code);\n }\n\n /**\n * After `</x`, in a tag name.\n *\n * ```markdown\n * > | a </b> c\n * ^\n * ```\n *\n * @type {State}\n */\n function tagClose(code) {\n // ASCII alphanumerical and `-`.\n if (code === 45 || asciiAlphanumeric(code)) {\n effects.consume(code);\n return tagClose;\n }\n return tagCloseBetween(code);\n }\n\n /**\n * In closing tag, after tag name.\n *\n * ```markdown\n * > | a </b> c\n * ^\n * ```\n *\n * @type {State}\n */\n function tagCloseBetween(code) {\n if (markdownLineEnding(code)) {\n returnState = tagCloseBetween;\n return lineEndingBefore(code);\n }\n if (markdownSpace(code)) {\n effects.consume(code);\n return tagCloseBetween;\n }\n return end(code);\n }\n\n /**\n * After `<x`, in opening tag name.\n *\n * ```markdown\n * > | a <b> c\n * ^\n * ```\n *\n * @type {State}\n */\n function tagOpen(code) {\n // ASCII alphanumerical and `-`.\n if (code === 45 || asciiAlphanumeric(code)) {\n effects.consume(code);\n return tagOpen;\n }\n if (code === 47 || code === 62 || markdownLineEndingOrSpace(code)) {\n return tagOpenBetween(code);\n }\n return nok(code);\n }\n\n /**\n * In opening tag, after tag name.\n *\n * ```markdown\n * > | a <b> c\n * ^\n * ```\n *\n * @type {State}\n */\n function tagOpenBetween(code) {\n if (code === 47) {\n effects.consume(code);\n return end;\n }\n\n // ASCII alphabetical and `:` and `_`.\n if (code === 58 || code === 95 || asciiAlpha(code)) {\n effects.consume(code);\n return tagOpenAttributeName;\n }\n if (markdownLineEnding(code)) {\n returnState = tagOpenBetween;\n return lineEndingBefore(code);\n }\n if (markdownSpace(code)) {\n effects.consume(code);\n return tagOpenBetween;\n }\n return end(code);\n }\n\n /**\n * In attribute name.\n *\n * ```markdown\n * > | a <b c> d\n * ^\n * ```\n *\n * @type {State}\n */\n function tagOpenAttributeName(code) {\n // ASCII alphabetical and `-`, `.`, `:`, and `_`.\n if (code === 45 || code === 46 || code === 58 || code === 95 || asciiAlphanumeric(code)) {\n effects.consume(code);\n return tagOpenAttributeName;\n }\n return tagOpenAttributeNameAfter(code);\n }\n\n /**\n * After attribute name, before initializer, the end of the tag, or\n * whitespace.\n *\n * ```markdown\n * > | a <b c> d\n * ^\n * ```\n *\n * @type {State}\n */\n function tagOpenAttributeNameAfter(code) {\n if (code === 61) {\n effects.consume(code);\n return tagOpenAttributeValueBefore;\n }\n if (markdownLineEnding(code)) {\n returnState = tagOpenAttributeNameAfter;\n return lineEndingBefore(code);\n }\n if (markdownSpace(code)) {\n effects.consume(code);\n return tagOpenAttributeNameAfter;\n }\n return tagOpenBetween(code);\n }\n\n /**\n * Before unquoted, double quoted, or single quoted attribute value, allowing\n * whitespace.\n *\n * ```markdown\n * > | a <b c=d> e\n * ^\n * ```\n *\n * @type {State}\n */\n function tagOpenAttributeValueBefore(code) {\n if (code === null || code === 60 || code === 61 || code === 62 || code === 96) {\n return nok(code);\n }\n if (code === 34 || code === 39) {\n effects.consume(code);\n marker = code;\n return tagOpenAttributeValueQuoted;\n }\n if (markdownLineEnding(code)) {\n returnState = tagOpenAttributeValueBefore;\n return lineEndingBefore(code);\n }\n if (markdownSpace(code)) {\n effects.consume(code);\n return tagOpenAttributeValueBefore;\n }\n effects.consume(code);\n return tagOpenAttributeValueUnquoted;\n }\n\n /**\n * In double or single quoted attribute value.\n *\n * ```markdown\n * > | a <b c=\"d\"> e\n * ^\n * ```\n *\n * @type {State}\n */\n function tagOpenAttributeValueQuoted(code) {\n if (code === marker) {\n effects.consume(code);\n marker = undefined;\n return tagOpenAttributeValueQuotedAfter;\n }\n if (code === null) {\n return nok(code);\n }\n if (markdownLineEnding(code)) {\n returnState = tagOpenAttributeValueQuoted;\n return lineEndingBefore(code);\n }\n effects.consume(code);\n return tagOpenAttributeValueQuoted;\n }\n\n /**\n * In unquoted attribute value.\n *\n * ```markdown\n * > | a <b c=d> e\n * ^\n * ```\n *\n * @type {State}\n */\n function tagOpenAttributeValueUnquoted(code) {\n if (code === null || code === 34 || code === 39 || code === 60 || code === 61 || code === 96) {\n return nok(code);\n }\n if (code === 47 || code === 62 || markdownLineEndingOrSpace(code)) {\n return tagOpenBetween(code);\n }\n effects.consume(code);\n return tagOpenAttributeValueUnquoted;\n }\n\n /**\n * After double or single quoted attribute value, before whitespace or the end\n * of the tag.\n *\n * ```markdown\n * > | a <b c=\"d\"> e\n * ^\n * ```\n *\n * @type {State}\n */\n function tagOpenAttributeValueQuotedAfter(code) {\n if (code === 47 || code === 62 || markdownLineEndingOrSpace(code)) {\n return tagOpenBetween(code);\n }\n return nok(code);\n }\n\n /**\n * In certain circumstances of a tag where only an `>` is allowed.\n *\n * ```markdown\n * > | a <b c=\"d\"> e\n * ^\n * ```\n *\n * @type {State}\n */\n function end(code) {\n if (code === 62) {\n effects.consume(code);\n effects.exit(\"htmlTextData\");\n effects.exit(\"htmlText\");\n return ok;\n }\n return nok(code);\n }\n\n /**\n * At eol.\n *\n * > 👉 **Note**: we can’t have blank lines in text, so no need to worry about\n * > empty tokens.\n *\n * ```markdown\n * > | a <!--a\n * ^\n * | b-->\n * ```\n *\n * @type {State}\n */\n function lineEndingBefore(code) {\n effects.exit(\"htmlTextData\");\n effects.enter(\"lineEnding\");\n effects.consume(code);\n effects.exit(\"lineEnding\");\n return lineEndingAfter;\n }\n\n /**\n * After eol, at optional whitespace.\n *\n * > 👉 **Note**: we can’t have blank lines in text, so no need to worry about\n * > empty tokens.\n *\n * ```markdown\n * | a <!--a\n * > | b-->\n * ^\n * ```\n *\n * @type {State}\n */\n function lineEndingAfter(code) {\n // Always populated by defaults.\n\n return markdownSpace(code) ? factorySpace(effects, lineEndingAfterPrefix, \"linePrefix\", self.parser.constructs.disable.null.includes('codeIndented') ? undefined : 4)(code) : lineEndingAfterPrefix(code);\n }\n\n /**\n * After eol, after optional whitespace.\n *\n * > 👉 **Note**: we can’t have blank lines in text, so no need to worry about\n * > empty tokens.\n *\n * ```markdown\n * | a <!--a\n * > | b-->\n * ^\n * ```\n *\n * @type {State}\n */\n function lineEndingAfterPrefix(code) {\n effects.enter(\"htmlTextData\");\n return returnState(code);\n }\n}"],"names":["index","asciiAlpha","markdownLineEnding","asciiAlphanumeric","markdownSpace","markdownLineEndingOrSpace","factorySpace"],"mappings":"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","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,310 @@
|
|
|
1
|
+
import { factorySpace } from "../../micromark-factory-space/index.js";
|
|
2
|
+
import { asciiAlpha, markdownLineEnding, asciiAlphanumeric, markdownSpace, markdownLineEndingOrSpace } from "../../micromark-util-character/index.js";
|
|
3
|
+
const htmlText = {
|
|
4
|
+
name: "htmlText",
|
|
5
|
+
tokenize: tokenizeHtmlText
|
|
6
|
+
};
|
|
7
|
+
function tokenizeHtmlText(effects, ok, nok) {
|
|
8
|
+
const self = this;
|
|
9
|
+
let marker;
|
|
10
|
+
let index;
|
|
11
|
+
let returnState;
|
|
12
|
+
return start;
|
|
13
|
+
function start(code) {
|
|
14
|
+
effects.enter("htmlText");
|
|
15
|
+
effects.enter("htmlTextData");
|
|
16
|
+
effects.consume(code);
|
|
17
|
+
return open;
|
|
18
|
+
}
|
|
19
|
+
function open(code) {
|
|
20
|
+
if (code === 33) {
|
|
21
|
+
effects.consume(code);
|
|
22
|
+
return declarationOpen;
|
|
23
|
+
}
|
|
24
|
+
if (code === 47) {
|
|
25
|
+
effects.consume(code);
|
|
26
|
+
return tagCloseStart;
|
|
27
|
+
}
|
|
28
|
+
if (code === 63) {
|
|
29
|
+
effects.consume(code);
|
|
30
|
+
return instruction;
|
|
31
|
+
}
|
|
32
|
+
if (asciiAlpha(code)) {
|
|
33
|
+
effects.consume(code);
|
|
34
|
+
return tagOpen;
|
|
35
|
+
}
|
|
36
|
+
return nok(code);
|
|
37
|
+
}
|
|
38
|
+
function declarationOpen(code) {
|
|
39
|
+
if (code === 45) {
|
|
40
|
+
effects.consume(code);
|
|
41
|
+
return commentOpenInside;
|
|
42
|
+
}
|
|
43
|
+
if (code === 91) {
|
|
44
|
+
effects.consume(code);
|
|
45
|
+
index = 0;
|
|
46
|
+
return cdataOpenInside;
|
|
47
|
+
}
|
|
48
|
+
if (asciiAlpha(code)) {
|
|
49
|
+
effects.consume(code);
|
|
50
|
+
return declaration;
|
|
51
|
+
}
|
|
52
|
+
return nok(code);
|
|
53
|
+
}
|
|
54
|
+
function commentOpenInside(code) {
|
|
55
|
+
if (code === 45) {
|
|
56
|
+
effects.consume(code);
|
|
57
|
+
return commentEnd;
|
|
58
|
+
}
|
|
59
|
+
return nok(code);
|
|
60
|
+
}
|
|
61
|
+
function comment(code) {
|
|
62
|
+
if (code === null) {
|
|
63
|
+
return nok(code);
|
|
64
|
+
}
|
|
65
|
+
if (code === 45) {
|
|
66
|
+
effects.consume(code);
|
|
67
|
+
return commentClose;
|
|
68
|
+
}
|
|
69
|
+
if (markdownLineEnding(code)) {
|
|
70
|
+
returnState = comment;
|
|
71
|
+
return lineEndingBefore(code);
|
|
72
|
+
}
|
|
73
|
+
effects.consume(code);
|
|
74
|
+
return comment;
|
|
75
|
+
}
|
|
76
|
+
function commentClose(code) {
|
|
77
|
+
if (code === 45) {
|
|
78
|
+
effects.consume(code);
|
|
79
|
+
return commentEnd;
|
|
80
|
+
}
|
|
81
|
+
return comment(code);
|
|
82
|
+
}
|
|
83
|
+
function commentEnd(code) {
|
|
84
|
+
return code === 62 ? end(code) : code === 45 ? commentClose(code) : comment(code);
|
|
85
|
+
}
|
|
86
|
+
function cdataOpenInside(code) {
|
|
87
|
+
const value = "CDATA[";
|
|
88
|
+
if (code === value.charCodeAt(index++)) {
|
|
89
|
+
effects.consume(code);
|
|
90
|
+
return index === value.length ? cdata : cdataOpenInside;
|
|
91
|
+
}
|
|
92
|
+
return nok(code);
|
|
93
|
+
}
|
|
94
|
+
function cdata(code) {
|
|
95
|
+
if (code === null) {
|
|
96
|
+
return nok(code);
|
|
97
|
+
}
|
|
98
|
+
if (code === 93) {
|
|
99
|
+
effects.consume(code);
|
|
100
|
+
return cdataClose;
|
|
101
|
+
}
|
|
102
|
+
if (markdownLineEnding(code)) {
|
|
103
|
+
returnState = cdata;
|
|
104
|
+
return lineEndingBefore(code);
|
|
105
|
+
}
|
|
106
|
+
effects.consume(code);
|
|
107
|
+
return cdata;
|
|
108
|
+
}
|
|
109
|
+
function cdataClose(code) {
|
|
110
|
+
if (code === 93) {
|
|
111
|
+
effects.consume(code);
|
|
112
|
+
return cdataEnd;
|
|
113
|
+
}
|
|
114
|
+
return cdata(code);
|
|
115
|
+
}
|
|
116
|
+
function cdataEnd(code) {
|
|
117
|
+
if (code === 62) {
|
|
118
|
+
return end(code);
|
|
119
|
+
}
|
|
120
|
+
if (code === 93) {
|
|
121
|
+
effects.consume(code);
|
|
122
|
+
return cdataEnd;
|
|
123
|
+
}
|
|
124
|
+
return cdata(code);
|
|
125
|
+
}
|
|
126
|
+
function declaration(code) {
|
|
127
|
+
if (code === null || code === 62) {
|
|
128
|
+
return end(code);
|
|
129
|
+
}
|
|
130
|
+
if (markdownLineEnding(code)) {
|
|
131
|
+
returnState = declaration;
|
|
132
|
+
return lineEndingBefore(code);
|
|
133
|
+
}
|
|
134
|
+
effects.consume(code);
|
|
135
|
+
return declaration;
|
|
136
|
+
}
|
|
137
|
+
function instruction(code) {
|
|
138
|
+
if (code === null) {
|
|
139
|
+
return nok(code);
|
|
140
|
+
}
|
|
141
|
+
if (code === 63) {
|
|
142
|
+
effects.consume(code);
|
|
143
|
+
return instructionClose;
|
|
144
|
+
}
|
|
145
|
+
if (markdownLineEnding(code)) {
|
|
146
|
+
returnState = instruction;
|
|
147
|
+
return lineEndingBefore(code);
|
|
148
|
+
}
|
|
149
|
+
effects.consume(code);
|
|
150
|
+
return instruction;
|
|
151
|
+
}
|
|
152
|
+
function instructionClose(code) {
|
|
153
|
+
return code === 62 ? end(code) : instruction(code);
|
|
154
|
+
}
|
|
155
|
+
function tagCloseStart(code) {
|
|
156
|
+
if (asciiAlpha(code)) {
|
|
157
|
+
effects.consume(code);
|
|
158
|
+
return tagClose;
|
|
159
|
+
}
|
|
160
|
+
return nok(code);
|
|
161
|
+
}
|
|
162
|
+
function tagClose(code) {
|
|
163
|
+
if (code === 45 || asciiAlphanumeric(code)) {
|
|
164
|
+
effects.consume(code);
|
|
165
|
+
return tagClose;
|
|
166
|
+
}
|
|
167
|
+
return tagCloseBetween(code);
|
|
168
|
+
}
|
|
169
|
+
function tagCloseBetween(code) {
|
|
170
|
+
if (markdownLineEnding(code)) {
|
|
171
|
+
returnState = tagCloseBetween;
|
|
172
|
+
return lineEndingBefore(code);
|
|
173
|
+
}
|
|
174
|
+
if (markdownSpace(code)) {
|
|
175
|
+
effects.consume(code);
|
|
176
|
+
return tagCloseBetween;
|
|
177
|
+
}
|
|
178
|
+
return end(code);
|
|
179
|
+
}
|
|
180
|
+
function tagOpen(code) {
|
|
181
|
+
if (code === 45 || asciiAlphanumeric(code)) {
|
|
182
|
+
effects.consume(code);
|
|
183
|
+
return tagOpen;
|
|
184
|
+
}
|
|
185
|
+
if (code === 47 || code === 62 || markdownLineEndingOrSpace(code)) {
|
|
186
|
+
return tagOpenBetween(code);
|
|
187
|
+
}
|
|
188
|
+
return nok(code);
|
|
189
|
+
}
|
|
190
|
+
function tagOpenBetween(code) {
|
|
191
|
+
if (code === 47) {
|
|
192
|
+
effects.consume(code);
|
|
193
|
+
return end;
|
|
194
|
+
}
|
|
195
|
+
if (code === 58 || code === 95 || asciiAlpha(code)) {
|
|
196
|
+
effects.consume(code);
|
|
197
|
+
return tagOpenAttributeName;
|
|
198
|
+
}
|
|
199
|
+
if (markdownLineEnding(code)) {
|
|
200
|
+
returnState = tagOpenBetween;
|
|
201
|
+
return lineEndingBefore(code);
|
|
202
|
+
}
|
|
203
|
+
if (markdownSpace(code)) {
|
|
204
|
+
effects.consume(code);
|
|
205
|
+
return tagOpenBetween;
|
|
206
|
+
}
|
|
207
|
+
return end(code);
|
|
208
|
+
}
|
|
209
|
+
function tagOpenAttributeName(code) {
|
|
210
|
+
if (code === 45 || code === 46 || code === 58 || code === 95 || asciiAlphanumeric(code)) {
|
|
211
|
+
effects.consume(code);
|
|
212
|
+
return tagOpenAttributeName;
|
|
213
|
+
}
|
|
214
|
+
return tagOpenAttributeNameAfter(code);
|
|
215
|
+
}
|
|
216
|
+
function tagOpenAttributeNameAfter(code) {
|
|
217
|
+
if (code === 61) {
|
|
218
|
+
effects.consume(code);
|
|
219
|
+
return tagOpenAttributeValueBefore;
|
|
220
|
+
}
|
|
221
|
+
if (markdownLineEnding(code)) {
|
|
222
|
+
returnState = tagOpenAttributeNameAfter;
|
|
223
|
+
return lineEndingBefore(code);
|
|
224
|
+
}
|
|
225
|
+
if (markdownSpace(code)) {
|
|
226
|
+
effects.consume(code);
|
|
227
|
+
return tagOpenAttributeNameAfter;
|
|
228
|
+
}
|
|
229
|
+
return tagOpenBetween(code);
|
|
230
|
+
}
|
|
231
|
+
function tagOpenAttributeValueBefore(code) {
|
|
232
|
+
if (code === null || code === 60 || code === 61 || code === 62 || code === 96) {
|
|
233
|
+
return nok(code);
|
|
234
|
+
}
|
|
235
|
+
if (code === 34 || code === 39) {
|
|
236
|
+
effects.consume(code);
|
|
237
|
+
marker = code;
|
|
238
|
+
return tagOpenAttributeValueQuoted;
|
|
239
|
+
}
|
|
240
|
+
if (markdownLineEnding(code)) {
|
|
241
|
+
returnState = tagOpenAttributeValueBefore;
|
|
242
|
+
return lineEndingBefore(code);
|
|
243
|
+
}
|
|
244
|
+
if (markdownSpace(code)) {
|
|
245
|
+
effects.consume(code);
|
|
246
|
+
return tagOpenAttributeValueBefore;
|
|
247
|
+
}
|
|
248
|
+
effects.consume(code);
|
|
249
|
+
return tagOpenAttributeValueUnquoted;
|
|
250
|
+
}
|
|
251
|
+
function tagOpenAttributeValueQuoted(code) {
|
|
252
|
+
if (code === marker) {
|
|
253
|
+
effects.consume(code);
|
|
254
|
+
marker = void 0;
|
|
255
|
+
return tagOpenAttributeValueQuotedAfter;
|
|
256
|
+
}
|
|
257
|
+
if (code === null) {
|
|
258
|
+
return nok(code);
|
|
259
|
+
}
|
|
260
|
+
if (markdownLineEnding(code)) {
|
|
261
|
+
returnState = tagOpenAttributeValueQuoted;
|
|
262
|
+
return lineEndingBefore(code);
|
|
263
|
+
}
|
|
264
|
+
effects.consume(code);
|
|
265
|
+
return tagOpenAttributeValueQuoted;
|
|
266
|
+
}
|
|
267
|
+
function tagOpenAttributeValueUnquoted(code) {
|
|
268
|
+
if (code === null || code === 34 || code === 39 || code === 60 || code === 61 || code === 96) {
|
|
269
|
+
return nok(code);
|
|
270
|
+
}
|
|
271
|
+
if (code === 47 || code === 62 || markdownLineEndingOrSpace(code)) {
|
|
272
|
+
return tagOpenBetween(code);
|
|
273
|
+
}
|
|
274
|
+
effects.consume(code);
|
|
275
|
+
return tagOpenAttributeValueUnquoted;
|
|
276
|
+
}
|
|
277
|
+
function tagOpenAttributeValueQuotedAfter(code) {
|
|
278
|
+
if (code === 47 || code === 62 || markdownLineEndingOrSpace(code)) {
|
|
279
|
+
return tagOpenBetween(code);
|
|
280
|
+
}
|
|
281
|
+
return nok(code);
|
|
282
|
+
}
|
|
283
|
+
function end(code) {
|
|
284
|
+
if (code === 62) {
|
|
285
|
+
effects.consume(code);
|
|
286
|
+
effects.exit("htmlTextData");
|
|
287
|
+
effects.exit("htmlText");
|
|
288
|
+
return ok;
|
|
289
|
+
}
|
|
290
|
+
return nok(code);
|
|
291
|
+
}
|
|
292
|
+
function lineEndingBefore(code) {
|
|
293
|
+
effects.exit("htmlTextData");
|
|
294
|
+
effects.enter("lineEnding");
|
|
295
|
+
effects.consume(code);
|
|
296
|
+
effects.exit("lineEnding");
|
|
297
|
+
return lineEndingAfter;
|
|
298
|
+
}
|
|
299
|
+
function lineEndingAfter(code) {
|
|
300
|
+
return markdownSpace(code) ? factorySpace(effects, lineEndingAfterPrefix, "linePrefix", self.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(code) : lineEndingAfterPrefix(code);
|
|
301
|
+
}
|
|
302
|
+
function lineEndingAfterPrefix(code) {
|
|
303
|
+
effects.enter("htmlTextData");
|
|
304
|
+
return returnState(code);
|
|
305
|
+
}
|
|
306
|
+
}
|
|
307
|
+
export {
|
|
308
|
+
htmlText
|
|
309
|
+
};
|
|
310
|
+
//# sourceMappingURL=html-text.js.map
|