@carto/ps-react-ui 4.4.0-chat-ui.1 → 4.4.0-chat-ui.3

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 (42) hide show
  1. package/dist/chat.js +1123 -393
  2. package/dist/chat.js.map +1 -1
  3. package/dist/components.js +141 -159
  4. package/dist/components.js.map +1 -1
  5. package/dist/copy-button-DGL1tyli.js +26 -0
  6. package/dist/copy-button-DGL1tyli.js.map +1 -0
  7. package/dist/index-BnyeR7Qx.js +6601 -0
  8. package/dist/index-BnyeR7Qx.js.map +1 -0
  9. package/dist/types/chat/const.d.ts +1 -0
  10. package/dist/types/chat/containers/styles.d.ts +6 -0
  11. package/dist/types/chat/feedback/chat-tool-code-area.d.ts +4 -0
  12. package/dist/types/chat/feedback/chat-tool-full-view-dialog.d.ts +2 -0
  13. package/dist/types/chat/feedback/chat-tool-group.d.ts +2 -0
  14. package/dist/types/chat/feedback/chat-tool-trace.d.ts +3 -0
  15. package/dist/types/chat/feedback/get-tool-label.d.ts +2 -0
  16. package/dist/types/chat/feedback/index.d.ts +4 -1
  17. package/dist/types/chat/feedback/styles.d.ts +149 -3
  18. package/dist/types/chat/index.d.ts +6 -3
  19. package/dist/types/chat/types.d.ts +58 -5
  20. package/dist/widgets/toolbar-actions.js +101 -6693
  21. package/dist/widgets/toolbar-actions.js.map +1 -1
  22. package/package.json +1 -1
  23. package/src/chat/bubbles/styles.ts +42 -0
  24. package/src/chat/const.ts +1 -0
  25. package/src/chat/containers/styles.ts +6 -0
  26. package/src/chat/feedback/chat-tool-code-area.test.tsx +23 -0
  27. package/src/chat/feedback/chat-tool-code-area.tsx +71 -0
  28. package/src/chat/feedback/chat-tool-full-view-dialog.test.tsx +39 -0
  29. package/src/chat/feedback/chat-tool-full-view-dialog.tsx +121 -0
  30. package/src/chat/feedback/chat-tool-group.test.tsx +84 -0
  31. package/src/chat/feedback/chat-tool-group.tsx +156 -0
  32. package/src/chat/feedback/chat-tool-trace.test.tsx +81 -0
  33. package/src/chat/feedback/chat-tool-trace.tsx +187 -0
  34. package/src/chat/feedback/get-tool-label.test.tsx +91 -0
  35. package/src/chat/feedback/get-tool-label.ts +13 -0
  36. package/src/chat/feedback/index.ts +4 -1
  37. package/src/chat/feedback/styles.ts +153 -4
  38. package/src/chat/index.ts +14 -3
  39. package/src/chat/types.ts +64 -5
  40. package/dist/types/chat/feedback/chat-tools.d.ts +0 -2
  41. package/src/chat/feedback/chat-tools.test.tsx +0 -23
  42. package/src/chat/feedback/chat-tools.tsx +0 -54
@@ -1,17 +1,17 @@
1
1
  import { s as be, L as Be, a as re } from "./lasso-tool-BYbxrJ-7.js";
2
- import { D as fo, b as ho, c as go, d as bo, e as vo, f as yo, S as xo } from "./lasso-tool-BYbxrJ-7.js";
2
+ import { D as co, b as mo, c as uo, d as po, e as fo, f as ho, S as go } from "./lasso-tool-BYbxrJ-7.js";
3
3
  import { jsxs as E, Fragment as J, jsx as o } from "react/jsx-runtime";
4
4
  import { c as F } from "react/compiler-runtime";
5
- import { Divider as ue, Box as Y, ToggleButton as ve, SvgIcon as De, ToggleButtonGroup as Ie, Typography as Q, Button as ye, alpha as $e, Paper as Se, MenuItem as Me, ListItemIcon as Ue, ListItemText as xe, IconButton as le, Menu as Ve, DialogTitle as Ze, FormControlLabel as We, Radio as je, RadioGroup as Fe, FormControl as Ne, DialogContent as ze, DialogActions as Ge, Dialog as He, CircularProgress as Ye, Grid as pe, Skeleton as Ce, Alert as Xe, ListItem as qe, List as Ke, Drawer as Qe, Popover as Je, useTheme as et, useMediaQuery as tt } from "@mui/material";
5
+ import { Divider as ue, Box as Y, ToggleButton as ve, SvgIcon as De, ToggleButtonGroup as Ie, Typography as Q, Button as ye, alpha as $e, Paper as Se, MenuItem as Me, ListItemIcon as Ue, ListItemText as xe, IconButton as ie, Menu as Ve, DialogTitle as Ze, FormControlLabel as We, Radio as je, RadioGroup as Fe, FormControl as Ne, DialogContent as Ge, DialogActions as ze, Dialog as He, CircularProgress as Ye, Grid as pe, Skeleton as Ce, Alert as Xe, ListItem as qe, List as Ke, Drawer as Qe, Popover as Je, useTheme as et, useMediaQuery as tt } from "@mui/material";
6
6
  import { useState as se, useRef as Le, useReducer as ot, useEffect as Pe } from "react";
7
7
  import { d as we } from "./cjs-D4KH3azB.js";
8
8
  import { T as fe } from "./tooltip-BDnrRKrp.js";
