@devtable/dashboard 6.14.0 → 6.15.0

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,17 +1,17 @@
1
1
  var Ug = Object.defineProperty;
2
2
  var Yg = (e, t, n) => t in e ? Ug(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
3
  var ve = (e, t, n) => (Yg(e, typeof t != "symbol" ? t + "" : t, n), n);
4
- import { Box as Be, Text as V, Button as Ve, Checkbox as fn, Group as $, MultiSelect as vl, Select as Le, TextInput as me, createStyles as Ao, Stack as U, Tooltip as xr, Badge as Qg, CloseButton as Xg, JsonInput as Hc, ActionIcon as Oe, AppShell as ml, LoadingOverlay as Lo, Table as yl, Tabs as G, Textarea as Jg, Modal as hn, Collapse as Bc, Divider as ot, SimpleGrid as bl, NumberInput as Sn, Menu as nn, Paper as wl, Code as Ps, Switch as Fn, useMantineTheme as Gc, ColorInput as Zg, ColorSwatch as Ta, Slider as eh, Center as th, CheckIcon as nh, MANTINE_SIZES as rh, SegmentedControl as oh, Overlay as ih, Accordion as br, Popover as ra, Alert as ah } from "@mantine/core";
4
+ import { Box as Be, Text as V, Button as Ve, Checkbox as un, Group as $, MultiSelect as vl, Select as Le, TextInput as me, createStyles as No, Stack as U, Tooltip as xr, Badge as Qg, CloseButton as Xg, JsonInput as Hc, ActionIcon as Oe, AppShell as ml, LoadingOverlay as Lo, Table as yl, Tabs as G, Textarea as Jg, Modal as hn, Collapse as Bc, Divider as ot, SimpleGrid as bl, NumberInput as Sn, Menu as nn, Paper as wl, Code as Ps, Switch as Fn, useMantineTheme as Gc, ColorInput as Zg, ColorSwatch as Ta, Slider as eh, Center as th, CheckIcon as nh, MANTINE_SIZES as rh, SegmentedControl as oh, Overlay as ih, Accordion as br, Popover as ra, Alert as ah } from "@mantine/core";
5
5
  import { useModals as lh, ModalsProvider as Wc } from "@mantine/modals";
6
6
  import { useCreation as Cn, usePrevious as sh, useRequest as Sl, useBoolean as Dr, useAsyncEffect as Vo, useLatest as ks } from "ahooks";
7
7
  import { observer as J } from "mobx-react-lite";
8
8
  import * as E from "react";
9
- import F, { useEffect as je, createContext as qc, forwardRef as Ur, createElement as hr, useRef as Ue, useState as nt, useMemo as Pe, useCallback as lr, useImperativeHandle as uh, useLayoutEffect as ch, useContext as Hn } from "react";
9
+ import F, { useEffect as je, createContext as qc, forwardRef as Ur, createElement as hr, useRef as Ue, useState as nt, useMemo as Me, useCallback as lr, useImperativeHandle as uh, useLayoutEffect as ch, useContext as Hn } from "react";
10
10
  import ct, { template as Cl, cloneDeepWith as dh, get as st, isFunction as fh, omit as sr, values as Uc, unset as ph, isObject as Yc, set as xl, orderBy as gh, last as Qc, defaults as Lt, minBy as hh, maxBy as Xc, isEqual as Xt, defaultsDeep as En, keyBy as vh, groupBy as mh, cloneDeep as Fo, merge as Jc, isEmpty as _l, noop as yh, findLastIndex as bh, isNumber as wh, isString as Zc, range as Sh, throttle as Ch, pick as ed } from "lodash";
11
11
  import { useForm as Bn, useWatch as xh, Controller as X, useFieldArray as Mr } from "react-hook-form";
12
12
  import { DateRangePicker as _h } from "@mantine/dates";
13
13
  import ur from "dayjs";
14
- import { Calendar as Eh, DeviceFloppy as Mt, Refresh as td, Trash as zt, Plus as Yr, PlaylistAdd as Qr, Recycle as Pi, Settings as nd, Filter as Rh, Database as Oh, Share as Th, Download as rd, Code as Dh, InfoCircle as Mh, ArrowRight as oa, AlertCircle as Ph, ArrowsMaximize as kh, Copy as Ih, ArrowLeft as $h, ArrowsMove as Nh, ChevronDownRight as Ah } from "tabler-icons-react";
14
+ import { Calendar as Eh, DeviceFloppy as Mt, Refresh as td, Trash as zt, Plus as Yr, PlaylistAdd as Qr, Recycle as Pi, Settings as nd, Filter as Rh, Database as Oh, Share as Th, Download as rd, Code as Dh, InfoCircle as Mh, ArrowRight as oa, AlertCircle as Ph, ArrowsMaximize as kh, Copy as Ih, ArrowLeft as $h, ArrowsMove as Ah, ChevronDownRight as Nh } from "tabler-icons-react";
15
15
  import Ro from "react-dom";
16
16
  import Lh from "jszip";
17
17
  import { Prism as Rr } from "@mantine/prism";
@@ -142,7 +142,7 @@ class Tl {
142
142
  }), this.instanceRegistry.clear(), this.factoryRegistry.clear();
143
143
  }
144
144
  }
145
- var sn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Ni = { exports: {} }, co = {};
145
+ var sn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Ai = { exports: {} }, co = {};
146
146
  /**
147
147
  * @license React
148
148
  * react-jsx-runtime.production.min.js
@@ -152,11 +152,11 @@ var sn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
152
152
  * This source code is licensed under the MIT license found in the
153
153
  * LICENSE file in the root directory of this source tree.
154
154
  */
