@prismicio/client 7.7.5-alpha.0 → 7.8.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.
Files changed (807) hide show
  1. package/dist/index.cjs +0 -8
  2. package/dist/index.cjs.map +1 -1
  3. package/dist/index.d.ts +0 -5
  4. package/dist/index.js +1 -9
  5. package/dist/index.js.map +1 -1
  6. package/dist/package.json.cjs +1 -1
  7. package/dist/package.json.js +1 -1
  8. package/package.json +2 -16
  9. package/src/index.ts +0 -8
  10. package/dist/_node_modules/@ungap/structured-clone/esm/deserialize.cjs +0 -63
  11. package/dist/_node_modules/@ungap/structured-clone/esm/deserialize.cjs.map +0 -1
  12. package/dist/_node_modules/@ungap/structured-clone/esm/deserialize.js +0 -63
  13. package/dist/_node_modules/@ungap/structured-clone/esm/deserialize.js.map +0 -1
  14. package/dist/_node_modules/@ungap/structured-clone/esm/index.cjs +0 -12
  15. package/dist/_node_modules/@ungap/structured-clone/esm/index.cjs.map +0 -1
  16. package/dist/_node_modules/@ungap/structured-clone/esm/index.js +0 -12
  17. package/dist/_node_modules/@ungap/structured-clone/esm/index.js.map +0 -1
  18. package/dist/_node_modules/@ungap/structured-clone/esm/serialize.cjs +0 -127
  19. package/dist/_node_modules/@ungap/structured-clone/esm/serialize.cjs.map +0 -1
  20. package/dist/_node_modules/@ungap/structured-clone/esm/serialize.js +0 -127
  21. package/dist/_node_modules/@ungap/structured-clone/esm/serialize.js.map +0 -1
  22. package/dist/_node_modules/@ungap/structured-clone/esm/types.cjs +0 -23
  23. package/dist/_node_modules/@ungap/structured-clone/esm/types.cjs.map +0 -1
  24. package/dist/_node_modules/@ungap/structured-clone/esm/types.js +0 -23
  25. package/dist/_node_modules/@ungap/structured-clone/esm/types.js.map +0 -1
  26. package/dist/_node_modules/bail/index.cjs +0 -9
  27. package/dist/_node_modules/bail/index.cjs.map +0 -1
  28. package/dist/_node_modules/bail/index.js +0 -9
  29. package/dist/_node_modules/bail/index.js.map +0 -1
  30. package/dist/_node_modules/bcp-47-match/index.cjs +0 -74
  31. package/dist/_node_modules/bcp-47-match/index.cjs.map +0 -1
  32. package/dist/_node_modules/bcp-47-match/index.js +0 -74
  33. package/dist/_node_modules/bcp-47-match/index.js.map +0 -1
  34. package/dist/_node_modules/boolbase/index.cjs +0 -13
  35. package/dist/_node_modules/boolbase/index.cjs.map +0 -1
  36. package/dist/_node_modules/boolbase/index.js +0 -14
  37. package/dist/_node_modules/boolbase/index.js.map +0 -1
  38. package/dist/_node_modules/ccount/index.cjs +0 -17
  39. package/dist/_node_modules/ccount/index.cjs.map +0 -1
  40. package/dist/_node_modules/ccount/index.js +0 -17
  41. package/dist/_node_modules/ccount/index.js.map +0 -1
  42. package/dist/_node_modules/character-entities/index.cjs +0 -2131
  43. package/dist/_node_modules/character-entities/index.cjs.map +0 -1
  44. package/dist/_node_modules/character-entities/index.js +0 -2131
  45. package/dist/_node_modules/character-entities/index.js.map +0 -1
  46. package/dist/_node_modules/character-entities-html4/index.cjs +0 -258
  47. package/dist/_node_modules/character-entities-html4/index.cjs.map +0 -1
  48. package/dist/_node_modules/character-entities-html4/index.js +0 -258
  49. package/dist/_node_modules/character-entities-html4/index.js.map +0 -1
  50. package/dist/_node_modules/character-entities-legacy/index.cjs +0 -112
  51. package/dist/_node_modules/character-entities-legacy/index.cjs.map +0 -1
  52. package/dist/_node_modules/character-entities-legacy/index.js +0 -112
  53. package/dist/_node_modules/character-entities-legacy/index.js.map +0 -1
  54. package/dist/_node_modules/comma-separated-tokens/index.cjs +0 -32
  55. package/dist/_node_modules/comma-separated-tokens/index.cjs.map +0 -1
  56. package/dist/_node_modules/comma-separated-tokens/index.js +0 -32
  57. package/dist/_node_modules/comma-separated-tokens/index.js.map +0 -1
  58. package/dist/_node_modules/devlop/lib/default.cjs +0 -6
  59. package/dist/_node_modules/devlop/lib/default.cjs.map +0 -1
  60. package/dist/_node_modules/devlop/lib/default.js +0 -6
  61. package/dist/_node_modules/devlop/lib/default.js.map +0 -1
  62. package/dist/_node_modules/direction/index.cjs +0 -12
  63. package/dist/_node_modules/direction/index.cjs.map +0 -1
  64. package/dist/_node_modules/direction/index.js +0 -12
  65. package/dist/_node_modules/direction/index.js.map +0 -1
  66. package/dist/_node_modules/extend/index.cjs +0 -89
  67. package/dist/_node_modules/extend/index.cjs.map +0 -1
  68. package/dist/_node_modules/extend/index.js +0 -90
  69. package/dist/_node_modules/extend/index.js.map +0 -1
  70. package/dist/_node_modules/hast-util-embedded/lib/index.cjs +0 -14
  71. package/dist/_node_modules/hast-util-embedded/lib/index.cjs.map +0 -1
  72. package/dist/_node_modules/hast-util-embedded/lib/index.js +0 -14
  73. package/dist/_node_modules/hast-util-embedded/lib/index.js.map +0 -1
  74. package/dist/_node_modules/hast-util-from-html/lib/errors.cjs +0 -317
  75. package/dist/_node_modules/hast-util-from-html/lib/errors.cjs.map +0 -1
  76. package/dist/_node_modules/hast-util-from-html/lib/errors.js +0 -317
  77. package/dist/_node_modules/hast-util-from-html/lib/errors.js.map +0 -1
  78. package/dist/_node_modules/hast-util-from-html/lib/index.cjs +0 -96
  79. package/dist/_node_modules/hast-util-from-html/lib/index.cjs.map +0 -1
  80. package/dist/_node_modules/hast-util-from-html/lib/index.js +0 -96
  81. package/dist/_node_modules/hast-util-from-html/lib/index.js.map +0 -1
  82. package/dist/_node_modules/hast-util-from-parse5/lib/index.cjs +0 -187
  83. package/dist/_node_modules/hast-util-from-parse5/lib/index.cjs.map +0 -1
  84. package/dist/_node_modules/hast-util-from-parse5/lib/index.js +0 -187
  85. package/dist/_node_modules/hast-util-from-parse5/lib/index.js.map +0 -1
  86. package/dist/_node_modules/hast-util-has-property/lib/index.cjs +0 -9
  87. package/dist/_node_modules/hast-util-has-property/lib/index.cjs.map +0 -1
  88. package/dist/_node_modules/hast-util-has-property/lib/index.js +0 -9
  89. package/dist/_node_modules/hast-util-has-property/lib/index.js.map +0 -1
  90. package/dist/_node_modules/hast-util-is-element/lib/index.cjs +0 -102
  91. package/dist/_node_modules/hast-util-is-element/lib/index.cjs.map +0 -1
  92. package/dist/_node_modules/hast-util-is-element/lib/index.js +0 -102
  93. package/dist/_node_modules/hast-util-is-element/lib/index.js.map +0 -1
  94. package/dist/_node_modules/hast-util-parse-selector/lib/index.cjs +0 -40
  95. package/dist/_node_modules/hast-util-parse-selector/lib/index.cjs.map +0 -1
  96. package/dist/_node_modules/hast-util-parse-selector/lib/index.js +0 -40
  97. package/dist/_node_modules/hast-util-parse-selector/lib/index.js.map +0 -1
  98. package/dist/_node_modules/hast-util-select/lib/attribute.cjs +0 -67
  99. package/dist/_node_modules/hast-util-select/lib/attribute.cjs.map +0 -1
  100. package/dist/_node_modules/hast-util-select/lib/attribute.js +0 -67
  101. package/dist/_node_modules/hast-util-select/lib/attribute.js.map +0 -1
  102. package/dist/_node_modules/hast-util-select/lib/class-name.cjs +0 -12
  103. package/dist/_node_modules/hast-util-select/lib/class-name.cjs.map +0 -1
  104. package/dist/_node_modules/hast-util-select/lib/class-name.js +0 -12
  105. package/dist/_node_modules/hast-util-select/lib/class-name.js.map +0 -1
  106. package/dist/_node_modules/hast-util-select/lib/enter-state.cjs +0 -79
  107. package/dist/_node_modules/hast-util-select/lib/enter-state.cjs.map +0 -1
  108. package/dist/_node_modules/hast-util-select/lib/enter-state.js +0 -79
  109. package/dist/_node_modules/hast-util-select/lib/enter-state.js.map +0 -1
  110. package/dist/_node_modules/hast-util-select/lib/id.cjs +0 -7
  111. package/dist/_node_modules/hast-util-select/lib/id.cjs.map +0 -1
  112. package/dist/_node_modules/hast-util-select/lib/id.js +0 -7
  113. package/dist/_node_modules/hast-util-select/lib/id.js.map +0 -1
  114. package/dist/_node_modules/hast-util-select/lib/index.cjs +0 -38
  115. package/dist/_node_modules/hast-util-select/lib/index.cjs.map +0 -1
  116. package/dist/_node_modules/hast-util-select/lib/index.js +0 -38
  117. package/dist/_node_modules/hast-util-select/lib/index.js.map +0 -1
  118. package/dist/_node_modules/hast-util-select/lib/name.cjs +0 -7
  119. package/dist/_node_modules/hast-util-select/lib/name.cjs.map +0 -1
  120. package/dist/_node_modules/hast-util-select/lib/name.js +0 -7
  121. package/dist/_node_modules/hast-util-select/lib/name.js.map +0 -1
  122. package/dist/_node_modules/hast-util-select/lib/parse.cjs +0 -12
  123. package/dist/_node_modules/hast-util-select/lib/parse.cjs.map +0 -1
  124. package/dist/_node_modules/hast-util-select/lib/parse.js +0 -12
  125. package/dist/_node_modules/hast-util-select/lib/parse.js.map +0 -1
  126. package/dist/_node_modules/hast-util-select/lib/pseudo.cjs +0 -231
  127. package/dist/_node_modules/hast-util-select/lib/pseudo.cjs.map +0 -1
  128. package/dist/_node_modules/hast-util-select/lib/pseudo.js +0 -231
  129. package/dist/_node_modules/hast-util-select/lib/pseudo.js.map +0 -1
  130. package/dist/_node_modules/hast-util-select/lib/test.cjs +0 -27
  131. package/dist/_node_modules/hast-util-select/lib/test.cjs.map +0 -1
  132. package/dist/_node_modules/hast-util-select/lib/test.js +0 -27
  133. package/dist/_node_modules/hast-util-select/lib/test.js.map +0 -1
  134. package/dist/_node_modules/hast-util-select/lib/walk.cjs +0 -132
  135. package/dist/_node_modules/hast-util-select/lib/walk.cjs.map +0 -1
  136. package/dist/_node_modules/hast-util-select/lib/walk.js +0 -132
  137. package/dist/_node_modules/hast-util-select/lib/walk.js.map +0 -1
  138. package/dist/_node_modules/hast-util-to-html/lib/handle/comment.cjs +0 -24
  139. package/dist/_node_modules/hast-util-to-html/lib/handle/comment.cjs.map +0 -1
  140. package/dist/_node_modules/hast-util-to-html/lib/handle/comment.js +0 -24
  141. package/dist/_node_modules/hast-util-to-html/lib/handle/comment.js.map +0 -1
  142. package/dist/_node_modules/hast-util-to-html/lib/handle/doctype.cjs +0 -7
  143. package/dist/_node_modules/hast-util-to-html/lib/handle/doctype.cjs.map +0 -1
  144. package/dist/_node_modules/hast-util-to-html/lib/handle/doctype.js +0 -7
  145. package/dist/_node_modules/hast-util-to-html/lib/handle/doctype.js.map +0 -1
  146. package/dist/_node_modules/hast-util-to-html/lib/handle/element.cjs +0 -137
  147. package/dist/_node_modules/hast-util-to-html/lib/handle/element.cjs.map +0 -1
  148. package/dist/_node_modules/hast-util-to-html/lib/handle/element.js +0 -137
  149. package/dist/_node_modules/hast-util-to-html/lib/handle/element.js.map +0 -1
  150. package/dist/_node_modules/hast-util-to-html/lib/handle/index.cjs +0 -26
  151. package/dist/_node_modules/hast-util-to-html/lib/handle/index.cjs.map +0 -1
  152. package/dist/_node_modules/hast-util-to-html/lib/handle/index.js +0 -26
  153. package/dist/_node_modules/hast-util-to-html/lib/handle/index.js.map +0 -1
  154. package/dist/_node_modules/hast-util-to-html/lib/handle/raw.cjs +0 -8
  155. package/dist/_node_modules/hast-util-to-html/lib/handle/raw.cjs.map +0 -1
  156. package/dist/_node_modules/hast-util-to-html/lib/handle/raw.js +0 -8
  157. package/dist/_node_modules/hast-util-to-html/lib/handle/raw.js.map +0 -1
  158. package/dist/_node_modules/hast-util-to-html/lib/handle/root.cjs +0 -7
  159. package/dist/_node_modules/hast-util-to-html/lib/handle/root.cjs.map +0 -1
  160. package/dist/_node_modules/hast-util-to-html/lib/handle/root.js +0 -7
  161. package/dist/_node_modules/hast-util-to-html/lib/handle/root.js.map +0 -1
  162. package/dist/_node_modules/hast-util-to-html/lib/handle/text.cjs +0 -14
  163. package/dist/_node_modules/hast-util-to-html/lib/handle/text.cjs.map +0 -1
  164. package/dist/_node_modules/hast-util-to-html/lib/handle/text.js +0 -14
  165. package/dist/_node_modules/hast-util-to-html/lib/handle/text.js.map +0 -1
  166. package/dist/_node_modules/hast-util-to-html/lib/index.cjs +0 -62
  167. package/dist/_node_modules/hast-util-to-html/lib/index.cjs.map +0 -1
  168. package/dist/_node_modules/hast-util-to-html/lib/index.js +0 -62
  169. package/dist/_node_modules/hast-util-to-html/lib/index.js.map +0 -1
  170. package/dist/_node_modules/hast-util-to-html/lib/omission/closing.cjs +0 -92
  171. package/dist/_node_modules/hast-util-to-html/lib/omission/closing.cjs.map +0 -1
  172. package/dist/_node_modules/hast-util-to-html/lib/omission/closing.js +0 -92
  173. package/dist/_node_modules/hast-util-to-html/lib/omission/closing.js.map +0 -1
  174. package/dist/_node_modules/hast-util-to-html/lib/omission/omission.cjs +0 -11
  175. package/dist/_node_modules/hast-util-to-html/lib/omission/omission.cjs.map +0 -1
  176. package/dist/_node_modules/hast-util-to-html/lib/omission/omission.js +0 -11
  177. package/dist/_node_modules/hast-util-to-html/lib/omission/omission.js.map +0 -1
  178. package/dist/_node_modules/hast-util-to-html/lib/omission/opening.cjs +0 -52
  179. package/dist/_node_modules/hast-util-to-html/lib/omission/opening.cjs.map +0 -1
  180. package/dist/_node_modules/hast-util-to-html/lib/omission/opening.js +0 -52
  181. package/dist/_node_modules/hast-util-to-html/lib/omission/opening.js.map +0 -1
  182. package/dist/_node_modules/hast-util-to-html/lib/omission/util/siblings.cjs +0 -24
  183. package/dist/_node_modules/hast-util-to-html/lib/omission/util/siblings.cjs.map +0 -1
  184. package/dist/_node_modules/hast-util-to-html/lib/omission/util/siblings.js +0 -24
  185. package/dist/_node_modules/hast-util-to-html/lib/omission/util/siblings.js.map +0 -1
  186. package/dist/_node_modules/hast-util-to-string/lib/index.cjs +0 -24
  187. package/dist/_node_modules/hast-util-to-string/lib/index.cjs.map +0 -1
  188. package/dist/_node_modules/hast-util-to-string/lib/index.js +0 -24
  189. package/dist/_node_modules/hast-util-to-string/lib/index.js.map +0 -1
  190. package/dist/_node_modules/hast-util-whitespace/lib/index.cjs +0 -11
  191. package/dist/_node_modules/hast-util-whitespace/lib/index.cjs.map +0 -1
  192. package/dist/_node_modules/hast-util-whitespace/lib/index.js +0 -11
  193. package/dist/_node_modules/hast-util-whitespace/lib/index.js.map +0 -1
  194. package/dist/_node_modules/hastscript/lib/create-h.cjs +0 -159
  195. package/dist/_node_modules/hastscript/lib/create-h.cjs.map +0 -1
  196. package/dist/_node_modules/hastscript/lib/create-h.js +0 -159
  197. package/dist/_node_modules/hastscript/lib/create-h.js.map +0 -1
  198. package/dist/_node_modules/hastscript/lib/index.cjs +0 -10
  199. package/dist/_node_modules/hastscript/lib/index.cjs.map +0 -1
  200. package/dist/_node_modules/hastscript/lib/index.js +0 -10
  201. package/dist/_node_modules/hastscript/lib/index.js.map +0 -1
  202. package/dist/_node_modules/hastscript/lib/svg-case-sensitive-tag-names.cjs +0 -45
  203. package/dist/_node_modules/hastscript/lib/svg-case-sensitive-tag-names.cjs.map +0 -1
  204. package/dist/_node_modules/hastscript/lib/svg-case-sensitive-tag-names.js +0 -45
  205. package/dist/_node_modules/hastscript/lib/svg-case-sensitive-tag-names.js.map +0 -1
  206. package/dist/_node_modules/html-void-elements/index.cjs +0 -26
  207. package/dist/_node_modules/html-void-elements/index.cjs.map +0 -1
  208. package/dist/_node_modules/html-void-elements/index.js +0 -26
  209. package/dist/_node_modules/html-void-elements/index.js.map +0 -1
  210. package/dist/_node_modules/mdast-util-from-markdown/lib/index.cjs +0 -720
  211. package/dist/_node_modules/mdast-util-from-markdown/lib/index.cjs.map +0 -1
  212. package/dist/_node_modules/mdast-util-from-markdown/lib/index.js +0 -720
  213. package/dist/_node_modules/mdast-util-from-markdown/lib/index.js.map +0 -1
  214. package/dist/_node_modules/mdast-util-to-hast/lib/footer.cjs +0 -116
  215. package/dist/_node_modules/mdast-util-to-hast/lib/footer.cjs.map +0 -1
  216. package/dist/_node_modules/mdast-util-to-hast/lib/footer.js +0 -116
  217. package/dist/_node_modules/mdast-util-to-hast/lib/footer.js.map +0 -1
  218. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/blockquote.cjs +0 -14
  219. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/blockquote.cjs.map +0 -1
  220. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/blockquote.js +0 -14
  221. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/blockquote.js.map +0 -1
  222. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/break.cjs +0 -9
  223. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/break.cjs.map +0 -1
  224. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/break.js +0 -9
  225. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/break.js.map +0 -1
  226. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/code.cjs +0 -25
  227. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/code.cjs.map +0 -1
  228. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/code.js +0 -25
  229. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/code.js.map +0 -1
  230. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/delete.cjs +0 -14
  231. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/delete.cjs.map +0 -1
  232. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/delete.js +0 -14
  233. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/delete.js.map +0 -1
  234. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/emphasis.cjs +0 -14
  235. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/emphasis.cjs.map +0 -1
  236. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/emphasis.js +0 -14
  237. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/emphasis.js.map +0 -1
  238. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.cjs +0 -42
  239. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.cjs.map +0 -1
  240. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.js +0 -42
  241. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.js.map +0 -1
  242. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/heading.cjs +0 -14
  243. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/heading.cjs.map +0 -1
  244. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/heading.js +0 -14
  245. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/heading.js.map +0 -1
  246. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/html.cjs +0 -12
  247. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/html.cjs.map +0 -1
  248. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/html.js +0 -12
  249. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/html.js.map +0 -1
  250. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/image-reference.cjs +0 -20
  251. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/image-reference.cjs.map +0 -1
  252. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/image-reference.js +0 -20
  253. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/image-reference.js.map +0 -1
  254. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/image.cjs +0 -17
  255. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/image.cjs.map +0 -1
  256. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/image.js +0 -17
  257. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/image.js.map +0 -1
  258. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/index.cjs +0 -60
  259. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/index.cjs.map +0 -1
  260. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/index.js +0 -60
  261. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/index.js.map +0 -1
  262. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/inline-code.cjs +0 -16
  263. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/inline-code.cjs.map +0 -1
  264. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/inline-code.js +0 -16
  265. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/inline-code.js.map +0 -1
  266. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/link-reference.cjs +0 -25
  267. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/link-reference.cjs.map +0 -1
  268. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/link-reference.js +0 -25
  269. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/link-reference.js.map +0 -1
  270. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/link.cjs +0 -19
  271. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/link.cjs.map +0 -1
  272. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/link.js +0 -19
  273. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/link.js.map +0 -1
  274. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/list-item.cjs +0 -65
  275. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/list-item.cjs.map +0 -1
  276. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/list-item.js +0 -65
  277. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/list-item.js.map +0 -1
  278. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/list.cjs +0 -27
  279. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/list.cjs.map +0 -1
  280. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/list.js +0 -27
  281. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/list.js.map +0 -1
  282. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/paragraph.cjs +0 -14
  283. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/paragraph.cjs.map +0 -1
  284. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/paragraph.js +0 -14
  285. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/paragraph.js.map +0 -1
  286. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/root.cjs +0 -9
  287. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/root.cjs.map +0 -1
  288. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/root.js +0 -9
  289. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/root.js.map +0 -1
  290. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/strong.cjs +0 -14
  291. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/strong.cjs.map +0 -1
  292. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/strong.js +0 -14
  293. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/strong.js.map +0 -1
  294. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/table-cell.cjs +0 -15
  295. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/table-cell.cjs.map +0 -1
  296. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/table-cell.js +0 -15
  297. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/table-cell.js.map +0 -1
  298. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/table-row.cjs +0 -36
  299. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/table-row.cjs.map +0 -1
  300. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/table-row.js +0 -36
  301. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/table-row.js.map +0 -1
  302. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/table.cjs +0 -40
  303. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/table.cjs.map +0 -1
  304. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/table.js +0 -40
  305. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/table.js.map +0 -1
  306. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/text.cjs +0 -10
  307. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/text.cjs.map +0 -1
  308. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/text.js +0 -10
  309. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/text.js.map +0 -1
  310. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/thematic-break.cjs +0 -14
  311. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/thematic-break.cjs.map +0 -1
  312. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/thematic-break.js +0 -14
  313. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/thematic-break.js.map +0 -1
  314. package/dist/_node_modules/mdast-util-to-hast/lib/index.cjs +0 -16
  315. package/dist/_node_modules/mdast-util-to-hast/lib/index.cjs.map +0 -1
  316. package/dist/_node_modules/mdast-util-to-hast/lib/index.js +0 -16
  317. package/dist/_node_modules/mdast-util-to-hast/lib/index.js.map +0 -1
  318. package/dist/_node_modules/mdast-util-to-hast/lib/revert.cjs +0 -30
  319. package/dist/_node_modules/mdast-util-to-hast/lib/revert.cjs.map +0 -1
  320. package/dist/_node_modules/mdast-util-to-hast/lib/revert.js +0 -30
  321. package/dist/_node_modules/mdast-util-to-hast/lib/revert.js.map +0 -1
  322. package/dist/_node_modules/mdast-util-to-hast/lib/state.cjs +0 -149
  323. package/dist/_node_modules/mdast-util-to-hast/lib/state.cjs.map +0 -1
  324. package/dist/_node_modules/mdast-util-to-hast/lib/state.js +0 -149
  325. package/dist/_node_modules/mdast-util-to-hast/lib/state.js.map +0 -1
  326. package/dist/_node_modules/mdast-util-to-string/lib/index.cjs +0 -39
  327. package/dist/_node_modules/mdast-util-to-string/lib/index.cjs.map +0 -1
  328. package/dist/_node_modules/mdast-util-to-string/lib/index.js +0 -39
  329. package/dist/_node_modules/mdast-util-to-string/lib/index.js.map +0 -1
  330. package/dist/_node_modules/micromark/lib/constructs.cjs +0 -94
  331. package/dist/_node_modules/micromark/lib/constructs.cjs.map +0 -1
  332. package/dist/_node_modules/micromark/lib/constructs.js +0 -94
  333. package/dist/_node_modules/micromark/lib/constructs.js.map +0 -1
  334. package/dist/_node_modules/micromark/lib/create-tokenizer.cjs +0 -316
  335. package/dist/_node_modules/micromark/lib/create-tokenizer.cjs.map +0 -1
  336. package/dist/_node_modules/micromark/lib/create-tokenizer.js +0 -316
  337. package/dist/_node_modules/micromark/lib/create-tokenizer.js.map +0 -1
  338. package/dist/_node_modules/micromark/lib/initialize/content.cjs +0 -58
  339. package/dist/_node_modules/micromark/lib/initialize/content.cjs.map +0 -1
  340. package/dist/_node_modules/micromark/lib/initialize/content.js +0 -58
  341. package/dist/_node_modules/micromark/lib/initialize/content.js.map +0 -1
  342. package/dist/_node_modules/micromark/lib/initialize/document.cjs +0 -212
  343. package/dist/_node_modules/micromark/lib/initialize/document.cjs.map +0 -1
  344. package/dist/_node_modules/micromark/lib/initialize/document.js +0 -212
  345. package/dist/_node_modules/micromark/lib/initialize/document.js.map +0 -1
  346. package/dist/_node_modules/micromark/lib/initialize/flow.cjs +0 -55
  347. package/dist/_node_modules/micromark/lib/initialize/flow.cjs.map +0 -1
  348. package/dist/_node_modules/micromark/lib/initialize/flow.js +0 -55
  349. package/dist/_node_modules/micromark/lib/initialize/flow.js.map +0 -1
  350. package/dist/_node_modules/micromark/lib/initialize/text.cjs +0 -143
  351. package/dist/_node_modules/micromark/lib/initialize/text.cjs.map +0 -1
  352. package/dist/_node_modules/micromark/lib/initialize/text.js +0 -143
  353. package/dist/_node_modules/micromark/lib/initialize/text.js.map +0 -1
  354. package/dist/_node_modules/micromark/lib/parse.cjs +0 -35
  355. package/dist/_node_modules/micromark/lib/parse.cjs.map +0 -1
  356. package/dist/_node_modules/micromark/lib/parse.js +0 -35
  357. package/dist/_node_modules/micromark/lib/parse.js.map +0 -1
  358. package/dist/_node_modules/micromark/lib/postprocess.cjs +0 -10
  359. package/dist/_node_modules/micromark/lib/postprocess.cjs.map +0 -1
  360. package/dist/_node_modules/micromark/lib/postprocess.js +0 -10
  361. package/dist/_node_modules/micromark/lib/postprocess.js.map +0 -1
  362. package/dist/_node_modules/micromark/lib/preprocess.cjs +0 -81
  363. package/dist/_node_modules/micromark/lib/preprocess.cjs.map +0 -1
  364. package/dist/_node_modules/micromark/lib/preprocess.js +0 -81
  365. package/dist/_node_modules/micromark/lib/preprocess.js.map +0 -1
  366. package/dist/_node_modules/micromark-core-commonmark/lib/attention.cjs +0 -116
  367. package/dist/_node_modules/micromark-core-commonmark/lib/attention.cjs.map +0 -1
  368. package/dist/_node_modules/micromark-core-commonmark/lib/attention.js +0 -116
  369. package/dist/_node_modules/micromark-core-commonmark/lib/attention.js.map +0 -1
  370. package/dist/_node_modules/micromark-core-commonmark/lib/autolink.cjs +0 -104
  371. package/dist/_node_modules/micromark-core-commonmark/lib/autolink.cjs.map +0 -1
  372. package/dist/_node_modules/micromark-core-commonmark/lib/autolink.js +0 -104
  373. package/dist/_node_modules/micromark-core-commonmark/lib/autolink.js.map +0 -1
  374. package/dist/_node_modules/micromark-core-commonmark/lib/blank-line.cjs +0 -19
  375. package/dist/_node_modules/micromark-core-commonmark/lib/blank-line.cjs.map +0 -1
  376. package/dist/_node_modules/micromark-core-commonmark/lib/blank-line.js +0 -19
  377. package/dist/_node_modules/micromark-core-commonmark/lib/blank-line.js.map +0 -1
  378. package/dist/_node_modules/micromark-core-commonmark/lib/block-quote.cjs +0 -62
  379. package/dist/_node_modules/micromark-core-commonmark/lib/block-quote.cjs.map +0 -1
  380. package/dist/_node_modules/micromark-core-commonmark/lib/block-quote.js +0 -62
  381. package/dist/_node_modules/micromark-core-commonmark/lib/block-quote.js.map +0 -1
  382. package/dist/_node_modules/micromark-core-commonmark/lib/character-escape.cjs +0 -29
  383. package/dist/_node_modules/micromark-core-commonmark/lib/character-escape.cjs.map +0 -1
  384. package/dist/_node_modules/micromark-core-commonmark/lib/character-escape.js +0 -29
  385. package/dist/_node_modules/micromark-core-commonmark/lib/character-escape.js.map +0 -1
  386. package/dist/_node_modules/micromark-core-commonmark/lib/character-reference.cjs +0 -69
  387. package/dist/_node_modules/micromark-core-commonmark/lib/character-reference.cjs.map +0 -1
  388. package/dist/_node_modules/micromark-core-commonmark/lib/character-reference.js +0 -69
  389. package/dist/_node_modules/micromark-core-commonmark/lib/character-reference.js.map +0 -1
  390. package/dist/_node_modules/micromark-core-commonmark/lib/code-fenced.cjs +0 -187
  391. package/dist/_node_modules/micromark-core-commonmark/lib/code-fenced.cjs.map +0 -1
  392. package/dist/_node_modules/micromark-core-commonmark/lib/code-fenced.js +0 -187
  393. package/dist/_node_modules/micromark-core-commonmark/lib/code-fenced.js.map +0 -1
  394. package/dist/_node_modules/micromark-core-commonmark/lib/code-indented.cjs +0 -68
  395. package/dist/_node_modules/micromark-core-commonmark/lib/code-indented.cjs.map +0 -1
  396. package/dist/_node_modules/micromark-core-commonmark/lib/code-indented.js +0 -68
  397. package/dist/_node_modules/micromark-core-commonmark/lib/code-indented.js.map +0 -1
  398. package/dist/_node_modules/micromark-core-commonmark/lib/code-text.cjs +0 -117
  399. package/dist/_node_modules/micromark-core-commonmark/lib/code-text.cjs.map +0 -1
  400. package/dist/_node_modules/micromark-core-commonmark/lib/code-text.js +0 -117
  401. package/dist/_node_modules/micromark-core-commonmark/lib/code-text.js.map +0 -1
  402. package/dist/_node_modules/micromark-core-commonmark/lib/content.cjs +0 -76
  403. package/dist/_node_modules/micromark-core-commonmark/lib/content.cjs.map +0 -1
  404. package/dist/_node_modules/micromark-core-commonmark/lib/content.js +0 -76
  405. package/dist/_node_modules/micromark-core-commonmark/lib/content.js.map +0 -1
  406. package/dist/_node_modules/micromark-core-commonmark/lib/definition.cjs +0 -95
  407. package/dist/_node_modules/micromark-core-commonmark/lib/definition.cjs.map +0 -1
  408. package/dist/_node_modules/micromark-core-commonmark/lib/definition.js +0 -95
  409. package/dist/_node_modules/micromark-core-commonmark/lib/definition.js.map +0 -1
  410. package/dist/_node_modules/micromark-core-commonmark/lib/hard-break-escape.cjs +0 -24
  411. package/dist/_node_modules/micromark-core-commonmark/lib/hard-break-escape.cjs.map +0 -1
  412. package/dist/_node_modules/micromark-core-commonmark/lib/hard-break-escape.js +0 -24
  413. package/dist/_node_modules/micromark-core-commonmark/lib/hard-break-escape.js.map +0 -1
  414. package/dist/_node_modules/micromark-core-commonmark/lib/heading-atx.cjs +0 -96
  415. package/dist/_node_modules/micromark-core-commonmark/lib/heading-atx.cjs.map +0 -1
  416. package/dist/_node_modules/micromark-core-commonmark/lib/heading-atx.js +0 -96
  417. package/dist/_node_modules/micromark-core-commonmark/lib/heading-atx.js.map +0 -1
  418. package/dist/_node_modules/micromark-core-commonmark/lib/html-flow.cjs +0 -384
  419. package/dist/_node_modules/micromark-core-commonmark/lib/html-flow.cjs.map +0 -1
  420. package/dist/_node_modules/micromark-core-commonmark/lib/html-flow.js +0 -384
  421. package/dist/_node_modules/micromark-core-commonmark/lib/html-flow.js.map +0 -1
  422. package/dist/_node_modules/micromark-core-commonmark/lib/html-text.cjs +0 -310
  423. package/dist/_node_modules/micromark-core-commonmark/lib/html-text.cjs.map +0 -1
  424. package/dist/_node_modules/micromark-core-commonmark/lib/html-text.js +0 -310
  425. package/dist/_node_modules/micromark-core-commonmark/lib/html-text.js.map +0 -1
  426. package/dist/_node_modules/micromark-core-commonmark/lib/label-end.cjs +0 -219
  427. package/dist/_node_modules/micromark-core-commonmark/lib/label-end.cjs.map +0 -1
  428. package/dist/_node_modules/micromark-core-commonmark/lib/label-end.js +0 -219
  429. package/dist/_node_modules/micromark-core-commonmark/lib/label-end.js.map +0 -1
  430. package/dist/_node_modules/micromark-core-commonmark/lib/label-start-image.cjs +0 -34
  431. package/dist/_node_modules/micromark-core-commonmark/lib/label-start-image.cjs.map +0 -1
  432. package/dist/_node_modules/micromark-core-commonmark/lib/label-start-image.js +0 -34
  433. package/dist/_node_modules/micromark-core-commonmark/lib/label-start-image.js.map +0 -1
  434. package/dist/_node_modules/micromark-core-commonmark/lib/label-start-link.cjs +0 -25
  435. package/dist/_node_modules/micromark-core-commonmark/lib/label-start-link.cjs.map +0 -1
  436. package/dist/_node_modules/micromark-core-commonmark/lib/label-start-link.js +0 -25
  437. package/dist/_node_modules/micromark-core-commonmark/lib/label-start-link.js.map +0 -1
  438. package/dist/_node_modules/micromark-core-commonmark/lib/line-ending.cjs +0 -18
  439. package/dist/_node_modules/micromark-core-commonmark/lib/line-ending.cjs.map +0 -1
  440. package/dist/_node_modules/micromark-core-commonmark/lib/line-ending.js +0 -18
  441. package/dist/_node_modules/micromark-core-commonmark/lib/line-ending.js.map +0 -1
  442. package/dist/_node_modules/micromark-core-commonmark/lib/list.cjs +0 -136
  443. package/dist/_node_modules/micromark-core-commonmark/lib/list.cjs.map +0 -1
  444. package/dist/_node_modules/micromark-core-commonmark/lib/list.js +0 -136
  445. package/dist/_node_modules/micromark-core-commonmark/lib/list.js.map +0 -1
  446. package/dist/_node_modules/micromark-core-commonmark/lib/setext-underline.cjs +0 -90
  447. package/dist/_node_modules/micromark-core-commonmark/lib/setext-underline.cjs.map +0 -1
  448. package/dist/_node_modules/micromark-core-commonmark/lib/setext-underline.js +0 -90
  449. package/dist/_node_modules/micromark-core-commonmark/lib/setext-underline.js.map +0 -1
  450. package/dist/_node_modules/micromark-core-commonmark/lib/thematic-break.cjs +0 -43
  451. package/dist/_node_modules/micromark-core-commonmark/lib/thematic-break.cjs.map +0 -1
  452. package/dist/_node_modules/micromark-core-commonmark/lib/thematic-break.js +0 -43
  453. package/dist/_node_modules/micromark-core-commonmark/lib/thematic-break.js.map +0 -1
  454. package/dist/_node_modules/micromark-factory-destination/index.cjs +0 -95
  455. package/dist/_node_modules/micromark-factory-destination/index.cjs.map +0 -1
  456. package/dist/_node_modules/micromark-factory-destination/index.js +0 -95
  457. package/dist/_node_modules/micromark-factory-destination/index.js.map +0 -1
  458. package/dist/_node_modules/micromark-factory-label/index.cjs +0 -64
  459. package/dist/_node_modules/micromark-factory-label/index.cjs.map +0 -1
  460. package/dist/_node_modules/micromark-factory-label/index.js +0 -64
  461. package/dist/_node_modules/micromark-factory-label/index.js.map +0 -1
  462. package/dist/_node_modules/micromark-factory-space/index.cjs +0 -25
  463. package/dist/_node_modules/micromark-factory-space/index.cjs.map +0 -1
  464. package/dist/_node_modules/micromark-factory-space/index.js +0 -25
  465. package/dist/_node_modules/micromark-factory-space/index.js.map +0 -1
  466. package/dist/_node_modules/micromark-factory-title/index.cjs +0 -66
  467. package/dist/_node_modules/micromark-factory-title/index.cjs.map +0 -1
  468. package/dist/_node_modules/micromark-factory-title/index.js +0 -66
  469. package/dist/_node_modules/micromark-factory-title/index.js.map +0 -1
  470. package/dist/_node_modules/micromark-factory-whitespace/index.cjs +0 -27
  471. package/dist/_node_modules/micromark-factory-whitespace/index.cjs.map +0 -1
  472. package/dist/_node_modules/micromark-factory-whitespace/index.js +0 -27
  473. package/dist/_node_modules/micromark-factory-whitespace/index.js.map +0 -1
  474. package/dist/_node_modules/micromark-util-character/index.cjs +0 -45
  475. package/dist/_node_modules/micromark-util-character/index.cjs.map +0 -1
  476. package/dist/_node_modules/micromark-util-character/index.js +0 -45
  477. package/dist/_node_modules/micromark-util-character/index.js.map +0 -1
  478. package/dist/_node_modules/micromark-util-chunked/index.cjs +0 -37
  479. package/dist/_node_modules/micromark-util-chunked/index.cjs.map +0 -1
  480. package/dist/_node_modules/micromark-util-chunked/index.js +0 -37
  481. package/dist/_node_modules/micromark-util-chunked/index.js.map +0 -1
  482. package/dist/_node_modules/micromark-util-classify-character/index.cjs +0 -13
  483. package/dist/_node_modules/micromark-util-classify-character/index.cjs.map +0 -1
  484. package/dist/_node_modules/micromark-util-classify-character/index.js +0 -13
  485. package/dist/_node_modules/micromark-util-classify-character/index.js.map +0 -1
  486. package/dist/_node_modules/micromark-util-combine-extensions/index.cjs +0 -42
  487. package/dist/_node_modules/micromark-util-combine-extensions/index.cjs.map +0 -1
  488. package/dist/_node_modules/micromark-util-combine-extensions/index.js +0 -42
  489. package/dist/_node_modules/micromark-util-combine-extensions/index.js.map +0 -1
  490. package/dist/_node_modules/micromark-util-decode-numeric-character-reference/index.cjs +0 -20
  491. package/dist/_node_modules/micromark-util-decode-numeric-character-reference/index.cjs.map +0 -1
  492. package/dist/_node_modules/micromark-util-decode-numeric-character-reference/index.js +0 -20
  493. package/dist/_node_modules/micromark-util-decode-numeric-character-reference/index.js.map +0 -1
  494. package/dist/_node_modules/micromark-util-decode-string/index.cjs +0 -22
  495. package/dist/_node_modules/micromark-util-decode-string/index.cjs.map +0 -1
  496. package/dist/_node_modules/micromark-util-decode-string/index.js +0 -22
  497. package/dist/_node_modules/micromark-util-decode-string/index.js.map +0 -1
  498. package/dist/_node_modules/micromark-util-html-tag-name/index.cjs +0 -70
  499. package/dist/_node_modules/micromark-util-html-tag-name/index.cjs.map +0 -1
  500. package/dist/_node_modules/micromark-util-html-tag-name/index.js +0 -70
  501. package/dist/_node_modules/micromark-util-html-tag-name/index.js.map +0 -1
  502. package/dist/_node_modules/micromark-util-normalize-identifier/index.cjs +0 -7
  503. package/dist/_node_modules/micromark-util-normalize-identifier/index.cjs.map +0 -1
  504. package/dist/_node_modules/micromark-util-normalize-identifier/index.js +0 -7
  505. package/dist/_node_modules/micromark-util-normalize-identifier/index.js.map +0 -1
  506. package/dist/_node_modules/micromark-util-resolve-all/index.cjs +0 -16
  507. package/dist/_node_modules/micromark-util-resolve-all/index.cjs.map +0 -1
  508. package/dist/_node_modules/micromark-util-resolve-all/index.js +0 -16
  509. package/dist/_node_modules/micromark-util-resolve-all/index.js.map +0 -1
  510. package/dist/_node_modules/micromark-util-sanitize-uri/index.cjs +0 -42
  511. package/dist/_node_modules/micromark-util-sanitize-uri/index.cjs.map +0 -1
  512. package/dist/_node_modules/micromark-util-sanitize-uri/index.js +0 -42
  513. package/dist/_node_modules/micromark-util-sanitize-uri/index.js.map +0 -1
  514. package/dist/_node_modules/micromark-util-subtokenize/index.cjs +0 -149
  515. package/dist/_node_modules/micromark-util-subtokenize/index.cjs.map +0 -1
  516. package/dist/_node_modules/micromark-util-subtokenize/index.js +0 -149
  517. package/dist/_node_modules/micromark-util-subtokenize/index.js.map +0 -1
  518. package/dist/_node_modules/micromark-util-subtokenize/lib/splice-buffer.cjs +0 -195
  519. package/dist/_node_modules/micromark-util-subtokenize/lib/splice-buffer.cjs.map +0 -1
  520. package/dist/_node_modules/micromark-util-subtokenize/lib/splice-buffer.js +0 -195
  521. package/dist/_node_modules/micromark-util-subtokenize/lib/splice-buffer.js.map +0 -1
  522. package/dist/_node_modules/nth-check/lib/esm/compile.cjs +0 -20
  523. package/dist/_node_modules/nth-check/lib/esm/compile.cjs.map +0 -1
  524. package/dist/_node_modules/nth-check/lib/esm/compile.js +0 -20
  525. package/dist/_node_modules/nth-check/lib/esm/compile.js.map +0 -1
  526. package/dist/_node_modules/nth-check/lib/esm/index.cjs +0 -11
  527. package/dist/_node_modules/nth-check/lib/esm/index.cjs.map +0 -1
  528. package/dist/_node_modules/nth-check/lib/esm/index.js +0 -11
  529. package/dist/_node_modules/nth-check/lib/esm/index.js.map +0 -1
  530. package/dist/_node_modules/nth-check/lib/esm/parse.cjs +0 -59
  531. package/dist/_node_modules/nth-check/lib/esm/parse.cjs.map +0 -1
  532. package/dist/_node_modules/nth-check/lib/esm/parse.js +0 -59
  533. package/dist/_node_modules/nth-check/lib/esm/parse.js.map +0 -1
  534. package/dist/_node_modules/property-information/index.cjs +0 -14
  535. package/dist/_node_modules/property-information/index.cjs.map +0 -1
  536. package/dist/_node_modules/property-information/index.js +0 -14
  537. package/dist/_node_modules/property-information/index.js.map +0 -1
  538. package/dist/_node_modules/property-information/lib/aria.cjs +0 -62
  539. package/dist/_node_modules/property-information/lib/aria.cjs.map +0 -1
  540. package/dist/_node_modules/property-information/lib/aria.js +0 -62
  541. package/dist/_node_modules/property-information/lib/aria.js.map +0 -1
  542. package/dist/_node_modules/property-information/lib/find.cjs +0 -41
  543. package/dist/_node_modules/property-information/lib/find.cjs.map +0 -1
  544. package/dist/_node_modules/property-information/lib/find.js +0 -41
  545. package/dist/_node_modules/property-information/lib/find.js.map +0 -1
  546. package/dist/_node_modules/property-information/lib/html.cjs +0 -369
  547. package/dist/_node_modules/property-information/lib/html.cjs.map +0 -1
  548. package/dist/_node_modules/property-information/lib/html.js +0 -369
  549. package/dist/_node_modules/property-information/lib/html.js.map +0 -1
  550. package/dist/_node_modules/property-information/lib/normalize.cjs +0 -7
  551. package/dist/_node_modules/property-information/lib/normalize.cjs.map +0 -1
  552. package/dist/_node_modules/property-information/lib/normalize.js +0 -7
  553. package/dist/_node_modules/property-information/lib/normalize.js.map +0 -1
  554. package/dist/_node_modules/property-information/lib/svg.cjs +0 -567
  555. package/dist/_node_modules/property-information/lib/svg.cjs.map +0 -1
  556. package/dist/_node_modules/property-information/lib/svg.js +0 -567
  557. package/dist/_node_modules/property-information/lib/svg.js.map +0 -1
  558. package/dist/_node_modules/property-information/lib/util/case-insensitive-transform.cjs +0 -8
  559. package/dist/_node_modules/property-information/lib/util/case-insensitive-transform.cjs.map +0 -1
  560. package/dist/_node_modules/property-information/lib/util/case-insensitive-transform.js +0 -8
  561. package/dist/_node_modules/property-information/lib/util/case-insensitive-transform.js.map +0 -1
  562. package/dist/_node_modules/property-information/lib/util/case-sensitive-transform.cjs +0 -7
  563. package/dist/_node_modules/property-information/lib/util/case-sensitive-transform.cjs.map +0 -1
  564. package/dist/_node_modules/property-information/lib/util/case-sensitive-transform.js +0 -7
  565. package/dist/_node_modules/property-information/lib/util/case-sensitive-transform.js.map +0 -1
  566. package/dist/_node_modules/property-information/lib/util/create.cjs +0 -31
  567. package/dist/_node_modules/property-information/lib/util/create.cjs.map +0 -1
  568. package/dist/_node_modules/property-information/lib/util/create.js +0 -31
  569. package/dist/_node_modules/property-information/lib/util/create.js.map +0 -1
  570. package/dist/_node_modules/property-information/lib/util/defined-info.cjs +0 -33
  571. package/dist/_node_modules/property-information/lib/util/defined-info.cjs.map +0 -1
  572. package/dist/_node_modules/property-information/lib/util/defined-info.js +0 -33
  573. package/dist/_node_modules/property-information/lib/util/defined-info.js.map +0 -1
  574. package/dist/_node_modules/property-information/lib/util/info.cjs +0 -25
  575. package/dist/_node_modules/property-information/lib/util/info.cjs.map +0 -1
  576. package/dist/_node_modules/property-information/lib/util/info.js +0 -25
  577. package/dist/_node_modules/property-information/lib/util/info.js.map +0 -1
  578. package/dist/_node_modules/property-information/lib/util/merge.cjs +0 -15
  579. package/dist/_node_modules/property-information/lib/util/merge.cjs.map +0 -1
  580. package/dist/_node_modules/property-information/lib/util/merge.js +0 -15
  581. package/dist/_node_modules/property-information/lib/util/merge.js.map +0 -1
  582. package/dist/_node_modules/property-information/lib/util/schema.cjs +0 -22
  583. package/dist/_node_modules/property-information/lib/util/schema.cjs.map +0 -1
  584. package/dist/_node_modules/property-information/lib/util/schema.js +0 -22
  585. package/dist/_node_modules/property-information/lib/util/schema.js.map +0 -1
  586. package/dist/_node_modules/property-information/lib/util/types.cjs +0 -21
  587. package/dist/_node_modules/property-information/lib/util/types.cjs.map +0 -1
  588. package/dist/_node_modules/property-information/lib/util/types.js +0 -21
  589. package/dist/_node_modules/property-information/lib/util/types.js.map +0 -1
  590. package/dist/_node_modules/property-information/lib/xlink.cjs +0 -20
  591. package/dist/_node_modules/property-information/lib/xlink.cjs.map +0 -1
  592. package/dist/_node_modules/property-information/lib/xlink.js +0 -20
  593. package/dist/_node_modules/property-information/lib/xlink.js.map +0 -1
  594. package/dist/_node_modules/property-information/lib/xml.cjs +0 -12
  595. package/dist/_node_modules/property-information/lib/xml.cjs.map +0 -1
  596. package/dist/_node_modules/property-information/lib/xml.js +0 -12
  597. package/dist/_node_modules/property-information/lib/xml.js.map +0 -1
  598. package/dist/_node_modules/property-information/lib/xmlns.cjs +0 -12
  599. package/dist/_node_modules/property-information/lib/xmlns.cjs.map +0 -1
  600. package/dist/_node_modules/property-information/lib/xmlns.js +0 -12
  601. package/dist/_node_modules/property-information/lib/xmlns.js.map +0 -1
  602. package/dist/_node_modules/rehype-minify-whitespace/lib/block.cjs +0 -122
  603. package/dist/_node_modules/rehype-minify-whitespace/lib/block.cjs.map +0 -1
  604. package/dist/_node_modules/rehype-minify-whitespace/lib/block.js +0 -122
  605. package/dist/_node_modules/rehype-minify-whitespace/lib/block.js.map +0 -1
  606. package/dist/_node_modules/rehype-minify-whitespace/lib/content.cjs +0 -11
  607. package/dist/_node_modules/rehype-minify-whitespace/lib/content.cjs.map +0 -1
  608. package/dist/_node_modules/rehype-minify-whitespace/lib/content.js +0 -11
  609. package/dist/_node_modules/rehype-minify-whitespace/lib/content.js.map +0 -1
  610. package/dist/_node_modules/rehype-minify-whitespace/lib/index.cjs +0 -169
  611. package/dist/_node_modules/rehype-minify-whitespace/lib/index.cjs.map +0 -1
  612. package/dist/_node_modules/rehype-minify-whitespace/lib/index.js +0 -170
  613. package/dist/_node_modules/rehype-minify-whitespace/lib/index.js.map +0 -1
  614. package/dist/_node_modules/rehype-minify-whitespace/lib/skippable.cjs +0 -24
  615. package/dist/_node_modules/rehype-minify-whitespace/lib/skippable.cjs.map +0 -1
  616. package/dist/_node_modules/rehype-minify-whitespace/lib/skippable.js +0 -24
  617. package/dist/_node_modules/rehype-minify-whitespace/lib/skippable.js.map +0 -1
  618. package/dist/_node_modules/rehype-parse/lib/index.cjs +0 -21
  619. package/dist/_node_modules/rehype-parse/lib/index.cjs.map +0 -1
  620. package/dist/_node_modules/rehype-parse/lib/index.js +0 -22
  621. package/dist/_node_modules/rehype-parse/lib/index.js.map +0 -1
  622. package/dist/_node_modules/remark-parse/lib/index.cjs +0 -19
  623. package/dist/_node_modules/remark-parse/lib/index.cjs.map +0 -1
  624. package/dist/_node_modules/remark-parse/lib/index.js +0 -20
  625. package/dist/_node_modules/remark-parse/lib/index.js.map +0 -1
  626. package/dist/_node_modules/remark-rehype/lib/index.cjs +0 -21
  627. package/dist/_node_modules/remark-rehype/lib/index.cjs.map +0 -1
  628. package/dist/_node_modules/remark-rehype/lib/index.js +0 -22
  629. package/dist/_node_modules/remark-rehype/lib/index.js.map +0 -1
  630. package/dist/_node_modules/space-separated-tokens/index.cjs +0 -12
  631. package/dist/_node_modules/space-separated-tokens/index.cjs.map +0 -1
  632. package/dist/_node_modules/space-separated-tokens/index.js +0 -12
  633. package/dist/_node_modules/space-separated-tokens/index.js.map +0 -1
  634. package/dist/_node_modules/stringify-entities/lib/constant/dangerous.cjs +0 -14
  635. package/dist/_node_modules/stringify-entities/lib/constant/dangerous.cjs.map +0 -1
  636. package/dist/_node_modules/stringify-entities/lib/constant/dangerous.js +0 -14
  637. package/dist/_node_modules/stringify-entities/lib/constant/dangerous.js.map +0 -1
  638. package/dist/_node_modules/stringify-entities/lib/core.cjs +0 -52
  639. package/dist/_node_modules/stringify-entities/lib/core.cjs.map +0 -1
  640. package/dist/_node_modules/stringify-entities/lib/core.js +0 -52
  641. package/dist/_node_modules/stringify-entities/lib/core.js.map +0 -1
  642. package/dist/_node_modules/stringify-entities/lib/index.cjs +0 -9
  643. package/dist/_node_modules/stringify-entities/lib/index.cjs.map +0 -1
  644. package/dist/_node_modules/stringify-entities/lib/index.js +0 -9
  645. package/dist/_node_modules/stringify-entities/lib/index.js.map +0 -1
  646. package/dist/_node_modules/stringify-entities/lib/util/format-smart.cjs +0 -26
  647. package/dist/_node_modules/stringify-entities/lib/util/format-smart.cjs.map +0 -1
  648. package/dist/_node_modules/stringify-entities/lib/util/format-smart.js +0 -26
  649. package/dist/_node_modules/stringify-entities/lib/util/format-smart.js.map +0 -1
  650. package/dist/_node_modules/stringify-entities/lib/util/to-decimal.cjs +0 -9
  651. package/dist/_node_modules/stringify-entities/lib/util/to-decimal.cjs.map +0 -1
  652. package/dist/_node_modules/stringify-entities/lib/util/to-decimal.js +0 -9
  653. package/dist/_node_modules/stringify-entities/lib/util/to-decimal.js.map +0 -1
  654. package/dist/_node_modules/stringify-entities/lib/util/to-hexadecimal.cjs +0 -9
  655. package/dist/_node_modules/stringify-entities/lib/util/to-hexadecimal.cjs.map +0 -1
  656. package/dist/_node_modules/stringify-entities/lib/util/to-hexadecimal.js +0 -9
  657. package/dist/_node_modules/stringify-entities/lib/util/to-hexadecimal.js.map +0 -1
  658. package/dist/_node_modules/stringify-entities/lib/util/to-named.cjs +0 -28
  659. package/dist/_node_modules/stringify-entities/lib/util/to-named.cjs.map +0 -1
  660. package/dist/_node_modules/stringify-entities/lib/util/to-named.js +0 -28
  661. package/dist/_node_modules/stringify-entities/lib/util/to-named.js.map +0 -1
  662. package/dist/_node_modules/trim-lines/index.cjs +0 -42
  663. package/dist/_node_modules/trim-lines/index.cjs.map +0 -1
  664. package/dist/_node_modules/trim-lines/index.js +0 -42
  665. package/dist/_node_modules/trim-lines/index.js.map +0 -1
  666. package/dist/_node_modules/trough/lib/index.cjs +0 -87
  667. package/dist/_node_modules/trough/lib/index.cjs.map +0 -1
  668. package/dist/_node_modules/trough/lib/index.js +0 -87
  669. package/dist/_node_modules/trough/lib/index.js.map +0 -1
  670. package/dist/_node_modules/unified/_node_modules/is-plain-obj/index.cjs +0 -10
  671. package/dist/_node_modules/unified/_node_modules/is-plain-obj/index.cjs.map +0 -1
  672. package/dist/_node_modules/unified/_node_modules/is-plain-obj/index.js +0 -11
  673. package/dist/_node_modules/unified/_node_modules/is-plain-obj/index.js.map +0 -1
  674. package/dist/_node_modules/unified/lib/callable-instance.cjs +0 -31
  675. package/dist/_node_modules/unified/lib/callable-instance.cjs.map +0 -1
  676. package/dist/_node_modules/unified/lib/callable-instance.js +0 -31
  677. package/dist/_node_modules/unified/lib/callable-instance.js.map +0 -1
  678. package/dist/_node_modules/unified/lib/index.cjs +0 -637
  679. package/dist/_node_modules/unified/lib/index.cjs.map +0 -1
  680. package/dist/_node_modules/unified/lib/index.js +0 -637
  681. package/dist/_node_modules/unified/lib/index.js.map +0 -1
  682. package/dist/_node_modules/unist-util-is/lib/index.cjs +0 -94
  683. package/dist/_node_modules/unist-util-is/lib/index.cjs.map +0 -1
  684. package/dist/_node_modules/unist-util-is/lib/index.js +0 -94
  685. package/dist/_node_modules/unist-util-is/lib/index.js.map +0 -1
  686. package/dist/_node_modules/unist-util-position/lib/index.cjs +0 -28
  687. package/dist/_node_modules/unist-util-position/lib/index.cjs.map +0 -1
  688. package/dist/_node_modules/unist-util-position/lib/index.js +0 -28
  689. package/dist/_node_modules/unist-util-position/lib/index.js.map +0 -1
  690. package/dist/_node_modules/unist-util-remove/lib/index.cjs +0 -39
  691. package/dist/_node_modules/unist-util-remove/lib/index.cjs.map +0 -1
  692. package/dist/_node_modules/unist-util-remove/lib/index.js +0 -39
  693. package/dist/_node_modules/unist-util-remove/lib/index.js.map +0 -1
  694. package/dist/_node_modules/unist-util-stringify-position/lib/index.cjs +0 -28
  695. package/dist/_node_modules/unist-util-stringify-position/lib/index.cjs.map +0 -1
  696. package/dist/_node_modules/unist-util-stringify-position/lib/index.js +0 -28
  697. package/dist/_node_modules/unist-util-stringify-position/lib/index.js.map +0 -1
  698. package/dist/_node_modules/unist-util-visit/lib/index.cjs +0 -28
  699. package/dist/_node_modules/unist-util-visit/lib/index.cjs.map +0 -1
  700. package/dist/_node_modules/unist-util-visit/lib/index.js +0 -29
  701. package/dist/_node_modules/unist-util-visit/lib/index.js.map +0 -1
  702. package/dist/_node_modules/unist-util-visit-parents/lib/color.cjs +0 -7
  703. package/dist/_node_modules/unist-util-visit-parents/lib/color.cjs.map +0 -1
  704. package/dist/_node_modules/unist-util-visit-parents/lib/color.js +0 -7
  705. package/dist/_node_modules/unist-util-visit-parents/lib/color.js.map +0 -1
  706. package/dist/_node_modules/unist-util-visit-parents/lib/index.cjs +0 -84
  707. package/dist/_node_modules/unist-util-visit-parents/lib/index.cjs.map +0 -1
  708. package/dist/_node_modules/unist-util-visit-parents/lib/index.js +0 -84
  709. package/dist/_node_modules/unist-util-visit-parents/lib/index.js.map +0 -1
  710. package/dist/_node_modules/vfile/lib/index.cjs +0 -463
  711. package/dist/_node_modules/vfile/lib/index.cjs.map +0 -1
  712. package/dist/_node_modules/vfile/lib/index.js +0 -463
  713. package/dist/_node_modules/vfile/lib/index.js.map +0 -1
  714. package/dist/_node_modules/vfile/lib/minpath.browser.cjs +0 -215
  715. package/dist/_node_modules/vfile/lib/minpath.browser.cjs.map +0 -1
  716. package/dist/_node_modules/vfile/lib/minpath.browser.js +0 -215
  717. package/dist/_node_modules/vfile/lib/minpath.browser.js.map +0 -1
  718. package/dist/_node_modules/vfile/lib/minproc.browser.cjs +0 -8
  719. package/dist/_node_modules/vfile/lib/minproc.browser.cjs.map +0 -1
  720. package/dist/_node_modules/vfile/lib/minproc.browser.js +0 -8
  721. package/dist/_node_modules/vfile/lib/minproc.browser.js.map +0 -1
  722. package/dist/_node_modules/vfile/lib/minurl.browser.cjs +0 -47
  723. package/dist/_node_modules/vfile/lib/minurl.browser.cjs.map +0 -1
  724. package/dist/_node_modules/vfile/lib/minurl.browser.js +0 -47
  725. package/dist/_node_modules/vfile/lib/minurl.browser.js.map +0 -1
  726. package/dist/_node_modules/vfile/lib/minurl.shared.cjs +0 -10
  727. package/dist/_node_modules/vfile/lib/minurl.shared.cjs.map +0 -1
  728. package/dist/_node_modules/vfile/lib/minurl.shared.js +0 -10
  729. package/dist/_node_modules/vfile/lib/minurl.shared.js.map +0 -1
  730. package/dist/_node_modules/vfile-location/lib/index.cjs +0 -50
  731. package/dist/_node_modules/vfile-location/lib/index.cjs.map +0 -1
  732. package/dist/_node_modules/vfile-location/lib/index.js +0 -50
  733. package/dist/_node_modules/vfile-location/lib/index.js.map +0 -1
  734. package/dist/_node_modules/vfile-message/lib/index.cjs +0 -139
  735. package/dist/_node_modules/vfile-message/lib/index.cjs.map +0 -1
  736. package/dist/_node_modules/vfile-message/lib/index.js +0 -139
  737. package/dist/_node_modules/vfile-message/lib/index.js.map +0 -1
  738. package/dist/_node_modules/web-namespaces/index.cjs +0 -12
  739. package/dist/_node_modules/web-namespaces/index.cjs.map +0 -1
  740. package/dist/_node_modules/web-namespaces/index.js +0 -12
  741. package/dist/_node_modules/web-namespaces/index.js.map +0 -1
  742. package/dist/_node_modules/zwitch/index.cjs +0 -23
  743. package/dist/_node_modules/zwitch/index.cjs.map +0 -1
  744. package/dist/_node_modules/zwitch/index.js +0 -23
  745. package/dist/_node_modules/zwitch/index.js.map +0 -1
  746. package/dist/_virtual/_commonjsHelpers.cjs +0 -7
  747. package/dist/_virtual/_commonjsHelpers.cjs.map +0 -1
  748. package/dist/_virtual/_commonjsHelpers.js +0 -7
  749. package/dist/_virtual/_commonjsHelpers.js.map +0 -1
  750. package/dist/_virtual/index.cjs +0 -9
  751. package/dist/_virtual/index.cjs.map +0 -1
  752. package/dist/_virtual/index.js +0 -9
  753. package/dist/_virtual/index.js.map +0 -1
  754. package/dist/errors/PrismicRichTextError.cjs +0 -6
  755. package/dist/errors/PrismicRichTextError.cjs.map +0 -1
  756. package/dist/errors/PrismicRichTextError.d.ts +0 -2
  757. package/dist/errors/PrismicRichTextError.js +0 -6
  758. package/dist/errors/PrismicRichTextError.js.map +0 -1
  759. package/dist/errors/PrismicRichTextSerializerError.cjs +0 -7
  760. package/dist/errors/PrismicRichTextSerializerError.cjs.map +0 -1
  761. package/dist/errors/PrismicRichTextSerializerError.d.ts +0 -3
  762. package/dist/errors/PrismicRichTextSerializerError.js +0 -7
  763. package/dist/errors/PrismicRichTextSerializerError.js.map +0 -1
  764. package/dist/helpers/unstable_htmlAsRichText.cjs +0 -11
  765. package/dist/helpers/unstable_htmlAsRichText.cjs.map +0 -1
  766. package/dist/helpers/unstable_htmlAsRichText.d.ts +0 -81
  767. package/dist/helpers/unstable_htmlAsRichText.js +0 -11
  768. package/dist/helpers/unstable_htmlAsRichText.js.map +0 -1
  769. package/dist/helpers/unstable_markdownAsRichText.cjs +0 -12
  770. package/dist/helpers/unstable_markdownAsRichText.cjs.map +0 -1
  771. package/dist/helpers/unstable_markdownAsRichText.d.ts +0 -30
  772. package/dist/helpers/unstable_markdownAsRichText.js +0 -12
  773. package/dist/helpers/unstable_markdownAsRichText.js.map +0 -1
  774. package/dist/lib/RichTextFieldBuilder.cjs +0 -115
  775. package/dist/lib/RichTextFieldBuilder.cjs.map +0 -1
  776. package/dist/lib/RichTextFieldBuilder.d.ts +0 -35
  777. package/dist/lib/RichTextFieldBuilder.js +0 -115
  778. package/dist/lib/RichTextFieldBuilder.js.map +0 -1
  779. package/dist/lib/filterRichTextField.cjs +0 -88
  780. package/dist/lib/filterRichTextField.cjs.map +0 -1
  781. package/dist/lib/filterRichTextField.d.ts +0 -12
  782. package/dist/lib/filterRichTextField.js +0 -88
  783. package/dist/lib/filterRichTextField.js.map +0 -1
  784. package/dist/lib/hastSerializerHelpers.cjs +0 -96
  785. package/dist/lib/hastSerializerHelpers.cjs.map +0 -1
  786. package/dist/lib/hastSerializerHelpers.d.ts +0 -28
  787. package/dist/lib/hastSerializerHelpers.js +0 -96
  788. package/dist/lib/hastSerializerHelpers.js.map +0 -1
  789. package/dist/lib/hastToRichText.cjs +0 -164
  790. package/dist/lib/hastToRichText.cjs.map +0 -1
  791. package/dist/lib/hastToRichText.d.ts +0 -30
  792. package/dist/lib/hastToRichText.js +0 -164
  793. package/dist/lib/hastToRichText.js.map +0 -1
  794. package/dist/lib/rehypeRichText.cjs +0 -60
  795. package/dist/lib/rehypeRichText.cjs.map +0 -1
  796. package/dist/lib/rehypeRichText.d.ts +0 -66
  797. package/dist/lib/rehypeRichText.js +0 -60
  798. package/dist/lib/rehypeRichText.js.map +0 -1
  799. package/src/errors/PrismicRichTextError.ts +0 -1
  800. package/src/errors/PrismicRichTextSerializerError.ts +0 -3
  801. package/src/helpers/unstable_htmlAsRichText.ts +0 -122
  802. package/src/helpers/unstable_markdownAsRichText.ts +0 -53
  803. package/src/lib/RichTextFieldBuilder.ts +0 -164
  804. package/src/lib/filterRichTextField.ts +0 -159
  805. package/src/lib/hastSerializerHelpers.ts +0 -157
  806. package/src/lib/hastToRichText.ts +0 -295
  807. package/src/lib/rehypeRichText.ts +0 -184
