@marimo-team/islands 0.14.8-dev25 → 0.14.8-dev7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (68) hide show
  1. package/dist/{ConnectedDataExplorerComponent-DJn2d5rk.js → ConnectedDataExplorerComponent-CxeUN7JK.js} +2 -2
  2. package/dist/{ImageComparisonComponent-DGRCahCv.js → ImageComparisonComponent-YK5VwnJU.js} +1 -1
  3. package/dist/VegaLite-CNJ2iGLb.js +16431 -0
  4. package/dist/{_baseUniq-Cu91Ub7P.js → _baseUniq-iN57524K.js} +70 -70
  5. package/dist/{any-language-editor-CH1PO3OO.js → any-language-editor-BFfIAbsv.js} +1 -1
  6. package/dist/{architectureDiagram-IEHRJDOE-DgzH_f37.js → architectureDiagram-IEHRJDOE-BzegtP1u.js} +5 -5
  7. package/dist/assets/{save-worker-BIDtxCd1.js → save-worker-CtVuV4Hi.js} +6 -2
  8. package/dist/assets/{worker-BcyuOSTi.js → worker-BU1a2jgP.js} +49 -56
  9. package/dist/assets/{worker-CvZsFYw-.js → worker-D1meHkT8.js} +13 -21
  10. package/dist/{blockDiagram-JOT3LUYC-B4q-hKC7.js → blockDiagram-JOT3LUYC-DOW2FHGf.js} +5 -5
  11. package/dist/{c4Diagram-VJAJSXHY-9cCFRfMJ.js → c4Diagram-VJAJSXHY-DCV5s_Jx.js} +2 -2
  12. package/dist/{channel-CsinGo0Y.js → channel-oHractDU.js} +1 -1
  13. package/dist/{chunk-4BMEZGHF-HIqfIcWy.js → chunk-4BMEZGHF-CJPOss6P.js} +1 -1
  14. package/dist/{chunk-A2AXSNBT-Bbof8y8A.js → chunk-A2AXSNBT-Y1xQITfM.js} +2 -2
  15. package/dist/{chunk-AEK57VVT-CQeyyCEx.js → chunk-AEK57VVT-DvekwgqO.js} +2 -2
  16. package/dist/{chunk-D6G4REZN-Cy7kNvX2.js → chunk-D6G4REZN-OKVjMC0y.js} +1 -1
  17. package/dist/{chunk-RZ5BOZE2-Yi1Y3AHQ.js → chunk-RZ5BOZE2-DoDc6m72.js} +1 -1
  18. package/dist/{chunk-XZIHB7SX-BvxSakOA.js → chunk-XZIHB7SX-k3eGypmn.js} +1 -1
  19. package/dist/{classDiagram-GIVACNV2-DOEwT_h6.js → classDiagram-GIVACNV2-ByUBaRZv.js} +2 -2
  20. package/dist/{classDiagram-v2-COTLJTTW-DOEwT_h6.js → classDiagram-v2-COTLJTTW-ByUBaRZv.js} +2 -2
  21. package/dist/{clone-S1NbW29x.js → clone-CMcgmF0h.js} +1 -1
  22. package/dist/{dagre-OKDRZEBW-GnlAnUyN.js → dagre-OKDRZEBW-B5_te9et.js} +6 -6
  23. package/dist/{data-editor-BI7ZCjV8.js → data-editor-EJ4alBPb.js} +1 -1
  24. package/dist/{diagram-SSKATNLV-CzkPbMhr.js → diagram-SSKATNLV-C0hLO3pR.js} +3 -3
  25. package/dist/{diagram-VNBRO52H-KQf0vBns.js → diagram-VNBRO52H-sEYpBGnf.js} +3 -3
  26. package/dist/{erDiagram-Q7BY3M3F-Df61eLF8.js → erDiagram-Q7BY3M3F-Jol8Ambn.js} +3 -3
  27. package/dist/{flowDiagram-4HSFHLVR-CPAjnzuW.js → flowDiagram-4HSFHLVR-D5rpwNAK.js} +3 -3
  28. package/dist/{ganttDiagram-APWFNJXF-CaBReSRm.js → ganttDiagram-APWFNJXF-XcvzLww9.js} +280 -282
  29. package/dist/{gitGraphDiagram-7IBYFJ6S-s03PhjmT.js → gitGraphDiagram-7IBYFJ6S-CZmb36Bk.js} +4 -4
  30. package/dist/{graph-D6FiPt4g.js → graph-B2pcxKk4.js} +3 -3
  31. package/dist/{index-DH126Ggu.js → index-BUhRsHz-.js} +3 -3
  32. package/dist/{index-DhDGJLh4.js → index-D5MOQJD0.js} +1 -1
  33. package/dist/{index-BB-VzHOO.js → index-DzHHV_sf.js} +1 -1
  34. package/dist/{index-DpJ-pJta.js → index-PZPzHT2Q.js} +1 -1
  35. package/dist/{infoDiagram-PH2N3AL5-C7P7A9lQ.js → infoDiagram-PH2N3AL5-Cb1U-g_b.js} +2 -2
  36. package/dist/{journeyDiagram-U35MCT3I-DRsnBhXJ.js → journeyDiagram-U35MCT3I-DM2o4_w_.js} +3 -3
  37. package/dist/{kanban-definition-NDS4AKOZ-DdN9IThO.js → kanban-definition-NDS4AKOZ-D6PixWL6.js} +1 -1
  38. package/dist/{layout-Dc-5gyD5.js → layout-De_Ygrtj.js} +55 -55
  39. package/dist/{main-BrvdfZz-.js → main-CbfmTxN_.js} +74126 -51997
  40. package/dist/main.js +1 -1
  41. package/dist/{mermaid-CpBz1_ZE.js → mermaid-CnEKePr2.js} +338 -339
  42. package/dist/min-kpuuttvU.js +80 -0
  43. package/dist/{mindmap-definition-ALO5MXBD-CijpcDjc.js → mindmap-definition-ALO5MXBD-CsbA_uHZ.js} +2 -2
  44. package/dist/{pieDiagram-IB7DONF6-4n_0EMWY.js → pieDiagram-IB7DONF6-DHgmmzjL.js} +15 -17
  45. package/dist/{quadrantDiagram-7GDLP6J5-SizjW7Lc.js → quadrantDiagram-7GDLP6J5-5O1DGAg_.js} +2 -2
  46. package/dist/{radar-MK3ICKWK-Cm6GqbdK.js → radar-MK3ICKWK-DaQFAlXF.js} +5 -5
  47. package/dist/{react-plotly-BfSmgP4J.js → react-plotly-C6kzp9jq.js} +1 -1
  48. package/dist/{requirementDiagram-KVF5MWMF-BN4diDaK.js → requirementDiagram-KVF5MWMF-3TyMklrI.js} +2 -2
  49. package/dist/{sankeyDiagram-QLVOVGJD-hUVMSLKQ.js → sankeyDiagram-QLVOVGJD-CVZ08o7_.js} +68 -69
  50. package/dist/{sequenceDiagram-X6HHIX6F-CXdz5UrD.js → sequenceDiagram-X6HHIX6F-C_vdYZjz.js} +3 -3
  51. package/dist/{slides-component-BJ65ywIJ.js → slides-component-TWEtcI6h.js} +26 -26
  52. package/dist/{stateDiagram-DGXRK772-BqAKs0nX.js → stateDiagram-DGXRK772-CQey-3P4.js} +5 -5
  53. package/dist/{stateDiagram-v2-YXO3MK2T-DRwDo0eG.js → stateDiagram-v2-YXO3MK2T-DHtitbuJ.js} +2 -2
  54. package/dist/style.css +1 -1
  55. package/dist/{timeline-definition-BDJGKUSR-04fzuWTc.js → timeline-definition-BDJGKUSR-CsWgSrLN.js} +2 -2
  56. package/dist/{vega-component-BafGvbrl.js → vega-component-Iv6gIodh.js} +75 -75
  57. package/dist/{xychartDiagram-VJFVF3MP-BngC-qFn.js → xychartDiagram-VJFVF3MP-CvqveEJH.js} +6 -10
  58. package/package.json +6 -6
  59. package/dist/VegaLite-C4wW6Fac.js +0 -36029
  60. package/dist/arc-BXrety1g.js +0 -83
  61. package/dist/colors-BD7LS4qt.js +0 -7
  62. package/dist/init-DxzjmxYy.js +0 -32
  63. package/dist/linear-B44DDWPu.js +0 -211
  64. package/dist/min-BLiHSG2S.js +0 -80
  65. package/dist/ordinal-CYN5qNoq.js +0 -77
  66. package/dist/range-DdOGybNB.js +0 -9
  67. package/dist/time-BvdYJx29.js +0 -195
  68. package/dist/timer-BYwnU4DF.js +0 -1475
