@carto/ps-react-ui 4.15.0 → 4.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components.js +786 -749
- package/dist/components.js.map +1 -1
- package/dist/legend/stores.js +20 -16
- package/dist/legend-store-registry-CVYzhR1-.js +464 -0
- package/dist/legend-store-registry-CVYzhR1-.js.map +1 -0
- package/dist/legend.js +1478 -794
- package/dist/legend.js.map +1 -1
- package/dist/types/components/responsive-drawer/responsive-drawer.d.ts +2 -9
- package/dist/types/legend/components/a11y.d.ts +6 -0
- package/dist/types/legend/components/contexts.d.ts +22 -4
- package/dist/types/legend/components/index.d.ts +2 -2
- package/dist/types/legend/components/legend-actions/legend-actions.d.ts +4 -3
- package/dist/types/legend/components/legend-group/legend-group.d.ts +2 -11
- package/dist/types/legend/components/legend-group/styles.d.ts +40 -2
- package/dist/types/legend/components/legend-group-menu/legend-group-menu-items.d.ts +28 -0
- package/dist/types/legend/components/legend-group-menu/legend-group-menu.d.ts +11 -0
- package/dist/types/legend/components/legend-opacity/legend-opacity.d.ts +7 -17
- package/dist/types/legend/components/legend-opacity/styles.d.ts +11 -6
- package/dist/types/legend/components/legend-overflow-menu/legend-overflow-menu.d.ts +12 -0
- package/dist/types/legend/components/legend-panel-menu/legend-panel-menu.d.ts +11 -0
- package/dist/types/legend/components/legend-row/legend-row.d.ts +4 -11
- package/dist/types/legend/components/legend-row/styles.d.ts +36 -1
- package/dist/types/legend/components/legend-row-menu/legend-row-menu-items.d.ts +12 -0
- package/dist/types/legend/components/legend-row-menu/legend-row-menu.d.ts +4 -10
- package/dist/types/legend/components/legend-row-menu/legend-zoom-to.d.ts +3 -8
- package/dist/types/legend/components/legend-sortable/contexts.d.ts +7 -0
- package/dist/types/legend/components/legend-sortable/legend-sortable.d.ts +11 -0
- package/dist/types/legend/components/legend-sortable/sortable-entity.d.ts +27 -0
- package/dist/types/legend/components/legend-sortable/sortable-ids.d.ts +6 -0
- package/dist/types/legend/components/legend-sortable/styles.d.ts +54 -0
- package/dist/types/legend/components/legend-visible-layers/legend-visible-layers.d.ts +7 -0
- package/dist/types/legend/components/legend-visible-layers/styles.d.ts +48 -0
- package/dist/types/legend/components/run-async-menu-action.d.ts +7 -0
- package/dist/types/legend/index.d.ts +53 -6
- package/dist/types/legend/provider/labels.d.ts +21 -0
- package/dist/types/legend/stores/index.d.ts +1 -1
- package/dist/types/legend/stores/selectors.d.ts +31 -0
- package/dist/types/legend/stores/types.d.ts +11 -0
- package/package.json +3 -3
- package/src/components/responsive-drawer/responsive-drawer.test.tsx +138 -0
- package/src/components/responsive-drawer/responsive-drawer.tsx +77 -51
- package/src/legend/components/a11y.ts +14 -0
- package/src/legend/components/contexts.ts +29 -4
- package/src/legend/components/index.ts +3 -4
- package/src/legend/components/legend-actions/legend-actions.tsx +4 -3
- package/src/legend/components/legend-group/legend-group.test.tsx +166 -9
- package/src/legend/components/legend-group/legend-group.tsx +88 -49
- package/src/legend/components/legend-group/styles.ts +59 -2
- package/src/legend/components/legend-group-menu/legend-group-menu-items.tsx +132 -0
- package/src/legend/components/legend-group-menu/legend-group-menu.tsx +25 -0
- package/src/legend/components/legend-opacity/legend-opacity.tsx +43 -70
- package/src/legend/components/legend-opacity/styles.ts +14 -9
- package/src/legend/components/legend-overflow-menu/legend-overflow-menu.tsx +84 -0
- package/src/legend/components/legend-panel-menu/legend-panel-menu.tsx +23 -0
- package/src/legend/components/legend-ramp/legend-ramp-ui.tsx +2 -1
- package/src/legend/components/legend-row/legend-row.test.tsx +304 -85
- package/src/legend/components/legend-row/legend-row.tsx +73 -50
- package/src/legend/components/legend-row/styles.ts +54 -1
- package/src/legend/components/legend-row-menu/legend-row-menu-items.tsx +57 -0
- package/src/legend/components/legend-row-menu/legend-row-menu.tsx +12 -50
- package/src/legend/components/legend-row-menu/legend-zoom-to.tsx +25 -17
- package/src/legend/components/legend-sortable/contexts.ts +12 -0
- package/src/legend/components/legend-sortable/legend-sortable.test.tsx +144 -0
- package/src/legend/components/legend-sortable/legend-sortable.tsx +195 -0
- package/src/legend/components/legend-sortable/sortable-entity.tsx +91 -0
- package/src/legend/components/legend-sortable/sortable-ids.ts +17 -0
- package/src/legend/components/legend-sortable/styles.ts +56 -0
- package/src/legend/components/legend-visibility-toggle/legend-visibility-toggle.tsx +14 -8
- package/src/legend/components/legend-visible-layers/legend-visible-layers.test.tsx +86 -0
- package/src/legend/components/legend-visible-layers/legend-visible-layers.tsx +135 -0
- package/src/legend/components/legend-visible-layers/styles.ts +60 -0
- package/src/legend/components/run-async-menu-action.ts +20 -0
- package/src/legend/index.ts +59 -4
- package/src/legend/provider/labels.ts +43 -1
- package/src/legend/stores/index.ts +4 -0
- package/src/legend/stores/legend-store-registry.ts +60 -0
- package/src/legend/stores/legend-store.test.ts +116 -0
- package/src/legend/stores/selectors.ts +64 -2
- package/src/legend/stores/types.ts +11 -0
- package/src/widgets/actions/download/exports.test.tsx +14 -1
- package/dist/selectors-DwHj6mE2.js +0 -388
- package/dist/selectors-DwHj6mE2.js.map +0 -1
package/dist/components.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { s as De, L as ot, a as ye, S as nt, T as it } from "./lasso-tool-YLFRgb-S.js";
|
|
2
|
-
import { D as
|
|
3
|
-
import { jsxs as
|
|
4
|
-
import { c as
|
|
5
|
-
import { Divider as he, Box as ne, ToggleButton as Pe, SvgIcon as Re, ToggleButtonGroup as
|
|
6
|
-
import { useRef as we, useState as ae, useId as St, useReducer as _t, useEffectEvent as Ct, useEffect as tt } from "react";
|
|
2
|
+
import { D as Xl, b as ql, c as Ql, d as Jl, e as eo, f as to, g as lo } from "./lasso-tool-YLFRgb-S.js";
|
|
3
|
+
import { jsxs as W, Fragment as me, jsx as l } from "react/jsx-runtime";
|
|
4
|
+
import { c as Q } from "react/compiler-runtime";
|
|
5
|
+
import { Divider as he, Box as ne, ToggleButton as Pe, SvgIcon as Re, ToggleButtonGroup as Ge, Typography as se, Button as _e, Paper as Me, TextField as st, Popover as Ye, IconButton as be, ListItemButton as We, ListItemIcon as $e, Checkbox as ze, ListItemText as Ce, Dialog as Ke, DialogTitle as Xe, InputBase as rt, List as qe, DialogContent as Qe, DialogActions as Je, AlertTitle as at, Alert as et, Snackbar as ct, alpha as dt, MenuItem as Ve, Menu as ft, FormControlLabel as mt, Radio as pt, RadioGroup as ut, FormControl as ht, CircularProgress as gt, Grid as Te, Skeleton as Oe, ListItem as bt, Drawer as vt, useTheme as yt, useMediaQuery as xt } from "@mui/material";
|
|
6
|
+
import { useRef as we, useState as ae, useId as St, useReducer as _t, useEffectEvent as Ct, useEffect as tt, useSyncExternalStore as wt } from "react";
|
|
7
7
|
import { d as Be } from "./cjs-D4KH3azB.js";
|
|
8
8
|
import { T as ke } from "./tooltip-BDnrRKrp.js";
|
|
9
|
-
import { s as
|
|
10
|
-
import { LockOutlined as
|
|
11
|
-
import { S as
|
|
12
|
-
import { C as
|
|
13
|
-
const
|
|
14
|
-
function
|
|
15
|
-
const e =
|
|
9
|
+
import { s as no } from "./tooltip-BDnrRKrp.js";
|
|
10
|
+
import { LockOutlined as kt, DeleteOutlined as Tt, Close as Ue, Search as Mt, ArrowDropDown as At, MyLocationOutlined as It, LocationDisabledOutlined as Lt, CropFreeOutlined as Dt, AddOutlined as Pt, RemoveOutlined as Rt } from "@mui/icons-material";
|
|
11
|
+
import { S as Ot } from "./smart-tooltip-D4vwQpFf.js";
|
|
12
|
+
import { C as so } from "./copy-button-DGL1tyli.js";
|
|
13
|
+
const Et = [], $t = {};
|
|
14
|
+
function Wl(t) {
|
|
15
|
+
const e = Q(55), {
|
|
16
16
|
enabled: i,
|
|
17
17
|
values: o,
|
|
18
18
|
chipProps: n,
|
|
@@ -23,78 +23,78 @@ function Bl(t) {
|
|
|
23
23
|
BoxProps: f,
|
|
24
24
|
onChipToggle: m,
|
|
25
25
|
onDelete: d,
|
|
26
|
-
onChangeMode:
|
|
27
|
-
onAllChipToggle:
|
|
28
|
-
onAllDelete:
|
|
29
|
-
} = t,
|
|
30
|
-
let
|
|
31
|
-
e[0] !==
|
|
32
|
-
sx:
|
|
33
|
-
|
|
34
|
-
} =
|
|
35
|
-
let
|
|
36
|
-
e[3] !== s || e[4] !== a ? (
|
|
37
|
-
const
|
|
38
|
-
let
|
|
39
|
-
e[6] !==
|
|
40
|
-
edit:
|
|
41
|
-
...
|
|
42
|
-
} =
|
|
26
|
+
onChangeMode: u,
|
|
27
|
+
onAllChipToggle: x,
|
|
28
|
+
onAllDelete: h
|
|
29
|
+
} = t, S = o === void 0 ? Et : o, _ = f === void 0 ? $t : f;
|
|
30
|
+
let U, R;
|
|
31
|
+
e[0] !== _ ? ({
|
|
32
|
+
sx: R,
|
|
33
|
+
...U
|
|
34
|
+
} = _, e[0] = _, e[1] = U, e[2] = R) : (U = e[1], R = e[2]);
|
|
35
|
+
let P;
|
|
36
|
+
e[3] !== s || e[4] !== a ? (P = Be(s, a), e[3] = s, e[4] = a, e[5] = P) : P = e[5];
|
|
37
|
+
const b = P;
|
|
38
|
+
let v, O;
|
|
39
|
+
e[6] !== b ? ({
|
|
40
|
+
edit: O,
|
|
41
|
+
...v
|
|
42
|
+
} = b, e[6] = b, e[7] = v, e[8] = O) : (v = e[7], O = e[8]);
|
|
43
43
|
let g;
|
|
44
44
|
e[9] !== d ? (g = (K) => d(K), e[9] = d, e[10] = g) : g = e[10];
|
|
45
|
-
const
|
|
45
|
+
const I = g;
|
|
46
|
+
let k;
|
|
47
|
+
e[11] !== u ? (k = (K, J) => {
|
|
48
|
+
K.preventDefault(), u?.(J);
|
|
49
|
+
}, e[11] = u, e[12] = k) : k = e[12];
|
|
50
|
+
const T = k, L = (r ?? "") in s ? r : Object.keys(b)[0], C = i ? b[L] : null;
|
|
46
51
|
let A;
|
|
47
|
-
e[
|
|
48
|
-
|
|
49
|
-
}, e[11] = h, e[12] = A) : A = e[12];
|
|
50
|
-
const S = A, D = (r ?? "") in s ? r : Object.keys(x)[0], I = i ? x[D] : null;
|
|
51
|
-
let P;
|
|
52
|
-
e[13] !== b ? (P = Object.values(b), e[13] = b, e[14] = P) : P = e[14];
|
|
53
|
-
const _ = P;
|
|
52
|
+
e[13] !== v ? (A = Object.values(v), e[13] = v, e[14] = A) : A = e[14];
|
|
53
|
+
const y = A;
|
|
54
54
|
let w;
|
|
55
|
-
e[15] !==
|
|
55
|
+
e[15] !== R ? (w = {
|
|
56
56
|
...De.container,
|
|
57
|
-
...
|
|
58
|
-
}, e[15] =
|
|
59
|
-
const
|
|
60
|
-
let
|
|
61
|
-
e[17] !==
|
|
62
|
-
let
|
|
63
|
-
e[20] !==
|
|
57
|
+
...R
|
|
58
|
+
}, e[15] = R, e[16] = w) : w = e[16];
|
|
59
|
+
const E = c?.options, z = C?.value, $ = c?.options;
|
|
60
|
+
let M;
|
|
61
|
+
e[17] !== y || e[18] !== $ ? (M = /* @__PURE__ */ l(Fe, { labels: $, data: y }), e[17] = y, e[18] = $, e[19] = M) : M = e[19];
|
|
62
|
+
let D;
|
|
63
|
+
e[20] !== O || e[21] !== c?.options || e[22] !== S.length ? (D = !!O && /* @__PURE__ */ W(me, { children: [
|
|
64
64
|
/* @__PURE__ */ l(he, { orientation: "vertical" }),
|
|
65
65
|
/* @__PURE__ */ l(Fe, { labels: c?.options, data: [{
|
|
66
|
-
...
|
|
67
|
-
disabled: !
|
|
66
|
+
...O,
|
|
67
|
+
disabled: !S.length
|
|
68
68
|
}] })
|
|
69
|
-
] }), e[20] =
|
|
69
|
+
] }), e[20] = O, e[21] = c?.options, e[22] = S.length, e[23] = D) : D = e[23];
|
|
70
70
|
let V;
|
|
71
|
-
e[24] !==
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
] }), e[24] =
|
|
71
|
+
e[24] !== T || e[25] !== z || e[26] !== M || e[27] !== D ? (V = /* @__PURE__ */ W(Ge, { value: z, exclusive: !0, className: "inline", sx: De.options.menu, onChange: T, children: [
|
|
72
|
+
M,
|
|
73
|
+
D
|
|
74
|
+
] }), e[24] = T, e[25] = z, e[26] = M, e[27] = D, e[28] = V) : V = e[28];
|
|
75
75
|
let N;
|
|
76
|
-
e[29] !==
|
|
76
|
+
e[29] !== y || e[30] !== V || e[31] !== E ? (N = /* @__PURE__ */ l(Bt, { data: y, labels: E, children: V }), e[29] = y, e[30] = V, e[31] = E, e[32] = N) : N = e[32];
|
|
77
77
|
let Z;
|
|
78
78
|
e[33] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (Z = /* @__PURE__ */ l(he, { flexItem: !0 }), e[33] = Z) : Z = e[33];
|
|
79
|
-
const j = !!
|
|
80
|
-
let
|
|
81
|
-
e[34] !== j || e[35] !== F ? (
|
|
79
|
+
const j = !!S.length, F = c?.noData;
|
|
80
|
+
let B;
|
|
81
|
+
e[34] !== j || e[35] !== F ? (B = /* @__PURE__ */ l(Ut, { hasValues: j, labels: F }), e[34] = j, e[35] = F, e[36] = B) : B = e[36];
|
|
82
|
+
let H;
|
|
83
|
+
e[37] !== n || e[38] !== I || e[39] !== c?.chip || e[40] !== m || e[41] !== S ? (H = !!S.length && /* @__PURE__ */ l(ne, { sx: De.chip.container, className: "inline", children: S.map((K) => /* @__PURE__ */ l(ot, { value: K, labels: c?.chip, chipProps: n, onDelete: I, onChipToggle: m }, K.id)) }), e[37] = n, e[38] = I, e[39] = c?.chip, e[40] = m, e[41] = S, e[42] = H) : H = e[42];
|
|
84
|
+
const q = c?.actions;
|
|
85
|
+
let Y;
|
|
86
|
+
e[43] !== x || e[44] !== h || e[45] !== q || e[46] !== S ? (Y = /* @__PURE__ */ l(Wt, { values: S, labels: q, onAllChipToggle: x, onAllDelete: h }), e[43] = x, e[44] = h, e[45] = q, e[46] = S, e[47] = Y) : Y = e[47];
|
|
82
87
|
let G;
|
|
83
|
-
e[
|
|
84
|
-
const X = c?.actions;
|
|
85
|
-
let q;
|
|
86
|
-
e[43] !== p || e[44] !== L || e[45] !== X || e[46] !== C ? (q = /* @__PURE__ */ l(Ut, { values: C, labels: X, onAllChipToggle: p, onAllDelete: L }), e[43] = p, e[44] = L, e[45] = X, e[46] = C, e[47] = q) : q = e[47];
|
|
87
|
-
let J;
|
|
88
|
-
return e[48] !== $ || e[49] !== N || e[50] !== z || e[51] !== G || e[52] !== q || e[53] !== w ? (J = /* @__PURE__ */ U(ne, { sx: w, ...$, className: "inline", children: [
|
|
88
|
+
return e[48] !== U || e[49] !== N || e[50] !== B || e[51] !== H || e[52] !== Y || e[53] !== w ? (G = /* @__PURE__ */ W(ne, { sx: w, ...U, className: "inline", children: [
|
|
89
89
|
N,
|
|
90
90
|
Z,
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
] }), e[48] =
|
|
91
|
+
B,
|
|
92
|
+
H,
|
|
93
|
+
Y
|
|
94
|
+
] }), e[48] = U, e[49] = N, e[50] = B, e[51] = H, e[52] = Y, e[53] = w, e[54] = G) : G = e[54], G;
|
|
95
95
|
}
|
|
96
|
-
function
|
|
97
|
-
const e =
|
|
96
|
+
function Bt(t) {
|
|
97
|
+
const e = Q(5), {
|
|
98
98
|
data: i,
|
|
99
99
|
labels: o,
|
|
100
100
|
children: n
|
|
@@ -105,7 +105,7 @@ function $t(t) {
|
|
|
105
105
|
let s;
|
|
106
106
|
e[0] !== c ? (s = /* @__PURE__ */ l(se, { variant: "subtitle2", color: "text.secondary", sx: De.options.title, className: "inline", children: c }), e[0] = c, e[1] = s) : s = e[1];
|
|
107
107
|
let a;
|
|
108
|
-
return e[2] !== n || e[3] !== s ? (a = /* @__PURE__ */
|
|
108
|
+
return e[2] !== n || e[3] !== s ? (a = /* @__PURE__ */ W(me, { children: [
|
|
109
109
|
s,
|
|
110
110
|
n
|
|
111
111
|
] }), e[2] = n, e[3] = s, e[4] = a) : a = e[4], a;
|
|
@@ -119,8 +119,8 @@ function Fe({
|
|
|
119
119
|
return /* @__PURE__ */ l(ke, { title: n, placement: "bottom", children: /* @__PURE__ */ l(Pe, { disabled: !!i.disabled, value: i.value, "aria-label": i.value, children: /* @__PURE__ */ l(Re, { children: i.icon }) }) }, i.value);
|
|
120
120
|
});
|
|
121
121
|
}
|
|
122
|
-
function
|
|
123
|
-
const e =
|
|
122
|
+
function Ut(t) {
|
|
123
|
+
const e = Q(7), {
|
|
124
124
|
hasValues: i,
|
|
125
125
|
labels: o
|
|
126
126
|
} = t;
|
|
@@ -132,13 +132,13 @@ function Bt(t) {
|
|
|
132
132
|
let a;
|
|
133
133
|
e[2] !== c ? (a = /* @__PURE__ */ l(se, { variant: "body2", color: "textSecondary", children: c }), e[2] = c, e[3] = a) : a = e[3];
|
|
134
134
|
let r;
|
|
135
|
-
return e[4] !== s || e[5] !== a ? (r = /* @__PURE__ */
|
|
135
|
+
return e[4] !== s || e[5] !== a ? (r = /* @__PURE__ */ W(me, { children: [
|
|
136
136
|
s,
|
|
137
137
|
a
|
|
138
138
|
] }), e[4] = s, e[5] = a, e[6] = r) : r = e[6], r;
|
|
139
139
|
}
|
|
140
|
-
function
|
|
141
|
-
const e =
|
|
140
|
+
function Wt(t) {
|
|
141
|
+
const e = Q(13), {
|
|
142
142
|
values: i,
|
|
143
143
|
labels: o,
|
|
144
144
|
onAllChipToggle: n,
|
|
@@ -146,25 +146,25 @@ function Ut(t) {
|
|
|
146
146
|
} = t;
|
|
147
147
|
if (i.length <= 1)
|
|
148
148
|
return null;
|
|
149
|
-
const a = i.some(
|
|
149
|
+
const a = i.some(zt) ? o?.toggleAll?.active ?? ye.actions.toggleAll.active : o?.toggleAll?.inactive ?? ye.actions.toggleAll.inactive, r = o?.deleteAll ?? ye.actions.deleteAll;
|
|
150
150
|
let f;
|
|
151
151
|
e[0] !== n ? (f = () => n(), e[0] = n, e[1] = f) : f = e[1];
|
|
152
152
|
let m;
|
|
153
153
|
e[2] !== f || e[3] !== a ? (m = /* @__PURE__ */ l(_e, { color: "inherit", onClick: f, children: a }), e[2] = f, e[3] = a, e[4] = m) : m = e[4];
|
|
154
154
|
let d;
|
|
155
155
|
e[5] !== c ? (d = () => c(), e[5] = c, e[6] = d) : d = e[6];
|
|
156
|
-
let
|
|
157
|
-
e[7] !== r || e[8] !== d ? (
|
|
158
|
-
let
|
|
159
|
-
return e[10] !== m || e[11] !==
|
|
156
|
+
let u;
|
|
157
|
+
e[7] !== r || e[8] !== d ? (u = /* @__PURE__ */ l(_e, { color: "error", onClick: d, children: r }), e[7] = r, e[8] = d, e[9] = u) : u = e[9];
|
|
158
|
+
let x;
|
|
159
|
+
return e[10] !== m || e[11] !== u ? (x = /* @__PURE__ */ W(ne, { children: [
|
|
160
160
|
m,
|
|
161
|
-
|
|
162
|
-
] }), e[10] = m, e[11] =
|
|
161
|
+
u
|
|
162
|
+
] }), e[10] = m, e[11] = u, e[12] = x) : x = e[12], x;
|
|
163
163
|
}
|
|
164
|
-
function
|
|
164
|
+
function zt(t) {
|
|
165
165
|
return t.visible;
|
|
166
166
|
}
|
|
167
|
-
const Ie = 18,
|
|
167
|
+
const Ie = 18, Vt = {
|
|
168
168
|
display: "flex",
|
|
169
169
|
flexDirection: "row",
|
|
170
170
|
alignItems: "center",
|
|
@@ -193,7 +193,7 @@ const Ie = 18, zt = {
|
|
|
193
193
|
spacing: t
|
|
194
194
|
}) => t(0.5)
|
|
195
195
|
}
|
|
196
|
-
},
|
|
196
|
+
}, Ft = (t) => ({
|
|
197
197
|
...lt,
|
|
198
198
|
color: ({
|
|
199
199
|
palette: e
|
|
@@ -205,8 +205,8 @@ const Ie = 18, zt = {
|
|
|
205
205
|
}) => t ? "rgba(3, 111, 226, 0.12)" : e.action.hover
|
|
206
206
|
}
|
|
207
207
|
});
|
|
208
|
-
function
|
|
209
|
-
const e =
|
|
208
|
+
function zl(t) {
|
|
209
|
+
const e = Q(73), {
|
|
210
210
|
type: i,
|
|
211
211
|
label: o,
|
|
212
212
|
locked: n,
|
|
@@ -217,44 +217,44 @@ function Ul(t) {
|
|
|
217
217
|
labels: f,
|
|
218
218
|
PaperProps: m
|
|
219
219
|
} = t, d = n === void 0 ? !1 : n;
|
|
220
|
-
let
|
|
221
|
-
e[0] !== m ? (
|
|
222
|
-
let
|
|
223
|
-
e[2] !==
|
|
224
|
-
sx:
|
|
225
|
-
...
|
|
226
|
-
} =
|
|
227
|
-
const
|
|
228
|
-
let
|
|
229
|
-
e[5] !== o ? (
|
|
230
|
-
|
|
231
|
-
}, e[5] = o, e[6] =
|
|
232
|
-
const
|
|
233
|
-
let
|
|
234
|
-
e[7] !==
|
|
235
|
-
if (!
|
|
236
|
-
|
|
237
|
-
const re =
|
|
220
|
+
let u;
|
|
221
|
+
e[0] !== m ? (u = m === void 0 ? {} : m, e[0] = m, e[1] = u) : u = e[1];
|
|
222
|
+
let x, h;
|
|
223
|
+
e[2] !== u ? ({
|
|
224
|
+
sx: h,
|
|
225
|
+
...x
|
|
226
|
+
} = u, e[2] = u, e[3] = x, e[4] = h) : (x = e[3], h = e[4]);
|
|
227
|
+
const S = we(null), _ = we(!1), [U, R] = ae(null), [P, b] = ae(), [v, O] = ae(o), g = !!U, I = i === "mask" ? f?.toggleType?.draw ?? "Switch to drawing" : f?.toggleType?.mask ?? "Switch to mask", k = f?.rename ?? "Rename", T = f?.renameInput ?? k, p = d ? f?.lock?.unlock ?? "Unlock" : f?.lock?.lock ?? "Lock", L = f?.delete ?? "Delete";
|
|
228
|
+
let C;
|
|
229
|
+
e[5] !== o ? (C = () => {
|
|
230
|
+
_.current = !1, O(o), b(S.current?.clientWidth), R(S.current);
|
|
231
|
+
}, e[5] = o, e[6] = C) : C = e[6];
|
|
232
|
+
const A = C;
|
|
233
|
+
let y;
|
|
234
|
+
e[7] !== v || e[8] !== o || e[9] !== s ? (y = () => {
|
|
235
|
+
if (!_.current) {
|
|
236
|
+
_.current = !0;
|
|
237
|
+
const re = v.trim();
|
|
238
238
|
re && re !== o && s(re);
|
|
239
239
|
}
|
|
240
|
-
|
|
241
|
-
}, e[7] =
|
|
242
|
-
const w =
|
|
243
|
-
let R;
|
|
244
|
-
e[11] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (R = () => {
|
|
245
|
-
y.current = !0, B(null);
|
|
246
|
-
}, e[11] = R) : R = e[11];
|
|
247
|
-
const W = R;
|
|
248
|
-
let O;
|
|
249
|
-
e[12] !== w ? (O = (re) => {
|
|
250
|
-
re.key === "Enter" && (re.preventDefault(), w()), re.key === "Escape" && (re.preventDefault(), W());
|
|
251
|
-
}, e[12] = w, e[13] = O) : O = e[13];
|
|
252
|
-
const v = O;
|
|
240
|
+
R(null);
|
|
241
|
+
}, e[7] = v, e[8] = o, e[9] = s, e[10] = y) : y = e[10];
|
|
242
|
+
const w = y;
|
|
253
243
|
let E;
|
|
254
|
-
e[
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
244
|
+
e[11] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (E = () => {
|
|
245
|
+
_.current = !0, R(null);
|
|
246
|
+
}, e[11] = E) : E = e[11];
|
|
247
|
+
const z = E;
|
|
248
|
+
let $;
|
|
249
|
+
e[12] !== w ? ($ = (re) => {
|
|
250
|
+
re.key === "Enter" && (re.preventDefault(), w()), re.key === "Escape" && (re.preventDefault(), z());
|
|
251
|
+
}, e[12] = w, e[13] = $) : $ = e[13];
|
|
252
|
+
const M = $;
|
|
253
|
+
let D;
|
|
254
|
+
e[14] !== h ? (D = {
|
|
255
|
+
...Vt,
|
|
256
|
+
...h
|
|
257
|
+
}, e[14] = h, e[15] = D) : D = e[15];
|
|
258
258
|
const V = i === "mask", N = i === "mask";
|
|
259
259
|
let Z;
|
|
260
260
|
e[16] !== c || e[17] !== i ? (Z = () => c(i === "mask" ? "draw" : "mask"), e[16] = c, e[17] = i, e[18] = Z) : Z = e[18];
|
|
@@ -263,33 +263,33 @@ function Ul(t) {
|
|
|
263
263
|
fontSize: Ie
|
|
264
264
|
} }), e[19] = j) : j = e[19];
|
|
265
265
|
let F;
|
|
266
|
-
e[20] !== d || e[21] !== N || e[22] !== Z || e[23] !== V || e[24] !==
|
|
267
|
-
let
|
|
268
|
-
e[26] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
269
|
-
let
|
|
270
|
-
e[27] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
266
|
+
e[20] !== d || e[21] !== N || e[22] !== Z || e[23] !== V || e[24] !== I ? (F = /* @__PURE__ */ l(Le, { label: I, active: V, pressed: N, disabled: d, onClick: Z, icon: j }), e[20] = d, e[21] = N, e[22] = Z, e[23] = V, e[24] = I, e[25] = F) : F = e[25];
|
|
267
|
+
let B;
|
|
268
|
+
e[26] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (B = /* @__PURE__ */ l(he, { orientation: "vertical", flexItem: !0 }), e[26] = B) : B = e[26];
|
|
269
|
+
let H;
|
|
270
|
+
e[27] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (H = /* @__PURE__ */ l(Re, { component: it, inheritViewBox: !0, sx: {
|
|
271
271
|
fontSize: Ie
|
|
272
|
-
} }), e[27] =
|
|
273
|
-
let X;
|
|
274
|
-
e[28] !== d || e[29] !== P || e[30] !== A || e[31] !== g ? (X = /* @__PURE__ */ l(Le, { label: A, active: g, disabled: d, onClick: P, icon: G }), e[28] = d, e[29] = P, e[30] = A, e[31] = g, e[32] = X) : X = e[32];
|
|
272
|
+
} }), e[27] = H) : H = e[27];
|
|
275
273
|
let q;
|
|
276
|
-
e[
|
|
277
|
-
let
|
|
278
|
-
e[
|
|
274
|
+
e[28] !== d || e[29] !== A || e[30] !== k || e[31] !== g ? (q = /* @__PURE__ */ l(Le, { label: k, active: g, disabled: d, onClick: A, icon: H }), e[28] = d, e[29] = A, e[30] = k, e[31] = g, e[32] = q) : q = e[32];
|
|
275
|
+
let Y;
|
|
276
|
+
e[33] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (Y = /* @__PURE__ */ l(he, { orientation: "vertical", flexItem: !0 }), e[33] = Y) : Y = e[33];
|
|
277
|
+
let G;
|
|
278
|
+
e[34] !== d || e[35] !== a ? (G = () => a(!d), e[34] = d, e[35] = a, e[36] = G) : G = e[36];
|
|
279
279
|
let K;
|
|
280
|
-
e[37] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (K = /* @__PURE__ */ l(
|
|
280
|
+
e[37] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (K = /* @__PURE__ */ l(kt, { sx: {
|
|
281
281
|
fontSize: Ie
|
|
282
282
|
} }), e[37] = K) : K = e[37];
|
|
283
|
-
let
|
|
284
|
-
e[38] !==
|
|
283
|
+
let J;
|
|
284
|
+
e[38] !== p || e[39] !== d || e[40] !== G ? (J = /* @__PURE__ */ l(Le, { label: p, active: d, pressed: d, onClick: G, icon: K }), e[38] = p, e[39] = d, e[40] = G, e[41] = J) : J = e[41];
|
|
285
285
|
let ee;
|
|
286
286
|
e[42] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (ee = /* @__PURE__ */ l(he, { orientation: "vertical", flexItem: !0 }), e[42] = ee) : ee = e[42];
|
|
287
287
|
let te;
|
|
288
|
-
e[43] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (te = /* @__PURE__ */ l(
|
|
288
|
+
e[43] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (te = /* @__PURE__ */ l(Tt, { sx: {
|
|
289
289
|
fontSize: Ie
|
|
290
290
|
} }), e[43] = te) : te = e[43];
|
|
291
291
|
let le;
|
|
292
|
-
e[44] !==
|
|
292
|
+
e[44] !== L || e[45] !== d || e[46] !== r ? (le = /* @__PURE__ */ l(Le, { label: L, disabled: d, onClick: r, icon: te, color: "error" }), e[44] = L, e[45] = d, e[46] = r, e[47] = le) : le = e[47];
|
|
293
293
|
let oe, ce;
|
|
294
294
|
e[48] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (oe = {
|
|
295
295
|
vertical: "bottom",
|
|
@@ -299,41 +299,41 @@ function Ul(t) {
|
|
|
299
299
|
horizontal: "left"
|
|
300
300
|
}, e[48] = oe, e[49] = ce) : (oe = e[48], ce = e[49]);
|
|
301
301
|
let ie;
|
|
302
|
-
e[50] !==
|
|
302
|
+
e[50] !== P ? (ie = {
|
|
303
303
|
paper: {
|
|
304
304
|
sx: {
|
|
305
|
-
width:
|
|
305
|
+
width: P,
|
|
306
306
|
minWidth: 180
|
|
307
307
|
}
|
|
308
308
|
}
|
|
309
|
-
}, e[50] =
|
|
309
|
+
}, e[50] = P, e[51] = ie) : ie = e[51];
|
|
310
310
|
let ge;
|
|
311
311
|
e[52] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (ge = {
|
|
312
312
|
p: 1
|
|
313
313
|
}, e[52] = ge) : ge = e[52];
|
|
314
314
|
let pe;
|
|
315
|
-
e[53] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (pe = (re) =>
|
|
315
|
+
e[53] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (pe = (re) => O(re.target.value), e[53] = pe) : pe = e[53];
|
|
316
316
|
let de;
|
|
317
|
-
e[54] !== w || e[55] !==
|
|
317
|
+
e[54] !== w || e[55] !== v || e[56] !== M || e[57] !== T ? (de = /* @__PURE__ */ l(ne, { sx: ge, children: /* @__PURE__ */ l(st, { inputRef: Zt, fullWidth: !0, label: T, size: "small", variant: "outlined", value: v, onChange: pe, onKeyDown: M, onBlur: w }) }), e[54] = w, e[55] = v, e[56] = M, e[57] = T, e[58] = de) : de = e[58];
|
|
318
318
|
let ue;
|
|
319
|
-
e[59] !==
|
|
320
|
-
let
|
|
321
|
-
return e[65] !==
|
|
319
|
+
e[59] !== U || e[60] !== w || e[61] !== g || e[62] !== ie || e[63] !== de ? (ue = /* @__PURE__ */ l(Ye, { open: g, anchorEl: U, onClose: w, anchorOrigin: oe, transformOrigin: ce, slotProps: ie, children: de }), e[59] = U, e[60] = w, e[61] = g, e[62] = ie, e[63] = de, e[64] = ue) : ue = e[64];
|
|
320
|
+
let X;
|
|
321
|
+
return e[65] !== x || e[66] !== F || e[67] !== q || e[68] !== J || e[69] !== le || e[70] !== ue || e[71] !== D ? (X = /* @__PURE__ */ W(Me, { ref: S, elevation: 6, sx: D, ...x, children: [
|
|
322
322
|
F,
|
|
323
|
-
|
|
324
|
-
X,
|
|
323
|
+
B,
|
|
325
324
|
q,
|
|
326
|
-
|
|
325
|
+
Y,
|
|
326
|
+
J,
|
|
327
327
|
ee,
|
|
328
328
|
le,
|
|
329
329
|
ue
|
|
330
|
-
] }), e[65] =
|
|
330
|
+
] }), e[65] = x, e[66] = F, e[67] = q, e[68] = J, e[69] = le, e[70] = ue, e[71] = D, e[72] = X) : X = e[72], X;
|
|
331
331
|
}
|
|
332
|
-
function
|
|
332
|
+
function Zt(t) {
|
|
333
333
|
return t?.focus();
|
|
334
334
|
}
|
|
335
335
|
function Le(t) {
|
|
336
|
-
const e =
|
|
336
|
+
const e = Q(14), {
|
|
337
337
|
label: i,
|
|
338
338
|
icon: o,
|
|
339
339
|
active: n,
|
|
@@ -343,19 +343,19 @@ function Le(t) {
|
|
|
343
343
|
onClick: r
|
|
344
344
|
} = t, f = n === void 0 ? !1 : n, m = s === void 0 ? !1 : s;
|
|
345
345
|
let d;
|
|
346
|
-
e[0] !== f || e[1] !== a ? (d = a ? lt :
|
|
347
|
-
let
|
|
348
|
-
e[3] !== a || e[4] !== m || e[5] !== o || e[6] !== i || e[7] !== r || e[8] !== c || e[9] !== d ? (
|
|
349
|
-
let
|
|
350
|
-
return e[11] !== i || e[12] !==
|
|
346
|
+
e[0] !== f || e[1] !== a ? (d = a ? lt : Ft(f), e[0] = f, e[1] = a, e[2] = d) : d = e[2];
|
|
347
|
+
let u;
|
|
348
|
+
e[3] !== a || e[4] !== m || e[5] !== o || e[6] !== i || e[7] !== r || e[8] !== c || e[9] !== d ? (u = /* @__PURE__ */ l("span", { children: /* @__PURE__ */ l(be, { "aria-label": i, "aria-pressed": c, disabled: m, color: a, onClick: r, sx: d, children: o }) }), e[3] = a, e[4] = m, e[5] = o, e[6] = i, e[7] = r, e[8] = c, e[9] = d, e[10] = u) : u = e[10];
|
|
349
|
+
let x;
|
|
350
|
+
return e[11] !== i || e[12] !== u ? (x = /* @__PURE__ */ l(ke, { title: i, placement: "top", children: u }), e[11] = i, e[12] = u, e[13] = x) : x = e[13], x;
|
|
351
351
|
}
|
|
352
|
-
const
|
|
352
|
+
const jt = {
|
|
353
353
|
display: "flex",
|
|
354
354
|
alignItems: "center",
|
|
355
355
|
justifyContent: "space-between",
|
|
356
356
|
gap: 1,
|
|
357
357
|
p: 2
|
|
358
|
-
},
|
|
358
|
+
}, Ht = {
|
|
359
359
|
borderRadius: ({
|
|
360
360
|
spacing: t
|
|
361
361
|
}) => t(0.5),
|
|
@@ -379,69 +379,69 @@ const Zt = {
|
|
|
379
379
|
minWidth: 0,
|
|
380
380
|
mr: 1
|
|
381
381
|
};
|
|
382
|
-
function
|
|
383
|
-
const e =
|
|
382
|
+
function Vl(t) {
|
|
383
|
+
const e = Q(82), {
|
|
384
384
|
open: i,
|
|
385
385
|
onClose: o,
|
|
386
386
|
layers: n,
|
|
387
387
|
onApply: c,
|
|
388
388
|
labels: s,
|
|
389
389
|
DialogProps: a
|
|
390
|
-
} = t, r = St(), [f, m] = ae(
|
|
391
|
-
i !==
|
|
392
|
-
const
|
|
393
|
-
let
|
|
394
|
-
e[0] !== f || e[1] !== n ? (
|
|
395
|
-
const
|
|
396
|
-
let
|
|
390
|
+
} = t, r = St(), [f, m] = ae(qt), [d, u] = ae(""), [x, h] = ae(!1);
|
|
391
|
+
i !== x && (h(i), i && (m(new Set(n.filter(Xt).map(Kt))), u("")));
|
|
392
|
+
const S = s?.title ?? "Layer Filters", _ = s?.description ?? "Select the layers you want to filter with this polygon", U = s?.allSelected ?? "All selected", R = s?.empty ?? "No layers to filter";
|
|
393
|
+
let P;
|
|
394
|
+
e[0] !== f || e[1] !== n ? (P = n.length > 0 && n.every((X) => f.has(X.id)), e[0] = f, e[1] = n, e[2] = P) : P = e[2];
|
|
395
|
+
const b = P;
|
|
396
|
+
let v;
|
|
397
397
|
if (e[3] !== f || e[4] !== n) {
|
|
398
|
-
let
|
|
399
|
-
e[6] !== f ? (
|
|
398
|
+
let X;
|
|
399
|
+
e[6] !== f ? (X = (re) => f.has(re.id), e[6] = f, e[7] = X) : X = e[7], v = n.some(X), e[3] = f, e[4] = n, e[5] = v;
|
|
400
400
|
} else
|
|
401
|
-
|
|
402
|
-
const
|
|
401
|
+
v = e[5];
|
|
402
|
+
const O = v;
|
|
403
403
|
let g;
|
|
404
|
-
e[8] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (g = (
|
|
404
|
+
e[8] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (g = (X) => m((re) => {
|
|
405
405
|
const Ae = new Set(re);
|
|
406
|
-
return Ae.has(
|
|
406
|
+
return Ae.has(X) ? Ae.delete(X) : Ae.add(X), Ae;
|
|
407
407
|
}), e[8] = g) : g = e[8];
|
|
408
|
-
const
|
|
409
|
-
let
|
|
410
|
-
e[9] !==
|
|
411
|
-
const
|
|
412
|
-
let
|
|
413
|
-
e[12] !== f || e[13] !== n || e[14] !== c || e[15] !== o ? (
|
|
414
|
-
c(n.filter((
|
|
415
|
-
}, e[12] = f, e[13] = n, e[14] = c, e[15] = o, e[16] =
|
|
416
|
-
const
|
|
417
|
-
let
|
|
418
|
-
e[17] !== n || e[18] !== d ? (
|
|
419
|
-
const
|
|
408
|
+
const I = g;
|
|
409
|
+
let k;
|
|
410
|
+
e[9] !== b || e[10] !== n ? (k = () => m(b ? /* @__PURE__ */ new Set() : new Set(n.map(Yt))), e[9] = b, e[10] = n, e[11] = k) : k = e[11];
|
|
411
|
+
const T = k;
|
|
412
|
+
let p;
|
|
413
|
+
e[12] !== f || e[13] !== n || e[14] !== c || e[15] !== o ? (p = () => {
|
|
414
|
+
c(n.filter((X) => f.has(X.id)).map(Gt)), o();
|
|
415
|
+
}, e[12] = f, e[13] = n, e[14] = c, e[15] = o, e[16] = p) : p = e[16];
|
|
416
|
+
const L = p;
|
|
417
|
+
let C, A;
|
|
418
|
+
e[17] !== n || e[18] !== d ? (C = d.trim().toLowerCase(), A = C ? n.filter((X) => X.label.toLowerCase().includes(C)) : n, e[17] = n, e[18] = d, e[19] = C, e[20] = A) : (C = e[19], A = e[20]);
|
|
419
|
+
const y = A;
|
|
420
420
|
let w;
|
|
421
|
-
e[21] !==
|
|
422
|
-
let
|
|
423
|
-
e[23] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
424
|
-
let
|
|
425
|
-
e[24] !== o ? (
|
|
426
|
-
let
|
|
427
|
-
e[26] !== w || e[27] !==
|
|
421
|
+
e[21] !== S ? (w = /* @__PURE__ */ l(se, { variant: "subtitle1", fontWeight: 500, children: S }), e[21] = S, e[22] = w) : w = e[22];
|
|
422
|
+
let E;
|
|
423
|
+
e[23] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (E = /* @__PURE__ */ l(Ue, { fontSize: "small" }), e[23] = E) : E = e[23];
|
|
424
|
+
let z;
|
|
425
|
+
e[24] !== o ? (z = /* @__PURE__ */ l(be, { "aria-label": "close", size: "small", onClick: o, children: E }), e[24] = o, e[25] = z) : z = e[25];
|
|
426
|
+
let $;
|
|
427
|
+
e[26] !== w || e[27] !== z ? ($ = /* @__PURE__ */ W(Xe, { component: "div", sx: jt, children: [
|
|
428
428
|
w,
|
|
429
|
-
|
|
430
|
-
] }), e[26] = w, e[27] =
|
|
431
|
-
let
|
|
432
|
-
e[29] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
429
|
+
z
|
|
430
|
+
] }), e[26] = w, e[27] = z, e[28] = $) : $ = e[28];
|
|
431
|
+
let M;
|
|
432
|
+
e[29] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (M = {
|
|
433
433
|
pt: 1,
|
|
434
434
|
px: 2,
|
|
435
435
|
pb: 3
|
|
436
|
-
}, e[29] =
|
|
437
|
-
let
|
|
438
|
-
e[30] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
436
|
+
}, e[29] = M) : M = e[29];
|
|
437
|
+
let D;
|
|
438
|
+
e[30] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (D = {
|
|
439
439
|
mb: 2
|
|
440
|
-
}, e[30] =
|
|
440
|
+
}, e[30] = D) : D = e[30];
|
|
441
441
|
let V;
|
|
442
|
-
e[31] !==
|
|
442
|
+
e[31] !== _ ? (V = /* @__PURE__ */ l(se, { variant: "body2", color: "text.secondary", sx: D, children: _ }), e[31] = _, e[32] = V) : V = e[32];
|
|
443
443
|
let N;
|
|
444
|
-
e[33] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (N = /* @__PURE__ */ l(
|
|
444
|
+
e[33] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (N = /* @__PURE__ */ l(Mt, { sx: {
|
|
445
445
|
fontSize: 18
|
|
446
446
|
} }), e[33] = N) : N = e[33];
|
|
447
447
|
const Z = s?.search ?? "Search layers", j = s?.search ?? "Search layers";
|
|
@@ -449,68 +449,68 @@ function Wl(t) {
|
|
|
449
449
|
e[34] !== j ? (F = {
|
|
450
450
|
"aria-label": j
|
|
451
451
|
}, e[34] = j, e[35] = F) : F = e[35];
|
|
452
|
-
let
|
|
453
|
-
e[36] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
452
|
+
let B, H;
|
|
453
|
+
e[36] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (B = (X) => u(X.target.value), H = {
|
|
454
454
|
fontSize: 13,
|
|
455
455
|
color: "text.primary"
|
|
456
|
-
}, e[36] =
|
|
457
|
-
let X;
|
|
458
|
-
e[38] !== d || e[39] !== Z || e[40] !== F ? (X = /* @__PURE__ */ U(ne, { sx: Nt, children: [
|
|
459
|
-
N,
|
|
460
|
-
/* @__PURE__ */ l(rt, { fullWidth: !0, placeholder: Z, inputProps: F, value: d, onChange: z, sx: G })
|
|
461
|
-
] }), e[38] = d, e[39] = Z, e[40] = F, e[41] = X) : X = e[41];
|
|
456
|
+
}, e[36] = B, e[37] = H) : (B = e[36], H = e[37]);
|
|
462
457
|
let q;
|
|
463
|
-
e[
|
|
464
|
-
|
|
465
|
-
|
|
458
|
+
e[38] !== d || e[39] !== Z || e[40] !== F ? (q = /* @__PURE__ */ W(ne, { sx: Nt, children: [
|
|
459
|
+
N,
|
|
460
|
+
/* @__PURE__ */ l(rt, { fullWidth: !0, placeholder: Z, inputProps: F, value: d, onChange: B, sx: H })
|
|
461
|
+
] }), e[38] = d, e[39] = Z, e[40] = F, e[41] = q) : q = e[41];
|
|
462
|
+
let Y;
|
|
463
|
+
e[42] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (Y = /* @__PURE__ */ l(he, {}), e[42] = Y) : Y = e[42];
|
|
464
|
+
let G;
|
|
465
|
+
e[43] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (G = {
|
|
466
466
|
maxHeight: 240,
|
|
467
467
|
overflowY: "auto",
|
|
468
468
|
"& .MuiDivider-root": {
|
|
469
469
|
my: 0
|
|
470
470
|
}
|
|
471
|
-
}, e[43] =
|
|
471
|
+
}, e[43] = G) : G = e[43];
|
|
472
472
|
let K;
|
|
473
|
-
e[44] !==
|
|
474
|
-
/* @__PURE__ */
|
|
473
|
+
e[44] !== b || e[45] !== U || e[46] !== r || e[47] !== C || e[48] !== O || e[49] !== T ? (K = !C && /* @__PURE__ */ W(me, { children: [
|
|
474
|
+
/* @__PURE__ */ W(We, { dense: !0, sx: Ze, onClick: T, children: [
|
|
475
475
|
/* @__PURE__ */ l($e, { sx: je, children: /* @__PURE__ */ l(ze, { edge: "start", tabIndex: -1, disableRipple: !0, sx: {
|
|
476
476
|
p: 0.5
|
|
477
|
-
}, checked:
|
|
477
|
+
}, checked: b, indeterminate: !b && O, inputProps: {
|
|
478
478
|
"aria-labelledby": `${r}-all`
|
|
479
479
|
} }) }),
|
|
480
|
-
/* @__PURE__ */ l(Ce, { id: `${r}-all`, primary:
|
|
480
|
+
/* @__PURE__ */ l(Ce, { id: `${r}-all`, primary: U, primaryTypographyProps: {
|
|
481
481
|
variant: "body2"
|
|
482
482
|
} })
|
|
483
483
|
] }),
|
|
484
484
|
/* @__PURE__ */ l(he, {})
|
|
485
|
-
] }), e[44] =
|
|
486
|
-
let
|
|
487
|
-
e[51] !== f || e[52] !==
|
|
485
|
+
] }), e[44] = b, e[45] = U, e[46] = r, e[47] = C, e[48] = O, e[49] = T, e[50] = K) : K = e[50];
|
|
486
|
+
let J;
|
|
487
|
+
e[51] !== f || e[52] !== R || e[53] !== y || e[54] !== r ? (J = y.length === 0 ? /* @__PURE__ */ l(se, { variant: "body2", color: "text.secondary", sx: {
|
|
488
488
|
p: 2
|
|
489
|
-
}, children:
|
|
489
|
+
}, children: R }) : y.map((X) => /* @__PURE__ */ W(We, { dense: !0, sx: Ze, onClick: () => I(X.id), children: [
|
|
490
490
|
/* @__PURE__ */ l($e, { sx: je, children: /* @__PURE__ */ l(ze, { edge: "start", tabIndex: -1, disableRipple: !0, sx: {
|
|
491
491
|
p: 0.5
|
|
492
|
-
}, checked: f.has(
|
|
493
|
-
"aria-labelledby": `${r}-${
|
|
492
|
+
}, checked: f.has(X.id), inputProps: {
|
|
493
|
+
"aria-labelledby": `${r}-${X.id}`
|
|
494
494
|
} }) }),
|
|
495
|
-
/* @__PURE__ */ l(Ce, { id: `${r}-${
|
|
495
|
+
/* @__PURE__ */ l(Ce, { id: `${r}-${X.id}`, primary: X.label, primaryTypographyProps: {
|
|
496
496
|
variant: "body2",
|
|
497
497
|
noWrap: !0,
|
|
498
|
-
title:
|
|
498
|
+
title: X.label
|
|
499
499
|
} })
|
|
500
|
-
] },
|
|
500
|
+
] }, X.id)), e[51] = f, e[52] = R, e[53] = y, e[54] = r, e[55] = J) : J = e[55];
|
|
501
501
|
let ee;
|
|
502
|
-
e[56] !== K || e[57] !==
|
|
502
|
+
e[56] !== K || e[57] !== J ? (ee = /* @__PURE__ */ W(qe, { component: "div", role: "list", disablePadding: !0, sx: G, children: [
|
|
503
503
|
K,
|
|
504
|
-
|
|
505
|
-
] }), e[56] = K, e[57] =
|
|
504
|
+
J
|
|
505
|
+
] }), e[56] = K, e[57] = J, e[58] = ee) : ee = e[58];
|
|
506
506
|
let te;
|
|
507
|
-
e[59] !==
|
|
508
|
-
X,
|
|
507
|
+
e[59] !== q || e[60] !== ee ? (te = /* @__PURE__ */ W(ne, { sx: Ht, children: [
|
|
509
508
|
q,
|
|
509
|
+
Y,
|
|
510
510
|
ee
|
|
511
|
-
] }), e[59] =
|
|
511
|
+
] }), e[59] = q, e[60] = ee, e[61] = te) : te = e[61];
|
|
512
512
|
let le;
|
|
513
|
-
e[62] !== V || e[63] !== te ? (le = /* @__PURE__ */
|
|
513
|
+
e[62] !== V || e[63] !== te ? (le = /* @__PURE__ */ W(Qe, { sx: M, children: [
|
|
514
514
|
V,
|
|
515
515
|
te
|
|
516
516
|
] }), e[62] = V, e[63] = te, e[64] = le) : le = e[64];
|
|
@@ -523,43 +523,43 @@ function Wl(t) {
|
|
|
523
523
|
e[66] !== o || e[67] !== ce ? (ie = /* @__PURE__ */ l(_e, { onClick: o, children: ce }), e[66] = o, e[67] = ce, e[68] = ie) : ie = e[68];
|
|
524
524
|
const ge = s?.apply ?? "Apply";
|
|
525
525
|
let pe;
|
|
526
|
-
e[69] !==
|
|
526
|
+
e[69] !== L || e[70] !== ge ? (pe = /* @__PURE__ */ l(_e, { variant: "contained", onClick: L, children: ge }), e[69] = L, e[70] = ge, e[71] = pe) : pe = e[71];
|
|
527
527
|
let de;
|
|
528
|
-
e[72] !== ie || e[73] !== pe ? (de = /* @__PURE__ */
|
|
528
|
+
e[72] !== ie || e[73] !== pe ? (de = /* @__PURE__ */ W(Je, { sx: oe, children: [
|
|
529
529
|
ie,
|
|
530
530
|
pe
|
|
531
531
|
] }), e[72] = ie, e[73] = pe, e[74] = de) : de = e[74];
|
|
532
532
|
let ue;
|
|
533
|
-
return e[75] !== a || e[76] !== o || e[77] !== i || e[78] !==
|
|
534
|
-
|
|
533
|
+
return e[75] !== a || e[76] !== o || e[77] !== i || e[78] !== $ || e[79] !== le || e[80] !== de ? (ue = /* @__PURE__ */ W(Ke, { open: i, onClose: o, maxWidth: "xs", fullWidth: !0, ...a, children: [
|
|
534
|
+
$,
|
|
535
535
|
le,
|
|
536
536
|
de
|
|
537
|
-
] }), e[75] = a, e[76] = o, e[77] = i, e[78] =
|
|
537
|
+
] }), e[75] = a, e[76] = o, e[77] = i, e[78] = $, e[79] = le, e[80] = de, e[81] = ue) : ue = e[81], ue;
|
|
538
538
|
}
|
|
539
539
|
function Gt(t) {
|
|
540
540
|
return t.id;
|
|
541
541
|
}
|
|
542
|
-
function Ht(t) {
|
|
543
|
-
return t.id;
|
|
544
|
-
}
|
|
545
542
|
function Yt(t) {
|
|
546
543
|
return t.id;
|
|
547
544
|
}
|
|
548
545
|
function Kt(t) {
|
|
546
|
+
return t.id;
|
|
547
|
+
}
|
|
548
|
+
function Xt(t) {
|
|
549
549
|
return t.checked;
|
|
550
550
|
}
|
|
551
|
-
function
|
|
551
|
+
function qt() {
|
|
552
552
|
return /* @__PURE__ */ new Set();
|
|
553
553
|
}
|
|
554
|
-
function
|
|
555
|
-
const e =
|
|
554
|
+
function Fl(t) {
|
|
555
|
+
const e = Q(16), {
|
|
556
556
|
message: i,
|
|
557
557
|
onDismiss: o,
|
|
558
558
|
AlertProps: n,
|
|
559
559
|
SnackbarProps: c
|
|
560
560
|
} = t;
|
|
561
561
|
let s;
|
|
562
|
-
e[0] !== o ? (s = (
|
|
562
|
+
e[0] !== o ? (s = (u, x) => x !== "clickaway" && o(), e[0] = o, e[1] = s) : s = e[1];
|
|
563
563
|
let a;
|
|
564
564
|
e[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (a = {
|
|
565
565
|
position: "static",
|
|
@@ -569,33 +569,33 @@ function zl(t) {
|
|
|
569
569
|
let f;
|
|
570
570
|
e[3] !== i.title ? (f = /* @__PURE__ */ l(at, { children: i.title }), e[3] = i.title, e[4] = f) : f = e[4];
|
|
571
571
|
let m;
|
|
572
|
-
e[5] !== n || e[6] !== i.action || e[7] !== i.content || e[8] !== o || e[9] !== r || e[10] !== f ? (m = /* @__PURE__ */
|
|
572
|
+
e[5] !== n || e[6] !== i.action || e[7] !== i.content || e[8] !== o || e[9] !== r || e[10] !== f ? (m = /* @__PURE__ */ W(et, { severity: r, action: i.action, onClose: o, ...n, children: [
|
|
573
573
|
f,
|
|
574
574
|
i.content
|
|
575
575
|
] }), e[5] = n, e[6] = i.action, e[7] = i.content, e[8] = o, e[9] = r, e[10] = f, e[11] = m) : m = e[11];
|
|
576
576
|
let d;
|
|
577
577
|
return e[12] !== c || e[13] !== s || e[14] !== m ? (d = /* @__PURE__ */ l(ct, { open: !0, autoHideDuration: 5e3, onClose: s, sx: a, ...c, children: m }), e[12] = c, e[13] = s, e[14] = m, e[15] = d) : d = e[15], d;
|
|
578
578
|
}
|
|
579
|
-
function
|
|
580
|
-
const e =
|
|
579
|
+
function Qt(t) {
|
|
580
|
+
const e = Q(3);
|
|
581
581
|
let i;
|
|
582
582
|
e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (i = /* @__PURE__ */ l("path", { fill: "currentColor", d: "M3 13.5c-.413 0-.766-.147-1.06-.44A1.445 1.445 0 0 1 1.5 12V6c0-.412.147-.766.44-1.06.294-.293.647-.44 1.06-.44h12c.412 0 .766.147 1.06.44.293.294.44.647.44 1.06v6c0 .412-.147.766-.44 1.06-.294.293-.647.44-1.06.44H3ZM3 12h12V6h-2.25v3h-1.5V6h-1.5v3h-1.5V6h-1.5v3h-1.5V6H3v6Z" }), e[0] = i) : i = e[0];
|
|
583
583
|
let o;
|
|
584
584
|
return e[1] !== t ? (o = /* @__PURE__ */ l("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 18 18", fill: "currentColor", ...t, children: i }), e[1] = t, e[2] = o) : o = e[2], o;
|
|
585
585
|
}
|
|
586
|
-
function
|
|
587
|
-
const e =
|
|
586
|
+
function Jt(t) {
|
|
587
|
+
const e = Q(3);
|
|
588
588
|
let i;
|
|
589
589
|
e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (i = /* @__PURE__ */ l("path", { fill: "currentColor", fillRule: "evenodd", d: "M9 1.5a7.5 7.5 0 1 1 0 15 7.5 7.5 0 0 1 0-15ZM9 3a6 6 0 1 0 0 12A6 6 0 0 0 9 3Zm0 4.5a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3Z", clipRule: "evenodd" }), e[0] = i) : i = e[0];
|
|
590
590
|
let o;
|
|
591
591
|
return e[1] !== t ? (o = /* @__PURE__ */ l("svg", { fill: "none", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 18 18", ...t, children: i }), e[1] = t, e[2] = o) : o = e[2], o;
|
|
592
592
|
}
|
|
593
|
-
function
|
|
594
|
-
const e =
|
|
593
|
+
function el(t) {
|
|
594
|
+
const e = Q(4);
|
|
595
595
|
let i, o;
|
|
596
596
|
e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (i = /* @__PURE__ */ l("path", { fill: "currentColor", fillRule: "evenodd", d: "M4.5 13.5v-9h9v9h-9Zm.75-8.25h7.5v7.5h-7.5v-7.5Z", clipRule: "evenodd" }), o = /* @__PURE__ */ l("path", { fill: "#2C3032", fillRule: "evenodd", d: "M1.5 3A1.5 1.5 0 0 1 3 1.5h12A1.5 1.5 0 0 1 16.5 3v12a1.5 1.5 0 0 1-1.5 1.5H3A1.5 1.5 0 0 1 1.5 15V3ZM3 3h12v12H3V3Z", clipRule: "evenodd" }), e[0] = i, e[1] = o) : (i = e[0], o = e[1]);
|
|
597
597
|
let n;
|
|
598
|
-
return e[2] !== t ? (n = /* @__PURE__ */
|
|
598
|
+
return e[2] !== t ? (n = /* @__PURE__ */ W("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 18 18", ...t, children: [
|
|
599
599
|
i,
|
|
600
600
|
o
|
|
601
601
|
] }), e[2] = t, e[3] = n) : n = e[3], n;
|
|
@@ -652,7 +652,7 @@ const ve = {
|
|
|
652
652
|
}
|
|
653
653
|
}
|
|
654
654
|
}
|
|
655
|
-
},
|
|
655
|
+
}, tl = {
|
|
656
656
|
"m-km": {
|
|
657
657
|
short: "m-km"
|
|
658
658
|
},
|
|
@@ -680,15 +680,15 @@ const ve = {
|
|
|
680
680
|
feet: {
|
|
681
681
|
short: "ft"
|
|
682
682
|
}
|
|
683
|
-
},
|
|
683
|
+
}, ll = {
|
|
684
684
|
distance: {
|
|
685
|
-
icon: /* @__PURE__ */ l(
|
|
685
|
+
icon: /* @__PURE__ */ l(Qt, {})
|
|
686
686
|
},
|
|
687
687
|
buffer: {
|
|
688
|
-
icon: /* @__PURE__ */ l(
|
|
688
|
+
icon: /* @__PURE__ */ l(Jt, {})
|
|
689
689
|
},
|
|
690
690
|
area: {
|
|
691
|
-
icon: /* @__PURE__ */ l(
|
|
691
|
+
icon: /* @__PURE__ */ l(el, {})
|
|
692
692
|
}
|
|
693
693
|
}, fe = {
|
|
694
694
|
container: {
|
|
@@ -815,9 +815,9 @@ const ve = {
|
|
|
815
815
|
}
|
|
816
816
|
}
|
|
817
817
|
}
|
|
818
|
-
},
|
|
819
|
-
function
|
|
820
|
-
const e =
|
|
818
|
+
}, ol = {};
|
|
819
|
+
function Zl(t) {
|
|
820
|
+
const e = Q(44), {
|
|
821
821
|
enabled: i,
|
|
822
822
|
actionProps: o,
|
|
823
823
|
labels: n,
|
|
@@ -828,60 +828,60 @@ function Vl(t) {
|
|
|
828
828
|
PaperProps: f,
|
|
829
829
|
units: m,
|
|
830
830
|
unitSelected: d,
|
|
831
|
-
onActionToggle:
|
|
832
|
-
onChangeMode:
|
|
833
|
-
onChangeUnit:
|
|
834
|
-
} = t,
|
|
835
|
-
let
|
|
836
|
-
e[0] !==
|
|
837
|
-
sx:
|
|
838
|
-
...
|
|
839
|
-
} =
|
|
840
|
-
let
|
|
841
|
-
e[3] !==
|
|
842
|
-
const
|
|
831
|
+
onActionToggle: u,
|
|
832
|
+
onChangeMode: x,
|
|
833
|
+
onChangeUnit: h
|
|
834
|
+
} = t, S = n === void 0 ? ve : n, _ = s === void 0 ? ll : s, U = a === void 0 ? tl : a, R = f === void 0 ? ol : f;
|
|
835
|
+
let P, b;
|
|
836
|
+
e[0] !== R ? ({
|
|
837
|
+
sx: b,
|
|
838
|
+
...P
|
|
839
|
+
} = R, e[0] = R, e[1] = P, e[2] = b) : (P = e[1], b = e[2]);
|
|
840
|
+
let v;
|
|
841
|
+
e[3] !== u ? (v = (B) => u(!!B), e[3] = u, e[4] = v) : v = e[4];
|
|
842
|
+
const O = v;
|
|
843
843
|
let g;
|
|
844
|
-
e[5] !== c || e[6] !==
|
|
845
|
-
const
|
|
846
|
-
let
|
|
847
|
-
e[8] !==
|
|
848
|
-
const
|
|
849
|
-
let
|
|
850
|
-
e[12] !==
|
|
851
|
-
[
|
|
852
|
-
}, e[12] =
|
|
853
|
-
const w =
|
|
854
|
-
let
|
|
855
|
-
if (e[16] !== w || e[17] !==
|
|
856
|
-
let
|
|
857
|
-
e[19] !==
|
|
858
|
-
...
|
|
859
|
-
|
|
860
|
-
}), e[19] =
|
|
844
|
+
e[5] !== c || e[6] !== _ ? (g = Be(c, _), e[5] = c, e[6] = _, e[7] = g) : g = e[7];
|
|
845
|
+
const I = g, k = (r ?? "") in I;
|
|
846
|
+
let T;
|
|
847
|
+
e[8] !== I || e[9] !== k || e[10] !== r ? (T = k ? r : Object.keys(I)[0], e[8] = I, e[9] = k, e[10] = r, e[11] = T) : T = e[11];
|
|
848
|
+
const p = T, L = I[p], C = m[p];
|
|
849
|
+
let A;
|
|
850
|
+
e[12] !== p || e[13] !== C || e[14] !== m ? (A = Object.keys(m).length >= 1 ? m : {
|
|
851
|
+
[p]: C.slice(0, 1)
|
|
852
|
+
}, e[12] = p, e[13] = C, e[14] = m, e[15] = A) : A = e[15];
|
|
853
|
+
const w = A[p];
|
|
854
|
+
let E;
|
|
855
|
+
if (e[16] !== w || e[17] !== U) {
|
|
856
|
+
let B;
|
|
857
|
+
e[19] !== U ? (B = (H) => ({
|
|
858
|
+
...H,
|
|
859
|
+
...U[H.value]
|
|
860
|
+
}), e[19] = U, e[20] = B) : B = e[20], E = w.map(B), e[16] = w, e[17] = U, e[18] = E;
|
|
861
861
|
} else
|
|
862
|
-
|
|
863
|
-
const
|
|
864
|
-
let
|
|
865
|
-
e[21] !==
|
|
862
|
+
E = e[18];
|
|
863
|
+
const z = E;
|
|
864
|
+
let $;
|
|
865
|
+
e[21] !== b ? ($ = {
|
|
866
866
|
...fe.container,
|
|
867
|
-
...
|
|
868
|
-
}, e[21] =
|
|
869
|
-
const
|
|
867
|
+
...b
|
|
868
|
+
}, e[21] = b, e[22] = $) : $ = e[22];
|
|
869
|
+
const M = S?.action, D = L?.icon;
|
|
870
870
|
let V;
|
|
871
|
-
e[23] !== o || e[24] !== i || e[25] !==
|
|
872
|
-
const N =
|
|
871
|
+
e[23] !== o || e[24] !== i || e[25] !== O || e[26] !== M || e[27] !== D ? (V = /* @__PURE__ */ l(nl, { actionProps: o, labels: M, enabled: i, onActionToggle: O, children: D }), e[23] = o, e[24] = i, e[25] = O, e[26] = M, e[27] = D, e[28] = V) : V = e[28];
|
|
872
|
+
const N = S?.options;
|
|
873
873
|
let Z;
|
|
874
|
-
e[29] !==
|
|
874
|
+
e[29] !== z || e[30] !== I || e[31] !== p || e[32] !== x || e[33] !== h || e[34] !== N || e[35] !== d ? (Z = /* @__PURE__ */ l(il, { labels: N, modes: I, modeSelected: p, units: z, unitSelected: d, onChangeMode: x, onChangeUnit: h }), e[29] = z, e[30] = I, e[31] = p, e[32] = x, e[33] = h, e[34] = N, e[35] = d, e[36] = Z) : Z = e[36];
|
|
875
875
|
let j;
|
|
876
|
-
e[37] !== V || e[38] !== Z ? (j = /* @__PURE__ */
|
|
876
|
+
e[37] !== V || e[38] !== Z ? (j = /* @__PURE__ */ W(ne, { children: [
|
|
877
877
|
V,
|
|
878
878
|
Z
|
|
879
879
|
] }), e[37] = V, e[38] = Z, e[39] = j) : j = e[39];
|
|
880
880
|
let F;
|
|
881
|
-
return e[40] !==
|
|
881
|
+
return e[40] !== P || e[41] !== $ || e[42] !== j ? (F = /* @__PURE__ */ l(Me, { sx: $, ...P, children: j }), e[40] = P, e[41] = $, e[42] = j, e[43] = F) : F = e[43], F;
|
|
882
882
|
}
|
|
883
|
-
function
|
|
884
|
-
const e =
|
|
883
|
+
function nl(t) {
|
|
884
|
+
const e = Q(12), {
|
|
885
885
|
actionProps: i,
|
|
886
886
|
labels: o,
|
|
887
887
|
enabled: n,
|
|
@@ -892,11 +892,11 @@ function ol(t) {
|
|
|
892
892
|
e[0] !== n || e[1] !== s ? (m = () => s(!n), e[0] = n, e[1] = s, e[2] = m) : m = e[2];
|
|
893
893
|
let d;
|
|
894
894
|
e[3] !== r || e[4] !== c || e[5] !== n || e[6] !== m ? (d = /* @__PURE__ */ l(Pe, { value: "toggle", sx: fe.actions.icon, onClick: m, "aria-label": r, selected: n, children: c }), e[3] = r, e[4] = c, e[5] = n, e[6] = m, e[7] = d) : d = e[7];
|
|
895
|
-
let
|
|
896
|
-
return e[8] !== r || e[9] !== f || e[10] !== d ? (
|
|
895
|
+
let u;
|
|
896
|
+
return e[8] !== r || e[9] !== f || e[10] !== d ? (u = /* @__PURE__ */ l(ke, { title: r, placement: "right", ...f, children: d }), e[8] = r, e[9] = f, e[10] = d, e[11] = u) : u = e[11], u;
|
|
897
897
|
}
|
|
898
|
-
function
|
|
899
|
-
const e =
|
|
898
|
+
function il(t) {
|
|
899
|
+
const e = Q(41), {
|
|
900
900
|
modes: i,
|
|
901
901
|
modeSelected: o,
|
|
902
902
|
units: n,
|
|
@@ -904,91 +904,91 @@ function nl(t) {
|
|
|
904
904
|
labels: s,
|
|
905
905
|
onChangeMode: a,
|
|
906
906
|
onChangeUnit: r
|
|
907
|
-
} = t, [f, m] = ae(null), [d,
|
|
908
|
-
let
|
|
909
|
-
e[0] !== i ? (
|
|
910
|
-
const
|
|
911
|
-
let
|
|
912
|
-
e[2] !== n ? (
|
|
913
|
-
const
|
|
914
|
-
if (!(
|
|
907
|
+
} = t, [f, m] = ae(null), [d, u] = ae(!1);
|
|
908
|
+
let x;
|
|
909
|
+
e[0] !== i ? (x = Object.values(i), e[0] = i, e[1] = x) : x = e[1];
|
|
910
|
+
const h = x;
|
|
911
|
+
let S;
|
|
912
|
+
e[2] !== n ? (S = Object.values(n), e[2] = n, e[3] = S) : S = e[3];
|
|
913
|
+
const _ = S;
|
|
914
|
+
if (!(h.length > 1 || _.length > 1))
|
|
915
915
|
return null;
|
|
916
|
-
const
|
|
917
|
-
let
|
|
918
|
-
e[4] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
919
|
-
m(
|
|
920
|
-
}, e[4] =
|
|
921
|
-
const
|
|
922
|
-
let
|
|
923
|
-
e[5] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
916
|
+
const R = !!f;
|
|
917
|
+
let P;
|
|
918
|
+
e[4] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (P = (B) => {
|
|
919
|
+
m(B.currentTarget);
|
|
920
|
+
}, e[4] = P) : P = e[4];
|
|
921
|
+
const b = P;
|
|
922
|
+
let v;
|
|
923
|
+
e[5] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (v = () => {
|
|
924
924
|
m(null);
|
|
925
|
-
}, e[5] =
|
|
926
|
-
const
|
|
925
|
+
}, e[5] = v) : v = e[5];
|
|
926
|
+
const O = v;
|
|
927
927
|
let g;
|
|
928
|
-
e[6] !== a ? (g = (
|
|
929
|
-
|
|
928
|
+
e[6] !== a ? (g = (B, H) => {
|
|
929
|
+
B.preventDefault(), a(H.value), O();
|
|
930
930
|
}, e[6] = a, e[7] = g) : g = e[7];
|
|
931
|
-
const
|
|
932
|
-
let
|
|
933
|
-
e[8] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
934
|
-
|
|
935
|
-
}, e[8] =
|
|
936
|
-
const
|
|
937
|
-
let
|
|
938
|
-
e[9] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
939
|
-
|
|
940
|
-
}, e[9] =
|
|
941
|
-
const
|
|
942
|
-
let
|
|
943
|
-
e[10] !== r ? (
|
|
944
|
-
|
|
945
|
-
}, e[10] = r, e[11] =
|
|
946
|
-
const
|
|
947
|
-
let
|
|
948
|
-
e[12] !== c || e[13] !== n ? (
|
|
949
|
-
const
|
|
950
|
-
let
|
|
951
|
-
e[15] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
952
|
-
let
|
|
953
|
-
e[16] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
931
|
+
const I = g;
|
|
932
|
+
let k;
|
|
933
|
+
e[8] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (k = () => {
|
|
934
|
+
u(!0);
|
|
935
|
+
}, e[8] = k) : k = e[8];
|
|
936
|
+
const T = k;
|
|
937
|
+
let p;
|
|
938
|
+
e[9] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (p = () => {
|
|
939
|
+
u(!1);
|
|
940
|
+
}, e[9] = p) : p = e[9];
|
|
941
|
+
const L = p;
|
|
942
|
+
let C;
|
|
943
|
+
e[10] !== r ? (C = (B) => {
|
|
944
|
+
L(), r(B);
|
|
945
|
+
}, e[10] = r, e[11] = C) : C = e[11];
|
|
946
|
+
const A = C, y = s?.mode?.title ?? ve.options.mode.title, w = s?.units?.title ?? ve.options.units.title, E = h.length > 1 && _.length > 1;
|
|
947
|
+
let z;
|
|
948
|
+
e[12] !== c || e[13] !== n ? (z = n.find((B) => B.value === c) ?? n[0], e[12] = c, e[13] = n, e[14] = z) : z = e[14];
|
|
949
|
+
const $ = z;
|
|
950
|
+
let M;
|
|
951
|
+
e[15] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (M = /* @__PURE__ */ l(be, { sx: fe.options.icon, onClick: b, children: /* @__PURE__ */ l(At, {}) }), e[15] = M) : M = e[15];
|
|
952
|
+
let D;
|
|
953
|
+
e[16] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (D = {
|
|
954
954
|
"aria-labelledby": "basic-button",
|
|
955
955
|
sx: fe.options.menu
|
|
956
|
-
}, e[16] =
|
|
956
|
+
}, e[16] = D) : D = e[16];
|
|
957
957
|
let V;
|
|
958
|
-
e[17] !==
|
|
959
|
-
/* @__PURE__ */ l(se, { variant: "subtitle2", color: "text.secondary", sx: fe.options.title, children:
|
|
960
|
-
|
|
961
|
-
const
|
|
962
|
-
return /* @__PURE__ */
|
|
963
|
-
/* @__PURE__ */ l($e, { sx: fe.options.icons, children: /* @__PURE__ */ l(Re, { children:
|
|
964
|
-
/* @__PURE__ */ l(Ce, { children:
|
|
965
|
-
] },
|
|
958
|
+
e[17] !== I || e[18] !== s?.mode?.options || e[19] !== o || e[20] !== y || e[21] !== h ? (V = h.length > 1 && /* @__PURE__ */ W(me, { children: [
|
|
959
|
+
/* @__PURE__ */ l(se, { variant: "subtitle2", color: "text.secondary", sx: fe.options.title, children: y }),
|
|
960
|
+
h.map((B) => {
|
|
961
|
+
const q = (s?.mode?.options ?? ve.options.mode.options)[B.value];
|
|
962
|
+
return /* @__PURE__ */ W(Ve, { onClick: (Y) => I(Y, B), selected: B.value === o, children: [
|
|
963
|
+
/* @__PURE__ */ l($e, { sx: fe.options.icons, children: /* @__PURE__ */ l(Re, { children: B.icon }) }),
|
|
964
|
+
/* @__PURE__ */ l(Ce, { children: q })
|
|
965
|
+
] }, B.value);
|
|
966
966
|
})
|
|
967
|
-
] }), e[17] =
|
|
967
|
+
] }), e[17] = I, e[18] = s?.mode?.options, e[19] = o, e[20] = y, e[21] = h, e[22] = V) : V = e[22];
|
|
968
968
|
let N;
|
|
969
|
-
e[23] !==
|
|
969
|
+
e[23] !== E ? (N = E && /* @__PURE__ */ l(he, {}), e[23] = E, e[24] = N) : N = e[24];
|
|
970
970
|
let Z;
|
|
971
|
-
e[25] !==
|
|
972
|
-
/* @__PURE__ */
|
|
971
|
+
e[25] !== A || e[26] !== s || e[27] !== d || e[28] !== $ || e[29] !== w || e[30] !== n || e[31] !== _.length ? (Z = _.length > 1 && /* @__PURE__ */ W(me, { children: [
|
|
972
|
+
/* @__PURE__ */ W(Ve, { onClick: T, children: [
|
|
973
973
|
/* @__PURE__ */ l(Ce, { children: w }),
|
|
974
|
-
/* @__PURE__ */ l(se, { variant: "caption", fontWeight: 500, sx: fe.options.tag, children:
|
|
974
|
+
/* @__PURE__ */ l(se, { variant: "caption", fontWeight: 500, sx: fe.options.tag, children: $.short })
|
|
975
975
|
] }),
|
|
976
|
-
/* @__PURE__ */ l(
|
|
977
|
-
] }), e[25] =
|
|
976
|
+
/* @__PURE__ */ l(sl, { open: d, labels: s, units: n, unitSelectedValue: $, onClose: L, onSubmit: A })
|
|
977
|
+
] }), e[25] = A, e[26] = s, e[27] = d, e[28] = $, e[29] = w, e[30] = n, e[31] = _.length, e[32] = Z) : Z = e[32];
|
|
978
978
|
let j;
|
|
979
|
-
e[33] !== V || e[34] !== N || e[35] !== Z ? (j = /* @__PURE__ */
|
|
979
|
+
e[33] !== V || e[34] !== N || e[35] !== Z ? (j = /* @__PURE__ */ W("div", { children: [
|
|
980
980
|
V,
|
|
981
981
|
N,
|
|
982
982
|
Z
|
|
983
983
|
] }), e[33] = V, e[34] = N, e[35] = Z, e[36] = j) : j = e[36];
|
|
984
984
|
let F;
|
|
985
|
-
return e[37] !== f || e[38] !==
|
|
986
|
-
|
|
987
|
-
/* @__PURE__ */ l(ft, { id: "measurement-menu", anchorEl: f, open:
|
|
988
|
-
] }), e[37] = f, e[38] =
|
|
985
|
+
return e[37] !== f || e[38] !== R || e[39] !== j ? (F = /* @__PURE__ */ W(me, { children: [
|
|
986
|
+
M,
|
|
987
|
+
/* @__PURE__ */ l(ft, { id: "measurement-menu", anchorEl: f, open: R, onClose: O, MenuListProps: D, children: j })
|
|
988
|
+
] }), e[37] = f, e[38] = R, e[39] = j, e[40] = F) : F = e[40], F;
|
|
989
989
|
}
|
|
990
|
-
function
|
|
991
|
-
const e =
|
|
990
|
+
function sl(t) {
|
|
991
|
+
const e = Q(48), {
|
|
992
992
|
open: i,
|
|
993
993
|
labels: o,
|
|
994
994
|
units: n,
|
|
@@ -998,80 +998,80 @@ function il(t) {
|
|
|
998
998
|
} = t, [r, f] = ae("metric");
|
|
999
999
|
let m;
|
|
1000
1000
|
if (e[0] !== r || e[1] !== n) {
|
|
1001
|
-
let
|
|
1002
|
-
e[3] !== r ? (
|
|
1001
|
+
let M;
|
|
1002
|
+
e[3] !== r ? (M = (D) => D.system === r, e[3] = r, e[4] = M) : M = e[4], m = n.filter(M), e[0] = r, e[1] = n, e[2] = m;
|
|
1003
1003
|
} else
|
|
1004
1004
|
m = e[2];
|
|
1005
1005
|
const d = m;
|
|
1006
|
-
let
|
|
1007
|
-
e[5] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
1008
|
-
f(
|
|
1009
|
-
}, e[5] =
|
|
1010
|
-
const
|
|
1011
|
-
let
|
|
1012
|
-
e[6] !== a ? (
|
|
1006
|
+
let u;
|
|
1007
|
+
e[5] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (u = (M, D) => {
|
|
1008
|
+
f(D);
|
|
1009
|
+
}, e[5] = u) : u = e[5];
|
|
1010
|
+
const x = u, h = o?.units?.modal?.options ?? ve.options.units.modal.options, S = h[r].options, _ = o?.units?.modal?.title ?? ve.options.units.modal.title, U = o?.units?.modal?.subtitle ?? ve.options.units.modal.subtitle, R = o?.units?.modal?.apply ?? ve.options.units.modal.apply, P = c.system === r ? c : d[0];
|
|
1011
|
+
let b;
|
|
1012
|
+
e[6] !== a ? (b = {
|
|
1013
1013
|
component: "form",
|
|
1014
|
-
onSubmit: (
|
|
1015
|
-
|
|
1016
|
-
const
|
|
1017
|
-
a(
|
|
1014
|
+
onSubmit: (M) => {
|
|
1015
|
+
M.preventDefault();
|
|
1016
|
+
const D = new FormData(M.currentTarget);
|
|
1017
|
+
a(D.get("unit-value"));
|
|
1018
1018
|
}
|
|
1019
|
-
}, e[6] = a, e[7] =
|
|
1020
|
-
let
|
|
1021
|
-
e[8] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
1022
|
-
let
|
|
1023
|
-
e[9] !== s ? (
|
|
1019
|
+
}, e[6] = a, e[7] = b) : b = e[7];
|
|
1020
|
+
let v;
|
|
1021
|
+
e[8] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (v = /* @__PURE__ */ l(Ue, {}), e[8] = v) : v = e[8];
|
|
1022
|
+
let O;
|
|
1023
|
+
e[9] !== s ? (O = /* @__PURE__ */ l(be, { onClick: s, children: v }), e[9] = s, e[10] = O) : O = e[10];
|
|
1024
1024
|
let g;
|
|
1025
|
-
e[11] !==
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
] }), e[11] =
|
|
1025
|
+
e[11] !== _ || e[12] !== O ? (g = /* @__PURE__ */ W(Xe, { sx: fe.options.modal.title, children: [
|
|
1026
|
+
_,
|
|
1027
|
+
O
|
|
1028
|
+
] }), e[11] = _, e[12] = O, e[13] = g) : g = e[13];
|
|
1029
|
+
let I;
|
|
1030
|
+
e[14] !== U ? (I = /* @__PURE__ */ l(se, { sx: fe.options.modal.subtitle, children: U }), e[14] = U, e[15] = I) : I = e[15];
|
|
1031
|
+
let k;
|
|
1032
|
+
e[16] !== h.metric.title ? (k = /* @__PURE__ */ l(Pe, { value: "metric", children: h.metric.title }), e[16] = h.metric.title, e[17] = k) : k = e[17];
|
|
1029
1033
|
let T;
|
|
1030
|
-
e[
|
|
1034
|
+
e[18] !== h.imperial.title ? (T = /* @__PURE__ */ l(Pe, { value: "imperial", children: h.imperial.title }), e[18] = h.imperial.title, e[19] = T) : T = e[19];
|
|
1035
|
+
let p;
|
|
1036
|
+
e[20] !== r || e[21] !== k || e[22] !== T ? (p = /* @__PURE__ */ W(Ge, { color: "primary", value: r, exclusive: !0, fullWidth: !0, onChange: x, "aria-label": "system", sx: fe.options.modal.toggle, children: [
|
|
1037
|
+
k,
|
|
1038
|
+
T
|
|
1039
|
+
] }), e[20] = r, e[21] = k, e[22] = T, e[23] = p) : p = e[23];
|
|
1040
|
+
const L = P?.value, C = P?.value;
|
|
1031
1041
|
let A;
|
|
1032
|
-
e[
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
A,
|
|
1038
|
-
S
|
|
1039
|
-
] }), e[20] = r, e[21] = A, e[22] = S, e[23] = u) : u = e[23];
|
|
1040
|
-
const D = M?.value, I = M?.value;
|
|
1041
|
-
let P;
|
|
1042
|
-
if (e[24] !== d || e[25] !== C) {
|
|
1043
|
-
let v;
|
|
1044
|
-
e[27] !== C ? (v = (E) => {
|
|
1045
|
-
const V = C[E.value];
|
|
1046
|
-
return /* @__PURE__ */ l(mt, { value: E.value, control: /* @__PURE__ */ l(pt, {}), label: V }, E.value);
|
|
1047
|
-
}, e[27] = C, e[28] = v) : v = e[28], P = d.map(v), e[24] = d, e[25] = C, e[26] = P;
|
|
1042
|
+
if (e[24] !== d || e[25] !== S) {
|
|
1043
|
+
let M;
|
|
1044
|
+
e[27] !== S ? (M = (D) => {
|
|
1045
|
+
const V = S[D.value];
|
|
1046
|
+
return /* @__PURE__ */ l(mt, { value: D.value, control: /* @__PURE__ */ l(pt, {}), label: V }, D.value);
|
|
1047
|
+
}, e[27] = S, e[28] = M) : M = e[28], A = d.map(M), e[24] = d, e[25] = S, e[26] = A;
|
|
1048
1048
|
} else
|
|
1049
|
-
|
|
1050
|
-
let
|
|
1051
|
-
e[29] !==
|
|
1049
|
+
A = e[26];
|
|
1050
|
+
let y;
|
|
1051
|
+
e[29] !== C || e[30] !== A ? (y = /* @__PURE__ */ l(ut, { "aria-labelledby": "unit-value", defaultValue: C, name: "unit-value", sx: fe.options.modal.optionsGroup, children: A }), e[29] = C, e[30] = A, e[31] = y) : y = e[31];
|
|
1052
1052
|
let w;
|
|
1053
|
-
e[32] !==
|
|
1054
|
-
let
|
|
1055
|
-
e[35] !==
|
|
1056
|
-
|
|
1057
|
-
|
|
1053
|
+
e[32] !== L || e[33] !== y ? (w = /* @__PURE__ */ l(ht, { children: y }, L), e[32] = L, e[33] = y, e[34] = w) : w = e[34];
|
|
1054
|
+
let E;
|
|
1055
|
+
e[35] !== p || e[36] !== w || e[37] !== I ? (E = /* @__PURE__ */ W(Qe, { sx: fe.options.modal.content, children: [
|
|
1056
|
+
I,
|
|
1057
|
+
p,
|
|
1058
1058
|
w
|
|
1059
|
-
] }), e[35] =
|
|
1060
|
-
let
|
|
1061
|
-
e[39] !==
|
|
1062
|
-
let
|
|
1063
|
-
return e[41] !== s || e[42] !== i || e[43] !==
|
|
1059
|
+
] }), e[35] = p, e[36] = w, e[37] = I, e[38] = E) : E = e[38];
|
|
1060
|
+
let z;
|
|
1061
|
+
e[39] !== R ? (z = /* @__PURE__ */ l(Je, { sx: fe.options.modal.actions, children: /* @__PURE__ */ l(_e, { variant: "contained", type: "submit", children: R }) }), e[39] = R, e[40] = z) : z = e[40];
|
|
1062
|
+
let $;
|
|
1063
|
+
return e[41] !== s || e[42] !== i || e[43] !== E || e[44] !== z || e[45] !== b || e[46] !== g ? ($ = /* @__PURE__ */ W(Ke, { open: i, component: ne, onClose: s, maxWidth: "xs", PaperProps: b, children: [
|
|
1064
1064
|
g,
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
] }), e[41] = s, e[42] = i, e[43] =
|
|
1065
|
+
E,
|
|
1066
|
+
z
|
|
1067
|
+
] }), e[41] = s, e[42] = i, e[43] = E, e[44] = z, e[45] = b, e[46] = g, e[47] = $) : $ = e[47], $;
|
|
1068
1068
|
}
|
|
1069
|
-
const
|
|
1069
|
+
const rl = {
|
|
1070
1070
|
enabled: "Show your current location",
|
|
1071
1071
|
disabled: "Location unavailable"
|
|
1072
|
-
},
|
|
1073
|
-
function
|
|
1074
|
-
const e =
|
|
1072
|
+
}, al = "geolocation";
|
|
1073
|
+
function jl(t) {
|
|
1074
|
+
const e = Q(27), {
|
|
1075
1075
|
disabled: i,
|
|
1076
1076
|
labels: o,
|
|
1077
1077
|
PaperProps: n,
|
|
@@ -1079,55 +1079,55 @@ function Fl(t) {
|
|
|
1079
1079
|
watch: s,
|
|
1080
1080
|
onChange: a,
|
|
1081
1081
|
onError: r
|
|
1082
|
-
} = t, f = we(null), m = "geolocation" in navigator, [d,
|
|
1083
|
-
let
|
|
1084
|
-
e[0] !== r ? (
|
|
1085
|
-
r?.(
|
|
1086
|
-
}, e[0] = r, e[1] =
|
|
1087
|
-
const
|
|
1088
|
-
let
|
|
1089
|
-
e[2] !==
|
|
1082
|
+
} = t, f = we(null), m = "geolocation" in navigator, [d, u] = _t(cl, m);
|
|
1083
|
+
let x;
|
|
1084
|
+
e[0] !== r ? (x = (y) => {
|
|
1085
|
+
r?.(y);
|
|
1086
|
+
}, e[0] = r, e[1] = x) : x = e[1];
|
|
1087
|
+
const h = Ct(x);
|
|
1088
|
+
let S;
|
|
1089
|
+
e[2] !== h ? (S = () => (m && navigator.permissions.query({
|
|
1090
1090
|
name: "geolocation"
|
|
1091
|
-
}).then((
|
|
1092
|
-
|
|
1093
|
-
|
|
1091
|
+
}).then((y) => {
|
|
1092
|
+
u(y.state === "granted" ? "granted" : "denied"), y.onchange = () => {
|
|
1093
|
+
u(y.state === "granted" ? "granted" : "denied");
|
|
1094
1094
|
};
|
|
1095
|
-
}).catch((
|
|
1096
|
-
|
|
1095
|
+
}).catch((y) => {
|
|
1096
|
+
u("denied"), h(y);
|
|
1097
1097
|
}), () => {
|
|
1098
1098
|
f.current && navigator.geolocation.clearWatch(f.current);
|
|
1099
|
-
}), e[2] =
|
|
1100
|
-
let
|
|
1101
|
-
e[4] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
1102
|
-
let
|
|
1103
|
-
e[5] !== a ? (
|
|
1104
|
-
a(
|
|
1105
|
-
}, e[5] = a, e[6] =
|
|
1106
|
-
const
|
|
1107
|
-
let
|
|
1108
|
-
e[7] !== r ? (
|
|
1109
|
-
|
|
1110
|
-
}, e[7] = r, e[8] =
|
|
1111
|
-
const
|
|
1112
|
-
let
|
|
1113
|
-
e[9] !==
|
|
1099
|
+
}), e[2] = h, e[3] = S) : S = e[3];
|
|
1100
|
+
let _;
|
|
1101
|
+
e[4] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (_ = [m], e[4] = _) : _ = e[4], tt(S, _);
|
|
1102
|
+
let U;
|
|
1103
|
+
e[5] !== a ? (U = (y) => {
|
|
1104
|
+
a(y.coords);
|
|
1105
|
+
}, e[5] = a, e[6] = U) : U = e[6];
|
|
1106
|
+
const R = U;
|
|
1107
|
+
let P;
|
|
1108
|
+
e[7] !== r ? (P = (y) => {
|
|
1109
|
+
u("denied"), r?.(y);
|
|
1110
|
+
}, e[7] = r, e[8] = P) : P = e[8];
|
|
1111
|
+
const b = P;
|
|
1112
|
+
let v;
|
|
1113
|
+
e[9] !== b || e[10] !== R || e[11] !== s ? (v = () => {
|
|
1114
1114
|
if (f.current && navigator.geolocation.clearWatch(f.current), s) {
|
|
1115
|
-
f.current = navigator.geolocation.watchPosition(
|
|
1115
|
+
f.current = navigator.geolocation.watchPosition(R, b);
|
|
1116
1116
|
return;
|
|
1117
1117
|
}
|
|
1118
|
-
navigator.geolocation.getCurrentPosition(
|
|
1119
|
-
}, e[9] =
|
|
1120
|
-
const
|
|
1121
|
-
let
|
|
1122
|
-
e[13] !== d ? (
|
|
1123
|
-
let
|
|
1124
|
-
e[15] !==
|
|
1125
|
-
let
|
|
1126
|
-
e[20] !== c || e[21] !==
|
|
1127
|
-
let
|
|
1128
|
-
return e[24] !== n || e[25] !==
|
|
1118
|
+
navigator.geolocation.getCurrentPosition(R, b);
|
|
1119
|
+
}, e[9] = b, e[10] = R, e[11] = s, e[12] = v) : v = e[12];
|
|
1120
|
+
const O = v, I = (o?.tooltip ?? rl)[d ? "enabled" : "disabled"], k = o?.ariaLabel ?? al, T = !m || i;
|
|
1121
|
+
let p;
|
|
1122
|
+
e[13] !== d ? (p = d ? /* @__PURE__ */ l(It, {}) : /* @__PURE__ */ l(Lt, {}), e[13] = d, e[14] = p) : p = e[14];
|
|
1123
|
+
let L;
|
|
1124
|
+
e[15] !== O || e[16] !== p || e[17] !== k || e[18] !== T ? (L = /* @__PURE__ */ l(be, { onClick: O, "aria-label": k, disabled: T, children: p }), e[15] = O, e[16] = p, e[17] = k, e[18] = T, e[19] = L) : L = e[19];
|
|
1125
|
+
let C;
|
|
1126
|
+
e[20] !== c || e[21] !== L || e[22] !== I ? (C = /* @__PURE__ */ l(ke, { arrow: !0, placement: "right", title: I, ...c, children: L }), e[20] = c, e[21] = L, e[22] = I, e[23] = C) : C = e[23];
|
|
1127
|
+
let A;
|
|
1128
|
+
return e[24] !== n || e[25] !== C ? (A = /* @__PURE__ */ l(Me, { ...n, children: C }), e[24] = n, e[25] = C, e[26] = A) : A = e[26], A;
|
|
1129
1129
|
}
|
|
1130
|
-
function
|
|
1130
|
+
function cl(t, e) {
|
|
1131
1131
|
return e === "granted";
|
|
1132
1132
|
}
|
|
1133
1133
|
const Ee = {
|
|
@@ -1162,8 +1162,8 @@ const Ee = {
|
|
|
1162
1162
|
position: "absolute"
|
|
1163
1163
|
}
|
|
1164
1164
|
};
|
|
1165
|
-
function
|
|
1166
|
-
const e =
|
|
1165
|
+
function Hl(t) {
|
|
1166
|
+
const e = Q(40), {
|
|
1167
1167
|
zoom: i,
|
|
1168
1168
|
disabled: o,
|
|
1169
1169
|
direction: n,
|
|
@@ -1174,133 +1174,133 @@ function Zl(t) {
|
|
|
1174
1174
|
PaperProps: f,
|
|
1175
1175
|
ResetViewProps: m,
|
|
1176
1176
|
showZoom: d,
|
|
1177
|
-
onChange:
|
|
1178
|
-
onReset:
|
|
1179
|
-
} = t,
|
|
1180
|
-
let
|
|
1181
|
-
e[0] !== m ? (
|
|
1182
|
-
Icon:
|
|
1183
|
-
} : m, e[0] = m, e[1] =
|
|
1184
|
-
const
|
|
1185
|
-
let
|
|
1186
|
-
e[2] !==
|
|
1187
|
-
const
|
|
1188
|
-
|
|
1189
|
-
}, e[2] =
|
|
1190
|
-
const
|
|
1177
|
+
onChange: u,
|
|
1178
|
+
onReset: x
|
|
1179
|
+
} = t, h = n === void 0 ? "vertical" : n, S = c === void 0 ? !1 : c, _ = a === void 0 ? 24 : a, U = r === void 0 ? 0 : r;
|
|
1180
|
+
let R;
|
|
1181
|
+
e[0] !== m ? (R = m === void 0 ? {
|
|
1182
|
+
Icon: Dt
|
|
1183
|
+
} : m, e[0] = m, e[1] = R) : R = e[1];
|
|
1184
|
+
const P = R, b = d === void 0 ? !0 : d;
|
|
1185
|
+
let v;
|
|
1186
|
+
e[2] !== _ || e[3] !== u || e[4] !== i ? (v = () => {
|
|
1187
|
+
const D = Math.min(_, i + 1);
|
|
1188
|
+
u(D);
|
|
1189
|
+
}, e[2] = _, e[3] = u, e[4] = i, e[5] = v) : v = e[5];
|
|
1190
|
+
const O = v;
|
|
1191
1191
|
let g;
|
|
1192
|
-
e[6] !==
|
|
1193
|
-
const
|
|
1194
|
-
|
|
1195
|
-
}, e[6] =
|
|
1196
|
-
const
|
|
1197
|
-
let
|
|
1198
|
-
|
|
1199
|
-
let
|
|
1200
|
-
e[10] !==
|
|
1192
|
+
e[6] !== U || e[7] !== u || e[8] !== i ? (g = () => {
|
|
1193
|
+
const D = Math.max(U, i - 1);
|
|
1194
|
+
u(D);
|
|
1195
|
+
}, e[6] = U, e[7] = u, e[8] = i, e[9] = g) : g = e[9];
|
|
1196
|
+
const I = g, k = Math.floor(i), T = h === "vertical" ? "horizontal" : "vertical";
|
|
1197
|
+
let p = h === "vertical" ? "column" : "row";
|
|
1198
|
+
S && (p = p + "-reverse");
|
|
1199
|
+
let L;
|
|
1200
|
+
e[10] !== p ? (L = {
|
|
1201
1201
|
...Ee.paper,
|
|
1202
|
-
flexDirection:
|
|
1203
|
-
}, e[10] =
|
|
1204
|
-
let
|
|
1205
|
-
e[12] !==
|
|
1206
|
-
/* @__PURE__ */ l(be, { onClick:
|
|
1207
|
-
/* @__PURE__ */ l(he, { orientation:
|
|
1208
|
-
] }), e[12] =
|
|
1209
|
-
let
|
|
1210
|
-
e[17] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
1211
|
-
let
|
|
1212
|
-
e[18] !== o || e[19] !==
|
|
1202
|
+
flexDirection: p
|
|
1203
|
+
}, e[10] = p, e[11] = L) : L = e[11];
|
|
1204
|
+
let C;
|
|
1205
|
+
e[12] !== P || e[13] !== o || e[14] !== T || e[15] !== x ? (C = x && /* @__PURE__ */ W(me, { children: [
|
|
1206
|
+
/* @__PURE__ */ l(be, { onClick: x, "aria-label": "Reset action", disabled: o, children: /* @__PURE__ */ l(P.Icon, {}) }),
|
|
1207
|
+
/* @__PURE__ */ l(he, { orientation: T, flexItem: !0 })
|
|
1208
|
+
] }), e[12] = P, e[13] = o, e[14] = T, e[15] = x, e[16] = C) : C = e[16];
|
|
1209
|
+
let A;
|
|
1210
|
+
e[17] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (A = /* @__PURE__ */ l(Pt, {}), e[17] = A) : A = e[17];
|
|
1211
|
+
let y;
|
|
1212
|
+
e[18] !== o || e[19] !== O ? (y = /* @__PURE__ */ l(be, { onClick: O, "aria-label": "Increase zoom", disabled: o, children: A }), e[18] = o, e[19] = O, e[20] = y) : y = e[20];
|
|
1213
1213
|
let w;
|
|
1214
|
-
e[21] !==
|
|
1215
|
-
let
|
|
1216
|
-
e[23] !==
|
|
1217
|
-
/* @__PURE__ */
|
|
1218
|
-
/* @__PURE__ */ l(se, { display: "block", align: "center", color: "textSecondary", variant: "overline", children:
|
|
1214
|
+
e[21] !== T ? (w = /* @__PURE__ */ l(he, { orientation: T, flexItem: !0 }), e[21] = T, e[22] = w) : w = e[22];
|
|
1215
|
+
let E;
|
|
1216
|
+
e[23] !== k || e[24] !== T || e[25] !== s || e[26] !== b ? (E = b && /* @__PURE__ */ W(me, { children: [
|
|
1217
|
+
/* @__PURE__ */ W(ne, { sx: Ee.zoom, children: [
|
|
1218
|
+
/* @__PURE__ */ l(se, { display: "block", align: "center", color: "textSecondary", variant: "overline", children: k }),
|
|
1219
1219
|
s && /* @__PURE__ */ l(gt, { sx: Ee.circularProgress, variant: "indeterminate", size: 24 })
|
|
1220
1220
|
] }),
|
|
1221
|
-
/* @__PURE__ */ l(he, { orientation:
|
|
1222
|
-
] }), e[23] =
|
|
1223
|
-
let
|
|
1224
|
-
e[28] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
1225
|
-
let
|
|
1226
|
-
e[29] !==
|
|
1227
|
-
let
|
|
1228
|
-
return e[32] !== f || e[33] !==
|
|
1229
|
-
|
|
1230
|
-
|
|
1221
|
+
/* @__PURE__ */ l(he, { orientation: T, flexItem: !0 })
|
|
1222
|
+
] }), e[23] = k, e[24] = T, e[25] = s, e[26] = b, e[27] = E) : E = e[27];
|
|
1223
|
+
let z;
|
|
1224
|
+
e[28] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (z = /* @__PURE__ */ l(Rt, {}), e[28] = z) : z = e[28];
|
|
1225
|
+
let $;
|
|
1226
|
+
e[29] !== I || e[30] !== o ? ($ = /* @__PURE__ */ l(be, { onClick: I, "aria-label": "Decrease zoom", disabled: o, children: z }), e[29] = I, e[30] = o, e[31] = $) : $ = e[31];
|
|
1227
|
+
let M;
|
|
1228
|
+
return e[32] !== f || e[33] !== L || e[34] !== C || e[35] !== y || e[36] !== w || e[37] !== E || e[38] !== $ ? (M = /* @__PURE__ */ W(Me, { sx: L, ...f, children: [
|
|
1229
|
+
C,
|
|
1230
|
+
y,
|
|
1231
1231
|
w,
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
] }), e[32] = f, e[33] =
|
|
1232
|
+
E,
|
|
1233
|
+
$
|
|
1234
|
+
] }), e[32] = f, e[33] = L, e[34] = C, e[35] = y, e[36] = w, e[37] = E, e[38] = $, e[39] = M) : M = e[39], M;
|
|
1235
1235
|
}
|
|
1236
|
-
function
|
|
1237
|
-
const e =
|
|
1236
|
+
function dl(t) {
|
|
1237
|
+
const e = Q(4), {
|
|
1238
1238
|
length: i
|
|
1239
1239
|
} = t, o = i === void 0 ? 5 : i;
|
|
1240
1240
|
let n;
|
|
1241
|
-
e[0] !== o ? (n = new Array(o).fill(null).map(
|
|
1241
|
+
e[0] !== o ? (n = new Array(o).fill(null).map(fl), e[0] = o, e[1] = n) : n = e[1];
|
|
1242
1242
|
let c;
|
|
1243
1243
|
return e[2] !== n ? (c = /* @__PURE__ */ l(ne, { "aria-label": "List Data skeleton", children: n }), e[2] = n, e[3] = c) : c = e[3], c;
|
|
1244
1244
|
}
|
|
1245
|
-
function
|
|
1246
|
-
return /* @__PURE__ */
|
|
1247
|
-
/* @__PURE__ */
|
|
1248
|
-
/* @__PURE__ */ l(Oe, { width:
|
|
1245
|
+
function fl(t, e) {
|
|
1246
|
+
return /* @__PURE__ */ W(Te, { container: !0, spacing: 1, children: [
|
|
1247
|
+
/* @__PURE__ */ W(Te, { container: !0, item: !0, direction: "row", justifyContent: "space-between", alignItems: "center", children: [
|
|
1248
|
+
/* @__PURE__ */ l(Oe, { width: hl(e) ? 72 : 48, height: 20 }),
|
|
1249
1249
|
/* @__PURE__ */ l(Oe, { width: 48, height: 8 })
|
|
1250
1250
|
] }),
|
|
1251
1251
|
/* @__PURE__ */ l(Oe, { sx: {
|
|
1252
|
-
height:
|
|
1253
|
-
marginTop:
|
|
1254
|
-
marginBottom:
|
|
1252
|
+
height: ul,
|
|
1253
|
+
marginTop: pl,
|
|
1254
|
+
marginBottom: ml,
|
|
1255
1255
|
width: "100%"
|
|
1256
1256
|
} })
|
|
1257
1257
|
] }, `skeleton-${e}`);
|
|
1258
1258
|
}
|
|
1259
|
-
function
|
|
1259
|
+
function ml(t) {
|
|
1260
1260
|
const {
|
|
1261
1261
|
spacing: e
|
|
1262
1262
|
} = t;
|
|
1263
1263
|
return e(1.75);
|
|
1264
1264
|
}
|
|
1265
|
-
function
|
|
1265
|
+
function pl(t) {
|
|
1266
1266
|
const {
|
|
1267
1267
|
spacing: e
|
|
1268
1268
|
} = t;
|
|
1269
1269
|
return e(1.25);
|
|
1270
1270
|
}
|
|
1271
|
-
function
|
|
1271
|
+
function ul(t) {
|
|
1272
1272
|
const {
|
|
1273
1273
|
spacing: e
|
|
1274
1274
|
} = t;
|
|
1275
1275
|
return e(0.5);
|
|
1276
1276
|
}
|
|
1277
|
-
function
|
|
1277
|
+
function hl(t) {
|
|
1278
1278
|
return t % 2 === 1;
|
|
1279
1279
|
}
|
|
1280
|
-
function
|
|
1281
|
-
const e =
|
|
1280
|
+
function gl(t) {
|
|
1281
|
+
const e = Q(13), {
|
|
1282
1282
|
title: i,
|
|
1283
1283
|
body: o,
|
|
1284
1284
|
severity: n
|
|
1285
1285
|
} = t, c = i === void 0 ? "No data available" : i, s = o === void 0 ? "There are no results for the combination of filters applied to your data. Try tweaking your filters, or zoom and pan the map to adjust the Map View." : o;
|
|
1286
1286
|
if (n) {
|
|
1287
1287
|
let m;
|
|
1288
|
-
e[0] !== s ? (m = /* @__PURE__ */ l(
|
|
1288
|
+
e[0] !== s ? (m = /* @__PURE__ */ l(He, { children: s }), e[0] = s, e[1] = m) : m = e[1];
|
|
1289
1289
|
let d;
|
|
1290
1290
|
return e[2] !== n || e[3] !== m || e[4] !== c ? (d = /* @__PURE__ */ l(et, { title: c, severity: n, children: m }), e[2] = n, e[3] = m, e[4] = c, e[5] = d) : d = e[5], d;
|
|
1291
1291
|
}
|
|
1292
1292
|
let a;
|
|
1293
1293
|
e[6] !== c ? (a = c && /* @__PURE__ */ l(se, { variant: "body2", children: c }), e[6] = c, e[7] = a) : a = e[7];
|
|
1294
1294
|
let r;
|
|
1295
|
-
e[8] !== s ? (r = /* @__PURE__ */ l(
|
|
1295
|
+
e[8] !== s ? (r = /* @__PURE__ */ l(He, { color: "textSecondary", children: s }), e[8] = s, e[9] = r) : r = e[9];
|
|
1296
1296
|
let f;
|
|
1297
|
-
return e[10] !== a || e[11] !== r ? (f = /* @__PURE__ */
|
|
1297
|
+
return e[10] !== a || e[11] !== r ? (f = /* @__PURE__ */ W(ne, { children: [
|
|
1298
1298
|
a,
|
|
1299
1299
|
r
|
|
1300
1300
|
] }), e[10] = a, e[11] = r, e[12] = f) : f = e[12], f;
|
|
1301
1301
|
}
|
|
1302
|
-
function
|
|
1303
|
-
const e =
|
|
1302
|
+
function He(t) {
|
|
1303
|
+
const e = Q(5), {
|
|
1304
1304
|
color: i,
|
|
1305
1305
|
children: o
|
|
1306
1306
|
} = t;
|
|
@@ -1316,26 +1316,26 @@ function Ne(t) {
|
|
|
1316
1316
|
let n;
|
|
1317
1317
|
return e[4] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (n = /* @__PURE__ */ l(ne, { mt: -1 }), e[4] = n) : n = e[4], n;
|
|
1318
1318
|
}
|
|
1319
|
-
function
|
|
1320
|
-
const e =
|
|
1319
|
+
function bl(t) {
|
|
1320
|
+
const e = Q(2);
|
|
1321
1321
|
let i;
|
|
1322
1322
|
e[0] !== t ? (i = () => t ? 1 : 0, e[0] = t, e[1] = i) : i = e[1];
|
|
1323
1323
|
const [o, n] = ae(i);
|
|
1324
1324
|
return t && o === 0 && n(1), !t && o === 1 && n(2), o === 1;
|
|
1325
1325
|
}
|
|
1326
|
-
const
|
|
1326
|
+
const Ne = {
|
|
1327
1327
|
overflow: "hidden",
|
|
1328
1328
|
textOverflow: "ellipsis",
|
|
1329
1329
|
whiteSpace: "nowrap"
|
|
1330
1330
|
}, Se = {
|
|
1331
1331
|
label: {
|
|
1332
1332
|
"& .MuiListItemText-primary": {
|
|
1333
|
-
...
|
|
1333
|
+
...Ne
|
|
1334
1334
|
}
|
|
1335
1335
|
},
|
|
1336
1336
|
value: {
|
|
1337
1337
|
"& .MuiListItemText-primary": {
|
|
1338
|
-
...
|
|
1338
|
+
...Ne,
|
|
1339
1339
|
textAlign: "right"
|
|
1340
1340
|
}
|
|
1341
1341
|
},
|
|
@@ -1361,12 +1361,12 @@ const Ge = {
|
|
|
1361
1361
|
opacity: 0.5,
|
|
1362
1362
|
pointerEvents: "none"
|
|
1363
1363
|
}
|
|
1364
|
-
},
|
|
1364
|
+
}, vl = {
|
|
1365
1365
|
showMore: "Show More",
|
|
1366
1366
|
showLess: "Show Less"
|
|
1367
|
-
},
|
|
1368
|
-
function
|
|
1369
|
-
const e =
|
|
1367
|
+
}, yl = [];
|
|
1368
|
+
function Nl(t) {
|
|
1369
|
+
const e = Q(32), {
|
|
1370
1370
|
data: i,
|
|
1371
1371
|
isLoading: o,
|
|
1372
1372
|
maxItems: n,
|
|
@@ -1376,57 +1376,57 @@ function jl(t) {
|
|
|
1376
1376
|
tooltipProps: r,
|
|
1377
1377
|
onExpand: f,
|
|
1378
1378
|
onItemClick: m
|
|
1379
|
-
} = t, d = i === void 0 ?
|
|
1380
|
-
let
|
|
1381
|
-
e[0] !== d || e[1] !==
|
|
1382
|
-
const
|
|
1383
|
-
let
|
|
1384
|
-
e[4] !== f || e[5] !==
|
|
1385
|
-
|
|
1386
|
-
}, e[4] = f, e[5] =
|
|
1387
|
-
const
|
|
1388
|
-
if (
|
|
1389
|
-
let
|
|
1390
|
-
return e[7] !==
|
|
1379
|
+
} = t, d = i === void 0 ? yl : i, u = o === void 0 ? !1 : o, x = n === void 0 ? 5 : n, h = c === void 0 ? vl : c, S = s === void 0 ? !0 : s, [_, U] = ae(!1), R = bl(u);
|
|
1380
|
+
let P;
|
|
1381
|
+
e[0] !== d || e[1] !== x || e[2] !== _ ? (P = _ ? d : d.slice(0, x), e[0] = d, e[1] = x, e[2] = _, e[3] = P) : P = e[3];
|
|
1382
|
+
const b = P;
|
|
1383
|
+
let v;
|
|
1384
|
+
e[4] !== f || e[5] !== _ ? (v = () => {
|
|
1385
|
+
U(!_), f?.(_);
|
|
1386
|
+
}, e[4] = f, e[5] = _, e[6] = v) : v = e[6];
|
|
1387
|
+
const O = v;
|
|
1388
|
+
if (R) {
|
|
1389
|
+
let p;
|
|
1390
|
+
return e[7] !== x ? (p = /* @__PURE__ */ l(dl, { length: x }), e[7] = x, e[8] = p) : p = e[8], p;
|
|
1391
1391
|
}
|
|
1392
|
-
if (
|
|
1393
|
-
let
|
|
1394
|
-
return e[9] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
1392
|
+
if (b.length === 0) {
|
|
1393
|
+
let p;
|
|
1394
|
+
return e[9] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (p = /* @__PURE__ */ l(gl, {}), e[9] = p) : p = e[9], p;
|
|
1395
1395
|
}
|
|
1396
1396
|
let g;
|
|
1397
|
-
if (e[10] !==
|
|
1398
|
-
let
|
|
1399
|
-
e[16] !== m || e[17] !== a || e[18] !==
|
|
1397
|
+
if (e[10] !== b || e[11] !== m || e[12] !== a || e[13] !== S || e[14] !== r) {
|
|
1398
|
+
let p;
|
|
1399
|
+
e[16] !== m || e[17] !== a || e[18] !== S || e[19] !== r ? (p = (L) => /* @__PURE__ */ l(Ot, { followCursor: !1, placement: "top", arrow: !0, title: L.tooltipTitle, enterDelay: 10, ...r, children: (C) => {
|
|
1400
1400
|
const {
|
|
1401
|
-
ref:
|
|
1402
|
-
} =
|
|
1403
|
-
return /* @__PURE__ */ l(bt, { ref:
|
|
1404
|
-
...
|
|
1401
|
+
ref: A
|
|
1402
|
+
} = C;
|
|
1403
|
+
return /* @__PURE__ */ l(bt, { ref: A, role: "listitem", sx: {
|
|
1404
|
+
...S && Se.showDivider,
|
|
1405
1405
|
...m && Se.clickable,
|
|
1406
|
-
...a ===
|
|
1407
|
-
...
|
|
1406
|
+
...a === L.id && Se.selected,
|
|
1407
|
+
...L.disabled && Se.disabled
|
|
1408
1408
|
}, onClick: () => {
|
|
1409
|
-
|
|
1410
|
-
}, children: /* @__PURE__ */
|
|
1411
|
-
/* @__PURE__ */ l(Te, { item: !0, xs: 8, children: /* @__PURE__ */ l(Ce, { primary:
|
|
1412
|
-
/* @__PURE__ */ l(Te, { item: !0, xs: 4, children: /* @__PURE__ */ l(Ce, { primary:
|
|
1409
|
+
L.disabled || m?.(L);
|
|
1410
|
+
}, children: /* @__PURE__ */ W(Te, { container: !0, alignItems: "center", children: [
|
|
1411
|
+
/* @__PURE__ */ l(Te, { item: !0, xs: 8, children: /* @__PURE__ */ l(Ce, { primary: L.label, sx: Se.label }) }),
|
|
1412
|
+
/* @__PURE__ */ l(Te, { item: !0, xs: 4, children: /* @__PURE__ */ l(Ce, { primary: L.value, sx: Se.value }) })
|
|
1413
1413
|
] }) });
|
|
1414
|
-
} },
|
|
1414
|
+
} }, L.id), e[16] = m, e[17] = a, e[18] = S, e[19] = r, e[20] = p) : p = e[20], g = b.map(p), e[10] = b, e[11] = m, e[12] = a, e[13] = S, e[14] = r, e[15] = g;
|
|
1415
1415
|
} else
|
|
1416
1416
|
g = e[15];
|
|
1417
|
+
let I;
|
|
1418
|
+
e[21] !== g ? (I = /* @__PURE__ */ l(qe, { id: "expandable-list", role: "list", children: g }), e[21] = g, e[22] = I) : I = e[22];
|
|
1419
|
+
let k;
|
|
1420
|
+
e[23] !== d.length || e[24] !== O || e[25] !== h || e[26] !== x || e[27] !== _ ? (k = d.length > x && /* @__PURE__ */ l(ne, { my: 2, children: /* @__PURE__ */ l(_e, { onClick: O, variant: "text", color: "primary", "aria-expanded": _, "aria-controls": "expandable-list", children: _ ? h.showLess : h.showMore }) }), e[23] = d.length, e[24] = O, e[25] = h, e[26] = x, e[27] = _, e[28] = k) : k = e[28];
|
|
1417
1421
|
let T;
|
|
1418
|
-
e[
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
return e[29] !== A || e[30] !== T ? (S = /* @__PURE__ */ U(me, { children: [
|
|
1423
|
-
T,
|
|
1424
|
-
A
|
|
1425
|
-
] }), e[29] = A, e[30] = T, e[31] = S) : S = e[31], S;
|
|
1422
|
+
return e[29] !== k || e[30] !== I ? (T = /* @__PURE__ */ W(me, { children: [
|
|
1423
|
+
I,
|
|
1424
|
+
k
|
|
1425
|
+
] }), e[29] = k, e[30] = I, e[31] = T) : T = e[31], T;
|
|
1426
1426
|
}
|
|
1427
|
-
const
|
|
1427
|
+
const xl = 288, xe = {
|
|
1428
1428
|
root: {
|
|
1429
|
-
width:
|
|
1429
|
+
width: xl,
|
|
1430
1430
|
overflow: "auto"
|
|
1431
1431
|
},
|
|
1432
1432
|
toggle: {
|
|
@@ -1525,7 +1525,7 @@ const yl = 288, xe = {
|
|
|
1525
1525
|
}) => t.primary.main
|
|
1526
1526
|
}
|
|
1527
1527
|
}
|
|
1528
|
-
},
|
|
1528
|
+
}, Sl = {
|
|
1529
1529
|
toggle: {
|
|
1530
1530
|
title: "Toggle basemaps controls"
|
|
1531
1531
|
},
|
|
@@ -1536,22 +1536,22 @@ const yl = 288, xe = {
|
|
|
1536
1536
|
}
|
|
1537
1537
|
}
|
|
1538
1538
|
};
|
|
1539
|
-
function
|
|
1540
|
-
const e =
|
|
1539
|
+
function _l(t) {
|
|
1540
|
+
const e = Q(6), {
|
|
1541
1541
|
isMobile: i,
|
|
1542
1542
|
labels: o,
|
|
1543
1543
|
onChangeCollapsed: n
|
|
1544
1544
|
} = t, c = i === void 0 ? !1 : i;
|
|
1545
1545
|
let s;
|
|
1546
|
-
e[0] !== c || e[1] !== o || e[2] !== n ? (s = c && /* @__PURE__ */
|
|
1546
|
+
e[0] !== c || e[1] !== o || e[2] !== n ? (s = c && /* @__PURE__ */ W(me, { children: [
|
|
1547
1547
|
/* @__PURE__ */ l(se, { variant: "caption", flexGrow: 1, children: o.title }),
|
|
1548
1548
|
/* @__PURE__ */ l(ke, { title: o.actions.close, children: /* @__PURE__ */ l(be, { size: "small", onClick: n, "aria-label": o.actions.close, children: /* @__PURE__ */ l(Ue, {}) }) })
|
|
1549
1549
|
] }), e[0] = c, e[1] = o, e[2] = n, e[3] = s) : s = e[3];
|
|
1550
1550
|
let a;
|
|
1551
1551
|
return e[4] !== s ? (a = /* @__PURE__ */ l(ne, { sx: xe.header, children: s }), e[4] = s, e[5] = a) : a = e[5], a;
|
|
1552
1552
|
}
|
|
1553
|
-
function
|
|
1554
|
-
const e =
|
|
1553
|
+
function Cl(t) {
|
|
1554
|
+
const e = Q(5), {
|
|
1555
1555
|
title: i,
|
|
1556
1556
|
children: o,
|
|
1557
1557
|
collapsed: n
|
|
@@ -1561,13 +1561,13 @@ function _l(t) {
|
|
|
1561
1561
|
let s;
|
|
1562
1562
|
e[0] !== i ? (s = /* @__PURE__ */ l(se, { variant: "caption", color: "textSecondary", sx: xe.groupWrapper.content, children: i }), e[0] = i, e[1] = s) : s = e[1];
|
|
1563
1563
|
let a;
|
|
1564
|
-
return e[2] !== o || e[3] !== s ? (a = /* @__PURE__ */
|
|
1564
|
+
return e[2] !== o || e[3] !== s ? (a = /* @__PURE__ */ W(me, { children: [
|
|
1565
1565
|
s,
|
|
1566
1566
|
o
|
|
1567
1567
|
] }), e[2] = o, e[3] = s, e[4] = a) : a = e[4], a;
|
|
1568
1568
|
}
|
|
1569
|
-
function
|
|
1570
|
-
const e =
|
|
1569
|
+
function wl(t) {
|
|
1570
|
+
const e = Q(9), {
|
|
1571
1571
|
values: i,
|
|
1572
1572
|
selected: o,
|
|
1573
1573
|
onChange: n
|
|
@@ -1577,7 +1577,7 @@ function Cl(t) {
|
|
|
1577
1577
|
let a;
|
|
1578
1578
|
e[4] !== n || e[5] !== o ? (a = (r) => {
|
|
1579
1579
|
const f = r.id === o;
|
|
1580
|
-
return /* @__PURE__ */
|
|
1580
|
+
return /* @__PURE__ */ W(ne, { sx: xe.item.container, component: "button", "aria-label": r.label, onClick: () => n(r.id), children: [
|
|
1581
1581
|
/* @__PURE__ */ l("img", { src: r.icon, "aria-label": r.label + " icon", "data-active": f }),
|
|
1582
1582
|
/* @__PURE__ */ l(se, { variant: "caption", sx: {
|
|
1583
1583
|
...f && xe.item.selected
|
|
@@ -1589,13 +1589,11 @@ function Cl(t) {
|
|
|
1589
1589
|
let s;
|
|
1590
1590
|
return e[7] !== c ? (s = /* @__PURE__ */ l(ne, { sx: xe.group, children: c }), e[7] = c, e[8] = s) : s = e[8], s;
|
|
1591
1591
|
}
|
|
1592
|
-
function
|
|
1592
|
+
function kl(t, e) {
|
|
1593
1593
|
const i = t.startsWith("bottom"), o = t.endsWith("right");
|
|
1594
1594
|
return {
|
|
1595
1595
|
anchorOrigin: {
|
|
1596
1596
|
vertical: i ? "bottom" : "top",
|
|
1597
|
-
// `'side'` flips horizontally to open beside the anchor; `'overlay'` keeps
|
|
1598
|
-
// the same edge so the panel lands on top of it.
|
|
1599
1597
|
horizontal: e === "overlay" ? o ? "right" : "left" : o ? "left" : "right"
|
|
1600
1598
|
},
|
|
1601
1599
|
transformOrigin: {
|
|
@@ -1604,8 +1602,8 @@ function wl(t, e) {
|
|
|
1604
1602
|
}
|
|
1605
1603
|
};
|
|
1606
1604
|
}
|
|
1607
|
-
function
|
|
1608
|
-
const e =
|
|
1605
|
+
function Tl(t) {
|
|
1606
|
+
const e = Q(46), {
|
|
1609
1607
|
ref: i,
|
|
1610
1608
|
children: o,
|
|
1611
1609
|
collapsed: n,
|
|
@@ -1613,192 +1611,231 @@ function kl(t) {
|
|
|
1613
1611
|
position: s,
|
|
1614
1612
|
sx: a,
|
|
1615
1613
|
slotProps: r,
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1614
|
+
container: f,
|
|
1615
|
+
onChangeCollapsed: m,
|
|
1616
|
+
modal: d,
|
|
1617
|
+
placement: u
|
|
1618
|
+
} = t, x = c === void 0 ? !1 : c, h = d === void 0 ? !0 : d, S = u === void 0 ? "side" : u, _ = we(null), U = we(null);
|
|
1619
|
+
let R;
|
|
1620
|
+
e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (R = (Y) => {
|
|
1621
|
+
if (U.current?.disconnect(), U.current = null, Y && typeof ResizeObserver < "u") {
|
|
1622
|
+
const G = new ResizeObserver(() => _.current?.updatePosition());
|
|
1623
|
+
G.observe(Y), U.current = G;
|
|
1625
1624
|
}
|
|
1626
|
-
}, e[0] =
|
|
1627
|
-
const
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
return
|
|
1625
|
+
}, e[0] = R) : R = e[0];
|
|
1626
|
+
const P = R, b = f && typeof f != "function" ? f : null;
|
|
1627
|
+
let v;
|
|
1628
|
+
e[1] !== b ? (v = (Y) => {
|
|
1629
|
+
if (!b || typeof ResizeObserver > "u")
|
|
1630
|
+
return Ml;
|
|
1631
|
+
const G = new ResizeObserver(Y);
|
|
1632
|
+
return G.observe(b), () => G.disconnect();
|
|
1633
|
+
}, e[1] = b, e[2] = v) : v = e[2];
|
|
1634
|
+
const O = v;
|
|
1635
|
+
let g;
|
|
1636
|
+
e[3] !== b?.clientHeight ? (g = () => b?.clientHeight, e[3] = b?.clientHeight, e[4] = g) : g = e[4];
|
|
1637
|
+
const k = wt(O, g);
|
|
1638
|
+
if (x) {
|
|
1639
|
+
const Y = !n;
|
|
1640
|
+
let G;
|
|
1641
|
+
e[5] !== m ? (G = () => m(!0), e[5] = m, e[6] = G) : G = e[6];
|
|
1642
|
+
let K;
|
|
1643
|
+
return e[7] !== o || e[8] !== Y || e[9] !== G ? (K = /* @__PURE__ */ l(vt, { anchor: "bottom", open: Y, onClose: G, children: o }), e[7] = o, e[8] = Y, e[9] = G, e[10] = K) : K = e[10], K;
|
|
1634
1644
|
}
|
|
1635
|
-
let
|
|
1636
|
-
e[
|
|
1645
|
+
let T;
|
|
1646
|
+
e[11] !== S || e[12] !== s ? (T = kl(s, S), e[11] = S, e[12] = s, e[13] = T) : T = e[13];
|
|
1637
1647
|
const {
|
|
1638
|
-
anchorOrigin:
|
|
1639
|
-
transformOrigin:
|
|
1640
|
-
} =
|
|
1641
|
-
let
|
|
1642
|
-
e[
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
+
anchorOrigin: p,
|
|
1649
|
+
transformOrigin: L
|
|
1650
|
+
} = T, C = r;
|
|
1651
|
+
let A;
|
|
1652
|
+
e[14] !== k ? (A = k != null && k > 0 ? {
|
|
1653
|
+
maxHeight: k * 0.9,
|
|
1654
|
+
overflow: "hidden",
|
|
1655
|
+
display: "flex",
|
|
1656
|
+
flexDirection: "column"
|
|
1657
|
+
} : void 0, e[14] = k, e[15] = A) : A = e[15];
|
|
1658
|
+
const y = A;
|
|
1659
|
+
let w;
|
|
1660
|
+
e[16] !== y ? (w = y ? {
|
|
1661
|
+
display: "flex",
|
|
1662
|
+
flexDirection: "column",
|
|
1663
|
+
flex: 1,
|
|
1664
|
+
minHeight: 0,
|
|
1665
|
+
maxHeight: "100%",
|
|
1666
|
+
overflow: "hidden",
|
|
1667
|
+
width: "100%"
|
|
1668
|
+
} : void 0, e[16] = y, e[17] = w) : w = e[17];
|
|
1669
|
+
const E = w;
|
|
1670
|
+
let z;
|
|
1671
|
+
e[18] !== h || e[19] !== C?.paper || e[20] !== C?.root || e[21] !== y || e[22] !== r ? (z = h && !y ? r : {
|
|
1672
|
+
...typeof r == "object" && r != null ? r : {},
|
|
1673
|
+
...!h && {
|
|
1674
|
+
root: {
|
|
1675
|
+
style: {
|
|
1676
|
+
pointerEvents: "none"
|
|
1677
|
+
},
|
|
1678
|
+
...C?.root
|
|
1679
|
+
}
|
|
1648
1680
|
},
|
|
1649
1681
|
paper: {
|
|
1650
|
-
...
|
|
1682
|
+
...C?.paper,
|
|
1651
1683
|
style: {
|
|
1652
|
-
|
|
1653
|
-
|
|
1684
|
+
...!h && {
|
|
1685
|
+
pointerEvents: "auto"
|
|
1686
|
+
},
|
|
1687
|
+
...y,
|
|
1688
|
+
...C?.paper?.style
|
|
1654
1689
|
}
|
|
1655
1690
|
}
|
|
1656
|
-
}, e[
|
|
1657
|
-
const
|
|
1658
|
-
let
|
|
1659
|
-
e[
|
|
1660
|
-
const
|
|
1661
|
-
let
|
|
1662
|
-
e[
|
|
1663
|
-
let
|
|
1664
|
-
return e[
|
|
1691
|
+
}, e[18] = h, e[19] = C?.paper, e[20] = C?.root, e[21] = y, e[22] = r, e[23] = z) : z = e[23];
|
|
1692
|
+
const $ = z, M = !n && i != null;
|
|
1693
|
+
let D;
|
|
1694
|
+
e[24] !== h || e[25] !== m ? (D = h ? () => m(!0) : void 0, e[24] = h, e[25] = m, e[26] = D) : D = e[26];
|
|
1695
|
+
const V = !h, N = !h, Z = !h, j = !h, F = !h, B = !h;
|
|
1696
|
+
let H;
|
|
1697
|
+
e[27] !== o || e[28] !== E ? (H = /* @__PURE__ */ l("div", { ref: P, style: E, children: o }), e[27] = o, e[28] = E, e[29] = H) : H = e[29];
|
|
1698
|
+
let q;
|
|
1699
|
+
return e[30] !== p || e[31] !== f || e[32] !== $ || e[33] !== i || e[34] !== a || e[35] !== M || e[36] !== D || e[37] !== V || e[38] !== N || e[39] !== Z || e[40] !== j || e[41] !== F || e[42] !== B || e[43] !== H || e[44] !== L ? (q = /* @__PURE__ */ l(Ye, { action: _, sx: a, container: f, anchorEl: i, open: M, onClose: D, hideBackdrop: V, disableScrollLock: N, disableEscapeKeyDown: Z, disableAutoFocus: j, disableEnforceFocus: F, disableRestoreFocus: B, anchorOrigin: p, transformOrigin: L, slotProps: $, children: H }), e[30] = p, e[31] = f, e[32] = $, e[33] = i, e[34] = a, e[35] = M, e[36] = D, e[37] = V, e[38] = N, e[39] = Z, e[40] = j, e[41] = F, e[42] = B, e[43] = H, e[44] = L, e[45] = q) : q = e[45], q;
|
|
1665
1700
|
}
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1701
|
+
function Ml() {
|
|
1702
|
+
}
|
|
1703
|
+
const Al = [];
|
|
1704
|
+
function Gl(t) {
|
|
1705
|
+
const e = Q(54), {
|
|
1669
1706
|
options: i,
|
|
1670
1707
|
labels: o,
|
|
1671
1708
|
position: n,
|
|
1672
1709
|
selected: c,
|
|
1673
1710
|
onChange: s,
|
|
1674
1711
|
TooltipProps: a
|
|
1675
|
-
} = t, r = i === void 0 ?
|
|
1676
|
-
let
|
|
1677
|
-
e[0] !==
|
|
1678
|
-
const
|
|
1679
|
-
let
|
|
1680
|
-
e[2] !== o ? (
|
|
1681
|
-
let
|
|
1682
|
-
e[4] !==
|
|
1683
|
-
const g =
|
|
1684
|
-
let
|
|
1712
|
+
} = t, r = i === void 0 ? Al : i, f = n === void 0 ? "bottom-right" : n, m = c === void 0 ? null : c, [d, u] = ae(null), [x, h] = ae(!1), S = we(null), [_, U] = ae(null), R = yt();
|
|
1713
|
+
let P;
|
|
1714
|
+
e[0] !== R.breakpoints ? (P = R.breakpoints.down("sm"), e[0] = R.breakpoints, e[1] = P) : P = e[1];
|
|
1715
|
+
const b = xt(P);
|
|
1716
|
+
let v;
|
|
1717
|
+
e[2] !== o ? (v = o ?? {}, e[2] = o, e[3] = v) : v = e[3];
|
|
1718
|
+
let O;
|
|
1719
|
+
e[4] !== v ? (O = Be(Sl, v), e[4] = v, e[5] = O) : O = e[5];
|
|
1720
|
+
const g = O;
|
|
1721
|
+
let I;
|
|
1685
1722
|
if (e[6] !== r || e[7] !== m) {
|
|
1686
1723
|
let oe;
|
|
1687
|
-
e[9] !== m ? (oe = (ce) => ce.id === m, e[9] = m, e[10] = oe) : oe = e[10],
|
|
1724
|
+
e[9] !== m ? (oe = (ce) => ce.id === m, e[9] = m, e[10] = oe) : oe = e[10], I = r.find(oe), e[6] = r, e[7] = m, e[8] = I;
|
|
1688
1725
|
} else
|
|
1689
|
-
|
|
1690
|
-
const
|
|
1691
|
-
let
|
|
1692
|
-
e[11] !== r ? (
|
|
1693
|
-
const
|
|
1694
|
-
let
|
|
1695
|
-
e[13] !==
|
|
1696
|
-
const
|
|
1697
|
-
let
|
|
1698
|
-
e[15] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
1699
|
-
|
|
1700
|
-
}, e[15] =
|
|
1701
|
-
const
|
|
1702
|
-
let w,
|
|
1703
|
-
e[16] !==
|
|
1704
|
-
if (
|
|
1705
|
-
return
|
|
1706
|
-
|
|
1707
|
-
},
|
|
1708
|
-
|
|
1726
|
+
I = e[8];
|
|
1727
|
+
const k = I;
|
|
1728
|
+
let T;
|
|
1729
|
+
e[11] !== r ? (T = Object.groupBy(r, Il), e[11] = r, e[12] = T) : T = e[12];
|
|
1730
|
+
const p = T;
|
|
1731
|
+
let L;
|
|
1732
|
+
e[13] !== p ? (L = Object.keys(p), e[13] = p, e[14] = L) : L = e[14];
|
|
1733
|
+
const C = L.length;
|
|
1734
|
+
let A;
|
|
1735
|
+
e[15] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (A = () => {
|
|
1736
|
+
u(null), h(!1);
|
|
1737
|
+
}, e[15] = A) : A = e[15];
|
|
1738
|
+
const y = A;
|
|
1739
|
+
let w, E;
|
|
1740
|
+
e[16] !== _ ? (w = () => {
|
|
1741
|
+
if (S.current && clearTimeout(S.current), !!_)
|
|
1742
|
+
return S.current = setTimeout(() => {
|
|
1743
|
+
y();
|
|
1744
|
+
}, _), () => {
|
|
1745
|
+
S.current && clearTimeout(S.current);
|
|
1709
1746
|
};
|
|
1710
|
-
},
|
|
1711
|
-
let
|
|
1712
|
-
e[19] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
1713
|
-
|
|
1714
|
-
}, e[19] =
|
|
1715
|
-
const
|
|
1716
|
-
let
|
|
1717
|
-
e[20] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
1718
|
-
|
|
1719
|
-
}, e[20] =
|
|
1720
|
-
const
|
|
1747
|
+
}, E = [_], e[16] = _, e[17] = w, e[18] = E) : (w = e[17], E = e[18]), tt(w, E);
|
|
1748
|
+
let z;
|
|
1749
|
+
e[19] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (z = () => {
|
|
1750
|
+
U(null);
|
|
1751
|
+
}, e[19] = z) : z = e[19];
|
|
1752
|
+
const $ = z;
|
|
1753
|
+
let M;
|
|
1754
|
+
e[20] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (M = () => {
|
|
1755
|
+
U(400);
|
|
1756
|
+
}, e[20] = M) : M = e[20];
|
|
1757
|
+
const D = M;
|
|
1721
1758
|
let V;
|
|
1722
1759
|
e[21] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (V = (oe) => {
|
|
1723
|
-
|
|
1760
|
+
u(oe.currentTarget), h(!0);
|
|
1724
1761
|
}, e[21] = V) : V = e[21];
|
|
1725
|
-
const N =
|
|
1762
|
+
const N = k?.icon, Z = k?.label ?? "Basemap";
|
|
1726
1763
|
let j;
|
|
1727
1764
|
e[22] !== N || e[23] !== Z ? (j = /* @__PURE__ */ l(be, { sx: xe.toggle, onClick: V, children: /* @__PURE__ */ l("img", { src: N, alt: Z }) }), e[22] = N, e[23] = Z, e[24] = j) : j = e[24];
|
|
1728
1765
|
let F;
|
|
1729
1766
|
e[25] !== a || e[26] !== g.toggle.title || e[27] !== j ? (F = /* @__PURE__ */ l(ke, { title: g.toggle.title, placement: "right", ...a, children: j }), e[25] = a, e[26] = g.toggle.title, e[27] = j, e[28] = F) : F = e[28];
|
|
1730
|
-
const
|
|
1731
|
-
let
|
|
1732
|
-
e[29] !==
|
|
1767
|
+
const B = `translate3d(${f.endsWith("right") ? "-8px" : "8px"}, ${f.startsWith("bottom") ? "-4px" : "4px"}, 0) !important`;
|
|
1768
|
+
let H;
|
|
1769
|
+
e[29] !== B ? (H = {
|
|
1733
1770
|
paper: {
|
|
1734
1771
|
sx: {
|
|
1735
1772
|
...xe.root,
|
|
1736
|
-
transform:
|
|
1773
|
+
transform: B
|
|
1737
1774
|
},
|
|
1738
|
-
onMouseOver:
|
|
1739
|
-
onMouseLeave:
|
|
1775
|
+
onMouseOver: $,
|
|
1776
|
+
onMouseLeave: D
|
|
1740
1777
|
}
|
|
1741
|
-
}, e[29] =
|
|
1742
|
-
const
|
|
1743
|
-
let
|
|
1744
|
-
e[31] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
1745
|
-
let
|
|
1746
|
-
e[32] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
1778
|
+
}, e[29] = B, e[30] = H) : H = e[30];
|
|
1779
|
+
const q = !x;
|
|
1780
|
+
let Y;
|
|
1781
|
+
e[31] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (Y = () => y(), e[31] = Y) : Y = e[31];
|
|
1782
|
+
let G;
|
|
1783
|
+
e[32] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (G = () => y(), e[32] = G) : G = e[32];
|
|
1747
1784
|
let K;
|
|
1748
|
-
e[33] !==
|
|
1749
|
-
let
|
|
1750
|
-
e[36] !==
|
|
1785
|
+
e[33] !== b || e[34] !== g.header ? (K = /* @__PURE__ */ l(_l, { isMobile: b, labels: g.header, onChangeCollapsed: G }), e[33] = b, e[34] = g.header, e[35] = K) : K = e[35];
|
|
1786
|
+
let J;
|
|
1787
|
+
e[36] !== p ? (J = Object.entries(p), e[36] = p, e[37] = J) : J = e[37];
|
|
1751
1788
|
let ee;
|
|
1752
|
-
e[38] !==
|
|
1789
|
+
e[38] !== C || e[39] !== g.header || e[40] !== s || e[41] !== m || e[42] !== J ? (ee = J.map((oe) => {
|
|
1753
1790
|
const [ce, ie] = oe;
|
|
1754
|
-
return /* @__PURE__ */ l(
|
|
1755
|
-
|
|
1791
|
+
return /* @__PURE__ */ l(Cl, { title: ce + " " + g.header.title, collapsed: C < 2, children: /* @__PURE__ */ l(wl, { values: ie, selected: m, onChange: (ge) => {
|
|
1792
|
+
y(), s(ge);
|
|
1756
1793
|
} }) }, ce);
|
|
1757
|
-
}), e[38] =
|
|
1794
|
+
}), e[38] = C, e[39] = g.header, e[40] = s, e[41] = m, e[42] = J, e[43] = ee) : ee = e[43];
|
|
1758
1795
|
let te;
|
|
1759
|
-
e[44] !==
|
|
1796
|
+
e[44] !== b || e[45] !== f || e[46] !== H || e[47] !== q || e[48] !== K || e[49] !== ee ? (te = /* @__PURE__ */ W(Tl, { ref: d, slotProps: H, collapsed: q, position: f, isMobile: b, onChangeCollapsed: Y, children: [
|
|
1760
1797
|
K,
|
|
1761
1798
|
ee
|
|
1762
|
-
] }), e[44] =
|
|
1799
|
+
] }), e[44] = b, e[45] = f, e[46] = H, e[47] = q, e[48] = K, e[49] = ee, e[50] = te) : te = e[50];
|
|
1763
1800
|
let le;
|
|
1764
|
-
return e[51] !== F || e[52] !== te ? (le = /* @__PURE__ */
|
|
1801
|
+
return e[51] !== F || e[52] !== te ? (le = /* @__PURE__ */ W(Me, { children: [
|
|
1765
1802
|
F,
|
|
1766
1803
|
te
|
|
1767
1804
|
] }), e[51] = F, e[52] = te, e[53] = le) : le = e[53], le;
|
|
1768
1805
|
}
|
|
1769
|
-
function
|
|
1806
|
+
function Il(t) {
|
|
1770
1807
|
return t.group ?? "default";
|
|
1771
1808
|
}
|
|
1772
1809
|
export {
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1810
|
+
el as AreaIcon,
|
|
1811
|
+
Gl as BasemapsUI,
|
|
1812
|
+
Jt as BufferIcon,
|
|
1813
|
+
so as CopyButton,
|
|
1814
|
+
Xl as DEFAULT_LASSO_TOOLS_MODES_MAPPING,
|
|
1778
1815
|
ve as DEFAULT_MEASUREMENT_TOOLS_LABELS,
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
|
|
1816
|
+
ll as DEFAULT_MEASUREMENT_TOOLS_MODES_MAPPING,
|
|
1817
|
+
tl as DEFAULT_MEASUREMENT_TOOLS_UNITS_MAPPING,
|
|
1818
|
+
ql as DrawCircleIcon,
|
|
1819
|
+
Ql as DrawLassoIcon,
|
|
1820
|
+
Jl as DrawPolygonIcon,
|
|
1821
|
+
eo as DrawSquareIcon,
|
|
1822
|
+
jl as GeolocationControls,
|
|
1786
1823
|
ye as LASSO_TOOLS_LABELS,
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
|
|
1797
|
-
|
|
1824
|
+
zl as LassoGeometryToolbarUI,
|
|
1825
|
+
Vl as LassoLayerFiltersUI,
|
|
1826
|
+
Fl as LassoMessageUI,
|
|
1827
|
+
Wl as LassoToolsInlineUI,
|
|
1828
|
+
to as LassoToolsUI,
|
|
1829
|
+
Nl as ListDataUI,
|
|
1830
|
+
Zl as MeasurementToolsUI,
|
|
1831
|
+
Tl as ResponsiveDrawer,
|
|
1832
|
+
Qt as RulerIcon,
|
|
1833
|
+
lo as SelectToolIcon,
|
|
1834
|
+
Ot as SmartTooltip,
|
|
1798
1835
|
nt as SpatialMaskIcon,
|
|
1799
1836
|
it as TextAaIcon,
|
|
1800
1837
|
ke as Tooltip,
|
|
1801
|
-
|
|
1802
|
-
|
|
1838
|
+
Hl as ZoomControlsUI,
|
|
1839
|
+
no as setTooltipEnterDelay
|
|
1803
1840
|
};
|
|
1804
1841
|
//# sourceMappingURL=components.js.map
|