mermaid 10.2.2 → 10.2.3

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 (103) hide show
  1. package/dist/{arc-2c65c00d.js → arc-7150e654.js} +29 -29
  2. package/dist/{arc-56235257.js → arc-7eb198ee.js} +1 -1
  3. package/dist/{c4Diagram-30400ad0.js → c4Diagram-380bf510.js} +2 -2
  4. package/dist/{c4Diagram-4015ed94.js → c4Diagram-9cddb37f.js} +1 -1
  5. package/dist/{c4Diagram-c5f6cac5.js → c4Diagram-cfee614a.js} +2 -2
  6. package/dist/{classDiagram-a3547413.js → classDiagram-5d1b8e6f.js} +5 -5
  7. package/dist/{classDiagram-4adda95e.js → classDiagram-a96cd833.js} +5 -5
  8. package/dist/{classDiagram-f9088573.js → classDiagram-bc733c3b.js} +3 -3
  9. package/dist/{classDiagram-v2-0a70a412.js → classDiagram-v2-67cfdf13.js} +8 -8
  10. package/dist/{classDiagram-v2-56d00918.js → classDiagram-v2-8931bdaf.js} +6 -6
  11. package/dist/{classDiagram-v2-60cd73ae.js → classDiagram-v2-c07ab2ac.js} +8 -8
  12. package/dist/{createText-31812fd1.js → createText-3df630b5.js} +39 -18
  13. package/dist/{createText-2f2a343a.js → createText-d34e51c6.js} +39 -18
  14. package/dist/{createText-34ecf23e.js → createText-f4a1d776.js} +759 -741
  15. package/dist/{edges-06fe0e9b.js → edges-49ac43a2.js} +3 -3
  16. package/dist/{edges-8c2fb38e.js → edges-b5d62f50.js} +4 -4
  17. package/dist/{edges-84ec6f60.js → edges-e08b4480.js} +4 -4
  18. package/dist/{erDiagram-2034ab6f.js → erDiagram-67d49ee6.js} +3 -3
  19. package/dist/{erDiagram-79324bed.js → erDiagram-bd715e3e.js} +3 -3
  20. package/dist/{erDiagram-3f713c6a.js → erDiagram-f6946109.js} +1 -1
  21. package/dist/{flowDb-197cd6d1.js → flowDb-6a57c1b4.js} +1 -1
  22. package/dist/{flowDb-4e7c4aec.js → flowDb-b96f714d.js} +1 -1
  23. package/dist/{flowDb-7f7635cc.js → flowDb-e0e3fd7a.js} +1 -1
  24. package/dist/{flowDiagram-d3a638d5.js → flowDiagram-8fe09f21.js} +10 -10
  25. package/dist/{flowDiagram-a2b06433.js → flowDiagram-93327f21.js} +7 -7
  26. package/dist/{flowDiagram-7f2bb914.js → flowDiagram-98e6d0e8.js} +10 -10
  27. package/dist/{flowDiagram-v2-c75a17c2.js → flowDiagram-v2-3b8e6891.js} +10 -10
  28. package/dist/{flowDiagram-v2-9f8fab07.js → flowDiagram-v2-476db779.js} +7 -7
  29. package/dist/{flowDiagram-v2-d84f41d0.js → flowDiagram-v2-c3745723.js} +10 -10
  30. package/dist/{flowchart-elk-definition-73ae1d0b.js → flowchart-elk-definition-37f84cb6.js} +7 -7
  31. package/dist/{flowchart-elk-definition-5cf0e905.js → flowchart-elk-definition-5082a990.js} +6 -6
  32. package/dist/{flowchart-elk-definition-b299cff1.js → flowchart-elk-definition-9b5375b9.js} +223 -223
  33. package/dist/{ganttDiagram-1781195b.js → ganttDiagram-06967d3a.js} +2 -2
  34. package/dist/{ganttDiagram-4e00717f.js → ganttDiagram-7ce12d6b.js} +1 -1
  35. package/dist/{ganttDiagram-eddf2b5d.js → ganttDiagram-8a43e655.js} +2 -2
  36. package/dist/{gitGraphDiagram-ac8b1a85.js → gitGraphDiagram-1e960c50.js} +1 -1
  37. package/dist/{gitGraphDiagram-71d608d2.js → gitGraphDiagram-2e5972b2.js} +1 -1
  38. package/dist/{gitGraphDiagram-bd04333d.js → gitGraphDiagram-49074372.js} +1 -1
  39. package/dist/{index-ce156fd5.js → index-714fe675.js} +4 -4
  40. package/dist/{index-7484f147.js → index-a92ac404.js} +3 -3
  41. package/dist/{index-bf86b901.js → index-e1d945fd.js} +4 -4
  42. package/dist/{infoDiagram-bc0d5d92.js → infoDiagram-264bed3e.js} +1 -1
  43. package/dist/{infoDiagram-d8edadcf.js → infoDiagram-a3502c4f.js} +1 -1
  44. package/dist/{infoDiagram-e2ad1b58.js → infoDiagram-bb968efd.js} +1 -1
  45. package/dist/{journeyDiagram-eeb24d29.js → journeyDiagram-255a0ba0.js} +3 -3
  46. package/dist/{journeyDiagram-b5476ffb.js → journeyDiagram-31be0096.js} +1 -1
  47. package/dist/{journeyDiagram-1eb6fba0.js → journeyDiagram-b4ecc044.js} +3 -3
  48. package/dist/{layout-1171b506.js → layout-3ecfba7d.js} +1 -1
  49. package/dist/{layout-23ab7ebc.js → layout-db328a38.js} +1 -1
  50. package/dist/{line-47adbd5d.js → line-130fa1e5.js} +1 -1
  51. package/dist/{line-850ff9a1.js → line-9ed8ba8b.js} +1 -1
  52. package/dist/{linear-8f527e14.js → linear-6a545413.js} +1 -1
  53. package/dist/{linear-cedd28c4.js → linear-cfd7abf9.js} +1 -1
  54. package/dist/{mermaid-c66525a4.js → mermaid-34beccd0.js} +74 -72
  55. package/dist/{mermaid-08b2ff5f.js → mermaid-8ea29a40.js} +371 -370
  56. package/dist/{mermaid-ddfd1cde.js → mermaid-b0ad2de1.js} +23 -21
  57. package/dist/mermaid.core.mjs +1 -1
  58. package/dist/mermaid.esm.min.mjs +1 -1
  59. package/dist/mermaid.esm.mjs +2 -2
  60. package/dist/mermaid.js +47 -24
  61. package/dist/mermaid.min.js +122 -122
  62. package/dist/{mindmap-definition-7c7f5519.js → mindmap-definition-4fc2557c.js} +2 -2
  63. package/dist/{mindmap-definition-b35271d9.js → mindmap-definition-c274dca3.js} +2 -2
  64. package/dist/{mindmap-definition-825812a2.js → mindmap-definition-d99fa72b.js} +2 -2
  65. package/dist/{pieDiagram-c9e1e65d.js → pieDiagram-157505fe.js} +1 -1
  66. package/dist/{pieDiagram-9f52f3c8.js → pieDiagram-b14d6516.js} +2 -2
  67. package/dist/{pieDiagram-427d710c.js → pieDiagram-ca09f680.js} +2 -2
  68. package/dist/{quadrantDiagram-dbf8fc84.js → quadrantDiagram-4a0aa1c7.js} +4 -4
  69. package/dist/{quadrantDiagram-0bfe3602.js → quadrantDiagram-5b13e66e.js} +61 -61
  70. package/dist/{quadrantDiagram-1ee9b076.js → quadrantDiagram-fd70f2d0.js} +3 -3
  71. package/dist/{requirementDiagram-a1feb0ba.js → requirementDiagram-19c99588.js} +1 -1
  72. package/dist/{requirementDiagram-480c4b33.js → requirementDiagram-20d822e5.js} +3 -3
  73. package/dist/{requirementDiagram-f7bd47cb.js → requirementDiagram-3071de27.js} +3 -3
  74. package/dist/{selectAll-776a0c51.js → selectAll-92b901d1.js} +1 -1
  75. package/dist/{selectAll-378e90f0.js → selectAll-c295459b.js} +1 -1
  76. package/dist/{sequenceDiagram-5e6de89c.js → sequenceDiagram-1d99af4c.js} +216 -214
  77. package/dist/{sequenceDiagram-d370aecf.js → sequenceDiagram-317224a5.js} +6 -5
  78. package/dist/{sequenceDiagram-4a53e255.js → sequenceDiagram-5dfd0049.js} +4 -3
  79. package/dist/{stateDiagram-a0ac330a.js → stateDiagram-133e3642.js} +2 -2
  80. package/dist/{stateDiagram-eed21683.js → stateDiagram-4e50f1a0.js} +4 -4
  81. package/dist/{stateDiagram-f56100fa.js → stateDiagram-a9a9b756.js} +4 -4
  82. package/dist/{stateDiagram-v2-cfe94687.js → stateDiagram-v2-6371a76b.js} +6 -6
  83. package/dist/{stateDiagram-v2-2a8ef368.js → stateDiagram-v2-b34fad08.js} +8 -8
  84. package/dist/{stateDiagram-v2-7684bed5.js → stateDiagram-v2-ef99b8a4.js} +8 -8
  85. package/dist/{styles-2f9839dc.js → styles-29b137c7.js} +1 -1
  86. package/dist/{styles-1557db13.js → styles-313a4a41.js} +5 -5
  87. package/dist/{styles-aea5c17b.js → styles-5f89df53.js} +3 -3
  88. package/dist/{styles-b9045be1.js → styles-74f60bde.js} +1 -1
  89. package/dist/{styles-ad91cc54.js → styles-82a206d5.js} +5 -5
  90. package/dist/{styles-a40c3df8.js → styles-aae272b4.js} +1 -1
  91. package/dist/{styles-0a525a9a.js → styles-aefe6593.js} +1 -1
  92. package/dist/{styles-ed94903c.js → styles-bed8d31d.js} +1 -1
  93. package/dist/{styles-d9667b1f.js → styles-fa41df25.js} +1 -1
  94. package/dist/{svgDraw-14f13a51.js → svgDraw-0fcc813d.js} +1 -1
  95. package/dist/{svgDraw-d5bb5edb.js → svgDraw-591e3474.js} +2 -2
  96. package/dist/{svgDraw-39291d2f.js → svgDraw-b2141e90.js} +2 -2
  97. package/dist/{svgDrawCommon-b06ba884.js → svgDrawCommon-0bff53a1.js} +1 -1
  98. package/dist/{svgDrawCommon-87f2bfe2.js → svgDrawCommon-daf0bec5.js} +1 -1
  99. package/dist/{timeline-definition-4cdb07ca.js → timeline-definition-5ed366f4.js} +1 -1
  100. package/dist/{timeline-definition-927a93b1.js → timeline-definition-ee1cab63.js} +2 -2
  101. package/dist/{timeline-definition-afaf264f.js → timeline-definition-fff849c3.js} +2 -2
  102. package/dist/utils.d.ts +1 -0
  103. package/package.json +1 -1
