@carto/ps-react-ui 4.0.3 → 4.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components.js +972 -676
- package/dist/components.js.map +1 -1
- package/dist/types/components/basemaps/basemaps.d.ts +3 -0
- package/dist/types/components/basemaps/const.d.ts +2 -0
- package/dist/types/components/basemaps/group-wrapper.d.ts +6 -0
- package/dist/types/components/basemaps/group.d.ts +6 -0
- package/dist/types/components/basemaps/header.d.ts +6 -0
- package/dist/types/components/basemaps/styles.d.ts +71 -0
- package/dist/types/components/basemaps/types.d.ts +27 -0
- package/dist/types/components/index.d.ts +2 -0
- package/dist/types/components/measurement-tools/styles.d.ts +81 -0
- package/dist/types/components/responsive-drawer/responsive-drawer.d.ts +12 -0
- package/package.json +1 -1
package/dist/components.js
CHANGED
@@ -1,9 +1,9 @@
|
|
1
|
-
import { jsx as n, jsxs as
|
1
|
+
import { jsx as n, jsxs as O, Fragment as j } from "react/jsx-runtime";
|
2
2
|
import { c as R } from "react/compiler-runtime";
|
3
|
-
import { Chip as
|
4
|
-
import { ArrowDropDown as
|
5
|
-
import { useMemo as
|
6
|
-
const
|
3
|
+
import { Chip as Ke, Tooltip as ae, Paper as xe, Divider as ce, Box as G, IconButton as se, Menu as Ze, MenuItem as ye, ListItemIcon as Ue, SvgIcon as Oe, ListItemText as be, ToggleButton as we, Typography as F, ToggleButtonGroup as Ve, Button as Te, alpha as Ye, Dialog as Qe, DialogTitle as Je, DialogContent as et, FormControl as tt, RadioGroup as ot, FormControlLabel as nt, Radio as it, DialogActions as lt, CircularProgress as rt, Grid as ve, Skeleton as _e, Alert as ct, ListItem as st, List as at, Drawer as dt, Popover as ut, useTheme as ht, useMediaQuery as ft } from "@mui/material";
|
4
|
+
import { ArrowDropDown as Ge, MoreVertOutlined as mt, Close as We, MyLocationOutlined as pt, LocationDisabledOutlined as gt, CropFreeOutlined as vt, AddOutlined as yt, RemoveOutlined as bt } from "@mui/icons-material";
|
5
|
+
import { useMemo as Le, useState as le, useRef as ze, useEffect as Ie } from "react";
|
6
|
+
const J = {
|
7
7
|
container: {
|
8
8
|
display: "flex",
|
9
9
|
flexDirection: "row",
|
@@ -167,42 +167,42 @@ const U = {
|
|
167
167
|
}
|
168
168
|
}
|
169
169
|
};
|
170
|
-
function
|
170
|
+
function wt(t) {
|
171
171
|
const e = R(3);
|
172
|
-
let
|
173
|
-
e[0] === Symbol.for("react.memo_cache_sentinel") ? (
|
172
|
+
let r;
|
173
|
+
e[0] === Symbol.for("react.memo_cache_sentinel") ? (r = /* @__PURE__ */ n("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M4 18a2 2 0 1 1 0 4 2 2 0 0 1 0-4Zm16 0a2 2 0 1 1 0 4 2 2 0 0 1 0-4Zm-2.829 1a2.996 2.996 0 0 0 0 2H6.829a2.995 2.995 0 0 0 0-2h10.342Zm-2.463-5.707 3.998 4a3.013 3.013 0 0 0-1.414 1.414l-4-3.999a3.014 3.014 0 0 0 1.31-1.214l.106-.201ZM2.998 6.829a2.995 2.995 0 0 0 2.002 0v10.342a2.993 2.993 0 0 0-2.002 0V6.83ZM12 10a2 2 0 1 1 0 4 2 2 0 0 1 0-4Zm1.84-3.919c.464.483 1.09.81 1.79.896l-1.47 2.94a2.992 2.992 0 0 0-1.79-.894l1.47-2.942ZM16 2a2 2 0 1 1 0 4 2 2 0 0 1 0-4ZM4 2a2 2 0 1 1 0 4 2 2 0 0 1 0-4Zm9.171.998a2.994 2.994 0 0 0 0 2.002H6.829a2.995 2.995 0 0 0 0-2.002h6.342Z", fill: "currentColor" }), e[0] = r) : r = e[0];
|
174
174
|
let o;
|
175
|
-
return e[1] !== t ? (o = /* @__PURE__ */ n("svg", { fill: "none", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", ...t, children:
|
175
|
+
return e[1] !== t ? (o = /* @__PURE__ */ n("svg", { fill: "none", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", ...t, children: r }), e[1] = t, e[2] = o) : o = e[2], o;
|
176
176
|
}
|
177
|
-
function
|
177
|
+
function xt(t) {
|
178
178
|
const e = R(3);
|
179
|
-
let
|
180
|
-
e[0] === Symbol.for("react.memo_cache_sentinel") ? (
|
179
|
+
let r;
|
180
|
+
e[0] === Symbol.for("react.memo_cache_sentinel") ? (r = /* @__PURE__ */ n("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M4 18a2 2 0 1 1 0 4 2 2 0 0 1 0-4Zm16 0a2 2 0 1 1 0 4 2 2 0 0 1 0-4Zm-2.829 1a2.993 2.993 0 0 0-.17.974l-.001.052.007.183a3 3 0 0 0 .164.79H6.829a2.995 2.995 0 0 0 0-2h10.342ZM2.998 6.828a2.995 2.995 0 0 0 2.002 0V17.17a2.993 2.993 0 0 0-2.002 0V6.83Zm16.001 0a2.995 2.995 0 0 0 2 0V17.17a2.993 2.993 0 0 0-2 0V6.829ZM20 2a2 2 0 1 1 0 4 2 2 0 0 1 0-4ZM4 2a2 2 0 1 1 0 4 2 2 0 0 1 0-4Zm13.171.998a2.991 2.991 0 0 0-.17.976L17 4.026l.007.183a3 3 0 0 0 .164.79H6.829a2.995 2.995 0 0 0 0-2H17.17Z", fill: "currentColor" }), e[0] = r) : r = e[0];
|
181
181
|
let o;
|
182
|
-
return e[1] !== t ? (o = /* @__PURE__ */ n("svg", { fill: "none", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", ...t, children:
|
182
|
+
return e[1] !== t ? (o = /* @__PURE__ */ n("svg", { fill: "none", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", ...t, children: r }), e[1] = t, e[2] = o) : o = e[2], o;
|
183
183
|
}
|
184
|
-
function
|
184
|
+
function Mt(t) {
|
185
185
|
const e = R(3);
|
186
|
-
let
|
187
|
-
e[0] === Symbol.for("react.memo_cache_sentinel") ? (
|
186
|
+
let r;
|
187
|
+
e[0] === Symbol.for("react.memo_cache_sentinel") ? (r = /* @__PURE__ */ n("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2Zm0 2a8 8 0 1 0 0 16 8 8 0 0 0 0-16Zm0 6a2 2 0 1 1 0 4 2 2 0 0 1 0-4Z", fill: "currentColor" }), e[0] = r) : r = e[0];
|
188
188
|
let o;
|
189
|
-
return e[1] !== t ? (o = /* @__PURE__ */ n("svg", { fill: "none", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", ...t, children:
|
189
|
+
return e[1] !== t ? (o = /* @__PURE__ */ n("svg", { fill: "none", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", ...t, children: r }), e[1] = t, e[2] = o) : o = e[2], o;
|
190
190
|
}
|
191
|
-
function
|
191
|
+
function Ct(t) {
|
192
192
|
const e = R(3);
|
193
|
-
let
|
194
|
-
e[0] === Symbol.for("react.memo_cache_sentinel") ? (
|
193
|
+
let r;
|
194
|
+
e[0] === Symbol.for("react.memo_cache_sentinel") ? (r = /* @__PURE__ */ n("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M12 3c4.935 0 9 3.736 9 9l-.002.343-.012.668c-.012.438-.033.86-.062 1.266l-.05.597C20.498 18.767 19.267 21 17 21c-1.192 0-1.971-.341-2.988-1.122l-.472-.375c-.401-.319-.64-.473-.888-.566a4.938 4.938 0 0 0-.415-.13l-.34-.085-.398-.086-.456-.086-.66-.111-1.708-.273a9.112 9.112 0 0 1-.952-.206C5.46 17.301 3 14.954 3 12.015c0-1.508.485-2.995 1.436-4.458.355.585.906 1.04 1.562 1.272C5.328 9.916 5 10.977 5 12.015c0 1.889 1.78 3.588 3.282 4.025l.085.023.345.076.517.092 1.619.257.583.1.518.098.237.05.433.103c.272.07.512.143.73.224.434.161.783.373 1.235.718l.457.362c.806.646 1.24.857 1.959.857.893 0 1.63-1.518 1.895-4.45l.045-.585c.013-.2.024-.407.033-.62l.02-.655c.005-.224.007-.454.007-.69 0-4.12-3.133-7-7-7a1 1 0 1 1 0-2ZM7 4a2 2 0 1 1 0 4 2 2 0 0 1 0-4Z", fill: "currentColor" }), e[0] = r) : r = e[0];
|
195
195
|
let o;
|
196
|
-
return e[1] !== t ? (o = /* @__PURE__ */ n("svg", { fill: "none", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", ...t, children:
|
196
|
+
return e[1] !== t ? (o = /* @__PURE__ */ n("svg", { fill: "none", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", ...t, children: r }), e[1] = t, e[2] = o) : o = e[2], o;
|
197
197
|
}
|
198
|
-
function
|
198
|
+
function Tt(t) {
|
199
199
|
const e = R(3);
|
200
|
-
let
|
201
|
-
e[0] === Symbol.for("react.memo_cache_sentinel") ? (
|
200
|
+
let r;
|
201
|
+
e[0] === Symbol.for("react.memo_cache_sentinel") ? (r = /* @__PURE__ */ n("path", { fillRule: "evenodd", clipRule: "evenodd", d: "m10.083 19.394.057.113a1 1 0 0 0 1.72.007l2.869-4.786 4.786-2.87a1 1 0 0 0-.121-1.777l-14-6c-.83-.356-1.669.483-1.313 1.313l6.002 14ZM6.905 6.904l9.903 4.244-3.322 1.995-.102.069a1 1 0 0 0-.242.274l-1.992 3.321-4.245-9.903Z", fill: "currentColor" }), e[0] = r) : r = e[0];
|
202
202
|
let o;
|
203
|
-
return e[1] !== t ? (o = /* @__PURE__ */ n("svg", { fill: "none", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", ...t, children:
|
203
|
+
return e[1] !== t ? (o = /* @__PURE__ */ n("svg", { fill: "none", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", ...t, children: r }), e[1] = t, e[2] = o) : o = e[2], o;
|
204
204
|
}
|
205
|
-
const
|
205
|
+
const z = {
|
206
206
|
action: {
|
207
207
|
tooltip: {
|
208
208
|
active: "Click on the map to draw your spatial filter",
|
@@ -238,268 +238,268 @@ const j = {
|
|
238
238
|
},
|
239
239
|
deleteAll: "Remove all"
|
240
240
|
}
|
241
|
-
},
|
241
|
+
}, mo = {
|
242
242
|
polygon: {
|
243
|
-
icon:
|
243
|
+
icon: wt
|
244
244
|
},
|
245
245
|
rectangle: {
|
246
|
-
icon:
|
246
|
+
icon: xt
|
247
247
|
},
|
248
248
|
circle: {
|
249
|
-
icon:
|
249
|
+
icon: Mt
|
250
250
|
},
|
251
251
|
lasso: {
|
252
|
-
icon:
|
252
|
+
icon: Ct
|
253
253
|
},
|
254
254
|
edit: {
|
255
|
-
icon:
|
255
|
+
icon: Tt
|
256
256
|
}
|
257
257
|
};
|
258
|
-
function
|
258
|
+
function St(t) {
|
259
259
|
return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
|
260
260
|
}
|
261
|
-
var
|
262
|
-
function
|
263
|
-
if (
|
264
|
-
|
265
|
-
var t = function(
|
266
|
-
return e(
|
261
|
+
var Ae, Be;
|
262
|
+
function _t() {
|
263
|
+
if (Be) return Ae;
|
264
|
+
Be = 1;
|
265
|
+
var t = function(m) {
|
266
|
+
return e(m) && !r(m);
|
267
267
|
};
|
268
268
|
function e(d) {
|
269
269
|
return !!d && typeof d == "object";
|
270
270
|
}
|
271
|
-
function
|
272
|
-
var
|
273
|
-
return
|
271
|
+
function r(d) {
|
272
|
+
var m = Object.prototype.toString.call(d);
|
273
|
+
return m === "[object RegExp]" || m === "[object Date]" || s(d);
|
274
274
|
}
|
275
|
-
var o = typeof Symbol == "function" && Symbol.for,
|
276
|
-
function
|
277
|
-
return d.$$typeof ===
|
275
|
+
var o = typeof Symbol == "function" && Symbol.for, l = o ? Symbol.for("react.element") : 60103;
|
276
|
+
function s(d) {
|
277
|
+
return d.$$typeof === l;
|
278
278
|
}
|
279
|
-
function
|
279
|
+
function i(d) {
|
280
280
|
return Array.isArray(d) ? [] : {};
|
281
281
|
}
|
282
|
-
function
|
283
|
-
return
|
282
|
+
function c(d, m) {
|
283
|
+
return m.clone !== !1 && m.isMergeableObject(d) ? g(i(d), d, m) : d;
|
284
284
|
}
|
285
|
-
function a(d,
|
286
|
-
return d.concat(
|
287
|
-
return
|
285
|
+
function a(d, m, v) {
|
286
|
+
return d.concat(m).map(function(x) {
|
287
|
+
return c(x, v);
|
288
288
|
});
|
289
289
|
}
|
290
|
-
function
|
291
|
-
if (!
|
290
|
+
function u(d, m) {
|
291
|
+
if (!m.customMerge)
|
292
292
|
return g;
|
293
|
-
var v =
|
293
|
+
var v = m.customMerge(d);
|
294
294
|
return typeof v == "function" ? v : g;
|
295
295
|
}
|
296
|
-
function
|
297
|
-
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(d).filter(function(
|
298
|
-
return Object.propertyIsEnumerable.call(d,
|
296
|
+
function h(d) {
|
297
|
+
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(d).filter(function(m) {
|
298
|
+
return Object.propertyIsEnumerable.call(d, m);
|
299
299
|
}) : [];
|
300
300
|
}
|
301
|
-
function
|
302
|
-
return Object.keys(d).concat(
|
301
|
+
function f(d) {
|
302
|
+
return Object.keys(d).concat(h(d));
|
303
303
|
}
|
304
|
-
function p(d,
|
304
|
+
function p(d, m) {
|
305
305
|
try {
|
306
|
-
return
|
306
|
+
return m in d;
|
307
307
|
} catch {
|
308
308
|
return !1;
|
309
309
|
}
|
310
310
|
}
|
311
|
-
function y(d,
|
312
|
-
return p(d,
|
311
|
+
function y(d, m) {
|
312
|
+
return p(d, m) && !(Object.hasOwnProperty.call(d, m) && Object.propertyIsEnumerable.call(d, m));
|
313
313
|
}
|
314
|
-
function
|
315
|
-
var
|
316
|
-
return v.isMergeableObject(d) &&
|
317
|
-
|
318
|
-
}), m
|
319
|
-
y(d,
|
320
|
-
}),
|
314
|
+
function b(d, m, v) {
|
315
|
+
var x = {};
|
316
|
+
return v.isMergeableObject(d) && f(d).forEach(function(w) {
|
317
|
+
x[w] = c(d[w], v);
|
318
|
+
}), f(m).forEach(function(w) {
|
319
|
+
y(d, w) || (p(d, w) && v.isMergeableObject(m[w]) ? x[w] = u(w, v)(d[w], m[w], v) : x[w] = c(m[w], v));
|
320
|
+
}), x;
|
321
321
|
}
|
322
|
-
function g(d,
|
323
|
-
v = v || {}, v.arrayMerge = v.arrayMerge || a, v.isMergeableObject = v.isMergeableObject || t, v.cloneUnlessOtherwiseSpecified =
|
324
|
-
var
|
325
|
-
return
|
322
|
+
function g(d, m, v) {
|
323
|
+
v = v || {}, v.arrayMerge = v.arrayMerge || a, v.isMergeableObject = v.isMergeableObject || t, v.cloneUnlessOtherwiseSpecified = c;
|
324
|
+
var x = Array.isArray(m), w = Array.isArray(d), A = x === w;
|
325
|
+
return A ? x ? v.arrayMerge(d, m, v) : b(d, m, v) : c(m, v);
|
326
326
|
}
|
327
|
-
g.all = function(
|
328
|
-
if (!Array.isArray(
|
327
|
+
g.all = function(m, v) {
|
328
|
+
if (!Array.isArray(m))
|
329
329
|
throw new Error("first argument should be an array");
|
330
|
-
return
|
331
|
-
return g(
|
330
|
+
return m.reduce(function(x, w) {
|
331
|
+
return g(x, w, v);
|
332
332
|
}, {});
|
333
333
|
};
|
334
|
-
var
|
335
|
-
return
|
334
|
+
var C = g;
|
335
|
+
return Ae = C, Ae;
|
336
336
|
}
|
337
|
-
var
|
338
|
-
const
|
339
|
-
function
|
337
|
+
var At = _t();
|
338
|
+
const Se = /* @__PURE__ */ St(At);
|
339
|
+
function Fe(t) {
|
340
340
|
var d;
|
341
341
|
const e = R(18), {
|
342
|
-
chipProps:
|
342
|
+
chipProps: r,
|
343
343
|
value: o,
|
344
|
-
labels:
|
345
|
-
onChipToggle:
|
346
|
-
onDelete:
|
347
|
-
} = t,
|
348
|
-
let
|
349
|
-
e[0] === Symbol.for("react.memo_cache_sentinel") ? (
|
350
|
-
...
|
351
|
-
}, e[0] =
|
352
|
-
const
|
344
|
+
labels: l,
|
345
|
+
onChipToggle: s,
|
346
|
+
onDelete: i
|
347
|
+
} = t, c = o.visible ? "active" : "inactive", a = ((d = l == null ? void 0 : l.tooltip) == null ? void 0 : d[c]) ?? z.chip.tooltip[c], u = r == null ? void 0 : r.TooltipProps;
|
348
|
+
let h;
|
349
|
+
e[0] === Symbol.for("react.memo_cache_sentinel") ? (h = {
|
350
|
+
...J.chip.chip
|
351
|
+
}, e[0] = h) : h = e[0];
|
352
|
+
const f = o.visible ? "secondary" : "default";
|
353
353
|
let p;
|
354
|
-
e[1] !==
|
354
|
+
e[1] !== i || e[2] !== o.id ? (p = () => i(o.id), e[1] = i, e[2] = o.id, e[3] = p) : p = e[3];
|
355
355
|
let y;
|
356
|
-
e[4] !==
|
357
|
-
const
|
356
|
+
e[4] !== s || e[5] !== o.id || e[6] !== o.visible ? (y = () => s(o.id, !o.visible), e[4] = s, e[5] = o.id, e[6] = o.visible, e[7] = y) : y = e[7];
|
357
|
+
const b = r == null ? void 0 : r.ChipsProps;
|
358
358
|
let g;
|
359
|
-
e[8] !==
|
360
|
-
let
|
361
|
-
return e[14] !== a || e[15] !==
|
359
|
+
e[8] !== f || e[9] !== p || e[10] !== y || e[11] !== b || e[12] !== o.label ? (g = /* @__PURE__ */ n(Ke, { sx: h, color: f, size: "small", onDelete: p, label: o.label, onClick: y, ...b }), e[8] = f, e[9] = p, e[10] = y, e[11] = b, e[12] = o.label, e[13] = g) : g = e[13];
|
360
|
+
let C;
|
361
|
+
return e[14] !== a || e[15] !== u || e[16] !== g ? (C = /* @__PURE__ */ n(ae, { title: a, placement: "bottom", ...u, children: g }), e[14] = a, e[15] = u, e[16] = g, e[17] = C) : C = e[17], C;
|
362
362
|
}
|
363
|
-
function
|
363
|
+
function po({
|
364
364
|
enabled: t,
|
365
365
|
values: e = [],
|
366
|
-
actionProps:
|
366
|
+
actionProps: r,
|
367
367
|
chipProps: o,
|
368
|
-
labels:
|
369
|
-
modes:
|
370
|
-
modesMapping:
|
371
|
-
modeSelected:
|
368
|
+
labels: l,
|
369
|
+
modes: s,
|
370
|
+
modesMapping: i,
|
371
|
+
modeSelected: c,
|
372
372
|
PaperProps: {
|
373
373
|
sx: a,
|
374
|
-
...
|
374
|
+
...u
|
375
375
|
} = {},
|
376
|
-
onActionToggle:
|
377
|
-
onChipToggle:
|
376
|
+
onActionToggle: h,
|
377
|
+
onChipToggle: f,
|
378
378
|
onDelete: p,
|
379
379
|
onChangeMode: y,
|
380
|
-
onAllChipToggle:
|
380
|
+
onAllChipToggle: b,
|
381
381
|
onAllDelete: g
|
382
382
|
}) {
|
383
|
-
const
|
383
|
+
const C = Le(() => Se(s, i), [s, i]), {
|
384
384
|
edit: d,
|
385
|
-
...
|
386
|
-
} =
|
387
|
-
return /* @__PURE__ */
|
388
|
-
...
|
385
|
+
...m
|
386
|
+
} = C, v = (S) => (h(!1), p(S)), x = (S) => h(S), w = (S) => y == null ? void 0 : y(S), D = (c ?? "") in s ? c : Object.keys(C)[0], M = C[D], T = Object.values(m);
|
387
|
+
return /* @__PURE__ */ O(xe, { sx: {
|
388
|
+
...J.container,
|
389
389
|
...a
|
390
|
-
}, ...
|
391
|
-
/* @__PURE__ */ n(
|
392
|
-
/* @__PURE__ */ n(
|
393
|
-
/* @__PURE__ */ n(
|
394
|
-
!!d && /* @__PURE__ */
|
395
|
-
/* @__PURE__ */ n(
|
396
|
-
/* @__PURE__ */ n(
|
390
|
+
}, ...u, children: [
|
391
|
+
/* @__PURE__ */ n(Dt, { actionProps: r, labels: l == null ? void 0 : l.action, enabled: t, onActionToggle: x, children: (M == null ? void 0 : M.icon) && /* @__PURE__ */ n(M.icon, {}) }),
|
392
|
+
/* @__PURE__ */ n(Ne, { children: (S) => /* @__PURE__ */ O(j, { children: [
|
393
|
+
/* @__PURE__ */ n(Ot, { data: T, labels: l == null ? void 0 : l.options, children: /* @__PURE__ */ n(Ee, { ...S, labels: l == null ? void 0 : l.options, data: T, modeSelected: D, onChangeMode: w }) }),
|
394
|
+
!!d && /* @__PURE__ */ O(j, { children: [
|
395
|
+
/* @__PURE__ */ n(ce, {}),
|
396
|
+
/* @__PURE__ */ n(Ee, { ...S, labels: l == null ? void 0 : l.options, data: [{
|
397
397
|
...d,
|
398
398
|
disabled: !e.length
|
399
|
-
}], modeSelected:
|
399
|
+
}], modeSelected: D, onChangeMode: w })
|
400
400
|
] })
|
401
401
|
] }) }),
|
402
|
-
!!e.length && /* @__PURE__ */ n(G, { sx:
|
403
|
-
/* @__PURE__ */ n(
|
402
|
+
!!e.length && /* @__PURE__ */ n(G, { sx: J.chip.container, children: e.map((S) => /* @__PURE__ */ n(Fe, { value: S, labels: l == null ? void 0 : l.chip, chipProps: o, onDelete: v, onChipToggle: f }, S.id)) }),
|
403
|
+
/* @__PURE__ */ n(Lt, { values: e, labels: l == null ? void 0 : l.actions, onAllChipToggle: b, onAllDelete: g })
|
404
404
|
] });
|
405
405
|
}
|
406
|
-
function
|
406
|
+
function Dt(t) {
|
407
407
|
var y;
|
408
408
|
const e = R(12), {
|
409
|
-
actionProps:
|
409
|
+
actionProps: r,
|
410
410
|
labels: o,
|
411
|
-
enabled:
|
412
|
-
children:
|
413
|
-
onActionToggle:
|
414
|
-
} = t,
|
415
|
-
let
|
416
|
-
e[0] !==
|
417
|
-
let
|
418
|
-
e[3] !== a || e[4] !==
|
411
|
+
enabled: l,
|
412
|
+
children: s,
|
413
|
+
onActionToggle: i
|
414
|
+
} = t, c = l ? "active" : "inactive", a = ((y = o == null ? void 0 : o.tooltip) == null ? void 0 : y[c]) ?? z.action.tooltip[c], u = r == null ? void 0 : r.TooltipProps;
|
415
|
+
let h;
|
416
|
+
e[0] !== l || e[1] !== i ? (h = () => i(!l), e[0] = l, e[1] = i, e[2] = h) : h = e[2];
|
417
|
+
let f;
|
418
|
+
e[3] !== a || e[4] !== s || e[5] !== l || e[6] !== h ? (f = /* @__PURE__ */ n(we, { value: "toggle", sx: J.actions.icon, onClick: h, "aria-label": a, selected: l, children: s }), e[3] = a, e[4] = s, e[5] = l, e[6] = h, e[7] = f) : f = e[7];
|
419
419
|
let p;
|
420
|
-
return e[8] !== a || e[9] !==
|
420
|
+
return e[8] !== a || e[9] !== u || e[10] !== f ? (p = /* @__PURE__ */ n(ae, { title: a, placement: "right", ...u, children: f }), e[8] = a, e[9] = u, e[10] = f, e[11] = p) : p = e[11], p;
|
421
421
|
}
|
422
|
-
function
|
422
|
+
function Ne({
|
423
423
|
TriggerProps: {
|
424
|
-
Icon: t = /* @__PURE__ */ n(
|
424
|
+
Icon: t = /* @__PURE__ */ n(Ge, {}),
|
425
425
|
sx: e
|
426
426
|
} = {},
|
427
|
-
MenuProps:
|
427
|
+
MenuProps: r,
|
428
428
|
children: o
|
429
429
|
}) {
|
430
|
-
const [
|
431
|
-
|
430
|
+
const [l, s] = le(null), i = !!l, c = (u) => {
|
431
|
+
s(u.currentTarget);
|
432
432
|
}, a = () => {
|
433
|
-
|
433
|
+
s(null);
|
434
434
|
};
|
435
|
-
return /* @__PURE__ */
|
436
|
-
/* @__PURE__ */ n(
|
437
|
-
...
|
435
|
+
return /* @__PURE__ */ O(j, { children: [
|
436
|
+
/* @__PURE__ */ n(se, { sx: {
|
437
|
+
...J.options.icon,
|
438
438
|
...e
|
439
|
-
}, onClick:
|
440
|
-
/* @__PURE__ */ n(
|
439
|
+
}, onClick: c, children: t }),
|
440
|
+
/* @__PURE__ */ n(Ze, { id: "lasso-menu", anchorEl: l, open: i, onClose: a, MenuListProps: {
|
441
441
|
"aria-labelledby": "lasso-button",
|
442
|
-
sx:
|
443
|
-
}, ...
|
442
|
+
sx: J.options.menu
|
443
|
+
}, ...r, children: /* @__PURE__ */ n("div", { children: o({
|
444
444
|
onClose: a
|
445
445
|
}) }) })
|
446
446
|
] });
|
447
447
|
}
|
448
|
-
function
|
448
|
+
function Ot(t) {
|
449
449
|
var a;
|
450
450
|
const e = R(5), {
|
451
|
-
data:
|
451
|
+
data: r,
|
452
452
|
labels: o,
|
453
|
-
children:
|
453
|
+
children: l
|
454
454
|
} = t;
|
455
|
-
if (
|
455
|
+
if (r.length <= 1)
|
456
456
|
return null;
|
457
|
-
const
|
458
|
-
let
|
459
|
-
e[0] !==
|
460
|
-
let
|
461
|
-
return e[2] !==
|
462
|
-
|
463
|
-
|
464
|
-
] }), e[2] =
|
457
|
+
const s = ((a = o == null ? void 0 : o.mode) == null ? void 0 : a.title) ?? z.options.mode.title;
|
458
|
+
let i;
|
459
|
+
e[0] !== s ? (i = /* @__PURE__ */ n(F, { variant: "subtitle2", color: "text.secondary", sx: J.options.title, children: s }), e[0] = s, e[1] = i) : i = e[1];
|
460
|
+
let c;
|
461
|
+
return e[2] !== l || e[3] !== i ? (c = /* @__PURE__ */ O(j, { children: [
|
462
|
+
i,
|
463
|
+
l
|
464
|
+
] }), e[2] = l, e[3] = i, e[4] = c) : c = e[4], c;
|
465
465
|
}
|
466
|
-
function
|
466
|
+
function Ee({
|
467
467
|
data: t,
|
468
468
|
modeSelected: e,
|
469
|
-
labels:
|
469
|
+
labels: r,
|
470
470
|
onChangeMode: o,
|
471
|
-
onClose:
|
471
|
+
onClose: l
|
472
472
|
}) {
|
473
|
-
const
|
474
|
-
|
473
|
+
const s = (i, c) => {
|
474
|
+
i.preventDefault(), o == null || o(c), l();
|
475
475
|
};
|
476
|
-
return t.map((
|
477
|
-
var
|
478
|
-
const a = (((
|
479
|
-
return /* @__PURE__ */
|
480
|
-
/* @__PURE__ */ n(
|
481
|
-
/* @__PURE__ */ n(
|
482
|
-
] },
|
476
|
+
return t.map((i) => {
|
477
|
+
var u;
|
478
|
+
const a = (((u = r == null ? void 0 : r.mode) == null ? void 0 : u.options) ?? z.options.mode.options)[i.value];
|
479
|
+
return /* @__PURE__ */ O(ye, { disabled: !!i.disabled, onClick: (h) => s(h, i.value), selected: i.value === e, children: [
|
480
|
+
/* @__PURE__ */ n(Ue, { sx: J.options.icons, children: /* @__PURE__ */ n(Oe, { children: /* @__PURE__ */ n(i.icon, {}) }) }),
|
481
|
+
/* @__PURE__ */ n(be, { children: a })
|
482
|
+
] }, i.value);
|
483
483
|
});
|
484
484
|
}
|
485
|
-
function
|
486
|
-
var y,
|
485
|
+
function Lt(t) {
|
486
|
+
var y, b;
|
487
487
|
const e = R(8), {
|
488
|
-
values:
|
488
|
+
values: r,
|
489
489
|
labels: o,
|
490
|
-
onAllChipToggle:
|
491
|
-
onAllDelete:
|
490
|
+
onAllChipToggle: l,
|
491
|
+
onAllDelete: s
|
492
492
|
} = t;
|
493
|
-
if (
|
493
|
+
if (r.length <= 1)
|
494
494
|
return null;
|
495
|
-
const
|
496
|
-
let
|
497
|
-
e[0] === Symbol.for("react.memo_cache_sentinel") ? (
|
498
|
-
let
|
499
|
-
e[1] === Symbol.for("react.memo_cache_sentinel") ? (
|
500
|
-
Icon: /* @__PURE__ */ n(
|
501
|
-
sx:
|
502
|
-
},
|
495
|
+
const c = r.some(It) ? ((y = o == null ? void 0 : o.toggleAll) == null ? void 0 : y.active) ?? z.actions.toggleAll.active : ((b = o == null ? void 0 : o.toggleAll) == null ? void 0 : b.inactive) ?? z.actions.toggleAll.inactive, a = (o == null ? void 0 : o.deleteAll) ?? z.actions.deleteAll;
|
496
|
+
let u;
|
497
|
+
e[0] === Symbol.for("react.memo_cache_sentinel") ? (u = /* @__PURE__ */ n(ce, { orientation: "vertical", flexItem: !0 }), e[0] = u) : u = e[0];
|
498
|
+
let h, f;
|
499
|
+
e[1] === Symbol.for("react.memo_cache_sentinel") ? (h = {
|
500
|
+
Icon: /* @__PURE__ */ n(mt, {}),
|
501
|
+
sx: J.options.more
|
502
|
+
}, f = {
|
503
503
|
anchorOrigin: {
|
504
504
|
vertical: "bottom",
|
505
505
|
horizontal: "right"
|
@@ -508,167 +508,167 @@ function At(t) {
|
|
508
508
|
vertical: "top",
|
509
509
|
horizontal: "right"
|
510
510
|
}
|
511
|
-
}, e[1] =
|
511
|
+
}, e[1] = h, e[2] = f) : (h = e[1], f = e[2]);
|
512
512
|
let p;
|
513
|
-
return e[3] !== a || e[4] !==
|
514
|
-
|
515
|
-
/* @__PURE__ */ n(
|
516
|
-
/* @__PURE__ */ n(
|
517
|
-
|
518
|
-
}, children:
|
519
|
-
/* @__PURE__ */ n(
|
520
|
-
/* @__PURE__ */ n(
|
521
|
-
|
522
|
-
}, children: /* @__PURE__ */ n(
|
513
|
+
return e[3] !== a || e[4] !== l || e[5] !== s || e[6] !== c ? (p = /* @__PURE__ */ O(j, { children: [
|
514
|
+
u,
|
515
|
+
/* @__PURE__ */ n(Ne, { TriggerProps: h, MenuProps: f, children: (g) => /* @__PURE__ */ O(j, { children: [
|
516
|
+
/* @__PURE__ */ n(ye, { color: "inherit", onClick: () => {
|
517
|
+
l(), g.onClose();
|
518
|
+
}, children: c }),
|
519
|
+
/* @__PURE__ */ n(ce, {}),
|
520
|
+
/* @__PURE__ */ n(ye, { color: "error", onClick: () => {
|
521
|
+
s(), g.onClose();
|
522
|
+
}, children: /* @__PURE__ */ n(F, { variant: "body2", color: "error", children: a }) })
|
523
523
|
] }) })
|
524
|
-
] }), e[3] = a, e[4] =
|
524
|
+
] }), e[3] = a, e[4] = l, e[5] = s, e[6] = c, e[7] = p) : p = e[7], p;
|
525
525
|
}
|
526
|
-
function
|
526
|
+
function It(t) {
|
527
527
|
return t.visible;
|
528
528
|
}
|
529
|
-
function
|
529
|
+
function go({
|
530
530
|
enabled: t,
|
531
531
|
values: e = [],
|
532
|
-
chipProps:
|
532
|
+
chipProps: r,
|
533
533
|
labels: o,
|
534
|
-
modes:
|
535
|
-
modesMapping:
|
536
|
-
modeSelected:
|
534
|
+
modes: l,
|
535
|
+
modesMapping: s,
|
536
|
+
modeSelected: i,
|
537
537
|
BoxProps: {
|
538
|
-
sx:
|
538
|
+
sx: c,
|
539
539
|
...a
|
540
540
|
} = {},
|
541
|
-
onChipToggle:
|
542
|
-
onDelete:
|
543
|
-
onChangeMode:
|
541
|
+
onChipToggle: u,
|
542
|
+
onDelete: h,
|
543
|
+
onChangeMode: f,
|
544
544
|
onAllChipToggle: p,
|
545
545
|
onAllDelete: y
|
546
546
|
}) {
|
547
|
-
const
|
547
|
+
const b = Le(() => Se(l, s), [l, s]), {
|
548
548
|
edit: g,
|
549
|
-
...
|
550
|
-
} =
|
551
|
-
|
552
|
-
},
|
553
|
-
return /* @__PURE__ */
|
554
|
-
...
|
555
|
-
...
|
549
|
+
...C
|
550
|
+
} = b, d = (D) => h(D), m = (D, M) => {
|
551
|
+
D.preventDefault(), f == null || f(M);
|
552
|
+
}, x = (i ?? "") in l ? i : Object.keys(b)[0], w = t ? b[x] : null, A = Object.values(C);
|
553
|
+
return /* @__PURE__ */ O(G, { sx: {
|
554
|
+
...J.container,
|
555
|
+
...c
|
556
556
|
}, ...a, className: "inline", children: [
|
557
|
-
/* @__PURE__ */ n(
|
558
|
-
/* @__PURE__ */ n(
|
559
|
-
!!g && /* @__PURE__ */
|
560
|
-
/* @__PURE__ */ n(
|
561
|
-
/* @__PURE__ */ n(
|
557
|
+
/* @__PURE__ */ n(Rt, { data: A, labels: o == null ? void 0 : o.options, children: /* @__PURE__ */ O(Ve, { value: w == null ? void 0 : w.value, exclusive: !0, className: "inline", sx: J.options.menu, onChange: m, children: [
|
558
|
+
/* @__PURE__ */ n(Pe, { labels: o == null ? void 0 : o.options, data: A }),
|
559
|
+
!!g && /* @__PURE__ */ O(j, { children: [
|
560
|
+
/* @__PURE__ */ n(ce, { orientation: "vertical" }),
|
561
|
+
/* @__PURE__ */ n(Pe, { labels: o == null ? void 0 : o.options, data: [{
|
562
562
|
...g,
|
563
563
|
disabled: !e.length
|
564
564
|
}] })
|
565
565
|
] })
|
566
566
|
] }) }),
|
567
|
-
/* @__PURE__ */ n(
|
568
|
-
/* @__PURE__ */ n(
|
569
|
-
!!e.length && /* @__PURE__ */ n(G, { sx:
|
570
|
-
/* @__PURE__ */ n(
|
567
|
+
/* @__PURE__ */ n(ce, { flexItem: !0 }),
|
568
|
+
/* @__PURE__ */ n(kt, { hasValues: !!e.length, labels: o == null ? void 0 : o.noData }),
|
569
|
+
!!e.length && /* @__PURE__ */ n(G, { sx: J.chip.container, className: "inline", children: e.map((D) => /* @__PURE__ */ n(Fe, { value: D, labels: o == null ? void 0 : o.chip, chipProps: r, onDelete: d, onChipToggle: u }, D.id)) }),
|
570
|
+
/* @__PURE__ */ n(Bt, { values: e, labels: o == null ? void 0 : o.actions, onAllChipToggle: p, onAllDelete: y })
|
571
571
|
] });
|
572
572
|
}
|
573
|
-
function
|
573
|
+
function Rt(t) {
|
574
574
|
var a;
|
575
575
|
const e = R(5), {
|
576
|
-
data:
|
576
|
+
data: r,
|
577
577
|
labels: o,
|
578
|
-
children:
|
578
|
+
children: l
|
579
579
|
} = t;
|
580
|
-
if (
|
580
|
+
if (r.length <= 1)
|
581
581
|
return null;
|
582
|
-
const
|
583
|
-
let
|
584
|
-
e[0] !==
|
585
|
-
let
|
586
|
-
return e[2] !==
|
587
|
-
|
588
|
-
|
589
|
-
] }), e[2] =
|
582
|
+
const s = ((a = o == null ? void 0 : o.mode) == null ? void 0 : a.title) ?? z.options.mode.title;
|
583
|
+
let i;
|
584
|
+
e[0] !== s ? (i = /* @__PURE__ */ n(F, { variant: "subtitle2", color: "text.secondary", sx: J.options.title, className: "inline", children: s }), e[0] = s, e[1] = i) : i = e[1];
|
585
|
+
let c;
|
586
|
+
return e[2] !== l || e[3] !== i ? (c = /* @__PURE__ */ O(j, { children: [
|
587
|
+
i,
|
588
|
+
l
|
589
|
+
] }), e[2] = l, e[3] = i, e[4] = c) : c = e[4], c;
|
590
590
|
}
|
591
|
-
function
|
591
|
+
function Pe({
|
592
592
|
data: t,
|
593
593
|
labels: e
|
594
594
|
}) {
|
595
|
-
return t.map((
|
596
|
-
var
|
597
|
-
const
|
598
|
-
return /* @__PURE__ */ n(
|
595
|
+
return t.map((r) => {
|
596
|
+
var s;
|
597
|
+
const l = (((s = e == null ? void 0 : e.mode) == null ? void 0 : s.options) ?? z.options.mode.options)[r.value];
|
598
|
+
return /* @__PURE__ */ n(ae, { title: l, placement: "bottom", children: /* @__PURE__ */ n(we, { disabled: !!r.disabled, value: r.value, "aria-label": r.value, children: /* @__PURE__ */ n(Oe, { children: /* @__PURE__ */ n(r.icon, {}) }) }) }, r.value);
|
599
599
|
});
|
600
600
|
}
|
601
|
-
function
|
601
|
+
function kt(t) {
|
602
602
|
const e = R(7), {
|
603
|
-
hasValues:
|
603
|
+
hasValues: r,
|
604
604
|
labels: o
|
605
605
|
} = t;
|
606
|
-
if (
|
606
|
+
if (r)
|
607
607
|
return null;
|
608
|
-
const
|
609
|
-
let
|
610
|
-
e[0] !==
|
611
|
-
let
|
612
|
-
e[2] !==
|
608
|
+
const l = (o == null ? void 0 : o.title) ?? z.noData.title, s = (o == null ? void 0 : o.description) ?? z.noData.description;
|
609
|
+
let i;
|
610
|
+
e[0] !== l ? (i = /* @__PURE__ */ n(F, { variant: "body1", color: "textSecondary", children: l }), e[0] = l, e[1] = i) : i = e[1];
|
611
|
+
let c;
|
612
|
+
e[2] !== s ? (c = /* @__PURE__ */ n(F, { variant: "body2", color: "textSecondary", children: s }), e[2] = s, e[3] = c) : c = e[3];
|
613
613
|
let a;
|
614
|
-
return e[4] !==
|
615
|
-
|
616
|
-
|
617
|
-
] }), e[4] =
|
614
|
+
return e[4] !== i || e[5] !== c ? (a = /* @__PURE__ */ O(j, { children: [
|
615
|
+
i,
|
616
|
+
c
|
617
|
+
] }), e[4] = i, e[5] = c, e[6] = a) : a = e[6], a;
|
618
618
|
}
|
619
|
-
function
|
620
|
-
var
|
619
|
+
function Bt(t) {
|
620
|
+
var b, g;
|
621
621
|
const e = R(13), {
|
622
|
-
values:
|
622
|
+
values: r,
|
623
623
|
labels: o,
|
624
|
-
onAllChipToggle:
|
625
|
-
onAllDelete:
|
624
|
+
onAllChipToggle: l,
|
625
|
+
onAllDelete: s
|
626
626
|
} = t;
|
627
|
-
if (
|
627
|
+
if (r.length <= 1)
|
628
628
|
return null;
|
629
|
-
const
|
630
|
-
let h;
|
631
|
-
e[0] !== i ? (h = () => i(), e[0] = i, e[1] = h) : h = e[1];
|
629
|
+
const c = r.some(Et) ? ((b = o == null ? void 0 : o.toggleAll) == null ? void 0 : b.active) ?? z.actions.toggleAll.active : ((g = o == null ? void 0 : o.toggleAll) == null ? void 0 : g.inactive) ?? z.actions.toggleAll.inactive, a = (o == null ? void 0 : o.deleteAll) ?? z.actions.deleteAll;
|
632
630
|
let u;
|
633
|
-
e[
|
634
|
-
let
|
635
|
-
e[
|
631
|
+
e[0] !== l ? (u = () => l(), e[0] = l, e[1] = u) : u = e[1];
|
632
|
+
let h;
|
633
|
+
e[2] !== u || e[3] !== c ? (h = /* @__PURE__ */ n(Te, { color: "inherit", onClick: u, children: c }), e[2] = u, e[3] = c, e[4] = h) : h = e[4];
|
634
|
+
let f;
|
635
|
+
e[5] !== s ? (f = () => s(), e[5] = s, e[6] = f) : f = e[6];
|
636
636
|
let p;
|
637
|
-
e[7] !== a || e[8] !==
|
637
|
+
e[7] !== a || e[8] !== f ? (p = /* @__PURE__ */ n(Te, { color: "error", onClick: f, children: a }), e[7] = a, e[8] = f, e[9] = p) : p = e[9];
|
638
638
|
let y;
|
639
|
-
return e[10] !==
|
640
|
-
|
639
|
+
return e[10] !== h || e[11] !== p ? (y = /* @__PURE__ */ O(G, { children: [
|
640
|
+
h,
|
641
641
|
p
|
642
|
-
] }), e[10] =
|
642
|
+
] }), e[10] = h, e[11] = p, e[12] = y) : y = e[12], y;
|
643
643
|
}
|
644
|
-
function
|
644
|
+
function Et(t) {
|
645
645
|
return t.visible;
|
646
646
|
}
|
647
|
-
function
|
647
|
+
function Pt(t) {
|
648
648
|
const e = R(3);
|
649
|
-
let
|
650
|
-
e[0] === Symbol.for("react.memo_cache_sentinel") ? (
|
649
|
+
let r;
|
650
|
+
e[0] === Symbol.for("react.memo_cache_sentinel") ? (r = /* @__PURE__ */ n("path", { fill: "currentColor", d: "M3 13.5c-.413 0-.766-.147-1.06-.44A1.445 1.445 0 0 1 1.5 12V6c0-.412.147-.766.44-1.06.294-.293.647-.44 1.06-.44h12c.412 0 .766.147 1.06.44.293.294.44.647.44 1.06v6c0 .412-.147.766-.44 1.06-.294.293-.647.44-1.06.44H3ZM3 12h12V6h-2.25v3h-1.5V6h-1.5v3h-1.5V6h-1.5v3h-1.5V6H3v6Z" }), e[0] = r) : r = e[0];
|
651
651
|
let o;
|
652
|
-
return e[1] !== t ? (o = /* @__PURE__ */ n("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 18 18", fill: "currentColor", ...t, children:
|
652
|
+
return e[1] !== t ? (o = /* @__PURE__ */ n("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 18 18", fill: "currentColor", ...t, children: r }), e[1] = t, e[2] = o) : o = e[2], o;
|
653
653
|
}
|
654
|
-
function
|
654
|
+
function $t(t) {
|
655
655
|
const e = R(3);
|
656
|
-
let
|
657
|
-
e[0] === Symbol.for("react.memo_cache_sentinel") ? (
|
656
|
+
let r;
|
657
|
+
e[0] === Symbol.for("react.memo_cache_sentinel") ? (r = /* @__PURE__ */ n("path", { fill: "currentColor", fillRule: "evenodd", d: "M9 1.5a7.5 7.5 0 1 1 0 15 7.5 7.5 0 0 1 0-15ZM9 3a6 6 0 1 0 0 12A6 6 0 0 0 9 3Zm0 4.5a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3Z", clipRule: "evenodd" }), e[0] = r) : r = e[0];
|
658
658
|
let o;
|
659
|
-
return e[1] !== t ? (o = /* @__PURE__ */ n("svg", { fill: "none", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 18 18", ...t, children:
|
659
|
+
return e[1] !== t ? (o = /* @__PURE__ */ n("svg", { fill: "none", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 18 18", ...t, children: r }), e[1] = t, e[2] = o) : o = e[2], o;
|
660
660
|
}
|
661
|
-
function
|
661
|
+
function jt(t) {
|
662
662
|
const e = R(4);
|
663
|
-
let
|
664
|
-
e[0] === Symbol.for("react.memo_cache_sentinel") ? (
|
665
|
-
let
|
666
|
-
return e[2] !== t ? (
|
667
|
-
|
663
|
+
let r, o;
|
664
|
+
e[0] === Symbol.for("react.memo_cache_sentinel") ? (r = /* @__PURE__ */ n("path", { fill: "currentColor", fillRule: "evenodd", d: "M4.5 13.5v-9h9v9h-9Zm.75-8.25h7.5v7.5h-7.5v-7.5Z", clipRule: "evenodd" }), o = /* @__PURE__ */ n("path", { fill: "#2C3032", fillRule: "evenodd", d: "M1.5 3A1.5 1.5 0 0 1 3 1.5h12A1.5 1.5 0 0 1 16.5 3v12a1.5 1.5 0 0 1-1.5 1.5H3A1.5 1.5 0 0 1 1.5 15V3ZM3 3h12v12H3V3Z", clipRule: "evenodd" }), e[0] = r, e[1] = o) : (r = e[0], o = e[1]);
|
665
|
+
let l;
|
666
|
+
return e[2] !== t ? (l = /* @__PURE__ */ O("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 18 18", ...t, children: [
|
667
|
+
r,
|
668
668
|
o
|
669
|
-
] }), e[2] = t, e[3] =
|
669
|
+
] }), e[2] = t, e[3] = l) : l = e[3], l;
|
670
670
|
}
|
671
|
-
const
|
671
|
+
const re = {
|
672
672
|
action: {
|
673
673
|
tooltip: {
|
674
674
|
active: "Click on the map to start measuring",
|
@@ -720,7 +720,7 @@ const K = {
|
|
720
720
|
}
|
721
721
|
}
|
722
722
|
}
|
723
|
-
},
|
723
|
+
}, Zt = {
|
724
724
|
"m-km": {
|
725
725
|
short: "m-km"
|
726
726
|
},
|
@@ -748,17 +748,17 @@ const K = {
|
|
748
748
|
feet: {
|
749
749
|
short: "ft"
|
750
750
|
}
|
751
|
-
},
|
751
|
+
}, Ut = {
|
752
752
|
distance: {
|
753
|
-
icon: /* @__PURE__ */ n(
|
753
|
+
icon: /* @__PURE__ */ n(Pt, {})
|
754
754
|
},
|
755
755
|
buffer: {
|
756
|
-
icon: /* @__PURE__ */ n(
|
756
|
+
icon: /* @__PURE__ */ n($t, {})
|
757
757
|
},
|
758
758
|
area: {
|
759
|
-
icon: /* @__PURE__ */ n(
|
759
|
+
icon: /* @__PURE__ */ n(jt, {})
|
760
760
|
}
|
761
|
-
},
|
761
|
+
}, Q = {
|
762
762
|
container: {
|
763
763
|
display: "flex",
|
764
764
|
flexDirection: "row",
|
@@ -823,7 +823,7 @@ const K = {
|
|
823
823
|
}) => t.primary.main,
|
824
824
|
backgroundColor: ({
|
825
825
|
palette: t
|
826
|
-
}) =>
|
826
|
+
}) => Ye(t.primary.main, 0.08)
|
827
827
|
},
|
828
828
|
modal: {
|
829
829
|
toggle: {
|
@@ -890,280 +890,280 @@ const K = {
|
|
890
890
|
}
|
891
891
|
}
|
892
892
|
};
|
893
|
-
function
|
893
|
+
function vo(t) {
|
894
894
|
const e = R(46), {
|
895
|
-
enabled:
|
895
|
+
enabled: r,
|
896
896
|
actionProps: o,
|
897
|
-
labels:
|
898
|
-
modes:
|
899
|
-
modesMapping:
|
900
|
-
unitsMapping:
|
897
|
+
labels: l,
|
898
|
+
modes: s,
|
899
|
+
modesMapping: i,
|
900
|
+
unitsMapping: c,
|
901
901
|
modeSelected: a,
|
902
|
-
PaperProps:
|
903
|
-
units:
|
904
|
-
unitSelected:
|
902
|
+
PaperProps: u,
|
903
|
+
units: h,
|
904
|
+
unitSelected: f,
|
905
905
|
onActionToggle: p,
|
906
906
|
onChangeMode: y,
|
907
|
-
onChangeUnit:
|
908
|
-
} = t, g =
|
909
|
-
let
|
910
|
-
e[0] !==
|
911
|
-
let v,
|
912
|
-
e[2] !==
|
913
|
-
sx:
|
907
|
+
onChangeUnit: b
|
908
|
+
} = t, g = l === void 0 ? re : l, C = i === void 0 ? Ut : i, d = c === void 0 ? Zt : c;
|
909
|
+
let m;
|
910
|
+
e[0] !== u ? (m = u === void 0 ? {} : u, e[0] = u, e[1] = m) : m = e[1];
|
911
|
+
let v, x;
|
912
|
+
e[2] !== m ? ({
|
913
|
+
sx: x,
|
914
914
|
...v
|
915
|
-
} =
|
916
|
-
let
|
917
|
-
e[5] !== p ? (
|
918
|
-
const
|
919
|
-
let
|
920
|
-
e[7] !==
|
921
|
-
const
|
915
|
+
} = m, e[2] = m, e[3] = v, e[4] = x) : (v = e[3], x = e[4]);
|
916
|
+
let w;
|
917
|
+
e[5] !== p ? (w = (V) => p(!!V), e[5] = p, e[6] = w) : w = e[6];
|
918
|
+
const A = w;
|
919
|
+
let D, M;
|
920
|
+
e[7] !== s || e[8] !== C ? (M = Se(s, C), e[7] = s, e[8] = C, e[9] = M) : M = e[9], D = M;
|
921
|
+
const T = D, S = (a ?? "") in T;
|
922
922
|
let I;
|
923
|
-
e[10] !==
|
924
|
-
const
|
925
|
-
let
|
926
|
-
const
|
923
|
+
e[10] !== T || e[11] !== S || e[12] !== a ? (I = S ? a : Object.keys(T)[0], e[10] = T, e[11] = S, e[12] = a, e[13] = I) : I = e[13];
|
924
|
+
const L = I, _ = T[L];
|
925
|
+
let k;
|
926
|
+
const B = h[L];
|
927
927
|
let E;
|
928
|
-
e[14] !==
|
929
|
-
[
|
930
|
-
}, e[14] =
|
931
|
-
const
|
932
|
-
let
|
933
|
-
if (e[18] !==
|
934
|
-
let
|
935
|
-
e[21] !== d ? (
|
928
|
+
e[14] !== L || e[15] !== B || e[16] !== h ? (E = Object.keys(h).length >= 1 ? h : {
|
929
|
+
[L]: B.slice(0, 1)
|
930
|
+
}, e[14] = L, e[15] = B, e[16] = h, e[17] = E) : E = e[17];
|
931
|
+
const U = E[L];
|
932
|
+
let Z;
|
933
|
+
if (e[18] !== U || e[19] !== d) {
|
934
|
+
let V;
|
935
|
+
e[21] !== d ? (V = (ee) => ({
|
936
936
|
...ee,
|
937
937
|
...d[ee.value]
|
938
|
-
}), e[21] = d, e[22] =
|
938
|
+
}), e[21] = d, e[22] = V) : V = e[22], Z = U.map(V), e[18] = U, e[19] = d, e[20] = Z;
|
939
939
|
} else
|
940
|
-
|
941
|
-
|
942
|
-
const oe =
|
943
|
-
let
|
944
|
-
e[23] !==
|
945
|
-
|
946
|
-
...
|
947
|
-
}, e[23] =
|
948
|
-
const
|
940
|
+
Z = e[20];
|
941
|
+
k = Z;
|
942
|
+
const oe = k;
|
943
|
+
let N;
|
944
|
+
e[23] !== x ? (N = {
|
945
|
+
...Q.container,
|
946
|
+
...x
|
947
|
+
}, e[23] = x, e[24] = N) : N = e[24];
|
948
|
+
const H = g == null ? void 0 : g.action, X = _ == null ? void 0 : _.icon;
|
949
949
|
let q;
|
950
|
-
e[25] !== o || e[26] !==
|
951
|
-
const
|
952
|
-
let
|
953
|
-
e[31] !== oe || e[32] !==
|
954
|
-
let
|
955
|
-
e[39] !== q || e[40] !==
|
950
|
+
e[25] !== o || e[26] !== r || e[27] !== A || e[28] !== H || e[29] !== X ? (q = /* @__PURE__ */ n(Vt, { actionProps: o, labels: H, enabled: r, onActionToggle: A, children: X }), e[25] = o, e[26] = r, e[27] = A, e[28] = H, e[29] = X, e[30] = q) : q = e[30];
|
951
|
+
const ne = g == null ? void 0 : g.options;
|
952
|
+
let P;
|
953
|
+
e[31] !== oe || e[32] !== T || e[33] !== L || e[34] !== y || e[35] !== b || e[36] !== ne || e[37] !== f ? (P = /* @__PURE__ */ n(Gt, { labels: ne, modes: T, modeSelected: L, units: oe, unitSelected: f, onChangeMode: y, onChangeUnit: b }), e[31] = oe, e[32] = T, e[33] = L, e[34] = y, e[35] = b, e[36] = ne, e[37] = f, e[38] = P) : P = e[38];
|
954
|
+
let $;
|
955
|
+
e[39] !== q || e[40] !== P ? ($ = /* @__PURE__ */ O(G, { children: [
|
956
956
|
q,
|
957
|
-
|
958
|
-
] }), e[39] = q, e[40] =
|
959
|
-
let
|
960
|
-
return e[42] !== v || e[43] !==
|
957
|
+
P
|
958
|
+
] }), e[39] = q, e[40] = P, e[41] = $) : $ = e[41];
|
959
|
+
let ie;
|
960
|
+
return e[42] !== v || e[43] !== N || e[44] !== $ ? (ie = /* @__PURE__ */ n(xe, { sx: N, ...v, children: $ }), e[42] = v, e[43] = N, e[44] = $, e[45] = ie) : ie = e[45], ie;
|
961
961
|
}
|
962
|
-
function
|
962
|
+
function Vt(t) {
|
963
963
|
var y;
|
964
964
|
const e = R(12), {
|
965
|
-
actionProps:
|
965
|
+
actionProps: r,
|
966
966
|
labels: o,
|
967
|
-
enabled:
|
968
|
-
children:
|
969
|
-
onActionToggle:
|
970
|
-
} = t,
|
971
|
-
let
|
972
|
-
e[0] !==
|
973
|
-
let
|
974
|
-
e[3] !== a || e[4] !==
|
967
|
+
enabled: l,
|
968
|
+
children: s,
|
969
|
+
onActionToggle: i
|
970
|
+
} = t, c = l ? "active" : "inactive", a = ((y = o == null ? void 0 : o.tooltip) == null ? void 0 : y[c]) ?? re.action.tooltip[c], u = r == null ? void 0 : r.TooltipProps;
|
971
|
+
let h;
|
972
|
+
e[0] !== l || e[1] !== i ? (h = () => i(!l), e[0] = l, e[1] = i, e[2] = h) : h = e[2];
|
973
|
+
let f;
|
974
|
+
e[3] !== a || e[4] !== s || e[5] !== l || e[6] !== h ? (f = /* @__PURE__ */ n(we, { value: "toggle", sx: Q.actions.icon, onClick: h, "aria-label": a, selected: l, children: s }), e[3] = a, e[4] = s, e[5] = l, e[6] = h, e[7] = f) : f = e[7];
|
975
975
|
let p;
|
976
|
-
return e[8] !== a || e[9] !==
|
976
|
+
return e[8] !== a || e[9] !== u || e[10] !== f ? (p = /* @__PURE__ */ n(ae, { title: a, placement: "right", ...u, children: f }), e[8] = a, e[9] = u, e[10] = f, e[11] = p) : p = e[11], p;
|
977
977
|
}
|
978
|
-
function
|
979
|
-
var
|
978
|
+
function Gt(t) {
|
979
|
+
var U, Z, oe, N, H, X, q, ne;
|
980
980
|
const e = R(68), {
|
981
|
-
modes:
|
981
|
+
modes: r,
|
982
982
|
modeSelected: o,
|
983
|
-
units:
|
984
|
-
unitSelected:
|
985
|
-
labels:
|
986
|
-
onChangeMode:
|
983
|
+
units: l,
|
984
|
+
unitSelected: s,
|
985
|
+
labels: i,
|
986
|
+
onChangeMode: c,
|
987
987
|
onChangeUnit: a
|
988
|
-
} = t, [
|
989
|
-
let y,
|
990
|
-
if (e[0] !==
|
991
|
-
|
988
|
+
} = t, [u, h] = le(null), [f, p] = le(!1);
|
989
|
+
let y, b, g, C, d, m, v, x, w, A, D, M, T, S, I, L;
|
990
|
+
if (e[0] !== u || e[1] !== ((U = i == null ? void 0 : i.mode) == null ? void 0 : U.options) || e[2] !== ((Z = i == null ? void 0 : i.mode) == null ? void 0 : Z.title) || e[3] !== ((oe = i == null ? void 0 : i.units) == null ? void 0 : oe.title) || e[4] !== o || e[5] !== r || e[6] !== c || e[7] !== a || e[8] !== s || e[9] !== l) {
|
991
|
+
T = Symbol.for("react.early_return_sentinel");
|
992
992
|
e: {
|
993
|
-
const
|
994
|
-
let
|
995
|
-
if (e[26] !==
|
996
|
-
|
993
|
+
const P = Object.values(r);
|
994
|
+
let $;
|
995
|
+
if (e[26] !== l ? ($ = Object.values(l), e[26] = l, e[27] = $) : $ = e[27], L = $, !(P.length > 1 || L.length > 1)) {
|
996
|
+
T = null;
|
997
997
|
break e;
|
998
998
|
}
|
999
|
-
const
|
999
|
+
const V = !!u;
|
1000
1000
|
let ee;
|
1001
|
-
e[28] === Symbol.for("react.memo_cache_sentinel") ? (ee = (
|
1002
|
-
|
1001
|
+
e[28] === Symbol.for("react.memo_cache_sentinel") ? (ee = (Y) => {
|
1002
|
+
h(Y.currentTarget);
|
1003
1003
|
}, e[28] = ee) : ee = e[28];
|
1004
|
-
const
|
1005
|
-
let
|
1006
|
-
e[29] === Symbol.for("react.memo_cache_sentinel") ? (
|
1007
|
-
|
1008
|
-
}, e[29] =
|
1009
|
-
const
|
1004
|
+
const ge = ee;
|
1005
|
+
let te;
|
1006
|
+
e[29] === Symbol.for("react.memo_cache_sentinel") ? (te = () => {
|
1007
|
+
h(null);
|
1008
|
+
}, e[29] = te) : te = e[29];
|
1009
|
+
const de = te;
|
1010
|
+
let K;
|
1011
|
+
e[30] !== c ? (K = (Y, Re) => {
|
1012
|
+
Y.preventDefault(), c(Re.value), de();
|
1013
|
+
}, e[30] = c, e[31] = K) : K = e[31];
|
1014
|
+
const he = K;
|
1010
1015
|
let fe;
|
1011
|
-
e[
|
1012
|
-
P.preventDefault(), s(De.value), _e();
|
1013
|
-
}, e[30] = s, e[31] = fe) : fe = e[31];
|
1014
|
-
const Fe = fe;
|
1015
|
-
let pe;
|
1016
|
-
e[32] === Symbol.for("react.memo_cache_sentinel") ? (pe = () => {
|
1016
|
+
e[32] === Symbol.for("react.memo_cache_sentinel") ? (fe = () => {
|
1017
1017
|
p(!0);
|
1018
|
-
}, e[32] =
|
1019
|
-
let
|
1020
|
-
e[33] === Symbol.for("react.memo_cache_sentinel") ? (
|
1018
|
+
}, e[32] = fe) : fe = e[32], g = fe;
|
1019
|
+
let me;
|
1020
|
+
e[33] === Symbol.for("react.memo_cache_sentinel") ? (me = () => {
|
1021
1021
|
p(!1);
|
1022
|
-
}, e[33] =
|
1023
|
-
let
|
1024
|
-
e[34] !== a ? (
|
1025
|
-
|
1026
|
-
}, e[34] = a, e[35] =
|
1027
|
-
const
|
1028
|
-
I = ((
|
1029
|
-
let
|
1030
|
-
e[36] !==
|
1022
|
+
}, e[33] = me) : me = e[33], C = me;
|
1023
|
+
let Me;
|
1024
|
+
e[34] !== a ? (Me = (Y) => {
|
1025
|
+
C(), a(Y);
|
1026
|
+
}, e[34] = a, e[35] = Me) : Me = e[35], b = Me;
|
1027
|
+
const He = ((N = i == null ? void 0 : i.mode) == null ? void 0 : N.title) ?? re.options.mode.title;
|
1028
|
+
I = ((H = i == null ? void 0 : i.units) == null ? void 0 : H.title) ?? re.options.units.title, d = P.length > 1 && L.length > 1;
|
1029
|
+
let Ce;
|
1030
|
+
e[36] !== s || e[37] !== l ? (Ce = l.find((Y) => Y.value === s) ?? l[0], e[36] = s, e[37] = l, e[38] = Ce) : Ce = e[38], S = Ce, e[39] === Symbol.for("react.memo_cache_sentinel") ? (M = /* @__PURE__ */ n(se, { sx: Q.options.icon, onClick: ge, children: /* @__PURE__ */ n(Ge, {}) }), e[39] = M) : M = e[39], y = Ze, v = "measurement-menu", x = u, w = V, A = de, e[40] === Symbol.for("react.memo_cache_sentinel") ? (D = {
|
1031
1031
|
"aria-labelledby": "basic-button",
|
1032
|
-
sx:
|
1033
|
-
}, e[40] =
|
1034
|
-
/* @__PURE__ */ n(
|
1035
|
-
|
1036
|
-
var
|
1037
|
-
const
|
1038
|
-
return /* @__PURE__ */
|
1039
|
-
/* @__PURE__ */ n(
|
1040
|
-
/* @__PURE__ */ n(
|
1041
|
-
] },
|
1032
|
+
sx: Q.options.menu
|
1033
|
+
}, e[40] = D) : D = e[40], m = P.length > 1 && /* @__PURE__ */ O(j, { children: [
|
1034
|
+
/* @__PURE__ */ n(F, { variant: "subtitle2", color: "text.secondary", sx: Q.options.title, children: He }),
|
1035
|
+
P.map((Y) => {
|
1036
|
+
var ke;
|
1037
|
+
const Xe = (((ke = i == null ? void 0 : i.mode) == null ? void 0 : ke.options) ?? re.options.mode.options)[Y.value];
|
1038
|
+
return /* @__PURE__ */ O(ye, { onClick: (qe) => he(qe, Y), selected: Y.value === o, children: [
|
1039
|
+
/* @__PURE__ */ n(Ue, { sx: Q.options.icons, children: /* @__PURE__ */ n(Oe, { children: Y.icon }) }),
|
1040
|
+
/* @__PURE__ */ n(be, { children: Xe })
|
1041
|
+
] }, Y.value);
|
1042
1042
|
})
|
1043
1043
|
] });
|
1044
1044
|
}
|
1045
|
-
e[0] =
|
1045
|
+
e[0] = u, e[1] = (X = i == null ? void 0 : i.mode) == null ? void 0 : X.options, e[2] = (q = i == null ? void 0 : i.mode) == null ? void 0 : q.title, e[3] = (ne = i == null ? void 0 : i.units) == null ? void 0 : ne.title, e[4] = o, e[5] = r, e[6] = c, e[7] = a, e[8] = s, e[9] = l, e[10] = y, e[11] = b, e[12] = g, e[13] = C, e[14] = d, e[15] = m, e[16] = v, e[17] = x, e[18] = w, e[19] = A, e[20] = D, e[21] = M, e[22] = T, e[23] = S, e[24] = I, e[25] = L;
|
1046
1046
|
} else
|
1047
|
-
y = e[10],
|
1048
|
-
if (
|
1049
|
-
return
|
1050
|
-
let
|
1051
|
-
e[41] !== d ? (
|
1052
|
-
let Z;
|
1053
|
-
e[43] !== w || e[44] !== g || e[45] !== S || e[46] !== r || e[47] !== m || e[48] !== M || e[49] !== I || e[50] !== i || e[51] !== O.length ? (Z = O.length > 1 && /* @__PURE__ */ D(B, { children: [
|
1054
|
-
/* @__PURE__ */ D(de, { onClick: g, children: [
|
1055
|
-
/* @__PURE__ */ n(ue, { children: I }),
|
1056
|
-
/* @__PURE__ */ n(W, { variant: "caption", fontWeight: 500, sx: $.options.tag, children: M.short })
|
1057
|
-
] }),
|
1058
|
-
/* @__PURE__ */ n(Pt, { open: m, labels: r, units: i, unitSelectedValue: M, onClose: S, onSubmit: w })
|
1059
|
-
] }), e[43] = w, e[44] = g, e[45] = S, e[46] = r, e[47] = m, e[48] = M, e[49] = I, e[50] = i, e[51] = O.length, e[52] = Z) : Z = e[52];
|
1047
|
+
y = e[10], b = e[11], g = e[12], C = e[13], d = e[14], m = e[15], v = e[16], x = e[17], w = e[18], A = e[19], D = e[20], M = e[21], T = e[22], S = e[23], I = e[24], L = e[25];
|
1048
|
+
if (T !== Symbol.for("react.early_return_sentinel"))
|
1049
|
+
return T;
|
1050
|
+
let _;
|
1051
|
+
e[41] !== d ? (_ = d && /* @__PURE__ */ n(ce, {}), e[41] = d, e[42] = _) : _ = e[42];
|
1060
1052
|
let k;
|
1061
|
-
e[
|
1062
|
-
|
1063
|
-
|
1064
|
-
|
1065
|
-
|
1053
|
+
e[43] !== b || e[44] !== g || e[45] !== C || e[46] !== i || e[47] !== f || e[48] !== S || e[49] !== I || e[50] !== l || e[51] !== L.length ? (k = L.length > 1 && /* @__PURE__ */ O(j, { children: [
|
1054
|
+
/* @__PURE__ */ O(ye, { onClick: g, children: [
|
1055
|
+
/* @__PURE__ */ n(be, { children: I }),
|
1056
|
+
/* @__PURE__ */ n(F, { variant: "caption", fontWeight: 500, sx: Q.options.tag, children: S.short })
|
1057
|
+
] }),
|
1058
|
+
/* @__PURE__ */ n(Wt, { open: f, labels: i, units: l, unitSelectedValue: S, onClose: C, onSubmit: b })
|
1059
|
+
] }), e[43] = b, e[44] = g, e[45] = C, e[46] = i, e[47] = f, e[48] = S, e[49] = I, e[50] = l, e[51] = L.length, e[52] = k) : k = e[52];
|
1060
|
+
let B;
|
1061
|
+
e[53] !== m || e[54] !== k || e[55] !== _ ? (B = /* @__PURE__ */ O("div", { children: [
|
1062
|
+
m,
|
1063
|
+
_,
|
1064
|
+
k
|
1065
|
+
] }), e[53] = m, e[54] = k, e[55] = _, e[56] = B) : B = e[56];
|
1066
1066
|
let E;
|
1067
|
-
e[57] !== y || e[58] !==
|
1068
|
-
let
|
1069
|
-
return e[65] !== E || e[66] !==
|
1070
|
-
|
1067
|
+
e[57] !== y || e[58] !== B || e[59] !== v || e[60] !== x || e[61] !== w || e[62] !== A || e[63] !== D ? (E = /* @__PURE__ */ n(y, { id: v, anchorEl: x, open: w, onClose: A, MenuListProps: D, children: B }), e[57] = y, e[58] = B, e[59] = v, e[60] = x, e[61] = w, e[62] = A, e[63] = D, e[64] = E) : E = e[64];
|
1068
|
+
let W;
|
1069
|
+
return e[65] !== E || e[66] !== M ? (W = /* @__PURE__ */ O(j, { children: [
|
1070
|
+
M,
|
1071
1071
|
E
|
1072
|
-
] }), e[65] = E, e[66] =
|
1072
|
+
] }), e[65] = E, e[66] = M, e[67] = W) : W = e[67], W;
|
1073
1073
|
}
|
1074
|
-
function
|
1074
|
+
function Wt({
|
1075
1075
|
open: t,
|
1076
1076
|
labels: e,
|
1077
|
-
units:
|
1077
|
+
units: r,
|
1078
1078
|
unitSelectedValue: o,
|
1079
|
-
onClose:
|
1080
|
-
onSubmit:
|
1079
|
+
onClose: l,
|
1080
|
+
onSubmit: s
|
1081
1081
|
}) {
|
1082
|
-
var
|
1083
|
-
const [
|
1084
|
-
|
1085
|
-
},
|
1086
|
-
return /* @__PURE__ */
|
1082
|
+
var C, d, m, v, x, w, A, D;
|
1083
|
+
const [i, c] = le("metric"), a = Le(() => r.filter((M) => M.system === i), [i, r]), u = (M, T) => {
|
1084
|
+
c(T);
|
1085
|
+
}, h = ((d = (C = e == null ? void 0 : e.units) == null ? void 0 : C.modal) == null ? void 0 : d.options) ?? re.options.units.modal.options, f = h[i].options, p = ((v = (m = e == null ? void 0 : e.units) == null ? void 0 : m.modal) == null ? void 0 : v.title) ?? re.options.units.modal.title, y = ((w = (x = e == null ? void 0 : e.units) == null ? void 0 : x.modal) == null ? void 0 : w.subtitle) ?? re.options.units.modal.subtitle, b = ((D = (A = e == null ? void 0 : e.units) == null ? void 0 : A.modal) == null ? void 0 : D.apply) ?? re.options.units.modal.apply, g = o.system === i ? o : a[0];
|
1086
|
+
return /* @__PURE__ */ O(Qe, { open: t, component: G, onClose: l, maxWidth: "xs", PaperProps: {
|
1087
1087
|
component: "form",
|
1088
|
-
onSubmit: (
|
1089
|
-
|
1090
|
-
const
|
1091
|
-
|
1088
|
+
onSubmit: (M) => {
|
1089
|
+
M.preventDefault();
|
1090
|
+
const T = new FormData(M.currentTarget);
|
1091
|
+
s(T.get("unit-value"));
|
1092
1092
|
}
|
1093
1093
|
}, children: [
|
1094
|
-
/* @__PURE__ */
|
1094
|
+
/* @__PURE__ */ O(Je, { sx: Q.options.modal.title, children: [
|
1095
1095
|
p,
|
1096
|
-
/* @__PURE__ */ n(
|
1096
|
+
/* @__PURE__ */ n(se, { onClick: l, children: /* @__PURE__ */ n(We, {}) })
|
1097
1097
|
] }),
|
1098
|
-
/* @__PURE__ */
|
1099
|
-
/* @__PURE__ */ n(
|
1100
|
-
/* @__PURE__ */
|
1101
|
-
/* @__PURE__ */ n(
|
1102
|
-
/* @__PURE__ */ n(
|
1098
|
+
/* @__PURE__ */ O(et, { sx: Q.options.modal.content, children: [
|
1099
|
+
/* @__PURE__ */ n(F, { sx: Q.options.modal.subtitle, children: y }),
|
1100
|
+
/* @__PURE__ */ O(Ve, { color: "primary", value: i, exclusive: !0, fullWidth: !0, onChange: u, "aria-label": "system", sx: Q.options.modal.toggle, children: [
|
1101
|
+
/* @__PURE__ */ n(we, { value: "metric", children: h.metric.title }),
|
1102
|
+
/* @__PURE__ */ n(we, { value: "imperial", children: h.imperial.title })
|
1103
1103
|
] }),
|
1104
|
-
/* @__PURE__ */ n(
|
1105
|
-
const
|
1106
|
-
return /* @__PURE__ */ n(
|
1104
|
+
/* @__PURE__ */ n(tt, { children: /* @__PURE__ */ n(ot, { "aria-labelledby": "unit-value", defaultValue: g == null ? void 0 : g.value, name: "unit-value", sx: Q.options.modal.optionsGroup, children: a.map((M) => {
|
1105
|
+
const T = f[M.value];
|
1106
|
+
return /* @__PURE__ */ n(nt, { value: M.value, control: /* @__PURE__ */ n(it, {}), label: T }, M.value);
|
1107
1107
|
}) }) }, g == null ? void 0 : g.value)
|
1108
1108
|
] }),
|
1109
|
-
/* @__PURE__ */ n(
|
1109
|
+
/* @__PURE__ */ n(lt, { sx: Q.options.modal.actions, children: /* @__PURE__ */ n(Te, { variant: "contained", type: "submit", children: b }) })
|
1110
1110
|
] });
|
1111
1111
|
}
|
1112
|
-
const
|
1112
|
+
const zt = {
|
1113
1113
|
enabled: "Show your current location",
|
1114
1114
|
disabled: "Location unavailable"
|
1115
|
-
},
|
1116
|
-
function
|
1115
|
+
}, Ft = "geolocation";
|
1116
|
+
function yo(t) {
|
1117
1117
|
const e = R(25), {
|
1118
|
-
disabled:
|
1118
|
+
disabled: r,
|
1119
1119
|
labels: o,
|
1120
|
-
PaperProps:
|
1121
|
-
TooltipProps:
|
1122
|
-
watch:
|
1123
|
-
onChange:
|
1120
|
+
PaperProps: l,
|
1121
|
+
TooltipProps: s,
|
1122
|
+
watch: i,
|
1123
|
+
onChange: c,
|
1124
1124
|
onError: a
|
1125
|
-
} = t,
|
1126
|
-
let y,
|
1127
|
-
e[0] !== a ? (y = () => (
|
1125
|
+
} = t, u = ze(null), h = "geolocation" in navigator, [f, p] = le(h);
|
1126
|
+
let y, b;
|
1127
|
+
e[0] !== a ? (y = () => (h && navigator.permissions.query({
|
1128
1128
|
name: "geolocation"
|
1129
|
-
}).then((
|
1130
|
-
p(
|
1131
|
-
p(
|
1129
|
+
}).then((_) => {
|
1130
|
+
p(_.state === "granted"), _.onchange = () => {
|
1131
|
+
p(_.state === "granted");
|
1132
1132
|
};
|
1133
|
-
}).catch((
|
1134
|
-
p(!1), a == null || a(
|
1133
|
+
}).catch((_) => {
|
1134
|
+
p(!1), a == null || a(_);
|
1135
1135
|
}), () => {
|
1136
|
-
|
1137
|
-
}),
|
1136
|
+
u.current && navigator.geolocation.clearWatch(u.current);
|
1137
|
+
}), b = [h, a], e[0] = a, e[1] = y, e[2] = b) : (y = e[1], b = e[2]), Ie(y, b);
|
1138
1138
|
let g;
|
1139
|
-
e[3] !==
|
1140
|
-
|
1141
|
-
}, e[3] =
|
1142
|
-
const
|
1139
|
+
e[3] !== c ? (g = (_) => {
|
1140
|
+
c(_.coords);
|
1141
|
+
}, e[3] = c, e[4] = g) : g = e[4];
|
1142
|
+
const C = g;
|
1143
1143
|
let d;
|
1144
|
-
e[5] !== a ? (d = (
|
1145
|
-
p(!1), a == null || a(
|
1144
|
+
e[5] !== a ? (d = (_) => {
|
1145
|
+
p(!1), a == null || a(_);
|
1146
1146
|
}, e[5] = a, e[6] = d) : d = e[6];
|
1147
|
-
const
|
1147
|
+
const m = d;
|
1148
1148
|
let v;
|
1149
|
-
e[7] !==
|
1150
|
-
if (
|
1151
|
-
|
1149
|
+
e[7] !== m || e[8] !== C || e[9] !== i ? (v = () => {
|
1150
|
+
if (u.current && navigator.geolocation.clearWatch(u.current), i) {
|
1151
|
+
u.current = navigator.geolocation.watchPosition(C, m);
|
1152
1152
|
return;
|
1153
1153
|
}
|
1154
|
-
navigator.geolocation.getCurrentPosition(
|
1155
|
-
}, e[7] =
|
1156
|
-
const
|
1157
|
-
let
|
1158
|
-
e[11] !==
|
1159
|
-
let
|
1160
|
-
e[13] !==
|
1154
|
+
navigator.geolocation.getCurrentPosition(C, m);
|
1155
|
+
}, e[7] = m, e[8] = C, e[9] = i, e[10] = v) : v = e[10];
|
1156
|
+
const x = v, A = ((o == null ? void 0 : o.tooltip) ?? zt)[f ? "enabled" : "disabled"], D = (o == null ? void 0 : o.ariaLabel) ?? Ft, M = !h || r;
|
1157
|
+
let T;
|
1158
|
+
e[11] !== f ? (T = f ? /* @__PURE__ */ n(pt, {}) : /* @__PURE__ */ n(gt, {}), e[11] = f, e[12] = T) : T = e[12];
|
1159
|
+
let S;
|
1160
|
+
e[13] !== x || e[14] !== D || e[15] !== M || e[16] !== T ? (S = /* @__PURE__ */ n(se, { onClick: x, "aria-label": D, disabled: M, children: T }), e[13] = x, e[14] = D, e[15] = M, e[16] = T, e[17] = S) : S = e[17];
|
1161
1161
|
let I;
|
1162
|
-
e[18] !==
|
1163
|
-
let
|
1164
|
-
return e[22] !==
|
1162
|
+
e[18] !== s || e[19] !== S || e[20] !== A ? (I = /* @__PURE__ */ n(ae, { arrow: !0, placement: "right", title: A, ...s, children: S }), e[18] = s, e[19] = S, e[20] = A, e[21] = I) : I = e[21];
|
1163
|
+
let L;
|
1164
|
+
return e[22] !== l || e[23] !== I ? (L = /* @__PURE__ */ n(xe, { ...l, children: I }), e[22] = l, e[23] = I, e[24] = L) : L = e[24], L;
|
1165
1165
|
}
|
1166
|
-
const
|
1166
|
+
const De = {
|
1167
1167
|
zoom: {
|
1168
1168
|
position: "relative",
|
1169
1169
|
height: ({
|
@@ -1195,177 +1195,177 @@ const Se = {
|
|
1195
1195
|
position: "absolute"
|
1196
1196
|
}
|
1197
1197
|
};
|
1198
|
-
function
|
1198
|
+
function bo(t) {
|
1199
1199
|
const e = R(40), {
|
1200
|
-
zoom:
|
1200
|
+
zoom: r,
|
1201
1201
|
disabled: o,
|
1202
|
-
direction:
|
1203
|
-
isLoading:
|
1204
|
-
maxZoom:
|
1205
|
-
minZoom:
|
1202
|
+
direction: l,
|
1203
|
+
isLoading: s,
|
1204
|
+
maxZoom: i,
|
1205
|
+
minZoom: c,
|
1206
1206
|
PaperProps: a,
|
1207
|
-
ResetViewProps:
|
1208
|
-
showZoom:
|
1209
|
-
onChange:
|
1207
|
+
ResetViewProps: u,
|
1208
|
+
showZoom: h,
|
1209
|
+
onChange: f,
|
1210
1210
|
onReset: p
|
1211
|
-
} = t, y =
|
1212
|
-
let
|
1213
|
-
e[0] !==
|
1214
|
-
Icon:
|
1215
|
-
} :
|
1216
|
-
const d =
|
1211
|
+
} = t, y = l === void 0 ? "vertical" : l, b = i === void 0 ? 24 : i, g = c === void 0 ? 0 : c;
|
1212
|
+
let C;
|
1213
|
+
e[0] !== u ? (C = u === void 0 ? {
|
1214
|
+
Icon: vt
|
1215
|
+
} : u, e[0] = u, e[1] = C) : C = e[1];
|
1216
|
+
const d = C, m = h === void 0 ? !0 : h;
|
1217
1217
|
let v;
|
1218
|
-
e[2] !==
|
1219
|
-
const
|
1220
|
-
|
1221
|
-
}, e[2] =
|
1222
|
-
const
|
1223
|
-
let
|
1224
|
-
e[6] !== g || e[7] !==
|
1225
|
-
const
|
1226
|
-
|
1227
|
-
}, e[6] = g, e[7] =
|
1228
|
-
const
|
1229
|
-
let
|
1230
|
-
e[10] !==
|
1231
|
-
...
|
1232
|
-
flexDirection:
|
1233
|
-
}, e[10] =
|
1218
|
+
e[2] !== b || e[3] !== f || e[4] !== r ? (v = () => {
|
1219
|
+
const Z = Math.min(b, r + 1);
|
1220
|
+
f(Z);
|
1221
|
+
}, e[2] = b, e[3] = f, e[4] = r, e[5] = v) : v = e[5];
|
1222
|
+
const x = v;
|
1223
|
+
let w;
|
1224
|
+
e[6] !== g || e[7] !== f || e[8] !== r ? (w = () => {
|
1225
|
+
const Z = Math.max(g, r - 1);
|
1226
|
+
f(Z);
|
1227
|
+
}, e[6] = g, e[7] = f, e[8] = r, e[9] = w) : w = e[9];
|
1228
|
+
const A = w, D = Math.floor(r), M = y === "vertical" ? "horizontal" : "vertical", T = y === "vertical" ? "column" : "row";
|
1229
|
+
let S;
|
1230
|
+
e[10] !== T ? (S = {
|
1231
|
+
...De.paper,
|
1232
|
+
flexDirection: T
|
1233
|
+
}, e[10] = T, e[11] = S) : S = e[11];
|
1234
1234
|
let I;
|
1235
|
-
e[12] !== d || e[13] !== o || e[14] !==
|
1236
|
-
/* @__PURE__ */ n(
|
1237
|
-
/* @__PURE__ */ n(
|
1238
|
-
] }), e[12] = d, e[13] = o, e[14] =
|
1239
|
-
let
|
1240
|
-
e[17] === Symbol.for("react.memo_cache_sentinel") ? (
|
1241
|
-
let
|
1242
|
-
e[18] !== o || e[19] !==
|
1243
|
-
let Z;
|
1244
|
-
e[21] !== b ? (Z = /* @__PURE__ */ n(Y, { orientation: b, flexItem: !0 }), e[21] = b, e[22] = Z) : Z = e[22];
|
1235
|
+
e[12] !== d || e[13] !== o || e[14] !== M || e[15] !== p ? (I = p && /* @__PURE__ */ O(j, { children: [
|
1236
|
+
/* @__PURE__ */ n(se, { onClick: p, "aria-label": "Reset action", disabled: o, children: /* @__PURE__ */ n(d.Icon, {}) }),
|
1237
|
+
/* @__PURE__ */ n(ce, { orientation: M, flexItem: !0 })
|
1238
|
+
] }), e[12] = d, e[13] = o, e[14] = M, e[15] = p, e[16] = I) : I = e[16];
|
1239
|
+
let L;
|
1240
|
+
e[17] === Symbol.for("react.memo_cache_sentinel") ? (L = /* @__PURE__ */ n(yt, {}), e[17] = L) : L = e[17];
|
1241
|
+
let _;
|
1242
|
+
e[18] !== o || e[19] !== x ? (_ = /* @__PURE__ */ n(se, { onClick: x, "aria-label": "Increase zoom", disabled: o, children: L }), e[18] = o, e[19] = x, e[20] = _) : _ = e[20];
|
1245
1243
|
let k;
|
1246
|
-
e[
|
1247
|
-
|
1248
|
-
|
1249
|
-
|
1244
|
+
e[21] !== M ? (k = /* @__PURE__ */ n(ce, { orientation: M, flexItem: !0 }), e[21] = M, e[22] = k) : k = e[22];
|
1245
|
+
let B;
|
1246
|
+
e[23] !== D || e[24] !== M || e[25] !== s || e[26] !== m ? (B = m && /* @__PURE__ */ O(j, { children: [
|
1247
|
+
/* @__PURE__ */ O(G, { sx: De.zoom, children: [
|
1248
|
+
/* @__PURE__ */ n(F, { display: "block", align: "center", color: "textSecondary", variant: "overline", children: D }),
|
1249
|
+
s && /* @__PURE__ */ n(rt, { sx: De.circularProgress, variant: "indeterminate", size: 24 })
|
1250
1250
|
] }),
|
1251
|
-
/* @__PURE__ */ n(
|
1252
|
-
] }), e[23] =
|
1251
|
+
/* @__PURE__ */ n(ce, { orientation: M, flexItem: !0 })
|
1252
|
+
] }), e[23] = D, e[24] = M, e[25] = s, e[26] = m, e[27] = B) : B = e[27];
|
1253
1253
|
let E;
|
1254
|
-
e[28] === Symbol.for("react.memo_cache_sentinel") ? (E = /* @__PURE__ */ n(
|
1255
|
-
let
|
1256
|
-
e[29] !==
|
1257
|
-
let
|
1258
|
-
return e[32] !== a || e[33] !==
|
1254
|
+
e[28] === Symbol.for("react.memo_cache_sentinel") ? (E = /* @__PURE__ */ n(bt, {}), e[28] = E) : E = e[28];
|
1255
|
+
let W;
|
1256
|
+
e[29] !== A || e[30] !== o ? (W = /* @__PURE__ */ n(se, { onClick: A, "aria-label": "Decrease zoom", disabled: o, children: E }), e[29] = A, e[30] = o, e[31] = W) : W = e[31];
|
1257
|
+
let U;
|
1258
|
+
return e[32] !== a || e[33] !== S || e[34] !== I || e[35] !== _ || e[36] !== k || e[37] !== B || e[38] !== W ? (U = /* @__PURE__ */ O(xe, { sx: S, ...a, children: [
|
1259
1259
|
I,
|
1260
|
-
|
1261
|
-
Z,
|
1260
|
+
_,
|
1262
1261
|
k,
|
1263
|
-
|
1264
|
-
|
1262
|
+
B,
|
1263
|
+
W
|
1264
|
+
] }), e[32] = a, e[33] = S, e[34] = I, e[35] = _, e[36] = k, e[37] = B, e[38] = W, e[39] = U) : U = e[39], U;
|
1265
1265
|
}
|
1266
|
-
function
|
1266
|
+
function Nt(t) {
|
1267
1267
|
const e = R(4), {
|
1268
|
-
length:
|
1269
|
-
} = t, o =
|
1270
|
-
let
|
1271
|
-
e[0] !== o ? (
|
1272
|
-
let
|
1273
|
-
return e[2] !==
|
1268
|
+
length: r
|
1269
|
+
} = t, o = r === void 0 ? 5 : r;
|
1270
|
+
let l;
|
1271
|
+
e[0] !== o ? (l = new Array(o).fill(null).map(Ht), e[0] = o, e[1] = l) : l = e[1];
|
1272
|
+
let s;
|
1273
|
+
return e[2] !== l ? (s = /* @__PURE__ */ n(G, { "aria-label": "List Data skeleton", children: l }), e[2] = l, e[3] = s) : s = e[3], s;
|
1274
1274
|
}
|
1275
|
-
function
|
1276
|
-
return /* @__PURE__ */
|
1277
|
-
/* @__PURE__ */
|
1278
|
-
/* @__PURE__ */ n(
|
1279
|
-
/* @__PURE__ */ n(
|
1275
|
+
function Ht(t, e) {
|
1276
|
+
return /* @__PURE__ */ O(ve, { container: !0, spacing: 1, children: [
|
1277
|
+
/* @__PURE__ */ O(ve, { container: !0, item: !0, direction: "row", justifyContent: "space-between", alignItems: "center", children: [
|
1278
|
+
/* @__PURE__ */ n(_e, { width: Yt(e) ? 72 : 48, height: 20 }),
|
1279
|
+
/* @__PURE__ */ n(_e, { width: 48, height: 8 })
|
1280
1280
|
] }),
|
1281
|
-
/* @__PURE__ */ n(
|
1282
|
-
height:
|
1283
|
-
marginTop:
|
1284
|
-
marginBottom:
|
1281
|
+
/* @__PURE__ */ n(_e, { sx: {
|
1282
|
+
height: Kt,
|
1283
|
+
marginTop: qt,
|
1284
|
+
marginBottom: Xt,
|
1285
1285
|
width: "100%"
|
1286
1286
|
} })
|
1287
1287
|
] }, e);
|
1288
1288
|
}
|
1289
|
-
function
|
1289
|
+
function Xt(t) {
|
1290
1290
|
const {
|
1291
1291
|
spacing: e
|
1292
1292
|
} = t;
|
1293
1293
|
return e(1.75);
|
1294
1294
|
}
|
1295
|
-
function
|
1295
|
+
function qt(t) {
|
1296
1296
|
const {
|
1297
1297
|
spacing: e
|
1298
1298
|
} = t;
|
1299
1299
|
return e(1.25);
|
1300
1300
|
}
|
1301
|
-
function
|
1301
|
+
function Kt(t) {
|
1302
1302
|
const {
|
1303
1303
|
spacing: e
|
1304
1304
|
} = t;
|
1305
1305
|
return e(0.5);
|
1306
1306
|
}
|
1307
|
-
function
|
1307
|
+
function Yt(t) {
|
1308
1308
|
return t % 2 === 1;
|
1309
1309
|
}
|
1310
|
-
function
|
1310
|
+
function Qt(t) {
|
1311
1311
|
const e = R(13), {
|
1312
|
-
title:
|
1312
|
+
title: r,
|
1313
1313
|
body: o,
|
1314
|
-
severity:
|
1315
|
-
} = t,
|
1316
|
-
if (
|
1317
|
-
let
|
1318
|
-
e[0] !==
|
1319
|
-
let
|
1320
|
-
return e[2] !==
|
1314
|
+
severity: l
|
1315
|
+
} = t, s = r === void 0 ? "No data available" : r, i = o === void 0 ? "There are no results for the combination of filters applied to your data. Try tweaking your filters, or zoom and pan the map to adjust the Map View." : o;
|
1316
|
+
if (l) {
|
1317
|
+
let h;
|
1318
|
+
e[0] !== i ? (h = /* @__PURE__ */ n($e, { children: i }), e[0] = i, e[1] = h) : h = e[1];
|
1319
|
+
let f;
|
1320
|
+
return e[2] !== l || e[3] !== h || e[4] !== s ? (f = /* @__PURE__ */ n(ct, { title: s, severity: l, children: h }), e[2] = l, e[3] = h, e[4] = s, e[5] = f) : f = e[5], f;
|
1321
1321
|
}
|
1322
|
-
let
|
1323
|
-
e[6] !==
|
1322
|
+
let c;
|
1323
|
+
e[6] !== s ? (c = s && /* @__PURE__ */ n(F, { variant: "body2", children: s }), e[6] = s, e[7] = c) : c = e[7];
|
1324
1324
|
let a;
|
1325
|
-
e[8] !==
|
1326
|
-
let
|
1327
|
-
return e[10] !==
|
1328
|
-
|
1325
|
+
e[8] !== i ? (a = /* @__PURE__ */ n($e, { color: "textSecondary", children: i }), e[8] = i, e[9] = a) : a = e[9];
|
1326
|
+
let u;
|
1327
|
+
return e[10] !== c || e[11] !== a ? (u = /* @__PURE__ */ O(G, { children: [
|
1328
|
+
c,
|
1329
1329
|
a
|
1330
|
-
] }), e[10] =
|
1330
|
+
] }), e[10] = c, e[11] = a, e[12] = u) : u = e[12], u;
|
1331
1331
|
}
|
1332
|
-
function
|
1332
|
+
function $e(t) {
|
1333
1333
|
const e = R(5), {
|
1334
|
-
color:
|
1334
|
+
color: r,
|
1335
1335
|
children: o
|
1336
1336
|
} = t;
|
1337
1337
|
if (o) {
|
1338
|
-
const
|
1339
|
-
let
|
1340
|
-
e[0] === Symbol.for("react.memo_cache_sentinel") ? (
|
1338
|
+
const s = r ?? "inherit";
|
1339
|
+
let i;
|
1340
|
+
e[0] === Symbol.for("react.memo_cache_sentinel") ? (i = {
|
1341
1341
|
fontWeight: "normal"
|
1342
|
-
}, e[0] =
|
1343
|
-
let
|
1344
|
-
return e[1] !== o || e[2] !==
|
1342
|
+
}, e[0] = i) : i = e[0];
|
1343
|
+
let c;
|
1344
|
+
return e[1] !== o || e[2] !== s ? (c = /* @__PURE__ */ n(G, { mt: 0.5, children: /* @__PURE__ */ n(F, { component: "div", variant: "caption", color: s, style: i, children: o }) }), e[1] = o, e[2] = s, e[3] = c) : c = e[3], c;
|
1345
1345
|
}
|
1346
|
-
let
|
1347
|
-
return e[4] === Symbol.for("react.memo_cache_sentinel") ? (
|
1346
|
+
let l;
|
1347
|
+
return e[4] === Symbol.for("react.memo_cache_sentinel") ? (l = /* @__PURE__ */ n(G, { mt: -1 }), e[4] = l) : l = e[4], l;
|
1348
1348
|
}
|
1349
|
-
function
|
1350
|
-
const e = R(4), [
|
1351
|
-
let
|
1352
|
-
return e[0] !==
|
1353
|
-
t && !
|
1354
|
-
},
|
1349
|
+
function Jt(t) {
|
1350
|
+
const e = R(4), [r, o] = le(!1), [l, s] = le(!1);
|
1351
|
+
let i, c;
|
1352
|
+
return e[0] !== l || e[1] !== t ? (i = () => {
|
1353
|
+
t && !l && (o(!0), s(!0)), t || o(!1);
|
1354
|
+
}, c = [t, l], e[0] = l, e[1] = t, e[2] = i, e[3] = c) : (i = e[2], c = e[3]), Ie(i, c), r;
|
1355
1355
|
}
|
1356
|
-
const
|
1356
|
+
const je = {
|
1357
1357
|
overflow: "hidden",
|
1358
1358
|
textOverflow: "ellipsis",
|
1359
1359
|
whiteSpace: "nowrap"
|
1360
|
-
},
|
1360
|
+
}, pe = {
|
1361
1361
|
label: {
|
1362
1362
|
"& .MuiListItemText-primary": {
|
1363
|
-
...
|
1363
|
+
...je
|
1364
1364
|
}
|
1365
1365
|
},
|
1366
1366
|
value: {
|
1367
1367
|
"& .MuiListItemText-primary": {
|
1368
|
-
...
|
1368
|
+
...je,
|
1369
1369
|
textAlign: "right"
|
1370
1370
|
}
|
1371
1371
|
},
|
@@ -1391,86 +1391,382 @@ const ke = {
|
|
1391
1391
|
opacity: 0.5,
|
1392
1392
|
pointerEvents: "none"
|
1393
1393
|
}
|
1394
|
-
},
|
1394
|
+
}, eo = {
|
1395
1395
|
showMore: "Show More",
|
1396
1396
|
showLess: "Show Less"
|
1397
1397
|
};
|
1398
|
-
function
|
1398
|
+
function wo(t) {
|
1399
1399
|
const e = R(34), {
|
1400
|
-
data:
|
1400
|
+
data: r,
|
1401
1401
|
isLoading: o,
|
1402
|
-
maxItems:
|
1403
|
-
labels:
|
1404
|
-
showDivider:
|
1405
|
-
selectedItemId:
|
1402
|
+
maxItems: l,
|
1403
|
+
labels: s,
|
1404
|
+
showDivider: i,
|
1405
|
+
selectedItemId: c,
|
1406
1406
|
tooltipProps: a,
|
1407
|
-
onExpand:
|
1408
|
-
onItemClick:
|
1407
|
+
onExpand: u,
|
1408
|
+
onItemClick: h
|
1409
1409
|
} = t;
|
1410
|
-
let
|
1411
|
-
e[0] !==
|
1412
|
-
const p =
|
1413
|
-
let
|
1414
|
-
e[2] !== p || e[3] !==
|
1415
|
-
const
|
1416
|
-
let
|
1417
|
-
e[6] !==
|
1418
|
-
|
1419
|
-
}, e[6] =
|
1420
|
-
const
|
1410
|
+
let f;
|
1411
|
+
e[0] !== r ? (f = r === void 0 ? [] : r, e[0] = r, e[1] = f) : f = e[1];
|
1412
|
+
const p = f, y = o === void 0 ? !1 : o, b = l === void 0 ? 5 : l, g = s === void 0 ? eo : s, C = i === void 0 ? !0 : i, [d, m] = le(!1), v = Jt(y);
|
1413
|
+
let x, w;
|
1414
|
+
e[2] !== p || e[3] !== b || e[4] !== d ? (w = d ? p : p.slice(0, b), e[2] = p, e[3] = b, e[4] = d, e[5] = w) : w = e[5], x = w;
|
1415
|
+
const A = x;
|
1416
|
+
let D;
|
1417
|
+
e[6] !== u || e[7] !== d ? (D = () => {
|
1418
|
+
m(!d), u == null || u(d);
|
1419
|
+
}, e[6] = u, e[7] = d, e[8] = D) : D = e[8];
|
1420
|
+
const M = D;
|
1421
1421
|
if (v) {
|
1422
|
-
let
|
1423
|
-
return e[9] !==
|
1422
|
+
let _;
|
1423
|
+
return e[9] !== b ? (_ = /* @__PURE__ */ n(Nt, { length: b }), e[9] = b, e[10] = _) : _ = e[10], _;
|
1424
1424
|
}
|
1425
|
-
if (
|
1426
|
-
let
|
1427
|
-
return e[11] === Symbol.for("react.memo_cache_sentinel") ? (
|
1425
|
+
if (A.length === 0) {
|
1426
|
+
let _;
|
1427
|
+
return e[11] === Symbol.for("react.memo_cache_sentinel") ? (_ = /* @__PURE__ */ n(Qt, {}), e[11] = _) : _ = e[11], _;
|
1428
1428
|
}
|
1429
|
-
let
|
1430
|
-
if (e[12] !==
|
1431
|
-
let
|
1432
|
-
e[18] !==
|
1433
|
-
...
|
1434
|
-
...
|
1435
|
-
...
|
1436
|
-
...
|
1429
|
+
let T;
|
1430
|
+
if (e[12] !== A || e[13] !== h || e[14] !== c || e[15] !== C || e[16] !== a) {
|
1431
|
+
let _;
|
1432
|
+
e[18] !== h || e[19] !== c || e[20] !== C || e[21] !== a ? (_ = (k, B) => /* @__PURE__ */ n(ae, { followCursor: !1, placement: "top", arrow: !0, title: k.tooltipTitle, enterDelay: 10, ...a, children: /* @__PURE__ */ n(st, { role: "listitem", sx: {
|
1433
|
+
...C && pe.showDivider,
|
1434
|
+
...h && pe.clickable,
|
1435
|
+
...c === k.id && pe.selected,
|
1436
|
+
...k.disabled && pe.disabled
|
1437
1437
|
}, onClick: () => {
|
1438
|
-
|
1439
|
-
}, children: /* @__PURE__ */
|
1440
|
-
/* @__PURE__ */ n(
|
1441
|
-
/* @__PURE__ */ n(
|
1442
|
-
] }) }) }, `list-item-${
|
1438
|
+
k.disabled || h == null || h(k);
|
1439
|
+
}, children: /* @__PURE__ */ O(ve, { container: !0, alignItems: "center", children: [
|
1440
|
+
/* @__PURE__ */ n(ve, { item: !0, xs: 8, children: /* @__PURE__ */ n(be, { primary: k.label, sx: pe.label }) }),
|
1441
|
+
/* @__PURE__ */ n(ve, { item: !0, xs: 4, children: /* @__PURE__ */ n(be, { primary: k.value, sx: pe.value }) })
|
1442
|
+
] }) }) }, `list-item-${B}`), e[18] = h, e[19] = c, e[20] = C, e[21] = a, e[22] = _) : _ = e[22], T = A.map(_), e[12] = A, e[13] = h, e[14] = c, e[15] = C, e[16] = a, e[17] = T;
|
1443
1443
|
} else
|
1444
|
-
|
1445
|
-
let
|
1446
|
-
e[23] !==
|
1444
|
+
T = e[17];
|
1445
|
+
let S;
|
1446
|
+
e[23] !== T ? (S = /* @__PURE__ */ n(at, { id: "expandable-list", role: "list", children: T }), e[23] = T, e[24] = S) : S = e[24];
|
1447
1447
|
let I;
|
1448
|
-
e[25] !== p.length || e[26] !==
|
1449
|
-
let
|
1450
|
-
return e[31] !==
|
1451
|
-
|
1448
|
+
e[25] !== p.length || e[26] !== M || e[27] !== g || e[28] !== b || e[29] !== d ? (I = p.length > b && /* @__PURE__ */ n(G, { my: 2, children: /* @__PURE__ */ n(Te, { onClick: M, variant: "text", color: "primary", "aria-expanded": d, "aria-controls": "expandable-list", children: d ? g.showLess : g.showMore }) }), e[25] = p.length, e[26] = M, e[27] = g, e[28] = b, e[29] = d, e[30] = I) : I = e[30];
|
1449
|
+
let L;
|
1450
|
+
return e[31] !== S || e[32] !== I ? (L = /* @__PURE__ */ O(j, { children: [
|
1451
|
+
S,
|
1452
1452
|
I
|
1453
|
-
] }), e[31] =
|
1453
|
+
] }), e[31] = S, e[32] = I, e[33] = L) : L = e[33], L;
|
1454
|
+
}
|
1455
|
+
const to = 288, ue = {
|
1456
|
+
root: {
|
1457
|
+
width: to,
|
1458
|
+
overflow: "auto"
|
1459
|
+
},
|
1460
|
+
toggle: {
|
1461
|
+
padding: ({
|
1462
|
+
spacing: t
|
1463
|
+
}) => t(0.5),
|
1464
|
+
img: {
|
1465
|
+
width: "100%",
|
1466
|
+
aspectRatio: "1 / 1",
|
1467
|
+
borderRadius: ({
|
1468
|
+
spacing: t
|
1469
|
+
}) => t(0.25)
|
1470
|
+
}
|
1471
|
+
},
|
1472
|
+
header: {
|
1473
|
+
display: "flex",
|
1474
|
+
alignItems: "center",
|
1475
|
+
justifyContent: "space-between",
|
1476
|
+
padding: ({
|
1477
|
+
spacing: t
|
1478
|
+
}) => t(1),
|
1479
|
+
paddingInlineStart: ({
|
1480
|
+
spacing: t
|
1481
|
+
}) => t(2),
|
1482
|
+
position: "sticky",
|
1483
|
+
top: 0,
|
1484
|
+
zIndex: 2,
|
1485
|
+
background: ({
|
1486
|
+
palette: t
|
1487
|
+
}) => t.background.paper
|
1488
|
+
},
|
1489
|
+
groupWrapper: {
|
1490
|
+
content: {
|
1491
|
+
paddingInline: ({
|
1492
|
+
spacing: t
|
1493
|
+
}) => t(2),
|
1494
|
+
paddingBlock: ({
|
1495
|
+
spacing: t
|
1496
|
+
}) => t(0.5)
|
1497
|
+
}
|
1498
|
+
},
|
1499
|
+
group: {
|
1500
|
+
display: "flex",
|
1501
|
+
flexDirection: "row",
|
1502
|
+
flexWrap: "wrap",
|
1503
|
+
justifyContent: "space-between",
|
1504
|
+
alignItems: "center",
|
1505
|
+
gap: ({
|
1506
|
+
spacing: t
|
1507
|
+
}) => t(2),
|
1508
|
+
paddingInline: ({
|
1509
|
+
spacing: t
|
1510
|
+
}) => t(2),
|
1511
|
+
paddingBlock: ({
|
1512
|
+
spacing: t
|
1513
|
+
}) => t(1)
|
1514
|
+
},
|
1515
|
+
item: {
|
1516
|
+
container: {
|
1517
|
+
display: "flex",
|
1518
|
+
alignItems: "center",
|
1519
|
+
flexDirection: "column",
|
1520
|
+
gap: ({
|
1521
|
+
spacing: t
|
1522
|
+
}) => t(1),
|
1523
|
+
background: "transparent",
|
1524
|
+
border: "none",
|
1525
|
+
cursor: "pointer",
|
1526
|
+
padding: 0,
|
1527
|
+
height: ({
|
1528
|
+
spacing: t
|
1529
|
+
}) => t(12),
|
1530
|
+
img: {
|
1531
|
+
maxWidth: ({
|
1532
|
+
spacing: t
|
1533
|
+
}) => t(9),
|
1534
|
+
aspectRatio: "1 / 1",
|
1535
|
+
borderRadius: ({
|
1536
|
+
spacing: t
|
1537
|
+
}) => t(0.5),
|
1538
|
+
border: "2px solid transparent",
|
1539
|
+
"&:hover": {
|
1540
|
+
borderColor: ({
|
1541
|
+
palette: t
|
1542
|
+
}) => t.action.active
|
1543
|
+
},
|
1544
|
+
'&[data-active="true"]': {
|
1545
|
+
borderColor: ({
|
1546
|
+
palette: t
|
1547
|
+
}) => t.primary.main
|
1548
|
+
}
|
1549
|
+
}
|
1550
|
+
},
|
1551
|
+
selected: {
|
1552
|
+
color: ({
|
1553
|
+
palette: t
|
1554
|
+
}) => t.primary.main
|
1555
|
+
}
|
1556
|
+
}
|
1557
|
+
}, oo = {
|
1558
|
+
toggle: {
|
1559
|
+
title: "Toggle basemaps controls"
|
1560
|
+
},
|
1561
|
+
header: {
|
1562
|
+
title: "Basemaps",
|
1563
|
+
actions: {
|
1564
|
+
close: "Close"
|
1565
|
+
}
|
1566
|
+
}
|
1567
|
+
};
|
1568
|
+
function no(t) {
|
1569
|
+
const e = R(6), {
|
1570
|
+
isMobile: r,
|
1571
|
+
labels: o,
|
1572
|
+
onChangeCollapsed: l
|
1573
|
+
} = t, s = r === void 0 ? !1 : r;
|
1574
|
+
let i;
|
1575
|
+
e[0] !== s || e[1] !== o || e[2] !== l ? (i = s && /* @__PURE__ */ O(j, { children: [
|
1576
|
+
/* @__PURE__ */ n(F, { variant: "caption", flexGrow: 1, children: o.title }),
|
1577
|
+
/* @__PURE__ */ n(ae, { title: o.actions.close, children: /* @__PURE__ */ n(se, { size: "small", onClick: l, "aria-label": o.actions.close, children: /* @__PURE__ */ n(We, {}) }) })
|
1578
|
+
] }), e[0] = s, e[1] = o, e[2] = l, e[3] = i) : i = e[3];
|
1579
|
+
let c;
|
1580
|
+
return e[4] !== i ? (c = /* @__PURE__ */ n(G, { sx: ue.header, children: i }), e[4] = i, e[5] = c) : c = e[5], c;
|
1581
|
+
}
|
1582
|
+
function io(t) {
|
1583
|
+
const e = R(5), {
|
1584
|
+
title: r,
|
1585
|
+
children: o,
|
1586
|
+
collapsed: l
|
1587
|
+
} = t;
|
1588
|
+
if (l === void 0 ? !1 : l)
|
1589
|
+
return o;
|
1590
|
+
let i;
|
1591
|
+
e[0] !== r ? (i = /* @__PURE__ */ n(F, { variant: "caption", color: "textSecondary", sx: ue.groupWrapper.content, children: r }), e[0] = r, e[1] = i) : i = e[1];
|
1592
|
+
let c;
|
1593
|
+
return e[2] !== o || e[3] !== i ? (c = /* @__PURE__ */ O(j, { children: [
|
1594
|
+
i,
|
1595
|
+
o
|
1596
|
+
] }), e[2] = o, e[3] = i, e[4] = c) : c = e[4], c;
|
1597
|
+
}
|
1598
|
+
function lo(t) {
|
1599
|
+
const e = R(9), {
|
1600
|
+
values: r,
|
1601
|
+
selected: o,
|
1602
|
+
onChange: l
|
1603
|
+
} = t;
|
1604
|
+
let s;
|
1605
|
+
if (e[0] !== l || e[1] !== o || e[2] !== r) {
|
1606
|
+
let c;
|
1607
|
+
e[4] !== l || e[5] !== o ? (c = (a) => {
|
1608
|
+
const u = a.id === o;
|
1609
|
+
return /* @__PURE__ */ O(G, { sx: ue.item.container, component: "button", "aria-label": a.label, onClick: () => l(a.id), children: [
|
1610
|
+
/* @__PURE__ */ n("img", { src: a.icon, "aria-label": a.label + " icon", "data-active": u }),
|
1611
|
+
/* @__PURE__ */ n(F, { variant: "caption", sx: {
|
1612
|
+
...u && ue.item.selected
|
1613
|
+
}, children: a.label })
|
1614
|
+
] }, a.id);
|
1615
|
+
}, e[4] = l, e[5] = o, e[6] = c) : c = e[6], s = r.map(c), e[0] = l, e[1] = o, e[2] = r, e[3] = s;
|
1616
|
+
} else
|
1617
|
+
s = e[3];
|
1618
|
+
let i;
|
1619
|
+
return e[7] !== s ? (i = /* @__PURE__ */ n(G, { sx: ue.group, children: s }), e[7] = s, e[8] = i) : i = e[8], i;
|
1620
|
+
}
|
1621
|
+
function ro(t) {
|
1622
|
+
const e = R(20), {
|
1623
|
+
ref: r,
|
1624
|
+
children: o,
|
1625
|
+
collapsed: l,
|
1626
|
+
isMobile: s,
|
1627
|
+
position: i,
|
1628
|
+
sx: c,
|
1629
|
+
slotProps: a,
|
1630
|
+
onChangeCollapsed: u
|
1631
|
+
} = t;
|
1632
|
+
if (s === void 0 ? !1 : s) {
|
1633
|
+
const x = !l;
|
1634
|
+
let w;
|
1635
|
+
return e[0] !== o || e[1] !== u || e[2] !== x ? (w = /* @__PURE__ */ n(dt, { anchor: "bottom", open: x, onClose: u, children: o }), e[0] = o, e[1] = u, e[2] = x, e[3] = w) : w = e[3], w;
|
1636
|
+
}
|
1637
|
+
const f = !l;
|
1638
|
+
let p;
|
1639
|
+
e[4] !== u ? (p = () => u(!0), e[4] = u, e[5] = p) : p = e[5];
|
1640
|
+
const y = i.startsWith("bottom") ? "bottom" : "top", b = i.endsWith("right") ? "left" : "right";
|
1641
|
+
let g;
|
1642
|
+
e[6] !== y || e[7] !== b ? (g = {
|
1643
|
+
vertical: y,
|
1644
|
+
horizontal: b
|
1645
|
+
}, e[6] = y, e[7] = b, e[8] = g) : g = e[8];
|
1646
|
+
const C = i.startsWith("bottom") ? "bottom" : "top", d = i.endsWith("right") ? "right" : "left";
|
1647
|
+
let m;
|
1648
|
+
e[9] !== C || e[10] !== d ? (m = {
|
1649
|
+
vertical: C,
|
1650
|
+
horizontal: d
|
1651
|
+
}, e[9] = C, e[10] = d, e[11] = m) : m = e[11];
|
1652
|
+
let v;
|
1653
|
+
return e[12] !== o || e[13] !== a || e[14] !== c || e[15] !== f || e[16] !== p || e[17] !== g || e[18] !== m ? (v = /* @__PURE__ */ n(ut, { sx: c, anchorEl: r, open: f, onClose: p, anchorOrigin: g, transformOrigin: m, slotProps: a, children: o }), e[12] = o, e[13] = a, e[14] = c, e[15] = f, e[16] = p, e[17] = g, e[18] = m, e[19] = v) : v = e[19], v;
|
1654
|
+
}
|
1655
|
+
function xo(t) {
|
1656
|
+
const e = R(52), {
|
1657
|
+
options: r,
|
1658
|
+
labels: o,
|
1659
|
+
position: l,
|
1660
|
+
selected: s,
|
1661
|
+
onChange: i,
|
1662
|
+
TooltipProps: c
|
1663
|
+
} = t;
|
1664
|
+
let a;
|
1665
|
+
e[0] !== r ? (a = r === void 0 ? [] : r, e[0] = r, e[1] = a) : a = e[1];
|
1666
|
+
const u = a, h = l === void 0 ? "bottom-right" : l, f = s === void 0 ? null : s, [p, y] = le(null), b = ze(null), [g, C] = le(null), d = ht();
|
1667
|
+
let m;
|
1668
|
+
e[2] !== d.breakpoints ? (m = d.breakpoints.down("sm"), e[2] = d.breakpoints, e[3] = m) : m = e[3];
|
1669
|
+
const v = ft(m);
|
1670
|
+
let x;
|
1671
|
+
e[4] !== o ? (x = o ?? {}, e[4] = o, e[5] = x) : x = e[5];
|
1672
|
+
let w;
|
1673
|
+
e[6] !== x ? (w = Se(oo, x), e[6] = x, e[7] = w) : w = e[7];
|
1674
|
+
const A = w, D = !p;
|
1675
|
+
let M;
|
1676
|
+
if (e[8] !== u || e[9] !== f) {
|
1677
|
+
let K;
|
1678
|
+
e[11] !== f ? (K = (he) => he.id === f, e[11] = f, e[12] = K) : K = e[12], M = u.find(K), e[8] = u, e[9] = f, e[10] = M;
|
1679
|
+
} else
|
1680
|
+
M = e[10];
|
1681
|
+
const T = M, S = Object.groupBy(u, co), I = Object.keys(S).length;
|
1682
|
+
let L, _;
|
1683
|
+
e[13] !== g ? (_ = () => {
|
1684
|
+
if (b.current && clearTimeout(b.current), !!g)
|
1685
|
+
return b.current = setTimeout(() => {
|
1686
|
+
y(null);
|
1687
|
+
}, g), () => {
|
1688
|
+
b.current && clearTimeout(b.current);
|
1689
|
+
};
|
1690
|
+
}, L = [g], e[13] = g, e[14] = L, e[15] = _) : (L = e[14], _ = e[15]), Ie(_, L);
|
1691
|
+
let k;
|
1692
|
+
e[16] === Symbol.for("react.memo_cache_sentinel") ? (k = () => {
|
1693
|
+
C(null);
|
1694
|
+
}, e[16] = k) : k = e[16];
|
1695
|
+
const B = k;
|
1696
|
+
let E;
|
1697
|
+
e[17] === Symbol.for("react.memo_cache_sentinel") ? (E = () => {
|
1698
|
+
C(400);
|
1699
|
+
}, e[17] = E) : E = e[17];
|
1700
|
+
const W = E, U = xe;
|
1701
|
+
let Z;
|
1702
|
+
e[18] === Symbol.for("react.memo_cache_sentinel") ? (Z = (K) => {
|
1703
|
+
y(K.currentTarget);
|
1704
|
+
}, e[18] = Z) : Z = e[18];
|
1705
|
+
const oe = T == null ? void 0 : T.icon, N = (T == null ? void 0 : T.label) ?? "Basemap";
|
1706
|
+
let H;
|
1707
|
+
e[19] !== oe || e[20] !== N ? (H = /* @__PURE__ */ n(se, { sx: ue.toggle, onClick: Z, children: /* @__PURE__ */ n("img", { src: oe, alt: N }) }), e[19] = oe, e[20] = N, e[21] = H) : H = e[21];
|
1708
|
+
let X;
|
1709
|
+
e[22] !== c || e[23] !== A.toggle.title || e[24] !== H ? (X = /* @__PURE__ */ n(ae, { title: A.toggle.title, placement: "right", ...c, children: H }), e[22] = c, e[23] = A.toggle.title, e[24] = H, e[25] = X) : X = e[25];
|
1710
|
+
const q = ro, ne = `translate3d(${h.endsWith("right") ? "-8px" : "8px"}, ${h.startsWith("bottom") ? "-4px" : "4px"}, 0) !important`;
|
1711
|
+
let P;
|
1712
|
+
e[26] !== ne ? (P = {
|
1713
|
+
paper: {
|
1714
|
+
sx: {
|
1715
|
+
...ue.root,
|
1716
|
+
transform: ne
|
1717
|
+
},
|
1718
|
+
onMouseOver: B,
|
1719
|
+
onMouseLeave: W
|
1720
|
+
}
|
1721
|
+
}, e[26] = ne, e[27] = P) : P = e[27];
|
1722
|
+
let $;
|
1723
|
+
e[28] === Symbol.for("react.memo_cache_sentinel") ? ($ = () => y(null), e[28] = $) : $ = e[28];
|
1724
|
+
let ie;
|
1725
|
+
e[29] === Symbol.for("react.memo_cache_sentinel") ? (ie = () => y(null), e[29] = ie) : ie = e[29];
|
1726
|
+
let V;
|
1727
|
+
e[30] !== v || e[31] !== A.header ? (V = /* @__PURE__ */ n(no, { isMobile: v, labels: A.header, onChangeCollapsed: ie }), e[30] = v, e[31] = A.header, e[32] = V) : V = e[32];
|
1728
|
+
let ee;
|
1729
|
+
e[33] !== I || e[34] !== A.header || e[35] !== i || e[36] !== f ? (ee = (K) => {
|
1730
|
+
const [he, fe] = K;
|
1731
|
+
return /* @__PURE__ */ n(io, { title: he + " " + A.header.title, collapsed: I < 2, children: /* @__PURE__ */ n(lo, { values: fe, selected: f, onChange: (me) => {
|
1732
|
+
y(null), i(me);
|
1733
|
+
} }) }, he);
|
1734
|
+
}, e[33] = I, e[34] = A.header, e[35] = i, e[36] = f, e[37] = ee) : ee = e[37];
|
1735
|
+
const ge = Object.entries(S).map(ee);
|
1736
|
+
let te;
|
1737
|
+
e[38] !== q || e[39] !== D || e[40] !== v || e[41] !== h || e[42] !== P || e[43] !== $ || e[44] !== V || e[45] !== ge || e[46] !== p ? (te = /* @__PURE__ */ O(q, { ref: p, slotProps: P, collapsed: D, position: h, isMobile: v, onChangeCollapsed: $, children: [
|
1738
|
+
V,
|
1739
|
+
ge
|
1740
|
+
] }), e[38] = q, e[39] = D, e[40] = v, e[41] = h, e[42] = P, e[43] = $, e[44] = V, e[45] = ge, e[46] = p, e[47] = te) : te = e[47];
|
1741
|
+
let de;
|
1742
|
+
return e[48] !== U || e[49] !== X || e[50] !== te ? (de = /* @__PURE__ */ O(U, { children: [
|
1743
|
+
X,
|
1744
|
+
te
|
1745
|
+
] }), e[48] = U, e[49] = X, e[50] = te, e[51] = de) : de = e[51], de;
|
1746
|
+
}
|
1747
|
+
function co(t) {
|
1748
|
+
return t.group ?? "default";
|
1454
1749
|
}
|
1455
1750
|
export {
|
1456
|
-
|
1457
|
-
|
1458
|
-
|
1459
|
-
|
1460
|
-
|
1461
|
-
|
1462
|
-
|
1463
|
-
|
1464
|
-
|
1465
|
-
|
1466
|
-
|
1467
|
-
|
1468
|
-
|
1469
|
-
|
1470
|
-
|
1471
|
-
|
1472
|
-
|
1473
|
-
|
1474
|
-
|
1751
|
+
jt as AreaIcon,
|
1752
|
+
xo as BasemapsUI,
|
1753
|
+
$t as BufferIcon,
|
1754
|
+
mo as DEFAULT_LASSO_TOOLS_MODES_MAPPING,
|
1755
|
+
re as DEFAULT_MEASUREMENT_TOOLS_LABELS,
|
1756
|
+
Ut as DEFAULT_MEASUREMENT_TOOLS_MODES_MAPPING,
|
1757
|
+
Zt as DEFAULT_MEASUREMENT_TOOLS_UNITS_MAPPING,
|
1758
|
+
Mt as DrawCircleIcon,
|
1759
|
+
Ct as DrawLassoIcon,
|
1760
|
+
wt as DrawPolygonIcon,
|
1761
|
+
xt as DrawSquareIcon,
|
1762
|
+
yo as GeolocationControls,
|
1763
|
+
z as LASSO_TOOLS_LABELS,
|
1764
|
+
go as LassoToolsInlineUI,
|
1765
|
+
po as LassoToolsUI,
|
1766
|
+
wo as ListDataUI,
|
1767
|
+
vo as MeasurementToolsUI,
|
1768
|
+
Pt as RulerIcon,
|
1769
|
+
Tt as SelectToolIcon,
|
1770
|
+
bo as ZoomControlsUI
|
1475
1771
|
};
|
1476
1772
|
//# sourceMappingURL=components.js.map
|