@marimo-team/islands 0.13.16-dev1 → 0.13.16-dev100

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 (88) hide show
  1. package/dist/{ConnectedDataExplorerComponent-C4lg6WvO.js → ConnectedDataExplorerComponent-vrARwYxE.js} +1651 -1653
  2. package/dist/ImageComparisonComponent-m9d4jyDR.js +248 -0
  3. package/dist/VegaLite-BM3pVXw2.js +36029 -0
  4. package/dist/{_baseUniq-CqHdJYki.js → _baseUniq-BKFPcxpI.js} +13 -13
  5. package/dist/any-language-editor-DoX-PQu0.js +45 -0
  6. package/dist/{architectureDiagram-IEHRJDOE-CJBt_cJx.js → architectureDiagram-IEHRJDOE-DbalWqMN.js} +1800 -1800
  7. package/dist/asn1-jKiBa2Ya.js +10 -10
  8. package/dist/assets/{save-worker-9HEtFDM0.js → save-worker-CtVuV4Hi.js} +838 -844
  9. package/dist/assets/{worker-BGGm0KYZ.js → worker-BU1a2jgP.js} +866 -872
  10. package/dist/assets/{worker-BNsqBj5w.js → worker-Tb399Bgs.js} +3420 -3424
  11. package/dist/blockDiagram-JOT3LUYC-vxt9N4N0.js +2249 -0
  12. package/dist/{c4Diagram-VJAJSXHY-C-yy5YOk.js → c4Diagram-VJAJSXHY-DA924Uqr.js} +401 -400
  13. package/dist/{channel-nlDKUO5V.js → channel-BNFWU0qj.js} +1 -1
  14. package/dist/chunk-4BMEZGHF-D-kwEajx.js +9 -0
  15. package/dist/chunk-A2AXSNBT-mnA-dvyL.js +1373 -0
  16. package/dist/chunk-AEK57VVT-DfZ4LFZA.js +1416 -0
  17. package/dist/{chunk-D6G4REZN-DqBAgqjZ.js → chunk-D6G4REZN-DhzRGH5j.js} +2 -2
  18. package/dist/{chunk-RZ5BOZE2-CIuUvSxj.js → chunk-RZ5BOZE2-Df8bxccr.js} +8 -8
  19. package/dist/chunk-XZIHB7SX-DGGTR7BI.js +16 -0
  20. package/dist/{classDiagram-GIVACNV2-DZEBEdiS.js → classDiagram-GIVACNV2-BM7szU-p.js} +2 -2
  21. package/dist/{classDiagram-v2-COTLJTTW-DZEBEdiS.js → classDiagram-v2-COTLJTTW-BM7szU-p.js} +2 -2
  22. package/dist/clojure-CCKyeQKf.js +2 -2
  23. package/dist/{clone-B6TsxdPq.js → clone-ChUTYvhR.js} +1 -1
  24. package/dist/css-bIlmDBTK.js +19 -19
  25. package/dist/{cytoscape.esm-DAyNQ0qu.js → cytoscape.esm-CCQ3SVU1.js} +2301 -2301
  26. package/dist/dagre-OKDRZEBW-CGYLUe7b.js +447 -0
  27. package/dist/{data-editor-DcBCvQu_.js → data-editor-CqVMOKSx.js} +5785 -5795
  28. package/dist/{diagram-SSKATNLV-gHHGNb1o.js → diagram-SSKATNLV-INSQH2O3.js} +13 -13
  29. package/dist/{diagram-VNBRO52H-B8PrANsV.js → diagram-VNBRO52H-E2lgExBZ.js} +3 -3
  30. package/dist/{erDiagram-Q7BY3M3F-BvXMy7ds.js → erDiagram-Q7BY3M3F-B9XVc4sN.js} +263 -262
  31. package/dist/flowDiagram-4HSFHLVR-BmDgLkBR.js +1623 -0
  32. package/dist/{ganttDiagram-APWFNJXF-CXvGZ1tB.js → ganttDiagram-APWFNJXF-xvOUnGih.js} +45 -45
  33. package/dist/gitGraphDiagram-7IBYFJ6S-BDNJD_4s.js +712 -0
  34. package/dist/{graph-CLTIT-rM.js → graph-B1kC92m3.js} +9 -9
  35. package/dist/{index-D918hshO.js → index-BeP8XLVf.js} +107 -106
  36. package/dist/{index-CFnbzzJT.js → index-BmgeA7zl.js} +4 -4
  37. package/dist/{index-C2y-wjw9.js → index-CVxbkLgR.js} +9 -9
  38. package/dist/{index-D4AyYSc-.js → index-DSZ4Bzcr.js} +28 -28
  39. package/dist/{infoDiagram-PH2N3AL5-C8wRTnZ3.js → infoDiagram-PH2N3AL5-DWUhqj86.js} +3 -3
  40. package/dist/javascript-WMWNx-Vj.js +47 -47
  41. package/dist/{journeyDiagram-U35MCT3I-Dt70xoNj.js → journeyDiagram-U35MCT3I-D-a9EVQW.js} +18 -18
  42. package/dist/kanban-definition-NDS4AKOZ-OWmu-q9c.js +719 -0
  43. package/dist/{katex-9tX9hjoM.js → katex-CUSbq6rG.js} +2180 -2180
  44. package/dist/{layout-GgC31MfB.js → layout-CSpWapat.js} +27 -27
  45. package/dist/{linear-Bdn7-YnQ.js → linear-JNsJWFlM.js} +2 -2
  46. package/dist/main-CogZooDC.js +168224 -0
  47. package/dist/main.js +1 -1
  48. package/dist/mermaid-BSHpbWYL.js +14517 -0
  49. package/dist/{mhchem-L5-rce7L.js → mhchem-Db_f2n8C.js} +30 -30
  50. package/dist/{min-DEm-Bgo8.js → min-DJ8TFP7s.js} +2 -2
  51. package/dist/{mindmap-definition-ALO5MXBD-CnwLpJXd.js → mindmap-definition-ALO5MXBD-CD8BfQLX.js} +359 -359
  52. package/dist/mllike-BSnXJBGA.js +7 -7
  53. package/dist/{pieDiagram-IB7DONF6-BSVeFstR.js → pieDiagram-IB7DONF6-BcHbXepJ.js} +34 -34
  54. package/dist/pug-BqUR2bBq.js +35 -35
  55. package/dist/python-B5QdSKoL.js +18 -18
  56. package/dist/quadrantDiagram-7GDLP6J5-Ccdvm8Zt.js +1025 -0
  57. package/dist/{radar-MK3ICKWK-CE3UYlPE.js → radar-MK3ICKWK-apVjQGPF.js} +2555 -2554
  58. package/dist/{react-plotly-Dzix_ayx.js → react-plotly-Df98sQl5.js} +6595 -6597
  59. package/dist/{requirementDiagram-KVF5MWMF-Dr6JfEas.js → requirementDiagram-KVF5MWMF-CPe5eLDw.js} +251 -250
  60. package/dist/rpm-IznJm2Xc.js +9 -9
  61. package/dist/{sankeyDiagram-QLVOVGJD-VRJ-7td4.js → sankeyDiagram-QLVOVGJD-BinA8Lh3.js} +339 -338
  62. package/dist/{sequenceDiagram-X6HHIX6F-Dvd-1Hka.js → sequenceDiagram-X6HHIX6F-egi_2Zz-.js} +822 -821
  63. package/dist/{slides-component-2jiSuHN0.js → slides-component-Bw2PqiFj.js} +3231 -3231
  64. package/dist/sql-mMre1Bo3.js +9 -9
  65. package/dist/{stateDiagram-DGXRK772-C2H3qTjE.js → stateDiagram-DGXRK772-Ch4lb-af.js} +17 -17
  66. package/dist/{stateDiagram-v2-YXO3MK2T-wsWxga8R.js → stateDiagram-v2-YXO3MK2T-C4M8cpBt.js} +2 -2
  67. package/dist/style.css +1 -1
  68. package/dist/{time-COXzN_sj.js → time-DrIMyKm3.js} +2 -2
  69. package/dist/{timeline-definition-BDJGKUSR-j48AuNW4.js → timeline-definition-BDJGKUSR-B8fhx1LZ.js} +261 -261
  70. package/dist/timer-BYwnU4DF.js +378 -378
  71. package/dist/ttcn-cfg-Bac_acMi.js +9 -9
  72. package/dist/{vega-component-DaS5RZh7.js → vega-component-CMWUi5AZ.js} +111 -111
  73. package/dist/{xychartDiagram-VJFVF3MP-DBxCy3z5.js → xychartDiagram-VJFVF3MP-DU4m5h5D.js} +472 -471
  74. package/package.json +26 -26
  75. package/dist/VegaLite-D5N6vx9w.js +0 -36326
  76. package/dist/any-language-editor-Wvx3toF4.js +0 -45
  77. package/dist/blockDiagram-JOT3LUYC-C2MVNwUw.js +0 -2248
  78. package/dist/chunk-4BMEZGHF-DXhrksbF.js +0 -9
  79. package/dist/chunk-A2AXSNBT-yapD4PZC.js +0 -1372
  80. package/dist/chunk-AEK57VVT-Cva-aSWE.js +0 -1415
  81. package/dist/chunk-XZIHB7SX-DtJFMI1l.js +0 -15
  82. package/dist/dagre-OKDRZEBW-C8AmO6Uf.js +0 -447
  83. package/dist/flowDiagram-4HSFHLVR-CdWDR3le.js +0 -1622
  84. package/dist/gitGraphDiagram-7IBYFJ6S-EppRhmRN.js +0 -712
  85. package/dist/kanban-definition-NDS4AKOZ-CGtT-Ej_.js +0 -719
  86. package/dist/main-mN5dINk1.js +0 -156522
  87. package/dist/mermaid-CakMewtQ.js +0 -11991
  88. package/dist/quadrantDiagram-7GDLP6J5-Dt2JAcYW.js +0 -1024
