jekyll-ham 1.0.4 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (366) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +11 -2
  3. data/_layouts/default.html +6 -0
  4. data/_layouts/page.html +1 -1
  5. data/assets/mermaid/Diagram.d.ts +33 -0
  6. data/assets/mermaid/Tableau10-31042135.js +10 -0
  7. data/assets/mermaid/Tableau10-558cc280.js +9 -0
  8. data/assets/mermaid/__mocks__/mermaidAPI.d.ts +13 -0
  9. data/assets/mermaid/accessibility.d.ts +27 -0
  10. data/assets/mermaid/accessibility.spec.d.ts +1 -0
  11. data/assets/mermaid/arc-c0f908ab.js +148 -0
  12. data/assets/mermaid/arc-d1f6357e.js +86 -0
  13. data/assets/mermaid/array-2ff2c7a6.js +6 -0
  14. data/assets/mermaid/array-b7dcf730.js +6 -0
  15. data/assets/mermaid/assignWithDepth.d.ts +30 -0
  16. data/assets/mermaid/blockDiagram-5dc23a45.js +1230 -0
  17. data/assets/mermaid/blockDiagram-9f4a6865.js +1822 -0
  18. data/assets/mermaid/blockDiagram-efe38566.js +1818 -0
  19. data/assets/mermaid/c4Diagram-1e775db3.js +1579 -0
  20. data/assets/mermaid/c4Diagram-ae766693.js +2473 -0
  21. data/assets/mermaid/c4Diagram-af207393.js +2463 -0
  22. data/assets/mermaid/channel-ebbc4130.js +5 -0
  23. data/assets/mermaid/channel-f9001828.js +8 -0
  24. data/assets/mermaid/classDiagram-72b9c71d.js +356 -0
  25. data/assets/mermaid/classDiagram-f52caa06.js +220 -0
  26. data/assets/mermaid/classDiagram-fb54d2a0.js +363 -0
  27. data/assets/mermaid/classDiagram-v2-640c694e.js +206 -0
  28. data/assets/mermaid/classDiagram-v2-a2b738ad.js +298 -0
  29. data/assets/mermaid/classDiagram-v2-fedb80f6.js +290 -0
  30. data/assets/mermaid/clone-9ea6bfeb.js +8 -0
  31. data/assets/mermaid/clone-afc2f047.js +8 -0
  32. data/assets/mermaid/config.d.ts +98 -0
  33. data/assets/mermaid/config.spec.d.ts +1 -0
  34. data/assets/mermaid/config.type.d.ts +1534 -0
  35. data/assets/mermaid/createText-03b82060.js +2966 -0
  36. data/assets/mermaid/createText-b70fe78a.js +4929 -0
  37. data/assets/mermaid/createText-ca0c5216.js +251 -0
  38. data/assets/mermaid/dagre-wrapper/blockArrowHelper.d.ts +8 -0
  39. data/assets/mermaid/dagre-wrapper/clusters.d.ts +4 -0
  40. data/assets/mermaid/dagre-wrapper/createLabel.d.ts +9 -0
  41. data/assets/mermaid/dagre-wrapper/edgeMarker.d.ts +12 -0
  42. data/assets/mermaid/dagre-wrapper/edgeMarker.spec.d.ts +1 -0
  43. data/assets/mermaid/dagre-wrapper/edges.d.ts +14 -0
  44. data/assets/mermaid/dagre-wrapper/index.d.ts +1 -0
  45. data/assets/mermaid/dagre-wrapper/intersect/index.d.ts +13 -0
  46. data/assets/mermaid/dagre-wrapper/intersect/intersect-circle.d.ts +10 -0
  47. data/assets/mermaid/dagre-wrapper/intersect/intersect-ellipse.d.ts +11 -0
  48. data/assets/mermaid/dagre-wrapper/intersect/intersect-line.d.ts +13 -0
  49. data/assets/mermaid/dagre-wrapper/intersect/intersect-node.d.ts +6 -0
  50. data/assets/mermaid/dagre-wrapper/intersect/intersect-polygon.d.ts +10 -0
  51. data/assets/mermaid/dagre-wrapper/intersect/intersect-rect.d.ts +5 -0
  52. data/assets/mermaid/dagre-wrapper/markers.d.ts +2 -0
  53. data/assets/mermaid/dagre-wrapper/mermaid-graphlib.d.ts +8 -0
  54. data/assets/mermaid/dagre-wrapper/nodes.d.ts +4 -0
  55. data/assets/mermaid/dagre-wrapper/shapes/note.d.ts +2 -0
  56. data/assets/mermaid/dagre-wrapper/shapes/util.d.ts +14 -0
  57. data/assets/mermaid/defaultConfig.d.ts +12 -0
  58. data/assets/mermaid/diagram-api/comments.d.ts +6 -0
  59. data/assets/mermaid/diagram-api/comments.spec.d.ts +1 -0
  60. data/assets/mermaid/diagram-api/detectType.d.ts +42 -0
  61. data/assets/mermaid/diagram-api/diagram-orchestration.d.ts +1 -0
  62. data/assets/mermaid/diagram-api/diagram-orchestration.spec.d.ts +1 -0
  63. data/assets/mermaid/diagram-api/diagramAPI.d.ts +31 -0
  64. data/assets/mermaid/diagram-api/diagramAPI.spec.d.ts +1 -0
  65. data/assets/mermaid/diagram-api/frontmatter.d.ts +18 -0
  66. data/assets/mermaid/diagram-api/frontmatter.spec.d.ts +1 -0
  67. data/assets/mermaid/diagram-api/loadDiagram.d.ts +1 -0
  68. data/assets/mermaid/diagram-api/regexes.d.ts +3 -0
  69. data/assets/mermaid/diagram-api/types.d.ts +84 -0
  70. data/assets/mermaid/diagram.spec.d.ts +1 -0
  71. data/assets/mermaid/diagrams/block/blockDB.d.ts +54 -0
  72. data/assets/mermaid/diagrams/block/blockDetector.d.ts +3 -0
  73. data/assets/mermaid/diagrams/block/blockDiagram.d.ts +2 -0
  74. data/assets/mermaid/diagrams/block/blockRenderer.d.ts +15 -0
  75. data/assets/mermaid/diagrams/block/blockTypes.d.ts +36 -0
  76. data/assets/mermaid/diagrams/block/blockUtils.d.ts +1 -0
  77. data/assets/mermaid/diagrams/block/layout.d.ts +13 -0
  78. data/assets/mermaid/diagrams/block/layout.spec.d.ts +1 -0
  79. data/assets/mermaid/diagrams/block/parser/block.spec.d.ts +1 -0
  80. data/assets/mermaid/diagrams/block/renderHelpers.d.ts +10 -0
  81. data/assets/mermaid/diagrams/block/styles.d.ts +18 -0
  82. data/assets/mermaid/diagrams/c4/c4Db.d.ts +127 -0
  83. data/assets/mermaid/diagrams/c4/c4Detector.d.ts +3 -0
  84. data/assets/mermaid/diagrams/c4/c4Diagram.d.ts +2 -0
  85. data/assets/mermaid/diagrams/c4/c4Renderer.d.ts +12 -0
  86. data/assets/mermaid/diagrams/c4/styles.d.ts +2 -0
  87. data/assets/mermaid/diagrams/c4/svgDraw.d.ts +36 -0
  88. data/assets/mermaid/diagrams/class/classDb.d.ts +144 -0
  89. data/assets/mermaid/diagrams/class/classDetector-V2.d.ts +3 -0
  90. data/assets/mermaid/diagrams/class/classDetector.d.ts +3 -0
  91. data/assets/mermaid/diagrams/class/classDiagram-v2.d.ts +2 -0
  92. data/assets/mermaid/diagrams/class/classDiagram.d.ts +2 -0
  93. data/assets/mermaid/diagrams/class/classDiagram.spec.d.ts +1 -0
  94. data/assets/mermaid/diagrams/class/classRenderer-v2.d.ts +57 -0
  95. data/assets/mermaid/diagrams/class/classRenderer.d.ts +5 -0
  96. data/assets/mermaid/diagrams/class/classTypes.d.ts +78 -0
  97. data/assets/mermaid/diagrams/class/classTypes.spec.d.ts +1 -0
  98. data/assets/mermaid/diagrams/class/styles.d.ts +2 -0
  99. data/assets/mermaid/diagrams/class/svgDraw.d.ts +25 -0
  100. data/assets/mermaid/diagrams/common/common.d.ts +110 -0
  101. data/assets/mermaid/diagrams/common/common.spec.d.ts +1 -0
  102. data/assets/mermaid/diagrams/common/commonDb.d.ts +7 -0
  103. data/assets/mermaid/diagrams/common/commonTypes.d.ts +51 -0
  104. data/assets/mermaid/diagrams/common/svgDrawCommon.d.ts +15 -0
  105. data/assets/mermaid/diagrams/er/erDb.d.ts +49 -0
  106. data/assets/mermaid/diagrams/er/erDetector.d.ts +3 -0
  107. data/assets/mermaid/diagrams/er/erDiagram.d.ts +34 -0
  108. data/assets/mermaid/diagrams/er/erMarkers.d.ts +24 -0
  109. data/assets/mermaid/diagrams/er/erRenderer.d.ts +19 -0
  110. data/assets/mermaid/diagrams/er/erRenderer.spec.d.ts +1 -0
  111. data/assets/mermaid/diagrams/er/styles.d.ts +2 -0
  112. data/assets/mermaid/diagrams/error/errorDiagram.d.ts +3 -0
  113. data/assets/mermaid/diagrams/error/errorRenderer.d.ts +12 -0
  114. data/assets/mermaid/diagrams/flowchart/elk/detector.d.ts +3 -0
  115. data/assets/mermaid/diagrams/flowchart/elk/detector.spec.d.ts +1 -0
  116. data/assets/mermaid/diagrams/flowchart/elk/flowRenderer-elk.d.ts +10 -0
  117. data/assets/mermaid/diagrams/flowchart/elk/flowchart-elk-definition.d.ts +10 -0
  118. data/assets/mermaid/diagrams/flowchart/elk/render-utils.d.ts +5 -0
  119. data/assets/mermaid/diagrams/flowchart/elk/render-utils.spec.d.ts +1 -0
  120. data/assets/mermaid/diagrams/flowchart/elk/styles.d.ts +19 -0
  121. data/assets/mermaid/diagrams/flowchart/flowChartShapes.d.ts +9 -0
  122. data/assets/mermaid/diagrams/flowchart/flowDb.d.ts +87 -0
  123. data/assets/mermaid/diagrams/flowchart/flowDetector-v2.d.ts +3 -0
  124. data/assets/mermaid/diagrams/flowchart/flowDetector.d.ts +3 -0
  125. data/assets/mermaid/diagrams/flowchart/flowDiagram-v2.d.ts +57 -0
  126. data/assets/mermaid/diagrams/flowchart/flowDiagram.d.ts +57 -0
  127. data/assets/mermaid/diagrams/flowchart/flowRenderer-v2.d.ts +13 -0
  128. data/assets/mermaid/diagrams/flowchart/flowRenderer.d.ts +13 -0
  129. data/assets/mermaid/diagrams/flowchart/styles.d.ts +18 -0
  130. data/assets/mermaid/diagrams/gantt/ganttDb.d.ts +106 -0
  131. data/assets/mermaid/diagrams/gantt/ganttDb.spec.d.ts +1 -0
  132. data/assets/mermaid/diagrams/gantt/ganttDetector.d.ts +3 -0
  133. data/assets/mermaid/diagrams/gantt/ganttDiagram.d.ts +2 -0
  134. data/assets/mermaid/diagrams/gantt/ganttRenderer.d.ts +7 -0
  135. data/assets/mermaid/diagrams/gantt/styles.d.ts +2 -0
  136. data/assets/mermaid/diagrams/git/gitGraphAst.d.ts +61 -0
  137. data/assets/mermaid/diagrams/git/gitGraphDetector.d.ts +3 -0
  138. data/assets/mermaid/diagrams/git/gitGraphDiagram.d.ts +2 -0
  139. data/assets/mermaid/diagrams/git/gitGraphRenderer.d.ts +5 -0
  140. data/assets/mermaid/diagrams/git/styles.d.ts +2 -0
  141. data/assets/mermaid/diagrams/info/info.spec.d.ts +1 -0
  142. data/assets/mermaid/diagrams/info/infoDb.d.ts +5 -0
  143. data/assets/mermaid/diagrams/info/infoDetector.d.ts +2 -0
  144. data/assets/mermaid/diagrams/info/infoDiagram.d.ts +2 -0
  145. data/assets/mermaid/diagrams/info/infoRenderer.d.ts +4 -0
  146. data/assets/mermaid/diagrams/info/infoTypes.d.ts +9 -0
  147. data/assets/mermaid/diagrams/mindmap/detector.d.ts +3 -0
  148. data/assets/mermaid/diagrams/mindmap/mindmap-definition.d.ts +2 -0
  149. data/assets/mermaid/diagrams/mindmap/mindmap.spec.d.ts +1 -0
  150. data/assets/mermaid/diagrams/mindmap/mindmapDb.d.ts +30 -0
  151. data/assets/mermaid/diagrams/mindmap/mindmapRenderer.d.ts +21 -0
  152. data/assets/mermaid/diagrams/mindmap/mindmapTypes.d.ts +20 -0
  153. data/assets/mermaid/diagrams/mindmap/styles.d.ts +3 -0
  154. data/assets/mermaid/diagrams/mindmap/svgDraw.d.ts +13 -0
  155. data/assets/mermaid/diagrams/pie/pie.spec.d.ts +1 -0
  156. data/assets/mermaid/diagrams/pie/pieDb.d.ts +6 -0
  157. data/assets/mermaid/diagrams/pie/pieDetector.d.ts +2 -0
  158. data/assets/mermaid/diagrams/pie/pieDiagram.d.ts +2 -0
  159. data/assets/mermaid/diagrams/pie/pieRenderer.d.ts +13 -0
  160. data/assets/mermaid/diagrams/pie/pieStyles.d.ts +3 -0
  161. data/assets/mermaid/diagrams/pie/pieTypes.d.ts +53 -0
  162. data/assets/mermaid/diagrams/quadrant-chart/parser/quadrant.jison.spec.d.ts +1 -0
  163. data/assets/mermaid/diagrams/quadrant-chart/quadrantBuilder.d.ts +118 -0
  164. data/assets/mermaid/diagrams/quadrant-chart/quadrantDb.d.ts +38 -0
  165. data/assets/mermaid/diagrams/quadrant-chart/quadrantDetector.d.ts +3 -0
  166. data/assets/mermaid/diagrams/quadrant-chart/quadrantDiagram.d.ts +2 -0
  167. data/assets/mermaid/diagrams/quadrant-chart/quadrantRenderer.d.ts +6 -0
  168. data/assets/mermaid/diagrams/requirement/requirementDb.d.ts +70 -0
  169. data/assets/mermaid/diagrams/requirement/requirementDetector.d.ts +3 -0
  170. data/assets/mermaid/diagrams/requirement/requirementDiagram.d.ts +2 -0
  171. data/assets/mermaid/diagrams/requirement/requirementMarkers.d.ts +10 -0
  172. data/assets/mermaid/diagrams/requirement/requirementRenderer.d.ts +7 -0
  173. data/assets/mermaid/diagrams/requirement/styles.d.ts +2 -0
  174. data/assets/mermaid/diagrams/sankey/parser/sankey.spec.d.ts +1 -0
  175. data/assets/mermaid/diagrams/sankey/sankeyDB.d.ts +36 -0
  176. data/assets/mermaid/diagrams/sankey/sankeyDetector.d.ts +3 -0
  177. data/assets/mermaid/diagrams/sankey/sankeyDiagram.d.ts +2 -0
  178. data/assets/mermaid/diagrams/sankey/sankeyRenderer.d.ts +14 -0
  179. data/assets/mermaid/diagrams/sankey/sankeyUtils.d.ts +1 -0
  180. data/assets/mermaid/diagrams/sequence/sequenceDb.d.ts +153 -0
  181. data/assets/mermaid/diagrams/sequence/sequenceDetector.d.ts +3 -0
  182. data/assets/mermaid/diagrams/sequence/sequenceDiagram.d.ts +2 -0
  183. data/assets/mermaid/diagrams/sequence/sequenceRenderer.d.ts +202 -0
  184. data/assets/mermaid/diagrams/sequence/styles.d.ts +2 -0
  185. data/assets/mermaid/diagrams/sequence/svgDraw.d.ts +73 -0
  186. data/assets/mermaid/diagrams/state/id-cache.d.ts +11 -0
  187. data/assets/mermaid/diagrams/state/shapes.d.ts +14 -0
  188. data/assets/mermaid/diagrams/state/stateCommon.d.ts +22 -0
  189. data/assets/mermaid/diagrams/state/stateDb.d.ts +91 -0
  190. data/assets/mermaid/diagrams/state/stateDetector-V2.d.ts +3 -0
  191. data/assets/mermaid/diagrams/state/stateDetector.d.ts +3 -0
  192. data/assets/mermaid/diagrams/state/stateDiagram-v2.d.ts +2 -0
  193. data/assets/mermaid/diagrams/state/stateDiagram.d.ts +2 -0
  194. data/assets/mermaid/diagrams/state/stateRenderer-v2.d.ts +20 -0
  195. data/assets/mermaid/diagrams/state/stateRenderer.d.ts +7 -0
  196. data/assets/mermaid/diagrams/state/styles.d.ts +2 -0
  197. data/assets/mermaid/diagrams/timeline/detector.d.ts +3 -0
  198. data/assets/mermaid/diagrams/timeline/styles.d.ts +2 -0
  199. data/assets/mermaid/diagrams/timeline/svgDraw.d.ts +46 -0
  200. data/assets/mermaid/diagrams/timeline/timeline-definition.d.ts +10 -0
  201. data/assets/mermaid/diagrams/timeline/timelineDb.d.ts +20 -0
  202. data/assets/mermaid/diagrams/timeline/timelineRenderer.d.ts +19 -0
  203. data/assets/mermaid/diagrams/user-journey/journeyDb.d.ts +30 -0
  204. data/assets/mermaid/diagrams/user-journey/journeyDetector.d.ts +3 -0
  205. data/assets/mermaid/diagrams/user-journey/journeyDiagram.d.ts +2 -0
  206. data/assets/mermaid/diagrams/user-journey/journeyRenderer.d.ts +30 -0
  207. data/assets/mermaid/diagrams/user-journey/styles.d.ts +2 -0
  208. data/assets/mermaid/diagrams/user-journey/svgDraw.d.ts +20 -0
  209. data/assets/mermaid/diagrams/xychart/chartBuilder/components/axis/bandAxis.d.ts +12 -0
  210. data/assets/mermaid/diagrams/xychart/chartBuilder/components/axis/baseAxis.d.ts +38 -0
  211. data/assets/mermaid/diagrams/xychart/chartBuilder/components/axis/index.d.ts +12 -0
  212. data/assets/mermaid/diagrams/xychart/chartBuilder/components/axis/linearAxis.d.ts +11 -0
  213. data/assets/mermaid/diagrams/xychart/chartBuilder/components/chartTitle.d.ts +16 -0
  214. data/assets/mermaid/diagrams/xychart/chartBuilder/components/plot/barPlot.d.ts +12 -0
  215. data/assets/mermaid/diagrams/xychart/chartBuilder/components/plot/index.d.ts +20 -0
  216. data/assets/mermaid/diagrams/xychart/chartBuilder/components/plot/linePlot.d.ts +11 -0
  217. data/assets/mermaid/diagrams/xychart/chartBuilder/index.d.ts +5 -0
  218. data/assets/mermaid/diagrams/xychart/chartBuilder/interfaces.d.ts +132 -0
  219. data/assets/mermaid/diagrams/xychart/chartBuilder/orchestrator.d.ts +12 -0
  220. data/assets/mermaid/diagrams/xychart/chartBuilder/textDimensionCalculator.d.ts +10 -0
  221. data/assets/mermaid/diagrams/xychart/parser/xychart.jison.spec.d.ts +1 -0
  222. data/assets/mermaid/diagrams/xychart/xychartDb.d.ts +40 -0
  223. data/assets/mermaid/diagrams/xychart/xychartDetector.d.ts +3 -0
  224. data/assets/mermaid/diagrams/xychart/xychartDiagram.d.ts +2 -0
  225. data/assets/mermaid/diagrams/xychart/xychartRenderer.d.ts +6 -0
  226. data/assets/mermaid/docs/vite.config.d.ts +2 -0
  227. data/assets/mermaid/edges-066a5561.js +1840 -0
  228. data/assets/mermaid/edges-16357fde.js +1083 -0
  229. data/assets/mermaid/edges-ce5cfb7c.js +1840 -0
  230. data/assets/mermaid/erDiagram-09d1c15f.js +1176 -0
  231. data/assets/mermaid/erDiagram-543717f2.js +1321 -0
  232. data/assets/mermaid/erDiagram-c7ff1bec.js +931 -0
  233. data/assets/mermaid/errors.d.ts +3 -0
  234. data/assets/mermaid/flowDb-9a89ea33.js +1126 -0
  235. data/assets/mermaid/flowDb-ba9bd7fa.js +1713 -0
  236. data/assets/mermaid/flowDb-c1833063.js +1714 -0
  237. data/assets/mermaid/flowDiagram-aadb13b0.js +797 -0
  238. data/assets/mermaid/flowDiagram-b222e15a.js +614 -0
  239. data/assets/mermaid/flowDiagram-b5e7ba30.js +1278 -0
  240. data/assets/mermaid/flowDiagram-v2-13329dc7.js +40 -0
  241. data/assets/mermaid/flowDiagram-v2-54711e03.js +32 -0
  242. data/assets/mermaid/flowDiagram-v2-f2119625.js +25 -0
  243. data/assets/mermaid/flowchart-elk-definition-2d49707c.js +93397 -0
  244. data/assets/mermaid/flowchart-elk-definition-ae0efee6.js +814 -0
  245. data/assets/mermaid/flowchart-elk-definition-cf813a97.js +48407 -0
  246. data/assets/mermaid/ganttDiagram-12cf43db.js +3445 -0
  247. data/assets/mermaid/ganttDiagram-3c2fde2b.js +2501 -0
  248. data/assets/mermaid/ganttDiagram-b62c793e.js +2061 -0
  249. data/assets/mermaid/gitGraphDiagram-942e62fe.js +1800 -0
  250. data/assets/mermaid/gitGraphDiagram-b9392a12.js +1790 -0
  251. data/assets/mermaid/gitGraphDiagram-c3a0619c.js +1264 -0
  252. data/assets/mermaid/graph-0ee63739.js +881 -0
  253. data/assets/mermaid/graph-fe24fab6.js +1285 -0
  254. data/assets/mermaid/index-01f381cb.js +622 -0
  255. data/assets/mermaid/index-bb6d8841.js +373 -0
  256. data/assets/mermaid/index-fc479858.js +663 -0
  257. data/assets/mermaid/infoDiagram-2f5c50c0.js +319 -0
  258. data/assets/mermaid/infoDiagram-94cd232f.js +520 -0
  259. data/assets/mermaid/infoDiagram-d0d5c9bd.js +510 -0
  260. data/assets/mermaid/init-cc95ec8e.js +16 -0
  261. data/assets/mermaid/init-f9637058.js +16 -0
  262. data/assets/mermaid/interactionDb.d.ts +2 -0
  263. data/assets/mermaid/journeyDiagram-14fe341a.js +804 -0
  264. data/assets/mermaid/journeyDiagram-6625b456.js +1191 -0
  265. data/assets/mermaid/journeyDiagram-b56e6921.js +1183 -0
  266. data/assets/mermaid/katex-d90b6d29.js +11624 -0
  267. data/assets/mermaid/katex-ffb0e8f1.js +14432 -0
  268. data/assets/mermaid/layout-163b9689.js +2314 -0
  269. data/assets/mermaid/layout-fd473db2.js +1536 -0
  270. data/assets/mermaid/line-24d93f1b.js +34 -0
  271. data/assets/mermaid/line-87f517ef.js +50 -0
  272. data/assets/mermaid/linear-0ad15847.js +595 -0
  273. data/assets/mermaid/linear-9bcf74c4.js +447 -0
  274. data/assets/mermaid/logger.d.ts +9 -0
  275. data/assets/mermaid/mermaid-6dc72991.js +6461 -0
  276. data/assets/mermaid/mermaid-9f2aa176.js +8112 -0
  277. data/assets/mermaid/mermaid-dcacb631.js +12793 -0
  278. data/assets/mermaid/mermaid.core.mjs +14 -0
  279. data/assets/mermaid/mermaid.d.ts +146 -0
  280. data/assets/mermaid/mermaid.esm.min.mjs +4 -0
  281. data/assets/mermaid/mermaid.esm.mjs +4 -0
  282. data/assets/mermaid/mermaid.js +195755 -0
  283. data/assets/mermaid/mermaid.min.js +2029 -0
  284. data/assets/mermaid/mermaid.spec.d.ts +1 -0
  285. data/assets/mermaid/mermaidAPI.d.ts +170 -0
  286. data/assets/mermaid/mermaidAPI.spec.d.ts +1 -0
  287. data/assets/mermaid/mindmap-definition-307c710a.js +1177 -0
  288. data/assets/mermaid/mindmap-definition-696ddea4.js +32342 -0
  289. data/assets/mermaid/mindmap-definition-9399c7e6.js +18760 -0
  290. data/assets/mermaid/ordinal-475e0c0c.js +82 -0
  291. data/assets/mermaid/ordinal-5695958c.js +65 -0
  292. data/assets/mermaid/path-39bad7e2.js +118 -0
  293. data/assets/mermaid/path-428ebac9.js +91 -0
  294. data/assets/mermaid/pieDiagram-828dae43.js +502 -0
  295. data/assets/mermaid/pieDiagram-bb1d19e5.js +722 -0
  296. data/assets/mermaid/pieDiagram-e854eaf0.js +772 -0
  297. data/assets/mermaid/preprocess.d.ts +10 -0
  298. data/assets/mermaid/quadrantDiagram-25a9848b.js +1199 -0
  299. data/assets/mermaid/quadrantDiagram-5fa00455.js +904 -0
  300. data/assets/mermaid/quadrantDiagram-c759a472.js +1207 -0
  301. data/assets/mermaid/rendering-util/createText.d.ts +11 -0
  302. data/assets/mermaid/rendering-util/handle-markdown-text.d.ts +6 -0
  303. data/assets/mermaid/rendering-util/handle-markdown-text.spec.d.ts +1 -0
  304. data/assets/mermaid/rendering-util/selectSvgElement.d.ts +8 -0
  305. data/assets/mermaid/rendering-util/splitText.d.ts +24 -0
  306. data/assets/mermaid/rendering-util/splitText.spec.d.ts +1 -0
  307. data/assets/mermaid/rendering-util/uid.d.ts +8 -0
  308. data/assets/mermaid/requirementDiagram-03163dc4.js +769 -0
  309. data/assets/mermaid/requirementDiagram-87253d64.js +1098 -0
  310. data/assets/mermaid/requirementDiagram-a721e157.js +1091 -0
  311. data/assets/mermaid/sankeyDiagram-33525efb.js +1198 -0
  312. data/assets/mermaid/sankeyDiagram-52ec8976.js +818 -0
  313. data/assets/mermaid/sankeyDiagram-707fac0f.js +660 -0
  314. data/assets/mermaid/sequenceDiagram-6894f283.js +3346 -0
  315. data/assets/mermaid/sequenceDiagram-9813c129.js +3336 -0
  316. data/assets/mermaid/sequenceDiagram-b517d154.js +2234 -0
  317. data/assets/mermaid/setupGraphViewbox.d.ts +3 -0
  318. data/assets/mermaid/stateDiagram-5dee940d.js +474 -0
  319. data/assets/mermaid/stateDiagram-5ec31577.js +467 -0
  320. data/assets/mermaid/stateDiagram-fca82b5b.js +275 -0
  321. data/assets/mermaid/stateDiagram-v2-1992cada.js +333 -0
  322. data/assets/mermaid/stateDiagram-v2-992e82a1.js +325 -0
  323. data/assets/mermaid/stateDiagram-v2-ed04200a.js +190 -0
  324. data/assets/mermaid/styles-0784dbeb.js +1363 -0
  325. data/assets/mermaid/styles-11e81fdd.js +1089 -0
  326. data/assets/mermaid/styles-36a1a2e8.js +1483 -0
  327. data/assets/mermaid/styles-483fbfea.js +509 -0
  328. data/assets/mermaid/styles-727cdd61.js +571 -0
  329. data/assets/mermaid/styles-b83b31c9.js +1484 -0
  330. data/assets/mermaid/styles-cacbff60.js +960 -0
  331. data/assets/mermaid/styles-e75131e4.js +433 -0
  332. data/assets/mermaid/styles-f80da881.js +1363 -0
  333. data/assets/mermaid/styles.d.ts +12 -0
  334. data/assets/mermaid/styles.spec.d.ts +1 -0
  335. data/assets/mermaid/svgDrawCommon-5e1cfd1d.js +101 -0
  336. data/assets/mermaid/svgDrawCommon-d6ab583c.js +100 -0
  337. data/assets/mermaid/svgDrawCommon-ecc5f780.js +64 -0
  338. data/assets/mermaid/tests/MockedD3.d.ts +45 -0
  339. data/assets/mermaid/tests/setup.d.ts +1 -0
  340. data/assets/mermaid/tests/util.d.ts +3 -0
  341. data/assets/mermaid/themes/erDiagram-oldHardcodedValues.d.ts +7 -0
  342. data/assets/mermaid/themes/index.d.ts +24 -0
  343. data/assets/mermaid/themes/theme-base.d.ts +189 -0
  344. data/assets/mermaid/themes/theme-dark.d.ts +177 -0
  345. data/assets/mermaid/themes/theme-default.d.ts +188 -0
  346. data/assets/mermaid/themes/theme-forest.d.ts +185 -0
  347. data/assets/mermaid/themes/theme-helpers.d.ts +1 -0
  348. data/assets/mermaid/themes/theme-neutral.d.ts +182 -0
  349. data/assets/mermaid/timeline-definition-23ce0e2e.js +1211 -0
  350. data/assets/mermaid/timeline-definition-4ee9bff4.js +795 -0
  351. data/assets/mermaid/timeline-definition-bf702344.js +1219 -0
  352. data/assets/mermaid/types.d.ts +31 -0
  353. data/assets/mermaid/utils/imperativeState.d.ts +32 -0
  354. data/assets/mermaid/utils/imperativeState.spec.d.ts +1 -0
  355. data/assets/mermaid/utils/lineWithOffset.d.ts +5 -0
  356. data/assets/mermaid/utils/sanitizeDirective.d.ts +7 -0
  357. data/assets/mermaid/utils/subGraphTitleMargins.d.ts +8 -0
  358. data/assets/mermaid/utils/subGraphTitleMargins.spec.d.ts +1 -0
  359. data/assets/mermaid/utils.d.ts +286 -0
  360. data/assets/mermaid/utils.spec.d.ts +1 -0
  361. data/assets/mermaid/xychartDiagram-de2e5521.js +1800 -0
  362. data/assets/mermaid/xychartDiagram-e5e6b652.js +1284 -0
  363. data/assets/mermaid/xychartDiagram-f11f50a6.js +1745 -0
  364. data/assets/tables.css +23 -0
  365. data/assets/toURI.js +142 -0
  366. metadata +363 -2