@@ -0,0 +1,80 @@
1
+ import { G as b, ag as m, ah as x, ai as O, aj as l, O as p, ak as w, al as P, am as o, an as I, ao as M, ap as A } from "./main-CbfmTxN_.js";
2
+ import { d as h, e as y, g as E } from "./_baseUniq-iN57524K.js";
3
+ var g = Object.prototype, F = g.hasOwnProperty, D = b(function(a, n) {
4
+ a = Object(a);
5
+ var r = -1, i = n.length, t = i > 2 ? n[2] : void 0;
6
+ for (t && m(n[0], n[1], t) && (i = 1); ++r < i; )
7
+ for (var s = n[r], e = x(s), f = -1, v = e.length; ++f < v; ) {
8
+ var u = e[f], d = a[u];
9
+ (d === void 0 || O(d, g[u]) && !F.call(a, u)) && (a[u] = s[u]);
10
+ }
11
+ return a;
12
+ });
13
+ function J(a) {
14
+ var n = a == null ? 0 : a.length;
15
+ return n ? a[n - 1] : void 0;
16
+ }
17
+ function L(a) {
18
+ return function(n, r, i) {
19
+ var t = Object(n);
20
+ if (!l(n)) {
21
+ var s = h(r);
22
+ n = p(n), r = function(f) {
23
+ return s(t[f], f, t);
24
+ };
25
+ }
26
+ var e = a(n, r, i);
27
+ return e > -1 ? t[s ? n[e] : e] : void 0;
28
+ };
29
+ }
30
+ var $ = Math.max;
31
+ function q(a, n, r) {
32
+ var i = a == null ? 0 : a.length;
33
+ if (!i)
34
+ return -1;
35
+ var t = r == null ? 0 : w(r);
36
+ return t < 0 && (t = $(i + t, 0)), y(a, h(n), t);
37
+ }
38
+ var K = L(q);
39
+ function C(a, n) {
40
+ var r = -1, i = l(a) ? Array(a.length) : [];
41
+ return E(a, function(t, s, e) {
42
+ i[++r] = n(t, s, e);
43
+ }), i;
44
+ }
45
+ function N(a, n) {
46
+ var r = o(a) ? P : C;
47
+ return r(a, h(n));
48
+ }
49
+ var G = Object.prototype, H = G.hasOwnProperty;
50
+ function R(a, n) {
51
+ return a != null && H.call(a, n);
52
+ }
53
+ function Q(a, n) {
54
+ return a != null && I(a, n, R);
55
+ }
56
+ function S(a, n) {
57
+ return a < n;
58
+ }
59
+ function j(a, n, r) {
60
+ for (var i = -1, t = a.length; ++i < t; ) {
61
+ var s = a[i], e = n(s);
62
+ if (e != null && (f === void 0 ? e === e && !M(e) : r(e, f)))
63
+ var f = e, v = s;
64
+ }
65
+ return v;
66
+ }
67
+ function T(a) {
68
+ return a && a.length ? j(a, A, S) : void 0;
69
+ }
70
+ export {
71
+ S as a,
72
+ j as b,
73
+ C as c,
74
+ T as d,
75
+ D as e,
76
+ K as f,
77
+ Q as h,
78
+ J as l,
79
+ N as m
80
+ };
@@ -1,6 +1,6 @@
1
- import { _ as S, l as z, c as ot, K as Nt, T as Dt, H as it, i as nt, V as mt, W as Ot, X as At, d as It, a4 as Ct, P as Rt } from "./mermaid-CpBz1_ZE.js";
1
+ import { _ as S, l as z, c as ot, K as Nt, T as Dt, H as it, i as nt, V as mt, W as Ot, X as At, d as It, a4 as Ct, P as Rt } from "./mermaid-CnEKePr2.js";
2
2
  import { c as dt } from "./cytoscape.esm-CCQ3SVU1.js";
