@aiderdesk/aiderdesk 0.76.0 → 0.78.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (106) hide show
  1. package/out/cli.js +124 -17
  2. package/out/renderer/assets/{AgentSettings-Dc8h1zSI.js → AgentSettings-mSGpRs0A.js} +1228 -4469
  3. package/out/renderer/assets/{InfoIcon-BuABw5oZ.js → InfoIcon-Dllba1sv.js} +1 -1
  4. package/out/renderer/assets/{Onboarding-lX23sGcW.js → Onboarding-D_AT4vxY.js} +4 -4
  5. package/out/renderer/assets/{ProviderHeader-s7JSikLR.js → ProviderHeader-DAchpkUt.js} +8 -20
  6. package/out/renderer/assets/{SettingsPage-CcsH6kmE.js → SettingsPage-DPaPSR-0.js} +5649 -299
  7. package/out/renderer/assets/{UsageDashboard-oAQNYvYh.js → UsageDashboard-CfP-txzz.js} +3 -3
  8. package/out/renderer/assets/abnfDiagram-N423BO3Z-tqPb0OUs.js +118 -0
  9. package/out/renderer/assets/{arc-BiaIwS79.js → arc-lUzj6CoE.js} +1 -1
  10. package/out/renderer/assets/{architectureDiagram-3BPJPVTR-d7fu6X13.js → architectureDiagram-T3A2C74G-CuNUo8J6.js} +242 -133
  11. package/out/renderer/assets/{blockDiagram-GPEHLZMM-CWD8GVpw.js → blockDiagram-VBNYF7ZC-CIiOkZ_D.js} +76 -77
  12. package/out/renderer/assets/{c4Diagram-AAUBKEIU-b5nYOm14.js → c4Diagram-5PPSVZJV-DcgBNVnI.js} +2 -2
  13. package/out/renderer/assets/{channel-B99g0IUF.js → channel-PMBABQAa.js} +1 -1
  14. package/out/renderer/assets/{chunk-ND2GUHAM-BkVCmcvx.js → chunk-2GRJ4B5K-CJI-utiZ.js} +4 -4
  15. package/out/renderer/assets/{chunk-QZHKN3VN-DwLbWeqf.js → chunk-2Q5K7J3B-D8LOcAuY.js} +1 -1
  16. package/out/renderer/assets/{chunk-AQP2D5EJ-m8ArTZfD.js → chunk-5RXB4S5H-dp0xqMbI.js} +67 -32
  17. package/out/renderer/assets/{chunk-FMBD7UC4-yWO_9Kky.js → chunk-5VM5RSS4-D731WvT8.js} +1 -1
  18. package/out/renderer/assets/chunk-6Q2QTUOP-BjzdFhNB.js +860 -0
  19. package/out/renderer/assets/{chunk-727SXJPM-CVxcBF7D.js → chunk-GF5L2VYU-Ct3zh1DW.js} +18 -8
  20. package/out/renderer/assets/{chunk-4BX2VUAB-4Soxfj2i.js → chunk-JWPE2WC7-OPg0X7jU.js} +1 -1
  21. package/out/renderer/assets/{chunk-2J33WTMH-DmrXuNY-.js → chunk-KBJHAD2P-qbM4OnIO.js} +1 -1
  22. package/out/renderer/assets/{dagre-BM42HDAG-D_Val_ih.js → chunk-RYQCIY6F-DQI4Jds6.js} +85 -316
  23. package/out/renderer/assets/{chunk-55IACEB6-BtS727h4.js → chunk-XXDRQBXY-D_LC4QkV.js} +1 -1
  24. package/out/renderer/assets/{classDiagram-4FO5ZUOK-B3t9RWJZ.js → classDiagram-JCYQIIEL-D4e_9tkA.js} +6 -6
  25. package/out/renderer/assets/{classDiagram-v2-Q7XG4LA2-B3t9RWJZ.js → classDiagram-v2-OCEON4UE-D4e_9tkA.js} +6 -6
  26. package/out/renderer/assets/{cose-bilkent-S5V4N54A-W70GNPEp.js → cose-bilkent-JH36ORCC-tRlBuEjd.js} +2 -2
  27. package/out/renderer/assets/{wardley-L42UT6IY-Dnx4ZTc4.js → cynefin-VYW2F7L2-BiEI2vQb.js} +1527 -120
  28. package/out/renderer/assets/cynefinDiagram-MW4NZA55-DBSV1HcE.js +453 -0
  29. package/out/renderer/assets/{cytoscape.esm-BNSvh83I.js → cytoscape.esm-Bx_1tVW-.js} +160 -67
  30. package/out/renderer/assets/dagre-VZM6K2ZE-DRrMrSSw.js +522 -0
  31. package/out/renderer/assets/diagram-7IWD3JNH-CreTV9nH.js +488 -0
  32. package/out/renderer/assets/{diagram-KO2AKTUF-CGi0HZww.js → diagram-B4RE2ZJO-3tlgxoIb.js} +3 -3
  33. package/out/renderer/assets/{diagram-LMA3HP47-bdoVxL2p.js → diagram-LBJQPF4R-BFO2qTLJ.js} +3 -3
  34. package/out/renderer/assets/{diagram-OG6HWLK6-2K829auL.js → diagram-Q27KOJAE-BDgXUH9Q.js} +30 -24
  35. package/out/renderer/assets/{diagram-2AECGRRQ-Z7UeOtJN.js → diagram-UB23O5K3-Qw-ipaCG.js} +18 -8
  36. package/out/renderer/assets/ebnfDiagram-BXEA7PRR-izS1zYs0.js +138 -0
  37. package/out/renderer/assets/{erDiagram-TEJ5UH35-D4sO1GH8.js → erDiagram-JOGREHBK-ld9lNh2F.js} +88 -77
  38. package/out/renderer/assets/{flowDiagram-I6XJVG4X-DQNz4Jg_.js → flowDiagram-UKHOOZJN-g11KS_zg.js} +112 -96
  39. package/out/renderer/assets/{ganttDiagram-6RSMTGT7-B3dUFX1p.js → ganttDiagram-PKOTCBZU-CMsbJWqv.js} +31 -19
  40. package/out/renderer/assets/{gitGraphDiagram-PVQCEYII-B95Lrq_7.js → gitGraphDiagram-DS77QQ5N-CKiYKjBJ.js} +4 -4
  41. package/out/renderer/assets/{graph-7kCtdoo_.js → graph--1WSNErU.js} +10 -10
  42. package/out/renderer/assets/{index-58fbbmhI.js → index-BJGP-Ed0.js} +1 -1
  43. package/out/renderer/assets/{index-Bihcg0ql.js → index-BSQTFZZV.js} +1 -1
  44. package/out/renderer/assets/{index-GRVDmgjb.js → index-BSRjTKaQ.js} +1 -1
  45. package/out/renderer/assets/{index-CNgsMipO.js → index-BahRAP01.js} +7200 -3741
  46. package/out/renderer/assets/{index-BoogYopJ.js → index-BbYkC4ZX.js} +1 -1
  47. package/out/renderer/assets/{index-BHaWBJe9.js → index-BktqS5iT.js} +1 -1
  48. package/out/renderer/assets/{index-BnFS7uhp.js → index-DJfxm3SJ.js} +3 -3
  49. package/out/renderer/assets/{index-DcD881Q1.css → index-DVEVSdXO.css} +21 -0
  50. package/out/renderer/assets/{index-B2TL7Kll.js → index-DqZ8FyZG.js} +1 -1
  51. package/out/renderer/assets/{index-CRfveI6m.js → index-r15oFU5X.js} +1 -1
  52. package/out/renderer/assets/{index-pvhejocY.js → index-xC4jIIdf.js} +1 -1
  53. package/out/renderer/assets/{infoDiagram-5YYISTIA-C0OH2to7.js → infoDiagram-6WML65LV-CZoJK8b2.js} +3 -3
  54. package/out/renderer/assets/{ishikawaDiagram-YF4QCWOH-DsgR-cKp.js → ishikawaDiagram-WSZJBQD7-BrUuSNZ-.js} +1 -1
  55. package/out/renderer/assets/{journeyDiagram-JHISSGLW-Bg6okgzG.js → journeyDiagram-NVQOT4AX-w91U6vB5.js} +4 -4
  56. package/out/renderer/assets/{jsx-dev-runtime-DLJNe6VM.js → jsx-dev-runtime-Bu2_G2cv.js} +1 -1
  57. package/out/renderer/assets/{kanban-definition-UN3LZRKU-1UvLCrWk.js → kanban-definition-27J2QSJJ-DVuGbAnS.js} +2 -2
  58. package/out/renderer/assets/{katex-Co8xHYNH.js → katex-oVG3DVWa.js} +4039 -4063
  59. package/out/renderer/assets/{layout-9w0fH2nL.js → layout-BA4uCGdL.js} +36 -320
  60. package/out/renderer/assets/{linear-WTE7GZY2.js → linear-CWQmShZV.js} +1 -1
  61. package/out/renderer/assets/map-DSwlVIuN.js +299 -0
  62. package/out/renderer/assets/{mindmap-definition-RKZ34NQL-BlxjYw-a.js → mindmap-definition-FAOFIHXS-CbswsknG.js} +3 -3
  63. package/out/renderer/assets/pegDiagram-VL7TDLO6-CCqeWB6l.js +126 -0
  64. package/out/renderer/assets/{pieDiagram-4H26LBE5-C4jZuzAH.js → pieDiagram-7S7Q4E2Y-Chd5qh8F.js} +89 -19
  65. package/out/renderer/assets/pierre-dark-BL-l9r39.js +4 -0
  66. package/out/renderer/assets/pierre-dark-protanopia-deuteranopia-BBjGuJQU.js +4 -0
  67. package/out/renderer/assets/pierre-dark-soft-B6TBhICr.js +4 -0
  68. package/out/renderer/assets/pierre-dark-tritanopia-f-j_EX9A.js +4 -0
  69. package/out/renderer/assets/pierre-dark-vibrant-yElMGqZN.js +4 -0
  70. package/out/renderer/assets/pierre-light-BUzWTcjO.js +4 -0
  71. package/out/renderer/assets/pierre-light-protanopia-deuteranopia-DlvVSCaI.js +4 -0
  72. package/out/renderer/assets/pierre-light-soft-CCMU-Zh0.js +4 -0
  73. package/out/renderer/assets/pierre-light-tritanopia-v4xacE1C.js +4 -0
  74. package/out/renderer/assets/pierre-light-vibrant-BRUbQnMc.js +4 -0
  75. package/out/renderer/assets/{quadrantDiagram-W4KKPZXB-BLG4PrcM.js → quadrantDiagram-CIZ2JOQS-CzmUVvXi.js} +8 -9
  76. package/out/renderer/assets/railroadDiagram-AXF67PYL-CXY83yzR.js +92 -0
  77. package/out/renderer/assets/{requirementDiagram-4Y6WPE33-CTTFFDvR.js → requirementDiagram-LRYGKXZP-DToxgkKr.js} +3 -3
  78. package/out/renderer/assets/{sankeyDiagram-5OEKKPKP-CjDlOfXf.js → sankeyDiagram-W5VNT64P-CRs67mfK.js} +1 -1
  79. package/out/renderer/assets/{sequenceDiagram-3UESZ5HK-6PJo_0SQ.js → sequenceDiagram-SI44F4Z6-CzmgqSt2.js} +11 -11
  80. package/out/renderer/assets/sizeCapture-X5ZJPWSS-mheyKWG9.js +62 -0
  81. package/out/renderer/assets/{stateDiagram-AJRCARHV-Cnhm9mmx.js → stateDiagram-OKZ733FA-DGyuxXU_.js} +8 -6
  82. package/out/renderer/assets/{stateDiagram-v2-BHNVJYJU-BxKTEg-3.js → stateDiagram-v2-UEYNNEHI-TldVLbtJ.js} +5 -4
  83. package/out/renderer/assets/swimlanes-SLNWSIFB-B3lFy2HE.js +8557 -0
  84. package/out/renderer/assets/swimlanesDiagram-ULZ7WXOC-BxN-HDA3.js +20 -0
  85. package/out/renderer/assets/{time-YGhgEMYh.js → time-DcFzC-ob.js} +1 -1
  86. package/out/renderer/assets/{timeline-definition-PNZ67QCA-ooi5Tti4.js → timeline-definition-Z64GVDOM-DQ7vCcJR.js} +2 -2
  87. package/out/renderer/assets/{vennDiagram-CIIHVFJN-B_kwCHhU.js → vennDiagram-T6HMQDX7-MrgLWWY3.js} +32 -3
  88. package/out/renderer/assets/{wardleyDiagram-YWT4CUSO-cqZcXF7R.js → wardleyDiagram-T6FBY63Y-BCA6xyJ2.js} +3 -3
  89. package/out/renderer/assets/{worker-BdXuKH1Q.js → worker-CdcPcIJG.js} +322 -102
  90. package/out/renderer/assets/{xychartDiagram-2RQKCTM6-BBUpFNY4.js → xychartDiagram-ELKLHX3M-BZmPte5b.js} +125 -57
  91. package/out/renderer/index.html +2 -2
  92. package/out/renderer/sw.js +4 -0
  93. package/out/resources/connector/connector.py +3 -1
  94. package/out/resources/prompts/init-project.hbs +16 -42
  95. package/out/resources/prompts/system-prompt.hbs +25 -60
  96. package/out/resources/prompts/workflow.hbs +17 -52
  97. package/out/resources/skills/extension-creator/SKILL.md +1 -0
  98. package/out/resources/skills/extension-creator/references/event-types.md +13 -1
  99. package/out/resources/skills/extension-creator/references/extension-interface.md +3 -0
  100. package/out/runner.js +5735 -3379
  101. package/package.json +5 -4
  102. package/out/renderer/assets/diagram-5GNKFQAL-DY9Yifty.js +0 -169
  103. package/out/renderer/assets/pierre-dark-C-Drv5KU.js +0 -4
  104. package/out/renderer/assets/pierre-dark-soft-Cd74uQaL.js +0 -4
  105. package/out/renderer/assets/pierre-light-CfQnmt6J.js +0 -4
  106. package/out/renderer/assets/pierre-light-soft-DMVdU74b.js +0 -4
