@carto/ps-react-ui 4.0.0-canary.5 → 4.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
- import { jsx as i, jsxs as D, Fragment as j } from "react/jsx-runtime";
1
+ import { jsx as n, jsxs as D, Fragment as P } from "react/jsx-runtime";
2
2
  import { c as R } from "react/compiler-runtime";
3
- import { Chip as Ge, Tooltip as le, Paper as ve, Divider as K, Box as ee, IconButton as Q, Menu as Oe, MenuItem as re, ListItemIcon as Ie, SvgIcon as Me, ListItemText as ce, ToggleButton as ae, Typography as H, ToggleButtonGroup as Re, Button as ge, alpha as Fe, Dialog as ze, DialogTitle as He, DialogContent as Ne, FormControl as We, RadioGroup as Xe, FormControlLabel as qe, Radio as Ke, DialogActions as Ye, CircularProgress as Je, ListItem as Qe, List as et } from "@mui/material";
3
+ import { Chip as Ge, Tooltip as le, Paper as ve, Divider as K, Box as ee, IconButton as Q, Menu as Oe, MenuItem as re, ListItemIcon as Ie, SvgIcon as Me, ListItemText as ce, ToggleButton as ae, Typography as z, ToggleButtonGroup as Re, Button as ge, alpha as Fe, Dialog as Ne, DialogTitle as ze, DialogContent as He, FormControl as We, RadioGroup as Xe, FormControlLabel as qe, Radio as Ke, DialogActions as Ye, CircularProgress as Je, ListItem as Qe, List as et } from "@mui/material";
4
4
  import { ArrowDropDown as Ze, MoreVertOutlined as tt, Close as ot, MyLocationOutlined as nt, LocationDisabledOutlined as it, CropFreeOutlined as lt, AddOutlined as rt, RemoveOutlined as ct } from "@mui/icons-material";
5
5
  import { useMemo as be, useState as ie, useRef as at, useEffect as st } from "react";
6
6
  const G = {
@@ -169,40 +169,40 @@ const G = {
169
169
  };
170
170
  function dt(t) {
171
171
  const e = R(3);
172
- let n;
173
- e[0] === Symbol.for("react.memo_cache_sentinel") ? (n = /* @__PURE__ */ i("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M4 18a2 2 0 1 1 0 4 2 2 0 0 1 0-4Zm16 0a2 2 0 1 1 0 4 2 2 0 0 1 0-4Zm-2.829 1a2.996 2.996 0 0 0 0 2H6.829a2.995 2.995 0 0 0 0-2h10.342Zm-2.463-5.707 3.998 4a3.013 3.013 0 0 0-1.414 1.414l-4-3.999a3.014 3.014 0 0 0 1.31-1.214l.106-.201ZM2.998 6.829a2.995 2.995 0 0 0 2.002 0v10.342a2.993 2.993 0 0 0-2.002 0V6.83ZM12 10a2 2 0 1 1 0 4 2 2 0 0 1 0-4Zm1.84-3.919c.464.483 1.09.81 1.79.896l-1.47 2.94a2.992 2.992 0 0 0-1.79-.894l1.47-2.942ZM16 2a2 2 0 1 1 0 4 2 2 0 0 1 0-4ZM4 2a2 2 0 1 1 0 4 2 2 0 0 1 0-4Zm9.171.998a2.994 2.994 0 0 0 0 2.002H6.829a2.995 2.995 0 0 0 0-2.002h6.342Z", fill: "currentColor" }), e[0] = n) : n = e[0];
172
+ let i;
173
+ e[0] === Symbol.for("react.memo_cache_sentinel") ? (i = /* @__PURE__ */ n("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M4 18a2 2 0 1 1 0 4 2 2 0 0 1 0-4Zm16 0a2 2 0 1 1 0 4 2 2 0 0 1 0-4Zm-2.829 1a2.996 2.996 0 0 0 0 2H6.829a2.995 2.995 0 0 0 0-2h10.342Zm-2.463-5.707 3.998 4a3.013 3.013 0 0 0-1.414 1.414l-4-3.999a3.014 3.014 0 0 0 1.31-1.214l.106-.201ZM2.998 6.829a2.995 2.995 0 0 0 2.002 0v10.342a2.993 2.993 0 0 0-2.002 0V6.83ZM12 10a2 2 0 1 1 0 4 2 2 0 0 1 0-4Zm1.84-3.919c.464.483 1.09.81 1.79.896l-1.47 2.94a2.992 2.992 0 0 0-1.79-.894l1.47-2.942ZM16 2a2 2 0 1 1 0 4 2 2 0 0 1 0-4ZM4 2a2 2 0 1 1 0 4 2 2 0 0 1 0-4Zm9.171.998a2.994 2.994 0 0 0 0 2.002H6.829a2.995 2.995 0 0 0 0-2.002h6.342Z", fill: "currentColor" }), e[0] = i) : i = e[0];
174
174
  let o;
