@carto/ps-react-ui 4.3.8 → 4.3.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (95) hide show
  1. package/dist/components.js +692 -700
  2. package/dist/components.js.map +1 -1
  3. package/dist/{lasso-tool-jl4YK02H.js → lasso-tool-BYbxrJ-7.js} +184 -190
  4. package/dist/lasso-tool-BYbxrJ-7.js.map +1 -0
  5. package/dist/{row-BKmVAUN5.js → row-DTCV0Ocm.js} +2 -2
  6. package/dist/row-DTCV0Ocm.js.map +1 -0
  7. package/dist/{series-D1pynfeh.js → series-CYNOu2Ju.js} +2 -2
  8. package/dist/{series-D1pynfeh.js.map → series-CYNOu2Ju.js.map} +1 -1
  9. package/dist/smart-tooltip-D4vwQpFf.js +37 -0
  10. package/dist/smart-tooltip-D4vwQpFf.js.map +1 -0
  11. package/dist/{styles-DrPyd0y5.js → styles-CAroD5Rc.js} +12 -12
  12. package/dist/styles-CAroD5Rc.js.map +1 -0
  13. package/dist/types/widgets/_shared/chart-config/option-builders.d.ts +1 -1
  14. package/dist/types/widgets/category/config.d.ts +3 -10
  15. package/dist/types/widgets/range/config.d.ts +0 -4
  16. package/dist/types/widgets/spread/config.d.ts +0 -5
  17. package/dist/types/widgets/table/components/cell.d.ts +4 -2
  18. package/dist/types/widgets/table/config.d.ts +1 -2
  19. package/dist/types/widgets/table/table-ui.d.ts +1 -1
  20. package/dist/types/widgets/table/types.d.ts +1 -1
  21. package/dist/types/widgets/wrapper/components/options.d.ts +1 -1
  22. package/dist/widgets/actions.js +607 -621
  23. package/dist/widgets/actions.js.map +1 -1
  24. package/dist/widgets/bar.js +48 -49
  25. package/dist/widgets/bar.js.map +1 -1
  26. package/dist/widgets/category.js +28 -28
  27. package/dist/widgets/category.js.map +1 -1
  28. package/dist/widgets/formula.js +3 -3
  29. package/dist/widgets/histogram.js +50 -50
  30. package/dist/widgets/histogram.js.map +1 -1
  31. package/dist/widgets/markdown.js +1 -1
  32. package/dist/widgets/pie.js +9 -9
  33. package/dist/widgets/pie.js.map +1 -1
  34. package/dist/widgets/range.js +1 -1
  35. package/dist/widgets/range.js.map +1 -1
  36. package/dist/widgets/scatterplot.js +13 -13
  37. package/dist/widgets/scatterplot.js.map +1 -1
  38. package/dist/widgets/spread.js +3 -3
  39. package/dist/widgets/spread.js.map +1 -1
  40. package/dist/widgets/table.js +242 -241
  41. package/dist/widgets/table.js.map +1 -1
  42. package/dist/widgets/timeseries.js +3 -3
  43. package/dist/widgets/timeseries.js.map +1 -1
  44. package/dist/widgets/wrapper.js +152 -162
  45. package/dist/widgets/wrapper.js.map +1 -1
  46. package/package.json +1 -1
  47. package/src/components/basemaps/basemaps.tsx +3 -1
  48. package/src/components/geolocation-controls/geolocation-controls.tsx +10 -6
  49. package/src/components/lasso-tool/lasso-tool-inline.tsx +6 -2
  50. package/src/components/lasso-tool/lasso-tool.tsx +9 -3
  51. package/src/components/list-data/list-data-skeleton.tsx +1 -1
  52. package/src/components/list-data/list-data.tsx +5 -3
  53. package/src/components/measurement-tools/measurement-tools.tsx +5 -1
  54. package/src/components/smart-tooltip/smart-tooltip.tsx +3 -1
  55. package/src/widgets/_shared/chart-config/option-builders.test.ts +2 -2
  56. package/src/widgets/_shared/chart-config/option-builders.ts +6 -4
  57. package/src/widgets/actions/download/download.test.tsx +6 -2
  58. package/src/widgets/actions/download/download.tsx +3 -1
  59. package/src/widgets/actions/fullscreen/fullscreen.tsx +8 -1
  60. package/src/widgets/actions/relative-data/relative-data.tsx +2 -6
  61. package/src/widgets/actions/searcher/searcher.tsx +0 -6
  62. package/src/widgets/bar/config.ts +8 -4
  63. package/src/widgets/bar/skeleton.tsx +1 -1
  64. package/src/widgets/category/components/category-row-multi.tsx +1 -1
  65. package/src/widgets/category/config.ts +1 -11
  66. package/src/widgets/formula/components/row.tsx +1 -1
  67. package/src/widgets/histogram/config.ts +7 -2
  68. package/src/widgets/histogram/skeleton.tsx +2 -2
  69. package/src/widgets/pie/skeleton.tsx +1 -1
  70. package/src/widgets/range/config.ts +0 -5
  71. package/src/widgets/scatterplot/skeleton.tsx +2 -2
  72. package/src/widgets/spread/config.ts +0 -6
  73. package/src/widgets/table/components/cell.tsx +5 -3
  74. package/src/widgets/table/components/row.tsx +6 -1
  75. package/src/widgets/table/config.ts +1 -1
  76. package/src/widgets/table/table-ui.tsx +1 -1
  77. package/src/widgets/table/types.ts +1 -1
  78. package/src/widgets/timeseries/skeleton.tsx +1 -1
  79. package/src/widgets/wrapper/components/actions.test.tsx +6 -2
  80. package/src/widgets/wrapper/components/actions.tsx +3 -1
  81. package/src/widgets/wrapper/components/options.test.tsx +12 -4
  82. package/src/widgets/wrapper/components/options.tsx +8 -3
  83. package/src/widgets/wrapper/wrapper-ui.tsx +5 -2
  84. package/src/widgets/wrapper/wrapper.tsx +2 -4
  85. package/dist/lasso-tool-jl4YK02H.js.map +0 -1
  86. package/dist/row-BKmVAUN5.js.map +0 -1
  87. package/dist/smart-tooltip-BEtBaIdz.js +0 -39
  88. package/dist/smart-tooltip-BEtBaIdz.js.map +0 -1
  89. package/dist/styles-DrPyd0y5.js.map +0 -1
  90. package/dist/types/widgets/actions/relative-data/style.d.ts +0 -8
  91. package/dist/types/widgets/actions/zoom-toggle/index.d.ts +0 -2
  92. package/dist/types/widgets/table/components/index.d.ts +0 -4
  93. package/src/widgets/actions/relative-data/style.ts +0 -9
  94. package/src/widgets/actions/zoom-toggle/index.ts +0 -2
  95. package/src/widgets/table/components/index.ts +0 -4
@@ -1,20 +1,20 @@
1
- import { jsx as S, jsxs as ie, Fragment as be } from "react/jsx-runtime";
2
- import { c as Q } from "react/compiler-runtime";
3
- import { IconButton as X, DialogContent as Re, Dialog as Ae, Typography as Pe, DialogTitle as Be, CircularProgress as Fe, MenuItem as Ee, ListItemIcon as Me, ListItemText as xe, Menu as Le, useTheme as Ze, Box as Ve, TextField as Ge, InputAdornment as ve, SvgIcon as He } from "@mui/material";
4
- import { u as k } from "../widget-store-CzDt8oSK.js";
1
+ import { jsx as g, jsxs as re, Fragment as be } from "react/jsx-runtime";
2
+ import { c as q } from "react/compiler-runtime";
3
+ import { IconButton as J, DialogContent as Pe, Dialog as Ae, Typography as Re, DialogTitle as Be, CircularProgress as Me, MenuItem as Ee, ListItemIcon as Fe, ListItemText as Le, Menu as xe, useTheme as Ze, Box as Ve, TextField as Ge, InputAdornment as ve, SvgIcon as He } from "@mui/material";
4
+ import { u as $ } from "../widget-store-CzDt8oSK.js";
5
5
  import { FullscreenOutlined as Ne, Close as je, FileDownloadOutlined as Ue, PercentOutlined as Ke, SubdirectoryArrowLeftOutlined as Ye, ZoomInOutlined as qe, CheckBoxOutlined as Je, SearchOutlined as $e, ClearOutlined as Qe } from "@mui/icons-material";
6
- import { useShallow as ne } from "zustand/shallow";
7
- import { useState as he, useRef as ue, useEffect as q } from "react";
6
+ import { useShallow as te } from "zustand/shallow";
7
+ import { useState as he, useRef as de, useEffect as K } from "react";
8
8
  import "react-markdown";
9
- import { a as An, d as Pn } from "../exports-Cr43OCul.js";
10
- import "../lasso-tool-jl4YK02H.js";
9
+ import { a as Rn, d as Bn } from "../exports-Cr43OCul.js";
10
+ import "../lasso-tool-BYbxrJ-7.js";
11
11
  import "../cjs-D4KH3azB.js";
12
- import { T as re } from "../tooltip-BDnrRKrp.js";
12
+ import { T as ie } from "../tooltip-BDnrRKrp.js";
13
13
  import { b as Xe, a as et, D as tt } from "../utils-idmvq0Oa.js";
14
- import { useSensors as nt, useSensor as Ie, PointerSensor as ot, KeyboardSensor as lt, DndContext as st, closestCenter as it } from "@dnd-kit/core";
15
- import { useSortable as rt, sortableKeyboardCoordinates as ct, arrayMove as at, SortableContext as dt, verticalListSortingStrategy as ut } from "@dnd-kit/sortable";
14
+ import { useSensors as nt, useSensor as Ie, PointerSensor as ot, KeyboardSensor as lt, DndContext as st, closestCenter as rt } from "@dnd-kit/core";
15
+ import { useSortable as it, sortableKeyboardCoordinates as ct, arrayMove as at, SortableContext as dt, verticalListSortingStrategy as ut } from "@dnd-kit/sortable";
16
16
  import { CSS as ft } from "@dnd-kit/utilities";