@@ -0,0 +1,881 @@
1
+ import { aK as I, aL as qe, aM as O, ah as y, ag as Te, aN as Xe, aO as Qe, aP as We, aQ as Ee, aR as G, ae as X, aS as Je, aT as Oe, aU as ze, aV as C, aW as R, an as $e, a8 as me, aX as Ve, aY as Z, aZ as ke, a_ as en, a$ as L, am as nn, b0 as rn, af as tn, b1 as re, b2 as sn, b3 as an, al as un, ak as we, ai as fn, b4 as B, ac as on, b5 as dn, ao as M, z as te, b6 as ie } from "./mermaid-9f2aa176.js";
2
+ var hn = "[object Symbol]";
3
+ function Q(e) {
4
+ return typeof e == "symbol" || I(e) && qe(e) == hn;
5
+ }
6
+ function ve(e, n) {
7
+ for (var r = -1, t = e == null ? 0 : e.length, i = Array(t); ++r < t; )
8
+ i[r] = n(e[r], r, e);
9
+ return i;
10
+ }
11
+ var ln = 1 / 0, se = O ? O.prototype : void 0, ae = se ? se.toString : void 0;
12
+ function Pe(e) {
13
+ if (typeof e == "string")
14
+ return e;
15
+ if (y(e))
16
+ return ve(e, Pe) + "";
17
+ if (Q(e))
18
+ return ae ? ae.call(e) : "";
19
+ var n = e + "";
20
+ return n == "0" && 1 / e == -ln ? "-0" : n;
21
+ }
22
+ function gn() {
23
+ }
24
+ function Le(e, n) {
25
+ for (var r = -1, t = e == null ? 0 : e.length; ++r < t && n(e[r], r, e) !== !1; )
26
+ ;
27
+ return e;
28
+ }
29
+ function cn(e, n, r, t) {
30
+ for (var i = e.length, s = r + (t ? 1 : -1); t ? s-- : ++s < i; )
31
+ if (n(e[s], s, e))
32
+ return s;
33
+ return -1;
34
+ }
35
+ function _n(e) {
36
+ return e !== e;
37
+ }
38
+ function pn(e, n, r) {
39
+ for (var t = r - 1, i = e.length; ++t < i; )
40
+ if (e[t] === n)
41
+ return t;
42
+ return -1;
43
+ }
44
+ function bn(e, n, r) {
45
+ return n === n ? pn(e, n, r) : cn(e, _n, r);
46
+ }
47
+ function yn(e, n) {
48
+ var r = e == null ? 0 : e.length;
49
+ return !!r && bn(e, n, 0) > -1;
50
+ }
51
+ function T(e) {
52
+ return Te(e) ? Xe(e) : Qe(e);
53
+ }
54
+ var An = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, Tn = /^\w*$/;
55
+ function W(e, n) {
56
+ if (y(e))
57
+ return !1;
58
+ var r = typeof e;
59
+ return r == "number" || r == "symbol" || r == "boolean" || e == null || Q(e) ? !0 : Tn.test(e) || !An.test(e) || n != null && e in Object(n);
60
+ }
61
+ var En = 500;
62
+ function On(e) {
63
+ var n = We(e, function(t) {
64
+ return r.size === En && r.clear(), t;
65
+ }), r = n.cache;
66
+ return n;
67
+ }
68
+ var $n = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, mn = /\\(\\)?/g, wn = On(function(e) {
69
+ var n = [];
70
+ return e.charCodeAt(0) === 46 && n.push(""), e.replace($n, function(r, t, i, s) {
71
+ n.push(i ? s.replace(mn, "$1") : t || r);
72
+ }), n;
73
+ });
74
+ const vn = wn;
75
+ function Pn(e) {
76
+ return e == null ? "" : Pe(e);
77
+ }
78
+ function Ie(e, n) {
79
+ return y(e) ? e : W(e, n) ? [e] : vn(Pn(e));
80
+ }
81
+ var Ln = 1 / 0;
82
+ function U(e) {
83
+ if (typeof e == "string" || Q(e))
84
+ return e;
85
+ var n = e + "";
86
+ return n == "0" && 1 / e == -Ln ? "-0" : n;
87
+ }
88
+ function Ce(e, n) {
89
+ n = Ie(n, e);
90
+ for (var r = 0, t = n.length; e != null && r < t; )
91
+ e = e[U(n[r++])];
92
+ return r && r == t ? e : void 0;
93
+ }
94
+ function In(e, n, r) {
95
+ var t = e == null ? void 0 : Ce(e, n);
96
+ return t === void 0 ? r : t;
97
+ }
98
+ function J(e, n) {
99
+ for (var r = -1, t = n.length, i = e.length; ++r < t; )
100
+ e[i + r] = n[r];
101
+ return e;
102
+ }
103
+ var ue = O ? O.isConcatSpreadable : void 0;
104
+ function Cn(e) {
105
+ return y(e) || Ee(e) || !!(ue && e && e[ue]);
106
+ }
107
+ function Se(e, n, r, t, i) {
108
+ var s = -1, a = e.length;
109
+ for (r || (r = Cn), i || (i = []); ++s < a; ) {
110
+ var u = e[s];
111
+ n > 0 && r(u) ? n > 1 ? Se(u, n - 1, r, t, i) : J(i, u) : t || (i[i.length] = u);
112
+ }
113
+ return i;
114
+ }
115
+ function Sn(e, n, r, t) {
116
+ var i = -1, s = e == null ? 0 : e.length;
117
+ for (t && s && (r = e[++i]); ++i < s; )
118
+ r = n(r, e[i], i, e);
119
+ return r;
120
+ }
121
+ function Nn(e, n) {
122
+ return e && G(n, T(n), e);
123
+ }
124
+ function Fn(e, n) {
125
+ return e && G(n, X(n), e);
126
+ }
127
+ function Ne(e, n) {
128
+ for (var r = -1, t = e == null ? 0 : e.length, i = 0, s = []; ++r < t; ) {
129
+ var a = e[r];
130
+ n(a, r, e) && (s[i++] = a);
131
+ }
132
+ return s;
133
+ }
134
+ function Fe() {
135
+ return [];
136
+ }
137
+ var Mn = Object.prototype, xn = Mn.propertyIsEnumerable, fe = Object.getOwnPropertySymbols, Dn = fe ? function(e) {
138
+ return e == null ? [] : (e = Object(e), Ne(fe(e), function(n) {
139
+ return xn.call(e, n);
140
+ }));
141
+ } : Fe;
142
+ const z = Dn;
143
+ function Rn(e, n) {
144
+ return G(e, z(e), n);
145
+ }
146
+ var Gn = Object.getOwnPropertySymbols, Un = Gn ? function(e) {
147
+ for (var n = []; e; )
148
+ J(n, z(e)), e = Je(e);
149
+ return n;
150
+ } : Fe;
151
+ const Me = Un;
152
+ function Bn(e, n) {
153
+ return G(e, Me(e), n);
154
+ }
155
+ function xe(e, n, r) {
156
+ var t = n(e);
157
+ return y(e) ? t : J(t, r(e));
158
+ }
159
+ function q(e) {
160
+ return xe(e, T, z);
161
+ }
162
+ function jn(e) {
163
+ return xe(e, X, Me);
164
+ }
165
+ var Kn = Object.prototype, Hn = Kn.hasOwnProperty;
166
+ function Yn(e) {
167
+ var n = e.length, r = new e.constructor(n);
168
+ return n && typeof e[0] == "string" && Hn.call(e, "index") && (r.index = e.index, r.input = e.input), r;
169
+ }
170
+ function Zn(e, n) {
171
+ var r = n ? Oe(e.buffer) : e.buffer;
172
+ return new e.constructor(r, e.byteOffset, e.byteLength);
173
+ }
174
+ var qn = /\w*$/;
175
+ function Xn(e) {
176
+ var n = new e.constructor(e.source, qn.exec(e));
177
+ return n.lastIndex = e.lastIndex, n;
178
+ }
179
+ var oe = O ? O.prototype : void 0, de = oe ? oe.valueOf : void 0;
180
+ function Qn(e) {
181
+ return de ? Object(de.call(e)) : {};
182
+ }
183
+ var Wn = "[object Boolean]", Jn = "[object Date]", zn = "[object Map]", Vn = "[object Number]", kn = "[object RegExp]", er = "[object Set]", nr = "[object String]", rr = "[object Symbol]", tr = "[object ArrayBuffer]", ir = "[object DataView]", sr = "[object Float32Array]", ar = "[object Float64Array]", ur = "[object Int8Array]", fr = "[object Int16Array]", or = "[object Int32Array]", dr = "[object Uint8Array]", hr = "[object Uint8ClampedArray]", lr = "[object Uint16Array]", gr = "[object Uint32Array]";
184
+ function cr(e, n, r) {
185
+ var t = e.constructor;
186
+ switch (n) {
187
+ case tr:
188
+ return Oe(e);
189
+ case Wn:
190
+ case Jn:
191
+ return new t(+e);
192
+ case ir:
193
+ return Zn(e, r);
194
+ case sr:
195
+ case ar:
196
+ case ur:
197
+ case fr:
198
+ case or:
199
+ case dr:
200
+ case hr:
201
+ case lr:
202
+ case gr:
203
+ return ze(e, r);
204
+ case zn:
205
+ return new t();
206
+ case Vn:
207
+ case nr:
208
+ return new t(e);
209
+ case kn:
210
+ return Xn(e);
211
+ case er:
212
+ return new t();
213
+ case rr:
214
+ return Qn(e);
215
+ }
216
+ }
217
+ var _r = "[object Map]";
218
+ function pr(e) {
219
+ return I(e) && C(e) == _r;
220
+ }
221
+ var he = R && R.isMap, br = he ? $e(he) : pr;
222
+ const yr = br;
223
+ var Ar = "[object Set]";
224
+ function Tr(e) {
225
+ return I(e) && C(e) == Ar;
226
+ }
227
+ var le = R && R.isSet, Er = le ? $e(le) : Tr;
228
+ const Or = Er;
229
+ var $r = 1, mr = 2, wr = 4, De = "[object Arguments]", vr = "[object Array]", Pr = "[object Boolean]", Lr = "[object Date]", Ir = "[object Error]", Re = "[object Function]", Cr = "[object GeneratorFunction]", Sr = "[object Map]", Nr = "[object Number]", Ge = "[object Object]", Fr = "[object RegExp]", Mr = "[object Set]", xr = "[object String]", Dr = "[object Symbol]", Rr = "[object WeakMap]", Gr = "[object ArrayBuffer]", Ur = "[object DataView]", Br = "[object Float32Array]", jr = "[object Float64Array]", Kr = "[object Int8Array]", Hr = "[object Int16Array]", Yr = "[object Int32Array]", Zr = "[object Uint8Array]", qr = "[object Uint8ClampedArray]", Xr = "[object Uint16Array]", Qr = "[object Uint32Array]", h = {};
230
+ h[De] = h[vr] = h[Gr] = h[Ur] = h[Pr] = h[Lr] = h[Br] = h[jr] = h[Kr] = h[Hr] = h[Yr] = h[Sr] = h[Nr] = h[Ge] = h[Fr] = h[Mr] = h[xr] = h[Dr] = h[Zr] = h[qr] = h[Xr] = h[Qr] = !0;
231
+ h[Ir] = h[Re] = h[Rr] = !1;
232
+ function j(e, n, r, t, i, s) {
233
+ var a, u = n & $r, f = n & mr, g = n & wr;
234
+ if (r && (a = i ? r(e, t, i, s) : r(e)), a !== void 0)
235
+ return a;
236
+ if (!me(e))
237
+ return e;
238
+ var l = y(e);
239
+ if (l) {
240
+ if (a = Yn(e), !u)
241
+ return Ve(e, a);
242
+ } else {
243
+ var o = C(e), d = o == Re || o == Cr;
244
+ if (Z(e))
245
+ return ke(e, u);
246
+ if (o == Ge || o == De || d && !i) {
247
+ if (a = f || d ? {} : en(e), !u)
248
+ return f ? Bn(e, Fn(a, e)) : Rn(e, Nn(a, e));
249
+ } else {
250
+ if (!h[o])
251
+ return i ? e : {};
252
+ a = cr(e, o, u);
253
+ }
254
+ }
255
+ s || (s = new L());
256
+ var A = s.get(e);
257
+ if (A)
258
+ return A;
259
+ s.set(e, a), Or(e) ? e.forEach(function(c) {
260
+ a.add(j(c, n, r, c, e, s));
261
+ }) : yr(e) && e.forEach(function(c, _) {
262
+ a.set(_, j(c, n, r, _, e, s));
263
+ });
264
+ var p = g ? f ? jn : q : f ? X : T, b = l ? void 0 : p(e);
265
+ return Le(b || e, function(c, _) {
266
+ b && (_ = c, c = e[_]), nn(a, _, j(c, n, r, _, e, s));
267
+ }), a;
268
+ }
269
+ var Wr = "__lodash_hash_undefined__";
270
+ function Jr(e) {
271
+ return this.__data__.set(e, Wr), this;
272
+ }
273
+ function zr(e) {
274
+ return this.__data__.has(e);
275
+ }
276
+ function S(e) {
277
+ var n = -1, r = e == null ? 0 : e.length;
278
+ for (this.__data__ = new rn(); ++n < r; )
279
+ this.add(e[n]);
280
+ }
281
+ S.prototype.add = S.prototype.push = Jr;
282
+ S.prototype.has = zr;
283
+ function Vr(e, n) {
284
+ for (var r = -1, t = e == null ? 0 : e.length; ++r < t; )
285
+ if (n(e[r], r, e))
286
+ return !0;
287
+ return !1;
288
+ }
289
+ function Ue(e, n) {
290
+ return e.has(n);
291
+ }
292
+ var kr = 1, et = 2;
293
+ function Be(e, n, r, t, i, s) {
294
+ var a = r & kr, u = e.length, f = n.length;
295
+ if (u != f && !(a && f > u))
296
+ return !1;
297
+ var g = s.get(e), l = s.get(n);
298
+ if (g && l)
299
+ return g == n && l == e;
300
+ var o = -1, d = !0, A = r & et ? new S() : void 0;
301
+ for (s.set(e, n), s.set(n, e); ++o < u; ) {
302
+ var p = e[o], b = n[o];
303
+ if (t)
304
+ var c = a ? t(b, p, o, n, e, s) : t(p, b, o, e, n, s);
305
+ if (c !== void 0) {
306
+ if (c)
307
+ continue;
308
+ d = !1;
309
+ break;
310
+ }
311
+ if (A) {
312
+ if (!Vr(n, function(_, $) {
313
+ if (!Ue(A, $) && (p === _ || i(p, _, r, t, s)))
314
+ return A.push($);
315
+ })) {
316
+ d = !1;
317
+ break;
318
+ }
319
+ } else if (!(p === b || i(p, b, r, t, s))) {
320
+ d = !1;
321
+ break;
322
+ }
323
+ }
324
+ return s.delete(e), s.delete(n), d;
325
+ }
326
+ function nt(e) {
327
+ var n = -1, r = Array(e.size);
328
+ return e.forEach(function(t, i) {
329
+ r[++n] = [i, t];
330
+ }), r;
331
+ }
332
+ function V(e) {
333
+ var n = -1, r = Array(e.size);
334
+ return e.forEach(function(t) {
335
+ r[++n] = t;
336
+ }), r;
337
+ }
338
+ var rt = 1, tt = 2, it = "[object Boolean]", st = "[object Date]", at = "[object Error]", ut = "[object Map]", ft = "[object Number]", ot = "[object RegExp]", dt = "[object Set]", ht = "[object String]", lt = "[object Symbol]", gt = "[object ArrayBuffer]", ct = "[object DataView]", ge = O ? O.prototype : void 0, K = ge ? ge.valueOf : void 0;
339
+ function _t(e, n, r, t, i, s, a) {
340
+ switch (r) {
341
+ case ct:
342
+ if (e.byteLength != n.byteLength || e.byteOffset != n.byteOffset)
343
+ return !1;
344
+ e = e.buffer, n = n.buffer;
345
+ case gt:
346
+ return !(e.byteLength != n.byteLength || !s(new re(e), new re(n)));
347
+ case it:
348
+ case st:
349
+ case ft:
350
+ return tn(+e, +n);
351
+ case at:
352
+ return e.name == n.name && e.message == n.message;
353
+ case ot:
354
+ case ht:
355
+ return e == n + "";
356
+ case ut:
357
+ var u = nt;
358
+ case dt:
359
+ var f = t & rt;
360
+ if (u || (u = V), e.size != n.size && !f)
361
+ return !1;
362
+ var g = a.get(e);
363
+ if (g)
364
+ return g == n;
365
+ t |= tt, a.set(e, n);
366
+ var l = Be(u(e), u(n), t, i, s, a);
367
+ return a.delete(e), l;
368
+ case lt:
369
+ if (K)
370
+ return K.call(e) == K.call(n);
371
+ }
372
+ return !1;
373
+ }
374
+ var pt = 1, bt = Object.prototype, yt = bt.hasOwnProperty;
375
+ function At(e, n, r, t, i, s) {
376
+ var a = r & pt, u = q(e), f = u.length, g = q(n), l = g.length;
377
+ if (f != l && !a)
378
+ return !1;
379
+ for (var o = f; o--; ) {
380
+ var d = u[o];
381
+ if (!(a ? d in n : yt.call(n, d)))
382
+ return !1;
383
+ }
384
+ var A = s.get(e), p = s.get(n);
385
+ if (A && p)
386
+ return A == n && p == e;
387
+ var b = !0;
388
+ s.set(e, n), s.set(n, e);
389
+ for (var c = a; ++o < f; ) {
390
+ d = u[o];
391
+ var _ = e[d], $ = n[d];
392
+ if (t)
393
+ var ne = a ? t($, _, d, n, e, s) : t(_, $, d, e, n, s);
394
+ if (!(ne === void 0 ? _ === $ || i(_, $, r, t, s) : ne)) {
395
+ b = !1;
396
+ break;
397
+ }
398
+ c || (c = d == "constructor");
399
+ }
400
+ if (b && !c) {
401
+ var N = e.constructor, F = n.constructor;
402
+ N != F && "constructor" in e && "constructor" in n && !(typeof N == "function" && N instanceof N && typeof F == "function" && F instanceof F) && (b = !1);
403
+ }
404
+ return s.delete(e), s.delete(n), b;
405
+ }
406
+ var Tt = 1, ce = "[object Arguments]", _e = "[object Array]", x = "[object Object]", Et = Object.prototype, pe = Et.hasOwnProperty;
407
+ function Ot(e, n, r, t, i, s) {
408
+ var a = y(e), u = y(n), f = a ? _e : C(e), g = u ? _e : C(n);
409
+ f = f == ce ? x : f, g = g == ce ? x : g;
410
+ var l = f == x, o = g == x, d = f == g;
411
+ if (d && Z(e)) {
412
+ if (!Z(n))
413
+ return !1;
414
+ a = !0, l = !1;
415
+ }
416
+ if (d && !l)
417
+ return s || (s = new L()), a || sn(e) ? Be(e, n, r, t, i, s) : _t(e, n, f, r, t, i, s);
418
+ if (!(r & Tt)) {
419
+ var A = l && pe.call(e, "__wrapped__"), p = o && pe.call(n, "__wrapped__");
420
+ if (A || p) {
421
+ var b = A ? e.value() : e, c = p ? n.value() : n;
422
+ return s || (s = new L()), i(b, c, r, t, s);
423
+ }
424
+ }
425
+ return d ? (s || (s = new L()), At(e, n, r, t, i, s)) : !1;
426
+ }
427
+ function k(e, n, r, t, i) {
428
+ return e === n ? !0 : e == null || n == null || !I(e) && !I(n) ? e !== e && n !== n : Ot(e, n, r, t, k, i);
429
+ }
430
+ var $t = 1, mt = 2;
431
+ function wt(e, n, r, t) {
432
+ var i = r.length, s = i, a = !t;
433
+ if (e == null)
434
+ return !s;
435
+ for (e = Object(e); i--; ) {
436
+ var u = r[i];
437
+ if (a && u[2] ? u[1] !== e[u[0]] : !(u[0] in e))
438
+ return !1;
439
+ }
440
+ for (; ++i < s; ) {
441
+ u = r[i];
442
+ var f = u[0], g = e[f], l = u[1];
443
+ if (a && u[2]) {
444
+ if (g === void 0 && !(f in e))
445
+ return !1;
446
+ } else {
447
+ var o = new L();
448
+ if (t)
449
+ var d = t(g, l, f, e, n, o);
450
+ if (!(d === void 0 ? k(l, g, $t | mt, t, o) : d))
451
+ return !1;
452
+ }
453
+ }
454
+ return !0;
455
+ }
456
+ function je(e) {
457
+ return e === e && !me(e);
458
+ }
459
+ function vt(e) {
460
+ for (var n = T(e), r = n.length; r--; ) {
461
+ var t = n[r], i = e[t];
462
+ n[r] = [t, i, je(i)];
463
+ }
464
+ return n;
465
+ }
466
+ function Ke(e, n) {
467
+ return function(r) {
468
+ return r == null ? !1 : r[e] === n && (n !== void 0 || e in Object(r));
469
+ };
470
+ }
471
+ function Pt(e) {
472
+ var n = vt(e);
473
+ return n.length == 1 && n[0][2] ? Ke(n[0][0], n[0][1]) : function(r) {
474
+ return r === e || wt(r, e, n);
475
+ };
476
+ }
477
+ function Lt(e, n) {
478
+ return e != null && n in Object(e);
479
+ }
480
+ function He(e, n, r) {
481
+ n = Ie(n, e);
482
+ for (var t = -1, i = n.length, s = !1; ++t < i; ) {
483
+ var a = U(n[t]);
484
+ if (!(s = e != null && r(e, a)))
485
+ break;
486
+ e = e[a];
487
+ }
488
+ return s || ++t != i ? s : (i = e == null ? 0 : e.length, !!i && an(i) && un(a, i) && (y(e) || Ee(e)));
489
+ }
490
+ function It(e, n) {
491
+ return e != null && He(e, n, Lt);
492
+ }
493
+ var Ct = 1, St = 2;
494
+ function Nt(e, n) {
495
+ return W(e) && je(n) ? Ke(U(e), n) : function(r) {
496
+ var t = In(r, e);
497
+ return t === void 0 && t === n ? It(r, e) : k(n, t, Ct | St);
498
+ };
499
+ }
500
+ function Ft(e) {
501
+ return function(n) {
502
+ return n == null ? void 0 : n[e];
503
+ };
504
+ }
505
+ function Mt(e) {
506
+ return function(n) {
507
+ return Ce(n, e);
508
+ };
509
+ }
510
+ function xt(e) {
511
+ return W(e) ? Ft(U(e)) : Mt(e);
512
+ }
513
+ function Ye(e) {
514
+ return typeof e == "function" ? e : e == null ? we : typeof e == "object" ? y(e) ? Nt(e[0], e[1]) : Pt(e) : xt(e);
515
+ }
516
+ function Dt(e, n) {
517
+ return e && fn(e, n, T);
518
+ }
519
+ function Rt(e, n) {
520
+ return function(r, t) {
521
+ if (r == null)
522
+ return r;
523
+ if (!Te(r))
524
+ return e(r, t);
525
+ for (var i = r.length, s = n ? i : -1, a = Object(r); (n ? s-- : ++s < i) && t(a[s], s, a) !== !1; )
526
+ ;
527
+ return r;
528
+ };
529
+ }
530
+ var Gt = Rt(Dt);
531
+ const ee = Gt;
532
+ function Ut(e, n, r) {
533
+ for (var t = -1, i = e == null ? 0 : e.length; ++t < i; )
534
+ if (r(n, e[t]))
535
+ return !0;
536
+ return !1;
537
+ }
538
+ function Bt(e) {
539
+ return typeof e == "function" ? e : we;
540
+ }
541
+ function m(e, n) {
542
+ var r = y(e) ? Le : ee;
543
+ return r(e, Bt(n));
544
+ }
545
+ function jt(e, n) {
546
+ var r = [];
547
+ return ee(e, function(t, i, s) {
548
+ n(t, i, s) && r.push(t);
549
+ }), r;
550
+ }
551
+ function D(e, n) {
552
+ var r = y(e) ? Ne : jt;
553
+ return r(e, Ye(n));
554
+ }
555
+ var Kt = Object.prototype, Ht = Kt.hasOwnProperty;
556
+ function Yt(e, n) {
557
+ return e != null && Ht.call(e, n);
558
+ }
559
+ function E(e, n) {
560
+ return e != null && He(e, n, Yt);
561
+ }
562
+ function Zt(e, n) {
563
+ return ve(n, function(r) {
564
+ return e[r];
565
+ });
566
+ }
567
+ function H(e) {
568
+ return e == null ? [] : Zt(e, T(e));
569
+ }
570
+ function v(e) {
571
+ return e === void 0;
572
+ }
573
+ function qt(e, n, r, t, i) {
574
+ return i(e, function(s, a, u) {
575
+ r = t ? (t = !1, s) : n(r, s, a, u);
576
+ }), r;
577
+ }
578
+ function Xt(e, n, r) {
579
+ var t = y(e) ? Sn : qt, i = arguments.length < 3;
580
+ return t(e, Ye(n), r, i, ee);
581
+ }
582
+ var Qt = 1 / 0, Wt = B && 1 / V(new B([, -0]))[1] == Qt ? function(e) {
583
+ return new B(e);
584
+ } : gn;
585
+ const Jt = Wt;
586
+ var zt = 200;
587
+ function Vt(e, n, r) {
588
+ var t = -1, i = yn, s = e.length, a = !0, u = [], f = u;
589
+ if (r)
590
+ a = !1, i = Ut;
591
+ else if (s >= zt) {
592
+ var g = n ? null : Jt(e);
593
+ if (g)
594
+ return V(g);
595
+ a = !1, i = Ue, f = new S();
596
+ } else
597
+ f = n ? [] : u;
598
+ e:
599
+ for (; ++t < s; ) {
600
+ var l = e[t], o = n ? n(l) : l;
601
+ if (l = r || l !== 0 ? l : 0, a && o === o) {
602
+ for (var d = f.length; d--; )
603
+ if (f[d] === o)
604
+ continue e;
605
+ n && f.push(o), u.push(l);
606
+ } else
607
+ i(f, o, r) || (f !== u && f.push(o), u.push(l));
608
+ }
609
+ return u;
610
+ }
611
+ var kt = on(function(e) {
612
+ return Vt(Se(e, 1, dn, !0));
613
+ });
614
+ const ei = kt;
615
+ var ni = "\0", w = "\0", be = "";
616
+ class Ze {
617
+ constructor(n = {}) {
618
+ this._isDirected = E(n, "directed") ? n.directed : !0, this._isMultigraph = E(n, "multigraph") ? n.multigraph : !1, this._isCompound = E(n, "compound") ? n.compound : !1, this._label = void 0, this._defaultNodeLabelFn = M(void 0), this._defaultEdgeLabelFn = M(void 0), this._nodes = {}, this._isCompound && (this._parent = {}, this._children = {}, this._children[w] = {}), this._in = {}, this._preds = {}, this._out = {}, this._sucs = {}, this._edgeObjs = {}, this._edgeLabels = {};
619
+ }
620
+ /* === Graph functions ========= */
621
+ isDirected() {
622
+ return this._isDirected;
623
+ }
624
+ isMultigraph() {
625
+ return this._isMultigraph;
626
+ }
627
+ isCompound() {
628
+ return this._isCompound;
629
+ }
630
+ setGraph(n) {
631
+ return this._label = n, this;
632
+ }
633
+ graph() {
634
+ return this._label;
635
+ }
636
+ /* === Node functions ========== */
637
+ setDefaultNodeLabel(n) {
638
+ return te(n) || (n = M(n)), this._defaultNodeLabelFn = n, this;
639
+ }
640
+ nodeCount() {
641
+ return this._nodeCount;
642
+ }
643
+ nodes() {
644
+ return T(this._nodes);
645
+ }
646
+ sources() {
647
+ var n = this;
648
+ return D(this.nodes(), function(r) {
649
+ return ie(n._in[r]);
650
+ });
651
+ }
652
+ sinks() {
653
+ var n = this;
654
+ return D(this.nodes(), function(r) {
655
+ return ie(n._out[r]);
656
+ });
657
+ }
658
+ setNodes(n, r) {
659
+ var t = arguments, i = this;
660
+ return m(n, function(s) {
661
+ t.length > 1 ? i.setNode(s, r) : i.setNode(s);
662
+ }), this;
663
+ }
664
+ setNode(n, r) {
665
+ return E(this._nodes, n) ? (arguments.length > 1 && (this._nodes[n] = r), this) : (this._nodes[n] = arguments.length > 1 ? r : this._defaultNodeLabelFn(n), this._isCompound && (this._parent[n] = w, this._children[n] = {}, this._children[w][n] = !0), this._in[n] = {}, this._preds[n] = {}, this._out[n] = {}, this._sucs[n] = {}, ++this._nodeCount, this);
666
+ }
667
+ node(n) {
668
+ return this._nodes[n];
669
+ }
670
+ hasNode(n) {
671
+ return E(this._nodes, n);
672
+ }
673
+ removeNode(n) {
674
+ var r = this;
675
+ if (E(this._nodes, n)) {
676
+ var t = function(i) {
677
+ r.removeEdge(r._edgeObjs[i]);
678
+ };
679
+ delete this._nodes[n], this._isCompound && (this._removeFromParentsChildList(n), delete this._parent[n], m(this.children(n), function(i) {
680
+ r.setParent(i);
681
+ }), delete this._children[n]), m(T(this._in[n]), t), delete this._in[n], delete this._preds[n], m(T(this._out[n]), t), delete this._out[n], delete this._sucs[n], --this._nodeCount;
682
+ }
683
+ return this;
684
+ }
685
+ setParent(n, r) {
686
+ if (!this._isCompound)
687
+ throw new Error("Cannot set parent in a non-compound graph");
688
+ if (v(r))
689
+ r = w;
690
+ else {
691
+ r += "";
692
+ for (var t = r; !v(t); t = this.parent(t))
693
+ if (t === n)
694
+ throw new Error("Setting " + r + " as parent of " + n + " would create a cycle");
695
+ this.setNode(r);
696
+ }
697
+ return this.setNode(n), this._removeFromParentsChildList(n), this._parent[n] = r, this._children[r][n] = !0, this;
698
+ }
699
+ _removeFromParentsChildList(n) {
700
+ delete this._children[this._parent[n]][n];
701
+ }
702
+ parent(n) {
703
+ if (this._isCompound) {
704
+ var r = this._parent[n];
705
+ if (r !== w)
706
+ return r;
707
+ }
708
+ }
709
+ children(n) {
710
+ if (v(n) && (n = w), this._isCompound) {
711
+ var r = this._children[n];
712
+ if (r)
713
+ return T(r);
714
+ } else {
715
+ if (n === w)
716
+ return this.nodes();
717
+ if (this.hasNode(n))
718
+ return [];
719
+ }
720
+ }
721
+ predecessors(n) {
722
+ var r = this._preds[n];
723
+ if (r)
724
+ return T(r);
725
+ }
726
+ successors(n) {
727
+ var r = this._sucs[n];
728
+ if (r)
729
+ return T(r);
730
+ }
731
+ neighbors(n) {
732
+ var r = this.predecessors(n);
733
+ if (r)
734
+ return ei(r, this.successors(n));
735
+ }
736
+ isLeaf(n) {
737
+ var r;
738
+ return this.isDirected() ? r = this.successors(n) : r = this.neighbors(n), r.length === 0;
739
+ }
740
+ filterNodes(n) {
741
+ var r = new this.constructor({
742
+ directed: this._isDirected,
743
+ multigraph: this._isMultigraph,
744
+ compound: this._isCompound
745
+ });
746
+ r.setGraph(this.graph());
747
+ var t = this;
748
+ m(this._nodes, function(a, u) {
749
+ n(u) && r.setNode(u, a);
750
+ }), m(this._edgeObjs, function(a) {
751
+ r.hasNode(a.v) && r.hasNode(a.w) && r.setEdge(a, t.edge(a));
752
+ });
753
+ var i = {};
754
+ function s(a) {
755
+ var u = t.parent(a);
756
+ return u === void 0 || r.hasNode(u) ? (i[a] = u, u) : u in i ? i[u] : s(u);
757
+ }
758
+ return this._isCompound && m(r.nodes(), function(a) {
759
+ r.setParent(a, s(a));
760
+ }), r;
761
+ }
762
+ /* === Edge functions ========== */
763
+ setDefaultEdgeLabel(n) {
764
+ return te(n) || (n = M(n)), this._defaultEdgeLabelFn = n, this;
765
+ }
766
+ edgeCount() {
767
+ return this._edgeCount;
768
+ }
769
+ edges() {
770
+ return H(this._edgeObjs);
771
+ }
772
+ setPath(n, r) {
773
+ var t = this, i = arguments;
774
+ return Xt(n, function(s, a) {
775
+ return i.length > 1 ? t.setEdge(s, a, r) : t.setEdge(s, a), a;
776
+ }), this;
777
+ }
778
+ /*
779
+ * setEdge(v, w, [value, [name]])
780
+ * setEdge({ v, w, [name] }, [value])
781
+ */
782
+ setEdge() {
783
+ var n, r, t, i, s = !1, a = arguments[0];
784
+ typeof a == "object" && a !== null && "v" in a ? (n = a.v, r = a.w, t = a.name, arguments.length === 2 && (i = arguments[1], s = !0)) : (n = a, r = arguments[1], t = arguments[3], arguments.length > 2 && (i = arguments[2], s = !0)), n = "" + n, r = "" + r, v(t) || (t = "" + t);
785
+ var u = P(this._isDirected, n, r, t);
786
+ if (E(this._edgeLabels, u))
787
+ return s && (this._edgeLabels[u] = i), this;
788
+ if (!v(t) && !this._isMultigraph)
789
+ throw new Error("Cannot set a named edge when isMultigraph = false");
790
+ this.setNode(n), this.setNode(r), this._edgeLabels[u] = s ? i : this._defaultEdgeLabelFn(n, r, t);
791
+ var f = ri(this._isDirected, n, r, t);
792
+ return n = f.v, r = f.w, Object.freeze(f), this._edgeObjs[u] = f, ye(this._preds[r], n), ye(this._sucs[n], r), this._in[r][u] = f, this._out[n][u] = f, this._edgeCount++, this;
793
+ }
794
+ edge(n, r, t) {
795
+ var i = arguments.length === 1 ? Y(this._isDirected, arguments[0]) : P(this._isDirected, n, r, t);
796
+ return this._edgeLabels[i];
797
+ }
798
+ hasEdge(n, r, t) {
799
+ var i = arguments.length === 1 ? Y(this._isDirected, arguments[0]) : P(this._isDirected, n, r, t);
800
+ return E(this._edgeLabels, i);
801
+ }
802
+ removeEdge(n, r, t) {
803
+ var i = arguments.length === 1 ? Y(this._isDirected, arguments[0]) : P(this._isDirected, n, r, t), s = this._edgeObjs[i];
804
+ return s && (n = s.v, r = s.w, delete this._edgeLabels[i], delete this._edgeObjs[i], Ae(this._preds[r], n), Ae(this._sucs[n], r), delete this._in[r][i], delete this._out[n][i], this._edgeCount--), this;
805
+ }
806
+ inEdges(n, r) {
807
+ var t = this._in[n];
808
+ if (t) {
809
+ var i = H(t);
810
+ return r ? D(i, function(s) {
811
+ return s.v === r;
812
+ }) : i;
813
+ }
814
+ }
815
+ outEdges(n, r) {
816
+ var t = this._out[n];
817
+ if (t) {
818
+ var i = H(t);
819
+ return r ? D(i, function(s) {
820
+ return s.w === r;
821
+ }) : i;
822
+ }
823
+ }
824
+ nodeEdges(n, r) {
825
+ var t = this.inEdges(n, r);
826
+ if (t)
827
+ return t.concat(this.outEdges(n, r));
828
+ }
829
+ }
830
+ Ze.prototype._nodeCount = 0;
831
+ Ze.prototype._edgeCount = 0;
832
+ function ye(e, n) {
833
+ e[n] ? e[n]++ : e[n] = 1;
834
+ }
835
+ function Ae(e, n) {
836
+ --e[n] || delete e[n];
837
+ }
838
+ function P(e, n, r, t) {
839
+ var i = "" + n, s = "" + r;
840
+ if (!e && i > s) {
841
+ var a = i;
842
+ i = s, s = a;
843
+ }
844
+ return i + be + s + be + (v(t) ? ni : t);
845
+ }
846
+ function ri(e, n, r, t) {
847
+ var i = "" + n, s = "" + r;
848
+ if (!e && i > s) {
849
+ var a = i;
850
+ i = s, s = a;
851
+ }
852
+ var u = { v: i, w: s };
853
+ return t && (u.name = t), u;
854
+ }
855
+ function Y(e, n) {
856
+ return P(e, n.v, n.w, n.name);
857
+ }
858
+ export {
859
+ Ze as G,
860
+ Q as a,
861
+ Se as b,
862
+ j as c,
863
+ Ye as d,
864
+ cn as e,
865
+ m as f,
866
+ ee as g,
867
+ E as h,
868
+ v as i,
869
+ ve as j,
870
+ T as k,
871
+ Bt as l,
872
+ Dt as m,
873
+ Ie as n,
874
+ Ce as o,
875
+ It as p,
876
+ Pn as q,
877
+ D as r,
878
+ Xt as s,
879
+ U as t,
880
+ H as v
881
+ };