@map-colonies/react-components 4.0.2 → 4.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,48 +1,49 @@
1
1
  (function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode('body[dir=rtl] .drpOpener .mdc-text-field{direction:ltr}body[dir=rtl] .drpContainer .MuiInputLabel-formControl{right:0px;left:unset}body[dir=rtl] .drpContainer .MuiInputBase-input{direction:ltr;text-align:end}.map{height:100%;width:100%}.ol-mouse-position{top:auto!important;right:auto!important;bottom:8px;left:8px;background-color:#fff;opacity:.7;font-size:12px;padding:2px;border-radius:2px}.ol-zoom{top:2.5em;right:.5em;left:unset}.trackerPosition{background-color:var(--mdc-theme-surface);z-index:2000;padding:2px;border-radius:2px;font-size:12px;height:24px;text-align:center;line-height:20px;white-space:nowrap}.scalePosition{background-color:var(--mdc-theme-surface);padding:1px;border-radius:2px;font-size:12px;width:110px}.distance-legend-label{text-align:center}.distance-legend-scale-bar{background:var(--mdc-theme-on-surface);margin:0 auto;display:block;transition:all .5s ease-in-out}.zoomLevel{z-index:2000;background-color:var(--mdc-theme-surface);border-radius:2px;padding:2px;height:24px}.zoomLevelValue{margin:2px;font-size:14px;line-height:10px;text-align:center}.zoomLevelLabel{font-size:8px;line-height:8px}.mapViewIcon{fill:#fff;width:40px;height:40px;background:#303336;border:1px solid #444;border-radius:4px}.mapViewIcon:hover{background:#48b;border-color:#aef}.mapViewCurrent{fill:#aef;border:1px solid #aef;border-radius:4px}.mapSelector{width:260px;list-style:none;padding-left:0;display:flex;flex-wrap:wrap;grid-gap:4px;min-height:140px;margin-block-start:0px;padding-inline-start:0px}.mapContainerSelected{border:blueviolet 2px solid!important;border-radius:2px}.mapContainer:hover{border:tomato 2px solid;border-radius:2px}.mapContainerImg{width:100%;height:100%}.mapLabel{font-size:12px}.mapLabel:before{content:"\\a0"}.mapScenesContainer{display:flex;gap:8px}.settingsIconContainer,.mapLegendToggleContainer{fill:#fff;width:40px;height:40px;background:#303336;border:1px solid #444;border-radius:4px}.settingsIconContainer:hover,.mapLegendToggleContainer:hover{background:#48b;border-color:#aef}.baseMapsContainer{margin-top:12px;min-height:58%}.settingsDialogPortal{transform:translateZ(0);height:calc(100vh - 220px);max-height:460px;width:280px;position:absolute;top:40px;right:80px}.settingsDialogPortal .mdc-dialog__container{align-items:unset}.settingsDialogPortal .mdc-dialog .mdc-dialog__surface{max-height:unset}body[dir=rtl] .settingsDialogPortal{left:80px;right:unset}.sectionLabel{margin-block-end:.5em}.mapLegendSidebarContainer{width:340px;height:100%;position:relative;overflow-y:auto;overflow-x:hidden;font-size:16px}.mapLegendSidebarContainer.mdc-drawer--animate{transform:translate(0)!important;transition:none!important}.mapLegendSidebarContainer.mdc-drawer--dismissible{position:relative}div.MuiPaper-root{transition:none!important}.mapLegendCloseBtn{position:absolute;top:0;right:0;cursor:pointer;width:50px;height:50px;padding:20px;font-size:24px}body[dir=rtl] .mapLegendCloseBtn{right:unset;left:0}.mapLegendToggleContainer{display:flex;align-items:center;justify-content:center}.mapLegendIcon{width:2rem;height:2rem;transform:translate(8%,8%)}.sidebarHeaderContainer{text-align:center;margin-top:40px}.sidebarTitle{font-size:1.5rem;font-weight:700}.mapLegend{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:10px 14px}.layerNameContainer{width:90%;display:flex;justify-content:center;align-items:center}.layerName{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.legendImg{width:90%;height:150px;border:1px solid black;border-radius:5px;object-fit:cover;cursor:pointer}.legendActionsContainer{display:flex;flex-direction:row;align-self:center}.legendAction:not(:last-child):after{content:"|";margin:0 4px}.mapLegendsList{display:flex;flex-direction:column;padding:20px 0;width:100%;height:90%}.legendAction{text-decoration:underline;cursor:pointer;font-size:1.1rem;transition:all .1s ease-in-out;width:max-content}.legendAction:hover{filter:brightness(1.2)}.noLegendsContainer{width:100%;height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center}.noLegendsMsg{text-align:center}.cesium-widget-credits{display:none!important}.cesium-viewer-fullscreenContainer{bottom:8px;right:8px;left:unset}body[dir=rtl] .cesium-viewer-fullscreenContainer{left:8px;right:unset}body[dir=rtl] .cesium-viewer-toolbar{left:5px;right:unset}.cesium-button.cesium-fullscreenButton{border-radius:14%}.toolsContainer{color:var(--mdc-theme-on-surface);display:flex;gap:8px;z-index:2000;position:absolute;bottom:12px;right:40px;opacity:.7}body[dir=rtl] .toolsContainer{left:40px;right:unset}.sideToolsContainer{display:flex;flex-direction:row;gap:8px;z-index:2000;position:absolute;top:12px;right:40px}body[dir=rtl] .sideToolsContainer{left:40px;right:unset}.viewer{display:flex;flex-direction:row}.twipsy{display:block;position:absolute;visibility:visible;max-width:200px;min-width:100px;padding:5px;font-size:11px;z-index:1000;opacity:.8;-khtml-opacity:.8;-moz-opacity:.8;filter:alpha(opacity=80)}.twipsy.left .twipsy-arrow{top:50%;right:0;margin-top:-5px;border-top:5px solid transparent;border-bottom:5px solid transparent;border-left:5px solid #000000}.twipsy.right .twipsy-arrow{top:50%;left:0;margin-top:-5px;border-top:5px solid transparent;border-bottom:5px solid transparent;border-right:5px solid #000000}.twipsy-inner{padding:3px 8px;background-color:#000;color:#fff;text-align:center;max-width:200px;text-decoration:none;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.twipsy-arrow{position:absolute;width:0;height:0}.toolbar{margin:0;padding:0;background:white}.toolbar>.button{margin:5px;padding:5px;border:1px solid #eee;cursor:pointer}.toolbar>.button:hover{background:#eee}.infoWindow{position:absolute;min-width:100px;max-width:300px}.infoWindow #frame{padding:10px;border:1px solid black;background:white}.infoWindow #close{float:right;margin:5px 2px;font-size:small;color:gray;cursor:pointer}.infoWindow #arrow{position:absolute;bottom:-8px;left:50%;margin-left:-10px;border-right:10px solid transparent;border-left:10px solid transparent;border-top:10px solid white}.react-autocomplete-input{background-clip:padding-box;background-color:#fff;bottom:auto;box-shadow:0 6px 12px #0000002d;display:block;font-size:14px;list-style:none;padding:1px;position:absolute;z-index:20000;margin-block-start:unset;margin-block-end:unset}.react-autocomplete-input>li{cursor:pointer;padding:10px;min-width:100px}.react-autocomplete-input>li.active{background-color:#337ab7;color:#fff}body[dir=rtl] .chonky-fileListWrapper [class^=listContainer-]{direction:rtl!important}body[dir=rtl] .chonky-fileEntryClickableWrapper [class^=listFileEntryProperty-],body[dir=rtl] .chonky-navbarContainer{direction:ltr!important}body[dir=rtl] .chonky-chonkyRoot{text-align:right}body[dir=rtl] .chonky-infoText{margin-left:unset;margin-right:12px}body[dir=rtl] .chonky-contextMenuList .MuiListItemText-root,body[dir=rtl] .chonky-dropdownList .MuiListItemText-root{text-align:right}body[dir=rtl] .chonky-icon{margin-right:unset;margin-left:8px}.chonky-chonkyRoot div[class^=folderBackSide]{box-shadow:unset}.chonky-chonkyRoot div[class^=folderBackSide]:after{border-color:var(--fp-theme-background, #fff) var(--fp-theme-background, #fff) transparent transparent}.chonky-chonkyRoot div[class^=listFileEntryIcon-]{color:#d5d5d5}.chonky-chonkyRoot div[class*=previewFile-d]{background-color:#d5d5d5}.chonky-chonkyRoot div[class^=selectionIndicator-]{background:var(--fp-theme-selection-background, #455570)}.chonky-chonkyRoot{background-color:var(--fp-theme-background, #fff)!important}.chonky-contextMenuList{background-color:var(--fp-theme-surface, #fff)!important}button[class*=chonky-activeButton],.chonky-selectionSizeText{color:var(--fp-theme-primary, #24aee9)!important}')),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