@@ -1,9 +1,9 @@
1
- import { g as getIconStyles } from "./chunk-FMBD7UC4-yWO_9Kky.js";
2
- import { _ as __name, a1 as setConfig2, O as log, L as getConfig2, a2 as getRegisteredLayoutAlgorithm, a3 as render, a4 as utils_default, K as setAccTitle, C as setAccDescription, a5 as setDiagramTitle, J as getAccTitle, H as getAccDescription, a6 as getDiagramTitle, Z as common_default, a7 as load, a8 as JSON_SCHEMA, a9 as isValidShape, aa as getEdgeId, N as select, ab as purify, ac as clear, ad as defaultConfig2, ae as rgba } from "./index-CNgsMipO.js";
3
- import { c as createTooltip } from "./chunk-ND2GUHAM-BkVCmcvx.js";
4
- import { g as getDiagramElement } from "./chunk-55IACEB6-BtS727h4.js";
5
- import { s as setupViewPortForSVG } from "./chunk-2J33WTMH-DmrXuNY-.js";
6
- import { c as channel } from "./channel-B99g0IUF.js";
1
+ import { g as getIconStyles } from "./chunk-5VM5RSS4-D731WvT8.js";
2
+ import { g as getDiagramElement } from "./chunk-XXDRQBXY-D_LC4QkV.js";
3
+ import { s as setupViewPortForSVG } from "./chunk-KBJHAD2P-qbM4OnIO.js";
4
+ import { _ as __name, aS as getUserDefinedConfig, aA as setConfig2, O as log, L as getConfig2, a9 as getRegisteredLayoutAlgorithm, aa as render, ab as utils_default, K as setAccTitle, C as setAccDescription, a3 as setDiagramTitle, J as getAccTitle, H as getAccDescription, a4 as getDiagramTitle, Z as common_default, aB as load, aC as JSON_SCHEMA, fY as isValidShape, a6 as getEdgeId, N as select, aJ as purify, a5 as clear, c0 as defaultConfig2, a7 as rgba } from "./index-BahRAP01.js";
5
+ import { f as createTooltip } from "./chunk-2GRJ4B5K-CJI-utiZ.js";
6
+ import { c as channel } from "./channel-PMBABQAa.js";
7
7
  var MERMAID_DOM_ID_PREFIX = "flowchart-";
