impact-nova 2.6.3 → 3.0.0-alpha.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 (456) hide show
  1. package/dist/_virtual/_commonjsHelpers.js +6 -0
  2. package/dist/_virtual/index.js +7 -0
  3. package/dist/_virtual/index2.js +7 -0
  4. package/dist/_virtual/index3.js +4 -0
  5. package/dist/_virtual/utilities.js +4 -0
  6. package/dist/components/data/ag-grid-react/ag-grid-cell-components.d.ts +9 -0
  7. package/dist/components/data/ag-grid-react/ag-grid-list.d.ts +16 -0
  8. package/dist/components/data/ag-grid-react/ag-grid-list.js +23 -0
  9. package/dist/components/data/ag-grid-react/ag-grid.types.d.ts +7 -0
  10. package/dist/components/data/ag-grid-react/cell-renderers/editors/list-select-cell-editor.d.ts +14 -0
  11. package/dist/components/data/ag-grid-react/cell-renderers/editors/list-select-cell-editor.js +70 -0
  12. package/dist/components/data/ag-grid-react/cell-renderers/editors/select-cell-editor.d.ts +10 -5
  13. package/dist/components/data/ag-grid-react/cell-renderers/editors/select-cell-editor.js +73 -41
  14. package/dist/components/data/ag-grid-react/cell-renderers/index.d.ts +7 -0
  15. package/dist/components/data/ag-grid-react/cell-renderers/index.js +42 -36
  16. package/dist/components/data/ag-grid-react/cell-renderers/link-with-batch-cell-renderer.js +2 -0
  17. package/dist/components/data/ag-grid-react/cell-renderers/list-select-display-renderer.d.ts +19 -0
  18. package/dist/components/data/ag-grid-react/cell-renderers/list-select-display-renderer.js +89 -0
  19. package/dist/components/data/ag-grid-react/cell-renderers/select-ai-insight-affordance.d.ts +28 -0
  20. package/dist/components/data/ag-grid-react/cell-renderers/select-ai-insight-affordance.js +96 -0
  21. package/dist/components/data/ag-grid-react/cell-renderers/select-display-renderer.d.ts +30 -10
  22. package/dist/components/data/ag-grid-react/cell-renderers/select-display-renderer.js +72 -24
  23. package/dist/components/data/ag-grid-react/cell-renderers/style-description-display-renderer.d.ts +42 -0
  24. package/dist/components/data/ag-grid-react/cell-renderers/style-description-display-renderer.js +86 -0
  25. package/dist/components/data/ag-grid-react/headers/advanced-filter/advanced-filter-dialog.js +31 -29
  26. package/dist/components/data/ag-grid-react/headers/components/lazy-tooltip.js +8 -6
  27. package/dist/components/data/ag-grid-react/index.d.ts +1 -1
  28. package/dist/components/data/ag-grid-react/index.js +162 -146
  29. package/dist/components/data/data-table/data-table.js +85 -82
  30. package/dist/components/data/data-table/data-table.types.d.ts +5 -0
  31. package/dist/components/data/expandable-list-item/expandable-list-item-attributes.js +8 -6
  32. package/dist/components/data/expandable-list-item/sku-next-page-coordinator.d.ts +14 -0
  33. package/dist/components/data/expandable-list-item/sku-strip-lookahead.d.ts +26 -0
  34. package/dist/components/data/expandable-list-item/useServerSkuInfinitePages.d.ts +10 -0
  35. package/dist/components/data/expandable-list-item/useSkuStripVirtualizer.d.ts +30 -0
  36. package/dist/components/data/expandable-list-item/virtualized-responsive-grid.catalog.d.ts +81 -0
  37. package/dist/components/data/expandable-list-item/virtualized-responsive-grid.item-grid.d.ts +1 -0
  38. package/dist/components/data/expandable-list-item/virtualized-responsive-grid.product-card.d.ts +7 -0
  39. package/dist/components/data/expandable-list-item/virtualized-responsive-grid.sku-picker.d.ts +2 -0
  40. package/dist/components/data-display/calendar/fiscal-period-caption-select.js +4 -2
  41. package/dist/components/data-display/chart/chart-heatmap-demos.d.ts +3 -0
  42. package/dist/components/data-display/chart/chart-heatmap-play.d.ts +9 -0
  43. package/dist/components/data-display/chart/chart.category-cluster-heatmap.stories-data.d.ts +22 -0
  44. package/dist/components/data-display/chart/chart.diverging-heatmap.stories-data.d.ts +43 -0
  45. package/dist/components/data-display/chart/chart.js +100 -93
  46. package/dist/components/data-display/chart/chart.types.d.ts +10 -0
  47. package/dist/components/data-display/chart/chart.utils.d.ts +14 -2
  48. package/dist/components/data-display/chart/chart.utils.js +132 -35
  49. package/dist/components/data-display/chart/index.js +15 -13
  50. package/dist/components/data-display/chart/resolve-highcharts-options.js +19 -14
  51. package/dist/components/data-display/globe-map/globe-map.d.ts +8 -0
  52. package/dist/components/data-display/globe-map/globe-map.js +161 -0
  53. package/dist/components/data-display/globe-map/globe-map.stories-data.d.ts +12 -0
  54. package/dist/components/data-display/globe-map/globe-map.types.d.ts +83 -0
  55. package/dist/components/data-display/globe-map/globe-map.utils.d.ts +115 -0
  56. package/dist/components/data-display/globe-map/globe-map.utils.js +259 -0
  57. package/dist/components/data-display/globe-map/globe-map.variants.d.ts +19 -0
  58. package/dist/components/data-display/globe-map/globe-map.variants.js +80 -0
  59. package/dist/components/data-display/globe-map/index.d.ts +2 -0
  60. package/dist/components/data-display/globe-map/index.js +10 -0
  61. package/dist/components/data-display/globe-map/internals/globe-countries-110m.json.d.ts +4 -0
  62. package/dist/components/data-display/globe-map/internals/globe-countries-110m.json.js +7 -0
  63. package/dist/components/data-display/globe-map/internals/globe-map-context.d.ts +25 -0
  64. package/dist/components/data-display/globe-map/internals/globe-map-context.js +19 -0
  65. package/dist/components/data-display/globe-map/internals/globe-map-legend.d.ts +2 -0
  66. package/dist/components/data-display/globe-map/internals/globe-map-legend.js +51 -0
  67. package/dist/components/data-display/globe-map/internals/globe-map-point-card-carousel.d.ts +6 -0
  68. package/dist/components/data-display/globe-map/internals/globe-map-point-card-carousel.js +119 -0
  69. package/dist/components/data-display/globe-map/internals/globe-map-point-card.d.ts +2 -0
  70. package/dist/components/data-display/globe-map/internals/globe-map-point-card.js +106 -0
  71. package/dist/components/data-display/globe-map/internals/globe-map-scene.d.ts +17 -0
  72. package/dist/components/data-display/globe-map/internals/globe-map-scene.js +218 -0
  73. package/dist/components/data-display/globe-map/internals/globe-map-tooltip.d.ts +2 -0
  74. package/dist/components/data-display/globe-map/internals/globe-map-tooltip.js +33 -0
  75. package/dist/components/data-display/globe-map/internals/use-globe-map-scene.d.ts +45 -0
  76. package/dist/components/data-display/globe-map/internals/use-globe-map-scene.js +270 -0
  77. package/dist/components/data-display/hex-tilemap/hex-tilemap.d.ts +9 -0
  78. package/dist/components/data-display/hex-tilemap/hex-tilemap.js +94 -0
  79. package/dist/components/data-display/hex-tilemap/hex-tilemap.stories-data.d.ts +7 -0
  80. package/dist/components/data-display/hex-tilemap/hex-tilemap.types.d.ts +43 -0
  81. package/dist/components/data-display/hex-tilemap/hex-tilemap.variants.d.ts +11 -0
  82. package/dist/components/data-display/hex-tilemap/hex-tilemap.variants.js +47 -0
  83. package/dist/components/data-display/hex-tilemap/index.d.ts +2 -0
  84. package/dist/components/data-display/hex-tilemap/index.js +12 -0
  85. package/dist/components/data-display/hex-tilemap/internals/hex-camera.d.ts +40 -0
  86. package/dist/components/data-display/hex-tilemap/internals/hex-camera.js +103 -0
  87. package/dist/components/data-display/hex-tilemap/internals/hex-country-lattices.d.ts +9 -0
  88. package/dist/components/data-display/hex-tilemap/internals/hex-country-lattices.js +1387 -0
  89. package/dist/components/data-display/hex-tilemap/internals/hex-geometry.d.ts +21 -0
  90. package/dist/components/data-display/hex-tilemap/internals/hex-geometry.js +82 -0
  91. package/dist/components/data-display/hex-tilemap/internals/hex-lattice.d.ts +18 -0
  92. package/dist/components/data-display/hex-tilemap/internals/hex-lattice.js +47 -0
  93. package/dist/components/data-display/hex-tilemap/internals/hex-layout.d.ts +10 -0
  94. package/dist/components/data-display/hex-tilemap/internals/hex-layout.js +35 -0
  95. package/dist/components/data-display/hex-tilemap/internals/hex-new-zealand-grid.d.ts +31 -0
  96. package/dist/components/data-display/hex-tilemap/internals/hex-new-zealand-grid.js +138 -0
  97. package/dist/components/data-display/hex-tilemap/internals/hex-regions.d.ts +6 -0
  98. package/dist/components/data-display/hex-tilemap/internals/hex-regions.js +18 -0
  99. package/dist/components/data-display/hex-tilemap/internals/hex-tilemap-context.d.ts +24 -0
  100. package/dist/components/data-display/hex-tilemap/internals/hex-tilemap-context.js +19 -0
  101. package/dist/components/data-display/hex-tilemap/internals/hex-tilemap-legend.d.ts +2 -0
  102. package/dist/components/data-display/hex-tilemap/internals/hex-tilemap-legend.js +51 -0
  103. package/dist/components/data-display/hex-tilemap/internals/hex-tilemap-tooltip.d.ts +2 -0
  104. package/dist/components/data-display/hex-tilemap/internals/hex-tilemap-tooltip.js +36 -0
  105. package/dist/components/data-display/hex-tilemap/internals/hex-tilemap-viewport.d.ts +3 -0
  106. package/dist/components/data-display/hex-tilemap/internals/hex-tilemap-viewport.js +147 -0
  107. package/dist/components/data-display/hex-tilemap/internals/hex-tilemap-zoom.d.ts +13 -0
  108. package/dist/components/data-display/hex-tilemap/internals/hex-tilemap-zoom.js +99 -0
  109. package/dist/components/data-display/hex-tilemap/internals/hex-world-grid.d.ts +8 -0
  110. package/dist/components/data-display/hex-tilemap/internals/use-hex-camera.d.ts +27 -0
  111. package/dist/components/data-display/hex-tilemap/internals/use-hex-camera.js +137 -0
  112. package/dist/components/data-display/notch-card/index.d.ts +2 -0
  113. package/dist/components/data-display/notch-card/index.js +6 -0
  114. package/dist/components/data-display/notch-card/notch-card.d.ts +7 -0
  115. package/dist/components/data-display/notch-card/notch-card.js +151 -0
  116. package/dist/components/data-display/notch-card/notch-card.path.d.ts +19 -0
  117. package/dist/components/data-display/notch-card/notch-card.path.js +118 -0
  118. package/dist/components/data-display/notch-card/notch-card.types.d.ts +15 -0
  119. package/dist/components/data-display/notch-card/notch-card.variants.d.ts +15 -0
  120. package/dist/components/data-display/notch-card/notch-card.variants.js +86 -0
  121. package/dist/components/feedback/hover-card/hover-card.d.ts +3 -1
  122. package/dist/components/feedback/hover-card/hover-card.js +28 -24
  123. package/dist/components/feedback/popover/popover.js +1 -1
  124. package/dist/components/feedback/tooltip/button-icon-tooltip.js +8 -6
  125. package/dist/components/feedback/tooltip/overflow-tooltip.d.ts +1 -1
  126. package/dist/components/feedback/tooltip/overflow-tooltip.js +63 -57
  127. package/dist/components/feedback/tooltip/overflow-tooltip.types.d.ts +4 -0
  128. package/dist/components/feedback/tooltip/tab-tooltip-render.js +6 -4
  129. package/dist/components/flows/filter-strip/index.d.ts +1 -0
  130. package/dist/components/flows/filter-strip/index.js +4 -2
  131. package/dist/components/flows/guidance/renderers/guidance-card-shared.js +1 -1
  132. package/dist/components/flows/iris-chat/index.d.ts +10 -0
  133. package/dist/components/flows/iris-chat/index.js +55 -0
  134. package/dist/components/flows/iris-chat/iris-chat-artifact.d.ts +4 -0
  135. package/dist/components/flows/iris-chat/iris-chat-artifact.js +125 -0
  136. package/dist/components/flows/iris-chat/iris-chat-composer.d.ts +3 -0
  137. package/dist/components/flows/iris-chat/iris-chat-composer.js +297 -0
  138. package/dist/components/flows/iris-chat/iris-chat-context.d.ts +14 -0
  139. package/dist/components/flows/iris-chat/iris-chat-context.js +23 -0
  140. package/dist/components/flows/iris-chat/iris-chat-icons.d.ts +18 -0
  141. package/dist/components/flows/iris-chat/iris-chat-icons.js +176 -0
  142. package/dist/components/flows/iris-chat/iris-chat-markdown.d.ts +3 -0
  143. package/dist/components/flows/iris-chat/iris-chat-markdown.js +62 -0
  144. package/dist/components/flows/iris-chat/iris-chat-menu.d.ts +15 -0
  145. package/dist/components/flows/iris-chat/iris-chat-menu.js +259 -0
  146. package/dist/components/flows/iris-chat/iris-chat-prompt.d.ts +3 -0
  147. package/dist/components/flows/iris-chat/iris-chat-prompt.js +46 -0
  148. package/dist/components/flows/iris-chat/iris-chat-thinking.d.ts +12 -0
  149. package/dist/components/flows/iris-chat/iris-chat-thinking.js +202 -0
  150. package/dist/components/flows/iris-chat/iris-chat-thread.d.ts +37 -0
  151. package/dist/components/flows/iris-chat/iris-chat-thread.js +493 -0
  152. package/dist/components/flows/iris-chat/iris-chat.d.ts +43 -0
  153. package/dist/components/flows/iris-chat/iris-chat.js +336 -0
  154. package/dist/components/flows/iris-chat/iris-chat.types.d.ts +208 -0
  155. package/dist/components/flows/iris-chat/iris-chat.variants.d.ts +14 -0
  156. package/dist/components/flows/iris-chat/iris-chat.variants.js +78 -0
  157. package/dist/components/flows/iris-chat/read-iris-greeting-period.d.ts +4 -0
  158. package/dist/components/flows/iris-chat/read-iris-greeting-period.js +16 -0
  159. package/dist/components/flows/wizard/index.d.ts +2 -2
  160. package/dist/components/flows/wizard/index.js +17 -13
  161. package/dist/components/flows/wizard/wizard-context.d.ts +6 -1
  162. package/dist/components/flows/wizard/wizard-context.js +15 -7
  163. package/dist/components/flows/wizard/wizard.d.ts +22 -4
  164. package/dist/components/flows/wizard/wizard.js +278 -174
  165. package/dist/components/flows/wizard/wizard.types.d.ts +40 -0
  166. package/dist/components/forms/choice-card/assets/featured-backdrop-baked.webp.js +4 -0
  167. package/dist/components/forms/choice-card/assets/featured-noise.webp.js +4 -0
  168. package/dist/components/forms/choice-card/choice-card-featured-arcs.d.ts +4 -0
  169. package/dist/components/forms/choice-card/choice-card-featured-arcs.js +42 -0
  170. package/dist/components/forms/choice-card/choice-card-featured-backdrop.d.ts +4 -0
  171. package/dist/components/forms/choice-card/choice-card-featured-backdrop.js +45 -0
  172. package/dist/components/forms/choice-card/choice-card-indicator.variants.d.ts +8 -0
  173. package/dist/components/forms/choice-card/choice-card-indicator.variants.js +5 -0
  174. package/dist/components/forms/choice-card/choice-card-percent.d.ts +11 -0
  175. package/dist/components/forms/choice-card/choice-card-percent.js +80 -0
  176. package/dist/components/forms/choice-card/choice-card.d.ts +40 -3
  177. package/dist/components/forms/choice-card/choice-card.js +651 -170
  178. package/dist/components/forms/choice-card/choice-card.types.d.ts +40 -0
  179. package/dist/components/forms/choice-card/choice-card.variants.d.ts +7 -0
  180. package/dist/components/forms/choice-card/choice-card.variants.js +100 -0
  181. package/dist/components/forms/choice-card/index.d.ts +2 -1
  182. package/dist/components/forms/choice-card/index.js +27 -10
  183. package/dist/components/forms/combobox/combobox.js +1 -1
  184. package/dist/components/layout/breadcrumb/breadcrumb.js +1 -1
  185. package/dist/components/layout/header/header.d.ts +3 -2
  186. package/dist/components/layout/header/header.js +67 -47
  187. package/dist/components/layout/header/header.types.d.ts +1 -0
  188. package/dist/components/primitives/iris/iris-agent-cursor.d.ts +3 -0
  189. package/dist/components/primitives/iris/iris-agent-cursor.js +89 -0
  190. package/dist/components/primitives/iris/iris-alan-gradient-icon.d.ts +5 -0
  191. package/dist/components/primitives/iris/iris-alan-gradient-icon.js +69 -0
  192. package/dist/components/primitives/iris/iris-control-context.d.ts +15 -0
  193. package/dist/components/primitives/iris/iris-control-context.js +44 -0
  194. package/dist/components/primitives/iris/iris-control-region.d.ts +10 -0
  195. package/dist/components/primitives/iris/iris-control-region.js +102 -0
  196. package/dist/components/primitives/iris/iris-control.types.d.ts +24 -0
  197. package/dist/components/primitives/iris/iris-control.variants.d.ts +4 -0
  198. package/dist/components/primitives/iris/iris-control.variants.js +20 -0
  199. package/dist/components/primitives/iris/iris.d.ts +24 -0
  200. package/dist/components/primitives/iris/iris.js +232 -0
  201. package/dist/components/primitives/iris/iris.types.d.ts +35 -0
  202. package/dist/components/primitives/iris/iris.variants.d.ts +30 -0
  203. package/dist/components/primitives/iris/iris.variants.js +120 -0
  204. package/dist/components/primitives/stepper/internals/pipeline-current-mark.d.ts +6 -0
  205. package/dist/components/primitives/stepper/internals/pipeline-current-mark.js +35 -0
  206. package/dist/components/primitives/stepper/internals/rail-status-dot.d.ts +13 -0
  207. package/dist/components/primitives/stepper/internals/rail-status-dot.js +70 -0
  208. package/dist/components/primitives/stepper/internals/step-hit-target.d.ts +15 -0
  209. package/dist/components/primitives/stepper/internals/step-hit-target.js +51 -0
  210. package/dist/components/primitives/stepper/internals/step-model.d.ts +3 -0
  211. package/dist/components/primitives/stepper/internals/step-model.js +10 -0
  212. package/dist/components/primitives/stepper/internals/stepper-compact.d.ts +5 -0
  213. package/dist/components/primitives/stepper/internals/stepper-compact.js +68 -0
  214. package/dist/components/primitives/stepper/internals/stepper-pipeline.d.ts +7 -0
  215. package/dist/components/primitives/stepper/internals/stepper-pipeline.js +87 -0
  216. package/dist/components/primitives/stepper/internals/stepper-rail.d.ts +5 -0
  217. package/dist/components/primitives/stepper/internals/stepper-rail.js +105 -0
  218. package/dist/components/primitives/stepper/internals/stepper-summary.d.ts +5 -0
  219. package/dist/components/primitives/stepper/internals/stepper-summary.js +103 -0
  220. package/dist/components/primitives/stepper/internals/stepper-track.d.ts +8 -0
  221. package/dist/components/primitives/stepper/internals/stepper-track.js +170 -0
  222. package/dist/components/primitives/stepper/stepper.d.ts +1 -0
  223. package/dist/components/primitives/stepper/stepper.js +134 -52
  224. package/dist/components/primitives/stepper/stepper.types.d.ts +17 -0
  225. package/dist/components/primitives/stepper/stepper.variants.d.ts +26 -0
  226. package/dist/components/primitives/stepper/stepper.variants.js +165 -5
  227. package/dist/components/primitives/tabs/tabs.d.ts +4 -1
  228. package/dist/components/primitives/tabs/tabs.js +131 -59
  229. package/dist/components/primitives/tabs/tabs.types.d.ts +5 -1
  230. package/dist/i18n/defaultMessages.d.ts +100 -0
  231. package/dist/i18n/defaultMessages.js +118 -21
  232. package/dist/i18n/index.d.ts +1 -1
  233. package/dist/i18n/locales/de.js +99 -2
  234. package/dist/i18n/locales/es.js +99 -2
  235. package/dist/i18n/locales/hi.js +99 -2
  236. package/dist/i18n/locales/kn.js +99 -2
  237. package/dist/impact-nova-components.css +972 -2
  238. package/dist/impact-nova-tokens.scss +109 -1
  239. package/dist/impact-nova.css +1 -1
  240. package/dist/index.d.ts +1 -1
  241. package/dist/index.js +585 -551
  242. package/dist/lib/virtualized/directional-range-extractor.d.ts +26 -0
  243. package/dist/lib/virtualized/directional-range-extractor.js +39 -0
  244. package/dist/lib/virtualized/index.d.ts +3 -0
  245. package/dist/lib/virtualized/index.js +35 -27
  246. package/dist/lib/virtualized/scroll-seek.d.ts +61 -0
  247. package/dist/lib/virtualized/scroll-seek.js +61 -0
  248. package/dist/lib/virtualized/usePaintedRangeVirtualizer.d.ts +19 -0
  249. package/dist/lib/virtualized/usePaintedRangeVirtualizer.js +30 -0
  250. package/dist/lib/virtualized/useResponsiveColumnCount.d.ts +35 -0
  251. package/dist/lib/virtualized/useResponsiveColumnCount.js +51 -0
  252. package/dist/lib/virtualized/useScrollSeekPaintedRange.d.ts +13 -0
  253. package/dist/lib/virtualized/useScrollSeekPaintedRange.js +45 -0
  254. package/dist/lib/virtualized/useVirtualizedList.d.ts +7 -0
  255. package/dist/lib/virtualized/useVirtualizedList.js +89 -87
  256. package/dist/lib/virtualized/useVirtualizedRows.d.ts +9 -2
  257. package/dist/lib/virtualized/useVirtualizedRows.js +15 -13
  258. package/dist/lib/virtualized/virtualized.types.d.ts +2 -0
  259. package/dist/llms/rules/installation.js +1 -1
  260. package/dist/llms/rules/requirements.js +1 -1
  261. package/dist/node_modules/@ungap/structured-clone/esm/deserialize.js +85 -0
  262. package/dist/node_modules/@ungap/structured-clone/esm/index.js +11 -0
  263. package/dist/node_modules/@ungap/structured-clone/esm/serialize.js +110 -0
  264. package/dist/node_modules/@ungap/structured-clone/esm/types.js +13 -0
  265. package/dist/node_modules/bail/index.js +7 -0
  266. package/dist/node_modules/ccount/index.js +12 -0
  267. package/dist/node_modules/comma-separated-tokens/index.js +9 -0
  268. package/dist/node_modules/decode-named-character-reference/index.dom.js +10 -0
  269. package/dist/node_modules/devlop/lib/default.js +8 -0
  270. package/dist/node_modules/estree-util-is-identifier-name/lib/index.js +7 -0
  271. package/dist/node_modules/extend/index.js +43 -0
  272. package/dist/node_modules/hast-util-to-jsx-runtime/lib/index.js +302 -0
  273. package/dist/node_modules/hast-util-whitespace/lib/index.js +10 -0
  274. package/dist/node_modules/html-url-attributes/lib/index.js +26 -0
  275. package/dist/node_modules/inline-style-parser/cjs/index.js +93 -0
  276. package/dist/node_modules/is-plain-obj/index.js +9 -0
  277. package/dist/node_modules/longest-streak/index.js +12 -0
  278. package/dist/node_modules/markdown-table/index.js +75 -0
  279. package/dist/node_modules/mdast-util-find-and-replace/lib/index.js +78 -0
  280. package/dist/node_modules/mdast-util-find-and-replace/node_modules/escape-string-regexp/index.js +8 -0
  281. package/dist/node_modules/mdast-util-from-markdown/lib/index.js +632 -0
  282. package/dist/node_modules/mdast-util-gfm/lib/index.js +29 -0
  283. package/dist/node_modules/mdast-util-gfm-autolink-literal/lib/index.js +130 -0
  284. package/dist/node_modules/mdast-util-gfm-footnote/lib/index.js +95 -0
  285. package/dist/node_modules/mdast-util-gfm-strikethrough/lib/index.js +54 -0
  286. package/dist/node_modules/mdast-util-gfm-table/lib/index.js +135 -0
  287. package/dist/node_modules/mdast-util-gfm-task-list-item/lib/index.js +58 -0
  288. package/dist/node_modules/mdast-util-phrasing/lib/index.js +30 -0
  289. package/dist/node_modules/mdast-util-to-hast/lib/footer.js +90 -0
  290. package/dist/node_modules/mdast-util-to-hast/lib/handlers/blockquote.js +12 -0
  291. package/dist/node_modules/mdast-util-to-hast/lib/handlers/break.js +8 -0
  292. package/dist/node_modules/mdast-util-to-hast/lib/handlers/code.js +15 -0
  293. package/dist/node_modules/mdast-util-to-hast/lib/handlers/delete.js +12 -0
  294. package/dist/node_modules/mdast-util-to-hast/lib/handlers/emphasis.js +12 -0
  295. package/dist/node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.js +28 -0
  296. package/dist/node_modules/mdast-util-to-hast/lib/handlers/heading.js +12 -0
  297. package/dist/node_modules/mdast-util-to-hast/lib/handlers/html.js +9 -0
  298. package/dist/node_modules/mdast-util-to-hast/lib/handlers/image-reference.js +14 -0
  299. package/dist/node_modules/mdast-util-to-hast/lib/handlers/image.js +10 -0
  300. package/dist/node_modules/mdast-util-to-hast/lib/handlers/index.js +58 -0
  301. package/dist/node_modules/mdast-util-to-hast/lib/handlers/inline-code.js +14 -0
  302. package/dist/node_modules/mdast-util-to-hast/lib/handlers/link-reference.js +19 -0
  303. package/dist/node_modules/mdast-util-to-hast/lib/handlers/link.js +15 -0
  304. package/dist/node_modules/mdast-util-to-hast/lib/handlers/list-item.js +42 -0
  305. package/dist/node_modules/mdast-util-to-hast/lib/handlers/list.js +21 -0
  306. package/dist/node_modules/mdast-util-to-hast/lib/handlers/paragraph.js +12 -0
  307. package/dist/node_modules/mdast-util-to-hast/lib/handlers/root.js +7 -0
  308. package/dist/node_modules/mdast-util-to-hast/lib/handlers/strong.js +12 -0
  309. package/dist/node_modules/mdast-util-to-hast/lib/handlers/table-cell.js +13 -0
  310. package/dist/node_modules/mdast-util-to-hast/lib/handlers/table-row.js +21 -0
  311. package/dist/node_modules/mdast-util-to-hast/lib/handlers/table.js +32 -0
  312. package/dist/node_modules/mdast-util-to-hast/lib/handlers/text.js +8 -0
  313. package/dist/node_modules/mdast-util-to-hast/lib/handlers/thematic-break.js +12 -0
  314. package/dist/node_modules/mdast-util-to-hast/lib/index.js +10 -0
  315. package/dist/node_modules/mdast-util-to-hast/lib/revert.js +13 -0
  316. package/dist/node_modules/mdast-util-to-hast/lib/state.js +104 -0
  317. package/dist/node_modules/mdast-util-to-markdown/lib/handle/blockquote.js +15 -0
  318. package/dist/node_modules/mdast-util-to-markdown/lib/handle/break.js +15 -0
  319. package/dist/node_modules/mdast-util-to-markdown/lib/handle/code.js +44 -0
  320. package/dist/node_modules/mdast-util-to-markdown/lib/handle/definition.js +34 -0
  321. package/dist/node_modules/mdast-util-to-markdown/lib/handle/emphasis.js +20 -0
  322. package/dist/node_modules/mdast-util-to-markdown/lib/handle/heading.js +35 -0
  323. package/dist/node_modules/mdast-util-to-markdown/lib/handle/html.js +10 -0
  324. package/dist/node_modules/mdast-util-to-markdown/lib/handle/image-reference.js +29 -0
  325. package/dist/node_modules/mdast-util-to-markdown/lib/handle/image.js +33 -0
  326. package/dist/node_modules/mdast-util-to-markdown/lib/handle/index.js +44 -0
  327. package/dist/node_modules/mdast-util-to-markdown/lib/handle/inline-code.js +22 -0
  328. package/dist/node_modules/mdast-util-to-markdown/lib/handle/link-reference.js +29 -0
  329. package/dist/node_modules/mdast-util-to-markdown/lib/handle/link.js +52 -0
  330. package/dist/node_modules/mdast-util-to-markdown/lib/handle/list-item.js +22 -0
  331. package/dist/node_modules/mdast-util-to-markdown/lib/handle/list.js +35 -0
  332. package/dist/node_modules/mdast-util-to-markdown/lib/handle/paragraph.js +7 -0
  333. package/dist/node_modules/mdast-util-to-markdown/lib/handle/root.js +11 -0
  334. package/dist/node_modules/mdast-util-to-markdown/lib/handle/strong.js +20 -0
  335. package/dist/node_modules/mdast-util-to-markdown/lib/handle/text.js +11 -0
  336. package/dist/node_modules/mdast-util-to-markdown/lib/handle/thematic-break.js +9 -0
  337. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet-ordered.js +11 -0
  338. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet-other.js +18 -0
  339. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet.js +11 -0
  340. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-emphasis.js +11 -0
  341. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-fence.js +11 -0
  342. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-list-item-indent.js +11 -0
  343. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-quote.js +11 -0
  344. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-rule-repetition.js +11 -0
  345. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-rule.js +11 -0
  346. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-strong.js +11 -0
  347. package/dist/node_modules/mdast-util-to-markdown/lib/util/encode-character-reference.js +6 -0
  348. package/dist/node_modules/mdast-util-to-markdown/lib/util/format-code-as-indented.js +9 -0
  349. package/dist/node_modules/mdast-util-to-markdown/lib/util/format-heading-as-setext.js +13 -0
  350. package/dist/node_modules/mdast-util-to-markdown/lib/util/format-link-as-autolink.js +15 -0
  351. package/dist/node_modules/mdast-util-to-markdown/lib/util/pattern-in-scope.js +15 -0
  352. package/dist/node_modules/mdast-util-to-string/lib/index.js +29 -0
  353. package/dist/node_modules/micromark/lib/constructs.js +85 -0
  354. package/dist/node_modules/micromark/lib/create-tokenizer.js +225 -0
  355. package/dist/node_modules/micromark/lib/initialize/content.js +37 -0
  356. package/dist/node_modules/micromark/lib/initialize/document.js +128 -0
  357. package/dist/node_modules/micromark/lib/initialize/flow.js +33 -0
  358. package/dist/node_modules/micromark/lib/initialize/text.js +98 -0
  359. package/dist/node_modules/micromark/lib/parse.js +32 -0
  360. package/dist/node_modules/micromark/lib/postprocess.js +9 -0
  361. package/dist/node_modules/micromark/lib/preprocess.js +44 -0
  362. package/dist/node_modules/micromark-core-commonmark/lib/attention.js +87 -0
  363. package/dist/node_modules/micromark-core-commonmark/lib/autolink.js +43 -0
  364. package/dist/node_modules/micromark-core-commonmark/lib/blank-line.js +18 -0
  365. package/dist/node_modules/micromark-core-commonmark/lib/block-quote.js +42 -0
  366. package/dist/node_modules/micromark-core-commonmark/lib/character-escape.js +17 -0
  367. package/dist/node_modules/micromark-core-commonmark/lib/character-reference.js +30 -0
  368. package/dist/node_modules/micromark-core-commonmark/lib/code-fenced.js +82 -0
  369. package/dist/node_modules/micromark-core-commonmark/lib/code-indented.js +37 -0
  370. package/dist/node_modules/micromark-core-commonmark/lib/code-text.js +45 -0
  371. package/dist/node_modules/micromark-core-commonmark/lib/content.js +50 -0
  372. package/dist/node_modules/micromark-core-commonmark/lib/definition.js +80 -0
  373. package/dist/node_modules/micromark-core-commonmark/lib/hard-break-escape.js +17 -0
  374. package/dist/node_modules/micromark-core-commonmark/lib/heading-atx.js +50 -0
  375. package/dist/node_modules/micromark-core-commonmark/lib/html-flow.js +132 -0
  376. package/dist/node_modules/micromark-core-commonmark/lib/html-text.js +102 -0
  377. package/dist/node_modules/micromark-core-commonmark/lib/label-end.js +154 -0
  378. package/dist/node_modules/micromark-core-commonmark/lib/label-start-image.js +23 -0
  379. package/dist/node_modules/micromark-core-commonmark/lib/label-start-link.js +20 -0
  380. package/dist/node_modules/micromark-core-commonmark/lib/line-ending.js +14 -0
  381. package/dist/node_modules/micromark-core-commonmark/lib/list.js +90 -0
  382. package/dist/node_modules/micromark-core-commonmark/lib/partial-non-lazy-continuation.js +17 -0
  383. package/dist/node_modules/micromark-core-commonmark/lib/setext-underline.js +59 -0
  384. package/dist/node_modules/micromark-core-commonmark/lib/thematic-break.js +25 -0
  385. package/dist/node_modules/micromark-extension-gfm/index.js +18 -0
  386. package/dist/node_modules/micromark-extension-gfm-autolink-literal/lib/syntax.js +193 -0
  387. package/dist/node_modules/micromark-extension-gfm-footnote/lib/syntax.js +192 -0
  388. package/dist/node_modules/micromark-extension-gfm-strikethrough/lib/syntax.js +67 -0
  389. package/dist/node_modules/micromark-extension-gfm-table/lib/edit-map.js +75 -0
  390. package/dist/node_modules/micromark-extension-gfm-table/lib/infer.js +23 -0
  391. package/dist/node_modules/micromark-extension-gfm-table/lib/syntax.js +149 -0
  392. package/dist/node_modules/micromark-extension-gfm-task-list-item/lib/syntax.js +45 -0
  393. package/dist/node_modules/micromark-factory-destination/index.js +31 -0
  394. package/dist/node_modules/micromark-factory-label/index.js +28 -0
  395. package/dist/node_modules/micromark-factory-space/index.js +29 -0
  396. package/dist/node_modules/micromark-factory-title/index.js +26 -0
  397. package/dist/node_modules/micromark-factory-whitespace/index.js +12 -0
  398. package/dist/node_modules/micromark-util-character/index.js +39 -0
  399. package/dist/node_modules/micromark-util-chunked/index.js +16 -0
  400. package/dist/node_modules/micromark-util-classify-character/index.js +10 -0
  401. package/dist/node_modules/micromark-util-combine-extensions/index.js +36 -0
  402. package/dist/node_modules/micromark-util-decode-numeric-character-reference/index.js +16 -0
  403. package/dist/node_modules/micromark-util-decode-string/index.js +18 -0
  404. package/dist/node_modules/micromark-util-edit-map/index.js +82 -0
  405. package/dist/node_modules/micromark-util-html-tag-name/index.js +68 -0
  406. package/dist/node_modules/micromark-util-normalize-identifier/index.js +6 -0
  407. package/dist/node_modules/micromark-util-resolve-all/index.js +12 -0
  408. package/dist/node_modules/micromark-util-sanitize-uri/index.js +23 -0
  409. package/dist/node_modules/micromark-util-subtokenize/index.js +55 -0
  410. package/dist/node_modules/micromark-util-subtokenize/lib/splice-buffer.js +175 -0
  411. package/dist/node_modules/property-information/index.js +12 -0
  412. package/dist/node_modules/property-information/lib/aria.js +61 -0
  413. package/dist/node_modules/property-information/lib/find.js +33 -0
  414. package/dist/node_modules/property-information/lib/hast-to-react.js +22 -0
  415. package/dist/node_modules/property-information/lib/html.js +378 -0
  416. package/dist/node_modules/property-information/lib/normalize.js +6 -0
  417. package/dist/node_modules/property-information/lib/svg.js +568 -0
  418. package/dist/node_modules/property-information/lib/util/case-insensitive-transform.js +7 -0
  419. package/dist/node_modules/property-information/lib/util/case-sensitive-transform.js +6 -0
  420. package/dist/node_modules/property-information/lib/util/create.js +19 -0
  421. package/dist/node_modules/property-information/lib/util/defined-info.js +36 -0
  422. package/dist/node_modules/property-information/lib/util/info.js +28 -0
  423. package/dist/node_modules/property-information/lib/util/merge.js +10 -0
  424. package/dist/node_modules/property-information/lib/util/schema.js +21 -0
  425. package/dist/node_modules/property-information/lib/util/types.js +14 -0
  426. package/dist/node_modules/property-information/lib/xlink.js +19 -0
  427. package/dist/node_modules/property-information/lib/xml.js +11 -0
  428. package/dist/node_modules/property-information/lib/xmlns.js +11 -0
  429. package/dist/node_modules/react-markdown/lib/index.js +102 -0
  430. package/dist/node_modules/remark-gfm/lib/index.js +13 -0
  431. package/dist/node_modules/remark-parse/lib/index.js +19 -0
  432. package/dist/node_modules/remark-rehype/lib/index.js +18 -0
  433. package/dist/node_modules/space-separated-tokens/index.js +6 -0
  434. package/dist/node_modules/style-to-js/cjs/index.js +20 -0
  435. package/dist/node_modules/style-to-js/cjs/utilities.js +19 -0
  436. package/dist/node_modules/style-to-object/cjs/index.js +28 -0
  437. package/dist/node_modules/trim-lines/index.js +28 -0
  438. package/dist/node_modules/trough/lib/index.js +60 -0
  439. package/dist/node_modules/unified/lib/callable-instance.js +25 -0
  440. package/dist/node_modules/unified/lib/index.js +529 -0
  441. package/dist/node_modules/unist-util-is/lib/index.js +91 -0
  442. package/dist/node_modules/unist-util-position/lib/index.js +23 -0
  443. package/dist/node_modules/unist-util-stringify-position/lib/index.js +15 -0
  444. package/dist/node_modules/unist-util-visit/lib/index.js +16 -0
  445. package/dist/node_modules/unist-util-visit-parents/lib/color.js +6 -0
  446. package/dist/node_modules/unist-util-visit-parents/lib/index.js +56 -0
  447. package/dist/node_modules/vfile/lib/index.js +406 -0
  448. package/dist/node_modules/vfile/lib/minpath.browser.js +112 -0
  449. package/dist/node_modules/vfile/lib/minproc.browser.js +7 -0
  450. package/dist/node_modules/vfile/lib/minurl.browser.js +41 -0
  451. package/dist/node_modules/vfile/lib/minurl.shared.js +7 -0
  452. package/dist/node_modules/vfile-message/lib/index.js +91 -0
  453. package/dist/providers/app-providers.js +13 -11
  454. package/dist/tailwind.config.js +3 -1
  455. package/dist/theme/tailwind-colors.js +2 -1
  456. package/package.json +39 -4
