@carto/ps-react-ui 4.3.6 → 4.3.7

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 (119) hide show
  1. package/dist/components.js +123 -123
  2. package/dist/components.js.map +1 -1
  3. package/dist/error-CEkRPccv.js +39 -0
  4. package/dist/error-CEkRPccv.js.map +1 -0
  5. package/dist/{lasso-tool-BctzdzBu.js → lasso-tool-jl4YK02H.js} +19 -19
  6. package/dist/lasso-tool-jl4YK02H.js.map +1 -0
  7. package/dist/no-data-hR3KcJ-_.js +60 -0
  8. package/dist/no-data-hR3KcJ-_.js.map +1 -0
  9. package/dist/{row-D3uVFImu.js → row-BKmVAUN5.js} +2 -2
  10. package/dist/{row-D3uVFImu.js.map → row-BKmVAUN5.js.map} +1 -1
  11. package/dist/{series-BAImrSBo.js → series-D1pynfeh.js} +3 -3
  12. package/dist/{series-BAImrSBo.js.map → series-D1pynfeh.js.map} +1 -1
  13. package/dist/{styles-CCZnY17y.js → styles-DrPyd0y5.js} +28 -22
  14. package/dist/styles-DrPyd0y5.js.map +1 -0
  15. package/dist/types/components/lasso-tool/types.d.ts +1 -1
  16. package/dist/types/widgets/_shared/chart-config/index.d.ts +1 -1
  17. package/dist/types/widgets/_shared/chart-config/option-builders.d.ts +7 -0
  18. package/dist/types/widgets/_shared/chart-config/option-builders.test.d.ts +1 -0
  19. package/dist/types/widgets/actions/index.d.ts +2 -2
  20. package/dist/types/widgets/actions/lock-selection/types.d.ts +0 -13
  21. package/dist/types/widgets/actions/relative-data/types.d.ts +0 -4
  22. package/dist/types/widgets/actions/searcher/types.d.ts +0 -2
  23. package/dist/types/widgets/actions/stack-toggle/types.d.ts +0 -4
  24. package/dist/types/widgets/echart/types.d.ts +0 -4
  25. package/dist/types/widgets/echart/utils.d.ts +2 -1
  26. package/dist/types/widgets/error/error.d.ts +1 -1
  27. package/dist/types/widgets/error/types.d.ts +8 -0
  28. package/dist/types/widgets/loader/loader.d.ts +1 -1
  29. package/dist/types/widgets/loader/types.d.ts +1 -1
  30. package/dist/types/widgets/stores/types.d.ts +1 -1
  31. package/dist/{use-widget-ref-B8x4sHIj.js → use-widget-ref-P-2i0MJG.js} +2 -2
  32. package/dist/{use-widget-ref-B8x4sHIj.js.map → use-widget-ref-P-2i0MJG.js.map} +1 -1
  33. package/dist/{utils-D3-eQyDR.js → utils-idmvq0Oa.js} +17 -16
  34. package/dist/utils-idmvq0Oa.js.map +1 -0
  35. package/dist/{widget-store-Dn0Bnc4h.js → widget-store-CzDt8oSK.js} +31 -46
  36. package/dist/widget-store-CzDt8oSK.js.map +1 -0
  37. package/dist/widgets/actions.js +690 -716
  38. package/dist/widgets/actions.js.map +1 -1
  39. package/dist/widgets/bar.js +67 -63
  40. package/dist/widgets/bar.js.map +1 -1
  41. package/dist/widgets/category.js +250 -241
  42. package/dist/widgets/category.js.map +1 -1
  43. package/dist/widgets/echart.js +93 -100
  44. package/dist/widgets/echart.js.map +1 -1
  45. package/dist/widgets/error.js +1 -1
  46. package/dist/widgets/formula.js +64 -72
  47. package/dist/widgets/formula.js.map +1 -1
  48. package/dist/widgets/histogram.js +75 -73
  49. package/dist/widgets/histogram.js.map +1 -1
  50. package/dist/widgets/loader.js +1 -1
  51. package/dist/widgets/loader.js.map +1 -1
  52. package/dist/widgets/markdown.js +2 -2
  53. package/dist/widgets/no-data.js +1 -1
  54. package/dist/widgets/pie.js +4 -4
  55. package/dist/widgets/range.js +97 -105
  56. package/dist/widgets/range.js.map +1 -1
  57. package/dist/widgets/scatterplot.js +8 -8
  58. package/dist/widgets/skeleton-loader.js +1 -1
  59. package/dist/widgets/spread.js +84 -100
  60. package/dist/widgets/spread.js.map +1 -1
  61. package/dist/widgets/stores.js +1 -1
  62. package/dist/widgets/table.js +493 -485
  63. package/dist/widgets/table.js.map +1 -1
  64. package/dist/widgets/timeseries.js +4 -4
  65. package/dist/widgets/wrapper.js +156 -156
  66. package/dist/widgets/wrapper.js.map +1 -1
  67. package/dist/widgets.js +4 -4
  68. package/package.json +3 -3
  69. package/src/components/lasso-tool/lasso-tool-inline.tsx +19 -17
  70. package/src/components/lasso-tool/lasso-tool.tsx +22 -20
  71. package/src/components/lasso-tool/types.ts +4 -3
  72. package/src/widgets/_shared/chart-config/index.ts +1 -0
  73. package/src/widgets/_shared/chart-config/option-builders.test.ts +40 -0
  74. package/src/widgets/_shared/chart-config/option-builders.ts +12 -0
  75. package/src/widgets/actions/fullscreen/fullscreen.tsx +5 -8
  76. package/src/widgets/actions/index.ts +2 -5
  77. package/src/widgets/actions/lock-selection/lock-selection.test.tsx +28 -30
  78. package/src/widgets/actions/lock-selection/lock-selection.tsx +25 -26
  79. package/src/widgets/actions/lock-selection/types.ts +0 -17
  80. package/src/widgets/actions/relative-data/relative-data.test.tsx +13 -13
  81. package/src/widgets/actions/relative-data/relative-data.tsx +18 -21
  82. package/src/widgets/actions/relative-data/types.ts +0 -7
  83. package/src/widgets/actions/searcher/searcher.tsx +40 -22
  84. package/src/widgets/actions/searcher/types.ts +0 -2
  85. package/src/widgets/actions/stack-toggle/stack-toggle.test.tsx +19 -9
  86. package/src/widgets/actions/stack-toggle/stack-toggle.tsx +32 -22
  87. package/src/widgets/actions/stack-toggle/types.ts +0 -8
  88. package/src/widgets/actions/zoom-toggle/zoom-toggle.tsx +113 -95
  89. package/src/widgets/bar/config.ts +37 -28
  90. package/src/widgets/category/category-ui.tsx +25 -22
  91. package/src/widgets/echart/echart-ui.test.tsx +3 -18
  92. package/src/widgets/echart/echart-ui.tsx +4 -22
  93. package/src/widgets/echart/echart.test.tsx +9 -25
  94. package/src/widgets/echart/echart.tsx +36 -29
  95. package/src/widgets/echart/types.ts +0 -4
  96. package/src/widgets/echart/utils.ts +3 -1
  97. package/src/widgets/error/error.tsx +17 -14
  98. package/src/widgets/error/types.ts +10 -0
  99. package/src/widgets/formula/components/value.tsx +13 -13
  100. package/src/widgets/histogram/config.ts +36 -29
  101. package/src/widgets/loader/loader.tsx +3 -1
  102. package/src/widgets/loader/types.ts +3 -1
  103. package/src/widgets/no-data/no-data.tsx +8 -11
  104. package/src/widgets/range/components/range-item.tsx +9 -13
  105. package/src/widgets/spread/components/max-value.tsx +13 -13
  106. package/src/widgets/spread/components/min-value.tsx +13 -13
  107. package/src/widgets/stores/types.ts +1 -4
  108. package/src/widgets/stores/widget-store.ts +1 -27
  109. package/src/widgets/table/hooks/use-pagination.ts +44 -35
  110. package/src/widgets/table/hooks/use-sort.ts +25 -23
  111. package/src/widgets/wrapper/wrapper-ui.tsx +16 -17
  112. package/dist/error-piB8FwYO.js +0 -38
  113. package/dist/error-piB8FwYO.js.map +0 -1
  114. package/dist/lasso-tool-BctzdzBu.js.map +0 -1
  115. package/dist/no-data-jdlbMef0.js +0 -61
  116. package/dist/no-data-jdlbMef0.js.map +0 -1
  117. package/dist/styles-CCZnY17y.js.map +0 -1
  118. package/dist/utils-D3-eQyDR.js.map +0 -1
  119. package/dist/widget-store-Dn0Bnc4h.js.map +0 -1
