@devtable/dashboard 8.41.0 → 8.41.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,13 +1,13 @@
1
1
  var Cw = Object.defineProperty;
2
2
  var Ew = (e, t, n) => t in e ? Cw(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
3
  var Ie = (e, t, n) => (Ew(e, typeof t != "symbol" ? t + "" : t, n), n);
4
- import { Box as xe, Text as K, Button as ie, Checkbox as Lt, Group as F, Tooltip as Xt, MultiSelect as Ma, Select as ve, TextInput as fe, createStyles as Oa, Stack as W, Badge as As, CloseButton as kw, Modal as tn, ActionIcon as Be, Menu as kr, Divider as pe, Switch as An, NumberInput as ht, useMantineTheme as im, ColorInput as ju, ColorSwatch as Hc, Slider as Tw, Overlay as Lo, Tabs as I, Center as bi, CheckIcon as Mw, MANTINE_SIZES as Ow, SimpleGrid as ti, SegmentedControl as Rw, Textarea as Dw, Collapse as Ku, Table as zo, Accordion as xo, Popover as Xl, LoadingOverlay as Ra, Flex as Da, Paper as Wu, Code as Bf, Alert as Aw, Header as $w, ThemeIcon as Ql, HoverCard as Zl, List as jf, UnstyledButton as Pw, Navbar as Pr, JsonInput as am, Radio as Kf, Skeleton as Wf, NavLink as Bc, Anchor as Gf, AppShell as sm } from "@mantine/core";
5
- import { useModals as go, ModalsProvider as lm } from "@mantine/modals";
4
+ import { Box as xe, Text as K, Button as ie, Checkbox as Lt, Group as F, Tooltip as Xt, MultiSelect as Ma, Select as ve, TextInput as fe, createStyles as Oa, Stack as W, Badge as As, CloseButton as kw, Modal as tn, ActionIcon as Be, Menu as Tr, Divider as pe, Switch as An, NumberInput as ht, useMantineTheme as im, ColorInput as ju, ColorSwatch as Hc, Slider as Tw, Overlay as Lo, Tabs as I, Center as bi, CheckIcon as Mw, MANTINE_SIZES as Ow, SimpleGrid as ti, SegmentedControl as Rw, Textarea as Dw, Collapse as Ku, Table as zo, Accordion as bo, Popover as Xl, LoadingOverlay as Ra, Flex as Da, Paper as Wu, Code as Bf, Alert as Aw, Header as $w, ThemeIcon as Ql, HoverCard as Zl, List as jf, UnstyledButton as Pw, Navbar as Nr, JsonInput as am, Radio as Kf, Skeleton as Wf, NavLink as Bc, Anchor as Gf, AppShell as sm } from "@mantine/core";
5
+ import { useModals as po, ModalsProvider as lm } from "@mantine/modals";
6
6
  import { useCreation as sr, usePrevious as Nw, useBoolean as Vn, useLatest as qf, useRequest as Aa, useAsyncEffect as $a } from "ahooks";
7
7
  import { observer as J } from "mobx-react-lite";
8
8
  import * as C from "react";
9
- import ee, { useEffect as ue, createContext as Vo, useMemo as Y, forwardRef as Ht, createElement as mo, useRef as Ee, useState as ze, useCallback as dt, useImperativeHandle as Iw, useLayoutEffect as Lw, useContext as wn, useDebugValue as zw, memo as Vt } from "react";
10
- import q, { template as Gu, cloneDeepWith as Vw, get as xt, isFunction as Fw, omit as Ao, values as cm, unset as Hw, isObject as um, set as qu, orderBy as Bw, last as dm, defaults as en, minBy as jw, maxBy as Kw, cloneDeep as vn, isEqual as Kt, defaultsDeep as Qt, keyBy as fm, merge as Ww, isEmpty as Uu, isNumber as Gw, findLastIndex as qw, isString as hm, range as Uw, throttle as Yw, pick as pm } from "lodash";
9
+ import ee, { useEffect as ue, createContext as Vo, useMemo as Y, forwardRef as Bt, createElement as go, useRef as Ee, useState as ze, useCallback as dt, useImperativeHandle as Iw, useLayoutEffect as Lw, useContext as wn, useDebugValue as zw, memo as Vt } from "react";
10
+ import q, { template as Gu, cloneDeepWith as Vw, get as vt, isFunction as Fw, omit as Do, values as cm, unset as Hw, isObject as um, set as qu, orderBy as Bw, last as dm, defaults as en, minBy as jw, maxBy as Kw, cloneDeep as vn, isEqual as Ht, defaultsDeep as Qt, keyBy as fm, merge as Ww, isEmpty as Uu, isNumber as Gw, findLastIndex as qw, isString as hm, range as Uw, throttle as Yw, pick as pm } from "lodash";
11
11
  import { useForm as cn, useWatch as Xw, Controller as D, useFieldArray as hn } from "react-hook-form";
12
12
  import { Link as gm, RichTextEditor as mt } from "@mantine/tiptap";
13
13
  import { Mark as Pa, mergeAttributes as Na, getMarkAttributes as Qw, Extension as Yu, markInputRule as Zw, markPasteRule as Jw } from "@tiptap/core";
@@ -30,7 +30,7 @@ import { CanvasRenderer as Wn } from "echarts/renderers";
30
30
  import Gn from "echarts-for-react/lib/core";
31
31
  import zt from "numbro";
32
32
  import { BoxplotChart as p_, BarChart as xi, LineChart as wi, ScatterChart as gl, FunnelChart as g_, HeatmapChart as Cm, PieChart as m_, RadarChart as v_, SunburstChart as y_ } from "echarts/charts";
33
- import { useElementSize as ua, randomId as lo, useClipboard as b_, useInputState as Em, useDisclosure as km } from "@mantine/hooks";
33
+ import { useElementSize as ua, randomId as Ao, useClipboard as b_, useInputState as Em, useDisclosure as km } from "@mantine/hooks";
34
34
  import { showNotification as ml } from "@mantine/notifications";
35
35
  import * as x_ from "d3-array";
36
36
  import { quantile as Cs } from "d3-array";
@@ -39,9 +39,9 @@ import { transform as Zu } from "echarts-stat";
39
39
  import { Prism as ci } from "@mantine/prism";
40
40
  import * as ro from "d3-regression";
41
41
  import { useVirtual as w_ } from "react-virtual";
42
- import Mo from "axios";
42
+ import To from "axios";
43
43
  import Tm from "crypto-js";
44
- import { types as R, getParent as vo, getRoot as Tn, cast as _i, addDisposer as da, addMiddleware as __, getType as S_, flow as Ji, toGenerator as ea, detach as C_, clone as E_, getSnapshot as Nr, applySnapshot as Eo, getParentOfType as Yf, castToSnapshot as Mm } from "mobx-state-tree";
44
+ import { types as R, getParent as mo, getRoot as Tn, cast as _i, addDisposer as da, addMiddleware as __, getType as S_, flow as Ji, toGenerator as ea, detach as C_, clone as E_, getSnapshot as pr, applySnapshot as Co, getParentOfType as Yf, castToSnapshot as Mm } from "mobx-state-tree";
45
45
  import k_ from "jszip";
46
46
  function Om(e, t) {
47
47
  ue(() => {
@@ -121,7 +121,7 @@ class T_ {
121
121
  this.symbol = Symbol(t);
122
122
  }
123
123
  }
124
- function Tr(e) {
124
+ function Mr(e) {
125
125
  return new T_(e);
126
126
  }
127
127
  class Ju {
@@ -156,7 +156,7 @@ class Ju {
156
156
  }
157
157
  dispose() {
158
158
  this.instanceRegistry.forEach((t) => {
159
- const n = xt(t, "dispose");
159
+ const n = vt(t, "dispose");
160
160
  Fw(n) && n.bind(t)();
161
161
  }), this.instanceRegistry.clear(), this.factoryRegistry.clear();
162
162
  }
@@ -535,8 +535,8 @@ function R_() {
535
535
  ref: !0,
536
536
  __self: !0,
537
537
  __source: !0
538
- }, pt, tt, yt;
539
- yt = {};
538
+ }, pt, tt, bt;
539
+ bt = {};
540
540
  function De(z) {
541
541
  if (Me.call(z, "ref")) {
542
542
  var re = Object.getOwnPropertyDescriptor(z, "ref").get;
@@ -556,10 +556,10 @@ function R_() {
556
556
  function ct(z, re) {
557
557
  if (typeof z.ref == "string" && qe.current && re && qe.current.stateNode !== re) {
558
558
  var ne = V(qe.current.type);
559
- yt[ne] || (w('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', V(qe.current.type), z.ref), yt[ne] = !0);
559
+ bt[ne] || (w('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', V(qe.current.type), z.ref), bt[ne] = !0);
560
560
  }
561
561
  }
562
- function Bt(z, re) {
562
+ function jt(z, re) {
563
563
  {
564
564
  var ne = function() {
565
565
  pt || (pt = !0, w("%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)", re));
@@ -570,7 +570,7 @@ function R_() {
570
570
  });
571
571
  }
572
572
  }
573
- function bt(z, re) {
573
+ function xt(z, re) {
574
574
  {
575
575
  var ne = function() {
576
576
  tt || (tt = !0, w("%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)", re));
@@ -620,7 +620,7 @@ function R_() {
620
620
  }
621
621
  if (Ve || Ze) {
622
622
  var ot = typeof z == "function" ? z.displayName || z.name || "Unknown" : z;
623
- Ve && Bt(We, ot), Ze && bt(We, ot);
623
+ Ve && jt(We, ot), Ze && xt(We, ot);
624
624
  }
625
625
  return qt(z, Ve, Ze, Ce, be, qe.current, We);
626
626
  }
@@ -988,7 +988,7 @@ function vS(e) {
988
988
  return C.createElement("svg", _t({ xmlns: "http://www.w3.org/2000/svg", className: "icon icon-tabler icon-tabler-playlist-add", width: n, height: n, viewBox: "0 0 24 24", strokeWidth: a, stroke: o, fill: "none", strokeLinecap: "round", strokeLinejoin: "round" }, l), C.createElement("path", { stroke: "none", d: "M0 0h24v24H0z", fill: "none" }), C.createElement("path", { d: "M19 8h-14" }), C.createElement("path", { d: "M5 12h9" }), C.createElement("path", { d: "M11 16h-6" }), C.createElement("path", { d: "M15 16h6" }), C.createElement("path", { d: "M18 13v6" }));
989
989
  }
990
990
  var yS = ["size", "color", "stroke"];
991
- function yo(e) {
991
+ function vo(e) {
992
992
  var t = e.size, n = t === void 0 ? 24 : t, r = e.color, o = r === void 0 ? "currentColor" : r, i = e.stroke, a = i === void 0 ? 2 : i, l = Rt(e, yS);
993
993
  return C.createElement("svg", _t({ xmlns: "http://www.w3.org/2000/svg", className: "icon icon-tabler icon-tabler-plus", width: n, height: n, viewBox: "0 0 24 24", strokeWidth: a, stroke: o, fill: "none", strokeLinecap: "round", strokeLinejoin: "round" }, l), C.createElement("path", { stroke: "none", d: "M0 0h24v24H0z", fill: "none" }), C.createElement("line", { x1: 12, y1: 5, x2: 12, y2: 19 }), C.createElement("line", { x1: 5, y1: 12, x2: 19, y2: 12 }));
994
994
  }
@@ -1528,7 +1528,7 @@ function PS() {
1528
1528
  throw new Error("Please use FullScreenPanelContext.Provider");
1529
1529
  return e;
1530
1530
  }
1531
- const Ym = Ht(({
1531
+ const Ym = Bt(({
1532
1532
  label: e,
1533
1533
  description: t,
1534
1534
  ...n
@@ -2072,7 +2072,7 @@ function oC(e, t) {
2072
2072
  function rv(e, t, n) {
2073
2073
  !t && !oh[n] && (e(!1, n), oh[n] = !0);
2074
2074
  }
2075
- function vt(e, t) {
2075
+ function yt(e, t) {
2076
2076
  rv($s, e, t);
2077
2077
  }
2078
2078
  function ih(e, t) {
@@ -2721,7 +2721,7 @@ function wC() {
2721
2721
  throw new TypeError(`Invalid attempt to destructure non-iterable instance.
2722
2722
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
2723
2723
  }
2724
- function Dr(e, t) {
2724
+ function Ar(e, t) {
2725
2725
  return yC(e) || bC(e, t) || xC(e, t) || wC();
2726
2726
  }
2727
2727
  function _C(e, t) {
@@ -2743,10 +2743,10 @@ function ta(e, t) {
2743
2743
  }
2744
2744
  return n;
2745
2745
  }
2746
- function co(e) {
2746
+ function lo(e) {
2747
2747
  var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = [];
2748
2748
  return ee.Children.forEach(e, function(r) {
2749
- r == null && !t.keepEmpty || (Array.isArray(r) ? n = n.concat(co(r)) : id.exports.isFragment(r) && r.props ? n = n.concat(co(r.props.children, t)) : n.push(r));
2749
+ r == null && !t.keepEmpty || (Array.isArray(r) ? n = n.concat(lo(r)) : id.exports.isFragment(r) && r.props ? n = n.concat(lo(r.props.children, t)) : n.push(r));
2750
2750
  }), n;
2751
2751
  }
2752
2752
  function fi(e) {
@@ -3234,10 +3234,10 @@ function JC(e) {
3234
3234
  }
3235
3235
  var e1 = "rc-observer-key";
3236
3236
  function wl(e) {
3237
- var t = e.children, n = typeof t == "function" ? [t] : co(t);
3237
+ var t = e.children, n = typeof t == "function" ? [t] : lo(t);
3238
3238
  return process.env.NODE_ENV !== "production" && (n.length > 1 ? $s(!1, "Find more than one child node with `children` in ResizeObserver. Please use ResizeObserver.Collection instead.") : n.length === 0 && $s(!1, "`children` of ResizeObserver is empty. Nothing is in observe.")), n.map(function(r, o) {
3239
3239
  var i = (r == null ? void 0 : r.key) || "".concat(e1, "-").concat(o);
3240
- return /* @__PURE__ */ mo(JC, {
3240
+ return /* @__PURE__ */ go(JC, {
3241
3241
  ...e,
3242
3242
  key: i
3243
3243
  }, r);
@@ -3320,7 +3320,7 @@ ln.cancel = function(e) {
3320
3320
  return wv(t), xv(t);
3321
3321
  };
3322
3322
  function r1() {
3323
- var e = ao({}), t = Dr(e, 2), n = t[1], r = Ee([]), o = 0, i = 0;
3323
+ var e = ao({}), t = Ar(e, 2), n = t[1], r = Ee([]), o = 0, i = 0;
3324
3324
  function a(l) {
3325
3325
  var c = o;
3326
3326
  o += 1, r.current.length < c + 1 && (r.current[c] = l);
@@ -3360,14 +3360,14 @@ function c1(e) {
3360
3360
  return "+ ".concat(e.length, " ...");
3361
3361
  }
3362
3362
  function u1(e, t) {
3363
- var n = e.prefixCls, r = n === void 0 ? "rc-overflow" : n, o = e.data, i = o === void 0 ? [] : o, a = e.renderItem, l = e.renderRawItem, c = e.itemKey, u = e.itemWidth, d = u === void 0 ? 10 : u, h = e.ssr, f = e.style, p = e.className, g = e.maxCount, m = e.renderRest, b = e.renderRawRest, y = e.suffix, w = e.component, _ = w === void 0 ? "div" : w, x = e.itemComponent, S = e.onVisibleChange, k = ta(e, l1), O = r1(), L = h === "full", H = O(null), A = Dr(H, 2), T = A[0], P = A[1], V = T || 0, E = O(/* @__PURE__ */ new Map()), N = Dr(E, 2), $ = N[0], M = N[1], B = O(0), j = Dr(B, 2), G = j[0], U = j[1], oe = O(0), ae = Dr(oe, 2), Q = ae[0], te = ae[1], me = O(0), ge = Dr(me, 2), he = ge[0], de = ge[1], Oe = ze(null), Te = Dr(Oe, 2), Z = Te[0], se = Te[1], Re = ze(null), X = Dr(Re, 2), Me = X[0], _e = X[1], $e = C.useMemo(function() {
3363
+ var n = e.prefixCls, r = n === void 0 ? "rc-overflow" : n, o = e.data, i = o === void 0 ? [] : o, a = e.renderItem, l = e.renderRawItem, c = e.itemKey, u = e.itemWidth, d = u === void 0 ? 10 : u, h = e.ssr, f = e.style, p = e.className, g = e.maxCount, m = e.renderRest, b = e.renderRawRest, y = e.suffix, w = e.component, _ = w === void 0 ? "div" : w, x = e.itemComponent, S = e.onVisibleChange, k = ta(e, l1), O = r1(), L = h === "full", H = O(null), A = Ar(H, 2), T = A[0], P = A[1], V = T || 0, E = O(/* @__PURE__ */ new Map()), N = Ar(E, 2), $ = N[0], M = N[1], B = O(0), j = Ar(B, 2), G = j[0], U = j[1], oe = O(0), ae = Ar(oe, 2), Q = ae[0], te = ae[1], me = O(0), ge = Ar(me, 2), he = ge[0], de = ge[1], Oe = ze(null), Te = Ar(Oe, 2), Z = Te[0], se = Te[1], Re = ze(null), X = Ar(Re, 2), Me = X[0], _e = X[1], $e = C.useMemo(function() {
3364
3364
  return Me === null && L ? Number.MAX_SAFE_INTEGER : Me || 0;
3365
- }, [Me, T]), Le = ze(!1), we = Dr(Le, 2), et = we[0], je = we[1], at = "".concat(r, "-item"), Pe = Math.max(G, Q), Xe = g === Sv, Ge = i.length && Xe, qe = g === Cv, wt = Ge || typeof g == "number" && i.length > g, pt = Y(function() {
3365
+ }, [Me, T]), Le = ze(!1), we = Ar(Le, 2), et = we[0], je = we[1], at = "".concat(r, "-item"), Pe = Math.max(G, Q), Xe = g === Sv, Ge = i.length && Xe, qe = g === Cv, wt = Ge || typeof g == "number" && i.length > g, pt = Y(function() {
3366
3366
  var le = i;
3367
3367
  return Ge ? T === null && L ? le = i : le = i.slice(0, Math.min(i.length, V / d)) : typeof g == "number" && (le = i.slice(0, g)), le;
3368
3368
  }, [i, d, T, g, Ge]), tt = Y(function() {
3369
3369
  return Ge ? i.slice($e + 1) : i.slice(pt.length);
3370
- }, [i, pt, Ge, $e]), yt = dt(function(le, ye) {
3370
+ }, [i, pt, Ge, $e]), bt = dt(function(le, ye) {
3371
3371
  var Se;
3372
3372
  return typeof c == "function" ? c(le) : (Se = c && (le == null ? void 0 : le[c])) !== null && Se !== void 0 ? Se : ye;
3373
3373
  }, [c]), De = dt(a || function(le) {
@@ -3379,20 +3379,20 @@ function u1(e, t) {
3379
3379
  function ct(le, ye) {
3380
3380
  P(ye.clientWidth);
3381
3381
  }
3382
- function Bt(le, ye) {
3382
+ function jt(le, ye) {
3383
3383
  M(function(Se) {
3384
3384
  var Fe = new Map(Se);
3385
3385
  return ye === null ? Fe.delete(le) : Fe.set(le, ye), Fe;
3386
3386
  });
3387
3387
  }
3388
- function bt(le, ye) {
3388
+ function xt(le, ye) {
3389
3389
  te(ye), U(Q);
3390
3390
  }
3391
3391
  function qt(le, ye) {
3392
3392
  de(ye);
3393
3393
  }
3394
3394
  function St(le) {
3395
- return $.get(yt(pt[le], le));
3395
+ return $.get(bt(pt[le], le));
3396
3396
  }
3397
3397
  Fr(function() {
3398
3398
  if (V && Pe && pt) {
@@ -3417,7 +3417,7 @@ function u1(e, t) {
3417
3417
  }
3418
3418
  y && St(0) + he > V && se(null);
3419
3419
  }
3420
- }, [V, $, Q, he, yt, pt]);
3420
+ }, [V, $, Q, he, bt, pt]);
3421
3421
  var dn = et && !!tt.length, Ut = {};
3422
3422
  Z !== null && Ge && (Ut = {
3423
3423
  position: "absolute",
@@ -3430,33 +3430,33 @@ function u1(e, t) {
3430
3430
  component: x,
3431
3431
  invalidate: qe
3432
3432
  }, Ft = l ? function(le, ye) {
3433
- var Se = yt(le, ye);
3433
+ var Se = bt(le, ye);
3434
3434
  return /* @__PURE__ */ s(Ls.Provider, {
3435
3435
  value: Xo(Xo({}, Dt), {}, {
3436
3436
  order: ye,
3437
3437
  item: le,
3438
3438
  itemKey: Se,
3439
- registerSize: Bt,
3439
+ registerSize: jt,
3440
3440
  display: ye <= $e
3441
3441
  }),
3442
3442
  children: l(le, ye)
3443
3443
  }, Se);
3444
3444
  } : function(le, ye) {
3445
- var Se = yt(le, ye);
3446
- return /* @__PURE__ */ mo(na, {
3445
+ var Se = bt(le, ye);
3446
+ return /* @__PURE__ */ go(na, {
3447
3447
  ...Dt,
3448
3448
  order: ye,
3449
3449
  key: Se,
3450
3450
  item: le,
3451
3451
  renderItem: De,
3452
3452
  itemKey: Se,
3453
- registerSize: Bt,
3453
+ registerSize: jt,
3454
3454
  display: ye <= $e
3455
3455
  });
3456
3456
  }, pn, Et = {
3457
3457
  order: dn ? $e : Number.MAX_SAFE_INTEGER,
3458
3458
  className: "".concat(at, "-rest"),
3459
- registerSize: bt,
3459
+ registerSize: xt,
3460
3460
  display: dn
3461
3461
  };
3462
3462
  if (b)
@@ -3941,7 +3941,7 @@ function Gi(e, t, n, r) {
3941
3941
  }
3942
3942
  };
3943
3943
  }
3944
- var T1 = /* @__PURE__ */ Ht(function(e, t) {
3944
+ var T1 = /* @__PURE__ */ Bt(function(e, t) {
3945
3945
  var n = e.didUpdate, r = e.getContainer, o = e.children, i = Ee(), a = Ee();
3946
3946
  Iw(t, function() {
3947
3947
  return {};
@@ -3990,20 +3990,20 @@ function A1(e, t) {
3990
3990
  }
3991
3991
  return n;
3992
3992
  }
3993
- function uo(e) {
3994
- return uo = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
3993
+ function co(e) {
3994
+ return co = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
3995
3995
  return typeof t;
3996
3996
  } : function(t) {
3997
3997
  return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
3998
- }, uo(e);
3998
+ }, co(e);
3999
3999
  }
4000
4000
  function $1(e, t) {
4001
- if (uo(e) !== "object" || e === null)
4001
+ if (co(e) !== "object" || e === null)
4002
4002
  return e;
4003
4003
  var n = e[Symbol.toPrimitive];
4004
4004
  if (n !== void 0) {
4005
4005
  var r = n.call(e, t || "default");
4006
- if (uo(r) !== "object")
4006
+ if (co(r) !== "object")
4007
4007
  return r;
4008
4008
  throw new TypeError("@@toPrimitive must return a primitive value.");
4009
4009
  }
@@ -4011,7 +4011,7 @@ function $1(e, t) {
4011
4011
  }
4012
4012
  function Tv(e) {
4013
4013
  var t = $1(e, "string");
4014
- return uo(t) === "symbol" ? t : String(t);
4014
+ return co(t) === "symbol" ? t : String(t);
4015
4015
  }
4016
4016
  function qn(e, t, n) {
4017
4017
  return t = Tv(t), t in e ? Object.defineProperty(e, t, {
@@ -4129,7 +4129,7 @@ var Rv = Ov("animationend"), Dv = Ov("transitionend"), H1 = !!(Rv && Dv), Sh = R
4129
4129
  function Eh(e, t) {
4130
4130
  if (!e)
4131
4131
  return null;
4132
- if (uo(e) === "object") {
4132
+ if (co(e) === "object") {
4133
4133
  var n = t.replace(/-\w/g, function(r) {
4134
4134
  return r[1].toUpperCase();
4135
4135
  });
@@ -4137,7 +4137,7 @@ function Eh(e, t) {
4137
4137
  }
4138
4138
  return "".concat(e, "-").concat(t);
4139
4139
  }
4140
- var Uo = "none", es = "appear", ts = "enter", ns = "leave", kh = "none", Ar = "prepare", Qo = "start", Zo = "active", dd = "end";
4140
+ var Uo = "none", es = "appear", ts = "enter", ns = "leave", kh = "none", $r = "prepare", Qo = "start", Zo = "active", dd = "end";
4141
4141
  const B1 = function() {
4142
4142
  var e = C.useRef(null);
4143
4143
  function t() {
@@ -4161,14 +4161,14 @@ const B1 = function() {
4161
4161
  };
4162
4162
  }, []), [n, t];
4163
4163
  };
4164
- var Av = Ei() ? Lw : ue, Th = [Ar, Qo, Zo, dd], $v = !1, j1 = !0;
4164
+ var Av = Ei() ? Lw : ue, Th = [$r, Qo, Zo, dd], $v = !1, j1 = !0;
4165
4165
  function Pv(e) {
4166
4166
  return e === Zo || e === dd;
4167
4167
  }
4168
4168
  const K1 = function(e, t) {
4169
4169
  var n = ao(kh), r = eo(n, 2), o = r[0], i = r[1], a = B1(), l = eo(a, 2), c = l[0], u = l[1];
4170
4170
  function d() {
4171
- i(Ar, !0);
4171
+ i($r, !0);
4172
4172
  }
4173
4173
  return Av(function() {
4174
4174
  if (o !== kh && o !== dd) {
@@ -4220,17 +4220,17 @@ function G1(e, t, n, r) {
4220
4220
  var _e, $e, Le;
4221
4221
  switch (N) {
4222
4222
  case es:
4223
- return _e = {}, qn(_e, Ar, f), qn(_e, Qo, m), qn(_e, Zo, w), _e;
4223
+ return _e = {}, qn(_e, $r, f), qn(_e, Qo, m), qn(_e, Zo, w), _e;
4224
4224
  case ts:
4225
- return $e = {}, qn($e, Ar, p), qn($e, Qo, b), qn($e, Zo, _), $e;
4225
+ return $e = {}, qn($e, $r, p), qn($e, Qo, b), qn($e, Zo, _), $e;
4226
4226
  case ns:
4227
- return Le = {}, qn(Le, Ar, g), qn(Le, Qo, y), qn(Le, Zo, x), Le;
4227
+ return Le = {}, qn(Le, $r, g), qn(Le, Qo, y), qn(Le, Zo, x), Le;
4228
4228
  default:
4229
4229
  return {};
4230
4230
  }
4231
4231
  }, [N]), Oe = K1(N, function(_e) {
4232
- if (_e === Ar) {
4233
- var $e = de[Ar];
4232
+ if (_e === $r) {
4233
+ var $e = de[$r];
4234
4234
  return $e ? $e(ae()) : $v;
4235
4235
  }
4236
4236
  if (se in de) {
@@ -4262,7 +4262,7 @@ function G1(e, t, n, r) {
4262
4262
  T && (X.current = !0), T !== void 0 && N === Uo && ((X.current || T) && (L == null || L(T)), X.current = !0);
4263
4263
  }, [T, N]);
4264
4264
  var Me = j;
4265
- return de[Ar] && se === Qo && (Me = hr({
4265
+ return de[$r] && se === Qo && (Me = hr({
4266
4266
  transition: "none"
4267
4267
  }, Me)), [N, se, Me, T != null ? T : t];
4268
4268
  }
@@ -4322,7 +4322,7 @@ function Q1(e) {
4322
4322
  return e;
4323
4323
  }
4324
4324
  function Z1(e, t) {
4325
- if (t && (uo(t) === "object" || typeof t == "function"))
4325
+ if (t && (co(t) === "object" || typeof t == "function"))
4326
4326
  return t;
4327
4327
  if (t !== void 0)
4328
4328
  throw new TypeError("Derived constructors may only return object or undefined");
@@ -4355,7 +4355,7 @@ var eE = /* @__PURE__ */ function(e) {
4355
4355
  }(C.Component);
4356
4356
  function tE(e) {
4357
4357
  var t = e;
4358
- uo(e) === "object" && (t = e.transitionSupport);
4358
+ co(e) === "object" && (t = e.transitionSupport);
4359
4359
  function n(o) {
4360
4360
  return !!(o.motionName && t);
4361
4361
  }
@@ -4387,7 +4387,7 @@ function tE(e) {
4387
4387
  }), A) : T = null;
4388
4388
  else {
4389
4389
  var V, E;
4390
- k === Ar ? E = "prepare" : Pv(k) ? E = "active" : k === Qo && (E = "start"), T = h(hr(hr({}, P), {}, {
4390
+ k === $r ? E = "prepare" : Pv(k) ? E = "active" : k === Qo && (E = "start"), T = h(hr(hr({}, P), {}, {
4391
4391
  className: Mt(Eh(f, S), (V = {}, qn(V, Eh(f, "".concat(S, "-").concat(E)), E), qn(V, f, typeof f == "string"), V)),
4392
4392
  style: O
4393
4393
  }), A);
@@ -4672,12 +4672,12 @@ function vE(e, t, n) {
4672
4672
  var r = n, o = "", i = Hv(e);
4673
4673
  return r = r || i.defaultView.getComputedStyle(e, null), r && (o = r.getPropertyValue(t) || r[t]), o;
4674
4674
  }
4675
- var yE = new RegExp("^(".concat(gE, ")(?!px)[a-z%]+$"), "i"), bE = /^(top|right|bottom|left)$/, rc = "currentStyle", oc = "runtimeStyle", wo = "left", xE = "px";
4675
+ var yE = new RegExp("^(".concat(gE, ")(?!px)[a-z%]+$"), "i"), bE = /^(top|right|bottom|left)$/, rc = "currentStyle", oc = "runtimeStyle", xo = "left", xE = "px";
4676
4676
  function wE(e, t) {
4677
4677
  var n = e[rc] && e[rc][t];
4678
4678
  if (yE.test(n) && !bE.test(t)) {
4679
- var r = e.style, o = r[wo], i = e[oc][wo];
4680
- e[oc][wo] = e[rc][wo], r[wo] = t === "fontSize" ? "1em" : n || 0, n = r.pixelLeft + xE, r[wo] = o, e[oc][wo] = i;
4679
+ var r = e.style, o = r[xo], i = e[oc][xo];
4680
+ e[oc][xo] = e[rc][xo], r[xo] = t === "fontSize" ? "1em" : n || 0, n = r.pixelLeft + xE, r[xo] = o, e[oc][xo] = i;
4681
4681
  }
4682
4682
  return n === "" ? "auto" : n;
4683
4683
  }
@@ -4757,7 +4757,7 @@ function qi(e, t, n) {
4757
4757
  }
4758
4758
  return r;
4759
4759
  }
4760
- var gr = {
4760
+ var mr = {
4761
4761
  getParent: function(t) {
4762
4762
  var n = t;
4763
4763
  do
@@ -4767,14 +4767,14 @@ var gr = {
4767
4767
  }
4768
4768
  };
4769
4769
  hd(["Width", "Height"], function(e) {
4770
- gr["doc".concat(e)] = function(t) {
4770
+ mr["doc".concat(e)] = function(t) {
4771
4771
  var n = t.document;
4772
4772
  return Math.max(
4773
4773
  n.documentElement["scroll".concat(e)],
4774
4774
  n.body["scroll".concat(e)],
4775
- gr["viewport".concat(e)](n)
4775
+ mr["viewport".concat(e)](n)
4776
4776
  );
4777
- }, gr["viewport".concat(e)] = function(t) {
4777
+ }, mr["viewport".concat(e)] = function(t) {
4778
4778
  var n = "client".concat(e), r = t.document, o = r.body, i = r.documentElement, a = i[n];
4779
4779
  return r.compatMode === "CSS1Compat" && a || o && o[n] || a;
4780
4780
  };
@@ -4782,9 +4782,9 @@ hd(["Width", "Height"], function(e) {
4782
4782
  function Ih(e, t, n) {
4783
4783
  var r = n;
4784
4784
  if (fd(e))
4785
- return t === "width" ? gr.viewportWidth(e) : gr.viewportHeight(e);
4785
+ return t === "width" ? mr.viewportWidth(e) : mr.viewportHeight(e);
4786
4786
  if (e.nodeType === 9)
4787
- return t === "width" ? gr.docWidth(e) : gr.docHeight(e);
4787
+ return t === "width" ? mr.docWidth(e) : mr.docHeight(e);
4788
4788
  var o = t === "width" ? ["Left", "Right"] : ["Top", "Bottom"], i = Math.floor(t === "width" ? e.getBoundingClientRect().width : e.getBoundingClientRect().height), a = Bv(e), l = 0;
4789
4789
  (i == null || i <= 0) && (i = void 0, l = Ba(e, t), (l == null || Number(l) < 0) && (l = e.style[t] || 0), l = Math.floor(parseFloat(l)) || 0), r === void 0 && (r = a ? eu : Jc);
4790
4790
  var c = i !== void 0 || a, u = i || l;
@@ -4805,11 +4805,11 @@ function Lh() {
4805
4805
  }
4806
4806
  hd(["width", "height"], function(e) {
4807
4807
  var t = e.charAt(0).toUpperCase() + e.slice(1);
4808
- gr["outer".concat(t)] = function(r, o) {
4808
+ mr["outer".concat(t)] = function(r, o) {
4809
4809
  return r && Lh(r, e, o ? kE : eu);
4810
4810
  };
4811
4811
  var n = e === "width" ? ["Left", "Right"] : ["Top", "Bottom"];
4812
- gr[e] = function(r, o) {
4812
+ mr[e] = function(r, o) {
4813
4813
  var i = o;
4814
4814
  if (i !== void 0) {
4815
4815
  if (r) {
@@ -4868,7 +4868,7 @@ var Je = {
4868
4868
  viewportWidth: 0,
4869
4869
  viewportHeight: 0
4870
4870
  };
4871
- jv(Je, gr);
4871
+ jv(Je, mr);
4872
4872
  var ic = Je.getParent;
4873
4873
  function tu(e) {
4874
4874
  if (Je.isWindow(e) || e.nodeType === 9)
@@ -5579,8 +5579,8 @@ function SR(e, t, n, r, o, i) {
5579
5579
  }
5580
5580
  return i.delete(e), i.delete(t), m;
5581
5581
  }
5582
- var CR = SR, ER = Ti, kR = Gr, TR = ER(kR, "DataView"), MR = TR, OR = Ti, RR = Gr, DR = OR(RR, "Promise"), AR = DR, $R = Ti, PR = Gr, NR = $R(PR, "Set"), IR = NR, LR = Ti, zR = Gr, VR = LR(zR, "WeakMap"), FR = VR, ru = MR, ou = yd, iu = AR, au = IR, su = FR, ny = kl, Di = Xv, op = "[object Map]", HR = "[object Object]", ip = "[object Promise]", ap = "[object Set]", sp = "[object WeakMap]", lp = "[object DataView]", BR = Di(ru), jR = Di(ou), KR = Di(iu), WR = Di(au), GR = Di(su), So = ny;
5583
- (ru && So(new ru(new ArrayBuffer(1))) != lp || ou && So(new ou()) != op || iu && So(iu.resolve()) != ip || au && So(new au()) != ap || su && So(new su()) != sp) && (So = function(e) {
5582
+ var CR = SR, ER = Ti, kR = Gr, TR = ER(kR, "DataView"), MR = TR, OR = Ti, RR = Gr, DR = OR(RR, "Promise"), AR = DR, $R = Ti, PR = Gr, NR = $R(PR, "Set"), IR = NR, LR = Ti, zR = Gr, VR = LR(zR, "WeakMap"), FR = VR, ru = MR, ou = yd, iu = AR, au = IR, su = FR, ny = kl, Di = Xv, op = "[object Map]", HR = "[object Object]", ip = "[object Promise]", ap = "[object Set]", sp = "[object WeakMap]", lp = "[object DataView]", BR = Di(ru), jR = Di(ou), KR = Di(iu), WR = Di(au), GR = Di(su), _o = ny;
5583
+ (ru && _o(new ru(new ArrayBuffer(1))) != lp || ou && _o(new ou()) != op || iu && _o(iu.resolve()) != ip || au && _o(new au()) != ap || su && _o(new su()) != sp) && (_o = function(e) {
5584
5584
  var t = ny(e), n = t == HR ? e.constructor : void 0, r = n ? Di(n) : "";
5585
5585
  if (r)
5586
5586
  switch (r) {
@@ -5597,7 +5597,7 @@ var CR = SR, ER = Ti, kR = Gr, TR = ER(kR, "DataView"), MR = TR, OR = Ti, RR = G
5597
5597
  }
5598
5598
  return t;
5599
5599
  });
5600
- var qR = So, lc = k2, UR = Zv, YR = vM, XR = CR, cp = qR, up = bd, dp = js.exports, QR = ty, ZR = 1, fp = "[object Arguments]", hp = "[object Array]", ss = "[object Object]", JR = Object.prototype, pp = JR.hasOwnProperty;
5600
+ var qR = _o, lc = k2, UR = Zv, YR = vM, XR = CR, cp = qR, up = bd, dp = js.exports, QR = ty, ZR = 1, fp = "[object Arguments]", hp = "[object Array]", ss = "[object Object]", JR = Object.prototype, pp = JR.hasOwnProperty;
5601
5601
  function eD(e, t, n, r, o, i) {
5602
5602
  var a = up(e), l = up(t), c = a ? hp : cp(e), u = l ? hp : cp(t);
5603
5603
  c = c == fp ? ss : c, u = u == fp ? ss : u;
@@ -6739,7 +6739,7 @@ function cu(e) {
6739
6739
  var t = Jt({}, e);
6740
6740
  return "props" in t || Object.defineProperty(t, "props", {
6741
6741
  get: function() {
6742
- return vt(!1, "Return type is option instead of Option instance. Please read value directly instead of reading from `props`."), t;
6742
+ return yt(!1, "Return type is option instead of Option instance. Please read value directly instead of reading from `props`."), t;
6743
6743
  }
6744
6744
  }), t;
6745
6745
  }
@@ -6776,7 +6776,7 @@ var xd = /* @__PURE__ */ C.forwardRef(function(e, t) {
6776
6776
  C.useEffect(function() {
6777
6777
  Xe(iv());
6778
6778
  }, []);
6779
- var Ge = C.useRef(null), qe = C.useRef(null), wt = C.useRef(null), pt = C.useRef(null), tt = C.useRef(null), yt = lC(), De = sn(yt, 3), Ke = De[0], ct = De[1], Bt = De[2];
6779
+ var Ge = C.useRef(null), qe = C.useRef(null), wt = C.useRef(null), pt = C.useRef(null), tt = C.useRef(null), bt = lC(), De = sn(bt, 3), Ke = De[0], ct = De[1], jt = De[2];
6780
6780
  C.useImperativeHandle(t, function() {
6781
6781
  var it, Qe;
6782
6782
  return {
@@ -6788,7 +6788,7 @@ var xd = /* @__PURE__ */ C.forwardRef(function(e, t) {
6788
6788
  }
6789
6789
  };
6790
6790
  });
6791
- var bt = C.useMemo(function() {
6791
+ var xt = C.useMemo(function() {
6792
6792
  var it;
6793
6793
  if (y !== "combobox")
6794
6794
  return P;
@@ -6812,7 +6812,7 @@ var xd = /* @__PURE__ */ C.forwardRef(function(e, t) {
6812
6812
  var rn = !0, Bn = Qe;
6813
6813
  A == null || A(null);
6814
6814
  var tr = Ln ? null : ED(Qe, $);
6815
- return y !== "combobox" && tr && (Bn = "", N == null || N(tr), le(!1), rn = !1), E && bt !== Bn && E(Bn, {
6815
+ return y !== "combobox" && tr && (Bn = "", N == null || N(tr), le(!1), rn = !1), E && xt !== Bn && E(Bn, {
6816
6816
  source: En ? "typing" : "effect"
6817
6817
  }), rn;
6818
6818
  }, Fe = function(Qe) {
@@ -6827,7 +6827,7 @@ var xd = /* @__PURE__ */ C.forwardRef(function(e, t) {
6827
6827
  }, [w]);
6828
6828
  var st = cv(), Ct = sn(st, 2), gn = Ct[0], mn = Ct[1], In = function(Qe) {
6829
6829
  var En = gn(), Ln = Qe.which;
6830
- if (Ln === ce.ENTER && (y !== "combobox" && Qe.preventDefault(), Et || le(!0)), mn(!!bt), Ln === ce.BACKSPACE && !En && Le && !bt && h.length) {
6830
+ if (Ln === ce.ENTER && (y !== "combobox" && Qe.preventDefault(), Et || le(!0)), mn(!!xt), Ln === ce.BACKSPACE && !En && Le && !xt && h.length) {
6831
6831
  for (var rn = Un(h), Bn = null, tr = rn.length - 1; tr >= 0; tr -= 1) {
6832
6832
  var Ni = rn[tr];
6833
6833
  if (!Ni.disabled) {
@@ -6868,7 +6868,7 @@ var xd = /* @__PURE__ */ C.forwardRef(function(e, t) {
6868
6868
  }, be = function() {
6869
6869
  ct(!1, function() {
6870
6870
  re.current = !1, le(!1);
6871
- }), !w && (bt && (y === "tags" ? E(bt, {
6871
+ }), !w && (xt && (y === "tags" ? E(xt, {
6872
6872
  source: "submit"
6873
6873
  }) : y === "multiple" && E("", {
6874
6874
  source: "blur"
@@ -6886,7 +6886,7 @@ var xd = /* @__PURE__ */ C.forwardRef(function(e, t) {
6886
6886
  if (rn && rn.contains(Ln)) {
6887
6887
  var Bn = setTimeout(function() {
6888
6888
  var Bo = Ce.indexOf(Bn);
6889
- if (Bo !== -1 && Ce.splice(Bo, 1), Bt(), !Pe && !rn.contains(document.activeElement)) {
6889
+ if (Bo !== -1 && Ce.splice(Bo, 1), jt(), !Pe && !rn.contains(document.activeElement)) {
6890
6890
  var Ur;
6891
6891
  (Ur = pt.current) === null || Ur === void 0 || Ur.focus();
6892
6892
  }
@@ -6923,13 +6923,13 @@ var xd = /* @__PURE__ */ C.forwardRef(function(e, t) {
6923
6923
  multiple: Le,
6924
6924
  toggleOpen: le
6925
6925
  });
6926
- }, [e, m, nn, Et, o, we, Le, le]), Er = B !== void 0 ? B : _ || !Le && y !== "combobox", Rn;
6927
- Er && (Rn = /* @__PURE__ */ s(zs, {
6926
+ }, [e, m, nn, Et, o, we, Le, le]), kr = B !== void 0 ? B : _ || !Le && y !== "combobox", Rn;
6927
+ kr && (Rn = /* @__PURE__ */ s(zs, {
6928
6928
  className: Mt("".concat(i, "-arrow"), Zt({}, "".concat(i, "-arrow-loading"), _)),
6929
6929
  customizeIcon: j,
6930
6930
  customizeIconProps: {
6931
6931
  loading: _,
6932
- searchValue: bt,
6932
+ searchValue: xt,
6933
6933
  open: Et,
6934
6934
  focused: Ke,
6935
6935
  showSearch: we
@@ -6942,7 +6942,7 @@ var xd = /* @__PURE__ */ C.forwardRef(function(e, t) {
6942
6942
  values: h
6943
6943
  }), Se("", !1, !1);
6944
6944
  };
6945
- !w && M && (h.length || bt) && !(y === "combobox" && bt === "") && (Dn = /* @__PURE__ */ s(zs, {
6945
+ !w && M && (h.length || xt) && !(y === "combobox" && xt === "") && (Dn = /* @__PURE__ */ s(zs, {
6946
6946
  className: "".concat(i, "-clear"),
6947
6947
  onMouseDown: ww,
6948
6948
  customizeIcon: G,
@@ -6950,7 +6950,7 @@ var xd = /* @__PURE__ */ C.forwardRef(function(e, t) {
6950
6950
  }));
6951
6951
  var _w = /* @__PURE__ */ s(U, {
6952
6952
  ref: tt
6953
- }), Sw = Mt(i, a, (r = {}, Zt(r, "".concat(i, "-focused"), Ke), Zt(r, "".concat(i, "-multiple"), Le), Zt(r, "".concat(i, "-single"), !Le), Zt(r, "".concat(i, "-allow-clear"), M), Zt(r, "".concat(i, "-show-arrow"), Er), Zt(r, "".concat(i, "-disabled"), w), Zt(r, "".concat(i, "-loading"), _), Zt(r, "".concat(i, "-open"), Et), Zt(r, "".concat(i, "-customize-input"), qt), Zt(r, "".concat(i, "-show-search"), we), r)), Ff = /* @__PURE__ */ s(ly, {
6953
+ }), Sw = Mt(i, a, (r = {}, Zt(r, "".concat(i, "-focused"), Ke), Zt(r, "".concat(i, "-multiple"), Le), Zt(r, "".concat(i, "-single"), !Le), Zt(r, "".concat(i, "-allow-clear"), M), Zt(r, "".concat(i, "-show-arrow"), kr), Zt(r, "".concat(i, "-disabled"), w), Zt(r, "".concat(i, "-loading"), _), Zt(r, "".concat(i, "-open"), Et), Zt(r, "".concat(i, "-customize-input"), qt), Zt(r, "".concat(i, "-show-search"), we), r)), Ff = /* @__PURE__ */ s(ly, {
6954
6954
  ref: wt,
6955
6955
  disabled: w,
6956
6956
  prefixCls: i,
@@ -6991,7 +6991,7 @@ var xd = /* @__PURE__ */ C.forwardRef(function(e, t) {
6991
6991
  open: Et,
6992
6992
  onToggleOpen: le,
6993
6993
  activeValue: H,
6994
- searchValue: bt,
6994
+ searchValue: xt,
6995
6995
  onSearch: Se,
6996
6996
  onSearchSubmit: Fe,
6997
6997
  onRemove: z,
@@ -7102,7 +7102,7 @@ function PD(e) {
7102
7102
  }
7103
7103
  function wd(e) {
7104
7104
  var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
7105
- return co(e).map(function(n, r) {
7105
+ return lo(e).map(function(n, r) {
7106
7106
  if (!/* @__PURE__ */ C.isValidElement(n) || !n.type)
7107
7107
  return null;
7108
7108
  var o = n, i = o.type.isSelectOptGroup, a = o.key, l = o.props, c = l.children, u = Ci(l, $D);
@@ -7158,20 +7158,20 @@ function hy(e, t) {
7158
7158
  delete n[r];
7159
7159
  }), n;
7160
7160
  }
7161
- function fo(e) {
7162
- return fo = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
7161
+ function uo(e) {
7162
+ return uo = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
7163
7163
  return typeof t;
7164
7164
  } : function(t) {
7165
7165
  return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
7166
- }, fo(e);
7166
+ }, uo(e);
7167
7167
  }
7168
7168
  function ID(e, t) {
7169
- if (fo(e) !== "object" || e === null)
7169
+ if (uo(e) !== "object" || e === null)
7170
7170
  return e;
7171
7171
  var n = e[Symbol.toPrimitive];
7172
7172
  if (n !== void 0) {
7173
7173
  var r = n.call(e, t || "default");
7174
- if (fo(r) !== "object")
7174
+ if (uo(r) !== "object")
7175
7175
  return r;
7176
7176
  throw new TypeError("@@toPrimitive must return a primitive value.");
7177
7177
  }
@@ -7179,7 +7179,7 @@ function ID(e, t) {
7179
7179
  }
7180
7180
  function py(e) {
7181
7181
  var t = ID(e, "string");
7182
- return fo(t) === "symbol" ? t : String(t);
7182
+ return uo(t) === "symbol" ? t : String(t);
7183
7183
  }
7184
7184
  function va(e, t, n) {
7185
7185
  return t = py(t), t in e ? Object.defineProperty(e, t, {
@@ -7371,7 +7371,7 @@ function WD(e) {
7371
7371
  return e;
7372
7372
  }
7373
7373
  function GD(e, t) {
7374
- if (t && (fo(t) === "object" || typeof t == "function"))
7374
+ if (t && (uo(t) === "object" || typeof t == "function"))
7375
7375
  return t;
7376
7376
  if (t !== void 0)
7377
7377
  throw new TypeError("Derived constructors may only return object or undefined");
@@ -7585,7 +7585,7 @@ function eA(e, t, n, r, o, i, a, l) {
7585
7585
  }
7586
7586
  if (ln.cancel(c.current), typeof u == "number")
7587
7587
  a(u);
7588
- else if (u && fo(u) === "object") {
7588
+ else if (u && uo(u) === "object") {
7589
7589
  var d, h = u.align;
7590
7590
  "index" in u ? d = u.index : d = t.findIndex(function(m) {
7591
7591
  return o(m) === u.key;
@@ -7654,7 +7654,7 @@ function nA(e, t, n) {
7654
7654
  (h == null ? void 0 : h.index) !== void 0 && (n == null || n(h.index), d(e[h.index])), a(e);
7655
7655
  }, [e]), [u];
7656
7656
  }
7657
- var rA = (typeof navigator > "u" ? "undefined" : fo(navigator)) === "object" && /Firefox/i.test(navigator.userAgent);
7657
+ var rA = (typeof navigator > "u" ? "undefined" : uo(navigator)) === "object" && /Firefox/i.test(navigator.userAgent);
7658
7658
  const yy = function(e, t) {
7659
7659
  var n = Ee(!1), r = Ee(null);
7660
7660
  function o() {
@@ -7725,8 +7725,8 @@ function uA(e, t) {
7725
7725
  L(function(Ke) {
7726
7726
  var ct;
7727
7727
  typeof De == "function" ? ct = De(Ke) : ct = De;
7728
- var Bt = Le(ct);
7729
- return N.current.scrollTop = Bt, Bt;
7728
+ var jt = Le(ct);
7729
+ return N.current.scrollTop = jt, jt;
7730
7730
  });
7731
7731
  }
7732
7732
  var U = Ee({
@@ -7751,15 +7751,15 @@ function uA(e, t) {
7751
7751
  offset: void 0
7752
7752
  };
7753
7753
  }
7754
- for (var Ke = 0, ct, Bt, bt, qt = E.length, St = 0; St < qt; St += 1) {
7754
+ for (var Ke = 0, ct, jt, xt, qt = E.length, St = 0; St < qt; St += 1) {
7755
7755
  var dn = E[St], Ut = B(dn), Dt = Oe.get(Ut), Ft = Ke + (Dt === void 0 ? a : Dt);
7756
- Ft >= O && ct === void 0 && (ct = St, Bt = Ke), Ft > O + i && bt === void 0 && (bt = St), Ke = Ft;
7756
+ Ft >= O && ct === void 0 && (ct = St, jt = Ke), Ft > O + i && xt === void 0 && (xt = St), Ke = Ft;
7757
7757
  }
7758
- return ct === void 0 && (ct = 0, Bt = 0, bt = Math.ceil(i / a)), bt === void 0 && (bt = E.length - 1), bt = Math.min(bt + 1, E.length), {
7758
+ return ct === void 0 && (ct = 0, jt = 0, xt = Math.ceil(i / a)), xt === void 0 && (xt = E.length - 1), xt = Math.min(xt + 1, E.length), {
7759
7759
  scrollHeight: Ke,
7760
7760
  start: ct,
7761
- end: bt,
7762
- offset: Bt
7761
+ end: xt,
7762
+ offset: jt
7763
7763
  };
7764
7764
  }, [x, _, O, E, Te, i]), se = Z.scrollHeight, Re = Z.start, X = Z.end, Me = Z.offset;
7765
7765
  U.current.start = Re, U.current.end = X;
@@ -7812,8 +7812,8 @@ function uA(e, t) {
7812
7812
  y(De, E);
7813
7813
  }
7814
7814
  }, [Re, X, E]);
7815
- var tt = QD(E, Re, X, he, h, j), yt = null;
7816
- return i && (yt = ra(va({}, c ? "height" : "maxHeight", i), cA), _ && (yt.overflowY = "hidden", T && (yt.pointerEvents = "none"))), /* @__PURE__ */ v("div", {
7815
+ var tt = QD(E, Re, X, he, h, j), bt = null;
7816
+ return i && (bt = ra(va({}, c ? "height" : "maxHeight", i), cA), _ && (bt.overflowY = "hidden", T && (bt.pointerEvents = "none"))), /* @__PURE__ */ v("div", {
7817
7817
  style: ra(ra({}, u), {}, {
7818
7818
  position: "relative"
7819
7819
  }),
@@ -7821,7 +7821,7 @@ function uA(e, t) {
7821
7821
  ...w,
7822
7822
  children: [/* @__PURE__ */ s(m, {
7823
7823
  className: "".concat(r, "-holder"),
7824
- style: yt,
7824
+ style: bt,
7825
7825
  ref: N,
7826
7826
  onScroll: Pe,
7827
7827
  children: /* @__PURE__ */ s(gy, {
@@ -7967,7 +7967,7 @@ var hA = function(t, n) {
7967
7967
  if (!me)
7968
7968
  return null;
7969
7969
  var ge = me.data || {}, he = ge.value, de = me.group, Oe = di(ge, !0), Te = oe(me);
7970
- return me ? /* @__PURE__ */ mo("div", {
7970
+ return me ? /* @__PURE__ */ go("div", {
7971
7971
  "aria-label": typeof Te == "string" && !de ? Te : null,
7972
7972
  ...Oe,
7973
7973
  key: te,
@@ -8040,7 +8040,7 @@ var hA = function(t, n) {
8040
8040
  xy.displayName = "OptionList";
8041
8041
  function pA(e) {
8042
8042
  var t = e.mode, n = e.options, r = e.children, o = e.backfill, i = e.allowClear, a = e.placeholder, l = e.getInputElement, c = e.showSearch, u = e.onSearch, d = e.defaultOpen, h = e.autoFocus, f = e.labelInValue, p = e.value, g = e.inputValue, m = e.optionLabelProp, b = Ks(t), y = c !== void 0 ? c : b || t === "combobox", w = n || wd(r);
8043
- if (vt(t !== "tags" || w.every(function(k) {
8043
+ if (yt(t !== "tags" || w.every(function(k) {
8044
8044
  return !k.disabled;
8045
8045
  }), "Please avoid setting option to disabled in tags mode since user can always type text as tag."), t === "tags" || t === "combobox") {
8046
8046
  var _ = w.some(function(k) {
@@ -8048,30 +8048,30 @@ function pA(e) {
8048
8048
  return typeof ("value" in O ? O.value : O.key) == "number";
8049
8049
  }) : typeof ("value" in k ? k.value : k.key) == "number";
8050
8050
  });
8051
- vt(!_, "`value` of Option should not use number type when `mode` is `tags` or `combobox`.");
8051
+ yt(!_, "`value` of Option should not use number type when `mode` is `tags` or `combobox`.");
8052
8052
  }
8053
- if (vt(t !== "combobox" || !m, "`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."), vt(t === "combobox" || !o, "`backfill` only works with `combobox` mode."), vt(t === "combobox" || !l, "`getInputElement` only work with `combobox` mode."), ih(t !== "combobox" || !l || !i || !a, "Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."), u && !y && t !== "combobox" && t !== "tags" && vt(!1, "`onSearch` should work with `showSearch` instead of use alone."), ih(!d || h, "`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."), p != null) {
8053
+ if (yt(t !== "combobox" || !m, "`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."), yt(t === "combobox" || !o, "`backfill` only works with `combobox` mode."), yt(t === "combobox" || !l, "`getInputElement` only work with `combobox` mode."), ih(t !== "combobox" || !l || !i || !a, "Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."), u && !y && t !== "combobox" && t !== "tags" && yt(!1, "`onSearch` should work with `showSearch` instead of use alone."), ih(!d || h, "`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."), p != null) {
8054
8054
  var x = ud(p);
8055
- vt(!f || x.every(function(k) {
8055
+ yt(!f || x.every(function(k) {
8056
8056
  return Vr(k) === "object" && ("key" in k || "value" in k);
8057
- }), "`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"), vt(!b || Array.isArray(p), "`value` should be array when `mode` is `multiple` or `tags`");
8057
+ }), "`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"), yt(!b || Array.isArray(p), "`value` should be array when `mode` is `multiple` or `tags`");
8058
8058
  }
8059
8059
  if (r) {
8060
8060
  var S = null;
8061
- co(r).some(function(k) {
8061
+ lo(r).some(function(k) {
8062
8062
  if (!/* @__PURE__ */ C.isValidElement(k) || !k.type)
8063
8063
  return !1;
8064
8064
  var O = k, L = O.type;
8065
8065
  if (L.isSelectOption)
8066
8066
  return !1;
8067
8067
  if (L.isSelectOptGroup) {
8068
- var H = co(k.props.children).every(function(A) {
8068
+ var H = lo(k.props.children).every(function(A) {
8069
8069
  return !/* @__PURE__ */ C.isValidElement(A) || !k.type || A.type.isSelectOption ? !0 : (S = A.type, !1);
8070
8070
  });
8071
8071
  return !H;
8072
8072
  }
8073
8073
  return S = L, !0;
8074
- }), S && vt(!1, "`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(S.displayName || S.name || S, "`.")), vt(g === void 0, "`inputValue` is deprecated, please use `searchValue` instead.");
8074
+ }), S && yt(!1, "`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(S.displayName || S.name || S, "`.")), yt(g === void 0, "`inputValue` is deprecated, please use `searchValue` instead.");
8075
8075
  }
8076
8076
  }
8077
8077
  function gA(e, t) {
@@ -8080,7 +8080,7 @@ function gA(e, t) {
8080
8080
  for (var i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, a = 0; a < o.length; a++) {
8081
8081
  var l = o[a];
8082
8082
  if (l[t == null ? void 0 : t.value] === null)
8083
- return vt(!1, "`value` in Select options should not be `null`."), !0;
8083
+ return yt(!1, "`value` in Select options should not be `null`."), !0;
8084
8084
  if (!i && Array.isArray(l[t == null ? void 0 : t.options]) && r(l[t == null ? void 0 : t.options], !0))
8085
8085
  break;
8086
8086
  }
@@ -8123,7 +8123,7 @@ var wy = /* @__PURE__ */ C.forwardRef(function(e, t) {
8123
8123
  var z;
8124
8124
  if (st === void 0 && (st = Pt == null ? void 0 : Pt[x || ae.label]), Ct === void 0 && (Ct = (z = Pt == null ? void 0 : Pt.key) !== null && z !== void 0 ? z : Fe), gn = Pt == null ? void 0 : Pt.disabled, mn = Pt == null ? void 0 : Pt.title, process.env.NODE_ENV !== "production" && !x) {
8125
8125
  var re = Pt == null ? void 0 : Pt[ae.label];
8126
- re !== void 0 && re !== st && vt(!1, "`label` of `value` is not same as `label` in Select options.");
8126
+ re !== void 0 && re !== st && yt(!1, "`label` of `value` is not same as `label` in Select options.");
8127
8127
  }
8128
8128
  }
8129
8129
  return {
@@ -8206,7 +8206,7 @@ var wy = /* @__PURE__ */ C.forwardRef(function(e, t) {
8206
8206
  G ? st : st[0]
8207
8207
  );
8208
8208
  }
8209
- }, yt = C.useState(null), De = sn(yt, 2), Ke = De[0], ct = De[1], Bt = C.useState(0), bt = sn(Bt, 2), qt = bt[0], St = bt[1], dn = O !== void 0 ? O : r !== "combobox", Ut = C.useCallback(function(le, ye) {
8209
+ }, bt = C.useState(null), De = sn(bt, 2), Ke = De[0], ct = De[1], jt = C.useState(0), xt = sn(jt, 2), qt = xt[0], St = xt[1], dn = O !== void 0 ? O : r !== "combobox", Ut = C.useCallback(function(le, ye) {
8210
8210
  var Se = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, Fe = Se.source, st = Fe === void 0 ? "keyboard" : Fe;
8211
8211
  St(ye), a && r === "combobox" && le !== null && st === "keyboard" && ct(String(le));
8212
8212
  }, [a, r]), Dt = function(ye, Se, Fe) {
@@ -8394,7 +8394,7 @@ function ri(e, t, n, r) {
8394
8394
  Object.keys(n).forEach(function(d) {
8395
8395
  var h = n[d], f = h.level, p = l.get(f);
8396
8396
  p || (p = /* @__PURE__ */ new Set(), l.set(f, p)), p.add(h), c = Math.max(c, f);
8397
- }), vt(!o.length, "Tree missing follow keys: ".concat(o.slice(0, 100).map(function(d) {
8397
+ }), yt(!o.length, "Tree missing follow keys: ".concat(o.slice(0, 100).map(function(d) {
8398
8398
  return "'".concat(d, "'");
8399
8399
  }).join(", ")));
8400
8400
  var u;
@@ -8433,7 +8433,7 @@ function Cy(e) {
8433
8433
  var t = _A(e, "string");
8434
8434
  return Hr(t) === "symbol" ? t : String(t);
8435
8435
  }
8436
- function jt(e, t, n) {
8436
+ function Kt(e, t, n) {
8437
8437
  return t = Cy(t), t in e ? Object.defineProperty(e, t, {
8438
8438
  value: n,
8439
8439
  enumerable: !0,
@@ -8455,7 +8455,7 @@ function xn(e) {
8455
8455
  for (var t = 1; t < arguments.length; t++) {
8456
8456
  var n = arguments[t] != null ? arguments[t] : {};
8457
8457
  t % 2 ? Rp(Object(n), !0).forEach(function(r) {
8458
- jt(e, r, n[r]);
8458
+ Kt(e, r, n[r]);
8459
8459
  }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Rp(Object(n)).forEach(function(r) {
8460
8460
  Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(n, r));
8461
8461
  });
@@ -8491,7 +8491,7 @@ function EA() {
8491
8491
  throw new TypeError(`Invalid attempt to spread non-iterable instance.
8492
8492
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
8493
8493
  }
8494
- function Oo(e) {
8494
+ function Mo(e) {
8495
8495
  return SA(e) || CA(e) || Ey(e) || EA();
8496
8496
  }
8497
8497
  function ky(e, t) {
@@ -8509,7 +8509,7 @@ function Ty(e, t, n) {
8509
8509
  writable: !1
8510
8510
  }), e;
8511
8511
  }
8512
- function $r(e) {
8512
+ function Pr(e) {
8513
8513
  if (e === void 0)
8514
8514
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
8515
8515
  return e;
@@ -8554,7 +8554,7 @@ function TA(e, t) {
8554
8554
  return t;
8555
8555
  if (t !== void 0)
8556
8556
  throw new TypeError("Derived constructors may only return object or undefined");
8557
- return $r(e);
8557
+ return Pr(e);
8558
8558
  }
8559
8559
  function Oy(e) {
8560
8560
  var t = kA();
@@ -8593,7 +8593,7 @@ var OA = function(t) {
8593
8593
  var u;
8594
8594
  l.push(
8595
8595
  /* @__PURE__ */ s("span", {
8596
- className: Mt(a, (u = {}, jt(u, "".concat(a, "-start"), o[c]), jt(u, "".concat(a, "-end"), i[c]), u))
8596
+ className: Mt(a, (u = {}, Kt(u, "".concat(a, "-start"), o[c]), Kt(u, "".concat(a, "-end"), i[c]), u))
8597
8597
  }, c)
8598
8598
  );
8599
8599
  }
@@ -8623,19 +8623,19 @@ function AA(e, t) {
8623
8623
  var i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "";
8624
8624
  (o || []).forEach(function(a) {
8625
8625
  var l = a[t.key], c = a[t.children];
8626
- vt(l != null, "Tree node must have a certain key: [".concat(i).concat(l, "]"));
8626
+ yt(l != null, "Tree node must have a certain key: [".concat(i).concat(l, "]"));
8627
8627
  var u = String(l);
8628
- vt(!n.has(u) || l === null || l === void 0, "Same 'key' exist in the Tree: ".concat(u)), n.set(u, !0), r(c, "".concat(i).concat(u, " > "));
8628
+ yt(!n.has(u) || l === null || l === void 0, "Same 'key' exist in the Tree: ".concat(u)), n.set(u, !0), r(c, "".concat(i).concat(u, " > "));
8629
8629
  });
8630
8630
  }
8631
8631
  r(e);
8632
8632
  }
8633
8633
  function $A(e) {
8634
8634
  function t(n) {
8635
- var r = co(n);
8635
+ var r = lo(n);
8636
8636
  return r.map(function(o) {
8637
8637
  if (!zA(o))
8638
- return vt(!o, "Tree/TreeNode can only accept TreeNode as children."), null;
8638
+ return yt(!o, "Tree/TreeNode can only accept TreeNode as children."), null;
8639
8639
  var i = o.key, a = o.props, l = a.children, c = Rl(a, DA), u = xn({
8640
8640
  key: i
8641
8641
  }, c), d = t(l);
@@ -8658,15 +8658,15 @@ function dc(e, t, n) {
8658
8658
  break;
8659
8659
  }
8660
8660
  }
8661
- var _ = xn(xn({}, hy(f, [].concat(Oo(o), [i, a]))), {}, {
8661
+ var _ = xn(xn({}, hy(f, [].concat(Mo(o), [i, a]))), {}, {
8662
8662
  title: b,
8663
8663
  key: m,
8664
8664
  parent: h,
8665
8665
  pos: g,
8666
8666
  children: null,
8667
8667
  data: f,
8668
- isStart: [].concat(Oo(h ? h.isStart : []), [p === 0]),
8669
- isEnd: [].concat(Oo(h ? h.isEnd : []), [p === d.length - 1])
8668
+ isStart: [].concat(Mo(h ? h.isStart : []), [p === 0]),
8669
+ isEnd: [].concat(Mo(h ? h.isEnd : []), [p === d.length - 1])
8670
8670
  });
8671
8671
  return c.push(_), t === !0 || l.has(m) ? _.children = u(f[a] || [], _) : _.children = [], _;
8672
8672
  });
@@ -8687,7 +8687,7 @@ function PA(e, t, n) {
8687
8687
  return ja(m[u], b);
8688
8688
  };
8689
8689
  function p(g, m, b, y) {
8690
- var w = g ? g[h] : e, _ = g ? Dy(b.pos, m) : "0", x = g ? [].concat(Oo(y), [g]) : [];
8690
+ var w = g ? g[h] : e, _ = g ? Dy(b.pos, m) : "0", x = g ? [].concat(Mo(y), [g]) : [];
8691
8691
  if (g) {
8692
8692
  var S = f(g, _), k = {
8693
8693
  node: g,
@@ -8764,7 +8764,7 @@ function on(e) {
8764
8764
  });
8765
8765
  return "props" in g || Object.defineProperty(g, "props", {
8766
8766
  get: function() {
8767
- return vt(!1, "Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."), e;
8767
+ return yt(!1, "Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."), e;
8768
8768
  }
8769
8769
  }), g;
8770
8770
  }
@@ -8811,30 +8811,30 @@ var NA = ["eventKey", "className", "style", "dragOver", "dragOverGapTop", "dragO
8811
8811
  var c = r.props.context.onNodeDragStart;
8812
8812
  l.stopPropagation(), r.setState({
8813
8813
  dragNodeHighlight: !0
8814
- }), c(l, $r(r));
8814
+ }), c(l, Pr(r));
8815
8815
  try {
8816
8816
  l.dataTransfer.setData("text/plain", "");
8817
8817
  } catch {
8818
8818
  }
8819
8819
  }, r.onDragEnter = function(l) {
8820
8820
  var c = r.props.context.onNodeDragEnter;
8821
- l.preventDefault(), l.stopPropagation(), c(l, $r(r));
8821
+ l.preventDefault(), l.stopPropagation(), c(l, Pr(r));
8822
8822
  }, r.onDragOver = function(l) {
8823
8823
  var c = r.props.context.onNodeDragOver;
8824
- l.preventDefault(), l.stopPropagation(), c(l, $r(r));
8824
+ l.preventDefault(), l.stopPropagation(), c(l, Pr(r));
8825
8825
  }, r.onDragLeave = function(l) {
8826
8826
  var c = r.props.context.onNodeDragLeave;
8827
- l.stopPropagation(), c(l, $r(r));
8827
+ l.stopPropagation(), c(l, Pr(r));
8828
8828
  }, r.onDragEnd = function(l) {
8829
8829
  var c = r.props.context.onNodeDragEnd;
8830
8830
  l.stopPropagation(), r.setState({
8831
8831
  dragNodeHighlight: !1
8832
- }), c(l, $r(r));
8832
+ }), c(l, Pr(r));
8833
8833
  }, r.onDrop = function(l) {
8834
8834
  var c = r.props.context.onNodeDrop;
8835
8835
  l.preventDefault(), l.stopPropagation(), r.setState({
8836
8836
  dragNodeHighlight: !1
8837
- }), c(l, $r(r));
8837
+ }), c(l, Pr(r));
8838
8838
  }, r.onExpand = function(l) {
8839
8839
  var c = r.props, u = c.loading, d = c.context.onNodeExpand;
8840
8840
  u || d(l, on(r.props));
@@ -8969,7 +8969,7 @@ var NA = ["eventKey", "className", "style", "dragOver", "dragOverGapTop", "dragO
8969
8969
  } : void 0;
8970
8970
  return /* @__PURE__ */ v("div", {
8971
8971
  ref: x,
8972
- className: Mt(l, "".concat(A, "-treenode"), (o = {}, jt(o, "".concat(A, "-treenode-disabled"), $), jt(o, "".concat(A, "-treenode-switcher-").concat(m ? "open" : "close"), !f), jt(o, "".concat(A, "-treenode-checkbox-checked"), y), jt(o, "".concat(A, "-treenode-checkbox-indeterminate"), w), jt(o, "".concat(A, "-treenode-selected"), b), jt(o, "".concat(A, "-treenode-loading"), _), jt(o, "".concat(A, "-treenode-active"), S), jt(o, "".concat(A, "-treenode-leaf-last"), G), jt(o, "".concat(A, "-treenode-draggable"), U), jt(o, "dragging", ae), jt(o, "drop-target", E === a), jt(o, "drop-container", V === a), jt(o, "drag-over", !$ && u), jt(o, "drag-over-gap-top", !$ && d), jt(o, "drag-over-gap-bottom", !$ && h), jt(o, "filter-node", T && T(on(this.props))), o)),
8972
+ className: Mt(l, "".concat(A, "-treenode"), (o = {}, Kt(o, "".concat(A, "-treenode-disabled"), $), Kt(o, "".concat(A, "-treenode-switcher-").concat(m ? "open" : "close"), !f), Kt(o, "".concat(A, "-treenode-checkbox-checked"), y), Kt(o, "".concat(A, "-treenode-checkbox-indeterminate"), w), Kt(o, "".concat(A, "-treenode-selected"), b), Kt(o, "".concat(A, "-treenode-loading"), _), Kt(o, "".concat(A, "-treenode-active"), S), Kt(o, "".concat(A, "-treenode-leaf-last"), G), Kt(o, "".concat(A, "-treenode-draggable"), U), Kt(o, "dragging", ae), Kt(o, "drop-target", E === a), Kt(o, "drop-container", V === a), Kt(o, "drag-over", !$ && u), Kt(o, "drag-over-gap-top", !$ && d), Kt(o, "drag-over-gap-bottom", !$ && h), Kt(o, "filter-node", T && T(on(this.props))), o)),
8973
8973
  style: c,
8974
8974
  draggable: oe,
8975
8975
  "aria-grabbed": ae,
@@ -9006,7 +9006,7 @@ pi.defaultProps = {
9006
9006
  title: IA
9007
9007
  };
9008
9008
  pi.isTreeNode = 1;
9009
- function Mr(e, t) {
9009
+ function Or(e, t) {
9010
9010
  if (!e)
9011
9011
  return [];
9012
9012
  var n = e.slice(), r = n.indexOf(t);
@@ -9115,7 +9115,7 @@ function fc(e) {
9115
9115
  halfCheckedKeys: e.halfChecked || void 0
9116
9116
  };
9117
9117
  else
9118
- return vt(!1, "`checkedKeys` is not an array or an object"), null;
9118
+ return yt(!1, "`checkedKeys` is not an array or an object"), null;
9119
9119
  return t;
9120
9120
  }
9121
9121
  function Ip(e, t) {
@@ -9132,7 +9132,7 @@ function Ip(e, t) {
9132
9132
  }
9133
9133
  return (e || []).forEach(function(o) {
9134
9134
  r(o);
9135
- }), Oo(n);
9135
+ }), Mo(n);
9136
9136
  }
9137
9137
  function Ay(e) {
9138
9138
  if (e == null)
@@ -9202,7 +9202,7 @@ var WA = ["className", "style", "motion", "motionNodes", "motionType", "onMotion
9202
9202
  var A = Gs({}, (Ay(H.data), H.data)), T = H.title, P = H.key, V = H.isStart, E = H.isEnd;
9203
9203
  delete A.children;
9204
9204
  var N = oa(P, h);
9205
- return /* @__PURE__ */ mo(pi, {
9205
+ return /* @__PURE__ */ go(pi, {
9206
9206
  ...A,
9207
9207
  ...N,
9208
9208
  title: T,
@@ -9502,7 +9502,7 @@ var ZA = 10, Ed = /* @__PURE__ */ function(e) {
9502
9502
  x: l.clientX,
9503
9503
  y: l.clientY
9504
9504
  };
9505
- var g = Mr(d, p);
9505
+ var g = Or(d, p);
9506
9506
  r.setState({
9507
9507
  draggingNodeKey: p,
9508
9508
  dragChildrenKeys: VA(p, h),
@@ -9512,7 +9512,7 @@ var ZA = 10, Ed = /* @__PURE__ */ function(e) {
9512
9512
  node: on(c.props)
9513
9513
  });
9514
9514
  }, r.onNodeDragEnter = function(l, c) {
9515
- var u = r.state, d = u.expandedKeys, h = u.keyEntities, f = u.dragChildrenKeys, p = u.flattenNodes, g = u.indent, m = r.props, b = m.onDragEnter, y = m.onExpand, w = m.allowDrop, _ = m.direction, x = c.props, S = x.pos, k = x.eventKey, O = $r(r), L = O.dragNode;
9515
+ var u = r.state, d = u.expandedKeys, h = u.keyEntities, f = u.dragChildrenKeys, p = u.flattenNodes, g = u.indent, m = r.props, b = m.onDragEnter, y = m.onExpand, w = m.allowDrop, _ = m.direction, x = c.props, S = x.pos, k = x.eventKey, O = Pr(r), L = O.dragNode;
9516
9516
  if (r.currentMouseOverDroppableNodeKey !== k && (r.currentMouseOverDroppableNodeKey = k), !L) {
9517
9517
  r.resetDragState();
9518
9518
  return;
@@ -9526,7 +9526,7 @@ var ZA = 10, Ed = /* @__PURE__ */ function(e) {
9526
9526
  clearTimeout(r.delayedDragEnterLogic[M]);
9527
9527
  }), L.props.eventKey !== c.props.eventKey && (l.persist(), r.delayedDragEnterLogic[S] = window.setTimeout(function() {
9528
9528
  if (r.state.draggingNodeKey !== null) {
9529
- var M = Oo(d), B = h[c.props.eventKey];
9529
+ var M = Mo(d), B = h[c.props.eventKey];
9530
9530
  B && (B.children || []).length && (M = Yr(d, c.props.eventKey)), "expandedKeys" in r.props || r.setExpandedKeys(M), y == null || y(M, {
9531
9531
  node: on(c.props),
9532
9532
  expanded: !0,
@@ -9551,7 +9551,7 @@ var ZA = 10, Ed = /* @__PURE__ */ function(e) {
9551
9551
  expandedKeys: d
9552
9552
  });
9553
9553
  }, r.onNodeDragOver = function(l, c) {
9554
- var u = r.state, d = u.dragChildrenKeys, h = u.flattenNodes, f = u.keyEntities, p = u.expandedKeys, g = u.indent, m = r.props, b = m.onDragOver, y = m.allowDrop, w = m.direction, _ = $r(r), x = _.dragNode;
9554
+ var u = r.state, d = u.dragChildrenKeys, h = u.flattenNodes, f = u.keyEntities, p = u.expandedKeys, g = u.indent, m = r.props, b = m.onDragOver, y = m.allowDrop, w = m.direction, _ = Pr(r), x = _.dragNode;
9555
9555
  if (!!x) {
9556
9556
  var S = Pp(l, x, c, g, r.dragStartMousePosition, y, h, f, p, w), k = S.dropPosition, O = S.dropLevelOffset, L = S.dropTargetKey, H = S.dropContainerKey, A = S.dropAllowed, T = S.dropTargetPos, P = S.dragOverNodeKey;
9557
9557
  d.indexOf(L) !== -1 || !A || (x.props.eventKey === L && O === 0 ? r.state.dropPosition === null && r.state.dropLevelOffset === null && r.state.dropTargetKey === null && r.state.dropContainerKey === null && r.state.dropTargetPos === null && r.state.dropAllowed === !1 && r.state.dragOverNodeKey === null || r.resetDragState() : k === r.state.dropPosition && O === r.state.dropLevelOffset && L === r.state.dropTargetKey && H === r.state.dropContainerKey && T === r.state.dropTargetPos && A === r.state.dropAllowed && P === r.state.dragOverNodeKey || r.setState({
@@ -9595,7 +9595,7 @@ var ZA = 10, Ed = /* @__PURE__ */ function(e) {
9595
9595
  active: ((u = r.getActiveItem()) === null || u === void 0 ? void 0 : u.key) === g,
9596
9596
  data: r.state.keyEntities[g].node
9597
9597
  }), _ = f.indexOf(g) !== -1;
9598
- vt(!_, "Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");
9598
+ yt(!_, "Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");
9599
9599
  var x = Cd(m), S = {
9600
9600
  event: l,
9601
9601
  node: on(w),
@@ -9626,7 +9626,7 @@ var ZA = 10, Ed = /* @__PURE__ */ function(e) {
9626
9626
  })[0], b = on(xn(xn({}, oa(p, r.getTreeNodeRequiredProps())), {}, {
9627
9627
  data: m.data
9628
9628
  }));
9629
- r.setExpandedKeys(f ? Mr(d, p) : Yr(d, p)), r.onNodeExpand(l, b);
9629
+ r.setExpandedKeys(f ? Or(d, p) : Yr(d, p)), r.onNodeExpand(l, b);
9630
9630
  }
9631
9631
  }, r.onNodeClick = function(l, c) {
9632
9632
  var u = r.props, d = u.onClick, h = u.expandAction;
@@ -9636,7 +9636,7 @@ var ZA = 10, Ed = /* @__PURE__ */ function(e) {
9636
9636
  h === "doubleClick" && r.triggerExpandActionExpand(l, c), d == null || d(l, c);
9637
9637
  }, r.onNodeSelect = function(l, c) {
9638
9638
  var u = r.state.selectedKeys, d = r.state, h = d.keyEntities, f = d.fieldNames, p = r.props, g = p.onSelect, m = p.multiple, b = c.selected, y = c[f.key], w = !b;
9639
- w ? m ? u = Yr(u, y) : u = [y] : u = Mr(u, y);
9639
+ w ? m ? u = Yr(u, y) : u = [y] : u = Or(u, y);
9640
9640
  var _ = u.map(function(x) {
9641
9641
  var S = h[x];
9642
9642
  return S ? S.node : null;
@@ -9660,7 +9660,7 @@ var ZA = 10, Ed = /* @__PURE__ */ function(e) {
9660
9660
  nativeEvent: l.nativeEvent
9661
9661
  };
9662
9662
  if (m) {
9663
- var x = u ? Yr(f, y) : Mr(f, y), S = Mr(p, y);
9663
+ var x = u ? Yr(f, y) : Or(f, y), S = Or(p, y);
9664
9664
  w = {
9665
9665
  checked: x,
9666
9666
  halfChecked: S
@@ -9674,7 +9674,7 @@ var ZA = 10, Ed = /* @__PURE__ */ function(e) {
9674
9674
  checkedKeys: x
9675
9675
  });
9676
9676
  } else {
9677
- var k = ri([].concat(Oo(f), [y]), !0, h), O = k.checkedKeys, L = k.halfCheckedKeys;
9677
+ var k = ri([].concat(Mo(f), [y]), !0, h), O = k.checkedKeys, L = k.halfCheckedKeys;
9678
9678
  if (!u) {
9679
9679
  var H = new Set(O);
9680
9680
  H.delete(y);
@@ -9716,17 +9716,17 @@ var ZA = 10, Ed = /* @__PURE__ */ function(e) {
9716
9716
  loadedKeys: k
9717
9717
  }), r.setState(function(O) {
9718
9718
  return {
9719
- loadingKeys: Mr(O.loadingKeys, c)
9719
+ loadingKeys: Or(O.loadingKeys, c)
9720
9720
  };
9721
9721
  }), d();
9722
9722
  }).catch(function(S) {
9723
9723
  if (r.setState(function(O) {
9724
9724
  return {
9725
- loadingKeys: Mr(O.loadingKeys, c)
9725
+ loadingKeys: Or(O.loadingKeys, c)
9726
9726
  };
9727
9727
  }), r.loadingRetryTimes[c] = (r.loadingRetryTimes[c] || 0) + 1, r.loadingRetryTimes[c] >= ZA) {
9728
9728
  var k = r.state.loadedKeys;
9729
- vt(!1, "Retry for `loadData` many times but still failed. No more retry."), r.setUncontrolledState({
9729
+ yt(!1, "Retry for `loadData` many times but still failed. No more retry."), r.setUncontrolledState({
9730
9730
  loadedKeys: Yr(k, c)
9731
9731
  }), d();
9732
9732
  }
@@ -9795,7 +9795,7 @@ var ZA = 10, Ed = /* @__PURE__ */ function(e) {
9795
9795
  var u = r.state.expandedKeys, d = r.state, h = d.listChanging, f = d.fieldNames, p = r.props, g = p.onExpand, m = p.loadData, b = c.expanded, y = c[f.key];
9796
9796
  if (!h) {
9797
9797
  var w = u.indexOf(y), _ = !b;
9798
- if (vt(b && w !== -1 || !b && w === -1, "Expand state not sync with index check"), _ ? u = Yr(u, y) : u = Mr(u, y), r.setExpandedKeys(u), g == null || g(u, {
9798
+ if (yt(b && w !== -1 || !b && w === -1, "Expand state not sync with index check"), _ ? u = Yr(u, y) : u = Or(u, y), r.setExpandedKeys(u), g == null || g(u, {
9799
9799
  node: c,
9800
9800
  expanded: _,
9801
9801
  nativeEvent: l.nativeEvent
@@ -9807,7 +9807,7 @@ var ZA = 10, Ed = /* @__PURE__ */ function(e) {
9807
9807
  flattenNodes: S
9808
9808
  });
9809
9809
  }).catch(function() {
9810
- var S = r.state.expandedKeys, k = Mr(S, y);
9810
+ var S = r.state.expandedKeys, k = Or(S, y);
9811
9811
  r.setExpandedKeys(k);
9812
9812
  });
9813
9813
  }
@@ -9987,7 +9987,7 @@ var ZA = 10, Ed = /* @__PURE__ */ function(e) {
9987
9987
  },
9988
9988
  children: /* @__PURE__ */ s("div", {
9989
9989
  role: "tree",
9990
- className: Mt(w, _, he, (o = {}, jt(o, "".concat(w, "-show-line"), S), jt(o, "".concat(w, "-focused"), a), jt(o, "".concat(w, "-active-focused"), d !== null), o)),
9990
+ className: Mt(w, _, he, (o = {}, Kt(o, "".concat(w, "-show-line"), S), Kt(o, "".concat(w, "-focused"), a), Kt(o, "".concat(w, "-active-focused"), d !== null), o)),
9991
9991
  style: de,
9992
9992
  children: /* @__PURE__ */ s(Ny, {
9993
9993
  ref: this.listRef,
@@ -10030,12 +10030,12 @@ var ZA = 10, Ed = /* @__PURE__ */ function(e) {
10030
10030
  return !a && k in o || a && a[k] !== o[k];
10031
10031
  }
10032
10032
  var u, d = i.fieldNames;
10033
- if (c("fieldNames") && (d = Us(o.fieldNames), l.fieldNames = d), c("treeData") ? u = o.treeData : c("children") && (vt(!1, "`children` of Tree is deprecated. Please use `treeData` instead."), u = $A(o.children)), u) {
10033
+ if (c("fieldNames") && (d = Us(o.fieldNames), l.fieldNames = d), c("treeData") ? u = o.treeData : c("children") && (yt(!1, "`children` of Tree is deprecated. Please use `treeData` instead."), u = $A(o.children)), u) {
10034
10034
  l.treeData = u;
10035
10035
  var h = Ry(u, {
10036
10036
  fieldNames: d
10037
10037
  });
10038
- l.keyEntities = xn(jt({}, Po, Py), h.keyEntities), process.env.NODE_ENV !== "production" && AA(u, d);
10038
+ l.keyEntities = xn(Kt({}, Po, Py), h.keyEntities), process.env.NODE_ENV !== "production" && AA(u, d);
10039
10039
  }
10040
10040
  var f = l.keyEntities || i.keyEntities;
10041
10041
  if (c("expandedKeys") || a && c("autoExpandParent"))
@@ -10182,12 +10182,12 @@ var t$ = {
10182
10182
  break;
10183
10183
  case ce.ENTER: {
10184
10184
  if (je) {
10185
- var pt = (je == null ? void 0 : je.node) || {}, tt = pt.selectable, yt = pt.value;
10185
+ var pt = (je == null ? void 0 : je.node) || {}, tt = pt.selectable, bt = pt.value;
10186
10186
  tt !== !1 && _e(null, {
10187
10187
  node: {
10188
10188
  key: we
10189
10189
  },
10190
- selected: !S.includes(yt)
10190
+ selected: !S.includes(bt)
10191
10191
  });
10192
10192
  }
10193
10193
  break;
@@ -10269,7 +10269,7 @@ function Bp(e, t, n, r) {
10269
10269
  }
10270
10270
  var o$ = ["children", "value"];
10271
10271
  function Hy(e) {
10272
- return co(e).map(function(t) {
10272
+ return lo(e).map(function(t) {
10273
10273
  if (!/* @__PURE__ */ C.isValidElement(t) || !t.type)
10274
10274
  return null;
10275
10275
  var n = t, r = n.key, o = n.props, i = o.children, a = o.value, l = Jm(o, o$), c = Zn({
@@ -10287,7 +10287,7 @@ function mu(e) {
10287
10287
  var t = Zn({}, e);
10288
10288
  return "props" in t || Object.defineProperty(t, "props", {
10289
10289
  get: function() {
10290
- return vt(!1, "New `rc-tree-select` not support return node instance as argument anymore. Please consider to remove `props` access."), t;
10290
+ return yt(!1, "New `rc-tree-select` not support return node instance as argument anymore. Please consider to remove `props` access."), t;
10291
10291
  }
10292
10292
  }), t;
10293
10293
  }
@@ -10323,11 +10323,11 @@ function i$(e, t, n, r, o, i) {
10323
10323
  }
10324
10324
  Object.defineProperty(e, "triggerNode", {
10325
10325
  get: function() {
10326
- return vt(!1, "`triggerNode` is deprecated. Please consider decoupling data with node."), c(), a;
10326
+ return yt(!1, "`triggerNode` is deprecated. Please consider decoupling data with node."), c(), a;
10327
10327
  }
10328
10328
  }), Object.defineProperty(e, "allCheckedNodes", {
10329
10329
  get: function() {
10330
- return vt(!1, "`allCheckedNodes` is deprecated. Please consider decoupling data with node."), c(), o ? l : l.map(function(d) {
10330
+ return yt(!1, "`allCheckedNodes` is deprecated. Please consider decoupling data with node."), c(), o ? l : l.map(function(d) {
10331
10331
  var h = d.node;
10332
10332
  return h;
10333
10333
  });
@@ -10388,7 +10388,7 @@ const c$ = function(e, t) {
10388
10388
  var a = o.node[t.value];
10389
10389
  if (process.env.NODE_ENV !== "production") {
10390
10390
  var l = o.node.key;
10391
- vt(!gu(a), "TreeNode `value` is invalidate: undefined"), vt(!i.valueEntities.has(a), "Same `value` exist in the tree: ".concat(a)), vt(!l || String(l) === String(a), "`key` or `value` with TreeNode must be the same or you can remove one of them. key: ".concat(l, ", value: ").concat(a, "."));
10391
+ yt(!gu(a), "TreeNode `value` is invalidate: undefined"), yt(!i.valueEntities.has(a), "Same `value` exist in the tree: ".concat(a)), yt(!l || String(l) === String(a), "`key` or `value` with TreeNode must be the same or you can remove one of them. key: ".concat(l, ", value: ").concat(a, "."));
10392
10392
  }
10393
10393
  i.valueEntities.set(a, o);
10394
10394
  }
@@ -10446,9 +10446,9 @@ const c$ = function(e, t) {
10446
10446
  };
10447
10447
  function f$(e) {
10448
10448
  var t = e.searchPlaceholder, n = e.treeCheckStrictly, r = e.treeCheckable, o = e.labelInValue, i = e.value, a = e.multiple;
10449
- vt(!t, "`searchPlaceholder` has been removed."), n && o === !1 && vt(!1, "`treeCheckStrictly` will force set `labelInValue` to `true`."), (o || n) && vt(zy(i).every(function(l) {
10449
+ yt(!t, "`searchPlaceholder` has been removed."), n && o === !1 && yt(!1, "`treeCheckStrictly` will force set `labelInValue` to `true`."), (o || n) && yt(zy(i).every(function(l) {
10450
10450
  return l && $o(l) === "object" && "value" in l;
10451
- }), "Invalid prop `value` supplied to `TreeSelect`. You should use { label: string, value: string | number } or [{ label: string, value: string | number }] instead."), n || a || r ? vt(!i || Array.isArray(i), "`value` should be an array when `TreeSelect` is checkable or multiple.") : vt(!Array.isArray(i), "`value` should not be array when `TreeSelect` is single mode.");
10451
+ }), "Invalid prop `value` supplied to `TreeSelect`. You should use { label: string, value: string | number } or [{ label: string, value: string | number }] instead."), n || a || r ? yt(!i || Array.isArray(i), "`value` should be an array when `TreeSelect` is checkable or multiple.") : yt(!Array.isArray(i), "`value` should not be array when `TreeSelect` is single mode.");
10452
10452
  }
10453
10453
  var h$ = ["id", "prefixCls", "value", "defaultValue", "onChange", "onSelect", "onDeselect", "searchValue", "inputValue", "onSearch", "autoClearSearchValue", "filterTreeNode", "treeNodeFilterProp", "showCheckedStrategy", "treeNodeLabelProp", "multiple", "treeCheckable", "treeCheckStrictly", "labelInValue", "fieldNames", "treeDataSimpleMode", "treeData", "children", "loadData", "treeLoadedKeys", "onTreeLoad", "treeDefaultExpandAll", "treeExpandedKeys", "treeDefaultExpandedKeys", "onTreeExpand", "treeExpandAction", "virtual", "listHeight", "listItemHeight", "onDropdownVisibleChange", "dropdownMatchSelectWidth", "treeLine", "treeIcon", "showTreeIcon", "switcherIcon", "treeMotion"];
10454
10454
  function p$(e) {
@@ -10471,7 +10471,7 @@ var By = /* @__PURE__ */ C.forwardRef(function(e, t) {
10471
10471
  }
10472
10472
  }), Ge = Jr(Xe, 2), qe = Ge[0], wt = Ge[1], pt = function(be) {
10473
10473
  wt(be), f == null || f(be);
10474
- }, tt = s$(T, P, A), yt = c$(tt, Pe), De = yt.keyEntities, Ke = yt.valueEntities, ct = C.useCallback(function(ne) {
10474
+ }, tt = s$(T, P, A), bt = c$(tt, Pe), De = bt.keyEntities, Ke = bt.valueEntities, ct = C.useCallback(function(ne) {
10475
10475
  var be = [], Ce = [];
10476
10476
  return ne.forEach(function(Ne) {
10477
10477
  Ke.has(Ne) ? Ce.push(Ne) : be.push(Ne);
@@ -10479,11 +10479,11 @@ var By = /* @__PURE__ */ C.forwardRef(function(e, t) {
10479
10479
  missingRawValues: be,
10480
10480
  existRawValues: Ce
10481
10481
  };
10482
- }, [Ke]), Bt = d$(tt, qe, {
10482
+ }, [Ke]), jt = d$(tt, qe, {
10483
10483
  fieldNames: Pe,
10484
10484
  treeNodeFilterProp: y,
10485
10485
  filterTreeNode: m
10486
- }), bt = C.useCallback(function(ne) {
10486
+ }), xt = C.useCallback(function(ne) {
10487
10487
  if (ne) {
10488
10488
  if (x)
10489
10489
  return ne[x];
@@ -10506,7 +10506,7 @@ var By = /* @__PURE__ */ C.forwardRef(function(e, t) {
10506
10506
  var Ne = Ce.label, We = Ce.value, Ve = Ce.halfChecked, Ze, Ue = Ke.get(We);
10507
10507
  if (Ue) {
10508
10508
  var ot;
10509
- Ne = (ot = Ne) !== null && ot !== void 0 ? ot : bt(Ue.node), Ze = Ue.node.disabled;
10509
+ Ne = (ot = Ne) !== null && ot !== void 0 ? ot : xt(Ue.node), Ze = Ue.node.disabled;
10510
10510
  } else if (Ne === void 0) {
10511
10511
  var Nt = qt(je).find(function(Cn) {
10512
10512
  return Cn.value === We;
@@ -10520,7 +10520,7 @@ var By = /* @__PURE__ */ C.forwardRef(function(e, t) {
10520
10520
  disabled: Ze
10521
10521
  };
10522
10522
  });
10523
- }, [Ke, bt, qt, je]), dn = C.useMemo(function() {
10523
+ }, [Ke, xt, qt, je]), dn = C.useMemo(function() {
10524
10524
  return qt(je);
10525
10525
  }, [qt, je]), Ut = C.useMemo(function() {
10526
10526
  var ne = [], be = [];
@@ -10576,10 +10576,10 @@ var By = /* @__PURE__ */ C.forwardRef(function(e, t) {
10576
10576
  triggerValue: Ue
10577
10577
  }, fr = !0;
10578
10578
  (O || Ce === "selection" && !ot) && (fr = !1), i$(Yt, Ue, ne, tt, fr, Pe), _e ? Yt.checked = ot : Yt.selected = ot;
10579
- var Er = $e ? Hn : Hn.map(function(Rn) {
10579
+ var kr = $e ? Hn : Hn.map(function(Rn) {
10580
10580
  return Rn.value;
10581
10581
  });
10582
- l(Le ? Er : Er[0], $e ? null : Hn.map(function(Rn) {
10582
+ l(Le ? kr : kr[0], $e ? null : Hn.map(function(Rn) {
10583
10583
  return Rn.label;
10584
10584
  }), Yt);
10585
10585
  }
@@ -10599,8 +10599,8 @@ var By = /* @__PURE__ */ C.forwardRef(function(e, t) {
10599
10599
  return Ke.get(Dn).key;
10600
10600
  }), fr;
10601
10601
  if (Ne) {
10602
- var Er = ri(Yt, !0, De);
10603
- fr = Er.checkedKeys;
10602
+ var kr = ri(Yt, !0, De);
10603
+ fr = kr.checkedKeys;
10604
10604
  } else {
10605
10605
  var Rn = ri(Yt, {
10606
10606
  checked: !1,
@@ -10623,7 +10623,7 @@ var By = /* @__PURE__ */ C.forwardRef(function(e, t) {
10623
10623
  var be = {};
10624
10624
  Object.defineProperty(be, "documentClickClose", {
10625
10625
  get: function() {
10626
- return vt(!1, "Second param of `onDropdownVisibleChange` has been removed."), !1;
10626
+ return yt(!1, "Second param of `onDropdownVisibleChange` has been removed."), !1;
10627
10627
  }
10628
10628
  }), me(ne, be);
10629
10629
  }
@@ -10645,12 +10645,12 @@ var By = /* @__PURE__ */ C.forwardRef(function(e, t) {
10645
10645
  dropdownMatchSelectWidth: he,
10646
10646
  listHeight: ae,
10647
10647
  listItemHeight: te,
10648
- treeData: Bt,
10648
+ treeData: jt,
10649
10649
  fieldNames: Pe,
10650
10650
  onSelect: mn,
10651
10651
  treeExpandAction: G
10652
10652
  };
10653
- }, [U, he, ae, te, Bt, Pe, mn, G]), re = C.useMemo(function() {
10653
+ }, [U, he, ae, te, jt, Pe, mn, G]), re = C.useMemo(function() {
10654
10654
  return {
10655
10655
  checkable: _e,
10656
10656
  loadData: V,
@@ -11309,7 +11309,7 @@ const Wy = J(() => {
11309
11309
  }), E$ = J(({
11310
11310
  view: e
11311
11311
  }) => {
11312
- const t = He(), n = go(), {
11312
+ const t = He(), n = po(), {
11313
11313
  panel: r
11314
11314
  } = On(), {
11315
11315
  id: o,
@@ -11347,9 +11347,9 @@ const Wy = J(() => {
11347
11347
  right: 0,
11348
11348
  zIndex: 300
11349
11349
  },
11350
- children: /* @__PURE__ */ v(kr, {
11350
+ children: /* @__PURE__ */ v(Tr, {
11351
11351
  withinPortal: !0,
11352
- children: [/* @__PURE__ */ s(kr.Target, {
11352
+ children: [/* @__PURE__ */ s(Tr.Target, {
11353
11353
  children: /* @__PURE__ */ s(xe, {
11354
11354
  className: "panel-dropdown-target",
11355
11355
  sx: {
@@ -11357,14 +11357,14 @@ const Wy = J(() => {
11357
11357
  height: "25px"
11358
11358
  }
11359
11359
  })
11360
- }), /* @__PURE__ */ v(kr.Dropdown, {
11361
- children: [/* @__PURE__ */ s(kr.Item, {
11360
+ }), /* @__PURE__ */ v(Tr.Dropdown, {
11361
+ children: [/* @__PURE__ */ s(Tr.Item, {
11362
11362
  onClick: l,
11363
11363
  icon: /* @__PURE__ */ s(ym, {
11364
11364
  size: 14
11365
11365
  }),
11366
11366
  children: "Refresh"
11367
- }), /* @__PURE__ */ s(kr.Item, {
11367
+ }), /* @__PURE__ */ s(Tr.Item, {
11368
11368
  onClick: () => {
11369
11369
  var m;
11370
11370
  return t.queries.downloadDataByQueryID((m = i == null ? void 0 : i.id) != null ? m : "");
@@ -11373,7 +11373,7 @@ const Wy = J(() => {
11373
11373
  size: 14
11374
11374
  }),
11375
11375
  children: "Download Data"
11376
- }), g && /* @__PURE__ */ s(kr.Item, {
11376
+ }), g && /* @__PURE__ */ s(Tr.Item, {
11377
11377
  onClick: p,
11378
11378
  icon: /* @__PURE__ */ s(i_, {
11379
11379
  size: 14
@@ -11384,19 +11384,19 @@ const Wy = J(() => {
11384
11384
  children: [/* @__PURE__ */ s(pe, {
11385
11385
  label: "Edit",
11386
11386
  labelPosition: "center"
11387
- }), /* @__PURE__ */ s(kr.Item, {
11387
+ }), /* @__PURE__ */ s(Tr.Item, {
11388
11388
  onClick: h,
11389
11389
  icon: /* @__PURE__ */ s(xm, {
11390
11390
  size: 14
11391
11391
  }),
11392
11392
  children: "Settings"
11393
- }), /* @__PURE__ */ s(kr.Item, {
11393
+ }), /* @__PURE__ */ s(Tr.Item, {
11394
11394
  onClick: d,
11395
11395
  icon: /* @__PURE__ */ s(a_, {
11396
11396
  size: 14
11397
11397
  }),
11398
11398
  children: "Duplicate"
11399
- }), /* @__PURE__ */ s(kr.Item, {
11399
+ }), /* @__PURE__ */ s(Tr.Item, {
11400
11400
  color: "red",
11401
11401
  onClick: f,
11402
11402
  icon: /* @__PURE__ */ s($t, {
@@ -11431,7 +11431,7 @@ const k$ = J(function() {
11431
11431
  children: n
11432
11432
  })
11433
11433
  }) : null;
11434
- }), xr = (e, t) => {
11434
+ }), wr = (e, t) => {
11435
11435
  const [n, r] = ze([]);
11436
11436
  return ue(() => e.watchTriggerSnapshotList(
11437
11437
  (o) => r(o.filter((i) => i.schemaRef === t))
@@ -11444,11 +11444,11 @@ class Jo {
11444
11444
  async deleteItem(t) {
11445
11445
  t === null && await this.root.deleteItem(this.path);
11446
11446
  const n = await this.root.getItem(this.path) || {};
11447
- await this.root.setItem(this.path, Ao(n, t));
11447
+ await this.root.setItem(this.path, Do(n, t));
11448
11448
  }
11449
11449
  async getItem(t) {
11450
11450
  const n = await this.root.getItem(this.path);
11451
- return t === null ? n : xt(n, t);
11451
+ return t === null ? n : vt(n, t);
11452
11452
  }
11453
11453
  async setItem(t, n) {
11454
11454
  if (t === null)
@@ -11469,7 +11469,7 @@ class Jo {
11469
11469
  ) : this.root.watchItem(
11470
11470
  this.path,
11471
11471
  (o, i) => {
11472
- const a = xt(o, t), l = xt(i, t);
11472
+ const a = vt(o, t), l = vt(i, t);
11473
11473
  a !== l && n(a, l);
11474
11474
  },
11475
11475
  r
@@ -11515,7 +11515,7 @@ class Gy {
11515
11515
  return Promise.resolve(n);
11516
11516
  }
11517
11517
  getValueFromRoot(t) {
11518
- return t === null ? La(this.rootRef.current) : xt(this.rootRef.current, [t]);
11518
+ return t === null ? La(this.rootRef.current) : vt(this.rootRef.current, [t]);
11519
11519
  }
11520
11520
  setItem(t, n) {
11521
11521
  if (t === null)
@@ -11539,7 +11539,7 @@ class Gy {
11539
11539
  },
11540
11540
  {
11541
11541
  requiresObservable: !0,
11542
- fireImmediately: xt(r, "fireImmediately", !1)
11542
+ fireImmediately: vt(r, "fireImmediately", !1)
11543
11543
  }
11544
11544
  );
11545
11545
  }
@@ -11614,7 +11614,7 @@ const O$ = (e) => {
11614
11614
  return /* @__PURE__ */ s(c, {
11615
11615
  context: l,
11616
11616
  instance: a,
11617
- ...Ao(e, ["panel", "vizManager", "data"])
11617
+ ...Do(e, ["panel", "vizManager", "data"])
11618
11618
  });
11619
11619
  }, R$ = (e) => {
11620
11620
  const {
@@ -11630,7 +11630,7 @@ const O$ = (e) => {
11630
11630
  return /* @__PURE__ */ s(u, {
11631
11631
  context: c,
11632
11632
  instance: l,
11633
- ...Ao(e, ["panel", "vizManager", "data", "panelInfoEditor"])
11633
+ ...Do(e, ["panel", "vizManager", "data", "panelInfoEditor"])
11634
11634
  });
11635
11635
  }, Uy = (e, t) => {
11636
11636
  const n = ca.bezier(e), r = ca.bezier(t);
@@ -11678,7 +11678,7 @@ const O$ = (e) => {
11678
11678
  getColor: Dl(["#fff7f1", "darkorange", "#b60000"]),
11679
11679
  name: "orange",
11680
11680
  category: "sequential"
11681
- }, Yy = "@devtable/dashboard", Od = "8.41.0", Xy = "Apache-2.0", Qy = {
11681
+ }, Yy = "@devtable/dashboard", Od = "8.41.2", Xy = "Apache-2.0", Qy = {
11682
11682
  access: "public",
11683
11683
  registry: "https://registry.npmjs.org/"
11684
11684
  }, Zy = [
@@ -11946,12 +11946,12 @@ class un extends H$ {
11946
11946
  return super.version(t, (r, o) => ({ version: t, ...n(r, o) }));
11947
11947
  }
11948
11948
  async migrate({ configData: t, panelModel: n }) {
11949
- const r = await t.getItem(null), o = xt(r, "version", 0), i = this.run({ from: o, to: this.VERSION }, r, { panelModel: n });
11949
+ const r = await t.getItem(null), o = vt(r, "version", 0), i = this.run({ from: o, to: this.VERSION }, r, { panelModel: n });
11950
11950
  await t.setItem(null, i);
11951
11951
  }
11952
11952
  async needMigration({ configData: t }) {
11953
11953
  const n = await t.getItem(null);
11954
- return xt(n, "version", 0) < this.VERSION;
11954
+ return vt(n, "version", 0) < this.VERSION;
11955
11955
  }
11956
11956
  }
11957
11957
  const Ye = (e, t) => {
@@ -12007,10 +12007,10 @@ function B$({
12007
12007
  zAxis3D: d
12008
12008
  } = en({}, t, Rd), h = Y(() => {
12009
12009
  const g = jw(n, (m) => m[l]);
12010
- return xt(g, l);
12010
+ return vt(g, l);
12011
12011
  }, [n, l]), f = Y(() => {
12012
12012
  const g = Kw(n, (m) => m[l]);
12013
- return xt(g, l);
12013
+ return vt(g, l);
12014
12014
  }, [n, l]), p = {
12015
12015
  tooltip: {},
12016
12016
  backgroundColor: "#fff",
@@ -12399,7 +12399,7 @@ function q$({
12399
12399
  })]
12400
12400
  });
12401
12401
  }
12402
- const wr = ee.forwardRef(q$), yr = {
12402
+ const _r = ee.forwardRef(q$), br = {
12403
12403
  enabled: !1,
12404
12404
  func_content: ["function label(value, index) {", " // your code goes here", " // return value", "}"].join(`
12405
12405
  `)
@@ -12451,7 +12451,7 @@ const X$ = [{
12451
12451
  }, {
12452
12452
  label: "Break Word",
12453
12453
  value: "breakAll"
12454
- }], Ys = Ht(({
12454
+ }], Ys = Bt(({
12455
12455
  sectionTitle: e,
12456
12456
  value: t,
12457
12457
  onChange: n
@@ -12491,7 +12491,7 @@ const X$ = [{
12491
12491
  })]
12492
12492
  })]
12493
12493
  });
12494
- }), Fo = Ht(({
12494
+ }), Fo = Bt(({
12495
12495
  value: e,
12496
12496
  onChange: t
12497
12497
  }, n) => {
@@ -12531,7 +12531,7 @@ const X$ = [{
12531
12531
  ellipsis: "..."
12532
12532
  }
12533
12533
  };
12534
- function ho({ overflow: e, width: t }) {
12534
+ function fo({ overflow: e, width: t }) {
12535
12535
  const n = {
12536
12536
  truncate: "initial",
12537
12537
  break: "break-all",
@@ -12549,7 +12549,7 @@ function ho({ overflow: e, width: t }) {
12549
12549
  text-overflow: ${o};
12550
12550
  `;
12551
12551
  }
12552
- function bo(e) {
12552
+ function yo(e) {
12553
12553
  return {
12554
12554
  width: e.width,
12555
12555
  overflow: e.overflow,
@@ -12562,7 +12562,7 @@ const Dd = {
12562
12562
  data_key: "",
12563
12563
  axisLabel: {
12564
12564
  rotate: 0,
12565
- formatter: { ...yr },
12565
+ formatter: { ...br },
12566
12566
  overflow: Br
12567
12567
  }
12568
12568
  },
@@ -12573,7 +12573,7 @@ const Dd = {
12573
12573
  },
12574
12574
  color: "#228be6",
12575
12575
  reference_lines: []
12576
- }, ya = Ht(function({
12576
+ }, ya = Bt(function({
12577
12577
  value: t,
12578
12578
  onChange: n,
12579
12579
  ...r
@@ -12721,7 +12721,7 @@ function tP({
12721
12721
  }, n) {
12722
12722
  const {
12723
12723
  colorManager: r
12724
- } = wn(_r), o = ee.useMemo(() => r.getStaticColors().map((l) => ({
12724
+ } = wn(Sr), o = ee.useMemo(() => r.getStaticColors().map((l) => ({
12725
12725
  label: l.name,
12726
12726
  group: l.category,
12727
12727
  value: l.value
@@ -12985,7 +12985,7 @@ ee.forwardRef(function({
12985
12985
  my: "xs",
12986
12986
  label: "Format",
12987
12987
  labelPosition: "center"
12988
- }), /* @__PURE__ */ s(wr, {
12988
+ }), /* @__PURE__ */ s(_r, {
12989
12989
  value: t.formatter,
12990
12990
  onChange: (l) => a("formatter", l)
12991
12991
  }), o && /* @__PURE__ */ s(cb, {
@@ -13068,7 +13068,7 @@ const $d = (e, t) => (n) => Boolean(qa(n) && lP.test(n) && n.startsWith(e) || t
13068
13068
  [n]: parseFloat(a),
13069
13069
  alpha: l !== void 0 ? parseFloat(l) : 1
13070
13070
  };
13071
- }, ko = {
13071
+ }, Eo = {
13072
13072
  test: $d("hsl", "hue"),
13073
13073
  parse: pb("hue", "saturation", "lightness"),
13074
13074
  transform: ({ hue: e, saturation: t, lightness: n, alpha: r = 1 }) => "hsla(" + Math.round(e) + ", " + aa.transform(ia(t)) + ", " + aa.transform(ia(n)) + ", " + ia(hb.transform(r)) + ")"
@@ -13091,9 +13091,9 @@ const yu = {
13091
13091
  parse: dP,
13092
13092
  transform: oo.transform
13093
13093
  }, Pl = {
13094
- test: (e) => oo.test(e) || yu.test(e) || ko.test(e),
13095
- parse: (e) => oo.test(e) ? oo.parse(e) : ko.test(e) ? ko.parse(e) : yu.parse(e),
13096
- transform: (e) => qa(e) ? e : e.hasOwnProperty("red") ? oo.transform(e) : ko.transform(e)
13094
+ test: (e) => oo.test(e) || yu.test(e) || Eo.test(e),
13095
+ parse: (e) => oo.test(e) ? oo.parse(e) : Eo.test(e) ? Eo.parse(e) : yu.parse(e),
13096
+ transform: (e) => qa(e) ? e : e.hasOwnProperty("red") ? oo.transform(e) : Eo.transform(e)
13097
13097
  }, gb = "${c}", mb = "${n}";
13098
13098
  function fP(e) {
13099
13099
  var t, n, r, o;
@@ -13148,11 +13148,11 @@ function Kp({ hue: e, saturation: t, lightness: n, alpha: r }) {
13148
13148
  const gP = (e, t, n) => {
13149
13149
  const r = e * e, o = t * t;
13150
13150
  return Math.sqrt(Math.max(0, n * (o - r) + r));
13151
- }, mP = [yu, oo, ko], Wp = (e) => mP.find((t) => t.test(e)), Gp = (e) => `'${e}' is not an animatable color. Use the equivalent color code instead.`, wb = (e, t) => {
13151
+ }, mP = [yu, oo, Eo], Wp = (e) => mP.find((t) => t.test(e)), Gp = (e) => `'${e}' is not an animatable color. Use the equivalent color code instead.`, wb = (e, t) => {
13152
13152
  let n = Wp(e), r = Wp(t);
13153
13153
  ba(!!n, Gp(e)), ba(!!r, Gp(t));
13154
13154
  let o = n.parse(e), i = r.parse(t);
13155
- n === ko && (o = Kp(o), n = oo), r === ko && (i = Kp(i), r = oo);
13155
+ n === Eo && (o = Kp(o), n = oo), r === Eo && (i = Kp(i), r = oo);
13156
13156
  const a = Object.assign({}, o);
13157
13157
  return (l) => {
13158
13158
  for (const c in a)
@@ -13384,7 +13384,7 @@ function AP({ config: e }) {
13384
13384
  function $P(e, t) {
13385
13385
  return `
13386
13386
  <div style="text-align: left; margin-bottom: .5em; padding: 0 1em .5em; font-weight: bold; border-bottom: 1px dashed #ddd;">
13387
- <div style="${ho(e.x_axis.axisLabel.overflow.in_tooltip)}">${t[0]}</div>
13387
+ <div style="${fo(e.x_axis.axisLabel.overflow.in_tooltip)}">${t[0]}</div>
13388
13388
  </div>
13389
13389
  <table>
13390
13390
  <tbody>
@@ -13409,7 +13409,7 @@ const PP = (e) => (t) => {
13409
13409
  </tr>`);
13410
13410
  return `
13411
13411
  <div style="text-align: left; margin-bottom: .5em; padding: 0 1em .5em; font-weight: bold; border-bottom: 1px dashed #ddd;">
13412
- <div style="${ho(e.x_axis.axisLabel.overflow.in_tooltip)}">${r.name}</div>
13412
+ <div style="${fo(e.x_axis.axisLabel.overflow.in_tooltip)}">${r.name}</div>
13413
13413
  </div>
13414
13414
  <table style="width: auto">
13415
13415
  <tbody>
@@ -13468,7 +13468,7 @@ function LP(e, t, n) {
13468
13468
  }));
13469
13469
  }
13470
13470
  function zP({ config: e, data: t, variables: n }) {
13471
- const { x_axis: r, y_axis: o, color: i, reference_lines: a } = e, l = q.groupBy(t, r.data_key), c = IP(l, o.data_key), u = c.map((h) => h.outliers).flat(), d = bo(r.axisLabel.overflow.on_axis);
13471
+ const { x_axis: r, y_axis: o, color: i, reference_lines: a } = e, l = q.groupBy(t, r.data_key), c = IP(l, o.data_key), u = c.map((h) => h.outliers).flat(), d = yo(r.axisLabel.overflow.on_axis);
13472
13472
  return {
13473
13473
  dataset: [
13474
13474
  {
@@ -13557,10 +13557,10 @@ function VP({
13557
13557
  } = e, o = e.data, {
13558
13558
  width: i,
13559
13559
  height: a
13560
- } = e.viewport, l = en({}, n, Dd), c = Sr({
13560
+ } = e.viewport, l = en({}, n, Dd), c = Cr({
13561
13561
  vizManager: e.vizManager,
13562
13562
  instance: t
13563
- }), u = xr(c.triggerManager, sb.id), d = Y(() => q.keyBy(o, l.x_axis.data_key), [o, l.x_axis.data_key]), h = dt((g) => {
13563
+ }), u = wr(c.triggerManager, sb.id), d = Y(() => q.keyBy(o, l.x_axis.data_key), [o, l.x_axis.data_key]), h = dt((g) => {
13564
13564
  const m = q.get(d, g.name, {
13565
13565
  error: "rowData is not found"
13566
13566
  });
@@ -13731,7 +13731,7 @@ const BP = ({
13731
13731
  readOnly: e
13732
13732
  }
13733
13733
  })]
13734
- }), Ll = Ht(({
13734
+ }), Ll = Bt(({
13735
13735
  value: e,
13736
13736
  onChange: t
13737
13737
  }, n) => {
@@ -13761,7 +13761,7 @@ const BP = ({
13761
13761
  func_content: p
13762
13762
  }));
13763
13763
  }, f = () => {
13764
- h(yr.func_content);
13764
+ h(br.func_content);
13765
13765
  };
13766
13766
  return /* @__PURE__ */ v(ke, {
13767
13767
  children: [/* @__PURE__ */ s(ie, {
@@ -13947,7 +13947,7 @@ const BP = ({
13947
13947
  control: e,
13948
13948
  render: ({
13949
13949
  field: r
13950
- }) => /* @__PURE__ */ s(wr, {
13950
+ }) => /* @__PURE__ */ s(_r, {
13951
13951
  ...r
13952
13952
  })
13953
13953
  })]
@@ -13973,7 +13973,7 @@ function WP({
13973
13973
  ue(() => {
13974
13974
  d(i);
13975
13975
  }, [i]), c(["x_axis", "y_axis", "reference_lines", "color"]);
13976
- const h = u(), f = Y(() => !Kt(h, t), [h, t]);
13976
+ const h = u(), f = Y(() => !Ht(h, t), [h, t]);
13977
13977
  return /* @__PURE__ */ s(W, {
13978
13978
  spacing: "xs",
13979
13979
  children: /* @__PURE__ */ v("form", {
@@ -14069,7 +14069,7 @@ function WP({
14069
14069
  });
14070
14070
  }
14071
14071
  function GP(e) {
14072
- return Ao(e, "variables");
14072
+ return Do(e, "variables");
14073
14073
  }
14074
14074
  function qP(e) {
14075
14075
  const {
@@ -14088,7 +14088,7 @@ function UP(e) {
14088
14088
  const t = {
14089
14089
  rotate: 0,
14090
14090
  formatter: {
14091
- ...yr
14091
+ ...br
14092
14092
  }
14093
14093
  }, {
14094
14094
  axisLabel: n = t,
@@ -14250,10 +14250,10 @@ const Pd = {
14250
14250
  context: e,
14251
14251
  instance: t
14252
14252
  }) => {
14253
- const n = Sr({
14253
+ const n = Cr({
14254
14254
  vizManager: e.vizManager,
14255
14255
  instance: t
14256
- }), r = xr(n.triggerManager, Tb.id), o = He(), {
14256
+ }), r = wr(n.triggerManager, Tb.id), o = He(), {
14257
14257
  value: i
14258
14258
  } = Ye(e.instanceData, "config"), a = Y(() => Qt({}, i, Pd), [i]), {
14259
14259
  content: l,
@@ -14382,7 +14382,7 @@ function uN({
14382
14382
  e.data;
14383
14383
  const r = Y(() => Qt({}, t, Pd), [t]), o = r;
14384
14384
  ue(() => {
14385
- !Kt(r, o) && (console.log("config malformed, resetting to defaults", r, o), n(o));
14385
+ !Ht(r, o) && (console.log("config malformed, resetting to defaults", r, o), n(o));
14386
14386
  }, [r, o]);
14387
14387
  const {
14388
14388
  control: i,
@@ -14396,7 +14396,7 @@ function uN({
14396
14396
  ue(() => {
14397
14397
  u(o);
14398
14398
  }, [o]);
14399
- const d = c(), h = Y(() => !Kt(d, r), [d, r]);
14399
+ const d = c(), h = Y(() => !Ht(d, r), [d, r]);
14400
14400
  return l(["content", "variant", "color", "size", "compact", "horizontal_align", "vertical_align"]), /* @__PURE__ */ v("form", {
14401
14401
  onSubmit: a(n),
14402
14402
  children: [/* @__PURE__ */ v(F, {
@@ -14601,7 +14601,7 @@ const Id = {
14601
14601
  x_axis: {
14602
14602
  axisLabel: {
14603
14603
  rotate: 0,
14604
- formatter: { ...yr },
14604
+ formatter: { ...br },
14605
14605
  overflow: Br
14606
14606
  }
14607
14607
  },
@@ -14919,7 +14919,7 @@ function RN(e, t, n) {
14919
14919
  <td style="text-align: left; padding: 0 1em;">${p({ value: h })}</td>
14920
14920
  </tr>
14921
14921
  `;
14922
- }), l = ho(e.x_axis.axisLabel.overflow.in_tooltip), c = ON(i, e);
14922
+ }), l = fo(e.x_axis.axisLabel.overflow.in_tooltip), c = ON(i, e);
14923
14923
  return `
14924
14924
  <div style="text-align: left; margin-bottom: .5em; padding: 0 1em .5em; font-weight: bold; border-bottom: 1px dashed #ddd;">
14925
14925
  <div style="${l}">${c}</div>
@@ -14959,7 +14959,7 @@ function AN(e, t) {
14959
14959
  }
14960
14960
  function $N(e, t, n) {
14961
14961
  var l;
14962
- const r = t.every((c) => !Number.isNaN(Number(c))), { overflow: o, ...i } = e.x_axis.axisLabel, a = bo(o.on_axis);
14962
+ const r = t.every((c) => !Number.isNaN(Number(c))), { overflow: o, ...i } = e.x_axis.axisLabel, a = yo(o.on_axis);
14963
14963
  return [
14964
14964
  {
14965
14965
  data: t,
@@ -15063,7 +15063,7 @@ function LN({
15063
15063
  interactionManager: o,
15064
15064
  variables: i
15065
15065
  }) {
15066
- const a = Y(() => q.keyBy(t, e.x_axis_data_key), [t, e.x_axis_data_key]), l = xr(o.triggerManager, Nd.id), c = dt((h) => {
15066
+ const a = Y(() => q.keyBy(t, e.x_axis_data_key), [t, e.x_axis_data_key]), l = wr(o.triggerManager, Nd.id), c = dt((h) => {
15067
15067
  const f = q.get(a, h.name, {
15068
15068
  error: "rowData is not found"
15069
15069
  });
@@ -15092,7 +15092,7 @@ function zN({
15092
15092
  context: e,
15093
15093
  instance: t
15094
15094
  }) {
15095
- const n = Sr({
15095
+ const n = Cr({
15096
15096
  vizManager: e.vizManager,
15097
15097
  instance: t
15098
15098
  }), {
@@ -15148,7 +15148,7 @@ function zN({
15148
15148
  })]
15149
15149
  });
15150
15150
  }
15151
- const Vd = Ht(({
15151
+ const Vd = Bt(({
15152
15152
  value: e,
15153
15153
  onChange: t
15154
15154
  }, n) => {
@@ -16200,7 +16200,7 @@ const JN = ({
16200
16200
  }, {
16201
16201
  label: "Dynamic",
16202
16202
  value: "dynamic"
16203
- }], Mb = Ht(({
16203
+ }], Mb = Bt(({
16204
16204
  label: e = "Size",
16205
16205
  value: t,
16206
16206
  onChange: n,
@@ -16672,7 +16672,7 @@ function uI({
16672
16672
  })), c = () => {
16673
16673
  const h = {
16674
16674
  type: "bar",
16675
- name: lo(),
16675
+ name: Ao(),
16676
16676
  showSymbol: !1,
16677
16677
  symbolSize: Fd.static,
16678
16678
  y_axis_data_key: "value",
@@ -16963,7 +16963,7 @@ function gI({
16963
16963
  control: e,
16964
16964
  render: ({
16965
16965
  field: r
16966
- }) => /* @__PURE__ */ s(wr, {
16966
+ }) => /* @__PURE__ */ s(_r, {
16967
16967
  ...r
16968
16968
  })
16969
16969
  })]
@@ -17095,7 +17095,7 @@ function vI({
17095
17095
  ue(() => {
17096
17096
  d(i);
17097
17097
  }, [i]);
17098
- const h = u(), f = Y(() => !Kt(h, i), [h, i]);
17098
+ const h = u(), f = Y(() => !Ht(h, i), [h, i]);
17099
17099
  return c(["dataZoom"]), /* @__PURE__ */ s(W, {
17100
17100
  spacing: "xs",
17101
17101
  children: /* @__PURE__ */ v("form", {
@@ -17224,13 +17224,13 @@ function vI({
17224
17224
  });
17225
17225
  }
17226
17226
  function yI(e) {
17227
- const t = vn(Ao(e, "variables"));
17228
- return t.stats = Ao(t.stats, "variables"), t;
17227
+ const t = vn(Do(e, "variables"));
17228
+ return t.stats = Do(t.stats, "variables"), t;
17229
17229
  }
17230
17230
  function bI(e) {
17231
17231
  const {
17232
17232
  rotate: t,
17233
- formatter: n = yr
17233
+ formatter: n = br
17234
17234
  } = e.x_axis.axisLabel;
17235
17235
  return {
17236
17236
  ...e,
@@ -17457,7 +17457,7 @@ class DI extends un {
17457
17457
  } = n;
17458
17458
  return (o.variables || []).forEach((l) => {
17459
17459
  r.variables.find((c) => c.name === l.name) || r.addVariable(l);
17460
- }), (xt(o, "stats.variables") || []).forEach((l) => {
17460
+ }), (vt(o, "stats.variables") || []).forEach((l) => {
17461
17461
  r.variables.find((c) => c.name === l.name) || r.addVariable(l);
17462
17462
  }), {
17463
17463
  ...n,
@@ -17552,7 +17552,7 @@ function II(e, t) {
17552
17552
  const { level_name_data_key: r, level_value_data_key: o, axisLabel: i, min: a, max: l, funnelAlign: c, orient: u, ...d } = n, h = t.map((p) => ({
17553
17553
  name: p[r],
17554
17554
  value: p[o]
17555
- })), f = bo(i.overflow.on_axis);
17555
+ })), f = yo(i.overflow.on_axis);
17556
17556
  return {
17557
17557
  type: "funnel",
17558
17558
  ...NI(n),
@@ -17734,7 +17734,7 @@ const KI = [{
17734
17734
  }, {
17735
17735
  label: "InsideBottomRight",
17736
17736
  value: "insideBottomRight"
17737
- }], Bd = Ht(({
17737
+ }], Bd = Bt(({
17738
17738
  label: e,
17739
17739
  value: t,
17740
17740
  onChange: n,
@@ -18072,7 +18072,7 @@ const KI = [{
18072
18072
  children: /* @__PURE__ */ s(Xt, {
18073
18073
  label: "TODO",
18074
18074
  children: /* @__PURE__ */ s(bi, {
18075
- children: /* @__PURE__ */ s(yo, {
18075
+ children: /* @__PURE__ */ s(vo, {
18076
18076
  size: 18,
18077
18077
  color: "#228be6"
18078
18078
  })
@@ -18272,14 +18272,14 @@ function aL({ conf: e, labelFormatters: t, valueFormatters: n, dataDict: r, para
18272
18272
  value: t.x_axis(l, a),
18273
18273
  style: {
18274
18274
  label: "",
18275
- value: ho(e.x_axis.axisLabel.overflow.in_tooltip)
18275
+ value: fo(e.x_axis.axisLabel.overflow.in_tooltip)
18276
18276
  }
18277
18277
  }, h = {
18278
18278
  label: e.y_axis.name ? e.y_axis.name : "Y Axis",
18279
18279
  value: t.y_axis(c, a),
18280
18280
  style: {
18281
18281
  label: "",
18282
- value: ho(e.y_axis.axisLabel.overflow.in_tooltip)
18282
+ value: fo(e.y_axis.axisLabel.overflow.in_tooltip)
18283
18283
  }
18284
18284
  }, f = {
18285
18285
  label: e.heat_block.name,
@@ -18345,7 +18345,7 @@ function lL(e) {
18345
18345
  }
18346
18346
  function cL(e, t, n) {
18347
18347
  var a;
18348
- const { overflow: r, rotate: o } = e.x_axis.axisLabel, i = bo(r.on_axis);
18348
+ const { overflow: r, rotate: o } = e.x_axis.axisLabel, i = yo(r.on_axis);
18349
18349
  return {
18350
18350
  id: "main-x-axis",
18351
18351
  type: "category",
@@ -18374,7 +18374,7 @@ function cL(e, t, n) {
18374
18374
  };
18375
18375
  }
18376
18376
  function uL(e, t, n) {
18377
- const { nameAlignment: r, data_key: o, ...i } = e.y_axis, { overflow: a, rotate: l } = e.y_axis.axisLabel, c = bo(a.on_axis);
18377
+ const { nameAlignment: r, data_key: o, ...i } = e.y_axis, { overflow: a, rotate: l } = e.y_axis.axisLabel, c = yo(a.on_axis);
18378
18378
  return {
18379
18379
  ...i,
18380
18380
  type: "category",
@@ -18473,7 +18473,7 @@ const Ob = {
18473
18473
  axisLabel: {
18474
18474
  rotate: 0,
18475
18475
  overflow: Br,
18476
- formatter: { ...yr }
18476
+ formatter: { ...br }
18477
18477
  }
18478
18478
  },
18479
18479
  y_axis: {
@@ -18483,7 +18483,7 @@ const Ob = {
18483
18483
  axisLabel: {
18484
18484
  rotate: 0,
18485
18485
  overflow: Br,
18486
- formatter: { ...yr }
18486
+ formatter: { ...br }
18487
18487
  }
18488
18488
  },
18489
18489
  heat_block: {
@@ -18509,7 +18509,7 @@ function gL({
18509
18509
  const a = Y(() => {
18510
18510
  const h = e.x_axis.data_key, f = e.y_axis.data_key;
18511
18511
  return q.keyBy(t, (p) => `${p[h]}---${p[f]}`);
18512
- }, [t, e.x_axis.data_key]), l = xr(o.triggerManager, Ob.id), c = dt((h) => {
18512
+ }, [t, e.x_axis.data_key]), l = wr(o.triggerManager, Ob.id), c = dt((h) => {
18513
18513
  const [f, p] = h.value, g = q.get(a, `${f}---${p}`, {
18514
18514
  error: "rowData is not found"
18515
18515
  });
@@ -18538,7 +18538,7 @@ function mL({
18538
18538
  context: e,
18539
18539
  instance: t
18540
18540
  }) {
18541
- const n = Sr({
18541
+ const n = Cr({
18542
18542
  vizManager: e.vizManager,
18543
18543
  instance: t
18544
18544
  }), {
@@ -18628,7 +18628,7 @@ function vL({
18628
18628
  control: t,
18629
18629
  render: ({
18630
18630
  field: r
18631
- }) => /* @__PURE__ */ s(wr, {
18631
+ }) => /* @__PURE__ */ s(_r, {
18632
18632
  ...r
18633
18633
  })
18634
18634
  })]
@@ -18808,7 +18808,7 @@ const wL = ({
18808
18808
  enabled: !1,
18809
18809
  func_content: ["function label(value, index) {", " // your code goes here", " // return value", "}"].join(`
18810
18810
  `)
18811
- }, Rb = Ht(({
18811
+ }, Rb = Bt(({
18812
18812
  value: e,
18813
18813
  onChange: t
18814
18814
  }, n) => {
@@ -19118,7 +19118,7 @@ function kL({
19118
19118
  set: n
19119
19119
  } = Ye(e.instanceData, "config"), r = e.data, o = Y(() => Qt({}, t, jd), [t]), i = Y(() => q.cloneDeep(o), [o]);
19120
19120
  ue(() => {
19121
- !Kt(o, i) && (console.log("config malformed, resetting to defaults", o, i), n(i));
19121
+ !Ht(o, i) && (console.log("config malformed, resetting to defaults", o, i), n(i));
19122
19122
  }, [o, i]);
19123
19123
  const {
19124
19124
  control: a,
@@ -19132,7 +19132,7 @@ function kL({
19132
19132
  ue(() => {
19133
19133
  d(i);
19134
19134
  }, [i]);
19135
- const h = u(), f = Y(() => !Kt(h, o), [h, o]);
19135
+ const h = u(), f = Y(() => !Ht(h, o), [h, o]);
19136
19136
  return /* @__PURE__ */ s(W, {
19137
19137
  spacing: "xs",
19138
19138
  children: /* @__PURE__ */ v("form", {
@@ -19285,7 +19285,7 @@ const Ab = {
19285
19285
  data_key: "",
19286
19286
  axisLabel: {
19287
19287
  rotate: 0,
19288
- formatter: { ...yr },
19288
+ formatter: { ...br },
19289
19289
  overflow: Br
19290
19290
  }
19291
19291
  },
@@ -19437,7 +19437,7 @@ const IL = (e, t) => (n) => {
19437
19437
  <td style="text-align: left; padding: 0 1em;">${f(h)}</td>
19438
19438
  </tr>
19439
19439
  `;
19440
- }), i = ho(e.x_axis.axisLabel.overflow.in_tooltip), a = r[0].name;
19440
+ }), i = fo(e.x_axis.axisLabel.overflow.in_tooltip), a = r[0].name;
19441
19441
  return `
19442
19442
  <div style="text-align: left; margin-bottom: .5em; padding: 0 1em .5em; font-weight: bold; border-bottom: 1px dashed #ddd;">
19443
19443
  <div style="${i}">${a}</div>
@@ -19456,7 +19456,7 @@ function LL(e, t) {
19456
19456
  };
19457
19457
  }
19458
19458
  function zL(e) {
19459
- const { name: t, axisLabel: n } = e.x_axis, r = bo(n.overflow.on_axis);
19459
+ const { name: t, axisLabel: n } = e.x_axis, r = yo(n.overflow.on_axis);
19460
19460
  return [
19461
19461
  {
19462
19462
  type: "category",
@@ -19551,10 +19551,10 @@ function HL({
19551
19551
  } = Ye(e.instanceData, "config"), r = e.data, {
19552
19552
  width: o,
19553
19553
  height: i
19554
- } = e.viewport, a = en({}, n, Kd), l = FL(a, r), c = Sr({
19554
+ } = e.viewport, a = en({}, n, Kd), l = FL(a, r), c = Cr({
19555
19555
  vizManager: e.vizManager,
19556
19556
  instance: t
19557
- }), u = xr(c.triggerManager, Db.id), d = Y(() => q.keyBy(r, a.x_axis.data_key), [r, a.x_axis.data_key]), h = dt((p) => {
19557
+ }), u = wr(c.triggerManager, Db.id), d = Y(() => q.keyBy(r, a.x_axis.data_key), [r, a.x_axis.data_key]), h = dt((p) => {
19558
19558
  const g = q.get(d, p.name, {
19559
19559
  error: "rowData is not found"
19560
19560
  });
@@ -19649,7 +19649,7 @@ function jL({
19649
19649
  control: t,
19650
19650
  render: ({
19651
19651
  field: r
19652
- }) => /* @__PURE__ */ s(wr, {
19652
+ }) => /* @__PURE__ */ s(_r, {
19653
19653
  ...r
19654
19654
  })
19655
19655
  })]
@@ -19932,7 +19932,7 @@ function QL({
19932
19932
  ue(() => {
19933
19933
  u(o);
19934
19934
  }, [o]), l(["x_axis", "data_key", "bar", "line", "dataZoom"]);
19935
- const d = c(), h = Y(() => !Kt(d, t), [d, t]);
19935
+ const d = c(), h = Y(() => !Ht(d, t), [d, t]);
19936
19936
  return /* @__PURE__ */ v("form", {
19937
19937
  onSubmit: a(n),
19938
19938
  children: [/* @__PURE__ */ v(F, {
@@ -20062,7 +20062,7 @@ function ez(e) {
20062
20062
  const t = q.defaultsDeep({}, e.x_axis.axisLabel, {
20063
20063
  rotate: 0,
20064
20064
  formatter: {
20065
- ...yr
20065
+ ...br
20066
20066
  }
20067
20067
  });
20068
20068
  return {
@@ -20559,7 +20559,7 @@ function yz({
20559
20559
  interactionManager: o,
20560
20560
  variables: i
20561
20561
  }) {
20562
- const a = Y(() => q.keyBy(t, e.series_name_key), [t, e.series_name_key]), l = xr(o.triggerManager, $b.id), c = dt((h) => {
20562
+ const a = Y(() => q.keyBy(t, e.series_name_key), [t, e.series_name_key]), l = wr(o.triggerManager, $b.id), c = dt((h) => {
20563
20563
  const f = q.get(a, h.name, {
20564
20564
  error: "rowData is not found"
20565
20565
  });
@@ -20588,7 +20588,7 @@ function bz({
20588
20588
  context: e,
20589
20589
  instance: t
20590
20590
  }) {
20591
- const n = Sr({
20591
+ const n = Cr({
20592
20592
  vizManager: e.vizManager,
20593
20593
  instance: t
20594
20594
  }), {
@@ -20680,7 +20680,7 @@ function xz({
20680
20680
  control: e,
20681
20681
  render: ({
20682
20682
  field: o
20683
- }) => /* @__PURE__ */ s(wr, {
20683
+ }) => /* @__PURE__ */ s(_r, {
20684
20684
  ...o
20685
20685
  })
20686
20686
  })]
@@ -20758,7 +20758,7 @@ function wz({
20758
20758
  }, g)), /* @__PURE__ */ s(I.Tab, {
20759
20759
  onClick: c,
20760
20760
  value: "add",
20761
- children: /* @__PURE__ */ s(yo, {
20761
+ children: /* @__PURE__ */ s(vo, {
20762
20762
  size: 18,
20763
20763
  color: "#228be6"
20764
20764
  })
@@ -20793,7 +20793,7 @@ function _z({
20793
20793
  ue(() => {
20794
20794
  u(o);
20795
20795
  }, [o]), l(["series_name_key", "background", "label"]);
20796
- const d = c(), h = Y(() => !Kt(d, o), [d, o]);
20796
+ const d = c(), h = Y(() => !Ht(d, o), [d, o]);
20797
20797
  return /* @__PURE__ */ s("form", {
20798
20798
  onSubmit: a(n),
20799
20799
  children: /* @__PURE__ */ v(W, {
@@ -21444,7 +21444,7 @@ function Iz({
21444
21444
  ue(() => {
21445
21445
  u(o);
21446
21446
  }, [o]), l(["x_axis", "y_axis", "regression"]);
21447
- const d = c(), h = Y(() => !Kt(d, t), [d, t]);
21447
+ const d = c(), h = Y(() => !Ht(d, t), [d, t]);
21448
21448
  return /* @__PURE__ */ s(W, {
21449
21449
  spacing: "xs",
21450
21450
  children: /* @__PURE__ */ v("form", {
@@ -21469,14 +21469,14 @@ function Iz({
21469
21469
  size: 20
21470
21470
  })
21471
21471
  })]
21472
- }), /* @__PURE__ */ v(xo, {
21472
+ }), /* @__PURE__ */ v(bo, {
21473
21473
  multiple: !0,
21474
21474
  defaultValue: ["Axis", "Regression"],
21475
- children: [/* @__PURE__ */ v(xo.Item, {
21475
+ children: [/* @__PURE__ */ v(bo.Item, {
21476
21476
  value: "Axis",
21477
- children: [/* @__PURE__ */ s(xo.Control, {
21477
+ children: [/* @__PURE__ */ s(bo.Control, {
21478
21478
  children: "Axis"
21479
- }), /* @__PURE__ */ v(xo.Panel, {
21479
+ }), /* @__PURE__ */ v(bo.Panel, {
21480
21480
  children: [/* @__PURE__ */ v(F, {
21481
21481
  grow: !0,
21482
21482
  noWrap: !0,
@@ -21525,11 +21525,11 @@ function Iz({
21525
21525
  })
21526
21526
  })]
21527
21527
  })]
21528
- }), /* @__PURE__ */ v(xo.Item, {
21528
+ }), /* @__PURE__ */ v(bo.Item, {
21529
21529
  value: "Regression",
21530
- children: [/* @__PURE__ */ s(xo.Control, {
21530
+ children: [/* @__PURE__ */ s(bo.Control, {
21531
21531
  children: "Regression Line"
21532
- }), /* @__PURE__ */ s(xo.Panel, {
21532
+ }), /* @__PURE__ */ s(bo.Panel, {
21533
21533
  children: /* @__PURE__ */ s(Nz, {
21534
21534
  control: i,
21535
21535
  watch: l,
@@ -21588,7 +21588,7 @@ function Vz({
21588
21588
  }
21589
21589
  }) : null;
21590
21590
  }
21591
- const qd = Ht(({
21591
+ const qd = Bt(({
21592
21592
  value: e,
21593
21593
  onChange: t,
21594
21594
  styles: n = {},
@@ -21982,7 +21982,7 @@ function Xz({ x_axis: e, scatter: t }, n, r, o) {
21982
21982
  label: {
21983
21983
  show: !!t.label_position,
21984
21984
  position: t.label_position,
21985
- ...bo(t.label_overflow.label),
21985
+ ...yo(t.label_overflow.label),
21986
21986
  formatter: ({ value: i }) => i[t.name_data_key]
21987
21987
  },
21988
21988
  type: "scatter",
@@ -22042,7 +22042,7 @@ function eV(e, t) {
22042
22042
  const o = (f = t[0]) != null ? f : t.default, i = Array.isArray(r) ? r : [r];
22043
22043
  if (i.length === 0)
22044
22044
  return "";
22045
- const a = Zz(i, e), l = ho(e.scatter.label_overflow.tooltip), c = i.map(
22045
+ const a = Zz(i, e), l = fo(e.scatter.label_overflow.tooltip), c = i.map(
22046
22046
  ({ value: p }) => `
22047
22047
  <th style="text-align: right; padding-right: 1em">
22048
22048
  <div style="${l}">${p[n.name_data_key]}</div>
@@ -22207,7 +22207,7 @@ function aV({
22207
22207
  interactionManager: o,
22208
22208
  variables: i
22209
22209
  }) {
22210
- const a = Y(() => q.keyBy(t, e.x_axis.data_key), [t, e.x_axis.data_key]), l = xr(o.triggerManager, Nb.id), c = dt((h) => {
22210
+ const a = Y(() => q.keyBy(t, e.x_axis.data_key), [t, e.x_axis.data_key]), l = wr(o.triggerManager, Nb.id), c = dt((h) => {
22211
22211
  const f = h.value[0], p = q.get(a, f, {
22212
22212
  error: "rowData is not found"
22213
22213
  });
@@ -22236,7 +22236,7 @@ function sV({
22236
22236
  context: e,
22237
22237
  instance: t
22238
22238
  }) {
22239
- const n = Sr({
22239
+ const n = Cr({
22240
22240
  vizManager: e.vizManager,
22241
22241
  instance: t
22242
22242
  }), {
@@ -22292,7 +22292,7 @@ function sV({
22292
22292
  })]
22293
22293
  });
22294
22294
  }
22295
- const lV = Ht(({
22295
+ const lV = Bt(({
22296
22296
  value: e,
22297
22297
  onChange: t,
22298
22298
  xAxisOptions: n,
@@ -22931,7 +22931,7 @@ const gV = ({
22931
22931
  }, {
22932
22932
  label: "Dynamic",
22933
22933
  value: "dynamic"
22934
- }], xV = Ht(({
22934
+ }], xV = Bt(({
22935
22935
  label: e = "Color",
22936
22936
  value: t,
22937
22937
  onChange: n,
@@ -22962,7 +22962,7 @@ const gV = ({
22962
22962
  data: r
22963
22963
  })]
22964
22964
  });
22965
- }), wV = Ht(({
22965
+ }), wV = Bt(({
22966
22966
  value: e,
22967
22967
  onChange: t
22968
22968
  }, n) => {
@@ -23143,7 +23143,7 @@ const gV = ({
23143
23143
  }, {
23144
23144
  label: "Dynamic",
23145
23145
  value: "dynamic"
23146
- }], TV = Ht(({
23146
+ }], TV = Bt(({
23147
23147
  label: e = "Size",
23148
23148
  value: t,
23149
23149
  onChange: n,
@@ -23514,7 +23514,7 @@ const PV = ({
23514
23514
  readOnly: e
23515
23515
  }
23516
23516
  })]
23517
- }), NV = Ht(({
23517
+ }), NV = Bt(({
23518
23518
  value: e,
23519
23519
  onChange: t
23520
23520
  }, n) => {
@@ -23780,7 +23780,7 @@ function VV({
23780
23780
  control: e,
23781
23781
  render: ({
23782
23782
  field: r
23783
- }) => /* @__PURE__ */ s(wr, {
23783
+ }) => /* @__PURE__ */ s(_r, {
23784
23784
  ...r
23785
23785
  })
23786
23786
  })]
@@ -23905,7 +23905,7 @@ function jV({
23905
23905
  variables: r
23906
23906
  } = e, o = e.data, i = Y(() => Qt({}, t, Ud), [t]), a = Y(() => BV(i), [i]);
23907
23907
  ue(() => {
23908
- !Kt(i, a) && (console.log("config malformed, resetting to defaults", i, a), n(a));
23908
+ !Ht(i, a) && (console.log("config malformed, resetting to defaults", i, a), n(a));
23909
23909
  }, [i, a]);
23910
23910
  const {
23911
23911
  control: l,
@@ -23919,7 +23919,7 @@ function jV({
23919
23919
  ue(() => {
23920
23920
  h(a);
23921
23921
  }, [a]);
23922
- const f = d(), p = Y(() => !Kt(f, i), [f, i]);
23922
+ const f = d(), p = Y(() => !Ht(f, i), [f, i]);
23923
23923
  return u(["dataZoom"]), /* @__PURE__ */ s(W, {
23924
23924
  spacing: "xs",
23925
23925
  children: /* @__PURE__ */ v("form", {
@@ -24214,10 +24214,10 @@ function XV(e) {
24214
24214
  };
24215
24215
  }
24216
24216
  function QV(e) {
24217
- return Ao(e, ["variables"]);
24217
+ return Do(e, ["variables"]);
24218
24218
  }
24219
24219
  function ZV(e) {
24220
- const t = vn(e), n = xt(t, "color.valueRange");
24220
+ const t = vn(e), n = vt(t, "color.valueRange");
24221
24221
  return n !== void 0 && qu(
24222
24222
  t,
24223
24223
  "color.valueRange",
@@ -24927,7 +24927,7 @@ const CF = {
24927
24927
  };
24928
24928
  }
24929
24929
  };
24930
- var pr = /* @__PURE__ */ ((e) => (e.string = "string", e.number = "number", e.eloc = "eloc", e.percentage = "percentage", e.custom = "custom", e))(pr || {});
24930
+ var gr = /* @__PURE__ */ ((e) => (e.string = "string", e.number = "number", e.eloc = "eloc", e.percentage = "percentage", e.custom = "custom", e))(gr || {});
24931
24931
  const Fb = [
24932
24932
  "function text({ value }) {",
24933
24933
  " // your code goes here",
@@ -25598,7 +25598,7 @@ Zd.resolveFilterValue = (e) => {
25598
25598
  return [i, a];
25599
25599
  };
25600
25600
  Zd.autoRemove = (e) => ir(e) || ir(e[0]) && ir(e[1]);
25601
- const Or = {
25601
+ const Rr = {
25602
25602
  includesString: Hb,
25603
25603
  includesStringSensitive: Bb,
25604
25604
  equalsString: jb,
@@ -25635,11 +25635,11 @@ const DF = {
25635
25635
  createColumn: (e, t) => ({
25636
25636
  getAutoFilterFn: () => {
25637
25637
  const n = t.getCoreRowModel().flatRows[0], r = n == null ? void 0 : n.getValue(e.id);
25638
- return typeof r == "string" ? Or.includesString : typeof r == "number" ? Or.inNumberRange : typeof r == "boolean" || r !== null && typeof r == "object" ? Or.equals : Array.isArray(r) ? Or.arrIncludes : Or.weakEquals;
25638
+ return typeof r == "string" ? Rr.includesString : typeof r == "number" ? Rr.inNumberRange : typeof r == "boolean" || r !== null && typeof r == "object" ? Rr.equals : Array.isArray(r) ? Rr.arrIncludes : Rr.weakEquals;
25639
25639
  },
25640
25640
  getFilterFn: () => {
25641
25641
  var n, r;
25642
- return Zs(e.columnDef.filterFn) ? e.columnDef.filterFn : e.columnDef.filterFn === "auto" ? e.getAutoFilterFn() : (n = (r = t.options.filterFns) == null ? void 0 : r[e.columnDef.filterFn]) != null ? n : Or[e.columnDef.filterFn];
25642
+ return Zs(e.columnDef.filterFn) ? e.columnDef.filterFn : e.columnDef.filterFn === "auto" ? e.getAutoFilterFn() : (n = (r = t.options.filterFns) == null ? void 0 : r[e.columnDef.filterFn]) != null ? n : Rr[e.columnDef.filterFn];
25643
25643
  },
25644
25644
  getCanFilter: () => {
25645
25645
  var n, r, o;
@@ -25691,13 +25691,13 @@ const DF = {
25691
25691
  columnFiltersMeta: {}
25692
25692
  }),
25693
25693
  createTable: (e) => ({
25694
- getGlobalAutoFilterFn: () => Or.includesString,
25694
+ getGlobalAutoFilterFn: () => Rr.includesString,
25695
25695
  getGlobalFilterFn: () => {
25696
25696
  var t, n;
25697
25697
  const {
25698
25698
  globalFilterFn: r
25699
25699
  } = e.options;
25700
- return Zs(r) ? r : r === "auto" ? e.getGlobalAutoFilterFn() : (t = (n = e.options.filterFns) == null ? void 0 : n[r]) != null ? t : Or[r];
25700
+ return Zs(r) ? r : r === "auto" ? e.getGlobalAutoFilterFn() : (t = (n = e.options.filterFns) == null ? void 0 : n[r]) != null ? t : Rr[r];
25701
25701
  },
25702
25702
  setColumnFilters: (t) => {
25703
25703
  const n = e.getAllLeafColumns(), r = (o) => {
@@ -26314,14 +26314,14 @@ function Jp(e, t, n) {
26314
26314
  }
26315
26315
  return !1;
26316
26316
  }
26317
- const Su = /([0-9]+)/gm, qF = (e, t, n) => Yb(po(e.getValue(n)).toLowerCase(), po(t.getValue(n)).toLowerCase()), UF = (e, t, n) => Yb(po(e.getValue(n)), po(t.getValue(n))), YF = (e, t, n) => ef(po(e.getValue(n)).toLowerCase(), po(t.getValue(n)).toLowerCase()), XF = (e, t, n) => ef(po(e.getValue(n)), po(t.getValue(n))), QF = (e, t, n) => {
26317
+ const Su = /([0-9]+)/gm, qF = (e, t, n) => Yb(ho(e.getValue(n)).toLowerCase(), ho(t.getValue(n)).toLowerCase()), UF = (e, t, n) => Yb(ho(e.getValue(n)), ho(t.getValue(n))), YF = (e, t, n) => ef(ho(e.getValue(n)).toLowerCase(), ho(t.getValue(n)).toLowerCase()), XF = (e, t, n) => ef(ho(e.getValue(n)), ho(t.getValue(n))), QF = (e, t, n) => {
26318
26318
  const r = e.getValue(n), o = t.getValue(n);
26319
26319
  return r > o ? 1 : r < o ? -1 : 0;
26320
26320
  }, ZF = (e, t, n) => ef(e.getValue(n), t.getValue(n));
26321
26321
  function ef(e, t) {
26322
26322
  return e === t ? 0 : e > t ? 1 : -1;
26323
26323
  }
26324
- function po(e) {
26324
+ function ho(e) {
26325
26325
  return typeof e == "number" ? isNaN(e) || e === 1 / 0 || e === -1 / 0 ? "" : String(e) : typeof e == "string" ? e : "";
26326
26326
  }
26327
26327
  function Yb(e, t) {
@@ -27068,7 +27068,7 @@ class y4 {
27068
27068
  }
27069
27069
  getRelatedTrigger() {
27070
27070
  return this.triggers.filter((n) => n.schemaRef === tf.id).filter((n) => {
27071
- const r = this.getColIndex(this.cell), o = xt(this.cell.column.columnDef.meta, "value_field"), i = xt(n.config, "column");
27071
+ const r = this.getColIndex(this.cell), o = vt(this.cell.column.columnDef.meta, "value_field"), i = vt(n.config, "column");
27072
27072
  return i == r || i == o;
27073
27073
  });
27074
27074
  }
@@ -27172,32 +27172,32 @@ function k4(e) {
27172
27172
  }
27173
27173
  function T4(e) {
27174
27174
  switch (e.type) {
27175
- case pr.string:
27175
+ case gr.string:
27176
27176
  return /* @__PURE__ */ s(_4, {
27177
27177
  ...e
27178
27178
  });
27179
- case pr.eloc:
27179
+ case gr.eloc:
27180
27180
  return /* @__PURE__ */ s(S4, {
27181
27181
  ...e
27182
27182
  });
27183
- case pr.number:
27183
+ case gr.number:
27184
27184
  return /* @__PURE__ */ s(C4, {
27185
27185
  ...e
27186
27186
  });
27187
- case pr.percentage:
27187
+ case gr.percentage:
27188
27188
  return /* @__PURE__ */ s(E4, {
27189
27189
  ...e
27190
27190
  });
27191
- case pr.custom:
27191
+ case gr.custom:
27192
27192
  return /* @__PURE__ */ s(k4, {
27193
27193
  ...e
27194
27194
  });
27195
27195
  }
27196
27196
  }
27197
27197
  const M4 = (e) => {
27198
- const t = Sr(e), n = xr(t.triggerManager, tf.id), {
27198
+ const t = Cr(e), n = wr(t.triggerManager, tf.id), {
27199
27199
  colorManager: r
27200
- } = wn(_r);
27200
+ } = wn(Sr);
27201
27201
  return dt((o) => new y4(e.getColIndex, o, n, t, r), [n, t, e.getColIndex]);
27202
27202
  };
27203
27203
  function O4({
@@ -27221,7 +27221,7 @@ function O4({
27221
27221
  id: N,
27222
27222
  label: N,
27223
27223
  value_field: N,
27224
- value_type: pr.string,
27224
+ value_type: gr.string,
27225
27225
  align: "left"
27226
27226
  })) : l, [a, l, n]), f = M4({
27227
27227
  getColIndex: dt((N) => h.indexOf(N.column.columnDef.meta), [h]),
@@ -27586,10 +27586,10 @@ function V4(e, t) {
27586
27586
  interpolation: e.encodeColor(e.getColorInterpolations()[0])
27587
27587
  };
27588
27588
  }
27589
- const F4 = Ht((e, t) => {
27589
+ const F4 = Bt((e, t) => {
27590
27590
  const {
27591
27591
  colorManager: n
27592
- } = wn(_r), [r, o] = ze(n0(e.value)), [i, a] = ze(z4(n, e.value)), l = qf(i), [c, u] = ze(V4(n, e.value)), d = qf(c);
27592
+ } = wn(Sr), [r, o] = ze(n0(e.value)), [i, a] = ze(z4(n, e.value)), l = qf(i), [c, u] = ze(V4(n, e.value)), d = qf(c);
27593
27593
  return /* @__PURE__ */ v(W, {
27594
27594
  align: "stretch",
27595
27595
  children: [/* @__PURE__ */ s(ve, {
@@ -27615,10 +27615,10 @@ const F4 = Ht((e, t) => {
27615
27615
  }
27616
27616
  })]
27617
27617
  });
27618
- }), H4 = Object.values(pr).map((e) => ({
27618
+ }), H4 = Object.values(gr).map((e) => ({
27619
27619
  label: e,
27620
27620
  value: e
27621
- })), B4 = Ht(({
27621
+ })), B4 = Bt(({
27622
27622
  label: e,
27623
27623
  value: t,
27624
27624
  onChange: n,
@@ -27630,7 +27630,7 @@ const F4 = Ht((e, t) => {
27630
27630
  value: t,
27631
27631
  onChange: n,
27632
27632
  sx: r
27633
- })), j4 = Ht(({
27633
+ })), j4 = Bt(({
27634
27634
  value: e,
27635
27635
  onChange: t
27636
27636
  }, n) => {
@@ -27773,7 +27773,7 @@ const F4 = Ht((e, t) => {
27773
27773
  },
27774
27774
  ...l
27775
27775
  })
27776
- }), a === pr.custom && /* @__PURE__ */ s(D, {
27776
+ }), a === gr.custom && /* @__PURE__ */ s(D, {
27777
27777
  name: `columns.${t}.func_content`,
27778
27778
  control: e,
27779
27779
  render: ({
@@ -27865,12 +27865,12 @@ const F4 = Ht((e, t) => {
27865
27865
  control: e,
27866
27866
  name: "columns"
27867
27867
  }), l = () => {
27868
- const u = lo();
27868
+ const u = Ao();
27869
27869
  o({
27870
27870
  id: u,
27871
27871
  label: u,
27872
27872
  value_field: "value",
27873
- value_type: pr.string
27873
+ value_type: gr.string
27874
27874
  });
27875
27875
  };
27876
27876
  t("columns");
@@ -28040,7 +28040,7 @@ function U4({
28040
28040
  id: n,
28041
28041
  ...r
28042
28042
  }) => ({
28043
- id: n != null ? n : lo(),
28043
+ id: n != null ? n : Ao(),
28044
28044
  ...r
28045
28045
  }))
28046
28046
  };
@@ -28053,7 +28053,7 @@ function Y4({
28053
28053
  set: n
28054
28054
  } = Ye(e.instanceData, "config"), r = e.data, o = Y(() => Qt({}, t, Qd), [t]), i = Y(() => U4(o), [o]);
28055
28055
  ue(() => {
28056
- !Kt(o, i) && (console.log("config malformed, resetting to defaults", o, i), n(i));
28056
+ !Ht(o, i) && (console.log("config malformed, resetting to defaults", o, i), n(i));
28057
28057
  }, [o, i]);
28058
28058
  const {
28059
28059
  control: a,
@@ -28067,7 +28067,7 @@ function Y4({
28067
28067
  ue(() => {
28068
28068
  d(i);
28069
28069
  }, [i]);
28070
- const h = u(), f = Y(() => !Kt(h, o), [h, o]);
28070
+ const h = u(), f = Y(() => !Ht(h, o), [h, o]);
28071
28071
  return c(["id_field"]), /* @__PURE__ */ v("form", {
28072
28072
  onSubmit: l(n),
28073
28073
  children: [/* @__PURE__ */ v(F, {
@@ -28177,7 +28177,7 @@ class Q4 extends un {
28177
28177
  config: {
28178
28178
  ...o,
28179
28179
  columns: r.map(({ id: i, ...a }) => ({
28180
- id: i != null ? i : lo(),
28180
+ id: i != null ? i : Ao(),
28181
28181
  ...a
28182
28182
  }))
28183
28183
  }
@@ -28261,7 +28261,7 @@ const Cu = {
28261
28261
  }
28262
28262
  }
28263
28263
  })
28264
- }), e3 = Ht(({
28264
+ }), e3 = Bt(({
28265
28265
  value: e,
28266
28266
  onChange: t
28267
28267
  }, n) => {
@@ -28353,7 +28353,7 @@ function n3({
28353
28353
  };
28354
28354
  }, [r]);
28355
28355
  ue(() => {
28356
- !Kt(r, o) && (console.log("config malformed, resetting to defaults", r, o), n(o));
28356
+ !Ht(r, o) && (console.log("config malformed, resetting to defaults", r, o), n(o));
28357
28357
  }, [r, o]);
28358
28358
  const {
28359
28359
  control: i,
@@ -28516,7 +28516,7 @@ async function a3(e, t, n, r = {}) {
28516
28516
  params: r.params,
28517
28517
  headers: o
28518
28518
  };
28519
- return i.data = r.string ? JSON.stringify(n) : n, Mo(i).then((a) => a.data).catch((a) => Promise.reject(a));
28519
+ return i.data = r.string ? JSON.stringify(n) : n, To(i).then((a) => a.data).catch((a) => Promise.reject(a));
28520
28520
  }
28521
28521
  const s3 = ({ conf: e, data: t }) => async () => {
28522
28522
  const { expertSystemURL: n, path: r, goal: o, question: i } = e;
@@ -28644,7 +28644,7 @@ function u3({
28644
28644
  ue(() => {
28645
28645
  c(r);
28646
28646
  }, [r]), a(["expertSystemURL", "goal", "path", "question"]);
28647
- const u = l(), d = Y(() => !Kt(u, r), [u, r]);
28647
+ const u = l(), d = Y(() => !Ht(u, r), [u, r]);
28648
28648
  return /* @__PURE__ */ s("form", {
28649
28649
  onSubmit: i(n),
28650
28650
  children: /* @__PURE__ */ v(W, {
@@ -28992,7 +28992,7 @@ function O3({
28992
28992
  const a = Y(() => {
28993
28993
  const h = e.calendar.data_key;
28994
28994
  return q.keyBy(t, h);
28995
- }, [t, e.calendar.data_key]), l = xr(o.triggerManager, o0.id), c = dt((h) => {
28995
+ }, [t, e.calendar.data_key]), l = wr(o.triggerManager, o0.id), c = dt((h) => {
28996
28996
  const [f, p] = h.value, g = q.get(a, f, {
28997
28997
  error: "rowData is not found"
28998
28998
  });
@@ -29025,7 +29025,7 @@ function R3({
29025
29025
  context: e,
29026
29026
  instance: t
29027
29027
  }) {
29028
- const n = Sr({
29028
+ const n = Cr({
29029
29029
  vizManager: e.vizManager,
29030
29030
  instance: t
29031
29031
  }), {
@@ -29115,7 +29115,7 @@ function D3({
29115
29115
  control: t,
29116
29116
  render: ({
29117
29117
  field: r
29118
- }) => /* @__PURE__ */ s(wr, {
29118
+ }) => /* @__PURE__ */ s(_r, {
29119
29119
  ...r
29120
29120
  })
29121
29121
  })]
@@ -29319,7 +29319,7 @@ function L3({
29319
29319
  set: n
29320
29320
  } = Ye(e.instanceData, "config"), r = e.data, o = Y(() => Qt({}, t, of), [t]), i = Y(() => q.cloneDeep(o), [o]);
29321
29321
  ue(() => {
29322
- !Kt(o, i) && (console.log("config malformed, resetting to defaults", o, i), n(i));
29322
+ !Ht(o, i) && (console.log("config malformed, resetting to defaults", o, i), n(i));
29323
29323
  }, [o, i]);
29324
29324
  const {
29325
29325
  control: a,
@@ -29333,7 +29333,7 @@ function L3({
29333
29333
  ue(() => {
29334
29334
  d(i);
29335
29335
  }, [i]);
29336
- const h = u(), f = Y(() => !Kt(h, o), [h, o]);
29336
+ const h = u(), f = Y(() => !Ht(h, o), [h, o]);
29337
29337
  return /* @__PURE__ */ s(W, {
29338
29338
  spacing: "xs",
29339
29339
  children: /* @__PURE__ */ v("form", {
@@ -29623,7 +29623,7 @@ function Q3(e, t, n) {
29623
29623
  <td style="text-align: left; padding: 0 1em;">${p({ value: h })}</td>
29624
29624
  </tr>
29625
29625
  `;
29626
- }), l = ho(e.y_axis.axisLabel.overflow.in_tooltip), c = X3(i, e);
29626
+ }), l = fo(e.y_axis.axisLabel.overflow.in_tooltip), c = X3(i, e);
29627
29627
  return `
29628
29628
  <div style="text-align: left; margin-bottom: .5em; padding: 0 1em .5em; font-weight: bold; border-bottom: 1px dashed #ddd;">
29629
29629
  <div style="${l}">${c}</div>
@@ -29695,7 +29695,7 @@ function e5(e, t) {
29695
29695
  }
29696
29696
  function t5(e, t) {
29697
29697
  var a;
29698
- const n = t.every((l) => !Number.isNaN(Number(l))), { overflow: r, ...o } = e.y_axis.axisLabel, i = bo(r.on_axis);
29698
+ const n = t.every((l) => !Number.isNaN(Number(l))), { overflow: r, ...o } = e.y_axis.axisLabel, i = yo(r.on_axis);
29699
29699
  return [
29700
29700
  {
29701
29701
  data: t,
@@ -29748,7 +29748,7 @@ const sf = {
29748
29748
  name: "Y Axis",
29749
29749
  data_key: "",
29750
29750
  axisLabel: {
29751
- formatter: { ...yr },
29751
+ formatter: { ...br },
29752
29752
  overflow: Br
29753
29753
  },
29754
29754
  nameAlignment: "center"
@@ -29819,7 +29819,7 @@ function a5({
29819
29819
  interactionManager: o,
29820
29820
  variables: i
29821
29821
  }) {
29822
- const a = Y(() => q.keyBy(t, e.y_axis.data_key), [t, e.y_axis.data_key]), l = xr(o.triggerManager, Nd.id), c = dt((h) => {
29822
+ const a = Y(() => q.keyBy(t, e.y_axis.data_key), [t, e.y_axis.data_key]), l = wr(o.triggerManager, Nd.id), c = dt((h) => {
29823
29823
  const f = q.get(a, h.name, {
29824
29824
  error: "rowData is not found"
29825
29825
  });
@@ -29848,7 +29848,7 @@ function s5({
29848
29848
  context: e,
29849
29849
  instance: t
29850
29850
  }) {
29851
- const n = Sr({
29851
+ const n = Cr({
29852
29852
  vizManager: e.vizManager,
29853
29853
  instance: t
29854
29854
  }), {
@@ -30580,7 +30580,7 @@ function b5({
30580
30580
  control: e,
30581
30581
  render: ({
30582
30582
  field: r
30583
- }) => /* @__PURE__ */ s(wr, {
30583
+ }) => /* @__PURE__ */ s(_r, {
30584
30584
  ...r
30585
30585
  })
30586
30586
  })]
@@ -30938,16 +30938,16 @@ const C5 = {
30938
30938
  color: [...E5, ...k5]
30939
30939
  }
30940
30940
  }), Ui = new F$(), an = {
30941
- pluginManager: Tr("pluginManager"),
30942
- vizManager: Tr("vizManager"),
30943
- colorManager: Tr("colorManager"),
30941
+ pluginManager: Mr("pluginManager"),
30942
+ vizManager: Mr("vizManager"),
30943
+ colorManager: Mr("colorManager"),
30944
30944
  instanceScope: {
30945
- panelModel: Tr("panelModel"),
30946
- vizInstance: Tr("vizInstance"),
30947
- interactionManager: Tr("interactionManager"),
30948
- migrator: Tr("migrator"),
30949
- operationManager: Tr("operationManager"),
30950
- triggerManager: Tr("triggerManager")
30945
+ panelModel: Mr("panelModel"),
30946
+ vizInstance: Mr("vizInstance"),
30947
+ interactionManager: Mr("interactionManager"),
30948
+ migrator: Mr("migrator"),
30949
+ operationManager: Mr("operationManager"),
30950
+ triggerManager: Mr("triggerManager")
30951
30951
  }
30952
30952
  }, lf = () => {
30953
30953
  try {
@@ -30960,7 +30960,7 @@ const C5 = {
30960
30960
  vizManager: e,
30961
30961
  colorManager: t
30962
30962
  };
30963
- }, _r = Vo(lf());
30963
+ }, Sr = Vo(lf());
30964
30964
  try {
30965
30965
  Ui.install(i0());
30966
30966
  } catch {
@@ -31337,9 +31337,9 @@ class U5 {
31337
31337
  (n) => {
31338
31338
  const r = cm(n).map(
31339
31339
  (o) => ({
31340
- id: xt(o, "id"),
31341
- schemaRef: xt(o, "schemaRef"),
31342
- config: La(xt(o, "data.config"))
31340
+ id: vt(o, "id"),
31341
+ schemaRef: vt(o, "schemaRef"),
31342
+ config: La(vt(o, "data.config"))
31343
31343
  })
31344
31344
  );
31345
31345
  t(r);
@@ -31440,7 +31440,7 @@ class cf {
31440
31440
  );
31441
31441
  }
31442
31442
  }
31443
- const Sr = ({
31443
+ const Cr = ({
31444
31444
  vizManager: e,
31445
31445
  instance: t
31446
31446
  }) => sr(
@@ -31527,7 +31527,7 @@ const Q5 = J(({
31527
31527
  instance: e.instance,
31528
31528
  variables: []
31529
31529
  };
31530
- return mo(e.operationSchema.configRender, t);
31530
+ return go(e.operationSchema.configRender, t);
31531
31531
  });
31532
31532
  function J5({
31533
31533
  model: e
@@ -31624,7 +31624,7 @@ const oH = J(({
31624
31624
  return /* @__PURE__ */ s(ie, {
31625
31625
  variant: "outline",
31626
31626
  onClick: t,
31627
- children: mo(n, r)
31627
+ children: go(n, r)
31628
31628
  });
31629
31629
  }), iH = J(({
31630
31630
  model: e
@@ -31650,7 +31650,7 @@ const oH = J(({
31650
31650
  instance: e.instance,
31651
31651
  sampleData: e.sampleData
31652
31652
  };
31653
- return mo(e.triggerSchema.configRender, t);
31653
+ return go(e.triggerSchema.configRender, t);
31654
31654
  }), sH = J((e) => {
31655
31655
  const [t, {
31656
31656
  setTrue: n,
@@ -31729,7 +31729,7 @@ const cH = J(({
31729
31729
  sampleData: i,
31730
31730
  variables: a
31731
31731
  } = e, l = lH(r, t), c = async () => {
31732
- const f = await r.triggerManager.createOrGetTrigger(lo(), r.triggerManager.getTriggerSchemaList()[0]), p = await r.operationManager.createOrGetOperation(lo(), r.operationManager.getOperationSchemaList()[0]);
31732
+ const f = await r.triggerManager.createOrGetTrigger(Ao(), r.triggerManager.getTriggerSchemaList()[0]), p = await r.operationManager.createOrGetOperation(Ao(), r.operationManager.getOperationSchemaList()[0]);
31733
31733
  await r.addInteraction(f, p), n((g) => g + 1);
31734
31734
  };
31735
31735
  async function u(f) {
@@ -31777,7 +31777,7 @@ const cH = J(({
31777
31777
  data: t
31778
31778
  } = On(), n = e.viz, {
31779
31779
  vizManager: r
31780
- } = wn(_r), o = e.json, i = sr(() => r.getOrCreateInstance(o), [r, o]), a = sr(() => new cf(i, r.resolveComponent(n.type), Hl), [i, n.type]);
31780
+ } = wn(Sr), o = e.json, i = sr(() => r.getOrCreateInstance(o), [r, o]), a = sr(() => new cf(i, r.resolveComponent(n.type), Hl), [i, n.type]);
31781
31781
  return ue(() => i.instanceData.watchItem(
31782
31782
  null,
31783
31783
  Yw((l) => {
@@ -31913,7 +31913,7 @@ function gH(e) {
31913
31913
  function mH(e, t) {
31914
31914
  const {
31915
31915
  vizManager: n
31916
- } = wn(_r), {
31916
+ } = wn(Sr), {
31917
31917
  panel: {
31918
31918
  viz: r,
31919
31919
  title: o,
@@ -31942,7 +31942,7 @@ function mH(e, t) {
31942
31942
  })
31943
31943
  });
31944
31944
  } catch (h) {
31945
- return console.info(xt(h, "message")), null;
31945
+ return console.info(vt(h, "message")), null;
31946
31946
  }
31947
31947
  }
31948
31948
  const vH = ["richText", "button"], d0 = J(function({
@@ -32260,7 +32260,7 @@ const OH = J(({
32260
32260
  children: e,
32261
32261
  view: t
32262
32262
  }) => {
32263
- const n = go(), r = He(), o = Y(() => r.views.options.filter((c) => c.type === ft.Division), [t.id, r.views.options]), i = t.config, a = (c) => n.openConfirmModal({
32263
+ const n = po(), r = He(), o = Y(() => r.views.options.filter((c) => c.type === ft.Division), [t.id, r.views.options]), i = t.config, a = (c) => n.openConfirmModal({
32264
32264
  title: "Delete this tab?",
32265
32265
  labels: {
32266
32266
  confirm: "Confirm",
@@ -32651,7 +32651,7 @@ function KH(e, t) {
32651
32651
  let n = jH(e);
32652
32652
  return n += "&key=" + t, Tm.MD5(n).toString().toUpperCase();
32653
32653
  }
32654
- const mr = {
32654
+ const vr = {
32655
32655
  baseURL: "http://localhost:31200",
32656
32656
  app_id: "",
32657
32657
  app_secret: "",
@@ -32687,12 +32687,12 @@ const mr = {
32687
32687
  headers: a,
32688
32688
  signal: t
32689
32689
  };
32690
- return ["POST", "PUT"].includes(e) && (l.data = o.string ? JSON.stringify(r) : r, l.data.authentication = this.getAuthentication(l.data)), Mo(l).then((c) => c.data).catch((c) => Promise.reject(c));
32690
+ return ["POST", "PUT"].includes(e) && (l.data = o.string ? JSON.stringify(r) : r, l.data.authentication = this.getAuthentication(l.data)), To(l).then((c) => c.data).catch((c) => Promise.reject(c));
32691
32691
  };
32692
32692
  }
32693
32693
  };
32694
32694
  function h0(e) {
32695
- mr.baseURL !== e.apiBaseURL && (mr.baseURL = e.apiBaseURL), e.app_id && (mr.app_id = e.app_id), e.app_secret && (mr.app_secret = e.app_secret);
32695
+ vr.baseURL !== e.apiBaseURL && (vr.baseURL = e.apiBaseURL), e.app_id && (vr.app_id = e.app_id), e.app_secret && (vr.app_secret = e.app_secret);
32696
32696
  }
32697
32697
  const p0 = R.model("FilterConfigModel_Checkbox", {
32698
32698
  _name: R.literal("checkbox"),
@@ -32776,7 +32776,7 @@ const GH = R.model("FilterConfigModel_DateRange", {
32776
32776
  })).actions((e) => ({
32777
32777
  setFilterValue(t) {
32778
32778
  try {
32779
- const n = vo(e);
32779
+ const n = mo(e);
32780
32780
  Tn(e).filters.setValueByKey(n.key, t);
32781
32781
  } catch (n) {
32782
32782
  console.error(n);
@@ -32889,7 +32889,7 @@ const GH = R.model("FilterConfigModel_DateRange", {
32889
32889
  e.min_width = t;
32890
32890
  },
32891
32891
  setDefaultSelection() {
32892
- const t = Tn(e).filters, n = vo(e).key;
32892
+ const t = Tn(e).filters, n = mo(e).key;
32893
32893
  t.setValueByKey(n, e.default_selection);
32894
32894
  }
32895
32895
  })).actions((e) => ({
@@ -33495,20 +33495,20 @@ async function pB({ context: e, mock_context: t, sqlSnippets: n, query: r, filte
33495
33495
  if (!r.sql)
33496
33496
  return [];
33497
33497
  const { type: a, key: l, sql: c, pre_process: u, post_process: d } = r, h = pf(e, t, n, o), f = hf(c, h), p = fB({ sql: f, pre_process: u });
33498
- let g = await mr.getRequest("POST", i)("/query", { type: a, key: l, query: p }, {});
33498
+ let g = await vr.getRequest("POST", i)("/query", { type: a, key: l, query: p }, {});
33499
33499
  return g = hB(d, g), g;
33500
33500
  }
33501
33501
  async function gB({ context: e, mock_context: t, query: n, filterValues: r, datasource: o }, i) {
33502
33502
  const { type: a, key: l, name: c, pre_process: u, post_process: d } = n;
33503
33503
  let h = sB(u, e, t, r);
33504
33504
  console.groupCollapsed(`Request config for: ${c}`), console.log(h), console.groupEnd(), h = lB(o, h);
33505
- const f = JSON.stringify(h), p = await mr.getRequest("POST", i)("/query", { type: a, key: l, query: f }, {});
33505
+ const f = JSON.stringify(h), p = await vr.getRequest("POST", i)("/query", { type: a, key: l, query: f }, {});
33506
33506
  let g = cB(o, p);
33507
33507
  return g = uB(d, g), g;
33508
33508
  }
33509
33509
  async function gf() {
33510
33510
  try {
33511
- return (await mr.getRequest("POST")("/datasource/list", {
33511
+ return (await vr.getRequest("POST")("/datasource/list", {
33512
33512
  filter: {},
33513
33513
  sort: [
33514
33514
  {
@@ -33660,10 +33660,10 @@ const mB = R.model("QueryModel", {
33660
33660
  )
33661
33661
  ), e.state = "idle", e.error = null;
33662
33662
  } catch (n) {
33663
- if (!Mo.isCancel(n)) {
33663
+ if (!To.isCancel(n)) {
33664
33664
  e.data.length = 0;
33665
- const r = xt(n, "message", "unkown error");
33666
- e.error = xt(n, "response.data.detail.message", r), e.state = "error";
33665
+ const r = vt(n, "message", "unkown error");
33666
+ e.error = vt(n, "response.data.detail.message", r), e.state = "error";
33667
33667
  }
33668
33668
  }
33669
33669
  }
@@ -33687,10 +33687,10 @@ const mB = R.model("QueryModel", {
33687
33687
  )
33688
33688
  ), e.state = "idle", e.error = null;
33689
33689
  } catch (n) {
33690
- if (console.error(n), !Mo.isCancel(n)) {
33690
+ if (console.error(n), !To.isCancel(n)) {
33691
33691
  e.data.length = 0;
33692
- const r = xt(n, "message", "unkown error");
33693
- e.error = xt(n, "response.data.detail.message", r), e.state = "error";
33692
+ const r = vt(n, "message", "unkown error");
33693
+ e.error = vt(n, "response.data.detail.message", r), e.state = "error";
33694
33694
  }
33695
33695
  }
33696
33696
  }
@@ -33795,7 +33795,7 @@ const mB = R.model("QueryModel", {
33795
33795
  };
33796
33796
  },
33797
33797
  isADuplicatedKey(t) {
33798
- return !t || t === e.key ? !1 : !!vo(e, 2).findByKey(t);
33798
+ return !t || t === e.key ? !1 : !!mo(e, 2).findByKey(t);
33799
33799
  }
33800
33800
  })).actions((e) => ({
33801
33801
  setKey(t) {
@@ -33878,7 +33878,7 @@ const mB = R.model("QueryModel", {
33878
33878
  return e.data.length === 0;
33879
33879
  },
33880
33880
  get sql() {
33881
- const t = vo(e, 1), { type: n, table_name: r, table_schema: o } = t;
33881
+ const t = mo(e, 1), { type: n, table_name: r, table_schema: o } = t;
33882
33882
  if (n === Wt.MySQL)
33883
33883
  return `
33884
33884
  SELECT ordinal_position, column_key, column_name, column_type, is_nullable, column_default, column_comment
@@ -33920,7 +33920,7 @@ const mB = R.model("QueryModel", {
33920
33920
  return e.data.length === 0;
33921
33921
  },
33922
33922
  get sql() {
33923
- const t = vo(e, 1), { type: n, table_name: r, table_schema: o } = t;
33923
+ const t = mo(e, 1), { type: n, table_name: r, table_schema: o } = t;
33924
33924
  return n === Wt.MySQL ? `
33925
33925
  SELECT
33926
33926
  sub_part AS index_length,
@@ -33970,7 +33970,7 @@ const mB = R.model("QueryModel", {
33970
33970
  return Object.keys(e.data).length === 0;
33971
33971
  },
33972
33972
  get sql() {
33973
- const t = vo(e, 1).type;
33973
+ const t = mo(e, 1).type;
33974
33974
  return t === Wt.MySQL || t === Wt.Postgresql ? "SELECT table_schema, table_name, table_type FROM information_schema.tables ORDER BY table_schema, table_name" : "";
33975
33975
  }
33976
33976
  })), EB = R.model("DataSourceModel", {
@@ -34006,7 +34006,7 @@ const mB = R.model("QueryModel", {
34006
34006
  (n = e.controllers.tables) == null || n.abort(), e.controllers.tables = new AbortController(), e.tables.state = "loading";
34007
34007
  try {
34008
34008
  const r = yield* ea(
34009
- mr.getRequest("POST", e.controllers.tables.signal)(
34009
+ vr.getRequest("POST", e.controllers.tables.signal)(
34010
34010
  "/query",
34011
34011
  { type: e.type, key: e.key, query: e.tables.sql },
34012
34012
  {}
@@ -34014,7 +34014,7 @@ const mB = R.model("QueryModel", {
34014
34014
  );
34015
34015
  e.tables.data = q.groupBy(r, "table_schema"), e.tables.state = "idle", e.tables.error = null, e.initKeywords();
34016
34016
  } catch (r) {
34017
- if (!Mo.isCancel(r)) {
34017
+ if (!To.isCancel(r)) {
34018
34018
  e.tables.data = {};
34019
34019
  const o = q.get(r, "message", "unkown error");
34020
34020
  e.tables.error = q.get(r, "response.data.detail.message", o), e.tables.state = "error";
@@ -34031,14 +34031,14 @@ const mB = R.model("QueryModel", {
34031
34031
  (n = e.controllers.columns) == null || n.abort(), e.controllers.columns = new AbortController(), e.columns.state = "loading";
34032
34032
  try {
34033
34033
  e.columns.data = yield* ea(
34034
- mr.getRequest("POST", e.controllers.columns.signal)(
34034
+ vr.getRequest("POST", e.controllers.columns.signal)(
34035
34035
  "/query",
34036
34036
  { type: e.type, key: e.key, query: e.columns.sql },
34037
34037
  {}
34038
34038
  )
34039
34039
  ), e.columns.state = "idle", e.columns.error = null;
34040
34040
  } catch (r) {
34041
- if (Mo.isCancel(r))
34041
+ if (To.isCancel(r))
34042
34042
  e.columns.state = "idle", e.columns.error = null;
34043
34043
  else {
34044
34044
  e.columns.data = [];
@@ -34052,14 +34052,14 @@ const mB = R.model("QueryModel", {
34052
34052
  (n = e.controllers.indexes) == null || n.abort(), e.controllers.indexes = new AbortController(), e.indexes.state = "loading";
34053
34053
  try {
34054
34054
  e.indexes.data = yield* ea(
34055
- mr.getRequest("POST", e.controllers.indexes.signal)(
34055
+ vr.getRequest("POST", e.controllers.indexes.signal)(
34056
34056
  "/query",
34057
34057
  { type: e.type, key: e.key, query: e.indexes.sql },
34058
34058
  {}
34059
34059
  )
34060
34060
  ), e.indexes.state = "idle", e.indexes.error = null;
34061
34061
  } catch (r) {
34062
- if (Mo.isCancel(r))
34062
+ if (To.isCancel(r))
34063
34063
  e.indexes.state = "idle", e.indexes.error = null;
34064
34064
  else {
34065
34065
  e.indexes.data = [];
@@ -34337,13 +34337,13 @@ class NB {
34337
34337
  this.origin = t, this.copy = E_(t), za(this, {}, { autoBind: !0, deep: !1 });
34338
34338
  }
34339
34339
  get changed() {
34340
- return !Kt(Nr(this.origin), Nr(this.copy));
34340
+ return !Ht(pr(this.origin), pr(this.copy));
34341
34341
  }
34342
34342
  commit() {
34343
- Eo(this.origin, Nr(this.copy));
34343
+ Co(this.origin, pr(this.copy));
34344
34344
  }
34345
34345
  update(t) {
34346
- Eo(this.copy, t);
34346
+ Co(this.copy, t);
34347
34347
  }
34348
34348
  }
34349
34349
  const IB = (e) => new NB(e), LB = R.model({
@@ -34395,7 +34395,7 @@ const IB = (e) => new NB(e), LB = R.model({
34395
34395
  e.variables.remove(t);
34396
34396
  },
34397
34397
  removeSelf() {
34398
- vo(e, 2).removeByID(e.id);
34398
+ mo(e, 2).removeByID(e.id);
34399
34399
  }
34400
34400
  })).actions((e) => ({
34401
34401
  moveToView(t, n) {
@@ -34490,20 +34490,21 @@ const VB = R.model("PanelsModel", {
34490
34490
  n !== -1 && e.list.splice(n, 1);
34491
34491
  },
34492
34492
  duplicateByID(t) {
34493
- const n = e.list.find((r) => r.id === t);
34493
+ const n = e.list.find((o) => o.id === t);
34494
34494
  if (!n) {
34495
34495
  console.error(new Error(`[duplicate panel] Can't find a panel by id[${t}]`));
34496
34496
  return;
34497
34497
  }
34498
- e.list.push({
34498
+ const r = new Date().getTime().toString();
34499
+ return e.list.push({
34499
34500
  ...n.json,
34500
- id: lo(),
34501
+ id: r,
34501
34502
  layout: {
34502
34503
  ...n.layout,
34503
34504
  y: 1 / 0,
34504
34505
  moved: !1
34505
34506
  }
34506
- });
34507
+ }), r;
34507
34508
  },
34508
34509
  replaceByIndex(t, n) {
34509
34510
  e.list.splice(t, 1, n);
@@ -34537,7 +34538,7 @@ const VB = R.model("PanelsModel", {
34537
34538
  };
34538
34539
  },
34539
34540
  get value() {
34540
- const { enabled: t, func_content: n } = e, r = vo(e, 2), o = Tn(e);
34541
+ const { enabled: t, func_content: n } = e, r = mo(e, 2), o = Tn(e);
34541
34542
  if (!t)
34542
34543
  return r.name;
34543
34544
  try {
@@ -34645,7 +34646,7 @@ const VB = R.model("PanelsModel", {
34645
34646
  e.tabs.length = 0, e.tabs = _i(t);
34646
34647
  },
34647
34648
  addTab() {
34648
- const t = lo(), n = {
34649
+ const t = Ao(), n = {
34649
34650
  id: t,
34650
34651
  name: t,
34651
34652
  view_id: ""
@@ -34855,25 +34856,29 @@ const UB = R.model({
34855
34856
  })).views((e) => ({
34856
34857
  get filtersChanged() {
34857
34858
  const t = "filters.current";
34858
- return !Kt(Nr(xt(e, t)), xt(e.origin, t));
34859
+ return !Ht(pr(vt(e, t)), vt(e.origin, t));
34859
34860
  },
34860
34861
  get queriesChanged() {
34861
- const t = "queries.current", n = Nr(xt(e, t)).map(
34862
+ const t = "queries.current", n = pr(vt(e, t)).map(
34862
34863
  (r) => pm(r, ["id", "name", "key", "type", "sql", "run_by", "pre_process", "post_process"])
34863
34864
  );
34864
- return !Kt(n, xt(e.origin, t));
34865
+ return !Ht(n, vt(e.origin, t));
34865
34866
  },
34866
34867
  get sqlSnippetsChanged() {
34867
34868
  const t = "sqlSnippets.current";
34868
- return !Kt(Nr(xt(e, t)), xt(e.origin, t));
34869
+ return !Ht(pr(vt(e, t)), vt(e.origin, t));
34869
34870
  },
34870
34871
  get viewsChanged() {
34871
34872
  const t = "views.current";
34872
- return !Kt(Nr(xt(e, t)), xt(e.origin, t));
34873
+ return !Ht(pr(vt(e, t)), vt(e.origin, t));
34874
+ },
34875
+ get panelsChanged() {
34876
+ const t = "panels.list";
34877
+ return !Ht(pr(vt(e, t)), vt(e.origin, t));
34873
34878
  },
34874
34879
  get mockContextChanged() {
34875
34880
  const t = "mock_context.current";
34876
- return !Kt(xt(e, t), xt(e.origin, t));
34881
+ return !Ht(vt(e, t), vt(e.origin, t));
34877
34882
  }
34878
34883
  })).views((e) => ({
34879
34884
  get payloadForSQL() {
@@ -34885,7 +34890,7 @@ const UB = R.model({
34885
34890
  };
34886
34891
  },
34887
34892
  get changed() {
34888
- return e.filtersChanged || e.queriesChanged || e.sqlSnippetsChanged || e.viewsChanged || e.mockContextChanged;
34893
+ return e.filtersChanged || e.queriesChanged || e.sqlSnippetsChanged || e.viewsChanged || e.panelsChanged || e.mockContextChanged;
34889
34894
  },
34890
34895
  get data() {
34891
34896
  return e.queries.current.map(({ id: n, data: r }) => ({ id: n, data: r })).reduce((n, r) => (n[r.id] = r.data, n), {});
@@ -34944,8 +34949,9 @@ const UB = R.model({
34944
34949
  }
34945
34950
  })).actions((e) => ({
34946
34951
  duplicatePanelByID(t, n) {
34947
- var r;
34948
- e.panels.duplicateByID(t), (r = e.views.findByID(n)) == null || r.appendPanelID(t);
34952
+ var o;
34953
+ const r = e.panels.duplicateByID(t);
34954
+ !r || (o = e.views.findByID(n)) == null || o.appendPanelID(r);
34949
34955
  },
34950
34956
  removePanelByID(t, n) {
34951
34957
  var r;
@@ -34958,10 +34964,10 @@ const UB = R.model({
34958
34964
  }
34959
34965
  })).actions((e) => ({
34960
34966
  reset() {
34961
- Eo(e.filters.current, e.origin.filters.current), Eo(e.queries.current, e.origin.queries.current), Eo(e.sqlSnippets.current, e.origin.sqlSnippets.current), Eo(e.views.current, e.origin.views.current), e.mock_context.current = e.origin.mock_context.current;
34967
+ Co(e.filters.current, e.origin.filters.current), Co(e.queries.current, e.origin.queries.current), Co(e.sqlSnippets.current, e.origin.sqlSnippets.current), Co(e.views.current, e.origin.views.current), e.mock_context.current = e.origin.mock_context.current;
34962
34968
  },
34963
34969
  resetFilters() {
34964
- Eo(e.filters.current, e.origin.filters.current);
34970
+ Co(e.filters.current, e.origin.filters.current);
34965
34971
  }
34966
34972
  })), Tu = R.snapshotProcessor(UB, {
34967
34973
  preProcessor(e) {
@@ -35165,7 +35171,7 @@ const I0 = {
35165
35171
  nB(n.name, u);
35166
35172
  }, o = () => {
35167
35173
  t(`/dashboard/${n.id}`);
35168
- }, i = go(), a = () => {
35174
+ }, i = po(), a = () => {
35169
35175
  i.openConfirmModal({
35170
35176
  title: /* @__PURE__ */ v(F, {
35171
35177
  position: "left",
@@ -36471,7 +36477,7 @@ function J0(e, t) {
36471
36477
  }
36472
36478
  function Qa() {
36473
36479
  }
36474
- var _a = 0.7, nl = 1 / _a, ii = "\\s*([+-]?\\d+)\\s*", Sa = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", vr = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", t8 = /^#([0-9a-f]{3,8})$/, n8 = new RegExp(`^rgb\\(${ii},${ii},${ii}\\)$`), r8 = new RegExp(`^rgb\\(${vr},${vr},${vr}\\)$`), o8 = new RegExp(`^rgba\\(${ii},${ii},${ii},${Sa}\\)$`), i8 = new RegExp(`^rgba\\(${vr},${vr},${vr},${Sa}\\)$`), a8 = new RegExp(`^hsl\\(${Sa},${vr},${vr}\\)$`), s8 = new RegExp(`^hsla\\(${Sa},${vr},${vr},${Sa}\\)$`), mg = {
36480
+ var _a = 0.7, nl = 1 / _a, ii = "\\s*([+-]?\\d+)\\s*", Sa = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", yr = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", t8 = /^#([0-9a-f]{3,8})$/, n8 = new RegExp(`^rgb\\(${ii},${ii},${ii}\\)$`), r8 = new RegExp(`^rgb\\(${yr},${yr},${yr}\\)$`), o8 = new RegExp(`^rgba\\(${ii},${ii},${ii},${Sa}\\)$`), i8 = new RegExp(`^rgba\\(${yr},${yr},${yr},${Sa}\\)$`), a8 = new RegExp(`^hsl\\(${Sa},${yr},${yr}\\)$`), s8 = new RegExp(`^hsla\\(${Sa},${yr},${yr},${Sa}\\)$`), mg = {
36475
36481
  aliceblue: 15792383,
36476
36482
  antiquewhite: 16444375,
36477
36483
  aqua: 65535,
@@ -36677,7 +36683,7 @@ bf(zn, Ru, J0(Qa, {
36677
36683
  return this;
36678
36684
  },
36679
36685
  clamp() {
36680
- return new zn(Ro(this.r), Ro(this.g), Ro(this.b), rl(this.opacity));
36686
+ return new zn(Oo(this.r), Oo(this.g), Oo(this.b), rl(this.opacity));
36681
36687
  },
36682
36688
  displayable() {
36683
36689
  return -0.5 <= this.r && this.r < 255.5 && -0.5 <= this.g && this.g < 255.5 && -0.5 <= this.b && this.b < 255.5 && 0 <= this.opacity && this.opacity <= 1;
@@ -36689,23 +36695,23 @@ bf(zn, Ru, J0(Qa, {
36689
36695
  toString: wg
36690
36696
  }));
36691
36697
  function xg() {
36692
- return `#${To(this.r)}${To(this.g)}${To(this.b)}`;
36698
+ return `#${ko(this.r)}${ko(this.g)}${ko(this.b)}`;
36693
36699
  }
36694
36700
  function d8() {
36695
- return `#${To(this.r)}${To(this.g)}${To(this.b)}${To((isNaN(this.opacity) ? 1 : this.opacity) * 255)}`;
36701
+ return `#${ko(this.r)}${ko(this.g)}${ko(this.b)}${ko((isNaN(this.opacity) ? 1 : this.opacity) * 255)}`;
36696
36702
  }
36697
36703
  function wg() {
36698
36704
  const e = rl(this.opacity);
36699
- return `${e === 1 ? "rgb(" : "rgba("}${Ro(this.r)}, ${Ro(this.g)}, ${Ro(this.b)}${e === 1 ? ")" : `, ${e})`}`;
36705
+ return `${e === 1 ? "rgb(" : "rgba("}${Oo(this.r)}, ${Oo(this.g)}, ${Oo(this.b)}${e === 1 ? ")" : `, ${e})`}`;
36700
36706
  }
36701
36707
  function rl(e) {
36702
36708
  return isNaN(e) ? 1 : Math.max(0, Math.min(1, e));
36703
36709
  }
36704
- function Ro(e) {
36710
+ function Oo(e) {
36705
36711
  return Math.max(0, Math.min(255, Math.round(e) || 0));
36706
36712
  }
36707
- function To(e) {
36708
- return e = Ro(e), (e < 16 ? "0" : "") + e.toString(16);
36713
+ function ko(e) {
36714
+ return e = Oo(e), (e < 16 ? "0" : "") + e.toString(16);
36709
36715
  }
36710
36716
  function _g(e, t, n, r) {
36711
36717
  return r <= 0 ? e = t = n = NaN : n <= 0 || n >= 1 ? e = t = NaN : t <= 0 && (e = NaN), new rr(e, t, n, r);
@@ -37008,7 +37014,7 @@ function wf(e, t) {
37008
37014
  throw new Error("too late; already scheduled");
37009
37015
  return n;
37010
37016
  }
37011
- function Cr(e, t) {
37017
+ function Er(e, t) {
37012
37018
  var n = dr(e, t);
37013
37019
  if (n.state > Ms)
37014
37020
  throw new Error("too late; already running");
@@ -37078,7 +37084,7 @@ function P8(e) {
37078
37084
  function N8(e, t) {
37079
37085
  var n, r;
37080
37086
  return function() {
37081
- var o = Cr(this, e), i = o.tween;
37087
+ var o = Er(this, e), i = o.tween;
37082
37088
  if (i !== n) {
37083
37089
  r = n = i;
37084
37090
  for (var a = 0, l = r.length; a < l; ++a)
@@ -37095,7 +37101,7 @@ function I8(e, t, n) {
37095
37101
  if (typeof n != "function")
37096
37102
  throw new Error();
37097
37103
  return function() {
37098
- var i = Cr(this, e), a = i.tween;
37104
+ var i = Er(this, e), a = i.tween;
37099
37105
  if (a !== r) {
37100
37106
  o = (r = a).slice();
37101
37107
  for (var l = { name: t, value: n }, c = 0, u = o.length; c < u; ++c)
@@ -37121,7 +37127,7 @@ function L8(e, t) {
37121
37127
  function _f(e, t, n) {
37122
37128
  var r = e._id;
37123
37129
  return e.each(function() {
37124
- var o = Cr(this, r);
37130
+ var o = Er(this, r);
37125
37131
  (o.value || (o.value = {}))[t] = n.apply(this, arguments);
37126
37132
  }), function(o) {
37127
37133
  return dr(o, r).value[t];
@@ -37226,12 +37232,12 @@ function Z8(e) {
37226
37232
  }
37227
37233
  function J8(e, t) {
37228
37234
  return function() {
37229
- Cr(this, e).duration = +t.apply(this, arguments);
37235
+ Er(this, e).duration = +t.apply(this, arguments);
37230
37236
  };
37231
37237
  }
37232
37238
  function eK(e, t) {
37233
37239
  return t = +t, function() {
37234
- Cr(this, e).duration = t;
37240
+ Er(this, e).duration = t;
37235
37241
  };
37236
37242
  }
37237
37243
  function tK(e) {
@@ -37242,7 +37248,7 @@ function nK(e, t) {
37242
37248
  if (typeof t != "function")
37243
37249
  throw new Error();
37244
37250
  return function() {
37245
- Cr(this, e).ease = t;
37251
+ Er(this, e).ease = t;
37246
37252
  };
37247
37253
  }
37248
37254
  function rK(e) {
@@ -37254,7 +37260,7 @@ function oK(e, t) {
37254
37260
  var n = t.apply(this, arguments);
37255
37261
  if (typeof n != "function")
37256
37262
  throw new Error();
37257
- Cr(this, e).ease = n;
37263
+ Er(this, e).ease = n;
37258
37264
  };
37259
37265
  }
37260
37266
  function iK(e) {
@@ -37286,7 +37292,7 @@ function lK(e) {
37286
37292
  });
37287
37293
  }
37288
37294
  function cK(e, t, n) {
37289
- var r, o, i = lK(t) ? wf : Cr;
37295
+ var r, o, i = lK(t) ? wf : Er;
37290
37296
  return function() {
37291
37297
  var a = i(this, e), l = a.on;
37292
37298
  l !== r && (o = (r = l).copy()).on(t, n), a.on = o;
@@ -37361,7 +37367,7 @@ function bK(e, t, n) {
37361
37367
  function xK(e, t) {
37362
37368
  var n, r, o, i = "style." + t, a = "end." + i, l;
37363
37369
  return function() {
37364
- var c = Cr(this, e), u = c.on, d = c.value[i] == null ? l || (l = ux(t)) : void 0;
37370
+ var c = Er(this, e), u = c.on, d = c.value[i] == null ? l || (l = ux(t)) : void 0;
37365
37371
  (u !== n || o !== d) && (r = (n = u).copy()).on(a, o = d), c.on = r;
37366
37372
  };
37367
37373
  }
@@ -37450,7 +37456,7 @@ function AK() {
37450
37456
  --o === 0 && i();
37451
37457
  } };
37452
37458
  n.each(function() {
37453
- var u = Cr(this, r), d = u.on;
37459
+ var u = Er(this, r), d = u.on;
37454
37460
  d !== e && (t = (e = d).copy(), t._.cancel.push(l), t._.interrupt.push(l), t._.end.push(c)), u.on = t;
37455
37461
  }), o === 0 && i();
37456
37462
  });
@@ -37462,23 +37468,23 @@ function jr(e, t, n, r) {
37462
37468
  function dx() {
37463
37469
  return ++$K;
37464
37470
  }
37465
- var Rr = Xa.prototype;
37471
+ var Dr = Xa.prototype;
37466
37472
  jr.prototype = {
37467
37473
  constructor: jr,
37468
37474
  select: hK,
37469
37475
  selectAll: pK,
37470
- selectChild: Rr.selectChild,
37471
- selectChildren: Rr.selectChildren,
37476
+ selectChild: Dr.selectChild,
37477
+ selectChildren: Dr.selectChildren,
37472
37478
  filter: aK,
37473
37479
  merge: sK,
37474
37480
  selection: mK,
37475
37481
  transition: DK,
37476
- call: Rr.call,
37477
- nodes: Rr.nodes,
37478
- node: Rr.node,
37479
- size: Rr.size,
37480
- empty: Rr.empty,
37481
- each: Rr.each,
37482
+ call: Dr.call,
37483
+ nodes: Dr.nodes,
37484
+ node: Dr.node,
37485
+ size: Dr.size,
37486
+ empty: Dr.empty,
37487
+ each: Dr.each,
37482
37488
  on: uK,
37483
37489
  attr: K8,
37484
37490
  attrTween: Y8,
@@ -37493,7 +37499,7 @@ jr.prototype = {
37493
37499
  ease: rK,
37494
37500
  easeVarying: iK,
37495
37501
  end: AK,
37496
- [Symbol.iterator]: Rr[Symbol.iterator]
37502
+ [Symbol.iterator]: Dr[Symbol.iterator]
37497
37503
  };
37498
37504
  function PK(e) {
37499
37505
  return ((e *= 2) <= 1 ? e * e * e : (e -= 2) * e * e + 2) / 2;
@@ -37809,7 +37815,7 @@ function fx() {
37809
37815
  return arguments.length ? (b = +E, y) : b;
37810
37816
  }, y;
37811
37817
  }
37812
- const ql = Vo(null), KK = ql.Provider, br = {
37818
+ const ql = Vo(null), KK = ql.Provider, xr = {
37813
37819
  "001": () => "[React Flow]: Seems like you have not used zustand provider as an ancestor. Help: https://reactflow.dev/error#001",
37814
37820
  "002": () => "It looks like you've created a new nodeTypes or edgeTypes object. If this wasn't on purpose please define the nodeTypes/edgeTypes outside of the component or memoize them.",
37815
37821
  "003": (e) => `Node type "${e}" not found. Using fallback type "default".`,
@@ -37821,7 +37827,7 @@ const ql = Vo(null), KK = ql.Provider, br = {
37821
37827
  "008": (e, t) => `Couldn't create edge for ${e ? "target" : "source"} handle id: "${e ? t.targetHandle : t.sourceHandle}", edge id: ${t.id}.`,
37822
37828
  "010": () => "Handle: No node id found. Make sure to only use a Handle inside a custom Node.",
37823
37829
  "011": (e) => `Edge type "${e}" not found. Using fallback type "default".`
37824
- }, hx = br["001"]();
37830
+ }, hx = xr["001"]();
37825
37831
  function Gt(e, t) {
37826
37832
  const n = wn(ql);
37827
37833
  if (n === null)
@@ -38161,7 +38167,7 @@ const Rf = Vo(null), nW = Rf.Provider;
38161
38167
  Rf.Consumer;
38162
38168
  const rW = () => wn(Rf), oW = (e) => "id" in e && "source" in e && "target" in e, iW = ({ source: e, sourceHandle: t, target: n, targetHandle: r }) => `reactflow__edge-${e}${t || ""}-${n}${r || ""}`, Vu = (e, t) => typeof e > "u" ? "" : typeof e == "string" ? e : `${t ? `${t}__` : ""}${Object.keys(e).sort().map((r) => `${r}=${e[r]}`).join("&")}`, aW = (e, t) => t.some((n) => n.source === e.source && n.target === e.target && (n.sourceHandle === e.sourceHandle || !n.sourceHandle && !e.sourceHandle) && (n.targetHandle === e.targetHandle || !n.targetHandle && !e.targetHandle)), sW = (e, t) => {
38163
38169
  if (!e.source || !e.target)
38164
- return kf("006", br["006"]()), t;
38170
+ return kf("006", xr["006"]()), t;
38165
38171
  let n;
38166
38172
  return oW(e) ? n = { ...e } : n = {
38167
38173
  ...e,
@@ -38179,7 +38185,7 @@ const rW = () => wn(Rf), oW = (e) => "id" in e && "source" in e && "target" in e
38179
38185
  }, lW = ({ x: e, y: t }, [n, r, o]) => ({
38180
38186
  x: e * o + n,
38181
38187
  y: t * o + r
38182
- }), Do = (e, t = [0, 0]) => {
38188
+ }), Ro = (e, t = [0, 0]) => {
38183
38189
  var i, a;
38184
38190
  if (!e)
38185
38191
  return {
@@ -38205,7 +38211,7 @@ const rW = () => wn(Rf), oW = (e) => "id" in e && "source" in e && "target" in e
38205
38211
  if (e.length === 0)
38206
38212
  return { x: 0, y: 0, width: 0, height: 0 };
38207
38213
  const n = e.reduce((r, o) => {
38208
- const { x: i, y: a } = Do(o, t).positionAbsolute;
38214
+ const { x: i, y: a } = Ro(o, t).positionAbsolute;
38209
38215
  return mx(r, sl({
38210
38216
  x: i,
38211
38217
  y: a,
@@ -38225,7 +38231,7 @@ const rW = () => wn(Rf), oW = (e) => "id" in e && "source" in e && "target" in e
38225
38231
  const { width: h, height: f, selectable: p = !0, hidden: g = !1 } = d;
38226
38232
  if (a && !p || g)
38227
38233
  return !1;
38228
- const { positionAbsolute: m } = Do(d, l), b = {
38234
+ const { positionAbsolute: m } = Ro(d, l), b = {
38229
38235
  x: m.x,
38230
38236
  y: m.y,
38231
38237
  width: h || 0,
@@ -38239,7 +38245,7 @@ const rW = () => wn(Rf), oW = (e) => "id" in e && "source" in e && "target" in e
38239
38245
  }, Tx = (e, t, n, r, o, i = 0.1) => {
38240
38246
  const a = t / (e.width * (1 + i)), l = n / (e.height * (1 + i)), c = Math.min(a, l), u = vi(c, r, o), d = e.x + e.width / 2, h = e.y + e.height / 2, f = t / 2 - d * u, p = n / 2 - h * u;
38241
38247
  return [f, p, u];
38242
- }, Co = (e, t = 0) => e.transition().duration(t);
38248
+ }, So = (e, t = 0) => e.transition().duration(t);
38243
38249
  function zg(e, t, n, r) {
38244
38250
  return (t[n] || []).reduce((o, i) => {
38245
38251
  var a, l, c, u;
@@ -38346,11 +38352,11 @@ const hW = () => !0, pW = (e) => ({
38346
38352
  connectionStartHandle: e.connectionStartHandle,
38347
38353
  connectOnClick: e.connectOnClick,
38348
38354
  noPanClassName: e.noPanClassName
38349
- }), Dx = Ht(({ type: e = "source", position: t = Ae.Top, isValidConnection: n = hW, isConnectable: r = !0, id: o, onConnect: i, children: a, className: l, onMouseDown: c, onTouchStart: u, ...d }, h) => {
38355
+ }), Dx = Bt(({ type: e = "source", position: t = Ae.Top, isValidConnection: n = hW, isConnectable: r = !0, id: o, onConnect: i, children: a, className: l, onMouseDown: c, onTouchStart: u, ...d }, h) => {
38350
38356
  var k, O;
38351
38357
  const f = yn(), p = rW();
38352
38358
  if (!p)
38353
- return (O = (k = f.getState()).onError) == null || O.call(k, "010", br["010"]()), null;
38359
+ return (O = (k = f.getState()).onError) == null || O.call(k, "010", xr["010"]()), null;
38354
38360
  const { connectionStartHandle: g, connectOnClick: m, noPanClassName: b } = Gt(pW, Mn), y = o || null, w = e === "target", _ = (L) => {
38355
38361
  const { defaultEdgeOptions: H, onConnect: A, hasDefaultEdges: T } = f.getState(), P = {
38356
38362
  ...H,
@@ -38487,13 +38493,13 @@ var Wo = (e) => {
38487
38493
  if (A)
38488
38494
  return null;
38489
38495
  const Me = (tt) => {
38490
- const { edges: yt, addSelectedEdges: De } = se.getState();
38496
+ const { edges: bt, addSelectedEdges: De } = se.getState();
38491
38497
  if (H && (se.setState({ nodesSelectionActive: !1 }), De([n])), a) {
38492
- const Ke = yt.find((ct) => ct.id === n);
38498
+ const Ke = bt.find((ct) => ct.id === n);
38493
38499
  a(tt, Ke);
38494
38500
  }
38495
- }, _e = ji(n, se.getState, l), $e = ji(n, se.getState, V), Le = ji(n, se.getState, E), we = ji(n, se.getState, N), et = ji(n, se.getState, $), je = (tt, yt) => {
38496
- const De = yt ? w : y, Ke = (yt ? P : T) || null, ct = yt ? "target" : "source", Bt = () => !0, bt = yt, qt = se.getState().edges.find((Ut) => Ut.id === n);
38501
+ }, _e = ji(n, se.getState, l), $e = ji(n, se.getState, V), Le = ji(n, se.getState, E), we = ji(n, se.getState, N), et = ji(n, se.getState, $), je = (tt, bt) => {
38502
+ const De = bt ? w : y, Ke = (bt ? P : T) || null, ct = bt ? "target" : "source", jt = () => !0, xt = bt, qt = se.getState().edges.find((Ut) => Ut.id === n);
38497
38503
  Z(!0), j == null || j(tt, qt, ct);
38498
38504
  const St = (Ut) => {
38499
38505
  Z(!1), G == null || G(Ut, qt, ct);
@@ -38503,18 +38509,18 @@ var Wo = (e) => {
38503
38509
  handleId: Ke,
38504
38510
  nodeId: De,
38505
38511
  onConnect: (Ut) => B == null ? void 0 : B(qt, Ut),
38506
- isTarget: bt,
38512
+ isTarget: xt,
38507
38513
  getState: se.getState,
38508
38514
  setState: se.setState,
38509
- isValidConnection: Bt,
38515
+ isValidConnection: jt,
38510
38516
  edgeUpdaterType: ct,
38511
38517
  onEdgeUpdateEnd: St
38512
38518
  });
38513
38519
  }, at = (tt) => je(tt, !0), Pe = (tt) => je(tt, !1), Xe = () => Oe(!0), Ge = () => Oe(!1), qe = !H && !a, wt = typeof B < "u", pt = (tt) => {
38514
- var yt;
38520
+ var bt;
38515
38521
  if (yx.includes(tt.key) && H) {
38516
38522
  const { unselectNodesAndEdges: De, addSelectedEdges: Ke, edges: ct } = se.getState();
38517
- tt.key === "Escape" ? ((yt = he.current) == null || yt.blur(), De({ edges: [ct.find((bt) => bt.id === n)] })) : Ke([n]);
38523
+ tt.key === "Escape" ? ((bt = he.current) == null || bt.blur(), De({ edges: [ct.find((xt) => xt.id === n)] })) : Ke([n]);
38518
38524
  }
38519
38525
  };
38520
38526
  return v("g", { className: Sn([
@@ -38649,7 +38655,7 @@ function Hx(e, t, n, r, o = [0, 0], i) {
38649
38655
  let a = e.extent || r;
38650
38656
  if (e.extent === "parent")
38651
38657
  if (e.parentNode && e.width && e.height) {
38652
- const u = n.get(e.parentNode), { x: d, y: h } = Do(u, o).positionAbsolute;
38658
+ const u = n.get(e.parentNode), { x: d, y: h } = Ro(u, o).positionAbsolute;
38653
38659
  a = u && Xn(d) && Xn(h) && Xn(u.width) && Xn(u.height) ? [
38654
38660
  [d + e.width * o[0], h + e.height * o[1]],
38655
38661
  [
@@ -38658,9 +38664,9 @@ function Hx(e, t, n, r, o = [0, 0], i) {
38658
38664
  ]
38659
38665
  ] : a;
38660
38666
  } else
38661
- i == null || i("005", br["005"]()), a = r;
38667
+ i == null || i("005", xr["005"]()), a = r;
38662
38668
  else if (e.extent && e.parentNode) {
38663
- const u = n.get(e.parentNode), { x: d, y: h } = Do(u, o).positionAbsolute;
38669
+ const u = n.get(e.parentNode), { x: d, y: h } = Ro(u, o).positionAbsolute;
38664
38670
  a = [
38665
38671
  [e.extent[0][0] + d, e.extent[0][1] + h],
38666
38672
  [e.extent[1][0] + d, e.extent[1][1] + h]
@@ -38669,7 +38675,7 @@ function Hx(e, t, n, r, o = [0, 0], i) {
38669
38675
  let l = { x: 0, y: 0 };
38670
38676
  if (e.parentNode) {
38671
38677
  const u = n.get(e.parentNode);
38672
- l = Do(u, o).positionAbsolute;
38678
+ l = Ro(u, o).positionAbsolute;
38673
38679
  }
38674
38680
  const c = a ? Ef(t, a) : t;
38675
38681
  return {
@@ -38974,7 +38980,7 @@ function Kx(e, t, n, r) {
38974
38980
  var a, l, c, u, d, h, f, p;
38975
38981
  if (!e.parentNode)
38976
38982
  return n;
38977
- const o = t.get(e.parentNode), i = Do(o, r);
38983
+ const o = t.get(e.parentNode), i = Ro(o, r);
38978
38984
  return Kx(o, t, {
38979
38985
  x: ((a = n.x) != null ? a : 0) + i.x,
38980
38986
  y: ((l = n.y) != null ? l : 0) + i.y,
@@ -39027,7 +39033,7 @@ function Gx(e, t = {}) {
39027
39033
  const m = n().filter((y) => t.includeHiddenNodes ? y.width && y.height : !y.hidden), b = m.every((y) => y.width && y.height);
39028
39034
  if (m.length > 0 && b) {
39029
39035
  const y = Df(m, h), [w, _, x] = Tx(y, r, o, (f = t.minZoom) != null ? f : i, (p = t.maxZoom) != null ? p : a, (g = t.padding) != null ? g : 0.1), S = zr.translate(w, _).scale(x);
39030
- return typeof t.duration == "number" && t.duration > 0 ? l.transform(Co(c, t.duration), S) : l.transform(c, S), !0;
39036
+ return typeof t.duration == "number" && t.duration > 0 ? l.transform(So(c, t.duration), S) : l.transform(c, S), !0;
39031
39037
  }
39032
39038
  }
39033
39039
  return !1;
@@ -39052,17 +39058,17 @@ function _s({ changedNodes: e, changedEdges: t, get: n, set: r }) {
39052
39058
  const { nodeInternals: o, edges: i, onNodesChange: a, onEdgesChange: l, hasDefaultNodes: c, hasDefaultEdges: u } = n();
39053
39059
  e != null && e.length && (c && r({ nodeInternals: IW(e, o) }), a == null || a(e)), t != null && t.length && (u && r({ edges: LW(t, i) }), l == null || l(t));
39054
39060
  }
39055
- const _o = () => {
39061
+ const wo = () => {
39056
39062
  }, zW = {
39057
- zoomIn: _o,
39058
- zoomOut: _o,
39059
- zoomTo: _o,
39063
+ zoomIn: wo,
39064
+ zoomOut: wo,
39065
+ zoomTo: wo,
39060
39066
  getZoom: () => 1,
39061
- setViewport: _o,
39067
+ setViewport: wo,
39062
39068
  getViewport: () => ({ x: 0, y: 0, zoom: 1 }),
39063
- fitView: _o,
39064
- setCenter: _o,
39065
- fitBounds: _o,
39069
+ fitView: wo,
39070
+ setCenter: wo,
39071
+ fitBounds: wo,
39066
39072
  project: (e) => e,
39067
39073
  viewportInitialized: !1
39068
39074
  }, VW = (e) => ({
@@ -39071,14 +39077,14 @@ const _o = () => {
39071
39077
  }), FW = () => {
39072
39078
  const e = yn(), { d3Zoom: t, d3Selection: n } = Gt(VW, Mn);
39073
39079
  return Y(() => n && t ? {
39074
- zoomIn: (o) => t.scaleBy(Co(n, o == null ? void 0 : o.duration), 1.2),
39075
- zoomOut: (o) => t.scaleBy(Co(n, o == null ? void 0 : o.duration), 1 / 1.2),
39076
- zoomTo: (o, i) => t.scaleTo(Co(n, i == null ? void 0 : i.duration), o),
39080
+ zoomIn: (o) => t.scaleBy(So(n, o == null ? void 0 : o.duration), 1.2),
39081
+ zoomOut: (o) => t.scaleBy(So(n, o == null ? void 0 : o.duration), 1 / 1.2),
39082
+ zoomTo: (o, i) => t.scaleTo(So(n, i == null ? void 0 : i.duration), o),
39077
39083
  getZoom: () => e.getState().transform[2],
39078
39084
  setViewport: (o, i) => {
39079
39085
  var d, h, f;
39080
39086
  const [a, l, c] = e.getState().transform, u = zr.translate((d = o.x) != null ? d : a, (h = o.y) != null ? h : l).scale((f = o.zoom) != null ? f : c);
39081
- t.transform(Co(n, i == null ? void 0 : i.duration), u);
39087
+ t.transform(So(n, i == null ? void 0 : i.duration), u);
39082
39088
  },
39083
39089
  getViewport: () => {
39084
39090
  const [o, i, a] = e.getState().transform;
@@ -39087,12 +39093,12 @@ const _o = () => {
39087
39093
  fitView: (o) => Gx(e.getState, o),
39088
39094
  setCenter: (o, i, a) => {
39089
39095
  const { width: l, height: c, maxZoom: u } = e.getState(), d = typeof (a == null ? void 0 : a.zoom) < "u" ? a.zoom : u, h = l / 2 - o * d, f = c / 2 - i * d, p = zr.translate(h, f).scale(d);
39090
- t.transform(Co(n, a == null ? void 0 : a.duration), p);
39096
+ t.transform(So(n, a == null ? void 0 : a.duration), p);
39091
39097
  },
39092
39098
  fitBounds: (o, i) => {
39093
39099
  var g;
39094
39100
  const { width: a, height: l, minZoom: c, maxZoom: u } = e.getState(), [d, h, f] = Tx(o, a, l, c, u, (g = i == null ? void 0 : i.padding) != null ? g : 0.1), p = zr.translate(d, h).scale(f);
39095
- t.transform(Co(n, i == null ? void 0 : i.duration), p);
39101
+ t.transform(So(n, i == null ? void 0 : i.duration), p);
39096
39102
  },
39097
39103
  project: (o) => {
39098
39104
  const { transform: i, snapToGrid: a, snapGrid: l } = e.getState();
@@ -39241,7 +39247,7 @@ function BW(e) {
39241
39247
  if (!e.current)
39242
39248
  return;
39243
39249
  const o = Cf(e.current);
39244
- (o.height === 0 || o.width === 0) && ((a = (i = t.getState()).onError) == null || a.call(i, "004", br["004"]())), t.setState({ width: o.width || 500, height: o.height || 500 });
39250
+ (o.height === 0 || o.width === 0) && ((a = (i = t.getState()).onError) == null || a.call(i, "004", xr["004"]())), t.setState({ width: o.width || 500, height: o.height || 500 });
39245
39251
  };
39246
39252
  return r(), window.addEventListener("resize", r), e.current && (n = new ResizeObserver(() => r()), n.observe(e.current)), () => {
39247
39253
  window.removeEventListener("resize", r), n && e.current && n.unobserve(e.current);
@@ -39581,7 +39587,7 @@ const rG = (e) => ({
39581
39587
  }, []), s("div", { className: "react-flow__nodes", style: Pf, children: l.map((d) => {
39582
39588
  var S, k, O, L, H, A, T;
39583
39589
  let h = d.type || "default";
39584
- e.nodeTypes[h] || (a == null || a("003", br["003"](h)), h = "default");
39590
+ e.nodeTypes[h] || (a == null || a("003", xr["003"](h)), h = "default");
39585
39591
  const f = e.nodeTypes[h] || e.nodeTypes.default, p = !!(d.draggable || t && typeof d.draggable > "u"), g = !!(d.selectable || o && typeof d.selectable > "u"), m = !!(d.connectable || n && typeof d.connectable > "u"), b = !!(d.focusable || r && typeof d.focusable > "u"), y = e.nodeExtent ? Ef(d.positionAbsolute, e.nodeExtent) : d.positionAbsolute, w = (S = y == null ? void 0 : y.x) != null ? S : 0, _ = (k = y == null ? void 0 : y.y) != null ? k : 0, x = PW({
39586
39592
  x: w,
39587
39593
  y: _,
@@ -39637,7 +39643,7 @@ function uG(e) {
39637
39643
  const t = yn();
39638
39644
  return Y(() => {
39639
39645
  var o, i;
39640
- return Object.prototype.hasOwnProperty.call(Qg, e) ? Qg[e] : ((i = (o = t.getState()).onError) == null || i.call(o, "009", br["009"](e)), null);
39646
+ return Object.prototype.hasOwnProperty.call(Qg, e) ? Qg[e] : ((i = (o = t.getState()).onError) == null || i.call(o, "009", xr["009"](e)), null);
39641
39647
  }, [e]);
39642
39648
  }
39643
39649
  const dG = ({ id: e, type: t, color: n, width: r = 12.5, height: o = 12.5, markerUnits: i = "strokeWidth", strokeWidth: a, orient: l = "auto-start-reverse" }) => {
@@ -39677,10 +39683,10 @@ const pG = (e) => ({
39677
39683
  if (!N || !B)
39678
39684
  return null;
39679
39685
  let j = P.type || "default";
39680
- o[j] || (O == null || O("011", br["011"](j)), j = "default");
39686
+ o[j] || (O == null || O("011", xr["011"](j)), j = "default");
39681
39687
  const G = o[j] || o.default, U = S === Io.Strict ? M.target : ((Te = M.target) != null ? Te : []).concat((Z = M.source) != null ? Z : []), oe = jg(E.source, P.sourceHandle), ae = jg(U, P.targetHandle), Q = (oe == null ? void 0 : oe.position) || Ae.Bottom, te = (ae == null ? void 0 : ae.position) || Ae.Top, me = !!(P.focusable || y && typeof P.focusable > "u");
39682
39688
  if (!oe || !ae)
39683
- return O == null || O("008", br["008"](oe, P)), null;
39689
+ return O == null || O("008", xr["008"](oe, P)), null;
39684
39690
  const { sourceX: ge, sourceY: he, targetX: de, targetY: Oe } = OW(V, oe, Q, $, ae, te);
39685
39691
  return s(G, { id: P.id, className: Sn([P.className, i]), type: j, data: P.data, selected: !!P.selected, animated: !!P.animated, hidden: !!P.hidden, label: P.label, labelStyle: P.labelStyle, labelShowBg: P.labelShowBg, labelBgStyle: P.labelBgStyle, labelBgPadding: P.labelBgPadding, labelBgBorderRadius: P.labelBgBorderRadius, style: P.style, source: P.source, target: P.target, sourceHandleId: P.sourceHandle, targetHandleId: P.targetHandle, markerEnd: P.markerEnd, markerStart: P.markerStart, sourceX: ge, sourceY: he, targetX: de, targetY: Oe, sourcePosition: Q, targetPosition: te, elementsSelectable: w, onEdgeUpdate: a, onContextMenu: l, onMouseEnter: c, onMouseMove: u, onMouseLeave: d, onClick: h, edgeUpdaterRadius: f, onEdgeDoubleClick: p, onEdgeUpdateStart: g, onEdgeUpdateEnd: m, rfId: r, ariaLabel: P.ariaLabel, isFocusable: me, pathOptions: "pathOptions" in P ? P.pathOptions : void 0, interactionWidth: P.interactionWidth }, P.id);
39686
39692
  }) })] }, H)), b] }) : null;
@@ -39957,7 +39963,7 @@ function Zg(e, t) {
39957
39963
  return Y(() => {
39958
39964
  if (process.env.NODE_ENV === "development") {
39959
39965
  const o = Object.keys(e);
39960
- Mn(n.current, o) && kf("002", br["002"]()), n.current = o;
39966
+ Mn(n.current, o) && kf("002", xr["002"]()), n.current = o;
39961
39967
  }
39962
39968
  return t(e);
39963
39969
  }, [e]);
@@ -39979,9 +39985,9 @@ const CG = {
39979
39985
  overflow: "hidden",
39980
39986
  position: "relative",
39981
39987
  zIndex: 0
39982
- }, nw = Ht(({ nodes: e, edges: t, defaultNodes: n, defaultEdges: r, className: o, nodeTypes: i = CG, edgeTypes: a = EG, onNodeClick: l, onEdgeClick: c, onInit: u, onMove: d, onMoveStart: h, onMoveEnd: f, onConnect: p, onConnectStart: g, onConnectEnd: m, onClickConnectStart: b, onClickConnectEnd: y, onNodeMouseEnter: w, onNodeMouseMove: _, onNodeMouseLeave: x, onNodeContextMenu: S, onNodeDoubleClick: k, onNodeDragStart: O, onNodeDrag: L, onNodeDragStop: H, onNodesDelete: A, onEdgesDelete: T, onSelectionChange: P, onSelectionDragStart: V, onSelectionDrag: E, onSelectionDragStop: N, onSelectionContextMenu: $, onSelectionStart: M, onSelectionEnd: B, connectionMode: j = Io.Strict, connectionLineType: G = no.Bezier, connectionLineStyle: U, connectionLineComponent: oe, connectionLineContainerStyle: ae, deleteKeyCode: Q = "Backspace", selectionKeyCode: te = "Shift", selectionOnDrag: me = !1, selectionMode: ge = ka.Full, panActivationKeyCode: he = "Space", multiSelectionKeyCode: de = "Meta", zoomActivationKeyCode: Oe = "Meta", snapToGrid: Te = !1, snapGrid: Z = TG, onlyRenderVisibleElements: se = !1, selectNodesOnDrag: Re = !0, nodesDraggable: X, nodesConnectable: Me, nodesFocusable: _e, nodeOrigin: $e = kG, edgesFocusable: Le, elementsSelectable: we, defaultViewport: et = MG, minZoom: je = 0.5, maxZoom: at = 2, translateExtent: Pe = Bu, preventScrolling: Xe = !0, nodeExtent: Ge, defaultMarkerColor: qe = "#b1b1b7", zoomOnScroll: wt = !0, zoomOnPinch: pt = !0, panOnScroll: tt = !1, panOnScrollSpeed: yt = 0.5, panOnScrollMode: De = ai.Free, zoomOnDoubleClick: Ke = !0, panOnDrag: ct = !0, onPaneClick: Bt, onPaneMouseEnter: bt, onPaneMouseMove: qt, onPaneMouseLeave: St, onPaneScroll: dn, onPaneContextMenu: Ut, children: Dt, onEdgeUpdate: Ft, onEdgeContextMenu: pn, onEdgeDoubleClick: Et, onEdgeMouseEnter: Nn, onEdgeMouseMove: nn, onEdgeMouseLeave: le, onEdgeUpdateStart: ye, onEdgeUpdateEnd: Se, edgeUpdaterRadius: Fe = 10, onNodesChange: st, onEdgesChange: Ct, noDragClassName: gn = "nodrag", noWheelClassName: mn = "nowheel", noPanClassName: In = "nopan", fitView: Pt = !1, fitViewOptions: z, connectOnClick: re = !0, attributionPosition: ne, proOptions: be, defaultEdgeOptions: Ce, elevateNodesOnSelect: Ne = !0, elevateEdgesOnSelect: We = !1, disableKeyboardA11y: Ve = !1, autoPanOnConnect: Ze = !0, autoPanOnNodeDrag: Ue = !0, connectionRadius: ot = 20, onError: Nt, style: Cn, id: Hn, ...Yt }, fr) => {
39983
- const Er = Zg(i, $W), Rn = Zg(a, MW), Dn = Hn || "1";
39984
- return s("div", { ...Yt, style: { ...Cn, ...OG }, ref: fr, className: Sn(["react-flow", o]), "data-testid": "rf__wrapper", id: Hn, children: v(tw, { children: [s(_G, { onInit: u, onMove: d, onMoveStart: h, onMoveEnd: f, onNodeClick: l, onEdgeClick: c, onNodeMouseEnter: w, onNodeMouseMove: _, onNodeMouseLeave: x, onNodeContextMenu: S, onNodeDoubleClick: k, nodeTypes: Er, edgeTypes: Rn, connectionLineType: G, connectionLineStyle: U, connectionLineComponent: oe, connectionLineContainerStyle: ae, selectionKeyCode: te, selectionOnDrag: me, selectionMode: ge, deleteKeyCode: Q, multiSelectionKeyCode: de, panActivationKeyCode: he, zoomActivationKeyCode: Oe, onlyRenderVisibleElements: se, selectNodesOnDrag: Re, defaultViewport: et, translateExtent: Pe, minZoom: je, maxZoom: at, preventScrolling: Xe, zoomOnScroll: wt, zoomOnPinch: pt, zoomOnDoubleClick: Ke, panOnScroll: tt, panOnScrollSpeed: yt, panOnScrollMode: De, panOnDrag: ct, onPaneClick: Bt, onPaneMouseEnter: bt, onPaneMouseMove: qt, onPaneMouseLeave: St, onPaneScroll: dn, onPaneContextMenu: Ut, onSelectionContextMenu: $, onSelectionStart: M, onSelectionEnd: B, onEdgeUpdate: Ft, onEdgeContextMenu: pn, onEdgeDoubleClick: Et, onEdgeMouseEnter: Nn, onEdgeMouseMove: nn, onEdgeMouseLeave: le, onEdgeUpdateStart: ye, onEdgeUpdateEnd: Se, edgeUpdaterRadius: Fe, defaultMarkerColor: qe, noDragClassName: gn, noWheelClassName: mn, noPanClassName: In, elevateEdgesOnSelect: We, rfId: Dn, disableKeyboardA11y: Ve, nodeOrigin: $e, nodeExtent: Ge }), s(xW, { nodes: e, edges: t, defaultNodes: n, defaultEdges: r, onConnect: p, onConnectStart: g, onConnectEnd: m, onClickConnectStart: b, onClickConnectEnd: y, nodesDraggable: X, nodesConnectable: Me, nodesFocusable: _e, edgesFocusable: Le, elementsSelectable: we, elevateNodesOnSelect: Ne, minZoom: je, maxZoom: at, nodeExtent: Ge, onNodesChange: st, onEdgesChange: Ct, snapToGrid: Te, snapGrid: Z, connectionMode: j, translateExtent: Pe, connectOnClick: re, defaultEdgeOptions: Ce, fitView: Pt, fitViewOptions: z, onNodesDelete: A, onEdgesDelete: T, onNodeDragStart: O, onNodeDrag: L, onNodeDragStop: H, onSelectionDrag: E, onSelectionDragStart: V, onSelectionDragStop: N, noPanClassName: In, nodeOrigin: $e, rfId: Dn, autoPanOnConnect: Ze, autoPanOnNodeDrag: Ue, onError: Nt, connectionRadius: ot }), s(yW, { onSelectionChange: P }), Dt, s(GK, { proOptions: be, position: ne }), s(EW, { rfId: Dn, disableKeyboardA11y: Ve })] }) });
39988
+ }, nw = Bt(({ nodes: e, edges: t, defaultNodes: n, defaultEdges: r, className: o, nodeTypes: i = CG, edgeTypes: a = EG, onNodeClick: l, onEdgeClick: c, onInit: u, onMove: d, onMoveStart: h, onMoveEnd: f, onConnect: p, onConnectStart: g, onConnectEnd: m, onClickConnectStart: b, onClickConnectEnd: y, onNodeMouseEnter: w, onNodeMouseMove: _, onNodeMouseLeave: x, onNodeContextMenu: S, onNodeDoubleClick: k, onNodeDragStart: O, onNodeDrag: L, onNodeDragStop: H, onNodesDelete: A, onEdgesDelete: T, onSelectionChange: P, onSelectionDragStart: V, onSelectionDrag: E, onSelectionDragStop: N, onSelectionContextMenu: $, onSelectionStart: M, onSelectionEnd: B, connectionMode: j = Io.Strict, connectionLineType: G = no.Bezier, connectionLineStyle: U, connectionLineComponent: oe, connectionLineContainerStyle: ae, deleteKeyCode: Q = "Backspace", selectionKeyCode: te = "Shift", selectionOnDrag: me = !1, selectionMode: ge = ka.Full, panActivationKeyCode: he = "Space", multiSelectionKeyCode: de = "Meta", zoomActivationKeyCode: Oe = "Meta", snapToGrid: Te = !1, snapGrid: Z = TG, onlyRenderVisibleElements: se = !1, selectNodesOnDrag: Re = !0, nodesDraggable: X, nodesConnectable: Me, nodesFocusable: _e, nodeOrigin: $e = kG, edgesFocusable: Le, elementsSelectable: we, defaultViewport: et = MG, minZoom: je = 0.5, maxZoom: at = 2, translateExtent: Pe = Bu, preventScrolling: Xe = !0, nodeExtent: Ge, defaultMarkerColor: qe = "#b1b1b7", zoomOnScroll: wt = !0, zoomOnPinch: pt = !0, panOnScroll: tt = !1, panOnScrollSpeed: bt = 0.5, panOnScrollMode: De = ai.Free, zoomOnDoubleClick: Ke = !0, panOnDrag: ct = !0, onPaneClick: jt, onPaneMouseEnter: xt, onPaneMouseMove: qt, onPaneMouseLeave: St, onPaneScroll: dn, onPaneContextMenu: Ut, children: Dt, onEdgeUpdate: Ft, onEdgeContextMenu: pn, onEdgeDoubleClick: Et, onEdgeMouseEnter: Nn, onEdgeMouseMove: nn, onEdgeMouseLeave: le, onEdgeUpdateStart: ye, onEdgeUpdateEnd: Se, edgeUpdaterRadius: Fe = 10, onNodesChange: st, onEdgesChange: Ct, noDragClassName: gn = "nodrag", noWheelClassName: mn = "nowheel", noPanClassName: In = "nopan", fitView: Pt = !1, fitViewOptions: z, connectOnClick: re = !0, attributionPosition: ne, proOptions: be, defaultEdgeOptions: Ce, elevateNodesOnSelect: Ne = !0, elevateEdgesOnSelect: We = !1, disableKeyboardA11y: Ve = !1, autoPanOnConnect: Ze = !0, autoPanOnNodeDrag: Ue = !0, connectionRadius: ot = 20, onError: Nt, style: Cn, id: Hn, ...Yt }, fr) => {
39989
+ const kr = Zg(i, $W), Rn = Zg(a, MW), Dn = Hn || "1";
39990
+ return s("div", { ...Yt, style: { ...Cn, ...OG }, ref: fr, className: Sn(["react-flow", o]), "data-testid": "rf__wrapper", id: Hn, children: v(tw, { children: [s(_G, { onInit: u, onMove: d, onMoveStart: h, onMoveEnd: f, onNodeClick: l, onEdgeClick: c, onNodeMouseEnter: w, onNodeMouseMove: _, onNodeMouseLeave: x, onNodeContextMenu: S, onNodeDoubleClick: k, nodeTypes: kr, edgeTypes: Rn, connectionLineType: G, connectionLineStyle: U, connectionLineComponent: oe, connectionLineContainerStyle: ae, selectionKeyCode: te, selectionOnDrag: me, selectionMode: ge, deleteKeyCode: Q, multiSelectionKeyCode: de, panActivationKeyCode: he, zoomActivationKeyCode: Oe, onlyRenderVisibleElements: se, selectNodesOnDrag: Re, defaultViewport: et, translateExtent: Pe, minZoom: je, maxZoom: at, preventScrolling: Xe, zoomOnScroll: wt, zoomOnPinch: pt, zoomOnDoubleClick: Ke, panOnScroll: tt, panOnScrollSpeed: bt, panOnScrollMode: De, panOnDrag: ct, onPaneClick: jt, onPaneMouseEnter: xt, onPaneMouseMove: qt, onPaneMouseLeave: St, onPaneScroll: dn, onPaneContextMenu: Ut, onSelectionContextMenu: $, onSelectionStart: M, onSelectionEnd: B, onEdgeUpdate: Ft, onEdgeContextMenu: pn, onEdgeDoubleClick: Et, onEdgeMouseEnter: Nn, onEdgeMouseMove: nn, onEdgeMouseLeave: le, onEdgeUpdateStart: ye, onEdgeUpdateEnd: Se, edgeUpdaterRadius: Fe, defaultMarkerColor: qe, noDragClassName: gn, noWheelClassName: mn, noPanClassName: In, elevateEdgesOnSelect: We, rfId: Dn, disableKeyboardA11y: Ve, nodeOrigin: $e, nodeExtent: Ge }), s(xW, { nodes: e, edges: t, defaultNodes: n, defaultEdges: r, onConnect: p, onConnectStart: g, onConnectEnd: m, onClickConnectStart: b, onClickConnectEnd: y, nodesDraggable: X, nodesConnectable: Me, nodesFocusable: _e, edgesFocusable: Le, elementsSelectable: we, elevateNodesOnSelect: Ne, minZoom: je, maxZoom: at, nodeExtent: Ge, onNodesChange: st, onEdgesChange: Ct, snapToGrid: Te, snapGrid: Z, connectionMode: j, translateExtent: Pe, connectOnClick: re, defaultEdgeOptions: Ce, fitView: Pt, fitViewOptions: z, onNodesDelete: A, onEdgesDelete: T, onNodeDragStart: O, onNodeDrag: L, onNodeDragStop: H, onSelectionDrag: E, onSelectionDragStart: V, onSelectionDragStop: N, noPanClassName: In, nodeOrigin: $e, rfId: Dn, autoPanOnConnect: Ze, autoPanOnNodeDrag: Ue, onError: Nt, connectionRadius: ot }), s(yW, { onSelectionChange: P }), Dt, s(GK, { proOptions: be, position: ne }), s(EW, { rfId: Dn, disableKeyboardA11y: Ve })] }) });
39985
39991
  });
39986
39992
  nw.displayName = "ReactFlow";
39987
39993
  const rw = ({ id: e, x: t, y: n, width: r, height: o, style: i, color: a, strokeColor: l, strokeWidth: c, className: u, borderRadius: d, shapeRendering: h, onClick: f }) => {
@@ -40042,7 +40048,7 @@ function ow({ style: e, className: t, nodeStrokeColor: n = "transparent", nodeCo
40042
40048
  f(de, Te);
40043
40049
  } : void 0;
40044
40050
  return s(Sf, { position: d, style: e, className: Sn(["react-flow__minimap", t]), children: v("svg", { width: O, height: L, viewBox: `${B} ${j} ${G} ${U}`, role: "img", "aria-labelledby": ae, ref: y, onClick: te, children: [m && s("title", { id: ae, children: m }), x.map((de) => {
40045
- const { x: Oe, y: Te } = Do(de, k).positionAbsolute;
40051
+ const { x: Oe, y: Te } = Ro(de, k).positionAbsolute;
40046
40052
  return s(RG, { x: Oe, y: Te, width: de.width, height: de.height, style: de.style, className: T(de), color: H(de), borderRadius: i, strokeColor: A(de), strokeWidth: a, shapeRendering: oe, onClick: me, id: de.id }, de.id);
40047
40053
  }), s("path", { className: "react-flow__minimap-mask", d: `M${B - M},${j - M}h${G + M * 2}v${U + M * 2}h${-G - M * 2}z
40048
40054
  M${_.x},${_.y}h${_.width}v${_.height}h${-_.width}z`, fill: l, fillRule: "evenodd", stroke: c, strokeWidth: u, pointerEvents: "none" })] }) });
@@ -40569,7 +40575,7 @@ const b9 = J(() => {
40569
40575
  variant: "dashed"
40570
40576
  }), /* @__PURE__ */ s(ie, {
40571
40577
  variant: "subtle",
40572
- rightIcon: /* @__PURE__ */ s(yo, {
40578
+ rightIcon: /* @__PURE__ */ s(vo, {
40573
40579
  size: 14
40574
40580
  }),
40575
40581
  size: "sm",
@@ -40602,7 +40608,7 @@ const b9 = J(() => {
40602
40608
  }
40603
40609
  e.editor.open(["_FILTERS_", e.filters.firstID]);
40604
40610
  }, [r, o] = ze(!1), i = () => o(!0), a = () => o(!1);
40605
- return /* @__PURE__ */ v(Pr, {
40611
+ return /* @__PURE__ */ v(Nr, {
40606
40612
  p: 0,
40607
40613
  width: {
40608
40614
  base: 200,
@@ -40612,7 +40618,7 @@ const b9 = J(() => {
40612
40618
  lg: 240,
40613
40619
  xl: 260
40614
40620
  },
40615
- children: [/* @__PURE__ */ v(Pr.Section, {
40621
+ children: [/* @__PURE__ */ v(Nr.Section, {
40616
40622
  children: [/* @__PURE__ */ v(F, {
40617
40623
  grow: !0,
40618
40624
  spacing: 0,
@@ -40665,7 +40671,7 @@ const b9 = J(() => {
40665
40671
  opened: r,
40666
40672
  close: a
40667
40673
  })]
40668
- }), /* @__PURE__ */ s(Pr.Section, {
40674
+ }), /* @__PURE__ */ s(Nr.Section, {
40669
40675
  py: 5,
40670
40676
  sx: {
40671
40677
  borderBottom: "1px solid #eee"
@@ -40678,13 +40684,13 @@ const b9 = J(() => {
40678
40684
  },
40679
40685
  children: "Views"
40680
40686
  })
40681
- }), /* @__PURE__ */ s(Pr.Section, {
40687
+ }), /* @__PURE__ */ s(Nr.Section, {
40682
40688
  grow: !0,
40683
40689
  sx: {
40684
40690
  overflow: "auto"
40685
40691
  },
40686
40692
  children: /* @__PURE__ */ s(b9, {})
40687
- }), /* @__PURE__ */ s(Pr.Section, {
40693
+ }), /* @__PURE__ */ s(Nr.Section, {
40688
40694
  children: /* @__PURE__ */ s(F, {
40689
40695
  grow: !0,
40690
40696
  p: "md",
@@ -41268,7 +41274,7 @@ const b9 = J(() => {
41268
41274
  }), N9 = J(({
41269
41275
  id: e
41270
41276
  }) => {
41271
- const t = go(), n = He();
41277
+ const t = po(), n = He();
41272
41278
  if (e === "")
41273
41279
  return null;
41274
41280
  const r = n.filters.findByID(e);
@@ -41865,7 +41871,7 @@ const Y9 = ee.forwardRef(function({
41865
41871
  my: "xs",
41866
41872
  label: "Format",
41867
41873
  labelPosition: "center"
41868
- }), /* @__PURE__ */ s(wr, {
41874
+ }), /* @__PURE__ */ s(_r, {
41869
41875
  value: t.formatter,
41870
41876
  onChange: (l) => a("formatter", l)
41871
41877
  }), o && /* @__PURE__ */ s(cb, {
@@ -41962,12 +41968,12 @@ const Y9 = ee.forwardRef(function({
41962
41968
  })
41963
41969
  })]
41964
41970
  }), /* @__PURE__ */ s(Y9, {
41965
- value: Nr(t.copy),
41971
+ value: pr(t.copy),
41966
41972
  onChange: t.update,
41967
41973
  data: r
41968
41974
  })]
41969
41975
  }), /* @__PURE__ */ s(J9, {
41970
- variable: Nr(t.copy),
41976
+ variable: pr(t.copy),
41971
41977
  data: r
41972
41978
  })]
41973
41979
  });
@@ -42011,7 +42017,7 @@ const Y9 = ee.forwardRef(function({
42011
42017
  function oq() {
42012
42018
  const {
42013
42019
  vizManager: e
42014
- } = wn(_r);
42020
+ } = wn(Sr);
42015
42021
  return Y(() => {
42016
42022
  const t = e.availableVizList.map((n) => {
42017
42023
  var r, o;
@@ -42072,7 +42078,7 @@ function sq() {
42072
42078
  }
42073
42079
  } = On(), {
42074
42080
  vizManager: d
42075
- } = wn(_r), h = {
42081
+ } = wn(Sr), h = {
42076
42082
  title: r,
42077
42083
  description: i,
42078
42084
  viz: n,
@@ -42096,7 +42102,7 @@ function sq() {
42096
42102
  })
42097
42103
  });
42098
42104
  } catch (g) {
42099
- return console.info(xt(g, "message")), null;
42105
+ return console.info(vt(g, "message")), null;
42100
42106
  }
42101
42107
  }
42102
42108
  const lq = J(() => {
@@ -42107,7 +42113,7 @@ const lq = J(() => {
42107
42113
  }
42108
42114
  } = On(), {
42109
42115
  vizManager: n
42110
- } = wn(_r), r = ee.useCallback((u) => {
42116
+ } = wn(Sr), r = ee.useCallback((u) => {
42111
42117
  if (u === t.type)
42112
42118
  return;
42113
42119
  const d = aq(n, u);
@@ -42121,7 +42127,7 @@ const lq = J(() => {
42121
42127
  }, i = ee.useMemo(() => {
42122
42128
  var u;
42123
42129
  return (u = em.find((d) => d.value === t.type)) == null ? void 0 : u.Panel;
42124
- }, [t.type, em]), a = sq(), l = i ? mo(i, {
42130
+ }, [t.type, em]), a = sq(), l = i ? go(i, {
42125
42131
  data: e,
42126
42132
  conf: t.conf,
42127
42133
  setConf: t.setConf
@@ -42266,7 +42272,7 @@ function dq(e) {
42266
42272
  const fq = J(({
42267
42273
  panel: e
42268
42274
  }) => {
42269
- const t = go(), n = He(), [r, o] = ze("Data"), {
42275
+ const t = po(), n = He(), [r, o] = ze("Data"), {
42270
42276
  data: i,
42271
42277
  state: a,
42272
42278
  error: l
@@ -42880,7 +42886,7 @@ const xq = J(({
42880
42886
  children: "See Table Structure"
42881
42887
  })]
42882
42888
  });
42883
- }), _q = Ht(({
42889
+ }), _q = Bt(({
42884
42890
  label: e,
42885
42891
  type: t,
42886
42892
  ...n
@@ -42956,7 +42962,7 @@ const xq = J(({
42956
42962
  }), Cq = (e) => {
42957
42963
  const {
42958
42964
  queryModel: t
42959
- } = e, n = He(), o = n.findQueryUsage(t.id).length > 0, i = go(), a = () => {
42965
+ } = e, n = He(), o = n.findQueryUsage(t.id).length > 0, i = po(), a = () => {
42960
42966
  i.openConfirmModal({
42961
42967
  title: "Delete this query?",
42962
42968
  labels: {
@@ -43124,7 +43130,7 @@ const Mq = ({
43124
43130
  }
43125
43131
  }
43126
43132
  })
43127
- }), dl = Ht(({
43133
+ }), dl = Bt(({
43128
43134
  value: e,
43129
43135
  onChange: t,
43130
43136
  label: n,
@@ -43696,7 +43702,7 @@ WHERE
43696
43702
  ue(() => {
43697
43703
  a(e.key), h(e.value);
43698
43704
  }, [e]);
43699
- const p = d !== e.value, g = go();
43705
+ const p = d !== e.value, g = po();
43700
43706
  return /* @__PURE__ */ v(W, {
43701
43707
  p: 20,
43702
43708
  sx: {
@@ -44069,7 +44075,7 @@ WHERE
44069
44075
  }) : null), Xq = J(({
44070
44076
  id: e
44071
44077
  }) => {
44072
- const t = go(), n = He(), r = n.views.findByID(e);
44078
+ const t = po(), n = He(), r = n.views.findByID(e);
44073
44079
  return r ? /* @__PURE__ */ v(W, {
44074
44080
  sx: {
44075
44081
  maxWidth: "600px",
@@ -44169,7 +44175,7 @@ const o7 = J(() => /* @__PURE__ */ s(W, {
44169
44175
  const e = He();
44170
44176
  return /* @__PURE__ */ s(ie, {
44171
44177
  variant: "subtle",
44172
- leftIcon: /* @__PURE__ */ s(yo, {
44178
+ leftIcon: /* @__PURE__ */ s(vo, {
44173
44179
  size: 14
44174
44180
  }),
44175
44181
  size: "sm",
@@ -44209,7 +44215,7 @@ const o7 = J(() => /* @__PURE__ */ s(W, {
44209
44215
  const n = t.views.findByID(e);
44210
44216
  return n ? /* @__PURE__ */ s(ie, {
44211
44217
  variant: "subtle",
44212
- leftIcon: /* @__PURE__ */ s(yo, {
44218
+ leftIcon: /* @__PURE__ */ s(vo, {
44213
44219
  size: 14
44214
44220
  }),
44215
44221
  size: "sm",
@@ -44232,7 +44238,7 @@ const o7 = J(() => /* @__PURE__ */ s(W, {
44232
44238
  const e = He();
44233
44239
  return /* @__PURE__ */ s(ie, {
44234
44240
  variant: "subtle",
44235
- leftIcon: /* @__PURE__ */ s(yo, {
44241
+ leftIcon: /* @__PURE__ */ s(vo, {
44236
44242
  size: 14
44237
44243
  }),
44238
44244
  size: "sm",
@@ -44264,7 +44270,7 @@ const o7 = J(() => /* @__PURE__ */ s(W, {
44264
44270
  const e = He();
44265
44271
  return /* @__PURE__ */ s(ie, {
44266
44272
  variant: "subtle",
44267
- leftIcon: /* @__PURE__ */ s(yo, {
44273
+ leftIcon: /* @__PURE__ */ s(vo, {
44268
44274
  size: 14
44269
44275
  }),
44270
44276
  size: "sm",
@@ -44293,7 +44299,7 @@ const o7 = J(() => /* @__PURE__ */ s(W, {
44293
44299
  const e = He();
44294
44300
  return /* @__PURE__ */ s(ie, {
44295
44301
  variant: "subtle",
44296
- leftIcon: /* @__PURE__ */ s(yo, {
44302
+ leftIcon: /* @__PURE__ */ s(vo, {
44297
44303
  size: 14
44298
44304
  }),
44299
44305
  size: "sm",
@@ -44353,7 +44359,7 @@ const o7 = J(() => /* @__PURE__ */ s(W, {
44353
44359
  });
44354
44360
  }), p7 = J(() => {
44355
44361
  const e = He();
44356
- return /* @__PURE__ */ v(Pr, {
44362
+ return /* @__PURE__ */ v(Nr, {
44357
44363
  p: 0,
44358
44364
  width: {
44359
44365
  base: 200,
@@ -44366,7 +44372,7 @@ const o7 = J(() => /* @__PURE__ */ s(W, {
44366
44372
  sx: {
44367
44373
  height: "100vh - 60px - 60px"
44368
44374
  },
44369
- children: [/* @__PURE__ */ s(Pr.Section, {
44375
+ children: [/* @__PURE__ */ s(Nr.Section, {
44370
44376
  pt: 9,
44371
44377
  pb: 8,
44372
44378
  sx: {
@@ -44380,13 +44386,13 @@ const o7 = J(() => /* @__PURE__ */ s(W, {
44380
44386
  },
44381
44387
  children: "Settings"
44382
44388
  })
44383
- }), /* @__PURE__ */ s(Pr.Section, {
44389
+ }), /* @__PURE__ */ s(Nr.Section, {
44384
44390
  grow: !0,
44385
44391
  sx: {
44386
44392
  overflow: "auto"
44387
44393
  },
44388
44394
  children: /* @__PURE__ */ s(h7, {})
44389
- }), /* @__PURE__ */ s(Pr.Section, {
44395
+ }), /* @__PURE__ */ s(Nr.Section, {
44390
44396
  children: /* @__PURE__ */ s(F, {
44391
44397
  grow: !0,
44392
44398
  p: "md",
@@ -44582,7 +44588,7 @@ const x7 = {
44582
44588
  freezeLayout: c,
44583
44589
  inEditMode: !0
44584
44590
  },
44585
- children: /* @__PURE__ */ s(_r.Provider, {
44591
+ children: /* @__PURE__ */ s(Sr.Provider, {
44586
44592
  value: h,
44587
44593
  children: /* @__PURE__ */ v(yl, {
44588
44594
  configure: f,
@@ -44644,7 +44650,7 @@ const dU = J(({
44644
44650
  },
44645
44651
  children: /* @__PURE__ */ s(xe, {
44646
44652
  className: `${n} dashboard-root`,
44647
- children: /* @__PURE__ */ s(_r.Provider, {
44653
+ children: /* @__PURE__ */ s(Sr.Provider, {
44648
44654
  value: c,
44649
44655
  children: /* @__PURE__ */ s(yl, {
44650
44656
  configure: u,