@@ -0,0 +1,10 @@
1
+ const r = document.createElement("i");
2
+ function c(t) {
3
+ const n = "&" + t + ";";
4
+ r.innerHTML = n;
5
+ const e = r.textContent;
6
+ return e.charCodeAt(e.length - 1) === 59 && t !== "semi" || e === n ? !1 : e;
7
+ }
8
+ export {
9
+ c as decodeNamedCharacterReference
10
+ };
@@ -0,0 +1,8 @@
1
+ function n() {
2
+ }
3
+ function o() {
4
+ }
5
+ export {
6
+ n as ok,
7
+ o as unreachable
8
+ };
@@ -0,0 +1,7 @@
1
+ const n = /^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u, e = /^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u, s = {};
2
+ function _(t, o) {
3
+ return (s.jsx ? e : n).test(t);
4
+ }
5
+ export {
6
+ _ as name
7
+ };
@@ -0,0 +1,43 @@
1
+ var s, _;
2
+ function m() {
3
+ if (_) return s;
4
+ _ = 1;
5
+ var u = Object.prototype.hasOwnProperty, y = Object.prototype.toString, p = Object.defineProperty, v = Object.getOwnPropertyDescriptor, O = function(r) {
6
+ return typeof Array.isArray == "function" ? Array.isArray(r) : y.call(r) === "[object Array]";
7
+ }, d = function(r) {
8
+ if (!r || y.call(r) !== "[object Object]")
9
+ return !1;
10
+ var e = u.call(r, "constructor"), a = r.constructor && r.constructor.prototype && u.call(r.constructor.prototype, "isPrototypeOf");
11
+ if (r.constructor && !e && !a)
12
+ return !1;
13
+ var t;
14
+ for (t in r)
15
+ ;
16
+ return typeof t > "u" || u.call(r, t);
17
+ }, P = function(r, e) {
18
+ p && e.name === "__proto__" ? p(r, e.name, {
19
+ enumerable: !0,
20
+ configurable: !0,
21
+ value: e.newValue,
22
+ writable: !0
23
+ }) : r[e.name] = e.newValue;
24
+ }, g = function(r, e) {
25
+ if (e === "__proto__")
26
+ if (u.call(r, e)) {
27
+ if (v)
28
+ return v(r, e).value;
29
+ } else return;
30
+ return r[e];
31
+ };
32
+ return s = function o() {
33
+ var r, e, a, t, f, c, n = arguments[0], i = 1, w = arguments.length, l = !1;
34
+ for (typeof n == "boolean" && (l = n, n = arguments[1] || {}, i = 2), (n == null || typeof n != "object" && typeof n != "function") && (n = {}); i < w; ++i)
35
+ if (r = arguments[i], r != null)
36
+ for (e in r)
37
+ a = g(n, e), t = g(r, e), n !== t && (l && t && (d(t) || (f = O(t))) ? (f ? (f = !1, c = a && O(a) ? a : []) : c = a && d(a) ? a : {}, P(n, { name: e, newValue: o(l, c, t) })) : typeof t < "u" && P(n, { name: e, newValue: t }));
38
+ return n;
39
+ }, s;
40
+ }
41
+ export {
42
+ m as __require
43
+ };
@@ -0,0 +1,302 @@
1
+ import { stringify as w } from "../../comma-separated-tokens/index.js";
2
+ import { ok as u } from "../../devlop/lib/default.js";
3
+ import { svg as m, html as C } from "../../property-information/index.js";
4
+ import { stringify as N } from "../../space-separated-tokens/index.js";
5
+ import S from "../../../_virtual/index.js";
6
+ import { whitespace as j } from "../../hast-util-whitespace/lib/index.js";
7
+ import { name as x } from "../../estree-util-is-identifier-name/lib/index.js";
8
+ import { VFileMessage as h } from "../../vfile-message/lib/index.js";
9
+ import { find as A } from "../../property-information/lib/find.js";
10
+ import { hastToReact as T } from "../../property-information/lib/hast-to-react.js";
11
+ import { pointStart as F } from "../../unist-util-position/lib/index.js";
12
+ const f = {}.hasOwnProperty, P = /* @__PURE__ */ new Map(), J = /[A-Z]/g, I = /* @__PURE__ */ new Set(["table", "tbody", "thead", "tfoot", "tr"]), L = /* @__PURE__ */ new Set(["td", "th"]), g = "https://github.com/syntax-tree/hast-util-to-jsx-runtime";
13
+ function ae(t, e) {
14
+ if (!e || e.Fragment === void 0)
15
+ throw new TypeError("Expected `Fragment` in options");
16
+ const r = e.filePath || void 0;
17
+ let n;
18
+ if (e.development) {
19
+ if (typeof e.jsxDEV != "function")
20
+ throw new TypeError(
21
+ "Expected `jsxDEV` in options when `development: true`"
22
+ );
23
+ n = R(r, e.jsxDEV);
24
+ } else {
25
+ if (typeof e.jsx != "function")
26
+ throw new TypeError("Expected `jsx` in production options");
27
+ if (typeof e.jsxs != "function")
28
+ throw new TypeError("Expected `jsxs` in production options");
29
+ n = B(r, e.jsx, e.jsxs);
30
+ }
31
+ const s = {
32
+ Fragment: e.Fragment,
33
+ ancestors: [],
34
+ components: e.components || {},
35
+ create: n,
36
+ elementAttributeNameCase: e.elementAttributeNameCase || "react",
37
+ evaluater: e.createEvaluater ? e.createEvaluater() : void 0,
38
+ filePath: r,
39
+ ignoreInvalidStyle: e.ignoreInvalidStyle || !1,
40
+ passKeys: e.passKeys !== !1,
41
+ passNode: e.passNode || !1,
42
+ schema: e.space === "svg" ? m : C,
43
+ stylePropertyNameCase: e.stylePropertyNameCase || "dom",
44
+ tableCellAlignToStyle: e.tableCellAlignToStyle !== !1
45
+ }, i = E(s, t, void 0);
46
+ return i && typeof i != "string" ? i : s.create(
47
+ t,
48
+ s.Fragment,
49
+ { children: i || void 0 },
50
+ void 0
51
+ );
52
+ }
53
+ function E(t, e, r) {
54
+ if (e.type === "element")
55
+ return M(t, e, r);
56
+ if (e.type === "mdxFlowExpression" || e.type === "mdxTextExpression")
57
+ return D(t, e);
58
+ if (e.type === "mdxJsxFlowElement" || e.type === "mdxJsxTextElement")
59
+ return K(t, e, r);
60
+ if (e.type === "mdxjsEsm")
61
+ return V(t, e);
62
+ if (e.type === "root")
63
+ return O(t, e, r);
64
+ if (e.type === "text")
65
+ return _(t, e);
66
+ }
67
+ function M(t, e, r) {
68
+ const n = t.schema;
69
+ let s = n;
70
+ e.tagName.toLowerCase() === "svg" && n.space === "html" && (s = m, t.schema = s), t.ancestors.push(e);
71
+ const i = b(t, e.tagName, !1), a = z(t, e);
72
+ let o = d(t, e);
73
+ return I.has(e.tagName) && (o = o.filter(function(l) {
74
+ return typeof l == "string" ? !j(l) : !0;
75
+ })), v(t, a, i, e), y(a, o), t.ancestors.pop(), t.schema = n, t.create(e, i, a, r);
76
+ }
77
+ function D(t, e) {
78
+ if (e.data && e.data.estree && t.evaluater) {
79
+ const n = e.data.estree.body[0];
80
+ return u(n.type === "ExpressionStatement"), /** @type {Child | undefined} */
81
+ t.evaluater.evaluateExpression(n.expression);
82
+ }
83
+ p(t, e.position);
84
+ }
85
+ function V(t, e) {
86
+ if (e.data && e.data.estree && t.evaluater)
87
+ return (
88
+ /** @type {Child | undefined} */
89
+ t.evaluater.evaluateProgram(e.data.estree)
90
+ );
91
+ p(t, e.position);
92
+ }
93
+ function K(t, e, r) {
94
+ const n = t.schema;
95
+ let s = n;
96
+ e.name === "svg" && n.space === "html" && (s = m, t.schema = s), t.ancestors.push(e);
97
+ const i = e.name === null ? t.Fragment : b(t, e.name, !0), a = X(t, e), o = d(t, e);
98
+ return v(t, a, i, e), y(a, o), t.ancestors.pop(), t.schema = n, t.create(e, i, a, r);
99
+ }
100
+ function O(t, e, r) {
101
+ const n = {};
102
+ return y(n, d(t, e)), t.create(e, t.Fragment, n, r);
103
+ }
104
+ function _(t, e) {
105
+ return e.value;
106
+ }
107
+ function v(t, e, r, n) {
108
+ typeof r != "string" && r !== t.Fragment && t.passNode && (e.node = n);
109
+ }
110
+ function y(t, e) {
111
+ if (e.length > 0) {
112
+ const r = e.length > 1 ? e : e[0];
113
+ r && (t.children = r);
114
+ }
115
+ }
116
+ function B(t, e, r) {
117
+ return n;
118
+ function n(s, i, a, o) {
119
+ const c = Array.isArray(a.children) ? r : e;
120
+ return o ? c(i, a, o) : c(i, a);
121
+ }
122
+ }
123
+ function R(t, e) {
124
+ return r;
125
+ function r(n, s, i, a) {
126
+ const o = Array.isArray(i.children), l = F(n);
127
+ return e(
128
+ s,
129
+ i,
130
+ a,
131
+ o,
132
+ {
133
+ columnNumber: l ? l.column - 1 : void 0,
134
+ fileName: t,
135
+ lineNumber: l ? l.line : void 0
136
+ },
137
+ void 0
138
+ );
139
+ }
140
+ }
141
+ function z(t, e) {
142
+ const r = {};
143
+ let n, s;
144
+ for (s in e.properties)
145
+ if (s !== "children" && f.call(e.properties, s)) {
146
+ const i = Z(t, s, e.properties[s]);
147
+ if (i) {
148
+ const [a, o] = i;
149
+ t.tableCellAlignToStyle && a === "align" && typeof o == "string" && L.has(e.tagName) ? n = o : r[a] = o;
150
+ }
151
+ }
152
+ if (n) {
153
+ const i = (
154
+ /** @type {Style} */
155
+ r.style || (r.style = {})
156
+ );
157
+ i[t.stylePropertyNameCase === "css" ? "text-align" : "textAlign"] = n;
158
+ }
159
+ return r;
160
+ }
161
+ function X(t, e) {
162
+ const r = {};
163
+ for (const n of e.attributes)
164
+ if (n.type === "mdxJsxExpressionAttribute")
165
+ if (n.data && n.data.estree && t.evaluater) {
166
+ const i = n.data.estree.body[0];
167
+ u(i.type === "ExpressionStatement");
168
+ const a = i.expression;
169
+ u(a.type === "ObjectExpression");
170
+ const o = a.properties[0];
171
+ u(o.type === "SpreadElement"), Object.assign(
172
+ r,
173
+ t.evaluater.evaluateExpression(o.argument)
174
+ );
175
+ } else
176
+ p(t, e.position);
177
+ else {
178
+ const s = n.name;
179
+ let i;
180
+ if (n.value && typeof n.value == "object")
181
+ if (n.value.data && n.value.data.estree && t.evaluater) {
182
+ const o = n.value.data.estree.body[0];
183
+ u(o.type === "ExpressionStatement"), i = t.evaluater.evaluateExpression(o.expression);
184
+ } else
185
+ p(t, e.position);
186
+ else
187
+ i = n.value === null ? !0 : n.value;
188
+ r[s] = /** @type {Props[keyof Props]} */
189
+ i;
190
+ }
191
+ return r;
192
+ }
193
+ function d(t, e) {
194
+ const r = [];
195
+ let n = -1;
196
+ const s = t.passKeys ? /* @__PURE__ */ new Map() : P;
197
+ for (; ++n < e.children.length; ) {
198
+ const i = e.children[n];
199
+ let a;
200
+ if (t.passKeys) {
201
+ const l = i.type === "element" ? i.tagName : i.type === "mdxJsxFlowElement" || i.type === "mdxJsxTextElement" ? i.name : void 0;
202
+ if (l) {
203
+ const c = s.get(l) || 0;
204
+ a = l + "-" + c, s.set(l, c + 1);
205
+ }
206
+ }
207
+ const o = E(t, i, a);
208
+ o !== void 0 && r.push(o);
209
+ }
210
+ return r;
211
+ }
212
+ function Z(t, e, r) {
213
+ const n = A(t.schema, e);
214
+ if (!(r == null || typeof r == "number" && Number.isNaN(r))) {
215
+ if (Array.isArray(r) && (r = n.commaSeparated ? w(r) : N(r)), n.property === "style") {
216
+ let s = typeof r == "object" ? r : k(t, String(r));
217
+ return t.stylePropertyNameCase === "css" && (s = q(s)), ["style", s];
218
+ }
219
+ return [
220
+ t.elementAttributeNameCase === "react" && n.space ? T[n.property] || n.property : n.attribute,
221
+ r
222
+ ];
223
+ }
224
+ }
225
+ function k(t, e) {
226
+ try {
227
+ return S(e, { reactCompat: !0 });
228
+ } catch (r) {
229
+ if (t.ignoreInvalidStyle)
230
+ return {};
231
+ const n = (
232
+ /** @type {Error} */
233
+ r
234
+ ), s = new h("Cannot parse `style` attribute", {
235
+ ancestors: t.ancestors,
236
+ cause: n,
237
+ ruleId: "style",
238
+ source: "hast-util-to-jsx-runtime"
239
+ });
240
+ throw s.file = t.filePath || void 0, s.url = g + "#cannot-parse-style-attribute", s;
241
+ }
242
+ }
243
+ function b(t, e, r) {
244
+ let n;
245
+ if (!r)
246
+ n = { type: "Literal", value: e };
247
+ else if (e.includes(".")) {
248
+ const s = e.split(".");
249
+ let i = -1, a;
250
+ for (; ++i < s.length; ) {
251
+ const o = x(s[i]) ? { type: "Identifier", name: s[i] } : { type: "Literal", value: s[i] };
252
+ a = a ? {
253
+ type: "MemberExpression",
254
+ object: a,
255
+ property: o,
256
+ computed: !!(i && o.type === "Literal"),
257
+ optional: !1
258
+ } : o;
259
+ }
260
+ n = a;
261
+ } else
262
+ n = x(e) && !/^[a-z]/.test(e) ? { type: "Identifier", name: e } : { type: "Literal", value: e };
263
+ if (n.type === "Literal") {
264
+ const s = (
265
+ /** @type {string | number} */
266
+ n.value
267
+ );
268
+ return f.call(t.components, s) ? t.components[s] : s;
269
+ }
270
+ if (t.evaluater)
271
+ return t.evaluater.evaluateExpression(n);
272
+ p(t);
273
+ }
274
+ function p(t, e) {
275
+ const r = new h(
276
+ "Cannot handle MDX estrees without `createEvaluater`",
277
+ {
278
+ ancestors: t.ancestors,
279
+ place: e,
280
+ ruleId: "mdx-estree",
281
+ source: "hast-util-to-jsx-runtime"
282
+ }
283
+ );
284
+ throw r.file = t.filePath || void 0, r.url = g + "#cannot-handle-mdx-estrees-without-createevaluater", r;
285
+ }
286
+ function q(t) {
287
+ const e = {};
288
+ let r;
289
+ for (r in t)
290
+ f.call(t, r) && (e[G(r)] = t[r]);
291
+ return e;
292
+ }
293
+ function G(t) {
294
+ let e = t.replace(J, H);
295
+ return e.slice(0, 3) === "ms-" && (e = "-" + e), e;
296
+ }
297
+ function H(t) {
298
+ return "-" + t.toLowerCase();
299
+ }
300
+ export {
301
+ ae as toJsxRuntime
302
+ };
@@ -0,0 +1,10 @@
1
+ const r = /[ \t\n\f\r]/g;
2
+ function c(e) {
3
+ return typeof e == "object" ? e.type === "text" ? t(e.value) : !1 : t(e);
4
+ }
5
+ function t(e) {
6
+ return e.replace(r, "") === "";
7
+ }
8
+ export {
9
+ c as whitespace
10
+ };
@@ -0,0 +1,26 @@
1
+ const t = {
2
+ action: ["form"],
3
+ cite: ["blockquote", "del", "ins", "q"],
4
+ data: ["object"],
5
+ formAction: ["button", "input"],
6
+ href: ["a", "area", "base", "link"],
7
+ icon: ["menuitem"],
8
+ itemId: null,
9
+ manifest: ["html"],
10
+ ping: ["a", "area"],
11
+ poster: ["video"],
12
+ src: [
13
+ "audio",
14
+ "embed",
15
+ "iframe",
16
+ "img",
17
+ "input",
18
+ "script",
19
+ "source",
20
+ "track",
21
+ "video"
22
+ ]
23
+ };
24
+ export {
25
+ t as urlAttributes
26
+ };
@@ -0,0 +1,93 @@
1
+ var v, g;
2
+ function Y() {
3
+ if (g) return v;
4
+ g = 1;
5
+ var E = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, d = /\n/g, w = /^\s*/, N = /^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/, O = /^:\s*/, G = /^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/, I = /^[;\s]*/, C = /^\s+|\s+$/g, P = `
6
+ `, f = "/", s = "*", t = "", X = "comment", L = "declaration";
7
+ function M(e, c) {
8
+ if (typeof e != "string")
9
+ throw new TypeError("First argument must be a string");
10
+ if (!e) return [];
11
+ c = c || {};
12
+ var o = 1, i = 1;
13
+ function m(n) {
14
+ var r = n.match(d);
15
+ r && (o += r.length);
16
+ var a = n.lastIndexOf(P);
17
+ i = ~a ? n.length - a : i + n.length;
18
+ }
19
+ function p() {
20
+ var n = { line: o, column: i };
21
+ return function(r) {
22
+ return r.position = new l(n), _(), r;
23
+ };
24
+ }
25
+ function l(n) {
26
+ this.start = n, this.end = { line: o, column: i }, this.source = c.source;
27
+ }
28
+ l.prototype.content = e;
29
+ function R(n) {
30
+ var r = new Error(
31
+ c.source + ":" + o + ":" + i + ": " + n
32
+ );
33
+ if (r.reason = n, r.filename = c.source, r.line = o, r.column = i, r.source = e, !c.silent) throw r;
34
+ }
35
+ function u(n) {
36
+ var r = n.exec(e);
37
+ if (r) {
38
+ var a = r[0];
39
+ return m(a), e = e.slice(a.length), r;
40
+ }
41
+ }
42
+ function _() {
43
+ u(w);
44
+ }
45
+ function A(n) {
46
+ var r;
47
+ for (n = n || []; r = T(); )
48
+ r !== !1 && n.push(r);
49
+ return n;
50
+ }
51
+ function T() {
52
+ var n = p();
53
+ if (!(f != e.charAt(0) || s != e.charAt(1))) {
54
+ for (var r = 2; t != e.charAt(r) && (s != e.charAt(r) || f != e.charAt(r + 1)); )
55
+ ++r;
56
+ if (r += 2, t === e.charAt(r - 1))
57
+ return R("End of comment missing");
58
+ var a = e.slice(2, r - 2);
59
+ return i += 2, m(a), e = e.slice(r), i += 2, n({
60
+ type: X,
61
+ comment: a
62
+ });
63
+ }
64
+ }
65
+ function S() {
66
+ var n = p(), r = u(N);
67
+ if (r) {
68
+ if (T(), !u(O)) return R("property missing ':'");
69
+ var a = u(G), W = n({
70
+ type: L,
71
+ property: h(r[0].replace(E, t)),
72
+ value: a ? h(a[0].replace(E, t)) : t
73
+ });
74
+ return u(I), W;
75
+ }
76
+ }
77
+ function x() {
78
+ var n = [];
79
+ A(n);
80
+ for (var r; r = S(); )
81
+ r !== !1 && (n.push(r), A(n));
82
+ return n;
83
+ }
84
+ return _(), x();
85
+ }
86
+ function h(e) {
87
+ return e ? e.replace(C, t) : t;
88
+ }
89
+ return v = M, v;
90
+ }
91
+ export {
92
+ Y as __require
93
+ };
@@ -0,0 +1,9 @@
1
+ function e(t) {
2
+ if (typeof t != "object" || t === null)
3
+ return !1;
4
+ const o = Object.getPrototypeOf(t);
5
+ return (o === null || o === Object.prototype || Object.getPrototypeOf(o) === null) && !(Symbol.toStringTag in t) && !(Symbol.iterator in t);
6
+ }
7
+ export {
8
+ e as default
9
+ };
@@ -0,0 +1,12 @@
1
+ function f(l, t) {
2
+ const i = String(l);
3
+ let e = i.indexOf(t), n = e, o = 0, r = 0;
4
+ if (typeof t != "string")
5
+ throw new TypeError("Expected substring");
6
+ for (; e !== -1; )
7
+ e === n ? ++o > r && (r = o) : o = 1, n = e + t.length, e = i.indexOf(t, n);
8
+ return r;
9
+ }
10
+ export {
11
+ f as longestStreak
12
+ };
@@ -0,0 +1,75 @@
1
+ function C(i) {
2
+ return i.length;
3
+ }
4
+ function L(i, f) {
5
+ const n = f || {}, d = (n.align || []).concat(), y = n.stringLength || C, p = [], u = [], w = [], a = [];
6
+ let g = 0, s = -1;
7
+ for (; ++s < i.length; ) {
8
+ const r = [], c = [];
9
+ let t = -1;
10
+ for (i[s].length > g && (g = i[s].length); ++t < i[s].length; ) {
11
+ const l = I(i[s][t]);
12
+ if (n.alignDelimiters !== !1) {
13
+ const o = y(l);
14
+ c[t] = o, (a[t] === void 0 || o > a[t]) && (a[t] = o);
15
+ }
16
+ r.push(l);
17
+ }
18
+ u[s] = r, w[s] = c;
19
+ }
20
+ let e = -1;
21
+ if (typeof d == "object" && "length" in d)
22
+ for (; ++e < g; )
23
+ p[e] = S(d[e]);
24
+ else {
25
+ const r = S(d);
26
+ for (; ++e < g; )
27
+ p[e] = r;
28
+ }
29
+ e = -1;
30
+ const z = [], x = [];
31
+ for (; ++e < g; ) {
32
+ const r = p[e];
33
+ let c = "", t = "";
34
+ r === 99 ? (c = ":", t = ":") : r === 108 ? c = ":" : r === 114 && (t = ":");
35
+ let l = n.alignDelimiters === !1 ? 1 : Math.max(
36
+ 1,
37
+ a[e] - c.length - t.length
38
+ );
39
+ const o = c + "-".repeat(l) + t;
40
+ n.alignDelimiters !== !1 && (l = c.length + l + t.length, l > a[e] && (a[e] = l), x[e] = l), z[e] = o;
41
+ }
42
+ u.splice(1, 0, z), w.splice(1, 0, x), s = -1;
43
+ const D = [];
44
+ for (; ++s < u.length; ) {
45
+ const r = u[s], c = w[s];
46
+ e = -1;
47
+ const t = [];
48
+ for (; ++e < g; ) {
49
+ const l = r[e] || "";
50
+ let o = "", m = "";
51
+ if (n.alignDelimiters !== !1) {
52
+ const h = a[e] - (c[e] || 0), j = p[e];
53
+ j === 114 ? o = " ".repeat(h) : j === 99 ? h % 2 ? (o = " ".repeat(h / 2 + 0.5), m = " ".repeat(h / 2 - 0.5)) : (o = " ".repeat(h / 2), m = o) : m = " ".repeat(h);
54
+ }
55
+ n.delimiterStart !== !1 && !e && t.push("|"), n.padding !== !1 && // Don’t add the opening space if we’re not aligning and the cell is
56
+ // empty: there will be a closing space.
57
+ !(n.alignDelimiters === !1 && l === "") && (n.delimiterStart !== !1 || e) && t.push(" "), n.alignDelimiters !== !1 && t.push(o), t.push(l), n.alignDelimiters !== !1 && t.push(m), n.padding !== !1 && t.push(" "), (n.delimiterEnd !== !1 || e !== g - 1) && t.push("|");
58
+ }
59
+ D.push(
60
+ n.delimiterEnd === !1 ? t.join("").replace(/ +$/, "") : t.join("")
61
+ );
62
+ }
63
+ return D.join(`
64
+ `);
65
+ }
66
+ function I(i) {
67
+ return i == null ? "" : String(i);
68
+ }
69
+ function S(i) {
70
+ const f = typeof i == "string" ? i.codePointAt(0) : 0;
71
+ return f === 67 || f === 99 ? 99 : f === 76 || f === 108 ? 108 : f === 82 || f === 114 ? 114 : 0;
72
+ }
73
+ export {
74
+ L as markdownTable
75
+ };
@@ -0,0 +1,78 @@
1
+ import I from "../node_modules/escape-string-regexp/index.js";
2
+ import { convert as R } from "../../unist-util-is/lib/index.js";
3
+ import { visitParents as k } from "../../unist-util-visit-parents/lib/index.js";
4
+ function B(e, p, g) {
5
+ const x = R((g || {}).ignore || []), y = P(p);
6
+ let v = -1;
7
+ for (; ++v < y.length; )
8
+ k(e, "text", A);
9
+ function A(n, s) {
10
+ let f = -1, t;
11
+ for (; ++f < s.length; ) {
12
+ const a = s[f], r = t ? t.children : void 0;
13
+ if (x(
14
+ a,
15
+ r ? r.indexOf(a) : void 0,
16
+ t
17
+ ))
18
+ return;
19
+ t = a;
20
+ }
21
+ if (t)
22
+ return b(n, s);
23
+ }
24
+ function b(n, s) {
25
+ const f = s[s.length - 1], t = y[v][0], a = y[v][1];
26
+ let r = 0;
27
+ const m = f.children.indexOf(n);
28
+ let w = !1, c = [];
29
+ t.lastIndex = 0;
30
+ let o = t.exec(n.value);
31
+ for (; o; ) {
32
+ const l = o.index, u = {
33
+ index: o.index,
34
+ input: o.input,
35
+ stack: [...s, n]
36
+ };
37
+ let i = a(...o, u);
38
+ if (typeof i == "string" && (i = i.length > 0 ? { type: "text", value: i } : void 0), i === !1)
39
+ t.lastIndex = l + 1;
40
+ else {
41
+ if (r !== l && d({ type: "text", value: n.value.slice(r, l) }), Array.isArray(i))
42
+ for (const E of i) d(E);
43
+ else i && d(i);
44
+ r = l + o[0].length, w = !0;
45
+ }
46
+ if (!t.global)
47
+ break;
48
+ o = t.exec(n.value);
49
+ }
50
+ return w ? (r < n.value.length && d({ type: "text", value: n.value.slice(r) }), f.children.splice(m, 1, ...c)) : c = [n], m + c.length;
51
+ function d(l) {
52
+ const u = c[c.length - 1];
53
+ u && u.type === "text" && l.type === "text" ? u.value += l.value : c.push(l);
54
+ }
55
+ }
56
+ }
57
+ function P(e) {
58
+ if (!Array.isArray(e))
59
+ throw new TypeError("Expected find and replace tuple or list of tuples");
60
+ const p = [], g = !e[0] || Array.isArray(e[0]) ? e : [e];
61
+ let h = -1;
62
+ for (; ++h < g.length; ) {
63
+ const x = g[h];
64
+ p.push([j(x[0]), F(x[1])]);
65
+ }
66
+ return p;
67
+ }
68
+ function j(e) {
69
+ return typeof e == "string" ? new RegExp(I(e), "g") : e;
70
+ }
71
+ function F(e) {
72
+ return typeof e == "function" ? e : function() {
73
+ return e;
74
+ };
75
+ }
76
+ export {
77
+ B as findAndReplace
78
+ };
@@ -0,0 +1,8 @@
1
+ function r(e) {
2
+ if (typeof e != "string")
3
+ throw new TypeError("Expected a string");
4
+ return e.replace(/[|\\{}()[\]^$+*?.]/g, "\\$&").replace(/-/g, "\\x2d");
5
+ }
6
+ export {
7
+ r as default
8
+ };