2
- var Ut = Object.defineProperty;
3
- var Wt = (e, i, t) => i in e ? Ut(e, i, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[i] = t;
4
- var J = (e, i, t) => (Wt(e, typeof i != "symbol" ? i + "" : i, t), t);
2
+ var Kt = Object.defineProperty;
3
+ var jt = (e, n, t) => n in e ? Kt(e, n, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[n] = t;
4
+ var J = (e, n, t) => (jt(e, typeof n != "symbol" ? n + "" : n, t), t);
5
5
  import { jsx as l, jsxs as D, Fragment as oe } from "react/jsx-runtime";
6
- import ve, { useState as k, useEffect as I, useMemo as ft, createContext as Se, useRef as Le, useContext as Pe, useCallback as ge, useLayoutEffect as jt } from "react";
7
- import { isValid as Ee, isBefore as Kt, format as rt } from "date-fns";
8
- import { he as yt, enUS as vt } from "date-fns/locale";
9
- import { MuiPickersUtilsProvider as Et, KeyboardDateTimePicker as Ue, KeyboardDatePicker as qt } from "@material-ui/pickers";
10
- import Ct from "@date-io/date-fns";
11
- import { createTheme as Yt, makeStyles as Me, createStyles as Re } from "@material-ui/core/styles";
12
- import { Box as Xt, ThemeProvider as wt, Popover as Zt, Paper as We, TableRow as ke, TableCell as we, TableSortLabel as Jt, IconButton as Qt, Collapse as ei, TableContainer as ti, Table as ii, TableBody as ni, Typography as ri, TablePagination as oi } from "@material-ui/core";
13
- import { useTheme as bt, ThemeProvider as si, Button as Ie, TextField as ai, Tooltip as je, Menu as li, MenuItem as He, Icon as be, Dialog as ci, DialogTitle as di, DialogContent as ui, Drawer as hi, DrawerHeader as pi, DrawerTitle as mi, DrawerContent as gi } from "@map-colonies/react-core";
14
- import { default as ys } from "@material-ui/core/useMediaQuery";
15
- import fi from "@turf/rewind";
16
- import { Map as yi, View as vi } from "ol";
6
+ import * as ft from "react";
7
+ import ve, { useState as I, useEffect as k, useMemo as yt, createContext as Se, useRef as Le, useContext as Pe, useCallback as ge, useLayoutEffect as qt } from "react";
8
+ import { isValid as Ee, isBefore as Yt, format as rt } from "date-fns";
9
+ import { he as vt, enUS as Et } from "date-fns/locale";
10
+ import { MuiPickersUtilsProvider as Ct, KeyboardDateTimePicker as Ue, KeyboardDatePicker as Xt } from "@material-ui/pickers";
11
+ import wt from "@date-io/date-fns";
12
+ import { createTheme as Zt, makeStyles as Me, createStyles as Re } from "@material-ui/core/styles";
13
+ import { Box as Jt, ThemeProvider as bt, Popover as Qt, Paper as We, TableRow as Ie, TableCell as we, TableSortLabel as en, IconButton as tn, Collapse as nn, TableContainer as rn, Table as on, TableBody as sn, Typography as an, TablePagination as ln } from "@material-ui/core";
14
+ import { useTheme as Tt, ThemeProvider as cn, Button as ke, TextField as dn, Tooltip as Ke, Menu as un, MenuItem as He, Icon as be, Dialog as hn, DialogTitle as pn, DialogContent as mn, Drawer as gn, DrawerHeader as fn, DrawerTitle as yn, DrawerContent as vn } from "@map-colonies/react-core";
15
+ import { default as Es } from "@material-ui/core/useMediaQuery";
16
+ import En from "@turf/rewind";
17
+ import { Map as Cn, View as wn } from "ol";
17
18
  import "ol/ol.css";
18
19
  import { format as ot } from "ol/coordinate";
19
- import { defaults as Ei, FullScreen as st } from "ol/control";
20
+ import { defaults as bn, FullScreen as st } from "ol/control";
20
21
  import Ge from "ol/control/MousePosition";
21
- import { transform as Ci } from "ol/proj";
22
- import { Tile as wi, Vector as bi } from "ol/layer";
23
- import { Vector as Ti, OSM as _i } from "ol/source";
24
- import { GeoJSON as Tt } from "ol/format";
25
- import { Draw as Si } from "ol/interaction";
26
- import { createBox as Li } from "ol/interaction/Draw";
27
- import Pi from "@material-ui/core/TableHead";
28
- import { KeyboardArrowUp as Mi, KeyboardArrowDown as Ai } from "@material-ui/icons";
29
- import xi from "@material-ui/core/CssBaseline";
30
- import ki from "@material-ui/core/ScopedCssBaseline";
31
- import { createPortal as Ii } from "react-dom";
32
- import { Viewer as Oi, Cesium3DTileset as Di, GeoJsonDataSource as Ri, ImageryLayer as Bi, Entity as Ni, EntityDescription as _t, PolygonGraphics as Fi, RectangleGraphics as Hi, CustomDataSource as Gi, PolylineGraphics as Vi } from "resium";
22
+ import { transform as Tn } from "ol/proj";
23
+ import { Tile as _n, Vector as Sn } from "ol/layer";
24
+ import { Vector as Ln, OSM as Pn } from "ol/source";
25
+ import { GeoJSON as _t } from "ol/format";
26
+ import { Draw as Mn } from "ol/interaction";
27
+ import { createBox as An } from "ol/interaction/Draw";
28
+ import xn from "@material-ui/core/TableHead";
29
+ import { createSvgIcon as St } from "@material-ui/core/utils";
30
+ import In from "@material-ui/core/CssBaseline";
31
+ import kn from "@material-ui/core/ScopedCssBaseline";
32
+ import { createPortal as On } from "react-dom";
33
+ import { Viewer as Dn, Cesium3DTileset as Rn, GeoJsonDataSource as Bn, ImageryLayer as Nn, Entity as Fn, EntityDescription as Lt, PolygonGraphics as Hn, RectangleGraphics as Gn, CustomDataSource as Vn, PolylineGraphics as zn } from "resium";
33
34
  import * as p from "cesium";
34
- import { ScreenSpaceEventType as St, Cartesian3 as me, Math as le, WebMercatorProjection as zi, EventHelper as $i, EllipsoidGeodesic as Ui, Cartesian2 as Te, SceneMode as ye, Cartographic as Be, UrlTemplateImageryProvider as Ze, WebMapServiceImageryProvider as Je, WebMapTileServiceImageryProvider as Qe, Event as Wi, SingleTileImageryProvider as ji, Rectangle as Ce, Viewer as Ki, Matrix4 as qi, OpenStreetMapImageryProvider as Yi, Color as Xi, PolygonHierarchy as Zi, PolylineDashMaterialProperty as Ji, ConstantProperty as Qi, ConstantPositionProperty as en, BoundingSphere as tn, Ellipsoid as nn, GeographicTilingScheme as rn, Resource as on, EllipsoidTerrainProvider as sn, CesiumTerrainProvider as an, VerticalOrigin as ln, LabelStyle as cn } from "cesium";
35
- import { Math as Es, sampleTerrainMostDetailed as Cs } from "cesium";
36
- import { get as Q, isNumber as Oe, isEmpty as Ke, isArray as dn, find as at } from "lodash";
37
- import un from "@turf/boolean-point-in-polygon";
38
- import * as Lt from "@turf/helpers";
39
- import Pt from "@turf/bbox";
40
- import Mt from "@turf/bbox-polygon";
41
- import hn from "textarea-caret";
42
- import pn, { setCaretPosition as mn } from "get-input-selection";
43
- import { ChonkyActions as N, FileHelper as At, setChonkyDefaults as gn, FullFileBrowser as fn } from "chonky";
44
- import { ChonkyIconFA as yn } from "chonky-icon-fontawesome";
45
- import vn from "filesize";
35
+ import { ScreenSpaceEventType as Pt, Cartesian3 as me, Math as le, WebMercatorProjection as $n, EventHelper as Un, EllipsoidGeodesic as Wn, Cartesian2 as Te, SceneMode as ye, Cartographic as Be, UrlTemplateImageryProvider as Ze, WebMapServiceImageryProvider as Je, WebMapTileServiceImageryProvider as Qe, Event as Kn, SingleTileImageryProvider as jn, Rectangle as Ce, Viewer as qn, Matrix4 as Yn, OpenStreetMapImageryProvider as Xn, Color as Zn, PolygonHierarchy as Jn, PolylineDashMaterialProperty as Qn, ConstantProperty as ei, ConstantPositionProperty as ti, BoundingSphere as ni, Ellipsoid as ii, GeographicTilingScheme as ri, Resource as oi, EllipsoidTerrainProvider as si, CesiumTerrainProvider as ai, VerticalOrigin as li, LabelStyle as ci } from "cesium";
36
+ import { Math as ws, sampleTerrainMostDetailed as bs } from "cesium";
37
+ import { get as Q, isNumber as Oe, isEmpty as je, isArray as di, find as at } from "lodash";
38
+ import ui from "@turf/boolean-point-in-polygon";
39
+ import * as Mt from "@turf/helpers";
40
+ import At from "@turf/bbox";
41
+ import xt from "@turf/bbox-polygon";
42
+ import hi from "textarea-caret";
43
+ import pi, { setCaretPosition as mi } from "get-input-selection";
44
+ import { ChonkyActions as N, FileHelper as It, setChonkyDefaults as gi, FullFileBrowser as fi } from "chonky";
45
+ import { ChonkyIconFA as yi } from "chonky-icon-fontawesome";
46
+ import vi from "filesize";
46
47
  var re = /* @__PURE__ */ ((e) => (e.BOX = "BOX", e.POLYGON = "POLYGON", e.UNKNOWN = "UNKNOWN", e))(re || {}), ce = /* @__PURE__ */ ((e) => (e.HE = "he", e.EN = "en", e.RU = "ru", e))(ce || {}), qe = /* @__PURE__ */ ((e) => (e.TOP_RIGHT = "TOP_RIGHT", e.BOTTOM_LEFT = "BOTTOM_LEFT", e))(qe || {});
47
48
  const Z = {
48
49
  // eslint-disable-next-line @typescript-eslint/naming-convention
@@ -72,17 +73,17 @@ const Z = {
72
73
  disableFuture: !0
73
74
  }
74
75
  }, ae = (e) => {
75
- const { children: i, ...t } = e;
76
- return /* @__PURE__ */ l(Xt, { ...t, children: i });
77
- }, xt = (e) => {
78
- const i = e.type === "dark";
79
- return ve.useMemo(() => En(e, i), [
80
- i,
76
+ const { children: n, ...t } = e;
77
+ return /* @__PURE__ */ l(Jt, { ...t, children: n });
78
+ }, kt = (e) => {
79
+ const n = e.type === "dark";
80
+ return ve.useMemo(() => Ei(e, n), [
81
+ n,
81
82
  e
82
83
  ]);
83
- }, En = (e, i = !1) => Yt({
84
+ }, Ei = (e, n = !1) => Zt({
84
85
  palette: {
85
- type: i ? "dark" : "light",
86
+ type: n ? "dark" : "light",
86
87
  primary: {
87
88
  main: e.primary
88
89
  },
@@ -97,52 +98,52 @@ const Z = {
97
98
  paper: e.background
98
99
  },
99
100
  text: {
100
- primary: i ? e.textPrimaryOnDark : e.textPrimaryOnLight,
101
- secondary: i ? e.textSecondaryOnDark : e.textSecondaryOnLight
101
+ primary: n ? e.textPrimaryOnDark : e.textPrimaryOnLight,
102
+ secondary: n ? e.textSecondaryOnDark : e.textSecondaryOnLight
102
103
  }
103
104
  }
104
105
  });
105
- const Cn = 2, wn = 0.5, bn = Me(
106
+ const Ci = 2, wi = 0.5, bi = Me(
106
107
  (e) => Re({
107
108
  container: {
108
- padding: e.spacing(Cn),
109
+ padding: e.spacing(Ci),
109
110
  alignItems: "center"
110
111
  },
111
112
  setButton: {
112
113
  marginTop: e.spacing(1)
113
114
  },
114
115
  margin: {
115
- marginLeft: e.spacing(wn)
116
+ marginLeft: e.spacing(wi)
116
117
  }
117
118
  })
118
- ), Tn = (e) => {
119
- var U, V, j, O;
120
- const i = bn(), t = bt(), n = xt(t), [a, o] = k(null), [d, u] = k(null), [v, C] = k(
119
+ ), Ti = (e) => {
120
+ var U, V, K, O;
121
+ const n = bi(), t = Tt(), i = kt(t), [a, o] = I(null), [d, u] = I(null), [v, C] = I(
121
122
  Z.DATE_RANGE_PICKER.dateFormat
122
- ), S = e.controlsLayout ?? Z.DATE_RANGE_PICKER.controlsLayout, A = e.disableFuture ?? Z.DATE_RANGE_PICKER.disableFuture, L = ((U = e.local) == null ? void 0 : U.startPlaceHolderText) ?? Z.DATE_RANGE_PICKER.local.startPlaceHolderText, R = ((V = e.local) == null ? void 0 : V.endPlaceHolderText) ?? Z.DATE_RANGE_PICKER.local.endPlaceHolderText, z = ((j = e.local) == null ? void 0 : j.setText) ?? Z.DATE_RANGE_PICKER.local.setText, Y = (((O = e.local) == null ? void 0 : O.calendarLocale) ?? Z.DATE_RANGE_PICKER.local.calendarLocale) === ce.HE ? yt : vt;
123
- I(() => {
123
+ ), S = e.controlsLayout ?? Z.DATE_RANGE_PICKER.controlsLayout, A = e.disableFuture ?? Z.DATE_RANGE_PICKER.disableFuture, L = ((U = e.local) == null ? void 0 : U.startPlaceHolderText) ?? Z.DATE_RANGE_PICKER.local.startPlaceHolderText, R = ((V = e.local) == null ? void 0 : V.endPlaceHolderText) ?? Z.DATE_RANGE_PICKER.local.endPlaceHolderText, z = ((K = e.local) == null ? void 0 : K.setText) ?? Z.DATE_RANGE_PICKER.local.setText, Y = (((O = e.local) == null ? void 0 : O.calendarLocale) ?? Z.DATE_RANGE_PICKER.local.calendarLocale) === ce.HE ? vt : Et;
124
+ k(() => {
124
125
  o(e.from ?? null);
125
- }, [e.from]), I(() => {
126
+ }, [e.from]), k(() => {
126
127
  u(e.to ?? null);
127
- }, [e.to]), I(() => {
128
+ }, [e.to]), k(() => {
128
129
  C(e.dateFormat ?? Z.DATE_RANGE_PICKER.dateFormat);
129
130
  }, [e.dateFormat]);
130
131
  const F = Boolean(
131
- Ee(a) && !d || Ee(d) && !a || a && d && Ee(a) && Ee(d) && Kt(a, d)
132
+ Ee(a) && !d || Ee(d) && !a || a && d && Ee(a) && Ee(d) && Yt(a, d)
132
133
  ), X = () => {
133
134
  e.onChange({
134
135
  from: a && Ee(a) ? a : void 0,
135
136
  to: d && Ee(d) ? d : void 0
136
137
  });
137
138
  };
138
- return /* @__PURE__ */ l(wt, { theme: n, children: /* @__PURE__ */ l(
139
+ return /* @__PURE__ */ l(bt, { theme: i, children: /* @__PURE__ */ l(
139
140
  ae,
140
141
  {
141
- className: `${i.container} drpContainer`,
142
+ className: `${n.container} drpContainer`,
142
143
  display: "flex",
143
144
  flexDirection: S,
144
145
  width: S === "column" ? e.contentWidth : "unset",
145
- children: /* @__PURE__ */ D(Et, { utils: Ct, locale: Y, children: [
146
+ children: /* @__PURE__ */ D(Ct, { utils: wt, locale: Y, children: [
146
147
  /* @__PURE__ */ l(
147
148
  Ue,
148
149
  {
@@ -161,7 +162,7 @@ const Cn = 2, wn = 0.5, bn = Me(
161
162
  {
162
163
  variant: "inline",
163
164
  placeholder: R,
164
- className: i.margin,
165
+ className: n.margin,
165
166
  onChange: ($) => u($),
166
167
  value: d,
167
168
  disableFuture: A,
@@ -170,10 +171,10 @@ const Cn = 2, wn = 0.5, bn = Me(
170
171
  minDate: e.minDate
171
172
  }
172
173
  ),
173
- /* @__PURE__ */ l(si, { options: t, children: /* @__PURE__ */ l(
174
- Ie,
174
+ /* @__PURE__ */ l(cn, { options: t, children: /* @__PURE__ */ l(
175
+ ke,
175
176
  {
176
- className: `${i.setButton} ${i.margin}`,
177
+ className: `${n.setButton} ${n.margin}`,
177
178
  raised: !0,
178
179
  onClick: X,
179
180
  disabled: !F,
@@ -183,13 +184,13 @@ const Cn = 2, wn = 0.5, bn = Me(
183
184
  ] })
184
185
  }
185
186
  ) });
186
- }, _n = (e) => {
187
- const { children: i, ...t } = e;
188
- return /* @__PURE__ */ l(Zt, { ...t, children: i });
187
+ }, _i = (e) => {
188
+ const { children: n, ...t } = e;
189
+ return /* @__PURE__ */ l(Qt, { ...t, children: n });
189
190
  };
190
- const Oo = (e) => {
191
- var V, j;
192
- const [i, t] = k(null), [n, a] = k(null), [o, d] = k(
191
+ const Ro = (e) => {
192
+ var V, K;
193
+ const [n, t] = I(null), [i, a] = I(null), [o, d] = I(
193
194
  Z.DATE_RANGE_PICKER.dateFormat
194
195
  ), [u, v] = ve.useState(
195
196
  null
@@ -202,17 +203,17 @@ const Oo = (e) => {
202
203
  }, A = () => {
203
204
  v(null);
204
205
  }, L = Boolean(u), R = e.controlsLayout ?? "column";
205
- I(() => {
206
+ k(() => {
206
207
  t(e.from ?? null);
207
- }, [e.from]), I(() => {
208
+ }, [e.from]), k(() => {
208
209
  a(e.to ?? null);
209
- }, [e.to]), I(() => {
210
+ }, [e.to]), k(() => {
210
211
  d(e.dateFormat ?? Z.DATE_RANGE_PICKER.dateFormat);
211
212
  }, [e.dateFormat]);
212
- const z = ((V = e.local) == null ? void 0 : V.startPlaceHolderText) ?? Z.DATE_RANGE_PICKER.local.startPlaceHolderText, K = ((j = e.local) == null ? void 0 : j.endPlaceHolderText) ?? Z.DATE_RANGE_PICKER.local.endPlaceHolderText, Y = e.renderAsButton === void 0 ? Z.DATE_RANGE_PICKER.renderAsButton : e.renderAsButton, F = e.offset === void 0 ? Z.DATE_RANGE_PICKER.offset : e.offset, X = e.disableFuture === void 0 ? Z.DATE_RANGE_PICKER.disableFuture : e.disableFuture, U = ft(() => `${i ? rt(i, o) : z} - ${n ? rt(n, o) : K}`, [i, n, o, z, K]);
213
+ const z = ((V = e.local) == null ? void 0 : V.startPlaceHolderText) ?? Z.DATE_RANGE_PICKER.local.startPlaceHolderText, j = ((K = e.local) == null ? void 0 : K.endPlaceHolderText) ?? Z.DATE_RANGE_PICKER.local.endPlaceHolderText, Y = e.renderAsButton === void 0 ? Z.DATE_RANGE_PICKER.renderAsButton : e.renderAsButton, F = e.offset === void 0 ? Z.DATE_RANGE_PICKER.offset : e.offset, X = e.disableFuture === void 0 ? Z.DATE_RANGE_PICKER.disableFuture : e.disableFuture, U = yt(() => `${n ? rt(n, o) : z} - ${i ? rt(i, o) : j}`, [n, i, o, z, j]);
213
214
  return /* @__PURE__ */ D(oe, { children: [
214
215
  Y ? /* @__PURE__ */ l(
215
- Ie,
216
+ ke,
216
217
  {
217
218
  style: { width: e.width },
218
219
  raised: !0,
@@ -221,7 +222,7 @@ const Oo = (e) => {
221
222
  children: U
222
223
  }
223
224
  ) : /* @__PURE__ */ l(
224
- ai,
225
+ dn,
225
226
  {
226
227
  className: "drpOpener",
227
228
  readOnly: !0,
@@ -236,7 +237,7 @@ const Oo = (e) => {
236
237
  }
237
238
  ),
238
239
  /* @__PURE__ */ l(
239
- _n,
240
+ _i,
240
241
  {
241
242
  open: L,
242
243
  anchorEl: u,
@@ -244,7 +245,7 @@ const Oo = (e) => {
244
245
  anchorOrigin: { vertical: "bottom", horizontal: "left" },
245
246
  keepMounted: !0,
246
247
  children: /* @__PURE__ */ l(
247
- Tn,
248
+ Ti,
248
249
  {
249
250
  controlsLayout: R,
250
251
  contentWidth: ((u == null ? void 0 : u.clientWidth) ?? 0) - F,
@@ -253,8 +254,8 @@ const Oo = (e) => {
253
254
  minDate: e.minDate,
254
255
  maxDate: e.maxDate,
255
256
  local: e.local,
256
- from: i ?? void 0,
257
- to: n ?? void 0,
257
+ from: n ?? void 0,
258
+ to: i ?? void 0,
258
259
  onChange: ({ from: O, to: $ }) => {
259
260
  t(O ?? null), a($ ?? null), e.onChange({ from: O, to: $ }), A();
260
261
  }
@@ -264,8 +265,8 @@ const Oo = (e) => {
264
265
  )
265
266
  ] });
266
267
  };
267
- const Do = (e) => {
268
- const i = bt(), t = xt(i), [n, a] = k(e.value), {
268
+ const Bo = (e) => {
269
+ const n = Tt(), t = kt(n), [i, a] = I(e.value), {
269
270
  format: o = Z.DATE_PICKER.dateFormat,
270
271
  variant: d = Z.DATE_PICKER.variant,
271
272
  disableFuture: u = Z.DATE_PICKER.disableFuture,
@@ -280,61 +281,61 @@ const Do = (e) => {
280
281
  } = v ?? {
281
282
  placeHolderText: Z.DATE_PICKER.local.placeHolderText,
282
283
  calendarLocale: ce.EN
283
- }, K = z === ce.HE ? yt : vt, Y = (F) => {
284
+ }, j = z === ce.HE ? vt : Et, Y = (F) => {
284
285
  a(F), C(F);
285
286
  };
286
- return /* @__PURE__ */ l(wt, { theme: t, children: /* @__PURE__ */ D(Et, { utils: Ct, locale: K, children: [
287
+ return /* @__PURE__ */ l(bt, { theme: t, children: /* @__PURE__ */ D(Ct, { utils: wt, locale: j, children: [
287
288
  S && /* @__PURE__ */ l(
288
289
  Ue,
289
290
  {
290
291
  variant: d,
291
292
  placeholder: R,
292
293
  onChange: Y,
293
- value: n,
294
+ value: i,
294
295
  disableFuture: u,
295
296
  format: o,
296
297
  ...L
297
298
  }
298
299
  ),
299
300
  !S && /* @__PURE__ */ l(
300
- qt,
301
+ Xt,
301
302
  {
302
303
  variant: d,
303
304
  placeholder: R,
304
305
  onChange: Y,
305
- value: n,
306
+ value: i,
306
307
  disableFuture: u,
307
308
  format: o,
308
309
  ...L
309
310
  }
310
311
  )
311
312
  ] }) });
312
- }, Sn = 18, Ln = Me(
313
+ }, Si = 18, Li = Me(
313
314
  (e) => Re({
314
315
  drawingButton: {
315
- width: e.spacing(Sn)
316
+ width: e.spacing(Si)
316
317
  },
317
318
  fullWidth: {
318
319
  width: "100%",
319
320
  marginTop: "36px"
320
321
  }
321
322
  })
322
- ), Pn = (e) => {
323
- const i = Ln(), [t, n] = ve.useState(null), { isSelectionEnabled: a, onCancelDraw: o, onStartDraw: d, onReset: u } = e, v = (S) => {
324
- n(S.currentTarget);
323
+ ), Pi = (e) => {
324
+ const n = Li(), [t, i] = ve.useState(null), { isSelectionEnabled: a, onCancelDraw: o, onStartDraw: d, onReset: u } = e, v = (S) => {
325
+ i(S.currentTarget);
325
326
  }, C = () => {
326
- n(null);
327
+ i(null);
327
328
  };
328
- return a ? /* @__PURE__ */ l(je, { content: "Cancel the ongoing draw", align: "bottomLeft", children: /* @__PURE__ */ l(Ie, { className: i.drawingButton, raised: !0, onClick: o, children: "Cancel Draw" }) }) : /* @__PURE__ */ D(ae, { position: "relative", children: [
329
+ return a ? /* @__PURE__ */ l(Ke, { content: "Cancel the ongoing draw", align: "bottomLeft", children: /* @__PURE__ */ l(ke, { className: n.drawingButton, raised: !0, onClick: o, children: "Cancel Draw" }) }) : /* @__PURE__ */ D(ae, { position: "relative", children: [
329
330
  /* @__PURE__ */ l(
330
- je,
331
+ Ke,
331
332
  {
332
333
  content: "draw an Area of interest to limit the search",
333
334
  align: "bottomLeft",
334
335
  children: /* @__PURE__ */ l(
335
- Ie,
336
+ ke,
336
337
  {
337
- className: i.drawingButton,
338
+ className: n.drawingButton,
338
339
  raised: !0,
339
340
  onClick: v,
340
341
  children: "Draw AOI"
@@ -343,9 +344,9 @@ const Do = (e) => {
343
344
  }
344
345
  ),
345
346
  /* @__PURE__ */ D(
346
- li,
347
+ un,
347
348
  {
348
- className: i.fullWidth,
349
+ className: n.fullWidth,
349
350
  open: Boolean(t),
350
351
  onClose: C,
351
352
  children: [
@@ -382,153 +383,153 @@ const Do = (e) => {
382
383
  ] });
383
384
  };
384
385
  var ue = /* @__PURE__ */ ((e) => (e.WGS84 = "EPSG:4326", e.WEB_MERCATOR = "EPSG:3857", e))(ue || {});
385
- const Ye = 5, Xe = 2, kt = Se(null), Mn = kt.Provider, lt = 35, ct = 32, An = 10, xn = (e) => e !== void 0 && e !== ue.WGS84 ? Ci([lt, ct], ue.WGS84, e) : [lt, ct], kn = (e) => {
386
+ const Ye = 5, Xe = 2, Ot = Se(null), Mi = Ot.Provider, lt = 35, ct = 32, Ai = 10, xi = (e) => e !== void 0 && e !== ue.WGS84 ? Tn([lt, ct], ue.WGS84, e) : [lt, ct], Ii = (e) => {
386
387
  switch (e) {
387
388
  case ue.WEB_MERCATOR:
388
- return (i) => ot(
389
- i,
389
+ return (n) => ot(
390
+ n,
390
391
  "Mercator: {y}m, {x}m",
391
392
  Xe
392
393
  );
393
394
  case ue.WGS84:
394
- return (i) => ot(
395
- i,
395
+ return (n) => ot(
396
+ n,
396
397
  "WGS84: {y}°N {x}°E",
397
398
  Ye
398
399
  );
399
400
  default:
400
- return (i) => "";
401
+ return (n) => "";
401
402
  }
402
403
  }, et = () => {
403
- const e = Pe(kt);
404
+ const e = Pe(Ot);
404
405
  if (e === null)
405
406
  throw new Error("map context is null, please check the provider");
406
407
  return e;
407
- }, In = (e) => {
408
- const i = Le(null), { allowFullScreen: t, showMousePosition: n, projection: a } = e, [o] = k(
409
- new yi({
410
- view: new vi({
408
+ }, ki = (e) => {
409
+ const n = Le(null), { allowFullScreen: t, showMousePosition: i, projection: a } = e, [o] = I(
410
+ new Cn({
411
+ view: new wn({
411
412
  projection: a ?? ue.WGS84
412
413
  }),
413
- controls: Ei()
414
+ controls: bn()
414
415
  })
415
416
  );
416
- I(() => {
417
- o.getView().setCenter(e.center ?? xn(e.projection));
418
- }, [o, e.center, e.projection]), I(() => {
419
- o.getView().setZoom(e.zoom ?? An);
417
+ k(() => {
418
+ o.getView().setCenter(e.center ?? xi(e.projection));
419
+ }, [o, e.center, e.projection]), k(() => {
420
+ o.getView().setZoom(e.zoom ?? Ai);
420
421
  }, [o, e.zoom, e.projection]);
421
422
  const d = (u, v) => {
422
423
  v.getControls().forEach((S) => {
423
424
  S instanceof u && v.removeControl(S);
424
425
  });
425
426
  };
426
- return I(() => {
427
- o.setTarget(i.current), t !== void 0 && t ? o.addControl(new st()) : d(st, o);
428
- }, [o, t]), I(() => {
429
- n !== void 0 && n ? (d(Ge, o), o.addControl(
427
+ return k(() => {
428
+ o.setTarget(n.current), t !== void 0 && t ? o.addControl(new st()) : d(st, o);
429
+ }, [o, t]), k(() => {
430
+ i !== void 0 && i ? (d(Ge, o), o.addControl(
430
431
  new Ge({
431
- coordinateFormat: kn(a ?? ue.WGS84),
432
+ coordinateFormat: Ii(a ?? ue.WGS84),
432
433
  projection: a ?? ue.WGS84,
433
434
  undefinedHTML: "&nbsp;"
434
435
  })
435
436
  )) : d(Ge, o);
436
- }, [o, n, a]), /* @__PURE__ */ D(Mn, { value: o, children: [
437
- /* @__PURE__ */ l("div", { className: "map", ref: i }),
437
+ }, [o, i, a]), /* @__PURE__ */ D(Mi, { value: o, children: [
438
+ /* @__PURE__ */ l("div", { className: "map", ref: n }),
438
439
  e.children
439
440
  ] });
440
- }, It = Se(null), On = It.Provider, Dn = () => {
441
- const e = Pe(It);
441
+ }, Dt = Se(null), Oi = Dt.Provider, Di = () => {
442
+ const e = Pe(Dt);
442
443
  if (e === null)
443
444
  throw new Error("tile layer context is null, please check the provider");
444
445
  return e;
445
- }, Rn = ({ options: e, children: i }) => {
446
- const t = et(), [n] = k(new wi(e));
447
- return I(() => (t.addLayer(n), () => {
448
- t.removeLayer(n);
449
- }), [t, n]), /* @__PURE__ */ l(On, { value: n, children: i });
450
- }, Ot = Se(null), Bn = Ot.Provider, Nn = () => {
451
- const e = Pe(Ot);
446
+ }, Ri = ({ options: e, children: n }) => {
447
+ const t = et(), [i] = I(new _n(e));
448
+ return k(() => (t.addLayer(i), () => {
449
+ t.removeLayer(i);
450
+ }), [t, i]), /* @__PURE__ */ l(Oi, { value: i, children: n });
451
+ }, Rt = Se(null), Bi = Rt.Provider, Ni = () => {
452
+ const e = Pe(Rt);
452
453
  if (e === null)
453
454
  throw new Error("vector layer context is null, please check the provider");
454
455
  return e;
455
- }, Fn = ({ children: e }) => {
456
- const i = et(), [t] = k(new bi());
457
- return I(() => (i.addLayer(t), () => {
458
- i.removeLayer(t);
459
- }), [i, t]), /* @__PURE__ */ l(Bn, { value: t, children: e });
460
- }, Dt = Se(null), Hn = Dt.Provider, Gn = () => {
461
- const e = Pe(Dt);
456
+ }, Fi = ({ children: e }) => {
457
+ const n = et(), [t] = I(new Sn());
458
+ return k(() => (n.addLayer(t), () => {
459
+ n.removeLayer(t);
460
+ }), [n, t]), /* @__PURE__ */ l(Bi, { value: t, children: e });
461
+ }, Bt = Se(null), Hi = Bt.Provider, Gi = () => {
462
+ const e = Pe(Bt);
462
463
  if (e === null)
463
464
  throw new Error("vector source context is null, please check the provider");
464
465
  return e;
465
- }, Vn = ({ children: e }) => {
466
- const i = Nn(), [t] = k(new Ti());
467
- return I(() => {
468
- i.setSource(t);
469
- }, [t, i]), /* @__PURE__ */ l(Hn, { value: t, children: e });
470
- }, zn = ({ geometry: e }) => {
471
- const i = Gn();
472
- return I(() => {
473
- const n = new Tt().readFeature(e);
474
- return i.addFeature(n), () => {
475
- i.removeFeature(n);
466
+ }, Vi = ({ children: e }) => {
467
+ const n = Ni(), [t] = I(new Ln());
468
+ return k(() => {
469
+ n.setSource(t);
470
+ }, [t, n]), /* @__PURE__ */ l(Hi, { value: t, children: e });
471
+ }, zi = ({ geometry: e }) => {
472
+ const n = Gi();
473
+ return k(() => {
474
+ const i = new _t().readFeature(e);
475
+ return n.addFeature(i), () => {
476
+ n.removeFeature(i);
476
477
  };
477
- }, [e, i]), null;
478
- }, $n = (e) => {
479
- const i = Dn();
480
- return I(() => {
481
- i.setSource(new _i());
482
- }, [i]), null;
483
- }, Un = ({
478
+ }, [e, n]), null;
479
+ }, $i = (e) => {
480
+ const n = Di();
481
+ return k(() => {
482
+ n.setSource(new Pn());
483
+ }, [n]), null;
484
+ }, Ui = ({
484
485
  drawType: e,
485
- onPolygonSelected: i
486
+ onPolygonSelected: n
486
487
  }) => {
487
488
  const t = et();
488
- return I(() => {
489
- const n = {
489
+ return k(() => {
490
+ const i = {
490
491
  type: "Circle"
491
492
  /* CIRCLE */
492
493
  };
493
494
  switch (e) {
494
495
  case re.BOX:
495
- n.geometryFunction = Li();
496
+ i.geometryFunction = An();
496
497
  break;
497
498
  case re.POLYGON:
498
- n.type = "Polygon";
499
+ i.type = "Polygon";
499
500
  break;
500
501
  default:
501
502
  return;
502
503
  }
503
- const a = new Si(n);
504
+ const a = new Mn(i);
504
505
  t.addInteraction(a);
505
506
  const o = (d) => {
506
- const v = new Tt().writeGeometryObject(d.feature.getGeometry());
507
- i == null || i(v);
507
+ const v = new _t().writeGeometryObject(d.feature.getGeometry());
508
+ n == null || n(v);
508
509
  };
509
510
  return a.on("drawend", o), () => {
510
511
  a.un("drawend", o), t.removeInteraction(a);
511
512
  };
512
- }, [i, e, t]), null;
513
+ }, [n, e, t]), null;
513
514
  };
514
- const Wn = (e) => {
515
- const i = (t) => {
516
- const n = fi(t);
517
- e.onPolygonSelection(n);
515
+ const Wi = (e) => {
516
+ const n = (t) => {
517
+ const i = En(t);
518
+ e.onPolygonSelection(i);
518
519
  };
519
- return /* @__PURE__ */ D(In, { allowFullScreen: !0, showMousePosition: !0, children: [
520
- /* @__PURE__ */ l(Rn, { children: /* @__PURE__ */ l($n, {}) }),
521
- e.selectionPolygon && /* @__PURE__ */ l(Fn, { children: /* @__PURE__ */ l(Vn, { children: /* @__PURE__ */ l(zn, { geometry: e.selectionPolygon }) }) }),
520
+ return /* @__PURE__ */ D(ki, { allowFullScreen: !0, showMousePosition: !0, children: [
521
+ /* @__PURE__ */ l(Ri, { children: /* @__PURE__ */ l($i, {}) }),
522
+ e.selectionPolygon && /* @__PURE__ */ l(Fi, { children: /* @__PURE__ */ l(Vi, { children: /* @__PURE__ */ l(zi, { geometry: e.selectionPolygon }) }) }),
522
523
  e.children,
523
524
  e.drawType !== void 0 && /* @__PURE__ */ l(
524
- Un,
525
+ Ui,
525
526
  {
526
527
  drawType: e.drawType,
527
- onPolygonSelected: i
528
+ onPolygonSelected: n
528
529
  }
529
530
  )
530
531
  ] });
531
- }, Ve = 1.5, jn = 80, Kn = Me(
532
+ }, Ve = 1.5, Ki = 80, ji = Me(
532
533
  (e) => Re({
533
534
  map: {
534
535
  height: "100%",
@@ -543,7 +544,7 @@ const Wn = (e) => {
543
544
  },
544
545
  contentContainer: {
545
546
  marginTop: e.spacing(Ve),
546
- width: e.spacing(jn)
547
+ width: e.spacing(Ki)
547
548
  },
548
549
  filtersContainer: {
549
550
  display: "flex",
@@ -553,9 +554,9 @@ const Wn = (e) => {
553
554
  marginLeft: e.spacing(1)
554
555
  }
555
556
  })
556
- ), Ro = (e) => {
557
+ ), No = (e) => {
557
558
  var v;
558
- const [i, t] = k(), [n, a] = k(), o = Kn(), d = (C) => {
559
+ const [n, t] = I(), [i, a] = I(), o = ji(), d = (C) => {
559
560
  a(C), t(void 0), e.handlePolygonSelected(C);
560
561
  }, u = () => {
561
562
  a(void 0), e.handlePolygonReset();
@@ -564,12 +565,12 @@ const Wn = (e) => {
564
565
  /* @__PURE__ */ D("div", { className: `${o.absolute}`, children: [
565
566
  /* @__PURE__ */ D(We, { className: o.filtersContainer, children: [
566
567
  /* @__PURE__ */ l(
567
- Pn,
568
+ Pi,
568
569
  {
569
570
  onCancelDraw: () => t(void 0),
570
571
  onReset: u,
571
572
  onStartDraw: t,
572
- isSelectionEnabled: i !== void 0
573
+ isSelectionEnabled: n !== void 0
573
574
  }
574
575
  ),
575
576
  (v = e.filters) == null ? void 0 : v.map((C, S) => /* @__PURE__ */ l("div", { className: o.filtersMargin, children: C }, S))
@@ -577,33 +578,33 @@ const Wn = (e) => {
577
578
  /* @__PURE__ */ l(We, { color: "red", className: `${o.contentContainer}`, children: e.children })
578
579
  ] }),
579
580
  /* @__PURE__ */ l(
580
- Wn,
581
+ Wi,
581
582
  {
582
583
  children: e.mapContent,
583
584
  onPolygonSelection: d,
584
- drawType: i,
585
- selectionPolygon: n
585
+ drawType: n,
586
+ selectionPolygon: i
586
587
  }
587
588
  )
588
589
  ] });
589
590
  };
590
- function qn(e) {
591
- const { headCells: i, order: t, orderBy: n, onRequestSort: a, isCollapseable: o } = e, d = (u) => (v) => {
591
+ function qi(e) {
592
+ const { headCells: n, order: t, orderBy: i, onRequestSort: a, isCollapseable: o } = e, d = (u) => (v) => {
592
593
  a(v, u);
593
594
  };
594
- return /* @__PURE__ */ l(Pi, { children: /* @__PURE__ */ D(ke, { children: [
595
+ return /* @__PURE__ */ l(xn, { children: /* @__PURE__ */ D(Ie, { children: [
595
596
  o && /* @__PURE__ */ l(we, {}),
596
- i.map((u) => /* @__PURE__ */ l(
597
+ n.map((u) => /* @__PURE__ */ l(
597
598
  we,
598
599
  {
599
600
  align: u.numeric ? "right" : "left",
600
601
  padding: u.disablePadding ? "none" : "default",
601
- sortDirection: n === u.id ? t : !1,
602
+ sortDirection: i === u.id ? t : !1,
602
603
  children: /* @__PURE__ */ l(
603
- Jt,
604
+ en,
604
605
  {
605
- active: n === u.id,
606
- direction: n === u.id ? t : "asc",
606
+ active: i === u.id,
607
+ direction: i === u.id ? t : "asc",
607
608
  onClick: d(u.id),
608
609
  children: u.label
609
610
  }
@@ -613,53 +614,58 @@ function qn(e) {
613
614
  ))
614
615
  ] }) });
615
616
  }
616
- function Yn(e) {
617
+ const Yi = St(/* @__PURE__ */ ft.createElement("path", {
618
+ d: "M7.41 8.59L12 13.17l4.59-4.58L18 10l-6 6-6-6 1.41-1.41z"
619
+ }), "KeyboardArrowDown"), Xi = St(/* @__PURE__ */ ft.createElement("path", {
620
+ d: "M7.41 15.41L12 10.83l4.59 4.58L18 14l-6-6-6 6z"
621
+ }), "KeyboardArrowUp");
622
+ function Zi(e) {
617
623
  const {
618
- cellsMetadata: i,
624
+ cellsMetadata: n,
619
625
  isRowSelected: t,
620
- item: n,
626
+ item: i,
621
627
  onRowSelected: a,
622
628
  rowIndex: o,
623
629
  isCollapseable: d,
624
630
  collapsedElement: u
625
- } = e, [v, C] = k(!1), S = i.length;
631
+ } = e, [v, C] = I(!1), S = n.length;
626
632
  return /* @__PURE__ */ D(oe, { children: [
627
- /* @__PURE__ */ D(ke, { hover: !0, selected: t, onClick: () => {
633
+ /* @__PURE__ */ D(Ie, { hover: !0, selected: t, onClick: () => {
628
634
  a == null || a(o);
629
635
  }, children: [
630
636
  d && /* @__PURE__ */ l(we, { padding: "checkbox", children: /* @__PURE__ */ l(
631
- Qt,
637
+ tn,
632
638
  {
633
639
  "aria-label": "expand row",
634
640
  size: "small",
635
641
  onClick: (L) => {
636
642
  L.stopPropagation(), C(!v);
637
643
  },
638
- children: v ? /* @__PURE__ */ l(Mi, {}) : /* @__PURE__ */ l(Ai, {})
644
+ children: v ? /* @__PURE__ */ l(Xi, {}) : /* @__PURE__ */ l(Yi, {})
639
645
  }
640
646
  ) }),
641
- i.map((L) => /* @__PURE__ */ l(
647
+ n.map((L) => /* @__PURE__ */ l(
642
648
  we,
643
649
  {
644
650
  align: L.numeric ? "right" : "left",
645
651
  padding: L.disablePadding ? "none" : "default",
646
- children: L.transform ? L.transform(n[L.id]) : n[L.id]
652
+ children: L.transform ? L.transform(i[L.id]) : i[L.id]
647
653
  },
648
654
  L.id + o.toString()
649
655
  ))
650
656
  ] }),
651
- d && /* @__PURE__ */ l(ke, { children: /* @__PURE__ */ l(
657
+ d && /* @__PURE__ */ l(Ie, { children: /* @__PURE__ */ l(
652
658
  we,
653
659
  {
654
660
  style: { paddingBottom: 0, paddingTop: 0 },
655
661
  colSpan: S + 1,
656
- children: /* @__PURE__ */ l(ei, { in: v, unmountOnExit: !0, timeout: "auto", children: u == null ? void 0 : u(n) })
662
+ children: /* @__PURE__ */ l(nn, { in: v, unmountOnExit: !0, timeout: "auto", children: u == null ? void 0 : u(i) })
657
663
  }
658
664
  ) })
659
665
  ] });
660
666
  }
661
- function Bo(e) {
662
- const [i, t] = k(""), [n, a] = k("asc"), {
667
+ function Fo(e) {
668
+ const [n, t] = I(""), [i, a] = I("asc"), {
663
669
  cellsMetadata: o,
664
670
  items: d,
665
671
  onRequestSort: u,
@@ -670,27 +676,27 @@ function Bo(e) {
670
676
  page: L,
671
677
  rowsPerPage: R,
672
678
  count: z,
673
- handleChangePage: K,
679
+ handleChangePage: j,
674
680
  handleChangeRowsPerPage: Y
675
681
  } = e;
676
- return /* @__PURE__ */ D(ti, { component: We, children: [
677
- /* @__PURE__ */ D(ii, { size: A ? "small" : "medium", children: [
682
+ return /* @__PURE__ */ D(rn, { component: We, children: [
683
+ /* @__PURE__ */ D(on, { size: A ? "small" : "medium", children: [
678
684
  /* @__PURE__ */ l(
679
- qn,
685
+ qi,
680
686
  {
681
687
  headCells: o,
682
688
  onRequestSort: (X, U) => {
683
- const V = i === U && n === "asc";
689
+ const V = n === U && i === "asc";
684
690
  a(V ? "desc" : "asc"), t(U), u(U, V ? "desc" : "asc");
685
691
  },
686
- order: n,
687
- orderBy: i,
692
+ order: i,
693
+ orderBy: n,
688
694
  isCollapseable: C
689
695
  }
690
696
  ),
691
- /* @__PURE__ */ D(ni, { children: [
697
+ /* @__PURE__ */ D(sn, { children: [
692
698
  d.map((X, U) => /* @__PURE__ */ l(
693
- Yn,
699
+ Zi,
694
700
  {
695
701
  item: X,
696
702
  rowIndex: U,
@@ -703,7 +709,7 @@ function Bo(e) {
703
709
  U
704
710
  )),
705
711
  (d.length === 0 || R > d.length) && /* @__PURE__ */ l(
706
- ke,
712
+ Ie,
707
713
  {
708
714
  style: {
709
715
  height: (A ? 33 : 53) * (R - d.length)
@@ -712,7 +718,7 @@ function Bo(e) {
712
718
  we,
713
719
  {
714
720
  colSpan: C ? o.length + 1 : o.length,
715
- children: d.length === 0 && /* @__PURE__ */ l(ri, { align: "center", children: "No results :(" })
721
+ children: d.length === 0 && /* @__PURE__ */ l(an, { align: "center", children: "No results :(" })
716
722
  }
717
723
  )
718
724
  }
@@ -720,38 +726,38 @@ function Bo(e) {
720
726
  ] })
721
727
  ] }),
722
728
  /* @__PURE__ */ l(
723
- oi,
729
+ ln,
724
730
  {
725
731
  rowsPerPage: R,
726
732
  rowsPerPageOptions: [5, 10],
727
733
  component: "div",
728
734
  count: z,
729
735
  page: L,
730
- onPageChange: K,
736
+ onPageChange: j,
731
737
  onRowsPerPageChange: Y
732
738
  }
733
739
  )
734
740
  ] });
735
741
  }
736
- const No = (e) => {
737
- const { children: i, ...t } = e;
738
- return /* @__PURE__ */ l(xi, { ...t, children: i });
739
- }, Fo = (e) => {
740
- const { children: i, ...t } = e;
741
- return /* @__PURE__ */ l(ki, { ...t, children: i });
742
- }, dt = (e) => e * Math.PI / 180, Ae = (e) => e * (180 / Math.PI), Xn = (e) => 0.05 * (5916575505e-1 / Math.pow(2, e - 1) / 2) * (Math.cos(dt(85.362 / 2)) / Math.sin(dt(85.362 / 2)));
743
- const Zn = (e) => {
744
- const i = he(), t = Le(null), [n, a] = k({ x: 0, y: 0 });
745
- return I(() => {
746
- i.screenSpaceEventHandler.setInputAction(
742
+ const Ho = (e) => {
743
+ const { children: n, ...t } = e;
744
+ return /* @__PURE__ */ l(In, { ...t, children: n });
745
+ }, Go = (e) => {
746
+ const { children: n, ...t } = e;
747
+ return /* @__PURE__ */ l(kn, { ...t, children: n });
748
+ }, dt = (e) => e * Math.PI / 180, Ae = (e) => e * (180 / Math.PI), Ji = (e) => 0.05 * (5916575505e-1 / Math.pow(2, e - 1) / 2) * (Math.cos(dt(85.362 / 2)) / Math.sin(dt(85.362 / 2)));
749
+ const Qi = (e) => {
750
+ const n = he(), t = Le(null), [i, a] = I({ x: 0, y: 0 });
751
+ return k(() => {
752
+ n.screenSpaceEventHandler.setInputAction(
747
753
  (o) => {
748
754
  o != null && o.endPosition && a({ ...o.endPosition });
749
755
  },
750
- St.MOUSE_MOVE
756
+ Pt.MOUSE_MOVE
751
757
  );
752
- }, [t, i]), I(() => {
753
- const o = i.scene.globe.ellipsoid, d = i.camera.pickEllipsoid(
754
- new me(n.x, n.y),
758
+ }, [t, n]), k(() => {
759
+ const o = n.scene.globe.ellipsoid, d = n.camera.pickEllipsoid(
760
+ new me(i.x, i.y),
755
761
  o
756
762
  );
757
763
  if (d) {
@@ -760,7 +766,7 @@ const Zn = (e) => {
760
766
  let v = "";
761
767
  switch (e.projection) {
762
768
  case ue.WEB_MERCATOR: {
763
- const S = new zi(o).project(u);
769
+ const S = new $n(o).project(u);
764
770
  v = `Mercator: ${S.y.toFixed(
765
771
  Xe
766
772
  )}m, ${S.x.toFixed(Xe)}m`, t.current.style.width = "220px";
@@ -779,7 +785,7 @@ const Zn = (e) => {
779
785
  t.current.innerHTML = v;
780
786
  }
781
787
  }
782
- }, [n, t, i, e.projection]), /* @__PURE__ */ l("div", { className: "trackerPosition", ref: t });
788
+ }, [i, t, n, e.projection]), /* @__PURE__ */ l("div", { className: "trackerPosition", ref: t });
783
789
  };
784
790
  const ze = [
785
791
  1,
@@ -814,12 +820,12 @@ const ze = [
814
820
  2e7,
815
821
  3e7,
816
822
  5e7
817
- ], Jn = (e, i, t, n) => {
818
- const a = Q(n, "METERS_UNIT") ?? "m", o = Q(n, "KILOMETERS_UNIT") ?? "km", d = {
823
+ ], er = (e, n, t, i) => {
824
+ const a = Q(i, "METERS_UNIT") ?? "m", o = Q(i, "KILOMETERS_UNIT") ?? "km", d = {
819
825
  barWidth: void 0,
820
826
  distanceLabel: void 0,
821
- lastLegendUpdate: i.lastLegendUpdate
822
- }, u = new Ui(), v = new Date().getTime();
827
+ lastLegendUpdate: n.lastLegendUpdate
828
+ }, u = new Wn(), v = new Date().getTime();
823
829
  if (v < d.lastLegendUpdate + 250)
824
830
  return;
825
831
  d.lastLegendUpdate = v;
@@ -827,49 +833,49 @@ const ze = [
827
833
  new Te(C / 2 | 0, S - 1)
828
834
  ), L = e.scene.camera.getPickRay(
829
835
  new Te(1 + C / 2 | 0, S - 1)
830
- ), R = e.scene.globe, z = R.pick(A, e.scene), K = R.pick(L, e.scene);
831
- if (!z || !K)
836
+ ), R = e.scene.globe, z = R.pick(A, e.scene), j = R.pick(L, e.scene);
837
+ if (!z || !j)
832
838
  return;
833
839
  const Y = R.ellipsoid.cartesianToCartographic(
834
840
  z
835
841
  ), F = R.ellipsoid.cartesianToCartographic(
836
- K
842
+ j
837
843
  );
838
844
  u.setEndPoints(Y, F);
839
845
  const X = u.surfaceDistance, U = 100;
840
846
  let V;
841
- for (let j = ze.length - 1; !Oe(V) && j >= 0; --j)
842
- ze[j] / X < U && (V = ze[j]);
847
+ for (let K = ze.length - 1; !Oe(V) && K >= 0; --K)
848
+ ze[K] / X < U && (V = ze[K]);
843
849
  if (Oe(V)) {
844
- let j = "";
845
- V >= 1e3 ? j = `${(V / 1e3).toString()} ${o}` : j = `${V.toString()} ${a}`, d.barWidth = V / X | 0, d.distanceLabel = j;
850
+ let K = "";
851
+ V >= 1e3 ? K = `${(V / 1e3).toString()} ${o}` : K = `${V.toString()} ${a}`, d.barWidth = V / X | 0, d.distanceLabel = K;
846
852
  }
847
853
  t(d);
848
- }, Qn = (e) => {
849
- const i = he(), [t, n] = k({
854
+ }, tr = (e) => {
855
+ const n = he(), [t, i] = I({
850
856
  barWidth: void 0,
851
857
  distanceLabel: void 0,
852
858
  lastLegendUpdate: -1
853
859
  });
854
- I(() => {
860
+ k(() => {
855
861
  const o = (v) => {
856
- Jn(
857
- i,
858
- t,
862
+ er(
859
863
  n,
864
+ t,
865
+ i,
860
866
  e.locale
861
867
  );
862
- }, d = new $i(), u = (v) => {
863
- i.scene.globe.tilesLoaded && (o(new MouseEvent("mouse")), d.removeAll());
868
+ }, d = new Un(), u = (v) => {
869
+ n.scene.globe.tilesLoaded && (o(new MouseEvent("mouse")), d.removeAll());
864
870
  };
865
- return d.add(i.scene.globe.tileLoadProgressEvent, u), i.camera.moveEnd.addEventListener(o), () => {
871
+ return d.add(n.scene.globe.tileLoadProgressEvent, u), n.camera.moveEnd.addEventListener(o), () => {
866
872
  try {
867
- Q(i, "_cesiumWidget") != null && i.camera.moveEnd.removeEventListener(o);
873
+ Q(n, "_cesiumWidget") != null && n.camera.moveEnd.removeEventListener(o);
868
874
  } catch (v) {
869
875
  console.log('CESIUM camera "moveEnd" remove listener failed', v);
870
876
  }
871
877
  };
872
- }, [i, e.locale, t]);
878
+ }, [n, e.locale, t]);
873
879
  const a = (o) => 5 + (125 - o) / 2;
874
880
  return /* @__PURE__ */ l("div", { className: "scalePosition", children: Oe(t.barWidth) && /* @__PURE__ */ D(oe, { children: [
875
881
  /* @__PURE__ */ l("div", { className: "distance-legend-label", children: t.distanceLabel }),
@@ -885,53 +891,53 @@ const ze = [
885
891
  }
886
892
  )
887
893
  ] }) });
888
- }, ie = {
894
+ }, ne = {
889
895
  MORPHING: ye.MORPHING,
890
896
  COLUMBUS_VIEW: ye.COLUMBUS_VIEW,
891
897
  SCENE2D: ye.SCENE2D,
892
898
  SCENE3D: ye.SCENE3D
893
899
  };
894
- const ut = (e, i) => {
895
- const n = Q(i.scene.globe, "_surface.tileProvider"), a = n._quadtree, o = i.canvas.height, d = Q(i.camera.frustum, "sseDenominator") ?? 1;
900
+ const ut = (e, n) => {
901
+ const i = Q(n.scene.globe, "_surface.tileProvider"), a = i._quadtree, o = n.canvas.height, d = Q(n.camera.frustum, "sseDenominator") ?? 1;
896
902
  for (let u = 0; u <= 19; u++)
897
- if (n.getLevelMaximumGeometricError(u) * o / (e * d) < a.maximumScreenSpaceError)
903
+ if (i.getLevelMaximumGeometricError(u) * o / (e * d) < a.maximumScreenSpaceError)
898
904
  return u;
899
905
  return null;
900
- }, er = (e, i) => {
906
+ }, nr = (e, n) => {
901
907
  e = e || 10;
902
908
  const t = [];
903
- let n = 1e5, a = 0;
904
- for (let o = 1e8; o > n; o = o - n) {
905
- const d = ut(o, i);
909
+ let i = 1e5, a = 0;
910
+ for (let o = 1e8; o > i; o = o - i) {
911
+ const d = ut(o, n);
906
912
  if (d === null)
907
913
  break;
908
914
  if (d !== a) {
909
- let u = o, v = o + n;
915
+ let u = o, v = o + i;
910
916
  for (; v - u > e; )
911
- o = u + (v - u) / 2, ut(o, i) === d ? u = o : v = o;
917
+ o = u + (v - u) / 2, ut(o, n) === d ? u = o : v = o;
912
918
  t.push({
913
919
  level: d,
914
920
  height: Math.round(o)
915
- }), a = d, t.length >= 2 && (n = (t[t.length - 2].height - o) / 1e3);
921
+ }), a = d, t.length >= 2 && (i = (t[t.length - 2].height - o) / 1e3);
916
922
  }
917
923
  }
918
924
  return t;
919
- }, tr = (e) => {
920
- const i = he(), [t, n] = k(1), a = er(1, i);
921
- return I(() => {
925
+ }, ir = (e) => {
926
+ const n = he(), [t, i] = I(1), a = nr(1, n);
927
+ return k(() => {
922
928
  const o = () => {
923
- const d = i.camera, u = 0.5;
929
+ const d = n.camera, u = 0.5;
924
930
  let v = 0;
925
- switch (i.scene.mode) {
926
- case ie.SCENE3D:
927
- v = i.scene.mapProjection.ellipsoid.cartesianToCartographic(
931
+ switch (n.scene.mode) {
932
+ case ne.SCENE3D:
933
+ v = n.scene.mapProjection.ellipsoid.cartesianToCartographic(
928
934
  d.positionWC
929
935
  ).height;
930
936
  break;
931
- case ie.SCENE2D:
937
+ case ne.SCENE2D:
932
938
  v = (d.frustum.right - d.frustum.left) * u;
933
939
  break;
934
- case ie.COLUMBUS_VIEW:
940
+ case ne.COLUMBUS_VIEW:
935
941
  v = d.position.z;
936
942
  break;
937
943
  default:
@@ -940,12 +946,12 @@ const ut = (e, i) => {
940
946
  }
941
947
  if (a.length > 0) {
942
948
  const C = a.reduce((S, A) => Math.abs(A.height - v) < Math.abs(S.height - v) ? A : S);
943
- n(C.level);
949
+ i(C.level);
944
950
  }
945
951
  };
946
- return i.camera.moveEnd.addEventListener(o), () => {
952
+ return n.camera.moveEnd.addEventListener(o), () => {
947
953
  try {
948
- Q(i, "_cesiumWidget") != null && i.camera.moveEnd.removeEventListener(o);
954
+ Q(n, "_cesiumWidget") != null && n.camera.moveEnd.removeEventListener(o);
949
955
  } catch (d) {
950
956
  console.log(
951
957
  'CESIUM camera "moveEnd"(from zoom tracker) remove listener failed',
@@ -953,64 +959,64 @@ const ut = (e, i) => {
953
959
  );
954
960
  }
955
961
  };
956
- }, [i, a.length]), /* @__PURE__ */ D("div", { className: "zoomLevel", children: [
962
+ }, [n, a.length]), /* @__PURE__ */ D("div", { className: "zoomLevel", children: [
957
963
  /* @__PURE__ */ l("div", { className: "zoomLevelValue", children: t }),
958
964
  /* @__PURE__ */ l("div", { className: "zoomLevelLabel", children: Q(e.locale, "ZOOM_LABEL") ?? "zoom" })
959
965
  ] });
960
966
  };
961
- const ir = -1, nr = (e) => {
962
- const i = he(), [t, n] = k(), { sceneModes: a } = e, o = (d) => a.findIndex((u) => u === d) > ir;
963
- return I(() => {
964
- n(i.scene.mode);
967
+ const rr = -1, or = (e) => {
968
+ const n = he(), [t, i] = I(), { sceneModes: a } = e, o = (d) => a.findIndex((u) => u === d) > rr;
969
+ return k(() => {
970
+ i(n.scene.mode);
965
971
  }, []), /* @__PURE__ */ D(oe, { children: [
966
- o(ie.SCENE3D) && /* @__PURE__ */ l(
972
+ o(ne.SCENE3D) && /* @__PURE__ */ l(
967
973
  be,
968
974
  {
969
975
  icon: /* @__PURE__ */ l(
970
976
  "div",
971
977
  {
972
- className: `mapViewIcon ${t === ie.SCENE3D ? "mapViewCurrent" : ""}`,
978
+ className: `mapViewIcon ${t === ne.SCENE3D ? "mapViewCurrent" : ""}`,
973
979
  children: /* @__PURE__ */ l("svg", { width: "100%", height: "100%", viewBox: "0 0 64 64", children: /* @__PURE__ */ l("path", { d: "m 32.401392,4.9330437 c -7.087603,0 -14.096095,2.884602 -19.10793,7.8946843 -5.0118352,5.010083 -7.9296167,11.987468 -7.9296167,19.072999 0,7.085531 2.9177815,14.097848 7.9296167,19.107931 4.837653,4.835961 11.541408,7.631372 18.374354,7.82482 0.05712,0.01231 0.454119,0.139729 0.454119,0.139729 l 0.03493,-0.104797 c 0.08246,7.84e-4 0.162033,0.03493 0.244525,0.03493 0.08304,0 0.161515,-0.03414 0.244526,-0.03493 l 0.03493,0.104797 c 0,0 0.309474,-0.129487 0.349323,-0.139729 6.867765,-0.168094 13.582903,-2.965206 18.444218,-7.82482 2.558195,-2.5573 4.551081,-5.638134 5.903547,-8.977584 1.297191,-3.202966 2.02607,-6.661489 2.02607,-10.130347 0,-6.237309 -2.366261,-12.31219 -6.322734,-17.116794 -0.0034,-0.02316 0.0049,-0.04488 0,-0.06986 -0.01733,-0.08745 -0.104529,-0.278855 -0.104797,-0.279458 -5.31e-4,-0.0012 -0.522988,-0.628147 -0.523984,-0.62878 -3.47e-4,-2.2e-4 -0.133444,-0.03532 -0.244525,-0.06987 C 51.944299,13.447603 51.751076,13.104317 51.474391,12.827728 46.462556,7.8176457 39.488996,4.9330437 32.401392,4.9330437 z m -2.130866,3.5281554 0.104797,9.6762289 c -4.111695,-0.08361 -7.109829,-0.423664 -9.257041,-0.943171 1.198093,-2.269271 2.524531,-4.124404 3.91241,-5.414496 2.167498,-2.0147811 3.950145,-2.8540169 5.239834,-3.3185619 z m 2.794579,0 c 1.280302,0.4754953 3.022186,1.3285948 5.065173,3.2486979 1.424667,1.338973 2.788862,3.303645 3.982275,5.728886 -2.29082,0.403367 -5.381258,0.621049 -8.942651,0.698645 L 33.065105,8.4611991 z m 5.728886,0.2445256 c 4.004072,1.1230822 7.793098,3.1481363 10.724195,6.0782083 0.03468,0.03466 0.07033,0.06991 0.104797,0.104797 -0.45375,0.313891 -0.923054,0.663002 -1.956205,1.082899 -0.647388,0.263114 -1.906242,0.477396 -2.829511,0.733577 -1.382296,-2.988132 -3.027146,-5.368585 -4.785716,-7.0213781 -0.422866,-0.397432 -0.835818,-0.6453247 -1.25756,-0.9781032 z m -15.33525,0.7685092 c -0.106753,0.09503 -0.207753,0.145402 -0.31439,0.244526 -1.684973,1.5662541 -3.298068,3.8232211 -4.680919,6.5672591 -0.343797,-0.14942 -1.035052,-0.273198 -1.292493,-0.419186 -0.956528,-0.542427 -1.362964,-1.022024 -1.537018,-1.292493 -0.0241,-0.03745 -0.01868,-0.0401 -0.03493,-0.06986 2.250095,-2.163342 4.948824,-3.869984 7.859752,-5.0302421 z m -9.641296,7.0912431 c 0.464973,0.571618 0.937729,1.169056 1.956205,1.746612 0.349907,0.198425 1.107143,0.335404 1.537018,0.523983 -1.20166,3.172984 -1.998037,7.051901 -2.165798,11.772162 C 14.256557,30.361384 12.934823,30.161483 12.280427,29.90959 10.644437,29.279855 9.6888882,28.674891 9.1714586,28.267775 8.6540289,27.860658 8.6474751,27.778724 8.6474751,27.778724 l -0.069864,0.03493 C 9.3100294,23.691285 11.163248,19.798527 13.817445,16.565477 z m 37.552149,0.523984 c 2.548924,3.289983 4.265057,7.202594 4.890513,11.318043 -0.650428,0.410896 -1.756876,1.001936 -3.563088,1.606882 -1.171552,0.392383 -3.163859,0.759153 -4.960377,1.117832 -0.04367,-4.752703 -0.784809,-8.591423 -1.88634,-11.807094 0.917574,-0.263678 2.170552,-0.486495 2.864443,-0.76851 1.274693,-0.518066 2.003942,-1.001558 2.654849,-1.467153 z m -31.439008,2.619917 c 2.487341,0.672766 5.775813,1.137775 10.479669,1.222628 l 0.104797,10.689263 0,0.03493 0,0.733577 c -5.435005,-0.09059 -9.512219,-0.519044 -12.610536,-1.117831 0.106127,-4.776683 0.879334,-8.55791 2.02607,-11.562569 z m 23.264866,0.31439 c 1.073459,3.067541 1.833795,6.821314 1.816476,11.702298 -3.054474,0.423245 -7.062018,0.648559 -11.702298,0.698644 l 0,-0.838373 -0.104796,-10.654331 c 4.082416,-0.0864 7.404468,-0.403886 9.990618,-0.908238 z M 8.2632205,30.922625 c 0.7558676,0.510548 1.5529563,1.013339 3.0041715,1.57195 0.937518,0.360875 2.612202,0.647642 3.91241,0.978102 0.112814,3.85566 0.703989,7.107756 1.606883,9.920754 -1.147172,-0.324262 -2.644553,-0.640648 -3.423359,-0.978102 -1.516688,-0.657177 -2.386627,-1.287332 -2.864443,-1.71168 -0.477816,-0.424347 -0.489051,-0.489051 -0.489051,-0.489051 L 9.8002387,40.319395 C 8.791691,37.621767 8.1584238,34.769583 8.1584238,31.900727 c 0,-0.330153 0.090589,-0.648169 0.1047967,-0.978102 z m 48.2763445,0.419186 c 0.0047,0.188973 0.06986,0.36991 0.06986,0.558916 0,2.938869 -0.620228,5.873558 -1.676747,8.628261 -0.07435,0.07583 -0.06552,0.07411 -0.454119,0.349323 -0.606965,0.429857 -1.631665,1.042044 -3.318562,1.676747 -1.208528,0.454713 -3.204964,0.850894 -5.135038,1.25756 0.84593,-2.765726 1.41808,-6.005357 1.606883,-9.815957 2.232369,-0.413371 4.483758,-0.840201 5.938479,-1.327425 1.410632,-0.472457 2.153108,-0.89469 2.96924,-1.327425 z m -38.530252,2.864443 c 3.208141,0.56697 7.372279,0.898588 12.575603,0.978103 l 0.174662,9.885821 c -4.392517,-0.06139 -8.106722,-0.320566 -10.863925,-0.803441 -1.051954,-2.664695 -1.692909,-6.043794 -1.88634,-10.060483 z m 26.793022,0.31439 c -0.246298,3.923551 -0.877762,7.263679 -1.816476,9.885822 -2.561957,0.361954 -5.766249,0.560708 -9.431703,0.62878 l -0.174661,-9.815957 c 4.491734,-0.04969 8.334769,-0.293032 11.42284,-0.698645 z M 12.035901,44.860585 c 0.09977,0.04523 0.105535,0.09465 0.209594,0.139729 1.337656,0.579602 3.441099,1.058072 5.589157,1.537018 1.545042,3.399208 3.548524,5.969402 5.589157,7.789888 -3.034411,-1.215537 -5.871615,-3.007978 -8.174142,-5.309699 -1.245911,-1.245475 -2.271794,-2.662961 -3.213766,-4.156936 z m 40.69605,0 c -0.941972,1.493975 -1.967855,2.911461 -3.213765,4.156936 -2.74253,2.741571 -6.244106,4.696717 -9.955686,5.868615 0.261347,-0.241079 0.507495,-0.394491 0.768509,-0.663713 1.674841,-1.727516 3.320792,-4.181056 4.645987,-7.265904 2.962447,-0.503021 5.408965,-1.122293 7.161107,-1.781544 0.284034,-0.106865 0.337297,-0.207323 0.593848,-0.31439 z m -31.404076,2.305527 c 2.645807,0.376448 5.701178,0.649995 9.466635,0.698645 l 0.139729,7.789888 c -1.38739,-0.480844 -3.316218,-1.29837 -5.659022,-3.388427 -1.388822,-1.238993 -2.743668,-3.0113 -3.947342,-5.100106 z m 20.365491,0.104797 c -1.04872,2.041937 -2.174337,3.779068 -3.353494,4.995309 -1.853177,1.911459 -3.425515,2.82679 -4.611055,3.353494 l -0.139729,-7.789887 c 3.13091,-0.05714 5.728238,-0.278725 8.104278,-0.558916 z" }) })
974
980
  }
975
981
  ),
976
982
  onClick: () => {
977
- i.scene.morphTo3D(), n(ie.SCENE3D);
983
+ n.scene.morphTo3D(), i(ne.SCENE3D);
978
984
  }
979
985
  }
980
986
  ),
981
- o(ie.SCENE2D) && /* @__PURE__ */ l(
987
+ o(ne.SCENE2D) && /* @__PURE__ */ l(
982
988
  be,
983
989
  {
984
990
  icon: /* @__PURE__ */ l(
985
991
  "div",
986
992
  {
987
- className: `mapViewIcon ${t === ie.SCENE2D ? "mapViewCurrent" : ""}`,
993
+ className: `mapViewIcon ${t === ne.SCENE2D ? "mapViewCurrent" : ""}`,
988
994
  children: /* @__PURE__ */ l("svg", { width: "100%", height: "100%", viewBox: "0 0 64 64", children: /* @__PURE__ */ l("path", { d: "m 2.9825053,17.550598 0,1.368113 0,26.267766 0,1.368113 1.36811,0 54.9981397,0 1.36811,0 0,-1.368113 0,-26.267766 0,-1.368113 -1.36811,0 -54.9981397,0 -1.36811,0 z m 2.73623,2.736226 10.3292497,0 0,10.466063 -10.3292497,0 0,-10.466063 z m 13.0654697,0 11.69737,0 0,10.466063 -11.69737,0 0,-10.466063 z m 14.43359,0 11.69737,0 0,10.466063 -11.69737,0 0,-10.466063 z m 14.43359,0 10.32926,0 0,10.466063 -10.32926,0 0,-10.466063 z m -41.9326497,13.202288 10.3292497,0 0,10.329252 -10.3292497,0 0,-10.329252 z m 13.0654697,0 11.69737,0 0,10.329252 -11.69737,0 0,-10.329252 z m 14.43359,0 11.69737,0 0,10.329252 -11.69737,0 0,-10.329252 z m 14.43359,0 10.32926,0 0,10.329252 -10.32926,0 0,-10.329252 z" }) })
989
995
  }
990
996
  ),
991
997
  onClick: () => {
992
- i.scene.morphTo2D(), n(ie.SCENE2D);
998
+ n.scene.morphTo2D(), i(ne.SCENE2D);
993
999
  }
994
1000
  }
995
1001
  ),
996
- o(ie.COLUMBUS_VIEW) && /* @__PURE__ */ l(
1002
+ o(ne.COLUMBUS_VIEW) && /* @__PURE__ */ l(
997
1003
  be,
998
1004
  {
999
1005
  icon: /* @__PURE__ */ l(
1000
1006
  "div",
1001
1007
  {
1002
- className: `mapViewIcon ${t === ie.COLUMBUS_VIEW ? "mapViewCurrent" : ""}`,
1008
+ className: `mapViewIcon ${t === ne.COLUMBUS_VIEW ? "mapViewCurrent" : ""}`,
1003
1009
  children: /* @__PURE__ */ l("svg", { width: "100%", height: "100%", viewBox: "0 0 64 64", children: /* @__PURE__ */ l("path", { d: "m 14.723969,17.675598 -0.340489,0.817175 -11.1680536,26.183638 -0.817175,1.872692 2.076986,0 54.7506996,0 2.07698,0 -0.81717,-1.872692 -11.16805,-26.183638 -0.34049,-0.817175 -0.91933,0 -32.414586,0 -0.919322,0 z m 1.838643,2.723916 6.196908,0 -2.928209,10.418977 -7.729111,0 4.460412,-10.418977 z m 9.02297,0 4.903049,0 0,10.418977 -7.831258,0 2.928209,-10.418977 z m 7.626964,0 5.584031,0 2.62176,10.418977 -8.205791,0 0,-10.418977 z m 8.410081,0 5.51593,0 4.46042,10.418977 -7.38863,0 -2.58772,-10.418977 z m -30.678091,13.142892 8.103649,0 -2.89416,10.282782 -9.6018026,0 4.3923136,-10.282782 z m 10.929711,0 8.614384,0 0,10.282782 -11.508544,0 2.89416,-10.282782 z m 11.338299,0 8.852721,0 2.58772,10.282782 -11.440441,0 0,-10.282782 z m 11.678781,0 7.86531,0 4.39231,10.282782 -9.6699,0 -2.58772,-10.282782 z" }) })
1004
1010
  }
1005
1011
  ),
1006
1012
  onClick: () => {
1007
- i.scene.morphToColumbusView(), n(ie.COLUMBUS_VIEW);
1013
+ n.scene.morphToColumbusView(), i(ne.COLUMBUS_VIEW);
1008
1014
  }
1009
1015
  }
1010
1016
  )
1011
1017
  ] });
1012
1018
  };
1013
- const rr = Me(
1019
+ const sr = Me(
1014
1020
  (e) => Re({
1015
1021
  mapContainer: {
1016
1022
  width: "60px",
@@ -1018,26 +1024,26 @@ const rr = Me(
1018
1024
  border: `${e.palette.background.paper} 2px solid`
1019
1025
  }
1020
1026
  })
1021
- ), or = (e) => {
1022
- const i = he(), { baseMaps: t } = e, [n, a] = k(" "), [o, d] = k(), u = rr();
1023
- I(() => {
1027
+ ), ar = (e) => {
1028
+ const n = he(), { baseMaps: t } = e, [i, a] = I(" "), [o, d] = I(), u = sr();
1029
+ k(() => {
1024
1030
  const C = t == null ? void 0 : t.maps.find((S) => S.isCurrent);
1025
1031
  C && (d(C), a(C.title !== void 0 ? C.title : " "));
1026
1032
  }, [t]);
1027
1033
  const v = (C) => {
1028
1034
  var S, A;
1029
1035
  if (t) {
1030
- (S = i.layersManager) == null || S.removeBaseMapLayers();
1036
+ (S = n.layersManager) == null || S.removeBaseMapLayers();
1031
1037
  const L = t.maps.find(
1032
1038
  (R) => R.id === C
1033
1039
  );
1034
- L && ((A = i.layersManager) == null || A.setBaseMapLayers(L), d(L), t.maps.forEach((R) => {
1040
+ L && ((A = n.layersManager) == null || A.setBaseMapLayers(L), d(L), t.maps.forEach((R) => {
1035
1041
  R.isCurrent = L === R;
1036
1042
  }));
1037
1043
  }
1038
1044
  };
1039
1045
  return /* @__PURE__ */ D(oe, { children: [
1040
- /* @__PURE__ */ l("label", { className: "mapLabel", children: n }),
1046
+ /* @__PURE__ */ l("label", { className: "mapLabel", children: i }),
1041
1047
  /* @__PURE__ */ l("ul", { className: "mapSelector", children: t == null ? void 0 : t.maps.map((C) => /* @__PURE__ */ l(
1042
1048
  "li",
1043
1049
  {
@@ -1066,9 +1072,9 @@ const rr = Me(
1066
1072
  )) })
1067
1073
  ] });
1068
1074
  };
1069
- const $e = "ic_settings_24px", sr = (e) => {
1070
- const [i, t] = k(!1), { sceneModes: n, baseMaps: a, locale: o } = e, d = Le(null), u = Q(o, "MAP_SETTINGS_DIALOG_TITLE") ?? "Map Settings", v = Q(o, "MAP_SETTINGS_SCENE_MODE_TITLE") ?? "Scene Mode", C = Q(o, "MAP_SETTINGS_BASE_MAP_TITLE") ?? "Base Map";
1071
- return I(() => {
1075
+ const $e = "ic_settings_24px", lr = (e) => {
1076
+ const [n, t] = I(!1), { sceneModes: i, baseMaps: a, locale: o } = e, d = Le(null), u = Q(o, "MAP_SETTINGS_DIALOG_TITLE") ?? "Map Settings", v = Q(o, "MAP_SETTINGS_SCENE_MODE_TITLE") ?? "Scene Mode", C = Q(o, "MAP_SETTINGS_BASE_MAP_TITLE") ?? "Base Map";
1077
+ return k(() => {
1072
1078
  const S = (A) => {
1073
1079
  var z;
1074
1080
  const L = A.target, R = Q(d, "current");
@@ -1094,31 +1100,31 @@ const $e = "ic_settings_24px", sr = (e) => {
1094
1100
  }
1095
1101
  ) }),
1096
1102
  onClick: () => {
1097
- t(!i);
1103
+ t(!n);
1098
1104
  }
1099
1105
  }
1100
1106
  ),
1101
- i && /* @__PURE__ */ l(
1107
+ n && /* @__PURE__ */ l(
1102
1108
  "div",
1103
1109
  {
1104
1110
  id: "dialog-portal-example",
1105
1111
  className: "settingsDialogPortal",
1106
1112
  ref: d,
1107
1113
  children: /* @__PURE__ */ D(
1108
- ci,
1114
+ hn,
1109
1115
  {
1110
- open: i,
1116
+ open: n,
1111
1117
  onClosed: () => {
1112
1118
  t(!1);
1113
1119
  },
1114
1120
  children: [
1115
- /* @__PURE__ */ l(di, { children: u }),
1116
- /* @__PURE__ */ D(ui, { children: [
1121
+ /* @__PURE__ */ l(pn, { children: u }),
1122
+ /* @__PURE__ */ D(mn, { children: [
1117
1123
  /* @__PURE__ */ l("h4", { className: "sectionLabel", children: v }),
1118
- /* @__PURE__ */ l(ae, { className: "mapScenesContainer", children: /* @__PURE__ */ l(nr, { sceneModes: n }) }),
1124
+ /* @__PURE__ */ l(ae, { className: "mapScenesContainer", children: /* @__PURE__ */ l(or, { sceneModes: i }) }),
1119
1125
  /* @__PURE__ */ l(ae, { className: "baseMapsContainer", children: a && /* @__PURE__ */ D(oe, { children: [
1120
1126
  /* @__PURE__ */ l("h4", { className: "sectionLabel", children: C }),
1121
- /* @__PURE__ */ l(or, { baseMaps: a })
1127
+ /* @__PURE__ */ l(ar, { baseMaps: a })
1122
1128
  ] }) })
1123
1129
  ] })
1124
1130
  ]
@@ -1128,7 +1134,7 @@ const $e = "ic_settings_24px", sr = (e) => {
1128
1134
  )
1129
1135
  ] });
1130
1136
  };
1131
- const ar = /* @__PURE__ */ l(
1137
+ const cr = /* @__PURE__ */ l(
1132
1138
  "svg",
1133
1139
  {
1134
1140
  xmlns: "http://www.w3.org/2000/svg",
@@ -1141,17 +1147,17 @@ const ar = /* @__PURE__ */ l(
1141
1147
  /* @__PURE__ */ l("circle", { cx: "270.1", cy: "56.3", r: "56.3" })
1142
1148
  ] })
1143
1149
  }
1144
- ), lr = ({ onClick: e }) => /* @__PURE__ */ l(ae, { onClick: e, className: "mapLegendToggleContainer", children: /* @__PURE__ */ l(be, { icon: ar, className: "mapLegendIcon" }) }), cr = ({
1145
- legend: { legendImg: e, legendDoc: i, layer: t },
1146
- docText: n,
1150
+ ), dr = ({ onClick: e }) => /* @__PURE__ */ l(ae, { onClick: e, className: "mapLegendToggleContainer", children: /* @__PURE__ */ l(be, { icon: cr, className: "mapLegendIcon" }) }), ur = ({
1151
+ legend: { legendImg: e, legendDoc: n, layer: t },
1152
+ docText: i,
1147
1153
  imgText: a
1148
1154
  }) => {
1149
1155
  const o = ge(() => {
1150
1156
  window.open(e, "_blank");
1151
1157
  }, [e]);
1152
1158
  ge(() => {
1153
- window.open(i, "_blank");
1154
- }, [i]);
1159
+ window.open(n, "_blank");
1160
+ }, [n]);
1155
1161
  const d = ge(() => {
1156
1162
  const C = /* @__PURE__ */ l(ae, { className: "layerNameContainer", children: /* @__PURE__ */ l(
1157
1163
  "h3",
@@ -1161,7 +1167,7 @@ const ar = /* @__PURE__ */ l(
1161
1167
  children: t
1162
1168
  }
1163
1169
  ) });
1164
- return (t ?? "").length > 15 ? /* @__PURE__ */ l(je, { content: t, children: C }) : C;
1170
+ return (t ?? "").length > 15 ? /* @__PURE__ */ l(Ke, { content: t, children: C }) : C;
1165
1171
  }, [t]), u = ge(() => [
1166
1172
  typeof e == "string" && /* @__PURE__ */ l(
1167
1173
  "a",
@@ -1173,17 +1179,17 @@ const ar = /* @__PURE__ */ l(
1173
1179
  children: a
1174
1180
  }
1175
1181
  ),
1176
- typeof i == "string" && /* @__PURE__ */ l(
1182
+ typeof n == "string" && /* @__PURE__ */ l(
1177
1183
  "a",
1178
1184
  {
1179
1185
  className: "legendAction",
1180
- href: i,
1186
+ href: n,
1181
1187
  target: "_blank",
1182
1188
  rel: "noreferrer",
1183
- children: n
1189
+ children: i
1184
1190
  }
1185
1191
  )
1186
- ], [e, a, i, n]);
1192
+ ], [e, a, n, i]);
1187
1193
  return /* @__PURE__ */ D(ae, { className: "mapLegend", children: [
1188
1194
  d(),
1189
1195
  /* @__PURE__ */ l(
@@ -1197,50 +1203,50 @@ const ar = /* @__PURE__ */ l(
1197
1203
  ),
1198
1204
  /* @__PURE__ */ l(ae, { className: "legendActionsContainer", children: u() })
1199
1205
  ] });
1200
- }, dr = ({
1206
+ }, hr = ({
1201
1207
  legends: e,
1202
- actionsTexts: { docText: i, imgText: t },
1203
- noLegendsText: n
1208
+ actionsTexts: { docText: n, imgText: t },
1209
+ noLegendsText: i
1204
1210
  }) => {
1205
- const a = ge(() => /* @__PURE__ */ l(ae, { className: "noLegendsContainer", children: /* @__PURE__ */ l("h2", { className: "noLegendsMsg", children: n }) }), [n]), o = ge(() => e.length ? e.map((d, u) => /* @__PURE__ */ l(
1206
- cr,
1211
+ const a = ge(() => /* @__PURE__ */ l(ae, { className: "noLegendsContainer", children: /* @__PURE__ */ l("h2", { className: "noLegendsMsg", children: i }) }), [i]), o = ge(() => e.length ? e.map((d, u) => /* @__PURE__ */ l(
1212
+ ur,
1207
1213
  {
1208
1214
  legend: d,
1209
- docText: i,
1215
+ docText: n,
1210
1216
  imgText: t
1211
1217
  },
1212
1218
  `${d.layer}_${u}`
1213
1219
  )) : a(), [e]);
1214
1220
  return /* @__PURE__ */ l(ae, { className: "mapLegendsList", children: o() });
1215
- }, ur = ({
1221
+ }, pr = ({
1216
1222
  isOpen: e,
1217
- toggleSidebar: i,
1223
+ toggleSidebar: n,
1218
1224
  title: t = "Map Legends",
1219
- noLegendsText: n = "No legends to display...",
1225
+ noLegendsText: i = "No legends to display...",
1220
1226
  actionsTexts: a = { docText: "Docs", imgText: "View Image" },
1221
1227
  legends: o = []
1222
1228
  }) => e ? /* @__PURE__ */ D(
1223
- hi,
1229
+ gn,
1224
1230
  {
1225
1231
  className: "mapLegendSidebarContainer",
1226
1232
  modal: !1,
1227
1233
  dismissible: !0,
1228
1234
  open: e,
1229
1235
  children: [
1230
- /* @__PURE__ */ l(pi, { className: "sidebarHeaderContainer", children: /* @__PURE__ */ l(mi, { className: "sidebarTitle", children: t }) }),
1231
- /* @__PURE__ */ D(gi, { className: "sidebarContent", children: [
1236
+ /* @__PURE__ */ l(fn, { className: "sidebarHeaderContainer", children: /* @__PURE__ */ l(yn, { className: "sidebarTitle", children: t }) }),
1237
+ /* @__PURE__ */ D(vn, { className: "sidebarContent", children: [
1232
1238
  /* @__PURE__ */ l(
1233
1239
  be,
1234
1240
  {
1235
- onClick: i,
1241
+ onClick: n,
1236
1242
  className: "mapLegendCloseBtn",
1237
1243
  icon: { icon: "close", size: "small" }
1238
1244
  }
1239
1245
  ),
1240
1246
  /* @__PURE__ */ l(
1241
- dr,
1247
+ hr,
1242
1248
  {
1243
- noLegendsText: n,
1249
+ noLegendsText: i,
1244
1250
  legends: o,
1245
1251
  actionsTexts: a
1246
1252
  }
@@ -1248,45 +1254,45 @@ const ar = /* @__PURE__ */ l(
1248
1254
  ] })
1249
1255
  ]
1250
1256
  }
1251
- ) : null, Rt = (e, i, t) => {
1252
- let n;
1257
+ ) : null, Nt = (e, n, t) => {
1258
+ let i;
1253
1259
  if (e.scene.mode !== ye.SCENE2D)
1254
- n = e.scene.pickPosition(new Te(i, t));
1260
+ i = e.scene.pickPosition(new Te(n, t));
1255
1261
  else {
1256
1262
  const a = e.scene.globe.ellipsoid;
1257
- n = e.camera.pickEllipsoid(new Te(i, t), a);
1263
+ i = e.camera.pickEllipsoid(new Te(n, t), a);
1258
1264
  }
1259
- return Be.fromCartesian(n);
1260
- }, hr = (e, i, t) => {
1261
- const n = Rt(e, i, t);
1265
+ return Be.fromCartesian(i);
1266
+ }, mr = (e, n, t) => {
1267
+ const i = Nt(e, n, t);
1262
1268
  return {
1263
1269
  type: "Feature",
1264
1270
  properties: {},
1265
1271
  geometry: {
1266
1272
  type: "Point",
1267
1273
  coordinates: [
1268
- le.toDegrees(n.longitude),
1269
- le.toDegrees(n.latitude)
1274
+ le.toDegrees(i.longitude),
1275
+ le.toDegrees(i.latitude)
1270
1276
  ]
1271
1277
  }
1272
1278
  };
1273
- }, pr = (e, i, t) => {
1279
+ }, gr = (e, n, t) => {
1274
1280
  try {
1275
- const n = Rt(e, i, t);
1281
+ const i = Nt(e, n, t);
1276
1282
  return {
1277
- longitude: le.toDegrees(n.longitude),
1278
- latitude: le.toDegrees(n.latitude)
1283
+ longitude: le.toDegrees(i.longitude),
1284
+ latitude: le.toDegrees(i.latitude)
1279
1285
  };
1280
1286
  } catch {
1281
1287
  return;
1282
1288
  }
1283
1289
  }, de = document.createElement("canvas"), te = de.getContext("2d"), ht = (e) => {
1284
- const n = (e == null ? void 0 : e.data) ?? [];
1285
- for (let a = 3; a < n.length; a += 4)
1286
- if (n[a] < 255)
1290
+ const i = (e == null ? void 0 : e.data) ?? [];
1291
+ for (let a = 3; a < i.length; a += 4)
1292
+ if (i[a] < 255)
1287
1293
  return !0;
1288
1294
  return !1;
1289
- }, mr = async (e, i) => (i && i.tileTransparencyCheckedCounter++, new Promise((t, n) => {
1295
+ }, fr = async (e, n) => (n && n.tileTransparencyCheckedCounter++, new Promise((t, i) => {
1290
1296
  try {
1291
1297
  te == null || te.clearRect(0, 0, de.width, de.height);
1292
1298
  let a;
@@ -1300,7 +1306,7 @@ const ar = /* @__PURE__ */ l(
1300
1306
  de.width,
1301
1307
  de.height
1302
1308
  ), d = ht(o);
1303
- d && i && (i.tileTransparencyCheckedCounter = i.maxTilesForTransparencyCheck), t(d);
1309
+ d && n && (n.tileTransparencyCheckedCounter = n.maxTilesForTransparencyCheck), t(d);
1304
1310
  return;
1305
1311
  } else
1306
1312
  a = new Image(), a.crossOrigin = "anonymous", a.src = e;
@@ -1312,21 +1318,21 @@ const ar = /* @__PURE__ */ l(
1312
1318
  de.width,
1313
1319
  de.height
1314
1320
  );
1315
- ht(o) ? (i && (i.tileTransparencyCheckedCounter = i.maxTilesForTransparencyCheck), t(!0)) : t(!1);
1321
+ ht(o) ? (n && (n.tileTransparencyCheckedCounter = n.maxTilesForTransparencyCheck), t(!0)) : t(!1);
1316
1322
  };
1317
1323
  } catch (a) {
1318
- console.error("Could not determine image transparency. Error => ", a), n(a);
1324
+ console.error("Could not determine image transparency. Error => ", a), i(a);
1319
1325
  }
1320
- })), xe = (e, i) => {
1321
- const { west: t, east: n, north: a, south: o } = e, {
1326
+ })), xe = (e, n) => {
1327
+ const { west: t, east: i, north: a, south: o } = e, {
1322
1328
  west: d,
1323
1329
  east: u,
1324
1330
  north: v,
1325
1331
  south: C
1326
- } = i;
1327
- return t >= d && n <= u && a <= v && o >= C;
1332
+ } = n;
1333
+ return t >= d && i <= u && a <= v && o >= C;
1328
1334
  }, Ne = 3, De = "hasTransparency";
1329
- function tt(e, i, t, n, a) {
1335
+ function tt(e, n, t, i, a) {
1330
1336
  return setTimeout(() => {
1331
1337
  var u;
1332
1338
  const o = (u = this.layerListInstance.find(
@@ -1337,7 +1343,7 @@ function tt(e, i, t, n, a) {
1337
1343
  }
1338
1344
  /* eslint-enable */
1339
1345
  )) == null ? void 0 : u.meta, d = Q(o, De) === !0;
1340
- this.tileTransparencyCheckedCounter < Ne && !d && mr(a == null ? void 0 : a.url, this).then(
1346
+ this.tileTransparencyCheckedCounter < Ne && !d && fr(a == null ? void 0 : a.url, this).then(
1341
1347
  (v) => {
1342
1348
  var C;
1343
1349
  (C = this.mapViewer.layersManager) == null || C.addMetaToLayer(
@@ -1347,80 +1353,80 @@ function tt(e, i, t, n, a) {
1347
1353
  );
1348
1354
  }
1349
1355
  );
1350
- }, 0), e(i, t, n, a);
1356
+ }, 0), e(n, t, i, a);
1351
1357
  }
1352
- class Bt extends Ze {
1353
- constructor(t, n) {
1358
+ class Ft extends Ze {
1359
+ constructor(t, i) {
1354
1360
  var a;
1355
1361
  super(t);
1356
1362
  J(this, "layerListInstance");
1357
1363
  J(this, "mapViewer");
1358
1364
  J(this, "maxTilesForTransparencyCheck", Ne);
1359
1365
  J(this, "tileTransparencyCheckedCounter", 0);
1360
- this.layerListInstance = (a = n.layersManager) == null ? void 0 : a.layerList, this.mapViewer = n;
1366
+ this.layerListInstance = (a = i.layersManager) == null ? void 0 : a.layerList, this.mapViewer = i;
1361
1367
  }
1362
- requestImage(t, n, a, o) {
1368
+ requestImage(t, i, a, o) {
1363
1369
  return tt.call(
1364
1370
  this,
1365
1371
  super.requestImage.bind(this),
1366
1372
  t,
1367
- n,
1373
+ i,
1368
1374
  a,
1369
1375
  o
1370
1376
  );
1371
1377
  }
1372
1378
  }
1373
- class Nt extends Je {
1374
- constructor(t, n) {
1379
+ class Ht extends Je {
1380
+ constructor(t, i) {
1375
1381
  var a;
1376
1382
  super(t);
1377
1383
  J(this, "layerListInstance");
1378
1384
  J(this, "mapViewer");
1379
1385
  J(this, "maxTilesForTransparencyCheck", Ne);
1380
1386
  J(this, "tileTransparencyCheckedCounter", 0);
1381
- this.layerListInstance = (a = n.layersManager) == null ? void 0 : a.layerList, this.mapViewer = n;
1387
+ this.layerListInstance = (a = i.layersManager) == null ? void 0 : a.layerList, this.mapViewer = i;
1382
1388
  }
1383
- requestImage(t, n, a, o) {
1389
+ requestImage(t, i, a, o) {
1384
1390
  return tt.call(
1385
1391
  this,
1386
1392
  super.requestImage.bind(this),
1387
1393
  t,
1388
- n,
1394
+ i,
1389
1395
  a,
1390
1396
  o
1391
1397
  );
1392
1398
  }
1393
1399
  }
1394
- class Ft extends Qe {
1395
- constructor(t, n) {
1400
+ class Gt extends Qe {
1401
+ constructor(t, i) {
1396
1402
  var a;
1397
1403
  super(t);
1398
1404
  J(this, "layerListInstance");
1399
1405
  J(this, "mapViewer");
1400
1406
  J(this, "maxTilesForTransparencyCheck", Ne);
1401
1407
  J(this, "tileTransparencyCheckedCounter", 0);
1402
- this.layerListInstance = (a = n.layersManager) == null ? void 0 : a.layerList, this.mapViewer = n;
1408
+ this.layerListInstance = (a = i.layersManager) == null ? void 0 : a.layerList, this.mapViewer = i;
1403
1409
  }
1404
- requestImage(t, n, a, o) {
1410
+ requestImage(t, i, a, o) {
1405
1411
  return tt.call(
1406
1412
  this,
1407
1413
  super.requestImage.bind(this),
1408
1414
  t,
1409
- n,
1415
+ i,
1410
1416
  a,
1411
1417
  o
1412
1418
  );
1413
1419
  }
1414
1420
  }
1415
- const gr = 1, fr = -1, pt = "TRANSPARENT_BASE_LAYER";
1416
- class yr {
1417
- constructor(i, t, n) {
1421
+ const yr = 1, vr = -1, pt = "TRANSPARENT_BASE_LAYER";
1422
+ class Er {
1423
+ constructor(n, t, i) {
1418
1424
  J(this, "mapViewer");
1419
1425
  J(this, "legendsList");
1420
1426
  J(this, "layerUpdated");
1421
1427
  J(this, "layers");
1422
1428
  J(this, "legendsExtractor");
1423
- this.mapViewer = i, this.layers = this.mapViewer.imageryLayers._layers, this.legendsList = [], this.legendsExtractor = t, this.layerUpdated = new Wi(), n && this.layerUpdated.addEventListener(n, this), this.mapViewer.shouldOptimizedTileRequests && (this.layerUpdated.addEventListener((a) => {
1429
+ this.mapViewer = n, this.layers = this.mapViewer.imageryLayers._layers, this.legendsList = [], this.legendsExtractor = t, this.layerUpdated = new Kn(), i && this.layerUpdated.addEventListener(i, this), this.mapViewer.shouldOptimizedTileRequests && (this.layerUpdated.addEventListener((a) => {
1424
1430
  const o = Object.keys(a);
1425
1431
  o.length === 1 && o[0] === De && (this.markRelevantLayersForExtent(), this.hideNonRelevantLayers());
1426
1432
  }), this.mapViewer.imageryLayers.layerRemoved.addEventListener(() => {
@@ -1437,23 +1443,23 @@ class yr {
1437
1443
  return this.layers;
1438
1444
  }
1439
1445
  /* eslint-disable */
1440
- addMetaToLayer(i, t) {
1441
- const n = this.layers.find(t);
1442
- n && (n.meta = { ...n.meta ?? {}, ...i }, this.setLegends(), this.layerUpdated.raiseEvent(i));
1446
+ addMetaToLayer(n, t) {
1447
+ const i = this.layers.find(t);
1448
+ i && (i.meta = { ...i.meta ?? {}, ...n }, this.setLegends(), this.layerUpdated.raiseEvent(n));
1443
1449
  }
1444
1450
  /* eslint-enable */
1445
- setBaseMapLayers(i) {
1446
- i.baseRasteLayers.sort(
1447
- (n, a) => n.zIndex - a.zIndex
1448
- ).forEach((n, a) => {
1449
- this.addRasterLayer(n, a, i.id);
1451
+ setBaseMapLayers(n) {
1452
+ n.baseRasteLayers.sort(
1453
+ (i, a) => i.zIndex - a.zIndex
1454
+ ).forEach((i, a) => {
1455
+ this.addRasterLayer(i, a, n.id);
1450
1456
  }), this.mapViewer.shouldOptimizedTileRequests && (this.removeLayer(pt), this.addTransparentImageryProvider());
1451
1457
  }
1452
- addRasterLayer(i, t, n) {
1458
+ addRasterLayer(n, t, i) {
1453
1459
  let a;
1454
- switch (i.type) {
1460
+ switch (n.type) {
1455
1461
  case "XYZ_LAYER": {
1456
- const o = i.options, d = this.mapViewer.shouldOptimizedTileRequests ? new Bt(o, this.mapViewer) : new Ze(o);
1462
+ const o = n.options, d = this.mapViewer.shouldOptimizedTileRequests ? new Ft(o, this.mapViewer) : new Ze(o);
1457
1463
  a = this.mapViewer.imageryLayers.addImageryProvider(
1458
1464
  d,
1459
1465
  t
@@ -1461,7 +1467,7 @@ class yr {
1461
1467
  break;
1462
1468
  }
1463
1469
  case "WMS_LAYER": {
1464
- const o = i.options, d = this.mapViewer.shouldOptimizedTileRequests ? new Nt(o, this.mapViewer) : new Je(o);
1470
+ const o = n.options, d = this.mapViewer.shouldOptimizedTileRequests ? new Ht(o, this.mapViewer) : new Je(o);
1465
1471
  a = this.mapViewer.imageryLayers.addImageryProvider(
1466
1472
  d,
1467
1473
  t
@@ -1469,7 +1475,7 @@ class yr {
1469
1475
  break;
1470
1476
  }
1471
1477
  case "WMTS_LAYER": {
1472
- const o = i.options, d = this.mapViewer.shouldOptimizedTileRequests ? new Ft(o, this.mapViewer) : new Qe(o);
1478
+ const o = n.options, d = this.mapViewer.shouldOptimizedTileRequests ? new Gt(o, this.mapViewer) : new Qe(o);
1473
1479
  a = this.mapViewer.imageryLayers.addImageryProvider(
1474
1480
  d,
1475
1481
  t
@@ -1477,13 +1483,13 @@ class yr {
1477
1483
  break;
1478
1484
  }
1479
1485
  }
1480
- a && (a.alpha = i.opacity, a.meta = {
1481
- parentBasetMapId: n,
1482
- ...i
1483
- }, i.show !== void 0 && (a.show = i.show));
1486
+ a && (a.alpha = n.opacity, a.meta = {
1487
+ parentBasetMapId: i,
1488
+ ...n
1489
+ }, n.show !== void 0 && (a.show = n.show));
1484
1490
  }
1485
- removeLayer(i) {
1486
- const t = this.findLayerById(i);
1491
+ removeLayer(n) {
1492
+ const t = this.findLayerById(n);
1487
1493
  t && this.mapViewer.imageryLayers.remove(t, !0);
1488
1494
  }
1489
1495
  removeBaseMapLayers() {
@@ -1497,60 +1503,60 @@ class yr {
1497
1503
  this.mapViewer.imageryLayers.remove(t, !0);
1498
1504
  });
1499
1505
  }
1500
- raise(i, t = 1) {
1501
- const n = this.findLayerById(i), a = (n == null ? void 0 : n.meta).zIndex;
1502
- if (n)
1506
+ raise(n, t = 1) {
1507
+ const i = this.findLayerById(n), a = (i == null ? void 0 : i.meta).zIndex;
1508
+ if (i)
1503
1509
  for (let o = 0; o < t; o++)
1504
- this.mapViewer.imageryLayers.raise(n);
1505
- this.updateLayersOrder(i, a, a + t);
1510
+ this.mapViewer.imageryLayers.raise(i);
1511
+ this.updateLayersOrder(n, a, a + t);
1506
1512
  }
1507
- lower(i, t = 1) {
1508
- const n = this.findLayerById(i), a = (n == null ? void 0 : n.meta).zIndex, o = this.getBaseLayersCount(), d = this.mapViewer.imageryLayers.indexOf(
1509
- n
1513
+ lower(n, t = 1) {
1514
+ const i = this.findLayerById(n), a = (i == null ? void 0 : i.meta).zIndex, o = this.getBaseLayersCount(), d = this.mapViewer.imageryLayers.indexOf(
1515
+ i
1510
1516
  );
1511
- if (d - t <= o && (t = d - o), n)
1517
+ if (d - t <= o && (t = d - o), i)
1512
1518
  for (let u = 0; u < t; u++)
1513
- this.mapViewer.imageryLayers.lower(n);
1514
- this.updateLayersOrder(i, a, a - t);
1519
+ this.mapViewer.imageryLayers.lower(i);
1520
+ this.updateLayersOrder(n, a, a - t);
1515
1521
  }
1516
- raiseToTop(i) {
1517
- const t = this.findLayerById(i), n = (t == null ? void 0 : t.meta).zIndex;
1522
+ raiseToTop(n) {
1523
+ const t = this.findLayerById(n), i = (t == null ? void 0 : t.meta).zIndex;
1518
1524
  t && this.mapViewer.imageryLayers.raiseToTop(t), this.updateLayersOrder(
1519
- i,
1520
1525
  n,
1526
+ i,
1521
1527
  this.mapViewer.imageryLayers.length - this.getBaseLayersCount() - 1
1522
1528
  );
1523
1529
  }
1524
- lowerToBottom(i) {
1525
- const t = this.findLayerById(i), n = this.getBaseLayersCount(), a = this.mapViewer.imageryLayers.indexOf(
1530
+ lowerToBottom(n) {
1531
+ const t = this.findLayerById(n), i = this.getBaseLayersCount(), a = this.mapViewer.imageryLayers.indexOf(
1526
1532
  t
1527
1533
  );
1528
- this.lower(i, a - n);
1534
+ this.lower(n, a - i);
1529
1535
  }
1530
1536
  length() {
1531
1537
  return this.mapViewer.imageryLayers.length;
1532
1538
  }
1533
- show(i, t) {
1534
- const n = this.get(i);
1535
- n !== void 0 && (n.show = t);
1539
+ show(n, t) {
1540
+ const i = this.get(n);
1541
+ i !== void 0 && (i.show = t);
1536
1542
  }
1537
- showAllNotBase(i) {
1538
- this.layers.filter((n) => !Q(n.meta, "parentBasetMapId")).forEach((n) => {
1543
+ showAllNotBase(n) {
1544
+ this.layers.filter((i) => !Q(i.meta, "parentBasetMapId")).forEach((i) => {
1539
1545
  var a;
1540
- this.show((a = n.meta) == null ? void 0 : a.id, i);
1546
+ this.show((a = i.meta) == null ? void 0 : a.id, n);
1541
1547
  });
1542
1548
  }
1543
- get(i) {
1544
- const t = this.findLayerById(i), n = this.mapViewer.imageryLayers.indexOf(
1549
+ get(n) {
1550
+ const t = this.findLayerById(n), i = this.mapViewer.imageryLayers.indexOf(
1545
1551
  t
1546
1552
  );
1547
- return n ? this.mapViewer.imageryLayers.get(n) : void 0;
1553
+ return i ? this.mapViewer.imageryLayers.get(i) : void 0;
1548
1554
  }
1549
- findLayerByPOI(i, t) {
1550
- const n = hr(this.mapViewer, i, t);
1555
+ findLayerByPOI(n, t) {
1556
+ const i = mr(this.mapViewer, n, t);
1551
1557
  return this.layers.filter((d) => !Q(d.meta, "parentBasetMapId")).filter((d) => {
1552
1558
  const u = Q(d.meta, "details.footprint");
1553
- return u !== void 0 ? un(n.geometry, {
1559
+ return u !== void 0 ? ui(i.geometry, {
1554
1560
  type: "Feature",
1555
1561
  properties: {},
1556
1562
  geometry: u
@@ -1561,8 +1567,8 @@ class yr {
1561
1567
  });
1562
1568
  }
1563
1569
  addTransparentImageryProvider() {
1564
- const i = this.mapViewer.imageryLayers.addImageryProvider(
1565
- new ji({
1570
+ const n = this.mapViewer.imageryLayers.addImageryProvider(
1571
+ new jn({
1566
1572
  url: "./assets/img/transparent-tile.png",
1567
1573
  /* eslint-disable @typescript-eslint/no-magic-numbers */
1568
1574
  rectangle: new Ce(
@@ -1575,7 +1581,7 @@ class yr {
1575
1581
  }),
1576
1582
  0
1577
1583
  );
1578
- i.meta = {
1584
+ n.meta = {
1579
1585
  id: pt,
1580
1586
  skipRelevancyCheck: !0
1581
1587
  };
@@ -1586,40 +1592,40 @@ class yr {
1586
1592
  getBaseLayersCount() {
1587
1593
  return this.layers.filter((t) => !!Q(t.meta, "parentBasetMapId")).length;
1588
1594
  }
1589
- findLayerById(i) {
1590
- return this.layers.find((t) => t.meta !== void 0 ? t.meta.id === i : !1);
1595
+ findLayerById(n) {
1596
+ return this.layers.find((t) => t.meta !== void 0 ? t.meta.id === n : !1);
1591
1597
  }
1592
- updateLayersOrder(i, t, n) {
1593
- const a = t > n ? gr : fr, o = t < n ? t : n, d = t < n ? n : t;
1598
+ updateLayersOrder(n, t, i) {
1599
+ const a = t > i ? yr : vr, o = t < i ? t : i, d = t < i ? i : t;
1594
1600
  this.layers.forEach((u) => {
1595
1601
  var C;
1596
1602
  if (!Q(u.meta, "parentBasetMapId")) {
1597
1603
  const S = (C = u.meta) == null ? void 0 : C.zIndex;
1598
- u.meta.zIndex = S >= o && S <= d && S !== t ? S + a : S === t ? n : S;
1604
+ u.meta.zIndex = S >= o && S <= d && S !== t ? S + a : S === t ? i : S;
1599
1605
  }
1600
1606
  });
1601
1607
  }
1602
1608
  hideNonRelevantLayers() {
1603
- var i, t;
1604
- for (const n of this.layers)
1605
- ((i = n.meta) == null ? void 0 : i.relevantToExtent) !== n.show && n.imageryProvider.ready && (n.show = ((t = n.meta) == null ? void 0 : t.relevantToExtent) ?? !0);
1609
+ var n, t;
1610
+ for (const i of this.layers)
1611
+ ((n = i.meta) == null ? void 0 : n.relevantToExtent) !== i.show && i.imageryProvider.ready && (i.show = ((t = i.meta) == null ? void 0 : t.relevantToExtent) ?? !0);
1606
1612
  }
1607
1613
  markRelevantLayersForExtent() {
1608
- var i, t;
1614
+ var n, t;
1609
1615
  try {
1610
- const n = this.mapViewer.camera.computeViewRectangle();
1616
+ const i = this.mapViewer.camera.computeViewRectangle();
1611
1617
  for (let a = this.layers.length - 1; a >= 0; a--) {
1612
- const o = this.layers[a], d = !Ke(n) && !Ke(o.rectangle) && Ce.intersection(n, o.rectangle);
1618
+ const o = this.layers[a], d = !je(i) && !je(o.rectangle) && Ce.intersection(i, o.rectangle);
1613
1619
  for (let u = this.layers.length - 1; u >= a; u--) {
1614
- if (((i = o.meta) == null ? void 0 : i.skipRelevancyCheck) === !0) {
1620
+ if (((n = o.meta) == null ? void 0 : n.skipRelevancyCheck) === !0) {
1615
1621
  o.meta = { ...o.meta, relevantToExtent: !0 };
1616
1622
  continue;
1617
1623
  }
1618
1624
  const v = this.layers[u], C = ((t = v.meta) == null ? void 0 : t[De]) === !0;
1619
1625
  if (o !== v)
1620
1626
  if (d instanceof Ce) {
1621
- if (xe(n, o.rectangle))
1622
- if (xe(n, v.rectangle) && !C) {
1627
+ if (xe(i, o.rectangle))
1628
+ if (xe(i, v.rectangle) && !C) {
1623
1629
  o.meta = {
1624
1630
  ...o.meta ?? {},
1625
1631
  relevantToExtent: !1
@@ -1630,7 +1636,7 @@ class yr {
1630
1636
  ...o.meta ?? {},
1631
1637
  relevantToExtent: !0
1632
1638
  };
1633
- if (xe(n, v.rectangle) && !C) {
1639
+ if (xe(i, v.rectangle) && !C) {
1634
1640
  o.meta = { ...o.meta ?? {}, relevantToExtent: !1 };
1635
1641
  break;
1636
1642
  }
@@ -1651,15 +1657,15 @@ class yr {
1651
1657
  });
1652
1658
  }
1653
1659
  }
1654
- } catch (n) {
1655
- console.error(n);
1660
+ } catch (i) {
1661
+ console.error(i);
1656
1662
  }
1657
1663
  }
1658
1664
  }
1659
- const mt = 212, gt = 260, vr = 0;
1660
- class Ho extends Ki {
1661
- constructor(t, n) {
1662
- super(t, n);
1665
+ const mt = 212, gt = 260, Cr = 0;
1666
+ class Vo extends qn {
1667
+ constructor(t, i) {
1668
+ super(t, i);
1663
1669
  J(this, "layersManager");
1664
1670
  J(this, "useOptimizedTileRequests");
1665
1671
  }
@@ -1670,16 +1676,16 @@ class Ho extends Ki {
1670
1676
  this.useOptimizedTileRequests = t;
1671
1677
  }
1672
1678
  }
1673
- const Ht = Se(null), Er = Ht.Provider, Cr = 1e4, he = () => {
1674
- const e = Pe(Ht);
1679
+ const Vt = Se(null), wr = Vt.Provider, br = 1e4, he = () => {
1680
+ const e = Pe(Vt);
1675
1681
  if (e === null)
1676
1682
  throw new Error("map context is null, please check the provider");
1677
1683
  return e;
1678
- }, Go = (e) => {
1684
+ }, zo = (e) => {
1679
1685
  var E, T, b, w, _, P, H, W;
1680
- const i = Le(null), [t, n] = k(), [a, o] = k(), [d, u] = k(), [v, C] = k(), [S, A] = k(), [L, R] = k(), [z, K] = k(), [Y, F] = k(), [X, U] = k([]), [V, j] = k(), [O, $] = k(!1), [q, r] = k(void 0), [s, f] = k(
1686
+ const n = Le(null), [t, i] = I(), [a, o] = I(), [d, u] = I(), [v, C] = I(), [S, A] = I(), [L, R] = I(), [z, j] = I(), [Y, F] = I(), [X, U] = I([]), [V, K] = I(), [O, $] = I(!1), [q, r] = I(void 0), [s, f] = I(
1681
1687
  !1
1682
- ), [c, g] = k(), h = {
1688
+ ), [c, g] = I(), h = {
1683
1689
  fullscreenButton: !0,
1684
1690
  timeline: !1,
1685
1691
  animation: !1,
@@ -1690,30 +1696,30 @@ const Ht = Se(null), Er = Ht.Provider, Cr = 1e4, he = () => {
1690
1696
  sceneModePicker: !1,
1691
1697
  ...e
1692
1698
  }, y = (M, x, B, G, pe) => {
1693
- const ne = t.container, ee = ne.clientWidth, se = ne.clientHeight, _e = G + pe;
1699
+ const ie = t.container, ee = ie.clientWidth, se = ie.clientHeight, _e = G + pe;
1694
1700
  return {
1695
1701
  left: `${ee - M < B ? M - (B - (ee - M)) : M}px`,
1696
1702
  top: `${se - x < _e ? x - (_e - (se - x)) : x}px`
1697
1703
  };
1698
1704
  };
1699
- I(() => {
1705
+ k(() => {
1700
1706
  var M;
1701
- if (i.current !== null) {
1702
- const x = i.current.cesiumElement;
1707
+ if (n.current !== null) {
1708
+ const x = n.current.cesiumElement;
1703
1709
  e.imageryContextMenu && x.screenSpaceEventHandler.setInputAction(
1704
1710
  (B) => {
1705
1711
  const G = B.position;
1706
1712
  $(!1), r(G), g(
1707
- pr(x, G.x, G.y)
1713
+ gr(x, G.x, G.y)
1708
1714
  ), $(!0);
1709
1715
  },
1710
- St.RIGHT_CLICK
1716
+ Pt.RIGHT_CLICK
1711
1717
  );
1712
1718
  }
1713
- n((M = i.current) == null ? void 0 : M.cesiumElement);
1714
- }, [i, e.imageryContextMenu]), I(() => {
1719
+ i((M = n.current) == null ? void 0 : M.cesiumElement);
1720
+ }, [n, e.imageryContextMenu]), k(() => {
1715
1721
  var M;
1716
- t && (t.shouldOptimizedTileRequests = e.useOptimizedTileRequests ?? !1, t.layersManager = new yr(
1722
+ t && (t.shouldOptimizedTileRequests = e.useOptimizedTileRequests ?? !1, t.layersManager = new Er(
1717
1723
  t,
1718
1724
  (M = e.legends) == null ? void 0 : M.mapLegendsExtractor,
1719
1725
  () => {
@@ -1723,34 +1729,34 @@ const Ht = Se(null), Er = Ht.Provider, Cr = 1e4, he = () => {
1723
1729
  );
1724
1730
  }
1725
1731
  ));
1726
- }, [t]), I(() => {
1732
+ }, [t]), k(() => {
1727
1733
  t && (t.shouldOptimizedTileRequests = e.useOptimizedTileRequests ?? !1);
1728
- }, [e.useOptimizedTileRequests, t]), I(() => {
1734
+ }, [e.useOptimizedTileRequests, t]), k(() => {
1729
1735
  F(
1730
1736
  e.sceneModes ?? [
1731
- ie.SCENE2D,
1732
- ie.SCENE3D,
1733
- ie.COLUMBUS_VIEW
1737
+ ne.SCENE2D,
1738
+ ne.SCENE3D,
1739
+ ne.COLUMBUS_VIEW
1734
1740
  ]
1735
1741
  );
1736
- }, [e.sceneModes]), I(() => {
1742
+ }, [e.sceneModes]), k(() => {
1737
1743
  var x, B;
1738
- j(e.baseMaps);
1744
+ K(e.baseMaps);
1739
1745
  const M = (x = e.baseMaps) == null ? void 0 : x.maps.find(
1740
1746
  (G) => G.isCurrent
1741
1747
  );
1742
1748
  M && t && ((B = t.layersManager) == null || B.setBaseMapLayers(M));
1743
- }, [e.baseMaps, t]), I(() => {
1749
+ }, [e.baseMaps, t]), k(() => {
1744
1750
  o(e.projection ?? ue.WGS84);
1745
- }, [e.projection]), I(() => {
1751
+ }, [e.projection]), k(() => {
1746
1752
  R(e.locale);
1747
- }, [e.locale]), I(() => {
1753
+ }, [e.locale]), k(() => {
1748
1754
  u(e.showMousePosition ?? !0);
1749
- }, [e.showMousePosition]), I(() => {
1755
+ }, [e.showMousePosition]), k(() => {
1750
1756
  C(e.showZoomLevel ?? !0);
1751
- }, [e.showZoomLevel]), I(() => {
1757
+ }, [e.showZoomLevel]), k(() => {
1752
1758
  A(e.showScale ?? !0);
1753
- }, [e.showScale]), I(() => {
1759
+ }, [e.showScale]), k(() => {
1754
1760
  const M = () => {
1755
1761
  if (t === void 0)
1756
1762
  return {
@@ -1772,11 +1778,11 @@ const Ht = Se(null), Er = Ht.Provider, Cr = 1e4, he = () => {
1772
1778
  t.container.clientWidth / 2,
1773
1779
  // eslint-disable-next-line @typescript-eslint/no-magic-numbers
1774
1780
  t.container.clientHeight / 2
1775
- ), pe = t.scene.camera.getPickRay(G), ne = t.scene.globe.pick(
1781
+ ), pe = t.scene.camera.getPickRay(G), ie = t.scene.globe.pick(
1776
1782
  pe,
1777
1783
  t.scene
1778
1784
  ), ee = t.scene.globe.ellipsoid.cartesianToCartographic(
1779
- ne
1785
+ ie
1780
1786
  );
1781
1787
  return ee !== void 0 ? {
1782
1788
  longitude: Ae(ee.longitude),
@@ -1795,13 +1801,13 @@ const Ht = Se(null), Er = Ht.Provider, Cr = 1e4, he = () => {
1795
1801
  transform: B.transform.clone(),
1796
1802
  frustum: B.frustum.clone()
1797
1803
  };
1798
- K(G);
1804
+ j(G);
1799
1805
  }
1800
- }, Cr);
1806
+ }, br);
1801
1807
  return () => {
1802
1808
  clearInterval(x);
1803
1809
  };
1804
- }, [t]), I(() => {
1810
+ }, [t]), k(() => {
1805
1811
  const M = () => {
1806
1812
  t && z && t.camera.flyTo({
1807
1813
  destination: me.fromDegrees(
@@ -1822,22 +1828,22 @@ const Ht = Se(null), Er = Ht.Provider, Cr = 1e4, he = () => {
1822
1828
  console.error("morphCompleteHandler event not cleaned");
1823
1829
  }
1824
1830
  };
1825
- }, [t, z]), I(() => {
1831
+ }, [t, z]), k(() => {
1826
1832
  const M = e.zoom, x = e.center;
1827
- t && Oe(M) && dn(x) && t.camera.flyTo({
1833
+ t && Oe(M) && di(x) && t.camera.flyTo({
1828
1834
  destination: me.fromDegrees(
1829
1835
  x[0],
1830
1836
  x[1],
1831
- Xn(M)
1837
+ Ji(M)
1832
1838
  ),
1833
1839
  duration: 0
1834
1840
  });
1835
1841
  }, [e.zoom, e.center, t]);
1836
- const m = ge(() => t && Ii(
1842
+ const m = ge(() => t && On(
1837
1843
  /* @__PURE__ */ D(oe, { children: [
1838
1844
  /* @__PURE__ */ D(ae, { className: "sideToolsContainer", children: [
1839
1845
  /* @__PURE__ */ l(
1840
- sr,
1846
+ lr,
1841
1847
  {
1842
1848
  sceneModes: Y,
1843
1849
  baseMaps: V,
@@ -1845,16 +1851,16 @@ const Ht = Se(null), Er = Ht.Provider, Cr = 1e4, he = () => {
1845
1851
  }
1846
1852
  ),
1847
1853
  /* @__PURE__ */ l(
1848
- lr,
1854
+ dr,
1849
1855
  {
1850
1856
  onClick: () => f(!s)
1851
1857
  }
1852
1858
  )
1853
1859
  ] }),
1854
1860
  /* @__PURE__ */ D(ae, { className: "toolsContainer", children: [
1855
- d === !0 ? /* @__PURE__ */ l(Zn, { projection: a }) : /* @__PURE__ */ l(oe, {}),
1856
- v === !0 ? /* @__PURE__ */ l(tr, { locale: L }) : /* @__PURE__ */ l(oe, {}),
1857
- S === !0 ? /* @__PURE__ */ l(Qn, { locale: L }) : /* @__PURE__ */ l(oe, {})
1861
+ d === !0 ? /* @__PURE__ */ l(Qi, { projection: a }) : /* @__PURE__ */ l(oe, {}),
1862
+ v === !0 ? /* @__PURE__ */ l(ir, { locale: L }) : /* @__PURE__ */ l(oe, {}),
1863
+ S === !0 ? /* @__PURE__ */ l(tr, { locale: L }) : /* @__PURE__ */ l(oe, {})
1858
1864
  ] })
1859
1865
  ] }),
1860
1866
  document.querySelector(".cesium-viewer")
@@ -1868,9 +1874,9 @@ const Ht = Se(null), Er = Ht.Provider, Cr = 1e4, he = () => {
1868
1874
  S,
1869
1875
  s
1870
1876
  ]);
1871
- return /* @__PURE__ */ l(Oi, { className: "viewer", full: !0, ref: i, ...h, children: /* @__PURE__ */ D(Er, { value: t, children: [
1877
+ return /* @__PURE__ */ l(Dn, { className: "viewer", full: !0, ref: n, ...h, children: /* @__PURE__ */ D(wr, { value: t, children: [
1872
1878
  /* @__PURE__ */ l(
1873
- ur,
1879
+ pr,
1874
1880
  {
1875
1881
  title: (E = e.legends) == null ? void 0 : E.title,
1876
1882
  isOpen: s,
@@ -1897,7 +1903,7 @@ const Ht = Se(null), Er = Ht.Provider, Cr = 1e4, he = () => {
1897
1903
  q.y,
1898
1904
  ((P = e.imageryContextMenuSize) == null ? void 0 : P.width) ?? gt,
1899
1905
  ((H = e.imageryContextMenuSize) == null ? void 0 : H.height) ?? mt,
1900
- ((W = e.imageryContextMenuSize) == null ? void 0 : W.dynamicHeightIncrement) ?? vr
1906
+ ((W = e.imageryContextMenuSize) == null ? void 0 : W.dynamicHeightIncrement) ?? Cr
1901
1907
  ),
1902
1908
  size: e.imageryContextMenuSize ?? {
1903
1909
  height: mt,
@@ -1908,19 +1914,19 @@ const Ht = Se(null), Er = Ht.Provider, Cr = 1e4, he = () => {
1908
1914
  }
1909
1915
  })
1910
1916
  ] }) });
1911
- }, wr = 0, Vo = (e) => {
1912
- const i = he();
1917
+ }, Tr = 0, $o = (e) => {
1918
+ const n = he();
1913
1919
  return /* @__PURE__ */ l(
1914
- Di,
1920
+ Rn,
1915
1921
  {
1916
1922
  ...e,
1917
1923
  onReady: (t) => {
1918
- e.isZoomTo === !0 && i.zoomTo(t);
1919
- const n = i.scene;
1920
- n.globe.depthTestAgainstTerrain = !0;
1924
+ e.isZoomTo === !0 && n.zoomTo(t);
1925
+ const i = n.scene;
1926
+ i.globe.depthTestAgainstTerrain = !0;
1921
1927
  const a = Be.fromCartesian(
1922
1928
  t.boundingSphere.center
1923
- ), o = e.heightFromGround ?? wr;
1929
+ ), o = e.heightFromGround ?? Tr;
1924
1930
  if (o) {
1925
1931
  const d = me.fromRadians(
1926
1932
  a.longitude,
@@ -1935,54 +1941,54 @@ const Ht = Se(null), Er = Ht.Provider, Cr = 1e4, he = () => {
1935
1941
  d,
1936
1942
  new me()
1937
1943
  );
1938
- t.modelMatrix = qi.fromTranslation(v);
1944
+ t.modelMatrix = Yn.fromTranslation(v);
1939
1945
  }
1940
1946
  }
1941
1947
  }
1942
1948
  );
1943
- }, zo = (e) => /* @__PURE__ */ l(Ri, { ...e }), Fe = (e) => {
1944
- const { meta: i, ...t } = e, n = he();
1945
- return jt(() => {
1949
+ }, Uo = (e) => /* @__PURE__ */ l(Bn, { ...e }), Fe = (e) => {
1950
+ const { meta: n, ...t } = e, i = he();
1951
+ return qt(() => {
1946
1952
  var a;
1947
- (a = n.layersManager) == null || a.addMetaToLayer(
1948
- i,
1953
+ (a = i.layersManager) == null || a.addMetaToLayer(
1954
+ n,
1949
1955
  /* eslint-disable */
1950
- i.searchLayerPredicate ?? ((o, d) => {
1956
+ n.searchLayerPredicate ?? ((o, d) => {
1951
1957
  var u, v;
1952
- return i !== void 0 ? ((u = o._imageryProvider._resource) == null ? void 0 : u._url) === ((v = i.options) == null ? void 0 : v.url) : !1;
1958
+ return n !== void 0 ? ((u = o._imageryProvider._resource) == null ? void 0 : u._url) === ((v = n.options) == null ? void 0 : v.url) : !1;
1953
1959
  })
1954
1960
  );
1955
- }, [i, n]), /* @__PURE__ */ l(Bi, { ...t });
1956
- }, $o = (e) => {
1957
- const { options: i, ...t } = e, n = he(), a = n.shouldOptimizedTileRequests ? new Nt(i, n) : new Je(i);
1958
- return /* @__PURE__ */ l(Fe, { ...t, imageryProvider: a });
1959
- }, Uo = (e) => {
1960
- const { options: i, ...t } = e, n = he(), a = n.shouldOptimizedTileRequests ? new Ft(i, n) : new Qe(i);
1961
- return /* @__PURE__ */ l(Fe, { ...t, imageryProvider: a });
1961
+ }, [n, i]), /* @__PURE__ */ l(Nn, { ...t });
1962
1962
  }, Wo = (e) => {
1963
- const { options: i, ...t } = e, n = he(), a = n.shouldOptimizedTileRequests ? new Bt(i, n) : new Ze(i);
1963
+ const { options: n, ...t } = e, i = he(), a = i.shouldOptimizedTileRequests ? new Ht(n, i) : new Je(n);
1964
+ return /* @__PURE__ */ l(Fe, { ...t, imageryProvider: a });
1965
+ }, Ko = (e) => {
1966
+ const { options: n, ...t } = e, i = he(), a = i.shouldOptimizedTileRequests ? new Gt(n, i) : new Qe(n);
1964
1967
  return /* @__PURE__ */ l(Fe, { ...t, imageryProvider: a });
1965
1968
  }, jo = (e) => {
1966
- const { options: i, ...t } = e;
1969
+ const { options: n, ...t } = e, i = he(), a = i.shouldOptimizedTileRequests ? new Ft(n, i) : new Ze(n);
1970
+ return /* @__PURE__ */ l(Fe, { ...t, imageryProvider: a });
1971
+ }, qo = (e) => {
1972
+ const { options: n, ...t } = e;
1967
1973
  return /* @__PURE__ */ l(
1968
1974
  Fe,
1969
1975
  {
1970
1976
  ...t,
1971
- imageryProvider: new Yi(i)
1977
+ imageryProvider: new Xn(n)
1972
1978
  }
1973
1979
  );
1974
- }, br = (e) => /* @__PURE__ */ l(Ni, { ...e }), Ko = (e) => /* @__PURE__ */ l(_t, { ...e }), Tr = (e) => /* @__PURE__ */ l(_t, { ...e }), _r = (e) => /* @__PURE__ */ l(Fi, { ...e }), Sr = (e) => /* @__PURE__ */ l(Hi, { ...e }), Lr = (e) => /* @__PURE__ */ l(Gi, { ...e }), Pr = (e) => /* @__PURE__ */ l(Vi, { ...e });
1980
+ }, _r = (e) => /* @__PURE__ */ l(Fn, { ...e }), Yo = (e) => /* @__PURE__ */ l(Lt, { ...e }), Sr = (e) => /* @__PURE__ */ l(Lt, { ...e }), Lr = (e) => /* @__PURE__ */ l(Hn, { ...e }), Pr = (e) => /* @__PURE__ */ l(Gn, { ...e }), Mr = (e) => /* @__PURE__ */ l(Vn, { ...e }), Ar = (e) => /* @__PURE__ */ l(zn, { ...e });
1975
1981
  var fe = function() {
1976
- var e = p.Ellipsoid.WGS84, i, t = p.Material.fromType(p.Material.ColorType);
1977
- function n(r, s = new p.Color(1, 1, 0, 0.5), f = new p.Color(1, 1, 1, 1)) {
1978
- this._scene = r.scene, t.uniforms.color = s, i = f, this._tooltip = {
1982
+ var e = p.Ellipsoid.WGS84, n, t = p.Material.fromType(p.Material.ColorType);
1983
+ function i(r, s = new p.Color(1, 1, 0, 0.5), f = new p.Color(1, 1, 1, 1)) {
1984
+ this._scene = r.scene, t.uniforms.color = s, n = f, this._tooltip = {
1979
1985
  setVisible: () => {
1980
1986
  },
1981
1987
  showAt: () => {
1982
1988
  }
1983
1989
  }, this._surfaces = [], this.initialiseHandlers(), this.enhancePrimitives();
1984
1990
  }
1985
- n.prototype.initialiseHandlers = function() {
1991
+ i.prototype.initialiseHandlers = function() {
1986
1992
  var r = this._scene, s = this, f = new p.ScreenSpaceEventHandler(r.canvas);
1987
1993
  function c(h, y) {
1988
1994
  if (s._handlersMuted != !0) {
@@ -2006,11 +2012,11 @@ var fe = function() {
2006
2012
  }, p.ScreenSpaceEventType.LEFT_UP), f.setInputAction(function(h) {
2007
2013
  c("leftDown", h.position);
2008
2014
  }, p.ScreenSpaceEventType.LEFT_DOWN);
2009
- }, n.prototype.setListener = function(r, s, f) {
2015
+ }, i.prototype.setListener = function(r, s, f) {
2010
2016
  r[s] = f;
2011
- }, n.prototype.muteHandlers = function(r) {
2017
+ }, i.prototype.muteHandlers = function(r) {
2012
2018
  this._handlersMuted = r;
2013
- }, n.prototype.registerEditableShape = function(r) {
2019
+ }, i.prototype.registerEditableShape = function(r) {
2014
2020
  var s = this;
2015
2021
  $(r, "mouseMove", function(f) {
2016
2022
  r.setHighlighted(!0), r._editMode || s._tooltip.showAt(f, "Click to edit this shape");
@@ -2019,17 +2025,17 @@ var fe = function() {
2019
2025
  }), $(r, "leftClick", function(f) {
2020
2026
  r.setEditMode(!0);
2021
2027
  });
2022
- }, n.prototype.startDrawing = function(r) {
2028
+ }, i.prototype.startDrawing = function(r) {
2023
2029
  this.disableAllEditMode(), this.editCleanUp && this.editCleanUp(), this.editCleanUp = r, this.muteHandlers(!0);
2024
- }, n.prototype.stopDrawing = function() {
2030
+ }, i.prototype.stopDrawing = function() {
2025
2031
  this.editCleanUp && (this.editCleanUp(), this.editCleanUp = null), this.muteHandlers(!1);
2026
- }, n.prototype.disableAllHighlights = function() {
2032
+ }, i.prototype.disableAllHighlights = function() {
2027
2033
  this.setHighlighted(void 0);
2028
- }, n.prototype.setHighlighted = function(r) {
2034
+ }, i.prototype.setHighlighted = function(r) {
2029
2035
  this._highlightedSurface && !this._highlightedSurface.isDestroyed() && this._highlightedSurface != r && this._highlightedSurface.setHighlighted(!1), this._highlightedSurface = r;
2030
- }, n.prototype.disableAllEditMode = function() {
2036
+ }, i.prototype.disableAllEditMode = function() {
2031
2037
  this.setEdited(void 0);
2032
- }, n.prototype.setEdited = function(r) {
2038
+ }, i.prototype.setEdited = function(r) {
2033
2039
  this._editedSurface && !this._editedSurface.isDestroyed() && this._editedSurface.setEditMode(!1), this._editedSurface = r;
2034
2040
  };
2035
2041
  var a = {
@@ -2059,7 +2065,7 @@ var fe = function() {
2059
2065
  function r() {
2060
2066
  }
2061
2067
  return r.prototype.initialiseOptions = function(s) {
2062
- j(this, s), this._ellipsoid = void 0, this._granularity = void 0, this._height = void 0, this._textureRotationAngle = void 0, this._id = void 0, this._createPrimitive = !0, this._primitive = void 0, this._outlinePolygon = void 0;
2068
+ K(this, s), this._ellipsoid = void 0, this._granularity = void 0, this._height = void 0, this._textureRotationAngle = void 0, this._id = void 0, this._createPrimitive = !0, this._primitive = void 0, this._outlinePolygon = void 0;
2063
2069
  }, r.prototype.setAttribute = function(s, f) {
2064
2070
  this[s] = f, this._createPrimitive = !0;
2065
2071
  }, r.prototype.getAttribute = function(s) {
@@ -2115,7 +2121,7 @@ var fe = function() {
2115
2121
  (!this.strokeColor || !this.strokeColor.equals(s) || this.strokeWidth != f) && (this._createPrimitive = !0, this.strokeColor = s, this.strokeWidth = f);
2116
2122
  }, r;
2117
2123
  }();
2118
- n.ExtentPrimitive = function() {
2124
+ i.ExtentPrimitive = function() {
2119
2125
  function r(s) {
2120
2126
  if (!p.defined(s.extent))
2121
2127
  throw new p.DeveloperError("Extent is required");
@@ -2140,7 +2146,7 @@ var fe = function() {
2140
2146
  rectangle: this.extent
2141
2147
  });
2142
2148
  }, r;
2143
- }(), n.PolygonPrimitive = function() {
2149
+ }(), i.PolygonPrimitive = function() {
2144
2150
  function r(s) {
2145
2151
  s = O(s, o), this.initialiseOptions(s), this.isPolygon = !0;
2146
2152
  }
@@ -2163,7 +2169,7 @@ var fe = function() {
2163
2169
  positions: this.getPositions()
2164
2170
  });
2165
2171
  }, r;
2166
- }(), n.CirclePrimitive = function() {
2172
+ }(), i.CirclePrimitive = function() {
2167
2173
  function r(s) {
2168
2174
  if (!(p.defined(s.center) && p.defined(s.radius)))
2169
2175
  throw new p.DeveloperError("Center and radius are required");
@@ -2194,7 +2200,7 @@ var fe = function() {
2194
2200
  radius: this.getRadius()
2195
2201
  });
2196
2202
  }, r;
2197
- }(), n.EllipsePrimitive = function() {
2203
+ }(), i.EllipsePrimitive = function() {
2198
2204
  function r(s) {
2199
2205
  if (!(p.defined(s.center) && p.defined(s.semiMajorAxis) && p.defined(s.semiMinorAxis)))
2200
2206
  throw new p.DeveloperError("Center and semi major and semi minor axis are required");
@@ -2237,7 +2243,7 @@ var fe = function() {
2237
2243
  rotation: this.getRotation()
2238
2244
  });
2239
2245
  }, r;
2240
- }(), n.PolylinePrimitive = function() {
2246
+ }(), i.PolylinePrimitive = function() {
2241
2247
  function r(s) {
2242
2248
  s = O(s, S), this.initialiseOptions(s);
2243
2249
  }
@@ -2277,14 +2283,14 @@ var fe = function() {
2277
2283
  shiftX: 0,
2278
2284
  shiftY: 0
2279
2285
  };
2280
- n.prototype.createBillboardGroup = function(r, s, f) {
2281
- var c = new n.BillboardGroup(this, s);
2286
+ i.prototype.createBillboardGroup = function(r, s, f) {
2287
+ var c = new i.BillboardGroup(this, s);
2282
2288
  return c.addBillboards(r, f), c;
2283
- }, n.BillboardGroup = function(r, s) {
2289
+ }, i.BillboardGroup = function(r, s) {
2284
2290
  this._drawHelper = r, this._scene = r._scene, this._options = O(s, L);
2285
2291
  var f = new p.BillboardCollection();
2286
2292
  this._scene.primitives.add(f), this._billboards = f, this._orderedBillboards = [];
2287
- }, n.BillboardGroup.prototype.createBillboard = function(r, s) {
2293
+ }, i.BillboardGroup.prototype.createBillboard = function(r, s) {
2288
2294
  var f = this._billboards.add({
2289
2295
  show: !0,
2290
2296
  position: r,
@@ -2294,7 +2300,7 @@ var fe = function() {
2294
2300
  verticalOrigin: p.VerticalOrigin.CENTER,
2295
2301
  scale: 1,
2296
2302
  image: this._options.iconUrl,
2297
- color: i
2303
+ color: n
2298
2304
  });
2299
2305
  if (s) {
2300
2306
  let h = function(m) {
@@ -2337,34 +2343,34 @@ var fe = function() {
2337
2343
  }));
2338
2344
  }
2339
2345
  return f;
2340
- }, n.BillboardGroup.prototype.insertBillboard = function(r, s, f) {
2346
+ }, i.BillboardGroup.prototype.insertBillboard = function(r, s, f) {
2341
2347
  this._orderedBillboards.splice(r, 0, this.createBillboard(s, f));
2342
- }, n.BillboardGroup.prototype.addBillboard = function(r, s) {
2348
+ }, i.BillboardGroup.prototype.addBillboard = function(r, s) {
2343
2349
  this._orderedBillboards.push(this.createBillboard(r, s));
2344
- }, n.BillboardGroup.prototype.addBillboards = function(r, s) {
2350
+ }, i.BillboardGroup.prototype.addBillboards = function(r, s) {
2345
2351
  for (var f = 0; f < r.length; f++)
2346
2352
  this.addBillboard(r[f], s);
2347
- }, n.BillboardGroup.prototype.updateBillboardsPositions = function(r) {
2353
+ }, i.BillboardGroup.prototype.updateBillboardsPositions = function(r) {
2348
2354
  for (var s = 0; s < r.length; s++)
2349
2355
  this.getBillboard(s).position = r[s];
2350
- }, n.BillboardGroup.prototype.countBillboards = function() {
2356
+ }, i.BillboardGroup.prototype.countBillboards = function() {
2351
2357
  return this._orderedBillboards.length;
2352
- }, n.BillboardGroup.prototype.getBillboard = function(r) {
2358
+ }, i.BillboardGroup.prototype.getBillboard = function(r) {
2353
2359
  return this._orderedBillboards[r];
2354
- }, n.BillboardGroup.prototype.removeBillboard = function(r) {
2360
+ }, i.BillboardGroup.prototype.removeBillboard = function(r) {
2355
2361
  this._billboards.remove(this.getBillboard(r)), this._orderedBillboards.splice(r, 1);
2356
- }, n.BillboardGroup.prototype.remove = function() {
2362
+ }, i.BillboardGroup.prototype.remove = function() {
2357
2363
  this._billboards = this._billboards && this._billboards.removeAll() && this._billboards.destroy();
2358
- }, n.BillboardGroup.prototype.setOnTop = function() {
2364
+ }, i.BillboardGroup.prototype.setOnTop = function() {
2359
2365
  this._scene.primitives.raiseToTop(this._billboards);
2360
- }, n.prototype.startDrawingMarker = function(s) {
2366
+ }, i.prototype.startDrawingMarker = function(s) {
2361
2367
  var s = O(s, L);
2362
2368
  this.startDrawing(function() {
2363
2369
  h.remove(), y.destroy(), g.setVisible(!1);
2364
2370
  });
2365
2371
  var f = this, c = this._scene;
2366
2372
  c.primitives;
2367
- var g = this._tooltip, h = new n.BillboardGroup(this, s), y = new p.ScreenSpaceEventHandler(c.canvas);
2373
+ var g = this._tooltip, h = new i.BillboardGroup(this, s), y = new p.ScreenSpaceEventHandler(c.canvas);
2368
2374
  y.setInputAction(function(m) {
2369
2375
  if (m.position != null) {
2370
2376
  var E = c.camera.pickEllipsoid(m.position, e);
@@ -2380,19 +2386,19 @@ var fe = function() {
2380
2386
  ) : g.showAt(E, "<p>Click on the globe to add your marker.</p>");
2381
2387
  }
2382
2388
  }, p.ScreenSpaceEventType.MOUSE_MOVE);
2383
- }, n.prototype.startDrawingPolygon = function(s) {
2389
+ }, i.prototype.startDrawingPolygon = function(s) {
2384
2390
  var s = O(s, o);
2385
2391
  this.startDrawingPolyshape(!0, s);
2386
- }, n.prototype.startDrawingPolyline = function(s) {
2392
+ }, i.prototype.startDrawingPolyline = function(s) {
2387
2393
  var s = O(s, S);
2388
2394
  this.startDrawingPolyshape(!1, s);
2389
- }, n.prototype.startDrawingPolyshape = function(r, s) {
2395
+ }, i.prototype.startDrawingPolyshape = function(r, s) {
2390
2396
  this.startDrawing(function() {
2391
2397
  g.remove(m), T.remove(), b.destroy(), h.setVisible(!1), F(c);
2392
2398
  });
2393
2399
  var f = this, c = this._scene, g = c.primitives, h = this._tooltip, y = r ? 3 : 2, m;
2394
2400
  r ? m = new fe.PolygonPrimitive(s) : m = new fe.PolylinePrimitive(s), m.asynchronous = !1, g.add(m);
2395
- var E = [], T = new n.BillboardGroup(this, L), b = new p.ScreenSpaceEventHandler(c.canvas);
2401
+ var E = [], T = new i.BillboardGroup(this, L), b = new p.ScreenSpaceEventHandler(c.canvas);
2396
2402
  Y(c), b.setInputAction(function(w) {
2397
2403
  if (w.position != null) {
2398
2404
  var _ = c.camera.pickEllipsoid(w.position, e);
@@ -2420,7 +2426,7 @@ var fe = function() {
2420
2426
  }
2421
2427
  }, p.ScreenSpaceEventType.LEFT_DOUBLE_CLICK);
2422
2428
  };
2423
- function K(r) {
2429
+ function j(r) {
2424
2430
  return e.cartographicArrayToCartesianArray([
2425
2431
  p.Rectangle.northwest(r),
2426
2432
  p.Rectangle.northeast(r),
@@ -2434,7 +2440,7 @@ var fe = function() {
2434
2440
  function F(r) {
2435
2441
  r && (r.canvas.style.cursor = "");
2436
2442
  }
2437
- n.prototype.startDrawingExtent = function(s) {
2443
+ i.prototype.startDrawingExtent = function(s) {
2438
2444
  var s = O(s, o);
2439
2445
  this.startDrawing(function() {
2440
2446
  m != null && g.remove(m), E != null && E.remove(), T.destroy(), h.setVisible(!1), F(c);
@@ -2446,8 +2452,8 @@ var fe = function() {
2446
2452
  extent: w,
2447
2453
  material: s.material
2448
2454
  }), m.asynchronous = !1, g.add(m)), m.setExtent(w);
2449
- var _ = K(w);
2450
- E == null ? (E = new n.BillboardGroup(f, L), E.addBillboards(_)) : E.updateBillboardsPositions(_);
2455
+ var _ = j(w);
2456
+ E == null ? (E = new i.BillboardGroup(f, L), E.addBillboards(_)) : E.updateBillboardsPositions(_);
2451
2457
  }
2452
2458
  T.setInputAction(function(w) {
2453
2459
  if (w.position != null) {
@@ -2473,7 +2479,7 @@ var fe = function() {
2473
2479
  }
2474
2480
  }
2475
2481
  }, p.ScreenSpaceEventType.MOUSE_MOVE);
2476
- }, n.prototype.startDrawingCircle = function(s) {
2482
+ }, i.prototype.startDrawingCircle = function(s) {
2477
2483
  var s = O(s, o);
2478
2484
  this.startDrawing(function() {
2479
2485
  y != null && g.remove(y), m.remove(), E.destroy(), h.setVisible(!1);
@@ -2482,12 +2488,12 @@ var fe = function() {
2482
2488
  E.setInputAction(function(T) {
2483
2489
  if (T.position != null) {
2484
2490
  var b = c.camera.pickEllipsoid(T.position, e);
2485
- b && (y == null ? (y = new n.CirclePrimitive({
2491
+ b && (y == null ? (y = new i.CirclePrimitive({
2486
2492
  center: b,
2487
2493
  radius: 0,
2488
2494
  asynchronous: !1,
2489
2495
  material: s.material
2490
- }), g.add(y), m = new n.BillboardGroup(f, L), m.addBillboards([b])) : (typeof s.callback == "function" && s.callback(y.getCenter(), y.getRadius()), f.stopDrawing()));
2496
+ }), g.add(y), m = new i.BillboardGroup(f, L), m.addBillboards([b])) : (typeof s.callback == "function" && s.callback(y.getCenter(), y.getRadius()), f.stopDrawing()));
2491
2497
  }
2492
2498
  }, p.ScreenSpaceEventType.LEFT_DOWN), E.setInputAction(function(T) {
2493
2499
  var b = T.endPosition;
@@ -2499,7 +2505,7 @@ var fe = function() {
2499
2505
  w && (y.setRadius(p.Cartesian3.distance(y.getCenter(), w)), m.updateBillboardsPositions(w), h.showAt(b, "<p>Move mouse to change circle radius</p><p>Click again to finish drawing</p>"));
2500
2506
  }
2501
2507
  }, p.ScreenSpaceEventType.MOUSE_MOVE);
2502
- }, n.prototype.enhancePrimitives = function() {
2508
+ }, i.prototype.enhancePrimitives = function() {
2503
2509
  var r = this;
2504
2510
  p.Billboard.prototype.setEditable = function() {
2505
2511
  if (this._editable)
@@ -2551,7 +2557,7 @@ var fe = function() {
2551
2557
  ).interpolateUsingFraction(0.5)
2552
2558
  );
2553
2559
  };
2554
- var y = new n.BillboardGroup(r, R), m = new n.BillboardGroup(r, z), E = {
2560
+ var y = new i.BillboardGroup(r, R), m = new i.BillboardGroup(r, z), E = {
2555
2561
  dragHandlers: {
2556
2562
  onDrag: function(M, x) {
2557
2563
  h.positions[M] = x, P(M, h.positions), h._createPrimitive = !0;
@@ -2623,11 +2629,11 @@ var fe = function() {
2623
2629
  extent: c.extent
2624
2630
  });
2625
2631
  };
2626
- var y = new n.BillboardGroup(r, R), m = {
2632
+ var y = new i.BillboardGroup(r, R), m = {
2627
2633
  dragHandlers: {
2628
2634
  onDrag: function(T, b) {
2629
2635
  var w = y.getBillboard((T + 2) % 4).position;
2630
- c.setExtent(X(e.cartesianToCartographic(w), e.cartesianToCartographic(b))), y.updateBillboardsPositions(K(c.extent));
2636
+ c.setExtent(X(e.cartesianToCartographic(w), e.cartesianToCartographic(b))), y.updateBillboardsPositions(j(c.extent));
2631
2637
  },
2632
2638
  onDragEnd: function(T, b) {
2633
2639
  E();
@@ -2637,7 +2643,7 @@ var fe = function() {
2637
2643
  return "Drag to change the corners of this extent";
2638
2644
  }
2639
2645
  };
2640
- y.addBillboards(K(c.extent), m), this._markers = y, this._globeClickhandler = new p.ScreenSpaceEventHandler(g.canvas), this._globeClickhandler.setInputAction(function(T) {
2646
+ y.addBillboards(j(c.extent), m), this._markers = y, this._globeClickhandler = new p.ScreenSpaceEventHandler(g.canvas), this._globeClickhandler.setInputAction(function(T) {
2641
2647
  var b = g.pick(T.position);
2642
2648
  b && !b.isDestroyed() && b.primitive || c.setEditMode(!1);
2643
2649
  }, p.ScreenSpaceEventType.LEFT_CLICK), y.setOnTop();
@@ -2647,7 +2653,7 @@ var fe = function() {
2647
2653
  this._markers != null && (this._markers.remove(), this._markers = null, this._globeClickhandler.destroy()), this._editMode = !1;
2648
2654
  }, c.setHighlighted = s, q(c), c.setEditMode(!1);
2649
2655
  }
2650
- }, n.EllipsePrimitive.prototype.setEditable = function() {
2656
+ }, i.EllipsePrimitive.prototype.setEditable = function() {
2651
2657
  if (!this.setEditMode) {
2652
2658
  var c = this, g = r._scene;
2653
2659
  c.asynchronous = !1, r.registerEditableShape(c), c.setEditMode = function(h) {
@@ -2674,7 +2680,7 @@ var fe = function() {
2674
2680
  rotation: 0
2675
2681
  });
2676
2682
  };
2677
- var m = new n.BillboardGroup(r, R), E = {
2683
+ var m = new i.BillboardGroup(r, R), E = {
2678
2684
  dragHandlers: {
2679
2685
  onDrag: function(w, _) {
2680
2686
  var P = p.Cartesian3.distance(c.getCenter(), _);
@@ -2698,7 +2704,7 @@ var fe = function() {
2698
2704
  this._markers != null && (this._markers.remove(), this._markers = null, this._globeClickhandler.destroy()), this._editMode = !1;
2699
2705
  }, c.setHighlighted = s, q(c), c.setEditMode(!1);
2700
2706
  }
2701
- }, n.CirclePrimitive.prototype.getCircleCartesianCoordinates = function(c) {
2707
+ }, i.CirclePrimitive.prototype.getCircleCartesianCoordinates = function(c) {
2702
2708
  for (var g = p.CircleOutlineGeometry.createGeometry(
2703
2709
  new p.CircleOutlineGeometry({
2704
2710
  ellipsoid: e,
@@ -2709,7 +2715,7 @@ var fe = function() {
2709
2715
  ), h = 0, y, m = []; h < g.attributes.position.values.length; h += 3)
2710
2716
  y = g.attributes.position.values, m.push(new p.Cartesian3(y[h], y[h + 1], y[h + 2]));
2711
2717
  return m;
2712
- }, n.CirclePrimitive.prototype.setEditable = function() {
2718
+ }, i.CirclePrimitive.prototype.setEditable = function() {
2713
2719
  if (!this.setEditMode) {
2714
2720
  var c = this, g = r._scene;
2715
2721
  c.asynchronous = !1, r.registerEditableShape(c), c.setEditMode = function(h) {
@@ -2727,7 +2733,7 @@ var fe = function() {
2727
2733
  radius: c.getRadius()
2728
2734
  });
2729
2735
  };
2730
- var m = new n.BillboardGroup(r, R), E = {
2736
+ var m = new i.BillboardGroup(r, R), E = {
2731
2737
  dragHandlers: {
2732
2738
  onDrag: function(w, _) {
2733
2739
  c.setRadius(p.Cartesian3.distance(c.getCenter(), _)), m.updateBillboardsPositions(T());
@@ -2751,7 +2757,7 @@ var fe = function() {
2751
2757
  }, c.setHighlighted = s, q(c), c.setEditMode(!1);
2752
2758
  }
2753
2759
  };
2754
- }, n.DrawHelperWidget = function() {
2760
+ }, i.DrawHelperWidget = function() {
2755
2761
  function r(s, f) {
2756
2762
  if (!p.defined(f.container))
2757
2763
  throw new p.DeveloperError("Container is required");
@@ -2767,7 +2773,7 @@ var fe = function() {
2767
2773
  extentDrawingOptions: u,
2768
2774
  circleDrawingOptions: v
2769
2775
  };
2770
- j(f, c);
2776
+ K(f, c);
2771
2777
  var g = this, h = document.createElement("DIV");
2772
2778
  h.className = "toolbar", f.container.appendChild(h);
2773
2779
  function y(T, b, w, _) {
@@ -2829,8 +2835,8 @@ var fe = function() {
2829
2835
  }), q(this);
2830
2836
  }
2831
2837
  return r;
2832
- }(), n.prototype.addToolbar = function(r, s) {
2833
- return s = O(s, { container: r }), new n.DrawHelperWidget(this, s);
2838
+ }(), i.prototype.addToolbar = function(r, s) {
2839
+ return s = O(s, { container: r }), new i.DrawHelperWidget(this, s);
2834
2840
  };
2835
2841
  function X(r, s) {
2836
2842
  var f = new p.Rectangle();
@@ -2851,7 +2857,7 @@ var fe = function() {
2851
2857
  s[f] = typeof s[f] > "u" ? V(r[f], null) : s[f];
2852
2858
  return s;
2853
2859
  }
2854
- function j(r, s) {
2860
+ function K(r, s) {
2855
2861
  r = r || {};
2856
2862
  var f;
2857
2863
  for (f in s)
@@ -2877,30 +2883,30 @@ var fe = function() {
2877
2883
  f && f(s);
2878
2884
  };
2879
2885
  }
2880
- return n;
2886
+ return i;
2881
2887
  }();
2882
- const Mr = 2, Ar = (e, i) => {
2888
+ const xr = 2, Ir = (e, n) => {
2883
2889
  switch (e) {
2884
2890
  case re.BOX: {
2885
- if (i.features.length !== Mr)
2891
+ if (n.features.length !== xr)
2886
2892
  throw new Error(`${e} must have 2 points`);
2887
- const t = at(i.features, (a) => {
2893
+ const t = at(n.features, (a) => {
2888
2894
  var o;
2889
2895
  return ((o = a.properties) == null ? void 0 : o.type) === qe.BOTTOM_LEFT;
2890
- }), n = at(i.features, (a) => {
2896
+ }), i = at(n.features, (a) => {
2891
2897
  var o;
2892
2898
  return ((o = a.properties) == null ? void 0 : o.type) === qe.TOP_RIGHT;
2893
2899
  });
2894
- if (n && t) {
2895
- if (t.geometry.coordinates[0] === n.geometry.coordinates[0] && t.geometry.coordinates[1] === n.geometry.coordinates[1])
2900
+ if (i && t) {
2901
+ if (t.geometry.coordinates[0] === i.geometry.coordinates[0] && t.geometry.coordinates[1] === i.geometry.coordinates[1])
2896
2902
  throw new Error(
2897
2903
  `${e} must define BOTTOM_LEFT and TOP_RIGHT different points`
2898
2904
  );
2899
2905
  return Ce.fromDegrees(
2900
2906
  t.geometry.coordinates[0],
2901
2907
  t.geometry.coordinates[1],
2902
- n.geometry.coordinates[0],
2903
- n.geometry.coordinates[1]
2908
+ i.geometry.coordinates[0],
2909
+ i.geometry.coordinates[1]
2904
2910
  );
2905
2911
  } else
2906
2912
  throw new Error(
@@ -2910,24 +2916,24 @@ const Mr = 2, Ar = (e, i) => {
2910
2916
  default:
2911
2917
  throw new Error(`${e} type geoJSON still not supported`);
2912
2918
  }
2913
- }, xr = (e) => {
2914
- const i = e.map((t) => {
2915
- const n = Be.fromCartesian(t);
2919
+ }, kr = (e) => {
2920
+ const n = e.map((t) => {
2921
+ const i = Be.fromCartesian(t);
2916
2922
  return [
2917
- le.toDegrees(n.longitude),
2918
- le.toDegrees(n.latitude)
2923
+ le.toDegrees(i.longitude),
2924
+ le.toDegrees(i.latitude)
2919
2925
  ];
2920
2926
  });
2921
- return i.push(i[0]), {
2927
+ return n.push(n[0]), {
2922
2928
  type: "Feature",
2923
2929
  properties: {},
2924
2930
  geometry: {
2925
2931
  type: "Polygon",
2926
- coordinates: [i]
2932
+ coordinates: [n]
2927
2933
  }
2928
2934
  };
2929
- }, kr = (e) => {
2930
- const i = Lt.lineString([
2935
+ }, Or = (e) => {
2936
+ const n = Mt.lineString([
2931
2937
  [
2932
2938
  le.toDegrees(e.west),
2933
2939
  le.toDegrees(e.south)
@@ -2937,44 +2943,44 @@ const Mr = 2, Ar = (e, i) => {
2937
2943
  le.toDegrees(e.north)
2938
2944
  ]
2939
2945
  ]);
2940
- return Mt(Pt(i));
2941
- }, Ir = (e) => {
2942
- const i = Lt.lineString([
2946
+ return xt(At(n));
2947
+ }, Dr = (e) => {
2948
+ const n = Mt.lineString([
2943
2949
  [e.west, e.south],
2944
2950
  [e.east, e.north]
2945
2951
  ]);
2946
- return Mt(Pt(i)).geometry.coordinates[0].map(
2947
- (n) => me.fromRadiansArray(n)[0]
2952
+ return xt(At(n)).geometry.coordinates[0].map(
2953
+ (i) => me.fromRadiansArray(i)[0]
2948
2954
  );
2949
2955
  };
2950
- class qo extends Xi {
2956
+ class Xo extends Zn {
2951
2957
  }
2952
- const Yo = (e) => {
2958
+ const Zo = (e) => {
2953
2959
  const {
2954
- drawState: i,
2960
+ drawState: n,
2955
2961
  drawingMaterial: t,
2956
- drawingVertexColor: n,
2962
+ drawingVertexColor: i,
2957
2963
  material: a,
2958
2964
  hollow: o,
2959
2965
  outlineWidth: d
2960
- } = e, u = he(), [v, C] = k();
2961
- I(() => {
2966
+ } = e, u = he(), [v, C] = I();
2967
+ k(() => {
2962
2968
  C(
2963
2969
  // eslint-disable-next-line
2964
- new fe(u, t, n)
2970
+ new fe(u, t, i)
2965
2971
  );
2966
- }, []), I(() => {
2972
+ }, []), k(() => {
2967
2973
  if (v) {
2968
2974
  const A = v;
2969
- if (i.drawing)
2970
- switch (i.type) {
2975
+ if (n.drawing)
2976
+ switch (n.type) {
2971
2977
  case re.POLYGON:
2972
2978
  u.scene.globe.depthTestAgainstTerrain = !1, A.startDrawingPolygon({
2973
2979
  callback: (L) => {
2974
- i.handler({
2980
+ n.handler({
2975
2981
  primitive: L,
2976
2982
  type: re.POLYGON,
2977
- geojson: xr(L)
2983
+ geojson: kr(L)
2978
2984
  });
2979
2985
  }
2980
2986
  });
@@ -2982,25 +2988,25 @@ const Yo = (e) => {
2982
2988
  case re.BOX:
2983
2989
  u.scene.globe.depthTestAgainstTerrain = !1, A.startDrawingExtent({
2984
2990
  callback: (L) => {
2985
- i.handler({
2991
+ n.handler({
2986
2992
  primitive: L,
2987
2993
  type: re.BOX,
2988
- geojson: kr(L)
2994
+ geojson: Or(L)
2989
2995
  });
2990
2996
  }
2991
2997
  });
2992
2998
  break;
2993
2999
  default:
2994
3000
  throw new Error(
2995
- `[CESIUM DRAW]: ${i.type} unrecognized primitive to draw.`
3001
+ `[CESIUM DRAW]: ${n.type} unrecognized primitive to draw.`
2996
3002
  );
2997
3003
  }
2998
3004
  else
2999
3005
  A.stopDrawing(), u.scene.globe.depthTestAgainstTerrain = !0;
3000
3006
  }
3001
- }, [i, v]);
3007
+ }, [n, v]);
3002
3008
  const S = (A) => {
3003
- let L = A.coordinates !== void 0 ? A.coordinates : Ar(
3009
+ let L = A.coordinates !== void 0 ? A.coordinates : Ir(
3004
3010
  A.type,
3005
3011
  A.geojson
3006
3012
  );
@@ -3008,7 +3014,7 @@ const Yo = (e) => {
3008
3014
  switch (A.type) {
3009
3015
  case re.BOX:
3010
3016
  return /* @__PURE__ */ l(
3011
- Sr,
3017
+ Pr,
3012
3018
  {
3013
3019
  coordinates: L,
3014
3020
  material: a ?? t
@@ -3016,9 +3022,9 @@ const Yo = (e) => {
3016
3022
  );
3017
3023
  case re.POLYGON:
3018
3024
  return /* @__PURE__ */ l(
3019
- _r,
3025
+ Lr,
3020
3026
  {
3021
- hierarchy: new Zi(L),
3027
+ hierarchy: new Jn(L),
3022
3028
  material: a ?? t
3023
3029
  }
3024
3030
  );
@@ -3028,7 +3034,7 @@ const Yo = (e) => {
3028
3034
  else {
3029
3035
  switch (A.type) {
3030
3036
  case re.BOX:
3031
- L = Ir(L);
3037
+ L = Dr(L);
3032
3038
  break;
3033
3039
  case re.POLYGON:
3034
3040
  L = [
@@ -3040,7 +3046,7 @@ const Yo = (e) => {
3040
3046
  return /* @__PURE__ */ l(oe, {});
3041
3047
  }
3042
3048
  return /* @__PURE__ */ l(
3043
- Pr,
3049
+ Ar,
3044
3050
  {
3045
3051
  positions: L,
3046
3052
  width: d ?? 1,
@@ -3049,8 +3055,8 @@ const Yo = (e) => {
3049
3055
  );
3050
3056
  }
3051
3057
  };
3052
- return /* @__PURE__ */ l(Lr, { ...e, children: e.drawings.map((A, L) => /* @__PURE__ */ D(br, { name: A.name, children: [
3053
- /* @__PURE__ */ D(Tr, { children: [
3058
+ return /* @__PURE__ */ l(Mr, { ...e, children: e.drawings.map((A, L) => /* @__PURE__ */ D(_r, { name: A.name, children: [
3059
+ /* @__PURE__ */ D(Sr, { children: [
3054
3060
  /* @__PURE__ */ D("h1", { children: [
3055
3061
  "Drawed Entity ",
3056
3062
  A.name
@@ -3060,35 +3066,35 @@ const Yo = (e) => {
3060
3066
  S(A)
3061
3067
  ] }, A.id)) });
3062
3068
  };
3063
- class Xo extends Ji {
3069
+ class Jo extends Qn {
3064
3070
  }
3065
- class Zo extends Qi {
3071
+ class Qo extends ei {
3066
3072
  }
3067
- class Jo extends en {
3073
+ class es extends ti {
3068
3074
  }
3069
- class Qo extends Te {
3075
+ class ts extends Te {
3070
3076
  }
3071
- class es extends me {
3077
+ class ns extends me {
3072
3078
  }
3073
- class ts extends Be {
3079
+ class is extends Be {
3074
3080
  }
3075
- class is extends tn {
3081
+ class rs extends ni {
3076
3082
  }
3077
- class ns extends nn {
3083
+ class os extends ii {
3078
3084
  }
3079
- class rs extends rn {
3085
+ class ss extends ri {
3080
3086
  }
3081
- class os extends Ce {
3087
+ class as extends Ce {
3082
3088
  }
3083
- class ss extends on {
3089
+ class ls extends oi {
3084
3090
  }
3085
- class as extends sn {
3091
+ class cs extends si {
3086
3092
  }
3087
- class ls extends an {
3093
+ class ds extends ai {
3088
3094
  }
3089
- const cs = ln, ds = cn;
3090
- const Or = 38, Dr = 40, Rr = 13, Br = 14, Nr = 27, Fr = 9, Hr = 10, Gr = 100, Vr = (e) => {
3091
- const [i, t] = k(e.defaultValue ?? ""), [n, a] = k(!1), [o, d] = k({
3095
+ const us = li, hs = ci;
3096
+ const Rr = 38, Br = 40, Nr = 13, Fr = 14, Hr = 27, Gr = 9, Vr = 10, zr = 100, $r = (e) => {
3097
+ const [n, t] = I(e.defaultValue ?? ""), [i, a] = I(!1), [o, d] = I({
3092
3098
  helperVisible: !1,
3093
3099
  left: 0,
3094
3100
  right: 0,
@@ -3102,17 +3108,17 @@ const Or = 38, Dr = 40, Rr = 13, Br = 14, Nr = 27, Fr = 9, Hr = 10, Gr = 100, Vr
3102
3108
  caret: 0,
3103
3109
  width: "unset"
3104
3110
  }), u = Le(null);
3105
- I(() => (window.addEventListener("resize", z), () => {
3111
+ k(() => (window.addEventListener("resize", z), () => {
3106
3112
  try {
3107
3113
  window.removeEventListener("resize", z);
3108
3114
  } catch (g) {
3109
3115
  console.log('WINDOW "resize" remove listener failed', g);
3110
3116
  }
3111
- }), []), I(() => {
3117
+ }), []), k(() => {
3112
3118
  typeof e.value < "u" && t(e.value), typeof e.defaultValue < "u" && t(e.defaultValue);
3113
- }, [e.value, e.defaultValue]), I(() => {
3119
+ }, [e.value, e.defaultValue]), k(() => {
3114
3120
  const { options: g } = e, { caret: h } = o;
3115
- X(i, h, g);
3121
+ X(n, h, g);
3116
3122
  }, [e]);
3117
3123
  const v = (g, h, y) => {
3118
3124
  const { trigger: m, matchAny: E, regex: T } = e, b = new RegExp(T);
@@ -3127,32 +3133,32 @@ const Or = 38, Dr = 40, Rr = 13, Br = 14, Nr = 27, Fr = 9, Hr = 10, Gr = 100, Vr
3127
3133
  for (let W = 0; W < P.length; W++) {
3128
3134
  const { triggerStr: M, triggerMatch: x, triggerLength: B } = P[W];
3129
3135
  for (let G = h - 1; G >= 0; --G) {
3130
- const ne = g.substring(G, h).match(b);
3136
+ const ie = g.substring(G, h).match(b);
3131
3137
  let ee = -1;
3132
3138
  if (B > 0) {
3133
3139
  const se = x ? G : G - B + 1;
3134
- if (se < 0 || (S(M, g, se) && (ee = se + B), !ne && ee < 0))
3140
+ if (se < 0 || (S(M, g, se) && (ee = se + B), !ie && ee < 0))
3135
3141
  break;
3136
3142
  } else {
3137
- if (ne && G > 0)
3143
+ if (ie && G > 0)
3138
3144
  continue;
3139
- if (ee = G === 0 && ne ? 0 : G + 1, h - ee === 0)
3145
+ if (ee = G === 0 && ie ? 0 : G + 1, h - ee === 0)
3140
3146
  break;
3141
3147
  }
3142
3148
  if (ee >= 0) {
3143
3149
  const se = _[M];
3144
3150
  if (!Array.isArray(se))
3145
3151
  continue;
3146
- const _e = g.substring(ee, h), Gt = se.filter(($t) => {
3147
- const nt = $t.toLowerCase().indexOf(_e.toLowerCase());
3148
- return nt !== -1 && (E || nt === 0);
3149
- }), Vt = M, zt = _e.length;
3152
+ const _e = g.substring(ee, h), zt = se.filter((Wt) => {
3153
+ const it = Wt.toLowerCase().indexOf(_e.toLowerCase());
3154
+ return it !== -1 && (E || it === 0);
3155
+ }), $t = M, Ut = _e.length;
3150
3156
  H = {
3151
3157
  ...H,
3152
- trigger: Vt,
3158
+ trigger: $t,
3153
3159
  matchStart: ee,
3154
- matchLength: zt,
3155
- options: Gt
3160
+ matchLength: Ut,
3161
+ options: zt
3156
3162
  };
3157
3163
  }
3158
3164
  }
@@ -3163,7 +3169,7 @@ const Or = 38, Dr = 40, Rr = 13, Br = 14, Nr = 27, Fr = 9, Hr = 10, Gr = 100, Vr
3163
3169
  triggerMatch: m.match(h),
3164
3170
  triggerLength: m.length
3165
3171
  })), S = (g, h, y) => !g || !g.length || h.substr(y, g.length) === g, A = (g) => {
3166
- const { onChange: h, options: y, spaceRemovers: m, spacer: E, value: T } = e, b = i, w = g.target.value, _ = pn(L(g.target)).end;
3172
+ const { onChange: h, options: y, spaceRemovers: m, spacer: E, value: T } = e, b = n, w = g.target.value, _ = pi(L(g.target)).end;
3167
3173
  if (w.length || F({
3168
3174
  ...o,
3169
3175
  helperVisible: !1
@@ -3173,10 +3179,10 @@ const Or = 38, Dr = 40, Rr = 13, Br = 14, Nr = 27, Fr = 9, Hr = 10, Gr = 100, Vr
3173
3179
  value: g.target.value
3174
3180
  }), !w.length || !_)
3175
3181
  return h(g.target.value);
3176
- if (n && m.length && w.length > 2 && E.length) {
3182
+ if (i && m.length && w.length > 2 && E.length) {
3177
3183
  for (let P = 0; P < Math.max(b.length, w.length); ++P)
3178
3184
  if (b[P] !== w[P]) {
3179
- if (P >= 2 && w[P - 1] === E && m.indexOf(w[P - 2]) === -1 && m.indexOf(w[P]) !== -1 && !Ke(v(w.substring(0, P - 2), _ - 3, y))) {
3185
+ if (P >= 2 && w[P - 1] === E && m.indexOf(w[P - 2]) === -1 && m.indexOf(w[P]) !== -1 && !je(v(w.substring(0, P - 2), _ - 3, y))) {
3180
3186
  const H = `${w.slice(0, P - 1)}${w.slice(
3181
3187
  P,
3182
3188
  P + 1
@@ -3206,27 +3212,27 @@ const Or = 38, Dr = 40, Rr = 13, Br = 14, Nr = 27, Fr = 9, Hr = 10, Gr = 100, Vr
3206
3212
  const { helperVisible: h, options: y, selection: m } = o, { onKeyDown: E, passThroughEnter: T } = e;
3207
3213
  if (h)
3208
3214
  switch (g.keyCode) {
3209
- case Nr:
3215
+ case Hr:
3210
3216
  g.preventDefault(), U();
3211
3217
  break;
3212
- case Or:
3218
+ case Rr:
3213
3219
  g.preventDefault(), F({
3214
3220
  ...o,
3215
3221
  selection: (y.length + m - 1) % y.length
3216
3222
  });
3217
3223
  break;
3218
- case Dr:
3224
+ case Br:
3219
3225
  g.preventDefault(), F({
3220
3226
  ...o,
3221
3227
  selection: (m + 1) % y.length
3222
3228
  });
3223
3229
  break;
3224
- case Br:
3225
- case Rr:
3226
- T || g.preventDefault(), K(m);
3227
- break;
3228
3230
  case Fr:
3229
- K(m);
3231
+ case Nr:
3232
+ T || g.preventDefault(), j(m);
3233
+ break;
3234
+ case Gr:
3235
+ j(m);
3230
3236
  break;
3231
3237
  default:
3232
3238
  E(g);
@@ -3239,8 +3245,8 @@ const Or = 38, Dr = 40, Rr = 13, Br = 14, Nr = 27, Fr = 9, Hr = 10, Gr = 100, Vr
3239
3245
  ...o,
3240
3246
  helperVisible: !1
3241
3247
  });
3242
- }, K = (g) => {
3243
- const { spacer: h, onSelect: y, changeOnSelect: m } = e, { matchStart: E, matchLength: T, options: b, trigger: w } = o, _ = b[g], P = i, H = P.substring(0, E - w.length), W = P.substring(E + T), M = { target: u.current }, x = m(w, _);
3248
+ }, j = (g) => {
3249
+ const { spacer: h, onSelect: y, changeOnSelect: m } = e, { matchStart: E, matchLength: T, options: b, trigger: w } = o, _ = b[g], P = n, H = P.substring(0, E - w.length), W = P.substring(E + T), M = { target: u.current }, x = m(w, _);
3244
3250
  M.target !== null && (M.target.value = `${H}${x}${h}${W}`), A(M), M.target !== null && y(M.target.value), U(), Y(H.length + x.length + 1), a(!0);
3245
3251
  }, Y = (g) => {
3246
3252
  F({
@@ -3248,7 +3254,7 @@ const Or = 38, Dr = 40, Rr = 13, Br = 14, Nr = 27, Fr = 9, Hr = 10, Gr = 100, Vr
3248
3254
  caret: g
3249
3255
  });
3250
3256
  const h = L(u.current);
3251
- mn(h, g);
3257
+ mi(h, g);
3252
3258
  }, F = (g) => {
3253
3259
  setTimeout(() => {
3254
3260
  d({
@@ -3264,7 +3270,7 @@ const Or = 38, Dr = 40, Rr = 13, Br = 14, Nr = 27, Fr = 9, Hr = 10, Gr = 100, Vr
3264
3270
  return;
3265
3271
  const T = m.getBoundingClientRect(), b = v(g, h, y);
3266
3272
  if (Object.keys(b).length > 0 && E !== null) {
3267
- const w = hn(E, h), _ = E.getBoundingClientRect(), {
3273
+ const w = hi(E, h), _ = E.getBoundingClientRect(), {
3268
3274
  minChars: P,
3269
3275
  onRequestOptions: H,
3270
3276
  requestOnlyIfNoOptions: W,
@@ -3272,8 +3278,8 @@ const Or = 38, Dr = 40, Rr = 13, Br = 14, Nr = 27, Fr = 9, Hr = 10, Gr = 100, Vr
3272
3278
  } = e;
3273
3279
  let x, B, G, pe = "unset";
3274
3280
  M === "assist" ? (x = m === E ? w.top + E.offsetTop : w.top + T.top, B = Math.min(
3275
- w.left + E.offsetLeft - Hr,
3276
- E.offsetLeft + _.width - Gr
3281
+ w.left + E.offsetLeft - Vr,
3282
+ E.offsetLeft + _.width - zr
3277
3283
  )) : (x = T.top + m.offsetHeight, B = m.offsetLeft, G = m.offsetLeft - m.offsetWidth, pe = `${T.width}px`), b.matchLength >= P && (b.options.length > 1 || b.options.length === 1 && b.options[0].length !== b.matchLength) ? F({
3278
3284
  ...o,
3279
3285
  value: g,
@@ -3317,14 +3323,14 @@ const Or = 38, Dr = 40, Rr = 13, Br = 14, Nr = 27, Fr = 9, Hr = 10, Gr = 100, Vr
3317
3323
  ...o,
3318
3324
  selection: 0
3319
3325
  }), null;
3320
- const B = H === 0 ? T.length : H, G = T.slice(0, B).map((ne, ee) => {
3321
- const se = ne.toLowerCase().indexOf(_.substr(m, E).toLowerCase());
3326
+ const B = H === 0 ? T.length : H, G = T.slice(0, B).map((ie, ee) => {
3327
+ const se = ie.toLowerCase().indexOf(_.substr(m, E).toLowerCase());
3322
3328
  return /* @__PURE__ */ D(
3323
3329
  "li",
3324
3330
  {
3325
3331
  className: ee === b ? "active" : void 0,
3326
3332
  onClick: () => {
3327
- K(ee);
3333
+ j(ee);
3328
3334
  },
3329
3335
  onMouseEnter: () => {
3330
3336
  F({
@@ -3333,12 +3339,12 @@ const Or = 38, Dr = 40, Rr = 13, Br = 14, Nr = 27, Fr = 9, Hr = 10, Gr = 100, Vr
3333
3339
  });
3334
3340
  },
3335
3341
  children: [
3336
- ne.slice(0, se),
3337
- /* @__PURE__ */ l("strong", { children: ne.substr(se, E) }),
3338
- ne.slice(se + E)
3342
+ ie.slice(0, se),
3343
+ /* @__PURE__ */ l("strong", { children: ie.substr(se, E) }),
3344
+ ie.slice(se + E)
3339
3345
  ]
3340
3346
  },
3341
- ne
3347
+ ie
3342
3348
  );
3343
3349
  }), pe = x === "ltr" ? { left: h + W } : { right: y + W };
3344
3350
  return /* @__PURE__ */ l(
@@ -3350,7 +3356,7 @@ const Or = 38, Dr = 40, Rr = 13, Br = 14, Nr = 27, Fr = 9, Hr = 10, Gr = 100, Vr
3350
3356
  }
3351
3357
  );
3352
3358
  }, {
3353
- Component: j,
3359
+ Component: K,
3354
3360
  ComponentProps: O,
3355
3361
  defaultValue: $,
3356
3362
  disabled: q,
@@ -3361,19 +3367,19 @@ const Or = 38, Dr = 40, Rr = 13, Br = 14, Nr = 27, Fr = 9, Hr = 10, Gr = 100, Vr
3361
3367
  return Object.keys(e).forEach((g) => {
3362
3368
  delete c[g];
3363
3369
  }), /* @__PURE__ */ D(oe, { children: [
3364
- ve.cloneElement(j, {
3370
+ ve.cloneElement(K, {
3365
3371
  disabled: q,
3366
3372
  onBlur: r,
3367
3373
  onChange: A,
3368
3374
  onKeyDown: R,
3369
3375
  ref: u,
3370
- value: i,
3376
+ value: n,
3371
3377
  ...c,
3372
3378
  ...O
3373
3379
  }),
3374
3380
  V()
3375
3381
  ] });
3376
- }, zr = {
3382
+ }, Ur = {
3377
3383
  Component: /* @__PURE__ */ l("textarea", {}),
3378
3384
  ComponentProps: {},
3379
3385
  defaultValue: void 0,
@@ -3389,7 +3395,7 @@ const Or = 38, Dr = 40, Rr = 13, Br = 14, Nr = 27, Fr = 9, Hr = 10, Gr = 100, Vr
3389
3395
  },
3390
3396
  onSelect: (e) => {
3391
3397
  },
3392
- changeOnSelect: (e, i) => `${e}${i}`,
3398
+ changeOnSelect: (e, n) => `${e}${n}`,
3393
3399
  options: [],
3394
3400
  regex: "^[A-Za-z0-9\\-_]+$",
3395
3401
  matchAny: !1,
@@ -3404,40 +3410,40 @@ const Or = 38, Dr = 40, Rr = 13, Br = 14, Nr = 27, Fr = 9, Hr = 10, Gr = 100, Vr
3404
3410
  passThroughEnter: !1,
3405
3411
  mode: "assist",
3406
3412
  direction: "ltr"
3407
- }, us = (e) => {
3408
- let i = {
3409
- ...zr,
3413
+ }, ps = (e) => {
3414
+ let n = {
3415
+ ...Ur,
3410
3416
  ...e
3411
3417
  };
3412
- return e.mode === "autocomplete" && (i = {
3413
- ...i,
3418
+ return e.mode === "autocomplete" && (n = {
3419
+ ...n,
3414
3420
  trigger: "",
3415
3421
  regex: ".",
3416
3422
  spacer: ""
3417
- }), /* @__PURE__ */ l(Vr, { ...i });
3418
- }, it = {
3419
- formatFileModDate: (e, i) => {
3420
- const t = At.getModDate(i);
3423
+ }), /* @__PURE__ */ l($r, { ...n });
3424
+ }, nt = {
3425
+ formatFileModDate: (e, n) => {
3426
+ const t = It.getModDate(n);
3421
3427
  return t ? e.formatDate(t, {
3422
3428
  dateStyle: "short",
3423
3429
  timeStyle: "short"
3424
3430
  }) : null;
3425
3431
  },
3426
- formatFileSize: (e, i) => {
3427
- if (!i || typeof i.size != "number")
3432
+ formatFileSize: (e, n) => {
3433
+ if (!n || typeof n.size != "number")
3428
3434
  return null;
3429
- const t = i.size, n = vn(t, {
3435
+ const t = n.size, i = vi(t, {
3430
3436
  bits: !1,
3431
3437
  output: "object"
3432
3438
  });
3433
- return n.symbol === "B" ? `${Math.round(n.value / 10) / 100} KB` : n.symbol === "KB" ? `${Math.round(n.value)} ${n.symbol}` : `${n.value} ${n.symbol.toUpperCase()}`;
3439
+ return i.symbol === "B" ? `${Math.round(i.value / 10) / 100} KB` : i.symbol === "KB" ? `${Math.round(i.value)} ${i.symbol}` : `${i.value} ${i.symbol.toUpperCase()}`;
3434
3440
  }
3435
- }, $r = {
3441
+ }, Wr = {
3436
3442
  locale: ce.EN,
3437
- formatters: { ...it }
3438
- }, Ur = {
3443
+ formatters: { ...nt }
3444
+ }, Kr = {
3439
3445
  locale: ce.RU,
3440
- formatters: { ...it },
3446
+ formatters: { ...nt },
3441
3447
  messages: {
3442
3448
  "chonky.toolbar.searchPlaceholder": "Поиск",
3443
3449
  "chonky.toolbar.visibleFileCount": `{fileCount, plural,
@@ -3475,9 +3481,9 @@ const Or = 38, Dr = 40, Rr = 13, Br = 14, Nr = 27, Fr = 9, Hr = 10, Gr = 100, Vr
3475
3481
  [`chonky.actions.${N.ToggleHiddenFiles.id}.button.name`]: "Скрытые файлы",
3476
3482
  [`chonky.actions.${N.ToggleShowFoldersFirst.id}.button.name`]: "Папки в начале"
3477
3483
  }
3478
- }, Wr = {
3484
+ }, jr = {
3479
3485
  locale: ce.HE,
3480
- formatters: { ...it },
3486
+ formatters: { ...nt },
3481
3487
  messages: {
3482
3488
  "chonky.toolbar.searchPlaceholder": "חיפוש",
3483
3489
  "chonky.toolbar.visibleFileCount": `{fileCount, plural,
@@ -3514,25 +3520,25 @@ const Or = 38, Dr = 40, Rr = 13, Br = 14, Nr = 27, Fr = 9, Hr = 10, Gr = 100, Vr
3514
3520
  [`chonky.actions.${N.ToggleHiddenFiles.id}.button.name`]: "קבצים נסתרים",
3515
3521
  [`chonky.actions.${N.ToggleShowFoldersFirst.id}.button.name`]: "הצגת תיקיות בראש הרשימה"
3516
3522
  }
3517
- }, jr = {
3518
- [ce.EN]: $r,
3519
- [ce.RU]: Ur,
3520
- [ce.HE]: Wr
3523
+ }, qr = {
3524
+ [ce.EN]: Wr,
3525
+ [ce.RU]: Kr,
3526
+ [ce.HE]: jr
3521
3527
  };
3522
- class hs extends At {
3528
+ class ms extends It {
3523
3529
  }
3524
- const ps = N, Kr = {
3530
+ const gs = N, Yr = {
3525
3531
  listView: N.EnableListView.id,
3526
3532
  gridView: N.EnableGridView.id
3527
3533
  };
3528
- gn({ iconComponent: yn });
3529
- const ms = ve.memo(
3534
+ gi({ iconComponent: yi });
3535
+ const fs = ve.memo(
3530
3536
  ve.forwardRef(
3531
3537
  ({
3532
3538
  theme: e,
3533
- styles: i = { height: "100%", minWidth: "600px" },
3534
- defaultView: t = Kr.listView,
3535
- readOnlyMode: n = !1,
3539
+ styles: n = { height: "100%", minWidth: "600px" },
3540
+ defaultView: t = Yr.listView,
3541
+ readOnlyMode: i = !1,
3536
3542
  locale: a,
3537
3543
  files: o,
3538
3544
  folderChain: d,
@@ -3554,29 +3560,29 @@ const ms = ve.memo(
3554
3560
  }
3555
3561
  }
3556
3562
  })();
3557
- const A = ($) => $.replace(/([A-Z])/g, (q) => "-" + q.toLowerCase()), L = ft(() => e !== void 0 ? Object.keys(e).reduce(
3563
+ const A = ($) => $.replace(/([A-Z])/g, (q) => "-" + q.toLowerCase()), L = yt(() => e !== void 0 ? Object.keys(e).reduce(
3558
3564
  (q, r) => {
3559
3565
  const s = e[r];
3560
3566
  return r = r.startsWith("--") ? r : `--fp-theme-${A(r)}`, q[r] = s, q;
3561
3567
  },
3562
3568
  {}
3563
- ) : {}, [e]), [R, z] = k(!1), [K, Y] = k(), [F, X] = k(
3569
+ ) : {}, [e]), [R, z] = I(!1), [j, Y] = I(), [F, X] = I(
3564
3570
  !1
3565
- ), [U, V] = k(), [j, O] = k();
3566
- return I(() => {
3567
- e && z(!0), Y(t), n ? X(!0) : V([
3571
+ ), [U, V] = I(), [K, O] = I();
3572
+ return k(() => {
3573
+ e && z(!0), Y(t), i ? X(!0) : V([
3568
3574
  N.CreateFolder,
3569
3575
  N.DeleteFiles
3570
- ]), a !== void 0 && O(jr[a]);
3571
- }, [e, t, n, a]), /* @__PURE__ */ l(
3576
+ ]), a !== void 0 && O(qr[a]);
3577
+ }, [e, t, i, a]), /* @__PURE__ */ l(
3572
3578
  ae,
3573
3579
  {
3574
3580
  style: {
3575
- ...i,
3581
+ ...n,
3576
3582
  ...L
3577
3583
  },
3578
3584
  children: /* @__PURE__ */ l(
3579
- fn,
3585
+ fi,
3580
3586
  {
3581
3587
  ref: C,
3582
3588
  files: o ?? [],
@@ -3585,11 +3591,11 @@ const ms = ve.memo(
3585
3591
  typeof u == "function" && u($);
3586
3592
  },
3587
3593
  thumbnailGenerator: S,
3588
- defaultFileViewActionId: K,
3594
+ defaultFileViewActionId: j,
3589
3595
  disableDragAndDrop: F,
3590
3596
  fileActions: U,
3591
3597
  darkMode: R,
3592
- i18n: j,
3598
+ i18n: K,
3593
3599
  ...v
3594
3600
  }
3595
3601
  )
@@ -3599,64 +3605,64 @@ const ms = ve.memo(
3599
3605
  )
3600
3606
  );
3601
3607
  export {
3602
- us as Autocomplete,
3608
+ ps as Autocomplete,
3603
3609
  qe as BboxCorner,
3604
3610
  ae as Box,
3605
3611
  Xe as COORDINATES_MERCATOR_FRACTION_DIGITS,
3606
3612
  Ye as COORDINATES_WGS_FRACTION_DIGITS,
3607
- Vo as Cesium3DTileset,
3608
- is as CesiumBoundingSphere,
3609
- Qo as CesiumCartesian2,
3610
- es as CesiumCartesian3,
3611
- ts as CesiumCartographic,
3612
- ls as CesiumCesiumTerrainProvider,
3613
- qo as CesiumColor,
3614
- Jo as CesiumConstantPositionProperty,
3615
- Zo as CesiumConstantProperty,
3616
- Lr as CesiumCustomDataSource,
3617
- Yo as CesiumDrawingsDataSource,
3618
- ns as CesiumEllipsoid,
3619
- as as CesiumEllipsoidTerrainProvider,
3620
- br as CesiumEntity,
3621
- Ko as CesiumEntityDescription,
3622
- Tr as CesiumEntityStaticDescription,
3623
- rs as CesiumGeographicTilingScheme,
3624
- zo as CesiumGeojsonLayer,
3613
+ $o as Cesium3DTileset,
3614
+ rs as CesiumBoundingSphere,
3615
+ ts as CesiumCartesian2,
3616
+ ns as CesiumCartesian3,
3617
+ is as CesiumCartographic,
3618
+ ds as CesiumCesiumTerrainProvider,
3619
+ Xo as CesiumColor,
3620
+ es as CesiumConstantPositionProperty,
3621
+ Qo as CesiumConstantProperty,
3622
+ Mr as CesiumCustomDataSource,
3623
+ Zo as CesiumDrawingsDataSource,
3624
+ os as CesiumEllipsoid,
3625
+ cs as CesiumEllipsoidTerrainProvider,
3626
+ _r as CesiumEntity,
3627
+ Yo as CesiumEntityDescription,
3628
+ Sr as CesiumEntityStaticDescription,
3629
+ ss as CesiumGeographicTilingScheme,
3630
+ Uo as CesiumGeojsonLayer,
3625
3631
  Fe as CesiumImageryLayer,
3626
- ds as CesiumLabelStyle,
3627
- Go as CesiumMap,
3628
- Es as CesiumMath,
3629
- jo as CesiumOSMLayer,
3630
- _r as CesiumPolygonGraphics,
3631
- Xo as CesiumPolylineDashMaterialProperty,
3632
- os as CesiumRectangle,
3633
- Sr as CesiumRectangleGraphics,
3634
- ss as CesiumResource,
3635
- ie as CesiumSceneMode,
3636
- cs as CesiumVerticalOrigin,
3637
- Ho as CesiumViewer,
3638
- $o as CesiumWMSLayer,
3639
- Uo as CesiumWMTSLayer,
3640
- Wo as CesiumXYZLayer,
3641
- No as CssBaseline,
3642
- Do as DateTimePicker,
3643
- Tn as DateTimeRangePicker,
3644
- Oo as DateTimeRangePickerFormControl,
3632
+ hs as CesiumLabelStyle,
3633
+ zo as CesiumMap,
3634
+ ws as CesiumMath,
3635
+ qo as CesiumOSMLayer,
3636
+ Lr as CesiumPolygonGraphics,
3637
+ Jo as CesiumPolylineDashMaterialProperty,
3638
+ as as CesiumRectangle,
3639
+ Pr as CesiumRectangleGraphics,
3640
+ ls as CesiumResource,
3641
+ ne as CesiumSceneMode,
3642
+ us as CesiumVerticalOrigin,
3643
+ Vo as CesiumViewer,
3644
+ Wo as CesiumWMSLayer,
3645
+ Ko as CesiumWMTSLayer,
3646
+ jo as CesiumXYZLayer,
3647
+ Ho as CssBaseline,
3648
+ Bo as DateTimePicker,
3649
+ Ti as DateTimeRangePicker,
3650
+ Ro as DateTimeRangePickerFormControl,
3645
3651
  re as DrawType,
3646
- hs as FileHelper,
3647
- ms as FilePicker,
3648
- ps as FilePickerActions,
3649
- Kr as FilePickerView,
3650
- Ro as MapFilterContainer,
3651
- _n as Popover,
3652
+ ms as FileHelper,
3653
+ fs as FilePicker,
3654
+ gs as FilePickerActions,
3655
+ Yr as FilePickerView,
3656
+ No as MapFilterContainer,
3657
+ _i as Popover,
3652
3658
  ue as Proj,
3653
- Fo as ScopedCssBaseline,
3654
- Bo as SmartTable,
3659
+ Go as ScopedCssBaseline,
3660
+ Fo as SmartTable,
3655
3661
  ce as SupportedLocales,
3656
- Cs as cesiumSampleTerrainMostDetailed,
3657
- it as defaultFormatters,
3658
- En as mapMcToMuiTheme,
3662
+ bs as cesiumSampleTerrainMostDetailed,
3663
+ nt as defaultFormatters,
3664
+ Ei as mapMcToMuiTheme,
3659
3665
  he as useCesiumMap,
3660
- xt as useMappedMuiTheme,
3661
- ys as useMediaQuery
3666
+ kt as useMappedMuiTheme,
3667
+ Es as useMediaQuery
3662
3668
  };