17
- const ye = {
17
+ const Ce = {
18
18
  title: {
19
19
  container: {
20
20
  display: "flex",
@@ -30,275 +30,268 @@ const ye = {
30
30
  spacing: n
31
31
  }) => n(1)
32
32
  }
33
- };
34
- function kn(n) {
35
- const e = Q(49), {
33
+ }, mt = {};
34
+ function En(n) {
35
+ const e = q(47), {
36
36
  id: t,
37
37
  labels: a,
38
- children: m,
38
+ children: p,
39
39
  Icon: c,
40
- IconButtonProps: g,
41
- DialogContentProps: _,
42
- DialogProps: v
43
- } = n;
44
- let f;
45
- e[0] !== _ ? (f = _ === void 0 ? {} : _, e[0] = _, e[1] = f) : f = e[1];
46
- let p, h;
47
- e[2] !== f ? ({
48
- sx: h,
49
- ...p
50
- } = f, e[2] = f, e[3] = p, e[4] = h) : (p = e[3], h = e[4]);
51
- let i;
52
- e[5] !== t ? (i = (I) => I.getWidget(t)?.isFullScreen, e[5] = t, e[6] = i) : i = e[6];
53
- const s = k(ne(i));
54
- let y;
55
- e[7] !== t ? (y = (I) => I.getWidget(t)?.title, e[7] = t, e[8] = y) : y = e[8];
56
- const d = k(ne(y)), o = k(mt);
57
- let b;
58
- e[9] !== t || e[10] !== o ? (b = (I) => {
40
+ IconButtonProps: u,
41
+ DialogContentProps: E,
42
+ DialogProps: f
43
+ } = n, b = E === void 0 ? mt : E;
44
+ let d, S;
45
+ e[0] !== b ? ({
46
+ sx: S,
47
+ ...d
48
+ } = b, e[0] = b, e[1] = d, e[2] = S) : (d = e[1], S = e[2]);
49
+ let r;
50
+ e[3] !== t ? (r = (k) => k.getWidget(t)?.isFullScreen, e[3] = t, e[4] = r) : r = e[4];
51
+ const s = $(te(r));
52
+ let _;
53
+ e[5] !== t ? (_ = (k) => k.getWidget(t)?.title, e[5] = t, e[6] = _) : _ = e[6];
54
+ const T = $(te(_)), o = $(gt);
55
+ let h;
56
+ e[7] !== t || e[8] !== o ? (h = (k) => {
59
57
  o(t, {
60
- isFullScreen: I.isFullScreen
58
+ isFullScreen: k.isFullScreen
61
59
  });
62
- }, e[9] = t, e[10] = o, e[11] = b) : b = e[11];
63
- const r = b;
64
- let u;
65
- e[12] !== r ? (u = () => r({
60
+ }, e[7] = t, e[8] = o, e[9] = h) : h = e[9];
61
+ const i = h;
62
+ let m;
63
+ e[10] !== i ? (m = () => i({
66
64
  isFullScreen: !0
67
- }), e[12] = r, e[13] = u) : u = e[13];
68
- let T;
69
- e[14] !== c ? (T = c ?? /* @__PURE__ */ S(Ne, {}), e[14] = c, e[15] = T) : T = e[15];
65
+ }), e[10] = i, e[11] = m) : m = e[11];
66
+ let v;
67
+ e[12] !== c ? (v = c ?? /* @__PURE__ */ g(Ne, {}), e[12] = c, e[13] = v) : v = e[13];
70
68
  let l;
71
- e[16] !== g || e[17] !== u || e[18] !== T ? (l = /* @__PURE__ */ S(X, { ...g, onClick: u, children: T }), e[16] = g, e[17] = u, e[18] = T, e[19] = l) : l = e[19];
72
- const D = !!s, P = a?.ariaLabel ?? `fullscreen-dialog-title-${t}`;
73
- let E;
74
- e[20] !== r ? (E = () => r({
75
- isFullScreen: !1
76
- }), e[20] = r, e[21] = E) : E = e[21];
77
- const O = `fullscreen-dialog-title-${t}`;
78
- let $;
79
- e[22] !== d ? ($ = /* @__PURE__ */ S(Pe, { variant: "subtitle1", component: "span", children: d }), e[22] = d, e[23] = $) : $ = e[23];
80
- let L;
81
- e[24] !== r ? (L = () => r({
69
+ e[14] !== u || e[15] !== m || e[16] !== v ? (l = /* @__PURE__ */ g(J, { ...u, onClick: m, children: v }), e[14] = u, e[15] = m, e[16] = v, e[17] = l) : l = e[17];
70
+ const O = !!s, P = a?.ariaLabel ?? `fullscreen-dialog-title-${t}`;
71
+ let y;
72
+ e[18] !== i ? (y = () => i({
82
73
  isFullScreen: !1
83
- }), e[24] = r, e[25] = L) : L = e[25];
74
+ }), e[18] = i, e[19] = y) : y = e[19];
75
+ const A = `fullscreen-dialog-title-${t}`;
84
76
  let w;
85
- e[26] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (w = /* @__PURE__ */ S(je, {}), e[26] = w) : w = e[26];
86
- let x;
87
- e[27] !== L ? (x = /* @__PURE__ */ S(X, { onClick: L, children: w }), e[27] = L, e[28] = x) : x = e[28];
77
+ e[20] !== T ? (w = /* @__PURE__ */ g(Re, { variant: "subtitle1", component: "span", children: T }), e[20] = T, e[21] = w) : w = e[21];
78
+ let D;
79
+ e[22] !== i ? (D = () => i({
80
+ isFullScreen: !1
81
+ }), e[22] = i, e[23] = D) : D = e[23];
82
+ let L;
83
+ e[24] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (L = /* @__PURE__ */ g(je, {}), e[24] = L) : L = e[24];
84
+ let I;
85
+ e[25] !== D ? (I = /* @__PURE__ */ g(J, { onClick: D, children: L }), e[25] = D, e[26] = I) : I = e[26];
88
86
  let W;
89
- e[29] !== O || e[30] !== $ || e[31] !== x ? (W = /* @__PURE__ */ ie(Be, { id: O, sx: ye.title.container, children: [
90
- $,
91
- x
92
- ] }), e[29] = O, e[30] = $, e[31] = x, e[32] = W) : W = e[32];
93
- let R;
94
- e[33] !== h ? (R = {
95
- ...ye.content,
96
- ...h
97
- }, e[33] = h, e[34] = R) : R = e[34];
98
- let A;
99
- e[35] !== p || e[36] !== m || e[37] !== R ? (A = /* @__PURE__ */ S(Re, { sx: R, ...p, children: m }), e[35] = p, e[36] = m, e[37] = R, e[38] = A) : A = e[38];
87
+ e[27] !== A || e[28] !== w || e[29] !== I ? (W = /* @__PURE__ */ re(Be, { id: A, sx: Ce.title.container, children: [
88
+ w,
89
+ I
90
+ ] }), e[27] = A, e[28] = w, e[29] = I, e[30] = W) : W = e[30];
100
91
  let z;
101
- e[39] !== v || e[40] !== P || e[41] !== E || e[42] !== W || e[43] !== A || e[44] !== D ? (z = /* @__PURE__ */ ie(Ae, { maxWidth: !1, open: D, keepMounted: !0, "aria-labelledby": P, ...v, onClose: E, children: [
102
- W,
103
- A
104
- ] }), e[39] = v, e[40] = P, e[41] = E, e[42] = W, e[43] = A, e[44] = D, e[45] = z) : z = e[45];
92
+ e[31] !== S ? (z = {
93
+ ...Ce.content,
94
+ ...S
95
+ }, e[31] = S, e[32] = z) : z = e[32];
96
+ let R;
97
+ e[33] !== d || e[34] !== p || e[35] !== z ? (R = /* @__PURE__ */ g(Pe, { sx: z, ...d, children: p }), e[33] = d, e[34] = p, e[35] = z, e[36] = R) : R = e[36];
105
98
  let C;
106
- return e[46] !== z || e[47] !== l ? (C = /* @__PURE__ */ ie(be, { children: [
99
+ e[37] !== f || e[38] !== P || e[39] !== y || e[40] !== W || e[41] !== R || e[42] !== O ? (C = /* @__PURE__ */ re(Ae, { maxWidth: !1, open: O, keepMounted: !0, "aria-labelledby": P, ...f, onClose: y, children: [
100
+ W,
101
+ R
102
+ ] }), e[37] = f, e[38] = P, e[39] = y, e[40] = W, e[41] = R, e[42] = O, e[43] = C) : C = e[43];
103
+ let x;
104
+ return e[44] !== C || e[45] !== l ? (x = /* @__PURE__ */ re(be, { children: [
107
105
  l,
108
- z
109
- ] }), e[46] = z, e[47] = l, e[48] = C) : C = e[48], C;
106
+ C
107
+ ] }), e[44] = C, e[45] = l, e[46] = x) : x = e[46], x;
110
108
  }
111
- function mt(n) {
109
+ function gt(n) {
112
110
  return n.setWidget;
113
111
  }
114
- function En(n) {
115
- const e = Q(35), {
112
+ const pt = {};
113
+ function Ln(n) {
114
+ const e = q(33), {
116
115
  id: t,
117
116
  items: a,
118
- labels: m,
117
+ labels: p,
119
118
  Icon: c,
120
- IconButtonProps: g
121
- } = n;
122
- let _;
123
- e[0] !== m ? (_ = m === void 0 ? {} : m, e[0] = m, e[1] = _) : _ = e[1];
124
- const v = _;
119
+ IconButtonProps: u
120
+ } = n, E = p === void 0 ? pt : p;
125
121
  let f;
126
- e[2] !== t ? (f = (C) => C.getWidget(t)?.data, e[2] = t, e[3] = f) : f = e[3];
127
- const p = k(ne(f)), [h, i] = he(!1), [s, y] = he(null);
128
- let d;
129
- e[4] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (d = (C) => {
130
- C.stopPropagation(), y(C.currentTarget);
131
- }, e[4] = d) : d = e[4];
132
- const o = d;
133
- let b;
134
- e[5] !== t ? (b = (C, I) => {
135
- const B = document.createElement("a");
136
- B.href = C, B.download = I.filename ?? t, B.style.display = "none", document.body.appendChild(B), B.click(), document.body.removeChild(B), I.callback?.(B.href);
137
- }, e[5] = t, e[6] = b) : b = e[6];
138
- const r = b;
139
- let u;
140
- e[7] !== p || e[8] !== r ? (u = async (C, I) => {
141
- C.stopPropagation(), i(!0), y(null);
142
- const B = await I.modifier(p);
143
- if (!B) {
144
- i(!1);
122
+ e[0] !== t ? (f = (C) => C.getWidget(t)?.data, e[0] = t, e[1] = f) : f = e[1];
123
+ const b = $(te(f)), [d, S] = he(!1), [r, s] = he(null);
124
+ let _;
125
+ e[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (_ = (C) => {
126
+ C.stopPropagation(), s(C.currentTarget);
127
+ }, e[2] = _) : _ = e[2];
128
+ const T = _;
129
+ let o;
130
+ e[3] !== t ? (o = (C, x) => {
131
+ const k = document.createElement("a");
132
+ k.href = C, k.download = x.filename ?? t, k.style.display = "none", document.body.appendChild(k), k.click(), document.body.removeChild(k), x.callback?.(k.href);
133
+ }, e[3] = t, e[4] = o) : o = e[4];
134
+ const h = o;
135
+ let i;
136
+ e[5] !== b || e[6] !== h ? (i = async (C, x) => {
137
+ C.stopPropagation(), S(!0), s(null);
138
+ const k = await x.modifier(b);
139
+ if (!k) {
140
+ S(!1);
145
141
  return;
146
142
  }
147
- r(B, I), i(!1);
148
- }, e[7] = p, e[8] = r, e[9] = u) : u = e[9];
149
- const T = u, l = v.ariaLabel ?? "download options", D = h || a.length === 0, P = h || s ? "active" : "";
150
- let E;
151
- e[10] !== c || e[11] !== h ? (E = h ? /* @__PURE__ */ S(Fe, { size: 18, color: "inherit" }) : c ?? /* @__PURE__ */ S(Ue, {}), e[10] = c, e[11] = h, e[12] = E) : E = e[12];
152
- let O;
153
- e[13] !== g || e[14] !== E || e[15] !== l || e[16] !== D || e[17] !== P ? (O = /* @__PURE__ */ S(X, { size: "small", "aria-label": l, "aria-controls": "options-menu", "aria-haspopup": "true", onClick: o, ...g, disabled: D, className: P, children: E }), e[13] = g, e[14] = E, e[15] = l, e[16] = D, e[17] = P, e[18] = O) : O = e[18];
154
- let $, L;
155
- e[19] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? ($ = {
143
+ h(k, x), S(!1);
144
+ }, e[5] = b, e[6] = h, e[7] = i) : i = e[7];
145
+ const m = i, v = E.ariaLabel ?? "download options", l = d || a.length === 0, O = d || r ? "active" : "";
146
+ let P;
147
+ e[8] !== c || e[9] !== d ? (P = d ? /* @__PURE__ */ g(Me, { size: 18, color: "inherit" }) : c ?? /* @__PURE__ */ g(Ue, {}), e[8] = c, e[9] = d, e[10] = P) : P = e[10];
148
+ let y;
149
+ e[11] !== u || e[12] !== v || e[13] !== l || e[14] !== O || e[15] !== P ? (y = /* @__PURE__ */ g(J, { size: "small", "aria-label": v, "aria-controls": "options-menu", "aria-haspopup": "true", onClick: T, ...u, disabled: l, className: O, children: P }), e[11] = u, e[12] = v, e[13] = l, e[14] = O, e[15] = P, e[16] = y) : y = e[16];
150
+ let A, w;
151
+ e[17] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (A = {
156
152
  vertical: "bottom",
157
153
  horizontal: "right"
158
- }, L = {
154
+ }, w = {
159
155
  vertical: "top",
160
156
  horizontal: "right"
161
- }, e[19] = $, e[20] = L) : ($ = e[19], L = e[20]);
162
- const w = !!s;
163
- let x, W;
164
- e[21] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (x = () => y(null), W = {
157
+ }, e[17] = A, e[18] = w) : (A = e[17], w = e[18]);
158
+ const D = !!r;
159
+ let L, I;
160
+ e[19] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (L = () => s(null), I = {
165
161
  sx: {
166
162
  paddingBottom: 0
167
163
  }
168
- }, e[21] = x, e[22] = W) : (x = e[21], W = e[22]);
169
- let R;
170
- if (e[23] !== T || e[24] !== a) {
164
+ }, e[19] = L, e[20] = I) : (L = e[19], I = e[20]);
165
+ let W;
166
+ if (e[21] !== m || e[22] !== a) {
171
167
  let C;
172
- e[26] !== T ? (C = (I) => /* @__PURE__ */ ie(Ee, { disabled: I.disabled, onClick: (B) => {
173
- T(B, I);
168
+ e[24] !== m ? (C = (x) => /* @__PURE__ */ re(Ee, { disabled: x.disabled, onClick: (k) => {
169
+ m(k, x);
174
170
  }, children: [
175
- I.icon && /* @__PURE__ */ S(Me, { sx: {
171
+ x.icon && /* @__PURE__ */ g(Fe, { sx: {
176
172
  color: "text.primary"
177
- }, children: I.icon }),
178
- /* @__PURE__ */ S(xe, { children: I.label })
179
- ] }, I.id), e[26] = T, e[27] = C) : C = e[27], R = a.map(C), e[23] = T, e[24] = a, e[25] = R;
173
+ }, children: x.icon }),
174
+ /* @__PURE__ */ g(Le, { children: x.label })
175
+ ] }, x.id), e[24] = m, e[25] = C) : C = e[25], W = a.map(C), e[21] = m, e[22] = a, e[23] = W;
180
176
  } else
181
- R = e[25];
182
- let A;
183
- e[28] !== s || e[29] !== w || e[30] !== R ? (A = /* @__PURE__ */ S(Le, { variant: "menu", elevation: 8, anchorOrigin: $, transformOrigin: L, anchorEl: s, open: w, onClose: x, MenuListProps: W, children: R }), e[28] = s, e[29] = w, e[30] = R, e[31] = A) : A = e[31];
177
+ W = e[23];
184
178
  let z;
185
- return e[32] !== O || e[33] !== A ? (z = /* @__PURE__ */ ie(be, { children: [
186
- O,
187
- A
188
- ] }), e[32] = O, e[33] = A, e[34] = z) : z = e[34], z;
179
+ e[26] !== r || e[27] !== D || e[28] !== W ? (z = /* @__PURE__ */ g(xe, { variant: "menu", elevation: 8, anchorOrigin: A, transformOrigin: w, anchorEl: r, open: D, onClose: L, MenuListProps: I, children: W }), e[26] = r, e[27] = D, e[28] = W, e[29] = z) : z = e[29];
180
+ let R;
181
+ return e[30] !== y || e[31] !== z ? (R = /* @__PURE__ */ re(be, { children: [
182
+ y,
183
+ z
184
+ ] }), e[30] = y, e[31] = z, e[32] = R) : R = e[32], R;
189
185
  }
190
- const fe = {
186
+ const ue = {
191
187
  trigger: {
192
188
  '&[data-active="true"]': {
193
189
  background: (n) => n.palette.primary.relatedLight
194
190
  }
195
191
  }
196
192
  };
197
- function gt(n) {
198
- return n.reduce((e, t) => t.reduce((a, m) => {
199
- if (Array.isArray(m)) {
200
- const c = m.at(-1);
193
+ function ht(n) {
194
+ return n.reduce((e, t) => t.reduce((a, p) => {
195
+ if (Array.isArray(p)) {
196
+ const c = p.at(-1);
201
197
  return typeof c == "number" ? a + c : a;
202
198
  }
203
- return Object.entries(m).reduce((c, [g, _]) => g === "name" ? c : typeof _ == "number" ? c + _ : c, a);
199
+ return Object.entries(p).reduce((c, [u, E]) => u === "name" ? c : typeof E == "number" ? c + E : c, a);
204
200
  }, e), 0);
205
201
  }
206
- function pt(n, e) {
202
+ function bt(n, e) {
207
203
  return e === 0 ? n : n.map((t) => t.map((a) => {
208
204
  if (Array.isArray(a))
209
- return a.map((c, g) => g === a.length - 1 && typeof c == "number" ? c / e * 100 : c);
210
- const m = {};
211
- for (const [c, g] of Object.entries(a)) {
205
+ return a.map((c, u) => u === a.length - 1 && typeof c == "number" ? c / e * 100 : c);
206
+ const p = {};
207
+ for (const [c, u] of Object.entries(a)) {
212
208
  if (c === "name") {
213
- m[c] = g;
209
+ p[c] = u;
214
210
  continue;
215
211
  }
216
- m[c] = typeof g == "number" ? g / e * 100 : g;
212
+ p[c] = typeof u == "number" ? u / e * 100 : u;
217
213
  }
218
- return m;
214
+ return p;
219
215
  }));
220
216
  }
221
217
  const pe = "relative-data";
222
218
  function xn(n) {
223
- const e = Q(36), {
219
+ const e = q(32), {
224
220
  id: t,
225
221
  order: a,
226
- defaultIsRelative: m,
222
+ defaultIsRelative: p,
227
223
  labels: c,
228
- Icon: g,
229
- IconButtonProps: _
230
- } = n, v = a === void 0 ? 10 : a, f = m === void 0 ? !1 : m, p = ue(void 0), h = ue(void 0), i = k(vt), s = k(_t), y = k(Tt), d = k(St), o = k(bt);
231
- let b;
232
- e[0] !== t ? (b = (z) => z.getWidget(t)?.isRelative, e[0] = t, e[1] = b) : b = e[1];
233
- const u = k(b) ?? f;
234
- let T, l;
235
- e[2] !== f || e[3] !== s || e[4] !== t || e[5] !== i ? (T = () => {
236
- s(t)?.isRelative === void 0 && i(t, {
237
- isRelative: f
224
+ Icon: u,
225
+ IconButtonProps: E
226
+ } = n, f = a === void 0 ? 10 : a, b = p === void 0 ? !1 : p, d = de(void 0), S = de(void 0), r = $(Ct), s = $(It), _ = $(vt), T = $(_t), o = $(Tt);
227
+ let h;
228
+ e[0] !== t ? (h = (z) => z.getWidget(t)?.isRelative, e[0] = t, e[1] = h) : h = e[1];
229
+ const m = $(h) ?? b;
230
+ let v, l;
231
+ e[2] !== b || e[3] !== s || e[4] !== t || e[5] !== r ? (v = () => {
232
+ s(t)?.isRelative === void 0 && r(t, {
233
+ isRelative: b
238
234
  });
239
- }, l = [f, s, t, i], e[2] = f, e[3] = s, e[4] = t, e[5] = i, e[6] = T, e[7] = l) : (T = e[6], l = e[7]), q(T, l);
240
- let D, P;
241
- e[8] !== t || e[9] !== u || e[10] !== v || e[11] !== y || e[12] !== d ? (D = () => (y(t, {
235
+ }, l = [b, s, t, r], e[2] = b, e[3] = s, e[4] = t, e[5] = r, e[6] = v, e[7] = l) : (v = e[6], l = e[7]), K(v, l);
236
+ let O, P;
237
+ e[8] !== t || e[9] !== m || e[10] !== f || e[11] !== _ || e[12] !== T ? (O = () => (_(t, {
242
238
  id: pe,
243
- order: v,
244
- enabled: u,
245
- fn: ht
246
- }), () => d(t, pe)), P = [t, v, y, d, u], e[8] = t, e[9] = u, e[10] = v, e[11] = y, e[12] = d, e[13] = D, e[14] = P) : (D = e[13], P = e[14]), q(D, P);
247
- let E, O;
248
- e[15] !== t || e[16] !== u || e[17] !== o ? (E = () => {
249
- o(t, pe, u);
250
- }, O = [t, u, o], e[15] = t, e[16] = u, e[17] = o, e[18] = E, e[19] = O) : (E = e[18], O = e[19]), q(E, O);
251
- let $;
252
- e[20] !== s || e[21] !== t || e[22] !== u || e[23] !== i ? ($ = () => {
253
- const z = !u;
254
- let C = p.current;
239
+ order: f,
240
+ enabled: m,
241
+ fn: St
242
+ }), () => T(t, pe)), P = [t, f, _, T, m], e[8] = t, e[9] = m, e[10] = f, e[11] = _, e[12] = T, e[13] = O, e[14] = P) : (O = e[13], P = e[14]), K(O, P);
243
+ let y;
244
+ e[15] !== s || e[16] !== t || e[17] !== m || e[18] !== o || e[19] !== r ? (y = () => {
245
+ const z = !m;
246
+ o(t, pe, z);
247
+ let R = d.current;
255
248
  if (z) {
256
- const I = s(t);
257
- h.current = I?.formatter;
258
- const B = s(t)?.max;
259
- p.current = B, C = 100;
249
+ const C = s(t);
250
+ S.current = C?.formatter;
251
+ const x = s(t)?.max;
252
+ d.current = x, R = 100;
260
253
  }
261
- i(t, {
254
+ r(t, {
262
255
  isRelative: z,
263
- max: C,
264
- formatter: z ? (I) => {
265
- const B = s(t);
266
- return new Intl.NumberFormat(B?.locale, {
256
+ max: R,
257
+ formatter: z ? (C) => {
258
+ const x = s(t);
259
+ return new Intl.NumberFormat(x?.locale, {
267
260
  style: "percent",
268
261
  minimumFractionDigits: 1,
269
262
  maximumFractionDigits: 1
270
- }).format(I / 100);
271
- } : h.current
263
+ }).format(C / 100);
264
+ } : S.current
272
265
  });
273
- }, e[20] = s, e[21] = t, e[22] = u, e[23] = i, e[24] = $) : $ = e[24];
274
- const L = $, w = u ? c?.absolute ?? "Show absolute values" : c?.relative ?? "Show relative values", x = c?.ariaLabel ?? w;
266
+ }, e[15] = s, e[16] = t, e[17] = m, e[18] = o, e[19] = r, e[20] = y) : y = e[20];
267
+ const A = y, w = m ? c?.absolute ?? "Show absolute values" : c?.relative ?? "Show relative values", D = c?.ariaLabel ?? w;
268
+ let L;
269
+ e[21] !== u ? (L = u ?? /* @__PURE__ */ g(Ke, {}), e[21] = u, e[22] = L) : L = e[22];
270
+ let I;
271
+ e[23] !== E || e[24] !== A || e[25] !== m || e[26] !== L || e[27] !== D ? (I = /* @__PURE__ */ g(J, { size: "small", "aria-label": D, onClick: A, sx: ue.trigger, "data-active": m, ...E, children: L }), e[23] = E, e[24] = A, e[25] = m, e[26] = L, e[27] = D, e[28] = I) : I = e[28];
275
272
  let W;
276
- e[25] !== g ? (W = g ?? /* @__PURE__ */ S(Ke, {}), e[25] = g, e[26] = W) : W = e[26];
277
- let R;
278
- e[27] !== _ || e[28] !== L || e[29] !== u || e[30] !== x || e[31] !== W ? (R = /* @__PURE__ */ S(X, { size: "small", "aria-label": x, onClick: L, sx: fe.trigger, "data-active": u, ..._, children: W }), e[27] = _, e[28] = L, e[29] = u, e[30] = x, e[31] = W, e[32] = R) : R = e[32];
279
- let A;
280
- return e[33] !== R || e[34] !== w ? (A = /* @__PURE__ */ S(re, { title: w, children: R }), e[33] = R, e[34] = w, e[35] = A) : A = e[35], A;
273
+ return e[29] !== I || e[30] !== w ? (W = /* @__PURE__ */ g(ie, { title: w, children: I }), e[29] = I, e[30] = w, e[31] = W) : W = e[31], W;
281
274
  }
282
- function ht(n) {
283
- const e = n, t = gt(e);
284
- return pt(e, t);
275
+ function St(n) {
276
+ const e = n, t = ht(e);
277
+ return bt(e, t);
285
278
  }
286
- function bt(n) {
279
+ function Tt(n) {
287
280
  return n.setToolEnabled;
288
281
  }
289
- function St(n) {
282
+ function _t(n) {
290
283
  return n.unregisterTool;
291
284
  }
292
- function Tt(n) {
285
+ function vt(n) {
293
286
  return n.registerTool;
294
287
  }
295
- function _t(n) {
288
+ function It(n) {
296
289
  return n.getWidget;
297
290
  }
298
- function vt(n) {
291
+ function Ct(n) {
299
292
  return n.setWidget;
300
293
  }
301
- const Ce = {
294
+ const ye = {
302
295
  container: {
303
296
  display: "flex",
304
297
  alignItems: "center",
@@ -311,63 +304,63 @@ const Ce = {
311
304
  background: (n) => n.palette.primary.relatedLight
312
305
  }
313
306
  }
314
- }, te = "zoom-toggle";
315
- function Ln(n) {
316
- const e = Q(50), {
307
+ }, ee = "zoom-toggle";
308
+ function $n(n) {
309
+ const e = q(50), {
317
310
  id: t,
318
311
  defaultZoom: a,
319
- defaultZoomStart: m,
312
+ defaultZoomStart: p,
320
313
  defaultZoomEnd: c,
321
- labels: g,
322
- Icon: _,
323
- ResetIcon: v,
324
- IconButtonProps: f
325
- } = n, p = a === void 0 ? !1 : a, h = m === void 0 ? 0 : m, i = c === void 0 ? 100 : c, s = Ze(), y = k(Lt), d = k(xt), o = k(Et), b = k(kt), r = k(Ct);
326
- let u;
327
- e[0] !== t ? (u = (G) => (G.getWidget(t)?.registeredTools ?? []).find(yt), e[0] = t, e[1] = u) : u = e[1];
328
- const T = k(ne(u)), l = T?.enabled ?? p, D = T?.config?.start ?? h, P = T?.config?.end ?? i;
329
- let E;
330
- e[2] !== t || e[3] !== b || e[4] !== r ? (E = (G) => {
331
- const F = G, Y = F.start ?? F.batch?.[0]?.start, H = F.end ?? F.batch?.[0]?.end;
332
- Y !== void 0 && H !== void 0 && (b(t, te, !0), r(t, te, {
314
+ labels: u,
315
+ Icon: E,
316
+ ResetIcon: f,
317
+ IconButtonProps: b
318
+ } = n, d = a === void 0 ? !1 : a, S = p === void 0 ? 0 : p, r = c === void 0 ? 100 : c, s = Ze(), _ = $(Ot), T = $($t), o = $(xt), h = $(Lt), i = $(Et);
319
+ let m;
320
+ e[0] !== t ? (m = (V) => (V.getWidget(t)?.registeredTools ?? []).find(kt), e[0] = t, e[1] = m) : m = e[1];
321
+ const v = $(te(m)), l = v?.enabled ?? d, O = v?.config?.start ?? S, P = v?.config?.end ?? r;
322
+ let y;
323
+ e[2] !== t || e[3] !== h || e[4] !== i ? (y = (V) => {
324
+ const B = V, U = B.start ?? B.batch?.[0]?.start, H = B.end ?? B.batch?.[0]?.end;
325
+ U !== void 0 && H !== void 0 && (h(t, ee, !0), i(t, ee, {
333
326
  enabled: !0,
334
- start: Y,
327
+ start: U,
335
328
  end: H
336
329
  }));
337
- }, e[2] = t, e[3] = b, e[4] = r, e[5] = E) : E = e[5];
338
- const O = E;
339
- let $, L;
340
- e[6] !== p || e[7] !== i || e[8] !== h || e[9] !== y || e[10] !== O || e[11] !== t || e[12] !== d || e[13] !== s || e[14] !== o ? ($ = () => {
341
- const G = y(t)?.registeredTools?.find(It), F = G?.enabled ?? p, Y = G?.config?.start ?? h, H = G?.config?.end ?? i;
342
- return d(t, {
343
- id: te,
330
+ }, e[2] = t, e[3] = h, e[4] = i, e[5] = y) : y = e[5];
331
+ const A = y;
332
+ let w, D;
333
+ e[6] !== d || e[7] !== r || e[8] !== S || e[9] !== _ || e[10] !== A || e[11] !== t || e[12] !== T || e[13] !== s || e[14] !== o ? (w = () => {
334
+ const V = _(t)?.registeredTools?.find(yt), B = V?.enabled ?? d, U = V?.config?.start ?? S, H = V?.config?.end ?? r;
335
+ return T(t, {
336
+ id: ee,
344
337
  type: "config",
345
338
  order: 20,
346
- enabled: F,
347
- fn: (j, U) => {
348
- const J = j, oe = J.option, le = J.onEvents ?? {}, ce = U?.enabled ?? !1, ee = U?.start ?? 0, se = U?.end ?? 100, Se = oe?.legend, we = Se?.show !== !1 && Se !== void 0, De = parseInt(s?.spacing?.(4) ?? "32"), Oe = Xe(ce, {
349
- start: ee,
350
- end: se
339
+ enabled: B,
340
+ fn: (ne, Y) => {
341
+ const Q = ne, se = Q.option, oe = Q.onEvents ?? {}, ce = Y?.enabled ?? !1, X = Y?.start ?? 0, le = Y?.end ?? 100, Se = se?.legend, Oe = Se?.show !== !1 && Se !== void 0, we = parseInt(s?.spacing?.(4) ?? "32"), De = Xe(ce, {
342
+ start: X,
343
+ end: le
351
344
  }, {
352
345
  inside: !0,
353
346
  xSlider: !0,
354
347
  ySlider: !1,
355
- bottomOffset: we ? 28 : 0
356
- }, s), me = oe?.grid, Te = typeof me?.bottom == "number" ? me.bottom : parseInt(me?.bottom ?? "24"), We = ce ? Te + De + 8 : Te, _e = {
357
- ...le
348
+ bottomOffset: Oe ? 28 : 0
349
+ }, s), fe = se?.grid, Te = typeof fe?.bottom == "number" ? fe.bottom : parseInt(fe?.bottom ?? "24"), We = ce ? Te + we + 8 : Te, _e = {
350
+ ...oe
358
351
  };
359
352
  delete _e.dataZoom;
360
353
  const ze = ce ? {
361
- ...le,
362
- dataZoom: O
354
+ ...oe,
355
+ dataZoom: A
363
356
  } : _e;
364
357
  return {
365
- ...J,
358
+ ...Q,
366
359
  option: {
367
- ...oe,
368
- ...Oe,
360
+ ...se,
361
+ ...De,
369
362
  grid: {
370
- ...me,
363
+ ...fe,
371
364
  bottom: We
372
365
  }
373
366
  },
@@ -375,413 +368,406 @@ function Ln(n) {
375
368
  };
376
369
  },
377
370
  config: {
378
- enabled: F,
379
- start: Y,
371
+ enabled: B,
372
+ start: U,
380
373
  end: H
381
374
  }
382
- }), () => o(t, te);
383
- }, L = [p, i, h, y, O, t, d, s, o], e[6] = p, e[7] = i, e[8] = h, e[9] = y, e[10] = O, e[11] = t, e[12] = d, e[13] = s, e[14] = o, e[15] = $, e[16] = L) : ($ = e[15], L = e[16]), q($, L);
384
- let w;
385
- e[17] !== t || e[18] !== b || e[19] !== r || e[20] !== l || e[21] !== P || e[22] !== D ? (w = () => {
386
- const G = !l;
387
- b(t, te, G), r(t, te, {
388
- enabled: G,
389
- start: G ? D : 0,
390
- end: G ? P : 100
375
+ }), () => o(t, ee);
376
+ }, D = [d, r, S, _, A, t, T, s, o], e[6] = d, e[7] = r, e[8] = S, e[9] = _, e[10] = A, e[11] = t, e[12] = T, e[13] = s, e[14] = o, e[15] = w, e[16] = D) : (w = e[15], D = e[16]), K(w, D);
377
+ let L;
378
+ e[17] !== t || e[18] !== h || e[19] !== i || e[20] !== l || e[21] !== P || e[22] !== O ? (L = () => {
379
+ const V = !l;
380
+ h(t, ee, V), i(t, ee, {
381
+ enabled: V,
382
+ start: V ? O : 0,
383
+ end: V ? P : 100
391
384
  });
392
- }, e[17] = t, e[18] = b, e[19] = r, e[20] = l, e[21] = P, e[22] = D, e[23] = w) : w = e[23];
393
- const x = w;
385
+ }, e[17] = t, e[18] = h, e[19] = i, e[20] = l, e[21] = P, e[22] = O, e[23] = L) : L = e[23];
386
+ const I = L;
394
387
  let W;
395
- e[24] !== i || e[25] !== h || e[26] !== t || e[27] !== b || e[28] !== r ? (W = () => {
396
- b(t, te, !0), r(t, te, {
388
+ e[24] !== r || e[25] !== S || e[26] !== t || e[27] !== h || e[28] !== i ? (W = () => {
389
+ h(t, ee, !0), i(t, ee, {
397
390
  enabled: !0,
398
- start: h,
399
- end: i
391
+ start: S,
392
+ end: r
400
393
  });
401
- }, e[24] = i, e[25] = h, e[26] = t, e[27] = b, e[28] = r, e[29] = W) : W = e[29];
402
- const R = W, A = g?.enable ?? "Enable zoom", z = g?.disable ?? "Disable zoom", C = g?.reset ?? "Reset zoom", I = l ? z : A, B = g?.ariaLabel ?? I;
403
- let N;
404
- e[30] !== _ ? (N = _ ?? /* @__PURE__ */ S(qe, {}), e[30] = _, e[31] = N) : N = e[31];
405
- let M;
406
- e[32] !== f || e[33] !== x || e[34] !== B || e[35] !== N || e[36] !== l ? (M = /* @__PURE__ */ S(X, { size: "small", "aria-label": B, onClick: x, sx: Ce.trigger, "data-active": l, ...f, children: N }), e[32] = f, e[33] = x, e[34] = B, e[35] = N, e[36] = l, e[37] = M) : M = e[37];
394
+ }, e[24] = r, e[25] = S, e[26] = t, e[27] = h, e[28] = i, e[29] = W) : W = e[29];
395
+ const z = W, R = u?.enable ?? "Enable zoom", C = u?.disable ?? "Disable zoom", x = u?.reset ?? "Reset zoom", k = l ? C : R, j = u?.ariaLabel ?? k;
396
+ let G;
397
+ e[30] !== E ? (G = E ?? /* @__PURE__ */ g(qe, {}), e[30] = E, e[31] = G) : G = e[31];
398
+ let F;
399
+ e[32] !== b || e[33] !== I || e[34] !== j || e[35] !== G || e[36] !== l ? (F = /* @__PURE__ */ g(J, { size: "small", "aria-label": j, onClick: I, sx: ye.trigger, "data-active": l, ...b, children: G }), e[32] = b, e[33] = I, e[34] = j, e[35] = G, e[36] = l, e[37] = F) : F = e[37];
407
400
  let Z;
408
- e[38] !== M || e[39] !== I ? (Z = /* @__PURE__ */ S(re, { title: I, children: M }), e[38] = M, e[39] = I, e[40] = Z) : Z = e[40];
409
- let V;
410
- e[41] !== f || e[42] !== v || e[43] !== R || e[44] !== C || e[45] !== l ? (V = l && /* @__PURE__ */ S(re, { title: C, children: /* @__PURE__ */ S(X, { size: "small", "aria-label": C, onClick: R, ...f, children: v ?? /* @__PURE__ */ S(Ye, {}) }) }), e[41] = f, e[42] = v, e[43] = R, e[44] = C, e[45] = l, e[46] = V) : V = e[46];
411
- let K;
412
- return e[47] !== Z || e[48] !== V ? (K = /* @__PURE__ */ ie(Ve, { sx: Ce.container, children: [
401
+ e[38] !== F || e[39] !== k ? (Z = /* @__PURE__ */ g(ie, { title: k, children: F }), e[38] = F, e[39] = k, e[40] = Z) : Z = e[40];
402
+ let M;
403
+ e[41] !== b || e[42] !== f || e[43] !== z || e[44] !== x || e[45] !== l ? (M = l && /* @__PURE__ */ g(ie, { title: x, children: /* @__PURE__ */ g(J, { size: "small", "aria-label": x, onClick: z, ...b, children: f ?? /* @__PURE__ */ g(Ye, {}) }) }), e[41] = b, e[42] = f, e[43] = z, e[44] = x, e[45] = l, e[46] = M) : M = e[46];
404
+ let N;
405
+ return e[47] !== Z || e[48] !== M ? (N = /* @__PURE__ */ re(Ve, { sx: ye.container, children: [
413
406
  Z,
414
- V
415
- ] }), e[47] = Z, e[48] = V, e[49] = K) : K = e[49], K;
416
- }
417
- function It(n) {
418
- return n.id === te;
407
+ M
408
+ ] }), e[47] = Z, e[48] = M, e[49] = N) : N = e[49], N;
419
409
  }
420
410
  function yt(n) {
421
- return n.id === te;
411
+ return n.id === ee;
422
412
  }
423
- function Ct(n) {
413
+ function kt(n) {
414
+ return n.id === ee;
415
+ }
416
+ function Et(n) {
424
417
  return n.updateToolConfig;
425
418
  }
426
- function kt(n) {
419
+ function Lt(n) {
427
420
  return n.setToolEnabled;
428
421
  }
429
- function Et(n) {
422
+ function xt(n) {
430
423
  return n.unregisterTool;
431
424
  }
432
- function xt(n) {
425
+ function $t(n) {
433
426
  return n.registerTool;
434
427
  }
435
- function Lt(n) {
428
+ function Ot(n) {
436
429
  return n.getWidget;
437
430
  }
438
- const $t = () => {
439
- const n = Q(1);
431
+ const wt = () => {
432
+ const n = q(1);
440
433
  let e;
441
- return n[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (e = /* @__PURE__ */ S("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ S("path", { d: "M4 20V8H8V20H4ZM9 20V13H13V20H9ZM16 20V4H20V20H16Z", fill: "currentColor" }) }), n[0] = e) : e = n[0], e;
442
- }, ge = "stack-toggle";
443
- function $n(n) {
444
- const e = Q(47), {
434
+ return n[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (e = /* @__PURE__ */ g("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ g("path", { d: "M4 20V8H8V20H4ZM9 20V13H13V20H9ZM16 20V4H20V20H16Z", fill: "currentColor" }) }), n[0] = e) : e = n[0], e;
435
+ }, me = "stack-toggle";
436
+ function On(n) {
437
+ const e = q(47), {
445
438
  id: t,
446
439
  defaultIsStacked: a,
447
- labels: m,
440
+ labels: p,
448
441
  Icon: c,
449
- IconButtonProps: g
450
- } = n, _ = a === void 0 ? !1 : a, v = k(At), f = k(Rt), p = k(zt), h = k(Wt), i = k(Ot);
442
+ IconButtonProps: u
443
+ } = n, E = a === void 0 ? !1 : a, f = $(Bt), b = $(Rt), d = $(At), S = $(Pt), r = $(zt);
451
444
  let s;
452
- e[0] !== t ? (s = (I) => I.getWidget(t)?.isStacked, e[0] = t, e[1] = s) : s = e[1];
453
- const y = k(ne(s));
454
- let d;
455
- e[2] !== t ? (d = (I) => I.getWidget(t)?.option, e[2] = t, e[3] = d) : d = e[3];
456
- const o = k(ne(d));
457
- let b;
445
+ e[0] !== t ? (s = (k) => k.getWidget(t)?.isStacked, e[0] = t, e[1] = s) : s = e[1];
446
+ const _ = $(te(s));
447
+ let T;
448
+ e[2] !== t ? (T = (k) => k.getWidget(t)?.option, e[2] = t, e[3] = T) : T = e[3];
449
+ const o = $(te(T));
450
+ let h;
458
451
  e: {
459
452
  if (!o) {
460
- let V;
461
- e[4] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (V = {
453
+ let M;
454
+ e[4] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (M = {
462
455
  hasMultiSeries: !1,
463
456
  hasStackInSeries: !1
464
- }, e[4] = V) : V = e[4], b = V;
457
+ }, e[4] = M) : M = e[4], h = M;
465
458
  break e;
466
459
  }
467
- let I;
468
- e[5] !== o.series ? (I = Array.isArray(o.series) ? o.series : [o.series], e[5] = o.series, e[6] = I) : I = e[6];
469
- const B = I, N = B.length > 1;
470
- let M;
471
- e[7] !== B ? (M = B.some(Dt), e[7] = B, e[8] = M) : M = e[8];
460
+ let k;
461
+ e[5] !== o.series ? (k = Array.isArray(o.series) ? o.series : [o.series], e[5] = o.series, e[6] = k) : k = e[6];
462
+ const j = k, G = j.length > 1;
463
+ let F;
464
+ e[7] !== j ? (F = j.some(Wt), e[7] = j, e[8] = F) : F = e[8];
472
465
  let Z;
473
- e[9] !== N || e[10] !== M ? (Z = {
474
- hasMultiSeries: N,
475
- hasStackInSeries: M
476
- }, e[9] = N, e[10] = M, e[11] = Z) : Z = e[11], b = Z;
466
+ e[9] !== G || e[10] !== F ? (Z = {
467
+ hasMultiSeries: G,
468
+ hasStackInSeries: F
469
+ }, e[9] = G, e[10] = F, e[11] = Z) : Z = e[11], h = Z;
477
470
  }
478
471
  const {
479
- hasMultiSeries: r,
480
- hasStackInSeries: u
481
- } = b, T = u || _, l = y ?? T;
482
- let D, P;
483
- e[12] !== r || e[13] !== t || e[14] !== l || e[15] !== f || e[16] !== p ? (D = () => (f(t, {
484
- id: ge,
472
+ hasMultiSeries: i,
473
+ hasStackInSeries: m
474
+ } = h, v = m || E, l = _ ?? v;
475
+ let O, P;
476
+ e[12] !== i || e[13] !== t || e[14] !== l || e[15] !== b || e[16] !== d ? (O = () => (b(t, {
477
+ id: me,
485
478
  type: "config",
486
479
  order: 10,
487
- enabled: l && r,
488
- fn: wt,
480
+ enabled: l && i,
481
+ fn: Dt,
489
482
  config: {
490
483
  stacked: l
491
484
  }
492
- }), () => p(t, ge)), P = [t, f, p, l, r], e[12] = r, e[13] = t, e[14] = l, e[15] = f, e[16] = p, e[17] = D, e[18] = P) : (D = e[17], P = e[18]), q(D, P);
493
- let E, O;
494
- e[19] !== r || e[20] !== t || e[21] !== l || e[22] !== h || e[23] !== i ? (E = () => {
495
- h(t, ge, l && r), i(t, ge, {
485
+ }), () => d(t, me)), P = [t, b, d, l, i], e[12] = i, e[13] = t, e[14] = l, e[15] = b, e[16] = d, e[17] = O, e[18] = P) : (O = e[17], P = e[18]), K(O, P);
486
+ let y, A;
487
+ e[19] !== i || e[20] !== t || e[21] !== l || e[22] !== S || e[23] !== r ? (y = () => {
488
+ S(t, me, l && i), r(t, me, {
496
489
  stacked: l
497
490
  });
498
- }, O = [t, l, r, h, i], e[19] = r, e[20] = t, e[21] = l, e[22] = h, e[23] = i, e[24] = E, e[25] = O) : (E = e[24], O = e[25]), q(E, O);
499
- let $, L;
500
- e[26] !== T || e[27] !== t || e[28] !== v || e[29] !== y ? (L = () => {
501
- y === void 0 && v(t, {
502
- isStacked: T
491
+ }, A = [t, l, i, S, r], e[19] = i, e[20] = t, e[21] = l, e[22] = S, e[23] = r, e[24] = y, e[25] = A) : (y = e[24], A = e[25]), K(y, A);
492
+ let w, D;
493
+ e[26] !== v || e[27] !== t || e[28] !== f || e[29] !== _ ? (D = () => {
494
+ _ === void 0 && f(t, {
495
+ isStacked: v
503
496
  });
504
- }, $ = [T, t, v, y], e[26] = T, e[27] = t, e[28] = v, e[29] = y, e[30] = $, e[31] = L) : ($ = e[30], L = e[31]), q(L, $);
505
- let w;
506
- e[32] !== t || e[33] !== l || e[34] !== v ? (w = () => {
507
- v(t, {
497
+ }, w = [v, t, f, _], e[26] = v, e[27] = t, e[28] = f, e[29] = _, e[30] = w, e[31] = D) : (w = e[30], D = e[31]), K(D, w);
498
+ let L;
499
+ e[32] !== t || e[33] !== l || e[34] !== f ? (L = () => {
500
+ f(t, {
508
501
  isStacked: !l
509
502
  });
510
- }, e[32] = t, e[33] = l, e[34] = v, e[35] = w) : w = e[35];
511
- const x = w, W = l ? m?.unstacked ?? "Disable stacking" : m?.stacked ?? "Enable stacking";
512
- if (!r)
503
+ }, e[32] = t, e[33] = l, e[34] = f, e[35] = L) : L = e[35];
504
+ const I = L, W = l ? p?.unstacked ?? "Disable stacking" : p?.stacked ?? "Enable stacking";
505
+ if (!i)
513
506
  return null;
514
- const R = m?.ariaLabel ?? W;
515
- let A;
516
- e[36] !== c ? (A = c ?? /* @__PURE__ */ S($t, {}), e[36] = c, e[37] = A) : A = e[37];
517
- let z;
518
- e[38] !== g || e[39] !== x || e[40] !== l || e[41] !== R || e[42] !== A ? (z = /* @__PURE__ */ S(X, { size: "small", "aria-label": R, onClick: x, sx: fe.trigger, "data-active": l, ...g, children: A }), e[38] = g, e[39] = x, e[40] = l, e[41] = R, e[42] = A, e[43] = z) : z = e[43];
507
+ const z = p?.ariaLabel ?? W;
508
+ let R;
509
+ e[36] !== c ? (R = c ?? /* @__PURE__ */ g(wt, {}), e[36] = c, e[37] = R) : R = e[37];
519
510
  let C;
520
- return e[44] !== z || e[45] !== W ? (C = /* @__PURE__ */ S(re, { title: W, children: z }), e[44] = z, e[45] = W, e[46] = C) : C = e[46], C;
511
+ e[38] !== u || e[39] !== I || e[40] !== l || e[41] !== z || e[42] !== R ? (C = /* @__PURE__ */ g(J, { size: "small", "aria-label": z, onClick: I, sx: ue.trigger, "data-active": l, ...u, children: R }), e[38] = u, e[39] = I, e[40] = l, e[41] = z, e[42] = R, e[43] = C) : C = e[43];
512
+ let x;
513
+ return e[44] !== C || e[45] !== W ? (x = /* @__PURE__ */ g(ie, { title: W, children: C }), e[44] = C, e[45] = W, e[46] = x) : x = e[46], x;
521
514
  }
522
- function wt(n, e) {
515
+ function Dt(n, e) {
523
516
  const t = n, a = t.option;
524
517
  if (!a)
525
518
  return n;
526
- const m = e?.stacked ?? !1, g = (Array.isArray(a.series) ? a.series : [a.series]).map((_) => {
527
- const v = _?.stack;
519
+ const p = e?.stacked ?? !1, u = (Array.isArray(a.series) ? a.series : [a.series]).map((E) => {
520
+ const f = E?.stack;
528
521
  return {
529
- ..._,
530
- ...et(m, typeof v == "string" ? v : tt)
522
+ ...E,
523
+ ...et(p, typeof f == "string" ? f : tt)
531
524
  };
532
525
  });
533
526
  return {
534
527
  ...t,
535
528
  option: {
536
529
  ...a,
537
- series: g
530
+ series: u
538
531
  }
539
532
  };
540
533
  }
541
- function Dt(n) {
534
+ function Wt(n) {
542
535
  return n?.stack;
543
536
  }
544
- function Ot(n) {
537
+ function zt(n) {
545
538
  return n.updateToolConfig;
546
539
  }
547
- function Wt(n) {
540
+ function Pt(n) {
548
541
  return n.setToolEnabled;
549
542
  }
550
- function zt(n) {
543
+ function At(n) {
551
544
  return n.unregisterTool;
552
545
  }
553
546
  function Rt(n) {
554
547
  return n.registerTool;
555
548
  }
556
- function At(n) {
549
+ function Bt(n) {
557
550
  return n.setWidget;
558
551
  }
559
- const de = "lock-selection";
552
+ const ae = "lock-selection";
560
553
  function wn(n) {
561
- const e = Q(36), {
554
+ const e = q(36), {
562
555
  id: t,
563
556
  selectedItems: a,
564
- order: m,
557
+ order: p,
565
558
  labels: c,
566
- Icon: g,
567
- IconButtonProps: _
568
- } = n, v = m === void 0 ? 30 : m, f = k(Vt), p = k(Zt), h = k(Mt), i = k(Ft), s = k(Bt);
569
- let y;
570
- e[0] !== t ? (y = (W) => W.getWidget(t)?.isLocked, e[0] = t, e[1] = y) : y = e[1];
571
- const o = k(ne(y)) ?? !1;
572
- let b;
573
- e[2] !== o || e[3] !== a ? (b = o ? a : [], e[2] = o, e[3] = a, e[4] = b) : b = e[4];
574
- const r = b;
575
- let u, T;
576
- e[5] !== t || e[6] !== o || e[7] !== r || e[8] !== v || e[9] !== p || e[10] !== h ? (u = () => (p(t, {
577
- id: de,
578
- order: v,
559
+ Icon: u,
560
+ IconButtonProps: E
561
+ } = n, f = p === void 0 ? 30 : p, b = $(Ht), d = $(Gt), S = $(Vt), r = $(Zt), s = $(Ft);
562
+ let _;
563
+ e[0] !== t ? (_ = (W) => W.getWidget(t)?.isLocked, e[0] = t, e[1] = _) : _ = e[1];
564
+ const o = $(te(_)) ?? !1;
565
+ let h;
566
+ e[2] !== o || e[3] !== a ? (h = o ? a : [], e[2] = o, e[3] = a, e[4] = h) : h = e[4];
567
+ const i = h;
568
+ let m, v;
569
+ e[5] !== t || e[6] !== o || e[7] !== i || e[8] !== f || e[9] !== d || e[10] !== S ? (m = () => (d(t, {
570
+ id: ae,
571
+ order: f,
579
572
  enabled: o,
580
- fn: Pt,
573
+ fn: Mt,
581
574
  config: {
582
- lockedItems: r
575
+ lockedItems: i
583
576
  }
584
- }), () => h(t, de)), T = [t, v, p, h, o, r], e[5] = t, e[6] = o, e[7] = r, e[8] = v, e[9] = p, e[10] = h, e[11] = u, e[12] = T) : (u = e[11], T = e[12]), q(u, T);
585
- let l, D;
586
- e[13] !== t || e[14] !== o || e[15] !== r || e[16] !== i || e[17] !== s ? (l = () => {
587
- i(t, de, o), s(t, de, {
588
- lockedItems: r
577
+ }), () => S(t, ae)), v = [t, f, d, S, o, i], e[5] = t, e[6] = o, e[7] = i, e[8] = f, e[9] = d, e[10] = S, e[11] = m, e[12] = v) : (m = e[11], v = e[12]), K(m, v);
578
+ let l, O;
579
+ e[13] !== t || e[14] !== o || e[15] !== i || e[16] !== r || e[17] !== s ? (l = () => {
580
+ r(t, ae, o), s(t, ae, {
581
+ lockedItems: i
589
582
  });
590
- }, D = [t, o, r, i, s], e[13] = t, e[14] = o, e[15] = r, e[16] = i, e[17] = s, e[18] = l, e[19] = D) : (l = e[18], D = e[19]), q(l, D);
583
+ }, O = [t, o, i, r, s], e[13] = t, e[14] = o, e[15] = i, e[16] = r, e[17] = s, e[18] = l, e[19] = O) : (l = e[18], O = e[19]), K(l, O);
591
584
  let P;
592
- e[20] !== t || e[21] !== o || e[22] !== a || e[23] !== f ? (P = () => {
593
- o ? f(t, {
585
+ e[20] !== t || e[21] !== o || e[22] !== a || e[23] !== b ? (P = () => {
586
+ o ? b(t, {
594
587
  isLocked: !1,
595
588
  lockedItems: []
596
- }) : f(t, {
589
+ }) : b(t, {
597
590
  isLocked: !0,
598
591
  lockedItems: a
599
592
  });
600
- }, e[20] = t, e[21] = o, e[22] = a, e[23] = f, e[24] = P) : P = e[24];
601
- const E = P;
593
+ }, e[20] = t, e[21] = o, e[22] = a, e[23] = b, e[24] = P) : P = e[24];
594
+ const y = P;
602
595
  if (a.length === 0)
603
596
  return null;
604
- const O = o ? c?.unlock ?? "Unlock selection" : c?.lock ?? "Lock selection", $ = c?.ariaLabel ?? O;
597
+ const A = o ? c?.unlock ?? "Unlock selection" : c?.lock ?? "Lock selection", w = c?.ariaLabel ?? A;
598
+ let D;
599
+ e[25] !== u ? (D = u ?? /* @__PURE__ */ g(Je, { fontSize: "small" }), e[25] = u, e[26] = D) : D = e[26];
605
600
  let L;
606
- e[25] !== g ? (L = g ?? /* @__PURE__ */ S(Je, { fontSize: "small" }), e[25] = g, e[26] = L) : L = e[26];
607
- let w;
608
- e[27] !== _ || e[28] !== $ || e[29] !== E || e[30] !== o || e[31] !== L ? (w = /* @__PURE__ */ S(X, { size: "small", "aria-label": $, onClick: E, sx: fe.trigger, "data-active": o, ..._, children: L }), e[27] = _, e[28] = $, e[29] = E, e[30] = o, e[31] = L, e[32] = w) : w = e[32];
609
- let x;
610
- return e[33] !== w || e[34] !== O ? (x = /* @__PURE__ */ S(re, { title: O, children: w }), e[33] = w, e[34] = O, e[35] = x) : x = e[35], x;
601
+ e[27] !== E || e[28] !== w || e[29] !== y || e[30] !== o || e[31] !== D ? (L = /* @__PURE__ */ g(J, { size: "small", "aria-label": w, onClick: y, sx: ue.trigger, "data-active": o, ...E, children: D }), e[27] = E, e[28] = w, e[29] = y, e[30] = o, e[31] = D, e[32] = L) : L = e[32];
602
+ let I;
603
+ return e[33] !== L || e[34] !== A ? (I = /* @__PURE__ */ g(ie, { title: A, children: L }), e[33] = L, e[34] = A, e[35] = I) : I = e[35], I;
611
604
  }
612
- function Pt(n, e) {
605
+ function Mt(n, e) {
613
606
  const t = e?.lockedItems || [];
614
- return t.length === 0 ? n : Gt(n, t);
607
+ return t.length === 0 ? n : Nt(n, t);
615
608
  }
616
- function Bt(n) {
609
+ function Ft(n) {
617
610
  return n.updateToolConfig;
618
611
  }
619
- function Ft(n) {
612
+ function Zt(n) {
620
613
  return n.setToolEnabled;
621
614
  }
622
- function Mt(n) {
615
+ function Vt(n) {
623
616
  return n.unregisterTool;
624
617
  }
625
- function Zt(n) {
618
+ function Gt(n) {
626
619
  return n.registerTool;
627
620
  }
628
- function Vt(n) {
621
+ function Ht(n) {
629
622
  return n.setWidget;
630
623
  }
631
- function Gt(n, e) {
624
+ function Nt(n, e) {
632
625
  return n.map((t) => t.filter((a) => {
633
- const m = a.name;
634
- return typeof m == "string" && e.includes(m);
626
+ const p = a.name;
627
+ return typeof p == "string" && e.includes(p);
635
628
  }));
636
629
  }
637
- const ae = "searcher", Ht = 300;
630
+ const ge = "searcher", jt = 300;
638
631
  function Dn(n) {
639
- const e = Q(49), {
632
+ const e = q(44), {
640
633
  id: t,
641
634
  filterFn: a,
642
- order: m,
635
+ order: p,
643
636
  labels: c,
644
- TextFieldProps: g,
645
- ClearIcon: _,
646
- debounceDelay: v
647
- } = n, f = m === void 0 ? 20 : m, p = v === void 0 ? Ht : v, h = ue(null), i = ue(null);
637
+ TextFieldProps: u,
638
+ ClearIcon: E,
639
+ debounceDelay: f
640
+ } = n, b = p === void 0 ? 20 : p, d = f === void 0 ? jt : f, S = de(null), r = de(null);
648
641
  let s;
649
- e[0] !== t ? (s = (j) => j.getWidget(t), e[0] = t, e[1] = s) : s = e[1];
650
- const y = k(s), d = y?.isSearchEnabled ?? !1, o = y?.searchText ?? "", b = ue(d), r = a ?? qt, u = k(Yt), T = k(Kt), l = k(Ut), D = k(jt), P = k(Nt);
651
- let E;
652
- e[2] !== t || e[3] !== u ? (E = (j) => {
653
- u(t, {
654
- searchText: j
642
+ e[0] !== t ? (s = (B) => B.getWidget(t), e[0] = t, e[1] = s) : s = e[1];
643
+ const _ = $(s), T = _?.isSearchEnabled ?? !1, o = _?.searchText ?? "", h = de(T), i = a ?? Jt, m = $(qt), v = $(Yt), l = $(Kt), O = $(Ut);
644
+ let P;
645
+ e[2] !== t || e[3] !== m ? (P = (B) => {
646
+ m(t, {
647
+ searchText: B
655
648
  });
656
- }, e[2] = t, e[3] = u, e[4] = E) : E = e[4];
657
- const O = E;
658
- let $, L;
659
- e[5] !== d || e[6] !== r || e[7] !== t || e[8] !== f || e[9] !== T || e[10] !== o || e[11] !== l ? ($ = () => (T(t, {
660
- id: ae,
661
- order: f,
662
- enabled: d,
663
- fn: async (j, U) => {
664
- const J = U?.searchText || "";
665
- return r(j, J);
649
+ }, e[2] = t, e[3] = m, e[4] = P) : P = e[4];
650
+ const y = P;
651
+ let A, w;
652
+ e[5] !== T || e[6] !== i || e[7] !== t || e[8] !== b || e[9] !== v || e[10] !== o || e[11] !== l ? (A = () => (v(t, {
653
+ id: ge,
654
+ order: b,
655
+ enabled: T,
656
+ fn: async (B, U) => {
657
+ const H = U?.searchText || "";
658
+ return i(B, H);
666
659
  },
667
660
  config: {
668
661
  searchText: o
669
662
  },
670
- disables: [de]
671
- }), () => l(t, ae)), L = [t, f, r, T, l, d, o], e[5] = d, e[6] = r, e[7] = t, e[8] = f, e[9] = T, e[10] = o, e[11] = l, e[12] = $, e[13] = L) : ($ = e[12], L = e[13]), q($, L);
672
- let w, x;
673
- e[14] !== d || e[15] !== t || e[16] !== D ? (w = () => {
674
- D(t, ae, d);
675
- }, x = [t, d, D], e[14] = d, e[15] = t, e[16] = D, e[17] = w, e[18] = x) : (w = e[17], x = e[18]), q(w, x);
676
- let W;
677
- e[19] !== p || e[20] !== t || e[21] !== P ? (W = (j) => {
678
- i.current && clearTimeout(i.current), i.current = setTimeout(() => {
679
- P(t, ae, {
680
- searchText: j
663
+ disables: [ae]
664
+ }), () => l(t, ge)), w = [t, b, i, v, l, T, o], e[5] = T, e[6] = i, e[7] = t, e[8] = b, e[9] = v, e[10] = o, e[11] = l, e[12] = A, e[13] = w) : (A = e[12], w = e[13]), K(A, w);
665
+ let D;
666
+ e[14] !== d || e[15] !== t || e[16] !== O ? (D = (B) => {
667
+ r.current && clearTimeout(r.current), r.current = setTimeout(() => {
668
+ O(t, ge, {
669
+ searchText: B
681
670
  });
682
- }, p);
683
- }, e[19] = p, e[20] = t, e[21] = P, e[22] = W) : W = e[22];
684
- const R = W;
685
- let A, z;
686
- e[23] !== d ? (A = () => {
687
- d && !b.current && h.current && h.current.focus(), b.current = d;
688
- }, z = [d], e[23] = d, e[24] = A, e[25] = z) : (A = e[24], z = e[25]), q(A, z);
689
- let C, I;
690
- e[26] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (C = () => () => {
691
- i.current && clearTimeout(i.current);
692
- }, I = [], e[26] = C, e[27] = I) : (C = e[26], I = e[27]), q(C, I);
693
- let B;
694
- e[28] !== R || e[29] !== O ? (B = (j) => {
695
- const U = j.target.value;
696
- O(U), R(U);
697
- }, e[28] = R, e[29] = O, e[30] = B) : B = e[30];
698
- const N = B;
699
- let M;
700
- e[31] !== t || e[32] !== O || e[33] !== P ? (M = () => {
701
- O(""), P(t, ae, {
671
+ }, d);
672
+ }, e[14] = d, e[15] = t, e[16] = O, e[17] = D) : D = e[17];
673
+ const L = D;
674
+ let I, W;
675
+ e[18] !== T ? (I = () => {
676
+ T && !h.current && S.current && S.current.focus(), h.current = T;
677
+ }, W = [T], e[18] = T, e[19] = I, e[20] = W) : (I = e[19], W = e[20]), K(I, W);
678
+ let z, R;
679
+ e[21] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (z = () => () => {
680
+ r.current && clearTimeout(r.current);
681
+ }, R = [], e[21] = z, e[22] = R) : (z = e[21], R = e[22]), K(z, R);
682
+ let C;
683
+ e[23] !== L || e[24] !== y ? (C = (B) => {
684
+ const U = B.target.value;
685
+ y(U), L(U);
686
+ }, e[23] = L, e[24] = y, e[25] = C) : C = e[25];
687
+ const x = C;
688
+ let k;
689
+ e[26] !== t || e[27] !== y || e[28] !== O ? (k = () => {
690
+ y(""), O(t, ge, {
702
691
  searchText: ""
703
- }), h.current && h.current.focus();
704
- }, e[31] = t, e[32] = O, e[33] = P, e[34] = M) : M = e[34];
705
- const Z = M;
706
- if (!d)
692
+ }), S.current && S.current.focus();
693
+ }, e[26] = t, e[27] = y, e[28] = O, e[29] = k) : k = e[29];
694
+ const j = k;
695
+ if (!T)
707
696
  return null;
708
- const V = c?.placeholder ?? "Search...", K = c?.clearAriaLabel ?? "Clear search";
709
- let G;
710
- e[35] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (G = /* @__PURE__ */ S(ve, { position: "start", children: /* @__PURE__ */ S($e, {}) }), e[35] = G) : G = e[35];
711
- let F;
712
- e[36] !== _ || e[37] !== K || e[38] !== Z || e[39] !== o ? (F = o ? /* @__PURE__ */ S(ve, { position: "end", children: /* @__PURE__ */ S(X, { size: "small", "aria-label": K, onClick: Z, edge: "end", children: _ ?? /* @__PURE__ */ S(Qe, { fontSize: "small" }) }) }) : null, e[36] = _, e[37] = K, e[38] = Z, e[39] = o, e[40] = F) : F = e[40];
713
- let Y;
714
- e[41] !== F ? (Y = {
715
- startAdornment: G,
716
- endAdornment: F
717
- }, e[41] = F, e[42] = Y) : Y = e[42];
718
- let H;
719
- return e[43] !== g || e[44] !== N || e[45] !== V || e[46] !== o || e[47] !== Y ? (H = /* @__PURE__ */ S(Ge, { inputRef: h, size: "small", fullWidth: !0, variant: "filled", placeholder: V, value: o, onChange: N, InputProps: Y, ...g }), e[43] = g, e[44] = N, e[45] = V, e[46] = o, e[47] = Y, e[48] = H) : H = e[48], H;
720
- }
721
- function Nt(n) {
722
- return n.updateToolConfig;
723
- }
724
- function jt(n) {
725
- return n.setToolEnabled;
697
+ const G = c?.placeholder ?? "Search...", F = c?.clearAriaLabel ?? "Clear search";
698
+ let Z;
699
+ e[30] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (Z = /* @__PURE__ */ g(ve, { position: "start", children: /* @__PURE__ */ g($e, {}) }), e[30] = Z) : Z = e[30];
700
+ let M;
701
+ e[31] !== E || e[32] !== F || e[33] !== j || e[34] !== o ? (M = o ? /* @__PURE__ */ g(ve, { position: "end", children: /* @__PURE__ */ g(J, { size: "small", "aria-label": F, onClick: j, edge: "end", children: E ?? /* @__PURE__ */ g(Qe, { fontSize: "small" }) }) }) : null, e[31] = E, e[32] = F, e[33] = j, e[34] = o, e[35] = M) : M = e[35];
702
+ let N;
703
+ e[36] !== M ? (N = {
704
+ startAdornment: Z,
705
+ endAdornment: M
706
+ }, e[36] = M, e[37] = N) : N = e[37];
707
+ let V;
708
+ return e[38] !== u || e[39] !== x || e[40] !== G || e[41] !== o || e[42] !== N ? (V = /* @__PURE__ */ g(Ge, { inputRef: S, size: "small", fullWidth: !0, variant: "filled", placeholder: G, value: o, onChange: x, InputProps: N, ...u }), e[38] = u, e[39] = x, e[40] = G, e[41] = o, e[42] = N, e[43] = V) : V = e[43], V;
726
709
  }
727
710
  function Ut(n) {
728
- return n.unregisterTool;
711
+ return n.updateToolConfig;
729
712
  }
730
713
  function Kt(n) {
731
- return n.registerTool;
714
+ return n.unregisterTool;
732
715
  }
733
716
  function Yt(n) {
717
+ return n.registerTool;
718
+ }
719
+ function qt(n) {
734
720
  return n.setWidget;
735
721
  }
736
- const qt = (n, e) => {
722
+ const Jt = (n, e) => {
737
723
  if (!e.trim()) return Promise.resolve(n);
738
724
  const t = e.toLowerCase();
739
- return Promise.resolve(n.map((a) => a.filter((m) => Object.values(m).some((c) => typeof c == "string" && c.toLowerCase().includes(t)))));
725
+ return Promise.resolve(n.map((a) => a.filter((p) => Object.values(p).some((c) => typeof c == "string" && c.toLowerCase().includes(t)))));
740
726
  };
741
- function On(n) {
742
- const e = Q(23), {
727
+ function Wn(n) {
728
+ const e = q(23), {
743
729
  id: t,
744
730
  defaultEnabled: a,
745
- labels: m,
731
+ labels: p,
746
732
  Icon: c,
747
- IconButtonProps: g
748
- } = n, _ = a === void 0 ? !1 : a, v = k(Qt), f = k(Jt);
749
- let p;
750
- e[0] !== t ? (p = (D) => D.getWidget(t)?.isSearchEnabled, e[0] = t, e[1] = p) : p = e[1];
751
- const i = k(ne(p)) ?? _;
752
- let s, y;
753
- e[2] !== _ || e[3] !== f || e[4] !== t || e[5] !== v ? (s = () => {
754
- f(t)?.isSearchEnabled === void 0 && v(t, {
755
- isSearchEnabled: _
756
- });
757
- }, y = [_, f, t, v], e[2] = _, e[3] = f, e[4] = t, e[5] = v, e[6] = s, e[7] = y) : (s = e[6], y = e[7]), q(s, y);
733
+ IconButtonProps: u
734
+ } = n, E = a === void 0 ? !1 : a, f = $(Xt), b = $(Qt);
758
735
  let d;
759
- e[8] !== t || e[9] !== i || e[10] !== v ? (d = () => {
760
- v(t, {
761
- isSearchEnabled: !i
736
+ e[0] !== t ? (d = (O) => O.getWidget(t)?.isSearchEnabled, e[0] = t, e[1] = d) : d = e[1];
737
+ const r = $(te(d)) ?? E;
738
+ let s, _;
739
+ e[2] !== E || e[3] !== b || e[4] !== t || e[5] !== f ? (s = () => {
740
+ b(t)?.isSearchEnabled === void 0 && f(t, {
741
+ isSearchEnabled: E
762
742
  });
763
- }, e[8] = t, e[9] = i, e[10] = v, e[11] = d) : d = e[11];
764
- const o = d, b = i ? m?.disable ?? "Disable search" : m?.enable ?? "Enable search", r = m?.ariaLabel ?? b;
765
- let u;
766
- e[12] !== c ? (u = c ?? /* @__PURE__ */ S($e, { fontSize: "small" }), e[12] = c, e[13] = u) : u = e[13];
743
+ }, _ = [E, b, t, f], e[2] = E, e[3] = b, e[4] = t, e[5] = f, e[6] = s, e[7] = _) : (s = e[6], _ = e[7]), K(s, _);
767
744
  let T;
768
- e[14] !== g || e[15] !== r || e[16] !== o || e[17] !== i || e[18] !== u ? (T = /* @__PURE__ */ S(X, { size: "small", "aria-label": r, onClick: o, sx: fe.trigger, "data-active": i, ...g, children: u }), e[14] = g, e[15] = r, e[16] = o, e[17] = i, e[18] = u, e[19] = T) : T = e[19];
745
+ e[8] !== t || e[9] !== r || e[10] !== f ? (T = () => {
746
+ f(t, {
747
+ isSearchEnabled: !r
748
+ });
749
+ }, e[8] = t, e[9] = r, e[10] = f, e[11] = T) : T = e[11];
750
+ const o = T, h = r ? p?.disable ?? "Disable search" : p?.enable ?? "Enable search", i = p?.ariaLabel ?? h;
751
+ let m;
752
+ e[12] !== c ? (m = c ?? /* @__PURE__ */ g($e, { fontSize: "small" }), e[12] = c, e[13] = m) : m = e[13];
753
+ let v;
754
+ e[14] !== u || e[15] !== i || e[16] !== o || e[17] !== r || e[18] !== m ? (v = /* @__PURE__ */ g(J, { size: "small", "aria-label": i, onClick: o, sx: ue.trigger, "data-active": r, ...u, children: m }), e[14] = u, e[15] = i, e[16] = o, e[17] = r, e[18] = m, e[19] = v) : v = e[19];
769
755
  let l;
770
- return e[20] !== T || e[21] !== b ? (l = /* @__PURE__ */ S(re, { title: b, children: T }), e[20] = T, e[21] = b, e[22] = l) : l = e[22], l;
756
+ return e[20] !== v || e[21] !== h ? (l = /* @__PURE__ */ g(ie, { title: h, children: v }), e[20] = v, e[21] = h, e[22] = l) : l = e[22], l;
771
757
  }
772
- function Jt(n) {
758
+ function Qt(n) {
773
759
  return n.getWidget;
774
760
  }
775
- function Qt(n) {
761
+ function Xt(n) {
776
762
  return n.setWidget;
777
763
  }
778
- const Xt = () => {
779
- const n = Q(1);
764
+ const en = () => {
765
+ const n = q(1);
780
766
  let e;
781
- return n[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (e = /* @__PURE__ */ S("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 18 18", children: /* @__PURE__ */ S("path", { fill: "currentColor", fillRule: "evenodd", d: "M14.25 2.25H3.75c-.825 0-1.5.675-1.5 1.5v10.5c0 .825.675 1.5 1.5 1.5h10.5c.825 0 1.5-.675 1.5-1.5V3.75c0-.825-.675-1.5-1.5-1.5m-3.75 12h-3V3.75h3zM3.75 3.75H6v10.5H3.75zM12 14.25V3.75h2.25v10.5z", clipRule: "evenodd" }) }), n[0] = e) : e = n[0], e;
767
+ return n[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (e = /* @__PURE__ */ g("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 18 18", children: /* @__PURE__ */ g("path", { fill: "currentColor", fillRule: "evenodd", d: "M14.25 2.25H3.75c-.825 0-1.5.675-1.5 1.5v10.5c0 .825.675 1.5 1.5 1.5h10.5c.825 0 1.5-.675 1.5-1.5V3.75c0-.825-.675-1.5-1.5-1.5m-3.75 12h-3V3.75h3zM3.75 3.75H6v10.5H3.75zM12 14.25V3.75h2.25v10.5z", clipRule: "evenodd" }) }), n[0] = e) : e = n[0], e;
782
768
  };
783
- function en(n) {
784
- const e = Q(18), {
769
+ function tn(n) {
770
+ const e = q(18), {
785
771
  column: t
786
772
  } = n;
787
773
  let a;
@@ -789,182 +775,182 @@ function en(n) {
789
775
  id: t.id
790
776
  }, e[0] = t.id, e[1] = a) : a = e[1];
791
777
  const {
792
- attributes: m,
778
+ attributes: p,
793
779
  listeners: c,
794
- setNodeRef: g,
795
- transform: _,
796
- transition: v,
797
- isDragging: f
798
- } = rt(a);
799
- let p;
800
- e[2] !== _ ? (p = ft.Transform.toString(_), e[2] = _, e[3] = p) : p = e[3];
801
- const h = f ? 0.5 : 1, i = f ? "grabbing" : "grab";
802
- let s;
803
- e[4] !== p || e[5] !== h || e[6] !== i || e[7] !== v ? (s = {
804
- transform: p,
805
- transition: v,
806
- opacity: h,
807
- cursor: i
808
- }, e[4] = p, e[5] = h, e[6] = i, e[7] = v, e[8] = s) : s = e[8];
809
- const y = s;
780
+ setNodeRef: u,
781
+ transform: E,
782
+ transition: f,
783
+ isDragging: b
784
+ } = it(a);
810
785
  let d;
811
- e[9] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (d = {
786
+ e[2] !== E ? (d = ft.Transform.toString(E), e[2] = E, e[3] = d) : d = e[3];
787
+ const S = b ? 0.5 : 1, r = b ? "grabbing" : "grab";
788
+ let s;
789
+ e[4] !== d || e[5] !== S || e[6] !== r || e[7] !== f ? (s = {
790
+ transform: d,
791
+ transition: f,
792
+ opacity: S,
793
+ cursor: r
794
+ }, e[4] = d, e[5] = S, e[6] = r, e[7] = f, e[8] = s) : s = e[8];
795
+ const _ = s;
796
+ let T;
797
+ e[9] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (T = {
812
798
  "&:focus-visible": {
813
- outline: tn,
799
+ outline: nn,
814
800
  outlineOffset: -2
815
801
  }
816
- }, e[9] = d) : d = e[9];
802
+ }, e[9] = T) : T = e[9];
817
803
  let o;
818
- e[10] !== t.label ? (o = /* @__PURE__ */ S(xe, { children: t.label }), e[10] = t.label, e[11] = o) : o = e[11];
819
- let b;
820
- return e[12] !== m || e[13] !== c || e[14] !== g || e[15] !== y || e[16] !== o ? (b = /* @__PURE__ */ S(Ee, { ref: g, style: y, ...m, ...c, role: "menuitem", tabIndex: 0, sx: d, children: o }), e[12] = m, e[13] = c, e[14] = g, e[15] = y, e[16] = o, e[17] = b) : b = e[17], b;
804
+ e[10] !== t.label ? (o = /* @__PURE__ */ g(Le, { children: t.label }), e[10] = t.label, e[11] = o) : o = e[11];
805
+ let h;
806
+ return e[12] !== p || e[13] !== c || e[14] !== u || e[15] !== _ || e[16] !== o ? (h = /* @__PURE__ */ g(Ee, { ref: u, style: _, ...p, ...c, role: "menuitem", tabIndex: 0, sx: T, children: o }), e[12] = p, e[13] = c, e[14] = u, e[15] = _, e[16] = o, e[17] = h) : h = e[17], h;
821
807
  }
822
- function tn(n) {
808
+ function nn(n) {
823
809
  return `2px solid ${n.palette.primary.main}`;
824
810
  }
825
811
  const ke = "change-column";
826
- function Wn(n) {
827
- const e = Q(50), {
812
+ function zn(n) {
813
+ const e = q(50), {
828
814
  id: t,
829
815
  labels: a,
830
- Icon: m,
816
+ Icon: p,
831
817
  IconButtonProps: c,
832
- MenuProps: g
833
- } = n, [_, v] = he(null), f = k(cn), p = k(rn), h = k(sn);
834
- let i;
835
- e[0] !== t ? (i = (F) => F.getWidget(t)?.columns, e[0] = t, e[1] = i) : i = e[1];
836
- const s = k(ne(i));
837
- let y;
838
- e[2] !== t ? (y = (F) => {
839
- const H = k.getState().getWidget(t)?.columns;
818
+ MenuProps: u
819
+ } = n, [E, f] = he(null), b = $(an), d = $(cn), S = $(rn);
820
+ let r;
821
+ e[0] !== t ? (r = (B) => B.getWidget(t)?.columns, e[0] = t, e[1] = r) : r = e[1];
822
+ const s = $(te(r));
823
+ let _;
824
+ e[2] !== t ? (_ = (B) => {
825
+ const H = $.getState().getWidget(t)?.columns;
840
826
  if (!H || H.length === 0)
841
- return F;
842
- const j = F, U = j.columns;
843
- if (!U || U.length === 0 || U.length === H.length && U.every((ee, se) => ee.id === H[se]?.id))
844
- return F;
845
- const oe = new Map(U.map(ln)), le = [];
846
- for (const ee of H) {
847
- const se = oe.get(ee.id);
848
- se && (le.push(se), oe.delete(ee.id));
827
+ return B;
828
+ const ne = B, Y = ne.columns;
829
+ if (!Y || Y.length === 0 || Y.length === H.length && Y.every((X, le) => X.id === H[le]?.id))
830
+ return B;
831
+ const se = new Map(Y.map(sn)), oe = [];
832
+ for (const X of H) {
833
+ const le = se.get(X.id);
834
+ le && (oe.push(le), se.delete(X.id));
849
835
  }
850
- for (const ee of oe.values())
851
- le.push(ee);
852
- const ce = le.length === H.length && le.every((ee, se) => ee.id === H[se]?.id);
836
+ for (const X of se.values())
837
+ oe.push(X);
838
+ const ce = oe.length === H.length && oe.every((X, le) => X.id === H[le]?.id);
853
839
  return {
854
- ...j,
855
- columns: ce ? H : le
840
+ ...ne,
841
+ columns: ce ? H : oe
856
842
  };
857
- }, e[2] = t, e[3] = y) : y = e[3];
858
- const d = y;
843
+ }, e[2] = t, e[3] = _) : _ = e[3];
844
+ const T = _;
859
845
  let o;
860
846
  e[4] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (o = {
861
847
  coordinateGetter: ct
862
848
  }, e[4] = o) : o = e[4];
863
- const b = nt(Ie(ot), Ie(lt, o));
864
- let r;
865
- e[5] !== s ? (r = s?.map(on) ?? [], e[5] = s, e[6] = r) : r = e[6];
866
- const u = r;
867
- let T, l;
868
- e[7] !== t || e[8] !== p || e[9] !== d || e[10] !== h ? (T = () => (p(t, {
849
+ const h = nt(Ie(ot), Ie(lt, o));
850
+ let i;
851
+ e[5] !== s ? (i = s?.map(ln) ?? [], e[5] = s, e[6] = i) : i = e[6];
852
+ const m = i;
853
+ let v, l;
854
+ e[7] !== t || e[8] !== d || e[9] !== T || e[10] !== S ? (v = () => (d(t, {
869
855
  id: ke,
870
856
  type: "config",
871
857
  order: 100,
872
858
  enabled: !0,
873
- fn: d
874
- }), () => h(t, ke)), l = [t, p, h, d], e[7] = t, e[8] = p, e[9] = d, e[10] = h, e[11] = T, e[12] = l) : (T = e[11], l = e[12]), q(T, l);
875
- let D;
876
- e[13] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (D = (F) => {
877
- F.stopPropagation(), v(F.currentTarget);
878
- }, e[13] = D) : D = e[13];
879
- const P = D;
880
- let E;
881
- e[14] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (E = () => {
882
- v(null);
883
- }, e[14] = E) : E = e[14];
884
- const O = E;
885
- let $;
886
- e[15] !== s || e[16] !== t || e[17] !== f ? ($ = (F) => {
859
+ fn: T
860
+ }), () => S(t, ke)), l = [t, d, S, T], e[7] = t, e[8] = d, e[9] = T, e[10] = S, e[11] = v, e[12] = l) : (v = e[11], l = e[12]), K(v, l);
861
+ let O;
862
+ e[13] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (O = (B) => {
863
+ B.stopPropagation(), f(B.currentTarget);
864
+ }, e[13] = O) : O = e[13];
865
+ const P = O;
866
+ let y;
867
+ e[14] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (y = () => {
868
+ f(null);
869
+ }, e[14] = y) : y = e[14];
870
+ const A = y;
871
+ let w;
872
+ e[15] !== s || e[16] !== t || e[17] !== b ? (w = (B) => {
887
873
  const {
888
- active: Y,
874
+ active: U,
889
875
  over: H
890
- } = F;
891
- if (!H || Y.id === H.id || !s)
876
+ } = B;
877
+ if (!H || U.id === H.id || !s)
892
878
  return;
893
- const j = s.findIndex((J) => J.id === Y.id), U = s.findIndex((J) => J.id === H.id);
894
- if (j !== -1 && U !== -1) {
895
- const J = at(s, j, U);
896
- f(t, {
897
- columns: J
879
+ const ne = s.findIndex((Q) => Q.id === U.id), Y = s.findIndex((Q) => Q.id === H.id);
880
+ if (ne !== -1 && Y !== -1) {
881
+ const Q = at(s, ne, Y);
882
+ b(t, {
883
+ columns: Q
898
884
  });
899
885
  }
900
- }, e[15] = s, e[16] = t, e[17] = f, e[18] = $) : $ = e[18];
901
- const L = $;
886
+ }, e[15] = s, e[16] = t, e[17] = b, e[18] = w) : w = e[18];
887
+ const D = w;
902
888
  if (!s || s.length < 2)
903
889
  return null;
904
- const w = a?.tooltip ?? "Change column", x = !!_, W = a?.ariaLabel ?? w, R = x ? "change-column-menu" : void 0, A = x ? "true" : void 0;
905
- let z;
906
- e[19] !== m ? (z = m ?? /* @__PURE__ */ S(He, { children: /* @__PURE__ */ S(Xt, {}) }), e[19] = m, e[20] = z) : z = e[20];
890
+ const L = a?.tooltip ?? "Change column", I = !!E, W = a?.ariaLabel ?? L, z = I ? "change-column-menu" : void 0, R = I ? "true" : void 0;
907
891
  let C;
908
- e[21] !== c || e[22] !== x || e[23] !== W || e[24] !== R || e[25] !== A || e[26] !== z ? (C = /* @__PURE__ */ S(X, { size: "small", "aria-label": W, "aria-controls": R, "aria-haspopup": "true", "aria-expanded": A, onClick: P, "data-active": x, sx: fe.trigger, ...c, children: z }), e[21] = c, e[22] = x, e[23] = W, e[24] = R, e[25] = A, e[26] = z, e[27] = C) : C = e[27];
909
- let I;
910
- e[28] !== C || e[29] !== w ? (I = /* @__PURE__ */ S(re, { title: w, children: C }), e[28] = C, e[29] = w, e[30] = I) : I = e[30];
911
- let B, N;
912
- e[31] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (B = {
892
+ e[19] !== p ? (C = p ?? /* @__PURE__ */ g(He, { children: /* @__PURE__ */ g(en, {}) }), e[19] = p, e[20] = C) : C = e[20];
893
+ let x;
894
+ e[21] !== c || e[22] !== I || e[23] !== W || e[24] !== z || e[25] !== R || e[26] !== C ? (x = /* @__PURE__ */ g(J, { size: "small", "aria-label": W, "aria-controls": z, "aria-haspopup": "true", "aria-expanded": R, onClick: P, "data-active": I, sx: ue.trigger, ...c, children: C }), e[21] = c, e[22] = I, e[23] = W, e[24] = z, e[25] = R, e[26] = C, e[27] = x) : x = e[27];
895
+ let k;
896
+ e[28] !== x || e[29] !== L ? (k = /* @__PURE__ */ g(ie, { title: L, children: x }), e[28] = x, e[29] = L, e[30] = k) : k = e[30];
897
+ let j, G;
898
+ e[31] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (j = {
913
899
  vertical: "bottom",
914
900
  horizontal: "right"
915
- }, N = {
901
+ }, G = {
916
902
  vertical: "top",
917
903
  horizontal: "right"
918
- }, e[31] = B, e[32] = N) : (B = e[31], N = e[32]);
919
- let M;
920
- e[33] !== s ? (M = s.map(nn), e[33] = s, e[34] = M) : M = e[34];
904
+ }, e[31] = j, e[32] = G) : (j = e[31], G = e[32]);
905
+ let F;
906
+ e[33] !== s ? (F = s.map(on), e[33] = s, e[34] = F) : F = e[34];
921
907
  let Z;
922
- e[35] !== u || e[36] !== M ? (Z = /* @__PURE__ */ S(dt, { items: u, strategy: ut, children: M }), e[35] = u, e[36] = M, e[37] = Z) : Z = e[37];
908
+ e[35] !== m || e[36] !== F ? (Z = /* @__PURE__ */ g(dt, { items: m, strategy: ut, children: F }), e[35] = m, e[36] = F, e[37] = Z) : Z = e[37];
909
+ let M;
910
+ e[38] !== u || e[39] !== E || e[40] !== I || e[41] !== Z ? (M = /* @__PURE__ */ g(xe, { id: "change-column-menu", anchorEl: E, open: I, onClose: A, anchorOrigin: j, transformOrigin: G, ...u, children: Z }), e[38] = u, e[39] = E, e[40] = I, e[41] = Z, e[42] = M) : M = e[42];
911
+ let N;
912
+ e[43] !== D || e[44] !== h || e[45] !== M ? (N = /* @__PURE__ */ g(st, { sensors: h, collisionDetection: rt, onDragEnd: D, children: M }), e[43] = D, e[44] = h, e[45] = M, e[46] = N) : N = e[46];
923
913
  let V;
924
- e[38] !== g || e[39] !== _ || e[40] !== x || e[41] !== Z ? (V = /* @__PURE__ */ S(Le, { id: "change-column-menu", anchorEl: _, open: x, onClose: O, anchorOrigin: B, transformOrigin: N, ...g, children: Z }), e[38] = g, e[39] = _, e[40] = x, e[41] = Z, e[42] = V) : V = e[42];
925
- let K;
926
- e[43] !== L || e[44] !== b || e[45] !== V ? (K = /* @__PURE__ */ S(st, { sensors: b, collisionDetection: it, onDragEnd: L, children: V }), e[43] = L, e[44] = b, e[45] = V, e[46] = K) : K = e[46];
927
- let G;
928
- return e[47] !== I || e[48] !== K ? (G = /* @__PURE__ */ ie(be, { children: [
929
- I,
930
- K
931
- ] }), e[47] = I, e[48] = K, e[49] = G) : G = e[49], G;
932
- }
933
- function nn(n) {
934
- return /* @__PURE__ */ S(en, { column: n }, n.id);
914
+ return e[47] !== k || e[48] !== N ? (V = /* @__PURE__ */ re(be, { children: [
915
+ k,
916
+ N
917
+ ] }), e[47] = k, e[48] = N, e[49] = V) : V = e[49], V;
935
918
  }
936
919
  function on(n) {
937
- return n.id;
920
+ return /* @__PURE__ */ g(tn, { column: n }, n.id);
938
921
  }
939
922
  function ln(n) {
940
- return [n.id, n];
923
+ return n.id;
941
924
  }
942
925
  function sn(n) {
943
- return n.unregisterTool;
926
+ return [n.id, n];
944
927
  }
945
928
  function rn(n) {
946
- return n.registerTool;
929
+ return n.unregisterTool;
947
930
  }
948
931
  function cn(n) {
932
+ return n.registerTool;
933
+ }
934
+ function an(n) {
949
935
  return n.setWidget;
950
936
  }
951
937
  export {
952
938
  ke as CHANGE_COLUMN_TOOL_ID,
953
- Wn as ChangeColumn,
954
- En as Download,
955
- kn as FullScreen,
956
- de as LOCK_SELECTION_TOOL_ID,
939
+ zn as ChangeColumn,
940
+ Ln as Download,
941
+ En as FullScreen,
942
+ ae as LOCK_SELECTION_TOOL_ID,
957
943
  wn as LockSelection,
958
944
  pe as RELATIVE_DATA_TOOL_ID,
959
945
  xn as RelativeData,
960
- ae as SEARCHER_TOOL_ID,
961
- ge as STACK_TOGGLE_TOOL_ID,
946
+ ge as SEARCHER_TOOL_ID,
947
+ me as STACK_TOGGLE_TOOL_ID,
962
948
  Dn as Searcher,
963
- On as SearcherToggle,
964
- $n as StackToggle,
965
- te as ZOOM_TOGGLE_TOOL_ID,
966
- Ln as ZoomToggle,
967
- An as downloadToCSV,
968
- Pn as downloadToPNG
949
+ Wn as SearcherToggle,
950
+ On as StackToggle,
951
+ ee as ZOOM_TOGGLE_TOOL_ID,
952
+ $n as ZoomToggle,
953
+ Rn as downloadToCSV,
954
+ Bn as downloadToPNG
969
955
  };
970
956
  //# sourceMappingURL=actions.js.map