@marimo-team/islands 0.13.16-dev7 → 0.13.16-dev72
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-Br_N2qQo.js → ConnectedDataExplorerComponent-HTsSVm1s.js} +2 -2
- package/dist/ImageComparisonComponent-DsCj0UQq.js +248 -0
- package/dist/{VegaLite-D1rgOjtk.js → VegaLite-vOxXQ0cF.js} +3 -3
- package/dist/{_baseUniq-DchUvbQO.js → _baseUniq-Ofc0UoKp.js} +1 -1
- package/dist/{any-language-editor-CuMaz3kA.js → any-language-editor-C8iZjZ6n.js} +11 -11
- package/dist/{architectureDiagram-IEHRJDOE-D7w4tqg_.js → architectureDiagram-IEHRJDOE-B7XIh0hF.js} +5 -5
- package/dist/{blockDiagram-JOT3LUYC-C7hZZhIB.js → blockDiagram-JOT3LUYC-D-rpQPox.js} +4 -4
- package/dist/{c4Diagram-VJAJSXHY-81lTWFrL.js → c4Diagram-VJAJSXHY-DDeShbdo.js} +2 -2
- package/dist/{channel-CLYHMS3K.js → channel-BzgBfTTn.js} +1 -1
- package/dist/{chunk-4BMEZGHF-0KAqPJG9.js → chunk-4BMEZGHF-BFcTeiKp.js} +1 -1
- package/dist/{chunk-A2AXSNBT-CayeE08n.js → chunk-A2AXSNBT-BmsxdW_0.js} +2 -2
- package/dist/{chunk-AEK57VVT-Dr_kxtQR.js → chunk-AEK57VVT-BZQzzIyM.js} +2 -2
- package/dist/{chunk-D6G4REZN-BfagQpiT.js → chunk-D6G4REZN-PX0XjtBz.js} +1 -1
- package/dist/{chunk-RZ5BOZE2-lowT2yBF.js → chunk-RZ5BOZE2-Br58wUiP.js} +1 -1
- package/dist/{chunk-XZIHB7SX-KH3p_DLD.js → chunk-XZIHB7SX-C-XVpktD.js} +1 -1
- package/dist/{classDiagram-GIVACNV2-161TUpFb.js → classDiagram-GIVACNV2-IWnxgzZX.js} +2 -2
- package/dist/{classDiagram-v2-COTLJTTW-161TUpFb.js → classDiagram-v2-COTLJTTW-IWnxgzZX.js} +2 -2
- package/dist/{clone-yBNxe4Mm.js → clone-COWBa2E2.js} +1 -1
- package/dist/{dagre-OKDRZEBW-NwUJ1LJt.js → dagre-OKDRZEBW-Cf4E0tcQ.js} +6 -6
- package/dist/{data-editor-w49R5e6U.js → data-editor-B1WtZk4B.js} +1 -1
- package/dist/{diagram-SSKATNLV-CpA8d1ny.js → diagram-SSKATNLV-CBAcMU3S.js} +3 -3
- package/dist/{diagram-VNBRO52H-DJsc7wsO.js → diagram-VNBRO52H-CbmTF2Lb.js} +3 -3
- package/dist/{erDiagram-Q7BY3M3F-CRDQauHs.js → erDiagram-Q7BY3M3F-BM8EIf4Y.js} +3 -3
- package/dist/{flowDiagram-4HSFHLVR-DDcPMj3o.js → flowDiagram-4HSFHLVR-B8eWGv_4.js} +3 -3
- package/dist/{ganttDiagram-APWFNJXF-DLtTiWDk.js → ganttDiagram-APWFNJXF-CfT00QX5.js} +4 -4
- package/dist/{gitGraphDiagram-7IBYFJ6S-DTsq_Zr9.js → gitGraphDiagram-7IBYFJ6S-Bn0xSVuH.js} +4 -4
- package/dist/{graph-1efhytjp.js → graph-B7vZvlV7.js} +3 -3
- package/dist/{index-DQrQ0cXk.js → index-Ca3EqwkI.js} +1 -1
- package/dist/{index-DYFwEDIL.js → index-CtH2Y4LW.js} +1 -1
- package/dist/{index-BTNBDTY1.js → index-DK994NlV.js} +15 -15
- package/dist/{index-BWGdRKAi.js → index-DWU1MwUt.js} +3 -3
- package/dist/{infoDiagram-PH2N3AL5-CITa5S7X.js → infoDiagram-PH2N3AL5-C5U9bK5k.js} +2 -2
- package/dist/{journeyDiagram-U35MCT3I-uOKnLdMw.js → journeyDiagram-U35MCT3I-8QQwJhFO.js} +2 -2
- package/dist/{kanban-definition-NDS4AKOZ-8Vfh04A-.js → kanban-definition-NDS4AKOZ-BxbVxsko.js} +1 -1
- package/dist/{layout-2o7UHscy.js → layout-DhYYD7-g.js} +4 -4
- package/dist/{linear-D9X46KF3.js → linear-DzwKwPf_.js} +1 -1
- package/dist/{main-KreAF7IH.js → main-CNiZGxzM.js} +56760 -58509
- package/dist/main.js +1 -1
- package/dist/{mermaid-BCdOCDir.js → mermaid-DvlS9Pj7.js} +274 -274
- package/dist/{min-eqAyYwgC.js → min-CTtIOQNV.js} +2 -2
- package/dist/{mindmap-definition-ALO5MXBD-Cns8C5Vx.js → mindmap-definition-ALO5MXBD-BsVojdHv.js} +2 -2
- package/dist/{pieDiagram-IB7DONF6-CNZ_pw-q.js → pieDiagram-IB7DONF6-DR2TqAzZ.js} +3 -3
- package/dist/{quadrantDiagram-7GDLP6J5-CRy5QJqO.js → quadrantDiagram-7GDLP6J5-C7NFvJc5.js} +2 -2
- package/dist/{radar-MK3ICKWK-jNPRkQlv.js → radar-MK3ICKWK-Bg2PRwTT.js} +5 -5
- package/dist/{react-plotly-BSBFFv49.js → react-plotly-CU6bV29P.js} +1 -1
- package/dist/{requirementDiagram-KVF5MWMF-CFUN-fNP.js → requirementDiagram-KVF5MWMF-DJ7y1kYn.js} +2 -2
- package/dist/{sankeyDiagram-QLVOVGJD-Be3c5-Gl.js → sankeyDiagram-QLVOVGJD-Dh42Pp3-.js} +1 -1
- package/dist/{sequenceDiagram-X6HHIX6F-CYWmHo4p.js → sequenceDiagram-X6HHIX6F-B6nSDBKh.js} +3 -3
- package/dist/{slides-component-DZHMNKCG.js → slides-component-qZr52JGM.js} +1 -1
- package/dist/{stateDiagram-DGXRK772-BBeUl7GJ.js → stateDiagram-DGXRK772-Rwc63b-i.js} +4 -4
- package/dist/{stateDiagram-v2-YXO3MK2T-DkoFyaLo.js → stateDiagram-v2-YXO3MK2T-C8v91yes.js} +2 -2
- package/dist/style.css +1 -1
- package/dist/{time-C5d8N-Rr.js → time-CHz8dPPf.js} +2 -2
- package/dist/{timeline-definition-BDJGKUSR-BhI8BpS9.js → timeline-definition-BDJGKUSR--pcHIBui.js} +1 -1
- package/dist/{vega-component-CFZSb416.js → vega-component-gliaFXOp.js} +3 -3
- package/dist/{xychartDiagram-VJFVF3MP-CKjTgwki.js → xychartDiagram-VJFVF3MP-Ct-XemVt.js} +2 -2
- package/package.json +19 -20
|
@@ -1,6 +1,6 @@
|
|
|
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,
|
|
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, W as Qd, L as Jd, j as tf, __tla as __tla_0 } from "./main-CNiZGxzM.js";
|
|
2
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,
|
|
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;
|
|
4
4
|
let __tla = Promise.all([
|
|
5
5
|
(() => {
|
|
6
6
|
try {
|
|
@@ -121,9 +121,9 @@ let __tla = Promise.all([
|
|
|
121
121
|
}
|
|
122
122
|
}, k = "en", L = {};
|
|
123
123
|
L[k] = b;
|
|
124
|
-
var T = "$isDayjsObject",
|
|
124
|
+
var T = "$isDayjsObject", I = function(E) {
|
|
125
125
|
return E instanceof W || !(!E || !E[T]);
|
|
126
|
-
},
|
|
126
|
+
}, $ = function E(M, _, F) {
|
|
127
127
|
var A;
|
|
128
128
|
if (!M) return k;
|
|
129
129
|
if (typeof M == "string") {
|
|
@@ -137,11 +137,11 @@ let __tla = Promise.all([
|
|
|
137
137
|
}
|
|
138
138
|
return !F && A && (k = A), A || !F && k;
|
|
139
139
|
}, O = function(E, M) {
|
|
140
|
-
if (
|
|
140
|
+
if (I(E)) return E.clone();
|
|
141
141
|
var _ = typeof M == "object" ? M : {};
|
|
142
142
|
return _.date = E, _.args = arguments, new W(_);
|
|
143
143
|
}, B = S;
|
|
144
|
-
B.l =
|
|
144
|
+
B.l = $, B.i = I, B.w = function(E, M) {
|
|
145
145
|
return O(E, {
|
|
146
146
|
locale: M.$L,
|
|
147
147
|
utc: M.$u,
|
|
@@ -151,7 +151,7 @@ let __tla = Promise.all([
|
|
|
151
151
|
};
|
|
152
152
|
var W = function() {
|
|
153
153
|
function E(_) {
|
|
154
|
-
this.$L =
|
|
154
|
+
this.$L = $(_.locale, null, true), this.parse(_), this.$x = this.$x || _.x || {}, this[T] = true;
|
|
155
155
|
}
|
|
156
156
|
var M = E.prototype;
|
|
157
157
|
return M.parse = function(_) {
|
|
@@ -361,7 +361,7 @@ let __tla = Promise.all([
|
|
|
361
361
|
return L[this.$L];
|
|
362
362
|
}, M.locale = function(_, F) {
|
|
363
363
|
if (!_) return this.$L;
|
|
364
|
-
var A = this.clone(), N =
|
|
364
|
+
var A = this.clone(), N = $(_, F, true);
|
|
365
365
|
return N && (A.$L = N), A;
|
|
366
366
|
}, M.clone = function() {
|
|
367
367
|
return B.w(this.$d, this);
|
|
@@ -414,7 +414,7 @@ let __tla = Promise.all([
|
|
|
414
414
|
};
|
|
415
415
|
}), O.extend = function(E, M) {
|
|
416
416
|
return E.$i || (E(M, W, O), E.$i = true), O;
|
|
417
|
-
}, O.locale =
|
|
417
|
+
}, O.locale = $, O.isDayjs = I, O.unix = function(E) {
|
|
418
418
|
return O(1e3 * E);
|
|
419
419
|
}, O.en = L[k], O.Ls = L, O.p = {}, O;
|
|
420
420
|
});
|
|
@@ -892,9 +892,9 @@ let __tla = Promise.all([
|
|
|
892
892
|
const r = oe.parse(e);
|
|
893
893
|
return r.r = 255 - r.r, r.g = 255 - r.g, r.b = 255 - r.b, Df(r, e, t);
|
|
894
894
|
};
|
|
895
|
-
const { entries: So, setPrototypeOf: ys, isFrozen: Of, getPrototypeOf:
|
|
896
|
-
let { freeze:
|
|
897
|
-
|
|
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) {
|
|
898
898
|
return t;
|
|
899
899
|
});
|
|
900
900
|
Xt || (Xt = function(t) {
|
|
@@ -906,8 +906,8 @@ let __tla = Promise.all([
|
|
|
906
906
|
Ea || (Ea = function(t, r) {
|
|
907
907
|
return new t(...r);
|
|
908
908
|
});
|
|
909
|
-
const ri =
|
|
910
|
-
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) {
|
|
911
911
|
return function(t) {
|
|
912
912
|
for (var r = arguments.length, i = new Array(r > 1 ? r - 1 : 0), a = 1; a < r; a++) i[a - 1] = arguments[a];
|
|
913
913
|
return Ma(e, t, i);
|
|
@@ -937,26 +937,26 @@ let __tla = Promise.all([
|
|
|
937
937
|
for (let t = 0; t < e.length; t++) Qt(e, t) || (e[t] = null);
|
|
938
938
|
return e;
|
|
939
939
|
}
|
|
940
|
-
function
|
|
940
|
+
function Ie(e) {
|
|
941
941
|
const t = ko(null);
|
|
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] =
|
|
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);
|
|
943
943
|
return t;
|
|
944
944
|
}
|
|
945
945
|
function wr(e, t) {
|
|
946
946
|
for (; e !== null; ) {
|
|
947
|
-
const i =
|
|
947
|
+
const i = $f(e, t);
|
|
948
948
|
if (i) {
|
|
949
|
-
if (i.get) return
|
|
950
|
-
if (typeof i.value == "function") return
|
|
949
|
+
if (i.get) return $t(i.get);
|
|
950
|
+
if (typeof i.value == "function") return $t(i.value);
|
|
951
951
|
}
|
|
952
|
-
e =
|
|
952
|
+
e = If(e);
|
|
953
953
|
}
|
|
954
954
|
function r() {
|
|
955
955
|
return null;
|
|
956
956
|
}
|
|
957
957
|
return r;
|
|
958
958
|
}
|
|
959
|
-
const Cs =
|
|
959
|
+
const Cs = It([
|
|
960
960
|
"a",
|
|
961
961
|
"abbr",
|
|
962
962
|
"acronym",
|
|
@@ -1074,7 +1074,7 @@ let __tla = Promise.all([
|
|
|
1074
1074
|
"var",
|
|
1075
1075
|
"video",
|
|
1076
1076
|
"wbr"
|
|
1077
|
-
]), pa =
|
|
1077
|
+
]), pa = It([
|
|
1078
1078
|
"svg",
|
|
1079
1079
|
"a",
|
|
1080
1080
|
"altglyph",
|
|
@@ -1118,7 +1118,7 @@ let __tla = Promise.all([
|
|
|
1118
1118
|
"tspan",
|
|
1119
1119
|
"view",
|
|
1120
1120
|
"vkern"
|
|
1121
|
-
]), ga =
|
|
1121
|
+
]), ga = It([
|
|
1122
1122
|
"feBlend",
|
|
1123
1123
|
"feColorMatrix",
|
|
1124
1124
|
"feComponentTransfer",
|
|
@@ -1144,7 +1144,7 @@ let __tla = Promise.all([
|
|
|
1144
1144
|
"feSpotLight",
|
|
1145
1145
|
"feTile",
|
|
1146
1146
|
"feTurbulence"
|
|
1147
|
-
]), Hf =
|
|
1147
|
+
]), Hf = It([
|
|
1148
1148
|
"animate",
|
|
1149
1149
|
"color-profile",
|
|
1150
1150
|
"cursor",
|
|
@@ -1167,7 +1167,7 @@ let __tla = Promise.all([
|
|
|
1167
1167
|
"solidcolor",
|
|
1168
1168
|
"unknown",
|
|
1169
1169
|
"use"
|
|
1170
|
-
]), ma =
|
|
1170
|
+
]), ma = It([
|
|
1171
1171
|
"math",
|
|
1172
1172
|
"menclose",
|
|
1173
1173
|
"merror",
|
|
@@ -1198,7 +1198,7 @@ let __tla = Promise.all([
|
|
|
1198
1198
|
"munder",
|
|
1199
1199
|
"munderover",
|
|
1200
1200
|
"mprescripts"
|
|
1201
|
-
]), Yf =
|
|
1201
|
+
]), Yf = It([
|
|
1202
1202
|
"maction",
|
|
1203
1203
|
"maligngroup",
|
|
1204
1204
|
"malignmark",
|
|
@@ -1214,9 +1214,9 @@ let __tla = Promise.all([
|
|
|
1214
1214
|
"annotation-xml",
|
|
1215
1215
|
"mprescripts",
|
|
1216
1216
|
"none"
|
|
1217
|
-
]), vs =
|
|
1217
|
+
]), vs = It([
|
|
1218
1218
|
"#text"
|
|
1219
|
-
]), ws =
|
|
1219
|
+
]), ws = It([
|
|
1220
1220
|
"accept",
|
|
1221
1221
|
"action",
|
|
1222
1222
|
"align",
|
|
@@ -1330,7 +1330,7 @@ let __tla = Promise.all([
|
|
|
1330
1330
|
"wrap",
|
|
1331
1331
|
"xmlns",
|
|
1332
1332
|
"slot"
|
|
1333
|
-
]), ya =
|
|
1333
|
+
]), ya = It([
|
|
1334
1334
|
"accent-height",
|
|
1335
1335
|
"accumulate",
|
|
1336
1336
|
"additive",
|
|
@@ -1518,7 +1518,7 @@ let __tla = Promise.all([
|
|
|
1518
1518
|
"y2",
|
|
1519
1519
|
"z",
|
|
1520
1520
|
"zoomandpan"
|
|
1521
|
-
]), Ss =
|
|
1521
|
+
]), Ss = It([
|
|
1522
1522
|
"accent",
|
|
1523
1523
|
"accentunder",
|
|
1524
1524
|
"align",
|
|
@@ -1572,7 +1572,7 @@ let __tla = Promise.all([
|
|
|
1572
1572
|
"voffset",
|
|
1573
1573
|
"width",
|
|
1574
1574
|
"xmlns"
|
|
1575
|
-
]), ii =
|
|
1575
|
+
]), ii = It([
|
|
1576
1576
|
"xlink:href",
|
|
1577
1577
|
"xml:id",
|
|
1578
1578
|
"xlink:title",
|
|
@@ -1642,7 +1642,7 @@ let __tla = Promise.all([
|
|
|
1642
1642
|
Q.content && Q.content.ownerDocument && (r = Q.content.ownerDocument);
|
|
1643
1643
|
}
|
|
1644
1644
|
let S, k = "";
|
|
1645
|
-
const { implementation: L, createNodeIterator: T, createDocumentFragment:
|
|
1645
|
+
const { implementation: L, createNodeIterator: T, createDocumentFragment: I, getElementsByTagName: $ } = r, { importNode: O } = i;
|
|
1646
1646
|
let B = Ts();
|
|
1647
1647
|
t.isSupported = typeof So == "function" && typeof C == "function" && L && L.createHTMLDocument !== void 0;
|
|
1648
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;
|
|
@@ -1762,14 +1762,14 @@ let __tla = Promise.all([
|
|
|
1762
1762
|
const Od = [
|
|
1763
1763
|
"application/xhtml+xml",
|
|
1764
1764
|
"text/html"
|
|
1765
|
-
],
|
|
1765
|
+
], Id = "text/html";
|
|
1766
1766
|
let bt = null, Ve = null;
|
|
1767
|
-
const
|
|
1767
|
+
const $d = r.createElement("form"), ts = function(v) {
|
|
1768
1768
|
return v instanceof RegExp || v instanceof Function;
|
|
1769
1769
|
}, ua = function() {
|
|
1770
1770
|
let v = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
1771
1771
|
if (!(Ve && Ve === v)) {
|
|
1772
|
-
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, [
|
|
1773
1773
|
"html",
|
|
1774
1774
|
"head",
|
|
1775
1775
|
"body"
|
|
@@ -1780,7 +1780,7 @@ let __tla = Promise.all([
|
|
|
1780
1780
|
if (typeof v.TRUSTED_TYPES_POLICY.createScriptURL != "function") throw vr('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
|
|
1781
1781
|
S = v.TRUSTED_TYPES_POLICY, k = S.createHTML("");
|
|
1782
1782
|
} else S === void 0 && (S = tp(d, a)), S !== null && typeof k == "string" && (k = S.createHTML(""));
|
|
1783
|
-
|
|
1783
|
+
It && It(v), Ve = v;
|
|
1784
1784
|
}
|
|
1785
1785
|
}, es = ot({}, [
|
|
1786
1786
|
...pa,
|
|
@@ -1847,7 +1847,7 @@ let __tla = Promise.all([
|
|
|
1847
1847
|
}
|
|
1848
1848
|
}
|
|
1849
1849
|
const Tt = R.body || R.documentElement;
|
|
1850
|
-
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;
|
|
1851
1851
|
}, as = function(v) {
|
|
1852
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);
|
|
1853
1853
|
}, da = function(v) {
|
|
@@ -1892,7 +1892,7 @@ let __tla = Promise.all([
|
|
|
1892
1892
|
element: v.cloneNode()
|
|
1893
1893
|
}), v.textContent = R)), ue(B.afterSanitizeElements, v, null), false);
|
|
1894
1894
|
}, os = function(v, R, j) {
|
|
1895
|
-
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;
|
|
1896
1896
|
if (!(Kt && !At[R] && Et(M, R))) {
|
|
1897
1897
|
if (!(ke && Et(_, R))) {
|
|
1898
1898
|
if (!at[R] || At[R]) {
|
|
@@ -1988,7 +1988,7 @@ let __tla = Promise.all([
|
|
|
1988
1988
|
for (; dt = vt.nextNode(); ) ss(dt), cs(dt), dt.content instanceof n && Pd(dt.content);
|
|
1989
1989
|
if (mr) return Q;
|
|
1990
1990
|
if (Ue) {
|
|
1991
|
-
if (Vr) for (Tt =
|
|
1991
|
+
if (Vr) for (Tt = I.call(R.ownerDocument); R.firstChild; ) Tt.appendChild(R.firstChild);
|
|
1992
1992
|
else Tt = R;
|
|
1993
1993
|
return (at.shadowroot || at.shadowrootmode) && (Tt = O.call(i, Tt, true)), Tt;
|
|
1994
1994
|
}
|
|
@@ -2024,7 +2024,7 @@ let __tla = Promise.all([
|
|
|
2024
2024
|
B = Ts();
|
|
2025
2025
|
}, t;
|
|
2026
2026
|
}
|
|
2027
|
-
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;
|
|
2028
2028
|
rr = Bo();
|
|
2029
2029
|
Lo = Object.defineProperty;
|
|
2030
2030
|
f = (e, t) => Lo(e, "name", {
|
|
@@ -2071,7 +2071,7 @@ let __tla = Promise.all([
|
|
|
2071
2071
|
}, "setLogLevel");
|
|
2072
2072
|
jt = f((e) => `%c${_f().format("ss.SSS")} : ${e} : `, "format");
|
|
2073
2073
|
Ao = /^-{3}\s*[\n\r](.*?)[\n\r]-{3}\s*[\n\r]+/s;
|
|
2074
|
-
|
|
2074
|
+
Ir = /%{2}{\s*(?:(\w+)\s*:|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi;
|
|
2075
2075
|
rp = /\s*%%.*\n/gm;
|
|
2076
2076
|
Mo = (_a2 = class extends Error {
|
|
2077
2077
|
constructor(e) {
|
|
@@ -2080,7 +2080,7 @@ let __tla = Promise.all([
|
|
|
2080
2080
|
}, f(_a2, "UnknownDiagramError"), _a2);
|
|
2081
2081
|
ir = {};
|
|
2082
2082
|
pn = f(function(e, t) {
|
|
2083
|
-
e = e.replace(Ao, "").replace(
|
|
2083
|
+
e = e.replace(Ao, "").replace(Ir, "").replace(rp, `
|
|
2084
2084
|
`);
|
|
2085
2085
|
for (const [r, { detector: i }] of Object.entries(ir)) if (i(e, t)) return r;
|
|
2086
2086
|
throw new Mo(`No diagram type detected matching given configuration for text: ${e}`);
|
|
@@ -3572,7 +3572,7 @@ let __tla = Promise.all([
|
|
|
3572
3572
|
t + i
|
|
3573
3573
|
], []), "keyify");
|
|
3574
3574
|
pp = new Set(Oo(Do, ""));
|
|
3575
|
-
|
|
3575
|
+
Io = Do;
|
|
3576
3576
|
Si = f((e) => {
|
|
3577
3577
|
if (D.debug("sanitizeDirective called with", e), !(typeof e != "object" || e == null)) {
|
|
3578
3578
|
if (Array.isArray(e)) {
|
|
@@ -3610,27 +3610,27 @@ let __tla = Promise.all([
|
|
|
3610
3610
|
}
|
|
3611
3611
|
return t !== r ? "{ /* ERROR: Unbalanced CSS */ }" : e;
|
|
3612
3612
|
}, "sanitizeCss");
|
|
3613
|
-
ar = Object.freeze(
|
|
3613
|
+
ar = Object.freeze(Io);
|
|
3614
3614
|
Nt = kt({}, ar);
|
|
3615
3615
|
nr = [];
|
|
3616
|
-
|
|
3616
|
+
$r = kt({}, ar);
|
|
3617
3617
|
Ui = f((e, t) => {
|
|
3618
3618
|
let r = kt({}, e), i = {};
|
|
3619
3619
|
for (const a of t) No(a), i = kt(i, a);
|
|
3620
3620
|
if (r = kt(r, i), i.theme && i.theme in ye) {
|
|
3621
|
-
const a = kt({},
|
|
3621
|
+
const a = kt({}, $o), n = kt(a.themeVariables || {}, i.themeVariables);
|
|
3622
3622
|
r.theme && r.theme in ye && (r.themeVariables = ye[r.theme].getThemeVariables(n));
|
|
3623
3623
|
}
|
|
3624
|
-
return
|
|
3624
|
+
return $r = r, Wo($r), $r;
|
|
3625
3625
|
}, "updateCurrentConfig");
|
|
3626
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");
|
|
3627
3627
|
yp = f((e) => {
|
|
3628
|
-
|
|
3628
|
+
$o = kt({}, e);
|
|
3629
3629
|
}, "saveConfigFromInitialize");
|
|
3630
3630
|
xp = f((e) => (Nt = kt(Nt, e), Ui(Nt, nr), Nt), "updateSiteConfig");
|
|
3631
3631
|
Ro = f(() => kt({}, Nt), "getSiteConfig");
|
|
3632
|
-
Po = f((e) => (Wo(e), kt(
|
|
3633
|
-
zt = f(() => kt({},
|
|
3632
|
+
Po = f((e) => (Wo(e), kt($r, e), zt()), "setConfig");
|
|
3633
|
+
zt = f(() => kt({}, $r), "getConfig");
|
|
3634
3634
|
No = f((e) => {
|
|
3635
3635
|
e && ([
|
|
3636
3636
|
"secure",
|
|
@@ -3682,7 +3682,7 @@ let __tla = Promise.all([
|
|
|
3682
3682
|
});
|
|
3683
3683
|
}
|
|
3684
3684
|
f(zo, "setupDompurifyHooks");
|
|
3685
|
-
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;
|
|
3686
3686
|
qo = f((e) => (Sp(), rr.sanitize(e)), "removeScript");
|
|
3687
3687
|
Bs = f((e, t) => {
|
|
3688
3688
|
var _a3;
|
|
@@ -3799,7 +3799,7 @@ let __tla = Promise.all([
|
|
|
3799
3799
|
const a = Op(t, r, i);
|
|
3800
3800
|
Dp(e, a);
|
|
3801
3801
|
}, "configureSvgSize");
|
|
3802
|
-
|
|
3802
|
+
Ip = f(function(e, t, r, i) {
|
|
3803
3803
|
const a = t.node().getBBox(), n = a.width, o = a.height;
|
|
3804
3804
|
D.info(`SVG bounds: ${n}x${o}`, a);
|
|
3805
3805
|
let s = 0, l = 0;
|
|
@@ -3808,7 +3808,7 @@ let __tla = Promise.all([
|
|
|
3808
3808
|
t.attr("viewBox", c);
|
|
3809
3809
|
}, "setupGraphViewbox");
|
|
3810
3810
|
fi = {};
|
|
3811
|
-
|
|
3811
|
+
$p = f((e, t, r) => {
|
|
3812
3812
|
let i = "";
|
|
3813
3813
|
return e in fi && fi[e] ? i = fi[e](r) : D.warn(`No theme found for ${e}`), ` & {
|
|
3814
3814
|
font-family: ${r.fontFamily};
|
|
@@ -3891,7 +3891,7 @@ let __tla = Promise.all([
|
|
|
3891
3891
|
Rp = f((e, t) => {
|
|
3892
3892
|
t !== void 0 && (fi[e] = t);
|
|
3893
3893
|
}, "addStylesForDiagram");
|
|
3894
|
-
Pp =
|
|
3894
|
+
Pp = $p;
|
|
3895
3895
|
Uo = {};
|
|
3896
3896
|
ep(Uo, {
|
|
3897
3897
|
clear: () => Np,
|
|
@@ -3902,7 +3902,7 @@ let __tla = Promise.all([
|
|
|
3902
3902
|
setAccTitle: () => Wp,
|
|
3903
3903
|
setDiagramTitle: () => Yp
|
|
3904
3904
|
});
|
|
3905
|
-
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;
|
|
3906
3906
|
mn = "";
|
|
3907
3907
|
yn = "";
|
|
3908
3908
|
xn = "";
|
|
@@ -3929,7 +3929,7 @@ let __tla = Promise.all([
|
|
|
3929
3929
|
rv = Po;
|
|
3930
3930
|
iv = ar;
|
|
3931
3931
|
Cn = f((e) => ze(e, ht()), "sanitizeText");
|
|
3932
|
-
Gp =
|
|
3932
|
+
Gp = Ip;
|
|
3933
3933
|
Xp = f(() => Uo, "getCommonDb");
|
|
3934
3934
|
Ti = {};
|
|
3935
3935
|
_i = f((e, t, r) => {
|
|
@@ -3937,7 +3937,7 @@ let __tla = Promise.all([
|
|
|
3937
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(), () => {
|
|
3938
3938
|
});
|
|
3939
3939
|
}, "registerDiagram");
|
|
3940
|
-
|
|
3940
|
+
Ia = f((e) => {
|
|
3941
3941
|
if (e in Ti) return Ti[e];
|
|
3942
3942
|
throw new Vp(e);
|
|
3943
3943
|
}, "getDiagram");
|
|
@@ -4066,7 +4066,7 @@ let __tla = Promise.all([
|
|
|
4066
4066
|
}
|
|
4067
4067
|
f(Jo, "Type$1");
|
|
4068
4068
|
var Bt = Jo;
|
|
4069
|
-
function
|
|
4069
|
+
function $a(e, t) {
|
|
4070
4070
|
var r = [];
|
|
4071
4071
|
return e[t].forEach(function(i) {
|
|
4072
4072
|
var a = r.length;
|
|
@@ -4075,7 +4075,7 @@ let __tla = Promise.all([
|
|
|
4075
4075
|
}), r[a] = i;
|
|
4076
4076
|
}), r;
|
|
4077
4077
|
}
|
|
4078
|
-
f(
|
|
4078
|
+
f($a, "compileList");
|
|
4079
4079
|
function tl() {
|
|
4080
4080
|
var e = {
|
|
4081
4081
|
scalar: {},
|
|
@@ -4114,7 +4114,7 @@ let __tla = Promise.all([
|
|
|
4114
4114
|
if (!(n instanceof Bt)) throw new Wt("Specified list of YAML types (or a single Type object) contains a non-Type object.");
|
|
4115
4115
|
});
|
|
4116
4116
|
var a = Object.create(Bi.prototype);
|
|
4117
|
-
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;
|
|
4118
4118
|
}, "extend");
|
|
4119
4119
|
var ng = Bi, sg = new Bt("tag:yaml.org,2002:str", {
|
|
4120
4120
|
kind: "scalar",
|
|
@@ -4514,7 +4514,7 @@ let __tla = Promise.all([
|
|
|
4514
4514
|
kg,
|
|
4515
4515
|
_g
|
|
4516
4516
|
]
|
|
4517
|
-
}), 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;
|
|
4518
4518
|
function Ra(e) {
|
|
4519
4519
|
return Object.prototype.toString.call(e);
|
|
4520
4520
|
}
|
|
@@ -4762,7 +4762,7 @@ let __tla = Promise.all([
|
|
|
4762
4762
|
n.push(null), l = e.input.charCodeAt(e.position);
|
|
4763
4763
|
continue;
|
|
4764
4764
|
}
|
|
4765
|
-
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");
|
|
4766
4766
|
else if (e.lineIndent < t) break;
|
|
4767
4767
|
}
|
|
4768
4768
|
return s ? (e.tag = i, e.anchor = a, e.kind = "sequence", e.result = n, true) : false;
|
|
@@ -4774,7 +4774,7 @@ let __tla = Promise.all([
|
|
|
4774
4774
|
for (e.anchor !== null && (e.anchorMap[e.anchor] = u), b = e.input.charCodeAt(e.position); b !== 0; ) {
|
|
4775
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;
|
|
4776
4776
|
else {
|
|
4777
|
-
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;
|
|
4778
4778
|
if (e.line === n) {
|
|
4779
4779
|
for (b = e.input.charCodeAt(e.position); Le(b); ) b = e.input.charCodeAt(++e.position);
|
|
4780
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;
|
|
@@ -4826,8 +4826,8 @@ let __tla = Promise.all([
|
|
|
4826
4826
|
f(tc, "readAlias");
|
|
4827
4827
|
function qe(e, t, r, i, a) {
|
|
4828
4828
|
var n, o, s, l = 1, c = false, h = false, u, p, d, g, m, y;
|
|
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 ||
|
|
4830
|
-
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);
|
|
4831
4831
|
else if (e.tag === "?") {
|
|
4832
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)) {
|
|
4833
4833
|
e.result = g.construct(e.result), e.tag = g.tag, e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
|
|
@@ -4896,7 +4896,7 @@ let __tla = Promise.all([
|
|
|
4896
4896
|
f(rc, "load$1");
|
|
4897
4897
|
var Fg = rc, Dg = {
|
|
4898
4898
|
load: Fg
|
|
4899
|
-
}, 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 = {};
|
|
4900
4900
|
Lt[0] = "\\0";
|
|
4901
4901
|
Lt[7] = "\\a";
|
|
4902
4902
|
Lt[8] = "\\b";
|
|
@@ -4970,7 +4970,7 @@ let __tla = Promise.all([
|
|
|
4970
4970
|
}
|
|
4971
4971
|
f(fc, "testImplicitResolving");
|
|
4972
4972
|
function Wr(e) {
|
|
4973
|
-
return e ===
|
|
4973
|
+
return e === $g || e === Og;
|
|
4974
4974
|
}
|
|
4975
4975
|
f(Wr, "isWhitespace");
|
|
4976
4976
|
function lr(e) {
|
|
@@ -4978,7 +4978,7 @@ let __tla = Promise.all([
|
|
|
4978
4978
|
}
|
|
4979
4979
|
f(lr, "isPrintable");
|
|
4980
4980
|
function Ha(e) {
|
|
4981
|
-
return lr(e) && e !== _n && e !==
|
|
4981
|
+
return lr(e) && e !== _n && e !== Ig && e !== Pr;
|
|
4982
4982
|
}
|
|
4983
4983
|
f(Ha, "isNsCharOrWhitespace");
|
|
4984
4984
|
function Ya(e, t, r) {
|
|
@@ -5367,7 +5367,7 @@ let __tla = Promise.all([
|
|
|
5367
5367
|
return r ? Os(e, t, r) : null;
|
|
5368
5368
|
}
|
|
5369
5369
|
const dm = /(-?[0-9.]*[0-9]+[0-9.]*)/g, fm = /^-?[0-9.]*[0-9]+[0-9.]*$/g;
|
|
5370
|
-
function
|
|
5370
|
+
function Is(e, t, r) {
|
|
5371
5371
|
if (t === 1) return e;
|
|
5372
5372
|
if (r = r || 100, typeof e == "number") return Math.ceil(e * t * r) / r;
|
|
5373
5373
|
if (typeof e != "string") return e;
|
|
@@ -5444,7 +5444,7 @@ let __tla = Promise.all([
|
|
|
5444
5444
|
});
|
|
5445
5445
|
const o = i.width, s = i.height, l = a.width, c = a.height;
|
|
5446
5446
|
let h, u;
|
|
5447
|
-
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);
|
|
5448
5448
|
const p = {}, d = (m, y) => {
|
|
5449
5449
|
ym(y) || (p[m] = y.toString());
|
|
5450
5450
|
};
|
|
@@ -5479,7 +5479,7 @@ let __tla = Promise.all([
|
|
|
5479
5479
|
for (const i in t) r += " " + i + '="' + t[i] + '"';
|
|
5480
5480
|
return '<svg xmlns="http://www.w3.org/2000/svg"' + r + ">" + e + "</svg>";
|
|
5481
5481
|
}
|
|
5482
|
-
let Za, Lc, _m, kr, mt,
|
|
5482
|
+
let Za, Lc, _m, kr, mt, $s;
|
|
5483
5483
|
km = {
|
|
5484
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>',
|
|
5485
5485
|
height: 80,
|
|
@@ -5530,7 +5530,7 @@ let __tla = Promise.all([
|
|
|
5530
5530
|
kr = {};
|
|
5531
5531
|
mt = {};
|
|
5532
5532
|
function Bm() {
|
|
5533
|
-
return
|
|
5533
|
+
return $s || ($s = 1, Object.defineProperty(mt, "__esModule", {
|
|
5534
5534
|
value: true
|
|
5535
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 = [
|
|
5536
5536
|
".",
|
|
@@ -5634,21 +5634,21 @@ let __tla = Promise.all([
|
|
|
5634
5634
|
function Om(e) {
|
|
5635
5635
|
return e == null ? [] : Array.isArray(e) ? e : Array.from(e);
|
|
5636
5636
|
}
|
|
5637
|
-
function
|
|
5637
|
+
function Im() {
|
|
5638
5638
|
return [];
|
|
5639
5639
|
}
|
|
5640
5640
|
function Mc(e) {
|
|
5641
|
-
return e == null ?
|
|
5641
|
+
return e == null ? Im : function() {
|
|
5642
5642
|
return this.querySelectorAll(e);
|
|
5643
5643
|
};
|
|
5644
5644
|
}
|
|
5645
|
-
function
|
|
5645
|
+
function $m(e) {
|
|
5646
5646
|
return function() {
|
|
5647
5647
|
return Om(e.apply(this, arguments));
|
|
5648
5648
|
};
|
|
5649
5649
|
}
|
|
5650
5650
|
function Rm(e) {
|
|
5651
|
-
typeof e == "function" ? e =
|
|
5651
|
+
typeof e == "function" ? e = $m(e) : e = Mc(e);
|
|
5652
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));
|
|
5653
5653
|
return new Yt(i, a);
|
|
5654
5654
|
}
|
|
@@ -5890,16 +5890,16 @@ let __tla = Promise.all([
|
|
|
5890
5890
|
function _y(e, t) {
|
|
5891
5891
|
return arguments.length > 1 ? this.each((t == null ? Sy : typeof t == "function" ? Ty : ky)(e, t)) : this.node()[e];
|
|
5892
5892
|
}
|
|
5893
|
-
function
|
|
5893
|
+
function Ic(e) {
|
|
5894
5894
|
return e.trim().split(/^|\s+/);
|
|
5895
5895
|
}
|
|
5896
5896
|
function Mn(e) {
|
|
5897
|
-
return e.classList || new
|
|
5897
|
+
return e.classList || new $c(e);
|
|
5898
5898
|
}
|
|
5899
|
-
function
|
|
5900
|
-
this._node = e, this._names =
|
|
5899
|
+
function $c(e) {
|
|
5900
|
+
this._node = e, this._names = Ic(e.getAttribute("class") || "");
|
|
5901
5901
|
}
|
|
5902
|
-
|
|
5902
|
+
$c.prototype = {
|
|
5903
5903
|
add: function(e) {
|
|
5904
5904
|
var t = this._names.indexOf(e);
|
|
5905
5905
|
t < 0 && (this._names.push(e), this._node.setAttribute("class", this._names.join(" ")));
|
|
@@ -5934,7 +5934,7 @@ let __tla = Promise.all([
|
|
|
5934
5934
|
};
|
|
5935
5935
|
}
|
|
5936
5936
|
function My(e, t) {
|
|
5937
|
-
var r =
|
|
5937
|
+
var r = Ic(e + "");
|
|
5938
5938
|
if (arguments.length < 2) {
|
|
5939
5939
|
for (var i = Mn(this.node()), a = -1, n = r.length; ++a < n; ) if (!i.contains(r[a])) return false;
|
|
5940
5940
|
return true;
|
|
@@ -5958,10 +5958,10 @@ let __tla = Promise.all([
|
|
|
5958
5958
|
function Oy(e) {
|
|
5959
5959
|
return arguments.length ? this.each(e == null ? Ey : (typeof e == "function" ? Dy : Fy)(e)) : this.node().textContent;
|
|
5960
5960
|
}
|
|
5961
|
-
function
|
|
5961
|
+
function Iy() {
|
|
5962
5962
|
this.innerHTML = "";
|
|
5963
5963
|
}
|
|
5964
|
-
function
|
|
5964
|
+
function $y(e) {
|
|
5965
5965
|
return function() {
|
|
5966
5966
|
this.innerHTML = e;
|
|
5967
5967
|
};
|
|
@@ -5973,7 +5973,7 @@ let __tla = Promise.all([
|
|
|
5973
5973
|
};
|
|
5974
5974
|
}
|
|
5975
5975
|
function Py(e) {
|
|
5976
|
-
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;
|
|
5977
5977
|
}
|
|
5978
5978
|
function Ny() {
|
|
5979
5979
|
this.nextSibling && this.parentNode.appendChild(this);
|
|
@@ -6412,11 +6412,11 @@ let __tla = Promise.all([
|
|
|
6412
6412
|
ce(this, e).ease = t;
|
|
6413
6413
|
};
|
|
6414
6414
|
}
|
|
6415
|
-
function
|
|
6415
|
+
function I0(e) {
|
|
6416
6416
|
var t = this._id;
|
|
6417
6417
|
return arguments.length ? this.each(O0(t, e)) : ee(this.node(), t).ease;
|
|
6418
6418
|
}
|
|
6419
|
-
function
|
|
6419
|
+
function $0(e, t) {
|
|
6420
6420
|
return function() {
|
|
6421
6421
|
var r = t.apply(this, arguments);
|
|
6422
6422
|
if (typeof r != "function") throw new Error();
|
|
@@ -6425,7 +6425,7 @@ let __tla = Promise.all([
|
|
|
6425
6425
|
}
|
|
6426
6426
|
function R0(e) {
|
|
6427
6427
|
if (typeof e != "function") throw new Error();
|
|
6428
|
-
return this.each(
|
|
6428
|
+
return this.each($0(this._id, e));
|
|
6429
6429
|
}
|
|
6430
6430
|
function P0(e) {
|
|
6431
6431
|
typeof e != "function" && (e = Ec(e));
|
|
@@ -6638,7 +6638,7 @@ let __tla = Promise.all([
|
|
|
6638
6638
|
tween: g0,
|
|
6639
6639
|
delay: M0,
|
|
6640
6640
|
duration: D0,
|
|
6641
|
-
ease:
|
|
6641
|
+
ease: I0,
|
|
6642
6642
|
easeVarying: R0,
|
|
6643
6643
|
end: hx,
|
|
6644
6644
|
[Symbol.iterator]: pe[Symbol.iterator]
|
|
@@ -6757,7 +6757,7 @@ let __tla = Promise.all([
|
|
|
6757
6757
|
e = e.trim().replace(r, "").replace(/'/gm, '"'), D.debug(`Detecting diagram directive${t !== null ? " type:" + t : ""} based on the text:${e}`);
|
|
6758
6758
|
let i;
|
|
6759
6759
|
const a = [];
|
|
6760
|
-
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))) {
|
|
6761
6761
|
const n = i[1] ? i[1] : i[2], o = i[3] ? i[3].trim() : i[4] ? JSON.parse(i[4].trim()) : null;
|
|
6762
6762
|
a.push({
|
|
6763
6763
|
type: n,
|
|
@@ -6776,7 +6776,7 @@ let __tla = Promise.all([
|
|
|
6776
6776
|
}
|
|
6777
6777
|
}, "detectDirective");
|
|
6778
6778
|
Cx = f(function(e) {
|
|
6779
|
-
return e.replace(
|
|
6779
|
+
return e.replace(Ir, "");
|
|
6780
6780
|
}, "removeDirectives");
|
|
6781
6781
|
vx = f(function(e, t) {
|
|
6782
6782
|
for (const [r, i] of t.entries()) if (i.match(e)) return r;
|
|
@@ -6812,7 +6812,7 @@ let __tla = Promise.all([
|
|
|
6812
6812
|
r += On(a, t), t = a;
|
|
6813
6813
|
});
|
|
6814
6814
|
const i = r / 2;
|
|
6815
|
-
return
|
|
6815
|
+
return In(e, i);
|
|
6816
6816
|
}
|
|
6817
6817
|
f(Gc, "traverseEdge");
|
|
6818
6818
|
function Xc(e) {
|
|
@@ -6822,7 +6822,7 @@ let __tla = Promise.all([
|
|
|
6822
6822
|
var zs = f((e, t = 2) => {
|
|
6823
6823
|
const r = Math.pow(10, t);
|
|
6824
6824
|
return Math.round(e * r) / r;
|
|
6825
|
-
}, "roundNumber"),
|
|
6825
|
+
}, "roundNumber"), In = f((e, t) => {
|
|
6826
6826
|
let r, i = t;
|
|
6827
6827
|
for (const a of e) {
|
|
6828
6828
|
if (r) {
|
|
@@ -6847,7 +6847,7 @@ let __tla = Promise.all([
|
|
|
6847
6847
|
throw new Error("Could not find a suitable point for the given distance");
|
|
6848
6848
|
}, "calculatePoint"), Sx = f((e, t, r) => {
|
|
6849
6849
|
D.info(`our points ${JSON.stringify(t)}`), t[0] !== r && (t = t.reverse());
|
|
6850
|
-
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 = {
|
|
6851
6851
|
x: 0,
|
|
6852
6852
|
y: 0
|
|
6853
6853
|
};
|
|
@@ -6856,7 +6856,7 @@ let __tla = Promise.all([
|
|
|
6856
6856
|
function Vc(e, t, r) {
|
|
6857
6857
|
const i = structuredClone(r);
|
|
6858
6858
|
D.info("our points", i), t !== "start_left" && t !== "start_right" && i.reverse();
|
|
6859
|
-
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 = {
|
|
6860
6860
|
x: 0,
|
|
6861
6861
|
y: 0
|
|
6862
6862
|
};
|
|
@@ -6950,14 +6950,14 @@ let __tla = Promise.all([
|
|
|
6950
6950
|
};
|
|
6951
6951
|
}, (e, t, r = "-", i) => `${e}${t}${r}${i.fontSize}${i.fontWeight}${i.fontFamily}`);
|
|
6952
6952
|
Qc = function(e, t) {
|
|
6953
|
-
return
|
|
6953
|
+
return $n(e, t).height;
|
|
6954
6954
|
};
|
|
6955
6955
|
f(Qc, "calculateTextHeight");
|
|
6956
6956
|
Ce = function(e, t) {
|
|
6957
|
-
return
|
|
6957
|
+
return $n(e, t).width;
|
|
6958
6958
|
};
|
|
6959
6959
|
f(Ce, "calculateTextWidth");
|
|
6960
|
-
var
|
|
6960
|
+
var $n = dn((e, t) => {
|
|
6961
6961
|
const { fontSize: r = 12, fontFamily: i = "Arial", fontWeight: a = 400 } = t;
|
|
6962
6962
|
if (!e) return {
|
|
6963
6963
|
width: 0,
|
|
@@ -7037,7 +7037,7 @@ let __tla = Promise.all([
|
|
|
7037
7037
|
wrapLabel: Lx,
|
|
7038
7038
|
calculateTextHeight: Qc,
|
|
7039
7039
|
calculateTextWidth: Ce,
|
|
7040
|
-
calculateTextDimensions:
|
|
7040
|
+
calculateTextDimensions: $n,
|
|
7041
7041
|
cleanAndMerge: Pn,
|
|
7042
7042
|
detectInit: bx,
|
|
7043
7043
|
detectDirective: Uc,
|
|
@@ -7204,10 +7204,10 @@ let __tla = Promise.all([
|
|
|
7204
7204
|
function nh(e, t) {
|
|
7205
7205
|
if (e.some(({ content: r }) => r.includes(`
|
|
7206
7206
|
`))) throw new Error("splitLineToFitWidth does not support newlines in the line");
|
|
7207
|
-
return
|
|
7207
|
+
return Ii(e, t);
|
|
7208
7208
|
}
|
|
7209
7209
|
f(nh, "splitLineToFitWidth");
|
|
7210
|
-
function
|
|
7210
|
+
function Ii(e, t, r = [], i = []) {
|
|
7211
7211
|
if (e.length === 0) return i.length > 0 && r.push(i), r.length > 0 ? r : [];
|
|
7212
7212
|
let a = "";
|
|
7213
7213
|
e[0].content === " " && (a = " ", e.shift());
|
|
@@ -7220,7 +7220,7 @@ let __tla = Promise.all([
|
|
|
7220
7220
|
if (a !== "" && o.push({
|
|
7221
7221
|
content: a,
|
|
7222
7222
|
type: "normal"
|
|
7223
|
-
}), o.push(n), t(o)) return
|
|
7223
|
+
}), o.push(n), t(o)) return Ii(e, t, r, o);
|
|
7224
7224
|
if (i.length > 0) r.push(i), e.unshift(n);
|
|
7225
7225
|
else if (n.content) {
|
|
7226
7226
|
const [s, l] = ah(t, n);
|
|
@@ -7228,9 +7228,9 @@ let __tla = Promise.all([
|
|
|
7228
7228
|
s
|
|
7229
7229
|
]), l.content && e.unshift(l);
|
|
7230
7230
|
}
|
|
7231
|
-
return
|
|
7231
|
+
return Ii(e, t, r);
|
|
7232
7232
|
}
|
|
7233
|
-
f(
|
|
7233
|
+
f(Ii, "splitLineToFitWidthRecursion");
|
|
7234
7234
|
function en(e, t) {
|
|
7235
7235
|
t && e.attr("style", t);
|
|
7236
7236
|
}
|
|
@@ -7333,10 +7333,10 @@ let __tla = Promise.all([
|
|
|
7333
7333
|
}
|
|
7334
7334
|
}
|
|
7335
7335
|
}
|
|
7336
|
-
function
|
|
7336
|
+
function Ix(e, t) {
|
|
7337
7337
|
return e[0] === t[0] && e[1] === t[1];
|
|
7338
7338
|
}
|
|
7339
|
-
function
|
|
7339
|
+
function $x(e, t, r, i = 1) {
|
|
7340
7340
|
const a = r, n = Math.max(t, 0.1), o = e[0] && e[0][0] && typeof e[0][0] == "number" ? [
|
|
7341
7341
|
e
|
|
7342
7342
|
] : e, s = [
|
|
@@ -7350,7 +7350,7 @@ let __tla = Promise.all([
|
|
|
7350
7350
|
const C = [
|
|
7351
7351
|
...b
|
|
7352
7352
|
];
|
|
7353
|
-
|
|
7353
|
+
Ix(C[0], C[C.length - 1]) || C.push([
|
|
7354
7354
|
C[0][0],
|
|
7355
7355
|
C[0][1]
|
|
7356
7356
|
]), C.length > 2 && p.push(C);
|
|
@@ -7419,7 +7419,7 @@ let __tla = Promise.all([
|
|
|
7419
7419
|
let a = t.hachureGap;
|
|
7420
7420
|
a < 0 && (a = 4 * t.strokeWidth), a = Math.round(Math.max(a, 0.1));
|
|
7421
7421
|
let n = 1;
|
|
7422
|
-
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);
|
|
7423
7423
|
}
|
|
7424
7424
|
class Wn {
|
|
7425
7425
|
constructor(t) {
|
|
@@ -7980,20 +7980,20 @@ let __tla = Promise.all([
|
|
|
7980
7980
|
]);
|
|
7981
7981
|
}
|
|
7982
7982
|
x = g - d;
|
|
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,
|
|
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, $ = [
|
|
7984
7984
|
e,
|
|
7985
7985
|
t
|
|
7986
7986
|
], O = [
|
|
7987
7987
|
e + T * C,
|
|
7988
|
-
t -
|
|
7988
|
+
t - I * b
|
|
7989
7989
|
], B = [
|
|
7990
7990
|
r + T * k,
|
|
7991
|
-
i -
|
|
7991
|
+
i - I * S
|
|
7992
7992
|
], W = [
|
|
7993
7993
|
r,
|
|
7994
7994
|
i
|
|
7995
7995
|
];
|
|
7996
|
-
if (O[0] = 2 *
|
|
7996
|
+
if (O[0] = 2 * $[0] - O[0], O[1] = 2 * $[1] - O[1], c) return [
|
|
7997
7997
|
O,
|
|
7998
7998
|
B,
|
|
7999
7999
|
W
|
|
@@ -8024,7 +8024,7 @@ let __tla = Promise.all([
|
|
|
8024
8024
|
return tt(e, t);
|
|
8025
8025
|
},
|
|
8026
8026
|
randOffsetWithRange: function(e, t, r) {
|
|
8027
|
-
return
|
|
8027
|
+
return $i(e, t, r);
|
|
8028
8028
|
},
|
|
8029
8029
|
ellipse: function(e, t, r, i, a) {
|
|
8030
8030
|
const n = ph(r, i, a);
|
|
@@ -8111,7 +8111,7 @@ let __tla = Promise.all([
|
|
|
8111
8111
|
};
|
|
8112
8112
|
}
|
|
8113
8113
|
function rn(e, t, r, i) {
|
|
8114
|
-
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);
|
|
8115
8115
|
let o = Ri(a, null, r);
|
|
8116
8116
|
if (!r.disableMultiStroke && r.roughness !== 0) {
|
|
8117
8117
|
const [s] = Xs(i.increment, e, t, i.rx, i.ry, 1.5, 0, r), l = Ri(s, null, r);
|
|
@@ -8256,11 +8256,11 @@ let __tla = Promise.all([
|
|
|
8256
8256
|
function gh(e) {
|
|
8257
8257
|
return e.randomizer || (e.randomizer = new qx(e.seed || 0)), e.randomizer.next();
|
|
8258
8258
|
}
|
|
8259
|
-
function
|
|
8259
|
+
function $i(e, t, r, i = 1) {
|
|
8260
8260
|
return r.roughness * i * (gh(r) * (t - e) + e);
|
|
8261
8261
|
}
|
|
8262
8262
|
function tt(e, t, r = 1) {
|
|
8263
|
-
return
|
|
8263
|
+
return $i(-e, e, t, r);
|
|
8264
8264
|
}
|
|
8265
8265
|
function Me(e, t, r, i, a, n = false) {
|
|
8266
8266
|
const o = n ? a.disableMultiStrokeFill : a.disableMultiStroke, s = an(e, t, r, i, a, true, false);
|
|
@@ -8539,9 +8539,9 @@ let __tla = Promise.all([
|
|
|
8539
8539
|
const i = bi(t, r);
|
|
8540
8540
|
if (i === 0) return bi(e, t);
|
|
8541
8541
|
let a = ((e[0] - t[0]) * (r[0] - t[0]) + (e[1] - t[1]) * (r[1] - t[1])) / i;
|
|
8542
|
-
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));
|
|
8543
8543
|
}
|
|
8544
|
-
function
|
|
8544
|
+
function $e(e, t, r) {
|
|
8545
8545
|
return [
|
|
8546
8546
|
e[0] + (t[0] - e[0]) * r,
|
|
8547
8547
|
e[1] + (t[1] - e[1]) * r
|
|
@@ -8563,7 +8563,7 @@ let __tla = Promise.all([
|
|
|
8563
8563
|
const s = e[t + 0];
|
|
8564
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]);
|
|
8565
8565
|
} else {
|
|
8566
|
-
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);
|
|
8567
8567
|
nn([
|
|
8568
8568
|
l,
|
|
8569
8569
|
p,
|
|
@@ -8701,17 +8701,17 @@ let __tla = Promise.all([
|
|
|
8701
8701
|
const C = p, S = d;
|
|
8702
8702
|
let k = Math.abs(g / 2), L = Math.abs(m / 2);
|
|
8703
8703
|
k += tt(0.01 * k, b), L += tt(0.01 * L, b);
|
|
8704
|
-
let T = y,
|
|
8705
|
-
for (; T < 0; ) T += 2 * Math.PI,
|
|
8706
|
-
|
|
8707
|
-
const
|
|
8708
|
-
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([
|
|
8709
8709
|
C + k * Math.cos(B),
|
|
8710
8710
|
S + L * Math.sin(B)
|
|
8711
8711
|
]);
|
|
8712
8712
|
return O.push([
|
|
8713
|
-
C + k * Math.cos(
|
|
8714
|
-
S + L * Math.sin(
|
|
8713
|
+
C + k * Math.cos(I),
|
|
8714
|
+
S + L * Math.sin(I)
|
|
8715
8715
|
]), O.push([
|
|
8716
8716
|
C,
|
|
8717
8717
|
S
|
|
@@ -9085,7 +9085,7 @@ let __tla = Promise.all([
|
|
|
9085
9085
|
].map((m) => new Promise((y) => {
|
|
9086
9086
|
function x() {
|
|
9087
9087
|
if (m.style.display = "flex", m.style.flexDirection = "column", g) {
|
|
9088
|
-
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";
|
|
9089
9089
|
m.style.minWidth = k, m.style.maxWidth = k;
|
|
9090
9090
|
} else m.style.width = "100%";
|
|
9091
9091
|
y(m);
|
|
@@ -9321,8 +9321,8 @@ let __tla = Promise.all([
|
|
|
9321
9321
|
});
|
|
9322
9322
|
let m = g.getBBox();
|
|
9323
9323
|
if (xt(r.flowchart.htmlLabels)) {
|
|
9324
|
-
const T = g.children[0],
|
|
9325
|
-
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);
|
|
9326
9326
|
}
|
|
9327
9327
|
const y = t.width <= m.width + t.padding ? m.width + t.padding : t.width;
|
|
9328
9328
|
t.width <= m.width + t.padding ? t.diff = (y - t.width) / 2 - t.padding : t.diff = -t.padding;
|
|
@@ -9330,14 +9330,14 @@ let __tla = Promise.all([
|
|
|
9330
9330
|
D.trace("Data ", t, JSON.stringify(t));
|
|
9331
9331
|
let S;
|
|
9332
9332
|
if (t.look === "handDrawn") {
|
|
9333
|
-
const T = U.svg(u),
|
|
9333
|
+
const T = U.svg(u), I = G(t, {
|
|
9334
9334
|
roughness: 0.7,
|
|
9335
9335
|
fill: n,
|
|
9336
9336
|
stroke: o,
|
|
9337
9337
|
fillWeight: 3,
|
|
9338
9338
|
seed: a
|
|
9339
|
-
}),
|
|
9340
|
-
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"));
|
|
9341
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);
|
|
9342
9342
|
const { subGraphTitleTopMargin: k } = Ln(r);
|
|
9343
9343
|
if (d.attr("transform", `translate(${t.x - m.width / 2}, ${t.y - t.height / 2 + k})`), s) {
|
|
@@ -9372,8 +9372,8 @@ let __tla = Promise.all([
|
|
|
9372
9372
|
const d = u.node().appendChild(await We(t.label, t.labelStyle, void 0, true));
|
|
9373
9373
|
let g = d.getBBox();
|
|
9374
9374
|
if (xt(r.flowchart.htmlLabels)) {
|
|
9375
|
-
const
|
|
9376
|
-
g =
|
|
9375
|
+
const $ = d.children[0], O = lt(d);
|
|
9376
|
+
g = $.getBoundingClientRect(), O.attr("width", g.width), O.attr("height", g.height);
|
|
9377
9377
|
}
|
|
9378
9378
|
const m = 0 * t.padding, y = m / 2, x = (t.width <= g.width + t.padding ? g.width + t.padding : t.width) + m;
|
|
9379
9379
|
t.width <= g.width + t.padding ? t.diff = (x - t.width) / 2 - t.padding : t.diff = -t.padding;
|
|
@@ -9382,7 +9382,7 @@ let __tla = Promise.all([
|
|
|
9382
9382
|
const L = t.y - t.height / 2 - y + g.height + 2;
|
|
9383
9383
|
let T;
|
|
9384
9384
|
if (t.look === "handDrawn") {
|
|
9385
|
-
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), {
|
|
9386
9386
|
roughness: 0.7,
|
|
9387
9387
|
fill: s,
|
|
9388
9388
|
fillStyle: "solid",
|
|
@@ -9393,17 +9393,17 @@ let __tla = Promise.all([
|
|
|
9393
9393
|
});
|
|
9394
9394
|
T = c.insert(() => B, ":first-child");
|
|
9395
9395
|
const W = O.rectangle(S, L, x, C, {
|
|
9396
|
-
fill:
|
|
9397
|
-
fillStyle:
|
|
9396
|
+
fill: $ ? n : o,
|
|
9397
|
+
fillStyle: $ ? "hachure" : "solid",
|
|
9398
9398
|
stroke: l,
|
|
9399
9399
|
seed: a
|
|
9400
9400
|
});
|
|
9401
9401
|
T = c.insert(() => B, ":first-child"), p = c.insert(() => W);
|
|
9402
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);
|
|
9403
9403
|
u.attr("transform", `translate(${t.x - g.width / 2}, ${k + 1 - (xt(r.flowchart.htmlLabels) ? 0 : 3)})`);
|
|
9404
|
-
const
|
|
9405
|
-
return t.height =
|
|
9406
|
-
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, $);
|
|
9407
9407
|
}, {
|
|
9408
9408
|
cluster: c,
|
|
9409
9409
|
labelBBox: g
|
|
@@ -9419,8 +9419,8 @@ let __tla = Promise.all([
|
|
|
9419
9419
|
});
|
|
9420
9420
|
let m = g.getBBox();
|
|
9421
9421
|
if (xt(r.flowchart.htmlLabels)) {
|
|
9422
|
-
const T = g.children[0],
|
|
9423
|
-
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);
|
|
9424
9424
|
}
|
|
9425
9425
|
const y = t.width <= m.width + t.padding ? m.width + t.padding : t.width;
|
|
9426
9426
|
t.width <= m.width + t.padding ? t.diff = (y - t.width) / 2 - t.padding : t.diff = -t.padding;
|
|
@@ -9428,14 +9428,14 @@ let __tla = Promise.all([
|
|
|
9428
9428
|
D.trace("Data ", t, JSON.stringify(t));
|
|
9429
9429
|
let S;
|
|
9430
9430
|
if (t.look === "handDrawn") {
|
|
9431
|
-
const T = U.svg(u),
|
|
9431
|
+
const T = U.svg(u), I = G(t, {
|
|
9432
9432
|
roughness: 0.7,
|
|
9433
9433
|
fill: n,
|
|
9434
9434
|
stroke: o,
|
|
9435
9435
|
fillWeight: 4,
|
|
9436
9436
|
seed: a
|
|
9437
|
-
}),
|
|
9438
|
-
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"));
|
|
9439
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);
|
|
9440
9440
|
const { subGraphTitleTopMargin: k } = Ln(r);
|
|
9441
9441
|
if (d.attr("transform", `translate(${t.x - m.width / 2}, ${t.y - t.height / 2 + k})`), s) {
|
|
@@ -9582,7 +9582,7 @@ let __tla = Promise.all([
|
|
|
9582
9582
|
o && k < 0 && (k += 2 * Math.PI), !o && k > 0 && (k -= 2 * Math.PI);
|
|
9583
9583
|
const L = [];
|
|
9584
9584
|
for (let T = 0; T < 20; T++) {
|
|
9585
|
-
const
|
|
9585
|
+
const I = T / 19, $ = C + I * k, O = x + a * Math.cos($), B = b + n * Math.sin($);
|
|
9586
9586
|
L.push({
|
|
9587
9587
|
x: O,
|
|
9588
9588
|
y: B
|
|
@@ -9819,7 +9819,7 @@ let __tla = Promise.all([
|
|
|
9819
9819
|
return o;
|
|
9820
9820
|
}
|
|
9821
9821
|
f(me, "generateCirclePoints");
|
|
9822
|
-
async function
|
|
9822
|
+
async function Ih(e, t) {
|
|
9823
9823
|
const { labelStyles: r, nodeStyles: i } = V(t);
|
|
9824
9824
|
t.labelStyle = r;
|
|
9825
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 = [
|
|
@@ -9875,7 +9875,7 @@ let __tla = Promise.all([
|
|
|
9875
9875
|
return Y.polygon(t, p, k);
|
|
9876
9876
|
}, a;
|
|
9877
9877
|
}
|
|
9878
|
-
f(
|
|
9878
|
+
f(Ih, "curlyBraceRight");
|
|
9879
9879
|
function wt(e, t, r, i = 100, a = 0, n = 180) {
|
|
9880
9880
|
const o = [], s = a * Math.PI / 180, h = (n * Math.PI / 180 - s) / (i - 1);
|
|
9881
9881
|
for (let u = 0; u < i; u++) {
|
|
@@ -9888,7 +9888,7 @@ let __tla = Promise.all([
|
|
|
9888
9888
|
return o;
|
|
9889
9889
|
}
|
|
9890
9890
|
f(wt, "generateCirclePoints");
|
|
9891
|
-
async function
|
|
9891
|
+
async function $h(e, t) {
|
|
9892
9892
|
const { labelStyles: r, nodeStyles: i } = V(t);
|
|
9893
9893
|
t.labelStyle = r;
|
|
9894
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 = [
|
|
@@ -9964,12 +9964,12 @@ let __tla = Promise.all([
|
|
|
9964
9964
|
t.look !== "handDrawn" && (m.roughness = 0, m.fillStyle = "solid");
|
|
9965
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, {
|
|
9966
9966
|
...m
|
|
9967
|
-
}),
|
|
9968
|
-
return
|
|
9969
|
-
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, $);
|
|
9970
9970
|
}, a;
|
|
9971
9971
|
}
|
|
9972
|
-
f(
|
|
9972
|
+
f($h, "curlyBraces");
|
|
9973
9973
|
async function Rh(e, t) {
|
|
9974
9974
|
const { labelStyles: r, nodeStyles: i } = V(t);
|
|
9975
9975
|
t.labelStyle = r;
|
|
@@ -10295,11 +10295,11 @@ let __tla = Promise.all([
|
|
|
10295
10295
|
fill: "none"
|
|
10296
10296
|
});
|
|
10297
10297
|
t.look !== "handDrawn" && (k.roughness = 0, k.fillStyle = "solid");
|
|
10298
|
-
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, {
|
|
10299
10299
|
...k,
|
|
10300
10300
|
fill: "transparent",
|
|
10301
10301
|
stroke: "none"
|
|
10302
|
-
}), O = c.insert(() => L, ":first-child"), B = c.insert(() =>
|
|
10302
|
+
}), O = c.insert(() => L, ":first-child"), B = c.insert(() => $);
|
|
10303
10303
|
if (t.icon) {
|
|
10304
10304
|
const W = c.append("g");
|
|
10305
10305
|
W.html(`<g>${await Xi(t.icon, {
|
|
@@ -10310,7 +10310,7 @@ let __tla = Promise.all([
|
|
|
10310
10310
|
const P = W.node().getBBox(), E = P.width, M = P.height, _ = P.x, F = P.y;
|
|
10311
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};`);
|
|
10312
10312
|
}
|
|
10313
|
-
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) {
|
|
10314
10314
|
if (D.info("iconSquare intersect", t, W), !t.label) return Y.rect(t, W);
|
|
10315
10315
|
const P = t.x ?? 0, E = t.y ?? 0, M = t.height ?? 0;
|
|
10316
10316
|
let _ = [];
|
|
@@ -10399,12 +10399,12 @@ let __tla = Promise.all([
|
|
|
10399
10399
|
width: s,
|
|
10400
10400
|
fallbackPrefix: ""
|
|
10401
10401
|
})}</g>`);
|
|
10402
|
-
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, {
|
|
10403
10403
|
...C,
|
|
10404
10404
|
fill: "transparent",
|
|
10405
10405
|
stroke: "none"
|
|
10406
10406
|
}), _ = c.insert(() => W, ":first-child"), F = c.insert(() => M);
|
|
10407
|
-
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) {
|
|
10408
10408
|
return D.info("iconSquare intersect", t, A), Y.rect(t, A);
|
|
10409
10409
|
}, c;
|
|
10410
10410
|
}
|
|
@@ -10416,13 +10416,13 @@ let __tla = Promise.all([
|
|
|
10416
10416
|
t.width = Math.max(s, l ?? 0);
|
|
10417
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, {});
|
|
10418
10418
|
t.look !== "handDrawn" && (T.roughness = 0, T.fillStyle = "solid");
|
|
10419
|
-
const
|
|
10420
|
-
T.stroke =
|
|
10421
|
-
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, {
|
|
10422
10422
|
...T,
|
|
10423
10423
|
fill: "transparent",
|
|
10424
10424
|
stroke: "none"
|
|
10425
|
-
}), P = c.insert(() =>
|
|
10425
|
+
}), P = c.insert(() => $, ":first-child").attr("class", "icon-shape2"), E = c.insert(() => W);
|
|
10426
10426
|
if (t.icon) {
|
|
10427
10427
|
const M = c.append("g");
|
|
10428
10428
|
M.html(`<g>${await Xi(t.icon, {
|
|
@@ -10514,13 +10514,13 @@ let __tla = Promise.all([
|
|
|
10514
10514
|
t.width = Math.max(s, l ?? 0);
|
|
10515
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, {});
|
|
10516
10516
|
t.look !== "handDrawn" && (T.roughness = 0, T.fillStyle = "solid");
|
|
10517
|
-
const
|
|
10518
|
-
T.stroke =
|
|
10519
|
-
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, {
|
|
10520
10520
|
...T,
|
|
10521
10521
|
fill: "transparent",
|
|
10522
10522
|
stroke: "none"
|
|
10523
|
-
}), P = c.insert(() =>
|
|
10523
|
+
}), P = c.insert(() => $, ":first-child"), E = c.insert(() => W);
|
|
10524
10524
|
if (t.icon) {
|
|
10525
10525
|
const M = c.append("g");
|
|
10526
10526
|
M.html(`<g>${await Xi(t.icon, {
|
|
@@ -10622,12 +10622,12 @@ let __tla = Promise.all([
|
|
|
10622
10622
|
...C,
|
|
10623
10623
|
fill: "none",
|
|
10624
10624
|
stroke: "none"
|
|
10625
|
-
}),
|
|
10625
|
+
}), I = u.insert(() => S, ":first-child"), $ = u.insert(() => T);
|
|
10626
10626
|
if (t.img) {
|
|
10627
10627
|
const O = u.append("image");
|
|
10628
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})`);
|
|
10629
10629
|
}
|
|
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})`),
|
|
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) {
|
|
10631
10631
|
if (D.info("iconSquare intersect", t, O), !t.label) return Y.rect(t, O);
|
|
10632
10632
|
const B = t.x ?? 0, W = t.y ?? 0, P = t.height ?? 0;
|
|
10633
10633
|
let E = [];
|
|
@@ -11108,8 +11108,8 @@ let __tla = Promise.all([
|
|
|
11108
11108
|
}
|
|
11109
11109
|
], C = U.svg(a), S = G(t, {});
|
|
11110
11110
|
t.look !== "handDrawn" && (S.roughness = 0, S.fillStyle = "solid");
|
|
11111
|
-
const k = ct(x), L = C.path(k, S), T = ct(b),
|
|
11112
|
-
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) {
|
|
11113
11113
|
return Y.polygon(t, x, O);
|
|
11114
11114
|
}, a;
|
|
11115
11115
|
}
|
|
@@ -11216,8 +11216,8 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
11216
11216
|
height: 0
|
|
11217
11217
|
};
|
|
11218
11218
|
if (xt((_b3 = (_a3 = ht()) == null ? void 0 : _a3.flowchart) == null ? void 0 : _b3.htmlLabels)) {
|
|
11219
|
-
const
|
|
11220
|
-
u =
|
|
11219
|
+
const I = h.children[0], $ = lt(h);
|
|
11220
|
+
u = I.getBoundingClientRect(), $.attr("width", u.width), $.attr("height", u.height);
|
|
11221
11221
|
}
|
|
11222
11222
|
D.info("Text 2", l);
|
|
11223
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);
|
|
@@ -11227,11 +11227,11 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
11227
11227
|
const b = u.width + (t.padding || 0), C = u.height + (t.padding || 0), S = -u.width / 2 - x, k = -u.height / 2 - x;
|
|
11228
11228
|
let L, T;
|
|
11229
11229
|
if (t.look === "handDrawn") {
|
|
11230
|
-
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, $);
|
|
11231
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");
|
|
11232
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);
|
|
11233
|
-
return X(t, L), t.intersect = function(
|
|
11234
|
-
return Y.rect(t,
|
|
11233
|
+
return X(t, L), t.intersect = function(I) {
|
|
11234
|
+
return Y.rect(t, I);
|
|
11235
11235
|
}, n;
|
|
11236
11236
|
}
|
|
11237
11237
|
f(hu, "rectWithTitle");
|
|
@@ -11520,9 +11520,9 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
11520
11520
|
], S = ct(y), k = g.path(S, m), L = ct(C), T = g.path(L, {
|
|
11521
11521
|
...m,
|
|
11522
11522
|
fillStyle: "solid"
|
|
11523
|
-
}),
|
|
11524
|
-
return
|
|
11525
|
-
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, $);
|
|
11526
11526
|
}, a;
|
|
11527
11527
|
}
|
|
11528
11528
|
f(vu, "taggedWaveEdgedRectangle");
|
|
@@ -11821,7 +11821,7 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
11821
11821
|
}
|
|
11822
11822
|
const k = d + g + m + y, L = U.svg(c), T = G(t, {});
|
|
11823
11823
|
t.look !== "handDrawn" && (T.roughness = 0, T.fillStyle = "solid");
|
|
11824
|
-
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;
|
|
11825
11825
|
c.selectAll("g:not(:first-child)").each((N, q, K) => {
|
|
11826
11826
|
const nt = lt(K[q]), at = nt.attr("transform");
|
|
11827
11827
|
let ut = 0, st = 0;
|
|
@@ -11831,20 +11831,20 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
11831
11831
|
}
|
|
11832
11832
|
nt.attr("transform", `translate(${O + a / 2 + ut}, ${st + B + h.height + n / 2})`);
|
|
11833
11833
|
}), c.select(".name").attr("transform", "translate(" + -h.width / 2 + ", " + (B + n / 2) + ")");
|
|
11834
|
-
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;
|
|
11835
11835
|
p.push(0);
|
|
11836
11836
|
for (const [N, q] of p.entries()) {
|
|
11837
11837
|
if (N === 0 && p.length > 1) continue;
|
|
11838
|
-
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, {
|
|
11839
11839
|
...T,
|
|
11840
11840
|
fill: K ? M : _,
|
|
11841
11841
|
stroke: F
|
|
11842
11842
|
});
|
|
11843
11843
|
c.insert(() => nt, "g.label").attr("style", o.join("")).attr("class", `row-rect-${N % 2 === 0 ? "even" : "odd"}`);
|
|
11844
11844
|
}
|
|
11845
|
-
let A = L.line(O, h.height + B,
|
|
11846
|
-
c.insert(() => A).attr("class", "divider"), A = L.line(d + O, h.height + B, d + O,
|
|
11847
|
-
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");
|
|
11848
11848
|
return X(t, P), t.intersect = function(N) {
|
|
11849
11849
|
return Y.rect(t, N);
|
|
11850
11850
|
}, c;
|
|
@@ -11969,7 +11969,7 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
11969
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");
|
|
11970
11970
|
S.attr("class", "basic label-container");
|
|
11971
11971
|
const k = S.node().getBBox();
|
|
11972
|
-
s.selectAll(".text").each((
|
|
11972
|
+
s.selectAll(".text").each(($, O, B) => {
|
|
11973
11973
|
var _a4;
|
|
11974
11974
|
const W = lt(B[O]), P = W.attr("transform");
|
|
11975
11975
|
let E = 0;
|
|
@@ -11984,30 +11984,30 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
11984
11984
|
window.getComputedStyle(N[A]).textAnchor === "middle" && (_ = 0);
|
|
11985
11985
|
})), W.attr("transform", `translate(${_}, ${M})`);
|
|
11986
11986
|
});
|
|
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,
|
|
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;
|
|
11988
11988
|
if (o.members.length > 0 || o.methods.length > 0 || p) {
|
|
11989
|
-
const
|
|
11990
|
-
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);
|
|
11991
11991
|
}
|
|
11992
11992
|
if (p || o.members.length > 0 || o.methods.length > 0) {
|
|
11993
|
-
const
|
|
11994
|
-
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);
|
|
11995
11995
|
}
|
|
11996
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) {
|
|
11997
|
-
const
|
|
11997
|
+
const $ = RegExp(/color\s*:\s*([^;]*)/), O = $.exec(u);
|
|
11998
11998
|
if (O) {
|
|
11999
11999
|
const B = O[0].replace("color", "fill");
|
|
12000
12000
|
s.selectAll("tspan").attr("style", B);
|
|
12001
12001
|
} else if (c) {
|
|
12002
|
-
const B =
|
|
12002
|
+
const B = $.exec(c);
|
|
12003
12003
|
if (B) {
|
|
12004
12004
|
const W = B[0].replace("color", "fill");
|
|
12005
12005
|
s.selectAll("tspan").attr("style", W);
|
|
12006
12006
|
}
|
|
12007
12007
|
}
|
|
12008
12008
|
}
|
|
12009
|
-
return X(t, S), t.intersect = function(
|
|
12010
|
-
return Y.rect(t,
|
|
12009
|
+
return X(t, S), t.intersect = function($) {
|
|
12010
|
+
return Y.rect(t, $);
|
|
12011
12011
|
}, s;
|
|
12012
12012
|
}
|
|
12013
12013
|
f(Eu, "classBox");
|
|
@@ -12025,8 +12025,8 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
12025
12025
|
p += L;
|
|
12026
12026
|
const T = await ae(h, `${a.text ? `Text: ${a.text}` : ""}`, p, t.labelStyle);
|
|
12027
12027
|
p += T;
|
|
12028
|
-
const
|
|
12029
|
-
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);
|
|
12030
12030
|
} else {
|
|
12031
12031
|
const L = await ae(h, `${n.type ? `Type: ${n.type}` : ""}`, p, t.labelStyle);
|
|
12032
12032
|
p += L, await ae(h, `${n.docRef ? `Doc Ref: ${n.docRef}` : ""}`, p, t.labelStyle);
|
|
@@ -12034,8 +12034,8 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
12034
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, {});
|
|
12035
12035
|
t.look !== "handDrawn" && (C.roughness = 0, C.fillStyle = "solid");
|
|
12036
12036
|
const S = b.rectangle(y, x, g, m, C), k = h.insert(() => S, ":first-child");
|
|
12037
|
-
if (k.attr("class", "basic label-container").attr("style", i), h.selectAll(".label").each((L, T,
|
|
12038
|
-
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");
|
|
12039
12039
|
let B = 0, W = 0;
|
|
12040
12040
|
if (O) {
|
|
12041
12041
|
const _ = RegExp(/translate\(([^,]+),([^)]+)\)/).exec(O);
|
|
@@ -12043,7 +12043,7 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
12043
12043
|
}
|
|
12044
12044
|
const P = W - m / 2;
|
|
12045
12045
|
let E = y + o / 2;
|
|
12046
|
-
(T === 0 || T === 1) && (E = B),
|
|
12046
|
+
(T === 0 || T === 1) && (E = B), $.attr("transform", `translate(${E}, ${P + o})`);
|
|
12047
12047
|
}), p > u + d + s) {
|
|
12048
12048
|
const L = b.line(y, x + u + d + s, y + g, x + u + d + s, C);
|
|
12049
12049
|
h.insert(() => L).attr("style", i);
|
|
@@ -12110,20 +12110,20 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
12110
12110
|
t.width = o;
|
|
12111
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;
|
|
12112
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) + ")");
|
|
12113
|
-
let
|
|
12114
|
-
const { rx:
|
|
12113
|
+
let I;
|
|
12114
|
+
const { rx: $, ry: O } = t, { cssStyles: B } = t;
|
|
12115
12115
|
if (t.look === "handDrawn") {
|
|
12116
|
-
const W = U.svg(s), P = G(t, {}), E =
|
|
12117
|
-
|
|
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);
|
|
12118
12118
|
} else {
|
|
12119
|
-
|
|
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);
|
|
12120
12120
|
const W = "priority" in t && t.priority;
|
|
12121
12121
|
if (W) {
|
|
12122
|
-
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);
|
|
12123
12123
|
P.attr("x1", E).attr("y1", M).attr("x2", E).attr("y2", _).attr("stroke-width", "4").attr("stroke", Sb(W));
|
|
12124
12124
|
}
|
|
12125
12125
|
}
|
|
12126
|
-
return X(t,
|
|
12126
|
+
return X(t, I), t.height = k, t.intersect = function(W) {
|
|
12127
12127
|
return Y.rect(t, W);
|
|
12128
12128
|
}, s;
|
|
12129
12129
|
}
|
|
@@ -12393,14 +12393,14 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
12393
12393
|
name: "Curly Brace",
|
|
12394
12394
|
shortName: "brace-r",
|
|
12395
12395
|
description: "Adds a comment",
|
|
12396
|
-
handler:
|
|
12396
|
+
handler: Ih
|
|
12397
12397
|
},
|
|
12398
12398
|
{
|
|
12399
12399
|
semanticName: "Comment with braces on both sides",
|
|
12400
12400
|
name: "Curly Braces",
|
|
12401
12401
|
shortName: "braces",
|
|
12402
12402
|
description: "Adds a comment",
|
|
12403
|
-
handler:
|
|
12403
|
+
handler: $h
|
|
12404
12404
|
},
|
|
12405
12405
|
{
|
|
12406
12406
|
semanticName: "Com Link",
|
|
@@ -12679,7 +12679,7 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
12679
12679
|
};
|
|
12680
12680
|
f(_b, "isValidShape");
|
|
12681
12681
|
var ea = /* @__PURE__ */ new Map();
|
|
12682
|
-
|
|
12682
|
+
Iu = async function(e, t, r) {
|
|
12683
12683
|
let i, a;
|
|
12684
12684
|
t.shape === "rect" && (t.rx && t.ry ? t.shape = "roundedRect" : t.shape = "squareRect");
|
|
12685
12685
|
const n = t.shape ? Ou[t.shape] : void 0;
|
|
@@ -12690,7 +12690,7 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
12690
12690
|
} else a = await n(e, t, r), i = a;
|
|
12691
12691
|
return t.tooltip && a.attr("title", t.tooltip), ea.set(t.id, i), t.haveCallback && i.attr("class", i.attr("class") + " clickable"), i;
|
|
12692
12692
|
};
|
|
12693
|
-
f(
|
|
12693
|
+
f(Iu, "insertNode");
|
|
12694
12694
|
let Bb, Lb, Zs, Wi, St, Br;
|
|
12695
12695
|
sv = f((e, t) => {
|
|
12696
12696
|
ea.set(t.id, e);
|
|
@@ -12942,7 +12942,7 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
12942
12942
|
} else D.warn("abc88 outside", n, i), i = n, a || r.push(n);
|
|
12943
12943
|
}), D.debug("returning points", r), r;
|
|
12944
12944
|
}, "cutPathAtIntersect");
|
|
12945
|
-
function
|
|
12945
|
+
function $u(e) {
|
|
12946
12946
|
const t = [], r = [];
|
|
12947
12947
|
for (let i = 1; i < e.length - 1; i++) {
|
|
12948
12948
|
const a = e[i - 1], n = e[i], o = e[i + 1];
|
|
@@ -12953,8 +12953,8 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
12953
12953
|
cornerPointPositions: r
|
|
12954
12954
|
};
|
|
12955
12955
|
}
|
|
12956
|
-
f(
|
|
12957
|
-
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;
|
|
12958
12958
|
Js = f(function(e, t, r) {
|
|
12959
12959
|
const i = t.x - e.x, a = t.y - e.y, n = Math.sqrt(i * i + a * a), o = r / n;
|
|
12960
12960
|
return {
|
|
@@ -12963,7 +12963,7 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
12963
12963
|
};
|
|
12964
12964
|
}, "findAdjacentPoint");
|
|
12965
12965
|
Db = f(function(e) {
|
|
12966
|
-
const { cornerPointPositions: t } =
|
|
12966
|
+
const { cornerPointPositions: t } = $u(e), r = [];
|
|
12967
12967
|
for (let i = 0; i < e.length; i++) if (t.includes(i)) {
|
|
12968
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;
|
|
12969
12969
|
r.push(s);
|
|
@@ -12994,9 +12994,9 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
12994
12994
|
const h = a;
|
|
12995
12995
|
var u = n;
|
|
12996
12996
|
const p = [];
|
|
12997
|
-
for (const
|
|
12997
|
+
for (const $ in t.cssCompiledStyles) xh($) || p.push(t.cssCompiledStyles[$]);
|
|
12998
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);
|
|
12999
|
-
let d = l.filter((
|
|
12999
|
+
let d = l.filter(($) => !Number.isNaN($.y));
|
|
13000
13000
|
d = Db(d);
|
|
13001
13001
|
let g = ci;
|
|
13002
13002
|
switch (g = Aa, t.curve) {
|
|
@@ -13071,11 +13071,11 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
13071
13071
|
const k = Array.isArray(t.style) ? t.style : [
|
|
13072
13072
|
t.style
|
|
13073
13073
|
];
|
|
13074
|
-
let L = k.find((
|
|
13074
|
+
let L = k.find(($) => $ == null ? void 0 : $.startsWith("stroke:"));
|
|
13075
13075
|
if (t.look === "handDrawn") {
|
|
13076
|
-
const
|
|
13076
|
+
const $ = U.svg(e);
|
|
13077
13077
|
Object.assign([], d);
|
|
13078
|
-
const O =
|
|
13078
|
+
const O = $.path(S, {
|
|
13079
13079
|
roughness: 0.3,
|
|
13080
13080
|
seed: s
|
|
13081
13081
|
});
|
|
@@ -13083,23 +13083,23 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
13083
13083
|
let B = C.attr("d");
|
|
13084
13084
|
C.attr("d", B), e.node().appendChild(C.node());
|
|
13085
13085
|
} else {
|
|
13086
|
-
const
|
|
13086
|
+
const $ = p.join(";"), O = k ? k.reduce((P, E) => P + E + ";", "") : "";
|
|
13087
13087
|
let B = "";
|
|
13088
13088
|
t.animate && (B = " edge-animation-fast"), t.animation && (B = " edge-animation-" + t.animation);
|
|
13089
|
-
const W =
|
|
13089
|
+
const W = $ ? $ + ";" + O + ";" : O;
|
|
13090
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];
|
|
13091
13091
|
}
|
|
13092
13092
|
let T = "";
|
|
13093
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);
|
|
13094
|
-
let
|
|
13095
|
-
return c && (
|
|
13094
|
+
let I = {};
|
|
13095
|
+
return c && (I.updatedPath = l), I.originalPath = t.points, I;
|
|
13096
13096
|
}, "insertEdge");
|
|
13097
|
-
|
|
13097
|
+
Ib = f((e, t, r, i) => {
|
|
13098
13098
|
t.forEach((a) => {
|
|
13099
13099
|
Zb[a](e, r, i);
|
|
13100
13100
|
});
|
|
13101
13101
|
}, "insertMarkers");
|
|
13102
|
-
|
|
13102
|
+
$b = f((e, t, r) => {
|
|
13103
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");
|
|
13104
13104
|
}, "extension");
|
|
13105
13105
|
Rb = f((e, t, r) => {
|
|
@@ -13155,7 +13155,7 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
13155
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);
|
|
13156
13156
|
}, "requirement_contains");
|
|
13157
13157
|
Zb = {
|
|
13158
|
-
extension:
|
|
13158
|
+
extension: $b,
|
|
13159
13159
|
composition: Rb,
|
|
13160
13160
|
aggregation: Pb,
|
|
13161
13161
|
dependency: Nb,
|
|
@@ -13171,7 +13171,7 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
13171
13171
|
requirement_arrow: Vb,
|
|
13172
13172
|
requirement_contains: Kb
|
|
13173
13173
|
};
|
|
13174
|
-
Qb =
|
|
13174
|
+
Qb = Ib;
|
|
13175
13175
|
Jb = {
|
|
13176
13176
|
common: dr,
|
|
13177
13177
|
getConfig: zt,
|
|
@@ -13179,7 +13179,7 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
13179
13179
|
insertEdge: Ob,
|
|
13180
13180
|
insertEdgeLabel: Ab,
|
|
13181
13181
|
insertMarkers: Qb,
|
|
13182
|
-
insertNode:
|
|
13182
|
+
insertNode: Iu,
|
|
13183
13183
|
interpolateToCurve: Dn,
|
|
13184
13184
|
labelHelper: it,
|
|
13185
13185
|
log: D,
|
|
@@ -13193,7 +13193,7 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
13193
13193
|
Ru([
|
|
13194
13194
|
{
|
|
13195
13195
|
name: "dagre",
|
|
13196
|
-
loader: f(async () => await import("./dagre-OKDRZEBW-
|
|
13196
|
+
loader: f(async () => await import("./dagre-OKDRZEBW-Cf4E0tcQ.js"), "loader")
|
|
13197
13197
|
}
|
|
13198
13198
|
]);
|
|
13199
13199
|
}, "registerDefaultLayoutLoaders");
|
|
@@ -13632,7 +13632,7 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
13632
13632
|
return ne(r = cn(e.children, i)) ? e.return = e.value + "{" + r + "}" : "";
|
|
13633
13633
|
}
|
|
13634
13634
|
var Yu = "c4", bC = f((e) => /^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/.test(e), "detector"), CC = f(async () => {
|
|
13635
|
-
const { diagram: e } = await import("./c4Diagram-VJAJSXHY-
|
|
13635
|
+
const { diagram: e } = await import("./c4Diagram-VJAJSXHY-DDeShbdo.js");
|
|
13636
13636
|
return {
|
|
13637
13637
|
id: Yu,
|
|
13638
13638
|
diagram: e
|
|
@@ -13645,7 +13645,7 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
13645
13645
|
var _a3, _b3;
|
|
13646
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);
|
|
13647
13647
|
}, "detector"), kC = f(async () => {
|
|
13648
|
-
const { diagram: e } = await import("./flowDiagram-4HSFHLVR-
|
|
13648
|
+
const { diagram: e } = await import("./flowDiagram-4HSFHLVR-B8eWGv_4.js");
|
|
13649
13649
|
return {
|
|
13650
13650
|
id: Uu,
|
|
13651
13651
|
diagram: e
|
|
@@ -13658,7 +13658,7 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
13658
13658
|
var _a3, _b3, _c3;
|
|
13659
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));
|
|
13660
13660
|
}, "detector"), LC = f(async () => {
|
|
13661
|
-
const { diagram: e } = await import("./flowDiagram-4HSFHLVR-
|
|
13661
|
+
const { diagram: e } = await import("./flowDiagram-4HSFHLVR-B8eWGv_4.js");
|
|
13662
13662
|
return {
|
|
13663
13663
|
id: ju,
|
|
13664
13664
|
diagram: e
|
|
@@ -13668,7 +13668,7 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
13668
13668
|
detector: BC,
|
|
13669
13669
|
loader: LC
|
|
13670
13670
|
}, MC = AC, Gu = "er", EC = f((e) => /^\s*erDiagram/.test(e), "detector"), FC = f(async () => {
|
|
13671
|
-
const { diagram: e } = await import("./erDiagram-Q7BY3M3F-
|
|
13671
|
+
const { diagram: e } = await import("./erDiagram-Q7BY3M3F-BM8EIf4Y.js");
|
|
13672
13672
|
return {
|
|
13673
13673
|
id: Gu,
|
|
13674
13674
|
diagram: e
|
|
@@ -13677,18 +13677,18 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
13677
13677
|
id: Gu,
|
|
13678
13678
|
detector: EC,
|
|
13679
13679
|
loader: FC
|
|
13680
|
-
}, OC = DC, Xu = "gitGraph",
|
|
13681
|
-
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-Bn0xSVuH.js");
|
|
13682
13682
|
return {
|
|
13683
13683
|
id: Xu,
|
|
13684
13684
|
diagram: e
|
|
13685
13685
|
};
|
|
13686
13686
|
}, "loader"), RC = {
|
|
13687
13687
|
id: Xu,
|
|
13688
|
-
detector:
|
|
13689
|
-
loader:
|
|
13688
|
+
detector: IC,
|
|
13689
|
+
loader: $C
|
|
13690
13690
|
}, PC = RC, Vu = "gantt", NC = f((e) => /^\s*gantt/.test(e), "detector"), WC = f(async () => {
|
|
13691
|
-
const { diagram: e } = await import("./ganttDiagram-APWFNJXF-
|
|
13691
|
+
const { diagram: e } = await import("./ganttDiagram-APWFNJXF-CfT00QX5.js");
|
|
13692
13692
|
return {
|
|
13693
13693
|
id: Vu,
|
|
13694
13694
|
diagram: e
|
|
@@ -13698,7 +13698,7 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
13698
13698
|
detector: NC,
|
|
13699
13699
|
loader: WC
|
|
13700
13700
|
}, qC = zC, Ku = "info", HC = f((e) => /^\s*info/.test(e), "detector"), YC = f(async () => {
|
|
13701
|
-
const { diagram: e } = await import("./infoDiagram-PH2N3AL5-
|
|
13701
|
+
const { diagram: e } = await import("./infoDiagram-PH2N3AL5-C5U9bK5k.js");
|
|
13702
13702
|
return {
|
|
13703
13703
|
id: Ku,
|
|
13704
13704
|
diagram: e
|
|
@@ -13708,7 +13708,7 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
13708
13708
|
detector: HC,
|
|
13709
13709
|
loader: YC
|
|
13710
13710
|
}, Zu = "pie", jC = f((e) => /^\s*pie/.test(e), "detector"), GC = f(async () => {
|
|
13711
|
-
const { diagram: e } = await import("./pieDiagram-IB7DONF6-
|
|
13711
|
+
const { diagram: e } = await import("./pieDiagram-IB7DONF6-DR2TqAzZ.js");
|
|
13712
13712
|
return {
|
|
13713
13713
|
id: Zu,
|
|
13714
13714
|
diagram: e
|
|
@@ -13718,7 +13718,7 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
13718
13718
|
detector: jC,
|
|
13719
13719
|
loader: GC
|
|
13720
13720
|
}, Qu = "quadrantChart", VC = f((e) => /^\s*quadrantChart/.test(e), "detector"), KC = f(async () => {
|
|
13721
|
-
const { diagram: e } = await import("./quadrantDiagram-7GDLP6J5-
|
|
13721
|
+
const { diagram: e } = await import("./quadrantDiagram-7GDLP6J5-C7NFvJc5.js");
|
|
13722
13722
|
return {
|
|
13723
13723
|
id: Qu,
|
|
13724
13724
|
diagram: e
|
|
@@ -13728,7 +13728,7 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
13728
13728
|
detector: VC,
|
|
13729
13729
|
loader: KC
|
|
13730
13730
|
}, QC = ZC, Ju = "xychart", JC = f((e) => /^\s*xychart-beta/.test(e), "detector"), t2 = f(async () => {
|
|
13731
|
-
const { diagram: e } = await import("./xychartDiagram-VJFVF3MP-
|
|
13731
|
+
const { diagram: e } = await import("./xychartDiagram-VJFVF3MP-Ct-XemVt.js");
|
|
13732
13732
|
return {
|
|
13733
13733
|
id: Ju,
|
|
13734
13734
|
diagram: e
|
|
@@ -13738,7 +13738,7 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
13738
13738
|
detector: JC,
|
|
13739
13739
|
loader: t2
|
|
13740
13740
|
}, r2 = e2, td = "requirement", i2 = f((e) => /^\s*requirement(Diagram)?/.test(e), "detector"), a2 = f(async () => {
|
|
13741
|
-
const { diagram: e } = await import("./requirementDiagram-KVF5MWMF-
|
|
13741
|
+
const { diagram: e } = await import("./requirementDiagram-KVF5MWMF-DJ7y1kYn.js");
|
|
13742
13742
|
return {
|
|
13743
13743
|
id: td,
|
|
13744
13744
|
diagram: e
|
|
@@ -13748,7 +13748,7 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
13748
13748
|
detector: i2,
|
|
13749
13749
|
loader: a2
|
|
13750
13750
|
}, s2 = n2, ed = "sequence", o2 = f((e) => /^\s*sequenceDiagram/.test(e), "detector"), l2 = f(async () => {
|
|
13751
|
-
const { diagram: e } = await import("./sequenceDiagram-X6HHIX6F-
|
|
13751
|
+
const { diagram: e } = await import("./sequenceDiagram-X6HHIX6F-B6nSDBKh.js");
|
|
13752
13752
|
return {
|
|
13753
13753
|
id: ed,
|
|
13754
13754
|
diagram: e
|
|
@@ -13761,7 +13761,7 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
13761
13761
|
var _a3;
|
|
13762
13762
|
return ((_a3 = t == null ? void 0 : t.class) == null ? void 0 : _a3.defaultRenderer) === "dagre-wrapper" ? false : /^\s*classDiagram/.test(e);
|
|
13763
13763
|
}, "detector"), d2 = f(async () => {
|
|
13764
|
-
const { diagram: e } = await import("./classDiagram-GIVACNV2-
|
|
13764
|
+
const { diagram: e } = await import("./classDiagram-GIVACNV2-IWnxgzZX.js");
|
|
13765
13765
|
return {
|
|
13766
13766
|
id: rd,
|
|
13767
13767
|
diagram: e
|
|
@@ -13774,7 +13774,7 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
13774
13774
|
var _a3;
|
|
13775
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);
|
|
13776
13776
|
}, "detector"), m2 = f(async () => {
|
|
13777
|
-
const { diagram: e } = await import("./classDiagram-v2-COTLJTTW-
|
|
13777
|
+
const { diagram: e } = await import("./classDiagram-v2-COTLJTTW-IWnxgzZX.js");
|
|
13778
13778
|
return {
|
|
13779
13779
|
id,
|
|
13780
13780
|
diagram: e
|
|
@@ -13787,7 +13787,7 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
13787
13787
|
var _a3;
|
|
13788
13788
|
return ((_a3 = t == null ? void 0 : t.state) == null ? void 0 : _a3.defaultRenderer) === "dagre-wrapper" ? false : /^\s*stateDiagram/.test(e);
|
|
13789
13789
|
}, "detector"), C2 = f(async () => {
|
|
13790
|
-
const { diagram: e } = await import("./stateDiagram-DGXRK772-
|
|
13790
|
+
const { diagram: e } = await import("./stateDiagram-DGXRK772-Rwc63b-i.js");
|
|
13791
13791
|
return {
|
|
13792
13792
|
id: ad,
|
|
13793
13793
|
diagram: e
|
|
@@ -13800,7 +13800,7 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
13800
13800
|
var _a3;
|
|
13801
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");
|
|
13802
13802
|
}, "detector"), k2 = f(async () => {
|
|
13803
|
-
const { diagram: e } = await import("./stateDiagram-v2-YXO3MK2T-
|
|
13803
|
+
const { diagram: e } = await import("./stateDiagram-v2-YXO3MK2T-C8v91yes.js");
|
|
13804
13804
|
return {
|
|
13805
13805
|
id: nd,
|
|
13806
13806
|
diagram: e
|
|
@@ -13810,7 +13810,7 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
13810
13810
|
detector: S2,
|
|
13811
13811
|
loader: k2
|
|
13812
13812
|
}, _2 = T2, sd = "journey", B2 = f((e) => /^\s*journey/.test(e), "detector"), L2 = f(async () => {
|
|
13813
|
-
const { diagram: e } = await import("./journeyDiagram-U35MCT3I-
|
|
13813
|
+
const { diagram: e } = await import("./journeyDiagram-U35MCT3I-8QQwJhFO.js");
|
|
13814
13814
|
return {
|
|
13815
13815
|
id: sd,
|
|
13816
13816
|
diagram: e
|
|
@@ -13833,21 +13833,21 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
13833
13833
|
parse: f(() => {
|
|
13834
13834
|
}, "parse")
|
|
13835
13835
|
}
|
|
13836
|
-
}, O2 = D2, ld = "flowchart-elk",
|
|
13836
|
+
}, O2 = D2, ld = "flowchart-elk", I2 = f((e, t = {}) => {
|
|
13837
13837
|
var _a3;
|
|
13838
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;
|
|
13839
|
-
}, "detector"),
|
|
13840
|
-
const { diagram: e } = await import("./flowDiagram-4HSFHLVR-
|
|
13839
|
+
}, "detector"), $2 = f(async () => {
|
|
13840
|
+
const { diagram: e } = await import("./flowDiagram-4HSFHLVR-B8eWGv_4.js");
|
|
13841
13841
|
return {
|
|
13842
13842
|
id: ld,
|
|
13843
13843
|
diagram: e
|
|
13844
13844
|
};
|
|
13845
13845
|
}, "loader"), R2 = {
|
|
13846
13846
|
id: ld,
|
|
13847
|
-
detector:
|
|
13848
|
-
loader:
|
|
13847
|
+
detector: I2,
|
|
13848
|
+
loader: $2
|
|
13849
13849
|
}, P2 = R2, cd = "timeline", N2 = f((e) => /^\s*timeline/.test(e), "detector"), W2 = f(async () => {
|
|
13850
|
-
const { diagram: e } = await import("./timeline-definition-BDJGKUSR
|
|
13850
|
+
const { diagram: e } = await import("./timeline-definition-BDJGKUSR--pcHIBui.js");
|
|
13851
13851
|
return {
|
|
13852
13852
|
id: cd,
|
|
13853
13853
|
diagram: e
|
|
@@ -13857,7 +13857,7 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
13857
13857
|
detector: N2,
|
|
13858
13858
|
loader: W2
|
|
13859
13859
|
}, q2 = z2, hd = "mindmap", H2 = f((e) => /^\s*mindmap/.test(e), "detector"), Y2 = f(async () => {
|
|
13860
|
-
const { diagram: e } = await import("./mindmap-definition-ALO5MXBD-
|
|
13860
|
+
const { diagram: e } = await import("./mindmap-definition-ALO5MXBD-BsVojdHv.js");
|
|
13861
13861
|
return {
|
|
13862
13862
|
id: hd,
|
|
13863
13863
|
diagram: e
|
|
@@ -13867,7 +13867,7 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
13867
13867
|
detector: H2,
|
|
13868
13868
|
loader: Y2
|
|
13869
13869
|
}, j2 = U2, ud = "kanban", G2 = f((e) => /^\s*kanban/.test(e), "detector"), X2 = f(async () => {
|
|
13870
|
-
const { diagram: e } = await import("./kanban-definition-NDS4AKOZ-
|
|
13870
|
+
const { diagram: e } = await import("./kanban-definition-NDS4AKOZ-BxbVxsko.js");
|
|
13871
13871
|
return {
|
|
13872
13872
|
id: ud,
|
|
13873
13873
|
diagram: e
|
|
@@ -13877,7 +13877,7 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
13877
13877
|
detector: G2,
|
|
13878
13878
|
loader: X2
|
|
13879
13879
|
}, K2 = V2, dd = "sankey", Z2 = f((e) => /^\s*sankey-beta/.test(e), "detector"), Q2 = f(async () => {
|
|
13880
|
-
const { diagram: e } = await import("./sankeyDiagram-QLVOVGJD-
|
|
13880
|
+
const { diagram: e } = await import("./sankeyDiagram-QLVOVGJD-Dh42Pp3-.js");
|
|
13881
13881
|
return {
|
|
13882
13882
|
id: dd,
|
|
13883
13883
|
diagram: e
|
|
@@ -13887,7 +13887,7 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
13887
13887
|
detector: Z2,
|
|
13888
13888
|
loader: Q2
|
|
13889
13889
|
}, t1 = J2, fd = "packet", e1 = f((e) => /^\s*packet-beta/.test(e), "detector"), r1 = f(async () => {
|
|
13890
|
-
const { diagram: e } = await import("./diagram-VNBRO52H-
|
|
13890
|
+
const { diagram: e } = await import("./diagram-VNBRO52H-CbmTF2Lb.js");
|
|
13891
13891
|
return {
|
|
13892
13892
|
id: fd,
|
|
13893
13893
|
diagram: e
|
|
@@ -13897,7 +13897,7 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
13897
13897
|
detector: e1,
|
|
13898
13898
|
loader: r1
|
|
13899
13899
|
}, pd = "radar", a1 = f((e) => /^\s*radar-beta/.test(e), "detector"), n1 = f(async () => {
|
|
13900
|
-
const { diagram: e } = await import("./diagram-SSKATNLV-
|
|
13900
|
+
const { diagram: e } = await import("./diagram-SSKATNLV-CBAcMU3S.js");
|
|
13901
13901
|
return {
|
|
13902
13902
|
id: pd,
|
|
13903
13903
|
diagram: e
|
|
@@ -13907,7 +13907,7 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
13907
13907
|
detector: a1,
|
|
13908
13908
|
loader: n1
|
|
13909
13909
|
}, gd = "block", o1 = f((e) => /^\s*block-beta/.test(e), "detector"), l1 = f(async () => {
|
|
13910
|
-
const { diagram: e } = await import("./blockDiagram-JOT3LUYC-
|
|
13910
|
+
const { diagram: e } = await import("./blockDiagram-JOT3LUYC-D-rpQPox.js");
|
|
13911
13911
|
return {
|
|
13912
13912
|
id: gd,
|
|
13913
13913
|
diagram: e
|
|
@@ -13917,7 +13917,7 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
13917
13917
|
detector: o1,
|
|
13918
13918
|
loader: l1
|
|
13919
13919
|
}, h1 = c1, md = "architecture", u1 = f((e) => /^\s*architecture/.test(e), "detector"), d1 = f(async () => {
|
|
13920
|
-
const { diagram: e } = await import("./architectureDiagram-IEHRJDOE-
|
|
13920
|
+
const { diagram: e } = await import("./architectureDiagram-IEHRJDOE-B7XIh0hF.js");
|
|
13921
13921
|
return {
|
|
13922
13922
|
id: md,
|
|
13923
13923
|
diagram: e
|
|
@@ -13948,7 +13948,7 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
13948
13948
|
D.debug("Loading registered diagrams");
|
|
13949
13949
|
const t = (await Promise.allSettled(Object.entries(ir).map(async ([r, { detector: i, loader: a }]) => {
|
|
13950
13950
|
if (a) try {
|
|
13951
|
-
|
|
13951
|
+
Ia(r);
|
|
13952
13952
|
} catch {
|
|
13953
13953
|
try {
|
|
13954
13954
|
const { diagram: n, id: o } = await a();
|
|
@@ -13991,14 +13991,14 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
13991
13991
|
t = Dx(t) + `
|
|
13992
13992
|
`;
|
|
13993
13993
|
try {
|
|
13994
|
-
|
|
13994
|
+
Ia(a);
|
|
13995
13995
|
} catch {
|
|
13996
13996
|
const c = ip(a);
|
|
13997
13997
|
if (!c) throw new Mo(`Diagram ${a} not found.`);
|
|
13998
13998
|
const { id: h, diagram: u } = await c();
|
|
13999
13999
|
_i(h, u);
|
|
14000
14000
|
}
|
|
14001
|
-
const { db: n, parser: o, renderer: s, init: l } =
|
|
14001
|
+
const { db: n, parser: o, renderer: s, init: l } = Ia(a);
|
|
14002
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);
|
|
14003
14003
|
}
|
|
14004
14004
|
async render(t, r) {
|
|
@@ -14061,9 +14061,9 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
14061
14061
|
return btoa(r);
|
|
14062
14062
|
}
|
|
14063
14063
|
f(vd, "toBase64");
|
|
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.',
|
|
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 = [
|
|
14065
14065
|
"foreignobject"
|
|
14066
|
-
],
|
|
14066
|
+
], $1 = [
|
|
14067
14067
|
"dominant-baseline"
|
|
14068
14068
|
];
|
|
14069
14069
|
function Gn(e) {
|
|
@@ -14177,15 +14177,15 @@ ${e.themeCSS}`), e.fontFamily !== void 0 && (r += `
|
|
|
14177
14177
|
} catch (W) {
|
|
14178
14178
|
throw a.suppressErrorRendering ? h() : F2.draw(t, e, to.version), W;
|
|
14179
14179
|
}
|
|
14180
|
-
const
|
|
14181
|
-
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);
|
|
14182
14182
|
let B = u.select(c).node().innerHTML;
|
|
14183
14183
|
if (D.debug("config.arrowMarkerAbsolute", a.arrowMarkerAbsolute), B = N1(B, p, xt(a.arrowMarkerAbsolute)), p) {
|
|
14184
14184
|
const W = u.select(c + " svg").node();
|
|
14185
14185
|
B = W1(B, W);
|
|
14186
14186
|
} else d || (B = rr.sanitize(B, {
|
|
14187
|
-
ADD_TAGS:
|
|
14188
|
-
ADD_ATTR:
|
|
14187
|
+
ADD_TAGS: I1,
|
|
14188
|
+
ADD_ATTR: $1,
|
|
14189
14189
|
HTML_INTEGRATION_POINTS: {
|
|
14190
14190
|
foreignobject: true
|
|
14191
14191
|
}
|
|
@@ -14442,7 +14442,7 @@ export {
|
|
|
14442
14442
|
Gp as E,
|
|
14443
14443
|
Pn as F,
|
|
14444
14444
|
zt as G,
|
|
14445
|
-
|
|
14445
|
+
Io as H,
|
|
14446
14446
|
Tx as I,
|
|
14447
14447
|
em as J,
|
|
14448
14448
|
eC as K,
|
|
@@ -14454,7 +14454,7 @@ export {
|
|
|
14454
14454
|
gn as Q,
|
|
14455
14455
|
Ls as R,
|
|
14456
14456
|
kx as S,
|
|
14457
|
-
|
|
14457
|
+
Ip as T,
|
|
14458
14458
|
rt as U,
|
|
14459
14459
|
Hr as V,
|
|
14460
14460
|
H as W,
|
|
@@ -14464,7 +14464,7 @@ export {
|
|
|
14464
14464
|
f as _,
|
|
14465
14465
|
__tla,
|
|
14466
14466
|
zp as a,
|
|
14467
|
-
|
|
14467
|
+
Iu as a0,
|
|
14468
14468
|
lv as a1,
|
|
14469
14469
|
im as a2,
|
|
14470
14470
|
xt as a3,
|