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
@@ -31,7 +31,7 @@ function ql(t) {
31
31
  }), s;
32
32
  }
33
33
  var Pl = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
34
- function Cx(t) {
34
+ function xx(t) {
35
35
  return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
36
36
  }
37
37
  var Yr = {}, zl = {
@@ -1278,7 +1278,7 @@ function Uc(t, e, i) {
1278
1278
  return Math.pow(t + r * e, i);
1279
1279
  };
1280
1280
  }
1281
- function xx(t, e) {
1281
+ function bx(t, e) {
1282
1282
  var i = e - t;
1283
1283
  return i ? Bs(t, i > 180 || i < -180 ? i - 360 * Math.round(i / 360) : i) : Cn(isNaN(t) ? e : t);
1284
1284
  }
@@ -1992,11 +1992,11 @@ function ff(t) {
1992
1992
  }
1993
1993
  ni.prototype.interrupt = lu;
1994
1994
  ni.prototype.transition = ff;
1995
- const bx = Math.abs, Tx = Math.atan2, Sx = Math.cos, kx = Math.max, vx = Math.min, wx = Math.sin, Bx = Math.sqrt, To = 1e-12, Sn = Math.PI, So = Sn / 2, Fx = 2 * Sn;
1996
- function Lx(t) {
1995
+ const Tx = Math.abs, Sx = Math.atan2, kx = Math.cos, vx = Math.max, wx = Math.min, Bx = Math.sin, Fx = Math.sqrt, To = 1e-12, Sn = Math.PI, So = Sn / 2, Lx = 2 * Sn;
1996
+ function Ax(t) {
1997
1997
  return t > 1 ? 0 : t < -1 ? Sn : Math.acos(t);
1998
1998
  }
1999
- function Ax(t) {
1999
+ function Ex(t) {
2000
2000
  return t >= 1 ? So : t <= -1 ? -So : Math.asin(t);
2001
2001
  }
2002
2002
  function Rs(t) {
@@ -7598,7 +7598,7 @@ function li(t, e) {
7598
7598
  return i.cache = new (li.Cache || ge)(), i;
7599
7599
  }
7600
7600
  li.Cache = ge;
7601
- const c0 = {
7601
+ const c0 = "​", u0 = {
7602
7602
  curveBasis: mf,
7603
7603
  curveBasisClosed: _f,
7604
7604
  curveBasisOpen: yf,
@@ -7619,7 +7619,7 @@ const c0 = {
7619
7619
  curveStep: Af,
7620
7620
  curveStepAfter: Mf,
7621
7621
  curveStepBefore: Ef
7622
- }, Wr = /%{2}{\s*(?:(\w+)\s*:|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi, u0 = /\s*(?:(\w+)(?=:):|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi, f0 = function(t, e) {
7622
+ }, Wr = /%{2}{\s*(?:(\w+)\s*:|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi, f0 = /\s*(?:(\w+)(?=:):|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi, d0 = function(t, e) {
7623
7623
  const i = ja(t, /(?:init\b)|(?:initialize\b)/);
7624
7624
  let r = {};
7625
7625
  if (Array.isArray(i)) {
@@ -7637,7 +7637,7 @@ const c0 = {
7637
7637
  }, ja = function(t, e = null) {
7638
7638
  try {
7639
7639
  const i = new RegExp(
7640
- `[%]{2}(?![{]${u0.source})(?=[}][%]{2}).*
7640
+ `[%]{2}(?![{]${f0.source})(?=[}][%]{2}).*
7641
7641
  `,
7642
7642
  "ig"
7643
7643
  );
@@ -7658,24 +7658,24 @@ const c0 = {
7658
7658
  ${e !== null ? " type:" + e : ""} based on the text:${t}`
7659
7659
  ), { type: null, args: null };
7660
7660
  }
7661
- }, d0 = function(t, e) {
7661
+ }, p0 = function(t, e) {
7662
7662
  for (const [i, r] of e.entries())
7663
7663
  if (r.match(t))
7664
7664
  return i;
7665
7665
  return -1;
7666
7666
  };
7667
- function p0(t, e) {
7667
+ function g0(t, e) {
7668
7668
  if (!t)
7669
7669
  return e;
7670
7670
  const i = `curve${t.charAt(0).toUpperCase() + t.slice(1)}`;
7671
- return c0[i] || e;
7671
+ return u0[i] || e;
7672
7672
  }
7673
- function g0(t, e) {
7673
+ function m0(t, e) {
7674
7674
  const i = t.trim();
7675
7675
  if (i)
7676
7676
  return e.securityLevel !== "loose" ? us(i) : i;
7677
7677
  }
7678
- const m0 = (t, ...e) => {
7678
+ const _0 = (t, ...e) => {
7679
7679
  const i = t.split("."), r = i.length - 1, n = i[r];
7680
7680
  let o = window;
7681
7681
  for (let s = 0; s < r; s++)
@@ -7686,7 +7686,7 @@ const m0 = (t, ...e) => {
7686
7686
  function er(t, e) {
7687
7687
  return t && e ? Math.sqrt(Math.pow(e.x - t.x, 2) + Math.pow(e.y - t.y, 2)) : 0;
7688
7688
  }
7689
- function _0(t) {
7689
+ function y0(t) {
7690
7690
  let e, i = 0;
7691
7691
  t.forEach((o) => {
7692
7692
  i += er(o, e), e = o;
@@ -7708,10 +7708,10 @@ function _0(t) {
7708
7708
  e = o;
7709
7709
  }), n;
7710
7710
  }
7711
- function y0(t) {
7712
- return t.length === 1 ? t[0] : _0(t);
7711
+ function C0(t) {
7712
+ return t.length === 1 ? t[0] : y0(t);
7713
7713
  }
7714
- const C0 = (t, e, i) => {
7714
+ const x0 = (t, e, i) => {
7715
7715
  let r;
7716
7716
  S.info(`our points ${JSON.stringify(e)}`), e[0] !== i && (e = e.reverse());
7717
7717
  let o = 25, s;
@@ -7733,7 +7733,7 @@ const C0 = (t, e, i) => {
7733
7733
  const a = t ? 10 : 5, l = Math.atan2(e[0].y - s.y, e[0].x - s.x), h = { x: 0, y: 0 };
7734
7734
  return h.x = Math.sin(l) * a + (e[0].x + s.x) / 2, h.y = -Math.cos(l) * a + (e[0].y + s.y) / 2, h;
7735
7735
  };
7736
- function x0(t, e, i) {
7736
+ function b0(t, e, i) {
7737
7737
  let r = JSON.parse(JSON.stringify(i)), n;
7738
7738
  S.info("our points", r), e !== "start_left" && e !== "start_right" && (r = r.reverse()), r.forEach((u) => {
7739
7739
  n = u;
@@ -7757,22 +7757,22 @@ function x0(t, e, i) {
7757
7757
  const l = 10 + t * 0.5, h = Math.atan2(r[0].y - a.y, r[0].x - a.x), c = { x: 0, y: 0 };
7758
7758
  return c.x = Math.sin(h) * l + (r[0].x + a.x) / 2, c.y = -Math.cos(h) * l + (r[0].y + a.y) / 2, e === "start_left" && (c.x = Math.sin(h + Math.PI) * l + (r[0].x + a.x) / 2, c.y = -Math.cos(h + Math.PI) * l + (r[0].y + a.y) / 2), e === "end_right" && (c.x = Math.sin(h - Math.PI) * l + (r[0].x + a.x) / 2 - 5, c.y = -Math.cos(h - Math.PI) * l + (r[0].y + a.y) / 2 - 5), e === "end_left" && (c.x = Math.sin(h) * l + (r[0].x + a.x) / 2 - 5, c.y = -Math.cos(h) * l + (r[0].y + a.y) / 2 - 5), c;
7759
7759
  }
7760
- function b0(t) {
7760
+ function T0(t) {
7761
7761
  let e = "", i = "";
7762
7762
  for (const r of t)
7763
7763
  r !== void 0 && (r.startsWith("color:") || r.startsWith("text-align:") ? i = i + r + ";" : e = e + r + ";");
7764
7764
  return { style: e, labelStyle: i };
7765
7765
  }
7766
7766
  let Go = 0;
7767
- const T0 = () => (Go++, "id-" + Math.random().toString(36).substr(2, 12) + "-" + Go);
7768
- function S0(t) {
7767
+ const S0 = () => (Go++, "id-" + Math.random().toString(36).substr(2, 12) + "-" + Go);
7768
+ function k0(t) {
7769
7769
  let e = "";
7770
7770
  const i = "0123456789abcdef", r = i.length;
7771
7771
  for (let n = 0; n < t; n++)
7772
7772
  e += i.charAt(Math.floor(Math.random() * r));
7773
7773
  return e;
7774
7774
  }
7775
- const k0 = (t) => S0(t.length), v0 = function() {
7775
+ const v0 = (t) => k0(t.length), w0 = function() {
7776
7776
  return {
7777
7777
  x: 0,
7778
7778
  y: 0,
@@ -7786,12 +7786,12 @@ const k0 = (t) => S0(t.length), v0 = function() {
7786
7786
  ry: 0,
7787
7787
  valign: void 0
7788
7788
  };
7789
- }, w0 = function(t, e) {
7789
+ }, B0 = function(t, e) {
7790
7790
  const i = e.text.replace(Fn.lineBreakRegex, " "), [, r] = Nn(e.fontSize), n = t.append("text");
7791
7791
  n.attr("x", e.x), n.attr("y", e.y), n.style("text-anchor", e.anchor), n.style("font-family", e.fontFamily), n.style("font-size", r), n.style("font-weight", e.fontWeight), n.attr("fill", e.fill), e.class !== void 0 && n.attr("class", e.class);
7792
7792
  const o = n.append("tspan");
7793
7793
  return o.attr("x", e.x + e.textMargin * 2), o.attr("fill", e.fill), o.text(i), n;
7794
- }, B0 = li(
7794
+ }, F0 = li(
7795
7795
  (t, e, i) => {
7796
7796
  if (!t || (i = Object.assign(
7797
7797
  { fontSize: 12, fontWeight: 400, fontFamily: "Arial", joinWith: "<br/>" },
@@ -7803,7 +7803,7 @@ const k0 = (t) => S0(t.length), v0 = function() {
7803
7803
  return r.forEach((s, a) => {
7804
7804
  const l = ir(`${s} `, i), h = ir(o, i);
7805
7805
  if (l > e) {
7806
- const { hyphenatedStrings: g, remainingWord: p } = F0(s, e, "-", i);
7806
+ const { hyphenatedStrings: g, remainingWord: p } = L0(s, e, "-", i);
7807
7807
  n.push(o, ...g), o = p;
7808
7808
  } else
7809
7809
  h + l >= e ? (n.push(o), o = s) : o = [o, s].filter(Boolean).join(" ");
@@ -7811,7 +7811,7 @@ const k0 = (t) => S0(t.length), v0 = function() {
7811
7811
  }), n.filter((s) => s !== "").join(i.joinWith);
7812
7812
  },
7813
7813
  (t, e, i) => `${t}${e}${i.fontSize}${i.fontWeight}${i.fontFamily}${i.joinWith}`
7814
- ), F0 = li(
7814
+ ), L0 = li(
7815
7815
  (t, e, i = "-", r) => {
7816
7816
  r = Object.assign(
7817
7817
  { fontSize: 12, fontWeight: 400, fontFamily: "Arial", margin: 0 },
@@ -7830,7 +7830,7 @@ const k0 = (t) => S0(t.length), v0 = function() {
7830
7830
  },
7831
7831
  (t, e, i = "-", r) => `${t}${e}${i}${r.fontSize}${r.fontWeight}${r.fontFamily}`
7832
7832
  );
7833
- function L0(t, e) {
7833
+ function A0(t, e) {
7834
7834
  return e = Object.assign(
7835
7835
  { fontSize: 12, fontWeight: 400, fontFamily: "Arial", margin: 15 },
7836
7836
  e
@@ -7853,9 +7853,9 @@ const Dn = li(
7853
7853
  let p = 0;
7854
7854
  const _ = { width: 0, height: 0, lineHeight: 0 };
7855
7855
  for (const v of a) {
7856
- const M = v0();
7857
- M.text = v;
7858
- const q = w0(c, M).style("font-size", o).style("font-weight", n).style("font-family", g), k = (q._groups || q)[0][0].getBBox();
7856
+ const M = w0();
7857
+ M.text = v || c0;
7858
+ const q = B0(c, M).style("font-size", o).style("font-weight", n).style("font-family", g), k = (q._groups || q)[0][0].getBBox();
7859
7859
  if (k.width === 0 && k.height === 0)
7860
7860
  throw new Error("svg element not in render tree");
7861
7861
  _.width = Math.round(Math.max(_.width, k.width)), p = Math.round(k.height), _.height += p, _.lineHeight = Math.round(Math.max(_.lineHeight, p));
@@ -7867,7 +7867,7 @@ const Dn = li(
7867
7867
  return l[u];
7868
7868
  },
7869
7869
  (t, e) => `${t}${e.fontSize}${e.fontWeight}${e.fontFamily}`
7870
- ), A0 = class {
7870
+ ), E0 = class {
7871
7871
  constructor(e, i) {
7872
7872
  this.deterministic = e, this.seed = i, this.count = i ? i.length : 0;
7873
7873
  }
@@ -7876,7 +7876,7 @@ const Dn = li(
7876
7876
  }
7877
7877
  };
7878
7878
  let Ti;
7879
- const E0 = function(t) {
7879
+ const M0 = function(t) {
7880
7880
  return Ti = Ti || document.createElement("div"), t = escape(t).replace(/%26/g, "&").replace(/%23/g, "#").replace(/%3B/g, ";"), Ti.innerHTML = t, unescape(Ti.textContent);
7881
7881
  }, Ee = (t) => {
7882
7882
  if (S.debug("directiveSanitizer called with", t), typeof t == "object" && (t.length ? t.forEach((e) => Ee(e)) : Object.keys(t).forEach((e) => {
@@ -7901,10 +7901,10 @@ const E0 = function(t) {
7901
7901
  function Ua(t) {
7902
7902
  return "str" in t;
7903
7903
  }
7904
- function M0(t) {
7904
+ function O0(t) {
7905
7905
  return t instanceof Error ? t.message : String(t);
7906
7906
  }
7907
- const O0 = (t, e, i, r) => {
7907
+ const I0 = (t, e, i, r) => {
7908
7908
  if (!r)
7909
7909
  return;
7910
7910
  const n = t.node().getBBox();
@@ -7916,37 +7916,37 @@ const O0 = (t, e, i, r) => {
7916
7916
  return Number.isNaN(e) ? [void 0, void 0] : t === String(e) ? [e, t + "px"] : [e, t];
7917
7917
  }, Oi = {
7918
7918
  assignWithDepth: nt,
7919
- wrapLabel: B0,
7920
- calculateTextHeight: L0,
7919
+ wrapLabel: F0,
7920
+ calculateTextHeight: A0,
7921
7921
  calculateTextWidth: ir,
7922
7922
  calculateTextDimensions: Dn,
7923
- detectInit: f0,
7923
+ detectInit: d0,
7924
7924
  detectDirective: ja,
7925
- isSubstringInArray: d0,
7926
- interpolateToCurve: p0,
7927
- calcLabelPosition: y0,
7928
- calcCardinalityPosition: C0,
7929
- calcTerminalLabelPosition: x0,
7930
- formatUrl: g0,
7931
- getStylesFromArray: b0,
7932
- generateId: T0,
7933
- random: k0,
7934
- runFunc: m0,
7935
- entityDecode: E0,
7936
- initIdGenerator: A0,
7925
+ isSubstringInArray: p0,
7926
+ interpolateToCurve: g0,
7927
+ calcLabelPosition: C0,
7928
+ calcCardinalityPosition: x0,
7929
+ calcTerminalLabelPosition: b0,
7930
+ formatUrl: m0,
7931
+ getStylesFromArray: T0,
7932
+ generateId: S0,
7933
+ random: v0,
7934
+ runFunc: _0,
7935
+ entityDecode: M0,
7936
+ initIdGenerator: E0,
7937
7937
  directiveSanitizer: Ee,
7938
7938
  sanitizeCss: Mi,
7939
- insertTitle: O0,
7939
+ insertTitle: I0,
7940
7940
  parseFontSize: Nn
7941
7941
  };
7942
- var Ya = "comm", Ga = "rule", Va = "decl", I0 = "@import", $0 = "@keyframes", D0 = Math.abs, Rn = String.fromCharCode;
7942
+ var Ya = "comm", Ga = "rule", Va = "decl", $0 = "@import", D0 = "@keyframes", N0 = Math.abs, Rn = String.fromCharCode;
7943
7943
  function Xa(t) {
7944
7944
  return t.trim();
7945
7945
  }
7946
7946
  function on(t, e, i) {
7947
7947
  return t.replace(e, i);
7948
7948
  }
7949
- function N0(t, e) {
7949
+ function R0(t, e) {
7950
7950
  return t.indexOf(e);
7951
7951
  }
7952
7952
  function ii(t, e) {
@@ -7968,10 +7968,10 @@ var Cr = 1, Me = 1, Za = 0, bt = 0, Z = 0, $e = "";
7968
7968
  function qn(t, e, i, r, n, o, s) {
7969
7969
  return { value: t, root: e, parent: i, type: r, props: n, children: o, line: Cr, column: Me, length: s, return: "" };
7970
7970
  }
7971
- function R0() {
7971
+ function q0() {
7972
7972
  return Z;
7973
7973
  }
7974
- function q0() {
7974
+ function P0() {
7975
7975
  return Z = bt > 0 ? ii($e, --bt) : 0, Me--, Z === 10 && (Me = 1, Cr--), Z;
7976
7976
  }
7977
7977
  function vt() {
@@ -8018,21 +8018,21 @@ function sn(t) {
8018
8018
  }
8019
8019
  return 0;
8020
8020
  }
8021
- function P0(t) {
8021
+ function z0(t) {
8022
8022
  return Cr = Me = 1, Za = Zt($e = t), bt = 0, [];
8023
8023
  }
8024
- function z0(t) {
8024
+ function W0(t) {
8025
8025
  return $e = "", t;
8026
8026
  }
8027
8027
  function Hr(t) {
8028
8028
  return Xa(xr(bt - 1, an(t === 91 ? t + 2 : t === 40 ? t + 1 : t)));
8029
8029
  }
8030
- function W0(t) {
8030
+ function H0(t) {
8031
8031
  for (; (Z = ce()) && Z < 33; )
8032
8032
  vt();
8033
8033
  return sn(t) > 2 || sn(Z) > 3 ? "" : " ";
8034
8034
  }
8035
- function H0(t, e) {
8035
+ function j0(t, e) {
8036
8036
  for (; --e && vt() && !(Z < 48 || Z > 102 || Z > 57 && Z < 65 || Z > 70 && Z < 97); )
8037
8037
  ;
8038
8038
  return xr(t, Ii() + (e < 6 && ce() == 32 && vt() == 32));
@@ -8055,26 +8055,26 @@ function an(t) {
8055
8055
  }
8056
8056
  return bt;
8057
8057
  }
8058
- function j0(t, e) {
8058
+ function U0(t, e) {
8059
8059
  for (; vt() && t + Z !== 47 + 10; )
8060
8060
  if (t + Z === 42 + 42 && ce() === 47)
8061
8061
  break;
8062
8062
  return "/*" + xr(e, bt - 1) + "*" + Rn(t === 47 ? t : vt());
8063
8063
  }
8064
- function U0(t) {
8064
+ function Y0(t) {
8065
8065
  for (; !sn(ce()); )
8066
8066
  vt();
8067
8067
  return xr(t, bt);
8068
8068
  }
8069
- function Y0(t) {
8070
- return z0($i("", null, null, null, [""], t = P0(t), 0, [0], t));
8069
+ function G0(t) {
8070
+ return W0($i("", null, null, null, [""], t = z0(t), 0, [0], t));
8071
8071
  }
8072
8072
  function $i(t, e, i, r, n, o, s, a, l) {
8073
8073
  for (var h = 0, c = 0, u = s, g = 0, p = 0, _ = 0, v = 1, M = 1, q = 1, k = 0, z = "", Q = n, X = o, G = r, W = z; M; )
8074
8074
  switch (_ = k, k = vt()) {
8075
8075
  case 40:
8076
8076
  if (_ != 108 && ii(W, u - 1) == 58) {
8077
- N0(W += on(Hr(k), "&", "&\f"), "&\f") != -1 && (q = -1);
8077
+ R0(W += on(Hr(k), "&", "&\f"), "&\f") != -1 && (q = -1);
8078
8078
  break;
8079
8079
  }
8080
8080
  case 34:
@@ -8086,16 +8086,16 @@ function $i(t, e, i, r, n, o, s, a, l) {
8086
8086
  case 10:
8087
8087
  case 13:
8088
8088
  case 32:
8089
- W += W0(_);
8089
+ W += H0(_);
8090
8090
  break;
8091
8091
  case 92:
8092
- W += H0(Ii() - 1, 7);
8092
+ W += j0(Ii() - 1, 7);
8093
8093
  continue;
8094
8094
  case 47:
8095
8095
  switch (ce()) {
8096
8096
  case 42:
8097
8097
  case 47:
8098
- Si(G0(j0(vt(), Ii()), e, i), l);
8098
+ Si(V0(U0(vt(), Ii()), e, i), l);
8099
8099
  break;
8100
8100
  default:
8101
8101
  W += "/";
@@ -8138,7 +8138,7 @@ function $i(t, e, i, r, n, o, s, a, l) {
8138
8138
  if (v < 1) {
8139
8139
  if (k == 123)
8140
8140
  --v;
8141
- else if (k == 125 && v++ == 0 && q0() == 125)
8141
+ else if (k == 125 && v++ == 0 && P0() == 125)
8142
8142
  continue;
8143
8143
  }
8144
8144
  switch (W += Rn(k), k * v) {
@@ -8149,7 +8149,7 @@ function $i(t, e, i, r, n, o, s, a, l) {
8149
8149
  a[h++] = (Zt(W) - 1) * q, q = 1;
8150
8150
  break;
8151
8151
  case 64:
8152
- ce() === 45 && (W += Hr(vt())), g = ce(), c = u = Zt(z = W += U0(Ii())), k++;
8152
+ ce() === 45 && (W += Hr(vt())), g = ce(), c = u = Zt(z = W += Y0(Ii())), k++;
8153
8153
  break;
8154
8154
  case 45:
8155
8155
  _ === 45 && Zt(W) == 2 && (v = 0);
@@ -8159,12 +8159,12 @@ function $i(t, e, i, r, n, o, s, a, l) {
8159
8159
  }
8160
8160
  function Vo(t, e, i, r, n, o, s, a, l, h, c) {
8161
8161
  for (var u = n - 1, g = n === 0 ? o : [""], p = Ka(g), _ = 0, v = 0, M = 0; _ < r; ++_)
8162
- for (var q = 0, k = ri(t, u + 1, u = D0(v = s[_])), z = t; q < p; ++q)
8162
+ for (var q = 0, k = ri(t, u + 1, u = N0(v = s[_])), z = t; q < p; ++q)
8163
8163
  (z = Xa(v > 0 ? g[q] + " " + k : on(k, /&\f/g, g[q]))) && (l[M++] = z);
8164
8164
  return qn(t, e, i, n === 0 ? Ga : a, l, h, c);
8165
8165
  }
8166
- function G0(t, e, i) {
8167
- return qn(t, e, i, Ya, Rn(R0()), ri(t, 2, -2), 0);
8166
+ function V0(t, e, i) {
8167
+ return qn(t, e, i, Ya, Rn(q0()), ri(t, 2, -2), 0);
8168
8168
  }
8169
8169
  function Xo(t, e, i, r) {
8170
8170
  return qn(t, e, i, Va, ri(t, 0, r), ri(t, r + 1, -1), r);
@@ -8174,152 +8174,152 @@ function ln(t, e) {
8174
8174
  i += e(t[n], n, t, e) || "";
8175
8175
  return i;
8176
8176
  }
8177
- function V0(t, e, i, r) {
8177
+ function X0(t, e, i, r) {
8178
8178
  switch (t.type) {
8179
- case I0:
8179
+ case $0:
8180
8180
  case Va:
8181
8181
  return t.return = t.return || t.value;
8182
8182
  case Ya:
8183
8183
  return "";
8184
- case $0:
8184
+ case D0:
8185
8185
  return t.return = t.value + "{" + ln(t.children, r) + "}";
8186
8186
  case Ga:
8187
8187
  t.value = t.props.join(",");
8188
8188
  }
8189
8189
  return Zt(i = ln(t.children, r)) ? t.return = t.value + "{" + i + "}" : "";
8190
8190
  }
8191
- const Ko = "10.2.2", Ja = "c4", X0 = (t) => t.match(/^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/) !== null, K0 = async () => {
8192
- const { diagram: t } = await import("./c4Diagram-30400ad0.js");
8191
+ const Ko = "10.2.3", Ja = "c4", K0 = (t) => t.match(/^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/) !== null, Z0 = async () => {
8192
+ const { diagram: t } = await import("./c4Diagram-380bf510.js");
8193
8193
  return { id: Ja, diagram: t };
8194
- }, Z0 = {
8194
+ }, J0 = {
8195
8195
  id: Ja,
8196
- detector: X0,
8197
- loader: K0
8198
- }, J0 = Z0, Qa = "flowchart", Q0 = (t, e) => {
8196
+ detector: K0,
8197
+ loader: Z0
8198
+ }, Q0 = J0, Qa = "flowchart", t_ = (t, e) => {
8199
8199
  var i, r;
8200
8200
  return ((i = e == null ? void 0 : e.flowchart) == null ? void 0 : i.defaultRenderer) === "dagre-wrapper" || ((r = e == null ? void 0 : e.flowchart) == null ? void 0 : r.defaultRenderer) === "elk" ? !1 : t.match(/^\s*graph/) !== null;
8201
- }, t_ = async () => {
8202
- const { diagram: t } = await import("./flowDiagram-d3a638d5.js");
8201
+ }, e_ = async () => {
8202
+ const { diagram: t } = await import("./flowDiagram-8fe09f21.js");
8203
8203
  return { id: Qa, diagram: t };
8204
- }, e_ = {
8204
+ }, i_ = {
8205
8205
  id: Qa,
8206
- detector: Q0,
8207
- loader: t_
8208
- }, i_ = e_, tl = "flowchart-v2", r_ = (t, e) => {
8206
+ detector: t_,
8207
+ loader: e_
8208
+ }, r_ = i_, tl = "flowchart-v2", n_ = (t, e) => {
8209
8209
  var i, r, n;
8210
8210
  return ((i = e == null ? void 0 : e.flowchart) == null ? void 0 : i.defaultRenderer) === "dagre-d3" || ((r = e == null ? void 0 : e.flowchart) == null ? void 0 : r.defaultRenderer) === "elk" ? !1 : t.match(/^\s*graph/) !== null && ((n = e == null ? void 0 : e.flowchart) == null ? void 0 : n.defaultRenderer) === "dagre-wrapper" ? !0 : t.match(/^\s*flowchart/) !== null;
8211
- }, n_ = async () => {
8212
- const { diagram: t } = await import("./flowDiagram-v2-c75a17c2.js");
8211
+ }, o_ = async () => {
8212
+ const { diagram: t } = await import("./flowDiagram-v2-3b8e6891.js");
8213
8213
  return { id: tl, diagram: t };
8214
- }, o_ = {
8214
+ }, s_ = {
8215
8215
  id: tl,
8216
- detector: r_,
8217
- loader: n_
8218
- }, s_ = o_, el = "er", a_ = (t) => t.match(/^\s*erDiagram/) !== null, l_ = async () => {
8219
- const { diagram: t } = await import("./erDiagram-79324bed.js");
8216
+ detector: n_,
8217
+ loader: o_
8218
+ }, a_ = s_, el = "er", l_ = (t) => t.match(/^\s*erDiagram/) !== null, h_ = async () => {
8219
+ const { diagram: t } = await import("./erDiagram-bd715e3e.js");
8220
8220
  return { id: el, diagram: t };
8221
- }, h_ = {
8221
+ }, c_ = {
8222
8222
  id: el,
8223
- detector: a_,
8224
- loader: l_
8225
- }, c_ = h_, il = "gitGraph", u_ = (t) => t.match(/^\s*gitGraph/) !== null, f_ = async () => {
8226
- const { diagram: t } = await import("./gitGraphDiagram-bd04333d.js");
8223
+ detector: l_,
8224
+ loader: h_
8225
+ }, u_ = c_, il = "gitGraph", f_ = (t) => t.match(/^\s*gitGraph/) !== null, d_ = async () => {
8226
+ const { diagram: t } = await import("./gitGraphDiagram-49074372.js");
8227
8227
  return { id: il, diagram: t };
8228
- }, d_ = {
8228
+ }, p_ = {
8229
8229
  id: il,
8230
- detector: u_,
8231
- loader: f_
8232
- }, p_ = d_, rl = "gantt", g_ = (t) => t.match(/^\s*gantt/) !== null, m_ = async () => {
8233
- const { diagram: t } = await import("./ganttDiagram-eddf2b5d.js");
8230
+ detector: f_,
8231
+ loader: d_
8232
+ }, g_ = p_, rl = "gantt", m_ = (t) => t.match(/^\s*gantt/) !== null, __ = async () => {
8233
+ const { diagram: t } = await import("./ganttDiagram-8a43e655.js");
8234
8234
  return { id: rl, diagram: t };
8235
- }, __ = {
8235
+ }, y_ = {
8236
8236
  id: rl,
8237
- detector: g_,
8238
- loader: m_
8239
- }, y_ = __, nl = "info", C_ = (t) => t.match(/^\s*info/) !== null, x_ = async () => {
8240
- const { diagram: t } = await import("./infoDiagram-d8edadcf.js");
8237
+ detector: m_,
8238
+ loader: __
8239
+ }, C_ = y_, nl = "info", x_ = (t) => t.match(/^\s*info/) !== null, b_ = async () => {
8240
+ const { diagram: t } = await import("./infoDiagram-a3502c4f.js");
8241
8241
  return { id: nl, diagram: t };
8242
- }, b_ = {
8242
+ }, T_ = {
8243
8243
  id: nl,
8244
- detector: C_,
8245
- loader: x_
8246
- }, T_ = b_, ol = "pie", S_ = (t) => t.match(/^\s*pie/) !== null, k_ = async () => {
8247
- const { diagram: t } = await import("./pieDiagram-9f52f3c8.js");
8244
+ detector: x_,
8245
+ loader: b_
8246
+ }, S_ = T_, ol = "pie", k_ = (t) => t.match(/^\s*pie/) !== null, v_ = async () => {
8247
+ const { diagram: t } = await import("./pieDiagram-b14d6516.js");
8248
8248
  return { id: ol, diagram: t };
8249
- }, v_ = {
8249
+ }, w_ = {
8250
8250
  id: ol,
8251
- detector: S_,
8252
- loader: k_
8253
- }, w_ = v_, sl = "quadrantChart", B_ = (t) => t.match(/^\s*quadrantChart/) !== null, F_ = async () => {
8254
- const { diagram: t } = await import("./quadrantDiagram-0bfe3602.js");
8251
+ detector: k_,
8252
+ loader: v_
8253
+ }, B_ = w_, sl = "quadrantChart", F_ = (t) => t.match(/^\s*quadrantChart/) !== null, L_ = async () => {
8254
+ const { diagram: t } = await import("./quadrantDiagram-5b13e66e.js");
8255
8255
  return { id: sl, diagram: t };
8256
- }, L_ = {
8256
+ }, A_ = {
8257
8257
  id: sl,
8258
- detector: B_,
8259
- loader: F_
8260
- }, A_ = L_, al = "requirement", E_ = (t) => t.match(/^\s*requirement(Diagram)?/) !== null, M_ = async () => {
8261
- const { diagram: t } = await import("./requirementDiagram-480c4b33.js");
8258
+ detector: F_,
8259
+ loader: L_
8260
+ }, E_ = A_, al = "requirement", M_ = (t) => t.match(/^\s*requirement(Diagram)?/) !== null, O_ = async () => {
8261
+ const { diagram: t } = await import("./requirementDiagram-20d822e5.js");
8262
8262
  return { id: al, diagram: t };
8263
- }, O_ = {
8263
+ }, I_ = {
8264
8264
  id: al,
8265
- detector: E_,
8266
- loader: M_
8267
- }, I_ = O_, ll = "sequence", $_ = (t) => t.match(/^\s*sequenceDiagram/) !== null, D_ = async () => {
8268
- const { diagram: t } = await import("./sequenceDiagram-5e6de89c.js");
8265
+ detector: M_,
8266
+ loader: O_
8267
+ }, $_ = I_, ll = "sequence", D_ = (t) => t.match(/^\s*sequenceDiagram/) !== null, N_ = async () => {
8268
+ const { diagram: t } = await import("./sequenceDiagram-1d99af4c.js");
8269
8269
  return { id: ll, diagram: t };
8270
- }, N_ = {
8270
+ }, R_ = {
8271
8271
  id: ll,
8272
- detector: $_,
8273
- loader: D_
8274
- }, R_ = N_, hl = "class", q_ = (t, e) => {
8272
+ detector: D_,
8273
+ loader: N_
8274
+ }, q_ = R_, hl = "class", P_ = (t, e) => {
8275
8275
  var i;
8276
8276
  return ((i = e == null ? void 0 : e.class) == null ? void 0 : i.defaultRenderer) === "dagre-wrapper" ? !1 : t.match(/^\s*classDiagram/) !== null;
8277
- }, P_ = async () => {
8278
- const { diagram: t } = await import("./classDiagram-a3547413.js");
8277
+ }, z_ = async () => {
8278
+ const { diagram: t } = await import("./classDiagram-5d1b8e6f.js");
8279
8279
  return { id: hl, diagram: t };
8280
- }, z_ = {
8280
+ }, W_ = {
8281
8281
  id: hl,
8282
- detector: q_,
8283
- loader: P_
8284
- }, W_ = z_, cl = "classDiagram", H_ = (t, e) => {
8282
+ detector: P_,
8283
+ loader: z_
8284
+ }, H_ = W_, cl = "classDiagram", j_ = (t, e) => {
8285
8285
  var i;
8286
8286
  return t.match(/^\s*classDiagram/) !== null && ((i = e == null ? void 0 : e.class) == null ? void 0 : i.defaultRenderer) === "dagre-wrapper" ? !0 : t.match(/^\s*classDiagram-v2/) !== null;
8287
- }, j_ = async () => {
8288
- const { diagram: t } = await import("./classDiagram-v2-60cd73ae.js");
8287
+ }, U_ = async () => {
8288
+ const { diagram: t } = await import("./classDiagram-v2-c07ab2ac.js");
8289
8289
  return { id: cl, diagram: t };
8290
- }, U_ = {
8290
+ }, Y_ = {
8291
8291
  id: cl,
8292
- detector: H_,
8293
- loader: j_
8294
- }, Y_ = U_, ul = "state", G_ = (t, e) => {
8292
+ detector: j_,
8293
+ loader: U_
8294
+ }, G_ = Y_, ul = "state", V_ = (t, e) => {
8295
8295
  var i;
8296
8296
  return ((i = e == null ? void 0 : e.state) == null ? void 0 : i.defaultRenderer) === "dagre-wrapper" ? !1 : t.match(/^\s*stateDiagram/) !== null;
8297
- }, V_ = async () => {
8298
- const { diagram: t } = await import("./stateDiagram-eed21683.js");
8297
+ }, X_ = async () => {
8298
+ const { diagram: t } = await import("./stateDiagram-4e50f1a0.js");
8299
8299
  return { id: ul, diagram: t };
8300
- }, X_ = {
8300
+ }, K_ = {
8301
8301
  id: ul,
8302
- detector: G_,
8303
- loader: V_
8304
- }, K_ = X_, fl = "stateDiagram", Z_ = (t, e) => {
8302
+ detector: V_,
8303
+ loader: X_
8304
+ }, Z_ = K_, fl = "stateDiagram", J_ = (t, e) => {
8305
8305
  var i, r;
8306
8306
  return !!(t.match(/^\s*stateDiagram-v2/) !== null || t.match(/^\s*stateDiagram/) && ((i = e == null ? void 0 : e.state) == null ? void 0 : i.defaultRenderer) === "dagre-wrapper" || t.match(/^\s*stateDiagram/) && ((r = e == null ? void 0 : e.state) == null ? void 0 : r.defaultRenderer) === "dagre-wrapper");
8307
- }, J_ = async () => {
8308
- const { diagram: t } = await import("./stateDiagram-v2-2a8ef368.js");
8307
+ }, Q_ = async () => {
8308
+ const { diagram: t } = await import("./stateDiagram-v2-b34fad08.js");
8309
8309
  return { id: fl, diagram: t };
8310
- }, Q_ = {
8310
+ }, ty = {
8311
8311
  id: fl,
8312
- detector: Z_,
8313
- loader: J_
8314
- }, ty = Q_, dl = "journey", ey = (t) => t.match(/^\s*journey/) !== null, iy = async () => {
8315
- const { diagram: t } = await import("./journeyDiagram-eeb24d29.js");
8312
+ detector: J_,
8313
+ loader: Q_
8314
+ }, ey = ty, dl = "journey", iy = (t) => t.match(/^\s*journey/) !== null, ry = async () => {
8315
+ const { diagram: t } = await import("./journeyDiagram-255a0ba0.js");
8316
8316
  return { id: dl, diagram: t };
8317
- }, ry = {
8317
+ }, ny = {
8318
8318
  id: dl,
8319
- detector: ey,
8320
- loader: iy
8321
- }, ny = ry, oy = () => "", sy = oy, ay = function() {
8322
- }, ly = (t, e, i) => {
8319
+ detector: iy,
8320
+ loader: ry
8321
+ }, oy = ny, sy = () => "", ay = sy, ly = function() {
8322
+ }, hy = (t, e, i) => {
8323
8323
  try {
8324
8324
  S.debug(`Renering svg for syntax error
8325
8325
  `);
@@ -8344,17 +8344,17 @@ const Ko = "10.2.2", Ja = "c4", X0 = (t) => t.match(/^\s*C4Context|C4Container|C
8344
8344
  "m436.98,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688l32-32c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32c-6.251,6.25-6.251,16.375-0.001,22.625z"
8345
8345
  ), n.append("text").attr("class", "error-text").attr("x", 1440).attr("y", 250).attr("font-size", "150px").style("text-anchor", "middle").text("Syntax error in text"), n.append("text").attr("class", "error-text").attr("x", 1250).attr("y", 400).attr("font-size", "100px").style("text-anchor", "middle").text("mermaid version " + i), r.attr("height", 100), r.attr("width", 500), r.attr("viewBox", "768 0 912 512");
8346
8346
  } catch (r) {
8347
- S.error("Error while rendering info diagram"), S.error(M0(r));
8347
+ S.error("Error while rendering info diagram"), S.error(O0(r));
8348
8348
  }
8349
8349
  }, pl = {
8350
- setConf: ay,
8351
- draw: ly
8352
- }, hy = {
8350
+ setConf: ly,
8351
+ draw: hy
8352
+ }, cy = {
8353
8353
  db: {
8354
8354
  clear: () => {
8355
8355
  }
8356
8356
  },
8357
- styles: sy,
8357
+ styles: ay,
8358
8358
  renderer: pl,
8359
8359
  parser: {
8360
8360
  parser: { yy: {} },
@@ -8363,38 +8363,38 @@ const Ko = "10.2.2", Ja = "c4", X0 = (t) => t.match(/^\s*C4Context|C4Container|C
8363
8363
  },
8364
8364
  init: () => {
8365
8365
  }
8366
- }, cy = hy, gl = "flowchart-elk", uy = (t, e) => {
8366
+ }, uy = cy, gl = "flowchart-elk", fy = (t, e) => {
8367
8367
  var i;
8368
8368
  return (
8369
8369
  // If diagram explicitly states flowchart-elk
8370
8370
  !!(t.match(/^\s*flowchart-elk/) || // If a flowchart/graph diagram has their default renderer set to elk
8371
8371
  t.match(/^\s*flowchart|graph/) && ((i = e == null ? void 0 : e.flowchart) == null ? void 0 : i.defaultRenderer) === "elk")
8372
8372
  );
8373
- }, fy = async () => {
8374
- const { diagram: t } = await import("./flowchart-elk-definition-b299cff1.js");
8373
+ }, dy = async () => {
8374
+ const { diagram: t } = await import("./flowchart-elk-definition-9b5375b9.js");
8375
8375
  return { id: gl, diagram: t };
8376
- }, dy = {
8376
+ }, py = {
8377
8377
  id: gl,
8378
- detector: uy,
8379
- loader: fy
8380
- }, py = dy, ml = "timeline", gy = (t) => t.match(/^\s*timeline/) !== null, my = async () => {
8381
- const { diagram: t } = await import("./timeline-definition-afaf264f.js");
8378
+ detector: fy,
8379
+ loader: dy
8380
+ }, gy = py, ml = "timeline", my = (t) => t.match(/^\s*timeline/) !== null, _y = async () => {
8381
+ const { diagram: t } = await import("./timeline-definition-fff849c3.js");
8382
8382
  return { id: ml, diagram: t };
8383
- }, _y = {
8383
+ }, yy = {
8384
8384
  id: ml,
8385
- detector: gy,
8386
- loader: my
8387
- }, yy = _y, _l = "mindmap", Cy = (t) => t.match(/^\s*mindmap/) !== null, xy = async () => {
8388
- const { diagram: t } = await import("./mindmap-definition-825812a2.js");
8385
+ detector: my,
8386
+ loader: _y
8387
+ }, Cy = yy, _l = "mindmap", xy = (t) => t.match(/^\s*mindmap/) !== null, by = async () => {
8388
+ const { diagram: t } = await import("./mindmap-definition-d99fa72b.js");
8389
8389
  return { id: _l, diagram: t };
8390
- }, by = {
8390
+ }, Ty = {
8391
8391
  id: _l,
8392
- detector: Cy,
8393
- loader: xy
8394
- }, Ty = by;
8392
+ detector: xy,
8393
+ loader: by
8394
+ }, Sy = Ty;
8395
8395
  let Zo = !1;
8396
8396
  const Pn = () => {
8397
- Zo || (Zo = !0, Ji("error", cy, (t) => t.toLowerCase().trim() === "error"), Ji(
8397
+ Zo || (Zo = !0, Ji("error", uy, (t) => t.toLowerCase().trim() === "error"), Ji(
8398
8398
  "---",
8399
8399
  // --- diagram type may appear if YAML front-matter is not parsed correctly
8400
8400
  {
@@ -8419,27 +8419,27 @@ const Pn = () => {
8419
8419
  },
8420
8420
  (t) => t.toLowerCase().trimStart().startsWith("---")
8421
8421
  ), Ra(
8422
- J0,
8423
- Y_,
8424
- W_,
8425
- c_,
8426
- y_,
8427
- T_,
8428
- w_,
8429
- I_,
8430
- R_,
8431
- py,
8432
- s_,
8433
- i_,
8434
- Ty,
8435
- yy,
8436
- p_,
8437
- ty,
8438
- K_,
8439
- ny,
8440
- A_
8422
+ Q0,
8423
+ G_,
8424
+ H_,
8425
+ u_,
8426
+ C_,
8427
+ S_,
8428
+ B_,
8429
+ $_,
8430
+ q_,
8431
+ gy,
8432
+ a_,
8433
+ r_,
8434
+ Sy,
8435
+ Cy,
8436
+ g_,
8437
+ ey,
8438
+ Z_,
8439
+ oy,
8440
+ E_
8441
8441
  ));
8442
- }, Sy = (t) => t.trimStart().replace(/^\s*%%(?!{)[^\n]+\n?/gm, "");
8442
+ }, ky = (t) => t.trimStart().replace(/^\s*%%(?!{)[^\n]+\n?/gm, "");
8443
8443
  class yl {
8444
8444
  constructor(e) {
8445
8445
  var o, s;
@@ -8454,7 +8454,7 @@ class yl {
8454
8454
  const r = $n(this.type);
8455
8455
  S.debug("Type " + this.type), this.db = r.db, (s = (o = this.db).clear) == null || s.call(o), this.renderer = r.renderer, this.parser = r.parser;
8456
8456
  const n = this.parser.parse.bind(this.parser);
8457
- this.parser.parse = (a) => n(Sy($g(a, this.db))), this.parser.parser.yy = this.db, r.init && (r.init(i), S.info("Initialized diagram " + this.type, i)), this.parse();
8457
+ this.parser.parse = (a) => n(ky($g(a, this.db))), this.parser.parser.yy = this.db, r.init && (r.init(i), S.info("Initialized diagram " + this.type, i)), this.parse();
8458
8458
  }
8459
8459
  parse() {
8460
8460
  var e, i;
@@ -8486,130 +8486,130 @@ const zn = async (t) => {
8486
8486
  return new yl(t);
8487
8487
  };
8488
8488
  let hn = [];
8489
- const Dx = (t) => {
8489
+ const Nx = (t) => {
8490
8490
  hn.push(t);
8491
- }, ky = () => {
8491
+ }, vy = () => {
8492
8492
  hn.forEach((t) => {
8493
8493
  t();
8494
8494
  }), hn = [];
8495
8495
  };
8496
- var vy = Object.prototype;
8496
+ var wy = Object.prototype;
8497
8497
  function Cl(t) {
8498
- var e = t && t.constructor, i = typeof e == "function" && e.prototype || vy;
8498
+ var e = t && t.constructor, i = typeof e == "function" && e.prototype || wy;
8499
8499
  return t === i;
8500
8500
  }
8501
- function wy(t, e) {
8501
+ function By(t, e) {
8502
8502
  return function(i) {
8503
8503
  return t(e(i));
8504
8504
  };
8505
8505
  }
8506
- var By = wy(Object.keys, Object);
8507
- const Fy = By;
8508
- var Ly = Object.prototype, Ay = Ly.hasOwnProperty;
8509
- function Ey(t) {
8506
+ var Fy = By(Object.keys, Object);
8507
+ const Ly = Fy;
8508
+ var Ay = Object.prototype, Ey = Ay.hasOwnProperty;
8509
+ function My(t) {
8510
8510
  if (!Cl(t))
8511
- return Fy(t);
8511
+ return Ly(t);
8512
8512
  var e = [];
8513
8513
  for (var i in Object(t))
8514
- Ay.call(t, i) && i != "constructor" && e.push(i);
8514
+ Ey.call(t, i) && i != "constructor" && e.push(i);
8515
8515
  return e;
8516
8516
  }
8517
- var My = Oe(ie, "DataView");
8518
- const cn = My;
8519
- var Oy = Oe(ie, "Promise");
8520
- const un = Oy;
8521
- var Iy = Oe(ie, "Set");
8522
- const fn = Iy;
8523
- var $y = Oe(ie, "WeakMap");
8524
- const dn = $y;
8525
- var Jo = "[object Map]", Dy = "[object Object]", Qo = "[object Promise]", ts = "[object Set]", es = "[object WeakMap]", is = "[object DataView]", Ny = pe(cn), Ry = pe(tr), qy = pe(un), Py = pe(fn), zy = pe(dn), se = ai;
8517
+ var Oy = Oe(ie, "DataView");
8518
+ const cn = Oy;
8519
+ var Iy = Oe(ie, "Promise");
8520
+ const un = Iy;
8521
+ var $y = Oe(ie, "Set");
8522
+ const fn = $y;
8523
+ var Dy = Oe(ie, "WeakMap");
8524
+ const dn = Dy;
8525
+ var Jo = "[object Map]", Ny = "[object Object]", Qo = "[object Promise]", ts = "[object Set]", es = "[object WeakMap]", is = "[object DataView]", Ry = pe(cn), qy = pe(tr), Py = pe(un), zy = pe(fn), Wy = pe(dn), se = ai;
8526
8526
  (cn && se(new cn(new ArrayBuffer(1))) != is || tr && se(new tr()) != Jo || un && se(un.resolve()) != Qo || fn && se(new fn()) != ts || dn && se(new dn()) != es) && (se = function(t) {
8527
- var e = ai(t), i = e == Dy ? t.constructor : void 0, r = i ? pe(i) : "";
8527
+ var e = ai(t), i = e == Ny ? t.constructor : void 0, r = i ? pe(i) : "";
8528
8528
  if (r)
8529
8529
  switch (r) {
8530
- case Ny:
8531
- return is;
8532
8530
  case Ry:
8533
- return Jo;
8531
+ return is;
8534
8532
  case qy:
8535
- return Qo;
8533
+ return Jo;
8536
8534
  case Py:
8537
- return ts;
8535
+ return Qo;
8538
8536
  case zy:
8537
+ return ts;
8538
+ case Wy:
8539
8539
  return es;
8540
8540
  }
8541
8541
  return e;
8542
8542
  });
8543
- const Wy = se;
8543
+ const Hy = se;
8544
8544
  function Wn(t) {
8545
8545
  return t != null && typeof t == "object";
8546
8546
  }
8547
- var Hy = "[object Arguments]";
8547
+ var jy = "[object Arguments]";
8548
8548
  function rs(t) {
8549
- return Wn(t) && ai(t) == Hy;
8549
+ return Wn(t) && ai(t) == jy;
8550
8550
  }
8551
- var xl = Object.prototype, jy = xl.hasOwnProperty, Uy = xl.propertyIsEnumerable, Yy = rs(function() {
8551
+ var xl = Object.prototype, Uy = xl.hasOwnProperty, Yy = xl.propertyIsEnumerable, Gy = rs(function() {
8552
8552
  return arguments;
8553
8553
  }()) ? rs : function(t) {
8554
- return Wn(t) && jy.call(t, "callee") && !Uy.call(t, "callee");
8554
+ return Wn(t) && Uy.call(t, "callee") && !Yy.call(t, "callee");
8555
8555
  };
8556
- const Gy = Yy;
8557
- var Vy = Array.isArray;
8558
- const Xy = Vy;
8559
- var Ky = 9007199254740991;
8556
+ const Vy = Gy;
8557
+ var Xy = Array.isArray;
8558
+ const Ky = Xy;
8559
+ var Zy = 9007199254740991;
8560
8560
  function bl(t) {
8561
- return typeof t == "number" && t > -1 && t % 1 == 0 && t <= Ky;
8561
+ return typeof t == "number" && t > -1 && t % 1 == 0 && t <= Zy;
8562
8562
  }
8563
- function Zy(t) {
8563
+ function Jy(t) {
8564
8564
  return t != null && bl(t.length) && !Ha(t);
8565
8565
  }
8566
- function Jy() {
8566
+ function Qy() {
8567
8567
  return !1;
8568
8568
  }
8569
- var Tl = typeof exports == "object" && exports && !exports.nodeType && exports, ns = Tl && typeof module == "object" && module && !module.nodeType && module, Qy = ns && ns.exports === Tl, os = Qy ? ie.Buffer : void 0, tC = os ? os.isBuffer : void 0, eC = tC || Jy;
8570
- const iC = eC;
8571
- var rC = "[object Arguments]", nC = "[object Array]", oC = "[object Boolean]", sC = "[object Date]", aC = "[object Error]", lC = "[object Function]", hC = "[object Map]", cC = "[object Number]", uC = "[object Object]", fC = "[object RegExp]", dC = "[object Set]", pC = "[object String]", gC = "[object WeakMap]", mC = "[object ArrayBuffer]", _C = "[object DataView]", yC = "[object Float32Array]", CC = "[object Float64Array]", xC = "[object Int8Array]", bC = "[object Int16Array]", TC = "[object Int32Array]", SC = "[object Uint8Array]", kC = "[object Uint8ClampedArray]", vC = "[object Uint16Array]", wC = "[object Uint32Array]", Y = {};
8572
- Y[yC] = Y[CC] = Y[xC] = Y[bC] = Y[TC] = Y[SC] = Y[kC] = Y[vC] = Y[wC] = !0;
8573
- Y[rC] = Y[nC] = Y[mC] = Y[oC] = Y[_C] = Y[sC] = Y[aC] = Y[lC] = Y[hC] = Y[cC] = Y[uC] = Y[fC] = Y[dC] = Y[pC] = Y[gC] = !1;
8574
- function BC(t) {
8569
+ var Tl = typeof exports == "object" && exports && !exports.nodeType && exports, ns = Tl && typeof module == "object" && module && !module.nodeType && module, tC = ns && ns.exports === Tl, os = tC ? ie.Buffer : void 0, eC = os ? os.isBuffer : void 0, iC = eC || Qy;
8570
+ const rC = iC;
8571
+ var nC = "[object Arguments]", oC = "[object Array]", sC = "[object Boolean]", aC = "[object Date]", lC = "[object Error]", hC = "[object Function]", cC = "[object Map]", uC = "[object Number]", fC = "[object Object]", dC = "[object RegExp]", pC = "[object Set]", gC = "[object String]", mC = "[object WeakMap]", _C = "[object ArrayBuffer]", yC = "[object DataView]", CC = "[object Float32Array]", xC = "[object Float64Array]", bC = "[object Int8Array]", TC = "[object Int16Array]", SC = "[object Int32Array]", kC = "[object Uint8Array]", vC = "[object Uint8ClampedArray]", wC = "[object Uint16Array]", BC = "[object Uint32Array]", Y = {};
8572
+ Y[CC] = Y[xC] = Y[bC] = Y[TC] = Y[SC] = Y[kC] = Y[vC] = Y[wC] = Y[BC] = !0;
8573
+ Y[nC] = Y[oC] = Y[_C] = Y[sC] = Y[yC] = Y[aC] = Y[lC] = Y[hC] = Y[cC] = Y[uC] = Y[fC] = Y[dC] = Y[pC] = Y[gC] = Y[mC] = !1;
8574
+ function FC(t) {
8575
8575
  return Wn(t) && bl(t.length) && !!Y[ai(t)];
8576
8576
  }
8577
- function FC(t) {
8577
+ function LC(t) {
8578
8578
  return function(e) {
8579
8579
  return t(e);
8580
8580
  };
8581
8581
  }
8582
- var Sl = typeof exports == "object" && exports && !exports.nodeType && exports, Ge = Sl && typeof module == "object" && module && !module.nodeType && module, LC = Ge && Ge.exports === Sl, jr = LC && Pa.process, AC = function() {
8582
+ var Sl = typeof exports == "object" && exports && !exports.nodeType && exports, Ge = Sl && typeof module == "object" && module && !module.nodeType && module, AC = Ge && Ge.exports === Sl, jr = AC && Pa.process, EC = function() {
8583
8583
  try {
8584
8584
  var t = Ge && Ge.require && Ge.require("util").types;
8585
8585
  return t || jr && jr.binding && jr.binding("util");
8586
8586
  } catch {
8587
8587
  }
8588
8588
  }();
8589
- const ss = AC;
8590
- var as = ss && ss.isTypedArray, EC = as ? FC(as) : BC;
8591
- const MC = EC;
8592
- var OC = "[object Map]", IC = "[object Set]", $C = Object.prototype, DC = $C.hasOwnProperty;
8589
+ const ss = EC;
8590
+ var as = ss && ss.isTypedArray, MC = as ? LC(as) : FC;
8591
+ const OC = MC;
8592
+ var IC = "[object Map]", $C = "[object Set]", DC = Object.prototype, NC = DC.hasOwnProperty;
8593
8593
  function Di(t) {
8594
8594
  if (t == null)
8595
8595
  return !0;
8596
- if (Zy(t) && (Xy(t) || typeof t == "string" || typeof t.splice == "function" || iC(t) || MC(t) || Gy(t)))
8596
+ if (Jy(t) && (Ky(t) || typeof t == "string" || typeof t.splice == "function" || rC(t) || OC(t) || Vy(t)))
8597
8597
  return !t.length;
8598
- var e = Wy(t);
8599
- if (e == OC || e == IC)
8598
+ var e = Hy(t);
8599
+ if (e == IC || e == $C)
8600
8600
  return !t.size;
8601
8601
  if (Cl(t))
8602
- return !Ey(t).length;
8602
+ return !My(t).length;
8603
8603
  for (var i in t)
8604
- if (DC.call(t, i))
8604
+ if (NC.call(t, i))
8605
8605
  return !1;
8606
8606
  return !0;
8607
8607
  }
8608
- const NC = "graphics-document document";
8609
- function RC(t, e) {
8610
- t.attr("role", NC), Di(e) || t.attr("aria-roledescription", e);
8608
+ const RC = "graphics-document document";
8609
+ function qC(t, e) {
8610
+ t.attr("role", RC), Di(e) || t.attr("aria-roledescription", e);
8611
8611
  }
8612
- function qC(t, e, i, r) {
8612
+ function PC(t, e, i, r) {
8613
8613
  if (t.insert !== void 0)
8614
8614
  if (e || i) {
8615
8615
  if (i) {
@@ -8630,8 +8630,8 @@ const kl = [
8630
8630
  "flowchart-elk",
8631
8631
  "stateDiagram",
8632
8632
  "stateDiagram-v2"
8633
- ], PC = 5e4, zC = "graph TB;a[Maximum text size in diagram exceeded];style a fill:#faa", WC = "sandbox", HC = "loose", jC = "http://www.w3.org/2000/svg", UC = "http://www.w3.org/1999/xlink", YC = "http://www.w3.org/1999/xhtml", GC = "100%", VC = "100%", XC = "border:0;margin:0;", KC = "margin:0", ZC = "allow-top-navigation-by-user-activation allow-popups", JC = 'The "iframe" tag is not supported by your browser.', QC = ["foreignobject"], tx = ["dominant-baseline"];
8634
- async function ex(t, e) {
8633
+ ], zC = 5e4, WC = "graph TB;a[Maximum text size in diagram exceeded];style a fill:#faa", HC = "sandbox", jC = "loose", UC = "http://www.w3.org/2000/svg", YC = "http://www.w3.org/1999/xlink", GC = "http://www.w3.org/1999/xhtml", VC = "100%", XC = "100%", KC = "border:0;margin:0;", ZC = "margin:0", JC = "allow-top-navigation-by-user-activation allow-popups", QC = 'The "iframe" tag is not supported by your browser.', tx = ["foreignobject"], ex = ["dominant-baseline"];
8634
+ async function ix(t, e) {
8635
8635
  Pn();
8636
8636
  try {
8637
8637
  (await zn(t)).parse();
@@ -8642,7 +8642,7 @@ async function ex(t, e) {
8642
8642
  }
8643
8643
  return !0;
8644
8644
  }
8645
- const ix = function(t) {
8645
+ const rx = function(t) {
8646
8646
  let e = t;
8647
8647
  return e = e.replace(/style.*:\S*#.*;/g, function(i) {
8648
8648
  return i.substring(0, i.length - 1);
@@ -8652,10 +8652,10 @@ const ix = function(t) {
8652
8652
  const r = i.substring(1, i.length - 1);
8653
8653
  return /^\+?\d+$/.test(r) ? "fl°°" + r + "¶ß" : "fl°" + r + "¶ß";
8654
8654
  }), e;
8655
- }, rx = function(t) {
8655
+ }, nx = function(t) {
8656
8656
  return t.replace(/fl°°/g, "&#").replace(/fl°/g, "&").replace(/¶ß/g, ";");
8657
8657
  }, ls = (t, e, i = []) => `
8658
- .${t} ${e} { ${i.join(" !important; ")} !important; }`, nx = (t, e, i = {}) => {
8658
+ .${t} ${e} { ${i.join(" !important; ")} !important; }`, ox = (t, e, i = {}) => {
8659
8659
  var n;
8660
8660
  let r = "";
8661
8661
  if (t.themeCSS !== void 0 && (r += `
@@ -8671,69 +8671,69 @@ ${t.themeCSS}`), t.fontFamily !== void 0 && (r += `
8671
8671
  }
8672
8672
  }
8673
8673
  return r;
8674
- }, ox = (t, e, i, r) => {
8675
- const n = nx(t, e, i), o = Gg(e, n, t.themeVariables);
8676
- return ln(Y0(`${r}{${o}}`), V0);
8677
- }, sx = (t = "", e, i) => {
8674
+ }, sx = (t, e, i, r) => {
8675
+ const n = ox(t, e, i), o = Gg(e, n, t.themeVariables);
8676
+ return ln(G0(`${r}{${o}}`), X0);
8677
+ }, ax = (t = "", e, i) => {
8678
8678
  let r = t;
8679
8679
  return !i && !e && (r = r.replace(
8680
8680
  /marker-end="url\([\d+./:=?A-Za-z-]*?#/g,
8681
8681
  'marker-end="url(#'
8682
- )), r = rx(r), r = r.replace(/<br>/g, "<br/>"), r;
8683
- }, ax = (t = "", e) => {
8684
- const i = e ? e.viewBox.baseVal.height + "px" : VC, r = btoa('<body style="' + KC + '">' + t + "</body>");
8685
- return `<iframe style="width:${GC};height:${i};${XC}" src="data:text/html;base64,${r}" sandbox="${ZC}">
8686
- ${JC}
8682
+ )), r = nx(r), r = r.replace(/<br>/g, "<br/>"), r;
8683
+ }, lx = (t = "", e) => {
8684
+ const i = e ? e.viewBox.baseVal.height + "px" : XC, r = btoa('<body style="' + ZC + '">' + t + "</body>");
8685
+ return `<iframe style="width:${VC};height:${i};${KC}" src="data:text/html;base64,${r}" sandbox="${JC}">
8686
+ ${QC}
8687
8687
  </iframe>`;
8688
8688
  }, hs = (t, e, i, r, n) => {
8689
8689
  const o = t.append("div");
8690
8690
  o.attr("id", i), r && o.attr("style", r);
8691
- const s = o.append("svg").attr("id", e).attr("width", "100%").attr("xmlns", jC);
8691
+ const s = o.append("svg").attr("id", e).attr("width", "100%").attr("xmlns", UC);
8692
8692
  return n && s.attr("xmlns:xlink", n), s.append("g"), t;
8693
8693
  };
8694
8694
  function cs(t, e) {
8695
8695
  return t.append("iframe").attr("id", e).attr("style", "width: 100%; height: 100%;").attr("sandbox", "");
8696
8696
  }
8697
- const lx = (t, e, i, r) => {
8697
+ const hx = (t, e, i, r) => {
8698
8698
  var n, o, s;
8699
8699
  (n = t.getElementById(e)) == null || n.remove(), (o = t.getElementById(i)) == null || o.remove(), (s = t.getElementById(r)) == null || s.remove();
8700
- }, hx = async function(t, e, i) {
8700
+ }, cx = async function(t, e, i) {
8701
8701
  var E, T, x, O;
8702
8702
  Pn(), Ki();
8703
8703
  const r = Oi.detectInit(e);
8704
8704
  r && (Ee(r), va(r));
8705
8705
  const n = Ut();
8706
- S.debug(n), e.length > ((n == null ? void 0 : n.maxTextSize) ?? PC) && (e = zC), e = e.replace(/\r\n?/g, `
8706
+ S.debug(n), e.length > ((n == null ? void 0 : n.maxTextSize) ?? zC) && (e = WC), e = e.replace(/\r\n?/g, `
8707
8707
  `), e = e.replace(
8708
8708
  /<(\w+)([^>]*)>/g,
8709
8709
  (y, D, w) => "<" + D + w.replace(/="([^"]*)"/g, "='$1'") + ">"
8710
8710
  );
8711
8711
  const o = "#" + t, s = "i" + t, a = "#" + s, l = "d" + t, h = "#" + l;
8712
8712
  let c = At("body");
8713
- const u = n.securityLevel === WC, g = n.securityLevel === HC, p = n.fontFamily;
8713
+ const u = n.securityLevel === HC, g = n.securityLevel === jC, p = n.fontFamily;
8714
8714
  if (i !== void 0) {
8715
8715
  if (i && (i.innerHTML = ""), u) {
8716
8716
  const y = cs(At(i), s);
8717
8717
  c = At(y.nodes()[0].contentDocument.body), c.node().style.margin = 0;
8718
8718
  } else
8719
8719
  c = At(i);
8720
- hs(c, t, l, `font-family: ${p}`, UC);
8720
+ hs(c, t, l, `font-family: ${p}`, YC);
8721
8721
  } else {
8722
- if (lx(document, t, l, s), u) {
8722
+ if (hx(document, t, l, s), u) {
8723
8723
  const y = cs(At("body"), s);
8724
8724
  c = At(y.nodes()[0].contentDocument.body), c.node().style.margin = 0;
8725
8725
  } else
8726
8726
  c = At("body");
8727
8727
  hs(c, t, l);
8728
8728
  }
8729
- e = ix(e);
8729
+ e = rx(e);
8730
8730
  let _, v;
8731
8731
  try {
8732
8732
  _ = await zn(e);
8733
8733
  } catch (y) {
8734
8734
  _ = new yl("error"), v = y;
8735
8735
  }
8736
- const M = c.select(h).node(), q = _.type, k = M.firstChild, z = k.firstChild, Q = kl.includes(q) ? _.renderer.getClasses(e, _) : {}, X = ox(
8736
+ const M = c.select(h).node(), q = _.type, k = M.firstChild, z = k.firstChild, Q = kl.includes(q) ? _.renderer.getClasses(e, _) : {}, X = sx(
8737
8737
  n,
8738
8738
  q,
8739
8739
  // @ts-ignore convert renderer to TS.
@@ -8747,17 +8747,17 @@ const lx = (t, e, i, r) => {
8747
8747
  throw pl.draw(e, t, Ko), y;
8748
8748
  }
8749
8749
  const W = c.select(`${h} svg`), Yt = (T = (E = _.db).getAccTitle) == null ? void 0 : T.call(E), K = (O = (x = _.db).getAccDescription) == null ? void 0 : O.call(x);
8750
- ux(q, W, Yt, K), c.select(`[id="${t}"]`).selectAll("foreignobject > *").attr("xmlns", YC);
8750
+ fx(q, W, Yt, K), c.select(`[id="${t}"]`).selectAll("foreignobject > *").attr("xmlns", GC);
8751
8751
  let $ = c.select(h).node().innerHTML;
8752
- if (S.debug("config.arrowMarkerAbsolute", n.arrowMarkerAbsolute), $ = sx($, u, ia(n.arrowMarkerAbsolute)), u) {
8752
+ if (S.debug("config.arrowMarkerAbsolute", n.arrowMarkerAbsolute), $ = ax($, u, ia(n.arrowMarkerAbsolute)), u) {
8753
8753
  const y = c.select(h + " svg").node();
8754
- $ = ax($, y);
8754
+ $ = lx($, y);
8755
8755
  } else
8756
8756
  g || ($ = Yi.sanitize($, {
8757
- ADD_TAGS: QC,
8758
- ADD_ATTR: tx
8757
+ ADD_TAGS: tx,
8758
+ ADD_ATTR: ex
8759
8759
  }));
8760
- if (ky(), v)
8760
+ if (vy(), v)
8761
8761
  throw v;
8762
8762
  const Ft = At(u ? a : h).node();
8763
8763
  return Ft && "remove" in Ft && Ft.remove(), {
@@ -8765,7 +8765,7 @@ const lx = (t, e, i, r) => {
8765
8765
  bindFunctions: _.db.bindFunctions
8766
8766
  };
8767
8767
  };
8768
- function cx(t = {}) {
8768
+ function ux(t = {}) {
8769
8769
  var i;
8770
8770
  t != null && t.fontFamily && !((i = t.themeVariables) != null && i.fontFamily) && (t.themeVariables || (t.themeVariables = {}), t.themeVariables.fontFamily = t.fontFamily), Ng(t), t != null && t.theme && t.theme in Ht ? t.themeVariables = Ht[t.theme].getThemeVariables(
8771
8771
  t.themeVariables
@@ -8773,15 +8773,15 @@ function cx(t = {}) {
8773
8773
  const e = typeof t == "object" ? Dg(t) : Sa();
8774
8774
  pn(e.logLevel), Pn();
8775
8775
  }
8776
- function ux(t, e, i, r) {
8777
- RC(e, t), qC(e, i, r, e.attr("id"));
8776
+ function fx(t, e, i, r) {
8777
+ qC(e, t), PC(e, i, r, e.attr("id"));
8778
8778
  }
8779
8779
  const de = Object.freeze({
8780
- render: hx,
8781
- parse: ex,
8780
+ render: cx,
8781
+ parse: ix,
8782
8782
  parseDirective: $a,
8783
8783
  getDiagramFromText: zn,
8784
- initialize: cx,
8784
+ initialize: ux,
8785
8785
  getConfig: Ut,
8786
8786
  setConfig: qg,
8787
8787
  getSiteConfig: Sa,
@@ -8796,7 +8796,7 @@ const de = Object.freeze({
8796
8796
  });
8797
8797
  pn(Ut().logLevel);
8798
8798
  Ki(Ut());
8799
- const fx = (t, e, i) => {
8799
+ const dx = (t, e, i) => {
8800
8800
  S.warn(t), Ua(t) ? (i && i(t.str, t.hash), e.push({ ...t, message: t.str, error: t })) : (i && i(t), t instanceof Error && e.push({
8801
8801
  str: t.message,
8802
8802
  message: t.message,
@@ -8807,12 +8807,12 @@ const fx = (t, e, i) => {
8807
8807
  querySelector: ".mermaid"
8808
8808
  }) {
8809
8809
  try {
8810
- await dx(t);
8810
+ await px(t);
8811
8811
  } catch (e) {
8812
8812
  if (Ua(e) && S.error(e.str), Ct.parseError && Ct.parseError(e), !t.suppressErrors)
8813
8813
  throw S.error("Use the suppressErrors option to suppress these errors"), e;
8814
8814
  }
8815
- }, dx = async function({ postRenderCallback: t, querySelector: e, nodes: i } = {
8815
+ }, px = async function({ postRenderCallback: t, querySelector: e, nodes: i } = {
8816
8816
  querySelector: ".mermaid"
8817
8817
  }) {
8818
8818
  const r = de.getConfig();
@@ -8842,18 +8842,18 @@ const fx = (t, e, i) => {
8842
8842
  const { svg: u, bindFunctions: g } = await Ll(h, s, l);
8843
8843
  l.innerHTML = u, t && await t(h), g && g(l);
8844
8844
  } catch (u) {
8845
- fx(u, a, Ct.parseError);
8845
+ dx(u, a, Ct.parseError);
8846
8846
  }
8847
8847
  }
8848
8848
  if (a.length > 0)
8849
8849
  throw a[0];
8850
8850
  }, wl = function(t) {
8851
8851
  de.initialize(t);
8852
- }, px = async function(t, e, i) {
8852
+ }, gx = async function(t, e, i) {
8853
8853
  S.warn("mermaid.init is deprecated. Please use run instead."), t && wl(t);
8854
8854
  const r = { postRenderCallback: i, querySelector: ".mermaid" };
8855
8855
  typeof e == "string" ? r.querySelector = e : e && (e instanceof HTMLElement ? r.nodes = [e] : r.nodes = e), await vl(r);
8856
- }, gx = async (t, {
8856
+ }, mx = async (t, {
8857
8857
  lazyLoad: e = !0
8858
8858
  } = {}) => {
8859
8859
  Ra(...t), e === !1 && await om();
@@ -8869,7 +8869,7 @@ if (typeof document < "u") {
8869
8869
  */
8870
8870
  window.addEventListener("load", Bl, !1);
8871
8871
  }
8872
- const mx = function(t) {
8872
+ const _x = function(t) {
8873
8873
  Ct.parseError = t;
8874
8874
  }, rr = [];
8875
8875
  let Ur = !1;
@@ -8886,7 +8886,7 @@ const Fl = async () => {
8886
8886
  }
8887
8887
  Ur = !1;
8888
8888
  }
8889
- }, _x = async (t, e) => new Promise((i, r) => {
8889
+ }, yx = async (t, e) => new Promise((i, r) => {
8890
8890
  const n = () => new Promise((o, s) => {
8891
8891
  de.parse(t, e).then(
8892
8892
  (a) => {
@@ -8915,25 +8915,25 @@ const Fl = async () => {
8915
8915
  }), Ct = {
8916
8916
  startOnLoad: !0,
8917
8917
  mermaidAPI: de,
8918
- parse: _x,
8918
+ parse: yx,
8919
8919
  render: Ll,
8920
- init: px,
8920
+ init: gx,
8921
8921
  run: vl,
8922
- registerExternalDiagrams: gx,
8922
+ registerExternalDiagrams: mx,
8923
8923
  initialize: wl,
8924
8924
  parseError: void 0,
8925
8925
  contentLoaded: Bl,
8926
- setParseErrorHandler: mx,
8926
+ setParseErrorHandler: _x,
8927
8927
  detectType: mr
8928
8928
  };
8929
8929
  export {
8930
- Dx as $,
8930
+ Nx as $,
8931
8931
  Ia as A,
8932
8932
  Fa as B,
8933
8933
  Ot as C,
8934
8934
  mf as D,
8935
8935
  ad as E,
8936
- k0 as F,
8936
+ v0 as F,
8937
8937
  Da as G,
8938
8938
  tm as H,
8939
8939
  yn as I,
@@ -8941,10 +8941,10 @@ export {
8941
8941
  oi as K,
8942
8942
  Wc as L,
8943
8943
  Fs as M,
8944
- xx as N,
8944
+ bx as N,
8945
8945
  Pl as O,
8946
8946
  Wl as P,
8947
- Fx as Q,
8947
+ Lx as Q,
8948
8948
  ft as R,
8949
8949
  Nn as S,
8950
8950
  qd as T,
@@ -8956,57 +8956,58 @@ export {
8956
8956
  Xc as Z,
8957
8957
  I as _,
8958
8958
  Ma as a,
8959
- mt as a0,
8960
- ks as a1,
8961
- oh as a2,
8962
- T0 as a3,
8963
- Wn as a4,
8964
- ai as a5,
8965
- Qi as a6,
8966
- Xy as a7,
8967
- Wa as a8,
8968
- Oe as a9,
8969
- A as aA,
8970
- So as aB,
8971
- To as aC,
8972
- Sx as aD,
8973
- wx as aE,
8959
+ c0 as a0,
8960
+ mt as a1,
8961
+ ks as a2,
8962
+ oh as a3,
8963
+ S0 as a4,
8964
+ Wn as a5,
8965
+ ai as a6,
8966
+ Qi as a7,
8967
+ Ky as a8,
8968
+ Wa as a9,
8969
+ F as aA,
8970
+ A as aB,
8971
+ So as aC,
8972
+ To as aD,
8973
+ kx as aE,
8974
8974
  Bx as aF,
8975
- vx as aG,
8976
- bx as aH,
8977
- Sn as aI,
8978
- Tx as aJ,
8979
- Ax as aK,
8980
- Lx as aL,
8981
- kx as aM,
8982
- ql as aN,
8983
- Ct as aO,
8984
- Xm as aa,
8985
- Zy as ab,
8986
- Gy as ac,
8987
- iC as ad,
8988
- MC as ae,
8989
- Ey as af,
8990
- Cl as ag,
8991
- li as ah,
8992
- wy as ai,
8993
- Ie as aj,
8994
- tr as ak,
8995
- ge as al,
8996
- ie as am,
8997
- Wy as an,
8998
- ss as ao,
8999
- FC as ap,
9000
- bl as aq,
9001
- fn as ar,
9002
- Di as as,
9003
- Cx as at,
9004
- ti as au,
9005
- rx as av,
9006
- Xg as aw,
9007
- $a as ax,
9008
- si as ay,
9009
- F as az,
8975
+ Fx as aG,
8976
+ wx as aH,
8977
+ Tx as aI,
8978
+ Sn as aJ,
8979
+ Sx as aK,
8980
+ Ex as aL,
8981
+ Ax as aM,
8982
+ vx as aN,
8983
+ ql as aO,
8984
+ Ct as aP,
8985
+ Oe as aa,
8986
+ Xm as ab,
8987
+ Jy as ac,
8988
+ Vy as ad,
8989
+ rC as ae,
8990
+ OC as af,
8991
+ My as ag,
8992
+ Cl as ah,
8993
+ li as ai,
8994
+ By as aj,
8995
+ Ie as ak,
8996
+ tr as al,
8997
+ ge as am,
8998
+ ie as an,
8999
+ Hy as ao,
9000
+ ss as ap,
9001
+ LC as aq,
9002
+ bl as ar,
9003
+ fn as as,
9004
+ Di as at,
9005
+ xx as au,
9006
+ ti as av,
9007
+ nx as aw,
9008
+ Xg as ax,
9009
+ $a as ay,
9010
+ si as az,
9010
9011
  Ea as b,
9011
9012
  Ut as c,
9012
9013
  Je as d,
@@ -9019,16 +9020,16 @@ export {
9019
9020
  Hg as k,
9020
9021
  S as l,
9021
9022
  de as m,
9022
- L0 as n,
9023
+ A0 as n,
9023
9024
  df as o,
9024
- b0 as p,
9025
+ T0 as p,
9025
9026
  ia as q,
9026
- p0 as r,
9027
+ g0 as r,
9027
9028
  La as s,
9028
9029
  jg as t,
9029
9030
  qg as u,
9030
9031
  Ha as v,
9031
- B0 as w,
9032
+ F0 as w,
9032
9033
  Oi as x,
9033
9034
  Ue as y,
9034
9035
  Oa as z