@@ -1,19 +1,19 @@
1
- import { g as me, A as we, z as _e, c as lt, s as te, b as ke, a as Le, m as Pe, B as Ie, l as K, d as It, e as ee, f as _, S as ne, $ as Ne, h as ve, j as Pt, k as Ae, x as C } from "./mermaid-08b2ff5f.js";
2
- import { d as Se, a as Me, b as Re, c as De, e as zt, g as Nt } from "./svgDrawCommon-87f2bfe2.js";
3
- import { s as Ve } from "./selectAll-776a0c51.js";
1
+ import { g as me, A as we, z as _e, c as lt, s as te, b as ke, a as Pe, m as Le, B as Ie, l as K, d as It, e as ee, f as _, S as ne, $ as Ne, a0 as ve, h as Ae, j as Lt, k as Se, x as C } from "./mermaid-8ea29a40.js";
2
+ import { d as Me, a as Re, b as De, c as Ve, e as zt, g as Nt } from "./svgDrawCommon-daf0bec5.js";
3
+ import { s as Ce } from "./selectAll-92b901d1.js";
4
4
  var Bt = function() {
5
- var t = function(ot, b, k, P) {
6
- for (k = k || {}, P = ot.length; P--; k[ot[P]] = b)
5
+ var t = function(ot, b, k, L) {
6
+ for (k = k || {}, L = ot.length; L--; k[ot[L]] = b)
7
7
  ;
8
8
  return k;
9
- }, e = [1, 2], r = [1, 3], n = [1, 5], i = [1, 7], s = [2, 5], c = [1, 15], l = [1, 17], u = [1, 19], d = [1, 21], T = [1, 22], y = [1, 23], p = [1, 29], x = [1, 30], w = [1, 31], I = [1, 32], A = [1, 33], M = [1, 34], N = [1, 35], Y = [1, 36], V = [1, 37], H = [1, 38], G = [1, 39], W = [1, 40], O = [1, 41], X = [1, 43], F = [1, 44], q = [1, 46], U = [1, 47], J = [1, 48], Q = [1, 49], m = [1, 50], E = [1, 51], j = [1, 54], L = [1, 4, 5, 19, 21, 23, 26, 28, 34, 35, 36, 38, 40, 41, 42, 43, 44, 46, 48, 49, 51, 52, 53, 54, 55, 57, 58, 63, 64, 65, 66, 74, 84], v = [4, 5, 21, 55, 57], wt = [4, 5, 19, 21, 23, 26, 28, 34, 35, 36, 38, 40, 41, 42, 43, 44, 46, 48, 49, 51, 55, 57, 58, 63, 64, 65, 66, 74, 84], Gt = [4, 5, 19, 21, 23, 26, 28, 34, 35, 36, 38, 40, 41, 42, 43, 44, 46, 48, 49, 51, 54, 55, 57, 58, 63, 64, 65, 66, 74, 84], St = [4, 5, 19, 21, 23, 26, 28, 34, 35, 36, 38, 40, 41, 42, 43, 44, 46, 48, 49, 51, 53, 55, 57, 58, 63, 64, 65, 66, 74, 84], Xt = [4, 5, 19, 21, 23, 26, 28, 34, 35, 36, 38, 40, 41, 42, 43, 44, 46, 48, 49, 51, 52, 55, 57, 58, 63, 64, 65, 66, 74, 84], rt = [72, 73, 74], nt = [1, 128], Jt = [1, 4, 5, 7, 19, 21, 23, 26, 28, 34, 35, 36, 38, 40, 41, 42, 43, 44, 46, 48, 49, 51, 52, 53, 54, 55, 57, 58, 63, 64, 65, 66, 74, 84], Mt = {
9
+ }, e = [1, 2], r = [1, 3], n = [1, 5], i = [1, 7], s = [2, 5], c = [1, 15], l = [1, 17], u = [1, 19], d = [1, 21], T = [1, 22], y = [1, 23], p = [1, 29], x = [1, 30], m = [1, 31], I = [1, 32], A = [1, 33], M = [1, 34], N = [1, 35], Y = [1, 36], V = [1, 37], H = [1, 38], G = [1, 39], W = [1, 40], O = [1, 41], X = [1, 43], F = [1, 44], q = [1, 46], U = [1, 47], J = [1, 48], Z = [1, 49], w = [1, 50], E = [1, 51], j = [1, 54], P = [1, 4, 5, 19, 21, 23, 26, 28, 34, 35, 36, 38, 40, 41, 42, 43, 44, 46, 48, 49, 51, 52, 53, 54, 55, 57, 58, 63, 64, 65, 66, 74, 84], v = [4, 5, 21, 55, 57], wt = [4, 5, 19, 21, 23, 26, 28, 34, 35, 36, 38, 40, 41, 42, 43, 44, 46, 48, 49, 51, 55, 57, 58, 63, 64, 65, 66, 74, 84], Gt = [4, 5, 19, 21, 23, 26, 28, 34, 35, 36, 38, 40, 41, 42, 43, 44, 46, 48, 49, 51, 54, 55, 57, 58, 63, 64, 65, 66, 74, 84], St = [4, 5, 19, 21, 23, 26, 28, 34, 35, 36, 38, 40, 41, 42, 43, 44, 46, 48, 49, 51, 53, 55, 57, 58, 63, 64, 65, 66, 74, 84], Xt = [4, 5, 19, 21, 23, 26, 28, 34, 35, 36, 38, 40, 41, 42, 43, 44, 46, 48, 49, 51, 52, 55, 57, 58, 63, 64, 65, 66, 74, 84], rt = [72, 73, 74], nt = [1, 128], Jt = [1, 4, 5, 7, 19, 21, 23, 26, 28, 34, 35, 36, 38, 40, 41, 42, 43, 44, 46, 48, 49, 51, 52, 53, 54, 55, 57, 58, 63, 64, 65, 66, 74, 84], Mt = {
10
10
  trace: function() {
11
11
  },
12
12
  yy: {},
13
13
  symbols_: { error: 2, start: 3, SPACE: 4, NEWLINE: 5, directive: 6, SD: 7, document: 8, line: 9, statement: 10, box_section: 11, box_line: 12, participant_statement: 13, openDirective: 14, typeDirective: 15, closeDirective: 16, ":": 17, argDirective: 18, box: 19, restOfLine: 20, end: 21, signal: 22, autonumber: 23, NUM: 24, off: 25, activate: 26, actor: 27, deactivate: 28, note_statement: 29, links_statement: 30, link_statement: 31, properties_statement: 32, details_statement: 33, title: 34, legacy_title: 35, acc_title: 36, acc_title_value: 37, acc_descr: 38, acc_descr_value: 39, acc_descr_multiline_value: 40, loop: 41, rect: 42, opt: 43, alt: 44, else_sections: 45, par: 46, par_sections: 47, par_over: 48, critical: 49, option_sections: 50, break: 51, option: 52, and: 53, else: 54, participant: 55, AS: 56, participant_actor: 57, note: 58, placement: 59, text2: 60, over: 61, actor_pair: 62, links: 63, link: 64, properties: 65, details: 66, spaceList: 67, ",": 68, left_of: 69, right_of: 70, signaltype: 71, "+": 72, "-": 73, ACTOR: 74, SOLID_OPEN_ARROW: 75, DOTTED_OPEN_ARROW: 76, SOLID_ARROW: 77, DOTTED_ARROW: 78, SOLID_CROSS: 79, DOTTED_CROSS: 80, SOLID_POINT: 81, DOTTED_POINT: 82, TXT: 83, open_directive: 84, type_directive: 85, arg_directive: 86, close_directive: 87, $accept: 0, $end: 1 },
14
14
  terminals_: { 2: "error", 4: "SPACE", 5: "NEWLINE", 7: "SD", 17: ":", 19: "box", 20: "restOfLine", 21: "end", 23: "autonumber", 24: "NUM", 25: "off", 26: "activate", 28: "deactivate", 34: "title", 35: "legacy_title", 36: "acc_title", 37: "acc_title_value", 38: "acc_descr", 39: "acc_descr_value", 40: "acc_descr_multiline_value", 41: "loop", 42: "rect", 43: "opt", 44: "alt", 46: "par", 48: "par_over", 49: "critical", 51: "break", 52: "option", 53: "and", 54: "else", 55: "participant", 56: "AS", 57: "participant_actor", 58: "note", 61: "over", 63: "links", 64: "link", 65: "properties", 66: "details", 68: ",", 69: "left_of", 70: "right_of", 72: "+", 73: "-", 74: "ACTOR", 75: "SOLID_OPEN_ARROW", 76: "DOTTED_OPEN_ARROW", 77: "SOLID_ARROW", 78: "DOTTED_ARROW", 79: "SOLID_CROSS", 80: "DOTTED_CROSS", 81: "SOLID_POINT", 82: "DOTTED_POINT", 83: "TXT", 84: "open_directive", 85: "type_directive", 86: "arg_directive", 87: "close_directive" },
15
15
  productions_: [0, [3, 2], [3, 2], [3, 2], [3, 2], [8, 0], [8, 2], [9, 2], [9, 1], [9, 1], [11, 0], [11, 2], [12, 2], [12, 1], [12, 1], [6, 4], [6, 6], [10, 1], [10, 4], [10, 2], [10, 4], [10, 3], [10, 3], [10, 2], [10, 3], [10, 3], [10, 2], [10, 2], [10, 2], [10, 2], [10, 2], [10, 1], [10, 1], [10, 2], [10, 2], [10, 1], [10, 4], [10, 4], [10, 4], [10, 4], [10, 4], [10, 4], [10, 4], [10, 4], [10, 1], [50, 1], [50, 4], [47, 1], [47, 4], [45, 1], [45, 4], [13, 5], [13, 3], [13, 5], [13, 3], [29, 4], [29, 4], [30, 3], [31, 3], [32, 3], [33, 3], [67, 2], [67, 1], [62, 3], [62, 1], [59, 1], [59, 1], [22, 5], [22, 5], [22, 4], [27, 1], [71, 1], [71, 1], [71, 1], [71, 1], [71, 1], [71, 1], [71, 1], [71, 1], [60, 1], [14, 1], [15, 1], [18, 1], [16, 1]],
16
- performAction: function(b, k, P, g, S, o, yt) {
16
+ performAction: function(b, k, L, g, S, o, yt) {
17
17
  var h = o.length - 1;
18
18
  switch (S) {
19
19
  case 4:
@@ -208,18 +208,18 @@ var Bt = function() {
208
208
  break;
209
209
  }
210
210
  },
211
- table: [{ 3: 1, 4: e, 5: r, 6: 4, 7: n, 14: 6, 84: i }, { 1: [3] }, { 3: 8, 4: e, 5: r, 6: 4, 7: n, 14: 6, 84: i }, { 3: 9, 4: e, 5: r, 6: 4, 7: n, 14: 6, 84: i }, { 3: 10, 4: e, 5: r, 6: 4, 7: n, 14: 6, 84: i }, t([1, 4, 5, 19, 23, 26, 28, 34, 35, 36, 38, 40, 41, 42, 43, 44, 46, 48, 49, 51, 55, 57, 58, 63, 64, 65, 66, 74, 84], s, { 8: 11 }), { 15: 12, 85: [1, 13] }, { 85: [2, 80] }, { 1: [2, 1] }, { 1: [2, 2] }, { 1: [2, 3] }, { 1: [2, 4], 4: c, 5: l, 6: 42, 9: 14, 10: 16, 13: 18, 14: 6, 19: u, 22: 20, 23: d, 26: T, 27: 45, 28: y, 29: 24, 30: 25, 31: 26, 32: 27, 33: 28, 34: p, 35: x, 36: w, 38: I, 40: A, 41: M, 42: N, 43: Y, 44: V, 46: H, 48: G, 49: W, 51: O, 55: X, 57: F, 58: q, 63: U, 64: J, 65: Q, 66: m, 74: E, 84: i }, { 16: 52, 17: [1, 53], 87: j }, t([17, 87], [2, 81]), t(L, [2, 6]), { 6: 42, 10: 55, 13: 18, 14: 6, 19: u, 22: 20, 23: d, 26: T, 27: 45, 28: y, 29: 24, 30: 25, 31: 26, 32: 27, 33: 28, 34: p, 35: x, 36: w, 38: I, 40: A, 41: M, 42: N, 43: Y, 44: V, 46: H, 48: G, 49: W, 51: O, 55: X, 57: F, 58: q, 63: U, 64: J, 65: Q, 66: m, 74: E, 84: i }, t(L, [2, 8]), t(L, [2, 9]), t(L, [2, 17]), { 20: [1, 56] }, { 5: [1, 57] }, { 5: [1, 60], 24: [1, 58], 25: [1, 59] }, { 27: 61, 74: E }, { 27: 62, 74: E }, { 5: [1, 63] }, { 5: [1, 64] }, { 5: [1, 65] }, { 5: [1, 66] }, { 5: [1, 67] }, t(L, [2, 31]), t(L, [2, 32]), { 37: [1, 68] }, { 39: [1, 69] }, t(L, [2, 35]), { 20: [1, 70] }, { 20: [1, 71] }, { 20: [1, 72] }, { 20: [1, 73] }, { 20: [1, 74] }, { 20: [1, 75] }, { 20: [1, 76] }, { 20: [1, 77] }, t(L, [2, 44]), { 27: 78, 74: E }, { 27: 79, 74: E }, { 71: 80, 75: [1, 81], 76: [1, 82], 77: [1, 83], 78: [1, 84], 79: [1, 85], 80: [1, 86], 81: [1, 87], 82: [1, 88] }, { 59: 89, 61: [1, 90], 69: [1, 91], 70: [1, 92] }, { 27: 93, 74: E }, { 27: 94, 74: E }, { 27: 95, 74: E }, { 27: 96, 74: E }, t([5, 56, 68, 75, 76, 77, 78, 79, 80, 81, 82, 83], [2, 70]), { 5: [1, 97] }, { 18: 98, 86: [1, 99] }, { 5: [2, 83] }, t(L, [2, 7]), t(v, [2, 10], { 11: 100 }), t(L, [2, 19]), { 5: [1, 102], 24: [1, 101] }, { 5: [1, 103] }, t(L, [2, 23]), { 5: [1, 104] }, { 5: [1, 105] }, t(L, [2, 26]), t(L, [2, 27]), t(L, [2, 28]), t(L, [2, 29]), t(L, [2, 30]), t(L, [2, 33]), t(L, [2, 34]), t(wt, s, { 8: 106 }), t(wt, s, { 8: 107 }), t(wt, s, { 8: 108 }), t(Gt, s, { 45: 109, 8: 110 }), t(St, s, { 47: 111, 8: 112 }), t(St, s, { 8: 112, 47: 113 }), t(Xt, s, { 50: 114, 8: 115 }), t(wt, s, { 8: 116 }), { 5: [1, 118], 56: [1, 117] }, { 5: [1, 120], 56: [1, 119] }, { 27: 123, 72: [1, 121], 73: [1, 122], 74: E }, t(rt, [2, 71]), t(rt, [2, 72]), t(rt, [2, 73]), t(rt, [2, 74]), t(rt, [2, 75]), t(rt, [2, 76]), t(rt, [2, 77]), t(rt, [2, 78]), { 27: 124, 74: E }, { 27: 126, 62: 125, 74: E }, { 74: [2, 65] }, { 74: [2, 66] }, { 60: 127, 83: nt }, { 60: 129, 83: nt }, { 60: 130, 83: nt }, { 60: 131, 83: nt }, t(Jt, [2, 15]), { 16: 132, 87: j }, { 87: [2, 82] }, { 4: [1, 135], 5: [1, 137], 12: 134, 13: 136, 21: [1, 133], 55: X, 57: F }, { 5: [1, 138] }, t(L, [2, 21]), t(L, [2, 22]), t(L, [2, 24]), t(L, [2, 25]), { 4: c, 5: l, 6: 42, 9: 14, 10: 16, 13: 18, 14: 6, 19: u, 21: [1, 139], 22: 20, 23: d, 26: T, 27: 45, 28: y, 29: 24, 30: 25, 31: 26, 32: 27, 33: 28, 34: p, 35: x, 36: w, 38: I, 40: A, 41: M, 42: N, 43: Y, 44: V, 46: H, 48: G, 49: W, 51: O, 55: X, 57: F, 58: q, 63: U, 64: J, 65: Q, 66: m, 74: E, 84: i }, { 4: c, 5: l, 6: 42, 9: 14, 10: 16, 13: 18, 14: 6, 19: u, 21: [1, 140], 22: 20, 23: d, 26: T, 27: 45, 28: y, 29: 24, 30: 25, 31: 26, 32: 27, 33: 28, 34: p, 35: x, 36: w, 38: I, 40: A, 41: M, 42: N, 43: Y, 44: V, 46: H, 48: G, 49: W, 51: O, 55: X, 57: F, 58: q, 63: U, 64: J, 65: Q, 66: m, 74: E, 84: i }, { 4: c, 5: l, 6: 42, 9: 14, 10: 16, 13: 18, 14: 6, 19: u, 21: [1, 141], 22: 20, 23: d, 26: T, 27: 45, 28: y, 29: 24, 30: 25, 31: 26, 32: 27, 33: 28, 34: p, 35: x, 36: w, 38: I, 40: A, 41: M, 42: N, 43: Y, 44: V, 46: H, 48: G, 49: W, 51: O, 55: X, 57: F, 58: q, 63: U, 64: J, 65: Q, 66: m, 74: E, 84: i }, { 21: [1, 142] }, { 4: c, 5: l, 6: 42, 9: 14, 10: 16, 13: 18, 14: 6, 19: u, 21: [2, 49], 22: 20, 23: d, 26: T, 27: 45, 28: y, 29: 24, 30: 25, 31: 26, 32: 27, 33: 28, 34: p, 35: x, 36: w, 38: I, 40: A, 41: M, 42: N, 43: Y, 44: V, 46: H, 48: G, 49: W, 51: O, 54: [1, 143], 55: X, 57: F, 58: q, 63: U, 64: J, 65: Q, 66: m, 74: E, 84: i }, { 21: [1, 144] }, { 4: c, 5: l, 6: 42, 9: 14, 10: 16, 13: 18, 14: 6, 19: u, 21: [2, 47], 22: 20, 23: d, 26: T, 27: 45, 28: y, 29: 24, 30: 25, 31: 26, 32: 27, 33: 28, 34: p, 35: x, 36: w, 38: I, 40: A, 41: M, 42: N, 43: Y, 44: V, 46: H, 48: G, 49: W, 51: O, 53: [1, 145], 55: X, 57: F, 58: q, 63: U, 64: J, 65: Q, 66: m, 74: E, 84: i }, { 21: [1, 146] }, { 21: [1, 147] }, { 4: c, 5: l, 6: 42, 9: 14, 10: 16, 13: 18, 14: 6, 19: u, 21: [2, 45], 22: 20, 23: d, 26: T, 27: 45, 28: y, 29: 24, 30: 25, 31: 26, 32: 27, 33: 28, 34: p, 35: x, 36: w, 38: I, 40: A, 41: M, 42: N, 43: Y, 44: V, 46: H, 48: G, 49: W, 51: O, 52: [1, 148], 55: X, 57: F, 58: q, 63: U, 64: J, 65: Q, 66: m, 74: E, 84: i }, { 4: c, 5: l, 6: 42, 9: 14, 10: 16, 13: 18, 14: 6, 19: u, 21: [1, 149], 22: 20, 23: d, 26: T, 27: 45, 28: y, 29: 24, 30: 25, 31: 26, 32: 27, 33: 28, 34: p, 35: x, 36: w, 38: I, 40: A, 41: M, 42: N, 43: Y, 44: V, 46: H, 48: G, 49: W, 51: O, 55: X, 57: F, 58: q, 63: U, 64: J, 65: Q, 66: m, 74: E, 84: i }, { 20: [1, 150] }, t(L, [2, 52]), { 20: [1, 151] }, t(L, [2, 54]), { 27: 152, 74: E }, { 27: 153, 74: E }, { 60: 154, 83: nt }, { 60: 155, 83: nt }, { 60: 156, 83: nt }, { 68: [1, 157], 83: [2, 64] }, { 5: [2, 57] }, { 5: [2, 79] }, { 5: [2, 58] }, { 5: [2, 59] }, { 5: [2, 60] }, { 5: [1, 158] }, t(L, [2, 18]), t(v, [2, 11]), { 13: 159, 55: X, 57: F }, t(v, [2, 13]), t(v, [2, 14]), t(L, [2, 20]), t(L, [2, 36]), t(L, [2, 37]), t(L, [2, 38]), t(L, [2, 39]), { 20: [1, 160] }, t(L, [2, 40]), { 20: [1, 161] }, t(L, [2, 41]), t(L, [2, 42]), { 20: [1, 162] }, t(L, [2, 43]), { 5: [1, 163] }, { 5: [1, 164] }, { 60: 165, 83: nt }, { 60: 166, 83: nt }, { 5: [2, 69] }, { 5: [2, 55] }, { 5: [2, 56] }, { 27: 167, 74: E }, t(Jt, [2, 16]), t(v, [2, 12]), t(Gt, s, { 8: 110, 45: 168 }), t(St, s, { 8: 112, 47: 169 }), t(Xt, s, { 8: 115, 50: 170 }), t(L, [2, 51]), t(L, [2, 53]), { 5: [2, 67] }, { 5: [2, 68] }, { 83: [2, 63] }, { 21: [2, 50] }, { 21: [2, 48] }, { 21: [2, 46] }],
211
+ table: [{ 3: 1, 4: e, 5: r, 6: 4, 7: n, 14: 6, 84: i }, { 1: [3] }, { 3: 8, 4: e, 5: r, 6: 4, 7: n, 14: 6, 84: i }, { 3: 9, 4: e, 5: r, 6: 4, 7: n, 14: 6, 84: i }, { 3: 10, 4: e, 5: r, 6: 4, 7: n, 14: 6, 84: i }, t([1, 4, 5, 19, 23, 26, 28, 34, 35, 36, 38, 40, 41, 42, 43, 44, 46, 48, 49, 51, 55, 57, 58, 63, 64, 65, 66, 74, 84], s, { 8: 11 }), { 15: 12, 85: [1, 13] }, { 85: [2, 80] }, { 1: [2, 1] }, { 1: [2, 2] }, { 1: [2, 3] }, { 1: [2, 4], 4: c, 5: l, 6: 42, 9: 14, 10: 16, 13: 18, 14: 6, 19: u, 22: 20, 23: d, 26: T, 27: 45, 28: y, 29: 24, 30: 25, 31: 26, 32: 27, 33: 28, 34: p, 35: x, 36: m, 38: I, 40: A, 41: M, 42: N, 43: Y, 44: V, 46: H, 48: G, 49: W, 51: O, 55: X, 57: F, 58: q, 63: U, 64: J, 65: Z, 66: w, 74: E, 84: i }, { 16: 52, 17: [1, 53], 87: j }, t([17, 87], [2, 81]), t(P, [2, 6]), { 6: 42, 10: 55, 13: 18, 14: 6, 19: u, 22: 20, 23: d, 26: T, 27: 45, 28: y, 29: 24, 30: 25, 31: 26, 32: 27, 33: 28, 34: p, 35: x, 36: m, 38: I, 40: A, 41: M, 42: N, 43: Y, 44: V, 46: H, 48: G, 49: W, 51: O, 55: X, 57: F, 58: q, 63: U, 64: J, 65: Z, 66: w, 74: E, 84: i }, t(P, [2, 8]), t(P, [2, 9]), t(P, [2, 17]), { 20: [1, 56] }, { 5: [1, 57] }, { 5: [1, 60], 24: [1, 58], 25: [1, 59] }, { 27: 61, 74: E }, { 27: 62, 74: E }, { 5: [1, 63] }, { 5: [1, 64] }, { 5: [1, 65] }, { 5: [1, 66] }, { 5: [1, 67] }, t(P, [2, 31]), t(P, [2, 32]), { 37: [1, 68] }, { 39: [1, 69] }, t(P, [2, 35]), { 20: [1, 70] }, { 20: [1, 71] }, { 20: [1, 72] }, { 20: [1, 73] }, { 20: [1, 74] }, { 20: [1, 75] }, { 20: [1, 76] }, { 20: [1, 77] }, t(P, [2, 44]), { 27: 78, 74: E }, { 27: 79, 74: E }, { 71: 80, 75: [1, 81], 76: [1, 82], 77: [1, 83], 78: [1, 84], 79: [1, 85], 80: [1, 86], 81: [1, 87], 82: [1, 88] }, { 59: 89, 61: [1, 90], 69: [1, 91], 70: [1, 92] }, { 27: 93, 74: E }, { 27: 94, 74: E }, { 27: 95, 74: E }, { 27: 96, 74: E }, t([5, 56, 68, 75, 76, 77, 78, 79, 80, 81, 82, 83], [2, 70]), { 5: [1, 97] }, { 18: 98, 86: [1, 99] }, { 5: [2, 83] }, t(P, [2, 7]), t(v, [2, 10], { 11: 100 }), t(P, [2, 19]), { 5: [1, 102], 24: [1, 101] }, { 5: [1, 103] }, t(P, [2, 23]), { 5: [1, 104] }, { 5: [1, 105] }, t(P, [2, 26]), t(P, [2, 27]), t(P, [2, 28]), t(P, [2, 29]), t(P, [2, 30]), t(P, [2, 33]), t(P, [2, 34]), t(wt, s, { 8: 106 }), t(wt, s, { 8: 107 }), t(wt, s, { 8: 108 }), t(Gt, s, { 45: 109, 8: 110 }), t(St, s, { 47: 111, 8: 112 }), t(St, s, { 8: 112, 47: 113 }), t(Xt, s, { 50: 114, 8: 115 }), t(wt, s, { 8: 116 }), { 5: [1, 118], 56: [1, 117] }, { 5: [1, 120], 56: [1, 119] }, { 27: 123, 72: [1, 121], 73: [1, 122], 74: E }, t(rt, [2, 71]), t(rt, [2, 72]), t(rt, [2, 73]), t(rt, [2, 74]), t(rt, [2, 75]), t(rt, [2, 76]), t(rt, [2, 77]), t(rt, [2, 78]), { 27: 124, 74: E }, { 27: 126, 62: 125, 74: E }, { 74: [2, 65] }, { 74: [2, 66] }, { 60: 127, 83: nt }, { 60: 129, 83: nt }, { 60: 130, 83: nt }, { 60: 131, 83: nt }, t(Jt, [2, 15]), { 16: 132, 87: j }, { 87: [2, 82] }, { 4: [1, 135], 5: [1, 137], 12: 134, 13: 136, 21: [1, 133], 55: X, 57: F }, { 5: [1, 138] }, t(P, [2, 21]), t(P, [2, 22]), t(P, [2, 24]), t(P, [2, 25]), { 4: c, 5: l, 6: 42, 9: 14, 10: 16, 13: 18, 14: 6, 19: u, 21: [1, 139], 22: 20, 23: d, 26: T, 27: 45, 28: y, 29: 24, 30: 25, 31: 26, 32: 27, 33: 28, 34: p, 35: x, 36: m, 38: I, 40: A, 41: M, 42: N, 43: Y, 44: V, 46: H, 48: G, 49: W, 51: O, 55: X, 57: F, 58: q, 63: U, 64: J, 65: Z, 66: w, 74: E, 84: i }, { 4: c, 5: l, 6: 42, 9: 14, 10: 16, 13: 18, 14: 6, 19: u, 21: [1, 140], 22: 20, 23: d, 26: T, 27: 45, 28: y, 29: 24, 30: 25, 31: 26, 32: 27, 33: 28, 34: p, 35: x, 36: m, 38: I, 40: A, 41: M, 42: N, 43: Y, 44: V, 46: H, 48: G, 49: W, 51: O, 55: X, 57: F, 58: q, 63: U, 64: J, 65: Z, 66: w, 74: E, 84: i }, { 4: c, 5: l, 6: 42, 9: 14, 10: 16, 13: 18, 14: 6, 19: u, 21: [1, 141], 22: 20, 23: d, 26: T, 27: 45, 28: y, 29: 24, 30: 25, 31: 26, 32: 27, 33: 28, 34: p, 35: x, 36: m, 38: I, 40: A, 41: M, 42: N, 43: Y, 44: V, 46: H, 48: G, 49: W, 51: O, 55: X, 57: F, 58: q, 63: U, 64: J, 65: Z, 66: w, 74: E, 84: i }, { 21: [1, 142] }, { 4: c, 5: l, 6: 42, 9: 14, 10: 16, 13: 18, 14: 6, 19: u, 21: [2, 49], 22: 20, 23: d, 26: T, 27: 45, 28: y, 29: 24, 30: 25, 31: 26, 32: 27, 33: 28, 34: p, 35: x, 36: m, 38: I, 40: A, 41: M, 42: N, 43: Y, 44: V, 46: H, 48: G, 49: W, 51: O, 54: [1, 143], 55: X, 57: F, 58: q, 63: U, 64: J, 65: Z, 66: w, 74: E, 84: i }, { 21: [1, 144] }, { 4: c, 5: l, 6: 42, 9: 14, 10: 16, 13: 18, 14: 6, 19: u, 21: [2, 47], 22: 20, 23: d, 26: T, 27: 45, 28: y, 29: 24, 30: 25, 31: 26, 32: 27, 33: 28, 34: p, 35: x, 36: m, 38: I, 40: A, 41: M, 42: N, 43: Y, 44: V, 46: H, 48: G, 49: W, 51: O, 53: [1, 145], 55: X, 57: F, 58: q, 63: U, 64: J, 65: Z, 66: w, 74: E, 84: i }, { 21: [1, 146] }, { 21: [1, 147] }, { 4: c, 5: l, 6: 42, 9: 14, 10: 16, 13: 18, 14: 6, 19: u, 21: [2, 45], 22: 20, 23: d, 26: T, 27: 45, 28: y, 29: 24, 30: 25, 31: 26, 32: 27, 33: 28, 34: p, 35: x, 36: m, 38: I, 40: A, 41: M, 42: N, 43: Y, 44: V, 46: H, 48: G, 49: W, 51: O, 52: [1, 148], 55: X, 57: F, 58: q, 63: U, 64: J, 65: Z, 66: w, 74: E, 84: i }, { 4: c, 5: l, 6: 42, 9: 14, 10: 16, 13: 18, 14: 6, 19: u, 21: [1, 149], 22: 20, 23: d, 26: T, 27: 45, 28: y, 29: 24, 30: 25, 31: 26, 32: 27, 33: 28, 34: p, 35: x, 36: m, 38: I, 40: A, 41: M, 42: N, 43: Y, 44: V, 46: H, 48: G, 49: W, 51: O, 55: X, 57: F, 58: q, 63: U, 64: J, 65: Z, 66: w, 74: E, 84: i }, { 20: [1, 150] }, t(P, [2, 52]), { 20: [1, 151] }, t(P, [2, 54]), { 27: 152, 74: E }, { 27: 153, 74: E }, { 60: 154, 83: nt }, { 60: 155, 83: nt }, { 60: 156, 83: nt }, { 68: [1, 157], 83: [2, 64] }, { 5: [2, 57] }, { 5: [2, 79] }, { 5: [2, 58] }, { 5: [2, 59] }, { 5: [2, 60] }, { 5: [1, 158] }, t(P, [2, 18]), t(v, [2, 11]), { 13: 159, 55: X, 57: F }, t(v, [2, 13]), t(v, [2, 14]), t(P, [2, 20]), t(P, [2, 36]), t(P, [2, 37]), t(P, [2, 38]), t(P, [2, 39]), { 20: [1, 160] }, t(P, [2, 40]), { 20: [1, 161] }, t(P, [2, 41]), t(P, [2, 42]), { 20: [1, 162] }, t(P, [2, 43]), { 5: [1, 163] }, { 5: [1, 164] }, { 60: 165, 83: nt }, { 60: 166, 83: nt }, { 5: [2, 69] }, { 5: [2, 55] }, { 5: [2, 56] }, { 27: 167, 74: E }, t(Jt, [2, 16]), t(v, [2, 12]), t(Gt, s, { 8: 110, 45: 168 }), t(St, s, { 8: 112, 47: 169 }), t(Xt, s, { 8: 115, 50: 170 }), t(P, [2, 51]), t(P, [2, 53]), { 5: [2, 67] }, { 5: [2, 68] }, { 83: [2, 63] }, { 21: [2, 50] }, { 21: [2, 48] }, { 21: [2, 46] }],
212
212
  defaultActions: { 7: [2, 80], 8: [2, 1], 9: [2, 2], 10: [2, 3], 54: [2, 83], 91: [2, 65], 92: [2, 66], 99: [2, 82], 127: [2, 57], 128: [2, 79], 129: [2, 58], 130: [2, 59], 131: [2, 60], 154: [2, 69], 155: [2, 55], 156: [2, 56], 165: [2, 67], 166: [2, 68], 167: [2, 63], 168: [2, 50], 169: [2, 48], 170: [2, 46] },
213
213
  parseError: function(b, k) {
214
214
  if (k.recoverable)
215
215
  this.trace(b);
216
216
  else {
217
- var P = new Error(b);
218
- throw P.hash = k, P;
217
+ var L = new Error(b);
218
+ throw L.hash = k, L;
219
219
  }
220
220
  },
221
221
  parse: function(b) {
222
- var k = this, P = [0], g = [], S = [null], o = [], yt = this.table, h = "", _t = 0, Qt = 0, Te = 2, Zt = 1, ye = o.slice.call(arguments, 1), B = Object.create(this.lexer), ht = { yy: {} };
222
+ var k = this, L = [0], g = [], S = [null], o = [], yt = this.table, h = "", _t = 0, Zt = 0, Te = 2, Qt = 1, ye = o.slice.call(arguments, 1), B = Object.create(this.lexer), ht = { yy: {} };
223
223
  for (var Dt in this.yy)
224
224
  Object.prototype.hasOwnProperty.call(this.yy, Dt) && (ht.yy[Dt] = this.yy[Dt]);
225
225
  B.setInput(b, ht.yy), ht.yy.lexer = B, ht.yy.parser = this, typeof B.yylloc > "u" && (B.yylloc = {});
@@ -229,32 +229,32 @@ var Bt = function() {
229
229
  typeof ht.yy.parseError == "function" ? this.parseError = ht.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
230
230
  function be() {
231
231
  var st;
232
- return st = g.pop() || B.lex() || Zt, typeof st != "number" && (st instanceof Array && (g = st, st = g.pop()), st = k.symbols_[st] || st), st;
232
+ return st = g.pop() || B.lex() || Qt, typeof st != "number" && (st instanceof Array && (g = st, st = g.pop()), st = k.symbols_[st] || st), st;
233
233
  }
234
- for (var z, dt, Z, Ct, ft = {}, kt, it, jt, Lt; ; ) {
235
- if (dt = P[P.length - 1], this.defaultActions[dt] ? Z = this.defaultActions[dt] : ((z === null || typeof z > "u") && (z = be()), Z = yt[dt] && yt[dt][z]), typeof Z > "u" || !Z.length || !Z[0]) {
234
+ for (var z, dt, Q, Ct, ft = {}, kt, it, jt, Pt; ; ) {
235
+ if (dt = L[L.length - 1], this.defaultActions[dt] ? Q = this.defaultActions[dt] : ((z === null || typeof z > "u") && (z = be()), Q = yt[dt] && yt[dt][z]), typeof Q > "u" || !Q.length || !Q[0]) {
236
236
  var Ot = "";
237
- Lt = [];
237
+ Pt = [];
238
238
  for (kt in yt[dt])
239
- this.terminals_[kt] && kt > Te && Lt.push("'" + this.terminals_[kt] + "'");
239
+ this.terminals_[kt] && kt > Te && Pt.push("'" + this.terminals_[kt] + "'");
240
240
  B.showPosition ? Ot = "Parse error on line " + (_t + 1) + `:
241
241
  ` + B.showPosition() + `
242
- Expecting ` + Lt.join(", ") + ", got '" + (this.terminals_[z] || z) + "'" : Ot = "Parse error on line " + (_t + 1) + ": Unexpected " + (z == Zt ? "end of input" : "'" + (this.terminals_[z] || z) + "'"), this.parseError(Ot, {
242
+ Expecting ` + Pt.join(", ") + ", got '" + (this.terminals_[z] || z) + "'" : Ot = "Parse error on line " + (_t + 1) + ": Unexpected " + (z == Qt ? "end of input" : "'" + (this.terminals_[z] || z) + "'"), this.parseError(Ot, {
243
243
  text: B.match,
244
244
  token: this.terminals_[z] || z,
245
245
  line: B.yylineno,
246
246
  loc: Vt,
247
- expected: Lt
247
+ expected: Pt
248
248
  });
249
249
  }
250
- if (Z[0] instanceof Array && Z.length > 1)
250
+ if (Q[0] instanceof Array && Q.length > 1)
251
251
  throw new Error("Parse Error: multiple actions possible at state: " + dt + ", token: " + z);
252
- switch (Z[0]) {
252
+ switch (Q[0]) {
253
253
  case 1:
254
- P.push(z), S.push(B.yytext), o.push(B.yylloc), P.push(Z[1]), z = null, Qt = B.yyleng, h = B.yytext, _t = B.yylineno, Vt = B.yylloc;
254
+ L.push(z), S.push(B.yytext), o.push(B.yylloc), L.push(Q[1]), z = null, Zt = B.yyleng, h = B.yytext, _t = B.yylineno, Vt = B.yylloc;
255
255
  break;
256
256
  case 2:
257
- if (it = this.productions_[Z[1]][1], ft.$ = S[S.length - it], ft._$ = {
257
+ if (it = this.productions_[Q[1]][1], ft.$ = S[S.length - it], ft._$ = {
258
258
  first_line: o[o.length - (it || 1)].first_line,
259
259
  last_line: o[o.length - 1].last_line,
260
260
  first_column: o[o.length - (it || 1)].first_column,
@@ -264,15 +264,15 @@ Expecting ` + Lt.join(", ") + ", got '" + (this.terminals_[z] || z) + "'" : Ot =
264
264
  o[o.length - 1].range[1]
265
265
  ]), Ct = this.performAction.apply(ft, [
266
266
  h,
267
- Qt,
267
+ Zt,
268
268
  _t,
269
269
  ht.yy,
270
- Z[1],
270
+ Q[1],
271
271
  S,
272
272
  o
273
273
  ].concat(ye)), typeof Ct < "u")
274
274
  return Ct;
275
- it && (P = P.slice(0, -1 * it * 2), S = S.slice(0, -1 * it), o = o.slice(0, -1 * it)), P.push(this.productions_[Z[1]][0]), S.push(ft.$), o.push(ft._$), jt = yt[P[P.length - 2]][P[P.length - 1]], P.push(jt);
275
+ it && (L = L.slice(0, -1 * it * 2), S = S.slice(0, -1 * it), o = o.slice(0, -1 * it)), L.push(this.productions_[Q[1]][0]), S.push(ft.$), o.push(ft._$), jt = yt[L[L.length - 2]][L[L.length - 1]], L.push(jt);
276
276
  break;
277
277
  case 3:
278
278
  return !0;
@@ -283,9 +283,9 @@ Expecting ` + Lt.join(", ") + ", got '" + (this.terminals_[z] || z) + "'" : Ot =
283
283
  }, xe = function() {
284
284
  var ot = {
285
285
  EOF: 1,
286
- parseError: function(k, P) {
286
+ parseError: function(k, L) {
287
287
  if (this.yy.parser)
288
- this.yy.parser.parseError(k, P);
288
+ this.yy.parser.parseError(k, L);
289
289
  else
290
290
  throw new Error(k);
291
291
  },
@@ -307,16 +307,16 @@ Expecting ` + Lt.join(", ") + ", got '" + (this.terminals_[z] || z) + "'" : Ot =
307
307
  },
308
308
  // unshifts one char (or a string) into the input
309
309
  unput: function(b) {
310
- var k = b.length, P = b.split(/(?:\r\n?|\n)/g);
310
+ var k = b.length, L = b.split(/(?:\r\n?|\n)/g);
311
311
  this._input = b + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - k), this.offset -= k;
312
312
  var g = this.match.split(/(?:\r\n?|\n)/g);
313
- this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), P.length - 1 && (this.yylineno -= P.length - 1);
313
+ this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), L.length - 1 && (this.yylineno -= L.length - 1);
314
314
  var S = this.yylloc.range;
315
315
  return this.yylloc = {
316
316
  first_line: this.yylloc.first_line,
317
317
  last_line: this.yylineno + 1,
318
318
  first_column: this.yylloc.first_column,
319
- last_column: P ? (P.length === g.length ? this.yylloc.first_column : 0) + g[g.length - P.length].length - P[0].length : this.yylloc.first_column - k
319
+ last_column: L ? (L.length === g.length ? this.yylloc.first_column : 0) + g[g.length - L.length].length - L[0].length : this.yylloc.first_column - k
320
320
  }, this.options.ranges && (this.yylloc.range = [S[0], S[0] + this.yyleng - k]), this.yyleng = this.yytext.length, this;
321
321
  },
322
322
  // When called from action, caches matched text and appends it on next action
@@ -358,7 +358,7 @@ Expecting ` + Lt.join(", ") + ", got '" + (this.terminals_[z] || z) + "'" : Ot =
358
358
  },
359
359
  // test the lexed token: return FALSE when not a match, otherwise return token
360
360
  test_match: function(b, k) {
361
- var P, g, S;
361
+ var L, g, S;
362
362
  if (this.options.backtrack_lexer && (S = {
363
363
  yylineno: this.yylineno,
364
364
  yylloc: {
@@ -383,8 +383,8 @@ Expecting ` + Lt.join(", ") + ", got '" + (this.terminals_[z] || z) + "'" : Ot =
383
383
  last_line: this.yylineno + 1,
384
384
  first_column: this.yylloc.last_column,
385
385
  last_column: g ? g[g.length - 1].length - g[g.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + b[0].length
386
- }, this.yytext += b[0], this.match += b[0], this.matches = b, 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(b[0].length), this.matched += b[0], P = this.performAction.call(this, this.yy, this, k, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), P)
387
- return P;
386
+ }, this.yytext += b[0], this.match += b[0], this.matches = b, 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(b[0].length), this.matched += b[0], L = this.performAction.call(this, this.yy, this, k, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), L)
387
+ return L;
388
388
  if (this._backtrack) {
389
389
  for (var o in S)
390
390
  this[o] = S[o];
@@ -397,12 +397,12 @@ Expecting ` + Lt.join(", ") + ", got '" + (this.terminals_[z] || z) + "'" : Ot =
397
397
  if (this.done)
398
398
  return this.EOF;
399
399
  this._input || (this.done = !0);
400
- var b, k, P, g;
400
+ var b, k, L, g;
401
401
  this._more || (this.yytext = "", this.match = "");
402
402
  for (var S = this._currentRules(), o = 0; o < S.length; o++)
403
- if (P = this._input.match(this.rules[S[o]]), P && (!k || P[0].length > k[0].length)) {
404
- if (k = P, g = o, this.options.backtrack_lexer) {
405
- if (b = this.test_match(P, S[o]), b !== !1)
403
+ if (L = this._input.match(this.rules[S[o]]), L && (!k || L[0].length > k[0].length)) {
404
+ if (k = L, g = o, this.options.backtrack_lexer) {
405
+ if (b = this.test_match(L, S[o]), b !== !1)
406
406
  return b;
407
407
  if (this._backtrack) {
408
408
  k = !1;
@@ -450,7 +450,7 @@ Expecting ` + Lt.join(", ") + ", got '" + (this.terminals_[z] || z) + "'" : Ot =
450
450
  return this.conditionStack.length;
451
451
  },
452
452
  options: { "case-insensitive": !0 },
453
- performAction: function(k, P, g, S) {
453
+ performAction: function(k, L, g, S) {
454
454
  switch (g) {
455
455
  case 0:
456
456
  return this.begin("open_directive"), 84;
@@ -483,7 +483,7 @@ Expecting ` + Lt.join(", ") + ", got '" + (this.terminals_[z] || z) + "'" : Ot =
483
483
  case 14:
484
484
  return this.begin("ID"), 57;
485
485
  case 15:
486
- return P.yytext = P.yytext.trim(), this.begin("ALIAS"), 74;
486
+ return L.yytext = L.yytext.trim(), this.begin("ALIAS"), 74;
487
487
  case 16:
488
488
  return this.popState(), this.popState(), this.begin("LINE"), 56;
489
489
  case 17:
@@ -565,7 +565,7 @@ Expecting ` + Lt.join(", ") + ", got '" + (this.terminals_[z] || z) + "'" : Ot =
565
565
  case 54:
566
566
  return 5;
567
567
  case 55:
568
- return P.yytext = P.yytext.trim(), 74;
568
+ return L.yytext = L.yytext.trim(), 74;
569
569
  case 56:
570
570
  return 77;
571
571
  case 57:
@@ -606,11 +606,11 @@ Expecting ` + Lt.join(", ") + ", got '" + (this.terminals_[z] || z) + "'" : Ot =
606
606
  return Rt.prototype = Mt, Mt.Parser = Rt, new Rt();
607
607
  }();
608
608
  Bt.parser = Bt;
609
- const Ce = Bt;
609
+ const Oe = Bt;
610
610
  let Et, ct = {}, xt = [], $ = [], vt = !1, Yt, at;
611
- const Oe = function(t, e, r) {
612
- Pe.parseDirective(this, t, e, r);
613
- }, Be = function(t) {
611
+ const Be = function(t, e, r) {
612
+ Le.parseDirective(this, t, e, r);
613
+ }, Ye = function(t) {
614
614
  xt.push({
615
615
  name: t.text,
616
616
  wrap: t.wrap === void 0 && ut() || !!t.wrap,
@@ -640,12 +640,12 @@ const Oe = function(t, e, r) {
640
640
  rectData: null,
641
641
  type: n || "participant"
642
642
  }, Et && ct[Et] && (ct[Et].nextActor = t), at && at.actorKeys.push(t), Et = t;
643
- }, Ye = (t) => {
643
+ }, Fe = (t) => {
644
644
  let e, r = 0;
645
645
  for (e = 0; e < $.length; e++)
646
646
  $[e].type === bt.ACTIVE_START && $[e].from.actor === t && r++, $[e].type === bt.ACTIVE_END && $[e].from.actor === t && r--;
647
647
  return r;
648
- }, Fe = function(t, e, r, n) {
648
+ }, We = function(t, e, r, n) {
649
649
  $.push({
650
650
  from: t,
651
651
  to: e,
@@ -654,7 +654,7 @@ const Oe = function(t, e, r) {
654
654
  answer: n
655
655
  });
656
656
  }, R = function(t, e, r = { text: void 0, wrap: void 0 }, n) {
657
- if (n === bt.ACTIVE_END && Ye(t.actor) < 1) {
657
+ if (n === bt.ACTIVE_END && Fe(t.actor) < 1) {
658
658
  let s = new Error("Trying to inactivate an inactive participant (" + t.actor + ")");
659
659
  throw s.hash = {
660
660
  text: "->>-",
@@ -671,35 +671,35 @@ const Oe = function(t, e, r) {
671
671
  wrap: r.wrap === void 0 && ut() || !!r.wrap,
672
672
  type: n
673
673
  }), !0;
674
- }, We = function() {
675
- return xt.length > 0;
676
674
  }, qe = function() {
677
- return xt.some((t) => t.name);
675
+ return xt.length > 0;
678
676
  }, ze = function() {
679
- return $;
677
+ return xt.some((t) => t.name);
680
678
  }, He = function() {
681
- return xt;
679
+ return $;
682
680
  }, Ue = function() {
681
+ return xt;
682
+ }, Ke = function() {
683
683
  return ct;
684
684
  }, mt = function(t) {
685
685
  return ct[t];
686
- }, Ke = function() {
687
- return Object.keys(ct);
688
686
  }, Ge = function() {
689
- vt = !0;
687
+ return Object.keys(ct);
690
688
  }, Xe = function() {
689
+ vt = !0;
690
+ }, Je = function() {
691
691
  vt = !1;
692
- }, Je = () => vt, Qe = function(t) {
692
+ }, Ze = () => vt, Qe = function(t) {
693
693
  Yt = t;
694
- }, ut = () => Yt !== void 0 ? Yt : lt().sequence.wrap, Ze = function() {
694
+ }, ut = () => Yt !== void 0 ? Yt : lt().sequence.wrap, je = function() {
695
695
  ct = {}, xt = [], $ = [], vt = !1, Ie();
696
- }, je = function(t) {
696
+ }, $e = function(t) {
697
697
  const e = t.trim(), r = {
698
698
  text: e.replace(/^:?(?:no)?wrap:/, "").trim(),
699
699
  wrap: e.match(/^:?wrap:/) !== null ? !0 : e.match(/^:?nowrap:/) !== null ? !1 : void 0
700
700
  };
701
701
  return K.debug("parseMessage:", r), r;
702
- }, $e = function(t) {
702
+ }, t0 = function(t) {
703
703
  const e = t.match(/^((?:rgba?|hsla?)\s*\(.*\)|\w*)(.*)$/);
704
704
  let r = e != null && e[1] ? e[1].trim() : "transparent", n = e != null && e[2] ? e[2].trim() : void 0;
705
705
  if (window && window.CSS)
@@ -744,10 +744,10 @@ const Oe = function(t, e, r) {
744
744
  BREAK_START: 30,
745
745
  BREAK_END: 31,
746
746
  PAR_OVER_START: 32
747
- }, t0 = {
747
+ }, e0 = {
748
748
  FILLED: 0,
749
749
  OPEN: 1
750
- }, e0 = {
750
+ }, n0 = {
751
751
  LEFTOF: 0,
752
752
  RIGHTOF: 1,
753
753
  OVER: 2
@@ -772,7 +772,7 @@ const Oe = function(t, e, r) {
772
772
  } catch (n) {
773
773
  K.error("error while parsing actor link text", n);
774
774
  }
775
- }, n0 = function(t, e) {
775
+ }, i0 = function(t, e) {
776
776
  const r = mt(t);
777
777
  try {
778
778
  const c = {};
@@ -809,7 +809,7 @@ function re(t, e) {
809
809
  for (let r in e)
810
810
  t.properties[r] = e[r];
811
811
  }
812
- function i0() {
812
+ function s0() {
813
813
  at = void 0;
814
814
  }
815
815
  const oe = function(t, e) {
@@ -820,7 +820,7 @@ const oe = function(t, e) {
820
820
  } catch (i) {
821
821
  K.error("error while parsing actor details text", i);
822
822
  }
823
- }, s0 = function(t, e) {
823
+ }, a0 = function(t, e) {
824
824
  if (t !== void 0 && t.properties !== void 0)
825
825
  return t.properties[e];
826
826
  }, ce = function(t) {
@@ -862,7 +862,7 @@ const oe = function(t, e) {
862
862
  se(t.actor, t.text);
863
863
  break;
864
864
  case "addALink":
865
- n0(t.actor, t.text);
865
+ i0(t.actor, t.text);
866
866
  break;
867
867
  case "addProperties":
868
868
  ae(t.actor, t.text);
@@ -874,10 +874,10 @@ const oe = function(t, e) {
874
874
  R(t.from, t.to, t.msg, t.signalType);
875
875
  break;
876
876
  case "boxStart":
877
- Be(t.boxData);
877
+ Ye(t.boxData);
878
878
  break;
879
879
  case "boxEnd":
880
- i0();
880
+ s0();
881
881
  break;
882
882
  case "loopStart":
883
883
  R(void 0, void 0, t.loopText, t.signalType);
@@ -934,43 +934,43 @@ const oe = function(t, e) {
934
934
  R(void 0, void 0, void 0, t.signalType);
935
935
  break;
936
936
  }
937
- }, a0 = {
937
+ }, r0 = {
938
938
  addActor: Ft,
939
- addMessage: Fe,
939
+ addMessage: We,
940
940
  addSignal: R,
941
941
  addLinks: se,
942
942
  addDetails: oe,
943
943
  addProperties: ae,
944
944
  autoWrap: ut,
945
945
  setWrap: Qe,
946
- enableSequenceNumbers: Ge,
947
- disableSequenceNumbers: Xe,
948
- showSequenceNumbers: Je,
949
- getMessages: ze,
950
- getActors: Ue,
946
+ enableSequenceNumbers: Xe,
947
+ disableSequenceNumbers: Je,
948
+ showSequenceNumbers: Ze,
949
+ getMessages: He,
950
+ getActors: Ke,
951
951
  getActor: mt,
952
- getActorKeys: Ke,
953
- getActorProperty: s0,
952
+ getActorKeys: Ge,
953
+ getActorProperty: a0,
954
954
  getAccTitle: me,
955
- getBoxes: He,
955
+ getBoxes: Ue,
956
956
  getDiagramTitle: we,
957
957
  setDiagramTitle: _e,
958
- parseDirective: Oe,
958
+ parseDirective: Be,
959
959
  getConfig: () => lt().sequence,
960
- clear: Ze,
961
- parseMessage: je,
962
- parseBoxData: $e,
960
+ clear: je,
961
+ parseMessage: $e,
962
+ parseBoxData: t0,
963
963
  LINETYPE: bt,
964
- ARROWTYPE: t0,
965
- PLACEMENT: e0,
964
+ ARROWTYPE: e0,
965
+ PLACEMENT: n0,
966
966
  addNote: ie,
967
967
  setAccTitle: te,
968
968
  apply: ce,
969
969
  setAccDescription: ke,
970
- getAccDescription: Le,
971
- hasAtLeastOneBox: We,
972
- hasAtLeastOneBoxWithTitle: qe
973
- }, r0 = (t) => `.actor {
970
+ getAccDescription: Pe,
971
+ hasAtLeastOneBox: qe,
972
+ hasAtLeastOneBoxWithTitle: ze
973
+ }, o0 = (t) => `.actor {
974
974
  stroke: ${t.actorBorder};
975
975
  fill: ${t.actorBkg};
976
976
  }
@@ -1086,18 +1086,18 @@ const oe = function(t, e) {
1086
1086
  fill: ${t.actorBkg};
1087
1087
  stroke-width: 2px;
1088
1088
  }
1089
- `, o0 = r0, Ut = function(t, e) {
1090
- return Se(t, e);
1089
+ `, c0 = o0, Ut = function(t, e) {
1090
+ return Me(t, e);
1091
1091
  }, le = (t, e) => {
1092
1092
  Ne(() => {
1093
1093
  const r = document.querySelectorAll(t);
1094
1094
  r.length !== 0 && (r[0].addEventListener("mouseover", function() {
1095
- d0("actor" + e + "_popup");
1096
- }), r[0].addEventListener("mouseout", function() {
1097
1095
  u0("actor" + e + "_popup");
1096
+ }), r[0].addEventListener("mouseout", function() {
1097
+ p0("actor" + e + "_popup");
1098
1098
  }));
1099
1099
  });
1100
- }, c0 = function(t, e, r, n, i) {
1100
+ }, l0 = function(t, e, r, n, i) {
1101
1101
  if (e.links === void 0 || e.links === null || Object.keys(e.links).length === 0)
1102
1102
  return { height: 0, width: 0 };
1103
1103
  const s = e.links, c = e.actorCnt, l = e.rectData;
@@ -1112,10 +1112,10 @@ const oe = function(t, e) {
1112
1112
  if (p.attr("class", "actorPopupMenuPanel" + T), p.attr("x", l.x), p.attr("y", l.height), p.attr("fill", l.fill), p.attr("stroke", l.stroke), p.attr("width", y), p.attr("height", l.height), p.attr("rx", l.rx), p.attr("ry", l.ry), s != null) {
1113
1113
  var x = 20;
1114
1114
  for (let A in s) {
1115
- var w = d.append("a"), I = ee(s[A]);
1116
- w.attr("xlink:href", I), w.attr("target", "_blank"), N0(n)(
1115
+ var m = d.append("a"), I = ee(s[A]);
1116
+ m.attr("xlink:href", I), m.attr("target", "_blank"), v0(n)(
1117
1117
  A,
1118
- w,
1118
+ m,
1119
1119
  l.x + 10,
1120
1120
  l.height + x,
1121
1121
  y,
@@ -1126,14 +1126,14 @@ const oe = function(t, e) {
1126
1126
  }
1127
1127
  }
1128
1128
  return p.attr("height", x), { height: l.height + x, width: y };
1129
- }, l0 = function(t) {
1130
- return "var pu = document.getElementById('" + t + "'); if (pu != null) { pu.style.display = 'block'; }";
1131
1129
  }, h0 = function(t) {
1132
- return "var pu = document.getElementById('" + t + "'); if (pu != null) { pu.style.display = 'none'; }";
1130
+ return "var pu = document.getElementById('" + t + "'); if (pu != null) { pu.style.display = 'block'; }";
1133
1131
  }, d0 = function(t) {
1132
+ return "var pu = document.getElementById('" + t + "'); if (pu != null) { pu.style.display = 'none'; }";
1133
+ }, u0 = function(t) {
1134
1134
  var e = document.getElementById(t);
1135
1135
  e != null && (e.style.display = "block");
1136
- }, u0 = function(t) {
1136
+ }, p0 = function(t) {
1137
1137
  var e = document.getElementById(t);
1138
1138
  e != null && (e.style.display = "none");
1139
1139
  }, Tt = function(t, e) {
@@ -1175,11 +1175,13 @@ const oe = function(t, e) {
1175
1175
  for (let [T, y] of i.entries()) {
1176
1176
  e.textMargin !== void 0 && e.textMargin === 0 && s !== void 0 && (u = T * s);
1177
1177
  const p = t.append("text");
1178
- if (p.attr("x", e.x), p.attr("y", d()), e.anchor !== void 0 && p.attr("text-anchor", e.anchor).attr("dominant-baseline", e.dominantBaseline).attr("alignment-baseline", e.alignmentBaseline), e.fontFamily !== void 0 && p.style("font-family", e.fontFamily), c !== void 0 && p.style("font-size", c), e.fontWeight !== void 0 && p.style("font-weight", e.fontWeight), e.fill !== void 0 && p.attr("fill", e.fill), e.class !== void 0 && p.attr("class", e.class), e.dy !== void 0 ? p.attr("dy", e.dy) : u !== 0 && p.attr("dy", u), e.tspan) {
1179
- const x = p.append("tspan");
1180
- x.attr("x", e.x), e.fill !== void 0 && x.attr("fill", e.fill), x.text(y);
1178
+ p.attr("x", e.x), p.attr("y", d()), e.anchor !== void 0 && p.attr("text-anchor", e.anchor).attr("dominant-baseline", e.dominantBaseline).attr("alignment-baseline", e.alignmentBaseline), e.fontFamily !== void 0 && p.style("font-family", e.fontFamily), c !== void 0 && p.style("font-size", c), e.fontWeight !== void 0 && p.style("font-weight", e.fontWeight), e.fill !== void 0 && p.attr("fill", e.fill), e.class !== void 0 && p.attr("class", e.class), e.dy !== void 0 ? p.attr("dy", e.dy) : u !== 0 && p.attr("dy", u);
1179
+ const x = y || ve;
1180
+ if (e.tspan) {
1181
+ const m = p.append("tspan");
1182
+ m.attr("x", e.x), e.fill !== void 0 && m.attr("fill", e.fill), m.text(x);
1181
1183
  } else
1182
- p.text(y);
1184
+ p.text(x);
1183
1185
  e.valign !== void 0 && e.textMargin !== void 0 && e.textMargin > 0 && (n += (p._groups || p)[0][0].getBBox().height, r = n), l.push(p);
1184
1186
  }
1185
1187
  return l;
@@ -1193,7 +1195,7 @@ const oe = function(t, e) {
1193
1195
  let et = -1;
1194
1196
  const de = (t, e) => {
1195
1197
  t.selectAll && t.selectAll(".actor-line").attr("class", "200").attr("y2", e - 55);
1196
- }, p0 = function(t, e, r, n) {
1198
+ }, f0 = function(t, e, r, n) {
1197
1199
  const i = e.x + e.width / 2, s = e.y + 5, c = t.append("g");
1198
1200
  var l = c;
1199
1201
  n || (et++, l.append("line").attr("id", "actor" + et).attr("x1", i).attr("y1", s).attr("x2", i).attr("y2", 2e3).attr("class", "actor-line").attr("stroke-width", "0.5px").attr("stroke", "#999"), l = c.append("g"), e.actorCnt = et, e.links != null && (l.attr("id", "root-" + et), le("#root-" + et, et)));
@@ -1203,7 +1205,7 @@ const de = (t, e) => {
1203
1205
  const T = Ut(l, u);
1204
1206
  if (e.rectData = u, e.properties != null && e.properties.icon) {
1205
1207
  const p = e.properties.icon.trim();
1206
- p.charAt(0) === "@" ? Re(l, u.x + u.width - 20, u.y + 10, p.substr(1)) : De(l, u.x + u.width - 20, u.y + 10, p);
1208
+ p.charAt(0) === "@" ? De(l, u.x + u.width - 20, u.y + 10, p.substr(1)) : Ve(l, u.x + u.width - 20, u.y + 10, p);
1207
1209
  }
1208
1210
  Kt(r)(
1209
1211
  e.description,
@@ -1221,7 +1223,7 @@ const de = (t, e) => {
1221
1223
  e.height = p.height, y = p.height;
1222
1224
  }
1223
1225
  return y;
1224
- }, f0 = function(t, e, r, n) {
1226
+ }, g0 = function(t, e, r, n) {
1225
1227
  const i = e.x + e.width / 2, s = e.y + 80;
1226
1228
  n || (et++, t.append("line").attr("id", "actor" + et).attr("x1", i).attr("y1", s).attr("x2", i).attr("y2", 2e3).attr("class", "actor-line").attr("stroke-width", "0.5px").attr("stroke", "#999"));
1227
1229
  const c = t.append("g");
@@ -1241,14 +1243,14 @@ const de = (t, e) => {
1241
1243
  { class: "actor" },
1242
1244
  r
1243
1245
  ), e.height;
1244
- }, g0 = function(t, e, r, n) {
1246
+ }, x0 = function(t, e, r, n) {
1245
1247
  switch (e.type) {
1246
1248
  case "actor":
1247
- return f0(t, e, r, n);
1249
+ return g0(t, e, r, n);
1248
1250
  case "participant":
1249
- return p0(t, e, r, n);
1251
+ return f0(t, e, r, n);
1250
1252
  }
1251
- }, x0 = function(t, e, r) {
1253
+ }, T0 = function(t, e, r) {
1252
1254
  const i = t.append("g");
1253
1255
  ue(i, e), e.name && Kt(r)(
1254
1256
  e.name,
@@ -1260,12 +1262,12 @@ const de = (t, e) => {
1260
1262
  { class: "text" },
1261
1263
  r
1262
1264
  ), i.lower();
1263
- }, T0 = function(t) {
1265
+ }, y0 = function(t) {
1264
1266
  return t.append("g");
1265
- }, y0 = function(t, e, r, n, i) {
1267
+ }, E0 = function(t, e, r, n, i) {
1266
1268
  const s = Nt(), c = e.anchored;
1267
1269
  s.x = e.startx, s.y = e.starty, s.class = "activation" + i % 3, s.width = e.stopx - e.startx, s.height = r - e.starty, Ut(c, s);
1268
- }, E0 = function(t, e, r, n) {
1270
+ }, b0 = function(t, e, r, n) {
1269
1271
  const {
1270
1272
  boxMargin: i,
1271
1273
  boxTextMargin: s,
@@ -1285,40 +1287,40 @@ const de = (t, e) => {
1285
1287
  });
1286
1288
  let x = zt();
1287
1289
  x.text = r, x.x = e.startx, x.y = e.starty, x.fontFamily = u, x.fontSize = d, x.fontWeight = T, x.anchor = "middle", x.valign = "middle", x.tspan = !1, x.width = l || 50, x.height = c || 20, x.textMargin = s, x.class = "labelText", he(y, x), x = pe(), x.text = e.title, x.x = e.startx + l / 2 + (e.stopx - e.startx) / 2, x.y = e.starty + i + s, x.anchor = "middle", x.valign = "middle", x.textMargin = s, x.class = "loopText", x.fontFamily = u, x.fontSize = d, x.fontWeight = T, x.wrap = !0;
1288
- let w = Tt(y, x);
1290
+ let m = Tt(y, x);
1289
1291
  return e.sectionTitles !== void 0 && e.sectionTitles.forEach(function(I, A) {
1290
1292
  if (I.message) {
1291
- x.text = I.message, x.x = e.startx + (e.stopx - e.startx) / 2, x.y = e.sections[A].y + i + s, x.class = "loopText", x.anchor = "middle", x.valign = "middle", x.tspan = !1, x.fontFamily = u, x.fontSize = d, x.fontWeight = T, x.wrap = e.wrap, w = Tt(y, x);
1293
+ x.text = I.message, x.x = e.startx + (e.stopx - e.startx) / 2, x.y = e.sections[A].y + i + s, x.class = "loopText", x.anchor = "middle", x.valign = "middle", x.tspan = !1, x.fontFamily = u, x.fontSize = d, x.fontWeight = T, x.wrap = e.wrap, m = Tt(y, x);
1292
1294
  let M = Math.round(
1293
- w.map((N) => (N._groups || N)[0][0].getBBox().height).reduce((N, Y) => N + Y)
1295
+ m.map((N) => (N._groups || N)[0][0].getBBox().height).reduce((N, Y) => N + Y)
1294
1296
  );
1295
1297
  e.sections[A].height += M - (i + s);
1296
1298
  }
1297
1299
  }), e.height = Math.round(e.stopy - e.starty), y;
1298
1300
  }, ue = function(t, e) {
1299
- Me(t, e);
1300
- }, b0 = function(t) {
1301
+ Re(t, e);
1302
+ }, m0 = function(t) {
1301
1303
  t.append("defs").append("symbol").attr("id", "database").attr("fill-rule", "evenodd").attr("clip-rule", "evenodd").append("path").attr("transform", "scale(.5)").attr(
1302
1304
  "d",
1303
1305
  "M12.258.001l.256.004.255.005.253.008.251.01.249.012.247.015.246.016.242.019.241.02.239.023.236.024.233.027.231.028.229.031.225.032.223.034.22.036.217.038.214.04.211.041.208.043.205.045.201.046.198.048.194.05.191.051.187.053.183.054.18.056.175.057.172.059.168.06.163.061.16.063.155.064.15.066.074.033.073.033.071.034.07.034.069.035.068.035.067.035.066.035.064.036.064.036.062.036.06.036.06.037.058.037.058.037.055.038.055.038.053.038.052.038.051.039.05.039.048.039.047.039.045.04.044.04.043.04.041.04.04.041.039.041.037.041.036.041.034.041.033.042.032.042.03.042.029.042.027.042.026.043.024.043.023.043.021.043.02.043.018.044.017.043.015.044.013.044.012.044.011.045.009.044.007.045.006.045.004.045.002.045.001.045v17l-.001.045-.002.045-.004.045-.006.045-.007.045-.009.044-.011.045-.012.044-.013.044-.015.044-.017.043-.018.044-.02.043-.021.043-.023.043-.024.043-.026.043-.027.042-.029.042-.03.042-.032.042-.033.042-.034.041-.036.041-.037.041-.039.041-.04.041-.041.04-.043.04-.044.04-.045.04-.047.039-.048.039-.05.039-.051.039-.052.038-.053.038-.055.038-.055.038-.058.037-.058.037-.06.037-.06.036-.062.036-.064.036-.064.036-.066.035-.067.035-.068.035-.069.035-.07.034-.071.034-.073.033-.074.033-.15.066-.155.064-.16.063-.163.061-.168.06-.172.059-.175.057-.18.056-.183.054-.187.053-.191.051-.194.05-.198.048-.201.046-.205.045-.208.043-.211.041-.214.04-.217.038-.22.036-.223.034-.225.032-.229.031-.231.028-.233.027-.236.024-.239.023-.241.02-.242.019-.246.016-.247.015-.249.012-.251.01-.253.008-.255.005-.256.004-.258.001-.258-.001-.256-.004-.255-.005-.253-.008-.251-.01-.249-.012-.247-.015-.245-.016-.243-.019-.241-.02-.238-.023-.236-.024-.234-.027-.231-.028-.228-.031-.226-.032-.223-.034-.22-.036-.217-.038-.214-.04-.211-.041-.208-.043-.204-.045-.201-.046-.198-.048-.195-.05-.19-.051-.187-.053-.184-.054-.179-.056-.176-.057-.172-.059-.167-.06-.164-.061-.159-.063-.155-.064-.151-.066-.074-.033-.072-.033-.072-.034-.07-.034-.069-.035-.068-.035-.067-.035-.066-.035-.064-.036-.063-.036-.062-.036-.061-.036-.06-.037-.058-.037-.057-.037-.056-.038-.055-.038-.053-.038-.052-.038-.051-.039-.049-.039-.049-.039-.046-.039-.046-.04-.044-.04-.043-.04-.041-.04-.04-.041-.039-.041-.037-.041-.036-.041-.034-.041-.033-.042-.032-.042-.03-.042-.029-.042-.027-.042-.026-.043-.024-.043-.023-.043-.021-.043-.02-.043-.018-.044-.017-.043-.015-.044-.013-.044-.012-.044-.011-.045-.009-.044-.007-.045-.006-.045-.004-.045-.002-.045-.001-.045v-17l.001-.045.002-.045.004-.045.006-.045.007-.045.009-.044.011-.045.012-.044.013-.044.015-.044.017-.043.018-.044.02-.043.021-.043.023-.043.024-.043.026-.043.027-.042.029-.042.03-.042.032-.042.033-.042.034-.041.036-.041.037-.041.039-.041.04-.041.041-.04.043-.04.044-.04.046-.04.046-.039.049-.039.049-.039.051-.039.052-.038.053-.038.055-.038.056-.038.057-.037.058-.037.06-.037.061-.036.062-.036.063-.036.064-.036.066-.035.067-.035.068-.035.069-.035.07-.034.072-.034.072-.033.074-.033.151-.066.155-.064.159-.063.164-.061.167-.06.172-.059.176-.057.179-.056.184-.054.187-.053.19-.051.195-.05.198-.048.201-.046.204-.045.208-.043.211-.041.214-.04.217-.038.22-.036.223-.034.226-.032.228-.031.231-.028.234-.027.236-.024.238-.023.241-.02.243-.019.245-.016.247-.015.249-.012.251-.01.253-.008.255-.005.256-.004.258-.001.258.001zm-9.258 20.499v.01l.001.021.003.021.004.022.005.021.006.022.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.023.018.024.019.024.021.024.022.025.023.024.024.025.052.049.056.05.061.051.066.051.07.051.075.051.079.052.084.052.088.052.092.052.097.052.102.051.105.052.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.048.144.049.147.047.152.047.155.047.16.045.163.045.167.043.171.043.176.041.178.041.183.039.187.039.19.037.194.035.197.035.202.033.204.031.209.03.212.029.216.027.219.025.222.024.226.021.23.02.233.018.236.016.24.015.243.012.246.01.249.008.253.005.256.004.259.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.021.224-.024.22-.026.216-.027.212-.028.21-.031.205-.031.202-.034.198-.034.194-.036.191-.037.187-.039.183-.04.179-.04.175-.042.172-.043.168-.044.163-.045.16-.046.155-.046.152-.047.148-.048.143-.049.139-.049.136-.05.131-.05.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.053.083-.051.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.05.023-.024.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.023.01-.022.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.127l-.077.055-.08.053-.083.054-.085.053-.087.052-.09.052-.093.051-.095.05-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.045-.118.044-.12.043-.122.042-.124.042-.126.041-.128.04-.13.04-.132.038-.134.038-.135.037-.138.037-.139.035-.142.035-.143.034-.144.033-.147.032-.148.031-.15.03-.151.03-.153.029-.154.027-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.01-.179.008-.179.008-.181.006-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.006-.179-.008-.179-.008-.178-.01-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.027-.153-.029-.151-.03-.15-.03-.148-.031-.146-.032-.145-.033-.143-.034-.141-.035-.14-.035-.137-.037-.136-.037-.134-.038-.132-.038-.13-.04-.128-.04-.126-.041-.124-.042-.122-.042-.12-.044-.117-.043-.116-.045-.113-.045-.112-.046-.109-.047-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.05-.093-.052-.09-.051-.087-.052-.085-.053-.083-.054-.08-.054-.077-.054v4.127zm0-5.654v.011l.001.021.003.021.004.021.005.022.006.022.007.022.009.022.01.022.011.023.012.023.013.023.015.024.016.023.017.024.018.024.019.024.021.024.022.024.023.025.024.024.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.052.11.051.114.051.119.052.123.05.127.051.131.05.135.049.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.044.171.042.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.022.23.02.233.018.236.016.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.012.241-.015.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.048.139-.05.136-.049.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.051.051-.049.023-.025.023-.024.021-.025.02-.024.019-.024.018-.024.017-.024.015-.023.014-.023.013-.024.012-.022.01-.023.01-.023.008-.022.006-.022.006-.022.004-.021.004-.022.001-.021.001-.021v-4.139l-.077.054-.08.054-.083.054-.085.052-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.044-.118.044-.12.044-.122.042-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.035-.143.033-.144.033-.147.033-.148.031-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.009-.179.009-.179.007-.181.007-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.007-.179-.007-.179-.009-.178-.009-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.031-.146-.033-.145-.033-.143-.033-.141-.035-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.04-.126-.041-.124-.042-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.051-.093-.051-.09-.051-.087-.053-.085-.052-.083-.054-.08-.054-.077-.054v4.139zm0-5.666v.011l.001.02.003.022.004.021.005.022.006.021.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.024.018.023.019.024.021.025.022.024.023.024.024.025.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.051.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.043.171.043.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.021.23.02.233.018.236.017.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.013.241-.014.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.049.139-.049.136-.049.131-.051.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.049.023-.025.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.022.01-.023.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.153l-.077.054-.08.054-.083.053-.085.053-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.048-.105.048-.106.048-.109.046-.111.046-.114.046-.115.044-.118.044-.12.043-.122.043-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.034-.143.034-.144.033-.147.032-.148.032-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.024-.161.024-.162.023-.163.023-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.01-.178.01-.179.009-.179.007-.181.006-.182.006-.182.004-.184.003-.184.001-.185.001-.185-.001-.184-.001-.184-.003-.182-.004-.182-.006-.181-.006-.179-.007-.179-.009-.178-.01-.176-.01-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.023-.162-.023-.161-.024-.159-.024-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.032-.146-.032-.145-.033-.143-.034-.141-.034-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.041-.126-.041-.124-.041-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.048-.105-.048-.102-.048-.1-.05-.097-.049-.095-.051-.093-.051-.09-.052-.087-.052-.085-.053-.083-.053-.08-.054-.077-.054v4.153zm8.74-8.179l-.257.004-.254.005-.25.008-.247.011-.244.012-.241.014-.237.016-.233.018-.231.021-.226.022-.224.023-.22.026-.216.027-.212.028-.21.031-.205.032-.202.033-.198.034-.194.036-.191.038-.187.038-.183.04-.179.041-.175.042-.172.043-.168.043-.163.045-.16.046-.155.046-.152.048-.148.048-.143.048-.139.049-.136.05-.131.05-.126.051-.123.051-.118.051-.114.052-.11.052-.106.052-.101.052-.096.052-.092.052-.088.052-.083.052-.079.052-.074.051-.07.052-.065.051-.06.05-.056.05-.051.05-.023.025-.023.024-.021.024-.02.025-.019.024-.018.024-.017.023-.015.024-.014.023-.013.023-.012.023-.01.023-.01.022-.008.022-.006.023-.006.021-.004.022-.004.021-.001.021-.001.021.001.021.001.021.004.021.004.022.006.021.006.023.008.022.01.022.01.023.012.023.013.023.014.023.015.024.017.023.018.024.019.024.02.025.021.024.023.024.023.025.051.05.056.05.06.05.065.051.07.052.074.051.079.052.083.052.088.052.092.052.096.052.101.052.106.052.11.052.114.052.118.051.123.051.126.051.131.05.136.05.139.049.143.048.148.048.152.048.155.046.16.046.163.045.168.043.172.043.175.042.179.041.183.04.187.038.191.038.194.036.198.034.202.033.205.032.21.031.212.028.216.027.22.026.224.023.226.022.231.021.233.018.237.016.241.014.244.012.247.011.25.008.254.005.257.004.26.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.022.224-.023.22-.026.216-.027.212-.028.21-.031.205-.032.202-.033.198-.034.194-.036.191-.038.187-.038.183-.04.179-.041.175-.042.172-.043.168-.043.163-.045.16-.046.155-.046.152-.048.148-.048.143-.048.139-.049.136-.05.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.05.051-.05.023-.025.023-.024.021-.024.02-.025.019-.024.018-.024.017-.023.015-.024.014-.023.013-.023.012-.023.01-.023.01-.022.008-.022.006-.023.006-.021.004-.022.004-.021.001-.021.001-.021-.001-.021-.001-.021-.004-.021-.004-.022-.006-.021-.006-.023-.008-.022-.01-.022-.01-.023-.012-.023-.013-.023-.014-.023-.015-.024-.017-.023-.018-.024-.019-.024-.02-.025-.021-.024-.023-.024-.023-.025-.051-.05-.056-.05-.06-.05-.065-.051-.07-.052-.074-.051-.079-.052-.083-.052-.088-.052-.092-.052-.096-.052-.101-.052-.106-.052-.11-.052-.114-.052-.118-.051-.123-.051-.126-.051-.131-.05-.136-.05-.139-.049-.143-.048-.148-.048-.152-.048-.155-.046-.16-.046-.163-.045-.168-.043-.172-.043-.175-.042-.179-.041-.183-.04-.187-.038-.191-.038-.194-.036-.198-.034-.202-.033-.205-.032-.21-.031-.212-.028-.216-.027-.22-.026-.224-.023-.226-.022-.231-.021-.233-.018-.237-.016-.241-.014-.244-.012-.247-.011-.25-.008-.254-.005-.257-.004-.26-.001-.26.001z"
1304
1306
  );
1305
- }, m0 = function(t) {
1307
+ }, w0 = function(t) {
1306
1308
  t.append("defs").append("symbol").attr("id", "computer").attr("width", "24").attr("height", "24").append("path").attr("transform", "scale(.5)").attr(
1307
1309
  "d",
1308
1310
  "M2 2v13h20v-13h-20zm18 11h-16v-9h16v9zm-10.228 6l.466-1h3.524l.467 1h-4.457zm14.228 3h-24l2-6h2.104l-1.33 4h18.45l-1.297-4h2.073l2 6zm-5-10h-14v-7h14v7z"
1309
1311
  );
1310
- }, w0 = function(t) {
1312
+ }, _0 = function(t) {
1311
1313
  t.append("defs").append("symbol").attr("id", "clock").attr("width", "24").attr("height", "24").append("path").attr("transform", "scale(.5)").attr(
1312
1314
  "d",
1313
1315
  "M12 2c5.514 0 10 4.486 10 10s-4.486 10-10 10-10-4.486-10-10 4.486-10 10-10zm0-2c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm5.848 12.459c.202.038.202.333.001.372-1.907.361-6.045 1.111-6.547 1.111-.719 0-1.301-.582-1.301-1.301 0-.512.77-5.447 1.125-7.445.034-.192.312-.181.343.014l.985 6.238 5.394 1.011z"
1314
1316
  );
1315
- }, _0 = function(t) {
1316
- t.append("defs").append("marker").attr("id", "arrowhead").attr("refX", 9).attr("refY", 5).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 12).attr("markerHeight", 12).attr("orient", "auto").append("path").attr("d", "M 0 0 L 10 5 L 0 10 z");
1317
1317
  }, k0 = function(t) {
1318
+ t.append("defs").append("marker").attr("id", "arrowhead").attr("refX", 9).attr("refY", 5).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 12).attr("markerHeight", 12).attr("orient", "auto").append("path").attr("d", "M 0 0 L 10 5 L 0 10 z");
1319
+ }, P0 = function(t) {
1318
1320
  t.append("defs").append("marker").attr("id", "filled-head").attr("refX", 18).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 28).attr("orient", "auto").append("path").attr("d", "M 18,7 L9,13 L14,7 L9,1 Z");
1319
1321
  }, L0 = function(t) {
1320
1322
  t.append("defs").append("marker").attr("id", "sequencenumber").attr("refX", 15).attr("refY", 15).attr("markerWidth", 60).attr("markerHeight", 40).attr("orient", "auto").append("circle").attr("cx", 15).attr("cy", 15).attr("r", 6);
1321
- }, P0 = function(t) {
1323
+ }, I0 = function(t) {
1322
1324
  t.append("defs").append("marker").attr("id", "crosshead").attr("markerWidth", 15).attr("markerHeight", 8).attr("orient", "auto").attr("refX", 4).attr("refY", 5).append("path").attr("fill", "none").attr("stroke", "#000000").style("stroke-dasharray", "0, 0").attr("stroke-width", "1pt").attr("d", "M 1,2 L 6,7 M 6,2 L 1,7");
1323
1325
  }, pe = function() {
1324
1326
  return {
@@ -1335,7 +1337,7 @@ const de = (t, e) => {
1335
1337
  tspan: !0,
1336
1338
  valign: void 0
1337
1339
  };
1338
- }, I0 = function() {
1340
+ }, N0 = function() {
1339
1341
  return {
1340
1342
  x: 0,
1341
1343
  y: 0,
@@ -1353,15 +1355,15 @@ const de = (t, e) => {
1353
1355
  n(y, T);
1354
1356
  }
1355
1357
  function e(i, s, c, l, u, d, T, y) {
1356
- const { actorFontSize: p, actorFontFamily: x, actorFontWeight: w } = y, [I, A] = ne(p), M = i.split(_.lineBreakRegex);
1358
+ const { actorFontSize: p, actorFontFamily: x, actorFontWeight: m } = y, [I, A] = ne(p), M = i.split(_.lineBreakRegex);
1357
1359
  for (let N = 0; N < M.length; N++) {
1358
- const Y = N * I - I * (M.length - 1) / 2, V = s.append("text").attr("x", c + u / 2).attr("y", l).style("text-anchor", "middle").style("font-size", A).style("font-weight", w).style("font-family", x);
1360
+ const Y = N * I - I * (M.length - 1) / 2, V = s.append("text").attr("x", c + u / 2).attr("y", l).style("text-anchor", "middle").style("font-size", A).style("font-weight", m).style("font-family", x);
1359
1361
  V.append("tspan").attr("x", c + u / 2).attr("dy", Y).text(M[N]), V.attr("y", l + d / 2).attr("dominant-baseline", "central").attr("alignment-baseline", "central"), n(V, T);
1360
1362
  }
1361
1363
  }
1362
1364
  function r(i, s, c, l, u, d, T, y) {
1363
- const p = s.append("switch"), w = p.append("foreignObject").attr("x", c).attr("y", l).attr("width", u).attr("height", d).append("xhtml:div").style("display", "table").style("height", "100%").style("width", "100%");
1364
- w.append("div").style("display", "table-cell").style("text-align", "center").style("vertical-align", "middle").text(i), e(i, p, c, l, u, d, T, y), n(w, T);
1365
+ const p = s.append("switch"), m = p.append("foreignObject").attr("x", c).attr("y", l).attr("width", u).attr("height", d).append("xhtml:div").style("display", "table").style("height", "100%").style("width", "100%");
1366
+ m.append("div").style("display", "table-cell").style("text-align", "center").style("vertical-align", "middle").text(i), e(i, p, c, l, u, d, T, y), n(m, T);
1365
1367
  }
1366
1368
  function n(i, s) {
1367
1369
  for (const c in s)
@@ -1370,21 +1372,21 @@ const de = (t, e) => {
1370
1372
  return function(i) {
1371
1373
  return i.textPlacement === "fo" ? r : i.textPlacement === "old" ? t : e;
1372
1374
  };
1373
- }(), N0 = function() {
1375
+ }(), v0 = function() {
1374
1376
  function t(i, s, c, l, u, d, T) {
1375
1377
  const y = s.append("text").attr("x", c).attr("y", l).style("text-anchor", "start").text(i);
1376
1378
  n(y, T);
1377
1379
  }
1378
1380
  function e(i, s, c, l, u, d, T, y) {
1379
- const { actorFontSize: p, actorFontFamily: x, actorFontWeight: w } = y, I = i.split(_.lineBreakRegex);
1381
+ const { actorFontSize: p, actorFontFamily: x, actorFontWeight: m } = y, I = i.split(_.lineBreakRegex);
1380
1382
  for (let A = 0; A < I.length; A++) {
1381
- const M = A * p - p * (I.length - 1) / 2, N = s.append("text").attr("x", c).attr("y", l).style("text-anchor", "start").style("font-size", p).style("font-weight", w).style("font-family", x);
1383
+ const M = A * p - p * (I.length - 1) / 2, N = s.append("text").attr("x", c).attr("y", l).style("text-anchor", "start").style("font-size", p).style("font-weight", m).style("font-family", x);
1382
1384
  N.append("tspan").attr("x", c).attr("dy", M).text(I[A]), N.attr("y", l + d / 2).attr("dominant-baseline", "central").attr("alignment-baseline", "central"), n(N, T);
1383
1385
  }
1384
1386
  }
1385
1387
  function r(i, s, c, l, u, d, T, y) {
1386
- const p = s.append("switch"), w = p.append("foreignObject").attr("x", c).attr("y", l).attr("width", u).attr("height", d).append("xhtml:div").style("display", "table").style("height", "100%").style("width", "100%");
1387
- w.append("div").style("display", "table-cell").style("text-align", "center").style("vertical-align", "middle").text(i), e(i, p, c, l, u, d, T, y), n(w, T);
1388
+ const p = s.append("switch"), m = p.append("foreignObject").attr("x", c).attr("y", l).attr("width", u).attr("height", d).append("xhtml:div").style("display", "table").style("height", "100%").style("width", "100%");
1389
+ m.append("div").style("display", "table-cell").style("text-align", "center").style("vertical-align", "middle").text(i), e(i, p, c, l, u, d, T, y), n(m, T);
1388
1390
  }
1389
1391
  function n(i, s) {
1390
1392
  for (const c in s)
@@ -1397,24 +1399,24 @@ const de = (t, e) => {
1397
1399
  drawRect: Ut,
1398
1400
  drawText: Tt,
1399
1401
  drawLabel: he,
1400
- drawActor: g0,
1401
- drawBox: x0,
1402
- drawPopup: c0,
1403
- anchorElement: T0,
1404
- drawActivation: y0,
1405
- drawLoop: E0,
1402
+ drawActor: x0,
1403
+ drawBox: T0,
1404
+ drawPopup: l0,
1405
+ anchorElement: y0,
1406
+ drawActivation: E0,
1407
+ drawLoop: b0,
1406
1408
  drawBackgroundRect: ue,
1407
- insertArrowHead: _0,
1408
- insertArrowFilledHead: k0,
1409
+ insertArrowHead: k0,
1410
+ insertArrowFilledHead: P0,
1409
1411
  insertSequenceNumber: L0,
1410
- insertArrowCrossHead: P0,
1411
- insertDatabaseIcon: b0,
1412
- insertComputerIcon: m0,
1413
- insertClockIcon: w0,
1412
+ insertArrowCrossHead: I0,
1413
+ insertDatabaseIcon: m0,
1414
+ insertComputerIcon: w0,
1415
+ insertClockIcon: _0,
1414
1416
  getTextObj: pe,
1415
- getNoteRect: I0,
1416
- popupMenu: l0,
1417
- popdownMenu: h0,
1417
+ getNoteRect: N0,
1418
+ popupMenu: h0,
1419
+ popdownMenu: d0,
1418
1420
  fixLifeLineHeights: de,
1419
1421
  sanitizeUrl: ee
1420
1422
  };
@@ -1557,7 +1559,7 @@ const f = {
1557
1559
  getBounds: function() {
1558
1560
  return { bounds: this.data, models: this.models };
1559
1561
  }
1560
- }, v0 = function(t, e) {
1562
+ }, A0 = function(t, e) {
1561
1563
  f.bumpVerticalPos(a.boxMargin), e.height = a.boxMargin, e.starty = f.getVerticalPos();
1562
1564
  const r = Nt();
1563
1565
  r.x = e.startx, r.y = e.starty, r.width = e.width || a.width, r.class = "note";
@@ -1580,7 +1582,7 @@ const f = {
1580
1582
  fontSize: t.actorFontSize,
1581
1583
  fontWeight: t.actorFontWeight
1582
1584
  });
1583
- function A0(t, e) {
1585
+ function S0(t, e) {
1584
1586
  f.bumpVerticalPos(10);
1585
1587
  const { startx: r, stopx: n, message: i } = e, s = _.splitBreaks(i).length, c = C.calculateTextDimensions(i, pt(a)), l = c.height / s;
1586
1588
  e.height += l, f.bumpVerticalPos(l);
@@ -1599,20 +1601,20 @@ function A0(t, e) {
1599
1601
  d += a.boxMargin, u = f.getVerticalPos() + d, f.insert(r, u - 10, n, u);
1600
1602
  return f.bumpVerticalPos(d), e.height += d, e.stopy = e.starty + e.height, f.insert(e.fromBounds, e.starty, e.toBounds, e.stopy), u;
1601
1603
  }
1602
- const S0 = function(t, e, r, n) {
1604
+ const M0 = function(t, e, r, n) {
1603
1605
  const { startx: i, stopx: s, starty: c, message: l, type: u, sequenceIndex: d, sequenceVisible: T } = e, y = C.calculateTextDimensions(l, pt(a)), p = zt();
1604
1606
  p.x = i, p.y = c + 10, p.width = s - i, p.class = "messageText", p.dy = "1em", p.text = l, p.fontFamily = a.messageFontFamily, p.fontSize = a.messageFontSize, p.fontWeight = a.messageFontWeight, p.anchor = a.messageAlign, p.valign = "center", p.textMargin = a.wrapPadding, p.tspan = !1, Tt(t, p);
1605
1607
  const x = y.width;
1606
- let w;
1607
- i === s ? a.rightAngles ? w = t.append("path").attr(
1608
+ let m;
1609
+ i === s ? a.rightAngles ? m = t.append("path").attr(
1608
1610
  "d",
1609
1611
  `M ${i},${r} H ${i + _.getMax(a.width / 2, x / 2)} V ${r + 25} H ${i}`
1610
- ) : w = t.append("path").attr(
1612
+ ) : m = t.append("path").attr(
1611
1613
  "d",
1612
1614
  "M " + i + "," + r + " C " + (i + 60) + "," + (r - 10) + " " + (i + 60) + "," + (r + 30) + " " + i + "," + (r + 20)
1613
- ) : (w = t.append("line"), w.attr("x1", i), w.attr("y1", r), w.attr("x2", s), w.attr("y2", r)), u === n.db.LINETYPE.DOTTED || u === n.db.LINETYPE.DOTTED_CROSS || u === n.db.LINETYPE.DOTTED_POINT || u === n.db.LINETYPE.DOTTED_OPEN ? (w.style("stroke-dasharray", "3, 3"), w.attr("class", "messageLine1")) : w.attr("class", "messageLine0");
1615
+ ) : (m = t.append("line"), m.attr("x1", i), m.attr("y1", r), m.attr("x2", s), m.attr("y2", r)), u === n.db.LINETYPE.DOTTED || u === n.db.LINETYPE.DOTTED_CROSS || u === n.db.LINETYPE.DOTTED_POINT || u === n.db.LINETYPE.DOTTED_OPEN ? (m.style("stroke-dasharray", "3, 3"), m.attr("class", "messageLine1")) : m.attr("class", "messageLine0");
1614
1616
  let I = "";
1615
- a.arrowMarkerAbsolute && (I = window.location.protocol + "//" + window.location.host + window.location.pathname + window.location.search, I = I.replace(/\(/g, "\\("), I = I.replace(/\)/g, "\\)")), w.attr("stroke-width", 2), w.attr("stroke", "none"), w.style("fill", "none"), (u === n.db.LINETYPE.SOLID || u === n.db.LINETYPE.DOTTED) && w.attr("marker-end", "url(" + I + "#arrowhead)"), (u === n.db.LINETYPE.SOLID_POINT || u === n.db.LINETYPE.DOTTED_POINT) && w.attr("marker-end", "url(" + I + "#filled-head)"), (u === n.db.LINETYPE.SOLID_CROSS || u === n.db.LINETYPE.DOTTED_CROSS) && w.attr("marker-end", "url(" + I + "#crosshead)"), (T || a.showSequenceNumbers) && (w.attr("marker-start", "url(" + I + "#sequencenumber)"), t.append("text").attr("x", i).attr("y", r + 4).attr("font-family", "sans-serif").attr("font-size", "12px").attr("text-anchor", "middle").attr("class", "sequenceNumber").text(d));
1617
+ a.arrowMarkerAbsolute && (I = window.location.protocol + "//" + window.location.host + window.location.pathname + window.location.search, I = I.replace(/\(/g, "\\("), I = I.replace(/\)/g, "\\)")), m.attr("stroke-width", 2), m.attr("stroke", "none"), m.style("fill", "none"), (u === n.db.LINETYPE.SOLID || u === n.db.LINETYPE.DOTTED) && m.attr("marker-end", "url(" + I + "#arrowhead)"), (u === n.db.LINETYPE.SOLID_POINT || u === n.db.LINETYPE.DOTTED_POINT) && m.attr("marker-end", "url(" + I + "#filled-head)"), (u === n.db.LINETYPE.SOLID_CROSS || u === n.db.LINETYPE.DOTTED_CROSS) && m.attr("marker-end", "url(" + I + "#crosshead)"), (T || a.showSequenceNumbers) && (m.attr("marker-start", "url(" + I + "#sequencenumber)"), t.append("text").attr("x", i).attr("y", r + 4).attr("font-family", "sans-serif").attr("font-size", "12px").attr("text-anchor", "middle").attr("class", "sequenceNumber").text(d));
1616
1618
  }, qt = function(t, e, r, n, i, s, c) {
1617
1619
  if (i.hideUnusedParticipants === !0) {
1618
1620
  const y = /* @__PURE__ */ new Set();
@@ -1624,14 +1626,14 @@ const S0 = function(t, e, r, n) {
1624
1626
  for (const y of r) {
1625
1627
  const p = e[y], x = p.box;
1626
1628
  T && T != x && (c || f.models.addBox(T), u += a.boxMargin + T.margin), x && x != T && (c || (x.x = l + u, x.y = n), u += x.margin), p.width = p.width || a.width, p.height = _.getMax(p.height || a.height, a.height), p.margin = p.margin || a.actorMargin, p.x = l + u, p.y = f.getVerticalPos();
1627
- const w = D.drawActor(t, p, a, c);
1628
- d = _.getMax(d, w), f.insert(p.x, n, p.x + p.width, p.height), l += p.width + u, p.box && (p.box.width = l + x.margin - p.box.x), u = p.margin, T = p.box, f.models.addActor(p);
1629
+ const m = D.drawActor(t, p, a, c);
1630
+ d = _.getMax(d, m), f.insert(p.x, n, p.x + p.width, p.height), l += p.width + u, p.box && (p.box.width = l + x.margin - p.box.x), u = p.margin, T = p.box, f.models.addActor(p);
1629
1631
  }
1630
1632
  T && !c && f.models.addBox(T), f.bumpVerticalPos(d);
1631
1633
  }, fe = function(t, e, r, n) {
1632
1634
  let i = 0, s = 0;
1633
1635
  for (const c of r) {
1634
- const l = e[c], u = D0(l), d = D.drawPopup(
1636
+ const l = e[c], u = V0(l), d = D.drawPopup(
1635
1637
  t,
1636
1638
  l,
1637
1639
  u,
@@ -1643,7 +1645,7 @@ const S0 = function(t, e, r, n) {
1643
1645
  }
1644
1646
  return { maxHeight: i, maxWidth: s };
1645
1647
  }, ge = function(t) {
1646
- ve(a, t), t.fontFamily && (a.actorFontFamily = a.noteFontFamily = a.messageFontFamily = t.fontFamily), t.fontSize && (a.actorFontSize = a.noteFontSize = a.messageFontSize = t.fontSize), t.fontWeight && (a.actorFontWeight = a.noteFontWeight = a.messageFontWeight = t.fontWeight);
1648
+ Ae(a, t), t.fontFamily && (a.actorFontFamily = a.noteFontFamily = a.messageFontFamily = t.fontFamily), t.fontSize && (a.actorFontSize = a.noteFontSize = a.messageFontSize = t.fontSize), t.fontWeight && (a.actorFontWeight = a.noteFontWeight = a.messageFontWeight = t.fontWeight);
1647
1649
  }, At = function(t) {
1648
1650
  return f.activations.filter(function(e) {
1649
1651
  return e.actor === t;
@@ -1667,45 +1669,45 @@ function tt(t, e, r, n, i) {
1667
1669
  }
1668
1670
  i(e), f.bumpVerticalPos(s);
1669
1671
  }
1670
- const M0 = function(t, e, r, n) {
1672
+ const R0 = function(t, e, r, n) {
1671
1673
  const { securityLevel: i, sequence: s } = lt();
1672
1674
  a = s, n.db.clear(), n.parser.parse(t);
1673
1675
  let c;
1674
- i === "sandbox" && (c = Pt("#i" + e));
1675
- const l = i === "sandbox" ? Pt(c.nodes()[0].contentDocument.body) : Pt("body"), u = i === "sandbox" ? c.nodes()[0].contentDocument : document;
1676
+ i === "sandbox" && (c = Lt("#i" + e));
1677
+ const l = i === "sandbox" ? Lt(c.nodes()[0].contentDocument.body) : Lt("body"), u = i === "sandbox" ? c.nodes()[0].contentDocument : document;
1676
1678
  f.init(), K.debug(n.db);
1677
- const d = i === "sandbox" ? l.select(`[id="${e}"]`) : Pt(`[id="${e}"]`), T = n.db.getActors(), y = n.db.getBoxes(), p = n.db.getActorKeys(), x = n.db.getMessages(), w = n.db.getDiagramTitle(), I = n.db.hasAtLeastOneBox(), A = n.db.hasAtLeastOneBoxWithTitle(), M = R0(T, x, n);
1678
- a.height = V0(T, M, y), D.insertComputerIcon(d), D.insertDatabaseIcon(d), D.insertClockIcon(d), I && (f.bumpVerticalPos(a.boxMargin), A && f.bumpVerticalPos(y[0].textMaxHeight)), qt(d, T, p, 0, a, x, !1);
1679
- const N = B0(x, T, M, n);
1679
+ const d = i === "sandbox" ? l.select(`[id="${e}"]`) : Lt(`[id="${e}"]`), T = n.db.getActors(), y = n.db.getBoxes(), p = n.db.getActorKeys(), x = n.db.getMessages(), m = n.db.getDiagramTitle(), I = n.db.hasAtLeastOneBox(), A = n.db.hasAtLeastOneBoxWithTitle(), M = D0(T, x, n);
1680
+ a.height = C0(T, M, y), D.insertComputerIcon(d), D.insertDatabaseIcon(d), D.insertClockIcon(d), I && (f.bumpVerticalPos(a.boxMargin), A && f.bumpVerticalPos(y[0].textMaxHeight)), qt(d, T, p, 0, a, x, !1);
1681
+ const N = Y0(x, T, M, n);
1680
1682
  D.insertArrowHead(d), D.insertArrowCrossHead(d), D.insertArrowFilledHead(d), D.insertSequenceNumber(d);
1681
- function Y(m, E) {
1682
- const j = f.endActivation(m);
1683
+ function Y(w, E) {
1684
+ const j = f.endActivation(w);
1683
1685
  j.starty + 18 > E && (j.starty = E - 6, E += 12), D.drawActivation(
1684
1686
  d,
1685
1687
  j,
1686
1688
  E,
1687
1689
  a,
1688
- At(m.from.actor).length
1690
+ At(w.from.actor).length
1689
1691
  ), f.insert(j.startx, E - 10, j.stopx, E);
1690
1692
  }
1691
1693
  let V = 1, H = 1;
1692
1694
  const G = [];
1693
- x.forEach(function(m) {
1694
- let E, j, L;
1695
- switch (m.type) {
1695
+ x.forEach(function(w) {
1696
+ let E, j, P;
1697
+ switch (w.type) {
1696
1698
  case n.db.LINETYPE.NOTE:
1697
- f.resetVerticalPos(), j = m.noteModel, v0(d, j);
1699
+ f.resetVerticalPos(), j = w.noteModel, A0(d, j);
1698
1700
  break;
1699
1701
  case n.db.LINETYPE.ACTIVE_START:
1700
- f.newActivation(m, d, T);
1702
+ f.newActivation(w, d, T);
1701
1703
  break;
1702
1704
  case n.db.LINETYPE.ACTIVE_END:
1703
- Y(m, f.getVerticalPos());
1705
+ Y(w, f.getVerticalPos());
1704
1706
  break;
1705
1707
  case n.db.LINETYPE.LOOP_START:
1706
1708
  tt(
1707
1709
  N,
1708
- m,
1710
+ w,
1709
1711
  a.boxMargin,
1710
1712
  a.boxMargin + a.boxTextMargin,
1711
1713
  (v) => f.newLoop(v)
@@ -1717,7 +1719,7 @@ const M0 = function(t, e, r, n) {
1717
1719
  case n.db.LINETYPE.RECT_START:
1718
1720
  tt(
1719
1721
  N,
1720
- m,
1722
+ w,
1721
1723
  a.boxMargin,
1722
1724
  a.boxMargin,
1723
1725
  (v) => f.newLoop(void 0, v.message)
@@ -1729,7 +1731,7 @@ const M0 = function(t, e, r, n) {
1729
1731
  case n.db.LINETYPE.OPT_START:
1730
1732
  tt(
1731
1733
  N,
1732
- m,
1734
+ w,
1733
1735
  a.boxMargin,
1734
1736
  a.boxMargin + a.boxTextMargin,
1735
1737
  (v) => f.newLoop(v)
@@ -1741,7 +1743,7 @@ const M0 = function(t, e, r, n) {
1741
1743
  case n.db.LINETYPE.ALT_START:
1742
1744
  tt(
1743
1745
  N,
1744
- m,
1746
+ w,
1745
1747
  a.boxMargin,
1746
1748
  a.boxMargin + a.boxTextMargin,
1747
1749
  (v) => f.newLoop(v)
@@ -1750,7 +1752,7 @@ const M0 = function(t, e, r, n) {
1750
1752
  case n.db.LINETYPE.ALT_ELSE:
1751
1753
  tt(
1752
1754
  N,
1753
- m,
1755
+ w,
1754
1756
  a.boxMargin + a.boxTextMargin,
1755
1757
  a.boxMargin,
1756
1758
  (v) => f.addSectionToLoop(v)
@@ -1763,7 +1765,7 @@ const M0 = function(t, e, r, n) {
1763
1765
  case n.db.LINETYPE.PAR_OVER_START:
1764
1766
  tt(
1765
1767
  N,
1766
- m,
1768
+ w,
1767
1769
  a.boxMargin,
1768
1770
  a.boxMargin + a.boxTextMargin,
1769
1771
  (v) => f.newLoop(v)
@@ -1772,7 +1774,7 @@ const M0 = function(t, e, r, n) {
1772
1774
  case n.db.LINETYPE.PAR_AND:
1773
1775
  tt(
1774
1776
  N,
1775
- m,
1777
+ w,
1776
1778
  a.boxMargin + a.boxTextMargin,
1777
1779
  a.boxMargin,
1778
1780
  (v) => f.addSectionToLoop(v)
@@ -1782,12 +1784,12 @@ const M0 = function(t, e, r, n) {
1782
1784
  E = f.endLoop(), D.drawLoop(d, E, "par", a), f.bumpVerticalPos(E.stopy - f.getVerticalPos()), f.models.addLoop(E);
1783
1785
  break;
1784
1786
  case n.db.LINETYPE.AUTONUMBER:
1785
- V = m.message.start || V, H = m.message.step || H, m.message.visible ? n.db.enableSequenceNumbers() : n.db.disableSequenceNumbers();
1787
+ V = w.message.start || V, H = w.message.step || H, w.message.visible ? n.db.enableSequenceNumbers() : n.db.disableSequenceNumbers();
1786
1788
  break;
1787
1789
  case n.db.LINETYPE.CRITICAL_START:
1788
1790
  tt(
1789
1791
  N,
1790
- m,
1792
+ w,
1791
1793
  a.boxMargin,
1792
1794
  a.boxMargin + a.boxTextMargin,
1793
1795
  (v) => f.newLoop(v)
@@ -1796,7 +1798,7 @@ const M0 = function(t, e, r, n) {
1796
1798
  case n.db.LINETYPE.CRITICAL_OPTION:
1797
1799
  tt(
1798
1800
  N,
1799
- m,
1801
+ w,
1800
1802
  a.boxMargin + a.boxTextMargin,
1801
1803
  a.boxMargin,
1802
1804
  (v) => f.addSectionToLoop(v)
@@ -1808,7 +1810,7 @@ const M0 = function(t, e, r, n) {
1808
1810
  case n.db.LINETYPE.BREAK_START:
1809
1811
  tt(
1810
1812
  N,
1811
- m,
1813
+ w,
1812
1814
  a.boxMargin,
1813
1815
  a.boxMargin + a.boxTextMargin,
1814
1816
  (v) => f.newLoop(v)
@@ -1819,9 +1821,9 @@ const M0 = function(t, e, r, n) {
1819
1821
  break;
1820
1822
  default:
1821
1823
  try {
1822
- f.resetVerticalPos(), L = m.msgModel, L.starty = f.getVerticalPos(), L.sequenceIndex = V, L.sequenceVisible = n.db.showSequenceNumbers();
1823
- const v = A0(d, L);
1824
- G.push({ messageModel: L, lineStartY: v }), f.models.addMessage(L);
1824
+ f.resetVerticalPos(), P = w.msgModel, P.starty = f.getVerticalPos(), P.sequenceIndex = V, P.sequenceVisible = n.db.showSequenceNumbers();
1825
+ const v = S0(d, P);
1826
+ G.push({ messageModel: P, lineStartY: v }), f.models.addMessage(P);
1825
1827
  } catch (v) {
1826
1828
  K.error("error while drawing message", v);
1827
1829
  }
@@ -1835,12 +1837,12 @@ const M0 = function(t, e, r, n) {
1835
1837
  n.db.LINETYPE.DOTTED_CROSS,
1836
1838
  n.db.LINETYPE.SOLID_POINT,
1837
1839
  n.db.LINETYPE.DOTTED_POINT
1838
- ].includes(m.type) && (V = V + H);
1839
- }), G.forEach((m) => S0(d, m.messageModel, m.lineStartY, n)), a.mirrorActors && (f.bumpVerticalPos(a.boxMargin * 2), qt(d, T, p, f.getVerticalPos(), a, x, !0), f.bumpVerticalPos(a.boxMargin), de(d, f.getVerticalPos())), f.models.boxes.forEach(function(m) {
1840
- m.height = f.getVerticalPos() - m.y, f.insert(m.x, m.y, m.x + m.width, m.height), m.startx = m.x, m.starty = m.y, m.stopx = m.startx + m.width, m.stopy = m.starty + m.height, m.stroke = "rgb(0,0,0, 0.5)", D.drawBox(d, m, a);
1840
+ ].includes(w.type) && (V = V + H);
1841
+ }), G.forEach((w) => M0(d, w.messageModel, w.lineStartY, n)), a.mirrorActors && (f.bumpVerticalPos(a.boxMargin * 2), qt(d, T, p, f.getVerticalPos(), a, x, !0), f.bumpVerticalPos(a.boxMargin), de(d, f.getVerticalPos())), f.models.boxes.forEach(function(w) {
1842
+ w.height = f.getVerticalPos() - w.y, f.insert(w.x, w.y, w.x + w.width, w.height), w.startx = w.x, w.starty = w.y, w.stopx = w.startx + w.width, w.stopy = w.starty + w.height, w.stroke = "rgb(0,0,0, 0.5)", D.drawBox(d, w, a);
1841
1843
  }), I && f.bumpVerticalPos(a.boxMargin);
1842
1844
  const W = fe(d, T, p, u), { bounds: O } = f.getBounds();
1843
- K.debug("For line height fix Querying: #" + e + " .actor-line"), Ve("#" + e + " .actor-line").attr("y2", O.stopy);
1845
+ K.debug("For line height fix Querying: #" + e + " .actor-line"), Ce("#" + e + " .actor-line").attr("y2", O.stopy);
1844
1846
  let F = O.stopy - O.starty;
1845
1847
  F < W.maxHeight && (F = W.maxHeight);
1846
1848
  let q = F + 2 * a.diagramMarginY;
@@ -1848,14 +1850,14 @@ const M0 = function(t, e, r, n) {
1848
1850
  let U = O.stopx - O.startx;
1849
1851
  U < W.maxWidth && (U = W.maxWidth);
1850
1852
  const J = U + 2 * a.diagramMarginX;
1851
- w && d.append("text").text(w).attr("x", (O.stopx - O.startx) / 2 - 2 * a.diagramMarginX).attr("y", -25), Ae(d, q, J, a.useMaxWidth);
1852
- const Q = w ? 40 : 0;
1853
+ m && d.append("text").text(m).attr("x", (O.stopx - O.startx) / 2 - 2 * a.diagramMarginX).attr("y", -25), Se(d, q, J, a.useMaxWidth);
1854
+ const Z = m ? 40 : 0;
1853
1855
  d.attr(
1854
1856
  "viewBox",
1855
- O.startx - a.diagramMarginX + " -" + (a.diagramMarginY + Q) + " " + J + " " + (q + Q)
1857
+ O.startx - a.diagramMarginX + " -" + (a.diagramMarginY + Z) + " " + J + " " + (q + Z)
1856
1858
  ), K.debug("models:", f.models);
1857
1859
  };
1858
- function R0(t, e, r) {
1860
+ function D0(t, e, r) {
1859
1861
  const n = {};
1860
1862
  return e.forEach(function(i) {
1861
1863
  if (t[i.to] && t[i.from]) {
@@ -1891,7 +1893,7 @@ function R0(t, e, r) {
1891
1893
  }
1892
1894
  }), K.debug("maxMessageWidthPerActor:", n), n;
1893
1895
  }
1894
- const D0 = function(t) {
1896
+ const V0 = function(t) {
1895
1897
  let e = 0;
1896
1898
  const r = Wt(a);
1897
1899
  for (const n in t.links) {
@@ -1900,7 +1902,7 @@ const D0 = function(t) {
1900
1902
  }
1901
1903
  return e;
1902
1904
  };
1903
- function V0(t, e, r) {
1905
+ function C0(t, e, r) {
1904
1906
  let n = 0;
1905
1907
  Object.keys(t).forEach((s) => {
1906
1908
  const c = t[s];
@@ -1939,7 +1941,7 @@ function V0(t, e, r) {
1939
1941
  }
1940
1942
  }), r.forEach((s) => s.textMaxHeight = i), _.getMax(n, a.height);
1941
1943
  }
1942
- const C0 = function(t, e, r) {
1944
+ const O0 = function(t, e, r) {
1943
1945
  const n = e[t.from].x, i = e[t.to].x, s = t.wrap && t.message;
1944
1946
  let c = C.calculateTextDimensions(
1945
1947
  s ? C.wrapLabel(t.message, a.width, gt(a)) : t.message,
@@ -1978,7 +1980,7 @@ const C0 = function(t, e, r) {
1978
1980
  )), K.debug(
1979
1981
  `NM:[${l.startx},${l.stopx},${l.starty},${l.stopy}:${l.width},${l.height}=${t.message}]`
1980
1982
  ), l;
1981
- }, O0 = function(t, e, r) {
1983
+ }, B0 = function(t, e, r) {
1982
1984
  let n = !1;
1983
1985
  if ([
1984
1986
  r.db.LINETYPE.SOLID_OPEN,
@@ -2015,7 +2017,7 @@ const C0 = function(t, e, r) {
2015
2017
  fromBounds: Math.min.apply(null, u),
2016
2018
  toBounds: Math.max.apply(null, u)
2017
2019
  };
2018
- }, B0 = function(t, e, r, n) {
2020
+ }, Y0 = function(t, e, r, n) {
2019
2021
  const i = {}, s = [];
2020
2022
  let c, l, u;
2021
2023
  return t.forEach(function(d) {
@@ -2050,13 +2052,13 @@ const C0 = function(t, e, r) {
2050
2052
  break;
2051
2053
  case n.db.LINETYPE.ACTIVE_START:
2052
2054
  {
2053
- const y = e[d.from ? d.from.actor : d.to.actor], p = At(d.from ? d.from.actor : d.to.actor).length, x = y.x + y.width / 2 + (p - 1) * a.activationWidth / 2, w = {
2055
+ const y = e[d.from ? d.from.actor : d.to.actor], p = At(d.from ? d.from.actor : d.to.actor).length, x = y.x + y.width / 2 + (p - 1) * a.activationWidth / 2, m = {
2054
2056
  startx: x,
2055
2057
  stopx: x + a.activationWidth,
2056
2058
  actor: d.from.actor,
2057
2059
  enabled: !0
2058
2060
  };
2059
- f.activations.push(w);
2061
+ f.activations.push(m);
2060
2062
  }
2061
2063
  break;
2062
2064
  case n.db.LINETYPE.ACTIVE_END:
@@ -2066,9 +2068,9 @@ const C0 = function(t, e, r) {
2066
2068
  }
2067
2069
  break;
2068
2070
  }
2069
- d.placement !== void 0 ? (l = C0(d, e, n), d.noteModel = l, s.forEach((y) => {
2071
+ d.placement !== void 0 ? (l = O0(d, e, n), d.noteModel = l, s.forEach((y) => {
2070
2072
  c = y, c.from = _.getMin(c.from, l.startx), c.to = _.getMax(c.to, l.startx + l.width), c.width = _.getMax(c.width, Math.abs(c.from - c.to)) - a.labelBoxWidth;
2071
- })) : (u = O0(d, e, n), d.msgModel = u, u.startx && u.stopx && s.length > 0 && s.forEach((y) => {
2073
+ })) : (u = B0(d, e, n), d.msgModel = u, u.startx && u.stopx && s.length > 0 && s.forEach((y) => {
2072
2074
  if (c = y, u.startx === u.stopx) {
2073
2075
  const p = e[d.from], x = e[d.to];
2074
2076
  c.from = _.getMin(
@@ -2084,18 +2086,18 @@ const C0 = function(t, e, r) {
2084
2086
  c.from = _.getMin(u.startx, c.from), c.to = _.getMax(u.stopx, c.to), c.width = _.getMax(c.width, u.width) - a.labelBoxWidth;
2085
2087
  }));
2086
2088
  }), f.activations = [], K.debug("Loop type widths:", i), i;
2087
- }, Y0 = {
2089
+ }, F0 = {
2088
2090
  bounds: f,
2089
2091
  drawActors: qt,
2090
2092
  drawActorsPopup: fe,
2091
2093
  setConf: ge,
2092
- draw: M0
2093
- }, z0 = {
2094
- parser: Ce,
2095
- db: a0,
2096
- renderer: Y0,
2097
- styles: o0
2094
+ draw: R0
2095
+ }, H0 = {
2096
+ parser: Oe,
2097
+ db: r0,
2098
+ renderer: F0,
2099
+ styles: c0
2098
2100
  };
2099
2101
  export {
2100
- z0 as diagram
2102
+ H0 as diagram
2101
2103
  };