8
8
  var FlowDB = class {
9
9
  // cspell:ignore funs
@@ -569,9 +569,10 @@ You have to call mermaid.initialize.`
569
569
  }, "uniq");
570
570
  const result = uniq(list.flat());
571
571
  const nodeList = result.nodeList;
572
- let dir = result.dir;
572
+ const rawDir = result.dir;
573
+ const hasExplicitDir = rawDir !== void 0;
573
574
  const flowchartConfig = getConfig2().flowchart ?? {};
574
- dir = dir ?? (flowchartConfig.inheritDir ? this.getDirection() ?? getConfig2().direction ?? void 0 : void 0);
575
+ const dir = rawDir ?? (flowchartConfig.inheritDir ? this.getDirection() ?? getConfig2().direction ?? void 0 : void 0);
575
576
  if (this.version === "gen-1") {
576
577
  for (let i = 0; i < nodeList.length; i++) {
577
578
  nodeList[i] = this.lookUpDomId(nodeList[i]);
@@ -587,6 +588,7 @@ You have to call mermaid.initialize.`
587
588
  title: title.trim(),
588
589
  classes: [],
589
590
  dir,
591
+ hasExplicitDir,
590
592
  labelType: this.sanitizeNodeLabelType(_title?.type)
591
593
  };
592
594
  log.info("Adding", subGraph.id, subGraph.nodes, subGraph.dir);
@@ -921,7 +923,10 @@ You have to call mermaid.initialize.`
921
923
  cssCompiledStyles: this.getCompiledStyles(subGraph.classes),
922
924
  cssClasses: subGraph.classes.join(" "),
923
925
  shape: "rect",
924
- dir: subGraph.dir,
926
+ dir: subGraph.dir === "TD" ? "TB" : subGraph.dir,
927
+ // normalize TD→TB for dagre
928
+ explicitDir: subGraph.hasExplicitDir,
929
+ // true only when the user wrote an explicit 'direction X' keyword
925
930
  isGroup: true,
926
931
  look: config.look
927
932
  });
@@ -972,7 +977,7 @@ You have to call mermaid.initialize.`
972
977
  var getClasses = /* @__PURE__ */ __name(function(text, diagramObj) {
973
978
  return diagramObj.db.getClasses();
974
979
  }, "getClasses");