@@ -1,5 +1,5 @@
1
- import { s as ve, L as Be, a as ae } from "./lasso-tool-BctzdzBu.js";
2
- import { D as ol, b as nl, c as il, d as sl, e as rl, f as al, S as cl } from "./lasso-tool-BctzdzBu.js";
1
+ import { s as ve, L as Be, a as ae } from "./lasso-tool-jl4YK02H.js";
2
+ import { D as ol, b as nl, c as il, d as sl, e as rl, f as al, S as cl } from "./lasso-tool-jl4YK02H.js";
3
3
  import { jsxs as $, Fragment as ee, jsx as l } from "react/jsx-runtime";
4
4
  import { c as F } from "react/compiler-runtime";
5
5
  import { Divider as fe, Box as q, ToggleButton as ye, SvgIcon as Ie, ToggleButtonGroup as Le, Typography as Q, Button as xe, alpha as Ue, Paper as Ce, MenuItem as Te, ListItemIcon as Ve, ListItemText as Se, IconButton as re, Menu as Ze, DialogTitle as We, FormControlLabel as je, Radio as Fe, RadioGroup as Ge, FormControl as Ne, DialogContent as ze, DialogActions as He, Dialog as Xe, CircularProgress as qe, Grid as pe, Skeleton as we, Alert as Ke, ListItem as Ye, List as Qe, Drawer as Je, Popover as et, useTheme as tt, useMediaQuery as lt } from "@mui/material";