155
- var Ns;
155
+ var As;
156
156
  function rv() {
157
- if (Ns)
157
+ if (As)
158
158
  return co;
159
- Ns = 1;
159
+ As = 1;
160
160
  var e = F, t = Symbol.for("react.element"), n = Symbol.for("react.fragment"), r = Object.prototype.hasOwnProperty, o = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
161
161
  function a(l, u, c) {
162
162
  var d, f = {}, p = null, g = null;
@@ -180,9 +180,9 @@ var fo = {};
180
180
  * This source code is licensed under the MIT license found in the
181
181
  * LICENSE file in the root directory of this source tree.
182
182
  */
183
- var As;
183
+ var Ns;
184
184
  function ov() {
185
- return As || (As = 1, process.env.NODE_ENV !== "production" && function() {
185
+ return Ns || (Ns = 1, process.env.NODE_ENV !== "production" && function() {
186
186
  var e = F, t = Symbol.for("react.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), a = Symbol.for("react.provider"), l = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), c = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), f = Symbol.for("react.memo"), p = Symbol.for("react.lazy"), g = Symbol.for("react.offscreen"), h = Symbol.iterator, v = "@@iterator";
187
187
  function m(x) {
188
188
  if (x === null || typeof x != "object")
@@ -208,10 +208,10 @@ function ov() {
208
208
  ue.unshift("Warning: " + j), Function.prototype.apply.call(console[x], console, ue);
209
209
  }
210
210
  }
211
- var _ = !1, C = !1, D = !1, I = !1, N = !1, A;
212
- A = Symbol.for("react.module.reference");
211
+ var _ = !1, C = !1, D = !1, I = !1, A = !1, N;
212
+ N = Symbol.for("react.module.reference");
213
213
  function O(x) {
214
- return !!(typeof x == "string" || typeof x == "function" || x === r || x === i || N || x === o || x === c || x === d || I || x === g || _ || C || D || typeof x == "object" && x !== null && (x.$$typeof === p || x.$$typeof === f || x.$$typeof === a || x.$$typeof === l || x.$$typeof === u || x.$$typeof === A || x.getModuleId !== void 0));
214
+ return !!(typeof x == "string" || typeof x == "function" || x === r || x === i || A || x === o || x === c || x === d || I || x === g || _ || C || D || typeof x == "object" && x !== null && (x.$$typeof === p || x.$$typeof === f || x.$$typeof === a || x.$$typeof === l || x.$$typeof === u || x.$$typeof === N || x.getModuleId !== void 0));
215
215
  }
216
216
  function R(x, j, z) {
217
217
  var ee = x.displayName;
@@ -399,18 +399,18 @@ function ov() {
399
399
  if (Pt && ee && typeof Pt.stack == "string") {
400
400
  for (var ye = Pt.stack.split(`
401
401
  `), Fe = ee.stack.split(`
402
- `), Ne = ye.length - 1, Qe = Fe.length - 1; Ne >= 1 && Qe >= 0 && ye[Ne] !== Fe[Qe]; )
402
+ `), Ae = ye.length - 1, Qe = Fe.length - 1; Ae >= 1 && Qe >= 0 && ye[Ae] !== Fe[Qe]; )
403
403
  Qe--;
404
- for (; Ne >= 1 && Qe >= 0; Ne--, Qe--)
405
- if (ye[Ne] !== Fe[Qe]) {
406
- if (Ne !== 1 || Qe !== 1)
404
+ for (; Ae >= 1 && Qe >= 0; Ae--, Qe--)
405
+ if (ye[Ae] !== Fe[Qe]) {
406
+ if (Ae !== 1 || Qe !== 1)
407
407
  do
408
- if (Ne--, Qe--, Qe < 0 || ye[Ne] !== Fe[Qe]) {
408
+ if (Ae--, Qe--, Qe < 0 || ye[Ae] !== Fe[Qe]) {
409
409
  var _t = `
410
- ` + ye[Ne].replace(" at new ", " at ");
410
+ ` + ye[Ae].replace(" at new ", " at ");
411
411
  return x.displayName && _t.includes("<anonymous>") && (_t = _t.replace("<anonymous>", x.displayName)), typeof x == "function" && Ie.set(x, _t), _t;
412
412
  }
413
- while (Ne >= 1 && Qe >= 0);
413
+ while (Ae >= 1 && Qe >= 0);
414
414
  break;
415
415
  }
416
416
  }
@@ -476,8 +476,8 @@ function ov() {
476
476
  throw Fe.name = "Invariant Violation", Fe;
477
477
  }
478
478
  ye = x[Re](j, Re, ee, z, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
479
- } catch (Ne) {
480
- ye = Ne;
479
+ } catch (Ae) {
480
+ ye = Ae;
481
481
  }
482
482
  ye && !(ye instanceof Error) && (we(oe), S("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", ee || "React class", z, Re, typeof ye), we(null)), ye instanceof Error && !(ye.message in he) && (he[ye.message] = !0, we(oe), S("Failed %s type: %s", z, ye.message), we(null));
483
483
  }
@@ -591,9 +591,9 @@ function ov() {
591
591
  for (ue in j)
592
592
  De.call(j, ue) && !bt.hasOwnProperty(ue) && (Re[ue] = j[ue]);
593
593
  if (x && x.defaultProps) {
594
- var Ne = x.defaultProps;
595
- for (ue in Ne)
596
- Re[ue] === void 0 && (Re[ue] = Ne[ue]);
594
+ var Ae = x.defaultProps;
595
+ for (ue in Ae)
596
+ Re[ue] === void 0 && (Re[ue] = Ae[ue]);
597
597
  }
598
598
  if (ye || Fe) {
599
599
  var Qe = typeof x == "function" ? x.displayName || x.name || "Unknown" : x;
@@ -627,7 +627,7 @@ Check the render method of \`` + x + "`.";
627
627
  return "";
628
628
  }
629
629
  }
630
- function un(x) {
630
+ function cn(x) {
631
631
  {
632
632
  if (x !== void 0) {
633
633
  var j = x.fileName.replace(/^.*[\\\/]/, ""), z = x.lineNumber;
@@ -724,10 +724,10 @@ Check the top-level render call using <` + z + ">.");
724
724
  if (!Re) {
725
725
  var ye = "";
726
726
  (x === void 0 || typeof x == "object" && x !== null && Object.keys(x).length === 0) && (ye += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
727
- var Fe = un(oe);
727
+ var Fe = cn(oe);
728
728
  Fe ? ye += Fe : ye += mt();
729
- var Ne;
730
- x === null ? Ne = "null" : Ke(x) ? Ne = "array" : x !== void 0 && x.$$typeof === t ? (Ne = "<" + (M(x.type) || "Unknown") + " />", ye = " Did you accidentally export a JSX literal instead of a component?") : Ne = typeof x, S("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", Ne, ye);
729
+ var Ae;
730
+ x === null ? Ae = "null" : Ke(x) ? Ae = "array" : x !== void 0 && x.$$typeof === t ? (Ae = "<" + (M(x.type) || "Unknown") + " />", ye = " Did you accidentally export a JSX literal instead of a component?") : Ae = typeof x, S("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", Ae, ye);
731
731
  }
732
732
  var Qe = yt(x, j, z, oe, ue);
733
733
  if (Qe == null)
@@ -760,9 +760,9 @@ Check the top-level render call using <` + z + ">.");
760
760
  }
761
761
  (function(e) {
762
762
  process.env.NODE_ENV === "production" ? e.exports = rv() : e.exports = ov();
763
- })(Ni);
764
- const Je = Ni.exports.Fragment, s = Ni.exports.jsx, y = Ni.exports.jsxs, Pa = qc(null);
765
- function Ai(e) {
763
+ })(Ai);
764
+ const Je = Ai.exports.Fragment, s = Ai.exports.jsx, y = Ai.exports.jsxs, Pa = qc(null);
765
+ function Ni(e) {
766
766
  const t = F.useContext(Pa), n = Cn(() => e.configure(t || new Tl()), [e.configure]), r = sh(n);
767
767
  return r && r !== n && r.dispose(), /* @__PURE__ */ s(Pa.Provider, {
768
768
  value: n,
@@ -833,7 +833,7 @@ function av({
833
833
  return /* @__PURE__ */ y(Be, {
834
834
  children: [/* @__PURE__ */ s(V, {
835
835
  children: "\xA0"
836
- }), /* @__PURE__ */ s(fn, {
836
+ }), /* @__PURE__ */ s(un, {
837
837
  label: e,
838
838
  checked: r || !1,
839
839
  onChange: (i) => o(i.currentTarget.checked),
@@ -926,7 +926,7 @@ const _d = Ur(({
926
926
  return;
927
927
  const d = [(f = t.options[0]) == null ? void 0 : f.value];
928
928
  console.log("Selecting the first option by default. New value: ", d), r(d);
929
- }, [t.select_first_by_default, t.options, r]);
929
+ }, [t.select_first_by_default, t.options]);
930
930
  const u = t.min_width ? t.min_width : "200px", c = i ? l : !1;
931
931
  return /* @__PURE__ */ s(vl, {
932
932
  label: e,
@@ -960,7 +960,7 @@ const _d = Ur(({
960
960
  return;
961
961
  const u = (d = (c = t.options[0]) == null ? void 0 : c.value) != null ? d : "";
962
962
  console.log("Selecting the first option by default. New value: ", u), r(u);
963
- }, [t.select_first_by_default, t.options, r]), /* @__PURE__ */ s(Le, {
963
+ }, [t.select_first_by_default, t.options]), /* @__PURE__ */ s(Le, {
964
964
  label: e,
965
965
  data: t.options,
966
966
  disabled: i ? l : !1,
@@ -991,7 +991,7 @@ function dv({
991
991
  return /* @__PURE__ */ s(me, {
992
992
  label: e,
993
993
  value: n || "",
994
- onChange: r,
994
+ onChange: (o) => r(o.currentTarget.value),
995
995
  ...t,
996
996
  styles: {
997
997
  input: {
@@ -1039,13 +1039,12 @@ var Ed = {};
1039
1039
  e.arrayToTree = r, e.countNodes = o;
1040
1040
  })(Ed);
1041
1041
  function fv(e) {
1042
- const t = Ed.arrayToTree(e, {
1042
+ return Ed.arrayToTree(e, {
1043
1043
  id: "value",
1044
1044
  parentId: "parent_value",
1045
1045
  childrenField: "children",
1046
1046
  dataField: null
1047
1047
  });
1048
- return console.log(t), t;
1049
1048
  }
1050
1049
  function ka(e, t) {
1051
1050
  (t == null || t > e.length) && (t = e.length);
@@ -1216,7 +1215,7 @@ function xv() {
1216
1215
  throw new TypeError(`Invalid attempt to spread non-iterable instance.
1217
1216
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
1218
1217
  }
1219
- function dn(e) {
1218
+ function fn(e) {
1220
1219
  return Cv(e) || Dd(e) || Ml(e) || xv();
1221
1220
  }
1222
1221
  function zn(e) {
@@ -1305,7 +1304,7 @@ function Pd() {
1305
1304
  throw new TypeError(`Invalid attempt to destructure non-iterable instance.
1306
1305
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
1307
1306
  }
1308
- function Nt(e, t) {
1307
+ function At(e, t) {
1309
1308
  return Md(e) || Rv(e, t) || Ml(e, t) || Pd();
1310
1309
  }
1311
1310
  function Ov(e, t) {
@@ -1784,7 +1783,7 @@ function $v() {
1784
1783
  }
1785
1784
  }
1786
1785
  }
1787
- var C = u, D = c, I = l, N = a, A = t, O = d, R = r, P = h, M = g, k = n, L = i, K = o, Q = f, q = !1;
1786
+ var C = u, D = c, I = l, A = a, N = t, O = d, R = r, P = h, M = g, k = n, L = i, K = o, Q = f, q = !1;
1788
1787
  function Y(W) {
1789
1788
  return q || (q = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), ce(W) || _(W) === u;
1790
1789
  }
@@ -1824,7 +1823,7 @@ function $v() {
1824
1823
  function Te(W) {
1825
1824
  return _(W) === f;
1826
1825
  }
1827
- lt.AsyncMode = C, lt.ConcurrentMode = D, lt.ContextConsumer = I, lt.ContextProvider = N, lt.Element = A, lt.ForwardRef = O, lt.Fragment = R, lt.Lazy = P, lt.Memo = M, lt.Portal = k, lt.Profiler = L, lt.StrictMode = K, lt.Suspense = Q, lt.isAsyncMode = Y, lt.isConcurrentMode = ce, lt.isContextConsumer = le, lt.isContextProvider = ke, lt.isElement = be, lt.isForwardRef = ie, lt.isFragment = te, lt.isLazy = de, lt.isMemo = ge, lt.isPortal = se, lt.isProfiler = fe, lt.isStrictMode = Ie, lt.isSuspense = Te, lt.isValidElementType = w, lt.typeOf = _;
1826
+ lt.AsyncMode = C, lt.ConcurrentMode = D, lt.ContextConsumer = I, lt.ContextProvider = A, lt.Element = N, lt.ForwardRef = O, lt.Fragment = R, lt.Lazy = P, lt.Memo = M, lt.Portal = k, lt.Profiler = L, lt.StrictMode = K, lt.Suspense = Q, lt.isAsyncMode = Y, lt.isConcurrentMode = ce, lt.isContextConsumer = le, lt.isContextProvider = ke, lt.isElement = be, lt.isForwardRef = ie, lt.isFragment = te, lt.isLazy = de, lt.isMemo = ge, lt.isPortal = se, lt.isProfiler = fe, lt.isStrictMode = Ie, lt.isSuspense = Te, lt.isValidElementType = w, lt.typeOf = _;
1828
1827
  }()), lt;
1829
1828
  }
1830
1829
  (function(e) {
@@ -1834,7 +1833,7 @@ function kl(e, t, n) {
1834
1833
  var r = E.useRef({});
1835
1834
  return (!("value" in r.current) || n(r.current.condition, t)) && (r.current.value = e(), r.current.condition = t), r.current.value;
1836
1835
  }
1837
- function Nd(e, t) {
1836
+ function Ad(e, t) {
1838
1837
  typeof e == "function" ? e(t) : Do(e) === "object" && e && "current" in e && (e.current = t);
1839
1838
  }
1840
1839
  function jo() {
@@ -1845,11 +1844,11 @@ function jo() {
1845
1844
  });
1846
1845
  return r.length <= 1 ? r[0] : function(o) {
1847
1846
  t.forEach(function(i) {
1848
- Nd(i, o);
1847
+ Ad(i, o);
1849
1848
  });
1850
1849
  };
1851
1850
  }
1852
- function Nv() {
1851
+ function Av() {
1853
1852
  for (var e = arguments.length, t = new Array(e), n = 0; n < e; n++)
1854
1853
  t[n] = arguments[n];
1855
1854
  return kl(function() {
@@ -1864,12 +1863,12 @@ function Il(e) {
1864
1863
  var t, n, r = Pl.exports.isMemo(e) ? e.type.type : e.type;
1865
1864
  return !(typeof r == "function" && !(!((t = r.prototype) === null || t === void 0) && t.render) || typeof e == "function" && !(!((n = e.prototype) === null || n === void 0) && n.render));
1866
1865
  }
1867
- var Ad = /* @__PURE__ */ E.createContext(null);
1866
+ var Nd = /* @__PURE__ */ E.createContext(null);
1868
1867
  function Ld() {
1869
- return E.useContext(Ad);
1868
+ return E.useContext(Nd);
1870
1869
  }
1871
- function Av() {
1872
- var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 10, t = E.useState(!1), n = Nt(t, 2), r = n[0], o = n[1], i = E.useRef(null), a = function() {
1870
+ function Nv() {
1871
+ var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 10, t = E.useState(!1), n = At(t, 2), r = n[0], o = n[1], i = E.useRef(null), a = function() {
1873
1872
  window.clearTimeout(i.current);
1874
1873
  };
1875
1874
  E.useEffect(function() {
@@ -2026,7 +2025,7 @@ function Us(e, t) {
2026
2025
  }
2027
2026
  return n;
2028
2027
  }
2029
- function Ar(e) {
2028
+ function Nr(e) {
2030
2029
  for (var t = 1; t < arguments.length; t++) {
2031
2030
  var n = arguments[t] != null ? arguments[t] : {};
2032
2031
  t % 2 ? Us(Object(n), !0).forEach(function(r) {
@@ -2088,7 +2087,7 @@ function Yv() {
2088
2087
  throw new TypeError(`Invalid attempt to destructure non-iterable instance.
2089
2088
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
2090
2089
  }
2091
- function Nn(e, t) {
2090
+ function An(e, t) {
2092
2091
  return Wv(e) || qv(e, t) || Uv(e, t) || Yv();
2093
2092
  }
2094
2093
  function Qv(e, t) {
@@ -2469,10 +2468,10 @@ function bm(e, t, n) {
2469
2468
  writable: !1
2470
2469
  }), e;
2471
2470
  }
2472
- function Na(e, t) {
2473
- return Na = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(r, o) {
2471
+ function Aa(e, t) {
2472
+ return Aa = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(r, o) {
2474
2473
  return r.__proto__ = o, r;
2475
- }, Na(e, t);
2474
+ }, Aa(e, t);
2476
2475
  }
2477
2476
  function wm(e, t) {
2478
2477
  if (typeof t != "function" && t !== null)
@@ -2485,7 +2484,7 @@ function wm(e, t) {
2485
2484
  }
2486
2485
  }), Object.defineProperty(e, "prototype", {
2487
2486
  writable: !1
2488
- }), t && Na(e, t);
2487
+ }), t && Aa(e, t);
2489
2488
  }
2490
2489
  function hi(e) {
2491
2490
  return hi = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(n) {
@@ -2540,9 +2539,9 @@ var Em = /* @__PURE__ */ function(e) {
2540
2539
  return this.props.children;
2541
2540
  }
2542
2541
  }]), n;
2543
- }(E.Component), Aa = /* @__PURE__ */ E.createContext(null);
2542
+ }(E.Component), Na = /* @__PURE__ */ E.createContext(null);
2544
2543
  function Rm(e) {
2545
- var t = e.children, n = e.onBatchResize, r = E.useRef(0), o = E.useRef([]), i = E.useContext(Aa), a = E.useCallback(function(l, u, c) {
2544
+ var t = e.children, n = e.onBatchResize, r = E.useRef(0), o = E.useRef([]), i = E.useContext(Na), a = E.useCallback(function(l, u, c) {
2546
2545
  r.current += 1;
2547
2546
  var d = r.current;
2548
2547
  o.current.push({
@@ -2553,13 +2552,13 @@ function Rm(e) {
2553
2552
  d === r.current && (n == null || n(o.current), o.current = []);
2554
2553
  }), i == null || i(l, u, c);
2555
2554
  }, [n, i]);
2556
- return /* @__PURE__ */ s(Aa.Provider, {
2555
+ return /* @__PURE__ */ s(Na.Provider, {
2557
2556
  value: a,
2558
2557
  children: t
2559
2558
  });
2560
2559
  }
2561
2560
  function Om(e) {
2562
- var t = e.children, n = e.disabled, r = E.useRef(null), o = E.useRef(null), i = E.useContext(Aa), a = typeof t == "function", l = a ? t(r) : t, u = E.useRef({
2561
+ var t = e.children, n = e.disabled, r = E.useRef(null), o = E.useRef(null), i = E.useContext(Na), a = typeof t == "function", l = a ? t(r) : t, u = E.useRef({
2563
2562
  width: -1,
2564
2563
  height: -1,
2565
2564
  offsetWidth: -1,
@@ -2569,16 +2568,16 @@ function Om(e) {
2569
2568
  }, [d, r]), p = E.useRef(e);
2570
2569
  p.current = e;
2571
2570
  var g = E.useCallback(function(h) {
2572
- var v = p.current, m = v.onResize, b = v.data, S = h.getBoundingClientRect(), w = S.width, _ = S.height, C = h.offsetWidth, D = h.offsetHeight, I = Math.floor(w), N = Math.floor(_);
2573
- if (u.current.width !== I || u.current.height !== N || u.current.offsetWidth !== C || u.current.offsetHeight !== D) {
2574
- var A = {
2571
+ var v = p.current, m = v.onResize, b = v.data, S = h.getBoundingClientRect(), w = S.width, _ = S.height, C = h.offsetWidth, D = h.offsetHeight, I = Math.floor(w), A = Math.floor(_);
2572
+ if (u.current.width !== I || u.current.height !== A || u.current.offsetWidth !== C || u.current.offsetHeight !== D) {
2573
+ var N = {
2575
2574
  width: I,
2576
- height: N,
2575
+ height: A,
2577
2576
  offsetWidth: C,
2578
2577
  offsetHeight: D
2579
2578
  };
2580
- u.current = A;
2581
- var O = C === Math.round(w) ? w : C, R = D === Math.round(_) ? _ : D, P = Xs(Xs({}, A), {}, {
2579
+ u.current = N;
2580
+ var O = C === Math.round(w) ? w : C, R = D === Math.round(_) ? _ : D, P = Xs(Xs({}, N), {}, {
2582
2581
  offsetWidth: O,
2583
2582
  offsetHeight: R
2584
2583
  });
@@ -2614,8 +2613,8 @@ Vi.Collection = Rm;
2614
2613
  var Dm = ["prefixCls", "invalidate", "item", "renderItem", "responsive", "responsiveDisabled", "registerSize", "itemKey", "className", "style", "children", "display", "order", "component"], Ir = void 0;
2615
2614
  function Mm(e, t) {
2616
2615
  var n = e.prefixCls, r = e.invalidate, o = e.item, i = e.renderItem, a = e.responsive, l = e.responsiveDisabled, u = e.registerSize, c = e.itemKey, d = e.className, f = e.style, p = e.children, g = e.display, h = e.order, v = e.component, m = v === void 0 ? "div" : v, b = wo(e, Dm), S = a && !g;
2617
- function w(N) {
2618
- u(c, N);
2616
+ function w(A) {
2617
+ u(c, A);
2619
2618
  }
2620
2619
  E.useEffect(function() {
2621
2620
  return function() {
@@ -2635,15 +2634,15 @@ function Mm(e, t) {
2635
2634
  S && (D["aria-hidden"] = !0);
2636
2635
  var I = /* @__PURE__ */ s(m, {
2637
2636
  className: ut(!r && n, d),
2638
- style: Ar(Ar({}, C), f),
2637
+ style: Nr(Nr({}, C), f),
2639
2638
  ...D,
2640
2639
  ...b,
2641
2640
  ref: t,
2642
2641
  children: _
2643
2642
  });
2644
2643
  return a && (I = /* @__PURE__ */ s(Vi, {
2645
- onResize: function(A) {
2646
- var O = A.offsetWidth;
2644
+ onResize: function(N) {
2645
+ var O = N.offsetWidth;
2647
2646
  w(O);
2648
2647
  },
2649
2648
  disabled: l,
@@ -2666,7 +2665,7 @@ var eu = 0, $l = /* @__PURE__ */ new Map();
2666
2665
  function Qd(e) {
2667
2666
  $l.delete(e);
2668
2667
  }
2669
- var At = function(t) {
2668
+ var Nt = function(t) {
2670
2669
  var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 1;
2671
2670
  eu += 1;
2672
2671
  var r = eu;
@@ -2682,18 +2681,18 @@ var At = function(t) {
2682
2681
  }
2683
2682
  return o(n), r;
2684
2683
  };
2685
- At.cancel = function(e) {
2684
+ Nt.cancel = function(e) {
2686
2685
  var t = $l.get(e);
2687
2686
  return Qd(t), Yd(t);
2688
2687
  };
2689
2688
  function Pm() {
2690
- var e = ir({}), t = Nn(e, 2), n = t[1], r = Ue([]), o = 0, i = 0;
2689
+ var e = ir({}), t = An(e, 2), n = t[1], r = Ue([]), o = 0, i = 0;
2691
2690
  function a(l) {
2692
2691
  var u = o;
2693
2692
  o += 1, r.current.length < u + 1 && (r.current[u] = l);
2694
2693
  var c = r.current[u];
2695
2694
  function d(f) {
2696
- r.current[u] = typeof f == "function" ? f(r.current[u]) : f, At.cancel(i), i = At(function() {
2695
+ r.current[u] = typeof f == "function" ? f(r.current[u]) : f, Nt.cancel(i), i = Nt(function() {
2697
2696
  n({}, !0);
2698
2697
  });
2699
2698
  }
@@ -2701,7 +2700,7 @@ function Pm() {
2701
2700
  }
2702
2701
  return a;
2703
2702
  }
2704
- var km = ["component"], Im = ["className"], $m = ["className"], Nm = function(t, n) {
2703
+ var km = ["component"], Im = ["className"], $m = ["className"], Am = function(t, n) {
2705
2704
  var r = E.useContext(vi);
2706
2705
  if (!r) {
2707
2706
  var o = t.component, i = o === void 0 ? "div" : o, a = wo(t, km);
@@ -2720,19 +2719,19 @@ var km = ["component"], Im = ["className"], $m = ["className"], Nm = function(t,
2720
2719
  ...d
2721
2720
  })
2722
2721
  });
2723
- }, Xd = /* @__PURE__ */ E.forwardRef(Nm);
2722
+ }, Xd = /* @__PURE__ */ E.forwardRef(Am);
2724
2723
  Xd.displayName = "RawItem";
2725
- var Am = ["prefixCls", "data", "renderItem", "renderRawItem", "itemKey", "itemWidth", "ssr", "style", "className", "maxCount", "renderRest", "renderRawRest", "suffix", "component", "itemComponent", "onVisibleChange"], vi = /* @__PURE__ */ E.createContext(null), Jd = "responsive", Zd = "invalidate";
2724
+ var Nm = ["prefixCls", "data", "renderItem", "renderRawItem", "itemKey", "itemWidth", "ssr", "style", "className", "maxCount", "renderRest", "renderRawRest", "suffix", "component", "itemComponent", "onVisibleChange"], vi = /* @__PURE__ */ E.createContext(null), Jd = "responsive", Zd = "invalidate";
2726
2725
  function Lm(e) {
2727
2726
  return "+ ".concat(e.length, " ...");
2728
2727
  }
2729
2728
  function Vm(e, t) {
2730
- 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, u = e.itemKey, c = e.itemWidth, d = c === void 0 ? 10 : c, f = e.ssr, p = e.style, g = e.className, h = e.maxCount, v = e.renderRest, m = e.renderRawRest, b = e.suffix, S = e.component, w = S === void 0 ? "div" : S, _ = e.itemComponent, C = e.onVisibleChange, D = wo(e, Am), I = Pm(), N = f === "full", A = I(null), O = Nn(A, 2), R = O[0], P = O[1], M = R || 0, k = I(/* @__PURE__ */ new Map()), L = Nn(k, 2), K = L[0], Q = L[1], q = I(0), Y = Nn(q, 2), ce = Y[0], le = Y[1], ke = I(0), be = Nn(ke, 2), ie = be[0], te = be[1], de = I(0), ge = Nn(de, 2), se = ge[0], fe = ge[1], Ie = nt(null), Te = Nn(Ie, 2), W = Te[0], re = Te[1], Ee = nt(null), Ce = Nn(Ee, 2), De = Ce[0], he = Ce[1], xe = E.useMemo(function() {
2731
- return De === null && N ? Number.MAX_SAFE_INTEGER : De || 0;
2732
- }, [De, R]), we = nt(!1), ae = Nn(we, 2), et = ae[0], Ke = ae[1], it = "".concat(r, "-item"), Se = Math.max(ce, ie), Ye = h === Jd, He = i.length && Ye, Ge = h === Zd, bt = He || typeof h == "number" && i.length > h, pt = Pe(function() {
2729
+ 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, u = e.itemKey, c = e.itemWidth, d = c === void 0 ? 10 : c, f = e.ssr, p = e.style, g = e.className, h = e.maxCount, v = e.renderRest, m = e.renderRawRest, b = e.suffix, S = e.component, w = S === void 0 ? "div" : S, _ = e.itemComponent, C = e.onVisibleChange, D = wo(e, Nm), I = Pm(), A = f === "full", N = I(null), O = An(N, 2), R = O[0], P = O[1], M = R || 0, k = I(/* @__PURE__ */ new Map()), L = An(k, 2), K = L[0], Q = L[1], q = I(0), Y = An(q, 2), ce = Y[0], le = Y[1], ke = I(0), be = An(ke, 2), ie = be[0], te = be[1], de = I(0), ge = An(de, 2), se = ge[0], fe = ge[1], Ie = nt(null), Te = An(Ie, 2), W = Te[0], re = Te[1], Ee = nt(null), Ce = An(Ee, 2), De = Ce[0], he = Ce[1], xe = E.useMemo(function() {
2730
+ return De === null && A ? Number.MAX_SAFE_INTEGER : De || 0;
2731
+ }, [De, R]), we = nt(!1), ae = An(we, 2), et = ae[0], Ke = ae[1], it = "".concat(r, "-item"), Se = Math.max(ce, ie), Ye = h === Jd, He = i.length && Ye, Ge = h === Zd, bt = He || typeof h == "number" && i.length > h, pt = Me(function() {
2733
2732
  var B = i;
2734
- return He ? R === null && N ? B = i : B = i.slice(0, Math.min(i.length, M / d)) : typeof h == "number" && (B = i.slice(0, h)), B;
2735
- }, [i, d, R, h, He]), gt = Pe(function() {
2733
+ return He ? R === null && A ? B = i : B = i.slice(0, Math.min(i.length, M / d)) : typeof h == "number" && (B = i.slice(0, h)), B;
2734
+ }, [i, d, R, h, He]), gt = Me(function() {
2736
2735
  return He ? i.slice(xe + 1) : i.slice(pt.length);
2737
2736
  }, [i, pt, He, xe]), Rt = lr(function(B, Z) {
2738
2737
  var ne;
@@ -2770,7 +2769,7 @@ function Vm(e, t) {
2770
2769
  }
2771
2770
  for (var _e = 0; _e < Z; _e += 1) {
2772
2771
  var Ze = yt(_e);
2773
- if (N && (Ze = Ze || 0), Ze === void 0) {
2772
+ if (A && (Ze = Ze || 0), Ze === void 0) {
2774
2773
  $e(_e - 1, void 0, !0);
2775
2774
  break;
2776
2775
  }
@@ -2799,7 +2798,7 @@ function Vm(e, t) {
2799
2798
  }, Ot = l ? function(B, Z) {
2800
2799
  var ne = Rt(B, Z);
2801
2800
  return /* @__PURE__ */ s(vi.Provider, {
2802
- value: Ar(Ar({}, wt), {}, {
2801
+ value: Nr(Nr({}, wt), {}, {
2803
2802
  order: Z,
2804
2803
  item: B,
2805
2804
  itemKey: ne,
@@ -2828,15 +2827,15 @@ function Vm(e, t) {
2828
2827
  };
2829
2828
  if (m)
2830
2829
  m && (Wt = /* @__PURE__ */ s(vi.Provider, {
2831
- value: Ar(Ar({}, wt), mt),
2830
+ value: Nr(Nr({}, wt), mt),
2832
2831
  children: m(gt)
2833
2832
  }));
2834
2833
  else {
2835
- var un = v || Lm;
2834
+ var cn = v || Lm;
2836
2835
  Wt = /* @__PURE__ */ s(So, {
2837
2836
  ...wt,
2838
2837
  ...mt,
2839
- children: typeof un == "function" ? un(gt) : un
2838
+ children: typeof cn == "function" ? cn(gt) : cn
2840
2839
  });
2841
2840
  }
2842
2841
  var Ft = /* @__PURE__ */ y(w, {
@@ -2889,8 +2888,8 @@ var mi = function(t) {
2889
2888
  })
2890
2889
  });
2891
2890
  }, Fm = function(t, n) {
2892
- var r, o, i = t.prefixCls, a = t.id, l = t.inputElement, u = t.disabled, c = t.tabIndex, d = t.autoFocus, f = t.autoComplete, p = t.editable, g = t.activeDescendantId, h = t.value, v = t.maxLength, m = t.onKeyDown, b = t.onMouseDown, S = t.onChange, w = t.onPaste, _ = t.onCompositionStart, C = t.onCompositionEnd, D = t.open, I = t.attrs, N = l || /* @__PURE__ */ s("input", {}), A = N, O = A.ref, R = A.props, P = R.onKeyDown, M = R.onChange, k = R.onMouseDown, L = R.onCompositionStart, K = R.onCompositionEnd, Q = R.style;
2893
- return fi(!("maxLength" in N.props), "Passing 'maxLength' to input element directly may not work because input in BaseSelect is controlled."), N = /* @__PURE__ */ E.cloneElement(N, Dt(Dt(Dt({
2891
+ var r, o, i = t.prefixCls, a = t.id, l = t.inputElement, u = t.disabled, c = t.tabIndex, d = t.autoFocus, f = t.autoComplete, p = t.editable, g = t.activeDescendantId, h = t.value, v = t.maxLength, m = t.onKeyDown, b = t.onMouseDown, S = t.onChange, w = t.onPaste, _ = t.onCompositionStart, C = t.onCompositionEnd, D = t.open, I = t.attrs, A = l || /* @__PURE__ */ s("input", {}), N = A, O = N.ref, R = N.props, P = R.onKeyDown, M = R.onChange, k = R.onMouseDown, L = R.onCompositionStart, K = R.onCompositionEnd, Q = R.style;
2892
+ return fi(!("maxLength" in A.props), "Passing 'maxLength' to input element directly may not work because input in BaseSelect is controlled."), A = /* @__PURE__ */ E.cloneElement(A, Dt(Dt(Dt({
2894
2893
  type: "search"
2895
2894
  }, R), {}, {
2896
2895
  id: a,
@@ -2899,7 +2898,7 @@ var mi = function(t) {
2899
2898
  tabIndex: c,
2900
2899
  autoComplete: f || "off",
2901
2900
  autoFocus: d,
2902
- className: ut("".concat(i, "-selection-search-input"), (r = N) === null || r === void 0 || (o = r.props) === null || o === void 0 ? void 0 : o.className),
2901
+ className: ut("".concat(i, "-selection-search-input"), (r = A) === null || r === void 0 || (o = r.props) === null || o === void 0 ? void 0 : o.className),
2903
2902
  role: "combobox",
2904
2903
  "aria-expanded": D,
2905
2904
  "aria-haspopup": "listbox",
@@ -2931,10 +2930,10 @@ var mi = function(t) {
2931
2930
  C(Y), K && K(Y);
2932
2931
  },
2933
2932
  onPaste: w
2934
- })), N;
2935
- }, Nl = /* @__PURE__ */ E.forwardRef(Fm);
2936
- Nl.displayName = "Input";
2937
- function Al(e) {
2933
+ })), A;
2934
+ }, Al = /* @__PURE__ */ E.forwardRef(Fm);
2935
+ Al.displayName = "Input";
2936
+ function Nl(e) {
2938
2937
  return Array.isArray(e) ? e : e !== void 0 ? [e] : [];
2939
2938
  }
2940
2939
  var zm = typeof window < "u" && window.document && window.document.documentElement, jm = process.env.NODE_ENV !== "test" && zm;
@@ -2960,7 +2959,7 @@ var nu = function(t) {
2960
2959
  }, Gm = function(t) {
2961
2960
  var n = t.id, r = t.prefixCls, o = t.values, i = t.open, a = t.searchValue, l = t.autoClearSearchValue, u = t.inputRef, c = t.placeholder, d = t.disabled, f = t.mode, p = t.showSearch, g = t.autoFocus, h = t.autoComplete, v = t.activeDescendantId, m = t.tabIndex, b = t.removeIcon, S = t.maxTagCount, w = t.maxTagTextLength, _ = t.maxTagPlaceholder, C = _ === void 0 ? function(re) {
2962
2961
  return "+ ".concat(re.length, " ...");
2963
- } : _, D = t.tagRender, I = t.onToggleOpen, N = t.onRemove, A = t.onInputChange, O = t.onInputPaste, R = t.onInputKeyDown, P = t.onInputMouseDown, M = t.onInputCompositionStart, k = t.onInputCompositionEnd, L = E.useRef(null), K = nt(0), Q = Nt(K, 2), q = Q[0], Y = Q[1], ce = nt(!1), le = Nt(ce, 2), ke = le[0], be = le[1], ie = "".concat(r, "-selection"), te = i || f === "multiple" && l === !1 || f === "tags" ? a : "", de = f === "tags" || f === "multiple" && l === !1 || p && (i || ke);
2962
+ } : _, D = t.tagRender, I = t.onToggleOpen, A = t.onRemove, N = t.onInputChange, O = t.onInputPaste, R = t.onInputKeyDown, P = t.onInputMouseDown, M = t.onInputCompositionStart, k = t.onInputCompositionEnd, L = E.useRef(null), K = nt(0), Q = At(K, 2), q = Q[0], Y = Q[1], ce = nt(!1), le = At(ce, 2), ke = le[0], be = le[1], ie = "".concat(r, "-selection"), te = i || f === "multiple" && l === !1 || f === "tags" ? a : "", de = f === "tags" || f === "multiple" && l === !1 || p && (i || ke);
2964
2963
  Hm(function() {
2965
2964
  Y(L.current.scrollWidth);
2966
2965
  }, [te]);
@@ -3002,7 +3001,7 @@ var nu = function(t) {
3002
3001
  we.length > w && (xe = "".concat(we.slice(0, w), "..."));
3003
3002
  }
3004
3003
  var ae = function(Ke) {
3005
- Ke && Ke.stopPropagation(), N(re);
3004
+ Ke && Ke.stopPropagation(), A(re);
3006
3005
  };
3007
3006
  return typeof D == "function" ? se(De, xe, Ee, he, ae) : ge(re, xe, Ee, he, ae);
3008
3007
  }
@@ -3023,7 +3022,7 @@ var nu = function(t) {
3023
3022
  onBlur: function() {
3024
3023
  be(!1);
3025
3024
  },
3026
- children: [/* @__PURE__ */ s(Nl, {
3025
+ children: [/* @__PURE__ */ s(Al, {
3027
3026
  ref: u,
3028
3027
  open: i,
3029
3028
  prefixCls: r,
@@ -3037,7 +3036,7 @@ var nu = function(t) {
3037
3036
  value: te,
3038
3037
  onKeyDown: R,
3039
3038
  onMouseDown: P,
3040
- onChange: A,
3039
+ onChange: N,
3041
3040
  onPaste: O,
3042
3041
  onCompositionStart: M,
3043
3042
  onCompositionEnd: k,
@@ -3065,7 +3064,7 @@ var nu = function(t) {
3065
3064
  })]
3066
3065
  });
3067
3066
  }, Wm = function(t) {
3068
- var n = t.inputElement, r = t.prefixCls, o = t.id, i = t.inputRef, a = t.disabled, l = t.autoFocus, u = t.autoComplete, c = t.activeDescendantId, d = t.mode, f = t.open, p = t.values, g = t.placeholder, h = t.tabIndex, v = t.showSearch, m = t.searchValue, b = t.activeValue, S = t.maxLength, w = t.onInputKeyDown, _ = t.onInputMouseDown, C = t.onInputChange, D = t.onInputPaste, I = t.onInputCompositionStart, N = t.onInputCompositionEnd, A = E.useState(!1), O = Nt(A, 2), R = O[0], P = O[1], M = d === "combobox", k = M || v, L = p[0], K = m || "";
3067
+ var n = t.inputElement, r = t.prefixCls, o = t.id, i = t.inputRef, a = t.disabled, l = t.autoFocus, u = t.autoComplete, c = t.activeDescendantId, d = t.mode, f = t.open, p = t.values, g = t.placeholder, h = t.tabIndex, v = t.showSearch, m = t.searchValue, b = t.activeValue, S = t.maxLength, w = t.onInputKeyDown, _ = t.onInputMouseDown, C = t.onInputChange, D = t.onInputPaste, I = t.onInputCompositionStart, A = t.onInputCompositionEnd, N = E.useState(!1), O = At(N, 2), R = O[0], P = O[1], M = d === "combobox", k = M || v, L = p[0], K = m || "";
3069
3068
  M && b && !R && (K = b), E.useEffect(function() {
3070
3069
  M && P(!1);
3071
3070
  }, [M, b]);
@@ -3084,7 +3083,7 @@ var nu = function(t) {
3084
3083
  return /* @__PURE__ */ y(Je, {
3085
3084
  children: [/* @__PURE__ */ s("span", {
3086
3085
  className: "".concat(r, "-selection-search"),
3087
- children: /* @__PURE__ */ s(Nl, {
3086
+ children: /* @__PURE__ */ s(Al, {
3088
3087
  ref: i,
3089
3088
  prefixCls: r,
3090
3089
  id: o,
@@ -3103,7 +3102,7 @@ var nu = function(t) {
3103
3102
  },
3104
3103
  onPaste: D,
3105
3104
  onCompositionStart: I,
3106
- onCompositionEnd: N,
3105
+ onCompositionEnd: A,
3107
3106
  tabIndex: h,
3108
3107
  attrs: Br(t, !0),
3109
3108
  maxLength: M ? S : void 0
@@ -3156,16 +3155,16 @@ var Um = function(t, n) {
3156
3155
  }
3157
3156
  };
3158
3157
  });
3159
- var m = Vd(0), b = Nt(m, 2), S = b[0], w = b[1], _ = function(Q) {
3158
+ var m = Vd(0), b = At(m, 2), S = b[0], w = b[1], _ = function(Q) {
3160
3159
  var q = Q.which;
3161
3160
  (q === H.UP || q === H.DOWN) && Q.preventDefault(), h && h(Q), q === H.ENTER && l === "tags" && !o.current && !a && (p == null || p(Q.target.value)), qm(q) && g(!0);
3162
3161
  }, C = function() {
3163
3162
  w(!0);
3164
3163
  }, D = Ue(null), I = function(Q) {
3165
3164
  f(Q, !0, o.current) !== !1 && g(!0);
3166
- }, N = function() {
3165
+ }, A = function() {
3167
3166
  o.current = !0;
3168
- }, A = function(Q) {
3167
+ }, N = function(Q) {
3169
3168
  o.current = !1, l !== "combobox" && I(Q.target.value);
3170
3169
  }, O = function(Q) {
3171
3170
  var q = Q.target.value;
@@ -3194,8 +3193,8 @@ var Um = function(t, n) {
3194
3193
  onInputMouseDown: C,
3195
3194
  onInputChange: O,
3196
3195
  onInputPaste: R,
3197
- onInputCompositionStart: N,
3198
- onInputCompositionEnd: A
3196
+ onInputCompositionStart: A,
3197
+ onInputCompositionEnd: N
3199
3198
  }, L = l === "multiple" || l === "tags" ? /* @__PURE__ */ s(Gm, {
3200
3199
  ...t,
3201
3200
  ...k
@@ -3380,7 +3379,7 @@ function nf(e) {
3380
3379
  var t = ly(e, "string");
3381
3380
  return dr(t) === "symbol" ? t : String(t);
3382
3381
  }
3383
- function cn(e, t, n) {
3382
+ function dn(e, t, n) {
3384
3383
  return t = nf(t), t in e ? Object.defineProperty(e, t, {
3385
3384
  value: n,
3386
3385
  enumerable: !0,
@@ -3402,7 +3401,7 @@ function On(e) {
3402
3401
  for (var t = 1; t < arguments.length; t++) {
3403
3402
  var n = arguments[t] != null ? arguments[t] : {};
3404
3403
  t % 2 ? ou(Object(n), !0).forEach(function(r) {
3405
- cn(e, r, n[r]);
3404
+ dn(e, r, n[r]);
3406
3405
  }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : ou(Object(n)).forEach(function(r) {
3407
3406
  Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(n, r));
3408
3407
  });
@@ -3504,16 +3503,16 @@ function uu(e, t) {
3504
3503
  }
3505
3504
  return "".concat(e, "-").concat(t);
3506
3505
  }
3507
- var $r = "none", Xo = "appear", Jo = "enter", Zo = "leave", cu = "none", An = "prepare", Lr = "start", Vr = "active", Ll = "end";
3506
+ var $r = "none", Xo = "appear", Jo = "enter", Zo = "leave", cu = "none", Nn = "prepare", Lr = "start", Vr = "active", Ll = "end";
3508
3507
  const vy = function() {
3509
3508
  var e = E.useRef(null);
3510
3509
  function t() {
3511
- At.cancel(e.current);
3510
+ Nt.cancel(e.current);
3512
3511
  }
3513
3512
  function n(r) {
3514
3513
  var o = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 2;
3515
3514
  t();
3516
- var i = At(function() {
3515
+ var i = Nt(function() {
3517
3516
  o <= 1 ? r({
3518
3517
  isCanceled: function() {
3519
3518
  return i !== e.current;
@@ -3528,14 +3527,14 @@ const vy = function() {
3528
3527
  };
3529
3528
  }, []), [n, t];
3530
3529
  };
3531
- var sf = to() ? ch : je, du = [An, Lr, Vr, Ll], uf = !1, my = !0;
3530
+ var sf = to() ? ch : je, du = [Nn, Lr, Vr, Ll], uf = !1, my = !0;
3532
3531
  function cf(e) {
3533
3532
  return e === Vr || e === Ll;
3534
3533
  }
3535
3534
  const yy = function(e, t) {
3536
3535
  var n = ir(cu), r = Jn(n, 2), o = r[0], i = r[1], a = vy(), l = Jn(a, 2), u = l[0], c = l[1];
3537
3536
  function d() {
3538
- i(An, !0);
3537
+ i(Nn, !0);
3539
3538
  }
3540
3539
  return sf(function() {
3541
3540
  if (o !== cu && o !== Ll) {
@@ -3571,7 +3570,7 @@ const yy = function(e, t) {
3571
3570
  }, []), [i, o];
3572
3571
  };
3573
3572
  function wy(e, t, n, r) {
3574
- var o = r.motionEnter, i = o === void 0 ? !0 : o, a = r.motionAppear, l = a === void 0 ? !0 : a, u = r.motionLeave, c = u === void 0 ? !0 : u, d = r.motionDeadline, f = r.motionLeaveImmediately, p = r.onAppearPrepare, g = r.onEnterPrepare, h = r.onLeavePrepare, v = r.onAppearStart, m = r.onEnterStart, b = r.onLeaveStart, S = r.onAppearActive, w = r.onEnterActive, _ = r.onLeaveActive, C = r.onAppearEnd, D = r.onEnterEnd, I = r.onLeaveEnd, N = r.onVisibleChanged, A = ir(), O = Jn(A, 2), R = O[0], P = O[1], M = ir($r), k = Jn(M, 2), L = k[0], K = k[1], Q = ir(null), q = Jn(Q, 2), Y = q[0], ce = q[1], le = Ue(!1), ke = Ue(null);
3573
+ var o = r.motionEnter, i = o === void 0 ? !0 : o, a = r.motionAppear, l = a === void 0 ? !0 : a, u = r.motionLeave, c = u === void 0 ? !0 : u, d = r.motionDeadline, f = r.motionLeaveImmediately, p = r.onAppearPrepare, g = r.onEnterPrepare, h = r.onLeavePrepare, v = r.onAppearStart, m = r.onEnterStart, b = r.onLeaveStart, S = r.onAppearActive, w = r.onEnterActive, _ = r.onLeaveActive, C = r.onAppearEnd, D = r.onEnterEnd, I = r.onLeaveEnd, A = r.onVisibleChanged, N = ir(), O = Jn(N, 2), R = O[0], P = O[1], M = ir($r), k = Jn(M, 2), L = k[0], K = k[1], Q = ir(null), q = Jn(Q, 2), Y = q[0], ce = q[1], le = Ue(!1), ke = Ue(null);
3575
3574
  function be() {
3576
3575
  return n();
3577
3576
  }
@@ -3587,17 +3586,17 @@ function wy(e, t, n, r) {
3587
3586
  var he, xe, we;
3588
3587
  switch (L) {
3589
3588
  case Xo:
3590
- return he = {}, cn(he, An, p), cn(he, Lr, v), cn(he, Vr, S), he;
3589
+ return he = {}, dn(he, Nn, p), dn(he, Lr, v), dn(he, Vr, S), he;
3591
3590
  case Jo:
3592
- return xe = {}, cn(xe, An, g), cn(xe, Lr, m), cn(xe, Vr, w), xe;
3591
+ return xe = {}, dn(xe, Nn, g), dn(xe, Lr, m), dn(xe, Vr, w), xe;
3593
3592
  case Zo:
3594
- return we = {}, cn(we, An, h), cn(we, Lr, b), cn(we, Vr, _), we;
3593
+ return we = {}, dn(we, Nn, h), dn(we, Lr, b), dn(we, Vr, _), we;
3595
3594
  default:
3596
3595
  return {};
3597
3596
  }
3598
3597
  }, [L]), Ie = yy(L, function(he) {
3599
- if (he === An) {
3600
- var xe = fe[An];
3598
+ if (he === Nn) {
3599
+ var xe = fe[Nn];
3601
3600
  return xe ? xe(be()) : uf;
3602
3601
  }
3603
3602
  if (re in fe) {
@@ -3626,10 +3625,10 @@ function wy(e, t, n, r) {
3626
3625
  }, []);
3627
3626
  var Ce = E.useRef(!1);
3628
3627
  je(function() {
3629
- R && (Ce.current = !0), R !== void 0 && L === $r && ((Ce.current || R) && (N == null || N(R)), Ce.current = !0);
3628
+ R && (Ce.current = !0), R !== void 0 && L === $r && ((Ce.current || R) && (A == null || A(R)), Ce.current = !0);
3630
3629
  }, [R, L]);
3631
3630
  var De = Y;
3632
- return fe[An] && re === Lr && (De = On({
3631
+ return fe[Nn] && re === Lr && (De = On({
3633
3632
  transition: "none"
3634
3633
  }, De)), [L, re, De, R != null ? R : t];
3635
3634
  }
@@ -3735,17 +3734,17 @@ function Dy(e) {
3735
3734
  return null;
3736
3735
  }
3737
3736
  }
3738
- var w = wy(v, l, S, o), _ = Jn(w, 4), C = _[0], D = _[1], I = _[2], N = _[3], A = E.useRef(N);
3739
- N && (A.current = !0);
3737
+ var w = wy(v, l, S, o), _ = Jn(w, 4), C = _[0], D = _[1], I = _[2], A = _[3], N = E.useRef(A);
3738
+ A && (N.current = !0);
3740
3739
  var O = E.useCallback(function(Q) {
3741
- m.current = Q, Nd(i, Q);
3740
+ m.current = Q, Ad(i, Q);
3742
3741
  }, [i]), R, P = On(On({}, h), {}, {
3743
3742
  visible: l
3744
3743
  });
3745
3744
  if (!f)
3746
3745
  R = null;
3747
3746
  else if (C === $r || !n(o))
3748
- N ? R = f(On({}, P), O) : !c && A.current ? R = f(On(On({}, P), {}, {
3747
+ A ? R = f(On({}, P), O) : !c && N.current ? R = f(On(On({}, P), {}, {
3749
3748
  className: g
3750
3749
  }), O) : d ? R = f(On(On({}, P), {}, {
3751
3750
  style: {
@@ -3754,8 +3753,8 @@ function Dy(e) {
3754
3753
  }), O) : R = null;
3755
3754
  else {
3756
3755
  var M, k;
3757
- D === An ? k = "prepare" : cf(D) ? k = "active" : D === Lr && (k = "start"), R = f(On(On({}, P), {}, {
3758
- className: ut(uu(p, C), (M = {}, cn(M, uu(p, "".concat(C, "-").concat(k)), k), cn(M, p, typeof p == "string"), M)),
3756
+ D === Nn ? k = "prepare" : cf(D) ? k = "active" : D === Lr && (k = "start"), R = f(On(On({}, P), {}, {
3757
+ className: ut(uu(p, C), (M = {}, dn(M, uu(p, "".concat(C, "-").concat(k)), k), dn(M, p, typeof p == "string"), M)),
3759
3758
  style: I
3760
3759
  }), O);
3761
3760
  }
@@ -3869,7 +3868,7 @@ function Fa(e) {
3869
3868
  return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
3870
3869
  }, Fa(e);
3871
3870
  }
3872
- const Ny = function(e) {
3871
+ const Ay = function(e) {
3873
3872
  if (!e)
3874
3873
  return !1;
3875
3874
  if (e instanceof HTMLElement && e.offsetParent)
@@ -3900,7 +3899,7 @@ function hu(e) {
3900
3899
  for (var t = 1; t < arguments.length; t++) {
3901
3900
  var n = arguments[t] != null ? arguments[t] : {};
3902
3901
  t % 2 ? gu(Object(n), !0).forEach(function(r) {
3903
- Ay(e, r, n[r]);
3902
+ Ny(e, r, n[r]);
3904
3903
  }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : gu(Object(n)).forEach(function(r) {
3905
3904
  Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(n, r));
3906
3905
  });
@@ -3914,7 +3913,7 @@ function za(e) {
3914
3913
  return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
3915
3914
  }, za(e);
3916
3915
  }
3917
- function Ay(e, t, n) {
3916
+ function Ny(e, t, n) {
3918
3917
  return t in e ? Object.defineProperty(e, t, {
3919
3918
  value: n,
3920
3919
  enumerable: !0,
@@ -4193,7 +4192,7 @@ function bf(e, t) {
4193
4192
  t.hasOwnProperty(n) && (e[n] = t[n]);
4194
4193
  return e;
4195
4194
  }
4196
- var Ae = {
4195
+ var Ne = {
4197
4196
  getWindow: function(t) {
4198
4197
  if (t && t.document && t.setTimeout)
4199
4198
  return t;
@@ -4229,32 +4228,32 @@ var Ae = {
4229
4228
  },
4230
4229
  merge: function() {
4231
4230
  for (var t = {}, n = 0; n < arguments.length; n++)
4232
- Ae.mix(t, n < 0 || arguments.length <= n ? void 0 : arguments[n]);
4231
+ Ne.mix(t, n < 0 || arguments.length <= n ? void 0 : arguments[n]);
4233
4232
  return t;
4234
4233
  },
4235
4234
  viewportWidth: 0,
4236
4235
  viewportHeight: 0
4237
4236
  };
4238
- bf(Ae, Dn);
4239
- var ua = Ae.getParent;
4237
+ bf(Ne, Dn);
4238
+ var ua = Ne.getParent;
4240
4239
  function Ha(e) {
4241
- if (Ae.isWindow(e) || e.nodeType === 9)
4240
+ if (Ne.isWindow(e) || e.nodeType === 9)
4242
4241
  return null;
4243
- var t = Ae.getDocument(e), n = t.body, r, o = Ae.css(e, "position"), i = o === "fixed" || o === "absolute";
4242
+ var t = Ne.getDocument(e), n = t.body, r, o = Ne.css(e, "position"), i = o === "fixed" || o === "absolute";
4244
4243
  if (!i)
4245
4244
  return e.nodeName.toLowerCase() === "html" ? null : ua(e);
4246
4245
  for (r = ua(e); r && r !== n && r.nodeType !== 9; r = ua(r))
4247
- if (o = Ae.css(r, "position"), o !== "static")
4246
+ if (o = Ne.css(r, "position"), o !== "static")
4248
4247
  return r;
4249
4248
  return null;
4250
4249
  }
4251
- var Cu = Ae.getParent;
4250
+ var Cu = Ne.getParent;
4252
4251
  function rb(e) {
4253
- if (Ae.isWindow(e) || e.nodeType === 9)
4252
+ if (Ne.isWindow(e) || e.nodeType === 9)
4254
4253
  return !1;
4255
- var t = Ae.getDocument(e), n = t.body, r = null;
4254
+ var t = Ne.getDocument(e), n = t.body, r = null;
4256
4255
  for (r = Cu(e); r && r !== n && r !== t; r = Cu(r)) {
4257
- var o = Ae.css(r, "position");
4256
+ var o = Ne.css(r, "position");
4258
4257
  if (o === "fixed")
4259
4258
  return !0;
4260
4259
  }
@@ -4266,9 +4265,9 @@ function zl(e, t) {
4266
4265
  right: 1 / 0,
4267
4266
  top: 0,
4268
4267
  bottom: 1 / 0
4269
- }, r = Ha(e), o = Ae.getDocument(e), i = o.defaultView || o.parentWindow, a = o.body, l = o.documentElement; r; ) {
4270
- if ((navigator.userAgent.indexOf("MSIE") === -1 || r.clientWidth !== 0) && r !== a && r !== l && Ae.css(r, "overflow") !== "visible") {
4271
- var u = Ae.offset(r);
4268
+ }, r = Ha(e), o = Ne.getDocument(e), i = o.defaultView || o.parentWindow, a = o.body, l = o.documentElement; r; ) {
4269
+ if ((navigator.userAgent.indexOf("MSIE") === -1 || r.clientWidth !== 0) && r !== a && r !== l && Ne.css(r, "overflow") !== "visible") {
4270
+ var u = Ne.offset(r);
4272
4271
  u.left += r.clientLeft, u.top += r.clientTop, n.top = Math.max(n.top, u.top), n.right = Math.min(
4273
4272
  n.right,
4274
4273
  u.left + r.clientWidth
@@ -4278,12 +4277,12 @@ function zl(e, t) {
4278
4277
  r = Ha(r);
4279
4278
  }
4280
4279
  var c = null;
4281
- if (!Ae.isWindow(e) && e.nodeType !== 9) {
4280
+ if (!Ne.isWindow(e) && e.nodeType !== 9) {
4282
4281
  c = e.style.position;
4283
- var d = Ae.css(e, "position");
4282
+ var d = Ne.css(e, "position");
4284
4283
  d === "absolute" && (e.style.position = "fixed");
4285
4284
  }
4286
- var f = Ae.getWindowScrollLeft(i), p = Ae.getWindowScrollTop(i), g = Ae.viewportWidth(i), h = Ae.viewportHeight(i), v = l.scrollWidth, m = l.scrollHeight, b = window.getComputedStyle(a);
4285
+ var f = Ne.getWindowScrollLeft(i), p = Ne.getWindowScrollTop(i), g = Ne.viewportWidth(i), h = Ne.viewportHeight(i), v = l.scrollWidth, m = l.scrollHeight, b = window.getComputedStyle(a);
4287
4286
  if (b.overflowX === "hidden" && (v = i.innerWidth), b.overflowY === "hidden" && (m = i.innerHeight), e.style && (e.style.position = c), t || rb(e))
4288
4287
  n.left = Math.max(n.left, f), n.top = Math.max(n.top, p), n.right = Math.min(n.right, f + g), n.bottom = Math.min(n.bottom, p + h);
4289
4288
  else {
@@ -4295,22 +4294,22 @@ function zl(e, t) {
4295
4294
  return n.top >= 0 && n.left >= 0 && n.bottom > n.top && n.right > n.left ? n : null;
4296
4295
  }
4297
4296
  function ob(e, t, n, r) {
4298
- var o = Ae.clone(e), i = {
4297
+ var o = Ne.clone(e), i = {
4299
4298
  width: t.width,
4300
4299
  height: t.height
4301
4300
  };
4302
- return r.adjustX && o.left < n.left && (o.left = n.left), r.resizeWidth && o.left >= n.left && o.left + i.width > n.right && (i.width -= o.left + i.width - n.right), r.adjustX && o.left + i.width > n.right && (o.left = Math.max(n.right - i.width, n.left)), r.adjustY && o.top < n.top && (o.top = n.top), r.resizeHeight && o.top >= n.top && o.top + i.height > n.bottom && (i.height -= o.top + i.height - n.bottom), r.adjustY && o.top + i.height > n.bottom && (o.top = Math.max(n.bottom - i.height, n.top)), Ae.mix(o, i);
4301
+ return r.adjustX && o.left < n.left && (o.left = n.left), r.resizeWidth && o.left >= n.left && o.left + i.width > n.right && (i.width -= o.left + i.width - n.right), r.adjustX && o.left + i.width > n.right && (o.left = Math.max(n.right - i.width, n.left)), r.adjustY && o.top < n.top && (o.top = n.top), r.resizeHeight && o.top >= n.top && o.top + i.height > n.bottom && (i.height -= o.top + i.height - n.bottom), r.adjustY && o.top + i.height > n.bottom && (o.top = Math.max(n.bottom - i.height, n.top)), Ne.mix(o, i);
4303
4302
  }
4304
4303
  function jl(e) {
4305
4304
  var t, n, r;
4306
- if (!Ae.isWindow(e) && e.nodeType !== 9)
4307
- t = Ae.offset(e), n = Ae.outerWidth(e), r = Ae.outerHeight(e);
4305
+ if (!Ne.isWindow(e) && e.nodeType !== 9)
4306
+ t = Ne.offset(e), n = Ne.outerWidth(e), r = Ne.outerHeight(e);
4308
4307
  else {
4309
- var o = Ae.getWindow(e);
4308
+ var o = Ne.getWindow(e);
4310
4309
  t = {
4311
- left: Ae.getWindowScrollLeft(o),
4312
- top: Ae.getWindowScrollTop(o)
4313
- }, n = Ae.viewportWidth(o), r = Ae.viewportHeight(o);
4310
+ left: Ne.getWindowScrollLeft(o),
4311
+ top: Ne.getWindowScrollTop(o)
4312
+ }, n = Ne.viewportWidth(o), r = Ne.viewportHeight(o);
4314
4313
  }
4315
4314
  return t.width = n, t.height = r, t;
4316
4315
  }
@@ -4342,7 +4341,7 @@ function ab(e, t, n) {
4342
4341
  }
4343
4342
  function ni(e, t, n) {
4344
4343
  var r = [];
4345
- return Ae.each(e, function(o) {
4344
+ return Ne.each(e, function(o) {
4346
4345
  r.push(o.replace(t, function(i) {
4347
4346
  return n[i];
4348
4347
  }));
@@ -4363,7 +4362,7 @@ function wf(e, t, n, r) {
4363
4362
  i = [].concat(i), a = [].concat(a), l = l || {};
4364
4363
  var c = {}, d = 0, f = !!(l && l.alwaysByViewport), p = zl(u, f), g = jl(u);
4365
4364
  Ou(i, g), Ou(a, t);
4366
- var h = ti(g, t, o, i, a), v = Ae.merge(g, h);
4365
+ var h = ti(g, t, o, i, a), v = Ne.merge(g, h);
4367
4366
  if (p && (l.adjustX || l.adjustY) && r) {
4368
4367
  if (l.adjustX && _u(h, g, p)) {
4369
4368
  var m = ni(o, /[lr]/gi, {
@@ -4379,21 +4378,21 @@ function wf(e, t, n, r) {
4379
4378
  }), C = ri(i, 1), D = ri(a, 1), I = ti(g, t, _, C, D);
4380
4379
  ab(I, g, p) || (d = 1, o = _, i = C, a = D);
4381
4380
  }
4382
- d && (h = ti(g, t, o, i, a), Ae.mix(v, h));
4383
- var N = _u(h, g, p), A = Eu(h, g, p);
4384
- if (N || A) {
4381
+ d && (h = ti(g, t, o, i, a), Ne.mix(v, h));
4382
+ var A = _u(h, g, p), N = Eu(h, g, p);
4383
+ if (A || N) {
4385
4384
  var O = o;
4386
- N && (O = ni(o, /[lr]/gi, {
4385
+ A && (O = ni(o, /[lr]/gi, {
4387
4386
  l: "r",
4388
4387
  r: "l"
4389
- })), A && (O = ni(o, /[tb]/gi, {
4388
+ })), N && (O = ni(o, /[tb]/gi, {
4390
4389
  t: "b",
4391
4390
  b: "t"
4392
4391
  })), o = O, i = n.offset || [0, 0], a = n.targetOffset || [0, 0];
4393
4392
  }
4394
- c.adjustX = l.adjustX && N, c.adjustY = l.adjustY && A, (c.adjustX || c.adjustY) && (v = ob(h, g, p, c));
4393
+ c.adjustX = l.adjustX && A, c.adjustY = l.adjustY && N, (c.adjustX || c.adjustY) && (v = ob(h, g, p, c));
4395
4394
  }
4396
- return v.width !== g.width && Ae.css(u, "width", Ae.width(u) + v.width - g.width), v.height !== g.height && Ae.css(u, "height", Ae.height(u) + v.height - g.height), Ae.offset(u, {
4395
+ return v.width !== g.width && Ne.css(u, "width", Ne.width(u) + v.width - g.width), v.height !== g.height && Ne.css(u, "height", Ne.height(u) + v.height - g.height), Ne.offset(u, {
4397
4396
  left: v.left,
4398
4397
  top: v.top
4399
4398
  }, {
@@ -4419,7 +4418,7 @@ function Kl(e, t, n) {
4419
4418
  Kl.__getOffsetParent = Ha;
4420
4419
  Kl.__getVisibleRectForElement = zl;
4421
4420
  function sb(e, t, n) {
4422
- var r, o, i = Ae.getDocument(e), a = i.defaultView || i.parentWindow, l = Ae.getWindowScrollLeft(a), u = Ae.getWindowScrollTop(a), c = Ae.viewportWidth(a), d = Ae.viewportHeight(a);
4421
+ var r, o, i = Ne.getDocument(e), a = i.defaultView || i.parentWindow, l = Ne.getWindowScrollLeft(a), u = Ne.getWindowScrollTop(a), c = Ne.viewportWidth(a), d = Ne.viewportHeight(a);
4423
4422
  "pageX" in t ? r = t.pageX : r = l + t.clientX, "pageY" in t ? o = t.pageY : o = u + t.clientY;
4424
4423
  var f = {
4425
4424
  left: r,
@@ -4484,12 +4483,12 @@ var Ki = no, Ib = Ki;
4484
4483
  function $b() {
4485
4484
  this.__data__ = new Ib(), this.size = 0;
4486
4485
  }
4487
- var Nb = $b;
4488
- function Ab(e) {
4486
+ var Ab = $b;
4487
+ function Nb(e) {
4489
4488
  var t = this.__data__, n = t.delete(e);
4490
4489
  return this.size = t.size, n;
4491
4490
  }
4492
- var Lb = Ab;
4491
+ var Lb = Nb;
4493
4492
  function Vb(e) {
4494
4493
  return this.__data__.get(e);
4495
4494
  }
@@ -4558,11 +4557,11 @@ function $w(e) {
4558
4557
  var t = xw(e) ? Iw : Tw;
4559
4558
  return t.test(Rw(e));
4560
4559
  }
4561
- var Nw = $w;
4562
- function Aw(e, t) {
4560
+ var Aw = $w;
4561
+ function Nw(e, t) {
4563
4562
  return e == null ? void 0 : e[t];
4564
4563
  }
4565
- var Lw = Aw, Vw = Nw, Fw = Lw;
4564
+ var Lw = Nw, Vw = Aw, Fw = Lw;
4566
4565
  function zw(e, t) {
4567
4566
  var n = Fw(e, t);
4568
4567
  return Vw(n) ? n : void 0;
@@ -4640,11 +4639,11 @@ function kS(e) {
4640
4639
  return PS(this, e).has(e);
4641
4640
  }
4642
4641
  var IS = kS, $S = Gi;
4643
- function NS(e, t) {
4642
+ function AS(e, t) {
4644
4643
  var n = $S(this, e), r = n.size;
4645
4644
  return n.set(e, t), this.size += n.size == r ? 0 : 1, this;
4646
4645
  }
4647
- var AS = NS, LS = wS, VS = OS, FS = MS, zS = IS, jS = AS;
4646
+ var NS = AS, LS = wS, VS = OS, FS = MS, zS = IS, jS = NS;
4648
4647
  function io(e) {
4649
4648
  var t = -1, n = e == null ? 0 : e.length;
4650
4649
  for (this.clear(); ++t < n; ) {
@@ -4668,7 +4667,7 @@ function WS(e, t) {
4668
4667
  }
4669
4668
  return n.set(e, t), this.size = n.size, this;
4670
4669
  }
4671
- var qS = WS, US = Ki, YS = Nb, QS = Lb, XS = Fb, JS = jb, ZS = qS;
4670
+ var qS = WS, US = Ki, YS = Ab, QS = Lb, XS = Fb, JS = jb, ZS = qS;
4672
4671
  function ao(e) {
4673
4672
  var t = this.__data__ = new US(e);
4674
4673
  this.size = t.size;
@@ -4753,7 +4752,7 @@ function EC(e) {
4753
4752
  n[++t] = r;
4754
4753
  }), n;
4755
4754
  }
4756
- var RC = EC, $u = Hl, Nu = CC, OC = Sf, TC = Tf, DC = _C, MC = RC, PC = 1, kC = 2, IC = "[object Boolean]", $C = "[object Date]", NC = "[object Error]", AC = "[object Map]", LC = "[object Number]", VC = "[object RegExp]", FC = "[object Set]", zC = "[object String]", jC = "[object Symbol]", KC = "[object ArrayBuffer]", HC = "[object DataView]", Au = $u ? $u.prototype : void 0, da = Au ? Au.valueOf : void 0;
4755
+ var RC = EC, $u = Hl, Au = CC, OC = Sf, TC = Tf, DC = _C, MC = RC, PC = 1, kC = 2, IC = "[object Boolean]", $C = "[object Date]", AC = "[object Error]", NC = "[object Map]", LC = "[object Number]", VC = "[object RegExp]", FC = "[object Set]", zC = "[object String]", jC = "[object Symbol]", KC = "[object ArrayBuffer]", HC = "[object DataView]", Nu = $u ? $u.prototype : void 0, da = Nu ? Nu.valueOf : void 0;
4757
4756
  function BC(e, t, n, r, o, i, a) {
4758
4757
  switch (n) {
4759
4758
  case HC:
@@ -4761,17 +4760,17 @@ function BC(e, t, n, r, o, i, a) {
4761
4760
  return !1;
4762
4761
  e = e.buffer, t = t.buffer;
4763
4762
  case KC:
4764
- return !(e.byteLength != t.byteLength || !i(new Nu(e), new Nu(t)));
4763
+ return !(e.byteLength != t.byteLength || !i(new Au(e), new Au(t)));
4765
4764
  case IC:
4766
4765
  case $C:
4767
4766
  case LC:
4768
4767
  return OC(+e, +t);
4769
- case NC:
4768
+ case AC:
4770
4769
  return e.name == t.name && e.message == t.message;
4771
4770
  case VC:
4772
4771
  case zC:
4773
4772
  return e == t + "";
4774
- case AC:
4773
+ case NC:
4775
4774
  var l = DC;
4776
4775
  case FC:
4777
4776
  var u = r & PC;
@@ -4852,9 +4851,9 @@ var Ox = Rx, Tx = 9007199254740991;
4852
4851
  function Dx(e) {
4853
4852
  return typeof e == "number" && e > -1 && e % 1 == 0 && e <= Tx;
4854
4853
  }
4855
- var Mf = Dx, Mx = Hi, Px = Mf, kx = Wi, Ix = "[object Arguments]", $x = "[object Array]", Nx = "[object Boolean]", Ax = "[object Date]", Lx = "[object Error]", Vx = "[object Function]", Fx = "[object Map]", zx = "[object Number]", jx = "[object Object]", Kx = "[object RegExp]", Hx = "[object Set]", Bx = "[object String]", Gx = "[object WeakMap]", Wx = "[object ArrayBuffer]", qx = "[object DataView]", Ux = "[object Float32Array]", Yx = "[object Float64Array]", Qx = "[object Int8Array]", Xx = "[object Int16Array]", Jx = "[object Int32Array]", Zx = "[object Uint8Array]", e0 = "[object Uint8ClampedArray]", t0 = "[object Uint16Array]", n0 = "[object Uint32Array]", St = {};
4854
+ var Mf = Dx, Mx = Hi, Px = Mf, kx = Wi, Ix = "[object Arguments]", $x = "[object Array]", Ax = "[object Boolean]", Nx = "[object Date]", Lx = "[object Error]", Vx = "[object Function]", Fx = "[object Map]", zx = "[object Number]", jx = "[object Object]", Kx = "[object RegExp]", Hx = "[object Set]", Bx = "[object String]", Gx = "[object WeakMap]", Wx = "[object ArrayBuffer]", qx = "[object DataView]", Ux = "[object Float32Array]", Yx = "[object Float64Array]", Qx = "[object Int8Array]", Xx = "[object Int16Array]", Jx = "[object Int32Array]", Zx = "[object Uint8Array]", e0 = "[object Uint8ClampedArray]", t0 = "[object Uint16Array]", n0 = "[object Uint32Array]", St = {};
4856
4855
  St[Ux] = St[Yx] = St[Qx] = St[Xx] = St[Jx] = St[Zx] = St[e0] = St[t0] = St[n0] = !0;
4857
- St[Ix] = St[$x] = St[Wx] = St[Nx] = St[qx] = St[Ax] = St[Lx] = St[Vx] = St[Fx] = St[zx] = St[jx] = St[Kx] = St[Hx] = St[Bx] = St[Gx] = !1;
4856
+ St[Ix] = St[$x] = St[Wx] = St[Ax] = St[qx] = St[Nx] = St[Lx] = St[Vx] = St[Fx] = St[zx] = St[jx] = St[Kx] = St[Hx] = St[Bx] = St[Gx] = !1;
4858
4857
  function r0(e) {
4859
4858
  return kx(e) && Px(e.length) && !!St[Mx(e)];
4860
4859
  }
@@ -4902,11 +4901,11 @@ function k0(e) {
4902
4901
  P0.call(e, n) && n != "constructor" && t.push(n);
4903
4902
  return t;
4904
4903
  }
4905
- var I0 = k0, $0 = Ef, N0 = Mf;
4906
- function A0(e) {
4907
- return e != null && N0(e.length) && !$0(e);
4904
+ var I0 = k0, $0 = Ef, A0 = Mf;
4905
+ function N0(e) {
4906
+ return e != null && A0(e.length) && !$0(e);
4908
4907
  }
4909
- var L0 = A0, V0 = b0, F0 = I0, z0 = L0;
4908
+ var L0 = N0, V0 = b0, F0 = I0, z0 = L0;
4910
4909
  function j0(e) {
4911
4910
  return z0(e) ? V0(e) : F0(e);
4912
4911
  }
@@ -4994,10 +4993,10 @@ function I_(e, t) {
4994
4993
  return k_(e, t);
4995
4994
  }
4996
4995
  var $_ = I_;
4997
- function N_(e, t) {
4996
+ function A_(e, t) {
4998
4997
  return e === t ? !0 : !e || !t ? !1 : "pageX" in t && "pageY" in t ? e.pageX === t.pageX && e.pageY === t.pageY : "clientX" in t && "clientY" in t ? e.clientX === t.clientX && e.clientY === t.clientY : !1;
4999
4998
  }
5000
- function A_(e, t) {
4999
+ function N_(e, t) {
5001
5000
  e !== document.activeElement && ci(t, e) && typeof e.focus == "function" && e.focus();
5002
5001
  }
5003
5002
  function ec(e, t) {
@@ -5050,12 +5049,12 @@ var V_ = function(t, n) {
5050
5049
  var r = t.children, o = t.disabled, i = t.target, a = t.align, l = t.onAlign, u = t.monitorWindowResize, c = t.monitorBufferTime, d = c === void 0 ? 0 : c, f = F.useRef({}), p = F.useRef(), g = F.Children.only(r), h = F.useRef({});
5051
5050
  h.current.disabled = o, h.current.target = i, h.current.align = a, h.current.onAlign = l;
5052
5051
  var v = L_(function() {
5053
- var D = h.current, I = D.disabled, N = D.target, A = D.align, O = D.onAlign;
5054
- if (!I && N) {
5055
- var R = p.current, P, M = tc(N), k = nc(N);
5056
- f.current.element = M, f.current.point = k, f.current.align = A;
5052
+ var D = h.current, I = D.disabled, A = D.target, N = D.align, O = D.onAlign;
5053
+ if (!I && A) {
5054
+ var R = p.current, P, M = tc(A), k = nc(A);
5055
+ f.current.element = M, f.current.point = k, f.current.align = N;
5057
5056
  var L = document, K = L.activeElement;
5058
- return M && Ny(M) ? P = Kl(R, M, A) : k && (P = sb(R, k, A)), A_(K, R), O && P && O(R, P), !0;
5057
+ return M && Ay(M) ? P = Kl(R, M, N) : k && (P = sb(R, k, N)), N_(K, R), O && P && O(R, P), !0;
5059
5058
  }
5060
5059
  return !1;
5061
5060
  }, d), m = ff(v, 2), b = m[0], S = m[1], w = F.useRef({
@@ -5067,7 +5066,7 @@ var V_ = function(t, n) {
5067
5066
  });
5068
5067
  F.useEffect(function() {
5069
5068
  var D = tc(i), I = nc(i);
5070
- p.current !== _.current.element && (_.current.cancel(), _.current.element = p.current, _.current.cancel = ec(p.current, b)), (f.current.element !== D || !N_(f.current.point, I) || !$_(f.current.align, a)) && (b(), w.current.element !== D && (w.current.cancel(), w.current.element = D, w.current.cancel = ec(D, b)));
5069
+ p.current !== _.current.element && (_.current.cancel(), _.current.element = p.current, _.current.cancel = ec(p.current, b)), (f.current.element !== D || !A_(f.current.point, I) || !$_(f.current.align, a)) && (b(), w.current.element !== D && (w.current.cancel(), w.current.element = D, w.current.cancel = ec(D, b)));
5071
5070
  }), F.useEffect(function() {
5072
5071
  o ? S() : b();
5073
5072
  }, [o]);
@@ -5120,7 +5119,7 @@ function Qa() {
5120
5119
  if (ce === "completed") {
5121
5120
  if (le === "throw")
5122
5121
  throw ke;
5123
- return A();
5122
+ return N();
5124
5123
  }
5125
5124
  for (Y.method = le, Y.arg = ke; ; ) {
5126
5125
  var be = Y.delegate;
@@ -5180,7 +5179,7 @@ function Qa() {
5180
5179
  l(h, o, function() {
5181
5180
  return this;
5182
5181
  });
5183
- var v = Object.getPrototypeOf, m = v && v(v(N([])));
5182
+ var v = Object.getPrototypeOf, m = v && v(v(A([])));
5184
5183
  m && m !== t && n.call(m, o) && (h = m);
5185
5184
  var b = g.prototype = f.prototype = Object.create(h);
5186
5185
  function S(O) {
@@ -5248,7 +5247,7 @@ function Qa() {
5248
5247
  tryLoc: "root"
5249
5248
  }], O.forEach(C, this), this.reset(!0);
5250
5249
  }
5251
- function N(O) {
5250
+ function A(O) {
5252
5251
  if (O) {
5253
5252
  var R = O[o];
5254
5253
  if (R)
@@ -5266,10 +5265,10 @@ function Qa() {
5266
5265
  }
5267
5266
  }
5268
5267
  return {
5269
- next: A
5268
+ next: N
5270
5269
  };
5271
5270
  }
5272
- function A() {
5271
+ function N() {
5273
5272
  return {
5274
5273
  value: void 0,
5275
5274
  done: !0
@@ -5308,7 +5307,7 @@ function Qa() {
5308
5307
  }
5309
5308
  return M.done = !0, M;
5310
5309
  };
5311
- }, e.values = N, I.prototype = {
5310
+ }, e.values = A, I.prototype = {
5312
5311
  constructor: I,
5313
5312
  reset: function(R) {
5314
5313
  if (this.prev = 0, this.next = 0, this.sent = this._sent = void 0, this.done = !1, this.delegate = null, this.method = "next", this.arg = void 0, this.tryEntries.forEach(D), !R)
@@ -5392,7 +5391,7 @@ function Qa() {
5392
5391
  },
5393
5392
  delegateYield: function(R, P, M) {
5394
5393
  return this.delegate = {
5395
- iterator: N(R),
5394
+ iterator: A(R),
5396
5395
  resultName: P,
5397
5396
  nextLoc: M
5398
5397
  }, this.method === "next" && (this.arg = void 0), d;
@@ -5430,10 +5429,10 @@ const z_ = function(e, t) {
5430
5429
  i(d, !0);
5431
5430
  }
5432
5431
  function u() {
5433
- At.cancel(a.current);
5432
+ Nt.cancel(a.current);
5434
5433
  }
5435
5434
  function c(d) {
5436
- u(), a.current = At(function() {
5435
+ u(), a.current = Nt(function() {
5437
5436
  l(function(f) {
5438
5437
  switch (o) {
5439
5438
  case "align":
@@ -5453,7 +5452,7 @@ const z_ = function(e, t) {
5453
5452
  t();
5454
5453
  break;
5455
5454
  }
5456
- o && (a.current = At(/* @__PURE__ */ F_(/* @__PURE__ */ Qa().mark(function d() {
5455
+ o && (a.current = Nt(/* @__PURE__ */ F_(/* @__PURE__ */ Qa().mark(function d() {
5457
5456
  var f, p;
5458
5457
  return Qa().wrap(function(h) {
5459
5458
  for (; ; )
@@ -5493,8 +5492,8 @@ const z_ = function(e, t) {
5493
5492
  }, [e, r]);
5494
5493
  return [a, i];
5495
5494
  };
5496
- var Nf = /* @__PURE__ */ E.forwardRef(function(e, t) {
5497
- var n = e.visible, r = e.prefixCls, o = e.className, i = e.style, a = e.children, l = e.zIndex, u = e.stretch, c = e.destroyPopupOnHide, d = e.forceRender, f = e.align, p = e.point, g = e.getRootDomNode, h = e.getClassNameFromAlign, v = e.onAlign, m = e.onMouseEnter, b = e.onMouseLeave, S = e.onMouseDown, w = e.onTouchStart, _ = e.onClick, C = Ue(), D = Ue(), I = nt(), N = bn(I, 2), A = N[0], O = N[1], R = j_(u), P = bn(R, 2), M = P[0], k = P[1];
5495
+ var Af = /* @__PURE__ */ E.forwardRef(function(e, t) {
5496
+ var n = e.visible, r = e.prefixCls, o = e.className, i = e.style, a = e.children, l = e.zIndex, u = e.stretch, c = e.destroyPopupOnHide, d = e.forceRender, f = e.align, p = e.point, g = e.getRootDomNode, h = e.getClassNameFromAlign, v = e.onAlign, m = e.onMouseEnter, b = e.onMouseLeave, S = e.onMouseDown, w = e.onTouchStart, _ = e.onClick, C = Ue(), D = Ue(), I = nt(), A = bn(I, 2), N = A[0], O = A[1], R = j_(u), P = bn(R, 2), M = P[0], k = P[1];
5498
5497
  function L() {
5499
5498
  u && k(g());
5500
5499
  }
@@ -5511,7 +5510,7 @@ var Nf = /* @__PURE__ */ E.forwardRef(function(e, t) {
5511
5510
  }
5512
5511
  function ge(re, Ee) {
5513
5512
  var Ce = h(Ee);
5514
- A !== Ce && O(Ce), be(function(De) {
5513
+ N !== Ce && O(Ce), be(function(De) {
5515
5514
  return De + 1;
5516
5515
  }), q === "align" && (v == null || v(re, Ee));
5517
5516
  }
@@ -5563,7 +5562,7 @@ var Nf = /* @__PURE__ */ E.forwardRef(function(e, t) {
5563
5562
  removeOnLeave: c,
5564
5563
  forceRender: d,
5565
5564
  children: function(re, Ee) {
5566
- var Ce = re.className, De = re.style, he = ut(r, o, A, Ce);
5565
+ var Ce = re.className, De = re.style, he = ut(r, o, N, Ce);
5567
5566
  return /* @__PURE__ */ s($f, {
5568
5567
  target: te(),
5569
5568
  ref: C,
@@ -5586,8 +5585,8 @@ var Nf = /* @__PURE__ */ E.forwardRef(function(e, t) {
5586
5585
  }
5587
5586
  });
5588
5587
  });
5589
- Nf.displayName = "PopupInner";
5590
- var Af = /* @__PURE__ */ E.forwardRef(function(e, t) {
5588
+ Af.displayName = "PopupInner";
5589
+ var Nf = /* @__PURE__ */ E.forwardRef(function(e, t) {
5591
5590
  var n = e.prefixCls, r = e.visible, o = e.zIndex, i = e.children, a = e.mobile;
5592
5591
  a = a === void 0 ? {} : a;
5593
5592
  var l = a.popupClassName, u = a.popupStyle, c = a.popupMotion, d = c === void 0 ? {} : c, f = a.popupRender, p = e.onClick, g = E.useRef();
@@ -5623,7 +5622,7 @@ var Af = /* @__PURE__ */ E.forwardRef(function(e, t) {
5623
5622
  }
5624
5623
  });
5625
5624
  });
5626
- Af.displayName = "MobilePopupInner";
5625
+ Nf.displayName = "MobilePopupInner";
5627
5626
  var K_ = ["visible", "mobile"], Lf = /* @__PURE__ */ E.forwardRef(function(e, t) {
5628
5627
  var n = e.visible, r = e.mobile, o = ay(e, K_), i = nt(n), a = bn(i, 2), l = a[0], u = a[1], c = nt(!1), d = bn(c, 2), f = d[0], p = d[1], g = Qt(Qt({}, o), {}, {
5629
5628
  visible: l
@@ -5631,11 +5630,11 @@ var K_ = ["visible", "mobile"], Lf = /* @__PURE__ */ E.forwardRef(function(e, t)
5631
5630
  je(function() {
5632
5631
  u(n), n && r && p($d());
5633
5632
  }, [n, r]);
5634
- var h = f ? /* @__PURE__ */ s(Af, {
5633
+ var h = f ? /* @__PURE__ */ s(Nf, {
5635
5634
  ...g,
5636
5635
  mobile: r,
5637
5636
  ref: t
5638
- }) : /* @__PURE__ */ s(Nf, {
5637
+ }) : /* @__PURE__ */ s(Af, {
5639
5638
  ...g,
5640
5639
  ref: t
5641
5640
  });
@@ -5723,12 +5722,12 @@ function W_(e) {
5723
5722
  var c = [], d = a.props, f = d.popupPlacement, p = d.builtinPlacements, g = d.prefixCls, h = d.alignPoint, v = d.getPopupClassNameFromAlign;
5724
5723
  return f && p && c.push(oy(p, g, u, h)), v && c.push(v(u)), c.join(" ");
5725
5724
  }), qe(Xe(a), "getComponent", function() {
5726
- var u = a.props, c = u.prefixCls, d = u.destroyPopupOnHide, f = u.popupClassName, p = u.onPopupAlign, g = u.popupMotion, h = u.popupAnimation, v = u.popupTransitionName, m = u.popupStyle, b = u.mask, S = u.maskAnimation, w = u.maskTransitionName, _ = u.maskMotion, C = u.zIndex, D = u.popup, I = u.stretch, N = u.alignPoint, A = u.mobile, O = u.forceRender, R = u.onPopupClick, P = a.state, M = P.popupVisible, k = P.point, L = a.getPopupAlign(), K = {};
5725
+ var u = a.props, c = u.prefixCls, d = u.destroyPopupOnHide, f = u.popupClassName, p = u.onPopupAlign, g = u.popupMotion, h = u.popupAnimation, v = u.popupTransitionName, m = u.popupStyle, b = u.mask, S = u.maskAnimation, w = u.maskTransitionName, _ = u.maskMotion, C = u.zIndex, D = u.popup, I = u.stretch, A = u.alignPoint, N = u.mobile, O = u.forceRender, R = u.onPopupClick, P = a.state, M = P.popupVisible, k = P.point, L = a.getPopupAlign(), K = {};
5727
5726
  return a.isMouseEnterToShow() && (K.onMouseEnter = a.onPopupMouseEnter), a.isMouseLeaveToHide() && (K.onMouseLeave = a.onPopupMouseLeave), K.onMouseDown = a.onPopupMouseDown, K.onTouchStart = a.onPopupMouseDown, /* @__PURE__ */ s(Lf, {
5728
5727
  prefixCls: c,
5729
5728
  destroyPopupOnHide: d,
5730
5729
  visible: M,
5731
- point: N && k,
5730
+ point: A && k,
5732
5731
  className: f,
5733
5732
  align: L,
5734
5733
  onAlign: p,
@@ -5746,15 +5745,15 @@ function W_(e) {
5746
5745
  maskMotion: _,
5747
5746
  ref: a.popupRef,
5748
5747
  motion: g,
5749
- mobile: A,
5748
+ mobile: N,
5750
5749
  forceRender: O,
5751
5750
  onClick: R,
5752
5751
  children: typeof D == "function" ? D() : D
5753
5752
  });
5754
5753
  }), qe(Xe(a), "attachParent", function(u) {
5755
- At.cancel(a.attachId);
5754
+ Nt.cancel(a.attachId);
5756
5755
  var c = a.props, d = c.getPopupContainer, f = c.getDocument, p = a.getRootDomNode(), g;
5757
- d ? (p || d.length === 0) && (g = d(p)) : g = f(a.getRootDomNode()).body, g ? g.appendChild(u) : a.attachId = At(function() {
5756
+ d ? (p || d.length === 0) && (g = d(p)) : g = f(a.getRootDomNode()).body, g ? g.appendChild(u) : a.attachId = Nt(function() {
5758
5757
  a.attachParent(u);
5759
5758
  });
5760
5759
  }), qe(Xe(a), "getContainer", function() {
@@ -5805,7 +5804,7 @@ function W_(e) {
5805
5804
  }, {
5806
5805
  key: "componentWillUnmount",
5807
5806
  value: function() {
5808
- this.clearDelayTimer(), this.clearOutsideHandler(), clearTimeout(this.mouseDownTimeout), At.cancel(this.attachId);
5807
+ this.clearDelayTimer(), this.clearOutsideHandler(), clearTimeout(this.mouseDownTimeout), Nt.cancel(this.attachId);
5809
5808
  }
5810
5809
  }, {
5811
5810
  key: "getPopupDomNode",
@@ -6021,11 +6020,11 @@ var U_ = ["prefixCls", "disabled", "visible", "children", "popupElement", "conta
6021
6020
  }, Q_ = function(t, n) {
6022
6021
  var r = t.prefixCls;
6023
6022
  t.disabled;
6024
- var o = t.visible, i = t.children, a = t.popupElement, l = t.containerWidth, u = t.animation, c = t.transitionName, d = t.dropdownStyle, f = t.dropdownClassName, p = t.direction, g = p === void 0 ? "ltr" : p, h = t.placement, v = t.dropdownMatchSelectWidth, m = t.dropdownRender, b = t.dropdownAlign, S = t.getPopupContainer, w = t.empty, _ = t.getTriggerDOMNode, C = t.onPopupVisibleChange, D = t.onPopupMouseEnter, I = eo(t, U_), N = "".concat(r, "-dropdown"), A = a;
6025
- m && (A = m(a));
6023
+ var o = t.visible, i = t.children, a = t.popupElement, l = t.containerWidth, u = t.animation, c = t.transitionName, d = t.dropdownStyle, f = t.dropdownClassName, p = t.direction, g = p === void 0 ? "ltr" : p, h = t.placement, v = t.dropdownMatchSelectWidth, m = t.dropdownRender, b = t.dropdownAlign, S = t.getPopupContainer, w = t.empty, _ = t.getTriggerDOMNode, C = t.onPopupVisibleChange, D = t.onPopupMouseEnter, I = eo(t, U_), A = "".concat(r, "-dropdown"), N = a;
6024
+ m && (N = m(a));
6026
6025
  var O = E.useMemo(function() {
6027
6026
  return Y_(v);
6028
- }, [v]), R = u ? "".concat(N, "-").concat(u) : c, P = E.useRef(null);
6027
+ }, [v]), R = u ? "".concat(A, "-").concat(u) : c, P = E.useRef(null);
6029
6028
  E.useImperativeHandle(n, function() {
6030
6029
  return {
6031
6030
  getPopupElement: function() {
@@ -6042,17 +6041,17 @@ var U_ = ["prefixCls", "disabled", "visible", "children", "popupElement", "conta
6042
6041
  hideAction: C ? ["click"] : [],
6043
6042
  popupPlacement: h || (g === "rtl" ? "bottomRight" : "bottomLeft"),
6044
6043
  builtinPlacements: O,
6045
- prefixCls: N,
6044
+ prefixCls: A,
6046
6045
  popupTransitionName: R,
6047
6046
  popup: /* @__PURE__ */ s("div", {
6048
6047
  ref: P,
6049
6048
  onMouseEnter: D,
6050
- children: A
6049
+ children: N
6051
6050
  }),
6052
6051
  popupAlign: b,
6053
6052
  popupVisible: o,
6054
6053
  getPopupContainer: S,
6055
- popupClassName: ut(f, Tt({}, "".concat(N, "-empty"), w)),
6054
+ popupClassName: ut(f, Tt({}, "".concat(A, "-empty"), w)),
6056
6055
  popupStyle: M,
6057
6056
  getTriggerDOMNode: _,
6058
6057
  onPopupVisibleChange: C,
@@ -6120,7 +6119,7 @@ function Z_(e, t) {
6120
6119
  return [i];
6121
6120
  var d = i.split(u);
6122
6121
  return n = n || d.length > 1, d.reduce(function(f, p) {
6123
- return [].concat(dn(f), dn(r(p, c)));
6122
+ return [].concat(fn(f), fn(r(p, c)));
6124
6123
  }, []).filter(function(f) {
6125
6124
  return f;
6126
6125
  });
@@ -6133,22 +6132,22 @@ function xi(e) {
6133
6132
  return e === "tags" || e === "multiple";
6134
6133
  }
6135
6134
  var Wl = /* @__PURE__ */ E.forwardRef(function(e, t) {
6136
- var n, r, o = e.id, i = e.prefixCls, a = e.className, l = e.showSearch, u = e.tagRender, c = e.direction, d = e.omitDomProps, f = e.displayValues, p = e.onDisplayValuesChange, g = e.emptyOptions, h = e.notFoundContent, v = h === void 0 ? "Not Found" : h, m = e.onClear, b = e.mode, S = e.disabled, w = e.loading, _ = e.getInputElement, C = e.getRawInputElement, D = e.open, I = e.defaultOpen, N = e.onDropdownVisibleChange, A = e.activeValue, O = e.onActiveValueChange, R = e.activeDescendantId, P = e.searchValue, M = e.autoClearSearchValue, k = e.onSearch, L = e.onSearchSplit, K = e.tokenSeparators, Q = e.allowClear, q = e.showArrow, Y = e.inputIcon, ce = e.clearIcon, le = e.OptionList, ke = e.animation, be = e.transitionName, ie = e.dropdownStyle, te = e.dropdownClassName, de = e.dropdownMatchSelectWidth, ge = e.dropdownRender, se = e.dropdownAlign, fe = e.placement, Ie = e.getPopupContainer, Te = e.showAction, W = Te === void 0 ? [] : Te, re = e.onFocus, Ee = e.onBlur, Ce = e.onKeyUp, De = e.onKeyDown, he = e.onMouseDown, xe = eo(e, e1), we = xi(b), ae = (l !== void 0 ? l : we) || b === "combobox", et = Dt({}, xe);
6135
+ var n, r, o = e.id, i = e.prefixCls, a = e.className, l = e.showSearch, u = e.tagRender, c = e.direction, d = e.omitDomProps, f = e.displayValues, p = e.onDisplayValuesChange, g = e.emptyOptions, h = e.notFoundContent, v = h === void 0 ? "Not Found" : h, m = e.onClear, b = e.mode, S = e.disabled, w = e.loading, _ = e.getInputElement, C = e.getRawInputElement, D = e.open, I = e.defaultOpen, A = e.onDropdownVisibleChange, N = e.activeValue, O = e.onActiveValueChange, R = e.activeDescendantId, P = e.searchValue, M = e.autoClearSearchValue, k = e.onSearch, L = e.onSearchSplit, K = e.tokenSeparators, Q = e.allowClear, q = e.showArrow, Y = e.inputIcon, ce = e.clearIcon, le = e.OptionList, ke = e.animation, be = e.transitionName, ie = e.dropdownStyle, te = e.dropdownClassName, de = e.dropdownMatchSelectWidth, ge = e.dropdownRender, se = e.dropdownAlign, fe = e.placement, Ie = e.getPopupContainer, Te = e.showAction, W = Te === void 0 ? [] : Te, re = e.onFocus, Ee = e.onBlur, Ce = e.onKeyUp, De = e.onKeyDown, he = e.onMouseDown, xe = eo(e, e1), we = xi(b), ae = (l !== void 0 ? l : we) || b === "combobox", et = Dt({}, xe);
6137
6136
  t1.forEach(function(We) {
6138
6137
  delete et[We];
6139
6138
  }), d == null || d.forEach(function(We) {
6140
6139
  delete et[We];
6141
6140
  });
6142
- var Ke = E.useState(!1), it = Nt(Ke, 2), Se = it[0], Ye = it[1];
6141
+ var Ke = E.useState(!1), it = At(Ke, 2), Se = it[0], Ye = it[1];
6143
6142
  E.useEffect(function() {
6144
6143
  Ye($d());
6145
6144
  }, []);
6146
- var He = E.useRef(null), Ge = E.useRef(null), bt = E.useRef(null), pt = E.useRef(null), gt = E.useRef(null), Rt = Av(), pe = Nt(Rt, 3), $e = pe[0], ht = pe[1], Vt = pe[2];
6145
+ var He = E.useRef(null), Ge = E.useRef(null), bt = E.useRef(null), pt = E.useRef(null), gt = E.useRef(null), Rt = Nv(), pe = At(Rt, 3), $e = pe[0], ht = pe[1], Vt = pe[2];
6147
6146
  E.useImperativeHandle(t, function() {
6148
- var We, Me;
6147
+ var We, Pe;
6149
6148
  return {
6150
6149
  focus: (We = pt.current) === null || We === void 0 ? void 0 : We.focus,
6151
- blur: (Me = pt.current) === null || Me === void 0 ? void 0 : Me.blur,
6150
+ blur: (Pe = pt.current) === null || Pe === void 0 ? void 0 : Pe.blur,
6152
6151
  scrollTo: function(en) {
6153
6152
  var kt;
6154
6153
  return (kt = gt.current) === null || kt === void 0 ? void 0 : kt.scrollTo(en);
@@ -6159,31 +6158,31 @@ var Wl = /* @__PURE__ */ E.forwardRef(function(e, t) {
6159
6158
  var We;
6160
6159
  if (b !== "combobox")
6161
6160
  return P;
6162
- var Me = (We = f[0]) === null || We === void 0 ? void 0 : We.value;
6163
- return typeof Me == "string" || typeof Me == "number" ? String(Me) : "";
6164
- }, [P, b, f]), Bt = b === "combobox" && typeof _ == "function" && _() || null, yt = typeof C == "function" && C(), Gt = Nv(Ge, yt == null || (n = yt.props) === null || n === void 0 ? void 0 : n.ref), Jt = To(void 0, {
6161
+ var Pe = (We = f[0]) === null || We === void 0 ? void 0 : We.value;
6162
+ return typeof Pe == "string" || typeof Pe == "number" ? String(Pe) : "";
6163
+ }, [P, b, f]), Bt = b === "combobox" && typeof _ == "function" && _() || null, yt = typeof C == "function" && C(), Gt = Av(Ge, yt == null || (n = yt.props) === null || n === void 0 ? void 0 : n.ref), Jt = To(void 0, {
6165
6164
  defaultValue: I,
6166
6165
  value: D
6167
- }), wt = Nt(Jt, 2), Ot = wt[0], Wt = wt[1], mt = Ot, un = !v && g;
6168
- (S || un && mt && b === "combobox") && (mt = !1);
6169
- var Ft = un ? !1 : mt, B = E.useCallback(function(We) {
6170
- var Me = We !== void 0 ? We : !mt;
6171
- S || (Wt(Me), mt !== Me && (N == null || N(Me)));
6172
- }, [S, mt, Wt, N]), Z = E.useMemo(function() {
6166
+ }), wt = At(Jt, 2), Ot = wt[0], Wt = wt[1], mt = Ot, cn = !v && g;
6167
+ (S || cn && mt && b === "combobox") && (mt = !1);
6168
+ var Ft = cn ? !1 : mt, B = E.useCallback(function(We) {
6169
+ var Pe = We !== void 0 ? We : !mt;
6170
+ S || (Wt(Pe), mt !== Pe && (A == null || A(Pe)));
6171
+ }, [S, mt, Wt, A]), Z = E.useMemo(function() {
6173
6172
  return (K || []).some(function(We) {
6174
6173
  return [`
6175
6174
  `, `\r
6176
6175
  `].includes(We);
6177
6176
  });
6178
- }, [K]), ne = function(Me, Yt, en) {
6179
- var kt = !0, ln = Me;
6177
+ }, [K]), ne = function(Pe, Yt, en) {
6178
+ var kt = !0, ln = Pe;
6180
6179
  O == null || O(null);
6181
- var yn = en ? null : Z_(Me, K);
6180
+ var yn = en ? null : Z_(Pe, K);
6182
6181
  return b !== "combobox" && yn && (ln = "", L == null || L(yn), B(!1), kt = !1), k && vt !== ln && k(ln, {
6183
6182
  source: Yt ? "typing" : "effect"
6184
6183
  }), kt;
6185
- }, _e = function(Me) {
6186
- !Me || !Me.trim() || k(Me, {
6184
+ }, _e = function(Pe) {
6185
+ !Pe || !Pe.trim() || k(Pe, {
6187
6186
  source: "submit"
6188
6187
  });
6189
6188
  };
@@ -6192,10 +6191,10 @@ var Wl = /* @__PURE__ */ E.forwardRef(function(e, t) {
6192
6191
  }, [mt]), E.useEffect(function() {
6193
6192
  Ot && S && Wt(!1), S && ht(!1);
6194
6193
  }, [S]);
6195
- var Ze = Vd(), dt = Nt(Ze, 2), qt = dt[0], Ut = dt[1], vn = function(Me) {
6196
- var Yt = qt(), en = Me.which;
6197
- if (en === H.ENTER && (b !== "combobox" && Me.preventDefault(), mt || B(!0)), Ut(!!vt), en === H.BACKSPACE && !Yt && we && !vt && f.length) {
6198
- for (var kt = dn(f), ln = null, yn = kt.length - 1; yn >= 0; yn -= 1) {
6194
+ var Ze = Vd(), dt = At(Ze, 2), qt = dt[0], Ut = dt[1], vn = function(Pe) {
6195
+ var Yt = qt(), en = Pe.which;
6196
+ if (en === H.ENTER && (b !== "combobox" && Pe.preventDefault(), mt || B(!0)), Ut(!!vt), en === H.BACKSPACE && !Yt && we && !vt && f.length) {
6197
+ for (var kt = fn(f), ln = null, yn = kt.length - 1; yn >= 0; yn -= 1) {
6199
6198
  var uo = kt[yn];
6200
6199
  if (!uo.disabled) {
6201
6200
  kt.splice(yn, 1), ln = uo;
@@ -6211,24 +6210,24 @@ var Wl = /* @__PURE__ */ E.forwardRef(function(e, t) {
6211
6210
  kr[Un - 1] = arguments[Un];
6212
6211
  if (mt && gt.current) {
6213
6212
  var Ms;
6214
- (Ms = gt.current).onKeyDown.apply(Ms, [Me].concat(kr));
6213
+ (Ms = gt.current).onKeyDown.apply(Ms, [Pe].concat(kr));
6215
6214
  }
6216
- De == null || De.apply(void 0, [Me].concat(kr));
6217
- }, Ct = function(Me) {
6215
+ De == null || De.apply(void 0, [Pe].concat(kr));
6216
+ }, Ct = function(Pe) {
6218
6217
  for (var Yt = arguments.length, en = new Array(Yt > 1 ? Yt - 1 : 0), kt = 1; kt < Yt; kt++)
6219
6218
  en[kt - 1] = arguments[kt];
6220
6219
  if (mt && gt.current) {
6221
6220
  var ln;
6222
- (ln = gt.current).onKeyUp.apply(ln, [Me].concat(en));
6221
+ (ln = gt.current).onKeyUp.apply(ln, [Pe].concat(en));
6223
6222
  }
6224
- Ce == null || Ce.apply(void 0, [Me].concat(en));
6225
- }, x = function(Me) {
6223
+ Ce == null || Ce.apply(void 0, [Pe].concat(en));
6224
+ }, x = function(Pe) {
6226
6225
  var Yt = f.filter(function(en) {
6227
- return en !== Me;
6226
+ return en !== Pe;
6228
6227
  });
6229
6228
  p(Yt, {
6230
6229
  type: "remove",
6231
- values: [Me]
6230
+ values: [Pe]
6232
6231
  });
6233
6232
  }, j = E.useRef(!1), z = function() {
6234
6233
  ht(!0), S || (re && !j.current && re.apply(void 0, arguments), W.includes("focus") && B(!0)), j.current = !0;
@@ -6248,8 +6247,8 @@ var Wl = /* @__PURE__ */ E.forwardRef(function(e, t) {
6248
6247
  }), oe.splice(0, oe.length);
6249
6248
  };
6250
6249
  }, []);
6251
- var ue = function(Me) {
6252
- var Yt, en = Me.target, kt = (Yt = bt.current) === null || Yt === void 0 ? void 0 : Yt.getPopupElement();
6250
+ var ue = function(Pe) {
6251
+ var Yt, en = Pe.target, kt = (Yt = bt.current) === null || Yt === void 0 ? void 0 : Yt.getPopupElement();
6253
6252
  if (kt && kt.contains(en)) {
6254
6253
  var ln = setTimeout(function() {
6255
6254
  var kr = oe.indexOf(ln);
@@ -6262,20 +6261,20 @@ var Wl = /* @__PURE__ */ E.forwardRef(function(e, t) {
6262
6261
  }
6263
6262
  for (var yn = arguments.length, uo = new Array(yn > 1 ? yn - 1 : 0), qn = 1; qn < yn; qn++)
6264
6263
  uo[qn - 1] = arguments[qn];
6265
- he == null || he.apply(void 0, [Me].concat(uo));
6266
- }, Re = E.useState(null), ye = Nt(Re, 2), Fe = ye[0], Ne = ye[1], Qe = E.useState({}), _t = Nt(Qe, 2), Zt = _t[1];
6264
+ he == null || he.apply(void 0, [Pe].concat(uo));
6265
+ }, Re = E.useState(null), ye = At(Re, 2), Fe = ye[0], Ae = ye[1], Qe = E.useState({}), _t = At(Qe, 2), Zt = _t[1];
6267
6266
  function Rn() {
6268
6267
  Zt({});
6269
6268
  }
6270
6269
  jn(function() {
6271
6270
  if (Ft) {
6272
- var We, Me = Math.ceil((We = He.current) === null || We === void 0 ? void 0 : We.offsetWidth);
6273
- Fe !== Me && !Number.isNaN(Me) && Ne(Me);
6271
+ var We, Pe = Math.ceil((We = He.current) === null || We === void 0 ? void 0 : We.offsetWidth);
6272
+ Fe !== Pe && !Number.isNaN(Pe) && Ae(Pe);
6274
6273
  }
6275
6274
  }, [Ft]);
6276
6275
  var Pt;
6277
- yt && (Pt = function(Me) {
6278
- B(Me);
6276
+ yt && (Pt = function(Pe) {
6277
+ B(Pe);
6279
6278
  }), Lv(function() {
6280
6279
  var We;
6281
6280
  return [He.current, (We = bt.current) === null || We === void 0 ? void 0 : We.getPopupElement()];
@@ -6303,8 +6302,8 @@ var Wl = /* @__PURE__ */ E.forwardRef(function(e, t) {
6303
6302
  }
6304
6303
  }));
6305
6304
  var mn, Gg = function() {
6306
- var Me;
6307
- m == null || m(), (Me = pt.current) === null || Me === void 0 || Me.focus(), p([], {
6305
+ var Pe;
6306
+ m == null || m(), (Pe = pt.current) === null || Pe === void 0 || Pe.focus(), p([], {
6308
6307
  type: "clear",
6309
6308
  values: f
6310
6309
  }), ne("", !1, !1);
@@ -6357,7 +6356,7 @@ var Wl = /* @__PURE__ */ E.forwardRef(function(e, t) {
6357
6356
  values: f,
6358
6357
  open: mt,
6359
6358
  onToggleOpen: B,
6360
- activeValue: A,
6359
+ activeValue: N,
6361
6360
  searchValue: vt,
6362
6361
  onSearch: ne,
6363
6362
  onSearchSubmit: _e,
@@ -6384,11 +6383,11 @@ var Wl = /* @__PURE__ */ E.forwardRef(function(e, t) {
6384
6383
  },
6385
6384
  "aria-live": "polite",
6386
6385
  children: "".concat(f.map(function(We) {
6387
- var Me = We.label, Yt = We.value;
6388
- return ["number", "string"].includes(zn(Me)) ? Me : Yt;
6386
+ var Pe = We.label, Yt = We.value;
6387
+ return ["number", "string"].includes(zn(Pe)) ? Pe : Yt;
6389
6388
  }).join(", "))
6390
6389
  }), Ds, an, mn]
6391
- }), /* @__PURE__ */ s(Ad.Provider, {
6390
+ }), /* @__PURE__ */ s(Nd.Provider, {
6392
6391
  value: Wn,
6393
6392
  children: na
6394
6393
  });
@@ -6417,7 +6416,7 @@ const n1 = function(e, t) {
6417
6416
  return [r, o];
6418
6417
  };
6419
6418
  function ga(e, t) {
6420
- return Al(e).join("").toUpperCase().includes(t);
6419
+ return Nl(e).join("").toUpperCase().includes(t);
6421
6420
  }
6422
6421
  const r1 = function(e, t, n, r, o) {
6423
6422
  return E.useMemo(function() {
@@ -6453,7 +6452,7 @@ function i1() {
6453
6452
  return o1 ? (e = lc, lc += 1) : e = "TEST_OR_SSR", e;
6454
6453
  }
6455
6454
  function zf(e) {
6456
- var t = E.useState(), n = Nt(t, 2), r = n[0], o = n[1];
6455
+ var t = E.useState(), n = At(t, 2), r = n[0], o = n[1];
6457
6456
  return E.useEffect(function() {
6458
6457
  o("rc_select_".concat(i1()));
6459
6458
  }, []), e || r;
@@ -6789,7 +6788,7 @@ var x1 = /* @__PURE__ */ function(e) {
6789
6788
  window.addEventListener("mousemove", r.onMouseMove), window.addEventListener("mouseup", r.onMouseUp), r.thumbRef.current.addEventListener("touchmove", r.onMouseMove), r.thumbRef.current.addEventListener("touchend", r.onMouseUp);
6790
6789
  }, r.removeEvents = function() {
6791
6790
  var l;
6792
- window.removeEventListener("mousemove", r.onMouseMove), window.removeEventListener("mouseup", r.onMouseUp), (l = r.scrollbarRef.current) === null || l === void 0 || l.removeEventListener("touchstart", r.onScrollbarTouchStart), r.thumbRef.current && (r.thumbRef.current.removeEventListener("touchstart", r.onMouseDown), r.thumbRef.current.removeEventListener("touchmove", r.onMouseMove), r.thumbRef.current.removeEventListener("touchend", r.onMouseUp)), At.cancel(r.moveRaf);
6791
+ window.removeEventListener("mousemove", r.onMouseMove), window.removeEventListener("mouseup", r.onMouseUp), (l = r.scrollbarRef.current) === null || l === void 0 || l.removeEventListener("touchstart", r.onScrollbarTouchStart), r.thumbRef.current && (r.thumbRef.current.removeEventListener("touchstart", r.onMouseDown), r.thumbRef.current.removeEventListener("touchmove", r.onMouseMove), r.thumbRef.current.removeEventListener("touchend", r.onMouseUp)), Nt.cancel(r.moveRaf);
6793
6792
  }, r.onMouseDown = function(l) {
6794
6793
  var u = r.props.onStartMove;
6795
6794
  r.setState({
@@ -6799,9 +6798,9 @@ var x1 = /* @__PURE__ */ function(e) {
6799
6798
  }), u(), r.patchEvents(), l.stopPropagation(), l.preventDefault();
6800
6799
  }, r.onMouseMove = function(l) {
6801
6800
  var u = r.state, c = u.dragging, d = u.pageY, f = u.startTop, p = r.props.onScroll;
6802
- if (At.cancel(r.moveRaf), c) {
6801
+ if (Nt.cancel(r.moveRaf), c) {
6803
6802
  var g = fc(l) - d, h = f + g, v = r.getEnableScrollRange(), m = r.getEnableHeightRange(), b = m ? h / m : 0, S = Math.ceil(b * v);
6804
- r.moveRaf = At(function() {
6803
+ r.moveRaf = Nt(function() {
6805
6804
  p(S);
6806
6805
  });
6807
6806
  }
@@ -6921,10 +6920,10 @@ var R1 = /* @__PURE__ */ function() {
6921
6920
  function O1(e, t, n) {
6922
6921
  var r = E.useState(0), o = Zn(r, 2), i = o[0], a = o[1], l = Ue(/* @__PURE__ */ new Map()), u = Ue(new R1()), c = Ue();
6923
6922
  function d() {
6924
- At.cancel(c.current);
6923
+ Nt.cancel(c.current);
6925
6924
  }
6926
6925
  function f() {
6927
- d(), c.current = At(function() {
6926
+ d(), c.current = Nt(function() {
6928
6927
  l.current.forEach(function(g, h) {
6929
6928
  if (g && g.offsetParent) {
6930
6929
  var v = Po(g), m = v.offsetHeight;
@@ -6950,7 +6949,7 @@ function T1(e, t, n, r, o, i, a, l) {
6950
6949
  l();
6951
6950
  return;
6952
6951
  }
6953
- if (At.cancel(u.current), typeof c == "number")
6952
+ if (Nt.cancel(u.current), typeof c == "number")
6954
6953
  a(c);
6955
6954
  else if (c && fr(c) === "object") {
6956
6955
  var d, f = c.align;
@@ -6961,11 +6960,11 @@ function T1(e, t, n, r, o, i, a, l) {
6961
6960
  if (!(m < 0 || !e.current)) {
6962
6961
  var S = e.current.clientHeight, w = !1, _ = b;
6963
6962
  if (S) {
6964
- for (var C = b || f, D = 0, I = 0, N = 0, A = Math.min(t.length, d), O = 0; O <= A; O += 1) {
6963
+ for (var C = b || f, D = 0, I = 0, A = 0, N = Math.min(t.length, d), O = 0; O <= N; O += 1) {
6965
6964
  var R = o(t[O]);
6966
6965
  I = D;
6967
6966
  var P = n.get(R);
6968
- N = I + (P === void 0 ? r : P), D = N, O === d && P === void 0 && (w = !0);
6967
+ A = I + (P === void 0 ? r : P), D = A, O === d && P === void 0 && (w = !0);
6969
6968
  }
6970
6969
  var M = null;
6971
6970
  switch (C) {
@@ -6973,16 +6972,16 @@ function T1(e, t, n, r, o, i, a, l) {
6973
6972
  M = I - g;
6974
6973
  break;
6975
6974
  case "bottom":
6976
- M = N - S + g;
6975
+ M = A - S + g;
6977
6976
  break;
6978
6977
  default: {
6979
6978
  var k = e.current.scrollTop, L = k + S;
6980
- I < k ? _ = "top" : N > L && (_ = "bottom");
6979
+ I < k ? _ = "top" : A > L && (_ = "bottom");
6981
6980
  }
6982
6981
  }
6983
6982
  M !== null && M !== e.current.scrollTop && a(M);
6984
6983
  }
6985
- u.current = At(function() {
6984
+ u.current = Nt(function() {
6986
6985
  w && i(), v(m - 1, _);
6987
6986
  });
6988
6987
  }
@@ -7042,9 +7041,9 @@ function k1(e, t, n, r) {
7042
7041
  var o = Ue(0), i = Ue(null), a = Ue(null), l = Ue(!1), u = Uf(t, n);
7043
7042
  function c(f) {
7044
7043
  if (!!e) {
7045
- At.cancel(i.current);
7044
+ Nt.cancel(i.current);
7046
7045
  var p = f.deltaY;
7047
- o.current += p, a.current = p, !u(p) && (P1 || f.preventDefault(), i.current = At(function() {
7046
+ o.current += p, a.current = p, !u(p) && (P1 || f.preventDefault(), i.current = Nt(function() {
7048
7047
  var g = l.current ? 10 : 1;
7049
7048
  r(o.current * g), o.current = 0;
7050
7049
  }));
@@ -7078,18 +7077,18 @@ function $1(e, t, n) {
7078
7077
  };
7079
7078
  }, [e]);
7080
7079
  }
7081
- var N1 = ["prefixCls", "className", "height", "itemHeight", "fullHeight", "style", "data", "children", "itemKey", "virtual", "component", "onScroll", "onVisibleChange"], A1 = [], L1 = {
7080
+ var A1 = ["prefixCls", "className", "height", "itemHeight", "fullHeight", "style", "data", "children", "itemKey", "virtual", "component", "onScroll", "onVisibleChange"], N1 = [], L1 = {
7082
7081
  overflowY: "auto",
7083
7082
  overflowAnchor: "none"
7084
7083
  };
7085
7084
  function V1(e, t) {
7086
- var n = e.prefixCls, r = n === void 0 ? "rc-virtual-list" : n, o = e.className, i = e.height, a = e.itemHeight, l = e.fullHeight, u = l === void 0 ? !0 : l, c = e.style, d = e.data, f = e.children, p = e.itemKey, g = e.virtual, h = e.component, v = h === void 0 ? "div" : h, m = e.onScroll, b = e.onVisibleChange, S = v1(e, N1), w = !!(g !== !1 && i && a), _ = w && d && a * d.length > i, C = nt(0), D = Zn(C, 2), I = D[0], N = D[1], A = nt(!1), O = Zn(A, 2), R = O[0], P = O[1], M = ut(r, o), k = d || A1, L = Ue(), K = Ue(), Q = Ue(), q = E.useCallback(function(pe) {
7085
+ var n = e.prefixCls, r = n === void 0 ? "rc-virtual-list" : n, o = e.className, i = e.height, a = e.itemHeight, l = e.fullHeight, u = l === void 0 ? !0 : l, c = e.style, d = e.data, f = e.children, p = e.itemKey, g = e.virtual, h = e.component, v = h === void 0 ? "div" : h, m = e.onScroll, b = e.onVisibleChange, S = v1(e, A1), w = !!(g !== !1 && i && a), _ = w && d && a * d.length > i, C = nt(0), D = Zn(C, 2), I = D[0], A = D[1], N = nt(!1), O = Zn(N, 2), R = O[0], P = O[1], M = ut(r, o), k = d || N1, L = Ue(), K = Ue(), Q = Ue(), q = E.useCallback(function(pe) {
7087
7086
  return typeof p == "function" ? p(pe) : pe == null ? void 0 : pe[p];
7088
7087
  }, [p]), Y = {
7089
7088
  getKey: q
7090
7089
  };
7091
7090
  function ce(pe) {
7092
- N(function($e) {
7091
+ A(function($e) {
7093
7092
  var ht;
7094
7093
  typeof pe == "function" ? ht = pe($e) : ht = pe;
7095
7094
  var Vt = we(ht);
@@ -7226,7 +7225,7 @@ function pc(e) {
7226
7225
  return typeof e == "string" || typeof e == "number";
7227
7226
  }
7228
7227
  var j1 = function(t, n) {
7229
- var r = Ld(), o = r.prefixCls, i = r.id, a = r.open, l = r.multiple, u = r.mode, c = r.searchValue, d = r.toggleOpen, f = r.notFoundContent, p = r.onPopupScroll, g = E.useContext(Yf), h = g.flattenOptions, v = g.onActiveValue, m = g.defaultActiveFirstOption, b = g.onSelect, S = g.menuItemSelectedIcon, w = g.rawValues, _ = g.fieldNames, C = g.virtual, D = g.listHeight, I = g.listItemHeight, N = "".concat(o, "-item"), A = kl(function() {
7228
+ var r = Ld(), o = r.prefixCls, i = r.id, a = r.open, l = r.multiple, u = r.mode, c = r.searchValue, d = r.toggleOpen, f = r.notFoundContent, p = r.onPopupScroll, g = E.useContext(Yf), h = g.flattenOptions, v = g.onActiveValue, m = g.defaultActiveFirstOption, b = g.onSelect, S = g.menuItemSelectedIcon, w = g.rawValues, _ = g.fieldNames, C = g.virtual, D = g.listHeight, I = g.listItemHeight, A = "".concat(o, "-item"), N = kl(function() {
7230
7229
  return h;
7231
7230
  }, [a, h], function(ie, te) {
7232
7231
  return te[0] && ie[1] !== te[1];
@@ -7237,20 +7236,20 @@ var j1 = function(t, n) {
7237
7236
  index: te
7238
7237
  } : te);
7239
7238
  }, M = function(te) {
7240
- for (var de = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 1, ge = A.length, se = 0; se < ge; se += 1) {
7241
- var fe = (te + se * de + ge) % ge, Ie = A[fe], Te = Ie.group, W = Ie.data;
7239
+ for (var de = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 1, ge = N.length, se = 0; se < ge; se += 1) {
7240
+ var fe = (te + se * de + ge) % ge, Ie = N[fe], Te = Ie.group, W = Ie.data;
7242
7241
  if (!Te && !W.disabled)
7243
7242
  return fe;
7244
7243
  }
7245
7244
  return -1;
7246
7245
  }, k = E.useState(function() {
7247
7246
  return M(0);
7248
- }), L = Nt(k, 2), K = L[0], Q = L[1], q = function(te) {
7247
+ }), L = At(k, 2), K = L[0], Q = L[1], q = function(te) {
7249
7248
  var de = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
7250
7249
  Q(te);
7251
7250
  var ge = {
7252
7251
  source: de ? "keyboard" : "mouse"
7253
- }, se = A[te];
7252
+ }, se = N[te];
7254
7253
  if (!se) {
7255
7254
  v(null, -1, ge);
7256
7255
  return;
@@ -7259,14 +7258,14 @@ var j1 = function(t, n) {
7259
7258
  };
7260
7259
  je(function() {
7261
7260
  q(m !== !1 ? M(0) : -1);
7262
- }, [A.length, c]);
7261
+ }, [N.length, c]);
7263
7262
  var Y = E.useCallback(function(ie) {
7264
7263
  return w.has(ie) && u !== "combobox";
7265
- }, [u, dn(w).toString(), w.size]);
7264
+ }, [u, fn(w).toString(), w.size]);
7266
7265
  je(function() {
7267
7266
  var ie = setTimeout(function() {
7268
7267
  if (!l && a && w.size === 1) {
7269
- var de = Array.from(w)[0], ge = A.findIndex(function(se) {
7268
+ var de = Array.from(w)[0], ge = N.findIndex(function(se) {
7270
7269
  var fe = se.data;
7271
7270
  return fe.value === de;
7272
7271
  });
@@ -7303,7 +7302,7 @@ var j1 = function(t, n) {
7303
7302
  break;
7304
7303
  }
7305
7304
  case H.ENTER: {
7306
- var Ie = A[K];
7305
+ var Ie = N[K];
7307
7306
  Ie && !Ie.data.disabled ? ce(Ie.value) : ce(void 0), a && te.preventDefault();
7308
7307
  break;
7309
7308
  }
@@ -7317,11 +7316,11 @@ var j1 = function(t, n) {
7317
7316
  P(te);
7318
7317
  }
7319
7318
  };
7320
- }), A.length === 0)
7319
+ }), N.length === 0)
7321
7320
  return /* @__PURE__ */ s("div", {
7322
7321
  role: "listbox",
7323
7322
  id: "".concat(i, "_list"),
7324
- className: "".concat(N, "-empty"),
7323
+ className: "".concat(A, "-empty"),
7325
7324
  onMouseDown: R,
7326
7325
  children: f
7327
7326
  });
@@ -7330,7 +7329,7 @@ var j1 = function(t, n) {
7330
7329
  }), ke = function(te) {
7331
7330
  return te.label;
7332
7331
  }, be = function(te) {
7333
- var de = A[te];
7332
+ var de = N[te];
7334
7333
  if (!de)
7335
7334
  return null;
7336
7335
  var ge = de.data || {}, se = ge.value, fe = de.group, Ie = Br(ge, !0), Te = ke(de);
@@ -7356,7 +7355,7 @@ var j1 = function(t, n) {
7356
7355
  }), /* @__PURE__ */ s(Ul, {
7357
7356
  itemKey: "key",
7358
7357
  ref: O,
7359
- data: A,
7358
+ data: N,
7360
7359
  height: D,
7361
7360
  itemHeight: I,
7362
7361
  fullHeight: !1,
@@ -7368,14 +7367,14 @@ var j1 = function(t, n) {
7368
7367
  if (ge) {
7369
7368
  var re, Ee = (re = fe.title) !== null && re !== void 0 ? re : pc(Ie) ? Ie.toString() : void 0;
7370
7369
  return /* @__PURE__ */ s("div", {
7371
- className: ut(N, "".concat(N, "-group")),
7370
+ className: ut(A, "".concat(A, "-group")),
7372
7371
  title: Ee,
7373
7372
  children: Ie !== void 0 ? Ie : W
7374
7373
  });
7375
7374
  }
7376
7375
  var Ce = fe.disabled, De = fe.title;
7377
7376
  fe.children;
7378
- var he = fe.style, xe = fe.className, we = eo(fe, z1), ae = Hf(we, le), et = Y(Te), Ke = "".concat(N, "-option"), it = ut(N, Ke, xe, (de = {}, Tt(de, "".concat(Ke, "-grouped"), se), Tt(de, "".concat(Ke, "-active"), K === te && !Ce), Tt(de, "".concat(Ke, "-disabled"), Ce), Tt(de, "".concat(Ke, "-selected"), et), de)), Se = ke(ie), Ye = !S || typeof S == "function" || et, He = typeof Se == "number" ? Se : Se || Te, Ge = pc(He) ? He.toString() : void 0;
7377
+ var he = fe.style, xe = fe.className, we = eo(fe, z1), ae = Hf(we, le), et = Y(Te), Ke = "".concat(A, "-option"), it = ut(A, Ke, xe, (de = {}, Tt(de, "".concat(Ke, "-grouped"), se), Tt(de, "".concat(Ke, "-active"), K === te && !Ce), Tt(de, "".concat(Ke, "-disabled"), Ce), Tt(de, "".concat(Ke, "-selected"), et), de)), Se = ke(ie), Ye = !S || typeof S == "function" || et, He = typeof Se == "number" ? Se : Se || Te, Ge = pc(He) ? He.toString() : void 0;
7379
7378
  return De !== void 0 && (Ge = De), /* @__PURE__ */ y("div", {
7380
7379
  ...Br(ae),
7381
7380
  "aria-selected": et,
@@ -7392,7 +7391,7 @@ var j1 = function(t, n) {
7392
7391
  className: "".concat(Ke, "-content"),
7393
7392
  children: He
7394
7393
  }), /* @__PURE__ */ E.isValidElement(S) || et, Ye && /* @__PURE__ */ s(mi, {
7395
- className: "".concat(N, "-option-state"),
7394
+ className: "".concat(A, "-option-state"),
7396
7395
  customizeIcon: S,
7397
7396
  customizeIconProps: {
7398
7397
  isSelected: et
@@ -7418,7 +7417,7 @@ function K1(e) {
7418
7417
  tt(!w, "`value` of Option should not use number type when `mode` is `tags` or `combobox`.");
7419
7418
  }
7420
7419
  if (tt(t !== "combobox" || !v, "`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."), tt(t === "combobox" || !o, "`backfill` only works with `combobox` mode."), tt(t === "combobox" || !l, "`getInputElement` only work with `combobox` mode."), Hs(t !== "combobox" || !l || !i || !a, "Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."), c && !b && t !== "combobox" && t !== "tags" && tt(!1, "`onSearch` should work with `showSearch` instead of use alone."), Hs(!d || f, "`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."), g != null) {
7421
- var _ = Al(g);
7420
+ var _ = Nl(g);
7422
7421
  tt(!p || _.every(function(D) {
7423
7422
  return zn(D) === "object" && ("key" in D || "value" in D);
7424
7423
  }), "`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"), tt(!m || Array.isArray(g), "`value` should be array when `mode` is `multiple` or `tags`");
@@ -7428,16 +7427,16 @@ function K1(e) {
7428
7427
  cr(r).some(function(D) {
7429
7428
  if (!/* @__PURE__ */ E.isValidElement(D) || !D.type)
7430
7429
  return !1;
7431
- var I = D, N = I.type;
7432
- if (N.isSelectOption)
7430
+ var I = D, A = I.type;
7431
+ if (A.isSelectOption)
7433
7432
  return !1;
7434
- if (N.isSelectOptGroup) {
7435
- var A = cr(D.props.children).every(function(O) {
7433
+ if (A.isSelectOptGroup) {
7434
+ var N = cr(D.props.children).every(function(O) {
7436
7435
  return !/* @__PURE__ */ E.isValidElement(O) || !D.type || O.type.isSelectOption ? !0 : (C = O.type, !1);
7437
7436
  });
7438
- return !A;
7437
+ return !N;
7439
7438
  }
7440
- return C = N, !0;
7439
+ return C = A, !0;
7441
7440
  }), C && tt(!1, "`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(C.displayName || C.name || C, "`.")), tt(h === void 0, "`inputValue` is deprecated, please use `searchValue` instead.");
7442
7441
  }
7443
7442
  }
@@ -7460,7 +7459,7 @@ function W1(e) {
7460
7459
  return !e || zn(e) !== "object";
7461
7460
  }
7462
7461
  var Xf = /* @__PURE__ */ E.forwardRef(function(e, t) {
7463
- var n = e.id, r = e.mode, o = e.prefixCls, i = o === void 0 ? "rc-select" : o, a = e.backfill, l = e.fieldNames, u = e.inputValue, c = e.searchValue, d = e.onSearch, f = e.autoClearSearchValue, p = f === void 0 ? !0 : f, g = e.onSelect, h = e.onDeselect, v = e.dropdownMatchSelectWidth, m = v === void 0 ? !0 : v, b = e.filterOption, S = e.filterSort, w = e.optionFilterProp, _ = e.optionLabelProp, C = e.options, D = e.children, I = e.defaultActiveFirstOption, N = e.menuItemSelectedIcon, A = e.virtual, O = e.listHeight, R = O === void 0 ? 200 : O, P = e.listItemHeight, M = P === void 0 ? 20 : P, k = e.value, L = e.defaultValue, K = e.labelInValue, Q = e.onChange, q = eo(e, B1), Y = zf(n), ce = xi(r), le = !!(!C && D), ke = E.useMemo(function() {
7462
+ var n = e.id, r = e.mode, o = e.prefixCls, i = o === void 0 ? "rc-select" : o, a = e.backfill, l = e.fieldNames, u = e.inputValue, c = e.searchValue, d = e.onSearch, f = e.autoClearSearchValue, p = f === void 0 ? !0 : f, g = e.onSelect, h = e.onDeselect, v = e.dropdownMatchSelectWidth, m = v === void 0 ? !0 : v, b = e.filterOption, S = e.filterSort, w = e.optionFilterProp, _ = e.optionLabelProp, C = e.options, D = e.children, I = e.defaultActiveFirstOption, A = e.menuItemSelectedIcon, N = e.virtual, O = e.listHeight, R = O === void 0 ? 200 : O, P = e.listItemHeight, M = P === void 0 ? 20 : P, k = e.value, L = e.defaultValue, K = e.labelInValue, Q = e.onChange, q = eo(e, B1), Y = zf(n), ce = xi(r), le = !!(!C && D), ke = E.useMemo(function() {
7464
7463
  return b === void 0 && r === "combobox" ? !1 : b;
7465
7464
  }, [b, r]), be = E.useMemo(
7466
7465
  function() {
@@ -7475,8 +7474,8 @@ var Xf = /* @__PURE__ */ E.forwardRef(function(e, t) {
7475
7474
  postState: function(Z) {
7476
7475
  return Z || "";
7477
7476
  }
7478
- }), te = Nt(ie, 2), de = te[0], ge = te[1], se = u1(C, D, be, w, _), fe = se.valueOptions, Ie = se.labelOptions, Te = se.options, W = E.useCallback(function(B) {
7479
- var Z = Al(B);
7477
+ }), te = At(ie, 2), de = te[0], ge = te[1], se = u1(C, D, be, w, _), fe = se.valueOptions, Ie = se.labelOptions, Te = se.options, W = E.useCallback(function(B) {
7478
+ var Z = Nl(B);
7480
7479
  return Z.map(function(ne) {
7481
7480
  var _e, Ze, dt, qt, Ut;
7482
7481
  if (W1(ne))
@@ -7503,10 +7502,10 @@ var Xf = /* @__PURE__ */ E.forwardRef(function(e, t) {
7503
7502
  });
7504
7503
  }, [be, _, fe]), re = To(L, {
7505
7504
  value: k
7506
- }), Ee = Nt(re, 2), Ce = Ee[0], De = Ee[1], he = E.useMemo(function() {
7505
+ }), Ee = At(re, 2), Ce = Ee[0], De = Ee[1], he = E.useMemo(function() {
7507
7506
  var B, Z = W(Ce);
7508
7507
  return r === "combobox" && !((B = Z[0]) !== null && B !== void 0 && B.value) ? [] : Z;
7509
- }, [Ce, W, r]), xe = n1(he, fe), we = Nt(xe, 2), ae = we[0], et = we[1], Ke = E.useMemo(function() {
7508
+ }, [Ce, W, r]), xe = n1(he, fe), we = At(xe, 2), ae = we[0], et = we[1], Ke = E.useMemo(function() {
7510
7509
  if (!r && ae.length === 1) {
7511
7510
  var B = ae[0];
7512
7511
  if (B.value === null && (B.label === null || B.label === void 0))
@@ -7535,10 +7534,10 @@ var Xf = /* @__PURE__ */ E.forwardRef(function(e, t) {
7535
7534
  }), Ye = E.useMemo(function() {
7536
7535
  if (r !== "tags")
7537
7536
  return Te;
7538
- var B = dn(Te), Z = function(_e) {
7537
+ var B = fn(Te), Z = function(_e) {
7539
7538
  return fe.has(_e);
7540
7539
  };
7541
- return dn(ae).sort(function(ne, _e) {
7540
+ return fn(ae).sort(function(ne, _e) {
7542
7541
  return ne.value < _e.value ? -1 : 1;
7543
7542
  }).forEach(function(ne) {
7544
7543
  var _e = ne.value;
@@ -7547,9 +7546,9 @@ var Xf = /* @__PURE__ */ E.forwardRef(function(e, t) {
7547
7546
  }, [Se, Te, fe, ae, r]), He = r1(Ye, be, de, ke, w), Ge = E.useMemo(function() {
7548
7547
  return r !== "tags" || !de || He.some(function(B) {
7549
7548
  return B[w || "value"] === de;
7550
- }) ? He : [Se(de)].concat(dn(He));
7549
+ }) ? He : [Se(de)].concat(fn(He));
7551
7550
  }, [Se, w, r, He, de]), bt = E.useMemo(function() {
7552
- return S ? dn(Ge).sort(function(B, Z) {
7551
+ return S ? fn(Ge).sort(function(B, Z) {
7553
7552
  return S(B, Z);
7554
7553
  }) : Ge;
7555
7554
  }, [Ge, S]), pt = E.useMemo(function() {
@@ -7573,7 +7572,7 @@ var Xf = /* @__PURE__ */ E.forwardRef(function(e, t) {
7573
7572
  ce ? Ze : Ze[0]
7574
7573
  );
7575
7574
  }
7576
- }, Rt = E.useState(null), pe = Nt(Rt, 2), $e = pe[0], ht = pe[1], Vt = E.useState(0), vt = Nt(Vt, 2), Bt = vt[0], yt = vt[1], Gt = I !== void 0 ? I : r !== "combobox", Jt = E.useCallback(function(B, Z) {
7575
+ }, Rt = E.useState(null), pe = At(Rt, 2), $e = pe[0], ht = pe[1], Vt = E.useState(0), vt = At(Vt, 2), Bt = vt[0], yt = vt[1], Gt = I !== void 0 ? I : r !== "combobox", Jt = E.useCallback(function(B, Z) {
7577
7576
  var ne = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, _e = ne.source, Ze = _e === void 0 ? "keyboard" : _e;
7578
7577
  yt(Z), a && r === "combobox" && B !== null && Ze === "keyboard" && ht(String(B));
7579
7578
  }, [a, r]), wt = function(Z, ne, _e) {
@@ -7586,15 +7585,15 @@ var Xf = /* @__PURE__ */ E.forwardRef(function(e, t) {
7586
7585
  } : Z, Xa(ue)];
7587
7586
  };
7588
7587
  if (ne && g) {
7589
- var dt = Ze(), qt = Nt(dt, 2), Ut = qt[0], vn = qt[1];
7588
+ var dt = Ze(), qt = At(dt, 2), Ut = qt[0], vn = qt[1];
7590
7589
  g(Ut, vn);
7591
7590
  } else if (!ne && h && _e !== "clear") {
7592
- var Ct = Ze(), x = Nt(Ct, 2), j = x[0], z = x[1];
7591
+ var Ct = Ze(), x = At(Ct, 2), j = x[0], z = x[1];
7593
7592
  h(j, z);
7594
7593
  }
7595
7594
  }, Ot = sc(function(B, Z) {
7596
7595
  var ne, _e = ce ? Z.selected : !0;
7597
- _e ? ne = ce ? [].concat(dn(ae), [B]) : [B] : ne = ae.filter(function(Ze) {
7596
+ _e ? ne = ce ? [].concat(fn(ae), [B]) : [B] : ne = ae.filter(function(Ze) {
7598
7597
  return Ze.value !== B;
7599
7598
  }), gt(ne), wt(B, _e), r === "combobox" ? ht("") : (!xi || p) && (ge(""), ht(""));
7600
7599
  }), Wt = function(Z, ne) {
@@ -7607,13 +7606,13 @@ var Xf = /* @__PURE__ */ E.forwardRef(function(e, t) {
7607
7606
  if (ge(Z), ht(null), ne.source === "submit") {
7608
7607
  var _e = (Z || "").trim();
7609
7608
  if (_e) {
7610
- var Ze = Array.from(new Set([].concat(dn(it), [_e])));
7609
+ var Ze = Array.from(new Set([].concat(fn(it), [_e])));
7611
7610
  gt(Ze), wt(_e, !0), ge("");
7612
7611
  }
7613
7612
  return;
7614
7613
  }
7615
7614
  ne.source !== "blur" && (r === "combobox" && gt(Z), d == null || d(Z));
7616
- }, un = function(Z) {
7615
+ }, cn = function(Z) {
7617
7616
  var ne = Z;
7618
7617
  r !== "tags" && (ne = Z.map(function(Ze) {
7619
7618
  var dt = Ie.get(Ze);
@@ -7621,18 +7620,18 @@ var Xf = /* @__PURE__ */ E.forwardRef(function(e, t) {
7621
7620
  }).filter(function(Ze) {
7622
7621
  return Ze !== void 0;
7623
7622
  }));
7624
- var _e = Array.from(new Set([].concat(dn(it), dn(ne))));
7623
+ var _e = Array.from(new Set([].concat(fn(it), fn(ne))));
7625
7624
  gt(_e), _e.forEach(function(Ze) {
7626
7625
  wt(Ze, !0);
7627
7626
  });
7628
7627
  }, Ft = E.useMemo(function() {
7629
- var B = A !== !1 && m !== !1;
7628
+ var B = N !== !1 && m !== !1;
7630
7629
  return Dt(Dt({}, se), {}, {
7631
7630
  flattenOptions: pt,
7632
7631
  onActiveValue: Jt,
7633
7632
  defaultActiveFirstOption: Gt,
7634
7633
  onSelect: Ot,
7635
- menuItemSelectedIcon: N,
7634
+ menuItemSelectedIcon: A,
7636
7635
  rawValues: it,
7637
7636
  fieldNames: be,
7638
7637
  virtual: B,
@@ -7640,7 +7639,7 @@ var Xf = /* @__PURE__ */ E.forwardRef(function(e, t) {
7640
7639
  listItemHeight: M,
7641
7640
  childrenAsData: le
7642
7641
  });
7643
- }, [se, pt, Jt, Gt, Ot, N, it, be, A, m, R, M, le]);
7642
+ }, [se, pt, Jt, Gt, Ot, A, it, be, N, m, R, M, le]);
7644
7643
  return process.env.NODE_ENV !== "production" && (K1(e), H1(Te, be)), /* @__PURE__ */ s(Yf.Provider, {
7645
7644
  value: Ft,
7646
7645
  children: /* @__PURE__ */ s(Wl, {
@@ -7655,7 +7654,7 @@ var Xf = /* @__PURE__ */ E.forwardRef(function(e, t) {
7655
7654
  searchValue: de,
7656
7655
  onSearch: mt,
7657
7656
  autoClearSearchValue: p,
7658
- onSearchSplit: un,
7657
+ onSearchSplit: cn,
7659
7658
  dropdownMatchSelectWidth: m,
7660
7659
  OptionList: Qf,
7661
7660
  emptyOptions: !pt.length,
@@ -8067,8 +8066,8 @@ function sE(e, t, n) {
8067
8066
  };
8068
8067
  t(D);
8069
8068
  }
8070
- S && S.forEach(function(I, N) {
8071
- g(I, N, {
8069
+ S && S.forEach(function(I, A) {
8070
+ g(I, A, {
8072
8071
  node: h,
8073
8072
  pos: w,
8074
8073
  level: m ? m.level + 1 : -1
@@ -8279,11 +8278,11 @@ var uE = ["eventKey", "className", "style", "dragOver", "dragOverGapTop", "dragO
8279
8278
  }) : r.renderIcon();
8280
8279
  } else
8281
8280
  S && p && (D = r.renderIcon());
8282
- var N;
8283
- typeof c == "function" ? N = c(g) : w ? N = w(g) : N = c;
8284
- var A = /* @__PURE__ */ s("span", {
8281
+ var A;
8282
+ typeof c == "function" ? A = c(g) : w ? A = w(g) : A = c;
8283
+ var N = /* @__PURE__ */ s("span", {
8285
8284
  className: "".concat(v, "-title"),
8286
- children: N
8285
+ children: A
8287
8286
  });
8288
8287
  return /* @__PURE__ */ y("span", {
8289
8288
  ref: r.setSelectHandle,
@@ -8294,7 +8293,7 @@ var uE = ["eventKey", "className", "style", "dragOver", "dragOverGapTop", "dragO
8294
8293
  onContextMenu: r.onContextMenu,
8295
8294
  onClick: r.onSelectorClick,
8296
8295
  onDoubleClick: r.onSelectorDoubleClick,
8297
- children: [D, A, r.renderDropIndicator()]
8296
+ children: [D, N, r.renderDropIndicator()]
8298
8297
  });
8299
8298
  }, r.renderDropIndicator = function() {
8300
8299
  var l = r.props, u = l.disabled, c = l.eventKey, d = r.props.context, f = d.draggable, p = d.dropLevelOffset, g = d.dropPosition, h = d.prefixCls, v = d.indent, m = d.dropIndicatorRender, b = d.dragOverNodeKey, S = d.direction, w = !!f, _ = !u && w && b === c;
@@ -8328,7 +8327,7 @@ var uE = ["eventKey", "className", "style", "dragOver", "dragOverGapTop", "dragO
8328
8327
  value: function() {
8329
8328
  var o, i = this.props, a = i.eventKey, l = i.className, u = i.style, c = i.dragOver, d = i.dragOverGapTop, f = i.dragOverGapBottom, p = i.isLeaf, g = i.isStart, h = i.isEnd, v = i.expanded, m = i.selected, b = i.checked, S = i.halfChecked, w = i.loading, _ = i.domRef, C = i.active;
8330
8329
  i.data;
8331
- var D = i.onMouseMove, I = i.selectable, N = qi(i, uE), A = this.props.context, O = A.prefixCls, R = A.filterTreeNode, P = A.keyEntities, M = A.dropContainerKey, k = A.dropTargetKey, L = A.draggingNodeKey, K = this.isDisabled(), Q = Br(N, {
8330
+ var D = i.onMouseMove, I = i.selectable, A = qi(i, uE), N = this.props.context, O = N.prefixCls, R = N.filterTreeNode, P = N.keyEntities, M = N.dropContainerKey, k = N.dropTargetKey, L = N.draggingNodeKey, K = this.isDisabled(), Q = Br(A, {
8332
8331
  aria: !0,
8333
8332
  data: !0
8334
8333
  }), q = P[a] || {}, Y = q.level, ce = h[h.length - 1], le = this.isDraggable(), ke = !K && le, be = L === a, ie = I !== void 0 ? {
@@ -8422,7 +8421,7 @@ function yc(e, t, n, r, o, i, a, l, u, c) {
8422
8421
  }), _ = w <= 0 ? 0 : w - 1, C = a[_].key;
8423
8422
  S = l[C];
8424
8423
  }
8425
- var D = S.key, I = S, N = S.key, A = 0, O = 0;
8424
+ var D = S.key, I = S, A = S.key, N = 0, O = 0;
8426
8425
  if (!u.includes(D))
8427
8426
  for (var R = 0; R < b && gE(S); R += 1)
8428
8427
  S = S.parent, O += 1;
@@ -8431,33 +8430,33 @@ function yc(e, t, n, r, o, i, a, l, u, c) {
8431
8430
  dragNode: P,
8432
8431
  dropNode: M,
8433
8432
  dropPosition: -1
8434
- }) && S.key === n.props.eventKey ? A = -1 : (I.children || []).length && u.includes(N) ? i({
8433
+ }) && S.key === n.props.eventKey ? N = -1 : (I.children || []).length && u.includes(A) ? i({
8435
8434
  dragNode: P,
8436
8435
  dropNode: M,
8437
8436
  dropPosition: 0
8438
- }) ? A = 0 : k = !1 : O === 0 ? b > -1.5 ? i({
8437
+ }) ? N = 0 : k = !1 : O === 0 ? b > -1.5 ? i({
8439
8438
  dragNode: P,
8440
8439
  dropNode: M,
8441
8440
  dropPosition: 1
8442
- }) ? A = 1 : k = !1 : i({
8441
+ }) ? N = 1 : k = !1 : i({
8443
8442
  dragNode: P,
8444
8443
  dropNode: M,
8445
8444
  dropPosition: 0
8446
- }) ? A = 0 : i({
8445
+ }) ? N = 0 : i({
8447
8446
  dragNode: P,
8448
8447
  dropNode: M,
8449
8448
  dropPosition: 1
8450
- }) ? A = 1 : k = !1 : i({
8449
+ }) ? N = 1 : k = !1 : i({
8451
8450
  dragNode: P,
8452
8451
  dropNode: M,
8453
8452
  dropPosition: 1
8454
- }) ? A = 1 : k = !1, {
8455
- dropPosition: A,
8453
+ }) ? N = 1 : k = !1, {
8454
+ dropPosition: N,
8456
8455
  dropLevelOffset: O,
8457
8456
  dropTargetKey: S.key,
8458
8457
  dropTargetPos: S.pos,
8459
- dragOverNodeKey: N,
8460
- dropContainerKey: A === 0 ? null : ((d = S.parent) === null || d === void 0 ? void 0 : d.key) || null,
8458
+ dragOverNodeKey: A,
8459
+ dropContainerKey: N === 0 ? null : ((d = S.parent) === null || d === void 0 ? void 0 : d.key) || null,
8461
8460
  dropAllowed: k
8462
8461
  };
8463
8462
  }
@@ -8539,11 +8538,11 @@ function yE() {
8539
8538
  throw new TypeError(`Invalid attempt to destructure non-iterable instance.
8540
8539
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
8541
8540
  }
8542
- function Nr(e, t) {
8541
+ function Ar(e, t) {
8543
8542
  return vE(e) || mE(e, t) || tp(e, t) || yE();
8544
8543
  }
8545
8544
  var bE = ["className", "style", "motion", "motionNodes", "motionType", "onMotionStart", "onMotionEnd", "active", "treeNodeRequiredProps"], up = function(t, n) {
8546
- var r = t.className, o = t.style, i = t.motion, a = t.motionNodes, l = t.motionType, u = t.onMotionStart, c = t.onMotionEnd, d = t.active, f = t.treeNodeRequiredProps, p = qi(t, bE), g = E.useState(!0), h = Nr(g, 2), v = h[0], m = h[1], b = E.useContext(Yl), S = b.prefixCls, w = E.useRef(!1), _ = function() {
8545
+ var r = t.className, o = t.style, i = t.motion, a = t.motionNodes, l = t.motionType, u = t.onMotionStart, c = t.onMotionEnd, d = t.active, f = t.treeNodeRequiredProps, p = qi(t, bE), g = E.useState(!0), h = Ar(g, 2), v = h[0], m = h[1], b = E.useContext(Yl), S = b.prefixCls, w = E.useRef(!1), _ = function() {
8547
8546
  w.current || c(), w.current = !0;
8548
8547
  };
8549
8548
  return je(function() {
@@ -8560,13 +8559,13 @@ var bE = ["className", "style", "motion", "motionNodes", "motionType", "onMotion
8560
8559
  onAppearEnd: _,
8561
8560
  onLeaveEnd: _,
8562
8561
  children: function(C, D) {
8563
- var I = C.className, N = C.style;
8562
+ var I = C.className, A = C.style;
8564
8563
  return /* @__PURE__ */ s("div", {
8565
8564
  ref: D,
8566
8565
  className: ut("".concat(S, "-treenode-motion"), I),
8567
- style: N,
8568
- children: a.map(function(A) {
8569
- var O = Ei({}, (sp(A.data), A.data)), R = A.title, P = A.key, M = A.isStart, k = A.isEnd;
8566
+ style: A,
8567
+ children: a.map(function(N) {
8568
+ var O = Ei({}, (sp(N.data), N.data)), R = N.title, P = N.key, M = N.isStart, k = N.isEnd;
8570
8569
  delete O.children;
8571
8570
  var L = xo(P, f);
8572
8571
  return /* @__PURE__ */ hr(qr, {
@@ -8574,7 +8573,7 @@ var bE = ["className", "style", "motion", "motionNodes", "motionType", "onMotion
8574
8573
  ...L,
8575
8574
  title: R,
8576
8575
  active: d,
8577
- data: A.data,
8576
+ data: N.data,
8578
8577
  key: P,
8579
8578
  isStart: M,
8580
8579
  isEnd: k
@@ -8675,7 +8674,7 @@ function _E(e) {
8675
8674
  var dp = /* @__PURE__ */ E.forwardRef(function(e, t) {
8676
8675
  var n = e.prefixCls, r = e.data;
8677
8676
  e.selectable, e.checkable;
8678
- var o = e.expandedKeys, i = e.selectedKeys, a = e.checkedKeys, l = e.loadedKeys, u = e.loadingKeys, c = e.halfCheckedKeys, d = e.keyEntities, f = e.disabled, p = e.dragging, g = e.dragOverNodeKey, h = e.dropPosition, v = e.motion, m = e.height, b = e.itemHeight, S = e.virtual, w = e.focusable, _ = e.activeItem, C = e.focused, D = e.tabIndex, I = e.onKeyDown, N = e.onFocus, A = e.onBlur, O = e.onActiveChange, R = e.onListChangeStart, P = e.onListChangeEnd, M = qi(e, CE), k = E.useRef(null), L = E.useRef(null);
8677
+ var o = e.expandedKeys, i = e.selectedKeys, a = e.checkedKeys, l = e.loadedKeys, u = e.loadingKeys, c = e.halfCheckedKeys, d = e.keyEntities, f = e.disabled, p = e.dragging, g = e.dragOverNodeKey, h = e.dropPosition, v = e.motion, m = e.height, b = e.itemHeight, S = e.virtual, w = e.focusable, _ = e.activeItem, C = e.focused, D = e.tabIndex, I = e.onKeyDown, A = e.onFocus, N = e.onBlur, O = e.onActiveChange, R = e.onListChangeStart, P = e.onListChangeEnd, M = qi(e, CE), k = E.useRef(null), L = E.useRef(null);
8679
8678
  E.useImperativeHandle(t, function() {
8680
8679
  return {
8681
8680
  scrollTo: function(et) {
@@ -8686,7 +8685,7 @@ var dp = /* @__PURE__ */ E.forwardRef(function(e, t) {
8686
8685
  }
8687
8686
  };
8688
8687
  });
8689
- var K = E.useState(o), Q = Nr(K, 2), q = Q[0], Y = Q[1], ce = E.useState(r), le = Nr(ce, 2), ke = le[0], be = le[1], ie = E.useState(r), te = Nr(ie, 2), de = te[0], ge = te[1], se = E.useState([]), fe = Nr(se, 2), Ie = fe[0], Te = fe[1], W = E.useState(null), re = Nr(W, 2), Ee = re[0], Ce = re[1], De = E.useRef(r);
8688
+ var K = E.useState(o), Q = Ar(K, 2), q = Q[0], Y = Q[1], ce = E.useState(r), le = Ar(ce, 2), ke = le[0], be = le[1], ie = E.useState(r), te = Ar(ie, 2), de = te[0], ge = te[1], se = E.useState([]), fe = Ar(se, 2), Ie = fe[0], Te = fe[1], W = E.useState(null), re = Ar(W, 2), Ee = re[0], Ce = re[1], De = E.useRef(r);
8690
8689
  De.current = r;
8691
8690
  function he() {
8692
8691
  var ae = De.current;
@@ -8736,8 +8735,8 @@ var dp = /* @__PURE__ */ E.forwardRef(function(e, t) {
8736
8735
  disabled: w === !1 || f,
8737
8736
  tabIndex: w !== !1 ? D : null,
8738
8737
  onKeyDown: I,
8739
- onFocus: N,
8740
- onBlur: A,
8738
+ onFocus: A,
8739
+ onBlur: N,
8741
8740
  value: "",
8742
8741
  onChange: xE,
8743
8742
  "aria-label": "for screen reader"
@@ -8879,19 +8878,19 @@ var RE = 10, Xl = /* @__PURE__ */ function(e) {
8879
8878
  node: It(u.props)
8880
8879
  });
8881
8880
  }, r.onNodeDragEnter = function(l, u) {
8882
- var c = r.state, d = c.expandedKeys, f = c.keyEntities, p = c.dragChildrenKeys, g = c.flattenNodes, h = c.indent, v = r.props, m = v.onDragEnter, b = v.onExpand, S = v.allowDrop, w = v.direction, _ = u.props, C = _.pos, D = _.eventKey, I = Ln(r), N = I.dragNode;
8883
- if (r.currentMouseOverDroppableNodeKey !== D && (r.currentMouseOverDroppableNodeKey = D), !N) {
8881
+ var c = r.state, d = c.expandedKeys, f = c.keyEntities, p = c.dragChildrenKeys, g = c.flattenNodes, h = c.indent, v = r.props, m = v.onDragEnter, b = v.onExpand, S = v.allowDrop, w = v.direction, _ = u.props, C = _.pos, D = _.eventKey, I = Ln(r), A = I.dragNode;
8882
+ if (r.currentMouseOverDroppableNodeKey !== D && (r.currentMouseOverDroppableNodeKey = D), !A) {
8884
8883
  r.resetDragState();
8885
8884
  return;
8886
8885
  }
8887
- var A = yc(l, N, u, h, r.dragStartMousePosition, S, g, f, d, w), O = A.dropPosition, R = A.dropLevelOffset, P = A.dropTargetKey, M = A.dropContainerKey, k = A.dropTargetPos, L = A.dropAllowed, K = A.dragOverNodeKey;
8886
+ var N = yc(l, A, u, h, r.dragStartMousePosition, S, g, f, d, w), O = N.dropPosition, R = N.dropLevelOffset, P = N.dropTargetKey, M = N.dropContainerKey, k = N.dropTargetPos, L = N.dropAllowed, K = N.dragOverNodeKey;
8888
8887
  if (p.indexOf(P) !== -1 || !L) {
8889
8888
  r.resetDragState();
8890
8889
  return;
8891
8890
  }
8892
8891
  if (r.delayedDragEnterLogic || (r.delayedDragEnterLogic = {}), Object.keys(r.delayedDragEnterLogic).forEach(function(Q) {
8893
8892
  clearTimeout(r.delayedDragEnterLogic[Q]);
8894
- }), N.props.eventKey !== u.props.eventKey && (l.persist(), r.delayedDragEnterLogic[C] = window.setTimeout(function() {
8893
+ }), A.props.eventKey !== u.props.eventKey && (l.persist(), r.delayedDragEnterLogic[C] = window.setTimeout(function() {
8895
8894
  if (r.state.draggingNodeKey !== null) {
8896
8895
  var Q = Er(d), q = f[u.props.eventKey];
8897
8896
  q && (q.children || []).length && (Q = Yn(d, u.props.eventKey)), "expandedKeys" in r.props || r.setExpandedKeys(Q), b == null || b(Q, {
@@ -8900,7 +8899,7 @@ var RE = 10, Xl = /* @__PURE__ */ function(e) {
8900
8899
  nativeEvent: l.nativeEvent
8901
8900
  });
8902
8901
  }
8903
- }, 800)), N.props.eventKey === P && R === 0) {
8902
+ }, 800)), A.props.eventKey === P && R === 0) {
8904
8903
  r.resetDragState();
8905
8904
  return;
8906
8905
  }
@@ -8920,12 +8919,12 @@ var RE = 10, Xl = /* @__PURE__ */ function(e) {
8920
8919
  }, r.onNodeDragOver = function(l, u) {
8921
8920
  var c = r.state, d = c.dragChildrenKeys, f = c.flattenNodes, p = c.keyEntities, g = c.expandedKeys, h = c.indent, v = r.props, m = v.onDragOver, b = v.allowDrop, S = v.direction, w = Ln(r), _ = w.dragNode;
8922
8921
  if (!!_) {
8923
- var C = yc(l, _, u, h, r.dragStartMousePosition, b, f, p, g, S), D = C.dropPosition, I = C.dropLevelOffset, N = C.dropTargetKey, A = C.dropContainerKey, O = C.dropAllowed, R = C.dropTargetPos, P = C.dragOverNodeKey;
8924
- d.indexOf(N) !== -1 || !O || (_.props.eventKey === N && I === 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() : D === r.state.dropPosition && I === r.state.dropLevelOffset && N === r.state.dropTargetKey && A === r.state.dropContainerKey && R === r.state.dropTargetPos && O === r.state.dropAllowed && P === r.state.dragOverNodeKey || r.setState({
8922
+ var C = yc(l, _, u, h, r.dragStartMousePosition, b, f, p, g, S), D = C.dropPosition, I = C.dropLevelOffset, A = C.dropTargetKey, N = C.dropContainerKey, O = C.dropAllowed, R = C.dropTargetPos, P = C.dragOverNodeKey;
8923
+ d.indexOf(A) !== -1 || !O || (_.props.eventKey === A && I === 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() : D === r.state.dropPosition && I === r.state.dropLevelOffset && A === r.state.dropTargetKey && N === r.state.dropContainerKey && R === r.state.dropTargetPos && O === r.state.dropAllowed && P === r.state.dragOverNodeKey || r.setState({
8925
8924
  dropPosition: D,
8926
8925
  dropLevelOffset: I,
8927
- dropTargetKey: N,
8928
- dropContainerKey: A,
8926
+ dropTargetKey: A,
8927
+ dropContainerKey: N,
8929
8928
  dropTargetPos: R,
8930
8929
  dropAllowed: O,
8931
8930
  dragOverNodeKey: P
@@ -9041,17 +9040,17 @@ var RE = 10, Xl = /* @__PURE__ */ function(e) {
9041
9040
  checkedKeys: _
9042
9041
  });
9043
9042
  } else {
9044
- var D = Kr([].concat(Er(p), [b]), !0, f), I = D.checkedKeys, N = D.halfCheckedKeys;
9043
+ var D = Kr([].concat(Er(p), [b]), !0, f), I = D.checkedKeys, A = D.halfCheckedKeys;
9045
9044
  if (!c) {
9046
- var A = new Set(I);
9047
- A.delete(b);
9048
- var O = Kr(Array.from(A), {
9045
+ var N = new Set(I);
9046
+ N.delete(b);
9047
+ var O = Kr(Array.from(N), {
9049
9048
  checked: !1,
9050
- halfCheckedKeys: N
9049
+ halfCheckedKeys: A
9051
9050
  }, f);
9052
- I = O.checkedKeys, N = O.halfCheckedKeys;
9051
+ I = O.checkedKeys, A = O.halfCheckedKeys;
9053
9052
  }
9054
- S = I, w.checkedNodes = [], w.checkedNodesPositions = [], w.halfCheckedKeys = N, I.forEach(function(R) {
9053
+ S = I, w.checkedNodes = [], w.checkedNodesPositions = [], w.halfCheckedKeys = A, I.forEach(function(R) {
9055
9054
  var P = f[R];
9056
9055
  if (!!P) {
9057
9056
  var M = P.node, k = P.pos;
@@ -9063,7 +9062,7 @@ var RE = 10, Xl = /* @__PURE__ */ function(e) {
9063
9062
  }), r.setUncontrolledState({
9064
9063
  checkedKeys: I
9065
9064
  }, !1, {
9066
- halfCheckedKeys: N
9065
+ halfCheckedKeys: A
9067
9066
  });
9068
9067
  }
9069
9068
  m == null || m(S, w);
@@ -9306,7 +9305,7 @@ var RE = 10, Xl = /* @__PURE__ */ function(e) {
9306
9305
  }, {
9307
9306
  key: "render",
9308
9307
  value: function() {
9309
- var o, i = this.state, a = i.focused, l = i.flattenNodes, u = i.keyEntities, c = i.draggingNodeKey, d = i.activeKey, f = i.dropLevelOffset, p = i.dropContainerKey, g = i.dropTargetKey, h = i.dropPosition, v = i.dragOverNodeKey, m = i.indent, b = this.props, S = b.prefixCls, w = b.className, _ = b.style, C = b.showLine, D = b.focusable, I = b.tabIndex, N = I === void 0 ? 0 : I, A = b.selectable, O = b.showIcon, R = b.icon, P = b.switcherIcon, M = b.draggable, k = b.checkable, L = b.checkStrictly, K = b.disabled, Q = b.motion, q = b.loadData, Y = b.filterTreeNode, ce = b.height, le = b.itemHeight, ke = b.virtual, be = b.titleRender, ie = b.dropIndicatorRender, te = b.onContextMenu, de = b.onScroll, ge = b.direction, se = b.rootClassName, fe = b.rootStyle, Ie = Br(this.props, {
9308
+ var o, i = this.state, a = i.focused, l = i.flattenNodes, u = i.keyEntities, c = i.draggingNodeKey, d = i.activeKey, f = i.dropLevelOffset, p = i.dropContainerKey, g = i.dropTargetKey, h = i.dropPosition, v = i.dragOverNodeKey, m = i.indent, b = this.props, S = b.prefixCls, w = b.className, _ = b.style, C = b.showLine, D = b.focusable, I = b.tabIndex, A = I === void 0 ? 0 : I, N = b.selectable, O = b.showIcon, R = b.icon, P = b.switcherIcon, M = b.draggable, k = b.checkable, L = b.checkStrictly, K = b.disabled, Q = b.motion, q = b.loadData, Y = b.filterTreeNode, ce = b.height, le = b.itemHeight, ke = b.virtual, be = b.titleRender, ie = b.dropIndicatorRender, te = b.onContextMenu, de = b.onScroll, ge = b.direction, se = b.rootClassName, fe = b.rootStyle, Ie = Br(this.props, {
9310
9309
  aria: !0,
9311
9310
  data: !0
9312
9311
  }), Te;
@@ -9315,7 +9314,7 @@ var RE = 10, Xl = /* @__PURE__ */ function(e) {
9315
9314
  } : Te = {}), /* @__PURE__ */ s(Yl.Provider, {
9316
9315
  value: {
9317
9316
  prefixCls: S,
9318
- selectable: A,
9317
+ selectable: N,
9319
9318
  showIcon: O,
9320
9319
  icon: R,
9321
9320
  switcherIcon: P,
@@ -9362,7 +9361,7 @@ var RE = 10, Xl = /* @__PURE__ */ function(e) {
9362
9361
  style: _,
9363
9362
  data: l,
9364
9363
  disabled: K,
9365
- selectable: A,
9364
+ selectable: N,
9366
9365
  checkable: !!k,
9367
9366
  motion: Q,
9368
9367
  dragging: c !== null,
@@ -9371,7 +9370,7 @@ var RE = 10, Xl = /* @__PURE__ */ function(e) {
9371
9370
  virtual: ke,
9372
9371
  focusable: D,
9373
9372
  focused: a,
9374
- tabIndex: N,
9373
+ tabIndex: A,
9375
9374
  activeItem: this.getActiveItem(),
9376
9375
  onFocus: this.onFocus,
9377
9376
  onBlur: this.onBlur,
@@ -9498,7 +9497,7 @@ var DE = {
9498
9497
  padding: 0,
9499
9498
  margin: 0
9500
9499
  }, ME = function(t, n) {
9501
- var r = Ld(), o = r.prefixCls, i = r.multiple, a = r.searchValue, l = r.toggleOpen, u = r.open, c = r.notFoundContent, d = E.useContext(pp), f = d.virtual, p = d.listHeight, g = d.listItemHeight, h = d.treeData, v = d.fieldNames, m = d.onSelect, b = d.dropdownMatchSelectWidth, S = d.treeExpandAction, w = E.useContext(fp), _ = w.checkable, C = w.checkedKeys, D = w.halfCheckedKeys, I = w.treeExpandedKeys, N = w.treeDefaultExpandAll, A = w.treeDefaultExpandedKeys, O = w.onTreeExpand, R = w.treeIcon, P = w.showTreeIcon, M = w.switcherIcon, k = w.treeLine, L = w.treeNodeFilterProp, K = w.loadData, Q = w.treeLoadedKeys, q = w.treeMotion, Y = w.onTreeLoad, ce = w.keyEntities, le = E.useRef(), ke = kl(function() {
9500
+ var r = Ld(), o = r.prefixCls, i = r.multiple, a = r.searchValue, l = r.toggleOpen, u = r.open, c = r.notFoundContent, d = E.useContext(pp), f = d.virtual, p = d.listHeight, g = d.listItemHeight, h = d.treeData, v = d.fieldNames, m = d.onSelect, b = d.dropdownMatchSelectWidth, S = d.treeExpandAction, w = E.useContext(fp), _ = w.checkable, C = w.checkedKeys, D = w.halfCheckedKeys, I = w.treeExpandedKeys, A = w.treeDefaultExpandAll, N = w.treeDefaultExpandedKeys, O = w.onTreeExpand, R = w.treeIcon, P = w.showTreeIcon, M = w.switcherIcon, k = w.treeLine, L = w.treeNodeFilterProp, K = w.loadData, Q = w.treeLoadedKeys, q = w.treeMotion, Y = w.onTreeLoad, ce = w.keyEntities, le = E.useRef(), ke = kl(function() {
9502
9501
  return h;
9503
9502
  }, [u, h], function(Se, Ye) {
9504
9503
  return Ye[0] && Se[1] !== Ye[1];
@@ -9518,7 +9517,7 @@ var DE = {
9518
9517
  }, [u]);
9519
9518
  var ie = String(a).toLowerCase(), te = function(Ye) {
9520
9519
  return ie ? String(Ye[L]).toLowerCase().includes(ie) : !1;
9521
- }, de = E.useState(A), ge = Xn(de, 2), se = ge[0], fe = ge[1], Ie = E.useState(null), Te = Xn(Ie, 2), W = Te[0], re = Te[1], Ee = E.useMemo(function() {
9520
+ }, de = E.useState(N), ge = Xn(de, 2), se = ge[0], fe = ge[1], Ie = E.useState(null), Te = Xn(Ie, 2), W = Te[0], re = Te[1], Ee = E.useMemo(function() {
9522
9521
  return I ? Qn(I) : a ? W : se;
9523
9522
  }, [se, W, I, a]);
9524
9523
  E.useEffect(function() {
@@ -9602,7 +9601,7 @@ var DE = {
9602
9601
  checkStrictly: !0,
9603
9602
  checkedKeys: be,
9604
9603
  selectedKeys: _ ? [] : C,
9605
- defaultExpandAll: N,
9604
+ defaultExpandAll: A,
9606
9605
  ...it,
9607
9606
  onActiveChange: et,
9608
9607
  onSelect: he,
@@ -9711,7 +9710,7 @@ function $E(e, t) {
9711
9710
  d && (d.children = d.children || [], d.children.push(u)), (c === o || !d && o === null) && a.push(u);
9712
9711
  }), a;
9713
9712
  }
9714
- function NE(e, t, n) {
9713
+ function AE(e, t, n) {
9715
9714
  return E.useMemo(function() {
9716
9715
  return e ? n ? $E(e, pn({
9717
9716
  id: "id",
@@ -9720,7 +9719,7 @@ function NE(e, t, n) {
9720
9719
  }, n !== !0 ? n : {})) : e : mp(t);
9721
9720
  }, [t, n, e]);
9722
9721
  }
9723
- const AE = function(e) {
9722
+ const NE = function(e) {
9724
9723
  var t = E.useRef({
9725
9724
  valueLabels: /* @__PURE__ */ new Map()
9726
9725
  });
@@ -9822,15 +9821,15 @@ function KE(e) {
9822
9821
  return !e || Or(e) !== "object";
9823
9822
  }
9824
9823
  var yp = /* @__PURE__ */ E.forwardRef(function(e, t) {
9825
- var n = e.id, r = e.prefixCls, o = r === void 0 ? "rc-tree-select" : r, i = e.value, a = e.defaultValue, l = e.onChange, u = e.onSelect, c = e.onDeselect, d = e.searchValue, f = e.inputValue, p = e.onSearch, g = e.autoClearSearchValue, h = g === void 0 ? !0 : g, v = e.filterTreeNode, m = e.treeNodeFilterProp, b = m === void 0 ? "value" : m, S = e.showCheckedStrategy, w = S === void 0 ? Zl : S, _ = e.treeNodeLabelProp, C = e.multiple, D = e.treeCheckable, I = e.treeCheckStrictly, N = e.labelInValue, A = e.fieldNames, O = e.treeDataSimpleMode, R = e.treeData, P = e.children, M = e.loadData, k = e.treeLoadedKeys, L = e.onTreeLoad, K = e.treeDefaultExpandAll, Q = e.treeExpandedKeys, q = e.treeDefaultExpandedKeys, Y = e.onTreeExpand, ce = e.treeExpandAction, le = e.virtual, ke = e.listHeight, be = ke === void 0 ? 200 : ke, ie = e.listItemHeight, te = ie === void 0 ? 20 : ie, de = e.onDropdownVisibleChange, ge = e.dropdownMatchSelectWidth, se = ge === void 0 ? !0 : ge, fe = e.treeLine, Ie = e.treeIcon, Te = e.showTreeIcon, W = e.switcherIcon, re = e.treeMotion, Ee = Td(e, jE), Ce = zf(n), De = D && !I, he = D || I, xe = I || N, we = he || C, ae = To(a, {
9824
+ var n = e.id, r = e.prefixCls, o = r === void 0 ? "rc-tree-select" : r, i = e.value, a = e.defaultValue, l = e.onChange, u = e.onSelect, c = e.onDeselect, d = e.searchValue, f = e.inputValue, p = e.onSearch, g = e.autoClearSearchValue, h = g === void 0 ? !0 : g, v = e.filterTreeNode, m = e.treeNodeFilterProp, b = m === void 0 ? "value" : m, S = e.showCheckedStrategy, w = S === void 0 ? Zl : S, _ = e.treeNodeLabelProp, C = e.multiple, D = e.treeCheckable, I = e.treeCheckStrictly, A = e.labelInValue, N = e.fieldNames, O = e.treeDataSimpleMode, R = e.treeData, P = e.children, M = e.loadData, k = e.treeLoadedKeys, L = e.onTreeLoad, K = e.treeDefaultExpandAll, Q = e.treeExpandedKeys, q = e.treeDefaultExpandedKeys, Y = e.onTreeExpand, ce = e.treeExpandAction, le = e.virtual, ke = e.listHeight, be = ke === void 0 ? 200 : ke, ie = e.listItemHeight, te = ie === void 0 ? 20 : ie, de = e.onDropdownVisibleChange, ge = e.dropdownMatchSelectWidth, se = ge === void 0 ? !0 : ge, fe = e.treeLine, Ie = e.treeIcon, Te = e.showTreeIcon, W = e.switcherIcon, re = e.treeMotion, Ee = Td(e, jE), Ce = zf(n), De = D && !I, he = D || I, xe = I || A, we = he || C, ae = To(a, {
9826
9825
  value: i
9827
9826
  }), et = Xn(ae, 2), Ke = et[0], it = et[1];
9828
9827
  process.env.NODE_ENV !== "production" && zE(e);
9829
9828
  var Se = E.useMemo(
9830
9829
  function() {
9831
- return OE(A);
9830
+ return OE(N);
9832
9831
  },
9833
- [JSON.stringify(A)]
9832
+ [JSON.stringify(N)]
9834
9833
  ), Ye = To("", {
9835
9834
  value: d !== void 0 ? d : f,
9836
9835
  postState: function(ee) {
@@ -9838,7 +9837,7 @@ var yp = /* @__PURE__ */ E.forwardRef(function(e, t) {
9838
9837
  }
9839
9838
  }), He = Xn(Ye, 2), Ge = He[0], bt = He[1], pt = function(ee) {
9840
9839
  bt(ee), p == null || p(ee);
9841
- }, gt = NE(R, P, O), Rt = LE(gt, Se), pe = Rt.keyEntities, $e = Rt.valueEntities, ht = E.useCallback(function(z) {
9840
+ }, gt = AE(R, P, O), Rt = LE(gt, Se), pe = Rt.keyEntities, $e = Rt.valueEntities, ht = E.useCallback(function(z) {
9842
9841
  var ee = [], oe = [];
9843
9842
  return z.forEach(function(ue) {
9844
9843
  $e.has(ue) ? oe.push(ue) : ee.push(ue);
@@ -9870,10 +9869,10 @@ var yp = /* @__PURE__ */ E.forwardRef(function(e, t) {
9870
9869
  }, []), yt = E.useCallback(function(z) {
9871
9870
  var ee = Bt(z);
9872
9871
  return ee.map(function(oe) {
9873
- var ue = oe.label, Re = oe.value, ye = oe.halfChecked, Fe, Ne = $e.get(Re);
9874
- if (Ne) {
9872
+ var ue = oe.label, Re = oe.value, ye = oe.halfChecked, Fe, Ae = $e.get(Re);
9873
+ if (Ae) {
9875
9874
  var Qe;
9876
- ue = (Qe = ue) !== null && Qe !== void 0 ? Qe : vt(Ne.node), Fe = Ne.node.disabled;
9875
+ ue = (Qe = ue) !== null && Qe !== void 0 ? Qe : vt(Ae.node), Fe = Ae.node.disabled;
9877
9876
  } else if (ue === void 0) {
9878
9877
  var _t = Bt(Ke).find(function(Zt) {
9879
9878
  return Zt.value === Re;
@@ -9898,13 +9897,13 @@ var yp = /* @__PURE__ */ E.forwardRef(function(e, t) {
9898
9897
  return Ot.map(function(z) {
9899
9898
  return z.value;
9900
9899
  });
9901
- }, [Ot]), un = VE(Ot, Wt, De, pe), Ft = Xn(un, 2), B = Ft[0], Z = Ft[1], ne = E.useMemo(function() {
9900
+ }, [Ot]), cn = VE(Ot, Wt, De, pe), Ft = Xn(cn, 2), B = Ft[0], Z = Ft[1], ne = E.useMemo(function() {
9902
9901
  var z = Rc(B, w, pe, Se), ee = z.map(function(ye) {
9903
- var Fe, Ne, Qe;
9904
- return (Fe = (Ne = pe[ye]) === null || Ne === void 0 || (Qe = Ne.node) === null || Qe === void 0 ? void 0 : Qe[Se.value]) !== null && Fe !== void 0 ? Fe : ye;
9902
+ var Fe, Ae, Qe;
9903
+ return (Fe = (Ae = pe[ye]) === null || Ae === void 0 || (Qe = Ae.node) === null || Qe === void 0 ? void 0 : Qe[Se.value]) !== null && Fe !== void 0 ? Fe : ye;
9905
9904
  }), oe = ee.map(function(ye) {
9906
- var Fe = Ot.find(function(Ne) {
9907
- return Ne.value === ye;
9905
+ var Fe = Ot.find(function(Ae) {
9906
+ return Ae.value === ye;
9908
9907
  });
9909
9908
  return {
9910
9909
  value: ye,
@@ -9917,7 +9916,7 @@ var yp = /* @__PURE__ */ E.forwardRef(function(e, t) {
9917
9916
  label: (Fe = ye.label) !== null && Fe !== void 0 ? Fe : ye.value
9918
9917
  });
9919
9918
  });
9920
- }, [Se, we, B, Ot, yt, w, pe]), _e = AE(ne), Ze = Xn(_e, 1), dt = Ze[0], qt = Oc(function(z, ee, oe) {
9919
+ }, [Se, we, B, Ot, yt, w, pe]), _e = NE(ne), Ze = Xn(_e, 1), dt = Ze[0], qt = Oc(function(z, ee, oe) {
9921
9920
  var ue = yt(z);
9922
9921
  if (it(ue), h && bt(""), l) {
9923
9922
  var Re = z;
@@ -9931,7 +9930,7 @@ var yp = /* @__PURE__ */ E.forwardRef(function(e, t) {
9931
9930
  var Fe = ee || {
9932
9931
  triggerValue: void 0,
9933
9932
  selected: void 0
9934
- }, Ne = Fe.triggerValue, Qe = Fe.selected, _t = Re;
9933
+ }, Ae = Fe.triggerValue, Qe = Fe.selected, _t = Re;
9935
9934
  if (I) {
9936
9935
  var Zt = Wt.filter(function(an) {
9937
9936
  return !Re.includes(an.value);
@@ -9940,9 +9939,9 @@ var yp = /* @__PURE__ */ E.forwardRef(function(e, t) {
9940
9939
  }
9941
9940
  var Rn = yt(_t), Pt = {
9942
9941
  preValue: Ot,
9943
- triggerValue: Ne
9942
+ triggerValue: Ae
9944
9943
  }, Wn = !0;
9945
- (I || oe === "selection" && !Qe) && (Wn = !1), IE(Pt, Ne, z, gt, Wn, Se), he ? Pt.checked = Qe : Pt.selected = Qe;
9944
+ (I || oe === "selection" && !Qe) && (Wn = !1), IE(Pt, Ae, z, gt, Wn, Se), he ? Pt.checked = Qe : Pt.selected = Qe;
9946
9945
  var yr = xe ? Rn : Rn.map(function(an) {
9947
9946
  return an.value;
9948
9947
  });
@@ -9951,15 +9950,15 @@ var yp = /* @__PURE__ */ E.forwardRef(function(e, t) {
9951
9950
  }), Pt);
9952
9951
  }
9953
9952
  }), Ut = E.useCallback(function(z, ee) {
9954
- var oe, ue = ee.selected, Re = ee.source, ye = pe[z], Fe = ye == null ? void 0 : ye.node, Ne = (oe = Fe == null ? void 0 : Fe[Se.value]) !== null && oe !== void 0 ? oe : z;
9953
+ var oe, ue = ee.selected, Re = ee.source, ye = pe[z], Fe = ye == null ? void 0 : ye.node, Ae = (oe = Fe == null ? void 0 : Fe[Se.value]) !== null && oe !== void 0 ? oe : z;
9955
9954
  if (!we)
9956
- qt([Ne], {
9955
+ qt([Ae], {
9957
9956
  selected: !0,
9958
- triggerValue: Ne
9957
+ triggerValue: Ae
9959
9958
  }, "option");
9960
9959
  else {
9961
- var Qe = ue ? [].concat(Qn(mt), [Ne]) : B.filter(function(mn) {
9962
- return mn !== Ne;
9960
+ var Qe = ue ? [].concat(Qn(mt), [Ae]) : B.filter(function(mn) {
9961
+ return mn !== Ae;
9963
9962
  });
9964
9963
  if (De) {
9965
9964
  var _t = ht(Qe), Zt = _t.missingRawValues, Rn = _t.existRawValues, Pt = Rn.map(function(mn) {
@@ -9981,10 +9980,10 @@ var yp = /* @__PURE__ */ E.forwardRef(function(e, t) {
9981
9980
  }
9982
9981
  qt(Qe, {
9983
9982
  selected: ue,
9984
- triggerValue: Ne
9983
+ triggerValue: Ae
9985
9984
  }, Re || "option");
9986
9985
  }
9987
- ue || !we ? u == null || u(Ne, ol(Fe)) : c == null || c(Ne, ol(Fe));
9986
+ ue || !we ? u == null || u(Ae, ol(Fe)) : c == null || c(Ae, ol(Fe));
9988
9987
  }, [ht, $e, pe, Se, we, mt, qt, De, u, c, B, Z]), vn = E.useCallback(function(z) {
9989
9988
  if (de) {
9990
9989
  var ee = {};
@@ -10140,7 +10139,7 @@ const HE = ({
10140
10139
  }) => /* @__PURE__ */ s(GE, {
10141
10140
  onClick: e,
10142
10141
  ...t
10143
- }), qE = Ao((e, { radius: t = 4 }) => ({
10142
+ }), qE = No((e, { radius: t = 4 }) => ({
10144
10143
  root: {
10145
10144
  borderRadius: e.fn.radius(t),
10146
10145
  display: "flex",
@@ -10424,7 +10423,7 @@ const HE = ({
10424
10423
  const o = ft(), i = !!t.options_query_id, {
10425
10424
  state: a,
10426
10425
  data: l
10427
- } = o.getDataStuffByID(t.options_query_id), u = a === "loading", c = Pe(() => l ? fv(l) : [], [l]);
10426
+ } = o.getDataStuffByID(t.options_query_id), u = a === "loading", c = Me(() => l ? fv(l) : [], [l]);
10428
10427
  je(() => {
10429
10428
  var g;
10430
10429
  if (!t.select_first_by_default)
@@ -10523,31 +10522,37 @@ const HE = ({
10523
10522
  }, [n.filters.values, i]), je(() => {
10524
10523
  n.filters.updatePreviewValues(a);
10525
10524
  }, [a]);
10526
- const l = n.filters.visibleInView(t.id);
10527
- return l.length === 0 ? null : /* @__PURE__ */ s("form", {
10525
+ const l = n.filters.visibleInView(t.id), u = Me(() => l.every((d) => d.auto_submit), [l]);
10526
+ if (l.length === 0)
10527
+ return null;
10528
+ const c = (d, f) => (p) => {
10529
+ f(p), d.auto_submit && n.filters.setValueByKey(d.key, p);
10530
+ };
10531
+ return /* @__PURE__ */ s("form", {
10528
10532
  onSubmit: o(n.filters.setValues),
10529
10533
  children: /* @__PURE__ */ y($, {
10530
10534
  className: "dashboard-filters",
10531
10535
  position: "apart",
10532
- p: "md",
10533
10536
  noWrap: !0,
10534
- sx: {
10537
+ sx: u ? {} : {
10535
10538
  border: "1px solid #e9ecef",
10536
- borderRadius: "4px"
10539
+ borderRadius: "4px",
10540
+ padding: "16px"
10537
10541
  },
10538
10542
  children: [/* @__PURE__ */ s($, {
10539
10543
  align: "flex-start",
10540
- children: l.map((u) => /* @__PURE__ */ s(X, {
10541
- name: u.key,
10544
+ children: l.map((d) => /* @__PURE__ */ s(X, {
10545
+ name: d.key,
10542
10546
  control: r,
10543
10547
  render: ({
10544
- field: c
10548
+ field: f
10545
10549
  }) => /* @__PURE__ */ s(bp, {
10546
- filter: u,
10547
- ...c
10550
+ filter: d,
10551
+ value: f.value,
10552
+ onChange: c(d, f.onChange)
10548
10553
  })
10549
- }, u.id))
10550
- }), /* @__PURE__ */ s($, {
10554
+ }, d.id))
10555
+ }), !u && /* @__PURE__ */ s($, {
10551
10556
  sx: {
10552
10557
  alignSelf: "flex-end"
10553
10558
  },
@@ -10555,7 +10560,7 @@ const HE = ({
10555
10560
  color: "blue",
10556
10561
  size: "sm",
10557
10562
  type: "submit",
10558
- children: "Submit"
10563
+ children: "Search"
10559
10564
  })
10560
10565
  })]
10561
10566
  })
@@ -10747,7 +10752,7 @@ WHERE
10747
10752
  color: "red"
10748
10753
  });
10749
10754
  }
10750
- }, i = Pe(() => {
10755
+ }, i = Me(() => {
10751
10756
  try {
10752
10757
  return JSON.stringify(JSON.parse(n)) !== JSON.stringify(t.mock_context.current);
10753
10758
  } catch {
@@ -11079,11 +11084,11 @@ const uR = Ur(({
11079
11084
  loading: o
11080
11085
  } = Sl(sR, {
11081
11086
  refreshDeps: []
11082
- }, []), i = Pe(() => r.map((l) => ({
11087
+ }, []), i = Me(() => r.map((l) => ({
11083
11088
  label: l.key,
11084
11089
  value: l.key,
11085
11090
  type: l.type
11086
- })), [r]), a = Pe(() => i.reduce((l, u) => (l[u.value] = u.type, l), {}), [i]);
11091
+ })), [r]), a = Me(() => i.reduce((l, u) => (l[u.value] = u.type, l), {}), [i]);
11087
11092
  return /* @__PURE__ */ s(Le, {
11088
11093
  label: "Data Source",
11089
11094
  data: i,
@@ -11652,7 +11657,7 @@ const Op = T.model("FilterConfigModel_TextInput", {
11652
11657
  config: t
11653
11658
  }) {
11654
11659
  return /* @__PURE__ */ s(Je, {
11655
- children: /* @__PURE__ */ s(fn, {
11660
+ children: /* @__PURE__ */ s(un, {
11656
11661
  checked: t.default_value,
11657
11662
  onChange: (n) => t.setDefaultValue(n.currentTarget.checked),
11658
11663
  label: "Default Checked"
@@ -11678,11 +11683,11 @@ const Op = T.model("FilterConfigModel_TextInput", {
11678
11683
  }) {
11679
11684
  return /* @__PURE__ */ y(Je, {
11680
11685
  children: [/* @__PURE__ */ y($, {
11681
- children: [/* @__PURE__ */ s(fn, {
11686
+ children: [/* @__PURE__ */ s(un, {
11682
11687
  checked: t.required,
11683
11688
  onChange: (n) => t.setRequired(n.currentTarget.checked),
11684
11689
  label: "Required"
11685
- }), /* @__PURE__ */ s(fn, {
11690
+ }), /* @__PURE__ */ s(un, {
11686
11691
  checked: t.clearable,
11687
11692
  onChange: (n) => t.setClearable(n.currentTarget.checked),
11688
11693
  label: "Clearable"
@@ -11745,7 +11750,7 @@ const Op = T.model("FilterConfigModel_TextInput", {
11745
11750
  })
11746
11751
  })]
11747
11752
  });
11748
- }, NR = J(function({
11753
+ }, AR = J(function({
11749
11754
  config: t
11750
11755
  }) {
11751
11756
  const n = () => {
@@ -11766,7 +11771,7 @@ const Op = T.model("FilterConfigModel_TextInput", {
11766
11771
  }), r.length > 0 && /* @__PURE__ */ s(vl, {
11767
11772
  label: "Default Selection",
11768
11773
  data: o,
11769
- value: t.default_value,
11774
+ value: [...t.default_value],
11770
11775
  onChange: t.setDefaultValue
11771
11776
  }), r.map((i, a) => /* @__PURE__ */ y($, {
11772
11777
  sx: {
@@ -11821,7 +11826,7 @@ const Op = T.model("FilterConfigModel_TextInput", {
11821
11826
  }), /* @__PURE__ */ s(ot, {
11822
11827
  label: "Or fetch options from database",
11823
11828
  labelPosition: "center"
11824
- }), /* @__PURE__ */ s(fn, {
11829
+ }), /* @__PURE__ */ s(un, {
11825
11830
  checked: t.select_first_by_default,
11826
11831
  onChange: (i) => t.setSelectFirstByDefault(i.currentTarget.checked),
11827
11832
  label: "Select the first option by default"
@@ -11830,7 +11835,7 @@ const Op = T.model("FilterConfigModel_TextInput", {
11830
11835
  onChange: t.setOptionsQueryID
11831
11836
  }), /* @__PURE__ */ s(Dp, {})]
11832
11837
  });
11833
- }), AR = J(function({
11838
+ }), NR = J(function({
11834
11839
  config: t
11835
11840
  }) {
11836
11841
  const n = () => {
@@ -11843,7 +11848,7 @@ const Op = T.model("FilterConfigModel_TextInput", {
11843
11848
  value: ""
11844
11849
  }, ...r];
11845
11850
  return /* @__PURE__ */ y(Je, {
11846
- children: [/* @__PURE__ */ s(fn, {
11851
+ children: [/* @__PURE__ */ s(un, {
11847
11852
  checked: t.required,
11848
11853
  onChange: (i) => t.setRequired(i.currentTarget.checked),
11849
11854
  label: "Required"
@@ -11913,7 +11918,7 @@ const Op = T.model("FilterConfigModel_TextInput", {
11913
11918
  }), /* @__PURE__ */ s(ot, {
11914
11919
  label: "Or fetch options from database",
11915
11920
  labelPosition: "center"
11916
- }), /* @__PURE__ */ s(fn, {
11921
+ }), /* @__PURE__ */ s(un, {
11917
11922
  checked: t.select_first_by_default,
11918
11923
  onChange: (i) => t.setSelectFirstByDefault(i.currentTarget.checked),
11919
11924
  label: "Select the first option by default"
@@ -11932,7 +11937,7 @@ const Op = T.model("FilterConfigModel_TextInput", {
11932
11937
  onChange: (n) => {
11933
11938
  t.setDefaultValue(n.currentTarget.value);
11934
11939
  }
11935
- }), /* @__PURE__ */ s(fn, {
11940
+ }), /* @__PURE__ */ s(un, {
11936
11941
  checked: t.required,
11937
11942
  onChange: (n) => t.setRequired(n.currentTarget.checked),
11938
11943
  label: "Required"
@@ -11975,7 +11980,7 @@ const Op = T.model("FilterConfigModel_TextInput", {
11975
11980
  }), /* @__PURE__ */ s(ot, {
11976
11981
  label: "Fetch options from database",
11977
11982
  labelPosition: "center"
11978
- }), /* @__PURE__ */ s(fn, {
11983
+ }), /* @__PURE__ */ s(un, {
11979
11984
  checked: t.select_first_by_default,
11980
11985
  onChange: (n) => t.setSelectFirstByDefault(n.currentTarget.checked),
11981
11986
  label: "Select the first option by default"
@@ -12015,8 +12020,8 @@ const Op = T.model("FilterConfigModel_TextInput", {
12015
12020
  })]
12016
12021
  });
12017
12022
  }), KR = {
12018
- select: AR,
12019
- "multi-select": NR,
12023
+ select: NR,
12024
+ "multi-select": AR,
12020
12025
  "tree-select": zR,
12021
12026
  "text-input": LR,
12022
12027
  checkbox: PR,
@@ -12056,12 +12061,23 @@ const Op = T.model("FilterConfigModel_TextInput", {
12056
12061
  sx: {
12057
12062
  maxWidth: "30em"
12058
12063
  },
12059
- children: [/* @__PURE__ */ s(Sn, {
12060
- label: "Placement Order",
12061
- required: !0,
12062
- value: t.order,
12063
- onChange: t.setOrder,
12064
- hideControls: !0
12064
+ children: [/* @__PURE__ */ y($, {
12065
+ noWrap: !0,
12066
+ children: [/* @__PURE__ */ s(Sn, {
12067
+ label: "Placement Order",
12068
+ required: !0,
12069
+ value: t.order,
12070
+ onChange: t.setOrder,
12071
+ hideControls: !0,
12072
+ sx: {
12073
+ flexGrow: "1 !important"
12074
+ }
12075
+ }), /* @__PURE__ */ s(un, {
12076
+ label: "Submit automatically",
12077
+ checked: t.auto_submit,
12078
+ onChange: (i) => t.setAutoSubmit(i.currentTarget.checked),
12079
+ mt: 22
12080
+ })]
12065
12081
  }), /* @__PURE__ */ s(vl, {
12066
12082
  label: "Visible in...",
12067
12083
  data: r.views.options,
@@ -12108,7 +12124,8 @@ const GR = J(function() {
12108
12124
  order: n.length + 1,
12109
12125
  type: tn.TextInput,
12110
12126
  config: Tp(),
12111
- visibleInViewsIDs: ["Main"]
12127
+ visibleInViewsIDs: ["Main"],
12128
+ auto_submit: !1
12112
12129
  };
12113
12130
  t.filters.append(i);
12114
12131
  };
@@ -12392,7 +12409,7 @@ const YR = J(() => {
12392
12409
  triggerEdit: r,
12393
12410
  options: o
12394
12411
  }) => {
12395
- const i = Pe(() => [...o, {
12412
+ const i = Me(() => [...o, {
12396
12413
  label: "Add a View",
12397
12414
  value: Tc,
12398
12415
  type: "TRIGGER_TO_ADD"
@@ -13075,7 +13092,7 @@ const bO = (e) => {
13075
13092
  instance: l,
13076
13093
  ...sr(e, ["panel", "vizManager", "data", "panelInfoEditor"])
13077
13094
  });
13078
- }, Np = (e, t) => {
13095
+ }, Ap = (e, t) => {
13079
13096
  const n = Oo.bezier(e), r = Oo.bezier(t);
13080
13097
  return function(o) {
13081
13098
  return o < 50 ? n(o * 2 / 100).hex() : r((o - 50) * 2 / 100).hex();
@@ -13088,13 +13105,13 @@ const bO = (e) => {
13088
13105
  }, SO = {
13089
13106
  type: "interpolation",
13090
13107
  displayName: "Red / Green",
13091
- getColor: Np(["darkred", "deeppink", "lightyellow"], ["lightyellow", "lightgreen", "teal"]),
13108
+ getColor: Ap(["darkred", "deeppink", "lightyellow"], ["lightyellow", "lightgreen", "teal"]),
13092
13109
  name: "red-green",
13093
13110
  category: "diverging"
13094
13111
  }, CO = {
13095
13112
  type: "interpolation",
13096
13113
  displayName: "Yellow / Blue",
13097
- getColor: Np(["#8f531d", "#ffd347", "#e3efe3"], ["#eefaee", "#4ecbbf", "#003f94"]),
13114
+ getColor: Ap(["#8f531d", "#ffd347", "#e3efe3"], ["#eefaee", "#4ecbbf", "#003f94"]),
13098
13115
  name: "yellow-blue",
13099
13116
  category: "diverging"
13100
13117
  }, xO = {
@@ -13121,7 +13138,7 @@ const bO = (e) => {
13121
13138
  getColor: Qi(["#fff7f1", "darkorange", "#b60000"]),
13122
13139
  name: "orange",
13123
13140
  category: "sequential"
13124
- }, OO = "6.14.0";
13141
+ }, OO = "6.15.0";
13125
13142
  class TO {
13126
13143
  constructor(t) {
13127
13144
  ve(this, "staticColors", /* @__PURE__ */ new Map());
@@ -13272,10 +13289,10 @@ function PO({
13272
13289
  xAxis3D: u,
13273
13290
  yAxis3D: c,
13274
13291
  zAxis3D: d
13275
- } = Lt({}, t, is), f = Pe(() => {
13292
+ } = Lt({}, t, is), f = Me(() => {
13276
13293
  const h = hh(n, (v) => v[l]);
13277
13294
  return st(h, l);
13278
- }, [n, l]), p = Pe(() => {
13295
+ }, [n, l]), p = Me(() => {
13279
13296
  const h = Xc(n, (v) => v[l]);
13280
13297
  return st(h, l);
13281
13298
  }, [n, l]), g = {
@@ -13516,7 +13533,7 @@ class $O extends on {
13516
13533
  }));
13517
13534
  }
13518
13535
  }
13519
- const NO = {
13536
+ const AO = {
13520
13537
  displayName: "Bar Chart (3D)",
13521
13538
  migrator: new $O(),
13522
13539
  name: "bar-3d",
@@ -13535,7 +13552,7 @@ const NO = {
13535
13552
  () => new Rs(t, e.resolveComponent(t.type), ta),
13536
13553
  [t, e]
13537
13554
  ), Mc = "__TRIGGERS";
13538
- class AO {
13555
+ class NO {
13539
13556
  constructor(t, n) {
13540
13557
  ve(this, "attachments");
13541
13558
  this.instance = t, this.component = n;
@@ -13852,7 +13869,7 @@ function jO({
13852
13869
  })]
13853
13870
  });
13854
13871
  }
13855
- const Ap = F.forwardRef(jO);
13872
+ const Np = F.forwardRef(jO);
13856
13873
  function KO({
13857
13874
  label: e,
13858
13875
  value: t,
@@ -14171,7 +14188,7 @@ F.forwardRef(function({
14171
14188
  value: t.data_field,
14172
14189
  onChange: (l) => a("data_field", l)
14173
14190
  })]
14174
- }), /* @__PURE__ */ s(Ap, {
14191
+ }), /* @__PURE__ */ s(Np, {
14175
14192
  label: "Aggregation",
14176
14193
  value: t.aggregation,
14177
14194
  onChange: (l) => a("aggregation", l)
@@ -14632,7 +14649,7 @@ function _T({
14632
14649
  reference_lines: g
14633
14650
  } = Lt({}, i, ss), v = {
14634
14651
  dataset: [{
14635
- source: Pe(() => {
14652
+ source: Me(() => {
14636
14653
  const m = ct.groupBy(l, d.data_key);
14637
14654
  return CT(m, f.data_key);
14638
14655
  }, [l, d.data_key, f.data_key])
@@ -14806,7 +14823,7 @@ function RT({
14806
14823
  name: "",
14807
14824
  template: "",
14808
14825
  variable_key: ""
14809
- }), c = Pe(() => n.map((d) => ({
14826
+ }), c = Me(() => n.map((d) => ({
14810
14827
  label: d.name,
14811
14828
  value: d.name
14812
14829
  })), [n]);
@@ -14834,7 +14851,7 @@ function OT({
14834
14851
  set: n
14835
14852
  } = rt(e.instanceData, "config"), r = e.data, {
14836
14853
  variables: o
14837
- } = e, i = Pe(() => Lt({}, t, ss), [t]), {
14854
+ } = e, i = Me(() => Lt({}, t, ss), [t]), {
14838
14855
  control: a,
14839
14856
  handleSubmit: l,
14840
14857
  watch: u,
@@ -14846,7 +14863,7 @@ function OT({
14846
14863
  je(() => {
14847
14864
  d(i);
14848
14865
  }, [i]), u(["x_axis", "y_axis", "reference_lines", "color"]);
14849
- const f = c(), p = Pe(() => !Xt(f, t), [f, t]);
14866
+ const f = c(), p = Me(() => !Xt(f, t), [f, t]);
14850
14867
  return /* @__PURE__ */ s(U, {
14851
14868
  mt: "md",
14852
14869
  spacing: "xs",
@@ -15094,7 +15111,7 @@ const us = {
15094
15111
  instance: t
15095
15112
  }), r = Wo(n.triggerManager, ig.id), o = ft(), {
15096
15113
  value: i
15097
- } = rt(e.instanceData, "config"), a = Pe(() => En({}, i, us), [i]), {
15114
+ } = rt(e.instanceData, "config"), a = Me(() => En({}, i, us), [i]), {
15098
15115
  content: l,
15099
15116
  ...u
15100
15117
  } = a, {
@@ -15119,7 +15136,7 @@ const us = {
15119
15136
  children: Cl(l)(f)
15120
15137
  })
15121
15138
  });
15122
- }), NT = ({
15139
+ }), AT = ({
15123
15140
  value: e,
15124
15141
  onChange: t,
15125
15142
  label: n
@@ -15154,7 +15171,7 @@ const us = {
15154
15171
  })
15155
15172
  })]
15156
15173
  });
15157
- }, AT = rh.map((e) => ({
15174
+ }, NT = rh.map((e) => ({
15158
15175
  label: e.toUpperCase(),
15159
15176
  value: e
15160
15177
  })), LT = ({
@@ -15162,7 +15179,7 @@ const us = {
15162
15179
  value: t,
15163
15180
  onChange: n
15164
15181
  }) => /* @__PURE__ */ s(Le, {
15165
- data: AT,
15182
+ data: NT,
15166
15183
  label: e,
15167
15184
  value: t,
15168
15185
  onChange: n
@@ -15195,7 +15212,7 @@ function FT({
15195
15212
  const {
15196
15213
  value: t,
15197
15214
  set: n
15198
- } = rt(e.instanceData, "config"), r = Pe(() => En({}, t, us), [t]), o = (i, a) => {
15215
+ } = rt(e.instanceData, "config"), r = Me(() => En({}, t, us), [t]), o = (i, a) => {
15199
15216
  n({
15200
15217
  ...r,
15201
15218
  [i]: a
@@ -15221,7 +15238,7 @@ function FT({
15221
15238
  onChange: (i) => o("variant", i)
15222
15239
  }), /* @__PURE__ */ y(bl, {
15223
15240
  cols: 2,
15224
- children: [/* @__PURE__ */ s(NT, {
15241
+ children: [/* @__PURE__ */ s(AT, {
15225
15242
  label: "Theme",
15226
15243
  value: r.color,
15227
15244
  onChange: (i) => o("color", i)
@@ -15230,7 +15247,7 @@ function FT({
15230
15247
  label: "Size",
15231
15248
  value: r.size,
15232
15249
  onChange: (i) => o("size", i)
15233
- }), /* @__PURE__ */ s(fn, {
15250
+ }), /* @__PURE__ */ s(un, {
15234
15251
  label: "Compact",
15235
15252
  checked: r.compact,
15236
15253
  onChange: (i) => o("compact", i.currentTarget.checked)
@@ -15661,7 +15678,7 @@ const cs = {
15661
15678
  };
15662
15679
  jt.use([$i, fd, pd, gd, Xr, Jr, Zr, vr, dd, Uh]);
15663
15680
  jt.registerTransform(hd.regression);
15664
- function Nc(e) {
15681
+ function Ac(e) {
15665
15682
  return e.trim().length > 0;
15666
15683
  }
15667
15684
  function aD({
@@ -15702,7 +15719,7 @@ function lD({
15702
15719
  value: r
15703
15720
  } = rt(e.instanceData, "config"), {
15704
15721
  variables: o
15705
- } = e, i = Pe(() => Lt({}, r, ds), [r]), a = e.data, {
15722
+ } = e, i = Me(() => Lt({}, r, ds), [r]), a = e.data, {
15706
15723
  width: l,
15707
15724
  height: u
15708
15725
  } = e.viewport, {
@@ -15723,7 +15740,7 @@ function lD({
15723
15740
  };
15724
15741
  }, [i, a]), h = Math.max(0, u - d - p);
15725
15742
  return /* @__PURE__ */ y(Be, {
15726
- children: [Nc(i.stats.templates.top) && /* @__PURE__ */ s(V, {
15743
+ children: [Ac(i.stats.templates.top) && /* @__PURE__ */ s(V, {
15727
15744
  ref: c,
15728
15745
  align: "left",
15729
15746
  size: "xs",
@@ -15736,7 +15753,7 @@ function lD({
15736
15753
  data: a,
15737
15754
  conf: i,
15738
15755
  interactionManager: n
15739
- }), Nc(i.stats.templates.bottom) && /* @__PURE__ */ s(V, {
15756
+ }), Ac(i.stats.templates.bottom) && /* @__PURE__ */ s(V, {
15740
15757
  ref: f,
15741
15758
  align: "left",
15742
15759
  size: "xs",
@@ -15900,7 +15917,7 @@ function dD({
15900
15917
  upper: "",
15901
15918
  lower: ""
15902
15919
  }
15903
- }), c = Pe(() => n.map((d) => ({
15920
+ }), c = Me(() => n.map((d) => ({
15904
15921
  label: d.name,
15905
15922
  value: d.name
15906
15923
  })), [n]);
@@ -16061,7 +16078,7 @@ function gD({
16061
16078
  template: "",
16062
16079
  variable_key: "",
16063
16080
  orientation: "horizontal"
16064
- }), c = Pe(() => n.map((d) => ({
16081
+ }), c = Me(() => n.map((d) => ({
16065
16082
  label: d.name,
16066
16083
  value: d.name
16067
16084
  })), [n]);
@@ -16372,7 +16389,7 @@ function yD({
16372
16389
  }, p))]
16373
16390
  });
16374
16391
  }
16375
- const No = {
16392
+ const Ao = {
16376
16393
  static: {
16377
16394
  type: "static",
16378
16395
  size: 10
@@ -16611,7 +16628,7 @@ const _D = ({
16611
16628
  func_content: p
16612
16629
  }));
16613
16630
  }, f = () => {
16614
- d(No.dynamic.func_content);
16631
+ d(Ao.dynamic.func_content);
16615
16632
  };
16616
16633
  return /* @__PURE__ */ y(Je, {
16617
16634
  children: [/* @__PURE__ */ s(Be, {
@@ -16712,7 +16729,7 @@ const _D = ({
16712
16729
  }, o) => {
16713
16730
  const i = (a) => {
16714
16731
  n({
16715
- ...No[a]
16732
+ ...Ao[a]
16716
16733
  });
16717
16734
  };
16718
16735
  return /* @__PURE__ */ y(bl, {
@@ -16964,7 +16981,7 @@ function kD({
16964
16981
  control: e,
16965
16982
  render: ({
16966
16983
  field: l
16967
- }) => /* @__PURE__ */ s(fn, {
16984
+ }) => /* @__PURE__ */ s(un, {
16968
16985
  label: "Hide in legend",
16969
16986
  checked: l.value,
16970
16987
  onChange: (u) => l.onChange(u.currentTarget.checked)
@@ -17007,7 +17024,7 @@ function ID({
17007
17024
  type: "bar",
17008
17025
  name: xn(),
17009
17026
  showSymbol: !1,
17010
- symbolSize: No.static,
17027
+ symbolSize: Ao.static,
17011
17028
  y_axis_data_key: "value",
17012
17029
  yAxisIndex: 0,
17013
17030
  label_position: "top",
@@ -17104,7 +17121,7 @@ function $D({
17104
17121
  })
17105
17122
  });
17106
17123
  }
17107
- const ND = ({
17124
+ const AD = ({
17108
17125
  disabled: e,
17109
17126
  value: t,
17110
17127
  onChange: n
@@ -17132,7 +17149,7 @@ const ND = ({
17132
17149
  }
17133
17150
  }
17134
17151
  })]
17135
- }), AD = ({
17152
+ }), ND = ({
17136
17153
  value: e,
17137
17154
  onChange: t,
17138
17155
  data: n
@@ -17182,12 +17199,12 @@ const ND = ({
17182
17199
  closeOnClickOutside: !1,
17183
17200
  withCloseButton: !1,
17184
17201
  children: r && /* @__PURE__ */ y(U, {
17185
- children: [/* @__PURE__ */ s(fn, {
17202
+ children: [/* @__PURE__ */ s(un, {
17186
17203
  mt: 10,
17187
17204
  label: "Enabled",
17188
17205
  checked: a.enabled,
17189
17206
  onChange: (g) => u(g.currentTarget.checked)
17190
- }), /* @__PURE__ */ s(ND, {
17207
+ }), /* @__PURE__ */ s(AD, {
17191
17208
  value: a.func_content,
17192
17209
  onChange: f,
17193
17210
  disabled: !a.enabled
@@ -17290,7 +17307,7 @@ function LD({
17290
17307
  control: t,
17291
17308
  render: ({
17292
17309
  field: r
17293
- }) => /* @__PURE__ */ s(AD, {
17310
+ }) => /* @__PURE__ */ s(ND, {
17294
17311
  data: e,
17295
17312
  ...r
17296
17313
  })
@@ -17487,7 +17504,7 @@ function HD(e) {
17487
17504
  type: n,
17488
17505
  name: r,
17489
17506
  showSymbol: o,
17490
- symbolSize: i = No.static,
17507
+ symbolSize: i = Ao.static,
17491
17508
  y_axis_data_key: a = "value",
17492
17509
  yAxisIndex: l = 0,
17493
17510
  label_position: u = "top",
@@ -17525,7 +17542,7 @@ function HD(e) {
17525
17542
  hide_in_legend: S
17526
17543
  };
17527
17544
  return typeof i == "number" && (w.symbolSize = {
17528
- ...No.static,
17545
+ ...Ao.static,
17529
17546
  size: i
17530
17547
  }), w;
17531
17548
  }
@@ -17560,7 +17577,7 @@ function WD({
17560
17577
  set: n
17561
17578
  } = rt(e.instanceData, "config"), {
17562
17579
  variables: r
17563
- } = e, o = e.data, i = Pe(() => En({}, t, ds), [t]), a = Pe(() => GD(i), [i]);
17580
+ } = e, o = e.data, i = Me(() => En({}, t, ds), [t]), a = Me(() => GD(i), [i]);
17564
17581
  je(() => {
17565
17582
  !Xt(i, a) && (console.log("config malformed, resetting to defaults", i, a), n(a));
17566
17583
  }, [i, a]);
@@ -17576,7 +17593,7 @@ function WD({
17576
17593
  je(() => {
17577
17594
  f(a);
17578
17595
  }, [a]);
17579
- const p = d(), g = Pe(() => !Xt(p, i), [p, i]);
17596
+ const p = d(), g = Me(() => !Xt(p, i), [p, i]);
17580
17597
  return /* @__PURE__ */ s(U, {
17581
17598
  mt: "md",
17582
17599
  spacing: "xs",
@@ -17844,7 +17861,7 @@ function tM({
17844
17861
  } = Lt({}, i, fs), {
17845
17862
  barData: g,
17846
17863
  lineData: h
17847
- } = Pe(() => {
17864
+ } = Me(() => {
17848
17865
  const m = a.map((w) => [w[c.data_key], Number(w[d])]).sort((w, _) => _[1] - w[1]), b = m.reduce((w, _) => w + _[1], 0), S = m.reduce((w, _, C) => {
17849
17866
  const D = C === 0 ? 0 : w[C - 1][1];
17850
17867
  return w.push([_[0], D + _[1]]), w;
@@ -17955,7 +17972,7 @@ function nM({
17955
17972
  const {
17956
17973
  value: t,
17957
17974
  set: n
17958
- } = rt(e.instanceData, "config"), r = e.data, o = Pe(() => Lt({}, t, fs), [t]), {
17975
+ } = rt(e.instanceData, "config"), r = e.data, o = Me(() => Lt({}, t, fs), [t]), {
17959
17976
  control: i,
17960
17977
  handleSubmit: a,
17961
17978
  watch: l,
@@ -17967,7 +17984,7 @@ function nM({
17967
17984
  je(() => {
17968
17985
  c(o);
17969
17986
  }, [o]), l(["x_axis", "data_key", "bar", "line"]);
17970
- const d = u(), f = Pe(() => !Xt(d, t), [d, t]);
17987
+ const d = u(), f = Me(() => !Xt(d, t), [d, t]);
17971
17988
  return /* @__PURE__ */ s(U, {
17972
17989
  mt: "md",
17973
17990
  spacing: "xs",
@@ -18179,10 +18196,10 @@ function aM({
18179
18196
  } = e.viewport, {
18180
18197
  label_field: i,
18181
18198
  value_field: a
18182
- } = Lt({}, t, gs), l = Pe(() => n.map((d) => ({
18199
+ } = Lt({}, t, gs), l = Me(() => n.map((d) => ({
18183
18200
  name: d[i],
18184
18201
  value: Number(d[a])
18185
- })), [n, i, a]), u = Pe(() => ({
18202
+ })), [n, i, a]), u = Me(() => ({
18186
18203
  series: {
18187
18204
  labelLayout: function(d) {
18188
18205
  const f = d.labelRect.x < r / 2, p = d.labelLinePoints;
@@ -18427,7 +18444,7 @@ function gM({
18427
18444
  } = rt(e.instanceData, "config"), {
18428
18445
  width: n,
18429
18446
  height: r
18430
- } = e.viewport, o = e.data, i = Pe(() => pM(En({}, t, hs), o), [t, o]);
18447
+ } = e.viewport, o = e.data, i = Me(() => pM(En({}, t, hs), o), [t, o]);
18431
18448
  return !n || !r || !t || _l(t == null ? void 0 : t.dimensions) ? null : /* @__PURE__ */ s(Be, {
18432
18449
  children: /* @__PURE__ */ s(mr, {
18433
18450
  echarts: jt,
@@ -18588,10 +18605,10 @@ function yM({
18588
18605
  const t = e.data, {
18589
18606
  value: n,
18590
18607
  set: r
18591
- } = rt(e.instanceData, "config"), o = Pe(() => En({}, n, hs), [n]), {
18608
+ } = rt(e.instanceData, "config"), o = Me(() => En({}, n, hs), [n]), {
18592
18609
  dimensions: i,
18593
18610
  series_name_key: a
18594
- } = o, l = Pe(() => ({
18611
+ } = o, l = Me(() => ({
18595
18612
  dimensions: mM(i != null ? i : []),
18596
18613
  series_name_key: a
18597
18614
  }), [i, a]);
@@ -18610,7 +18627,7 @@ function yM({
18610
18627
  je(() => {
18611
18628
  Xt(f(), l) || p(l);
18612
18629
  }, [o]), d(["series_name_key"]);
18613
- const g = f(), h = Pe(() => !Xt(g, o), [g, o]);
18630
+ const g = f(), h = Me(() => !Xt(g, o), [g, o]);
18614
18631
  return /* @__PURE__ */ s(U, {
18615
18632
  mt: "md",
18616
18633
  spacing: "xs",
@@ -18959,18 +18976,18 @@ function RM({
18959
18976
  } = rt(e.instanceData, "config"), {
18960
18977
  width: n,
18961
18978
  height: r
18962
- } = e.viewport, o = Pe(() => {
18979
+ } = e.viewport, o = Me(() => {
18963
18980
  var p;
18964
18981
  const d = e.data, f = (p = t == null ? void 0 : t.regression) == null ? void 0 : p.y_axis_data_key;
18965
18982
  return f ? d.map((g) => typeof g[f] == "number" ? g : {
18966
18983
  ...g,
18967
18984
  [f]: Number(g[f])
18968
18985
  }) : d;
18969
- }, [e.data, t == null ? void 0 : t.regression.y_axis_data_key]), i = Pe(() => _M(En({}, t, vs), o), [t, o]), {
18986
+ }, [e.data, t == null ? void 0 : t.regression.y_axis_data_key]), i = Me(() => _M(En({}, t, vs), o), [t, o]), {
18970
18987
  expression: a,
18971
18988
  rSquared: l,
18972
18989
  adjustedRSquared: u
18973
- } = Pe(() => EM(o, t), [t, o]);
18990
+ } = Me(() => EM(o, t), [t, o]);
18974
18991
  if (!n || !r || !t)
18975
18992
  return null;
18976
18993
  let c = r;
@@ -19140,7 +19157,7 @@ function DM({
19140
19157
  const {
19141
19158
  value: t,
19142
19159
  set: n
19143
- } = rt(e.instanceData, "config"), r = e.data, o = Pe(() => Lt({}, t, vs), [t]), {
19160
+ } = rt(e.instanceData, "config"), r = e.data, o = Me(() => Lt({}, t, vs), [t]), {
19144
19161
  control: i,
19145
19162
  handleSubmit: a,
19146
19163
  watch: l,
@@ -19152,7 +19169,7 @@ function DM({
19152
19169
  je(() => {
19153
19170
  c(o);
19154
19171
  }, [o]), l(["x_axis", "y_axis", "regression"]);
19155
- const d = u(), f = Pe(() => !Xt(d, t), [d, t]);
19172
+ const d = u(), f = Me(() => !Xt(d, t), [d, t]);
19156
19173
  return /* @__PURE__ */ s(U, {
19157
19174
  mt: "md",
19158
19175
  spacing: "xs",
@@ -19312,7 +19329,7 @@ function IM({
19312
19329
  const {
19313
19330
  value: t,
19314
19331
  set: n
19315
- } = rt(e.instanceData, "config"), r = Pe(() => Lt({}, t, ms), [t]), {
19332
+ } = rt(e.instanceData, "config"), r = Me(() => Lt({}, t, ms), [t]), {
19316
19333
  control: o,
19317
19334
  handleSubmit: i,
19318
19335
  watch: a,
@@ -19321,7 +19338,7 @@ function IM({
19321
19338
  defaultValues: r
19322
19339
  });
19323
19340
  a("content");
19324
- const u = l(), c = Pe(() => !Xt(u, t), [u, t]), d = cg(t == null ? void 0 : t.content);
19341
+ const u = l(), c = Me(() => !Xt(u, t), [u, t]), d = cg(t == null ? void 0 : t.content);
19325
19342
  return /* @__PURE__ */ s(U, {
19326
19343
  mt: "md",
19327
19344
  spacing: "xs",
@@ -19378,7 +19395,7 @@ class $M extends on {
19378
19395
  }));
19379
19396
  }
19380
19397
  }
19381
- const NM = {
19398
+ const AM = {
19382
19399
  displayName: "RichText",
19383
19400
  migrator: new $M(),
19384
19401
  name: "richText",
@@ -19389,7 +19406,7 @@ const NM = {
19389
19406
  align: "center",
19390
19407
  template: "The variable ${value} is defined in Variables section"
19391
19408
  };
19392
- function AM(e) {
19409
+ function NM(e) {
19393
19410
  if ("variables" in e)
19394
19411
  return e;
19395
19412
  const {
@@ -19440,7 +19457,7 @@ class FM extends on {
19440
19457
  ve(this, "VERSION", 2);
19441
19458
  }
19442
19459
  configVersions() {
19443
- this.version(1, (n) => ({ config: AM(n) })), this.version(2, (n, { panelModel: r }) => {
19460
+ this.version(1, (n) => ({ config: NM(n) })), this.version(2, (n, { panelModel: r }) => {
19444
19461
  const { config: o } = n;
19445
19462
  return (o.variables || []).forEach((a) => {
19446
19463
  r.variables.find((l) => l.name === a.name) || r.addVariable(VM(a));
@@ -19458,7 +19475,7 @@ function zM({
19458
19475
  } = e, {
19459
19476
  template: r,
19460
19477
  align: o
19461
- } = t, i = Pe(() => sl(r, n, e.data), [r, n, e.data]);
19478
+ } = t, i = Me(() => sl(r, n, e.data), [r, n, e.data]);
19462
19479
  return /* @__PURE__ */ s(V, {
19463
19480
  align: o,
19464
19481
  children: Object.values(i).map((a, l) => /* @__PURE__ */ s(F.Fragment, {
@@ -19577,13 +19594,13 @@ function BM({
19577
19594
  } = e.viewport, {
19578
19595
  label_field: i,
19579
19596
  value_field: a
19580
- } = Lt({}, t, bs), l = Pe(() => n.map((f) => ({
19597
+ } = Lt({}, t, bs), l = Me(() => n.map((f) => ({
19581
19598
  name: f[i],
19582
19599
  value: Number(f[a])
19583
- })), [n, i, a]), u = Pe(() => {
19600
+ })), [n, i, a]), u = Me(() => {
19584
19601
  var f, p;
19585
19602
  return (p = (f = Xc(l, (g) => g.value)) == null ? void 0 : f.value) != null ? p : 1;
19586
- }, [l]), c = Pe(() => ({
19603
+ }, [l]), c = Me(() => ({
19587
19604
  series: {
19588
19605
  label: {
19589
19606
  formatter: ({
@@ -19809,7 +19826,7 @@ function YM(e, t, n, r) {
19809
19826
  };
19810
19827
  return f = e._features.reduce((p, g) => Object.assign(p, g.createColumn == null ? void 0 : g.createColumn(f, e)), f), f;
19811
19828
  }
19812
- function Ac(e, t, n) {
19829
+ function Nc(e, t, n) {
19813
19830
  var r;
19814
19831
  let i = {
19815
19832
  id: (r = n.id) != null ? r : t.id,
@@ -20001,7 +20018,7 @@ function li(e, t, n, r) {
20001
20018
  if (S && m.column.parent ? w = m.column.parent : (w = m.column, _ = !0), b && (b == null ? void 0 : b.column) === w)
20002
20019
  b.subHeaders.push(m);
20003
20020
  else {
20004
- const C = Ac(n, w, {
20021
+ const C = Nc(n, w, {
20005
20022
  id: [r, g, w.id, m == null ? void 0 : m.id].filter(Boolean).join("_"),
20006
20023
  isPlaceholder: _,
20007
20024
  placeholderId: _ ? "" + v.filter((D) => D.column === w).length : void 0,
@@ -20012,7 +20029,7 @@ function li(e, t, n, r) {
20012
20029
  }
20013
20030
  h.headers.push(m), m.headerGroup = h;
20014
20031
  }), u.push(h), g > 0 && c(v, g - 1);
20015
- }, d = t.map((p, g) => Ac(n, p, {
20032
+ }, d = t.map((p, g) => Nc(n, p, {
20016
20033
  depth: a,
20017
20034
  index: g
20018
20035
  }));
@@ -21642,7 +21659,7 @@ class $P {
21642
21659
  return zc(this.getStepFunctionForValue(t)(t), 0, 100);
21643
21660
  }
21644
21661
  }
21645
- const NP = ({
21662
+ const AP = ({
21646
21663
  header: e,
21647
21664
  cx: t
21648
21665
  }) => /* @__PURE__ */ y(V, {
@@ -21650,10 +21667,10 @@ const NP = ({
21650
21667
  "table-head-cell--sortable": e.column.getCanSort()
21651
21668
  }),
21652
21669
  onClick: e.column.getToggleSortingHandler(),
21653
- children: [e.isPlaceholder ? null : wg(e.column.columnDef.header, e.getContext()), /* @__PURE__ */ s(AP, {
21670
+ children: [e.isPlaceholder ? null : wg(e.column.columnDef.header, e.getContext()), /* @__PURE__ */ s(NP, {
21654
21671
  direction: e.column.getIsSorted()
21655
21672
  })]
21656
- }), AP = ({
21673
+ }), NP = ({
21657
21674
  direction: e
21658
21675
  }) => {
21659
21676
  switch (e) {
@@ -21736,7 +21753,7 @@ function jP(e) {
21736
21753
  children: zP(n, t)
21737
21754
  });
21738
21755
  }
21739
- const KP = Ao((e) => ({
21756
+ const KP = No((e) => ({
21740
21757
  root: {
21741
21758
  overflow: "auto",
21742
21759
  "& .table-head-cell": {
@@ -21761,7 +21778,7 @@ const KP = Ao((e) => ({
21761
21778
  position: "sticky",
21762
21779
  top: 0
21763
21780
  }
21764
- })), HP = Ao((e, t) => ({
21781
+ })), HP = No((e, t) => ({
21765
21782
  content: {
21766
21783
  display: "flex",
21767
21784
  alignItems: "center",
@@ -21863,8 +21880,8 @@ function JP({
21863
21880
  context: e,
21864
21881
  instance: t
21865
21882
  }) {
21866
- var N, A, O;
21867
- const n = (N = e.data) != null ? N : [], {
21883
+ var A, N, O;
21884
+ const n = (A = e.data) != null ? A : [], {
21868
21885
  height: r,
21869
21886
  width: o
21870
21887
  } = e.viewport, {
@@ -21884,7 +21901,7 @@ function JP({
21884
21901
  getColIndex: lr((R) => f.indexOf(R.column.columnDef.meta), [f]),
21885
21902
  vizManager: e.vizManager,
21886
21903
  instance: t
21887
- }), g = Pe(() => {
21904
+ }), g = Me(() => {
21888
21905
  const R = OP(), P = f.map((k) => R.accessor(k.value_field, {
21889
21906
  cell: (L) => /* @__PURE__ */ s(QP, {
21890
21907
  tableCellContext: p(L.cell),
@@ -21920,7 +21937,7 @@ function JP({
21920
21937
  }), {
21921
21938
  virtualItems: _,
21922
21939
  totalSize: C
21923
- } = w, D = _.length > 0 && ((A = _ == null ? void 0 : _[0]) == null ? void 0 : A.start) || 0, I = _.length > 0 ? C - (((O = _ == null ? void 0 : _[_.length - 1]) == null ? void 0 : O.end) || 0) : 0;
21940
+ } = w, D = _.length > 0 && ((N = _ == null ? void 0 : _[0]) == null ? void 0 : N.start) || 0, I = _.length > 0 ? C - (((O = _ == null ? void 0 : _[_.length - 1]) == null ? void 0 : O.end) || 0) : 0;
21924
21941
  return /* @__PURE__ */ s("div", {
21925
21942
  ref: S,
21926
21943
  style: {
@@ -21943,7 +21960,7 @@ function JP({
21943
21960
  style: {
21944
21961
  width: P.getSize()
21945
21962
  },
21946
- children: /* @__PURE__ */ s(NP, {
21963
+ children: /* @__PURE__ */ s(AP, {
21947
21964
  header: P,
21948
21965
  cx: d
21949
21966
  })
@@ -22016,7 +22033,7 @@ class ZP {
22016
22033
  }
22017
22034
  }
22018
22035
  }
22019
- const Cg = Ao(() => ({
22036
+ const Cg = No(() => ({
22020
22037
  palette: {
22021
22038
  display: "flex",
22022
22039
  flexFlow: "row nowrap"
@@ -22584,7 +22601,7 @@ function mk({
22584
22601
  var c;
22585
22602
  const {
22586
22603
  value: t
22587
- } = rt(e.instanceData, "config"), n = Pe(() => En({}, t, _s), [t]), {
22604
+ } = rt(e.instanceData, "config"), n = Me(() => En({}, t, _s), [t]), {
22588
22605
  width: r,
22589
22606
  height: o
22590
22607
  } = e.viewport, i = (c = e.data) != null ? c : [], {
@@ -22619,7 +22636,7 @@ function yk({
22619
22636
  const {
22620
22637
  value: t,
22621
22638
  set: n
22622
- } = rt(e.instanceData, "config"), r = Pe(() => En({}, t, _s), [t]), o = (i, a) => {
22639
+ } = rt(e.instanceData, "config"), r = Me(() => En({}, t, _s), [t]), o = (i, a) => {
22623
22640
  n({
22624
22641
  ...r,
22625
22642
  [i]: a
@@ -22723,7 +22740,7 @@ const wk = {
22723
22740
  id: "dashboard",
22724
22741
  version: OO,
22725
22742
  manifest: {
22726
- viz: [pl, KM, NM, qM, uM, NO, PT, oM, QD, wM, PM, wk, jT],
22743
+ viz: [pl, KM, AM, qM, uM, AO, PT, oM, QD, wM, PM, wk, jT],
22727
22744
  color: [...Sk, ...Ck]
22728
22745
  }
22729
22746
  }), yo = new DO(), $t = {
@@ -22899,11 +22916,11 @@ const $k = {
22899
22916
  id: "builtin:op:open_view",
22900
22917
  configRender: kk,
22901
22918
  run: Ik
22902
- }, Nk = {
22919
+ }, Ak = {
22903
22920
  dictionary: {}
22904
- }, Ak = J((e) => {
22921
+ }, Nk = J((e) => {
22905
22922
  const t = ft(), {
22906
- value: n = Nk,
22923
+ value: n = Ak,
22907
22924
  set: r
22908
22925
  } = rt(e.operation.operationData, "config"), {
22909
22926
  dictionary: o = {}
@@ -22972,7 +22989,7 @@ async function Lk(e, t) {
22972
22989
  const Vk = {
22973
22990
  displayName: "Set Filter Values",
22974
22991
  id: "builtin:op:set_filter_values",
22975
- configRender: Ak,
22992
+ configRender: Nk,
22976
22993
  run: Lk
22977
22994
  }, ta = [Pk, Ok, $k, Vk];
22978
22995
  class Fk {
@@ -23052,7 +23069,7 @@ class Rs {
23052
23069
  ve(this, "operationManager");
23053
23070
  ve(this, "triggerManager");
23054
23071
  ve(this, "attachments");
23055
- this.operationManager = new Fk(t, r), this.triggerManager = new AO(t, n);
23072
+ this.operationManager = new Fk(t, r), this.triggerManager = new NO(t, n);
23056
23073
  const o = async (i) => {
23057
23074
  const { id: a, triggerRef: l, operationRef: u } = await i.getItem(null);
23058
23075
  return {
@@ -23559,7 +23576,7 @@ function eI(e, t) {
23559
23576
  layout: t
23560
23577
  }, d = Rg(c);
23561
23578
  try {
23562
- return n.resolveComponent(r.type), /* @__PURE__ */ s(Ai, {
23579
+ return n.resolveComponent(r.type), /* @__PURE__ */ s(Ni, {
23563
23580
  configure: d,
23564
23581
  children: /* @__PURE__ */ s(Zk, {
23565
23582
  setVizConf: r.setConf,
@@ -23648,7 +23665,7 @@ function rI() {
23648
23665
  const {
23649
23666
  vizManager: e
23650
23667
  } = Hn(Pn);
23651
- return Pe(() => e.availableVizList.map((t) => ({
23668
+ return Me(() => e.availableVizList.map((t) => ({
23652
23669
  value: t.name,
23653
23670
  label: t.displayName
23654
23671
  })).concat(gl), [e]);
@@ -23688,7 +23705,7 @@ function iI() {
23688
23705
  setTitle: l
23689
23706
  }, g = Rg(f);
23690
23707
  try {
23691
- return d.resolveComponent(f.viz.type), /* @__PURE__ */ s(Ai, {
23708
+ return d.resolveComponent(f.viz.type), /* @__PURE__ */ s(Ni, {
23692
23709
  configure: g,
23693
23710
  children: /* @__PURE__ */ s(Jk, {
23694
23711
  variables: t,
@@ -23908,7 +23925,7 @@ const pI = F.forwardRef(function({
23908
23925
  value: t.data_field,
23909
23926
  onChange: (l) => a("data_field", l)
23910
23927
  })]
23911
- }), /* @__PURE__ */ s(Ap, {
23928
+ }), /* @__PURE__ */ s(Np, {
23912
23929
  label: "Aggregation",
23913
23930
  value: t.aggregation,
23914
23931
  onChange: (l) => a("aggregation", l)
@@ -23924,7 +23941,7 @@ const pI = F.forwardRef(function({
23924
23941
  onChange: n
23925
23942
  })]
23926
23943
  });
23927
- }), Mg = Ao((e) => ({
23944
+ }), Mg = No((e) => ({
23928
23945
  root: {
23929
23946
  height: "100%",
23930
23947
  overflow: "hidden",
@@ -24407,7 +24424,7 @@ const TI = F.forwardRef(({
24407
24424
  }
24408
24425
  },
24409
24426
  variant: "transparent",
24410
- children: /* @__PURE__ */ s(Nh, {
24427
+ children: /* @__PURE__ */ s(Ah, {
24411
24428
  size: 16
24412
24429
  })
24413
24430
  })), DI = F.forwardRef(({
@@ -24429,7 +24446,7 @@ const TI = F.forwardRef(({
24429
24446
  },
24430
24447
  variant: "transparent",
24431
24448
  ...t,
24432
- children: /* @__PURE__ */ s(Ah, {
24449
+ children: /* @__PURE__ */ s(Nh, {
24433
24450
  size: 16
24434
24451
  })
24435
24452
  })), MI = md(vd), PI = J(function({
@@ -24493,7 +24510,7 @@ const TI = F.forwardRef(({
24493
24510
  children: e
24494
24511
  }) => /* @__PURE__ */ s(Be, {
24495
24512
  children: e
24496
- })), NI = J(({
24513
+ })), AI = J(({
24497
24514
  children: e,
24498
24515
  view: t
24499
24516
  }) => /* @__PURE__ */ s(hn, {
@@ -24528,13 +24545,13 @@ const TI = F.forwardRef(({
24528
24545
  withinPortal: !1,
24529
24546
  transitionDuration: 0,
24530
24547
  children: e
24531
- })), AI = J(({
24548
+ })), NI = J(({
24532
24549
  view: e,
24533
24550
  children: t
24534
24551
  }) => {
24535
24552
  switch (e.type) {
24536
24553
  case _n.Modal:
24537
- return /* @__PURE__ */ s(NI, {
24554
+ return /* @__PURE__ */ s(AI, {
24538
24555
  view: e,
24539
24556
  children: t
24540
24557
  });
@@ -24574,7 +24591,7 @@ const TI = F.forwardRef(({
24574
24591
  exitFullScreen: a
24575
24592
  }), !l && /* @__PURE__ */ s(Mp, {
24576
24593
  saveChanges: n
24577
- }), /* @__PURE__ */ s(AI, {
24594
+ }), /* @__PURE__ */ s(NI, {
24578
24595
  view: t,
24579
24596
  children: /* @__PURE__ */ y(Be, {
24580
24597
  className: "dashboard-sticky-parent",
@@ -24715,7 +24732,7 @@ const TI = F.forwardRef(({
24715
24732
  setDefaultValue(t) {
24716
24733
  e.default_value.length = 0, e.default_value.push(...t);
24717
24734
  }
24718
- })), Ng = T.snapshotProcessor(HI, {
24735
+ })), Ag = T.snapshotProcessor(HI, {
24719
24736
  preProcessor({ default_value: e, ...t }) {
24720
24737
  return {
24721
24738
  ...t,
@@ -24734,7 +24751,7 @@ const TI = F.forwardRef(({
24734
24751
  })
24735
24752
  };
24736
24753
  }
24737
- }), BI = () => Ng.create({
24754
+ }), BI = () => Ag.create({
24738
24755
  _name: "date-range",
24739
24756
  required: !1,
24740
24757
  inputFormat: "YYYY-MM-DD",
@@ -24775,7 +24792,7 @@ const TI = F.forwardRef(({
24775
24792
  setOptionsQueryID(t) {
24776
24793
  e.options_query_id = t;
24777
24794
  }
24778
- })), Ag = T.compose(
24795
+ })), Ng = T.compose(
24779
24796
  "FilterConfigModel_MultiSelect",
24780
24797
  T.model({
24781
24798
  _name: T.literal("multi-select"),
@@ -24790,7 +24807,7 @@ const TI = F.forwardRef(({
24790
24807
  setMinWidth(t) {
24791
24808
  e.min_width = t;
24792
24809
  }
24793
- })), WI = () => Ag.create({
24810
+ })), WI = () => Ng.create({
24794
24811
  _name: "multi-select",
24795
24812
  default_value: [],
24796
24813
  static_options: [],
@@ -24849,6 +24866,7 @@ const TI = F.forwardRef(({
24849
24866
  label: T.string,
24850
24867
  order: T.number,
24851
24868
  visibleInViewsIDs: T.array(T.string),
24869
+ auto_submit: T.optional(T.boolean, !1),
24852
24870
  type: T.enumeration("DashboardFilterType", [
24853
24871
  tn.Select,
24854
24872
  tn.MultiSelect,
@@ -24859,11 +24877,11 @@ const TI = F.forwardRef(({
24859
24877
  ]),
24860
24878
  config: T.union(
24861
24879
  Vg,
24862
- Ag,
24880
+ Ng,
24863
24881
  Lg,
24864
24882
  Op,
24865
24883
  $g,
24866
- Ng
24884
+ Ag
24867
24885
  )
24868
24886
  }).views((e) => ({
24869
24887
  get plainDefaultValue() {
@@ -24905,6 +24923,9 @@ const TI = F.forwardRef(({
24905
24923
  },
24906
24924
  setVisibleInViewsIDs(t) {
24907
24925
  e.visibleInViewsIDs.length = 0, e.visibleInViewsIDs.push(...t);
24926
+ },
24927
+ setAutoSubmit(t) {
24928
+ e.auto_submit = t;
24908
24929
  }
24909
24930
  }));
24910
24931
  function Fg(e, t) {
@@ -25563,7 +25584,7 @@ const g$ = T.model({
25563
25584
  },
25564
25585
  get queriesChanged() {
25565
25586
  const t = "queries.current", n = Tn(st(e, t)).map(
25566
- (r) => ed(r, ["id", "key", "type", "sql"])
25587
+ (r) => ed(r, ["id", "name", "key", "type", "sql"])
25567
25588
  );
25568
25589
  return !Xt(n, st(e.origin, t));
25569
25590
  },
@@ -25708,7 +25729,7 @@ const Z$ = J(function({
25708
25729
  },
25709
25730
  children: /* @__PURE__ */ s(Pn.Provider, {
25710
25731
  value: p,
25711
- children: /* @__PURE__ */ s(Ai, {
25732
+ children: /* @__PURE__ */ s(Ni, {
25712
25733
  configure: g,
25713
25734
  children: d.views.visibleViews.map((h) => /* @__PURE__ */ s(LI, {
25714
25735
  view: h,
@@ -25722,7 +25743,7 @@ const Z$ = J(function({
25722
25743
  })
25723
25744
  })
25724
25745
  });
25725
- }), eN = J(({
25746
+ }), eA = J(({
25726
25747
  context: e,
25727
25748
  dashboard: t,
25728
25749
  className: n = "dashboard",
@@ -25750,7 +25771,7 @@ const Z$ = J(function({
25750
25771
  className: `${n} dashboard-root dashboard-sticky-parent`,
25751
25772
  children: /* @__PURE__ */ s(Pn.Provider, {
25752
25773
  value: l,
25753
- children: /* @__PURE__ */ s(Ai, {
25774
+ children: /* @__PURE__ */ s(Ni, {
25754
25775
  configure: u,
25755
25776
  children: a.views.visibleViews.map((c) => /* @__PURE__ */ s(jI, {
25756
25777
  view: c,
@@ -25784,8 +25805,8 @@ var Hg = { exports: {} };
25784
25805
  var b = h[m], S = b.type, w = b.value, _ = n[S];
25785
25806
  _ >= 0 && (v[_] = parseInt(w, 10));
25786
25807
  }
25787
- var C = v[3], D = C === 24 ? 0 : C, I = v[0] + "-" + v[1] + "-" + v[2] + " " + D + ":" + v[4] + ":" + v[5] + ":000", N = +p;
25788
- return (a.utc(I).valueOf() - (N -= N % 1e3)) / 6e4;
25808
+ var C = v[3], D = C === 24 ? 0 : C, I = v[0] + "-" + v[1] + "-" + v[2] + " " + D + ":" + v[4] + ":" + v[5] + ":000", A = +p;
25809
+ return (a.utc(I).valueOf() - (A -= A % 1e3)) / 6e4;
25789
25810
  }, d = i.prototype;
25790
25811
  d.tz = function(p, g) {
25791
25812
  p === void 0 && (p = l);
@@ -25811,12 +25832,12 @@ var Hg = { exports: {} };
25811
25832
  var v = h && g, m = h || g || l, b = c(+a(), m);
25812
25833
  if (typeof p != "string")
25813
25834
  return a(p).tz(m);
25814
- var S = function(D, I, N) {
25815
- var A = D - 60 * I * 1e3, O = c(A, N);
25835
+ var S = function(D, I, A) {
25836
+ var N = D - 60 * I * 1e3, O = c(N, A);
25816
25837
  if (I === O)
25817
- return [A, I];
25818
- var R = c(A -= 60 * (O - I) * 1e3, N);
25819
- return O === R ? [A, O] : [D - 60 * Math.min(O, R) * 1e3, Math.max(O, R)];
25838
+ return [N, I];
25839
+ var R = c(N -= 60 * (O - I) * 1e3, A);
25840
+ return O === R ? [N, O] : [D - 60 * Math.min(O, R) * 1e3, Math.max(O, R)];
25820
25841
  }(a.utc(p, v).valueOf(), b, m), w = S[0], _ = S[1], C = a(w).utcOffset(_);
25821
25842
  return C.$x.$timezone = m, C;
25822
25843
  }, a.tz.guess = function() {
@@ -25867,8 +25888,8 @@ var Bg = { exports: {} };
25867
25888
  var D = C.match(r);
25868
25889
  if (!D)
25869
25890
  return null;
25870
- var I = ("" + D[0]).match(o) || ["-", 0, 0], N = I[0], A = 60 * +I[1] + +I[2];
25871
- return A === 0 ? 0 : N === "+" ? A : -A;
25891
+ var I = ("" + D[0]).match(o) || ["-", 0, 0], A = I[0], N = 60 * +I[1] + +I[2];
25892
+ return N === 0 ? 0 : A === "+" ? N : -N;
25872
25893
  }(v), v === null))
25873
25894
  return this;
25874
25895
  var S = Math.abs(v) <= 16 ? 60 * v : v, w = this;
@@ -25929,7 +25950,7 @@ export {
25929
25950
  sv as PanelContextProvider,
25930
25951
  e$ as QueriesModel,
25931
25952
  ZI as QueryModel,
25932
- eN as ReadOnlyDashboard,
25953
+ eA as ReadOnlyDashboard,
25933
25954
  jI as ReadOnlyDashboardView,
25934
25955
  t$ as SQLSnippetModel,
25935
25956
  n$ as SQLSnippetsModel,