@viswa-test/audit-log 0.0.1

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 (926) hide show
  1. package/README.md +710 -0
  2. package/dist/AuditLog.js +2 -0
  3. package/dist/AuditLog.js.map +1 -0
  4. package/dist/_virtual/_commonjsHelpers.js +2 -0
  5. package/dist/_virtual/_commonjsHelpers.js.map +1 -0
  6. package/dist/_virtual/_tslib.js +2 -0
  7. package/dist/_virtual/_tslib.js.map +1 -0
  8. package/dist/_virtual/index.js +2 -0
  9. package/dist/_virtual/index.js.map +1 -0
  10. package/dist/_virtual/index2.js +2 -0
  11. package/dist/_virtual/index2.js.map +1 -0
  12. package/dist/_virtual/index3.js +2 -0
  13. package/dist/_virtual/index3.js.map +1 -0
  14. package/dist/_virtual/utilities.js +2 -0
  15. package/dist/_virtual/utilities.js.map +1 -0
  16. package/dist/cjs/AuditLog.js +2 -0
  17. package/dist/cjs/AuditLog.js.map +1 -0
  18. package/dist/cjs/_virtual/_commonjsHelpers.js +2 -0
  19. package/dist/cjs/_virtual/_commonjsHelpers.js.map +1 -0
  20. package/dist/cjs/_virtual/_tslib.js +2 -0
  21. package/dist/cjs/_virtual/_tslib.js.map +1 -0
  22. package/dist/cjs/_virtual/index.js +2 -0
  23. package/dist/cjs/_virtual/index.js.map +1 -0
  24. package/dist/cjs/_virtual/index2.js +2 -0
  25. package/dist/cjs/_virtual/index2.js.map +1 -0
  26. package/dist/cjs/_virtual/index3.js +2 -0
  27. package/dist/cjs/_virtual/index3.js.map +1 -0
  28. package/dist/cjs/_virtual/utilities.js +2 -0
  29. package/dist/cjs/_virtual/utilities.js.map +1 -0
  30. package/dist/cjs/components/ActionTakenBody.js +2 -0
  31. package/dist/cjs/components/ActionTakenBody.js.map +1 -0
  32. package/dist/cjs/components/AuditLogPanel/AuditLogPanel.js +2 -0
  33. package/dist/cjs/components/AuditLogPanel/AuditLogPanel.js.map +1 -0
  34. package/dist/cjs/components/AuditLogPanel/AuditLogPanel.module.css.js +2 -0
  35. package/dist/cjs/components/AuditLogPanel/AuditLogPanel.module.css.js.map +1 -0
  36. package/dist/cjs/components/AuditLogPanel/AuditLogPanelItem.js +2 -0
  37. package/dist/cjs/components/AuditLogPanel/AuditLogPanelItem.js.map +1 -0
  38. package/dist/cjs/components/AuditLogPanel/AuditLogSandBox.js +2 -0
  39. package/dist/cjs/components/AuditLogPanel/AuditLogSandBox.js.map +1 -0
  40. package/dist/cjs/components/AuditLogPanel/CommonUI.js +2 -0
  41. package/dist/cjs/components/AuditLogPanel/CommonUI.js.map +1 -0
  42. package/dist/cjs/components/AuditLogPanel/ComparisonSummaryCard.js +2 -0
  43. package/dist/cjs/components/AuditLogPanel/ComparisonSummaryCard.js.map +1 -0
  44. package/dist/cjs/components/AuditLogPanel/FilterSection.js +2 -0
  45. package/dist/cjs/components/AuditLogPanel/FilterSection.js.map +1 -0
  46. package/dist/cjs/components/AuditLogPanel/Services/AuditLogPanelAdapter.js +2 -0
  47. package/dist/cjs/components/AuditLogPanel/Services/AuditLogPanelAdapter.js.map +1 -0
  48. package/dist/cjs/components/AuditLogPanel/Services/useAuditLogPanelData.js +2 -0
  49. package/dist/cjs/components/AuditLogPanel/Services/useAuditLogPanelData.js.map +1 -0
  50. package/dist/cjs/components/AuditLogPanel/Services/useAuditLogPanelDistinctValues.js +2 -0
  51. package/dist/cjs/components/AuditLogPanel/Services/useAuditLogPanelDistinctValues.js.map +1 -0
  52. package/dist/cjs/components/AuditLogPanel/Services/useAuditLogPanelFilters.js +2 -0
  53. package/dist/cjs/components/AuditLogPanel/Services/useAuditLogPanelFilters.js.map +1 -0
  54. package/dist/cjs/components/AuditLogPanel/Services/useAuditLogPanelScroll.js +2 -0
  55. package/dist/cjs/components/AuditLogPanel/Services/useAuditLogPanelScroll.js.map +1 -0
  56. package/dist/cjs/components/CustomMultiSelect.js +2 -0
  57. package/dist/cjs/components/CustomMultiSelect.js.map +1 -0
  58. package/dist/cjs/components/DateRangeSelector.js +2 -0
  59. package/dist/cjs/components/DateRangeSelector.js.map +1 -0
  60. package/dist/cjs/components/ImpactRangeSelector.js +2 -0
  61. package/dist/cjs/components/ImpactRangeSelector.js.map +1 -0
  62. package/dist/cjs/components/LogFilterDropdown.js +2 -0
  63. package/dist/cjs/components/LogFilterDropdown.js.map +1 -0
  64. package/dist/cjs/components/LogFilters.js +2 -0
  65. package/dist/cjs/components/LogFilters.js.map +1 -0
  66. package/dist/cjs/components/LogFiltersSidebar.js +2 -0
  67. package/dist/cjs/components/LogFiltersSidebar.js.map +1 -0
  68. package/dist/cjs/components/LogTable.js +2 -0
  69. package/dist/cjs/components/LogTable.js.map +1 -0
  70. package/dist/cjs/components/auditLog.api.js +2 -0
  71. package/dist/cjs/components/auditLog.api.js.map +1 -0
  72. package/dist/cjs/components/useAuditLogController.js +2 -0
  73. package/dist/cjs/components/useAuditLogController.js.map +1 -0
  74. package/dist/cjs/index.js +2 -0
  75. package/dist/cjs/index.js.map +1 -0
  76. package/dist/cjs/node_modules/@ungap/structured-clone/esm/deserialize.js +2 -0
  77. package/dist/cjs/node_modules/@ungap/structured-clone/esm/deserialize.js.map +1 -0
  78. package/dist/cjs/node_modules/@ungap/structured-clone/esm/index.js +2 -0
  79. package/dist/cjs/node_modules/@ungap/structured-clone/esm/index.js.map +1 -0
  80. package/dist/cjs/node_modules/@ungap/structured-clone/esm/serialize.js +2 -0
  81. package/dist/cjs/node_modules/@ungap/structured-clone/esm/serialize.js.map +1 -0
  82. package/dist/cjs/node_modules/@ungap/structured-clone/esm/types.js +2 -0
  83. package/dist/cjs/node_modules/@ungap/structured-clone/esm/types.js.map +1 -0
  84. package/dist/cjs/node_modules/axios/lib/adapters/adapters.js +2 -0
  85. package/dist/cjs/node_modules/axios/lib/adapters/adapters.js.map +1 -0
  86. package/dist/cjs/node_modules/axios/lib/adapters/fetch.js +2 -0
  87. package/dist/cjs/node_modules/axios/lib/adapters/fetch.js.map +1 -0
  88. package/dist/cjs/node_modules/axios/lib/adapters/xhr.js +2 -0
  89. package/dist/cjs/node_modules/axios/lib/adapters/xhr.js.map +1 -0
  90. package/dist/cjs/node_modules/axios/lib/axios.js +2 -0
  91. package/dist/cjs/node_modules/axios/lib/axios.js.map +1 -0
  92. package/dist/cjs/node_modules/axios/lib/cancel/CancelToken.js +2 -0
  93. package/dist/cjs/node_modules/axios/lib/cancel/CancelToken.js.map +1 -0
  94. package/dist/cjs/node_modules/axios/lib/cancel/CanceledError.js +2 -0
  95. package/dist/cjs/node_modules/axios/lib/cancel/CanceledError.js.map +1 -0
  96. package/dist/cjs/node_modules/axios/lib/cancel/isCancel.js +2 -0
  97. package/dist/cjs/node_modules/axios/lib/cancel/isCancel.js.map +1 -0
  98. package/dist/cjs/node_modules/axios/lib/core/Axios.js +2 -0
  99. package/dist/cjs/node_modules/axios/lib/core/Axios.js.map +1 -0
  100. package/dist/cjs/node_modules/axios/lib/core/AxiosError.js +2 -0
  101. package/dist/cjs/node_modules/axios/lib/core/AxiosError.js.map +1 -0
  102. package/dist/cjs/node_modules/axios/lib/core/AxiosHeaders.js +2 -0
  103. package/dist/cjs/node_modules/axios/lib/core/AxiosHeaders.js.map +1 -0
  104. package/dist/cjs/node_modules/axios/lib/core/InterceptorManager.js +2 -0
  105. package/dist/cjs/node_modules/axios/lib/core/InterceptorManager.js.map +1 -0
  106. package/dist/cjs/node_modules/axios/lib/core/buildFullPath.js +2 -0
  107. package/dist/cjs/node_modules/axios/lib/core/buildFullPath.js.map +1 -0
  108. package/dist/cjs/node_modules/axios/lib/core/dispatchRequest.js +2 -0
  109. package/dist/cjs/node_modules/axios/lib/core/dispatchRequest.js.map +1 -0
  110. package/dist/cjs/node_modules/axios/lib/core/mergeConfig.js +2 -0
  111. package/dist/cjs/node_modules/axios/lib/core/mergeConfig.js.map +1 -0
  112. package/dist/cjs/node_modules/axios/lib/core/settle.js +2 -0
  113. package/dist/cjs/node_modules/axios/lib/core/settle.js.map +1 -0
  114. package/dist/cjs/node_modules/axios/lib/core/transformData.js +2 -0
  115. package/dist/cjs/node_modules/axios/lib/core/transformData.js.map +1 -0
  116. package/dist/cjs/node_modules/axios/lib/defaults/index.js +2 -0
  117. package/dist/cjs/node_modules/axios/lib/defaults/index.js.map +1 -0
  118. package/dist/cjs/node_modules/axios/lib/defaults/transitional.js +2 -0
  119. package/dist/cjs/node_modules/axios/lib/defaults/transitional.js.map +1 -0
  120. package/dist/cjs/node_modules/axios/lib/env/data.js +2 -0
  121. package/dist/cjs/node_modules/axios/lib/env/data.js.map +1 -0
  122. package/dist/cjs/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +2 -0
  123. package/dist/cjs/node_modules/axios/lib/helpers/AxiosURLSearchParams.js.map +1 -0
  124. package/dist/cjs/node_modules/axios/lib/helpers/HttpStatusCode.js +2 -0
  125. package/dist/cjs/node_modules/axios/lib/helpers/HttpStatusCode.js.map +1 -0
  126. package/dist/cjs/node_modules/axios/lib/helpers/bind.js +2 -0
  127. package/dist/cjs/node_modules/axios/lib/helpers/bind.js.map +1 -0
  128. package/dist/cjs/node_modules/axios/lib/helpers/buildURL.js +2 -0
  129. package/dist/cjs/node_modules/axios/lib/helpers/buildURL.js.map +1 -0
  130. package/dist/cjs/node_modules/axios/lib/helpers/combineURLs.js +2 -0
  131. package/dist/cjs/node_modules/axios/lib/helpers/combineURLs.js.map +1 -0
  132. package/dist/cjs/node_modules/axios/lib/helpers/composeSignals.js +2 -0
  133. package/dist/cjs/node_modules/axios/lib/helpers/composeSignals.js.map +1 -0
  134. package/dist/cjs/node_modules/axios/lib/helpers/cookies.js +2 -0
  135. package/dist/cjs/node_modules/axios/lib/helpers/cookies.js.map +1 -0
  136. package/dist/cjs/node_modules/axios/lib/helpers/formDataToJSON.js +2 -0
  137. package/dist/cjs/node_modules/axios/lib/helpers/formDataToJSON.js.map +1 -0
  138. package/dist/cjs/node_modules/axios/lib/helpers/isAbsoluteURL.js +2 -0
  139. package/dist/cjs/node_modules/axios/lib/helpers/isAbsoluteURL.js.map +1 -0
  140. package/dist/cjs/node_modules/axios/lib/helpers/isAxiosError.js +2 -0
  141. package/dist/cjs/node_modules/axios/lib/helpers/isAxiosError.js.map +1 -0
  142. package/dist/cjs/node_modules/axios/lib/helpers/isURLSameOrigin.js +2 -0
  143. package/dist/cjs/node_modules/axios/lib/helpers/isURLSameOrigin.js.map +1 -0
  144. package/dist/cjs/node_modules/axios/lib/helpers/null.js +2 -0
  145. package/dist/cjs/node_modules/axios/lib/helpers/null.js.map +1 -0
  146. package/dist/cjs/node_modules/axios/lib/helpers/parseHeaders.js +2 -0
  147. package/dist/cjs/node_modules/axios/lib/helpers/parseHeaders.js.map +1 -0
  148. package/dist/cjs/node_modules/axios/lib/helpers/parseProtocol.js +2 -0
  149. package/dist/cjs/node_modules/axios/lib/helpers/parseProtocol.js.map +1 -0
  150. package/dist/cjs/node_modules/axios/lib/helpers/progressEventReducer.js +2 -0
  151. package/dist/cjs/node_modules/axios/lib/helpers/progressEventReducer.js.map +1 -0
  152. package/dist/cjs/node_modules/axios/lib/helpers/resolveConfig.js +2 -0
  153. package/dist/cjs/node_modules/axios/lib/helpers/resolveConfig.js.map +1 -0
  154. package/dist/cjs/node_modules/axios/lib/helpers/speedometer.js +2 -0
  155. package/dist/cjs/node_modules/axios/lib/helpers/speedometer.js.map +1 -0
  156. package/dist/cjs/node_modules/axios/lib/helpers/spread.js +2 -0
  157. package/dist/cjs/node_modules/axios/lib/helpers/spread.js.map +1 -0
  158. package/dist/cjs/node_modules/axios/lib/helpers/throttle.js +2 -0
  159. package/dist/cjs/node_modules/axios/lib/helpers/throttle.js.map +1 -0
  160. package/dist/cjs/node_modules/axios/lib/helpers/toFormData.js +2 -0
  161. package/dist/cjs/node_modules/axios/lib/helpers/toFormData.js.map +1 -0
  162. package/dist/cjs/node_modules/axios/lib/helpers/toURLEncodedForm.js +2 -0
  163. package/dist/cjs/node_modules/axios/lib/helpers/toURLEncodedForm.js.map +1 -0
  164. package/dist/cjs/node_modules/axios/lib/helpers/trackStream.js +2 -0
  165. package/dist/cjs/node_modules/axios/lib/helpers/trackStream.js.map +1 -0
  166. package/dist/cjs/node_modules/axios/lib/helpers/validator.js +2 -0
  167. package/dist/cjs/node_modules/axios/lib/helpers/validator.js.map +1 -0
  168. package/dist/cjs/node_modules/axios/lib/platform/browser/classes/Blob.js +2 -0
  169. package/dist/cjs/node_modules/axios/lib/platform/browser/classes/Blob.js.map +1 -0
  170. package/dist/cjs/node_modules/axios/lib/platform/browser/classes/FormData.js +2 -0
  171. package/dist/cjs/node_modules/axios/lib/platform/browser/classes/FormData.js.map +1 -0
  172. package/dist/cjs/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js +2 -0
  173. package/dist/cjs/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js.map +1 -0
  174. package/dist/cjs/node_modules/axios/lib/platform/browser/index.js +2 -0
  175. package/dist/cjs/node_modules/axios/lib/platform/browser/index.js.map +1 -0
  176. package/dist/cjs/node_modules/axios/lib/platform/common/utils.js +2 -0
  177. package/dist/cjs/node_modules/axios/lib/platform/common/utils.js.map +1 -0
  178. package/dist/cjs/node_modules/axios/lib/platform/index.js +2 -0
  179. package/dist/cjs/node_modules/axios/lib/platform/index.js.map +1 -0
  180. package/dist/cjs/node_modules/axios/lib/utils.js +2 -0
  181. package/dist/cjs/node_modules/axios/lib/utils.js.map +1 -0
  182. package/dist/cjs/node_modules/bail/index.js +2 -0
  183. package/dist/cjs/node_modules/bail/index.js.map +1 -0
  184. package/dist/cjs/node_modules/comma-separated-tokens/index.js +2 -0
  185. package/dist/cjs/node_modules/comma-separated-tokens/index.js.map +1 -0
  186. package/dist/cjs/node_modules/decode-named-character-reference/index.dom.js +2 -0
  187. package/dist/cjs/node_modules/decode-named-character-reference/index.dom.js.map +1 -0
  188. package/dist/cjs/node_modules/devlop/lib/default.js +2 -0
  189. package/dist/cjs/node_modules/devlop/lib/default.js.map +1 -0
  190. package/dist/cjs/node_modules/estree-util-is-identifier-name/lib/index.js +2 -0
  191. package/dist/cjs/node_modules/estree-util-is-identifier-name/lib/index.js.map +1 -0
  192. package/dist/cjs/node_modules/extend/index.js +2 -0
  193. package/dist/cjs/node_modules/extend/index.js.map +1 -0
  194. package/dist/cjs/node_modules/hast-util-to-jsx-runtime/lib/index.js +2 -0
  195. package/dist/cjs/node_modules/hast-util-to-jsx-runtime/lib/index.js.map +1 -0
  196. package/dist/cjs/node_modules/hast-util-whitespace/lib/index.js +2 -0
  197. package/dist/cjs/node_modules/hast-util-whitespace/lib/index.js.map +1 -0
  198. package/dist/cjs/node_modules/html-url-attributes/lib/index.js +2 -0
  199. package/dist/cjs/node_modules/html-url-attributes/lib/index.js.map +1 -0
  200. package/dist/cjs/node_modules/inline-style-parser/cjs/index.js +2 -0
  201. package/dist/cjs/node_modules/inline-style-parser/cjs/index.js.map +1 -0
  202. package/dist/cjs/node_modules/mdast-util-from-markdown/lib/index.js +2 -0
  203. package/dist/cjs/node_modules/mdast-util-from-markdown/lib/index.js.map +1 -0
  204. package/dist/cjs/node_modules/mdast-util-to-hast/lib/footer.js +2 -0
  205. package/dist/cjs/node_modules/mdast-util-to-hast/lib/footer.js.map +1 -0
  206. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/blockquote.js +2 -0
  207. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/blockquote.js.map +1 -0
  208. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/break.js +2 -0
  209. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/break.js.map +1 -0
  210. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/code.js +2 -0
  211. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/code.js.map +1 -0
  212. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/delete.js +2 -0
  213. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/delete.js.map +1 -0
  214. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/emphasis.js +2 -0
  215. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/emphasis.js.map +1 -0
  216. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.js +2 -0
  217. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.js.map +1 -0
  218. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/heading.js +2 -0
  219. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/heading.js.map +1 -0
  220. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/html.js +2 -0
  221. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/html.js.map +1 -0
  222. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/image-reference.js +2 -0
  223. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/image-reference.js.map +1 -0
  224. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/image.js +2 -0
  225. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/image.js.map +1 -0
  226. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/index.js +2 -0
  227. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/index.js.map +1 -0
  228. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/inline-code.js +2 -0
  229. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/inline-code.js.map +1 -0
  230. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/link-reference.js +2 -0
  231. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/link-reference.js.map +1 -0
  232. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/link.js +2 -0
  233. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/link.js.map +1 -0
  234. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/list-item.js +2 -0
  235. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/list-item.js.map +1 -0
  236. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/list.js +2 -0
  237. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/list.js.map +1 -0
  238. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/paragraph.js +2 -0
  239. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/paragraph.js.map +1 -0
  240. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/root.js +2 -0
  241. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/root.js.map +1 -0
  242. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/strong.js +2 -0
  243. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/strong.js.map +1 -0
  244. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/table-cell.js +2 -0
  245. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/table-cell.js.map +1 -0
  246. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/table-row.js +2 -0
  247. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/table-row.js.map +1 -0
  248. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/table.js +2 -0
  249. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/table.js.map +1 -0
  250. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/text.js +2 -0
  251. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/text.js.map +1 -0
  252. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/thematic-break.js +2 -0
  253. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/thematic-break.js.map +1 -0
  254. package/dist/cjs/node_modules/mdast-util-to-hast/lib/index.js +2 -0
  255. package/dist/cjs/node_modules/mdast-util-to-hast/lib/index.js.map +1 -0
  256. package/dist/cjs/node_modules/mdast-util-to-hast/lib/revert.js +2 -0
  257. package/dist/cjs/node_modules/mdast-util-to-hast/lib/revert.js.map +1 -0
  258. package/dist/cjs/node_modules/mdast-util-to-hast/lib/state.js +2 -0
  259. package/dist/cjs/node_modules/mdast-util-to-hast/lib/state.js.map +1 -0
  260. package/dist/cjs/node_modules/mdast-util-to-string/lib/index.js +2 -0
  261. package/dist/cjs/node_modules/mdast-util-to-string/lib/index.js.map +1 -0
  262. package/dist/cjs/node_modules/micromark/lib/constructs.js +2 -0
  263. package/dist/cjs/node_modules/micromark/lib/constructs.js.map +1 -0
  264. package/dist/cjs/node_modules/micromark/lib/create-tokenizer.js +2 -0
  265. package/dist/cjs/node_modules/micromark/lib/create-tokenizer.js.map +1 -0
  266. package/dist/cjs/node_modules/micromark/lib/initialize/content.js +2 -0
  267. package/dist/cjs/node_modules/micromark/lib/initialize/content.js.map +1 -0
  268. package/dist/cjs/node_modules/micromark/lib/initialize/document.js +2 -0
  269. package/dist/cjs/node_modules/micromark/lib/initialize/document.js.map +1 -0
  270. package/dist/cjs/node_modules/micromark/lib/initialize/flow.js +2 -0
  271. package/dist/cjs/node_modules/micromark/lib/initialize/flow.js.map +1 -0
  272. package/dist/cjs/node_modules/micromark/lib/initialize/text.js +2 -0
  273. package/dist/cjs/node_modules/micromark/lib/initialize/text.js.map +1 -0
  274. package/dist/cjs/node_modules/micromark/lib/parse.js +2 -0
  275. package/dist/cjs/node_modules/micromark/lib/parse.js.map +1 -0
  276. package/dist/cjs/node_modules/micromark/lib/postprocess.js +2 -0
  277. package/dist/cjs/node_modules/micromark/lib/postprocess.js.map +1 -0
  278. package/dist/cjs/node_modules/micromark/lib/preprocess.js +2 -0
  279. package/dist/cjs/node_modules/micromark/lib/preprocess.js.map +1 -0
  280. package/dist/cjs/node_modules/micromark-core-commonmark/lib/attention.js +2 -0
  281. package/dist/cjs/node_modules/micromark-core-commonmark/lib/attention.js.map +1 -0
  282. package/dist/cjs/node_modules/micromark-core-commonmark/lib/autolink.js +2 -0
  283. package/dist/cjs/node_modules/micromark-core-commonmark/lib/autolink.js.map +1 -0
  284. package/dist/cjs/node_modules/micromark-core-commonmark/lib/blank-line.js +2 -0
  285. package/dist/cjs/node_modules/micromark-core-commonmark/lib/blank-line.js.map +1 -0
  286. package/dist/cjs/node_modules/micromark-core-commonmark/lib/block-quote.js +2 -0
  287. package/dist/cjs/node_modules/micromark-core-commonmark/lib/block-quote.js.map +1 -0
  288. package/dist/cjs/node_modules/micromark-core-commonmark/lib/character-escape.js +2 -0
  289. package/dist/cjs/node_modules/micromark-core-commonmark/lib/character-escape.js.map +1 -0
  290. package/dist/cjs/node_modules/micromark-core-commonmark/lib/character-reference.js +2 -0
  291. package/dist/cjs/node_modules/micromark-core-commonmark/lib/character-reference.js.map +1 -0
  292. package/dist/cjs/node_modules/micromark-core-commonmark/lib/code-fenced.js +2 -0
  293. package/dist/cjs/node_modules/micromark-core-commonmark/lib/code-fenced.js.map +1 -0
  294. package/dist/cjs/node_modules/micromark-core-commonmark/lib/code-indented.js +2 -0
  295. package/dist/cjs/node_modules/micromark-core-commonmark/lib/code-indented.js.map +1 -0
  296. package/dist/cjs/node_modules/micromark-core-commonmark/lib/code-text.js +2 -0
  297. package/dist/cjs/node_modules/micromark-core-commonmark/lib/code-text.js.map +1 -0
  298. package/dist/cjs/node_modules/micromark-core-commonmark/lib/content.js +2 -0
  299. package/dist/cjs/node_modules/micromark-core-commonmark/lib/content.js.map +1 -0
  300. package/dist/cjs/node_modules/micromark-core-commonmark/lib/definition.js +2 -0
  301. package/dist/cjs/node_modules/micromark-core-commonmark/lib/definition.js.map +1 -0
  302. package/dist/cjs/node_modules/micromark-core-commonmark/lib/hard-break-escape.js +2 -0
  303. package/dist/cjs/node_modules/micromark-core-commonmark/lib/hard-break-escape.js.map +1 -0
  304. package/dist/cjs/node_modules/micromark-core-commonmark/lib/heading-atx.js +2 -0
  305. package/dist/cjs/node_modules/micromark-core-commonmark/lib/heading-atx.js.map +1 -0
  306. package/dist/cjs/node_modules/micromark-core-commonmark/lib/html-flow.js +2 -0
  307. package/dist/cjs/node_modules/micromark-core-commonmark/lib/html-flow.js.map +1 -0
  308. package/dist/cjs/node_modules/micromark-core-commonmark/lib/html-text.js +2 -0
  309. package/dist/cjs/node_modules/micromark-core-commonmark/lib/html-text.js.map +1 -0
  310. package/dist/cjs/node_modules/micromark-core-commonmark/lib/label-end.js +2 -0
  311. package/dist/cjs/node_modules/micromark-core-commonmark/lib/label-end.js.map +1 -0
  312. package/dist/cjs/node_modules/micromark-core-commonmark/lib/label-start-image.js +2 -0
  313. package/dist/cjs/node_modules/micromark-core-commonmark/lib/label-start-image.js.map +1 -0
  314. package/dist/cjs/node_modules/micromark-core-commonmark/lib/label-start-link.js +2 -0
  315. package/dist/cjs/node_modules/micromark-core-commonmark/lib/label-start-link.js.map +1 -0
  316. package/dist/cjs/node_modules/micromark-core-commonmark/lib/line-ending.js +2 -0
  317. package/dist/cjs/node_modules/micromark-core-commonmark/lib/line-ending.js.map +1 -0
  318. package/dist/cjs/node_modules/micromark-core-commonmark/lib/list.js +2 -0
  319. package/dist/cjs/node_modules/micromark-core-commonmark/lib/list.js.map +1 -0
  320. package/dist/cjs/node_modules/micromark-core-commonmark/lib/setext-underline.js +2 -0
  321. package/dist/cjs/node_modules/micromark-core-commonmark/lib/setext-underline.js.map +1 -0
  322. package/dist/cjs/node_modules/micromark-core-commonmark/lib/thematic-break.js +2 -0
  323. package/dist/cjs/node_modules/micromark-core-commonmark/lib/thematic-break.js.map +1 -0
  324. package/dist/cjs/node_modules/micromark-factory-destination/index.js +2 -0
  325. package/dist/cjs/node_modules/micromark-factory-destination/index.js.map +1 -0
  326. package/dist/cjs/node_modules/micromark-factory-label/index.js +2 -0
  327. package/dist/cjs/node_modules/micromark-factory-label/index.js.map +1 -0
  328. package/dist/cjs/node_modules/micromark-factory-space/index.js +2 -0
  329. package/dist/cjs/node_modules/micromark-factory-space/index.js.map +1 -0
  330. package/dist/cjs/node_modules/micromark-factory-title/index.js +2 -0
  331. package/dist/cjs/node_modules/micromark-factory-title/index.js.map +1 -0
  332. package/dist/cjs/node_modules/micromark-factory-whitespace/index.js +2 -0
  333. package/dist/cjs/node_modules/micromark-factory-whitespace/index.js.map +1 -0
  334. package/dist/cjs/node_modules/micromark-util-character/index.js +2 -0
  335. package/dist/cjs/node_modules/micromark-util-character/index.js.map +1 -0
  336. package/dist/cjs/node_modules/micromark-util-chunked/index.js +2 -0
  337. package/dist/cjs/node_modules/micromark-util-chunked/index.js.map +1 -0
  338. package/dist/cjs/node_modules/micromark-util-classify-character/index.js +2 -0
  339. package/dist/cjs/node_modules/micromark-util-classify-character/index.js.map +1 -0
  340. package/dist/cjs/node_modules/micromark-util-combine-extensions/index.js +2 -0
  341. package/dist/cjs/node_modules/micromark-util-combine-extensions/index.js.map +1 -0
  342. package/dist/cjs/node_modules/micromark-util-decode-numeric-character-reference/index.js +2 -0
  343. package/dist/cjs/node_modules/micromark-util-decode-numeric-character-reference/index.js.map +1 -0
  344. package/dist/cjs/node_modules/micromark-util-decode-string/index.js +2 -0
  345. package/dist/cjs/node_modules/micromark-util-decode-string/index.js.map +1 -0
  346. package/dist/cjs/node_modules/micromark-util-html-tag-name/index.js +2 -0
  347. package/dist/cjs/node_modules/micromark-util-html-tag-name/index.js.map +1 -0
  348. package/dist/cjs/node_modules/micromark-util-normalize-identifier/index.js +2 -0
  349. package/dist/cjs/node_modules/micromark-util-normalize-identifier/index.js.map +1 -0
  350. package/dist/cjs/node_modules/micromark-util-resolve-all/index.js +2 -0
  351. package/dist/cjs/node_modules/micromark-util-resolve-all/index.js.map +1 -0
  352. package/dist/cjs/node_modules/micromark-util-sanitize-uri/index.js +2 -0
  353. package/dist/cjs/node_modules/micromark-util-sanitize-uri/index.js.map +1 -0
  354. package/dist/cjs/node_modules/micromark-util-subtokenize/index.js +2 -0
  355. package/dist/cjs/node_modules/micromark-util-subtokenize/index.js.map +1 -0
  356. package/dist/cjs/node_modules/micromark-util-subtokenize/lib/splice-buffer.js +2 -0
  357. package/dist/cjs/node_modules/micromark-util-subtokenize/lib/splice-buffer.js.map +1 -0
  358. package/dist/cjs/node_modules/property-information/index.js +2 -0
  359. package/dist/cjs/node_modules/property-information/index.js.map +1 -0
  360. package/dist/cjs/node_modules/property-information/lib/aria.js +2 -0
  361. package/dist/cjs/node_modules/property-information/lib/aria.js.map +1 -0
  362. package/dist/cjs/node_modules/property-information/lib/find.js +2 -0
  363. package/dist/cjs/node_modules/property-information/lib/find.js.map +1 -0
  364. package/dist/cjs/node_modules/property-information/lib/hast-to-react.js +2 -0
  365. package/dist/cjs/node_modules/property-information/lib/hast-to-react.js.map +1 -0
  366. package/dist/cjs/node_modules/property-information/lib/html.js +2 -0
  367. package/dist/cjs/node_modules/property-information/lib/html.js.map +1 -0
  368. package/dist/cjs/node_modules/property-information/lib/normalize.js +2 -0
  369. package/dist/cjs/node_modules/property-information/lib/normalize.js.map +1 -0
  370. package/dist/cjs/node_modules/property-information/lib/svg.js +2 -0
  371. package/dist/cjs/node_modules/property-information/lib/svg.js.map +1 -0
  372. package/dist/cjs/node_modules/property-information/lib/util/case-insensitive-transform.js +2 -0
  373. package/dist/cjs/node_modules/property-information/lib/util/case-insensitive-transform.js.map +1 -0
  374. package/dist/cjs/node_modules/property-information/lib/util/case-sensitive-transform.js +2 -0
  375. package/dist/cjs/node_modules/property-information/lib/util/case-sensitive-transform.js.map +1 -0
  376. package/dist/cjs/node_modules/property-information/lib/util/create.js +2 -0
  377. package/dist/cjs/node_modules/property-information/lib/util/create.js.map +1 -0
  378. package/dist/cjs/node_modules/property-information/lib/util/defined-info.js +2 -0
  379. package/dist/cjs/node_modules/property-information/lib/util/defined-info.js.map +1 -0
  380. package/dist/cjs/node_modules/property-information/lib/util/info.js +2 -0
  381. package/dist/cjs/node_modules/property-information/lib/util/info.js.map +1 -0
  382. package/dist/cjs/node_modules/property-information/lib/util/merge.js +2 -0
  383. package/dist/cjs/node_modules/property-information/lib/util/merge.js.map +1 -0
  384. package/dist/cjs/node_modules/property-information/lib/util/schema.js +2 -0
  385. package/dist/cjs/node_modules/property-information/lib/util/schema.js.map +1 -0
  386. package/dist/cjs/node_modules/property-information/lib/util/types.js +2 -0
  387. package/dist/cjs/node_modules/property-information/lib/util/types.js.map +1 -0
  388. package/dist/cjs/node_modules/property-information/lib/xlink.js +2 -0
  389. package/dist/cjs/node_modules/property-information/lib/xlink.js.map +1 -0
  390. package/dist/cjs/node_modules/property-information/lib/xml.js +2 -0
  391. package/dist/cjs/node_modules/property-information/lib/xml.js.map +1 -0
  392. package/dist/cjs/node_modules/property-information/lib/xmlns.js +2 -0
  393. package/dist/cjs/node_modules/property-information/lib/xmlns.js.map +1 -0
  394. package/dist/cjs/node_modules/react-markdown/lib/index.js +2 -0
  395. package/dist/cjs/node_modules/react-markdown/lib/index.js.map +1 -0
  396. package/dist/cjs/node_modules/remark-parse/lib/index.js +2 -0
  397. package/dist/cjs/node_modules/remark-parse/lib/index.js.map +1 -0
  398. package/dist/cjs/node_modules/remark-rehype/lib/index.js +2 -0
  399. package/dist/cjs/node_modules/remark-rehype/lib/index.js.map +1 -0
  400. package/dist/cjs/node_modules/space-separated-tokens/index.js +2 -0
  401. package/dist/cjs/node_modules/space-separated-tokens/index.js.map +1 -0
  402. package/dist/cjs/node_modules/style-to-js/cjs/index.js +2 -0
  403. package/dist/cjs/node_modules/style-to-js/cjs/index.js.map +1 -0
  404. package/dist/cjs/node_modules/style-to-js/cjs/utilities.js +2 -0
  405. package/dist/cjs/node_modules/style-to-js/cjs/utilities.js.map +1 -0
  406. package/dist/cjs/node_modules/style-to-object/cjs/index.js +2 -0
  407. package/dist/cjs/node_modules/style-to-object/cjs/index.js.map +1 -0
  408. package/dist/cjs/node_modules/trim-lines/index.js +2 -0
  409. package/dist/cjs/node_modules/trim-lines/index.js.map +1 -0
  410. package/dist/cjs/node_modules/trough/lib/index.js +2 -0
  411. package/dist/cjs/node_modules/trough/lib/index.js.map +1 -0
  412. package/dist/cjs/node_modules/unified/lib/callable-instance.js +2 -0
  413. package/dist/cjs/node_modules/unified/lib/callable-instance.js.map +1 -0
  414. package/dist/cjs/node_modules/unified/lib/index.js +2 -0
  415. package/dist/cjs/node_modules/unified/lib/index.js.map +1 -0
  416. package/dist/cjs/node_modules/unified/node_modules/is-plain-obj/index.js +2 -0
  417. package/dist/cjs/node_modules/unified/node_modules/is-plain-obj/index.js.map +1 -0
  418. package/dist/cjs/node_modules/unist-util-is/lib/index.js +2 -0
  419. package/dist/cjs/node_modules/unist-util-is/lib/index.js.map +1 -0
  420. package/dist/cjs/node_modules/unist-util-position/lib/index.js +2 -0
  421. package/dist/cjs/node_modules/unist-util-position/lib/index.js.map +1 -0
  422. package/dist/cjs/node_modules/unist-util-stringify-position/lib/index.js +2 -0
  423. package/dist/cjs/node_modules/unist-util-stringify-position/lib/index.js.map +1 -0
  424. package/dist/cjs/node_modules/unist-util-visit/lib/index.js +2 -0
  425. package/dist/cjs/node_modules/unist-util-visit/lib/index.js.map +1 -0
  426. package/dist/cjs/node_modules/unist-util-visit-parents/lib/color.js +2 -0
  427. package/dist/cjs/node_modules/unist-util-visit-parents/lib/color.js.map +1 -0
  428. package/dist/cjs/node_modules/unist-util-visit-parents/lib/index.js +2 -0
  429. package/dist/cjs/node_modules/unist-util-visit-parents/lib/index.js.map +1 -0
  430. package/dist/cjs/node_modules/vfile/lib/index.js +2 -0
  431. package/dist/cjs/node_modules/vfile/lib/index.js.map +1 -0
  432. package/dist/cjs/node_modules/vfile/lib/minpath.browser.js +2 -0
  433. package/dist/cjs/node_modules/vfile/lib/minpath.browser.js.map +1 -0
  434. package/dist/cjs/node_modules/vfile/lib/minproc.browser.js +2 -0
  435. package/dist/cjs/node_modules/vfile/lib/minproc.browser.js.map +1 -0
  436. package/dist/cjs/node_modules/vfile/lib/minurl.browser.js +2 -0
  437. package/dist/cjs/node_modules/vfile/lib/minurl.browser.js.map +1 -0
  438. package/dist/cjs/node_modules/vfile/lib/minurl.shared.js +2 -0
  439. package/dist/cjs/node_modules/vfile/lib/minurl.shared.js.map +1 -0
  440. package/dist/cjs/node_modules/vfile-message/lib/index.js +2 -0
  441. package/dist/cjs/node_modules/vfile-message/lib/index.js.map +1 -0
  442. package/dist/cjs/services/restoreAuditVersion.js +2 -0
  443. package/dist/cjs/services/restoreAuditVersion.js.map +1 -0
  444. package/dist/cjs/services/useAuditLogDistinctValues.js +2 -0
  445. package/dist/cjs/services/useAuditLogDistinctValues.js.map +1 -0
  446. package/dist/cjs/services/useAuditLogsData.js +2 -0
  447. package/dist/cjs/services/useAuditLogsData.js.map +1 -0
  448. package/dist/cjs/styles.css +1 -0
  449. package/dist/components/ActionTakenBody.js +2 -0
  450. package/dist/components/ActionTakenBody.js.map +1 -0
  451. package/dist/components/AuditLogPanel/AuditLogPanel.js +2 -0
  452. package/dist/components/AuditLogPanel/AuditLogPanel.js.map +1 -0
  453. package/dist/components/AuditLogPanel/AuditLogPanel.module.css.js +2 -0
  454. package/dist/components/AuditLogPanel/AuditLogPanel.module.css.js.map +1 -0
  455. package/dist/components/AuditLogPanel/AuditLogPanelItem.js +2 -0
  456. package/dist/components/AuditLogPanel/AuditLogPanelItem.js.map +1 -0
  457. package/dist/components/AuditLogPanel/AuditLogSandBox.js +2 -0
  458. package/dist/components/AuditLogPanel/AuditLogSandBox.js.map +1 -0
  459. package/dist/components/AuditLogPanel/CommonUI.js +2 -0
  460. package/dist/components/AuditLogPanel/CommonUI.js.map +1 -0
  461. package/dist/components/AuditLogPanel/ComparisonSummaryCard.js +2 -0
  462. package/dist/components/AuditLogPanel/ComparisonSummaryCard.js.map +1 -0
  463. package/dist/components/AuditLogPanel/FilterSection.js +2 -0
  464. package/dist/components/AuditLogPanel/FilterSection.js.map +1 -0
  465. package/dist/components/AuditLogPanel/Services/AuditLogPanelAdapter.js +2 -0
  466. package/dist/components/AuditLogPanel/Services/AuditLogPanelAdapter.js.map +1 -0
  467. package/dist/components/AuditLogPanel/Services/useAuditLogPanelData.js +2 -0
  468. package/dist/components/AuditLogPanel/Services/useAuditLogPanelData.js.map +1 -0
  469. package/dist/components/AuditLogPanel/Services/useAuditLogPanelDistinctValues.js +2 -0
  470. package/dist/components/AuditLogPanel/Services/useAuditLogPanelDistinctValues.js.map +1 -0
  471. package/dist/components/AuditLogPanel/Services/useAuditLogPanelFilters.js +2 -0
  472. package/dist/components/AuditLogPanel/Services/useAuditLogPanelFilters.js.map +1 -0
  473. package/dist/components/AuditLogPanel/Services/useAuditLogPanelScroll.js +2 -0
  474. package/dist/components/AuditLogPanel/Services/useAuditLogPanelScroll.js.map +1 -0
  475. package/dist/components/CustomMultiSelect.js +2 -0
  476. package/dist/components/CustomMultiSelect.js.map +1 -0
  477. package/dist/components/DateRangeSelector.js +2 -0
  478. package/dist/components/DateRangeSelector.js.map +1 -0
  479. package/dist/components/ImpactRangeSelector.js +2 -0
  480. package/dist/components/ImpactRangeSelector.js.map +1 -0
  481. package/dist/components/LogFilterDropdown.js +2 -0
  482. package/dist/components/LogFilterDropdown.js.map +1 -0
  483. package/dist/components/LogFilters.js +2 -0
  484. package/dist/components/LogFilters.js.map +1 -0
  485. package/dist/components/LogFiltersSidebar.js +2 -0
  486. package/dist/components/LogFiltersSidebar.js.map +1 -0
  487. package/dist/components/LogTable.js +2 -0
  488. package/dist/components/LogTable.js.map +1 -0
  489. package/dist/components/auditLog.api.js +2 -0
  490. package/dist/components/auditLog.api.js.map +1 -0
  491. package/dist/components/useAuditLogController.js +2 -0
  492. package/dist/components/useAuditLogController.js.map +1 -0
  493. package/dist/index.js +2 -0
  494. package/dist/index.js.map +1 -0
  495. package/dist/node_modules/@ungap/structured-clone/esm/deserialize.js +2 -0
  496. package/dist/node_modules/@ungap/structured-clone/esm/deserialize.js.map +1 -0
  497. package/dist/node_modules/@ungap/structured-clone/esm/index.js +2 -0
  498. package/dist/node_modules/@ungap/structured-clone/esm/index.js.map +1 -0
  499. package/dist/node_modules/@ungap/structured-clone/esm/serialize.js +2 -0
  500. package/dist/node_modules/@ungap/structured-clone/esm/serialize.js.map +1 -0
  501. package/dist/node_modules/@ungap/structured-clone/esm/types.js +2 -0
  502. package/dist/node_modules/@ungap/structured-clone/esm/types.js.map +1 -0
  503. package/dist/node_modules/axios/lib/adapters/adapters.js +2 -0
  504. package/dist/node_modules/axios/lib/adapters/adapters.js.map +1 -0
  505. package/dist/node_modules/axios/lib/adapters/fetch.js +2 -0
  506. package/dist/node_modules/axios/lib/adapters/fetch.js.map +1 -0
  507. package/dist/node_modules/axios/lib/adapters/xhr.js +2 -0
  508. package/dist/node_modules/axios/lib/adapters/xhr.js.map +1 -0
  509. package/dist/node_modules/axios/lib/axios.js +2 -0
  510. package/dist/node_modules/axios/lib/axios.js.map +1 -0
  511. package/dist/node_modules/axios/lib/cancel/CancelToken.js +2 -0
  512. package/dist/node_modules/axios/lib/cancel/CancelToken.js.map +1 -0
  513. package/dist/node_modules/axios/lib/cancel/CanceledError.js +2 -0
  514. package/dist/node_modules/axios/lib/cancel/CanceledError.js.map +1 -0
  515. package/dist/node_modules/axios/lib/cancel/isCancel.js +2 -0
  516. package/dist/node_modules/axios/lib/cancel/isCancel.js.map +1 -0
  517. package/dist/node_modules/axios/lib/core/Axios.js +2 -0
  518. package/dist/node_modules/axios/lib/core/Axios.js.map +1 -0
  519. package/dist/node_modules/axios/lib/core/AxiosError.js +2 -0
  520. package/dist/node_modules/axios/lib/core/AxiosError.js.map +1 -0
  521. package/dist/node_modules/axios/lib/core/AxiosHeaders.js +2 -0
  522. package/dist/node_modules/axios/lib/core/AxiosHeaders.js.map +1 -0
  523. package/dist/node_modules/axios/lib/core/InterceptorManager.js +2 -0
  524. package/dist/node_modules/axios/lib/core/InterceptorManager.js.map +1 -0
  525. package/dist/node_modules/axios/lib/core/buildFullPath.js +2 -0
  526. package/dist/node_modules/axios/lib/core/buildFullPath.js.map +1 -0
  527. package/dist/node_modules/axios/lib/core/dispatchRequest.js +2 -0
  528. package/dist/node_modules/axios/lib/core/dispatchRequest.js.map +1 -0
  529. package/dist/node_modules/axios/lib/core/mergeConfig.js +2 -0
  530. package/dist/node_modules/axios/lib/core/mergeConfig.js.map +1 -0
  531. package/dist/node_modules/axios/lib/core/settle.js +2 -0
  532. package/dist/node_modules/axios/lib/core/settle.js.map +1 -0
  533. package/dist/node_modules/axios/lib/core/transformData.js +2 -0
  534. package/dist/node_modules/axios/lib/core/transformData.js.map +1 -0
  535. package/dist/node_modules/axios/lib/defaults/index.js +2 -0
  536. package/dist/node_modules/axios/lib/defaults/index.js.map +1 -0
  537. package/dist/node_modules/axios/lib/defaults/transitional.js +2 -0
  538. package/dist/node_modules/axios/lib/defaults/transitional.js.map +1 -0
  539. package/dist/node_modules/axios/lib/env/data.js +2 -0
  540. package/dist/node_modules/axios/lib/env/data.js.map +1 -0
  541. package/dist/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +2 -0
  542. package/dist/node_modules/axios/lib/helpers/AxiosURLSearchParams.js.map +1 -0
  543. package/dist/node_modules/axios/lib/helpers/HttpStatusCode.js +2 -0
  544. package/dist/node_modules/axios/lib/helpers/HttpStatusCode.js.map +1 -0
  545. package/dist/node_modules/axios/lib/helpers/bind.js +2 -0
  546. package/dist/node_modules/axios/lib/helpers/bind.js.map +1 -0
  547. package/dist/node_modules/axios/lib/helpers/buildURL.js +2 -0
  548. package/dist/node_modules/axios/lib/helpers/buildURL.js.map +1 -0
  549. package/dist/node_modules/axios/lib/helpers/combineURLs.js +2 -0
  550. package/dist/node_modules/axios/lib/helpers/combineURLs.js.map +1 -0
  551. package/dist/node_modules/axios/lib/helpers/composeSignals.js +2 -0
  552. package/dist/node_modules/axios/lib/helpers/composeSignals.js.map +1 -0
  553. package/dist/node_modules/axios/lib/helpers/cookies.js +2 -0
  554. package/dist/node_modules/axios/lib/helpers/cookies.js.map +1 -0
  555. package/dist/node_modules/axios/lib/helpers/formDataToJSON.js +2 -0
  556. package/dist/node_modules/axios/lib/helpers/formDataToJSON.js.map +1 -0
  557. package/dist/node_modules/axios/lib/helpers/isAbsoluteURL.js +2 -0
  558. package/dist/node_modules/axios/lib/helpers/isAbsoluteURL.js.map +1 -0
  559. package/dist/node_modules/axios/lib/helpers/isAxiosError.js +2 -0
  560. package/dist/node_modules/axios/lib/helpers/isAxiosError.js.map +1 -0
  561. package/dist/node_modules/axios/lib/helpers/isURLSameOrigin.js +2 -0
  562. package/dist/node_modules/axios/lib/helpers/isURLSameOrigin.js.map +1 -0
  563. package/dist/node_modules/axios/lib/helpers/null.js +2 -0
  564. package/dist/node_modules/axios/lib/helpers/null.js.map +1 -0
  565. package/dist/node_modules/axios/lib/helpers/parseHeaders.js +2 -0
  566. package/dist/node_modules/axios/lib/helpers/parseHeaders.js.map +1 -0
  567. package/dist/node_modules/axios/lib/helpers/parseProtocol.js +2 -0
  568. package/dist/node_modules/axios/lib/helpers/parseProtocol.js.map +1 -0
  569. package/dist/node_modules/axios/lib/helpers/progressEventReducer.js +2 -0
  570. package/dist/node_modules/axios/lib/helpers/progressEventReducer.js.map +1 -0
  571. package/dist/node_modules/axios/lib/helpers/resolveConfig.js +2 -0
  572. package/dist/node_modules/axios/lib/helpers/resolveConfig.js.map +1 -0
  573. package/dist/node_modules/axios/lib/helpers/speedometer.js +2 -0
  574. package/dist/node_modules/axios/lib/helpers/speedometer.js.map +1 -0
  575. package/dist/node_modules/axios/lib/helpers/spread.js +2 -0
  576. package/dist/node_modules/axios/lib/helpers/spread.js.map +1 -0
  577. package/dist/node_modules/axios/lib/helpers/throttle.js +2 -0
  578. package/dist/node_modules/axios/lib/helpers/throttle.js.map +1 -0
  579. package/dist/node_modules/axios/lib/helpers/toFormData.js +2 -0
  580. package/dist/node_modules/axios/lib/helpers/toFormData.js.map +1 -0
  581. package/dist/node_modules/axios/lib/helpers/toURLEncodedForm.js +2 -0
  582. package/dist/node_modules/axios/lib/helpers/toURLEncodedForm.js.map +1 -0
  583. package/dist/node_modules/axios/lib/helpers/trackStream.js +2 -0
  584. package/dist/node_modules/axios/lib/helpers/trackStream.js.map +1 -0
  585. package/dist/node_modules/axios/lib/helpers/validator.js +2 -0
  586. package/dist/node_modules/axios/lib/helpers/validator.js.map +1 -0
  587. package/dist/node_modules/axios/lib/platform/browser/classes/Blob.js +2 -0
  588. package/dist/node_modules/axios/lib/platform/browser/classes/Blob.js.map +1 -0
  589. package/dist/node_modules/axios/lib/platform/browser/classes/FormData.js +2 -0
  590. package/dist/node_modules/axios/lib/platform/browser/classes/FormData.js.map +1 -0
  591. package/dist/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js +2 -0
  592. package/dist/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js.map +1 -0
  593. package/dist/node_modules/axios/lib/platform/browser/index.js +2 -0
  594. package/dist/node_modules/axios/lib/platform/browser/index.js.map +1 -0
  595. package/dist/node_modules/axios/lib/platform/common/utils.js +2 -0
  596. package/dist/node_modules/axios/lib/platform/common/utils.js.map +1 -0
  597. package/dist/node_modules/axios/lib/platform/index.js +2 -0
  598. package/dist/node_modules/axios/lib/platform/index.js.map +1 -0
  599. package/dist/node_modules/axios/lib/utils.js +2 -0
  600. package/dist/node_modules/axios/lib/utils.js.map +1 -0
  601. package/dist/node_modules/bail/index.js +2 -0
  602. package/dist/node_modules/bail/index.js.map +1 -0
  603. package/dist/node_modules/comma-separated-tokens/index.js +2 -0
  604. package/dist/node_modules/comma-separated-tokens/index.js.map +1 -0
  605. package/dist/node_modules/decode-named-character-reference/index.dom.js +2 -0
  606. package/dist/node_modules/decode-named-character-reference/index.dom.js.map +1 -0
  607. package/dist/node_modules/devlop/lib/default.js +2 -0
  608. package/dist/node_modules/devlop/lib/default.js.map +1 -0
  609. package/dist/node_modules/estree-util-is-identifier-name/lib/index.js +2 -0
  610. package/dist/node_modules/estree-util-is-identifier-name/lib/index.js.map +1 -0
  611. package/dist/node_modules/extend/index.js +2 -0
  612. package/dist/node_modules/extend/index.js.map +1 -0
  613. package/dist/node_modules/hast-util-to-jsx-runtime/lib/index.js +2 -0
  614. package/dist/node_modules/hast-util-to-jsx-runtime/lib/index.js.map +1 -0
  615. package/dist/node_modules/hast-util-whitespace/lib/index.js +2 -0
  616. package/dist/node_modules/hast-util-whitespace/lib/index.js.map +1 -0
  617. package/dist/node_modules/html-url-attributes/lib/index.js +2 -0
  618. package/dist/node_modules/html-url-attributes/lib/index.js.map +1 -0
  619. package/dist/node_modules/inline-style-parser/cjs/index.js +2 -0
  620. package/dist/node_modules/inline-style-parser/cjs/index.js.map +1 -0
  621. package/dist/node_modules/mdast-util-from-markdown/lib/index.js +2 -0
  622. package/dist/node_modules/mdast-util-from-markdown/lib/index.js.map +1 -0
  623. package/dist/node_modules/mdast-util-to-hast/lib/footer.js +2 -0
  624. package/dist/node_modules/mdast-util-to-hast/lib/footer.js.map +1 -0
  625. package/dist/node_modules/mdast-util-to-hast/lib/handlers/blockquote.js +2 -0
  626. package/dist/node_modules/mdast-util-to-hast/lib/handlers/blockquote.js.map +1 -0
  627. package/dist/node_modules/mdast-util-to-hast/lib/handlers/break.js +2 -0
  628. package/dist/node_modules/mdast-util-to-hast/lib/handlers/break.js.map +1 -0
  629. package/dist/node_modules/mdast-util-to-hast/lib/handlers/code.js +2 -0
  630. package/dist/node_modules/mdast-util-to-hast/lib/handlers/code.js.map +1 -0
  631. package/dist/node_modules/mdast-util-to-hast/lib/handlers/delete.js +2 -0
  632. package/dist/node_modules/mdast-util-to-hast/lib/handlers/delete.js.map +1 -0
  633. package/dist/node_modules/mdast-util-to-hast/lib/handlers/emphasis.js +2 -0
  634. package/dist/node_modules/mdast-util-to-hast/lib/handlers/emphasis.js.map +1 -0
  635. package/dist/node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.js +2 -0
  636. package/dist/node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.js.map +1 -0
  637. package/dist/node_modules/mdast-util-to-hast/lib/handlers/heading.js +2 -0
  638. package/dist/node_modules/mdast-util-to-hast/lib/handlers/heading.js.map +1 -0
  639. package/dist/node_modules/mdast-util-to-hast/lib/handlers/html.js +2 -0
  640. package/dist/node_modules/mdast-util-to-hast/lib/handlers/html.js.map +1 -0
  641. package/dist/node_modules/mdast-util-to-hast/lib/handlers/image-reference.js +2 -0
  642. package/dist/node_modules/mdast-util-to-hast/lib/handlers/image-reference.js.map +1 -0
  643. package/dist/node_modules/mdast-util-to-hast/lib/handlers/image.js +2 -0
  644. package/dist/node_modules/mdast-util-to-hast/lib/handlers/image.js.map +1 -0
  645. package/dist/node_modules/mdast-util-to-hast/lib/handlers/index.js +2 -0
  646. package/dist/node_modules/mdast-util-to-hast/lib/handlers/index.js.map +1 -0
  647. package/dist/node_modules/mdast-util-to-hast/lib/handlers/inline-code.js +2 -0
  648. package/dist/node_modules/mdast-util-to-hast/lib/handlers/inline-code.js.map +1 -0
  649. package/dist/node_modules/mdast-util-to-hast/lib/handlers/link-reference.js +2 -0
  650. package/dist/node_modules/mdast-util-to-hast/lib/handlers/link-reference.js.map +1 -0
  651. package/dist/node_modules/mdast-util-to-hast/lib/handlers/link.js +2 -0
  652. package/dist/node_modules/mdast-util-to-hast/lib/handlers/link.js.map +1 -0
  653. package/dist/node_modules/mdast-util-to-hast/lib/handlers/list-item.js +2 -0
  654. package/dist/node_modules/mdast-util-to-hast/lib/handlers/list-item.js.map +1 -0
  655. package/dist/node_modules/mdast-util-to-hast/lib/handlers/list.js +2 -0
  656. package/dist/node_modules/mdast-util-to-hast/lib/handlers/list.js.map +1 -0
  657. package/dist/node_modules/mdast-util-to-hast/lib/handlers/paragraph.js +2 -0
  658. package/dist/node_modules/mdast-util-to-hast/lib/handlers/paragraph.js.map +1 -0
  659. package/dist/node_modules/mdast-util-to-hast/lib/handlers/root.js +2 -0
  660. package/dist/node_modules/mdast-util-to-hast/lib/handlers/root.js.map +1 -0
  661. package/dist/node_modules/mdast-util-to-hast/lib/handlers/strong.js +2 -0
  662. package/dist/node_modules/mdast-util-to-hast/lib/handlers/strong.js.map +1 -0
  663. package/dist/node_modules/mdast-util-to-hast/lib/handlers/table-cell.js +2 -0
  664. package/dist/node_modules/mdast-util-to-hast/lib/handlers/table-cell.js.map +1 -0
  665. package/dist/node_modules/mdast-util-to-hast/lib/handlers/table-row.js +2 -0
  666. package/dist/node_modules/mdast-util-to-hast/lib/handlers/table-row.js.map +1 -0
  667. package/dist/node_modules/mdast-util-to-hast/lib/handlers/table.js +2 -0
  668. package/dist/node_modules/mdast-util-to-hast/lib/handlers/table.js.map +1 -0
  669. package/dist/node_modules/mdast-util-to-hast/lib/handlers/text.js +2 -0
  670. package/dist/node_modules/mdast-util-to-hast/lib/handlers/text.js.map +1 -0
  671. package/dist/node_modules/mdast-util-to-hast/lib/handlers/thematic-break.js +2 -0
  672. package/dist/node_modules/mdast-util-to-hast/lib/handlers/thematic-break.js.map +1 -0
  673. package/dist/node_modules/mdast-util-to-hast/lib/index.js +2 -0
  674. package/dist/node_modules/mdast-util-to-hast/lib/index.js.map +1 -0
  675. package/dist/node_modules/mdast-util-to-hast/lib/revert.js +2 -0
  676. package/dist/node_modules/mdast-util-to-hast/lib/revert.js.map +1 -0
  677. package/dist/node_modules/mdast-util-to-hast/lib/state.js +2 -0
  678. package/dist/node_modules/mdast-util-to-hast/lib/state.js.map +1 -0
  679. package/dist/node_modules/mdast-util-to-string/lib/index.js +2 -0
  680. package/dist/node_modules/mdast-util-to-string/lib/index.js.map +1 -0
  681. package/dist/node_modules/micromark/lib/constructs.js +2 -0
  682. package/dist/node_modules/micromark/lib/constructs.js.map +1 -0
  683. package/dist/node_modules/micromark/lib/create-tokenizer.js +2 -0
  684. package/dist/node_modules/micromark/lib/create-tokenizer.js.map +1 -0
  685. package/dist/node_modules/micromark/lib/initialize/content.js +2 -0
  686. package/dist/node_modules/micromark/lib/initialize/content.js.map +1 -0
  687. package/dist/node_modules/micromark/lib/initialize/document.js +2 -0
  688. package/dist/node_modules/micromark/lib/initialize/document.js.map +1 -0
  689. package/dist/node_modules/micromark/lib/initialize/flow.js +2 -0
  690. package/dist/node_modules/micromark/lib/initialize/flow.js.map +1 -0
  691. package/dist/node_modules/micromark/lib/initialize/text.js +2 -0
  692. package/dist/node_modules/micromark/lib/initialize/text.js.map +1 -0
  693. package/dist/node_modules/micromark/lib/parse.js +2 -0
  694. package/dist/node_modules/micromark/lib/parse.js.map +1 -0
  695. package/dist/node_modules/micromark/lib/postprocess.js +2 -0
  696. package/dist/node_modules/micromark/lib/postprocess.js.map +1 -0
  697. package/dist/node_modules/micromark/lib/preprocess.js +2 -0
  698. package/dist/node_modules/micromark/lib/preprocess.js.map +1 -0
  699. package/dist/node_modules/micromark-core-commonmark/lib/attention.js +2 -0
  700. package/dist/node_modules/micromark-core-commonmark/lib/attention.js.map +1 -0
  701. package/dist/node_modules/micromark-core-commonmark/lib/autolink.js +2 -0
  702. package/dist/node_modules/micromark-core-commonmark/lib/autolink.js.map +1 -0
  703. package/dist/node_modules/micromark-core-commonmark/lib/blank-line.js +2 -0
  704. package/dist/node_modules/micromark-core-commonmark/lib/blank-line.js.map +1 -0
  705. package/dist/node_modules/micromark-core-commonmark/lib/block-quote.js +2 -0
  706. package/dist/node_modules/micromark-core-commonmark/lib/block-quote.js.map +1 -0
  707. package/dist/node_modules/micromark-core-commonmark/lib/character-escape.js +2 -0
  708. package/dist/node_modules/micromark-core-commonmark/lib/character-escape.js.map +1 -0
  709. package/dist/node_modules/micromark-core-commonmark/lib/character-reference.js +2 -0
  710. package/dist/node_modules/micromark-core-commonmark/lib/character-reference.js.map +1 -0
  711. package/dist/node_modules/micromark-core-commonmark/lib/code-fenced.js +2 -0
  712. package/dist/node_modules/micromark-core-commonmark/lib/code-fenced.js.map +1 -0
  713. package/dist/node_modules/micromark-core-commonmark/lib/code-indented.js +2 -0
  714. package/dist/node_modules/micromark-core-commonmark/lib/code-indented.js.map +1 -0
  715. package/dist/node_modules/micromark-core-commonmark/lib/code-text.js +2 -0
  716. package/dist/node_modules/micromark-core-commonmark/lib/code-text.js.map +1 -0
  717. package/dist/node_modules/micromark-core-commonmark/lib/content.js +2 -0
  718. package/dist/node_modules/micromark-core-commonmark/lib/content.js.map +1 -0
  719. package/dist/node_modules/micromark-core-commonmark/lib/definition.js +2 -0
  720. package/dist/node_modules/micromark-core-commonmark/lib/definition.js.map +1 -0
  721. package/dist/node_modules/micromark-core-commonmark/lib/hard-break-escape.js +2 -0
  722. package/dist/node_modules/micromark-core-commonmark/lib/hard-break-escape.js.map +1 -0
  723. package/dist/node_modules/micromark-core-commonmark/lib/heading-atx.js +2 -0
  724. package/dist/node_modules/micromark-core-commonmark/lib/heading-atx.js.map +1 -0
  725. package/dist/node_modules/micromark-core-commonmark/lib/html-flow.js +2 -0
  726. package/dist/node_modules/micromark-core-commonmark/lib/html-flow.js.map +1 -0
  727. package/dist/node_modules/micromark-core-commonmark/lib/html-text.js +2 -0
  728. package/dist/node_modules/micromark-core-commonmark/lib/html-text.js.map +1 -0
  729. package/dist/node_modules/micromark-core-commonmark/lib/label-end.js +2 -0
  730. package/dist/node_modules/micromark-core-commonmark/lib/label-end.js.map +1 -0
  731. package/dist/node_modules/micromark-core-commonmark/lib/label-start-image.js +2 -0
  732. package/dist/node_modules/micromark-core-commonmark/lib/label-start-image.js.map +1 -0
  733. package/dist/node_modules/micromark-core-commonmark/lib/label-start-link.js +2 -0
  734. package/dist/node_modules/micromark-core-commonmark/lib/label-start-link.js.map +1 -0
  735. package/dist/node_modules/micromark-core-commonmark/lib/line-ending.js +2 -0
  736. package/dist/node_modules/micromark-core-commonmark/lib/line-ending.js.map +1 -0
  737. package/dist/node_modules/micromark-core-commonmark/lib/list.js +2 -0
  738. package/dist/node_modules/micromark-core-commonmark/lib/list.js.map +1 -0
  739. package/dist/node_modules/micromark-core-commonmark/lib/setext-underline.js +2 -0
  740. package/dist/node_modules/micromark-core-commonmark/lib/setext-underline.js.map +1 -0
  741. package/dist/node_modules/micromark-core-commonmark/lib/thematic-break.js +2 -0
  742. package/dist/node_modules/micromark-core-commonmark/lib/thematic-break.js.map +1 -0
  743. package/dist/node_modules/micromark-factory-destination/index.js +2 -0
  744. package/dist/node_modules/micromark-factory-destination/index.js.map +1 -0
  745. package/dist/node_modules/micromark-factory-label/index.js +2 -0
  746. package/dist/node_modules/micromark-factory-label/index.js.map +1 -0
  747. package/dist/node_modules/micromark-factory-space/index.js +2 -0
  748. package/dist/node_modules/micromark-factory-space/index.js.map +1 -0
  749. package/dist/node_modules/micromark-factory-title/index.js +2 -0
  750. package/dist/node_modules/micromark-factory-title/index.js.map +1 -0
  751. package/dist/node_modules/micromark-factory-whitespace/index.js +2 -0
  752. package/dist/node_modules/micromark-factory-whitespace/index.js.map +1 -0
  753. package/dist/node_modules/micromark-util-character/index.js +2 -0
  754. package/dist/node_modules/micromark-util-character/index.js.map +1 -0
  755. package/dist/node_modules/micromark-util-chunked/index.js +2 -0
  756. package/dist/node_modules/micromark-util-chunked/index.js.map +1 -0
  757. package/dist/node_modules/micromark-util-classify-character/index.js +2 -0
  758. package/dist/node_modules/micromark-util-classify-character/index.js.map +1 -0
  759. package/dist/node_modules/micromark-util-combine-extensions/index.js +2 -0
  760. package/dist/node_modules/micromark-util-combine-extensions/index.js.map +1 -0
  761. package/dist/node_modules/micromark-util-decode-numeric-character-reference/index.js +2 -0
  762. package/dist/node_modules/micromark-util-decode-numeric-character-reference/index.js.map +1 -0
  763. package/dist/node_modules/micromark-util-decode-string/index.js +2 -0
  764. package/dist/node_modules/micromark-util-decode-string/index.js.map +1 -0
  765. package/dist/node_modules/micromark-util-html-tag-name/index.js +2 -0
  766. package/dist/node_modules/micromark-util-html-tag-name/index.js.map +1 -0
  767. package/dist/node_modules/micromark-util-normalize-identifier/index.js +2 -0
  768. package/dist/node_modules/micromark-util-normalize-identifier/index.js.map +1 -0
  769. package/dist/node_modules/micromark-util-resolve-all/index.js +2 -0
  770. package/dist/node_modules/micromark-util-resolve-all/index.js.map +1 -0
  771. package/dist/node_modules/micromark-util-sanitize-uri/index.js +2 -0
  772. package/dist/node_modules/micromark-util-sanitize-uri/index.js.map +1 -0
  773. package/dist/node_modules/micromark-util-subtokenize/index.js +2 -0
  774. package/dist/node_modules/micromark-util-subtokenize/index.js.map +1 -0
  775. package/dist/node_modules/micromark-util-subtokenize/lib/splice-buffer.js +2 -0
  776. package/dist/node_modules/micromark-util-subtokenize/lib/splice-buffer.js.map +1 -0
  777. package/dist/node_modules/property-information/index.js +2 -0
  778. package/dist/node_modules/property-information/index.js.map +1 -0
  779. package/dist/node_modules/property-information/lib/aria.js +2 -0
  780. package/dist/node_modules/property-information/lib/aria.js.map +1 -0
  781. package/dist/node_modules/property-information/lib/find.js +2 -0
  782. package/dist/node_modules/property-information/lib/find.js.map +1 -0
  783. package/dist/node_modules/property-information/lib/hast-to-react.js +2 -0
  784. package/dist/node_modules/property-information/lib/hast-to-react.js.map +1 -0
  785. package/dist/node_modules/property-information/lib/html.js +2 -0
  786. package/dist/node_modules/property-information/lib/html.js.map +1 -0
  787. package/dist/node_modules/property-information/lib/normalize.js +2 -0
  788. package/dist/node_modules/property-information/lib/normalize.js.map +1 -0
  789. package/dist/node_modules/property-information/lib/svg.js +2 -0
  790. package/dist/node_modules/property-information/lib/svg.js.map +1 -0
  791. package/dist/node_modules/property-information/lib/util/case-insensitive-transform.js +2 -0
  792. package/dist/node_modules/property-information/lib/util/case-insensitive-transform.js.map +1 -0
  793. package/dist/node_modules/property-information/lib/util/case-sensitive-transform.js +2 -0
  794. package/dist/node_modules/property-information/lib/util/case-sensitive-transform.js.map +1 -0
  795. package/dist/node_modules/property-information/lib/util/create.js +2 -0
  796. package/dist/node_modules/property-information/lib/util/create.js.map +1 -0
  797. package/dist/node_modules/property-information/lib/util/defined-info.js +2 -0
  798. package/dist/node_modules/property-information/lib/util/defined-info.js.map +1 -0
  799. package/dist/node_modules/property-information/lib/util/info.js +2 -0
  800. package/dist/node_modules/property-information/lib/util/info.js.map +1 -0
  801. package/dist/node_modules/property-information/lib/util/merge.js +2 -0
  802. package/dist/node_modules/property-information/lib/util/merge.js.map +1 -0
  803. package/dist/node_modules/property-information/lib/util/schema.js +2 -0
  804. package/dist/node_modules/property-information/lib/util/schema.js.map +1 -0
  805. package/dist/node_modules/property-information/lib/util/types.js +2 -0
  806. package/dist/node_modules/property-information/lib/util/types.js.map +1 -0
  807. package/dist/node_modules/property-information/lib/xlink.js +2 -0
  808. package/dist/node_modules/property-information/lib/xlink.js.map +1 -0
  809. package/dist/node_modules/property-information/lib/xml.js +2 -0
  810. package/dist/node_modules/property-information/lib/xml.js.map +1 -0
  811. package/dist/node_modules/property-information/lib/xmlns.js +2 -0
  812. package/dist/node_modules/property-information/lib/xmlns.js.map +1 -0
  813. package/dist/node_modules/react-markdown/lib/index.js +2 -0
  814. package/dist/node_modules/react-markdown/lib/index.js.map +1 -0
  815. package/dist/node_modules/remark-parse/lib/index.js +2 -0
  816. package/dist/node_modules/remark-parse/lib/index.js.map +1 -0
  817. package/dist/node_modules/remark-rehype/lib/index.js +2 -0
  818. package/dist/node_modules/remark-rehype/lib/index.js.map +1 -0
  819. package/dist/node_modules/space-separated-tokens/index.js +2 -0
  820. package/dist/node_modules/space-separated-tokens/index.js.map +1 -0
  821. package/dist/node_modules/style-to-js/cjs/index.js +2 -0
  822. package/dist/node_modules/style-to-js/cjs/index.js.map +1 -0
  823. package/dist/node_modules/style-to-js/cjs/utilities.js +2 -0
  824. package/dist/node_modules/style-to-js/cjs/utilities.js.map +1 -0
  825. package/dist/node_modules/style-to-object/cjs/index.js +2 -0
  826. package/dist/node_modules/style-to-object/cjs/index.js.map +1 -0
  827. package/dist/node_modules/trim-lines/index.js +2 -0
  828. package/dist/node_modules/trim-lines/index.js.map +1 -0
  829. package/dist/node_modules/trough/lib/index.js +2 -0
  830. package/dist/node_modules/trough/lib/index.js.map +1 -0
  831. package/dist/node_modules/unified/lib/callable-instance.js +2 -0
  832. package/dist/node_modules/unified/lib/callable-instance.js.map +1 -0
  833. package/dist/node_modules/unified/lib/index.js +2 -0
  834. package/dist/node_modules/unified/lib/index.js.map +1 -0
  835. package/dist/node_modules/unified/node_modules/is-plain-obj/index.js +2 -0
  836. package/dist/node_modules/unified/node_modules/is-plain-obj/index.js.map +1 -0
  837. package/dist/node_modules/unist-util-is/lib/index.js +2 -0
  838. package/dist/node_modules/unist-util-is/lib/index.js.map +1 -0
  839. package/dist/node_modules/unist-util-position/lib/index.js +2 -0
  840. package/dist/node_modules/unist-util-position/lib/index.js.map +1 -0
  841. package/dist/node_modules/unist-util-stringify-position/lib/index.js +2 -0
  842. package/dist/node_modules/unist-util-stringify-position/lib/index.js.map +1 -0
  843. package/dist/node_modules/unist-util-visit/lib/index.js +2 -0
  844. package/dist/node_modules/unist-util-visit/lib/index.js.map +1 -0
  845. package/dist/node_modules/unist-util-visit-parents/lib/color.js +2 -0
  846. package/dist/node_modules/unist-util-visit-parents/lib/color.js.map +1 -0
  847. package/dist/node_modules/unist-util-visit-parents/lib/index.js +2 -0
  848. package/dist/node_modules/unist-util-visit-parents/lib/index.js.map +1 -0
  849. package/dist/node_modules/vfile/lib/index.js +2 -0
  850. package/dist/node_modules/vfile/lib/index.js.map +1 -0
  851. package/dist/node_modules/vfile/lib/minpath.browser.js +2 -0
  852. package/dist/node_modules/vfile/lib/minpath.browser.js.map +1 -0
  853. package/dist/node_modules/vfile/lib/minproc.browser.js +2 -0
  854. package/dist/node_modules/vfile/lib/minproc.browser.js.map +1 -0
  855. package/dist/node_modules/vfile/lib/minurl.browser.js +2 -0
  856. package/dist/node_modules/vfile/lib/minurl.browser.js.map +1 -0
  857. package/dist/node_modules/vfile/lib/minurl.shared.js +2 -0
  858. package/dist/node_modules/vfile/lib/minurl.shared.js.map +1 -0
  859. package/dist/node_modules/vfile-message/lib/index.js +2 -0
  860. package/dist/node_modules/vfile-message/lib/index.js.map +1 -0
  861. package/dist/services/restoreAuditVersion.js +2 -0
  862. package/dist/services/restoreAuditVersion.js.map +1 -0
  863. package/dist/services/useAuditLogDistinctValues.js +2 -0
  864. package/dist/services/useAuditLogDistinctValues.js.map +1 -0
  865. package/dist/services/useAuditLogsData.js +2 -0
  866. package/dist/services/useAuditLogsData.js.map +1 -0
  867. package/dist/styles.css +1 -0
  868. package/dist/types/App.d.ts +2 -0
  869. package/dist/types/App.d.ts.map +1 -0
  870. package/dist/types/AuditLog.d.ts +40 -0
  871. package/dist/types/AuditLog.d.ts.map +1 -0
  872. package/dist/types/components/ActionTakenBody.d.ts +11 -0
  873. package/dist/types/components/ActionTakenBody.d.ts.map +1 -0
  874. package/dist/types/components/AuditLogPanel/AuditLogPanel.d.ts +6 -0
  875. package/dist/types/components/AuditLogPanel/AuditLogPanel.d.ts.map +1 -0
  876. package/dist/types/components/AuditLogPanel/AuditLogPanel.types.d.ts +208 -0
  877. package/dist/types/components/AuditLogPanel/AuditLogPanel.types.d.ts.map +1 -0
  878. package/dist/types/components/AuditLogPanel/AuditLogPanelItem.d.ts +18 -0
  879. package/dist/types/components/AuditLogPanel/AuditLogPanelItem.d.ts.map +1 -0
  880. package/dist/types/components/AuditLogPanel/AuditLogSandBox.d.ts +2 -0
  881. package/dist/types/components/AuditLogPanel/AuditLogSandBox.d.ts.map +1 -0
  882. package/dist/types/components/AuditLogPanel/CommonUI.d.ts +15 -0
  883. package/dist/types/components/AuditLogPanel/CommonUI.d.ts.map +1 -0
  884. package/dist/types/components/AuditLogPanel/ComparisonSummaryCard.d.ts +9 -0
  885. package/dist/types/components/AuditLogPanel/ComparisonSummaryCard.d.ts.map +1 -0
  886. package/dist/types/components/AuditLogPanel/Constants/constants.d.ts +6 -0
  887. package/dist/types/components/AuditLogPanel/Constants/constants.d.ts.map +1 -0
  888. package/dist/types/components/AuditLogPanel/FilterSection.d.ts +14 -0
  889. package/dist/types/components/AuditLogPanel/FilterSection.d.ts.map +1 -0
  890. package/dist/types/components/AuditLogPanel/Services/AuditLogPanelAdapter.d.ts +4 -0
  891. package/dist/types/components/AuditLogPanel/Services/AuditLogPanelAdapter.d.ts.map +1 -0
  892. package/dist/types/components/AuditLogPanel/Services/useAuditLogPanelData.d.ts +9 -0
  893. package/dist/types/components/AuditLogPanel/Services/useAuditLogPanelData.d.ts.map +1 -0
  894. package/dist/types/components/AuditLogPanel/Services/useAuditLogPanelDistinctValues.d.ts +9 -0
  895. package/dist/types/components/AuditLogPanel/Services/useAuditLogPanelDistinctValues.d.ts.map +1 -0
  896. package/dist/types/components/AuditLogPanel/Services/useAuditLogPanelFilters.d.ts +37 -0
  897. package/dist/types/components/AuditLogPanel/Services/useAuditLogPanelFilters.d.ts.map +1 -0
  898. package/dist/types/components/AuditLogPanel/Services/useAuditLogPanelScroll.d.ts +3 -0
  899. package/dist/types/components/AuditLogPanel/Services/useAuditLogPanelScroll.d.ts.map +1 -0
  900. package/dist/types/components/CustomMultiSelect.d.ts +16 -0
  901. package/dist/types/components/CustomMultiSelect.d.ts.map +1 -0
  902. package/dist/types/components/DateRangeSelector.d.ts +20 -0
  903. package/dist/types/components/DateRangeSelector.d.ts.map +1 -0
  904. package/dist/types/components/ImpactRangeSelector.d.ts +13 -0
  905. package/dist/types/components/ImpactRangeSelector.d.ts.map +1 -0
  906. package/dist/types/components/LogFilterDropdown.d.ts +46 -0
  907. package/dist/types/components/LogFilterDropdown.d.ts.map +1 -0
  908. package/dist/types/components/LogFilters.d.ts +32 -0
  909. package/dist/types/components/LogFilters.d.ts.map +1 -0
  910. package/dist/types/components/LogFiltersSidebar.d.ts +46 -0
  911. package/dist/types/components/LogFiltersSidebar.d.ts.map +1 -0
  912. package/dist/types/components/LogTable.d.ts +72 -0
  913. package/dist/types/components/LogTable.d.ts.map +1 -0
  914. package/dist/types/components/auditLog.api.d.ts +18 -0
  915. package/dist/types/components/auditLog.api.d.ts.map +1 -0
  916. package/dist/types/components/useAuditLogController.d.ts +51 -0
  917. package/dist/types/components/useAuditLogController.d.ts.map +1 -0
  918. package/dist/types/index.d.ts +19 -0
  919. package/dist/types/index.d.ts.map +1 -0
  920. package/dist/types/services/restoreAuditVersion.d.ts +7 -0
  921. package/dist/types/services/restoreAuditVersion.d.ts.map +1 -0
  922. package/dist/types/services/useAuditLogDistinctValues.d.ts +34 -0
  923. package/dist/types/services/useAuditLogDistinctValues.d.ts.map +1 -0
  924. package/dist/types/services/useAuditLogsData.d.ts +28 -0
  925. package/dist/types/services/useAuditLogsData.d.ts.map +1 -0
  926. package/package.json +121 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../../../node_modules/hast-util-to-jsx-runtime/lib/index.js"],"sourcesContent":["/**\n * @import {Identifier, Literal, MemberExpression} from 'estree'\n * @import {Jsx, JsxDev, Options, Props} from 'hast-util-to-jsx-runtime'\n * @import {Element, Nodes, Parents, Root, Text} from 'hast'\n * @import {MdxFlowExpressionHast, MdxTextExpressionHast} from 'mdast-util-mdx-expression'\n * @import {MdxJsxFlowElementHast, MdxJsxTextElementHast} from 'mdast-util-mdx-jsx'\n * @import {MdxjsEsmHast} from 'mdast-util-mdxjs-esm'\n * @import {Position} from 'unist'\n * @import {Child, Create, Field, JsxElement, State, Style} from './types.js'\n */\n\nimport {stringify as commas} from 'comma-separated-tokens'\nimport {ok as assert} from 'devlop'\nimport {name as isIdentifierName} from 'estree-util-is-identifier-name'\nimport {whitespace} from 'hast-util-whitespace'\nimport {find, hastToReact, html, svg} from 'property-information'\nimport {stringify as spaces} from 'space-separated-tokens'\nimport styleToJs from 'style-to-js'\nimport {pointStart} from 'unist-util-position'\nimport {VFileMessage} from 'vfile-message'\n\n// To do: next major: `Object.hasOwn`.\nconst own = {}.hasOwnProperty\n\n/** @type {Map<string, number>} */\nconst emptyMap = new Map()\n\nconst cap = /[A-Z]/g\n\n// `react-dom` triggers a warning for *any* white space in tables.\n// To follow GFM, `mdast-util-to-hast` injects line endings between elements.\n// Other tools might do so too, but they don’t do here, so we remove all of\n// that.\n\n// See: <https://github.com/facebook/react/pull/7081>.\n// See: <https://github.com/facebook/react/pull/7515>.\n// See: <https://github.com/remarkjs/remark-react/issues/64>.\n// See: <https://github.com/rehypejs/rehype-react/pull/29>.\n// See: <https://github.com/rehypejs/rehype-react/pull/32>.\n// See: <https://github.com/rehypejs/rehype-react/pull/45>.\nconst tableElements = new Set(['table', 'tbody', 'thead', 'tfoot', 'tr'])\n\nconst tableCellElement = new Set(['td', 'th'])\n\nconst docs = 'https://github.com/syntax-tree/hast-util-to-jsx-runtime'\n\n/**\n * Transform a hast tree to preact, react, solid, svelte, vue, etc.,\n * with an automatic JSX runtime.\n *\n * @param {Nodes} tree\n * Tree to transform.\n * @param {Options} options\n * Configuration (required).\n * @returns {JsxElement}\n * JSX element.\n */\n\nexport function toJsxRuntime(tree, options) {\n if (!options || options.Fragment === undefined) {\n throw new TypeError('Expected `Fragment` in options')\n }\n\n const filePath = options.filePath || undefined\n /** @type {Create} */\n let create\n\n if (options.development) {\n if (typeof options.jsxDEV !== 'function') {\n throw new TypeError(\n 'Expected `jsxDEV` in options when `development: true`'\n )\n }\n\n create = developmentCreate(filePath, options.jsxDEV)\n } else {\n if (typeof options.jsx !== 'function') {\n throw new TypeError('Expected `jsx` in production options')\n }\n\n if (typeof options.jsxs !== 'function') {\n throw new TypeError('Expected `jsxs` in production options')\n }\n\n create = productionCreate(filePath, options.jsx, options.jsxs)\n }\n\n /** @type {State} */\n const state = {\n Fragment: options.Fragment,\n ancestors: [],\n components: options.components || {},\n create,\n elementAttributeNameCase: options.elementAttributeNameCase || 'react',\n evaluater: options.createEvaluater ? options.createEvaluater() : undefined,\n filePath,\n ignoreInvalidStyle: options.ignoreInvalidStyle || false,\n passKeys: options.passKeys !== false,\n passNode: options.passNode || false,\n schema: options.space === 'svg' ? svg : html,\n stylePropertyNameCase: options.stylePropertyNameCase || 'dom',\n tableCellAlignToStyle: options.tableCellAlignToStyle !== false\n }\n\n const result = one(state, tree, undefined)\n\n // JSX element.\n if (result && typeof result !== 'string') {\n return result\n }\n\n // Text node or something that turned into nothing.\n return state.create(\n tree,\n state.Fragment,\n {children: result || undefined},\n undefined\n )\n}\n\n/**\n * Transform a node.\n *\n * @param {State} state\n * Info passed around.\n * @param {Nodes} node\n * Current node.\n * @param {string | undefined} key\n * Key.\n * @returns {Child | undefined}\n * Child, optional.\n */\nfunction one(state, node, key) {\n if (node.type === 'element') {\n return element(state, node, key)\n }\n\n if (node.type === 'mdxFlowExpression' || node.type === 'mdxTextExpression') {\n return mdxExpression(state, node)\n }\n\n if (node.type === 'mdxJsxFlowElement' || node.type === 'mdxJsxTextElement') {\n return mdxJsxElement(state, node, key)\n }\n\n if (node.type === 'mdxjsEsm') {\n return mdxEsm(state, node)\n }\n\n if (node.type === 'root') {\n return root(state, node, key)\n }\n\n if (node.type === 'text') {\n return text(state, node)\n }\n}\n\n/**\n * Handle element.\n *\n * @param {State} state\n * Info passed around.\n * @param {Element} node\n * Current node.\n * @param {string | undefined} key\n * Key.\n * @returns {Child | undefined}\n * Child, optional.\n */\nfunction element(state, node, key) {\n const parentSchema = state.schema\n let schema = parentSchema\n\n if (node.tagName.toLowerCase() === 'svg' && parentSchema.space === 'html') {\n schema = svg\n state.schema = schema\n }\n\n state.ancestors.push(node)\n\n const type = findComponentFromName(state, node.tagName, false)\n const props = createElementProps(state, node)\n let children = createChildren(state, node)\n\n if (tableElements.has(node.tagName)) {\n children = children.filter(function (child) {\n return typeof child === 'string' ? !whitespace(child) : true\n })\n }\n\n addNode(state, props, type, node)\n addChildren(props, children)\n\n // Restore.\n state.ancestors.pop()\n state.schema = parentSchema\n\n return state.create(node, type, props, key)\n}\n\n/**\n * Handle MDX expression.\n *\n * @param {State} state\n * Info passed around.\n * @param {MdxFlowExpressionHast | MdxTextExpressionHast} node\n * Current node.\n * @returns {Child | undefined}\n * Child, optional.\n */\nfunction mdxExpression(state, node) {\n if (node.data && node.data.estree && state.evaluater) {\n const program = node.data.estree\n const expression = program.body[0]\n assert(expression.type === 'ExpressionStatement')\n\n // Assume result is a child.\n return /** @type {Child | undefined} */ (\n state.evaluater.evaluateExpression(expression.expression)\n )\n }\n\n crashEstree(state, node.position)\n}\n\n/**\n * Handle MDX ESM.\n *\n * @param {State} state\n * Info passed around.\n * @param {MdxjsEsmHast} node\n * Current node.\n * @returns {Child | undefined}\n * Child, optional.\n */\nfunction mdxEsm(state, node) {\n if (node.data && node.data.estree && state.evaluater) {\n // Assume result is a child.\n return /** @type {Child | undefined} */ (\n state.evaluater.evaluateProgram(node.data.estree)\n )\n }\n\n crashEstree(state, node.position)\n}\n\n/**\n * Handle MDX JSX.\n *\n * @param {State} state\n * Info passed around.\n * @param {MdxJsxFlowElementHast | MdxJsxTextElementHast} node\n * Current node.\n * @param {string | undefined} key\n * Key.\n * @returns {Child | undefined}\n * Child, optional.\n */\nfunction mdxJsxElement(state, node, key) {\n const parentSchema = state.schema\n let schema = parentSchema\n\n if (node.name === 'svg' && parentSchema.space === 'html') {\n schema = svg\n state.schema = schema\n }\n\n state.ancestors.push(node)\n\n const type =\n node.name === null\n ? state.Fragment\n : findComponentFromName(state, node.name, true)\n const props = createJsxElementProps(state, node)\n const children = createChildren(state, node)\n\n addNode(state, props, type, node)\n addChildren(props, children)\n\n // Restore.\n state.ancestors.pop()\n state.schema = parentSchema\n\n return state.create(node, type, props, key)\n}\n\n/**\n * Handle root.\n *\n * @param {State} state\n * Info passed around.\n * @param {Root} node\n * Current node.\n * @param {string | undefined} key\n * Key.\n * @returns {Child | undefined}\n * Child, optional.\n */\nfunction root(state, node, key) {\n /** @type {Props} */\n const props = {}\n\n addChildren(props, createChildren(state, node))\n\n return state.create(node, state.Fragment, props, key)\n}\n\n/**\n * Handle text.\n *\n * @param {State} _\n * Info passed around.\n * @param {Text} node\n * Current node.\n * @returns {Child | undefined}\n * Child, optional.\n */\nfunction text(_, node) {\n return node.value\n}\n\n/**\n * Add `node` to props.\n *\n * @param {State} state\n * Info passed around.\n * @param {Props} props\n * Props.\n * @param {unknown} type\n * Type.\n * @param {Element | MdxJsxFlowElementHast | MdxJsxTextElementHast} node\n * Node.\n * @returns {undefined}\n * Nothing.\n */\nfunction addNode(state, props, type, node) {\n // If this is swapped out for a component:\n if (typeof type !== 'string' && type !== state.Fragment && state.passNode) {\n props.node = node\n }\n}\n\n/**\n * Add children to props.\n *\n * @param {Props} props\n * Props.\n * @param {Array<Child>} children\n * Children.\n * @returns {undefined}\n * Nothing.\n */\nfunction addChildren(props, children) {\n if (children.length > 0) {\n const value = children.length > 1 ? children : children[0]\n\n if (value) {\n props.children = value\n }\n }\n}\n\n/**\n * @param {string | undefined} _\n * Path to file.\n * @param {Jsx} jsx\n * Dynamic.\n * @param {Jsx} jsxs\n * Static.\n * @returns {Create}\n * Create a production element.\n */\nfunction productionCreate(_, jsx, jsxs) {\n return create\n /** @type {Create} */\n function create(_, type, props, key) {\n // Only an array when there are 2 or more children.\n const isStaticChildren = Array.isArray(props.children)\n const fn = isStaticChildren ? jsxs : jsx\n return key ? fn(type, props, key) : fn(type, props)\n }\n}\n\n/**\n * @param {string | undefined} filePath\n * Path to file.\n * @param {JsxDev} jsxDEV\n * Development.\n * @returns {Create}\n * Create a development element.\n */\nfunction developmentCreate(filePath, jsxDEV) {\n return create\n /** @type {Create} */\n function create(node, type, props, key) {\n // Only an array when there are 2 or more children.\n const isStaticChildren = Array.isArray(props.children)\n const point = pointStart(node)\n return jsxDEV(\n type,\n props,\n key,\n isStaticChildren,\n {\n columnNumber: point ? point.column - 1 : undefined,\n fileName: filePath,\n lineNumber: point ? point.line : undefined\n },\n undefined\n )\n }\n}\n\n/**\n * Create props from an element.\n *\n * @param {State} state\n * Info passed around.\n * @param {Element} node\n * Current element.\n * @returns {Props}\n * Props.\n */\nfunction createElementProps(state, node) {\n /** @type {Props} */\n const props = {}\n /** @type {string | undefined} */\n let alignValue\n /** @type {string} */\n let prop\n\n for (prop in node.properties) {\n if (prop !== 'children' && own.call(node.properties, prop)) {\n const result = createProperty(state, prop, node.properties[prop])\n\n if (result) {\n const [key, value] = result\n\n if (\n state.tableCellAlignToStyle &&\n key === 'align' &&\n typeof value === 'string' &&\n tableCellElement.has(node.tagName)\n ) {\n alignValue = value\n } else {\n props[key] = value\n }\n }\n }\n }\n\n if (alignValue) {\n // Assume style is an object.\n const style = /** @type {Style} */ (props.style || (props.style = {}))\n style[state.stylePropertyNameCase === 'css' ? 'text-align' : 'textAlign'] =\n alignValue\n }\n\n return props\n}\n\n/**\n * Create props from a JSX element.\n *\n * @param {State} state\n * Info passed around.\n * @param {MdxJsxFlowElementHast | MdxJsxTextElementHast} node\n * Current JSX element.\n * @returns {Props}\n * Props.\n */\nfunction createJsxElementProps(state, node) {\n /** @type {Props} */\n const props = {}\n\n for (const attribute of node.attributes) {\n if (attribute.type === 'mdxJsxExpressionAttribute') {\n if (attribute.data && attribute.data.estree && state.evaluater) {\n const program = attribute.data.estree\n const expression = program.body[0]\n assert(expression.type === 'ExpressionStatement')\n const objectExpression = expression.expression\n assert(objectExpression.type === 'ObjectExpression')\n const property = objectExpression.properties[0]\n assert(property.type === 'SpreadElement')\n\n Object.assign(\n props,\n state.evaluater.evaluateExpression(property.argument)\n )\n } else {\n crashEstree(state, node.position)\n }\n } else {\n // For JSX, the author is responsible of passing in the correct values.\n const name = attribute.name\n /** @type {unknown} */\n let value\n\n if (attribute.value && typeof attribute.value === 'object') {\n if (\n attribute.value.data &&\n attribute.value.data.estree &&\n state.evaluater\n ) {\n const program = attribute.value.data.estree\n const expression = program.body[0]\n assert(expression.type === 'ExpressionStatement')\n value = state.evaluater.evaluateExpression(expression.expression)\n } else {\n crashEstree(state, node.position)\n }\n } else {\n value = attribute.value === null ? true : attribute.value\n }\n\n // Assume a prop.\n props[name] = /** @type {Props[keyof Props]} */ (value)\n }\n }\n\n return props\n}\n\n/**\n * Create children.\n *\n * @param {State} state\n * Info passed around.\n * @param {Parents} node\n * Current element.\n * @returns {Array<Child>}\n * Children.\n */\nfunction createChildren(state, node) {\n /** @type {Array<Child>} */\n const children = []\n let index = -1\n /** @type {Map<string, number>} */\n // Note: test this when Solid doesn’t want to merge my upcoming PR.\n /* c8 ignore next */\n const countsByName = state.passKeys ? new Map() : emptyMap\n\n while (++index < node.children.length) {\n const child = node.children[index]\n /** @type {string | undefined} */\n let key\n\n if (state.passKeys) {\n const name =\n child.type === 'element'\n ? child.tagName\n : child.type === 'mdxJsxFlowElement' ||\n child.type === 'mdxJsxTextElement'\n ? child.name\n : undefined\n\n if (name) {\n const count = countsByName.get(name) || 0\n key = name + '-' + count\n countsByName.set(name, count + 1)\n }\n }\n\n const result = one(state, child, key)\n if (result !== undefined) children.push(result)\n }\n\n return children\n}\n\n/**\n * Handle a property.\n *\n * @param {State} state\n * Info passed around.\n * @param {string} prop\n * Key.\n * @param {Array<number | string> | boolean | number | string | null | undefined} value\n * hast property value.\n * @returns {Field | undefined}\n * Field for runtime, optional.\n */\nfunction createProperty(state, prop, value) {\n const info = find(state.schema, prop)\n\n // Ignore nullish and `NaN` values.\n if (\n value === null ||\n value === undefined ||\n (typeof value === 'number' && Number.isNaN(value))\n ) {\n return\n }\n\n if (Array.isArray(value)) {\n // Accept `array`.\n // Most props are space-separated.\n value = info.commaSeparated ? commas(value) : spaces(value)\n }\n\n // React only accepts `style` as object.\n if (info.property === 'style') {\n let styleObject =\n typeof value === 'object' ? value : parseStyle(state, String(value))\n\n if (state.stylePropertyNameCase === 'css') {\n styleObject = transformStylesToCssCasing(styleObject)\n }\n\n return ['style', styleObject]\n }\n\n return [\n state.elementAttributeNameCase === 'react' && info.space\n ? hastToReact[info.property] || info.property\n : info.attribute,\n value\n ]\n}\n\n/**\n * Parse a CSS declaration to an object.\n *\n * @param {State} state\n * Info passed around.\n * @param {string} value\n * CSS declarations.\n * @returns {Style}\n * Properties.\n * @throws\n * Throws `VFileMessage` when CSS cannot be parsed.\n */\nfunction parseStyle(state, value) {\n try {\n return styleToJs(value, {reactCompat: true})\n } catch (error) {\n if (state.ignoreInvalidStyle) {\n return {}\n }\n\n const cause = /** @type {Error} */ (error)\n const message = new VFileMessage('Cannot parse `style` attribute', {\n ancestors: state.ancestors,\n cause,\n ruleId: 'style',\n source: 'hast-util-to-jsx-runtime'\n })\n message.file = state.filePath || undefined\n message.url = docs + '#cannot-parse-style-attribute'\n\n throw message\n }\n}\n\n/**\n * Create a JSX name from a string.\n *\n * @param {State} state\n * To do.\n * @param {string} name\n * Name.\n * @param {boolean} allowExpression\n * Allow member expressions and identifiers.\n * @returns {unknown}\n * To do.\n */\nfunction findComponentFromName(state, name, allowExpression) {\n /** @type {Identifier | Literal | MemberExpression} */\n let result\n\n if (!allowExpression) {\n result = {type: 'Literal', value: name}\n } else if (name.includes('.')) {\n const identifiers = name.split('.')\n let index = -1\n /** @type {Identifier | Literal | MemberExpression | undefined} */\n let node\n\n while (++index < identifiers.length) {\n /** @type {Identifier | Literal} */\n const prop = isIdentifierName(identifiers[index])\n ? {type: 'Identifier', name: identifiers[index]}\n : {type: 'Literal', value: identifiers[index]}\n node = node\n ? {\n type: 'MemberExpression',\n object: node,\n property: prop,\n computed: Boolean(index && prop.type === 'Literal'),\n optional: false\n }\n : prop\n }\n\n assert(node, 'always a result')\n result = node\n } else {\n result =\n isIdentifierName(name) && !/^[a-z]/.test(name)\n ? {type: 'Identifier', name}\n : {type: 'Literal', value: name}\n }\n\n // Only literals can be passed in `components` currently.\n // No identifiers / member expressions.\n if (result.type === 'Literal') {\n const name = /** @type {string | number} */ (result.value)\n return own.call(state.components, name) ? state.components[name] : name\n }\n\n // Assume component.\n if (state.evaluater) {\n return state.evaluater.evaluateExpression(result)\n }\n\n crashEstree(state)\n}\n\n/**\n * @param {State} state\n * @param {Position | undefined} [place]\n * @returns {never}\n */\nfunction crashEstree(state, place) {\n const message = new VFileMessage(\n 'Cannot handle MDX estrees without `createEvaluater`',\n {\n ancestors: state.ancestors,\n place,\n ruleId: 'mdx-estree',\n source: 'hast-util-to-jsx-runtime'\n }\n )\n message.file = state.filePath || undefined\n message.url = docs + '#cannot-handle-mdx-estrees-without-createevaluater'\n\n throw message\n}\n\n/**\n * Transform a DOM casing style object to a CSS casing style object.\n *\n * @param {Style} domCasing\n * @returns {Style}\n */\nfunction transformStylesToCssCasing(domCasing) {\n /** @type {Style} */\n const cssCasing = {}\n /** @type {string} */\n let from\n\n for (from in domCasing) {\n if (own.call(domCasing, from)) {\n cssCasing[transformStyleToCssCasing(from)] = domCasing[from]\n }\n }\n\n return cssCasing\n}\n\n/**\n * Transform a DOM casing style field to a CSS casing style field.\n *\n * @param {string} from\n * @returns {string}\n */\nfunction transformStyleToCssCasing(from) {\n let to = from.replace(cap, toDash)\n // Handle `ms-xxx` -> `-ms-xxx`.\n if (to.slice(0, 3) === 'ms-') to = '-' + to\n return to\n}\n\n/**\n * Make `$0` dash cased.\n *\n * @param {string} $0\n * Capitalized ASCII leter.\n * @returns {string}\n * Dash and lower letter.\n */\nfunction toDash($0) {\n return '-' + $0.toLowerCase()\n}\n"],"names":["own","hasOwnProperty","emptyMap","Map","cap","tableElements","Set","tableCellElement","docs","one","state","node","key","type","parentSchema","schema","tagName","toLowerCase","space","svg","ancestors","push","findComponentFromName","props","alignValue","prop","properties","call","result","createProperty","value","tableCellAlignToStyle","has","style","stylePropertyNameCase","createElementProps","children","createChildren","filter","child","whitespace","addNode","addChildren","pop","create","element","data","estree","evaluater","expression","body","assert","evaluateExpression","crashEstree","position","mdxExpression","name","Fragment","attribute","attributes","objectExpression","property","Object","assign","argument","createJsxElementProps","mdxJsxElement","evaluateProgram","mdxEsm","root","_","text","passNode","length","index","countsByName","passKeys","undefined","count","get","set","info","find","Number","isNaN","Array","isArray","commaSeparated","commas","spaces","stringify","styleObject","styleToJs","reactCompat","error","ignoreInvalidStyle","cause","message","VFileMessage","ruleId","source","file","filePath","url","parseStyle","String","domCasing","cssCasing","from","transformStyleToCssCasing","transformStylesToCssCasing","elementAttributeNameCase","hastToReact","allowExpression","includes","identifiers","split","isIdentifierName","object","computed","Boolean","optional","test","components","place","to","replace","toDash","slice","$0","tree","options","TypeError","development","jsxDEV","isStaticChildren","point","pointStart","columnNumber","column","fileName","lineNumber","line","developmentCreate","jsx","jsxs","fn","productionCreate","createEvaluater","html"],"mappings":"unBAsBA,MAAMA,EAAM,CAAE,EAACC,eAGTC,EAAW,IAAIC,IAEfC,EAAM,SAaNC,EAAgB,IAAIC,IAAI,CAAC,QAAS,QAAS,QAAS,QAAS,OAE7DC,EAAmB,IAAID,IAAI,CAAC,KAAM,OAElCE,EAAO,0DAwFb,SAASC,EAAIC,EAAOC,EAAMC,GACxB,MAAkB,YAAdD,EAAKE,KAqCX,SAAiBH,EAAOC,E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Property(exports,"__esModule",{value:!0});const e=/[ \t\n\f\r]/g;function t(t){return""===t.replace(e,"")}exports.whitespace=function(e){return"object"==typeof e?"text"===e.type&&t(e.value):t(e)};
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../../../node_modules/hast-util-whitespace/lib/index.js"],"sourcesContent":["/**\n * @typedef {import('hast').Nodes} Nodes\n */\n\n// HTML whitespace expression.\n// See <https://infra.spec.whatwg.org/#ascii-whitespace>.\nconst re = /[ \\t\\n\\f\\r]/g\n\n/**\n * Check if the given value is *inter-element whitespace*.\n *\n * @param {Nodes | string} thing\n * Thing to check (`Node` or `string`).\n * @returns {boolean}\n * Whether the `value` is inter-element whitespace (`boolean`): consisting of\n * zero or more of space, tab (`\\t`), line feed (`\\n`), carriage return\n * (`\\r`), or form feed (`\\f`); if a node is passed it must be a `Text` node,\n * whose `value` field is checked.\n */\nexport function whitespace(thing) {\n return typeof thing === 'object'\n ? thing.type === 'text'\n ? empty(thing.value)\n : false\n : empty(thing)\n}\n\n/**\n * @param {string} value\n * @returns {boolean}\n */\nfunction empty(value) {\n return value.replace(re, '') === ''\n}\n"],"names":["re","empty","value","replace","thing","type"],"mappings":"oEAMA,MAAMA,EAAK,eAyBX,SAASC,EAAMC,GACb,MAAiC,KAA1BA,EAAMC,QAAQH,EAAI,GAC3B,oBAdO,SAAoBI,GACzB,MAAwB,iBAAVA,EACK,SAAfA,EAAMC,MACJJ,EAAMG,EAAMF,OAEdD,EAAMG,EACZ"}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.urlAttributes={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]};
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../../../node_modules/html-url-attributes/lib/index.js"],"sourcesContent":["/**\n * HTML URL properties.\n *\n * Each key is a property name and each value is a list of tag names it applies\n * to or `null` if it applies to all elements.\n *\n * @type {Record<string, Array<string> | null>}\n */\nexport const urlAttributes = {\n action: ['form'],\n cite: ['blockquote', 'del', 'ins', 'q'],\n data: ['object'],\n formAction: ['button', 'input'],\n href: ['a', 'area', 'base', 'link'],\n icon: ['menuitem'],\n itemId: null,\n manifest: ['html'],\n ping: ['a', 'area'],\n poster: ['video'],\n src: [\n 'audio',\n 'embed',\n 'iframe',\n 'img',\n 'input',\n 'script',\n 'source',\n 'track',\n 'video'\n ]\n}\n"],"names":["action","cite","data","formAction","href","icon","itemId","manifest","ping","poster","src"],"mappings":"0FAQ6B,CAC3BA,OAAQ,CAAC,QACTC,KAAM,CAAC,aAAc,MAAO,MAAO,KACnCC,KAAM,CAAC,UACPC,WAAY,CAAC,SAAU,SACvBC,KAAM,CAAC,IAAK,OAAQ,OAAQ,QAC5BC,KAAM,CAAC,YACPC,OAAQ,KACRC,SAAU,CAAC,QACXC,KAAM,CAAC,IAAK,QACZC,OAAQ,CAAC,SACTC,IAAK,CACH,QACA,QACA,SACA,MACA,QACA,SACA,SACA,QACA"}
@@ -0,0 +1,2 @@
1
+ "use strict";var r,n;Object.defineProperty(exports,"__esModule",{value:!0}),exports.__require=function(){if(n)return r;n=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,t=/\n/g,i=/^\s*/,o=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,u=/^:\s*/,c=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,a=/^[;\s]*/,s=/^\s+|\s+$/g,f="";function l(r){return r?r.replace(s,f):f}return r=function(r,n){if("string"!=typeof r)throw new TypeError("First argument must be a string");if(!r)return[];n=n||{};var s=1,p=1;function h(r){var n=r.match(t);n&&(s+=n.length);var e=r.lastIndexOf("\n");p=~e?r.length-e:p+r.length}function v(){var r={line:s,column:p};return function(n){return n.position=new m(r),d(),n}}function m(r){this.start=r,this.end={line:s,column:p},this.source=n.source}function g(e){var t=new Error(n.source+":"+s+":"+p+": "+e);if(t.reason=e,t.filename=n.source,t.line=s,t.column=p,t.source=r,!n.silent)throw t}function y(n){var e=n.exec(r);if(e){var t=e[0];return h(t),r=r.slice(t.length),e}}function d(){y(i)}function w(r){var n;for(r=r||[];n=A();)!1!==n&&r.push(n);return r}function A(){var n=v();if("/"==r.charAt(0)&&"*"==r.charAt(1)){for(var e=2;f!=r.charAt(e)&&("*"!=r.charAt(e)||"/"!=r.charAt(e+1));)++e;if(e+=2,f===r.charAt(e-1))return g("End of comment missing");var t=r.slice(2,e-2);return p+=2,h(t),r=r.slice(e),p+=2,n({type:"comment",comment:t})}}function _(){var r=v(),n=y(o);if(n){if(A(),!y(u))return g("property missing ':'");var t=y(c),i=r({type:"declaration",property:l(n[0].replace(e,f)),value:t?l(t[0].replace(e,f)):f});return y(a),i}}return m.prototype.content=r,d(),function(){var r,n=[];for(w(n);r=_();)!1!==r&&(n.push(r),w(n));return n}()}};
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../../../node_modules/inline-style-parser/cjs/index.js"],"sourcesContent":["'use strict';\n\n// http://www.w3.org/TR/CSS21/grammar.html\n// https://github.com/visionmedia/css-parse/pull/49#issuecomment-30088027\nvar COMMENT_REGEX = /\\/\\*[^*]*\\*+([^/*][^*]*\\*+)*\\//g;\n\nvar NEWLINE_REGEX = /\\n/g;\nvar WHITESPACE_REGEX = /^\\s*/;\n\n// declaration\nvar PROPERTY_REGEX = /^(\\*?[-#/*\\\\\\w]+(\\[[0-9a-z_-]+\\])?)\\s*/;\nvar COLON_REGEX = /^:\\s*/;\nvar VALUE_REGEX = /^((?:'(?:\\\\'|.)*?'|\"(?:\\\\\"|.)*?\"|\\([^)]*?\\)|[^};])+)/;\nvar SEMICOLON_REGEX = /^[;\\s]*/;\n\n// https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String/Trim#Polyfill\nvar TRIM_REGEX = /^\\s+|\\s+$/g;\n\n// strings\nvar NEWLINE = '\\n';\nvar FORWARD_SLASH = '/';\nvar ASTERISK = '*';\nvar EMPTY_STRING = '';\n\n// types\nvar TYPE_COMMENT = 'comment';\nvar TYPE_DECLARATION = 'declaration';\n\n/**\n * @param {String} style\n * @param {Object} [options]\n * @return {Object[]}\n * @throws {TypeError}\n * @throws {Error}\n */\nfunction index (style, options) {\n if (typeof style !== 'string') {\n throw new TypeError('First argument must be a string');\n }\n\n if (!style) return [];\n\n options = options || {};\n\n /**\n * Positional.\n */\n var lineno = 1;\n var column = 1;\n\n /**\n * Update lineno and column based on `str`.\n *\n * @param {String} str\n */\n function updatePosition(str) {\n var lines = str.match(NEWLINE_REGEX);\n if (lines) lineno += lines.length;\n var i = str.lastIndexOf(NEWLINE);\n column = ~i ? str.length - i : column + str.length;\n }\n\n /**\n * Mark position and patch `node.position`.\n *\n * @return {Function}\n */\n function position() {\n var start = { line: lineno, column: column };\n return function (node) {\n node.position = new Position(start);\n whitespace();\n return node;\n };\n }\n\n /**\n * Store position information for a node.\n *\n * @constructor\n * @property {Object} start\n * @property {Object} end\n * @property {undefined|String} source\n */\n function Position(start) {\n this.start = start;\n this.end = { line: lineno, column: column };\n this.source = options.source;\n }\n\n /**\n * Non-enumerable source string.\n */\n Position.prototype.content = style;\n\n /**\n * Error `msg`.\n *\n * @param {String} msg\n * @throws {Error}\n */\n function error(msg) {\n var err = new Error(\n options.source + ':' + lineno + ':' + column + ': ' + msg\n );\n err.reason = msg;\n err.filename = options.source;\n err.line = lineno;\n err.column = column;\n err.source = style;\n\n if (options.silent) ; else {\n throw err;\n }\n }\n\n /**\n * Match `re` and return captures.\n *\n * @param {RegExp} re\n * @return {undefined|Array}\n */\n function match(re) {\n var m = re.exec(style);\n if (!m) return;\n var str = m[0];\n updatePosition(str);\n style = style.slice(str.length);\n return m;\n }\n\n /**\n * Parse whitespace.\n */\n function whitespace() {\n match(WHITESPACE_REGEX);\n }\n\n /**\n * Parse comments.\n *\n * @param {Object[]} [rules]\n * @return {Object[]}\n */\n function comments(rules) {\n var c;\n rules = rules || [];\n while ((c = comment())) {\n if (c !== false) {\n rules.push(c);\n }\n }\n return rules;\n }\n\n /**\n * Parse comment.\n *\n * @return {Object}\n * @throws {Error}\n */\n function comment() {\n var pos = position();\n if (FORWARD_SLASH != style.charAt(0) || ASTERISK != style.charAt(1)) return;\n\n var i = 2;\n while (\n EMPTY_STRING != style.charAt(i) &&\n (ASTERISK != style.charAt(i) || FORWARD_SLASH != style.charAt(i + 1))\n ) {\n ++i;\n }\n i += 2;\n\n if (EMPTY_STRING === style.charAt(i - 1)) {\n return error('End of comment missing');\n }\n\n var str = style.slice(2, i - 2);\n column += 2;\n updatePosition(str);\n style = style.slice(i);\n column += 2;\n\n return pos({\n type: TYPE_COMMENT,\n comment: str\n });\n }\n\n /**\n * Parse declaration.\n *\n * @return {Object}\n * @throws {Error}\n */\n function declaration() {\n var pos = position();\n\n // prop\n var prop = match(PROPERTY_REGEX);\n if (!prop) return;\n comment();\n\n // :\n if (!match(COLON_REGEX)) return error(\"property missing ':'\");\n\n // val\n var val = match(VALUE_REGEX);\n\n var ret = pos({\n type: TYPE_DECLARATION,\n property: trim(prop[0].replace(COMMENT_REGEX, EMPTY_STRING)),\n value: val\n ? trim(val[0].replace(COMMENT_REGEX, EMPTY_STRING))\n : EMPTY_STRING\n });\n\n // ;\n match(SEMICOLON_REGEX);\n\n return ret;\n }\n\n /**\n * Parse declarations.\n *\n * @return {Object[]}\n */\n function declarations() {\n var decls = [];\n\n comments(decls);\n\n // declarations\n var decl;\n while ((decl = declaration())) {\n if (decl !== false) {\n decls.push(decl);\n comments(decls);\n }\n }\n\n return decls;\n }\n\n whitespace();\n return declarations();\n}\n\n/**\n * Trim `str`.\n *\n * @param {String} str\n * @return {String}\n */\nfunction trim(str) {\n return str ? str.replace(TRIM_REGEX, EMPTY_STRING) : EMPTY_STRING;\n}\n\nmodule.exports = index;\n//# sourceMappingURL=index.js.map\n"],"names":["COMMENT_REGEX","NEWLINE_REGEX","WHITESPACE_REGEX","PROPERTY_REGEX","COLON_REGEX","VALUE_REGEX","SEMICOLON_REGEX","TRIM_REGEX","EMPTY_STRING","trim","str","replace","cjs","style","options","TypeError","lineno","column","updatePosition","lines","match","length","i","lastIndexOf","position","start","line","node","Position","whitespace","this","end","source","error","msg","err","Error","reason","filename","silent","re","m","exec","slice","comments","rules","c","comment","push","pos","charAt","type","declaration","prop","val","ret","property","value","prototype","content","decl","decls","declarations"],"mappings":"2HAIA,IAAIA,EAAgB,kCAEhBC,EAAgB,MAChBC,EAAmB,OAGnBC,EAAiB,yCACjBC,EAAc,QACdC,EAAc,uDACdC,EAAkB,UAGlBC,EAAa,aAMbC,EAAe,GA0OnB,SAASC,EAAKC,GACZ,OAAOA,EAAMA,EAAIC,QAAQJ,EAAYC,GAAgBA,CACvD,QAEAI,EAjOA,SAAgBC,EAAOC,GACrB,GAAqB,iBAAVD,EACT,MAAM,IAAIE,UAAU,mCAGtB,IAAKF,EAAO,MAAO,GAEnBC,EAAUA,GAAW,GAKrB,IAAIE,EAAS,EACTC,EAAS,EAOb,SAASC,EAAeR,GACtB,IAAIS,EAAQT,EAAIU,MAAMnB,GAClBkB,IAAOH,GAAUG,EAAME,QAC3B,IAAIC,EAAIZ,EAAIa,YAvCF,MAwCVN,GAAUK,EAAIZ,EAAIW,OAASC,EAAIL,EAASP,EAAIW,MAChD,CAOE,SAASG,IACP,IAAIC,EAAQ,CAAEC,KAAMV,EAAQC,OAAQA,GACpC,OAAO,SAAUU,GAGf,OAFAA,EAAKH,SAAW,IAAII,EAASH,GAC7BI,IACOF,EAEb,CAUE,SAASC,EAASH,GAChBK,KAAKL,MAAQA,EACbK,KAAKC,IAAM,CAAEL,KAAMV,EAAQC,OAAQA,GACnCa,KAAKE,OAASlB,EAAQkB,MAC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,OAAO6B,EAAM,wBAGtC,IAAIqB,EAAMlC,EAAMf,GAEZkD,EAAMN,EAAI,CACZE,KAzLiB,cA0LjBK,SAAU/C,EAAK4C,EAAK,GAAG1C,QAAQX,EAAeQ,IAC9CiD,MAAOH,EACH7C,EAAK6C,EAAI,GAAG3C,QAAQX,EAAeQ,IACnCA,IAMN,OAFAY,EAAMd,GAECiD,CApBI,CAqBf,CAyBE,OA1JA3B,EAAS8B,UAAUC,QAAU9C,EAyJ7BgB,IAjBA,WACE,IAKI+B,EALAC,EAAQ,GAMZ,IAJAjB,EAASiB,GAIDD,EAAOR,MACA,IAATQ,IACFC,EAAMb,KAAKY,GACXhB,EAASiB,IAIb,OAAOA,CACX,CAGSC,EACT"}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../mdast-util-to-string/lib/index.js"),t=require("../../decode-named-character-reference/index.dom.js"),i=require("../../micromark-util-decode-numeric-character-reference/index.js"),n=require("../../micromark-util-normalize-identifier/index.js"),s=require("../../micromark/lib/parse.js"),r=require("../../micromark/lib/postprocess.js"),a=require("../../micromark/lib/preprocess.js"),c=require("../../micromark-util-decode-string/index.js"),o=require("../../unist-util-stringify-position/lib/index.js");const l={}.hasOwnProperty;function d(e){return{line:e.line,column:e.column,offset:e.offset}}function h(e,t){let i=-1;for(;++i<t.length;){const n=t[i];Array.isArray(n)?h(e,n):u(e,n)}}function u(e,t){let i;for(i in t)if(l.call(t,i))switch(i){case"canContainEols":{const n=t[i];n&&e[i].push(...n);break}case"transforms":{const n=t[i];n&&e[i].push(...n);break}case"enter":case"exit":{const n=t[i];n&&Object.assign(e[i],n);break}}}function f(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+o.stringifyPosition({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+o.stringifyPosition({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+o.stringifyPosition({start:t.start,end:t.end})+") is still open")}exports.fromMarkdown=function(u,p,k){return p&&"object"==typeof p&&(k=p,p=void 0),function(s){const r={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:k(he),autolinkProtocol:q,autolinkEmail:q,atxHeading:k(ce),blockQuote:k(ie),characterEscape:q,characterReference:q,codeFenced:k(ne),codeFencedFenceInfo:g,codeFencedFenceMeta:g,codeIndented:k(ne,g),codeText:k(se,g),codeTextData:q,data:q,codeFlowValue:q,definition:k(re),definitionDestinationString:g,definitionLabelString:g,definitionTitleString:g,emphasis:k(ae),hardBreakEscape:k(oe),hardBreakTrailing:k(oe),htmlFlow:k(le,g),htmlFlowData:q,htmlText:k(le,g),htmlTextData:q,image:k(de),label:g,link:k(he),listItem:k(fe),listItemValue:v,listOrdered:k(ue,S),listUnordered:k(ue),paragraph:k(pe),reference:J,referenceString:g,resourceDestinationString:g,resourceTitleString:g,setextHeading:k(ce),strong:k(ke),thematicBreak:k(me)},exit:{atxHeading:y(),atxHeadingSequence:j,autolink:y(),autolinkEmail:te,autolinkProtocol:ee,blockQuote:y(),characterEscapeValue:L,characterReferenceMarkerHexadecimal:X,characterReferenceMarkerNumeric:X,characterReferenceValue:Y,characterReference:Z,codeFenced:y(E),codeFencedFence:w,codeFencedFenceInfo:I,codeFencedFenceMeta:T,codeFlowValue:L,codeIndented:y(F),codeText:y(_),codeTextData:L,data:L,definition:y(),definitionDestinationString:z,definitionLabelString:P,definitionTitleString:R,emphasis:y(),hardBreakEscape:y(D),hardBreakTrailing:y(D),htmlFlow:y(M),htmlFlowData:L,htmlText:y(V),htmlTextData:L,image:y(N),label:A,labelText:U,lineEnding:O,link:y(Q),listItem:y(),listOrdered:y(),listUnordered:y(),paragraph:y(),referenceString:K,resourceDestinationString:W,resourceTitleString:$,resource:G,setextHeading:y(B),setextHeadingLineSequence:H,setextHeadingText:C,strong:y(),thematicBreak:y()}};h(r,(s||{}).mdastExtensions||[]);const a={};return u;function u(e){let t={type:"root",children:[]};const i={stack:[t],tokenStack:[],config:r,enter:m,exit:x,buffer:g,resume:b,data:a},n=[];let s=-1;for(;++s<e.length;)if("listOrdered"===e[s][1].type||"listUnordered"===e[s][1].type)if("enter"===e[s][0])n.push(s);else{s=p(e,n.pop(),s)}for(s=-1;++s<e.length;){const t=r[e[s][0]];l.call(t,e[s][1].type)&&t[e[s][1].type].call(Object.assign({sliceSerialize:e[s][2].sliceSerialize},i),e[s][1])}if(i.tokenStack.length>0){const e=i.tokenStack[i.tokenStack.length-1];(e[1]||f).call(i,void 0,e[0])}for(t.position={start:d(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:d(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},s=-1;++s<r.transforms.length;)t=r.transforms[s](t)||t;return t}function p(e,t,i){let n,s,r,a,c=t-1,o=-1,l=!1;for(;++c<=i;){const t=e[c];switch(t[1].type){case"listUnordered":case"listOrdered":case"blockQuote":"enter"===t[0]?o++:o--,a=void 0;break;case"lineEndingBlank":"enter"===t[0]&&(!n||a||o||r||(r=c),a=void 0);break;case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:a=void 0}if(!o&&"enter"===t[0]&&"listItemPrefix"===t[1].type||-1===o&&"exit"===t[0]&&("listUnordered"===t[1].type||"listOrdered"===t[1].type)){if(n){let a=c;for(s=void 0;a--;){const t=e[a];if("lineEnding"===t[1].type||"lineEndingBlank"===t[1].type){if("exit"===t[0])continue;s&&(e[s][1].type="lineEndingBlank",l=!0),t[1].type="lineEnding",s=a}else if("linePrefix"!==t[1].type&&"blockQuotePrefix"!==t[1].type&&"blockQuotePrefixWhitespace"!==t[1].type&&"blockQuoteMarker"!==t[1].type&&"listItemIndent"!==t[1].type)break}r&&(!s||r<s)&&(n._spread=!0),n.end=Object.assign({},s?e[s][1].start:t[1].end),e.splice(s||c,0,["exit",n,t[2]]),c++,i++}if("listItemPrefix"===t[1].type){const s={type:"listItem",_spread:!1,start:Object.assign({},t[1].start),end:void 0};n=s,e.splice(c,0,["enter",s,t[2]]),c++,i++,r=void 0,a=!0}}}return e[t][1]._spread=l,i}function k(e,t){return i;function i(i){m.call(this,e(i),i),t&&t.call(this,i)}}function g(){this.stack.push({type:"fragment",children:[]})}function m(e,t,i){this.stack[this.stack.length-1].children.push(e),this.stack.push(e),this.tokenStack.push([t,i||void 0]),e.position={start:d(t.start),end:void 0}}function y(e){return t;function t(t){e&&e.call(this,t),x.call(this,t)}}function x(e,t){const i=this.stack.pop(),n=this.tokenStack.pop();if(!n)throw new Error("Cannot close `"+e.type+"` ("+o.stringifyPosition({start:e.start,end:e.end})+"): it’s not open");if(n[0].type!==e.type)if(t)t.call(this,e,n[0]);else{(n[1]||f).call(this,e,n[0])}i.position.end=d(e.end)}function b(){return e.toString(this.stack.pop())}function S(){this.data.expectingFirstListItemValue=!0}function v(e){if(this.data.expectingFirstListItemValue){this.stack[this.stack.length-2].start=Number.parseInt(this.sliceSerialize(e),10),this.data.expectingFirstListItemValue=void 0}}function I(){const e=this.resume();this.stack[this.stack.length-1].lang=e}function T(){const e=this.resume();this.stack[this.stack.length-1].meta=e}function w(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function E(){const e=this.resume();this.stack[this.stack.length-1].value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function F(){const e=this.resume();this.stack[this.stack.length-1].value=e.replace(/(\r?\n|\r)$/g,"")}function P(e){const t=this.resume(),i=this.stack[this.stack.length-1];i.label=t,i.identifier=n.normalizeIdentifier(this.sliceSerialize(e)).toLowerCase()}function R(){const e=this.resume();this.stack[this.stack.length-1].title=e}function z(){const e=this.resume();this.stack[this.stack.length-1].url=e}function j(e){const t=this.stack[this.stack.length-1];if(!t.depth){const i=this.sliceSerialize(e).length;t.depth=i}}function C(){this.data.setextHeadingSlurpLineEnding=!0}function H(e){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(e).codePointAt(0)?1:2}function B(){this.data.setextHeadingSlurpLineEnding=void 0}function q(e){const t=this.stack[this.stack.length-1].children;let i=t[t.length-1];i&&"text"===i.type||(i=ge(),i.position={start:d(e.start),end:void 0},t.push(i)),this.stack.push(i)}function L(e){const t=this.stack.pop();t.value+=this.sliceSerialize(e),t.position.end=d(e.end)}function O(e){const t=this.stack[this.stack.length-1];if(this.data.atHardBreak){return t.children[t.children.length-1].position.end=d(e.end),void(this.data.atHardBreak=void 0)}!this.data.setextHeadingSlurpLineEnding&&r.canContainEols.includes(t.type)&&(q.call(this,e),L.call(this,e))}function D(){this.data.atHardBreak=!0}function M(){const e=this.resume();this.stack[this.stack.length-1].value=e}function V(){const e=this.resume();this.stack[this.stack.length-1].value=e}function _(){const e=this.resume();this.stack[this.stack.length-1].value=e}function Q(){const e=this.stack[this.stack.length-1];if(this.data.inReference){const t=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}function N(){const e=this.stack[this.stack.length-1];if(this.data.inReference){const t=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}function U(e){const t=this.sliceSerialize(e),i=this.stack[this.stack.length-2];i.label=c.decodeString(t),i.identifier=n.normalizeIdentifier(t).toLowerCase()}function A(){const e=this.stack[this.stack.length-1],t=this.resume(),i=this.stack[this.stack.length-1];if(this.data.inReference=!0,"link"===i.type){const t=e.children;i.children=t}else i.alt=t}function W(){const e=this.resume();this.stack[this.stack.length-1].url=e}function $(){const e=this.resume();this.stack[this.stack.length-1].title=e}function G(){this.data.inReference=void 0}function J(){this.data.referenceType="collapsed"}function K(e){const t=this.resume(),i=this.stack[this.stack.length-1];i.label=t,i.identifier=n.normalizeIdentifier(this.sliceSerialize(e)).toLowerCase(),this.data.referenceType="full"}function X(e){this.data.characterReferenceType=e.type}function Y(e){const n=this.sliceSerialize(e),s=this.data.characterReferenceType;let r;if(s)r=i.decodeNumericCharacterReference(n,"characterReferenceMarkerNumeric"===s?10:16),this.data.characterReferenceType=void 0;else{r=t.decodeNamedCharacterReference(n)}this.stack[this.stack.length-1].value+=r}function Z(e){this.stack.pop().position.end=d(e.end)}function ee(e){L.call(this,e);this.stack[this.stack.length-1].url=this.sliceSerialize(e)}function te(e){L.call(this,e);this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(e)}function ie(){return{type:"blockquote",children:[]}}function ne(){return{type:"code",lang:null,meta:null,value:""}}function se(){return{type:"inlineCode",value:""}}function re(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function ae(){return{type:"emphasis",children:[]}}function ce(){return{type:"heading",depth:0,children:[]}}function oe(){return{type:"break"}}function le(){return{type:"html",value:""}}function de(){return{type:"image",title:null,url:"",alt:null}}function he(){return{type:"link",title:null,url:"",children:[]}}function ue(e){return{type:"list",ordered:"listOrdered"===e.type,start:null,spread:e._spread,children:[]}}function fe(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}}function pe(){return{type:"paragraph",children:[]}}function ke(){return{type:"strong",children:[]}}function ge(){return{type:"text",value:""}}function me(){return{type:"thematicBreak"}}}(k)(r.postprocess(s.parse(k).document().write(a.preprocess()(u,p,!0))))};
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../../../node_modules/mdast-util-from-markdown/lib/index.js"],"sourcesContent":["/**\n * @import {\n * Break,\n * Blockquote,\n * Code,\n * Definition,\n * Emphasis,\n * Heading,\n * Html,\n * Image,\n * InlineCode,\n * Link,\n * ListItem,\n * List,\n * Nodes,\n * Paragraph,\n * PhrasingContent,\n * ReferenceType,\n * Root,\n * Strong,\n * Text,\n * ThematicBreak\n * } from 'mdast'\n * @import {\n * Encoding,\n * Event,\n * Token,\n * Value\n * } from 'micromark-util-types'\n * @import {Point} from 'unist'\n * @import {\n * CompileContext,\n * CompileData,\n * Config,\n * Extension,\n * Handle,\n * OnEnterError,\n * Options\n * } from './types.js'\n */\n\nimport { toString } from 'mdast-util-to-string';\nimport { parse, postprocess, preprocess } from 'micromark';\nimport { decodeNumericCharacterReference } from 'micromark-util-decode-numeric-character-reference';\nimport { decodeString } from 'micromark-util-decode-string';\nimport { normalizeIdentifier } from 'micromark-util-normalize-identifier';\nimport { decodeNamedCharacterReference } from 'decode-named-character-reference';\nimport { stringifyPosition } from 'unist-util-stringify-position';\nconst own = {}.hasOwnProperty;\n\n/**\n * Turn markdown into a syntax tree.\n *\n * @overload\n * @param {Value} value\n * @param {Encoding | null | undefined} [encoding]\n * @param {Options | null | undefined} [options]\n * @returns {Root}\n *\n * @overload\n * @param {Value} value\n * @param {Options | null | undefined} [options]\n * @returns {Root}\n *\n * @param {Value} value\n * Markdown to parse.\n * @param {Encoding | Options | null | undefined} [encoding]\n * Character encoding for when `value` is `Buffer`.\n * @param {Options | null | undefined} [options]\n * Configuration.\n * @returns {Root}\n * mdast tree.\n */\nexport function fromMarkdown(value, encoding, options) {\n if (encoding && typeof encoding === 'object') {\n options = encoding;\n encoding = undefined;\n }\n return compiler(options)(postprocess(parse(options).document().write(preprocess()(value, encoding, true))));\n}\n\n/**\n * Note this compiler only understand complete buffering, not streaming.\n *\n * @param {Options | null | undefined} [options]\n */\nfunction compiler(options) {\n /** @type {Config} */\n const config = {\n transforms: [],\n canContainEols: ['emphasis', 'fragment', 'heading', 'paragraph', 'strong'],\n enter: {\n autolink: opener(link),\n autolinkProtocol: onenterdata,\n autolinkEmail: onenterdata,\n atxHeading: opener(heading),\n blockQuote: opener(blockQuote),\n characterEscape: onenterdata,\n characterReference: onenterdata,\n codeFenced: opener(codeFlow),\n codeFencedFenceInfo: buffer,\n codeFencedFenceMeta: buffer,\n codeIndented: opener(codeFlow, buffer),\n codeText: opener(codeText, buffer),\n codeTextData: onenterdata,\n data: onenterdata,\n codeFlowValue: onenterdata,\n definition: opener(definition),\n definitionDestinationString: buffer,\n definitionLabelString: buffer,\n definitionTitleString: buffer,\n emphasis: opener(emphasis),\n hardBreakEscape: opener(hardBreak),\n hardBreakTrailing: opener(hardBreak),\n htmlFlow: opener(html, buffer),\n htmlFlowData: onenterdata,\n htmlText: opener(html, buffer),\n htmlTextData: onenterdata,\n image: opener(image),\n label: buffer,\n link: opener(link),\n listItem: opener(listItem),\n listItemValue: onenterlistitemvalue,\n listOrdered: opener(list, onenterlistordered),\n listUnordered: opener(list),\n paragraph: opener(paragraph),\n reference: onenterreference,\n referenceString: buffer,\n resourceDestinationString: buffer,\n resourceTitleString: buffer,\n setextHeading: opener(heading),\n strong: opener(strong),\n thematicBreak: opener(thematicBreak)\n },\n exit: {\n atxHeading: closer(),\n atxHeadingSequence: onexitatxheadingsequence,\n autolink: closer(),\n autolinkEmail: onexitautolinkemail,\n autolinkProtocol: onexitautolinkprotocol,\n blockQuote: closer(),\n characterEscapeValue: onexitdata,\n characterReferenceMarkerHexadecimal: onexitcharacterreferencemarker,\n characterReferenceMarkerNumeric: onexitcharacterreferencemarker,\n characterReferenceValue: onexitcharacterreferencevalue,\n characterReference: onexitcharacterreference,\n codeFenced: closer(onexitcodefenced),\n codeFencedFence: onexitcodefencedfence,\n codeFencedFenceInfo: onexitcodefencedfenceinfo,\n codeFencedFenceMeta: onexitcodefencedfencemeta,\n codeFlowValue: onexitdata,\n codeIndented: closer(onexitcodeindented),\n codeText: closer(onexitcodetext),\n codeTextData: onexitdata,\n data: onexitdata,\n definition: closer(),\n definitionDestinationString: onexitdefinitiondestinationstring,\n definitionLabelString: onexitdefinitionlabelstring,\n definitionTitleString: onexitdefinitiontitlestring,\n emphasis: closer(),\n hardBreakEscape: closer(onexithardbreak),\n hardBreakTrailing: closer(onexithardbreak),\n htmlFlow: closer(onexithtmlflow),\n htmlFlowData: onexitdata,\n htmlText: closer(onexithtmltext),\n htmlTextData: onexitdata,\n image: closer(onexitimage),\n label: onexitlabel,\n labelText: onexitlabeltext,\n lineEnding: onexitlineending,\n link: closer(onexitlink),\n listItem: closer(),\n listOrdered: closer(),\n listUnordered: closer(),\n paragraph: closer(),\n referenceString: onexitreferencestring,\n resourceDestinationString: onexitresourcedestinationstring,\n resourceTitleString: onexitresourcetitlestring,\n resource: onexitresource,\n setextHeading: closer(onexitsetextheading),\n setextHeadingLineSequence: onexitsetextheadinglinesequence,\n setextHeadingText: onexitsetextheadingtext,\n strong: closer(),\n thematicBreak: closer()\n }\n };\n configure(config, (options || {}).mdastExtensions || []);\n\n /** @type {CompileData} */\n const data = {};\n return compile;\n\n /**\n * Turn micromark events into an mdast tree.\n *\n * @param {Array<Event>} events\n * Events.\n * @returns {Root}\n * mdast tree.\n */\n function compile(events) {\n /** @type {Root} */\n let tree = {\n type: 'root',\n children: []\n };\n /** @type {Omit<CompileContext, 'sliceSerialize'>} */\n const context = {\n stack: [tree],\n tokenStack: [],\n config,\n enter,\n exit,\n buffer,\n resume,\n data\n };\n /** @type {Array<number>} */\n const listStack = [];\n let index = -1;\n while (++index < events.length) {\n // We preprocess lists to add `listItem` tokens, and to infer whether\n // items the list itself are spread out.\n if (events[index][1].type === \"listOrdered\" || events[index][1].type === \"listUnordered\") {\n if (events[index][0] === 'enter') {\n listStack.push(index);\n } else {\n const tail = listStack.pop();\n index = prepareList(events, tail, index);\n }\n }\n }\n index = -1;\n while (++index < events.length) {\n const handler = config[events[index][0]];\n if (own.call(handler, events[index][1].type)) {\n handler[events[index][1].type].call(Object.assign({\n sliceSerialize: events[index][2].sliceSerialize\n }, context), events[index][1]);\n }\n }\n\n // Handle tokens still being open.\n if (context.tokenStack.length > 0) {\n const tail = context.tokenStack[context.tokenStack.length - 1];\n const handler = tail[1] || defaultOnError;\n handler.call(context, undefined, tail[0]);\n }\n\n // Figure out `root` position.\n tree.position = {\n start: point(events.length > 0 ? events[0][1].start : {\n line: 1,\n column: 1,\n offset: 0\n }),\n end: point(events.length > 0 ? events[events.length - 2][1].end : {\n line: 1,\n column: 1,\n offset: 0\n })\n };\n\n // Call transforms.\n index = -1;\n while (++index < config.transforms.length) {\n tree = config.transforms[index](tree) || tree;\n }\n return tree;\n }\n\n /**\n * @param {Array<Event>} events\n * @param {number} start\n * @param {number} length\n * @returns {number}\n */\n function prepareList(events, start, length) {\n let index = start - 1;\n let containerBalance = -1;\n let listSpread = false;\n /** @type {Token | undefined} */\n let listItem;\n /** @type {number | undefined} */\n let lineIndex;\n /** @type {number | undefined} */\n let firstBlankLineIndex;\n /** @type {boolean | undefined} */\n let atMarker;\n while (++index <= length) {\n const event = events[index];\n switch (event[1].type) {\n case \"listUnordered\":\n case \"listOrdered\":\n case \"blockQuote\":\n {\n if (event[0] === 'enter') {\n containerBalance++;\n } else {\n containerBalance--;\n }\n atMarker = undefined;\n break;\n }\n case \"lineEndingBlank\":\n {\n if (event[0] === 'enter') {\n if (listItem && !atMarker && !containerBalance && !firstBlankLineIndex) {\n firstBlankLineIndex = index;\n }\n atMarker = undefined;\n }\n break;\n }\n case \"linePrefix\":\n case \"listItemValue\":\n case \"listItemMarker\":\n case \"listItemPrefix\":\n case \"listItemPrefixWhitespace\":\n {\n // Empty.\n\n break;\n }\n default:\n {\n atMarker = undefined;\n }\n }\n if (!containerBalance && event[0] === 'enter' && event[1].type === \"listItemPrefix\" || containerBalance === -1 && event[0] === 'exit' && (event[1].type === \"listUnordered\" || event[1].type === \"listOrdered\")) {\n if (listItem) {\n let tailIndex = index;\n lineIndex = undefined;\n while (tailIndex--) {\n const tailEvent = events[tailIndex];\n if (tailEvent[1].type === \"lineEnding\" || tailEvent[1].type === \"lineEndingBlank\") {\n if (tailEvent[0] === 'exit') continue;\n if (lineIndex) {\n events[lineIndex][1].type = \"lineEndingBlank\";\n listSpread = true;\n }\n tailEvent[1].type = \"lineEnding\";\n lineIndex = tailIndex;\n } else if (tailEvent[1].type === \"linePrefix\" || tailEvent[1].type === \"blockQuotePrefix\" || tailEvent[1].type === \"blockQuotePrefixWhitespace\" || tailEvent[1].type === \"blockQuoteMarker\" || tailEvent[1].type === \"listItemIndent\") {\n // Empty\n } else {\n break;\n }\n }\n if (firstBlankLineIndex && (!lineIndex || firstBlankLineIndex < lineIndex)) {\n listItem._spread = true;\n }\n\n // Fix position.\n listItem.end = Object.assign({}, lineIndex ? events[lineIndex][1].start : event[1].end);\n events.splice(lineIndex || index, 0, ['exit', listItem, event[2]]);\n index++;\n length++;\n }\n\n // Create a new list item.\n if (event[1].type === \"listItemPrefix\") {\n /** @type {Token} */\n const item = {\n type: 'listItem',\n _spread: false,\n start: Object.assign({}, event[1].start),\n // @ts-expect-error: we’ll add `end` in a second.\n end: undefined\n };\n listItem = item;\n events.splice(index, 0, ['enter', item, event[2]]);\n index++;\n length++;\n firstBlankLineIndex = undefined;\n atMarker = true;\n }\n }\n }\n events[start][1]._spread = listSpread;\n return length;\n }\n\n /**\n * Create an opener handle.\n *\n * @param {(token: Token) => Nodes} create\n * Create a node.\n * @param {Handle | undefined} [and]\n * Optional function to also run.\n * @returns {Handle}\n * Handle.\n */\n function opener(create, and) {\n return open;\n\n /**\n * @this {CompileContext}\n * @param {Token} token\n * @returns {undefined}\n */\n function open(token) {\n enter.call(this, create(token), token);\n if (and) and.call(this, token);\n }\n }\n\n /**\n * @type {CompileContext['buffer']}\n */\n function buffer() {\n this.stack.push({\n type: 'fragment',\n children: []\n });\n }\n\n /**\n * @type {CompileContext['enter']}\n */\n function enter(node, token, errorHandler) {\n const parent = this.stack[this.stack.length - 1];\n /** @type {Array<Nodes>} */\n const siblings = parent.children;\n siblings.push(node);\n this.stack.push(node);\n this.tokenStack.push([token, errorHandler || undefined]);\n node.position = {\n start: point(token.start),\n // @ts-expect-error: `end` will be patched later.\n end: undefined\n };\n }\n\n /**\n * Create a closer handle.\n *\n * @param {Handle | undefined} [and]\n * Optional function to also run.\n * @returns {Handle}\n * Handle.\n */\n function closer(and) {\n return close;\n\n /**\n * @this {CompileContext}\n * @param {Token} token\n * @returns {undefined}\n */\n function close(token) {\n if (and) and.call(this, token);\n exit.call(this, token);\n }\n }\n\n /**\n * @type {CompileContext['exit']}\n */\n function exit(token, onExitError) {\n const node = this.stack.pop();\n const open = this.tokenStack.pop();\n if (!open) {\n throw new Error('Cannot close `' + token.type + '` (' + stringifyPosition({\n start: token.start,\n end: token.end\n }) + '): it’s not open');\n } else if (open[0].type !== token.type) {\n if (onExitError) {\n onExitError.call(this, token, open[0]);\n } else {\n const handler = open[1] || defaultOnError;\n handler.call(this, token, open[0]);\n }\n }\n node.position.end = point(token.end);\n }\n\n /**\n * @type {CompileContext['resume']}\n */\n function resume() {\n return toString(this.stack.pop());\n }\n\n //\n // Handlers.\n //\n\n /**\n * @this {CompileContext}\n * @type {Handle}\n */\n function onenterlistordered() {\n this.data.expectingFirstListItemValue = true;\n }\n\n /**\n * @this {CompileContext}\n * @type {Handle}\n */\n function onenterlistitemvalue(token) {\n if (this.data.expectingFirstListItemValue) {\n const ancestor = this.stack[this.stack.length - 2];\n ancestor.start = Number.parseInt(this.sliceSerialize(token), 10);\n this.data.expectingFirstListItemValue = undefined;\n }\n }\n\n /**\n * @this {CompileContext}\n * @type {Handle}\n */\n function onexitcodefencedfenceinfo() {\n const data = this.resume();\n const node = this.stack[this.stack.length - 1];\n node.lang = data;\n }\n\n /**\n * @this {CompileContext}\n * @type {Handle}\n */\n function onexitcodefencedfencemeta() {\n const data = this.resume();\n const node = this.stack[this.stack.length - 1];\n node.meta = data;\n }\n\n /**\n * @this {CompileContext}\n * @type {Handle}\n */\n function onexitcodefencedfence() {\n // Exit if this is the closing fence.\n if (this.data.flowCodeInside) return;\n this.buffer();\n this.data.flowCodeInside = true;\n }\n\n /**\n * @this {CompileContext}\n * @type {Handle}\n */\n function onexitcodefenced() {\n const data = this.resume();\n const node = this.stack[this.stack.length - 1];\n node.value = data.replace(/^(\\r?\\n|\\r)|(\\r?\\n|\\r)$/g, '');\n this.data.flowCodeInside = undefined;\n }\n\n /**\n * @this {CompileContext}\n * @type {Handle}\n */\n function onexitcodeindented() {\n const data = this.resume();\n const node = this.stack[this.stack.length - 1];\n node.value = data.replace(/(\\r?\\n|\\r)$/g, '');\n }\n\n /**\n * @this {CompileContext}\n * @type {Handle}\n */\n function onexitdefinitionlabelstring(token) {\n const label = this.resume();\n const node = this.stack[this.stack.length - 1];\n node.label = label;\n node.identifier = normalizeIdentifier(this.sliceSerialize(token)).toLowerCase();\n }\n\n /**\n * @this {CompileContext}\n * @type {Handle}\n */\n function onexitdefinitiontitlestring() {\n const data = this.resume();\n const node = this.stack[this.stack.length - 1];\n node.title = data;\n }\n\n /**\n * @this {CompileContext}\n * @type {Handle}\n */\n function onexitdefinitiondestinationstring() {\n const data = this.resume();\n const node = this.stack[this.stack.length - 1];\n node.url = data;\n }\n\n /**\n * @this {CompileContext}\n * @type {Handle}\n */\n function onexitatxheadingsequence(token) {\n const node = this.stack[this.stack.length - 1];\n if (!node.depth) {\n const depth = this.sliceSerialize(token).length;\n node.depth = depth;\n }\n }\n\n /**\n * @this {CompileContext}\n * @type {Handle}\n */\n function onexitsetextheadingtext() {\n this.data.setextHeadingSlurpLineEnding = true;\n }\n\n /**\n * @this {CompileContext}\n * @type {Handle}\n */\n function onexitsetextheadinglinesequence(token) {\n const node = this.stack[this.stack.length - 1];\n node.depth = this.sliceSerialize(token).codePointAt(0) === 61 ? 1 : 2;\n }\n\n /**\n * @this {CompileContext}\n * @type {Handle}\n */\n function onexitsetextheading() {\n this.data.setextHeadingSlurpLineEnding = undefined;\n }\n\n /**\n * @this {CompileContext}\n * @type {Handle}\n */\n\n function onenterdata(token) {\n const node = this.stack[this.stack.length - 1];\n /** @type {Array<Nodes>} */\n const siblings = node.children;\n let tail = siblings[siblings.length - 1];\n if (!tail || tail.type !== 'text') {\n // Add a new text node.\n tail = text();\n tail.position = {\n start: point(token.start),\n // @ts-expect-error: we’ll add `end` later.\n end: undefined\n };\n siblings.push(tail);\n }\n this.stack.push(tail);\n }\n\n /**\n * @this {CompileContext}\n * @type {Handle}\n */\n\n function onexitdata(token) {\n const tail = this.stack.pop();\n tail.value += this.sliceSerialize(token);\n tail.position.end = point(token.end);\n }\n\n /**\n * @this {CompileContext}\n * @type {Handle}\n */\n\n function onexitlineending(token) {\n const context = this.stack[this.stack.length - 1];\n // If we’re at a hard break, include the line ending in there.\n if (this.data.atHardBreak) {\n const tail = context.children[context.children.length - 1];\n tail.position.end = point(token.end);\n this.data.atHardBreak = undefined;\n return;\n }\n if (!this.data.setextHeadingSlurpLineEnding && config.canContainEols.includes(context.type)) {\n onenterdata.call(this, token);\n onexitdata.call(this, token);\n }\n }\n\n /**\n * @this {CompileContext}\n * @type {Handle}\n */\n\n function onexithardbreak() {\n this.data.atHardBreak = true;\n }\n\n /**\n * @this {CompileContext}\n * @type {Handle}\n */\n\n function onexithtmlflow() {\n const data = this.resume();\n const node = this.stack[this.stack.length - 1];\n node.value = data;\n }\n\n /**\n * @this {CompileContext}\n * @type {Handle}\n */\n\n function onexithtmltext() {\n const data = this.resume();\n const node = this.stack[this.stack.length - 1];\n node.value = data;\n }\n\n /**\n * @this {CompileContext}\n * @type {Handle}\n */\n\n function onexitcodetext() {\n const data = this.resume();\n const node = this.stack[this.stack.length - 1];\n node.value = data;\n }\n\n /**\n * @this {CompileContext}\n * @type {Handle}\n */\n\n function onexitlink() {\n const node = this.stack[this.stack.length - 1];\n // Note: there are also `identifier` and `label` fields on this link node!\n // These are used / cleaned here.\n\n // To do: clean.\n if (this.data.inReference) {\n /** @type {ReferenceType} */\n const referenceType = this.data.referenceType || 'shortcut';\n node.type += 'Reference';\n // @ts-expect-error: mutate.\n node.referenceType = referenceType;\n // @ts-expect-error: mutate.\n delete node.url;\n delete node.title;\n } else {\n // @ts-expect-error: mutate.\n delete node.identifier;\n // @ts-expect-error: mutate.\n delete node.label;\n }\n this.data.referenceType = undefined;\n }\n\n /**\n * @this {CompileContext}\n * @type {Handle}\n */\n\n function onexitimage() {\n const node = this.stack[this.stack.length - 1];\n // Note: there are also `identifier` and `label` fields on this link node!\n // These are used / cleaned here.\n\n // To do: clean.\n if (this.data.inReference) {\n /** @type {ReferenceType} */\n const referenceType = this.data.referenceType || 'shortcut';\n node.type += 'Reference';\n // @ts-expect-error: mutate.\n node.referenceType = referenceType;\n // @ts-expect-error: mutate.\n delete node.url;\n delete node.title;\n } else {\n // @ts-expect-error: mutate.\n delete node.identifier;\n // @ts-expect-error: mutate.\n delete node.label;\n }\n this.data.referenceType = undefined;\n }\n\n /**\n * @this {CompileContext}\n * @type {Handle}\n */\n\n function onexitlabeltext(token) {\n const string = this.sliceSerialize(token);\n const ancestor = this.stack[this.stack.length - 2];\n // @ts-expect-error: stash this on the node, as it might become a reference\n // later.\n ancestor.label = decodeString(string);\n // @ts-expect-error: same as above.\n ancestor.identifier = normalizeIdentifier(string).toLowerCase();\n }\n\n /**\n * @this {CompileContext}\n * @type {Handle}\n */\n\n function onexitlabel() {\n const fragment = this.stack[this.stack.length - 1];\n const value = this.resume();\n const node = this.stack[this.stack.length - 1];\n // Assume a reference.\n this.data.inReference = true;\n if (node.type === 'link') {\n /** @type {Array<PhrasingContent>} */\n const children = fragment.children;\n node.children = children;\n } else {\n node.alt = value;\n }\n }\n\n /**\n * @this {CompileContext}\n * @type {Handle}\n */\n\n function onexitresourcedestinationstring() {\n const data = this.resume();\n const node = this.stack[this.stack.length - 1];\n node.url = data;\n }\n\n /**\n * @this {CompileContext}\n * @type {Handle}\n */\n\n function onexitresourcetitlestring() {\n const data = this.resume();\n const node = this.stack[this.stack.length - 1];\n node.title = data;\n }\n\n /**\n * @this {CompileContext}\n * @type {Handle}\n */\n\n function onexitresource() {\n this.data.inReference = undefined;\n }\n\n /**\n * @this {CompileContext}\n * @type {Handle}\n */\n\n function onenterreference() {\n this.data.referenceType = 'collapsed';\n }\n\n /**\n * @this {CompileContext}\n * @type {Handle}\n */\n\n function onexitreferencestring(token) {\n const label = this.resume();\n const node = this.stack[this.stack.length - 1];\n // @ts-expect-error: stash this on the node, as it might become a reference\n // later.\n node.label = label;\n // @ts-expect-error: same as above.\n node.identifier = normalizeIdentifier(this.sliceSerialize(token)).toLowerCase();\n this.data.referenceType = 'full';\n }\n\n /**\n * @this {CompileContext}\n * @type {Handle}\n */\n\n function onexitcharacterreferencemarker(token) {\n this.data.characterReferenceType = token.type;\n }\n\n /**\n * @this {CompileContext}\n * @type {Handle}\n */\n function onexitcharacterreferencevalue(token) {\n const data = this.sliceSerialize(token);\n const type = this.data.characterReferenceType;\n /** @type {string} */\n let value;\n if (type) {\n value = decodeNumericCharacterReference(data, type === \"characterReferenceMarkerNumeric\" ? 10 : 16);\n this.data.characterReferenceType = undefined;\n } else {\n const result = decodeNamedCharacterReference(data);\n value = result;\n }\n const tail = this.stack[this.stack.length - 1];\n tail.value += value;\n }\n\n /**\n * @this {CompileContext}\n * @type {Handle}\n */\n function onexitcharacterreference(token) {\n const tail = this.stack.pop();\n tail.position.end = point(token.end);\n }\n\n /**\n * @this {CompileContext}\n * @type {Handle}\n */\n function onexitautolinkprotocol(token) {\n onexitdata.call(this, token);\n const node = this.stack[this.stack.length - 1];\n node.url = this.sliceSerialize(token);\n }\n\n /**\n * @this {CompileContext}\n * @type {Handle}\n */\n function onexitautolinkemail(token) {\n onexitdata.call(this, token);\n const node = this.stack[this.stack.length - 1];\n node.url = 'mailto:' + this.sliceSerialize(token);\n }\n\n //\n // Creaters.\n //\n\n /** @returns {Blockquote} */\n function blockQuote() {\n return {\n type: 'blockquote',\n children: []\n };\n }\n\n /** @returns {Code} */\n function codeFlow() {\n return {\n type: 'code',\n lang: null,\n meta: null,\n value: ''\n };\n }\n\n /** @returns {InlineCode} */\n function codeText() {\n return {\n type: 'inlineCode',\n value: ''\n };\n }\n\n /** @returns {Definition} */\n function definition() {\n return {\n type: 'definition',\n identifier: '',\n label: null,\n title: null,\n url: ''\n };\n }\n\n /** @returns {Emphasis} */\n function emphasis() {\n return {\n type: 'emphasis',\n children: []\n };\n }\n\n /** @returns {Heading} */\n function heading() {\n return {\n type: 'heading',\n // @ts-expect-error `depth` will be set later.\n depth: 0,\n children: []\n };\n }\n\n /** @returns {Break} */\n function hardBreak() {\n return {\n type: 'break'\n };\n }\n\n /** @returns {Html} */\n function html() {\n return {\n type: 'html',\n value: ''\n };\n }\n\n /** @returns {Image} */\n function image() {\n return {\n type: 'image',\n title: null,\n url: '',\n alt: null\n };\n }\n\n /** @returns {Link} */\n function link() {\n return {\n type: 'link',\n title: null,\n url: '',\n children: []\n };\n }\n\n /**\n * @param {Token} token\n * @returns {List}\n */\n function list(token) {\n return {\n type: 'list',\n ordered: token.type === 'listOrdered',\n start: null,\n spread: token._spread,\n children: []\n };\n }\n\n /**\n * @param {Token} token\n * @returns {ListItem}\n */\n function listItem(token) {\n return {\n type: 'listItem',\n spread: token._spread,\n checked: null,\n children: []\n };\n }\n\n /** @returns {Paragraph} */\n function paragraph() {\n return {\n type: 'paragraph',\n children: []\n };\n }\n\n /** @returns {Strong} */\n function strong() {\n return {\n type: 'strong',\n children: []\n };\n }\n\n /** @returns {Text} */\n function text() {\n return {\n type: 'text',\n value: ''\n };\n }\n\n /** @returns {ThematicBreak} */\n function thematicBreak() {\n return {\n type: 'thematicBreak'\n };\n }\n}\n\n/**\n * Copy a point-like value.\n *\n * @param {Point} d\n * Point-like value.\n * @returns {Point}\n * unist point.\n */\nfunction point(d) {\n return {\n line: d.line,\n column: d.column,\n offset: d.offset\n };\n}\n\n/**\n * @param {Config} combined\n * @param {Array<Array<Extension> | Extension>} extensions\n * @returns {undefined}\n */\nfunction configure(combined, extensions) {\n let index = -1;\n while (++index < extensions.length) {\n const value = extensions[index];\n if (Array.isArray(value)) {\n configure(combined, value);\n } else {\n extension(combined, value);\n }\n }\n}\n\n/**\n * @param {Config} combined\n * @param {Extension} extension\n * @returns {undefined}\n */\nfunction extension(combined, extension) {\n /** @type {keyof Extension} */\n let key;\n for (key in extension) {\n if (own.call(extension, key)) {\n switch (key) {\n case 'canContainEols':\n {\n const right = extension[key];\n if (right) {\n combined[key].push(...right);\n }\n break;\n }\n case 'transforms':\n {\n const right = extension[key];\n if (right) {\n combined[key].push(...right);\n }\n break;\n }\n case 'enter':\n case 'exit':\n {\n const right = extension[key];\n if (right) {\n Object.assign(combined[key], right);\n }\n break;\n }\n // No default\n }\n }\n }\n}\n\n/** @type {OnEnterError} */\nfunction defaultOnError(left, right) {\n if (left) {\n throw new Error('Cannot close `' + left.type + '` (' + stringifyPosition({\n start: left.start,\n end: left.end\n }) + '): a different token (`' + right.type + '`, ' + stringifyPosition({\n start: right.start,\n end: right.end\n }) + ') is open');\n } else {\n throw new Error('Cannot close document, a token (`' + right.type + '`, ' + stringifyPosition({\n start: right.start,\n end: right.end\n }) + ') is still open');\n }\n}"],"names":["own","hasOwnProperty","point","d","line","column","offset","configure","combined","extensions","index","length","value","Array","isArray","extension","key","call","right","push","Object","assign","defaultOnError","left","Error","type","stringifyPosition","start","end","encoding","options","undefined","config","transforms","canContainEols","enter","autolink","opener","link","autolinkProtocol","onenterdata","autolinkEmail","atxHeading","heading","blockQuote","characterEscape","characterReference","codeFenced","codeFlow","codeFencedFenceInfo","buffer","codeFencedFenceMeta","codeIndented","codeText","codeTextData","data","codeFlowValue","definition","definitionDestinationString","definitionLabelString","definitionTitleString","emphasis","hardBreakEscape","hardBreak","hardBreakTrailing","htmlFlow","html","htmlFlowData","htmlText","htmlTextData","image","label","listItem","listItemValue","onenterlistitemvalue","listOrdered","list","onenterlistordered","listUnordered","paragraph","reference","onenterreference","referenceString","resourceDestinationString","resourceTitleString","setextHeading","strong","thematicBreak","exit","closer","atxHeadingSequence","onexitatxheadingsequence","onexitautolinkemail","onexitautolinkprotocol","characterEscapeValue","onexitdata","characterReferenceMarkerHexadecimal","onexitcharacterreferencemarker","characterReferenceMarkerNumeric","characterReferenceValue","onexitcharacterreferencevalue","onexitcharacterreference","onexitcodefenced","codeFencedFence","onexitcodefencedfence","onexitcodefencedfenceinfo","onexitcodefencedfencemeta","onexitcodeindented","onexitcodetext","onexitdefinitiondestinationstring","onexitdefinitionlabelstring","onexitdefinitiontitlestring","onexithardbreak","onexithtmlflow","onexithtmltext","onexitimage","onexitlabel","labelText","onexitlabeltext","lineEnding","onexitlineending","onexitlink","onexitreferencestring","onexitresourcedestinationstring","onexitresourcetitlestring","resource","onexitresource","onexitsetextheading","setextHeadingLineSequence","onexitsetextheadinglinesequence","setextHeadingText","onexitsetextheadingtext","mdastExtensions","compile","events","tree","children","context","stack","tokenStack","resume","listStack","prepareList","pop","handler","sliceSerialize","tail","position","lineIndex","firstBlankLineIndex","atMarker","containerBalance","listSpread","event","tailIndex","tailEvent","_spread","splice","item","create","and","open","token","this","node","errorHandler","close","onExitError","toString","expectingFirstListItemValue","Number","parseInt","lang","meta","flowCodeInside","replace","identifier","normalizeIdentifier","toLowerCase","title","url","depth","setextHeadingSlurpLineEnding","codePointAt","siblings","text","atHardBreak","includes","inReference","referenceType","string","ancestor","decodeString","fragment","alt","characterReferenceType","decodeNumericCharacterReference","decodeNamedCharacterReference","ordered","spread","checked","compiler","postprocess","parse","document","write","preprocess"],"mappings":"4kBAgDA,MAAMA,EAAM,CAAE,EAACC,eAqhCf,SAASC,EAAMC,GACb,MAAO,CACLC,KAAMD,EAAEC,KACRC,OAAQF,EAAEE,OACVC,OAAQH,EAAEG,OAEd,CAOA,SAASC,EAAUC,EAAUC,GAC3B,IAAIC,GAAS,EACb,OAASA,EAAQD,EAAWE,QAAQ,CAClC,MAAMC,EAAQH,EAAWC,GACrBG,MAAMC,QAAQF,GAChBL,EAAUC,EAAUI,GAEpBG,EAAUP,EAAUI,EAEvB,CACH,CAOA,SAASG,EAAUP,EAAUO,GAE3B,IAAIC,EACJ,IAAKA,KAAOD,EACV,GAAIf,EAAIiB,KAAKF,EAAWC,GACtB,OAAQA,GACN,IAAK,iBACH,CACE,MAAME,EAAQH,EAAUC,GACpBE,GACFV,EAASQ,GAAKG,QAAQD,GAExB,KACD,CACH,IAAK,aACH,CACE,MAAMA,EAAQH,EAAUC,GACpBE,GACFV,EAASQ,GAAKG,QAAQD,GAExB,KACD,CACH,IAAK,QACL,IAAK,OACH,CACE,MAAMA,EAAQH,EAAUC,GACpBE,GACFE,OAAOC,OAAOb,EAASQ,GAAME,GAE/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KAAM,KACNC,KAAM,KACNjK,MAAO,GAEV,CAGD,SAASyC,KACP,MAAO,CACL5B,KAAM,aACNb,MAAO,GAEV,CAGD,SAAS6C,KACP,MAAO,CACLhC,KAAM,aACNuJ,WAAY,GACZzG,MAAO,KACP4G,MAAO,KACPC,IAAK,GAER,CAGD,SAASvH,KACP,MAAO,CACLpC,KAAM,WACN+G,SAAU,GAEb,CAGD,SAAS7F,KACP,MAAO,CACLlB,KAAM,UAEN4J,MAAO,EACP7C,SAAU,GAEb,CAGD,SAASzE,KACP,MAAO,CACLtC,KAAM,QAET,CAGD,SAASyC,KACP,MAAO,CACLzC,KAAM,OACNb,MAAO,GAEV,CAGD,SAAS0D,KACP,MAAO,CACL7C,KAAM,QACN0J,MAAO,KACPC,IAAK,GACLc,IAAK,KAER,CAGD,SAAS5J,KACP,MAAO,CACLb,KAAM,OACN0J,MAAO,KACPC,IAAK,GACL5C,SAAU,GAEb,CAMD,SAAS5D,GAAKsF,GACZ,MAAO,CACLzI,KAAM,OACN6K,QAAwB,gBAAfpC,EAAMzI,KACfE,MAAO,KACP4K,OAAQrC,EAAMN,QACdpB,SAAU,GAEb,CAMD,SAAShE,GAAS0F,GAChB,MAAO,CACLzI,KAAM,WACN8K,OAAQrC,EAAMN,QACd4C,QAAS,KACThE,SAAU,GAEb,CAGD,SAASzD,KACP,MAAO,CACLtD,KAAM,YACN+G,SAAU,GAEb,CAGD,SAASlD,KACP,MAAO,CACL7D,KAAM,SACN+G,SAAU,GAEb,CAGD,SAASiD,KACP,MAAO,CACLhK,KAAM,OACNb,MAAO,GAEV,CAGD,SAAS2E,KACP,MAAO,CACL9D,KAAM,gBAET,CACH,CA7+BSgL,CAAS3K,EAAT2K,CAAkBC,EAAWA,YAACC,EAAKA,MAAC7K,GAAS8K,WAAWC,MAAMC,EAAAA,YAAAA,CAAalM,EAAOiB,GAAU,KACrG"}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../@ungap/structured-clone/esm/index.js"),t=require("../../micromark-util-sanitize-uri/index.js");function o(e,t){const o=[{type:"text",value:"↩"}];return t>1&&o.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),o}function n(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}exports.defaultFootnoteBackContent=o,exports.defaultFootnoteBackLabel=n,exports.footer=function(r){const a="string"==typeof r.options.clobberPrefix?r.options.clobberPrefix:"user-content-",s=r.options.footnoteBackContent||o,i=r.options.footnoteBackLabel||n,l=r.options.footnoteLabel||"Footnotes",p=r.options.footnoteLabelTagName||"h2",c=r.options.footnoteLabelProperties||{className:["sr-only"]},f=[];let u=-1;for(;++u<r.footnoteOrder.length;){const e=r.footnoteById.get(r.footnoteOrder[u]);if(!e)continue;const o=r.all(e),n=String(e.identifier).toUpperCase(),l=t.normalizeUri(n.toLowerCase());let p=0;const c=[],d=r.footnoteCounts.get(n);for(;void 0!==d&&++p<=d;){c.length>0&&c.push({type:"text",value:" "});let e="string"==typeof s?s:s(u,p);"string"==typeof e&&(e={type:"text",value:e}),c.push({type:"element",tagName:"a",properties:{href:"#"+a+"fnref-"+l+(p>1?"-"+p:""),dataFootnoteBackref:"",ariaLabel:"string"==typeof i?i:i(u,p),className:["data-footnote-backref"]},children:Array.isArray(e)?e:[e]})}const h=o[o.length-1];if(h&&"element"===h.type&&"p"===h.tagName){const e=h.children[h.children.length-1];e&&"text"===e.type?e.value+=" ":h.children.push({type:"text",value:" "}),h.children.push(...c)}else o.push(...c);const y={type:"element",tagName:"li",properties:{id:a+"fn-"+l},children:r.wrap(o,!0)};r.patch(e,y),f.push(y)}if(0!==f.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:p,properties:{...e.default(c),id:"footnote-label"},children:[{type:"text",value:l}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:r.wrap(f,!0)},{type:"text",value:"\n"}]}};
2
+ //# sourceMappingURL=footer.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"footer.js","sources":["../../../../../node_modules/mdast-util-to-hast/lib/footer.js"],"sourcesContent":["/**\n * @import {ElementContent, Element} from 'hast'\n * @import {State} from './state.js'\n */\n\n/**\n * @callback FootnoteBackContentTemplate\n * Generate content for the backreference dynamically.\n *\n * For the following markdown:\n *\n * ```markdown\n * Alpha[^micromark], bravo[^micromark], and charlie[^remark].\n *\n * [^remark]: things about remark\n * [^micromark]: things about micromark\n * ```\n *\n * This function will be called with:\n *\n * * `0` and `0` for the backreference from `things about micromark` to\n * `alpha`, as it is the first used definition, and the first call to it\n * * `0` and `1` for the backreference from `things about micromark` to\n * `bravo`, as it is the first used definition, and the second call to it\n * * `1` and `0` for the backreference from `things about remark` to\n * `charlie`, as it is the second used definition\n * @param {number} referenceIndex\n * Index of the definition in the order that they are first referenced,\n * 0-indexed.\n * @param {number} rereferenceIndex\n * Index of calls to the same definition, 0-indexed.\n * @returns {Array<ElementContent> | ElementContent | string}\n * Content for the backreference when linking back from definitions to their\n * reference.\n *\n * @callback FootnoteBackLabelTemplate\n * Generate a back label dynamically.\n *\n * For the following markdown:\n *\n * ```markdown\n * Alpha[^micromark], bravo[^micromark], and charlie[^remark].\n *\n * [^remark]: things about remark\n * [^micromark]: things about micromark\n * ```\n *\n * This function will be called with:\n *\n * * `0` and `0` for the backreference from `things about micromark` to\n * `alpha`, as it is the first used definition, and the first call to it\n * * `0` and `1` for the backreference from `things about micromark` to\n * `bravo`, as it is the first used definition, and the second call to it\n * * `1` and `0` for the backreference from `things about remark` to\n * `charlie`, as it is the second used definition\n * @param {number} referenceIndex\n * Index of the definition in the order that they are first referenced,\n * 0-indexed.\n * @param {number} rereferenceIndex\n * Index of calls to the same definition, 0-indexed.\n * @returns {string}\n * Back label to use when linking back from definitions to their reference.\n */\n\nimport structuredClone from '@ungap/structured-clone'\nimport {normalizeUri} from 'micromark-util-sanitize-uri'\n\n/**\n * Generate the default content that GitHub uses on backreferences.\n *\n * @param {number} _\n * Index of the definition in the order that they are first referenced,\n * 0-indexed.\n * @param {number} rereferenceIndex\n * Index of calls to the same definition, 0-indexed.\n * @returns {Array<ElementContent>}\n * Content.\n */\nexport function defaultFootnoteBackContent(_, rereferenceIndex) {\n /** @type {Array<ElementContent>} */\n const result = [{type: 'text', value: '↩'}]\n\n if (rereferenceIndex > 1) {\n result.push({\n type: 'element',\n tagName: 'sup',\n properties: {},\n children: [{type: 'text', value: String(rereferenceIndex)}]\n })\n }\n\n return result\n}\n\n/**\n * Generate the default label that GitHub uses on backreferences.\n *\n * @param {number} referenceIndex\n * Index of the definition in the order that they are first referenced,\n * 0-indexed.\n * @param {number} rereferenceIndex\n * Index of calls to the same definition, 0-indexed.\n * @returns {string}\n * Label.\n */\nexport function defaultFootnoteBackLabel(referenceIndex, rereferenceIndex) {\n return (\n 'Back to reference ' +\n (referenceIndex + 1) +\n (rereferenceIndex > 1 ? '-' + rereferenceIndex : '')\n )\n}\n\n/**\n * Generate a hast footer for called footnote definitions.\n *\n * @param {State} state\n * Info passed around.\n * @returns {Element | undefined}\n * `section` element or `undefined`.\n */\n// eslint-disable-next-line complexity\nexport function footer(state) {\n const clobberPrefix =\n typeof state.options.clobberPrefix === 'string'\n ? state.options.clobberPrefix\n : 'user-content-'\n const footnoteBackContent =\n state.options.footnoteBackContent || defaultFootnoteBackContent\n const footnoteBackLabel =\n state.options.footnoteBackLabel || defaultFootnoteBackLabel\n const footnoteLabel = state.options.footnoteLabel || 'Footnotes'\n const footnoteLabelTagName = state.options.footnoteLabelTagName || 'h2'\n const footnoteLabelProperties = state.options.footnoteLabelProperties || {\n className: ['sr-only']\n }\n /** @type {Array<ElementContent>} */\n const listItems = []\n let referenceIndex = -1\n\n while (++referenceIndex < state.footnoteOrder.length) {\n const definition = state.footnoteById.get(\n state.footnoteOrder[referenceIndex]\n )\n\n if (!definition) {\n continue\n }\n\n const content = state.all(definition)\n const id = String(definition.identifier).toUpperCase()\n const safeId = normalizeUri(id.toLowerCase())\n let rereferenceIndex = 0\n /** @type {Array<ElementContent>} */\n const backReferences = []\n const counts = state.footnoteCounts.get(id)\n\n // eslint-disable-next-line no-unmodified-loop-condition\n while (counts !== undefined && ++rereferenceIndex <= counts) {\n if (backReferences.length > 0) {\n backReferences.push({type: 'text', value: ' '})\n }\n\n let children =\n typeof footnoteBackContent === 'string'\n ? footnoteBackContent\n : footnoteBackContent(referenceIndex, rereferenceIndex)\n\n if (typeof children === 'string') {\n children = {type: 'text', value: children}\n }\n\n backReferences.push({\n type: 'element',\n tagName: 'a',\n properties: {\n href:\n '#' +\n clobberPrefix +\n 'fnref-' +\n safeId +\n (rereferenceIndex > 1 ? '-' + rereferenceIndex : ''),\n dataFootnoteBackref: '',\n ariaLabel:\n typeof footnoteBackLabel === 'string'\n ? footnoteBackLabel\n : footnoteBackLabel(referenceIndex, rereferenceIndex),\n className: ['data-footnote-backref']\n },\n children: Array.isArray(children) ? children : [children]\n })\n }\n\n const tail = content[content.length - 1]\n\n if (tail && tail.type === 'element' && tail.tagName === 'p') {\n const tailTail = tail.children[tail.children.length - 1]\n if (tailTail && tailTail.type === 'text') {\n tailTail.value += ' '\n } else {\n tail.children.push({type: 'text', value: ' '})\n }\n\n tail.children.push(...backReferences)\n } else {\n content.push(...backReferences)\n }\n\n /** @type {Element} */\n const listItem = {\n type: 'element',\n tagName: 'li',\n properties: {id: clobberPrefix + 'fn-' + safeId},\n children: state.wrap(content, true)\n }\n\n state.patch(definition, listItem)\n\n listItems.push(listItem)\n }\n\n if (listItems.length === 0) {\n return\n }\n\n return {\n type: 'element',\n tagName: 'section',\n properties: {dataFootnotes: true, className: ['footnotes']},\n children: [\n {\n type: 'element',\n tagName: footnoteLabelTagName,\n properties: {\n ...structuredClone(footnoteLabelProperties),\n id: 'footnote-label'\n },\n children: [{type: 'text', value: footnoteLabel}]\n },\n {type: 'text', value: '\\n'},\n {\n type: 'element',\n tagName: 'ol',\n properties: {},\n children: state.wrap(listItems, true)\n },\n {type: 'text', value: '\\n'}\n ]\n }\n}\n"],"names":["defaultFootnoteBackContent","_","rereferenceIndex","result","type","value","push","tagName","properties","children","String","defaultFootnoteBackLabel","referenceIndex","state","clobberPrefix","options","footnoteBackContent","footnoteBackLabel","footnoteLabel","footnoteLabelTagName","footnoteLabelProperties","className","listItems","footnoteOrder","length","definition","footnoteById","get","content","all","id","identifier","toUpperCase","safeId","normalizeUri","toLowerCase","backReferences","counts","footnoteCounts","undefined","href","dataFootnoteBackref","ariaLabel","Array","isArray","tail","tailTail","listItem","wrap","patch","dataFootnotes","structuredClone"],"mappings":"wLA8EO,SAASA,EAA2BC,EAAGC,GAE5C,MAAMC,EAAS,CAAC,CAACC,KAAM,OAAQC,MAAO,MAWtC,OATIH,EAAmB,GACrBC,EAAOG,KAAK,CACVF,KAAM,UACNG,QAAS,MACTC,WAAY,CAAE,EACdC,SAAU,CAAC,CAACL,KAAM,OAAQC,MAAOK,OAAOR,OAIrCC,CACT,CAaO,SAASQ,EAAyBC,EAAgBV,GACvD,MACE,sBACCU,EAAiB,IACjBV,EAAmB,EAAI,IAAMA,EAAmB,GAErD,wFAWO,SAAgBW,GACrB,MAAMC,EACmC,iBAAhCD,EAAME,QAAQD,cACjBD,EAAME,QAAQD,cACd,gBACAE,EACJH,EAAME,QAAQC,qBAAuBhB,EACjCiB,EACJJ,EAAME,QAAQE,mBAAqBN,EAC/BO,EAAgBL,EAAME,QAAQG,eAAiB,YAC/CC,EAAuBN,EAAME,QAAQI,sBAAwB,KAC7DC,EAA0BP,EAAME,QAAQK,yBAA2B,CACvEC,UAAW,CAAC,YAGRC,EAAY,GAClB,IAAIV,GAAkB,EAEtB,OAASA,EAAiBC,EAAMU,cAAcC,QAAQ,CACpD,MAAMC,EAAaZ,EAAMa,aAAaC,IACpCd,EAAMU,cAAcX,IAGtB,IAAKa,EACH,SAGF,MAAMG,EAAUf,EAAMgB,IAAIJ,GACpBK,EAAKpB,OAAOe,EAAWM,YAAYC,cACnCC,EAASC,EAAAA,aAAa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,EAAM7B,UAAW,CAAC,cAC9CZ,SAAU,CACR,CACEL,KAAM,UACNG,QAASY,EACTX,WAAY,IACP2C,EAAAA,QAAgB/B,GACnBU,GAAI,kBAENrB,SAAU,CAAC,CAACL,KAAM,OAAQC,MAAOa,KAEnC,CAACd,KAAM,OAAQC,MAAO,MACtB,CACED,KAAM,UACNG,QAAS,KACTC,WAAY,CAAE,EACdC,SAAUI,EAAMmC,KAAK1B,GAAW,IAElC,CAAClB,KAAM,OAAQC,MAAO,OAG5B"}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.blockquote=function(e,t){const o={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,o),e.applyData(t,o)};
2
+ //# sourceMappingURL=blockquote.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"blockquote.js","sources":["../../../../../../node_modules/mdast-util-to-hast/lib/handlers/blockquote.js"],"sourcesContent":["/**\n * @import {Element} from 'hast'\n * @import {Blockquote} from 'mdast'\n * @import {State} from '../state.js'\n */\n\n/**\n * Turn an mdast `blockquote` node into hast.\n *\n * @param {State} state\n * Info passed around.\n * @param {Blockquote} node\n * mdast node.\n * @returns {Element}\n * hast node.\n */\nexport function blockquote(state, node) {\n /** @type {Element} */\n const result = {\n type: 'element',\n tagName: 'blockquote',\n properties: {},\n children: state.wrap(state.all(node), true)\n }\n state.patch(node, result)\n return state.applyData(node, result)\n}\n"],"names":["state","node","result","type","tagName","properties","children","wrap","all","patch","applyData"],"mappings":"uFAgBO,SAAoBA,EAAOC,GAEhC,MAAMC,EAAS,CACbC,KAAM,UACNC,QAAS,aACTC,WAAY,CAAE,EACdC,SAAUN,EAAMO,KAAKP,EAAMQ,IAAIP,IAAO,IAGxC,OADAD,EAAMS,MAAMR,EAAMC,GACXF,EAAMU,UAAUT,EAAMC,EAC/B"}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.hardBreak=function(e,t){const r={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,r),[e.applyData(t,r),{type:"text",value:"\n"}]};
2
+ //# sourceMappingURL=break.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"break.js","sources":["../../../../../../node_modules/mdast-util-to-hast/lib/handlers/break.js"],"sourcesContent":["/**\n * @import {Element, Text} from 'hast'\n * @import {Break} from 'mdast'\n * @import {State} from '../state.js'\n */\n\n/**\n * Turn an mdast `break` node into hast.\n *\n * @param {State} state\n * Info passed around.\n * @param {Break} node\n * mdast node.\n * @returns {Array<Element | Text>}\n * hast element content.\n */\nexport function hardBreak(state, node) {\n /** @type {Element} */\n const result = {type: 'element', tagName: 'br', properties: {}, children: []}\n state.patch(node, result)\n return [state.applyData(node, result), {type: 'text', value: '\\n'}]\n}\n"],"names":["state","node","result","type","tagName","properties","children","patch","applyData","value"],"mappings":"sFAgBO,SAAmBA,EAAOC,GAE/B,MAAMC,EAAS,CAACC,KAAM,UAAWC,QAAS,KAAMC,WAAY,CAAA,EAAIC,SAAU,IAE1E,OADAN,EAAMO,MAAMN,EAAMC,GACX,CAACF,EAAMQ,UAAUP,EAAMC,GAAS,CAACC,KAAM,OAAQM,MAAO,MAC/D"}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.code=function(e,t){const a=t.value?t.value+"\n":"",l={},p=t.lang?t.lang.split(/\s+/):[];p.length>0&&(l.className=["language-"+p[0]]);let n={type:"element",tagName:"code",properties:l,children:[{type:"text",value:a}]};return t.meta&&(n.data={meta:t.meta}),e.patch(t,n),n=e.applyData(t,n),n={type:"element",tagName:"pre",properties:{},children:[n]},e.patch(t,n),n};
2
+ //# sourceMappingURL=code.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"code.js","sources":["../../../../../../node_modules/mdast-util-to-hast/lib/handlers/code.js"],"sourcesContent":["/**\n * @import {Element, Properties} from 'hast'\n * @import {Code} from 'mdast'\n * @import {State} from '../state.js'\n */\n\n/**\n * Turn an mdast `code` node into hast.\n *\n * @param {State} state\n * Info passed around.\n * @param {Code} node\n * mdast node.\n * @returns {Element}\n * hast node.\n */\nexport function code(state, node) {\n const value = node.value ? node.value + '\\n' : ''\n /** @type {Properties} */\n const properties = {}\n // Someone can write `js&#x20;python&#x9;ruby`.\n const language = node.lang ? node.lang.split(/\\s+/) : []\n\n // GH/CM still drop the non-first languages.\n if (language.length > 0) {\n properties.className = ['language-' + language[0]]\n }\n\n // Create `<code>`.\n /** @type {Element} */\n let result = {\n type: 'element',\n tagName: 'code',\n properties,\n children: [{type: 'text', value}]\n }\n\n if (node.meta) {\n result.data = {meta: node.meta}\n }\n\n state.patch(node, result)\n result = state.applyData(node, result)\n\n // Create `<pre>`.\n result = {type: 'element', tagName: 'pre', properties: {}, children: [result]}\n state.patch(node, result)\n return result\n}\n"],"names":["state","node","value","properties","language","lang","split","length","className","result","type","tagName","children","meta","data","patch","applyData"],"mappings":"iFAgBO,SAAcA,EAAOC,GAC1B,MAAMC,EAAQD,EAAKC,MAAQD,EAAKC,MAAQ,KAAO,GAEzCC,EAAa,CAAE,EAEfC,EAAWH,EAAKI,KAAOJ,EAAKI,KAAKC,MAAM,OAAS,GAGlDF,EAASG,OAAS,IACpBJ,EAAWK,UAAY,CAAC,YAAcJ,EAAS,KAKjD,IAAIK,EAAS,CACXC,KAAM,UACNC,QAAS,OACTR,aACAS,SAAU,CAAC,CAACF,KAAM,OAAQR,WAa5B,OAVID,EAAKY,OACPJ,EAAOK,KAAO,CAACD,KAAMZ,EAAKY,OAG5Bb,EAAMe,MAAMd,EAAMQ,GAClBA,EAAST,EAAMgB,UAAUf,EAAMQ,GAG/BA,EAAS,CAACC,KAAM,UAAWC,QAAS,MAAOR,WAAY,GAAIS,SAAU,CAACH,IACtET,EAAMe,MAAMd,EAAMQ,GACXA,CACT"}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.strikethrough=function(e,t){const r={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)};
2
+ //# sourceMappingURL=delete.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete.js","sources":["../../../../../../node_modules/mdast-util-to-hast/lib/handlers/delete.js"],"sourcesContent":["/**\n * @import {Element} from 'hast'\n * @import {Delete} from 'mdast'\n * @import {State} from '../state.js'\n */\n\n/**\n * Turn an mdast `delete` node into hast.\n *\n * @param {State} state\n * Info passed around.\n * @param {Delete} node\n * mdast node.\n * @returns {Element}\n * hast node.\n */\nexport function strikethrough(state, node) {\n /** @type {Element} */\n const result = {\n type: 'element',\n tagName: 'del',\n properties: {},\n children: state.all(node)\n }\n state.patch(node, result)\n return state.applyData(node, result)\n}\n"],"names":["state","node","result","type","tagName","properties","children","all","patch","applyData"],"mappings":"0FAgBO,SAAuBA,EAAOC,GAEnC,MAAMC,EAAS,CACbC,KAAM,UACNC,QAAS,MACTC,WAAY,CAAE,EACdC,SAAUN,EAAMO,IAAIN,IAGtB,OADAD,EAAMQ,MAAMP,EAAMC,GACXF,EAAMS,UAAUR,EAAMC,EAC/B"}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.emphasis=function(e,t){const p={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,p),e.applyData(t,p)};
2
+ //# sourceMappingURL=emphasis.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"emphasis.js","sources":["../../../../../../node_modules/mdast-util-to-hast/lib/handlers/emphasis.js"],"sourcesContent":["/**\n * @import {Element} from 'hast'\n * @import {Emphasis} from 'mdast'\n * @import {State} from '../state.js'\n */\n\n/**\n * Turn an mdast `emphasis` node into hast.\n *\n * @param {State} state\n * Info passed around.\n * @param {Emphasis} node\n * mdast node.\n * @returns {Element}\n * hast node.\n */\nexport function emphasis(state, node) {\n /** @type {Element} */\n const result = {\n type: 'element',\n tagName: 'em',\n properties: {},\n children: state.all(node)\n }\n state.patch(node, result)\n return state.applyData(node, result)\n}\n"],"names":["state","node","result","type","tagName","properties","children","all","patch","applyData"],"mappings":"qFAgBO,SAAkBA,EAAOC,GAE9B,MAAMC,EAAS,CACbC,KAAM,UACNC,QAAS,KACTC,WAAY,CAAE,EACdC,SAAUN,EAAMO,IAAIN,IAGtB,OADAD,EAAMQ,MAAMP,EAAMC,GACXF,EAAMS,UAAUR,EAAMC,EAC/B"}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../micromark-util-sanitize-uri/index.js");exports.footnoteReference=function(t,o){const r="string"==typeof t.options.clobberPrefix?t.options.clobberPrefix:"user-content-",n=String(o.identifier).toUpperCase(),i=e.normalizeUri(n.toLowerCase()),s=t.footnoteOrder.indexOf(n);let a,p=t.footnoteCounts.get(n);void 0===p?(p=0,t.footnoteOrder.push(n),a=t.footnoteOrder.length):a=s+1,p+=1,t.footnoteCounts.set(n,p);const f={type:"element",tagName:"a",properties:{href:"#"+r+"fn-"+i,id:r+"fnref-"+i+(p>1?"-"+p:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(a)}]};t.patch(o,f);const c={type:"element",tagName:"sup",properties:{},children:[f]};return t.patch(o,c),t.applyData(o,c)};
2
+ //# sourceMappingURL=footnote-reference.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"footnote-reference.js","sources":["../../../../../../node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.js"],"sourcesContent":["/**\n * @import {Element} from 'hast'\n * @import {FootnoteReference} from 'mdast'\n * @import {State} from '../state.js'\n */\n\nimport {normalizeUri} from 'micromark-util-sanitize-uri'\n\n/**\n * Turn an mdast `footnoteReference` node into hast.\n *\n * @param {State} state\n * Info passed around.\n * @param {FootnoteReference} node\n * mdast node.\n * @returns {Element}\n * hast node.\n */\nexport function footnoteReference(state, node) {\n const clobberPrefix =\n typeof state.options.clobberPrefix === 'string'\n ? state.options.clobberPrefix\n : 'user-content-'\n const id = String(node.identifier).toUpperCase()\n const safeId = normalizeUri(id.toLowerCase())\n const index = state.footnoteOrder.indexOf(id)\n /** @type {number} */\n let counter\n\n let reuseCounter = state.footnoteCounts.get(id)\n\n if (reuseCounter === undefined) {\n reuseCounter = 0\n state.footnoteOrder.push(id)\n counter = state.footnoteOrder.length\n } else {\n counter = index + 1\n }\n\n reuseCounter += 1\n state.footnoteCounts.set(id, reuseCounter)\n\n /** @type {Element} */\n const link = {\n type: 'element',\n tagName: 'a',\n properties: {\n href: '#' + clobberPrefix + 'fn-' + safeId,\n id:\n clobberPrefix +\n 'fnref-' +\n safeId +\n (reuseCounter > 1 ? '-' + reuseCounter : ''),\n dataFootnoteRef: true,\n ariaDescribedBy: ['footnote-label']\n },\n children: [{type: 'text', value: String(counter)}]\n }\n state.patch(node, link)\n\n /** @type {Element} */\n const sup = {\n type: 'element',\n tagName: 'sup',\n properties: {},\n children: [link]\n }\n state.patch(node, sup)\n return state.applyData(node, sup)\n}\n"],"names":["state","node","clobberPrefix","options","id","String","identifier","toUpperCase","safeId","normalizeUri","toLowerCase","index","footnoteOrder","indexOf","counter","reuseCounter","footnoteCounts","get","undefined","push","length","set","link","type","tagName","properties","href","dataFootnoteRef","ariaDescribedBy","children","value","patch","sup","applyData"],"mappings":"6JAkBO,SAA2BA,EAAOC,GACvC,MAAMC,EACmC,iBAAhCF,EAAMG,QAAQD,cACjBF,EAAMG,QAAQD,cACd,gBACAE,EAAKC,OAAOJ,EAAKK,YAAYC,cAC7BC,EAASC,EAAAA,aAAaL,EAAGM,eACzBC,EAAQX,EAAMY,cAAcC,QAAQT,GAE1C,IAAIU,EAEAC,EAAef,EAAMgB,eAAeC,IAAIb,QAEvBc,IAAjBH,GACFA,EAAe,EACff,EAAMY,cAAcO,KAAKf,GACzBU,EAAUd,EAAMY,cAAcQ,QAE9BN,EAAUH,EAAQ,EAGpBI,GAAgB,EAChBf,EAAMgB,eAAeK,IAAIjB,EAAIW,GAG7B,MAAMO,EAAO,CACXC,KAAM,UACNC,QAAS,IACTC,WAAY,CACVC,KAAM,IAAMxB,EAAgB,MAAQM,EACpCJ,GACEF,EACA,SACAM,GACCO,EAAe,EAAI,IAAMA,EAAe,IAC3CY,iBAAiB,EACjBC,gBAAiB,CAAC,mBAEpBC,SAAU,CAAC,CAACN,KAAM,OAAQO,MAAOzB,OAAOS,MAE1Cd,EAAM+B,MAAM9B,EAAMqB,GAGlB,MAAMU,EAAM,CACVT,KAAM,UACNC,QAAS,MACTC,WAAY,CAAE,EACdI,SAAU,CAACP,IAGb,OADAtB,EAAM+B,MAAM9B,EAAM+B,GACXhC,EAAMiC,UAAUhC,EAAM+B,EAC/B"}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.heading=function(e,t){const p={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,p),e.applyData(t,p)};
2
+ //# sourceMappingURL=heading.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"heading.js","sources":["../../../../../../node_modules/mdast-util-to-hast/lib/handlers/heading.js"],"sourcesContent":["/**\n * @import {Element} from 'hast'\n * @import {Heading} from 'mdast'\n * @import {State} from '../state.js'\n */\n\n/**\n * Turn an mdast `heading` node into hast.\n *\n * @param {State} state\n * Info passed around.\n * @param {Heading} node\n * mdast node.\n * @returns {Element}\n * hast node.\n */\nexport function heading(state, node) {\n /** @type {Element} */\n const result = {\n type: 'element',\n tagName: 'h' + node.depth,\n properties: {},\n children: state.all(node)\n }\n state.patch(node, result)\n return state.applyData(node, result)\n}\n"],"names":["state","node","result","type","tagName","depth","properties","children","all","patch","applyData"],"mappings":"oFAgBO,SAAiBA,EAAOC,GAE7B,MAAMC,EAAS,CACbC,KAAM,UACNC,QAAS,IAAMH,EAAKI,MACpBC,WAAY,CAAE,EACdC,SAAUP,EAAMQ,IAAIP,IAGtB,OADAD,EAAMS,MAAMR,EAAMC,GACXF,EAAMU,UAAUT,EAAMC,EAC/B"}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.html=function(e,t){if(e.options.allowDangerousHtml){const a={type:"raw",value:t.value};return e.patch(t,a),e.applyData(t,a)}};
2
+ //# sourceMappingURL=html.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"html.js","sources":["../../../../../../node_modules/mdast-util-to-hast/lib/handlers/html.js"],"sourcesContent":["/**\n * @import {Element} from 'hast'\n * @import {Html} from 'mdast'\n * @import {State} from '../state.js'\n * @import {Raw} from '../../index.js'\n */\n\n/**\n * Turn an mdast `html` node into hast (`raw` node in dangerous mode, otherwise\n * nothing).\n *\n * @param {State} state\n * Info passed around.\n * @param {Html} node\n * mdast node.\n * @returns {Element | Raw | undefined}\n * hast node.\n */\nexport function html(state, node) {\n if (state.options.allowDangerousHtml) {\n /** @type {Raw} */\n const result = {type: 'raw', value: node.value}\n state.patch(node, result)\n return state.applyData(node, result)\n }\n\n return undefined\n}\n"],"names":["state","node","options","allowDangerousHtml","result","type","value","patch","applyData"],"mappings":"iFAkBO,SAAcA,EAAOC,GAC1B,GAAID,EAAME,QAAQC,mBAAoB,CAEpC,MAAMC,EAAS,CAACC,KAAM,MAAOC,MAAOL,EAAKK,OAEzC,OADAN,EAAMO,MAAMN,EAAMG,GACXJ,EAAMQ,UAAUP,EAAMG,EAC9B,CAGH"}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../micromark-util-sanitize-uri/index.js"),t=require("../revert.js");exports.imageReference=function(r,i){const n=String(i.identifier).toUpperCase(),l=r.definitionById.get(n);if(!l)return t.revert(r,i);const a={src:e.normalizeUri(l.url||""),alt:i.alt};null!==l.title&&void 0!==l.title&&(a.title=l.title);const o={type:"element",tagName:"img",properties:a,children:[]};return r.patch(i,o),r.applyData(i,o)};
2
+ //# sourceMappingURL=image-reference.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"image-reference.js","sources":["../../../../../../node_modules/mdast-util-to-hast/lib/handlers/image-reference.js"],"sourcesContent":["/**\n * @import {ElementContent, Element, Properties} from 'hast'\n * @import {ImageReference} from 'mdast'\n * @import {State} from '../state.js'\n */\n\nimport {normalizeUri} from 'micromark-util-sanitize-uri'\nimport {revert} from '../revert.js'\n\n/**\n * Turn an mdast `imageReference` node into hast.\n *\n * @param {State} state\n * Info passed around.\n * @param {ImageReference} node\n * mdast node.\n * @returns {Array<ElementContent> | ElementContent}\n * hast node.\n */\nexport function imageReference(state, node) {\n const id = String(node.identifier).toUpperCase()\n const definition = state.definitionById.get(id)\n\n if (!definition) {\n return revert(state, node)\n }\n\n /** @type {Properties} */\n const properties = {src: normalizeUri(definition.url || ''), alt: node.alt}\n\n if (definition.title !== null && definition.title !== undefined) {\n properties.title = definition.title\n }\n\n /** @type {Element} */\n const result = {type: 'element', tagName: 'img', properties, children: []}\n state.patch(node, result)\n return state.applyData(node, result)\n}\n"],"names":["state","node","id","String","identifier","toUpperCase","definition","definitionById","get","revert","properties","src","normalizeUri","url","alt","title","undefined","result","type","tagName","children","patch","applyData"],"mappings":"oLAmBO,SAAwBA,EAAOC,GACpC,MAAMC,EAAKC,OAAOF,EAAKG,YAAYC,cAC7BC,EAAaN,EAAMO,eAAeC,IAAIN,GAE5C,IAAKI,EACH,OAAOG,EAAMA,OAACT,EAAOC,GAIvB,MAAMS,EAAa,CAACC,IAAKC,EAAAA,aAAaN,EAAWO,KAAO,IAAKC,IAAKb,EAAKa,KAE9C,OAArBR,EAAWS,YAAuCC,IAArBV,EAAWS,QAC1CL,EAAWK,MAAQT,EAAWS,OAIhC,MAAME,EAAS,CAACC,KAAM,UAAWC,QAAS,MAAOT,aAAYU,SAAU,IAEvE,OADApB,EAAMqB,MAAMpB,EAAMgB,GACXjB,EAAMsB,UAAUrB,EAAMgB,EAC/B"}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t=require("../../../micromark-util-sanitize-uri/index.js");exports.image=function(e,i){const l={src:t.normalizeUri(i.url)};null!==i.alt&&void 0!==i.alt&&(l.alt=i.alt),null!==i.title&&void 0!==i.title&&(l.title=i.title);const r={type:"element",tagName:"img",properties:l,children:[]};return e.patch(i,r),e.applyData(i,r)};
2
+ //# sourceMappingURL=image.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"image.js","sources":["../../../../../../node_modules/mdast-util-to-hast/lib/handlers/image.js"],"sourcesContent":["/**\n * @import {Element, Properties} from 'hast'\n * @import {Image} from 'mdast'\n * @import {State} from '../state.js'\n */\n\nimport {normalizeUri} from 'micromark-util-sanitize-uri'\n\n/**\n * Turn an mdast `image` node into hast.\n *\n * @param {State} state\n * Info passed around.\n * @param {Image} node\n * mdast node.\n * @returns {Element}\n * hast node.\n */\nexport function image(state, node) {\n /** @type {Properties} */\n const properties = {src: normalizeUri(node.url)}\n\n if (node.alt !== null && node.alt !== undefined) {\n properties.alt = node.alt\n }\n\n if (node.title !== null && node.title !== undefined) {\n properties.title = node.title\n }\n\n /** @type {Element} */\n const result = {type: 'element', tagName: 'img', properties, children: []}\n state.patch(node, result)\n return state.applyData(node, result)\n}\n"],"names":["state","node","properties","src","normalizeUri","url","alt","undefined","title","result","type","tagName","children","patch","applyData"],"mappings":"iJAkBO,SAAeA,EAAOC,GAE3B,MAAMC,EAAa,CAACC,IAAKC,EAAYA,aAACH,EAAKI,MAE1B,OAAbJ,EAAKK,UAA6BC,IAAbN,EAAKK,MAC5BJ,EAAWI,IAAML,EAAKK,KAGL,OAAfL,EAAKO,YAAiCD,IAAfN,EAAKO,QAC9BN,EAAWM,MAAQP,EAAKO,OAI1B,MAAMC,EAAS,CAACC,KAAM,UAAWC,QAAS,MAAOT,aAAYU,SAAU,IAEvE,OADAZ,EAAMa,MAAMZ,EAAMQ,GACXT,EAAMc,UAAUb,EAAMQ,EAC/B"}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./blockquote.js"),r=require("./break.js"),i=require("./code.js"),t=require("./delete.js"),o=require("./emphasis.js"),s=require("./footnote-reference.js"),a=require("./heading.js"),l=require("./html.js"),n=require("./image-reference.js"),u=require("./image.js"),q=require("./inline-code.js"),c=require("./link-reference.js"),j=require("./link.js"),m=require("./list-item.js"),h=require("./list.js"),f=require("./paragraph.js"),b=require("./root.js"),d=require("./strong.js"),g=require("./table.js"),k=require("./table-row.js"),p=require("./table-cell.js"),R=require("./text.js"),x=require("./thematic-break.js");const C={blockquote:e.blockquote,break:r.hardBreak,code:i.code,delete:t.strikethrough,emphasis:o.emphasis,footnoteReference:s.footnoteReference,heading:a.heading,html:l.html,imageReference:n.imageReference,image:u.image,inlineCode:q.inlineCode,linkReference:c.linkReference,link:j.link,listItem:m.listItem,list:h.list,paragraph:f.paragraph,root:b.root,strong:d.strong,table:g.table,tableCell:p.tableCell,tableRow:k.tableRow,text:R.text,thematicBreak:x.thematicBreak,toml:w,yaml:w,definition:w,footnoteDefinition:w};function w(){}exports.handlers=C;
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../../../../node_modules/mdast-util-to-hast/lib/handlers/index.js"],"sourcesContent":["/**\n * @import {Handlers} from '../state.js'\n */\n\nimport {blockquote} from './blockquote.js'\nimport {hardBreak} from './break.js'\nimport {code} from './code.js'\nimport {strikethrough} from './delete.js'\nimport {emphasis} from './emphasis.js'\nimport {footnoteReference} from './footnote-reference.js'\nimport {heading} from './heading.js'\nimport {html} from './html.js'\nimport {imageReference} from './image-reference.js'\nimport {image} from './image.js'\nimport {inlineCode} from './inline-code.js'\nimport {linkReference} from './link-reference.js'\nimport {link} from './link.js'\nimport {listItem} from './list-item.js'\nimport {list} from './list.js'\nimport {paragraph} from './paragraph.js'\nimport {root} from './root.js'\nimport {strong} from './strong.js'\nimport {table} from './table.js'\nimport {tableRow} from './table-row.js'\nimport {tableCell} from './table-cell.js'\nimport {text} from './text.js'\nimport {thematicBreak} from './thematic-break.js'\n\n/**\n * Default handlers for nodes.\n *\n * @satisfies {Handlers}\n */\nexport const handlers = {\n blockquote,\n break: hardBreak,\n code,\n delete: strikethrough,\n emphasis,\n footnoteReference,\n heading,\n html,\n imageReference,\n image,\n inlineCode,\n linkReference,\n link,\n listItem,\n list,\n paragraph,\n // @ts-expect-error: root is different, but hard to type.\n root,\n strong,\n table,\n tableCell,\n tableRow,\n text,\n thematicBreak,\n toml: ignore,\n yaml: ignore,\n definition: ignore,\n footnoteDefinition: ignore\n}\n\n// Return nothing for nodes that are ignored.\nfunction ignore() {\n return undefined\n}\n"],"names":["handlers","blockquote","break","hardBreak","code","delete","strikethrough","emphasis","footnoteReference","heading","html","imageReference","image","inlineCode","linkReference","link","listItem","list","paragraph","root","strong","table","tableCell","tableRow","text","thematicBreak","toml","ignore","yaml","definition","footnoteDefinition"],"mappings":"srBAiCY,MAACA,EAAW,CACxBC,WAAEA,EAAUA,WACVC,MAAOC,EAASA,UAClBC,KAAEA,EAAIA,KACJC,OAAQC,EAAaA,cACvBC,SAAEA,EAAQA,SACVC,kBAAEA,EAAiBA,kBACnBC,QAAEA,EAAOA,QACTC,KAAEA,EAAIA,KACNC,eAAEA,EAAcA,eAChBC,MAAEA,EAAKA,MACPC,WAAEA,EAAUA,WACZC,cAAEA,EAAaA,cACfC,KAAEA,EAAIA,KACNC,SAAEA,EAAQA,SACVC,KAAEA,EAAIA,KACNC,UAAEA,EAASA,UAEXC,KAAEA,EAAIA,KACNC,OAAEA,EAAMA,OACRC,MAAEA,EAAKA,MACPC,UAAEA,EAASA,UACXC,SAAEA,EAAQA,SACVC,KAAEA,EAAIA,KACNC,cAAEA,EAAaA,cACbC,KAAMC,EACNC,KAAMD,EACNE,WAAYF,EACZG,mBAAoBH,GAItB,SAASA,IAET"}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.inlineCode=function(e,t){const r={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,r);const p={type:"element",tagName:"code",properties:{},children:[r]};return e.patch(t,p),e.applyData(t,p)};
2
+ //# sourceMappingURL=inline-code.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"inline-code.js","sources":["../../../../../../node_modules/mdast-util-to-hast/lib/handlers/inline-code.js"],"sourcesContent":["/**\n * @import {Element, Text} from 'hast'\n * @import {InlineCode} from 'mdast'\n * @import {State} from '../state.js'\n */\n\n/**\n * Turn an mdast `inlineCode` node into hast.\n *\n * @param {State} state\n * Info passed around.\n * @param {InlineCode} node\n * mdast node.\n * @returns {Element}\n * hast node.\n */\nexport function inlineCode(state, node) {\n /** @type {Text} */\n const text = {type: 'text', value: node.value.replace(/\\r?\\n|\\r/g, ' ')}\n state.patch(node, text)\n\n /** @type {Element} */\n const result = {\n type: 'element',\n tagName: 'code',\n properties: {},\n children: [text]\n }\n state.patch(node, result)\n return state.applyData(node, result)\n}\n"],"names":["state","node","text","type","value","replace","patch","result","tagName","properties","children","applyData"],"mappings":"uFAgBO,SAAoBA,EAAOC,GAEhC,MAAMC,EAAO,CAACC,KAAM,OAAQC,MAAOH,EAAKG,MAAMC,QAAQ,YAAa,MACnEL,EAAMM,MAAML,EAAMC,GAGlB,MAAMK,EAAS,CACbJ,KAAM,UACNK,QAAS,OACTC,WAAY,CAAE,EACdC,SAAU,CAACR,IAGb,OADAF,EAAMM,MAAML,EAAMM,GACXP,EAAMW,UAAUV,EAAMM,EAC/B"}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../micromark-util-sanitize-uri/index.js"),t=require("../revert.js");exports.linkReference=function(r,i){const n=String(i.identifier).toUpperCase(),l=r.definitionById.get(n);if(!l)return t.revert(r,i);const a={href:e.normalizeUri(l.url||"")};null!==l.title&&void 0!==l.title&&(a.title=l.title);const o={type:"element",tagName:"a",properties:a,children:r.all(i)};return r.patch(i,o),r.applyData(i,o)};
2
+ //# sourceMappingURL=link-reference.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"link-reference.js","sources":["../../../../../../node_modules/mdast-util-to-hast/lib/handlers/link-reference.js"],"sourcesContent":["/**\n * @import {ElementContent, Element, Properties} from 'hast'\n * @import {LinkReference} from 'mdast'\n * @import {State} from '../state.js'\n */\n\nimport {normalizeUri} from 'micromark-util-sanitize-uri'\nimport {revert} from '../revert.js'\n\n/**\n * Turn an mdast `linkReference` node into hast.\n *\n * @param {State} state\n * Info passed around.\n * @param {LinkReference} node\n * mdast node.\n * @returns {Array<ElementContent> | ElementContent}\n * hast node.\n */\nexport function linkReference(state, node) {\n const id = String(node.identifier).toUpperCase()\n const definition = state.definitionById.get(id)\n\n if (!definition) {\n return revert(state, node)\n }\n\n /** @type {Properties} */\n const properties = {href: normalizeUri(definition.url || '')}\n\n if (definition.title !== null && definition.title !== undefined) {\n properties.title = definition.title\n }\n\n /** @type {Element} */\n const result = {\n type: 'element',\n tagName: 'a',\n properties,\n children: state.all(node)\n }\n state.patch(node, result)\n return state.applyData(node, result)\n}\n"],"names":["state","node","id","String","identifier","toUpperCase","definition","definitionById","get","revert","properties","href","normalizeUri","url","title","undefined","result","type","tagName","children","all","patch","applyData"],"mappings":"mLAmBO,SAAuBA,EAAOC,GACnC,MAAMC,EAAKC,OAAOF,EAAKG,YAAYC,cAC7BC,EAAaN,EAAMO,eAAeC,IAAIN,GAE5C,IAAKI,EACH,OAAOG,EAAMA,OAACT,EAAOC,GAIvB,MAAMS,EAAa,CAACC,KAAMC,EAAAA,aAAaN,EAAWO,KAAO,KAEhC,OAArBP,EAAWQ,YAAuCC,IAArBT,EAAWQ,QAC1CJ,EAAWI,MAAQR,EAAWQ,OAIhC,MAAME,EAAS,CACbC,KAAM,UACNC,QAAS,IACTR,aACAS,SAAUnB,EAAMoB,IAAInB,IAGtB,OADAD,EAAMqB,MAAMpB,EAAMe,GACXhB,EAAMsB,UAAUrB,EAAMe,EAC/B"}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../micromark-util-sanitize-uri/index.js");exports.link=function(t,i){const r={href:e.normalizeUri(i.url)};null!==i.title&&void 0!==i.title&&(r.title=i.title);const l={type:"element",tagName:"a",properties:r,children:t.all(i)};return t.patch(i,l),t.applyData(i,l)};
2
+ //# sourceMappingURL=link.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"link.js","sources":["../../../../../../node_modules/mdast-util-to-hast/lib/handlers/link.js"],"sourcesContent":["/**\n * @import {Element, Properties} from 'hast'\n * @import {Link} from 'mdast'\n * @import {State} from '../state.js'\n */\n\nimport {normalizeUri} from 'micromark-util-sanitize-uri'\n\n/**\n * Turn an mdast `link` node into hast.\n *\n * @param {State} state\n * Info passed around.\n * @param {Link} node\n * mdast node.\n * @returns {Element}\n * hast node.\n */\nexport function link(state, node) {\n /** @type {Properties} */\n const properties = {href: normalizeUri(node.url)}\n\n if (node.title !== null && node.title !== undefined) {\n properties.title = node.title\n }\n\n /** @type {Element} */\n const result = {\n type: 'element',\n tagName: 'a',\n properties,\n children: state.all(node)\n }\n state.patch(node, result)\n return state.applyData(node, result)\n}\n"],"names":["state","node","properties","href","normalizeUri","url","title","undefined","result","type","tagName","children","all","patch","applyData"],"mappings":"gJAkBO,SAAcA,EAAOC,GAE1B,MAAMC,EAAa,CAACC,KAAMC,EAAYA,aAACH,EAAKI,MAEzB,OAAfJ,EAAKK,YAAiCC,IAAfN,EAAKK,QAC9BJ,EAAWI,MAAQL,EAAKK,OAI1B,MAAME,EAAS,CACbC,KAAM,UACNC,QAAS,IACTR,aACAS,SAAUX,EAAMY,IAAIX,IAGtB,OADAD,EAAMa,MAAMZ,EAAMO,GACXR,EAAMc,UAAUb,EAAMO,EAC/B"}
@@ -0,0 +1,2 @@
1
+ "use strict";function e(e){const t=e.spread;return null==t?e.children.length>1:t}Object.defineProperty(exports,"__esModule",{value:!0}),exports.listItem=function(t,n,l){const p=t.all(n),c=l?function(t){let n=!1;if("list"===t.type){n=t.spread||!1;const l=t.children;let p=-1;for(;!n&&++p<l.length;)n=e(l[p])}return n}(l):e(n),s={},a=[];if("boolean"==typeof n.checked){const e=p[0];let t;e&&"element"===e.type&&"p"===e.tagName?t=e:(t={type:"element",tagName:"p",properties:{},children:[]},p.unshift(t)),t.children.length>0&&t.children.unshift({type:"text",value:" "}),t.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:n.checked,disabled:!0},children:[]}),s.className=["task-list-item"]}let r=-1;for(;++r<p.length;){const e=p[r];(c||0!==r||"element"!==e.type||"p"!==e.tagName)&&a.push({type:"text",value:"\n"}),"element"!==e.type||"p"!==e.tagName||c?a.push(e):a.push(...e.children)}const i=p[p.length-1];i&&(c||"element"!==i.type||"p"!==i.tagName)&&a.push({type:"text",value:"\n"});const h={type:"element",tagName:"li",properties:s,children:a};return t.patch(n,h),t.applyData(n,h)};
2
+ //# sourceMappingURL=list-item.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-item.js","sources":["../../../../../../node_modules/mdast-util-to-hast/lib/handlers/list-item.js"],"sourcesContent":["/**\n * @import {ElementContent, Element, Properties} from 'hast'\n * @import {ListItem, Parents} from 'mdast'\n * @import {State} from '../state.js'\n */\n\n/**\n * Turn an mdast `listItem` node into hast.\n *\n * @param {State} state\n * Info passed around.\n * @param {ListItem} node\n * mdast node.\n * @param {Parents | undefined} parent\n * Parent of `node`.\n * @returns {Element}\n * hast node.\n */\nexport function listItem(state, node, parent) {\n const results = state.all(node)\n const loose = parent ? listLoose(parent) : listItemLoose(node)\n /** @type {Properties} */\n const properties = {}\n /** @type {Array<ElementContent>} */\n const children = []\n\n if (typeof node.checked === 'boolean') {\n const head = results[0]\n /** @type {Element} */\n let paragraph\n\n if (head && head.type === 'element' && head.tagName === 'p') {\n paragraph = head\n } else {\n paragraph = {type: 'element', tagName: 'p', properties: {}, children: []}\n results.unshift(paragraph)\n }\n\n if (paragraph.children.length > 0) {\n paragraph.children.unshift({type: 'text', value: ' '})\n }\n\n paragraph.children.unshift({\n type: 'element',\n tagName: 'input',\n properties: {type: 'checkbox', checked: node.checked, disabled: true},\n children: []\n })\n\n // According to github-markdown-css, this class hides bullet.\n // See: <https://github.com/sindresorhus/github-markdown-css>.\n properties.className = ['task-list-item']\n }\n\n let index = -1\n\n while (++index < results.length) {\n const child = results[index]\n\n // Add eols before nodes, except if this is a loose, first paragraph.\n if (\n loose ||\n index !== 0 ||\n child.type !== 'element' ||\n child.tagName !== 'p'\n ) {\n children.push({type: 'text', value: '\\n'})\n }\n\n if (child.type === 'element' && child.tagName === 'p' && !loose) {\n children.push(...child.children)\n } else {\n children.push(child)\n }\n }\n\n const tail = results[results.length - 1]\n\n // Add a final eol.\n if (tail && (loose || tail.type !== 'element' || tail.tagName !== 'p')) {\n children.push({type: 'text', value: '\\n'})\n }\n\n /** @type {Element} */\n const result = {type: 'element', tagName: 'li', properties, children}\n state.patch(node, result)\n return state.applyData(node, result)\n}\n\n/**\n * @param {Parents} node\n * @return {Boolean}\n */\nfunction listLoose(node) {\n let loose = false\n if (node.type === 'list') {\n loose = node.spread || false\n const children = node.children\n let index = -1\n\n while (!loose && ++index < children.length) {\n loose = listItemLoose(children[index])\n }\n }\n\n return loose\n}\n\n/**\n * @param {ListItem} node\n * @return {Boolean}\n */\nfunction listItemLoose(node) {\n const spread = node.spread\n\n return spread === null || spread === undefined\n ? node.children.length > 1\n : spread\n}\n"],"names":["listItemLoose","node","spread","children","length","state","parent","results","all","loose","type","index","listLoose","properties","checked","head","paragraph","tagName","unshift","value","disabled","className","child","push","tail","result","patch","applyData"],"mappings":"aAgHA,SAASA,EAAcC,GACrB,MAAMC,EAASD,EAAKC,OAEpB,OAAOA,QACHD,EAAKE,SAASC,OAAS,EACvBF,CACN,yEApGO,SAAkBG,EAAOJ,EAAMK,GACpC,MAAMC,EAAUF,EAAMG,IAAIP,GACpBQ,EAAQH,EAyEhB,SAAmBL,GACjB,IAAIQ,GAAQ,EACZ,GAAkB,SAAdR,EAAKS,KAAiB,CACxBD,EAAQR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B,EAAMwB,GACXpB,EAAMsB,UAAU1B,EAAMwB,EAC/B"}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.list=function(e,t){const r={},s=e.all(t);let a=-1;for("number"==typeof t.start&&1!==t.start&&(r.start=t.start);++a<s.length;){const e=s[a];if("element"===e.type&&"li"===e.tagName&&e.properties&&Array.isArray(e.properties.className)&&e.properties.className.includes("task-list-item")){r.className=["contains-task-list"];break}}const l={type:"element",tagName:t.ordered?"ol":"ul",properties:r,children:e.wrap(s,!0)};return e.patch(t,l),e.applyData(t,l)};
2
+ //# sourceMappingURL=list.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list.js","sources":["../../../../../../node_modules/mdast-util-to-hast/lib/handlers/list.js"],"sourcesContent":["/**\n * @import {Element, Properties} from 'hast'\n * @import {List} from 'mdast'\n * @import {State} from '../state.js'\n */\n\n/**\n * Turn an mdast `list` node into hast.\n *\n * @param {State} state\n * Info passed around.\n * @param {List} node\n * mdast node.\n * @returns {Element}\n * hast node.\n */\nexport function list(state, node) {\n /** @type {Properties} */\n const properties = {}\n const results = state.all(node)\n let index = -1\n\n if (typeof node.start === 'number' && node.start !== 1) {\n properties.start = node.start\n }\n\n // Like GitHub, add a class for custom styling.\n while (++index < results.length) {\n const child = results[index]\n\n if (\n child.type === 'element' &&\n child.tagName === 'li' &&\n child.properties &&\n Array.isArray(child.properties.className) &&\n child.properties.className.includes('task-list-item')\n ) {\n properties.className = ['contains-task-list']\n break\n }\n }\n\n /** @type {Element} */\n const result = {\n type: 'element',\n tagName: node.ordered ? 'ol' : 'ul',\n properties,\n children: state.wrap(results, true)\n }\n state.patch(node, result)\n return state.applyData(node, result)\n}\n"],"names":["state","node","properties","results","all","index","start","length","child","type","tagName","Array","isArray","className","includes","result","ordered","children","wrap","patch","applyData"],"mappings":"iFAgBO,SAAcA,EAAOC,GAE1B,MAAMC,EAAa,CAAE,EACfC,EAAUH,EAAMI,IAAIH,GAC1B,IAAII,GAAS,EAOb,IAL0B,iBAAfJ,EAAKK,OAAqC,IAAfL,EAAKK,QACzCJ,EAAWI,MAAQL,EAAKK,SAIjBD,EAAQF,EAAQI,QAAQ,CAC/B,MAAMC,EAAQL,EAAQE,GAEtB,GACiB,YAAfG,EAAMC,MACY,OAAlBD,EAAME,SACNF,EAAMN,YACNS,MAAMC,QAAQJ,EAAMN,WAAWW,YAC/BL,EAAMN,WAAWW,UAAUC,SAAS,kBACpC,CACAZ,EAAWW,UAAY,CAAC,sBACxB,KACD,CACF,CAGD,MAAME,EAAS,CACbN,KAAM,UACNC,QAAST,EAAKe,QAAU,KAAO,KAC/Bd,aACAe,SAAUjB,EAAMkB,KAAKf,GAAS,IAGhC,OADAH,EAAMmB,MAAMlB,EAAMc,GACXf,EAAMoB,UAAUnB,EAAMc,EAC/B"}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.paragraph=function(e,t){const p={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,p),e.applyData(t,p)};
2
+ //# sourceMappingURL=paragraph.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"paragraph.js","sources":["../../../../../../node_modules/mdast-util-to-hast/lib/handlers/paragraph.js"],"sourcesContent":["/**\n * @import {Element} from 'hast'\n * @import {Paragraph} from 'mdast'\n * @import {State} from '../state.js'\n */\n\n/**\n * Turn an mdast `paragraph` node into hast.\n *\n * @param {State} state\n * Info passed around.\n * @param {Paragraph} node\n * mdast node.\n * @returns {Element}\n * hast node.\n */\nexport function paragraph(state, node) {\n /** @type {Element} */\n const result = {\n type: 'element',\n tagName: 'p',\n properties: {},\n children: state.all(node)\n }\n state.patch(node, result)\n return state.applyData(node, result)\n}\n"],"names":["state","node","result","type","tagName","properties","children","all","patch","applyData"],"mappings":"sFAgBO,SAAmBA,EAAOC,GAE/B,MAAMC,EAAS,CACbC,KAAM,UACNC,QAAS,IACTC,WAAY,CAAE,EACdC,SAAUN,EAAMO,IAAIN,IAGtB,OADAD,EAAMQ,MAAMP,EAAMC,GACXF,EAAMS,UAAUR,EAAMC,EAC/B"}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.root=function(t,e){const r={type:"root",children:t.wrap(t.all(e))};return t.patch(e,r),t.applyData(e,r)};
2
+ //# sourceMappingURL=root.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"root.js","sources":["../../../../../../node_modules/mdast-util-to-hast/lib/handlers/root.js"],"sourcesContent":["/**\n * @import {Parents as HastParents, Root as HastRoot} from 'hast'\n * @import {Root as MdastRoot} from 'mdast'\n * @import {State} from '../state.js'\n */\n\n/**\n * Turn an mdast `root` node into hast.\n *\n * @param {State} state\n * Info passed around.\n * @param {MdastRoot} node\n * mdast node.\n * @returns {HastParents}\n * hast node.\n */\nexport function root(state, node) {\n /** @type {HastRoot} */\n const result = {type: 'root', children: state.wrap(state.all(node))}\n state.patch(node, result)\n return state.applyData(node, result)\n}\n"],"names":["state","node","result","type","children","wrap","all","patch","applyData"],"mappings":"iFAgBO,SAAcA,EAAOC,GAE1B,MAAMC,EAAS,CAACC,KAAM,OAAQC,SAAUJ,EAAMK,KAAKL,EAAMM,IAAIL,KAE7D,OADAD,EAAMO,MAAMN,EAAMC,GACXF,EAAMQ,UAAUP,EAAMC,EAC/B"}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.strong=function(e,t){const r={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)};
2
+ //# sourceMappingURL=strong.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"strong.js","sources":["../../../../../../node_modules/mdast-util-to-hast/lib/handlers/strong.js"],"sourcesContent":["/**\n * @import {Element} from 'hast'\n * @import {Strong} from 'mdast'\n * @import {State} from '../state.js'\n */\n\n/**\n * Turn an mdast `strong` node into hast.\n *\n * @param {State} state\n * Info passed around.\n * @param {Strong} node\n * mdast node.\n * @returns {Element}\n * hast node.\n */\nexport function strong(state, node) {\n /** @type {Element} */\n const result = {\n type: 'element',\n tagName: 'strong',\n properties: {},\n children: state.all(node)\n }\n state.patch(node, result)\n return state.applyData(node, result)\n}\n"],"names":["state","node","result","type","tagName","properties","children","all","patch","applyData"],"mappings":"mFAgBO,SAAgBA,EAAOC,GAE5B,MAAMC,EAAS,CACbC,KAAM,UACNC,QAAS,SACTC,WAAY,CAAE,EACdC,SAAUN,EAAMO,IAAIN,IAGtB,OADAD,EAAMQ,MAAMP,EAAMC,GACXF,EAAMS,UAAUR,EAAMC,EAC/B"}