@marimo-team/islands 0.24.1-dev41 → 0.24.1-dev43

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 (33) hide show
  1. package/dist/{ConnectedDataExplorerComponent-4UvlnITc.js → ConnectedDataExplorerComponent-CxLgYj_n.js} +1038 -1038
  2. package/dist/{any-language-editor-ClDhQoll.js → any-language-editor-BrPYtXHK.js} +1 -1
  3. package/dist/{chat-ui-BzZL5_XE.js → chat-ui-Mjq3lBLn.js} +1335 -1335
  4. package/dist/{common-DVtMyyCC.js → common-IoLWZR0C.js} +20955 -20975
  5. package/dist/{input-CIaA2N0m.js → dropdown-menu-DEu759Oe.js} +930 -927
  6. package/dist/{error-banner-BbxpEiD5.js → error-banner-BT4uIIQ2.js} +190 -192
  7. package/dist/{glide-data-editor-CgO5z9xu.js → glide-data-editor-C2RTkAgQ.js} +51 -51
  8. package/dist/{html-to-image-DPAZGZSi.js → html-to-image-hKcfSWj_.js} +5795 -5590
  9. package/dist/main.js +8696 -8703
  10. package/dist/{mermaid-BBTUHwCi.js → mermaid-OsTxhZOI.js} +12 -12
  11. package/dist/{process-output-oZcxC_tq.js → process-output-BkHK-KDc.js} +6 -6
  12. package/dist/{reveal-component-BHpu6-qW.js → reveal-component-DUBiSLUI.js} +11 -11
  13. package/dist/{strings-CoQ5sA4r.js → select-Bakm9EUs.js} +50 -53
  14. package/dist/{spec-6c0_fLYz.js → spec-DqUrBQpS.js} +2 -2
  15. package/dist/style.css +1 -1
  16. package/dist/{useDateFormatter-6ImHK1ln.js → useDateFormatter-DjRKOAkR.js} +1 -1
  17. package/dist/{vega-component-DlnGFDeY.js → vega-component-A2xO4BUa.js} +17 -17
  18. package/package.json +1 -1
  19. package/src/components/chat/acp/agent-panel.tsx +4 -6
  20. package/src/components/data-table/columns.tsx +130 -132
  21. package/src/components/datasources/datasources.tsx +16 -17
  22. package/src/components/editor/actions/useNotebookActions.tsx +50 -0
  23. package/src/components/editor/chrome/panels/components.tsx +1 -1
  24. package/src/components/editor/connections/__tests__/add-connection-button.test.tsx +129 -0
  25. package/src/components/editor/connections/add-connection-button.tsx +132 -0
  26. package/src/components/editor/connections/components.tsx +11 -0
  27. package/src/components/editor/connections/quick-add-data-sources.tsx +11 -11
  28. package/src/components/editor/controls/__tests__/notebook-menu-dropdown.test.tsx +109 -1
  29. package/src/components/storage/storage-inspector.tsx +15 -17
  30. package/src/core/codemirror/language/panel/sql.test.tsx +69 -0
  31. package/src/core/codemirror/language/panel/sql.tsx +81 -4
  32. package/src/core/codemirror/markdown/commands.ts +1 -1
  33. package/src/core/codemirror/markdown/completions.ts +15 -17
@@ -3,22 +3,22 @@ import { g as a, h as o, t as s } from "./button-DOCIubLd.js";
3
3
  import { t as c } from "./react-DMWcHin-.js";
4
4
  import { t as l } from "./compiler-runtime-CAH9RLw2.js";
5
5
  import { u } from "./dist-DTSuOdDc.js";
6
- import { D as d, t as f } from "./spec-6c0_fLYz.js";
6
+ import { D as d, t as f } from "./spec-DqUrBQpS.js";
7
7
  import { a as p, c as m, i as h, o as g, r as _, s as v, t as y } from "./useLifecycle-D-zb2Ha5.js";