@@ -1,39 +0,0 @@
1
- const emptyOptions = {};
2
- function toString(value, options) {
3
- const settings = emptyOptions;
4
- const includeImageAlt = typeof settings.includeImageAlt === "boolean" ? settings.includeImageAlt : true;
5
- const includeHtml = typeof settings.includeHtml === "boolean" ? settings.includeHtml : true;
6
- return one(value, includeImageAlt, includeHtml);
7
- }
8
- function one(value, includeImageAlt, includeHtml) {
9
- if (node(value)) {
10
- if ("value" in value) {
11
- return value.type === "html" && !includeHtml ? "" : value.value;
12
- }
13
- if (includeImageAlt && "alt" in value && value.alt) {
14
- return value.alt;
15
- }
16
- if ("children" in value) {
17
- return all(value.children, includeImageAlt, includeHtml);
18
- }
19
- }
20
- if (Array.isArray(value)) {
21
- return all(value, includeImageAlt, includeHtml);
22
- }
23
- return "";
24
- }
25
- function all(values, includeImageAlt, includeHtml) {
26
- const result = [];
27
- let index = -1;
28
- while (++index < values.length) {
29
- result[index] = one(values[index], includeImageAlt, includeHtml);
30
- }
31
- return result.join("");
32
- }
33
- function node(value) {
34
- return Boolean(value && typeof value === "object");
35
- }
36
- export {
37
- toString
38
- };
39
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sources":["../../../../node_modules/mdast-util-to-string/lib/index.js"],"sourcesContent":["/**\n * @typedef {import('mdast').Nodes} Nodes\n *\n * @typedef Options\n * Configuration (optional).\n * @property {boolean | null | undefined} [includeImageAlt=true]\n * Whether to use `alt` for `image`s (default: `true`).\n * @property {boolean | null | undefined} [includeHtml=true]\n * Whether to use `value` of HTML (default: `true`).\n */\n\n/** @type {Options} */\nconst emptyOptions = {}\n\n/**\n * Get the text content of a node or list of nodes.\n *\n * Prefers the node’s plain-text fields, otherwise serializes its children,\n * and if the given value is an array, serialize the nodes in it.\n *\n * @param {unknown} [value]\n * Thing to serialize, typically `Node`.\n * @param {Options | null | undefined} [options]\n * Configuration (optional).\n * @returns {string}\n * Serialized `value`.\n */\nexport function toString(value, options) {\n const settings = options || emptyOptions\n const includeImageAlt =\n typeof settings.includeImageAlt === 'boolean'\n ? settings.includeImageAlt\n : true\n const includeHtml =\n typeof settings.includeHtml === 'boolean' ? settings.includeHtml : true\n\n return one(value, includeImageAlt, includeHtml)\n}\n\n/**\n * One node or several nodes.\n *\n * @param {unknown} value\n * Thing to serialize.\n * @param {boolean} includeImageAlt\n * Include image `alt`s.\n * @param {boolean} includeHtml\n * Include HTML.\n * @returns {string}\n * Serialized node.\n */\nfunction one(value, includeImageAlt, includeHtml) {\n if (node(value)) {\n if ('value' in value) {\n return value.type === 'html' && !includeHtml ? '' : value.value\n }\n\n if (includeImageAlt && 'alt' in value && value.alt) {\n return value.alt\n }\n\n if ('children' in value) {\n return all(value.children, includeImageAlt, includeHtml)\n }\n }\n\n if (Array.isArray(value)) {\n return all(value, includeImageAlt, includeHtml)\n }\n\n return ''\n}\n\n/**\n * Serialize a list of nodes.\n *\n * @param {Array<unknown>} values\n * Thing to serialize.\n * @param {boolean} includeImageAlt\n * Include image `alt`s.\n * @param {boolean} includeHtml\n * Include HTML.\n * @returns {string}\n * Serialized nodes.\n */\nfunction all(values, includeImageAlt, includeHtml) {\n /** @type {Array<string>} */\n const result = []\n let index = -1\n\n while (++index < values.length) {\n result[index] = one(values[index], includeImageAlt, includeHtml)\n }\n\n return result.join('')\n}\n\n/**\n * Check if `value` looks like a node.\n *\n * @param {unknown} value\n * Thing.\n * @returns {value is Nodes}\n * Whether `value` is a node.\n */\nfunction node(value) {\n return Boolean(value && typeof value === 'object')\n}\n"],"names":[],"mappings":"AAYA,MAAM,eAAe,CAAE;AAehB,SAAS,SAAS,OAAO,SAAS;AACvC,QAAM,WAAsB;AAC5B,QAAM,kBACJ,OAAO,SAAS,oBAAoB,YAChC,SAAS,kBACT;AACN,QAAM,cACJ,OAAO,SAAS,gBAAgB,YAAY,SAAS,cAAc;AAErE,SAAO,IAAI,OAAO,iBAAiB,WAAW;AAChD;AAcA,SAAS,IAAI,OAAO,iBAAiB,aAAa;AAChD,MAAI,KAAK,KAAK,GAAG;AACf,QAAI,WAAW,OAAO;AACpB,aAAO,MAAM,SAAS,UAAU,CAAC,cAAc,KAAK,MAAM;AAAA,IAC3D;AAED,QAAI,mBAAmB,SAAS,SAAS,MAAM,KAAK;AAClD,aAAO,MAAM;AAAA,IACd;AAED,QAAI,cAAc,OAAO;AACvB,aAAO,IAAI,MAAM,UAAU,iBAAiB,WAAW;AAAA,IACxD;AAAA,EACF;AAED,MAAI,MAAM,QAAQ,KAAK,GAAG;AACxB,WAAO,IAAI,OAAO,iBAAiB,WAAW;AAAA,EAC/C;AAED,SAAO;AACT;AAcA,SAAS,IAAI,QAAQ,iBAAiB,aAAa;AAEjD,QAAM,SAAS,CAAE;AACjB,MAAI,QAAQ;AAEZ,SAAO,EAAE,QAAQ,OAAO,QAAQ;AAC9B,WAAO,KAAK,IAAI,IAAI,OAAO,KAAK,GAAG,iBAAiB,WAAW;AAAA,EAChE;AAED,SAAO,OAAO,KAAK,EAAE;AACvB;AAUA,SAAS,KAAK,OAAO;AACnB,SAAO,QAAQ,SAAS,OAAO,UAAU,QAAQ;AACnD;","x_google_ignoreList":[0]}
@@ -1,94 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const text$1 = require("./initialize/text.cjs");
4
- const list = require("../../micromark-core-commonmark/lib/list.cjs");
5
- const blockQuote = require("../../micromark-core-commonmark/lib/block-quote.cjs");
6
- const definition = require("../../micromark-core-commonmark/lib/definition.cjs");
7
- const codeIndented = require("../../micromark-core-commonmark/lib/code-indented.cjs");
8
- const headingAtx = require("../../micromark-core-commonmark/lib/heading-atx.cjs");
9
- const thematicBreak = require("../../micromark-core-commonmark/lib/thematic-break.cjs");
10
- const setextUnderline = require("../../micromark-core-commonmark/lib/setext-underline.cjs");
11
- const htmlFlow = require("../../micromark-core-commonmark/lib/html-flow.cjs");
12
- const codeFenced = require("../../micromark-core-commonmark/lib/code-fenced.cjs");
13
- const characterReference = require("../../micromark-core-commonmark/lib/character-reference.cjs");
14
- const characterEscape = require("../../micromark-core-commonmark/lib/character-escape.cjs");
15
- const lineEnding = require("../../micromark-core-commonmark/lib/line-ending.cjs");
16
- const labelStartImage = require("../../micromark-core-commonmark/lib/label-start-image.cjs");
17
- const attention = require("../../micromark-core-commonmark/lib/attention.cjs");
18
- const autolink = require("../../micromark-core-commonmark/lib/autolink.cjs");
19
- const htmlText = require("../../micromark-core-commonmark/lib/html-text.cjs");
20
- const labelStartLink = require("../../micromark-core-commonmark/lib/label-start-link.cjs");
21
- const hardBreakEscape = require("../../micromark-core-commonmark/lib/hard-break-escape.cjs");
22
- const labelEnd = require("../../micromark-core-commonmark/lib/label-end.cjs");
23
- const codeText = require("../../micromark-core-commonmark/lib/code-text.cjs");
24
- const document = {
25
- [42]: list.list,
26
- [43]: list.list,
27
- [45]: list.list,
28
- [48]: list.list,
29
- [49]: list.list,
30
- [50]: list.list,
31
- [51]: list.list,
32
- [52]: list.list,
33
- [53]: list.list,
34
- [54]: list.list,
35
- [55]: list.list,
36
- [56]: list.list,
37
- [57]: list.list,
38
- [62]: blockQuote.blockQuote
39
- };
40
- const contentInitial = {
41
- [91]: definition.definition
42
- };
43
- const flowInitial = {
44
- [-2]: codeIndented.codeIndented,
45
- [-1]: codeIndented.codeIndented,
46
- [32]: codeIndented.codeIndented
47
- };
48
- const flow = {
49
- [35]: headingAtx.headingAtx,
50
- [42]: thematicBreak.thematicBreak,
51
- [45]: [setextUnderline.setextUnderline, thematicBreak.thematicBreak],
52
- [60]: htmlFlow.htmlFlow,
53
- [61]: setextUnderline.setextUnderline,
54
- [95]: thematicBreak.thematicBreak,
55
- [96]: codeFenced.codeFenced,
56
- [126]: codeFenced.codeFenced
57
- };
58
- const string = {
59
- [38]: characterReference.characterReference,
60
- [92]: characterEscape.characterEscape
61
- };
62
- const text = {
63
- [-5]: lineEnding.lineEnding,
64
- [-4]: lineEnding.lineEnding,
65
- [-3]: lineEnding.lineEnding,
66
- [33]: labelStartImage.labelStartImage,
67
- [38]: characterReference.characterReference,
68
- [42]: attention.attention,
69
- [60]: [autolink.autolink, htmlText.htmlText],
70
- [91]: labelStartLink.labelStartLink,
71
- [92]: [hardBreakEscape.hardBreakEscape, characterEscape.characterEscape],
72
- [93]: labelEnd.labelEnd,
73
- [95]: attention.attention,
74
- [96]: codeText.codeText
75
- };
76
- const insideSpan = {
77
- null: [attention.attention, text$1.resolver]
78
- };
79
- const attentionMarkers = {
80
- null: [42, 95]
81
- };
82
- const disable = {
83
- null: []
84
- };
85
- exports.attentionMarkers = attentionMarkers;
86
- exports.contentInitial = contentInitial;
87
- exports.disable = disable;
88
- exports.document = document;
89
- exports.flow = flow;
90
- exports.flowInitial = flowInitial;
91
- exports.insideSpan = insideSpan;
92
- exports.string = string;
93
- exports.text = text;
94
- //# sourceMappingURL=constructs.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"constructs.cjs","sources":["../../../../node_modules/micromark/lib/constructs.js"],"sourcesContent":["/**\n * @typedef {import('micromark-util-types').Extension} Extension\n */\n\nimport {\n attention,\n autolink,\n blockQuote,\n characterEscape,\n characterReference,\n codeFenced,\n codeIndented,\n codeText,\n definition,\n hardBreakEscape,\n headingAtx,\n htmlFlow,\n htmlText,\n labelEnd,\n labelStartImage,\n labelStartLink,\n lineEnding,\n list,\n setextUnderline,\n thematicBreak\n} from 'micromark-core-commonmark'\nimport {resolver as resolveText} from './initialize/text.js'\n\n/** @satisfies {Extension['document']} */\nexport const document = {\n [42]: list,\n [43]: list,\n [45]: list,\n [48]: list,\n [49]: list,\n [50]: list,\n [51]: list,\n [52]: list,\n [53]: list,\n [54]: list,\n [55]: list,\n [56]: list,\n [57]: list,\n [62]: blockQuote\n}\n\n/** @satisfies {Extension['contentInitial']} */\nexport const contentInitial = {\n [91]: definition\n}\n\n/** @satisfies {Extension['flowInitial']} */\nexport const flowInitial = {\n [-2]: codeIndented,\n [-1]: codeIndented,\n [32]: codeIndented\n}\n\n/** @satisfies {Extension['flow']} */\nexport const flow = {\n [35]: headingAtx,\n [42]: thematicBreak,\n [45]: [setextUnderline, thematicBreak],\n [60]: htmlFlow,\n [61]: setextUnderline,\n [95]: thematicBreak,\n [96]: codeFenced,\n [126]: codeFenced\n}\n\n/** @satisfies {Extension['string']} */\nexport const string = {\n [38]: characterReference,\n [92]: characterEscape\n}\n\n/** @satisfies {Extension['text']} */\nexport const text = {\n [-5]: lineEnding,\n [-4]: lineEnding,\n [-3]: lineEnding,\n [33]: labelStartImage,\n [38]: characterReference,\n [42]: attention,\n [60]: [autolink, htmlText],\n [91]: labelStartLink,\n [92]: [hardBreakEscape, characterEscape],\n [93]: labelEnd,\n [95]: attention,\n [96]: codeText\n}\n\n/** @satisfies {Extension['insideSpan']} */\nexport const insideSpan = {\n null: [attention, resolveText]\n}\n\n/** @satisfies {Extension['attentionMarkers']} */\nexport const attentionMarkers = {\n null: [42, 95]\n}\n\n/** @satisfies {Extension['disable']} */\nexport const disable = {\n null: []\n}\n"],"names":["list","blockQuote","definition","codeIndented","headingAtx","thematicBreak","setextUnderline","htmlFlow","codeFenced","characterReference","characterEscape","lineEnding","labelStartImage","attention","autolink","htmlText","labelStartLink","hardBreakEscape","labelEnd","codeText","resolveText"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AA6BY,MAAC,WAAW;AAAA,EACtB,CAAC,EAAE,GAAGA,KAAI;AAAA,EACV,CAAC,EAAE,GAAGA,KAAI;AAAA,EACV,CAAC,EAAE,GAAGA,KAAI;AAAA,EACV,CAAC,EAAE,GAAGA,KAAI;AAAA,EACV,CAAC,EAAE,GAAGA,KAAI;AAAA,EACV,CAAC,EAAE,GAAGA,KAAI;AAAA,EACV,CAAC,EAAE,GAAGA,KAAI;AAAA,EACV,CAAC,EAAE,GAAGA,KAAI;AAAA,EACV,CAAC,EAAE,GAAGA,KAAI;AAAA,EACV,CAAC,EAAE,GAAGA,KAAI;AAAA,EACV,CAAC,EAAE,GAAGA,KAAI;AAAA,EACV,CAAC,EAAE,GAAGA,KAAI;AAAA,EACV,CAAC,EAAE,GAAGA,KAAI;AAAA,EACV,CAAC,EAAE,GAAGC,WAAU;AAClB;AAGY,MAAC,iBAAiB;AAAA,EAC5B,CAAC,EAAE,GAAGC,WAAU;AAClB;AAGY,MAAC,cAAc;AAAA,EACzB,CAAC,EAAE,GAAGC,aAAY;AAAA,EAClB,CAAC,EAAE,GAAGA,aAAY;AAAA,EAClB,CAAC,EAAE,GAAGA,aAAY;AACpB;AAGY,MAAC,OAAO;AAAA,EAClB,CAAC,EAAE,GAAGC,WAAU;AAAA,EAChB,CAAC,EAAE,GAAGC,cAAa;AAAA,EACnB,CAAC,EAAE,GAAG,CAACC,gBAAe,iBAAED,2BAAa;AAAA,EACrC,CAAC,EAAE,GAAGE,SAAQ;AAAA,EACd,CAAC,EAAE,GAAGD,gBAAe;AAAA,EACrB,CAAC,EAAE,GAAGD,cAAa;AAAA,EACnB,CAAC,EAAE,GAAGG,WAAU;AAAA,EAChB,CAAC,GAAG,GAAGA,WAAU;AACnB;AAGY,MAAC,SAAS;AAAA,EACpB,CAAC,EAAE,GAAGC,mBAAkB;AAAA,EACxB,CAAC,EAAE,GAAGC,gBAAe;AACvB;AAGY,MAAC,OAAO;AAAA,EAClB,CAAC,EAAE,GAAGC,WAAU;AAAA,EAChB,CAAC,EAAE,GAAGA,WAAU;AAAA,EAChB,CAAC,EAAE,GAAGA,WAAU;AAAA,EAChB,CAAC,EAAE,GAAGC,gBAAe;AAAA,EACrB,CAAC,EAAE,GAAGH,mBAAkB;AAAA,EACxB,CAAC,EAAE,GAAGI,UAAS;AAAA,EACf,CAAC,EAAE,GAAG,CAACC,SAAQ,UAAEC,iBAAQ;AAAA,EACzB,CAAC,EAAE,GAAGC,eAAc;AAAA,EACpB,CAAC,EAAE,GAAG,CAACC,gBAAe,iBAAEP,+BAAe;AAAA,EACvC,CAAC,EAAE,GAAGQ,SAAQ;AAAA,EACd,CAAC,EAAE,GAAGL,UAAS;AAAA,EACf,CAAC,EAAE,GAAGM,SAAQ;AAChB;AAGY,MAAC,aAAa;AAAA,EACxB,MAAM,CAACN,UAAS,WAAEO,eAAW;AAC/B;AAGY,MAAC,mBAAmB;AAAA,EAC9B,MAAM,CAAC,IAAI,EAAE;AACf;AAGY,MAAC,UAAU;AAAA,EACrB,MAAM,CAAE;AACV;;;;;;;;;;","x_google_ignoreList":[0]}
@@ -1,94 +0,0 @@
1
- import { resolver } from "./initialize/text.js";
2
- import { list } from "../../micromark-core-commonmark/lib/list.js";
3
- import { blockQuote } from "../../micromark-core-commonmark/lib/block-quote.js";
4
- import { definition } from "../../micromark-core-commonmark/lib/definition.js";
5
- import { codeIndented } from "../../micromark-core-commonmark/lib/code-indented.js";
6
- import { headingAtx } from "../../micromark-core-commonmark/lib/heading-atx.js";
7
- import { thematicBreak } from "../../micromark-core-commonmark/lib/thematic-break.js";
8
- import { setextUnderline } from "../../micromark-core-commonmark/lib/setext-underline.js";
9
- import { htmlFlow } from "../../micromark-core-commonmark/lib/html-flow.js";
10
- import { codeFenced } from "../../micromark-core-commonmark/lib/code-fenced.js";
11
- import { characterReference } from "../../micromark-core-commonmark/lib/character-reference.js";
12
- import { characterEscape } from "../../micromark-core-commonmark/lib/character-escape.js";
13
- import { lineEnding } from "../../micromark-core-commonmark/lib/line-ending.js";
14
- import { labelStartImage } from "../../micromark-core-commonmark/lib/label-start-image.js";
15
- import { attention } from "../../micromark-core-commonmark/lib/attention.js";
16
- import { autolink } from "../../micromark-core-commonmark/lib/autolink.js";
17
- import { htmlText } from "../../micromark-core-commonmark/lib/html-text.js";
18
- import { labelStartLink } from "../../micromark-core-commonmark/lib/label-start-link.js";
19
- import { hardBreakEscape } from "../../micromark-core-commonmark/lib/hard-break-escape.js";
20
- import { labelEnd } from "../../micromark-core-commonmark/lib/label-end.js";
21
- import { codeText } from "../../micromark-core-commonmark/lib/code-text.js";
22
- const document = {
23
- [42]: list,
24
- [43]: list,
25
- [45]: list,
26
- [48]: list,
27
- [49]: list,
28
- [50]: list,
29
- [51]: list,
30
- [52]: list,
31
- [53]: list,
32
- [54]: list,
33
- [55]: list,
34
- [56]: list,
35
- [57]: list,
36
- [62]: blockQuote
37
- };
38
- const contentInitial = {
39
- [91]: definition
40
- };
41
- const flowInitial = {
42
- [-2]: codeIndented,
43
- [-1]: codeIndented,
44
- [32]: codeIndented
45
- };
46
- const flow = {
47
- [35]: headingAtx,
48
- [42]: thematicBreak,
49
- [45]: [setextUnderline, thematicBreak],
50
- [60]: htmlFlow,
51
- [61]: setextUnderline,
52
- [95]: thematicBreak,
53
- [96]: codeFenced,
54
- [126]: codeFenced
55
- };
56
- const string = {
57
- [38]: characterReference,
58
- [92]: characterEscape
59
- };
60
- const text = {
61
- [-5]: lineEnding,
62
- [-4]: lineEnding,
63
- [-3]: lineEnding,
64
- [33]: labelStartImage,
65
- [38]: characterReference,
66
- [42]: attention,
67
- [60]: [autolink, htmlText],
68
- [91]: labelStartLink,
69
- [92]: [hardBreakEscape, characterEscape],
70
- [93]: labelEnd,
71
- [95]: attention,
72
- [96]: codeText
73
- };
74
- const insideSpan = {
75
- null: [attention, resolver]
76
- };
77
- const attentionMarkers = {
78
- null: [42, 95]
79
- };
80
- const disable = {
81
- null: []
82
- };
83
- export {
84
- attentionMarkers,
85
- contentInitial,
86
- disable,
87
- document,
88
- flow,
89
- flowInitial,
90
- insideSpan,
91
- string,
92
- text
93
- };
94
- //# sourceMappingURL=constructs.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"constructs.js","sources":["../../../../node_modules/micromark/lib/constructs.js"],"sourcesContent":["/**\n * @typedef {import('micromark-util-types').Extension} Extension\n */\n\nimport {\n attention,\n autolink,\n blockQuote,\n characterEscape,\n characterReference,\n codeFenced,\n codeIndented,\n codeText,\n definition,\n hardBreakEscape,\n headingAtx,\n htmlFlow,\n htmlText,\n labelEnd,\n labelStartImage,\n labelStartLink,\n lineEnding,\n list,\n setextUnderline,\n thematicBreak\n} from 'micromark-core-commonmark'\nimport {resolver as resolveText} from './initialize/text.js'\n\n/** @satisfies {Extension['document']} */\nexport const document = {\n [42]: list,\n [43]: list,\n [45]: list,\n [48]: list,\n [49]: list,\n [50]: list,\n [51]: list,\n [52]: list,\n [53]: list,\n [54]: list,\n [55]: list,\n [56]: list,\n [57]: list,\n [62]: blockQuote\n}\n\n/** @satisfies {Extension['contentInitial']} */\nexport const contentInitial = {\n [91]: definition\n}\n\n/** @satisfies {Extension['flowInitial']} */\nexport const flowInitial = {\n [-2]: codeIndented,\n [-1]: codeIndented,\n [32]: codeIndented\n}\n\n/** @satisfies {Extension['flow']} */\nexport const flow = {\n [35]: headingAtx,\n [42]: thematicBreak,\n [45]: [setextUnderline, thematicBreak],\n [60]: htmlFlow,\n [61]: setextUnderline,\n [95]: thematicBreak,\n [96]: codeFenced,\n [126]: codeFenced\n}\n\n/** @satisfies {Extension['string']} */\nexport const string = {\n [38]: characterReference,\n [92]: characterEscape\n}\n\n/** @satisfies {Extension['text']} */\nexport const text = {\n [-5]: lineEnding,\n [-4]: lineEnding,\n [-3]: lineEnding,\n [33]: labelStartImage,\n [38]: characterReference,\n [42]: attention,\n [60]: [autolink, htmlText],\n [91]: labelStartLink,\n [92]: [hardBreakEscape, characterEscape],\n [93]: labelEnd,\n [95]: attention,\n [96]: codeText\n}\n\n/** @satisfies {Extension['insideSpan']} */\nexport const insideSpan = {\n null: [attention, resolveText]\n}\n\n/** @satisfies {Extension['attentionMarkers']} */\nexport const attentionMarkers = {\n null: [42, 95]\n}\n\n/** @satisfies {Extension['disable']} */\nexport const disable = {\n null: []\n}\n"],"names":["resolveText"],"mappings":";;;;;;;;;;;;;;;;;;;;;AA6BY,MAAC,WAAW;AAAA,EACtB,CAAC,EAAE,GAAG;AAAA,EACN,CAAC,EAAE,GAAG;AAAA,EACN,CAAC,EAAE,GAAG;AAAA,EACN,CAAC,EAAE,GAAG;AAAA,EACN,CAAC,EAAE,GAAG;AAAA,EACN,CAAC,EAAE,GAAG;AAAA,EACN,CAAC,EAAE,GAAG;AAAA,EACN,CAAC,EAAE,GAAG;AAAA,EACN,CAAC,EAAE,GAAG;AAAA,EACN,CAAC,EAAE,GAAG;AAAA,EACN,CAAC,EAAE,GAAG;AAAA,EACN,CAAC,EAAE,GAAG;AAAA,EACN,CAAC,EAAE,GAAG;AAAA,EACN,CAAC,EAAE,GAAG;AACR;AAGY,MAAC,iBAAiB;AAAA,EAC5B,CAAC,EAAE,GAAG;AACR;AAGY,MAAC,cAAc;AAAA,EACzB,CAAC,EAAE,GAAG;AAAA,EACN,CAAC,EAAE,GAAG;AAAA,EACN,CAAC,EAAE,GAAG;AACR;AAGY,MAAC,OAAO;AAAA,EAClB,CAAC,EAAE,GAAG;AAAA,EACN,CAAC,EAAE,GAAG;AAAA,EACN,CAAC,EAAE,GAAG,CAAC,iBAAiB,aAAa;AAAA,EACrC,CAAC,EAAE,GAAG;AAAA,EACN,CAAC,EAAE,GAAG;AAAA,EACN,CAAC,EAAE,GAAG;AAAA,EACN,CAAC,EAAE,GAAG;AAAA,EACN,CAAC,GAAG,GAAG;AACT;AAGY,MAAC,SAAS;AAAA,EACpB,CAAC,EAAE,GAAG;AAAA,EACN,CAAC,EAAE,GAAG;AACR;AAGY,MAAC,OAAO;AAAA,EAClB,CAAC,EAAE,GAAG;AAAA,EACN,CAAC,EAAE,GAAG;AAAA,EACN,CAAC,EAAE,GAAG;AAAA,EACN,CAAC,EAAE,GAAG;AAAA,EACN,CAAC,EAAE,GAAG;AAAA,EACN,CAAC,EAAE,GAAG;AAAA,EACN,CAAC,EAAE,GAAG,CAAC,UAAU,QAAQ;AAAA,EACzB,CAAC,EAAE,GAAG;AAAA,EACN,CAAC,EAAE,GAAG,CAAC,iBAAiB,eAAe;AAAA,EACvC,CAAC,EAAE,GAAG;AAAA,EACN,CAAC,EAAE,GAAG;AAAA,EACN,CAAC,EAAE,GAAG;AACR;AAGY,MAAC,aAAa;AAAA,EACxB,MAAM,CAAC,WAAWA,QAAW;AAC/B;AAGY,MAAC,mBAAmB;AAAA,EAC9B,MAAM,CAAC,IAAI,EAAE;AACf;AAGY,MAAC,UAAU;AAAA,EACrB,MAAM,CAAE;AACV;","x_google_ignoreList":[0]}
@@ -1,316 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const index$2 = require("../../micromark-util-character/index.cjs");
4
- const index = require("../../micromark-util-chunked/index.cjs");
5
- const index$1 = require("../../micromark-util-resolve-all/index.cjs");
6
- function createTokenizer(parser, initialize, from) {
7
- let point = Object.assign(
8
- from ? Object.assign({}, from) : {
9
- line: 1,
10
- column: 1,
11
- offset: 0
12
- },
13
- {
14
- _index: 0,
15
- _bufferIndex: -1
16
- }
17
- );
18
- const columnStart = {};
19
- const resolveAllConstructs = [];
20
- let chunks = [];
21
- let stack = [];
22
- const effects = {
23
- consume,
24
- enter,
25
- exit,
26
- attempt: constructFactory(onsuccessfulconstruct),
27
- check: constructFactory(onsuccessfulcheck),
28
- interrupt: constructFactory(onsuccessfulcheck, {
29
- interrupt: true
30
- })
31
- };
32
- const context = {
33
- previous: null,
34
- code: null,
35
- containerState: {},
36
- events: [],
37
- parser,
38
- sliceStream,
39
- sliceSerialize,
40
- now,
41
- defineSkip,
42
- write
43
- };
44
- let state = initialize.tokenize.call(context, effects);
45
- if (initialize.resolveAll) {
46
- resolveAllConstructs.push(initialize);
47
- }
48
- return context;
49
- function write(slice) {
50
- chunks = index.push(chunks, slice);
51
- main();
52
- if (chunks[chunks.length - 1] !== null) {
53
- return [];
54
- }
55
- addResult(initialize, 0);
56
- context.events = index$1.resolveAll(resolveAllConstructs, context.events, context);
57
- return context.events;
58
- }
59
- function sliceSerialize(token, expandTabs) {
60
- return serializeChunks(sliceStream(token), expandTabs);
61
- }
62
- function sliceStream(token) {
63
- return sliceChunks(chunks, token);
64
- }
65
- function now() {
66
- const { line, column, offset, _index, _bufferIndex } = point;
67
- return {
68
- line,
69
- column,
70
- offset,
71
- _index,
72
- _bufferIndex
73
- };
74
- }
75
- function defineSkip(value) {
76
- columnStart[value.line] = value.column;
77
- accountForPotentialSkip();
78
- }
79
- function main() {
80
- let chunkIndex;
81
- while (point._index < chunks.length) {
82
- const chunk = chunks[point._index];
83
- if (typeof chunk === "string") {
84
- chunkIndex = point._index;
85
- if (point._bufferIndex < 0) {
86
- point._bufferIndex = 0;
87
- }
88
- while (point._index === chunkIndex && point._bufferIndex < chunk.length) {
89
- go(chunk.charCodeAt(point._bufferIndex));
90
- }
91
- } else {
92
- go(chunk);
93
- }
94
- }
95
- }
96
- function go(code) {
97
- state = state(code);
98
- }
99
- function consume(code) {
100
- if (index$2.markdownLineEnding(code)) {
101
- point.line++;
102
- point.column = 1;
103
- point.offset += code === -3 ? 2 : 1;
104
- accountForPotentialSkip();
105
- } else if (code !== -1) {
106
- point.column++;
107
- point.offset++;
108
- }
109
- if (point._bufferIndex < 0) {
110
- point._index++;
111
- } else {
112
- point._bufferIndex++;
113
- if (point._bufferIndex === chunks[point._index].length) {
114
- point._bufferIndex = -1;
115
- point._index++;
116
- }
117
- }
118
- context.previous = code;
119
- }
120
- function enter(type, fields) {
121
- const token = fields || {};
122
- token.type = type;
123
- token.start = now();
124
- context.events.push(["enter", token, context]);
125
- stack.push(token);
126
- return token;
127
- }
128
- function exit(type) {
129
- const token = stack.pop();
130
- token.end = now();
131
- context.events.push(["exit", token, context]);
132
- return token;
133
- }
134
- function onsuccessfulconstruct(construct, info) {
135
- addResult(construct, info.from);
136
- }
137
- function onsuccessfulcheck(_, info) {
138
- info.restore();
139
- }
140
- function constructFactory(onreturn, fields) {
141
- return hook;
142
- function hook(constructs, returnState, bogusState) {
143
- let listOfConstructs;
144
- let constructIndex;
145
- let currentConstruct;
146
- let info;
147
- return Array.isArray(constructs) ? handleListOfConstructs(constructs) : "tokenize" in constructs ? (
148
- // @ts-expect-error Looks like a construct.
149
- handleListOfConstructs([constructs])
150
- ) : handleMapOfConstructs(constructs);
151
- function handleMapOfConstructs(map) {
152
- return start;
153
- function start(code) {
154
- const def = code !== null && map[code];
155
- const all = code !== null && map.null;
156
- const list = [
157
- // To do: add more extension tests.
158
- /* c8 ignore next 2 */
159
- ...Array.isArray(def) ? def : def ? [def] : [],
160
- ...Array.isArray(all) ? all : all ? [all] : []
161
- ];
162
- return handleListOfConstructs(list)(code);
163
- }
164
- }
165
- function handleListOfConstructs(list) {
166
- listOfConstructs = list;
167
- constructIndex = 0;
168
- if (list.length === 0) {
169
- return bogusState;
170
- }
171
- return handleConstruct(list[constructIndex]);
172
- }
173
- function handleConstruct(construct) {
174
- return start;
175
- function start(code) {
176
- info = store();
177
- currentConstruct = construct;
178
- if (!construct.partial) {
179
- context.currentConstruct = construct;
180
- }
181
- if (construct.name && context.parser.constructs.disable.null.includes(construct.name)) {
182
- return nok();
183
- }
184
- return construct.tokenize.call(
185
- // If we do have fields, create an object w/ `context` as its
186
- // prototype.
187
- // This allows a “live binding”, which is needed for `interrupt`.
188
- fields ? Object.assign(Object.create(context), fields) : context,
189
- effects,
190
- ok,
191
- nok
192
- )(code);
193
- }
194
- }
195
- function ok(code) {
196
- onreturn(currentConstruct, info);
197
- return returnState;
198
- }
199
- function nok(code) {
200
- info.restore();
201
- if (++constructIndex < listOfConstructs.length) {
202
- return handleConstruct(listOfConstructs[constructIndex]);
203
- }
204
- return bogusState;
205
- }
206
- }
207
- }
208
- function addResult(construct, from2) {
209
- if (construct.resolveAll && !resolveAllConstructs.includes(construct)) {
210
- resolveAllConstructs.push(construct);
211
- }
212
- if (construct.resolve) {
213
- index.splice(
214
- context.events,
215
- from2,
216
- context.events.length - from2,
217
- construct.resolve(context.events.slice(from2), context)
218
- );
219
- }
220
- if (construct.resolveTo) {
221
- context.events = construct.resolveTo(context.events, context);
222
- }
223
- }
224
- function store() {
225
- const startPoint = now();
226
- const startPrevious = context.previous;
227
- const startCurrentConstruct = context.currentConstruct;
228
- const startEventsIndex = context.events.length;
229
- const startStack = Array.from(stack);
230
- return {
231
- restore,
232
- from: startEventsIndex
233
- };
234
- function restore() {
235
- point = startPoint;
236
- context.previous = startPrevious;
237
- context.currentConstruct = startCurrentConstruct;
238
- context.events.length = startEventsIndex;
239
- stack = startStack;
240
- accountForPotentialSkip();
241
- }
242
- }
243
- function accountForPotentialSkip() {
244
- if (point.line in columnStart && point.column < 2) {
245
- point.column = columnStart[point.line];
246
- point.offset += columnStart[point.line] - 1;
247
- }
248
- }
249
- }
250
- function sliceChunks(chunks, token) {
251
- const startIndex = token.start._index;
252
- const startBufferIndex = token.start._bufferIndex;
253
- const endIndex = token.end._index;
254
- const endBufferIndex = token.end._bufferIndex;
255
- let view;
256
- if (startIndex === endIndex) {
257
- view = [chunks[startIndex].slice(startBufferIndex, endBufferIndex)];
258
- } else {
259
- view = chunks.slice(startIndex, endIndex);
260
- if (startBufferIndex > -1) {
261
- const head = view[0];
262
- if (typeof head === "string") {
263
- view[0] = head.slice(startBufferIndex);
264
- } else {
265
- view.shift();
266
- }
267
- }
268
- if (endBufferIndex > 0) {
269
- view.push(chunks[endIndex].slice(0, endBufferIndex));
270
- }
271
- }
272
- return view;
273
- }
274
- function serializeChunks(chunks, expandTabs) {
275
- let index2 = -1;
276
- const result = [];
277
- let atTab;
278
- while (++index2 < chunks.length) {
279
- const chunk = chunks[index2];
280
- let value;
281
- if (typeof chunk === "string") {
282
- value = chunk;
283
- } else
284
- switch (chunk) {
285
- case -5: {
286
- value = "\r";
287
- break;
288
- }
289
- case -4: {
290
- value = "\n";
291
- break;
292
- }
293
- case -3: {
294
- value = "\r\n";
295
- break;
296
- }
297
- case -2: {
298
- value = expandTabs ? " " : " ";
299
- break;
300
- }
301
- case -1: {
302
- if (!expandTabs && atTab) continue;
303
- value = " ";
304
- break;
305
- }
306
- default: {
307
- value = String.fromCharCode(chunk);
308
- }
309
- }
310
- atTab = chunk === -2;
311
- result.push(value);
312
- }
313
- return result.join("");
314
- }
315
- exports.createTokenizer = createTokenizer;
316
- //# sourceMappingURL=create-tokenizer.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"create-tokenizer.cjs","sources":["../../../../node_modules/micromark/lib/create-tokenizer.js"],"sourcesContent":["/**\n * @typedef {import('micromark-util-types').Chunk} Chunk\n * @typedef {import('micromark-util-types').Code} Code\n * @typedef {import('micromark-util-types').Construct} Construct\n * @typedef {import('micromark-util-types').ConstructRecord} ConstructRecord\n * @typedef {import('micromark-util-types').Effects} Effects\n * @typedef {import('micromark-util-types').InitialConstruct} InitialConstruct\n * @typedef {import('micromark-util-types').ParseContext} ParseContext\n * @typedef {import('micromark-util-types').Point} Point\n * @typedef {import('micromark-util-types').State} State\n * @typedef {import('micromark-util-types').Token} Token\n * @typedef {import('micromark-util-types').TokenType} TokenType\n * @typedef {import('micromark-util-types').TokenizeContext} TokenizeContext\n */\n\n/**\n * @callback Restore\n * @returns {undefined}\n *\n * @typedef Info\n * @property {Restore} restore\n * @property {number} from\n *\n * @callback ReturnHandle\n * Handle a successful run.\n * @param {Construct} construct\n * @param {Info} info\n * @returns {undefined}\n */\n\nimport {markdownLineEnding} from 'micromark-util-character'\nimport {push, splice} from 'micromark-util-chunked'\nimport {resolveAll} from 'micromark-util-resolve-all'\n/**\n * Create a tokenizer.\n * Tokenizers deal with one type of data (e.g., containers, flow, text).\n * The parser is the object dealing with it all.\n * `initialize` works like other constructs, except that only its `tokenize`\n * function is used, in which case it doesn’t receive an `ok` or `nok`.\n * `from` can be given to set the point before the first character, although\n * when further lines are indented, they must be set with `defineSkip`.\n *\n * @param {ParseContext} parser\n * @param {InitialConstruct} initialize\n * @param {Omit<Point, '_bufferIndex' | '_index'> | undefined} [from]\n * @returns {TokenizeContext}\n */\nexport function createTokenizer(parser, initialize, from) {\n /** @type {Point} */\n let point = Object.assign(\n from\n ? Object.assign({}, from)\n : {\n line: 1,\n column: 1,\n offset: 0\n },\n {\n _index: 0,\n _bufferIndex: -1\n }\n )\n /** @type {Record<string, number>} */\n const columnStart = {}\n /** @type {Array<Construct>} */\n const resolveAllConstructs = []\n /** @type {Array<Chunk>} */\n let chunks = []\n /** @type {Array<Token>} */\n let stack = []\n /** @type {boolean | undefined} */\n let consumed = true\n\n /**\n * Tools used for tokenizing.\n *\n * @type {Effects}\n */\n const effects = {\n consume,\n enter,\n exit,\n attempt: constructFactory(onsuccessfulconstruct),\n check: constructFactory(onsuccessfulcheck),\n interrupt: constructFactory(onsuccessfulcheck, {\n interrupt: true\n })\n }\n\n /**\n * State and tools for resolving and serializing.\n *\n * @type {TokenizeContext}\n */\n const context = {\n previous: null,\n code: null,\n containerState: {},\n events: [],\n parser,\n sliceStream,\n sliceSerialize,\n now,\n defineSkip,\n write\n }\n\n /**\n * The state function.\n *\n * @type {State | undefined}\n */\n let state = initialize.tokenize.call(context, effects)\n\n /**\n * Track which character we expect to be consumed, to catch bugs.\n *\n * @type {Code}\n */\n let expectedCode\n if (initialize.resolveAll) {\n resolveAllConstructs.push(initialize)\n }\n return context\n\n /** @type {TokenizeContext['write']} */\n function write(slice) {\n chunks = push(chunks, slice)\n main()\n\n // Exit if we’re not done, resolve might change stuff.\n if (chunks[chunks.length - 1] !== null) {\n return []\n }\n addResult(initialize, 0)\n\n // Otherwise, resolve, and exit.\n context.events = resolveAll(resolveAllConstructs, context.events, context)\n return context.events\n }\n\n //\n // Tools.\n //\n\n /** @type {TokenizeContext['sliceSerialize']} */\n function sliceSerialize(token, expandTabs) {\n return serializeChunks(sliceStream(token), expandTabs)\n }\n\n /** @type {TokenizeContext['sliceStream']} */\n function sliceStream(token) {\n return sliceChunks(chunks, token)\n }\n\n /** @type {TokenizeContext['now']} */\n function now() {\n // This is a hot path, so we clone manually instead of `Object.assign({}, point)`\n const {line, column, offset, _index, _bufferIndex} = point\n return {\n line,\n column,\n offset,\n _index,\n _bufferIndex\n }\n }\n\n /** @type {TokenizeContext['defineSkip']} */\n function defineSkip(value) {\n columnStart[value.line] = value.column\n accountForPotentialSkip()\n }\n\n //\n // State management.\n //\n\n /**\n * Main loop (note that `_index` and `_bufferIndex` in `point` are modified by\n * `consume`).\n * Here is where we walk through the chunks, which either include strings of\n * several characters, or numerical character codes.\n * The reason to do this in a loop instead of a call is so the stack can\n * drain.\n *\n * @returns {undefined}\n */\n function main() {\n /** @type {number} */\n let chunkIndex\n while (point._index < chunks.length) {\n const chunk = chunks[point._index]\n\n // If we’re in a buffer chunk, loop through it.\n if (typeof chunk === 'string') {\n chunkIndex = point._index\n if (point._bufferIndex < 0) {\n point._bufferIndex = 0\n }\n while (\n point._index === chunkIndex &&\n point._bufferIndex < chunk.length\n ) {\n go(chunk.charCodeAt(point._bufferIndex))\n }\n } else {\n go(chunk)\n }\n }\n }\n\n /**\n * Deal with one code.\n *\n * @param {Code} code\n * @returns {undefined}\n */\n function go(code) {\n consumed = undefined\n expectedCode = code\n state = state(code)\n }\n\n /** @type {Effects['consume']} */\n function consume(code) {\n if (markdownLineEnding(code)) {\n point.line++\n point.column = 1\n point.offset += code === -3 ? 2 : 1\n accountForPotentialSkip()\n } else if (code !== -1) {\n point.column++\n point.offset++\n }\n\n // Not in a string chunk.\n if (point._bufferIndex < 0) {\n point._index++\n } else {\n point._bufferIndex++\n\n // At end of string chunk.\n // @ts-expect-error Points w/ non-negative `_bufferIndex` reference\n // strings.\n if (point._bufferIndex === chunks[point._index].length) {\n point._bufferIndex = -1\n point._index++\n }\n }\n\n // Expose the previous character.\n context.previous = code\n\n // Mark as consumed.\n consumed = true\n }\n\n /** @type {Effects['enter']} */\n function enter(type, fields) {\n /** @type {Token} */\n // @ts-expect-error Patch instead of assign required fields to help GC.\n const token = fields || {}\n token.type = type\n token.start = now()\n context.events.push(['enter', token, context])\n stack.push(token)\n return token\n }\n\n /** @type {Effects['exit']} */\n function exit(type) {\n const token = stack.pop()\n token.end = now()\n context.events.push(['exit', token, context])\n return token\n }\n\n /**\n * Use results.\n *\n * @type {ReturnHandle}\n */\n function onsuccessfulconstruct(construct, info) {\n addResult(construct, info.from)\n }\n\n /**\n * Discard results.\n *\n * @type {ReturnHandle}\n */\n function onsuccessfulcheck(_, info) {\n info.restore()\n }\n\n /**\n * Factory to attempt/check/interrupt.\n *\n * @param {ReturnHandle} onreturn\n * @param {{interrupt?: boolean | undefined} | undefined} [fields]\n */\n function constructFactory(onreturn, fields) {\n return hook\n\n /**\n * Handle either an object mapping codes to constructs, a list of\n * constructs, or a single construct.\n *\n * @param {Array<Construct> | Construct | ConstructRecord} constructs\n * @param {State} returnState\n * @param {State | undefined} [bogusState]\n * @returns {State}\n */\n function hook(constructs, returnState, bogusState) {\n /** @type {Array<Construct>} */\n let listOfConstructs\n /** @type {number} */\n let constructIndex\n /** @type {Construct} */\n let currentConstruct\n /** @type {Info} */\n let info\n return Array.isArray(constructs) /* c8 ignore next 1 */\n ? handleListOfConstructs(constructs)\n : 'tokenize' in constructs\n ? // @ts-expect-error Looks like a construct.\n handleListOfConstructs([constructs])\n : handleMapOfConstructs(constructs)\n\n /**\n * Handle a list of construct.\n *\n * @param {ConstructRecord} map\n * @returns {State}\n */\n function handleMapOfConstructs(map) {\n return start\n\n /** @type {State} */\n function start(code) {\n const def = code !== null && map[code]\n const all = code !== null && map.null\n const list = [\n // To do: add more extension tests.\n /* c8 ignore next 2 */\n ...(Array.isArray(def) ? def : def ? [def] : []),\n ...(Array.isArray(all) ? all : all ? [all] : [])\n ]\n return handleListOfConstructs(list)(code)\n }\n }\n\n /**\n * Handle a list of construct.\n *\n * @param {Array<Construct>} list\n * @returns {State}\n */\n function handleListOfConstructs(list) {\n listOfConstructs = list\n constructIndex = 0\n if (list.length === 0) {\n return bogusState\n }\n return handleConstruct(list[constructIndex])\n }\n\n /**\n * Handle a single construct.\n *\n * @param {Construct} construct\n * @returns {State}\n */\n function handleConstruct(construct) {\n return start\n\n /** @type {State} */\n function start(code) {\n // To do: not needed to store if there is no bogus state, probably?\n // Currently doesn’t work because `inspect` in document does a check\n // w/o a bogus, which doesn’t make sense. But it does seem to help perf\n // by not storing.\n info = store()\n currentConstruct = construct\n if (!construct.partial) {\n context.currentConstruct = construct\n }\n\n // Always populated by defaults.\n\n if (\n construct.name &&\n context.parser.constructs.disable.null.includes(construct.name)\n ) {\n return nok(code)\n }\n return construct.tokenize.call(\n // If we do have fields, create an object w/ `context` as its\n // prototype.\n // This allows a “live binding”, which is needed for `interrupt`.\n fields ? Object.assign(Object.create(context), fields) : context,\n effects,\n ok,\n nok\n )(code)\n }\n }\n\n /** @type {State} */\n function ok(code) {\n consumed = true\n onreturn(currentConstruct, info)\n return returnState\n }\n\n /** @type {State} */\n function nok(code) {\n consumed = true\n info.restore()\n if (++constructIndex < listOfConstructs.length) {\n return handleConstruct(listOfConstructs[constructIndex])\n }\n return bogusState\n }\n }\n }\n\n /**\n * @param {Construct} construct\n * @param {number} from\n * @returns {undefined}\n */\n function addResult(construct, from) {\n if (construct.resolveAll && !resolveAllConstructs.includes(construct)) {\n resolveAllConstructs.push(construct)\n }\n if (construct.resolve) {\n splice(\n context.events,\n from,\n context.events.length - from,\n construct.resolve(context.events.slice(from), context)\n )\n }\n if (construct.resolveTo) {\n context.events = construct.resolveTo(context.events, context)\n }\n }\n\n /**\n * Store state.\n *\n * @returns {Info}\n */\n function store() {\n const startPoint = now()\n const startPrevious = context.previous\n const startCurrentConstruct = context.currentConstruct\n const startEventsIndex = context.events.length\n const startStack = Array.from(stack)\n return {\n restore,\n from: startEventsIndex\n }\n\n /**\n * Restore state.\n *\n * @returns {undefined}\n */\n function restore() {\n point = startPoint\n context.previous = startPrevious\n context.currentConstruct = startCurrentConstruct\n context.events.length = startEventsIndex\n stack = startStack\n accountForPotentialSkip()\n }\n }\n\n /**\n * Move the current point a bit forward in the line when it’s on a column\n * skip.\n *\n * @returns {undefined}\n */\n function accountForPotentialSkip() {\n if (point.line in columnStart && point.column < 2) {\n point.column = columnStart[point.line]\n point.offset += columnStart[point.line] - 1\n }\n }\n}\n\n/**\n * Get the chunks from a slice of chunks in the range of a token.\n *\n * @param {Array<Chunk>} chunks\n * @param {Pick<Token, 'end' | 'start'>} token\n * @returns {Array<Chunk>}\n */\nfunction sliceChunks(chunks, token) {\n const startIndex = token.start._index\n const startBufferIndex = token.start._bufferIndex\n const endIndex = token.end._index\n const endBufferIndex = token.end._bufferIndex\n /** @type {Array<Chunk>} */\n let view\n if (startIndex === endIndex) {\n // @ts-expect-error `_bufferIndex` is used on string chunks.\n view = [chunks[startIndex].slice(startBufferIndex, endBufferIndex)]\n } else {\n view = chunks.slice(startIndex, endIndex)\n if (startBufferIndex > -1) {\n const head = view[0]\n if (typeof head === 'string') {\n view[0] = head.slice(startBufferIndex)\n } else {\n view.shift()\n }\n }\n if (endBufferIndex > 0) {\n // @ts-expect-error `_bufferIndex` is used on string chunks.\n view.push(chunks[endIndex].slice(0, endBufferIndex))\n }\n }\n return view\n}\n\n/**\n * Get the string value of a slice of chunks.\n *\n * @param {Array<Chunk>} chunks\n * @param {boolean | undefined} [expandTabs=false]\n * @returns {string}\n */\nfunction serializeChunks(chunks, expandTabs) {\n let index = -1\n /** @type {Array<string>} */\n const result = []\n /** @type {boolean | undefined} */\n let atTab\n while (++index < chunks.length) {\n const chunk = chunks[index]\n /** @type {string} */\n let value\n if (typeof chunk === 'string') {\n value = chunk\n } else\n switch (chunk) {\n case -5: {\n value = '\\r'\n break\n }\n case -4: {\n value = '\\n'\n break\n }\n case -3: {\n value = '\\r' + '\\n'\n break\n }\n case -2: {\n value = expandTabs ? ' ' : '\\t'\n break\n }\n case -1: {\n if (!expandTabs && atTab) continue\n value = ' '\n break\n }\n default: {\n // Currently only replacement character.\n value = String.fromCharCode(chunk)\n }\n }\n atTab = chunk === -2\n result.push(value)\n }\n return result.join('')\n}\n"],"names":["push","resolveAll","markdownLineEnding","from","splice","index"],"mappings":"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","x_google_ignoreList":[0]}