975
- var draw = /* @__PURE__ */ __name(async function(text, id, _version, diag) {
980
+ var draw = /* @__PURE__ */ __name(async function(text, id, _version, diag, positions) {
976
981
  log.info("REF0:");
977
982
  log.info("Drawing state diagram (v2)", id);
978
983
  const { securityLevel, flowchart: conf, layout } = getConfig2();
@@ -995,7 +1000,7 @@ var draw = /* @__PURE__ */ __name(async function(text, id, _version, diag) {
995
1000
  data4Layout.markers = ["point", "circle", "cross"];
996
1001
  data4Layout.diagramId = id;
997
1002
  log.debug("REF1:", data4Layout);
998
- await render(data4Layout, svg);
1003
+ await render(data4Layout, svg, positions);
999
1004
  const padding = data4Layout.config.flowchart?.diagramPadding ?? 8;
1000
1005
  utils_default.insertTitle(
1001
1006
  svg,
@@ -1924,11 +1929,14 @@ var parser = (function() {
1924
1929
  }
1925
1930
  return 12;
1926
1931
  case 38:
1927
- return 27;
1932
+ if (yy.lex.firstGraph()) {
1933
+ this.begin("dir");
1934
+ }
1935
+ return 12;
1928
1936
  case 39:
1929
- return 32;
1937
+ return 27;
1930
1938
  case 40:
1931
- return 98;
1939
+ return 32;
1932
1940
  case 41:
1933
1941
  return 98;
1934
1942
  case 42:
@@ -1936,11 +1944,10 @@ var parser = (function() {
1936
1944
  case 43:
1937
1945
  return 98;
1938
1946
  case 44:
1939
- this.popState();
1940
- return 13;
1947
+ return 98;
1941
1948
  case 45:
1942
1949
  this.popState();
1943
- return 14;
1950
+ return 13;
1944
1951
  case 46:
1945
1952
  this.popState();
1946
1953
  return 14;
@@ -1969,170 +1976,173 @@ var parser = (function() {
1969
1976
  this.popState();
1970
1977
  return 14;
1971
1978
  case 55:
1972
- return 121;
1979
+ this.popState();
1980
+ return 14;
1973
1981
  case 56:
1974
- return 122;
1982
+ return 121;
1975
1983
  case 57:
1976
- return 123;
1984
+ return 122;
1977
1985
  case 58:
1978
- return 124;
1986
+ return 123;
1979
1987
  case 59:
1980
- return 125;
1988
+ return 124;
1981
1989
  case 60:
1982
- return 78;
1990
+ return 125;
1983
1991
  case 61:
1984
- return 105;
1992
+ return 78;
1985
1993
  case 62:
1986
- return 111;
1994
+ return 105;
1987
1995
  case 63:
1988
- return 46;
1996
+ return 111;
1989
1997
  case 64:
1990
- return 60;
1998
+ return 46;
1991
1999
  case 65:
1992
- return 44;
2000
+ return 60;
1993
2001
  case 66:
1994
- return 8;
2002
+ return 44;
1995
2003
  case 67:
1996
- return 106;
2004
+ return 8;
1997
2005
  case 68:
1998
- return 115;
2006
+ return 106;
1999
2007
  case 69:
2008
+ return 115;
2009
+ case 70:
2000
2010
  this.popState();
2001
2011
  return 77;
2002
- case 70:
2012
+ case 71:
2003
2013
  this.pushState("edgeText");
2004
2014
  return 75;
2005
- case 71:
2006
- return 119;
2007
2015
  case 72:
2016
+ return 119;
2017
+ case 73:
2008
2018
  this.popState();
2009
2019
  return 77;
2010
- case 73:
2020
+ case 74:
2011
2021
  this.pushState("thickEdgeText");
2012
2022
  return 75;
2013
- case 74:
2014
- return 119;
2015
2023
  case 75:
2024
+ return 119;
2025
+ case 76:
2016
2026
  this.popState();
2017
2027
  return 77;
2018
- case 76:
2028
+ case 77:
2019
2029
  this.pushState("dottedEdgeText");
2020
2030
  return 75;
2021
- case 77:
2022
- return 119;
2023
2031
  case 78:
2024
- return 77;
2032
+ return 119;
2025
2033
  case 79:
2034
+ return 77;
2035
+ case 80:
2026
2036
  this.popState();
2027
2037
  return 53;
2028
- case 80:
2029
- return "TEXT";
2030
2038
  case 81:
2039
+ return "TEXT";
2040
+ case 82:
2031
2041
  this.pushState("ellipseText");
2032
2042
  return 52;
2033
- case 82:
2043
+ case 83:
2034
2044
  this.popState();
2035
2045
  return 55;
2036
- case 83:
2046
+ case 84:
2037
2047
  this.pushState("text");
2038
2048
  return 54;
2039
- case 84:
2049
+ case 85:
2040
2050
  this.popState();
2041
2051
  return 57;
2042
- case 85:
2052
+ case 86:
2043
2053
  this.pushState("text");
2044
2054
  return 56;
2045
- case 86:
2046
- return 58;
2047
2055
  case 87:
2056
+ return 58;
2057
+ case 88:
2048
2058
  this.pushState("text");
2049
2059
  return 67;
2050
- case 88:
2060
+ case 89:
2051
2061
  this.popState();
2052
2062
  return 64;
2053
- case 89:
2063
+ case 90:
2054
2064
  this.pushState("text");
2055
2065
  return 63;
2056
- case 90:
2066
+ case 91:
2057
2067
  this.popState();
2058
2068
  return 49;
2059
- case 91:
2069
+ case 92:
2060
2070
  this.pushState("text");
2061
2071
  return 48;
2062
- case 92:
2072
+ case 93:
2063
2073
  this.popState();
2064
2074
  return 69;
2065
- case 93:
2075
+ case 94:
2066
2076
  this.popState();
2067
2077
  return 71;
2068
- case 94:
2069
- return 117;
2070
2078
  case 95:
2079
+ return 117;
2080
+ case 96:
2071
2081
  this.pushState("trapText");
2072
2082
  return 68;
2073
- case 96:
2083
+ case 97:
2074
2084
  this.pushState("trapText");
2075
2085
  return 70;
2076
- case 97:
2077
- return 118;
2078
2086
  case 98:
2079
- return 67;
2087
+ return 118;
2080
2088
  case 99:
2081
- return 90;
2089
+ return 67;
2082
2090
  case 100:
2083
- return "SEP";
2091
+ return 90;
2084
2092
  case 101:
2085
- return 89;
2093
+ return "SEP";
2086
2094
  case 102:
2087
- return 115;
2095
+ return 89;
2088
2096
  case 103:
2089
- return 111;
2097
+ return 115;
2090
2098
  case 104:
2091
- return 44;
2099
+ return 111;
2092
2100
  case 105:
2093
- return 109;
2101
+ return 44;
2094
2102
  case 106:
2095
- return 114;
2103
+ return 109;
2096
2104
  case 107:
2097
- return 116;
2105
+ return 114;
2098
2106
  case 108:
2107
+ return 116;
2108
+ case 109:
2099
2109
  this.popState();
2100
2110
  return 62;
2101
- case 109:
2111
+ case 110:
2102
2112
  this.pushState("text");
2103
2113
  return 62;
2104
- case 110:
2114
+ case 111:
2105
2115
  this.popState();
2106
2116
  return 51;
2107
- case 111:
2117
+ case 112:
2108
2118
  this.pushState("text");
2109
2119
  return 50;
2110
- case 112:
2120
+ case 113:
2111
2121
  this.popState();
2112
2122
  return 31;
2113
- case 113:
2123
+ case 114:
2114
2124
  this.pushState("text");
2115
2125
  return 29;
2116
- case 114:
2126
+ case 115:
2117
2127
  this.popState();
2118
2128
  return 66;
2119
- case 115:
2129
+ case 116:
2120
2130
  this.pushState("text");
2121
2131
  return 65;
2122
- case 116:
2123
- return "TEXT";
2124
2132
  case 117:
2125
- return "QUOTE";
2133
+ return "TEXT";
2126
2134
  case 118:
2127
- return 9;
2135
+ return "QUOTE";
2128
2136
  case 119:
2129
- return 10;
2137
+ return 9;
2130
2138
  case 120:
2139
+ return 10;
2140
+ case 121:
2131
2141
  return 11;
2132
2142
  }
2133
2143
  }, "anonymous"),
2134
- rules: [/^(?:accTitle\s*:\s*)/, /^(?:(?!\n||)*[^\n]*)/, /^(?:accDescr\s*:\s*)/, /^(?:(?!\n||)*[^\n]*)/, /^(?:accDescr\s*\{\s*)/, /^(?:[\}])/, /^(?:[^\}]*)/, /^(?:@\{)/, /^(?:["])/, /^(?:["])/, /^(?:[^\"]+)/, /^(?:[^}^"]+)/, /^(?:\})/, /^(?:call[\s]+)/, /^(?:\([\s]*\))/, /^(?:\()/, /^(?:[^(]*)/, /^(?:\))/, /^(?:[^)]*)/, /^(?:[^`"]+)/, /^(?:[`]["])/, /^(?:["][`])/, /^(?:[^"]+)/, /^(?:["])/, /^(?:["])/, /^(?:style\b)/, /^(?:default\b)/, /^(?:linkStyle\b)/, /^(?:interpolate\b)/, /^(?:classDef\b)/, /^(?:class\b)/, /^(?:href[\s])/, /^(?:click[\s]+)/, /^(?:[\s\n])/, /^(?:[^\s\n]*)/, /^(?:flowchart-elk\b)/, /^(?:graph\b)/, /^(?:flowchart\b)/, /^(?:subgraph\b)/, /^(?:end\b\s*)/, /^(?:_self\b)/, /^(?:_blank\b)/, /^(?:_parent\b)/, /^(?:_top\b)/, /^(?:(\r?\n)*\s*\n)/, /^(?:\s*LR\b)/, /^(?:\s*RL\b)/, /^(?:\s*TB\b)/, /^(?:\s*BT\b)/, /^(?:\s*TD\b)/, /^(?:\s*BR\b)/, /^(?:\s*<)/, /^(?:\s*>)/, /^(?:\s*\^)/, /^(?:\s*v\b)/, /^(?:.*direction\s+TB[^\n]*)/, /^(?:.*direction\s+BT[^\n]*)/, /^(?:.*direction\s+RL[^\n]*)/, /^(?:.*direction\s+LR[^\n]*)/, /^(?:.*direction\s+TD[^\n]*)/, /^(?:[^\s\"]+@(?=[^\{\"]))/, /^(?:[0-9]+)/, /^(?:#)/, /^(?::::)/, /^(?::)/, /^(?:&)/, /^(?:;)/, /^(?:,)/, /^(?:\*)/, /^(?:\s*[xo<]?--+[-xo>]\s*)/, /^(?:\s*[xo<]?--\s*)/, /^(?:[^-]|-(?!-)+)/, /^(?:\s*[xo<]?==+[=xo>]\s*)/, /^(?:\s*[xo<]?==\s*)/, /^(?:[^=]|=(?!))/, /^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/, /^(?:\s*[xo<]?-\.\s*)/, /^(?:[^\.]|\.(?!))/, /^(?:\s*~~[\~]+\s*)/, /^(?:[-/\)][\)])/, /^(?:[^\(\)\[\]\{\}]|!\)+)/, /^(?:\(-)/, /^(?:\]\))/, /^(?:\(\[)/, /^(?:\]\])/, /^(?:\[\[)/, /^(?:\[\|)/, /^(?:>)/, /^(?:\)\])/, /^(?:\[\()/, /^(?:\)\)\))/, /^(?:\(\(\()/, /^(?:[\\(?=\])][\]])/, /^(?:\/(?=\])\])/, /^(?:\/(?!\])|\\(?!\])|[^\\\[\]\(\)\{\}\/]+)/, /^(?:\[\/)/, /^(?:\[\\)/, /^(?:<)/, /^(?:>)/, /^(?:\^)/, /^(?:\\\|)/, /^(?:v\b)/, /^(?:\*)/, /^(?:#)/, /^(?:&)/, /^(?:([A-Za-z0-9!"\#$%&'*+\.`?\\_\/]|-(?=[^\>\-\.])|(?!))+)/, /^(?:-)/, /^(?:[\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6]|[\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377]|[\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5]|[\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA]|[\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE]|[\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA]|[\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0]|[\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977]|[\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2]|[\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A]|[\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39]|[\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8]|[\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C]|[\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C]|[\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99]|[\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0]|[\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D]|[\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3]|[\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10]|[\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1]|[\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81]|[\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3]|[\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6]|[\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A]|[\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081]|[\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D]|[\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0]|[\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310]|[\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C]|[\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711]|[\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7]|[\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C]|[\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16]|[\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF]|[\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC]|[\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D]|[\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D]|[\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3]|[\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F]|[\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128]|[\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184]|[\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3]|[\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6]|[\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE]|[\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C]|[\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D]|[\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC]|[\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B]|[\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788]|[\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805]|[\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB]|[\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28]|[\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5]|[\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4]|[\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E]|[\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D]|[\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36]|[\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D]|[\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC]|[\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF]|[\uFFD2-\uFFD7\uFFDA-\uFFDC])/, /^(?:\|)/, /^(?:\|)/, /^(?:\))/, /^(?:\()/, /^(?:\])/, /^(?:\[)/, /^(?:(\}))/, /^(?:\{)/, /^(?:[^\[\]\(\)\{\}\|\"]+)/, /^(?:")/, /^(?:(\r?\n)+)/, /^(?:\s)/, /^(?:$)/],
2135
- conditions: { "shapeDataEndBracket": { "rules": [21, 24, 78, 81, 83, 85, 89, 91, 95, 96, 109, 111, 113, 115], "inclusive": false }, "shapeDataStr": { "rules": [9, 10, 21, 24, 78, 81, 83, 85, 89, 91, 95, 96, 109, 111, 113, 115], "inclusive": false }, "shapeData": { "rules": [8, 11, 12, 21, 24, 78, 81, 83, 85, 89, 91, 95, 96, 109, 111, 113, 115], "inclusive": false }, "callbackargs": { "rules": [17, 18, 21, 24, 78, 81, 83, 85, 89, 91, 95, 96, 109, 111, 113, 115], "inclusive": false }, "callbackname": { "rules": [14, 15, 16, 21, 24, 78, 81, 83, 85, 89, 91, 95, 96, 109, 111, 113, 115], "inclusive": false }, "href": { "rules": [21, 24, 78, 81, 83, 85, 89, 91, 95, 96, 109, 111, 113, 115], "inclusive": false }, "click": { "rules": [21, 24, 33, 34, 78, 81, 83, 85, 89, 91, 95, 96, 109, 111, 113, 115], "inclusive": false }, "dottedEdgeText": { "rules": [21, 24, 75, 77, 78, 81, 83, 85, 89, 91, 95, 96, 109, 111, 113, 115], "inclusive": false }, "thickEdgeText": { "rules": [21, 24, 72, 74, 78, 81, 83, 85, 89, 91, 95, 96, 109, 111, 113, 115], "inclusive": false }, "edgeText": { "rules": [21, 24, 69, 71, 78, 81, 83, 85, 89, 91, 95, 96, 109, 111, 113, 115], "inclusive": false }, "trapText": { "rules": [21, 24, 78, 81, 83, 85, 89, 91, 92, 93, 94, 95, 96, 109, 111, 113, 115], "inclusive": false }, "ellipseText": { "rules": [21, 24, 78, 79, 80, 81, 83, 85, 89, 91, 95, 96, 109, 111, 113, 115], "inclusive": false }, "text": { "rules": [21, 24, 78, 81, 82, 83, 84, 85, 88, 89, 90, 91, 95, 96, 108, 109, 110, 111, 112, 113, 114, 115, 116], "inclusive": false }, "vertex": { "rules": [21, 24, 78, 81, 83, 85, 89, 91, 95, 96, 109, 111, 113, 115], "inclusive": false }, "dir": { "rules": [21, 24, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 78, 81, 83, 85, 89, 91, 95, 96, 109, 111, 113, 115], "inclusive": false }, "acc_descr_multiline": { "rules": [5, 6, 21, 24, 78, 81, 83, 85, 89, 91, 95, 96, 109, 111, 113, 115], "inclusive": false }, "acc_descr": { "rules": [3, 21, 24, 78, 81, 83, 85, 89, 91, 95, 96, 109, 111, 113, 115], "inclusive": false }, "acc_title": { "rules": [1, 21, 24, 78, 81, 83, 85, 89, 91, 95, 96, 109, 111, 113, 115], "inclusive": false }, "md_string": { "rules": [19, 20, 21, 24, 78, 81, 83, 85, 89, 91, 95, 96, 109, 111, 113, 115], "inclusive": false }, "string": { "rules": [21, 22, 23, 24, 78, 81, 83, 85, 89, 91, 95, 96, 109, 111, 113, 115], "inclusive": false }, "INITIAL": { "rules": [0, 2, 4, 7, 13, 21, 24, 25, 26, 27, 28, 29, 30, 31, 32, 35, 36, 37, 38, 39, 40, 41, 42, 43, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 72, 73, 75, 76, 78, 81, 83, 85, 86, 87, 89, 91, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 109, 111, 113, 115, 117, 118, 119, 120], "inclusive": true } }
2144
+ rules: [/^(?:accTitle\s*:\s*)/, /^(?:(?!\n||)*[^\n]*)/, /^(?:accDescr\s*:\s*)/, /^(?:(?!\n||)*[^\n]*)/, /^(?:accDescr\s*\{\s*)/, /^(?:[\}])/, /^(?:[^\}]*)/, /^(?:@\{)/, /^(?:["])/, /^(?:["])/, /^(?:[^\"]+)/, /^(?:[^}^"]+)/, /^(?:\})/, /^(?:call[\s]+)/, /^(?:\([\s]*\))/, /^(?:\()/, /^(?:[^(]*)/, /^(?:\))/, /^(?:[^)]*)/, /^(?:[^`"]+)/, /^(?:[`]["])/, /^(?:["][`])/, /^(?:[^"]+)/, /^(?:["])/, /^(?:["])/, /^(?:style\b)/, /^(?:default\b)/, /^(?:linkStyle\b)/, /^(?:interpolate\b)/, /^(?:classDef\b)/, /^(?:class\b)/, /^(?:href[\s])/, /^(?:click[\s]+)/, /^(?:[\s\n])/, /^(?:[^\s\n]*)/, /^(?:flowchart-elk\b)/, /^(?:swimlane-beta\b)/, /^(?:graph\b)/, /^(?:flowchart\b)/, /^(?:subgraph\b)/, /^(?:end\b\s*)/, /^(?:_self\b)/, /^(?:_blank\b)/, /^(?:_parent\b)/, /^(?:_top\b)/, /^(?:(\r?\n)*\s*\n)/, /^(?:\s*LR\b)/, /^(?:\s*RL\b)/, /^(?:\s*TB\b)/, /^(?:\s*BT\b)/, /^(?:\s*TD\b)/, /^(?:\s*BR\b)/, /^(?:\s*<)/, /^(?:\s*>)/, /^(?:\s*\^)/, /^(?:\s*v\b)/, /^(?:.*direction\s+TB[^\n]*)/, /^(?:.*direction\s+BT[^\n]*)/, /^(?:.*direction\s+RL[^\n]*)/, /^(?:.*direction\s+LR[^\n]*)/, /^(?:.*direction\s+TD[^\n]*)/, /^(?:[^\s\"]+@(?=[^\{\"]))/, /^(?:[0-9]+)/, /^(?:#)/, /^(?::::)/, /^(?::)/, /^(?:&)/, /^(?:;)/, /^(?:,)/, /^(?:\*)/, /^(?:\s*[xo<]?--+[-xo>]\s*)/, /^(?:\s*[xo<]?--\s*)/, /^(?:[^-]|-(?!-)+)/, /^(?:\s*[xo<]?==+[=xo>]\s*)/, /^(?:\s*[xo<]?==\s*)/, /^(?:[^=]|=(?!))/, /^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/, /^(?:\s*[xo<]?-\.\s*)/, /^(?:[^\.]|\.(?!))/, /^(?:\s*~~[\~]+\s*)/, /^(?:[-/\)][\)])/, /^(?:[^\(\)\[\]\{\}]|!\)+)/, /^(?:\(-)/, /^(?:\]\))/, /^(?:\(\[)/, /^(?:\]\])/, /^(?:\[\[)/, /^(?:\[\|)/, /^(?:>)/, /^(?:\)\])/, /^(?:\[\()/, /^(?:\)\)\))/, /^(?:\(\(\()/, /^(?:[\\(?=\])][\]])/, /^(?:\/(?=\])\])/, /^(?:\/(?!\])|\\(?!\])|[^\\\[\]\(\)\{\}\/]+)/, /^(?:\[\/)/, /^(?:\[\\)/, /^(?:<)/, /^(?:>)/, /^(?:\^)/, /^(?:\\\|)/, /^(?:v\b)/, /^(?:\*)/, /^(?:#)/, /^(?:&)/, /^(?:([A-Za-z0-9!"\#$%&'*+\.`?\\_\/]|-(?=[^\>\-\.])|(?!))+)/, /^(?:-)/, /^(?:[\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6]|[\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377]|[\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5]|[\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA]|[\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE]|[\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA]|[\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0]|[\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977]|[\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2]|[\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A]|[\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39]|[\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8]|[\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C]|[\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C]|[\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99]|[\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0]|[\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D]|[\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3]|[\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10]|[\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1]|[\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81]|[\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3]|[\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6]|[\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A]|[\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081]|[\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D]|[\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0]|[\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310]|[\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C]|[\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711]|[\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7]|[\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C]|[\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16]|[\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF]|[\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC]|[\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D]|[\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D]|[\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3]|[\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F]|[\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128]|[\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184]|[\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3]|[\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6]|[\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE]|[\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C]|[\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D]|[\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC]|[\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B]|[\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788]|[\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805]|[\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB]|[\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28]|[\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5]|[\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4]|[\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E]|[\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D]|[\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36]|[\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D]|[\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC]|[\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF]|[\uFFD2-\uFFD7\uFFDA-\uFFDC])/, /^(?:\|)/, /^(?:\|)/, /^(?:\))/, /^(?:\()/, /^(?:\])/, /^(?:\[)/, /^(?:(\}))/, /^(?:\{)/, /^(?:[^\[\]\(\)\{\}\|\"]+)/, /^(?:")/, /^(?:(\r?\n)+)/, /^(?:\s)/, /^(?:$)/],
2145
+ conditions: { "shapeDataEndBracket": { "rules": [21, 24, 79, 82, 84, 86, 90, 92, 96, 97, 110, 112, 114, 116], "inclusive": false }, "shapeDataStr": { "rules": [9, 10, 21, 24, 79, 82, 84, 86, 90, 92, 96, 97, 110, 112, 114, 116], "inclusive": false }, "shapeData": { "rules": [8, 11, 12, 21, 24, 79, 82, 84, 86, 90, 92, 96, 97, 110, 112, 114, 116], "inclusive": false }, "callbackargs": { "rules": [17, 18, 21, 24, 79, 82, 84, 86, 90, 92, 96, 97, 110, 112, 114, 116], "inclusive": false }, "callbackname": { "rules": [14, 15, 16, 21, 24, 79, 82, 84, 86, 90, 92, 96, 97, 110, 112, 114, 116], "inclusive": false }, "href": { "rules": [21, 24, 79, 82, 84, 86, 90, 92, 96, 97, 110, 112, 114, 116], "inclusive": false }, "click": { "rules": [21, 24, 33, 34, 79, 82, 84, 86, 90, 92, 96, 97, 110, 112, 114, 116], "inclusive": false }, "dottedEdgeText": { "rules": [21, 24, 76, 78, 79, 82, 84, 86, 90, 92, 96, 97, 110, 112, 114, 116], "inclusive": false }, "thickEdgeText": { "rules": [21, 24, 73, 75, 79, 82, 84, 86, 90, 92, 96, 97, 110, 112, 114, 116], "inclusive": false }, "edgeText": { "rules": [21, 24, 70, 72, 79, 82, 84, 86, 90, 92, 96, 97, 110, 112, 114, 116], "inclusive": false }, "trapText": { "rules": [21, 24, 79, 82, 84, 86, 90, 92, 93, 94, 95, 96, 97, 110, 112, 114, 116], "inclusive": false }, "ellipseText": { "rules": [21, 24, 79, 80, 81, 82, 84, 86, 90, 92, 96, 97, 110, 112, 114, 116], "inclusive": false }, "text": { "rules": [21, 24, 79, 82, 83, 84, 85, 86, 89, 90, 91, 92, 96, 97, 109, 110, 111, 112, 113, 114, 115, 116, 117], "inclusive": false }, "vertex": { "rules": [21, 24, 79, 82, 84, 86, 90, 92, 96, 97, 110, 112, 114, 116], "inclusive": false }, "dir": { "rules": [21, 24, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 79, 82, 84, 86, 90, 92, 96, 97, 110, 112, 114, 116], "inclusive": false }, "acc_descr_multiline": { "rules": [5, 6, 21, 24, 79, 82, 84, 86, 90, 92, 96, 97, 110, 112, 114, 116], "inclusive": false }, "acc_descr": { "rules": [3, 21, 24, 79, 82, 84, 86, 90, 92, 96, 97, 110, 112, 114, 116], "inclusive": false }, "acc_title": { "rules": [1, 21, 24, 79, 82, 84, 86, 90, 92, 96, 97, 110, 112, 114, 116], "inclusive": false }, "md_string": { "rules": [19, 20, 21, 24, 79, 82, 84, 86, 90, 92, 96, 97, 110, 112, 114, 116], "inclusive": false }, "string": { "rules": [21, 22, 23, 24, 79, 82, 84, 86, 90, 92, 96, 97, 110, 112, 114, 116], "inclusive": false }, "INITIAL": { "rules": [0, 2, 4, 7, 13, 21, 24, 25, 26, 27, 28, 29, 30, 31, 32, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 73, 74, 76, 77, 79, 82, 84, 86, 87, 88, 90, 92, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 110, 112, 114, 116, 118, 119, 120, 121], "inclusive": true } }
2136
2146
  };
2137
2147
  return lexer2;
2138
2148
  })();
@@ -2191,12 +2201,6 @@ var getStyles = /* @__PURE__ */ __name((options) => `.label {
2191
2201
  .rough-node .label text , .node .label text, .image-shape .label, .icon-shape .label {
2192
2202
  text-anchor: middle;
2193
2203
  }
2194
- // .flowchart-label .text-outer-tspan {
2195
- // text-anchor: middle;
2196
- // }
2197
- // .flowchart-label .text-inner-tspan {
2198
- // text-anchor: start;
2199
- // }
2200
2204
 
2201
2205
  .node .katex path {
2202
2206
  fill: #000;
@@ -2309,24 +2313,36 @@ var getStyles = /* @__PURE__ */ __name((options) => `.label {
2309
2313
  ${getIconStyles()}
2310
2314
  `, "getStyles");
2311
2315
  var styles_default = getStyles;
2312
- var diagram = {
2316
+ var createFlowDiagram = /* @__PURE__ */ __name(({
2317
+ defaultLayout,
2318
+ styles = styles_default
2319
+ } = {}) => ({
2313
2320
  parser: flowParser_default,
2314
2321
  get db() {
2315
2322
  return new FlowDB();
2316
2323
  },
2317
2324
  renderer: flowRenderer_v3_unified_default,
2318
- styles: styles_default,
2325
+ styles,
2319
2326
  init: /* @__PURE__ */ __name((cnf) => {
2320
2327
  if (!cnf.flowchart) {
2321
2328
  cnf.flowchart = {};
2322
2329
  }
2323
- if (cnf.layout) {
2324
- setConfig2({ layout: cnf.layout });
2330
+ const layout = getUserDefinedConfig().layout ?? defaultLayout ?? cnf.layout;
2331
+ if (layout) {
2332
+ setConfig2({ layout });
2325
2333
  }
2326
2334
  cnf.flowchart.arrowMarkerAbsolute = cnf.arrowMarkerAbsolute;
2327
2335
  setConfig2({ flowchart: { arrowMarkerAbsolute: cnf.arrowMarkerAbsolute } });
2328
2336
  }, "init")
2329
- };
2330
- export {
2337
+ }), "createFlowDiagram");
2338
+ var diagram = createFlowDiagram();
2339
+ const flowDiagramUKHOOZJN = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2340
+ __proto__: null,
2341
+ createFlowDiagram,
2331
2342
  diagram
2343
+ }, Symbol.toStringTag, { value: "Module" }));
2344
+ export {
2345
+ createFlowDiagram as c,
2346
+ flowDiagramUKHOOZJN as f,
2347
+ styles_default as s
2332
2348
  };
@@ -1,6 +1,6 @@
1
- import { d8 as Rgb, d9 as rgbConvert, da as define, db as extend, dc as Color, dd as nogamma, de as hue, bW as getDefaultExportFromCjs, H as getAccDescription, C as setAccDescription, a6 as getDiagramTitle, a5 as setDiagramTitle, J as getAccTitle, K as setAccTitle, _ as __name, L as getConfig2, N as select, Q as configureSvgSize, df as dayjs2, O as log, Z as common_default, X as distExports, ac as clear, a4 as utils_default } from "./index-CNgsMipO.js";
2
- import { t as time, m as min, a as max, b as timeFormat, c as timeMonth, d as timeSunday, e as timeSaturday, f as timeFriday, g as timeThursday, h as timeWednesday, i as timeTuesday, j as timeMonday, k as timeDay, l as timeHour, n as timeMinute, s as second, o as millisecond } from "./time-YGhgEMYh.js";
3
- import { l as linear } from "./linear-WTE7GZY2.js";
1
+ import { c1 as Rgb, c2 as rgbConvert, c3 as define, c4 as extend, c5 as Color, c6 as nogamma, c7 as hue, b_ as getDefaultExportFromCjs, H as getAccDescription, C as setAccDescription, a4 as getDiagramTitle, a3 as setDiagramTitle, J as getAccTitle, K as setAccTitle, _ as __name, L as getConfig2, N as select, Q as configureSvgSize, c8 as dayjs2, O as log, Z as common_default, X as distExports, a5 as clear, ab as utils_default } from "./index-BahRAP01.js";
2
+ import { t as time, m as min, a as max, b as timeFormat, c as timeMonth, d as timeSunday, e as timeSaturday, f as timeFriday, g as timeThursday, h as timeWednesday, i as timeTuesday, j as timeMonday, k as timeDay, l as timeHour, n as timeMinute, s as second, o as millisecond } from "./time-DcFzC-ob.js";
3
+ import { l as linear } from "./linear-CWQmShZV.js";
4
4
  import "./init-CTO7spbL.js";
5
5
  import "./defaultLocale-B2RvLBDe.js";
6
6
  function identity(x) {
@@ -431,7 +431,7 @@ function requireDuration() {
431
431
  !(function(t, s) {
432
432
  module.exports = s();
433
433
  })(duration, (function() {
434
- var t, s, n = 1e3, i = 6e4, e = 36e5, r = 864e5, o = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, u = 31536e6, d = 2628e6, a = /^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/, h = { years: u, months: d, days: r, hours: e, minutes: i, seconds: n, milliseconds: 1, weeks: 6048e5 }, c = function(t4) {
434
+ var t, s, n = 1e3, i = 6e4, e = 36e5, r = 864e5, o = 31536e6, u = 2628e6, d = /^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/, a = /\[([^\]]+)]|YYYY|YY|Y|M{1,2}|D{1,2}|H{1,2}|m{1,2}|s{1,2}|SSS/g, h = { years: o, months: u, days: r, hours: e, minutes: i, seconds: n, milliseconds: 1, weeks: 6048e5 }, c = function(t4) {
435
435
  return t4 instanceof g;
436
436
  }, f = function(t4, s2, n2) {
437
437
  return new g(t4, n2, s2.$l);
@@ -454,7 +454,7 @@ function requireDuration() {
454
454
  i2.$d[m(s3)] = t4[s3];
455
455
  })), this.calMilliseconds(), this;
456
456
  if ("string" == typeof t4) {
457
- var e2 = t4.match(a);
457
+ var e2 = t4.match(d);
458
458
  if (e2) {
459
459
  var r2 = e2.slice(2).map((function(t5) {
460
460
  return null != t5 ? Number(t5) : 0;
@@ -472,7 +472,7 @@ function requireDuration() {
472
472
  }), 0);
473
473
  }, y2.parseFromMilliseconds = function() {
474
474
  var t4 = this.$ms;
475
- this.$d.years = $(t4 / u), t4 %= u, this.$d.months = $(t4 / d), t4 %= d, this.$d.days = $(t4 / r), t4 %= r, this.$d.hours = $(t4 / e), t4 %= e, this.$d.minutes = $(t4 / i), t4 %= i, this.$d.seconds = $(t4 / n), t4 %= n, this.$d.milliseconds = t4;
475
+ this.$d.years = $(t4 / o), t4 %= o, this.$d.months = $(t4 / u), t4 %= u, this.$d.days = $(t4 / r), t4 %= r, this.$d.hours = $(t4 / e), t4 %= e, this.$d.minutes = $(t4 / i), t4 %= i, this.$d.seconds = $(t4 / n), t4 %= n, this.$d.milliseconds = t4;
476
476
  }, y2.toISOString = function() {
477
477
  var t4 = v(this.$d.years, "Y"), s2 = v(this.$d.months, "M"), n2 = +this.$d.days || 0;
478
478
  this.$d.weeks && (n2 += 7 * this.$d.weeks);
@@ -484,7 +484,7 @@ function requireDuration() {
484
484
  return this.toISOString();
485
485
  }, y2.format = function(t4) {
486
486
  var n2 = t4 || "YYYY-MM-DDTHH:mm:ss", i2 = { Y: this.$d.years, YY: s.s(this.$d.years, 2, "0"), YYYY: s.s(this.$d.years, 4, "0"), M: this.$d.months, MM: s.s(this.$d.months, 2, "0"), D: this.$d.days, DD: s.s(this.$d.days, 2, "0"), H: this.$d.hours, HH: s.s(this.$d.hours, 2, "0"), m: this.$d.minutes, mm: s.s(this.$d.minutes, 2, "0"), s: this.$d.seconds, ss: s.s(this.$d.seconds, 2, "0"), SSS: s.s(this.$d.milliseconds, 3, "0") };
487
- return n2.replace(o, (function(t5, s2) {
487
+ return n2.replace(a, (function(t5, s2) {
488
488
  return s2 || String(i2[t5]);
489
489
  }));
490
490
  }, y2.as = function(t4) {
@@ -1382,14 +1382,18 @@ var getDisplayMode = /* @__PURE__ */ __name(function() {
1382
1382
  var getDateFormat = /* @__PURE__ */ __name(function() {
1383
1383
  return dateFormat;
1384
1384
  }, "getDateFormat");
1385
+ var mergeTokens = /* @__PURE__ */ __name((existing, txt) => {
1386
+ const tokens = txt.toLowerCase().split(/[\s,]+/).filter((t) => t !== "");
1387
+ return [.../* @__PURE__ */ new Set([...existing, ...tokens])];
1388
+ }, "mergeTokens");
1385
1389
  var setIncludes = /* @__PURE__ */ __name(function(txt) {
1386
- includes = txt.toLowerCase().split(/[\s,]+/);
1390
+ includes = mergeTokens(includes, txt);
1387
1391
  }, "setIncludes");
1388
1392
  var getIncludes = /* @__PURE__ */ __name(function() {
1389
1393
  return includes;
1390
1394
  }, "getIncludes");
1391
1395
  var setExcludes = /* @__PURE__ */ __name(function(txt) {
1392
- excludes = txt.toLowerCase().split(/[\s,]+/);
1396
+ excludes = mergeTokens(excludes, txt);
1393
1397
  }, "setExcludes");
1394
1398
  var getExcludes = /* @__PURE__ */ __name(function() {
1395
1399
  return excludes;
@@ -1691,8 +1695,12 @@ var addTask = /* @__PURE__ */ __name(function(descr, data) {
1691
1695
  rawTask.crit = taskInfo.crit;
1692
1696
  rawTask.milestone = taskInfo.milestone;
1693
1697
  rawTask.vert = taskInfo.vert;
1694
- rawTask.order = lastOrder;
1695
- lastOrder++;
1698
+ if (rawTask.vert) {
1699
+ rawTask.order = -1;
1700
+ } else {
1701
+ rawTask.order = lastOrder;
1702
+ lastOrder++;
1703
+ }
1696
1704
  const pos = rawTasks.push(rawTask);
1697
1705
  lastTaskID = rawTask.id;
1698
1706
  taskDb[rawTask.id] = pos - 1;
@@ -1961,8 +1969,9 @@ var draw = /* @__PURE__ */ __name(function(text, id, version, diagObj) {
1961
1969
  w = conf.useWidth;
1962
1970
  }
1963
1971
  const taskArray = diagObj.db.getTasks();
1972
+ const tasksWithoutVert = taskArray.filter((task) => !task.vert);
1964
1973
  let categories = [];
1965
- for (const element of taskArray) {
1974
+ for (const element of tasksWithoutVert) {
1966
1975
  categories.push(element.type);
1967
1976
  }
1968
1977
  categories = checkUnique(categories);
@@ -1970,7 +1979,7 @@ var draw = /* @__PURE__ */ __name(function(text, id, version, diagObj) {
1970
1979
  let h = 2 * conf.topPadding;
1971
1980
  if (diagObj.db.getDisplayMode() === "compact" || conf.displayMode === "compact") {
1972
1981
  const categoryElements = {};
1973
- for (const element of taskArray) {
1982
+ for (const element of tasksWithoutVert) {
1974
1983
  if (categoryElements[element.section] === void 0) {
1975
1984
  categoryElements[element.section] = [element];
1976
1985
  } else {
@@ -1985,9 +1994,9 @@ var draw = /* @__PURE__ */ __name(function(text, id, version, diagObj) {
1985
1994
  categoryHeights[category] = categoryHeight;
1986
1995
  }
1987
1996
  } else {
1988
- h += taskArray.length * (conf.barHeight + conf.barGap);
1997
+ h += tasksWithoutVert.length * (conf.barHeight + conf.barGap);
1989
1998
  for (const category of categories) {
1990
- categoryHeights[category] = taskArray.filter((task) => task.type === category).length;
1999
+ categoryHeights[category] = tasksWithoutVert.filter((task) => task.type === category).length;
1991
2000
  }
1992
2001
  }
1993
2002
  elem.setAttribute("viewBox", "0 0 " + w + " " + h);
@@ -2040,8 +2049,11 @@ var draw = /* @__PURE__ */ __name(function(text, id, version, diagObj) {
2040
2049
  __name(makeGantt, "makeGantt");
2041
2050
  function drawRects(theArray, theGap, theTopPad, theSidePad, theBarHeight, theColorScale, w2) {
2042
2051
  theArray.sort((a, b) => a.vert === b.vert ? 0 : a.vert ? 1 : -1);
2043
- const uniqueTaskOrderIds = [...new Set(theArray.map((item) => item.order))];
2044
- const uniqueTasks = uniqueTaskOrderIds.map((id2) => theArray.find((item) => item.order === id2));
2052
+ const tasksWithoutVert2 = theArray.filter((task) => !task.vert);
2053
+ const uniqueTaskOrderIds = [...new Set(tasksWithoutVert2.map((item) => item.order))];
2054
+ const uniqueTasks = uniqueTaskOrderIds.map(
2055
+ (id2) => tasksWithoutVert2.find((item) => item.order === id2)
2056
+ );
2045
2057
  svg.append("g").selectAll("rect").data(uniqueTasks).enter().append("rect").attr("x", 0).attr("y", function(d, i) {
2046
2058
  i = d.order;
2047
2059
  return i * theGap + theTopPad - 2;
@@ -2080,7 +2092,7 @@ var draw = /* @__PURE__ */ __name(function(text, id, version, diagObj) {
2080
2092
  return timeScale(d.renderEndTime || d.endTime) - timeScale(d.startTime);
2081
2093
  }).attr("height", function(d) {
2082
2094
  if (d.vert) {
2083
- return taskArray.length * (conf.barHeight + conf.barGap) + conf.barHeight * 2;
2095
+ return tasksWithoutVert2.length * (conf.barHeight + conf.barGap) + conf.barHeight * 2;
2084
2096
  }
2085
2097
  return theBarHeight;
2086
2098
  }).attr("transform-origin", function(d, i) {
@@ -2155,7 +2167,7 @@ var draw = /* @__PURE__ */ __name(function(text, id, version, diagObj) {
2155
2167
  }
2156
2168
  }).attr("y", function(d, i) {
2157
2169
  if (d.vert) {
2158
- return conf.gridLineStartPadding + taskArray.length * (conf.barHeight + conf.barGap) + 60;
2170
+ return conf.gridLineStartPadding + tasksWithoutVert2.length * (conf.barHeight + conf.barGap) + 60;
2159
2171
  }
2160
2172
  i = d.order;
2161
2173
  return i * theGap + conf.barHeight / 2 + (conf.fontSize / 2 - 2) + theTopPad;
@@ -1,7 +1,7 @@
1
- import { p as populateCommonDb } from "./chunk-4BX2VUAB-4Soxfj2i.js";
2
- import { I as ImperativeState } from "./chunk-QZHKN3VN-DwLbWeqf.js";
3
- import { a6 as getDiagramTitle, a5 as setDiagramTitle, C as setAccDescription, H as getAccDescription, J as getAccTitle, K as setAccTitle, _ as __name, ai as getConfig, O as log, N as select, L as getConfig2, a4 as utils_default, aj as setupGraphViewbox2, ac as clear, Z as common_default, ak as cleanAndMerge, al as defaultConfig_default, am as random } from "./index-CNgsMipO.js";
4
- import { p as parse } from "./wardley-L42UT6IY-Dnx4ZTc4.js";
1
+ import { I as ImperativeState } from "./chunk-2Q5K7J3B-D8LOcAuY.js";
2
+ import { p as populateCommonDb } from "./chunk-JWPE2WC7-OPg0X7jU.js";
3
+ import { a4 as getDiagramTitle, a3 as setDiagramTitle, C as setAccDescription, H as getAccDescription, J as getAccTitle, K as setAccTitle, _ as __name, ac as getConfig, O as log, N as select, L as getConfig2, ab as utils_default, ad as setupGraphViewbox2, a5 as clear, Z as common_default, ae as cleanAndMerge, af as defaultConfig_default, ag as random } from "./index-BahRAP01.js";
4
+ import { p as parse } from "./cynefin-VYW2F7L2-BiEI2vQb.js";
5
5
  var commitType = {
6
6
  NORMAL: 0,
7
7
  REVERSE: 1,
@@ -1,4 +1,4 @@
1
- import { eL as isArray, eM as isSymbol, eN as Symbol$1, eO as getNative, eP as MapCache, eQ as isArguments, eR as arrayPush, eS as Stack, eT as baseIsEqual, eU as isObject, eV as keys, eW as isLength, eX as isIndex, eY as isArrayLike, eZ as isObjectLike, e_ as arrayFilter, e$ as isBuffer, f0 as isTypedArray, f1 as getTag, f2 as isPrototype, f3 as baseKeys, f4 as Set, f5 as setToArray, f6 as SetCache, f7 as cacheHas, f8 as isFunction } from "./index-CNgsMipO.js";
1
+ import { e7 as isArray, fd as isSymbol, e0 as Symbol$1, fe as getNative, ff as MapCache, fg as isArguments, dZ as arrayPush, e6 as Stack, fh as baseIsEqual, dP as isObject, dV as keys, fi as isLength, fj as isIndex, dS as isArrayLike, e1 as isObjectLike, fk as arrayFilter, e5 as isBuffer, fl as isTypedArray, e2 as getTag, dR as isPrototype, fm as baseKeys, fn as Set, fo as setToArray, fp as SetCache, fq as cacheHas, fr as isFunction } from "./index-BahRAP01.js";
2
2
  function arrayMap(array, iteratee) {
3
3
  var index = -1, length = array == null ? 0 : array.length, result = Array(length);
4
4
  while (++index < length) {
@@ -1279,17 +1279,17 @@ function edgeObjToId(isDirected, edgeObj) {
1279
1279
  export {
1280
1280
  reduce as A,
1281
1281
  Graph as G,
1282
- baseFlatten as a,
1283
- baseRest as b,
1284
- arrayEach as c,
1282
+ arrayEach as a,
1283
+ baseEach as b,
1284
+ baseIteratee as c,
1285
1285
  defineProperty as d,
1286
- isArrayLikeObject as e,
1287
- baseFor as f,
1288
- baseIteratee as g,
1289
- baseFindIndex as h,
1286
+ arrayMap as e,
1287
+ baseRest as f,
1288
+ baseFlatten as g,
1289
+ isArrayLikeObject as h,
1290
1290
  isUndefined as i,
1291
- baseEach as j,
1292
- arrayMap as k,
1291
+ baseFor as j,
1292
+ baseFindIndex as k,
1293
1293
  castFunction as l,
1294
1294
  baseForOwn as m,
1295
1295
  hasPath as n,
@@ -1,4 +1,4 @@
1
- import { E as EditorSelection, f as foldCode, M as MapMode, m as matchBrackets, i as indentMore, b as indentLess, d as cursorLineBoundaryBackward, e as cursorLineBoundaryForward, g as cursorCharBackward, S as SearchQuery, s as setSearchQuery, h as EditorView, k as indentUnit, l as ensureSyntaxTree, n as showPanel, V as ViewPlugin, D as Decoration, R as RangeSetBuilder, P as Prec, o as StateField, p as RegExpCursor, q as StateEffect, r as getDrawSelectionConfig$1, u as Direction, v as StringStream, w as indentSelection, x as insertNewlineAndIndent, y as cursorCharLeft, z as undo, A as redo, B as runScopeHandlers } from "./index-CNgsMipO.js";
1
+ import { E as EditorSelection, f as foldCode, M as MapMode, m as matchBrackets, i as indentMore, b as indentLess, d as cursorLineBoundaryBackward, e as cursorLineBoundaryForward, g as cursorCharBackward, S as SearchQuery, s as setSearchQuery, h as EditorView, k as indentUnit, l as ensureSyntaxTree, n as showPanel, V as ViewPlugin, D as Decoration, R as RangeSetBuilder, P as Prec, o as StateField, p as RegExpCursor, q as StateEffect, r as getDrawSelectionConfig$1, u as Direction, v as StringStream, w as indentSelection, x as insertNewlineAndIndent, y as cursorCharLeft, z as undo, A as redo, B as runScopeHandlers } from "./index-BahRAP01.js";
2
2
  function initVim(CM) {
3
3
  var Pos2 = CM.Pos;
4
4
  function updateSelectionForSurrogateCharacters(cm, curStart, curEnd) {