@marimo-team/islands 0.14.8-dev19 → 0.14.8-dev21
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/{ConnectedDataExplorerComponent-C7ZUNt37.js → ConnectedDataExplorerComponent-CIKVFyEK.js} +2 -2
- package/dist/{ImageComparisonComponent-DZDRcHFY.js → ImageComparisonComponent-2_mvNMDj.js} +1 -1
- package/dist/VegaLite-4HveKhfS.js +36029 -0
- package/dist/{_baseUniq-BzHghS1u.js → _baseUniq-DK93QInS.js} +70 -70
- package/dist/{any-language-editor-BCb2v34j.js → any-language-editor-Dqs3hkh-.js} +1 -1
- package/dist/arc-BXrety1g.js +83 -0
- package/dist/{architectureDiagram-IEHRJDOE-B7iONzmg.js → architectureDiagram-IEHRJDOE-BKlxF7se.js} +5 -5
- package/dist/{blockDiagram-JOT3LUYC-CZ7B1WVe.js → blockDiagram-JOT3LUYC-C1Xm0XTZ.js} +5 -5
- package/dist/{c4Diagram-VJAJSXHY-Dcnvc4YK.js → c4Diagram-VJAJSXHY-C7rT425g.js} +2 -2
- package/dist/{channel-hDZ13A2O.js → channel-xZj6E-mJ.js} +1 -1
- package/dist/{chunk-4BMEZGHF-DqVUMgdD.js → chunk-4BMEZGHF-BXotumNq.js} +1 -1
- package/dist/{chunk-A2AXSNBT-8e3qBHUm.js → chunk-A2AXSNBT-DHeCLbwY.js} +2 -2
- package/dist/{chunk-AEK57VVT-Crc-zWQj.js → chunk-AEK57VVT-BKc7NKa0.js} +2 -2
- package/dist/{chunk-D6G4REZN-nd5ZGVJg.js → chunk-D6G4REZN-DdhdhP6J.js} +1 -1
- package/dist/{chunk-RZ5BOZE2-WfwR1UIX.js → chunk-RZ5BOZE2-BFvMQe-j.js} +1 -1
- package/dist/{chunk-XZIHB7SX-eczcJ1vJ.js → chunk-XZIHB7SX-CJ4xl08D.js} +1 -1
- package/dist/{classDiagram-GIVACNV2-NZfO5AVp.js → classDiagram-GIVACNV2-DwYfS79-.js} +2 -2
- package/dist/{classDiagram-v2-COTLJTTW-NZfO5AVp.js → classDiagram-v2-COTLJTTW-DwYfS79-.js} +2 -2
- package/dist/{clone-D3FLvY4q.js → clone-rjjo36_T.js} +1 -1
- package/dist/colors-BD7LS4qt.js +7 -0
- package/dist/{dagre-OKDRZEBW-DZLSEN8N.js → dagre-OKDRZEBW-B3ZUT07z.js} +6 -6
- package/dist/{data-editor-eH0Vx_Ij.js → data-editor-BV13-AvQ.js} +1 -1
- package/dist/{diagram-SSKATNLV-C2wtcOHI.js → diagram-SSKATNLV-BSDYZP_p.js} +3 -3
- package/dist/{diagram-VNBRO52H-buF5kva-.js → diagram-VNBRO52H-Fnp_GpYO.js} +3 -3
- package/dist/{erDiagram-Q7BY3M3F-BRfCI-Mj.js → erDiagram-Q7BY3M3F-BbpOxb-V.js} +3 -3
- package/dist/{flowDiagram-4HSFHLVR-wBdCcAka.js → flowDiagram-4HSFHLVR-BU2iqB5k.js} +3 -3
- package/dist/{ganttDiagram-APWFNJXF-B01k-9UE.js → ganttDiagram-APWFNJXF-CRs9upQ5.js} +282 -280
- package/dist/{gitGraphDiagram-7IBYFJ6S-Cj25wny2.js → gitGraphDiagram-7IBYFJ6S-DwwA4JtF.js} +4 -4
- package/dist/{graph-BFouWpLE.js → graph-CqWR-IH1.js} +3 -3
- package/dist/{index-LMqdruQ-.js → index-C3RZrcIM.js} +1 -1
- package/dist/{index-D-9U5sYa.js → index-D1HY5xjT.js} +3 -3
- package/dist/{index-Bg3QUPmP.js → index-DdVF89d9.js} +1 -1
- package/dist/{index-BO3kh0BM.js → index-DdraxiEu.js} +1 -1
- package/dist/{infoDiagram-PH2N3AL5-DtEg1dRg.js → infoDiagram-PH2N3AL5-1k7uGX46.js} +2 -2
- package/dist/init-DxzjmxYy.js +32 -0
- package/dist/{journeyDiagram-U35MCT3I-Ksshlivy.js → journeyDiagram-U35MCT3I-Dpi1JSq2.js} +3 -3
- package/dist/{kanban-definition-NDS4AKOZ-BpT4kyEe.js → kanban-definition-NDS4AKOZ-CKvzoLX4.js} +1 -1
- package/dist/{layout-CQ3anPtU.js → layout-BldMzBeT.js} +55 -55
- package/dist/linear-D8457tpx.js +211 -0
- package/dist/{main-BlJnYpay.js → main-AdvRoC03.js} +51942 -74124
- package/dist/main.js +1 -1
- package/dist/{mermaid-Ddvgb_0_.js → mermaid-dgQIP0_c.js} +339 -338
- package/dist/min-ICV4hAE9.js +80 -0
- package/dist/{mindmap-definition-ALO5MXBD-CCJPWvq8.js → mindmap-definition-ALO5MXBD-CEOv2JKB.js} +2 -2
- package/dist/ordinal-CYN5qNoq.js +77 -0
- package/dist/{pieDiagram-IB7DONF6-B_Pa8tIn.js → pieDiagram-IB7DONF6-DPhqJqsw.js} +17 -15
- package/dist/{quadrantDiagram-7GDLP6J5-C-Q7o9Yw.js → quadrantDiagram-7GDLP6J5-Cq1lOq3h.js} +2 -2
- package/dist/{radar-MK3ICKWK-fBfcDmYz.js → radar-MK3ICKWK-DzKpgYou.js} +5 -5
- package/dist/range-DdOGybNB.js +9 -0
- package/dist/{react-plotly-nXJ3VUWg.js → react-plotly-96P-Y7f_.js} +1 -1
- package/dist/{requirementDiagram-KVF5MWMF-X3AwYzVz.js → requirementDiagram-KVF5MWMF-B1wGIWzW.js} +2 -2
- package/dist/{sankeyDiagram-QLVOVGJD-mb0Waj5Y.js → sankeyDiagram-QLVOVGJD-KKLYWNHG.js} +69 -68
- package/dist/{sequenceDiagram-X6HHIX6F-Benwk5SQ.js → sequenceDiagram-X6HHIX6F-BsMGq6wR.js} +3 -3
- package/dist/{slides-component-C2zZpZew.js → slides-component-CdQpRlk4.js} +1 -1
- package/dist/{stateDiagram-DGXRK772-Bj82jp3H.js → stateDiagram-DGXRK772-CH6ODo83.js} +5 -5
- package/dist/{stateDiagram-v2-YXO3MK2T-BEVOGugG.js → stateDiagram-v2-YXO3MK2T-B2ncmTl5.js} +2 -2
- package/dist/time-LXtJoASL.js +195 -0
- package/dist/{timeline-definition-BDJGKUSR-B2bH-gHg.js → timeline-definition-BDJGKUSR-DwRQvUFh.js} +2 -2
- package/dist/timer-BYwnU4DF.js +1475 -0
- package/dist/{vega-component-Di0LS9eg.js → vega-component-DZHc38nn.js} +75 -75
- package/dist/{xychartDiagram-VJFVF3MP-D4X1H71-.js → xychartDiagram-VJFVF3MP-BQnQ1xbv.js} +10 -6
- package/package.json +1 -1
- package/dist/VegaLite-ChsFHneq.js +0 -16431
- package/dist/min-CD1Cy68N.js +0 -80
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { ax as Nd, aA as Wd, bg as zd, bX as qd, bY as Hd, bc as Yd, bZ as Ud, b_ as jd, S as Gd, b$ as dn, b1 as Xd, c0 as lo, c as Vd, F as Kd, J as Zd, V as Qd, L as Jd, j as tf, __tla as __tla_0 } from "./main-AdvRoC03.js";
|
|
2
|
+
import { T as ef, D as rf, E as af, y as nf, z as ds, A as sf, B as fs, F as of, G as lf, H as cf, I as co, J as ho, K as uo, L as fo, M as po, N as go, O as hf, P as Aa, Q as mo, S as uf, U as df, V as yo, W as ff, X as pf, Y as gf, Z as mf, _ as yf, k as ci, l as xf } from "./timer-BYwnU4DF.js";
|
|
3
|
+
let ob, iv, Or, oe, ep, Gp, Pn, zt, Io, Tx, em, eC, to, cp, sr, ev, Zi, gn, Ls, kx, Ip, rt, Hr, H, J, Uo, mx, f, zp, Iu, lv, im, xt, Fe, Ln, ch, Ye, Kc, Ox, ps, Qb, ov, cv, nv, X, sv, Ob, Mb, Ab, Xi, Tm, km, _f, dv, Wp, ht, lt, Yo, kt, Hp, Ce, ze, Am, dr, D, Qc, Yr, rv, uv, Yp, hv, qp, Up, se, rm, Lx, _b, av, Np;
|
|
3
4
|
let __tla = Promise.all([
|
|
4
5
|
(() => {
|
|
5
6
|
try {
|
|
@@ -58,7 +59,7 @@ let __tla = Promise.all([
|
|
|
58
59
|
return new xo(e, false);
|
|
59
60
|
}
|
|
60
61
|
function gs(e, t, r) {
|
|
61
|
-
var i = new
|
|
62
|
+
var i = new ef();
|
|
62
63
|
return t = t == null ? 0 : +t, i.restart((a) => {
|
|
63
64
|
i.stop(), e(a + t);
|
|
64
65
|
}, t, r), i;
|
|
@@ -120,9 +121,9 @@ let __tla = Promise.all([
|
|
|
120
121
|
}
|
|
121
122
|
}, k = "en", L = {};
|
|
122
123
|
L[k] = b;
|
|
123
|
-
var T = "$isDayjsObject",
|
|
124
|
+
var T = "$isDayjsObject", I = function(E) {
|
|
124
125
|
return E instanceof W || !(!E || !E[T]);
|
|
125
|
-
},
|
|
126
|
+
}, $ = function E(M, _, F) {
|
|
126
127
|
var A;
|
|
127
128
|
if (!M) return k;
|
|
128
129
|
if (typeof M == "string") {
|
|
@@ -136,11 +137,11 @@ let __tla = Promise.all([
|
|
|
136
137
|
}
|
|
137
138
|
return !F && A && (k = A), A || !F && k;
|
|
138
139
|
}, O = function(E, M) {
|
|
139
|
-
if (
|
|
140
|
+
if (I(E)) return E.clone();
|
|
140
141
|
var _ = typeof M == "object" ? M : {};
|
|
141
142
|
return _.date = E, _.args = arguments, new W(_);
|
|
142
143
|
}, B = S;
|
|
143
|
-
B.l =
|
|
144
|
+
B.l = $, B.i = I, B.w = function(E, M) {
|
|
144
145
|
return O(E, {
|
|
145
146
|
locale: M.$L,
|
|
146
147
|
utc: M.$u,
|
|
@@ -150,7 +151,7 @@ let __tla = Promise.all([
|
|
|
150
151
|
};
|
|
151
152
|
var W = function() {
|
|
152
153
|
function E(_) {
|
|
153
|
-
this.$L =
|
|
154
|
+
this.$L = $(_.locale, null, true), this.parse(_), this.$x = this.$x || _.x || {}, this[T] = true;
|
|
154
155
|
}
|
|
155
156
|
var M = E.prototype;
|
|
156
157
|
return M.parse = function(_) {
|
|
@@ -360,7 +361,7 @@ let __tla = Promise.all([
|
|
|
360
361
|
return L[this.$L];
|
|
361
362
|
}, M.locale = function(_, F) {
|
|
362
363
|
if (!_) return this.$L;
|
|
363
|
-
var A = this.clone(), N =
|
|
364
|
+
var A = this.clone(), N = $(_, F, true);
|
|
364
365
|
return N && (A.$L = N), A;
|
|
365
366
|
}, M.clone = function() {
|
|
366
367
|
return B.w(this.$d, this);
|
|
@@ -413,7 +414,7 @@ let __tla = Promise.all([
|
|
|
413
414
|
};
|
|
414
415
|
}), O.extend = function(E, M) {
|
|
415
416
|
return E.$i || (E(M, W, O), E.$i = true), O;
|
|
416
|
-
}, O.locale =
|
|
417
|
+
}, O.locale = $, O.isDayjs = I, O.unix = function(E) {
|
|
417
418
|
return O(1e3 * E);
|
|
418
419
|
}, O.en = L[k], O.Ls = L, O.p = {}, O;
|
|
419
420
|
});
|
|
@@ -421,7 +422,7 @@ let __tla = Promise.all([
|
|
|
421
422
|
}
|
|
422
423
|
var Tf = kf();
|
|
423
424
|
let ui, Bf, Lf, _e;
|
|
424
|
-
_f =
|
|
425
|
+
_f = Gd(Tf);
|
|
425
426
|
ui = {
|
|
426
427
|
min: {
|
|
427
428
|
r: 0,
|
|
@@ -891,9 +892,9 @@ let __tla = Promise.all([
|
|
|
891
892
|
const r = oe.parse(e);
|
|
892
893
|
return r.r = 255 - r.r, r.g = 255 - r.g, r.b = 255 - r.b, Df(r, e, t);
|
|
893
894
|
};
|
|
894
|
-
const { entries: So, setPrototypeOf: ys, isFrozen: Of, getPrototypeOf:
|
|
895
|
-
let { freeze:
|
|
896
|
-
|
|
895
|
+
const { entries: So, setPrototypeOf: ys, isFrozen: Of, getPrototypeOf: If, getOwnPropertyDescriptor: $f } = Object;
|
|
896
|
+
let { freeze: It, seal: Xt, create: ko } = Object, { apply: Ma, construct: Ea } = typeof Reflect < "u" && Reflect;
|
|
897
|
+
It || (It = function(t) {
|
|
897
898
|
return t;
|
|
898
899
|
});
|
|
899
900
|
Xt || (Xt = function(t) {
|
|
@@ -905,8 +906,8 @@ let __tla = Promise.all([
|
|
|
905
906
|
Ea || (Ea = function(t, r) {
|
|
906
907
|
return new t(...r);
|
|
907
908
|
});
|
|
908
|
-
const ri =
|
|
909
|
-
function
|
|
909
|
+
const ri = $t(Array.prototype.forEach), Rf = $t(Array.prototype.lastIndexOf), xs = $t(Array.prototype.pop), br = $t(Array.prototype.push), Pf = $t(Array.prototype.splice), di = $t(String.prototype.toLowerCase), fa = $t(String.prototype.toString), bs = $t(String.prototype.match), Cr = $t(String.prototype.replace), Nf = $t(String.prototype.indexOf), Wf = $t(String.prototype.trim), Qt = $t(Object.prototype.hasOwnProperty), Et = $t(RegExp.prototype.test), vr = zf(TypeError);
|
|
910
|
+
function $t(e) {
|
|
910
911
|
return function(t) {
|
|
911
912
|
for (var r = arguments.length, i = new Array(r > 1 ? r - 1 : 0), a = 1; a < r; a++) i[a - 1] = arguments[a];
|
|
912
913
|
return Ma(e, t, i);
|
|
@@ -936,26 +937,26 @@ let __tla = Promise.all([
|
|
|
936
937
|
for (let t = 0; t < e.length; t++) Qt(e, t) || (e[t] = null);
|
|
937
938
|
return e;
|
|
938
939
|
}
|
|
939
|
-
function
|
|
940
|
+
function Ie(e) {
|
|
940
941
|
const t = ko(null);
|
|
941
|
-
for (const [r, i] of So(e)) Qt(e, r) && (Array.isArray(i) ? t[r] = qf(i) : i && typeof i == "object" && i.constructor === Object ? t[r] =
|
|
942
|
+
for (const [r, i] of So(e)) Qt(e, r) && (Array.isArray(i) ? t[r] = qf(i) : i && typeof i == "object" && i.constructor === Object ? t[r] = Ie(i) : t[r] = i);
|
|
942
943
|
return t;
|
|
943
944
|
}
|
|
944
945
|
function wr(e, t) {
|
|
945
946
|
for (; e !== null; ) {
|
|
946
|
-
const i =
|
|
947
|
+
const i = $f(e, t);
|
|
947
948
|
if (i) {
|
|
948
|
-
if (i.get) return
|
|
949
|
-
if (typeof i.value == "function") return
|
|
949
|
+
if (i.get) return $t(i.get);
|
|
950
|
+
if (typeof i.value == "function") return $t(i.value);
|
|
950
951
|
}
|
|
951
|
-
e =
|
|
952
|
+
e = If(e);
|
|
952
953
|
}
|
|
953
954
|
function r() {
|
|
954
955
|
return null;
|
|
955
956
|
}
|
|
956
957
|
return r;
|
|
957
958
|
}
|
|
958
|
-
const Cs =
|
|
959
|
+
const Cs = It([
|
|
959
960
|
"a",
|
|
960
961
|
"abbr",
|
|
961
962
|
"acronym",
|
|
@@ -1073,7 +1074,7 @@ let __tla = Promise.all([
|
|
|
1073
1074
|
"var",
|
|
1074
1075
|
"video",
|
|
1075
1076
|
"wbr"
|
|
1076
|
-
]), pa =
|
|
1077
|
+
]), pa = It([
|
|
1077
1078
|
"svg",
|
|
1078
1079
|
"a",
|
|
1079
1080
|
"altglyph",
|
|
@@ -1117,7 +1118,7 @@ let __tla = Promise.all([
|
|
|
1117
1118
|
"tspan",
|
|
1118
1119
|
"view",
|
|
1119
1120
|
"vkern"
|
|
1120
|
-
]), ga =
|
|
1121
|
+
]), ga = It([
|
|
1121
1122
|
"feBlend",
|
|
1122
1123
|
"feColorMatrix",
|
|
1123
1124
|
"feComponentTransfer",
|
|
@@ -1143,7 +1144,7 @@ let __tla = Promise.all([
|
|
|
1143
1144
|
"feSpotLight",
|
|
1144
1145
|
"feTile",
|
|
1145
1146
|
"feTurbulence"
|
|
1146
|
-
]), Hf =
|
|
1147
|
+
]), Hf = It([
|
|
1147
1148
|
"animate",
|
|
1148
1149
|
"color-profile",
|
|
1149
1150
|
"cursor",
|
|
@@ -1166,7 +1167,7 @@ let __tla = Promise.all([
|
|
|
1166
1167
|
"solidcolor",
|
|
1167
1168
|
"unknown",
|
|
1168
1169
|
"use"
|
|
1169
|
-
]), ma =
|
|
1170
|
+
]), ma = It([
|
|
1170
1171
|
"math",
|
|
1171
1172
|
"menclose",
|
|
1172
1173
|
"merror",
|
|
@@ -1197,7 +1198,7 @@ let __tla = Promise.all([
|
|
|
1197
1198
|
"munder",
|
|
1198
1199
|
"munderover",
|
|
1199
1200
|
"mprescripts"
|
|
1200
|
-
]), Yf =
|
|
1201
|
+
]), Yf = It([
|
|
1201
1202
|
"maction",
|
|
1202
1203
|
"maligngroup",
|
|
1203
1204
|
"malignmark",
|
|
@@ -1213,9 +1214,9 @@ let __tla = Promise.all([
|
|
|
1213
1214
|
"annotation-xml",
|
|
1214
1215
|
"mprescripts",
|
|
1215
1216
|
"none"
|
|
1216
|
-
]), vs =
|
|
1217
|
+
]), vs = It([
|
|
1217
1218
|
"#text"
|
|
1218
|
-
]), ws =
|
|
1219
|
+
]), ws = It([
|
|
1219
1220
|
"accept",
|
|
1220
1221
|
"action",
|
|
1221
1222
|
"align",
|
|
@@ -1329,7 +1330,7 @@ let __tla = Promise.all([
|
|
|
1329
1330
|
"wrap",
|
|
1330
1331
|
"xmlns",
|
|
1331
1332
|
"slot"
|
|
1332
|
-
]), ya =
|
|
1333
|
+
]), ya = It([
|
|
1333
1334
|
"accent-height",
|
|
1334
1335
|
"accumulate",
|
|
1335
1336
|
"additive",
|
|
@@ -1517,7 +1518,7 @@ let __tla = Promise.all([
|
|
|
1517
1518
|
"y2",
|
|
1518
1519
|
"z",
|
|
1519
1520
|
"zoomandpan"
|
|
1520
|
-
]), Ss =
|
|
1521
|
+
]), Ss = It([
|
|
1521
1522
|
"accent",
|
|
1522
1523
|
"accentunder",
|
|
1523
1524
|
"align",
|
|
@@ -1571,7 +1572,7 @@ let __tla = Promise.all([
|
|
|
1571
1572
|
"voffset",
|
|
1572
1573
|
"width",
|
|
1573
1574
|
"xmlns"
|
|
1574
|
-
]), ii =
|
|
1575
|
+
]), ii = It([
|
|
1575
1576
|
"xlink:href",
|
|
1576
1577
|
"xml:id",
|
|
1577
1578
|
"xlink:title",
|
|
@@ -1641,7 +1642,7 @@ let __tla = Promise.all([
|
|
|
1641
1642
|
Q.content && Q.content.ownerDocument && (r = Q.content.ownerDocument);
|
|
1642
1643
|
}
|
|
1643
1644
|
let S, k = "";
|
|
1644
|
-
const { implementation: L, createNodeIterator: T, createDocumentFragment:
|
|
1645
|
+
const { implementation: L, createNodeIterator: T, createDocumentFragment: I, getElementsByTagName: $ } = r, { importNode: O } = i;
|
|
1645
1646
|
let B = Ts();
|
|
1646
1647
|
t.isSupported = typeof So == "function" && typeof C == "function" && L && L.createHTMLDocument !== void 0;
|
|
1647
1648
|
const { MUSTACHE_EXPR: W, ERB_EXPR: P, TMPLIT_EXPR: E, DATA_ATTR: M, ARIA_ATTR: _, IS_SCRIPT_OR_DATA: F, ATTR_WHITESPACE: A, CUSTOM_ELEMENT: N } = ks;
|
|
@@ -1761,14 +1762,14 @@ let __tla = Promise.all([
|
|
|
1761
1762
|
const Od = [
|
|
1762
1763
|
"application/xhtml+xml",
|
|
1763
1764
|
"text/html"
|
|
1764
|
-
],
|
|
1765
|
+
], Id = "text/html";
|
|
1765
1766
|
let bt = null, Ve = null;
|
|
1766
|
-
const
|
|
1767
|
+
const $d = r.createElement("form"), ts = function(v) {
|
|
1767
1768
|
return v instanceof RegExp || v instanceof Function;
|
|
1768
1769
|
}, ua = function() {
|
|
1769
1770
|
let v = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
1770
1771
|
if (!(Ve && Ve === v)) {
|
|
1771
|
-
if ((!v || typeof v != "object") && (v = {}), v =
|
|
1772
|
+
if ((!v || typeof v != "object") && (v = {}), v = Ie(v), yr = Od.indexOf(v.PARSER_MEDIA_TYPE) === -1 ? Id : v.PARSER_MEDIA_TYPE, bt = yr === "application/xhtml+xml" ? fa : di, K = Qt(v, "ALLOWED_TAGS") ? ot({}, v.ALLOWED_TAGS, bt) : nt, at = Qt(v, "ALLOWED_ATTR") ? ot({}, v.ALLOWED_ATTR, bt) : ut, ha = Qt(v, "ALLOWED_NAMESPACES") ? ot({}, v.ALLOWED_NAMESPACES, fa) : Fd, la = Qt(v, "ADD_URI_SAFE_ATTR") ? ot(Ie(Jn), v.ADD_URI_SAFE_ATTR, bt) : Jn, Zn = Qt(v, "ADD_DATA_URI_TAGS") ? ot(Ie(Qn), v.ADD_DATA_URI_TAGS, bt) : Qn, Ge = Qt(v, "FORBID_CONTENTS") ? ot({}, v.FORBID_CONTENTS, bt) : Kn, qt = Qt(v, "FORBID_TAGS") ? ot({}, v.FORBID_TAGS, bt) : {}, At = Qt(v, "FORBID_ATTR") ? ot({}, v.FORBID_ATTR, bt) : {}, je = Qt(v, "USE_PROFILES") ? v.USE_PROFILES : false, ke = v.ALLOW_ARIA_ATTR !== false, Kt = v.ALLOW_DATA_ATTR !== false, Ct = v.ALLOW_UNKNOWN_PROTOCOLS || false, Zt = v.ALLOW_SELF_CLOSE_IN_ATTR !== false, Ut = v.SAFE_FOR_TEMPLATES || false, Te = v.SAFE_FOR_XML !== false, De = v.WHOLE_DOCUMENT || false, Ue = v.RETURN_DOM || false, Vr = v.RETURN_DOM_FRAGMENT || false, Kr = v.RETURN_TRUSTED_TYPE || false, sa = v.FORCE_BODY || false, Xn = v.SANITIZE_DOM !== false, Vn = v.SANITIZE_NAMED_PROPS || false, oa = v.KEEP_CONTENT !== false, mr = v.IN_PLACE || false, q = v.ALLOWED_URI_REGEXP || To, Xe = v.NAMESPACE || he, Jr = v.MATHML_TEXT_INTEGRATION_POINTS || Jr, ti = v.HTML_INTEGRATION_POINTS || ti, st = v.CUSTOM_ELEMENT_HANDLING || {}, v.CUSTOM_ELEMENT_HANDLING && ts(v.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (st.tagNameCheck = v.CUSTOM_ELEMENT_HANDLING.tagNameCheck), v.CUSTOM_ELEMENT_HANDLING && ts(v.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (st.attributeNameCheck = v.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), v.CUSTOM_ELEMENT_HANDLING && typeof v.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (st.allowCustomizedBuiltInElements = v.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), Ut && (Kt = false), Vr && (Ue = true), je && (K = ot({}, vs), at = [], je.html === true && (ot(K, Cs), ot(at, ws)), je.svg === true && (ot(K, pa), ot(at, ya), ot(at, ii)), je.svgFilters === true && (ot(K, ga), ot(at, ya), ot(at, ii)), je.mathMl === true && (ot(K, ma), ot(at, Ss), ot(at, ii))), v.ADD_TAGS && (K === nt && (K = Ie(K)), ot(K, v.ADD_TAGS, bt)), v.ADD_ATTR && (at === ut && (at = Ie(at)), ot(at, v.ADD_ATTR, bt)), v.ADD_URI_SAFE_ATTR && ot(la, v.ADD_URI_SAFE_ATTR, bt), v.FORBID_CONTENTS && (Ge === Kn && (Ge = Ie(Ge)), ot(Ge, v.FORBID_CONTENTS, bt)), oa && (K["#text"] = true), De && ot(K, [
|
|
1772
1773
|
"html",
|
|
1773
1774
|
"head",
|
|
1774
1775
|
"body"
|
|
@@ -1779,7 +1780,7 @@ let __tla = Promise.all([
|
|
|
1779
1780
|
if (typeof v.TRUSTED_TYPES_POLICY.createScriptURL != "function") throw vr('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
|
|
1780
1781
|
S = v.TRUSTED_TYPES_POLICY, k = S.createHTML("");
|
|
1781
1782
|
} else S === void 0 && (S = tp(d, a)), S !== null && typeof k == "string" && (k = S.createHTML(""));
|
|
1782
|
-
|
|
1783
|
+
It && It(v), Ve = v;
|
|
1783
1784
|
}
|
|
1784
1785
|
}, es = ot({}, [
|
|
1785
1786
|
...pa,
|
|
@@ -1846,7 +1847,7 @@ let __tla = Promise.all([
|
|
|
1846
1847
|
}
|
|
1847
1848
|
}
|
|
1848
1849
|
const Tt = R.body || R.documentElement;
|
|
1849
|
-
return v && j && Tt.insertBefore(r.createTextNode(j), Tt.childNodes[0] || null), Xe === he ?
|
|
1850
|
+
return v && j && Tt.insertBefore(r.createTextNode(j), Tt.childNodes[0] || null), Xe === he ? $.call(R, De ? "html" : "body")[0] : De ? R.documentElement : Tt;
|
|
1850
1851
|
}, as = function(v) {
|
|
1851
1852
|
return T.call(v.ownerDocument || v, v, c.SHOW_ELEMENT | c.SHOW_COMMENT | c.SHOW_TEXT | c.SHOW_PROCESSING_INSTRUCTION | c.SHOW_CDATA_SECTION, null);
|
|
1852
1853
|
}, da = function(v) {
|
|
@@ -1891,7 +1892,7 @@ let __tla = Promise.all([
|
|
|
1891
1892
|
element: v.cloneNode()
|
|
1892
1893
|
}), v.textContent = R)), ue(B.afterSanitizeElements, v, null), false);
|
|
1893
1894
|
}, os = function(v, R, j) {
|
|
1894
|
-
if (Xn && (R === "id" || R === "name") && (j in r || j in
|
|
1895
|
+
if (Xn && (R === "id" || R === "name") && (j in r || j in $d)) return false;
|
|
1895
1896
|
if (!(Kt && !At[R] && Et(M, R))) {
|
|
1896
1897
|
if (!(ke && Et(_, R))) {
|
|
1897
1898
|
if (!at[R] || At[R]) {
|
|
@@ -1987,7 +1988,7 @@ let __tla = Promise.all([
|
|
|
1987
1988
|
for (; dt = vt.nextNode(); ) ss(dt), cs(dt), dt.content instanceof n && Pd(dt.content);
|
|
1988
1989
|
if (mr) return Q;
|
|
1989
1990
|
if (Ue) {
|
|
1990
|
-
if (Vr) for (Tt =
|
|
1991
|
+
if (Vr) for (Tt = I.call(R.ownerDocument); R.firstChild; ) Tt.appendChild(R.firstChild);
|
|
1991
1992
|
else Tt = R;
|
|
1992
1993
|
return (at.shadowroot || at.shadowrootmode) && (Tt = O.call(i, Tt, true)), Tt;
|
|
1993
1994
|
}
|
|
@@ -2023,7 +2024,7 @@ let __tla = Promise.all([
|
|
|
2023
2024
|
B = Ts();
|
|
2024
2025
|
}, t;
|
|
2025
2026
|
}
|
|
2026
|
-
let rr, Lo, de, fn, jt, Ao,
|
|
2027
|
+
let rr, Lo, de, fn, jt, Ao, Ir, rp, Mo, ir, pn, Eo, Fo, ip, Fa, Hi, Yi, Ft, ap, np, sp, op, lp, hp, up, dp, fp, ye, fe, Do, Oo, pp, Si, gp, ar, Nt, $o, nr, $r, Ui, mp, yp, xp, Ro, Po, No, bp, ki, Cp, _s, vp, Wo, wp, Sp;
|
|
2027
2028
|
rr = Bo();
|
|
2028
2029
|
Lo = Object.defineProperty;
|
|
2029
2030
|
f = (e, t) => Lo(e, "name", {
|
|
@@ -2070,7 +2071,7 @@ let __tla = Promise.all([
|
|
|
2070
2071
|
}, "setLogLevel");
|
|
2071
2072
|
jt = f((e) => `%c${_f().format("ss.SSS")} : ${e} : `, "format");
|
|
2072
2073
|
Ao = /^-{3}\s*[\n\r](.*?)[\n\r]-{3}\s*[\n\r]+/s;
|
|
2073
|
-
|
|
2074
|
+
Ir = /%{2}{\s*(?:(\w+)\s*:|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi;
|
|
2074
2075
|
rp = /\s*%%.*\n/gm;
|
|
2075
2076
|
Mo = (_a2 = class extends Error {
|
|
2076
2077
|
constructor(e) {
|
|
@@ -2079,7 +2080,7 @@ let __tla = Promise.all([
|
|
|
2079
2080
|
}, f(_a2, "UnknownDiagramError"), _a2);
|
|
2080
2081
|
ir = {};
|
|
2081
2082
|
pn = f(function(e, t) {
|
|
2082
|
-
e = e.replace(Ao, "").replace(
|
|
2083
|
+
e = e.replace(Ao, "").replace(Ir, "").replace(rp, `
|
|
2083
2084
|
`);
|
|
2084
2085
|
for (const [r, { detector: i }] of Object.entries(ir)) if (i(e, t)) return r;
|
|
2085
2086
|
throw new Mo(`No diagram type detected matching given configuration for text: ${e}`);
|
|
@@ -3571,7 +3572,7 @@ let __tla = Promise.all([
|
|
|
3571
3572
|
t + i
|
|
3572
3573
|
], []), "keyify");
|
|
3573
3574
|
pp = new Set(Oo(Do, ""));
|
|
3574
|
-
|
|
3575
|
+
Io = Do;
|
|
3575
3576
|
Si = f((e) => {
|
|
3576
3577
|
if (D.debug("sanitizeDirective called with", e), !(typeof e != "object" || e == null)) {
|
|
3577
3578
|
if (Array.isArray(e)) {
|
|
@@ -3609,27 +3610,27 @@ let __tla = Promise.all([
|
|
|
3609
3610
|
}
|
|
3610
3611
|
return t !== r ? "{ /* ERROR: Unbalanced CSS */ }" : e;
|
|
3611
3612
|
}, "sanitizeCss");
|
|
3612
|
-
ar = Object.freeze(
|
|
3613
|
+
ar = Object.freeze(Io);
|
|
3613
3614
|
Nt = kt({}, ar);
|
|
3614
3615
|
nr = [];
|
|
3615
|
-
|
|
3616
|
+
$r = kt({}, ar);
|
|
3616
3617
|
Ui = f((e, t) => {
|
|
3617
3618
|
let r = kt({}, e), i = {};
|
|
3618
3619
|
for (const a of t) No(a), i = kt(i, a);
|
|
3619
3620
|
if (r = kt(r, i), i.theme && i.theme in ye) {
|
|
3620
|
-
const a = kt({},
|
|
3621
|
+
const a = kt({}, $o), n = kt(a.themeVariables || {}, i.themeVariables);
|
|
3621
3622
|
r.theme && r.theme in ye && (r.themeVariables = ye[r.theme].getThemeVariables(n));
|
|
3622
3623
|
}
|
|
3623
|
-
return
|
|
3624
|
+
return $r = r, Wo($r), $r;
|
|
3624
3625
|
}, "updateCurrentConfig");
|
|
3625
3626
|
mp = f((e) => (Nt = kt({}, ar), Nt = kt(Nt, e), e.theme && ye[e.theme] && (Nt.themeVariables = ye[e.theme].getThemeVariables(e.themeVariables)), Ui(Nt, nr), Nt), "setSiteConfig");
|
|
3626
3627
|
yp = f((e) => {
|
|
3627
|
-
|
|
3628
|
+
$o = kt({}, e);
|
|
3628
3629
|
}, "saveConfigFromInitialize");
|
|
3629
3630
|
xp = f((e) => (Nt = kt(Nt, e), Ui(Nt, nr), Nt), "updateSiteConfig");
|
|
3630
3631
|
Ro = f(() => kt({}, Nt), "getSiteConfig");
|
|
3631
|
-
Po = f((e) => (Wo(e), kt(
|
|
3632
|
-
zt = f(() => kt({},
|
|
3632
|
+
Po = f((e) => (Wo(e), kt($r, e), zt()), "setConfig");
|
|
3633
|
+
zt = f(() => kt({}, $r), "getConfig");
|
|
3633
3634
|
No = f((e) => {
|
|
3634
3635
|
e && ([
|
|
3635
3636
|
"secure",
|
|
@@ -3681,7 +3682,7 @@ let __tla = Promise.all([
|
|
|
3681
3682
|
});
|
|
3682
3683
|
}
|
|
3683
3684
|
f(zo, "setupDompurifyHooks");
|
|
3684
|
-
let qo, Bs, kp, Tp, _p, Bp, Ho, Lp, Ap, Mp, Da, Ep, Fp, As, Oa, Dp, Op, fi,
|
|
3685
|
+
let qo, Bs, kp, Tp, _p, Bp, Ho, Lp, Ap, Mp, Da, Ep, Fp, As, Oa, Dp, Op, fi, $p, Rp, Pp;
|
|
3685
3686
|
qo = f((e) => (Sp(), rr.sanitize(e)), "removeScript");
|
|
3686
3687
|
Bs = f((e, t) => {
|
|
3687
3688
|
var _a3;
|
|
@@ -3753,7 +3754,7 @@ let __tla = Promise.all([
|
|
|
3753
3754
|
var _a3;
|
|
3754
3755
|
return (((_a3 = e.match(Oa)) == null ? void 0 : _a3.length) ?? 0) > 0;
|
|
3755
3756
|
}, "hasKatex");
|
|
3756
|
-
|
|
3757
|
+
ev = f(async (e, t) => {
|
|
3757
3758
|
var _a3;
|
|
3758
3759
|
e = await gn(e, t);
|
|
3759
3760
|
const r = document.createElement("div");
|
|
@@ -3798,7 +3799,7 @@ let __tla = Promise.all([
|
|
|
3798
3799
|
const a = Op(t, r, i);
|
|
3799
3800
|
Dp(e, a);
|
|
3800
3801
|
}, "configureSvgSize");
|
|
3801
|
-
|
|
3802
|
+
Ip = f(function(e, t, r, i) {
|
|
3802
3803
|
const a = t.node().getBBox(), n = a.width, o = a.height;
|
|
3803
3804
|
D.info(`SVG bounds: ${n}x${o}`, a);
|
|
3804
3805
|
let s = 0, l = 0;
|
|
@@ -3807,7 +3808,7 @@ let __tla = Promise.all([
|
|
|
3807
3808
|
t.attr("viewBox", c);
|
|
3808
3809
|
}, "setupGraphViewbox");
|
|
3809
3810
|
fi = {};
|
|
3810
|
-
|
|
3811
|
+
$p = f((e, t, r) => {
|
|
3811
3812
|
let i = "";
|
|
3812
3813
|
return e in fi && fi[e] ? i = fi[e](r) : D.warn(`No theme found for ${e}`), ` & {
|
|
3813
3814
|
font-family: ${r.fontFamily};
|
|
@@ -3890,7 +3891,7 @@ let __tla = Promise.all([
|
|
|
3890
3891
|
Rp = f((e, t) => {
|
|
3891
3892
|
t !== void 0 && (fi[e] = t);
|
|
3892
3893
|
}, "addStylesForDiagram");
|
|
3893
|
-
Pp =
|
|
3894
|
+
Pp = $p;
|
|
3894
3895
|
Uo = {};
|
|
3895
3896
|
ep(Uo, {
|
|
3896
3897
|
clear: () => Np,
|
|
@@ -3901,7 +3902,7 @@ let __tla = Promise.all([
|
|
|
3901
3902
|
setAccTitle: () => Wp,
|
|
3902
3903
|
setDiagramTitle: () => Yp
|
|
3903
3904
|
});
|
|
3904
|
-
let mn, yn, xn, bn, Ms, jp, Cn, Xp, Ti, _i,
|
|
3905
|
+
let mn, yn, xn, bn, Ms, jp, Cn, Xp, Ti, _i, Ia, Vp;
|
|
3905
3906
|
mn = "";
|
|
3906
3907
|
yn = "";
|
|
3907
3908
|
xn = "";
|
|
@@ -3925,10 +3926,10 @@ let __tla = Promise.all([
|
|
|
3925
3926
|
Ms = D;
|
|
3926
3927
|
jp = fn;
|
|
3927
3928
|
ht = zt;
|
|
3928
|
-
|
|
3929
|
-
|
|
3929
|
+
rv = Po;
|
|
3930
|
+
iv = ar;
|
|
3930
3931
|
Cn = f((e) => ze(e, ht()), "sanitizeText");
|
|
3931
|
-
Gp =
|
|
3932
|
+
Gp = Ip;
|
|
3932
3933
|
Xp = f(() => Uo, "getCommonDb");
|
|
3933
3934
|
Ti = {};
|
|
3934
3935
|
_i = f((e, t, r) => {
|
|
@@ -3936,7 +3937,7 @@ let __tla = Promise.all([
|
|
|
3936
3937
|
Ti[e] && Ms.warn(`Diagram with id ${e} already registered. Overwriting.`), Ti[e] = t, r && Fo(e, r), Rp(e, t.styles), (_a3 = t.injectUtils) == null ? void 0 : _a3.call(t, Ms, jp, ht, Cn, Gp, Xp(), () => {
|
|
3937
3938
|
});
|
|
3938
3939
|
}, "registerDiagram");
|
|
3939
|
-
|
|
3940
|
+
Ia = f((e) => {
|
|
3940
3941
|
if (e in Ti) return Ti[e];
|
|
3941
3942
|
throw new Vp(e);
|
|
3942
3943
|
}, "getDiagram");
|
|
@@ -4065,7 +4066,7 @@ let __tla = Promise.all([
|
|
|
4065
4066
|
}
|
|
4066
4067
|
f(Jo, "Type$1");
|
|
4067
4068
|
var Bt = Jo;
|
|
4068
|
-
function
|
|
4069
|
+
function $a(e, t) {
|
|
4069
4070
|
var r = [];
|
|
4070
4071
|
return e[t].forEach(function(i) {
|
|
4071
4072
|
var a = r.length;
|
|
@@ -4074,7 +4075,7 @@ let __tla = Promise.all([
|
|
|
4074
4075
|
}), r[a] = i;
|
|
4075
4076
|
}), r;
|
|
4076
4077
|
}
|
|
4077
|
-
f(
|
|
4078
|
+
f($a, "compileList");
|
|
4078
4079
|
function tl() {
|
|
4079
4080
|
var e = {
|
|
4080
4081
|
scalar: {},
|
|
@@ -4113,7 +4114,7 @@ let __tla = Promise.all([
|
|
|
4113
4114
|
if (!(n instanceof Bt)) throw new Wt("Specified list of YAML types (or a single Type object) contains a non-Type object.");
|
|
4114
4115
|
});
|
|
4115
4116
|
var a = Object.create(Bi.prototype);
|
|
4116
|
-
return a.implicit = (this.implicit || []).concat(r), a.explicit = (this.explicit || []).concat(i), a.compiledImplicit =
|
|
4117
|
+
return a.implicit = (this.implicit || []).concat(r), a.explicit = (this.explicit || []).concat(i), a.compiledImplicit = $a(a, "implicit"), a.compiledExplicit = $a(a, "explicit"), a.compiledTypeMap = tl(a.compiledImplicit, a.compiledExplicit), a;
|
|
4117
4118
|
}, "extend");
|
|
4118
4119
|
var ng = Bi, sg = new Bt("tag:yaml.org,2002:str", {
|
|
4119
4120
|
kind: "scalar",
|
|
@@ -4513,7 +4514,7 @@ let __tla = Promise.all([
|
|
|
4513
4514
|
kg,
|
|
4514
4515
|
_g
|
|
4515
4516
|
]
|
|
4516
|
-
}), Ae = Object.prototype.hasOwnProperty, Li = 1,
|
|
4517
|
+
}), Ae = Object.prototype.hasOwnProperty, Li = 1, Il = 2, $l = 3, Ai = 4, xa = 1, Bg = 2, Es = 3, Lg = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, Ag = /[\x85\u2028\u2029]/, Mg = /[,\[\]\{\}]/, Rl = /^(?:!|!!|![a-z\-]+!)$/i, Pl = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
|
|
4517
4518
|
function Ra(e) {
|
|
4518
4519
|
return Object.prototype.toString.call(e);
|
|
4519
4520
|
}
|
|
@@ -4761,7 +4762,7 @@ let __tla = Promise.all([
|
|
|
4761
4762
|
n.push(null), l = e.input.charCodeAt(e.position);
|
|
4762
4763
|
continue;
|
|
4763
4764
|
}
|
|
4764
|
-
if (r = e.line, qe(e, t,
|
|
4765
|
+
if (r = e.line, qe(e, t, $l, false, true), n.push(e.result), pt(e, true, -1), l = e.input.charCodeAt(e.position), (e.line === r || e.lineIndent > t) && l !== 0) Z(e, "bad indentation of a sequence entry");
|
|
4765
4766
|
else if (e.lineIndent < t) break;
|
|
4766
4767
|
}
|
|
4767
4768
|
return s ? (e.tag = i, e.anchor = a, e.kind = "sequence", e.result = n, true) : false;
|
|
@@ -4773,7 +4774,7 @@ let __tla = Promise.all([
|
|
|
4773
4774
|
for (e.anchor !== null && (e.anchorMap[e.anchor] = u), b = e.input.charCodeAt(e.position); b !== 0; ) {
|
|
4774
4775
|
if (!y && e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, Z(e, "tab characters must not be used in indentation")), i = e.input.charCodeAt(e.position + 1), n = e.line, (b === 63 || b === 58) && Dt(i)) b === 63 ? (y && (Ne(e, u, p, d, g, null, o, s, l), d = g = m = null), x = true, y = true, a = true) : y ? (y = false, a = true) : Z(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, b = i;
|
|
4775
4776
|
else {
|
|
4776
|
-
if (o = e.line, s = e.lineStart, l = e.position, !qe(e, r,
|
|
4777
|
+
if (o = e.line, s = e.lineStart, l = e.position, !qe(e, r, Il, false, true)) break;
|
|
4777
4778
|
if (e.line === n) {
|
|
4778
4779
|
for (b = e.input.charCodeAt(e.position); Le(b); ) b = e.input.charCodeAt(++e.position);
|
|
4779
4780
|
if (b === 58) b = e.input.charCodeAt(++e.position), Dt(b) || Z(e, "a whitespace character is expected after the key-value separator within a block mapping"), y && (Ne(e, u, p, d, g, null, o, s, l), d = g = m = null), x = true, y = false, a = false, d = e.tag, g = e.result;
|
|
@@ -4825,8 +4826,8 @@ let __tla = Promise.all([
|
|
|
4825
4826
|
f(tc, "readAlias");
|
|
4826
4827
|
function qe(e, t, r, i, a) {
|
|
4827
4828
|
var n, o, s, l = 1, c = false, h = false, u, p, d, g, m, y;
|
|
4828
|
-
if (e.listener !== null && e.listener("open", e), e.tag = null, e.anchor = null, e.kind = null, e.result = null, n = o = s = Ai === r ||
|
|
4829
|
-
if (s && (s = c || a), (l === 1 || Ai === r) && (Li === r ||
|
|
4829
|
+
if (e.listener !== null && e.listener("open", e), e.tag = null, e.anchor = null, e.kind = null, e.result = null, n = o = s = Ai === r || $l === r, i && pt(e, true, -1) && (c = true, e.lineIndent > t ? l = 1 : e.lineIndent === t ? l = 0 : e.lineIndent < t && (l = -1)), l === 1) for (; Ql(e) || Jl(e); ) pt(e, true, -1) ? (c = true, s = n, e.lineIndent > t ? l = 1 : e.lineIndent === t ? l = 0 : e.lineIndent < t && (l = -1)) : s = false;
|
|
4830
|
+
if (s && (s = c || a), (l === 1 || Ai === r) && (Li === r || Il === r ? m = t : m = t + 1, y = e.position - e.lineStart, l === 1 ? s && (Wa(e, y) || Zl(e, y, m)) || Vl(e, m) ? h = true : (o && Kl(e, m) || Gl(e, m) || Xl(e, m) ? h = true : tc(e) ? (h = true, (e.tag !== null || e.anchor !== null) && Z(e, "alias node should not have any properties")) : jl(e, m, Li === r) && (h = true, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : l === 0 && (h = s && Wa(e, y))), e.tag === null) e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
|
|
4830
4831
|
else if (e.tag === "?") {
|
|
4831
4832
|
for (e.result !== null && e.kind !== "scalar" && Z(e, 'unacceptable node kind for !<?> tag; it should be "scalar", not "' + e.kind + '"'), u = 0, p = e.implicitTypes.length; u < p; u += 1) if (g = e.implicitTypes[u], g.resolve(e.result)) {
|
|
4832
4833
|
e.result = g.construct(e.result), e.tag = g.tag, e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
|
|
@@ -4895,7 +4896,7 @@ let __tla = Promise.all([
|
|
|
4895
4896
|
f(rc, "load$1");
|
|
4896
4897
|
var Fg = rc, Dg = {
|
|
4897
4898
|
load: Fg
|
|
4898
|
-
}, ic = Object.prototype.toString, ac = Object.prototype.hasOwnProperty, _n = 65279, Og = 9, Pr = 10,
|
|
4899
|
+
}, ic = Object.prototype.toString, ac = Object.prototype.hasOwnProperty, _n = 65279, Og = 9, Pr = 10, Ig = 13, $g = 32, Rg = 33, Pg = 34, za = 35, Ng = 37, Wg = 38, zg = 39, qg = 42, nc = 44, Hg = 45, Mi = 58, Yg = 61, Ug = 62, jg = 63, Gg = 64, sc = 91, oc = 93, Xg = 96, lc = 123, Vg = 124, cc = 125, Lt = {};
|
|
4899
4900
|
Lt[0] = "\\0";
|
|
4900
4901
|
Lt[7] = "\\a";
|
|
4901
4902
|
Lt[8] = "\\b";
|
|
@@ -4969,7 +4970,7 @@ let __tla = Promise.all([
|
|
|
4969
4970
|
}
|
|
4970
4971
|
f(fc, "testImplicitResolving");
|
|
4971
4972
|
function Wr(e) {
|
|
4972
|
-
return e ===
|
|
4973
|
+
return e === $g || e === Og;
|
|
4973
4974
|
}
|
|
4974
4975
|
f(Wr, "isWhitespace");
|
|
4975
4976
|
function lr(e) {
|
|
@@ -4977,7 +4978,7 @@ let __tla = Promise.all([
|
|
|
4977
4978
|
}
|
|
4978
4979
|
f(lr, "isPrintable");
|
|
4979
4980
|
function Ha(e) {
|
|
4980
|
-
return lr(e) && e !== _n && e !==
|
|
4981
|
+
return lr(e) && e !== _n && e !== Ig && e !== Pr;
|
|
4981
4982
|
}
|
|
4982
4983
|
f(Ha, "isNsCharOrWhitespace");
|
|
4983
4984
|
function Ya(e, t, r) {
|
|
@@ -5366,7 +5367,7 @@ let __tla = Promise.all([
|
|
|
5366
5367
|
return r ? Os(e, t, r) : null;
|
|
5367
5368
|
}
|
|
5368
5369
|
const dm = /(-?[0-9.]*[0-9]+[0-9.]*)/g, fm = /^-?[0-9.]*[0-9]+[0-9.]*$/g;
|
|
5369
|
-
function
|
|
5370
|
+
function Is(e, t, r) {
|
|
5370
5371
|
if (t === 1) return e;
|
|
5371
5372
|
if (r = r || 100, typeof e == "number") return Math.ceil(e * t * r) / r;
|
|
5372
5373
|
if (typeof e != "string") return e;
|
|
@@ -5443,7 +5444,7 @@ let __tla = Promise.all([
|
|
|
5443
5444
|
});
|
|
5444
5445
|
const o = i.width, s = i.height, l = a.width, c = a.height;
|
|
5445
5446
|
let h, u;
|
|
5446
|
-
o === null ? (u = s === null ? "1em" : s === "auto" ? c : s, h =
|
|
5447
|
+
o === null ? (u = s === null ? "1em" : s === "auto" ? c : s, h = Is(u, l / c)) : (h = o === "auto" ? l : o, u = s === null ? Is(h, c / l) : s === "auto" ? c : s);
|
|
5447
5448
|
const p = {}, d = (m, y) => {
|
|
5448
5449
|
ym(y) || (p[m] = y.toString());
|
|
5449
5450
|
};
|
|
@@ -5478,7 +5479,7 @@ let __tla = Promise.all([
|
|
|
5478
5479
|
for (const i in t) r += " " + i + '="' + t[i] + '"';
|
|
5479
5480
|
return '<svg xmlns="http://www.w3.org/2000/svg"' + r + ">" + e + "</svg>";
|
|
5480
5481
|
}
|
|
5481
|
-
let Za, Lc, _m, kr, mt,
|
|
5482
|
+
let Za, Lc, _m, kr, mt, $s;
|
|
5482
5483
|
km = {
|
|
5483
5484
|
body: '<g><rect width="80" height="80" style="fill: #087ebf; stroke-width: 0px;"/><text transform="translate(21.16 64.67)" style="fill: #fff; font-family: ArialMT, Arial; font-size: 67.75px;"><tspan x="0" y="0">?</tspan></text></g>',
|
|
5484
5485
|
height: 80,
|
|
@@ -5529,7 +5530,7 @@ let __tla = Promise.all([
|
|
|
5529
5530
|
kr = {};
|
|
5530
5531
|
mt = {};
|
|
5531
5532
|
function Bm() {
|
|
5532
|
-
return
|
|
5533
|
+
return $s || ($s = 1, Object.defineProperty(mt, "__esModule", {
|
|
5533
5534
|
value: true
|
|
5534
5535
|
}), mt.BLANK_URL = mt.relativeFirstCharacters = mt.whitespaceEscapeCharsRegex = mt.urlSchemeRegex = mt.ctrlCharactersRegex = mt.htmlCtrlEntityRegex = mt.htmlEntitiesRegex = mt.invalidProtocolRegex = void 0, mt.invalidProtocolRegex = /^([^\w]*)(javascript|data|vbscript)/im, mt.htmlEntitiesRegex = /&#(\w+)(^\w|;)?/g, mt.htmlCtrlEntityRegex = /&(newline|tab);/gi, mt.ctrlCharactersRegex = /[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim, mt.urlSchemeRegex = /^.+(:|:)/gim, mt.whitespaceEscapeCharsRegex = /(\\|%5[cC])((%(6[eE]|72|74))|[nrt])/g, mt.relativeFirstCharacters = [
|
|
5535
5536
|
".",
|
|
@@ -5633,21 +5634,21 @@ let __tla = Promise.all([
|
|
|
5633
5634
|
function Om(e) {
|
|
5634
5635
|
return e == null ? [] : Array.isArray(e) ? e : Array.from(e);
|
|
5635
5636
|
}
|
|
5636
|
-
function
|
|
5637
|
+
function Im() {
|
|
5637
5638
|
return [];
|
|
5638
5639
|
}
|
|
5639
5640
|
function Mc(e) {
|
|
5640
|
-
return e == null ?
|
|
5641
|
+
return e == null ? Im : function() {
|
|
5641
5642
|
return this.querySelectorAll(e);
|
|
5642
5643
|
};
|
|
5643
5644
|
}
|
|
5644
|
-
function
|
|
5645
|
+
function $m(e) {
|
|
5645
5646
|
return function() {
|
|
5646
5647
|
return Om(e.apply(this, arguments));
|
|
5647
5648
|
};
|
|
5648
5649
|
}
|
|
5649
5650
|
function Rm(e) {
|
|
5650
|
-
typeof e == "function" ? e =
|
|
5651
|
+
typeof e == "function" ? e = $m(e) : e = Mc(e);
|
|
5651
5652
|
for (var t = this._groups, r = t.length, i = [], a = [], n = 0; n < r; ++n) for (var o = t[n], s = o.length, l, c = 0; c < s; ++c) (l = o[c]) && (i.push(e.call(l, l.__data__, c, o)), a.push(l));
|
|
5652
5653
|
return new Yt(i, a);
|
|
5653
5654
|
}
|
|
@@ -5889,16 +5890,16 @@ let __tla = Promise.all([
|
|
|
5889
5890
|
function _y(e, t) {
|
|
5890
5891
|
return arguments.length > 1 ? this.each((t == null ? Sy : typeof t == "function" ? Ty : ky)(e, t)) : this.node()[e];
|
|
5891
5892
|
}
|
|
5892
|
-
function
|
|
5893
|
+
function Ic(e) {
|
|
5893
5894
|
return e.trim().split(/^|\s+/);
|
|
5894
5895
|
}
|
|
5895
5896
|
function Mn(e) {
|
|
5896
|
-
return e.classList || new
|
|
5897
|
+
return e.classList || new $c(e);
|
|
5897
5898
|
}
|
|
5898
|
-
function
|
|
5899
|
-
this._node = e, this._names =
|
|
5899
|
+
function $c(e) {
|
|
5900
|
+
this._node = e, this._names = Ic(e.getAttribute("class") || "");
|
|
5900
5901
|
}
|
|
5901
|
-
|
|
5902
|
+
$c.prototype = {
|
|
5902
5903
|
add: function(e) {
|
|
5903
5904
|
var t = this._names.indexOf(e);
|
|
5904
5905
|
t < 0 && (this._names.push(e), this._node.setAttribute("class", this._names.join(" ")));
|
|
@@ -5933,7 +5934,7 @@ let __tla = Promise.all([
|
|
|
5933
5934
|
};
|
|
5934
5935
|
}
|
|
5935
5936
|
function My(e, t) {
|
|
5936
|
-
var r =
|
|
5937
|
+
var r = Ic(e + "");
|
|
5937
5938
|
if (arguments.length < 2) {
|
|
5938
5939
|
for (var i = Mn(this.node()), a = -1, n = r.length; ++a < n; ) if (!i.contains(r[a])) return false;
|
|
5939
5940
|
return true;
|
|
@@ -5957,10 +5958,10 @@ let __tla = Promise.all([
|
|
|
5957
5958
|
function Oy(e) {
|
|
5958
5959
|
return arguments.length ? this.each(e == null ? Ey : (typeof e == "function" ? Dy : Fy)(e)) : this.node().textContent;
|
|
5959
5960
|
}
|
|
5960
|
-
function
|
|
5961
|
+
function Iy() {
|
|
5961
5962
|
this.innerHTML = "";
|
|
5962
5963
|
}
|
|
5963
|
-
function
|
|
5964
|
+
function $y(e) {
|
|
5964
5965
|
return function() {
|
|
5965
5966
|
this.innerHTML = e;
|
|
5966
5967
|
};
|
|
@@ -5972,7 +5973,7 @@ let __tla = Promise.all([
|
|
|
5972
5973
|
};
|
|
5973
5974
|
}
|
|
5974
5975
|
function Py(e) {
|
|
5975
|
-
return arguments.length ? this.each(e == null ?
|
|
5976
|
+
return arguments.length ? this.each(e == null ? Iy : (typeof e == "function" ? Ry : $y)(e)) : this.node().innerHTML;
|
|
5976
5977
|
}
|
|
5977
5978
|
function Ny() {
|
|
5978
5979
|
this.nextSibling && this.parentNode.appendChild(this);
|
|
@@ -6164,7 +6165,7 @@ let __tla = Promise.all([
|
|
|
6164
6165
|
]
|
|
6165
6166
|
], Wc);
|
|
6166
6167
|
};
|
|
6167
|
-
var l0 =
|
|
6168
|
+
var l0 = af("start", "end", "cancel", "interrupt"), c0 = [], zc = 0, Ns = 1, Ja = 2, mi = 3, Ws = 4, tn = 5, yi = 6;
|
|
6168
6169
|
function Ki(e, t, r, i, a, n) {
|
|
6169
6170
|
var o = e.__transition;
|
|
6170
6171
|
if (!o) e.__transition = {};
|
|
@@ -6200,7 +6201,7 @@ let __tla = Promise.all([
|
|
|
6200
6201
|
}
|
|
6201
6202
|
function h0(e, t, r) {
|
|
6202
6203
|
var i = e.__transition, a;
|
|
6203
|
-
i[t] = r, r.timer =
|
|
6204
|
+
i[t] = r, r.timer = rf(n, 0, r.time);
|
|
6204
6205
|
function n(c) {
|
|
6205
6206
|
r.state = Ns, r.timer.restart(o, r.delay, r.time), r.delay <= c && o(c - r.delay);
|
|
6206
6207
|
}
|
|
@@ -6299,7 +6300,7 @@ let __tla = Promise.all([
|
|
|
6299
6300
|
}
|
|
6300
6301
|
function qc(e, t) {
|
|
6301
6302
|
var r;
|
|
6302
|
-
return (typeof t == "number" ?
|
|
6303
|
+
return (typeof t == "number" ? nf : t instanceof fs ? ds : (r = fs(t)) ? (t = r, ds) : sf)(e, t);
|
|
6303
6304
|
}
|
|
6304
6305
|
function m0(e) {
|
|
6305
6306
|
return function() {
|
|
@@ -6340,7 +6341,7 @@ let __tla = Promise.all([
|
|
|
6340
6341
|
};
|
|
6341
6342
|
}
|
|
6342
6343
|
function w0(e, t) {
|
|
6343
|
-
var r = Vi(e), i = r === "transform" ?
|
|
6344
|
+
var r = Vi(e), i = r === "transform" ? of : qc;
|
|
6344
6345
|
return this.attrTween(e, typeof t == "function" ? (r.local ? v0 : C0)(r, i, Fn(this, "attr." + e, t)) : t == null ? (r.local ? y0 : m0)(r) : (r.local ? b0 : x0)(r, i, t));
|
|
6345
6346
|
}
|
|
6346
6347
|
function S0(e, t) {
|
|
@@ -6411,11 +6412,11 @@ let __tla = Promise.all([
|
|
|
6411
6412
|
ce(this, e).ease = t;
|
|
6412
6413
|
};
|
|
6413
6414
|
}
|
|
6414
|
-
function
|
|
6415
|
+
function I0(e) {
|
|
6415
6416
|
var t = this._id;
|
|
6416
6417
|
return arguments.length ? this.each(O0(t, e)) : ee(this.node(), t).ease;
|
|
6417
6418
|
}
|
|
6418
|
-
function
|
|
6419
|
+
function $0(e, t) {
|
|
6419
6420
|
return function() {
|
|
6420
6421
|
var r = t.apply(this, arguments);
|
|
6421
6422
|
if (typeof r != "function") throw new Error();
|
|
@@ -6424,7 +6425,7 @@ let __tla = Promise.all([
|
|
|
6424
6425
|
}
|
|
6425
6426
|
function R0(e) {
|
|
6426
6427
|
if (typeof e != "function") throw new Error();
|
|
6427
|
-
return this.each(
|
|
6428
|
+
return this.each($0(this._id, e));
|
|
6428
6429
|
}
|
|
6429
6430
|
function P0(e) {
|
|
6430
6431
|
typeof e != "function" && (e = Ec(e));
|
|
@@ -6517,7 +6518,7 @@ let __tla = Promise.all([
|
|
|
6517
6518
|
};
|
|
6518
6519
|
}
|
|
6519
6520
|
function J0(e, t, r) {
|
|
6520
|
-
var i = (e += "") == "transform" ?
|
|
6521
|
+
var i = (e += "") == "transform" ? lf : qc;
|
|
6521
6522
|
return t == null ? this.styleTween(e, V0(e, i)).on("end.style." + e, Hc(e)) : typeof t == "function" ? this.styleTween(e, Z0(e, i, Fn(this, "style." + e, t))).each(Q0(this._id, e)) : this.styleTween(e, K0(e, i, t), r).on("end.style." + e, null);
|
|
6522
6523
|
}
|
|
6523
6524
|
function tx(e, t, r) {
|
|
@@ -6637,7 +6638,7 @@ let __tla = Promise.all([
|
|
|
6637
6638
|
tween: g0,
|
|
6638
6639
|
delay: M0,
|
|
6639
6640
|
duration: D0,
|
|
6640
|
-
ease:
|
|
6641
|
+
ease: I0,
|
|
6641
6642
|
easeVarying: R0,
|
|
6642
6643
|
end: hx,
|
|
6643
6644
|
[Symbol.iterator]: pe[Symbol.iterator]
|
|
@@ -6657,7 +6658,7 @@ let __tla = Promise.all([
|
|
|
6657
6658
|
}
|
|
6658
6659
|
function gx(e) {
|
|
6659
6660
|
var t, r;
|
|
6660
|
-
e instanceof be ? (t = e._id, e = e._name) : (t = Yc(), (r = fx).time =
|
|
6661
|
+
e instanceof be ? (t = e._id, e = e._name) : (t = Yc(), (r = fx).time = cf(), e = e == null ? null : e + "");
|
|
6661
6662
|
for (var i = this._groups, a = i.length, n = 0; n < a; ++n) for (var o = i[n], s = o.length, l, c = 0; c < s; ++c) (l = o[c]) && Ki(l, e, t, c, o, r || px(l, t));
|
|
6662
6663
|
return new be(i, this._parents, e, t);
|
|
6663
6664
|
}
|
|
@@ -6713,25 +6714,25 @@ let __tla = Promise.all([
|
|
|
6713
6714
|
mx = "\u200B";
|
|
6714
6715
|
yx = {
|
|
6715
6716
|
curveBasis: ci,
|
|
6716
|
-
curveBasisClosed:
|
|
6717
|
-
curveBasisOpen:
|
|
6717
|
+
curveBasisClosed: yf,
|
|
6718
|
+
curveBasisOpen: mf,
|
|
6718
6719
|
curveBumpX: bo,
|
|
6719
6720
|
curveBumpY: Co,
|
|
6720
|
-
curveBundle:
|
|
6721
|
-
curveCardinalClosed:
|
|
6722
|
-
curveCardinalOpen:
|
|
6723
|
-
curveCardinal:
|
|
6724
|
-
curveCatmullRomClosed:
|
|
6725
|
-
curveCatmullRomOpen:
|
|
6726
|
-
curveCatmullRom:
|
|
6721
|
+
curveBundle: gf,
|
|
6722
|
+
curveCardinalClosed: pf,
|
|
6723
|
+
curveCardinalOpen: ff,
|
|
6724
|
+
curveCardinal: yo,
|
|
6725
|
+
curveCatmullRomClosed: df,
|
|
6726
|
+
curveCatmullRomOpen: uf,
|
|
6727
|
+
curveCatmullRom: mo,
|
|
6727
6728
|
curveLinear: Aa,
|
|
6728
|
-
curveLinearClosed:
|
|
6729
|
-
curveMonotoneX:
|
|
6730
|
-
curveMonotoneY:
|
|
6731
|
-
curveNatural:
|
|
6732
|
-
curveStep:
|
|
6733
|
-
curveStepAfter:
|
|
6734
|
-
curveStepBefore:
|
|
6729
|
+
curveLinearClosed: hf,
|
|
6730
|
+
curveMonotoneX: go,
|
|
6731
|
+
curveMonotoneY: po,
|
|
6732
|
+
curveNatural: fo,
|
|
6733
|
+
curveStep: uo,
|
|
6734
|
+
curveStepAfter: ho,
|
|
6735
|
+
curveStepBefore: co
|
|
6735
6736
|
};
|
|
6736
6737
|
xx = /\s*(?:(\w+)(?=:):|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi;
|
|
6737
6738
|
bx = f(function(e, t) {
|
|
@@ -6756,7 +6757,7 @@ let __tla = Promise.all([
|
|
|
6756
6757
|
e = e.trim().replace(r, "").replace(/'/gm, '"'), D.debug(`Detecting diagram directive${t !== null ? " type:" + t : ""} based on the text:${e}`);
|
|
6757
6758
|
let i;
|
|
6758
6759
|
const a = [];
|
|
6759
|
-
for (; (i =
|
|
6760
|
+
for (; (i = Ir.exec(e)) !== null; ) if (i.index === Ir.lastIndex && Ir.lastIndex++, i && !t || t && ((_a3 = i[1]) == null ? void 0 : _a3.match(t)) || t && ((_b3 = i[2]) == null ? void 0 : _b3.match(t))) {
|
|
6760
6761
|
const n = i[1] ? i[1] : i[2], o = i[3] ? i[3].trim() : i[4] ? JSON.parse(i[4].trim()) : null;
|
|
6761
6762
|
a.push({
|
|
6762
6763
|
type: n,
|
|
@@ -6775,7 +6776,7 @@ let __tla = Promise.all([
|
|
|
6775
6776
|
}
|
|
6776
6777
|
}, "detectDirective");
|
|
6777
6778
|
Cx = f(function(e) {
|
|
6778
|
-
return e.replace(
|
|
6779
|
+
return e.replace(Ir, "");
|
|
6779
6780
|
}, "removeDirectives");
|
|
6780
6781
|
vx = f(function(e, t) {
|
|
6781
6782
|
for (const [r, i] of t.entries()) if (i.match(e)) return r;
|
|
@@ -6811,7 +6812,7 @@ let __tla = Promise.all([
|
|
|
6811
6812
|
r += On(a, t), t = a;
|
|
6812
6813
|
});
|
|
6813
6814
|
const i = r / 2;
|
|
6814
|
-
return
|
|
6815
|
+
return In(e, i);
|
|
6815
6816
|
}
|
|
6816
6817
|
f(Gc, "traverseEdge");
|
|
6817
6818
|
function Xc(e) {
|
|
@@ -6821,7 +6822,7 @@ let __tla = Promise.all([
|
|
|
6821
6822
|
var zs = f((e, t = 2) => {
|
|
6822
6823
|
const r = Math.pow(10, t);
|
|
6823
6824
|
return Math.round(e * r) / r;
|
|
6824
|
-
}, "roundNumber"),
|
|
6825
|
+
}, "roundNumber"), In = f((e, t) => {
|
|
6825
6826
|
let r, i = t;
|
|
6826
6827
|
for (const a of e) {
|
|
6827
6828
|
if (r) {
|
|
@@ -6846,7 +6847,7 @@ let __tla = Promise.all([
|
|
|
6846
6847
|
throw new Error("Could not find a suitable point for the given distance");
|
|
6847
6848
|
}, "calculatePoint"), Sx = f((e, t, r) => {
|
|
6848
6849
|
D.info(`our points ${JSON.stringify(t)}`), t[0] !== r && (t = t.reverse());
|
|
6849
|
-
const a =
|
|
6850
|
+
const a = In(t, 25), n = e ? 10 : 5, o = Math.atan2(t[0].y - a.y, t[0].x - a.x), s = {
|
|
6850
6851
|
x: 0,
|
|
6851
6852
|
y: 0
|
|
6852
6853
|
};
|
|
@@ -6855,7 +6856,7 @@ let __tla = Promise.all([
|
|
|
6855
6856
|
function Vc(e, t, r) {
|
|
6856
6857
|
const i = structuredClone(r);
|
|
6857
6858
|
D.info("our points", i), t !== "start_left" && t !== "start_right" && i.reverse();
|
|
6858
|
-
const a = 25 + e, n =
|
|
6859
|
+
const a = 25 + e, n = In(i, a), o = 10 + e * 0.5, s = Math.atan2(i[0].y - n.y, i[0].x - n.x), l = {
|
|
6859
6860
|
x: 0,
|
|
6860
6861
|
y: 0
|
|
6861
6862
|
};
|
|
@@ -6949,14 +6950,14 @@ let __tla = Promise.all([
|
|
|
6949
6950
|
};
|
|
6950
6951
|
}, (e, t, r = "-", i) => `${e}${t}${r}${i.fontSize}${i.fontWeight}${i.fontFamily}`);
|
|
6951
6952
|
Qc = function(e, t) {
|
|
6952
|
-
return
|
|
6953
|
+
return $n(e, t).height;
|
|
6953
6954
|
};
|
|
6954
6955
|
f(Qc, "calculateTextHeight");
|
|
6955
6956
|
Ce = function(e, t) {
|
|
6956
|
-
return
|
|
6957
|
+
return $n(e, t).width;
|
|
6957
6958
|
};
|
|
6958
6959
|
f(Ce, "calculateTextWidth");
|
|
6959
|
-
var
|
|
6960
|
+
var $n = dn((e, t) => {
|
|
6960
6961
|
const { fontSize: r = 12, fontFamily: i = "Arial", fontWeight: a = 400 } = t;
|
|
6961
6962
|
if (!e) return {
|
|
6962
6963
|
width: 0,
|
|
@@ -7027,7 +7028,7 @@ let __tla = Promise.all([
|
|
|
7027
7028
|
];
|
|
7028
7029
|
}, "parseFontSize");
|
|
7029
7030
|
Pn = function(e, t) {
|
|
7030
|
-
return
|
|
7031
|
+
return Xd({}, e, t);
|
|
7031
7032
|
};
|
|
7032
7033
|
f(Pn, "cleanAndMerge");
|
|
7033
7034
|
let Dx;
|
|
@@ -7036,7 +7037,7 @@ let __tla = Promise.all([
|
|
|
7036
7037
|
wrapLabel: Lx,
|
|
7037
7038
|
calculateTextHeight: Qc,
|
|
7038
7039
|
calculateTextWidth: Ce,
|
|
7039
|
-
calculateTextDimensions:
|
|
7040
|
+
calculateTextDimensions: $n,
|
|
7040
7041
|
cleanAndMerge: Pn,
|
|
7041
7042
|
detectInit: bx,
|
|
7042
7043
|
detectDirective: Uc,
|
|
@@ -7069,7 +7070,7 @@ let __tla = Promise.all([
|
|
|
7069
7070
|
Ye = f(function(e) {
|
|
7070
7071
|
return e.replace(/fl°°/g, "&#").replace(/fl°/g, "&").replace(/¶ß/g, ";");
|
|
7071
7072
|
}, "decodeEntities");
|
|
7072
|
-
|
|
7073
|
+
av = f((e, t, { counter: r = 0, prefix: i, suffix: a }, n) => n || `${i ? `${i}_` : ""}${e}_${t}_${r}${a ? `_${a}` : ""}`, "getEdgeId");
|
|
7073
7074
|
function Ot(e) {
|
|
7074
7075
|
return e ?? null;
|
|
7075
7076
|
}
|
|
@@ -7115,7 +7116,7 @@ let __tla = Promise.all([
|
|
|
7115
7116
|
}
|
|
7116
7117
|
f(th, "preprocessMarkdown");
|
|
7117
7118
|
function eh(e, t = {}) {
|
|
7118
|
-
const r = th(e, t), i =
|
|
7119
|
+
const r = th(e, t), i = lo.lexer(r), a = [
|
|
7119
7120
|
[]
|
|
7120
7121
|
];
|
|
7121
7122
|
let n = 0;
|
|
@@ -7147,7 +7148,7 @@ let __tla = Promise.all([
|
|
|
7147
7148
|
}
|
|
7148
7149
|
f(eh, "markdownToLines");
|
|
7149
7150
|
function rh(e, { markdownAutoWrap: t } = {}) {
|
|
7150
|
-
const r =
|
|
7151
|
+
const r = lo.lexer(e);
|
|
7151
7152
|
function i(a) {
|
|
7152
7153
|
var _a3, _b3, _c3;
|
|
7153
7154
|
return a.type === "text" ? t === false ? a.text.replace(/\n */g, "<br/>").replace(/ /g, " ") : a.text.replace(/\n */g, "<br/>") : a.type === "strong" ? `<strong>${(_a3 = a.tokens) == null ? void 0 : _a3.map(i).join("")}</strong>` : a.type === "em" ? `<em>${(_b3 = a.tokens) == null ? void 0 : _b3.map(i).join("")}</em>` : a.type === "paragraph" ? `<p>${(_c3 = a.tokens) == null ? void 0 : _c3.map(i).join("")}</p>` : a.type === "space" ? "" : a.type === "html" ? `${a.text}` : a.type === "escape" ? a.text : `Unsupported markdown: ${a.type}`;
|
|
@@ -7203,10 +7204,10 @@ let __tla = Promise.all([
|
|
|
7203
7204
|
function nh(e, t) {
|
|
7204
7205
|
if (e.some(({ content: r }) => r.includes(`
|
|
7205
7206
|
`))) throw new Error("splitLineToFitWidth does not support newlines in the line");
|
|
7206
|
-
return
|
|
7207
|
+
return Ii(e, t);
|
|
7207
7208
|
}
|
|
7208
7209
|
f(nh, "splitLineToFitWidth");
|
|
7209
|
-
function
|
|
7210
|
+
function Ii(e, t, r = [], i = []) {
|
|
7210
7211
|
if (e.length === 0) return i.length > 0 && r.push(i), r.length > 0 ? r : [];
|
|
7211
7212
|
let a = "";
|
|
7212
7213
|
e[0].content === " " && (a = " ", e.shift());
|
|
@@ -7219,7 +7220,7 @@ let __tla = Promise.all([
|
|
|
7219
7220
|
if (a !== "" && o.push({
|
|
7220
7221
|
content: a,
|
|
7221
7222
|
type: "normal"
|
|
7222
|
-
}), o.push(n), t(o)) return
|
|
7223
|
+
}), o.push(n), t(o)) return Ii(e, t, r, o);
|
|
7223
7224
|
if (i.length > 0) r.push(i), e.unshift(n);
|
|
7224
7225
|
else if (n.content) {
|
|
7225
7226
|
const [s, l] = ah(t, n);
|
|
@@ -7227,9 +7228,9 @@ let __tla = Promise.all([
|
|
|
7227
7228
|
s
|
|
7228
7229
|
]), l.content && e.unshift(l);
|
|
7229
7230
|
}
|
|
7230
|
-
return
|
|
7231
|
+
return Ii(e, t, r);
|
|
7231
7232
|
}
|
|
7232
|
-
f(
|
|
7233
|
+
f(Ii, "splitLineToFitWidthRecursion");
|
|
7233
7234
|
function en(e, t) {
|
|
7234
7235
|
t && e.attr("style", t);
|
|
7235
7236
|
}
|
|
@@ -7332,10 +7333,10 @@ let __tla = Promise.all([
|
|
|
7332
7333
|
}
|
|
7333
7334
|
}
|
|
7334
7335
|
}
|
|
7335
|
-
function
|
|
7336
|
+
function Ix(e, t) {
|
|
7336
7337
|
return e[0] === t[0] && e[1] === t[1];
|
|
7337
7338
|
}
|
|
7338
|
-
function
|
|
7339
|
+
function $x(e, t, r, i = 1) {
|
|
7339
7340
|
const a = r, n = Math.max(t, 0.1), o = e[0] && e[0][0] && typeof e[0][0] == "number" ? [
|
|
7340
7341
|
e
|
|
7341
7342
|
] : e, s = [
|
|
@@ -7349,7 +7350,7 @@ let __tla = Promise.all([
|
|
|
7349
7350
|
const C = [
|
|
7350
7351
|
...b
|
|
7351
7352
|
];
|
|
7352
|
-
|
|
7353
|
+
Ix(C[0], C[C.length - 1]) || C.push([
|
|
7353
7354
|
C[0][0],
|
|
7354
7355
|
C[0][1]
|
|
7355
7356
|
]), C.length > 2 && p.push(C);
|
|
@@ -7418,7 +7419,7 @@ let __tla = Promise.all([
|
|
|
7418
7419
|
let a = t.hachureGap;
|
|
7419
7420
|
a < 0 && (a = 4 * t.strokeWidth), a = Math.round(Math.max(a, 0.1));
|
|
7420
7421
|
let n = 1;
|
|
7421
|
-
return t.roughness >= 1 && (((r = t.randomizer) === null || r === void 0 ? void 0 : r.next()) || Math.random()) > 0.7 && (n = a),
|
|
7422
|
+
return t.roughness >= 1 && (((r = t.randomizer) === null || r === void 0 ? void 0 : r.next()) || Math.random()) > 0.7 && (n = a), $x(e, a, i, n || 1);
|
|
7422
7423
|
}
|
|
7423
7424
|
class Wn {
|
|
7424
7425
|
constructor(t) {
|
|
@@ -7979,20 +7980,20 @@ let __tla = Promise.all([
|
|
|
7979
7980
|
]);
|
|
7980
7981
|
}
|
|
7981
7982
|
x = g - d;
|
|
7982
|
-
const b = Math.cos(d), C = Math.sin(d), S = Math.cos(g), k = Math.sin(g), L = Math.tan(x / 4), T = 4 / 3 * a * L,
|
|
7983
|
+
const b = Math.cos(d), C = Math.sin(d), S = Math.cos(g), k = Math.sin(g), L = Math.tan(x / 4), T = 4 / 3 * a * L, I = 4 / 3 * n * L, $ = [
|
|
7983
7984
|
e,
|
|
7984
7985
|
t
|
|
7985
7986
|
], O = [
|
|
7986
7987
|
e + T * C,
|
|
7987
|
-
t -
|
|
7988
|
+
t - I * b
|
|
7988
7989
|
], B = [
|
|
7989
7990
|
r + T * k,
|
|
7990
|
-
i -
|
|
7991
|
+
i - I * S
|
|
7991
7992
|
], W = [
|
|
7992
7993
|
r,
|
|
7993
7994
|
i
|
|
7994
7995
|
];
|
|
7995
|
-
if (O[0] = 2 *
|
|
7996
|
+
if (O[0] = 2 * $[0] - O[0], O[1] = 2 * $[1] - O[1], c) return [
|
|
7996
7997
|
O,
|
|
7997
7998
|
B,
|
|
7998
7999
|
W
|
|
@@ -8023,7 +8024,7 @@ let __tla = Promise.all([
|
|
|
8023
8024
|
return tt(e, t);
|
|
8024
8025
|
},
|
|
8025
8026
|
randOffsetWithRange: function(e, t, r) {
|
|
8026
|
-
return
|
|
8027
|
+
return $i(e, t, r);
|
|
8027
8028
|
},
|
|
8028
8029
|
ellipse: function(e, t, r, i, a) {
|
|
8029
8030
|
const n = ph(r, i, a);
|
|
@@ -8110,7 +8111,7 @@ let __tla = Promise.all([
|
|
|
8110
8111
|
};
|
|
8111
8112
|
}
|
|
8112
8113
|
function rn(e, t, r, i) {
|
|
8113
|
-
const [a, n] = Xs(i.increment, e, t, i.rx, i.ry, 1, i.increment *
|
|
8114
|
+
const [a, n] = Xs(i.increment, e, t, i.rx, i.ry, 1, i.increment * $i(0.1, $i(0.4, 1, r), r), r);
|
|
8114
8115
|
let o = Ri(a, null, r);
|
|
8115
8116
|
if (!r.disableMultiStroke && r.roughness !== 0) {
|
|
8116
8117
|
const [s] = Xs(i.increment, e, t, i.rx, i.ry, 1.5, 0, r), l = Ri(s, null, r);
|
|
@@ -8255,11 +8256,11 @@ let __tla = Promise.all([
|
|
|
8255
8256
|
function gh(e) {
|
|
8256
8257
|
return e.randomizer || (e.randomizer = new qx(e.seed || 0)), e.randomizer.next();
|
|
8257
8258
|
}
|
|
8258
|
-
function
|
|
8259
|
+
function $i(e, t, r, i = 1) {
|
|
8259
8260
|
return r.roughness * i * (gh(r) * (t - e) + e);
|
|
8260
8261
|
}
|
|
8261
8262
|
function tt(e, t, r = 1) {
|
|
8262
|
-
return
|
|
8263
|
+
return $i(-e, e, t, r);
|
|
8263
8264
|
}
|
|
8264
8265
|
function Me(e, t, r, i, a, n = false) {
|
|
8265
8266
|
const o = n ? a.disableMultiStrokeFill : a.disableMultiStroke, s = an(e, t, r, i, a, true, false);
|
|
@@ -8538,9 +8539,9 @@ let __tla = Promise.all([
|
|
|
8538
8539
|
const i = bi(t, r);
|
|
8539
8540
|
if (i === 0) return bi(e, t);
|
|
8540
8541
|
let a = ((e[0] - t[0]) * (r[0] - t[0]) + (e[1] - t[1]) * (r[1] - t[1])) / i;
|
|
8541
|
-
return a = Math.max(0, Math.min(1, a)), bi(e,
|
|
8542
|
+
return a = Math.max(0, Math.min(1, a)), bi(e, $e(t, r, a));
|
|
8542
8543
|
}
|
|
8543
|
-
function
|
|
8544
|
+
function $e(e, t, r) {
|
|
8544
8545
|
return [
|
|
8545
8546
|
e[0] + (t[0] - e[0]) * r,
|
|
8546
8547
|
e[1] + (t[1] - e[1]) * r
|
|
@@ -8562,7 +8563,7 @@ let __tla = Promise.all([
|
|
|
8562
8563
|
const s = e[t + 0];
|
|
8563
8564
|
a.length ? (n = a[a.length - 1], o = s, Math.sqrt(bi(n, o)) > 1 && a.push(s)) : a.push(s), a.push(e[t + 3]);
|
|
8564
8565
|
} else {
|
|
8565
|
-
const l = e[t + 0], c = e[t + 1], h = e[t + 2], u = e[t + 3], p =
|
|
8566
|
+
const l = e[t + 0], c = e[t + 1], h = e[t + 2], u = e[t + 3], p = $e(l, c, 0.5), d = $e(c, h, 0.5), g = $e(h, u, 0.5), m = $e(p, d, 0.5), y = $e(d, g, 0.5), x = $e(m, y, 0.5);
|
|
8566
8567
|
nn([
|
|
8567
8568
|
l,
|
|
8568
8569
|
p,
|
|
@@ -8700,17 +8701,17 @@ let __tla = Promise.all([
|
|
|
8700
8701
|
const C = p, S = d;
|
|
8701
8702
|
let k = Math.abs(g / 2), L = Math.abs(m / 2);
|
|
8702
8703
|
k += tt(0.01 * k, b), L += tt(0.01 * L, b);
|
|
8703
|
-
let T = y,
|
|
8704
|
-
for (; T < 0; ) T += 2 * Math.PI,
|
|
8705
|
-
|
|
8706
|
-
const
|
|
8707
|
-
for (let B = T; B <=
|
|
8704
|
+
let T = y, I = x;
|
|
8705
|
+
for (; T < 0; ) T += 2 * Math.PI, I += 2 * Math.PI;
|
|
8706
|
+
I - T > 2 * Math.PI && (T = 0, I = 2 * Math.PI);
|
|
8707
|
+
const $ = (I - T) / b.curveStepCount, O = [];
|
|
8708
|
+
for (let B = T; B <= I; B += $) O.push([
|
|
8708
8709
|
C + k * Math.cos(B),
|
|
8709
8710
|
S + L * Math.sin(B)
|
|
8710
8711
|
]);
|
|
8711
8712
|
return O.push([
|
|
8712
|
-
C + k * Math.cos(
|
|
8713
|
-
S + L * Math.sin(
|
|
8713
|
+
C + k * Math.cos(I),
|
|
8714
|
+
S + L * Math.sin(I)
|
|
8714
8715
|
]), O.push([
|
|
8715
8716
|
C,
|
|
8716
8717
|
S
|
|
@@ -9084,7 +9085,7 @@ let __tla = Promise.all([
|
|
|
9084
9085
|
].map((m) => new Promise((y) => {
|
|
9085
9086
|
function x() {
|
|
9086
9087
|
if (m.style.display = "flex", m.style.flexDirection = "column", g) {
|
|
9087
|
-
const b = ht().fontSize ? ht().fontSize : window.getComputedStyle(document.body).fontSize, C = 5, [S =
|
|
9088
|
+
const b = ht().fontSize ? ht().fontSize : window.getComputedStyle(document.body).fontSize, C = 5, [S = Io.fontSize] = Zi(b), k = S * C + "px";
|
|
9088
9089
|
m.style.minWidth = k, m.style.maxWidth = k;
|
|
9089
9090
|
} else m.style.width = "100%";
|
|
9090
9091
|
y(m);
|
|
@@ -9320,8 +9321,8 @@ let __tla = Promise.all([
|
|
|
9320
9321
|
});
|
|
9321
9322
|
let m = g.getBBox();
|
|
9322
9323
|
if (xt(r.flowchart.htmlLabels)) {
|
|
9323
|
-
const T = g.children[0],
|
|
9324
|
-
m = T.getBoundingClientRect(),
|
|
9324
|
+
const T = g.children[0], I = lt(g);
|
|
9325
|
+
m = T.getBoundingClientRect(), I.attr("width", m.width), I.attr("height", m.height);
|
|
9325
9326
|
}
|
|
9326
9327
|
const y = t.width <= m.width + t.padding ? m.width + t.padding : t.width;
|
|
9327
9328
|
t.width <= m.width + t.padding ? t.diff = (y - t.width) / 2 - t.padding : t.diff = -t.padding;
|
|
@@ -9329,14 +9330,14 @@ let __tla = Promise.all([
|
|
|
9329
9330
|
D.trace("Data ", t, JSON.stringify(t));
|
|
9330
9331
|
let S;
|
|
9331
9332
|
if (t.look === "handDrawn") {
|
|
9332
|
-
const T = U.svg(u),
|
|
9333
|
+
const T = U.svg(u), I = G(t, {
|
|
9333
9334
|
roughness: 0.7,
|
|
9334
9335
|
fill: n,
|
|
9335
9336
|
stroke: o,
|
|
9336
9337
|
fillWeight: 3,
|
|
9337
9338
|
seed: a
|
|
9338
|
-
}),
|
|
9339
|
-
S = u.insert(() => (D.debug("Rough node insert CXC",
|
|
9339
|
+
}), $ = T.path(we(b, C, y, x, 0), I);
|
|
9340
|
+
S = u.insert(() => (D.debug("Rough node insert CXC", $), $), ":first-child"), S.select("path:nth-child(2)").attr("style", c.join(";")), S.select("path").attr("style", h.join(";").replace("fill", "stroke"));
|
|
9340
9341
|
} else S = u.insert("rect", ":first-child"), S.attr("style", l).attr("rx", t.rx).attr("ry", t.ry).attr("x", b).attr("y", C).attr("width", y).attr("height", x);
|
|
9341
9342
|
const { subGraphTitleTopMargin: k } = Ln(r);
|
|
9342
9343
|
if (d.attr("transform", `translate(${t.x - m.width / 2}, ${t.y - t.height / 2 + k})`), s) {
|
|
@@ -9371,8 +9372,8 @@ let __tla = Promise.all([
|
|
|
9371
9372
|
const d = u.node().appendChild(await We(t.label, t.labelStyle, void 0, true));
|
|
9372
9373
|
let g = d.getBBox();
|
|
9373
9374
|
if (xt(r.flowchart.htmlLabels)) {
|
|
9374
|
-
const
|
|
9375
|
-
g =
|
|
9375
|
+
const $ = d.children[0], O = lt(d);
|
|
9376
|
+
g = $.getBoundingClientRect(), O.attr("width", g.width), O.attr("height", g.height);
|
|
9376
9377
|
}
|
|
9377
9378
|
const m = 0 * t.padding, y = m / 2, x = (t.width <= g.width + t.padding ? g.width + t.padding : t.width) + m;
|
|
9378
9379
|
t.width <= g.width + t.padding ? t.diff = (x - t.width) / 2 - t.padding : t.diff = -t.padding;
|
|
@@ -9381,7 +9382,7 @@ let __tla = Promise.all([
|
|
|
9381
9382
|
const L = t.y - t.height / 2 - y + g.height + 2;
|
|
9382
9383
|
let T;
|
|
9383
9384
|
if (t.look === "handDrawn") {
|
|
9384
|
-
const
|
|
9385
|
+
const $ = t.cssClasses.includes("statediagram-cluster-alt"), O = U.svg(c), B = t.rx || t.ry ? O.path(we(S, k, x, b, 10), {
|
|
9385
9386
|
roughness: 0.7,
|
|
9386
9387
|
fill: s,
|
|
9387
9388
|
fillStyle: "solid",
|
|
@@ -9392,17 +9393,17 @@ let __tla = Promise.all([
|
|
|
9392
9393
|
});
|
|
9393
9394
|
T = c.insert(() => B, ":first-child");
|
|
9394
9395
|
const W = O.rectangle(S, L, x, C, {
|
|
9395
|
-
fill:
|
|
9396
|
-
fillStyle:
|
|
9396
|
+
fill: $ ? n : o,
|
|
9397
|
+
fillStyle: $ ? "hachure" : "solid",
|
|
9397
9398
|
stroke: l,
|
|
9398
9399
|
seed: a
|
|
9399
9400
|
});
|
|
9400
9401
|
T = c.insert(() => B, ":first-child"), p = c.insert(() => W);
|
|
9401
9402
|
} else T = h.insert("rect", ":first-child"), T.attr("class", "outer").attr("x", S).attr("y", k).attr("width", x).attr("height", b).attr("data-look", t.look), p.attr("class", "inner").attr("x", S).attr("y", L).attr("width", x).attr("height", C);
|
|
9402
9403
|
u.attr("transform", `translate(${t.x - g.width / 2}, ${k + 1 - (xt(r.flowchart.htmlLabels) ? 0 : 3)})`);
|
|
9403
|
-
const
|
|
9404
|
-
return t.height =
|
|
9405
|
-
return fr(t,
|
|
9404
|
+
const I = T.node().getBBox();
|
|
9405
|
+
return t.height = I.height, t.offsetX = 0, t.offsetY = g.height - t.padding / 2, t.labelBBox = g, t.intersect = function($) {
|
|
9406
|
+
return fr(t, $);
|
|
9406
9407
|
}, {
|
|
9407
9408
|
cluster: c,
|
|
9408
9409
|
labelBBox: g
|
|
@@ -9418,8 +9419,8 @@ let __tla = Promise.all([
|
|
|
9418
9419
|
});
|
|
9419
9420
|
let m = g.getBBox();
|
|
9420
9421
|
if (xt(r.flowchart.htmlLabels)) {
|
|
9421
|
-
const T = g.children[0],
|
|
9422
|
-
m = T.getBoundingClientRect(),
|
|
9422
|
+
const T = g.children[0], I = lt(g);
|
|
9423
|
+
m = T.getBoundingClientRect(), I.attr("width", m.width), I.attr("height", m.height);
|
|
9423
9424
|
}
|
|
9424
9425
|
const y = t.width <= m.width + t.padding ? m.width + t.padding : t.width;
|
|
9425
9426
|
t.width <= m.width + t.padding ? t.diff = (y - t.width) / 2 - t.padding : t.diff = -t.padding;
|
|
@@ -9427,14 +9428,14 @@ let __tla = Promise.all([
|
|
|
9427
9428
|
D.trace("Data ", t, JSON.stringify(t));
|
|
9428
9429
|
let S;
|
|
9429
9430
|
if (t.look === "handDrawn") {
|
|
9430
|
-
const T = U.svg(u),
|
|
9431
|
+
const T = U.svg(u), I = G(t, {
|
|
9431
9432
|
roughness: 0.7,
|
|
9432
9433
|
fill: n,
|
|
9433
9434
|
stroke: o,
|
|
9434
9435
|
fillWeight: 4,
|
|
9435
9436
|
seed: a
|
|
9436
|
-
}),
|
|
9437
|
-
S = u.insert(() => (D.debug("Rough node insert CXC",
|
|
9437
|
+
}), $ = T.path(we(b, C, y, x, t.rx), I);
|
|
9438
|
+
S = u.insert(() => (D.debug("Rough node insert CXC", $), $), ":first-child"), S.select("path:nth-child(2)").attr("style", c.join(";")), S.select("path").attr("style", h.join(";").replace("fill", "stroke"));
|
|
9438
9439
|
} else S = u.insert("rect", ":first-child"), S.attr("style", l).attr("rx", t.rx).attr("ry", t.ry).attr("x", b).attr("y", C).attr("width", y).attr("height", x);
|
|
9439
9440
|
const { subGraphTitleTopMargin: k } = Ln(r);
|
|
9440
9441
|
if (d.attr("transform", `translate(${t.x - m.width / 2}, ${t.y - t.height / 2 + k})`), s) {
|
|
@@ -9489,7 +9490,7 @@ let __tla = Promise.all([
|
|
|
9489
9490
|
const r = t.shape || "rect", i = await sb[r](e, t);
|
|
9490
9491
|
return Ch.set(t.id, i), i;
|
|
9491
9492
|
}, "insertCluster");
|
|
9492
|
-
|
|
9493
|
+
nv = f(() => {
|
|
9493
9494
|
Ch = /* @__PURE__ */ new Map();
|
|
9494
9495
|
}, "clear");
|
|
9495
9496
|
function vh(e, t) {
|
|
@@ -9581,7 +9582,7 @@ let __tla = Promise.all([
|
|
|
9581
9582
|
o && k < 0 && (k += 2 * Math.PI), !o && k > 0 && (k -= 2 * Math.PI);
|
|
9582
9583
|
const L = [];
|
|
9583
9584
|
for (let T = 0; T < 20; T++) {
|
|
9584
|
-
const
|
|
9585
|
+
const I = T / 19, $ = C + I * k, O = x + a * Math.cos($), B = b + n * Math.sin($);
|
|
9585
9586
|
L.push({
|
|
9586
9587
|
x: O,
|
|
9587
9588
|
y: B
|
|
@@ -9818,7 +9819,7 @@ let __tla = Promise.all([
|
|
|
9818
9819
|
return o;
|
|
9819
9820
|
}
|
|
9820
9821
|
f(me, "generateCirclePoints");
|
|
9821
|
-
async function
|
|
9822
|
+
async function Ih(e, t) {
|
|
9822
9823
|
const { labelStyles: r, nodeStyles: i } = V(t);
|
|
9823
9824
|
t.labelStyle = r;
|
|
9824
9825
|
const { shapeSvg: a, bbox: n, label: o } = await it(e, t, et(t)), s = n.width + (t.padding ?? 0), l = n.height + (t.padding ?? 0), c = Math.max(5, l * 0.1), { cssStyles: h } = t, u = [
|
|
@@ -9874,7 +9875,7 @@ let __tla = Promise.all([
|
|
|
9874
9875
|
return Y.polygon(t, p, k);
|
|
9875
9876
|
}, a;
|
|
9876
9877
|
}
|
|
9877
|
-
f(
|
|
9878
|
+
f(Ih, "curlyBraceRight");
|
|
9878
9879
|
function wt(e, t, r, i = 100, a = 0, n = 180) {
|
|
9879
9880
|
const o = [], s = a * Math.PI / 180, h = (n * Math.PI / 180 - s) / (i - 1);
|
|
9880
9881
|
for (let u = 0; u < i; u++) {
|
|
@@ -9887,7 +9888,7 @@ let __tla = Promise.all([
|
|
|
9887
9888
|
return o;
|
|
9888
9889
|
}
|
|
9889
9890
|
f(wt, "generateCirclePoints");
|
|
9890
|
-
async function
|
|
9891
|
+
async function $h(e, t) {
|
|
9891
9892
|
const { labelStyles: r, nodeStyles: i } = V(t);
|
|
9892
9893
|
t.labelStyle = r;
|
|
9893
9894
|
const { shapeSvg: a, bbox: n, label: o } = await it(e, t, et(t)), s = n.width + (t.padding ?? 0), l = n.height + (t.padding ?? 0), c = Math.max(5, l * 0.1), { cssStyles: h } = t, u = [
|
|
@@ -9963,12 +9964,12 @@ let __tla = Promise.all([
|
|
|
9963
9964
|
t.look !== "handDrawn" && (m.roughness = 0, m.fillStyle = "solid");
|
|
9964
9965
|
const x = ct(u).replace("Z", ""), b = g.path(x, m), S = ct(p).replace("Z", ""), k = g.path(S, m), L = ct(d), T = g.path(L, {
|
|
9965
9966
|
...m
|
|
9966
|
-
}),
|
|
9967
|
-
return
|
|
9968
|
-
return Y.polygon(t, d,
|
|
9967
|
+
}), I = a.insert("g", ":first-child");
|
|
9968
|
+
return I.insert(() => T, ":first-child").attr("stroke-opacity", 0), I.insert(() => b, ":first-child"), I.insert(() => k, ":first-child"), I.attr("class", "text"), h && t.look !== "handDrawn" && I.selectAll("path").attr("style", h), i && t.look !== "handDrawn" && I.selectAll("path").attr("style", i), I.attr("transform", `translate(${c - c / 4}, 0)`), o.attr("transform", `translate(${-s / 2 + (t.padding ?? 0) / 2 - (n.x - (n.left ?? 0))},${-l / 2 + (t.padding ?? 0) / 2 - (n.y - (n.top ?? 0))})`), X(t, I), t.intersect = function($) {
|
|
9969
|
+
return Y.polygon(t, d, $);
|
|
9969
9970
|
}, a;
|
|
9970
9971
|
}
|
|
9971
|
-
f(
|
|
9972
|
+
f($h, "curlyBraces");
|
|
9972
9973
|
async function Rh(e, t) {
|
|
9973
9974
|
const { labelStyles: r, nodeStyles: i } = V(t);
|
|
9974
9975
|
t.labelStyle = r;
|
|
@@ -10294,11 +10295,11 @@ let __tla = Promise.all([
|
|
|
10294
10295
|
fill: "none"
|
|
10295
10296
|
});
|
|
10296
10297
|
t.look !== "handDrawn" && (k.roughness = 0, k.fillStyle = "solid");
|
|
10297
|
-
const L = S.rectangle(x, b, g, d, k), T = Math.max(g, h.width),
|
|
10298
|
+
const L = S.rectangle(x, b, g, d, k), T = Math.max(g, h.width), I = d + h.height + C, $ = S.rectangle(-T / 2, -I / 2, T, I, {
|
|
10298
10299
|
...k,
|
|
10299
10300
|
fill: "transparent",
|
|
10300
10301
|
stroke: "none"
|
|
10301
|
-
}), O = c.insert(() => L, ":first-child"), B = c.insert(() =>
|
|
10302
|
+
}), O = c.insert(() => L, ":first-child"), B = c.insert(() => $);
|
|
10302
10303
|
if (t.icon) {
|
|
10303
10304
|
const W = c.append("g");
|
|
10304
10305
|
W.html(`<g>${await Xi(t.icon, {
|
|
@@ -10309,7 +10310,7 @@ let __tla = Promise.all([
|
|
|
10309
10310
|
const P = W.node().getBBox(), E = P.width, M = P.height, _ = P.x, F = P.y;
|
|
10310
10311
|
W.attr("transform", `translate(${-E / 2 - _},${p ? h.height / 2 + C / 2 - M / 2 - F : -h.height / 2 - C / 2 - M / 2 - F})`), W.attr("style", `color: ${y.get("stroke") ?? m};`);
|
|
10311
10312
|
}
|
|
10312
|
-
return u.attr("transform", `translate(${-h.width / 2 - (h.x - (h.left ?? 0))},${p ?
|
|
10313
|
+
return u.attr("transform", `translate(${-h.width / 2 - (h.x - (h.left ?? 0))},${p ? -I / 2 : I / 2 - h.height})`), O.attr("transform", `translate(0,${p ? h.height / 2 + C / 2 : -h.height / 2 - C / 2})`), X(t, B), t.intersect = function(W) {
|
|
10313
10314
|
if (D.info("iconSquare intersect", t, W), !t.label) return Y.rect(t, W);
|
|
10314
10315
|
const P = t.x ?? 0, E = t.y ?? 0, M = t.height ?? 0;
|
|
10315
10316
|
let _ = [];
|
|
@@ -10398,12 +10399,12 @@ let __tla = Promise.all([
|
|
|
10398
10399
|
width: s,
|
|
10399
10400
|
fallbackPrefix: ""
|
|
10400
10401
|
})}</g>`);
|
|
10401
|
-
const L = k.node().getBBox(), T = L.width,
|
|
10402
|
+
const L = k.node().getBBox(), T = L.width, I = L.height, $ = L.x, O = L.y, B = Math.max(T, I) * Math.SQRT2 + p * 2, W = b.circle(0, 0, B, C), P = Math.max(B, h.width), E = B + h.height + d, M = b.rectangle(-P / 2, -E / 2, P, E, {
|
|
10402
10403
|
...C,
|
|
10403
10404
|
fill: "transparent",
|
|
10404
10405
|
stroke: "none"
|
|
10405
10406
|
}), _ = c.insert(() => W, ":first-child"), F = c.insert(() => M);
|
|
10406
|
-
return k.attr("transform", `translate(${-T / 2 -
|
|
10407
|
+
return k.attr("transform", `translate(${-T / 2 - $},${g ? h.height / 2 + d / 2 - I / 2 - O : -h.height / 2 - d / 2 - I / 2 - O})`), k.attr("style", `color: ${x.get("stroke") ?? m};`), u.attr("transform", `translate(${-h.width / 2 - (h.x - (h.left ?? 0))},${g ? -E / 2 : E / 2 - h.height})`), _.attr("transform", `translate(0,${g ? h.height / 2 + d / 2 : -h.height / 2 - d / 2})`), X(t, F), t.intersect = function(A) {
|
|
10407
10408
|
return D.info("iconSquare intersect", t, A), Y.rect(t, A);
|
|
10408
10409
|
}, c;
|
|
10409
10410
|
}
|
|
@@ -10415,13 +10416,13 @@ let __tla = Promise.all([
|
|
|
10415
10416
|
t.width = Math.max(s, l ?? 0);
|
|
10416
10417
|
const { shapeSvg: c, bbox: h, halfPadding: u, label: p } = await it(e, t, "icon-shape default"), d = t.pos === "t", g = s + u * 2, m = s + u * 2, { nodeBorder: y, mainBkg: x } = r, { stylesMap: b } = pr(t), C = -m / 2, S = -g / 2, k = t.label ? 8 : 0, L = U.svg(c), T = G(t, {});
|
|
10417
10418
|
t.look !== "handDrawn" && (T.roughness = 0, T.fillStyle = "solid");
|
|
10418
|
-
const
|
|
10419
|
-
T.stroke =
|
|
10420
|
-
const
|
|
10419
|
+
const I = b.get("fill");
|
|
10420
|
+
T.stroke = I ?? x;
|
|
10421
|
+
const $ = L.path(we(C, S, m, g, 5), T), O = Math.max(m, h.width), B = g + h.height + k, W = L.rectangle(-O / 2, -B / 2, O, B, {
|
|
10421
10422
|
...T,
|
|
10422
10423
|
fill: "transparent",
|
|
10423
10424
|
stroke: "none"
|
|
10424
|
-
}), P = c.insert(() =>
|
|
10425
|
+
}), P = c.insert(() => $, ":first-child").attr("class", "icon-shape2"), E = c.insert(() => W);
|
|
10425
10426
|
if (t.icon) {
|
|
10426
10427
|
const M = c.append("g");
|
|
10427
10428
|
M.html(`<g>${await Xi(t.icon, {
|
|
@@ -10513,13 +10514,13 @@ let __tla = Promise.all([
|
|
|
10513
10514
|
t.width = Math.max(s, l ?? 0);
|
|
10514
10515
|
const { shapeSvg: c, bbox: h, halfPadding: u, label: p } = await it(e, t, "icon-shape default"), d = t.pos === "t", g = s + u * 2, m = s + u * 2, { nodeBorder: y, mainBkg: x } = r, { stylesMap: b } = pr(t), C = -m / 2, S = -g / 2, k = t.label ? 8 : 0, L = U.svg(c), T = G(t, {});
|
|
10515
10516
|
t.look !== "handDrawn" && (T.roughness = 0, T.fillStyle = "solid");
|
|
10516
|
-
const
|
|
10517
|
-
T.stroke =
|
|
10518
|
-
const
|
|
10517
|
+
const I = b.get("fill");
|
|
10518
|
+
T.stroke = I ?? x;
|
|
10519
|
+
const $ = L.path(we(C, S, m, g, 0.1), T), O = Math.max(m, h.width), B = g + h.height + k, W = L.rectangle(-O / 2, -B / 2, O, B, {
|
|
10519
10520
|
...T,
|
|
10520
10521
|
fill: "transparent",
|
|
10521
10522
|
stroke: "none"
|
|
10522
|
-
}), P = c.insert(() =>
|
|
10523
|
+
}), P = c.insert(() => $, ":first-child"), E = c.insert(() => W);
|
|
10523
10524
|
if (t.icon) {
|
|
10524
10525
|
const M = c.append("g");
|
|
10525
10526
|
M.html(`<g>${await Xi(t.icon, {
|
|
@@ -10621,12 +10622,12 @@ let __tla = Promise.all([
|
|
|
10621
10622
|
...C,
|
|
10622
10623
|
fill: "none",
|
|
10623
10624
|
stroke: "none"
|
|
10624
|
-
}),
|
|
10625
|
+
}), I = u.insert(() => S, ":first-child"), $ = u.insert(() => T);
|
|
10625
10626
|
if (t.img) {
|
|
10626
10627
|
const O = u.append("image");
|
|
10627
10628
|
O.attr("href", t.img), O.attr("width", c), O.attr("height", h), O.attr("preserveAspectRatio", "none"), O.attr("transform", `translate(${-c / 2},${g ? L / 2 - h : -L / 2})`);
|
|
10628
10629
|
}
|
|
10629
|
-
return d.attr("transform", `translate(${-p.width / 2 - (p.x - (p.left ?? 0))},${g ? -h / 2 - p.height / 2 - x / 2 : h / 2 - p.height / 2 + x / 2})`),
|
|
10630
|
+
return d.attr("transform", `translate(${-p.width / 2 - (p.x - (p.left ?? 0))},${g ? -h / 2 - p.height / 2 - x / 2 : h / 2 - p.height / 2 + x / 2})`), I.attr("transform", `translate(0,${g ? p.height / 2 + x / 2 : -p.height / 2 - x / 2})`), X(t, $), t.intersect = function(O) {
|
|
10630
10631
|
if (D.info("iconSquare intersect", t, O), !t.label) return Y.rect(t, O);
|
|
10631
10632
|
const B = t.x ?? 0, W = t.y ?? 0, P = t.height ?? 0;
|
|
10632
10633
|
let E = [];
|
|
@@ -11107,8 +11108,8 @@ let __tla = Promise.all([
|
|
|
11107
11108
|
}
|
|
11108
11109
|
], C = U.svg(a), S = G(t, {});
|
|
11109
11110
|
t.look !== "handDrawn" && (S.roughness = 0, S.fillStyle = "solid");
|
|
11110
|
-
const k = ct(x), L = C.path(k, S), T = ct(b),
|
|
11111
|
-
return
|
|
11111
|
+
const k = ct(x), L = C.path(k, S), T = ct(b), I = C.path(T, S), $ = a.insert(() => L, ":first-child");
|
|
11112
|
+
return $.insert(() => I), $.attr("class", "basic label-container"), g && t.look !== "handDrawn" && $.selectAll("path").attr("style", g), i && t.look !== "handDrawn" && $.selectAll("path").attr("style", i), $.attr("transform", `translate(0,${-c / 2})`), o.attr("transform", `translate(${-(n.width / 2) - d - (n.x - (n.left ?? 0))}, ${-(n.height / 2) + d - c / 2 - (n.y - (n.top ?? 0))})`), X(t, $), t.intersect = function(O) {
|
|
11112
11113
|
return Y.polygon(t, x, O);
|
|
11113
11114
|
}, a;
|
|
11114
11115
|
}
|
|
@@ -11215,8 +11216,8 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
11215
11216
|
height: 0
|
|
11216
11217
|
};
|
|
11217
11218
|
if (xt((_b3 = (_a3 = ht()) == null ? void 0 : _a3.flowchart) == null ? void 0 : _b3.htmlLabels)) {
|
|
11218
|
-
const
|
|
11219
|
-
u =
|
|
11219
|
+
const I = h.children[0], $ = lt(h);
|
|
11220
|
+
u = I.getBoundingClientRect(), $.attr("width", u.width), $.attr("height", u.height);
|
|
11220
11221
|
}
|
|
11221
11222
|
D.info("Text 2", l);
|
|
11222
11223
|
const p = l || [], d = h.getBBox(), g = s.node().appendChild(await We(p.join ? p.join("<br/>") : p, t.labelStyle, true, true)), m = g.children[0], y = lt(g);
|
|
@@ -11226,11 +11227,11 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
11226
11227
|
const b = u.width + (t.padding || 0), C = u.height + (t.padding || 0), S = -u.width / 2 - x, k = -u.height / 2 - x;
|
|
11227
11228
|
let L, T;
|
|
11228
11229
|
if (t.look === "handDrawn") {
|
|
11229
|
-
const
|
|
11230
|
+
const I = U.svg(n), $ = G(t, {}), O = I.path(we(S, k, b, C, t.rx || 0), $), B = I.line(-u.width / 2 - x, -u.height / 2 - x + d.height + x, u.width / 2 + x, -u.height / 2 - x + d.height + x, $);
|
|
11230
11231
|
T = n.insert(() => (D.debug("Rough node insert CXC", O), B), ":first-child"), L = n.insert(() => (D.debug("Rough node insert CXC", O), O), ":first-child");
|
|
11231
11232
|
} else L = o.insert("rect", ":first-child"), T = o.insert("line"), L.attr("class", "outer title-state").attr("style", i).attr("x", -u.width / 2 - x).attr("y", -u.height / 2 - x).attr("width", u.width + (t.padding || 0)).attr("height", u.height + (t.padding || 0)), T.attr("class", "divider").attr("x1", -u.width / 2 - x).attr("x2", u.width / 2 + x).attr("y1", -u.height / 2 - x + d.height + x).attr("y2", -u.height / 2 - x + d.height + x);
|
|
11232
|
-
return X(t, L), t.intersect = function(
|
|
11233
|
-
return Y.rect(t,
|
|
11233
|
+
return X(t, L), t.intersect = function(I) {
|
|
11234
|
+
return Y.rect(t, I);
|
|
11234
11235
|
}, n;
|
|
11235
11236
|
}
|
|
11236
11237
|
f(hu, "rectWithTitle");
|
|
@@ -11519,9 +11520,9 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
11519
11520
|
], S = ct(y), k = g.path(S, m), L = ct(C), T = g.path(L, {
|
|
11520
11521
|
...m,
|
|
11521
11522
|
fillStyle: "solid"
|
|
11522
|
-
}),
|
|
11523
|
-
return
|
|
11524
|
-
return Y.polygon(t, y,
|
|
11523
|
+
}), I = a.insert(() => T, ":first-child");
|
|
11524
|
+
return I.insert(() => k, ":first-child"), I.attr("class", "basic label-container"), d && t.look !== "handDrawn" && I.selectAll("path").attr("style", d), i && t.look !== "handDrawn" && I.selectAll("path").attr("style", i), I.attr("transform", `translate(0,${-c / 2})`), o.attr("transform", `translate(${-s / 2 + (t.padding ?? 0) - (n.x - (n.left ?? 0))},${-l / 2 + (t.padding ?? 0) - c / 2 - (n.y - (n.top ?? 0))})`), X(t, I), t.intersect = function($) {
|
|
11525
|
+
return Y.polygon(t, y, $);
|
|
11525
11526
|
}, a;
|
|
11526
11527
|
}
|
|
11527
11528
|
f(vu, "taggedWaveEdgedRectangle");
|
|
@@ -11820,7 +11821,7 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
11820
11821
|
}
|
|
11821
11822
|
const k = d + g + m + y, L = U.svg(c), T = G(t, {});
|
|
11822
11823
|
t.look !== "handDrawn" && (T.roughness = 0, T.fillStyle = "solid");
|
|
11823
|
-
const
|
|
11824
|
+
const I = Math.max(S.width + a * 2, (t == null ? void 0 : t.width) || 0, k), $ = Math.max(S.height + (p[0] || u) + n, (t == null ? void 0 : t.height) || 0), O = -I / 2, B = -$ / 2;
|
|
11824
11825
|
c.selectAll("g:not(:first-child)").each((N, q, K) => {
|
|
11825
11826
|
const nt = lt(K[q]), at = nt.attr("transform");
|
|
11826
11827
|
let ut = 0, st = 0;
|
|
@@ -11830,20 +11831,20 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
11830
11831
|
}
|
|
11831
11832
|
nt.attr("transform", `translate(${O + a / 2 + ut}, ${st + B + h.height + n / 2})`);
|
|
11832
11833
|
}), c.select(".name").attr("transform", "translate(" + -h.width / 2 + ", " + (B + n / 2) + ")");
|
|
11833
|
-
const W = L.rectangle(O, B,
|
|
11834
|
+
const W = L.rectangle(O, B, I, $, T), P = c.insert(() => W, ":first-child").attr("style", o.join("")), { themeVariables: E } = zt(), { rowEven: M, rowOdd: _, nodeBorder: F } = E;
|
|
11834
11835
|
p.push(0);
|
|
11835
11836
|
for (const [N, q] of p.entries()) {
|
|
11836
11837
|
if (N === 0 && p.length > 1) continue;
|
|
11837
|
-
const K = N % 2 === 0 && q !== 0, nt = L.rectangle(O, h.height + B + q,
|
|
11838
|
+
const K = N % 2 === 0 && q !== 0, nt = L.rectangle(O, h.height + B + q, I, h.height, {
|
|
11838
11839
|
...T,
|
|
11839
11840
|
fill: K ? M : _,
|
|
11840
11841
|
stroke: F
|
|
11841
11842
|
});
|
|
11842
11843
|
c.insert(() => nt, "g.label").attr("style", o.join("")).attr("class", `row-rect-${N % 2 === 0 ? "even" : "odd"}`);
|
|
11843
11844
|
}
|
|
11844
|
-
let A = L.line(O, h.height + B,
|
|
11845
|
-
c.insert(() => A).attr("class", "divider"), A = L.line(d + O, h.height + B, d + O,
|
|
11846
|
-
for (const N of p) A = L.line(O, h.height + B + N,
|
|
11845
|
+
let A = L.line(O, h.height + B, I + O, h.height + B, T);
|
|
11846
|
+
c.insert(() => A).attr("class", "divider"), A = L.line(d + O, h.height + B, d + O, $ + B, T), c.insert(() => A).attr("class", "divider"), x && (A = L.line(d + g + O, h.height + B, d + g + O, $ + B, T), c.insert(() => A).attr("class", "divider")), b && (A = L.line(d + g + m + O, h.height + B, d + g + m + O, $ + B, T), c.insert(() => A).attr("class", "divider"));
|
|
11847
|
+
for (const N of p) A = L.line(O, h.height + B + N, I + O, h.height + B + N, T), c.insert(() => A).attr("class", "divider");
|
|
11847
11848
|
return X(t, P), t.intersect = function(N) {
|
|
11848
11849
|
return Y.rect(t, N);
|
|
11849
11850
|
}, c;
|
|
@@ -11968,7 +11969,7 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
11968
11969
|
const x = -m / 2, b = -y / 2, C = d.rectangle(x - i, b - i - (p ? i : o.members.length === 0 && o.methods.length === 0 ? -i / 2 : 0), m + 2 * i, y + 2 * i + (p ? i * 2 : o.members.length === 0 && o.methods.length === 0 ? -i : 0), g), S = s.insert(() => C, ":first-child");
|
|
11969
11970
|
S.attr("class", "basic label-container");
|
|
11970
11971
|
const k = S.node().getBBox();
|
|
11971
|
-
s.selectAll(".text").each((
|
|
11972
|
+
s.selectAll(".text").each(($, O, B) => {
|
|
11972
11973
|
var _a4;
|
|
11973
11974
|
const W = lt(B[O]), P = W.attr("transform");
|
|
11974
11975
|
let E = 0;
|
|
@@ -11983,30 +11984,30 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
11983
11984
|
window.getComputedStyle(N[A]).textAnchor === "middle" && (_ = 0);
|
|
11984
11985
|
})), W.attr("transform", `translate(${_}, ${M})`);
|
|
11985
11986
|
});
|
|
11986
|
-
const L = s.select(".annotation-group").node().getBBox().height - (p ? i / 2 : 0) || 0, T = s.select(".label-group").node().getBBox().height - (p ? i / 2 : 0) || 0,
|
|
11987
|
+
const L = s.select(".annotation-group").node().getBBox().height - (p ? i / 2 : 0) || 0, T = s.select(".label-group").node().getBBox().height - (p ? i / 2 : 0) || 0, I = s.select(".members-group").node().getBBox().height - (p ? i / 2 : 0) || 0;
|
|
11987
11988
|
if (o.members.length > 0 || o.methods.length > 0 || p) {
|
|
11988
|
-
const
|
|
11989
|
-
s.insert(() =>
|
|
11989
|
+
const $ = d.line(k.x, L + T + b + i, k.x + k.width, L + T + b + i, g);
|
|
11990
|
+
s.insert(() => $).attr("class", "divider").attr("style", u);
|
|
11990
11991
|
}
|
|
11991
11992
|
if (p || o.members.length > 0 || o.methods.length > 0) {
|
|
11992
|
-
const
|
|
11993
|
-
s.insert(() =>
|
|
11993
|
+
const $ = d.line(k.x, L + T + I + b + a * 2 + i, k.x + k.width, L + T + I + b + i + a * 2, g);
|
|
11994
|
+
s.insert(() => $).attr("class", "divider").attr("style", u);
|
|
11994
11995
|
}
|
|
11995
11996
|
if (o.look !== "handDrawn" && s.selectAll("path").attr("style", u), S.select(":nth-child(2)").attr("style", u), s.selectAll(".divider").select("path").attr("style", u), t.labelStyle ? s.selectAll("span").attr("style", t.labelStyle) : s.selectAll("span").attr("style", u), !n) {
|
|
11996
|
-
const
|
|
11997
|
+
const $ = RegExp(/color\s*:\s*([^;]*)/), O = $.exec(u);
|
|
11997
11998
|
if (O) {
|
|
11998
11999
|
const B = O[0].replace("color", "fill");
|
|
11999
12000
|
s.selectAll("tspan").attr("style", B);
|
|
12000
12001
|
} else if (c) {
|
|
12001
|
-
const B =
|
|
12002
|
+
const B = $.exec(c);
|
|
12002
12003
|
if (B) {
|
|
12003
12004
|
const W = B[0].replace("color", "fill");
|
|
12004
12005
|
s.selectAll("tspan").attr("style", W);
|
|
12005
12006
|
}
|
|
12006
12007
|
}
|
|
12007
12008
|
}
|
|
12008
|
-
return X(t, S), t.intersect = function(
|
|
12009
|
-
return Y.rect(t,
|
|
12009
|
+
return X(t, S), t.intersect = function($) {
|
|
12010
|
+
return Y.rect(t, $);
|
|
12010
12011
|
}, s;
|
|
12011
12012
|
}
|
|
12012
12013
|
f(Eu, "classBox");
|
|
@@ -12024,8 +12025,8 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
12024
12025
|
p += L;
|
|
12025
12026
|
const T = await ae(h, `${a.text ? `Text: ${a.text}` : ""}`, p, t.labelStyle);
|
|
12026
12027
|
p += T;
|
|
12027
|
-
const
|
|
12028
|
-
p +=
|
|
12028
|
+
const I = await ae(h, `${a.risk ? `Risk: ${a.risk}` : ""}`, p, t.labelStyle);
|
|
12029
|
+
p += I, await ae(h, `${a.verifyMethod ? `Verification: ${a.verifyMethod}` : ""}`, p, t.labelStyle);
|
|
12029
12030
|
} else {
|
|
12030
12031
|
const L = await ae(h, `${n.type ? `Type: ${n.type}` : ""}`, p, t.labelStyle);
|
|
12031
12032
|
p += L, await ae(h, `${n.docRef ? `Doc Ref: ${n.docRef}` : ""}`, p, t.labelStyle);
|
|
@@ -12033,8 +12034,8 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
12033
12034
|
const g = (((_a3 = h.node()) == null ? void 0 : _a3.getBBox().width) ?? 200) + o, m = (((_b3 = h.node()) == null ? void 0 : _b3.getBBox().height) ?? 200) + o, y = -g / 2, x = -m / 2, b = U.svg(h), C = G(t, {});
|
|
12034
12035
|
t.look !== "handDrawn" && (C.roughness = 0, C.fillStyle = "solid");
|
|
12035
12036
|
const S = b.rectangle(y, x, g, m, C), k = h.insert(() => S, ":first-child");
|
|
12036
|
-
if (k.attr("class", "basic label-container").attr("style", i), h.selectAll(".label").each((L, T,
|
|
12037
|
-
const
|
|
12037
|
+
if (k.attr("class", "basic label-container").attr("style", i), h.selectAll(".label").each((L, T, I) => {
|
|
12038
|
+
const $ = lt(I[T]), O = $.attr("transform");
|
|
12038
12039
|
let B = 0, W = 0;
|
|
12039
12040
|
if (O) {
|
|
12040
12041
|
const _ = RegExp(/translate\(([^,]+),([^)]+)\)/).exec(O);
|
|
@@ -12042,7 +12043,7 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
12042
12043
|
}
|
|
12043
12044
|
const P = W - m / 2;
|
|
12044
12045
|
let E = y + o / 2;
|
|
12045
|
-
(T === 0 || T === 1) && (E = B),
|
|
12046
|
+
(T === 0 || T === 1) && (E = B), $.attr("transform", `translate(${E}, ${P + o})`);
|
|
12046
12047
|
}), p > u + d + s) {
|
|
12047
12048
|
const L = b.line(y, x + u + d + s, y + g, x + u + d + s, C);
|
|
12048
12049
|
h.insert(() => L).attr("style", i);
|
|
@@ -12109,20 +12110,20 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
12109
12110
|
t.width = o;
|
|
12110
12111
|
const b = 10, C = (t == null ? void 0 : t.width) || 0, S = Math.max(m.height, x.height) / 2, k = Math.max(l.height + b * 2, (t == null ? void 0 : t.height) || 0) + S, L = -C / 2, T = -k / 2;
|
|
12111
12112
|
c.attr("transform", "translate(" + (h - C / 2) + ", " + (-S - l.height / 2) + ")"), g.attr("transform", "translate(" + (h - C / 2) + ", " + (-S + l.height / 2) + ")"), y.attr("transform", "translate(" + (h + C / 2 - x.width - 2 * n) + ", " + (-S + l.height / 2) + ")");
|
|
12112
|
-
let
|
|
12113
|
-
const { rx:
|
|
12113
|
+
let I;
|
|
12114
|
+
const { rx: $, ry: O } = t, { cssStyles: B } = t;
|
|
12114
12115
|
if (t.look === "handDrawn") {
|
|
12115
|
-
const W = U.svg(s), P = G(t, {}), E =
|
|
12116
|
-
|
|
12116
|
+
const W = U.svg(s), P = G(t, {}), E = $ || O ? W.path(we(L, T, C, k, $ || 0), P) : W.rectangle(L, T, C, k, P);
|
|
12117
|
+
I = s.insert(() => E, ":first-child"), I.attr("class", "basic label-container").attr("style", B || null);
|
|
12117
12118
|
} else {
|
|
12118
|
-
|
|
12119
|
+
I = s.insert("rect", ":first-child"), I.attr("class", "basic label-container __APA__").attr("style", a).attr("rx", $ ?? 5).attr("ry", O ?? 5).attr("x", L).attr("y", T).attr("width", C).attr("height", k);
|
|
12119
12120
|
const W = "priority" in t && t.priority;
|
|
12120
12121
|
if (W) {
|
|
12121
|
-
const P = s.append("line"), E = L + 2, M = T + Math.floor((
|
|
12122
|
+
const P = s.append("line"), E = L + 2, M = T + Math.floor(($ ?? 0) / 2), _ = T + k - Math.floor(($ ?? 0) / 2);
|
|
12122
12123
|
P.attr("x1", E).attr("y1", M).attr("x2", E).attr("y2", _).attr("stroke-width", "4").attr("stroke", Sb(W));
|
|
12123
12124
|
}
|
|
12124
12125
|
}
|
|
12125
|
-
return X(t,
|
|
12126
|
+
return X(t, I), t.height = k, t.intersect = function(W) {
|
|
12126
12127
|
return Y.rect(t, W);
|
|
12127
12128
|
}, s;
|
|
12128
12129
|
}
|
|
@@ -12392,14 +12393,14 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
12392
12393
|
name: "Curly Brace",
|
|
12393
12394
|
shortName: "brace-r",
|
|
12394
12395
|
description: "Adds a comment",
|
|
12395
|
-
handler:
|
|
12396
|
+
handler: Ih
|
|
12396
12397
|
},
|
|
12397
12398
|
{
|
|
12398
12399
|
semanticName: "Comment with braces on both sides",
|
|
12399
12400
|
name: "Curly Braces",
|
|
12400
12401
|
shortName: "braces",
|
|
12401
12402
|
description: "Adds a comment",
|
|
12402
|
-
handler:
|
|
12403
|
+
handler: $h
|
|
12403
12404
|
},
|
|
12404
12405
|
{
|
|
12405
12406
|
semanticName: "Com Link",
|
|
@@ -12678,7 +12679,7 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
12678
12679
|
};
|
|
12679
12680
|
f(_b, "isValidShape");
|
|
12680
12681
|
var ea = /* @__PURE__ */ new Map();
|
|
12681
|
-
|
|
12682
|
+
Iu = async function(e, t, r) {
|
|
12682
12683
|
let i, a;
|
|
12683
12684
|
t.shape === "rect" && (t.rx && t.ry ? t.shape = "roundedRect" : t.shape = "squareRect");
|
|
12684
12685
|
const n = t.shape ? Ou[t.shape] : void 0;
|
|
@@ -12689,15 +12690,15 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
12689
12690
|
} else a = await n(e, t, r), i = a;
|
|
12690
12691
|
return t.tooltip && a.attr("title", t.tooltip), ea.set(t.id, i), t.haveCallback && i.attr("class", i.attr("class") + " clickable"), i;
|
|
12691
12692
|
};
|
|
12692
|
-
f(
|
|
12693
|
+
f(Iu, "insertNode");
|
|
12693
12694
|
let Bb, Lb, Zs, Wi, St, Br;
|
|
12694
|
-
|
|
12695
|
+
sv = f((e, t) => {
|
|
12695
12696
|
ea.set(t.id, e);
|
|
12696
12697
|
}, "setNodeElem");
|
|
12697
|
-
|
|
12698
|
+
ov = f(() => {
|
|
12698
12699
|
ea.clear();
|
|
12699
12700
|
}, "clear");
|
|
12700
|
-
|
|
12701
|
+
lv = f((e) => {
|
|
12701
12702
|
const t = ea.get(e.id);
|
|
12702
12703
|
D.trace("Transforming node", e.diff, e, "translate(" + (e.x - e.width / 2 - 5) + ", " + e.width / 2 + ")");
|
|
12703
12704
|
const r = 8, i = e.diff || 0;
|
|
@@ -12792,7 +12793,7 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
12792
12793
|
}, "addEdgeMarker");
|
|
12793
12794
|
Wi = /* @__PURE__ */ new Map();
|
|
12794
12795
|
St = /* @__PURE__ */ new Map();
|
|
12795
|
-
|
|
12796
|
+
cv = f(() => {
|
|
12796
12797
|
Wi.clear(), St.clear();
|
|
12797
12798
|
}, "clear");
|
|
12798
12799
|
Br = f((e) => e ? e.reduce((r, i) => r + ";" + i, "") : "", "getLabelStyles");
|
|
@@ -12941,7 +12942,7 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
12941
12942
|
} else D.warn("abc88 outside", n, i), i = n, a || r.push(n);
|
|
12942
12943
|
}), D.debug("returning points", r), r;
|
|
12943
12944
|
}, "cutPathAtIntersect");
|
|
12944
|
-
function
|
|
12945
|
+
function $u(e) {
|
|
12945
12946
|
const t = [], r = [];
|
|
12946
12947
|
for (let i = 1; i < e.length - 1; i++) {
|
|
12947
12948
|
const a = e[i - 1], n = e[i], o = e[i + 1];
|
|
@@ -12952,8 +12953,8 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
12952
12953
|
cornerPointPositions: r
|
|
12953
12954
|
};
|
|
12954
12955
|
}
|
|
12955
|
-
f(
|
|
12956
|
-
let Js, Db, $b,
|
|
12956
|
+
f($u, "extractCornerPoints");
|
|
12957
|
+
let Js, Db, Ib, $b, Rb, Pb, Nb, Wb, zb, qb, Hb, Yb, Ub, jb, Gb, Xb, Vb, Kb, Zb, Jb, zr, Ru, tC;
|
|
12957
12958
|
Js = f(function(e, t, r) {
|
|
12958
12959
|
const i = t.x - e.x, a = t.y - e.y, n = Math.sqrt(i * i + a * a), o = r / n;
|
|
12959
12960
|
return {
|
|
@@ -12962,7 +12963,7 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
12962
12963
|
};
|
|
12963
12964
|
}, "findAdjacentPoint");
|
|
12964
12965
|
Db = f(function(e) {
|
|
12965
|
-
const { cornerPointPositions: t } =
|
|
12966
|
+
const { cornerPointPositions: t } = $u(e), r = [];
|
|
12966
12967
|
for (let i = 0; i < e.length; i++) if (t.includes(i)) {
|
|
12967
12968
|
const a = e[i - 1], n = e[i + 1], o = e[i], s = Js(a, o, 5), l = Js(n, o, 5), c = l.x - s.x, h = l.y - s.y;
|
|
12968
12969
|
r.push(s);
|
|
@@ -12993,9 +12994,9 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
12993
12994
|
const h = a;
|
|
12994
12995
|
var u = n;
|
|
12995
12996
|
const p = [];
|
|
12996
|
-
for (const
|
|
12997
|
+
for (const $ in t.cssCompiledStyles) xh($) || p.push(t.cssCompiledStyles[$]);
|
|
12997
12998
|
u.intersect && h.intersect && (l = l.slice(1, t.points.length - 1), l.unshift(h.intersect(l[0])), D.debug("Last point APA12", t.start, "-->", t.end, l[l.length - 1], u, u.intersect(l[l.length - 1])), l.push(u.intersect(l[l.length - 1]))), t.toCluster && (D.info("to cluster abc88", r.get(t.toCluster)), l = Qs(t.points, r.get(t.toCluster).node), c = true), t.fromCluster && (D.debug("from cluster abc88", r.get(t.fromCluster), JSON.stringify(l, null, 2)), l = Qs(l.reverse(), r.get(t.fromCluster).node).reverse(), c = true);
|
|
12998
|
-
let d = l.filter((
|
|
12999
|
+
let d = l.filter(($) => !Number.isNaN($.y));
|
|
12999
13000
|
d = Db(d);
|
|
13000
13001
|
let g = ci;
|
|
13001
13002
|
switch (g = Aa, t.curve) {
|
|
@@ -13006,7 +13007,7 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
13006
13007
|
g = ci;
|
|
13007
13008
|
break;
|
|
13008
13009
|
case "cardinal":
|
|
13009
|
-
g =
|
|
13010
|
+
g = yo;
|
|
13010
13011
|
break;
|
|
13011
13012
|
case "bumpX":
|
|
13012
13013
|
g = bo;
|
|
@@ -13015,30 +13016,30 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
13015
13016
|
g = Co;
|
|
13016
13017
|
break;
|
|
13017
13018
|
case "catmullRom":
|
|
13018
|
-
g =
|
|
13019
|
+
g = mo;
|
|
13019
13020
|
break;
|
|
13020
13021
|
case "monotoneX":
|
|
13021
|
-
g =
|
|
13022
|
+
g = go;
|
|
13022
13023
|
break;
|
|
13023
13024
|
case "monotoneY":
|
|
13024
|
-
g =
|
|
13025
|
+
g = po;
|
|
13025
13026
|
break;
|
|
13026
13027
|
case "natural":
|
|
13027
|
-
g =
|
|
13028
|
+
g = fo;
|
|
13028
13029
|
break;
|
|
13029
13030
|
case "step":
|
|
13030
|
-
g =
|
|
13031
|
+
g = uo;
|
|
13031
13032
|
break;
|
|
13032
13033
|
case "stepAfter":
|
|
13033
|
-
g =
|
|
13034
|
+
g = ho;
|
|
13034
13035
|
break;
|
|
13035
13036
|
case "stepBefore":
|
|
13036
|
-
g =
|
|
13037
|
+
g = co;
|
|
13037
13038
|
break;
|
|
13038
13039
|
default:
|
|
13039
13040
|
g = ci;
|
|
13040
13041
|
}
|
|
13041
|
-
const { x: m, y } = im(t), x =
|
|
13042
|
+
const { x: m, y } = im(t), x = xf().x(m).y(y).curve(g);
|
|
13042
13043
|
let b;
|
|
13043
13044
|
switch (t.thickness) {
|
|
13044
13045
|
case "normal":
|
|
@@ -13070,11 +13071,11 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
13070
13071
|
const k = Array.isArray(t.style) ? t.style : [
|
|
13071
13072
|
t.style
|
|
13072
13073
|
];
|
|
13073
|
-
let L = k.find((
|
|
13074
|
+
let L = k.find(($) => $ == null ? void 0 : $.startsWith("stroke:"));
|
|
13074
13075
|
if (t.look === "handDrawn") {
|
|
13075
|
-
const
|
|
13076
|
+
const $ = U.svg(e);
|
|
13076
13077
|
Object.assign([], d);
|
|
13077
|
-
const O =
|
|
13078
|
+
const O = $.path(S, {
|
|
13078
13079
|
roughness: 0.3,
|
|
13079
13080
|
seed: s
|
|
13080
13081
|
});
|
|
@@ -13082,23 +13083,23 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
13082
13083
|
let B = C.attr("d");
|
|
13083
13084
|
C.attr("d", B), e.node().appendChild(C.node());
|
|
13084
13085
|
} else {
|
|
13085
|
-
const
|
|
13086
|
+
const $ = p.join(";"), O = k ? k.reduce((P, E) => P + E + ";", "") : "";
|
|
13086
13087
|
let B = "";
|
|
13087
13088
|
t.animate && (B = " edge-animation-fast"), t.animation && (B = " edge-animation-" + t.animation);
|
|
13088
|
-
const W =
|
|
13089
|
+
const W = $ ? $ + ";" + O + ";" : O;
|
|
13089
13090
|
C = e.append("path").attr("d", S).attr("id", t.id).attr("class", " " + b + (t.classes ? " " + t.classes : "") + (B ?? "")).attr("style", W), L = (_a3 = W.match(/stroke:([^;]+)/)) == null ? void 0 : _a3[1];
|
|
13090
13091
|
}
|
|
13091
13092
|
let T = "";
|
|
13092
13093
|
(ht().flowchart.arrowMarkerAbsolute || ht().state.arrowMarkerAbsolute) && (T = window.location.protocol + "//" + window.location.host + window.location.pathname + window.location.search, T = T.replace(/\(/g, "\\(").replace(/\)/g, "\\)")), D.info("arrowTypeStart", t.arrowTypeStart), D.info("arrowTypeEnd", t.arrowTypeEnd), Bb(C, t, T, o, i, L);
|
|
13093
|
-
let
|
|
13094
|
-
return c && (
|
|
13094
|
+
let I = {};
|
|
13095
|
+
return c && (I.updatedPath = l), I.originalPath = t.points, I;
|
|
13095
13096
|
}, "insertEdge");
|
|
13096
|
-
|
|
13097
|
+
Ib = f((e, t, r, i) => {
|
|
13097
13098
|
t.forEach((a) => {
|
|
13098
13099
|
Zb[a](e, r, i);
|
|
13099
13100
|
});
|
|
13100
13101
|
}, "insertMarkers");
|
|
13101
|
-
|
|
13102
|
+
$b = f((e, t, r) => {
|
|
13102
13103
|
D.trace("Making markers for ", r), e.append("defs").append("marker").attr("id", r + "_" + t + "-extensionStart").attr("class", "marker extension " + t).attr("refX", 18).attr("refY", 7).attr("markerWidth", 190).attr("markerHeight", 240).attr("orient", "auto").append("path").attr("d", "M 1,7 L18,13 V 1 Z"), e.append("defs").append("marker").attr("id", r + "_" + t + "-extensionEnd").attr("class", "marker extension " + t).attr("refX", 1).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 28).attr("orient", "auto").append("path").attr("d", "M 1,1 V 13 L18,7 Z");
|
|
13103
13104
|
}, "extension");
|
|
13104
13105
|
Rb = f((e, t, r) => {
|
|
@@ -13154,7 +13155,7 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
13154
13155
|
i.append("circle").attr("cx", 10).attr("cy", 10).attr("r", 9).attr("fill", "none"), i.append("line").attr("x1", 1).attr("x2", 19).attr("y1", 10).attr("y2", 10), i.append("line").attr("y1", 1).attr("y2", 19).attr("x1", 10).attr("x2", 10);
|
|
13155
13156
|
}, "requirement_contains");
|
|
13156
13157
|
Zb = {
|
|
13157
|
-
extension:
|
|
13158
|
+
extension: $b,
|
|
13158
13159
|
composition: Rb,
|
|
13159
13160
|
aggregation: Pb,
|
|
13160
13161
|
dependency: Nb,
|
|
@@ -13170,7 +13171,7 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
13170
13171
|
requirement_arrow: Vb,
|
|
13171
13172
|
requirement_contains: Kb
|
|
13172
13173
|
};
|
|
13173
|
-
Qb =
|
|
13174
|
+
Qb = Ib;
|
|
13174
13175
|
Jb = {
|
|
13175
13176
|
common: dr,
|
|
13176
13177
|
getConfig: zt,
|
|
@@ -13178,7 +13179,7 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
13178
13179
|
insertEdge: Ob,
|
|
13179
13180
|
insertEdgeLabel: Ab,
|
|
13180
13181
|
insertMarkers: Qb,
|
|
13181
|
-
insertNode:
|
|
13182
|
+
insertNode: Iu,
|
|
13182
13183
|
interpolateToCurve: Dn,
|
|
13183
13184
|
labelHelper: it,
|
|
13184
13185
|
log: D,
|
|
@@ -13192,20 +13193,20 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
13192
13193
|
Ru([
|
|
13193
13194
|
{
|
|
13194
13195
|
name: "dagre",
|
|
13195
|
-
loader: f(async () => await import("./dagre-OKDRZEBW-
|
|
13196
|
+
loader: f(async () => await import("./dagre-OKDRZEBW-B3ZUT07z.js"), "loader")
|
|
13196
13197
|
}
|
|
13197
13198
|
]);
|
|
13198
13199
|
}, "registerDefaultLayoutLoaders");
|
|
13199
13200
|
tC();
|
|
13200
13201
|
let Pu, Nu, Wu, rC, iC, aC, nC, zu, Yn;
|
|
13201
|
-
|
|
13202
|
+
hv = f(async (e, t) => {
|
|
13202
13203
|
if (!(e.layoutAlgorithm in zr)) throw new Error(`Unknown layout algorithm: ${e.layoutAlgorithm}`);
|
|
13203
13204
|
const r = zr[e.layoutAlgorithm];
|
|
13204
13205
|
return (await r.loader()).render(e, t, Jb, {
|
|
13205
13206
|
algorithm: r.algorithm
|
|
13206
13207
|
});
|
|
13207
13208
|
}, "render");
|
|
13208
|
-
|
|
13209
|
+
uv = f((e = "", { fallback: t = "dagre" } = {}) => {
|
|
13209
13210
|
if (e in zr) return e;
|
|
13210
13211
|
if (t in zr) return D.warn(`Layout algorithm ${e} is not registered. Using ${t} as fallback.`), t;
|
|
13211
13212
|
throw new Error(`Both layout algorithms ${e} and ${t} are not registered.`);
|
|
@@ -13631,7 +13632,7 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
13631
13632
|
return ne(r = cn(e.children, i)) ? e.return = e.value + "{" + r + "}" : "";
|
|
13632
13633
|
}
|
|
13633
13634
|
var Yu = "c4", bC = f((e) => /^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/.test(e), "detector"), CC = f(async () => {
|
|
13634
|
-
const { diagram: e } = await import("./c4Diagram-VJAJSXHY-
|
|
13635
|
+
const { diagram: e } = await import("./c4Diagram-VJAJSXHY-C7rT425g.js");
|
|
13635
13636
|
return {
|
|
13636
13637
|
id: Yu,
|
|
13637
13638
|
diagram: e
|
|
@@ -13644,7 +13645,7 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
13644
13645
|
var _a3, _b3;
|
|
13645
13646
|
return ((_a3 = t == null ? void 0 : t.flowchart) == null ? void 0 : _a3.defaultRenderer) === "dagre-wrapper" || ((_b3 = t == null ? void 0 : t.flowchart) == null ? void 0 : _b3.defaultRenderer) === "elk" ? false : /^\s*graph/.test(e);
|
|
13646
13647
|
}, "detector"), kC = f(async () => {
|
|
13647
|
-
const { diagram: e } = await import("./flowDiagram-4HSFHLVR-
|
|
13648
|
+
const { diagram: e } = await import("./flowDiagram-4HSFHLVR-BU2iqB5k.js");
|
|
13648
13649
|
return {
|
|
13649
13650
|
id: Uu,
|
|
13650
13651
|
diagram: e
|
|
@@ -13657,7 +13658,7 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
13657
13658
|
var _a3, _b3, _c3;
|
|
13658
13659
|
return ((_a3 = t == null ? void 0 : t.flowchart) == null ? void 0 : _a3.defaultRenderer) === "dagre-d3" ? false : (((_b3 = t == null ? void 0 : t.flowchart) == null ? void 0 : _b3.defaultRenderer) === "elk" && (t.layout = "elk"), /^\s*graph/.test(e) && ((_c3 = t == null ? void 0 : t.flowchart) == null ? void 0 : _c3.defaultRenderer) === "dagre-wrapper" ? true : /^\s*flowchart/.test(e));
|
|
13659
13660
|
}, "detector"), LC = f(async () => {
|
|
13660
|
-
const { diagram: e } = await import("./flowDiagram-4HSFHLVR-
|
|
13661
|
+
const { diagram: e } = await import("./flowDiagram-4HSFHLVR-BU2iqB5k.js");
|
|
13661
13662
|
return {
|
|
13662
13663
|
id: ju,
|
|
13663
13664
|
diagram: e
|
|
@@ -13667,7 +13668,7 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
13667
13668
|
detector: BC,
|
|
13668
13669
|
loader: LC
|
|
13669
13670
|
}, MC = AC, Gu = "er", EC = f((e) => /^\s*erDiagram/.test(e), "detector"), FC = f(async () => {
|
|
13670
|
-
const { diagram: e } = await import("./erDiagram-Q7BY3M3F-
|
|
13671
|
+
const { diagram: e } = await import("./erDiagram-Q7BY3M3F-BbpOxb-V.js");
|
|
13671
13672
|
return {
|
|
13672
13673
|
id: Gu,
|
|
13673
13674
|
diagram: e
|
|
@@ -13676,18 +13677,18 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
13676
13677
|
id: Gu,
|
|
13677
13678
|
detector: EC,
|
|
13678
13679
|
loader: FC
|
|
13679
|
-
}, OC = DC, Xu = "gitGraph",
|
|
13680
|
-
const { diagram: e } = await import("./gitGraphDiagram-7IBYFJ6S-
|
|
13680
|
+
}, OC = DC, Xu = "gitGraph", IC = f((e) => /^\s*gitGraph/.test(e), "detector"), $C = f(async () => {
|
|
13681
|
+
const { diagram: e } = await import("./gitGraphDiagram-7IBYFJ6S-DwwA4JtF.js");
|
|
13681
13682
|
return {
|
|
13682
13683
|
id: Xu,
|
|
13683
13684
|
diagram: e
|
|
13684
13685
|
};
|
|
13685
13686
|
}, "loader"), RC = {
|
|
13686
13687
|
id: Xu,
|
|
13687
|
-
detector:
|
|
13688
|
-
loader:
|
|
13688
|
+
detector: IC,
|
|
13689
|
+
loader: $C
|
|
13689
13690
|
}, PC = RC, Vu = "gantt", NC = f((e) => /^\s*gantt/.test(e), "detector"), WC = f(async () => {
|
|
13690
|
-
const { diagram: e } = await import("./ganttDiagram-APWFNJXF-
|
|
13691
|
+
const { diagram: e } = await import("./ganttDiagram-APWFNJXF-CRs9upQ5.js");
|
|
13691
13692
|
return {
|
|
13692
13693
|
id: Vu,
|
|
13693
13694
|
diagram: e
|
|
@@ -13697,7 +13698,7 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
13697
13698
|
detector: NC,
|
|
13698
13699
|
loader: WC
|
|
13699
13700
|
}, qC = zC, Ku = "info", HC = f((e) => /^\s*info/.test(e), "detector"), YC = f(async () => {
|
|
13700
|
-
const { diagram: e } = await import("./infoDiagram-PH2N3AL5-
|
|
13701
|
+
const { diagram: e } = await import("./infoDiagram-PH2N3AL5-1k7uGX46.js");
|
|
13701
13702
|
return {
|
|
13702
13703
|
id: Ku,
|
|
13703
13704
|
diagram: e
|
|
@@ -13707,7 +13708,7 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
13707
13708
|
detector: HC,
|
|
13708
13709
|
loader: YC
|
|
13709
13710
|
}, Zu = "pie", jC = f((e) => /^\s*pie/.test(e), "detector"), GC = f(async () => {
|
|
13710
|
-
const { diagram: e } = await import("./pieDiagram-IB7DONF6-
|
|
13711
|
+
const { diagram: e } = await import("./pieDiagram-IB7DONF6-DPhqJqsw.js");
|
|
13711
13712
|
return {
|
|
13712
13713
|
id: Zu,
|
|
13713
13714
|
diagram: e
|
|
@@ -13717,7 +13718,7 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
13717
13718
|
detector: jC,
|
|
13718
13719
|
loader: GC
|
|
13719
13720
|
}, Qu = "quadrantChart", VC = f((e) => /^\s*quadrantChart/.test(e), "detector"), KC = f(async () => {
|
|
13720
|
-
const { diagram: e } = await import("./quadrantDiagram-7GDLP6J5-
|
|
13721
|
+
const { diagram: e } = await import("./quadrantDiagram-7GDLP6J5-Cq1lOq3h.js");
|
|
13721
13722
|
return {
|
|
13722
13723
|
id: Qu,
|
|
13723
13724
|
diagram: e
|
|
@@ -13727,7 +13728,7 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
13727
13728
|
detector: VC,
|
|
13728
13729
|
loader: KC
|
|
13729
13730
|
}, QC = ZC, Ju = "xychart", JC = f((e) => /^\s*xychart-beta/.test(e), "detector"), t2 = f(async () => {
|
|
13730
|
-
const { diagram: e } = await import("./xychartDiagram-VJFVF3MP-
|
|
13731
|
+
const { diagram: e } = await import("./xychartDiagram-VJFVF3MP-BQnQ1xbv.js");
|
|
13731
13732
|
return {
|
|
13732
13733
|
id: Ju,
|
|
13733
13734
|
diagram: e
|
|
@@ -13737,7 +13738,7 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
13737
13738
|
detector: JC,
|
|
13738
13739
|
loader: t2
|
|
13739
13740
|
}, r2 = e2, td = "requirement", i2 = f((e) => /^\s*requirement(Diagram)?/.test(e), "detector"), a2 = f(async () => {
|
|
13740
|
-
const { diagram: e } = await import("./requirementDiagram-KVF5MWMF-
|
|
13741
|
+
const { diagram: e } = await import("./requirementDiagram-KVF5MWMF-B1wGIWzW.js");
|
|
13741
13742
|
return {
|
|
13742
13743
|
id: td,
|
|
13743
13744
|
diagram: e
|
|
@@ -13747,7 +13748,7 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
13747
13748
|
detector: i2,
|
|
13748
13749
|
loader: a2
|
|
13749
13750
|
}, s2 = n2, ed = "sequence", o2 = f((e) => /^\s*sequenceDiagram/.test(e), "detector"), l2 = f(async () => {
|
|
13750
|
-
const { diagram: e } = await import("./sequenceDiagram-X6HHIX6F-
|
|
13751
|
+
const { diagram: e } = await import("./sequenceDiagram-X6HHIX6F-BsMGq6wR.js");
|
|
13751
13752
|
return {
|
|
13752
13753
|
id: ed,
|
|
13753
13754
|
diagram: e
|
|
@@ -13760,7 +13761,7 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
13760
13761
|
var _a3;
|
|
13761
13762
|
return ((_a3 = t == null ? void 0 : t.class) == null ? void 0 : _a3.defaultRenderer) === "dagre-wrapper" ? false : /^\s*classDiagram/.test(e);
|
|
13762
13763
|
}, "detector"), d2 = f(async () => {
|
|
13763
|
-
const { diagram: e } = await import("./classDiagram-GIVACNV2-
|
|
13764
|
+
const { diagram: e } = await import("./classDiagram-GIVACNV2-DwYfS79-.js");
|
|
13764
13765
|
return {
|
|
13765
13766
|
id: rd,
|
|
13766
13767
|
diagram: e
|
|
@@ -13773,7 +13774,7 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
13773
13774
|
var _a3;
|
|
13774
13775
|
return /^\s*classDiagram/.test(e) && ((_a3 = t == null ? void 0 : t.class) == null ? void 0 : _a3.defaultRenderer) === "dagre-wrapper" ? true : /^\s*classDiagram-v2/.test(e);
|
|
13775
13776
|
}, "detector"), m2 = f(async () => {
|
|
13776
|
-
const { diagram: e } = await import("./classDiagram-v2-COTLJTTW-
|
|
13777
|
+
const { diagram: e } = await import("./classDiagram-v2-COTLJTTW-DwYfS79-.js");
|
|
13777
13778
|
return {
|
|
13778
13779
|
id,
|
|
13779
13780
|
diagram: e
|
|
@@ -13786,7 +13787,7 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
13786
13787
|
var _a3;
|
|
13787
13788
|
return ((_a3 = t == null ? void 0 : t.state) == null ? void 0 : _a3.defaultRenderer) === "dagre-wrapper" ? false : /^\s*stateDiagram/.test(e);
|
|
13788
13789
|
}, "detector"), C2 = f(async () => {
|
|
13789
|
-
const { diagram: e } = await import("./stateDiagram-DGXRK772-
|
|
13790
|
+
const { diagram: e } = await import("./stateDiagram-DGXRK772-CH6ODo83.js");
|
|
13790
13791
|
return {
|
|
13791
13792
|
id: ad,
|
|
13792
13793
|
diagram: e
|
|
@@ -13799,7 +13800,7 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
13799
13800
|
var _a3;
|
|
13800
13801
|
return !!(/^\s*stateDiagram-v2/.test(e) || /^\s*stateDiagram/.test(e) && ((_a3 = t == null ? void 0 : t.state) == null ? void 0 : _a3.defaultRenderer) === "dagre-wrapper");
|
|
13801
13802
|
}, "detector"), k2 = f(async () => {
|
|
13802
|
-
const { diagram: e } = await import("./stateDiagram-v2-YXO3MK2T-
|
|
13803
|
+
const { diagram: e } = await import("./stateDiagram-v2-YXO3MK2T-B2ncmTl5.js");
|
|
13803
13804
|
return {
|
|
13804
13805
|
id: nd,
|
|
13805
13806
|
diagram: e
|
|
@@ -13809,7 +13810,7 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
13809
13810
|
detector: S2,
|
|
13810
13811
|
loader: k2
|
|
13811
13812
|
}, _2 = T2, sd = "journey", B2 = f((e) => /^\s*journey/.test(e), "detector"), L2 = f(async () => {
|
|
13812
|
-
const { diagram: e } = await import("./journeyDiagram-U35MCT3I-
|
|
13813
|
+
const { diagram: e } = await import("./journeyDiagram-U35MCT3I-Dpi1JSq2.js");
|
|
13813
13814
|
return {
|
|
13814
13815
|
id: sd,
|
|
13815
13816
|
diagram: e
|
|
@@ -13832,21 +13833,21 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
13832
13833
|
parse: f(() => {
|
|
13833
13834
|
}, "parse")
|
|
13834
13835
|
}
|
|
13835
|
-
}, O2 = D2, ld = "flowchart-elk",
|
|
13836
|
+
}, O2 = D2, ld = "flowchart-elk", I2 = f((e, t = {}) => {
|
|
13836
13837
|
var _a3;
|
|
13837
13838
|
return /^\s*flowchart-elk/.test(e) || /^\s*flowchart|graph/.test(e) && ((_a3 = t == null ? void 0 : t.flowchart) == null ? void 0 : _a3.defaultRenderer) === "elk" ? (t.layout = "elk", true) : false;
|
|
13838
|
-
}, "detector"),
|
|
13839
|
-
const { diagram: e } = await import("./flowDiagram-4HSFHLVR-
|
|
13839
|
+
}, "detector"), $2 = f(async () => {
|
|
13840
|
+
const { diagram: e } = await import("./flowDiagram-4HSFHLVR-BU2iqB5k.js");
|
|
13840
13841
|
return {
|
|
13841
13842
|
id: ld,
|
|
13842
13843
|
diagram: e
|
|
13843
13844
|
};
|
|
13844
13845
|
}, "loader"), R2 = {
|
|
13845
13846
|
id: ld,
|
|
13846
|
-
detector:
|
|
13847
|
-
loader:
|
|
13847
|
+
detector: I2,
|
|
13848
|
+
loader: $2
|
|
13848
13849
|
}, P2 = R2, cd = "timeline", N2 = f((e) => /^\s*timeline/.test(e), "detector"), W2 = f(async () => {
|
|
13849
|
-
const { diagram: e } = await import("./timeline-definition-BDJGKUSR-
|
|
13850
|
+
const { diagram: e } = await import("./timeline-definition-BDJGKUSR-DwRQvUFh.js");
|
|
13850
13851
|
return {
|
|
13851
13852
|
id: cd,
|
|
13852
13853
|
diagram: e
|
|
@@ -13856,7 +13857,7 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
13856
13857
|
detector: N2,
|
|
13857
13858
|
loader: W2
|
|
13858
13859
|
}, q2 = z2, hd = "mindmap", H2 = f((e) => /^\s*mindmap/.test(e), "detector"), Y2 = f(async () => {
|
|
13859
|
-
const { diagram: e } = await import("./mindmap-definition-ALO5MXBD-
|
|
13860
|
+
const { diagram: e } = await import("./mindmap-definition-ALO5MXBD-CEOv2JKB.js");
|
|
13860
13861
|
return {
|
|
13861
13862
|
id: hd,
|
|
13862
13863
|
diagram: e
|
|
@@ -13866,7 +13867,7 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
13866
13867
|
detector: H2,
|
|
13867
13868
|
loader: Y2
|
|
13868
13869
|
}, j2 = U2, ud = "kanban", G2 = f((e) => /^\s*kanban/.test(e), "detector"), X2 = f(async () => {
|
|
13869
|
-
const { diagram: e } = await import("./kanban-definition-NDS4AKOZ-
|
|
13870
|
+
const { diagram: e } = await import("./kanban-definition-NDS4AKOZ-CKvzoLX4.js");
|
|
13870
13871
|
return {
|
|
13871
13872
|
id: ud,
|
|
13872
13873
|
diagram: e
|
|
@@ -13876,7 +13877,7 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
13876
13877
|
detector: G2,
|
|
13877
13878
|
loader: X2
|
|
13878
13879
|
}, K2 = V2, dd = "sankey", Z2 = f((e) => /^\s*sankey-beta/.test(e), "detector"), Q2 = f(async () => {
|
|
13879
|
-
const { diagram: e } = await import("./sankeyDiagram-QLVOVGJD-
|
|
13880
|
+
const { diagram: e } = await import("./sankeyDiagram-QLVOVGJD-KKLYWNHG.js");
|
|
13880
13881
|
return {
|
|
13881
13882
|
id: dd,
|
|
13882
13883
|
diagram: e
|
|
@@ -13886,7 +13887,7 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
13886
13887
|
detector: Z2,
|
|
13887
13888
|
loader: Q2
|
|
13888
13889
|
}, t1 = J2, fd = "packet", e1 = f((e) => /^\s*packet-beta/.test(e), "detector"), r1 = f(async () => {
|
|
13889
|
-
const { diagram: e } = await import("./diagram-VNBRO52H-
|
|
13890
|
+
const { diagram: e } = await import("./diagram-VNBRO52H-Fnp_GpYO.js");
|
|
13890
13891
|
return {
|
|
13891
13892
|
id: fd,
|
|
13892
13893
|
diagram: e
|
|
@@ -13896,7 +13897,7 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
13896
13897
|
detector: e1,
|
|
13897
13898
|
loader: r1
|
|
13898
13899
|
}, pd = "radar", a1 = f((e) => /^\s*radar-beta/.test(e), "detector"), n1 = f(async () => {
|
|
13899
|
-
const { diagram: e } = await import("./diagram-SSKATNLV-
|
|
13900
|
+
const { diagram: e } = await import("./diagram-SSKATNLV-BSDYZP_p.js");
|
|
13900
13901
|
return {
|
|
13901
13902
|
id: pd,
|
|
13902
13903
|
diagram: e
|
|
@@ -13906,7 +13907,7 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
13906
13907
|
detector: a1,
|
|
13907
13908
|
loader: n1
|
|
13908
13909
|
}, gd = "block", o1 = f((e) => /^\s*block-beta/.test(e), "detector"), l1 = f(async () => {
|
|
13909
|
-
const { diagram: e } = await import("./blockDiagram-JOT3LUYC-
|
|
13910
|
+
const { diagram: e } = await import("./blockDiagram-JOT3LUYC-C1Xm0XTZ.js");
|
|
13910
13911
|
return {
|
|
13911
13912
|
id: gd,
|
|
13912
13913
|
diagram: e
|
|
@@ -13916,7 +13917,7 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
13916
13917
|
detector: o1,
|
|
13917
13918
|
loader: l1
|
|
13918
13919
|
}, h1 = c1, md = "architecture", u1 = f((e) => /^\s*architecture/.test(e), "detector"), d1 = f(async () => {
|
|
13919
|
-
const { diagram: e } = await import("./architectureDiagram-IEHRJDOE-
|
|
13920
|
+
const { diagram: e } = await import("./architectureDiagram-IEHRJDOE-BKlxF7se.js");
|
|
13920
13921
|
return {
|
|
13921
13922
|
id: md,
|
|
13922
13923
|
diagram: e
|
|
@@ -13947,7 +13948,7 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
13947
13948
|
D.debug("Loading registered diagrams");
|
|
13948
13949
|
const t = (await Promise.allSettled(Object.entries(ir).map(async ([r, { detector: i, loader: a }]) => {
|
|
13949
13950
|
if (a) try {
|
|
13950
|
-
|
|
13951
|
+
Ia(r);
|
|
13951
13952
|
} catch {
|
|
13952
13953
|
try {
|
|
13953
13954
|
const { diagram: n, id: o } = await a();
|
|
@@ -13990,14 +13991,14 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
13990
13991
|
t = Dx(t) + `
|
|
13991
13992
|
`;
|
|
13992
13993
|
try {
|
|
13993
|
-
|
|
13994
|
+
Ia(a);
|
|
13994
13995
|
} catch {
|
|
13995
13996
|
const c = ip(a);
|
|
13996
13997
|
if (!c) throw new Mo(`Diagram ${a} not found.`);
|
|
13997
13998
|
const { id: h, diagram: u } = await c();
|
|
13998
13999
|
_i(h, u);
|
|
13999
14000
|
}
|
|
14000
|
-
const { db: n, parser: o, renderer: s, init: l } =
|
|
14001
|
+
const { db: n, parser: o, renderer: s, init: l } = Ia(a);
|
|
14001
14002
|
return o.parser && (o.parser.yy = n), (_a3 = n.clear) == null ? void 0 : _a3.call(n), l == null ? void 0 : l(i), r.title && ((_b3 = n.setDiagramTitle) == null ? void 0 : _b3.call(n, r.title)), await o.parse(t), new _i2(a, t, n, o, s);
|
|
14002
14003
|
}
|
|
14003
14004
|
async render(t, r) {
|
|
@@ -14060,9 +14061,9 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
14060
14061
|
return btoa(r);
|
|
14061
14062
|
}
|
|
14062
14063
|
f(vd, "toBase64");
|
|
14063
|
-
var w1 = 5e4, S1 = "graph TB;a[Maximum text size in diagram exceeded];style a fill:#faa", k1 = "sandbox", T1 = "loose", _1 = "http://www.w3.org/2000/svg", B1 = "http://www.w3.org/1999/xlink", L1 = "http://www.w3.org/1999/xhtml", A1 = "100%", M1 = "100%", E1 = "border:0;margin:0;", F1 = "margin:0", D1 = "allow-top-navigation-by-user-activation allow-popups", O1 = 'The "iframe" tag is not supported by your browser.',
|
|
14064
|
+
var w1 = 5e4, S1 = "graph TB;a[Maximum text size in diagram exceeded];style a fill:#faa", k1 = "sandbox", T1 = "loose", _1 = "http://www.w3.org/2000/svg", B1 = "http://www.w3.org/1999/xlink", L1 = "http://www.w3.org/1999/xhtml", A1 = "100%", M1 = "100%", E1 = "border:0;margin:0;", F1 = "margin:0", D1 = "allow-top-navigation-by-user-activation allow-popups", O1 = 'The "iframe" tag is not supported by your browser.', I1 = [
|
|
14064
14065
|
"foreignobject"
|
|
14065
|
-
],
|
|
14066
|
+
], $1 = [
|
|
14066
14067
|
"dominant-baseline"
|
|
14067
14068
|
];
|
|
14068
14069
|
function Gn(e) {
|
|
@@ -14176,15 +14177,15 @@ ${e.themeCSS}`), e.fontFamily !== void 0 && (r += `
|
|
|
14176
14177
|
} catch (W) {
|
|
14177
14178
|
throw a.suppressErrorRendering ? h() : F2.draw(t, e, to.version), W;
|
|
14178
14179
|
}
|
|
14179
|
-
const
|
|
14180
|
-
Td(b,
|
|
14180
|
+
const I = u.select(`${c} svg`), $ = (_d3 = (_c3 = m.db).getAccTitle) == null ? void 0 : _d3.call(_c3), O = (_f3 = (_e3 = m.db).getAccDescription) == null ? void 0 : _f3.call(_e3);
|
|
14181
|
+
Td(b, I, $, O), u.select(`[id="${e}"]`).selectAll("foreignobject > *").attr("xmlns", L1);
|
|
14181
14182
|
let B = u.select(c).node().innerHTML;
|
|
14182
14183
|
if (D.debug("config.arrowMarkerAbsolute", a.arrowMarkerAbsolute), B = N1(B, p, xt(a.arrowMarkerAbsolute)), p) {
|
|
14183
14184
|
const W = u.select(c + " svg").node();
|
|
14184
14185
|
B = W1(B, W);
|
|
14185
14186
|
} else d || (B = rr.sanitize(B, {
|
|
14186
|
-
ADD_TAGS:
|
|
14187
|
-
ADD_ATTR:
|
|
14187
|
+
ADD_TAGS: I1,
|
|
14188
|
+
ADD_ATTR: $1,
|
|
14188
14189
|
HTML_INTEGRATION_POINTS: {
|
|
14189
14190
|
foreignobject: true
|
|
14190
14191
|
}
|
|
@@ -14396,7 +14397,7 @@ ${e.themeCSS}`), e.fontFamily !== void 0 && (r += `
|
|
|
14396
14397
|
}, () => e[Math.floor(Math.random() * e.length)]).join("");
|
|
14397
14398
|
}
|
|
14398
14399
|
const Z1 = (e) => {
|
|
14399
|
-
const t =
|
|
14400
|
+
const t = Vd.c(9), { diagram: r } = e, [i] = Kd.useState(Q1), a = Zd().theme === "dark";
|
|
14400
14401
|
oo.initialize({
|
|
14401
14402
|
...V1,
|
|
14402
14403
|
theme: a ? "dark" : "forest",
|
|
@@ -14405,7 +14406,7 @@ ${e.themeCSS}`), e.fontFamily !== void 0 && (r += `
|
|
|
14405
14406
|
let n;
|
|
14406
14407
|
t[0] !== r || t[1] !== i ? (n = async () => (await oo.render(i, r, void 0).catch((h) => {
|
|
14407
14408
|
var _a3;
|
|
14408
|
-
throw (_a3 = document.getElementById(i)) == null ? void 0 : _a3.remove(),
|
|
14409
|
+
throw (_a3 = document.getElementById(i)) == null ? void 0 : _a3.remove(), Jd.warn("Failed to render mermaid diagram", h), h;
|
|
14409
14410
|
})).svg, t[0] = r, t[1] = i, t[2] = n) : n = t[2];
|
|
14410
14411
|
let o;
|
|
14411
14412
|
t[3] !== a || t[4] !== r || t[5] !== i ? (o = [
|
|
@@ -14413,10 +14414,10 @@ ${e.themeCSS}`), e.fontFamily !== void 0 && (r += `
|
|
|
14413
14414
|
i,
|
|
14414
14415
|
a
|
|
14415
14416
|
], t[3] = a, t[4] = r, t[5] = i, t[6] = o) : o = t[6];
|
|
14416
|
-
const { data: s } =
|
|
14417
|
+
const { data: s } = Qd(n, o);
|
|
14417
14418
|
if (!s) return null;
|
|
14418
14419
|
let l;
|
|
14419
|
-
return t[7] !== s ? (l =
|
|
14420
|
+
return t[7] !== s ? (l = tf.jsx("div", {
|
|
14420
14421
|
dangerouslySetInnerHTML: {
|
|
14421
14422
|
__html: s
|
|
14422
14423
|
}
|
|
@@ -14425,7 +14426,7 @@ ${e.themeCSS}`), e.fontFamily !== void 0 && (r += `
|
|
|
14425
14426
|
function Q1() {
|
|
14426
14427
|
return K1();
|
|
14427
14428
|
}
|
|
14428
|
-
|
|
14429
|
+
dv = Object.freeze(Object.defineProperty({
|
|
14429
14430
|
__proto__: null,
|
|
14430
14431
|
default: Z1
|
|
14431
14432
|
}, Symbol.toStringTag, {
|
|
@@ -14434,26 +14435,26 @@ ${e.themeCSS}`), e.fontFamily !== void 0 && (r += `
|
|
|
14434
14435
|
});
|
|
14435
14436
|
export {
|
|
14436
14437
|
ob as $,
|
|
14437
|
-
|
|
14438
|
+
iv as A,
|
|
14438
14439
|
Or as B,
|
|
14439
14440
|
oe as C,
|
|
14440
14441
|
ep as D,
|
|
14441
14442
|
Gp as E,
|
|
14442
14443
|
Pn as F,
|
|
14443
14444
|
zt as G,
|
|
14444
|
-
|
|
14445
|
+
Io as H,
|
|
14445
14446
|
Tx as I,
|
|
14446
14447
|
em as J,
|
|
14447
14448
|
eC as K,
|
|
14448
14449
|
to as L,
|
|
14449
14450
|
cp as M,
|
|
14450
14451
|
sr as N,
|
|
14451
|
-
|
|
14452
|
+
ev as O,
|
|
14452
14453
|
Zi as P,
|
|
14453
14454
|
gn as Q,
|
|
14454
14455
|
Ls as R,
|
|
14455
14456
|
kx as S,
|
|
14456
|
-
|
|
14457
|
+
Ip as T,
|
|
14457
14458
|
rt as U,
|
|
14458
14459
|
Hr as V,
|
|
14459
14460
|
H as W,
|
|
@@ -14463,8 +14464,8 @@ export {
|
|
|
14463
14464
|
f as _,
|
|
14464
14465
|
__tla,
|
|
14465
14466
|
zp as a,
|
|
14466
|
-
|
|
14467
|
-
|
|
14467
|
+
Iu as a0,
|
|
14468
|
+
lv as a1,
|
|
14468
14469
|
im as a2,
|
|
14469
14470
|
xt as a3,
|
|
14470
14471
|
Fe as a4,
|
|
@@ -14475,11 +14476,11 @@ export {
|
|
|
14475
14476
|
Ox as a9,
|
|
14476
14477
|
ps as aa,
|
|
14477
14478
|
Qb as ab,
|
|
14478
|
-
|
|
14479
|
-
|
|
14480
|
-
|
|
14479
|
+
ov as ac,
|
|
14480
|
+
cv as ad,
|
|
14481
|
+
nv as ae,
|
|
14481
14482
|
X as af,
|
|
14482
|
-
|
|
14483
|
+
sv as ag,
|
|
14483
14484
|
Ob as ah,
|
|
14484
14485
|
Mb as ai,
|
|
14485
14486
|
Ab as aj,
|
|
@@ -14487,7 +14488,7 @@ export {
|
|
|
14487
14488
|
Tm as al,
|
|
14488
14489
|
km as am,
|
|
14489
14490
|
_f as an,
|
|
14490
|
-
|
|
14491
|
+
dv as ao,
|
|
14491
14492
|
Wp as b,
|
|
14492
14493
|
ht as c,
|
|
14493
14494
|
lt as d,
|
|
@@ -14501,16 +14502,16 @@ export {
|
|
|
14501
14502
|
D as l,
|
|
14502
14503
|
Qc as m,
|
|
14503
14504
|
Yr as n,
|
|
14504
|
-
|
|
14505
|
-
|
|
14505
|
+
rv as o,
|
|
14506
|
+
uv as p,
|
|
14506
14507
|
Yp as q,
|
|
14507
|
-
|
|
14508
|
+
hv as r,
|
|
14508
14509
|
qp as s,
|
|
14509
14510
|
Up as t,
|
|
14510
14511
|
se as u,
|
|
14511
14512
|
rm as v,
|
|
14512
14513
|
Lx as w,
|
|
14513
14514
|
_b as x,
|
|
14514
|
-
|
|
14515
|
+
av as y,
|
|
14515
14516
|
Np as z
|
|
14516
14517
|
};
|