@@ -11,11 +11,11 @@ import { ArrowDropDown as ot, Close as Re, MyLocationOutlined as nt, LocationDis
11
11
  import { S as ct } from "./smart-tooltip-BEtBaIdz.js";
12
12
  function qt(t) {
13
13
  const e = F(59), {
14
- enabled: s,
14
+ enabled: i,
15
15
  values: o,
16
16
  chipProps: n,
17
17
  labels: r,
18
- modes: i,
18
+ modes: s,
19
19
  modesMapping: a,
20
20
  modeSelected: c,
21
21
  BoxProps: d,
@@ -36,7 +36,7 @@ function qt(t) {
36
36
  ...S
37
37
  } = g, e[4] = g, e[5] = S, e[6] = A) : (S = e[5], A = e[6]);
38
38
  let _;
39
- e[7] !== i || e[8] !== a ? (_ = Me(i, a), e[7] = i, e[8] = a, e[9] = _) : _ = e[9];
39
+ e[7] !== s || e[8] !== a ? (_ = Me(s, a), e[7] = s, e[8] = a, e[9] = _) : _ = e[9];
40
40
  const C = _;
41
41
  let D, M;
42
42
  e[10] !== C ? ({
@@ -50,7 +50,7 @@ function qt(t) {
50
50
  e[15] !== f ? (y = (K, ie) => {
51
51
  K.preventDefault(), f?.(ie);
52
52
  }, e[15] = f, e[16] = y) : y = e[16];
53
- const b = y, x = (c ?? "") in i ? c : Object.keys(C)[0], Z = s ? C[x] : null;
53
+ const b = y, x = (c ?? "") in s ? c : Object.keys(C)[0], Z = i ? C[x] : null;
54
54
  let U;
55
55
  e[17] !== D ? (U = Object.values(D), e[17] = D, e[18] = U) : U = e[18];
56
56
  const L = U;
@@ -98,58 +98,58 @@ function qt(t) {
98
98
  }
99
99
  function dt(t) {
100
100
  const e = F(5), {
101
- data: s,
101
+ data: i,
102
102
  labels: o,
103
103
  children: n
104
104
  } = t;
105
- if (s.length <= 1)
105
+ if (i.length <= 1)
106
106
  return null;
107
107
  const r = o?.mode?.title ?? ae.options.mode.title;
108
- let i;
109
- e[0] !== r ? (i = /* @__PURE__ */ l(Q, { variant: "subtitle2", color: "text.secondary", sx: ve.options.title, className: "inline", children: r }), e[0] = r, e[1] = i) : i = e[1];
108
+ let s;
109
+ e[0] !== r ? (s = /* @__PURE__ */ l(Q, { variant: "subtitle2", color: "text.secondary", sx: ve.options.title, className: "inline", children: r }), e[0] = r, e[1] = s) : s = e[1];
110
110
  let a;
111
- return e[2] !== n || e[3] !== i ? (a = /* @__PURE__ */ $(ee, { children: [
112
- i,
111
+ return e[2] !== n || e[3] !== s ? (a = /* @__PURE__ */ $(ee, { children: [
112
+ s,
113
113
  n
114
- ] }), e[2] = n, e[3] = i, e[4] = a) : a = e[4], a;
114
+ ] }), e[2] = n, e[3] = s, e[4] = a) : a = e[4], a;
115
115
  }
116
116
  function Ae({
117
117
  data: t,
118
118
  labels: e
119
119
  }) {
120
- return t.map((s) => {
121
- const n = (e?.mode?.options ?? ae.options.mode.options)[s.value];
122
- return /* @__PURE__ */ l(he, { title: n, placement: "bottom", children: /* @__PURE__ */ l(ye, { disabled: !!s.disabled, value: s.value, "aria-label": s.value, children: /* @__PURE__ */ l(Ie, { children: s.icon }) }) }, s.value);
120
+ return t.filter((i) => !!i).map((i) => {
121
+ const n = (e?.mode?.options ?? ae.options.mode.options)[i.value];
122
+ return /* @__PURE__ */ l(he, { title: n, placement: "bottom", children: /* @__PURE__ */ l(ye, { disabled: !!i.disabled, value: i.value, "aria-label": i.value, children: /* @__PURE__ */ l(Ie, { children: i.icon }) }) }, i.value);
123
123
  });
124
124
  }
125
125
  function mt(t) {
126
126
  const e = F(7), {
127
- hasValues: s,
127
+ hasValues: i,
128
128
  labels: o
129
129
  } = t;
130
- if (s)
130
+ if (i)
131
131
  return null;
132
132
  const n = o?.title ?? ae.noData.title, r = o?.description ?? ae.noData.description;
133
- let i;
134
- e[0] !== n ? (i = /* @__PURE__ */ l(Q, { variant: "body1", color: "textSecondary", children: n }), e[0] = n, e[1] = i) : i = e[1];
133
+ let s;
134
+ e[0] !== n ? (s = /* @__PURE__ */ l(Q, { variant: "body1", color: "textSecondary", children: n }), e[0] = n, e[1] = s) : s = e[1];
135
135
  let a;
136
136
  e[2] !== r ? (a = /* @__PURE__ */ l(Q, { variant: "body2", color: "textSecondary", children: r }), e[2] = r, e[3] = a) : a = e[3];
137
137
  let c;
138
- return e[4] !== i || e[5] !== a ? (c = /* @__PURE__ */ $(ee, { children: [
139
- i,
138
+ return e[4] !== s || e[5] !== a ? (c = /* @__PURE__ */ $(ee, { children: [
139
+ s,
140
140
  a
141
- ] }), e[4] = i, e[5] = a, e[6] = c) : c = e[6], c;
141
+ ] }), e[4] = s, e[5] = a, e[6] = c) : c = e[6], c;
142
142
  }
143
143
  function ut(t) {
144
144
  const e = F(13), {
145
- values: s,
145
+ values: i,
146
146
  labels: o,
147
147
  onAllChipToggle: n,
148
148
  onAllDelete: r
149
149
  } = t;
150
- if (s.length <= 1)
150
+ if (i.length <= 1)
151
151
  return null;
152
- const a = s.some(ft) ? o?.toggleAll?.active ?? ae.actions.toggleAll.active : o?.toggleAll?.inactive ?? ae.actions.toggleAll.inactive, c = o?.deleteAll ?? ae.actions.deleteAll;
152
+ const a = i.some(ft) ? o?.toggleAll?.active ?? ae.actions.toggleAll.active : o?.toggleAll?.inactive ?? ae.actions.toggleAll.inactive, c = o?.deleteAll ?? ae.actions.deleteAll;
153
153
  let d;
154
154
  e[0] !== n ? (d = () => n(), e[0] = n, e[1] = d) : d = e[1];
155
155
  let m;
@@ -169,25 +169,25 @@ function ft(t) {
169
169
  }
170
170
  function pt(t) {
171
171
  const e = F(3);
172
- let s;
173
- e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (s = /* @__PURE__ */ l("path", { fill: "currentColor", d: "M3 13.5c-.413 0-.766-.147-1.06-.44A1.445 1.445 0 0 1 1.5 12V6c0-.412.147-.766.44-1.06.294-.293.647-.44 1.06-.44h12c.412 0 .766.147 1.06.44.293.294.44.647.44 1.06v6c0 .412-.147.766-.44 1.06-.294.293-.647.44-1.06.44H3ZM3 12h12V6h-2.25v3h-1.5V6h-1.5v3h-1.5V6h-1.5v3h-1.5V6H3v6Z" }), e[0] = s) : s = e[0];
172
+ let i;
173
+ e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (i = /* @__PURE__ */ l("path", { fill: "currentColor", d: "M3 13.5c-.413 0-.766-.147-1.06-.44A1.445 1.445 0 0 1 1.5 12V6c0-.412.147-.766.44-1.06.294-.293.647-.44 1.06-.44h12c.412 0 .766.147 1.06.44.293.294.44.647.44 1.06v6c0 .412-.147.766-.44 1.06-.294.293-.647.44-1.06.44H3ZM3 12h12V6h-2.25v3h-1.5V6h-1.5v3h-1.5V6h-1.5v3h-1.5V6H3v6Z" }), e[0] = i) : i = e[0];
174
174
  let o;
175
- return e[1] !== t ? (o = /* @__PURE__ */ l("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 18 18", fill: "currentColor", ...t, children: s }), e[1] = t, e[2] = o) : o = e[2], o;
175
+ return e[1] !== t ? (o = /* @__PURE__ */ l("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 18 18", fill: "currentColor", ...t, children: i }), e[1] = t, e[2] = o) : o = e[2], o;
176
176
  }
177
177
  function ht(t) {
178
178
  const e = F(3);
179
- let s;
180
- e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (s = /* @__PURE__ */ l("path", { fill: "currentColor", fillRule: "evenodd", d: "M9 1.5a7.5 7.5 0 1 1 0 15 7.5 7.5 0 0 1 0-15ZM9 3a6 6 0 1 0 0 12A6 6 0 0 0 9 3Zm0 4.5a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3Z", clipRule: "evenodd" }), e[0] = s) : s = e[0];
179
+ let i;
180
+ e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (i = /* @__PURE__ */ l("path", { fill: "currentColor", fillRule: "evenodd", d: "M9 1.5a7.5 7.5 0 1 1 0 15 7.5 7.5 0 0 1 0-15ZM9 3a6 6 0 1 0 0 12A6 6 0 0 0 9 3Zm0 4.5a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3Z", clipRule: "evenodd" }), e[0] = i) : i = e[0];
181
181
  let o;
182
- return e[1] !== t ? (o = /* @__PURE__ */ l("svg", { fill: "none", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 18 18", ...t, children: s }), e[1] = t, e[2] = o) : o = e[2], o;
182
+ return e[1] !== t ? (o = /* @__PURE__ */ l("svg", { fill: "none", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 18 18", ...t, children: i }), e[1] = t, e[2] = o) : o = e[2], o;
183
183
  }
184
184
  function gt(t) {
185
185
  const e = F(4);
186
- let s, o;
187
- e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (s = /* @__PURE__ */ l("path", { fill: "currentColor", fillRule: "evenodd", d: "M4.5 13.5v-9h9v9h-9Zm.75-8.25h7.5v7.5h-7.5v-7.5Z", clipRule: "evenodd" }), o = /* @__PURE__ */ l("path", { fill: "#2C3032", fillRule: "evenodd", d: "M1.5 3A1.5 1.5 0 0 1 3 1.5h12A1.5 1.5 0 0 1 16.5 3v12a1.5 1.5 0 0 1-1.5 1.5H3A1.5 1.5 0 0 1 1.5 15V3ZM3 3h12v12H3V3Z", clipRule: "evenodd" }), e[0] = s, e[1] = o) : (s = e[0], o = e[1]);
186
+ let i, o;
187
+ e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (i = /* @__PURE__ */ l("path", { fill: "currentColor", fillRule: "evenodd", d: "M4.5 13.5v-9h9v9h-9Zm.75-8.25h7.5v7.5h-7.5v-7.5Z", clipRule: "evenodd" }), o = /* @__PURE__ */ l("path", { fill: "#2C3032", fillRule: "evenodd", d: "M1.5 3A1.5 1.5 0 0 1 3 1.5h12A1.5 1.5 0 0 1 16.5 3v12a1.5 1.5 0 0 1-1.5 1.5H3A1.5 1.5 0 0 1 1.5 15V3ZM3 3h12v12H3V3Z", clipRule: "evenodd" }), e[0] = i, e[1] = o) : (i = e[0], o = e[1]);
188
188
  let n;
189
189
  return e[2] !== t ? (n = /* @__PURE__ */ $("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 18 18", ...t, children: [
190
- s,
190
+ i,
191
191
  o
192
192
  ] }), e[2] = t, e[3] = n) : n = e[3], n;
193
193
  }
@@ -408,11 +408,11 @@ const oe = {
408
408
  };
409
409
  function Kt(t) {
410
410
  const e = F(46), {
411
- enabled: s,
411
+ enabled: i,
412
412
  actionProps: o,
413
413
  labels: n,
414
414
  modes: r,
415
- modesMapping: i,
415
+ modesMapping: s,
416
416
  unitsMapping: a,
417
417
  modeSelected: c,
418
418
  PaperProps: d,
@@ -421,7 +421,7 @@ function Kt(t) {
421
421
  onActionToggle: f,
422
422
  onChangeMode: I,
423
423
  onChangeUnit: v
424
- } = t, k = n === void 0 ? oe : n, p = i === void 0 ? vt : i, g = a === void 0 ? bt : a;
424
+ } = t, k = n === void 0 ? oe : n, p = s === void 0 ? vt : s, g = a === void 0 ? bt : a;
425
425
  let S;
426
426
  e[0] !== d ? (S = d === void 0 ? {} : d, e[0] = d, e[1] = S) : S = e[1];
427
427
  let A, _;
@@ -460,7 +460,7 @@ function Kt(t) {
460
460
  }, e[23] = _, e[24] = E) : E = e[24];
461
461
  const R = k?.action, O = w?.icon;
462
462
  let W;
463
- e[25] !== o || e[26] !== s || e[27] !== D || e[28] !== R || e[29] !== O ? (W = /* @__PURE__ */ l(yt, { actionProps: o, labels: R, enabled: s, onActionToggle: D, children: O }), e[25] = o, e[26] = s, e[27] = D, e[28] = R, e[29] = O, e[30] = W) : W = e[30];
463
+ e[25] !== o || e[26] !== i || e[27] !== D || e[28] !== R || e[29] !== O ? (W = /* @__PURE__ */ l(yt, { actionProps: o, labels: R, enabled: i, onActionToggle: D, children: O }), e[25] = o, e[26] = i, e[27] = D, e[28] = R, e[29] = O, e[30] = W) : W = e[30];
464
464
  const G = k?.options;
465
465
  let j;
466
466
  e[31] !== V || e[32] !== h || e[33] !== b || e[34] !== I || e[35] !== v || e[36] !== G || e[37] !== u ? (j = /* @__PURE__ */ l(xt, { labels: G, modes: h, modeSelected: b, units: V, unitSelected: u, onChangeMode: I, onChangeUnit: v }), e[31] = V, e[32] = h, e[33] = b, e[34] = I, e[35] = v, e[36] = G, e[37] = u, e[38] = j) : j = e[38];
@@ -474,14 +474,14 @@ function Kt(t) {
474
474
  }
475
475
  function yt(t) {
476
476
  const e = F(12), {
477
- actionProps: s,
477
+ actionProps: i,
478
478
  labels: o,
479
479
  enabled: n,
480
480
  children: r,
481
- onActionToggle: i
482
- } = t, a = n ? "active" : "inactive", c = o?.tooltip?.[a] ?? oe.action.tooltip[a], d = s?.TooltipProps;
481
+ onActionToggle: s
482
+ } = t, a = n ? "active" : "inactive", c = o?.tooltip?.[a] ?? oe.action.tooltip[a], d = i?.TooltipProps;
483
483
  let m;
484
- e[0] !== n || e[1] !== i ? (m = () => i(!n), e[0] = n, e[1] = i, e[2] = m) : m = e[2];
484
+ e[0] !== n || e[1] !== s ? (m = () => s(!n), e[0] = n, e[1] = s, e[2] = m) : m = e[2];
485
485
  let u;
486
486
  e[3] !== c || e[4] !== r || e[5] !== n || e[6] !== m ? (u = /* @__PURE__ */ l(ye, { value: "toggle", sx: Y.actions.icon, onClick: m, "aria-label": c, selected: n, children: r }), e[3] = c, e[4] = r, e[5] = n, e[6] = m, e[7] = u) : u = e[7];
487
487
  let f;
@@ -489,16 +489,16 @@ function yt(t) {
489
489
  }
490
490
  function xt(t) {
491
491
  const e = F(41), {
492
- modes: s,
492
+ modes: i,
493
493
  modeSelected: o,
494
494
  units: n,
495
495
  unitSelected: r,
496
- labels: i,
496
+ labels: s,
497
497
  onChangeMode: a,
498
498
  onChangeUnit: c
499
499
  } = t, [d, m] = ne(null), [u, f] = ne(!1);
500
500
  let I;
501
- e[0] !== s ? (I = Object.values(s), e[0] = s, e[1] = I) : I = e[1];
501
+ e[0] !== i ? (I = Object.values(i), e[0] = i, e[1] = I) : I = e[1];
502
502
  const v = I;
503
503
  let k;
504
504
  e[2] !== n ? (k = Object.values(n), e[2] = n, e[3] = k) : k = e[3];
@@ -535,7 +535,7 @@ function xt(t) {
535
535
  e[10] !== c ? (x = (B) => {
536
536
  w(), c(B);
537
537
  }, e[10] = c, e[11] = x) : x = e[11];
538
- const Z = x, U = i?.mode?.title ?? oe.options.mode.title, L = i?.units?.title ?? oe.options.units.title, P = v.length > 1 && p.length > 1;
538
+ const Z = x, U = s?.mode?.title ?? oe.options.mode.title, L = s?.units?.title ?? oe.options.units.title, P = v.length > 1 && p.length > 1;
539
539
  let V;
540
540
  e[12] !== r || e[13] !== n ? (V = n.find((B) => B.value === r) ?? n[0], e[12] = r, e[13] = n, e[14] = V) : V = e[14];
541
541
  const E = V;
@@ -547,26 +547,26 @@ function xt(t) {
547
547
  sx: Y.options.menu
548
548
  }, e[16] = O) : O = e[16];
549
549
  let W;
550
- e[17] !== h || e[18] !== i?.mode?.options || e[19] !== o || e[20] !== U || e[21] !== v ? (W = v.length > 1 && /* @__PURE__ */ $(ee, { children: [
550
+ e[17] !== h || e[18] !== s?.mode?.options || e[19] !== o || e[20] !== U || e[21] !== v ? (W = v.length > 1 && /* @__PURE__ */ $(ee, { children: [
551
551
  /* @__PURE__ */ l(Q, { variant: "subtitle2", color: "text.secondary", sx: Y.options.title, children: U }),
552
552
  v.map((B) => {
553
- const X = (i?.mode?.options ?? oe.options.mode.options)[B.value];
553
+ const X = (s?.mode?.options ?? oe.options.mode.options)[B.value];
554
554
  return /* @__PURE__ */ $(Te, { onClick: (te) => h(te, B), selected: B.value === o, children: [
555
555
  /* @__PURE__ */ l(Ve, { sx: Y.options.icons, children: /* @__PURE__ */ l(Ie, { children: B.icon }) }),
556
556
  /* @__PURE__ */ l(Se, { children: X })
557
557
  ] }, B.value);
558
558
  })
559
- ] }), e[17] = h, e[18] = i?.mode?.options, e[19] = o, e[20] = U, e[21] = v, e[22] = W) : W = e[22];
559
+ ] }), e[17] = h, e[18] = s?.mode?.options, e[19] = o, e[20] = U, e[21] = v, e[22] = W) : W = e[22];
560
560
  let G;
561
561
  e[23] !== P ? (G = P && /* @__PURE__ */ l(fe, {}), e[23] = P, e[24] = G) : G = e[24];
562
562
  let j;
563
- e[25] !== Z || e[26] !== i || e[27] !== u || e[28] !== E || e[29] !== L || e[30] !== n || e[31] !== p.length ? (j = p.length > 1 && /* @__PURE__ */ $(ee, { children: [
563
+ e[25] !== Z || e[26] !== s || e[27] !== u || e[28] !== E || e[29] !== L || e[30] !== n || e[31] !== p.length ? (j = p.length > 1 && /* @__PURE__ */ $(ee, { children: [
564
564
  /* @__PURE__ */ $(Te, { onClick: y, children: [
565
565
  /* @__PURE__ */ l(Se, { children: L }),
566
566
  /* @__PURE__ */ l(Q, { variant: "caption", fontWeight: 500, sx: Y.options.tag, children: E.short })
567
567
  ] }),
568
- /* @__PURE__ */ l(St, { open: u, labels: i, units: n, unitSelectedValue: E, onClose: w, onSubmit: Z })
569
- ] }), e[25] = Z, e[26] = i, e[27] = u, e[28] = E, e[29] = L, e[30] = n, e[31] = p.length, e[32] = j) : j = e[32];
568
+ /* @__PURE__ */ l(St, { open: u, labels: s, units: n, unitSelectedValue: E, onClose: w, onSubmit: Z })
569
+ ] }), e[25] = Z, e[26] = s, e[27] = u, e[28] = E, e[29] = L, e[30] = n, e[31] = p.length, e[32] = j) : j = e[32];
570
570
  let N;
571
571
  e[33] !== W || e[34] !== G || e[35] !== j ? (N = /* @__PURE__ */ $("div", { children: [
572
572
  W,
@@ -581,11 +581,11 @@ function xt(t) {
581
581
  }
582
582
  function St(t) {
583
583
  const e = F(48), {
584
- open: s,
584
+ open: i,
585
585
  labels: o,
586
586
  units: n,
587
587
  unitSelectedValue: r,
588
- onClose: i,
588
+ onClose: s,
589
589
  onSubmit: a
590
590
  } = t, [c, d] = ne("metric");
591
591
  let m;
@@ -612,7 +612,7 @@ function St(t) {
612
612
  let C;
613
613
  e[8] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (C = /* @__PURE__ */ l(Re, {}), e[8] = C) : C = e[8];
614
614
  let D;
615
- e[9] !== i ? (D = /* @__PURE__ */ l(re, { onClick: i, children: C }), e[9] = i, e[10] = D) : D = e[10];
615
+ e[9] !== s ? (D = /* @__PURE__ */ l(re, { onClick: s, children: C }), e[9] = s, e[10] = D) : D = e[10];
616
616
  let M;
617
617
  e[11] !== p || e[12] !== D ? (M = /* @__PURE__ */ $(We, { sx: Y.options.modal.title, children: [
618
618
  p,
@@ -652,11 +652,11 @@ function St(t) {
652
652
  let V;
653
653
  e[39] !== S ? (V = /* @__PURE__ */ l(He, { sx: Y.options.modal.actions, children: /* @__PURE__ */ l(xe, { variant: "contained", type: "submit", children: S }) }), e[39] = S, e[40] = V) : V = e[40];
654
654
  let E;
655
- return e[41] !== i || e[42] !== s || e[43] !== P || e[44] !== V || e[45] !== _ || e[46] !== M ? (E = /* @__PURE__ */ $(Xe, { open: s, component: q, onClose: i, maxWidth: "xs", PaperProps: _, children: [
655
+ return e[41] !== s || e[42] !== i || e[43] !== P || e[44] !== V || e[45] !== _ || e[46] !== M ? (E = /* @__PURE__ */ $(Xe, { open: i, component: q, onClose: s, maxWidth: "xs", PaperProps: _, children: [
656
656
  M,
657
657
  P,
658
658
  V
659
- ] }), e[41] = i, e[42] = s, e[43] = P, e[44] = V, e[45] = _, e[46] = M, e[47] = E) : E = e[47], E;
659
+ ] }), e[41] = s, e[42] = i, e[43] = P, e[44] = V, e[45] = _, e[46] = M, e[47] = E) : E = e[47], E;
660
660
  }
661
661
  const Ct = {
662
662
  enabled: "Show your current location",
@@ -664,11 +664,11 @@ const Ct = {
664
664
  }, wt = "geolocation";
665
665
  function Yt(t) {
666
666
  const e = F(25), {
667
- disabled: s,
667
+ disabled: i,
668
668
  labels: o,
669
669
  PaperProps: n,
670
670
  TooltipProps: r,
671
- watch: i,
671
+ watch: s,
672
672
  onChange: a,
673
673
  onError: c
674
674
  } = t, d = Pe(null), m = "geolocation" in navigator, [u, f] = ne(m);
@@ -695,14 +695,14 @@ function Yt(t) {
695
695
  }, e[5] = c, e[6] = g) : g = e[6];
696
696
  const S = g;
697
697
  let A;
698
- e[7] !== S || e[8] !== p || e[9] !== i ? (A = () => {
699
- if (d.current && navigator.geolocation.clearWatch(d.current), i) {
698
+ e[7] !== S || e[8] !== p || e[9] !== s ? (A = () => {
699
+ if (d.current && navigator.geolocation.clearWatch(d.current), s) {
700
700
  d.current = navigator.geolocation.watchPosition(p, S);
701
701
  return;
702
702
  }
703
703
  navigator.geolocation.getCurrentPosition(p, S);
704
- }, e[7] = S, e[8] = p, e[9] = i, e[10] = A) : A = e[10];
705
- const _ = A, D = (o?.tooltip ?? Ct)[u ? "enabled" : "disabled"], M = o?.ariaLabel ?? wt, h = !m || s;
704
+ }, e[7] = S, e[8] = p, e[9] = s, e[10] = A) : A = e[10];
705
+ const _ = A, D = (o?.tooltip ?? Ct)[u ? "enabled" : "disabled"], M = o?.ariaLabel ?? wt, h = !m || i;
706
706
  let T;
707
707
  e[11] !== u ? (T = u ? /* @__PURE__ */ l(nt, {}) : /* @__PURE__ */ l(it, {}), e[11] = u, e[12] = T) : T = e[12];
708
708
  let y;
@@ -746,11 +746,11 @@ const _e = {
746
746
  };
747
747
  function Qt(t) {
748
748
  const e = F(40), {
749
- zoom: s,
749
+ zoom: i,
750
750
  disabled: o,
751
751
  direction: n,
752
752
  reverse: r,
753
- isLoading: i,
753
+ isLoading: s,
754
754
  maxZoom: a,
755
755
  minZoom: c,
756
756
  PaperProps: d,
@@ -765,17 +765,17 @@ function Qt(t) {
765
765
  } : m, e[0] = m, e[1] = S) : S = e[1];
766
766
  const A = S, _ = u === void 0 ? !0 : u;
767
767
  let C;
768
- e[2] !== p || e[3] !== f || e[4] !== s ? (C = () => {
769
- const O = Math.min(p, s + 1);
768
+ e[2] !== p || e[3] !== f || e[4] !== i ? (C = () => {
769
+ const O = Math.min(p, i + 1);
770
770
  f(O);
771
- }, e[2] = p, e[3] = f, e[4] = s, e[5] = C) : C = e[5];
771
+ }, e[2] = p, e[3] = f, e[4] = i, e[5] = C) : C = e[5];
772
772
  const D = C;
773
773
  let M;
774
- e[6] !== g || e[7] !== f || e[8] !== s ? (M = () => {
775
- const O = Math.max(g, s - 1);
774
+ e[6] !== g || e[7] !== f || e[8] !== i ? (M = () => {
775
+ const O = Math.max(g, i - 1);
776
776
  f(O);
777
- }, e[6] = g, e[7] = f, e[8] = s, e[9] = M) : M = e[9];
778
- const h = M, T = Math.floor(s), y = v === "vertical" ? "horizontal" : "vertical";
777
+ }, e[6] = g, e[7] = f, e[8] = i, e[9] = M) : M = e[9];
778
+ const h = M, T = Math.floor(i), y = v === "vertical" ? "horizontal" : "vertical";
779
779
  let b = v === "vertical" ? "column" : "row";
780
780
  k && (b = b + "-reverse");
781
781
  let w;
@@ -795,13 +795,13 @@ function Qt(t) {
795
795
  let L;
796
796
  e[21] !== y ? (L = /* @__PURE__ */ l(fe, { orientation: y, flexItem: !0 }), e[21] = y, e[22] = L) : L = e[22];
797
797
  let P;
798
- e[23] !== T || e[24] !== y || e[25] !== i || e[26] !== _ ? (P = _ && /* @__PURE__ */ $(ee, { children: [
798
+ e[23] !== T || e[24] !== y || e[25] !== s || e[26] !== _ ? (P = _ && /* @__PURE__ */ $(ee, { children: [
799
799
  /* @__PURE__ */ $(q, { sx: _e.zoom, children: [
800
800
  /* @__PURE__ */ l(Q, { display: "block", align: "center", color: "textSecondary", variant: "overline", children: T }),
801
- i && /* @__PURE__ */ l(qe, { sx: _e.circularProgress, variant: "indeterminate", size: 24 })
801
+ s && /* @__PURE__ */ l(qe, { sx: _e.circularProgress, variant: "indeterminate", size: 24 })
802
802
  ] }),
803
803
  /* @__PURE__ */ l(fe, { orientation: y, flexItem: !0 })
804
- ] }), e[23] = T, e[24] = y, e[25] = i, e[26] = _, e[27] = P) : P = e[27];
804
+ ] }), e[23] = T, e[24] = y, e[25] = s, e[26] = _, e[27] = P) : P = e[27];
805
805
  let V;
806
806
  e[28] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (V = /* @__PURE__ */ l(at, {}), e[28] = V) : V = e[28];
807
807
  let E;
@@ -817,8 +817,8 @@ function Qt(t) {
817
817
  }
818
818
  function _t(t) {
819
819
  const e = F(4), {
820
- length: s
821
- } = t, o = s === void 0 ? 5 : s;
820
+ length: i
821
+ } = t, o = i === void 0 ? 5 : i;
822
822
  let n;
823
823
  e[0] !== o ? (n = new Array(o).fill(null).map(Mt), e[0] = o, e[1] = n) : n = e[1];
824
824
  let r;
@@ -861,20 +861,20 @@ function Dt(t) {
861
861
  }
862
862
  function It(t) {
863
863
  const e = F(13), {
864
- title: s,
864
+ title: i,
865
865
  body: o,
866
866
  severity: n
867
- } = t, r = s === void 0 ? "No data available" : s, i = o === void 0 ? "There are no results for the combination of filters applied to your data. Try tweaking your filters, or zoom and pan the map to adjust the Map View." : o;
867
+ } = t, r = i === void 0 ? "No data available" : i, s = o === void 0 ? "There are no results for the combination of filters applied to your data. Try tweaking your filters, or zoom and pan the map to adjust the Map View." : o;
868
868
  if (n) {
869
869
  let m;
870
- e[0] !== i ? (m = /* @__PURE__ */ l(ke, { children: i }), e[0] = i, e[1] = m) : m = e[1];
870
+ e[0] !== s ? (m = /* @__PURE__ */ l(ke, { children: s }), e[0] = s, e[1] = m) : m = e[1];
871
871
  let u;
872
872
  return e[2] !== n || e[3] !== m || e[4] !== r ? (u = /* @__PURE__ */ l(Ke, { title: r, severity: n, children: m }), e[2] = n, e[3] = m, e[4] = r, e[5] = u) : u = e[5], u;
873
873
  }
874
874
  let a;
875
875
  e[6] !== r ? (a = r && /* @__PURE__ */ l(Q, { variant: "body2", children: r }), e[6] = r, e[7] = a) : a = e[7];
876
876
  let c;
877
- e[8] !== i ? (c = /* @__PURE__ */ l(ke, { color: "textSecondary", children: i }), e[8] = i, e[9] = c) : c = e[9];
877
+ e[8] !== s ? (c = /* @__PURE__ */ l(ke, { color: "textSecondary", children: s }), e[8] = s, e[9] = c) : c = e[9];
878
878
  let d;
879
879
  return e[10] !== a || e[11] !== c ? (d = /* @__PURE__ */ $(q, { children: [
880
880
  a,
@@ -883,26 +883,26 @@ function It(t) {
883
883
  }
884
884
  function ke(t) {
885
885
  const e = F(5), {
886
- color: s,
886
+ color: i,
887
887
  children: o
888
888
  } = t;
889
889
  if (o) {
890
- const r = s ?? "inherit";
891
- let i;
892
- e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (i = {
890
+ const r = i ?? "inherit";
891
+ let s;
892
+ e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (s = {
893
893
  fontWeight: "normal"
894
- }, e[0] = i) : i = e[0];
894
+ }, e[0] = s) : s = e[0];
895
895
  let a;
896
- return e[1] !== o || e[2] !== r ? (a = /* @__PURE__ */ l(q, { mt: 0.5, children: /* @__PURE__ */ l(Q, { component: "div", variant: "caption", color: r, style: i, children: o }) }), e[1] = o, e[2] = r, e[3] = a) : a = e[3], a;
896
+ return e[1] !== o || e[2] !== r ? (a = /* @__PURE__ */ l(q, { mt: 0.5, children: /* @__PURE__ */ l(Q, { component: "div", variant: "caption", color: r, style: s, children: o }) }), e[1] = o, e[2] = r, e[3] = a) : a = e[3], a;
897
897
  }
898
898
  let n;
899
899
  return e[4] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (n = /* @__PURE__ */ l(q, { mt: -1 }), e[4] = n) : n = e[4], n;
900
900
  }
901
901
  function Lt(t) {
902
902
  const e = F(2);
903
- let s;
904
- e[0] !== t ? (s = () => t ? 1 : 0, e[0] = t, e[1] = s) : s = e[1];
905
- const [o, n] = ne(s);
903
+ let i;
904
+ e[0] !== t ? (i = () => t ? 1 : 0, e[0] = t, e[1] = i) : i = e[1];
905
+ const [o, n] = ne(i);
906
906
  return t && o === 0 && n(1), !t && o === 1 && n(2), o === 1;
907
907
  }
908
908
  const De = {
@@ -949,19 +949,19 @@ const De = {
949
949
  };
950
950
  function Jt(t) {
951
951
  const e = F(34), {
952
- data: s,
952
+ data: i,
953
953
  isLoading: o,
954
954
  maxItems: n,
955
955
  labels: r,
956
- showDivider: i,
956
+ showDivider: s,
957
957
  selectedItemId: a,
958
958
  tooltipProps: c,
959
959
  onExpand: d,
960
960
  onItemClick: m
961
961
  } = t;
962
962
  let u;
963
- e[0] !== s ? (u = s === void 0 ? [] : s, e[0] = s, e[1] = u) : u = e[1];
964
- const f = u, I = o === void 0 ? !1 : o, v = n === void 0 ? 5 : n, k = r === void 0 ? Pt : r, p = i === void 0 ? !0 : i, [g, S] = ne(!1), A = Lt(I);
963
+ e[0] !== i ? (u = i === void 0 ? [] : i, e[0] = i, e[1] = u) : u = e[1];
964
+ const f = u, I = o === void 0 ? !1 : o, v = n === void 0 ? 5 : n, k = r === void 0 ? Pt : r, p = s === void 0 ? !0 : s, [g, S] = ne(!1), A = Lt(I);
965
965
  let _;
966
966
  e[2] !== f || e[3] !== v || e[4] !== g ? (_ = g ? f : f.slice(0, v), e[2] = f, e[3] = v, e[4] = g, e[5] = _) : _ = e[5];
967
967
  const C = _;
@@ -1123,42 +1123,42 @@ const Ot = 288, ce = {
1123
1123
  };
1124
1124
  function Et(t) {
1125
1125
  const e = F(6), {
1126
- isMobile: s,
1126
+ isMobile: i,
1127
1127
  labels: o,
1128
1128
  onChangeCollapsed: n
1129
- } = t, r = s === void 0 ? !1 : s;
1130
- let i;
1131
- e[0] !== r || e[1] !== o || e[2] !== n ? (i = r && /* @__PURE__ */ $(ee, { children: [
1129
+ } = t, r = i === void 0 ? !1 : i;
1130
+ let s;
1131
+ e[0] !== r || e[1] !== o || e[2] !== n ? (s = r && /* @__PURE__ */ $(ee, { children: [
1132
1132
  /* @__PURE__ */ l(Q, { variant: "caption", flexGrow: 1, children: o.title }),
1133
1133
  /* @__PURE__ */ l(he, { title: o.actions.close, children: /* @__PURE__ */ l(re, { size: "small", onClick: n, "aria-label": o.actions.close, children: /* @__PURE__ */ l(Re, {}) }) })
1134
- ] }), e[0] = r, e[1] = o, e[2] = n, e[3] = i) : i = e[3];
1134
+ ] }), e[0] = r, e[1] = o, e[2] = n, e[3] = s) : s = e[3];
1135
1135
  let a;
1136
- return e[4] !== i ? (a = /* @__PURE__ */ l(q, { sx: ce.header, children: i }), e[4] = i, e[5] = a) : a = e[5], a;
1136
+ return e[4] !== s ? (a = /* @__PURE__ */ l(q, { sx: ce.header, children: s }), e[4] = s, e[5] = a) : a = e[5], a;
1137
1137
  }
1138
1138
  function $t(t) {
1139
1139
  const e = F(5), {
1140
- title: s,
1140
+ title: i,
1141
1141
  children: o,
1142
1142
  collapsed: n
1143
1143
  } = t;
1144
1144
  if (n === void 0 ? !1 : n)
1145
1145
  return o;
1146
- let i;
1147
- e[0] !== s ? (i = /* @__PURE__ */ l(Q, { variant: "caption", color: "textSecondary", sx: ce.groupWrapper.content, children: s }), e[0] = s, e[1] = i) : i = e[1];
1146
+ let s;
1147
+ e[0] !== i ? (s = /* @__PURE__ */ l(Q, { variant: "caption", color: "textSecondary", sx: ce.groupWrapper.content, children: i }), e[0] = i, e[1] = s) : s = e[1];
1148
1148
  let a;
1149
- return e[2] !== o || e[3] !== i ? (a = /* @__PURE__ */ $(ee, { children: [
1150
- i,
1149
+ return e[2] !== o || e[3] !== s ? (a = /* @__PURE__ */ $(ee, { children: [
1150
+ s,
1151
1151
  o
1152
- ] }), e[2] = o, e[3] = i, e[4] = a) : a = e[4], a;
1152
+ ] }), e[2] = o, e[3] = s, e[4] = a) : a = e[4], a;
1153
1153
  }
1154
1154
  function Bt(t) {
1155
1155
  const e = F(9), {
1156
- values: s,
1156
+ values: i,
1157
1157
  selected: o,
1158
1158
  onChange: n
1159
1159
  } = t;
1160
1160
  let r;
1161
- if (e[0] !== n || e[1] !== o || e[2] !== s) {
1161
+ if (e[0] !== n || e[1] !== o || e[2] !== i) {
1162
1162
  let a;
1163
1163
  e[4] !== n || e[5] !== o ? (a = (c) => {
1164
1164
  const d = c.id === o;
@@ -1168,19 +1168,19 @@ function Bt(t) {
1168
1168
  ...d && ce.item.selected
1169
1169
  }, children: c.label })
1170
1170
  ] }, c.id);
1171
- }, e[4] = n, e[5] = o, e[6] = a) : a = e[6], r = s.map(a), e[0] = n, e[1] = o, e[2] = s, e[3] = r;
1171
+ }, e[4] = n, e[5] = o, e[6] = a) : a = e[6], r = i.map(a), e[0] = n, e[1] = o, e[2] = i, e[3] = r;
1172
1172
  } else
1173
1173
  r = e[3];
1174
- let i;
1175
- return e[7] !== r ? (i = /* @__PURE__ */ l(q, { sx: ce.group, children: r }), e[7] = r, e[8] = i) : i = e[8], i;
1174
+ let s;
1175
+ return e[7] !== r ? (s = /* @__PURE__ */ l(q, { sx: ce.group, children: r }), e[7] = r, e[8] = s) : s = e[8], s;
1176
1176
  }
1177
1177
  function Ut(t) {
1178
1178
  const e = F(21), {
1179
- ref: s,
1179
+ ref: i,
1180
1180
  children: o,
1181
1181
  collapsed: n,
1182
1182
  isMobile: r,
1183
- position: i,
1183
+ position: s,
1184
1184
  sx: a,
1185
1185
  slotProps: c,
1186
1186
  onChangeCollapsed: d
@@ -1193,32 +1193,32 @@ function Ut(t) {
1193
1193
  const u = !n;
1194
1194
  let f;
1195
1195
  e[4] !== d ? (f = () => d(!0), e[4] = d, e[5] = f) : f = e[5];
1196
- const I = i.startsWith("bottom") ? "bottom" : "top", v = i.endsWith("right") ? "left" : "right";
1196
+ const I = s.startsWith("bottom") ? "bottom" : "top", v = s.endsWith("right") ? "left" : "right";
1197
1197
  let k;
1198
1198
  e[6] !== I || e[7] !== v ? (k = {
1199
1199
  vertical: I,
1200
1200
  horizontal: v
1201
1201
  }, e[6] = I, e[7] = v, e[8] = k) : k = e[8];
1202
- const p = i.startsWith("bottom") ? "bottom" : "top", g = i.endsWith("right") ? "right" : "left";
1202
+ const p = s.startsWith("bottom") ? "bottom" : "top", g = s.endsWith("right") ? "right" : "left";
1203
1203
  let S;
1204
1204
  e[9] !== p || e[10] !== g ? (S = {
1205
1205
  vertical: p,
1206
1206
  horizontal: g
1207
1207
  }, e[9] = p, e[10] = g, e[11] = S) : S = e[11];
1208
1208
  let A;
1209
- return e[12] !== o || e[13] !== s || e[14] !== c || e[15] !== a || e[16] !== u || e[17] !== f || e[18] !== k || e[19] !== S ? (A = /* @__PURE__ */ l(et, { sx: a, anchorEl: s, open: u, onClose: f, anchorOrigin: k, transformOrigin: S, slotProps: c, children: o }), e[12] = o, e[13] = s, e[14] = c, e[15] = a, e[16] = u, e[17] = f, e[18] = k, e[19] = S, e[20] = A) : A = e[20], A;
1209
+ return e[12] !== o || e[13] !== i || e[14] !== c || e[15] !== a || e[16] !== u || e[17] !== f || e[18] !== k || e[19] !== S ? (A = /* @__PURE__ */ l(et, { sx: a, anchorEl: i, open: u, onClose: f, anchorOrigin: k, transformOrigin: S, slotProps: c, children: o }), e[12] = o, e[13] = i, e[14] = c, e[15] = a, e[16] = u, e[17] = f, e[18] = k, e[19] = S, e[20] = A) : A = e[20], A;
1210
1210
  }
1211
1211
  function el(t) {
1212
1212
  const e = F(56), {
1213
- options: s,
1213
+ options: i,
1214
1214
  labels: o,
1215
1215
  position: n,
1216
1216
  selected: r,
1217
- onChange: i,
1217
+ onChange: s,
1218
1218
  TooltipProps: a
1219
1219
  } = t;
1220
1220
  let c;
1221
- e[0] !== s ? (c = s === void 0 ? [] : s, e[0] = s, e[1] = c) : c = e[1];
1221
+ e[0] !== i ? (c = i === void 0 ? [] : i, e[0] = i, e[1] = c) : c = e[1];
1222
1222
  const d = c, m = n === void 0 ? "bottom-right" : n, u = r === void 0 ? null : r, [f, I] = ne(null), [v, k] = ne(!1), p = Pe(null), [g, S] = ne(null), A = tt();
1223
1223
  let _;
1224
1224
  e[2] !== A.breakpoints ? (_ = A.breakpoints.down("sm"), e[2] = A.breakpoints, e[3] = _) : _ = e[3];
@@ -1296,12 +1296,12 @@ function el(t) {
1296
1296
  let ie;
1297
1297
  e[38] !== w ? (ie = Object.entries(w), e[38] = w, e[39] = ie) : ie = e[39];
1298
1298
  let de;
1299
- e[40] !== Z || e[41] !== h.header || e[42] !== i || e[43] !== u || e[44] !== ie ? (de = ie.map((se) => {
1299
+ e[40] !== Z || e[41] !== h.header || e[42] !== s || e[43] !== u || e[44] !== ie ? (de = ie.map((se) => {
1300
1300
  const [be, Ee] = se;
1301
1301
  return /* @__PURE__ */ l($t, { title: be + " " + h.header.title, collapsed: Z < 2, children: /* @__PURE__ */ l(Bt, { values: Ee, selected: u, onChange: ($e) => {
1302
- L(), i($e);
1302
+ L(), s($e);
1303
1303
  } }) }, be);
1304
- }), e[40] = Z, e[41] = h.header, e[42] = i, e[43] = u, e[44] = ie, e[45] = de) : de = e[45];
1304
+ }), e[40] = Z, e[41] = h.header, e[42] = s, e[43] = u, e[44] = ie, e[45] = de) : de = e[45];
1305
1305
  let me;
1306
1306
  e[46] !== C || e[47] !== m || e[48] !== X || e[49] !== te || e[50] !== K || e[51] !== de ? (me = /* @__PURE__ */ $(Ut, { ref: f, slotProps: X, collapsed: te, position: m, isMobile: C, onChangeCollapsed: J, children: [
1307
1307
  K,