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,795 @@
1
+ import { as as ft, E as gt, j, c as mt, l as T, t as xt, at as bt, au as kt, av as _t } from "./mermaid-9f2aa176.js";
2
+ import { d as D } from "./arc-d1f6357e.js";
3
+ import "./path-428ebac9.js";
4
+ var K = function() {
5
+ var n = function(f, i, r, h) {
6
+ for (r = r || {}, h = f.length; h--; r[f[h]] = i)
7
+ ;
8
+ return r;
9
+ }, t = [6, 8, 10, 11, 12, 14, 16, 17, 20, 21], e = [1, 9], a = [1, 10], s = [1, 11], c = [1, 12], o = [1, 13], y = [1, 16], g = [1, 17], u = {
10
+ trace: function() {
11
+ },
12
+ yy: {},
13
+ symbols_: { error: 2, start: 3, timeline: 4, document: 5, EOF: 6, line: 7, SPACE: 8, statement: 9, NEWLINE: 10, title: 11, acc_title: 12, acc_title_value: 13, acc_descr: 14, acc_descr_value: 15, acc_descr_multiline_value: 16, section: 17, period_statement: 18, event_statement: 19, period: 20, event: 21, $accept: 0, $end: 1 },
14
+ terminals_: { 2: "error", 4: "timeline", 6: "EOF", 8: "SPACE", 10: "NEWLINE", 11: "title", 12: "acc_title", 13: "acc_title_value", 14: "acc_descr", 15: "acc_descr_value", 16: "acc_descr_multiline_value", 17: "section", 20: "period", 21: "event" },
15
+ productions_: [0, [3, 3], [5, 0], [5, 2], [7, 2], [7, 1], [7, 1], [7, 1], [9, 1], [9, 2], [9, 2], [9, 1], [9, 1], [9, 1], [9, 1], [18, 1], [19, 1]],
16
+ performAction: function(i, r, h, d, p, l, w) {
17
+ var x = l.length - 1;
18
+ switch (p) {
19
+ case 1:
20
+ return l[x - 1];
21
+ case 2:
22
+ this.$ = [];
23
+ break;
24
+ case 3:
25
+ l[x - 1].push(l[x]), this.$ = l[x - 1];
26
+ break;
27
+ case 4:
28
+ case 5:
29
+ this.$ = l[x];
30
+ break;
31
+ case 6:
32
+ case 7:
33
+ this.$ = [];
34
+ break;
35
+ case 8:
36
+ d.getCommonDb().setDiagramTitle(l[x].substr(6)), this.$ = l[x].substr(6);
37
+ break;
38
+ case 9:
39
+ this.$ = l[x].trim(), d.getCommonDb().setAccTitle(this.$);
40
+ break;
41
+ case 10:
42
+ case 11:
43
+ this.$ = l[x].trim(), d.getCommonDb().setAccDescription(this.$);
44
+ break;
45
+ case 12:
46
+ d.addSection(l[x].substr(8)), this.$ = l[x].substr(8);
47
+ break;
48
+ case 15:
49
+ d.addTask(l[x], 0, ""), this.$ = l[x];
50
+ break;
51
+ case 16:
52
+ d.addEvent(l[x].substr(2)), this.$ = l[x];
53
+ break;
54
+ }
55
+ },
56
+ table: [{ 3: 1, 4: [1, 2] }, { 1: [3] }, n(t, [2, 2], { 5: 3 }), { 6: [1, 4], 7: 5, 8: [1, 6], 9: 7, 10: [1, 8], 11: e, 12: a, 14: s, 16: c, 17: o, 18: 14, 19: 15, 20: y, 21: g }, n(t, [2, 7], { 1: [2, 1] }), n(t, [2, 3]), { 9: 18, 11: e, 12: a, 14: s, 16: c, 17: o, 18: 14, 19: 15, 20: y, 21: g }, n(t, [2, 5]), n(t, [2, 6]), n(t, [2, 8]), { 13: [1, 19] }, { 15: [1, 20] }, n(t, [2, 11]), n(t, [2, 12]), n(t, [2, 13]), n(t, [2, 14]), n(t, [2, 15]), n(t, [2, 16]), n(t, [2, 4]), n(t, [2, 9]), n(t, [2, 10])],
57
+ defaultActions: {},
58
+ parseError: function(i, r) {
59
+ if (r.recoverable)
60
+ this.trace(i);
61
+ else {
62
+ var h = new Error(i);
63
+ throw h.hash = r, h;
64
+ }
65
+ },
66
+ parse: function(i) {
67
+ var r = this, h = [0], d = [], p = [null], l = [], w = this.table, x = "", N = 0, A = 0, V = 2, U = 1, W = l.slice.call(arguments, 1), b = Object.create(this.lexer), S = { yy: {} };
68
+ for (var _ in this.yy)
69
+ Object.prototype.hasOwnProperty.call(this.yy, _) && (S.yy[_] = this.yy[_]);
70
+ b.setInput(i, S.yy), S.yy.lexer = b, S.yy.parser = this, typeof b.yylloc > "u" && (b.yylloc = {});
71
+ var I = b.yylloc;
72
+ l.push(I);
73
+ var P = b.options && b.options.ranges;
74
+ typeof S.yy.parseError == "function" ? this.parseError = S.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
75
+ function C() {
76
+ var M;
77
+ return M = d.pop() || b.lex() || U, typeof M != "number" && (M instanceof Array && (d = M, M = d.pop()), M = r.symbols_[M] || M), M;
78
+ }
79
+ for (var k, L, E, Z, z = {}, B, $, Y, O; ; ) {
80
+ if (L = h[h.length - 1], this.defaultActions[L] ? E = this.defaultActions[L] : ((k === null || typeof k > "u") && (k = C()), E = w[L] && w[L][k]), typeof E > "u" || !E.length || !E[0]) {
81
+ var J = "";
82
+ O = [];
83
+ for (B in w[L])
84
+ this.terminals_[B] && B > V && O.push("'" + this.terminals_[B] + "'");
85
+ b.showPosition ? J = "Parse error on line " + (N + 1) + `:
86
+ ` + b.showPosition() + `
87
+ Expecting ` + O.join(", ") + ", got '" + (this.terminals_[k] || k) + "'" : J = "Parse error on line " + (N + 1) + ": Unexpected " + (k == U ? "end of input" : "'" + (this.terminals_[k] || k) + "'"), this.parseError(J, {
88
+ text: b.match,
89
+ token: this.terminals_[k] || k,
90
+ line: b.yylineno,
91
+ loc: I,
92
+ expected: O
93
+ });
94
+ }
95
+ if (E[0] instanceof Array && E.length > 1)
96
+ throw new Error("Parse Error: multiple actions possible at state: " + L + ", token: " + k);
97
+ switch (E[0]) {
98
+ case 1:
99
+ h.push(k), p.push(b.yytext), l.push(b.yylloc), h.push(E[1]), k = null, A = b.yyleng, x = b.yytext, N = b.yylineno, I = b.yylloc;
100
+ break;
101
+ case 2:
102
+ if ($ = this.productions_[E[1]][1], z.$ = p[p.length - $], z._$ = {
103
+ first_line: l[l.length - ($ || 1)].first_line,
104
+ last_line: l[l.length - 1].last_line,
105
+ first_column: l[l.length - ($ || 1)].first_column,
106
+ last_column: l[l.length - 1].last_column
107
+ }, P && (z._$.range = [
108
+ l[l.length - ($ || 1)].range[0],
109
+ l[l.length - 1].range[1]
110
+ ]), Z = this.performAction.apply(z, [
111
+ x,
112
+ A,
113
+ N,
114
+ S.yy,
115
+ E[1],
116
+ p,
117
+ l
118
+ ].concat(W)), typeof Z < "u")
119
+ return Z;
120
+ $ && (h = h.slice(0, -1 * $ * 2), p = p.slice(0, -1 * $), l = l.slice(0, -1 * $)), h.push(this.productions_[E[1]][0]), p.push(z.$), l.push(z._$), Y = w[h[h.length - 2]][h[h.length - 1]], h.push(Y);
121
+ break;
122
+ case 3:
123
+ return !0;
124
+ }
125
+ }
126
+ return !0;
127
+ }
128
+ }, m = function() {
129
+ var f = {
130
+ EOF: 1,
131
+ parseError: function(r, h) {
132
+ if (this.yy.parser)
133
+ this.yy.parser.parseError(r, h);
134
+ else
135
+ throw new Error(r);
136
+ },
137
+ // resets the lexer, sets new input
138
+ setInput: function(i, r) {
139
+ return this.yy = r || this.yy || {}, this._input = i, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = {
140
+ first_line: 1,
141
+ first_column: 0,
142
+ last_line: 1,
143
+ last_column: 0
144
+ }, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
145
+ },
146
+ // consumes and returns one char from the input
147
+ input: function() {
148
+ var i = this._input[0];
149
+ this.yytext += i, this.yyleng++, this.offset++, this.match += i, this.matched += i;
150
+ var r = i.match(/(?:\r\n?|\n).*/g);
151
+ return r ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), i;
152
+ },
153
+ // unshifts one char (or a string) into the input
154
+ unput: function(i) {
155
+ var r = i.length, h = i.split(/(?:\r\n?|\n)/g);
156
+ this._input = i + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - r), this.offset -= r;
157
+ var d = this.match.split(/(?:\r\n?|\n)/g);
158
+ this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), h.length - 1 && (this.yylineno -= h.length - 1);
159
+ var p = this.yylloc.range;
160
+ return this.yylloc = {
161
+ first_line: this.yylloc.first_line,
162
+ last_line: this.yylineno + 1,
163
+ first_column: this.yylloc.first_column,
164
+ last_column: h ? (h.length === d.length ? this.yylloc.first_column : 0) + d[d.length - h.length].length - h[0].length : this.yylloc.first_column - r
165
+ }, this.options.ranges && (this.yylloc.range = [p[0], p[0] + this.yyleng - r]), this.yyleng = this.yytext.length, this;
166
+ },
167
+ // When called from action, caches matched text and appends it on next action
168
+ more: function() {
169
+ return this._more = !0, this;
170
+ },
171
+ // When called from action, signals the lexer that this rule fails to match the input, so the next matching rule (regex) should be tested instead.
172
+ reject: function() {
173
+ if (this.options.backtrack_lexer)
174
+ this._backtrack = !0;
175
+ else
176
+ return this.parseError("Lexical error on line " + (this.yylineno + 1) + `. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
177
+ ` + this.showPosition(), {
178
+ text: "",
179
+ token: null,
180
+ line: this.yylineno
181
+ });
182
+ return this;
183
+ },
184
+ // retain first n characters of the match
185
+ less: function(i) {
186
+ this.unput(this.match.slice(i));
187
+ },
188
+ // displays already matched input, i.e. for error messages
189
+ pastInput: function() {
190
+ var i = this.matched.substr(0, this.matched.length - this.match.length);
191
+ return (i.length > 20 ? "..." : "") + i.substr(-20).replace(/\n/g, "");
192
+ },
193
+ // displays upcoming input, i.e. for error messages
194
+ upcomingInput: function() {
195
+ var i = this.match;
196
+ return i.length < 20 && (i += this._input.substr(0, 20 - i.length)), (i.substr(0, 20) + (i.length > 20 ? "..." : "")).replace(/\n/g, "");
197
+ },
198
+ // displays the character position where the lexing error occurred, i.e. for error messages
199
+ showPosition: function() {
200
+ var i = this.pastInput(), r = new Array(i.length + 1).join("-");
201
+ return i + this.upcomingInput() + `
202
+ ` + r + "^";
203
+ },
204
+ // test the lexed token: return FALSE when not a match, otherwise return token
205
+ test_match: function(i, r) {
206
+ var h, d, p;
207
+ if (this.options.backtrack_lexer && (p = {
208
+ yylineno: this.yylineno,
209
+ yylloc: {
210
+ first_line: this.yylloc.first_line,
211
+ last_line: this.last_line,
212
+ first_column: this.yylloc.first_column,
213
+ last_column: this.yylloc.last_column
214
+ },
215
+ yytext: this.yytext,
216
+ match: this.match,
217
+ matches: this.matches,
218
+ matched: this.matched,
219
+ yyleng: this.yyleng,
220
+ offset: this.offset,
221
+ _more: this._more,
222
+ _input: this._input,
223
+ yy: this.yy,
224
+ conditionStack: this.conditionStack.slice(0),
225
+ done: this.done
226
+ }, this.options.ranges && (p.yylloc.range = this.yylloc.range.slice(0))), d = i[0].match(/(?:\r\n?|\n).*/g), d && (this.yylineno += d.length), this.yylloc = {
227
+ first_line: this.yylloc.last_line,
228
+ last_line: this.yylineno + 1,
229
+ first_column: this.yylloc.last_column,
230
+ last_column: d ? d[d.length - 1].length - d[d.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + i[0].length
231
+ }, this.yytext += i[0], this.match += i[0], this.matches = i, this.yyleng = this.yytext.length, this.options.ranges && (this.yylloc.range = [this.offset, this.offset += this.yyleng]), this._more = !1, this._backtrack = !1, this._input = this._input.slice(i[0].length), this.matched += i[0], h = this.performAction.call(this, this.yy, this, r, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), h)
232
+ return h;
233
+ if (this._backtrack) {
234
+ for (var l in p)
235
+ this[l] = p[l];
236
+ return !1;
237
+ }
238
+ return !1;
239
+ },
240
+ // return next match in input
241
+ next: function() {
242
+ if (this.done)
243
+ return this.EOF;
244
+ this._input || (this.done = !0);
245
+ var i, r, h, d;
246
+ this._more || (this.yytext = "", this.match = "");
247
+ for (var p = this._currentRules(), l = 0; l < p.length; l++)
248
+ if (h = this._input.match(this.rules[p[l]]), h && (!r || h[0].length > r[0].length)) {
249
+ if (r = h, d = l, this.options.backtrack_lexer) {
250
+ if (i = this.test_match(h, p[l]), i !== !1)
251
+ return i;
252
+ if (this._backtrack) {
253
+ r = !1;
254
+ continue;
255
+ } else
256
+ return !1;
257
+ } else if (!this.options.flex)
258
+ break;
259
+ }
260
+ return r ? (i = this.test_match(r, p[d]), i !== !1 ? i : !1) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + `. Unrecognized text.
261
+ ` + this.showPosition(), {
262
+ text: "",
263
+ token: null,
264
+ line: this.yylineno
265
+ });
266
+ },
267
+ // return next match that has a token
268
+ lex: function() {
269
+ var r = this.next();
270
+ return r || this.lex();
271
+ },
272
+ // activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)
273
+ begin: function(r) {
274
+ this.conditionStack.push(r);
275
+ },
276
+ // pop the previously active lexer condition state off the condition stack
277
+ popState: function() {
278
+ var r = this.conditionStack.length - 1;
279
+ return r > 0 ? this.conditionStack.pop() : this.conditionStack[0];
280
+ },
281
+ // produce the lexer rule set which is active for the currently active lexer condition state
282
+ _currentRules: function() {
283
+ return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
284
+ },
285
+ // return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available
286
+ topState: function(r) {
287
+ return r = this.conditionStack.length - 1 - Math.abs(r || 0), r >= 0 ? this.conditionStack[r] : "INITIAL";
288
+ },
289
+ // alias for begin(condition)
290
+ pushState: function(r) {
291
+ this.begin(r);
292
+ },
293
+ // return the number of states currently on the stack
294
+ stateStackSize: function() {
295
+ return this.conditionStack.length;
296
+ },
297
+ options: { "case-insensitive": !0 },
298
+ performAction: function(r, h, d, p) {
299
+ switch (d) {
300
+ case 0:
301
+ break;
302
+ case 1:
303
+ break;
304
+ case 2:
305
+ return 10;
306
+ case 3:
307
+ break;
308
+ case 4:
309
+ break;
310
+ case 5:
311
+ return 4;
312
+ case 6:
313
+ return 11;
314
+ case 7:
315
+ return this.begin("acc_title"), 12;
316
+ case 8:
317
+ return this.popState(), "acc_title_value";
318
+ case 9:
319
+ return this.begin("acc_descr"), 14;
320
+ case 10:
321
+ return this.popState(), "acc_descr_value";
322
+ case 11:
323
+ this.begin("acc_descr_multiline");
324
+ break;
325
+ case 12:
326
+ this.popState();
327
+ break;
328
+ case 13:
329
+ return "acc_descr_multiline_value";
330
+ case 14:
331
+ return 17;
332
+ case 15:
333
+ return 21;
334
+ case 16:
335
+ return 20;
336
+ case 17:
337
+ return 6;
338
+ case 18:
339
+ return "INVALID";
340
+ }
341
+ },
342
+ rules: [/^(?:%(?!\{)[^\n]*)/i, /^(?:[^\}]%%[^\n]*)/i, /^(?:[\n]+)/i, /^(?:\s+)/i, /^(?:#[^\n]*)/i, /^(?:timeline\b)/i, /^(?:title\s[^#\n;]+)/i, /^(?:accTitle\s*:\s*)/i, /^(?:(?!\n||)*[^\n]*)/i, /^(?:accDescr\s*:\s*)/i, /^(?:(?!\n||)*[^\n]*)/i, /^(?:accDescr\s*\{\s*)/i, /^(?:[\}])/i, /^(?:[^\}]*)/i, /^(?:section\s[^#:\n;]+)/i, /^(?::\s[^#:\n;]+)/i, /^(?:[^#:\n;]+)/i, /^(?:$)/i, /^(?:.)/i],
343
+ conditions: { acc_descr_multiline: { rules: [12, 13], inclusive: !1 }, acc_descr: { rules: [10], inclusive: !1 }, acc_title: { rules: [8], inclusive: !1 }, INITIAL: { rules: [0, 1, 2, 3, 4, 5, 6, 7, 9, 11, 14, 15, 16, 17, 18], inclusive: !0 } }
344
+ };
345
+ return f;
346
+ }();
347
+ u.lexer = m;
348
+ function v() {
349
+ this.yy = {};
350
+ }
351
+ return v.prototype = u, u.Parser = v, new v();
352
+ }();
353
+ K.parser = K;
354
+ const vt = K;
355
+ let R = "", st = 0;
356
+ const Q = [], G = [], F = [], it = () => ft, rt = function() {
357
+ Q.length = 0, G.length = 0, R = "", F.length = 0, gt();
358
+ }, at = function(n) {
359
+ R = n, Q.push(n);
360
+ }, lt = function() {
361
+ return Q;
362
+ }, ot = function() {
363
+ let n = tt();
364
+ const t = 100;
365
+ let e = 0;
366
+ for (; !n && e < t; )
367
+ n = tt(), e++;
368
+ return G.push(...F), G;
369
+ }, ct = function(n, t, e) {
370
+ const a = {
371
+ id: st++,
372
+ section: R,
373
+ type: R,
374
+ task: n,
375
+ score: t || 0,
376
+ //if event is defined, then add it the events array
377
+ events: e ? [e] : []
378
+ };
379
+ F.push(a);
380
+ }, ht = function(n) {
381
+ F.find((e) => e.id === st - 1).events.push(n);
382
+ }, dt = function(n) {
383
+ const t = {
384
+ section: R,
385
+ type: R,
386
+ description: n,
387
+ task: n,
388
+ classes: []
389
+ };
390
+ G.push(t);
391
+ }, tt = function() {
392
+ const n = function(e) {
393
+ return F[e].processed;
394
+ };
395
+ let t = !0;
396
+ for (const [e, a] of F.entries())
397
+ n(e), t = t && a.processed;
398
+ return t;
399
+ }, wt = {
400
+ clear: rt,
401
+ getCommonDb: it,
402
+ addSection: at,
403
+ getSections: lt,
404
+ getTasks: ot,
405
+ addTask: ct,
406
+ addTaskOrg: dt,
407
+ addEvent: ht
408
+ }, St = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
409
+ __proto__: null,
410
+ addEvent: ht,
411
+ addSection: at,
412
+ addTask: ct,
413
+ addTaskOrg: dt,
414
+ clear: rt,
415
+ default: wt,
416
+ getCommonDb: it,
417
+ getSections: lt,
418
+ getTasks: ot
419
+ }, Symbol.toStringTag, { value: "Module" })), Et = 12, q = function(n, t) {
420
+ const e = n.append("rect");
421
+ return e.attr("x", t.x), e.attr("y", t.y), e.attr("fill", t.fill), e.attr("stroke", t.stroke), e.attr("width", t.width), e.attr("height", t.height), e.attr("rx", t.rx), e.attr("ry", t.ry), t.class !== void 0 && e.attr("class", t.class), e;
422
+ }, Tt = function(n, t) {
423
+ const a = n.append("circle").attr("cx", t.cx).attr("cy", t.cy).attr("class", "face").attr("r", 15).attr("stroke-width", 2).attr("overflow", "visible"), s = n.append("g");
424
+ s.append("circle").attr("cx", t.cx - 15 / 3).attr("cy", t.cy - 15 / 3).attr("r", 1.5).attr("stroke-width", 2).attr("fill", "#666").attr("stroke", "#666"), s.append("circle").attr("cx", t.cx + 15 / 3).attr("cy", t.cy - 15 / 3).attr("r", 1.5).attr("stroke-width", 2).attr("fill", "#666").attr("stroke", "#666");
425
+ function c(g) {
426
+ const u = D().startAngle(Math.PI / 2).endAngle(3 * (Math.PI / 2)).innerRadius(7.5).outerRadius(6.8181818181818175);
427
+ g.append("path").attr("class", "mouth").attr("d", u).attr("transform", "translate(" + t.cx + "," + (t.cy + 2) + ")");
428
+ }
429
+ function o(g) {
430
+ const u = D().startAngle(3 * Math.PI / 2).endAngle(5 * (Math.PI / 2)).innerRadius(7.5).outerRadius(6.8181818181818175);
431
+ g.append("path").attr("class", "mouth").attr("d", u).attr("transform", "translate(" + t.cx + "," + (t.cy + 7) + ")");
432
+ }
433
+ function y(g) {
434
+ g.append("line").attr("class", "mouth").attr("stroke", 2).attr("x1", t.cx - 5).attr("y1", t.cy + 7).attr("x2", t.cx + 5).attr("y2", t.cy + 7).attr("class", "mouth").attr("stroke-width", "1px").attr("stroke", "#666");
435
+ }
436
+ return t.score > 3 ? c(s) : t.score < 3 ? o(s) : y(s), a;
437
+ }, It = function(n, t) {
438
+ const e = n.append("circle");
439
+ return e.attr("cx", t.cx), e.attr("cy", t.cy), e.attr("class", "actor-" + t.pos), e.attr("fill", t.fill), e.attr("stroke", t.stroke), e.attr("r", t.r), e.class !== void 0 && e.attr("class", e.class), t.title !== void 0 && e.append("title").text(t.title), e;
440
+ }, ut = function(n, t) {
441
+ const e = t.text.replace(/<br\s*\/?>/gi, " "), a = n.append("text");
442
+ a.attr("x", t.x), a.attr("y", t.y), a.attr("class", "legend"), a.style("text-anchor", t.anchor), t.class !== void 0 && a.attr("class", t.class);
443
+ const s = a.append("tspan");
444
+ return s.attr("x", t.x + t.textMargin * 2), s.text(e), a;
445
+ }, Nt = function(n, t) {
446
+ function e(s, c, o, y, g) {
447
+ return s + "," + c + " " + (s + o) + "," + c + " " + (s + o) + "," + (c + y - g) + " " + (s + o - g * 1.2) + "," + (c + y) + " " + s + "," + (c + y);
448
+ }
449
+ const a = n.append("polygon");
450
+ a.attr("points", e(t.x, t.y, 50, 20, 7)), a.attr("class", "labelBox"), t.y = t.y + t.labelMargin, t.x = t.x + 0.5 * t.labelMargin, ut(n, t);
451
+ }, $t = function(n, t, e) {
452
+ const a = n.append("g"), s = X();
453
+ s.x = t.x, s.y = t.y, s.fill = t.fill, s.width = e.width, s.height = e.height, s.class = "journey-section section-type-" + t.num, s.rx = 3, s.ry = 3, q(a, s), pt(e)(
454
+ t.text,
455
+ a,
456
+ s.x,
457
+ s.y,
458
+ s.width,
459
+ s.height,
460
+ { class: "journey-section section-type-" + t.num },
461
+ e,
462
+ t.colour
463
+ );
464
+ };
465
+ let et = -1;
466
+ const Mt = function(n, t, e) {
467
+ const a = t.x + e.width / 2, s = n.append("g");
468
+ et++;
469
+ const c = 300 + 5 * 30;
470
+ s.append("line").attr("id", "task" + et).attr("x1", a).attr("y1", t.y).attr("x2", a).attr("y2", c).attr("class", "task-line").attr("stroke-width", "1px").attr("stroke-dasharray", "4 2").attr("stroke", "#666"), Tt(s, {
471
+ cx: a,
472
+ cy: 300 + (5 - t.score) * 30,
473
+ score: t.score
474
+ });
475
+ const o = X();
476
+ o.x = t.x, o.y = t.y, o.fill = t.fill, o.width = e.width, o.height = e.height, o.class = "task task-type-" + t.num, o.rx = 3, o.ry = 3, q(s, o), t.x + 14, pt(e)(
477
+ t.task,
478
+ s,
479
+ o.x,
480
+ o.y,
481
+ o.width,
482
+ o.height,
483
+ { class: "task" },
484
+ e,
485
+ t.colour
486
+ );
487
+ }, Lt = function(n, t) {
488
+ q(n, {
489
+ x: t.startx,
490
+ y: t.starty,
491
+ width: t.stopx - t.startx,
492
+ height: t.stopy - t.starty,
493
+ fill: t.fill,
494
+ class: "rect"
495
+ }).lower();
496
+ }, At = function() {
497
+ return {
498
+ x: 0,
499
+ y: 0,
500
+ fill: void 0,
501
+ "text-anchor": "start",
502
+ width: 100,
503
+ height: 100,
504
+ textMargin: 0,
505
+ rx: 0,
506
+ ry: 0
507
+ };
508
+ }, X = function() {
509
+ return {
510
+ x: 0,
511
+ y: 0,
512
+ width: 100,
513
+ anchor: "start",
514
+ height: 100,
515
+ rx: 0,
516
+ ry: 0
517
+ };
518
+ }, pt = function() {
519
+ function n(s, c, o, y, g, u, m, v) {
520
+ const f = c.append("text").attr("x", o + g / 2).attr("y", y + u / 2 + 5).style("font-color", v).style("text-anchor", "middle").text(s);
521
+ a(f, m);
522
+ }
523
+ function t(s, c, o, y, g, u, m, v, f) {
524
+ const { taskFontSize: i, taskFontFamily: r } = v, h = s.split(/<br\s*\/?>/gi);
525
+ for (let d = 0; d < h.length; d++) {
526
+ const p = d * i - i * (h.length - 1) / 2, l = c.append("text").attr("x", o + g / 2).attr("y", y).attr("fill", f).style("text-anchor", "middle").style("font-size", i).style("font-family", r);
527
+ l.append("tspan").attr("x", o + g / 2).attr("dy", p).text(h[d]), l.attr("y", y + u / 2).attr("dominant-baseline", "central").attr("alignment-baseline", "central"), a(l, m);
528
+ }
529
+ }
530
+ function e(s, c, o, y, g, u, m, v) {
531
+ const f = c.append("switch"), r = f.append("foreignObject").attr("x", o).attr("y", y).attr("width", g).attr("height", u).attr("position", "fixed").append("xhtml:div").style("display", "table").style("height", "100%").style("width", "100%");
532
+ r.append("div").attr("class", "label").style("display", "table-cell").style("text-align", "center").style("vertical-align", "middle").text(s), t(s, f, o, y, g, u, m, v), a(r, m);
533
+ }
534
+ function a(s, c) {
535
+ for (const o in c)
536
+ o in c && s.attr(o, c[o]);
537
+ }
538
+ return function(s) {
539
+ return s.textPlacement === "fo" ? e : s.textPlacement === "old" ? n : t;
540
+ };
541
+ }(), Pt = function(n) {
542
+ n.append("defs").append("marker").attr("id", "arrowhead").attr("refX", 5).attr("refY", 2).attr("markerWidth", 6).attr("markerHeight", 4).attr("orient", "auto").append("path").attr("d", "M 0,0 V 4 L6,2 Z");
543
+ };
544
+ function yt(n, t) {
545
+ n.each(function() {
546
+ var e = j(this), a = e.text().split(/(\s+|<br>)/).reverse(), s, c = [], o = 1.1, y = e.attr("y"), g = parseFloat(e.attr("dy")), u = e.text(null).append("tspan").attr("x", 0).attr("y", y).attr("dy", g + "em");
547
+ for (let m = 0; m < a.length; m++)
548
+ s = a[a.length - 1 - m], c.push(s), u.text(c.join(" ").trim()), (u.node().getComputedTextLength() > t || s === "<br>") && (c.pop(), u.text(c.join(" ").trim()), s === "<br>" ? c = [""] : c = [s], u = e.append("tspan").attr("x", 0).attr("y", y).attr("dy", o + "em").text(s));
549
+ });
550
+ }
551
+ const Ht = function(n, t, e, a) {
552
+ const s = e % Et - 1, c = n.append("g");
553
+ t.section = s, c.attr(
554
+ "class",
555
+ (t.class ? t.class + " " : "") + "timeline-node " + ("section-" + s)
556
+ );
557
+ const o = c.append("g"), y = c.append("g"), u = y.append("text").text(t.descr).attr("dy", "1em").attr("alignment-baseline", "middle").attr("dominant-baseline", "middle").attr("text-anchor", "middle").call(yt, t.width).node().getBBox(), m = a.fontSize && a.fontSize.replace ? a.fontSize.replace("px", "") : a.fontSize;
558
+ return t.height = u.height + m * 1.1 * 0.5 + t.padding, t.height = Math.max(t.height, t.maxHeight), t.width = t.width + 2 * t.padding, y.attr("transform", "translate(" + t.width / 2 + ", " + t.padding / 2 + ")"), zt(o, t, s), t;
559
+ }, Ct = function(n, t, e) {
560
+ const a = n.append("g"), c = a.append("text").text(t.descr).attr("dy", "1em").attr("alignment-baseline", "middle").attr("dominant-baseline", "middle").attr("text-anchor", "middle").call(yt, t.width).node().getBBox(), o = e.fontSize && e.fontSize.replace ? e.fontSize.replace("px", "") : e.fontSize;
561
+ return a.remove(), c.height + o * 1.1 * 0.5 + t.padding;
562
+ }, zt = function(n, t, e) {
563
+ n.append("path").attr("id", "node-" + t.id).attr("class", "node-bkg node-" + t.type).attr(
564
+ "d",
565
+ `M0 ${t.height - 5} v${-t.height + 2 * 5} q0,-5 5,-5 h${t.width - 2 * 5} q5,0 5,5 v${t.height - 5} H0 Z`
566
+ ), n.append("line").attr("class", "node-line-" + e).attr("x1", 0).attr("y1", t.height).attr("x2", t.width).attr("y2", t.height);
567
+ }, H = {
568
+ drawRect: q,
569
+ drawCircle: It,
570
+ drawSection: $t,
571
+ drawText: ut,
572
+ drawLabel: Nt,
573
+ drawTask: Mt,
574
+ drawBackgroundRect: Lt,
575
+ getTextObj: At,
576
+ getNoteRect: X,
577
+ initGraphics: Pt,
578
+ drawNode: Ht,
579
+ getVirtualNodeHeight: Ct
580
+ }, Rt = function(n, t, e, a) {
581
+ var W, b;
582
+ const s = mt(), c = s.leftMargin ?? 50;
583
+ T.debug("timeline", a.db);
584
+ const o = s.securityLevel;
585
+ let y;
586
+ o === "sandbox" && (y = j("#i" + t));
587
+ const u = (o === "sandbox" ? j(y.nodes()[0].contentDocument.body) : j("body")).select("#" + t);
588
+ u.append("g");
589
+ const m = a.db.getTasks(), v = a.db.getCommonDb().getDiagramTitle();
590
+ T.debug("task", m), H.initGraphics(u);
591
+ const f = a.db.getSections();
592
+ T.debug("sections", f);
593
+ let i = 0, r = 0, h = 0, d = 0, p = 50 + c, l = 50;
594
+ d = 50;
595
+ let w = 0, x = !0;
596
+ f.forEach(function(S) {
597
+ const _ = {
598
+ number: w,
599
+ descr: S,
600
+ section: w,
601
+ width: 150,
602
+ padding: 20,
603
+ maxHeight: i
604
+ }, I = H.getVirtualNodeHeight(u, _, s);
605
+ T.debug("sectionHeight before draw", I), i = Math.max(i, I + 20);
606
+ });
607
+ let N = 0, A = 0;
608
+ T.debug("tasks.length", m.length);
609
+ for (const [S, _] of m.entries()) {
610
+ const I = {
611
+ number: S,
612
+ descr: _,
613
+ section: _.section,
614
+ width: 150,
615
+ padding: 20,
616
+ maxHeight: r
617
+ }, P = H.getVirtualNodeHeight(u, I, s);
618
+ T.debug("taskHeight before draw", P), r = Math.max(r, P + 20), N = Math.max(N, _.events.length);
619
+ let C = 0;
620
+ for (let k = 0; k < _.events.length; k++) {
621
+ const E = {
622
+ descr: _.events[k],
623
+ section: _.section,
624
+ number: _.section,
625
+ width: 150,
626
+ padding: 20,
627
+ maxHeight: 50
628
+ };
629
+ C += H.getVirtualNodeHeight(u, E, s);
630
+ }
631
+ A = Math.max(A, C);
632
+ }
633
+ T.debug("maxSectionHeight before draw", i), T.debug("maxTaskHeight before draw", r), f && f.length > 0 ? f.forEach((S) => {
634
+ const _ = m.filter((k) => k.section === S), I = {
635
+ number: w,
636
+ descr: S,
637
+ section: w,
638
+ width: 200 * Math.max(_.length, 1) - 50,
639
+ padding: 20,
640
+ maxHeight: i
641
+ };
642
+ T.debug("sectionNode", I);
643
+ const P = u.append("g"), C = H.drawNode(P, I, w, s);
644
+ T.debug("sectionNode output", C), P.attr("transform", `translate(${p}, ${d})`), l += i + 50, _.length > 0 && nt(
645
+ u,
646
+ _,
647
+ w,
648
+ p,
649
+ l,
650
+ r,
651
+ s,
652
+ N,
653
+ A,
654
+ i,
655
+ !1
656
+ ), p += 200 * Math.max(_.length, 1), l = d, w++;
657
+ }) : (x = !1, nt(
658
+ u,
659
+ m,
660
+ w,
661
+ p,
662
+ l,
663
+ r,
664
+ s,
665
+ N,
666
+ A,
667
+ i,
668
+ !0
669
+ ));
670
+ const V = u.node().getBBox();
671
+ T.debug("bounds", V), v && u.append("text").text(v).attr("x", V.width / 2 - c).attr("font-size", "4ex").attr("font-weight", "bold").attr("y", 20), h = x ? i + r + 150 : r + 100, u.append("g").attr("class", "lineWrapper").append("line").attr("x1", c).attr("y1", h).attr("x2", V.width + 3 * c).attr("y2", h).attr("stroke-width", 4).attr("stroke", "black").attr("marker-end", "url(#arrowhead)"), xt(
672
+ void 0,
673
+ u,
674
+ ((W = s.timeline) == null ? void 0 : W.padding) ?? 50,
675
+ ((b = s.timeline) == null ? void 0 : b.useMaxWidth) ?? !1
676
+ );
677
+ }, nt = function(n, t, e, a, s, c, o, y, g, u, m) {
678
+ var v;
679
+ for (const f of t) {
680
+ const i = {
681
+ descr: f.task,
682
+ section: e,
683
+ number: e,
684
+ width: 150,
685
+ padding: 20,
686
+ maxHeight: c
687
+ };
688
+ T.debug("taskNode", i);
689
+ const r = n.append("g").attr("class", "taskWrapper"), d = H.drawNode(r, i, e, o).height;
690
+ if (T.debug("taskHeight after draw", d), r.attr("transform", `translate(${a}, ${s})`), c = Math.max(c, d), f.events) {
691
+ const p = n.append("g").attr("class", "lineWrapper");
692
+ let l = c;
693
+ s += 100, l = l + Ft(n, f.events, e, a, s, o), s -= 100, p.append("line").attr("x1", a + 190 / 2).attr("y1", s + c).attr("x2", a + 190 / 2).attr(
694
+ "y2",
695
+ s + c + (m ? c : u) + g + 120
696
+ ).attr("stroke-width", 2).attr("stroke", "black").attr("marker-end", "url(#arrowhead)").attr("stroke-dasharray", "5,5");
697
+ }
698
+ a = a + 200, m && !((v = o.timeline) != null && v.disableMulticolor) && e++;
699
+ }
700
+ s = s - 10;
701
+ }, Ft = function(n, t, e, a, s, c) {
702
+ let o = 0;
703
+ const y = s;
704
+ s = s + 100;
705
+ for (const g of t) {
706
+ const u = {
707
+ descr: g,
708
+ section: e,
709
+ number: e,
710
+ width: 150,
711
+ padding: 20,
712
+ maxHeight: 50
713
+ };
714
+ T.debug("eventNode", u);
715
+ const m = n.append("g").attr("class", "eventWrapper"), f = H.drawNode(m, u, e, c).height;
716
+ o = o + f, m.attr("transform", `translate(${a}, ${s})`), s = s + 10 + f;
717
+ }
718
+ return s = y, o;
719
+ }, Vt = {
720
+ setConf: () => {
721
+ },
722
+ draw: Rt
723
+ }, Wt = (n) => {
724
+ let t = "";
725
+ for (let e = 0; e < n.THEME_COLOR_LIMIT; e++)
726
+ n["lineColor" + e] = n["lineColor" + e] || n["cScaleInv" + e], bt(n["lineColor" + e]) ? n["lineColor" + e] = kt(n["lineColor" + e], 20) : n["lineColor" + e] = _t(n["lineColor" + e], 20);
727
+ for (let e = 0; e < n.THEME_COLOR_LIMIT; e++) {
728
+ const a = "" + (17 - 3 * e);
729
+ t += `
730
+ .section-${e - 1} rect, .section-${e - 1} path, .section-${e - 1} circle, .section-${e - 1} path {
731
+ fill: ${n["cScale" + e]};
732
+ }
733
+ .section-${e - 1} text {
734
+ fill: ${n["cScaleLabel" + e]};
735
+ }
736
+ .node-icon-${e - 1} {
737
+ font-size: 40px;
738
+ color: ${n["cScaleLabel" + e]};
739
+ }
740
+ .section-edge-${e - 1}{
741
+ stroke: ${n["cScale" + e]};
742
+ }
743
+ .edge-depth-${e - 1}{
744
+ stroke-width: ${a};
745
+ }
746
+ .section-${e - 1} line {
747
+ stroke: ${n["cScaleInv" + e]} ;
748
+ stroke-width: 3;
749
+ }
750
+
751
+ .lineWrapper line{
752
+ stroke: ${n["cScaleLabel" + e]} ;
753
+ }
754
+
755
+ .disabled, .disabled circle, .disabled text {
756
+ fill: lightgray;
757
+ }
758
+ .disabled text {
759
+ fill: #efefef;
760
+ }
761
+ `;
762
+ }
763
+ return t;
764
+ }, Bt = (n) => `
765
+ .edge {
766
+ stroke-width: 3;
767
+ }
768
+ ${Wt(n)}
769
+ .section-root rect, .section-root path, .section-root circle {
770
+ fill: ${n.git0};
771
+ }
772
+ .section-root text {
773
+ fill: ${n.gitBranchLabel0};
774
+ }
775
+ .icon-container {
776
+ height:100%;
777
+ display: flex;
778
+ justify-content: center;
779
+ align-items: center;
780
+ }
781
+ .edge {
782
+ fill: none;
783
+ }
784
+ .eventWrapper {
785
+ filter: brightness(120%);
786
+ }
787
+ `, Ot = Bt, Ut = {
788
+ db: St,
789
+ renderer: Vt,
790
+ parser: vt,
791
+ styles: Ot
792
+ };
793
+ export {
794
+ Ut as diagram
795
+ };