175
- return e[1] !== t ? (o = /* @__PURE__ */ i("svg", { fill: "none", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", ...t, children: n }), e[1] = t, e[2] = o) : o = e[2], o;
175
+ return e[1] !== t ? (o = /* @__PURE__ */ n("svg", { fill: "none", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", ...t, children: i }), e[1] = t, e[2] = o) : o = e[2], o;
176
176
  }
177
177
  function ut(t) {
178
178
  const e = R(3);
179
- let n;
180
- e[0] === Symbol.for("react.memo_cache_sentinel") ? (n = /* @__PURE__ */ i("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M4 18a2 2 0 1 1 0 4 2 2 0 0 1 0-4Zm16 0a2 2 0 1 1 0 4 2 2 0 0 1 0-4Zm-2.829 1a2.993 2.993 0 0 0-.17.974l-.001.052.007.183a3 3 0 0 0 .164.79H6.829a2.995 2.995 0 0 0 0-2h10.342ZM2.998 6.828a2.995 2.995 0 0 0 2.002 0V17.17a2.993 2.993 0 0 0-2.002 0V6.83Zm16.001 0a2.995 2.995 0 0 0 2 0V17.17a2.993 2.993 0 0 0-2 0V6.829ZM20 2a2 2 0 1 1 0 4 2 2 0 0 1 0-4ZM4 2a2 2 0 1 1 0 4 2 2 0 0 1 0-4Zm13.171.998a2.991 2.991 0 0 0-.17.976L17 4.026l.007.183a3 3 0 0 0 .164.79H6.829a2.995 2.995 0 0 0 0-2H17.17Z", fill: "currentColor" }), e[0] = n) : n = e[0];
179
+ let i;
180
+ e[0] === Symbol.for("react.memo_cache_sentinel") ? (i = /* @__PURE__ */ n("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M4 18a2 2 0 1 1 0 4 2 2 0 0 1 0-4Zm16 0a2 2 0 1 1 0 4 2 2 0 0 1 0-4Zm-2.829 1a2.993 2.993 0 0 0-.17.974l-.001.052.007.183a3 3 0 0 0 .164.79H6.829a2.995 2.995 0 0 0 0-2h10.342ZM2.998 6.828a2.995 2.995 0 0 0 2.002 0V17.17a2.993 2.993 0 0 0-2.002 0V6.83Zm16.001 0a2.995 2.995 0 0 0 2 0V17.17a2.993 2.993 0 0 0-2 0V6.829ZM20 2a2 2 0 1 1 0 4 2 2 0 0 1 0-4ZM4 2a2 2 0 1 1 0 4 2 2 0 0 1 0-4Zm13.171.998a2.991 2.991 0 0 0-.17.976L17 4.026l.007.183a3 3 0 0 0 .164.79H6.829a2.995 2.995 0 0 0 0-2H17.17Z", fill: "currentColor" }), e[0] = i) : i = e[0];
181
181
  let o;
182
- return e[1] !== t ? (o = /* @__PURE__ */ i("svg", { fill: "none", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", ...t, children: n }), e[1] = t, e[2] = o) : o = e[2], o;
182
+ return e[1] !== t ? (o = /* @__PURE__ */ n("svg", { fill: "none", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", ...t, children: i }), e[1] = t, e[2] = o) : o = e[2], o;
183
183
  }
184
184
  function mt(t) {
185
185
  const e = R(3);
186
- let n;
187
- e[0] === Symbol.for("react.memo_cache_sentinel") ? (n = /* @__PURE__ */ i("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2Zm0 2a8 8 0 1 0 0 16 8 8 0 0 0 0-16Zm0 6a2 2 0 1 1 0 4 2 2 0 0 1 0-4Z", fill: "currentColor" }), e[0] = n) : n = e[0];
186
+ let i;
187
+ e[0] === Symbol.for("react.memo_cache_sentinel") ? (i = /* @__PURE__ */ n("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2Zm0 2a8 8 0 1 0 0 16 8 8 0 0 0 0-16Zm0 6a2 2 0 1 1 0 4 2 2 0 0 1 0-4Z", fill: "currentColor" }), e[0] = i) : i = e[0];
188
188
  let o;
189
- return e[1] !== t ? (o = /* @__PURE__ */ i("svg", { fill: "none", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", ...t, children: n }), e[1] = t, e[2] = o) : o = e[2], o;
189
+ return e[1] !== t ? (o = /* @__PURE__ */ n("svg", { fill: "none", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", ...t, children: i }), e[1] = t, e[2] = o) : o = e[2], o;
190
190
  }
191
191
  function ht(t) {
192
192
  const e = R(3);
193
- let n;
194
- e[0] === Symbol.for("react.memo_cache_sentinel") ? (n = /* @__PURE__ */ i("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M12 3c4.935 0 9 3.736 9 9l-.002.343-.012.668c-.012.438-.033.86-.062 1.266l-.05.597C20.498 18.767 19.267 21 17 21c-1.192 0-1.971-.341-2.988-1.122l-.472-.375c-.401-.319-.64-.473-.888-.566a4.938 4.938 0 0 0-.415-.13l-.34-.085-.398-.086-.456-.086-.66-.111-1.708-.273a9.112 9.112 0 0 1-.952-.206C5.46 17.301 3 14.954 3 12.015c0-1.508.485-2.995 1.436-4.458.355.585.906 1.04 1.562 1.272C5.328 9.916 5 10.977 5 12.015c0 1.889 1.78 3.588 3.282 4.025l.085.023.345.076.517.092 1.619.257.583.1.518.098.237.05.433.103c.272.07.512.143.73.224.434.161.783.373 1.235.718l.457.362c.806.646 1.24.857 1.959.857.893 0 1.63-1.518 1.895-4.45l.045-.585c.013-.2.024-.407.033-.62l.02-.655c.005-.224.007-.454.007-.69 0-4.12-3.133-7-7-7a1 1 0 1 1 0-2ZM7 4a2 2 0 1 1 0 4 2 2 0 0 1 0-4Z", fill: "currentColor" }), e[0] = n) : n = e[0];
193
+ let i;
194
+ e[0] === Symbol.for("react.memo_cache_sentinel") ? (i = /* @__PURE__ */ n("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M12 3c4.935 0 9 3.736 9 9l-.002.343-.012.668c-.012.438-.033.86-.062 1.266l-.05.597C20.498 18.767 19.267 21 17 21c-1.192 0-1.971-.341-2.988-1.122l-.472-.375c-.401-.319-.64-.473-.888-.566a4.938 4.938 0 0 0-.415-.13l-.34-.085-.398-.086-.456-.086-.66-.111-1.708-.273a9.112 9.112 0 0 1-.952-.206C5.46 17.301 3 14.954 3 12.015c0-1.508.485-2.995 1.436-4.458.355.585.906 1.04 1.562 1.272C5.328 9.916 5 10.977 5 12.015c0 1.889 1.78 3.588 3.282 4.025l.085.023.345.076.517.092 1.619.257.583.1.518.098.237.05.433.103c.272.07.512.143.73.224.434.161.783.373 1.235.718l.457.362c.806.646 1.24.857 1.959.857.893 0 1.63-1.518 1.895-4.45l.045-.585c.013-.2.024-.407.033-.62l.02-.655c.005-.224.007-.454.007-.69 0-4.12-3.133-7-7-7a1 1 0 1 1 0-2ZM7 4a2 2 0 1 1 0 4 2 2 0 0 1 0-4Z", fill: "currentColor" }), e[0] = i) : i = e[0];
195
195
  let o;
196
- return e[1] !== t ? (o = /* @__PURE__ */ i("svg", { fill: "none", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", ...t, children: n }), e[1] = t, e[2] = o) : o = e[2], o;
196
+ return e[1] !== t ? (o = /* @__PURE__ */ n("svg", { fill: "none", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", ...t, children: i }), e[1] = t, e[2] = o) : o = e[2], o;
197
197
  }
198
198
  function ft(t) {
199
199
  const e = R(3);
200
- let n;
201
- e[0] === Symbol.for("react.memo_cache_sentinel") ? (n = /* @__PURE__ */ i("path", { fillRule: "evenodd", clipRule: "evenodd", d: "m10.083 19.394.057.113a1 1 0 0 0 1.72.007l2.869-4.786 4.786-2.87a1 1 0 0 0-.121-1.777l-14-6c-.83-.356-1.669.483-1.313 1.313l6.002 14ZM6.905 6.904l9.903 4.244-3.322 1.995-.102.069a1 1 0 0 0-.242.274l-1.992 3.321-4.245-9.903Z", fill: "currentColor" }), e[0] = n) : n = e[0];
200
+ let i;
201
+ e[0] === Symbol.for("react.memo_cache_sentinel") ? (i = /* @__PURE__ */ n("path", { fillRule: "evenodd", clipRule: "evenodd", d: "m10.083 19.394.057.113a1 1 0 0 0 1.72.007l2.869-4.786 4.786-2.87a1 1 0 0 0-.121-1.777l-14-6c-.83-.356-1.669.483-1.313 1.313l6.002 14ZM6.905 6.904l9.903 4.244-3.322 1.995-.102.069a1 1 0 0 0-.242.274l-1.992 3.321-4.245-9.903Z", fill: "currentColor" }), e[0] = i) : i = e[0];
202
202
  let o;
203
- return e[1] !== t ? (o = /* @__PURE__ */ i("svg", { fill: "none", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", ...t, children: n }), e[1] = t, e[2] = o) : o = e[2], o;
203
+ return e[1] !== t ? (o = /* @__PURE__ */ n("svg", { fill: "none", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", ...t, children: i }), e[1] = t, e[2] = o) : o = e[2], o;
204
204
  }
205
- const E = {
205
+ const j = {
206
206
  action: {
207
207
  tooltip: {
208
208
  active: "Click on the map to trace the line you want to measure",
@@ -238,7 +238,7 @@ const E = {
238
238
  },
239
239
  deleteAll: "Remove all"
240
240
  }
241
- }, Et = {
241
+ }, Vt = {
242
242
  polygon: {
243
243
  icon: dt
244
244
  },
@@ -263,12 +263,12 @@ function gt() {
263
263
  if (_e) return we;
264
264
  _e = 1;
265
265
  var t = function(u) {
266
- return e(u) && !n(u);
266
+ return e(u) && !i(u);
267
267
  };
268
268
  function e(a) {
269
269
  return !!a && typeof a == "object";
270
270
  }
271
- function n(a) {
271
+ function i(a) {
272
272
  var u = Object.prototype.toString.call(a);
273
273
  return u === "[object RegExp]" || u === "[object Date]" || d(a);
274
274
  }
@@ -339,12 +339,12 @@ const Ce = /* @__PURE__ */ pt(vt);
339
339
  function ke(t) {
340
340
  var a;
341
341
  const e = R(18), {
342
- chipProps: n,
342
+ chipProps: i,
343
343
  value: o,
344
344
  labels: l,
345
345
  onChipToggle: d,
346
346
  onDelete: r
347
- } = t, s = o.visible ? "active" : "inactive", c = ((a = l == null ? void 0 : l.tooltip) == null ? void 0 : a[s]) ?? E.chip.tooltip[s], h = n == null ? void 0 : n.TooltipProps;
347
+ } = t, s = o.visible ? "active" : "inactive", c = ((a = l == null ? void 0 : l.tooltip) == null ? void 0 : a[s]) ?? j.chip.tooltip[s], h = i == null ? void 0 : i.TooltipProps;
348
348
  let m;
349
349
  e[0] === Symbol.for("react.memo_cache_sentinel") ? (m = {
350
350
  ...G.chip.chip
@@ -354,16 +354,16 @@ function ke(t) {
354
354
  e[1] !== r || e[2] !== o.id ? (v = () => r(o.id), e[1] = r, e[2] = o.id, e[3] = v) : v = e[3];
355
355
  let p;
356
356
  e[4] !== d || e[5] !== o.id || e[6] !== o.visible ? (p = () => d(o.id, !o.visible), e[4] = d, e[5] = o.id, e[6] = o.visible, e[7] = p) : p = e[7];
357
- const A = n == null ? void 0 : n.ChipsProps;
357
+ const A = i == null ? void 0 : i.ChipsProps;
358
358
  let y;
359
- e[8] !== f || e[9] !== v || e[10] !== p || e[11] !== A || e[12] !== o.label ? (y = /* @__PURE__ */ i(Ge, { sx: m, color: f, size: "small", onDelete: v, label: o.label, onClick: p, ...A }), e[8] = f, e[9] = v, e[10] = p, e[11] = A, e[12] = o.label, e[13] = y) : y = e[13];
359
+ e[8] !== f || e[9] !== v || e[10] !== p || e[11] !== A || e[12] !== o.label ? (y = /* @__PURE__ */ n(Ge, { sx: m, color: f, size: "small", onDelete: v, label: o.label, onClick: p, ...A }), e[8] = f, e[9] = v, e[10] = p, e[11] = A, e[12] = o.label, e[13] = y) : y = e[13];
360
360
  let M;
361
- return e[14] !== c || e[15] !== h || e[16] !== y ? (M = /* @__PURE__ */ i(le, { title: c, placement: "bottom", ...h, children: y }), e[14] = c, e[15] = h, e[16] = y, e[17] = M) : M = e[17], M;
361
+ return e[14] !== c || e[15] !== h || e[16] !== y ? (M = /* @__PURE__ */ n(le, { title: c, placement: "bottom", ...h, children: y }), e[14] = c, e[15] = h, e[16] = y, e[17] = M) : M = e[17], M;
362
362
  }
363
- function $t({
363
+ function Gt({
364
364
  enabled: t,
365
365
  values: e = [],
366
- actionProps: n,
366
+ actionProps: i,
367
367
  chipProps: o,
368
368
  labels: l,
369
369
  modes: d,
@@ -388,43 +388,43 @@ function $t({
388
388
  ...G.container,
389
389
  ...c
390
390
  }, ...h, children: [
391
- /* @__PURE__ */ i(yt, { actionProps: n, labels: l == null ? void 0 : l.action, enabled: t, onActionToggle: C, children: (w == null ? void 0 : w.icon) && /* @__PURE__ */ i(w.icon, {}) }),
392
- /* @__PURE__ */ i(Be, { children: (b) => /* @__PURE__ */ D(j, { children: [
393
- /* @__PURE__ */ i(wt, { data: S, labels: l == null ? void 0 : l.options, children: /* @__PURE__ */ i(De, { ...b, labels: l == null ? void 0 : l.options, data: S, modeSelected: T, onChangeMode: x }) }),
394
- !!a && /* @__PURE__ */ D(j, { children: [
395
- /* @__PURE__ */ i(K, {}),
396
- /* @__PURE__ */ i(De, { ...b, labels: l == null ? void 0 : l.options, data: [{
391
+ /* @__PURE__ */ n(yt, { actionProps: i, labels: l == null ? void 0 : l.action, enabled: t, onActionToggle: C, children: (w == null ? void 0 : w.icon) && /* @__PURE__ */ n(w.icon, {}) }),
392
+ /* @__PURE__ */ n(Ee, { children: (b) => /* @__PURE__ */ D(P, { children: [
393
+ /* @__PURE__ */ n(wt, { data: S, labels: l == null ? void 0 : l.options, children: /* @__PURE__ */ n(De, { ...b, labels: l == null ? void 0 : l.options, data: S, modeSelected: T, onChangeMode: x }) }),
394
+ !!a && /* @__PURE__ */ D(P, { children: [
395
+ /* @__PURE__ */ n(K, {}),
396
+ /* @__PURE__ */ n(De, { ...b, labels: l == null ? void 0 : l.options, data: [{
397
397
  ...a,
398
398
  disabled: !e.length
399
399
  }], modeSelected: T, onChangeMode: x })
400
400
  ] })
401
401
  ] }) }),
402
- !!e.length && /* @__PURE__ */ i(ee, { sx: G.chip.container, children: e.map((b) => /* @__PURE__ */ i(ke, { value: b, labels: l == null ? void 0 : l.chip, chipProps: o, onDelete: g, onChipToggle: f }, b.id)) }),
403
- /* @__PURE__ */ i(xt, { values: e, labels: l == null ? void 0 : l.actions, onAllChipToggle: A, onAllDelete: y })
402
+ !!e.length && /* @__PURE__ */ n(ee, { sx: G.chip.container, children: e.map((b) => /* @__PURE__ */ n(ke, { value: b, labels: l == null ? void 0 : l.chip, chipProps: o, onDelete: g, onChipToggle: f }, b.id)) }),
403
+ /* @__PURE__ */ n(xt, { values: e, labels: l == null ? void 0 : l.actions, onAllChipToggle: A, onAllDelete: y })
404
404
  ] });
405
405
  }
406
406
  function yt(t) {
407
407
  var p;
408
408
  const e = R(12), {
409
- actionProps: n,
409
+ actionProps: i,
410
410
  labels: o,
411
411
  enabled: l,
412
412
  children: d,
413
413
  onActionToggle: r
414
- } = t, s = l ? "active" : "inactive", c = ((p = o == null ? void 0 : o.tooltip) == null ? void 0 : p[s]) ?? E.action.tooltip[s], h = n == null ? void 0 : n.TooltipProps;
414
+ } = t, s = l ? "active" : "inactive", c = ((p = o == null ? void 0 : o.tooltip) == null ? void 0 : p[s]) ?? j.action.tooltip[s], h = i == null ? void 0 : i.TooltipProps;
415
415
  let m;
416
416
  e[0] !== l || e[1] !== r ? (m = () => r(!l), e[0] = l, e[1] = r, e[2] = m) : m = e[2];
417
417
  let f;
418
- e[3] !== c || e[4] !== d || e[5] !== l || e[6] !== m ? (f = /* @__PURE__ */ i(ae, { value: "toggle", sx: G.actions.icon, onClick: m, "aria-label": c, selected: l, children: d }), e[3] = c, e[4] = d, e[5] = l, e[6] = m, e[7] = f) : f = e[7];
418
+ e[3] !== c || e[4] !== d || e[5] !== l || e[6] !== m ? (f = /* @__PURE__ */ n(ae, { value: "toggle", sx: G.actions.icon, onClick: m, "aria-label": c, selected: l, children: d }), e[3] = c, e[4] = d, e[5] = l, e[6] = m, e[7] = f) : f = e[7];
419
419
  let v;
420
- return e[8] !== c || e[9] !== h || e[10] !== f ? (v = /* @__PURE__ */ i(le, { title: c, placement: "right", ...h, children: f }), e[8] = c, e[9] = h, e[10] = f, e[11] = v) : v = e[11], v;
420
+ return e[8] !== c || e[9] !== h || e[10] !== f ? (v = /* @__PURE__ */ n(le, { title: c, placement: "right", ...h, children: f }), e[8] = c, e[9] = h, e[10] = f, e[11] = v) : v = e[11], v;
421
421
  }
422
- function Be({
422
+ function Ee({
423
423
  TriggerProps: {
424
- Icon: t = /* @__PURE__ */ i(Ze, {}),
424
+ Icon: t = /* @__PURE__ */ n(Ze, {}),
425
425
  sx: e
426
426
  } = {},
427
- MenuProps: n,
427
+ MenuProps: i,
428
428
  children: o
429
429
  }) {
430
430
  const [l, d] = ie(null), r = !!l, s = (h) => {
@@ -432,15 +432,15 @@ function Be({
432
432
  }, c = () => {
433
433
  d(null);
434
434
  };
435
- return /* @__PURE__ */ D(j, { children: [
436
- /* @__PURE__ */ i(Q, { sx: {
435
+ return /* @__PURE__ */ D(P, { children: [
436
+ /* @__PURE__ */ n(Q, { sx: {
437
437
  ...G.options.icon,
438
438
  ...e
439
439
  }, onClick: s, children: t }),
440
- /* @__PURE__ */ i(Oe, { id: "lasso-menu", anchorEl: l, open: r, onClose: c, MenuListProps: {
440
+ /* @__PURE__ */ n(Oe, { id: "lasso-menu", anchorEl: l, open: r, onClose: c, MenuListProps: {
441
441
  "aria-labelledby": "lasso-button",
442
442
  sx: G.options.menu
443
- }, ...n, children: /* @__PURE__ */ i("div", { children: o({
443
+ }, ...i, children: /* @__PURE__ */ n("div", { children: o({
444
444
  onClose: c
445
445
  }) }) })
446
446
  ] });
@@ -448,17 +448,17 @@ function Be({
448
448
  function wt(t) {
449
449
  var c;
450
450
  const e = R(5), {
451
- data: n,
451
+ data: i,
452
452
  labels: o,
453
453
  children: l
454
454
  } = t;
455
- if (n.length <= 1)
455
+ if (i.length <= 1)
456
456
  return null;
457
- const d = ((c = o == null ? void 0 : o.mode) == null ? void 0 : c.title) ?? E.options.mode.title;
457
+ const d = ((c = o == null ? void 0 : o.mode) == null ? void 0 : c.title) ?? j.options.mode.title;
458
458
  let r;
459
- e[0] !== d ? (r = /* @__PURE__ */ i(H, { variant: "subtitle2", color: "text.secondary", sx: G.options.title, children: d }), e[0] = d, e[1] = r) : r = e[1];
459
+ e[0] !== d ? (r = /* @__PURE__ */ n(z, { variant: "subtitle2", color: "text.secondary", sx: G.options.title, children: d }), e[0] = d, e[1] = r) : r = e[1];
460
460
  let s;
461
- return e[2] !== l || e[3] !== r ? (s = /* @__PURE__ */ D(j, { children: [
461
+ return e[2] !== l || e[3] !== r ? (s = /* @__PURE__ */ D(P, { children: [
462
462
  r,
463
463
  l
464
464
  ] }), e[2] = l, e[3] = r, e[4] = s) : s = e[4], s;
@@ -466,7 +466,7 @@ function wt(t) {
466
466
  function De({
467
467
  data: t,
468
468
  modeSelected: e,
469
- labels: n,
469
+ labels: i,
470
470
  onChangeMode: o,
471
471
  onClose: l
472
472
  }) {
@@ -475,29 +475,29 @@ function De({
475
475
  };
476
476
  return t.map((r) => {
477
477
  var h;
478
- const c = (((h = n == null ? void 0 : n.mode) == null ? void 0 : h.options) ?? E.options.mode.options)[r.value];
478
+ const c = (((h = i == null ? void 0 : i.mode) == null ? void 0 : h.options) ?? j.options.mode.options)[r.value];
479
479
  return /* @__PURE__ */ D(re, { disabled: !!r.disabled, onClick: (m) => d(m, r.value), selected: r.value === e, children: [
480
- /* @__PURE__ */ i(Ie, { sx: G.options.icons, children: /* @__PURE__ */ i(Me, { children: /* @__PURE__ */ i(r.icon, {}) }) }),
481
- /* @__PURE__ */ i(ce, { children: c })
480
+ /* @__PURE__ */ n(Ie, { sx: G.options.icons, children: /* @__PURE__ */ n(Me, { children: /* @__PURE__ */ n(r.icon, {}) }) }),
481
+ /* @__PURE__ */ n(ce, { children: c })
482
482
  ] }, r.value);
483
483
  });
484
484
  }
485
485
  function xt(t) {
486
486
  var p, A;
487
487
  const e = R(8), {
488
- values: n,
488
+ values: i,
489
489
  labels: o,
490
490
  onAllChipToggle: l,
491
491
  onAllDelete: d
492
492
  } = t;
493
- if (n.length <= 1)
493
+ if (i.length <= 1)
494
494
  return null;
495
- const s = n.some(Mt) ? ((p = o == null ? void 0 : o.toggleAll) == null ? void 0 : p.active) ?? E.actions.toggleAll.active : ((A = o == null ? void 0 : o.toggleAll) == null ? void 0 : A.inactive) ?? E.actions.toggleAll.inactive, c = (o == null ? void 0 : o.deleteAll) ?? E.actions.deleteAll;
495
+ const s = i.some(Mt) ? ((p = o == null ? void 0 : o.toggleAll) == null ? void 0 : p.active) ?? j.actions.toggleAll.active : ((A = o == null ? void 0 : o.toggleAll) == null ? void 0 : A.inactive) ?? j.actions.toggleAll.inactive, c = (o == null ? void 0 : o.deleteAll) ?? j.actions.deleteAll;
496
496
  let h;
497
- e[0] === Symbol.for("react.memo_cache_sentinel") ? (h = /* @__PURE__ */ i(K, { orientation: "vertical", flexItem: !0 }), e[0] = h) : h = e[0];
497
+ e[0] === Symbol.for("react.memo_cache_sentinel") ? (h = /* @__PURE__ */ n(K, { orientation: "vertical", flexItem: !0 }), e[0] = h) : h = e[0];
498
498
  let m, f;
499
499
  e[1] === Symbol.for("react.memo_cache_sentinel") ? (m = {
500
- Icon: /* @__PURE__ */ i(tt, {}),
500
+ Icon: /* @__PURE__ */ n(tt, {}),
501
501
  sx: G.options.more
502
502
  }, f = {
503
503
  anchorOrigin: {
@@ -510,26 +510,26 @@ function xt(t) {
510
510
  }
511
511
  }, e[1] = m, e[2] = f) : (m = e[1], f = e[2]);
512
512
  let v;
513
- return e[3] !== c || e[4] !== l || e[5] !== d || e[6] !== s ? (v = /* @__PURE__ */ D(j, { children: [
513
+ return e[3] !== c || e[4] !== l || e[5] !== d || e[6] !== s ? (v = /* @__PURE__ */ D(P, { children: [
514
514
  h,
515
- /* @__PURE__ */ i(Be, { TriggerProps: m, MenuProps: f, children: (y) => /* @__PURE__ */ D(j, { children: [
516
- /* @__PURE__ */ i(re, { color: "inherit", onClick: () => {
515
+ /* @__PURE__ */ n(Ee, { TriggerProps: m, MenuProps: f, children: (y) => /* @__PURE__ */ D(P, { children: [
516
+ /* @__PURE__ */ n(re, { color: "inherit", onClick: () => {
517
517
  l(), y.onClose();
518
518
  }, children: s }),
519
- /* @__PURE__ */ i(K, {}),
520
- /* @__PURE__ */ i(re, { color: "error", onClick: () => {
519
+ /* @__PURE__ */ n(K, {}),
520
+ /* @__PURE__ */ n(re, { color: "error", onClick: () => {
521
521
  d(), y.onClose();
522
- }, children: /* @__PURE__ */ i(H, { variant: "body2", color: "error", children: c }) })
522
+ }, children: /* @__PURE__ */ n(z, { variant: "body2", color: "error", children: c }) })
523
523
  ] }) })
524
524
  ] }), e[3] = c, e[4] = l, e[5] = d, e[6] = s, e[7] = v) : v = e[7], v;
525
525
  }
526
526
  function Mt(t) {
527
527
  return t.visible;
528
528
  }
529
- function Ut({
529
+ function Ft({
530
530
  enabled: t,
531
531
  values: e = [],
532
- chipProps: n,
532
+ chipProps: i,
533
533
  labels: o,
534
534
  modes: l,
535
535
  modesMapping: d,
@@ -554,36 +554,36 @@ function Ut({
554
554
  ...G.container,
555
555
  ...s
556
556
  }, ...c, className: "inline", children: [
557
- /* @__PURE__ */ i(bt, { data: _, labels: o == null ? void 0 : o.options, children: /* @__PURE__ */ D(Re, { value: x == null ? void 0 : x.value, exclusive: !0, className: "inline", sx: G.options.menu, onChange: u, children: [
558
- /* @__PURE__ */ i(Le, { labels: o == null ? void 0 : o.options, data: _ }),
559
- !!y && /* @__PURE__ */ D(j, { children: [
560
- /* @__PURE__ */ i(K, { orientation: "vertical" }),
561
- /* @__PURE__ */ i(Le, { labels: o == null ? void 0 : o.options, data: [{
557
+ /* @__PURE__ */ n(bt, { data: _, labels: o == null ? void 0 : o.options, children: /* @__PURE__ */ D(Re, { value: x == null ? void 0 : x.value, exclusive: !0, className: "inline", sx: G.options.menu, onChange: u, children: [
558
+ /* @__PURE__ */ n(Le, { labels: o == null ? void 0 : o.options, data: _ }),
559
+ !!y && /* @__PURE__ */ D(P, { children: [
560
+ /* @__PURE__ */ n(K, { orientation: "vertical" }),
561
+ /* @__PURE__ */ n(Le, { labels: o == null ? void 0 : o.options, data: [{
562
562
  ...y,
563
563
  disabled: !e.length
564
564
  }] })
565
565
  ] })
566
566
  ] }) }),
567
- /* @__PURE__ */ i(K, { flexItem: !0 }),
568
- /* @__PURE__ */ i(Ct, { hasValues: !!e.length, labels: o == null ? void 0 : o.noData }),
569
- !!e.length && /* @__PURE__ */ i(ee, { sx: G.chip.container, className: "inline", children: e.map((T) => /* @__PURE__ */ i(ke, { value: T, labels: o == null ? void 0 : o.chip, chipProps: n, onDelete: a, onChipToggle: h }, T.id)) }),
570
- /* @__PURE__ */ i(Tt, { values: e, labels: o == null ? void 0 : o.actions, onAllChipToggle: v, onAllDelete: p })
567
+ /* @__PURE__ */ n(K, { flexItem: !0 }),
568
+ /* @__PURE__ */ n(Ct, { hasValues: !!e.length, labels: o == null ? void 0 : o.noData }),
569
+ !!e.length && /* @__PURE__ */ n(ee, { sx: G.chip.container, className: "inline", children: e.map((T) => /* @__PURE__ */ n(ke, { value: T, labels: o == null ? void 0 : o.chip, chipProps: i, onDelete: a, onChipToggle: h }, T.id)) }),
570
+ /* @__PURE__ */ n(Tt, { values: e, labels: o == null ? void 0 : o.actions, onAllChipToggle: v, onAllDelete: p })
571
571
  ] });
572
572
  }
573
573
  function bt(t) {
574
574
  var c;
575
575
  const e = R(5), {
576
- data: n,
576
+ data: i,
577
577
  labels: o,
578
578
  children: l
579
579
  } = t;
580
- if (n.length <= 1)
580
+ if (i.length <= 1)
581
581
  return null;
582
- const d = ((c = o == null ? void 0 : o.mode) == null ? void 0 : c.title) ?? E.options.mode.title;
582
+ const d = ((c = o == null ? void 0 : o.mode) == null ? void 0 : c.title) ?? j.options.mode.title;
583
583
  let r;
584
- e[0] !== d ? (r = /* @__PURE__ */ i(H, { variant: "subtitle2", color: "text.secondary", sx: G.options.title, className: "inline", children: d }), e[0] = d, e[1] = r) : r = e[1];
584
+ e[0] !== d ? (r = /* @__PURE__ */ n(z, { variant: "subtitle2", color: "text.secondary", sx: G.options.title, className: "inline", children: d }), e[0] = d, e[1] = r) : r = e[1];
585
585
  let s;
586
- return e[2] !== l || e[3] !== r ? (s = /* @__PURE__ */ D(j, { children: [
586
+ return e[2] !== l || e[3] !== r ? (s = /* @__PURE__ */ D(P, { children: [
587
587
  r,
588
588
  l
589
589
  ] }), e[2] = l, e[3] = r, e[4] = s) : s = e[4], s;
@@ -592,26 +592,26 @@ function Le({
592
592
  data: t,
593
593
  labels: e
594
594
  }) {
595
- return t.map((n) => {
595
+ return t.map((i) => {
596
596
  var d;
597
- const l = (((d = e == null ? void 0 : e.mode) == null ? void 0 : d.options) ?? E.options.mode.options)[n.value];
598
- return /* @__PURE__ */ i(le, { title: l, placement: "bottom", children: /* @__PURE__ */ i(ae, { disabled: !!n.disabled, value: n.value, "aria-label": n.value, children: /* @__PURE__ */ i(Me, { children: /* @__PURE__ */ i(n.icon, {}) }) }) }, n.value);
597
+ const l = (((d = e == null ? void 0 : e.mode) == null ? void 0 : d.options) ?? j.options.mode.options)[i.value];
598
+ return /* @__PURE__ */ n(le, { title: l, placement: "bottom", children: /* @__PURE__ */ n(ae, { disabled: !!i.disabled, value: i.value, "aria-label": i.value, children: /* @__PURE__ */ n(Me, { children: /* @__PURE__ */ n(i.icon, {}) }) }) }, i.value);
599
599
  });
600
600
  }
601
601
  function Ct(t) {
602
602
  const e = R(7), {
603
- hasValues: n,
603
+ hasValues: i,
604
604
  labels: o
605
605
  } = t;
606
- if (n)
606
+ if (i)
607
607
  return null;
608
- const l = (o == null ? void 0 : o.title) ?? E.noData.title, d = (o == null ? void 0 : o.description) ?? E.noData.description;
608
+ const l = (o == null ? void 0 : o.title) ?? j.noData.title, d = (o == null ? void 0 : o.description) ?? j.noData.description;
609
609
  let r;
610
- e[0] !== l ? (r = /* @__PURE__ */ i(H, { variant: "body1", color: "textSecondary", children: l }), e[0] = l, e[1] = r) : r = e[1];
610
+ e[0] !== l ? (r = /* @__PURE__ */ n(z, { variant: "body1", color: "textSecondary", children: l }), e[0] = l, e[1] = r) : r = e[1];
611
611
  let s;
612
- e[2] !== d ? (s = /* @__PURE__ */ i(H, { variant: "body2", color: "textSecondary", children: d }), e[2] = d, e[3] = s) : s = e[3];
612
+ e[2] !== d ? (s = /* @__PURE__ */ n(z, { variant: "body2", color: "textSecondary", children: d }), e[2] = d, e[3] = s) : s = e[3];
613
613
  let c;
614
- return e[4] !== r || e[5] !== s ? (c = /* @__PURE__ */ D(j, { children: [
614
+ return e[4] !== r || e[5] !== s ? (c = /* @__PURE__ */ D(P, { children: [
615
615
  r,
616
616
  s
617
617
  ] }), e[4] = r, e[5] = s, e[6] = c) : c = e[6], c;
@@ -619,18 +619,18 @@ function Ct(t) {
619
619
  function Tt(t) {
620
620
  var v, p;
621
621
  const e = R(9), {
622
- values: n,
622
+ values: i,
623
623
  labels: o,
624
624
  onAllChipToggle: l,
625
625
  onAllDelete: d
626
626
  } = t;
627
- if (n.length <= 1)
627
+ if (i.length <= 1)
628
628
  return null;
629
- const s = n.some(St) ? ((v = o == null ? void 0 : o.toggleAll) == null ? void 0 : v.active) ?? E.actions.toggleAll.active : ((p = o == null ? void 0 : o.toggleAll) == null ? void 0 : p.inactive) ?? E.actions.toggleAll.inactive, c = (o == null ? void 0 : o.deleteAll) ?? E.actions.deleteAll;
629
+ const s = i.some(St) ? ((v = o == null ? void 0 : o.toggleAll) == null ? void 0 : v.active) ?? j.actions.toggleAll.active : ((p = o == null ? void 0 : o.toggleAll) == null ? void 0 : p.inactive) ?? j.actions.toggleAll.inactive, c = (o == null ? void 0 : o.deleteAll) ?? j.actions.deleteAll;
630
630
  let h;
631
- e[0] !== l || e[1] !== s ? (h = /* @__PURE__ */ i(ge, { color: "inherit", onClick: l, children: s }), e[0] = l, e[1] = s, e[2] = h) : h = e[2];
631
+ e[0] !== l || e[1] !== s ? (h = /* @__PURE__ */ n(ge, { color: "inherit", onClick: l, children: s }), e[0] = l, e[1] = s, e[2] = h) : h = e[2];
632
632
  let m;
633
- e[3] !== c || e[4] !== d ? (m = /* @__PURE__ */ i(ge, { color: "error", onClick: d, children: c }), e[3] = c, e[4] = d, e[5] = m) : m = e[5];
633
+ e[3] !== c || e[4] !== d ? (m = /* @__PURE__ */ n(ge, { color: "error", onClick: d, children: c }), e[3] = c, e[4] = d, e[5] = m) : m = e[5];
634
634
  let f;
635
635
  return e[6] !== h || e[7] !== m ? (f = /* @__PURE__ */ D(ee, { children: [
636
636
  h,
@@ -640,6 +640,30 @@ function Tt(t) {
640
640
  function St(t) {
641
641
  return t.visible;
642
642
  }
643
+ function At(t) {
644
+ const e = R(3);
645
+ let i;
646
+ e[0] === Symbol.for("react.memo_cache_sentinel") ? (i = /* @__PURE__ */ n("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];
647
+ let o;
648
+ return e[1] !== t ? (o = /* @__PURE__ */ n("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;
649
+ }
650
+ function _t(t) {
651
+ const e = R(3);
652
+ let i;
653
+ e[0] === Symbol.for("react.memo_cache_sentinel") ? (i = /* @__PURE__ */ n("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];
654
+ let o;
655
+ return e[1] !== t ? (o = /* @__PURE__ */ n("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;
656
+ }
657
+ function Dt(t) {
658
+ const e = R(4);
659
+ let i, o;
660
+ e[0] === Symbol.for("react.memo_cache_sentinel") ? (i = /* @__PURE__ */ n("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__ */ n("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]);
661
+ let l;
662
+ return e[2] !== t ? (l = /* @__PURE__ */ D("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 18 18", ...t, children: [
663
+ i,
664
+ o
665
+ ] }), e[2] = t, e[3] = l) : l = e[3], l;
666
+ }
643
667
  const Y = {
644
668
  action: {
645
669
  tooltip: {
@@ -692,7 +716,7 @@ const Y = {
692
716
  }
693
717
  }
694
718
  }
695
- }, At = {
719
+ }, Lt = {
696
720
  "m-km": {
697
721
  short: "m-km"
698
722
  },
@@ -720,32 +744,17 @@ const Y = {
720
744
  feet: {
721
745
  short: "ft"
722
746
  }
723
- };
724
- function Vt(t) {
725
- const e = R(3);
726
- let n;
727
- e[0] === Symbol.for("react.memo_cache_sentinel") ? (n = /* @__PURE__ */ i("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] = n) : n = e[0];
728
- let o;
729
- return e[1] !== t ? (o = /* @__PURE__ */ i("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 18 18", fill: "currentColor", ...t, children: n }), e[1] = t, e[2] = o) : o = e[2], o;
730
- }
731
- function Gt(t) {
732
- const e = R(3);
733
- let n;
734
- e[0] === Symbol.for("react.memo_cache_sentinel") ? (n = /* @__PURE__ */ i("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] = n) : n = e[0];
735
- let o;
736
- return e[1] !== t ? (o = /* @__PURE__ */ i("svg", { fill: "none", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 18 18", ...t, children: n }), e[1] = t, e[2] = o) : o = e[2], o;
737
- }
738
- function Ft(t) {
739
- const e = R(4);
740
- let n, o;
741
- e[0] === Symbol.for("react.memo_cache_sentinel") ? (n = /* @__PURE__ */ i("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__ */ i("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] = n, e[1] = o) : (n = e[0], o = e[1]);
742
- let l;
743
- return e[2] !== t ? (l = /* @__PURE__ */ D("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 18 18", ...t, children: [
744
- n,
745
- o
746
- ] }), e[2] = t, e[3] = l) : l = e[3], l;
747
- }
748
- const V = {
747
+ }, Nt = {
748
+ distance: {
749
+ icon: /* @__PURE__ */ n(At, {})
750
+ },
751
+ buffer: {
752
+ icon: /* @__PURE__ */ n(_t, {})
753
+ },
754
+ area: {
755
+ icon: /* @__PURE__ */ n(Dt, {})
756
+ }
757
+ }, V = {
749
758
  container: {
750
759
  display: "flex",
751
760
  flexDirection: "row",
@@ -879,7 +888,7 @@ const V = {
879
888
  };
880
889
  function zt(t) {
881
890
  const e = R(46), {
882
- enabled: n,
891
+ enabled: i,
883
892
  actionProps: o,
884
893
  labels: l,
885
894
  modes: d,
@@ -892,7 +901,7 @@ function zt(t) {
892
901
  onActionToggle: v,
893
902
  onChangeMode: p,
894
903
  onChangeUnit: A
895
- } = t, y = s === void 0 ? At : s;
904
+ } = t, y = s === void 0 ? Lt : s;
896
905
  let M;
897
906
  e[0] !== h ? (M = h === void 0 ? {} : h, e[0] = h, e[1] = M) : M = e[1];
898
907
  let a, u;
@@ -901,7 +910,7 @@ function zt(t) {
901
910
  ...a
902
911
  } = M, e[2] = M, e[3] = a, e[4] = u) : (a = e[3], u = e[4]);
903
912
  let g;
904
- e[5] !== v ? (g = (z) => v(!!z), e[5] = v, e[6] = g) : g = e[6];
913
+ e[5] !== v ? (g = (N) => v(!!N), e[5] = v, e[6] = g) : g = e[6];
905
914
  const C = g;
906
915
  let x, _;
907
916
  e[7] !== d || e[8] !== r ? (_ = Ce(d, r), e[7] = d, e[8] = r, e[9] = _) : _ = e[9], x = _;
@@ -915,14 +924,14 @@ function zt(t) {
915
924
  e[14] !== b || e[15] !== L || e[16] !== m ? (Z = Object.keys(m).length >= 1 ? m : {
916
925
  [b]: L.slice(0, 1)
917
926
  }, e[14] = b, e[15] = L, e[16] = m, e[17] = Z) : Z = e[17];
918
- const B = Z[b];
927
+ const E = Z[b];
919
928
  let k;
920
- if (e[18] !== B || e[19] !== y) {
921
- let z;
922
- e[21] !== y ? (z = (ye) => ({
929
+ if (e[18] !== E || e[19] !== y) {
930
+ let N;
931
+ e[21] !== y ? (N = (ye) => ({
923
932
  ...ye,
924
933
  ...y[ye.value]
925
- }), e[21] = y, e[22] = z) : z = e[22], k = B.map(z), e[18] = B, e[19] = y, e[20] = k;
934
+ }), e[21] = y, e[22] = N) : N = e[22], k = E.map(N), e[18] = E, e[19] = y, e[20] = k;
926
935
  } else
927
936
  k = e[20];
928
937
  I = k;
@@ -933,39 +942,39 @@ function zt(t) {
933
942
  ...u
934
943
  }, e[23] = u, e[24] = $) : $ = e[24];
935
944
  const te = l == null ? void 0 : l.action, oe = O == null ? void 0 : O.icon;
936
- let N;
937
- e[25] !== o || e[26] !== n || e[27] !== C || e[28] !== te || e[29] !== oe ? (N = /* @__PURE__ */ i(_t, { actionProps: o, labels: te, enabled: n, onActionToggle: C, children: oe }), e[25] = o, e[26] = n, e[27] = C, e[28] = te, e[29] = oe, e[30] = N) : N = e[30];
945
+ let H;
946
+ e[25] !== o || e[26] !== i || e[27] !== C || e[28] !== te || e[29] !== oe ? (H = /* @__PURE__ */ n(Ot, { actionProps: o, labels: te, enabled: i, onActionToggle: C, children: oe }), e[25] = o, e[26] = i, e[27] = C, e[28] = te, e[29] = oe, e[30] = H) : H = e[30];
938
947
  const ne = l == null ? void 0 : l.options;
939
948
  let W;
940
- e[31] !== F || e[32] !== T || e[33] !== b || e[34] !== p || e[35] !== A || e[36] !== ne || e[37] !== f ? (W = /* @__PURE__ */ i(Dt, { labels: ne, modes: T, modeSelected: b, units: F, unitSelected: f, onChangeMode: p, onChangeUnit: A }), e[31] = F, e[32] = T, e[33] = b, e[34] = p, e[35] = A, e[36] = ne, e[37] = f, e[38] = W) : W = e[38];
949
+ e[31] !== F || e[32] !== T || e[33] !== b || e[34] !== p || e[35] !== A || e[36] !== ne || e[37] !== f ? (W = /* @__PURE__ */ n(It, { labels: ne, modes: T, modeSelected: b, units: F, unitSelected: f, onChangeMode: p, onChangeUnit: A }), e[31] = F, e[32] = T, e[33] = b, e[34] = p, e[35] = A, e[36] = ne, e[37] = f, e[38] = W) : W = e[38];
941
950
  let X;
942
- e[39] !== N || e[40] !== W ? (X = /* @__PURE__ */ D(ee, { children: [
943
- N,
951
+ e[39] !== H || e[40] !== W ? (X = /* @__PURE__ */ D(ee, { children: [
952
+ H,
944
953
  W
945
- ] }), e[39] = N, e[40] = W, e[41] = X) : X = e[41];
954
+ ] }), e[39] = H, e[40] = W, e[41] = X) : X = e[41];
946
955
  let q;
947
- return e[42] !== a || e[43] !== $ || e[44] !== X ? (q = /* @__PURE__ */ i(ve, { sx: $, ...a, children: X }), e[42] = a, e[43] = $, e[44] = X, e[45] = q) : q = e[45], q;
956
+ return e[42] !== a || e[43] !== $ || e[44] !== X ? (q = /* @__PURE__ */ n(ve, { sx: $, ...a, children: X }), e[42] = a, e[43] = $, e[44] = X, e[45] = q) : q = e[45], q;
948
957
  }
949
- function _t(t) {
958
+ function Ot(t) {
950
959
  var p;
951
960
  const e = R(12), {
952
- actionProps: n,
961
+ actionProps: i,
953
962
  labels: o,
954
963
  enabled: l,
955
964
  children: d,
956
965
  onActionToggle: r
957
- } = t, s = l ? "active" : "inactive", c = ((p = o == null ? void 0 : o.tooltip) == null ? void 0 : p[s]) ?? Y.action.tooltip[s], h = n == null ? void 0 : n.TooltipProps;
966
+ } = t, s = l ? "active" : "inactive", c = ((p = o == null ? void 0 : o.tooltip) == null ? void 0 : p[s]) ?? Y.action.tooltip[s], h = i == null ? void 0 : i.TooltipProps;
958
967
  let m;
959
968
  e[0] !== l || e[1] !== r ? (m = () => r(!l), e[0] = l, e[1] = r, e[2] = m) : m = e[2];
960
969
  let f;
961
- e[3] !== c || e[4] !== d || e[5] !== l || e[6] !== m ? (f = /* @__PURE__ */ i(ae, { value: "toggle", sx: V.actions.icon, onClick: m, "aria-label": c, selected: l, children: d }), e[3] = c, e[4] = d, e[5] = l, e[6] = m, e[7] = f) : f = e[7];
970
+ e[3] !== c || e[4] !== d || e[5] !== l || e[6] !== m ? (f = /* @__PURE__ */ n(ae, { value: "toggle", sx: V.actions.icon, onClick: m, "aria-label": c, selected: l, children: d }), e[3] = c, e[4] = d, e[5] = l, e[6] = m, e[7] = f) : f = e[7];
962
971
  let v;
963
- return e[8] !== c || e[9] !== h || e[10] !== f ? (v = /* @__PURE__ */ i(le, { title: c, placement: "right", ...h, children: f }), e[8] = c, e[9] = h, e[10] = f, e[11] = v) : v = e[11], v;
972
+ return e[8] !== c || e[9] !== h || e[10] !== f ? (v = /* @__PURE__ */ n(le, { title: c, placement: "right", ...h, children: f }), e[8] = c, e[9] = h, e[10] = f, e[11] = v) : v = e[11], v;
964
973
  }
965
- function Dt(t) {
966
- var F, $, te, oe, N, ne, W, X;
974
+ function It(t) {
975
+ var F, $, te, oe, H, ne, W, X;
967
976
  const e = R(68), {
968
- modes: n,
977
+ modes: i,
969
978
  modeSelected: o,
970
979
  units: l,
971
980
  unitSelected: d,
@@ -974,21 +983,21 @@ function Dt(t) {
974
983
  onChangeUnit: c
975
984
  } = t, [h, m] = ie(null), [f, v] = ie(!1);
976
985
  let p, A, y, M, a, u, g, C, x, _, T, w, S, b, O, I;
977
- if (e[0] !== h || e[1] !== ((F = r == null ? void 0 : r.mode) == null ? void 0 : F.options) || e[2] !== (($ = r == null ? void 0 : r.mode) == null ? void 0 : $.title) || e[3] !== ((te = r == null ? void 0 : r.units) == null ? void 0 : te.title) || e[4] !== o || e[5] !== n || e[6] !== s || e[7] !== c || e[8] !== d || e[9] !== l) {
986
+ if (e[0] !== h || e[1] !== ((F = r == null ? void 0 : r.mode) == null ? void 0 : F.options) || e[2] !== (($ = r == null ? void 0 : r.mode) == null ? void 0 : $.title) || e[3] !== ((te = r == null ? void 0 : r.units) == null ? void 0 : te.title) || e[4] !== o || e[5] !== i || e[6] !== s || e[7] !== c || e[8] !== d || e[9] !== l) {
978
987
  S = Symbol.for("react.early_return_sentinel");
979
988
  e: {
980
- const q = Object.values(n);
981
- let z;
982
- if (e[26] !== l ? (z = Object.values(l), e[26] = l, e[27] = z) : z = e[27], I = z, !(q.length > 1 || I.length > 1)) {
989
+ const q = Object.values(i);
990
+ let N;
991
+ if (e[26] !== l ? (N = Object.values(l), e[26] = l, e[27] = N) : N = e[27], I = N, !(q.length > 1 || I.length > 1)) {
983
992
  S = null;
984
993
  break e;
985
994
  }
986
- const je = !!h;
995
+ const Pe = !!h;
987
996
  let se;
988
997
  e[28] === Symbol.for("react.memo_cache_sentinel") ? (se = (U) => {
989
998
  m(U.currentTarget);
990
999
  }, e[28] = se) : se = e[28];
991
- const Pe = se;
1000
+ const Be = se;
992
1001
  let de;
993
1002
  e[29] === Symbol.for("react.memo_cache_sentinel") ? (de = () => {
994
1003
  m(null);
@@ -998,7 +1007,7 @@ function Dt(t) {
998
1007
  e[30] !== s ? (ue = (U, Se) => {
999
1008
  U.preventDefault(), s(Se.value), Te();
1000
1009
  }, e[30] = s, e[31] = ue) : ue = e[31];
1001
- const Ee = ue;
1010
+ const je = ue;
1002
1011
  let me;
1003
1012
  e[32] === Symbol.for("react.memo_cache_sentinel") ? (me = () => {
1004
1013
  v(!0);
@@ -1012,65 +1021,65 @@ function Dt(t) {
1012
1021
  M(), c(U);
1013
1022
  }, e[34] = c, e[35] = fe) : fe = e[35], A = fe;
1014
1023
  const $e = ((oe = r == null ? void 0 : r.mode) == null ? void 0 : oe.title) ?? Y.options.mode.title;
1015
- O = ((N = r == null ? void 0 : r.units) == null ? void 0 : N.title) ?? Y.options.units.title, a = q.length > 1 && I.length > 1;
1024
+ O = ((H = r == null ? void 0 : r.units) == null ? void 0 : H.title) ?? Y.options.units.title, a = q.length > 1 && I.length > 1;
1016
1025
  let pe;
1017
- e[36] !== d || e[37] !== l ? (pe = l.find((U) => U.value === d) ?? l[0], e[36] = d, e[37] = l, e[38] = pe) : pe = e[38], b = pe, e[39] === Symbol.for("react.memo_cache_sentinel") ? (w = /* @__PURE__ */ i(Q, { sx: V.options.icon, onClick: Pe, children: /* @__PURE__ */ i(Ze, {}) }), e[39] = w) : w = e[39], p = Oe, g = "measurement-menu", C = h, x = je, _ = Te, e[40] === Symbol.for("react.memo_cache_sentinel") ? (T = {
1026
+ e[36] !== d || e[37] !== l ? (pe = l.find((U) => U.value === d) ?? l[0], e[36] = d, e[37] = l, e[38] = pe) : pe = e[38], b = pe, e[39] === Symbol.for("react.memo_cache_sentinel") ? (w = /* @__PURE__ */ n(Q, { sx: V.options.icon, onClick: Be, children: /* @__PURE__ */ n(Ze, {}) }), e[39] = w) : w = e[39], p = Oe, g = "measurement-menu", C = h, x = Pe, _ = Te, e[40] === Symbol.for("react.memo_cache_sentinel") ? (T = {
1018
1027
  "aria-labelledby": "basic-button",
1019
1028
  sx: V.options.menu
1020
- }, e[40] = T) : T = e[40], u = q.length > 1 && /* @__PURE__ */ D(j, { children: [
1021
- /* @__PURE__ */ i(H, { variant: "subtitle2", color: "text.secondary", sx: V.options.title, children: $e }),
1029
+ }, e[40] = T) : T = e[40], u = q.length > 1 && /* @__PURE__ */ D(P, { children: [
1030
+ /* @__PURE__ */ n(z, { variant: "subtitle2", color: "text.secondary", sx: V.options.title, children: $e }),
1022
1031
  q.map((U) => {
1023
1032
  var Ae;
1024
1033
  const Ue = (((Ae = r == null ? void 0 : r.mode) == null ? void 0 : Ae.options) ?? Y.options.mode.options)[U.value];
1025
- return /* @__PURE__ */ D(re, { onClick: (Ve) => Ee(Ve, U), selected: U.value === o, children: [
1026
- /* @__PURE__ */ i(Ie, { sx: V.options.icons, children: /* @__PURE__ */ i(Me, { children: U.icon }) }),
1027
- /* @__PURE__ */ i(ce, { children: Ue })
1034
+ return /* @__PURE__ */ D(re, { onClick: (Ve) => je(Ve, U), selected: U.value === o, children: [
1035
+ /* @__PURE__ */ n(Ie, { sx: V.options.icons, children: /* @__PURE__ */ n(Me, { children: U.icon }) }),
1036
+ /* @__PURE__ */ n(ce, { children: Ue })
1028
1037
  ] }, U.value);
1029
1038
  })
1030
1039
  ] });
1031
1040
  }
1032
- e[0] = h, e[1] = (ne = r == null ? void 0 : r.mode) == null ? void 0 : ne.options, e[2] = (W = r == null ? void 0 : r.mode) == null ? void 0 : W.title, e[3] = (X = r == null ? void 0 : r.units) == null ? void 0 : X.title, e[4] = o, e[5] = n, e[6] = s, e[7] = c, e[8] = d, e[9] = l, e[10] = p, e[11] = A, e[12] = y, e[13] = M, e[14] = a, e[15] = u, e[16] = g, e[17] = C, e[18] = x, e[19] = _, e[20] = T, e[21] = w, e[22] = S, e[23] = b, e[24] = O, e[25] = I;
1041
+ e[0] = h, e[1] = (ne = r == null ? void 0 : r.mode) == null ? void 0 : ne.options, e[2] = (W = r == null ? void 0 : r.mode) == null ? void 0 : W.title, e[3] = (X = r == null ? void 0 : r.units) == null ? void 0 : X.title, e[4] = o, e[5] = i, e[6] = s, e[7] = c, e[8] = d, e[9] = l, e[10] = p, e[11] = A, e[12] = y, e[13] = M, e[14] = a, e[15] = u, e[16] = g, e[17] = C, e[18] = x, e[19] = _, e[20] = T, e[21] = w, e[22] = S, e[23] = b, e[24] = O, e[25] = I;
1033
1042
  } else
1034
1043
  p = e[10], A = e[11], y = e[12], M = e[13], a = e[14], u = e[15], g = e[16], C = e[17], x = e[18], _ = e[19], T = e[20], w = e[21], S = e[22], b = e[23], O = e[24], I = e[25];
1035
1044
  if (S !== Symbol.for("react.early_return_sentinel"))
1036
1045
  return S;
1037
1046
  let L;
1038
- e[41] !== a ? (L = a && /* @__PURE__ */ i(K, {}), e[41] = a, e[42] = L) : L = e[42];
1047
+ e[41] !== a ? (L = a && /* @__PURE__ */ n(K, {}), e[41] = a, e[42] = L) : L = e[42];
1039
1048
  let Z;
1040
- e[43] !== A || e[44] !== y || e[45] !== M || e[46] !== r || e[47] !== f || e[48] !== b || e[49] !== O || e[50] !== l || e[51] !== I.length ? (Z = I.length > 1 && /* @__PURE__ */ D(j, { children: [
1049
+ e[43] !== A || e[44] !== y || e[45] !== M || e[46] !== r || e[47] !== f || e[48] !== b || e[49] !== O || e[50] !== l || e[51] !== I.length ? (Z = I.length > 1 && /* @__PURE__ */ D(P, { children: [
1041
1050
  /* @__PURE__ */ D(re, { onClick: y, children: [
1042
- /* @__PURE__ */ i(ce, { children: O }),
1043
- /* @__PURE__ */ i(H, { variant: "caption", fontWeight: 500, sx: V.options.tag, children: b.short })
1051
+ /* @__PURE__ */ n(ce, { children: O }),
1052
+ /* @__PURE__ */ n(z, { variant: "caption", fontWeight: 500, sx: V.options.tag, children: b.short })
1044
1053
  ] }),
1045
- /* @__PURE__ */ i(Lt, { open: f, labels: r, units: l, unitSelectedValue: b, onClose: M, onSubmit: A })
1054
+ /* @__PURE__ */ n(Rt, { open: f, labels: r, units: l, unitSelectedValue: b, onClose: M, onSubmit: A })
1046
1055
  ] }), e[43] = A, e[44] = y, e[45] = M, e[46] = r, e[47] = f, e[48] = b, e[49] = O, e[50] = l, e[51] = I.length, e[52] = Z) : Z = e[52];
1047
- let P;
1048
- e[53] !== u || e[54] !== Z || e[55] !== L ? (P = /* @__PURE__ */ D("div", { children: [
1056
+ let B;
1057
+ e[53] !== u || e[54] !== Z || e[55] !== L ? (B = /* @__PURE__ */ D("div", { children: [
1049
1058
  u,
1050
1059
  L,
1051
1060
  Z
1052
- ] }), e[53] = u, e[54] = Z, e[55] = L, e[56] = P) : P = e[56];
1053
- let B;
1054
- e[57] !== p || e[58] !== P || e[59] !== g || e[60] !== C || e[61] !== x || e[62] !== _ || e[63] !== T ? (B = /* @__PURE__ */ i(p, { id: g, anchorEl: C, open: x, onClose: _, MenuListProps: T, children: P }), e[57] = p, e[58] = P, e[59] = g, e[60] = C, e[61] = x, e[62] = _, e[63] = T, e[64] = B) : B = e[64];
1061
+ ] }), e[53] = u, e[54] = Z, e[55] = L, e[56] = B) : B = e[56];
1062
+ let E;
1063
+ e[57] !== p || e[58] !== B || e[59] !== g || e[60] !== C || e[61] !== x || e[62] !== _ || e[63] !== T ? (E = /* @__PURE__ */ n(p, { id: g, anchorEl: C, open: x, onClose: _, MenuListProps: T, children: B }), e[57] = p, e[58] = B, e[59] = g, e[60] = C, e[61] = x, e[62] = _, e[63] = T, e[64] = E) : E = e[64];
1055
1064
  let k;
1056
- return e[65] !== B || e[66] !== w ? (k = /* @__PURE__ */ D(j, { children: [
1065
+ return e[65] !== E || e[66] !== w ? (k = /* @__PURE__ */ D(P, { children: [
1057
1066
  w,
1058
- B
1059
- ] }), e[65] = B, e[66] = w, e[67] = k) : k = e[67], k;
1067
+ E
1068
+ ] }), e[65] = E, e[66] = w, e[67] = k) : k = e[67], k;
1060
1069
  }
1061
- function Lt({
1070
+ function Rt({
1062
1071
  open: t,
1063
1072
  labels: e,
1064
- units: n,
1073
+ units: i,
1065
1074
  unitSelectedValue: o,
1066
1075
  onClose: l,
1067
1076
  onSubmit: d
1068
1077
  }) {
1069
1078
  var M, a, u, g, C, x, _, T;
1070
- const [r, s] = ie("metric"), c = be(() => n.filter((w) => w.system === r), [r, n]), h = (w, S) => {
1079
+ const [r, s] = ie("metric"), c = be(() => i.filter((w) => w.system === r), [r, i]), h = (w, S) => {
1071
1080
  s(S);
1072
1081
  }, m = ((a = (M = e == null ? void 0 : e.units) == null ? void 0 : M.modal) == null ? void 0 : a.options) ?? Y.options.units.modal.options, f = m[r].options, v = ((g = (u = e == null ? void 0 : e.units) == null ? void 0 : u.modal) == null ? void 0 : g.title) ?? Y.options.units.modal.title, p = ((x = (C = e == null ? void 0 : e.units) == null ? void 0 : C.modal) == null ? void 0 : x.subtitle) ?? Y.options.units.modal.subtitle, A = ((T = (_ = e == null ? void 0 : e.units) == null ? void 0 : _.modal) == null ? void 0 : T.apply) ?? Y.options.units.modal.apply, y = o.system === r ? o : c[0];
1073
- return /* @__PURE__ */ D(ze, { open: t, component: ee, onClose: l, maxWidth: "xs", PaperProps: {
1082
+ return /* @__PURE__ */ D(Ne, { open: t, component: ee, onClose: l, maxWidth: "xs", PaperProps: {
1074
1083
  component: "form",
1075
1084
  onSubmit: (w) => {
1076
1085
  w.preventDefault();
@@ -1078,31 +1087,31 @@ function Lt({
1078
1087
  d(S.get("unit-value"));
1079
1088
  }
1080
1089
  }, children: [
1081
- /* @__PURE__ */ D(He, { sx: V.options.modal.title, children: [
1090
+ /* @__PURE__ */ D(ze, { sx: V.options.modal.title, children: [
1082
1091
  v,
1083
- /* @__PURE__ */ i(Q, { onClick: l, children: /* @__PURE__ */ i(ot, {}) })
1092
+ /* @__PURE__ */ n(Q, { onClick: l, children: /* @__PURE__ */ n(ot, {}) })
1084
1093
  ] }),
1085
- /* @__PURE__ */ D(Ne, { sx: V.options.modal.content, children: [
1086
- /* @__PURE__ */ i(H, { sx: V.options.modal.subtitle, children: p }),
1094
+ /* @__PURE__ */ D(He, { sx: V.options.modal.content, children: [
1095
+ /* @__PURE__ */ n(z, { sx: V.options.modal.subtitle, children: p }),
1087
1096
  /* @__PURE__ */ D(Re, { color: "primary", value: r, exclusive: !0, fullWidth: !0, onChange: h, "aria-label": "system", sx: V.options.modal.toggle, children: [
1088
- /* @__PURE__ */ i(ae, { value: "metric", children: m.metric.title }),
1089
- /* @__PURE__ */ i(ae, { value: "imperial", children: m.imperial.title })
1097
+ /* @__PURE__ */ n(ae, { value: "metric", children: m.metric.title }),
1098
+ /* @__PURE__ */ n(ae, { value: "imperial", children: m.imperial.title })
1090
1099
  ] }),
1091
- /* @__PURE__ */ i(We, { children: /* @__PURE__ */ i(Xe, { "aria-labelledby": "unit-value", defaultValue: y == null ? void 0 : y.value, name: "unit-value", sx: V.options.modal.optionsGroup, children: c.map((w) => {
1100
+ /* @__PURE__ */ n(We, { children: /* @__PURE__ */ n(Xe, { "aria-labelledby": "unit-value", defaultValue: y == null ? void 0 : y.value, name: "unit-value", sx: V.options.modal.optionsGroup, children: c.map((w) => {
1092
1101
  const S = f[w.value];
1093
- return /* @__PURE__ */ i(qe, { value: w.value, control: /* @__PURE__ */ i(Ke, {}), label: S }, w.value);
1102
+ return /* @__PURE__ */ n(qe, { value: w.value, control: /* @__PURE__ */ n(Ke, {}), label: S }, w.value);
1094
1103
  }) }) }, y == null ? void 0 : y.value)
1095
1104
  ] }),
1096
- /* @__PURE__ */ i(Ye, { sx: V.options.modal.actions, children: /* @__PURE__ */ i(ge, { variant: "contained", type: "submit", children: A }) })
1105
+ /* @__PURE__ */ n(Ye, { sx: V.options.modal.actions, children: /* @__PURE__ */ n(ge, { variant: "contained", type: "submit", children: A }) })
1097
1106
  ] });
1098
1107
  }
1099
- const Ot = {
1108
+ const Zt = {
1100
1109
  enabled: "Show your current location",
1101
1110
  disabled: "Location unavailable"
1102
- }, It = "geolocation";
1111
+ }, kt = "geolocation";
1103
1112
  function Ht(t) {
1104
1113
  const e = R(25), {
1105
- disabled: n,
1114
+ disabled: i,
1106
1115
  labels: o,
1107
1116
  PaperProps: l,
1108
1117
  TooltipProps: d,
@@ -1140,15 +1149,15 @@ function Ht(t) {
1140
1149
  }
1141
1150
  navigator.geolocation.getCurrentPosition(M, u);
1142
1151
  }, e[7] = u, e[8] = M, e[9] = r, e[10] = g) : g = e[10];
1143
- const C = g, _ = ((o == null ? void 0 : o.tooltip) ?? Ot)[f ? "enabled" : "disabled"], T = (o == null ? void 0 : o.ariaLabel) ?? It, w = !m || n;
1152
+ const C = g, _ = ((o == null ? void 0 : o.tooltip) ?? Zt)[f ? "enabled" : "disabled"], T = (o == null ? void 0 : o.ariaLabel) ?? kt, w = !m || i;
1144
1153
  let S;
1145
- e[11] !== f ? (S = f ? /* @__PURE__ */ i(nt, {}) : /* @__PURE__ */ i(it, {}), e[11] = f, e[12] = S) : S = e[12];
1154
+ e[11] !== f ? (S = f ? /* @__PURE__ */ n(nt, {}) : /* @__PURE__ */ n(it, {}), e[11] = f, e[12] = S) : S = e[12];
1146
1155
  let b;
1147
- e[13] !== C || e[14] !== T || e[15] !== w || e[16] !== S ? (b = /* @__PURE__ */ i(Q, { onClick: C, "aria-label": T, disabled: w, children: S }), e[13] = C, e[14] = T, e[15] = w, e[16] = S, e[17] = b) : b = e[17];
1156
+ e[13] !== C || e[14] !== T || e[15] !== w || e[16] !== S ? (b = /* @__PURE__ */ n(Q, { onClick: C, "aria-label": T, disabled: w, children: S }), e[13] = C, e[14] = T, e[15] = w, e[16] = S, e[17] = b) : b = e[17];
1148
1157
  let O;
1149
- e[18] !== d || e[19] !== b || e[20] !== _ ? (O = /* @__PURE__ */ i(le, { arrow: !0, placement: "right", title: _, ...d, children: b }), e[18] = d, e[19] = b, e[20] = _, e[21] = O) : O = e[21];
1158
+ e[18] !== d || e[19] !== b || e[20] !== _ ? (O = /* @__PURE__ */ n(le, { arrow: !0, placement: "right", title: _, ...d, children: b }), e[18] = d, e[19] = b, e[20] = _, e[21] = O) : O = e[21];
1150
1159
  let I;
1151
- return e[22] !== l || e[23] !== O ? (I = /* @__PURE__ */ i(ve, { ...l, children: O }), e[22] = l, e[23] = O, e[24] = I) : I = e[24], I;
1160
+ return e[22] !== l || e[23] !== O ? (I = /* @__PURE__ */ n(ve, { ...l, children: O }), e[22] = l, e[23] = O, e[24] = I) : I = e[24], I;
1152
1161
  }
1153
1162
  const xe = {
1154
1163
  zoom: {
@@ -1182,9 +1191,9 @@ const xe = {
1182
1191
  position: "absolute"
1183
1192
  }
1184
1193
  };
1185
- function Nt(t) {
1194
+ function Wt(t) {
1186
1195
  const e = R(40), {
1187
- zoom: n,
1196
+ zoom: i,
1188
1197
  disabled: o,
1189
1198
  direction: l,
1190
1199
  isLoading: d,
@@ -1202,53 +1211,53 @@ function Nt(t) {
1202
1211
  } : h, e[0] = h, e[1] = M) : M = e[1];
1203
1212
  const a = M, u = m === void 0 ? !0 : m;
1204
1213
  let g;
1205
- e[2] !== A || e[3] !== f || e[4] !== n ? (g = () => {
1206
- const $ = Math.min(A, n + 1);
1214
+ e[2] !== A || e[3] !== f || e[4] !== i ? (g = () => {
1215
+ const $ = Math.min(A, i + 1);
1207
1216
  f($);
1208
- }, e[2] = A, e[3] = f, e[4] = n, e[5] = g) : g = e[5];
1217
+ }, e[2] = A, e[3] = f, e[4] = i, e[5] = g) : g = e[5];
1209
1218
  const C = g;
1210
1219
  let x;
1211
- e[6] !== y || e[7] !== f || e[8] !== n ? (x = () => {
1212
- const $ = Math.max(y, n - 1);
1220
+ e[6] !== y || e[7] !== f || e[8] !== i ? (x = () => {
1221
+ const $ = Math.max(y, i - 1);
1213
1222
  f($);
1214
- }, e[6] = y, e[7] = f, e[8] = n, e[9] = x) : x = e[9];
1215
- const _ = x, T = Math.floor(n), w = p === "vertical" ? "horizontal" : "vertical", S = p === "vertical" ? "column" : "row";
1223
+ }, e[6] = y, e[7] = f, e[8] = i, e[9] = x) : x = e[9];
1224
+ const _ = x, T = Math.floor(i), w = p === "vertical" ? "horizontal" : "vertical", S = p === "vertical" ? "column" : "row";
1216
1225
  let b;
1217
1226
  e[10] !== S ? (b = {
1218
1227
  ...xe.paper,
1219
1228
  flexDirection: S
1220
1229
  }, e[10] = S, e[11] = b) : b = e[11];
1221
1230
  let O;
1222
- e[12] !== a || e[13] !== o || e[14] !== w || e[15] !== v ? (O = v && /* @__PURE__ */ D(j, { children: [
1223
- /* @__PURE__ */ i(Q, { onClick: v, "aria-label": "Decrease zoom", disabled: o, children: /* @__PURE__ */ i(a.Icon, {}) }),
1224
- /* @__PURE__ */ i(K, { orientation: w, flexItem: !0 })
1231
+ e[12] !== a || e[13] !== o || e[14] !== w || e[15] !== v ? (O = v && /* @__PURE__ */ D(P, { children: [
1232
+ /* @__PURE__ */ n(Q, { onClick: v, "aria-label": "Decrease zoom", disabled: o, children: /* @__PURE__ */ n(a.Icon, {}) }),
1233
+ /* @__PURE__ */ n(K, { orientation: w, flexItem: !0 })
1225
1234
  ] }), e[12] = a, e[13] = o, e[14] = w, e[15] = v, e[16] = O) : O = e[16];
1226
1235
  let I;
1227
- e[17] === Symbol.for("react.memo_cache_sentinel") ? (I = /* @__PURE__ */ i(rt, {}), e[17] = I) : I = e[17];
1236
+ e[17] === Symbol.for("react.memo_cache_sentinel") ? (I = /* @__PURE__ */ n(rt, {}), e[17] = I) : I = e[17];
1228
1237
  let L;
1229
- e[18] !== o || e[19] !== C ? (L = /* @__PURE__ */ i(Q, { onClick: C, "aria-label": "Increase zoom", disabled: o, children: I }), e[18] = o, e[19] = C, e[20] = L) : L = e[20];
1238
+ e[18] !== o || e[19] !== C ? (L = /* @__PURE__ */ n(Q, { onClick: C, "aria-label": "Increase zoom", disabled: o, children: I }), e[18] = o, e[19] = C, e[20] = L) : L = e[20];
1230
1239
  let Z;
1231
- e[21] !== w ? (Z = /* @__PURE__ */ i(K, { orientation: w, flexItem: !0 }), e[21] = w, e[22] = Z) : Z = e[22];
1232
- let P;
1233
- e[23] !== T || e[24] !== w || e[25] !== d || e[26] !== u ? (P = u && /* @__PURE__ */ D(j, { children: [
1240
+ e[21] !== w ? (Z = /* @__PURE__ */ n(K, { orientation: w, flexItem: !0 }), e[21] = w, e[22] = Z) : Z = e[22];
1241
+ let B;
1242
+ e[23] !== T || e[24] !== w || e[25] !== d || e[26] !== u ? (B = u && /* @__PURE__ */ D(P, { children: [
1234
1243
  /* @__PURE__ */ D(ee, { sx: xe.zoom, children: [
1235
- /* @__PURE__ */ i(H, { display: "block", align: "center", color: "textSecondary", variant: "overline", children: T }),
1236
- d && /* @__PURE__ */ i(Je, { sx: xe.circularProgress, variant: "indeterminate", size: 24 })
1244
+ /* @__PURE__ */ n(z, { display: "block", align: "center", color: "textSecondary", variant: "overline", children: T }),
1245
+ d && /* @__PURE__ */ n(Je, { sx: xe.circularProgress, variant: "indeterminate", size: 24 })
1237
1246
  ] }),
1238
- /* @__PURE__ */ i(K, { orientation: w, flexItem: !0 })
1239
- ] }), e[23] = T, e[24] = w, e[25] = d, e[26] = u, e[27] = P) : P = e[27];
1240
- let B;
1241
- e[28] === Symbol.for("react.memo_cache_sentinel") ? (B = /* @__PURE__ */ i(ct, {}), e[28] = B) : B = e[28];
1247
+ /* @__PURE__ */ n(K, { orientation: w, flexItem: !0 })
1248
+ ] }), e[23] = T, e[24] = w, e[25] = d, e[26] = u, e[27] = B) : B = e[27];
1249
+ let E;
1250
+ e[28] === Symbol.for("react.memo_cache_sentinel") ? (E = /* @__PURE__ */ n(ct, {}), e[28] = E) : E = e[28];
1242
1251
  let k;
1243
- e[29] !== _ || e[30] !== o ? (k = /* @__PURE__ */ i(Q, { onClick: _, "aria-label": "Decrease zoom", disabled: o, children: B }), e[29] = _, e[30] = o, e[31] = k) : k = e[31];
1252
+ e[29] !== _ || e[30] !== o ? (k = /* @__PURE__ */ n(Q, { onClick: _, "aria-label": "Decrease zoom", disabled: o, children: E }), e[29] = _, e[30] = o, e[31] = k) : k = e[31];
1244
1253
  let F;
1245
- return e[32] !== c || e[33] !== b || e[34] !== O || e[35] !== L || e[36] !== Z || e[37] !== P || e[38] !== k ? (F = /* @__PURE__ */ D(ve, { sx: b, ...c, children: [
1254
+ return e[32] !== c || e[33] !== b || e[34] !== O || e[35] !== L || e[36] !== Z || e[37] !== B || e[38] !== k ? (F = /* @__PURE__ */ D(ve, { sx: b, ...c, children: [
1246
1255
  O,
1247
1256
  L,
1248
1257
  Z,
1249
- P,
1258
+ B,
1250
1259
  k
1251
- ] }), e[32] = c, e[33] = b, e[34] = O, e[35] = L, e[36] = Z, e[37] = P, e[38] = k, e[39] = F) : F = e[39], F;
1260
+ ] }), e[32] = c, e[33] = b, e[34] = O, e[35] = L, e[36] = Z, e[37] = B, e[38] = k, e[39] = F) : F = e[39], F;
1252
1261
  }
1253
1262
  const J = {
1254
1263
  firstColumn: {
@@ -1291,13 +1300,13 @@ const J = {
1291
1300
  opacity: 0.5,
1292
1301
  cursor: "not-allowed"
1293
1302
  }
1294
- }, Rt = {
1303
+ }, Et = {
1295
1304
  showMore: "Show More",
1296
1305
  showLess: "Show Less"
1297
1306
  };
1298
- function Wt(t) {
1307
+ function Xt(t) {
1299
1308
  const e = R(30), {
1300
- data: n,
1309
+ data: i,
1301
1310
  itemsToShow: o,
1302
1311
  labels: l,
1303
1312
  showDivider: d,
@@ -1305,9 +1314,9 @@ function Wt(t) {
1305
1314
  tooltipProps: s,
1306
1315
  onExpand: c,
1307
1316
  onItemClick: h
1308
- } = t, m = o === void 0 ? 0 : o, f = l === void 0 ? Rt : l, v = d === void 0 ? !0 : d, [p, A] = ie(!1);
1317
+ } = t, m = o === void 0 ? 0 : o, f = l === void 0 ? Et : l, v = d === void 0 ? !0 : d, [p, A] = ie(!1);
1309
1318
  let y, M;
1310
- e[0] !== n || e[1] !== m || e[2] !== p ? (M = p || m === 0 ? n : n.slice(0, m), e[0] = n, e[1] = m, e[2] = p, e[3] = M) : M = e[3], y = M;
1319
+ e[0] !== i || e[1] !== m || e[2] !== p ? (M = p || m === 0 ? i : i.slice(0, m), e[0] = i, e[1] = m, e[2] = p, e[3] = M) : M = e[3], y = M;
1311
1320
  const a = y;
1312
1321
  let u;
1313
1322
  e[4] !== c || e[5] !== p ? (u = () => {
@@ -1316,12 +1325,12 @@ function Wt(t) {
1316
1325
  const g = u;
1317
1326
  if (a.length === 0) {
1318
1327
  let w;
1319
- return e[7] === Symbol.for("react.memo_cache_sentinel") ? (w = /* @__PURE__ */ i(H, { variant: "body1", children: "No data" }), e[7] = w) : w = e[7], w;
1328
+ return e[7] === Symbol.for("react.memo_cache_sentinel") ? (w = /* @__PURE__ */ n(z, { variant: "body1", children: "No data" }), e[7] = w) : w = e[7], w;
1320
1329
  }
1321
1330
  let C;
1322
1331
  if (e[8] !== a || e[9] !== h || e[10] !== r || e[11] !== v || e[12] !== s) {
1323
1332
  let w;
1324
- e[14] !== h || e[15] !== r || e[16] !== v || e[17] !== s ? (w = (S, b) => /* @__PURE__ */ i(le, { followCursor: !1, placement: "top", arrow: !0, title: S.tooltipTitle, enterDelay: 10, ...s, children: /* @__PURE__ */ D(Qe, { sx: {
1333
+ e[14] !== h || e[15] !== r || e[16] !== v || e[17] !== s ? (w = (S, b) => /* @__PURE__ */ n(le, { followCursor: !1, placement: "top", arrow: !0, title: S.tooltipTitle, enterDelay: 10, ...s, children: /* @__PURE__ */ D(Qe, { sx: {
1325
1334
  ...v && J.showDivider,
1326
1335
  ...h && J.clickable,
1327
1336
  ...r === S.id && J.selected,
@@ -1329,39 +1338,40 @@ function Wt(t) {
1329
1338
  }, onClick: () => {
1330
1339
  S.disabled || h == null || h(S);
1331
1340
  }, children: [
1332
- /* @__PURE__ */ i(ce, { primary: S.label, sx: J.firstColumn }),
1333
- /* @__PURE__ */ i(ce, { primary: S.value, sx: J.secondColumn })
1341
+ /* @__PURE__ */ n(ce, { primary: S.label, sx: J.firstColumn }),
1342
+ /* @__PURE__ */ n(ce, { primary: S.value, sx: J.secondColumn })
1334
1343
  ] }) }, `list-item-${b}`), e[14] = h, e[15] = r, e[16] = v, e[17] = s, e[18] = w) : w = e[18], C = a.map(w), e[8] = a, e[9] = h, e[10] = r, e[11] = v, e[12] = s, e[13] = C;
1335
1344
  } else
1336
1345
  C = e[13];
1337
1346
  let x;
1338
- e[19] !== C ? (x = /* @__PURE__ */ i(et, { id: "expandable-list", children: C }), e[19] = C, e[20] = x) : x = e[20];
1347
+ e[19] !== C ? (x = /* @__PURE__ */ n(et, { id: "expandable-list", children: C }), e[19] = C, e[20] = x) : x = e[20];
1339
1348
  let _;
1340
- e[21] !== n.length || e[22] !== g || e[23] !== m || e[24] !== f || e[25] !== p ? (_ = n.length > m && /* @__PURE__ */ i(ge, { onClick: g, sx: J.button, variant: "text", color: "primary", "aria-expanded": p, "aria-controls": "expandable-list", children: p ? f.showLess : f.showMore }), e[21] = n.length, e[22] = g, e[23] = m, e[24] = f, e[25] = p, e[26] = _) : _ = e[26];
1349
+ e[21] !== i.length || e[22] !== g || e[23] !== m || e[24] !== f || e[25] !== p ? (_ = i.length > m && /* @__PURE__ */ n(ge, { onClick: g, sx: J.button, variant: "text", color: "primary", "aria-expanded": p, "aria-controls": "expandable-list", children: p ? f.showLess : f.showMore }), e[21] = i.length, e[22] = g, e[23] = m, e[24] = f, e[25] = p, e[26] = _) : _ = e[26];
1341
1350
  let T;
1342
- return e[27] !== x || e[28] !== _ ? (T = /* @__PURE__ */ D(j, { children: [
1351
+ return e[27] !== x || e[28] !== _ ? (T = /* @__PURE__ */ D(P, { children: [
1343
1352
  x,
1344
1353
  _
1345
1354
  ] }), e[27] = x, e[28] = _, e[29] = T) : T = e[29], T;
1346
1355
  }
1347
1356
  export {
1348
- Ft as AreaIcon,
1349
- Gt as BufferIcon,
1350
- Et as DEFAULT_LASSO_TOOLS_MODES_MAPPING,
1357
+ Dt as AreaIcon,
1358
+ _t as BufferIcon,
1359
+ Vt as DEFAULT_LASSO_TOOLS_MODES_MAPPING,
1351
1360
  Y as DEFAULT_MEASUREMENT_TOOLS_LABELS,
1352
- At as DEFAULT_MEASUREMENT_TOOLS_UNITS_MAPPING,
1361
+ Nt as DEFAULT_MEASUREMENT_TOOLS_MODES_MAPPING,
1362
+ Lt as DEFAULT_MEASUREMENT_TOOLS_UNITS_MAPPING,
1353
1363
  mt as DrawCircleIcon,
1354
1364
  ht as DrawLassoIcon,
1355
1365
  dt as DrawPolygonIcon,
1356
1366
  ut as DrawSquareIcon,
1357
1367
  Ht as GeolocationControls,
1358
- E as LASSO_TOOLS_LABELS,
1359
- Ut as LassoToolsInlineUI,
1360
- $t as LassoToolsUI,
1361
- Wt as ListDataUI,
1368
+ j as LASSO_TOOLS_LABELS,
1369
+ Ft as LassoToolsInlineUI,
1370
+ Gt as LassoToolsUI,
1371
+ Xt as ListDataUI,
1362
1372
  zt as MeasurementToolsUI,
1363
- Vt as RulerIcon,
1373
+ At as RulerIcon,
1364
1374
  ft as SelectToolIcon,
1365
- Nt as ZoomControlsUI
1375
+ Wt as ZoomControlsUI
1366
1376
  };
1367
1377
  //# sourceMappingURL=components.js.map