3
- import { S as xt } from "./main-BrvdfZz-.js";
3
+ import { a0 as xt } from "./main-CbfmTxN_.js";
4
4
  var tt = { exports: {} }, et = { exports: {} }, rt = { exports: {} }, Mt = rt.exports, ut;
5
5
  function wt() {
6
6
  return ut || (ut = 1, function(I, w) {
@@ -1,9 +1,7 @@
1
- import { p as V } from "./chunk-4BMEZGHF-HIqfIcWy.js";
2
- import { _ as u, g as U, s as j, a as q, b as H, t as K, q as Z, l as F, c as J, F as Q, K as X, P as Y, e as tt, z as et, H as at } from "./mermaid-CpBz1_ZE.js";
3
- import { p as rt } from "./radar-MK3ICKWK-Cm6GqbdK.js";
4
- import { d as O } from "./arc-BXrety1g.js";
5
- import { o as nt } from "./ordinal-CYN5qNoq.js";
6
- import { a as y, t as z, n as it } from "./timer-BYwnU4DF.js";
1
+ import { p as V } from "./chunk-4BMEZGHF-CJPOss6P.js";
2
+ import { _ as u, g as U, s as Z, a as j, b as q, t as H, q as K, l as F, c as X, F as Y, K as J, P as Q, e as tt, z as et, H as at } from "./mermaid-CnEKePr2.js";
3
+ import { p as rt } from "./radar-MK3ICKWK-DaQFAlXF.js";
4
+ import { X as y, Y as z, Z as nt, g as O, B as it } from "./main-CbfmTxN_.js";
7
5
  function st(t, a) {
8
6
  return a < t ? -1 : a > t ? 1 : a >= t ? 0 : NaN;
9
7
  }
@@ -13,7 +11,7 @@ function ot(t) {
13
11
  function lt() {
14
12
  var t = ot, a = st, h = null, s = y(0), p = y(z), x = y(0);
15
13
  function i(e) {
16
- var r, l = (e = it(e)).length, d, A, m = 0, c = new Array(l), n = new Array(l), v = +s.apply(this, arguments), w = Math.min(z, Math.max(-z, p.apply(this, arguments) - v)), f, T = Math.min(Math.abs(w) / l, x.apply(this, arguments)), $ = T * (w < 0 ? -1 : 1), g;
14
+ var r, l = (e = nt(e)).length, d, A, m = 0, c = new Array(l), n = new Array(l), v = +s.apply(this, arguments), w = Math.min(z, Math.max(-z, p.apply(this, arguments) - v)), f, T = Math.min(Math.abs(w) / l, x.apply(this, arguments)), $ = T * (w < 0 ? -1 : 1), g;
17
15
  for (r = 0; r < l; ++r)
18
16
  (g = n[c[r] = r] = +t(e[r], r, e)) > 0 && (m += g);
19
17
  for (a != null ? c.sort(function(S, C) {
@@ -57,11 +55,11 @@ var ct = at.pie, G = {
57
55
  }, "setShowData"), mt = /* @__PURE__ */ u(() => P, "getShowData"), R = {
58
56
  getConfig: pt,
59
57
  clear: dt,
60
- setDiagramTitle: Z,
61
- getDiagramTitle: K,
62
- setAccTitle: H,
63
- getAccTitle: q,
64
- setAccDescription: j,
58
+ setDiagramTitle: K,
59
+ getDiagramTitle: H,
60
+ setAccTitle: q,
61
+ getAccTitle: j,
62
+ setAccDescription: Z,
65
63
  getAccDescription: U,
66
64
  addSection: gt,
67
65
  getSections: ft,
@@ -113,10 +111,10 @@ var ct = at.pie, G = {
113
111
  }, "createPieArcs"), wt = /* @__PURE__ */ u((t, a, h, s) => {
114
112
  F.debug(`rendering pie chart
115
113
  ` + t);
116
- const p = s.db, x = J(), i = Q(p.getConfig(), x.pie), e = 40, r = 18, l = 4, d = 450, A = d, m = X(a), c = m.append("g");
114
+ const p = s.db, x = X(), i = Y(p.getConfig(), x.pie), e = 40, r = 18, l = 4, d = 450, A = d, m = J(a), c = m.append("g");
117
115
  c.attr("transform", "translate(" + A / 2 + "," + d / 2 + ")");
118
116
  const { themeVariables: n } = x;
119
- let [v] = Y(n.pieOuterStrokeWidth);
117
+ let [v] = Q(n.pieOuterStrokeWidth);
120
118
  v ?? (v = 2);
121
119
  const w = i.textPosition, f = Math.min(A, d) / 2 - e, T = O().innerRadius(0).outerRadius(f), $ = O().innerRadius(f * w).outerRadius(f * w);
122
120
  c.append("circle").attr("cx", 0).attr("cy", 0).attr("r", f + v / 2).attr("class", "pieOuterCircle");
@@ -133,7 +131,7 @@ var ct = at.pie, G = {
133
131
  n.pie10,
134
132
  n.pie11,
135
133
  n.pie12
136
- ], D = nt(C);
134
+ ], D = it(C);
137
135
  c.selectAll("mySlices").data(S).enter().append("path").attr("d", T).attr("fill", (o) => D(o.data.label)).attr("class", "pieCircle");
138
136
  let W = 0;
139
137
  g.forEach((o) => {
@@ -151,12 +149,12 @@ var ct = at.pie, G = {
151
149
  ...M.selectAll("text").nodes().map((o) => (o == null ? void 0 : o.getBoundingClientRect().width) ?? 0)
152
150
  ), N = A + e + r + l + I;
153
151
  m.attr("viewBox", `0 0 ${N} ${d}`), tt(m, d, N, i.useMaxWidth);
154
- }, "draw"), Ct = { draw: wt }, Mt = {
152
+ }, "draw"), Ct = { draw: wt }, Et = {
155
153
  parser: St,
156
154
  db: R,
157
155
  renderer: Ct,
158
156
  styles: xt
159
157
  };
160
158
  export {
161
- Mt as diagram
159
+ Et as diagram
162
160
  };
@@ -1,6 +1,6 @@
1
1
  var _a, _b;
2
- import { _ as r, s as be, g as Se, t as te, q as _e, a as Ae, b as ke, c as Et, l as qt, d as vt, e as Fe, z as Pe, H as D, M as ve, i as Ce } from "./mermaid-CpBz1_ZE.js";
3
- import { l as $t } from "./linear-B44DDWPu.js";
2
+ import { _ as r, s as be, g as Se, t as te, q as _e, a as Ae, b as ke, c as Et, l as qt, d as vt, e as Fe, z as Pe, H as D, M as ve, i as Ce } from "./mermaid-CnEKePr2.js";
3
+ import { d as $t } from "./main-CbfmTxN_.js";
4
4
  var Ct = function() {
5
5
  var t = /* @__PURE__ */ r(function(M, s, l, u) {
6
6
  for (l = l || {}, u = M.length; u--; l[M[u]] = s) ;
@@ -2,11 +2,11 @@ var __defProp = Object.defineProperty;
2
2
  var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3
3
  var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
4
4
  var _a2, _b, _c2, _d2, _e2, _f2, _g, _h2, _i2, _j, _k, _l2, _m, _n2;
5
- import { dN as kl, bZ as Sl, ax as Ea, b2 as Il, D as xt, aZ as xl, aA as Q, bv as Cl, bw as $l, x as Nl, z as Ai, y as ka, ay as Vs, dO as Sa, aV as wl, bb as Ia, dP as xa, aX as Ll, bd as vi, az as _l, dQ as Ol, br as Pl, dR as bl, a_ as Ce, B as ht, aD as Ei, be as Ml, dS as W, dT as Dl, dU as Fl, dV as Te } from "./main-BrvdfZz-.js";
6
- import { g as Ws, d as wt, k as Gl, v as H, l as Ca, m as Ul, n as Bl, a as $a, c as C, i as je, r as se, f as Ee, o as z } from "./_baseUniq-Cu91Ub7P.js";
7
- import { m as k, f as Ct, h as $, e as Hs, l as $t, d as Kl } from "./min-BLiHSG2S.js";
8
- import { aa as P } from "./mermaid-CpBz1_ZE.js";
9
- import { c as ee } from "./clone-S1NbW29x.js";
5
+ import { cB as kl, bP as Sl, aj as Ea, aU as Il, O as xt, aP as xl, am as Q, bl as Cl, bm as $l, G as Nl, J as Ai, H as ka, ak as Vs, cC as Sa, aL as wl, b1 as Ia, cD as xa, aN as Ll, b3 as vi, al as _l, cE as Ol, bh as Pl, cF as bl, aQ as Ce, M as ht, ap as Ei, b4 as Ml, cG as W, cH as Dl, cI as Fl, cJ as Te } from "./main-CbfmTxN_.js";
6
+ import { g as Ws, d as wt, k as Gl, v as H, l as Ca, m as Ul, n as Bl, a as $a, c as C, i as je, r as se, f as Ee, o as z } from "./_baseUniq-iN57524K.js";
7
+ import { m as k, f as Ct, h as $, e as Hs, l as $t, d as Kl } from "./min-kpuuttvU.js";
8
+ import { aa as P } from "./mermaid-CnEKePr2.js";
9
+ import { c as ee } from "./clone-CMcgmF0h.js";
10
10
  var Vl = Object.prototype, Wl = Vl.hasOwnProperty, ve = kl(function(n, e) {
11
11
  if (Sl(e) || Ea(e)) {
12
12
  Il(e, xt(e), n);
@@ -1,4 +1,4 @@
1
- import { O as Xg, Q as Yg, S as Kg } from "./main-BrvdfZz-.js";
1
+ import { _ as Xg, $ as Yg, a0 as Kg } from "./main-CbfmTxN_.js";
2
2
  function Jg(Jf, Oh) {
3
3
  for (var Qf = 0; Qf < Oh.length; Qf++) {
4
4
  const bs = Oh[Qf];
@@ -1,6 +1,6 @@
1
1
  var _a;
2
- import { g as je, s as ze } from "./chunk-RZ5BOZE2-Yi1Y3AHQ.js";
3
- import { _ as o, b as Ge, a as Xe, s as Je, g as Ze, q as et, t as tt, c as ke, l as Ne, z as st, D as it, p as rt, r as nt, u as at } from "./mermaid-CpBz1_ZE.js";
2
+ import { g as je, s as ze } from "./chunk-RZ5BOZE2-DoDc6m72.js";
3
+ import { _ as o, b as Ge, a as Xe, s as Je, g as Ze, q as et, t as tt, c as ke, l as Ne, z as st, D as it, p as rt, r as nt, u as at } from "./mermaid-CnEKePr2.js";
4
4
  var qe = function() {
5
5
  var e = /* @__PURE__ */ o(function(P, i, a, c) {
6
6
  for (a = a || {}, c = P.length; c--; a[P[c]] = i) ;
@@ -1,8 +1,7 @@
1
1
  var _a, _b, _c;
2
- import { _ as p, q as kt, t as _t, s as xt, g as vt, b as wt, a as bt, c as ot, A as St, d as G, T as Lt, z as Et, k as At } from "./mermaid-CpBz1_ZE.js";
3
- import { o as Tt } from "./ordinal-CYN5qNoq.js";
4
- import { c as Mt } from "./colors-BD7LS4qt.js";
5
- const Nt = Mt("4e79a7f28e2ce1575976b7b259a14fedc949af7aa1ff9da79c755fbab0ab");
2
+ import { _ as p, q as mt, t as _t, s as xt, g as vt, b as wt, a as bt, c as ot, A as St, d as G, T as Lt, z as Et, k as At } from "./mermaid-CnEKePr2.js";
3
+ import { aI as Tt, B as Mt } from "./main-CbfmTxN_.js";
4
+ const Nt = Tt("4e79a7f28e2ce1575976b7b259a14fedc949af7aa1ff9da79c755fbab0ab");
6
5
  function gt(t, e) {
7
6
  return t < e ? -1 : t > e ? 1 : t >= e ? 0 : NaN;
8
7
  }
@@ -124,7 +123,7 @@ function ht({ nodes: t }) {
124
123
  }
125
124
  }
126
125
  function Rt() {
127
- let t = 0, e = 0, o = 1, r = 1, i = 24, f = 8, m, _ = $t, s = pt, l, c, x = jt, v = Bt, g = 6;
126
+ let t = 0, e = 0, o = 1, r = 1, i = 24, f = 8, k, _ = $t, s = pt, l, c, x = jt, v = Bt, g = 6;
128
127
  function w() {
129
128
  const n = { nodes: x.apply(null, arguments), links: v.apply(null, arguments) };
130
129
  return M(n), T(n), N(n), C(n), S(n), ht(n), n;
@@ -140,7 +139,7 @@ function Rt() {
140
139
  }, w.nodeWidth = function(n) {
141
140
  return arguments.length ? (i = +n, w) : i;
142
141
  }, w.nodePadding = function(n) {
143
- return arguments.length ? (f = m = +n, w) : f;
142
+ return arguments.length ? (f = k = +n, w) : f;
144
143
  }, w.nodes = function(n) {
145
144
  return arguments.length ? (x = typeof n == "function" ? n : Y(n), w) : x;
146
145
  }, w.links = function(n) {
@@ -160,8 +159,8 @@ function Rt() {
160
159
  const h = new Map(n.map((u, a) => [_(u, a, n), u]));
161
160
  for (const [u, a] of y.entries()) {
162
161
  a.index = u;
163
- let { source: k, target: b } = a;
164
- typeof k != "object" && (k = a.source = ut(h, k)), typeof b != "object" && (b = a.target = ut(h, b)), k.sourceLinks.push(a), b.targetLinks.push(a);
162
+ let { source: m, target: b } = a;
163
+ typeof m != "object" && (m = a.source = ut(h, m)), typeof b != "object" && (b = a.target = ut(h, b)), m.sourceLinks.push(a), b.targetLinks.push(a);
165
164
  }
166
165
  if (c != null)
167
166
  for (const { sourceLinks: u, targetLinks: a } of n)
@@ -175,9 +174,9 @@ function Rt() {
175
174
  const y = n.length;
176
175
  let h = new Set(n), u = /* @__PURE__ */ new Set(), a = 0;
177
176
  for (; h.size; ) {
178
- for (const k of h) {
179
- k.depth = a;
180
- for (const { target: b } of k.sourceLinks)
177
+ for (const m of h) {
178
+ m.depth = a;
179
+ for (const { target: b } of m.sourceLinks)
181
180
  u.add(b);
182
181
  }
183
182
  if (++a > y) throw new Error("circular link");
@@ -188,9 +187,9 @@ function Rt() {
188
187
  const y = n.length;
189
188
  let h = new Set(n), u = /* @__PURE__ */ new Set(), a = 0;
190
189
  for (; h.size; ) {
191
- for (const k of h) {
192
- k.height = a;
193
- for (const { source: b } of k.targetLinks)
190
+ for (const m of h) {
191
+ m.height = a;
192
+ for (const { source: b } of m.targetLinks)
194
193
  u.add(b);
195
194
  }
196
195
  if (++a > y) throw new Error("circular link");
@@ -200,33 +199,33 @@ function Rt() {
200
199
  function D({ nodes: n }) {
201
200
  const y = at(n, (a) => a.depth) + 1, h = (o - t - i) / (y - 1), u = new Array(y);
202
201
  for (const a of n) {
203
- const k = Math.max(0, Math.min(y - 1, Math.floor(s.call(null, a, y))));
204
- a.layer = k, a.x0 = t + k * h, a.x1 = a.x0 + i, u[k] ? u[k].push(a) : u[k] = [a];
202
+ const m = Math.max(0, Math.min(y - 1, Math.floor(s.call(null, a, y))));
203
+ a.layer = m, a.x0 = t + m * h, a.x1 = a.x0 + i, u[m] ? u[m].push(a) : u[m] = [a];
205
204
  }
206
205
  if (l) for (const a of u)
207
206
  a.sort(l);
208
207
  return u;
209
208
  }
210
209
  function B(n) {
211
- const y = dt(n, (h) => (r - e - (h.length - 1) * m) / J(h, tt));
210
+ const y = dt(n, (h) => (r - e - (h.length - 1) * k) / J(h, tt));
212
211
  for (const h of n) {
213
212
  let u = e;
214
213
  for (const a of h) {
215
- a.y0 = u, a.y1 = u + a.value * y, u = a.y1 + m;
216
- for (const k of a.sourceLinks)
217
- k.width = k.value * y;
214
+ a.y0 = u, a.y1 = u + a.value * y, u = a.y1 + k;
215
+ for (const m of a.sourceLinks)
216
+ m.width = m.value * y;
218
217
  }
219
- u = (r - u + m) / (h.length + 1);
218
+ u = (r - u + k) / (h.length + 1);
220
219
  for (let a = 0; a < h.length; ++a) {
221
- const k = h[a];
222
- k.y0 += u * (a + 1), k.y1 += u * (a + 1);
220
+ const m = h[a];
221
+ m.y0 += u * (a + 1), m.y1 += u * (a + 1);
223
222
  }
224
223
  A(h);
225
224
  }
226
225
  }
227
226
  function S(n) {
228
227
  const y = D(n);
229
- m = Math.min(f, (r - e) / (at(y, (h) => h.length) - 1)), B(y);
228
+ k = Math.min(f, (r - e) / (at(y, (h) => h.length) - 1)), B(y);
230
229
  for (let h = 0; h < g; ++h) {
231
230
  const u = Math.pow(0.99, h), a = Math.max(1 - u, (h + 1) / g);
232
231
  j(y, u, a), P(y, u, a);
@@ -234,8 +233,8 @@ function Rt() {
234
233
  }
235
234
  function P(n, y, h) {
236
235
  for (let u = 1, a = n.length; u < a; ++u) {
237
- const k = n[u];
238
- for (const b of k) {
236
+ const m = n[u];
237
+ for (const b of m) {
239
238
  let L = 0, R = 0;
240
239
  for (const { source: U, value: Z } of b.targetLinks) {
241
240
  let W = Z * (b.layer - U.layer);
@@ -245,13 +244,13 @@ function Rt() {
245
244
  let V = (L / R - b.y0) * y;
246
245
  b.y0 += V, b.y1 += V, E(b);
247
246
  }
248
- l === void 0 && k.sort(q), O(k, h);
247
+ l === void 0 && m.sort(q), O(m, h);
249
248
  }
250
249
  }
251
250
  function j(n, y, h) {
252
251
  for (let u = n.length, a = u - 2; a >= 0; --a) {
253
- const k = n[a];
254
- for (const b of k) {
252
+ const m = n[a];
253
+ for (const b of m) {
255
254
  let L = 0, R = 0;
256
255
  for (const { target: U, value: Z } of b.sourceLinks) {
257
256
  let W = Z * (U.layer - b.layer);
@@ -261,23 +260,23 @@ function Rt() {
261
260
  let V = (L / R - b.y0) * y;
262
261
  b.y0 += V, b.y1 += V, E(b);
263
262
  }
264
- l === void 0 && k.sort(q), O(k, h);
263
+ l === void 0 && m.sort(q), O(m, h);
265
264
  }
266
265
  }
267
266
  function O(n, y) {
268
267
  const h = n.length >> 1, u = n[h];
269
- d(n, u.y0 - m, h - 1, y), z(n, u.y1 + m, h + 1, y), d(n, r, n.length - 1, y), z(n, e, 0, y);
268
+ d(n, u.y0 - k, h - 1, y), z(n, u.y1 + k, h + 1, y), d(n, r, n.length - 1, y), z(n, e, 0, y);
270
269
  }
271
270
  function z(n, y, h, u) {
272
271
  for (; h < n.length; ++h) {
273
- const a = n[h], k = (y - a.y0) * u;
274
- k > 1e-6 && (a.y0 += k, a.y1 += k), y = a.y1 + m;
272
+ const a = n[h], m = (y - a.y0) * u;
273
+ m > 1e-6 && (a.y0 += m, a.y1 += m), y = a.y1 + k;
275
274
  }
276
275
  }
277
276
  function d(n, y, h, u) {
278
277
  for (; h >= 0; --h) {
279
- const a = n[h], k = (a.y1 - y) * u;
280
- k > 1e-6 && (a.y0 -= k, a.y1 -= k), y = a.y0 - m;
278
+ const a = n[h], m = (a.y1 - y) * u;
279
+ m > 1e-6 && (a.y0 -= m, a.y1 -= m), y = a.y0 - k;
281
280
  }
282
281
  }
283
282
  function E({ sourceLinks: n, targetLinks: y }) {
@@ -294,10 +293,10 @@ function Rt() {
294
293
  y.sort(ct), h.sort(lt);
295
294
  }
296
295
  function $(n, y) {
297
- let h = n.y0 - (n.sourceLinks.length - 1) * m / 2;
296
+ let h = n.y0 - (n.sourceLinks.length - 1) * k / 2;
298
297
  for (const { target: u, width: a } of n.sourceLinks) {
299
298
  if (u === y) break;
300
- h += a + m;
299
+ h += a + k;
301
300
  }
302
301
  for (const { source: u, width: a } of y.targetLinks) {
303
302
  if (u === n) break;
@@ -306,10 +305,10 @@ function Rt() {
306
305
  return h;
307
306
  }
308
307
  function I(n, y) {
309
- let h = y.y0 - (y.targetLinks.length - 1) * m / 2;
308
+ let h = y.y0 - (y.targetLinks.length - 1) * k / 2;
310
309
  for (const { source: u, width: a } of y.targetLinks) {
311
310
  if (u === n) break;
312
- h += a + m;
311
+ h += a + k;
313
312
  }
314
313
  for (const { target: u, width: a } of n.sourceLinks) {
315
314
  if (u === y) break;
@@ -324,10 +323,10 @@ function it() {
324
323
  this._x0 = this._y0 = // start of current subpath
325
324
  this._x1 = this._y1 = null, this._ = "";
326
325
  }
327
- function mt() {
326
+ function kt() {
328
327
  return new it();
329
328
  }
330
- it.prototype = mt.prototype = {
329
+ it.prototype = kt.prototype = {
331
330
  constructor: it,
332
331
  moveTo: function(t, e) {
333
332
  this._ += "M" + (this._x0 = this._x1 = +t) + "," + (this._y0 = this._y1 = +e);
@@ -346,22 +345,22 @@ it.prototype = mt.prototype = {
346
345
  },
347
346
  arcTo: function(t, e, o, r, i) {
348
347
  t = +t, e = +e, o = +o, r = +r, i = +i;
349
- var f = this._x1, m = this._y1, _ = o - t, s = r - e, l = f - t, c = m - e, x = l * l + c * c;
348
+ var f = this._x1, k = this._y1, _ = o - t, s = r - e, l = f - t, c = k - e, x = l * l + c * c;
350
349
  if (i < 0) throw new Error("negative radius: " + i);
351
350
  if (this._x1 === null)
352
351
  this._ += "M" + (this._x1 = t) + "," + (this._y1 = e);
353
352
  else if (x > F) if (!(Math.abs(c * _ - s * l) > F) || !i)
354
353
  this._ += "L" + (this._x1 = t) + "," + (this._y1 = e);
355
354
  else {
356
- var v = o - f, g = r - m, w = _ * _ + s * s, M = v * v + g * g, T = Math.sqrt(w), N = Math.sqrt(x), C = i * Math.tan((et - Math.acos((w + x - M) / (2 * T * N))) / 2), D = C / N, B = C / T;
355
+ var v = o - f, g = r - k, w = _ * _ + s * s, M = v * v + g * g, T = Math.sqrt(w), N = Math.sqrt(x), C = i * Math.tan((et - Math.acos((w + x - M) / (2 * T * N))) / 2), D = C / N, B = C / T;
357
356
  Math.abs(D - 1) > F && (this._ += "L" + (t + D * l) + "," + (e + D * c)), this._ += "A" + i + "," + i + ",0,0," + +(c * v > l * g) + "," + (this._x1 = t + B * _) + "," + (this._y1 = e + B * s);
358
357
  }
359
358
  },
360
359
  arc: function(t, e, o, r, i, f) {
361
360
  t = +t, e = +e, o = +o, f = !!f;
362
- var m = o * Math.cos(r), _ = o * Math.sin(r), s = t + m, l = e + _, c = 1 ^ f, x = f ? r - i : i - r;
361
+ var k = o * Math.cos(r), _ = o * Math.sin(r), s = t + k, l = e + _, c = 1 ^ f, x = f ? r - i : i - r;
363
362
  if (o < 0) throw new Error("negative radius: " + o);
364
- this._x1 === null ? this._ += "M" + s + "," + l : (Math.abs(this._x1 - s) > F || Math.abs(this._y1 - l) > F) && (this._ += "L" + s + "," + l), o && (x < 0 && (x = x % nt + nt), x > Ft ? this._ += "A" + o + "," + o + ",0,1," + c + "," + (t - m) + "," + (e - _) + "A" + o + "," + o + ",0,1," + c + "," + (this._x1 = s) + "," + (this._y1 = l) : x > F && (this._ += "A" + o + "," + o + ",0," + +(x >= et) + "," + c + "," + (this._x1 = t + o * Math.cos(i)) + "," + (this._y1 = e + o * Math.sin(i))));
363
+ this._x1 === null ? this._ += "M" + s + "," + l : (Math.abs(this._x1 - s) > F || Math.abs(this._y1 - l) > F) && (this._ += "L" + s + "," + l), o && (x < 0 && (x = x % nt + nt), x > Ft ? this._ += "A" + o + "," + o + ",0,1," + c + "," + (t - k) + "," + (e - _) + "A" + o + "," + o + ",0,1," + c + "," + (this._x1 = s) + "," + (this._y1 = l) : x > F && (this._ += "A" + o + "," + o + ",0," + +(x >= et) + "," + c + "," + (this._x1 = t + o * Math.cos(i)) + "," + (this._y1 = e + o * Math.sin(i))));
365
364
  },
366
365
  rect: function(t, e, o, r) {
367
366
  this._ += "M" + (this._x0 = this._x1 = +t) + "," + (this._y0 = this._y1 = +e) + "h" + +o + "v" + +r + "h" + -o + "Z";
@@ -390,21 +389,21 @@ function Yt(t) {
390
389
  }
391
390
  function qt(t) {
392
391
  var e = Gt, o = Yt, r = Vt, i = Ut, f = null;
393
- function m() {
392
+ function k() {
394
393
  var _, s = Wt.call(arguments), l = e.apply(this, s), c = o.apply(this, s);
395
- if (f || (f = _ = mt()), t(f, +r.apply(this, (s[0] = l, s)), +i.apply(this, s), +r.apply(this, (s[0] = c, s)), +i.apply(this, s)), _) return f = null, _ + "" || null;
394
+ if (f || (f = _ = kt()), t(f, +r.apply(this, (s[0] = l, s)), +i.apply(this, s), +r.apply(this, (s[0] = c, s)), +i.apply(this, s)), _) return f = null, _ + "" || null;
396
395
  }
397
- return m.source = function(_) {
398
- return arguments.length ? (e = _, m) : e;
399
- }, m.target = function(_) {
400
- return arguments.length ? (o = _, m) : o;
401
- }, m.x = function(_) {
402
- return arguments.length ? (r = typeof _ == "function" ? _ : ft(+_), m) : r;
403
- }, m.y = function(_) {
404
- return arguments.length ? (i = typeof _ == "function" ? _ : ft(+_), m) : i;
405
- }, m.context = function(_) {
406
- return arguments.length ? (f = _ ?? null, m) : f;
407
- }, m;
396
+ return k.source = function(_) {
397
+ return arguments.length ? (e = _, k) : e;
398
+ }, k.target = function(_) {
399
+ return arguments.length ? (o = _, k) : o;
400
+ }, k.x = function(_) {
401
+ return arguments.length ? (r = typeof _ == "function" ? _ : ft(+_), k) : r;
402
+ }, k.y = function(_) {
403
+ return arguments.length ? (i = typeof _ == "function" ? _ : ft(+_), k) : i;
404
+ }, k.context = function(_) {
405
+ return arguments.length ? (f = _ ?? null, k) : f;
406
+ }, k;
408
407
  }
409
408
  function Ht(t, e, o, r, i) {
410
409
  t.moveTo(e, o), t.bezierCurveTo(e = (e + r) / 2, o, e, i, r, i);
@@ -477,20 +476,20 @@ var rt = function() {
477
476
  return L = x.pop() || S.lex() || D, typeof L != "number" && (L instanceof Array && (x = L, L = x.pop()), L = l.symbols_[L] || L), L;
478
477
  }
479
478
  p(E, "lex");
480
- for (var A, $, I, n, y = {}, h, u, a, k; ; ) {
479
+ for (var A, $, I, n, y = {}, h, u, a, m; ; ) {
481
480
  if ($ = c[c.length - 1], this.defaultActions[$] ? I = this.defaultActions[$] : ((A === null || typeof A > "u") && (A = E()), I = w[$] && w[$][A]), typeof I > "u" || !I.length || !I[0]) {
482
481
  var b = "";
483
- k = [];
482
+ m = [];
484
483
  for (h in w[$])
485
- this.terminals_[h] && h > C && k.push("'" + this.terminals_[h] + "'");
484
+ this.terminals_[h] && h > C && m.push("'" + this.terminals_[h] + "'");
486
485
  S.showPosition ? b = "Parse error on line " + (T + 1) + `:
487
486
  ` + S.showPosition() + `
488
- Expecting ` + k.join(", ") + ", got '" + (this.terminals_[A] || A) + "'" : b = "Parse error on line " + (T + 1) + ": Unexpected " + (A == D ? "end of input" : "'" + (this.terminals_[A] || A) + "'"), this.parseError(b, {
487
+ Expecting ` + m.join(", ") + ", got '" + (this.terminals_[A] || A) + "'" : b = "Parse error on line " + (T + 1) + ": Unexpected " + (A == D ? "end of input" : "'" + (this.terminals_[A] || A) + "'"), this.parseError(b, {
489
488
  text: S.match,
490
489
  token: this.terminals_[A] || A,
491
490
  line: S.yylineno,
492
491
  loc: O,
493
- expected: k
492
+ expected: m
494
493
  });
495
494
  }
496
495
  if (I[0] instanceof Array && I.length > 1)
@@ -722,10 +721,10 @@ Expecting ` + k.join(", ") + ", got '" + (this.terminals_[A] || A) + "'" : b = "
722
721
  return _;
723
722
  }();
724
723
  i.lexer = f;
725
- function m() {
724
+ function k() {
726
725
  this.yy = {};
727
726
  }
728
- return p(m, "Parser"), m.prototype = i, i.Parser = m, new m();
727
+ return p(k, "Parser"), k.prototype = i, i.Parser = k, new k();
729
728
  }();
730
729
  rt.parser = rt;
731
730
  var H = rt, Q = [], K = [], X = /* @__PURE__ */ new Map(), Jt = /* @__PURE__ */ p(() => {
@@ -764,7 +763,7 @@ var H = rt, Q = [], K = [], X = /* @__PURE__ */ new Map(), Jt = /* @__PURE__ */
764
763
  getAccDescription: vt,
765
764
  setAccDescription: xt,
766
765
  getDiagramTitle: _t,
767
- setDiagramTitle: kt,
766
+ setDiagramTitle: mt,
768
767
  clear: Jt
769
768
  }, yt = (_c = class {
770
769
  static next(e) {
@@ -782,15 +781,15 @@ var H = rt, Q = [], K = [], X = /* @__PURE__ */ new Map(), Jt = /* @__PURE__ */
782
781
  center: Dt,
783
782
  justify: pt
784
783
  }, ce = /* @__PURE__ */ p(function(t, e, o, r) {
785
- const { securityLevel: i, sankey: f } = ot(), m = St.sankey;
784
+ const { securityLevel: i, sankey: f } = ot(), k = St.sankey;
786
785
  let _;
787
786
  i === "sandbox" && (_ = G("#i" + e));
788
- const s = i === "sandbox" ? G(_.nodes()[0].contentDocument.body) : G("body"), l = i === "sandbox" ? s.select(`[id="${e}"]`) : G(`[id="${e}"]`), c = (f == null ? void 0 : f.width) ?? m.width, x = (f == null ? void 0 : f.height) ?? m.width, v = (f == null ? void 0 : f.useMaxWidth) ?? m.useMaxWidth, g = (f == null ? void 0 : f.nodeAlignment) ?? m.nodeAlignment, w = (f == null ? void 0 : f.prefix) ?? m.prefix, M = (f == null ? void 0 : f.suffix) ?? m.suffix, T = (f == null ? void 0 : f.showValues) ?? m.showValues, N = r.db.getGraph(), C = le[g];
787
+ const s = i === "sandbox" ? G(_.nodes()[0].contentDocument.body) : G("body"), l = i === "sandbox" ? s.select(`[id="${e}"]`) : G(`[id="${e}"]`), c = (f == null ? void 0 : f.width) ?? k.width, x = (f == null ? void 0 : f.height) ?? k.width, v = (f == null ? void 0 : f.useMaxWidth) ?? k.useMaxWidth, g = (f == null ? void 0 : f.nodeAlignment) ?? k.nodeAlignment, w = (f == null ? void 0 : f.prefix) ?? k.prefix, M = (f == null ? void 0 : f.suffix) ?? k.suffix, T = (f == null ? void 0 : f.showValues) ?? k.showValues, N = r.db.getGraph(), C = le[g];
789
788
  Rt().nodeId((d) => d.id).nodeWidth(10).nodePadding(10 + (T ? 15 : 0)).nodeAlign(C).extent([
790
789
  [0, 0],
791
790
  [c, x]
792
791
  ])(N);
793
- const S = Tt(Nt);
792
+ const S = Mt(Nt);
794
793
  l.append("g").attr("class", "nodes").selectAll(".node").data(N.nodes).join("g").attr("class", "node").attr("id", (d) => (d.uid = yt.next("node-")).id).attr("transform", function(d) {
795
794
  return "translate(" + d.x0 + "," + d.y0 + ")";
796
795
  }).attr("x", (d) => d.x0).attr("y", (d) => d.y0).append("rect").attr("height", (d) => d.y1 - d.y0).attr("width", (d) => d.x1 - d.x0).attr("fill", (d) => S(d.id));
@@ -1,7 +1,7 @@
1
1
  var _a;
2
- import { a as fe, b as Vt, g as Pt, d as xe, c as Te, e as ye } from "./chunk-D6G4REZN-Cy7kNvX2.js";
3
- import { I as Ee } from "./chunk-XZIHB7SX-BvxSakOA.js";
4
- import { _ as u, o as be, c as $, d as It, l as G, j as Jt, e as me, f as we, k as v, b as Ut, s as ve, q as Ie, a as Le, g as _e, t as Pe, z as Ae, i as Lt, u as Y, N as ot, O as Et, P as Zt, Z as ke, Q as Qt, G as Dt } from "./mermaid-CpBz1_ZE.js";
2
+ import { a as fe, b as Vt, g as Pt, d as xe, c as Te, e as ye } from "./chunk-D6G4REZN-OKVjMC0y.js";
3
+ import { I as Ee } from "./chunk-XZIHB7SX-k3eGypmn.js";
4
+ import { _ as u, o as be, c as $, d as It, l as G, j as Jt, e as me, f as we, k as v, b as Ut, s as ve, q as Ie, a as Le, g as _e, t as Pe, z as Ae, i as Lt, u as Y, N as ot, O as Et, P as Zt, Z as ke, Q as Qt, G as Dt } from "./mermaid-CnEKePr2.js";
5
5
  var Ct = function() {
6
6
  var t = /* @__PURE__ */ u(function(ht, w, L, P) {
7
7
  for (L = L || {}, P = ht.length; P--; L[ht[P]] = w) ;