@prismicio/client 7.7.5-alpha.0 → 7.9.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (823) 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/dist/types/model/contentRelationship.d.ts +2 -0
  9. package/dist/types/model/link.cjs.map +1 -1
  10. package/dist/types/model/link.d.ts +2 -0
  11. package/dist/types/model/link.js.map +1 -1
  12. package/dist/types/model/linkToMedia.d.ts +2 -0
  13. package/dist/types/value/contentRelationship.d.ts +1 -0
  14. package/dist/types/value/link.cjs.map +1 -1
  15. package/dist/types/value/link.d.ts +1 -0
  16. package/dist/types/value/link.js.map +1 -1
  17. package/dist/types/value/linkToMedia.d.ts +1 -0
  18. package/package.json +2 -16
  19. package/src/index.ts +0 -8
  20. package/src/types/model/contentRelationship.ts +2 -0
  21. package/src/types/model/link.ts +3 -0
  22. package/src/types/model/linkToMedia.ts +2 -0
  23. package/src/types/value/contentRelationship.ts +1 -0
  24. package/src/types/value/link.ts +1 -0
  25. package/src/types/value/linkToMedia.ts +1 -0
  26. package/dist/_node_modules/@ungap/structured-clone/esm/deserialize.cjs +0 -63
  27. package/dist/_node_modules/@ungap/structured-clone/esm/deserialize.cjs.map +0 -1
  28. package/dist/_node_modules/@ungap/structured-clone/esm/deserialize.js +0 -63
  29. package/dist/_node_modules/@ungap/structured-clone/esm/deserialize.js.map +0 -1
  30. package/dist/_node_modules/@ungap/structured-clone/esm/index.cjs +0 -12
  31. package/dist/_node_modules/@ungap/structured-clone/esm/index.cjs.map +0 -1
  32. package/dist/_node_modules/@ungap/structured-clone/esm/index.js +0 -12
  33. package/dist/_node_modules/@ungap/structured-clone/esm/index.js.map +0 -1
  34. package/dist/_node_modules/@ungap/structured-clone/esm/serialize.cjs +0 -127
  35. package/dist/_node_modules/@ungap/structured-clone/esm/serialize.cjs.map +0 -1
  36. package/dist/_node_modules/@ungap/structured-clone/esm/serialize.js +0 -127
  37. package/dist/_node_modules/@ungap/structured-clone/esm/serialize.js.map +0 -1
  38. package/dist/_node_modules/@ungap/structured-clone/esm/types.cjs +0 -23
  39. package/dist/_node_modules/@ungap/structured-clone/esm/types.cjs.map +0 -1
  40. package/dist/_node_modules/@ungap/structured-clone/esm/types.js +0 -23
  41. package/dist/_node_modules/@ungap/structured-clone/esm/types.js.map +0 -1
  42. package/dist/_node_modules/bail/index.cjs +0 -9
  43. package/dist/_node_modules/bail/index.cjs.map +0 -1
  44. package/dist/_node_modules/bail/index.js +0 -9
  45. package/dist/_node_modules/bail/index.js.map +0 -1
  46. package/dist/_node_modules/bcp-47-match/index.cjs +0 -74
  47. package/dist/_node_modules/bcp-47-match/index.cjs.map +0 -1
  48. package/dist/_node_modules/bcp-47-match/index.js +0 -74
  49. package/dist/_node_modules/bcp-47-match/index.js.map +0 -1
  50. package/dist/_node_modules/boolbase/index.cjs +0 -13
  51. package/dist/_node_modules/boolbase/index.cjs.map +0 -1
  52. package/dist/_node_modules/boolbase/index.js +0 -14
  53. package/dist/_node_modules/boolbase/index.js.map +0 -1
  54. package/dist/_node_modules/ccount/index.cjs +0 -17
  55. package/dist/_node_modules/ccount/index.cjs.map +0 -1
  56. package/dist/_node_modules/ccount/index.js +0 -17
  57. package/dist/_node_modules/ccount/index.js.map +0 -1
  58. package/dist/_node_modules/character-entities/index.cjs +0 -2131
  59. package/dist/_node_modules/character-entities/index.cjs.map +0 -1
  60. package/dist/_node_modules/character-entities/index.js +0 -2131
  61. package/dist/_node_modules/character-entities/index.js.map +0 -1
  62. package/dist/_node_modules/character-entities-html4/index.cjs +0 -258
  63. package/dist/_node_modules/character-entities-html4/index.cjs.map +0 -1
  64. package/dist/_node_modules/character-entities-html4/index.js +0 -258
  65. package/dist/_node_modules/character-entities-html4/index.js.map +0 -1
  66. package/dist/_node_modules/character-entities-legacy/index.cjs +0 -112
  67. package/dist/_node_modules/character-entities-legacy/index.cjs.map +0 -1
  68. package/dist/_node_modules/character-entities-legacy/index.js +0 -112
  69. package/dist/_node_modules/character-entities-legacy/index.js.map +0 -1
  70. package/dist/_node_modules/comma-separated-tokens/index.cjs +0 -32
  71. package/dist/_node_modules/comma-separated-tokens/index.cjs.map +0 -1
  72. package/dist/_node_modules/comma-separated-tokens/index.js +0 -32
  73. package/dist/_node_modules/comma-separated-tokens/index.js.map +0 -1
  74. package/dist/_node_modules/devlop/lib/default.cjs +0 -6
  75. package/dist/_node_modules/devlop/lib/default.cjs.map +0 -1
  76. package/dist/_node_modules/devlop/lib/default.js +0 -6
  77. package/dist/_node_modules/devlop/lib/default.js.map +0 -1
  78. package/dist/_node_modules/direction/index.cjs +0 -12
  79. package/dist/_node_modules/direction/index.cjs.map +0 -1
  80. package/dist/_node_modules/direction/index.js +0 -12
  81. package/dist/_node_modules/direction/index.js.map +0 -1
  82. package/dist/_node_modules/extend/index.cjs +0 -89
  83. package/dist/_node_modules/extend/index.cjs.map +0 -1
  84. package/dist/_node_modules/extend/index.js +0 -90
  85. package/dist/_node_modules/extend/index.js.map +0 -1
  86. package/dist/_node_modules/hast-util-embedded/lib/index.cjs +0 -14
  87. package/dist/_node_modules/hast-util-embedded/lib/index.cjs.map +0 -1
  88. package/dist/_node_modules/hast-util-embedded/lib/index.js +0 -14
  89. package/dist/_node_modules/hast-util-embedded/lib/index.js.map +0 -1
  90. package/dist/_node_modules/hast-util-from-html/lib/errors.cjs +0 -317
  91. package/dist/_node_modules/hast-util-from-html/lib/errors.cjs.map +0 -1
  92. package/dist/_node_modules/hast-util-from-html/lib/errors.js +0 -317
  93. package/dist/_node_modules/hast-util-from-html/lib/errors.js.map +0 -1
  94. package/dist/_node_modules/hast-util-from-html/lib/index.cjs +0 -96
  95. package/dist/_node_modules/hast-util-from-html/lib/index.cjs.map +0 -1
  96. package/dist/_node_modules/hast-util-from-html/lib/index.js +0 -96
  97. package/dist/_node_modules/hast-util-from-html/lib/index.js.map +0 -1
  98. package/dist/_node_modules/hast-util-from-parse5/lib/index.cjs +0 -187
  99. package/dist/_node_modules/hast-util-from-parse5/lib/index.cjs.map +0 -1
  100. package/dist/_node_modules/hast-util-from-parse5/lib/index.js +0 -187
  101. package/dist/_node_modules/hast-util-from-parse5/lib/index.js.map +0 -1
  102. package/dist/_node_modules/hast-util-has-property/lib/index.cjs +0 -9
  103. package/dist/_node_modules/hast-util-has-property/lib/index.cjs.map +0 -1
  104. package/dist/_node_modules/hast-util-has-property/lib/index.js +0 -9
  105. package/dist/_node_modules/hast-util-has-property/lib/index.js.map +0 -1
  106. package/dist/_node_modules/hast-util-is-element/lib/index.cjs +0 -102
  107. package/dist/_node_modules/hast-util-is-element/lib/index.cjs.map +0 -1
  108. package/dist/_node_modules/hast-util-is-element/lib/index.js +0 -102
  109. package/dist/_node_modules/hast-util-is-element/lib/index.js.map +0 -1
  110. package/dist/_node_modules/hast-util-parse-selector/lib/index.cjs +0 -40
  111. package/dist/_node_modules/hast-util-parse-selector/lib/index.cjs.map +0 -1
  112. package/dist/_node_modules/hast-util-parse-selector/lib/index.js +0 -40
  113. package/dist/_node_modules/hast-util-parse-selector/lib/index.js.map +0 -1
  114. package/dist/_node_modules/hast-util-select/lib/attribute.cjs +0 -67
  115. package/dist/_node_modules/hast-util-select/lib/attribute.cjs.map +0 -1
  116. package/dist/_node_modules/hast-util-select/lib/attribute.js +0 -67
  117. package/dist/_node_modules/hast-util-select/lib/attribute.js.map +0 -1
  118. package/dist/_node_modules/hast-util-select/lib/class-name.cjs +0 -12
  119. package/dist/_node_modules/hast-util-select/lib/class-name.cjs.map +0 -1
  120. package/dist/_node_modules/hast-util-select/lib/class-name.js +0 -12
  121. package/dist/_node_modules/hast-util-select/lib/class-name.js.map +0 -1
  122. package/dist/_node_modules/hast-util-select/lib/enter-state.cjs +0 -79
  123. package/dist/_node_modules/hast-util-select/lib/enter-state.cjs.map +0 -1
  124. package/dist/_node_modules/hast-util-select/lib/enter-state.js +0 -79
  125. package/dist/_node_modules/hast-util-select/lib/enter-state.js.map +0 -1
  126. package/dist/_node_modules/hast-util-select/lib/id.cjs +0 -7
  127. package/dist/_node_modules/hast-util-select/lib/id.cjs.map +0 -1
  128. package/dist/_node_modules/hast-util-select/lib/id.js +0 -7
  129. package/dist/_node_modules/hast-util-select/lib/id.js.map +0 -1
  130. package/dist/_node_modules/hast-util-select/lib/index.cjs +0 -38
  131. package/dist/_node_modules/hast-util-select/lib/index.cjs.map +0 -1
  132. package/dist/_node_modules/hast-util-select/lib/index.js +0 -38
  133. package/dist/_node_modules/hast-util-select/lib/index.js.map +0 -1
  134. package/dist/_node_modules/hast-util-select/lib/name.cjs +0 -7
  135. package/dist/_node_modules/hast-util-select/lib/name.cjs.map +0 -1
  136. package/dist/_node_modules/hast-util-select/lib/name.js +0 -7
  137. package/dist/_node_modules/hast-util-select/lib/name.js.map +0 -1
  138. package/dist/_node_modules/hast-util-select/lib/parse.cjs +0 -12
  139. package/dist/_node_modules/hast-util-select/lib/parse.cjs.map +0 -1
  140. package/dist/_node_modules/hast-util-select/lib/parse.js +0 -12
  141. package/dist/_node_modules/hast-util-select/lib/parse.js.map +0 -1
  142. package/dist/_node_modules/hast-util-select/lib/pseudo.cjs +0 -231
  143. package/dist/_node_modules/hast-util-select/lib/pseudo.cjs.map +0 -1
  144. package/dist/_node_modules/hast-util-select/lib/pseudo.js +0 -231
  145. package/dist/_node_modules/hast-util-select/lib/pseudo.js.map +0 -1
  146. package/dist/_node_modules/hast-util-select/lib/test.cjs +0 -27
  147. package/dist/_node_modules/hast-util-select/lib/test.cjs.map +0 -1
  148. package/dist/_node_modules/hast-util-select/lib/test.js +0 -27
  149. package/dist/_node_modules/hast-util-select/lib/test.js.map +0 -1
  150. package/dist/_node_modules/hast-util-select/lib/walk.cjs +0 -132
  151. package/dist/_node_modules/hast-util-select/lib/walk.cjs.map +0 -1
  152. package/dist/_node_modules/hast-util-select/lib/walk.js +0 -132
  153. package/dist/_node_modules/hast-util-select/lib/walk.js.map +0 -1
  154. package/dist/_node_modules/hast-util-to-html/lib/handle/comment.cjs +0 -24
  155. package/dist/_node_modules/hast-util-to-html/lib/handle/comment.cjs.map +0 -1
  156. package/dist/_node_modules/hast-util-to-html/lib/handle/comment.js +0 -24
  157. package/dist/_node_modules/hast-util-to-html/lib/handle/comment.js.map +0 -1
  158. package/dist/_node_modules/hast-util-to-html/lib/handle/doctype.cjs +0 -7
  159. package/dist/_node_modules/hast-util-to-html/lib/handle/doctype.cjs.map +0 -1
  160. package/dist/_node_modules/hast-util-to-html/lib/handle/doctype.js +0 -7
  161. package/dist/_node_modules/hast-util-to-html/lib/handle/doctype.js.map +0 -1
  162. package/dist/_node_modules/hast-util-to-html/lib/handle/element.cjs +0 -137
  163. package/dist/_node_modules/hast-util-to-html/lib/handle/element.cjs.map +0 -1
  164. package/dist/_node_modules/hast-util-to-html/lib/handle/element.js +0 -137
  165. package/dist/_node_modules/hast-util-to-html/lib/handle/element.js.map +0 -1
  166. package/dist/_node_modules/hast-util-to-html/lib/handle/index.cjs +0 -26
  167. package/dist/_node_modules/hast-util-to-html/lib/handle/index.cjs.map +0 -1
  168. package/dist/_node_modules/hast-util-to-html/lib/handle/index.js +0 -26
  169. package/dist/_node_modules/hast-util-to-html/lib/handle/index.js.map +0 -1
  170. package/dist/_node_modules/hast-util-to-html/lib/handle/raw.cjs +0 -8
  171. package/dist/_node_modules/hast-util-to-html/lib/handle/raw.cjs.map +0 -1
  172. package/dist/_node_modules/hast-util-to-html/lib/handle/raw.js +0 -8
  173. package/dist/_node_modules/hast-util-to-html/lib/handle/raw.js.map +0 -1
  174. package/dist/_node_modules/hast-util-to-html/lib/handle/root.cjs +0 -7
  175. package/dist/_node_modules/hast-util-to-html/lib/handle/root.cjs.map +0 -1
  176. package/dist/_node_modules/hast-util-to-html/lib/handle/root.js +0 -7
  177. package/dist/_node_modules/hast-util-to-html/lib/handle/root.js.map +0 -1
  178. package/dist/_node_modules/hast-util-to-html/lib/handle/text.cjs +0 -14
  179. package/dist/_node_modules/hast-util-to-html/lib/handle/text.cjs.map +0 -1
  180. package/dist/_node_modules/hast-util-to-html/lib/handle/text.js +0 -14
  181. package/dist/_node_modules/hast-util-to-html/lib/handle/text.js.map +0 -1
  182. package/dist/_node_modules/hast-util-to-html/lib/index.cjs +0 -62
  183. package/dist/_node_modules/hast-util-to-html/lib/index.cjs.map +0 -1
  184. package/dist/_node_modules/hast-util-to-html/lib/index.js +0 -62
  185. package/dist/_node_modules/hast-util-to-html/lib/index.js.map +0 -1
  186. package/dist/_node_modules/hast-util-to-html/lib/omission/closing.cjs +0 -92
  187. package/dist/_node_modules/hast-util-to-html/lib/omission/closing.cjs.map +0 -1
  188. package/dist/_node_modules/hast-util-to-html/lib/omission/closing.js +0 -92
  189. package/dist/_node_modules/hast-util-to-html/lib/omission/closing.js.map +0 -1
  190. package/dist/_node_modules/hast-util-to-html/lib/omission/omission.cjs +0 -11
  191. package/dist/_node_modules/hast-util-to-html/lib/omission/omission.cjs.map +0 -1
  192. package/dist/_node_modules/hast-util-to-html/lib/omission/omission.js +0 -11
  193. package/dist/_node_modules/hast-util-to-html/lib/omission/omission.js.map +0 -1
  194. package/dist/_node_modules/hast-util-to-html/lib/omission/opening.cjs +0 -52
  195. package/dist/_node_modules/hast-util-to-html/lib/omission/opening.cjs.map +0 -1
  196. package/dist/_node_modules/hast-util-to-html/lib/omission/opening.js +0 -52
  197. package/dist/_node_modules/hast-util-to-html/lib/omission/opening.js.map +0 -1
  198. package/dist/_node_modules/hast-util-to-html/lib/omission/util/siblings.cjs +0 -24
  199. package/dist/_node_modules/hast-util-to-html/lib/omission/util/siblings.cjs.map +0 -1
  200. package/dist/_node_modules/hast-util-to-html/lib/omission/util/siblings.js +0 -24
  201. package/dist/_node_modules/hast-util-to-html/lib/omission/util/siblings.js.map +0 -1
  202. package/dist/_node_modules/hast-util-to-string/lib/index.cjs +0 -24
  203. package/dist/_node_modules/hast-util-to-string/lib/index.cjs.map +0 -1
  204. package/dist/_node_modules/hast-util-to-string/lib/index.js +0 -24
  205. package/dist/_node_modules/hast-util-to-string/lib/index.js.map +0 -1
  206. package/dist/_node_modules/hast-util-whitespace/lib/index.cjs +0 -11
  207. package/dist/_node_modules/hast-util-whitespace/lib/index.cjs.map +0 -1
  208. package/dist/_node_modules/hast-util-whitespace/lib/index.js +0 -11
  209. package/dist/_node_modules/hast-util-whitespace/lib/index.js.map +0 -1
  210. package/dist/_node_modules/hastscript/lib/create-h.cjs +0 -159
  211. package/dist/_node_modules/hastscript/lib/create-h.cjs.map +0 -1
  212. package/dist/_node_modules/hastscript/lib/create-h.js +0 -159
  213. package/dist/_node_modules/hastscript/lib/create-h.js.map +0 -1
  214. package/dist/_node_modules/hastscript/lib/index.cjs +0 -10
  215. package/dist/_node_modules/hastscript/lib/index.cjs.map +0 -1
  216. package/dist/_node_modules/hastscript/lib/index.js +0 -10
  217. package/dist/_node_modules/hastscript/lib/index.js.map +0 -1
  218. package/dist/_node_modules/hastscript/lib/svg-case-sensitive-tag-names.cjs +0 -45
  219. package/dist/_node_modules/hastscript/lib/svg-case-sensitive-tag-names.cjs.map +0 -1
  220. package/dist/_node_modules/hastscript/lib/svg-case-sensitive-tag-names.js +0 -45
  221. package/dist/_node_modules/hastscript/lib/svg-case-sensitive-tag-names.js.map +0 -1
  222. package/dist/_node_modules/html-void-elements/index.cjs +0 -26
  223. package/dist/_node_modules/html-void-elements/index.cjs.map +0 -1
  224. package/dist/_node_modules/html-void-elements/index.js +0 -26
  225. package/dist/_node_modules/html-void-elements/index.js.map +0 -1
  226. package/dist/_node_modules/mdast-util-from-markdown/lib/index.cjs +0 -720
  227. package/dist/_node_modules/mdast-util-from-markdown/lib/index.cjs.map +0 -1
  228. package/dist/_node_modules/mdast-util-from-markdown/lib/index.js +0 -720
  229. package/dist/_node_modules/mdast-util-from-markdown/lib/index.js.map +0 -1
  230. package/dist/_node_modules/mdast-util-to-hast/lib/footer.cjs +0 -116
  231. package/dist/_node_modules/mdast-util-to-hast/lib/footer.cjs.map +0 -1
  232. package/dist/_node_modules/mdast-util-to-hast/lib/footer.js +0 -116
  233. package/dist/_node_modules/mdast-util-to-hast/lib/footer.js.map +0 -1
  234. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/blockquote.cjs +0 -14
  235. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/blockquote.cjs.map +0 -1
  236. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/blockquote.js +0 -14
  237. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/blockquote.js.map +0 -1
  238. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/break.cjs +0 -9
  239. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/break.cjs.map +0 -1
  240. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/break.js +0 -9
  241. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/break.js.map +0 -1
  242. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/code.cjs +0 -25
  243. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/code.cjs.map +0 -1
  244. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/code.js +0 -25
  245. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/code.js.map +0 -1
  246. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/delete.cjs +0 -14
  247. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/delete.cjs.map +0 -1
  248. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/delete.js +0 -14
  249. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/delete.js.map +0 -1
  250. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/emphasis.cjs +0 -14
  251. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/emphasis.cjs.map +0 -1
  252. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/emphasis.js +0 -14
  253. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/emphasis.js.map +0 -1
  254. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.cjs +0 -42
  255. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.cjs.map +0 -1
  256. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.js +0 -42
  257. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.js.map +0 -1
  258. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/heading.cjs +0 -14
  259. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/heading.cjs.map +0 -1
  260. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/heading.js +0 -14
  261. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/heading.js.map +0 -1
  262. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/html.cjs +0 -12
  263. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/html.cjs.map +0 -1
  264. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/html.js +0 -12
  265. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/html.js.map +0 -1
  266. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/image-reference.cjs +0 -20
  267. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/image-reference.cjs.map +0 -1
  268. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/image-reference.js +0 -20
  269. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/image-reference.js.map +0 -1
  270. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/image.cjs +0 -17
  271. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/image.cjs.map +0 -1
  272. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/image.js +0 -17
  273. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/image.js.map +0 -1
  274. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/index.cjs +0 -60
  275. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/index.cjs.map +0 -1
  276. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/index.js +0 -60
  277. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/index.js.map +0 -1
  278. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/inline-code.cjs +0 -16
  279. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/inline-code.cjs.map +0 -1
  280. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/inline-code.js +0 -16
  281. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/inline-code.js.map +0 -1
  282. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/link-reference.cjs +0 -25
  283. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/link-reference.cjs.map +0 -1
  284. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/link-reference.js +0 -25
  285. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/link-reference.js.map +0 -1
  286. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/link.cjs +0 -19
  287. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/link.cjs.map +0 -1
  288. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/link.js +0 -19
  289. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/link.js.map +0 -1
  290. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/list-item.cjs +0 -65
  291. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/list-item.cjs.map +0 -1
  292. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/list-item.js +0 -65
  293. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/list-item.js.map +0 -1
  294. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/list.cjs +0 -27
  295. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/list.cjs.map +0 -1
  296. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/list.js +0 -27
  297. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/list.js.map +0 -1
  298. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/paragraph.cjs +0 -14
  299. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/paragraph.cjs.map +0 -1
  300. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/paragraph.js +0 -14
  301. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/paragraph.js.map +0 -1
  302. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/root.cjs +0 -9
  303. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/root.cjs.map +0 -1
  304. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/root.js +0 -9
  305. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/root.js.map +0 -1
  306. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/strong.cjs +0 -14
  307. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/strong.cjs.map +0 -1
  308. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/strong.js +0 -14
  309. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/strong.js.map +0 -1
  310. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/table-cell.cjs +0 -15
  311. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/table-cell.cjs.map +0 -1
  312. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/table-cell.js +0 -15
  313. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/table-cell.js.map +0 -1
  314. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/table-row.cjs +0 -36
  315. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/table-row.cjs.map +0 -1
  316. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/table-row.js +0 -36
  317. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/table-row.js.map +0 -1
  318. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/table.cjs +0 -40
  319. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/table.cjs.map +0 -1
  320. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/table.js +0 -40
  321. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/table.js.map +0 -1
  322. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/text.cjs +0 -10
  323. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/text.cjs.map +0 -1
  324. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/text.js +0 -10
  325. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/text.js.map +0 -1
  326. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/thematic-break.cjs +0 -14
  327. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/thematic-break.cjs.map +0 -1
  328. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/thematic-break.js +0 -14
  329. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/thematic-break.js.map +0 -1
  330. package/dist/_node_modules/mdast-util-to-hast/lib/index.cjs +0 -16
  331. package/dist/_node_modules/mdast-util-to-hast/lib/index.cjs.map +0 -1
  332. package/dist/_node_modules/mdast-util-to-hast/lib/index.js +0 -16
  333. package/dist/_node_modules/mdast-util-to-hast/lib/index.js.map +0 -1
  334. package/dist/_node_modules/mdast-util-to-hast/lib/revert.cjs +0 -30
  335. package/dist/_node_modules/mdast-util-to-hast/lib/revert.cjs.map +0 -1
  336. package/dist/_node_modules/mdast-util-to-hast/lib/revert.js +0 -30
  337. package/dist/_node_modules/mdast-util-to-hast/lib/revert.js.map +0 -1
  338. package/dist/_node_modules/mdast-util-to-hast/lib/state.cjs +0 -149
  339. package/dist/_node_modules/mdast-util-to-hast/lib/state.cjs.map +0 -1
  340. package/dist/_node_modules/mdast-util-to-hast/lib/state.js +0 -149
  341. package/dist/_node_modules/mdast-util-to-hast/lib/state.js.map +0 -1
  342. package/dist/_node_modules/mdast-util-to-string/lib/index.cjs +0 -39
  343. package/dist/_node_modules/mdast-util-to-string/lib/index.cjs.map +0 -1
  344. package/dist/_node_modules/mdast-util-to-string/lib/index.js +0 -39
  345. package/dist/_node_modules/mdast-util-to-string/lib/index.js.map +0 -1
  346. package/dist/_node_modules/micromark/lib/constructs.cjs +0 -94
  347. package/dist/_node_modules/micromark/lib/constructs.cjs.map +0 -1
  348. package/dist/_node_modules/micromark/lib/constructs.js +0 -94
  349. package/dist/_node_modules/micromark/lib/constructs.js.map +0 -1
  350. package/dist/_node_modules/micromark/lib/create-tokenizer.cjs +0 -316
  351. package/dist/_node_modules/micromark/lib/create-tokenizer.cjs.map +0 -1
  352. package/dist/_node_modules/micromark/lib/create-tokenizer.js +0 -316
  353. package/dist/_node_modules/micromark/lib/create-tokenizer.js.map +0 -1
  354. package/dist/_node_modules/micromark/lib/initialize/content.cjs +0 -58
  355. package/dist/_node_modules/micromark/lib/initialize/content.cjs.map +0 -1
  356. package/dist/_node_modules/micromark/lib/initialize/content.js +0 -58
  357. package/dist/_node_modules/micromark/lib/initialize/content.js.map +0 -1
  358. package/dist/_node_modules/micromark/lib/initialize/document.cjs +0 -212
  359. package/dist/_node_modules/micromark/lib/initialize/document.cjs.map +0 -1
  360. package/dist/_node_modules/micromark/lib/initialize/document.js +0 -212
  361. package/dist/_node_modules/micromark/lib/initialize/document.js.map +0 -1
  362. package/dist/_node_modules/micromark/lib/initialize/flow.cjs +0 -55
  363. package/dist/_node_modules/micromark/lib/initialize/flow.cjs.map +0 -1
  364. package/dist/_node_modules/micromark/lib/initialize/flow.js +0 -55
  365. package/dist/_node_modules/micromark/lib/initialize/flow.js.map +0 -1
  366. package/dist/_node_modules/micromark/lib/initialize/text.cjs +0 -143
  367. package/dist/_node_modules/micromark/lib/initialize/text.cjs.map +0 -1
  368. package/dist/_node_modules/micromark/lib/initialize/text.js +0 -143
  369. package/dist/_node_modules/micromark/lib/initialize/text.js.map +0 -1
  370. package/dist/_node_modules/micromark/lib/parse.cjs +0 -35
  371. package/dist/_node_modules/micromark/lib/parse.cjs.map +0 -1
  372. package/dist/_node_modules/micromark/lib/parse.js +0 -35
  373. package/dist/_node_modules/micromark/lib/parse.js.map +0 -1
  374. package/dist/_node_modules/micromark/lib/postprocess.cjs +0 -10
  375. package/dist/_node_modules/micromark/lib/postprocess.cjs.map +0 -1
  376. package/dist/_node_modules/micromark/lib/postprocess.js +0 -10
  377. package/dist/_node_modules/micromark/lib/postprocess.js.map +0 -1
  378. package/dist/_node_modules/micromark/lib/preprocess.cjs +0 -81
  379. package/dist/_node_modules/micromark/lib/preprocess.cjs.map +0 -1
  380. package/dist/_node_modules/micromark/lib/preprocess.js +0 -81
  381. package/dist/_node_modules/micromark/lib/preprocess.js.map +0 -1
  382. package/dist/_node_modules/micromark-core-commonmark/lib/attention.cjs +0 -116
  383. package/dist/_node_modules/micromark-core-commonmark/lib/attention.cjs.map +0 -1
  384. package/dist/_node_modules/micromark-core-commonmark/lib/attention.js +0 -116
  385. package/dist/_node_modules/micromark-core-commonmark/lib/attention.js.map +0 -1
  386. package/dist/_node_modules/micromark-core-commonmark/lib/autolink.cjs +0 -104
  387. package/dist/_node_modules/micromark-core-commonmark/lib/autolink.cjs.map +0 -1
  388. package/dist/_node_modules/micromark-core-commonmark/lib/autolink.js +0 -104
  389. package/dist/_node_modules/micromark-core-commonmark/lib/autolink.js.map +0 -1
  390. package/dist/_node_modules/micromark-core-commonmark/lib/blank-line.cjs +0 -19
  391. package/dist/_node_modules/micromark-core-commonmark/lib/blank-line.cjs.map +0 -1
  392. package/dist/_node_modules/micromark-core-commonmark/lib/blank-line.js +0 -19
  393. package/dist/_node_modules/micromark-core-commonmark/lib/blank-line.js.map +0 -1
  394. package/dist/_node_modules/micromark-core-commonmark/lib/block-quote.cjs +0 -62
  395. package/dist/_node_modules/micromark-core-commonmark/lib/block-quote.cjs.map +0 -1
  396. package/dist/_node_modules/micromark-core-commonmark/lib/block-quote.js +0 -62
  397. package/dist/_node_modules/micromark-core-commonmark/lib/block-quote.js.map +0 -1
  398. package/dist/_node_modules/micromark-core-commonmark/lib/character-escape.cjs +0 -29
  399. package/dist/_node_modules/micromark-core-commonmark/lib/character-escape.cjs.map +0 -1
  400. package/dist/_node_modules/micromark-core-commonmark/lib/character-escape.js +0 -29
  401. package/dist/_node_modules/micromark-core-commonmark/lib/character-escape.js.map +0 -1
  402. package/dist/_node_modules/micromark-core-commonmark/lib/character-reference.cjs +0 -69
  403. package/dist/_node_modules/micromark-core-commonmark/lib/character-reference.cjs.map +0 -1
  404. package/dist/_node_modules/micromark-core-commonmark/lib/character-reference.js +0 -69
  405. package/dist/_node_modules/micromark-core-commonmark/lib/character-reference.js.map +0 -1
  406. package/dist/_node_modules/micromark-core-commonmark/lib/code-fenced.cjs +0 -187
  407. package/dist/_node_modules/micromark-core-commonmark/lib/code-fenced.cjs.map +0 -1
  408. package/dist/_node_modules/micromark-core-commonmark/lib/code-fenced.js +0 -187
  409. package/dist/_node_modules/micromark-core-commonmark/lib/code-fenced.js.map +0 -1
  410. package/dist/_node_modules/micromark-core-commonmark/lib/code-indented.cjs +0 -68
  411. package/dist/_node_modules/micromark-core-commonmark/lib/code-indented.cjs.map +0 -1
  412. package/dist/_node_modules/micromark-core-commonmark/lib/code-indented.js +0 -68
  413. package/dist/_node_modules/micromark-core-commonmark/lib/code-indented.js.map +0 -1
  414. package/dist/_node_modules/micromark-core-commonmark/lib/code-text.cjs +0 -117
  415. package/dist/_node_modules/micromark-core-commonmark/lib/code-text.cjs.map +0 -1
  416. package/dist/_node_modules/micromark-core-commonmark/lib/code-text.js +0 -117
  417. package/dist/_node_modules/micromark-core-commonmark/lib/code-text.js.map +0 -1
  418. package/dist/_node_modules/micromark-core-commonmark/lib/content.cjs +0 -76
  419. package/dist/_node_modules/micromark-core-commonmark/lib/content.cjs.map +0 -1
  420. package/dist/_node_modules/micromark-core-commonmark/lib/content.js +0 -76
  421. package/dist/_node_modules/micromark-core-commonmark/lib/content.js.map +0 -1
  422. package/dist/_node_modules/micromark-core-commonmark/lib/definition.cjs +0 -95
  423. package/dist/_node_modules/micromark-core-commonmark/lib/definition.cjs.map +0 -1
  424. package/dist/_node_modules/micromark-core-commonmark/lib/definition.js +0 -95
  425. package/dist/_node_modules/micromark-core-commonmark/lib/definition.js.map +0 -1
  426. package/dist/_node_modules/micromark-core-commonmark/lib/hard-break-escape.cjs +0 -24
  427. package/dist/_node_modules/micromark-core-commonmark/lib/hard-break-escape.cjs.map +0 -1
  428. package/dist/_node_modules/micromark-core-commonmark/lib/hard-break-escape.js +0 -24
  429. package/dist/_node_modules/micromark-core-commonmark/lib/hard-break-escape.js.map +0 -1
  430. package/dist/_node_modules/micromark-core-commonmark/lib/heading-atx.cjs +0 -96
  431. package/dist/_node_modules/micromark-core-commonmark/lib/heading-atx.cjs.map +0 -1
  432. package/dist/_node_modules/micromark-core-commonmark/lib/heading-atx.js +0 -96
  433. package/dist/_node_modules/micromark-core-commonmark/lib/heading-atx.js.map +0 -1
  434. package/dist/_node_modules/micromark-core-commonmark/lib/html-flow.cjs +0 -384
  435. package/dist/_node_modules/micromark-core-commonmark/lib/html-flow.cjs.map +0 -1
  436. package/dist/_node_modules/micromark-core-commonmark/lib/html-flow.js +0 -384
  437. package/dist/_node_modules/micromark-core-commonmark/lib/html-flow.js.map +0 -1
  438. package/dist/_node_modules/micromark-core-commonmark/lib/html-text.cjs +0 -310
  439. package/dist/_node_modules/micromark-core-commonmark/lib/html-text.cjs.map +0 -1
  440. package/dist/_node_modules/micromark-core-commonmark/lib/html-text.js +0 -310
  441. package/dist/_node_modules/micromark-core-commonmark/lib/html-text.js.map +0 -1
  442. package/dist/_node_modules/micromark-core-commonmark/lib/label-end.cjs +0 -219
  443. package/dist/_node_modules/micromark-core-commonmark/lib/label-end.cjs.map +0 -1
  444. package/dist/_node_modules/micromark-core-commonmark/lib/label-end.js +0 -219
  445. package/dist/_node_modules/micromark-core-commonmark/lib/label-end.js.map +0 -1
  446. package/dist/_node_modules/micromark-core-commonmark/lib/label-start-image.cjs +0 -34
  447. package/dist/_node_modules/micromark-core-commonmark/lib/label-start-image.cjs.map +0 -1
  448. package/dist/_node_modules/micromark-core-commonmark/lib/label-start-image.js +0 -34
  449. package/dist/_node_modules/micromark-core-commonmark/lib/label-start-image.js.map +0 -1
  450. package/dist/_node_modules/micromark-core-commonmark/lib/label-start-link.cjs +0 -25
  451. package/dist/_node_modules/micromark-core-commonmark/lib/label-start-link.cjs.map +0 -1
  452. package/dist/_node_modules/micromark-core-commonmark/lib/label-start-link.js +0 -25
  453. package/dist/_node_modules/micromark-core-commonmark/lib/label-start-link.js.map +0 -1
  454. package/dist/_node_modules/micromark-core-commonmark/lib/line-ending.cjs +0 -18
  455. package/dist/_node_modules/micromark-core-commonmark/lib/line-ending.cjs.map +0 -1
  456. package/dist/_node_modules/micromark-core-commonmark/lib/line-ending.js +0 -18
  457. package/dist/_node_modules/micromark-core-commonmark/lib/line-ending.js.map +0 -1
  458. package/dist/_node_modules/micromark-core-commonmark/lib/list.cjs +0 -136
  459. package/dist/_node_modules/micromark-core-commonmark/lib/list.cjs.map +0 -1
  460. package/dist/_node_modules/micromark-core-commonmark/lib/list.js +0 -136
  461. package/dist/_node_modules/micromark-core-commonmark/lib/list.js.map +0 -1
  462. package/dist/_node_modules/micromark-core-commonmark/lib/setext-underline.cjs +0 -90
  463. package/dist/_node_modules/micromark-core-commonmark/lib/setext-underline.cjs.map +0 -1
  464. package/dist/_node_modules/micromark-core-commonmark/lib/setext-underline.js +0 -90
  465. package/dist/_node_modules/micromark-core-commonmark/lib/setext-underline.js.map +0 -1
  466. package/dist/_node_modules/micromark-core-commonmark/lib/thematic-break.cjs +0 -43
  467. package/dist/_node_modules/micromark-core-commonmark/lib/thematic-break.cjs.map +0 -1
  468. package/dist/_node_modules/micromark-core-commonmark/lib/thematic-break.js +0 -43
  469. package/dist/_node_modules/micromark-core-commonmark/lib/thematic-break.js.map +0 -1
  470. package/dist/_node_modules/micromark-factory-destination/index.cjs +0 -95
  471. package/dist/_node_modules/micromark-factory-destination/index.cjs.map +0 -1
  472. package/dist/_node_modules/micromark-factory-destination/index.js +0 -95
  473. package/dist/_node_modules/micromark-factory-destination/index.js.map +0 -1
  474. package/dist/_node_modules/micromark-factory-label/index.cjs +0 -64
  475. package/dist/_node_modules/micromark-factory-label/index.cjs.map +0 -1
  476. package/dist/_node_modules/micromark-factory-label/index.js +0 -64
  477. package/dist/_node_modules/micromark-factory-label/index.js.map +0 -1
  478. package/dist/_node_modules/micromark-factory-space/index.cjs +0 -25
  479. package/dist/_node_modules/micromark-factory-space/index.cjs.map +0 -1
  480. package/dist/_node_modules/micromark-factory-space/index.js +0 -25
  481. package/dist/_node_modules/micromark-factory-space/index.js.map +0 -1
  482. package/dist/_node_modules/micromark-factory-title/index.cjs +0 -66
  483. package/dist/_node_modules/micromark-factory-title/index.cjs.map +0 -1
  484. package/dist/_node_modules/micromark-factory-title/index.js +0 -66
  485. package/dist/_node_modules/micromark-factory-title/index.js.map +0 -1
  486. package/dist/_node_modules/micromark-factory-whitespace/index.cjs +0 -27
  487. package/dist/_node_modules/micromark-factory-whitespace/index.cjs.map +0 -1
  488. package/dist/_node_modules/micromark-factory-whitespace/index.js +0 -27
  489. package/dist/_node_modules/micromark-factory-whitespace/index.js.map +0 -1
  490. package/dist/_node_modules/micromark-util-character/index.cjs +0 -45
  491. package/dist/_node_modules/micromark-util-character/index.cjs.map +0 -1
  492. package/dist/_node_modules/micromark-util-character/index.js +0 -45
  493. package/dist/_node_modules/micromark-util-character/index.js.map +0 -1
  494. package/dist/_node_modules/micromark-util-chunked/index.cjs +0 -37
  495. package/dist/_node_modules/micromark-util-chunked/index.cjs.map +0 -1
  496. package/dist/_node_modules/micromark-util-chunked/index.js +0 -37
  497. package/dist/_node_modules/micromark-util-chunked/index.js.map +0 -1
  498. package/dist/_node_modules/micromark-util-classify-character/index.cjs +0 -13
  499. package/dist/_node_modules/micromark-util-classify-character/index.cjs.map +0 -1
  500. package/dist/_node_modules/micromark-util-classify-character/index.js +0 -13
  501. package/dist/_node_modules/micromark-util-classify-character/index.js.map +0 -1
  502. package/dist/_node_modules/micromark-util-combine-extensions/index.cjs +0 -42
  503. package/dist/_node_modules/micromark-util-combine-extensions/index.cjs.map +0 -1
  504. package/dist/_node_modules/micromark-util-combine-extensions/index.js +0 -42
  505. package/dist/_node_modules/micromark-util-combine-extensions/index.js.map +0 -1
  506. package/dist/_node_modules/micromark-util-decode-numeric-character-reference/index.cjs +0 -20
  507. package/dist/_node_modules/micromark-util-decode-numeric-character-reference/index.cjs.map +0 -1
  508. package/dist/_node_modules/micromark-util-decode-numeric-character-reference/index.js +0 -20
  509. package/dist/_node_modules/micromark-util-decode-numeric-character-reference/index.js.map +0 -1
  510. package/dist/_node_modules/micromark-util-decode-string/index.cjs +0 -22
  511. package/dist/_node_modules/micromark-util-decode-string/index.cjs.map +0 -1
  512. package/dist/_node_modules/micromark-util-decode-string/index.js +0 -22
  513. package/dist/_node_modules/micromark-util-decode-string/index.js.map +0 -1
  514. package/dist/_node_modules/micromark-util-html-tag-name/index.cjs +0 -70
  515. package/dist/_node_modules/micromark-util-html-tag-name/index.cjs.map +0 -1
  516. package/dist/_node_modules/micromark-util-html-tag-name/index.js +0 -70
  517. package/dist/_node_modules/micromark-util-html-tag-name/index.js.map +0 -1
  518. package/dist/_node_modules/micromark-util-normalize-identifier/index.cjs +0 -7
  519. package/dist/_node_modules/micromark-util-normalize-identifier/index.cjs.map +0 -1
  520. package/dist/_node_modules/micromark-util-normalize-identifier/index.js +0 -7
  521. package/dist/_node_modules/micromark-util-normalize-identifier/index.js.map +0 -1
  522. package/dist/_node_modules/micromark-util-resolve-all/index.cjs +0 -16
  523. package/dist/_node_modules/micromark-util-resolve-all/index.cjs.map +0 -1
  524. package/dist/_node_modules/micromark-util-resolve-all/index.js +0 -16
  525. package/dist/_node_modules/micromark-util-resolve-all/index.js.map +0 -1
  526. package/dist/_node_modules/micromark-util-sanitize-uri/index.cjs +0 -42
  527. package/dist/_node_modules/micromark-util-sanitize-uri/index.cjs.map +0 -1
  528. package/dist/_node_modules/micromark-util-sanitize-uri/index.js +0 -42
  529. package/dist/_node_modules/micromark-util-sanitize-uri/index.js.map +0 -1
  530. package/dist/_node_modules/micromark-util-subtokenize/index.cjs +0 -149
  531. package/dist/_node_modules/micromark-util-subtokenize/index.cjs.map +0 -1
  532. package/dist/_node_modules/micromark-util-subtokenize/index.js +0 -149
  533. package/dist/_node_modules/micromark-util-subtokenize/index.js.map +0 -1
  534. package/dist/_node_modules/micromark-util-subtokenize/lib/splice-buffer.cjs +0 -195
  535. package/dist/_node_modules/micromark-util-subtokenize/lib/splice-buffer.cjs.map +0 -1
  536. package/dist/_node_modules/micromark-util-subtokenize/lib/splice-buffer.js +0 -195
  537. package/dist/_node_modules/micromark-util-subtokenize/lib/splice-buffer.js.map +0 -1
  538. package/dist/_node_modules/nth-check/lib/esm/compile.cjs +0 -20
  539. package/dist/_node_modules/nth-check/lib/esm/compile.cjs.map +0 -1
  540. package/dist/_node_modules/nth-check/lib/esm/compile.js +0 -20
  541. package/dist/_node_modules/nth-check/lib/esm/compile.js.map +0 -1
  542. package/dist/_node_modules/nth-check/lib/esm/index.cjs +0 -11
  543. package/dist/_node_modules/nth-check/lib/esm/index.cjs.map +0 -1
  544. package/dist/_node_modules/nth-check/lib/esm/index.js +0 -11
  545. package/dist/_node_modules/nth-check/lib/esm/index.js.map +0 -1
  546. package/dist/_node_modules/nth-check/lib/esm/parse.cjs +0 -59
  547. package/dist/_node_modules/nth-check/lib/esm/parse.cjs.map +0 -1
  548. package/dist/_node_modules/nth-check/lib/esm/parse.js +0 -59
  549. package/dist/_node_modules/nth-check/lib/esm/parse.js.map +0 -1
  550. package/dist/_node_modules/property-information/index.cjs +0 -14
  551. package/dist/_node_modules/property-information/index.cjs.map +0 -1
  552. package/dist/_node_modules/property-information/index.js +0 -14
  553. package/dist/_node_modules/property-information/index.js.map +0 -1
  554. package/dist/_node_modules/property-information/lib/aria.cjs +0 -62
  555. package/dist/_node_modules/property-information/lib/aria.cjs.map +0 -1
  556. package/dist/_node_modules/property-information/lib/aria.js +0 -62
  557. package/dist/_node_modules/property-information/lib/aria.js.map +0 -1
  558. package/dist/_node_modules/property-information/lib/find.cjs +0 -41
  559. package/dist/_node_modules/property-information/lib/find.cjs.map +0 -1
  560. package/dist/_node_modules/property-information/lib/find.js +0 -41
  561. package/dist/_node_modules/property-information/lib/find.js.map +0 -1
  562. package/dist/_node_modules/property-information/lib/html.cjs +0 -369
  563. package/dist/_node_modules/property-information/lib/html.cjs.map +0 -1
  564. package/dist/_node_modules/property-information/lib/html.js +0 -369
  565. package/dist/_node_modules/property-information/lib/html.js.map +0 -1
  566. package/dist/_node_modules/property-information/lib/normalize.cjs +0 -7
  567. package/dist/_node_modules/property-information/lib/normalize.cjs.map +0 -1
  568. package/dist/_node_modules/property-information/lib/normalize.js +0 -7
  569. package/dist/_node_modules/property-information/lib/normalize.js.map +0 -1
  570. package/dist/_node_modules/property-information/lib/svg.cjs +0 -567
  571. package/dist/_node_modules/property-information/lib/svg.cjs.map +0 -1
  572. package/dist/_node_modules/property-information/lib/svg.js +0 -567
  573. package/dist/_node_modules/property-information/lib/svg.js.map +0 -1
  574. package/dist/_node_modules/property-information/lib/util/case-insensitive-transform.cjs +0 -8
  575. package/dist/_node_modules/property-information/lib/util/case-insensitive-transform.cjs.map +0 -1
  576. package/dist/_node_modules/property-information/lib/util/case-insensitive-transform.js +0 -8
  577. package/dist/_node_modules/property-information/lib/util/case-insensitive-transform.js.map +0 -1
  578. package/dist/_node_modules/property-information/lib/util/case-sensitive-transform.cjs +0 -7
  579. package/dist/_node_modules/property-information/lib/util/case-sensitive-transform.cjs.map +0 -1
  580. package/dist/_node_modules/property-information/lib/util/case-sensitive-transform.js +0 -7
  581. package/dist/_node_modules/property-information/lib/util/case-sensitive-transform.js.map +0 -1
  582. package/dist/_node_modules/property-information/lib/util/create.cjs +0 -31
  583. package/dist/_node_modules/property-information/lib/util/create.cjs.map +0 -1
  584. package/dist/_node_modules/property-information/lib/util/create.js +0 -31
  585. package/dist/_node_modules/property-information/lib/util/create.js.map +0 -1
  586. package/dist/_node_modules/property-information/lib/util/defined-info.cjs +0 -33
  587. package/dist/_node_modules/property-information/lib/util/defined-info.cjs.map +0 -1
  588. package/dist/_node_modules/property-information/lib/util/defined-info.js +0 -33
  589. package/dist/_node_modules/property-information/lib/util/defined-info.js.map +0 -1
  590. package/dist/_node_modules/property-information/lib/util/info.cjs +0 -25
  591. package/dist/_node_modules/property-information/lib/util/info.cjs.map +0 -1
  592. package/dist/_node_modules/property-information/lib/util/info.js +0 -25
  593. package/dist/_node_modules/property-information/lib/util/info.js.map +0 -1
  594. package/dist/_node_modules/property-information/lib/util/merge.cjs +0 -15
  595. package/dist/_node_modules/property-information/lib/util/merge.cjs.map +0 -1
  596. package/dist/_node_modules/property-information/lib/util/merge.js +0 -15
  597. package/dist/_node_modules/property-information/lib/util/merge.js.map +0 -1
  598. package/dist/_node_modules/property-information/lib/util/schema.cjs +0 -22
  599. package/dist/_node_modules/property-information/lib/util/schema.cjs.map +0 -1
  600. package/dist/_node_modules/property-information/lib/util/schema.js +0 -22
  601. package/dist/_node_modules/property-information/lib/util/schema.js.map +0 -1
  602. package/dist/_node_modules/property-information/lib/util/types.cjs +0 -21
  603. package/dist/_node_modules/property-information/lib/util/types.cjs.map +0 -1
  604. package/dist/_node_modules/property-information/lib/util/types.js +0 -21
  605. package/dist/_node_modules/property-information/lib/util/types.js.map +0 -1
  606. package/dist/_node_modules/property-information/lib/xlink.cjs +0 -20
  607. package/dist/_node_modules/property-information/lib/xlink.cjs.map +0 -1
  608. package/dist/_node_modules/property-information/lib/xlink.js +0 -20
  609. package/dist/_node_modules/property-information/lib/xlink.js.map +0 -1
  610. package/dist/_node_modules/property-information/lib/xml.cjs +0 -12
  611. package/dist/_node_modules/property-information/lib/xml.cjs.map +0 -1
  612. package/dist/_node_modules/property-information/lib/xml.js +0 -12
  613. package/dist/_node_modules/property-information/lib/xml.js.map +0 -1
  614. package/dist/_node_modules/property-information/lib/xmlns.cjs +0 -12
  615. package/dist/_node_modules/property-information/lib/xmlns.cjs.map +0 -1
  616. package/dist/_node_modules/property-information/lib/xmlns.js +0 -12
  617. package/dist/_node_modules/property-information/lib/xmlns.js.map +0 -1
  618. package/dist/_node_modules/rehype-minify-whitespace/lib/block.cjs +0 -122
  619. package/dist/_node_modules/rehype-minify-whitespace/lib/block.cjs.map +0 -1
  620. package/dist/_node_modules/rehype-minify-whitespace/lib/block.js +0 -122
  621. package/dist/_node_modules/rehype-minify-whitespace/lib/block.js.map +0 -1
  622. package/dist/_node_modules/rehype-minify-whitespace/lib/content.cjs +0 -11
  623. package/dist/_node_modules/rehype-minify-whitespace/lib/content.cjs.map +0 -1
  624. package/dist/_node_modules/rehype-minify-whitespace/lib/content.js +0 -11
  625. package/dist/_node_modules/rehype-minify-whitespace/lib/content.js.map +0 -1
  626. package/dist/_node_modules/rehype-minify-whitespace/lib/index.cjs +0 -169
  627. package/dist/_node_modules/rehype-minify-whitespace/lib/index.cjs.map +0 -1
  628. package/dist/_node_modules/rehype-minify-whitespace/lib/index.js +0 -170
  629. package/dist/_node_modules/rehype-minify-whitespace/lib/index.js.map +0 -1
  630. package/dist/_node_modules/rehype-minify-whitespace/lib/skippable.cjs +0 -24
  631. package/dist/_node_modules/rehype-minify-whitespace/lib/skippable.cjs.map +0 -1
  632. package/dist/_node_modules/rehype-minify-whitespace/lib/skippable.js +0 -24
  633. package/dist/_node_modules/rehype-minify-whitespace/lib/skippable.js.map +0 -1
  634. package/dist/_node_modules/rehype-parse/lib/index.cjs +0 -21
  635. package/dist/_node_modules/rehype-parse/lib/index.cjs.map +0 -1
  636. package/dist/_node_modules/rehype-parse/lib/index.js +0 -22
  637. package/dist/_node_modules/rehype-parse/lib/index.js.map +0 -1
  638. package/dist/_node_modules/remark-parse/lib/index.cjs +0 -19
  639. package/dist/_node_modules/remark-parse/lib/index.cjs.map +0 -1
  640. package/dist/_node_modules/remark-parse/lib/index.js +0 -20
  641. package/dist/_node_modules/remark-parse/lib/index.js.map +0 -1
  642. package/dist/_node_modules/remark-rehype/lib/index.cjs +0 -21
  643. package/dist/_node_modules/remark-rehype/lib/index.cjs.map +0 -1
  644. package/dist/_node_modules/remark-rehype/lib/index.js +0 -22
  645. package/dist/_node_modules/remark-rehype/lib/index.js.map +0 -1
  646. package/dist/_node_modules/space-separated-tokens/index.cjs +0 -12
  647. package/dist/_node_modules/space-separated-tokens/index.cjs.map +0 -1
  648. package/dist/_node_modules/space-separated-tokens/index.js +0 -12
  649. package/dist/_node_modules/space-separated-tokens/index.js.map +0 -1
  650. package/dist/_node_modules/stringify-entities/lib/constant/dangerous.cjs +0 -14
  651. package/dist/_node_modules/stringify-entities/lib/constant/dangerous.cjs.map +0 -1
  652. package/dist/_node_modules/stringify-entities/lib/constant/dangerous.js +0 -14
  653. package/dist/_node_modules/stringify-entities/lib/constant/dangerous.js.map +0 -1
  654. package/dist/_node_modules/stringify-entities/lib/core.cjs +0 -52
  655. package/dist/_node_modules/stringify-entities/lib/core.cjs.map +0 -1
  656. package/dist/_node_modules/stringify-entities/lib/core.js +0 -52
  657. package/dist/_node_modules/stringify-entities/lib/core.js.map +0 -1
  658. package/dist/_node_modules/stringify-entities/lib/index.cjs +0 -9
  659. package/dist/_node_modules/stringify-entities/lib/index.cjs.map +0 -1
  660. package/dist/_node_modules/stringify-entities/lib/index.js +0 -9
  661. package/dist/_node_modules/stringify-entities/lib/index.js.map +0 -1
  662. package/dist/_node_modules/stringify-entities/lib/util/format-smart.cjs +0 -26
  663. package/dist/_node_modules/stringify-entities/lib/util/format-smart.cjs.map +0 -1
  664. package/dist/_node_modules/stringify-entities/lib/util/format-smart.js +0 -26
  665. package/dist/_node_modules/stringify-entities/lib/util/format-smart.js.map +0 -1
  666. package/dist/_node_modules/stringify-entities/lib/util/to-decimal.cjs +0 -9
  667. package/dist/_node_modules/stringify-entities/lib/util/to-decimal.cjs.map +0 -1
  668. package/dist/_node_modules/stringify-entities/lib/util/to-decimal.js +0 -9
  669. package/dist/_node_modules/stringify-entities/lib/util/to-decimal.js.map +0 -1
  670. package/dist/_node_modules/stringify-entities/lib/util/to-hexadecimal.cjs +0 -9
  671. package/dist/_node_modules/stringify-entities/lib/util/to-hexadecimal.cjs.map +0 -1
  672. package/dist/_node_modules/stringify-entities/lib/util/to-hexadecimal.js +0 -9
  673. package/dist/_node_modules/stringify-entities/lib/util/to-hexadecimal.js.map +0 -1
  674. package/dist/_node_modules/stringify-entities/lib/util/to-named.cjs +0 -28
  675. package/dist/_node_modules/stringify-entities/lib/util/to-named.cjs.map +0 -1
  676. package/dist/_node_modules/stringify-entities/lib/util/to-named.js +0 -28
  677. package/dist/_node_modules/stringify-entities/lib/util/to-named.js.map +0 -1
  678. package/dist/_node_modules/trim-lines/index.cjs +0 -42
  679. package/dist/_node_modules/trim-lines/index.cjs.map +0 -1
  680. package/dist/_node_modules/trim-lines/index.js +0 -42
  681. package/dist/_node_modules/trim-lines/index.js.map +0 -1
  682. package/dist/_node_modules/trough/lib/index.cjs +0 -87
  683. package/dist/_node_modules/trough/lib/index.cjs.map +0 -1
  684. package/dist/_node_modules/trough/lib/index.js +0 -87
  685. package/dist/_node_modules/trough/lib/index.js.map +0 -1
  686. package/dist/_node_modules/unified/_node_modules/is-plain-obj/index.cjs +0 -10
  687. package/dist/_node_modules/unified/_node_modules/is-plain-obj/index.cjs.map +0 -1
  688. package/dist/_node_modules/unified/_node_modules/is-plain-obj/index.js +0 -11
  689. package/dist/_node_modules/unified/_node_modules/is-plain-obj/index.js.map +0 -1
  690. package/dist/_node_modules/unified/lib/callable-instance.cjs +0 -31
  691. package/dist/_node_modules/unified/lib/callable-instance.cjs.map +0 -1
  692. package/dist/_node_modules/unified/lib/callable-instance.js +0 -31
  693. package/dist/_node_modules/unified/lib/callable-instance.js.map +0 -1
  694. package/dist/_node_modules/unified/lib/index.cjs +0 -637
  695. package/dist/_node_modules/unified/lib/index.cjs.map +0 -1
  696. package/dist/_node_modules/unified/lib/index.js +0 -637
  697. package/dist/_node_modules/unified/lib/index.js.map +0 -1
  698. package/dist/_node_modules/unist-util-is/lib/index.cjs +0 -94
  699. package/dist/_node_modules/unist-util-is/lib/index.cjs.map +0 -1
  700. package/dist/_node_modules/unist-util-is/lib/index.js +0 -94
  701. package/dist/_node_modules/unist-util-is/lib/index.js.map +0 -1
  702. package/dist/_node_modules/unist-util-position/lib/index.cjs +0 -28
  703. package/dist/_node_modules/unist-util-position/lib/index.cjs.map +0 -1
  704. package/dist/_node_modules/unist-util-position/lib/index.js +0 -28
  705. package/dist/_node_modules/unist-util-position/lib/index.js.map +0 -1
  706. package/dist/_node_modules/unist-util-remove/lib/index.cjs +0 -39
  707. package/dist/_node_modules/unist-util-remove/lib/index.cjs.map +0 -1
  708. package/dist/_node_modules/unist-util-remove/lib/index.js +0 -39
  709. package/dist/_node_modules/unist-util-remove/lib/index.js.map +0 -1
  710. package/dist/_node_modules/unist-util-stringify-position/lib/index.cjs +0 -28
  711. package/dist/_node_modules/unist-util-stringify-position/lib/index.cjs.map +0 -1
  712. package/dist/_node_modules/unist-util-stringify-position/lib/index.js +0 -28
  713. package/dist/_node_modules/unist-util-stringify-position/lib/index.js.map +0 -1
  714. package/dist/_node_modules/unist-util-visit/lib/index.cjs +0 -28
  715. package/dist/_node_modules/unist-util-visit/lib/index.cjs.map +0 -1
  716. package/dist/_node_modules/unist-util-visit/lib/index.js +0 -29
  717. package/dist/_node_modules/unist-util-visit/lib/index.js.map +0 -1
  718. package/dist/_node_modules/unist-util-visit-parents/lib/color.cjs +0 -7
  719. package/dist/_node_modules/unist-util-visit-parents/lib/color.cjs.map +0 -1
  720. package/dist/_node_modules/unist-util-visit-parents/lib/color.js +0 -7
  721. package/dist/_node_modules/unist-util-visit-parents/lib/color.js.map +0 -1
  722. package/dist/_node_modules/unist-util-visit-parents/lib/index.cjs +0 -84
  723. package/dist/_node_modules/unist-util-visit-parents/lib/index.cjs.map +0 -1
  724. package/dist/_node_modules/unist-util-visit-parents/lib/index.js +0 -84
  725. package/dist/_node_modules/unist-util-visit-parents/lib/index.js.map +0 -1
  726. package/dist/_node_modules/vfile/lib/index.cjs +0 -463
  727. package/dist/_node_modules/vfile/lib/index.cjs.map +0 -1
  728. package/dist/_node_modules/vfile/lib/index.js +0 -463
  729. package/dist/_node_modules/vfile/lib/index.js.map +0 -1
  730. package/dist/_node_modules/vfile/lib/minpath.browser.cjs +0 -215
  731. package/dist/_node_modules/vfile/lib/minpath.browser.cjs.map +0 -1
  732. package/dist/_node_modules/vfile/lib/minpath.browser.js +0 -215
  733. package/dist/_node_modules/vfile/lib/minpath.browser.js.map +0 -1
  734. package/dist/_node_modules/vfile/lib/minproc.browser.cjs +0 -8
  735. package/dist/_node_modules/vfile/lib/minproc.browser.cjs.map +0 -1
  736. package/dist/_node_modules/vfile/lib/minproc.browser.js +0 -8
  737. package/dist/_node_modules/vfile/lib/minproc.browser.js.map +0 -1
  738. package/dist/_node_modules/vfile/lib/minurl.browser.cjs +0 -47
  739. package/dist/_node_modules/vfile/lib/minurl.browser.cjs.map +0 -1
  740. package/dist/_node_modules/vfile/lib/minurl.browser.js +0 -47
  741. package/dist/_node_modules/vfile/lib/minurl.browser.js.map +0 -1
  742. package/dist/_node_modules/vfile/lib/minurl.shared.cjs +0 -10
  743. package/dist/_node_modules/vfile/lib/minurl.shared.cjs.map +0 -1
  744. package/dist/_node_modules/vfile/lib/minurl.shared.js +0 -10
  745. package/dist/_node_modules/vfile/lib/minurl.shared.js.map +0 -1
  746. package/dist/_node_modules/vfile-location/lib/index.cjs +0 -50
  747. package/dist/_node_modules/vfile-location/lib/index.cjs.map +0 -1
  748. package/dist/_node_modules/vfile-location/lib/index.js +0 -50
  749. package/dist/_node_modules/vfile-location/lib/index.js.map +0 -1
  750. package/dist/_node_modules/vfile-message/lib/index.cjs +0 -139
  751. package/dist/_node_modules/vfile-message/lib/index.cjs.map +0 -1
  752. package/dist/_node_modules/vfile-message/lib/index.js +0 -139
  753. package/dist/_node_modules/vfile-message/lib/index.js.map +0 -1
  754. package/dist/_node_modules/web-namespaces/index.cjs +0 -12
  755. package/dist/_node_modules/web-namespaces/index.cjs.map +0 -1
  756. package/dist/_node_modules/web-namespaces/index.js +0 -12
  757. package/dist/_node_modules/web-namespaces/index.js.map +0 -1
  758. package/dist/_node_modules/zwitch/index.cjs +0 -23
  759. package/dist/_node_modules/zwitch/index.cjs.map +0 -1
  760. package/dist/_node_modules/zwitch/index.js +0 -23
  761. package/dist/_node_modules/zwitch/index.js.map +0 -1
  762. package/dist/_virtual/_commonjsHelpers.cjs +0 -7
  763. package/dist/_virtual/_commonjsHelpers.cjs.map +0 -1
  764. package/dist/_virtual/_commonjsHelpers.js +0 -7
  765. package/dist/_virtual/_commonjsHelpers.js.map +0 -1
  766. package/dist/_virtual/index.cjs +0 -9
  767. package/dist/_virtual/index.cjs.map +0 -1
  768. package/dist/_virtual/index.js +0 -9
  769. package/dist/_virtual/index.js.map +0 -1
  770. package/dist/errors/PrismicRichTextError.cjs +0 -6
  771. package/dist/errors/PrismicRichTextError.cjs.map +0 -1
  772. package/dist/errors/PrismicRichTextError.d.ts +0 -2
  773. package/dist/errors/PrismicRichTextError.js +0 -6
  774. package/dist/errors/PrismicRichTextError.js.map +0 -1
  775. package/dist/errors/PrismicRichTextSerializerError.cjs +0 -7
  776. package/dist/errors/PrismicRichTextSerializerError.cjs.map +0 -1
  777. package/dist/errors/PrismicRichTextSerializerError.d.ts +0 -3
  778. package/dist/errors/PrismicRichTextSerializerError.js +0 -7
  779. package/dist/errors/PrismicRichTextSerializerError.js.map +0 -1
  780. package/dist/helpers/unstable_htmlAsRichText.cjs +0 -11
  781. package/dist/helpers/unstable_htmlAsRichText.cjs.map +0 -1
  782. package/dist/helpers/unstable_htmlAsRichText.d.ts +0 -81
  783. package/dist/helpers/unstable_htmlAsRichText.js +0 -11
  784. package/dist/helpers/unstable_htmlAsRichText.js.map +0 -1
  785. package/dist/helpers/unstable_markdownAsRichText.cjs +0 -12
  786. package/dist/helpers/unstable_markdownAsRichText.cjs.map +0 -1
  787. package/dist/helpers/unstable_markdownAsRichText.d.ts +0 -30
  788. package/dist/helpers/unstable_markdownAsRichText.js +0 -12
  789. package/dist/helpers/unstable_markdownAsRichText.js.map +0 -1
  790. package/dist/lib/RichTextFieldBuilder.cjs +0 -115
  791. package/dist/lib/RichTextFieldBuilder.cjs.map +0 -1
  792. package/dist/lib/RichTextFieldBuilder.d.ts +0 -35
  793. package/dist/lib/RichTextFieldBuilder.js +0 -115
  794. package/dist/lib/RichTextFieldBuilder.js.map +0 -1
  795. package/dist/lib/filterRichTextField.cjs +0 -88
  796. package/dist/lib/filterRichTextField.cjs.map +0 -1
  797. package/dist/lib/filterRichTextField.d.ts +0 -12
  798. package/dist/lib/filterRichTextField.js +0 -88
  799. package/dist/lib/filterRichTextField.js.map +0 -1
  800. package/dist/lib/hastSerializerHelpers.cjs +0 -96
  801. package/dist/lib/hastSerializerHelpers.cjs.map +0 -1
  802. package/dist/lib/hastSerializerHelpers.d.ts +0 -28
  803. package/dist/lib/hastSerializerHelpers.js +0 -96
  804. package/dist/lib/hastSerializerHelpers.js.map +0 -1
  805. package/dist/lib/hastToRichText.cjs +0 -164
  806. package/dist/lib/hastToRichText.cjs.map +0 -1
  807. package/dist/lib/hastToRichText.d.ts +0 -30
  808. package/dist/lib/hastToRichText.js +0 -164
  809. package/dist/lib/hastToRichText.js.map +0 -1
  810. package/dist/lib/rehypeRichText.cjs +0 -60
  811. package/dist/lib/rehypeRichText.cjs.map +0 -1
  812. package/dist/lib/rehypeRichText.d.ts +0 -66
  813. package/dist/lib/rehypeRichText.js +0 -60
  814. package/dist/lib/rehypeRichText.js.map +0 -1
  815. package/src/errors/PrismicRichTextError.ts +0 -1
  816. package/src/errors/PrismicRichTextSerializerError.ts +0 -3
  817. package/src/helpers/unstable_htmlAsRichText.ts +0 -122
  818. package/src/helpers/unstable_markdownAsRichText.ts +0 -53
  819. package/src/lib/RichTextFieldBuilder.ts +0 -164
  820. package/src/lib/filterRichTextField.ts +0 -159
  821. package/src/lib/hastSerializerHelpers.ts +0 -157
  822. package/src/lib/hastToRichText.ts +0 -295
  823. package/src/lib/rehypeRichText.ts +0 -184