9
- import { s as Co } from "./tooltip-BDnrRKrp.js";
10
- import { ArrowDropDown as lt, Close as Oe, MyLocationOutlined as nt, LocationDisabledOutlined as it, CropFreeOutlined as st, AddOutlined as rt, RemoveOutlined as at, ContentCopyOutlined as ct } from "@mui/icons-material";
11
- import { S as dt } from "./smart-tooltip-D4vwQpFf.js";
12
- import { copy as mt } from "@carto/ps-utils";
13
- const ut = [], pt = {};
14
- function no(t) {
9
+ import { s as vo } from "./tooltip-BDnrRKrp.js";
10
+ import { ArrowDropDown as lt, Close as Oe, MyLocationOutlined as nt, LocationDisabledOutlined as it, CropFreeOutlined as st, AddOutlined as rt, RemoveOutlined as at } from "@mui/icons-material";
11
+ import { S as ct } from "./smart-tooltip-D4vwQpFf.js";
12
+ import { C as xo } from "./copy-button-DGL1tyli.js";
13
+ const dt = [], mt = {};
14
+ function to(t) {
15
15
  const e = F(55), {
16
16
  enabled: s,
17
17
  values: l,
@@ -26,7 +26,7 @@ function no(t) {
26
26
  onChangeMode: f,
27
27
  onAllChipToggle: v,
28
28
  onAllDelete: w
29
- } = t, h = l === void 0 ? ut : l, g = m === void 0 ? pt : m;
29
+ } = t, h = l === void 0 ? dt : l, g = m === void 0 ? mt : m;
30
30
  let L, M;
31
31
  e[0] !== g ? ({
32
32
  sx: M,
@@ -44,8 +44,8 @@ function no(t) {
44
44
  e[9] !== u ? (b = (q) => u(q), e[9] = u, e[10] = b) : b = e[10];
45
45
  const _ = b;
46
46
  let T;
47
- e[11] !== f ? (T = (q, ne) => {
48
- q.preventDefault(), f?.(ne);
47
+ e[11] !== f ? (T = (q, le) => {
48
+ q.preventDefault(), f?.(le);
49
49
  }, e[11] = f, e[12] = T) : T = e[12];
50
50
  const S = T, I = (c ?? "") in i ? c : Object.keys(y)[0], D = s ? y[I] : null;
51
51
  let O;
@@ -72,28 +72,28 @@ function no(t) {
72
72
  A,
73
73
  B
74
74
  ] }), e[24] = S, e[25] = V, e[26] = A, e[27] = B, e[28] = W) : W = e[28];
75
- let z;
76
- e[29] !== U || e[30] !== W || e[31] !== R ? (z = /* @__PURE__ */ o(ft, { data: U, labels: R, children: W }), e[29] = U, e[30] = W, e[31] = R, e[32] = z) : z = e[32];
75
+ let G;
76
+ e[29] !== U || e[30] !== W || e[31] !== R ? (G = /* @__PURE__ */ o(ut, { data: U, labels: R, children: W }), e[29] = U, e[30] = W, e[31] = R, e[32] = G) : G = e[32];
77
77
  let N;
78
78
  e[33] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (N = /* @__PURE__ */ o(ue, { flexItem: !0 }), e[33] = N) : N = e[33];
79
- const j = !!h.length, G = r?.noData;
79
+ const j = !!h.length, z = r?.noData;
80
80
  let $;
81
- e[34] !== j || e[35] !== G ? ($ = /* @__PURE__ */ o(ht, { hasValues: j, labels: G }), e[34] = j, e[35] = G, e[36] = $) : $ = e[36];
81
+ e[34] !== j || e[35] !== z ? ($ = /* @__PURE__ */ o(pt, { hasValues: j, labels: z }), e[34] = j, e[35] = z, e[36] = $) : $ = e[36];
82
82
  let H;
83
83
  e[37] !== n || e[38] !== _ || e[39] !== r?.chip || e[40] !== d || e[41] !== h ? (H = !!h.length && /* @__PURE__ */ o(Y, { sx: be.chip.container, className: "inline", children: h.map((q) => /* @__PURE__ */ o(Be, { value: q, labels: r?.chip, chipProps: n, onDelete: _, onChipToggle: d }, q.id)) }), e[37] = n, e[38] = _, e[39] = r?.chip, e[40] = d, e[41] = h, e[42] = H) : H = e[42];
84
84
  const ee = r?.actions;
85
85
  let X;
86
- e[43] !== v || e[44] !== w || e[45] !== ee || e[46] !== h ? (X = /* @__PURE__ */ o(gt, { values: h, labels: ee, onAllChipToggle: v, onAllDelete: w }), e[43] = v, e[44] = w, e[45] = ee, e[46] = h, e[47] = X) : X = e[47];
86
+ e[43] !== v || e[44] !== w || e[45] !== ee || e[46] !== h ? (X = /* @__PURE__ */ o(ft, { values: h, labels: ee, onAllChipToggle: v, onAllDelete: w }), e[43] = v, e[44] = w, e[45] = ee, e[46] = h, e[47] = X) : X = e[47];
87
87
  let te;
88
- return e[48] !== L || e[49] !== z || e[50] !== $ || e[51] !== H || e[52] !== X || e[53] !== P ? (te = /* @__PURE__ */ E(Y, { sx: P, ...L, className: "inline", children: [
89
- z,
88
+ return e[48] !== L || e[49] !== G || e[50] !== $ || e[51] !== H || e[52] !== X || e[53] !== P ? (te = /* @__PURE__ */ E(Y, { sx: P, ...L, className: "inline", children: [
89
+ G,
90
90
  N,
91
91
  $,
92
92
  H,
93
93
  X
94
- ] }), e[48] = L, e[49] = z, e[50] = $, e[51] = H, e[52] = X, e[53] = P, e[54] = te) : te = e[54], te;
94
+ ] }), e[48] = L, e[49] = G, e[50] = $, e[51] = H, e[52] = X, e[53] = P, e[54] = te) : te = e[54], te;
95
95
  }
96
- function ft(t) {
96
+ function ut(t) {
97
97
  const e = F(5), {
98
98
  data: s,
99
99
  labels: l,
@@ -119,7 +119,7 @@ function Te({
119
119
  return /* @__PURE__ */ o(fe, { title: n, placement: "bottom", children: /* @__PURE__ */ o(ve, { disabled: !!s.disabled, value: s.value, "aria-label": s.value, children: /* @__PURE__ */ o(De, { children: s.icon }) }) }, s.value);
120
120
  });
121
121
  }
122
- function ht(t) {
122
+ function pt(t) {
123
123
  const e = F(7), {
124
124
  hasValues: s,
125
125
  labels: l
@@ -137,7 +137,7 @@ function ht(t) {
137
137
  a
138
138
  ] }), e[4] = i, e[5] = a, e[6] = c) : c = e[6], c;
139
139
  }
140
- function gt(t) {
140
+ function ft(t) {
141
141
  const e = F(13), {
142
142
  values: s,
143
143
  labels: l,
@@ -146,7 +146,7 @@ function gt(t) {
146
146
  } = t;
147
147
  if (s.length <= 1)
148
148
  return null;
149
- const a = s.some(bt) ? l?.toggleAll?.active ?? re.actions.toggleAll.active : l?.toggleAll?.inactive ?? re.actions.toggleAll.inactive, c = l?.deleteAll ?? re.actions.deleteAll;
149
+ const a = s.some(ht) ? l?.toggleAll?.active ?? re.actions.toggleAll.active : l?.toggleAll?.inactive ?? re.actions.toggleAll.inactive, c = l?.deleteAll ?? re.actions.deleteAll;
150
150
  let m;
151
151
  e[0] !== n ? (m = () => n(), e[0] = n, e[1] = m) : m = e[1];
152
152
  let d;
@@ -161,24 +161,24 @@ function gt(t) {
161
161
  f
162
162
  ] }), e[10] = d, e[11] = f, e[12] = v) : v = e[12], v;
163
163
  }
164
- function bt(t) {
164
+ function ht(t) {
165
165
  return t.visible;
166
166
  }
167
- function vt(t) {
167
+ function gt(t) {
168
168
  const e = F(3);
169
169
  let s;
170
170
  e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (s = /* @__PURE__ */ o("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];
171
171
  let l;
172
172
  return e[1] !== t ? (l = /* @__PURE__ */ o("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 18 18", fill: "currentColor", ...t, children: s }), e[1] = t, e[2] = l) : l = e[2], l;
173
173
  }
174
- function yt(t) {
174
+ function bt(t) {
175
175
  const e = F(3);
176
176
  let s;
177
177
  e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (s = /* @__PURE__ */ o("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];
178
178
  let l;
179
179
  return e[1] !== t ? (l = /* @__PURE__ */ o("svg", { fill: "none", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 18 18", ...t, children: s }), e[1] = t, e[2] = l) : l = e[2], l;
180
180
  }
181
- function xt(t) {
181
+ function vt(t) {
182
182
  const e = F(4);
183
183
  let s, l;
184
184
  e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (s = /* @__PURE__ */ o("path", { fill: "currentColor", fillRule: "evenodd", d: "M4.5 13.5v-9h9v9h-9Zm.75-8.25h7.5v7.5h-7.5v-7.5Z", clipRule: "evenodd" }), l = /* @__PURE__ */ o("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] = l) : (s = e[0], l = e[1]);
@@ -240,7 +240,7 @@ const oe = {
240
240
  }
241
241
  }
242
242
  }
243
- }, St = {
243
+ }, yt = {
244
244
  "m-km": {
245
245
  short: "m-km"
246
246
  },
@@ -268,15 +268,15 @@ const oe = {
268
268
  feet: {
269
269
  short: "ft"
270
270
  }
271
- }, Ct = {
271
+ }, xt = {
272
272
  distance: {
273
- icon: /* @__PURE__ */ o(vt, {})
273
+ icon: /* @__PURE__ */ o(gt, {})
274
274
  },
275
275
  buffer: {
276
- icon: /* @__PURE__ */ o(yt, {})
276
+ icon: /* @__PURE__ */ o(bt, {})
277
277
  },
278
278
  area: {
279
- icon: /* @__PURE__ */ o(xt, {})
279
+ icon: /* @__PURE__ */ o(vt, {})
280
280
  }
281
281
  }, K = {
282
282
  container: {
@@ -402,8 +402,8 @@ const oe = {
402
402
  }
403
403
  }
404
404
  }
405
- }, _t = {};
406
- function io(t) {
405
+ }, St = {};
406
+ function oo(t) {
407
407
  const e = F(44), {
408
408
  enabled: s,
409
409
  actionProps: l,
@@ -418,7 +418,7 @@ function io(t) {
418
418
  onActionToggle: f,
419
419
  onChangeMode: v,
420
420
  onChangeUnit: w
421
- } = t, h = n === void 0 ? oe : n, g = i === void 0 ? Ct : i, L = a === void 0 ? St : a, M = m === void 0 ? _t : m;
421
+ } = t, h = n === void 0 ? oe : n, g = i === void 0 ? xt : i, L = a === void 0 ? yt : a, M = m === void 0 ? St : m;
422
422
  let C, y;
423
423
  e[0] !== M ? ({
424
424
  sx: y,
@@ -455,19 +455,19 @@ function io(t) {
455
455
  }, e[21] = y, e[22] = Z) : Z = e[22];
456
456
  const A = h?.action, B = I?.icon;
457
457
  let W;
458
- e[23] !== l || e[24] !== s || e[25] !== k || e[26] !== A || e[27] !== B ? (W = /* @__PURE__ */ o(wt, { actionProps: l, labels: A, enabled: s, onActionToggle: k, children: B }), e[23] = l, e[24] = s, e[25] = k, e[26] = A, e[27] = B, e[28] = W) : W = e[28];
459
- const z = h?.options;
458
+ e[23] !== l || e[24] !== s || e[25] !== k || e[26] !== A || e[27] !== B ? (W = /* @__PURE__ */ o(Ct, { actionProps: l, labels: A, enabled: s, onActionToggle: k, children: B }), e[23] = l, e[24] = s, e[25] = k, e[26] = A, e[27] = B, e[28] = W) : W = e[28];
459
+ const G = h?.options;
460
460
  let N;
461
- e[29] !== V || e[30] !== _ || e[31] !== p || e[32] !== v || e[33] !== w || e[34] !== z || e[35] !== u ? (N = /* @__PURE__ */ o(Mt, { labels: z, modes: _, modeSelected: p, units: V, unitSelected: u, onChangeMode: v, onChangeUnit: w }), e[29] = V, e[30] = _, e[31] = p, e[32] = v, e[33] = w, e[34] = z, e[35] = u, e[36] = N) : N = e[36];
461
+ e[29] !== V || e[30] !== _ || e[31] !== p || e[32] !== v || e[33] !== w || e[34] !== G || e[35] !== u ? (N = /* @__PURE__ */ o(_t, { labels: G, modes: _, modeSelected: p, units: V, unitSelected: u, onChangeMode: v, onChangeUnit: w }), e[29] = V, e[30] = _, e[31] = p, e[32] = v, e[33] = w, e[34] = G, e[35] = u, e[36] = N) : N = e[36];
462
462
  let j;
463
463
  e[37] !== W || e[38] !== N ? (j = /* @__PURE__ */ E(Y, { children: [
464
464
  W,
465
465
  N
466
466
  ] }), e[37] = W, e[38] = N, e[39] = j) : j = e[39];
467
- let G;
468
- return e[40] !== C || e[41] !== Z || e[42] !== j ? (G = /* @__PURE__ */ o(Se, { sx: Z, ...C, children: j }), e[40] = C, e[41] = Z, e[42] = j, e[43] = G) : G = e[43], G;
467
+ let z;
468
+ return e[40] !== C || e[41] !== Z || e[42] !== j ? (z = /* @__PURE__ */ o(Se, { sx: Z, ...C, children: j }), e[40] = C, e[41] = Z, e[42] = j, e[43] = z) : z = e[43], z;
469
469
  }
470
- function wt(t) {
470
+ function Ct(t) {
471
471
  const e = F(12), {
472
472
  actionProps: s,
473
473
  labels: l,
@@ -482,7 +482,7 @@ function wt(t) {
482
482
  let f;
483
483
  return e[8] !== c || e[9] !== m || e[10] !== u ? (f = /* @__PURE__ */ o(fe, { title: c, placement: "right", ...m, children: u }), e[8] = c, e[9] = m, e[10] = u, e[11] = f) : f = e[11], f;
484
484
  }
485
- function Mt(t) {
485
+ function _t(t) {
486
486
  const e = F(41), {
487
487
  modes: s,
488
488
  modeSelected: l,
@@ -535,7 +535,7 @@ function Mt(t) {
535
535
  e[12] !== r || e[13] !== n ? (V = n.find(($) => $.value === r) ?? n[0], e[12] = r, e[13] = n, e[14] = V) : V = e[14];
536
536
  const Z = V;
537
537
  let A;
538
- e[15] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (A = /* @__PURE__ */ o(le, { sx: K.options.icon, onClick: y, children: /* @__PURE__ */ o(lt, {}) }), e[15] = A) : A = e[15];
538
+ e[15] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (A = /* @__PURE__ */ o(ie, { sx: K.options.icon, onClick: y, children: /* @__PURE__ */ o(lt, {}) }), e[15] = A) : A = e[15];
539
539
  let B;
540
540
  e[16] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (B = {
541
541
  "aria-labelledby": "basic-button",
@@ -552,29 +552,29 @@ function Mt(t) {
552
552
  ] }, $.value);
553
553
  })
554
554
  ] }), e[17] = _, e[18] = i?.mode?.options, e[19] = l, e[20] = U, e[21] = w, e[22] = W) : W = e[22];
555
- let z;
556
- e[23] !== R ? (z = R && /* @__PURE__ */ o(ue, {}), e[23] = R, e[24] = z) : z = e[24];
555
+ let G;
556
+ e[23] !== R ? (G = R && /* @__PURE__ */ o(ue, {}), e[23] = R, e[24] = G) : G = e[24];
557
557
  let N;
558
558
  e[25] !== O || e[26] !== i || e[27] !== u || e[28] !== Z || e[29] !== P || e[30] !== n || e[31] !== g.length ? (N = g.length > 1 && /* @__PURE__ */ E(J, { children: [
559
559
  /* @__PURE__ */ E(Me, { onClick: S, children: [
560
560
  /* @__PURE__ */ o(xe, { children: P }),
561
561
  /* @__PURE__ */ o(Q, { variant: "caption", fontWeight: 500, sx: K.options.tag, children: Z.short })
562
562
  ] }),
563
- /* @__PURE__ */ o(Tt, { open: u, labels: i, units: n, unitSelectedValue: Z, onClose: I, onSubmit: O })
563
+ /* @__PURE__ */ o(wt, { open: u, labels: i, units: n, unitSelectedValue: Z, onClose: I, onSubmit: O })
564
564
  ] }), e[25] = O, e[26] = i, e[27] = u, e[28] = Z, e[29] = P, e[30] = n, e[31] = g.length, e[32] = N) : N = e[32];
565
565
  let j;
566
- e[33] !== W || e[34] !== z || e[35] !== N ? (j = /* @__PURE__ */ E("div", { children: [
566
+ e[33] !== W || e[34] !== G || e[35] !== N ? (j = /* @__PURE__ */ E("div", { children: [
567
567
  W,
568
- z,
568
+ G,
569
569
  N
570
- ] }), e[33] = W, e[34] = z, e[35] = N, e[36] = j) : j = e[36];
571
- let G;
572
- return e[37] !== m || e[38] !== M || e[39] !== j ? (G = /* @__PURE__ */ E(J, { children: [
570
+ ] }), e[33] = W, e[34] = G, e[35] = N, e[36] = j) : j = e[36];
571
+ let z;
572
+ return e[37] !== m || e[38] !== M || e[39] !== j ? (z = /* @__PURE__ */ E(J, { children: [
573
573
  A,
574
574
  /* @__PURE__ */ o(Ve, { id: "measurement-menu", anchorEl: m, open: M, onClose: k, MenuListProps: B, children: j })
575
- ] }), e[37] = m, e[38] = M, e[39] = j, e[40] = G) : G = e[40], G;
575
+ ] }), e[37] = m, e[38] = M, e[39] = j, e[40] = z) : z = e[40], z;
576
576
  }
577
- function Tt(t) {
577
+ function wt(t) {
578
578
  const e = F(48), {
579
579
  open: s,
580
580
  labels: l,
@@ -607,7 +607,7 @@ function Tt(t) {
607
607
  let x;
608
608
  e[8] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (x = /* @__PURE__ */ o(Oe, {}), e[8] = x) : x = e[8];
609
609
  let k;
610
- e[9] !== i ? (k = /* @__PURE__ */ o(le, { onClick: i, children: x }), e[9] = i, e[10] = k) : k = e[10];
610
+ e[9] !== i ? (k = /* @__PURE__ */ o(ie, { onClick: i, children: x }), e[9] = i, e[10] = k) : k = e[10];
611
611
  let b;
612
612
  e[11] !== g || e[12] !== k ? (b = /* @__PURE__ */ E(Ze, { sx: K.options.modal.title, children: [
613
613
  g,
@@ -639,13 +639,13 @@ function Tt(t) {
639
639
  let P;
640
640
  e[32] !== I || e[33] !== U ? (P = /* @__PURE__ */ o(Ne, { children: U }, I), e[32] = I, e[33] = U, e[34] = P) : P = e[34];
641
641
  let R;
642
- e[35] !== p || e[36] !== P || e[37] !== _ ? (R = /* @__PURE__ */ E(ze, { sx: K.options.modal.content, children: [
642
+ e[35] !== p || e[36] !== P || e[37] !== _ ? (R = /* @__PURE__ */ E(Ge, { sx: K.options.modal.content, children: [
643
643
  _,
644
644
  p,
645
645
  P
646
646
  ] }), e[35] = p, e[36] = P, e[37] = _, e[38] = R) : R = e[38];
647
647
  let V;
648
- e[39] !== M ? (V = /* @__PURE__ */ o(Ge, { sx: K.options.modal.actions, children: /* @__PURE__ */ o(ye, { variant: "contained", type: "submit", children: M }) }), e[39] = M, e[40] = V) : V = e[40];
648
+ e[39] !== M ? (V = /* @__PURE__ */ o(ze, { sx: K.options.modal.actions, children: /* @__PURE__ */ o(ye, { variant: "contained", type: "submit", children: M }) }), e[39] = M, e[40] = V) : V = e[40];
649
649
  let Z;
650
650
  return e[41] !== i || e[42] !== s || e[43] !== R || e[44] !== V || e[45] !== y || e[46] !== b ? (Z = /* @__PURE__ */ E(He, { open: s, component: Y, onClose: i, maxWidth: "xs", PaperProps: y, children: [
651
651
  b,
@@ -653,11 +653,11 @@ function Tt(t) {
653
653
  V
654
654
  ] }), e[41] = i, e[42] = s, e[43] = R, e[44] = V, e[45] = y, e[46] = b, e[47] = Z) : Z = e[47], Z;
655
655
  }
656
- const At = {
656
+ const Mt = {
657
657
  enabled: "Show your current location",
658
658
  disabled: "Location unavailable"
659
- }, kt = "geolocation";
660
- function so(t) {
659
+ }, Tt = "geolocation";
660
+ function lo(t) {
661
661
  const e = F(25), {
662
662
  disabled: s,
663
663
  labels: l,
@@ -666,7 +666,7 @@ function so(t) {
666
666
  watch: i,
667
667
  onChange: a,
668
668
  onError: c
669
- } = t, m = Le(null), d = "geolocation" in navigator, [u, f] = ot(Dt, d);
669
+ } = t, m = Le(null), d = "geolocation" in navigator, [u, f] = ot(At, d);
670
670
  let v, w;
671
671
  e[0] !== c ? (v = () => (d && navigator.permissions.query({
672
672
  name: "geolocation"
@@ -697,17 +697,17 @@ function so(t) {
697
697
  }
698
698
  navigator.geolocation.getCurrentPosition(g, M);
699
699
  }, e[7] = M, e[8] = g, e[9] = i, e[10] = C) : C = e[10];
700
- const y = C, k = (l?.tooltip ?? At)[u ? "enabled" : "disabled"], b = l?.ariaLabel ?? kt, _ = !d || s;
700
+ const y = C, k = (l?.tooltip ?? Mt)[u ? "enabled" : "disabled"], b = l?.ariaLabel ?? Tt, _ = !d || s;
701
701
  let T;
702
702
  e[11] !== u ? (T = u ? /* @__PURE__ */ o(nt, {}) : /* @__PURE__ */ o(it, {}), e[11] = u, e[12] = T) : T = e[12];
703
703
  let S;
704
- e[13] !== y || e[14] !== b || e[15] !== _ || e[16] !== T ? (S = /* @__PURE__ */ o(le, { onClick: y, "aria-label": b, disabled: _, children: T }), e[13] = y, e[14] = b, e[15] = _, e[16] = T, e[17] = S) : S = e[17];
704
+ e[13] !== y || e[14] !== b || e[15] !== _ || e[16] !== T ? (S = /* @__PURE__ */ o(ie, { onClick: y, "aria-label": b, disabled: _, children: T }), e[13] = y, e[14] = b, e[15] = _, e[16] = T, e[17] = S) : S = e[17];
705
705
  let p;
706
706
  e[18] !== r || e[19] !== S || e[20] !== k ? (p = /* @__PURE__ */ o(fe, { arrow: !0, placement: "right", title: k, ...r, children: S }), e[18] = r, e[19] = S, e[20] = k, e[21] = p) : p = e[21];
707
707
  let I;
708
708
  return e[22] !== n || e[23] !== p ? (I = /* @__PURE__ */ o(Se, { ...n, children: p }), e[22] = n, e[23] = p, e[24] = I) : I = e[24], I;
709
709
  }
710
- function Dt(t, e) {
710
+ function At(t, e) {
711
711
  return e === "granted";
712
712
  }
713
713
  const _e = {
@@ -742,7 +742,7 @@ const _e = {
742
742
  position: "absolute"
743
743
  }
744
744
  };
745
- function ro(t) {
745
+ function no(t) {
746
746
  const e = F(40), {
747
747
  zoom: s,
748
748
  disabled: l,
@@ -783,13 +783,13 @@ function ro(t) {
783
783
  }, e[10] = p, e[11] = I) : I = e[11];
784
784
  let D;
785
785
  e[12] !== C || e[13] !== l || e[14] !== S || e[15] !== v ? (D = v && /* @__PURE__ */ E(J, { children: [
786
- /* @__PURE__ */ o(le, { onClick: v, "aria-label": "Reset action", disabled: l, children: /* @__PURE__ */ o(C.Icon, {}) }),
786
+ /* @__PURE__ */ o(ie, { onClick: v, "aria-label": "Reset action", disabled: l, children: /* @__PURE__ */ o(C.Icon, {}) }),
787
787
  /* @__PURE__ */ o(ue, { orientation: S, flexItem: !0 })
788
788
  ] }), e[12] = C, e[13] = l, e[14] = S, e[15] = v, e[16] = D) : D = e[16];
789
789
  let O;
790
790
  e[17] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (O = /* @__PURE__ */ o(rt, {}), e[17] = O) : O = e[17];
791
791
  let U;
792
- e[18] !== l || e[19] !== k ? (U = /* @__PURE__ */ o(le, { onClick: k, "aria-label": "Increase zoom", disabled: l, children: O }), e[18] = l, e[19] = k, e[20] = U) : U = e[20];
792
+ e[18] !== l || e[19] !== k ? (U = /* @__PURE__ */ o(ie, { onClick: k, "aria-label": "Increase zoom", disabled: l, children: O }), e[18] = l, e[19] = k, e[20] = U) : U = e[20];
793
793
  let P;
794
794
  e[21] !== S ? (P = /* @__PURE__ */ o(ue, { orientation: S, flexItem: !0 }), e[21] = S, e[22] = P) : P = e[22];
795
795
  let R;
@@ -803,7 +803,7 @@ function ro(t) {
803
803
  let V;
804
804
  e[28] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (V = /* @__PURE__ */ o(at, {}), e[28] = V) : V = e[28];
805
805
  let Z;
806
- e[29] !== _ || e[30] !== l ? (Z = /* @__PURE__ */ o(le, { onClick: _, "aria-label": "Decrease zoom", disabled: l, children: V }), e[29] = _, e[30] = l, e[31] = Z) : Z = e[31];
806
+ e[29] !== _ || e[30] !== l ? (Z = /* @__PURE__ */ o(ie, { onClick: _, "aria-label": "Decrease zoom", disabled: l, children: V }), e[29] = _, e[30] = l, e[31] = Z) : Z = e[31];
807
807
  let A;
808
808
  return e[32] !== m || e[33] !== I || e[34] !== D || e[35] !== U || e[36] !== P || e[37] !== R || e[38] !== Z ? (A = /* @__PURE__ */ E(Se, { sx: I, ...m, children: [
809
809
  D,
@@ -813,51 +813,51 @@ function ro(t) {
813
813
  Z
814
814
  ] }), e[32] = m, e[33] = I, e[34] = D, e[35] = U, e[36] = P, e[37] = R, e[38] = Z, e[39] = A) : A = e[39], A;
815
815
  }
816
- function It(t) {
816
+ function kt(t) {
817
817
  const e = F(4), {
818
818
  length: s
819
819
  } = t, l = s === void 0 ? 5 : s;
820
820
  let n;
821
- e[0] !== l ? (n = new Array(l).fill(null).map(Lt), e[0] = l, e[1] = n) : n = e[1];
821
+ e[0] !== l ? (n = new Array(l).fill(null).map(Dt), e[0] = l, e[1] = n) : n = e[1];
822
822
  let r;
823
823
  return e[2] !== n ? (r = /* @__PURE__ */ o(Y, { "aria-label": "List Data skeleton", children: n }), e[2] = n, e[3] = r) : r = e[3], r;
824
824
  }
825
- function Lt(t, e) {
825
+ function Dt(t, e) {
826
826
  return /* @__PURE__ */ E(pe, { container: !0, spacing: 1, children: [
827
827
  /* @__PURE__ */ E(pe, { container: !0, item: !0, direction: "row", justifyContent: "space-between", alignItems: "center", children: [
828
- /* @__PURE__ */ o(Ce, { width: Rt(e) ? 72 : 48, height: 20 }),
828
+ /* @__PURE__ */ o(Ce, { width: Ot(e) ? 72 : 48, height: 20 }),
829
829
  /* @__PURE__ */ o(Ce, { width: 48, height: 8 })
830
830
  ] }),
831
831
  /* @__PURE__ */ o(Ce, { sx: {
832
- height: Et,
833
- marginTop: Ot,
834
- marginBottom: Pt,
832
+ height: Pt,
833
+ marginTop: Lt,
834
+ marginBottom: It,
835
835
  width: "100%"
836
836
  } })
837
837
  ] }, `skeleton-${e}`);
838
838
  }
839
- function Pt(t) {
839
+ function It(t) {
840
840
  const {
841
841
  spacing: e
842
842
  } = t;
843
843
  return e(1.75);
844
844
  }
845
- function Ot(t) {
845
+ function Lt(t) {
846
846
  const {
847
847
  spacing: e
848
848
  } = t;
849
849
  return e(1.25);
850
850
  }
851
- function Et(t) {
851
+ function Pt(t) {
852
852
  const {
853
853
  spacing: e
854
854
  } = t;
855
855
  return e(0.5);
856
856
  }
857
- function Rt(t) {
857
+ function Ot(t) {
858
858
  return t % 2 === 1;
859
859
  }
860
- function Bt(t) {
860
+ function Et(t) {
861
861
  const e = F(13), {
862
862
  title: s,
863
863
  body: l,
@@ -896,7 +896,7 @@ function Ae(t) {
896
896
  let n;
897
897
  return e[4] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (n = /* @__PURE__ */ o(Y, { mt: -1 }), e[4] = n) : n = e[4], n;
898
898
  }
899
- function $t(t) {
899
+ function Rt(t) {
900
900
  const e = F(2);
901
901
  let s;
902
902
  e[0] !== t ? (s = () => t ? 1 : 0, e[0] = t, e[1] = s) : s = e[1];
@@ -941,11 +941,11 @@ const ke = {
941
941
  opacity: 0.5,
942
942
  pointerEvents: "none"
943
943
  }
944
- }, Ut = {
944
+ }, Bt = {
945
945
  showMore: "Show More",
946
946
  showLess: "Show Less"
947
- }, Vt = [];
948
- function ao(t) {
947
+ }, $t = [];
948
+ function io(t) {
949
949
  const e = F(32), {
950
950
  data: s,
951
951
  isLoading: l,
@@ -956,7 +956,7 @@ function ao(t) {
956
956
  tooltipProps: c,
957
957
  onExpand: m,
958
958
  onItemClick: d
959
- } = t, u = s === void 0 ? Vt : s, f = l === void 0 ? !1 : l, v = n === void 0 ? 5 : n, w = r === void 0 ? Ut : r, h = i === void 0 ? !0 : i, [g, L] = se(!1), M = $t(f);
959
+ } = t, u = s === void 0 ? $t : s, f = l === void 0 ? !1 : l, v = n === void 0 ? 5 : n, w = r === void 0 ? Bt : r, h = i === void 0 ? !0 : i, [g, L] = se(!1), M = Rt(f);
960
960
  let C;
961
961
  e[0] !== u || e[1] !== v || e[2] !== g ? (C = g ? u : u.slice(0, v), e[0] = u, e[1] = v, e[2] = g, e[3] = C) : C = e[3];
962
962
  const y = C;
@@ -967,16 +967,16 @@ function ao(t) {
967
967
  const k = x;
968
968
  if (M) {
969
969
  let p;
970
- return e[7] !== v ? (p = /* @__PURE__ */ o(It, { length: v }), e[7] = v, e[8] = p) : p = e[8], p;
970
+ return e[7] !== v ? (p = /* @__PURE__ */ o(kt, { length: v }), e[7] = v, e[8] = p) : p = e[8], p;
971
971
  }
972
972
  if (y.length === 0) {
973
973
  let p;
974
- return e[9] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (p = /* @__PURE__ */ o(Bt, {}), e[9] = p) : p = e[9], p;
974
+ return e[9] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (p = /* @__PURE__ */ o(Et, {}), e[9] = p) : p = e[9], p;
975
975
  }
976
976
  let b;
977
977
  if (e[10] !== y || e[11] !== d || e[12] !== a || e[13] !== h || e[14] !== c) {
978
978
  let p;
979
- e[16] !== d || e[17] !== a || e[18] !== h || e[19] !== c ? (p = (I) => /* @__PURE__ */ o(dt, { followCursor: !1, placement: "top", arrow: !0, title: I.tooltipTitle, enterDelay: 10, ...c, children: (D) => {
979
+ e[16] !== d || e[17] !== a || e[18] !== h || e[19] !== c ? (p = (I) => /* @__PURE__ */ o(ct, { followCursor: !1, placement: "top", arrow: !0, title: I.tooltipTitle, enterDelay: 10, ...c, children: (D) => {
980
980
  const {
981
981
  ref: O
982
982
  } = D;
@@ -1004,9 +1004,9 @@ function ao(t) {
1004
1004
  T
1005
1005
  ] }), e[29] = T, e[30] = _, e[31] = S) : S = e[31], S;
1006
1006
  }
1007
- const Zt = 288, ae = {
1007
+ const Ut = 288, ae = {
1008
1008
  root: {
1009
- width: Zt,
1009
+ width: Ut,
1010
1010
  overflow: "auto"
1011
1011
  },
1012
1012
  toggle: {
@@ -1105,7 +1105,7 @@ const Zt = 288, ae = {
1105
1105
  }) => t.primary.main
1106
1106
  }
1107
1107
  }
1108
- }, Wt = {
1108
+ }, Vt = {
1109
1109
  toggle: {
1110
1110
  title: "Toggle basemaps controls"
1111
1111
  },
@@ -1116,7 +1116,7 @@ const Zt = 288, ae = {
1116
1116
  }
1117
1117
  }
1118
1118
  };
1119
- function jt(t) {
1119
+ function Zt(t) {
1120
1120
  const e = F(6), {
1121
1121
  isMobile: s,
1122
1122
  labels: l,
@@ -1125,12 +1125,12 @@ function jt(t) {
1125
1125
  let i;
1126
1126
  e[0] !== r || e[1] !== l || e[2] !== n ? (i = r && /* @__PURE__ */ E(J, { children: [
1127
1127
  /* @__PURE__ */ o(Q, { variant: "caption", flexGrow: 1, children: l.title }),
1128
- /* @__PURE__ */ o(fe, { title: l.actions.close, children: /* @__PURE__ */ o(le, { size: "small", onClick: n, "aria-label": l.actions.close, children: /* @__PURE__ */ o(Oe, {}) }) })
1128
+ /* @__PURE__ */ o(fe, { title: l.actions.close, children: /* @__PURE__ */ o(ie, { size: "small", onClick: n, "aria-label": l.actions.close, children: /* @__PURE__ */ o(Oe, {}) }) })
1129
1129
  ] }), e[0] = r, e[1] = l, e[2] = n, e[3] = i) : i = e[3];
1130
1130
  let a;
1131
1131
  return e[4] !== i ? (a = /* @__PURE__ */ o(Y, { sx: ae.header, children: i }), e[4] = i, e[5] = a) : a = e[5], a;
1132
1132
  }
1133
- function Ft(t) {
1133
+ function Wt(t) {
1134
1134
  const e = F(5), {
1135
1135
  title: s,
1136
1136
  children: l,
@@ -1146,7 +1146,7 @@ function Ft(t) {
1146
1146
  l
1147
1147
  ] }), e[2] = l, e[3] = i, e[4] = a) : a = e[4], a;
1148
1148
  }
1149
- function Nt(t) {
1149
+ function jt(t) {
1150
1150
  const e = F(9), {
1151
1151
  values: s,
1152
1152
  selected: l,
@@ -1169,7 +1169,7 @@ function Nt(t) {
1169
1169
  let i;
1170
1170
  return e[7] !== r ? (i = /* @__PURE__ */ o(Y, { sx: ae.group, children: r }), e[7] = r, e[8] = i) : i = e[8], i;
1171
1171
  }
1172
- function zt(t) {
1172
+ function Ft(t) {
1173
1173
  const e = F(21), {
1174
1174
  ref: s,
1175
1175
  children: l,
@@ -1203,8 +1203,8 @@ function zt(t) {
1203
1203
  let C;
1204
1204
  return e[12] !== l || e[13] !== s || e[14] !== c || e[15] !== a || e[16] !== u || e[17] !== f || e[18] !== h || e[19] !== M ? (C = /* @__PURE__ */ o(Je, { sx: a, anchorEl: s, open: u, onClose: f, anchorOrigin: h, transformOrigin: M, slotProps: c, children: l }), e[12] = l, e[13] = s, e[14] = c, e[15] = a, e[16] = u, e[17] = f, e[18] = h, e[19] = M, e[20] = C) : C = e[20], C;
1205
1205
  }
1206
- const Gt = [];
1207
- function co(t) {
1206
+ const Nt = [];
1207
+ function so(t) {
1208
1208
  const e = F(54), {
1209
1209
  options: s,
1210
1210
  labels: l,
@@ -1212,24 +1212,24 @@ function co(t) {
1212
1212
  selected: r,
1213
1213
  onChange: i,
1214
1214
  TooltipProps: a
1215
- } = t, c = s === void 0 ? Gt : s, m = n === void 0 ? "bottom-right" : n, d = r === void 0 ? null : r, [u, f] = se(null), [v, w] = se(!1), h = Le(null), [g, L] = se(null), M = et();
1215
+ } = t, c = s === void 0 ? Nt : s, m = n === void 0 ? "bottom-right" : n, d = r === void 0 ? null : r, [u, f] = se(null), [v, w] = se(!1), h = Le(null), [g, L] = se(null), M = et();
1216
1216
  let C;
1217
1217
  e[0] !== M.breakpoints ? (C = M.breakpoints.down("sm"), e[0] = M.breakpoints, e[1] = C) : C = e[1];
1218
1218
  const y = tt(C);
1219
1219
  let x;
1220
1220
  e[2] !== l ? (x = l ?? {}, e[2] = l, e[3] = x) : x = e[3];
1221
1221
  let k;
1222
- e[4] !== x ? (k = we(Wt, x), e[4] = x, e[5] = k) : k = e[5];
1222
+ e[4] !== x ? (k = we(Vt, x), e[4] = x, e[5] = k) : k = e[5];
1223
1223
  const b = k;
1224
1224
  let _;
1225
1225
  if (e[6] !== c || e[7] !== d) {
1226
- let ie;
1227
- e[9] !== d ? (ie = (ge) => ge.id === d, e[9] = d, e[10] = ie) : ie = e[10], _ = c.find(ie), e[6] = c, e[7] = d, e[8] = _;
1226
+ let ne;
1227
+ e[9] !== d ? (ne = (ge) => ge.id === d, e[9] = d, e[10] = ne) : ne = e[10], _ = c.find(ne), e[6] = c, e[7] = d, e[8] = _;
1228
1228
  } else
1229
1229
  _ = e[8];
1230
1230
  const T = _;
1231
1231
  let S;
1232
- e[11] !== c ? (S = Object.groupBy(c, Ht), e[11] = c, e[12] = S) : S = e[12];
1232
+ e[11] !== c ? (S = Object.groupBy(c, Gt), e[11] = c, e[12] = S) : S = e[12];
1233
1233
  const p = S;
1234
1234
  let I;
1235
1235
  e[13] !== p ? (I = Object.keys(p), e[13] = p, e[14] = I) : I = e[14];
@@ -1259,14 +1259,14 @@ function co(t) {
1259
1259
  }, e[20] = A) : A = e[20];
1260
1260
  const B = A;
1261
1261
  let W;
1262
- e[21] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (W = (ie) => {
1263
- f(ie.currentTarget), w(!0);
1262
+ e[21] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (W = (ne) => {
1263
+ f(ne.currentTarget), w(!0);
1264
1264
  }, e[21] = W) : W = e[21];
1265
- const z = T?.icon, N = T?.label ?? "Basemap";
1265
+ const G = T?.icon, N = T?.label ?? "Basemap";
1266
1266
  let j;
1267
- e[22] !== z || e[23] !== N ? (j = /* @__PURE__ */ o(le, { sx: ae.toggle, onClick: W, children: /* @__PURE__ */ o("img", { src: z, alt: N }) }), e[22] = z, e[23] = N, e[24] = j) : j = e[24];
1268
- let G;
1269
- e[25] !== a || e[26] !== b.toggle.title || e[27] !== j ? (G = /* @__PURE__ */ o(fe, { title: b.toggle.title, placement: "right", ...a, children: j }), e[25] = a, e[26] = b.toggle.title, e[27] = j, e[28] = G) : G = e[28];
1267
+ e[22] !== G || e[23] !== N ? (j = /* @__PURE__ */ o(ie, { sx: ae.toggle, onClick: W, children: /* @__PURE__ */ o("img", { src: G, alt: N }) }), e[22] = G, e[23] = N, e[24] = j) : j = e[24];
1268
+ let z;
1269
+ e[25] !== a || e[26] !== b.toggle.title || e[27] !== j ? (z = /* @__PURE__ */ o(fe, { title: b.toggle.title, placement: "right", ...a, children: j }), e[25] = a, e[26] = b.toggle.title, e[27] = j, e[28] = z) : z = e[28];
1270
1270
  const $ = `translate3d(${m.endsWith("right") ? "-8px" : "8px"}, ${m.startsWith("bottom") ? "-4px" : "4px"}, 0) !important`;
1271
1271
  let H;
1272
1272
  e[29] !== $ ? (H = {
@@ -1285,72 +1285,54 @@ function co(t) {
1285
1285
  let te;
1286
1286
  e[32] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (te = () => U(), e[32] = te) : te = e[32];
1287
1287
  let q;
1288
- e[33] !== y || e[34] !== b.header ? (q = /* @__PURE__ */ o(jt, { isMobile: y, labels: b.header, onChangeCollapsed: te }), e[33] = y, e[34] = b.header, e[35] = q) : q = e[35];
1289
- let ne;
1290
- e[36] !== p ? (ne = Object.entries(p), e[36] = p, e[37] = ne) : ne = e[37];
1288
+ e[33] !== y || e[34] !== b.header ? (q = /* @__PURE__ */ o(Zt, { isMobile: y, labels: b.header, onChangeCollapsed: te }), e[33] = y, e[34] = b.header, e[35] = q) : q = e[35];
1289
+ let le;
1290
+ e[36] !== p ? (le = Object.entries(p), e[36] = p, e[37] = le) : le = e[37];
1291
1291
  let ce;
1292
- e[38] !== D || e[39] !== b.header || e[40] !== i || e[41] !== d || e[42] !== ne ? (ce = ne.map((ie) => {
1293
- const [ge, Ee] = ie;
1294
- return /* @__PURE__ */ o(Ft, { title: ge + " " + b.header.title, collapsed: D < 2, children: /* @__PURE__ */ o(Nt, { values: Ee, selected: d, onChange: (Re) => {
1292
+ e[38] !== D || e[39] !== b.header || e[40] !== i || e[41] !== d || e[42] !== le ? (ce = le.map((ne) => {
1293
+ const [ge, Ee] = ne;
1294
+ return /* @__PURE__ */ o(Wt, { title: ge + " " + b.header.title, collapsed: D < 2, children: /* @__PURE__ */ o(jt, { values: Ee, selected: d, onChange: (Re) => {
1295
1295
  U(), i(Re);
1296
1296
  } }) }, ge);
1297
- }), e[38] = D, e[39] = b.header, e[40] = i, e[41] = d, e[42] = ne, e[43] = ce) : ce = e[43];
1297
+ }), e[38] = D, e[39] = b.header, e[40] = i, e[41] = d, e[42] = le, e[43] = ce) : ce = e[43];
1298
1298
  let de;
1299
- e[44] !== y || e[45] !== m || e[46] !== H || e[47] !== ee || e[48] !== q || e[49] !== ce ? (de = /* @__PURE__ */ E(zt, { ref: u, slotProps: H, collapsed: ee, position: m, isMobile: y, onChangeCollapsed: X, children: [
1299
+ e[44] !== y || e[45] !== m || e[46] !== H || e[47] !== ee || e[48] !== q || e[49] !== ce ? (de = /* @__PURE__ */ E(Ft, { ref: u, slotProps: H, collapsed: ee, position: m, isMobile: y, onChangeCollapsed: X, children: [
1300
1300
  q,
1301
1301
  ce
1302
1302
  ] }), e[44] = y, e[45] = m, e[46] = H, e[47] = ee, e[48] = q, e[49] = ce, e[50] = de) : de = e[50];
1303
1303
  let he;
1304
- return e[51] !== G || e[52] !== de ? (he = /* @__PURE__ */ E(Se, { children: [
1305
- G,
1304
+ return e[51] !== z || e[52] !== de ? (he = /* @__PURE__ */ E(Se, { children: [
1305
+ z,
1306
1306
  de
1307
- ] }), e[51] = G, e[52] = de, e[53] = he) : he = e[53], he;
1307
+ ] }), e[51] = z, e[52] = de, e[53] = he) : he = e[53], he;
1308
1308
  }
1309
- function Ht(t) {
1309
+ function Gt(t) {
1310
1310
  return t.group ?? "default";
1311
1311
  }
1312
- function mo({
1313
- copyText: t,
1314
- onSuccess: e,
1315
- onError: s,
1316
- "aria-label": l,
1317
- ...n
1318
- }) {
1319
- async function r() {
1320
- try {
1321
- await mt(t), e?.();
1322
- } catch (i) {
1323
- s?.(i);
1324
- }
1325
- }
1326
- return /* @__PURE__ */ o(le, { size: "small", onClick: () => {
1327
- r();
1328
- }, "aria-label": l ?? "Copy", ...n, children: /* @__PURE__ */ o(ct, { fontSize: "small" }) });
1329
- }
1330
1312
  export {
1331
- xt as AreaIcon,
1332
- co as BasemapsUI,
1333
- yt as BufferIcon,
1334
- mo as CopyButton,
1335
- fo as DEFAULT_LASSO_TOOLS_MODES_MAPPING,
1313
+ vt as AreaIcon,
1314
+ so as BasemapsUI,
1315
+ bt as BufferIcon,
1316
+ xo as CopyButton,
1317
+ co as DEFAULT_LASSO_TOOLS_MODES_MAPPING,
1336
1318
  oe as DEFAULT_MEASUREMENT_TOOLS_LABELS,
1337
- Ct as DEFAULT_MEASUREMENT_TOOLS_MODES_MAPPING,
1338
- St as DEFAULT_MEASUREMENT_TOOLS_UNITS_MAPPING,
1339
- ho as DrawCircleIcon,
1340
- go as DrawLassoIcon,
1341
- bo as DrawPolygonIcon,
1342
- vo as DrawSquareIcon,
1343
- so as GeolocationControls,
1319
+ xt as DEFAULT_MEASUREMENT_TOOLS_MODES_MAPPING,
1320
+ yt as DEFAULT_MEASUREMENT_TOOLS_UNITS_MAPPING,
1321
+ mo as DrawCircleIcon,
1322
+ uo as DrawLassoIcon,
1323
+ po as DrawPolygonIcon,
1324
+ fo as DrawSquareIcon,
1325
+ lo as GeolocationControls,
1344
1326
  re as LASSO_TOOLS_LABELS,
1345
- no as LassoToolsInlineUI,
1346
- yo as LassoToolsUI,
1347
- ao as ListDataUI,
1348
- io as MeasurementToolsUI,
1349
- vt as RulerIcon,
1350
- xo as SelectToolIcon,
1351
- dt as SmartTooltip,
1327
+ to as LassoToolsInlineUI,
1328
+ ho as LassoToolsUI,
1329
+ io as ListDataUI,
1330
+ oo as MeasurementToolsUI,
1331
+ gt as RulerIcon,
1332
+ go as SelectToolIcon,
1333
+ ct as SmartTooltip,
1352
1334
  fe as Tooltip,
1353
- ro as ZoomControlsUI,
1354
- Co as setTooltipEnterDelay
1335
+ no as ZoomControlsUI,
1336
+ vo as setTooltipEnterDelay
1355
1337
  };
1356
1338
  //# sourceMappingURL=components.js.map