precision-dashwidgets 0.1.0 → 0.1.1

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.
@@ -1,9 +1,9 @@
1
- import { defineComponent as Ct, createElementBlock as Y, openBlock as z, createElementVNode as B, ref as S, watch as J, createBlock as Tn, createVNode as it, onMounted as Ue, onBeforeUnmount as Rr, withDirectives as De, vShow as xr, Fragment as _t, renderList as Rt, toDisplayString as ot, vModelSelect as Nr, normalizeStyle as Sr, computed as tt, onUnmounted as Cr, resolveComponent as Ae, normalizeClass as Lr, createCommentVNode as Lt, vModelText as kr, withCtx as Pt, createTextVNode as Ee, inject as Br, unref as Ut, watchEffect as Ur, renderSlot as In } from "vue";
1
+ import { defineComponent as Lt, createElementBlock as Y, openBlock as z, createElementVNode as B, ref as S, watch as J, createBlock as Tn, createVNode as it, onMounted as Ue, onBeforeUnmount as xr, withDirectives as De, vShow as Rr, Fragment as _t, renderList as xt, toDisplayString as ot, vModelSelect as Nr, normalizeStyle as Sr, computed as Z, onUnmounted as Cr, resolveComponent as Ae, normalizeClass as Lr, createCommentVNode as kt, vModelText as kr, withCtx as Pt, createTextVNode as Ee, inject as Br, unref as Rt, watchEffect as Ur, renderSlot as In } from "vue";
2
2
  import { ElTooltip as Dr } from "element-plus";
3
3
  import { fetchAuthSession as $r } from "@aws-amplify/auth";
4
4
  import { defineStore as Fr } from "pinia";
5
5
  /*! Element Plus Icons Vue v2.3.2 */