@@ -1 +0,0 @@
1
- {"version":3,"file":"id.js","sources":["../../../../node_modules/hast-util-select/lib/id.js"],"sourcesContent":["/**\n * @typedef {import('css-selector-parser').AstId} AstId\n *\n * @typedef {import('hast').Element} Element\n */\n\n// Workaround to show references to above types in VS Code.\n''\n\n/**\n * Check whether an element has an ID.\n *\n * @param {AstId} query\n * AST rule (with `ids`).\n * @param {Element} element\n * Element.\n * @returns {boolean}\n * Whether `element` matches `query`.\n */\nexport function id(query, element) {\n return element.properties.id === query.name\n}\n"],"names":[],"mappings":"AAmBO,SAAS,GAAG,OAAO,SAAS;AACjC,SAAO,QAAQ,WAAW,OAAO,MAAM;AACzC;","x_google_ignoreList":[0]}
@@ -1,38 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const index = require("../../property-information/index.cjs");
4
- const parse = require("./parse.cjs");
5
- const walk = require("./walk.cjs");
6
- function select(selector, tree, space) {
7
- const state = createState(selector, tree);
8
- state.one = true;
9
- walk.walk(state, tree || void 0);
10
- return state.results[0];
11
- }
12
- function selectAll(selector, tree, space) {
13
- const state = createState(selector, tree);
14
- walk.walk(state, tree || void 0);
15
- return state.results;
16
- }
17
- function createState(selector, tree, space) {
18
- return {
19
- direction: "ltr",
20
- editableOrEditingHost: false,
21
- elementCount: void 0,
22
- elementIndex: void 0,
23
- found: false,
24
- language: void 0,
25
- one: false,
26
- // State of the query.
27
- results: [],
28
- rootQuery: parse.parse(selector),
29
- schema: index.html,
30
- scopeElements: tree ? tree.type === "root" ? tree.children : [tree] : [],
31
- shallow: false,
32
- typeIndex: void 0,
33
- typeCount: void 0
34
- };
35
- }
36
- exports.select = select;
37
- exports.selectAll = selectAll;
38
- //# sourceMappingURL=index.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs","sources":["../../../../node_modules/hast-util-select/lib/index.js"],"sourcesContent":["/**\n * @typedef {import('css-selector-parser').AstSelector} AstSelector\n *\n * @typedef {import('hast').Element} Element\n * @typedef {import('hast').Nodes} Nodes\n * @typedef {import('hast').RootContent} RootContent\n *\n * @typedef {import('property-information').Schema} Schema\n */\n\n/**\n * @typedef {'html' | 'svg'} Space\n * Name of namespace.\n *\n * @typedef {'auto' | 'ltr' | 'rtl'} Direction\n * Direction.\n *\n * @typedef State\n * Current state.\n * @property {Direction} direction\n * Current direction.\n * @property {boolean} editableOrEditingHost\n * Whether we’re in `contentEditable`.\n * @property {number | undefined} elementCount\n * Track siblings: there are `n` siblings.\n * @property {number | undefined} elementIndex\n * Track siblings: this current element has `n` elements before it.\n * @property {boolean} found\n * Whether we found at least one match.\n * @property {string | undefined} language\n * Current language.\n * @property {boolean} one\n * Whether we can stop looking after we found one element.\n * @property {Array<Element>} results\n * Matches.\n * @property {AstSelector} rootQuery\n * Original root selectors.\n * @property {Schema} schema\n * Current schema.\n * @property {Array<RootContent>} scopeElements\n * Elements in scope.\n * @property {boolean} shallow\n * Whether we only allow selectors without nesting.\n * @property {number | undefined} typeCount\n * Track siblings: there are `n` siblings with this element’s tag name.\n * @property {number | undefined} typeIndex\n * Track siblings: this current element has `n` elements with its tag name\n * before it.\n */\n\nimport {html, svg} from 'property-information'\nimport {parse} from './parse.js'\nimport {walk} from './walk.js'\n\n/**\n * Check that the given `node` matches `selector`.\n *\n * This only checks the element itself, not the surrounding tree.\n * Thus, nesting in selectors is not supported (`p b`, `p > b`), neither are\n * selectors like `:first-child`, etc.\n * This only checks that the given element matches the selector.\n *\n * @param {string} selector\n * CSS selector, such as (`h1`, `a, b`).\n * @param {Nodes | null | undefined} [node]\n * Node that might match `selector`, should be an element (optional).\n * @param {Space | null | undefined} [space='html']\n * Name of namespace (default: `'html'`).\n * @returns {boolean}\n * Whether `node` matches `selector`.\n */\nexport function matches(selector, node, space) {\n const state = createState(selector, node, space)\n state.one = true\n state.shallow = true\n walk(state, node || undefined)\n return state.results.length > 0\n}\n\n/**\n * Select the first element that matches `selector` in the given `tree`.\n * Searches the tree in *preorder*.\n *\n * @param {string} selector\n * CSS selector, such as (`h1`, `a, b`).\n * @param {Nodes | null | undefined} [tree]\n * Tree to search (optional).\n * @param {Space | null | undefined} [space='html']\n * Name of namespace (default: `'html'`).\n * @returns {Element | undefined}\n * First element in `tree` that matches `selector` or `undefined` if nothing\n * is found; this could be `tree` itself.\n */\nexport function select(selector, tree, space) {\n const state = createState(selector, tree, space)\n state.one = true\n walk(state, tree || undefined)\n return state.results[0]\n}\n\n/**\n * Select all elements that match `selector` in the given `tree`.\n * Searches the tree in *preorder*.\n *\n * @param {string} selector\n * CSS selector, such as (`h1`, `a, b`).\n * @param {Nodes | null | undefined} [tree]\n * Tree to search (optional).\n * @param {Space | null | undefined} [space='html']\n * Name of namespace (default: `'html'`).\n * @returns {Array<Element>}\n * Elements in `tree` that match `selector`.\n * This could include `tree` itself.\n */\nexport function selectAll(selector, tree, space) {\n const state = createState(selector, tree, space)\n walk(state, tree || undefined)\n return state.results\n}\n\n/**\n * @param {string} selector\n * CSS selector, such as (`h1`, `a, b`).\n * @param {Nodes | null | undefined} [tree]\n * Tree to search (optional).\n * @param {Space | null | undefined} [space='html']\n * Name of namespace (default: `'html'`).\n * @returns {State} State\n * State.\n */\nfunction createState(selector, tree, space) {\n return {\n direction: 'ltr',\n editableOrEditingHost: false,\n elementCount: undefined,\n elementIndex: undefined,\n found: false,\n language: undefined,\n one: false,\n // State of the query.\n results: [],\n rootQuery: parse(selector),\n schema: space === 'svg' ? svg : html,\n scopeElements: tree ? (tree.type === 'root' ? tree.children : [tree]) : [],\n shallow: false,\n typeIndex: undefined,\n typeCount: undefined\n }\n}\n"],"names":["walk","parse","html"],"mappings":";;;;;AA6FO,SAAS,OAAO,UAAU,MAAM,OAAO;AAC5C,QAAM,QAAQ,YAAY,UAAU,IAAW;AAC/C,QAAM,MAAM;AACZA,YAAK,OAAO,QAAQ,MAAS;AAC7B,SAAO,MAAM,QAAQ,CAAC;AACxB;AAgBO,SAAS,UAAU,UAAU,MAAM,OAAO;AAC/C,QAAM,QAAQ,YAAY,UAAU,IAAW;AAC/CA,YAAK,OAAO,QAAQ,MAAS;AAC7B,SAAO,MAAM;AACf;AAYA,SAAS,YAAY,UAAU,MAAM,OAAO;AAC1C,SAAO;AAAA,IACL,WAAW;AAAA,IACX,uBAAuB;AAAA,IACvB,cAAc;AAAA,IACd,cAAc;AAAA,IACd,OAAO;AAAA,IACP,UAAU;AAAA,IACV,KAAK;AAAA;AAAA,IAEL,SAAS,CAAE;AAAA,IACX,WAAWC,MAAK,MAAC,QAAQ;AAAA,IACzB,QAAgCC,MAAI;AAAA,IACpC,eAAe,OAAQ,KAAK,SAAS,SAAS,KAAK,WAAW,CAAC,IAAI,IAAK,CAAE;AAAA,IAC1E,SAAS;AAAA,IACT,WAAW;AAAA,IACX,WAAW;AAAA,EACZ;AACH;;;","x_google_ignoreList":[0]}
@@ -1,38 +0,0 @@
1
- import { html } from "../../property-information/index.js";
2
- import { parse } from "./parse.js";
3
- import { walk } from "./walk.js";
4
- function select(selector, tree, space) {
5
- const state = createState(selector, tree);
6
- state.one = true;
7
- walk(state, tree || void 0);
8
- return state.results[0];
9
- }
10
- function selectAll(selector, tree, space) {
11
- const state = createState(selector, tree);
12
- walk(state, tree || void 0);
13
- return state.results;
14
- }
15
- function createState(selector, tree, space) {
16
- return {
17
- direction: "ltr",
18
- editableOrEditingHost: false,
19
- elementCount: void 0,
20
- elementIndex: void 0,
21
- found: false,
22
- language: void 0,
23
- one: false,
24
- // State of the query.
25
- results: [],
26
- rootQuery: parse(selector),
27
- schema: html,
28
- scopeElements: tree ? tree.type === "root" ? tree.children : [tree] : [],
29
- shallow: false,
30
- typeIndex: void 0,
31
- typeCount: void 0
32
- };
33
- }
34
- export {
35
- select,
36
- selectAll
37
- };
38
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sources":["../../../../node_modules/hast-util-select/lib/index.js"],"sourcesContent":["/**\n * @typedef {import('css-selector-parser').AstSelector} AstSelector\n *\n * @typedef {import('hast').Element} Element\n * @typedef {import('hast').Nodes} Nodes\n * @typedef {import('hast').RootContent} RootContent\n *\n * @typedef {import('property-information').Schema} Schema\n */\n\n/**\n * @typedef {'html' | 'svg'} Space\n * Name of namespace.\n *\n * @typedef {'auto' | 'ltr' | 'rtl'} Direction\n * Direction.\n *\n * @typedef State\n * Current state.\n * @property {Direction} direction\n * Current direction.\n * @property {boolean} editableOrEditingHost\n * Whether we’re in `contentEditable`.\n * @property {number | undefined} elementCount\n * Track siblings: there are `n` siblings.\n * @property {number | undefined} elementIndex\n * Track siblings: this current element has `n` elements before it.\n * @property {boolean} found\n * Whether we found at least one match.\n * @property {string | undefined} language\n * Current language.\n * @property {boolean} one\n * Whether we can stop looking after we found one element.\n * @property {Array<Element>} results\n * Matches.\n * @property {AstSelector} rootQuery\n * Original root selectors.\n * @property {Schema} schema\n * Current schema.\n * @property {Array<RootContent>} scopeElements\n * Elements in scope.\n * @property {boolean} shallow\n * Whether we only allow selectors without nesting.\n * @property {number | undefined} typeCount\n * Track siblings: there are `n` siblings with this element’s tag name.\n * @property {number | undefined} typeIndex\n * Track siblings: this current element has `n` elements with its tag name\n * before it.\n */\n\nimport {html, svg} from 'property-information'\nimport {parse} from './parse.js'\nimport {walk} from './walk.js'\n\n/**\n * Check that the given `node` matches `selector`.\n *\n * This only checks the element itself, not the surrounding tree.\n * Thus, nesting in selectors is not supported (`p b`, `p > b`), neither are\n * selectors like `:first-child`, etc.\n * This only checks that the given element matches the selector.\n *\n * @param {string} selector\n * CSS selector, such as (`h1`, `a, b`).\n * @param {Nodes | null | undefined} [node]\n * Node that might match `selector`, should be an element (optional).\n * @param {Space | null | undefined} [space='html']\n * Name of namespace (default: `'html'`).\n * @returns {boolean}\n * Whether `node` matches `selector`.\n */\nexport function matches(selector, node, space) {\n const state = createState(selector, node, space)\n state.one = true\n state.shallow = true\n walk(state, node || undefined)\n return state.results.length > 0\n}\n\n/**\n * Select the first element that matches `selector` in the given `tree`.\n * Searches the tree in *preorder*.\n *\n * @param {string} selector\n * CSS selector, such as (`h1`, `a, b`).\n * @param {Nodes | null | undefined} [tree]\n * Tree to search (optional).\n * @param {Space | null | undefined} [space='html']\n * Name of namespace (default: `'html'`).\n * @returns {Element | undefined}\n * First element in `tree` that matches `selector` or `undefined` if nothing\n * is found; this could be `tree` itself.\n */\nexport function select(selector, tree, space) {\n const state = createState(selector, tree, space)\n state.one = true\n walk(state, tree || undefined)\n return state.results[0]\n}\n\n/**\n * Select all elements that match `selector` in the given `tree`.\n * Searches the tree in *preorder*.\n *\n * @param {string} selector\n * CSS selector, such as (`h1`, `a, b`).\n * @param {Nodes | null | undefined} [tree]\n * Tree to search (optional).\n * @param {Space | null | undefined} [space='html']\n * Name of namespace (default: `'html'`).\n * @returns {Array<Element>}\n * Elements in `tree` that match `selector`.\n * This could include `tree` itself.\n */\nexport function selectAll(selector, tree, space) {\n const state = createState(selector, tree, space)\n walk(state, tree || undefined)\n return state.results\n}\n\n/**\n * @param {string} selector\n * CSS selector, such as (`h1`, `a, b`).\n * @param {Nodes | null | undefined} [tree]\n * Tree to search (optional).\n * @param {Space | null | undefined} [space='html']\n * Name of namespace (default: `'html'`).\n * @returns {State} State\n * State.\n */\nfunction createState(selector, tree, space) {\n return {\n direction: 'ltr',\n editableOrEditingHost: false,\n elementCount: undefined,\n elementIndex: undefined,\n found: false,\n language: undefined,\n one: false,\n // State of the query.\n results: [],\n rootQuery: parse(selector),\n schema: space === 'svg' ? svg : html,\n scopeElements: tree ? (tree.type === 'root' ? tree.children : [tree]) : [],\n shallow: false,\n typeIndex: undefined,\n typeCount: undefined\n }\n}\n"],"names":[],"mappings":";;;AA6FO,SAAS,OAAO,UAAU,MAAM,OAAO;AAC5C,QAAM,QAAQ,YAAY,UAAU,IAAW;AAC/C,QAAM,MAAM;AACZ,OAAK,OAAO,QAAQ,MAAS;AAC7B,SAAO,MAAM,QAAQ,CAAC;AACxB;AAgBO,SAAS,UAAU,UAAU,MAAM,OAAO;AAC/C,QAAM,QAAQ,YAAY,UAAU,IAAW;AAC/C,OAAK,OAAO,QAAQ,MAAS;AAC7B,SAAO,MAAM;AACf;AAYA,SAAS,YAAY,UAAU,MAAM,OAAO;AAC1C,SAAO;AAAA,IACL,WAAW;AAAA,IACX,uBAAuB;AAAA,IACvB,cAAc;AAAA,IACd,cAAc;AAAA,IACd,OAAO;AAAA,IACP,UAAU;AAAA,IACV,KAAK;AAAA;AAAA,IAEL,SAAS,CAAE;AAAA,IACX,WAAW,MAAM,QAAQ;AAAA,IACzB,QAAgC;AAAA,IAChC,eAAe,OAAQ,KAAK,SAAS,SAAS,KAAK,WAAW,CAAC,IAAI,IAAK,CAAE;AAAA,IAC1E,SAAS;AAAA,IACT,WAAW;AAAA,IACX,WAAW;AAAA,EACZ;AACH;","x_google_ignoreList":[0]}
@@ -1,7 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- function name(query, element) {
4
- return query.name === element.tagName;
5
- }
6
- exports.name = name;
7
- //# sourceMappingURL=name.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"name.cjs","sources":["../../../../node_modules/hast-util-select/lib/name.js"],"sourcesContent":["/**\n * @typedef {import('css-selector-parser').AstTagName} AstTagName\n *\n * @typedef {import('hast').Element} Element\n */\n\n// Workaround to show references to above types in VS Code.\n''\n\n/**\n * Check whether an element has a tag name.\n *\n * @param {AstTagName} query\n * AST rule (with `tag`).\n * @param {Element} element\n * Element.\n * @returns {boolean}\n * Whether `element` matches `query`.\n */\nexport function name(query, element) {\n return query.name === element.tagName\n}\n"],"names":[],"mappings":";;AAmBO,SAAS,KAAK,OAAO,SAAS;AACnC,SAAO,MAAM,SAAS,QAAQ;AAChC;;","x_google_ignoreList":[0]}
@@ -1,7 +0,0 @@
1
- function name(query, element) {
2
- return query.name === element.tagName;
3
- }
4
- export {
5
- name
6
- };
7
- //# sourceMappingURL=name.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"name.js","sources":["../../../../node_modules/hast-util-select/lib/name.js"],"sourcesContent":["/**\n * @typedef {import('css-selector-parser').AstTagName} AstTagName\n *\n * @typedef {import('hast').Element} Element\n */\n\n// Workaround to show references to above types in VS Code.\n''\n\n/**\n * Check whether an element has a tag name.\n *\n * @param {AstTagName} query\n * AST rule (with `tag`).\n * @param {Element} element\n * Element.\n * @returns {boolean}\n * Whether `element` matches `query`.\n */\nexport function name(query, element) {\n return query.name === element.tagName\n}\n"],"names":[],"mappings":"AAmBO,SAAS,KAAK,OAAO,SAAS;AACnC,SAAO,MAAM,SAAS,QAAQ;AAChC;","x_google_ignoreList":[0]}
@@ -1,12 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const cssSelectorParser = require("css-selector-parser");
4
- const cssSelectorParse = cssSelectorParser.createParser({ syntax: "selectors-4" });
5
- function parse(selector) {
6
- if (typeof selector !== "string") {
7
- throw new TypeError("Expected `string` as selector, not `" + selector + "`");
8
- }
9
- return cssSelectorParse(selector);
10
- }
11
- exports.parse = parse;
12
- //# sourceMappingURL=parse.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"parse.cjs","sources":["../../../../node_modules/hast-util-select/lib/parse.js"],"sourcesContent":["/**\n * @typedef {import('css-selector-parser').AstSelector} AstSelector\n */\n\nimport {createParser} from 'css-selector-parser'\n\nconst cssSelectorParse = createParser({syntax: 'selectors-4'})\n\n/**\n * @param {string} selector\n * Selector to parse.\n * @returns {AstSelector}\n * Parsed selector.\n */\nexport function parse(selector) {\n if (typeof selector !== 'string') {\n throw new TypeError('Expected `string` as selector, not `' + selector + '`')\n }\n\n return cssSelectorParse(selector)\n}\n"],"names":["createParser"],"mappings":";;;AAMA,MAAM,mBAAmBA,kBAAY,aAAC,EAAC,QAAQ,cAAa,CAAC;AAQtD,SAAS,MAAM,UAAU;AAC9B,MAAI,OAAO,aAAa,UAAU;AAChC,UAAM,IAAI,UAAU,yCAAyC,WAAW,GAAG;AAAA,EAC5E;AAED,SAAO,iBAAiB,QAAQ;AAClC;;","x_google_ignoreList":[0]}
@@ -1,12 +0,0 @@
1
- import { createParser } from "css-selector-parser";
2
- const cssSelectorParse = createParser({ syntax: "selectors-4" });
3
- function parse(selector) {
4
- if (typeof selector !== "string") {
5
- throw new TypeError("Expected `string` as selector, not `" + selector + "`");
6
- }
7
- return cssSelectorParse(selector);
8
- }
9
- export {
10
- parse
11
- };
12
- //# sourceMappingURL=parse.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"parse.js","sources":["../../../../node_modules/hast-util-select/lib/parse.js"],"sourcesContent":["/**\n * @typedef {import('css-selector-parser').AstSelector} AstSelector\n */\n\nimport {createParser} from 'css-selector-parser'\n\nconst cssSelectorParse = createParser({syntax: 'selectors-4'})\n\n/**\n * @param {string} selector\n * Selector to parse.\n * @returns {AstSelector}\n * Parsed selector.\n */\nexport function parse(selector) {\n if (typeof selector !== 'string') {\n throw new TypeError('Expected `string` as selector, not `' + selector + '`')\n }\n\n return cssSelectorParse(selector)\n}\n"],"names":[],"mappings":";AAMA,MAAM,mBAAmB,aAAa,EAAC,QAAQ,cAAa,CAAC;AAQtD,SAAS,MAAM,UAAU;AAC9B,MAAI,OAAO,aAAa,UAAU;AAChC,UAAM,IAAI,UAAU,yCAAyC,WAAW,GAAG;AAAA,EAC5E;AAED,SAAO,iBAAiB,QAAQ;AAClC;","x_google_ignoreList":[0]}
@@ -1,231 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const index$2 = require("../../bcp-47-match/index.cjs");
4
- const index$3 = require("../../comma-separated-tokens/index.cjs");
5
- const _default = require("../../devlop/lib/default.cjs");
6
- const index$5 = require("../../nth-check/lib/esm/index.cjs");
7
- const index = require("../../zwitch/index.cjs");
8
- const walk = require("./walk.cjs");
9
- const index$1 = require("../../hast-util-has-property/lib/index.cjs");
10
- const index$4 = require("../../hast-util-whitespace/lib/index.cjs");
11
- const nthCheck = index$5.default.default || index$5.default;
12
- const pseudo = index.zwitch("name", {
13
- handlers: {
14
- "any-link": anyLink,
15
- blank,
16
- checked,
17
- dir,
18
- disabled,
19
- empty,
20
- enabled,
21
- "first-child": firstChild,
22
- "first-of-type": firstOfType,
23
- has,
24
- is,
25
- lang,
26
- "last-child": lastChild,
27
- "last-of-type": lastOfType,
28
- not,
29
- "nth-child": nthChild,
30
- "nth-last-child": nthLastChild,
31
- "nth-last-of-type": nthLastOfType,
32
- "nth-of-type": nthOfType,
33
- "only-child": onlyChild,
34
- "only-of-type": onlyOfType,
35
- optional,
36
- "read-only": readOnly,
37
- "read-write": readWrite,
38
- required,
39
- root,
40
- scope
41
- },
42
- invalid: invalidPseudo,
43
- unknown: unknownPseudo
44
- });
45
- function anyLink(_, element) {
46
- return (element.tagName === "a" || element.tagName === "area" || element.tagName === "link") && index$1.hasProperty(element, "href");
47
- }
48
- function assertDeep(state, query) {
49
- if (state.shallow) {
50
- throw new Error("Cannot use `:" + query.name + "` without parent");
51
- }
52
- }
53
- function blank(_, element) {
54
- return !someChildren(element, check);
55
- function check(child) {
56
- return child.type === "element" || child.type === "text" && !index$4.whitespace(child);
57
- }
58
- }
59
- function checked(_, element) {
60
- if (element.tagName === "input" || element.tagName === "menuitem") {
61
- return Boolean(
62
- (element.properties.type === "checkbox" || element.properties.type === "radio") && index$1.hasProperty(element, "checked")
63
- );
64
- }
65
- if (element.tagName === "option") {
66
- return index$1.hasProperty(element, "selected");
67
- }
68
- return false;
69
- }
70
- function dir(query, _1, _2, _3, state) {
71
- _default.ok(query.argument);
72
- _default.ok(query.argument.type === "String");
73
- return state.direction === query.argument.value;
74
- }
75
- function disabled(_, element) {
76
- return (element.tagName === "button" || element.tagName === "input" || element.tagName === "select" || element.tagName === "textarea" || element.tagName === "optgroup" || element.tagName === "option" || element.tagName === "menuitem" || element.tagName === "fieldset") && index$1.hasProperty(element, "disabled");
77
- }
78
- function empty(_, element) {
79
- return !someChildren(element, check);
80
- function check(child) {
81
- return child.type === "element" || child.type === "text";
82
- }
83
- }
84
- function enabled(query, element) {
85
- return !disabled(query, element);
86
- }
87
- function firstChild(query, _1, _2, _3, state) {
88
- assertDeep(state, query);
89
- return state.elementIndex === 0;
90
- }
91
- function firstOfType(query, _1, _2, _3, state) {
92
- assertDeep(state, query);
93
- return state.typeIndex === 0;
94
- }
95
- function getCachedNthCheck(query) {
96
- let fn = query._cachedFn;
97
- if (!fn) {
98
- const value = query.argument;
99
- if (value.type !== "Formula") {
100
- throw new Error(
101
- "Expected `nth` formula, such as `even` or `2n+1` (`of` is not yet supported)"
102
- );
103
- }
104
- fn = nthCheck(value.a + "n+" + value.b);
105
- query._cachedFn = fn;
106
- }
107
- return fn;
108
- }
109
- function has(query, element, _1, _2, state) {
110
- _default.ok(query.argument);
111
- _default.ok(query.argument.type === "Selector");
112
- const childState = {
113
- ...state,
114
- // Not found yet.
115
- found: false,
116
- // One result is enough.
117
- one: true,
118
- results: [],
119
- rootQuery: query.argument,
120
- scopeElements: [element],
121
- // Do walk deep.
122
- shallow: false
123
- };
124
- walk.walk(childState, { type: "root", children: element.children });
125
- return childState.results.length > 0;
126
- }
127
- function invalidPseudo() {
128
- }
129
- function is(query, element, _1, _2, state) {
130
- _default.ok(query.argument);
131
- _default.ok(query.argument.type === "Selector");
132
- const childState = {
133
- ...state,
134
- // Not found yet.
135
- found: false,
136
- // One result is enough.
137
- one: true,
138
- results: [],
139
- rootQuery: query.argument,
140
- scopeElements: [element],
141
- // Do walk deep.
142
- shallow: false
143
- };
144
- walk.walk(childState, element);
145
- return childState.results[0] === element;
146
- }
147
- function lang(query, _1, _2, _3, state) {
148
- _default.ok(query.argument);
149
- _default.ok(query.argument.type === "String");
150
- return state.language !== "" && state.language !== void 0 && index$2.extendedFilter(state.language, index$3.parse(query.argument.value)).length > 0;
151
- }
152
- function lastChild(query, _1, _2, _3, state) {
153
- assertDeep(state, query);
154
- return Boolean(
155
- state.elementCount && state.elementIndex === state.elementCount - 1
156
- );
157
- }
158
- function lastOfType(query, _1, _2, _3, state) {
159
- assertDeep(state, query);
160
- return typeof state.typeIndex === "number" && typeof state.typeCount === "number" && state.typeIndex === state.typeCount - 1;
161
- }
162
- function not(query, element, index2, parent, state) {
163
- return !is(query, element, index2, parent, state);
164
- }
165
- function nthChild(query, _1, _2, _3, state) {
166
- const fn = getCachedNthCheck(query);
167
- assertDeep(state, query);
168
- return typeof state.elementIndex === "number" && fn(state.elementIndex);
169
- }
170
- function nthLastChild(query, _1, _2, _3, state) {
171
- const fn = getCachedNthCheck(query);
172
- assertDeep(state, query);
173
- return Boolean(
174
- typeof state.elementCount === "number" && typeof state.elementIndex === "number" && fn(state.elementCount - state.elementIndex - 1)
175
- );
176
- }
177
- function nthLastOfType(query, _1, _2, _3, state) {
178
- const fn = getCachedNthCheck(query);
179
- assertDeep(state, query);
180
- return typeof state.typeCount === "number" && typeof state.typeIndex === "number" && fn(state.typeCount - 1 - state.typeIndex);
181
- }
182
- function nthOfType(query, _1, _2, _3, state) {
183
- const fn = getCachedNthCheck(query);
184
- assertDeep(state, query);
185
- return typeof state.typeIndex === "number" && fn(state.typeIndex);
186
- }
187
- function onlyChild(query, _1, _2, _3, state) {
188
- assertDeep(state, query);
189
- return state.elementCount === 1;
190
- }
191
- function onlyOfType(query, _1, _2, _3, state) {
192
- assertDeep(state, query);
193
- return state.typeCount === 1;
194
- }
195
- function optional(query, element) {
196
- return !required(query, element);
197
- }
198
- function readOnly(query, element, index2, parent, state) {
199
- return !readWrite(query, element, index2, parent, state);
200
- }
201
- function readWrite(_, element, _1, _2, state) {
202
- return element.tagName === "input" || element.tagName === "textarea" ? !index$1.hasProperty(element, "readOnly") && !index$1.hasProperty(element, "disabled") : Boolean(state.editableOrEditingHost);
203
- }
204
- function required(_, element) {
205
- return (element.tagName === "input" || element.tagName === "textarea" || element.tagName === "select") && index$1.hasProperty(element, "required");
206
- }
207
- function root(_1, element, _2, parent, state) {
208
- return Boolean(
209
- (!parent || parent.type === "root") && state.schema && (state.schema.space === "html" || state.schema.space === "svg") && (element.tagName === "html" || element.tagName === "svg")
210
- );
211
- }
212
- function scope(_1, element, _2, _3, state) {
213
- return state.scopeElements.includes(element);
214
- }
215
- function someChildren(element, check) {
216
- const children = element.children;
217
- let index2 = -1;
218
- while (++index2 < children.length) {
219
- if (check(children[index2])) return true;
220
- }
221
- return false;
222
- }
223
- function unknownPseudo(query_) {
224
- const query = (
225
- /** @type {AstPseudoClass} */
226
- query_
227
- );
228
- throw new Error("Unknown pseudo-selector `" + query.name + "`");
229
- }
230
- exports.pseudo = pseudo;
231
- //# sourceMappingURL=pseudo.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"pseudo.cjs","sources":["../../../../node_modules/hast-util-select/lib/pseudo.js"],"sourcesContent":["/**\n * @typedef {import('css-selector-parser').AstPseudoClass} AstPseudoClass\n *\n * @typedef {import('hast').Element} Element\n * @typedef {import('hast').ElementContent} ElementContent\n * @typedef {import('hast').Parents} Parents\n *\n * @typedef {import('./index.js').State} State\n */\n\nimport {extendedFilter} from 'bcp-47-match'\nimport {parse as commas} from 'comma-separated-tokens'\nimport {ok as assert, unreachable} from 'devlop'\nimport {hasProperty} from 'hast-util-has-property'\nimport {whitespace} from 'hast-util-whitespace'\nimport fauxEsmNthCheck from 'nth-check'\nimport {zwitch} from 'zwitch'\nimport {walk} from './walk.js'\n\n/** @type {import('nth-check').default} */\n// @ts-expect-error: types are broken.\nconst nthCheck = fauxEsmNthCheck.default || fauxEsmNthCheck\n\n/** @type {(rule: AstPseudoClass, element: Element, index: number | undefined, parent: Parents | undefined, state: State) => boolean} */\nexport const pseudo = zwitch('name', {\n handlers: {\n 'any-link': anyLink,\n blank,\n checked,\n dir,\n disabled,\n empty,\n enabled,\n 'first-child': firstChild,\n 'first-of-type': firstOfType,\n has,\n is,\n lang,\n 'last-child': lastChild,\n 'last-of-type': lastOfType,\n not,\n 'nth-child': nthChild,\n 'nth-last-child': nthLastChild,\n 'nth-last-of-type': nthLastOfType,\n 'nth-of-type': nthOfType,\n 'only-child': onlyChild,\n 'only-of-type': onlyOfType,\n optional,\n 'read-only': readOnly,\n 'read-write': readWrite,\n required,\n root,\n scope\n },\n invalid: invalidPseudo,\n unknown: unknownPseudo\n})\n\n/**\n * Check whether an element matches an `:any-link` pseudo.\n *\n * @param {AstPseudoClass} _\n * Query.\n * @param {Element} element\n * Element.\n * @returns {boolean}\n * Whether `element` matches `query`.\n */\nfunction anyLink(_, element) {\n return (\n (element.tagName === 'a' ||\n element.tagName === 'area' ||\n element.tagName === 'link') &&\n hasProperty(element, 'href')\n )\n}\n\n/**\n * @param {State} state\n * State.\n * @param {AstPseudoClass} query\n * Query.\n */\nfunction assertDeep(state, query) {\n if (state.shallow) {\n throw new Error('Cannot use `:' + query.name + '` without parent')\n }\n}\n\n/**\n * Check whether an element matches a `:blank` pseudo.\n *\n * @param {AstPseudoClass} _\n * Query.\n * @param {Element} element\n * Element.\n * @returns {boolean}\n * Whether `element` matches `query`.\n */\nfunction blank(_, element) {\n return !someChildren(element, check)\n\n /**\n * @param {ElementContent} child\n * @returns {boolean}\n */\n function check(child) {\n return (\n child.type === 'element' || (child.type === 'text' && !whitespace(child))\n )\n }\n}\n\n/**\n * Check whether an element matches a `:checked` pseudo.\n *\n * @param {AstPseudoClass} _\n * Query.\n * @param {Element} element\n * Element.\n * @returns {boolean}\n * Whether `element` matches `query`.\n */\nfunction checked(_, element) {\n if (element.tagName === 'input' || element.tagName === 'menuitem') {\n return Boolean(\n (element.properties.type === 'checkbox' ||\n element.properties.type === 'radio') &&\n hasProperty(element, 'checked')\n )\n }\n\n if (element.tagName === 'option') {\n return hasProperty(element, 'selected')\n }\n\n return false\n}\n\n/**\n * Check whether an element matches a `:dir()` pseudo.\n *\n * @param {AstPseudoClass} query\n * Query.\n * @param {Element} _1\n * Element.\n * @param {number | undefined} _2\n * Index of `element` in `parent`.\n * @param {Parents | undefined} _3\n * Parent of `element`.\n * @param {State} state\n * State.\n * @returns {boolean}\n * Whether `element` matches `query`.\n */\nfunction dir(query, _1, _2, _3, state) {\n assert(query.argument, 'expected `argument`')\n assert(query.argument.type === 'String', 'expected plain text')\n return state.direction === query.argument.value\n}\n\n/**\n * Check whether an element matches a `:disabled` pseudo.\n *\n * @param {AstPseudoClass} _\n * Query.\n * @param {Element} element\n * Element.\n * @returns {boolean}\n * Whether `element` matches `query`.\n */\nfunction disabled(_, element) {\n return (\n (element.tagName === 'button' ||\n element.tagName === 'input' ||\n element.tagName === 'select' ||\n element.tagName === 'textarea' ||\n element.tagName === 'optgroup' ||\n element.tagName === 'option' ||\n element.tagName === 'menuitem' ||\n element.tagName === 'fieldset') &&\n hasProperty(element, 'disabled')\n )\n}\n\n/**\n * Check whether an element matches an `:empty` pseudo.\n *\n * @param {AstPseudoClass} _\n * Query.\n * @param {Element} element\n * Element.\n * @returns {boolean}\n * Whether `element` matches `query`.\n */\nfunction empty(_, element) {\n return !someChildren(element, check)\n\n /**\n * @param {ElementContent} child\n * @returns {boolean}\n */\n function check(child) {\n return child.type === 'element' || child.type === 'text'\n }\n}\n\n/**\n * Check whether an element matches an `:enabled` pseudo.\n *\n * @param {AstPseudoClass} query\n * Query.\n * @param {Element} element\n * Element.\n * @returns {boolean}\n * Whether `element` matches `query`.\n */\nfunction enabled(query, element) {\n return !disabled(query, element)\n}\n\n/**\n * Check whether an element matches a `:first-child` pseudo.\n *\n * @param {AstPseudoClass} query\n * Query.\n * @param {Element} _1\n * Element.\n * @param {number | undefined} _2\n * Index of `element` in `parent`.\n * @param {Parents | undefined} _3\n * Parent of `element`.\n * @param {State} state\n * State.\n * @returns {boolean}\n * Whether `element` matches `query`.\n */\nfunction firstChild(query, _1, _2, _3, state) {\n assertDeep(state, query)\n return state.elementIndex === 0\n}\n\n/**\n * Check whether an element matches a `:first-of-type` pseudo.\n *\n * @param {AstPseudoClass} query\n * Query.\n * @param {Element} _1\n * Element.\n * @param {number | undefined} _2\n * Index of `element` in `parent`.\n * @param {Parents | undefined} _3\n * Parent of `element`.\n * @param {State} state\n * State.\n * @returns {boolean}\n * Whether `element` matches `query`.\n */\nfunction firstOfType(query, _1, _2, _3, state) {\n assertDeep(state, query)\n return state.typeIndex === 0\n}\n\n/**\n * @param {AstPseudoClass} query\n * Query.\n * @returns {(value: number) => boolean}\n * N.\n */\nfunction getCachedNthCheck(query) {\n /** @type {(value: number) => boolean} */\n // @ts-expect-error: cache.\n let fn = query._cachedFn\n\n if (!fn) {\n const value = query.argument\n assert(value, 'expected `argument`')\n\n if (value.type !== 'Formula') {\n throw new Error(\n 'Expected `nth` formula, such as `even` or `2n+1` (`of` is not yet supported)'\n )\n }\n\n fn = nthCheck(value.a + 'n+' + value.b)\n // @ts-expect-error: cache.\n query._cachedFn = fn\n }\n\n return fn\n}\n\n/**\n * @param {AstPseudoClass} query\n * Query.\n * @param {Element} element\n * Element.\n * @param {number | undefined} _1\n * Index of `element` in `parent`.\n * @param {Parents | undefined} _2\n * Parent of `element`.\n * @param {State} state\n * State.\n * @returns {boolean}\n * Whether `element` matches `query`.\n */\nfunction has(query, element, _1, _2, state) {\n assert(query.argument, 'expected `argument`')\n assert(query.argument.type === 'Selector', 'expected selector')\n\n /** @type {State} */\n const childState = {\n ...state,\n // Not found yet.\n found: false,\n // One result is enough.\n one: true,\n results: [],\n rootQuery: query.argument,\n scopeElements: [element],\n // Do walk deep.\n shallow: false\n }\n\n walk(childState, {type: 'root', children: element.children})\n\n return childState.results.length > 0\n}\n\n// Shouldn’t be called, parser gives correct data.\n/* c8 ignore next 3 */\nfunction invalidPseudo() {\n unreachable('Invalid pseudo-selector')\n}\n\n/**\n * Check whether an element `:is` further selectors.\n *\n * @param {AstPseudoClass} query\n * Query.\n * @param {Element} element\n * Element.\n * @param {number | undefined} _1\n * Index of `element` in `parent`.\n * @param {Parents | undefined} _2\n * Parent of `element`.\n * @param {State} state\n * State.\n * @returns {boolean}\n * Whether `element` matches `query`.\n */\nfunction is(query, element, _1, _2, state) {\n assert(query.argument, 'expected `argument`')\n assert(query.argument.type === 'Selector', 'expected selector')\n\n /** @type {State} */\n const childState = {\n ...state,\n // Not found yet.\n found: false,\n // One result is enough.\n one: true,\n results: [],\n rootQuery: query.argument,\n scopeElements: [element],\n // Do walk deep.\n shallow: false\n }\n\n walk(childState, element)\n\n return childState.results[0] === element\n}\n\n/**\n * Check whether an element matches a `:lang()` pseudo.\n *\n * @param {AstPseudoClass} query\n * Query.\n * @param {Element} _1\n * Element.\n * @param {number | undefined} _2\n * Index of `element` in `parent`.\n * @param {Parents | undefined} _3\n * Parent of `element`.\n * @param {State} state\n * State.\n * @returns {boolean}\n * Whether `element` matches `query`.\n */\nfunction lang(query, _1, _2, _3, state) {\n assert(query.argument, 'expected `argument`')\n assert(query.argument.type === 'String', 'expected string')\n\n return (\n state.language !== '' &&\n state.language !== undefined &&\n extendedFilter(state.language, commas(query.argument.value)).length > 0\n )\n}\n\n/**\n * Check whether an element matches a `:last-child` pseudo.\n *\n * @param {AstPseudoClass} query\n * Query.\n * @param {Element} _1\n * Element.\n * @param {number | undefined} _2\n * Index of `element` in `parent`.\n * @param {Parents | undefined} _3\n * Parent of `element`.\n * @param {State} state\n * State.\n * @returns {boolean}\n * Whether `element` matches `query`.\n */\nfunction lastChild(query, _1, _2, _3, state) {\n assertDeep(state, query)\n return Boolean(\n state.elementCount && state.elementIndex === state.elementCount - 1\n )\n}\n\n/**\n * Check whether an element matches a `:last-of-type` pseudo.\n *\n * @param {AstPseudoClass} query\n * Query.\n * @param {Element} _1\n * Element.\n * @param {number | undefined} _2\n * Index of `element` in `parent`.\n * @param {Parents | undefined} _3\n * Parent of `element`.\n * @param {State} state\n * State.\n * @returns {boolean}\n * Whether `element` matches `query`.\n */\nfunction lastOfType(query, _1, _2, _3, state) {\n assertDeep(state, query)\n return (\n typeof state.typeIndex === 'number' &&\n typeof state.typeCount === 'number' &&\n state.typeIndex === state.typeCount - 1\n )\n}\n\n/**\n * Check whether an element does `:not` match further selectors.\n *\n * @param {AstPseudoClass} query\n * Query.\n * @param {Element} element\n * Element.\n * @param {number | undefined} index\n * Index of `element` in `parent`.\n * @param {Parents | undefined} parent\n * Parent of `element`.\n * @param {State} state\n * State.\n * @returns {boolean}\n * Whether `element` matches `query`.\n */\nfunction not(query, element, index, parent, state) {\n return !is(query, element, index, parent, state)\n}\n\n/**\n * Check whether an element matches an `:nth-child` pseudo.\n *\n * @param {AstPseudoClass} query\n * Query.\n * @param {Element} _1\n * Element.\n * @param {number | undefined} _2\n * Index of `element` in `parent`.\n * @param {Parents | undefined} _3\n * Parent of `element`.\n * @param {State} state\n * State.\n * @returns {boolean}\n * Whether `element` matches `query`.\n */\nfunction nthChild(query, _1, _2, _3, state) {\n const fn = getCachedNthCheck(query)\n assertDeep(state, query)\n return typeof state.elementIndex === 'number' && fn(state.elementIndex)\n}\n\n/**\n * Check whether an element matches an `:nth-last-child` pseudo.\n *\n * @param {AstPseudoClass} query\n * Query.\n * @param {Element} _1\n * Element.\n * @param {number | undefined} _2\n * Index of `element` in `parent`.\n * @param {Parents | undefined} _3\n * Parent of `element`.\n * @param {State} state\n * State.\n * @returns {boolean}\n * Whether `element` matches `query`.\n */\nfunction nthLastChild(query, _1, _2, _3, state) {\n const fn = getCachedNthCheck(query)\n assertDeep(state, query)\n return Boolean(\n typeof state.elementCount === 'number' &&\n typeof state.elementIndex === 'number' &&\n fn(state.elementCount - state.elementIndex - 1)\n )\n}\n\n/**\n * Check whether an element matches a `:nth-last-of-type` pseudo.\n *\n * @param {AstPseudoClass} query\n * Query.\n * @param {Element} _1\n * Element.\n * @param {number | undefined} _2\n * Index of `element` in `parent`.\n * @param {Parents | undefined} _3\n * Parent of `element`.\n * @param {State} state\n * State.\n * @returns {boolean}\n * Whether `element` matches `query`.\n */\nfunction nthLastOfType(query, _1, _2, _3, state) {\n const fn = getCachedNthCheck(query)\n assertDeep(state, query)\n return (\n typeof state.typeCount === 'number' &&\n typeof state.typeIndex === 'number' &&\n fn(state.typeCount - 1 - state.typeIndex)\n )\n}\n\n/**\n * Check whether an element matches an `:nth-of-type` pseudo.\n *\n * @param {AstPseudoClass} query\n * Query.\n * @param {Element} _1\n * Element.\n * @param {number | undefined} _2\n * Index of `element` in `parent`.\n * @param {Parents | undefined} _3\n * Parent of `element`.\n * @param {State} state\n * State.\n * @returns {boolean}\n * Whether `element` matches `query`.\n */\nfunction nthOfType(query, _1, _2, _3, state) {\n const fn = getCachedNthCheck(query)\n assertDeep(state, query)\n return typeof state.typeIndex === 'number' && fn(state.typeIndex)\n}\n\n/**\n * Check whether an element matches an `:only-child` pseudo.\n *\n * @param {AstPseudoClass} query\n * Query.\n * @param {Element} _1\n * Element.\n * @param {number | undefined} _2\n * Index of `element` in `parent`.\n * @param {Parents | undefined} _3\n * Parent of `element`.\n * @param {State} state\n * State.\n * @returns {boolean}\n * Whether `element` matches `query`.\n */\nfunction onlyChild(query, _1, _2, _3, state) {\n assertDeep(state, query)\n return state.elementCount === 1\n}\n\n/**\n * Check whether an element matches an `:only-of-type` pseudo.\n *\n * @param {AstPseudoClass} query\n * Query.\n * @param {Element} _1\n * Element.\n * @param {number | undefined} _2\n * Index of `element` in `parent`.\n * @param {Parents | undefined} _3\n * Parent of `element`.\n * @param {State} state\n * State.\n * @returns {boolean}\n * Whether `element` matches `query`.\n */\nfunction onlyOfType(query, _1, _2, _3, state) {\n assertDeep(state, query)\n return state.typeCount === 1\n}\n\n/**\n * Check whether an element matches an `:optional` pseudo.\n *\n * @param {AstPseudoClass} query\n * Query.\n * @param {Element} element\n * Element.\n * @returns {boolean}\n * Whether `element` matches `query`.\n */\nfunction optional(query, element) {\n return !required(query, element)\n}\n\n/**\n * Check whether an element matches a `:read-only` pseudo.\n *\n * @param {AstPseudoClass} query\n * Query.\n * @param {Element} element\n * Element.\n * @param {number | undefined} index\n * Index of `element` in `parent`.\n * @param {Parents | undefined} parent\n * Parent of `element`.\n * @param {State} state\n * State.\n * @returns {boolean}\n * Whether `element` matches `query`.\n */\nfunction readOnly(query, element, index, parent, state) {\n return !readWrite(query, element, index, parent, state)\n}\n\n/**\n * Check whether an element matches a `:read-write` pseudo.\n *\n * @param {AstPseudoClass} _\n * Query.\n * @param {Element} element\n * Element.\n * @param {number | undefined} _1\n * Index of `element` in `parent`.\n * @param {Parents | undefined} _2\n * Parent of `element`.\n * @param {State} state\n * State.\n * @returns {boolean}\n * Whether `element` matches `query`.\n */\nfunction readWrite(_, element, _1, _2, state) {\n return element.tagName === 'input' || element.tagName === 'textarea'\n ? !hasProperty(element, 'readOnly') && !hasProperty(element, 'disabled')\n : Boolean(state.editableOrEditingHost)\n}\n\n/**\n * Check whether an element matches a `:required` pseudo.\n *\n * @param {AstPseudoClass} _\n * Query.\n * @param {Element} element\n * Element.\n * @returns {boolean}\n * Whether `element` matches `query`.\n */\nfunction required(_, element) {\n return (\n (element.tagName === 'input' ||\n element.tagName === 'textarea' ||\n element.tagName === 'select') &&\n hasProperty(element, 'required')\n )\n}\n\n/**\n * Check whether an element matches a `:root` pseudo.\n *\n * @param {AstPseudoClass} _1\n * Query.\n * @param {Element} element\n * Element.\n * @param {number | undefined} _2\n * Index of `element` in `parent`.\n * @param {Parents | undefined} parent\n * Parent of `element`.\n * @param {State} state\n * State.\n * @returns {boolean}\n * Whether `element` matches `query`.\n */\nfunction root(_1, element, _2, parent, state) {\n return Boolean(\n (!parent || parent.type === 'root') &&\n state.schema &&\n (state.schema.space === 'html' || state.schema.space === 'svg') &&\n (element.tagName === 'html' || element.tagName === 'svg')\n )\n}\n\n/**\n * Check whether an element matches a `:scope` pseudo.\n *\n * @param {AstPseudoClass} _1\n * Query.\n * @param {Element} element\n * Element.\n * @param {number | undefined} _2\n * Index of `element` in `parent`.\n * @param {Parents | undefined} _3\n * Parent of `element`.\n * @param {State} state\n * State.\n * @returns {boolean}\n * Whether `element` matches `query`.\n */\nfunction scope(_1, element, _2, _3, state) {\n return state.scopeElements.includes(element)\n}\n\n/**\n * Check children.\n *\n * @param {Element} element\n * Element.\n * @param {(child: ElementContent) => boolean} check\n * Check.\n * @returns {boolean}\n * Whether a child of `element` matches `check`.\n */\nfunction someChildren(element, check) {\n const children = element.children\n let index = -1\n\n while (++index < children.length) {\n if (check(children[index])) return true\n }\n\n return false\n}\n\n/**\n * @param {unknown} query_\n * Query-like value.\n * @returns {never}\n * Nothing.\n * @throws\n * Exception.\n */\nfunction unknownPseudo(query_) {\n // Runtime JS guarantees it has a `name`.\n const query = /** @type {AstPseudoClass} */ (query_)\n throw new Error('Unknown pseudo-selector `' + query.name + '`')\n}\n"],"names":["fauxEsmNthCheck","zwitch","hasProperty","whitespace","assert","walk","extendedFilter","commas","index"],"mappings":"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","x_google_ignoreList":[0]}