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.
- package/dist/{arc-2c65c00d.js → arc-7150e654.js} +29 -29
- package/dist/{arc-56235257.js → arc-7eb198ee.js} +1 -1
- package/dist/{c4Diagram-30400ad0.js → c4Diagram-380bf510.js} +2 -2
- package/dist/{c4Diagram-4015ed94.js → c4Diagram-9cddb37f.js} +1 -1
- package/dist/{c4Diagram-c5f6cac5.js → c4Diagram-cfee614a.js} +2 -2
- package/dist/{classDiagram-a3547413.js → classDiagram-5d1b8e6f.js} +5 -5
- package/dist/{classDiagram-4adda95e.js → classDiagram-a96cd833.js} +5 -5
- package/dist/{classDiagram-f9088573.js → classDiagram-bc733c3b.js} +3 -3
- package/dist/{classDiagram-v2-0a70a412.js → classDiagram-v2-67cfdf13.js} +8 -8
- package/dist/{classDiagram-v2-56d00918.js → classDiagram-v2-8931bdaf.js} +6 -6
- package/dist/{classDiagram-v2-60cd73ae.js → classDiagram-v2-c07ab2ac.js} +8 -8
- package/dist/{createText-31812fd1.js → createText-3df630b5.js} +39 -18
- package/dist/{createText-2f2a343a.js → createText-d34e51c6.js} +39 -18
- package/dist/{createText-34ecf23e.js → createText-f4a1d776.js} +759 -741
- package/dist/{edges-06fe0e9b.js → edges-49ac43a2.js} +3 -3
- package/dist/{edges-8c2fb38e.js → edges-b5d62f50.js} +4 -4
- package/dist/{edges-84ec6f60.js → edges-e08b4480.js} +4 -4
- package/dist/{erDiagram-2034ab6f.js → erDiagram-67d49ee6.js} +3 -3
- package/dist/{erDiagram-79324bed.js → erDiagram-bd715e3e.js} +3 -3
- package/dist/{erDiagram-3f713c6a.js → erDiagram-f6946109.js} +1 -1
- package/dist/{flowDb-197cd6d1.js → flowDb-6a57c1b4.js} +1 -1
- package/dist/{flowDb-4e7c4aec.js → flowDb-b96f714d.js} +1 -1
- package/dist/{flowDb-7f7635cc.js → flowDb-e0e3fd7a.js} +1 -1
- package/dist/{flowDiagram-d3a638d5.js → flowDiagram-8fe09f21.js} +10 -10
- package/dist/{flowDiagram-a2b06433.js → flowDiagram-93327f21.js} +7 -7
- package/dist/{flowDiagram-7f2bb914.js → flowDiagram-98e6d0e8.js} +10 -10
- package/dist/{flowDiagram-v2-c75a17c2.js → flowDiagram-v2-3b8e6891.js} +10 -10
- package/dist/{flowDiagram-v2-9f8fab07.js → flowDiagram-v2-476db779.js} +7 -7
- package/dist/{flowDiagram-v2-d84f41d0.js → flowDiagram-v2-c3745723.js} +10 -10
- package/dist/{flowchart-elk-definition-73ae1d0b.js → flowchart-elk-definition-37f84cb6.js} +7 -7
- package/dist/{flowchart-elk-definition-5cf0e905.js → flowchart-elk-definition-5082a990.js} +6 -6
- package/dist/{flowchart-elk-definition-b299cff1.js → flowchart-elk-definition-9b5375b9.js} +223 -223
- package/dist/{ganttDiagram-1781195b.js → ganttDiagram-06967d3a.js} +2 -2
- package/dist/{ganttDiagram-4e00717f.js → ganttDiagram-7ce12d6b.js} +1 -1
- package/dist/{ganttDiagram-eddf2b5d.js → ganttDiagram-8a43e655.js} +2 -2
- package/dist/{gitGraphDiagram-ac8b1a85.js → gitGraphDiagram-1e960c50.js} +1 -1
- package/dist/{gitGraphDiagram-71d608d2.js → gitGraphDiagram-2e5972b2.js} +1 -1
- package/dist/{gitGraphDiagram-bd04333d.js → gitGraphDiagram-49074372.js} +1 -1
- package/dist/{index-ce156fd5.js → index-714fe675.js} +4 -4
- package/dist/{index-7484f147.js → index-a92ac404.js} +3 -3
- package/dist/{index-bf86b901.js → index-e1d945fd.js} +4 -4
- package/dist/{infoDiagram-bc0d5d92.js → infoDiagram-264bed3e.js} +1 -1
- package/dist/{infoDiagram-d8edadcf.js → infoDiagram-a3502c4f.js} +1 -1
- package/dist/{infoDiagram-e2ad1b58.js → infoDiagram-bb968efd.js} +1 -1
- package/dist/{journeyDiagram-eeb24d29.js → journeyDiagram-255a0ba0.js} +3 -3
- package/dist/{journeyDiagram-b5476ffb.js → journeyDiagram-31be0096.js} +1 -1
- package/dist/{journeyDiagram-1eb6fba0.js → journeyDiagram-b4ecc044.js} +3 -3
- package/dist/{layout-1171b506.js → layout-3ecfba7d.js} +1 -1
- package/dist/{layout-23ab7ebc.js → layout-db328a38.js} +1 -1
- package/dist/{line-47adbd5d.js → line-130fa1e5.js} +1 -1
- package/dist/{line-850ff9a1.js → line-9ed8ba8b.js} +1 -1
- package/dist/{linear-8f527e14.js → linear-6a545413.js} +1 -1
- package/dist/{linear-cedd28c4.js → linear-cfd7abf9.js} +1 -1
- package/dist/{mermaid-c66525a4.js → mermaid-34beccd0.js} +74 -72
- package/dist/{mermaid-08b2ff5f.js → mermaid-8ea29a40.js} +371 -370
- package/dist/{mermaid-ddfd1cde.js → mermaid-b0ad2de1.js} +23 -21
- package/dist/mermaid.core.mjs +1 -1
- package/dist/mermaid.esm.min.mjs +1 -1
- package/dist/mermaid.esm.mjs +2 -2
- package/dist/mermaid.js +47 -24
- package/dist/mermaid.min.js +122 -122
- package/dist/{mindmap-definition-7c7f5519.js → mindmap-definition-4fc2557c.js} +2 -2
- package/dist/{mindmap-definition-b35271d9.js → mindmap-definition-c274dca3.js} +2 -2
- package/dist/{mindmap-definition-825812a2.js → mindmap-definition-d99fa72b.js} +2 -2
- package/dist/{pieDiagram-c9e1e65d.js → pieDiagram-157505fe.js} +1 -1
- package/dist/{pieDiagram-9f52f3c8.js → pieDiagram-b14d6516.js} +2 -2
- package/dist/{pieDiagram-427d710c.js → pieDiagram-ca09f680.js} +2 -2
- package/dist/{quadrantDiagram-dbf8fc84.js → quadrantDiagram-4a0aa1c7.js} +4 -4
- package/dist/{quadrantDiagram-0bfe3602.js → quadrantDiagram-5b13e66e.js} +61 -61
- package/dist/{quadrantDiagram-1ee9b076.js → quadrantDiagram-fd70f2d0.js} +3 -3
- package/dist/{requirementDiagram-a1feb0ba.js → requirementDiagram-19c99588.js} +1 -1
- package/dist/{requirementDiagram-480c4b33.js → requirementDiagram-20d822e5.js} +3 -3
- package/dist/{requirementDiagram-f7bd47cb.js → requirementDiagram-3071de27.js} +3 -3
- package/dist/{selectAll-776a0c51.js → selectAll-92b901d1.js} +1 -1
- package/dist/{selectAll-378e90f0.js → selectAll-c295459b.js} +1 -1
- package/dist/{sequenceDiagram-5e6de89c.js → sequenceDiagram-1d99af4c.js} +216 -214
- package/dist/{sequenceDiagram-d370aecf.js → sequenceDiagram-317224a5.js} +6 -5
- package/dist/{sequenceDiagram-4a53e255.js → sequenceDiagram-5dfd0049.js} +4 -3
- package/dist/{stateDiagram-a0ac330a.js → stateDiagram-133e3642.js} +2 -2
- package/dist/{stateDiagram-eed21683.js → stateDiagram-4e50f1a0.js} +4 -4
- package/dist/{stateDiagram-f56100fa.js → stateDiagram-a9a9b756.js} +4 -4
- package/dist/{stateDiagram-v2-cfe94687.js → stateDiagram-v2-6371a76b.js} +6 -6
- package/dist/{stateDiagram-v2-2a8ef368.js → stateDiagram-v2-b34fad08.js} +8 -8
- package/dist/{stateDiagram-v2-7684bed5.js → stateDiagram-v2-ef99b8a4.js} +8 -8
- package/dist/{styles-2f9839dc.js → styles-29b137c7.js} +1 -1
- package/dist/{styles-1557db13.js → styles-313a4a41.js} +5 -5
- package/dist/{styles-aea5c17b.js → styles-5f89df53.js} +3 -3
- package/dist/{styles-b9045be1.js → styles-74f60bde.js} +1 -1
- package/dist/{styles-ad91cc54.js → styles-82a206d5.js} +5 -5
- package/dist/{styles-a40c3df8.js → styles-aae272b4.js} +1 -1
- package/dist/{styles-0a525a9a.js → styles-aefe6593.js} +1 -1
- package/dist/{styles-ed94903c.js → styles-bed8d31d.js} +1 -1
- package/dist/{styles-d9667b1f.js → styles-fa41df25.js} +1 -1
- package/dist/{svgDraw-14f13a51.js → svgDraw-0fcc813d.js} +1 -1
- package/dist/{svgDraw-d5bb5edb.js → svgDraw-591e3474.js} +2 -2
- package/dist/{svgDraw-39291d2f.js → svgDraw-b2141e90.js} +2 -2
- package/dist/{svgDrawCommon-b06ba884.js → svgDrawCommon-0bff53a1.js} +1 -1
- package/dist/{svgDrawCommon-87f2bfe2.js → svgDrawCommon-daf0bec5.js} +1 -1
- package/dist/{timeline-definition-4cdb07ca.js → timeline-definition-5ed366f4.js} +1 -1
- package/dist/{timeline-definition-927a93b1.js → timeline-definition-ee1cab63.js} +2 -2
- package/dist/{timeline-definition-afaf264f.js → timeline-definition-fff849c3.js} +2 -2
- package/dist/utils.d.ts +1 -0
- 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
|
|
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
|
|
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
|
|
1996
|
-
function
|
|
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
|
|
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,
|
|
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}(?![{]${
|
|
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
|
-
},
|
|
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
|
|
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
|
|
7671
|
+
return u0[i] || e;
|
|
7672
7672
|
}
|
|
7673
|
-
function
|
|
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
|
|
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
|
|
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
|
|
7712
|
-
return t.length === 1 ? t[0] :
|
|
7711
|
+
function C0(t) {
|
|
7712
|
+
return t.length === 1 ? t[0] : y0(t);
|
|
7713
7713
|
}
|
|
7714
|
-
const
|
|
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
|
|
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
|
|
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
|
|
7768
|
-
function
|
|
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
|
|
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
|
-
},
|
|
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
|
-
},
|
|
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 } =
|
|
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
|
-
),
|
|
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
|
|
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 =
|
|
7857
|
-
M.text = v;
|
|
7858
|
-
const q =
|
|
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
|
-
),
|
|
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
|
|
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
|
|
7904
|
+
function O0(t) {
|
|
7905
7905
|
return t instanceof Error ? t.message : String(t);
|
|
7906
7906
|
}
|
|
7907
|
-
const
|
|
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:
|
|
7920
|
-
calculateTextHeight:
|
|
7919
|
+
wrapLabel: F0,
|
|
7920
|
+
calculateTextHeight: A0,
|
|
7921
7921
|
calculateTextWidth: ir,
|
|
7922
7922
|
calculateTextDimensions: Dn,
|
|
7923
|
-
detectInit:
|
|
7923
|
+
detectInit: d0,
|
|
7924
7924
|
detectDirective: ja,
|
|
7925
|
-
isSubstringInArray:
|
|
7926
|
-
interpolateToCurve:
|
|
7927
|
-
calcLabelPosition:
|
|
7928
|
-
calcCardinalityPosition:
|
|
7929
|
-
calcTerminalLabelPosition:
|
|
7930
|
-
formatUrl:
|
|
7931
|
-
getStylesFromArray:
|
|
7932
|
-
generateId:
|
|
7933
|
-
random:
|
|
7934
|
-
runFunc:
|
|
7935
|
-
entityDecode:
|
|
7936
|
-
initIdGenerator:
|
|
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:
|
|
7939
|
+
insertTitle: I0,
|
|
7940
7940
|
parseFontSize: Nn
|
|
7941
7941
|
};
|
|
7942
|
-
var Ya = "comm", Ga = "rule", Va = "decl",
|
|
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
|
|
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
|
|
7971
|
+
function q0() {
|
|
7972
7972
|
return Z;
|
|
7973
7973
|
}
|
|
7974
|
-
function
|
|
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
|
|
8021
|
+
function z0(t) {
|
|
8022
8022
|
return Cr = Me = 1, Za = Zt($e = t), bt = 0, [];
|
|
8023
8023
|
}
|
|
8024
|
-
function
|
|
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
|
|
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
|
|
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
|
|
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
|
|
8064
|
+
function Y0(t) {
|
|
8065
8065
|
for (; !sn(ce()); )
|
|
8066
8066
|
vt();
|
|
8067
8067
|
return xr(t, bt);
|
|
8068
8068
|
}
|
|
8069
|
-
function
|
|
8070
|
-
return
|
|
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
|
-
|
|
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 +=
|
|
8089
|
+
W += H0(_);
|
|
8090
8090
|
break;
|
|
8091
8091
|
case 92:
|
|
8092
|
-
W +=
|
|
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(
|
|
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 &&
|
|
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 +=
|
|
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 =
|
|
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
|
|
8167
|
-
return qn(t, e, i, Ya, Rn(
|
|
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
|
|
8177
|
+
function X0(t, e, i, r) {
|
|
8178
8178
|
switch (t.type) {
|
|
8179
|
-
case
|
|
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
|
|
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.
|
|
8192
|
-
const { diagram: t } = await import("./c4Diagram-
|
|
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
|
-
},
|
|
8194
|
+
}, J0 = {
|
|
8195
8195
|
id: Ja,
|
|
8196
|
-
detector:
|
|
8197
|
-
loader:
|
|
8198
|
-
},
|
|
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
|
-
},
|
|
8202
|
-
const { diagram: t } = await import("./flowDiagram-
|
|
8201
|
+
}, e_ = async () => {
|
|
8202
|
+
const { diagram: t } = await import("./flowDiagram-8fe09f21.js");
|
|
8203
8203
|
return { id: Qa, diagram: t };
|
|
8204
|
-
},
|
|
8204
|
+
}, i_ = {
|
|
8205
8205
|
id: Qa,
|
|
8206
|
-
detector:
|
|
8207
|
-
loader:
|
|
8208
|
-
},
|
|
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
|
-
},
|
|
8212
|
-
const { diagram: t } = await import("./flowDiagram-v2-
|
|
8211
|
+
}, o_ = async () => {
|
|
8212
|
+
const { diagram: t } = await import("./flowDiagram-v2-3b8e6891.js");
|
|
8213
8213
|
return { id: tl, diagram: t };
|
|
8214
|
-
},
|
|
8214
|
+
}, s_ = {
|
|
8215
8215
|
id: tl,
|
|
8216
|
-
detector:
|
|
8217
|
-
loader:
|
|
8218
|
-
},
|
|
8219
|
-
const { diagram: t } = await import("./erDiagram-
|
|
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
|
-
},
|
|
8221
|
+
}, c_ = {
|
|
8222
8222
|
id: el,
|
|
8223
|
-
detector:
|
|
8224
|
-
loader:
|
|
8225
|
-
},
|
|
8226
|
-
const { diagram: t } = await import("./gitGraphDiagram-
|
|
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
|
-
},
|
|
8228
|
+
}, p_ = {
|
|
8229
8229
|
id: il,
|
|
8230
|
-
detector:
|
|
8231
|
-
loader:
|
|
8232
|
-
},
|
|
8233
|
-
const { diagram: t } = await import("./ganttDiagram-
|
|
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:
|
|
8238
|
-
loader:
|
|
8239
|
-
},
|
|
8240
|
-
const { diagram: t } = await import("./infoDiagram-
|
|
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
|
-
},
|
|
8242
|
+
}, T_ = {
|
|
8243
8243
|
id: nl,
|
|
8244
|
-
detector:
|
|
8245
|
-
loader:
|
|
8246
|
-
},
|
|
8247
|
-
const { diagram: t } = await import("./pieDiagram-
|
|
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
|
-
},
|
|
8249
|
+
}, w_ = {
|
|
8250
8250
|
id: ol,
|
|
8251
|
-
detector:
|
|
8252
|
-
loader:
|
|
8253
|
-
},
|
|
8254
|
-
const { diagram: t } = await import("./quadrantDiagram-
|
|
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
|
-
},
|
|
8256
|
+
}, A_ = {
|
|
8257
8257
|
id: sl,
|
|
8258
|
-
detector:
|
|
8259
|
-
loader:
|
|
8260
|
-
},
|
|
8261
|
-
const { diagram: t } = await import("./requirementDiagram-
|
|
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
|
-
},
|
|
8263
|
+
}, I_ = {
|
|
8264
8264
|
id: al,
|
|
8265
|
-
detector:
|
|
8266
|
-
loader:
|
|
8267
|
-
},
|
|
8268
|
-
const { diagram: t } = await import("./sequenceDiagram-
|
|
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
|
-
},
|
|
8270
|
+
}, R_ = {
|
|
8271
8271
|
id: ll,
|
|
8272
|
-
detector:
|
|
8273
|
-
loader:
|
|
8274
|
-
},
|
|
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
|
-
},
|
|
8278
|
-
const { diagram: t } = await import("./classDiagram-
|
|
8277
|
+
}, z_ = async () => {
|
|
8278
|
+
const { diagram: t } = await import("./classDiagram-5d1b8e6f.js");
|
|
8279
8279
|
return { id: hl, diagram: t };
|
|
8280
|
-
},
|
|
8280
|
+
}, W_ = {
|
|
8281
8281
|
id: hl,
|
|
8282
|
-
detector:
|
|
8283
|
-
loader:
|
|
8284
|
-
},
|
|
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
|
-
},
|
|
8288
|
-
const { diagram: t } = await import("./classDiagram-v2-
|
|
8287
|
+
}, U_ = async () => {
|
|
8288
|
+
const { diagram: t } = await import("./classDiagram-v2-c07ab2ac.js");
|
|
8289
8289
|
return { id: cl, diagram: t };
|
|
8290
|
-
},
|
|
8290
|
+
}, Y_ = {
|
|
8291
8291
|
id: cl,
|
|
8292
|
-
detector:
|
|
8293
|
-
loader:
|
|
8294
|
-
},
|
|
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
|
-
},
|
|
8298
|
-
const { diagram: t } = await import("./stateDiagram-
|
|
8297
|
+
}, X_ = async () => {
|
|
8298
|
+
const { diagram: t } = await import("./stateDiagram-4e50f1a0.js");
|
|
8299
8299
|
return { id: ul, diagram: t };
|
|
8300
|
-
},
|
|
8300
|
+
}, K_ = {
|
|
8301
8301
|
id: ul,
|
|
8302
|
-
detector:
|
|
8303
|
-
loader:
|
|
8304
|
-
},
|
|
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
|
-
},
|
|
8308
|
-
const { diagram: t } = await import("./stateDiagram-v2-
|
|
8307
|
+
}, Q_ = async () => {
|
|
8308
|
+
const { diagram: t } = await import("./stateDiagram-v2-b34fad08.js");
|
|
8309
8309
|
return { id: fl, diagram: t };
|
|
8310
|
-
},
|
|
8310
|
+
}, ty = {
|
|
8311
8311
|
id: fl,
|
|
8312
|
-
detector:
|
|
8313
|
-
loader:
|
|
8314
|
-
},
|
|
8315
|
-
const { diagram: t } = await import("./journeyDiagram-
|
|
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
|
-
},
|
|
8317
|
+
}, ny = {
|
|
8318
8318
|
id: dl,
|
|
8319
|
-
detector:
|
|
8320
|
-
loader:
|
|
8321
|
-
},
|
|
8322
|
-
},
|
|
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(
|
|
8347
|
+
S.error("Error while rendering info diagram"), S.error(O0(r));
|
|
8348
8348
|
}
|
|
8349
8349
|
}, pl = {
|
|
8350
|
-
setConf:
|
|
8351
|
-
draw:
|
|
8352
|
-
},
|
|
8350
|
+
setConf: ly,
|
|
8351
|
+
draw: hy
|
|
8352
|
+
}, cy = {
|
|
8353
8353
|
db: {
|
|
8354
8354
|
clear: () => {
|
|
8355
8355
|
}
|
|
8356
8356
|
},
|
|
8357
|
-
styles:
|
|
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
|
-
},
|
|
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
|
-
},
|
|
8374
|
-
const { diagram: t } = await import("./flowchart-elk-definition-
|
|
8373
|
+
}, dy = async () => {
|
|
8374
|
+
const { diagram: t } = await import("./flowchart-elk-definition-9b5375b9.js");
|
|
8375
8375
|
return { id: gl, diagram: t };
|
|
8376
|
-
},
|
|
8376
|
+
}, py = {
|
|
8377
8377
|
id: gl,
|
|
8378
|
-
detector:
|
|
8379
|
-
loader:
|
|
8380
|
-
},
|
|
8381
|
-
const { diagram: t } = await import("./timeline-definition-
|
|
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
|
-
},
|
|
8383
|
+
}, yy = {
|
|
8384
8384
|
id: ml,
|
|
8385
|
-
detector:
|
|
8386
|
-
loader:
|
|
8387
|
-
},
|
|
8388
|
-
const { diagram: t } = await import("./mindmap-definition-
|
|
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
|
-
},
|
|
8390
|
+
}, Ty = {
|
|
8391
8391
|
id: _l,
|
|
8392
|
-
detector:
|
|
8393
|
-
loader:
|
|
8394
|
-
},
|
|
8392
|
+
detector: xy,
|
|
8393
|
+
loader: by
|
|
8394
|
+
}, Sy = Ty;
|
|
8395
8395
|
let Zo = !1;
|
|
8396
8396
|
const Pn = () => {
|
|
8397
|
-
Zo || (Zo = !0, Ji("error",
|
|
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
|
-
|
|
8423
|
-
|
|
8424
|
-
|
|
8425
|
-
|
|
8426
|
-
|
|
8427
|
-
|
|
8428
|
-
|
|
8429
|
-
|
|
8430
|
-
|
|
8431
|
-
|
|
8432
|
-
|
|
8433
|
-
|
|
8434
|
-
|
|
8435
|
-
|
|
8436
|
-
|
|
8437
|
-
|
|
8438
|
-
|
|
8439
|
-
|
|
8440
|
-
|
|
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
|
-
},
|
|
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(
|
|
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
|
|
8489
|
+
const Nx = (t) => {
|
|
8490
8490
|
hn.push(t);
|
|
8491
|
-
},
|
|
8491
|
+
}, vy = () => {
|
|
8492
8492
|
hn.forEach((t) => {
|
|
8493
8493
|
t();
|
|
8494
8494
|
}), hn = [];
|
|
8495
8495
|
};
|
|
8496
|
-
var
|
|
8496
|
+
var wy = Object.prototype;
|
|
8497
8497
|
function Cl(t) {
|
|
8498
|
-
var e = t && t.constructor, i = typeof e == "function" && e.prototype ||
|
|
8498
|
+
var e = t && t.constructor, i = typeof e == "function" && e.prototype || wy;
|
|
8499
8499
|
return t === i;
|
|
8500
8500
|
}
|
|
8501
|
-
function
|
|
8501
|
+
function By(t, e) {
|
|
8502
8502
|
return function(i) {
|
|
8503
8503
|
return t(e(i));
|
|
8504
8504
|
};
|
|
8505
8505
|
}
|
|
8506
|
-
var
|
|
8507
|
-
const
|
|
8508
|
-
var
|
|
8509
|
-
function
|
|
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
|
|
8511
|
+
return Ly(t);
|
|
8512
8512
|
var e = [];
|
|
8513
8513
|
for (var i in Object(t))
|
|
8514
|
-
|
|
8514
|
+
Ey.call(t, i) && i != "constructor" && e.push(i);
|
|
8515
8515
|
return e;
|
|
8516
8516
|
}
|
|
8517
|
-
var
|
|
8518
|
-
const cn =
|
|
8519
|
-
var
|
|
8520
|
-
const un =
|
|
8521
|
-
var
|
|
8522
|
-
const fn =
|
|
8523
|
-
var
|
|
8524
|
-
const dn =
|
|
8525
|
-
var Jo = "[object Map]",
|
|
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 ==
|
|
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
|
|
8531
|
+
return is;
|
|
8534
8532
|
case qy:
|
|
8535
|
-
return
|
|
8533
|
+
return Jo;
|
|
8536
8534
|
case Py:
|
|
8537
|
-
return
|
|
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
|
|
8543
|
+
const Hy = se;
|
|
8544
8544
|
function Wn(t) {
|
|
8545
8545
|
return t != null && typeof t == "object";
|
|
8546
8546
|
}
|
|
8547
|
-
var
|
|
8547
|
+
var jy = "[object Arguments]";
|
|
8548
8548
|
function rs(t) {
|
|
8549
|
-
return Wn(t) && ai(t) ==
|
|
8549
|
+
return Wn(t) && ai(t) == jy;
|
|
8550
8550
|
}
|
|
8551
|
-
var xl = Object.prototype,
|
|
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) &&
|
|
8554
|
+
return Wn(t) && Uy.call(t, "callee") && !Yy.call(t, "callee");
|
|
8555
8555
|
};
|
|
8556
|
-
const
|
|
8557
|
-
var
|
|
8558
|
-
const
|
|
8559
|
-
var
|
|
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 <=
|
|
8561
|
+
return typeof t == "number" && t > -1 && t % 1 == 0 && t <= Zy;
|
|
8562
8562
|
}
|
|
8563
|
-
function
|
|
8563
|
+
function Jy(t) {
|
|
8564
8564
|
return t != null && bl(t.length) && !Ha(t);
|
|
8565
8565
|
}
|
|
8566
|
-
function
|
|
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,
|
|
8570
|
-
const
|
|
8571
|
-
var
|
|
8572
|
-
Y[
|
|
8573
|
-
Y[
|
|
8574
|
-
function
|
|
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
|
|
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,
|
|
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 =
|
|
8590
|
-
var as = ss && ss.isTypedArray,
|
|
8591
|
-
const
|
|
8592
|
-
var
|
|
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 (
|
|
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 =
|
|
8599
|
-
if (e ==
|
|
8598
|
+
var e = Hy(t);
|
|
8599
|
+
if (e == IC || e == $C)
|
|
8600
8600
|
return !t.size;
|
|
8601
8601
|
if (Cl(t))
|
|
8602
|
-
return !
|
|
8602
|
+
return !My(t).length;
|
|
8603
8603
|
for (var i in t)
|
|
8604
|
-
if (
|
|
8604
|
+
if (NC.call(t, i))
|
|
8605
8605
|
return !1;
|
|
8606
8606
|
return !0;
|
|
8607
8607
|
}
|
|
8608
|
-
const
|
|
8609
|
-
function
|
|
8610
|
-
t.attr("role",
|
|
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
|
|
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
|
-
],
|
|
8634
|
-
async function
|
|
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
|
|
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
|
-
},
|
|
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; }`,
|
|
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
|
-
},
|
|
8675
|
-
const n =
|
|
8676
|
-
return ln(
|
|
8677
|
-
},
|
|
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 =
|
|
8683
|
-
},
|
|
8684
|
-
const i = e ? e.viewBox.baseVal.height + "px" :
|
|
8685
|
-
return `<iframe style="width:${
|
|
8686
|
-
${
|
|
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",
|
|
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
|
|
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
|
-
},
|
|
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) ??
|
|
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 ===
|
|
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}`,
|
|
8720
|
+
hs(c, t, l, `font-family: ${p}`, YC);
|
|
8721
8721
|
} else {
|
|
8722
|
-
if (
|
|
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 =
|
|
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 =
|
|
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
|
-
|
|
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), $ =
|
|
8752
|
+
if (S.debug("config.arrowMarkerAbsolute", n.arrowMarkerAbsolute), $ = ax($, u, ia(n.arrowMarkerAbsolute)), u) {
|
|
8753
8753
|
const y = c.select(h + " svg").node();
|
|
8754
|
-
$ =
|
|
8754
|
+
$ = lx($, y);
|
|
8755
8755
|
} else
|
|
8756
8756
|
g || ($ = Yi.sanitize($, {
|
|
8757
|
-
ADD_TAGS:
|
|
8758
|
-
ADD_ATTR:
|
|
8757
|
+
ADD_TAGS: tx,
|
|
8758
|
+
ADD_ATTR: ex
|
|
8759
8759
|
}));
|
|
8760
|
-
if (
|
|
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
|
|
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
|
|
8777
|
-
|
|
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:
|
|
8781
|
-
parse:
|
|
8780
|
+
render: cx,
|
|
8781
|
+
parse: ix,
|
|
8782
8782
|
parseDirective: $a,
|
|
8783
8783
|
getDiagramFromText: zn,
|
|
8784
|
-
initialize:
|
|
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
|
|
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
|
|
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
|
-
},
|
|
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
|
-
|
|
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
|
-
},
|
|
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
|
-
},
|
|
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
|
|
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
|
-
},
|
|
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:
|
|
8918
|
+
parse: yx,
|
|
8919
8919
|
render: Ll,
|
|
8920
|
-
init:
|
|
8920
|
+
init: gx,
|
|
8921
8921
|
run: vl,
|
|
8922
|
-
registerExternalDiagrams:
|
|
8922
|
+
registerExternalDiagrams: mx,
|
|
8923
8923
|
initialize: wl,
|
|
8924
8924
|
parseError: void 0,
|
|
8925
8925
|
contentLoaded: Bl,
|
|
8926
|
-
setParseErrorHandler:
|
|
8926
|
+
setParseErrorHandler: _x,
|
|
8927
8927
|
detectType: mr
|
|
8928
8928
|
};
|
|
8929
8929
|
export {
|
|
8930
|
-
|
|
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
|
-
|
|
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
|
-
|
|
8944
|
+
bx as N,
|
|
8945
8945
|
Pl as O,
|
|
8946
8946
|
Wl as P,
|
|
8947
|
-
|
|
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
|
-
|
|
8960
|
-
|
|
8961
|
-
|
|
8962
|
-
|
|
8963
|
-
|
|
8964
|
-
|
|
8965
|
-
|
|
8966
|
-
|
|
8967
|
-
|
|
8968
|
-
|
|
8969
|
-
|
|
8970
|
-
|
|
8971
|
-
|
|
8972
|
-
|
|
8973
|
-
|
|
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
|
-
|
|
8976
|
-
|
|
8977
|
-
|
|
8978
|
-
|
|
8979
|
-
|
|
8980
|
-
|
|
8981
|
-
|
|
8982
|
-
|
|
8983
|
-
|
|
8984
|
-
|
|
8985
|
-
|
|
8986
|
-
|
|
8987
|
-
|
|
8988
|
-
|
|
8989
|
-
|
|
8990
|
-
|
|
8991
|
-
|
|
8992
|
-
|
|
8993
|
-
|
|
8994
|
-
|
|
8995
|
-
|
|
8996
|
-
|
|
8997
|
-
|
|
8998
|
-
|
|
8999
|
-
|
|
9000
|
-
|
|
9001
|
-
|
|
9002
|
-
|
|
9003
|
-
|
|
9004
|
-
|
|
9005
|
-
|
|
9006
|
-
|
|
9007
|
-
|
|
9008
|
-
|
|
9009
|
-
|
|
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
|
-
|
|
9023
|
+
A0 as n,
|
|
9023
9024
|
df as o,
|
|
9024
|
-
|
|
9025
|
+
T0 as p,
|
|
9025
9026
|
ia as q,
|
|
9026
|
-
|
|
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
|
-
|
|
9032
|
+
F0 as w,
|
|
9032
9033
|
Oi as x,
|
|
9033
9034
|
Ue as y,
|
|
9034
9035
|
Oa as z
|