@@ -1,6 +1,6 @@
1
1
  function I(e) {
2
2
  for (var n = {}, T = e.split(" "), E = 0; E < T.length; ++E)
3
- n[T[E]] = !0;
3
+ n[T[E]] = true;
4
4
  return n;
5
5
  }
6
6
  const r = {
@@ -8,7 +8,7 @@ const r = {
8
8
  fileNCtrlMaskOptions: I("TTCN_EXECUTOR TTCN_ERROR TTCN_WARNING TTCN_PORTEVENT TTCN_TIMEROP TTCN_VERDICTOP TTCN_DEFAULTOP TTCN_TESTCASE TTCN_ACTION TTCN_USER TTCN_FUNCTION TTCN_STATISTICS TTCN_PARALLEL TTCN_MATCHING TTCN_DEBUG EXECUTOR ERROR WARNING PORTEVENT TIMEROP VERDICTOP DEFAULTOP TESTCASE ACTION USER FUNCTION STATISTICS PARALLEL MATCHING DEBUG LOG_ALL LOG_NOTHING ACTION_UNQUALIFIED DEBUG_ENCDEC DEBUG_TESTPORT DEBUG_UNQUALIFIED DEFAULTOP_ACTIVATE DEFAULTOP_DEACTIVATE DEFAULTOP_EXIT DEFAULTOP_UNQUALIFIED ERROR_UNQUALIFIED EXECUTOR_COMPONENT EXECUTOR_CONFIGDATA EXECUTOR_EXTCOMMAND EXECUTOR_LOGOPTIONS EXECUTOR_RUNTIME EXECUTOR_UNQUALIFIED FUNCTION_RND FUNCTION_UNQUALIFIED MATCHING_DONE MATCHING_MCSUCCESS MATCHING_MCUNSUCC MATCHING_MMSUCCESS MATCHING_MMUNSUCC MATCHING_PCSUCCESS MATCHING_PCUNSUCC MATCHING_PMSUCCESS MATCHING_PMUNSUCC MATCHING_PROBLEM MATCHING_TIMEOUT MATCHING_UNQUALIFIED PARALLEL_PORTCONN PARALLEL_PORTMAP PARALLEL_PTC PARALLEL_UNQUALIFIED PORTEVENT_DUALRECV PORTEVENT_DUALSEND PORTEVENT_MCRECV PORTEVENT_MCSEND PORTEVENT_MMRECV PORTEVENT_MMSEND PORTEVENT_MQUEUE PORTEVENT_PCIN PORTEVENT_PCOUT PORTEVENT_PMIN PORTEVENT_PMOUT PORTEVENT_PQUEUE PORTEVENT_STATE PORTEVENT_UNQUALIFIED STATISTICS_UNQUALIFIED STATISTICS_VERDICT TESTCASE_FINISH TESTCASE_START TESTCASE_UNQUALIFIED TIMEROP_GUARD TIMEROP_READ TIMEROP_START TIMEROP_STOP TIMEROP_TIMEOUT TIMEROP_UNQUALIFIED USER_UNQUALIFIED VERDICTOP_FINAL VERDICTOP_GETVERDICT VERDICTOP_SETVERDICT VERDICTOP_UNQUALIFIED WARNING_UNQUALIFIED"),
9
9
  externalCommands: I("BeginControlPart EndControlPart BeginTestCase EndTestCase")
10
10
  };
11
- var A = r.keywords, U = r.fileNCtrlMaskOptions, R = r.externalCommands, S = r.indentStatements !== !1, O = /[\|]/, t;
11
+ var A = r.keywords, U = r.fileNCtrlMaskOptions, R = r.externalCommands, S = r.indentStatements !== false, O = /[\|]/, t;
12
12
  function u(e, n) {
13
13
  var T = e.next();
14
14
  if (T == '"' || T == "'")
@@ -29,10 +29,10 @@ function u(e, n) {
29
29
  }
30
30
  function P(e) {
31
31
  return function(n, T) {
32
- for (var E = !1, i, l = !1; (i = n.next()) != null; ) {
32
+ for (var E = false, i, l = false; (i = n.next()) != null; ) {
33
33
  if (i == e && !E) {
34
34
  var C = n.peek();
35
- C && (C = C.toLowerCase(), (C == "b" || C == "h" || C == "o") && n.next()), l = !0;
35
+ C && (C = C.toLowerCase(), (C == "b" || C == "h" || C == "o") && n.next()), l = true;
36
36
  break;
37
37
  }
38
38
  E = !E && i == "\\";
@@ -56,18 +56,18 @@ const L = {
56
56
  startState: function() {
57
57
  return {
58
58
  tokenize: null,
59
- context: new _(0, 0, "top", !1),
59
+ context: new _(0, 0, "top", false),
60
60
  indented: 0,
61
- startOfLine: !0
61
+ startOfLine: true
62
62
  };
63
63
  },
64
64
  token: function(e, n) {
65
65
  var T = n.context;
66
- if (e.sol() && (T.align == null && (T.align = !1), n.indented = e.indentation(), n.startOfLine = !0), e.eatSpace()) return null;
66
+ if (e.sol() && (T.align == null && (T.align = false), n.indented = e.indentation(), n.startOfLine = true), e.eatSpace()) return null;
67
67
  t = null;
68
68
  var E = (n.tokenize || u)(e, n);
69
69
  if (E == "comment") return E;
70
- if (T.align == null && (T.align = !0), (t == ";" || t == ":" || t == ",") && T.type == "statement")
70
+ if (T.align == null && (T.align = true), (t == ";" || t == ":" || t == ",") && T.type == "statement")
71
71
  o(n);
72
72
  else if (t == "{") N(n, e.column(), "}");
73
73
  else if (t == "[") N(n, e.column(), "]");
@@ -76,7 +76,7 @@ const L = {
76
76
  for (; T.type == "statement"; ) T = o(n);
77
77
  for (T.type == "}" && (T = o(n)); T.type == "statement"; ) T = o(n);
78
78
  } else t == T.type ? o(n) : S && ((T.type == "}" || T.type == "top") && t != ";" || T.type == "statement" && t == "newstatement") && N(n, e.column(), "statement");
79
- return n.startOfLine = !1, E;
79
+ return n.startOfLine = false, E;
80
80
  },
81
81
  languageData: {
82
82
  indentOnInput: /^\s*[{}]$/,
@@ -1,5 +1,20 @@
1
- import { T as I, U as K, V as z, d as R, W, X as G, j as f, E as $, J as B, F as w, Y as A, Z as M, _ as U, L as x, $ as O, a0 as Y, a1 as q, a2 as J, a3 as X, a4 as Q, a5 as ee } from "./main-mN5dINk1.js";
2
- import { M as d, a as te } from "./VegaLite-D5N6vx9w.js";
1
+ import { T as I, U as K, V as z, c as R, W, X as G, j as d, E as $, J as B, F as w, Y as A, Z as M, _ as U, L as x, $ as O, a0 as Y, a1 as q, a2 as J, a3 as X, a4 as Q, a5 as ee } from "./main-CogZooDC.js";
2
+ import { M as m, a as te } from "./VegaLite-BM3pVXw2.js";
3
+ function ne(e) {
4
+ return e.data && "url" in e.data && (e.data.url = I(e.data.url).href), e;
5
+ }
6
+ function N(e) {
7
+ function t(n) {
8
+ return !!(n == null ? void 0 : n.schema) && Array.isArray(n.schema.fields) && typeof n.toArray == "function";
9
+ }
10
+ return (t(e) ? e : re(e)).toArray();
11
+ }
12
+ N.responseType = "arrayBuffer";
13
+ function re(e, t) {
14
+ return K(e, {
15
+ useProxy: true
16
+ });
17
+ }
3
18
  const S = /* @__PURE__ */ new Set(["boxplot", "errorband", "errorbar"]), v = {
4
19
  getMarkType(e) {
5
20
  const t = typeof e == "string" ? e : e.type;
@@ -13,22 +28,22 @@ const S = /* @__PURE__ */ new Set(["boxplot", "errorband", "errorbar"]), v = {
13
28
  },
14
29
  makeClickable(e) {
15
30
  const t = typeof e == "string" ? e : e.type;
16
- return t in d ? typeof e == "string" ? {
31
+ return t in m ? typeof e == "string" ? {
17
32
  type: e,
18
33
  cursor: "pointer",
19
- tooltip: !0
34
+ tooltip: true
20
35
  } : {
21
36
  ...e,
22
37
  type: t,
23
38
  cursor: "pointer",
24
- tooltip: !0
39
+ tooltip: true
25
40
  } : e;
26
41
  },
27
42
  getOpacity(e) {
28
43
  return typeof e == "string" ? null : "opacity" in e && typeof e.opacity == "number" ? e.opacity : null;
29
44
  }
30
45
  };
31
- function ne(e) {
46
+ function ae(e) {
32
47
  if (!e || !("encoding" in e))
33
48
  return [];
34
49
  const {
@@ -36,11 +51,11 @@ function ne(e) {
36
51
  } = e;
37
52
  return t ? Object.entries(t).flatMap((o) => {
38
53
  const [r, a] = o;
39
- return a ? re.has(r) ? "field" in a && typeof a.field == "string" ? [a.field] : "condition" in a && a.condition && typeof a.condition == "object" && "field" in a.condition && a.condition.field && typeof a.condition.field == "string" ? [a.condition.field] : [] : [] : [];
54
+ return a ? oe.has(r) ? "field" in a && typeof a.field == "string" ? [a.field] : "condition" in a && a.condition && typeof a.condition == "object" && "field" in a.condition && a.condition.field && typeof a.condition.field == "string" ? [a.condition.field] : [] : [] : [];
40
55
  }) : [];
41
56
  }
42
- const re = /* @__PURE__ */ new Set(["color", "fill", "fillOpacity", "opacity", "shape", "size"]);
43
- function ae(e, t, n, o) {
57
+ const oe = /* @__PURE__ */ new Set(["color", "fill", "fillOpacity", "opacity", "shape", "size"]);
58
+ function ie(e, t, n, o) {
44
59
  const r = {
45
60
  and: n.map((a) => ({
46
61
  param: a
@@ -66,7 +81,7 @@ function ae(e, t, n, o) {
66
81
  return t;
67
82
  }
68
83
  }
69
- const y = {
84
+ const g = {
70
85
  point(e) {
71
86
  return e == null ? "select_point" : `select_point_${e}`;
72
87
  },
@@ -93,7 +108,7 @@ const y = {
93
108
  }, b = {
94
109
  highlight() {
95
110
  return {
96
- name: y.HIGHLIGHT,
111
+ name: g.HIGHLIGHT,
97
112
  select: {
98
113
  type: "point",
99
114
  on: "mouseover"
@@ -102,7 +117,7 @@ const y = {
102
117
  },
103
118
  interval(e, t) {
104
119
  return {
105
- name: y.interval(t),
120
+ name: g.interval(t),
106
121
  select: {
107
122
  type: "interval",
108
123
  encodings: L(e),
@@ -120,7 +135,7 @@ const y = {
120
135
  },
121
136
  point(e, t) {
122
137
  return {
123
- name: y.point(t),
138
+ name: g.point(t),
124
139
  select: {
125
140
  type: "point",
126
141
  encodings: L(e),
@@ -130,7 +145,7 @@ const y = {
130
145
  },
131
146
  legend(e) {
132
147
  return {
133
- name: y.legendSelection(e),
148
+ name: g.legendSelection(e),
134
149
  select: {
135
150
  type: "point",
136
151
  fields: [e]
@@ -140,7 +155,7 @@ const y = {
140
155
  },
141
156
  panZoom() {
142
157
  return {
143
- name: y.PAN_ZOOM,
158
+ name: g.PAN_ZOOM,
144
159
  bind: "scales",
145
160
  select: {
146
161
  type: "interval",
@@ -153,36 +168,36 @@ const y = {
153
168
  };
154
169
  function L(e) {
155
170
  switch (v.getMarkType(e.mark)) {
156
- case d.image:
157
- case d.trail:
171
+ case m.image:
172
+ case m.trail:
158
173
  return;
159
- case d.area:
160
- case d.arc:
174
+ case m.area:
175
+ case m.arc:
161
176
  return ["color"];
162
- case d.bar: {
163
- const n = oe(e);
177
+ case m.bar: {
178
+ const n = se(e);
164
179
  return n === "horizontal" ? ["y"] : n === "vertical" ? ["x"] : void 0;
165
180
  }
166
- case d.circle:
167
- case d.geoshape:
168
- case d.line:
169
- case d.point:
170
- case d.rect:
171
- case d.rule:
172
- case d.square:
173
- case d.text:
174
- case d.tick:
181
+ case m.circle:
182
+ case m.geoshape:
183
+ case m.line:
184
+ case m.point:
185
+ case m.rect:
186
+ case m.rule:
187
+ case m.square:
188
+ case m.text:
189
+ case m.tick:
175
190
  return ["x", "y"];
176
191
  }
177
192
  }
178
- function N(e) {
179
- return "params" in e && e.params && e.params.length > 0 ? e.params.filter((n) => n == null ? !1 : "select" in n && n.select !== void 0).map((n) => n.name) : "layer" in e ? [...new Set(e.layer.flatMap(N))] : [];
193
+ function V(e) {
194
+ return "params" in e && e.params && e.params.length > 0 ? e.params.filter((n) => n == null ? false : "select" in n && n.select !== void 0).map((n) => n.name) : "layer" in e ? [...new Set(e.layer.flatMap(V))] : [];
180
195
  }
181
- function oe(e) {
182
- var o, r;
196
+ function se(e) {
197
+ var _a, _b;
183
198
  if (!e || !("mark" in e))
184
199
  return;
185
- const t = (o = e.encoding) == null ? void 0 : o.x, n = (r = e.encoding) == null ? void 0 : r.y;
200
+ const t = (_a = e.encoding) == null ? void 0 : _a.x, n = (_b = e.encoding) == null ? void 0 : _b.y;
186
201
  if (t && "type" in t && t.type === "nominal")
187
202
  return "vertical";
188
203
  if (n && "type" in n && n.type === "nominal" || t && "aggregate" in t)
@@ -190,49 +205,49 @@ function oe(e) {
190
205
  if (n && "aggregate" in n)
191
206
  return "vertical";
192
207
  }
193
- function ie(e, t) {
194
- var l, g;
208
+ function le(e, t) {
209
+ var _a, _b;
195
210
  let {
196
- chartSelection: n = !0,
197
- fieldSelection: o = !0
211
+ chartSelection: n = true,
212
+ fieldSelection: o = true
198
213
  } = t;
199
214
  if (!n && !o)
200
215
  return e;
201
- if (((l = e.params) == null ? void 0 : l.some((u) => u.bind === "legend")) && (o = !1), ((g = e.params) == null ? void 0 : g.some((u) => !u.bind)) && (n = !1), "vconcat" in e) {
202
- const u = e.vconcat.map((i) => "mark" in i ? P(i) : i);
216
+ if (((_a = e.params) == null ? void 0 : _a.some((i) => i.bind === "legend")) && (o = false), ((_b = e.params) == null ? void 0 : _b.some((i) => !i.bind)) && (n = false), "vconcat" in e) {
217
+ const i = e.vconcat.map((l) => "mark" in l ? P(l) : l);
203
218
  return {
204
219
  ...e,
205
- vconcat: u
220
+ vconcat: i
206
221
  };
207
222
  }
208
223
  if ("hconcat" in e) {
209
- const u = e.hconcat.map((i) => "mark" in i ? P(i) : i);
224
+ const i = e.hconcat.map((l) => "mark" in l ? P(l) : l);
210
225
  return {
211
226
  ...e,
212
- hconcat: u
227
+ hconcat: i
213
228
  };
214
229
  }
215
230
  if ("layer" in e) {
216
- const u = e.layer.map((i, h) => {
217
- if (!("mark" in i))
218
- return i;
219
- let m = i;
220
- return m = T(m, n, h), m = P(m), h === 0 && (m = C(m)), m;
231
+ const i = e.layer.map((l, f) => {
232
+ if (!("mark" in l))
233
+ return l;
234
+ let u = l;
235
+ return u = T(u, n, f), u = P(u), f === 0 && (u = C(u)), u;
221
236
  });
222
237
  return {
223
238
  ...e,
224
- layer: u
239
+ layer: i
225
240
  };
226
241
  }
227
242
  if (!("mark" in e) || !v.isInteractive(e.mark))
228
243
  return e;
229
244
  let s = e;
230
- return s = se(s, o), s = T(s, n, void 0), s = P(s), s = C(s), s;
245
+ return s = ce(s, o), s = T(s, n, void 0), s = P(s), s = C(s), s;
231
246
  }
232
- function se(e, t) {
233
- if (t === !1)
247
+ function ce(e, t) {
248
+ if (t === false)
234
249
  return e;
235
- let n = ne(e);
250
+ let n = ae(e);
236
251
  Array.isArray(t) && (n = n.filter((a) => t.includes(a)));
237
252
  const o = n.map((a) => b.legend(a)), r = [...e.params || [], ...o];
238
253
  return {
@@ -241,7 +256,7 @@ function se(e, t) {
241
256
  };
242
257
  }
243
258
  function T(e, t, n) {
244
- if (t === !1)
259
+ if (t === false)
245
260
  return e;
246
261
  let o;
247
262
  try {
@@ -251,10 +266,10 @@ function T(e, t, n) {
251
266
  }
252
267
  if (o === "geoshape")
253
268
  return e;
254
- const r = t === !0 ? le(o) : [t];
269
+ const r = t === true ? ue(o) : [t];
255
270
  if (!r)
256
271
  return e;
257
- const a = r.map((l) => l === "interval" ? b.interval(e, n) : b.point(e, n)), s = [...e.params || [], ...a];
272
+ const a = r.map((i) => i === "interval" ? b.interval(e, n) : b.point(e, n)), s = [...e.params || [], ...a];
258
273
  return {
259
274
  ...e,
260
275
  params: s
@@ -279,10 +294,10 @@ function P(e) {
279
294
  return n.length === 0 || !v.isInteractive(e.mark) ? e : {
280
295
  ...e,
281
296
  mark: v.makeClickable(e.mark),
282
- encoding: ae("opacity", t || {}, o, e.mark)
297
+ encoding: ie("opacity", t || {}, o, e.mark)
283
298
  };
284
299
  }
285
- function le(e) {
300
+ function ue(e) {
286
301
  switch (e) {
287
302
  case "arc":
288
303
  case "area":
@@ -297,10 +312,7 @@ function le(e) {
297
312
  return ["point", "interval"];
298
313
  }
299
314
  }
300
- function ce(e) {
301
- return e.data && "url" in e.data && (e.data.url = I(e.data.url).href), e;
302
- }
303
- async function ue(e) {
315
+ async function me(e) {
304
316
  if (!e)
305
317
  return e;
306
318
  const t = "datasets" in e ? {
@@ -309,24 +321,24 @@ async function ue(e) {
309
321
  if (!r)
310
322
  return r;
311
323
  if ("layer" in r) {
312
- const l = await Promise.all(r.layer.map(n));
324
+ const i = await Promise.all(r.layer.map(n));
313
325
  r = {
314
326
  ...r,
315
- layer: l
327
+ layer: i
316
328
  };
317
329
  }
318
330
  if ("hconcat" in r) {
319
- const l = await Promise.all(r.hconcat.map(n));
331
+ const i = await Promise.all(r.hconcat.map(n));
320
332
  r = {
321
333
  ...r,
322
- hconcat: l
334
+ hconcat: i
323
335
  };
324
336
  }
325
337
  if ("vconcat" in r) {
326
- const l = await Promise.all(r.vconcat.map(n));
338
+ const i = await Promise.all(r.vconcat.map(n));
327
339
  r = {
328
340
  ...r,
329
- vconcat: l
341
+ vconcat: i
330
342
  };
331
343
  }
332
344
  if ("spec" in r && (r = {
@@ -340,7 +352,7 @@ async function ue(e) {
340
352
  } catch {
341
353
  return r;
342
354
  }
343
- const s = await K(a.href, r.data.format);
355
+ const s = await z(a.href, r.data.format);
344
356
  return t[a.pathname] = s, {
345
357
  ...r,
346
358
  data: {
@@ -353,19 +365,7 @@ async function ue(e) {
353
365
  datasets: t
354
366
  };
355
367
  }
356
- function V(e) {
357
- function t(n) {
358
- return !!(n != null && n.schema) && Array.isArray(n.schema.fields) && typeof n.toArray == "function";
359
- }
360
- return (t(e) ? e : me(e)).toArray();
361
- }
362
- V.responseType = "arrayBuffer";
363
- function me(e, t) {
364
- return z(e, {
365
- useProxy: !0
366
- });
367
- }
368
- G("arrow", V);
368
+ G("arrow", N);
369
369
  const pe = (e) => {
370
370
  const t = R.c(11), {
371
371
  value: n,
@@ -374,20 +374,20 @@ const pe = (e) => {
374
374
  fieldSelection: a,
375
375
  spec: s
376
376
  } = e;
377
- let l, g;
378
- t[0] !== s ? (l = async () => ue(s), g = [s], t[0] = s, t[1] = l, t[2] = g) : (l = t[1], g = t[2]);
377
+ let i, l;
378
+ t[0] !== s ? (i = async () => me(s), l = [s], t[0] = s, t[1] = i, t[2] = l) : (i = t[1], l = t[2]);
379
379
  const {
380
- data: u,
381
- error: i
382
- } = W(l, g);
383
- if (i) {
384
- let m;
385
- return t[3] !== i ? (m = /* @__PURE__ */ f.jsx($, { error: i }), t[3] = i, t[4] = m) : m = t[4], m;
380
+ data: f,
381
+ error: u
382
+ } = W(i, l);
383
+ if (u) {
384
+ let y;
385
+ return t[3] !== u ? (y = /* @__PURE__ */ d.jsx($, { error: u }), t[3] = u, t[4] = y) : y = t[4], y;
386
386
  }
387
- if (!u)
387
+ if (!f)
388
388
  return null;
389
389
  let h;
390
- return t[5] !== r || t[6] !== a || t[7] !== u || t[8] !== o || t[9] !== n ? (h = /* @__PURE__ */ f.jsx(de, { value: n, setValue: o, chartSelection: r, fieldSelection: a, spec: u }), t[5] = r, t[6] = a, t[7] = u, t[8] = o, t[9] = n, t[10] = h) : h = t[10], h;
390
+ return t[5] !== r || t[6] !== a || t[7] !== f || t[8] !== o || t[9] !== n ? (h = /* @__PURE__ */ d.jsx(de, { value: n, setValue: o, chartSelection: r, fieldSelection: a, spec: f }), t[5] = r, t[6] = a, t[7] = f, t[8] = o, t[9] = n, t[10] = h) : h = t[10], h;
391
391
  }, de = ({
392
392
  value: e,
393
393
  setValue: t,
@@ -397,55 +397,55 @@ const pe = (e) => {
397
397
  }) => {
398
398
  const {
399
399
  theme: a
400
- } = B(), s = w.useRef(), [l, g] = w.useState(), u = A(r), i = w.useMemo(() => ie(ce(u), {
400
+ } = B(), s = w.useRef(void 0), [i, l] = w.useState(), f = A(r), u = w.useMemo(() => le(ne(f), {
401
401
  chartSelection: n,
402
402
  fieldSelection: o
403
- }), [u, n, o]), h = w.useMemo(() => N(i), [i]), m = M((c) => {
403
+ }), [f, n, o]), h = w.useMemo(() => V(u), [u]), y = M((c) => {
404
404
  t({
405
405
  ...e,
406
406
  ...c
407
407
  });
408
- }), _ = A(h), D = w.useMemo(() => _.reduce((c, p) => (y.PAN_ZOOM === p || (c[p] = U((k, j) => {
408
+ }), _ = A(h), D = w.useMemo(() => _.reduce((c, p) => (g.PAN_ZOOM === p || (c[p] = U((k, j) => {
409
409
  x.debug("[Vega signal]", k, j);
410
410
  let E = O.mapValues(j, ge);
411
- E = O.mapValues(E, he), m({
411
+ E = O.mapValues(E, he), y({
412
412
  [k]: E
413
413
  });
414
- }, 100)), c), {}), [_, m]), F = M((c) => {
415
- x.error(c), x.debug(i), g(c);
414
+ }, 100)), c), {}), [_, y]), F = M((c) => {
415
+ x.error(c), x.debug(u), l(c);
416
416
  }), H = M((c) => {
417
- x.debug("[Vega view] created", c), s.current = c, g(void 0);
417
+ x.debug("[Vega view] created", c), s.current = c, l(void 0);
418
418
  }), Z = () => {
419
419
  const c = [];
420
- return y.hasPoint(h) && c.push(["Point selection", "click to select a point; hold shift for multi-select"]), y.hasInterval(h) && c.push(["Interval selection", "click and drag to select an interval"]), y.hasLegend(h) && c.push(["Legend selection", "click to select a legend item; hold shift for multi-select"]), y.hasPanZoom(h) && c.push(["Pan", "hold the meta key and drag"], ["Zoom", "hold the meta key and scroll"]), c.length === 0 ? null : /* @__PURE__ */ f.jsx(Q, { delayDuration: 300, side: "left", content: /* @__PURE__ */ f.jsx("div", { className: "text-xs flex flex-col", children: c.map((p, k) => /* @__PURE__ */ f.jsxs("div", { children: [
421
- /* @__PURE__ */ f.jsxs("span", { className: "font-bold tracking-wide", children: [
420
+ return g.hasPoint(h) && c.push(["Point selection", "click to select a point; hold shift for multi-select"]), g.hasInterval(h) && c.push(["Interval selection", "click and drag to select an interval"]), g.hasLegend(h) && c.push(["Legend selection", "click to select a legend item; hold shift for multi-select"]), g.hasPanZoom(h) && c.push(["Pan", "hold the meta key and drag"], ["Zoom", "hold the meta key and scroll"]), c.length === 0 ? null : /* @__PURE__ */ d.jsx(Q, { delayDuration: 300, side: "left", content: /* @__PURE__ */ d.jsx("div", { className: "text-xs flex flex-col", children: c.map((p, k) => /* @__PURE__ */ d.jsxs("div", { children: [
421
+ /* @__PURE__ */ d.jsxs("span", { className: "font-bold tracking-wide", children: [
422
422
  p[0],
423
423
  ":"
424
424
  ] }),
425
425
  " ",
426
426
  p[1]
427
- ] }, k)) }), children: /* @__PURE__ */ f.jsx(ee, { className: "absolute bottom-1 right-0 m-2 h-4 w-4 cursor-help text-muted-foreground hover:text-foreground" }) });
427
+ ] }, k)) }), children: /* @__PURE__ */ d.jsx(ee, { className: "absolute bottom-1 right-0 m-2 h-4 w-4 cursor-help text-muted-foreground hover:text-foreground" }) });
428
428
  };
429
- return /* @__PURE__ */ f.jsxs(f.Fragment, { children: [
430
- l && /* @__PURE__ */ f.jsxs(Y, { variant: "destructive", children: [
431
- /* @__PURE__ */ f.jsx(q, { children: l.message }),
432
- /* @__PURE__ */ f.jsx("div", { className: "text-md", children: l.stack })
429
+ return /* @__PURE__ */ d.jsxs(d.Fragment, { children: [
430
+ i && /* @__PURE__ */ d.jsxs(Y, { variant: "destructive", children: [
431
+ /* @__PURE__ */ d.jsx(q, { children: i.message }),
432
+ /* @__PURE__ */ d.jsx("div", { className: "text-md", children: i.stack })
433
433
  ] }),
434
- /* @__PURE__ */ f.jsxs(
434
+ /* @__PURE__ */ d.jsxs(
435
435
  "div",
436
436
  {
437
437
  className: "relative",
438
438
  onPointerDown: J.stopPropagation(),
439
439
  children: [
440
- /* @__PURE__ */ f.jsx(te, { spec: i, theme: a === "dark" ? "dark" : void 0, actions: fe, signalListeners: D, onError: F, onNewView: H }),
440
+ /* @__PURE__ */ d.jsx(te, { spec: u, theme: a === "dark" ? "dark" : void 0, actions: fe, signalListeners: D, onError: F, onNewView: H }),
441
441
  Z()
442
442
  ]
443
443
  }
444
444
  )
445
445
  ] });
446
446
  }, fe = {
447
- source: !1,
448
- compiled: !1
447
+ source: false,
448
+ compiled: false
449
449
  };
450
450
  function he(e) {
451
451
  return e instanceof Set ? [...e] : e;