8
- import { a as b, t as x } from "./useDateFormatter-6ImHK1ln.js";
9
- import { a as S, c as C, i as w, l as ee, o as T, r as te, s as E, t as D, u as ne, w as O } from "./strings-CoQ5sA4r.js";
10
- import { t as k } from "./jsx-runtime-CpoKNRgu.js";
11
- import { n as re } from "./error-banner-BbxpEiD5.js";
12
- import { t as ie } from "./label-CrQkwOWC.js";
13
- import { t as ae } from "./tooltip-rwx3Qbw6.js";
14
- import { E as oe, S as se, T as ce, b as le, n as ue } from "./useTheme-CLjV5H1i.js";
15
- import { t as de } from "./invariant-DLmrl-hA.js";
16
- import { t as fe } from "./objects-CzUgoMIF.js";
17
- import { A as pe } from "./vega-loader.browser-DEggZzni.js";
18
- import { n as me, r as he } from "./react-vega-DSD5aT7_.js";
19
- import { a as ge, n as _e } from "./loader-CgRtoLc5.js";
20
- import { t as ve } from "./useAsyncData-BPIoRmNG.js";
21
- var ye = u("chart-column-big", [
8
+ import { a as b, t as x } from "./useDateFormatter-DjRKOAkR.js";
9
+ import { a as S, b as C, c as w, i as T, n as ee, o as E, r as te, s as ne, t as re, w as D } from "./select-Bakm9EUs.js";
10
+ import { t as O } from "./jsx-runtime-CpoKNRgu.js";
11
+ import { n as ie } from "./error-banner-BT4uIIQ2.js";
12
+ import { t as ae } from "./label-CrQkwOWC.js";
13
+ import { t as oe } from "./tooltip-rwx3Qbw6.js";
14
+ import { E as se, S as ce, T as le, b as ue, n as de } from "./useTheme-CLjV5H1i.js";
15
+ import { t as fe } from "./invariant-DLmrl-hA.js";
16
+ import { t as pe } from "./objects-CzUgoMIF.js";
17
+ import { t as me } from "./useAsyncData-BPIoRmNG.js";
18
+ import { A as he } from "./vega-loader.browser-DEggZzni.js";
19
+ import { n as ge, r as _e } from "./react-vega-DSD5aT7_.js";
20
+ import { a as ve, n as ye } from "./loader-CgRtoLc5.js";
21
+ var be = u("chart-column-big", [
22
22
  ["path", {
23
23
  d: "M3 3v16a2 2 0 0 0 2 2h16",
24
24
  key: "c24i48"
@@ -39,7 +39,7 @@ var ye = u("chart-column-big", [
39
39
  rx: "1",
40
40
  key: "sr5ea"
41
41
  }]
42
- ]), be = u("list-ordered", [
42
+ ]), xe = u("list-ordered", [
43
43
  ["path", {
44
44
  d: "M11 5h10",
45
45
  key: "1cz7ny"
@@ -64,8 +64,8 @@ var ye = u("chart-column-big", [
64
64
  d: "M6.5 20H3.4c0-1 2.6-1.925 2.6-3.5a1.5 1.5 0 0 0-2.6-1.02",
65
65
  key: "xtkcd5"
66
66
  }]
67
- ]), xe = l();
68
- function Se(e, t) {
67
+ ]), Se = l();
68
+ function Ce(e, t) {
69
69
  var n = {};
70
70
  for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
71
71
  if (e != null && typeof Object.getOwnPropertySymbols == "function") for (var i = 0, r = Object.getOwnPropertySymbols(e); i < r.length; i++) t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
@@ -73,7 +73,7 @@ function Se(e, t) {
73
73
  }
74
74
  //#endregion
75
75
  //#region ../node_modules/.pnpm/clone@2.1.2/node_modules/clone/clone.js
76
- var Ce = /* @__PURE__ */ i(((e, t) => {
76
+ var we = /* @__PURE__ */ i(((e, t) => {
77
77
  var n = (function() {
78
78
  function e(e, t) {
79
79
  return t != null && e instanceof t;
@@ -174,7 +174,7 @@ var Ce = /* @__PURE__ */ i(((e, t) => {
174
174
  return i.__getRegExpFlags = l, i;
175
175
  })();
176
176
  typeof t == "object" && t.exports && (t.exports = n);
177
- })), we = /* @__PURE__ */ i(((e, t) => {
177
+ })), Te = /* @__PURE__ */ i(((e, t) => {
178
178
  var n = Array.isArray, r = Object.keys, i = Object.prototype.hasOwnProperty;
179
179
  t.exports = function e(t, a) {
180
180
  if (t === a) return !0;
@@ -200,7 +200,7 @@ var Ce = /* @__PURE__ */ i(((e, t) => {
200
200
  }
201
201
  return t !== t && a !== a;
202
202
  };
203
- })), Te = /* @__PURE__ */ i(((e, t) => {
203
+ })), Ee = /* @__PURE__ */ i(((e, t) => {
204
204
  t.exports = function(e, t) {
205
205
  t ||= {}, typeof t == "function" && (t = { cmp: t });
206
206
  var n = typeof t.cycles == "boolean" && t.cycles, r = t.cmp && (function(e) {
@@ -240,19 +240,19 @@ var Ce = /* @__PURE__ */ i(((e, t) => {
240
240
  })(e);
241
241
  };
242
242
  }));
243
- Ce(), we();
244
- var Ee = /* @__PURE__ */ e(Te());
245
- function De(e, t, n) {
243
+ we(), Te();
244
+ var De = /* @__PURE__ */ e(Ee());
245
+ function Oe(e, t, n) {
246
246
  return e.fields = t || [], e.fname = n, e;
247
247
  }
248
248
  //#endregion
249
249
  //#region ../node_modules/.pnpm/vega-util@1.10.0/node_modules/vega-util/src/error.js
250
- function Oe(e) {
250
+ function ke(e) {
251
251
  throw Error(e);
252
252
  }
253
253
  //#endregion
254
254
  //#region ../node_modules/.pnpm/vega-util@1.10.0/node_modules/vega-util/src/splitAccessPath.js
255
- function ke(e) {
255
+ function Ae(e) {
256
256
  var t = [], n = null, r = 0, i = e.length, a = "", o, s, c;
257
257
  e += "";
258
258
  function l() {
@@ -261,131 +261,131 @@ function ke(e) {
261
261
  for (o = s = 0; s < i; ++s) if (c = e[s], c === "\\") a += e.substring(o, s), o = ++s;
262
262
  else if (c === n) l(), n = null, r = -1;
263
263
  else if (n) continue;
264
- else o === r && c === "\"" || o === r && c === "'" ? (o = s + 1, n = c) : c === "." && !r ? s > o ? l() : o = s + 1 : c === "[" ? (s > o && l(), r = o = s + 1) : c === "]" && (r || Oe("Access path missing open bracket: " + e), r > 0 && l(), r = 0, o = s + 1);
265
- return r && Oe("Access path missing closing bracket: " + e), n && Oe("Access path missing closing quote: " + e), s > o && (s++, l()), t;
264
+ else o === r && c === "\"" || o === r && c === "'" ? (o = s + 1, n = c) : c === "." && !r ? s > o ? l() : o = s + 1 : c === "[" ? (s > o && l(), r = o = s + 1) : c === "]" && (r || ke("Access path missing open bracket: " + e), r > 0 && l(), r = 0, o = s + 1);
265
+ return r && ke("Access path missing closing bracket: " + e), n && ke("Access path missing closing quote: " + e), s > o && (s++, l()), t;
266
266
  }
267
267
  //#endregion
268
268
  //#region ../node_modules/.pnpm/vega-util@1.10.0/node_modules/vega-util/src/isArray.js
269
- var Ae = Array.isArray;
269
+ var je = Array.isArray;
270
270
  //#endregion
271
271
  //#region ../node_modules/.pnpm/vega-util@1.10.0/node_modules/vega-util/src/isObject.js
272
- function je(e) {
272
+ function Me(e) {
273
273
  return e === Object(e);
274
274
  }
275
275
  //#endregion
276
276
  //#region ../node_modules/.pnpm/vega-util@1.10.0/node_modules/vega-util/src/isString.js
277
- function Me(e) {
277
+ function Ne(e) {
278
278
  return typeof e == "string";
279
279
  }
280
280
  //#endregion
281
281
  //#region ../node_modules/.pnpm/vega-util@1.10.0/node_modules/vega-util/src/stringValue.js
282
- function Ne(e) {
283
- return Ae(e) ? "[" + e.map(Ne) + "]" : je(e) || Me(e) ? JSON.stringify(e).replace("\u2028", "\\u2028").replace("\u2029", "\\u2029") : e;
282
+ function Pe(e) {
283
+ return je(e) ? "[" + e.map(Pe) + "]" : Me(e) || Ne(e) ? JSON.stringify(e).replace("\u2028", "\\u2028").replace("\u2029", "\\u2029") : e;
284
284
  }
285
285
  //#endregion
286
286
  //#region ../node_modules/.pnpm/vega-util@1.10.0/node_modules/vega-util/src/field.js
287
- function Pe(e, t) {
288
- var n = ke(e), r = "return _[" + n.map(Ne).join("][") + "];";
289
- return De(Function("_", r), [e = n.length === 1 ? n[0] : e], t || e);
287
+ function Fe(e, t) {
288
+ var n = Ae(e), r = "return _[" + n.map(Pe).join("][") + "];";
289
+ return Oe(Function("_", r), [e = n.length === 1 ? n[0] : e], t || e);
290
290
  }
291
291
  //#endregion
292
292
  //#region ../node_modules/.pnpm/vega-util@1.10.0/node_modules/vega-util/src/accessors.js
293
- var Fe = [];
294
- Pe("id"), De(function(e) {
293
+ var Ie = [];
294
+ Fe("id"), Oe(function(e) {
295
295
  return e;
296
- }, Fe, "identity"), De(function() {
296
+ }, Ie, "identity"), Oe(function() {
297
297
  return 0;
298
- }, Fe, "zero"), De(function() {
298
+ }, Ie, "zero"), Oe(function() {
299
299
  return 1;
300
- }, Fe, "one"), De(function() {
300
+ }, Ie, "one"), Oe(function() {
301
301
  return !0;
302
- }, Fe, "true"), De(function() {
302
+ }, Ie, "true"), Oe(function() {
303
303
  return !1;
304
- }, Fe, "false");
304
+ }, Ie, "false");
305
305
  //#endregion
306
306
  //#region ../node_modules/.pnpm/vega-util@1.10.0/node_modules/vega-util/src/logger.js
307
- function Ie(e, t, n) {
307
+ function Le(e, t, n) {
308
308
  var r = [t].concat([].slice.call(n));
309
309
  console[e](...r);
310
310
  }
311
- function Le(e, t) {
311
+ function Re(e, t) {
312
312
  var n = e || 0;
313
313
  return {
314
314
  level: function(e) {
315
315
  return arguments.length ? (n = +e, this) : n;
316
316
  },
317
317
  error: function() {
318
- return n >= 1 && Ie(t || "error", "ERROR", arguments), this;
318
+ return n >= 1 && Le(t || "error", "ERROR", arguments), this;
319
319
  },
320
320
  warn: function() {
321
- return n >= 2 && Ie(t || "warn", "WARN", arguments), this;
321
+ return n >= 2 && Le(t || "warn", "WARN", arguments), this;
322
322
  },
323
323
  info: function() {
324
- return n >= 3 && Ie(t || "log", "INFO", arguments), this;
324
+ return n >= 3 && Le(t || "log", "INFO", arguments), this;
325
325
  },
326
326
  debug: function() {
327
- return n >= 4 && Ie(t || "log", "DEBUG", arguments), this;
327
+ return n >= 4 && Le(t || "log", "DEBUG", arguments), this;
328
328
  }
329
329
  };
330
330
  }
331
331
  //#endregion
332
332
  //#region ../node_modules/.pnpm/vega-util@1.10.0/node_modules/vega-util/src/isBoolean.js
333
- function Re(e) {
333
+ function ze(e) {
334
334
  return typeof e == "boolean";
335
335
  }
336
336
  //#endregion
337
337
  //#region ../node_modules/.pnpm/vega-util@1.10.0/node_modules/vega-util/src/toSet.js
338
- function ze(e) {
338
+ function Be(e) {
339
339
  for (var t = {}, n = 0, r = e.length; n < r; ++n) t[e[n]] = !0;
340
340
  return t;
341
341
  }
342
342
  //#endregion
343
343
  //#region ../node_modules/.pnpm/vega-lite@3.4.0_vega@6.2.0/node_modules/vega-lite/build/src/util.js
344
344
  Set.prototype.toJSON = function() {
345
- return `Set(${[...this].map((e) => (0, Ee.default)(e)).join(",")})`;
345
+ return `Set(${[...this].map((e) => (0, De.default)(e)).join(",")})`;
346
346
  };
347
- var A = Ee.default;
348
- function j(e, t) {
347
+ var k = De.default;
348
+ function A(e, t) {
349
349
  return e.indexOf(t) > -1;
350
350
  }
351
- function Be(e, t) {
351
+ function Ve(e, t) {
352
352
  let n = 0;
353
353
  for (let [r, i] of e.entries()) if (t(i, r, n++)) return !0;
354
354
  return !1;
355
355
  }
356
- var M = Object.keys;
357
- function Ve(e) {
356
+ var j = Object.keys;
357
+ function He(e) {
358
358
  let t = e.replace(/\W/g, "_");
359
359
  return (e.match(/^\d+/) ? "_" : "") + t;
360
360
  }
361
- function He(e, t = "datum") {
362
- return `${t}[${Ne(ke(e).join("."))}]`;
361
+ function Ue(e, t = "datum") {
362
+ return `${t}[${Pe(Ae(e).join("."))}]`;
363
363
  }
364
- function Ue(e) {
365
- return `${ke(e).map((e) => e.replace(".", "\\.")).join("\\.")}`;
364
+ function We(e) {
365
+ return `${Ae(e).map((e) => e.replace(".", "\\.")).join("\\.")}`;
366
366
  }
367
- function We(...e) {
367
+ function Ge(...e) {
368
368
  for (let t of e) if (t !== void 0) return t;
369
369
  }
370
- function Ge(e) {
371
- return Ke(e) ? e : `__${e}`;
372
- }
373
370
  function Ke(e) {
371
+ return qe(e) ? e : `__${e}`;
372
+ }
373
+ function qe(e) {
374
374
  return e.indexOf("__") === 0;
375
375
  }
376
- var qe = "column", Je = "facet", Ye = "latitude", Xe = "longitude", Ze = "latitude2", Qe = "longitude2", $e = "color", et = "fill", tt = "stroke", nt = "shape", rt = "size", it = "opacity", at = "fillOpacity", ot = "strokeOpacity", st = "strokeWidth", ct = "text", lt = "order", ut = "detail", dt = "tooltip", ft = "href", pt = {
376
+ var Je = "column", Ye = "facet", Xe = "latitude", Ze = "longitude", Qe = "latitude2", $e = "longitude2", et = "color", tt = "fill", nt = "stroke", rt = "shape", it = "size", at = "opacity", ot = "fillOpacity", st = "strokeOpacity", ct = "strokeWidth", lt = "text", ut = "order", dt = "detail", ft = "tooltip", pt = "href", mt = {
377
377
  x: 1,
378
378
  y: 1,
379
379
  x2: 1,
380
380
  y2: 1
381
- }, mt = {
381
+ }, ht = {
382
382
  longitude: 1,
383
383
  longitude2: 1,
384
384
  latitude: 1,
385
385
  latitude2: 1
386
386
  };
387
- M(mt);
388
- var ht = Object.assign({}, pt, mt, {
387
+ j(ht);
388
+ var gt = Object.assign({}, mt, ht, {
389
389
  color: 1,
390
390
  fill: 1,
391
391
  stroke: 1,
@@ -402,24 +402,24 @@ var ht = Object.assign({}, pt, mt, {
402
402
  tooltip: 1,
403
403
  href: 1
404
404
  });
405
- function gt(e) {
405
+ function _t(e) {
406
406
  return e === "color" || e === "fill" || e === "stroke";
407
407
  }
408
- var _t = {
408
+ var vt = {
409
409
  row: 1,
410
410
  column: 1,
411
411
  facet: 1
412
412
  };
413
- M(_t);
414
- var vt = Object.assign({}, ht, _t), yt = M(vt), { order: bt, detail: xt } = vt, St = Se(vt, ["order", "detail"]), { order: Ct, detail: wt, row: Tt, column: Et, facet: Dt } = vt, Ot = Se(vt, [
413
+ j(vt);
414
+ var yt = Object.assign({}, gt, vt), bt = j(yt), { order: xt, detail: St } = yt, Ct = Ce(yt, ["order", "detail"]), { order: wt, detail: Tt, row: Et, column: Dt, facet: Ot } = yt, kt = Ce(yt, [
415
415
  "order",
416
416
  "detail",
417
417
  "row",
418
418
  "column",
419
419
  "facet"
420
420
  ]);
421
- M(St), M(Ot), M(ht);
422
- var { x: kt, y: At, x2: jt, y2: Mt, latitude: Nt, longitude: Pt, latitude2: Ft, longitude2: It } = ht, Lt = Se(ht, [
421
+ j(Ct), j(kt), j(gt);
422
+ var { x: At, y: jt, x2: Mt, y2: Nt, latitude: Pt, longitude: Ft, latitude2: It, longitude2: Lt } = gt, Rt = Ce(gt, [
423
423
  "x",
424
424
  "y",
425
425
  "x2",
@@ -428,12 +428,12 @@ var { x: kt, y: At, x2: jt, y2: Mt, latitude: Nt, longitude: Pt, latitude2: Ft,
428
428
  "longitude",
429
429
  "latitude2",
430
430
  "longitude2"
431
- ]), Rt = M(Lt), zt = {
431
+ ]), zt = j(Rt), Bt = {
432
432
  x: 1,
433
433
  y: 1
434
434
  };
435
- M(zt);
436
- var { text: Bt, tooltip: Vt, href: Ht, detail: Ut, key: Wt, order: Gt } = Lt, Kt = Se(Lt, [
435
+ j(Bt);
436
+ var { text: Vt, tooltip: Ht, href: Ut, detail: Wt, key: Gt, order: Kt } = Rt, qt = Ce(Rt, [
437
437
  "text",
438
438
  "tooltip",
439
439
  "href",
@@ -441,16 +441,16 @@ var { text: Bt, tooltip: Vt, href: Ht, detail: Ut, key: Wt, order: Gt } = Lt, Kt
441
441
  "key",
442
442
  "order"
443
443
  ]);
444
- M(Kt);
445
- var qt = Object.assign({}, zt, Kt);
446
- M(qt);
447
- function Jt(e) {
448
- return !!qt[e];
444
+ j(qt);
445
+ var Jt = Object.assign({}, Bt, qt);
446
+ j(Jt);
447
+ function Yt(e) {
448
+ return !!Jt[e];
449
449
  }
450
- function Yt(e, t) {
451
- return $t(e)[t];
450
+ function Xt(e, t) {
451
+ return en(e)[t];
452
452
  }
453
- var Xt = {
453
+ var Zt = {
454
454
  area: "always",
455
455
  bar: "always",
456
456
  circle: "always",
@@ -463,32 +463,32 @@ var Xt = {
463
463
  trail: "always",
464
464
  text: "always",
465
465
  tick: "always"
466
- }, { geoshape: Zt } = Xt, Qt = Se(Xt, ["geoshape"]);
467
- function $t(e) {
466
+ }, { geoshape: Qt } = Zt, $t = Ce(Zt, ["geoshape"]);
467
+ function en(e) {
468
468
  switch (e) {
469
- case $e:
470
469
  case et:
471
470
  case tt:
472
- case ut:
473
- case "key":
471
+ case nt:
474
472
  case dt:
473
+ case "key":
475
474
  case ft:
476
- case lt:
477
- case it:
475
+ case pt:
476
+ case ut:
478
477
  case at:
479
478
  case ot:
480
479
  case st:
481
- case Je:
480
+ case ct:
481
+ case Ye:
482
482
  case "row":
483
- case qe: return Xt;
483
+ case Je: return Zt;
484
484
  case "x":
485
485
  case "y":
486
- case Ye:
487
- case Xe: return Qt;
486
+ case Xe:
487
+ case Ze: return $t;
488
488
  case "x2":
489
489
  case "y2":
490
- case Ze:
491
- case Qe: return {
490
+ case Qe:
491
+ case $e: return {
492
492
  rule: "always",
493
493
  bar: "always",
494
494
  rect: "always",
@@ -500,7 +500,7 @@ function $t(e) {
500
500
  line: "binned",
501
501
  trail: "binned"
502
502
  };
503
- case rt: return {
503
+ case it: return {
504
504
  point: "always",
505
505
  tick: "always",
506
506
  rule: "always",
@@ -511,48 +511,48 @@ function $t(e) {
511
511
  line: "always",
512
512
  trail: "always"
513
513
  };
514
- case nt: return {
514
+ case rt: return {
515
515
  point: "always",
516
516
  geoshape: "always"
517
517
  };
518
- case ct: return { text: "always" };
518
+ case lt: return { text: "always" };
519
519
  }
520
520
  }
521
- function en(e) {
521
+ function tn(e) {
522
522
  switch (e) {
523
523
  case "x":
524
524
  case "y":
525
- case rt:
526
- case st:
527
525
  case it:
526
+ case ct:
528
527
  case at:
529
528
  case ot:
529
+ case st:
530
530
  case "x2":
531
531
  case "y2": return;
532
- case Je:
532
+ case Ye:
533
533
  case "row":
534
- case qe:
535
- case nt:
536
- case ct:
537
- case dt:
538
- case ft: return "discrete";
539
- case $e:
534
+ case Je:
535
+ case rt:
536
+ case lt:
537
+ case ft:
538
+ case pt: return "discrete";
540
539
  case et:
541
- case tt: return "flexible";
542
- case Ye:
540
+ case tt:
541
+ case nt: return "flexible";
543
542
  case Xe:
544
543
  case Ze:
545
544
  case Qe:
546
- case ut:
545
+ case $e:
546
+ case dt:
547
547
  case "key":
548
- case lt: return;
548
+ case ut: return;
549
549
  }
550
550
  /* istanbul ignore next: should never reach here. */
551
551
  throw Error("rangeType not implemented for " + e);
552
552
  }
553
553
  //#endregion
554
554
  //#region ../node_modules/.pnpm/vega-lite@3.4.0_vega@6.2.0/node_modules/vega-lite/build/src/axis.js
555
- var tn = {
555
+ var nn = {
556
556
  orient: 1,
557
557
  bandPosition: 1,
558
558
  domain: 1,
@@ -619,12 +619,12 @@ var tn = {
619
619
  titleY: 1,
620
620
  values: 1,
621
621
  zindex: 1
622
- }, nn = Object.assign({}, tn, { encoding: 1 });
623
- M(Object.assign({
622
+ }, rn = Object.assign({}, nn, { encoding: 1 });
623
+ j(Object.assign({
624
624
  gridScale: 1,
625
625
  scale: 1
626
- }, tn, { encode: 1 }));
627
- var rn = M(nn), an = {
626
+ }, nn, { encode: 1 }));
627
+ var an = j(rn), on = {
628
628
  clipHeight: 1,
629
629
  columnPadding: 1,
630
630
  columns: 1,
@@ -686,7 +686,7 @@ var rn = M(nn), an = {
686
686
  type: 1,
687
687
  values: 1,
688
688
  zindex: 1
689
- }, on = Object.assign({}, an, {
689
+ }, sn = Object.assign({}, on, {
690
690
  opacity: 1,
691
691
  shape: 1,
692
692
  stroke: 1,
@@ -694,286 +694,286 @@ var rn = M(nn), an = {
694
694
  size: 1,
695
695
  strokeWidth: 1,
696
696
  encode: 1
697
- }), sn = M(an);
698
- M(on);
697
+ }), cn = j(on);
698
+ j(sn);
699
699
  //#endregion
700
700
  //#region ../node_modules/.pnpm/vega-lite@3.4.0_vega@6.2.0/node_modules/vega-lite/build/src/log/message.js
701
- var cn = /* @__PURE__ */ r({
702
- BAR_WITH_POINT_SCALE_AND_RANGESTEP_NULL: () => Un,
703
- CANNOT_FIX_RANGE_STEP_WITH_FIT: () => dn,
704
- CANNOT_UNION_CUSTOM_DOMAIN_WITH_FIELD_DOMAIN: () => Kn,
705
- CONCAT_CANNOT_SHARE_AXIS: () => bn,
706
- FIT_NON_SINGLE: () => un,
707
- INVALID_CHANNEL_FOR_AXIS: () => lr,
708
- INVALID_SPEC: () => ln,
709
- LINE_WITH_VARYING_SIZE: () => Ln,
710
- MORE_THAN_ONE_SORT: () => cr,
711
- NO_FIELDS_NEEDS_AS: () => Tn,
712
- NO_INIT_SCALE_BINDINGS: () => _n,
713
- REPEAT_CANNOT_SHARE_AXIS: () => xn,
714
- SCALE_BINDINGS_CONTINUOUS: () => gn,
715
- UNABLE_TO_MERGE_DOMAINS: () => sr,
716
- cannotApplySizeToNonOrientedMark: () => Zn,
717
- cannotProjectOnChannelWithoutField: () => fn,
718
- cannotStackNonLinearScale: () => dr,
719
- cannotStackRangedMark: () => ur,
720
- cannotUseScalePropertyWithNonColor: () => qn,
721
- channelRequiredForBinned: () => xr,
722
- columnsNotSupportByRowCol: () => yn,
723
- dayReplacedWithDate: () => mr,
724
- differentParse: () => Cn,
725
- discreteChannelCannotEncode: () => Hn,
726
- domainRequiredForThresholdScale: () => Sr,
727
- domainSortDropped: () => or,
728
- droppedDay: () => hr,
729
- droppingColor: () => Pn,
730
- emptyFieldDef: () => Fn,
731
- encodingOverridden: () => En,
732
- errorBand1DNotSupport: () => br,
733
- errorBarCenterAndExtentAreNotNeeded: () => gr,
734
- errorBarCenterIsNotNeeded: () => yr,
735
- errorBarCenterIsUsedWithWrongExtent: () => _r,
736
- errorBarContinuousAxisHasCustomizedAggregate: () => vr,
737
- facetChannelDropped: () => Vn,
738
- facetChannelShouldBeDiscrete: () => Bn,
739
- incompatibleChannel: () => Rn,
740
- independentScaleMeansIndependentGuide: () => ar,
741
- invalidAggregate: () => Mn,
742
- invalidEncodingChannel: () => zn,
743
- invalidFieldType: () => kn,
744
- invalidFieldTypeForCountAggregate: () => jn,
745
- invalidTimeUnit: () => pr,
746
- invalidTransformIgnored: () => wn,
747
- latLongDeprecated: () => In,
748
- lineWithRange: () => Wn,
749
- mergeConflictingDomainProperty: () => ir,
750
- mergeConflictingProperty: () => rr,
751
- missingFieldType: () => Nn,
752
- nearestNotSupportForContinuous: () => pn,
753
- noSuchRepeatedValue: () => vn,
754
- nonZeroScaleUsedWithLengthMark: () => An,
755
- orientOverridden: () => Gn,
756
- primitiveChannelDef: () => On,
757
- projectionOverridden: () => Dn,
758
- rangeStepDropped: () => Qn,
759
- scalePropertyNotWorkWithScaleType: () => tr,
760
- scaleTypeNotWorkWithChannel: () => $n,
761
- scaleTypeNotWorkWithFieldDef: () => er,
762
- scaleTypeNotWorkWithMark: () => nr,
763
- selectionNotFound: () => hn,
764
- selectionNotSupported: () => mn,
765
- stackNonSummativeAggregate: () => fr,
766
- unaggregateDomainHasNoEffectForRawField: () => Jn,
767
- unaggregateDomainWithNonSharedDomainOp: () => Yn,
768
- unaggregatedDomainWithLogScale: () => Xn,
769
- unrecognizedParse: () => Sn
770
- }), ln = "Invalid spec", un = "Autosize \"fit\" only works for single views and layered views.", dn = "Cannot use a fixed value of \"rangeStep\" when \"autosize\" is \"fit\".";
771
- function fn(e) {
701
+ var ln = /* @__PURE__ */ r({
702
+ BAR_WITH_POINT_SCALE_AND_RANGESTEP_NULL: () => Wn,
703
+ CANNOT_FIX_RANGE_STEP_WITH_FIT: () => fn,
704
+ CANNOT_UNION_CUSTOM_DOMAIN_WITH_FIELD_DOMAIN: () => qn,
705
+ CONCAT_CANNOT_SHARE_AXIS: () => xn,
706
+ FIT_NON_SINGLE: () => dn,
707
+ INVALID_CHANNEL_FOR_AXIS: () => ur,
708
+ INVALID_SPEC: () => un,
709
+ LINE_WITH_VARYING_SIZE: () => Rn,
710
+ MORE_THAN_ONE_SORT: () => lr,
711
+ NO_FIELDS_NEEDS_AS: () => En,
712
+ NO_INIT_SCALE_BINDINGS: () => vn,
713
+ REPEAT_CANNOT_SHARE_AXIS: () => Sn,
714
+ SCALE_BINDINGS_CONTINUOUS: () => _n,
715
+ UNABLE_TO_MERGE_DOMAINS: () => cr,
716
+ cannotApplySizeToNonOrientedMark: () => Qn,
717
+ cannotProjectOnChannelWithoutField: () => pn,
718
+ cannotStackNonLinearScale: () => fr,
719
+ cannotStackRangedMark: () => dr,
720
+ cannotUseScalePropertyWithNonColor: () => Jn,
721
+ channelRequiredForBinned: () => Sr,
722
+ columnsNotSupportByRowCol: () => bn,
723
+ dayReplacedWithDate: () => hr,
724
+ differentParse: () => wn,
725
+ discreteChannelCannotEncode: () => Un,
726
+ domainRequiredForThresholdScale: () => Cr,
727
+ domainSortDropped: () => sr,
728
+ droppedDay: () => gr,
729
+ droppingColor: () => Fn,
730
+ emptyFieldDef: () => In,
731
+ encodingOverridden: () => Dn,
732
+ errorBand1DNotSupport: () => xr,
733
+ errorBarCenterAndExtentAreNotNeeded: () => _r,
734
+ errorBarCenterIsNotNeeded: () => br,
735
+ errorBarCenterIsUsedWithWrongExtent: () => vr,
736
+ errorBarContinuousAxisHasCustomizedAggregate: () => yr,
737
+ facetChannelDropped: () => Hn,
738
+ facetChannelShouldBeDiscrete: () => Vn,
739
+ incompatibleChannel: () => zn,
740
+ independentScaleMeansIndependentGuide: () => or,
741
+ invalidAggregate: () => Nn,
742
+ invalidEncodingChannel: () => Bn,
743
+ invalidFieldType: () => An,
744
+ invalidFieldTypeForCountAggregate: () => Mn,
745
+ invalidTimeUnit: () => mr,
746
+ invalidTransformIgnored: () => Tn,
747
+ latLongDeprecated: () => Ln,
748
+ lineWithRange: () => Gn,
749
+ mergeConflictingDomainProperty: () => ar,
750
+ mergeConflictingProperty: () => ir,
751
+ missingFieldType: () => Pn,
752
+ nearestNotSupportForContinuous: () => mn,
753
+ noSuchRepeatedValue: () => yn,
754
+ nonZeroScaleUsedWithLengthMark: () => jn,
755
+ orientOverridden: () => Kn,
756
+ primitiveChannelDef: () => kn,
757
+ projectionOverridden: () => On,
758
+ rangeStepDropped: () => $n,
759
+ scalePropertyNotWorkWithScaleType: () => nr,
760
+ scaleTypeNotWorkWithChannel: () => er,
761
+ scaleTypeNotWorkWithFieldDef: () => tr,
762
+ scaleTypeNotWorkWithMark: () => rr,
763
+ selectionNotFound: () => gn,
764
+ selectionNotSupported: () => hn,
765
+ stackNonSummativeAggregate: () => pr,
766
+ unaggregateDomainHasNoEffectForRawField: () => Yn,
767
+ unaggregateDomainWithNonSharedDomainOp: () => Xn,
768
+ unaggregatedDomainWithLogScale: () => Zn,
769
+ unrecognizedParse: () => Cn
770
+ }), un = "Invalid spec", dn = "Autosize \"fit\" only works for single views and layered views.", fn = "Cannot use a fixed value of \"rangeStep\" when \"autosize\" is \"fit\".";
771
+ function pn(e) {
772
772
  return `Cannot project a selection on encoding channel "${e}", which has no field.`;
773
773
  }
774
- function pn(e) {
774
+ function mn(e) {
775
775
  return `The "nearest" transform is not supported for ${e} marks.`;
776
776
  }
777
- function mn(e) {
777
+ function hn(e) {
778
778
  return `Selection not supported for ${e} yet`;
779
779
  }
780
- function hn(e) {
780
+ function gn(e) {
781
781
  return `Cannot find a selection named "${e}"`;
782
782
  }
783
- var gn = "Scale bindings are currently only supported for scales with unbinned, continuous domains.", _n = "Selections bound to scales cannot be separately initialized.";
784
- function vn(e) {
783
+ var _n = "Scale bindings are currently only supported for scales with unbinned, continuous domains.", vn = "Selections bound to scales cannot be separately initialized.";
784
+ function yn(e) {
785
785
  return `Unknown repeated value "${e}".`;
786
786
  }
787
- function yn(e) {
787
+ function bn(e) {
788
788
  return `The "columns" property cannot be used when "${e}" has nested row/column.`;
789
789
  }
790
- var bn = "Axes cannot be shared in concatenated views yet (https://github.com/vega/vega-lite/issues/2415).", xn = "Axes cannot be shared in repeated views yet (https://github.com/vega/vega-lite/issues/2415).";
791
- function Sn(e) {
790
+ var xn = "Axes cannot be shared in concatenated views yet (https://github.com/vega/vega-lite/issues/2415).", Sn = "Axes cannot be shared in repeated views yet (https://github.com/vega/vega-lite/issues/2415).";
791
+ function Cn(e) {
792
792
  return `Unrecognized parse "${e}".`;
793
793
  }
794
- function Cn(e, t, n) {
794
+ function wn(e, t, n) {
795
795
  return `An ancestor parsed field "${e}" as ${n} but a child wants to parse the field as ${t}.`;
796
796
  }
797
- function wn(e) {
798
- return `Ignoring an invalid transform: ${A(e)}.`;
797
+ function Tn(e) {
798
+ return `Ignoring an invalid transform: ${k(e)}.`;
799
799
  }
800
- var Tn = "If \"from.fields\" is not specified, \"as\" has to be a string that specifies the key to be used for the data from the secondary source.";
801
- function En(e) {
800
+ var En = "If \"from.fields\" is not specified, \"as\" has to be a string that specifies the key to be used for the data from the secondary source.";
801
+ function Dn(e) {
802
802
  return `Layer's shared ${e.join(",")} channel ${e.length === 1 ? "is" : "are"} overriden`;
803
803
  }
804
- function Dn(e) {
804
+ function On(e) {
805
805
  let { parentProjection: t, projection: n } = e;
806
- return `Layer's shared projection ${A(t)} is overridden by a child projection ${A(n)}.`;
806
+ return `Layer's shared projection ${k(t)} is overridden by a child projection ${k(n)}.`;
807
807
  }
808
- function On(e, t, n) {
809
- return `Channel ${e} is a ${t}. Converted to {value: ${A(n)}}.`;
808
+ function kn(e, t, n) {
809
+ return `Channel ${e} is a ${t}. Converted to {value: ${k(n)}}.`;
810
810
  }
811
- function kn(e) {
811
+ function An(e) {
812
812
  return `Invalid field type "${e}"`;
813
813
  }
814
- function An(e, t, n) {
814
+ function jn(e, t, n) {
815
815
  return `A ${n.scaleType ? `${n.scaleType} scale` : n.zeroFalse ? "scale with zero=false" : "scale with custom domain that excludes zero"} is used to encode ${e}'s ${t}. This can be misleading as the ${t === "x" ? "width" : "height"} of the ${e} can be arbitrary based on the scale domain. You may want to use point mark instead.`;
816
816
  }
817
- function jn(e, t) {
817
+ function Mn(e, t) {
818
818
  return `Invalid field type "${e}" for aggregate: "${t}", using "quantitative" instead.`;
819
819
  }
820
- function Mn(e) {
820
+ function Nn(e) {
821
821
  return `Invalid aggregation operator "${e}"`;
822
822
  }
823
- function Nn(e, t) {
823
+ function Pn(e, t) {
824
824
  return `Missing type for channel "${e}", using "${t}" instead.`;
825
825
  }
826
- function Pn(e, t) {
826
+ function Fn(e, t) {
827
827
  let { fill: n, stroke: r } = t;
828
828
  return `Dropping color ${e} as the plot also has ` + (n && r ? "fill and stroke" : n ? "fill" : "stroke");
829
829
  }
830
- function Fn(e, t) {
831
- return `Dropping ${A(e)} from channel "${t}" since it does not contain data field or value.`;
830
+ function In(e, t) {
831
+ return `Dropping ${k(e)} from channel "${t}" since it does not contain data field or value.`;
832
832
  }
833
- function In(e, t, n) {
833
+ function Ln(e, t, n) {
834
834
  return `${e}-encoding with type ${t} is deprecated. Replacing with ${n}-encoding.`;
835
835
  }
836
- var Ln = "Line marks cannot encode size with a non-groupby field. You may want to use trail marks instead.";
837
- function Rn(e, t, n) {
836
+ var Rn = "Line marks cannot encode size with a non-groupby field. You may want to use trail marks instead.";
837
+ function zn(e, t, n) {
838
838
  return `${e} dropped as it is incompatible with "${t}"${n ? ` when ${n}` : ""}.`;
839
839
  }
840
- function zn(e) {
840
+ function Bn(e) {
841
841
  return `${e}-encoding is dropped as ${e} is not a valid encoding channel.`;
842
842
  }
843
- function Bn(e) {
843
+ function Vn(e) {
844
844
  return `${e} encoding should be discrete (ordinal / nominal / binned).`;
845
845
  }
846
- function Vn(e) {
846
+ function Hn(e) {
847
847
  return `Facet encoding dropped as ${e.join(" and ")} ${e.length > 1 ? "are" : "is"} also specified.`;
848
848
  }
849
- function Hn(e, t) {
849
+ function Un(e, t) {
850
850
  return `Using discrete channel "${e}" to encode "${t}" field can be misleading as it does not encode ${t === "ordinal" ? "order" : "magnitude"}.`;
851
851
  }
852
- var Un = "Bar mark should not be used with point scale when rangeStep is null. Please use band scale instead.";
853
- function Wn(e, t) {
852
+ var Wn = "Bar mark should not be used with point scale when rangeStep is null. Please use band scale instead.";
853
+ function Gn(e, t) {
854
854
  return `Line mark is for continuous lines and thus cannot be used with ${e && t ? "x2 and y2" : e ? "x2" : "y2"}. We will use the rule mark (line segments) instead.`;
855
855
  }
856
- function Gn(e, t) {
856
+ function Kn(e, t) {
857
857
  return `Specified orient "${e}" overridden with "${t}"`;
858
858
  }
859
- var Kn = "custom domain scale cannot be unioned with default field-based domain";
860
- function qn(e) {
861
- return `Cannot use the scale property "${e}" with non-color channel.`;
862
- }
859
+ var qn = "custom domain scale cannot be unioned with default field-based domain";
863
860
  function Jn(e) {
864
- return `Using unaggregated domain with raw field has no effect (${A(e)}).`;
861
+ return `Cannot use the scale property "${e}" with non-color channel.`;
865
862
  }
866
863
  function Yn(e) {
867
- return `Unaggregated domain not applicable for "${e}" since it produces values outside the origin domain of the source data.`;
864
+ return `Using unaggregated domain with raw field has no effect (${k(e)}).`;
868
865
  }
869
866
  function Xn(e) {
870
- return `Unaggregated domain is currently unsupported for log scale (${A(e)}).`;
867
+ return `Unaggregated domain not applicable for "${e}" since it produces values outside the origin domain of the source data.`;
871
868
  }
872
869
  function Zn(e) {
873
- return `Cannot apply size to non-oriented mark "${e}".`;
870
+ return `Unaggregated domain is currently unsupported for log scale (${k(e)}).`;
874
871
  }
875
872
  function Qn(e) {
873
+ return `Cannot apply size to non-oriented mark "${e}".`;
874
+ }
875
+ function $n(e) {
876
876
  return `rangeStep for "${e}" is dropped as top-level ${e === "x" ? "width" : "height"} is provided.`;
877
877
  }
878
- function $n(e, t, n) {
878
+ function er(e, t, n) {
879
879
  return `Channel "${e}" does not work with "${t}" scale. We are using "${n}" scale instead.`;
880
880
  }
881
- function er(e, t) {
881
+ function tr(e, t) {
882
882
  return `FieldDef does not work with "${e}" scale. We are using "${t}" scale instead.`;
883
883
  }
884
- function tr(e, t, n) {
884
+ function nr(e, t, n) {
885
885
  return `${n}-scale's "${t}" is dropped as it does not work with ${e} scale.`;
886
886
  }
887
- function nr(e, t) {
887
+ function rr(e, t) {
888
888
  return `Scale type "${t}" does not work with mark "${e}".`;
889
889
  }
890
- function rr(e, t, n, r) {
891
- return `Conflicting ${t.toString()} property "${e.toString()}" (${A(n)} and ${A(r)}). Using ${A(n)}.`;
892
- }
893
890
  function ir(e, t, n, r) {
894
- return `Conflicting ${t.toString()} property "${e.toString()}" (${A(n)} and ${A(r)}). Using the union of the two domains.`;
891
+ return `Conflicting ${t.toString()} property "${e.toString()}" (${k(n)} and ${k(r)}). Using ${k(n)}.`;
895
892
  }
896
- function ar(e) {
897
- return `Setting the scale to be independent for "${e}" means we also have to set the guide (axis or legend) to be independent.`;
893
+ function ar(e, t, n, r) {
894
+ return `Conflicting ${t.toString()} property "${e.toString()}" (${k(n)} and ${k(r)}). Using the union of the two domains.`;
898
895
  }
899
896
  function or(e) {
900
- return `Dropping sort property ${A(e)} as unioned domains only support boolean or op 'count'.`;
897
+ return `Setting the scale to be independent for "${e}" means we also have to set the guide (axis or legend) to be independent.`;
901
898
  }
902
- var sr = "Unable to merge domains", cr = "Domains that should be unioned has conflicting sort properties. Sort will be set to true.", lr = "Invalid channel for axis.";
903
- function ur(e) {
904
- return `Cannot stack "${e}" if there is already "${e}2"`;
899
+ function sr(e) {
900
+ return `Dropping sort property ${k(e)} as unioned domains only support boolean or op 'count'.`;
905
901
  }
902
+ var cr = "Unable to merge domains", lr = "Domains that should be unioned has conflicting sort properties. Sort will be set to true.", ur = "Invalid channel for axis.";
906
903
  function dr(e) {
907
- return `Cannot stack non-linear scale (${e})`;
904
+ return `Cannot stack "${e}" if there is already "${e}2"`;
908
905
  }
909
906
  function fr(e) {
907
+ return `Cannot stack non-linear scale (${e})`;
908
+ }
909
+ function pr(e) {
910
910
  return `Stacking is applied even though the aggregate function is non-summative ("${e}")`;
911
911
  }
912
- function pr(e, t) {
913
- return `Invalid ${e}: ${A(t)}`;
912
+ function mr(e, t) {
913
+ return `Invalid ${e}: ${k(t)}`;
914
914
  }
915
- function mr(e) {
915
+ function hr(e) {
916
916
  return `Time unit "${e}" is not supported. We are replacing it with ${e.replace("day", "date")}.`;
917
917
  }
918
- function hr(e) {
919
- return `Dropping day from datetime ${A(e)} as day cannot be combined with other units.`;
918
+ function gr(e) {
919
+ return `Dropping day from datetime ${k(e)} as day cannot be combined with other units.`;
920
920
  }
921
- function gr(e, t) {
921
+ function _r(e, t) {
922
922
  return `${t ? "extent " : ""}${t && e ? "and " : ""}${e ? "center " : ""}${t && e ? "are " : "is "}not needed when data are aggregated.`;
923
923
  }
924
- function _r(e, t, n) {
924
+ function vr(e, t, n) {
925
925
  return `${e} is not usually used with ${t} for ${n}.`;
926
926
  }
927
- function vr(e, t) {
927
+ function yr(e, t) {
928
928
  return `Continuous axis should not have customized aggregation function ${e}; ${t} already agregates the axis.`;
929
929
  }
930
- function yr(e, t) {
930
+ function br(e, t) {
931
931
  return `Center is not needed to be specified in ${t} when extent is ${e}.`;
932
932
  }
933
- function br(e) {
933
+ function xr(e) {
934
934
  return `1D error band does not support ${e}`;
935
935
  }
936
- function xr(e) {
936
+ function Sr(e) {
937
937
  return `Channel ${e} is required for "binned" bin`;
938
938
  }
939
- function Sr(e) {
939
+ function Cr(e) {
940
940
  return `Domain for ${e} is required for threshold scale`;
941
941
  }
942
942
  //#endregion
943
943
  //#region ../node_modules/.pnpm/vega-lite@3.4.0_vega@6.2.0/node_modules/vega-lite/build/src/log/index.js
944
- var N = cn, Cr = Le(2);
945
- function wr(...e) {
946
- Cr.warn.apply(Cr, arguments);
944
+ var M = ln, wr = Re(2);
945
+ function Tr(...e) {
946
+ wr.warn.apply(wr, arguments);
947
947
  }
948
948
  //#endregion
949
949
  //#region ../node_modules/.pnpm/vega-lite@3.4.0_vega@6.2.0/node_modules/vega-lite/build/src/type.js
950
- var Tr = {
950
+ var Er = {
951
951
  quantitative: 1,
952
952
  ordinal: 1,
953
953
  temporal: 1,
954
954
  nominal: 1,
955
955
  geojson: 1
956
- }, P = "quantitative", Er = "ordinal", Dr = "temporal", Or = "nominal", kr = "geojson";
957
- function Ar(e) {
956
+ }, N = "quantitative", Dr = "ordinal", Or = "temporal", kr = "nominal", Ar = "geojson";
957
+ function jr(e) {
958
958
  if (e) switch (e = e.toLowerCase(), e) {
959
959
  case "q":
960
- case P: return "quantitative";
960
+ case N: return "quantitative";
961
961
  case "t":
962
- case Dr: return "temporal";
962
+ case Or: return "temporal";
963
963
  case "o":
964
- case Er: return "ordinal";
964
+ case Dr: return "ordinal";
965
965
  case "n":
966
- case Or: return "nominal";
967
- case kr: return "geojson";
966
+ case kr: return "nominal";
967
+ case Ar: return "geojson";
968
968
  }
969
969
  }
970
970
  //#endregion
971
971
  //#region ../node_modules/.pnpm/vega-lite@3.4.0_vega@6.2.0/node_modules/vega-lite/build/src/scale.js
972
- var F;
972
+ var P;
973
973
  (function(e) {
974
974
  e.LINEAR = "linear", e.LOG = "log", e.POW = "pow", e.SQRT = "sqrt", e.SYMLOG = "symlog", e.TIME = "time", e.UTC = "utc", e.QUANTILE = "quantile", e.QUANTIZE = "quantize", e.THRESHOLD = "threshold", e.BIN_ORDINAL = "bin-ordinal", e.ORDINAL = "ordinal", e.POINT = "point", e.BAND = "band";
975
- })(F ||= {});
976
- var jr = M({
975
+ })(P ||= {});
976
+ var Mr = j({
977
977
  linear: "numeric",
978
978
  log: "numeric",
979
979
  pow: "numeric",
@@ -988,7 +988,7 @@ var jr = M({
988
988
  quantile: "discretizing",
989
989
  quantize: "discretizing",
990
990
  threshold: "discretizing"
991
- }), Mr = [
991
+ }), Nr = [
992
992
  "linear",
993
993
  "log",
994
994
  "pow",
@@ -996,33 +996,33 @@ var jr = M({
996
996
  "symlog",
997
997
  "time",
998
998
  "utc"
999
- ], Nr = ze(Mr), Pr = ze([
999
+ ], Pr = Be(Nr), Fr = Be([
1000
1000
  "quantile",
1001
1001
  "quantize",
1002
1002
  "threshold"
1003
- ]), Fr = ze(Mr.concat([
1003
+ ]), Ir = Be(Nr.concat([
1004
1004
  "quantile",
1005
1005
  "quantize",
1006
1006
  "threshold"
1007
- ])), Ir = ze([
1007
+ ])), Lr = Be([
1008
1008
  "ordinal",
1009
1009
  "bin-ordinal",
1010
1010
  "point",
1011
1011
  "band"
1012
1012
  ]);
1013
- function Lr(e) {
1014
- return e in Ir;
1015
- }
1016
1013
  function Rr(e) {
1017
- return e in Fr;
1014
+ return e in Lr;
1018
1015
  }
1019
1016
  function zr(e) {
1020
- return e in Nr;
1017
+ return e in Ir;
1021
1018
  }
1022
1019
  function Br(e) {
1023
1020
  return e in Pr;
1024
1021
  }
1025
- var Vr = {
1022
+ function Vr(e) {
1023
+ return e in Fr;
1024
+ }
1025
+ var Hr = {
1026
1026
  type: 1,
1027
1027
  domain: 1,
1028
1028
  align: 1,
@@ -1042,44 +1042,44 @@ var Vr = {
1042
1042
  padding: 1,
1043
1043
  paddingInner: 1,
1044
1044
  paddingOuter: 1
1045
- }, Hr = M(Vr), { type: Ur, domain: Wr, range: Gr, rangeStep: Kr, scheme: qr } = Vr;
1046
- M(Se(Vr, [
1045
+ }, Ur = j(Hr), { type: Wr, domain: Gr, range: Kr, rangeStep: qr, scheme: Jr } = Hr;
1046
+ j(Ce(Hr, [
1047
1047
  "type",
1048
1048
  "domain",
1049
1049
  "range",
1050
1050
  "rangeStep",
1051
1051
  "scheme"
1052
- ])), Qr();
1053
- function Jr(e, t) {
1052
+ ])), $r();
1053
+ function Yr(e, t) {
1054
1054
  switch (t) {
1055
1055
  case "type":
1056
1056
  case "domain":
1057
1057
  case "reverse":
1058
1058
  case "range": return !0;
1059
1059
  case "scheme":
1060
- case "interpolate": return !j([
1060
+ case "interpolate": return !A([
1061
1061
  "point",
1062
1062
  "band",
1063
1063
  "identity"
1064
1064
  ], e);
1065
- case "bins": return !j([
1065
+ case "bins": return !A([
1066
1066
  "point",
1067
1067
  "band",
1068
1068
  "identity",
1069
1069
  "ordinal"
1070
1070
  ], e);
1071
- case "round": return zr(e) || e === "band" || e === "point";
1072
- case "padding": return zr(e) || j(["point", "band"], e);
1071
+ case "round": return Br(e) || e === "band" || e === "point";
1072
+ case "padding": return Br(e) || A(["point", "band"], e);
1073
1073
  case "paddingOuter":
1074
1074
  case "rangeStep":
1075
- case "align": return j(["point", "band"], e);
1075
+ case "align": return A(["point", "band"], e);
1076
1076
  case "paddingInner": return e === "band";
1077
- case "clamp": return zr(e);
1078
- case "nice": return zr(e) || e === "quantize" || e === "threshold";
1077
+ case "clamp": return Br(e);
1078
+ case "nice": return Br(e) || e === "quantize" || e === "threshold";
1079
1079
  case "exponent": return e === "pow";
1080
1080
  case "base": return e === "log";
1081
1081
  case "constant": return e === "symlog";
1082
- case "zero": return Rr(e) && !j([
1082
+ case "zero": return zr(e) && !A([
1083
1083
  "log",
1084
1084
  "time",
1085
1085
  "utc",
@@ -1088,10 +1088,10 @@ function Jr(e, t) {
1088
1088
  ], e);
1089
1089
  }
1090
1090
  }
1091
- function Yr(e, t) {
1091
+ function Xr(e, t) {
1092
1092
  switch (t) {
1093
1093
  case "interpolate":
1094
- case "scheme": return gt(e) ? void 0 : N.cannotUseScalePropertyWithNonColor(e);
1094
+ case "scheme": return _t(e) ? void 0 : M.cannotUseScalePropertyWithNonColor(e);
1095
1095
  case "align":
1096
1096
  case "type":
1097
1097
  case "bins":
@@ -1111,54 +1111,54 @@ function Yr(e, t) {
1111
1111
  case "zero": return;
1112
1112
  }
1113
1113
  }
1114
- function Xr(e, t) {
1115
- return j(["ordinal", "nominal"], t) ? e === void 0 || Lr(e) : t === "temporal" ? j([
1116
- F.TIME,
1117
- F.UTC,
1114
+ function Zr(e, t) {
1115
+ return A(["ordinal", "nominal"], t) ? e === void 0 || Rr(e) : t === "temporal" ? A([
1116
+ P.TIME,
1117
+ P.UTC,
1118
1118
  void 0
1119
- ], e) : t !== "quantitative" || j([
1120
- F.LOG,
1121
- F.POW,
1122
- F.SQRT,
1123
- F.SYMLOG,
1124
- F.QUANTILE,
1125
- F.QUANTIZE,
1126
- F.THRESHOLD,
1127
- F.LINEAR,
1119
+ ], e) : t !== "quantitative" || A([
1120
+ P.LOG,
1121
+ P.POW,
1122
+ P.SQRT,
1123
+ P.SYMLOG,
1124
+ P.QUANTILE,
1125
+ P.QUANTIZE,
1126
+ P.THRESHOLD,
1127
+ P.LINEAR,
1128
1128
  void 0
1129
1129
  ], e);
1130
1130
  }
1131
- function Zr(e, t) {
1131
+ function Qr(e, t) {
1132
1132
  switch (e) {
1133
1133
  case "x":
1134
- case "y": return zr(t) || j(["band", "point"], t);
1135
- case rt:
1136
- case st:
1134
+ case "y": return Br(t) || A(["band", "point"], t);
1137
1135
  case it:
1136
+ case ct:
1138
1137
  case at:
1139
- case ot: return zr(t) || Br(t) || j(["band", "point"], t);
1140
- case $e:
1138
+ case ot:
1139
+ case st: return Br(t) || Vr(t) || A(["band", "point"], t);
1141
1140
  case et:
1142
- case tt: return t !== "band";
1143
- case nt: return t === "ordinal";
1141
+ case tt:
1142
+ case nt: return t !== "band";
1143
+ case rt: return t === "ordinal";
1144
1144
  }
1145
1145
  /* istanbul ignore next: it should never reach here */
1146
1146
  return !1;
1147
1147
  }
1148
- function Qr() {
1148
+ function $r() {
1149
1149
  let e = {};
1150
- for (let t of yt) for (let n of M(Tr)) for (let r of jr) {
1151
- let i = $r(t, n);
1152
- Zr(t, r) && Xr(r, n) && (e[i] = e[i] || [], e[i].push(r));
1150
+ for (let t of bt) for (let n of j(Er)) for (let r of Mr) {
1151
+ let i = ei(t, n);
1152
+ Qr(t, r) && Zr(r, n) && (e[i] = e[i] || [], e[i].push(r));
1153
1153
  }
1154
1154
  return e;
1155
1155
  }
1156
- function $r(e, t) {
1156
+ function ei(e, t) {
1157
1157
  return e + "_" + t;
1158
1158
  }
1159
1159
  //#endregion
1160
1160
  //#region ../node_modules/.pnpm/datalib@1.7.3/node_modules/datalib/src/util.js
1161
- var ei = /* @__PURE__ */ i(((e, t) => {
1161
+ var ti = /* @__PURE__ */ i(((e, t) => {
1162
1162
  var n = t.exports, r = "__name__";
1163
1163
  n.namedfunc = function(e, t) {
1164
1164
  return t[r] = e, t;
@@ -1319,37 +1319,37 @@ var ei = /* @__PURE__ */ i(((e, t) => {
1319
1319
  }), e.length ? e.join("").trim() : i[0].slice(0, t);
1320
1320
  }
1321
1321
  var c = /([\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u2028\u2029\u3000\uFEFF])/;
1322
- })), I = ei();
1323
- function L(e, t) {
1322
+ })), F = ti();
1323
+ function I(e, t) {
1324
1324
  return e.indexOf(t) !== -1;
1325
1325
  }
1326
- function ti(e, t) {
1326
+ function ni(e, t) {
1327
1327
  for (let n = 0; n < e.length; n++) if (!t(e[n], n)) return !1;
1328
1328
  return !0;
1329
1329
  }
1330
- function R(e, t, n) {
1330
+ function L(e, t, n) {
1331
1331
  if (e.forEach) e.forEach.call(n, t);
1332
1332
  else for (let r in e) t.call(n, e[r], r, e);
1333
1333
  }
1334
- function ni(e, t) {
1334
+ function ri(e, t) {
1335
1335
  let n = 0, r;
1336
1336
  for (r in e) if (t(e[r], r, n++)) return !0;
1337
1337
  return !1;
1338
1338
  }
1339
- function ri(e, t) {
1339
+ function ii(e, t) {
1340
1340
  return e.filter(function(e) {
1341
- return !L(t, e);
1341
+ return !I(t, e);
1342
1342
  });
1343
1343
  }
1344
- function ii(e) {
1344
+ function ai(e) {
1345
1345
  return Object.keys(e);
1346
1346
  }
1347
1347
  //#endregion
1348
1348
  //#region ../node_modules/.pnpm/compassql@0.21.2_vega@6.2.0/node_modules/compassql/build/src/property.js
1349
- function ai(e) {
1349
+ function oi(e) {
1350
1350
  return !!e.parent;
1351
1351
  }
1352
- var oi = {
1352
+ var si = {
1353
1353
  channel: 1,
1354
1354
  aggregate: 1,
1355
1355
  autoCount: 1,
@@ -1365,21 +1365,21 @@ var oi = {
1365
1365
  axis: 1,
1366
1366
  legend: 1,
1367
1367
  value: 1
1368
- }, si = ii(oi);
1369
- function ci(e) {
1370
- return e in oi;
1368
+ }, ci = ai(si);
1369
+ function li(e) {
1370
+ return e in si;
1371
1371
  }
1372
- var li = {
1372
+ var ui = {
1373
1373
  bin: 1,
1374
1374
  scale: 1,
1375
1375
  sort: 1,
1376
1376
  axis: 1,
1377
1377
  legend: 1
1378
1378
  };
1379
- function ui(e) {
1380
- return li[e];
1379
+ function di(e) {
1380
+ return ui[e];
1381
1381
  }
1382
- var di = [
1382
+ var fi = [
1383
1383
  "maxbins",
1384
1384
  "divide",
1385
1385
  "extent",
@@ -1387,37 +1387,37 @@ var di = [
1387
1387
  "step",
1388
1388
  "steps",
1389
1389
  "minstep"
1390
- ], fi = [
1390
+ ], pi = [
1391
1391
  "field",
1392
1392
  "op",
1393
1393
  "order"
1394
- ], pi = di.map((e) => ({
1394
+ ], mi = fi.map((e) => ({
1395
1395
  parent: "bin",
1396
1396
  child: e
1397
- })), mi = fi.map((e) => ({
1397
+ })), hi = pi.map((e) => ({
1398
1398
  parent: "sort",
1399
1399
  child: e
1400
- })), hi = Hr.map((e) => ({
1400
+ })), gi = Ur.map((e) => ({
1401
1401
  parent: "scale",
1402
1402
  child: e
1403
- })), gi = rn.map((e) => ({
1403
+ })), _i = an.map((e) => ({
1404
1404
  parent: "axis",
1405
1405
  child: e
1406
- })), _i = sn.map((e) => ({
1406
+ })), vi = cn.map((e) => ({
1407
1407
  parent: "legend",
1408
1408
  child: e
1409
- })), vi = [].concat(pi, mi, hi, gi, _i), yi = [
1409
+ })), yi = [].concat(mi, hi, gi, _i, vi), bi = [
1410
1410
  "width",
1411
1411
  "height",
1412
1412
  "background",
1413
1413
  "padding",
1414
1414
  "title"
1415
- ], bi = ".";
1416
- function xi(e) {
1417
- return ai(e) ? e.parent + bi + e.child : e;
1418
- }
1415
+ ], xi = ".";
1419
1416
  function Si(e) {
1420
- let t = e.split(bi);
1417
+ return oi(e) ? e.parent + xi + e.child : e;
1418
+ }
1419
+ function Ci(e) {
1420
+ let t = e.split(xi);
1421
1421
  /* istanbul ignore else */
1422
1422
  if (t.length === 1) return e;
1423
1423
  if (t.length === 2) return {
@@ -1426,14 +1426,14 @@ function Si(e) {
1426
1426
  };
1427
1427
  throw "Invalid property key with " + t.length + " dots: " + e;
1428
1428
  }
1429
- var Ci = vi.reduce((e, t) => (e[t.parent] = e[t.parent] || [], e[t.parent][t.child] = t, e), {});
1430
- function wi(e, t) {
1431
- return (Ci[e] || {})[t];
1429
+ var wi = yi.reduce((e, t) => (e[t.parent] = e[t.parent] || [], e[t.parent][t.child] = t, e), {});
1430
+ function Ti(e, t) {
1431
+ return (wi[e] || {})[t];
1432
1432
  }
1433
- function Ti(e) {
1434
- return ci(e) || ai(e);
1433
+ function Ei(e) {
1434
+ return li(e) || oi(e);
1435
1435
  }
1436
- var Ei = [].concat(si, vi), Di = [
1436
+ var Di = [].concat(ci, yi), Oi = [
1437
1437
  "type",
1438
1438
  "field",
1439
1439
  "bin",
@@ -1447,13 +1447,13 @@ var Ei = [].concat(si, vi), Di = [
1447
1447
  "sort",
1448
1448
  "axis",
1449
1449
  "legend"
1450
- ].concat(pi, hi, gi, _i, mi), z;
1450
+ ].concat(mi, gi, _i, vi, hi), R;
1451
1451
  (function(e) {
1452
1452
  e.MARK = "mark", e.TRANSFORM = "transform", e.STACK = "stack", e.FORMAT = "format", e.CHANNEL = "channel", e.AGGREGATE = "aggregate", e.AUTOCOUNT = "autoCount", e.BIN = "bin", e.HAS_FN = "hasFn", e.TIMEUNIT = "timeUnit", e.FIELD = "field", e.TYPE = "type", e.SORT = "sort", e.SCALE = "scale", e.AXIS = "axis", e.LEGEND = "legend", e.WIDTH = "width", e.HEIGHT = "height", e.BACKGROUND = "background", e.PADDING = "padding", e.TITLE = "title";
1453
- })(z ||= {});
1453
+ })(R ||= {});
1454
1454
  //#endregion
1455
1455
  //#region ../node_modules/.pnpm/vega-lite@3.4.0_vega@6.2.0/node_modules/vega-lite/build/src/mark.js
1456
- var Oi = "area", ki = "line", Ai = "point", ji = "rect", Mi = "rule", Ni = "text", Pi = "tick", Fi = "circle", Ii = "square", Li = {
1456
+ var ki = "area", Ai = "line", ji = "point", Mi = "rect", Ni = "rule", Pi = "text", Fi = "tick", Ii = "circle", Li = "square", Ri = {
1457
1457
  area: 1,
1458
1458
  bar: 1,
1459
1459
  line: 1,
@@ -1467,18 +1467,18 @@ var Oi = "area", ki = "line", Ai = "point", ji = "rect", Mi = "rule", Ni = "text
1467
1467
  circle: 1,
1468
1468
  square: 1
1469
1469
  };
1470
- function Ri(e) {
1471
- return j([
1470
+ function zi(e) {
1471
+ return A([
1472
1472
  "line",
1473
1473
  "area",
1474
1474
  "trail"
1475
1475
  ], e);
1476
1476
  }
1477
- var zi = M(Li);
1478
- function Bi(e) {
1477
+ var Bi = j(Ri);
1478
+ function Vi(e) {
1479
1479
  return e.type;
1480
1480
  }
1481
- ze(zi), [
1481
+ Be(Bi), [
1482
1482
  "january",
1483
1483
  "february",
1484
1484
  "march",
@@ -1502,11 +1502,11 @@ ze(zi), [
1502
1502
  ].map((e) => e.substr(0, 3));
1503
1503
  //#endregion
1504
1504
  //#region ../node_modules/.pnpm/vega-lite@3.4.0_vega@6.2.0/node_modules/vega-lite/build/src/timeunit.js
1505
- var B;
1505
+ var z;
1506
1506
  (function(e) {
1507
1507
  e.YEAR = "year", e.MONTH = "month", e.DAY = "day", e.DATE = "date", e.HOURS = "hours", e.MINUTES = "minutes", e.SECONDS = "seconds", e.MILLISECONDS = "milliseconds", e.YEARMONTH = "yearmonth", e.YEARMONTHDATE = "yearmonthdate", e.YEARMONTHDATEHOURS = "yearmonthdatehours", e.YEARMONTHDATEHOURSMINUTES = "yearmonthdatehoursminutes", e.YEARMONTHDATEHOURSMINUTESSECONDS = "yearmonthdatehoursminutesseconds", e.MONTHDATE = "monthdate", e.MONTHDATEHOURS = "monthdatehours", e.HOURSMINUTES = "hoursminutes", e.HOURSMINUTESSECONDS = "hoursminutesseconds", e.MINUTESSECONDS = "minutesseconds", e.SECONDSMILLISECONDS = "secondsmilliseconds", e.QUARTER = "quarter", e.YEARQUARTER = "yearquarter", e.QUARTERMONTH = "quartermonth", e.YEARQUARTERMONTH = "yearquartermonth", e.UTCYEAR = "utcyear", e.UTCMONTH = "utcmonth", e.UTCDAY = "utcday", e.UTCDATE = "utcdate", e.UTCHOURS = "utchours", e.UTCMINUTES = "utcminutes", e.UTCSECONDS = "utcseconds", e.UTCMILLISECONDS = "utcmilliseconds", e.UTCYEARMONTH = "utcyearmonth", e.UTCYEARMONTHDATE = "utcyearmonthdate", e.UTCYEARMONTHDATEHOURS = "utcyearmonthdatehours", e.UTCYEARMONTHDATEHOURSMINUTES = "utcyearmonthdatehoursminutes", e.UTCYEARMONTHDATEHOURSMINUTESSECONDS = "utcyearmonthdatehoursminutesseconds", e.UTCMONTHDATE = "utcmonthdate", e.UTCMONTHDATEHOURS = "utcmonthdatehours", e.UTCHOURSMINUTES = "utchoursminutes", e.UTCHOURSMINUTESSECONDS = "utchoursminutesseconds", e.UTCMINUTESSECONDS = "utcminutesseconds", e.UTCSECONDSMILLISECONDS = "utcsecondsmilliseconds", e.UTCQUARTER = "utcquarter", e.UTCYEARQUARTER = "utcyearquarter", e.UTCQUARTERMONTH = "utcquartermonth", e.UTCYEARQUARTERMONTH = "utcyearquartermonth";
1508
- })(B ||= {});
1509
- var Vi = {
1508
+ })(z ||= {});
1509
+ var Hi = {
1510
1510
  year: 1,
1511
1511
  quarter: 1,
1512
1512
  month: 1,
@@ -1516,11 +1516,11 @@ var Vi = {
1516
1516
  minutes: 1,
1517
1517
  seconds: 1,
1518
1518
  milliseconds: 1
1519
- }, Hi = M(Vi);
1520
- function Ui(e) {
1521
- return !!Vi[e];
1519
+ }, Ui = j(Hi);
1520
+ function Wi(e) {
1521
+ return !!Hi[e];
1522
1522
  }
1523
- var Wi = {
1523
+ var Gi = {
1524
1524
  utcyear: 1,
1525
1525
  utcquarter: 1,
1526
1526
  utcmonth: 1,
@@ -1531,10 +1531,10 @@ var Wi = {
1531
1531
  utcseconds: 1,
1532
1532
  utcmilliseconds: 1
1533
1533
  };
1534
- function Gi(e) {
1535
- return !!Wi[e];
1534
+ function Ki(e) {
1535
+ return !!Gi[e];
1536
1536
  }
1537
- var Ki = {
1537
+ var qi = {
1538
1538
  yearquarter: 1,
1539
1539
  yearquartermonth: 1,
1540
1540
  yearmonth: 1,
@@ -1549,7 +1549,7 @@ var Ki = {
1549
1549
  hoursminutesseconds: 1,
1550
1550
  minutesseconds: 1,
1551
1551
  secondsmilliseconds: 1
1552
- }, qi = {
1552
+ }, Ji = {
1553
1553
  utcyearquarter: 1,
1554
1554
  utcyearquartermonth: 1,
1555
1555
  utcyearmonth: 1,
@@ -1564,16 +1564,16 @@ var Ki = {
1564
1564
  utchoursminutesseconds: 1,
1565
1565
  utcminutesseconds: 1,
1566
1566
  utcsecondsmilliseconds: 1
1567
- }, Ji = Object.assign({}, Wi, qi);
1568
- function Yi(e) {
1569
- return !!Ji[e];
1567
+ }, Yi = Object.assign({}, Gi, Ji);
1568
+ function Xi(e) {
1569
+ return !!Yi[e];
1570
1570
  }
1571
- var Xi = Object.assign({}, Vi, Wi, Ki, qi);
1572
- M(Xi);
1573
- function Zi(e) {
1574
- return !!Xi[e];
1571
+ var Zi = Object.assign({}, Hi, Gi, qi, Ji);
1572
+ j(Zi);
1573
+ function Qi(e) {
1574
+ return !!Zi[e];
1575
1575
  }
1576
- var Qi = {
1576
+ var $i = {
1577
1577
  year: "setFullYear",
1578
1578
  month: "setMonth",
1579
1579
  date: "setDate",
@@ -1584,49 +1584,49 @@ var Qi = {
1584
1584
  quarter: null,
1585
1585
  day: null
1586
1586
  };
1587
- function $i(e, t) {
1588
- let n = Yi(e), r = n ? new Date(Date.UTC(1972, 0, 1, 0, 0, 0, 0)) : new Date(1972, 0, 1, 0, 0, 0, 0);
1589
- for (let i of Hi) if (ta(e, i)) switch (i) {
1590
- case B.DAY: throw Error("Cannot convert to TimeUnits containing 'day'");
1591
- case B.QUARTER: {
1592
- let { getDateMethod: e, setDateMethod: i } = ea("month", n);
1587
+ function ea(e, t) {
1588
+ let n = Xi(e), r = n ? new Date(Date.UTC(1972, 0, 1, 0, 0, 0, 0)) : new Date(1972, 0, 1, 0, 0, 0, 0);
1589
+ for (let i of Ui) if (na(e, i)) switch (i) {
1590
+ case z.DAY: throw Error("Cannot convert to TimeUnits containing 'day'");
1591
+ case z.QUARTER: {
1592
+ let { getDateMethod: e, setDateMethod: i } = ta("month", n);
1593
1593
  r[i](Math.floor(t[e]() / 3) * 3);
1594
1594
  break;
1595
1595
  }
1596
1596
  default: {
1597
- let { getDateMethod: e, setDateMethod: a } = ea(i, n);
1597
+ let { getDateMethod: e, setDateMethod: a } = ta(i, n);
1598
1598
  r[a](t[e]());
1599
1599
  }
1600
1600
  }
1601
1601
  return r;
1602
1602
  }
1603
- function ea(e, t) {
1604
- let n = Qi[e];
1603
+ function ta(e, t) {
1604
+ let n = $i[e];
1605
1605
  return {
1606
1606
  setDateMethod: t ? "setUTC" + n.substr(3) : n,
1607
1607
  getDateMethod: "get" + (t ? "UTC" : "") + n.substr(3)
1608
1608
  };
1609
1609
  }
1610
- function ta(e, t) {
1610
+ function na(e, t) {
1611
1611
  let n = e.indexOf(t);
1612
- return n > -1 && (t !== B.SECONDS || n === 0 || e.charAt(n - 1) !== "i");
1612
+ return n > -1 && (t !== z.SECONDS || n === 0 || e.charAt(n - 1) !== "i");
1613
1613
  }
1614
- function V(e) {
1615
- return na(e) || ra(e);
1614
+ function B(e) {
1615
+ return ra(e) || ia(e);
1616
1616
  }
1617
- function na(e) {
1617
+ function ra(e) {
1618
1618
  return e === "?";
1619
1619
  }
1620
- function ra(e) {
1621
- return e !== void 0 && e != null && (!!e.enum || !!e.name) && !(0, I.isArray)(e);
1620
+ function ia(e) {
1621
+ return e !== void 0 && e != null && (!!e.enum || !!e.name) && !(0, F.isArray)(e);
1622
1622
  }
1623
- function ia(e, t, n) {
1624
- return (0, I.extend)({}, {
1623
+ function aa(e, t, n) {
1624
+ return (0, F.extend)({}, {
1625
1625
  name: t,
1626
1626
  enum: n
1627
1627
  }, e === "?" ? {} : e);
1628
1628
  }
1629
- function aa(e) {
1629
+ function oa(e) {
1630
1630
  let t = {}, n = {};
1631
1631
  for (let r of e) {
1632
1632
  let e = [0];
@@ -1650,7 +1650,7 @@ function aa(e) {
1650
1650
  }
1651
1651
  return t;
1652
1652
  }
1653
- var oa = {
1653
+ var sa = {
1654
1654
  mark: "m",
1655
1655
  channel: "c",
1656
1656
  aggregate: "a",
@@ -1682,17 +1682,17 @@ var oa = {
1682
1682
  op: "o",
1683
1683
  order: "or"
1684
1684
  },
1685
- scaleProps: aa(Hr),
1686
- axisProps: aa(rn),
1687
- legendProps: aa(sn)
1685
+ scaleProps: oa(Ur),
1686
+ axisProps: oa(an),
1687
+ legendProps: oa(cn)
1688
1688
  };
1689
- function sa(e) {
1690
- if (ai(e)) return oa[e.parent] + "-" + oa[e.parent + "Props"][e.child];
1691
- if (oa[e]) return oa[e];
1689
+ function ca(e) {
1690
+ if (oi(e)) return sa[e.parent] + "-" + sa[e.parent + "Props"][e.child];
1691
+ if (sa[e]) return sa[e];
1692
1692
  /* istanbul ignore next */
1693
1693
  throw Error("Default name undefined for " + e);
1694
1694
  }
1695
- var H = [!1, !0], ca = {
1695
+ var V = [!1, !0], la = {
1696
1696
  maxbins: [
1697
1697
  5,
1698
1698
  10,
@@ -1707,22 +1707,22 @@ var H = [!1, !0], ca = {
1707
1707
  binned: [!1],
1708
1708
  anchor: [void 0],
1709
1709
  nice: [!0]
1710
- }, la = {
1710
+ }, ua = {
1711
1711
  field: [void 0],
1712
1712
  op: ["min", "mean"],
1713
1713
  order: ["ascending", "descending"]
1714
- }, ua = {
1715
- type: [void 0, F.LOG],
1714
+ }, da = {
1715
+ type: [void 0, P.LOG],
1716
1716
  domain: [void 0],
1717
1717
  base: [void 0],
1718
1718
  exponent: [1, 2],
1719
1719
  constant: [void 0],
1720
1720
  bins: [void 0],
1721
- clamp: H,
1722
- nice: H,
1723
- reverse: H,
1724
- round: H,
1725
- zero: H,
1721
+ clamp: V,
1722
+ nice: V,
1723
+ reverse: V,
1724
+ round: V,
1725
+ zero: V,
1726
1726
  padding: [void 0],
1727
1727
  paddingInner: [void 0],
1728
1728
  paddingOuter: [void 0],
@@ -1730,28 +1730,28 @@ var H = [!1, !0], ca = {
1730
1730
  range: [void 0],
1731
1731
  rangeStep: [17, 21],
1732
1732
  scheme: [void 0]
1733
- }, da = {
1733
+ }, fa = {
1734
1734
  zindex: [1, 0],
1735
1735
  offset: [void 0],
1736
1736
  orient: [void 0],
1737
1737
  values: [void 0],
1738
1738
  bandPosition: [void 0],
1739
1739
  encoding: [void 0],
1740
- domain: H,
1740
+ domain: V,
1741
1741
  domainColor: [void 0],
1742
1742
  domainDash: [void 0],
1743
1743
  domainDashOffset: [void 0],
1744
1744
  domainOpacity: [void 0],
1745
1745
  domainWidth: [void 0],
1746
1746
  formatType: [void 0],
1747
- grid: H,
1747
+ grid: V,
1748
1748
  gridColor: [void 0],
1749
1749
  gridDash: [void 0],
1750
1750
  gridDashOffset: [void 0],
1751
1751
  gridOpacity: [void 0],
1752
1752
  gridWidth: [void 0],
1753
1753
  format: [void 0],
1754
- labels: H,
1754
+ labels: V,
1755
1755
  labelAlign: [void 0],
1756
1756
  labelAngle: [void 0],
1757
1757
  labelBaseline: [void 0],
@@ -1771,7 +1771,7 @@ var H = [!1, !0], ca = {
1771
1771
  maxExtent: [void 0],
1772
1772
  minExtent: [void 0],
1773
1773
  position: [void 0],
1774
- ticks: H,
1774
+ ticks: V,
1775
1775
  tickColor: [void 0],
1776
1776
  tickCount: [void 0],
1777
1777
  tickDash: [void 0],
@@ -1798,41 +1798,41 @@ var H = [!1, !0], ca = {
1798
1798
  titlePadding: [void 0],
1799
1799
  titleX: [void 0],
1800
1800
  titleY: [void 0]
1801
- }, fa = {
1801
+ }, pa = {
1802
1802
  mark: [
1803
- Ai,
1803
+ ji,
1804
1804
  "bar",
1805
+ Ai,
1805
1806
  ki,
1806
- Oi,
1807
- ji,
1808
- Pi,
1809
- Ni
1807
+ Mi,
1808
+ Fi,
1809
+ Pi
1810
1810
  ],
1811
1811
  channel: [
1812
1812
  "x",
1813
1813
  "y",
1814
1814
  "row",
1815
- qe,
1816
- rt,
1817
- $e
1815
+ Je,
1816
+ it,
1817
+ et
1818
1818
  ],
1819
1819
  aggregate: [void 0, "mean"],
1820
- autoCount: H,
1821
- bin: H,
1822
- hasFn: H,
1820
+ autoCount: V,
1821
+ bin: V,
1822
+ hasFn: V,
1823
1823
  timeUnit: [
1824
1824
  void 0,
1825
- B.YEAR,
1826
- B.MONTH,
1827
- B.MINUTES,
1828
- B.SECONDS
1825
+ z.YEAR,
1826
+ z.MONTH,
1827
+ z.MINUTES,
1828
+ z.SECONDS
1829
1829
  ],
1830
1830
  field: [void 0],
1831
1831
  type: [
1832
- Or,
1833
- Er,
1834
- P,
1835
- Dr
1832
+ kr,
1833
+ Dr,
1834
+ N,
1835
+ Or
1836
1836
  ],
1837
1837
  sort: ["ascending", "descending"],
1838
1838
  stack: [
@@ -1845,12 +1845,12 @@ var H = [!1, !0], ca = {
1845
1845
  format: [void 0],
1846
1846
  title: [void 0],
1847
1847
  scale: [!0],
1848
- axis: H,
1849
- legend: H,
1850
- binProps: ca,
1851
- sortProps: la,
1852
- scaleProps: ua,
1853
- axisProps: da,
1848
+ axis: V,
1849
+ legend: V,
1850
+ binProps: la,
1851
+ sortProps: ua,
1852
+ scaleProps: da,
1853
+ axisProps: fa,
1854
1854
  legendProps: {
1855
1855
  orient: ["left", "right"],
1856
1856
  format: [void 0],
@@ -1916,23 +1916,23 @@ var H = [!1, !0], ca = {
1916
1916
  titlePadding: [void 0]
1917
1917
  }
1918
1918
  };
1919
- function pa(e, t, n) {
1920
- if (e === "field" || ai(e) && e.parent === "sort" && e.child === "field") return t.fieldNames();
1919
+ function ma(e, t, n) {
1920
+ if (e === "field" || oi(e) && e.parent === "sort" && e.child === "field") return t.fieldNames();
1921
1921
  let r;
1922
- if (r = ai(e) ? n.enum[e.parent + "Props"][e.child] : n.enum[e], r !== void 0) return r;
1922
+ if (r = oi(e) ? n.enum[e.parent + "Props"][e.child] : n.enum[e], r !== void 0) return r;
1923
1923
  /* istanbul ignore next */
1924
1924
  throw Error("No default enumValues for " + JSON.stringify(e));
1925
1925
  }
1926
1926
  //#endregion
1927
1927
  //#region ../node_modules/.pnpm/compassql@0.21.2_vega@6.2.0/node_modules/compassql/build/src/config.js
1928
- var ma = {
1928
+ var ha = {
1929
1929
  verbose: !1,
1930
1930
  defaultSpecConfig: {
1931
1931
  line: { point: !0 },
1932
1932
  scale: { useUnaggregatedDomain: !0 }
1933
1933
  },
1934
- propertyPrecedence: Di.map(xi),
1935
- enum: fa,
1934
+ propertyPrecedence: Oi.map(Si),
1935
+ enum: pa,
1936
1936
  numberNominalProportion: .05,
1937
1937
  numberNominalLimit: 40,
1938
1938
  constraintManuallySpecifiedValue: !1,
@@ -1977,7 +1977,7 @@ var ma = {
1977
1977
  maxGoodCardinalityForColor: 7,
1978
1978
  minPercentUniqueForKey: .8,
1979
1979
  minCardinalityForKey: 50
1980
- }, ha = {
1980
+ }, ga = {
1981
1981
  argmax: 1,
1982
1982
  argmin: 1,
1983
1983
  average: 1,
@@ -2001,24 +2001,24 @@ var ma = {
2001
2001
  variance: 1,
2002
2002
  variancep: 1
2003
2003
  };
2004
- function ga(e) {
2004
+ function _a(e) {
2005
2005
  return !!e && !!e.argmin;
2006
2006
  }
2007
- function _a(e) {
2007
+ function va(e) {
2008
2008
  return !!e && !!e.argmax;
2009
2009
  }
2010
- M(ha);
2011
- function va(e) {
2012
- return Me(e) && !!ha[e];
2010
+ j(ga);
2011
+ function ya(e) {
2012
+ return Ne(e) && !!ga[e];
2013
2013
  }
2014
- var ya = [
2014
+ var ba = [
2015
2015
  "count",
2016
2016
  "sum",
2017
2017
  "distinct",
2018
2018
  "valid",
2019
2019
  "missing"
2020
2020
  ];
2021
- ze([
2021
+ Be([
2022
2022
  "mean",
2023
2023
  "average",
2024
2024
  "median",
@@ -2029,62 +2029,62 @@ ze([
2029
2029
  ]);
2030
2030
  //#endregion
2031
2031
  //#region ../node_modules/.pnpm/vega-lite@3.4.0_vega@6.2.0/node_modules/vega-lite/build/src/bin.js
2032
- function ba(e) {
2033
- return Re(e) && (e = Na(e, void 0)), "bin" + M(e).map((t) => Ve(`_${t}_${e[t]}`)).join("");
2034
- }
2035
2032
  function xa(e) {
2036
- return e === !0 || Sa(e) && !e.binned;
2033
+ return ze(e) && (e = Pa(e, void 0)), "bin" + j(e).map((t) => He(`_${t}_${e[t]}`)).join("");
2037
2034
  }
2038
2035
  function Sa(e) {
2039
- return je(e);
2036
+ return e === !0 || Ca(e) && !e.binned;
2040
2037
  }
2041
2038
  function Ca(e) {
2039
+ return Me(e);
2040
+ }
2041
+ function wa(e) {
2042
2042
  switch (e) {
2043
2043
  case "row":
2044
- case qe:
2045
- case rt:
2046
- case $e:
2044
+ case Je:
2045
+ case it:
2047
2046
  case et:
2048
2047
  case tt:
2049
- case st:
2050
- case it:
2048
+ case nt:
2049
+ case ct:
2051
2050
  case at:
2052
2051
  case ot:
2053
- case nt: return 6;
2052
+ case st:
2053
+ case rt: return 6;
2054
2054
  default: return 10;
2055
2055
  }
2056
2056
  }
2057
2057
  //#endregion
2058
2058
  //#region ../node_modules/.pnpm/vega-lite@3.4.0_vega@6.2.0/node_modules/vega-lite/build/src/channeldef.js
2059
- function wa(e) {
2060
- return !!e && !!e.condition && !Ae(e.condition) && Ta(e.condition);
2061
- }
2062
2059
  function Ta(e) {
2063
- return !!e && (!!e.field || e.aggregate === "count");
2060
+ return !!e && !!e.condition && !je(e.condition) && Ea(e.condition);
2064
2061
  }
2065
2062
  function Ea(e) {
2066
- return Ta(e) && Me(e.field);
2063
+ return !!e && (!!e.field || e.aggregate === "count");
2067
2064
  }
2068
2065
  function Da(e) {
2066
+ return Ea(e) && Ne(e.field);
2067
+ }
2068
+ function Oa(e) {
2069
2069
  return !!e.op;
2070
2070
  }
2071
- function Oa(e, t = {}) {
2071
+ function ka(e, t = {}) {
2072
2072
  let n = e.field, r = t.prefix, i = t.suffix, a = "";
2073
- if (ja(e)) n = Ge("count");
2073
+ if (Ma(e)) n = Ke("count");
2074
2074
  else {
2075
2075
  let r;
2076
2076
  if (!t.nofn) {
2077
- if (Da(e)) r = e.op;
2077
+ if (Oa(e)) r = e.op;
2078
2078
  else {
2079
2079
  let { bin: o, aggregate: s, timeUnit: c } = e;
2080
- xa(o) ? (r = ba(o), i = (t.binSuffix || "") + (t.suffix || "")) : s ? _a(s) ? (a = `.${n}`, n = `argmax_${s.argmax}`) : ga(s) ? (a = `.${n}`, n = `argmin_${s.argmin}`) : r = String(s) : c && (r = String(c));
2080
+ Sa(o) ? (r = xa(o), i = (t.binSuffix || "") + (t.suffix || "")) : s ? va(s) ? (a = `.${n}`, n = `argmax_${s.argmax}`) : _a(s) ? (a = `.${n}`, n = `argmin_${s.argmin}`) : r = String(s) : c && (r = String(c));
2081
2081
  }
2082
2082
  }
2083
2083
  r && (n = n ? `${r}_${n}` : r);
2084
2084
  }
2085
- return i && (n = `${n}_${i}`), r && (n = `${r}_${n}`), t.forAs ? n : t.expr ? He(n, t.expr) + a : Ue(n) + a;
2085
+ return i && (n = `${n}_${i}`), r && (n = `${r}_${n}`), t.forAs ? n : t.expr ? Ue(n, t.expr) + a : We(n) + a;
2086
2086
  }
2087
- function ka(e) {
2087
+ function Aa(e) {
2088
2088
  switch (e.type) {
2089
2089
  case "nominal":
2090
2090
  case "ordinal":
@@ -2092,23 +2092,23 @@ function ka(e) {
2092
2092
  case "quantitative": return !!e.bin;
2093
2093
  case "temporal": return !1;
2094
2094
  }
2095
- throw Error(N.invalidFieldType(e.type));
2096
- }
2097
- function Aa(e) {
2098
- return !ka(e);
2095
+ throw Error(M.invalidFieldType(e.type));
2099
2096
  }
2100
2097
  function ja(e) {
2101
- return e.aggregate === "count";
2098
+ return !Aa(e);
2102
2099
  }
2103
2100
  function Ma(e) {
2104
- if (Ta(e)) return e;
2105
- if (wa(e)) return e.condition;
2101
+ return e.aggregate === "count";
2102
+ }
2103
+ function Na(e) {
2104
+ if (Ea(e)) return e;
2105
+ if (Ta(e)) return e.condition;
2106
2106
  }
2107
- function Na(e, t) {
2108
- return Re(e) ? { maxbins: Ca(t) } : e === "binned" ? { binned: !0 } : !e.maxbins && !e.step ? Object.assign({}, e, { maxbins: Ca(t) }) : e;
2107
+ function Pa(e, t) {
2108
+ return ze(e) ? { maxbins: wa(t) } : e === "binned" ? { binned: !0 } : !e.maxbins && !e.step ? Object.assign({}, e, { maxbins: wa(t) }) : e;
2109
2109
  }
2110
- var Pa = { compatible: !0 };
2111
- function Fa(e, t) {
2110
+ var Fa = { compatible: !0 };
2111
+ function Ia(e, t) {
2112
2112
  let n = e.type;
2113
2113
  if (n === "geojson" && t !== "shape") return {
2114
2114
  compatible: !1,
@@ -2117,10 +2117,10 @@ function Fa(e, t) {
2117
2117
  switch (t) {
2118
2118
  case "row":
2119
2119
  case "column":
2120
- case "facet": return Aa(e) ? {
2120
+ case "facet": return ja(e) ? {
2121
2121
  compatible: !1,
2122
- warning: N.facetChannelShouldBeDiscrete(t)
2123
- } : Pa;
2122
+ warning: M.facetChannelShouldBeDiscrete(t)
2123
+ } : Fa;
2124
2124
  case "x":
2125
2125
  case "y":
2126
2126
  case "color":
@@ -2130,11 +2130,11 @@ function Fa(e, t) {
2130
2130
  case "detail":
2131
2131
  case "key":
2132
2132
  case "tooltip":
2133
- case "href": return Pa;
2133
+ case "href": return Fa;
2134
2134
  case "longitude":
2135
2135
  case "longitude2":
2136
2136
  case "latitude":
2137
- case "latitude2": return n === "quantitative" ? Pa : {
2137
+ case "latitude2": return n === "quantitative" ? Fa : {
2138
2138
  compatible: !1,
2139
2139
  warning: `Channel ${t} should be used with a quantitative field only, not ${e.type} field.`
2140
2140
  };
@@ -2147,51 +2147,51 @@ function Fa(e, t) {
2147
2147
  case "y2": return n === "nominal" && !e.sort ? {
2148
2148
  compatible: !1,
2149
2149
  warning: `Channel ${t} should not be used with an unsorted discrete field.`
2150
- } : Pa;
2151
- case "shape": return j([
2150
+ } : Fa;
2151
+ case "shape": return A([
2152
2152
  "ordinal",
2153
2153
  "nominal",
2154
2154
  "geojson"
2155
- ], e.type) ? Pa : {
2155
+ ], e.type) ? Fa : {
2156
2156
  compatible: !1,
2157
2157
  warning: "Shape channel should be used with only either discrete or geojson data."
2158
2158
  };
2159
2159
  case "order": return e.type === "nominal" && !("sort" in e) ? {
2160
2160
  compatible: !1,
2161
2161
  warning: "Channel order is inappropriate for nominal field, which has no inherent order."
2162
- } : Pa;
2162
+ } : Fa;
2163
2163
  }
2164
2164
  throw Error("channelCompatability not implemented for channel " + t);
2165
2165
  }
2166
2166
  //#endregion
2167
2167
  //#region ../node_modules/.pnpm/vega-lite@3.4.0_vega@6.2.0/node_modules/vega-lite/build/src/compile/scale/type.js
2168
- function Ia(e, t, n, r) {
2169
- let i = La(t, n, r), { type: a } = e;
2170
- return Jt(t) ? a === void 0 ? i : Zr(t, a) ? Xr(a, n.type) ? a : (wr(N.scaleTypeNotWorkWithFieldDef(a, i)), i) : (wr(N.scaleTypeNotWorkWithChannel(t, a, i)), i) : null;
2168
+ function La(e, t, n, r) {
2169
+ let i = Ra(t, n, r), { type: a } = e;
2170
+ return Yt(t) ? a === void 0 ? i : Qr(t, a) ? Zr(a, n.type) ? a : (Tr(M.scaleTypeNotWorkWithFieldDef(a, i)), i) : (Tr(M.scaleTypeNotWorkWithChannel(t, a, i)), i) : null;
2171
2171
  }
2172
- function La(e, t, n) {
2172
+ function Ra(e, t, n) {
2173
2173
  switch (t.type) {
2174
2174
  case "nominal":
2175
- case "ordinal": return gt(e) || en(e) === "discrete" ? (e === "shape" && t.type === "ordinal" && wr(N.discreteChannelCannotEncode(e, "ordinal")), "ordinal") : j(["x", "y"], e) && (j([
2175
+ case "ordinal": return _t(e) || tn(e) === "discrete" ? (e === "shape" && t.type === "ordinal" && Tr(M.discreteChannelCannotEncode(e, "ordinal")), "ordinal") : A(["x", "y"], e) && (A([
2176
2176
  "rect",
2177
2177
  "bar",
2178
2178
  "rule"
2179
2179
  ], n) || n === "bar") ? "band" : "point";
2180
- case "temporal": return gt(e) ? "time" : en(e) === "discrete" ? (wr(N.discreteChannelCannotEncode(e, "temporal")), "ordinal") : "time";
2181
- case "quantitative": return gt(e) ? xa(t.bin) ? "bin-ordinal" : "linear" : en(e) === "discrete" ? (wr(N.discreteChannelCannotEncode(e, "quantitative")), "ordinal") : "linear";
2180
+ case "temporal": return _t(e) ? "time" : tn(e) === "discrete" ? (Tr(M.discreteChannelCannotEncode(e, "temporal")), "ordinal") : "time";
2181
+ case "quantitative": return _t(e) ? Sa(t.bin) ? "bin-ordinal" : "linear" : tn(e) === "discrete" ? (Tr(M.discreteChannelCannotEncode(e, "quantitative")), "ordinal") : "linear";
2182
2182
  case "geojson": return;
2183
2183
  }
2184
2184
  /* istanbul ignore next: should never reach this */
2185
- throw Error(N.invalidFieldType(t.type));
2185
+ throw Error(M.invalidFieldType(t.type));
2186
2186
  }
2187
2187
  //#endregion
2188
2188
  //#region ../node_modules/.pnpm/compassql@0.21.2_vega@6.2.0/node_modules/compassql/build/src/query/expandedtype.js
2189
- var Ra;
2189
+ var H;
2190
2190
  (function(e) {
2191
- e.QUANTITATIVE = P, e.ORDINAL = Er, e.TEMPORAL = Dr, e.NOMINAL = Or, e.KEY = "key";
2192
- })(Ra ||= {});
2191
+ e.QUANTITATIVE = N, e.ORDINAL = Dr, e.TEMPORAL = Or, e.NOMINAL = kr, e.KEY = "key";
2192
+ })(H ||= {});
2193
2193
  function za(e) {
2194
- return e === "ordinal" || e === "nominal" || e === Ra.KEY;
2194
+ return e === "ordinal" || e === "nominal" || e === H.KEY;
2195
2195
  }
2196
2196
  //#endregion
2197
2197
  //#region ../node_modules/.pnpm/compassql@0.21.2_vega@6.2.0/node_modules/compassql/build/src/propindex.js
@@ -2200,13 +2200,13 @@ var U = class e {
2200
2200
  this.index = e ? Object.assign({}, e) : {};
2201
2201
  }
2202
2202
  has(e) {
2203
- return xi(e) in this.index;
2203
+ return Si(e) in this.index;
2204
2204
  }
2205
2205
  get(e) {
2206
- return this.index[xi(e)];
2206
+ return this.index[Si(e)];
2207
2207
  }
2208
2208
  set(e, t) {
2209
- return this.index[xi(e)] = t, this;
2209
+ return this.index[Si(e)] = t, this;
2210
2210
  }
2211
2211
  setByKey(e, t) {
2212
2212
  this.index[e] = t;
@@ -2217,7 +2217,7 @@ var U = class e {
2217
2217
  return n;
2218
2218
  }
2219
2219
  size() {
2220
- return (0, I.keys)(this.index).length;
2220
+ return (0, F.keys)(this.index).length;
2221
2221
  }
2222
2222
  duplicate() {
2223
2223
  return new e(this.index);
@@ -2227,7 +2227,7 @@ var U = class e {
2227
2227
  //#region ../node_modules/.pnpm/vega-lite@3.4.0_vega@6.2.0/node_modules/vega-lite/build/src/encoding.js
2228
2228
  function Ba(e, t) {
2229
2229
  let n = e && e[t];
2230
- return n ? Ae(n) ? Be(n, (e) => !!e.field) : Ta(n) || wa(n) : !1;
2230
+ return n ? je(n) ? Ve(n, (e) => !!e.field) : Ea(n) || Ta(n) : !1;
2231
2231
  }
2232
2232
  //#endregion
2233
2233
  //#region ../node_modules/.pnpm/vega-lite@3.4.0_vega@6.2.0/node_modules/vega-lite/build/src/stack.js
@@ -2241,39 +2241,39 @@ function Ha(e) {
2241
2241
  }
2242
2242
  var Ua = [
2243
2243
  "bar",
2244
- Oi,
2245
- Mi,
2246
- Ai,
2247
- Fi,
2248
- Ii,
2249
2244
  ki,
2250
2245
  Ni,
2251
- Pi
2252
- ], Wa = ["bar", Oi];
2246
+ ji,
2247
+ Ii,
2248
+ Li,
2249
+ Ai,
2250
+ Pi,
2251
+ Fi
2252
+ ], Wa = ["bar", ki];
2253
2253
  function Ga(e) {
2254
2254
  let t = e.x, n = e.y;
2255
- if (Ta(t) && Ta(n)) {
2255
+ if (Ea(t) && Ea(n)) {
2256
2256
  if (t.type === "quantitative" && n.type === "quantitative") {
2257
2257
  if (t.stack) return "x";
2258
2258
  if (n.stack) return "y";
2259
2259
  if (!!t.aggregate != !!n.aggregate) return t.aggregate ? "x" : "y";
2260
2260
  } else if (t.type === "quantitative") return "x";
2261
2261
  else if (n.type === "quantitative") return "y";
2262
- } else if (Ta(t) && t.type === "quantitative") return "x";
2263
- else if (Ta(n) && n.type === "quantitative") return "y";
2262
+ } else if (Ea(t) && t.type === "quantitative") return "x";
2263
+ else if (Ea(n) && n.type === "quantitative") return "y";
2264
2264
  }
2265
2265
  function Ka(e, t, n, r = {}) {
2266
- let i = Bi(e) ? e.type : e;
2267
- if (!j(Ua, i)) return null;
2266
+ let i = Vi(e) ? e.type : e;
2267
+ if (!A(Ua, i)) return null;
2268
2268
  let a = Ga(t);
2269
2269
  if (!a) return null;
2270
- let o = t[a], s = Ea(o) ? Oa(o, {}) : void 0, c = a === "x" ? "y" : "x", l = t[c], u = Ea(l) ? Oa(l, {}) : void 0, d = Rt.reduce((e, n) => {
2270
+ let o = t[a], s = Da(o) ? ka(o, {}) : void 0, c = a === "x" ? "y" : "x", l = t[c], u = Da(l) ? ka(l, {}) : void 0, d = zt.reduce((e, n) => {
2271
2271
  if (n !== "tooltip" && Ba(t, n)) {
2272
2272
  let r = t[n];
2273
- (Ae(r) ? r : [r]).forEach((t) => {
2274
- let r = Ma(t);
2273
+ (je(r) ? r : [r]).forEach((t) => {
2274
+ let r = Na(t);
2275
2275
  if (r.aggregate) return;
2276
- let i = Ea(r) ? Oa(r, {}) : void 0;
2276
+ let i = Da(r) ? ka(r, {}) : void 0;
2277
2277
  (!i || i !== u && i !== s) && e.push({
2278
2278
  channel: n,
2279
2279
  fieldDef: r
@@ -2282,15 +2282,15 @@ function Ka(e, t, n, r = {}) {
2282
2282
  }
2283
2283
  return e;
2284
2284
  }, []), f;
2285
- if (o.stack === void 0 ? d.length > 0 && (f = j(Wa, i) ? We(n, "zero") : n) : f = Re(o.stack) ? o.stack ? "zero" : null : o.stack, !f || !Ha(f)) return null;
2286
- if (o.scale && o.scale.type && o.scale.type !== F.LINEAR) {
2285
+ if (o.stack === void 0 ? d.length > 0 && (f = A(Wa, i) ? Ge(n, "zero") : n) : f = ze(o.stack) ? o.stack ? "zero" : null : o.stack, !f || !Ha(f)) return null;
2286
+ if (o.scale && o.scale.type && o.scale.type !== P.LINEAR) {
2287
2287
  if (r.disallowNonLinearStack) return null;
2288
- wr(N.cannotStackNonLinearScale(o.scale.type));
2288
+ Tr(M.cannotStackNonLinearScale(o.scale.type));
2289
2289
  }
2290
- return Ba(t, a === "x" ? "x2" : "y2") ? (o.stack !== void 0 && wr(N.cannotStackRangedMark(a)), null) : (o.aggregate && !j(ya, o.aggregate) && wr(N.stackNonSummativeAggregate(o.aggregate)), {
2290
+ return Ba(t, a === "x" ? "x2" : "y2") ? (o.stack !== void 0 && Tr(M.cannotStackRangedMark(a)), null) : (o.aggregate && !A(ba, o.aggregate) && Tr(M.stackNonSummativeAggregate(o.aggregate)), {
2291
2291
  groupbyChannel: l ? c : void 0,
2292
2292
  fieldChannel: a,
2293
- impute: Ri(i),
2293
+ impute: zi(i),
2294
2294
  stackBy: d,
2295
2295
  offset: f
2296
2296
  });
@@ -2298,7 +2298,7 @@ function Ka(e, t, n, r = {}) {
2298
2298
  //#endregion
2299
2299
  //#region ../node_modules/.pnpm/compassql@0.21.2_vega@6.2.0/node_modules/compassql/build/src/query/spec.js
2300
2300
  function qa(e) {
2301
- return ni(e.encodings, (e) => G(e) && !V(e.aggregate) && !!e.aggregate || mo(e));
2301
+ return ri(e.encodings, (e) => G(e) && !B(e.aggregate) && !!e.aggregate || mo(e));
2302
2302
  }
2303
2303
  function Ja(e) {
2304
2304
  if (!Za(e)) return null;
@@ -2309,31 +2309,31 @@ function Ja(e) {
2309
2309
  return Ka(n, t, void 0, { disallowNonLinearStack: !0 });
2310
2310
  }
2311
2311
  function Ya(e) {
2312
- for (let t of e.encodings) if (t[z.STACK] !== void 0 && !V(t[z.STACK])) return t[z.STACK];
2312
+ for (let t of e.encodings) if (t[R.STACK] !== void 0 && !B(t[R.STACK])) return t[R.STACK];
2313
2313
  }
2314
2314
  function Xa(e) {
2315
- for (let t of e.encodings) if (t[z.STACK] !== void 0 && !V(t.channel)) return t.channel;
2315
+ for (let t of e.encodings) if (t[R.STACK] !== void 0 && !B(t.channel)) return t.channel;
2316
2316
  return null;
2317
2317
  }
2318
2318
  function Za(e) {
2319
- if (V(e.mark)) return !1;
2319
+ if (B(e.mark)) return !1;
2320
2320
  let t = [
2321
- z.STACK,
2322
- z.CHANNEL,
2323
- z.MARK,
2324
- z.FIELD,
2325
- z.AGGREGATE,
2326
- z.AUTOCOUNT,
2327
- z.SCALE,
2328
- wi("scale", "type"),
2329
- z.TYPE
2330
- ], n = (0, I.toMap)(ri(Ei, t)), r = e.encodings.filter((e) => !q(e));
2321
+ R.STACK,
2322
+ R.CHANNEL,
2323
+ R.MARK,
2324
+ R.FIELD,
2325
+ R.AGGREGATE,
2326
+ R.AUTOCOUNT,
2327
+ R.SCALE,
2328
+ Ti("scale", "type"),
2329
+ R.TYPE
2330
+ ], n = (0, F.toMap)(ii(Di, t)), r = e.encodings.filter((e) => !q(e));
2331
2331
  for (let e of r) if (Qa(e, { exclude: n })) return !1;
2332
2332
  return !0;
2333
2333
  }
2334
2334
  function Qa(e, t = {}) {
2335
- if (!(0, I.isObject)(e)) return !1;
2336
- for (let n in e) if (e.hasOwnProperty(n) && (V(e[n]) && (!t.exclude || !t.exclude[n]) || Qa(e[n], t))) return !0;
2335
+ if (!(0, F.isObject)(e)) return !1;
2336
+ for (let n in e) if (e.hasOwnProperty(n) && (B(e[n]) && (!t.exclude || !t.exclude[n]) || Qa(e[n], t))) return !0;
2337
2337
  return !1;
2338
2338
  }
2339
2339
  //#endregion
@@ -2345,12 +2345,12 @@ function eo(e) {
2345
2345
  return (t) => e[t] === void 0 ? t : e[t];
2346
2346
  }
2347
2347
  function to(e, t) {
2348
- return V(e) ? !na(e) && e.enum ? "?" + JSON.stringify(e.enum) : "?" : t ? t(e) : e;
2348
+ return B(e) ? !ra(e) && e.enum ? "?" + JSON.stringify(e.enum) : "?" : t ? t(e) : e;
2349
2349
  }
2350
2350
  function no(e, t) {
2351
2351
  return t ? t(e) : e;
2352
2352
  }
2353
- var ro = new U(), io = [].concat(Di, mi, [z.TRANSFORM, z.STACK], yi).reduce((e, t) => e.set(t, !0), new U()), ao = {
2353
+ var ro = new U(), io = [].concat(Oi, hi, [R.TRANSFORM, R.STACK], bi).reduce((e, t) => e.set(t, !0), new U()), ao = {
2354
2354
  axis: {
2355
2355
  x: !0,
2356
2356
  y: !0,
@@ -2386,9 +2386,9 @@ var ro = new U(), io = [].concat(Di, mi, [z.TRANSFORM, z.STACK], yi).reduce((e,
2386
2386
  };
2387
2387
  function oo(e, t = io, n = ro) {
2388
2388
  let r = [];
2389
- t.get(z.MARK) && r.push(to(e.mark, n.get(z.MARK))), e.transform && e.transform.length > 0 && r.push("transform:" + JSON.stringify(e.transform));
2389
+ t.get(R.MARK) && r.push(to(e.mark, n.get(R.MARK))), e.transform && e.transform.length > 0 && r.push("transform:" + JSON.stringify(e.transform));
2390
2390
  let i;
2391
- if (t.get(z.STACK) && (i = Ja(e)), e.encodings) {
2391
+ if (t.get(R.STACK) && (i = Ja(e)), e.encodings) {
2392
2392
  let a = e.encodings.reduce((e, r) => {
2393
2393
  if (!q(r)) {
2394
2394
  let a;
@@ -2398,7 +2398,7 @@ function oo(e, t = io, n = ro) {
2398
2398
  }, []).sort().join("|");
2399
2399
  a && r.push(a);
2400
2400
  }
2401
- for (let n of yi) {
2401
+ for (let n of bi) {
2402
2402
  let i = n.toString();
2403
2403
  if (t.get(n) && e[i]) {
2404
2404
  let t = e[i];
@@ -2409,21 +2409,21 @@ function oo(e, t = io, n = ro) {
2409
2409
  }
2410
2410
  function so(e, t = io, n = ro) {
2411
2411
  let r = [];
2412
- if (t.get(z.CHANNEL) && r.push(to(e.channel, n.get(z.CHANNEL))), G(e)) {
2412
+ if (t.get(R.CHANNEL) && r.push(to(e.channel, n.get(R.CHANNEL))), G(e)) {
2413
2413
  let i = co(e, t, n);
2414
2414
  i && r.push(i);
2415
2415
  } else W(e) ? r.push(e.value) : K(e) && r.push("autocount()");
2416
2416
  return r.join(":");
2417
2417
  }
2418
2418
  function co(e, t = io, n = ro) {
2419
- if (t.get(z.AGGREGATE) && q(e)) return "-";
2419
+ if (t.get(R.AGGREGATE) && q(e)) return "-";
2420
2420
  let r = lo(e, t, n), i = uo(e, t, n), a;
2421
2421
  if (G(e)) {
2422
- if (a = t.get("field") ? to(e.field, n.get("field")) : "...", t.get(z.TYPE)) {
2423
- if (V(e.type)) a += "," + to(e.type, n.get(z.TYPE));
2422
+ if (a = t.get("field") ? to(e.field, n.get("field")) : "...", t.get(R.TYPE)) {
2423
+ if (B(e.type)) a += "," + to(e.type, n.get(R.TYPE));
2424
2424
  else {
2425
2425
  let t = ((e.type || "quantitative") + "").substr(0, 1);
2426
- a += "," + to(t, n.get(z.TYPE));
2426
+ a += "," + to(t, n.get(R.TYPE));
2427
2427
  }
2428
2428
  }
2429
2429
  a += i.map((e) => {
@@ -2431,33 +2431,33 @@ function co(e, t = io, n = ro) {
2431
2431
  return "," + e.key + "=" + t;
2432
2432
  }).join("");
2433
2433
  } else K(e) && (a = "*,q");
2434
- return a ? r ? ((0, I.isString)(r) ? r : "?" + ((0, I.keys)(r).length > 0 ? JSON.stringify(r) : "")) + "(" + a + ")" : a : null;
2434
+ return a ? r ? ((0, F.isString)(r) ? r : "?" + ((0, F.keys)(r).length > 0 ? JSON.stringify(r) : "")) + "(" + a + ")" : a : null;
2435
2435
  }
2436
2436
  function lo(e, t, n) {
2437
- if (t.get(z.AGGREGATE) && e.aggregate && !V(e.aggregate)) return no(e.aggregate, n.get(z.AGGREGATE));
2438
- if (t.get(z.AGGREGATE) && mo(e)) return no("count", n.get(z.AGGREGATE));
2439
- if (t.get(z.TIMEUNIT) && e.timeUnit && !V(e.timeUnit)) return no(e.timeUnit, n.get(z.TIMEUNIT));
2440
- if (t.get(z.BIN) && e.bin && !V(e.bin)) return "bin";
2437
+ if (t.get(R.AGGREGATE) && e.aggregate && !B(e.aggregate)) return no(e.aggregate, n.get(R.AGGREGATE));
2438
+ if (t.get(R.AGGREGATE) && mo(e)) return no("count", n.get(R.AGGREGATE));
2439
+ if (t.get(R.TIMEUNIT) && e.timeUnit && !B(e.timeUnit)) return no(e.timeUnit, n.get(R.TIMEUNIT));
2440
+ if (t.get(R.BIN) && e.bin && !B(e.bin)) return "bin";
2441
2441
  {
2442
2442
  let n = null;
2443
2443
  for (let r of [
2444
- z.AGGREGATE,
2445
- z.AUTOCOUNT,
2446
- z.TIMEUNIT,
2447
- z.BIN
2444
+ R.AGGREGATE,
2445
+ R.AUTOCOUNT,
2446
+ R.TIMEUNIT,
2447
+ R.BIN
2448
2448
  ]) {
2449
2449
  let i = e[r];
2450
- t.get(r) && e[r] && V(i) && (n ||= {}, n[r] = na(i) ? i : i.enum);
2450
+ t.get(r) && e[r] && B(i) && (n ||= {}, n[r] = ra(i) ? i : i.enum);
2451
2451
  }
2452
2452
  return n && e.hasFn && (n.hasFn = !0), n;
2453
2453
  }
2454
2454
  }
2455
2455
  function uo(e, t, n) {
2456
2456
  let r = [];
2457
- if (!(0, I.isBoolean)(e.bin) && !na(e.bin)) {
2457
+ if (!(0, F.isBoolean)(e.bin) && !ra(e.bin)) {
2458
2458
  let i = e.bin;
2459
2459
  for (let e in i) {
2460
- let a = wi("bin", e);
2460
+ let a = Ti("bin", e);
2461
2461
  a && t.get(a) && i[e] !== void 0 && r.push({
2462
2462
  key: e,
2463
2463
  value: to(i[e], n.get(a))
@@ -2466,25 +2466,25 @@ function uo(e, t, n) {
2466
2466
  r.sort((e, t) => e.key.localeCompare(t.key));
2467
2467
  }
2468
2468
  for (let i of [
2469
- z.SCALE,
2470
- z.SORT,
2471
- z.STACK,
2472
- z.AXIS,
2473
- z.LEGEND
2474
- ]) if (!(!V(e.channel) && !ao[i][e.channel]) && t.get(i) && e[i] !== void 0) {
2469
+ R.SCALE,
2470
+ R.SORT,
2471
+ R.STACK,
2472
+ R.AXIS,
2473
+ R.LEGEND
2474
+ ]) if (!(!B(e.channel) && !ao[i][e.channel]) && t.get(i) && e[i] !== void 0) {
2475
2475
  let a = e[i];
2476
- if ((0, I.isBoolean)(a) || a === null) r.push({
2476
+ if ((0, F.isBoolean)(a) || a === null) r.push({
2477
2477
  key: i + "",
2478
2478
  value: a || !1
2479
2479
  });
2480
- else if ((0, I.isString)(a)) r.push({
2480
+ else if ((0, F.isString)(a)) r.push({
2481
2481
  key: i + "",
2482
2482
  value: no(JSON.stringify(a), n.get(i))
2483
2483
  });
2484
2484
  else {
2485
2485
  let e = [];
2486
2486
  for (let r in a) {
2487
- let o = wi(i, r);
2487
+ let o = Ti(i, r);
2488
2488
  o && t.get(o) && a[r] !== void 0 && e.push({
2489
2489
  key: r,
2490
2490
  value: to(a[r], n.get(o))
@@ -2520,7 +2520,7 @@ var po;
2520
2520
  e.encoding = t;
2521
2521
  function n(e) {
2522
2522
  let t = {};
2523
- t.field = e[0], t.type = Ar(e[1].toUpperCase()) || "?";
2523
+ t.field = e[0], t.type = jr(e[1].toUpperCase()) || "?";
2524
2524
  let n = e[2], i = 0, a = 0;
2525
2525
  for (; a < n.length;) {
2526
2526
  let e = n.indexOf("=", a), o;
@@ -2538,7 +2538,7 @@ var po;
2538
2538
  let e = a, t = n.indexOf(",", a + s.length);
2539
2539
  t === -1 && (t = n.length), a = t + 1, o = JSON.parse(n.substring(e + s.length + 1, t));
2540
2540
  }
2541
- ui(s) ? t[s] = o : (t.bin = t.bin || {}, t.bin[s] = o);
2541
+ di(s) ? t[s] = o : (t.bin = t.bin || {}, t.bin[s] = o);
2542
2542
  } else break;
2543
2543
  }
2544
2544
  return t;
@@ -2552,13 +2552,13 @@ var po;
2552
2552
  let t = {};
2553
2553
  if (e[0] === "?") {
2554
2554
  let i = r(1, e, "}"), a = JSON.parse(e.substring(1, i + 1));
2555
- for (let e in a) t[e] = (0, I.isArray)(a[e]) ? { enum: a[e] } : a[e];
2555
+ for (let e in a) t[e] = (0, F.isArray)(a[e]) ? { enum: a[e] } : a[e];
2556
2556
  return Object.assign({}, t, n(fo(e.substring(i + 2, e.length - 1), ",", 2)));
2557
2557
  }
2558
2558
  {
2559
2559
  let t = e.substring(0, e.indexOf("(")), r = fo(e.substring(t.length + 1, e.length - 1), ",", 2);
2560
- if (va(t)) return Object.assign({ aggregate: t }, n(r));
2561
- if (Zi(t)) return Object.assign({ timeUnit: t }, n(r));
2560
+ if (ya(t)) return Object.assign({ aggregate: t }, n(r));
2561
+ if (Qi(t)) return Object.assign({ timeUnit: t }, n(r));
2562
2562
  if (t === "bin") return Object.assign({ bin: {} }, n(r));
2563
2563
  }
2564
2564
  }
@@ -2582,24 +2582,24 @@ function mo(e) {
2582
2582
  return K(e) && e.autoCount === !0;
2583
2583
  }
2584
2584
  var ho = [
2585
- z.AGGREGATE,
2586
- z.BIN,
2587
- z.TIMEUNIT,
2588
- z.FIELD,
2589
- z.TYPE,
2590
- z.SCALE,
2591
- z.SORT,
2592
- z.AXIS,
2593
- z.LEGEND,
2594
- z.STACK,
2595
- z.FORMAT
2585
+ R.AGGREGATE,
2586
+ R.BIN,
2587
+ R.TIMEUNIT,
2588
+ R.FIELD,
2589
+ R.TYPE,
2590
+ R.SCALE,
2591
+ R.SORT,
2592
+ R.AXIS,
2593
+ R.LEGEND,
2594
+ R.STACK,
2595
+ R.FORMAT
2596
2596
  ];
2597
2597
  function go(e, t) {
2598
2598
  let { wildcardMode: n = "skip" } = t, r = {};
2599
2599
  for (let n of e) {
2600
2600
  if (q(n)) continue;
2601
2601
  let { channel: e } = n;
2602
- if (V(e)) throw Error("Cannot convert wildcard channel to a fixed channel");
2602
+ if (B(e)) throw Error("Cannot convert wildcard channel to a fixed channel");
2603
2603
  let i = W(n) ? _o(n) : vo(n, t);
2604
2604
  if (i === null) {
2605
2605
  if (t.wildcardMode === "null") return null;
@@ -2611,7 +2611,7 @@ function go(e, t) {
2611
2611
  }
2612
2612
  function _o(e) {
2613
2613
  let { value: t } = e;
2614
- return V(t) ? null : { value: t };
2614
+ return B(t) ? null : { value: t };
2615
2615
  }
2616
2616
  function vo(e, t = {}) {
2617
2617
  let { props: n = ho, schema: r, wildcardMode: i = "skip" } = t;
@@ -2619,15 +2619,15 @@ function vo(e, t = {}) {
2619
2619
  let t = {};
2620
2620
  for (let a of n) {
2621
2621
  let n = e[a];
2622
- if (V(n)) {
2622
+ if (B(n)) {
2623
2623
  if (i === "skip") continue;
2624
2624
  return null;
2625
2625
  }
2626
2626
  if (n !== void 0) {
2627
2627
  if (!(!ao[a] || ao[a][e.channel])) continue;
2628
- if (ui(a) && (0, I.isObject)(n)) {
2628
+ if (di(a) && (0, F.isObject)(n)) {
2629
2629
  n = Object.assign({}, n);
2630
- for (let e in n) if (V(n[e])) {
2630
+ for (let e in n) if (B(n[e])) {
2631
2631
  if (i === "null") return null;
2632
2632
  delete n[e];
2633
2633
  }
@@ -2635,9 +2635,9 @@ function vo(e, t = {}) {
2635
2635
  if (a === "bin" && n === !1) continue;
2636
2636
  a === "type" && n === "key" ? t.type = "nominal" : t[a] = n;
2637
2637
  }
2638
- if (a === z.SCALE && r && e.type === "ordinal") {
2638
+ if (a === R.SCALE && r && e.type === "ordinal") {
2639
2639
  let n = e.scale, { ordinalDomain: i } = r.fieldSchema(e.field);
2640
- n !== null && i && (t[z.SCALE] = Object.assign({ domain: i }, (0, I.isObject)(n) ? n : {}));
2640
+ n !== null && i && (t[R.SCALE] = Object.assign({ domain: i }, (0, F.isObject)(n) ? n : {}));
2641
2641
  }
2642
2642
  }
2643
2643
  return t;
@@ -2659,21 +2659,21 @@ function bo(e) {
2659
2659
  "timeUnit",
2660
2660
  "type"
2661
2661
  ] });
2662
- return ka(t) || !!t.timeUnit;
2662
+ return Aa(t) || !!t.timeUnit;
2663
2663
  }
2664
2664
  return !1;
2665
2665
  }
2666
2666
  function xo(e) {
2667
2667
  let t = e.scale === !0 || e.scale === "?" ? {} : e.scale || {}, { type: n, channel: r, timeUnit: i, bin: a } = e;
2668
- if (V(t.type) || V(n) || V(r) || V(a)) return;
2668
+ if (B(t.type) || B(n) || B(r) || B(a)) return;
2669
2669
  if (t.type) return t.type;
2670
- if (n === "temporal" && V(i) || n === "quantitative" && V(a)) return;
2670
+ if (n === "temporal" && B(i) || n === "quantitative" && B(a)) return;
2671
2671
  let o = {
2672
- type: n === Ra.KEY ? "nominal" : n,
2672
+ type: n === H.KEY ? "nominal" : n,
2673
2673
  timeUnit: i,
2674
2674
  bin: a
2675
2675
  };
2676
- return Ia({ type: t.type }, r, o, void 0);
2676
+ return La({ type: t.type }, r, o, void 0);
2677
2677
  }
2678
2678
  //#endregion
2679
2679
  //#region ../node_modules/.pnpm/d3-time@0.1.1/node_modules/d3-time/src/interval.js
@@ -3077,7 +3077,7 @@ var ns, rs, is, as, os, ss, cs, ls = n((() => {
3077
3077
  }
3078
3078
  n.exports = m(u), n.exports.utc = m(d);
3079
3079
  })), Js = /* @__PURE__ */ i(((e, t) => {
3080
- var n = ei(), r = qs(), i = 1e-15;
3080
+ var n = ti(), r = qs(), i = 1e-15;
3081
3081
  function a(e) {
3082
3082
  if (!e) throw Error("Missing binning options.");
3083
3083
  var t = e.maxbins || 15, n = e.base || 10, r = Math.log(n), i = e.div || [5, 2], a = e.min, l = e.max, u = l - a, d, f, p, m, h, g, _;
@@ -3127,7 +3127,7 @@ var ns, rs, is, as, os, ss, cs, ls = n((() => {
3127
3127
  return f.unit = d, f.index = u, e.raw || (f.value = l), f;
3128
3128
  }, t.exports = a;
3129
3129
  })), Ys = /* @__PURE__ */ i(((e, t) => {
3130
- var n = ei(), r = "__types__", i = {
3130
+ var n = ti(), r = "__types__", i = {
3131
3131
  boolean: n.boolean,
3132
3132
  integer: n.number,
3133
3133
  number: n.number,
@@ -3196,7 +3196,7 @@ var ns, rs, is, as, os, ss, cs, ls = n((() => {
3196
3196
  }
3197
3197
  l.annotation = o, l.all = u, l.infer = d, l.inferAll = f, l.parsers = i, t.exports = l;
3198
3198
  })), Xs = /* @__PURE__ */ i(((e, t) => {
3199
- var n = ei(), r = t.exports;
3199
+ var n = ti(), r = t.exports;
3200
3200
  r.repeat = function(e, t) {
3201
3201
  var n = Array(t), r;
3202
3202
  for (r = 0; r < t; ++r) n[r] = e;
@@ -3275,7 +3275,7 @@ var ns, rs, is, as, os, ss, cs, ls = n((() => {
3275
3275
  }, s;
3276
3276
  };
3277
3277
  })), Zs = /* @__PURE__ */ i(((e, t) => {
3278
- var n = ei(), r = Ys(), i = Xs(), a = t.exports;
3278
+ var n = ti(), r = Ys(), i = Xs(), a = t.exports;
3279
3279
  a.unique = function(e, t, r) {
3280
3280
  t = n.$(t), r ||= [];
3281
3281
  var i = {}, a, o, s;
@@ -3516,19 +3516,19 @@ var ns, rs, is, as, os, ss, cs, ls = n((() => {
3516
3516
  };
3517
3517
  })), Qs = /* @__PURE__ */ e(Js()), $s = Ys(), ec = Zs(), tc = Qs.default;
3518
3518
  function nc(e, t = {}, n = { fields: [] }) {
3519
- t = (0, I.extend)({}, ma, t);
3519
+ t = (0, F.extend)({}, ha, t);
3520
3520
  let r = (0, ec.summary)(e), i = (0, $s.inferAll)(e), a = n.fields.reduce((e, t) => (e[t.name] = t, e), {}), o = r.map(function(n, r) {
3521
3521
  let o = n.field, s = i[o] === "date" ? X.DATETIME : i[o], c = n.distinct, l;
3522
- if (s === X.NUMBER) l = P;
3523
- else if (s === X.INTEGER) l = c < t.numberNominalLimit && c / n.count < t.numberNominalProportion ? Or : P;
3522
+ if (s === X.NUMBER) l = N;
3523
+ else if (s === X.INTEGER) l = c < t.numberNominalLimit && c / n.count < t.numberNominalProportion ? kr : N;
3524
3524
  else if (s === X.DATETIME) {
3525
- l = Dr, n.min = new Date(e[0][o]), n.max = new Date(e[0][o]);
3525
+ l = Or, n.min = new Date(e[0][o]), n.max = new Date(e[0][o]);
3526
3526
  for (let t of e) {
3527
3527
  let e = new Date(t[o]).getTime();
3528
3528
  e < n.min.getTime() && (n.min = new Date(e)), e > n.max.getTime() && (n.max = new Date(e));
3529
3529
  }
3530
- } else l = Or;
3531
- l === "nominal" && c / n.count > t.minPercentUniqueForKey && n.count > t.minCardinalityForKey && (l = Ra.KEY);
3530
+ } else l = kr;
3531
+ l === "nominal" && c / n.count > t.minPercentUniqueForKey && n.count > t.minCardinalityForKey && (l = H.KEY);
3532
3532
  let u = {
3533
3533
  name: o,
3534
3534
  originalIndex: r,
@@ -3538,7 +3538,7 @@ function nc(e, t = {}, n = { fields: [] }) {
3538
3538
  timeStats: {},
3539
3539
  binStats: {}
3540
3540
  }, d = a[u.name];
3541
- return u = (0, I.extend)(u, d), u;
3541
+ return u = (0, F.extend)(u, d), u;
3542
3542
  });
3543
3543
  for (let e of o) if (e.vlType === "quantitative") for (let n of t.enum.binProps.maxbins) e.binStats[n] = ac(n, e.stats);
3544
3544
  else if (e.vlType === "temporal") for (let n of t.enum.timeUnit) n !== void 0 && (e.timeStats[n] = oc(n, e.stats));
@@ -3566,7 +3566,7 @@ var rc = {
3566
3566
  return this._fieldSchemaIndex[e];
3567
3567
  }
3568
3568
  tableSchema() {
3569
- let e = (0, I.duplicate)(this._tableSchema);
3569
+ let e = (0, F.duplicate)(this._tableSchema);
3570
3570
  return e.fields.sort((e, t) => e.originalIndex - t.originalIndex), e;
3571
3571
  }
3572
3572
  primitiveType(e) {
@@ -3580,20 +3580,20 @@ var rc = {
3580
3580
  if (e.aggregate || K(e) && e.autoCount) return 1;
3581
3581
  if (e.bin) {
3582
3582
  let t;
3583
- t = typeof e.bin == "boolean" ? { maxbins: Ca(e.channel) } : e.bin === "?" ? { enum: [!0, !1] } : e.bin;
3583
+ t = typeof e.bin == "boolean" ? { maxbins: wa(e.channel) } : e.bin === "?" ? { enum: [!0, !1] } : e.bin;
3584
3584
  let n = t.maxbins;
3585
3585
  return r.binStats[n] || (r.binStats[n] = ac(n, r.stats)), r.binStats[n].distinct;
3586
3586
  }
3587
3587
  if (e.timeUnit) {
3588
3588
  if (t) switch (e.timeUnit) {
3589
- case B.SECONDS: return 60;
3590
- case B.MINUTES: return 60;
3591
- case B.HOURS: return 24;
3592
- case B.DAY: return 7;
3593
- case B.DATE: return 31;
3594
- case B.MONTH: return 12;
3595
- case B.QUARTER: return 4;
3596
- case B.MILLISECONDS: return 1e3;
3589
+ case z.SECONDS: return 60;
3590
+ case z.MINUTES: return 60;
3591
+ case z.HOURS: return 24;
3592
+ case z.DAY: return 7;
3593
+ case z.DATE: return 31;
3594
+ case z.MONTH: return 12;
3595
+ case z.QUARTER: return 4;
3596
+ case z.MILLISECONDS: return 1e3;
3597
3597
  }
3598
3598
  let i = e.timeUnit, a = r.timeStats;
3599
3599
  return (!a || !a[i]) && (a = Object.assign({}, a, { [i]: oc(e.timeUnit, r.stats) })), n ? a[i].distinct - cc(a[i].unique, ["Invalid Date", null]) : a[i].distinct;
@@ -3602,20 +3602,20 @@ var rc = {
3602
3602
  }
3603
3603
  timeUnitHasVariation(e) {
3604
3604
  if (!e.timeUnit) return;
3605
- if (e.timeUnit === B.DAY) {
3606
- let t = (0, I.extend)({}, e, { timeUnit: B.DATE });
3605
+ if (e.timeUnit === z.DAY) {
3606
+ let t = (0, F.extend)({}, e, { timeUnit: z.DATE });
3607
3607
  if (this.cardinality(t, !1, !0) <= 1) return !1;
3608
3608
  }
3609
3609
  let t = e.timeUnit;
3610
- for (let n of Hi) if (ta(t, n)) {
3611
- let t = (0, I.extend)({}, e, { timeUnit: n });
3610
+ for (let n of Ui) if (na(t, n)) {
3611
+ let t = (0, F.extend)({}, e, { timeUnit: n });
3612
3612
  if (this.cardinality(t, !1, !0) <= 1) return !1;
3613
3613
  }
3614
3614
  return !0;
3615
3615
  }
3616
3616
  domain(e) {
3617
- let t = this._fieldSchemaIndex[e.field], n = (0, I.keys)(t.stats.unique);
3618
- return t.vlType === "quantitative" ? [+t.stats.min, +t.stats.max] : t.type === X.DATETIME ? [t.stats.min, t.stats.max] : t.type === X.INTEGER || t.type === X.NUMBER ? (n = n.map((e) => +e), n.sort(I.cmp)) : t.vlType === "ordinal" && t.ordinalDomain ? t.ordinalDomain : n.map((e) => e === "null" ? null : e).sort(I.cmp);
3617
+ let t = this._fieldSchemaIndex[e.field], n = (0, F.keys)(t.stats.unique);
3618
+ return t.vlType === "quantitative" ? [+t.stats.min, +t.stats.max] : t.type === X.DATETIME ? [t.stats.min, t.stats.max] : t.type === X.INTEGER || t.type === X.NUMBER ? (n = n.map((e) => +e), n.sort(F.cmp)) : t.vlType === "ordinal" && t.ordinalDomain ? t.ordinalDomain : n.map((e) => e === "null" ? null : e).sort(F.cmp);
3619
3619
  }
3620
3620
  stats(e) {
3621
3621
  let t = this._fieldSchemaIndex[e.field];
@@ -3627,15 +3627,15 @@ function ac(e, t) {
3627
3627
  min: t.min,
3628
3628
  max: t.max,
3629
3629
  maxbins: e
3630
- }), r = (0, I.extend)({}, t);
3630
+ }), r = (0, F.extend)({}, t);
3631
3631
  return r.unique = sc(n, t.unique), r.distinct = (n.stop - n.start) / n.step, r.min = n.start, r.max = n.stop, r;
3632
3632
  }
3633
3633
  function oc(e, t) {
3634
- let n = (0, I.extend)({}, t), r = {};
3635
- return (0, I.keys)(t.unique).forEach(function(n) {
3634
+ let n = (0, F.extend)({}, t), r = {};
3635
+ return (0, F.keys)(t.unique).forEach(function(n) {
3636
3636
  let i = n === "null" ? null : new Date(n), a;
3637
- a = i === null ? null : isNaN(i.getTime()) ? "Invalid Date" : (e === B.DAY ? i.getDay() : $i(e, i)).toString(), r[a] = (r[a] || 0) + t.unique[n];
3638
- }), n.unique = r, n.distinct = (0, I.keys)(r).length, n;
3637
+ a = i === null ? null : isNaN(i.getTime()) ? "Invalid Date" : (e === z.DAY ? i.getDay() : ea(e, i)).toString(), r[a] = (r[a] || 0) + t.unique[n];
3638
+ }), n.unique = r, n.distinct = (0, F.keys)(r).length, n;
3639
3639
  }
3640
3640
  function sc(e, t) {
3641
3641
  let n = {};
@@ -3677,12 +3677,12 @@ var lc = class {
3677
3677
  super(e);
3678
3678
  }
3679
3679
  hasAllRequiredPropertiesSpecific(e) {
3680
- return ti(this.constraint.properties, (t) => {
3681
- if (ai(t)) {
3680
+ return ni(this.constraint.properties, (t) => {
3681
+ if (oi(t)) {
3682
3682
  let n = t.parent, r = t.child;
3683
- return !e[n] || !V(e[n][r]);
3683
+ return !e[n] || !B(e[n][r]);
3684
3684
  }
3685
- return !e[t] || !V(e[t]);
3685
+ return !e[t] || !B(e[t]);
3686
3686
  });
3687
3687
  }
3688
3688
  satisfy(e, t, n, r) {
@@ -3692,7 +3692,7 @@ var lc = class {
3692
3692
  {
3693
3693
  name: "aggregateOpSupportedByType",
3694
3694
  description: "Aggregate function should be supported by data type.",
3695
- properties: [z.TYPE, z.AGGREGATE],
3695
+ properties: [R.TYPE, R.AGGREGATE],
3696
3696
  allowWildcardForProperties: !1,
3697
3697
  strict: !0,
3698
3698
  satisfy: (e, t, n, r) => !e.aggregate || !za(e.type)
@@ -3700,7 +3700,7 @@ var lc = class {
3700
3700
  {
3701
3701
  name: "asteriskFieldWithCountOnly",
3702
3702
  description: "Field=\"*\" should be disallowed except aggregate=\"count\"",
3703
- properties: [z.FIELD, z.AGGREGATE],
3703
+ properties: [R.FIELD, R.AGGREGATE],
3704
3704
  allowWildcardForProperties: !1,
3705
3705
  strict: !0,
3706
3706
  satisfy: (e, t, n, r) => e.field === "*" == (e.aggregate === "count")
@@ -3709,9 +3709,9 @@ var lc = class {
3709
3709
  name: "minCardinalityForBin",
3710
3710
  description: "binned quantitative field should not have too low cardinality",
3711
3711
  properties: [
3712
- z.BIN,
3713
- z.FIELD,
3714
- z.TYPE
3712
+ R.BIN,
3713
+ R.FIELD,
3714
+ R.TYPE
3715
3715
  ],
3716
3716
  allowWildcardForProperties: !1,
3717
3717
  strict: !0,
@@ -3730,19 +3730,19 @@ var lc = class {
3730
3730
  {
3731
3731
  name: "binAppliedForQuantitative",
3732
3732
  description: "bin should be applied to quantitative field only.",
3733
- properties: [z.TYPE, z.BIN],
3733
+ properties: [R.TYPE, R.BIN],
3734
3734
  allowWildcardForProperties: !1,
3735
3735
  strict: !0,
3736
- satisfy: (e, t, n, r) => !e.bin || e.type === P
3736
+ satisfy: (e, t, n, r) => !e.bin || e.type === N
3737
3737
  },
3738
3738
  {
3739
3739
  name: "channelFieldCompatible",
3740
3740
  description: "encoding channel's range type be compatible with channel type.",
3741
3741
  properties: [
3742
- z.CHANNEL,
3743
- z.TYPE,
3744
- z.BIN,
3745
- z.TIMEUNIT
3742
+ R.CHANNEL,
3743
+ R.TYPE,
3744
+ R.BIN,
3745
+ R.TIMEUNIT
3746
3746
  ],
3747
3747
  allowWildcardForProperties: !1,
3748
3748
  strict: !0,
@@ -3754,17 +3754,17 @@ var lc = class {
3754
3754
  "timeUnit",
3755
3755
  "type"
3756
3756
  ]
3757
- })), { compatible: a } = Fa(i, e.channel);
3758
- return a ? !0 : !!((e.channel === "row" || e.channel === "column") && (Ui(i.timeUnit) || Gi(i.timeUnit)));
3757
+ })), { compatible: a } = Ia(i, e.channel);
3758
+ return a ? !0 : !!((e.channel === "row" || e.channel === "column") && (Wi(i.timeUnit) || Ki(i.timeUnit)));
3759
3759
  }
3760
3760
  },
3761
3761
  {
3762
3762
  name: "hasFn",
3763
3763
  description: "A field with as hasFn flag should have one of aggregate, timeUnit, or bin.",
3764
3764
  properties: [
3765
- z.AGGREGATE,
3766
- z.BIN,
3767
- z.TIMEUNIT
3765
+ R.AGGREGATE,
3766
+ R.BIN,
3767
+ R.TIMEUNIT
3768
3768
  ],
3769
3769
  allowWildcardForProperties: !0,
3770
3770
  strict: !0,
@@ -3774,9 +3774,9 @@ var lc = class {
3774
3774
  name: "omitScaleZeroWithBinnedField",
3775
3775
  description: "Do not use scale zero with binned field",
3776
3776
  properties: [
3777
- z.SCALE,
3778
- wi("scale", "zero"),
3779
- z.BIN
3777
+ R.SCALE,
3778
+ Ti("scale", "zero"),
3779
+ R.BIN
3780
3780
  ],
3781
3781
  allowWildcardForProperties: !1,
3782
3782
  strict: !0,
@@ -3786,19 +3786,19 @@ var lc = class {
3786
3786
  name: "onlyOneTypeOfFunction",
3787
3787
  description: "Only of of aggregate, autoCount, timeUnit, or bin should be applied at the same time.",
3788
3788
  properties: [
3789
- z.AGGREGATE,
3790
- z.AUTOCOUNT,
3791
- z.TIMEUNIT,
3792
- z.BIN
3789
+ R.AGGREGATE,
3790
+ R.AUTOCOUNT,
3791
+ R.TIMEUNIT,
3792
+ R.BIN
3793
3793
  ],
3794
3794
  allowWildcardForProperties: !0,
3795
3795
  strict: !0,
3796
- satisfy: (e, t, n, r) => !G(e) || (!V(e.aggregate) && e.aggregate ? 1 : 0) + (!V(e.bin) && e.bin ? 1 : 0) + (!V(e.timeUnit) && e.timeUnit ? 1 : 0) <= 1
3796
+ satisfy: (e, t, n, r) => !G(e) || (!B(e.aggregate) && e.aggregate ? 1 : 0) + (!B(e.bin) && e.bin ? 1 : 0) + (!B(e.timeUnit) && e.timeUnit ? 1 : 0) <= 1
3797
3797
  },
3798
3798
  {
3799
3799
  name: "timeUnitAppliedForTemporal",
3800
3800
  description: "Time unit should be applied to temporal field only.",
3801
- properties: [z.TYPE, z.TIMEUNIT],
3801
+ properties: [R.TYPE, R.TIMEUNIT],
3802
3802
  allowWildcardForProperties: !1,
3803
3803
  strict: !0,
3804
3804
  satisfy: (e, t, n, r) => !(e.timeUnit && e.type !== "temporal")
@@ -3806,7 +3806,7 @@ var lc = class {
3806
3806
  {
3807
3807
  name: "timeUnitShouldHaveVariation",
3808
3808
  description: "A particular time unit should be applied only if they produce unique values.",
3809
- properties: [z.TIMEUNIT, z.TYPE],
3809
+ properties: [R.TIMEUNIT, R.TYPE],
3810
3810
  allowWildcardForProperties: !1,
3811
3811
  strict: !1,
3812
3812
  satisfy: (e, t, n, r) => e.timeUnit && e.type === "temporal" ? !n.has("timeUnit") && !r.constraintManuallySpecifiedValue || t.timeUnitHasVariation(e) : !0
@@ -3814,7 +3814,7 @@ var lc = class {
3814
3814
  {
3815
3815
  name: "scalePropertiesSupportedByScaleType",
3816
3816
  description: "Scale properties must be supported by correct scale type",
3817
- properties: [].concat(hi, [z.SCALE, z.TYPE]),
3817
+ properties: [].concat(gi, [R.SCALE, R.TYPE]),
3818
3818
  allowWildcardForProperties: !0,
3819
3819
  strict: !0,
3820
3820
  satisfy: (e, t, n, r) => {
@@ -3825,8 +3825,8 @@ var lc = class {
3825
3825
  if (e === "type" || e === "name" || e === "enum") continue;
3826
3826
  let t = e;
3827
3827
  if (n === "point") {
3828
- if (!Jr("point", t) && !Jr("band", t)) return !1;
3829
- } else if (!Jr(n, t)) return !1;
3828
+ if (!Yr("point", t) && !Yr("band", t)) return !1;
3829
+ } else if (!Yr(n, t)) return !1;
3830
3830
  }
3831
3831
  }
3832
3832
  return !0;
@@ -3835,15 +3835,15 @@ var lc = class {
3835
3835
  {
3836
3836
  name: "scalePropertiesSupportedByChannel",
3837
3837
  description: "Not all scale properties are supported by all encoding channels",
3838
- properties: [].concat(hi, [z.SCALE, z.CHANNEL]),
3838
+ properties: [].concat(gi, [R.SCALE, R.CHANNEL]),
3839
3839
  allowWildcardForProperties: !0,
3840
3840
  strict: !0,
3841
3841
  satisfy: (e, t, n, r) => {
3842
3842
  if (e) {
3843
3843
  let t = e.channel, n = e.scale;
3844
- if (t && !V(t) && n) {
3844
+ if (t && !B(t) && n) {
3845
3845
  if (t === "row" || t === "column") return !1;
3846
- for (let e in n) if (n.hasOwnProperty(e) && e !== "type" && e !== "name" && e !== "enum" && Yr(t, e) !== void 0) return !1;
3846
+ for (let e in n) if (n.hasOwnProperty(e) && e !== "type" && e !== "name" && e !== "enum" && Xr(t, e) !== void 0) return !1;
3847
3847
  }
3848
3848
  }
3849
3849
  return !0;
@@ -3852,7 +3852,7 @@ var lc = class {
3852
3852
  {
3853
3853
  name: "typeMatchesPrimitiveType",
3854
3854
  description: "Data type should be supported by field's primitive type.",
3855
- properties: [z.FIELD, z.TYPE],
3855
+ properties: [R.FIELD, R.TYPE],
3856
3856
  allowWildcardForProperties: !1,
3857
3857
  strict: !0,
3858
3858
  satisfy: (e, t, n, r) => {
@@ -3863,8 +3863,8 @@ var lc = class {
3863
3863
  case X.BOOLEAN:
3864
3864
  case X.STRING: return a !== "quantitative" && a !== "temporal";
3865
3865
  case X.NUMBER:
3866
- case X.INTEGER: return a !== Dr;
3867
- case X.DATETIME: return a === Dr;
3866
+ case X.INTEGER: return a !== Or;
3867
+ case X.DATETIME: return a === Or;
3868
3868
  case null: return !1;
3869
3869
  }
3870
3870
  throw Error("Not implemented");
@@ -3873,27 +3873,27 @@ var lc = class {
3873
3873
  {
3874
3874
  name: "typeMatchesSchemaType",
3875
3875
  description: "Enumerated data type of a field should match the field's type in the schema.",
3876
- properties: [z.FIELD, z.TYPE],
3876
+ properties: [R.FIELD, R.TYPE],
3877
3877
  allowWildcardForProperties: !1,
3878
3878
  strict: !1,
3879
- satisfy: (e, t, n, r) => !n.has("field") && !n.has("type") && !r.constraintManuallySpecifiedValue ? !0 : e.field === "*" ? e.type === P : t.vlType(e.field) === e.type
3879
+ satisfy: (e, t, n, r) => !n.has("field") && !n.has("type") && !r.constraintManuallySpecifiedValue ? !0 : e.field === "*" ? e.type === N : t.vlType(e.field) === e.type
3880
3880
  },
3881
3881
  {
3882
3882
  name: "maxCardinalityForCategoricalColor",
3883
3883
  description: "Categorical channel should not have too high cardinality",
3884
- properties: [z.CHANNEL, z.FIELD],
3884
+ properties: [R.CHANNEL, R.FIELD],
3885
3885
  allowWildcardForProperties: !1,
3886
3886
  strict: !1,
3887
- satisfy: (e, t, n, r) => e.channel === "color" && (e.type === "nominal" || e.type === Ra.KEY) ? t.cardinality(e) <= r.maxCardinalityForCategoricalColor : !0
3887
+ satisfy: (e, t, n, r) => e.channel === "color" && (e.type === "nominal" || e.type === H.KEY) ? t.cardinality(e) <= r.maxCardinalityForCategoricalColor : !0
3888
3888
  },
3889
3889
  {
3890
3890
  name: "maxCardinalityForFacet",
3891
3891
  description: "Row/column channel should not have too high cardinality",
3892
3892
  properties: [
3893
- z.CHANNEL,
3894
- z.FIELD,
3895
- z.BIN,
3896
- z.TIMEUNIT
3893
+ R.CHANNEL,
3894
+ R.FIELD,
3895
+ R.BIN,
3896
+ R.TIMEUNIT
3897
3897
  ],
3898
3898
  allowWildcardForProperties: !1,
3899
3899
  strict: !1,
@@ -3903,10 +3903,10 @@ var lc = class {
3903
3903
  name: "maxCardinalityForShape",
3904
3904
  description: "Shape channel should not have too high cardinality",
3905
3905
  properties: [
3906
- z.CHANNEL,
3907
- z.FIELD,
3908
- z.BIN,
3909
- z.TIMEUNIT
3906
+ R.CHANNEL,
3907
+ R.FIELD,
3908
+ R.BIN,
3909
+ R.TIMEUNIT
3910
3910
  ],
3911
3911
  allowWildcardForProperties: !1,
3912
3912
  strict: !1,
@@ -3916,34 +3916,34 @@ var lc = class {
3916
3916
  name: "dataTypeAndFunctionMatchScaleType",
3917
3917
  description: "Scale type must match data type",
3918
3918
  properties: [
3919
- z.TYPE,
3920
- z.SCALE,
3921
- wi("scale", "type"),
3922
- z.TIMEUNIT,
3923
- z.BIN
3919
+ R.TYPE,
3920
+ R.SCALE,
3921
+ Ti("scale", "type"),
3922
+ R.TIMEUNIT,
3923
+ R.BIN
3924
3924
  ],
3925
3925
  allowWildcardForProperties: !1,
3926
3926
  strict: !0,
3927
3927
  satisfy: (e, t, n, r) => {
3928
3928
  if (e.scale) {
3929
3929
  let t = e.type, n = xo(e);
3930
- if (za(t)) return n === void 0 || Lr(n);
3931
- if (t === "temporal") return e.timeUnit ? L([
3932
- F.TIME,
3933
- F.UTC,
3930
+ if (za(t)) return n === void 0 || Rr(n);
3931
+ if (t === "temporal") return e.timeUnit ? I([
3932
+ P.TIME,
3933
+ P.UTC,
3934
3934
  void 0
3935
- ], n) || Lr(n) : L([
3936
- F.TIME,
3937
- F.UTC,
3935
+ ], n) || Rr(n) : I([
3936
+ P.TIME,
3937
+ P.UTC,
3938
3938
  void 0
3939
3939
  ], n);
3940
- if (t === "quantitative") return e.bin ? L([F.LINEAR, void 0], n) : L([
3941
- F.LOG,
3942
- F.POW,
3943
- F.SQRT,
3944
- F.QUANTILE,
3945
- F.QUANTIZE,
3946
- F.LINEAR,
3940
+ if (t === "quantitative") return e.bin ? I([P.LINEAR, void 0], n) : I([
3941
+ P.LOG,
3942
+ P.POW,
3943
+ P.SQRT,
3944
+ P.QUANTILE,
3945
+ P.QUANTIZE,
3946
+ P.LINEAR,
3947
3947
  void 0
3948
3948
  ], n);
3949
3949
  }
@@ -3953,7 +3953,7 @@ var lc = class {
3953
3953
  {
3954
3954
  name: "stackIsOnlyUsedWithXY",
3955
3955
  description: "stack should only be allowed for x and y channels",
3956
- properties: [z.STACK, z.CHANNEL],
3956
+ properties: [R.STACK, R.CHANNEL],
3957
3957
  allowWildcardForProperties: !1,
3958
3958
  strict: !0,
3959
3959
  satisfy: (e, t, n, r) => !e.stack || e.channel === "x" || e.channel === "y"
@@ -3966,10 +3966,10 @@ var fc = dc.reduce((e, t) => {
3966
3966
  }, new U()), pc = [{
3967
3967
  name: "doesNotSupportConstantValue",
3968
3968
  description: "row, column, x, y, order, and detail should not work with constant values.",
3969
- properties: [z.TYPE, z.AGGREGATE],
3969
+ properties: [R.TYPE, R.AGGREGATE],
3970
3970
  allowWildcardForProperties: !1,
3971
3971
  strict: !0,
3972
- satisfy: (e, t, n, r) => !L([
3972
+ satisfy: (e, t, n, r) => !I([
3973
3973
  "row",
3974
3974
  "column",
3975
3975
  "x",
@@ -4000,19 +4000,19 @@ function hc(e, t, n, r, i, a) {
4000
4000
  }
4001
4001
  //#endregion
4002
4002
  //#region ../node_modules/.pnpm/compassql@0.21.2_vega@6.2.0/node_modules/compassql/build/src/constraint/spec.js
4003
- var gc = Rt.reduce((e, t) => (e[t] = !0, e), {}), _c = class extends lc {
4003
+ var gc = zt.reduce((e, t) => (e[t] = !0, e), {}), _c = class extends lc {
4004
4004
  constructor(e) {
4005
4005
  super(e);
4006
4006
  }
4007
4007
  hasAllRequiredPropertiesSpecific(e) {
4008
- return ti(this.constraint.properties, (t) => {
4009
- if (t === z.MARK) return !V(e.getMark());
4010
- if (ai(t)) {
4008
+ return ni(this.constraint.properties, (t) => {
4009
+ if (t === R.MARK) return !B(e.getMark());
4010
+ if (oi(t)) {
4011
4011
  let n = t.parent, r = t.child;
4012
- return ti(e.getEncodings(), (e) => !e[n] || !V(e[n][r]));
4012
+ return ni(e.getEncodings(), (e) => !e[n] || !B(e[n][r]));
4013
4013
  }
4014
- if (!Ti(t)) throw Error("UNIMPLEMENTED");
4015
- return ti(e.getEncodings(), (e) => !e[t] || !V(e[t]));
4014
+ if (!Ei(t)) throw Error("UNIMPLEMENTED");
4015
+ return ni(e.getEncodings(), (e) => !e[t] || !B(e[t]));
4016
4016
  });
4017
4017
  }
4018
4018
  satisfy(e, t, n) {
@@ -4022,23 +4022,23 @@ var gc = Rt.reduce((e, t) => (e[t] = !0, e), {}), _c = class extends lc {
4022
4022
  {
4023
4023
  name: "noRepeatedChannel",
4024
4024
  description: "Each encoding channel should only be used once.",
4025
- properties: [z.CHANNEL],
4025
+ properties: [R.CHANNEL],
4026
4026
  allowWildcardForProperties: !0,
4027
4027
  strict: !0,
4028
4028
  satisfy: (e, t, n) => {
4029
4029
  let r = {};
4030
- return ti(e.getEncodings(), (e) => V(e.channel) ? !0 : !r[e.channel] && (r[e.channel] = !0, !0));
4030
+ return ni(e.getEncodings(), (e) => B(e.channel) ? !0 : !r[e.channel] && (r[e.channel] = !0, !0));
4031
4031
  }
4032
4032
  },
4033
4033
  {
4034
4034
  name: "alwaysIncludeZeroInScaleWithBarMark",
4035
4035
  description: "Do not recommend bar mark if scale does not start at zero",
4036
4036
  properties: [
4037
- z.MARK,
4038
- z.SCALE,
4039
- wi("scale", "zero"),
4040
- z.CHANNEL,
4041
- z.TYPE
4037
+ R.MARK,
4038
+ R.SCALE,
4039
+ Ti("scale", "zero"),
4040
+ R.CHANNEL,
4041
+ R.TYPE
4042
4042
  ],
4043
4043
  allowWildcardForProperties: !1,
4044
4044
  strict: !0,
@@ -4054,59 +4054,59 @@ var gc = Rt.reduce((e, t) => (e[t] = !0, e), {}), _c = class extends lc {
4054
4054
  name: "autoAddCount",
4055
4055
  description: "Automatically adding count only for plots with only ordinal, binned quantitative, or temporal with timeunit fields.",
4056
4056
  properties: [
4057
- z.BIN,
4058
- z.TIMEUNIT,
4059
- z.TYPE,
4060
- z.AUTOCOUNT
4057
+ R.BIN,
4058
+ R.TIMEUNIT,
4059
+ R.TYPE,
4060
+ R.AUTOCOUNT
4061
4061
  ],
4062
4062
  allowWildcardForProperties: !0,
4063
4063
  strict: !1,
4064
- satisfy: (e, t, n) => ni(e.getEncodings(), (e) => mo(e)) ? ti(e.getEncodings(), (e) => {
4064
+ satisfy: (e, t, n) => ri(e.getEncodings(), (e) => mo(e)) ? ni(e.getEncodings(), (e) => {
4065
4065
  if (W(e) || K(e)) return !0;
4066
4066
  switch (e.type) {
4067
- case P: return !!e.bin;
4068
- case Dr: return !!e.timeUnit;
4069
- case Er:
4070
- case Ra.KEY:
4071
- case Or: return !0;
4067
+ case N: return !!e.bin;
4068
+ case Or: return !!e.timeUnit;
4069
+ case Dr:
4070
+ case H.KEY:
4071
+ case kr: return !0;
4072
4072
  }
4073
4073
  /* istanbul ignore next */
4074
4074
  throw Error("Unsupported Type");
4075
- }) : !ti(e.wildcardIndex.encodingIndicesByProperty.get("autoCount") || [], (t) => {
4075
+ }) : !ni(e.wildcardIndex.encodingIndicesByProperty.get("autoCount") || [], (t) => {
4076
4076
  let n = e.getEncodingQueryByIndex(t);
4077
- return K(n) && !V(n.autoCount);
4078
- }) || ni(e.getEncodings(), (e) => (G(e) || K(e)) && e.type === "quantitative" ? !q(e) && G(e) && (!e.bin || V(e.bin)) : G(e) && e.type === "temporal" ? !e.timeUnit || V(e.timeUnit) : !1)
4077
+ return K(n) && !B(n.autoCount);
4078
+ }) || ri(e.getEncodings(), (e) => (G(e) || K(e)) && e.type === "quantitative" ? !q(e) && G(e) && (!e.bin || B(e.bin)) : G(e) && e.type === "temporal" ? !e.timeUnit || B(e.timeUnit) : !1)
4079
4079
  },
4080
4080
  {
4081
4081
  name: "channelPermittedByMarkType",
4082
4082
  description: "Each encoding channel should be supported by the mark type",
4083
- properties: [z.CHANNEL, z.MARK],
4083
+ properties: [R.CHANNEL, R.MARK],
4084
4084
  allowWildcardForProperties: !0,
4085
4085
  strict: !0,
4086
4086
  satisfy: (e, t, n) => {
4087
4087
  let r = e.getMark();
4088
- return V(r) ? !0 : ti(e.getEncodings(), (e) => V(e.channel) ? !0 : !!Yt(e.channel, r));
4088
+ return B(r) ? !0 : ni(e.getEncodings(), (e) => B(e.channel) ? !0 : !!Xt(e.channel, r));
4089
4089
  }
4090
4090
  },
4091
4091
  {
4092
4092
  name: "hasAllRequiredChannelsForMark",
4093
4093
  description: "All required channels for the specified mark should be specified",
4094
- properties: [z.CHANNEL, z.MARK],
4094
+ properties: [R.CHANNEL, R.MARK],
4095
4095
  allowWildcardForProperties: !1,
4096
4096
  strict: !0,
4097
4097
  satisfy: (e, t, n) => {
4098
4098
  let r = e.getMark();
4099
4099
  switch (r) {
4100
- case Oi:
4101
- case ki: return e.channelUsed("x") && e.channelUsed("y");
4102
- case Ni: return e.channelUsed(ct);
4100
+ case ki:
4101
+ case Ai: return e.channelUsed("x") && e.channelUsed("y");
4102
+ case Pi: return e.channelUsed(lt);
4103
4103
  case "bar":
4104
- case Fi:
4105
4104
  case Ii:
4106
- case Pi:
4107
- case Mi:
4108
- case ji: return e.channelUsed("x") || e.channelUsed("y");
4109
- case Ai: return !e.wildcardIndex.hasProperty(z.CHANNEL) || e.channelUsed("x") || e.channelUsed("y");
4105
+ case Li:
4106
+ case Fi:
4107
+ case Ni:
4108
+ case Mi: return e.channelUsed("x") || e.channelUsed("y");
4109
+ case ji: return !e.wildcardIndex.hasProperty(R.CHANNEL) || e.channelUsed("x") || e.channelUsed("y");
4110
4110
  }
4111
4111
  /* istanbul ignore next */
4112
4112
  throw Error("hasAllRequiredChannelsForMark not implemented for mark" + JSON.stringify(r));
@@ -4115,7 +4115,7 @@ var gc = Rt.reduce((e, t) => (e[t] = !0, e), {}), _c = class extends lc {
4115
4115
  {
4116
4116
  name: "omitAggregate",
4117
4117
  description: "Omit aggregate plots.",
4118
- properties: [z.AGGREGATE, z.AUTOCOUNT],
4118
+ properties: [R.AGGREGATE, R.AUTOCOUNT],
4119
4119
  allowWildcardForProperties: !0,
4120
4120
  strict: !1,
4121
4121
  satisfy: (e, t, n) => !e.isAggregate()
@@ -4124,9 +4124,9 @@ var gc = Rt.reduce((e, t) => (e[t] = !0, e), {}), _c = class extends lc {
4124
4124
  name: "omitAggregatePlotWithDimensionOnlyOnFacet",
4125
4125
  description: "Omit aggregate plots with dimensions only on facets as that leads to inefficient use of space.",
4126
4126
  properties: [
4127
- z.CHANNEL,
4128
- z.AGGREGATE,
4129
- z.AUTOCOUNT
4127
+ R.CHANNEL,
4128
+ R.AGGREGATE,
4129
+ R.AUTOCOUNT
4130
4130
  ],
4131
4131
  allowWildcardForProperties: !1,
4132
4132
  strict: !1,
@@ -4134,7 +4134,7 @@ var gc = Rt.reduce((e, t) => (e[t] = !0, e), {}), _c = class extends lc {
4134
4134
  if (e.isAggregate()) {
4135
4135
  let t = !1, r = !1, i = !1;
4136
4136
  if (e.specQuery.encodings.forEach((n, a) => {
4137
- W(n) || q(n) || G(n) && !n.aggregate && (r = !0, L(["row", "column"], n.channel) ? e.wildcardIndex.hasEncodingProperty(a, z.CHANNEL) && (i = !0) : t = !0);
4137
+ W(n) || q(n) || G(n) && !n.aggregate && (r = !0, I(["row", "column"], n.channel) ? e.wildcardIndex.hasEncodingProperty(a, R.CHANNEL) && (i = !0) : t = !0);
4138
4138
  }), r && !t && (i || n.constraintManuallySpecifiedValue)) return !1;
4139
4139
  }
4140
4140
  return !0;
@@ -4144,27 +4144,27 @@ var gc = Rt.reduce((e, t) => (e[t] = !0, e), {}), _c = class extends lc {
4144
4144
  name: "omitAggregatePlotWithoutDimension",
4145
4145
  description: "Aggregate plots without dimension should be omitted",
4146
4146
  properties: [
4147
- z.AGGREGATE,
4148
- z.AUTOCOUNT,
4149
- z.BIN,
4150
- z.TIMEUNIT,
4151
- z.TYPE
4147
+ R.AGGREGATE,
4148
+ R.AUTOCOUNT,
4149
+ R.BIN,
4150
+ R.TIMEUNIT,
4151
+ R.TYPE
4152
4152
  ],
4153
4153
  allowWildcardForProperties: !1,
4154
4154
  strict: !1,
4155
- satisfy: (e, t, n) => !e.isAggregate() || ni(e.getEncodings(), (e) => !!(bo(e) || G(e) && e.type === "temporal"))
4155
+ satisfy: (e, t, n) => !e.isAggregate() || ri(e.getEncodings(), (e) => !!(bo(e) || G(e) && e.type === "temporal"))
4156
4156
  },
4157
4157
  {
4158
4158
  name: "omitBarLineAreaWithOcclusion",
4159
4159
  description: "Don't use bar, line or area to visualize raw plot as they often lead to occlusion.",
4160
4160
  properties: [
4161
- z.MARK,
4162
- z.AGGREGATE,
4163
- z.AUTOCOUNT
4161
+ R.MARK,
4162
+ R.AGGREGATE,
4163
+ R.AUTOCOUNT
4164
4164
  ],
4165
4165
  allowWildcardForProperties: !1,
4166
4166
  strict: !1,
4167
- satisfy: (e, t, n) => !L([
4167
+ satisfy: (e, t, n) => !I([
4168
4168
  "bar",
4169
4169
  "line",
4170
4170
  "area"
@@ -4173,15 +4173,15 @@ var gc = Rt.reduce((e, t) => (e[t] = !0, e), {}), _c = class extends lc {
4173
4173
  {
4174
4174
  name: "omitBarTickWithSize",
4175
4175
  description: "Do not map field to size channel with bar and tick mark",
4176
- properties: [z.CHANNEL, z.MARK],
4176
+ properties: [R.CHANNEL, R.MARK],
4177
4177
  allowWildcardForProperties: !0,
4178
4178
  strict: !1,
4179
4179
  satisfy: (e, t, n) => {
4180
- if (L(["tick", "bar"], e.getMark()) && e.channelEncodingField("size")) {
4180
+ if (I(["tick", "bar"], e.getMark()) && e.channelEncodingField("size")) {
4181
4181
  if (n.constraintManuallySpecifiedValue) return !1;
4182
4182
  {
4183
4183
  let t = e.specQuery.encodings;
4184
- for (let n = 0; n < t.length; n++) if (t[n].channel === "size") return !e.wildcardIndex.hasEncodingProperty(n, z.CHANNEL);
4184
+ for (let n = 0; n < t.length; n++) if (t[n].channel === "size") return !e.wildcardIndex.hasEncodingProperty(n, R.CHANNEL);
4185
4185
  }
4186
4186
  }
4187
4187
  return !0;
@@ -4191,18 +4191,18 @@ var gc = Rt.reduce((e, t) => (e[t] = !0, e), {}), _c = class extends lc {
4191
4191
  name: "omitBarAreaForLogScale",
4192
4192
  description: "Do not use bar and area mark for x and y's log scale",
4193
4193
  properties: [
4194
- z.MARK,
4195
- z.CHANNEL,
4196
- z.SCALE,
4197
- wi("scale", "type"),
4198
- z.TYPE
4194
+ R.MARK,
4195
+ R.CHANNEL,
4196
+ R.SCALE,
4197
+ Ti("scale", "type"),
4198
+ R.TYPE
4199
4199
  ],
4200
4200
  allowWildcardForProperties: !1,
4201
4201
  strict: !0,
4202
4202
  satisfy: (e, t, n) => {
4203
4203
  let r = e.getMark(), i = e.getEncodings();
4204
4204
  if (r === "area" || r === "bar") {
4205
- for (let e of i) if (G(e) && (e.channel === "x" || e.channel === "y") && e.scale && xo(e) === F.LOG) return !1;
4205
+ for (let e of i) if (G(e) && (e.channel === "x" || e.channel === "y") && e.scale && xo(e) === P.LOG) return !1;
4206
4206
  }
4207
4207
  return !0;
4208
4208
  }
@@ -4210,7 +4210,7 @@ var gc = Rt.reduce((e, t) => (e[t] = !0, e), {}), _c = class extends lc {
4210
4210
  {
4211
4211
  name: "omitMultipleNonPositionalChannels",
4212
4212
  description: "Unless manually specified, do not use multiple non-positional encoding channel to avoid over-encoding.",
4213
- properties: [z.CHANNEL],
4213
+ properties: [R.CHANNEL],
4214
4214
  allowWildcardForProperties: !0,
4215
4215
  strict: !1,
4216
4216
  satisfy: (e, t, n) => {
@@ -4219,7 +4219,7 @@ var gc = Rt.reduce((e, t) => (e[t] = !0, e), {}), _c = class extends lc {
4219
4219
  let o = r[t];
4220
4220
  if (W(o) || q(o)) continue;
4221
4221
  let s = o.channel;
4222
- if (!V(s) && gc[s + ""] && (i += 1, e.wildcardIndex.hasEncodingProperty(t, z.CHANNEL) && (a = !0), i > 1 && (a || n.constraintManuallySpecifiedValue))) return !1;
4222
+ if (!B(s) && gc[s + ""] && (i += 1, e.wildcardIndex.hasEncodingProperty(t, R.CHANNEL) && (a = !0), i > 1 && (a || n.constraintManuallySpecifiedValue))) return !1;
4223
4223
  }
4224
4224
  return !0;
4225
4225
  }
@@ -4227,7 +4227,7 @@ var gc = Rt.reduce((e, t) => (e[t] = !0, e), {}), _c = class extends lc {
4227
4227
  {
4228
4228
  name: "omitNonPositionalOrFacetOverPositionalChannels",
4229
4229
  description: "Do not use non-positional channels unless all positional channels are used",
4230
- properties: [z.CHANNEL],
4230
+ properties: [R.CHANNEL],
4231
4231
  allowWildcardForProperties: !1,
4232
4232
  strict: !1,
4233
4233
  satisfy: (e, t, n) => {
@@ -4236,7 +4236,7 @@ var gc = Rt.reduce((e, t) => (e[t] = !0, e), {}), _c = class extends lc {
4236
4236
  let n = r[t];
4237
4237
  if (W(n) || q(n)) continue;
4238
4238
  let c = n.channel;
4239
- c === "x" ? o = !0 : c === "y" ? s = !0 : V(c) || (i = !0, e.wildcardIndex.hasEncodingProperty(t, z.CHANNEL) && (a = !0));
4239
+ c === "x" ? o = !0 : c === "y" ? s = !0 : B(c) || (i = !0, e.wildcardIndex.hasEncodingProperty(t, R.CHANNEL) && (a = !0));
4240
4240
  }
4241
4241
  return a || n.constraintManuallySpecifiedValue && i ? o && s : !0;
4242
4242
  }
@@ -4244,7 +4244,7 @@ var gc = Rt.reduce((e, t) => (e[t] = !0, e), {}), _c = class extends lc {
4244
4244
  {
4245
4245
  name: "omitRaw",
4246
4246
  description: "Omit raw plots.",
4247
- properties: [z.AGGREGATE, z.AUTOCOUNT],
4247
+ properties: [R.AGGREGATE, R.AUTOCOUNT],
4248
4248
  allowWildcardForProperties: !1,
4249
4249
  strict: !1,
4250
4250
  satisfy: (e, t, n) => !!e.isAggregate()
@@ -4253,11 +4253,11 @@ var gc = Rt.reduce((e, t) => (e[t] = !0, e), {}), _c = class extends lc {
4253
4253
  name: "omitRawContinuousFieldForAggregatePlot",
4254
4254
  description: "Aggregate plot should not use raw continuous field as group by values. (Quantitative should be binned. Temporal should have time unit.)",
4255
4255
  properties: [
4256
- z.AGGREGATE,
4257
- z.AUTOCOUNT,
4258
- z.TIMEUNIT,
4259
- z.BIN,
4260
- z.TYPE
4256
+ R.AGGREGATE,
4257
+ R.AUTOCOUNT,
4258
+ R.TIMEUNIT,
4259
+ R.BIN,
4260
+ R.TYPE
4261
4261
  ],
4262
4262
  allowWildcardForProperties: !0,
4263
4263
  strict: !1,
@@ -4266,7 +4266,7 @@ var gc = Rt.reduce((e, t) => (e[t] = !0, e), {}), _c = class extends lc {
4266
4266
  let t = e.specQuery.encodings;
4267
4267
  for (let r = 0; r < t.length; r++) {
4268
4268
  let i = t[r];
4269
- if (!(W(i) || q(i)) && (G(i) && i.type === "temporal" && !i.timeUnit && (e.wildcardIndex.hasEncodingProperty(r, z.TIMEUNIT) || n.constraintManuallySpecifiedValue) || i.type === "quantitative" && G(i) && !i.bin && !i.aggregate && (e.wildcardIndex.hasEncodingProperty(r, z.BIN) || e.wildcardIndex.hasEncodingProperty(r, z.AGGREGATE) || e.wildcardIndex.hasEncodingProperty(r, z.AUTOCOUNT) || n.constraintManuallySpecifiedValue))) return !1;
4269
+ if (!(W(i) || q(i)) && (G(i) && i.type === "temporal" && !i.timeUnit && (e.wildcardIndex.hasEncodingProperty(r, R.TIMEUNIT) || n.constraintManuallySpecifiedValue) || i.type === "quantitative" && G(i) && !i.bin && !i.aggregate && (e.wildcardIndex.hasEncodingProperty(r, R.BIN) || e.wildcardIndex.hasEncodingProperty(r, R.AGGREGATE) || e.wildcardIndex.hasEncodingProperty(r, R.AUTOCOUNT) || n.constraintManuallySpecifiedValue))) return !1;
4270
4270
  }
4271
4271
  }
4272
4272
  return !0;
@@ -4276,18 +4276,18 @@ var gc = Rt.reduce((e, t) => (e[t] = !0, e), {}), _c = class extends lc {
4276
4276
  name: "omitRawDetail",
4277
4277
  description: "Do not use detail channel with raw plot.",
4278
4278
  properties: [
4279
- z.CHANNEL,
4280
- z.AGGREGATE,
4281
- z.AUTOCOUNT
4279
+ R.CHANNEL,
4280
+ R.AGGREGATE,
4281
+ R.AUTOCOUNT
4282
4282
  ],
4283
4283
  allowWildcardForProperties: !1,
4284
4284
  strict: !0,
4285
- satisfy: (e, t, n) => e.isAggregate() ? !0 : ti(e.specQuery.encodings, (t, r) => W(t) || q(t) ? !0 : !(t.channel === "detail" && (e.wildcardIndex.hasEncodingProperty(r, z.CHANNEL) || n.constraintManuallySpecifiedValue)))
4285
+ satisfy: (e, t, n) => e.isAggregate() ? !0 : ni(e.specQuery.encodings, (t, r) => W(t) || q(t) ? !0 : !(t.channel === "detail" && (e.wildcardIndex.hasEncodingProperty(r, R.CHANNEL) || n.constraintManuallySpecifiedValue)))
4286
4286
  },
4287
4287
  {
4288
4288
  name: "omitRepeatedField",
4289
4289
  description: "Each field should be mapped to only one channel",
4290
- properties: [z.FIELD],
4290
+ properties: [R.FIELD],
4291
4291
  allowWildcardForProperties: !0,
4292
4292
  strict: !1,
4293
4293
  satisfy: (e, t, n) => {
@@ -4296,8 +4296,8 @@ var gc = Rt.reduce((e, t) => (e[t] = !0, e), {}), _c = class extends lc {
4296
4296
  let o = a[t];
4297
4297
  if (W(o) || K(o)) continue;
4298
4298
  let s;
4299
- if (o.field && !V(o.field) && (s = o.field), K(o) && !V(o.autoCount) && (s = "count_*"), s) {
4300
- if (e.wildcardIndex.hasEncodingProperty(t, z.FIELD) && (i[s] = !0), r[s] && (i[s] || n.constraintManuallySpecifiedValue)) return !1;
4299
+ if (o.field && !B(o.field) && (s = o.field), K(o) && !B(o.autoCount) && (s = "count_*"), s) {
4300
+ if (e.wildcardIndex.hasEncodingProperty(t, R.FIELD) && (i[s] = !0), r[s] && (i[s] || n.constraintManuallySpecifiedValue)) return !1;
4301
4301
  r[s] = !0;
4302
4302
  }
4303
4303
  }
@@ -4307,7 +4307,7 @@ var gc = Rt.reduce((e, t) => (e[t] = !0, e), {}), _c = class extends lc {
4307
4307
  {
4308
4308
  name: "omitVerticalDotPlot",
4309
4309
  description: "Do not output vertical dot plot.",
4310
- properties: [z.CHANNEL],
4310
+ properties: [R.CHANNEL],
4311
4311
  allowWildcardForProperties: !0,
4312
4312
  strict: !1,
4313
4313
  satisfy: (e, t, n) => {
@@ -4319,41 +4319,41 @@ var gc = Rt.reduce((e, t) => (e[t] = !0, e), {}), _c = class extends lc {
4319
4319
  name: "hasAppropriateGraphicTypeForMark",
4320
4320
  description: "Has appropriate graphic type for mark",
4321
4321
  properties: [
4322
- z.CHANNEL,
4323
- z.MARK,
4324
- z.TYPE,
4325
- z.TIMEUNIT,
4326
- z.BIN,
4327
- z.AGGREGATE,
4328
- z.AUTOCOUNT
4322
+ R.CHANNEL,
4323
+ R.MARK,
4324
+ R.TYPE,
4325
+ R.TIMEUNIT,
4326
+ R.BIN,
4327
+ R.AGGREGATE,
4328
+ R.AUTOCOUNT
4329
4329
  ],
4330
4330
  allowWildcardForProperties: !1,
4331
4331
  strict: !1,
4332
4332
  satisfy: (e, t, n) => {
4333
4333
  let r = e.getMark();
4334
4334
  switch (r) {
4335
- case Oi:
4336
4335
  case ki:
4336
+ case Ai:
4337
4337
  if (e.isAggregate()) {
4338
4338
  let t = e.getEncodingQueryByChannel("x"), n = e.getEncodingQueryByChannel("y"), r = yo(t), i = yo(n);
4339
- return t && n && r !== i && !(G(t) && !r && L(["nominal", "key"], t.type)) && !(G(n) && !i && L(["nominal", "key"], n.type));
4339
+ return t && n && r !== i && !(G(t) && !r && I(["nominal", "key"], t.type)) && !(G(n) && !i && I(["nominal", "key"], n.type));
4340
4340
  }
4341
4341
  return !0;
4342
- case Ni: return !0;
4342
+ case Pi: return !0;
4343
4343
  case "bar":
4344
- case Pi:
4344
+ case Fi:
4345
4345
  if (e.channelEncodingField("size")) return !1;
4346
4346
  {
4347
4347
  let t = e.getEncodingQueryByChannel("x"), n = e.getEncodingQueryByChannel("y");
4348
4348
  return yo(t) !== yo(n);
4349
4349
  }
4350
- case ji:
4351
- let t = e.getEncodingQueryByChannel("x"), n = e.getEncodingQueryByChannel("y"), r = bo(t), i = bo(n), a = e.getEncodingQueryByChannel($e), o = yo(a), s = G(a) ? a.type === Er : !1;
4350
+ case Mi:
4351
+ let t = e.getEncodingQueryByChannel("x"), n = e.getEncodingQueryByChannel("y"), r = bo(t), i = bo(n), a = e.getEncodingQueryByChannel(et), o = yo(a), s = G(a) ? a.type === Dr : !1;
4352
4352
  return (r && i || r && !e.channelUsed("y") || i && !e.channelUsed("x")) && (!a || a && (o || s));
4353
- case Fi:
4354
- case Ai:
4355
4353
  case Ii:
4356
- case Mi: return !0;
4354
+ case ji:
4355
+ case Li:
4356
+ case Ni: return !0;
4357
4357
  }
4358
4358
  /* istanbul ignore next */
4359
4359
  throw Error("hasAllRequiredChannelsForMark not implemented for mark" + r);
@@ -4363,20 +4363,20 @@ var gc = Rt.reduce((e, t) => (e[t] = !0, e), {}), _c = class extends lc {
4363
4363
  name: "omitInvalidStackSpec",
4364
4364
  description: "If stack is specified, must follow Vega-Lite stack rules",
4365
4365
  properties: [
4366
- z.STACK,
4367
- z.FIELD,
4368
- z.CHANNEL,
4369
- z.MARK,
4370
- z.AGGREGATE,
4371
- z.AUTOCOUNT,
4372
- z.SCALE,
4373
- wi("scale", "type"),
4374
- z.TYPE
4366
+ R.STACK,
4367
+ R.FIELD,
4368
+ R.CHANNEL,
4369
+ R.MARK,
4370
+ R.AGGREGATE,
4371
+ R.AUTOCOUNT,
4372
+ R.SCALE,
4373
+ Ti("scale", "type"),
4374
+ R.TYPE
4375
4375
  ],
4376
4376
  allowWildcardForProperties: !1,
4377
4377
  strict: !0,
4378
4378
  satisfy: (e, t, n) => {
4379
- if (!e.wildcardIndex.hasProperty(z.STACK)) return !0;
4379
+ if (!e.wildcardIndex.hasProperty(R.STACK)) return !0;
4380
4380
  let r = e.getVlStack();
4381
4381
  return !(r === null && e.getStackOffset() !== null || r.fieldChannel !== e.getStackChannel());
4382
4382
  }
@@ -4385,38 +4385,38 @@ var gc = Rt.reduce((e, t) => (e[t] = !0, e), {}), _c = class extends lc {
4385
4385
  name: "omitNonSumStack",
4386
4386
  description: "Stack specifications that use non-summative aggregates should be omitted (even implicit ones)",
4387
4387
  properties: [
4388
- z.CHANNEL,
4389
- z.MARK,
4390
- z.AGGREGATE,
4391
- z.AUTOCOUNT,
4392
- z.SCALE,
4393
- wi("scale", "type"),
4394
- z.TYPE
4388
+ R.CHANNEL,
4389
+ R.MARK,
4390
+ R.AGGREGATE,
4391
+ R.AUTOCOUNT,
4392
+ R.SCALE,
4393
+ Ti("scale", "type"),
4394
+ R.TYPE
4395
4395
  ],
4396
4396
  allowWildcardForProperties: !1,
4397
4397
  strict: !0,
4398
4398
  satisfy: (e, t, n) => {
4399
4399
  let r = e.getVlStack();
4400
- return !(r != null && !L(ya, e.getEncodingQueryByChannel(r.fieldChannel).aggregate));
4400
+ return !(r != null && !I(ba, e.getEncodingQueryByChannel(r.fieldChannel).aggregate));
4401
4401
  }
4402
4402
  },
4403
4403
  {
4404
4404
  name: "omitTableWithOcclusionIfAutoAddCount",
4405
4405
  description: "Plots without aggregation or autocount where x and y are both discrete should be omitted if autoAddCount is enabled as they often lead to occlusion",
4406
4406
  properties: [
4407
- z.CHANNEL,
4408
- z.TYPE,
4409
- z.TIMEUNIT,
4410
- z.BIN,
4411
- z.AGGREGATE,
4412
- z.AUTOCOUNT
4407
+ R.CHANNEL,
4408
+ R.TYPE,
4409
+ R.TIMEUNIT,
4410
+ R.BIN,
4411
+ R.AGGREGATE,
4412
+ R.AUTOCOUNT
4413
4413
  ],
4414
4414
  allowWildcardForProperties: !1,
4415
4415
  strict: !1,
4416
4416
  satisfy: (e, t, n) => {
4417
4417
  if (n.autoAddCount) {
4418
4418
  let t = e.getEncodingQueryByChannel("x"), n = e.getEncodingQueryByChannel("y");
4419
- if ((!G(t) || bo(t)) && (!G(n) || bo(n))) return e.isAggregate() ? ti(e.getEncodings(), (e) => {
4419
+ if ((!G(t) || bo(t)) && (!G(n) || bo(n))) return e.isAggregate() ? ni(e.getEncodings(), (e) => {
4420
4420
  let t = e.channel;
4421
4421
  return !(t !== "x" && t !== "y" && t !== "row" && t !== "column" && G(e) && !e.aggregate);
4422
4422
  }) : !1;
@@ -4446,9 +4446,9 @@ function Sc(e) {
4446
4446
  }
4447
4447
  xc.set("mark", (e, t, n) => (r, i) => (i.getMark().enum.forEach((a) => {
4448
4448
  i.setMark(a), bc("mark", e.mark, i, t, n) || r.push(i.duplicate());
4449
- }), i.resetMark(), r)), si.forEach((e) => {
4449
+ }), i.resetMark(), r)), ci.forEach((e) => {
4450
4450
  xc.set(e, Cc(e));
4451
- }), vi.forEach((e) => {
4451
+ }), yi.forEach((e) => {
4452
4452
  xc.set(e, Cc(e));
4453
4453
  });
4454
4454
  function Cc(e) {
@@ -4470,7 +4470,7 @@ function Cc(e) {
4470
4470
  //#endregion
4471
4471
  //#region ../node_modules/.pnpm/compassql@0.21.2_vega@6.2.0/node_modules/compassql/build/src/query/groupby.js
4472
4472
  function wc(e) {
4473
- return (0, I.isObject)(e) && !!e.property;
4473
+ return (0, F.isObject)(e) && !!e.property;
4474
4474
  }
4475
4475
  function Tc(e, t, n) {
4476
4476
  return t ||= new U(), n ||= new U(), e.forEach((e) => {
@@ -4482,14 +4482,14 @@ function Tc(e, t, n) {
4482
4482
  };
4483
4483
  }
4484
4484
  var Ec = [
4485
- z.FIELD,
4486
- z.TYPE,
4487
- z.AGGREGATE,
4488
- z.BIN,
4489
- z.TIMEUNIT,
4490
- z.STACK
4485
+ R.FIELD,
4486
+ R.TYPE,
4487
+ R.AGGREGATE,
4488
+ R.BIN,
4489
+ R.TIMEUNIT,
4490
+ R.STACK
4491
4491
  ], Dc = Ec.concat([{
4492
- property: z.CHANNEL,
4492
+ property: R.CHANNEL,
4493
4493
  replace: {
4494
4494
  x: "xy",
4495
4495
  y: "xy",
@@ -4515,7 +4515,7 @@ function Pc(e, t) {
4515
4515
  for (let e = 0; e < t.length; e++) {
4516
4516
  i.push(e > 0 ? i[e - 1].duplicate() : new U()), a.push(e > 0 ? a[e - 1].duplicate() : new U());
4517
4517
  let n = t[e].groupBy;
4518
- if ((0, I.isArray)(n)) {
4518
+ if ((0, F.isArray)(n)) {
4519
4519
  let t = Tc(n, i[e], a[e]);
4520
4520
  o.push(t.replacer);
4521
4521
  }
@@ -4525,7 +4525,7 @@ function Pc(e, t) {
4525
4525
  for (let n = 0; n < t.length; n++) {
4526
4526
  let c = s.groupBy = t[n].groupBy;
4527
4527
  s.orderGroupBy = t[n].orderGroupBy;
4528
- let l = (0, I.isArray)(c) ? oo(e.specQuery, i[n], o[n]) : Oc[c](e.specQuery);
4528
+ let l = (0, F.isArray)(c) ? oo(e.specQuery, i[n], o[n]) : Oc[c](e.specQuery);
4529
4529
  a += "/" + l, r[a] || (r[a] = {
4530
4530
  name: l,
4531
4531
  path: a,
@@ -4541,7 +4541,7 @@ function Pc(e, t) {
4541
4541
  items: e
4542
4542
  };
4543
4543
  }
4544
- var Fc = Tc([z.FIELD]);
4544
+ var Fc = Tc([R.FIELD]);
4545
4545
  function Ic(e, t) {
4546
4546
  return Oc[t](e);
4547
4547
  }
@@ -4566,7 +4566,7 @@ var zc = class {
4566
4566
  return !!this._encodings[e] && this._encodings[e].has(t);
4567
4567
  }
4568
4568
  hasProperty(e) {
4569
- if (Ti(e)) return this.encodingIndicesByProperty.has(e);
4569
+ if (Ei(e)) return this.encodingIndicesByProperty.has(e);
4570
4570
  if (e === "mark") return !!this.mark;
4571
4571
  /* istanbul ignore next */
4572
4572
  throw Error("Unimplemented for property " + e);
@@ -4588,45 +4588,45 @@ var zc = class {
4588
4588
  }
4589
4589
  }, Bc = class e {
4590
4590
  constructor(e, t, n, r, i) {
4591
- this._rankingScore = {}, this._spec = e, this._channelFieldCount = e.encodings.reduce((e, t) => (!V(t.channel) && (!K(t) || t.autoCount !== !1) && (e[t.channel + ""] = 1), e), {}), this._wildcardIndex = t, this._assignedWildcardIndex = i, this._opt = r, this._schema = n;
4591
+ this._rankingScore = {}, this._spec = e, this._channelFieldCount = e.encodings.reduce((e, t) => (!B(t.channel) && (!K(t) || t.autoCount !== !1) && (e[t.channel + ""] = 1), e), {}), this._wildcardIndex = t, this._assignedWildcardIndex = i, this._opt = r, this._schema = n;
4592
4592
  }
4593
4593
  static build(t, n, r) {
4594
4594
  let i = new zc();
4595
- if (V(t.mark)) {
4596
- let e = sa(z.MARK);
4597
- t.mark = ia(t.mark, e, r.enum.mark), i.setMark(t.mark);
4595
+ if (B(t.mark)) {
4596
+ let e = ca(R.MARK);
4597
+ t.mark = aa(t.mark, e, r.enum.mark), i.setMark(t.mark);
4598
4598
  }
4599
4599
  if (t.encodings.forEach((e, t) => {
4600
- K(e) && (console.warn("A field with autoCount should not be included as autoCount meant to be an internal object."), e.type = P), G(e) && e.type === void 0 && (e.type = "?"), si.forEach((a) => {
4601
- if (V(e[a])) {
4602
- let o = sa(a) + t, s = pa(a, n, r), c = e[a] = ia(e[a], o, s);
4600
+ K(e) && (console.warn("A field with autoCount should not be included as autoCount meant to be an internal object."), e.type = N), G(e) && e.type === void 0 && (e.type = "?"), ci.forEach((a) => {
4601
+ if (B(e[a])) {
4602
+ let o = ca(a) + t, s = ma(a, n, r), c = e[a] = aa(e[a], o, s);
4603
4603
  i.setEncodingProperty(t, a, c);
4604
4604
  }
4605
- }), vi.forEach((a) => {
4605
+ }), yi.forEach((a) => {
4606
4606
  let o = e[a.parent];
4607
4607
  if (o) {
4608
4608
  let e = a.child;
4609
- if (V(o[e])) {
4610
- let s = sa(a) + t, c = pa(a, n, r), l = o[e] = ia(o[e], s, c);
4609
+ if (B(o[e])) {
4610
+ let s = ca(a) + t, c = ma(a, n, r), l = o[e] = aa(o[e], s, c);
4611
4611
  i.setEncodingProperty(t, a, l);
4612
4612
  }
4613
4613
  }
4614
4614
  });
4615
4615
  }), r.autoAddCount) {
4616
4616
  let e = {
4617
- name: sa(z.CHANNEL) + t.encodings.length,
4618
- enum: pa(z.CHANNEL, n, r)
4617
+ name: ca(R.CHANNEL) + t.encodings.length,
4618
+ enum: ma(R.CHANNEL, n, r)
4619
4619
  }, a = {
4620
- name: sa(z.AUTOCOUNT) + t.encodings.length,
4620
+ name: ca(R.AUTOCOUNT) + t.encodings.length,
4621
4621
  enum: [!1, !0]
4622
4622
  }, o = {
4623
4623
  channel: e,
4624
4624
  autoCount: a,
4625
- type: P
4625
+ type: N
4626
4626
  };
4627
4627
  t.encodings.push(o);
4628
4628
  let s = t.encodings.length - 1;
4629
- i.setEncodingProperty(s, z.CHANNEL, e), i.setEncodingProperty(s, z.AUTOCOUNT, a);
4629
+ i.setEncodingProperty(s, R.CHANNEL, e), i.setEncodingProperty(s, R.AUTOCOUNT, a);
4630
4630
  }
4631
4631
  return new e(t, i, n, r, {});
4632
4632
  }
@@ -4640,7 +4640,7 @@ var zc = class {
4640
4640
  return this._spec;
4641
4641
  }
4642
4642
  duplicate() {
4643
- return new e((0, I.duplicate)(this._spec), this._wildcardIndex, this._schema, this._opt, (0, I.duplicate)(this._assignedWildcardIndex));
4643
+ return new e((0, F.duplicate)(this._spec), this._wildcardIndex, this._schema, this._opt, (0, F.duplicate)(this._assignedWildcardIndex));
4644
4644
  }
4645
4645
  setMark(e) {
4646
4646
  let t = this._wildcardIndex.mark.name;
@@ -4655,18 +4655,18 @@ var zc = class {
4655
4655
  }
4656
4656
  getEncodingProperty(e, t) {
4657
4657
  let n = this._spec.encodings[e];
4658
- return ai(t) ? n[t.parent][t.child] : n[t];
4658
+ return oi(t) ? n[t.parent][t.child] : n[t];
4659
4659
  }
4660
4660
  setEncodingProperty(e, t, n, r) {
4661
4661
  let i = this._spec.encodings[e];
4662
- t === z.CHANNEL && i.channel && !V(i.channel) && this._channelFieldCount[i.channel]--, ai(t) ? i[t.parent][t.child] = n : i[t] = ui(t) && n === !0 ? (0, I.extend)({}, i[t], {
4662
+ t === R.CHANNEL && i.channel && !B(i.channel) && this._channelFieldCount[i.channel]--, oi(t) ? i[t.parent][t.child] = n : i[t] = di(t) && n === !0 ? (0, F.extend)({}, i[t], {
4663
4663
  enum: void 0,
4664
4664
  name: void 0
4665
- }) : n, this._assignedWildcardIndex[r.name] = n, t === z.CHANNEL && (this._channelFieldCount[n] = (this._channelFieldCount[n] || 0) + 1);
4665
+ }) : n, this._assignedWildcardIndex[r.name] = n, t === R.CHANNEL && (this._channelFieldCount[n] = (this._channelFieldCount[n] || 0) + 1);
4666
4666
  }
4667
4667
  resetEncodingProperty(e, t, n) {
4668
4668
  let r = this._spec.encodings[e];
4669
- t === z.CHANNEL && this._channelFieldCount[r.channel]--, ai(t) ? r[t.parent][t.child] = n : r[t] = n, delete this._assignedWildcardIndex[n.name];
4669
+ t === R.CHANNEL && this._channelFieldCount[r.channel]--, oi(t) ? r[t.parent][t.child] = n : r[t] = n, delete this._assignedWildcardIndex[n.name];
4670
4670
  }
4671
4671
  channelUsed(e) {
4672
4672
  return this._channelFieldCount[e] > 0;
@@ -4697,19 +4697,19 @@ var zc = class {
4697
4697
  }
4698
4698
  toShorthand(e) {
4699
4699
  if (e) {
4700
- if ((0, I.isString)(e)) return Ic(this.specQuery, e);
4700
+ if ((0, F.isString)(e)) return Ic(this.specQuery, e);
4701
4701
  let t = Tc(e);
4702
4702
  return oo(this._spec, t.include, t.replacer);
4703
4703
  }
4704
4704
  return oo(this._spec);
4705
4705
  }
4706
4706
  toSpec(e) {
4707
- if (V(this._spec.mark)) return null;
4707
+ if (B(this._spec.mark)) return null;
4708
4708
  let t = {};
4709
4709
  return e ||= this._spec.data, e && (t.data = e), this._spec.transform && (t.transform = this._spec.transform), t.mark = this._spec.mark, t.encoding = go(this.specQuery.encodings, {
4710
4710
  schema: this._schema,
4711
4711
  wildcardMode: "null"
4712
- }), this._spec.width && (t.width = this._spec.width), this._spec.height && (t.height = this._spec.height), this._spec.background && (t.background = this._spec.background), this._spec.padding && (t.padding = this._spec.padding), this._spec.title && (t.title = this._spec.title), t.encoding === null ? null : ((this._spec.config || this._opt.defaultSpecConfig) && (t.config = (0, I.extend)({}, this._opt.defaultSpecConfig, this._spec.config)), t);
4712
+ }), this._spec.width && (t.width = this._spec.width), this._spec.height && (t.height = this._spec.height), this._spec.background && (t.background = this._spec.background), this._spec.padding && (t.padding = this._spec.padding), this._spec.title && (t.title = this._spec.title), t.encoding === null ? null : ((this._spec.config || this._opt.defaultSpecConfig) && (t.config = (0, F.extend)({}, this._opt.defaultSpecConfig, this._spec.config)), t);
4713
4713
  }
4714
4714
  getRankingScore(e) {
4715
4715
  return this._rankingScore[e];
@@ -4725,12 +4725,12 @@ function Vc(e) {
4725
4725
  let t = { groupBy: e.groupBy };
4726
4726
  e.orderBy && (t.orderGroupBy = e.orderBy);
4727
4727
  let n = {
4728
- spec: (0, I.duplicate)(e.spec),
4728
+ spec: (0, F.duplicate)(e.spec),
4729
4729
  nest: [t]
4730
4730
  };
4731
4731
  return e.chooseBy && (n.chooseBy = e.chooseBy), e.config && (n.config = e.config), n;
4732
4732
  }
4733
- return (0, I.duplicate)(e);
4733
+ return (0, F.duplicate)(e);
4734
4734
  }
4735
4735
  //#endregion
4736
4736
  //#region ../node_modules/.pnpm/compassql@0.21.2_vega@6.2.0/node_modules/compassql/build/src/result.js
@@ -4758,11 +4758,11 @@ var Wc = class {
4758
4758
  }
4759
4759
  }, Z;
4760
4760
  (function(e) {
4761
- e[e.Q = P] = "Q", e[e.BIN_Q = "bin_" + P] = "BIN_Q", e[e.T = Dr] = "T", e[e.TIMEUNIT_T = "timeUnit_time"] = "TIMEUNIT_T", e[e.TIMEUNIT_O = "timeUnit_" + Er] = "TIMEUNIT_O", e[e.O = Er] = "O", e[e.N = Or] = "N", e[e.K = Ra.KEY] = "K", e[e.NONE = "-"] = "NONE";
4761
+ e[e.Q = N] = "Q", e[e.BIN_Q = "bin_" + N] = "BIN_Q", e[e.T = Or] = "T", e[e.TIMEUNIT_T = "timeUnit_time"] = "TIMEUNIT_T", e[e.TIMEUNIT_O = "timeUnit_" + Dr] = "TIMEUNIT_O", e[e.O = Dr] = "O", e[e.N = kr] = "N", e[e.K = H.KEY] = "K", e[e.NONE = "-"] = "NONE";
4762
4762
  })(Z ||= {});
4763
4763
  var Gc = Z.Q, Kc = Z.BIN_Q, qc = Z.T, Jc = Z.TIMEUNIT_T, Yc = Z.TIMEUNIT_O, Xc = Z.O, Zc = Z.N, Qc = Z.K, $c = Z.NONE;
4764
4764
  function el(e) {
4765
- return e.bin ? Z.BIN_Q : e.timeUnit ? Lr(xo(e)) ? Z.TIMEUNIT_O : Z.TIMEUNIT_T : e.type;
4765
+ return e.bin ? Z.BIN_Q : e.timeUnit ? Rr(xo(e)) ? Z.TIMEUNIT_O : Z.TIMEUNIT_T : e.type;
4766
4766
  }
4767
4767
  //#endregion
4768
4768
  //#region ../node_modules/.pnpm/compassql@0.21.2_vega@6.2.0/node_modules/compassql/build/src/ranking/effectiveness/axis.js
@@ -4771,7 +4771,7 @@ var tl = class extends Wc {
4771
4771
  super("Axis");
4772
4772
  }
4773
4773
  initScore(e = {}) {
4774
- e = Object.assign({}, ma, e);
4774
+ e = Object.assign({}, ha, e);
4775
4775
  let t = {};
4776
4776
  return [
4777
4777
  {
@@ -4846,9 +4846,9 @@ var tl = class extends Wc {
4846
4846
  super("Facet");
4847
4847
  }
4848
4848
  initScore(e) {
4849
- e = Object.assign({}, ma, e);
4849
+ e = Object.assign({}, ha, e);
4850
4850
  let t = {};
4851
- return e.preferredFacet === "row" ? t[qe] = -.01 : e.preferredFacet === "column" && (t.row = -.01), t;
4851
+ return e.preferredFacet === "row" ? t[Je] = -.01 : e.preferredFacet === "column" && (t.row = -.01), t;
4852
4852
  }
4853
4853
  getScore(e, t, n) {
4854
4854
  return e.getEncodings().reduce((e, t) => {
@@ -4901,11 +4901,11 @@ var tl = class extends Wc {
4901
4901
  qc,
4902
4902
  Jc
4903
4903
  ].forEach((n) => {
4904
- (0, I.keys)(t).forEach((r) => {
4904
+ (0, F.keys)(t).forEach((r) => {
4905
4905
  e[this.featurize(n, r)] = t[r];
4906
4906
  });
4907
4907
  });
4908
- let n = (0, I.extend)({}, t, {
4908
+ let n = (0, F.extend)({}, t, {
4909
4909
  row: -.75,
4910
4910
  column: -.75,
4911
4911
  shape: -3.1,
@@ -4917,7 +4917,7 @@ var tl = class extends Wc {
4917
4917
  Yc,
4918
4918
  Xc
4919
4919
  ].forEach((t) => {
4920
- (0, I.keys)(n).forEach((r) => {
4920
+ (0, F.keys)(n).forEach((r) => {
4921
4921
  e[this.featurize(t, r)] = n[r];
4922
4922
  });
4923
4923
  });
@@ -4933,8 +4933,8 @@ var tl = class extends Wc {
4933
4933
  size: -3,
4934
4934
  opacity: -3.1
4935
4935
  };
4936
- return (0, I.keys)(r).forEach((t) => {
4937
- e[this.featurize(Zc, t)] = r[t], e[this.featurize(Qc, t)] = L([
4936
+ return (0, F.keys)(r).forEach((t) => {
4937
+ e[this.featurize(Zc, t)] = r[t], e[this.featurize(Qc, t)] = I([
4938
4938
  "x",
4939
4939
  "y",
4940
4940
  "detail"
@@ -4952,7 +4952,7 @@ var tl = class extends Wc {
4952
4952
  }
4953
4953
  return e;
4954
4954
  }, {}), i = [];
4955
- return R(r, (e) => {
4955
+ return L(r, (e) => {
4956
4956
  let t = e.reduce((e, t) => {
4957
4957
  if (G(t) || K(t)) {
4958
4958
  let n = el(t), r = this.featurize(n, t.channel), i = this.getFeatureScore(r);
@@ -4972,7 +4972,7 @@ var tl = class extends Wc {
4972
4972
  }
4973
4973
  getScore(e, t, n) {
4974
4974
  let r = e.getMark();
4975
- (r === "circle" || r === "square") && (r = Ai);
4975
+ (r === "circle" || r === "square") && (r = ji);
4976
4976
  let i = e.getEncodingQueryByChannel("x"), a = i ? el(i) : $c, o = e.getEncodingQueryByChannel("y"), s = o ? el(o) : $c, c = !e.isAggregate(), l = a + "_" + s + "_" + c + "_" + r, u = this.getFeatureScore(l);
4977
4977
  return u ? [u] : (console.error("feature score missing for", l), []);
4978
4978
  }
@@ -4991,7 +4991,7 @@ function sl() {
4991
4991
  ], n = {};
4992
4992
  e.forEach((t) => {
4993
4993
  e.forEach((e) => {
4994
- R({
4994
+ L({
4995
4995
  point: 0,
4996
4996
  text: -.2,
4997
4997
  tick: -.5,
@@ -5003,7 +5003,7 @@ function sl() {
5003
5003
  }, (r, i) => {
5004
5004
  let a = Q(t, e, !0, i);
5005
5005
  n[a] = r;
5006
- }), R({
5006
+ }), L({
5007
5007
  point: 0,
5008
5008
  text: -.2,
5009
5009
  tick: -.5,
@@ -5018,7 +5018,7 @@ function sl() {
5018
5018
  });
5019
5019
  }), e.forEach((e) => {
5020
5020
  t.forEach((t) => {
5021
- R({
5021
+ L({
5022
5022
  tick: 0,
5023
5023
  point: -.2,
5024
5024
  text: -.5,
@@ -5033,7 +5033,7 @@ function sl() {
5033
5033
  n[o] = r;
5034
5034
  });
5035
5035
  }), [Jc].forEach((t) => {
5036
- R({
5036
+ L({
5037
5037
  point: 0,
5038
5038
  text: -.5,
5039
5039
  tick: -1,
@@ -5053,7 +5053,7 @@ function sl() {
5053
5053
  Xc,
5054
5054
  Qc
5055
5055
  ].forEach((t) => {
5056
- R({
5056
+ L({
5057
5057
  bar: 0,
5058
5058
  point: -.2,
5059
5059
  tick: -.25,
@@ -5068,7 +5068,7 @@ function sl() {
5068
5068
  n[o] = r;
5069
5069
  });
5070
5070
  }), [Kc].forEach((t) => {
5071
- R({
5071
+ L({
5072
5072
  bar: 0,
5073
5073
  point: -.2,
5074
5074
  tick: -.25,
@@ -5083,7 +5083,7 @@ function sl() {
5083
5083
  n[o] = r;
5084
5084
  });
5085
5085
  }), [Jc, Yc].forEach((t) => {
5086
- R({
5086
+ L({
5087
5087
  line: 0,
5088
5088
  area: -.1,
5089
5089
  bar: -.2,
@@ -5110,10 +5110,10 @@ function sl() {
5110
5110
  area: -2,
5111
5111
  rule: -2.5
5112
5112
  };
5113
- R(r, (r, i) => {
5113
+ L(r, (r, i) => {
5114
5114
  let a = Q(e, t, !0, i);
5115
5115
  n[a] = r;
5116
- }), R(r, (r, i) => {
5116
+ }), L(r, (r, i) => {
5117
5117
  let a = Q(e, t, !1, i);
5118
5118
  n[a] = r;
5119
5119
  });
@@ -5128,16 +5128,16 @@ function sl() {
5128
5128
  area: -2,
5129
5129
  rule: -2.5
5130
5130
  };
5131
- R(r, (r, i) => {
5131
+ L(r, (r, i) => {
5132
5132
  let a = Q(e, t, !0, i);
5133
5133
  n[a] = r;
5134
- }), R(r, (r, i) => {
5134
+ }), L(r, (r, i) => {
5135
5135
  let a = Q(t, e, !0, i);
5136
5136
  n[a] = r;
5137
- }), R(r, (r, i) => {
5137
+ }), L(r, (r, i) => {
5138
5138
  let a = Q(e, t, !1, i);
5139
5139
  n[a] = r;
5140
- }), R(r, (r, i) => {
5140
+ }), L(r, (r, i) => {
5141
5141
  let a = Q(t, e, !1, i);
5142
5142
  n[a] = r;
5143
5143
  });
@@ -5154,10 +5154,10 @@ function sl() {
5154
5154
  area: -2,
5155
5155
  rule: -2.5
5156
5156
  };
5157
- R(t, (t, i) => {
5157
+ L(t, (t, i) => {
5158
5158
  let a = Q(e, r, !0, i);
5159
5159
  n[a] = t;
5160
- }), R(t, (t, i) => {
5160
+ }), L(t, (t, i) => {
5161
5161
  let a = Q(e, r, !1, i);
5162
5162
  n[a] = t;
5163
5163
  });
@@ -5197,13 +5197,13 @@ function dl(e, t, n) {
5197
5197
  function fl(e, t, n) {
5198
5198
  let r = e.getEncodings();
5199
5199
  if (e.isAggregate()) {
5200
- if (ni(r, (e) => G(e) && (e.type === "quantitative" && !e.bin && !e.aggregate || e.type === "temporal" && !e.timeUnit))) return {
5200
+ if (ri(r, (e) => G(e) && (e.type === "quantitative" && !e.bin && !e.aggregate || e.type === "temporal" && !e.timeUnit))) return {
5201
5201
  type: ul,
5202
5202
  score: .1,
5203
5203
  feature: "Aggregate with raw continuous"
5204
5204
  };
5205
- if (ni(r, (e) => G(e) && bo(e))) {
5206
- let e = ni(r, (e) => G(e) && e.aggregate === "count" || mo(e)), t = ni(r, (e) => G(e) && !!e.bin);
5205
+ if (ri(r, (e) => G(e) && bo(e))) {
5206
+ let e = ri(r, (e) => G(e) && e.aggregate === "count" || mo(e)), t = ri(r, (e) => G(e) && !!e.bin);
5207
5207
  return e ? {
5208
5208
  type: ul,
5209
5209
  score: .8,
@@ -5224,7 +5224,7 @@ function fl(e, t, n) {
5224
5224
  feature: "Aggregate without dimension"
5225
5225
  };
5226
5226
  }
5227
- return ni(r, (e) => G(e) && !bo(e)) ? {
5227
+ return ri(r, (e) => G(e) && !bo(e)) ? {
5228
5228
  type: ul,
5229
5229
  score: 1,
5230
5230
  feature: "Raw with measure"
@@ -5308,7 +5308,7 @@ function wl(e, t, n, r) {
5308
5308
  [
5309
5309
  "row",
5310
5310
  "y",
5311
- qe,
5311
+ Je,
5312
5312
  "x"
5313
5313
  ].forEach((t) => {
5314
5314
  n[t] = e.getEncodingQueryByChannel(t);
@@ -5317,40 +5317,40 @@ function wl(e, t, n, r) {
5317
5317
  if (i !== void 0 && G(i) && (n.row || t.cardinality(i) > r.smallRangeStepForHighCardinalityOrFacet.maxCardinality)) {
5318
5318
  i.scale === void 0 && (i.scale = {});
5319
5319
  let e = xo(i);
5320
- i.scale && (e === void 0 || Lr(e)) && (i.scale.rangeStep || (i.scale.rangeStep = 12));
5320
+ i.scale && (e === void 0 || Rr(e)) && (i.scale.rangeStep || (i.scale.rangeStep = 12));
5321
5321
  }
5322
5322
  let a = n.x;
5323
5323
  if (G(a) && (n.column || t.cardinality(a) > r.smallRangeStepForHighCardinalityOrFacet.maxCardinality)) {
5324
5324
  a.scale === void 0 && (a.scale = {});
5325
5325
  let e = xo(a);
5326
- a.scale && (e === void 0 || Lr(e)) && (a.scale.rangeStep || (a.scale.rangeStep = 12));
5326
+ a.scale && (e === void 0 || Rr(e)) && (a.scale.rangeStep || (a.scale.rangeStep = 12));
5327
5327
  }
5328
5328
  return e;
5329
5329
  }
5330
5330
  function Tl(e, t, n, r) {
5331
- n[$e] = e.getEncodingQueryByChannel($e);
5332
- let i = n[$e];
5333
- return G(i) && i !== void 0 && (i.type === "nominal" || i.type === Ra.KEY) && t.cardinality(i) > r.nominalColorScaleForHighCardinality.maxCardinality && (i.scale === void 0 && (i.scale = {}), i.scale && (i.scale.range || (i.scale.scheme = r.nominalColorScaleForHighCardinality.palette))), e;
5331
+ n[et] = e.getEncodingQueryByChannel(et);
5332
+ let i = n[et];
5333
+ return G(i) && i !== void 0 && (i.type === "nominal" || i.type === H.KEY) && t.cardinality(i) > r.nominalColorScaleForHighCardinality.maxCardinality && (i.scale === void 0 && (i.scale = {}), i.scale && (i.scale.range || (i.scale.scheme = r.nominalColorScaleForHighCardinality.palette))), e;
5334
5334
  }
5335
5335
  function El(e, t, n, r) {
5336
5336
  if ([
5337
- qe,
5337
+ Je,
5338
5338
  "x",
5339
5339
  "y"
5340
5340
  ].forEach((t) => {
5341
5341
  n[t] = e.getEncodingQueryByChannel(t);
5342
5342
  }), n.column === void 0) {
5343
5343
  let e = n.x, i = n.y;
5344
- G(e) && G(i) && i !== void 0 && i.field && Lr(xo(i)) && e !== void 0 && t.cardinality(i) > r.xAxisOnTopForHighYCardinalityWithoutColumn.maxCardinality && (e.axis === void 0 && (e.axis = {}), e.axis && !e.axis.orient && (e.axis.orient = "top"));
5344
+ G(e) && G(i) && i !== void 0 && i.field && Rr(xo(i)) && e !== void 0 && t.cardinality(i) > r.xAxisOnTopForHighYCardinalityWithoutColumn.maxCardinality && (e.axis === void 0 && (e.axis = {}), e.axis && !e.axis.orient && (e.axis.orient = "top"));
5345
5345
  }
5346
5346
  return e;
5347
5347
  }
5348
5348
  //#endregion
5349
5349
  //#region ../node_modules/.pnpm/compassql@0.21.2_vega@6.2.0/node_modules/compassql/build/src/generate.js
5350
- function Dl(e, t, n = ma) {
5350
+ function Dl(e, t, n = ha) {
5351
5351
  let r = Bc.build(e, t, n), i = r.wildcardIndex, a = [r];
5352
5352
  return n.propertyPrecedence.forEach((e) => {
5353
- let r = Si(e);
5353
+ let r = Ci(e);
5354
5354
  if (i.hasProperty(r)) {
5355
5355
  let e = Sc(r)(i, t, n);
5356
5356
  a = a.reduce(e, []);
@@ -5360,7 +5360,7 @@ function Dl(e, t, n = ma) {
5360
5360
  //#endregion
5361
5361
  //#region ../node_modules/.pnpm/compassql@0.21.2_vega@6.2.0/node_modules/compassql/build/src/recommend.js
5362
5362
  function Ol(e, t, n) {
5363
- e = Object.assign({}, Vc(e), { config: Object.assign({}, ma, n, e.config) });
5363
+ e = Object.assign({}, Vc(e), { config: Object.assign({}, ha, n, e.config) });
5364
5364
  let r = vl(Pc(Dl(e.spec, t, e.config), e.nest), e, t, 0);
5365
5365
  return {
5366
5366
  query: e,
@@ -5369,14 +5369,14 @@ function Ol(e, t, n) {
5369
5369
  }
5370
5370
  //#endregion
5371
5371
  //#region src/plugins/impl/data-explorer/components/icons.tsx
5372
- var kl = /* @__PURE__ */ e(c(), 1), $ = k(), Al = {
5372
+ var kl = /* @__PURE__ */ e(c(), 1), $ = O(), Al = {
5373
5373
  [X.BOOLEAN]: /* @__PURE__ */ (0, $.jsx)(g, { className: "h-5 w-5 inline-flex opacity-60" }),
5374
5374
  [X.DATETIME]: /* @__PURE__ */ (0, $.jsx)(m, { className: "h-5 w-5 inline-flex opacity-60" }),
5375
5375
  [X.NUMBER]: /* @__PURE__ */ (0, $.jsx)(v, { className: "h-5 w-5 inline-flex opacity-60" }),
5376
5376
  [X.STRING]: /* @__PURE__ */ (0, $.jsx)(p, { className: "h-5 w-5 inline-flex opacity-60" }),
5377
- [X.INTEGER]: /* @__PURE__ */ (0, $.jsx)(be, { className: "h-5 w-5 inline-flex opacity-60" })
5377
+ [X.INTEGER]: /* @__PURE__ */ (0, $.jsx)(xe, { className: "h-5 w-5 inline-flex opacity-60" })
5378
5378
  }, jl = 12, Ml = (e) => {
5379
- let t = (0, xe.c)(45), { schema: n } = e, [r, i] = (0, kl.useState)(), [a, c] = (0, kl.useState)(), l, u, d, f, p, m, h, g;
5379
+ let t = (0, Se.c)(45), { schema: n } = e, [r, i] = (0, kl.useState)(), [a, c] = (0, kl.useState)(), l, u, d, f, p, m, h, g;
5380
5380
  if (t[0] !== n || t[1] !== r || t[2] !== a) {
5381
5381
  l = n.fieldNames();
5382
5382
  let e;
@@ -5385,7 +5385,7 @@ var kl = /* @__PURE__ */ e(c(), 1), $ = k(), Al = {
5385
5385
  channel: "x"
5386
5386
  }) : void 0, t[11] = n, t[12] = r, t[13] = e) : e = t[13], d = e;
5387
5387
  let s;
5388
- t[14] === Symbol.for("react.memo_cache_sentinel") ? (s = /* @__PURE__ */ (0, $.jsx)(ye, {
5388
+ t[14] === Symbol.for("react.memo_cache_sentinel") ? (s = /* @__PURE__ */ (0, $.jsx)(be, {
5389
5389
  className: "text-muted-foreground",
5390
5390
  width: 40,
5391
5391
  height: 40,
@@ -5444,13 +5444,13 @@ var kl = /* @__PURE__ */ e(c(), 1), $ = k(), Al = {
5444
5444
  t[25] === Symbol.for("react.memo_cache_sentinel") ? (x = (e) => {
5445
5445
  i(e);
5446
5446
  }, t[25] = x) : x = t[25];
5447
- let C;
5448
- t[26] === Symbol.for("react.memo_cache_sentinel") ? (C = /* @__PURE__ */ (0, $.jsx)(ee, {
5447
+ let S;
5448
+ t[26] === Symbol.for("react.memo_cache_sentinel") ? (S = /* @__PURE__ */ (0, $.jsx)(ne, {
5449
5449
  className: "min-w-[210px] h-full",
5450
- children: /* @__PURE__ */ (0, $.jsx)(ne, { placeholder: "Select a column" })
5451
- }), t[26] = C) : C = t[26];
5452
- let E;
5453
- t[27] === n ? E = t[28] : (E = n.fieldNames().map((e) => /* @__PURE__ */ (0, $.jsx)(T, {
5450
+ children: /* @__PURE__ */ (0, $.jsx)(w, { placeholder: "Select a column" })
5451
+ }), t[26] = S) : S = t[26];
5452
+ let C;
5453
+ t[27] === n ? C = t[28] : (C = n.fieldNames().map((e) => /* @__PURE__ */ (0, $.jsx)(T, {
5454
5454
  value: e.toString(),
5455
5455
  children: /* @__PURE__ */ (0, $.jsxs)("span", {
5456
5456
  className: "flex items-center gap-2 flex-1",
@@ -5470,22 +5470,22 @@ var kl = /* @__PURE__ */ e(c(), 1), $ = k(), Al = {
5470
5470
  })
5471
5471
  ]
5472
5472
  })
5473
- }, e)), t[27] = n, t[28] = E);
5473
+ }, e)), t[27] = n, t[28] = C);
5474
+ let E;
5475
+ t[29] === C ? E = t[30] : (E = /* @__PURE__ */ (0, $.jsx)(ee, { children: /* @__PURE__ */ (0, $.jsx)(te, { children: C }) }), t[29] = C, t[30] = E);
5474
5476
  let D;
5475
- t[29] === E ? D = t[30] : (D = /* @__PURE__ */ (0, $.jsx)(w, { children: /* @__PURE__ */ (0, $.jsx)(S, { children: E }) }), t[29] = E, t[30] = D);
5476
- let O;
5477
- t[31] !== D || t[32] !== y || t[33] !== b ? (O = /* @__PURE__ */ (0, $.jsx)("div", {
5477
+ t[31] !== E || t[32] !== y || t[33] !== b ? (D = /* @__PURE__ */ (0, $.jsx)("div", {
5478
5478
  className: "lg:hidden",
5479
- children: /* @__PURE__ */ (0, $.jsxs)(te, {
5479
+ children: /* @__PURE__ */ (0, $.jsxs)(re, {
5480
5480
  "data-testid": "marimo-plugin-data-explorer-column-select",
5481
5481
  value: y,
5482
5482
  disabled: b,
5483
5483
  onValueChange: x,
5484
- children: [C, D]
5484
+ children: [S, E]
5485
5485
  })
5486
- }), t[31] = D, t[32] = y, t[33] = b, t[34] = O) : O = t[34];
5487
- let k;
5488
- t[35] !== r || t[36] !== d ? (k = r && /* @__PURE__ */ (0, $.jsx)("div", {
5486
+ }), t[31] = E, t[32] = y, t[33] = b, t[34] = D) : D = t[34];
5487
+ let O;
5488
+ t[35] !== r || t[36] !== d ? (O = r && /* @__PURE__ */ (0, $.jsx)("div", {
5489
5489
  className: "grid grid-cols-1 lg:grid-cols-2 xl:grid-cols-3 gap-2 p-2 text-sm",
5490
5490
  children: Nl.map((e) => /* @__PURE__ */ (0, $.jsxs)("div", {
5491
5491
  className: "flex flex-row gap-2 min-w-[100px]",
@@ -5494,18 +5494,18 @@ var kl = /* @__PURE__ */ e(c(), 1), $ = k(), Al = {
5494
5494
  children: e
5495
5495
  }), /* @__PURE__ */ (0, $.jsx)("span", { children: /* @__PURE__ */ (0, $.jsx)(Pl, { value: d?.[e] }) })]
5496
5496
  }, e))
5497
- }), t[35] = r, t[36] = d, t[37] = k) : k = t[37];
5498
- let re;
5499
- return t[38] !== O || t[39] !== k || t[40] !== m || t[41] !== h || t[42] !== g || t[43] !== v ? (re = /* @__PURE__ */ (0, $.jsxs)("div", {
5497
+ }), t[35] = r, t[36] = d, t[37] = O) : O = t[37];
5498
+ let ie;
5499
+ return t[38] !== D || t[39] !== O || t[40] !== m || t[41] !== h || t[42] !== g || t[43] !== v ? (ie = /* @__PURE__ */ (0, $.jsxs)("div", {
5500
5500
  className: m,
5501
5501
  children: [
5502
5502
  h,
5503
5503
  g,
5504
5504
  v,
5505
- O,
5506
- k
5505
+ D,
5506
+ O
5507
5507
  ]
5508
- }), t[38] = O, t[39] = k, t[40] = m, t[41] = h, t[42] = g, t[43] = v, t[44] = re) : re = t[44], re;
5508
+ }), t[38] = D, t[39] = O, t[40] = m, t[41] = h, t[42] = g, t[43] = v, t[44] = ie) : ie = t[44], ie;
5509
5509
  }, Nl = [
5510
5510
  "distinct",
5511
5511
  "min",
@@ -5516,9 +5516,9 @@ var kl = /* @__PURE__ */ e(c(), 1), $ = k(), Al = {
5516
5516
  "q3",
5517
5517
  "stdev"
5518
5518
  ], Pl = (e) => {
5519
- let t = (0, xe.c)(8), { value: n } = e, r;
5519
+ let t = (0, Se.c)(8), { value: n } = e, r;
5520
5520
  t[0] === Symbol.for("react.memo_cache_sentinel") ? (r = { maximumFractionDigits: 2 }, t[0] = r) : r = t[0];
5521
- let i = O(r), a;
5521
+ let i = D(r), a;
5522
5522
  t[1] === Symbol.for("react.memo_cache_sentinel") ? (a = {
5523
5523
  year: "numeric",
5524
5524
  month: "short",
@@ -5671,14 +5671,14 @@ function ql(e, t) {
5671
5671
  }
5672
5672
  function Jl(e) {
5673
5673
  let { aggregate: t, bin: n, timeUnit: r, field: i, scale: o, legend: s, axis: c, sort: l, description: u } = e, { type: d } = e;
5674
- if (V(d)) throw Error("Wildcard not support");
5674
+ if (B(d)) throw Error("Wildcard not support");
5675
5675
  d === "ordinal" && (a.warn("Ordinal type is not supported. Using nominal type instead."), d = "nominal");
5676
5676
  let f = Ul({
5677
5677
  aggregate: t,
5678
5678
  bin: n,
5679
5679
  timeUnit: r
5680
5680
  });
5681
- return de(i !== void 0, "Field is required for fieldQ"), Kl({
5681
+ return fe(i !== void 0, "Field is required for fieldQ"), Kl({
5682
5682
  field: i,
5683
5683
  fn: f,
5684
5684
  type: d,
@@ -5786,7 +5786,7 @@ function iu(e) {
5786
5786
  }
5787
5787
  function au(e) {
5788
5788
  let t = !1, n = !1, r = !1;
5789
- for (let i of e.encodings) W(i) || (K(i) ? V(i.autoCount) && (n = !0) : (V(i.field) && (t = !0), (V(i.aggregate) || V(i.bin) || V(i.timeUnit)) && (n = !0), V(i.channel) && (r = !0)));
5789
+ for (let i of e.encodings) W(i) || (K(i) ? B(i.autoCount) && (n = !0) : (B(i.field) && (t = !0), (B(i.aggregate) || B(i.bin) || B(i.timeUnit)) && (n = !0), B(i.channel) && (r = !0)));
5790
5790
  return {
5791
5791
  hasAnyWildcard: r || t || n,
5792
5792
  hasWildcardField: t,
@@ -5800,7 +5800,7 @@ var ou = { name: "source" };
5800
5800
  function su(e) {
5801
5801
  let t = !1, n = !1, r = !1;
5802
5802
  return e.encodings.forEach((e) => {
5803
- e.channel === "x" || e.channel === "y" ? t = !0 : e.channel === "row" || e.channel === "column" ? r = !0 : typeof e.channel == "string" && he(tu, e.channel) && (n = !0);
5803
+ e.channel === "x" || e.channel === "y" ? t = !0 : e.channel === "row" || e.channel === "column" ? r = !0 : typeof e.channel == "string" && _e(tu, e.channel) && (n = !0);
5804
5804
  }), {
5805
5805
  hasOpenPosition: t,
5806
5806
  hasStyleChannel: n,
@@ -5905,7 +5905,7 @@ var { valueAtom: gu, useActions: _u } = h(hu, {
5905
5905
  function vu() {
5906
5906
  return _u();
5907
5907
  }
5908
- var yu = ce((e) => {
5908
+ var yu = le((e) => {
5909
5909
  let t = e(gu);
5910
5910
  if (!t.schema) return {};
5911
5911
  let n = pu({
@@ -5929,7 +5929,7 @@ var yu = ce((e) => {
5929
5929
  "size",
5930
5930
  "shape"
5931
5931
  ], Su = (e) => {
5932
- let t = (0, xe.c)(26), { schema: n, mark: r } = e, i = se(gu), a = vu(), o = i.encoding.x && i.encoding.y, s;
5932
+ let t = (0, Se.c)(26), { schema: n, mark: r } = e, i = ce(gu), a = vu(), o = i.encoding.x && i.encoding.y, s;
5933
5933
  t[0] !== a || t[1] !== o || t[2] !== n || t[3] !== i.encoding ? (s = (e) => /* @__PURE__ */ (0, $.jsx)(Cu, {
5934
5934
  schema: n,
5935
5935
  label: e,
@@ -5942,11 +5942,11 @@ var yu = ce((e) => {
5942
5942
  let u;
5943
5943
  t[7] === a ? u = t[8] : (u = (e) => a.setMark(e), t[7] = a, t[8] = u);
5944
5944
  let d;
5945
- t[9] === Symbol.for("react.memo_cache_sentinel") ? (d = /* @__PURE__ */ (0, $.jsx)(ee, { children: /* @__PURE__ */ (0, $.jsx)(ne, { placeholder: "Mark" }) }), t[9] = d) : d = t[9];
5945
+ t[9] === Symbol.for("react.memo_cache_sentinel") ? (d = /* @__PURE__ */ (0, $.jsx)(ne, { children: /* @__PURE__ */ (0, $.jsx)(w, { placeholder: "Mark" }) }), t[9] = d) : d = t[9];
5946
5946
  let f;
5947
- t[10] === Symbol.for("react.memo_cache_sentinel") ? (f = /* @__PURE__ */ (0, $.jsx)(w, { children: /* @__PURE__ */ (0, $.jsxs)(S, { children: [/* @__PURE__ */ (0, $.jsx)(E, { children: "Mark" }), Wl.map(Eu)] }) }), t[10] = f) : f = t[10];
5947
+ t[10] === Symbol.for("react.memo_cache_sentinel") ? (f = /* @__PURE__ */ (0, $.jsx)(ee, { children: /* @__PURE__ */ (0, $.jsxs)(te, { children: [/* @__PURE__ */ (0, $.jsx)(S, { children: "Mark" }), Wl.map(Eu)] }) }), t[10] = f) : f = t[10];
5948
5948
  let p;
5949
- t[11] !== l || t[12] !== u ? (p = /* @__PURE__ */ (0, $.jsxs)(te, {
5949
+ t[11] !== l || t[12] !== u ? (p = /* @__PURE__ */ (0, $.jsxs)(re, {
5950
5950
  "data-testid": "marimo-plugin-data-explorer-mark-select",
5951
5951
  value: l,
5952
5952
  onValueChange: u,
@@ -5982,7 +5982,7 @@ var yu = ce((e) => {
5982
5982
  ]
5983
5983
  }), t[22] = v, t[23] = y, t[24] = g, t[25] = b) : b = t[25], b;
5984
5984
  }, Cu = (e) => {
5985
- let t = (0, xe.c)(43), { label: n, schema: r, fieldDefinition: i, disabled: a, onChange: o } = e, s;
5985
+ let t = (0, Se.c)(43), { label: n, schema: r, fieldDefinition: i, disabled: a, onChange: o } = e, s;
5986
5986
  t[0] !== i || t[1] !== r ? (s = () => {
5987
5987
  if (!i) return "--";
5988
5988
  if (i.field === "*") return /* @__PURE__ */ (0, $.jsxs)("span", {
@@ -6008,7 +6008,7 @@ var yu = ce((e) => {
6008
6008
  let u = l, d;
6009
6009
  t[5] === i?.field ? d = t[6] : (d = i?.field.toString() ?? "", t[5] = i?.field, t[6] = d);
6010
6010
  let f = d, p;
6011
- t[7] === n ? p = t[8] : (p = /* @__PURE__ */ (0, $.jsx)(ie, {
6011
+ t[7] === n ? p = t[8] : (p = /* @__PURE__ */ (0, $.jsx)(ae, {
6012
6012
  className: "text-(--slate-11) font-semibold",
6013
6013
  children: n
6014
6014
  }), t[7] = n, t[8] = p);
@@ -6026,7 +6026,7 @@ var yu = ce((e) => {
6026
6026
  let h = f ? u : void 0, g;
6027
6027
  t[12] === c ? g = t[13] : (g = c(), t[12] = c, t[13] = g);
6028
6028
  let _;
6029
- t[14] !== h || t[15] !== g ? (_ = /* @__PURE__ */ (0, $.jsx)(ee, {
6029
+ t[14] !== h || t[15] !== g ? (_ = /* @__PURE__ */ (0, $.jsx)(ne, {
6030
6030
  className: "min-w-[140px] lg:min-w-[210px] h-full",
6031
6031
  onClear: h,
6032
6032
  children: g
@@ -6060,7 +6060,7 @@ var yu = ce((e) => {
6060
6060
  children: "No columns"
6061
6061
  }), t[19] = r, t[20] = y);
6062
6062
  let b;
6063
- t[21] === Symbol.for("react.memo_cache_sentinel") ? (b = /* @__PURE__ */ (0, $.jsx)(C, {}), t[21] = b) : b = t[21];
6063
+ t[21] === Symbol.for("react.memo_cache_sentinel") ? (b = /* @__PURE__ */ (0, $.jsx)(E, {}), t[21] = b) : b = t[21];
6064
6064
  let x;
6065
6065
  t[22] === Symbol.for("react.memo_cache_sentinel") ? (x = /* @__PURE__ */ (0, $.jsx)(T, {
6066
6066
  value: "*",
@@ -6072,53 +6072,53 @@ var yu = ce((e) => {
6072
6072
  })]
6073
6073
  })
6074
6074
  }, "*"), t[22] = x) : x = t[22];
6075
- let E;
6076
- t[23] !== y || t[24] !== v ? (E = /* @__PURE__ */ (0, $.jsx)(w, { children: /* @__PURE__ */ (0, $.jsxs)(S, { children: [
6075
+ let S;
6076
+ t[23] !== y || t[24] !== v ? (S = /* @__PURE__ */ (0, $.jsx)(ee, { children: /* @__PURE__ */ (0, $.jsxs)(te, { children: [
6077
6077
  v,
6078
6078
  y,
6079
6079
  b,
6080
6080
  x
6081
- ] }) }), t[23] = y, t[24] = v, t[25] = E) : E = t[25];
6082
- let D;
6083
- t[26] !== a || t[27] !== f || t[28] !== E || t[29] !== m || t[30] !== _ ? (D = /* @__PURE__ */ (0, $.jsxs)(te, {
6081
+ ] }) }), t[23] = y, t[24] = v, t[25] = S) : S = t[25];
6082
+ let C;
6083
+ t[26] !== a || t[27] !== f || t[28] !== S || t[29] !== m || t[30] !== _ ? (C = /* @__PURE__ */ (0, $.jsxs)(re, {
6084
6084
  value: f,
6085
6085
  disabled: a,
6086
6086
  onValueChange: m,
6087
- children: [_, E]
6088
- }), t[26] = a, t[27] = f, t[28] = E, t[29] = m, t[30] = _, t[31] = D) : D = t[31];
6089
- let ne;
6090
- t[32] !== i || t[33] !== o ? (ne = i && /* @__PURE__ */ (0, $.jsx)(Tu, {
6087
+ children: [_, S]
6088
+ }), t[26] = a, t[27] = f, t[28] = S, t[29] = m, t[30] = _, t[31] = C) : C = t[31];
6089
+ let w;
6090
+ t[32] !== i || t[33] !== o ? (w = i && /* @__PURE__ */ (0, $.jsx)(Tu, {
6091
6091
  field: i,
6092
6092
  onChange: o
6093
- }), t[32] = i, t[33] = o, t[34] = ne) : ne = t[34];
6094
- let O;
6095
- t[35] === ne ? O = t[36] : (O = /* @__PURE__ */ (0, $.jsx)("div", {
6093
+ }), t[32] = i, t[33] = o, t[34] = w) : w = t[34];
6094
+ let D;
6095
+ t[35] === w ? D = t[36] : (D = /* @__PURE__ */ (0, $.jsx)("div", {
6096
6096
  className: "w-[26px]",
6097
- children: ne
6098
- }), t[35] = ne, t[36] = O);
6099
- let k;
6100
- t[37] !== D || t[38] !== O ? (k = /* @__PURE__ */ (0, $.jsxs)("div", {
6097
+ children: w
6098
+ }), t[35] = w, t[36] = D);
6099
+ let O;
6100
+ t[37] !== C || t[38] !== D ? (O = /* @__PURE__ */ (0, $.jsxs)("div", {
6101
6101
  className: "flex flex-row gap-1 h-[26px]",
6102
- children: [D, O]
6103
- }), t[37] = D, t[38] = O, t[39] = k) : k = t[39];
6104
- let re;
6105
- return t[40] !== k || t[41] !== p ? (re = /* @__PURE__ */ (0, $.jsxs)($.Fragment, { children: [p, k] }), t[40] = k, t[41] = p, t[42] = re) : re = t[42], re;
6102
+ children: [C, D]
6103
+ }), t[37] = C, t[38] = D, t[39] = O) : O = t[39];
6104
+ let ie;
6105
+ return t[40] !== O || t[41] !== p ? (ie = /* @__PURE__ */ (0, $.jsxs)($.Fragment, { children: [p, O] }), t[40] = O, t[41] = p, t[42] = ie) : ie = t[42], ie;
6106
6106
  }, wu = "__", Tu = (e) => {
6107
- let t = (0, xe.c)(10), { field: n, onChange: r } = e;
6107
+ let t = (0, Se.c)(10), { field: n, onChange: r } = e;
6108
6108
  if (n.field === "*") return null;
6109
6109
  let i;
6110
6110
  if (t[0] !== n || t[1] !== r) {
6111
6111
  i = Symbol.for("react.early_return_sentinel");
6112
6112
  bb0: {
6113
6113
  let e = [];
6114
- if (n.type === Ra.QUANTITATIVE && (e = [["", Bl]]), n.type === Ra.TEMPORAL && (e = [["Single", Vl], ["Multi", Hl]]), e.length > 0) {
6114
+ if (n.type === H.QUANTITATIVE && (e = [["", Bl]]), n.type === H.TEMPORAL && (e = [["Single", Vl], ["Multi", Hl]]), e.length > 0) {
6115
6115
  let a = (e) => {
6116
6116
  r({
6117
6117
  ...n,
6118
6118
  fn: e === wu ? void 0 : e
6119
6119
  });
6120
6120
  }, o;
6121
- t[3] === Symbol.for("react.memo_cache_sentinel") ? (o = /* @__PURE__ */ (0, $.jsx)(ee, {
6121
+ t[3] === Symbol.for("react.memo_cache_sentinel") ? (o = /* @__PURE__ */ (0, $.jsx)(ne, {
6122
6122
  className: "h-full px-1",
6123
6123
  hideChevron: !0,
6124
6124
  variant: "ghost",
@@ -6128,16 +6128,16 @@ var yu = ce((e) => {
6128
6128
  })
6129
6129
  }), t[3] = o) : o = t[3];
6130
6130
  let s, c;
6131
- t[4] === Symbol.for("react.memo_cache_sentinel") ? (s = /* @__PURE__ */ (0, $.jsx)(S, { children: /* @__PURE__ */ (0, $.jsx)(T, {
6131
+ t[4] === Symbol.for("react.memo_cache_sentinel") ? (s = /* @__PURE__ */ (0, $.jsx)(te, { children: /* @__PURE__ */ (0, $.jsx)(T, {
6132
6132
  value: wu,
6133
6133
  children: "None"
6134
- }) }), c = /* @__PURE__ */ (0, $.jsx)(C, {}), t[4] = s, t[5] = c) : (s = t[4], c = t[5]);
6135
- let l = /* @__PURE__ */ (0, $.jsxs)(w, { children: [
6134
+ }) }), c = /* @__PURE__ */ (0, $.jsx)(E, {}), t[4] = s, t[5] = c) : (s = t[4], c = t[5]);
6135
+ let l = /* @__PURE__ */ (0, $.jsxs)(ee, { children: [
6136
6136
  s,
6137
6137
  c,
6138
6138
  e.map(Ou)
6139
6139
  ] }), u;
6140
- t[6] !== n.fn || t[7] !== a || t[8] !== l ? (u = /* @__PURE__ */ (0, $.jsxs)(te, {
6140
+ t[6] !== n.fn || t[7] !== a || t[8] !== l ? (u = /* @__PURE__ */ (0, $.jsxs)(re, {
6141
6141
  "data-testid": "marimo-plugin-data-explorer-field-options",
6142
6142
  value: n.fn,
6143
6143
  onValueChange: a,
@@ -6159,18 +6159,18 @@ function Eu(e) {
6159
6159
  function Du(e) {
6160
6160
  return /* @__PURE__ */ (0, $.jsx)(T, {
6161
6161
  value: e ?? wu,
6162
- children: D.startCase(e)
6162
+ children: C.startCase(e)
6163
6163
  }, e);
6164
6164
  }
6165
6165
  function Ou(e) {
6166
6166
  let [t, n] = e;
6167
- return /* @__PURE__ */ (0, $.jsxs)(S, { children: [t && /* @__PURE__ */ (0, $.jsx)(E, { children: t }), n.map(Du)] }, t);
6167
+ return /* @__PURE__ */ (0, $.jsxs)(te, { children: [t && /* @__PURE__ */ (0, $.jsx)(S, { children: t }), n.map(Du)] }, t);
6168
6168
  }
6169
6169
  //#endregion
6170
6170
  //#region src/plugins/impl/data-explorer/ConnectedDataExplorerComponent.tsx
6171
6171
  var ku = (e) => {
6172
- let t = (0, xe.c)(5), n;
6173
- t[0] === Symbol.for("react.memo_cache_sentinel") ? (n = oe(), t[0] = n) : n = t[0];
6172
+ let t = (0, Se.c)(5), n;
6173
+ t[0] === Symbol.for("react.memo_cache_sentinel") ? (n = se(), t[0] = n) : n = t[0];
6174
6174
  let r = n, i;
6175
6175
  t[1] === e ? i = t[2] : (i = () => {
6176
6176
  let t = r.sub(gu, () => {
@@ -6180,7 +6180,7 @@ var ku = (e) => {
6180
6180
  return n && Object.keys(n).length > 0 && r.set(gu, n), t;
6181
6181
  }, t[1] = e, t[2] = i), y(i);
6182
6182
  let a;
6183
- return t[3] === e ? a = t[4] : (a = /* @__PURE__ */ (0, $.jsx)(le, {
6183
+ return t[3] === e ? a = t[4] : (a = /* @__PURE__ */ (0, $.jsx)(ue, {
6184
6184
  store: r,
6185
6185
  children: /* @__PURE__ */ (0, $.jsx)(ju, { ...e })
6186
6186
  }), t[3] = e, t[4] = a), a;
@@ -6203,15 +6203,15 @@ function Au(e) {
6203
6203
  editor: !1
6204
6204
  },
6205
6205
  theme: e === "dark" ? "dark" : void 0,
6206
- tooltip: ge.call,
6206
+ tooltip: ve.call,
6207
6207
  renderer: "canvas"
6208
6208
  };
6209
6209
  }
6210
6210
  var ju = (e) => {
6211
- let t = (0, xe.c)(43), { data: n } = e, r = vu(), i;
6211
+ let t = (0, Se.c)(43), { data: n } = e, r = vu(), i;
6212
6212
  t[0] !== r || t[1] !== n ? (i = async () => {
6213
6213
  if (!n) return {};
6214
- let e = await _e(n, {
6214
+ let e = await ye(n, {
6215
6215
  type: "csv",
6216
6216
  parse: "auto"
6217
6217
  }, { replacePeriod: !0 }), t = nc(e);
@@ -6222,10 +6222,10 @@ var ju = (e) => {
6222
6222
  }, t[0] = r, t[1] = n, t[2] = i) : i = t[2];
6223
6223
  let a;
6224
6224
  t[3] === n ? a = t[4] : (a = [n], t[3] = n, t[4] = a);
6225
- let { data: c, isPending: l, error: u } = ve(i, a), { mark: d } = se(gu), p = se(yu), { theme: m } = ue();
6225
+ let { data: c, isPending: l, error: u } = me(i, a), { mark: d } = ce(gu), p = ce(yu), { theme: m } = de();
6226
6226
  if (u) {
6227
6227
  let e;
6228
- return t[5] === u ? e = t[6] : (e = /* @__PURE__ */ (0, $.jsx)(re, { error: u }), t[5] = u, t[6] = e), e;
6228
+ return t[5] === u ? e = t[6] : (e = /* @__PURE__ */ (0, $.jsx)(ie, { error: u }), t[5] = u, t[6] = e), e;
6229
6229
  }
6230
6230
  if (!c) {
6231
6231
  let e;
@@ -6244,8 +6244,8 @@ var ju = (e) => {
6244
6244
  let e = v.spec, t = Pu(e), n = f(t, h);
6245
6245
  return /* @__PURE__ */ (0, $.jsx)("div", {
6246
6246
  className: o("flex overflow-y-auto justify-center items-center flex-1 w-[90%]"),
6247
- children: /* @__PURE__ */ (0, $.jsx)(me, {
6248
- "data-container-width": pe(n),
6247
+ children: /* @__PURE__ */ (0, $.jsx)(ge, {
6248
+ "data-container-width": he(n),
6249
6249
  spec: n,
6250
6250
  options: Au(m)
6251
6251
  })
@@ -6256,15 +6256,15 @@ var ju = (e) => {
6256
6256
  mark: d,
6257
6257
  schema: g
6258
6258
  }), t[16] = d, t[17] = g, t[18] = w) : w = t[18];
6259
- let ee;
6260
- t[19] === C ? ee = t[20] : (ee = C(), t[19] = C, t[20] = ee);
6261
6259
  let T;
6262
- t[21] !== w || t[22] !== ee ? (T = /* @__PURE__ */ (0, $.jsxs)("div", {
6260
+ t[19] === C ? T = t[20] : (T = C(), t[19] = C, t[20] = T);
6261
+ let ee;
6262
+ t[21] !== w || t[22] !== T ? (ee = /* @__PURE__ */ (0, $.jsxs)("div", {
6263
6263
  className: "flex items-center gap-2",
6264
- children: [w, ee]
6265
- }), t[21] = w, t[22] = ee, t[23] = T) : T = t[23];
6266
- let te = p.histograms?.plots, E = p.addCategoricalField?.plots, D = p.addQuantitativeField?.plots, ne = p.addTemporalField?.plots, O;
6267
- if (t[24] !== r || t[25] !== h || t[26] !== x || t[27] !== D || t[28] !== ne || t[29] !== te || t[30] !== E || t[31] !== m) {
6264
+ children: [w, T]
6265
+ }), t[21] = w, t[22] = T, t[23] = ee) : ee = t[23];
6266
+ let E = p.histograms?.plots, te = p.addCategoricalField?.plots, ne = p.addQuantitativeField?.plots, re = p.addTemporalField?.plots, D;
6267
+ if (t[24] !== r || t[25] !== h || t[26] !== x || t[27] !== ne || t[28] !== re || t[29] !== E || t[30] !== te || t[31] !== m) {
6268
6268
  let e;
6269
6269
  t[33] !== r || t[34] !== h || t[35] !== x || t[36] !== m ? (e = (e, t) => /* @__PURE__ */ (0, $.jsx)(Nu, {
6270
6270
  title: /* @__PURE__ */ (0, $.jsx)("div", {
@@ -6277,39 +6277,39 @@ var ju = (e) => {
6277
6277
  }, t);
6278
6278
  })
6279
6279
  }),
6280
- actions: /* @__PURE__ */ (0, $.jsx)(ae, {
6280
+ actions: /* @__PURE__ */ (0, $.jsx)(oe, {
6281
6281
  content: "Make main plot",
6282
6282
  children: /* @__PURE__ */ (0, $.jsx)(s, {
6283
6283
  "data-testid": "marimo-plugin-data-explorer-make-main-plot",
6284
6284
  variant: "text",
6285
6285
  size: "icon",
6286
6286
  onClick: () => {
6287
- let t = fe.fromEntries(e.fieldInfos.map(Iu));
6287
+ let t = pe.fromEntries(e.fieldInfos.map(Iu));
6288
6288
  r.setEncoding(t);
6289
6289
  },
6290
6290
  children: /* @__PURE__ */ (0, $.jsx)(b, { className: "w-4 h-4" })
6291
6291
  })
6292
6292
  }),
6293
- children: /* @__PURE__ */ (0, $.jsx)(me, {
6293
+ children: /* @__PURE__ */ (0, $.jsx)(ge, {
6294
6294
  options: Au(m),
6295
6295
  spec: f(e.spec, h)
6296
6296
  }, t)
6297
- }, t), t[33] = r, t[34] = h, t[35] = x, t[36] = m, t[37] = e) : e = t[37], O = [
6298
- te,
6297
+ }, t), t[33] = r, t[34] = h, t[35] = x, t[36] = m, t[37] = e) : e = t[37], D = [
6299
6298
  E,
6300
- D,
6301
- ne
6302
- ].filter(Boolean).flat().map(e), t[24] = r, t[25] = h, t[26] = x, t[27] = D, t[28] = ne, t[29] = te, t[30] = E, t[31] = m, t[32] = O;
6303
- } else O = t[32];
6304
- let k;
6305
- t[38] === O ? k = t[39] : (k = /* @__PURE__ */ (0, $.jsx)(Mu, { children: O }), t[38] = O, t[39] = k);
6306
- let ie;
6307
- return t[40] !== k || t[41] !== T ? (ie = /* @__PURE__ */ (0, $.jsxs)("div", {
6299
+ te,
6300
+ ne,
6301
+ re
6302
+ ].filter(Boolean).flat().map(e), t[24] = r, t[25] = h, t[26] = x, t[27] = ne, t[28] = re, t[29] = E, t[30] = te, t[31] = m, t[32] = D;
6303
+ } else D = t[32];
6304
+ let O;
6305
+ t[38] === D ? O = t[39] : (O = /* @__PURE__ */ (0, $.jsx)(Mu, { children: D }), t[38] = D, t[39] = O);
6306
+ let ae;
6307
+ return t[40] !== O || t[41] !== ee ? (ae = /* @__PURE__ */ (0, $.jsxs)("div", {
6308
6308
  className: "flex flex-col gap-2",
6309
- children: [T, k]
6310
- }), t[40] = k, t[41] = T, t[42] = ie) : ie = t[42], ie;
6309
+ children: [ee, O]
6310
+ }), t[40] = O, t[41] = ee, t[42] = ae) : ae = t[42], ae;
6311
6311
  }, Mu = (e) => {
6312
- let t = (0, xe.c)(2), { children: n } = e;
6312
+ let t = (0, Se.c)(2), { children: n } = e;
6313
6313
  if (kl.Children.count(n) === 0) return null;
6314
6314
  let r;
6315
6315
  return t[0] === n ? r = t[1] : (r = /* @__PURE__ */ (0, $.jsx)("div", {
@@ -6317,7 +6317,7 @@ var ju = (e) => {
6317
6317
  children: n
6318
6318
  }), t[0] = n, t[1] = r), r;
6319
6319
  }, Nu = (e) => {
6320
- let t = (0, xe.c)(10), { title: n, children: r, actions: i } = e, a;
6320
+ let t = (0, Se.c)(10), { title: n, children: r, actions: i } = e, a;
6321
6321
  t[0] === n ? a = t[1] : (a = /* @__PURE__ */ (0, $.jsx)("div", {
6322
6322
  className: "text-sm font-medium",
6323
6323
  children: n