@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,2 @@
1
+ const o="undefined"!=typeof window&&"undefined"!=typeof document,e="object"==typeof navigator&&navigator||void 0,t=o&&(!e||["ReactNative","NativeScript","NS"].indexOf(e.product)<0),n="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,i=o&&window.location.href||"http://localhost";export{o as hasBrowserEnv,t as hasStandardBrowserEnv,n as hasStandardBrowserWebWorkerEnv,e as navigator,i as origin};
2
+ //# sourceMappingURL=utils.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.js","sources":["../../../../../../node_modules/axios/lib/platform/common/utils.js"],"sourcesContent":["const hasBrowserEnv = typeof window !== 'undefined' && typeof document !== 'undefined';\n\nconst _navigator = typeof navigator === 'object' && navigator || undefined;\n\n/**\n * Determine if we're running in a standard browser environment\n *\n * This allows axios to run in a web worker, and react-native.\n * Both environments support XMLHttpRequest, but not fully standard globals.\n *\n * web workers:\n * typeof window -> undefined\n * typeof document -> undefined\n *\n * react-native:\n * navigator.product -> 'ReactNative'\n * nativescript\n * navigator.product -> 'NativeScript' or 'NS'\n *\n * @returns {boolean}\n */\nconst hasStandardBrowserEnv = hasBrowserEnv &&\n (!_navigator || ['ReactNative', 'NativeScript', 'NS'].indexOf(_navigator.product) < 0);\n\n/**\n * Determine if we're running in a standard browser webWorker environment\n *\n * Although the `isStandardBrowserEnv` method indicates that\n * `allows axios to run in a web worker`, the WebWorker will still be\n * filtered out due to its judgment standard\n * `typeof window !== 'undefined' && typeof document !== 'undefined'`.\n * This leads to a problem when axios post `FormData` in webWorker\n */\nconst hasStandardBrowserWebWorkerEnv = (() => {\n return (\n typeof WorkerGlobalScope !== 'undefined' &&\n // eslint-disable-next-line no-undef\n self instanceof WorkerGlobalScope &&\n typeof self.importScripts === 'function'\n );\n})();\n\nconst origin = hasBrowserEnv && window.location.href || 'http://localhost';\n\nexport {\n hasBrowserEnv,\n hasStandardBrowserWebWorkerEnv,\n hasStandardBrowserEnv,\n _navigator as navigator,\n origin\n}\n"],"names":["hasBrowserEnv","window","document","_navigator","navigator","undefined","hasStandardBrowserEnv","indexOf","product","hasStandardBrowserWebWorkerEnv","WorkerGlobalScope","self","importScripts","origin","location","href"],"mappings":"AAAK,MAACA,EAAkC,oBAAXC,QAA8C,oBAAbC,SAExDC,EAAkC,iBAAdC,WAA0BA,gBAAaC,EAmB3DC,EAAwBN,KAC1BG,GAAc,CAAC,cAAe,eAAgB,MAAMI,QAAQJ,EAAWK,SAAW,GAWhFC,EAE2B,oBAAtBC,mBAEPC,gBAAgBD,mBACc,mBAAvBC,KAAKC,cAIVC,EAASb,GAAiBC,OAAOa,SAASC,MAAQ"}
@@ -0,0 +1,2 @@
1
+ import o from"./browser/index.js";import*as r from"./common/utils.js";var m={...r,...o};export{m as default};
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../../../node_modules/axios/lib/platform/index.js"],"sourcesContent":["import platform from './node/index.js';\nimport * as utils from './common/utils.js';\n\nexport default {\n ...utils,\n ...platform\n}\n"],"names":["platform","utils"],"mappings":"sEAGA,IAAeA,EAAA,IACVC,KACAD"}
@@ -0,0 +1,2 @@
1
+ import e from"./helpers/bind.js";const{toString:t}=Object.prototype,{getPrototypeOf:r}=Object,n=(o=Object.create(null),e=>{const r=t.call(e);return o[r]||(o[r]=r.slice(8,-1).toLowerCase())});var o;const s=e=>(e=e.toLowerCase(),t=>n(t)===e),i=e=>t=>typeof t===e,{isArray:a}=Array,l=i("undefined");const c=s("ArrayBuffer");const u=i("string"),f=i("function"),p=i("number"),d=e=>null!==e&&"object"==typeof e,y=e=>{if("object"!==n(e))return!1;const t=r(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)},b=s("Date"),m=s("File"),g=s("Blob"),h=s("FileList"),O=s("URLSearchParams"),[w,A,j,F]=["ReadableStream","Request","Response","Headers"].map(s);function S(e,t,{allOwnKeys:r=!1}={}){if(null==e)return;let n,o;if("object"!=typeof e&&(e=[e]),a(e))for(n=0,o=e.length;n<o;n++)t.call(null,e[n],n,e);else{const o=r?Object.getOwnPropertyNames(e):Object.keys(e),s=o.length;let i;for(n=0;n<s;n++)i=o[n],t.call(null,e[i],i,e)}}function P(e,t){t=t.toLowerCase();const r=Object.keys(e);let n,o=r.length;for(;o-- >0;)if(n=r[o],t===n.toLowerCase())return n;return null}const L="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,x=e=>!l(e)&&e!==L;const T=(B="undefined"!=typeof Uint8Array&&r(Uint8Array),e=>B&&e instanceof B);var B;const C=s("HTMLFormElement"),D=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),E=s("RegExp"),v=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e),n={};S(r,(r,o)=>{let s;!1!==(s=t(r,o,e))&&(n[o]=s||r)}),Object.defineProperties(e,n)},M="abcdefghijklmnopqrstuvwxyz",R="0123456789",I={DIGIT:R,ALPHA:M,ALPHA_DIGIT:M+M.toUpperCase()+R};const k=s("AsyncFunction"),H=(N="function"==typeof setImmediate,U=f(L.postMessage),N?setImmediate:U?(q=`axios@${Math.random()}`,K=[],L.addEventListener("message",({source:e,data:t})=>{e===L&&t===q&&K.length&&K.shift()()},!1),e=>{K.push(e),L.postMessage(q,"*")}):e=>setTimeout(e));var N,U,q,K;const z="undefined"!=typeof queueMicrotask?queueMicrotask.bind(L):"undefined"!=typeof process&&process.nextTick||H;var G={isArray:a,isArrayBuffer:c,isBuffer:function(e){return null!==e&&!l(e)&&null!==e.constructor&&!l(e.constructor)&&f(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||f(e.append)&&("formdata"===(t=n(e))||"object"===t&&f(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&c(e.buffer),t},isString:u,isNumber:p,isBoolean:e=>!0===e||!1===e,isObject:d,isPlainObject:y,isReadableStream:w,isRequest:A,isResponse:j,isHeaders:F,isUndefined:l,isDate:b,isFile:m,isBlob:g,isRegExp:E,isFunction:f,isStream:e=>d(e)&&f(e.pipe),isURLSearchParams:O,isTypedArray:T,isFileList:h,forEach:S,merge:function e(){const{caseless:t}=x(this)&&this||{},r={},n=(n,o)=>{const s=t&&P(r,o)||o;y(r[s])&&y(n)?r[s]=e(r[s],n):y(n)?r[s]=e({},n):a(n)?r[s]=n.slice():r[s]=n};for(let e=0,t=arguments.length;e<t;e++)arguments[e]&&S(arguments[e],n);return r},extend:(t,r,n,{allOwnKeys:o}={})=>(S(r,(r,o)=>{n&&f(r)?t[o]=e(r,n):t[o]=r},{allOwnKeys:o}),t),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,r,n)=>{e.prototype=Object.create(t.prototype,n),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},toFlatObject:(e,t,n,o)=>{let s,i,a;const l={};if(t=t||{},null==e)return t;do{for(s=Object.getOwnPropertyNames(e),i=s.length;i-- >0;)a=s[i],o&&!o(a,e,t)||l[a]||(t[a]=e[a],l[a]=!0);e=!1!==n&&r(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:n,kindOfTest:s,endsWith:(e,t,r)=>{e=String(e),(void 0===r||r>e.length)&&(r=e.length),r-=t.length;const n=e.indexOf(t,r);return-1!==n&&n===r},toArray:e=>{if(!e)return null;if(a(e))return e;let t=e.length;if(!p(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},forEachEntry:(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let n;for(;(n=r.next())&&!n.done;){const r=n.value;t.call(e,r[0],r[1])}},matchAll:(e,t)=>{let r;const n=[];for(;null!==(r=e.exec(t));)n.push(r);return n},isHTMLForm:C,hasOwnProperty:D,hasOwnProp:D,reduceDescriptors:v,freezeMethods:e=>{v(e,(t,r)=>{if(f(e)&&-1!==["arguments","caller","callee"].indexOf(r))return!1;const n=e[r];f(n)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")}))})},toObjectSet:(e,t)=>{const r={},n=e=>{e.forEach(e=>{r[e]=!0})};return a(e)?n(e):n(String(e).split(t)),r},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,t,r){return t.toUpperCase()+r}),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,findKey:P,global:L,isContextDefined:x,ALPHABET:I,generateString:(e=16,t=I.ALPHA_DIGIT)=>{let r="";const{length:n}=t;for(;e--;)r+=t[Math.random()*n|0];return r},isSpecCompliantForm:function(e){return!!(e&&f(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])},toJSONObject:e=>{const t=new Array(10),r=(e,n)=>{if(d(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[n]=e;const o=a(e)?[]:{};return S(e,(e,t)=>{const s=r(e,n+1);!l(s)&&(o[t]=s)}),t[n]=void 0,o}}return e};return r(e,0)},isAsyncFn:k,isThenable:e=>e&&(d(e)||f(e))&&f(e.then)&&f(e.catch),setImmediate:H,asap:z};export{G as default};
2
+ //# sourceMappingURL=utils.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.js","sources":["../../../../node_modules/axios/lib/utils.js"],"sourcesContent":["'use strict';\n\nimport bind from './helpers/bind.js';\n\n// utils is a library of generic helper functions non-specific to axios\n\nconst {toString} = Object.prototype;\nconst {getPrototypeOf} = Object;\n\nconst kindOf = (cache => thing => {\n const str = toString.call(thing);\n return cache[str] || (cache[str] = str.slice(8, -1).toLowerCase());\n})(Object.create(null));\n\nconst kindOfTest = (type) => {\n type = type.toLowerCase();\n return (thing) => kindOf(thing) === type\n}\n\nconst typeOfTest = type => thing => typeof thing === type;\n\n/**\n * Determine if a value is an Array\n *\n * @param {Object} val The value to test\n *\n * @returns {boolean} True if value is an Array, otherwise false\n */\nconst {isArray} = Array;\n\n/**\n * Determine if a value is undefined\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if the value is undefined, otherwise false\n */\nconst isUndefined = typeOfTest('undefined');\n\n/**\n * Determine if a value is a Buffer\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a Buffer, otherwise false\n */\nfunction isBuffer(val) {\n return val !== null && !isUndefined(val) && val.constructor !== null && !isUndefined(val.constructor)\n && isFunction(val.constructor.isBuffer) && val.constructor.isBuffer(val);\n}\n\n/**\n * Determine if a value is an ArrayBuffer\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is an ArrayBuffer, otherwise false\n */\nconst isArrayBuffer = kindOfTest('ArrayBuffer');\n\n\n/**\n * Determine if a value is a view on an ArrayBuffer\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a view on an ArrayBuffer, otherwise false\n */\nfunction isArrayBufferView(val) {\n let result;\n if ((typeof ArrayBuffer !== 'undefined') && (ArrayBuffer.isView)) {\n result = ArrayBuffer.isView(val);\n } else {\n result = (val) && (val.buffer) && (isArrayBuffer(val.buffer));\n }\n return result;\n}\n\n/**\n * Determine if a value is a String\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a String, otherwise false\n */\nconst isString = typeOfTest('string');\n\n/**\n * Determine if a value is a Function\n *\n * @param {*} val The value to test\n * @returns {boolean} True if value is a Function, otherwise false\n */\nconst isFunction = typeOfTest('function');\n\n/**\n * Determine if a value is a Number\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a Number, otherwise false\n */\nconst isNumber = typeOfTest('number');\n\n/**\n * Determine if a value is an Object\n *\n * @param {*} thing The value to test\n *\n * @returns {boolean} True if value is an Object, otherwise false\n */\nconst isObject = (thing) => thing !== null && typeof thing === 'object';\n\n/**\n * Determine if a value is a Boolean\n *\n * @param {*} thing The value to test\n * @returns {boolean} True if value is a Boolean, otherwise false\n */\nconst isBoolean = thing => thing === true || thing === false;\n\n/**\n * Determine if a value is a plain Object\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a plain Object, otherwise false\n */\nconst isPlainObject = (val) => {\n if (kindOf(val) !== 'object') {\n return false;\n }\n\n const prototype = getPrototypeOf(val);\n return (prototype === null || prototype === Object.prototype || Object.getPrototypeOf(prototype) === null) && !(Symbol.toStringTag in val) && !(Symbol.iterator in val);\n}\n\n/**\n * Determine if a value is a Date\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a Date, otherwise false\n */\nconst isDate = kindOfTest('Date');\n\n/**\n * Determine if a value is a File\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a File, otherwise false\n */\nconst isFile = kindOfTest('File');\n\n/**\n * Determine if a value is a Blob\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a Blob, otherwise false\n */\nconst isBlob = kindOfTest('Blob');\n\n/**\n * Determine if a value is a FileList\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a File, otherwise false\n */\nconst isFileList = kindOfTest('FileList');\n\n/**\n * Determine if a value is a Stream\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a Stream, otherwise false\n */\nconst isStream = (val) => isObject(val) && isFunction(val.pipe);\n\n/**\n * Determine if a value is a FormData\n *\n * @param {*} thing The value to test\n *\n * @returns {boolean} True if value is an FormData, otherwise false\n */\nconst isFormData = (thing) => {\n let kind;\n return thing && (\n (typeof FormData === 'function' && thing instanceof FormData) || (\n isFunction(thing.append) && (\n (kind = kindOf(thing)) === 'formdata' ||\n // detect form-data instance\n (kind === 'object' && isFunction(thing.toString) && thing.toString() === '[object FormData]')\n )\n )\n )\n}\n\n/**\n * Determine if a value is a URLSearchParams object\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a URLSearchParams object, otherwise false\n */\nconst isURLSearchParams = kindOfTest('URLSearchParams');\n\nconst [isReadableStream, isRequest, isResponse, isHeaders] = ['ReadableStream', 'Request', 'Response', 'Headers'].map(kindOfTest);\n\n/**\n * Trim excess whitespace off the beginning and end of a string\n *\n * @param {String} str The String to trim\n *\n * @returns {String} The String freed of excess whitespace\n */\nconst trim = (str) => str.trim ?\n str.trim() : str.replace(/^[\\s\\uFEFF\\xA0]+|[\\s\\uFEFF\\xA0]+$/g, '');\n\n/**\n * Iterate over an Array or an Object invoking a function for each item.\n *\n * If `obj` is an Array callback will be called passing\n * the value, index, and complete array for each item.\n *\n * If 'obj' is an Object callback will be called passing\n * the value, key, and complete object for each property.\n *\n * @param {Object|Array} obj The object to iterate\n * @param {Function} fn The callback to invoke for each item\n *\n * @param {Boolean} [allOwnKeys = false]\n * @returns {any}\n */\nfunction forEach(obj, fn, {allOwnKeys = false} = {}) {\n // Don't bother if no value provided\n if (obj === null || typeof obj === 'undefined') {\n return;\n }\n\n let i;\n let l;\n\n // Force an array if not already something iterable\n if (typeof obj !== 'object') {\n /*eslint no-param-reassign:0*/\n obj = [obj];\n }\n\n if (isArray(obj)) {\n // Iterate over array values\n for (i = 0, l = obj.length; i < l; i++) {\n fn.call(null, obj[i], i, obj);\n }\n } else {\n // Iterate over object keys\n const keys = allOwnKeys ? Object.getOwnPropertyNames(obj) : Object.keys(obj);\n const len = keys.length;\n let key;\n\n for (i = 0; i < len; i++) {\n key = keys[i];\n fn.call(null, obj[key], key, obj);\n }\n }\n}\n\nfunction findKey(obj, key) {\n key = key.toLowerCase();\n const keys = Object.keys(obj);\n let i = keys.length;\n let _key;\n while (i-- > 0) {\n _key = keys[i];\n if (key === _key.toLowerCase()) {\n return _key;\n }\n }\n return null;\n}\n\nconst _global = (() => {\n /*eslint no-undef:0*/\n if (typeof globalThis !== \"undefined\") return globalThis;\n return typeof self !== \"undefined\" ? self : (typeof window !== 'undefined' ? window : global)\n})();\n\nconst isContextDefined = (context) => !isUndefined(context) && context !== _global;\n\n/**\n * Accepts varargs expecting each argument to be an object, then\n * immutably merges the properties of each object and returns result.\n *\n * When multiple objects contain the same key the later object in\n * the arguments list will take precedence.\n *\n * Example:\n *\n * ```js\n * var result = merge({foo: 123}, {foo: 456});\n * console.log(result.foo); // outputs 456\n * ```\n *\n * @param {Object} obj1 Object to merge\n *\n * @returns {Object} Result of all merge properties\n */\nfunction merge(/* obj1, obj2, obj3, ... */) {\n const {caseless} = isContextDefined(this) && this || {};\n const result = {};\n const assignValue = (val, key) => {\n const targetKey = caseless && findKey(result, key) || key;\n if (isPlainObject(result[targetKey]) && isPlainObject(val)) {\n result[targetKey] = merge(result[targetKey], val);\n } else if (isPlainObject(val)) {\n result[targetKey] = merge({}, val);\n } else if (isArray(val)) {\n result[targetKey] = val.slice();\n } else {\n result[targetKey] = val;\n }\n }\n\n for (let i = 0, l = arguments.length; i < l; i++) {\n arguments[i] && forEach(arguments[i], assignValue);\n }\n return result;\n}\n\n/**\n * Extends object a by mutably adding to it the properties of object b.\n *\n * @param {Object} a The object to be extended\n * @param {Object} b The object to copy properties from\n * @param {Object} thisArg The object to bind function to\n *\n * @param {Boolean} [allOwnKeys]\n * @returns {Object} The resulting value of object a\n */\nconst extend = (a, b, thisArg, {allOwnKeys}= {}) => {\n forEach(b, (val, key) => {\n if (thisArg && isFunction(val)) {\n a[key] = bind(val, thisArg);\n } else {\n a[key] = val;\n }\n }, {allOwnKeys});\n return a;\n}\n\n/**\n * Remove byte order marker. This catches EF BB BF (the UTF-8 BOM)\n *\n * @param {string} content with BOM\n *\n * @returns {string} content value without BOM\n */\nconst stripBOM = (content) => {\n if (content.charCodeAt(0) === 0xFEFF) {\n content = content.slice(1);\n }\n return content;\n}\n\n/**\n * Inherit the prototype methods from one constructor into another\n * @param {function} constructor\n * @param {function} superConstructor\n * @param {object} [props]\n * @param {object} [descriptors]\n *\n * @returns {void}\n */\nconst inherits = (constructor, superConstructor, props, descriptors) => {\n constructor.prototype = Object.create(superConstructor.prototype, descriptors);\n constructor.prototype.constructor = constructor;\n Object.defineProperty(constructor, 'super', {\n value: superConstructor.prototype\n });\n props && Object.assign(constructor.prototype, props);\n}\n\n/**\n * Resolve object with deep prototype chain to a flat object\n * @param {Object} sourceObj source object\n * @param {Object} [destObj]\n * @param {Function|Boolean} [filter]\n * @param {Function} [propFilter]\n *\n * @returns {Object}\n */\nconst toFlatObject = (sourceObj, destObj, filter, propFilter) => {\n let props;\n let i;\n let prop;\n const merged = {};\n\n destObj = destObj || {};\n // eslint-disable-next-line no-eq-null,eqeqeq\n if (sourceObj == null) return destObj;\n\n do {\n props = Object.getOwnPropertyNames(sourceObj);\n i = props.length;\n while (i-- > 0) {\n prop = props[i];\n if ((!propFilter || propFilter(prop, sourceObj, destObj)) && !merged[prop]) {\n destObj[prop] = sourceObj[prop];\n merged[prop] = true;\n }\n }\n sourceObj = filter !== false && getPrototypeOf(sourceObj);\n } while (sourceObj && (!filter || filter(sourceObj, destObj)) && sourceObj !== Object.prototype);\n\n return destObj;\n}\n\n/**\n * Determines whether a string ends with the characters of a specified string\n *\n * @param {String} str\n * @param {String} searchString\n * @param {Number} [position= 0]\n *\n * @returns {boolean}\n */\nconst endsWith = (str, searchString, position) => {\n str = String(str);\n if (position === undefined || position > str.length) {\n position = str.length;\n }\n position -= searchString.length;\n const lastIndex = str.indexOf(searchString, position);\n return lastIndex !== -1 && lastIndex === position;\n}\n\n\n/**\n * Returns new array from array like object or null if failed\n *\n * @param {*} [thing]\n *\n * @returns {?Array}\n */\nconst toArray = (thing) => {\n if (!thing) return null;\n if (isArray(thing)) return thing;\n let i = thing.length;\n if (!isNumber(i)) return null;\n const arr = new Array(i);\n while (i-- > 0) {\n arr[i] = thing[i];\n }\n return arr;\n}\n\n/**\n * Checking if the Uint8Array exists and if it does, it returns a function that checks if the\n * thing passed in is an instance of Uint8Array\n *\n * @param {TypedArray}\n *\n * @returns {Array}\n */\n// eslint-disable-next-line func-names\nconst isTypedArray = (TypedArray => {\n // eslint-disable-next-line func-names\n return thing => {\n return TypedArray && thing instanceof TypedArray;\n };\n})(typeof Uint8Array !== 'undefined' && getPrototypeOf(Uint8Array));\n\n/**\n * For each entry in the object, call the function with the key and value.\n *\n * @param {Object<any, any>} obj - The object to iterate over.\n * @param {Function} fn - The function to call for each entry.\n *\n * @returns {void}\n */\nconst forEachEntry = (obj, fn) => {\n const generator = obj && obj[Symbol.iterator];\n\n const iterator = generator.call(obj);\n\n let result;\n\n while ((result = iterator.next()) && !result.done) {\n const pair = result.value;\n fn.call(obj, pair[0], pair[1]);\n }\n}\n\n/**\n * It takes a regular expression and a string, and returns an array of all the matches\n *\n * @param {string} regExp - The regular expression to match against.\n * @param {string} str - The string to search.\n *\n * @returns {Array<boolean>}\n */\nconst matchAll = (regExp, str) => {\n let matches;\n const arr = [];\n\n while ((matches = regExp.exec(str)) !== null) {\n arr.push(matches);\n }\n\n return arr;\n}\n\n/* Checking if the kindOfTest function returns true when passed an HTMLFormElement. */\nconst isHTMLForm = kindOfTest('HTMLFormElement');\n\nconst toCamelCase = str => {\n return str.toLowerCase().replace(/[-_\\s]([a-z\\d])(\\w*)/g,\n function replacer(m, p1, p2) {\n return p1.toUpperCase() + p2;\n }\n );\n};\n\n/* Creating a function that will check if an object has a property. */\nconst hasOwnProperty = (({hasOwnProperty}) => (obj, prop) => hasOwnProperty.call(obj, prop))(Object.prototype);\n\n/**\n * Determine if a value is a RegExp object\n *\n * @param {*} val The value to test\n *\n * @returns {boolean} True if value is a RegExp object, otherwise false\n */\nconst isRegExp = kindOfTest('RegExp');\n\nconst reduceDescriptors = (obj, reducer) => {\n const descriptors = Object.getOwnPropertyDescriptors(obj);\n const reducedDescriptors = {};\n\n forEach(descriptors, (descriptor, name) => {\n let ret;\n if ((ret = reducer(descriptor, name, obj)) !== false) {\n reducedDescriptors[name] = ret || descriptor;\n }\n });\n\n Object.defineProperties(obj, reducedDescriptors);\n}\n\n/**\n * Makes all methods read-only\n * @param {Object} obj\n */\n\nconst freezeMethods = (obj) => {\n reduceDescriptors(obj, (descriptor, name) => {\n // skip restricted props in strict mode\n if (isFunction(obj) && ['arguments', 'caller', 'callee'].indexOf(name) !== -1) {\n return false;\n }\n\n const value = obj[name];\n\n if (!isFunction(value)) return;\n\n descriptor.enumerable = false;\n\n if ('writable' in descriptor) {\n descriptor.writable = false;\n return;\n }\n\n if (!descriptor.set) {\n descriptor.set = () => {\n throw Error('Can not rewrite read-only method \\'' + name + '\\'');\n };\n }\n });\n}\n\nconst toObjectSet = (arrayOrString, delimiter) => {\n const obj = {};\n\n const define = (arr) => {\n arr.forEach(value => {\n obj[value] = true;\n });\n }\n\n isArray(arrayOrString) ? define(arrayOrString) : define(String(arrayOrString).split(delimiter));\n\n return obj;\n}\n\nconst noop = () => {}\n\nconst toFiniteNumber = (value, defaultValue) => {\n return value != null && Number.isFinite(value = +value) ? value : defaultValue;\n}\n\nconst ALPHA = 'abcdefghijklmnopqrstuvwxyz'\n\nconst DIGIT = '0123456789';\n\nconst ALPHABET = {\n DIGIT,\n ALPHA,\n ALPHA_DIGIT: ALPHA + ALPHA.toUpperCase() + DIGIT\n}\n\nconst generateString = (size = 16, alphabet = ALPHABET.ALPHA_DIGIT) => {\n let str = '';\n const {length} = alphabet;\n while (size--) {\n str += alphabet[Math.random() * length|0]\n }\n\n return str;\n}\n\n/**\n * If the thing is a FormData object, return true, otherwise return false.\n *\n * @param {unknown} thing - The thing to check.\n *\n * @returns {boolean}\n */\nfunction isSpecCompliantForm(thing) {\n return !!(thing && isFunction(thing.append) && thing[Symbol.toStringTag] === 'FormData' && thing[Symbol.iterator]);\n}\n\nconst toJSONObject = (obj) => {\n const stack = new Array(10);\n\n const visit = (source, i) => {\n\n if (isObject(source)) {\n if (stack.indexOf(source) >= 0) {\n return;\n }\n\n if(!('toJSON' in source)) {\n stack[i] = source;\n const target = isArray(source) ? [] : {};\n\n forEach(source, (value, key) => {\n const reducedValue = visit(value, i + 1);\n !isUndefined(reducedValue) && (target[key] = reducedValue);\n });\n\n stack[i] = undefined;\n\n return target;\n }\n }\n\n return source;\n }\n\n return visit(obj, 0);\n}\n\nconst isAsyncFn = kindOfTest('AsyncFunction');\n\nconst isThenable = (thing) =>\n thing && (isObject(thing) || isFunction(thing)) && isFunction(thing.then) && isFunction(thing.catch);\n\n// original code\n// https://github.com/DigitalBrainJS/AxiosPromise/blob/16deab13710ec09779922131f3fa5954320f83ab/lib/utils.js#L11-L34\n\nconst _setImmediate = ((setImmediateSupported, postMessageSupported) => {\n if (setImmediateSupported) {\n return setImmediate;\n }\n\n return postMessageSupported ? ((token, callbacks) => {\n _global.addEventListener(\"message\", ({source, data}) => {\n if (source === _global && data === token) {\n callbacks.length && callbacks.shift()();\n }\n }, false);\n\n return (cb) => {\n callbacks.push(cb);\n _global.postMessage(token, \"*\");\n }\n })(`axios@${Math.random()}`, []) : (cb) => setTimeout(cb);\n})(\n typeof setImmediate === 'function',\n isFunction(_global.postMessage)\n);\n\nconst asap = typeof queueMicrotask !== 'undefined' ?\n queueMicrotask.bind(_global) : ( typeof process !== 'undefined' && process.nextTick || _setImmediate);\n\n// *********************\n\nexport default {\n isArray,\n isArrayBuffer,\n isBuffer,\n isFormData,\n isArrayBufferView,\n isString,\n isNumber,\n isBoolean,\n isObject,\n isPlainObject,\n isReadableStream,\n isRequest,\n isResponse,\n isHeaders,\n isUndefined,\n isDate,\n isFile,\n isBlob,\n isRegExp,\n isFunction,\n isStream,\n isURLSearchParams,\n isTypedArray,\n isFileList,\n forEach,\n merge,\n extend,\n trim,\n stripBOM,\n inherits,\n toFlatObject,\n kindOf,\n kindOfTest,\n endsWith,\n toArray,\n forEachEntry,\n matchAll,\n isHTMLForm,\n hasOwnProperty,\n hasOwnProp: hasOwnProperty, // an alias to avoid ESLint no-prototype-builtins detection\n reduceDescriptors,\n freezeMethods,\n toObjectSet,\n toCamelCase,\n noop,\n toFiniteNumber,\n findKey,\n global: _global,\n isContextDefined,\n ALPHABET,\n generateString,\n isSpecCompliantForm,\n toJSONObject,\n isAsyncFn,\n isThenable,\n setImmediate: _setImmediate,\n asap\n};\n"],"names":["toString","Object","prototype","getPrototypeOf","kindOf","cache","create","thing","str","call","slice","toLowerCase","kindOfTest","type","typeOfTest","isArray","Array","isUndefined","isArrayBuffer","isString","isFunction","isNumber","isObject","isPlainObject","val","Symbol","toStringTag","iterator","isDate","isFile","isBlob","isFileList","isURLSearchParams","isReadableStream","isRequest","isResponse","isHeaders","map","forEach","obj","fn","allOwnKeys","i","l","length","keys","getOwnPropertyNames","len","key","findKey","_key","_global","globalThis","self","window","global","isContextDefined","context","isTypedArray","TypedArray","Uint8Array","isHTMLForm","hasOwnProperty","prop","isRegExp","reduceDescriptors","reducer","descriptors","getOwnPropertyDescriptors","reducedDescriptors","descriptor","name","ret","defineProperties","ALPHA","DIGIT","ALPHABET","ALPHA_DIGIT","toUpperCase","isAsyncFn","_setImmediate","setImmediateSupported","setImmediate","postMessageSupported","postMessage","token","Math","random","callbacks","addEventListener","source","data","shift","cb","push","setTimeout","asap","queueMicrotask","bind","process","nextTick","utils","isBuffer","constructor","isFormData","kind","FormData","append","isArrayBufferView","result","ArrayBuffer","isView","buffer","isBoolean","isStream","pipe","merge","caseless","this","assignValue","targetKey","arguments","extend","a","b","thisArg","trim","replace","stripBOM","content","charCodeAt","inherits","superConstructor","props","defineProperty","value","assign","toFlatObject","sourceObj","destObj","filter","propFilter","merged","endsWith","searchString","position","String","undefined","lastIndex","indexOf","toArray","arr","forEachEntry","next","done","pair","matchAll","regExp","matches","exec","hasOwnProp","freezeMethods","enumerable","writable","set","Error","toObjectSet","arrayOrString","delimiter","define","split","toCamelCase","m","p1","p2","noop","toFiniteNumber","defaultValue","Number","isFinite","generateString","size","alphabet","isSpecCompliantForm","toJSONObject","stack","visit","target","reducedValue","isThenable","then","catch"],"mappings":"iCAMA,MAAMA,SAACA,GAAYC,OAAOC,WACpBC,eAACA,GAAkBF,OAEnBG,GAAUC,EAGbJ,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,MAAM,IAElB0K,EAAQ,CAAChG,EAAQhD,KAErB,GAAIpB,EAASoE,GAAS,CACpB,GAAI+F,EAAMpC,QAAQ3D,IAAW,EAC3B,OAGF,KAAK,WAAYA,GAAS,CACxB+F,EAAM/I,GAAKgD,EACX,MAAMiG,EAAS5K,EAAQ2E,GAAU,GAAK,CAAA,EAStC,OAPApD,EAAQoD,EAAQ,CAAC6C,EAAOvF,KACtB,MAAM4I,EAAeF,EAAMnD,EAAO7F,EAAI,IACrCzB,EAAY2K,KAAkBD,EAAO3I,GAAO4I,KAG/CH,EAAM/I,QAAKyG,EAEJwC,CACR,CACF,CAED,OAAOjG,GAGT,OAAOgG,EAAMnJ,EAAK,IA4FlBwC,YACA8G,WAxFkBtL,GAClBA,IAAUe,EAASf,IAAUa,EAAWb,KAAWa,EAAWb,EAAMuL,OAAS1K,EAAWb,EAAMwL,OAwF9F7G,aAAcF,EACdgB"}
@@ -0,0 +1,2 @@
1
+ function o(o){if(o)throw o}export{o as bail};
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../node_modules/bail/index.js"],"sourcesContent":["/**\n * Throw a given error.\n *\n * @param {Error|null|undefined} [error]\n * Maybe error.\n * @returns {asserts error is null|undefined}\n */\nexport function bail(error) {\n if (error) {\n throw error\n }\n}\n"],"names":["bail","error"],"mappings":"AAOO,SAASA,EAAKC,GACnB,GAAIA,EACF,MAAMA,CAEV"}
@@ -0,0 +1,2 @@
1
+ function t(t,n){const e=n||{};return(""===t[t.length-1]?[...t,""]:t).join((e.padRight?" ":"")+","+(!1===e.padLeft?"":" ")).trim()}export{t as stringify};
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../node_modules/comma-separated-tokens/index.js"],"sourcesContent":["/**\n * @typedef Options\n * Configuration for `stringify`.\n * @property {boolean} [padLeft=true]\n * Whether to pad a space before a token.\n * @property {boolean} [padRight=false]\n * Whether to pad a space after a token.\n */\n\n/**\n * @typedef {Options} StringifyOptions\n * Please use `StringifyOptions` instead.\n */\n\n/**\n * Parse comma-separated tokens to an array.\n *\n * @param {string} value\n * Comma-separated tokens.\n * @returns {Array<string>}\n * List of tokens.\n */\nexport function parse(value) {\n /** @type {Array<string>} */\n const tokens = []\n const input = String(value || '')\n let index = input.indexOf(',')\n let start = 0\n /** @type {boolean} */\n let end = false\n\n while (!end) {\n if (index === -1) {\n index = input.length\n end = true\n }\n\n const token = input.slice(start, index).trim()\n\n if (token || !end) {\n tokens.push(token)\n }\n\n start = index + 1\n index = input.indexOf(',', start)\n }\n\n return tokens\n}\n\n/**\n * Serialize an array of strings or numbers to comma-separated tokens.\n *\n * @param {Array<string|number>} values\n * List of tokens.\n * @param {Options} [options]\n * Configuration for `stringify` (optional).\n * @returns {string}\n * Comma-separated tokens.\n */\nexport function stringify(values, options) {\n const settings = options || {}\n\n // Ensure the last empty entry is seen.\n const input = values[values.length - 1] === '' ? [...values, ''] : values\n\n return input\n .join(\n (settings.padRight ? ' ' : '') +\n ',' +\n (settings.padLeft === false ? '' : ' ')\n )\n .trim()\n}\n"],"names":["stringify","values","options","settings","length","join","padRight","padLeft","trim"],"mappings":"AA4DO,SAASA,EAAUC,EAAQC,GAChC,MAAMC,EAAWD,GAAW,CAAE,EAK9B,OAF4C,KAA9BD,EAAOA,EAAOG,OAAS,GAAY,IAAIH,EAAQ,IAAMA,GAGhEI,MACEF,EAASG,SAAW,IAAM,IACzB,MACsB,IAArBH,EAASI,QAAoB,GAAK,MAEtCC,MACL"}
@@ -0,0 +1,2 @@
1
+ const t=document.createElement("i");function e(e){const n="&"+e+";";t.innerHTML=n;const o=t.textContent;return(59!==o.charCodeAt(o.length-1)||"semi"===e)&&(o!==n&&o)}export{e as decodeNamedCharacterReference};
2
+ //# sourceMappingURL=index.dom.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.dom.js","sources":["../../../node_modules/decode-named-character-reference/index.dom.js"],"sourcesContent":["/// <reference lib=\"dom\" />\n\n/* global document */\n\nconst element = document.createElement('i')\n\n/**\n * @param {string} value\n * @returns {string | false}\n */\nexport function decodeNamedCharacterReference(value) {\n const characterReference = '&' + value + ';'\n element.innerHTML = characterReference\n const character = element.textContent\n\n // Some named character references do not require the closing semicolon\n // (`&not`, for instance), which leads to situations where parsing the assumed\n // named reference of `&notit;` will result in the string `¬it;`.\n // When we encounter a trailing semicolon after parsing, and the character\n // reference to decode was not a semicolon (`&semi;`), we can assume that the\n // matching was not complete.\n if (\n character.charCodeAt(character.length - 1) === 59 /* `;` */ &&\n value !== 'semi'\n ) {\n return false\n }\n\n // If the decoded string is equal to the input, the character reference was\n // not valid.\n return character === characterReference ? false : character\n}\n"],"names":["element","document","createElement","decodeNamedCharacterReference","value","characterReference","innerHTML","character","textContent","charCodeAt","length"],"mappings":"AAIA,MAAMA,EAAUC,SAASC,cAAc,KAMhC,SAASC,EAA8BC,GAC5C,MAAMC,EAAqB,IAAMD,EAAQ,IACzCJ,EAAQM,UAAYD,EACpB,MAAME,EAAYP,EAAQQ,YAQ1B,OACiD,KAA/CD,EAAUE,WAAWF,EAAUG,OAAS,IAC9B,SAAVN,KAOKG,IAAcF,GAA6BE,EACpD"}
@@ -0,0 +1,2 @@
1
+ function n(){}function o(){}export{n as ok,o as unreachable};
2
+ //# sourceMappingURL=default.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"default.js","sources":["../../../../node_modules/devlop/lib/default.js"],"sourcesContent":["export function deprecate(fn) {\n return fn\n}\n\nexport function equal() {}\n\nexport function ok() {}\n\nexport function unreachable() {}\n"],"names":["ok","unreachable"],"mappings":"AAMO,SAASA,IAAO,CAEhB,SAASC,IAAc"}
@@ -0,0 +1,2 @@
1
+ const t=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,u=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,n={};function _(_,D){return((D||n).jsx?u:t).test(_)}export{_ as name};
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../../node_modules/estree-util-is-identifier-name/lib/index.js"],"sourcesContent":["/**\n * @typedef Options\n * Configuration.\n * @property {boolean | null | undefined} [jsx=false]\n * Support JSX identifiers (default: `false`).\n */\n\nconst startRe = /[$_\\p{ID_Start}]/u\nconst contRe = /[$_\\u{200C}\\u{200D}\\p{ID_Continue}]/u\nconst contReJsx = /[-$_\\u{200C}\\u{200D}\\p{ID_Continue}]/u\nconst nameRe = /^[$_\\p{ID_Start}][$_\\u{200C}\\u{200D}\\p{ID_Continue}]*$/u\nconst nameReJsx = /^[$_\\p{ID_Start}][-$_\\u{200C}\\u{200D}\\p{ID_Continue}]*$/u\n\n/** @type {Options} */\nconst emptyOptions = {}\n\n/**\n * Checks if the given code point can start an identifier.\n *\n * @param {number | undefined} code\n * Code point to check.\n * @returns {boolean}\n * Whether `code` can start an identifier.\n */\n// Note: `undefined` is supported so you can pass the result from `''.codePointAt`.\nexport function start(code) {\n return code ? startRe.test(String.fromCodePoint(code)) : false\n}\n\n/**\n * Checks if the given code point can continue an identifier.\n *\n * @param {number | undefined} code\n * Code point to check.\n * @param {Options | null | undefined} [options]\n * Configuration (optional).\n * @returns {boolean}\n * Whether `code` can continue an identifier.\n */\n// Note: `undefined` is supported so you can pass the result from `''.codePointAt`.\nexport function cont(code, options) {\n const settings = options || emptyOptions\n const re = settings.jsx ? contReJsx : contRe\n return code ? re.test(String.fromCodePoint(code)) : false\n}\n\n/**\n * Checks if the given value is a valid identifier name.\n *\n * @param {string} name\n * Identifier to check.\n * @param {Options | null | undefined} [options]\n * Configuration (optional).\n * @returns {boolean}\n * Whether `name` can be an identifier.\n */\nexport function name(name, options) {\n const settings = options || emptyOptions\n const re = settings.jsx ? nameReJsx : nameRe\n return re.test(name)\n}\n"],"names":["nameRe","nameReJsx","emptyOptions","name","options","jsx","test"],"mappings":"AAUA,MAAMA,EAAS,0DACTC,EAAY,2DAGZC,EAAe,CAAE,EA0ChB,SAASC,EAAKA,EAAMC,GAGzB,QAFiBA,GAAWF,GACRG,IAAMJ,EAAYD,GAC5BM,KAAKH,EACjB"}
@@ -0,0 +1,2 @@
1
+ var r,t;function e(){if(t)return r;t=1;var e=Object.prototype.hasOwnProperty,o=Object.prototype.toString,n=Object.defineProperty,c=Object.getOwnPropertyDescriptor,u=function(r){return"function"==typeof Array.isArray?Array.isArray(r):"[object Array]"===o.call(r)},a=function(r){if(!r||"[object Object]"!==o.call(r))return!1;var t,n=e.call(r,"constructor"),c=r.constructor&&r.constructor.prototype&&e.call(r.constructor.prototype,"isPrototypeOf");if(r.constructor&&!n&&!c)return!1;for(t in r);return void 0===t||e.call(r,t)},i=function(r,t){n&&"__proto__"===t.name?n(r,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):r[t.name]=t.newValue},l=function(r,t){if("__proto__"===t){if(!e.call(r,t))return;if(c)return c(r,t).value}return r[t]};return r=function r(){var t,e,o,n,c,f,p=arguments[0],y=1,b=arguments.length,s=!1;for("boolean"==typeof p&&(s=p,p=arguments[1]||{},y=2),(null==p||"object"!=typeof p&&"function"!=typeof p)&&(p={});y<b;++y)if(null!=(t=arguments[y]))for(e in t)o=l(p,e),p!==(n=l(t,e))&&(s&&n&&(a(n)||(c=u(n)))?(c?(c=!1,f=o&&u(o)?o:[]):f=o&&a(o)?o:{},i(p,{name:e,newValue:r(s,f,n)})):void 0!==n&&i(p,{name:e,newValue:n}));return p},r}export{e as __require};
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../node_modules/extend/index.js"],"sourcesContent":["'use strict';\n\nvar hasOwn = Object.prototype.hasOwnProperty;\nvar toStr = Object.prototype.toString;\nvar defineProperty = Object.defineProperty;\nvar gOPD = Object.getOwnPropertyDescriptor;\n\nvar isArray = function isArray(arr) {\n\tif (typeof Array.isArray === 'function') {\n\t\treturn Array.isArray(arr);\n\t}\n\n\treturn toStr.call(arr) === '[object Array]';\n};\n\nvar isPlainObject = function isPlainObject(obj) {\n\tif (!obj || toStr.call(obj) !== '[object Object]') {\n\t\treturn false;\n\t}\n\n\tvar hasOwnConstructor = hasOwn.call(obj, 'constructor');\n\tvar hasIsPrototypeOf = obj.constructor && obj.constructor.prototype && hasOwn.call(obj.constructor.prototype, 'isPrototypeOf');\n\t// Not own constructor property must be Object\n\tif (obj.constructor && !hasOwnConstructor && !hasIsPrototypeOf) {\n\t\treturn false;\n\t}\n\n\t// Own properties are enumerated firstly, so to speed up,\n\t// if last one is own, then all properties are own.\n\tvar key;\n\tfor (key in obj) { /**/ }\n\n\treturn typeof key === 'undefined' || hasOwn.call(obj, key);\n};\n\n// If name is '__proto__', and Object.defineProperty is available, define __proto__ as an own property on target\nvar setProperty = function setProperty(target, options) {\n\tif (defineProperty && options.name === '__proto__') {\n\t\tdefineProperty(target, options.name, {\n\t\t\tenumerable: true,\n\t\t\tconfigurable: true,\n\t\t\tvalue: options.newValue,\n\t\t\twritable: true\n\t\t});\n\t} else {\n\t\ttarget[options.name] = options.newValue;\n\t}\n};\n\n// Return undefined instead of __proto__ if '__proto__' is not an own property\nvar getProperty = function getProperty(obj, name) {\n\tif (name === '__proto__') {\n\t\tif (!hasOwn.call(obj, name)) {\n\t\t\treturn void 0;\n\t\t} else if (gOPD) {\n\t\t\t// In early versions of node, obj['__proto__'] is buggy when obj has\n\t\t\t// __proto__ as an own property. Object.getOwnPropertyDescriptor() works.\n\t\t\treturn gOPD(obj, name).value;\n\t\t}\n\t}\n\n\treturn obj[name];\n};\n\nmodule.exports = function extend() {\n\tvar options, name, src, copy, copyIsArray, clone;\n\tvar target = arguments[0];\n\tvar i = 1;\n\tvar length = arguments.length;\n\tvar deep = false;\n\n\t// Handle a deep copy situation\n\tif (typeof target === 'boolean') {\n\t\tdeep = target;\n\t\ttarget = arguments[1] || {};\n\t\t// skip the boolean and the target\n\t\ti = 2;\n\t}\n\tif (target == null || (typeof target !== 'object' && typeof target !== 'function')) {\n\t\ttarget = {};\n\t}\n\n\tfor (; i < length; ++i) {\n\t\toptions = arguments[i];\n\t\t// Only deal with non-null/undefined values\n\t\tif (options != null) {\n\t\t\t// Extend the base object\n\t\t\tfor (name in options) {\n\t\t\t\tsrc = getProperty(target, name);\n\t\t\t\tcopy = getProperty(options, name);\n\n\t\t\t\t// Prevent never-ending loop\n\t\t\t\tif (target !== copy) {\n\t\t\t\t\t// Recurse if we're merging plain objects or arrays\n\t\t\t\t\tif (deep && copy && (isPlainObject(copy) || (copyIsArray = isArray(copy)))) {\n\t\t\t\t\t\tif (copyIsArray) {\n\t\t\t\t\t\t\tcopyIsArray = false;\n\t\t\t\t\t\t\tclone = src && isArray(src) ? src : [];\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tclone = src && isPlainObject(src) ? src : {};\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// Never move original objects, clone them\n\t\t\t\t\t\tsetProperty(target, { name: name, newValue: extend(deep, clone, copy) });\n\n\t\t\t\t\t// Don't bring in undefined values\n\t\t\t\t\t} else if (typeof copy !== 'undefined') {\n\t\t\t\t\t\tsetProperty(target, { name: name, newValue: copy });\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t// Return the modified object\n\treturn target;\n};\n"],"names":["hasOwn","Object","prototype","hasOwnProperty","toStr","toString","defineProperty","gOPD","getOwnPropertyDescriptor","isArray","arr","Array","call","isPlainObject","obj","key","hasOwnConstructor","hasIsPrototypeOf","constructor","setProperty","target","options","name","enumerable","configurable","value","newValue","writable","getProperty","extend","src","copy","copyIsArray","clone","arguments","i","length","deep"],"mappings":"uCAEA,IAAIA,EAASC,OAAOC,UAAUC,eAC1BC,EAAQH,OAAOC,UAAUG,SACzBC,EAAiBL,OAAOK,eACxBC,EAAON,OAAOO,yBAEdC,EAAU,SAAiBC,GAC9B,MAA6B,mBAAlBC,MAAMF,QACTE,MAAMF,QAAQC,GAG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QH,GAAOrB,EAAQqB,GAAOA,EAAM,IAEpCG,EAAQH,GAAOjB,EAAciB,GAAOA,EAAM,CAAA,EAI3CX,EAAYC,EAAQ,CAAEE,KAAMA,EAAMI,SAAUG,EAAOQ,EAAMJ,EAAOF,WAGtC,IAATA,GACjBZ,EAAYC,EAAQ,CAAEE,KAAMA,EAAMI,SAAUK,KAQjD,OAAOX"}
@@ -0,0 +1,2 @@
1
+ import{stringify as e}from"../../comma-separated-tokens/index.js";import{ok as t}from"../../devlop/lib/default.js";import{name as n}from"../../estree-util-is-identifier-name/lib/index.js";import{whitespace as r}from"../../hast-util-whitespace/lib/index.js";import{svg as o,html as s}from"../../property-information/index.js";import{stringify as a}from"../../space-separated-tokens/index.js";import i from"../../../_virtual/index.js";import{pointStart as l}from"../../unist-util-position/lib/index.js";import{VFileMessage as p}from"../../vfile-message/lib/index.js";import{find as c}from"../../property-information/lib/find.js";import{hastToReact as u}from"../../property-information/lib/hast-to-react.js";const m={}.hasOwnProperty,f=new Map,d=/[A-Z]/g,y=new Set(["table","tbody","thead","tfoot","tr"]),x=new Set(["td","th"]),v="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function h(e,t){if(!t||void 0===t.Fragment)throw new TypeError("Expected `Fragment` in options");const n=t.filePath||void 0;let r;if(t.development){if("function"!=typeof t.jsxDEV)throw new TypeError("Expected `jsxDEV` in options when `development: true`");r=function(e,t){return n;function n(n,r,o,s){const a=Array.isArray(o.children),i=l(n);return t(r,o,s,a,{columnNumber:i?i.column-1:void 0,fileName:e,lineNumber:i?i.line:void 0},void 0)}}(n,t.jsxDEV)}else{if("function"!=typeof t.jsx)throw new TypeError("Expected `jsx` in production options");if("function"!=typeof t.jsxs)throw new TypeError("Expected `jsxs` in production options");r=function(e,t,n){return r;function r(e,r,o,s){const a=Array.isArray(o.children)?n:t;return s?a(r,o,s):a(r,o)}}(0,t.jsx,t.jsxs)}const a={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:r,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:n,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:!1!==t.passKeys,passNode:t.passNode||!1,schema:"svg"===t.space?o:s,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:!1!==t.tableCellAlignToStyle},i=g(a,e,void 0);return i&&"string"!=typeof i?i:a.create(e,a.Fragment,{children:i||void 0},void 0)}function g(e,n,s){return"element"===n.type?function(e,t,n){const s=e.schema;let a=s;"svg"===t.tagName.toLowerCase()&&"html"===s.space&&(a=o,e.schema=a);e.ancestors.push(t);const i=N(e,t.tagName,!1),l=function(e,t){const n={};let r,o;for(o in t.properties)if("children"!==o&&m.call(t.properties,o)){const s=w(e,o,t.properties[o]);if(s){const[o,a]=s;e.tableCellAlignToStyle&&"align"===o&&"string"==typeof a&&x.has(t.tagName)?r=a:n[o]=a}}if(r){(n.style||(n.style={}))["css"===e.stylePropertyNameCase?"text-align":"textAlign"]=r}return n}(e,t);let p=j(e,t);y.has(t.tagName)&&(p=p.filter(function(e){return"string"!=typeof e||!r(e)}));return b(e,l,i,t),E(l,p),e.ancestors.pop(),e.schema=s,e.create(t,i,l,n)}(e,n,s):"mdxFlowExpression"===n.type||"mdxTextExpression"===n.type?function(e,n){if(n.data&&n.data.estree&&e.evaluater){const r=n.data.estree.body[0];return t("ExpressionStatement"===r.type),e.evaluater.evaluateExpression(r.expression)}A(e,n.position)}(e,n):"mdxJsxFlowElement"===n.type||"mdxJsxTextElement"===n.type?function(e,n,r){const s=e.schema;let a=s;"svg"===n.name&&"html"===s.space&&(a=o,e.schema=a);e.ancestors.push(n);const i=null===n.name?e.Fragment:N(e,n.name,!0),l=function(e,n){const r={};for(const o of n.attributes)if("mdxJsxExpressionAttribute"===o.type)if(o.data&&o.data.estree&&e.evaluater){const n=o.data.estree.body[0];t("ExpressionStatement"===n.type);const s=n.expression;t("ObjectExpression"===s.type);const a=s.properties[0];t("SpreadElement"===a.type),Object.assign(r,e.evaluater.evaluateExpression(a.argument))}else A(e,n.position);else{const s=o.name;let a;if(o.value&&"object"==typeof o.value)if(o.value.data&&o.value.data.estree&&e.evaluater){const n=o.value.data.estree.body[0];t("ExpressionStatement"===n.type),a=e.evaluater.evaluateExpression(n.expression)}else A(e,n.position);else a=null===o.value||o.value;r[s]=a}return r}(e,n),p=j(e,n);return b(e,l,i,n),E(l,p),e.ancestors.pop(),e.schema=s,e.create(n,i,l,r)}(e,n,s):"mdxjsEsm"===n.type?function(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);A(e,t.position)}(e,n):"root"===n.type?function(e,t,n){const r={};return E(r,j(e,t)),e.create(t,e.Fragment,r,n)}(e,n,s):"text"===n.type?function(e,t){return t.value}(0,n):void 0}function b(e,t,n,r){"string"!=typeof n&&n!==e.Fragment&&e.passNode&&(t.node=r)}function E(e,t){if(t.length>0){const n=t.length>1?t:t[0];n&&(e.children=n)}}function j(e,t){const n=[];let r=-1;const o=e.passKeys?new Map:f;for(;++r<t.children.length;){const s=t.children[r];let a;if(e.passKeys){const e="element"===s.type?s.tagName:"mdxJsxFlowElement"===s.type||"mdxJsxTextElement"===s.type?s.name:void 0;if(e){const t=o.get(e)||0;a=e+"-"+t,o.set(e,t+1)}}const i=g(e,s,a);void 0!==i&&n.push(i)}return n}function w(t,n,r){const o=c(t.schema,n);if(!(null==r||"number"==typeof r&&Number.isNaN(r))){if(Array.isArray(r)&&(r=o.commaSeparated?e(r):a(r)),"style"===o.property){let e="object"==typeof r?r:function(e,t){try{return i(t,{reactCompat:!0})}catch(t){if(e.ignoreInvalidStyle)return{};const n=t,r=new p("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:n,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw r.file=e.filePath||void 0,r.url=v+"#cannot-parse-style-attribute",r}}(t,String(r));return"css"===t.stylePropertyNameCase&&(e=function(e){const t={};let n;for(n in e)m.call(e,n)&&(t[C(n)]=e[n]);return t}(e)),["style",e]}return["react"===t.elementAttributeNameCase&&o.space?u[o.property]||o.property:o.attribute,r]}}function N(e,t,r){let o;if(r)if(t.includes(".")){const e=t.split(".");let r,s=-1;for(;++s<e.length;){const t=n(e[s])?{type:"Identifier",name:e[s]}:{type:"Literal",value:e[s]};r=r?{type:"MemberExpression",object:r,property:t,computed:Boolean(s&&"Literal"===t.type),optional:!1}:t}o=r}else o=n(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};else o={type:"Literal",value:t};if("Literal"===o.type){const t=o.value;return m.call(e.components,t)?e.components[t]:t}if(e.evaluater)return e.evaluater.evaluateExpression(o);A(e)}function A(e,t){const n=new p("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw n.file=e.filePath||void 0,n.url=v+"#cannot-handle-mdx-estrees-without-createevaluater",n}function C(e){let t=e.replace(d,S);return"ms-"===t.slice(0,3)&&(t="-"+t),t}function S(e){return"-"+e.toLowerCase()}export{h as toJsxRuntime};
2
+ //# sourceMappingURL=index.js.map
@@ -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","toJsxRuntime","tree","options","undefined","Fragment","TypeError","filePath","create","development","jsxDEV","node","type","props","key","isStaticChildren","Array","isArray","children","point","pointStart","columnNumber","column","fileName","lineNumber","line","developmentCreate","jsx","jsxs","_","fn","productionCreate","state","ancestors","components","elementAttributeNameCase","evaluater","createEvaluater","ignoreInvalidStyle","passKeys","passNode","schema","space","svg","html","stylePropertyNameCase","tableCellAlignToStyle","result","one","parentSchema","tagName","toLowerCase","push","findComponentFromName","alignValue","prop","properties","call","createProperty","value","has","style","createElementProps","createChildren","filter","child","whitespace","addNode","addChildren","pop","element","data","estree","expression","body","assert","evaluateExpression","crashEstree","position","mdxExpression","name","attribute","attributes","objectExpression","property","Object","assign","argument","createJsxElementProps","mdxJsxElement","evaluateProgram","mdxEsm","root","text","length","index","countsByName","count","get","set","info","find","Number","isNaN","commaSeparated","commas","spaces","styleObject","styleToJs","reactCompat","error","cause","message","VFileMessage","ruleId","source","file","url","parseStyle","String","domCasing","cssCasing","from","transformStyleToCssCasing","transformStylesToCssCasing","hastToReact","allowExpression","includes","identifiers","split","isIdentifierName","object","computed","Boolean","optional","test","place","to","replace","toDash","slice","$0"],"mappings":"isBAsBA,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,0DAcN,SAASC,EAAaC,EAAMC,GACjC,IAAKA,QAAgCC,IAArBD,EAAQE,SACtB,MAAM,IAAIC,UAAU,kCAGtB,MAAMC,EAAWJ,EAAQI,eAAYH,EAErC,IAAII,EAEJ,GAAIL,EAAQM,YAAa,CACvB,GAA8B,mBAAnBN,EAAQO,OACjB,MAAM,IAAIJ,UACR,yDAIJE,EA8TJ,SAA2BD,EAAUG,GACnC,OAAOF,EAEP,SAASA,EAAOG,EAAMC,EAAMC,EAAOC,GAEjC,MAAMC,EAAmBC,MAAMC,QAAQJ,EAAMK,UACvCC,EAAQC,EAAWT,GACzB,OAAOD,EACLE,EACAC,EACAC,EACAC,EACA,CACEM,aAAcF,EAAQA,EAAMG,OAAS,OAAIlB,EACzCmB,SAAUhB,EACViB,WAAYL,EAAQA,EAAMM,UAAOrB,QAEnCA,EAEH,CACH,CAlVasB,CAAkBnB,EAAUJ,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OnC,KAAoB,CAC7B,MAAMoE,EAAuCjC,EAAY,MACzD,OAAOvD,EAAIiE,KAAKzB,EAAME,WAAY8C,GAAQhD,EAAME,WAAW8C,GAAQA,CACpE,CAGD,GAAIhD,EAAMI,UACR,OAAOJ,EAAMI,UAAUwC,mBAAmB7B,GAG5C8B,EAAY7C,EACd,CAOA,SAAS6C,EAAY7C,EAAOwG,GAC1B,MAAMxB,EAAU,IAAIC,EAClB,sDACA,CACEhF,UAAWD,EAAMC,UACjBuG,QACAtB,OAAQ,aACRC,OAAQ,6BAMZ,MAHAH,EAAQI,KAAOpF,EAAMzB,eAAYH,EACjC4G,EAAQK,IAAMrH,EAAO,qDAEfgH,CACR,CA6BA,SAASW,EAA0BD,GACjC,IAAIe,EAAKf,EAAKgB,QAAQ9I,EAAK+I,GAG3B,MADuB,QAAnBF,EAAGG,MAAM,EAAG,KAAcH,EAAK,IAAMA,GAClCA,CACT,CAUA,SAASE,EAAOE,GACd,MAAO,IAAMA,EAAG1F,aAClB"}
@@ -0,0 +1,2 @@
1
+ const t=/[ \t\n\f\r]/g;function e(t){return"object"==typeof t?"text"===t.type&&n(t.value):n(t)}function n(e){return""===e.replace(t,"")}export{e as whitespace};
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","whitespace","thing","type","empty","value","replace"],"mappings":"AAMA,MAAMA,EAAK,eAaJ,SAASC,EAAWC,GACzB,MAAwB,iBAAVA,EACK,SAAfA,EAAMC,MACJC,EAAMF,EAAMG,OAEdD,EAAMF,EACZ,CAMA,SAASE,EAAMC,GACb,MAAiC,KAA1BA,EAAMC,QAAQN,EAAI,GAC3B"}
@@ -0,0 +1,2 @@
1
+ const e={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"]};export{e as urlAttributes};
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":["urlAttributes","action","cite","data","formAction","href","icon","itemId","manifest","ping","poster","src"],"mappings":"AAQY,MAACA,EAAgB,CAC3BC,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
+ var r,n;function t(){if(n)return r;n=1;var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,e=/\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,h=1;function p(r){var n=r.match(e);n&&(s+=n.length);var t=r.lastIndexOf("\n");h=~t?r.length-t:h+r.length}function v(){var r={line:s,column:h};return function(n){return n.position=new m(r),w(),n}}function m(r){this.start=r,this.end={line:s,column:h},this.source=n.source}function g(t){var e=new Error(n.source+":"+s+":"+h+": "+t);if(e.reason=t,e.filename=n.source,e.line=s,e.column=h,e.source=r,!n.silent)throw e}function y(n){var t=n.exec(r);if(t){var e=t[0];return p(e),r=r.slice(e.length),t}}function w(){y(i)}function A(r){var n;for(r=r||[];n=d();)!1!==n&&r.push(n);return r}function d(){var n=v();if("/"==r.charAt(0)&&"*"==r.charAt(1)){for(var t=2;f!=r.charAt(t)&&("*"!=r.charAt(t)||"/"!=r.charAt(t+1));)++t;if(t+=2,f===r.charAt(t-1))return g("End of comment missing");var e=r.slice(2,t-2);return h+=2,p(e),r=r.slice(t),h+=2,n({type:"comment",comment:e})}}function x(){var r=v(),n=y(o);if(n){if(d(),!y(u))return g("property missing ':'");var e=y(c),i=r({type:"declaration",property:l(n[0].replace(t,f)),value:e?l(e[0].replace(t,f)):f});return y(a),i}}return m.prototype.content=r,w(),function(){var r,n=[];for(A(n);r=x();)!1!==r&&(n.push(r),A(n));return n}()}}export{t as __require};
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":"uCAIA,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,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gB,KA+IKX,EAAMqC,OAAO,IA9IvB,KA8IyCrC,EAAMqC,OAAO,GAAjE,CAGA,IADA,IAAI5B,EAAI,EAENd,GAAgBK,EAAMqC,OAAO5B,KAlJpB,KAmJIT,EAAMqC,OAAO5B,IApJZ,KAoJmCT,EAAMqC,OAAO5B,EAAI,OAEhEA,EAIJ,GAFAA,GAAK,EAEDd,IAAiBK,EAAMqC,OAAO5B,EAAI,GACpC,OAAOW,EAAM,0BAGf,IAAIvB,EAAMG,EAAM8B,MAAM,EAAGrB,EAAI,GAM7B,OALAL,GAAU,EACVC,EAAeR,GACfG,EAAQA,EAAM8B,MAAMrB,GACpBL,GAAU,EAEHgC,EAAI,CACTE,KAhKa,UAiKbJ,QAASrC,GAvB0D,CAyBzE,CAQE,SAAS0C,IACP,IAAIH,EAAMzB,IAGN6B,EAAOjC,EAAMjB,GACjB,GAAKkD,EAAL,CAIA,GAHAN,KAGK3B,EAAMhB,GAAc,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
+ import{toString as e}from"../../mdast-util-to-string/lib/index.js";import{decodeNamedCharacterReference as t}from"../../decode-named-character-reference/index.dom.js";import{decodeNumericCharacterReference as i}from"../../micromark-util-decode-numeric-character-reference/index.js";import{normalizeIdentifier as n}from"../../micromark-util-normalize-identifier/index.js";import{parse as s}from"../../micromark/lib/parse.js";import{postprocess as r}from"../../micromark/lib/postprocess.js";import{preprocess as a}from"../../micromark/lib/preprocess.js";import{decodeString as c}from"../../micromark-util-decode-string/index.js";import{stringifyPosition as o}from"../../unist-util-stringify-position/lib/index.js";const l={}.hasOwnProperty;function h(h,f,k){return f&&"object"==typeof f&&(k=f,f=void 0),function(s){const r={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:k(de),autolinkProtocol:P,autolinkEmail:P,atxHeading:k(ce),blockQuote:k(ie),characterEscape:P,characterReference:P,codeFenced:k(ne),codeFencedFenceInfo:m,codeFencedFenceMeta:m,codeIndented:k(ne,m),codeText:k(se,m),codeTextData:P,data:P,codeFlowValue:P,definition:k(re),definitionDestinationString:m,definitionLabelString:m,definitionTitleString:m,emphasis:k(ae),hardBreakEscape:k(oe),hardBreakTrailing:k(oe),htmlFlow:k(le,m),htmlFlowData:P,htmlText:k(le,m),htmlTextData:P,image:k(he),label:m,link:k(de),listItem:k(fe),listItemValue:v,listOrdered:k(ue,S),listUnordered:k(ue),paragraph:k(pe),reference:J,referenceString:m,resourceDestinationString:m,resourceTitleString:m,setextHeading:k(ce),strong:k(ke),thematicBreak:k(ge)},exit:{atxHeading:y(),atxHeadingSequence:z,autolink:y(),autolinkEmail:te,autolinkProtocol:ee,blockQuote:y(),characterEscapeValue:O,characterReferenceMarkerHexadecimal:X,characterReferenceMarkerNumeric:X,characterReferenceValue:Y,characterReference:Z,codeFenced:y(w),codeFencedFence:E,codeFencedFenceInfo:T,codeFencedFenceMeta:I,codeFlowValue:O,codeIndented:y(F),codeText:y(U),codeTextData:O,data:O,definition:y(),definitionDestinationString:H,definitionLabelString:R,definitionTitleString:j,emphasis:y(),hardBreakEscape:y(V),hardBreakTrailing:y(V),htmlFlow:y(M),htmlFlowData:O,htmlText:y(Q),htmlTextData:O,image:y(q),label:N,labelText:A,lineEnding:D,link:y(_),listItem:y(),listOrdered:y(),listUnordered:y(),paragraph:y(),referenceString:K,resourceDestinationString:W,resourceTitleString:$,resource:G,setextHeading:y(L),setextHeadingLineSequence:C,setextHeadingText:B,strong:y(),thematicBreak:y()}};u(r,(s||{}).mdastExtensions||[]);const a={};return h;function h(e){let t={type:"root",children:[]};const i={stack:[t],tokenStack:[],config:r,enter:g,exit:x,buffer:m,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=f(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]||p).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 f(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){g.call(this,e(i),i),t&&t.call(this,i)}}function m(){this.stack.push({type:"fragment",children:[]})}function g(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({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]||p).call(this,e,n[0])}i.position.end=d(e.end)}function b(){return e(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 T(){const e=this.resume();this.stack[this.stack.length-1].lang=e}function I(){const e=this.resume();this.stack[this.stack.length-1].meta=e}function E(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function w(){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 R(e){const t=this.resume(),i=this.stack[this.stack.length-1];i.label=t,i.identifier=n(this.sliceSerialize(e)).toLowerCase()}function j(){const e=this.resume();this.stack[this.stack.length-1].title=e}function H(){const e=this.resume();this.stack[this.stack.length-1].url=e}function z(e){const t=this.stack[this.stack.length-1];if(!t.depth){const i=this.sliceSerialize(e).length;t.depth=i}}function B(){this.data.setextHeadingSlurpLineEnding=!0}function C(e){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(e).codePointAt(0)?1:2}function L(){this.data.setextHeadingSlurpLineEnding=void 0}function P(e){const t=this.stack[this.stack.length-1].children;let i=t[t.length-1];i&&"text"===i.type||(i=me(),i.position={start:d(e.start),end:void 0},t.push(i)),this.stack.push(i)}function O(e){const t=this.stack.pop();t.value+=this.sliceSerialize(e),t.position.end=d(e.end)}function D(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)&&(P.call(this,e),O.call(this,e))}function V(){this.data.atHardBreak=!0}function M(){const e=this.resume();this.stack[this.stack.length-1].value=e}function Q(){const e=this.resume();this.stack[this.stack.length-1].value=e}function U(){const e=this.resume();this.stack[this.stack.length-1].value=e}function _(){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 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 A(e){const t=this.sliceSerialize(e),i=this.stack[this.stack.length-2];i.label=c(t),i.identifier=n(t).toLowerCase()}function N(){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(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(n,"characterReferenceMarkerNumeric"===s?10:16),this.data.characterReferenceType=void 0;else{r=t(n)}this.stack[this.stack.length-1].value+=r}function Z(e){this.stack.pop().position.end=d(e.end)}function ee(e){O.call(this,e);this.stack[this.stack.length-1].url=this.sliceSerialize(e)}function te(e){O.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 he(){return{type:"image",title:null,url:"",alt:null}}function de(){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 me(){return{type:"text",value:""}}function ge(){return{type:"thematicBreak"}}}(k)(r(s(k).document().write(a()(h,f,!0))))}function d(e){return{line:e.line,column:e.column,offset:e.offset}}function u(e,t){let i=-1;for(;++i<t.length;){const n=t[i];Array.isArray(n)?u(e,n):f(e,n)}}function f(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 p(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+o({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+o({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+o({start:t.start,end:t.end})+") is still open")}export{h as fromMarkdown};
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","fromMarkdown","value","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","configure","mdastExtensions","compile","events","tree","type","children","context","stack","tokenStack","resume","listStack","index","length","push","prepareList","pop","handler","call","Object","assign","sliceSerialize","tail","defaultOnError","position","start","point","line","column","offset","end","lineIndex","firstBlankLineIndex","atMarker","containerBalance","listSpread","event","tailIndex","tailEvent","_spread","splice","item","create","and","open","token","this","node","errorHandler","close","onExitError","Error","stringifyPosition","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","d","combined","extensions","Array","isArray","extension","key","right","left"],"mappings":"wsBAgDA,MAAMA,EAAM,CAAE,EAACC,eAyBR,SAASC,EAAaC,EAAOC,EAAUC,GAK5C,OAJID,GAAgC,iBAAbA,IACrBC,EAAUD,EACVA,OAAWE,GAUf,SAAkBD,GAEhB,MAAME,EAAS,CACbC,WAAY,GACZC,eAA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,IAAIjD,MAAM,iBAAmBiD,EAAK/F,KAAO,MAAQ+C,EAAkB,CACvE3B,MAAO2E,EAAK3E,MACZK,IAAKsE,EAAKtE,MACP,0BAA4BqE,EAAM9F,KAAO,MAAQ+C,EAAkB,CACtE3B,MAAO0E,EAAM1E,MACbK,IAAKqE,EAAMrE,MACR,aAEC,IAAIqB,MAAM,oCAAsCgD,EAAM9F,KAAO,MAAQ+C,EAAkB,CAC3F3B,MAAO0E,EAAM1E,MACbK,IAAKqE,EAAMrE,MACR,kBAET"}
@@ -0,0 +1,2 @@
1
+ import e from"../../@ungap/structured-clone/esm/index.js";import{normalizeUri as t}from"../../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:"")}function r(r){const a="string"==typeof r.options.clobberPrefix?r.options.clobberPrefix:"user-content-",i=r.options.footnoteBackContent||o,p=r.options.footnoteBackLabel||n,s=r.options.footnoteLabel||"Footnotes",l=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(),s=t(n.toLowerCase());let l=0;const c=[],h=r.footnoteCounts.get(n);for(;void 0!==h&&++l<=h;){c.length>0&&c.push({type:"text",value:" "});let e="string"==typeof i?i:i(u,l);"string"==typeof e&&(e={type:"text",value:e}),c.push({type:"element",tagName:"a",properties:{href:"#"+a+"fnref-"+s+(l>1?"-"+l:""),dataFootnoteBackref:"",ariaLabel:"string"==typeof p?p:p(u,l),className:["data-footnote-backref"]},children:Array.isArray(e)?e:[e]})}const m=o[o.length-1];if(m&&"element"===m.type&&"p"===m.tagName){const e=m.children[m.children.length-1];e&&"text"===e.type?e.value+=" ":m.children.push({type:"text",value:" "}),m.children.push(...c)}else o.push(...c);const y={type:"element",tagName:"li",properties:{id:a+"fn-"+s},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:l,properties:{...e(c),id:"footnote-label"},children:[{type:"text",value:s}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:r.wrap(f,!0)},{type:"text",value:"\n"}]}}export{o as defaultFootnoteBackContent,n as defaultFootnoteBackLabel,r as footer};
2
+ //# sourceMappingURL=footer.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"footer.js","sources":["../../../../node_modules/mdast-util-to-hast/lib/footer.js"],"sourcesContent":["/**\n * @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","footer","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":"oIA8EO,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,CAWO,SAASW,EAAOC,GACrB,MAAMC,EACmC,iBAAhCD,EAAME,QAAQD,cACjBD,EAAME,QAAQD,cACd,gBACAE,EACJH,EAAME,QAAQC,qBAAuBjB,EACjCkB,EACJJ,EAAME,QAAQE,mBAAqBP,EAC/BQ,EAAgBL,EAAME,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AAQC,MAAO,MAG3CyC,EAAKrC,SAASH,QAAQ+B,EAC5B,MACMR,EAAQvB,QAAQ+B,GAIlB,MAAMW,EAAW,CACf5C,KAAM,UACNG,QAAS,KACTC,WAAY,CAACuB,GAAIhB,EAAgB,MAAQmB,GACzCzB,SAAUK,EAAMmC,KAAKpB,GAAS,IAGhCf,EAAMoC,MAAMxB,EAAYsB,GAExBzB,EAAUjB,KAAK0C,EAChB,CAED,GAAyB,IAArBzB,EAAUE,OAId,MAAO,CACLrB,KAAM,UACNG,QAAS,UACTC,WAAY,CAAC2C,eAAe,EAAM7B,UAAW,CAAC,cAC9Cb,SAAU,CACR,CACEL,KAAM,UACNG,QAASa,EACTZ,WAAY,IACP4C,EAAgB/B,GACnBU,GAAI,kBAENtB,SAAU,CAAC,CAACL,KAAM,OAAQC,MAAOc,KAEnC,CAACf,KAAM,OAAQC,MAAO,MACtB,CACED,KAAM,UACNG,QAAS,KACTC,WAAY,CAAE,EACdC,SAAUK,EAAMmC,KAAK1B,GAAW,IAElC,CAACnB,KAAM,OAAQC,MAAO,OAG5B"}
@@ -0,0 +1,2 @@
1
+ function e(e,t){const a={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,a),e.applyData(t,a)}export{e as blockquote};
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":["blockquote","state","node","result","type","tagName","properties","children","wrap","all","patch","applyData"],"mappings":"AAgBO,SAASA,EAAWC,EAAOC,GAEhC,MAAMC,EAAS,CACbC,KAAM,UACNC,QAAS,aACTC,WAAY,CAAE,EACdC,SAAUN,EAAMO,KAAKP,EAAMQ,IAAIP,IAAO,IAGxC,OADAD,EAAMS,MAAMR,EAAMC,GACXF,EAAMU,UAAUT,EAAMC,EAC/B"}
@@ -0,0 +1,2 @@
1
+ function e(e,t){const p={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,p),[e.applyData(t,p),{type:"text",value:"\n"}]}export{e as hardBreak};
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":["hardBreak","state","node","result","type","tagName","properties","children","patch","applyData","value"],"mappings":"AAgBO,SAASA,EAAUC,EAAOC,GAE/B,MAAMC,EAAS,CAACC,KAAM,UAAWC,QAAS,KAAMC,WAAY,CAAA,EAAIC,SAAU,IAE1E,OADAN,EAAMO,MAAMN,EAAMC,GACX,CAACF,EAAMQ,UAAUP,EAAMC,GAAS,CAACC,KAAM,OAAQM,MAAO,MAC/D"}
@@ -0,0 +1,2 @@
1
+ function e(e,t){const a=t.value?t.value+"\n":"",l={},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}export{e as code};
2
+ //# sourceMappingURL=code.js.map