@devtable/dashboard 10.24.0 → 10.24.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,7 +2,7 @@ var th = Object.defineProperty;
2
2
  var nh = (e, t, n) => t in e ? th(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
3
  var H = (e, t, n) => (nh(e, typeof t != "symbol" ? t + "" : t, n), n);
4
4
  import R, { useState as Q, useEffect as q, useCallback as nt, useMemo as M, forwardRef as we, createElement as ti, useContext as Ut, useRef as ni, createContext as ul, memo as rh } from "react";
5
- import { Select as F, Stack as S, Text as C, Group as v, TextInput as z, Button as I, Box as P, Switch as Xe, NumberInput as ie, Divider as L, Table as Vt, ActionIcon as K, MultiSelect as dr, Paper as Go, Code as fs, Modal as Te, Tabs as g, LoadingOverlay as kn, Alert as Yo, NativeSelect as hl, useMantineTheme as pl, ColorInput as Ho, ColorSwatch as Ui, Slider as ih, Overlay as Xt, Checkbox as xe, Center as Tn, CheckIcon as oh, MANTINE_SIZES as ah, SimpleGrid as ln, Tooltip as Ne, SegmentedControl as sh, HoverCard as ot, Anchor as Xi, Textarea as lh, Collapse as Qo, Mark as ch, createStyles as Gn, Popover as Ri, Flex as Yn, Badge as ur, CloseButton as fl, Menu as he, Affix as dh, Header as uh, ThemeIcon as Oi, List as ms, UnstyledButton as hh, Navbar as Ht, JsonInput as ml, Drawer as ph, Radio as gs, Skeleton as bs, NavLink as Ji, Pagination as fh, AppShell as gl } from "@mantine/core";
5
+ import { Select as F, Stack as S, Text as C, Group as v, TextInput as z, Button as I, Box as V, Switch as Xe, NumberInput as ie, Divider as L, Table as Vt, ActionIcon as K, MultiSelect as dr, Paper as Go, Code as fs, Modal as Te, Tabs as g, LoadingOverlay as kn, Alert as Yo, NativeSelect as hl, useMantineTheme as pl, ColorInput as Ho, ColorSwatch as Ui, Slider as ih, Overlay as Xt, Checkbox as xe, Center as Tn, CheckIcon as oh, MANTINE_SIZES as ah, SimpleGrid as ln, Tooltip as Ne, SegmentedControl as sh, HoverCard as ot, Anchor as Xi, Textarea as lh, Collapse as Qo, Mark as ch, createStyles as Gn, Popover as Ri, Flex as Yn, Badge as ur, CloseButton as fl, Menu as he, Affix as dh, Header as uh, ThemeIcon as Oi, List as ms, UnstyledButton as hh, Navbar as Ht, JsonInput as ml, Drawer as ph, Radio as gs, Skeleton as bs, NavLink as Ji, Pagination as fh, AppShell as gl } from "@mantine/core";
6
6
  import { useModals as Jt, ModalsProvider as bl } from "@mantine/modals";
7
7
  import { useBoolean as Je, useCreation as Lt, useAsyncEffect as vr, useRequest as wn, useLatest as ys, usePrevious as mh } from "ahooks";
8
8
  import { observable as yl, runInAction as ar, toJS as Zt, reaction as St, makeAutoObservable as wr } from "mobx";
@@ -116,25 +116,25 @@ function Jp() {
116
116
  function T(_) {
117
117
  if (_ === null || typeof _ != "object")
118
118
  return null;
119
- var V = w && _[w] || _[x];
120
- return typeof V == "function" ? V : null;
119
+ var P = w && _[w] || _[x];
120
+ return typeof P == "function" ? P : null;
121
121
  }
122
122
  var $ = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
123
123
  function A(_) {
124
124
  {
125
- for (var V = arguments.length, G = new Array(V > 1 ? V - 1 : 0), ne = 1; ne < V; ne++)
125
+ for (var P = arguments.length, G = new Array(P > 1 ? P - 1 : 0), ne = 1; ne < P; ne++)
126
126
  G[ne - 1] = arguments[ne];
127
- W("error", _, G);
127
+ j("error", _, G);
128
128
  }
129
129
  }
130
- function W(_, V, G) {
130
+ function j(_, P, G) {
131
131
  {
132
132
  var ne = $.ReactDebugCurrentFrame, pe = ne.getStackAddendum();
133
- pe !== "" && (V += "%s", G = G.concat([pe]));
133
+ pe !== "" && (P += "%s", G = G.concat([pe]));
134
134
  var Se = G.map(function(de) {
135
135
  return String(de);
136
136
  });
137
- Se.unshift("Warning: " + V), Function.prototype.apply.call(console[_], console, Se);
137
+ Se.unshift("Warning: " + P), Function.prototype.apply.call(console[_], console, Se);
138
138
  }
139
139
  }
140
140
  var Y = !1, B = !1, O = !1, E = !1, U = !1, re;
@@ -146,11 +146,11 @@ function Jp() {
146
146
  // with.
147
147
  _.$$typeof === re || _.getModuleId !== void 0));
148
148
  }
149
- function oe(_, V, G) {
149
+ function oe(_, P, G) {
150
150
  var ne = _.displayName;
151
151
  if (ne)
152
152
  return ne;
153
- var pe = V.displayName || V.name || "";
153
+ var pe = P.displayName || P.name || "";
154
154
  return pe !== "" ? G + "(" + pe + ")" : G;
155
155
  }
156
156
  function be(_) {
@@ -180,8 +180,8 @@ function Jp() {
180
180
  if (typeof _ == "object")
181
181
  switch (_.$$typeof) {
182
182
  case l:
183
- var V = _;
184
- return be(V) + ".Consumer";
183
+ var P = _;
184
+ return be(P) + ".Consumer";
185
185
  case s:
186
186
  var G = _;
187
187
  return be(G._context) + ".Provider";
@@ -264,7 +264,7 @@ function Jp() {
264
264
  }
265
265
  }
266
266
  var Jn = $.ReactCurrentDispatcher, Ln;
267
- function tn(_, V, G) {
267
+ function tn(_, P, G) {
268
268
  {
269
269
  if (Ln === void 0)
270
270
  try {
@@ -282,7 +282,7 @@ function Jp() {
282
282
  var An = typeof WeakMap == "function" ? WeakMap : Map;
283
283
  nn = new An();
284
284
  }
285
- function En(_, V) {
285
+ function En(_, P) {
286
286
  if (!_ || fn)
287
287
  return "";
288
288
  {
@@ -297,7 +297,7 @@ function Jp() {
297
297
  var Se;
298
298
  Se = Jn.current, Jn.current = null, Ii();
299
299
  try {
300
- if (V) {
300
+ if (P) {
301
301
  var de = function() {
302
302
  throw Error();
303
303
  };
@@ -353,14 +353,14 @@ function Jp() {
353
353
  var On = _ ? _.displayName || _.name : "", ps = On ? tn(On) : "";
354
354
  return typeof _ == "function" && nn.set(_, ps), ps;
355
355
  }
356
- function Zn(_, V, G) {
356
+ function Zn(_, P, G) {
357
357
  return En(_, !1);
358
358
  }
359
359
  function er(_) {
360
- var V = _.prototype;
361
- return !!(V && V.isReactComponent);
360
+ var P = _.prototype;
361
+ return !!(P && P.isReactComponent);
362
362
  }
363
- function rn(_, V, G) {
363
+ function rn(_, P, G) {
364
364
  if (_ == null)
365
365
  return "";
366
366
  if (typeof _ == "function")
@@ -378,11 +378,11 @@ function Jp() {
378
378
  case c:
379
379
  return Zn(_.render);
380
380
  case h:
381
- return rn(_.type, V, G);
381
+ return rn(_.type, P, G);
382
382
  case f: {
383
383
  var ne = _, pe = ne._payload, Se = ne._init;
384
384
  try {
385
- return rn(Se(pe), V, G);
385
+ return rn(Se(pe), P, G);
386
386
  } catch {
387
387
  }
388
388
  }
@@ -392,12 +392,12 @@ function Jp() {
392
392
  var tr = Object.prototype.hasOwnProperty, ts = {}, ns = $.ReactDebugCurrentFrame;
393
393
  function Mr(_) {
394
394
  if (_) {
395
- var V = _._owner, G = rn(_.type, _._source, V ? V.type : null);
395
+ var P = _._owner, G = rn(_.type, _._source, P ? P.type : null);
396
396
  ns.setExtraStackFrame(G);
397
397
  } else
398
398
  ns.setExtraStackFrame(null);
399
399
  }
400
- function Ru(_, V, G, ne, pe) {
400
+ function Ru(_, P, G, ne, pe) {
401
401
  {
402
402
  var Se = Function.call.bind(tr);
403
403
  for (var de in _)
@@ -408,7 +408,7 @@ function Jp() {
408
408
  var it = Error((ne || "React class") + ": " + G + " type `" + de + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof _[de] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
409
409
  throw it.name = "Invariant Violation", it;
410
410
  }
411
- le = _[de](V, de, ne, G, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
411
+ le = _[de](P, de, ne, G, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
412
412
  } catch (Ve) {
413
413
  le = Ve;
414
414
  }
@@ -422,7 +422,7 @@ function Jp() {
422
422
  }
423
423
  function Fu(_) {
424
424
  {
425
- var V = typeof Symbol == "function" && Symbol.toStringTag, G = V && _[Symbol.toStringTag] || _.constructor.name || "Object";
425
+ var P = typeof Symbol == "function" && Symbol.toStringTag, G = P && _[Symbol.toStringTag] || _.constructor.name || "Object";
426
426
  return G;
427
427
  }
428
428
  }
@@ -449,30 +449,30 @@ function Jp() {
449
449
  zi = {};
450
450
  function Nu(_) {
451
451
  if (tr.call(_, "ref")) {
452
- var V = Object.getOwnPropertyDescriptor(_, "ref").get;
453
- if (V && V.isReactWarning)
452
+ var P = Object.getOwnPropertyDescriptor(_, "ref").get;
453
+ if (P && P.isReactWarning)
454
454
  return !1;
455
455
  }
456
456
  return _.ref !== void 0;
457
457
  }
458
458
  function Bu(_) {
459
459
  if (tr.call(_, "key")) {
460
- var V = Object.getOwnPropertyDescriptor(_, "key").get;
461
- if (V && V.isReactWarning)
460
+ var P = Object.getOwnPropertyDescriptor(_, "key").get;
461
+ if (P && P.isReactWarning)
462
462
  return !1;
463
463
  }
464
464
  return _.key !== void 0;
465
465
  }
466
- function qu(_, V) {
467
- if (typeof _.ref == "string" && nr.current && V && nr.current.stateNode !== V) {
466
+ function qu(_, P) {
467
+ if (typeof _.ref == "string" && nr.current && P && nr.current.stateNode !== P) {
468
468
  var G = ye(nr.current.type);
469
469
  zi[G] || (A('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', ye(nr.current.type), _.ref), zi[G] = !0);
470
470
  }
471
471
  }
472
- function Wu(_, V) {
472
+ function Wu(_, P) {
473
473
  {
474
474
  var G = function() {
475
- os || (os = !0, A("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", V));
475
+ os || (os = !0, A("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", P));
476
476
  };
477
477
  G.isReactWarning = !0, Object.defineProperty(_, "key", {
478
478
  get: G,
@@ -480,10 +480,10 @@ function Jp() {
480
480
  });
481
481
  }
482
482
  }
483
- function ju(_, V) {
483
+ function ju(_, P) {
484
484
  {
485
485
  var G = function() {
486
- as || (as = !0, A("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", V));
486
+ as || (as = !0, A("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", P));
487
487
  };
488
488
  G.isReactWarning = !0, Object.defineProperty(_, "ref", {
489
489
  get: G,
@@ -491,13 +491,13 @@ function Jp() {
491
491
  });
492
492
  }
493
493
  }
494
- var Gu = function(_, V, G, ne, pe, Se, de) {
494
+ var Gu = function(_, P, G, ne, pe, Se, de) {
495
495
  var le = {
496
496
  // This tag allows us to uniquely identify this as a React Element
497
497
  $$typeof: t,
498
498
  // Built-in properties that belong on the element
499
499
  type: _,
500
- key: V,
500
+ key: P,
501
501
  ref: G,
502
502
  props: de,
503
503
  // Record the component responsible for creating this element.
@@ -520,12 +520,12 @@ function Jp() {
520
520
  value: pe
521
521
  }), Object.freeze && (Object.freeze(le.props), Object.freeze(le)), le;
522
522
  };
523
- function Yu(_, V, G, ne, pe) {
523
+ function Yu(_, P, G, ne, pe) {
524
524
  {
525
525
  var Se, de = {}, le = null, it = null;
526
- G !== void 0 && (is(G), le = "" + G), Bu(V) && (is(V.key), le = "" + V.key), Nu(V) && (it = V.ref, qu(V, pe));
527
- for (Se in V)
528
- tr.call(V, Se) && !Vu.hasOwnProperty(Se) && (de[Se] = V[Se]);
526
+ G !== void 0 && (is(G), le = "" + G), Bu(P) && (is(P.key), le = "" + P.key), Nu(P) && (it = P.ref, qu(P, pe));
527
+ for (Se in P)
528
+ tr.call(P, Se) && !Vu.hasOwnProperty(Se) && (de[Se] = P[Se]);
529
529
  if (_ && _.defaultProps) {
530
530
  var Ve = _.defaultProps;
531
531
  for (Se in Ve)
@@ -541,7 +541,7 @@ function Jp() {
541
541
  var Li = $.ReactCurrentOwner, ss = $.ReactDebugCurrentFrame;
542
542
  function Rn(_) {
543
543
  if (_) {
544
- var V = _._owner, G = rn(_.type, _._source, V ? V.type : null);
544
+ var P = _._owner, G = rn(_.type, _._source, P ? P.type : null);
545
545
  ss.setExtraStackFrame(G);
546
546
  } else
547
547
  ss.setExtraStackFrame(null);
@@ -566,10 +566,10 @@ Check the render method of \`` + _ + "`.";
566
566
  function Hu(_) {
567
567
  {
568
568
  if (_ !== void 0) {
569
- var V = _.fileName.replace(/^.*[\\\/]/, ""), G = _.lineNumber;
569
+ var P = _.fileName.replace(/^.*[\\\/]/, ""), G = _.lineNumber;
570
570
  return `
571
571
 
572
- Check your code at ` + V + ":" + G + ".";
572
+ Check your code at ` + P + ":" + G + ".";
573
573
  }
574
574
  return "";
575
575
  }
@@ -577,22 +577,22 @@ Check your code at ` + V + ":" + G + ".";
577
577
  var cs = {};
578
578
  function Qu(_) {
579
579
  {
580
- var V = ls();
581
- if (!V) {
580
+ var P = ls();
581
+ if (!P) {
582
582
  var G = typeof _ == "string" ? _ : _.displayName || _.name;
583
- G && (V = `
583
+ G && (P = `
584
584
 
585
585
  Check the top-level render call using <` + G + ">.");
586
586
  }
587
- return V;
587
+ return P;
588
588
  }
589
589
  }
590
- function ds(_, V) {
590
+ function ds(_, P) {
591
591
  {
592
592
  if (!_._store || _._store.validated || _.key != null)
593
593
  return;
594
594
  _._store.validated = !0;
595
- var G = Qu(V);
595
+ var G = Qu(P);
596
596
  if (cs[G])
597
597
  return;
598
598
  cs[G] = !0;
@@ -600,14 +600,14 @@ Check the top-level render call using <` + G + ">.");
600
600
  _ && _._owner && _._owner !== Li.current && (ne = " It was passed a child from " + ye(_._owner.type) + "."), Rn(_), A('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', G, ne), Rn(null);
601
601
  }
602
602
  }
603
- function us(_, V) {
603
+ function us(_, P) {
604
604
  {
605
605
  if (typeof _ != "object")
606
606
  return;
607
607
  if ($i(_))
608
608
  for (var G = 0; G < _.length; G++) {
609
609
  var ne = _[G];
610
- Ei(ne) && ds(ne, V);
610
+ Ei(ne) && ds(ne, P);
611
611
  }
612
612
  else if (Ei(_))
613
613
  _._store && (_._store.validated = !0);
@@ -615,39 +615,39 @@ Check the top-level render call using <` + G + ">.");
615
615
  var pe = T(_);
616
616
  if (typeof pe == "function" && pe !== _.entries)
617
617
  for (var Se = pe.call(_), de; !(de = Se.next()).done; )
618
- Ei(de.value) && ds(de.value, V);
618
+ Ei(de.value) && ds(de.value, P);
619
619
  }
620
620
  }
621
621
  }
622
622
  function Ku(_) {
623
623
  {
624
- var V = _.type;
625
- if (V == null || typeof V == "string")
624
+ var P = _.type;
625
+ if (P == null || typeof P == "string")
626
626
  return;
627
627
  var G;
628
- if (typeof V == "function")
629
- G = V.propTypes;
630
- else if (typeof V == "object" && (V.$$typeof === c || // Note: Memo only checks outer props here.
628
+ if (typeof P == "function")
629
+ G = P.propTypes;
630
+ else if (typeof P == "object" && (P.$$typeof === c || // Note: Memo only checks outer props here.
631
631
  // Inner props are checked in the reconciler.
632
- V.$$typeof === h))
633
- G = V.propTypes;
632
+ P.$$typeof === h))
633
+ G = P.propTypes;
634
634
  else
635
635
  return;
636
636
  if (G) {
637
- var ne = ye(V);
637
+ var ne = ye(P);
638
638
  Ru(G, _.props, "prop", ne, _);
639
- } else if (V.PropTypes !== void 0 && !Ai) {
639
+ } else if (P.PropTypes !== void 0 && !Ai) {
640
640
  Ai = !0;
641
- var pe = ye(V);
641
+ var pe = ye(P);
642
642
  A("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", pe || "Unknown");
643
643
  }
644
- typeof V.getDefaultProps == "function" && !V.getDefaultProps.isReactClassApproved && A("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
644
+ typeof P.getDefaultProps == "function" && !P.getDefaultProps.isReactClassApproved && A("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
645
645
  }
646
646
  }
647
647
  function Uu(_) {
648
648
  {
649
- for (var V = Object.keys(_.props), G = 0; G < V.length; G++) {
650
- var ne = V[G];
649
+ for (var P = Object.keys(_.props), G = 0; G < P.length; G++) {
650
+ var ne = P[G];
651
651
  if (ne !== "children" && ne !== "key") {
652
652
  Rn(_), A("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", ne), Rn(null);
653
653
  break;
@@ -656,7 +656,7 @@ Check the top-level render call using <` + G + ">.");
656
656
  _.ref !== null && (Rn(_), A("Invalid attribute `ref` supplied to `React.Fragment`."), Rn(null));
657
657
  }
658
658
  }
659
- function hs(_, V, G, ne, pe, Se) {
659
+ function hs(_, P, G, ne, pe, Se) {
660
660
  {
661
661
  var de = te(_);
662
662
  if (!de) {
@@ -667,11 +667,11 @@ Check the top-level render call using <` + G + ">.");
667
667
  var Ve;
668
668
  _ === null ? Ve = "null" : $i(_) ? Ve = "array" : _ !== void 0 && _.$$typeof === t ? (Ve = "<" + (ye(_.type) || "Unknown") + " />", le = " Did you accidentally export a JSX literal instead of a component?") : Ve = typeof _, A("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", Ve, le);
669
669
  }
670
- var Be = Yu(_, V, G, pe, Se);
670
+ var Be = Yu(_, P, G, pe, Se);
671
671
  if (Be == null)
672
672
  return Be;
673
673
  if (de) {
674
- var _t = V.children;
674
+ var _t = P.children;
675
675
  if (_t !== void 0)
676
676
  if (ne)
677
677
  if ($i(_t)) {
@@ -686,11 +686,11 @@ Check the top-level render call using <` + G + ">.");
686
686
  return _ === r ? Uu(Be) : Ku(Be), Be;
687
687
  }
688
688
  }
689
- function Xu(_, V, G) {
690
- return hs(_, V, G, !0);
689
+ function Xu(_, P, G) {
690
+ return hs(_, P, G, !0);
691
691
  }
692
- function Ju(_, V, G) {
693
- return hs(_, V, G, !1);
692
+ function Ju(_, P, G) {
693
+ return hs(_, P, G, !1);
694
694
  }
695
695
  var Zu = Ju, eh = Xu;
696
696
  ir.Fragment = r, ir.jsx = Zu, ir.jsxs = eh;
@@ -699,7 +699,7 @@ Check the top-level render call using <` + G + ">.");
699
699
  (function(e) {
700
700
  process.env.NODE_ENV === "production" ? e.exports = Xp() : e.exports = Jp();
701
701
  })(Up);
702
- const j = fr.Fragment, i = fr.jsx, u = fr.jsxs, Mn = {
702
+ const W = fr.Fragment, i = fr.jsx, u = fr.jsxs, Mn = {
703
703
  CryptoJS: xl,
704
704
  d3Array: Th,
705
705
  dayjs: ee,
@@ -1164,7 +1164,7 @@ class sa {
1164
1164
  }), this.instanceRegistry.clear(), this.factoryRegistry.clear();
1165
1165
  }
1166
1166
  }
1167
- const hc = "10.24.0", vf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1167
+ const hc = "10.24.1", vf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1168
1168
  __proto__: null,
1169
1169
  version: hc
1170
1170
  }, Symbol.toStringTag, { value: "Module" }));
@@ -1382,10 +1382,10 @@ function Tf({
1382
1382
  min: x,
1383
1383
  max: T
1384
1384
  } = M(() => {
1385
- const A = xh(h, (Y) => Y[w.columnKey]), W = vh(h, (Y) => Y[w.columnKey]);
1385
+ const A = xh(h, (Y) => Y[w.columnKey]), j = vh(h, (Y) => Y[w.columnKey]);
1386
1386
  return {
1387
1387
  min: ce(A, w.columnKey),
1388
- max: ce(W, w.columnKey)
1388
+ max: ce(j, w.columnKey)
1389
1389
  };
1390
1390
  }, [h, w]), $ = {
1391
1391
  tooltip: {},
@@ -1632,7 +1632,7 @@ class ht extends R.Component {
1632
1632
  error: null
1633
1633
  });
1634
1634
  };
1635
- return /* @__PURE__ */ u(P, { children: [
1635
+ return /* @__PURE__ */ u(V, { children: [
1636
1636
  /* @__PURE__ */ i(C, { size: "xs", children: (t = this.state.error) == null ? void 0 : t.message }),
1637
1637
  /* @__PURE__ */ i(I, { variant: "subtle", size: "xs", mx: "auto", compact: !0, sx: {
1638
1638
  display: "block"
@@ -1776,7 +1776,7 @@ const vt = R.forwardRef(Ef), kt = {
1776
1776
  }]
1777
1777
  };
1778
1778
  function Rf(e) {
1779
- return /* @__PURE__ */ i(j, {});
1779
+ return /* @__PURE__ */ i(W, {});
1780
1780
  }
1781
1781
  function Of(e) {
1782
1782
  return /* @__PURE__ */ i(C, { children: "Click chart's series" });
@@ -2520,7 +2520,7 @@ const pm = D((e) => {
2520
2520
  } = e, c = Lt(() => new lm(o, s), [o, s]);
2521
2521
  return vr(async () => {
2522
2522
  await c.configOperation(a, l);
2523
- }, [a, c]), cm(c) ? /* @__PURE__ */ u(j, { children: [
2523
+ }, [a, c]), cm(c) ? /* @__PURE__ */ u(W, { children: [
2524
2524
  /* @__PURE__ */ i(dm, { model: c, onClick: n }),
2525
2525
  /* @__PURE__ */ i(Te, { size: 600, opened: t, onClose: r, title: "Operation Settings", zIndex: 320, children: /* @__PURE__ */ u(S, { children: [
2526
2526
  /* @__PURE__ */ i(hm, { model: c }),
@@ -2600,7 +2600,7 @@ const bm = D(({
2600
2600
  setTrue: n,
2601
2601
  setFalse: r
2602
2602
  }] = Je(!1), o = e.model;
2603
- return /* @__PURE__ */ u(j, { children: [
2603
+ return /* @__PURE__ */ u(W, { children: [
2604
2604
  /* @__PURE__ */ i(Te, { opened: t, onClose: r, title: "Setup Trigger", zIndex: 320, children: /* @__PURE__ */ u(S, { children: [
2605
2605
  /* @__PURE__ */ i(ym, { model: o }),
2606
2606
  /* @__PURE__ */ i(xm, { model: o }),
@@ -5655,8 +5655,8 @@ function Hg(e, t, n = {}) {
5655
5655
  e.doc.nodesBetween(m, w, (x, T) => {
5656
5656
  if (!x.isText && !x.marks.length)
5657
5657
  return;
5658
- const $ = Math.max(m, T), A = Math.min(w, T + x.nodeSize), W = A - $;
5659
- s += W, l.push(...x.marks.map((Y) => ({
5658
+ const $ = Math.max(m, T), A = Math.min(w, T + x.nodeSize), j = A - $;
5659
+ s += j, l.push(...x.marks.map((Y) => ({
5660
5660
  mark: Y,
5661
5661
  from: $,
5662
5662
  to: A
@@ -5794,7 +5794,7 @@ const tb = ({ keepMarks: e = !0 } = {}) => ({ tr: t, state: n, dispatch: r, edit
5794
5794
  const $ = l.index(-1) ? 1 : l.index(-2) ? 2 : 3;
5795
5795
  for (let E = l.depth - $; E >= l.depth - 3; E -= 1)
5796
5796
  T = fe.from(l.node(E).copy(T));
5797
- const A = l.indexAfter(-1) < l.node(-2).childCount ? 1 : l.indexAfter(-2) < l.node(-3).childCount ? 2 : 3, W = qr(h, l.node().type.name, l.node().attrs), Y = ((a = s.contentMatch.defaultType) === null || a === void 0 ? void 0 : a.createAndFill(W)) || void 0;
5797
+ const A = l.indexAfter(-1) < l.node(-2).childCount ? 1 : l.indexAfter(-2) < l.node(-3).childCount ? 2 : 3, j = qr(h, l.node().type.name, l.node().attrs), Y = ((a = s.contentMatch.defaultType) === null || a === void 0 ? void 0 : a.createAndFill(j)) || void 0;
5798
5798
  T = T.append(fe.from(s.createAndFill(null, Y) || void 0));
5799
5799
  const B = l.before(l.depth - ($ - 1));
5800
5800
  t.replace(B, l.after(-A), new _e(T, 4 - $, 0));
@@ -5816,10 +5816,10 @@ const tb = ({ keepMarks: e = !0 } = {}) => ({ tr: t, state: n, dispatch: r, edit
5816
5816
  if (!Br(t.doc, l.pos, 2))
5817
5817
  return !1;
5818
5818
  if (r) {
5819
- const { selection: T, storedMarks: $ } = n, { splittableMarks: A } = o.extensionManager, W = $ || T.$to.parentOffset && T.$from.marks();
5820
- if (t.split(l.pos, 2, x).scrollIntoView(), !W || !r)
5819
+ const { selection: T, storedMarks: $ } = n, { splittableMarks: A } = o.extensionManager, j = $ || T.$to.parentOffset && T.$from.marks();
5820
+ if (t.split(l.pos, 2, x).scrollIntoView(), !j || !r)
5821
5821
  return !0;
5822
- const Y = W.filter((B) => A.includes(B.type.name));
5822
+ const Y = j.filter((B) => A.includes(B.type.name));
5823
5823
  t.ensureMarks(Y);
5824
5824
  }
5825
5825
  return !0;
@@ -5842,11 +5842,11 @@ const tb = ({ keepMarks: e = !0 } = {}) => ({ tr: t, state: n, dispatch: r, edit
5842
5842
  const o = e.doc.nodeAt(r);
5843
5843
  return n.node.type === (o == null ? void 0 : o.type) && Fc(e.doc, r) && e.join(r), !0;
5844
5844
  }, rb = (e, t, n, r = {}) => ({ editor: o, tr: a, state: s, dispatch: l, chain: c, commands: d, can: p }) => {
5845
- const { extensions: h, splittableMarks: f } = o.extensionManager, m = rt(e, s.schema), w = rt(t, s.schema), { selection: x, storedMarks: T } = s, { $from: $, $to: A } = x, W = $.blockRange(A), Y = T || x.$to.parentOffset && x.$from.marks();
5846
- if (!W)
5845
+ const { extensions: h, splittableMarks: f } = o.extensionManager, m = rt(e, s.schema), w = rt(t, s.schema), { selection: x, storedMarks: T } = s, { $from: $, $to: A } = x, j = $.blockRange(A), Y = T || x.$to.parentOffset && x.$from.marks();
5846
+ if (!j)
5847
5847
  return !1;
5848
5848
  const B = ya((O) => Vs(O.type.name, h))(x);
5849
- if (W.depth >= 1 && B && W.depth - B.depth <= 1) {
5849
+ if (j.depth >= 1 && B && j.depth - B.depth <= 1) {
5850
5850
  if (B.node.type === m)
5851
5851
  return d.liftListItem(w);
5852
5852
  if (Vs(B.node.type.name, h) && m.validContent(B.node.content) && l)
@@ -6210,7 +6210,7 @@ function yb() {
6210
6210
  open: t,
6211
6211
  close: n
6212
6212
  }] = na(!1);
6213
- return /* @__PURE__ */ u(j, { children: [
6213
+ return /* @__PURE__ */ u(W, { children: [
6214
6214
  /* @__PURE__ */ i(Te, { opened: e, onClose: n, title: "About FunctionUtils", zIndex: 330, withinPortal: !0, children: /* @__PURE__ */ i(fi, { value: tf, styles: {
6215
6215
  root: {
6216
6216
  border: "none"
@@ -6228,7 +6228,7 @@ function yb() {
6228
6228
  const xb = ({
6229
6229
  value: e,
6230
6230
  onChange: t
6231
- }) => /* @__PURE__ */ i(P, { sx: {
6231
+ }) => /* @__PURE__ */ i(V, { sx: {
6232
6232
  position: "relative",
6233
6233
  flexGrow: 1
6234
6234
  }, children: /* @__PURE__ */ i(ct, { className: "function-editor", height: "100%", defaultLanguage: "javascript", value: e, onChange: (r) => {
@@ -6288,8 +6288,8 @@ const xb = ({
6288
6288
  open: c,
6289
6289
  close: d
6290
6290
  }] = na(!1);
6291
- return /* @__PURE__ */ u(j, { children: [
6292
- /* @__PURE__ */ i(Te, { opened: l, onClose: d, title: "Authentication", withinPortal: !0, zIndex: 320, size: "900px", children: /* @__PURE__ */ i(P, { h: 600, children: /* @__PURE__ */ i(yr, { value: e, onChange: t, defaultValue: a, label: n }) }) }),
6291
+ return /* @__PURE__ */ u(W, { children: [
6292
+ /* @__PURE__ */ i(Te, { opened: l, onClose: d, title: "Authentication", withinPortal: !0, zIndex: 320, size: "900px", children: /* @__PURE__ */ i(V, { h: 600, children: /* @__PURE__ */ i(yr, { value: e, onChange: t, defaultValue: a, label: n }) }) }),
6293
6293
  /* @__PURE__ */ i(I, { onClick: c, ...o, children: r })
6294
6294
  ] });
6295
6295
  }), Bs = ["function aggregation({ queryData }, utils) {", ' return "Aggregation Result";', "}"].join(`
@@ -6449,7 +6449,7 @@ function Db({
6449
6449
  }, [a]), c = R.useMemo(() => !k.isEqual(o, t), [o, t]), d = () => {
6450
6450
  n(o.map((f) => f.toString()));
6451
6451
  }, p = pl(), h = R.useMemo(() => Object.entries(p.colors).map(([f, m]) => m[6]), [p]);
6452
- return /* @__PURE__ */ u(j, { children: [
6452
+ return /* @__PURE__ */ u(W, { children: [
6453
6453
  /* @__PURE__ */ u(v, { position: "left", ref: r, children: [
6454
6454
  /* @__PURE__ */ i(C, { children: e }),
6455
6455
  /* @__PURE__ */ i(K, { mr: 5, variant: "filled", color: "blue", disabled: !c, onClick: d, children: /* @__PURE__ */ i(ve, { size: 20 }) })
@@ -6555,7 +6555,7 @@ function zb({
6555
6555
  }, [s]), c = R.useCallback((h) => {
6556
6556
  s((f) => (f.splice(h, 1), [...f]));
6557
6557
  }, [s]), d = R.useMemo(() => !k.isEqual(a.map(String), t.map(String)), [a, t]);
6558
- return /* @__PURE__ */ u(j, { children: [
6558
+ return /* @__PURE__ */ u(W, { children: [
6559
6559
  /* @__PURE__ */ u(v, { position: "left", ref: o, children: [
6560
6560
  /* @__PURE__ */ i(C, { children: e }),
6561
6561
  /* @__PURE__ */ i(K, { mr: 5, variant: "filled", color: "blue", disabled: !d, onClick: () => {
@@ -6600,7 +6600,7 @@ const Lb = R.forwardRef(zb), Qc = R.forwardRef(function({
6600
6600
  }
6601
6601
  });
6602
6602
  };
6603
- return /* @__PURE__ */ u(j, { children: [
6603
+ return /* @__PURE__ */ u(W, { children: [
6604
6604
  /* @__PURE__ */ i(L, { my: "xs", label: "Typography", labelPosition: "center" }),
6605
6605
  /* @__PURE__ */ i(S, { children: /* @__PURE__ */ i(z, { label: "Font Size", placeholder: "10px, 1em, 1rem, 100%...", sx: {
6606
6606
  flex: 1
@@ -6621,7 +6621,7 @@ const Lb = R.forwardRef(zb), Qc = R.forwardRef(function({
6621
6621
  value: "continuous"
6622
6622
  }], value: t.color.type, onChange: s }),
6623
6623
  o === "static" && /* @__PURE__ */ i(at, { value: t.color.staticColor, onChange: (l) => a("color.staticColor", l) }),
6624
- o === "continuous" && /* @__PURE__ */ u(j, { children: [
6624
+ o === "continuous" && /* @__PURE__ */ u(W, { children: [
6625
6625
  /* @__PURE__ */ i(Lb, { label: "Value Range", value: t.color.valueRange, type: "number", onChange: (l) => a("color.valueRange", l) }),
6626
6626
  /* @__PURE__ */ i(Ib, { label: "Color Range", value: t.color.colorRange, onChange: (l) => a("color.colorRange", l) })
6627
6627
  ] })
@@ -6637,7 +6637,7 @@ R.forwardRef(function({
6637
6637
  const c = k.cloneDeep(t);
6638
6638
  k.set(c, s, l), n(c);
6639
6639
  };
6640
- return /* @__PURE__ */ u(P, { px: "sm", py: "md", ref: o, children: [
6640
+ return /* @__PURE__ */ u(V, { px: "sm", py: "md", ref: o, children: [
6641
6641
  /* @__PURE__ */ i(C, { weight: "bold", pb: 0, children: t.name }),
6642
6642
  /* @__PURE__ */ i(L, { my: "xs", label: "Data", labelPosition: "center" }),
6643
6643
  /* @__PURE__ */ u(v, { grow: !0, noWrap: !0, children: [
@@ -6898,14 +6898,10 @@ function Wb({
6898
6898
  data: o,
6899
6899
  variables: r
6900
6900
  }), [l, o, r]);
6901
- return !n || !a || !s ? null : /* @__PURE__ */ i(P, { sx: {
6902
- width: a,
6903
- height: s,
6904
- overflow: "hidden"
6905
- }, children: /* @__PURE__ */ i(lt, { echarts: me, option: m, style: {
6901
+ return !n || !a || !s ? null : /* @__PURE__ */ i(lt, { echarts: me, option: m, style: {
6906
6902
  width: a,
6907
6903
  height: s
6908
- }, onEvents: f, notMerge: !0, theme: "merico-light" }) });
6904
+ }, onEvents: f, notMerge: !0, theme: "merico-light" });
6909
6905
  }
6910
6906
  function jb({
6911
6907
  control: e,
@@ -6980,7 +6976,7 @@ const Yb = ({
6980
6976
  disabled: e,
6981
6977
  value: t,
6982
6978
  onChange: n
6983
- }) => /* @__PURE__ */ u(P, { sx: {
6979
+ }) => /* @__PURE__ */ u(V, { sx: {
6984
6980
  position: "relative"
6985
6981
  }, children: [
6986
6982
  e && /* @__PURE__ */ i(Xt, { opacity: 0.6, color: "#fff", zIndex: 5, blur: 2 }),
@@ -7028,7 +7024,7 @@ const Yb = ({
7028
7024
  }, f = () => {
7029
7025
  h(kt.func_content);
7030
7026
  };
7031
- return /* @__PURE__ */ u(j, { children: [
7027
+ return /* @__PURE__ */ u(W, { children: [
7032
7028
  /* @__PURE__ */ i(I, { variant: "filled", mt: 24, onClick: o, sx: {
7033
7029
  flexGrow: 0
7034
7030
  }, children: "Customize Label" }),
@@ -7086,7 +7082,7 @@ const Yb = ({
7086
7082
  ] })), Qb = ({
7087
7083
  control: e,
7088
7084
  watch: t
7089
- }) => (t(["y_axis"]), /* @__PURE__ */ u(j, { children: [
7085
+ }) => (t(["y_axis"]), /* @__PURE__ */ u(W, { children: [
7090
7086
  /* @__PURE__ */ u(v, { grow: !0, noWrap: !0, children: [
7091
7087
  /* @__PURE__ */ i(y, { name: "y_axis.name", control: e, render: ({
7092
7088
  field: n
@@ -7148,7 +7144,7 @@ const Yb = ({
7148
7144
  }), c = t("tooltip.metrics.0.id"), [d, p] = Q(() => c ?? null);
7149
7145
  return q(() => {
7150
7146
  c && p((h) => h !== null ? h : c);
7151
- }, [c]), /* @__PURE__ */ u(j, { children: [
7147
+ }, [c]), /* @__PURE__ */ u(W, { children: [
7152
7148
  /* @__PURE__ */ u(v, { spacing: 2, sx: {
7153
7149
  cursor: "default",
7154
7150
  userSelect: "none"
@@ -7512,7 +7508,7 @@ const dy = {
7512
7508
  payload: []
7513
7509
  };
7514
7510
  function uy(e) {
7515
- return /* @__PURE__ */ i(j, {});
7511
+ return /* @__PURE__ */ i(W, {});
7516
7512
  }
7517
7513
  function hy(e) {
7518
7514
  return /* @__PURE__ */ i(C, { children: "Click this button" });
@@ -7783,7 +7779,7 @@ const Sy = {
7783
7779
  }]
7784
7780
  };
7785
7781
  function ky(e) {
7786
- return /* @__PURE__ */ i(j, {});
7782
+ return /* @__PURE__ */ i(W, {});
7787
7783
  }
7788
7784
  function Ty(e) {
7789
7785
  return /* @__PURE__ */ i(C, { children: "Click chart's series" });
@@ -8115,7 +8111,7 @@ function Ny({
8115
8111
  hide_in_legend: f,
8116
8112
  ...m
8117
8113
  }, w, x, T, $) {
8118
- const A = t.type !== "category", W = {
8114
+ const A = t.type !== "category", j = {
8119
8115
  label: {
8120
8116
  show: !!o,
8121
8117
  position: o,
@@ -8133,20 +8129,20 @@ function Ny({
8133
8129
  },
8134
8130
  ...m
8135
8131
  };
8136
- if (p && (W.endLabel = {
8132
+ if (p && (j.endLabel = {
8137
8133
  show: !0,
8138
8134
  formatter: a,
8139
8135
  offset: [-12, 12],
8140
8136
  align: "right"
8141
8137
  }), !s || s === e)
8142
- return W.data = Py({
8138
+ return j.data = Py({
8143
8139
  dataTemplate: w,
8144
8140
  data: x,
8145
8141
  aggregation_on_value: l,
8146
8142
  x_axis_data_key: e,
8147
8143
  y_axis_data_key: n,
8148
8144
  valueTypedXAxis: A
8149
- }), W;
8145
+ }), j;
8150
8146
  const Y = Vy({
8151
8147
  group_by_key: s,
8152
8148
  data: x,
@@ -8154,7 +8150,7 @@ function Ny({
8154
8150
  y_axis_data_key: n
8155
8151
  });
8156
8152
  return Object.entries(Y).map(([B, O]) => {
8157
- const E = Ze(W);
8153
+ const E = Ze(j);
8158
8154
  return E.name = B, E.color = void 0, E.data = O, E;
8159
8155
  });
8160
8156
  }
@@ -8402,11 +8398,7 @@ function Uy({
8402
8398
  bottom: xr(x.bottom, o, s)
8403
8399
  };
8404
8400
  }, [a, s]), w = Math.max(0, c - p - f);
8405
- return /* @__PURE__ */ u(P, { sx: {
8406
- width: l,
8407
- height: c,
8408
- overflow: "hidden"
8409
- }, children: [
8401
+ return /* @__PURE__ */ u(W, { children: [
8410
8402
  /* @__PURE__ */ i(C, { ref: d, align: "left", size: "xs", pl: "sm", sx: {
8411
8403
  display: Ws(a.stats.templates.top) ? "block" : "none"
8412
8404
  }, children: Object.values(m.top).map((x, T) => /* @__PURE__ */ i(R.Fragment, { children: x }, T)) }),
@@ -8429,19 +8421,19 @@ const ka = we(({
8429
8421
  return /* @__PURE__ */ u(S, { children: [
8430
8422
  /* @__PURE__ */ i(L, { variant: "dashed", label: "Scroll to Zoom", labelPosition: "center" }),
8431
8423
  /* @__PURE__ */ u(v, { children: [
8432
- /* @__PURE__ */ i(P, { sx: {
8424
+ /* @__PURE__ */ i(V, { sx: {
8433
8425
  flexGrow: 1
8434
8426
  }, children: /* @__PURE__ */ i(Xe, { label: "Enable on X Axis", checked: e.x_axis_scroll, onChange: (o) => r("x_axis_scroll")(o.currentTarget.checked) }) }),
8435
- /* @__PURE__ */ i(P, { sx: {
8427
+ /* @__PURE__ */ i(V, { sx: {
8436
8428
  flexGrow: 1
8437
8429
  }, children: /* @__PURE__ */ i(Xe, { label: "Enable on Y Axis", checked: e.y_axis_scroll, onChange: (o) => r("y_axis_scroll")(o.currentTarget.checked) }) })
8438
8430
  ] }),
8439
8431
  /* @__PURE__ */ i(L, { variant: "dashed", label: "Slider for Zooming", labelPosition: "center" }),
8440
8432
  /* @__PURE__ */ u(v, { children: [
8441
- /* @__PURE__ */ i(P, { sx: {
8433
+ /* @__PURE__ */ i(V, { sx: {
8442
8434
  flexGrow: 1
8443
8435
  }, children: /* @__PURE__ */ i(Xe, { label: "Slider for X Axis", checked: e.x_axis_slider, onChange: (o) => r("x_axis_slider")(o.currentTarget.checked) }) }),
8444
- /* @__PURE__ */ i(Ne, { label: "Not available for now, will overlap y-axis's label", children: /* @__PURE__ */ i(P, { sx: {
8436
+ /* @__PURE__ */ i(Ne, { label: "Not available for now, will overlap y-axis's label", children: /* @__PURE__ */ i(V, { sx: {
8445
8437
  flexGrow: 1
8446
8438
  }, children: /* @__PURE__ */ i(Xe, { label: "Slider for Y Axis", disabled: !e.y_axis_slider, checked: e.y_axis_slider, onChange: (o) => r("y_axis_slider")(o.currentTarget.checked) }) }) })
8447
8439
  ] })
@@ -8951,7 +8943,7 @@ function dx({
8951
8943
  seriesItem: n
8952
8944
  }) {
8953
8945
  const r = !!n.barWidth.trim();
8954
- return /* @__PURE__ */ u(j, { children: [
8946
+ return /* @__PURE__ */ u(W, { children: [
8955
8947
  /* @__PURE__ */ u(v, { grow: !0, noWrap: !0, children: [
8956
8948
  /* @__PURE__ */ i(y, { name: `series.${t}.stack`, control: e, render: ({
8957
8949
  field: o
@@ -8993,7 +8985,7 @@ function dx({
8993
8985
  const ux = ({
8994
8986
  value: e,
8995
8987
  onChange: t
8996
- }) => /* @__PURE__ */ i(P, { children: /* @__PURE__ */ i(ct, { height: "500px", defaultLanguage: "javascript", value: e, onChange: (r) => {
8988
+ }) => /* @__PURE__ */ i(V, { children: /* @__PURE__ */ i(ct, { height: "500px", defaultLanguage: "javascript", value: e, onChange: (r) => {
8997
8989
  r && t(r);
8998
8990
  }, theme: "vs-dark", options: {
8999
8991
  minimap: {
@@ -9026,8 +9018,8 @@ const ux = ({
9026
9018
  }, p = () => {
9027
9019
  d(Ta.dynamic.func_content);
9028
9020
  };
9029
- return /* @__PURE__ */ u(j, { children: [
9030
- /* @__PURE__ */ i(P, { sx: {
9021
+ return /* @__PURE__ */ u(W, { children: [
9022
+ /* @__PURE__ */ i(V, { sx: {
9031
9023
  width: "50%"
9032
9024
  }, children: /* @__PURE__ */ i(I, { variant: "filled", mt: 24, onClick: r, sx: {
9033
9025
  flexGrow: 0
@@ -9059,7 +9051,7 @@ const ux = ({
9059
9051
  size: r
9060
9052
  });
9061
9053
  };
9062
- return /* @__PURE__ */ i(j, { children: /* @__PURE__ */ i(ie, { defaultValue: 18, placeholder: "1 ~ 100", label: " ", hideControls: !0, value: e.size, onChange: n }) });
9054
+ return /* @__PURE__ */ i(W, { children: /* @__PURE__ */ i(ie, { defaultValue: 18, placeholder: "1 ~ 100", label: " ", hideControls: !0, value: e.size, onChange: n }) });
9063
9055
  }, mx = [{
9064
9056
  label: "Static",
9065
9057
  value: "static"
@@ -9111,7 +9103,7 @@ function yx({
9111
9103
  seriesItem: n
9112
9104
  }) {
9113
9105
  const r = n.showSymbol;
9114
- return /* @__PURE__ */ u(j, { children: [
9106
+ return /* @__PURE__ */ u(W, { children: [
9115
9107
  /* @__PURE__ */ i(L, { mb: -15, variant: "dashed", label: "Line Settings", labelPosition: "center" }),
9116
9108
  /* @__PURE__ */ u(v, { grow: !0, children: [
9117
9109
  /* @__PURE__ */ i(
@@ -9152,12 +9144,12 @@ function yx({
9152
9144
  /* @__PURE__ */ u(S, { children: [
9153
9145
  /* @__PURE__ */ i(y, { name: `series.${t}.smooth`, control: e, render: ({
9154
9146
  field: o
9155
- }) => /* @__PURE__ */ i(P, { sx: {
9147
+ }) => /* @__PURE__ */ i(V, { sx: {
9156
9148
  flexGrow: 1
9157
9149
  }, children: /* @__PURE__ */ i(Xe, { label: "Smooth Line", checked: o.value, onChange: (a) => o.onChange(a.currentTarget.checked) }) }) }),
9158
9150
  /* @__PURE__ */ i(y, { name: `series.${t}.display_name_on_line`, control: e, render: ({
9159
9151
  field: o
9160
- }) => /* @__PURE__ */ i(P, { sx: {
9152
+ }) => /* @__PURE__ */ i(V, { sx: {
9161
9153
  flexGrow: 1
9162
9154
  }, children: /* @__PURE__ */ i(Xe, { label: "Display Name on Line", checked: o.value ?? !1, onChange: (a) => o.onChange(a.currentTarget.checked) }) }) })
9163
9155
  ] })
@@ -9165,7 +9157,7 @@ function yx({
9165
9157
  /* @__PURE__ */ u(S, { children: [
9166
9158
  /* @__PURE__ */ i(y, { name: `series.${t}.showSymbol`, control: e, render: ({
9167
9159
  field: o
9168
- }) => /* @__PURE__ */ i(P, { mt: 10, mb: -10, sx: {
9160
+ }) => /* @__PURE__ */ i(V, { mt: 10, mb: -10, sx: {
9169
9161
  flexGrow: 1
9170
9162
  }, children: /* @__PURE__ */ i(Xe, { label: "Show Symbol on Line", checked: o.value, onChange: (a) => o.onChange(a.currentTarget.checked) }) }) }),
9171
9163
  r && /* @__PURE__ */ i(y, { name: `series.${t}.symbolSize`, control: e, render: ({
@@ -10244,7 +10236,7 @@ function sv({
10244
10236
  width: o,
10245
10237
  height: a
10246
10238
  } = e.viewport;
10247
- return /* @__PURE__ */ i(P, { children: /* @__PURE__ */ i(av, { width: o, height: a, data: r, conf: n }) });
10239
+ return /* @__PURE__ */ i(av, { width: o, height: a, data: r, conf: n });
10248
10240
  }
10249
10241
  const lv = [{
10250
10242
  label: "Top",
@@ -10377,7 +10369,7 @@ const lv = [{
10377
10369
  width: "100%"
10378
10370
  }, children: [
10379
10371
  /* @__PURE__ */ i(C, { children: "Min Value" }),
10380
- /* @__PURE__ */ i(Ne, { label: "Check to enable specific min value", children: /* @__PURE__ */ i(P, { children: /* @__PURE__ */ i(y, { name: `series.${n}.min.enable_value`, control: t, render: ({
10372
+ /* @__PURE__ */ i(Ne, { label: "Check to enable specific min value", children: /* @__PURE__ */ i(V, { children: /* @__PURE__ */ i(y, { name: `series.${n}.min.enable_value`, control: t, render: ({
10381
10373
  field: c
10382
10374
  }) => /* @__PURE__ */ i(xe, { size: "xs", checked: c.value, onChange: (d) => c.onChange(d.currentTarget.checked) }) }) }) })
10383
10375
  ] }), ...l })
@@ -10397,7 +10389,7 @@ const lv = [{
10397
10389
  width: "100%"
10398
10390
  }, children: [
10399
10391
  /* @__PURE__ */ i(C, { children: "Max Value" }),
10400
- /* @__PURE__ */ i(Ne, { label: "Check to enable specific max value", children: /* @__PURE__ */ i(P, { children: /* @__PURE__ */ i(y, { name: `series.${n}.max.enable_value`, control: t, render: ({
10392
+ /* @__PURE__ */ i(Ne, { label: "Check to enable specific max value", children: /* @__PURE__ */ i(V, { children: /* @__PURE__ */ i(y, { name: `series.${n}.max.enable_value`, control: t, render: ({
10401
10393
  field: c
10402
10394
  }) => /* @__PURE__ */ i(xe, { size: "xs", checked: c.value, onChange: (d) => c.onChange(d.currentTarget.checked) }) }) }) })
10403
10395
  ] }), ...l })
@@ -10451,7 +10443,7 @@ const lv = [{
10451
10443
  /* @__PURE__ */ i(y, { name: `series.${n}.axisLabel.position`, control: t, render: ({
10452
10444
  field: l
10453
10445
  }) => /* @__PURE__ */ i(Ia, { label: "Position", options: hv[s], ...l }) }),
10454
- /* @__PURE__ */ i(P, {})
10446
+ /* @__PURE__ */ i(V, {})
10455
10447
  ] }),
10456
10448
  /* @__PURE__ */ i(v, { grow: !0, noWrap: !0, children: /* @__PURE__ */ i(y, { name: `series.${n}.axisLabel.overflow`, control: t, render: ({
10457
10449
  field: l
@@ -10775,7 +10767,7 @@ function Tv(e, t, n, r) {
10775
10767
  const Dv = ({
10776
10768
  value: e,
10777
10769
  onChange: t
10778
- }) => /* @__PURE__ */ i(P, { children: /* @__PURE__ */ i(ct, { height: "500px", defaultLanguage: "javascript", value: e, onChange: (r) => {
10770
+ }) => /* @__PURE__ */ i(V, { children: /* @__PURE__ */ i(ct, { height: "500px", defaultLanguage: "javascript", value: e, onChange: (r) => {
10779
10771
  r && t(r);
10780
10772
  }, theme: "vs-dark", options: {
10781
10773
  minimap: {
@@ -10818,8 +10810,8 @@ const Dv = ({
10818
10810
  }, p = () => {
10819
10811
  d(Zc.dynamic.value);
10820
10812
  };
10821
- return /* @__PURE__ */ u(j, { children: [
10822
- /* @__PURE__ */ i(P, { sx: {
10813
+ return /* @__PURE__ */ u(W, { children: [
10814
+ /* @__PURE__ */ i(V, { sx: {
10823
10815
  width: "50%"
10824
10816
  }, children: /* @__PURE__ */ i(I, { variant: "filled", mt: 24, onClick: r, sx: {
10825
10817
  flexGrow: 0
@@ -11003,7 +10995,7 @@ function Ov(e, t, n) {
11003
10995
  return De({}, s, Rv);
11004
10996
  }
11005
10997
  function Fv(e) {
11006
- return /* @__PURE__ */ i(j, {});
10998
+ return /* @__PURE__ */ i(W, {});
11007
10999
  }
11008
11000
  function Pv(e) {
11009
11001
  return /* @__PURE__ */ i(C, { children: "Click heat block" });
@@ -11128,7 +11120,7 @@ function Nv({
11128
11120
  width: l,
11129
11121
  height: c
11130
11122
  } = e.viewport;
11131
- return /* @__PURE__ */ i(P, { children: /* @__PURE__ */ i(Vv, { variables: o, width: l, height: c, data: s, conf: a, interactionManager: n }) });
11123
+ return /* @__PURE__ */ i(Vv, { variables: o, width: l, height: c, data: s, conf: a, interactionManager: n });
11132
11124
  }
11133
11125
  function Bv({
11134
11126
  control: e,
@@ -11220,7 +11212,7 @@ const qv = ({
11220
11212
  }), c = t("tooltip.metrics.0.id"), [d, p] = Q(() => c ?? null);
11221
11213
  return q(() => {
11222
11214
  c && p((h) => h !== null ? h : c);
11223
- }, [c]), /* @__PURE__ */ u(j, { children: [
11215
+ }, [c]), /* @__PURE__ */ u(W, { children: [
11224
11216
  /* @__PURE__ */ u(v, { spacing: 2, sx: {
11225
11217
  cursor: "default",
11226
11218
  userSelect: "none"
@@ -11257,7 +11249,7 @@ const Gv = ({
11257
11249
  disabled: e,
11258
11250
  value: t,
11259
11251
  onChange: n
11260
- }) => /* @__PURE__ */ u(P, { sx: {
11252
+ }) => /* @__PURE__ */ u(V, { sx: {
11261
11253
  position: "relative"
11262
11254
  }, children: [
11263
11255
  e && /* @__PURE__ */ i(Xt, { opacity: 0.6, color: "#fff", zIndex: 5, blur: 2 }),
@@ -11309,7 +11301,7 @@ const Gv = ({
11309
11301
  }, f = () => {
11310
11302
  h(Yv.func_content);
11311
11303
  };
11312
- return /* @__PURE__ */ u(j, { children: [
11304
+ return /* @__PURE__ */ u(W, { children: [
11313
11305
  /* @__PURE__ */ i(I, { variant: "filled", mt: 24, onClick: o, sx: {
11314
11306
  flexGrow: 0
11315
11307
  }, children: "Customize Label" }),
@@ -11630,7 +11622,7 @@ const t0 = {
11630
11622
  }]
11631
11623
  };
11632
11624
  function n0(e) {
11633
- return /* @__PURE__ */ i(j, {});
11625
+ return /* @__PURE__ */ i(W, {});
11634
11626
  }
11635
11627
  function r0(e) {
11636
11628
  return /* @__PURE__ */ i(C, { children: "Click chart's series" });
@@ -12045,7 +12037,7 @@ const x0 = `
12045
12037
  }
12046
12038
  `, v0 = () => {
12047
12039
  const [e, t] = Q(!1);
12048
- return /* @__PURE__ */ u(j, { children: [
12040
+ return /* @__PURE__ */ u(W, { children: [
12049
12041
  /* @__PURE__ */ i(I, { variant: "subtle", compact: !0, onClick: () => t((n) => !n), children: e ? "Close" : "Click to see params for Label Template" }),
12050
12042
  /* @__PURE__ */ i(Qo, { in: e, children: /* @__PURE__ */ i(Sn, { language: "typescript", noCopy: !0, colorScheme: "dark", children: x0 }) })
12051
12043
  ] });
@@ -12537,7 +12529,7 @@ const od = {
12537
12529
  }]
12538
12530
  };
12539
12531
  function V0(e) {
12540
- return /* @__PURE__ */ i(j, {});
12532
+ return /* @__PURE__ */ i(W, {});
12541
12533
  }
12542
12534
  function N0(e) {
12543
12535
  return /* @__PURE__ */ i(C, { children: "Click chart's series" });
@@ -12698,7 +12690,7 @@ const H0 = {
12698
12690
  triggers: [od]
12699
12691
  };
12700
12692
  function Q0(e) {
12701
- return /* @__PURE__ */ i(j, {});
12693
+ return /* @__PURE__ */ i(W, {});
12702
12694
  }
12703
12695
  function K0(e) {
12704
12696
  return /* @__PURE__ */ i(C, { children: "Click heat block" });
@@ -12988,7 +12980,7 @@ function ow({
12988
12980
  width: l,
12989
12981
  height: c
12990
12982
  } = e.viewport;
12991
- return !l || !c || !a || Cl(a == null ? void 0 : a.dimensions) ? null : /* @__PURE__ */ i(P, { children: /* @__PURE__ */ i(iw, { variables: o, width: l, height: c, data: s, conf: a, interactionManager: n }) });
12983
+ return !l || !c || !a || Cl(a == null ? void 0 : a.dimensions) ? null : /* @__PURE__ */ i(iw, { variables: o, width: l, height: c, data: s, conf: a, interactionManager: n });
12992
12984
  }
12993
12985
  function aw({
12994
12986
  control: e,
@@ -13042,7 +13034,7 @@ function sw({
13042
13034
  const m = k.get(s, "0.id", null);
13043
13035
  p(m);
13044
13036
  };
13045
- return /* @__PURE__ */ u(j, { children: [
13037
+ return /* @__PURE__ */ u(W, { children: [
13046
13038
  /* @__PURE__ */ u(Yo, { icon: /* @__PURE__ */ i(Dn, { size: 16 }), title: "Additional Series", children: [
13047
13039
  "By setting ",
13048
13040
  /* @__PURE__ */ i(ch, { children: "Series Name Key" }),
@@ -13138,7 +13130,7 @@ function cw({
13138
13130
  const m = k.get(s, "0.id", null);
13139
13131
  p(m);
13140
13132
  };
13141
- return /* @__PURE__ */ i(j, { children: /* @__PURE__ */ u(g, { value: d, onTabChange: p, styles: {
13133
+ return /* @__PURE__ */ i(W, { children: /* @__PURE__ */ u(g, { value: d, onTabChange: p, styles: {
13142
13134
  tab: {
13143
13135
  paddingTop: "0px",
13144
13136
  paddingBottom: "0px"
@@ -13831,7 +13823,7 @@ function Ow({
13831
13823
  }, [e.data, t == null ? void 0 : t.regression.y_axis_data_key]), a = M(() => Tw(De({}, t, La), o), [t, o]), s = ni(null), l = (c) => {
13832
13824
  s.current = c;
13833
13825
  };
13834
- return !n || !r || !t ? null : /* @__PURE__ */ u(P, { sx: {
13826
+ return !n || !r || !t ? null : /* @__PURE__ */ u(V, { sx: {
13835
13827
  position: "relative"
13836
13828
  }, children: [
13837
13829
  /* @__PURE__ */ i(Rw, { conf: t, queryData: o }),
@@ -13909,7 +13901,7 @@ const Vw = ({
13909
13901
  disabled: e,
13910
13902
  value: t,
13911
13903
  onChange: n
13912
- }) => /* @__PURE__ */ u(P, { sx: {
13904
+ }) => /* @__PURE__ */ u(V, { sx: {
13913
13905
  position: "relative"
13914
13906
  }, children: [
13915
13907
  e && /* @__PURE__ */ i(Xt, { opacity: 0.6, color: "#fff", zIndex: 5, blur: 2 }),
@@ -13958,7 +13950,7 @@ const Vw = ({
13958
13950
  }, m = () => {
13959
13951
  f(_i.func_content);
13960
13952
  };
13961
- return /* @__PURE__ */ u(j, { children: [
13953
+ return /* @__PURE__ */ u(W, { children: [
13962
13954
  /* @__PURE__ */ i(I, { variant: "filled", mt: 24, onClick: a, sx: {
13963
13955
  flexGrow: 0
13964
13956
  }, children: n }),
@@ -14446,7 +14438,7 @@ const t_ = {
14446
14438
  }]
14447
14439
  };
14448
14440
  function n_(e) {
14449
- return /* @__PURE__ */ i(j, {});
14441
+ return /* @__PURE__ */ i(W, {});
14450
14442
  }
14451
14443
  function r_(e) {
14452
14444
  return /* @__PURE__ */ i(C, { children: "Click scatter" });
@@ -14946,7 +14938,7 @@ function w_({
14946
14938
  bottom: xr(x.bottom, o, s)
14947
14939
  };
14948
14940
  }, [a, s]), w = Math.max(0, c - p - f);
14949
- return !l || !c ? null : /* @__PURE__ */ u(P, { children: [
14941
+ return !l || !c ? null : /* @__PURE__ */ u(W, { children: [
14950
14942
  /* @__PURE__ */ i(C, { ref: d, align: "left", size: "xs", pl: "sm", sx: {
14951
14943
  display: Qs(a.stats.templates.top) ? "block" : "none"
14952
14944
  }, children: Object.values(m.top).map((x) => x) }),
@@ -15255,7 +15247,7 @@ function I_({
15255
15247
  const M_ = ({
15256
15248
  value: e,
15257
15249
  onChange: t
15258
- }) => /* @__PURE__ */ i(P, { children: /* @__PURE__ */ i(ct, { height: "500px", defaultLanguage: "javascript", value: e, onChange: (r) => {
15250
+ }) => /* @__PURE__ */ i(V, { children: /* @__PURE__ */ i(ct, { height: "500px", defaultLanguage: "javascript", value: e, onChange: (r) => {
15259
15251
  r && t(r);
15260
15252
  }, theme: "vs-dark", options: {
15261
15253
  minimap: {
@@ -15288,8 +15280,8 @@ const M_ = ({
15288
15280
  }, p = () => {
15289
15281
  d(Tr.dynamic.func_content);
15290
15282
  };
15291
- return /* @__PURE__ */ u(j, { children: [
15292
- /* @__PURE__ */ i(P, { sx: {
15283
+ return /* @__PURE__ */ u(W, { children: [
15284
+ /* @__PURE__ */ i(V, { sx: {
15293
15285
  width: "50%"
15294
15286
  }, children: /* @__PURE__ */ i(I, { variant: "filled", mt: 24, onClick: r, sx: {
15295
15287
  flexGrow: 0
@@ -15367,7 +15359,7 @@ const M_ = ({
15367
15359
  }), O_ = ({
15368
15360
  value: e,
15369
15361
  onChange: t
15370
- }) => /* @__PURE__ */ i(P, { children: /* @__PURE__ */ i(ct, { height: "500px", defaultLanguage: "javascript", value: e, onChange: (r) => {
15362
+ }) => /* @__PURE__ */ i(V, { children: /* @__PURE__ */ i(ct, { height: "500px", defaultLanguage: "javascript", value: e, onChange: (r) => {
15371
15363
  r && t(r);
15372
15364
  }, theme: "vs-dark", options: {
15373
15365
  minimap: {
@@ -15410,8 +15402,8 @@ const M_ = ({
15410
15402
  }, p = () => {
15411
15403
  d(bd.dynamic.func_content);
15412
15404
  };
15413
- return /* @__PURE__ */ u(j, { children: [
15414
- /* @__PURE__ */ i(P, { sx: {
15405
+ return /* @__PURE__ */ u(W, { children: [
15406
+ /* @__PURE__ */ i(V, { sx: {
15415
15407
  width: "50%"
15416
15408
  }, children: /* @__PURE__ */ i(I, { variant: "filled", mt: 24, onClick: r, sx: {
15417
15409
  flexGrow: 0
@@ -15443,7 +15435,7 @@ const M_ = ({
15443
15435
  size: r
15444
15436
  });
15445
15437
  };
15446
- return /* @__PURE__ */ i(j, { children: /* @__PURE__ */ i(ie, { defaultValue: 18, placeholder: "1 ~ 100", label: " ", hideControls: !0, value: e.size, onChange: n }) });
15438
+ return /* @__PURE__ */ i(W, { children: /* @__PURE__ */ i(ie, { defaultValue: 18, placeholder: "1 ~ 100", label: " ", hideControls: !0, value: e.size, onChange: n }) });
15447
15439
  }, N_ = [{
15448
15440
  label: "Static",
15449
15441
  value: "static"
@@ -15610,7 +15602,7 @@ const G_ = ({
15610
15602
  }), c = t("tooltip.metrics.0.id"), [d, p] = Q(() => c ?? null);
15611
15603
  return q(() => {
15612
15604
  c && p((h) => h !== null ? h : c);
15613
- }, [c]), /* @__PURE__ */ u(j, { children: [
15605
+ }, [c]), /* @__PURE__ */ u(W, { children: [
15614
15606
  /* @__PURE__ */ u(v, { spacing: 2, sx: {
15615
15607
  cursor: "default",
15616
15608
  userSelect: "none"
@@ -15667,7 +15659,7 @@ const K_ = ({
15667
15659
  disabled: e,
15668
15660
  value: t,
15669
15661
  onChange: n
15670
- }) => /* @__PURE__ */ u(P, { sx: {
15662
+ }) => /* @__PURE__ */ u(V, { sx: {
15671
15663
  position: "relative"
15672
15664
  }, children: [
15673
15665
  e && /* @__PURE__ */ i(Xt, { opacity: 0.6, color: "#fff", zIndex: 5, blur: 2 }),
@@ -15715,7 +15707,7 @@ const K_ = ({
15715
15707
  }, f = () => {
15716
15708
  h(fd.func_content);
15717
15709
  };
15718
- return /* @__PURE__ */ u(j, { children: [
15710
+ return /* @__PURE__ */ u(W, { children: [
15719
15711
  /* @__PURE__ */ i(I, { variant: "filled", mt: 24, onClick: o, sx: {
15720
15712
  flexGrow: 0
15721
15713
  }, children: "Customize Label" }),
@@ -16280,7 +16272,7 @@ const yC = {
16280
16272
  height: c,
16281
16273
  justifyContent: yC[a],
16282
16274
  alignItems: xC[s]
16283
- }, children: /* @__PURE__ */ i(P, { children: Object.values(p).map((h, f) => /* @__PURE__ */ i(R.Fragment, { children: h }, f)) }) });
16275
+ }, children: /* @__PURE__ */ i(V, { children: Object.values(p).map((h, f) => /* @__PURE__ */ i(R.Fragment, { children: h }, f)) }) });
16284
16276
  }), wC = [{
16285
16277
  label: "Left",
16286
16278
  value: "left"
@@ -16663,7 +16655,7 @@ const OC = [{
16663
16655
  }), c = t("levels.0.id"), [d, p] = Q(() => c ?? null);
16664
16656
  return q(() => {
16665
16657
  c && p((h) => h !== null ? h : c);
16666
- }, [c]), /* @__PURE__ */ u(j, { children: [
16658
+ }, [c]), /* @__PURE__ */ u(W, { children: [
16667
16659
  /* @__PURE__ */ u(v, { spacing: 2, sx: {
16668
16660
  cursor: "default",
16669
16661
  userSelect: "none"
@@ -17208,23 +17200,24 @@ function p1({
17208
17200
  getCoreRowModel: nc(),
17209
17201
  getSortedRowModel: Lp()
17210
17202
  }), {
17211
- rows: W
17203
+ rows: j
17212
17204
  } = A.getRowModel(), Y = R.useRef(null), B = Ap({
17213
17205
  parentRef: Y,
17214
- size: W.length,
17206
+ size: j.length,
17215
17207
  estimateSize: nt(() => 28, []),
17216
17208
  overscan: 20
17217
17209
  }), {
17218
17210
  virtualItems: O,
17219
17211
  totalSize: E
17220
- } = B, U = O.length > 0 && ((Ae = O == null ? void 0 : O[0]) == null ? void 0 : Ae.start) || 0, re = O.length > 0 ? E - (((Ue = O == null ? void 0 : O[O.length - 1]) == null ? void 0 : Ue.end) || 0) : 0, te = W.length, oe = te > 0, be = oe ? n - 22 : n, ye = oe ? 22 : 0;
17212
+ } = B, U = O.length > 0 && ((Ae = O == null ? void 0 : O[0]) == null ? void 0 : Ae.start) || 0, re = O.length > 0 ? E - (((Ue = O == null ? void 0 : O[O.length - 1]) == null ? void 0 : Ue.end) || 0) : 0, te = j.length, oe = te > 0, be = oe ? n - 22 : n, ye = oe ? 22 : 0;
17221
17213
  return !Array.isArray(f) || f.length === 0 ? /* @__PURE__ */ i(C, { color: "gray", align: "center", children: "Empty Data" }) : /* @__PURE__ */ u("div", { ref: Y, style: {
17222
17214
  height: n,
17223
- width: t
17215
+ width: t,
17216
+ padding: "0 5px"
17224
17217
  }, "data-enable-scrollbar": !0, className: h(p.root, {
17225
17218
  "table-highlight-on-hover": r.highlightOnHover
17226
17219
  }), children: [
17227
- te > 0 && /* @__PURE__ */ i(P, { className: p.info_bar, sx: {
17220
+ te > 0 && /* @__PURE__ */ i(V, { className: p.info_bar, sx: {
17228
17221
  height: 22
17229
17222
  }, children: /* @__PURE__ */ u(C, { align: "right", pr: 6, size: 14, color: "dimmed", fw: "normal", children: [
17230
17223
  "Total: ",
@@ -17244,7 +17237,7 @@ function p1({
17244
17237
  height: `${U}px`
17245
17238
  } }) }),
17246
17239
  O.map((Me) => {
17247
- const Pe = W[Me.index];
17240
+ const Pe = j[Me.index];
17248
17241
  return /* @__PURE__ */ i("tr", { children: Pe.getVisibleCells().map(($e) => /* @__PURE__ */ i("td", { children: Gr($e.column.columnDef.cell, $e.getContext()) }, $e.id)) }, Pe.id);
17249
17242
  }),
17250
17243
  re > 0 && /* @__PURE__ */ i("tr", { children: /* @__PURE__ */ i("td", { style: {
@@ -17416,7 +17409,7 @@ const y1 = D(({
17416
17409
  const x = () => {
17417
17410
  p(), s(t);
17418
17411
  };
17419
- return /* @__PURE__ */ u(j, { children: [
17412
+ return /* @__PURE__ */ u(W, { children: [
17420
17413
  /* @__PURE__ */ i(I, { variant: "outline", onClick: d, children: l == null ? void 0 : l.displayName }),
17421
17414
  /* @__PURE__ */ i(Te, { size: 508, title: "Setup color interpolation", opened: c, onClose: p, zIndex: 320, children: c && /* @__PURE__ */ u(S, { "data-testid": "color-interpolation-modal", children: [
17422
17415
  /* @__PURE__ */ i(F, { label: "Color style", value: a.interpolation, data: h, onChange: f }),
@@ -17494,12 +17487,12 @@ const k1 = we((e, t) => {
17494
17487
  };
17495
17488
  return q(() => {
17496
17489
  l(e);
17497
- }, [e]), /* @__PURE__ */ u(j, { children: [
17490
+ }, [e]), /* @__PURE__ */ u(W, { children: [
17498
17491
  /* @__PURE__ */ i(I, { variant: "filled", mt: 24, onClick: o, sx: {
17499
17492
  flexGrow: 0
17500
17493
  }, children: "Custom Cell Content" }),
17501
17494
  /* @__PURE__ */ i(Te, { size: 800, title: "Custom cell content", opened: r, onClose: a, closeOnClickOutside: !1, withCloseButton: !1, zIndex: 320, children: r && /* @__PURE__ */ u(S, { children: [
17502
- /* @__PURE__ */ i(P, { sx: {
17495
+ /* @__PURE__ */ i(V, { sx: {
17503
17496
  position: "relative"
17504
17497
  }, children: /* @__PURE__ */ i(ct, { height: "500px", defaultLanguage: "javascript", value: s, onChange: (h) => l(h ?? ""), theme: "vs-dark", options: {
17505
17498
  minimap: {
@@ -17604,7 +17597,7 @@ const k1 = we((e, t) => {
17604
17597
  };
17605
17598
  t("columns");
17606
17599
  const l = t("use_raw_columns");
17607
- return /* @__PURE__ */ u(j, { children: [
17600
+ return /* @__PURE__ */ u(W, { children: [
17608
17601
  /* @__PURE__ */ i(y, { name: "use_raw_columns", control: e, render: ({
17609
17602
  field: c
17610
17603
  }) => /* @__PURE__ */ i(Xe, { mt: 20, mb: 20, label: "Use Original Data Columns", checked: c.value, onChange: (d) => c.onChange(d.currentTarget.checked) }) }),
@@ -17879,7 +17872,7 @@ const io = {
17879
17872
  }), B1 = ({
17880
17873
  value: e,
17881
17874
  onChange: t
17882
- }) => /* @__PURE__ */ i(P, { sx: {
17875
+ }) => /* @__PURE__ */ i(V, { sx: {
17883
17876
  position: "relative"
17884
17877
  }, children: /* @__PURE__ */ i(ct, { height: "500px", defaultLanguage: "javascript", value: e, onChange: (r) => {
17885
17878
  r && t(r);
@@ -17903,7 +17896,7 @@ const io = {
17903
17896
  };
17904
17897
  return q(() => {
17905
17898
  l(e);
17906
- }, [e]), /* @__PURE__ */ u(j, { children: [
17899
+ }, [e]), /* @__PURE__ */ u(W, { children: [
17907
17900
  /* @__PURE__ */ i(I, { variant: "filled", mt: 24, onClick: o, sx: {
17908
17901
  flexGrow: 0
17909
17902
  }, children: "Edit Content" }),
@@ -18089,7 +18082,7 @@ const K1 = ({
18089
18082
  ...pa
18090
18083
  }, Xs = ({
18091
18084
  message: e
18092
- }) => /* @__PURE__ */ i(P, { sx: oo, children: /* @__PURE__ */ i("div", { dangerouslySetInnerHTML: {
18085
+ }) => /* @__PURE__ */ i(V, { sx: oo, children: /* @__PURE__ */ i("div", { dangerouslySetInnerHTML: {
18093
18086
  __html: e
18094
18087
  }, style: {
18095
18088
  fontSize: "14px",
@@ -18130,10 +18123,10 @@ function X1({
18130
18123
  }), {
18131
18124
  refreshDeps: [a, n]
18132
18125
  });
18133
- return !r || !o || !n ? null : c ? /* @__PURE__ */ i(P, { sx: {
18126
+ return !r || !o || !n ? null : c ? /* @__PURE__ */ i(V, { sx: {
18134
18127
  position: "relative",
18135
18128
  height: o
18136
- }, children: /* @__PURE__ */ i(kn, { visible: !0 }) }) : l ? /* @__PURE__ */ i(P, { sx: oo, "data-enable-scrollbar": !0, children: /* @__PURE__ */ i(U1, { error: l, width: r, height: o }) }) : !s || !Array.isArray(s.replies) || s.replies.length === 0 ? null : /* @__PURE__ */ i(P, { sx: oo, "data-enable-scrollbar": !0, children: s.replies.map((d, p) => /* @__PURE__ */ i("div", { dangerouslySetInnerHTML: {
18129
+ }, children: /* @__PURE__ */ i(kn, { visible: !0 }) }) : l ? /* @__PURE__ */ i(V, { sx: oo, "data-enable-scrollbar": !0, children: /* @__PURE__ */ i(U1, { error: l, width: r, height: o }) }) : !s || !Array.isArray(s.replies) || s.replies.length === 0 ? null : /* @__PURE__ */ i(V, { sx: oo, "data-enable-scrollbar": !0, children: s.replies.map((d, p) => /* @__PURE__ */ i("div", { dangerouslySetInnerHTML: {
18137
18130
  __html: d.interpretation.html
18138
18131
  } }, p)) });
18139
18132
  }
@@ -18411,7 +18404,7 @@ function pS(e, t, n) {
18411
18404
  return De({}, p, dS);
18412
18405
  }
18413
18406
  function fS(e) {
18414
- return /* @__PURE__ */ i(j, {});
18407
+ return /* @__PURE__ */ i(W, {});
18415
18408
  }
18416
18409
  function mS(e) {
18417
18410
  return /* @__PURE__ */ i(C, { children: "Click heat block" });
@@ -18521,7 +18514,7 @@ function yS({
18521
18514
  width: l,
18522
18515
  height: c
18523
18516
  } = e.viewport;
18524
- return !a.calendar.data_key || !a.heat_block.data_key ? null : /* @__PURE__ */ i(P, { children: /* @__PURE__ */ i(bS, { variables: o, width: l, height: c, data: s, conf: a, interactionManager: n }) });
18517
+ return !a.calendar.data_key || !a.heat_block.data_key ? null : /* @__PURE__ */ i(bS, { variables: o, width: l, height: c, data: s, conf: a, interactionManager: n });
18525
18518
  }
18526
18519
  function xS({
18527
18520
  control: e,
@@ -18597,7 +18590,7 @@ const vS = ({
18597
18590
  }), c = t("tooltip.metrics.0.id"), [d, p] = Q(() => c ?? null);
18598
18591
  return q(() => {
18599
18592
  c && p((h) => h !== null ? h : c);
18600
- }, [c]), /* @__PURE__ */ u(j, { children: [
18593
+ }, [c]), /* @__PURE__ */ u(W, { children: [
18601
18594
  /* @__PURE__ */ u(v, { spacing: 2, sx: {
18602
18595
  cursor: "default",
18603
18596
  userSelect: "none"
@@ -19047,13 +19040,13 @@ function BS({
19047
19040
  value_data_key: t,
19048
19041
  valueTypedXAxis: w
19049
19042
  }), A;
19050
- const W = NS({
19043
+ const j = NS({
19051
19044
  group_by_key: a,
19052
19045
  data: x,
19053
19046
  name_data_key: e.data_key,
19054
19047
  value_data_key: t
19055
19048
  });
19056
- return Object.entries(W).map(([Y, B]) => {
19049
+ return Object.entries(j).map(([Y, B]) => {
19057
19050
  const O = Ze(A);
19058
19051
  return O.name = Y, O.color = void 0, O.data = B, O;
19059
19052
  });
@@ -19262,7 +19255,7 @@ function XS({
19262
19255
  width: l,
19263
19256
  height: c
19264
19257
  } = e.viewport;
19265
- return /* @__PURE__ */ i(P, { children: /* @__PURE__ */ i(US, { variables: o, width: l, height: c, data: s, conf: a, interactionManager: n }) });
19258
+ return /* @__PURE__ */ i(US, { variables: o, width: l, height: c, data: s, conf: a, interactionManager: n });
19266
19259
  }
19267
19260
  const JS = [{
19268
19261
  label: "solid",
@@ -19445,7 +19438,7 @@ function ik({
19445
19438
  seriesItem: n
19446
19439
  }) {
19447
19440
  const r = !!n.barWidth.trim();
19448
- return /* @__PURE__ */ u(j, { children: [
19441
+ return /* @__PURE__ */ u(W, { children: [
19449
19442
  /* @__PURE__ */ u(v, { grow: !0, noWrap: !0, children: [
19450
19443
  /* @__PURE__ */ i(y, { name: `series.${t}.stack`, control: e, render: ({
19451
19444
  field: o
@@ -20558,7 +20551,7 @@ function Vk({
20558
20551
  }, [d]), !s.data_key || !c || !d || !o || !a)
20559
20552
  return null;
20560
20553
  const f = Math.max(o, 300), m = Math.max(a, 370);
20561
- return /* @__PURE__ */ u(P, { sx: {
20554
+ return /* @__PURE__ */ u(V, { sx: {
20562
20555
  overflow: "hidden",
20563
20556
  height: m,
20564
20557
  width: f
@@ -20634,7 +20627,7 @@ const Bk = ({
20634
20627
  }), c = t("metrics.0.id"), [d, p] = Q(() => c ?? null);
20635
20628
  return q(() => {
20636
20629
  c && p((h) => h !== null ? h : c);
20637
- }, [c]), /* @__PURE__ */ u(j, { children: [
20630
+ }, [c]), /* @__PURE__ */ u(W, { children: [
20638
20631
  /* @__PURE__ */ u(v, { spacing: 2, sx: {
20639
20632
  cursor: "default",
20640
20633
  userSelect: "none"
@@ -20842,7 +20835,7 @@ function Qk() {
20842
20835
  }
20843
20836
  const el = ({
20844
20837
  postfix: e
20845
- }) => e ? /* @__PURE__ */ u(j, { children: [
20838
+ }) => e ? /* @__PURE__ */ u(W, { children: [
20846
20839
  /* @__PURE__ */ i(C, { size: "12px", color: "#818388", sx: {
20847
20840
  lineHeight: 1
20848
20841
  }, children: "/" }),
@@ -21016,7 +21009,7 @@ const eT = ({
21016
21009
  const x = k.get(l, "0.id", null);
21017
21010
  f(x);
21018
21011
  };
21019
- return /* @__PURE__ */ u(j, { children: [
21012
+ return /* @__PURE__ */ u(W, { children: [
21020
21013
  /* @__PURE__ */ i(L, { mt: 15, variant: "dashed", label: "Metrics", labelPosition: "center" }),
21021
21014
  /* @__PURE__ */ u(g, { value: h, onTabChange: f, styles: {
21022
21015
  tab: {
@@ -21077,7 +21070,7 @@ function rT({
21077
21070
  control: e,
21078
21071
  watch: t
21079
21072
  }) {
21080
- return t("styles"), /* @__PURE__ */ u(j, { children: [
21073
+ return t("styles"), /* @__PURE__ */ u(W, { children: [
21081
21074
  /* @__PURE__ */ i(L, { mt: 15, variant: "dashed", label: "Styles", labelPosition: "center" }),
21082
21075
  /* @__PURE__ */ u(v, { children: [
21083
21076
  /* @__PURE__ */ i(y, { name: "styles.justify", control: e, render: ({
@@ -21267,7 +21260,7 @@ const cT = ({
21267
21260
  }), c = t("tooltip.metrics.0.id"), [d, p] = Q(() => c ?? null);
21268
21261
  return q(() => {
21269
21262
  c && p((h) => h !== null ? h : c);
21270
- }, [c]), /* @__PURE__ */ u(j, { children: [
21263
+ }, [c]), /* @__PURE__ */ u(W, { children: [
21271
21264
  /* @__PURE__ */ u(v, { spacing: 2, sx: {
21272
21265
  cursor: "default",
21273
21266
  userSelect: "none"
@@ -21304,7 +21297,7 @@ const hT = ({
21304
21297
  disabled: e,
21305
21298
  value: t,
21306
21299
  onChange: n
21307
- }) => /* @__PURE__ */ u(P, { sx: {
21300
+ }) => /* @__PURE__ */ u(V, { sx: {
21308
21301
  position: "relative"
21309
21302
  }, children: [
21310
21303
  e && /* @__PURE__ */ i(Xt, { opacity: 0.6, color: "#fff", zIndex: 5, blur: 2 }),
@@ -21356,7 +21349,7 @@ const hT = ({
21356
21349
  }, f = () => {
21357
21350
  h(pT.func_content);
21358
21351
  };
21359
- return /* @__PURE__ */ u(j, { children: [
21352
+ return /* @__PURE__ */ u(W, { children: [
21360
21353
  /* @__PURE__ */ i(I, { variant: "filled", mt: 24, onClick: o, sx: {
21361
21354
  flexGrow: 0
21362
21355
  }, children: "Customize Label" }),
@@ -21851,7 +21844,7 @@ function MT(e, t, n) {
21851
21844
  return De({}, s, IT);
21852
21845
  }
21853
21846
  function $T(e) {
21854
- return /* @__PURE__ */ i(j, {});
21847
+ return /* @__PURE__ */ i(W, {});
21855
21848
  }
21856
21849
  function zT(e) {
21857
21850
  return /* @__PURE__ */ i(C, { children: "Click heat block" });
@@ -22066,7 +22059,7 @@ const PT = {
22066
22059
  border: "0.0625rem solid rgb(233, 236, 239)",
22067
22060
  boxShadow: "rgb(0 0 0 / 5%) 0px 0.0625rem 0.1875rem, rgb(0 0 0 / 5%) 0px 1.25rem 1.5625rem -0.3125rem, rgb(0 0 0 / 4%) 0px 0.625rem 0.625rem -0.3125rem"
22068
22061
  }
22069
- }, withArrow: !0, children: /* @__PURE__ */ i(P, { sx: {
22062
+ }, withArrow: !0, children: /* @__PURE__ */ i(V, { sx: {
22070
22063
  height: "16px",
22071
22064
  alignSelf: "center"
22072
22065
  }, children: /* @__PURE__ */ i(Dn, { size: 16, color: "gray" }) }) }), NT = D(({
@@ -22079,10 +22072,10 @@ const PT = {
22079
22072
  },
22080
22073
  value: a,
22081
22074
  onChange: s
22082
- }) => /* @__PURE__ */ u(P, { children: [
22075
+ }) => /* @__PURE__ */ u(V, { children: [
22083
22076
  /* @__PURE__ */ i(C, { children: " " }),
22084
22077
  /* @__PURE__ */ i(xe, { label: /* @__PURE__ */ u(v, { noWrap: !0, position: "apart", align: "middle", spacing: 6, children: [
22085
- /* @__PURE__ */ i(P, { sx: {
22078
+ /* @__PURE__ */ i(V, { sx: {
22086
22079
  flexGrow: 1
22087
22080
  }, children: e }),
22088
22081
  /* @__PURE__ */ i(VT, { description: n, isDescriptionEmpty: r })
@@ -22326,7 +22319,7 @@ const PT = {
22326
22319
  unstyled: r
22327
22320
  }), [m, w] = Q(!1), x = (Y) => {
22328
22321
  w(Y);
22329
- }, T = m && (l == null ? void 0 : l.length) > 0, [$, A] = Q(""), W = M(() => {
22322
+ }, T = m && (l == null ? void 0 : l.length) > 0, [$, A] = Q(""), j = M(() => {
22330
22323
  if (!$)
22331
22324
  return d;
22332
22325
  const Y = $.toLowerCase(), B = (O) => {
@@ -22340,7 +22333,7 @@ const PT = {
22340
22333
  /* @__PURE__ */ i(C, { className: h.label, children: s }),
22341
22334
  T && /* @__PURE__ */ i(Ne, { label: `${l.length} selected`, children: /* @__PURE__ */ i(ur, { children: l.length }) })
22342
22335
  ] }),
22343
- /* @__PURE__ */ i(Rp, { disabled: e, allowClear: !0, className: f(h.root, "check-select"), dropdownClassName: f(h.dropdown, ""), onDropdownVisibleChange: x, transitionName: "rc-select-dropdown-slide-up", choiceTransitionName: "rc-select-selection__choice-zoom", style: a, clearIcon: () => /* @__PURE__ */ i(fl, {}), value: l, onChange: c, onSelect: console.log, mode: "multiple", maxTagCount: 0, notFoundContent: /* @__PURE__ */ i(Ld, { errorMessage: p }), maxTagTextLength: 10, maxTagPlaceholder: (Y) => `${Y.length} selected`, searchValue: $, onSearch: A, filterOption: !1, children: W.map((Y) => /* @__PURE__ */ u(Op, { title: Y.label, children: [
22336
+ /* @__PURE__ */ i(Rp, { disabled: e, allowClear: !0, className: f(h.root, "check-select"), dropdownClassName: f(h.dropdown, ""), onDropdownVisibleChange: x, transitionName: "rc-select-dropdown-slide-up", choiceTransitionName: "rc-select-selection__choice-zoom", style: a, clearIcon: () => /* @__PURE__ */ i(fl, {}), value: l, onChange: c, onSelect: console.log, mode: "multiple", maxTagCount: 0, notFoundContent: /* @__PURE__ */ i(Ld, { errorMessage: p }), maxTagTextLength: 10, maxTagPlaceholder: (Y) => `${Y.length} selected`, searchValue: $, onSearch: A, filterOption: !1, children: j.map((Y) => /* @__PURE__ */ u(Op, { title: Y.label, children: [
22344
22337
  /* @__PURE__ */ i(C, { size: "sm", "data-role": "label", children: Y.label }),
22345
22338
  Y.description && /* @__PURE__ */ i(C, { size: "xs", color: "dimmed", "data-role": "description", children: Y.description })
22346
22339
  ] }, Y.value)) })
@@ -24572,14 +24565,14 @@ const qD = (e) => new BD(e), WD = D(({
24572
24565
  }), f = R.useCallback(() => {
24573
24566
  l(s);
24574
24567
  }, [s, l]), m = !c && e.type !== Z.Modal;
24575
- return /* @__PURE__ */ i(j, { children: /* @__PURE__ */ i(P, { sx: {
24568
+ return /* @__PURE__ */ i(W, { children: /* @__PURE__ */ i(V, { sx: {
24576
24569
  position: "absolute",
24577
24570
  top: 0,
24578
24571
  left: 0,
24579
24572
  right: 0,
24580
24573
  zIndex: 300
24581
24574
  }, children: /* @__PURE__ */ u(he, { withinPortal: !0, children: [
24582
- /* @__PURE__ */ i(he.Target, { children: /* @__PURE__ */ i(P, { className: "panel-dropdown-target", sx: {
24575
+ /* @__PURE__ */ i(he.Target, { children: /* @__PURE__ */ i(V, { className: "panel-dropdown-target", sx: {
24583
24576
  width: "100%",
24584
24577
  height: "25px"
24585
24578
  } }) }),
@@ -24602,7 +24595,7 @@ const cu = D(() => {
24602
24595
  const [e, t] = R.useState(!1), {
24603
24596
  panel: n
24604
24597
  } = $n();
24605
- return jD(n.description) ? null : /* @__PURE__ */ u(j, { children: [
24598
+ return jD(n.description) ? null : /* @__PURE__ */ u(W, { children: [
24606
24599
  /* @__PURE__ */ i(Te, { opened: e, onClose: () => t(!1), title: n.title, withCloseButton: !1, withinPortal: !0, zIndex: 310, children: /* @__PURE__ */ i(fi, { value: n.description, styles: {
24607
24600
  root: {
24608
24601
  border: "none"
@@ -24800,7 +24793,11 @@ const XD = D(function({
24800
24793
  w: r,
24801
24794
  h: o
24802
24795
  }), s = r > 0 && o > 0;
24803
- return /* @__PURE__ */ i("div", { className: "viz-root", ref: n, children: s && /* @__PURE__ */ i(ht, { children: a }) });
24796
+ return /* @__PURE__ */ i("div", { className: "viz-root", ref: n, children: /* @__PURE__ */ i(V, { sx: {
24797
+ width: r,
24798
+ height: o,
24799
+ overflow: "hidden"
24800
+ }, children: s && /* @__PURE__ */ i(ht, { children: a }) }) });
24804
24801
  }), JD = D(({
24805
24802
  panel: e
24806
24803
  }) => /* @__PURE__ */ u(S, { children: [
@@ -24829,18 +24826,18 @@ const XD = D(function({
24829
24826
  const {
24830
24827
  ref: r,
24831
24828
  downloadPanelScreenshot: o
24832
- } = YD(e), a = e.title ? "calc(100% - 25px - 5px)" : "100%";
24829
+ } = YD(e), a = e.title ? "calc(100% - 25px)" : "100%";
24833
24830
  return /* @__PURE__ */ i(wc, { value: {
24834
24831
  panel: e,
24835
24832
  data: e.data,
24836
24833
  loading: e.dataLoading,
24837
24834
  errors: e.queryErrors,
24838
24835
  downloadPanelScreenshot: o
24839
- }, children: /* @__PURE__ */ u(P, { className: "panel-root", ref: r, p: 5, pt: 0, sx: {
24836
+ }, children: /* @__PURE__ */ u(V, { className: "panel-root", ref: r, p: 0, sx: {
24840
24837
  ...ZD,
24841
24838
  ...t
24842
24839
  }, children: [
24843
- /* @__PURE__ */ i(P, { sx: {
24840
+ /* @__PURE__ */ i(V, { sx: {
24844
24841
  position: "absolute",
24845
24842
  left: 0,
24846
24843
  top: 0,
@@ -24885,14 +24882,14 @@ const iI = D(({
24885
24882
  } = R.useContext(Ti), s = R.useCallback(() => {
24886
24883
  o(r);
24887
24884
  }, [r, o]), l = !a && e.type !== Z.Modal;
24888
- return rI(t.viz.type) ? /* @__PURE__ */ i(P, { sx: {
24885
+ return rI(t.viz.type) ? /* @__PURE__ */ i(V, { sx: {
24889
24886
  position: "absolute",
24890
24887
  top: 0,
24891
24888
  left: 0,
24892
24889
  right: 0,
24893
24890
  zIndex: 300
24894
24891
  }, children: /* @__PURE__ */ u(he, { withinPortal: !0, children: [
24895
- /* @__PURE__ */ i(he.Target, { children: /* @__PURE__ */ i(P, { className: "panel-dropdown-target", sx: {
24892
+ /* @__PURE__ */ i(he.Target, { children: /* @__PURE__ */ i(V, { className: "panel-dropdown-target", sx: {
24896
24893
  width: "100%",
24897
24894
  height: "25px"
24898
24895
  } }) }),
@@ -25074,8 +25071,8 @@ const mI = D(({
25074
25071
  ref: r,
25075
25072
  downloadScreenshot: o
25076
25073
  } = Qa(t);
25077
- return /* @__PURE__ */ u(j, { children: [
25078
- /* @__PURE__ */ i(P, { ref: r, sx: n, children: e }),
25074
+ return /* @__PURE__ */ u(W, { children: [
25075
+ /* @__PURE__ */ i(V, { ref: r, sx: n, children: e }),
25079
25076
  /* @__PURE__ */ i(mI, { downloadScreenShot: o })
25080
25077
  ] });
25081
25078
  }), yu = D(({
@@ -25089,7 +25086,7 @@ const mI = D(({
25089
25086
  downloadScreenshot: l
25090
25087
  } = Qa(t);
25091
25088
  return /* @__PURE__ */ i(Te, { size: r.width, centered: !0, opened: o, onClose: a, withCloseButton: !1, title: /* @__PURE__ */ u(v, { position: "apart", px: "1rem", h: "48px", children: [
25092
- /* @__PURE__ */ i(P, { children: r.custom_modal_title.value }),
25089
+ /* @__PURE__ */ i(V, { children: r.custom_modal_title.value }),
25093
25090
  /* @__PURE__ */ i(yu, { downloadScreenshot: l })
25094
25091
  ] }), trapFocus: !0, onDragStart: (c) => {
25095
25092
  c.stopPropagation();
@@ -25124,7 +25121,7 @@ const mI = D(({
25124
25121
  }
25125
25122
  }, transitionProps: {
25126
25123
  duration: 0
25127
- }, children: /* @__PURE__ */ i(P, { ref: s, children: e }) });
25124
+ }, children: /* @__PURE__ */ i(V, { ref: s, children: e }) });
25128
25125
  }), bI = (e) => e.color ? {
25129
25126
  "&[data-active], &[data-active]:hover": {
25130
25127
  borderColor: e.color ? e.color : "..."
@@ -25187,13 +25184,13 @@ const wI = D(({
25187
25184
  ref: a,
25188
25185
  downloadScreenshot: s
25189
25186
  } = Qa(t);
25190
- return /* @__PURE__ */ i(P, { sx: {
25187
+ return /* @__PURE__ */ i(V, { sx: {
25191
25188
  height: "100%",
25192
25189
  "> div:not(.mantine-Modal-root)": {
25193
25190
  height: "100%"
25194
25191
  }
25195
25192
  }, children: /* @__PURE__ */ i(Te, { size: n.width, opened: !0, onClose: k.noop, withCloseButton: !1, title: /* @__PURE__ */ u(v, { position: "apart", px: "1rem", h: "48px", children: [
25196
- /* @__PURE__ */ i(P, { children: n.custom_modal_title.value }),
25193
+ /* @__PURE__ */ i(V, { children: n.custom_modal_title.value }),
25197
25194
  /* @__PURE__ */ i(yu, { downloadScreenshot: s })
25198
25195
  ] }), trapFocus: !0, onDragStart: (l) => {
25199
25196
  l.stopPropagation();
@@ -25234,7 +25231,7 @@ const wI = D(({
25234
25231
  }
25235
25232
  }, withinPortal: !1, transitionProps: {
25236
25233
  duration: 0
25237
- }, children: /* @__PURE__ */ i(P, { ref: a, children: e }) }) });
25234
+ }, children: /* @__PURE__ */ i(V, { ref: a, children: e }) }) });
25238
25235
  }), _I = ({
25239
25236
  variant: e,
25240
25237
  orientation: t
@@ -25288,7 +25285,7 @@ const wI = D(({
25288
25285
  return /* @__PURE__ */ u(g.Panel, { value: l.id, sx: {
25289
25286
  position: "relative"
25290
25287
  }, children: [
25291
- /* @__PURE__ */ u(P, { sx: {
25288
+ /* @__PURE__ */ u(V, { sx: {
25292
25289
  position: "absolute",
25293
25290
  top: 0,
25294
25291
  left: 0,
@@ -25338,10 +25335,10 @@ const wI = D(({
25338
25335
  return /* @__PURE__ */ i(Ti.Provider, { value: {
25339
25336
  viewPanelInFullScreen: k.noop,
25340
25337
  inFullScreen: !1
25341
- }, children: /* @__PURE__ */ i(P, { className: "dashboard-view", "data-enable-scrollbar": !0, children: /* @__PURE__ */ i(kI, { view: t, children: /* @__PURE__ */ u(P, { sx: {
25338
+ }, children: /* @__PURE__ */ i(V, { className: "dashboard-view", "data-enable-scrollbar": !0, children: /* @__PURE__ */ i(kI, { view: t, children: /* @__PURE__ */ u(V, { sx: {
25342
25339
  position: "relative"
25343
25340
  }, children: [
25344
- /* @__PURE__ */ i(P, { className: "dashboard-sticky-area", sx: {
25341
+ /* @__PURE__ */ i(V, { className: "dashboard-sticky-area", sx: {
25345
25342
  position: "sticky",
25346
25343
  top: "0px"
25347
25344
  }, children: /* @__PURE__ */ i(Ed, { view: t }) }),
@@ -25362,14 +25359,14 @@ const wI = D(({
25362
25359
  return /* @__PURE__ */ i(Ti.Provider, { value: {
25363
25360
  viewPanelInFullScreen: o,
25364
25361
  inFullScreen: s
25365
- }, children: /* @__PURE__ */ u(P, { className: "dashboard-view", "data-enable-scrollbar": !0, sx: {
25362
+ }, children: /* @__PURE__ */ u(V, { className: "dashboard-view", "data-enable-scrollbar": !0, sx: {
25366
25363
  height: t.type === Z.Modal ? "0 !important" : "100%"
25367
25364
  }, children: [
25368
25365
  s && /* @__PURE__ */ i(sI, { view: t, panel: l, exitFullScreen: a }),
25369
- /* @__PURE__ */ i(xI, { view: t, children: /* @__PURE__ */ u(P, { sx: {
25366
+ /* @__PURE__ */ i(xI, { view: t, children: /* @__PURE__ */ u(V, { sx: {
25370
25367
  position: "relative"
25371
25368
  }, children: [
25372
- !s && /* @__PURE__ */ i(P, { className: "dashboard-sticky-area", sx: {
25369
+ !s && /* @__PURE__ */ i(V, { className: "dashboard-sticky-area", sx: {
25373
25370
  position: "sticky",
25374
25371
  top: "0px"
25375
25372
  }, children: /* @__PURE__ */ i(Ed, { view: t }) }),
@@ -26637,7 +26634,7 @@ const QI = D(() => {
26637
26634
  }, JI = D(() => {
26638
26635
  var n;
26639
26636
  const e = Ce(), t = ((n = e.views.VIE) == null ? void 0 : n.type) === Z.Tabs;
26640
- return /* @__PURE__ */ i(P, { sx: XI, pl: {
26637
+ return /* @__PURE__ */ i(V, { sx: XI, pl: {
26641
26638
  base: 200,
26642
26639
  xs: 200,
26643
26640
  sm: 200,
@@ -26655,10 +26652,10 @@ const QI = D(() => {
26655
26652
  borderBottom: "1px solid #e9ecef",
26656
26653
  background: "rgb(231, 245, 255)"
26657
26654
  }, children: "Add a Panel" }),
26658
- /* @__PURE__ */ i(P, {}),
26659
- /* @__PURE__ */ i(P, {})
26655
+ /* @__PURE__ */ i(V, {}),
26656
+ /* @__PURE__ */ i(V, {})
26660
26657
  ] }) });
26661
- }), ZI = D((e) => /* @__PURE__ */ u(j, { children: [
26658
+ }), ZI = D((e) => /* @__PURE__ */ u(W, { children: [
26662
26659
  /* @__PURE__ */ i(UI, { ...e }),
26663
26660
  /* @__PURE__ */ i(JI, {})
26664
26661
  ] }));
@@ -26977,9 +26974,9 @@ const xM = rh(({
26977
26974
  ...o
26978
26975
  }) => {
26979
26976
  const a = M(() => yM(e.interactions), [e.interactions]);
26980
- return /* @__PURE__ */ u(j, { children: [
26977
+ return /* @__PURE__ */ u(W, { children: [
26981
26978
  /* @__PURE__ */ i(Ss, { type: "target", position: r, isConnectable: t }),
26982
- /* @__PURE__ */ i(P, { sx: {
26979
+ /* @__PURE__ */ i(V, { sx: {
26983
26980
  position: "absolute",
26984
26981
  top: 0,
26985
26982
  right: 0
@@ -27056,7 +27053,7 @@ function SM({
27056
27053
  active: n,
27057
27054
  openSettings: r
27058
27055
  }) {
27059
- return /* @__PURE__ */ u(P, { sx: {
27056
+ return /* @__PURE__ */ u(V, { sx: {
27060
27057
  position: "relative"
27061
27058
  }, children: [
27062
27059
  /* @__PURE__ */ i(hh, { sx: (o) => ({
@@ -27088,7 +27085,7 @@ const kM = D(() => {
27088
27085
  const e = Fe(), t = Ce(), n = nt((o) => () => t.views.setIDOfVIE(o), [t]), r = (o) => {
27089
27086
  e.editor.open(["_VIEWS_", o]);
27090
27087
  };
27091
- return /* @__PURE__ */ u(P, { sx: {
27088
+ return /* @__PURE__ */ u(V, { sx: {
27092
27089
  position: "relative"
27093
27090
  }, children: [
27094
27091
  t.views.options.map((o) => /* @__PURE__ */ i(SM, { active: t.views.idOfVIE === o.value, name: o.label, onClick: n(o.value), openSettings: () => r(o.value) }, o.value)),
@@ -27161,7 +27158,7 @@ const kM = D(() => {
27161
27158
  }), DM = D(function({
27162
27159
  config: t
27163
27160
  }) {
27164
- return /* @__PURE__ */ u(j, { children: [
27161
+ return /* @__PURE__ */ u(W, { children: [
27165
27162
  /* @__PURE__ */ i(xe, { checked: t.default_value, onChange: (n) => t.setDefaultValue(n.currentTarget.checked), label: "Default Checked" }),
27166
27163
  /* @__PURE__ */ i(Aa, { label: "Description", value: t.description, onChange: t.setDescription, styles: {
27167
27164
  root: {
@@ -27188,7 +27185,7 @@ const kM = D(() => {
27188
27185
  }], MM = D(function({
27189
27186
  config: t
27190
27187
  }) {
27191
- return /* @__PURE__ */ u(j, { children: [
27188
+ return /* @__PURE__ */ u(W, { children: [
27192
27189
  /* @__PURE__ */ u(v, { children: [
27193
27190
  /* @__PURE__ */ i(xe, { checked: t.required, onChange: (n) => t.setRequired(n.currentTarget.checked), label: "Required" }),
27194
27191
  /* @__PURE__ */ i(xe, { checked: t.clearable, onChange: (n) => t.setClearable(n.currentTarget.checked), disabled: t.max_days > 0, label: "Clearable" }),
@@ -27230,7 +27227,7 @@ const kM = D(() => {
27230
27227
  }
27231
27228
  `, Du = () => {
27232
27229
  const [e, t] = Q(!1);
27233
- return /* @__PURE__ */ u(j, { children: [
27230
+ return /* @__PURE__ */ u(W, { children: [
27234
27231
  /* @__PURE__ */ i(I, { variant: "subtle", compact: !0, onClick: () => t((n) => !n), children: e ? "Close" : "Click to see expected data structure" }),
27235
27232
  /* @__PURE__ */ i(Qo, { in: e, children: /* @__PURE__ */ i(Sn, { language: "typescript", noCopy: !0, colorScheme: "dark", children: $M }) })
27236
27233
  ] });
@@ -27243,14 +27240,14 @@ const kM = D(() => {
27243
27240
  value: ""
27244
27241
  });
27245
27242
  }, r = t.static_options, o = [...r];
27246
- return /* @__PURE__ */ u(j, { children: [
27243
+ return /* @__PURE__ */ u(W, { children: [
27247
27244
  /* @__PURE__ */ i(z, { label: "Width", description: "At least 160px", value: t.min_width, onChange: (a) => t.setMinWidth(a.currentTarget.value), placeholder: "default: 200px" }),
27248
27245
  /* @__PURE__ */ i(L, { label: "Configure options", labelPosition: "center" }),
27249
27246
  /* @__PURE__ */ u(S, { spacing: 10, sx: {
27250
27247
  position: "relative",
27251
27248
  minHeight: "50px"
27252
27249
  }, children: [
27253
- t.usingQuery && /* @__PURE__ */ u(j, { children: [
27250
+ t.usingQuery && /* @__PURE__ */ u(W, { children: [
27254
27251
  /* @__PURE__ */ i(Xt, { opacity: 0.8, color: "#000", sx: {
27255
27252
  left: "-5px",
27256
27253
  right: "-5px",
@@ -27307,7 +27304,7 @@ const kM = D(() => {
27307
27304
  label: "No default selection",
27308
27305
  value: ""
27309
27306
  }, ...r];
27310
- return /* @__PURE__ */ u(j, { children: [
27307
+ return /* @__PURE__ */ u(W, { children: [
27311
27308
  /* @__PURE__ */ i(xe, { checked: t.required, onChange: (a) => t.setRequired(a.currentTarget.checked), label: "Required" }),
27312
27309
  /* @__PURE__ */ i(z, { label: "Width", value: t.width, onChange: (a) => t.setWidth(a.currentTarget.value), placeholder: "200px" }),
27313
27310
  /* @__PURE__ */ i(L, { label: "Configure options", labelPosition: "center" }),
@@ -27315,7 +27312,7 @@ const kM = D(() => {
27315
27312
  position: "relative",
27316
27313
  minHeight: "50px"
27317
27314
  }, children: [
27318
- t.usingQuery && /* @__PURE__ */ u(j, { children: [
27315
+ t.usingQuery && /* @__PURE__ */ u(W, { children: [
27319
27316
  /* @__PURE__ */ i(Xt, { opacity: 0.8, color: "#000", sx: {
27320
27317
  left: "-5px",
27321
27318
  right: "-5px",
@@ -27363,7 +27360,7 @@ const kM = D(() => {
27363
27360
  }), AM = D(function({
27364
27361
  config: t
27365
27362
  }) {
27366
- return /* @__PURE__ */ u(j, { children: [
27363
+ return /* @__PURE__ */ u(W, { children: [
27367
27364
  /* @__PURE__ */ i(z, { label: "Default Value", value: t.default_value, onChange: (n) => {
27368
27365
  t.setDefaultValue(n.currentTarget.value);
27369
27366
  } }),
@@ -27379,14 +27376,14 @@ const kM = D(() => {
27379
27376
  }
27380
27377
  `, RM = () => {
27381
27378
  const [e, t] = Q(!1);
27382
- return /* @__PURE__ */ u(j, { children: [
27379
+ return /* @__PURE__ */ u(W, { children: [
27383
27380
  /* @__PURE__ */ i(I, { variant: "subtle", compact: !0, onClick: () => t((n) => !n), children: e ? "Close" : "Click to see expected data structure" }),
27384
27381
  /* @__PURE__ */ i(Qo, { in: e, children: /* @__PURE__ */ i(Sn, { language: "typescript", noCopy: !0, colorScheme: "dark", children: EM }) })
27385
27382
  ] });
27386
27383
  }, OM = D(function({
27387
27384
  config: t
27388
27385
  }) {
27389
- return /* @__PURE__ */ u(j, { children: [
27386
+ return /* @__PURE__ */ u(W, { children: [
27390
27387
  /* @__PURE__ */ i(z, { label: "Min-width", value: t.min_width, onChange: (n) => t.setMinWidth(n.currentTarget.value), placeholder: "200px" }),
27391
27388
  /* @__PURE__ */ i(L, { label: "Fetch options from database", labelPosition: "center" }),
27392
27389
  /* @__PURE__ */ i(ie, { value: t.default_selection_count, onChange: t.setDefaultSelectionCount, label: "Select first N options by default" }),
@@ -27399,7 +27396,7 @@ const kM = D(() => {
27399
27396
  const [n, r] = R.useState(t.plainDefaultValue);
27400
27397
  return R.useEffect(() => {
27401
27398
  r(t.plainDefaultValue);
27402
- }, [t]), /* @__PURE__ */ u(P, { sx: {
27399
+ }, [t]), /* @__PURE__ */ u(V, { sx: {
27403
27400
  maxWidth: "480px"
27404
27401
  }, children: [
27405
27402
  /* @__PURE__ */ i(C, { pb: "md", color: "gray", children: "Preview" }),
@@ -27437,7 +27434,7 @@ const kM = D(() => {
27437
27434
  }) {
27438
27435
  const n = Ce(), r = R.useMemo(() => PM[t.type], [t.type]);
27439
27436
  return /* @__PURE__ */ u(v, { grow: !0, spacing: 20, align: "top", children: [
27440
- /* @__PURE__ */ u(P, { sx: {
27437
+ /* @__PURE__ */ u(V, { sx: {
27441
27438
  maxWidth: "600px"
27442
27439
  }, children: [
27443
27440
  /* @__PURE__ */ i(C, { pb: "md", color: "gray", children: "Edit" }),
@@ -27508,7 +27505,7 @@ const kM = D(() => {
27508
27505
  zIndex: 320
27509
27506
  });
27510
27507
  }, children: "Delete this filter" }) }),
27511
- /* @__PURE__ */ i(P, { sx: {
27508
+ /* @__PURE__ */ i(V, { sx: {
27512
27509
  flexGrow: 1,
27513
27510
  maxHeight: "calc(100% - 52px)",
27514
27511
  overflow: "auto"
@@ -27580,7 +27577,7 @@ const kM = D(() => {
27580
27577
  } = qt(), {
27581
27578
  style: t
27582
27579
  } = e;
27583
- return /* @__PURE__ */ u(j, { children: [
27580
+ return /* @__PURE__ */ u(W, { children: [
27584
27581
  /* @__PURE__ */ i(L, { mb: -10, label: "Style", labelPosition: "center", variant: "dashed" }),
27585
27582
  /* @__PURE__ */ u(S, { spacing: 20, children: [
27586
27583
  /* @__PURE__ */ u(v, { grow: !0, align: "top", children: [
@@ -27685,7 +27682,7 @@ function Iu({
27685
27682
  columnResizeMode: "onChange",
27686
27683
  getCoreRowModel: nc()
27687
27684
  });
27688
- return e.length === 0 ? /* @__PURE__ */ i(P, { sx: {
27685
+ return e.length === 0 ? /* @__PURE__ */ i(V, { sx: {
27689
27686
  height: "5em"
27690
27687
  } }) : /* @__PURE__ */ i(ht, { children: /* @__PURE__ */ u(Vt, { sx: HM, children: [
27691
27688
  /* @__PURE__ */ i("thead", { children: n.getHeaderGroups().map((r) => /* @__PURE__ */ i("tr", { children: r.headers.map((o) => /* @__PURE__ */ u("th", { style: {
@@ -27739,7 +27736,7 @@ const QM = ({
27739
27736
  /* @__PURE__ */ i(K, { variant: "subtle", color: "blue", disabled: s || p, onClick: c, children: /* @__PURE__ */ i(Zo, { size: 16 }) })
27740
27737
  ] })
27741
27738
  ] }),
27742
- /* @__PURE__ */ u(P, { sx: {
27739
+ /* @__PURE__ */ u(V, { sx: {
27743
27740
  position: "relative",
27744
27741
  overflow: "auto"
27745
27742
  }, children: [
@@ -27754,7 +27751,7 @@ const QM = ({
27754
27751
  } = qt(), [o, a] = Q(!1), s = (l) => {
27755
27752
  t.editor.setPath(["_QUERIES_", l]);
27756
27753
  };
27757
- return /* @__PURE__ */ u(j, { children: [
27754
+ return /* @__PURE__ */ u(W, { children: [
27758
27755
  /* @__PURE__ */ i(ph, { opened: o, onClose: () => a(!1), title: "Choose queries", padding: "xl", size: 500, zIndex: 320, children: /* @__PURE__ */ i(xe.Group, { value: [...r.queryIDs], onChange: r.setQueryIDs, children: /* @__PURE__ */ i(S, { spacing: "lg", children: n.queries.options.map((l) => /* @__PURE__ */ i(xe, { label: l.label, value: l.value }, l.value)) }) }) }),
27759
27756
  /* @__PURE__ */ u(S, { spacing: 6, children: [
27760
27757
  /* @__PURE__ */ i(v, { position: "right", children: /* @__PURE__ */ i(I, { variant: "light", size: "sm", leftIcon: /* @__PURE__ */ i(sp, { size: 16 }), onClick: () => a(!0), children: "Click me to choose queries for this panel" }) }),
@@ -27769,7 +27766,7 @@ const QM = ({
27769
27766
  const {
27770
27767
  panel: e
27771
27768
  } = $n();
27772
- return /* @__PURE__ */ i(ht, { children: /* @__PURE__ */ i(P, { sx: {
27769
+ return /* @__PURE__ */ i(ht, { children: /* @__PURE__ */ i(V, { sx: {
27773
27770
  height: "100%",
27774
27771
  flexGrow: 0,
27775
27772
  flexShrink: 0,
@@ -27893,13 +27890,13 @@ const Mu = Gn((e) => ({
27893
27890
  const d = k.cloneDeep(t);
27894
27891
  k.set(d, l, c), n(d);
27895
27892
  };
27896
- return /* @__PURE__ */ u(P, { px: "sm", py: "md", ref: a, children: [
27893
+ return /* @__PURE__ */ u(V, { px: "sm", py: "md", ref: a, children: [
27897
27894
  /* @__PURE__ */ u(v, { grow: !0, noWrap: !0, children: [
27898
27895
  /* @__PURE__ */ i(z, { label: "Name", required: !0, value: t.name, onChange: (l) => s("name", l.currentTarget.value) }),
27899
27896
  /* @__PURE__ */ i(X, { label: "Data Field", required: !0, value: t.data_field, onChange: (l) => s("data_field", l) })
27900
27897
  ] }),
27901
27898
  /* @__PURE__ */ i(gi, { label: "Aggregation", value: t.aggregation, onChange: (l) => s("aggregation", l) }),
27902
- t.aggregation.type !== "custom" && /* @__PURE__ */ u(j, { children: [
27899
+ t.aggregation.type !== "custom" && /* @__PURE__ */ u(W, { children: [
27903
27900
  /* @__PURE__ */ i(L, { my: "xs", label: "Format", labelPosition: "center" }),
27904
27901
  /* @__PURE__ */ i(vt, { value: t.formatter, onChange: (l) => s("formatter", l) })
27905
27902
  ] }),
@@ -27940,10 +27937,10 @@ const Mu = Gn((e) => ({
27940
27937
  } = Mu();
27941
27938
  return /* @__PURE__ */ u(v, { className: t.root, noWrap: !0, align: "start", children: [
27942
27939
  /* @__PURE__ */ i(Go, { withBorder: !0, p: "md", className: "var-list-container", children: /* @__PURE__ */ u(S, { justify: "space-between", children: [
27943
- /* @__PURE__ */ i(P, { className: "var-list-actions", children: /* @__PURE__ */ i(I, { variant: "light", size: "sm", onClick: e.addNew, fullWidth: !0, children: "Add Variable" }) }),
27940
+ /* @__PURE__ */ i(V, { className: "var-list-actions", children: /* @__PURE__ */ i(I, { variant: "light", size: "sm", onClick: e.addNew, fullWidth: !0, children: "Add Variable" }) }),
27944
27941
  /* @__PURE__ */ i(t$, { uiModel: e })
27945
27942
  ] }) }),
27946
- e.selected ? /* @__PURE__ */ i(j, { children: /* @__PURE__ */ i(o$, { uiModel: e, variable: e.selected }) }) : /* @__PURE__ */ i("span", { children: "Select or create a new variable on right side" })
27943
+ e.selected ? /* @__PURE__ */ i(W, { children: /* @__PURE__ */ i(o$, { uiModel: e, variable: e.selected }) }) : /* @__PURE__ */ i("span", { children: "Select or create a new variable on right side" })
27947
27944
  ] });
27948
27945
  }, s$ = D(a$);
27949
27946
  function l$() {
@@ -28067,7 +28064,7 @@ const h$ = D(() => {
28067
28064
  }] = na(!1), c = () => {
28068
28065
  e.moveToView(t, r), l();
28069
28066
  };
28070
- return /* @__PURE__ */ u(j, { children: [
28067
+ return /* @__PURE__ */ u(W, { children: [
28071
28068
  /* @__PURE__ */ i(I, { size: "xs", variant: "subtle", color: "blue", onClick: s, leftIcon: /* @__PURE__ */ i(El, { size: 14 }), children: "Move into Another View" }),
28072
28069
  /* @__PURE__ */ i(Te, { opened: a, onClose: l, title: "Move panel into another view", zIndex: 320, children: /* @__PURE__ */ u(S, { sx: {
28073
28070
  maxHeight: "calc(100vh - 185px)",
@@ -28105,7 +28102,7 @@ const h$ = D(() => {
28105
28102
  width: "100%",
28106
28103
  height: "100%"
28107
28104
  }, children: [
28108
- /* @__PURE__ */ i(P, { sx: {
28105
+ /* @__PURE__ */ i(V, { sx: {
28109
28106
  maxWidth: "calc(100% - 610px - 10px)",
28110
28107
  height: "100%",
28111
28108
  overflow: "auto"
@@ -28432,7 +28429,7 @@ const D$ = D(({
28432
28429
  const {
28433
28430
  tables: t
28434
28431
  } = e;
28435
- return t.loading ? /* @__PURE__ */ i($u, { height: "24px", lastWidth: "50%", count: 15 }) : /* @__PURE__ */ i(P, { h: "100%", sx: {
28432
+ return t.loading ? /* @__PURE__ */ i($u, { height: "24px", lastWidth: "50%", count: 15 }) : /* @__PURE__ */ i(V, { h: "100%", sx: {
28436
28433
  overflow: "auto",
28437
28434
  ".mantine-NavLink-label": {
28438
28435
  fontFamily: "monospace"
@@ -28442,7 +28439,7 @@ const D$ = D(({
28442
28439
  }, active: e.table_name === o.table_name }, o.table_name)) }, n)) });
28443
28440
  }), I$ = ({
28444
28441
  visible: e
28445
- }) => /* @__PURE__ */ i(P, { py: 10, sx: {
28442
+ }) => /* @__PURE__ */ i(V, { py: 10, sx: {
28446
28443
  width: "100%",
28447
28444
  height: "100%",
28448
28445
  overflow: "hidden",
@@ -28510,7 +28507,7 @@ const D$ = D(({
28510
28507
  fontFamily: "monospace"
28511
28508
  }, children: t.error }) : t.page === 1 && t.loading ? /* @__PURE__ */ i(I$, { visible: !0 }) : /* @__PURE__ */ u(ht, { children: [
28512
28509
  /* @__PURE__ */ i(z$, { dataSource: e }),
28513
- /* @__PURE__ */ u(P, { py: 10, sx: {
28510
+ /* @__PURE__ */ u(V, { py: 10, sx: {
28514
28511
  width: "100%",
28515
28512
  height: "calc(100% - 42px)",
28516
28513
  overflow: "auto",
@@ -28541,7 +28538,7 @@ const D$ = D(({
28541
28538
  }, children: e.tables.error }) : /* @__PURE__ */ u(Yn, { sx: {
28542
28539
  height: "100%"
28543
28540
  }, children: [
28544
- /* @__PURE__ */ i(P, { w: 300, sx: {
28541
+ /* @__PURE__ */ i(V, { w: 300, sx: {
28545
28542
  flexGrow: 0,
28546
28543
  flexShrink: 0,
28547
28544
  position: "relative"
@@ -28580,7 +28577,7 @@ const D$ = D(({
28580
28577
  triggerButtonProps: t = {}
28581
28578
  }) => {
28582
28579
  const [n, r] = Q(!1);
28583
- return e.type === "http" ? null : /* @__PURE__ */ u(j, { children: [
28580
+ return e.type === "http" ? null : /* @__PURE__ */ u(W, { children: [
28584
28581
  /* @__PURE__ */ i(Te, { opened: n, onClose: () => r(!1), title: /* @__PURE__ */ u(v, { position: "apart", sx: {
28585
28582
  flexGrow: 1
28586
28583
  }, children: [
@@ -28595,7 +28592,7 @@ const D$ = D(({
28595
28592
  to: "red"
28596
28593
  }, children: e.type })
28597
28594
  ] })
28598
- ] }), zIndex: 320, size: "96vw", styles: R$, children: /* @__PURE__ */ i(P, { sx: {
28595
+ ] }), zIndex: 320, size: "96vw", styles: R$, children: /* @__PURE__ */ i(V, { sx: {
28599
28596
  height: "calc(100vh - 220px)"
28600
28597
  }, children: /* @__PURE__ */ i(E$, { dataSource: e }) }) }),
28601
28598
  /* @__PURE__ */ i(I, { variant: "subtle", onClick: () => r(!0), px: 16, styles: {
@@ -28631,7 +28628,7 @@ const D$ = D(({
28631
28628
  });
28632
28629
  }, c = M(() => n.datasources.find(e), [n, e]);
28633
28630
  return /* @__PURE__ */ i(F, { data: a, label: /* @__PURE__ */ u(v, { position: "apart", children: [
28634
- /* @__PURE__ */ i(P, { children: "Data Source" }),
28631
+ /* @__PURE__ */ i(V, { children: "Data Source" }),
28635
28632
  c && /* @__PURE__ */ i(zu, { dataSource: c, triggerButtonProps: {
28636
28633
  compact: !0,
28637
28634
  size: "xs",
@@ -28773,7 +28770,7 @@ WHERE
28773
28770
  ] }) });
28774
28771
  }), Za = D(() => {
28775
28772
  const [e, t] = Q(!1);
28776
- return /* @__PURE__ */ u(j, { children: [
28773
+ return /* @__PURE__ */ u(W, { children: [
28777
28774
  /* @__PURE__ */ i(Te, { opened: e, onClose: () => t(!1), title: "Query Variables", zIndex: 320, size: "800px", children: /* @__PURE__ */ i(Lu, {}) }),
28778
28775
  /* @__PURE__ */ i(I, { variant: "subtle", onClick: () => t(!0), px: 16, styles: {
28779
28776
  inner: {
@@ -28833,8 +28830,8 @@ WHERE
28833
28830
  /* @__PURE__ */ i("td", { children: k.capitalize(a.type) }),
28834
28831
  /* @__PURE__ */ i("td", { children: /* @__PURE__ */ i(Xi, { component: "button", type: "button", onClick: () => r(a), children: a.label }) }),
28835
28832
  /* @__PURE__ */ i("td", { children: /* @__PURE__ */ u(S, { align: "flex-start", justify: "flex-start", spacing: 2, children: [
28836
- a.views.map((s) => /* @__PURE__ */ i(Xi, { component: "button", type: "button", onClick: () => o(s.id), children: /* @__PURE__ */ i(P, { children: s.label }) })),
28837
- a.views.length === 0 && /* @__PURE__ */ i(P, { children: "--" })
28833
+ a.views.map((s) => /* @__PURE__ */ i(Xi, { component: "button", type: "button", onClick: () => o(s.id), children: /* @__PURE__ */ i(V, { children: s.label }) })),
28834
+ a.views.length === 0 && /* @__PURE__ */ i(V, { children: "--" })
28838
28835
  ] }) })
28839
28836
  ] }, a.id)) })
28840
28837
  ] }) });
@@ -29124,7 +29121,7 @@ WHERE
29124
29121
  disabled: e,
29125
29122
  value: t,
29126
29123
  onChange: n
29127
- }) => /* @__PURE__ */ u(P, { sx: {
29124
+ }) => /* @__PURE__ */ u(V, { sx: {
29128
29125
  position: "relative"
29129
29126
  }, children: [
29130
29127
  e && /* @__PURE__ */ i(Xt, { opacity: 0.6, color: "#fff", zIndex: 5, blur: 2 }),
@@ -29168,7 +29165,7 @@ WHERE
29168
29165
  }, h = () => {
29169
29166
  p(lo.func_content);
29170
29167
  };
29171
- return /* @__PURE__ */ u(j, { children: [
29168
+ return /* @__PURE__ */ u(W, { children: [
29172
29169
  /* @__PURE__ */ i(K, { size: "lg", color: "blue", variant: "filled", mt: 26, onClick: r, sx: {
29173
29170
  flexGrow: 0
29174
29171
  }, children: /* @__PURE__ */ i(Il, { size: 14 }) }),
@@ -29205,7 +29202,7 @@ WHERE
29205
29202
  ] });
29206
29203
  }), az = D(({
29207
29204
  view: e
29208
- }) => /* @__PURE__ */ u(j, { children: [
29205
+ }) => /* @__PURE__ */ u(W, { children: [
29209
29206
  /* @__PURE__ */ i(Z$, { view: e }),
29210
29207
  /* @__PURE__ */ i(oz, { view: e }),
29211
29208
  /* @__PURE__ */ i(nz, { view: e })
@@ -29262,7 +29259,7 @@ WHERE
29262
29259
  zIndex: 320
29263
29260
  });
29264
29261
  }, children: "Delete this view" }) }),
29265
- /* @__PURE__ */ i(P, { sx: {
29262
+ /* @__PURE__ */ i(V, { sx: {
29266
29263
  flexGrow: 1,
29267
29264
  maxHeight: "calc(100% - 52px)",
29268
29265
  overflow: "auto"
@@ -29294,7 +29291,7 @@ const bz = D(() => /* @__PURE__ */ i(S, { sx: {
29294
29291
  height: "100%"
29295
29292
  }, p: "sm", children: /* @__PURE__ */ i(Lu, {}) })), yz = D(() => {
29296
29293
  const e = Fe().editor, t = e.path;
29297
- return dz(t) ? /* @__PURE__ */ i(bz, {}) : uz(t) ? /* @__PURE__ */ i(qM, {}) : hz(t) ? /* @__PURE__ */ i(P, { p: "xs", pl: 20, children: /* @__PURE__ */ i(BM, { id: t[1] }) }) : pz(t) ? /* @__PURE__ */ i(J$, { id: t[1] }) : fz(t) ? /* @__PURE__ */ i(K$, { id: t[1] }) : mz(t) ? /* @__PURE__ */ i(P, { p: "xs", pl: 20, children: /* @__PURE__ */ i(cz, { id: t[1] }) }) : gz(t) ? /* @__PURE__ */ i(b$, { viewID: t[1], panelID: t[3] }) : /* @__PURE__ */ i(P, { children: e.path });
29294
+ return dz(t) ? /* @__PURE__ */ i(bz, {}) : uz(t) ? /* @__PURE__ */ i(qM, {}) : hz(t) ? /* @__PURE__ */ i(V, { p: "xs", pl: 20, children: /* @__PURE__ */ i(BM, { id: t[1] }) }) : pz(t) ? /* @__PURE__ */ i(J$, { id: t[1] }) : fz(t) ? /* @__PURE__ */ i(K$, { id: t[1] }) : mz(t) ? /* @__PURE__ */ i(V, { p: "xs", pl: 20, children: /* @__PURE__ */ i(cz, { id: t[1] }) }) : gz(t) ? /* @__PURE__ */ i(b$, { viewID: t[1], panelID: t[3] }) : /* @__PURE__ */ i(V, { children: e.path });
29298
29295
  }), xz = D(() => /* @__PURE__ */ i(yz, {})), vz = D(() => {
29299
29296
  const e = Fe();
29300
29297
  return /* @__PURE__ */ i(I, { variant: "subtle", leftIcon: /* @__PURE__ */ i(Bt, { size: 14 }), size: "sm", px: "xs", mb: 10, color: "blue", onClick: () => {
@@ -29390,7 +29387,7 @@ const bz = D(() => /* @__PURE__ */ i(S, { sx: {
29390
29387
  }, [s]), /* @__PURE__ */ i(Ji, { active: r, defaultOpened: s, opened: l, onChange: c, label: e.label, onClick: () => a(e), icon: e.Icon ? /* @__PURE__ */ i(e.Icon, { size: 18 }) : null, children: (d = e.children) == null ? void 0 : d.map((p) => p._type === "ACTION" ? /* @__PURE__ */ i(kz, { action_type: p._action_type, parentID: p.parentID }, `_ADD_${p.value}_`) : /* @__PURE__ */ i(Au, { option: p }, p.value)) }, e.label);
29391
29388
  }), Tz = D(() => {
29392
29389
  const e = Fe();
29393
- return /* @__PURE__ */ i(P, { sx: {
29390
+ return /* @__PURE__ */ i(V, { sx: {
29394
29391
  position: "relative"
29395
29392
  }, children: e.editor.navOptions.map((t) => /* @__PURE__ */ i(Au, { option: t }, t.value)) });
29396
29393
  }), Dz = D(() => {
@@ -29512,7 +29509,7 @@ const Lz = {
29512
29509
  return /* @__PURE__ */ i(bl, { children: /* @__PURE__ */ i(fc, { value: h, children: /* @__PURE__ */ i(yc, { value: h.content, children: /* @__PURE__ */ i(ca.Provider, { value: {
29513
29510
  inEditMode: !0
29514
29511
  }, children: /* @__PURE__ */ i(jt.Provider, { value: m, children: /* @__PURE__ */ u(ki, { configure: w, children: [
29515
- /* @__PURE__ */ i(gl, { padding: 0, header: /* @__PURE__ */ i(ZI, { saveDashboardChanges: f, headerSlot: l }), navbar: /* @__PURE__ */ i(TM, {}), styles: Lz, children: /* @__PURE__ */ i(P, { className: `${o} dashboard-root`, sx: {
29512
+ /* @__PURE__ */ i(gl, { padding: 0, header: /* @__PURE__ */ i(ZI, { saveDashboardChanges: f, headerSlot: l }), navbar: /* @__PURE__ */ i(TM, {}), styles: Lz, children: /* @__PURE__ */ i(V, { className: `${o} dashboard-root`, sx: {
29516
29513
  position: "relative"
29517
29514
  }, children: h.content.views.visibleViews.map((x) => /* @__PURE__ */ i(TI, { view: x }, x.id)) }) }),
29518
29515
  /* @__PURE__ */ i(Mz, {})
@@ -29704,7 +29701,7 @@ const lE = D(({
29704
29701
  setFullScreenPanelID: s
29705
29702
  }, children: /* @__PURE__ */ i(ca.Provider, { value: {
29706
29703
  inEditMode: !1
29707
- }, children: /* @__PURE__ */ i(P, { className: `${r} dashboard-root`, children: /* @__PURE__ */ i(jt.Provider, { value: p, children: /* @__PURE__ */ i(ki, { configure: h, children: d.content.views.visibleViews.map((f) => /* @__PURE__ */ i(Ka, { view: f }, f.id)) }) }) }) }) }) }) }) });
29704
+ }, children: /* @__PURE__ */ i(V, { className: `${r} dashboard-root`, children: /* @__PURE__ */ i(jt.Provider, { value: p, children: /* @__PURE__ */ i(ki, { configure: h, children: d.content.views.visibleViews.map((f) => /* @__PURE__ */ i(Ka, { view: f }, f.id)) }) }) }) }) }) }) }) });
29708
29705
  });
29709
29706
  var uo = {}, Fz = {
29710
29707
  get exports() {
@@ -29916,9 +29913,9 @@ var go = {}, Hz = {
29916
29913
  }, f = function(x, T) {
29917
29914
  var $, A = l.meridiem;
29918
29915
  if (A) {
29919
- for (var W = 1; W <= 24; W += 1)
29920
- if (x.indexOf(A(W, 0, T)) > -1) {
29921
- $ = W > 12;
29916
+ for (var j = 1; j <= 24; j += 1)
29917
+ if (x.indexOf(A(j, 0, T)) > -1) {
29918
+ $ = j > 12;
29922
29919
  break;
29923
29920
  }
29924
29921
  } else
@@ -29962,12 +29959,12 @@ var go = {}, Hz = {
29962
29959
  return te || $[oe] || n[oe] || $[be].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function(ye, Ae, Ue) {
29963
29960
  return Ae || Ue.slice(1);
29964
29961
  });
29965
- })).match(r), W = A.length, Y = 0; Y < W; Y += 1) {
29962
+ })).match(r), j = A.length, Y = 0; Y < j; Y += 1) {
29966
29963
  var B = A[Y], O = m[B], E = O && O[0], U = O && O[1];
29967
29964
  A[Y] = U ? { regex: E, parser: U } : B.replace(/^\[|\]$/g, "");
29968
29965
  }
29969
29966
  return function(re) {
29970
- for (var te = {}, oe = 0, be = 0; oe < W; oe += 1) {
29967
+ for (var te = {}, oe = 0, be = 0; oe < j; oe += 1) {
29971
29968
  var ye = A[oe];
29972
29969
  if (typeof ye == "string")
29973
29970
  be += ye.length;
@@ -29987,7 +29984,7 @@ var go = {}, Hz = {
29987
29984
  }
29988
29985
  return function(x, T, $) {
29989
29986
  $.p.customParseFormat = !0, x && x.parseTwoDigitYear && (c = x.parseTwoDigitYear);
29990
- var A = T.prototype, W = A.parse;
29987
+ var A = T.prototype, j = A.parse;
29991
29988
  A.parse = function(Y) {
29992
29989
  var B = Y.date, O = Y.utc, E = Y.args;
29993
29990
  this.$u = O;
@@ -30017,7 +30014,7 @@ var go = {}, Hz = {
30017
30014
  Ae === ye && (this.$d = /* @__PURE__ */ new Date(""));
30018
30015
  }
30019
30016
  else
30020
- W.call(this, Y);
30017
+ j.call(this, Y);
30021
30018
  };
30022
30019
  };
30023
30020
  });
@@ -30068,7 +30065,7 @@ var yo = {}, Xz = {
30068
30065
  return T(B) ? Math.ceil(B) : Math.floor(B);
30069
30066
  }, A = function(B) {
30070
30067
  return Math.abs(B);
30071
- }, W = function(B, O) {
30068
+ }, j = function(B, O) {
30072
30069
  return B ? T(B) ? { negative: !0, format: "" + A(B) + O } : { negative: !1, format: "" + B + O } : { negative: !1, format: "" };
30073
30070
  }, Y = function() {
30074
30071
  function B(E, U, re) {
@@ -30102,11 +30099,11 @@ var yo = {}, Xz = {
30102
30099
  var E = this.$ms;
30103
30100
  this.$d.years = $(E / d), E %= d, this.$d.months = $(E / p), E %= p, this.$d.days = $(E / l), E %= l, this.$d.hours = $(E / s), E %= s, this.$d.minutes = $(E / a), E %= a, this.$d.seconds = $(E / o), E %= o, this.$d.milliseconds = E;
30104
30101
  }, O.toISOString = function() {
30105
- var E = W(this.$d.years, "Y"), U = W(this.$d.months, "M"), re = +this.$d.days || 0;
30102
+ var E = j(this.$d.years, "Y"), U = j(this.$d.months, "M"), re = +this.$d.days || 0;
30106
30103
  this.$d.weeks && (re += 7 * this.$d.weeks);
30107
- var te = W(re, "D"), oe = W(this.$d.hours, "H"), be = W(this.$d.minutes, "M"), ye = this.$d.seconds || 0;
30104
+ var te = j(re, "D"), oe = j(this.$d.hours, "H"), be = j(this.$d.minutes, "M"), ye = this.$d.seconds || 0;
30108
30105
  this.$d.milliseconds && (ye += this.$d.milliseconds / 1e3);
30109
- var Ae = W(ye, "S"), Ue = E.negative || U.negative || te.negative || oe.negative || be.negative || Ae.negative, Me = oe.format || be.format || Ae.format ? "T" : "", Pe = (Ue ? "-" : "") + "P" + E.format + U.format + te.format + Me + oe.format + be.format + Ae.format;
30106
+ var Ae = j(ye, "S"), Ue = E.negative || U.negative || te.negative || oe.negative || be.negative || Ae.negative, Me = oe.format || be.format || Ae.format ? "T" : "", Pe = (Ue ? "-" : "") + "P" + E.format + U.format + te.format + Me + oe.format + be.format + Ae.format;
30110
30107
  return Pe === "P" || Pe === "-P" ? "P0D" : Pe;
30111
30108
  }, O.toJSON = function() {
30112
30109
  return this.toISOString();
@@ -30418,14 +30415,14 @@ var Mo = {}, xL = {
30418
30415
  var a = r.prototype, s = function(h) {
30419
30416
  return h && (h.indexOf ? h : h.s);
30420
30417
  }, l = function(h, f, m, w, x) {
30421
- var T = h.name ? h : h.$locale(), $ = s(T[f]), A = s(T[m]), W = $ || A.map(function(B) {
30418
+ var T = h.name ? h : h.$locale(), $ = s(T[f]), A = s(T[m]), j = $ || A.map(function(B) {
30422
30419
  return B.slice(0, w);
30423
30420
  });
30424
30421
  if (!x)
30425
- return W;
30422
+ return j;
30426
30423
  var Y = T.weekStart;
30427
- return W.map(function(B, O) {
30428
- return W[(O + (Y || 0)) % 7];
30424
+ return j.map(function(B, O) {
30425
+ return j[(O + (Y || 0)) % 7];
30429
30426
  });
30430
30427
  }, c = function() {
30431
30428
  return o.Ls[o.locale()];
@@ -30507,8 +30504,8 @@ var $o = {}, wL = {
30507
30504
  var d = this.$locale().formats, p = function(h, f) {
30508
30505
  return h.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function(m, w, x) {
30509
30506
  var T = x && x.toUpperCase();
30510
- return w || f[x] || n[x] || f[T].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function($, A, W) {
30511
- return A || W.slice(1);
30507
+ return w || f[x] || n[x] || f[T].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function($, A, j) {
30508
+ return A || j.slice(1);
30512
30509
  });
30513
30510
  });
30514
30511
  }(c, d === void 0 ? {} : d);
@@ -30574,8 +30571,8 @@ var Lo = {}, kL = {
30574
30571
  var te, oe;
30575
30572
  T[te = re, oe = a.$utils().p(te), oe === "date" ? "day" : oe] = w[re];
30576
30573
  });
30577
- var A = T.day || (T.year || T.month >= 0 ? 1 : $.date()), W = T.year || $.year(), Y = T.month >= 0 ? T.month : T.year || T.day ? 0 : $.month(), B = T.hour || 0, O = T.minute || 0, E = T.second || 0, U = T.millisecond || 0;
30578
- return x ? new Date(Date.UTC(W, Y, A, B, O, E, U)) : new Date(W, Y, A, B, O, E, U);
30574
+ var A = T.day || (T.year || T.month >= 0 ? 1 : $.date()), j = T.year || $.year(), Y = T.month >= 0 ? T.month : T.year || T.day ? 0 : $.month(), B = T.hour || 0, O = T.minute || 0, E = T.second || 0, U = T.millisecond || 0;
30575
+ return x ? new Date(Date.UTC(j, Y, A, B, O, E, U)) : new Date(j, Y, A, B, O, E, U);
30579
30576
  }
30580
30577
  return w;
30581
30578
  }, l = a.parse;
@@ -30714,7 +30711,7 @@ var Oo = {}, AL = {
30714
30711
  return a.fromToBase(d, p, h, f);
30715
30712
  }
30716
30713
  o.en.relativeTime = s, a.fromToBase = function(d, p, h, f, m) {
30717
- for (var w, x, T, $ = h.$locale().relativeTime || s, A = n.thresholds || [{ l: "s", r: 44, d: "second" }, { l: "m", r: 89 }, { l: "mm", r: 44, d: "minute" }, { l: "h", r: 89 }, { l: "hh", r: 21, d: "hour" }, { l: "d", r: 35 }, { l: "dd", r: 25, d: "day" }, { l: "M", r: 45 }, { l: "MM", r: 10, d: "month" }, { l: "y", r: 17 }, { l: "yy", d: "year" }], W = A.length, Y = 0; Y < W; Y += 1) {
30714
+ for (var w, x, T, $ = h.$locale().relativeTime || s, A = n.thresholds || [{ l: "s", r: 44, d: "second" }, { l: "m", r: 89 }, { l: "mm", r: 44, d: "minute" }, { l: "h", r: 89 }, { l: "hh", r: 21, d: "hour" }, { l: "d", r: 35 }, { l: "dd", r: 25, d: "day" }, { l: "M", r: 45 }, { l: "MM", r: 10, d: "month" }, { l: "y", r: 17 }, { l: "yy", d: "year" }], j = A.length, Y = 0; Y < j; Y += 1) {
30718
30715
  var B = A[Y];
30719
30716
  B.d && (w = f ? o(d).diff(h, B.d, !0) : h.diff(d, B.d, !0));
30720
30717
  var O = (n.rounding || Math.round)(Math.abs(w));
@@ -30764,14 +30761,14 @@ var Fo = {}, RL = {
30764
30761
  w === void 0 && (w = {});
30765
30762
  var x = new Date(f), T = function($, A) {
30766
30763
  A === void 0 && (A = {});
30767
- var W = A.timeZoneName || "short", Y = $ + "|" + W, B = r[Y];
30768
- return B || (B = new Intl.DateTimeFormat("en-US", { hour12: !1, timeZone: $, year: "numeric", month: "2-digit", day: "2-digit", hour: "2-digit", minute: "2-digit", second: "2-digit", timeZoneName: W }), r[Y] = B), B;
30764
+ var j = A.timeZoneName || "short", Y = $ + "|" + j, B = r[Y];
30765
+ return B || (B = new Intl.DateTimeFormat("en-US", { hour12: !1, timeZone: $, year: "numeric", month: "2-digit", day: "2-digit", hour: "2-digit", minute: "2-digit", second: "2-digit", timeZoneName: j }), r[Y] = B), B;
30769
30766
  }(m, w);
30770
30767
  return T.formatToParts(x);
30771
30768
  }, d = function(f, m) {
30772
30769
  for (var w = c(f, m), x = [], T = 0; T < w.length; T += 1) {
30773
- var $ = w[T], A = $.type, W = $.value, Y = n[A];
30774
- Y >= 0 && (x[Y] = parseInt(W, 10));
30770
+ var $ = w[T], A = $.type, j = $.value, Y = n[A];
30771
+ Y >= 0 && (x[Y] = parseInt(j, 10));
30775
30772
  }
30776
30773
  var B = x[3], O = B === 24 ? 0 : B, E = x[0] + "-" + x[1] + "-" + x[2] + " " + O + ":" + x[4] + ":" + x[5] + ":000", U = +f;
30777
30774
  return (s.utc(E).valueOf() - (U -= U % 1e3)) / 6e4;
@@ -30780,8 +30777,8 @@ var Fo = {}, RL = {
30780
30777
  f === void 0 && (f = l);
30781
30778
  var w = this.utcOffset(), x = this.toDate(), T = x.toLocaleString("en-US", { timeZone: f }), $ = Math.round((x - new Date(T)) / 1e3 / 60), A = s(T).$set("millisecond", this.$ms).utcOffset(15 * -Math.round(x.getTimezoneOffset() / 15) - $, !0);
30782
30779
  if (m) {
30783
- var W = A.utcOffset();
30784
- A = A.add(w - W, "minute");
30780
+ var j = A.utcOffset();
30781
+ A = A.add(w - j, "minute");
30785
30782
  }
30786
30783
  return A.$x.$timezone = f, A;
30787
30784
  }, p.offsetName = function(f) {
@@ -30806,7 +30803,7 @@ var Fo = {}, RL = {
30806
30803
  return [re, E];
30807
30804
  var oe = d(re -= 60 * (te - E) * 1e3, U);
30808
30805
  return te === oe ? [re, te] : [O - 60 * Math.min(te, oe) * 1e3, Math.max(te, oe)];
30809
- }(s.utc(f, x).valueOf(), $, T), W = A[0], Y = A[1], B = s(W).utcOffset(Y);
30806
+ }(s.utc(f, x).valueOf(), $, T), j = A[0], Y = A[1], B = s(j).utcOffset(Y);
30810
30807
  return B.$x.$timezone = T, B;
30811
30808
  }, s.tz.guess = function() {
30812
30809
  return Intl.DateTimeFormat().resolvedOptions().timeZone;
@@ -30931,15 +30928,15 @@ var Bo = {}, WL = {
30931
30928
  return re === 0 ? 0 : U === "+" ? re : -re;
30932
30929
  }(x), x === null))
30933
30930
  return this;
30934
- var A = Math.abs(x) <= 16 ? 60 * x : x, W = this;
30931
+ var A = Math.abs(x) <= 16 ? 60 * x : x, j = this;
30935
30932
  if (T)
30936
- return W.$offset = A, W.$u = x === 0, W;
30933
+ return j.$offset = A, j.$u = x === 0, j;
30937
30934
  if (x !== 0) {
30938
30935
  var Y = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
30939
- (W = this.local().add(A + Y, n)).$offset = A, W.$x.$localOffset = Y;
30936
+ (j = this.local().add(A + Y, n)).$offset = A, j.$x.$localOffset = Y;
30940
30937
  } else
30941
- W = this.utc();
30942
- return W;
30938
+ j = this.utc();
30939
+ return j;
30943
30940
  };
30944
30941
  var f = c.format;
30945
30942
  c.format = function(x) {
@@ -30963,8 +30960,8 @@ var Bo = {}, WL = {
30963
30960
  c.diff = function(x, T, $) {
30964
30961
  if (x && this.$u === x.$u)
30965
30962
  return w.call(this, x, T, $);
30966
- var A = this.local(), W = l(x).local();
30967
- return w.call(A, W, T, $);
30963
+ var A = this.local(), j = l(x).local();
30964
+ return w.call(A, j, T, $);
30968
30965
  };
30969
30966
  };
30970
30967
  });