6
- var Pr = /* @__PURE__ */ Ct({
6
+ var Pr = /* @__PURE__ */ Lt({
7
7
  name: "InfoFilled",
8
8
  __name: "info-filled",
9
9
  setup(t) {
@@ -110,15 +110,15 @@ async function ae() {
110
110
  }
111
111
  }
112
112
  const Xr = Fr("duckdb", () => {
113
- const t = S(null), e = S(!1), n = S(!1), r = S(""), o = S(/* @__PURE__ */ new Map()), i = S(/* @__PURE__ */ new Map()), a = S(/* @__PURE__ */ new Map()), l = tt(() => e.value && !r.value), s = tt(() => (R) => o.value.get(R)), u = tt(() => (R) => {
114
- const E = o.value.get(R);
113
+ const t = S(null), e = S(!1), n = S(!1), r = S(""), o = S(/* @__PURE__ */ new Map()), i = S(/* @__PURE__ */ new Map()), a = S(/* @__PURE__ */ new Map()), l = Z(() => e.value && !r.value), s = Z(() => (x) => o.value.get(x)), u = Z(() => (x) => {
114
+ const E = o.value.get(x);
115
115
  return E && !E.isLoading && !E.error;
116
- }), f = tt(() => i.value.size), h = tt(() => i.value.size > 0), d = async () => {
116
+ }), f = Z(() => i.value.size), h = Z(() => i.value.size > 0), d = async () => {
117
117
  if (e.value || n.value)
118
118
  return t.value;
119
119
  n.value = !0, r.value = "";
120
120
  try {
121
- const R = await import("./duckdb-browser-Ca3YTI3y-4in0bpNm.mjs"), E = {
121
+ const x = await import("./duckdb-browser-Ca3YTI3y-4in0bpNm.mjs"), E = {
122
122
  mvp: {
123
123
  mainModule: "/static/duckdb/duckdb-mvp.wasm",
124
124
  mainWorker: "/static/duckdb/duckdb-browser-mvp.worker.js"
@@ -127,31 +127,31 @@ const Xr = Fr("duckdb", () => {
127
127
  mainModule: "/static/duckdb/duckdb-eh.wasm",
128
128
  mainWorker: "/static/duckdb/duckdb-browser-eh.worker.js"
129
129
  }
130
- }, M = await R.selectBundle(E), N = new Worker(M.mainWorker), C = new R.ConsoleLogger(R.LogLevel.WARNING);
131
- return t.value = new R.AsyncDuckDB(C, N), await t.value.instantiate(M.mainModule), e.value = !0, t.value;
132
- } catch (R) {
133
- throw console.error("Failed to initialize DuckDB:", R), r.value = `Failed to initialize DuckDB: ${R.message}`, R;
130
+ }, M = await x.selectBundle(E), N = new Worker(M.mainWorker), C = new x.ConsoleLogger(x.LogLevel.WARNING);
131
+ return t.value = new x.AsyncDuckDB(C, N), await t.value.instantiate(M.mainModule), e.value = !0, t.value;
132
+ } catch (x) {
133
+ throw console.error("Failed to initialize DuckDB:", x), r.value = `Failed to initialize DuckDB: ${x.message}`, x;
134
134
  } finally {
135
135
  n.value = !1;
136
136
  }
137
- }, p = async (R = null) => {
137
+ }, p = async (x = null) => {
138
138
  l.value || await d();
139
- const E = await t.value.connect(), M = R || `conn_${Date.now()}_${Math.random().toString(36).substr(2, 9)}`;
139
+ const E = await t.value.connect(), M = x || `conn_${Date.now()}_${Math.random().toString(36).substr(2, 9)}`;
140
140
  return i.value.set(M, {
141
141
  connection: E,
142
142
  viewerId: M,
143
143
  createdAt: /* @__PURE__ */ new Date()
144
144
  }), { connection: E, connectionId: M };
145
- }, w = async (R) => {
146
- const E = i.value.get(R);
147
- E && (await E.connection.close(), i.value.delete(R), I(R), i.value.size === 0 && console.log("No active connections remaining. Keeping DuckDB instance for potential reuse."));
148
- }, I = (R) => {
145
+ }, w = async (x) => {
146
+ const E = i.value.get(x);
147
+ E && (await E.connection.close(), i.value.delete(x), I(x), i.value.size === 0 && console.log("No active connections remaining. Keeping DuckDB instance for potential reuse."));
148
+ }, I = (x) => {
149
149
  for (const [E, M] of a.value)
150
- M.delete(R), M.size === 0 && console.log(`File ${E} is no longer used by any viewers`);
151
- }, A = (R, E) => {
152
- a.value.has(R) || a.value.set(R, /* @__PURE__ */ new Set()), a.value.get(R).add(E);
153
- }, m = async (R) => {
154
- const E = o.value.get(R);
150
+ M.delete(x), M.size === 0 && console.log(`File ${E} is no longer used by any viewers`);
151
+ }, A = (x, E) => {
152
+ a.value.has(x) || a.value.set(x, /* @__PURE__ */ new Set()), a.value.get(x).add(E);
153
+ }, m = async (x) => {
154
+ const E = o.value.get(x);
155
155
  if (E && E.tableName)
156
156
  try {
157
157
  const M = await t.value.connect();
@@ -159,21 +159,21 @@ const Xr = Fr("duckdb", () => {
159
159
  } catch (M) {
160
160
  console.warn(`Failed to drop table ${E.tableName}:`, M);
161
161
  }
162
- o.value.delete(R), a.value.delete(R);
163
- }, L = async (R, E, M = "my_data", N = {}, C = null, U = null) => {
164
- const P = U || R, j = o.value.get(P);
162
+ o.value.delete(x), a.value.delete(x);
163
+ }, L = async (x, E, M = "my_data", N = {}, C = null, U = null) => {
164
+ const P = U || x, j = o.value.get(P);
165
165
  if (j && !j.isLoading && !j.error)
166
166
  return C && A(P, C), j.tableName;
167
167
  l.value || await d(), o.value.set(P, {
168
168
  tableName: M,
169
169
  fileType: E,
170
- fileUrl: R,
170
+ fileUrl: x,
171
171
  // Store the current URL for reference
172
172
  isLoading: !0,
173
173
  error: null
174
174
  });
175
175
  try {
176
- const W = await fetch(R);
176
+ const W = await fetch(x);
177
177
  if (!W.ok)
178
178
  throw new Error(`Failed to fetch file: ${W.status} ${W.statusText}`);
179
179
  let _;
@@ -211,7 +211,7 @@ const Xr = Fr("duckdb", () => {
211
211
  return o.value.set(P, {
212
212
  tableName: M,
213
213
  fileType: E,
214
- fileUrl: R,
214
+ fileUrl: x,
215
215
  // Store current URL for reference
216
216
  isLoading: !1,
217
217
  error: null,
@@ -225,33 +225,33 @@ const Xr = Fr("duckdb", () => {
225
225
  throw o.value.set(P, {
226
226
  tableName: M,
227
227
  fileType: E,
228
- fileUrl: R,
228
+ fileUrl: x,
229
229
  isLoading: !1,
230
230
  error: W.message
231
231
  }), W;
232
232
  }
233
- }, D = async (R, E) => {
233
+ }, D = async (x, E) => {
234
234
  const M = i.value.get(E);
235
235
  if (!M)
236
236
  throw new Error(`Connection not found: ${E}`);
237
- return (await M.connection.query(R)).toArray().map((N) => {
237
+ return (await M.connection.query(x)).toArray().map((N) => {
238
238
  const C = {};
239
239
  for (const [U, P] of Object.entries(N))
240
240
  C[U] = P;
241
241
  return C;
242
242
  });
243
243
  }, H = async () => {
244
- for (const [R, E] of i.value)
244
+ for (const [x, E] of i.value)
245
245
  try {
246
- await E.connection.close(), console.log(`Closed connection: ${R}`);
246
+ await E.connection.close(), console.log(`Closed connection: ${x}`);
247
247
  } catch (M) {
248
- console.warn(`Error closing connection ${R}:`, M);
248
+ console.warn(`Error closing connection ${x}:`, M);
249
249
  }
250
250
  if (i.value.clear(), t.value) {
251
251
  try {
252
252
  await t.value.terminate();
253
- } catch (R) {
254
- console.warn("Error terminating DuckDB:", R);
253
+ } catch (x) {
254
+ console.warn("Error terminating DuckDB:", x);
255
255
  }
256
256
  t.value = null;
257
257
  }
@@ -281,25 +281,25 @@ const Xr = Fr("duckdb", () => {
281
281
  unloadFile: m,
282
282
  loadFile: L,
283
283
  executeQuery: D,
284
- cleanup: async (R = !1) => {
285
- R || i.value.size === 0 ? await H() : console.log(`Skipping global cleanup. ${i.value.size} active connections remaining.`);
284
+ cleanup: async (x = !1) => {
285
+ x || i.value.size === 0 ? await H() : console.log(`Skipping global cleanup. ${i.value.size} active connections remaining.`);
286
286
  },
287
287
  performGlobalCleanup: H,
288
288
  getConnectionInfo: () => {
289
- const R = [];
289
+ const x = [];
290
290
  for (const [E, M] of i.value)
291
- R.push({
291
+ x.push({
292
292
  connectionId: E,
293
293
  viewerId: M.viewerId,
294
294
  createdAt: M.createdAt
295
295
  });
296
- return R;
296
+ return x;
297
297
  },
298
298
  getFileUsageInfo: () => {
299
- const R = [];
299
+ const x = [];
300
300
  for (const [E, M] of a.value) {
301
301
  const N = o.value.get(E);
302
- R.push({
302
+ x.push({
303
303
  fileId: E,
304
304
  tableName: N?.tableName,
305
305
  fileType: N?.fileType,
@@ -309,7 +309,7 @@ const Xr = Fr("duckdb", () => {
309
309
  usedByViewers: Array.from(M)
310
310
  });
311
311
  }
312
- return R;
312
+ return x;
313
313
  }
314
314
  };
315
315
  }), jt = (t, e) => {
@@ -375,11 +375,11 @@ const Xr = Fr("duckdb", () => {
375
375
  },
376
376
  { immediate: !0 }
377
377
  );
378
- const I = tt(() => n.isReady && w.value && !o.value), A = tt(() => o.value ? "Loading..." : n.isInitializing ? "Initializing..." : n.isReady ? I.value ? "Connected" : "Not Connected" : "Not Ready"), m = tt(() => !u.value || !Array.isArray(u.value) || u.value.length === 0 ? [] : Object.keys(u.value[0] || {})), L = tt(() => !u.value || !Array.isArray(u.value) ? 0 : Math.ceil(u.value.length / p.value)), D = tt(() => {
378
+ const I = Z(() => n.isReady && w.value && !o.value), A = Z(() => o.value ? "Loading..." : n.isInitializing ? "Initializing..." : n.isReady ? I.value ? "Connected" : "Not Connected" : "Not Ready"), m = Z(() => !u.value || !Array.isArray(u.value) || u.value.length === 0 ? [] : Object.keys(u.value[0] || {})), L = Z(() => !u.value || !Array.isArray(u.value) ? 0 : Math.ceil(u.value.length / p.value)), D = Z(() => {
379
379
  if (!u.value || !Array.isArray(u.value)) return [];
380
380
  const y = (d.value - 1) * p.value, c = y + p.value;
381
381
  return u.value.slice(y, c);
382
- }), H = tt(() => [
382
+ }), H = Z(() => [
383
383
  { name: "Show All", query: "SELECT * FROM data LIMIT 100;" },
384
384
  { name: "Count Rows", query: "SELECT COUNT(*) as row_count FROM data;" },
385
385
  {
@@ -396,7 +396,7 @@ const Xr = Fr("duckdb", () => {
396
396
  { name: "Sample", query: "SELECT * FROM data USING SAMPLE 10;" },
397
397
  { name: "Columns", query: "PRAGMA table_info(data);" }
398
398
  ]);
399
- tt(() => ({
399
+ Z(() => ({
400
400
  viewerId: e.viewerId,
401
401
  fileId: e.fileId,
402
402
  connectionId: w.value,
@@ -405,7 +405,7 @@ const Xr = Fr("duckdb", () => {
405
405
  activeConnections: n.activeConnectionCount,
406
406
  hasActiveConnections: n.hasActiveConnections
407
407
  }));
408
- const R = async () => {
408
+ const x = async () => {
409
409
  try {
410
410
  const { connection: y, connectionId: c } = await n.createConnection(e.viewerId);
411
411
  w.value = c, a.value && (await E(), N());
@@ -475,8 +475,8 @@ const Xr = Fr("duckdb", () => {
475
475
  const y = Object.keys(u.value[0]), c = [
476
476
  y.join(","),
477
477
  ...u.value.map(
478
- (T) => y.map((x) => {
479
- const k = T[x], q = k == null ? "" : k.toString();
478
+ (T) => y.map((R) => {
479
+ const k = T[R], q = k == null ? "" : k.toString();
480
480
  return q.includes(",") ? `"${q}"` : q;
481
481
  }).join(",")
482
482
  )
@@ -487,7 +487,7 @@ const Xr = Fr("duckdb", () => {
487
487
  f.value = "";
488
488
  };
489
489
  return Ue(async () => {
490
- await R();
490
+ await x();
491
491
  }), Cr(async () => {
492
492
  w.value && (n.activeConnectionCount, n.loadedFiles.size, await n.closeConnection(w.value), n.activeConnectionCount, n.loadedFiles.size);
493
493
  }), (y, c) => {
@@ -504,7 +504,7 @@ const Xr = Fr("duckdb", () => {
504
504
  c[5] || (c[5] = B("h3", null, "SQL Query", -1)),
505
505
  B("div", Jr, [
506
506
  c[4] || (c[4] = B("span", null, "Quick queries:", -1)),
507
- (z(!0), Y(_t, null, Rt(H.value, (b) => (z(), Y("button", {
507
+ (z(!0), Y(_t, null, xt(H.value, (b) => (z(), Y("button", {
508
508
  key: b.name,
509
509
  onClick: (T) => P(b.query),
510
510
  class: "example-btn"
@@ -527,7 +527,7 @@ const Xr = Fr("duckdb", () => {
527
527
  ]),
528
528
  _: 1
529
529
  }, 8, ["disabled"])
530
- ])) : Lt("", !0),
530
+ ])) : kt("", !0),
531
531
  u.value ? (z(), Y("div", to, [
532
532
  B("h3", null, "Results (" + ot(u.value.length) + " rows)", 1),
533
533
  B("div", eo, [
@@ -552,7 +552,7 @@ const Xr = Fr("duckdb", () => {
552
552
  layout: "prev, pager, next",
553
553
  onCurrentChange: C,
554
554
  class: "results-pagination"
555
- }, null, 8, ["current-page", "page-size", "total"])) : Lt("", !0)
555
+ }, null, 8, ["current-page", "page-size", "total"])) : kt("", !0)
556
556
  ])
557
557
  ]),
558
558
  c[7] || (c[7] = B("div", { class: "pagination-wrapper" }, null, -1)),
@@ -560,12 +560,12 @@ const Xr = Fr("duckdb", () => {
560
560
  B("table", io, [
561
561
  B("thead", null, [
562
562
  B("tr", null, [
563
- (z(!0), Y(_t, null, Rt(m.value, (b) => (z(), Y("th", { key: b }, ot(b), 1))), 128))
563
+ (z(!0), Y(_t, null, xt(m.value, (b) => (z(), Y("th", { key: b }, ot(b), 1))), 128))
564
564
  ])
565
565
  ]),
566
566
  B("tbody", null, [
567
- (z(!0), Y(_t, null, Rt(D.value, (b, T) => (z(), Y("tr", { key: T }, [
568
- (z(!0), Y(_t, null, Rt(m.value, (x) => (z(), Y("td", { key: x }, ot(j(b[x])), 1))), 128))
567
+ (z(!0), Y(_t, null, xt(D.value, (b, T) => (z(), Y("tr", { key: T }, [
568
+ (z(!0), Y(_t, null, xt(m.value, (R) => (z(), Y("td", { key: R }, ot(j(b[R])), 1))), 128))
569
569
  ]))), 128))
570
570
  ])
571
571
  ]),
@@ -580,11 +580,11 @@ const Xr = Fr("duckdb", () => {
580
580
  onCurrentChange: C,
581
581
  onSizeChange: U
582
582
  }, null, 8, ["current-page", "page-size", "total"])
583
- ])) : Lt("", !0)
583
+ ])) : kt("", !0)
584
584
  ])) : (z(), Y("div", lo, [
585
585
  B("pre", null, ot(JSON.stringify(u.value.slice(0, 100), null, 2)), 1)
586
586
  ]))
587
- ])) : Lt("", !0),
587
+ ])) : kt("", !0),
588
588
  f.value ? (z(), Y("div", uo, [
589
589
  c[8] || (c[8] = B("h3", null, "Error", -1)),
590
590
  B("p", null, ot(f.value), 1),
@@ -592,12 +592,12 @@ const Xr = Fr("duckdb", () => {
592
592
  onClick: _,
593
593
  class: "clear-error-btn"
594
594
  }, "Clear")
595
- ])) : Lt("", !0)
595
+ ])) : kt("", !0)
596
596
  ])
597
597
  ]);
598
598
  };
599
599
  }
600
- }, co = /* @__PURE__ */ jt(so, [["__scopeId", "data-v-6635a757"]]), fo = { class: "app-container" }, ho = /* @__PURE__ */ Ct({
600
+ }, co = /* @__PURE__ */ jt(so, [["__scopeId", "data-v-6635a757"]]), fo = { class: "app-container" }, ho = /* @__PURE__ */ Lt({
601
601
  __name: "DataExplorerWrap",
602
602
  props: {
603
603
  pkg: {},
@@ -759,7 +759,7 @@ function Ao(t) {
759
759
  function Eo() {
760
760
  return [];
761
761
  }
762
- function Rn(t) {
762
+ function xn(t) {
763
763
  return t == null ? Eo : function() {
764
764
  return this.querySelectorAll(t);
765
765
  };
@@ -770,13 +770,13 @@ function To(t) {
770
770
  };
771
771
  }
772
772
  function Io(t) {
773
- typeof t == "function" ? t = To(t) : t = Rn(t);
773
+ typeof t == "function" ? t = To(t) : t = xn(t);
774
774
  for (var e = this._groups, n = e.length, r = [], o = [], i = 0; i < n; ++i)
775
775
  for (var a = e[i], l = a.length, s, u = 0; u < l; ++u)
776
776
  (s = a[u]) && (r.push(t.call(s, s.__data__, u, a)), o.push(s));
777
777
  return new et(r, o);
778
778
  }
779
- function xn(t) {
779
+ function Rn(t) {
780
780
  return function() {
781
781
  return this.matches(t);
782
782
  };
@@ -787,16 +787,16 @@ function Nn(t) {
787
787
  };
788
788
  }
789
789
  var Mo = Array.prototype.find;
790
- function Ro(t) {
790
+ function xo(t) {
791
791
  return function() {
792
792
  return Mo.call(this.children, t);
793
793
  };
794
794
  }
795
- function xo() {
795
+ function Ro() {
796
796
  return this.firstElementChild;
797
797
  }
798
798
  function No(t) {
799
- return this.select(t == null ? xo : Ro(typeof t == "function" ? t : Nn(t)));
799
+ return this.select(t == null ? Ro : xo(typeof t == "function" ? t : Nn(t)));
800
800
  }
801
801
  var So = Array.prototype.filter;
802
802
  function Co() {
@@ -811,7 +811,7 @@ function ko(t) {
811
811
  return this.selectAll(t == null ? Co : Lo(typeof t == "function" ? t : Nn(t)));
812
812
  }
813
813
  function Bo(t) {
814
- typeof t != "function" && (t = xn(t));
814
+ typeof t != "function" && (t = Rn(t));
815
815
  for (var e = this._groups, n = e.length, r = new Array(n), o = 0; o < n; ++o)
816
816
  for (var i = e[o], a = i.length, l = r[o] = [], s, u = 0; u < a; ++u)
817
817
  (s = i[u]) && t.call(s, s.__data__, u, i) && l.push(s);
@@ -871,10 +871,10 @@ function Oo(t, e) {
871
871
  for (var i = o.length, a = new Array(i), l = new Array(i), s = new Array(i), u = 0; u < i; ++u) {
872
872
  var f = r[u], h = o[u], d = h.length, p = zo(t.call(f, f && f.__data__, u, r)), w = p.length, I = l[u] = new Array(w), A = a[u] = new Array(w), m = s[u] = new Array(d);
873
873
  n(f, h, I, A, m, p, e);
874
- for (var L = 0, D = 0, H, R; L < w; ++L)
874
+ for (var L = 0, D = 0, H, x; L < w; ++L)
875
875
  if (H = I[L]) {
876
- for (L >= D && (D = L + 1); !(R = A[D]) && ++D < w; ) ;
877
- H._next = R || null;
876
+ for (L >= D && (D = L + 1); !(x = A[D]) && ++D < w; ) ;
877
+ H._next = x || null;
878
878
  }
879
879
  }
880
880
  return a = new et(a, r), a._enter = l, a._exit = s, a;
@@ -1007,9 +1007,9 @@ function si(t, e, n) {
1007
1007
  };
1008
1008
  }
1009
1009
  function ci(t, e, n) {
1010
- return arguments.length > 1 ? this.each((e == null ? li : typeof e == "function" ? si : ui)(t, e, n ?? "")) : Nt(this.node(), t);
1010
+ return arguments.length > 1 ? this.each((e == null ? li : typeof e == "function" ? si : ui)(t, e, n ?? "")) : St(this.node(), t);
1011
1011
  }
1012
- function Nt(t, e) {
1012
+ function St(t, e) {
1013
1013
  return t.style.getPropertyValue(e) || Cn(t).getComputedStyle(t, null).getPropertyValue(e);
1014
1014
  }
1015
1015
  function fi(t) {
@@ -1116,11 +1116,11 @@ function Ii(t) {
1116
1116
  function Mi(t) {
1117
1117
  return arguments.length ? this.each(t == null ? Ei : (typeof t == "function" ? Ii : Ti)(t)) : this.node().innerHTML;
1118
1118
  }
1119
- function Ri() {
1119
+ function xi() {
1120
1120
  this.nextSibling && this.parentNode.appendChild(this);
1121
1121
  }
1122
- function xi() {
1123
- return this.each(Ri);
1122
+ function Ri() {
1123
+ return this.each(xi);
1124
1124
  }
1125
1125
  function Ni() {
1126
1126
  this.previousSibling && this.parentNode.insertBefore(this, this.parentNode.firstChild);
@@ -1272,7 +1272,7 @@ et.prototype = Gt.prototype = {
1272
1272
  classed: vi,
1273
1273
  text: Ai,
1274
1274
  html: Mi,
1275
- raise: xi,
1275
+ raise: Ri,
1276
1276
  lower: Si,
1277
1277
  append: Ci,
1278
1278
  insert: ki,
@@ -1329,7 +1329,7 @@ function Fn(t, e) {
1329
1329
  }
1330
1330
  function Xt() {
1331
1331
  }
1332
- var Ot = 0.7, ue = 1 / Ot, xt = "\\s*([+-]?\\d+)\\s*", zt = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", at = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", Zi = /^#([0-9a-f]{3,8})$/, ta = new RegExp(`^rgb\\(${xt},${xt},${xt}\\)$`), ea = new RegExp(`^rgb\\(${at},${at},${at}\\)$`), na = new RegExp(`^rgba\\(${xt},${xt},${xt},${zt}\\)$`), ra = new RegExp(`^rgba\\(${at},${at},${at},${zt}\\)$`), oa = new RegExp(`^hsl\\(${zt},${at},${at}\\)$`), ia = new RegExp(`^hsla\\(${zt},${at},${at},${zt}\\)$`), en = {
1332
+ var Ot = 0.7, ue = 1 / Ot, Nt = "\\s*([+-]?\\d+)\\s*", zt = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", at = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", Zi = /^#([0-9a-f]{3,8})$/, ta = new RegExp(`^rgb\\(${Nt},${Nt},${Nt}\\)$`), ea = new RegExp(`^rgb\\(${at},${at},${at}\\)$`), na = new RegExp(`^rgba\\(${Nt},${Nt},${Nt},${zt}\\)$`), ra = new RegExp(`^rgba\\(${at},${at},${at},${zt}\\)$`), oa = new RegExp(`^hsl\\(${zt},${at},${at}\\)$`), ia = new RegExp(`^hsla\\(${zt},${at},${at},${zt}\\)$`), en = {
1333
1333
  aliceblue: 15792383,
1334
1334
  antiquewhite: 16444375,
1335
1335
  aqua: 65535,
@@ -1508,35 +1508,35 @@ function rn() {
1508
1508
  }
1509
1509
  function qt(t) {
1510
1510
  var e, n;
1511
- return t = (t + "").trim().toLowerCase(), (e = Zi.exec(t)) ? (n = e[1].length, e = parseInt(e[1], 16), n === 6 ? on(e) : n === 3 ? new Z(e >> 8 & 15 | e >> 4 & 240, e >> 4 & 15 | e & 240, (e & 15) << 4 | e & 15, 1) : n === 8 ? Wt(e >> 24 & 255, e >> 16 & 255, e >> 8 & 255, (e & 255) / 255) : n === 4 ? Wt(e >> 12 & 15 | e >> 8 & 240, e >> 8 & 15 | e >> 4 & 240, e >> 4 & 15 | e & 240, ((e & 15) << 4 | e & 15) / 255) : null) : (e = ta.exec(t)) ? new Z(e[1], e[2], e[3], 1) : (e = ea.exec(t)) ? new Z(e[1] * 255 / 100, e[2] * 255 / 100, e[3] * 255 / 100, 1) : (e = na.exec(t)) ? Wt(e[1], e[2], e[3], e[4]) : (e = ra.exec(t)) ? Wt(e[1] * 255 / 100, e[2] * 255 / 100, e[3] * 255 / 100, e[4]) : (e = oa.exec(t)) ? un(e[1], e[2] / 100, e[3] / 100, 1) : (e = ia.exec(t)) ? un(e[1], e[2] / 100, e[3] / 100, e[4]) : en.hasOwnProperty(t) ? on(en[t]) : t === "transparent" ? new Z(NaN, NaN, NaN, 0) : null;
1511
+ return t = (t + "").trim().toLowerCase(), (e = Zi.exec(t)) ? (n = e[1].length, e = parseInt(e[1], 16), n === 6 ? on(e) : n === 3 ? new tt(e >> 8 & 15 | e >> 4 & 240, e >> 4 & 15 | e & 240, (e & 15) << 4 | e & 15, 1) : n === 8 ? Wt(e >> 24 & 255, e >> 16 & 255, e >> 8 & 255, (e & 255) / 255) : n === 4 ? Wt(e >> 12 & 15 | e >> 8 & 240, e >> 8 & 15 | e >> 4 & 240, e >> 4 & 15 | e & 240, ((e & 15) << 4 | e & 15) / 255) : null) : (e = ta.exec(t)) ? new tt(e[1], e[2], e[3], 1) : (e = ea.exec(t)) ? new tt(e[1] * 255 / 100, e[2] * 255 / 100, e[3] * 255 / 100, 1) : (e = na.exec(t)) ? Wt(e[1], e[2], e[3], e[4]) : (e = ra.exec(t)) ? Wt(e[1] * 255 / 100, e[2] * 255 / 100, e[3] * 255 / 100, e[4]) : (e = oa.exec(t)) ? un(e[1], e[2] / 100, e[3] / 100, 1) : (e = ia.exec(t)) ? un(e[1], e[2] / 100, e[3] / 100, e[4]) : en.hasOwnProperty(t) ? on(en[t]) : t === "transparent" ? new tt(NaN, NaN, NaN, 0) : null;
1512
1512
  }
1513
1513
  function on(t) {
1514
- return new Z(t >> 16 & 255, t >> 8 & 255, t & 255, 1);
1514
+ return new tt(t >> 16 & 255, t >> 8 & 255, t & 255, 1);
1515
1515
  }
1516
1516
  function Wt(t, e, n, r) {
1517
- return r <= 0 && (t = e = n = NaN), new Z(t, e, n, r);
1517
+ return r <= 0 && (t = e = n = NaN), new tt(t, e, n, r);
1518
1518
  }
1519
1519
  function ua(t) {
1520
- return t instanceof Xt || (t = qt(t)), t ? (t = t.rgb(), new Z(t.r, t.g, t.b, t.opacity)) : new Z();
1520
+ return t instanceof Xt || (t = qt(t)), t ? (t = t.rgb(), new tt(t.r, t.g, t.b, t.opacity)) : new tt();
1521
1521
  }
1522
- function Re(t, e, n, r) {
1523
- return arguments.length === 1 ? ua(t) : new Z(t, e, n, r ?? 1);
1522
+ function xe(t, e, n, r) {
1523
+ return arguments.length === 1 ? ua(t) : new tt(t, e, n, r ?? 1);
1524
1524
  }
1525
- function Z(t, e, n, r) {
1525
+ function tt(t, e, n, r) {
1526
1526
  this.r = +t, this.g = +e, this.b = +n, this.opacity = +r;
1527
1527
  }
1528
- Oe(Z, Re, Fn(Xt, {
1528
+ Oe(tt, xe, Fn(Xt, {
1529
1529
  brighter(t) {
1530
- return t = t == null ? ue : Math.pow(ue, t), new Z(this.r * t, this.g * t, this.b * t, this.opacity);
1530
+ return t = t == null ? ue : Math.pow(ue, t), new tt(this.r * t, this.g * t, this.b * t, this.opacity);
1531
1531
  },
1532
1532
  darker(t) {
1533
- return t = t == null ? Ot : Math.pow(Ot, t), new Z(this.r * t, this.g * t, this.b * t, this.opacity);
1533
+ return t = t == null ? Ot : Math.pow(Ot, t), new tt(this.r * t, this.g * t, this.b * t, this.opacity);
1534
1534
  },
1535
1535
  rgb() {
1536
1536
  return this;
1537
1537
  },
1538
1538
  clamp() {
1539
- return new Z(At(this.r), At(this.g), At(this.b), se(this.opacity));
1539
+ return new tt(At(this.r), At(this.g), At(this.b), se(this.opacity));
1540
1540
  },
1541
1541
  displayable() {
1542
1542
  return -0.5 <= this.r && this.r < 255.5 && -0.5 <= this.g && this.g < 255.5 && -0.5 <= this.b && this.b < 255.5 && 0 <= this.opacity && this.opacity <= 1;
@@ -1593,7 +1593,7 @@ Oe(nt, ca, Fn(Xt, {
1593
1593
  },
1594
1594
  rgb() {
1595
1595
  var t = this.h % 360 + (this.h < 0) * 360, e = isNaN(t) || isNaN(this.s) ? 0 : this.s, n = this.l, r = n + (n < 0.5 ? n : 1 - n) * e, o = 2 * n - r;
1596
- return new Z(
1596
+ return new tt(
1597
1597
  ye(t >= 240 ? t - 240 : t + 120, o, r),
1598
1598
  ye(t, o, r),
1599
1599
  ye(t < 120 ? t + 240 : t - 120, o, r),
@@ -1643,7 +1643,7 @@ function zn(t, e) {
1643
1643
  const cn = (function t(e) {
1644
1644
  var n = da(e);
1645
1645
  function r(o, i) {
1646
- var a = n((o = Re(o)).r, (i = Re(i)).r), l = n(o.g, i.g), s = n(o.b, i.b), u = zn(o.opacity, i.opacity);
1646
+ var a = n((o = xe(o)).r, (i = xe(i)).r), l = n(o.g, i.g), s = n(o.b, i.b), u = zn(o.opacity, i.opacity);
1647
1647
  return function(f) {
1648
1648
  return o.r = a(f), o.g = l(f), o.b = s(f), o.opacity = u(f), o + "";
1649
1649
  };
@@ -1655,7 +1655,7 @@ function pt(t, e) {
1655
1655
  return t * (1 - n) + e * n;
1656
1656
  };
1657
1657
  }
1658
- var xe = /[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g, we = new RegExp(xe.source, "g");
1658
+ var Re = /[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g, we = new RegExp(Re.source, "g");
1659
1659
  function pa(t) {
1660
1660
  return function() {
1661
1661
  return t;
@@ -1667,8 +1667,8 @@ function _a(t) {
1667
1667
  };
1668
1668
  }
1669
1669
  function ma(t, e) {
1670
- var n = xe.lastIndex = we.lastIndex = 0, r, o, i, a = -1, l = [], s = [];
1671
- for (t = t + "", e = e + ""; (r = xe.exec(t)) && (o = we.exec(e)); )
1670
+ var n = Re.lastIndex = we.lastIndex = 0, r, o, i, a = -1, l = [], s = [];
1671
+ for (t = t + "", e = e + ""; (r = Re.exec(t)) && (o = we.exec(e)); )
1672
1672
  (i = o.index) > n && (i = e.slice(n, i), l[a] ? l[a] += i : l[++a] = i), (r = r[0]) === (o = o[0]) ? l[a] ? l[a] += o : l[++a] = o : (l[++a] = null, s.push({ i: a, x: pt(r, o) })), n = we.lastIndex;
1673
1673
  return n < e.length && (i = e.slice(n), l[a] ? l[a] += i : l[++a] = i), l.length < 2 ? s[0] ? _a(s[0].x) : pa(e) : (e = s.length, function(u) {
1674
1674
  for (var f = 0, h; f < e; ++f) l[(h = s[f]).i] = h.x(u);
@@ -1754,13 +1754,13 @@ const Ta = (function t(e, n, r) {
1754
1754
  ];
1755
1755
  };
1756
1756
  else {
1757
- var L = Math.sqrt(I), D = (d * d - u * u + r * I) / (2 * u * n * L), H = (d * d - u * u - r * I) / (2 * d * n * L), R = Math.log(Math.sqrt(D * D + 1) - D), E = Math.log(Math.sqrt(H * H + 1) - H);
1758
- m = (E - R) / e, A = function(M) {
1759
- var N = M * m, C = hn(R), U = u / (n * L) * (C * Ea(e * N + R) - Aa(R));
1757
+ var L = Math.sqrt(I), D = (d * d - u * u + r * I) / (2 * u * n * L), H = (d * d - u * u - r * I) / (2 * d * n * L), x = Math.log(Math.sqrt(D * D + 1) - D), E = Math.log(Math.sqrt(H * H + 1) - H);
1758
+ m = (E - x) / e, A = function(M) {
1759
+ var N = M * m, C = hn(x), U = u / (n * L) * (C * Ea(e * N + x) - Aa(x));
1760
1760
  return [
1761
1761
  l + U * p,
1762
1762
  s + U * w,
1763
- u * C / hn(e * N + R)
1763
+ u * C / hn(e * N + x)
1764
1764
  ];
1765
1765
  };
1766
1766
  }
@@ -1771,7 +1771,7 @@ const Ta = (function t(e, n, r) {
1771
1771
  return t(a, l, s);
1772
1772
  }, o;
1773
1773
  })(Math.SQRT2, 2, 4);
1774
- var St = 0, Dt = 0, kt = 0, jn = 1e3, ce, $t, fe = 0, Tt = 0, _e = 0, Yt = typeof performance == "object" && performance.now ? performance : Date, Gn = typeof window == "object" && window.requestAnimationFrame ? window.requestAnimationFrame.bind(window) : function(t) {
1774
+ var Ct = 0, Dt = 0, Bt = 0, jn = 1e3, ce, $t, fe = 0, Tt = 0, _e = 0, Yt = typeof performance == "object" && performance.now ? performance : Date, Gn = typeof window == "object" && window.requestAnimationFrame ? window.requestAnimationFrame.bind(window) : function(t) {
1775
1775
  setTimeout(t, 17);
1776
1776
  };
1777
1777
  function ze() {
@@ -1798,33 +1798,33 @@ function Xn(t, e, n) {
1798
1798
  return r.restart(t, e, n), r;
1799
1799
  }
1800
1800
  function Ma() {
1801
- ze(), ++St;
1801
+ ze(), ++Ct;
1802
1802
  for (var t = ce, e; t; )
1803
1803
  (e = Tt - t._time) >= 0 && t._call.call(void 0, e), t = t._next;
1804
- --St;
1804
+ --Ct;
1805
1805
  }
1806
1806
  function dn() {
1807
- Tt = (fe = Yt.now()) + _e, St = Dt = 0;
1807
+ Tt = (fe = Yt.now()) + _e, Ct = Dt = 0;
1808
1808
  try {
1809
1809
  Ma();
1810
1810
  } finally {
1811
- St = 0, xa(), Tt = 0;
1811
+ Ct = 0, Ra(), Tt = 0;
1812
1812
  }
1813
1813
  }
1814
- function Ra() {
1814
+ function xa() {
1815
1815
  var t = Yt.now(), e = t - fe;
1816
1816
  e > jn && (_e -= e, fe = t);
1817
1817
  }
1818
- function xa() {
1818
+ function Ra() {
1819
1819
  for (var t, e = ce, n, r = 1 / 0; e; )
1820
1820
  e._call ? (r > e._time && (r = e._time), t = e, e = e._next) : (n = e._next, e._next = null, e = t ? t._next = n : ce = n);
1821
1821
  $t = t, Ne(r);
1822
1822
  }
1823
1823
  function Ne(t) {
1824
- if (!St) {
1824
+ if (!Ct) {
1825
1825
  Dt && (Dt = clearTimeout(Dt));
1826
1826
  var e = t - Tt;
1827
- e > 24 ? (t < 1 / 0 && (Dt = setTimeout(dn, t - Yt.now() - _e)), kt && (kt = clearInterval(kt))) : (kt || (fe = Yt.now(), kt = setInterval(Ra, jn)), St = 1, Gn(dn));
1827
+ e > 24 ? (t < 1 / 0 && (Dt = setTimeout(dn, t - Yt.now() - _e)), Bt && (Bt = clearInterval(Bt))) : (Bt || (fe = Yt.now(), Bt = setInterval(xa, jn)), Ct = 1, Gn(dn));
1828
1828
  }
1829
1829
  }
1830
1830
  function pn(t, e, n) {
@@ -2102,7 +2102,7 @@ function rl(t) {
2102
2102
  return this.each(nl(this._id, t));
2103
2103
  }
2104
2104
  function ol(t) {
2105
- typeof t != "function" && (t = xn(t));
2105
+ typeof t != "function" && (t = Rn(t));
2106
2106
  for (var e = this._groups, n = e.length, r = new Array(n), o = 0; o < n; ++o)
2107
2107
  for (var i = e[o], a = i.length, l = r[o] = [], s, u = 0; u < a; ++u)
2108
2108
  (s = i[u]) && t.call(s, s.__data__, u, i) && l.push(s);
@@ -2154,7 +2154,7 @@ function fl(t) {
2154
2154
  }
2155
2155
  function hl(t) {
2156
2156
  var e = this._name, n = this._id;
2157
- typeof t != "function" && (t = Rn(t));
2157
+ typeof t != "function" && (t = xn(t));
2158
2158
  for (var r = this._groups, o = r.length, i = [], a = [], l = 0; l < o; ++l)
2159
2159
  for (var s = r[l], u = s.length, f, h = 0; h < u; ++h)
2160
2160
  if (f = s[h]) {
@@ -2171,7 +2171,7 @@ function pl() {
2171
2171
  function _l(t, e) {
2172
2172
  var n, r, o;
2173
2173
  return function() {
2174
- var i = Nt(this, t), a = (this.style.removeProperty(t), Nt(this, t));
2174
+ var i = St(this, t), a = (this.style.removeProperty(t), St(this, t));
2175
2175
  return i === a ? null : i === n && a === r ? o : o = e(n = i, r = a);
2176
2176
  };
2177
2177
  }
@@ -2183,15 +2183,15 @@ function Qn(t) {
2183
2183
  function ml(t, e, n) {
2184
2184
  var r, o = n + "", i;
2185
2185
  return function() {
2186
- var a = Nt(this, t);
2186
+ var a = St(this, t);
2187
2187
  return a === o ? null : a === r ? i : i = e(r = a, n);
2188
2188
  };
2189
2189
  }
2190
2190
  function gl(t, e, n) {
2191
2191
  var r, o, i;
2192
2192
  return function() {
2193
- var a = Nt(this, t), l = n(this), s = l + "";
2194
- return l == null && (s = l = (this.style.removeProperty(t), Nt(this, t))), a === s ? null : a === r && s === o ? i : (o = s, i = e(r = a, l));
2193
+ var a = St(this, t), l = n(this), s = l + "";
2194
+ return l == null && (s = l = (this.style.removeProperty(t), St(this, t))), a === s ? null : a === r && s === o ? i : (o = s, i = e(r = a, l));
2195
2195
  };
2196
2196
  }
2197
2197
  function vl(t, e) {
@@ -2244,7 +2244,7 @@ function Ml(t) {
2244
2244
  this.textContent = t.call(this, e);
2245
2245
  };
2246
2246
  }
2247
- function Rl(t) {
2247
+ function xl(t) {
2248
2248
  var e, n;
2249
2249
  function r() {
2250
2250
  var o = t.apply(this, arguments);
@@ -2252,12 +2252,12 @@ function Rl(t) {
2252
2252
  }
2253
2253
  return r._value = t, r;
2254
2254
  }
2255
- function xl(t) {
2255
+ function Rl(t) {
2256
2256
  var e = "text";
2257
2257
  if (arguments.length < 1) return (e = this.tween(e)) && e._value;
2258
2258
  if (t == null) return this.tween(e, null);
2259
2259
  if (typeof t != "function") throw new Error();
2260
- return this.tween(e, Rl(t));
2260
+ return this.tween(e, xl(t));
2261
2261
  }
2262
2262
  function Nl() {
2263
2263
  for (var t = this._name, e = this._id, n = Kn(), r = this._groups, o = r.length, i = 0; i < o; ++i)
@@ -2315,7 +2315,7 @@ ht.prototype = {
2315
2315
  style: yl,
2316
2316
  styleTween: Al,
2317
2317
  text: Il,
2318
- textTween: xl,
2318
+ textTween: Rl,
2319
2319
  remove: cl,
2320
2320
  tween: Ua,
2321
2321
  delay: Qa,
@@ -2410,7 +2410,7 @@ ft.prototype;
2410
2410
  function be(t) {
2411
2411
  t.stopImmediatePropagation();
2412
2412
  }
2413
- function Bt(t) {
2413
+ function Ut(t) {
2414
2414
  t.preventDefault(), t.stopImmediatePropagation();
2415
2415
  }
2416
2416
  function $l(t) {
@@ -2443,7 +2443,7 @@ function ql() {
2443
2443
  }
2444
2444
  m.transform = function(_, y, c, g) {
2445
2445
  var v = _.selection ? _.selection() : _;
2446
- v.property("__zoom", gn), _ !== v ? R(_, y, c, g) : v.interrupt().each(function() {
2446
+ v.property("__zoom", gn), _ !== v ? x(_, y, c, g) : v.interrupt().each(function() {
2447
2447
  E(this, arguments).event(g).start().zoom(null, typeof y == "function" ? y.apply(this, arguments) : y).end();
2448
2448
  });
2449
2449
  }, m.scaleBy = function(_, y, c, g) {
@@ -2453,8 +2453,8 @@ function ql() {
2453
2453
  }, c, g);
2454
2454
  }, m.scaleTo = function(_, y, c, g) {
2455
2455
  m.transform(_, function() {
2456
- var v = e.apply(this, arguments), b = this.__zoom, T = c == null ? H(v) : typeof c == "function" ? c.apply(this, arguments) : c, x = b.invert(T), k = typeof y == "function" ? y.apply(this, arguments) : y;
2457
- return n(D(L(b, k), T, x), v, a);
2456
+ var v = e.apply(this, arguments), b = this.__zoom, T = c == null ? H(v) : typeof c == "function" ? c.apply(this, arguments) : c, R = b.invert(T), k = typeof y == "function" ? y.apply(this, arguments) : y;
2457
+ return n(D(L(b, k), T, R), v, a);
2458
2458
  }, c, g);
2459
2459
  }, m.translateBy = function(_, y, c, g) {
2460
2460
  m.transform(_, function() {
@@ -2465,8 +2465,8 @@ function ql() {
2465
2465
  }, null, g);
2466
2466
  }, m.translateTo = function(_, y, c, g, v) {
2467
2467
  m.transform(_, function() {
2468
- var b = e.apply(this, arguments), T = this.__zoom, x = g == null ? H(b) : typeof g == "function" ? g.apply(this, arguments) : g;
2469
- return n(de.translate(x[0], x[1]).scale(T.k).translate(
2468
+ var b = e.apply(this, arguments), T = this.__zoom, R = g == null ? H(b) : typeof g == "function" ? g.apply(this, arguments) : g;
2469
+ return n(de.translate(R[0], R[1]).scale(T.k).translate(
2470
2470
  typeof y == "function" ? -y.apply(this, arguments) : -y,
2471
2471
  typeof c == "function" ? -c.apply(this, arguments) : -c
2472
2472
  ), b, a);
@@ -2482,13 +2482,13 @@ function ql() {
2482
2482
  function H(_) {
2483
2483
  return [(+_[0][0] + +_[1][0]) / 2, (+_[0][1] + +_[1][1]) / 2];
2484
2484
  }
2485
- function R(_, y, c, g) {
2485
+ function x(_, y, c, g) {
2486
2486
  _.on("start.zoom", function() {
2487
2487
  E(this, arguments).event(g).start();
2488
2488
  }).on("interrupt.zoom end.zoom", function() {
2489
2489
  E(this, arguments).event(g).end();
2490
2490
  }).tween("zoom", function() {
2491
- var v = this, b = arguments, T = E(v, b).event(g), x = e.apply(v, b), k = c == null ? H(x) : typeof c == "function" ? c.apply(v, b) : c, q = Math.max(x[1][0] - x[0][0], x[1][1] - x[0][1]), $ = v.__zoom, O = typeof y == "function" ? y.apply(v, b) : y, X = s($.invert(k).concat(q / $.k), O.invert(k).concat(q / O.k));
2491
+ var v = this, b = arguments, T = E(v, b).event(g), R = e.apply(v, b), k = c == null ? H(R) : typeof c == "function" ? c.apply(v, b) : c, q = Math.max(R[1][0] - R[0][0], R[1][1] - R[0][1]), $ = v.__zoom, O = typeof y == "function" ? y.apply(v, b) : y, X = s($.invert(k).concat(q / $.k), O.invert(k).concat(q / O.k));
2492
2492
  return function(F) {
2493
2493
  if (F === 1) F = O;
2494
2494
  else {
@@ -2542,37 +2542,37 @@ function ql() {
2542
2542
  if (g.k === v) return;
2543
2543
  c.mouse = [b, g.invert(b)], re(this), c.start();
2544
2544
  }
2545
- Bt(_), c.wheel = setTimeout(T, w), c.zoom("mouse", n(D(L(g, v), c.mouse[0], c.mouse[1]), c.extent, a));
2545
+ Ut(_), c.wheel = setTimeout(T, w), c.zoom("mouse", n(D(L(g, v), c.mouse[0], c.mouse[1]), c.extent, a));
2546
2546
  function T() {
2547
2547
  c.wheel = null, c.end();
2548
2548
  }
2549
2549
  }
2550
2550
  function C(_, ...y) {
2551
2551
  if (d || !t.apply(this, arguments)) return;
2552
- var c = _.currentTarget, g = E(this, y, !0).event(_), v = ct(_.view).on("mousemove.zoom", k, !0).on("mouseup.zoom", q, !0), b = dt(_, c), T = _.clientX, x = _.clientY;
2552
+ var c = _.currentTarget, g = E(this, y, !0).event(_), v = ct(_.view).on("mousemove.zoom", k, !0).on("mouseup.zoom", q, !0), b = dt(_, c), T = _.clientX, R = _.clientY;
2553
2553
  Ki(_.view), be(_), g.mouse = [b, this.__zoom.invert(b)], re(this), g.start();
2554
2554
  function k($) {
2555
- if (Bt($), !g.moved) {
2556
- var O = $.clientX - T, X = $.clientY - x;
2555
+ if (Ut($), !g.moved) {
2556
+ var O = $.clientX - T, X = $.clientY - R;
2557
2557
  g.moved = O * O + X * X > I;
2558
2558
  }
2559
2559
  g.event($).zoom("mouse", n(D(g.that.__zoom, g.mouse[0] = dt($, c), g.mouse[1]), g.extent, a));
2560
2560
  }
2561
2561
  function q($) {
2562
- v.on("mousemove.zoom mouseup.zoom", null), Ji($.view, g.moved), Bt($), g.event($).end();
2562
+ v.on("mousemove.zoom mouseup.zoom", null), Ji($.view, g.moved), Ut($), g.event($).end();
2563
2563
  }
2564
2564
  }
2565
2565
  function U(_, ...y) {
2566
2566
  if (t.apply(this, arguments)) {
2567
2567
  var c = this.__zoom, g = dt(_.changedTouches ? _.changedTouches[0] : _, this), v = c.invert(g), b = c.k * (_.shiftKey ? 0.5 : 2), T = n(D(L(c, b), g, v), e.apply(this, y), a);
2568
- Bt(_), l > 0 ? ct(this).transition().duration(l).call(R, T, g, _) : ct(this).call(m.transform, T, g, _);
2568
+ Ut(_), l > 0 ? ct(this).transition().duration(l).call(x, T, g, _) : ct(this).call(m.transform, T, g, _);
2569
2569
  }
2570
2570
  }
2571
2571
  function P(_, ...y) {
2572
2572
  if (t.apply(this, arguments)) {
2573
- var c = _.touches, g = c.length, v = E(this, y, _.changedTouches.length === g).event(_), b, T, x, k;
2573
+ var c = _.touches, g = c.length, v = E(this, y, _.changedTouches.length === g).event(_), b, T, R, k;
2574
2574
  for (be(_), T = 0; T < g; ++T)
2575
- x = c[T], k = dt(x, this), k = [k, this.__zoom.invert(k), x.identifier], v.touch0 ? !v.touch1 && v.touch0[2] !== k[2] && (v.touch1 = k, v.taps = 0) : (v.touch0 = k, b = !0, v.taps = 1 + !!f);
2575
+ R = c[T], k = dt(R, this), k = [k, this.__zoom.invert(k), R.identifier], v.touch0 ? !v.touch1 && v.touch0[2] !== k[2] && (v.touch1 = k, v.taps = 0) : (v.touch0 = k, b = !0, v.taps = 1 + !!f);
2576
2576
  f && (f = clearTimeout(f)), b && (v.taps < 2 && (h = k[0], f = setTimeout(function() {
2577
2577
  f = null;
2578
2578
  }, p)), re(this), v.start());
@@ -2580,15 +2580,15 @@ function ql() {
2580
2580
  }
2581
2581
  function j(_, ...y) {
2582
2582
  if (this.__zooming) {
2583
- var c = E(this, y).event(_), g = _.changedTouches, v = g.length, b, T, x, k;
2584
- for (Bt(_), b = 0; b < v; ++b)
2585
- T = g[b], x = dt(T, this), c.touch0 && c.touch0[2] === T.identifier ? c.touch0[0] = x : c.touch1 && c.touch1[2] === T.identifier && (c.touch1[0] = x);
2583
+ var c = E(this, y).event(_), g = _.changedTouches, v = g.length, b, T, R, k;
2584
+ for (Ut(_), b = 0; b < v; ++b)
2585
+ T = g[b], R = dt(T, this), c.touch0 && c.touch0[2] === T.identifier ? c.touch0[0] = R : c.touch1 && c.touch1[2] === T.identifier && (c.touch1[0] = R);
2586
2586
  if (T = c.that.__zoom, c.touch1) {
2587
2587
  var q = c.touch0[0], $ = c.touch0[1], O = c.touch1[0], X = c.touch1[1], F = (F = O[0] - q[0]) * F + (F = O[1] - q[1]) * F, V = (V = X[0] - $[0]) * V + (V = X[1] - $[1]) * V;
2588
- T = L(T, Math.sqrt(F / V)), x = [(q[0] + O[0]) / 2, (q[1] + O[1]) / 2], k = [($[0] + X[0]) / 2, ($[1] + X[1]) / 2];
2589
- } else if (c.touch0) x = c.touch0[0], k = c.touch0[1];
2588
+ T = L(T, Math.sqrt(F / V)), R = [(q[0] + O[0]) / 2, (q[1] + O[1]) / 2], k = [($[0] + X[0]) / 2, ($[1] + X[1]) / 2];
2589
+ } else if (c.touch0) R = c.touch0[0], k = c.touch0[1];
2590
2590
  else return;
2591
- c.zoom("touch", n(D(T, x, k), c.extent, a));
2591
+ c.zoom("touch", n(D(T, R, k), c.extent, a));
2592
2592
  }
2593
2593
  }
2594
2594
  function W(_, ...y) {
@@ -2600,8 +2600,8 @@ function ql() {
2600
2600
  T = g[b], c.touch0 && c.touch0[2] === T.identifier ? delete c.touch0 : c.touch1 && c.touch1[2] === T.identifier && delete c.touch1;
2601
2601
  if (c.touch1 && !c.touch0 && (c.touch0 = c.touch1, delete c.touch1), c.touch0) c.touch0[1] = this.__zoom.invert(c.touch0[0]);
2602
2602
  else if (c.end(), c.taps === 2 && (T = dt(T, this), Math.hypot(h[0] - T[0], h[1] - T[1]) < A)) {
2603
- var x = ct(this).on("dblclick.zoom");
2604
- x && x.apply(this, arguments);
2603
+ var R = ct(this).on("dblclick.zoom");
2604
+ R && R.apply(this, arguments);
2605
2605
  }
2606
2606
  }
2607
2607
  }
@@ -2632,7 +2632,7 @@ function ql() {
2632
2632
  return arguments.length ? (A = +_, m) : A;
2633
2633
  }, m;
2634
2634
  }
2635
- const Yl = /* @__PURE__ */ Ct({
2635
+ const Yl = /* @__PURE__ */ Lt({
2636
2636
  __name: "scatterplot",
2637
2637
  props: {
2638
2638
  pointCount: { type: Number, default: 5e3 },
@@ -2665,12 +2665,12 @@ const Yl = /* @__PURE__ */ Ct({
2665
2665
  }
2666
2666
  function H(c, g, v, b, T) {
2667
2667
  if (!v) return { x: 0, y: 0 };
2668
- const x = c / b * 2, k = -(g / T * 2), q = n.metaData?.row_groups?.[0]?.columns?.[0]?.meta_data?.statistics, $ = 2 / Math.max(1e-9, (q?.max_value ?? 1) - (q?.min_value ?? -1)), O = v.x / b * 2 - 1, X = -v.y / T * 2 + 1, F = v.k * $, V = (x - O - 1) / F, Q = (k - X + 1) / F;
2668
+ const R = c / b * 2, k = -(g / T * 2), q = n.metaData?.row_groups?.[0]?.columns?.[0]?.meta_data?.statistics, $ = 2 / Math.max(1e-9, (q?.max_value ?? 1) - (q?.min_value ?? -1)), O = v.x / b * 2 - 1, X = -v.y / T * 2 + 1, F = v.k * $, V = (R - O - 1) / F, Q = (k - X + 1) / F;
2669
2669
  return { x: V, y: Q };
2670
2670
  }
2671
- function R(c, g, v, b, T, x) {
2671
+ function x(c, g, v, b, T, R) {
2672
2672
  if (!c.length || !b) return null;
2673
- const k = H(g, v, b, T, x);
2673
+ const k = H(g, v, b, T, R);
2674
2674
  let q = 1 / 0, $ = null;
2675
2675
  for (const O of c) {
2676
2676
  const X = O.x - k.x, F = O.y - k.y, V = Math.hypot(X, F), Q = 3 / (b.k / 2);
@@ -2683,7 +2683,7 @@ const Yl = /* @__PURE__ */ Ct({
2683
2683
  `), $;
2684
2684
  }
2685
2685
  function E(c, g, v, b, T) {
2686
- const x = m(v), k = m(b), q = m(T), $ = ["#4269d0", "#efb118", "#ff725c", "#6cc5b0", "#3ca951", "#ff8ab7", "#a463f2", "#97bbf5", "#9c6b4e", "#9498a0"].map(m), O = /* @__PURE__ */ new Map(), X = [];
2686
+ const R = m(v), k = m(b), q = m(T), $ = ["#4269d0", "#efb118", "#ff725c", "#6cc5b0", "#3ca951", "#ff8ab7", "#a463f2", "#97bbf5", "#9c6b4e", "#9498a0"].map(m), O = /* @__PURE__ */ new Map(), X = [];
2687
2687
  for (let F = 0; F < n.data.length; F++) {
2688
2688
  const V = n.data[F], Q = V[0], gt = V[1], It = Math.round(Math.sqrt(Q * Q + gt * gt) * 10) / 10;
2689
2689
  O.has(V[5]) || O.set(V[5], $[F % $.length]);
@@ -2695,9 +2695,9 @@ const Yl = /* @__PURE__ */ Ct({
2695
2695
  case "gradient": {
2696
2696
  const Mt = (Q + 50) / 100;
2697
2697
  ut = [
2698
- L(x[0], k[0], Mt),
2699
- L(x[1], k[1], Mt),
2700
- L(x[2], k[2], Mt)
2698
+ L(R[0], k[0], Mt),
2699
+ L(R[1], k[1], Mt),
2700
+ L(R[2], k[2], Mt)
2701
2701
  ];
2702
2702
  break;
2703
2703
  }
@@ -2740,8 +2740,8 @@ const Yl = /* @__PURE__ */ Ct({
2740
2740
  const T = c.createShader(c.FRAGMENT_SHADER);
2741
2741
  if (c.shaderSource(T, v), c.compileShader(T), !c.getShaderParameter(T, c.COMPILE_STATUS))
2742
2742
  return console.error("Fragment shader error:", c.getShaderInfoLog(T)), null;
2743
- const x = c.createProgram();
2744
- return c.attachShader(x, b), c.attachShader(x, T), c.linkProgram(x), c.getProgramParameter(x, c.LINK_STATUS) ? (c.validateProgram(x), c.getProgramParameter(x, c.VALIDATE_STATUS) ? x : (console.error("Program validate error:", c.getProgramInfoLog(x)), null)) : (console.error("Program link error:", c.getProgramInfoLog(x)), null);
2743
+ const R = c.createProgram();
2744
+ return c.attachShader(R, b), c.attachShader(R, T), c.linkProgram(R), c.getProgramParameter(R, c.LINK_STATUS) ? (c.validateProgram(R), c.getProgramParameter(R, c.VALIDATE_STATUS) ? R : (console.error("Program validate error:", c.getProgramInfoLog(R)), null)) : (console.error("Program link error:", c.getProgramInfoLog(R)), null);
2745
2745
  }
2746
2746
  function C(c, g, v) {
2747
2747
  if (!v.length) return null;
@@ -2749,15 +2749,15 @@ const Yl = /* @__PURE__ */ Ct({
2749
2749
  c.bindBuffer(c.ARRAY_BUFFER, b);
2750
2750
  const T = new Float32Array(v.flatMap((F) => [F.x, F.y]));
2751
2751
  c.bufferData(c.ARRAY_BUFFER, T, c.STATIC_DRAW);
2752
- const x = c.createBuffer();
2753
- c.bindBuffer(c.ARRAY_BUFFER, x);
2752
+ const R = c.createBuffer();
2753
+ c.bindBuffer(c.ARRAY_BUFFER, R);
2754
2754
  const k = new Float32Array(v.flatMap((F) => F.color));
2755
2755
  c.bufferData(c.ARRAY_BUFFER, k, c.STATIC_DRAW);
2756
2756
  const q = c.getAttribLocation(g, "a_position"), $ = c.getAttribLocation(g, "a_color"), O = c.getUniformLocation(g, "u_viewMatrix"), X = c.getUniformLocation(g, "u_pointSize");
2757
2757
  return q === -1 || $ === -1 || !O || !X ? (console.error("Failed to lookup attrib/uniform locations"), null) : {
2758
2758
  program: g,
2759
2759
  positionBuffer: b,
2760
- colorBuffer: x,
2760
+ colorBuffer: R,
2761
2761
  positionAttributeLocation: q,
2762
2762
  colorAttributeLocation: $,
2763
2763
  viewMatrixLocation: O,
@@ -2768,7 +2768,7 @@ const Yl = /* @__PURE__ */ Ct({
2768
2768
  function U(c, g, v, b, T = null) {
2769
2769
  if (!c || !g || !v) return;
2770
2770
  const {
2771
- program: x,
2771
+ program: R,
2772
2772
  positionBuffer: k,
2773
2773
  colorBuffer: q,
2774
2774
  positionAttributeLocation: $,
@@ -2777,7 +2777,7 @@ const Yl = /* @__PURE__ */ Ct({
2777
2777
  pointSizeLocation: F,
2778
2778
  count: V
2779
2779
  } = g;
2780
- c.clearColor(0, 0, 0, 1), c.clear(c.COLOR_BUFFER_BIT), c.useProgram(x), c.enableVertexAttribArray($), c.bindBuffer(c.ARRAY_BUFFER, k), c.vertexAttribPointer($, 2, c.FLOAT, !1, 0, 0), c.enableVertexAttribArray(O), c.bindBuffer(c.ARRAY_BUFFER, q), c.vertexAttribPointer(O, 3, c.FLOAT, !1, 0, 0);
2780
+ c.clearColor(0, 0, 0, 1), c.clear(c.COLOR_BUFFER_BIT), c.useProgram(R), c.enableVertexAttribArray($), c.bindBuffer(c.ARRAY_BUFFER, k), c.vertexAttribPointer($, 2, c.FLOAT, !1, 0, 0), c.enableVertexAttribArray(O), c.bindBuffer(c.ARRAY_BUFFER, q), c.vertexAttribPointer(O, 3, c.FLOAT, !1, 0, 0);
2781
2781
  const Q = c.canvas.clientWidth, gt = c.canvas.clientHeight, It = n.metaData?.row_groups?.[0]?.columns?.[0]?.meta_data?.statistics, ut = n.metaData?.row_groups?.[0]?.columns?.[1]?.meta_data?.statistics, Mt = Number(It?.min_value ?? -1), Xe = Number(It?.max_value ?? 1), He = Number(ut?.min_value ?? -1), We = Number(ut?.max_value ?? 1), gr = (Mt + Xe) / 2, vr = (He + We) / 2, yr = Math.max(1e-9, Xe - Mt), wr = Math.max(1e-9, We - He), br = 2 / Math.max(yr, wr), Ar = v.x / Q * 2 - 1, Er = -v.y / gt * 2 + 1, Ht = v.k * br, Tr = Ar - Ht * gr, Ir = Er - Ht * vr, Mr = new Float32Array([
2782
2782
  Ht,
2783
2783
  0,
@@ -2841,10 +2841,10 @@ const Yl = /* @__PURE__ */ Ct({
2841
2841
  }
2842
2842
  function W(c) {
2843
2843
  if (!o.value) return;
2844
- const g = o.value.getBoundingClientRect(), v = c.clientX - g.left, b = c.clientY - g.top, T = R(f, v, b, h, w, I);
2844
+ const g = o.value.getBoundingClientRect(), v = c.clientX - g.left, b = c.clientY - g.top, T = x(f, v, b, h, w, I);
2845
2845
  if (T) {
2846
- const x = i.value;
2847
- x.style.left = `${c.clientX + 15}px`, x.style.top = `${c.clientY - 15}px`, x.style.opacity = "1", x.innerHTML = `
2846
+ const R = i.value;
2847
+ R.style.left = `${c.clientX + 15}px`, R.style.top = `${c.clientY - 15}px`, R.style.opacity = "1", R.innerHTML = `
2848
2848
  <strong>${T.label}</strong><br/>
2849
2849
  Species: ${T.species}<br/>
2850
2850
  Distance: ${T.value.toFixed(2)}<br/>
@@ -2887,7 +2887,7 @@ const Yl = /* @__PURE__ */ Ct({
2887
2887
  !l || !s || Math.abs(c - f.length) <= 10 || (f = E(c, n.colorMode, n.startColor, n.endColor, n.singleColor), u && (l.deleteBuffer(u.positionBuffer), l.deleteBuffer(u.colorBuffer)), u = C(l, s, f), U(l, u, h, 2, null));
2888
2888
  }), Ue(() => {
2889
2889
  window.addEventListener("resize", y);
2890
- }), Rr(() => {
2890
+ }), xr(() => {
2891
2891
  o.value && (o.value.removeEventListener("mousemove", W), o.value.removeEventListener("mouseleave", _)), window.removeEventListener("resize", y), l && u && (l.deleteBuffer(u.positionBuffer), l.deleteBuffer(u.colorBuffer), s && l.deleteProgram(s));
2892
2892
  }), (c, g) => (z(), Y("div", {
2893
2893
  class: "scatterplot-container",
@@ -2908,11 +2908,11 @@ const Yl = /* @__PURE__ */ Ct({
2908
2908
  ref_key: "debugRef",
2909
2909
  ref: a
2910
2910
  }, null, 512), [
2911
- [xr, !1]
2911
+ [Rr, !1]
2912
2912
  ])
2913
2913
  ], 512));
2914
2914
  }
2915
- }), Vl = /* @__PURE__ */ jt(Yl, [["__scopeId", "data-v-4779cd2a"]]), jl = { class: "control-panel" }, Gl = { class: "color-option" }, Xl = ["value"], Hl = { class: "color-option" }, Wl = { class: "legend" }, Ql = { class: "legend-label" }, Kl = /* @__PURE__ */ Ct({
2915
+ }), Vl = /* @__PURE__ */ jt(Yl, [["__scopeId", "data-v-4779cd2a"]]), jl = { class: "control-panel" }, Gl = { class: "color-option" }, Xl = ["value"], Hl = { class: "color-option" }, Wl = { class: "legend" }, Ql = { class: "legend-label" }, Kl = /* @__PURE__ */ Lt({
2916
2916
  __name: "control",
2917
2917
  props: {
2918
2918
  pointCount: {
@@ -2987,7 +2987,7 @@ const Yl = /* @__PURE__ */ Ct({
2987
2987
  id: "colorMode",
2988
2988
  "onUpdate:modelValue": d[0] || (d[0] = (p) => i.value = p)
2989
2989
  }, [
2990
- (z(!0), Y(_t, null, Rt(n.colorMapMap, ([p, w], I) => (z(), Y("option", {
2990
+ (z(!0), Y(_t, null, xt(n.colorMapMap, ([p, w], I) => (z(), Y("option", {
2991
2991
  key: p,
2992
2992
  value: p
2993
2993
  }, ot(p), 9, Xl))), 128))
@@ -2998,7 +2998,7 @@ const Yl = /* @__PURE__ */ Ct({
2998
2998
  B("div", Hl, [
2999
2999
  B("div", Wl, [
3000
3000
  d[2] || (d[2] = B("h4", null, " Legend", -1)),
3001
- (z(!0), Y(_t, null, Rt(t.colorScheme, (p, w) => (z(), Y("div", {
3001
+ (z(!0), Y(_t, null, xt(t.colorScheme, (p, w) => (z(), Y("div", {
3002
3002
  class: "legend-item",
3003
3003
  key: w
3004
3004
  }, [
@@ -3795,10 +3795,10 @@ function Ge(t, e, n, r) {
3795
3795
  if (e === "DOUBLE")
3796
3796
  return Mu(t, n);
3797
3797
  if (e === "BYTE_ARRAY")
3798
- return Ru(t, n);
3798
+ return xu(t, n);
3799
3799
  if (e === "FIXED_LEN_BYTE_ARRAY") {
3800
3800
  if (!r) throw new Error("parquet missing fixed length");
3801
- return xu(t, n, r);
3801
+ return Ru(t, n, r);
3802
3802
  } else
3803
3803
  throw new Error(`parquet unhandled type: ${e}`);
3804
3804
  }
@@ -3834,7 +3834,7 @@ function Mu(t, e) {
3834
3834
  const n = (t.view.byteOffset + t.offset) % 8 ? new Float64Array(ve(t.view.buffer, t.view.byteOffset + t.offset, e * 8)) : new Float64Array(t.view.buffer, t.view.byteOffset + t.offset, e);
3835
3835
  return t.offset += e * 8, n;
3836
3836
  }
3837
- function Ru(t, e) {
3837
+ function xu(t, e) {
3838
3838
  const n = new Array(e);
3839
3839
  for (let r = 0; r < e; r++) {
3840
3840
  const o = t.view.getUint32(t.offset, !0);
@@ -3842,7 +3842,7 @@ function Ru(t, e) {
3842
3842
  }
3843
3843
  return n;
3844
3844
  }
3845
- function xu(t, e, n) {
3845
+ function Ru(t, e, n) {
3846
3846
  const r = new Array(e);
3847
3847
  for (let o = 0; o < e; o++)
3848
3848
  r[o] = new Uint8Array(t.view.buffer, t.view.byteOffset + t.offset, n), t.offset += n;
@@ -4216,7 +4216,7 @@ function Yu(t) {
4216
4216
  const e = _u(t);
4217
4217
  return t.file = mu(t.file, e), e.groups.map((n) => Pu(t, e, n));
4218
4218
  }
4219
- const Vu = { class: "app-container" }, ju = /* @__PURE__ */ Ct({
4219
+ const Vu = { class: "app-container" }, ju = /* @__PURE__ */ Lt({
4220
4220
  __name: "wrapper",
4221
4221
  props: {
4222
4222
  apiUrl: {},
@@ -4311,7 +4311,7 @@ const Vu = { class: "app-container" }, ju = /* @__PURE__ */ Ct({
4311
4311
  p.value.set(C, P), p.value.get(C) || p.value.set(C, /* @__PURE__ */ new Map());
4312
4312
  }
4313
4313
  }
4314
- function R(E) {
4314
+ function x(E) {
4315
4315
  u.value = E[0], d.value = E[1];
4316
4316
  }
4317
4317
  return (E, M) => (z(), Y("div", Vu, [
@@ -4341,7 +4341,7 @@ const Vu = { class: "app-container" }, ju = /* @__PURE__ */ Ct({
4341
4341
  "color-scheme": d.value,
4342
4342
  "color-map-map": p.value,
4343
4343
  onRegenerate: L,
4344
- onUpdateColorMap: R
4344
+ onUpdateColorMap: x
4345
4345
  }, null, 8, ["pointCount", "colorMode", "startColor", "endColor", "singleColor", "color-scheme", "color-map-map"])
4346
4346
  ]));
4347
4347
  }
@@ -4350,11 +4350,11 @@ function _r(t = !1) {
4350
4350
  const e = Br(Xu, null);
4351
4351
  return !e && t && console.warn("[Widget] dashboard:globalVars not provided."), e;
4352
4352
  }
4353
- const Hu = { class: "data-explorer-wrap" }, Wu = { class: "data-explorer-info" }, Qu = /* @__PURE__ */ Ct({
4353
+ const Hu = { class: "data-explorer-wrap" }, Wu = { class: "data-explorer-info" }, Qu = /* @__PURE__ */ Lt({
4354
4354
  inheritAttrs: !1,
4355
4355
  __name: "DataExplorer",
4356
4356
  setup(t) {
4357
- const e = _r(), n = S("Data Explorer"), r = tt(() => Ut(e.s3Url));
4357
+ const e = _r(), n = S("Data Explorer"), r = Z(() => Rt(e.s3Url));
4358
4358
  return Ur(() => {
4359
4359
  }), (o, i) => {
4360
4360
  const a = Ae("el-icon");
@@ -4362,14 +4362,14 @@ const Hu = { class: "data-explorer-wrap" }, Wu = { class: "data-explorer-info" }
4362
4362
  In(o.$slots, "default", { widgetName: n.value }, void 0, !0),
4363
4363
  B("div", Hu, [
4364
4364
  B("div", Wu, [
4365
- it(Ut(Dr), { placement: "top-start" }, {
4365
+ it(Rt(Dr), { placement: "top-start" }, {
4366
4366
  content: Pt(() => [...i[0] || (i[0] = [
4367
4367
  Ee("Type in a query or use the suggested query buttons to run on your csv file", -1)
4368
4368
  ])]),
4369
4369
  default: Pt(() => [
4370
4370
  it(a, { color: "#8300BF" }, {
4371
4371
  default: Pt(() => [
4372
- it(Ut(Or))
4372
+ it(Rt(Or))
4373
4373
  ]),
4374
4374
  _: 1
4375
4375
  })
@@ -4377,7 +4377,7 @@ const Hu = { class: "data-explorer-wrap" }, Wu = { class: "data-explorer-info" }
4377
4377
  _: 1
4378
4378
  })
4379
4379
  ]),
4380
- it(Ut(po), { srcUrl: r.value }, null, 8, ["srcUrl"])
4380
+ it(Rt(po), { srcUrl: r.value }, null, 8, ["srcUrl"])
4381
4381
  ])
4382
4382
  ], 64);
4383
4383
  };
@@ -4392,16 +4392,15 @@ const Hu = { class: "data-explorer-wrap" }, Wu = { class: "data-explorer-info" }
4392
4392
  }, {
4393
4393
  __name: "Umap",
4394
4394
  setup(t) {
4395
- _r();
4396
- const e = S("Data Explorer");
4397
- return (n, r) => (z(), Y(_t, null, [
4398
- In(n.$slots, "default", { widgetName: e.value }, void 0, !0),
4395
+ const e = _r(), n = S("Data Explorer"), r = Z(() => Rt(e?.s3Url));
4396
+ return (o, i) => (z(), Y(_t, null, [
4397
+ In(o.$slots, "default", { widgetName: n.value }, void 0, !0),
4399
4398
  B("div", Ku, [
4400
- it(Ut(Gu), { srcUrl: n.urlSrc }, null, 8, ["srcUrl"])
4399
+ it(Rt(Gu), { srcUrl: r.value }, null, 8, ["srcUrl"])
4401
4400
  ])
4402
4401
  ], 64));
4403
4402
  }
4404
- }), os = /* @__PURE__ */ mr(Ju, [["__scopeId", "data-v-2ddbfd71"]]);
4403
+ }), os = /* @__PURE__ */ mr(Ju, [["__scopeId", "data-v-c778c86e"]]);
4405
4404
  export {
4406
4405
  rs as DataExplorer,
4407
4406
  os as UMAP